In the closePot() function, the manager cut calculation incorrectly divides remainingRewards by managerCutPercent (10) instead of multiplying by 10 and dividing by 100. This results in the manager receiving 10% of remaining rewards (remainingRewards/10) which is actually 10 times more than the intended 1% (10% of 10%). For example, if 1000 tokens remain, the manager receives 100 tokens (10%) instead of 10 tokens (1%).
Impact:
The manager (ContestManager owner) receives 10 times more rewards than intended from unclaimed funds, significantly reducing the amount available for redistribution to legitimate claimants. This could drain a substantial portion of the pot unfairly.
The contest is live. Earn rewards by submitting a finding.
Submissions are being reviewed by our AI judge. Results will be available in a few minutes.
View all submissionsThe contest is complete and the rewards are being distributed.