SolidityAddress class abstract

An abstract class representing a hexadecimal address in solidity smart conteract system. such as Ethereum and Tron (visible address).

This class defines common methods for working with hexadecimal addresses, including obtaining the length of the address and converting it to a list of integers.

Implementations for specific blockchain addresses, such as Ethereum (ETHAddress) and Tron (TronAddress), will provide concrete implementations for these methods.

Implementers

Constructors

SolidityAddress()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBytes() List<int>
Converts the hexadecimal address to a bytes.
toHex() String
toString() String
A string representation of this object.
inherited

Operators

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