UNPKG

@qso-soft/shared

Version:

Shared library for QSO-soft

47 lines (46 loc) 1.73 kB
export type NetworksRecord = Record<Networks, string>; export type RPCsRecord = Record<Networks, string[]>; export declare enum Networks { BSC = "bsc", OP_BNB = "opBNB", ETH = "eth", POLYGON = "polygon", AVALANCHE = "avalanche", ARBITRUM = "arbitrum", OPTIMISM = "optimism", LAYER_ZERO = "layerZero", ZKSYNC = "zkSync", ZKFAIR = "zkFair", POLYGON_ZKEVM = "polygon_zkevm", BASE = "base", LINEA = "linea", SCROLL = "scroll", FANTOM = "fantom", CORE = "core", CELO = "celo", ZORA = "zora", GNOSIS = "gnosis", KLAY = "klay", APTOS = "aptos", STARKNET = "starknet" } export type SupportedNetworks = 'bsc' | 'opBNB' | 'eth' | 'polygon' | 'arbitrum' | 'avalanche' | 'optimism' | 'zkSync' | 'zkFair' | 'polygon_zkevm' | 'base' | 'linea' | 'scroll' | 'fantom' | 'core' | 'celo' | 'zora' | 'gnosis' | 'klay' | 'aptos' | 'holesky' | 'layerZero'; export declare const BINANCE_NETWORKS: readonly ["bsc", "opBNB", "eth", "polygon", "arbitrum", "avalanche", "optimism", "zkSync", "base", "fantom", "celo", "klay"]; export type BinanceNetworks = (typeof BINANCE_NETWORKS)[number]; export declare const OKX_NETWORKS: readonly ["bsc", "eth", "polygon", "arbitrum", "avalanche", "optimism", "zkSync", "base", "linea", "fantom", "core", "celo", "klay"]; export type OkxNetworks = (typeof OKX_NETWORKS)[number]; export interface BinanceTokenData { coin: string; name: string; networkList: BinanceNetworkData[]; } export interface BinanceNetworkData { network: string; coin: string; withdrawIntegerMultiple: string; name: string; withdrawFee: string; withdrawMin: string; withdrawMax: string; contractAddress: string; }