TokenTransfer class

ERC-20 token transfer domain model.

Annotations
  • @freezed

Constructors

TokenTransfer({required TransactionHash hash, required BlockNumber blockNumber, required DateTime timestamp, required EthereumAddress from, required EthereumAddress to, required EthereumAddress contractAddress, required BigInt value, required String tokenName, required String tokenSymbol, required int tokenDecimal, required Wei gas, required Wei gasPrice, required Wei gasUsed, required int confirmations})
const
factory

Properties

formattedValue double
Formatted token amount with decimals applied.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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