Companion

object Companion

Functions

Link copied to clipboard
fun createContract(wasmId: String, address: Address, constructorArgs: List<SCValXdr>? = null, salt: ByteArray? = null): InvokeHostFunctionOperation

Creates an InvokeHostFunctionOperation for creating/deploying a contract.

Link copied to clipboard
fun invokeContractFunction(contractAddress: String, functionName: String, parameters: List<SCValXdr>): InvokeHostFunctionOperation

Creates an InvokeHostFunctionOperation for invoking a specific function on a contract.

Link copied to clipboard

Creates an InvokeHostFunctionOperation for uploading contract WASM code.