HostFunctionXdr

sealed class HostFunctionXdr

XDR Source: union HostFunction switch (HostFunctionType type) { case HOST_FUNCTION_TYPE_INVOKE_CONTRACT: InvokeContractArgs invokeContract; case HOST_FUNCTION_TYPE_CREATE_CONTRACT: CreateContractArgs createContract; case HOST_FUNCTION_TYPE_UPLOAD_CONTRACT_WASM: opaque wasm<>; case HOST_FUNCTION_TYPE_CREATE_CONTRACT_V2: CreateContractArgsV2 createContractV2; };

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class Wasm(val value: ByteArray) : HostFunctionXdr

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun encode(writer: XdrWriter)