Beginner FriendlySolidity
100 EXP
View results
Submission Details
Severity: low
Invalid

Using `ERC721::_mint()` Can Be Dangerous

Using ERC721::_mint() Can Be Dangerous

Impact

Minting ERC721 tokens using _mint() can send tokens to contracts that do not support ERC721.

Tools Used

  • Manual Code Review

Recommendations

Use _safeMint() instead to ensure compatibility.

Updated Code:

_safeMint(msg.sender, ID);

Updates

Lead Judging Commences

0xtimefliez Lead Judge 5 months ago
Submission Judgement Published
Invalidated
Reason: Too generic

Support

FAQs

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