fsl-js-sdk
Version:
sdk for web
28 lines (19 loc) • 583 B
TypeScript
export enum ChainId {
Ethereum = 1,
BNBChain = 56,
POLYGON = 137,
POLYGON_MUMBAI = 80001,
}
export enum Chains {
polygon = 'polygon',
solana = 'solana',
ethereum = 'ethereum',
// binance = 'binance',
}
export type SupportedChains = ChainId[];
type CHAIN_ENUM = 'GST' | 'GMT' | 'USDC';
type MIN_CHAIN_ENUM = 'GMT' | 'USDC';
export type EthereumToken = Record<CHAIN_ENUM, string>;
export type BNBChainToken = Record<CHAIN_ENUM, string>;
export type PolygonToken = Record<MIN_CHAIN_ENUM, string>;
export type PolygonMumbaiToken = Record<MIN_CHAIN_ENUM, string>;