To receive wtoken back from protocol, there are 2 ways to do it: via _removeLiquidity()
function or _redeemPositionToken()
function. Both of them will call to _redeemWTokenPrivate()
to claim token from aave:
But problem is in aave, when it do not have enough token to withdraw, it will revert. Lead to transaction reverted link, link
Unable to withdraw wtoken from diva when aave pool pause or dont have enough token
create function that allow to withdraw wtoken from diva only
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.