Package org.stellar.sdk.xdr
Class InvokeContractArgs
java.lang.Object
org.stellar.sdk.xdr.InvokeContractArgs
InvokeContractArgs's original definition in the XDR file is:
struct InvokeContractArgs {
SCAddress contractAddress;
SCSymbol functionName;
SCVal args<>;
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionInvokeContractArgs(SCAddress contractAddress, SCSymbol functionName, SCVal[] args) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static InvokeContractArgsdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic InvokeContractArgsfromXdrBase64(String xdr) static InvokeContractArgsfromXdrByteArray(byte[] xdr) SCVal[]getArgs()inthashCode()voidvoidsetContractAddress(SCAddress contractAddress) voidsetFunctionName(SCSymbol functionName) toString()default Stringdefault byte[]
-
Constructor Details
-
InvokeContractArgs
public InvokeContractArgs() -
InvokeContractArgs
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getContractAddress
-
getFunctionName
-
getArgs
-
setContractAddress
-
setFunctionName
-
setArgs
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-