View Source DiodeClient.EIP712 (Diode Client v1.1.5)

EIP-712 implementation

Link to this section Summary

Link to this section Functions

Link to this function

encode(domain_separator, primary_type, message)

View Source
Link to this function

encode(domain_separator, primary_type, type_data, message)

View Source
Link to this function

encode_single_type(type, fields)

View Source
Link to this function

encode_type(primary_type, type_data)

View Source
Link to this function

hash_domain_separator(name, version, chain_id, verifying_contract)

View Source
Link to this function

hash_struct(primary_type, type_data)

View Source

Specs

hash_struct(binary(), [{String.t(), String.t(), any()}]) :: binary()
Link to this function

hash_struct(primary_type, type_data, message)

View Source
Link to this function

type_hash(primary_type, type_data)

View Source