Snowman Merkle Airdrop

AI First Flight #10
Beginner FriendlyFoundrySolidityNFT
EXP
View results
Submission Details
Impact: low
Likelihood: low
Invalid

The collectFee function uses transfer instead of safeTransfer for ERC20 token transfers

The contract imports SafeERC20 and applies it to IERC20, but uses the standard transfer method instead of safeTransfer when transferring WETH in the collectFee function. Some ERC20 tokens do not return a boolean on success or do not revert on failure, which can lead to silent failures. Using safeTransfer ensures compatibility with non-standard ERC20 tokens.

Updates

Lead Judging Commences

ai-first-flight-judge Lead Judge 4 days ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.

Give us feedback!