getUtilizationRate function is used inside RAACMinter::calculateNewEmissionRate to calculate new emission rate.
Returned value utitlizationRate is compared with utilizationTarget, the problem lies in there precision, utilizationTarget has the precision of 1e2 and utitlizationRate of 1e11, so utitlizationRate will always be higher than utilizationTarget.
utitlizationRate will be 1e11 as totalBorrowed is in 1e27 precision and totalDeposits will be in 1e18.
Wrong emission rate will be calculated for miniting raac tokens, as utitlizationRate will always be higher than utilizationTarget.
Manual Review
Return the utitlizationRate in same precision as utilizationTarget
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.