Versions in this module Expand all Collapse all v1 v1.4.2 Oct 4, 2021 v1.4.1 Oct 4, 2021 Changes in this version + type NameValueType struct + Name string + Typ string + Value interface{} + func (nvt *NameValueType) Pprint(depth int) string + type SigFormat struct + ByteVersion byte + Mime string + type Type struct + Name string + Type string + type TypedData struct + Domain TypedDataDomain + Message TypedDataMessage + PrimaryType string + Types Types + func (typedData *TypedData) Dependencies(primaryType string, found []string) []string + func (typedData *TypedData) EncodeData(primaryType string, data map[string]interface{}, depth int) (hexutil.Bytes, error) + func (typedData *TypedData) EncodePrimitiveValue(encType string, encValue interface{}, depth int) ([]byte, error) + func (typedData *TypedData) EncodeType(primaryType string) hexutil.Bytes + func (typedData *TypedData) Format() ([]*NameValueType, error) + func (typedData *TypedData) HashStruct(primaryType string, data TypedDataMessage) (hexutil.Bytes, error) + func (typedData *TypedData) Map() map[string]interface{} + func (typedData *TypedData) TypeHash(primaryType string) hexutil.Bytes + type TypedDataDomain struct + ChainId *math.HexOrDecimal256 + Name string + Salt string + VerifyingContract string + Version string + func (domain *TypedDataDomain) Map() map[string]interface{} + type TypedDataMessage = map[string]interface + type Types map[string][]Type