Add comments

This commit is contained in:
Mubaris NK 2021-04-14 18:11:47 +05:30 committed by GitHub
parent 6fc86d219b
commit 51a324473a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";
}
}