{
    "Function": "claimRewards",
    "File": "contracts/managers/AaveV2Strategy.sol",
    "Parent Contracts": [
        "contracts/managers/Manager.sol",
        "node_modules/@openzeppelin/contracts/security/Pausable.sol",
        "node_modules/@openzeppelin/contracts/access/Ownable.sol",
        "node_modules/@openzeppelin/contracts/utils/Context.sol",
        "contracts/interfaces/managers/IStrategyManager.sol",
        "contracts/interfaces/managers/IManager.sol"
    ],
    "High-Level Calls": [
        "IAaveIncentivesController"
    ],
    "Internal Calls": [
        "whenNotPaused"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function claimRewards() external whenNotPaused {\n    // Creates an array with one slot\n    address[] memory assets = new address[](1);\n    // Sets the slot equal to the address of aUSDC\n    assets[0] = address(aWant);\n\n    // Claims all the rewards on aUSDC and sends them to the aaveLmReceiver (an address controlled by governance)\n    // Tokens are NOT meant to be (directly) distributed to stakers.\n    aaveIncentivesController.claimRewards(assets, type(uint256).max, aaveLmReceiver);\n  }"
}