Const
Create a EIP-712 Domain Hash. This hash is used at the top of the EIP-712 encoding.
The typed message to hash.
The EIP-712 version the encoding should comply with.
The hash of the domain object.
Hash a typed message according to EIP-712. The returned message starts with the EIP-712 prefix, which is "1901", followed by the hash of the domain separator, then the data (if any). The result is hashed again and returned.
This function does not sign the message. The resulting hash must still be signed to create an EIP-712 signature.
The typed message to hash.
The EIP-712 version the encoding should comply with.
The hash of the typed message.
Encodes an object by encoding and concatenating each of its members.
The root type.
The object to encode.
Type definitions for all types included in the message.
The EIP-712 version the encoding should comply with.
An encoded representation of an object.
Encodes the type of an object by encoding a comma delimited list of its members.
The root type to encode.
Type definitions for all types included in the message.
An encoded representation of the primary type.
Finds all types within a type definition object.
The root type.
Type definitions for all types included in the message.
The current set of accumulated types.
The set of all types found in the type definition.
Hashes an object.
The root type.
The object to hash.
Type definitions for all types included in the message.
The EIP-712 version the encoding should comply with.
The hash of the object.
Hashes the type of an object.
The root type to hash.
Type definitions for all types included in the message.
The hash of the object type.
Removes properties from a message object that are not defined per EIP-712.
The typed message object.
The typed message object with only allowed fields.
A collection of utility functions used for signing typed data.