dsa-connectors/contracts/optimism/connectors/aave/aave-rewards/v3/interface.sol
2022-08-05 00:10:29 +05:30

16 lines
379 B
Solidity

//SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
interface AaveIncentivesInterface {
function claimRewards(
address[] calldata assets,
uint256 amount,
address to,
address reward
) external returns (uint256);
function claimAllRewards(address[] calldata assets, address to)
external
returns (address[] memory rewardsList, uint256[] memory claimedAmounts);
}