The AaveDIVAWrapper
contract's non-rebasing wToken design leads to unfair yield distribution where depositors cannot benefit from the yield generated by their deposits. While the system remains fully collateralized and user principal is safe, the current implementation directs all yield to the contract owner.
The issue stems from the fixed 1:1 minting ratio between collateral and wTokens, while the underlying aTokens appreciate in value. The yield can only be claimed by the contract owner through the difference between aToken balance and wToken supply.
Consider this scenario:
Root cause in code:
Users cannot benefit from yield generated by their deposits
Yield is unfairly distributed to contract owner
DIVA fees are calculated on non-appreciated amounts
Misaligned incentives for long-term deposits
Manual Analysis
Implement rebasing wTokens that track aToken value.
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.