Contract class
- Implemented types
-
- Implementers
Methods
-
call({String? transition, dynamic params, BigInt? amount, int gasLimit = 1000, BigInt? gasPrice, Account? account, String? passphrase, int maxAttempts = 20, int interval = 1000, bool toDS = false})
→ Future<Contract>
-
-
confirmTx({int maxAttempts = 20, int interval = 1000})
→ Future<Contract>
-
-
deploy({int? gasLimit, BigInt? gasPrice, Account? account, String? passphrase, int maxAttempts = 20, int interval = 1000, bool toDS = false})
→ Future<Contract>
-
-
getState()
→ Future<SuccessMiddleware?>
-
-
isDeployed()
→ bool
-
-
isInitialised()
→ bool
-
-
isRejected()
→ bool
-
-
isSent()
→ bool
-
-
isSigned()
→ bool
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
sendContract({Account? account, String? passphrase})
→ Future<Contract>
-
-
setCallPayload({String? transition, List<Map>? params, BigInt? amount, int? gasLimit, BigInt? gasPrice, bool toDS = false})
→ Contract
-
-
setDeployPayload({BigInt? gasPrice, int? gasLimit, bool toDS = false})
→ Contract
-
-
setInitParamsValues(List<Map> initParams, List<Map> arrayOfValues)
→ Contract
-
-
setStatus(ContractStatus status)
→ void
-
-
signTxn({Account? account, String? passphrase})
→ Future<Contract>
-
-
toString()
→ String
-
A string representation of this object.
inherited