Package org.stellar.sdk.xdr
Class SCContractInstance
java.lang.Object
org.stellar.sdk.xdr.SCContractInstance
- All Implemented Interfaces:
XdrElement
SCContractInstance's original definition in the XDR file is:
struct SCContractInstance {
ContractExecutable executable;
SCMap* storage;
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static SCContractInstancedecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic SCContractInstancefromXdrBase64(String xdr) static SCContractInstancefromXdrByteArray(byte[] xdr) inthashCode()voidsetExecutable(ContractExecutable executable) voidsetStorage(SCMap storage) toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
SCContractInstance
public SCContractInstance() -
SCContractInstance
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getExecutable
-
getStorage
-
setExecutable
-
setStorage
-
equals
-
hashCode
public int hashCode() -
toString
-