GeneratedContract class abstract

Base classes for generated contracts.

web3dart can generate contract classes from abi specifications. For more information, see its readme!

Constructors

GeneratedContract(DeployedContract self, Web3Client client, int? chainId)

Properties

chainId int?
final
client Web3Client
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
self DeployedContract
final

Methods

checkSignature(ContractFunction function, String expected) bool
Returns whether the function has the expected selector.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(ContractFunction function, List params, BlockNum? atBlock) Future<List>
toString() String
A string representation of this object.
inherited
write(Credentials credentials, Transaction? base, ContractFunction function, List parameters) Future<String>

Operators

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