In the mintSoulmateToken()
function _mint(msg.sender, nextID++)
is used to mint the NFT for the 1st soulmate.
In the mintSoulmateToken()
function _mint(msg.sender, nextID++)
is used to mint the NFT for the 1st soulmate.
If the mintSoulmateToken()
is called by a smart contract and necessary function is not defined to accept NFTs _mint(msg.sender, nextID++)
can revert
Manual code review
It's recommended to use safeMint()
instead of mint()
Low severity, - If a user utilizes an EOA, the check is not required. - If a user utilizes a contract that they own to mint soulmate tokens, than check is required. However, this would rely on user error minting. Since there is no mention that ownership of token must be from EOAs, I believe low severity is appropriate.
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.