EIP712Utils
Includes functionality for calculating EIP712 ↗ hashes.
Functions
computeDomainSeparator
Computes the hash of the EIP712 typed data
This function is used to compute the hash of the EIP712 typed data
function computeDomainSeparator(string memory name, address verifyingContract) external view returns (bytes32);
Parameters
| Name | Type | Description |
|---|---|---|
name | string | The name of the domain |
verifyingContract | address | The address of the verifying contract |
Returns
| Name | Type | Description |
|---|---|---|
<none> | bytes32 | The hash of the EIP712 typed data |