SwapOutput

Result of the swap, a SigningInput struct for the specific chain
Protobuf type TW.THORChainSwap.Proto.SwapOutput

Types

Link copied to clipboard
class Builder
Result of the swap, a SigningInput struct for the specific chain
Protobuf type TW.THORChainSwap.Proto.SwapOutput
Link copied to clipboard

Functions

Link copied to clipboard
open fun getBinance(): SigningInput
.TW.Binance.Proto.SigningInput binance = 6;
Link copied to clipboard
open fun getBitcoin(): SigningInput
.TW.Bitcoin.Proto.SigningInput bitcoin = 4;
Link copied to clipboard
open fun getCosmos(): SigningInput
.TW.Cosmos.Proto.SigningInput cosmos = 7;
Link copied to clipboard
open fun getDefaultInstance(): SwapOutput
Link copied to clipboard
open fun getError(): Error
Error code, filled in case of error, OK/empty on success
.TW.THORChainSwap.Proto.Error error = 3;
Link copied to clipboard
open fun getEthereum(): SigningInput
.TW.Ethereum.Proto.SigningInput ethereum = 5;
Link copied to clipboard
open fun getFromChain(): Chain
Source chain
.TW.THORChainSwap.Proto.Chain from_chain = 1;
Link copied to clipboard
Source chain
.TW.THORChainSwap.Proto.Chain from_chain = 1;
Link copied to clipboard
open fun getToChain(): Chain
Destination chain
.TW.THORChainSwap.Proto.Chain to_chain = 2;
Link copied to clipboard
open fun getToChainValue(): Int
Destination chain
.TW.THORChainSwap.Proto.Chain to_chain = 2;
Link copied to clipboard
open fun hasBinance(): Boolean
.TW.Binance.Proto.SigningInput binance = 6;
Link copied to clipboard
open fun hasBitcoin(): Boolean
.TW.Bitcoin.Proto.SigningInput bitcoin = 4;
Link copied to clipboard
open fun hasCosmos(): Boolean
.TW.Cosmos.Proto.SigningInput cosmos = 7;
Link copied to clipboard
open fun hasError(): Boolean
Error code, filled in case of error, OK/empty on success
.TW.THORChainSwap.Proto.Error error = 3;
Link copied to clipboard
open fun hasEthereum(): Boolean
.TW.Ethereum.Proto.SigningInput ethereum = 5;
Link copied to clipboard
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream): SwapOutput
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): SwapOutput
Link copied to clipboard
open fun parseFrom(data: Array<Byte>): SwapOutput
open fun parseFrom(data: ByteString): SwapOutput
open fun parseFrom(input: CodedInputStream): SwapOutput
open fun parseFrom(input: InputStream): SwapOutput
open fun parseFrom(data: ByteBuffer): SwapOutput
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): SwapOutput
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): SwapOutput
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): SwapOutput
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): SwapOutput
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): SwapOutput
Link copied to clipboard
open fun parser(): Parser<SwapOutput>

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
Link copied to clipboard