HTLTOrder

Message for HashTimeLock order
Protobuf type TW.Binance.Proto.HTLTOrder

Types

Link copied to clipboard
class Builder
Message for HashTimeLock order
Protobuf type TW.Binance.Proto.HTLTOrder

Functions

Link copied to clipboard
open fun getAmount(index: Int): Token
amounts
repeated .TW.Binance.Proto.SendOrder.Token amount = 7;
Link copied to clipboard
open fun getAmountCount(): Int
amounts
repeated .TW.Binance.Proto.SendOrder.Token amount = 7;
Link copied to clipboard
open fun getAmountList(): List<Token>
amounts
repeated .TW.Binance.Proto.SendOrder.Token amount = 7;
Link copied to clipboard
open fun getAmountOrBuilder(index: Int): TokenOrBuilder
amounts
repeated .TW.Binance.Proto.SendOrder.Token amount = 7;
Link copied to clipboard
open fun getAmountOrBuilderList(): List<out TokenOrBuilder>
amounts
repeated .TW.Binance.Proto.SendOrder.Token amount = 7;
Link copied to clipboard
set for cross-chain send
bool cross_chain = 10;
Link copied to clipboard
open fun getDefaultInstance(): HTLTOrder
Link copied to clipboard
expected gained token on the other chain
string expected_income = 8;
Link copied to clipboard
open fun getExpectedIncomeBytes(): ByteString
expected gained token on the other chain
string expected_income = 8;
Link copied to clipboard
open fun getFrom(): ByteString
signer address
bytes from = 1;
Link copied to clipboard
open fun getHeightSpan(): Long
period expressed in block heights
int64 height_span = 9;
Link copied to clipboard
open fun getRandomNumberHash(): ByteString
hash of a random number and timestamp, based on SHA256
bytes random_number_hash = 5;
Link copied to clipboard
source on other chain, optional
string recipient_other_chain = 3;
Link copied to clipboard
open fun getRecipientOtherChainBytes(): ByteString
source on other chain, optional
string recipient_other_chain = 3;
Link copied to clipboard
recipient on other chain, optional
string sender_other_chain = 4;
Link copied to clipboard
open fun getSenderOtherChainBytes(): ByteString
recipient on other chain, optional
string sender_other_chain = 4;
Link copied to clipboard
open fun getTimestamp(): Long
timestamp
int64 timestamp = 6;
Link copied to clipboard
open fun getTo(): ByteString
recipient address
bytes to = 2;
Link copied to clipboard
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream): HTLTOrder
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): HTLTOrder
Link copied to clipboard
open fun parseFrom(data: Array<Byte>): HTLTOrder
open fun parseFrom(data: ByteString): HTLTOrder
open fun parseFrom(input: CodedInputStream): HTLTOrder
open fun parseFrom(input: InputStream): HTLTOrder
open fun parseFrom(data: ByteBuffer): HTLTOrder
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): HTLTOrder
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): HTLTOrder
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): HTLTOrder
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): HTLTOrder
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): HTLTOrder
Link copied to clipboard
open fun parser(): Parser<HTLTOrder>

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard