ABICoder<T> class abstract

Solidity contract for encoding and decoding data according to Ethereum ABI specifications.

Implementers

Constructors

ABICoder.fromType(String type)
Factory method to create an ABICoder instance based on the provided type string.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

abiEncode(AbiParameter params, T input) EncoderResult
ABI encode method.
decode(AbiParameter params, List<int> bytes) DecoderResult<T>
Decode method.
legacyEip712Encode(AbiParameter params, T input, bool keepSize) EncoderResult
EIP-712 Legacy Encode method with an option to keep a specific size.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited