Package org.stellar.sdk.xdr
Class CreateContractArgs
java.lang.Object
org.stellar.sdk.xdr.CreateContractArgs
CreateContractArgs's original definition in the XDR file is:
struct CreateContractArgs
{
ContractIDPreimage contractIDPreimage;
ContractExecutable executable;
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCreateContractArgs(ContractIDPreimage contractIDPreimage, ContractExecutable executable) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static CreateContractArgsdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic CreateContractArgsfromXdrBase64(String xdr) static CreateContractArgsfromXdrByteArray(byte[] xdr) inthashCode()voidsetContractIDPreimage(ContractIDPreimage contractIDPreimage) voidsetExecutable(ContractExecutable executable) toString()default Stringdefault byte[]
-
Constructor Details
-
CreateContractArgs
public CreateContractArgs() -
CreateContractArgs
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getContractIDPreimage
-
getExecutable
-
setContractIDPreimage
-
setExecutable
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-