safeMint function ensures that when minting a token to an address, it checks if the recipient can handle the NFT token to prevent the NFT from being locked up and unusable. LPNFT.SOL
uses mint instead making it susceptible to this issue.
safeMint
in contrast to mint
checks;
that the recipient is a smart contract
after validating that the recipient is a contract, it checks that the contract implements the onERC721Received
interface (IERC721Receiver) in order to handle ERC721 tokens correctly.
The transaction will fail if the recipient cant handle the NFT token correctly
users who do not correctly implement the appropriate interface will not be able to use their NFT
manual assessment
use safeMint
function instead
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelyhood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.