ContractAbi class

Defines the abi of a deployed Ethereum contract. The abi contains information about the functions defined in that contract.

Constructors

ContractAbi(String name, List<ContractFunction> functions, List<ContractEvent> events)
Constructor.
ContractAbi.fromJson(String jsonData, String name)
From JSON
factory

Properties

events List<ContractEvent>
Events.
final
functions List<ContractFunction>
All functions (including constructors) that the ABI of the contract defines.
final
hashCode int
The hash code for this object.
no setterinherited
name String
Name of the contract
final
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