UNPKG

@pangolindex/sdk

Version:

🛠 An SDK for building applications on top of Pangolin.

1,534 lines (1,523 loc) • 479 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var JSBI = _interopDefault(require('jsbi')); var invariant = _interopDefault(require('tiny-invariant')); var warning = _interopDefault(require('tiny-warning')); var address = require('@ethersproject/address'); var _Big = _interopDefault(require('big.js')); var toFormat = _interopDefault(require('toformat')); var _Decimal = _interopDefault(require('decimal.js-light')); var contracts = require('@ethersproject/contracts'); var networks = require('@ethersproject/networks'); var providers = require('@ethersproject/providers'); var solidity = require('@ethersproject/solidity'); var abi$4 = require('@ethersproject/abi'); var _CHAINS; (function (ChainId) { ChainId[ChainId["FUJI"] = 43113] = "FUJI"; ChainId[ChainId["AVALANCHE"] = 43114] = "AVALANCHE"; ChainId[ChainId["WAGMI"] = 11111] = "WAGMI"; ChainId[ChainId["COSTON"] = 16] = "COSTON"; ChainId[ChainId["SONGBIRD"] = 19] = "SONGBIRD"; ChainId[ChainId["FLARE_MAINNET"] = 14] = "FLARE_MAINNET"; ChainId[ChainId["NEAR_MAINNET"] = 329847900] = "NEAR_MAINNET"; ChainId[ChainId["NEAR_TESTNET"] = 329847901] = "NEAR_TESTNET"; ChainId[ChainId["HEDERA_TESTNET"] = 296] = "HEDERA_TESTNET"; ChainId[ChainId["HEDERA_MAINNET"] = 295] = "HEDERA_MAINNET"; ChainId[ChainId["POLYGON"] = 137] = "POLYGON"; ChainId[ChainId["ETHEREUM"] = 1] = "ETHEREUM"; ChainId[ChainId["OKXCHAIN"] = 66] = "OKXCHAIN"; ChainId[ChainId["VELAS"] = 106] = "VELAS"; ChainId[ChainId["BSC"] = 56] = "BSC"; ChainId[ChainId["CELO"] = 42220] = "CELO"; ChainId[ChainId["ARBITRUM"] = 42161] = "ARBITRUM"; ChainId[ChainId["AURORA"] = 1313161554] = "AURORA"; ChainId[ChainId["CRONOS"] = 25] = "CRONOS"; ChainId[ChainId["FANTOM"] = 250] = "FANTOM"; ChainId[ChainId["FUSE"] = 122] = "FUSE"; ChainId[ChainId["MOONRIVER"] = 1285] = "MOONRIVER"; ChainId[ChainId["MOONBEAM"] = 1284] = "MOONBEAM"; ChainId[ChainId["OP"] = 10] = "OP"; ChainId[ChainId["XDAI"] = 100] = "XDAI"; ChainId[ChainId["COSTON2"] = 114] = "COSTON2"; ChainId[ChainId["EVMOS_TESTNET"] = 9000] = "EVMOS_TESTNET"; ChainId[ChainId["EVMOS_MAINNET"] = 9001] = "EVMOS_MAINNET"; ChainId[ChainId["SKALE_BELLATRIX_TESTNET"] = 1351057110] = "SKALE_BELLATRIX_TESTNET"; })(exports.ChainId || (exports.ChainId = {})); (function (StakingType) { StakingType["LEGACY"] = "LEGACY"; StakingType["SAR_POSITIONS"] = "SAR_POSITIONS"; StakingType["NEAR_STAKING"] = "NEAR_STAKING"; })(exports.StakingType || (exports.StakingType = {})); (function (AirdropType) { AirdropType["LEGACY"] = "LEGACY"; AirdropType["MERKLE"] = "MERKLE"; AirdropType["MERKLE_TO_STAKING"] = "MERKLE_TO_STAKING"; AirdropType["MERKLE_TO_STAKING_COMPLIANT"] = "MERKLE_TO_STAKING_COMPLIANT"; AirdropType["NEAR_AIRDROP"] = "NEAR_AIRDROP"; })(exports.AirdropType || (exports.AirdropType = {})); (function (ChefType) { ChefType["MINI_CHEF"] = "MINI_CHEF"; ChefType["MINI_CHEF_V2"] = "MINI_CHEF_V2"; ChefType["PANGO_CHEF"] = "PANGO_CHEF"; ChefType["NEAR_CHEF"] = "NEAR_CHEF"; })(exports.ChefType || (exports.ChefType = {})); (function (GovernanceType) { GovernanceType["STANDARD"] = "STANDARD"; GovernanceType["SAR_NFT"] = "SAR_NFT"; })(exports.GovernanceType || (exports.GovernanceType = {})); (function (NetworkType) { NetworkType["EVM"] = "EVM"; NetworkType["COSMOS"] = "COSMOS"; NetworkType["HEDERA"] = "HEDERA"; NetworkType["NEAR"] = "NEAR"; NetworkType["SUBNET"] = "SUBNET"; })(exports.NetworkType || (exports.NetworkType = {})); var ETHEREUM_MAINNET = { id: 'ethereum_mainnet', chain_id: exports.ChainId.ETHEREUM, name: 'Ethereum', symbol: 'ETH', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/eth.png', pangolin_is_live: false, tracked_by_debank: true, supported_by_gelato: true, supported_by_twap: false, supported_by_bridge: true, rpc_uri: 'https://mainnet.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161', coingecko_id: 'ethereum', nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 }, blockExplorerUrls: ['https://etherscan.io'], network_type: exports.NetworkType.EVM }; var OKXCHAIN_MAINNET = { id: 'okxchain_mainnet', chain_id: exports.ChainId.OKXCHAIN, name: 'OKXChain', symbol: 'OKT', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/okx.png', pangolin_is_live: false, tracked_by_debank: false, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: true, rpc_uri: 'https://exchainrpc.okex.org', coingecko_id: 'okc-token', nativeCurrency: { name: 'OKC', symbol: 'OKT', decimals: 18 }, blockExplorerUrls: ['https://www.oklink.com/en/okc'], network_type: exports.NetworkType.EVM }; var VELAS_MAINNET = { id: 'velas_mainnet', chain_id: exports.ChainId.VELAS, name: 'Velas', symbol: 'VLX', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/velas.png', pangolin_is_live: false, tracked_by_debank: false, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: true, rpc_uri: 'https://evmexplorer.velas.com/rpc', coingecko_id: 'velas', nativeCurrency: { name: 'Velas', symbol: 'VLX', decimals: 18 }, blockExplorerUrls: ['https://evmexplorer.velas.com'], network_type: exports.NetworkType.EVM }; var ARBITRUM_MAINNET = { id: 'arbitrum_mainnet', chain_id: exports.ChainId.ARBITRUM, name: 'Arbitrum', symbol: 'ARB', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/arb.png', pangolin_is_live: false, tracked_by_debank: true, supported_by_gelato: true, supported_by_twap: false, supported_by_bridge: true, rpc_uri: 'https://arb1.arbitrum.io/rpc', coingecko_id: 'arbitrum-one', nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 }, blockExplorerUrls: ['https://arbiscan.io'], network_type: exports.NetworkType.EVM }; var ARBITRUM_RINKEBY = { id: 'arbitrum_rinkeby', chain_id: 421611, name: 'Arbitrum Rinkbey', symbol: 'ARB', mainnet: false, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/arb.png', pangolin_is_live: false, tracked_by_debank: false, supported_by_gelato: true, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://rinkeby.arbitrum.io/rpc', nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 }, blockExplorerUrls: ['https://rinkeby-explorer.arbitrum.io'], network_type: exports.NetworkType.EVM }; var AURORA_MAINNET = { id: 'aurora_mainnet', chain_id: exports.ChainId.AURORA, name: 'Aurora', symbol: 'AURORA', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/aurora.png', pangolin_is_live: false, tracked_by_debank: false, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: true, rpc_uri: 'https://mainnet.aurora.dev', coingecko_id: 'aurora', nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 }, blockExplorerUrls: ['https://aurorascan.dev'], network_type: exports.NetworkType.EVM }; var AURORA_TESTNET = { id: 'aurora_testnet', chain_id: 1313161555, name: 'Aurora Testnet', symbol: 'AURORA', mainnet: false, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/aurora.png', pangolin_is_live: false, tracked_by_debank: false, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://testnet.aurora.dev', nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 }, blockExplorerUrls: ['https://testnet.aurorascan.dev'], network_type: exports.NetworkType.EVM }; var AVALANCHE_MAINNET = { id: 'avalanche_mainnet', chain_id: exports.ChainId.AVALANCHE, name: 'Avalanche', symbol: 'AVAX', png_symbol: 'PNG', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/avax.png', pangolin_is_live: true, tracked_by_debank: true, supported_by_gelato: true, supported_by_twap: true, supported_by_bridge: true, rpc_uri: 'https://api.avax.network/ext/bc/C/rpc', subgraph: { exchange: 'https://gateway.thegraph.com/api/75b4f1fede4d0682187dd6a95a6212eb/subgraphs/id/CPXTDcwh6tVP88QvFWW7pdvZJsCN4hSnfMmYeF1sxCLq', blocks: 'https://api.studio.thegraph.com/query/59684/avalanche-pangolin-blocks/version/latest', minichef: 'https://api.studio.thegraph.com/query/59684/avalanche-pangolin-v2/version/latest', governance: 'https://api.studio.thegraph.com/query/59684/avalan-pangolin-governor-alpha/version/latest', elixir: 'https://gateway.thegraph.com/api/75b4f1fede4d0682187dd6a95a6212eb/subgraphs/id/Fz7s5upsgHoM1mv3bxHMZkiAT6xtFXUyp5YXmHX5tq35' }, coingecko_id: 'avalanche', debank_pangolin_id: 'avax_pangolin', contracts: { png: '0x60781C2586D68229fde47564546784ab3fACA982', factory: '0xefa94DE7a4656D787667C749f7E1223D71E9FD88', router: '0xE54Ca86531e17Ef3616d22Ca28b0D458b6C89106', router_daas: '0xEfd958c7C68b7e6a88300E039cAE275ca741007F', wrapped_native_token: '0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7', local_multisig: '0x66c048d27aFB5EE59E4C07101A483654246A4eda', community_treasury: '0x650f5865541f6D68BdDFE977dB933C293EA72358', treasury_vester: '0x6747AC215dAFfeE03a42F49FebB6ab448E12acEe', mini_chef: { address: '0xA73B1887054F424F967A3644aC72826A989826DB', active: true, type: exports.ChefType.MINI_CHEF_V2 }, airdrop: { address: '0x0C58C2041da4CfCcF5818Bbe3b66DBC23B3902d9', active: false, type: exports.AirdropType.LEGACY }, timelock: '0xEB5c91bE6Dbfd30cf616127C2EA823C64e4b1ff8', governor: { address: '0xb0Ff2b1047d9E8d294c2eD798faE3fA817F43Ee1', type: exports.GovernanceType.STANDARD }, migrator: '0x4b23Aa72A1214d0E4fd3f2c8Da7C6ba660F7483C', multicall: '0x0FB54156B496b5a040b51A71817aED9e2927912E', staking: [{ address: '0x88afdaE1a9F58Da3E68584421937E5F564A0135b', active: true, reward_token: '0x60781C2586D68229fde47564546784ab3fACA982', type: exports.StakingType.LEGACY }], elixir: { factory: '0x1128F23D0bc0A8396E9FBC3c0c68f5EA228B8256', nftDescriptorLibrary: '0xB87a8aD1c1217EC587474b348b848dF564D505aa', nftDescriptor: '0x7528B8Ae60084577B0774A4e225BC4C3DeA7E315', nftManager: '0xf40937279F38D0c1f97aFA5919F1cB3cB7f06A7F', swapRouter: '0x5485A0751a249225D3bA2f6f296551507e22547f', migrator: '0x27eCB0391ad611Bbd9dd5e7e8A19db3fCAe41ab8', pangolinInterfaceMulticall: '0x7d115C1fb6152C5Aed1750183Ae59107160694a2', quoterV2: '0xA86522CCc412dBC4FA10991900FE46De95983822', tickLens: '0x5DFe6DB0F904A27a52f543Afd6B690784a44CaC1' } }, nativeCurrency: { name: 'Avalanche', symbol: 'AVAX', decimals: 18 }, blockExplorerUrls: ['https://snowtrace.io'], network_type: exports.NetworkType.EVM }; var AVALANCHE_FUJI = { id: 'avalanche_fuji', chain_id: 43113, name: 'Avalanche Fuji', symbol: 'AVAX', png_symbol: 'fujiPNG', mainnet: false, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/avax.png', pangolin_is_live: true, tracked_by_debank: false, supported_by_gelato: true, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://api.avax-test.network/ext/bc/C/rpc', subgraph: { elixir: 'https://api.studio.thegraph.com/query/59684/fuji-pangolin-elixir/version/latest' }, contracts: { png: '0xAF5D473b3f8F96A5B21c6bbB97e09b491335acb9', factory: '0x2a496ec9e9bE22e66C61d4Eb9d316beaEE31A77b', router: '0x688d21b0B8Dc35971AF58cFF1F7Bf65639937860', router_daas: '0xFE97f59B72eEE0F29F93e12195C6F35DCdAB6899', wrapped_native_token: '0xd00ae08403B9bbb9124bB305C09058E32C39A48c', timelock: '0xf4C589029be33cc4e4056B125794B35A2dF23136', mini_chef: { address: '0x2572ECa2be804f7799e3f3Ef1D1db60F512a0Ae3', active: true, type: exports.ChefType.MINI_CHEF_V2 }, community_treasury: '0x3a6e244678f392638876A92DAAa3C56e02dC1080', airdrop: { address: '0x630CC51306B1E2cf149B7F7a15F78bCD006A5D65', active: false, type: exports.AirdropType.LEGACY }, treasury_vester: '0xee82a2695c1ae2cCFC3DDDa643836Ff5E55Fa1e1', revenue_distributor: '0xF3861Acb8061A70499DC85c4a6aA9E934C83049f', fee_collector: '0x0609ce4F16388c440BF9a84b5E8df1b0438F714A', multicall: '0xb465Fd2d9C71d5D6e6c069aaC9b4E21c69aAA78f', staking: [{ address: '0x5610E572c9f2a10BFd15861061F8B1Fe75e05b23', active: true, reward_token: '0xAF5D473b3f8F96A5B21c6bbB97e09b491335acb9', type: exports.StakingType.LEGACY }], elixir: { factory: '0xa2C8Cc50C82C9CA44470869f2214cf48a0c45F6b', nftDescriptorLibrary: '0x27be1406540392a4d4ff1cfDf0bdB211676c3efa', nftDescriptor: '0xE63b2C046fb4cd38E4a0fD8Cb5a700FD878B7392', nftManager: '0xffb8250c9cE730cC84B40cBdAce2FF7DFA8e6ef9', swapRouter: '0x1d5A17D62c68A09A0F8FBa7d585Ce6AA99CB60Dd', migrator: '0xC50f7aD420E2c273Eaf9A6BCD90C3Df6295a3570', pangolinInterfaceMulticall: '0x7CadfB320dFF982a65F8Ab15E4D0AC27d666873C', quoterV2: '0x45c3Dc3728D0EA76d77D89Fe7a649dd77eD26d63', tickLens: '0x9573A023DE6A9f22BA67D2A1C3B029f5f93fF19f' } }, nativeCurrency: { name: 'Avalanche', symbol: 'AVAX', decimals: 18 }, blockExplorerUrls: ['https://testnet.snowtrace.io'], network_type: exports.NetworkType.EVM }; var BOBA_MAINNET = { id: 'boba_mainnet', chain_id: 288, name: 'Boba', symbol: 'BOBA', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/boba.png', pangolin_is_live: false, tracked_by_debank: true, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://mainnet.boba.network', coingecko_id: 'boba', nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 }, blockExplorerUrls: ['https://blockexplorer.boba.network'], network_type: exports.NetworkType.EVM }; var BITTORRENT_MAINNET = { id: 'bittorrent_mainnet', chain_id: 199, name: 'BitTorrent', symbol: 'BTT', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/btt.png', pangolin_is_live: false, tracked_by_debank: true, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://rpc.bt.io', nativeCurrency: { name: 'BitTorrent', symbol: 'BTT', decimals: 18 }, blockExplorerUrls: ['https://scan.bt.io'], network_type: exports.NetworkType.EVM }; var BITTORRENT_TESTNET = { id: 'bittorrent_testnet', chain_id: 1028, name: 'BitTorrent Testnet', symbol: 'BTT', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/btt.png', pangolin_is_live: false, tracked_by_debank: false, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://test-rpc.bittorrentchain.io', nativeCurrency: { name: 'BitTorrent', symbol: 'BTT', decimals: 18 }, blockExplorerUrls: ['https://scan.bittorrentchain.io'], network_type: exports.NetworkType.EVM }; var BSC_MAINNET = { id: 'bsc_mainnet', chain_id: exports.ChainId.BSC, name: 'Binance', symbol: 'BSC', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/bsc.png', pangolin_is_live: false, tracked_by_debank: true, supported_by_gelato: true, supported_by_twap: false, supported_by_bridge: true, rpc_uri: 'https://bsc-dataseed.binance.org', coingecko_id: 'binance-smart-chain', nativeCurrency: { name: 'Binance Coin', symbol: 'BNB', decimals: 18 }, blockExplorerUrls: ['https://bscscan.com'], network_type: exports.NetworkType.EVM }; var BSC_TESTNET = { id: 'bsc_testnet', chain_id: 97, name: 'Binance Testnet', symbol: 'BSC', mainnet: false, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/bsc.png', pangolin_is_live: false, tracked_by_debank: false, supported_by_gelato: true, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://data-seed-prebsc-1-s1.binance.org:8545', nativeCurrency: { name: 'Binance Coin', symbol: 'BNB', decimals: 18 }, blockExplorerUrls: ['https://testnet.bscscan.com'], network_type: exports.NetworkType.EVM }; var CELO_MAINNET = { id: 'celo_mainnet', chain_id: exports.ChainId.CELO, name: 'Celo', symbol: 'CELO', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/celo.png', pangolin_is_live: false, tracked_by_debank: true, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: true, rpc_uri: 'https://forno.celo.org', coingecko_id: 'celo', nativeCurrency: { name: 'Celo', symbol: 'CELO', decimals: 18 }, blockExplorerUrls: ['https://explorer.celo.org'], network_type: exports.NetworkType.EVM }; var CELO_ALFAJORES_TESTNET = { id: 'celo_alfadores_testnet', chain_id: 44787, name: 'Celo Alfajores', symbol: 'CELO', mainnet: false, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/celo.png', pangolin_is_live: false, tracked_by_debank: false, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://alfajores-forno.celo-testnet.org', nativeCurrency: { name: 'Celo', symbol: 'CELO', decimals: 18 }, blockExplorerUrls: ['https://alfajores-blockscout.celo-testnet.org'], network_type: exports.NetworkType.EVM }; var CELO_BAKLAVA_TESTNET = { id: 'celo_baklava_testnet', chain_id: 62320, name: 'Celo Baklava', symbol: 'CELO', mainnet: false, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/celo.png', pangolin_is_live: false, tracked_by_debank: false, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://baklava-forno.celo-testnet.org', nativeCurrency: { name: 'Celo', symbol: 'CELO', decimals: 18 }, blockExplorerUrls: ['https://baklava-blockscout.celo-testnet.org'], network_type: exports.NetworkType.EVM }; var CRONOS_MAINNET = { id: 'cronos_mainnet', chain_id: exports.ChainId.CRONOS, name: 'Cronos', symbol: 'CRO', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/cro.png', pangolin_is_live: false, tracked_by_debank: true, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: true, rpc_uri: 'https://evm-cronos.crypto.org', coingecko_id: 'cronos', nativeCurrency: { name: 'Cronos', symbol: 'CRO', decimals: 18 }, blockExplorerUrls: ['https://cronos.org/explorer'], network_type: exports.NetworkType.EVM }; var CRONOS_TESTNET = { id: 'cronos_testnet', chain_id: 338, name: 'Cronos', symbol: 'CRO', mainnet: false, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/cro.png', pangolin_is_live: false, tracked_by_debank: false, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://cronos-testnet-3.crypto.org:8545', nativeCurrency: { name: 'Cronos', symbol: 'CRO', decimals: 18 }, blockExplorerUrls: ['https://cronos.org/explorer/testnet3'], network_type: exports.NetworkType.EVM }; var COSTON_TESTNET = { id: 'coston_testnet', chain_id: exports.ChainId.COSTON, name: 'Coston', symbol: 'cFLR', png_symbol: 'PCT', mainnet: false, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/coston.png', pangolin_is_live: true, tracked_by_debank: false, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://coston-api.flare.network/ext/bc/C/rpc', subgraph: { governance: 'https://flare.pangolin.network/subgraphs/name/coston/governorPango' }, contracts: { png: '0x0A8744c2a48b0e09a3e4C3A381A8E0d8d900bAFe', factory: '0xa5D4D920cea39f0344A99b2a3c4597E10DA16D88', router: '0x6a6C605700f477E56B9542Ca2a3D68B9A7edf599', wrapped_native_token: '0x1659941d425224408c5679eeef606666c7991a8A', local_multisig: '0x177126EC2D5BabD6a1374135F082b875773afC45', community_treasury: '0x48197135bA4a9F5F9aB1296A6405c9495AB4Cfd3', treasury_vester: '0x1a6a55a22a696F757f0ade055200308B53D70CAc', mini_chef: { address: '0xFf0C4041ba52428612320cAD2016d07B2e4A802D', active: true, type: exports.ChefType.PANGO_CHEF }, airdrop: { address: '0x700E2E6fd3C5174E9691a65DC12f44d0A8dd25EC', active: false, type: exports.AirdropType.MERKLE_TO_STAKING }, timelock: '0xc63C2BA9F4dD17F881d9195fD105611760689bAe', fee_collector: '0x39DEA895DA8cC6ef744Da4C5Cc06F1E6150362f1', multicall: '0xF7aB82e5253F65496e21dF0dacfA6D5e765b4874', staking: [{ address: '0xc064943492c9DF4f8238Bf52E7B7170A0Ec6FBAF', active: true, reward_token: '0x0A8744c2a48b0e09a3e4C3A381A8E0d8d900bAFe', type: exports.StakingType.SAR_POSITIONS }], governor: { address: '0x17f6ce028a49F1679d83daaeE62412f86B67fa24', type: exports.GovernanceType.SAR_NFT } }, nativeCurrency: { name: 'CostonFlare', symbol: 'CFLR', decimals: 18 }, blockExplorerUrls: ['https://coston-explorer.flare.network'], network_type: exports.NetworkType.EVM }; var EVMOS_TESTNET = { id: 'evmos_testnet', chain_id: 9000, name: 'Evmos Testnet', symbol: 'tEVMOS', png_symbol: 'evmPNG', mainnet: false, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/evmos.png', pangolin_is_live: true, tracked_by_debank: false, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://eth.bd.evmos.dev:8545', subgraph: { elixir: 'https://graph-evmos-test.pangolin.network/subgraphs/name/evmos-testnet/pangolin-elixir' }, contracts: { png: '0x171a6A80cdDDd8f69134ff0471523400f2C16ABe', factory: '0x02fD35823a82b8f02e5F2d1a351807B9d1B38c3B', router: '0x6b6D3049dD90E6Ecc84f8dca55f4A847b3a63fc2', wrapped_native_token: '0xcF5ef8d007a616066e5eaEa0916592374a0F478D', local_multisig: '0x90CE7198211D6B17be9fa5204701F9c9aCe2970b', community_treasury: '0x3520e13c0E3f49Aa522dBD4477280fe3DF8B40fC', treasury_vester: '0x6B77Cb69Dae236bC708d75B76356911D2D197601', mini_chef: { address: '0xA96b69EE04E33E1752b059a7a9B7C9FE2B3C93A9', active: true, type: exports.ChefType.PANGO_CHEF }, airdrop: { address: '0x2D1B541Cb20aD73217aC30cbA07C4571AF729Bc7', active: false, type: exports.AirdropType.MERKLE_TO_STAKING }, timelock: '0xdA291D8daD1c55BBe828c91C58d16A523148bE11', fee_collector: '0x0Da69A72C3875f74385BC1B633618e68AB2666F8', multicall: '0x4fE8a78EB5bbDdC90942e13a09397Ee3CA7ed350', staking: [{ address: '0x997415e58dAEa9117027d55DAB7E765748C50834', active: true, reward_token: '0x171a6A80cdDDd8f69134ff0471523400f2C16ABe', type: exports.StakingType.SAR_POSITIONS }], elixir: { factory: '0x052C529c1651afc32575C798DA79fdd41B8569F0', nftDescriptorLibrary: '0xCAe51f56171C4C5ed874B8BFc48490f7e18054ED', nftDescriptor: '0x377D447808Dc78276c9692C5CcB07290a7Be7D51', nftManager: '0x4A8dB8095dd8623CfA765F5Fc59b9C756e56ef94', swapRouter: '0xB111fc7aB82a1b2588Bd35A037B6967d1C9B6753', migrator: '0x36C1123A7D3C2c1Fe05930ccae48379F7364d1fF', pangolinInterfaceMulticall: '0x97301Eb5Ce641E6Eb52B25747eC23BA90E4B88F0', quoterV2: '0x18B932f7BF50ef4Be6a8134c6B5837cDd5Dd3ED5', tickLens: '0xfBd36a64D3Ce194C7dcdFC4f3f6cC3606348fb7A' }, governor: { address: '0xD33dd9E5b928Bbd3DA23eDD5911f6956D7C155a6', type: exports.GovernanceType.SAR_NFT } }, nativeCurrency: { name: 'EVMOS', symbol: 'EVMOS', decimals: 18 }, blockExplorerUrls: ['https://evm.evmos.dev'], network_type: exports.NetworkType.EVM }; var EVMOS_MAINNET = { id: 'evmos_mainnet', chain_id: 9001, name: 'Evmos', symbol: 'EVMOS', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/evmos.png', pangolin_is_live: true, tracked_by_debank: false, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://evmos.lava.build', subgraph: { exchange: 'https://graph-evmos-main.pangolin.network/subgraphs/name/evmos/pangolin-v2', elixir: 'https://graph-evmos-main.pangolin.network/subgraphs/name/evmos/pangolin-elixir' }, contracts: { png: '', factory: '0x6169CD307Be7E24152dF23a7A945A1ea3eC7b438', router: '0x3dC36E8244e9A9aeF85129475015db6F4aBAa3b8', wrapped_native_token: '0xd4949664cd82660aae99bedc034a0dea8a0bd517', local_multisig: '0xAA7815897586708C157B829300af34c508445E8F', community_treasury: '', treasury_vester: '', mini_chef: { address: '', active: false, type: exports.ChefType.PANGO_CHEF }, airdrop: { address: '', active: false, type: exports.AirdropType.MERKLE_TO_STAKING }, timelock: '0xa566e7106Fb2b224601773E71c1D93241F965418', fee_collector: '', multicall: '0x259F60251abb18B307FF37FD4DcD3657FCa52074', staking: [{ address: '', active: false, reward_token: '', type: exports.StakingType.SAR_POSITIONS }], elixir: { factory: '0x43c27a9B2857C3AA5522EC2DF8d183F252DbCfE7', nftDescriptorLibrary: '0x4aFe49a475A2F44A4B40e72078960F7618E6cc79', nftDescriptor: '0xE3efd482eE25010bB8026c34e9B88D18D7ea9f29', nftManager: '0xA9E69C45e7b1925cAB432C3716a8b589Df761662', swapRouter: '0xB5010D5Eb31AA8776b52C7394B76D6d627501C73', migrator: '0xE688399009a1c283FAD889d3cedF6FfF4D685d51', pangolinInterfaceMulticall: '0x8a4A5eEC59899F2d23B08f0188d6eB540cF4EccC', quoterV2: '0xbfe13753156b9c6b2818FB45ff3D2392ea43d79A', tickLens: '0xA981cb468c87Ed32F37dE546e25a7c5FF17e2308' } }, nativeCurrency: { name: 'EVMOS', symbol: 'EVMOS', decimals: 18 }, blockExplorerUrls: ['https://escan.live'], network_type: exports.NetworkType.EVM }; var FANTOM_MAINNET = { id: 'fantom_mainnet', chain_id: exports.ChainId.FANTOM, name: 'Fantom', symbol: 'FTM', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/ftm.png', pangolin_is_live: false, tracked_by_debank: true, supported_by_gelato: true, supported_by_twap: false, supported_by_bridge: true, rpc_uri: 'https://rpc.ftm.tools', coingecko_id: 'fantom', nativeCurrency: { name: 'Fantom', symbol: 'FTM', decimals: 18 }, blockExplorerUrls: ['https://ftmscan.com'], network_type: exports.NetworkType.EVM }; var FANTOM_TESTNET = { id: 'fantom_testnet', chain_id: 4002, name: 'Fantom', symbol: 'FTM', mainnet: false, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/ftm.png', pangolin_is_live: false, tracked_by_debank: false, supported_by_gelato: true, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://rpc.testnet.fantom.network', nativeCurrency: { name: 'Fantom', symbol: 'FTM', decimals: 18 }, blockExplorerUrls: ['https://testnet.ftmscan.com'], network_type: exports.NetworkType.EVM }; var FUSE_MAINNET = { id: 'fuse_mainnet', chain_id: exports.ChainId.FUSE, name: 'Fuse', symbol: 'FUSE', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/fuse.png', pangolin_is_live: false, tracked_by_debank: false, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: true, rpc_uri: 'https://rpc.fuse.io', coingecko_id: 'fuse', nativeCurrency: { name: 'Fuse', symbol: 'FUSE', decimals: 18 }, blockExplorerUrls: ['http://explorer.fuse.io'], network_type: exports.NetworkType.EVM }; var FUSE_TESTNET = { id: 'fuse_testnet', chain_id: 123, name: 'Fuse', symbol: 'FUSE', mainnet: false, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/fuse.png', pangolin_is_live: false, tracked_by_debank: false, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://rpc.fusespark.io', nativeCurrency: { name: 'Fuse', symbol: 'FUSE', decimals: 18 }, blockExplorerUrls: ['https://explorer.fusespark.io'], network_type: exports.NetworkType.EVM }; var HARMONY_MAINNET = { id: 'harmony_mainnet', chain_id: 1666600000, name: 'Harmony', symbol: 'ONE', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/one.png', pangolin_is_live: false, tracked_by_debank: false, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://api.harmony.one', coingecko_id: 'harmony-shard-0', nativeCurrency: { name: 'Harmony', symbol: 'ONE', decimals: 18 }, blockExplorerUrls: ['https://explorer.harmony.one'], network_type: exports.NetworkType.EVM }; var HARMONY_TESTNET = { id: 'harmony_testnet', chain_id: 1666700000, name: 'Harmony Testnet', symbol: 'ONE', mainnet: false, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/one.png', pangolin_is_live: false, tracked_by_debank: false, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://api.s0.b.hmny.io', nativeCurrency: { name: 'Harmony', symbol: 'ONE', decimals: 18 }, blockExplorerUrls: ['https://explorer.pops.one'], network_type: exports.NetworkType.EVM }; var HECO_MAINNET = { id: 'heco_mainnet', chain_id: 128, name: 'Heco', symbol: 'HECO', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/heco.png', pangolin_is_live: false, tracked_by_debank: true, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://http-mainnet.hecochain.com', coingecko_id: 'huobi-token', nativeCurrency: { name: 'Heco', symbol: 'HECO', decimals: 18 }, blockExplorerUrls: ['https://hecoinfo.com'], network_type: exports.NetworkType.EVM }; var HECO_TESTNET = { id: 'heco_testnet', chain_id: 256, name: 'Heco', symbol: 'HECO', mainnet: false, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/heco.png', pangolin_is_live: false, tracked_by_debank: false, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://http-testnet.hecochain.com', nativeCurrency: { name: 'Heco', symbol: 'HECO', decimals: 18 }, blockExplorerUrls: ['https://scan-testnet.hecochain.com'], network_type: exports.NetworkType.EVM }; var KLAYTN_MAINNET = { id: 'klaytn_mainnet', chain_id: 8217, name: 'Klaytn', symbol: 'KLAY', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/klay.png', pangolin_is_live: false, tracked_by_debank: false, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://kaikas.cypress.klaytn.net:8651', coingecko_id: 'klay-token', nativeCurrency: { name: 'Klaytn', symbol: 'KLAY', decimals: 18 }, blockExplorerUrls: ['https://scope.klaytn.com'], network_type: exports.NetworkType.EVM }; var KLAYTN_BAOBAB = { id: 'klaytn_baobab', chain_id: 1001, name: 'Klaytn Baobab', symbol: 'KLAY', mainnet: false, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/klay.png', pangolin_is_live: false, tracked_by_debank: false, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://api.baobab.klaytn.net:8651', nativeCurrency: { name: 'Klaytn', symbol: 'KLAY', decimals: 18 }, blockExplorerUrls: ['https://baobab.scope.klaytn.com'], network_type: exports.NetworkType.EVM }; var METIS_MAINNET = { id: 'metis_mainnet', chain_id: 1088, name: 'Metis', symbol: 'METIS', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/metis.png', pangolin_is_live: false, tracked_by_debank: true, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://andromeda.metis.io/?owner=1088', coingecko_id: 'metis-andromeda', nativeCurrency: { name: 'Metis', symbol: 'METIS', decimals: 18 }, blockExplorerUrls: ['https://andromeda-explorer.metis.io'], network_type: exports.NetworkType.EVM }; var METIS_RINKEBY = { id: 'metis_rinkeby', chain_id: 588, name: 'Metis Rinkeby', symbol: 'METIS', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/metis.png', pangolin_is_live: false, tracked_by_debank: true, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://stardust.metis.io/?owner=588', nativeCurrency: { name: 'Metis', symbol: 'tMETIS', decimals: 18 }, blockExplorerUrls: ['https://stardust-explorer.metis.io'], network_type: exports.NetworkType.EVM }; var MOONRIVER_MAINNET = { id: 'moonriver_mainnet', chain_id: exports.ChainId.MOONRIVER, name: 'Moonriver', symbol: 'MOVR', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/movr.png', pangolin_is_live: false, tracked_by_debank: true, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: true, rpc_uri: 'https://rpc.moonriver.moonbeam.network', coingecko_id: 'moonriver', nativeCurrency: { name: 'Moonriver', symbol: 'MOVR', decimals: 18 }, blockExplorerUrls: ['https://moonriver.moonscan.io'], network_type: exports.NetworkType.EVM }; var MOONBEAM_MAINNET = { id: 'moonbeam_mainnet', chain_id: exports.ChainId.MOONBEAM, name: 'Moonbeam', symbol: 'MOBM', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/mobm.png', pangolin_is_live: false, tracked_by_debank: true, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: true, rpc_uri: 'https://rpc.api.moonbeam.network', coingecko_id: 'moonbeam', nativeCurrency: { name: 'Moonbeam', symbol: 'GLMR', decimals: 18 }, blockExplorerUrls: ['https://moonscan.io'], network_type: exports.NetworkType.EVM }; var MOONBEAM_MOONBASE = { id: 'moonbeam_moonbase', chain_id: 1287, name: 'Moonbase', symbol: 'MOONBASE', mainnet: false, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/mobm.png', pangolin_is_live: false, tracked_by_debank: false, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://rpc.api.moonbase.moonbeam.network', nativeCurrency: { name: 'Moonbase', symbol: 'DEV', decimals: 18 }, blockExplorerUrls: ['https://moonbase.moonscan.io'], network_type: exports.NetworkType.EVM }; var NEAR_MAINNET = { id: 'near_mainnet', chain_id: 329847900, name: 'Near', symbol: "NEAR", mainnet: true, pangolin_is_live: false, tracked_by_debank: false, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://rpc.mainnet.near.org', png_symbol: 'PNR', logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/near.svg', contracts: { png: 'png-token-v1.testnet', factory: 'example2.near', router: 'example3.near', wrapped_native_token: 'wrap.near', local_multisig: 'example5.near', community_treasury: 'example6.near', treasury_vester: 'example7.near', mini_chef: { address: 'example8.near', active: true, type: exports.ChefType.NEAR_CHEF }, airdrop: { address: 'example9.near', active: false, type: exports.AirdropType.NEAR_AIRDROP }, timelock: 'example10.near', governor: { address: 'example11.near', type: exports.GovernanceType.SAR_NFT }, migrator: 'example12.near', multicall: '' }, nativeCurrency: { name: 'Near', symbol: 'NEAR', decimals: 18 }, blockExplorerUrls: ['https://explorer.near.org'], network_type: exports.NetworkType.NEAR }; var NEAR_TESTNET = { id: 'near_testnet', chain_id: 329847901, name: 'Near', symbol: "NEAR", mainnet: false, pangolin_is_live: false, tracked_by_debank: false, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://rpc.testnet.near.org', png_symbol: 'PNR', logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/near.svg', contracts: { png: 'png-token-v1.testnet', factory: 'example2.near', router: 'example3.near', wrapped_native_token: 'wrap.testnet', local_multisig: 'example5.near', community_treasury: 'example6.near', treasury_vester: 'example7.near', mini_chef: { address: 'example8.near', active: true, type: exports.ChefType.NEAR_CHEF }, airdrop: { address: 'example9.near', active: false, type: exports.AirdropType.NEAR_AIRDROP }, timelock: 'example10.near', governor: { address: 'example11.near', type: exports.GovernanceType.SAR_NFT }, migrator: 'example12.near', multicall: '' }, nativeCurrency: { name: 'Near', symbol: 'NEAR', decimals: 18 }, blockExplorerUrls: ['https://explorer.testnet.near.org'], network_type: exports.NetworkType.NEAR }; var HEDERA_TESTNET = { id: 'hedera_testnet', chain_id: exports.ChainId.HEDERA_TESTNET, name: 'Hedera Testnet', symbol: "HBAR", mainnet: false, pangolin_is_live: true, tracked_by_debank: false, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://hedera-testnet-rpc.pangolin.network', png_symbol: 'PBAR', logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/hedera.png', subgraph: { exchange: 'https://graph-hedera-test.pangolin.network/subgraphs/name/pangolin', blocks: 'https://graph-hedera-test.pangolin.network/subgraphs/name/blocks', pangochef: 'https://graph-hedera-test.pangolin.network/subgraphs/name/pangolin', singleStaking: 'https://graph-hedera-test.pangolin.network/subgraphs/name/pangolin', governance: 'https://graph-hedera-test.pangolin.network/subgraphs/name/governor' }, contracts: { png: '0x0000000000000000000000000000000000070293', factory: '0x0000000000000000000000000000000000070297', router: '0x000000000000000000000000000000000007029a', wrapped_native_token: '0x000000000000000000000000000000000002690a', local_multisig: '0x000000000000000000000000000000000007028e', community_treasury: '0x0000000000000000000000000000000000070295', treasury_vester: '0x0000000000000000000000000000000000070292', mini_chef: { address: '0x000000000000000000000000000000000007029e', active: true, type: exports.ChefType.PANGO_CHEF, compoundPoolIdForNonPngFarm: 0 }, staking: [{ address: '0x00000000000000000000000000000000000702a3', active: true, reward_token: '0x0000000000000000000000000000000000070293', type: exports.StakingType.SAR_POSITIONS }], timelock: '0x0000000000000000000000000000000000070290', governor: { address: '0x00000000000000000000000000000000000702a8', type: exports.GovernanceType.SAR_NFT }, migrator: '', multicall: '0x0000000000000000000000000000000000026a96' }, nativeCurrency: { name: 'Hbar', symbol: 'HBAR', decimals: 8 }, blockExplorerUrls: ['https://hashscan.io/testnet'], network_type: exports.NetworkType.HEDERA }; var HEDERA_MAINNET = { id: 'hedera_mainnet', chain_id: exports.ChainId.HEDERA_MAINNET, name: 'Hedera', symbol: "HBAR", mainnet: true, pangolin_is_live: true, tracked_by_debank: false, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://mainnet.hashio.io/api', png_symbol: 'PBAR', logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/hedera.png', subgraph: { exchange: 'https://graph-hedera-pangolin.canary.exchange/subgraphs/name/pangolin', blocks: 'https://graph-hedera-main.pangolin.network/subgraphs/name/blocks', pangochef: 'https://graph-hedera-pangolin.canary.exchange/subgraphs/name/pangolin', singleStaking: 'https://graph-hedera-pangolin.canary.exchange/subgraphs/name/pangolin', governance: 'https://graph-hedera-main.pangolin.network/subgraphs/name/governor' }, contracts: { png: '0x00000000000000000000000000000000001a88b2', factory: '0x00000000000000000000000000000000001a88bc', router: '0x00000000000000000000000000000000001a88c9', wrapped_native_token: '0x00000000000000000000000000000000001a8837', local_multisig: '0x00000000000000000000000000000000001a7e7e', community_treasury: '0x00000000000000000000000000000000001a88b5', treasury_vester: '0x00000000000000000000000000000000001a88b1', mini_chef: { address: '0x00000000000000000000000000000000001a88db', active: true, type: exports.ChefType.PANGO_CHEF, compoundPoolIdForNonPngFarm: 0 }, airdrop: { address: '0x00000000000000000000000000000000002de784', active: true, type: exports.AirdropType.MERKLE }, staking: [{ address: '0x00000000000000000000000000000000001a8957', active: true, reward_token: '0x00000000000000000000000000000000001a88b2', type: exports.StakingType.SAR_POSITIONS }], timelock: '0x00000000000000000000000000000000001a88ac', governor: { address: '0x00000000000000000000000000000000003c73df', type: exports.GovernanceType.SAR_NFT }, migrator: '', multicall: '0x00000000000000000000000000000000001a89ac' }, nativeCurrency: { name: 'Hbar', symbol: 'HBAR', decimals: 8 }, blockExplorerUrls: ['https://hashscan.io/mainnet'], network_type: exports.NetworkType.HEDERA }; var OEC_MAINNET = { id: 'oec_mainnet', chain_id: 66, name: 'OEC', symbol: 'OKT', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/okt.png', pangolin_is_live: false, tracked_by_debank: true, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://exchainrpc.okex.org', coingecko_id: 'okex-chain', nativeCurrency: { name: 'OEC', symbol: 'OKT', decimals: 18 }, blockExplorerUrls: ['https://www.oklink.com/okexchain'], network_type: exports.NetworkType.EVM }; var OEC_TESTNET = { id: 'oec_testnet', chain_id: 65, name: 'OEC Testnet', symbol: 'OKT', mainnet: false, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/okt.png', pangolin_is_live: false, tracked_by_debank: false, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://exchaintestrpc.okex.org', nativeCurrency: { name: 'OEC', symbol: 'OKT', decimals: 18 }, blockExplorerUrls: ['https://www.oklink.com/oec-test'], network_type: exports.NetworkType.EVM }; var OP_MAINNET = { id: 'op_mainnet', chain_id: exports.ChainId.OP, name: 'Optimism', symbol: 'OP', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/op.png', pangolin_is_live: false, tracked_by_debank: true, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: true, rpc_uri: 'https://mainnet.optimism.io', coingecko_id: 'optimistic-ethereum', nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 }, blockExplorerUrls: ['https://optimistic.etherscan.io'], network_type: exports.NetworkType.EVM }; var OP_KOVAN = { id: 'op_kovan', chain_id: 69, name: 'Optimism Kovan', symbol: 'OP', mainnet: false, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/op.png', pangolin_is_live: false, tracked_by_debank: true, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://kovan.optimism.io', nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 }, blockExplorerUrls: ['https://kovan-optimistic.etherscan.io'], network_type: exports.NetworkType.EVM }; var POLYGON_MAINNET = { id: 'polygon_mainnet', chain_id: exports.ChainId.POLYGON, name: 'Polygon', symbol: 'MATIC', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/matic.png', pangolin_is_live: false, tracked_by_debank: true, supported_by_gelato: true, supported_by_twap: false, supported_by_bridge: true, rpc_uri: 'https://polygon-rpc.com', coingecko_id: 'polygon-pos', nativeCurrency: { name: 'Polygon', symbol: 'MATIC', decimals: 18 }, blockExplorerUrls: ['https://polygonscan.com'], network_type: exports.NetworkType.EVM }; var POLYGON_MUMBAI = { id: 'polygon_mumbai', chain_id: 80001, name: 'Polygon Mumbai', symbol: 'MATIC', mainnet: false, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/matic.png', pangolin_is_live: true, tracked_by_debank: false, supported_by_gelato: true, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://matic-mumbai.chainstacklabs.com', contracts: { png: '0x4828a3D98E428e73184374845f23C40eB76bA695', factory: '0xf7b351C98B5585b7aDa089F3fFD0fED785fB6cff', router: '0x680ad00c72B8d55436E2812Df0f5a9Df7675e054', wrapped_native_token: '0x9c3C9283D3e44854697Cd22D3Faa240Cfb032889', local_multisig: '0x2412CF7162500001035B34a4aC4Cf4876B9a6f4b', foundation_multisig: '0x9284868361460C0Ca3dfcDcf035e90F0ea3A72A0', joint_multisig: '0x38F6d835FAF60a891016b2FC5692E76D2c6eEcbF', community_treasury: '0x791d828FA611D5cD086e8047EAa8d7276c8d943E', treasury_vester: '0xFeC5354eF11981D5dAF92F6CA61e618c5AdF4FD5', mini_chef: { address: '0xa34Ad412652267FB3b1261D7d4F351a678B01Bf8', active: true, type: exports.ChefType.MINI_CHEF_V2 }, airdrop: { address: '0x34338ad5D7fd49B24D07D1D8e8d38Fc64F42f94A', active: false, type: exports.AirdropType.LEGACY }, timelock: '0xE6ec3b8AD6ad20210a2698d89016DDF6965E5fBC', revenue_distributor: '0x780A51831dc1cE3AAD2879479dBE9419e834744c', fee_collector: '0xB2FcD54680150e3033A878cf1F689e1256d51fc5', multicall: '', staking: [{ address: '0x3AA2baD17b768fFe5F9Fa05Ca95f97959862B41B', active: true, reward_token: '0x4828a3D98E428e73184374845f23C40eB76bA695', type: exports.StakingType.LEGACY }] }, nativeCurrency: { name: 'Polygon', symbol: 'MATIC', decimals: 18 }, blockExplorerUrls: ['https://mumbai.polygonscan.com'], network_type: exports.NetworkType.EVM }; var SONGBIRD_CANARY = { id: 'songbird_canary', chain_id: exports.ChainId.SONGBIRD, name: 'Songbird', symbol: 'SGB', png_symbol: 'PSB', mainnet: true, logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/chains/sgb.png', pangolin_is_live: true, tracked_by_debank: false, supported_by_gelato: false, supported_by_twap: false, supported_by_bridge: false, rpc_uri: 'https://songbird-api.flare.network/ext/bc/C/rpc', subgraph: { governance: 'https://flare.pangolin.network/subgraphs/name/songbird/governorPango' }, contracts: { png: '0xb2987753D1561570f726Aa373F48E77e27aa5FF4', factory: '0xB66E62b25c42D55655a82F8ebf699f2266f329FB', router: '0x6591cf4E1CfDDEcB4Aa5946c033596635Ba6FB0F', router_daas: '0xBCFced55B59AA7c0269571735eD2C2CCf6c63963', wrapped_native_token: '0x02f0826ef6aD107Cfc861152B32B52fD11BaB9ED', local_multisig: '0xe18dFC20edE326930d11b3316E92bdC1F606dc94', community_treasury: '0xA2e6eFFdbb278744E286F602Bfaa2BcDAccBb1AA', treasury_vester: '0x47d3d75E68594960845Bb3fD89f6a73E0Af8093E', mini_chef: { address: '0x76489156Fff6f4B89626f58386366941150642B7', active: true, type: exports.ChefType.PANGO_CHEF }, airdrop: { address: '0x3B8377E6a9d527b4587F251bce706b53DAC26cf6', active: true, type: exports.AirdropType.MERKLE_TO_STAKING_COMPLIANT }, specialAirdrops: [{ title: 'Old PSB Reimbursement', address: '0x78407686458ACf7FceA53Cf73697d0ff51052ca6', active: true, type: exports.AirdropType.MERKLE_TO_STAKING_COMPLIANT }], timelock: '0xF92F8A011A55C243CBAA096A62d9C48880070af6', fee_collector: '0x7d84e8A7c89F84a97a0e190B45E4D2fC27412894', multicall: '0x17032Ea9c3a13Ed337665145364c0d2aD1108c91', staking: [{ address: '0x7428A089A79B24400a620F1Cbf8bd0526cFae777', active: true, reward_token: '0xb2987753D1561570f726Aa373F48E77e27aa5FF4', type: exports.StakingType.SAR_POSITIONS }], governor: { address: '0x918549b5DA5A51D67066B1C26C425cD1b36d2FD7', type: exp