The RToken::scaledBalanceOf function (+) is intended to return the non-scaled balance of RToken, and it does so. However, the function name contradicts its actual functionality.
According to the NatSpec documentation for the RToken::scaledBalanceOf function:
@notice Returns the non-scaled balance of the user
If this function returns the non-scaled balance of the user, why is it named scaledBalanceOf?
This naming discrepancy can lead to user confusion.
Manual review
Rename the function from scaledBalanceOf to nonScaledBalanceOf.
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.