mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
18 lines
689 B
Solidity
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);
|
|
} |