Class HostFunction

java.lang.Object
org.stellar.sdk.xdr.HostFunction

public class HostFunction extends Object
HostFunction's original definition in the XDR file is:
 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;
 };