Diode Client
v1.2.7
Pages
Modules
Search documentation of Diode Client
Settings
View Source
DiodeClient.EIP712
(Diode Client v1.2.7)
EIP-712 implementation
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)
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
@spec
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