MyCut

First Flight #23
Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

Lack of Funding Status Check in `contestManager` contract

Summary

The ContestManager contract does not include checks to ensure that a contest pot has not been funded multiple times, which could lead to unintended behavior or misuse.

Vulnerability Details

The fundContest function allows the contest pot to be funded multiple times without any checks to prevent this. Without checks, the same pot could be funded repeatedly, leading to excess funds being transferred.

Impact

Overfunding a contest could result in inefficient use of resources or financial loss.

Tools Used

Manual Review.

Recommendation

Add a mechanism to track whether a pot has already been funded and prevent additional funding if it has.

Updates

Lead Judging Commences

equious Lead Judge 12 months ago
Submission Judgement Published
Invalidated
Reason: Other

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.