ERC721APermit4494Facet
ERC721APermit4494Facet
Requires the ERC712Facet
.
nonces
Returns the nonce of an NFT - useful for creating permits
Parameters
Name
Type
Description
tokenId_
uint256
Return Values
Name
Type
Description
[0]
uint256
the uint256 representation of the nonce
permit
Function to approve by way of owner signature
Parameters
Name
Type
Description
spender
address
the address to approve
tokenId
uint256
the index of the NFT to approve the spender on
deadline
uint256
a timestamp expiry for the permit
signature
bytes
a traditional or EIP-2098 signature
_getApproved
_isApprovedOrOwner
Was this helpful?