ExPlasma.TypedData protocol (ExPlasma v0.3.0)
EIP 712 signing encoding
Link to this section Summary
Link to this section Types
Specs
t() :: term()
Link to this section Functions
Link to this function
encode(data, options \\ [])
Specs
encode(any(), maybe_improper_list()) :: maybe_improper_list()
The EIP712 encoded type data structure.
Link to this function
hash(data, options \\ [])
Specs
hash(any(), maybe_improper_list()) :: binary()
The keccak hash of the encoded data type.