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
-
Constructor Summary
ConstructorDescriptionInvokeContractArgs
(SCAddress contractAddress, SCSymbol functionName, SCVal[] args) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static InvokeContractArgs
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static InvokeContractArgs
fromXdrBase64
(String xdr) static InvokeContractArgs
fromXdrByteArray
(byte[] xdr) SCVal[]
getArgs()
int
hashCode()
void
void
setContractAddress
(SCAddress contractAddress) void
setFunctionName
(SCSymbol functionName) toString()
default String
default 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
-