2022-03-22 15:24:40 +00:00
|
|
|
//SPDX-License-Identifier: MIT
|
2021-02-07 16:40:28 +00:00
|
|
|
pragma solidity ^0.7.0;
|
2021-02-05 17:07:07 +00:00
|
|
|
|
|
|
|
interface ComptrollerInterface {
|
|
|
|
function claimComp(address holder) external;
|
|
|
|
function claimComp(address holder, address[] calldata) external;
|
|
|
|
function claimComp(address[] calldata holders, address[] calldata cTokens, bool borrowers, bool suppliers) external;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface COMPInterface {
|
|
|
|
function delegate(address delegatee) external;
|
|
|
|
function delegates(address) external view returns(address);
|
|
|
|
}
|
2021-04-21 16:07:57 +00:00
|
|
|
|
|
|
|
interface CompoundMappingInterface {
|
|
|
|
function cTokenMapping(string calldata tokenId) external view returns (address);
|
|
|
|
function getMapping(string calldata tokenId) external view returns (address, address);
|
|
|
|
}
|