rewards.length == players.lengthSeverity: Medium
File: src/Pot.sol
Function: constructor()
Lines: 18–29
The constructor zips players and rewards by index with no length check. If rewards.length > players.length, excess reward values are silently ignored and tokens funded via totalRewards become unclaimable. There is also no check that sum(rewards) == totalRewards.
Misconfiguration silently locks tokens or blocks player claims.
Severity: Medium — operational risk, fund loss through misconfiguration.
Manual analysis
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.