The fees array is set in the constructor of LSTRewardsSplitter.sol
. There is no validation of _totalFeesBasisPoints() < 10000
.
The fees can be set > 100% initially.
Because of missing validation in the constructor the fees can be set > 10000 which will lead to _splitRewards()
taking amount out of users principalDeposits.
Vs Code
Add the same check of _totalFeesBasisPoints() < 10000
as used in addFee()
and updateFee()
methods.
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.