The createContest() function doesn't validate that the sum of individual rewards in the rewards array equals the totalRewards parameter. This can lead to either overfunding (wasted tokens) or underfunding (failed claims) of the Pot contract.
Impact:
If sum(rewards) > totalRewards: Some players cannot claim their full rewards.
If sum(rewards) < totalRewards: Excess tokens remain stuck in the contract or give the manager more than intended during closure.
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.