The mint function returns incorrect values in the correct order
In the RToken.sol contract, the return value order of the mint function is wrong. The problem occurs in the position of the second and fourth parameters.
The values of amountScaled and amountToMint are incorrect.
Manual review
The second parameter is amountScaled, and the fourth parameter is amountToMint.
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.