fundContest has no check to prevent it from being called multiple times on the same contest index. Each call transfers totalRewards tokens into the pot again. The pot tracks remainingRewards as a fixed value set at construction, so extra funded tokens are permanently locked with no way to recover them.
Likelihood:
Owner calling fundContest twice by mistake is a realistic scenario
No on-chain guard prevents it
Impact:
Excess tokens permanently locked in the pot
Owner loses funds with no recovery path since closePot only distributes remainingRewards which is set at construction
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.