The computation of Utilization Rate in raacMinter contract is wrong.
The issue is that, getNormalizedDebt() returns usageIndex from lendingPool contract which is directly assigned to variable totalBorrowed
The function getUtilizationRate() is supposed to find out the current utilization rate of the system i.e. getUtilizationRate()
Notice that, in order to calculate totalBorrowed, the contract makes a call to getNormalizedDebt() which belongs to lendingPool contract.
However, this function returns usageIndexinstead of total borrowed i.e. getNormalizedDebt()
This usageIndex MUST be multiplied with correct scaled borrowing to arrive at the final figure.
Incorrect Computation of Utilization rate would lead to assigning a wrong emission rate.
Manual
Consider computing the totalBorrowing by multiplying the usageIndex with respective scaledBalance to arrive at correct utilization rate.
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.