earnSnow locks out all users for one week per callThe Snow::earnSnow function is intended to allow each user to mint 1 free Snow token once per week. The cooldown is tracked by s_earnTimer, a single global uint256.
When any user calls earnSnow, s_earnTimer is set to block.timestamp, which blocks all other users from calling earnSnow for the next week — not just the caller.
Likelihood:
Every call to earnSnow by any user triggers the lockout for all other users
A single malicious user calling earnSnow once per week ensures no one else can ever earn free Snow
Impact:
All other users are locked out of free Snow minting for one week per call
During the 12-week farming period, only ~12 total free mints can occur across the entire user base
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.