Search
Diode Client
v1.1.5
Pages
Modules
Settings
View Source
DiodeClient.EIP712
(Diode Client v1.1.5)
EIP-712 implementation
Link to this section
Summary
Functions
encode(domain_separator, primary_type, message)
encode(domain_separator, primary_type, type_data, message)
encode_single_type(type, fields)
encode_type(primary_type, type_data)
hash_domain_separator(name, version, chain_id, verifying_contract)
hash_struct(primary_type, type_data)
hash_struct(primary_type, type_data, message)
type_hash(primary_type, type_data)
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