The RToken#transfer()
scales amount
before calling _update()
, but _update()
also scales amount
.
This results in amount
being incorrectly reduced, causing incorrect transfers.
The recipient receives less than expected, and the sender loses more than they should.
Current RToken#transfer()
Implementation
Current _update()
Implementation
Instead of sending amount
, the recipient receives amount / (index * index)
.
The sender loses more tokens than intended - Funds loss.
The recipient receives less than expected.
manual
Remove transfer()
to prevent scaling.
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.