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
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCreateContractArgsV2(ContractIDPreimage contractIDPreimage, ContractExecutable executable, SCVal[] constructorArgs) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static CreateContractArgsV2decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic CreateContractArgsV2fromXdrBase64(String xdr) static CreateContractArgsV2fromXdrByteArray(byte[] xdr) SCVal[]inthashCode()voidsetConstructorArgs(SCVal[] constructorArgs) voidsetContractIDPreimage(ContractIDPreimage contractIDPreimage) voidsetExecutable(ContractExecutable executable) toString()default Stringdefault 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
-