NumbersCoder class

ABICoder implementation for encoding and decoding numeric types represented by BigInt.

Implemented types

Constructors

NumbersCoder()
Creates an instance of the NumbersCoder class.
const

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, BigInt input) EncoderResult
Encodes a numeric value (BigInt) to ABI-encoded bytes.
override
decode(AbiParameter params, List<int> bytes) DecoderResult<BigInt>
Decodes a numeric value (BigInt) from the given ABI-encoded bytes.
override
legacyEip712Encode(AbiParameter params, BigInt input, bool keepSize) EncoderResult
Legacy EIP-712 encoding for numeric values (BigInt). Optionally keeps the size unchanged based on the keepSize parameter.
override
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