|
|
|
@ -38,7 +38,6 @@ abstract contract EIP712 is IERC5267 { |
|
|
|
|
bytes32 private constant _TYPE_HASH = |
|
|
|
|
keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"); |
|
|
|
|
|
|
|
|
|
/* solhint-disable var-name-mixedcase */ |
|
|
|
|
// Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to |
|
|
|
|
// invalidate the cached domain separator if the chain id changes. |
|
|
|
|
bytes32 private immutable _cachedDomainSeparator; |
|
|
|
@ -53,8 +52,6 @@ abstract contract EIP712 is IERC5267 { |
|
|
|
|
bytes32 private immutable _hashedName; |
|
|
|
|
bytes32 private immutable _hashedVersion; |
|
|
|
|
|
|
|
|
|
/* solhint-enable var-name-mixedcase */ |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @dev Initializes the domain separator and parameter caches. |
|
|
|
|
* |
|
|
|
|