The FeeCollector#_initializeFeeTypes() manually assigns fee distribution values without enforcing sum validation.
The fee allocation does not always add up to BASIS_POINTS (10000).
The comment descriptions misrepresent actual allocated percentages.
This bypasses the validation check present in updateFeeType().
In feeTypes[7], the treasury share is set to 500, but _calculateDistribution() derives it as 8500 in _calculateDistribution(), creating an 8000 basis point discrepancy.
In feeTypes[6], sum of shares is not equal to 10000, causing unintended fund allocations.
Incorrect Reward Calculations
Treasury may receive more or fewer funds than intended.
manual
Modify _initializeFeeTypes() to use updateFeeType() instead of direct assignment.
Fix wrong comments.
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.