The calculateRcrvUSDAmount
function in the StabilityPool contract incorrectly calculates the rToken amount during deToken redemption, using an inverted formula compared to its counterpart calculateDeCRVUSDAmount
.
Incorrect redemption amounts
Potential loss of funds for users
Manual Review
Use the correct formula for rToken redemption:
Both tokens have 18 decimals. Info
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.