aave-protocol-v2/contracts/interfaces/IAaveIncentivesController.sol

27 lines
627 B
Solidity
Raw Normal View History

2020-09-15 13:53:20 +00:00
// SPDX-License-Identifier: agpl-3.0
2020-11-20 10:41:58 +00:00
pragma solidity 0.6.12;
2020-09-15 13:53:20 +00:00
pragma experimental ABIEncoderV2;
interface IAaveIncentivesController {
2021-03-23 17:52:51 +00:00
struct AssetData {
uint128 emissionPerSecond;
uint128 lastUpdateTimestamp;
uint256 index;
}
function REWARD_TOKEN() external view returns (address rewardToken);
function assets(address underlying) external view returns (AssetData memory assets);
2020-09-15 13:53:20 +00:00
function handleAction(
address user,
uint256 userBalance,
uint256 totalSupply
) external;
2021-03-23 17:52:51 +00:00
function getRewardsBalance(address[] calldata assets, address user)
external
view
returns (uint256);
2020-09-15 13:53:20 +00:00
}