The Pot contract constructor accepts arrays of players and rewards, an ERC20 token address, and total rewards amount to initialize the pot.
The constructor lacks essential validation checks, allowing deployment with mismatched arrays, zero addresses, duplicate players, and incorrect total rewards calculations, which can render the pot dysfunctional or exploitable.
Risk
Likelihood: High
Contract owners may accidentally deploy pots with invalid parameters due to frontend bugs or human error
Malicious owners can intentionally create corrupted pots to exploit the system
This will occur whenever the ContestManager creates a new pot without proper validation at the manager level
Impact: High
Funds can become permanently locked in pots with no valid claimants
Some players may receive incorrect or zero rewards while others get excess amounts
poc
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.