TestScilla class

Inheritance

Constructors

TestScilla({required Map params, dynamic messenger, ContractStatus? status})

Properties

abi ABI?
getter/setter pair
blockchain List<Map>
getter/setter pair
callPayload Map
no setterinherited
code String
getter/setter pairoverride
contractAddress String?
getter/setter pairoverride
deployPayload Map
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
init List<Map>?
getter/setter pairoverride
messenger ↔ dynamic
getter/setter pairoverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signer Account?
no setterinherited
status ContractStatus?
getter/setter pairoverride
testPayload → dynamic
no setter
toDS bool?
getter/setter pairinherited
transaction Transaction?
getter/setter pairoverride
version int?
getter/setter pairoverride
wallet Wallet?
getter/setter pairinherited

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>
inherited
confirmTx({int maxAttempts = 20, int interval = 1000}) Future<Contract>
inherited
decodeABI({String? code}) Future<TestScilla>
deploy({int? gasLimit, BigInt? gasPrice, Account? account, String? passphrase, int maxAttempts = 20, int interval = 1000, bool toDS = false}) Future<Contract>
inherited
getABI({String? code}) Future
getState() Future<SuccessMiddleware?>
inherited
getTestPayload() Map
isDeployed() bool
inherited
isInitialised() bool
inherited
isRejected() bool
inherited
isSent() bool
inherited
isSigned() bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendContract({Account? account, String? passphrase}) Future<Contract>
inherited
setABI(Map abi) TestScilla
setBlockchain(String blockNumber) TestScilla
setBlockNumber(int? number) Future<TestScilla>
setCallPayload({String? transition, List<Map>? params, BigInt? amount, int? gasLimit, BigInt? gasPrice, bool toDS = false}) Contract
inherited
setCode(String? code) TestScilla
setCreationBlock(String blockNumber) TestScilla
setDeployPayload({BigInt? gasPrice, int? gasLimit, bool toDS = false}) Contract
inherited
setInitParamsValues(List<Map> initParams, List<Map>? arrayOfValues) TestScilla
override
setStatus(ContractStatus status) → void
inherited
signTxn({Account? account, String? passphrase}) Future<Contract>
inherited
testCall(dynamic gasLimit) Future<TestScilla>
toString() String
A string representation of this object.
inherited

Operators

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