The getBoostMultiplier
function calculates a user's boost multiplier for a given pool based on their amount
and returns it in basis points (where 10,000 basis points = 100%) but there are some cases for which we can anticipate some precision loss.
There is a case that if we use maximum value i.e. (2^256-1) as max uint256 value for amount then the following function will return 0.00000000025 as the base amount will be 4631683569492647816942839400347516314130799386625622561578303360316525185597400000000000000.
Entire reward or incentive system could fail due to reverts
Manual Review
Instead of 10,000 please replate it with 1e18 for avoiding precision loss.
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.