UNPKG

@pancakeswap/chains

Version:

The single source of truth for Pancakeswap chain-related information

431 lines (424 loc) 18.2 kB
// src/chainId.ts var ChainId = /* @__PURE__ */ ((ChainId2) => { ChainId2[ChainId2["ETHEREUM"] = 1] = "ETHEREUM"; ChainId2[ChainId2["GOERLI"] = 5] = "GOERLI"; ChainId2[ChainId2["BSC"] = 56] = "BSC"; ChainId2[ChainId2["BSC_TESTNET"] = 97] = "BSC_TESTNET"; ChainId2[ChainId2["ZKSYNC_TESTNET"] = 280] = "ZKSYNC_TESTNET"; ChainId2[ChainId2["ZKSYNC"] = 324] = "ZKSYNC"; ChainId2[ChainId2["OPBNB_TESTNET"] = 5611] = "OPBNB_TESTNET"; ChainId2[ChainId2["OPBNB"] = 204] = "OPBNB"; ChainId2[ChainId2["ARBITRUM_ONE"] = 42161] = "ARBITRUM_ONE"; ChainId2[ChainId2["ARBITRUM_GOERLI"] = 421613] = "ARBITRUM_GOERLI"; ChainId2[ChainId2["ARBITRUM_SEPOLIA"] = 421614] = "ARBITRUM_SEPOLIA"; ChainId2[ChainId2["SCROLL_SEPOLIA"] = 534351] = "SCROLL_SEPOLIA"; ChainId2[ChainId2["LINEA"] = 59144] = "LINEA"; ChainId2[ChainId2["LINEA_TESTNET"] = 59140] = "LINEA_TESTNET"; ChainId2[ChainId2["BASE"] = 8453] = "BASE"; ChainId2[ChainId2["BASE_TESTNET"] = 84531] = "BASE_TESTNET"; ChainId2[ChainId2["BASE_SEPOLIA"] = 84532] = "BASE_SEPOLIA"; ChainId2[ChainId2["SEPOLIA"] = 11155111] = "SEPOLIA"; ChainId2[ChainId2["MONAD_MAINNET"] = 143] = "MONAD_MAINNET"; ChainId2[ChainId2["MONAD_TESTNET"] = 10143] = "MONAD_TESTNET"; return ChainId2; })(ChainId || {}); var NonEVMChainId = /* @__PURE__ */ ((NonEVMChainId2) => { NonEVMChainId2[NonEVMChainId2["SOLANA"] = 8000001001] = "SOLANA"; NonEVMChainId2[NonEVMChainId2["APTOS"] = 8000002e3] = "APTOS"; return NonEVMChainId2; })(NonEVMChainId || {}); var SunsetChainId = /* @__PURE__ */ ((SunsetChainId2) => { SunsetChainId2[SunsetChainId2["POLYGON_ZKEVM"] = 1101] = "POLYGON_ZKEVM"; SunsetChainId2[SunsetChainId2["POLYGON_ZKEVM_TESTNET"] = 1442] = "POLYGON_ZKEVM_TESTNET"; return SunsetChainId2; })(SunsetChainId || {}); var testnetChainIds = [ 5 /* GOERLI */, 97 /* BSC_TESTNET */, 280 /* ZKSYNC_TESTNET */, 5611 /* OPBNB_TESTNET */, 421613 /* ARBITRUM_GOERLI */, 534351 /* SCROLL_SEPOLIA */, 59140 /* LINEA_TESTNET */, 84531 /* BASE_TESTNET */, 11155111 /* SEPOLIA */, 421614 /* ARBITRUM_SEPOLIA */, 84532 /* BASE_SEPOLIA */, 10143 /* MONAD_TESTNET */ ]; // src/averageChainBlockTimes.ts var AVERAGE_CHAIN_BLOCK_TIMES = { [56 /* BSC */]: 0.45, [97 /* BSC_TESTNET */]: 0.45, [204 /* OPBNB */]: 0.5, [5611 /* OPBNB_TESTNET */]: 0.5, [1 /* ETHEREUM */]: 12, [11155111 /* SEPOLIA */]: 12, [5 /* GOERLI */]: 3, [324 /* ZKSYNC */]: 2, [280 /* ZKSYNC_TESTNET */]: 2, [42161 /* ARBITRUM_ONE */]: 0.25, [421613 /* ARBITRUM_GOERLI */]: 0.25, [421614 /* ARBITRUM_SEPOLIA */]: 0.25, [534351 /* SCROLL_SEPOLIA */]: 1, [59144 /* LINEA */]: 2, [59140 /* LINEA_TESTNET */]: 2, [8453 /* BASE */]: 2, [84531 /* BASE_TESTNET */]: 2, [84532 /* BASE_SEPOLIA */]: 2, [143 /* MONAD_MAINNET */]: 1, [10143 /* MONAD_TESTNET */]: 1 }; // src/chainNames.ts var chainNames = { [1 /* ETHEREUM */]: "eth", [5 /* GOERLI */]: "goerli", [56 /* BSC */]: "bsc", [97 /* BSC_TESTNET */]: "bscTestnet", [42161 /* ARBITRUM_ONE */]: "arb", [421613 /* ARBITRUM_GOERLI */]: "arbGoerli", [324 /* ZKSYNC */]: "zkSync", [280 /* ZKSYNC_TESTNET */]: "zkSyncTestnet", [59144 /* LINEA */]: "linea", [59140 /* LINEA_TESTNET */]: "lineaTestnet", [204 /* OPBNB */]: "opBNB", [5611 /* OPBNB_TESTNET */]: "opBnbTestnet", [8453 /* BASE */]: "base", [84531 /* BASE_TESTNET */]: "baseTestnet", [534351 /* SCROLL_SEPOLIA */]: "scrollSepolia", [11155111 /* SEPOLIA */]: "sepolia", [421614 /* ARBITRUM_SEPOLIA */]: "arbSepolia", [84532 /* BASE_SEPOLIA */]: "baseSepolia", [143 /* MONAD_MAINNET */]: "monad", [10143 /* MONAD_TESTNET */]: "monadTestnet", [8000001001 /* SOLANA */]: "sol", [8000002e3 /* APTOS */]: "aptos" }; var chainFullNames = { [1 /* ETHEREUM */]: "Ethereum", [5 /* GOERLI */]: "Goerli", [56 /* BSC */]: "BNB Chain", [97 /* BSC_TESTNET */]: "BNB Chain Testnet", [42161 /* ARBITRUM_ONE */]: "Arbitrum One", [421613 /* ARBITRUM_GOERLI */]: "Arbitrum Goerli", [324 /* ZKSYNC */]: "ZKsync Era", [280 /* ZKSYNC_TESTNET */]: "ZKsync Era Testnet", [59144 /* LINEA */]: "Linea", [59140 /* LINEA_TESTNET */]: "Linea Testnet", [204 /* OPBNB */]: "opBNB", [5611 /* OPBNB_TESTNET */]: "opBNB Testnet", [8453 /* BASE */]: "Base", [84531 /* BASE_TESTNET */]: "Base Testnet", [534351 /* SCROLL_SEPOLIA */]: "Scroll Sepolia", [11155111 /* SEPOLIA */]: "Sepolia", [421614 /* ARBITRUM_SEPOLIA */]: "Arbitrum Sepolia", [84532 /* BASE_SEPOLIA */]: "Base Sepolia", [143 /* MONAD_MAINNET */]: "Monad", [10143 /* MONAD_TESTNET */]: "Monad Testnet", [8000001001 /* SOLANA */]: "Solana", [8000002e3 /* APTOS */]: "Aptos" }; var chainNamesInKebabCase = { [1 /* ETHEREUM */]: "ethereum", [5 /* GOERLI */]: "goerli", [56 /* BSC */]: "bsc", [97 /* BSC_TESTNET */]: "bsc-testnet", [42161 /* ARBITRUM_ONE */]: "arbitrum", [421613 /* ARBITRUM_GOERLI */]: "arbitrum-goerli", [324 /* ZKSYNC */]: "zksync", [280 /* ZKSYNC_TESTNET */]: "zksync-testnet", [59144 /* LINEA */]: "linea", [59140 /* LINEA_TESTNET */]: "linea-testnet", [204 /* OPBNB */]: "opbnb", [5611 /* OPBNB_TESTNET */]: "opbnb-testnet", [8453 /* BASE */]: "base", [84531 /* BASE_TESTNET */]: "base-testnet", [534351 /* SCROLL_SEPOLIA */]: "scroll-sepolia", [11155111 /* SEPOLIA */]: "sepolia", [421614 /* ARBITRUM_SEPOLIA */]: "arbitrum-sepolia", [84532 /* BASE_SEPOLIA */]: "base-sepolia", [143 /* MONAD_MAINNET */]: "monad", [10143 /* MONAD_TESTNET */]: "monad-testnet", [8000001001 /* SOLANA */]: "sol", [8000002e3 /* APTOS */]: "aptos" }; var mainnetChainNamesInKebabCase = { [1 /* ETHEREUM */]: "ethereum", [5 /* GOERLI */]: "ethereum", [56 /* BSC */]: "bsc", [97 /* BSC_TESTNET */]: "bsc", [42161 /* ARBITRUM_ONE */]: "arbitrum", [421613 /* ARBITRUM_GOERLI */]: "arbitrum", [324 /* ZKSYNC */]: "zksync", [280 /* ZKSYNC_TESTNET */]: "zksync", [59144 /* LINEA */]: "linea", [59140 /* LINEA_TESTNET */]: "linea", [204 /* OPBNB */]: "opbnb", [5611 /* OPBNB_TESTNET */]: "opbnb", [8453 /* BASE */]: "base", [84531 /* BASE_TESTNET */]: "base", [11155111 /* SEPOLIA */]: "ethereum", [421614 /* ARBITRUM_SEPOLIA */]: "arbitrum", [84532 /* BASE_SEPOLIA */]: "base", [8000001001 /* SOLANA */]: "sol", [143 /* MONAD_MAINNET */]: "monad", [8000002e3 /* APTOS */]: "aptos" }; var legacyChainNames = [ ["Binance Smart Chain", 56 /* BSC */], ["BNB Smart Chain", 56 /* BSC */] ]; var chainNameToChainId = Object.entries(chainNames).reduce((acc, [chainId, chainName]) => { return { [chainName]: +chainId, ...acc }; }, {}); var chainFullNamesToChainId = Object.entries(chainFullNames).reduce((acc, [chainId, chainName]) => { return { [chainName]: +chainId, ...acc }; }, {}); var kebabCaseNamesToChainId = Object.entries(chainNamesInKebabCase).reduce((acc, [chainId, chainName]) => { return { [chainName]: +chainId, ...acc }; }, {}); var allCasesNameToChainId = Object.entries({ ...chainFullNamesToChainId, ...kebabCaseNamesToChainId, ...chainNameToChainId }).concat(legacyChainNames).reduce((acc, [chainName, chainId]) => { return { [chainName]: +chainId, [chainName.toLowerCase()]: +chainId, ...acc }; }, {}); var defiLlamaChainNames = { [56 /* BSC */]: "bsc", [1 /* ETHEREUM */]: "ethereum", [5 /* GOERLI */]: "", [97 /* BSC_TESTNET */]: "", [42161 /* ARBITRUM_ONE */]: "arbitrum", [421613 /* ARBITRUM_GOERLI */]: "", [324 /* ZKSYNC */]: "era", [280 /* ZKSYNC_TESTNET */]: "", [59140 /* LINEA_TESTNET */]: "", [84531 /* BASE_TESTNET */]: "", [204 /* OPBNB */]: "op_bnb", [5611 /* OPBNB_TESTNET */]: "", [534351 /* SCROLL_SEPOLIA */]: "", [59144 /* LINEA */]: "linea", [8453 /* BASE */]: "base", [11155111 /* SEPOLIA */]: "", [421614 /* ARBITRUM_SEPOLIA */]: "", [84532 /* BASE_SEPOLIA */]: "", [143 /* MONAD_MAINNET */]: "monad", [10143 /* MONAD_TESTNET */]: "", [8000001001 /* SOLANA */]: "", [8000002e3 /* APTOS */]: "" }; // src/chains.ts var Chains = [ { id: 56 /* BSC */, name: chainNames[56 /* BSC */], fullName: chainFullNames[56 /* BSC */], isEVM: true }, { id: 1 /* ETHEREUM */, name: chainNames[1 /* ETHEREUM */], fullName: chainFullNames[1 /* ETHEREUM */], isEVM: true }, { id: 8000001001 /* SOLANA */, name: chainNames[8000001001 /* SOLANA */], fullName: chainFullNames[8000001001 /* SOLANA */], isEVM: false }, { id: 8000002e3 /* APTOS */, name: chainNames[8000002e3 /* APTOS */], fullName: chainFullNames[8000002e3 /* APTOS */], isEVM: false }, { id: 8453 /* BASE */, name: chainNames[8453 /* BASE */], fullName: chainFullNames[8453 /* BASE */], isEVM: true }, { id: 143 /* MONAD_MAINNET */, name: chainNames[143 /* MONAD_MAINNET */], fullName: chainFullNames[143 /* MONAD_MAINNET */], isEVM: true }, { id: 42161 /* ARBITRUM_ONE */, name: chainNames[42161 /* ARBITRUM_ONE */], fullName: chainFullNames[42161 /* ARBITRUM_ONE */], isEVM: true }, { id: 324 /* ZKSYNC */, name: chainNames[324 /* ZKSYNC */], fullName: chainFullNames[324 /* ZKSYNC */], isEVM: true }, { id: 59144 /* LINEA */, name: chainNames[59144 /* LINEA */], fullName: chainFullNames[59144 /* LINEA */], isEVM: true }, { id: 204 /* OPBNB */, name: chainNames[204 /* OPBNB */], fullName: chainFullNames[204 /* OPBNB */], isEVM: true }, { id: 97 /* BSC_TESTNET */, name: chainNames[97 /* BSC_TESTNET */], fullName: chainFullNames[97 /* BSC_TESTNET */], isEVM: true, testnet: true }, { id: 5 /* GOERLI */, name: chainNames[5 /* GOERLI */], fullName: chainFullNames[5 /* GOERLI */], isEVM: true }, { id: 11155111 /* SEPOLIA */, name: chainNames[11155111 /* SEPOLIA */], fullName: chainFullNames[11155111 /* SEPOLIA */], isEVM: true }, { id: 421613 /* ARBITRUM_GOERLI */, name: chainNames[421613 /* ARBITRUM_GOERLI */], fullName: chainFullNames[421613 /* ARBITRUM_GOERLI */], isEVM: true }, { id: 421614 /* ARBITRUM_SEPOLIA */, name: chainNames[421614 /* ARBITRUM_SEPOLIA */], fullName: chainFullNames[421614 /* ARBITRUM_SEPOLIA */], isEVM: true }, { id: 59140 /* LINEA_TESTNET */, name: chainNames[59140 /* LINEA_TESTNET */], fullName: chainFullNames[59140 /* LINEA_TESTNET */], isEVM: true, testnet: true }, { id: 84531 /* BASE_TESTNET */, name: chainNames[84531 /* BASE_TESTNET */], fullName: chainFullNames[84531 /* BASE_TESTNET */], isEVM: true, testnet: true }, { id: 84532 /* BASE_SEPOLIA */, name: chainNames[84532 /* BASE_SEPOLIA */], fullName: chainFullNames[84532 /* BASE_SEPOLIA */], isEVM: true }, { id: 5611 /* OPBNB_TESTNET */, name: chainNames[5611 /* OPBNB_TESTNET */], fullName: chainFullNames[5611 /* OPBNB_TESTNET */], isEVM: true, testnet: true }, { id: 534351 /* SCROLL_SEPOLIA */, name: chainNames[534351 /* SCROLL_SEPOLIA */], fullName: chainFullNames[534351 /* SCROLL_SEPOLIA */], isEVM: true }, { id: 10143 /* MONAD_TESTNET */, name: chainNames[10143 /* MONAD_TESTNET */], fullName: chainFullNames[10143 /* MONAD_TESTNET */], isEVM: true, testnet: true } ]; // src/utils.ts var MAX_EVM_CHAIN_ID = Math.max(...Object.values(ChainId).filter((v) => typeof v === "number")); var NON_EVM_MIN = Math.min(...Object.values(NonEVMChainId).filter((v) => typeof v === "number")); function getChainName(chainId) { return chainNames[chainId]; } function getChainNameInKebabCase(chainId) { return chainNamesInKebabCase[chainId]; } function getMainnetChainNameInKebabCase(chainId) { return mainnetChainNamesInKebabCase[chainId]; } function getLlamaChainName(chainId) { return defiLlamaChainNames[chainId]; } function getChainIdByChainName(chainName) { if (!chainName) return void 0; return chainNameToChainId[chainName] ?? void 0; } function isTestnetChainId(chainId) { return testnetChainIds.includes(chainId); } function isEvm(chainId) { if (!chainId) return false; return chainId <= MAX_EVM_CHAIN_ID && chainId < NON_EVM_MIN; } function isSolana(chainId) { if (!chainId) return false; return chainId === 8000001001 /* SOLANA */; } function isAptos(chainId) { if (!chainId) return false; return chainId === 8000002e3 /* APTOS */; } function isChainSupported(chainId) { if (!chainId) return false; return Object.values(ChainId).includes(chainId) || Object.values(NonEVMChainId).includes(chainId); } // src/subgraphs.ts var publicSubgraphParams = {}; var V3_SUBGRAPHS = getV3Subgraphs(publicSubgraphParams); var V2_SUBGRAPHS = getV2Subgraphs(publicSubgraphParams); var BLOCKS_SUBGRAPHS = getBlocksSubgraphs(publicSubgraphParams); var STABLESWAP_SUBGRAPHS = getStableSwapSubgraphs(publicSubgraphParams); function getStableSwapSubgraphs({ theGraphApiKey } = {}) { return { [56 /* BSC */]: `https://gateway-arbitrum.network.thegraph.com/api/${theGraphApiKey}/subgraphs/id/C5EuiZwWkCge7edveeMcvDmdr7jjc1zG4vgn8uucLdfz`, [42161 /* ARBITRUM_ONE */]: `https://gateway-arbitrum.network.thegraph.com/api/${theGraphApiKey}/subgraphs/id/y7G5NUSq5ngsLH2jBGQajjxuLgW1bcqWiBqKmBk3MWM`, [143 /* MONAD_MAINNET */]: null }; } function getV3Subgraphs({ noderealApiKey, theGraphApiKey }) { return { [1 /* ETHEREUM */]: `https://gateway-arbitrum.network.thegraph.com/api/${theGraphApiKey}/subgraphs/id/CJYGNhb7RvnhfBDjqpRnD3oxgyhibzc7fkAMa38YV3oS`, [5 /* GOERLI */]: "https://api.thegraph.com/subgraphs/name/pancakeswap/exchange-v3-goerli", [56 /* BSC */]: `https://gateway-arbitrum.network.thegraph.com/api/${theGraphApiKey}/subgraphs/id/Hv1GncLY5docZoGtXjo4kwbTvxm3MAhVZqBZE4sUT9eZ`, [97 /* BSC_TESTNET */]: `https://gateway-arbitrum.network.thegraph.com/api/${theGraphApiKey}/subgraphs/id/7xd5KmL3FbzRYbmAM9SSe4wdrsJV71pJQhCBqzU7y8Qi`, [42161 /* ARBITRUM_ONE */]: `https://gateway-arbitrum.network.thegraph.com/api/${theGraphApiKey}/subgraphs/id/251MHFNN1rwjErXD2efWMpNS73SANZN8Ua192zw6iXve`, [421613 /* ARBITRUM_GOERLI */]: "https://api.thegraph.com/subgraphs/name/chef-jojo/exhange-v3-arb-goerli", [324 /* ZKSYNC */]: `https://gateway-arbitrum.network.thegraph.com/api/${theGraphApiKey}/subgraphs/id/3dKr3tYxTuwiRLkU9vPj3MvZeUmeuGgWURbFC72ZBpYY`, [280 /* ZKSYNC_TESTNET */]: "https://api.studio.thegraph.com/query/45376/exchange-v3-zksync-testnet/version/latest", [59144 /* LINEA */]: `https://gateway-arbitrum.network.thegraph.com/api/${theGraphApiKey}/subgraphs/id/6gCTVX98K3A9Hf9zjvgEKwjz7rtD4C1V173RYEdbeMFX`, [59140 /* LINEA_TESTNET */]: "https://thegraph.goerli.zkevm.consensys.net/subgraphs/name/pancakeswap/exchange-v3-linea-goerli", [8453 /* BASE */]: `https://gateway-arbitrum.network.thegraph.com/api/${theGraphApiKey}/subgraphs/id/5YYKGBcRkJs6tmDfB3RpHdbK2R5KBACHQebXVgbUcYQp`, [84531 /* BASE_TESTNET */]: "https://api.studio.thegraph.com/query/45376/exchange-v3-base-testnet/version/latest", [204 /* OPBNB */]: `https://open-platform-ap.nodereal.io/${noderealApiKey}/opbnb-mainnet-graph-query/subgraphs/name/pancakeswap/exchange-v3`, [5611 /* OPBNB_TESTNET */]: null, [534351 /* SCROLL_SEPOLIA */]: "https://api.studio.thegraph.com/query/45376/exchange-v3-scroll-sepolia/version/latest", [11155111 /* SEPOLIA */]: null, [421614 /* ARBITRUM_SEPOLIA */]: null, [84532 /* BASE_SEPOLIA */]: null, [143 /* MONAD_MAINNET */]: null, [10143 /* MONAD_TESTNET */]: null }; } function getV2Subgraphs({ noderealApiKey, theGraphApiKey }) { return { [56 /* BSC */]: null, [1 /* ETHEREUM */]: `https://gateway-arbitrum.network.thegraph.com/api/${theGraphApiKey}/subgraphs/id/9opY17WnEPD4REcC43yHycQthSeUMQE26wyoeMjZTLEx`, [280 /* ZKSYNC_TESTNET */]: "https://api.studio.thegraph.com/query/45376/exchange-v2-zksync-testnet/version/latest", [324 /* ZKSYNC */]: `https://gateway-arbitrum.network.thegraph.com/api/${theGraphApiKey}/subgraphs/id/6dU6WwEz22YacyzbTbSa3CECCmaD8G7oQ8aw6MYd5VKU`, [59140 /* LINEA_TESTNET */]: "https://thegraph.goerli.zkevm.consensys.net/subgraphs/name/pancakeswap/exhange-eth/", [42161 /* ARBITRUM_ONE */]: `https://gateway-arbitrum.network.thegraph.com/api/${theGraphApiKey}/subgraphs/id/EsL7geTRcA3LaLLM9EcMFzYbUgnvf8RixoEEGErrodB3`, [59144 /* LINEA */]: `https://gateway-arbitrum.network.thegraph.com/api/${theGraphApiKey}/subgraphs/id/Eti2Z5zVEdARnuUzjCbv4qcimTLysAizsqH3s6cBfPjB`, [8453 /* BASE */]: `https://gateway-arbitrum.network.thegraph.com/api/${theGraphApiKey}/subgraphs/id/2NjL7L4CmQaGJSacM43ofmH6ARf6gJoBeBaJtz9eWAQ9`, [204 /* OPBNB */]: `https://open-platform-ap.nodereal.io/${noderealApiKey}/opbnb-mainnet-graph-query/subgraphs/name/pancakeswap/exchange-v2`, [143 /* MONAD_MAINNET */]: null }; } function getBlocksSubgraphs({ noderealApiKey }) { return { [56 /* BSC */]: "https://api.thegraph.com/subgraphs/name/pancakeswap/blocks", [1 /* ETHEREUM */]: "https://api.thegraph.com/subgraphs/name/blocklytics/ethereum-blocks", [324 /* ZKSYNC */]: "https://api.studio.thegraph.com/query/45376/blocks-zksync/version/latest", [42161 /* ARBITRUM_ONE */]: "https://api.thegraph.com/subgraphs/name/ianlapham/arbitrum-one-blocks", [59144 /* LINEA */]: "https://api.studio.thegraph.com/query/45376/blocks-linea/version/latest", [8453 /* BASE */]: "https://api.studio.thegraph.com/query/48211/base-blocks/version/latest", [204 /* OPBNB */]: `https://open-platform-ap.nodereal.io/${noderealApiKey}/opbnb-mainnet-graph-query/subgraphs/name/pancakeswap/blocks`, [143 /* MONAD_MAINNET */]: null }; } export { AVERAGE_CHAIN_BLOCK_TIMES, BLOCKS_SUBGRAPHS, ChainId, Chains, NonEVMChainId, STABLESWAP_SUBGRAPHS, SunsetChainId, V2_SUBGRAPHS, V3_SUBGRAPHS, allCasesNameToChainId, chainFullNames, chainNameToChainId, chainNames, chainNamesInKebabCase, defiLlamaChainNames, getBlocksSubgraphs, getChainIdByChainName, getChainName, getChainNameInKebabCase, getLlamaChainName, getMainnetChainNameInKebabCase, getStableSwapSubgraphs, getV2Subgraphs, getV3Subgraphs, isAptos, isChainSupported, isEvm, isSolana, isTestnetChainId, mainnetChainNamesInKebabCase, testnetChainIds };