Describe the normal behavior in one or more sentences
The earnSnow() function uses a single global timer (s_earnTimer) that is shared across all users. When any user successfully calls earnSnow(), they update this global timer, preventing ALL other users from earning tokens for the next week.
Explain the specific issue or problem in one or more sentences
Only one user globally can earn free Snow tokens per week, creating a winner-takes-all scenario. This severely limits token distribution and makes the farming feature essentially useless for 99.99% of users. MEV bots will likely dominate this function, extracting all farming rewards.
Likelihood:
Reason 1
This creates a severe race condition where only the first user to call the function after each week-long cooldown can earn the free token, effectively denying service to all other users. This is a critical design flaw that makes the farming mechanism unusable for the vast majority of users.
Reason 2
Impact:
Impact 1
Only one user globally can earn free Snow tokens per week, creating a winner-takes-all scenario. This severely limits token distribution and makes the farming feature essentially useless for 99.99% of users. MEV bots will likely dominate this function, extracting all farming rewards.
Impact 2
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.