getBoostMultiplier()
in BoostController
always returns MAX_BOOST
if user boost amount is not 0.
getBoostMultiplier()
calculates the current boost multiplier for a user as below:
BoostController::getBoostMultiplier()
To simplify:
boost multiplier = userBoost.amount * 10000 / (userBoost.amount * 10000 / MAX_BOOST)
boost multiplier = MAX_BOOST
Boost multiplier is incorrectly calculated.
Manual Review
Use BoostCalculator.
calculateTimeWeightedBoost()
to calculate boost multiplier.
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.