getBoostMultiplier function in BoostController contract is defined as follows:
The problem arises because no matter what userBoost.amount value is, this function will always return MAX_BOOST.
Indeed, the computation is userBoost.amount * 10000 / baseAmount which is the same as userBoost.amount * 10000 / userBoost.amount * 10000 / MAX_BOOST which equals MAX_BOOST.
The impact of this issue can be considered medium as getBoostMultiplier function never returns the correct value.
Manual review.
Make sure to properly implement the logic of getBoostMultiplier function to return the correct boost associated with a user.
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.