Versions in this module Expand all Collapse all v1 v1.0.0 Oct 23, 2022 Changes in this version + const CRIT + const INFO + const WARN + var ApplicationClique = SigFormat + var DataTyped = SigFormat + var IntendedValidator = SigFormat + var TextPlain = SigFormat + func TypedDataAndHash(typedData TypedData) ([]byte, string, error) + type NameValueType struct + Name string + Typ string + Value interface{} + func (nvt *NameValueType) Pprint(depth int) string + type SendTxArgs struct + AccessList *types.AccessList + ChainID *hexutil.Big + Data *hexutil.Bytes + From common.MixedcaseAddress + Gas hexutil.Uint64 + GasPrice *hexutil.Big + Input *hexutil.Bytes + MaxFeePerGas *hexutil.Big + MaxPriorityFeePerGas *hexutil.Big + Nonce hexutil.Uint64 + To *common.MixedcaseAddress + Value hexutil.Big + func (args *SendTxArgs) ToTransaction() *types.Transaction + func (args SendTxArgs) String() string + type SigFormat struct + ByteVersion byte + Mime string + type Type struct + Name string + Type string + type TypePriority struct + Type string + Value uint + 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 + type ValidationInfo struct + Message string + Typ string + type ValidationMessages struct + Messages []ValidationInfo + func (v *ValidationMessages) GetWarnings() error + func (vs *ValidationMessages) Crit(msg string) + func (vs *ValidationMessages) Info(msg string) + func (vs *ValidationMessages) Warn(msg string) + type ValidatorData struct + Address common.Address + Message hexutil.Bytes