The getUtilizationRate function has an issue with the incorrect initialization of the totalBorrowed variable (+), which is leading to a completely inaccurate calculation.
In the RAACMinter::getUtilizationRate function, there is a variable named totalBorrowed that is meant to hold the total amount of RToken borrowed.
However, the getNormalizedDebt function returns reserve.usageIndex instead of reserve.totalUsage.
Incorrect calculation
Manual review
Add a specific function to return reserve.totalUsage and use that function to initialize totalBorrowed.
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.