Chain

enum Chain
Supported blockchains
Protobuf enum TW.THORChainSwap.Proto.Chain

Entries

Link copied to clipboard

THOR = 0;

Link copied to clipboard

BTC = 1;

Link copied to clipboard

ETH = 2;

Link copied to clipboard

BNB = 3;

Link copied to clipboard

DOGE = 4;

Link copied to clipboard

BCH = 5;

Link copied to clipboard

LTC = 6;

Link copied to clipboard

ATOM = 7;

Link copied to clipboard

AVAX = 8;

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
open fun internalGetValueMap(): EnumLiteMap<Chain>
Link copied to clipboard
open fun internalGetVerifier(): EnumVerifier
Link copied to clipboard
open fun valueOf(value: Int): THORChainSwap.Chain

Returns the enum constant of this type with the specified name.
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val ATOM_VALUE: Int = 7
ATOM = 7;
Link copied to clipboard
val AVAX_VALUE: Int = 8
AVAX = 8;
Link copied to clipboard
val BCH_VALUE: Int = 5
BCH = 5;
Link copied to clipboard
val BNB_VALUE: Int = 3
BNB = 3;
Link copied to clipboard
val BTC_VALUE: Int = 1
BTC = 1;
Link copied to clipboard
val DOGE_VALUE: Int = 4
DOGE = 4;
Link copied to clipboard
val ETH_VALUE: Int = 2
ETH = 2;
Link copied to clipboard
val LTC_VALUE: Int = 6
LTC = 6;
Link copied to clipboard
val THOR_VALUE: Int = 0
THOR = 0;