mirror of
				https://github.com/Instadapp/dsa-connectors.git
				synced 2024-07-29 22:37:00 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			715 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			715 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| pragma solidity ^0.7.0;
 | |
| 
 | |
| interface ComptrollerInterface {
 | |
|     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;
 | |
| }
 | |
| 
 | |
| 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);
 | |
| } | 
