In RToken contract the transfer and transferFrom are implement in a way that they send different amount of tokens.
We can see that transfer scales amount by getNormalizedIncome value but in transferFrom we scale it by _liquidityIndex stored in RToken contract. These are 2 diffrent values thus there is a differenece between using transfer and transferFrom.
transfer and transferFrom send different amount of RToken which leads to upredictible results when using and interacting with RToken.
Manual Review, Hardhat
Standarize the token transfer functions so that they transfer the same amount.
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.