Package org.stellar.sdk.xdr
Class CreateContractArgsV2
java.lang.Object
org.stellar.sdk.xdr.CreateContractArgsV2
CreateContractArgsV2's original definition in the XDR file is:
struct CreateContractArgsV2 { ContractIDPreimage contractIDPreimage; ContractExecutable executable; // Arguments of the contract's constructor. SCVal constructorArgs<>; };
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionCreateContractArgsV2
(ContractIDPreimage contractIDPreimage, ContractExecutable executable, SCVal[] constructorArgs) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static CreateContractArgsV2
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static CreateContractArgsV2
fromXdrBase64
(String xdr) static CreateContractArgsV2
fromXdrByteArray
(byte[] xdr) SCVal[]
int
hashCode()
void
setConstructorArgs
(SCVal[] constructorArgs) void
setContractIDPreimage
(ContractIDPreimage contractIDPreimage) void
setExecutable
(ContractExecutable executable) toString()
default String
default byte[]
-
Constructor Details
-
CreateContractArgsV2
public CreateContractArgsV2() -
CreateContractArgsV2
public CreateContractArgsV2(ContractIDPreimage contractIDPreimage, ContractExecutable executable, SCVal[] constructorArgs)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getContractIDPreimage
-
getExecutable
-
getConstructorArgs
-
setContractIDPreimage
-
setExecutable
-
setConstructorArgs
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-