Medium Impact
High Likelihood
Snow.earnSnow is intended to reward active users with 1 Snow token per week.
The implementation calls _mint(msg.sender, 1). Because Snow inherits the default ERC20 18-decimal precision, 1 represents 1e-18 Snow. Every standard ERC20 wallet and DeFi UI will display this as 0.000000000000000001 Snow. A user would need to call earnSnow 1,000,000,000,000,000,000 times to accumulate 1 visible Snow token.
Likelihood:
This affects every user who calls earnSnow — there are no edge cases; the bug triggers on every call.
Impact:
Users receive a reward 1e18x smaller than intended, making the weekly earn mechanic economically meaningless.
If SnowmanAirdrop treats Snow balance in wei units as NFT count, users also receive far fewer Snowman NFTs than expected.
Alternatively, override decimals() to return 0 if Snow is intended to be a whole-number token.
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.