Issue
The _owner variable in the WToken contract is immutable, meaning the assigned owner (AaveDIVAWrapper) cannot be changed after deployment.
If AaveDIVAWrapper is upgraded or replaced, the new contract cannot mint or burn wTokens.
Users won’t be able to redeem collateral, causing potentially locked funds.
🟠 Low Severity
Likelihood: Low (Only affects upgrades).
Impact: Medium (Users may face issues redeeming funds).
Implement an ownership transfer function to allow a new AaveDIVAWrapper to control WTokens.
Example fix:
✅ Ensures smooth contract upgrades without breaking fund redemption.
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.