The function getBoostMultiplier calculates the current boost multiplier for a user in a pool. However, the calculation is incorrect leading to inaccurate results.
Issue: Incorrect Denominator
The function currently calculates baseAmount as:
The final return statement then divides by baseAmount:
The denominator should always be MAX_BOOST, not baseAmount
Incorrect boost calculation, incorrect boost multipliers.
Users may get higher or lower rewards than expected.
Manual review
Replace:
With:
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.