@xchainjs/xchain-thorchain
Version:
Custom Thorchain client and utilities used by XChainJS clients
75 lines (74 loc) • 1.93 kB
TypeScript
import { CosmosSdkClientParams } from '@xchainjs/xchain-cosmos-sdk';
import { Asset, BaseAmount, TokenAsset } from '@xchainjs/xchain-util';
/**
* Explorer Url for THORChain
*/
export declare const DEFAULT_EXPLORER_URL = "https://runescan.io";
/**
* Number of decimals for the RUNE asset
*/
export declare const RUNE_DECIMAL = 8;
/**
* Denomination of the RUNE asset
*/
export declare const RUNE_DENOM = "rune";
/**
* Denomination of the TCY asset
*/
export declare const TCY_DENOM = "tcy";
/**
* Denomination of the ruji asset
*/
export declare const RUJI_DENOM = "x/ruji";
/**
* Ticker symbol for the RUNE asset
*/
export declare const RUNE_TICKER = "RUNE";
/**
* Ticker symbol for the TCY asset
*/
export declare const TCY_TICKER = "TCY";
/**
* Ticker symbol for the RUJI asset
*/
export declare const RUJI_TICKER = "RUJI";
/**
* Default fee used by the client to make transactions
*/
export declare const DEFAULT_FEE: BaseAmount;
/**
* Default gas used by the transfer offline function
*/
export declare const DEFAULT_GAS_LIMIT_VALUE = "6000000";
/**
* Default gas used by the deposit function
*/
export declare const DEPOSIT_GAS_LIMIT_VALUE = "600000000";
/**
* Symbol for THORChain
*/
export declare const THORChain: "THOR";
/**
* Native asset representation for RUNE in Thorchain
*/
export declare const AssetRuneNative: Asset;
/**
* Native asset representation for TCY in Thorchain
*/
export declare const AssetTCY: TokenAsset;
/**
* Native asset representation for TCY in Thorchain
*/
export declare const AssetRUJI: Asset;
/**
* Message type URL used to make send transactions
*/
export declare const MSG_SEND_TYPE_URL: "/types.MsgSend";
/**
* Message type URL used to make deposit transactions
*/
export declare const MSG_DEPOSIT_TYPE_URL: "/types.MsgDeposit";
/**
* Default configuration parameters used by the client
*/
export declare const defaultClientConfig: CosmosSdkClientParams;