The withdraw
function is designed to allow users to withdraw their deposited assets from the reserve. However, there is a critical issue where the function does not explicitly transfer the withdrawn assets to the recipient
In the following code:
The function calls burn
on the RToken, which decreases the recipient’s balance and supposedly sends the equivalent underlying asset. However, it is not explicitly ensured that the recipient actually receives the withdrawn assets.
Fund Lockup: The contract does not correctly transfer the underlying asset after burning the RToken, the user does not receive their funds.
Manual code review
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.