PoolERC20Permit

PoolERC20Permit

This is an abstract contract for a Pool ERC20 Permit to use with proxy. Inspired by OpenZeppelin ERC20Permit.

_EIP712_VERSION

1
bytes32 _EIP712_VERSION
Copied!

_EIP712_DOMAIN_TYPEHASH

1
bytes32 _EIP712_DOMAIN_TYPEHASH
Copied!

_PERMIT_TYPEHASH

1
bytes32 _PERMIT_TYPEHASH
Copied!

_CACHED_DOMAIN_SEPARATOR

1
bytes32 _CACHED_DOMAIN_SEPARATOR
Copied!

_HASHED_NAME

1
bytes32 _HASHED_NAME
Copied!

_CACHED_CHAIN_ID

1
uint256 _CACHED_CHAIN_ID
Copied!

nonces

1
mapping(address => uint256) nonces
Copied!
See {IERC20Permit-nonces}.

permit

1
function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public virtual
Copied!
See {IERC20Permit-permit}.

DOMAIN_SEPARATOR

1
function DOMAIN_SEPARATOR() external view returns (bytes32)
Copied!
See {IERC20Permit-DOMAIN_SEPARATOR}.

_domainSeparatorV4

1
function _domainSeparatorV4() private view returns (bytes32)
Copied!
Returns the domain separator for the current chain.

_buildDomainSeparator

1
function _buildDomainSeparator(bytes32 typeHash, bytes32 name, bytes32 version) private view returns (bytes32)
Copied!