In IRToken
docs we can see that the second arg of the mint function returns scaled amount and the last arg the underlying amount.
See here.
But it is coded in reverse on the RToken
contract, see here:
Incorrect implementation as per docs. Fortunately these return values were not used for anything critical.
Switch the return args on the mint function.
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.