maia-core-sdk
Version:
⚒️ An SDK for building applications on top of Maia DAO Ecosytem
58 lines (57 loc) • 1.41 kB
TypeScript
import { chainIdMap } from '../types/basic';
/**
* Holds the chain ids for the supported chains
*/
export declare enum SupportedChainId {
ARBITRUM_ONE = 42161,
MAINNET = 1,
OPTIMISM = 10,
BASE = 8453,
BSC = 56,
POLYGON = 137,
AVAX = 43114,
METIS = 1088,
SONIC = 146,
BERA = 80094,
FRAXTAL = 252,
SWELL = 1923,
SEPOLIA = 11155111,
ARBITRUM_SEPOLIA = 421614,
OPTIMISM_SEPOLIA = 11155420,
BASE_SEPOLIA = 84532,
POLYGON_AMOY = 80002
}
/**
* Holds the chain ids for the supported chains on Layer0
*/
export declare enum SupportedLayerzeroChainId {
ARBITRUM_ONE = 110,
MAINNET = 101,
OPTIMISM = 111,
BASE = 184,
POLYGON = 109,
BSC = 102,
AVAX = 106,
METIS = 151,
SONIC = 332,
BERA = 362,
FRAXTAL = 255,
SWELL = 335,
SEPOLIA = 10161,
ARBITRUM_SEPOLIA = 10231,
OPTIMISM_SEPOLIA = 10232,
BASE_SEPOLIA = 10245,
POLYGON_AMOY = 10267
}
/**
* Holds the root chain id
*/
export declare const ROOT_CHAIN_ID = SupportedChainId.ARBITRUM_ONE;
/**
* Holds the chain ids to layerzero chain ids for the supported chains
*/
export declare const LZ_CHAIN_ID_FROM_EVM_CHAIN_ID: chainIdMap;
/**
* Holds the layerzero chain ids to chain ids for the supported chains
*/
export declare const EVM_CHAIN_ID_FROM_LZ_CHAIN_ID: chainIdMap;