Package org.stellar.sdk.xdr
Class HostFunction.HostFunctionBuilder
java.lang.Object
org.stellar.sdk.xdr.HostFunction.HostFunctionBuilder
- Enclosing class:
HostFunction
-
Method Summary
Modifier and TypeMethodDescriptionbuild()createContract(CreateContractArgs createContract) Value of thecreateContractfield.createContractV2(CreateContractArgsV2 createContractV2) Value of thecreateContractV2field.discriminant(HostFunctionType discriminant) Value of thediscriminantfield.invokeContract(InvokeContractArgs invokeContract) Value of theinvokeContractfield.toString()wasm(byte[] wasm) Value of thewasmfield.
-
Method Details
-
discriminant
Value of thediscriminantfield.- Parameters:
discriminant- thediscriminantfield value- Returns:
this.
-
invokeContract
Value of theinvokeContractfield.- Parameters:
invokeContract- theinvokeContractfield value- Returns:
this.
-
createContract
Value of thecreateContractfield.- Parameters:
createContract- thecreateContractfield value- Returns:
this.
-
wasm
Value of thewasmfield.- Parameters:
wasm- thewasmfield value- Returns:
this.
-
createContractV2
Value of thecreateContractV2field.- Parameters:
createContractV2- thecreateContractV2field value- Returns:
this.
-
build
-
toString
-