public class CreateContractArgsV2 extends java.lang.Object implements XdrElement
struct CreateContractArgsV2
{
ContractIDPreimage contractIDPreimage;
ContractExecutable executable;
// Arguments of the contract's constructor.
SCVal constructorArgs<>;
};
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateContractArgsV2.CreateContractArgsV2Builder |
| Constructor and Description |
|---|
CreateContractArgsV2() |
CreateContractArgsV2(ContractIDPreimage contractIDPreimage,
ContractExecutable executable,
SCVal[] constructorArgs) |
| Modifier and Type | Method and Description |
|---|---|
static CreateContractArgsV2.CreateContractArgsV2Builder |
builder() |
static CreateContractArgsV2 |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static CreateContractArgsV2 |
fromXdrBase64(java.lang.String xdr) |
static CreateContractArgsV2 |
fromXdrByteArray(byte[] xdr) |
SCVal[] |
getConstructorArgs() |
ContractIDPreimage |
getContractIDPreimage() |
ContractExecutable |
getExecutable() |
int |
hashCode() |
void |
setConstructorArgs(SCVal[] constructorArgs) |
void |
setContractIDPreimage(ContractIDPreimage contractIDPreimage) |
void |
setExecutable(ContractExecutable executable) |
CreateContractArgsV2.CreateContractArgsV2Builder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArraypublic CreateContractArgsV2()
public CreateContractArgsV2(ContractIDPreimage contractIDPreimage, ContractExecutable executable, SCVal[] constructorArgs)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static CreateContractArgsV2 decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic static CreateContractArgsV2 fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static CreateContractArgsV2 fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOExceptionpublic static CreateContractArgsV2.CreateContractArgsV2Builder builder()
public CreateContractArgsV2.CreateContractArgsV2Builder toBuilder()
public ContractIDPreimage getContractIDPreimage()
public ContractExecutable getExecutable()
public SCVal[] getConstructorArgs()
public void setContractIDPreimage(ContractIDPreimage contractIDPreimage)
public void setExecutable(ContractExecutable executable)
public void setConstructorArgs(SCVal[] constructorArgs)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object