Calculation of raac rewards is done incorrectly in stability pool
Following is how calculation is done
Now we know that de token has different decimals and user deposits are in r token decimals therefore two variables which have different variables are used which can will cause either over estimation of rewarda or underestimation of the rewards.
Wrong calculation of the rewards
Instead of detoken.Totalsupply use total rtoken balance of the contract.
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.