This is due to the returned value from the function
The BaseGauge::_applyBoost
function aims to apply boost to the baseWeight
input. The problem here is that the baseWeight * boost
is divided by 1e18 instead of being divided by 100% denominated in basis points (10_000). By dividing with 1e18 the _applyBoost
function doesn't actually apply boost to the amount since it will return a number denominated in basis points, which will lead to users having extremely small rewards. This can be see here:
To apply boost to the baseWeight
the division should be by 10_000 not by 1e18. By dividing with 1e18 the returned amount is in basis points
Users will receive extremely low rewards because of this
Manual Review
Divide by 10_000 instead of 1e18
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.