2022-03-22 14:55:14 +00:00
|
|
|
//SPDX-License-Identifier: MIT
|
2021-09-29 14:16:30 +00:00
|
|
|
pragma solidity ^0.7.0;
|
|
|
|
|
|
|
|
interface ComptrollerInterface {
|
2021-09-30 07:17:17 +00:00
|
|
|
function claimReward(uint8 rewardType, address holder) external;
|
|
|
|
function claimReward(uint8 rewardType, address holder, address[] calldata) external;
|
|
|
|
function claimReward(uint8 rewardType, address[] calldata holders, address[] calldata qiTokens, bool borrowers, bool suppliers) external;
|
2021-09-29 14:16:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
interface QiInterface {
|
|
|
|
function delegate(address delegatee) external;
|
|
|
|
function delegates(address) external view returns(address);
|
|
|
|
}
|
|
|
|
|
|
|
|
interface BenqiMappingInterface {
|
|
|
|
function qiTokenMapping(string calldata tokenId) external view returns (address);
|
|
|
|
function getMapping(string calldata tokenId) external view returns (address, address);
|
|
|
|
}
|