Create a SmartContract object by providing its address on the Network.
Private
Optional
abiPrivate
addressReadonly
methodsThis object contains a function for each endpoint defined by the contract. (a bit similar to web3js's "contract.methods").
This is an alternative to methodsExplicit. Unlike methodsExplicit, automatic type inference (wrt. ABI) is applied when using methods.
Optional
args: any[]Readonly
methodsThis object contains a function for each endpoint defined by the contract. (a bit similar to web3js's "contract.methods").
Optional
args: TypedValue[]Creates a Transaction for calling (a function of) the Smart Contract.
Creates a Transaction for deploying the Smart Contract to the Network.
Private
ensurePrivate
getPrivate
getOptional
codeMetadata: ICodeMetadataSets the address, as on Network.
Private
setupCreates a Transaction for upgrading the Smart Contract on the Network.
Static
compute
An abstraction for deploying and interacting with Smart Contracts.