The token can be minted to a contract that does not have the functionality to transfer ERC721 tokens and token will be lost.
The contract uses the _mint
function to mint tokens for the raffle winner in the fulfillRandomWords
function. This function doesn't have _check_on_erc721_received
check and tokens may be lost if the receiver is contract and doesn't have methods for transferring ERC721 tokens.
High
VS Code, Manual analysis.
Consider using _safe_mint
instead of _mint
.
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.