mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
Add comments
This commit is contained in:
parent
6fc86d219b
commit
51a324473a
|
@ -7,6 +7,15 @@ import { Events } from "./events.sol";
|
|||
|
||||
abstract contract IncentivesResolver is Helpers, Events {
|
||||
|
||||
/**
|
||||
* @dev Claim Pending Rewards.
|
||||
* @notice Claim Pending Rewards from Aave incentives contract.
|
||||
* @param assets The list of assets supplied and borrowed.
|
||||
* @param amt The amount of reward to claim. (uint(-1) for max)
|
||||
* @param stake Whether to stake the claimed rewards or not.
|
||||
* @param getId ID to retrieve amt.
|
||||
* @param setId ID stores the amount of rewards claimed.
|
||||
*/
|
||||
function claim(
|
||||
address[] calldata assets,
|
||||
uint256 amt,
|
||||
|
@ -29,4 +38,4 @@ abstract contract IncentivesResolver is Helpers, Events {
|
|||
|
||||
contract ConnectV2AaveIncentives is IncentivesResolver {
|
||||
string public constant name = "Aave-Incentives-v1";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user