Package org.stellar.sdk.xdr
Class ContractIDPreimage.ContractIDPreimageFromAddress
java.lang.Object
org.stellar.sdk.xdr.ContractIDPreimage.ContractIDPreimageFromAddress
- All Implemented Interfaces:
XdrElement
- Enclosing class:
ContractIDPreimage
public static class ContractIDPreimage.ContractIDPreimageFromAddress
extends Object
implements XdrElement
ContractIDPreimageFromAddress's original definition in the XDR file is:
struct
{
SCAddress address;
uint256 salt;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanfromXdrBase64(String xdr) fromXdrByteArray(byte[] xdr) getSalt()inthashCode()voidsetAddress(SCAddress address) voidtoString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
ContractIDPreimageFromAddress
public ContractIDPreimageFromAddress() -
ContractIDPreimageFromAddress
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- 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
-