dsa-connectors/contracts/mainnet/connectors/COMP/interface.sol
2022-03-22 20:54:40 +05:30

18 lines
689 B
Solidity

//SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
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);
}
interface CompoundMappingInterface {
function cTokenMapping(string calldata tokenId) external view returns (address);
function getMapping(string calldata tokenId) external view returns (address, address);
}