Package org.stellar.sdk.xdr
Class ContractExecutable
java.lang.Object
org.stellar.sdk.xdr.ContractExecutable
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ContractExecutabledecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, ContractExecutable encodedContractExecutable) booleanstatic ContractExecutablefromXdrBase64(String xdr) static ContractExecutablefromXdrByteArray(byte[] xdr) inthashCode()voidvoidsetWasm_hash(Hash value) byte[]
-
Constructor Details
-
ContractExecutable
public ContractExecutable()
-
-
Method Details
-
getDiscriminant
-
setDiscriminant
-
getWasm_hash
-
setWasm_hash
-
encode
public static void encode(XdrDataOutputStream stream, ContractExecutable encodedContractExecutable) throws IOException - Throws:
IOException
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-