The contract uses a single global variable:
Explain the specific issue or problem in one or more sentences
Since s_earnTimer is shared across all users, once one user calls earnSnow(), all other users must wait one week.
This enables a griefing attack where one address repeatedly calls earnSnow() weekly to prevent others from earning tokens.
Impact:
Denial of service for all users except one per week.
Only one user can farm per week
Others are permanently blocked
Breaks fairness of distribution
Farming feature becomes unusable
Use per-user timers:
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.