ERC20Permit
Functions
permit
Name
Type
Description
nonces
Name
Type
Description
Name
Type
Description
DOMAIN_SEPARATOR
Name
Type
Description
Last updated
Developer note: Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't need to send a transaction, and thus is not required to hold Ether at all. Available since v3.4.
permit(address,address,uint256,uint256,uint8,bytes32,bytes32) public
owner
address
spender
address
value
uint256
deadline
uint256
v
uint8
r
bytes32
s
bytes32
nonces(address) view public
owner
address
Returns:
[0]
uint256
DOMAIN_SEPARATOR() view external
Returns:
[0]
bytes32
Last updated