The claimSnowman() function attempts to transfer Snow tokens from the user without first checking if the contract has sufficient allowance. While safeTransferFrom will revert if approval is missing, the lack of an explicit check results in a generic revert message that doesn't clearly communicate the issue to users.
Users must approve the airdrop contract before claiming, but there's no validation or helpful error message if they forget this step.
Likelihood:
Users commonly forget to approve tokens before transfers
No frontend validation can catch this
First-time users especially prone to this mistake
Impact:
Poor user experience with unclear error messages
Users don't understand why their claim failed
Increased support burden
May discourage participation in airdrop
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.