The mintSnowman function iterates amount times to mint NFTs individually using _safeMint. If a user has accumulated a large balance of Snow tokens, the amount passed to this function during the airdrop claim will be correspondingly large. The unbounded loop will consume excessive gas and may exceed the block gas limit, causing the transaction to revert and permanently locking the user out of claiming their NFTs.
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.