HardhatDeFi
15,000 USDC
View results
Submission Details
Severity: medium
Invalid

Improper aToken Handling During DIVA Settlement

Summary

DIVA pool settlement does not account for aToken accrual, leading to incorrect payouts

Vulnerability Details

When a DIVA pool settles, the wrapper converts aTokens back to collateral. However, if settlement occurs before Aave’s interest accrual (e.g., same block), users receive less collateral than deserved

Impact

Users lose yield during pool settlements

Tools Used

Manual analysis of convertToCollateral function

Recommendations

Force aToken interest accrual before DIVA settlement using Aave’s pool.accrueInterest()

Updates

Lead Judging Commences

bube Lead Judge 5 months ago
Submission Judgement Published
Invalidated
Reason: Too generic

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.