Some important functions in the RToken contract cannot be reached.
These 2 functions in the RToken contract are only callable by the ReservePool:
The ReservePool in this context is actually the LendingPool contract. I am not sure if the devs forgot to update the name but we can see multiple functions in the lending pool which invoke functions of the RToken contract with the onlyReservePool modifier:
The issue is that the updateLiquidityIndex() and rescueTokens() functions in RToken cannot be called since there are no implemented functions in the LendingPool contract which invoke them. The latter is not that big of an issue, but the former is important since updating the liquidity index plays an important role during RToken transfers:
RToken transfers will operate based on an outdated _liquidityIndex value and transfer incorrect amounts since there is no way to update it.
Manual Review
Implement functions which allow the LendingPool to call those 2 RToken functionalities.
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.