Skip to main content

Module IERC2612

Module IERC2612 

Source
Expand description

Module containing a contract’s types and functions.

interface IERC2612 {
    function name() external view returns (string);
    function nonces(address owner) external view returns (uint256);
    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function eip712Domain() external view returns (bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions);
}

Structs§

DOMAIN_SEPARATORCall
Function with signature DOMAIN_SEPARATOR() and selector 0x3644e515.
DOMAIN_SEPARATORReturn
Container type for the return parameters of the DOMAIN_SEPARATOR() function.
IERC2612Instance
A IERC2612 instance.
eip712DomainCall
Function with signature eip712Domain() and selector 0x84b0196e.
eip712DomainReturn
Container type for the return parameters of the eip712Domain() function.
nameCall
Function with signature name() and selector 0x06fdde03.
nameReturn
Container type for the return parameters of the name() function.
noncesCall
Function with signature nonces(address) and selector 0x7ecebe00.
noncesReturn
Container type for the return parameters of the nonces(address) function.

Enums§

IERC2612Calls
Container for all the IERC2612 function calls.

Functions§

new
Creates a new wrapper around an on-chain IERC2612 contract instance.