dsa-connectors/contracts/mainnet/connectors/COMP/interface.sol

17 lines
658 B
Solidity
Raw Normal View History

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);
}