In an ERC-721 contract, which function should use _safeMint instead of _mint when the recipient may be a contract?
-
A
When the recipient must be verified to accept ERC-721 tokens via onERC721Received
-
B
When minting to an externally owned account only
-
C
When gas costs must be minimized at all costs
-
D
When the token ID is randomly generated