The RToken _update
hook scales the amounts dividing them by the liquidity index, so that transfers can directly pass the unscaled token amount. However, both transfer and transferFrom are also dividing the amount by the liquidity index:
This is not correct.
Actual balance is incorrectly adjusted.
Manual review.
Only scale amounts once.
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.