ContractAbi class
Constructors
-
ContractAbi(Iterable<
AbiEntry> entries) -
const
-
ContractAbi.fromJson(List<
Map< json)String, dynamic> > -
factory
Properties
Methods
-
decodeConstructor(
Uint8List encoded) → List< Object> -
decodeEvent(
Uint8List data, List< Hash> topics) → List<Object> -
decodeEventWithTopics(
Uint8List data, List< Uint8List> topics) → List<Object> -
decodeFunction(
Uint8List encoded) → List< Object> -
decodeFunctionOutput(
String name, Uint8List encoded) → List< Object> -
decodeOffchainOutput(
String name, Uint8List encoded) → List< Object> -
encodeConstructor(
List< Object> args) → Uint8List -
encodeEvent(
String name) → Uint8List -
encodeFunction(
String name, List< Object> args) → Uint8List -
encodeOffchain(
String name, List< Object> args) → Uint8List -
findEventByName(
String name) → EventEntry? -
findEventByTopics(
List< Uint8List> topics) → EventEntry? -
findEventByTopicsHash(
List< Hash> topics) → EventEntry? -
findFunctionByData(
Uint8List encoded) → FunctionEntry? -
findFunctionByName(
String name) → FunctionEntry? -
findOffchainByName(
String name) → OffchainEntry? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
topicForEvent(
String name) → Hash -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
convertTopics(
List< Hash> topics) → List<Uint8List> -
fromJsonString(
String jsonString) → ContractAbi