dsa-connectors/contracts/optimism/connectors/aave/aave-rewards/v3/interface.sol

16 lines
379 B
Solidity
Raw Permalink Normal View History

2022-08-04 18:40:29 +00:00
//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);
}