At RAACMinter::getUtilizationRate()
the utilization rate calculation mixes pools. By definition the utilization rate should be the one of the whole system, see docs here:
But as seen it uses data from both pools which is incorrect as not all deposits in LendingPool
are also deposits of the StabilityPool
. A user can just no deposit their RTokens on the StabilityPool
.
Utilization rate is incorrectly calculated which messes up correct RAACToken minting paces. As it is used calculating new emission rates, see here.
The real utilization rate should be calculated only taking into account deposits from the LendingPool
.
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.