Package org.stellar.sdk.xdr
Class ContractIDPreimage.ContractIDPreimageFromAddress
java.lang.Object
org.stellar.sdk.xdr.ContractIDPreimage.ContractIDPreimageFromAddress
- Enclosing class:
ContractIDPreimage
ContractIDPreimageFromAddress's original definition in the XDR file is:
struct { SCAddress address; uint256 salt; }
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
fromXdrBase64
(String xdr) fromXdrByteArray
(byte[] xdr) getSalt()
int
hashCode()
void
setAddress
(SCAddress address) void
toString()
default String
default byte[]
-
Constructor Details
-
ContractIDPreimageFromAddress
public ContractIDPreimageFromAddress() -
ContractIDPreimageFromAddress
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
public static ContractIDPreimage.ContractIDPreimageFromAddress decode(XdrDataInputStream stream) throws IOException - Throws:
IOException
-
fromXdrBase64
public static ContractIDPreimage.ContractIDPreimageFromAddress fromXdrBase64(String xdr) throws IOException - Throws:
IOException
-
fromXdrByteArray
public static ContractIDPreimage.ContractIDPreimageFromAddress fromXdrByteArray(byte[] xdr) throws IOException - Throws:
IOException
-
builder
public static ContractIDPreimage.ContractIDPreimageFromAddress.ContractIDPreimageFromAddressBuilder builder() -
toBuilder
-
getAddress
-
getSalt
-
setAddress
-
setSalt
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-