Aave provides Incentives (e.g., staking rewards or liquidity mining rewards, seeing here: https://aave.com/docs/primitives/incentives) to users who supply assets to the protocol. These incentives are typically distributed in the form of additional tokens (e.g., AAVE or other governance tokens) and can be claimed by users who interact with Aave's incentive mechanisms.
In the current implementation of the AaveDIVAWrapperCore
contract, there is no functionality to claim these incentives. This is a missing feature that could prevent users from accessing the full benefits of supplying assets to Aave.
The AaveDIVAWrapperCore
contract allows users to supply collateral tokens to Aave and mint corresponding wTokens for use in DIVA Protocol.
However, it does not provide a method for users to claim the incentives that Aave distributes to suppliers. In Arbitrum, the aave rewards contract is: https://arbiscan.io/address/0x929EC64c34a17401F460460D4B9390518E5B473e
Currently, this contract is still available for rewards claiming.
Since the AaveDIVAWrapperCore
contract is non-upgradeable and does not include functionality to claim Aave incentives in its initial design, these rewards will forever be unclaimable.
Users who supply assets through the AaveDIVAWrapperCore
contract cannot claim the incentives provided by Aave, resulting in lost rewards. The lack of incentive claiming functionality may discourage users from using the wrapper contract, as they would miss out on additional earnings.
The impact is High because the user will lost all aave rewards, the likelihood is Medium, so the severity is High.
Manual Review
To address this issue, we need to add a function that allows users to claim their incentives from Aave. This involves interacting with Aave's Incentives Controller or Rewards Distributor contracts.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.