Available on crate feature
eip712
only.Expand description
Implementation of dynamic EIP-712.
This allows for the encoding of EIP-712 messages without having to know the types at compile time. This is useful for things like off-chain signing. It implements the encoding portion of the EIP-712 spec, and does not contain any of the signing logic.
https://eips.ethereum.org/EIPS/eip-712#specification-of-the-eth_signtypeddata-json-rpc
Modules§
- EIP-712 specific parsing structures.
Structs§
- Custom types for
TypedData
. - An EIP-712 property definition.
- A dependency graph built from the
Eip712Types
object. This is used to safely resolve JSON into acrate::DynSolType
by detecting cycles in the type graph and traversing the dep graph. - An EIP-712 type definition.
- Represents the EIP-712 typed data object.