The EggstravaganzaNFT.mintEgg()
could be sent to address without ERC721 support.
The mintEgg
function calls _mint(to, tokenId)
:
_mint
has the risk that minted eggs will be sent to addresses that are not set up to receive NFTs.
If users make guesses from addresses not set up to receive the NFT then those minted NFTs could be locked forever.
Manual review
The issue above could be an acceptable risk, as there's a trade-off to updated _mint()
to _safeMint()
.
If the code is changed to use _safeMint()
it will protect against locked NFTs, but then requires that the searchForEgg()
function has reentrancy protection added to it.
Protocol doesn't check if recipient contracts can handle ERC721 tokens
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.