ERC20Permit

Git Source

Inherits: ERC20, IERC2612Permit

State Variables

_nonces

mapping(address => Counters.Counter) private _nonces;

PERMIT_TYPEHASH

bytes32 public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;

DOMAIN_SEPARATOR

bytes32 public DOMAIN_SEPARATOR;

Functions

constructor

constructor();

permit

See IERC2612Permit-permit.

function permit(address owner, address spender, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
    public
    virtual
    override;

nonces

See IERC2612Permit-nonces.

function nonces(address owner) public view override returns (uint256);