Contract class

Implementers

Constructors

Contract({required String contractAddress, required String contractABI, required String contractName, required String rpcURL})

Properties

client ↔ Web3Client
getter/setter pair
contract ↔ DeployedContract
getter/setter pair
contractABI String
final
contractAddress String
final
contractName String
final
hashCode int
The hash code for this object.
no setterinherited
rpcURL String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getBalance() Future<BigInt>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read({required String functionName, required List args}) Future
toString() String
A string representation of this object.
inherited
transact({required String privateKey, String? value, String? from, String? to}) Future<void>
write({required String functionName, required List args, required Credentials credentials, BigInt? value}) Future<String>

Operators

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