IERC721Warper
IERC721Warper
BalanceQueryForZeroAddress
error BalanceQueryForZeroAddress()
Thrown when querying token balance for address(0)
OwnerQueryForNonexistentToken
error OwnerQueryForNonexistentToken(uint256 tokenId)
Thrown when querying for the owner of a token that has not been minted yet.
OperatorQueryForNonexistentToken
error OperatorQueryForNonexistentToken(uint256 tokenId)
Thrown when querying for the operator of a token that has not been minted yet.
TransferToNonERC721ReceiverImplementer
error TransferToNonERC721ReceiverImplementer(address to)
Thrown when attempting to safeTransfer to a contract that cannot handle ERC721 tokens.
MintToTheZeroAddress
error MintToTheZeroAddress()
Thrown when minting to the address(0).
TokenIsAlreadyMinted
error TokenIsAlreadyMinted(uint256 tokenId)
Thrown when minting a token that already exists.
TransferToTheZeroAddress
error TransferToTheZeroAddress()
Thrown transferring a token to the address(0).
MethodNotAllowed
error MethodNotAllowed()
Thrown when calling a method that has been purposely disabled.
mint
function mint(address to, uint256 tokenId, bytes data) external
Mint new tokens.
Name | Type | Description |
---|---|---|
to | address | The address to mint the token to. |
tokenId | uint256 | The ID of the token to mint. |
data | bytes | The data to send over to the receiver if it supports `onERC721Received` hook. |