public class SCContractInstance extends java.lang.Object implements XdrElement
struct SCContractInstance { ContractExecutable executable; SCMap* storage; };
Modifier and Type | Class and Description |
---|---|
static class |
SCContractInstance.SCContractInstanceBuilder |
Constructor and Description |
---|
SCContractInstance() |
SCContractInstance(ContractExecutable executable,
SCMap storage) |
Modifier and Type | Method and Description |
---|---|
static SCContractInstance.SCContractInstanceBuilder |
builder() |
static SCContractInstance |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static SCContractInstance |
fromXdrBase64(java.lang.String xdr) |
static SCContractInstance |
fromXdrByteArray(byte[] xdr) |
ContractExecutable |
getExecutable() |
SCMap |
getStorage() |
int |
hashCode() |
void |
setExecutable(ContractExecutable executable) |
void |
setStorage(SCMap storage) |
SCContractInstance.SCContractInstanceBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public SCContractInstance()
public SCContractInstance(ContractExecutable executable, SCMap storage)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static SCContractInstance decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static SCContractInstance fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static SCContractInstance fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static SCContractInstance.SCContractInstanceBuilder builder()
public SCContractInstance.SCContractInstanceBuilder toBuilder()
public ContractExecutable getExecutable()
public SCMap getStorage()
public void setExecutable(ContractExecutable executable)
public void setStorage(SCMap storage)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object