Variables
wxdai
deploymentChainId
PERMIT_TYPEHASH
VERSION
Errors
ERC2612ExpiredSignature
ERC2612InvalidSigner
Functions
constructor
receive
_isValidSignature
permit
permit
value as the allowance of spender over owner’s tokens, given owner’s signed approval.
IMPORTANT: The same issues {IERC20-approve} has related to transaction ordering also apply here.
Emits an {Approval} event.
Requirements:
spendercannot be the zero address.deadlinemust be a timestamp in the future.v,randsmust be a validsecp256k1signature fromownerover the EIP712-formatted function arguments.- the signature must use
owner’s current nonce (see {nonces}).