From 51a324473a4539034fe3daa4a7a40e2e35f7f1fc Mon Sep 17 00:00:00 2001 From: Mubaris NK Date: Wed, 14 Apr 2021 18:11:47 +0530 Subject: [PATCH] Add comments --- contracts/polygon/connectors/aave-rewards/main.sol | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/contracts/polygon/connectors/aave-rewards/main.sol b/contracts/polygon/connectors/aave-rewards/main.sol index 2c48fd3c..58ff47e4 100644 --- a/contracts/polygon/connectors/aave-rewards/main.sol +++ b/contracts/polygon/connectors/aave-rewards/main.sol @@ -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"; -} \ No newline at end of file +}