sushi 4.2.3 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/_cjs/address/getCreate2Address.js +2 -2
- package/_cjs/address/getCreate2Address.js.map +1 -1
- package/_cjs/api/price.js.map +1 -1
- package/_cjs/chain/chain-key.js +14 -0
- package/_cjs/chain/chain-key.js.map +1 -0
- package/_cjs/chain/evm/generated-chain-data.js.map +1 -0
- package/_cjs/chain/evm/id.js +60 -0
- package/_cjs/chain/evm/id.js.map +1 -0
- package/_cjs/chain/evm/index.js +278 -0
- package/_cjs/chain/evm/index.js.map +1 -0
- package/_cjs/chain/id.js +6 -54
- package/_cjs/chain/id.js.map +1 -1
- package/_cjs/chain/index.js +3 -274
- package/_cjs/chain/index.js.map +1 -1
- package/_cjs/chain/non-evm/aptos/id.js +7 -0
- package/_cjs/chain/non-evm/aptos/id.js.map +1 -0
- package/_cjs/chain/non-evm/aptos/index.js +30 -0
- package/_cjs/chain/non-evm/aptos/index.js.map +1 -0
- package/_cjs/chain/non-evm/index.js +19 -0
- package/_cjs/chain/non-evm/index.js.map +1 -0
- package/_cjs/chain/non-evm/tron/id.js +7 -0
- package/_cjs/chain/non-evm/tron/id.js.map +1 -0
- package/_cjs/chain/non-evm/tron/index.js +30 -0
- package/_cjs/chain/non-evm/tron/index.js.map +1 -0
- package/_cjs/config/api.js +1 -3
- package/_cjs/config/api.js.map +1 -1
- package/_cjs/config/features/aggregator.js +9 -9
- package/_cjs/config/features/aggregator.js.map +1 -1
- package/_cjs/config/features/bentobox.js +43 -43
- package/_cjs/config/features/bentobox.js.map +1 -1
- package/_cjs/config/features/extractor.js +44 -44
- package/_cjs/config/features/extractor.js.map +1 -1
- package/_cjs/config/features/furo.js +16 -16
- package/_cjs/config/features/furo.js.map +1 -1
- package/_cjs/config/features/master-chef.js +3 -3
- package/_cjs/config/features/master-chef.js.map +1 -1
- package/_cjs/config/features/merkl.js +17 -17
- package/_cjs/config/features/merkl.js.map +1 -1
- package/_cjs/config/features/mini-chef.js +34 -34
- package/_cjs/config/features/mini-chef.js.map +1 -1
- package/_cjs/config/features/pancakeswap-v2.js +22 -22
- package/_cjs/config/features/pancakeswap-v2.js.map +1 -1
- package/_cjs/config/features/pancakeswap-v3.js +29 -29
- package/_cjs/config/features/pancakeswap-v3.js.map +1 -1
- package/_cjs/config/features/route-processor.js +323 -323
- package/_cjs/config/features/route-processor.js.map +1 -1
- package/_cjs/config/features/squid.js +32 -32
- package/_cjs/config/features/squid.js.map +1 -1
- package/_cjs/config/features/stargate.js +580 -577
- package/_cjs/config/features/stargate.js.map +1 -1
- package/_cjs/config/features/sushiswap-v2.js +138 -137
- package/_cjs/config/features/sushiswap-v2.js.map +1 -1
- package/_cjs/config/features/sushiswap-v3.js +146 -146
- package/_cjs/config/features/sushiswap-v3.js.map +1 -1
- package/_cjs/config/features/sushiswap.js.map +1 -1
- package/_cjs/config/features/sushixswap.js +89 -89
- package/_cjs/config/features/sushixswap.js.map +1 -1
- package/_cjs/config/features/trident.js +42 -42
- package/_cjs/config/features/trident.js.map +1 -1
- package/_cjs/config/features/uniswap-v2.js +19 -19
- package/_cjs/config/features/uniswap-v2.js.map +1 -1
- package/_cjs/config/features/uniswap-v3.js +67 -67
- package/_cjs/config/features/uniswap-v3.js.map +1 -1
- package/_cjs/config/governance.js +2 -2
- package/_cjs/config/governance.js.map +1 -1
- package/_cjs/config/index.js +0 -2
- package/_cjs/config/index.js.map +1 -1
- package/_cjs/config/native-ids.js +54 -54
- package/_cjs/config/native-ids.js.map +1 -1
- package/_cjs/config/subgraph/get-subgraph-url.js +43 -0
- package/_cjs/config/subgraph/get-subgraph-url.js.map +1 -0
- package/_cjs/config/subgraph/hosts.js +7 -10
- package/_cjs/config/subgraph/hosts.js.map +1 -1
- package/_cjs/config/subgraph/max-first.js +2 -2
- package/_cjs/config/subgraph/max-first.js.map +1 -1
- package/_cjs/config/subgraph/seconds-between-blocks.js +26 -26
- package/_cjs/config/subgraph/seconds-between-blocks.js.map +1 -1
- package/_cjs/config/subgraph/subgraphs/bentobox.js +23 -16
- package/_cjs/config/subgraph/subgraphs/bentobox.js.map +1 -1
- package/_cjs/config/subgraph/subgraphs/blocks.js +42 -35
- package/_cjs/config/subgraph/subgraphs/blocks.js.map +1 -1
- package/_cjs/config/subgraph/subgraphs/furo.js +25 -18
- package/_cjs/config/subgraph/subgraphs/furo.js.map +1 -1
- package/_cjs/config/subgraph/subgraphs/master-chef-v1.js +12 -3
- package/_cjs/config/subgraph/subgraphs/master-chef-v1.js.map +1 -1
- package/_cjs/config/subgraph/subgraphs/master-chef-v2.js +12 -3
- package/_cjs/config/subgraph/subgraphs/master-chef-v2.js.map +1 -1
- package/_cjs/config/subgraph/subgraphs/mini-chef.js +26 -19
- package/_cjs/config/subgraph/subgraphs/mini-chef.js.map +1 -1
- package/_cjs/config/subgraph/subgraphs/sushi-bar.js +12 -3
- package/_cjs/config/subgraph/subgraphs/sushi-bar.js.map +1 -1
- package/_cjs/config/subgraph/subgraphs/sushiswap-v2.js +49 -37
- package/_cjs/config/subgraph/subgraphs/sushiswap-v2.js.map +1 -1
- package/_cjs/config/subgraph/subgraphs/sushiswap-v3.js +44 -32
- package/_cjs/config/subgraph/subgraphs/sushiswap-v3.js.map +1 -1
- package/_cjs/config/token-chomper.js +85 -85
- package/_cjs/config/token-chomper.js.map +1 -1
- package/_cjs/config/token-maps/additional-bases.js +85 -81
- package/_cjs/config/token-maps/additional-bases.js.map +1 -1
- package/_cjs/config/token-maps/bases-to-check-trades-against.js +337 -337
- package/_cjs/config/token-maps/bases-to-check-trades-against.js.map +1 -1
- package/_cjs/config/token-maps/custom-bases.js +5 -5
- package/_cjs/config/token-maps/custom-bases.js.map +1 -1
- package/_cjs/config/token-maps/default-bases.js +358 -348
- package/_cjs/config/token-maps/default-bases.js.map +1 -1
- package/_cjs/config/token-maps/default-quote.js +54 -51
- package/_cjs/config/token-maps/default-quote.js.map +1 -1
- package/_cjs/config/token-maps/lsds.js +108 -108
- package/_cjs/config/token-maps/lsds.js.map +1 -1
- package/_cjs/config/token-maps/short-name-to-currency.js +230 -230
- package/_cjs/config/token-maps/short-name-to-currency.js.map +1 -1
- package/_cjs/config/token-maps/stables.js +202 -172
- package/_cjs/config/token-maps/stables.js.map +1 -1
- package/_cjs/config/token-security.js +16 -16
- package/_cjs/config/token-security.js.map +1 -1
- package/_cjs/config/wallet.js +77 -77
- package/_cjs/config/wallet.js.map +1 -1
- package/_cjs/config/wnative.js.map +1 -1
- package/_cjs/currency/currency.js +1 -3
- package/_cjs/currency/currency.js.map +1 -1
- package/_cjs/currency/native.js +2 -2
- package/_cjs/currency/native.js.map +1 -1
- package/_cjs/currency/token-addresses.js +454 -454
- package/_cjs/currency/token-addresses.js.map +1 -1
- package/_cjs/currency/token.js.map +1 -1
- package/_cjs/currency/tokens.js +179 -179
- package/_cjs/currency/tokens.js.map +1 -1
- package/_cjs/currency/zod.js +3 -2
- package/_cjs/currency/zod.js.map +1 -1
- package/_cjs/format/id.js +7 -3
- package/_cjs/format/id.js.map +1 -1
- package/_cjs/index.js +2 -2
- package/_cjs/index.js.map +1 -1
- package/_cjs/pool/sushiswap-v2/sushiswap-v2-pool.js +2 -2
- package/_cjs/pool/sushiswap-v2/sushiswap-v2-pool.js.map +1 -1
- package/_cjs/router/get-currency-combinations.js.map +1 -1
- package/_cjs/token-list/wrapped-token-info.js.map +1 -1
- package/_esm/address/getCreate2Address.js +2 -2
- package/_esm/address/getCreate2Address.js.map +1 -1
- package/_esm/api/price.js.map +1 -1
- package/_esm/chain/chain-key.js +11 -0
- package/_esm/chain/chain-key.js.map +1 -0
- package/_esm/chain/evm/generated-chain-data.js.map +1 -0
- package/_esm/chain/evm/id.js +67 -0
- package/_esm/chain/evm/id.js.map +1 -0
- package/_esm/chain/evm/index.js +280 -0
- package/_esm/chain/evm/index.js.map +1 -0
- package/_esm/chain/id.js +6 -64
- package/_esm/chain/id.js.map +1 -1
- package/_esm/chain/index.js +3 -293
- package/_esm/chain/index.js.map +1 -1
- package/_esm/chain/non-evm/aptos/id.js +4 -0
- package/_esm/chain/non-evm/aptos/id.js.map +1 -0
- package/_esm/chain/non-evm/aptos/index.js +11 -0
- package/_esm/chain/non-evm/aptos/index.js.map +1 -0
- package/_esm/chain/non-evm/index.js +3 -0
- package/_esm/chain/non-evm/index.js.map +1 -0
- package/_esm/chain/non-evm/tron/id.js +4 -0
- package/_esm/chain/non-evm/tron/id.js.map +1 -0
- package/_esm/chain/non-evm/tron/index.js +11 -0
- package/_esm/chain/non-evm/tron/index.js.map +1 -0
- package/_esm/config/api.js +1 -3
- package/_esm/config/api.js.map +1 -1
- package/_esm/config/features/aggregator.js +9 -9
- package/_esm/config/features/aggregator.js.map +1 -1
- package/_esm/config/features/bentobox.js +43 -43
- package/_esm/config/features/bentobox.js.map +1 -1
- package/_esm/config/features/extractor.js +44 -44
- package/_esm/config/features/extractor.js.map +1 -1
- package/_esm/config/features/furo.js +16 -16
- package/_esm/config/features/furo.js.map +1 -1
- package/_esm/config/features/master-chef.js +7 -7
- package/_esm/config/features/master-chef.js.map +1 -1
- package/_esm/config/features/merkl.js +18 -18
- package/_esm/config/features/merkl.js.map +1 -1
- package/_esm/config/features/mini-chef.js +35 -35
- package/_esm/config/features/mini-chef.js.map +1 -1
- package/_esm/config/features/pancakeswap-v2.js +24 -24
- package/_esm/config/features/pancakeswap-v2.js.map +1 -1
- package/_esm/config/features/pancakeswap-v3.js +29 -29
- package/_esm/config/features/pancakeswap-v3.js.map +1 -1
- package/_esm/config/features/route-processor.js +329 -329
- package/_esm/config/features/route-processor.js.map +1 -1
- package/_esm/config/features/squid.js +32 -32
- package/_esm/config/features/squid.js.map +1 -1
- package/_esm/config/features/stargate.js +598 -595
- package/_esm/config/features/stargate.js.map +1 -1
- package/_esm/config/features/sushiswap-v2.js +201 -200
- package/_esm/config/features/sushiswap-v2.js.map +1 -1
- package/_esm/config/features/sushiswap-v3.js +157 -157
- package/_esm/config/features/sushiswap-v3.js.map +1 -1
- package/_esm/config/features/sushiswap.js.map +1 -1
- package/_esm/config/features/sushixswap.js +91 -91
- package/_esm/config/features/sushixswap.js.map +1 -1
- package/_esm/config/features/trident.js +45 -45
- package/_esm/config/features/trident.js.map +1 -1
- package/_esm/config/features/uniswap-v2.js +19 -19
- package/_esm/config/features/uniswap-v2.js.map +1 -1
- package/_esm/config/features/uniswap-v3.js +67 -67
- package/_esm/config/features/uniswap-v3.js.map +1 -1
- package/_esm/config/governance.js +2 -2
- package/_esm/config/governance.js.map +1 -1
- package/_esm/config/index.js +0 -2
- package/_esm/config/index.js.map +1 -1
- package/_esm/config/native-ids.js +65 -65
- package/_esm/config/native-ids.js.map +1 -1
- package/_esm/config/subgraph/get-subgraph-url.js +46 -0
- package/_esm/config/subgraph/get-subgraph-url.js.map +1 -0
- package/_esm/config/subgraph/hosts.js +4 -9
- package/_esm/config/subgraph/hosts.js.map +1 -1
- package/_esm/config/subgraph/max-first.js +2 -2
- package/_esm/config/subgraph/max-first.js.map +1 -1
- package/_esm/config/subgraph/seconds-between-blocks.js +27 -27
- package/_esm/config/subgraph/seconds-between-blocks.js.map +1 -1
- package/_esm/config/subgraph/subgraphs/bentobox.js +23 -16
- package/_esm/config/subgraph/subgraphs/bentobox.js.map +1 -1
- package/_esm/config/subgraph/subgraphs/blocks.js +47 -40
- package/_esm/config/subgraph/subgraphs/blocks.js.map +1 -1
- package/_esm/config/subgraph/subgraphs/furo.js +25 -18
- package/_esm/config/subgraph/subgraphs/furo.js.map +1 -1
- package/_esm/config/subgraph/subgraphs/master-chef-v1.js +11 -2
- package/_esm/config/subgraph/subgraphs/master-chef-v1.js.map +1 -1
- package/_esm/config/subgraph/subgraphs/master-chef-v2.js +11 -2
- package/_esm/config/subgraph/subgraphs/master-chef-v2.js.map +1 -1
- package/_esm/config/subgraph/subgraphs/mini-chef.js +27 -20
- package/_esm/config/subgraph/subgraphs/mini-chef.js.map +1 -1
- package/_esm/config/subgraph/subgraphs/sushi-bar.js +11 -2
- package/_esm/config/subgraph/subgraphs/sushi-bar.js.map +1 -1
- package/_esm/config/subgraph/subgraphs/sushiswap-v2.js +49 -37
- package/_esm/config/subgraph/subgraphs/sushiswap-v2.js.map +1 -1
- package/_esm/config/subgraph/subgraphs/sushiswap-v3.js +44 -32
- package/_esm/config/subgraph/subgraphs/sushiswap-v3.js.map +1 -1
- package/_esm/config/token-chomper.js +85 -85
- package/_esm/config/token-chomper.js.map +1 -1
- package/_esm/config/token-maps/additional-bases.js +85 -81
- package/_esm/config/token-maps/additional-bases.js.map +1 -1
- package/_esm/config/token-maps/bases-to-check-trades-against.js +339 -339
- package/_esm/config/token-maps/bases-to-check-trades-against.js.map +1 -1
- package/_esm/config/token-maps/custom-bases.js +5 -5
- package/_esm/config/token-maps/custom-bases.js.map +1 -1
- package/_esm/config/token-maps/default-bases.js +369 -359
- package/_esm/config/token-maps/default-bases.js.map +1 -1
- package/_esm/config/token-maps/default-quote.js +71 -68
- package/_esm/config/token-maps/default-quote.js.map +1 -1
- package/_esm/config/token-maps/lsds.js +108 -108
- package/_esm/config/token-maps/lsds.js.map +1 -1
- package/_esm/config/token-maps/short-name-to-currency.js +256 -256
- package/_esm/config/token-maps/short-name-to-currency.js.map +1 -1
- package/_esm/config/token-maps/stables.js +212 -182
- package/_esm/config/token-maps/stables.js.map +1 -1
- package/_esm/config/token-security.js +16 -16
- package/_esm/config/token-security.js.map +1 -1
- package/_esm/config/wallet.js +77 -77
- package/_esm/config/wallet.js.map +1 -1
- package/_esm/config/wnative.js.map +1 -1
- package/_esm/currency/currency.js +1 -3
- package/_esm/currency/currency.js.map +1 -1
- package/_esm/currency/native.js +2 -2
- package/_esm/currency/native.js.map +1 -1
- package/_esm/currency/token-addresses.js +483 -483
- package/_esm/currency/token-addresses.js.map +1 -1
- package/_esm/currency/token.js.map +1 -1
- package/_esm/currency/tokens.js +195 -195
- package/_esm/currency/tokens.js.map +1 -1
- package/_esm/currency/zod.js +3 -2
- package/_esm/currency/zod.js.map +1 -1
- package/_esm/format/id.js +7 -3
- package/_esm/format/id.js.map +1 -1
- package/_esm/index.js +2 -2
- package/_esm/index.js.map +1 -1
- package/_esm/pool/sushiswap-v2/sushiswap-v2-pool.js +2 -2
- package/_esm/pool/sushiswap-v2/sushiswap-v2-pool.js.map +1 -1
- package/_esm/router/get-currency-combinations.js.map +1 -1
- package/_esm/token-list/wrapped-token-info.js.map +1 -1
- package/_types/address/getCreate2Address.d.ts +2 -2
- package/_types/address/getCreate2Address.d.ts.map +1 -1
- package/_types/api/price.d.ts +3 -3
- package/_types/api/price.d.ts.map +1 -1
- package/_types/chain/chain-key.d.ts +63 -0
- package/_types/chain/chain-key.d.ts.map +1 -0
- package/_types/chain/{generated-chain-data.d.ts.map → evm/generated-chain-data.d.ts.map} +1 -1
- package/_types/chain/evm/id.d.ts +58 -0
- package/_types/chain/evm/id.d.ts.map +1 -0
- package/_types/chain/evm/index.d.ts +1197 -0
- package/_types/chain/evm/index.d.ts.map +1 -0
- package/_types/chain/id.d.ts +2 -0
- package/_types/chain/id.d.ts.map +1 -1
- package/_types/chain/index.d.ts +3 -1190
- package/_types/chain/index.d.ts.map +1 -1
- package/_types/chain/non-evm/aptos/id.d.ts +5 -0
- package/_types/chain/non-evm/aptos/id.d.ts.map +1 -0
- package/_types/chain/non-evm/aptos/index.d.ts +13 -0
- package/_types/chain/non-evm/aptos/index.d.ts.map +1 -0
- package/_types/chain/non-evm/index.d.ts +3 -0
- package/_types/chain/non-evm/index.d.ts.map +1 -0
- package/_types/chain/non-evm/tron/id.d.ts +5 -0
- package/_types/chain/non-evm/tron/id.d.ts.map +1 -0
- package/_types/chain/non-evm/tron/index.d.ts +13 -0
- package/_types/chain/non-evm/tron/index.d.ts.map +1 -0
- package/_types/config/api.d.ts +1 -1
- package/_types/config/api.d.ts.map +1 -1
- package/_types/config/features/aggregator.d.ts +2 -2
- package/_types/config/features/aggregator.d.ts.map +1 -1
- package/_types/config/features/bentobox.d.ts +2 -2
- package/_types/config/features/bentobox.d.ts.map +1 -1
- package/_types/config/features/furo.d.ts +2 -2
- package/_types/config/features/furo.d.ts.map +1 -1
- package/_types/config/features/merkl.d.ts +2 -2
- package/_types/config/features/merkl.d.ts.map +1 -1
- package/_types/config/features/mini-chef.d.ts +2 -2
- package/_types/config/features/mini-chef.d.ts.map +1 -1
- package/_types/config/features/pancakeswap-v2.d.ts +2 -2
- package/_types/config/features/pancakeswap-v2.d.ts.map +1 -1
- package/_types/config/features/pancakeswap-v3.d.ts +2 -2
- package/_types/config/features/pancakeswap-v3.d.ts.map +1 -1
- package/_types/config/features/route-processor.d.ts +9 -9
- package/_types/config/features/route-processor.d.ts.map +1 -1
- package/_types/config/features/stargate.d.ts.map +1 -1
- package/_types/config/features/sushiswap-v2.d.ts +4 -4
- package/_types/config/features/sushiswap-v2.d.ts.map +1 -1
- package/_types/config/features/sushiswap-v3.d.ts +7 -6
- package/_types/config/features/sushiswap-v3.d.ts.map +1 -1
- package/_types/config/features/sushiswap.d.ts +2 -2
- package/_types/config/features/sushiswap.d.ts.map +1 -1
- package/_types/config/features/sushixswap.d.ts +5 -5
- package/_types/config/features/sushixswap.d.ts.map +1 -1
- package/_types/config/features/trident.d.ts +2 -2
- package/_types/config/features/trident.d.ts.map +1 -1
- package/_types/config/features/uniswap-v3.d.ts +2 -2
- package/_types/config/features/uniswap-v3.d.ts.map +1 -1
- package/_types/config/index.d.ts +0 -2
- package/_types/config/index.d.ts.map +1 -1
- package/_types/config/subgraph/get-subgraph-url.d.ts +21 -0
- package/_types/config/subgraph/get-subgraph-url.d.ts.map +1 -0
- package/_types/config/subgraph/hosts.d.ts +4 -3
- package/_types/config/subgraph/hosts.d.ts.map +1 -1
- package/_types/config/subgraph/max-first.d.ts +2 -2
- package/_types/config/subgraph/max-first.d.ts.map +1 -1
- package/_types/config/subgraph/seconds-between-blocks.d.ts +2 -2
- package/_types/config/subgraph/seconds-between-blocks.d.ts.map +1 -1
- package/_types/config/subgraph/subgraphs/bentobox.d.ts +9 -2
- package/_types/config/subgraph/subgraphs/bentobox.d.ts.map +1 -1
- package/_types/config/subgraph/subgraphs/blocks.d.ts +10 -2
- package/_types/config/subgraph/subgraphs/blocks.d.ts.map +1 -1
- package/_types/config/subgraph/subgraphs/data-api.d.ts +1 -1
- package/_types/config/subgraph/subgraphs/data-api.d.ts.map +1 -1
- package/_types/config/subgraph/subgraphs/furo.d.ts +9 -2
- package/_types/config/subgraph/subgraphs/furo.d.ts.map +1 -1
- package/_types/config/subgraph/subgraphs/master-chef-v1.d.ts +10 -1
- package/_types/config/subgraph/subgraphs/master-chef-v1.d.ts.map +1 -1
- package/_types/config/subgraph/subgraphs/master-chef-v2.d.ts +10 -1
- package/_types/config/subgraph/subgraphs/master-chef-v2.d.ts.map +1 -1
- package/_types/config/subgraph/subgraphs/mini-chef.d.ts +9 -2
- package/_types/config/subgraph/subgraphs/mini-chef.d.ts.map +1 -1
- package/_types/config/subgraph/subgraphs/sushi-bar.d.ts +10 -1
- package/_types/config/subgraph/subgraphs/sushi-bar.d.ts.map +1 -1
- package/_types/config/subgraph/subgraphs/sushiswap-v2.d.ts +9 -2
- package/_types/config/subgraph/subgraphs/sushiswap-v2.d.ts.map +1 -1
- package/_types/config/subgraph/subgraphs/sushiswap-v3.d.ts +9 -2
- package/_types/config/subgraph/subgraphs/sushiswap-v3.d.ts.map +1 -1
- package/_types/config/token-chomper.d.ts +2 -2
- package/_types/config/token-chomper.d.ts.map +1 -1
- package/_types/config/token-maps/additional-bases.d.ts.map +1 -1
- package/_types/config/token-maps/default-bases.d.ts +1 -1
- package/_types/config/token-maps/default-bases.d.ts.map +1 -1
- package/_types/config/token-maps/default-quote.d.ts.map +1 -1
- package/_types/config/token-maps/lsds.d.ts.map +1 -1
- package/_types/config/token-maps/short-name-to-currency.d.ts +4 -4
- package/_types/config/token-maps/short-name-to-currency.d.ts.map +1 -1
- package/_types/config/token-maps/stables.d.ts.map +1 -1
- package/_types/config/token-security.d.ts +2 -2
- package/_types/config/token-security.d.ts.map +1 -1
- package/_types/config/wallet.d.ts +2 -2
- package/_types/config/wallet.d.ts.map +1 -1
- package/_types/config/wnative.d.ts +2 -2
- package/_types/config/wnative.d.ts.map +1 -1
- package/_types/currency/currency.d.ts +4 -4
- package/_types/currency/currency.d.ts.map +1 -1
- package/_types/currency/native.d.ts +3 -2
- package/_types/currency/native.d.ts.map +1 -1
- package/_types/currency/token.d.ts +2 -1
- package/_types/currency/token.d.ts.map +1 -1
- package/_types/currency/tokens.d.ts.map +1 -1
- package/_types/currency/zod.d.ts +10 -10
- package/_types/currency/zod.d.ts.map +1 -1
- package/_types/format/id.d.ts +1 -2
- package/_types/format/id.d.ts.map +1 -1
- package/_types/index.d.ts +2 -2
- package/_types/index.d.ts.map +1 -1
- package/_types/pool/sushiswap-v2/zod.d.ts +16 -16
- package/_types/pool/sushiswap-v3/utils/computePoolAddress.d.ts +2 -2
- package/_types/pool/sushiswap-v3/utils/computePoolAddress.d.ts.map +1 -1
- package/_types/pool/trident-constant-product/zod.d.ts +16 -16
- package/_types/pool/trident-stable/zod.d.ts +16 -16
- package/_types/router/get-currency-combinations.d.ts +3 -3
- package/_types/router/get-currency-combinations.d.ts.map +1 -1
- package/_types/token-list/wrapped-token-info.d.ts +3 -3
- package/_types/token-list/wrapped-token-info.d.ts.map +1 -1
- package/_types/types/sushi-pool/pool-id.d.ts +2 -2
- package/_types/types/sushi-pool/pool-id.d.ts.map +1 -1
- package/_types/types/sushi-pool/pool-with-incentives.d.ts +2 -2
- package/_types/types/sushi-pool/pool-with-incentives.d.ts.map +1 -1
- package/_types/types/token.d.ts +2 -2
- package/_types/types/token.d.ts.map +1 -1
- package/address/getCreate2Address.ts +7 -3
- package/api/price.ts +6 -3
- package/chain/chain-key.ts +17 -0
- package/chain/{generate.ts → evm/generate.ts} +10 -17
- package/chain/evm/id.ts +68 -0
- package/chain/evm/index.ts +371 -0
- package/chain/id.ts +8 -64
- package/chain/index.ts +3 -376
- package/chain/non-evm/aptos/id.ts +5 -0
- package/chain/non-evm/aptos/index.ts +23 -0
- package/chain/non-evm/index.ts +2 -0
- package/chain/non-evm/tron/id.ts +5 -0
- package/chain/non-evm/tron/index.ts +23 -0
- package/config/api.ts +1 -4
- package/config/features/aggregator.ts +10 -10
- package/config/features/bentobox.ts +44 -44
- package/config/features/extractor.ts +44 -44
- package/config/features/furo.ts +17 -17
- package/config/features/master-chef.ts +7 -7
- package/config/features/merkl.ts +19 -19
- package/config/features/mini-chef.ts +36 -36
- package/config/features/pancakeswap-v2.ts +25 -25
- package/config/features/pancakeswap-v3.ts +30 -30
- package/config/features/route-processor.ts +336 -337
- package/config/features/squid.ts +32 -32
- package/config/features/stargate.ts +598 -595
- package/config/features/sushiswap-v2.ts +202 -202
- package/config/features/sushiswap-v3.ts +169 -173
- package/config/features/sushiswap.ts +2 -2
- package/config/features/sushixswap.ts +95 -95
- package/config/features/trident.ts +48 -46
- package/config/features/uniswap-v2.ts +19 -19
- package/config/features/uniswap-v3.ts +68 -68
- package/config/governance.ts +2 -2
- package/config/index.ts +0 -2
- package/config/native-ids.ts +65 -65
- package/config/subgraph/get-subgraph-url.ts +110 -0
- package/config/subgraph/hosts.ts +8 -11
- package/config/subgraph/max-first.ts +5 -5
- package/config/subgraph/seconds-between-blocks.ts +28 -28
- package/config/subgraph/subgraphs/bentobox.ts +26 -20
- package/config/subgraph/subgraphs/blocks.ts +49 -41
- package/config/subgraph/subgraphs/furo.ts +27 -19
- package/config/subgraph/subgraphs/master-chef-v1.ts +11 -2
- package/config/subgraph/subgraphs/master-chef-v2.ts +11 -2
- package/config/subgraph/subgraphs/mini-chef.ts +30 -25
- package/config/subgraph/subgraphs/sushi-bar.ts +11 -2
- package/config/subgraph/subgraphs/sushiswap-v2.ts +52 -39
- package/config/subgraph/subgraphs/sushiswap-v3.ts +47 -34
- package/config/token-chomper.ts +86 -86
- package/config/token-maps/additional-bases.ts +85 -81
- package/config/token-maps/bases-to-check-trades-against.ts +339 -339
- package/config/token-maps/custom-bases.ts +5 -5
- package/config/token-maps/default-bases.ts +370 -360
- package/config/token-maps/default-quote.ts +72 -69
- package/config/token-maps/lsds.ts +109 -109
- package/config/token-maps/short-name-to-currency.ts +257 -257
- package/config/token-maps/stables.ts +213 -183
- package/config/token-security.ts +17 -17
- package/config/wallet.ts +78 -78
- package/config/wnative.ts +2 -2
- package/currency/currency.ts +4 -6
- package/currency/native.ts +4 -4
- package/currency/token-addresses.ts +483 -483
- package/currency/token.ts +2 -1
- package/currency/tokens.ts +204 -200
- package/currency/zod.ts +3 -2
- package/format/id.ts +8 -4
- package/index.ts +2 -2
- package/package.json +1 -1
- package/pool/sushiswap-v2/sushiswap-v2-pool.ts +2 -2
- package/pool/sushiswap-v3/utils/computePoolAddress.ts +2 -2
- package/router/get-currency-combinations.ts +3 -3
- package/token-list/wrapped-token-info.ts +3 -3
- package/types/sushi-pool/pool-id.ts +2 -2
- package/types/sushi-pool/pool-with-incentives.ts +2 -2
- package/types/token.ts +2 -2
- package/_cjs/chain/generated-chain-data.js.map +0 -1
- package/_cjs/config/viem.js +0 -849
- package/_cjs/config/viem.js.map +0 -1
- package/_cjs/lowercase-map.js +0 -19
- package/_cjs/lowercase-map.js.map +0 -1
- package/_esm/chain/generated-chain-data.js.map +0 -1
- package/_esm/config/viem.js +0 -906
- package/_esm/config/viem.js.map +0 -1
- package/_esm/lowercase-map.js +0 -15
- package/_esm/lowercase-map.js.map +0 -1
- package/_types/config/viem.d.ts +0 -5279
- package/_types/config/viem.d.ts.map +0 -1
- package/_types/lowercase-map.d.ts +0 -7
- package/_types/lowercase-map.d.ts.map +0 -1
- package/config/viem.ts +0 -1046
- package/lowercase-map.ts +0 -14
- /package/_cjs/chain/{generated-chain-data.js → evm/generated-chain-data.js} +0 -0
- /package/_esm/chain/{generated-chain-data.js → evm/generated-chain-data.js} +0 -0
- /package/_types/chain/{generated-chain-data.d.ts → evm/generated-chain-data.d.ts} +0 -0
- /package/chain/{generated-chain-data.ts → evm/generated-chain-data.ts} +0 -0
|
@@ -0,0 +1,1197 @@
|
|
|
1
|
+
import { EvmChainId } from './id.js';
|
|
2
|
+
export * from './id.js';
|
|
3
|
+
declare const RAW: readonly [{
|
|
4
|
+
readonly chainId: 1;
|
|
5
|
+
readonly explorers: readonly [{
|
|
6
|
+
readonly name: "etherscan";
|
|
7
|
+
readonly url: "https://etherscan.io";
|
|
8
|
+
readonly standard: "EIP3091";
|
|
9
|
+
}, {
|
|
10
|
+
readonly name: "blockscout";
|
|
11
|
+
readonly url: "https://eth.blockscout.com";
|
|
12
|
+
readonly icon: "blockscout";
|
|
13
|
+
readonly standard: "EIP3091";
|
|
14
|
+
}, {
|
|
15
|
+
readonly name: "dexguru";
|
|
16
|
+
readonly url: "https://ethereum.dex.guru";
|
|
17
|
+
readonly icon: "dexguru";
|
|
18
|
+
readonly standard: "EIP3091";
|
|
19
|
+
}, {
|
|
20
|
+
readonly name: "Routescan";
|
|
21
|
+
readonly url: "https://ethereum.routescan.io";
|
|
22
|
+
readonly standard: "EIP3091";
|
|
23
|
+
}];
|
|
24
|
+
readonly nativeCurrency: {
|
|
25
|
+
readonly name: "Ether";
|
|
26
|
+
readonly symbol: "ETH";
|
|
27
|
+
readonly decimals: 18;
|
|
28
|
+
};
|
|
29
|
+
readonly name: "Ethereum Mainnet";
|
|
30
|
+
readonly shortName: "eth";
|
|
31
|
+
}, {
|
|
32
|
+
readonly chainId: 5;
|
|
33
|
+
readonly explorers: readonly [{
|
|
34
|
+
readonly name: "etherscan-goerli";
|
|
35
|
+
readonly url: "https://goerli.etherscan.io";
|
|
36
|
+
readonly standard: "EIP3091";
|
|
37
|
+
}, {
|
|
38
|
+
readonly name: "blockscout-goerli";
|
|
39
|
+
readonly url: "https://eth-goerli.blockscout.com";
|
|
40
|
+
readonly icon: "blockscout";
|
|
41
|
+
readonly standard: "EIP3091";
|
|
42
|
+
}];
|
|
43
|
+
readonly nativeCurrency: {
|
|
44
|
+
readonly name: "Goerli Ether";
|
|
45
|
+
readonly symbol: "ETH";
|
|
46
|
+
readonly decimals: 18;
|
|
47
|
+
};
|
|
48
|
+
readonly name: "Goerli";
|
|
49
|
+
readonly shortName: "gor";
|
|
50
|
+
}, {
|
|
51
|
+
readonly chainId: 10;
|
|
52
|
+
readonly explorers: readonly [{
|
|
53
|
+
readonly name: "etherscan";
|
|
54
|
+
readonly url: "https://optimistic.etherscan.io";
|
|
55
|
+
readonly standard: "EIP3091";
|
|
56
|
+
}, {
|
|
57
|
+
readonly name: "blockscout";
|
|
58
|
+
readonly url: "https://optimism.blockscout.com";
|
|
59
|
+
readonly icon: "blockscout";
|
|
60
|
+
readonly standard: "EIP3091";
|
|
61
|
+
}, {
|
|
62
|
+
readonly name: "dexguru";
|
|
63
|
+
readonly url: "https://optimism.dex.guru";
|
|
64
|
+
readonly icon: "dexguru";
|
|
65
|
+
readonly standard: "EIP3091";
|
|
66
|
+
}, {
|
|
67
|
+
readonly name: "Routescan";
|
|
68
|
+
readonly url: "https://mainnet.superscan.network";
|
|
69
|
+
readonly standard: "EIP3091";
|
|
70
|
+
}];
|
|
71
|
+
readonly nativeCurrency: {
|
|
72
|
+
readonly name: "Ether";
|
|
73
|
+
readonly symbol: "ETH";
|
|
74
|
+
readonly decimals: 18;
|
|
75
|
+
};
|
|
76
|
+
readonly name: "OP Mainnet";
|
|
77
|
+
readonly shortName: "oeth";
|
|
78
|
+
}, {
|
|
79
|
+
readonly chainId: 25;
|
|
80
|
+
readonly explorers: readonly [{
|
|
81
|
+
readonly name: "Cronos Explorer";
|
|
82
|
+
readonly url: "https://explorer.cronos.org";
|
|
83
|
+
readonly standard: "none";
|
|
84
|
+
}];
|
|
85
|
+
readonly nativeCurrency: {
|
|
86
|
+
readonly name: "Cronos";
|
|
87
|
+
readonly symbol: "CRO";
|
|
88
|
+
readonly decimals: 18;
|
|
89
|
+
};
|
|
90
|
+
readonly name: "Cronos Mainnet";
|
|
91
|
+
readonly shortName: "cro";
|
|
92
|
+
}, {
|
|
93
|
+
readonly chainId: 30;
|
|
94
|
+
readonly explorers: readonly [{
|
|
95
|
+
readonly name: "Rootstock Explorer";
|
|
96
|
+
readonly url: "https://explorer.rsk.co";
|
|
97
|
+
readonly standard: "EIP3091";
|
|
98
|
+
}, {
|
|
99
|
+
readonly name: "blockscout";
|
|
100
|
+
readonly url: "https://rootstock.blockscout.com";
|
|
101
|
+
readonly icon: "blockscout";
|
|
102
|
+
readonly standard: "EIP3091";
|
|
103
|
+
}];
|
|
104
|
+
readonly nativeCurrency: {
|
|
105
|
+
readonly name: "Smart Bitcoin";
|
|
106
|
+
readonly symbol: "RBTC";
|
|
107
|
+
readonly decimals: 18;
|
|
108
|
+
};
|
|
109
|
+
readonly name: "Rootstock Mainnet";
|
|
110
|
+
readonly shortName: "rsk";
|
|
111
|
+
}, {
|
|
112
|
+
readonly chainId: 40;
|
|
113
|
+
readonly explorers: readonly [{
|
|
114
|
+
readonly name: "teloscan";
|
|
115
|
+
readonly url: "https://teloscan.io";
|
|
116
|
+
readonly standard: "EIP3091";
|
|
117
|
+
}];
|
|
118
|
+
readonly nativeCurrency: {
|
|
119
|
+
readonly name: "Telos";
|
|
120
|
+
readonly symbol: "TLOS";
|
|
121
|
+
readonly decimals: 18;
|
|
122
|
+
};
|
|
123
|
+
readonly name: "Telos EVM Mainnet";
|
|
124
|
+
readonly shortName: "TelosEVM";
|
|
125
|
+
}, {
|
|
126
|
+
readonly chainId: 56;
|
|
127
|
+
readonly explorers: readonly [{
|
|
128
|
+
readonly name: "bscscan";
|
|
129
|
+
readonly url: "https://bscscan.com";
|
|
130
|
+
readonly standard: "EIP3091";
|
|
131
|
+
}, {
|
|
132
|
+
readonly name: "dexguru";
|
|
133
|
+
readonly url: "https://bnb.dex.guru";
|
|
134
|
+
readonly icon: "dexguru";
|
|
135
|
+
readonly standard: "EIP3091";
|
|
136
|
+
}];
|
|
137
|
+
readonly nativeCurrency: {
|
|
138
|
+
readonly name: "BNB Chain Native Token";
|
|
139
|
+
readonly symbol: "BNB";
|
|
140
|
+
readonly decimals: 18;
|
|
141
|
+
};
|
|
142
|
+
readonly name: "BNB Smart Chain Mainnet";
|
|
143
|
+
readonly shortName: "bnb";
|
|
144
|
+
}, {
|
|
145
|
+
readonly chainId: 66;
|
|
146
|
+
readonly explorers: readonly [{
|
|
147
|
+
readonly name: "OKLink";
|
|
148
|
+
readonly url: "https://www.oklink.com/en/okc";
|
|
149
|
+
readonly standard: "EIP3091";
|
|
150
|
+
}];
|
|
151
|
+
readonly nativeCurrency: {
|
|
152
|
+
readonly name: "OKXChain Global Utility Token";
|
|
153
|
+
readonly symbol: "OKT";
|
|
154
|
+
readonly decimals: 18;
|
|
155
|
+
};
|
|
156
|
+
readonly name: "OKXChain Mainnet";
|
|
157
|
+
readonly shortName: "okt";
|
|
158
|
+
}, {
|
|
159
|
+
readonly chainId: 97;
|
|
160
|
+
readonly explorers: readonly [{
|
|
161
|
+
readonly name: "bscscan-testnet";
|
|
162
|
+
readonly url: "https://testnet.bscscan.com";
|
|
163
|
+
readonly standard: "EIP3091";
|
|
164
|
+
}];
|
|
165
|
+
readonly nativeCurrency: {
|
|
166
|
+
readonly name: "BNB Chain Native Token";
|
|
167
|
+
readonly symbol: "tBNB";
|
|
168
|
+
readonly decimals: 18;
|
|
169
|
+
};
|
|
170
|
+
readonly name: "BNB Smart Chain Testnet";
|
|
171
|
+
readonly shortName: "bnbt";
|
|
172
|
+
}, {
|
|
173
|
+
readonly chainId: 100;
|
|
174
|
+
readonly explorers: readonly [{
|
|
175
|
+
readonly name: "gnosisscan";
|
|
176
|
+
readonly url: "https://gnosisscan.io";
|
|
177
|
+
readonly standard: "EIP3091";
|
|
178
|
+
}, {
|
|
179
|
+
readonly name: "blockscout";
|
|
180
|
+
readonly url: "https://gnosis.blockscout.com";
|
|
181
|
+
readonly icon: "blockscout";
|
|
182
|
+
readonly standard: "EIP3091";
|
|
183
|
+
}, {
|
|
184
|
+
readonly name: "dexguru";
|
|
185
|
+
readonly url: "https://gnosis.dex.guru";
|
|
186
|
+
readonly icon: "dexguru";
|
|
187
|
+
readonly standard: "EIP3091";
|
|
188
|
+
}];
|
|
189
|
+
readonly nativeCurrency: {
|
|
190
|
+
readonly name: "xDAI";
|
|
191
|
+
readonly symbol: "XDAI";
|
|
192
|
+
readonly decimals: 18;
|
|
193
|
+
};
|
|
194
|
+
readonly name: "Gnosis";
|
|
195
|
+
readonly shortName: "gno";
|
|
196
|
+
}, {
|
|
197
|
+
readonly chainId: 108;
|
|
198
|
+
readonly explorers: readonly [{
|
|
199
|
+
readonly name: "thundercore-viewblock";
|
|
200
|
+
readonly url: "https://viewblock.io/thundercore";
|
|
201
|
+
readonly standard: "EIP3091";
|
|
202
|
+
}];
|
|
203
|
+
readonly nativeCurrency: {
|
|
204
|
+
readonly name: "ThunderCore Token";
|
|
205
|
+
readonly symbol: "TT";
|
|
206
|
+
readonly decimals: 18;
|
|
207
|
+
};
|
|
208
|
+
readonly name: "ThunderCore Mainnet";
|
|
209
|
+
readonly shortName: "TT";
|
|
210
|
+
}, {
|
|
211
|
+
readonly chainId: 122;
|
|
212
|
+
readonly explorers: readonly [{
|
|
213
|
+
readonly name: "blockscout";
|
|
214
|
+
readonly url: "https://explorer.fuse.io";
|
|
215
|
+
readonly icon: "blockscout";
|
|
216
|
+
readonly standard: "EIP3091";
|
|
217
|
+
}];
|
|
218
|
+
readonly nativeCurrency: {
|
|
219
|
+
readonly name: "Fuse";
|
|
220
|
+
readonly symbol: "FUSE";
|
|
221
|
+
readonly decimals: 18;
|
|
222
|
+
};
|
|
223
|
+
readonly name: "Fuse Mainnet";
|
|
224
|
+
readonly shortName: "fuse";
|
|
225
|
+
}, {
|
|
226
|
+
readonly chainId: 128;
|
|
227
|
+
readonly explorers: readonly [{
|
|
228
|
+
readonly name: "hecoinfo";
|
|
229
|
+
readonly url: "https://hecoinfo.com";
|
|
230
|
+
readonly standard: "EIP3091";
|
|
231
|
+
}];
|
|
232
|
+
readonly nativeCurrency: {
|
|
233
|
+
readonly name: "Huobi ECO Chain Native Token";
|
|
234
|
+
readonly symbol: "HT";
|
|
235
|
+
readonly decimals: 18;
|
|
236
|
+
};
|
|
237
|
+
readonly name: "Huobi ECO Chain Mainnet";
|
|
238
|
+
readonly shortName: "heco";
|
|
239
|
+
}, {
|
|
240
|
+
readonly chainId: 137;
|
|
241
|
+
readonly explorers: readonly [{
|
|
242
|
+
readonly name: "polygonscan";
|
|
243
|
+
readonly url: "https://polygonscan.com";
|
|
244
|
+
readonly standard: "EIP3091";
|
|
245
|
+
}, {
|
|
246
|
+
readonly name: "dexguru";
|
|
247
|
+
readonly url: "https://polygon.dex.guru";
|
|
248
|
+
readonly icon: "dexguru";
|
|
249
|
+
readonly standard: "EIP3091";
|
|
250
|
+
}];
|
|
251
|
+
readonly nativeCurrency: {
|
|
252
|
+
readonly name: "POL";
|
|
253
|
+
readonly symbol: "POL";
|
|
254
|
+
readonly decimals: 18;
|
|
255
|
+
};
|
|
256
|
+
readonly name: "Polygon Mainnet";
|
|
257
|
+
readonly shortName: "pol";
|
|
258
|
+
}, {
|
|
259
|
+
readonly chainId: 146;
|
|
260
|
+
readonly explorers: readonly [{
|
|
261
|
+
readonly name: "sonic";
|
|
262
|
+
readonly url: "https://explorer.soniclabs.com";
|
|
263
|
+
readonly icon: "sonic";
|
|
264
|
+
readonly standard: "none";
|
|
265
|
+
}];
|
|
266
|
+
readonly nativeCurrency: {
|
|
267
|
+
readonly name: "Sonic";
|
|
268
|
+
readonly symbol: "S";
|
|
269
|
+
readonly decimals: 18;
|
|
270
|
+
};
|
|
271
|
+
readonly name: "Sonic Mainnet";
|
|
272
|
+
readonly shortName: "sonic";
|
|
273
|
+
}, {
|
|
274
|
+
readonly chainId: 169;
|
|
275
|
+
readonly explorers: readonly [{
|
|
276
|
+
readonly name: "manta-pacific Explorer";
|
|
277
|
+
readonly url: "https://pacific-explorer.manta.network";
|
|
278
|
+
readonly standard: "EIP3091";
|
|
279
|
+
}];
|
|
280
|
+
readonly nativeCurrency: {
|
|
281
|
+
readonly name: "Ether";
|
|
282
|
+
readonly symbol: "ETH";
|
|
283
|
+
readonly decimals: 18;
|
|
284
|
+
};
|
|
285
|
+
readonly name: "Manta Pacific Mainnet";
|
|
286
|
+
readonly shortName: "manta";
|
|
287
|
+
}, {
|
|
288
|
+
readonly chainId: 199;
|
|
289
|
+
readonly explorers: readonly [{
|
|
290
|
+
readonly name: "BitTorrent Chain Explorer";
|
|
291
|
+
readonly url: "https://bttcscan.com";
|
|
292
|
+
readonly standard: "EIP3091";
|
|
293
|
+
}];
|
|
294
|
+
readonly nativeCurrency: {
|
|
295
|
+
readonly name: "BitTorrent";
|
|
296
|
+
readonly symbol: "BTT";
|
|
297
|
+
readonly decimals: 18;
|
|
298
|
+
};
|
|
299
|
+
readonly name: "BitTorrent Chain Mainnet";
|
|
300
|
+
readonly shortName: "BTT";
|
|
301
|
+
}, {
|
|
302
|
+
readonly chainId: 250;
|
|
303
|
+
readonly explorers: readonly [{
|
|
304
|
+
readonly name: "ftmscan";
|
|
305
|
+
readonly url: "https://ftmscan.com";
|
|
306
|
+
readonly icon: "ftmscan";
|
|
307
|
+
readonly standard: "EIP3091";
|
|
308
|
+
}, {
|
|
309
|
+
readonly name: "dexguru";
|
|
310
|
+
readonly url: "https://fantom.dex.guru";
|
|
311
|
+
readonly icon: "dexguru";
|
|
312
|
+
readonly standard: "EIP3091";
|
|
313
|
+
}];
|
|
314
|
+
readonly nativeCurrency: {
|
|
315
|
+
readonly name: "Fantom";
|
|
316
|
+
readonly symbol: "FTM";
|
|
317
|
+
readonly decimals: 18;
|
|
318
|
+
};
|
|
319
|
+
readonly name: "Fantom Opera";
|
|
320
|
+
readonly shortName: "ftm";
|
|
321
|
+
}, {
|
|
322
|
+
readonly chainId: 288;
|
|
323
|
+
readonly explorers: readonly [{
|
|
324
|
+
readonly name: "Bobascan";
|
|
325
|
+
readonly url: "https://bobascan.com";
|
|
326
|
+
readonly standard: "none";
|
|
327
|
+
}];
|
|
328
|
+
readonly nativeCurrency: {
|
|
329
|
+
readonly name: "Ether";
|
|
330
|
+
readonly symbol: "ETH";
|
|
331
|
+
readonly decimals: 18;
|
|
332
|
+
};
|
|
333
|
+
readonly name: "Boba Network";
|
|
334
|
+
readonly shortName: "Boba";
|
|
335
|
+
readonly parent: {
|
|
336
|
+
readonly type: "L2";
|
|
337
|
+
readonly chain: "eip155-1";
|
|
338
|
+
readonly bridges: readonly [{
|
|
339
|
+
readonly url: "https://gateway.boba.network";
|
|
340
|
+
}];
|
|
341
|
+
};
|
|
342
|
+
}, {
|
|
343
|
+
readonly chainId: 314;
|
|
344
|
+
readonly explorers: readonly [{
|
|
345
|
+
readonly name: "Filfox";
|
|
346
|
+
readonly url: "https://filfox.info/en";
|
|
347
|
+
readonly standard: "none";
|
|
348
|
+
}, {
|
|
349
|
+
readonly name: "Beryx";
|
|
350
|
+
readonly url: "https://beryx.zondax.ch";
|
|
351
|
+
readonly standard: "none";
|
|
352
|
+
}, {
|
|
353
|
+
readonly name: "Glif Explorer";
|
|
354
|
+
readonly url: "https://explorer.glif.io";
|
|
355
|
+
readonly standard: "EIP3091";
|
|
356
|
+
}, {
|
|
357
|
+
readonly name: "Dev.storage";
|
|
358
|
+
readonly url: "https://dev.storage";
|
|
359
|
+
readonly standard: "none";
|
|
360
|
+
}, {
|
|
361
|
+
readonly name: "Filscan";
|
|
362
|
+
readonly url: "https://filscan.io";
|
|
363
|
+
readonly standard: "none";
|
|
364
|
+
}, {
|
|
365
|
+
readonly name: "Filscout";
|
|
366
|
+
readonly url: "https://filscout.io/en";
|
|
367
|
+
readonly standard: "none";
|
|
368
|
+
}];
|
|
369
|
+
readonly nativeCurrency: {
|
|
370
|
+
readonly name: "filecoin";
|
|
371
|
+
readonly symbol: "FIL";
|
|
372
|
+
readonly decimals: 18;
|
|
373
|
+
};
|
|
374
|
+
readonly name: "Filecoin - Mainnet";
|
|
375
|
+
readonly shortName: "filecoin";
|
|
376
|
+
}, {
|
|
377
|
+
readonly chainId: 324;
|
|
378
|
+
readonly explorers: readonly [{
|
|
379
|
+
readonly name: "zkSync Era Block Explorer";
|
|
380
|
+
readonly url: "https://explorer.zksync.io";
|
|
381
|
+
readonly icon: "zksync-era";
|
|
382
|
+
readonly standard: "EIP3091";
|
|
383
|
+
}];
|
|
384
|
+
readonly nativeCurrency: {
|
|
385
|
+
readonly name: "Ether";
|
|
386
|
+
readonly symbol: "ETH";
|
|
387
|
+
readonly decimals: 18;
|
|
388
|
+
};
|
|
389
|
+
readonly name: "zkSync Mainnet";
|
|
390
|
+
readonly shortName: "zksync";
|
|
391
|
+
readonly parent: {
|
|
392
|
+
readonly type: "L2";
|
|
393
|
+
readonly chain: "eip155-1";
|
|
394
|
+
readonly bridges: readonly [{
|
|
395
|
+
readonly url: "https://bridge.zksync.io/";
|
|
396
|
+
}];
|
|
397
|
+
};
|
|
398
|
+
}, {
|
|
399
|
+
readonly chainId: 1088;
|
|
400
|
+
readonly explorers: readonly [{
|
|
401
|
+
readonly name: "blockscout";
|
|
402
|
+
readonly url: "https://andromeda-explorer.metis.io";
|
|
403
|
+
readonly standard: "EIP3091";
|
|
404
|
+
}];
|
|
405
|
+
readonly nativeCurrency: {
|
|
406
|
+
readonly name: "Metis";
|
|
407
|
+
readonly symbol: "METIS";
|
|
408
|
+
readonly decimals: 18;
|
|
409
|
+
};
|
|
410
|
+
readonly name: "Metis Andromeda Mainnet";
|
|
411
|
+
readonly shortName: "metis-andromeda";
|
|
412
|
+
readonly parent: {
|
|
413
|
+
readonly type: "L2";
|
|
414
|
+
readonly chain: "eip155-1";
|
|
415
|
+
readonly bridges: readonly [{
|
|
416
|
+
readonly url: "https://bridge.metis.io";
|
|
417
|
+
}];
|
|
418
|
+
};
|
|
419
|
+
}, {
|
|
420
|
+
readonly chainId: 1101;
|
|
421
|
+
readonly explorers: readonly [{
|
|
422
|
+
readonly name: "blockscout";
|
|
423
|
+
readonly url: "https://zkevm.polygonscan.com";
|
|
424
|
+
readonly icon: "zkevm";
|
|
425
|
+
readonly standard: "EIP3091";
|
|
426
|
+
}];
|
|
427
|
+
readonly nativeCurrency: {
|
|
428
|
+
readonly name: "Ether";
|
|
429
|
+
readonly symbol: "ETH";
|
|
430
|
+
readonly decimals: 18;
|
|
431
|
+
};
|
|
432
|
+
readonly name: "Polygon zkEVM";
|
|
433
|
+
readonly shortName: "zkevm";
|
|
434
|
+
readonly parent: {
|
|
435
|
+
readonly type: "L2";
|
|
436
|
+
readonly chain: "eip155-1";
|
|
437
|
+
readonly bridges: readonly [{
|
|
438
|
+
readonly url: "https://bridge.zkevm-rpc.com";
|
|
439
|
+
}];
|
|
440
|
+
};
|
|
441
|
+
}, {
|
|
442
|
+
readonly chainId: 1116;
|
|
443
|
+
readonly explorers: readonly [{
|
|
444
|
+
readonly name: "Core Scan";
|
|
445
|
+
readonly url: "https://scan.coredao.org";
|
|
446
|
+
readonly icon: "core";
|
|
447
|
+
readonly standard: "EIP3091";
|
|
448
|
+
}];
|
|
449
|
+
readonly nativeCurrency: {
|
|
450
|
+
readonly name: "Core Blockchain Native Token";
|
|
451
|
+
readonly symbol: "CORE";
|
|
452
|
+
readonly decimals: 18;
|
|
453
|
+
};
|
|
454
|
+
readonly name: "Core Blockchain Mainnet";
|
|
455
|
+
readonly shortName: "core";
|
|
456
|
+
}, {
|
|
457
|
+
readonly chainId: 1284;
|
|
458
|
+
readonly explorers: readonly [{
|
|
459
|
+
readonly name: "moonscan";
|
|
460
|
+
readonly url: "https://moonbeam.moonscan.io";
|
|
461
|
+
readonly standard: "none";
|
|
462
|
+
}];
|
|
463
|
+
readonly nativeCurrency: {
|
|
464
|
+
readonly name: "Glimmer";
|
|
465
|
+
readonly symbol: "GLMR";
|
|
466
|
+
readonly decimals: 18;
|
|
467
|
+
};
|
|
468
|
+
readonly name: "Moonbeam";
|
|
469
|
+
readonly shortName: "mbeam";
|
|
470
|
+
}, {
|
|
471
|
+
readonly chainId: 1285;
|
|
472
|
+
readonly explorers: readonly [{
|
|
473
|
+
readonly name: "moonscan";
|
|
474
|
+
readonly url: "https://moonriver.moonscan.io";
|
|
475
|
+
readonly standard: "none";
|
|
476
|
+
}];
|
|
477
|
+
readonly nativeCurrency: {
|
|
478
|
+
readonly name: "Moonriver";
|
|
479
|
+
readonly symbol: "MOVR";
|
|
480
|
+
readonly decimals: 18;
|
|
481
|
+
};
|
|
482
|
+
readonly name: "Moonriver";
|
|
483
|
+
readonly shortName: "mriver";
|
|
484
|
+
}, {
|
|
485
|
+
readonly chainId: 2222;
|
|
486
|
+
readonly explorers: readonly [{
|
|
487
|
+
readonly name: "Kava EVM Explorer";
|
|
488
|
+
readonly url: "https://kavascan.com";
|
|
489
|
+
readonly standard: "EIP3091";
|
|
490
|
+
readonly icon: "kava";
|
|
491
|
+
}];
|
|
492
|
+
readonly nativeCurrency: {
|
|
493
|
+
readonly name: "Kava";
|
|
494
|
+
readonly symbol: "KAVA";
|
|
495
|
+
readonly decimals: 18;
|
|
496
|
+
};
|
|
497
|
+
readonly name: "Kava";
|
|
498
|
+
readonly shortName: "kava";
|
|
499
|
+
}, {
|
|
500
|
+
readonly chainId: 4002;
|
|
501
|
+
readonly explorers: readonly [{
|
|
502
|
+
readonly name: "ftmscan";
|
|
503
|
+
readonly url: "https://testnet.ftmscan.com";
|
|
504
|
+
readonly icon: "ftmscan";
|
|
505
|
+
readonly standard: "EIP3091";
|
|
506
|
+
}];
|
|
507
|
+
readonly nativeCurrency: {
|
|
508
|
+
readonly name: "Fantom";
|
|
509
|
+
readonly symbol: "FTM";
|
|
510
|
+
readonly decimals: 18;
|
|
511
|
+
};
|
|
512
|
+
readonly name: "Fantom Testnet";
|
|
513
|
+
readonly shortName: "tftm";
|
|
514
|
+
}, {
|
|
515
|
+
readonly chainId: 5000;
|
|
516
|
+
readonly explorers: readonly [{
|
|
517
|
+
readonly name: "mantlescan";
|
|
518
|
+
readonly url: "https://mantlescan.xyz";
|
|
519
|
+
readonly standard: "EIP3091";
|
|
520
|
+
}, {
|
|
521
|
+
readonly name: "Mantle Explorer";
|
|
522
|
+
readonly url: "https://explorer.mantle.xyz";
|
|
523
|
+
readonly standard: "EIP3091";
|
|
524
|
+
}];
|
|
525
|
+
readonly nativeCurrency: {
|
|
526
|
+
readonly name: "Mantle";
|
|
527
|
+
readonly symbol: "MNT";
|
|
528
|
+
readonly decimals: 18;
|
|
529
|
+
};
|
|
530
|
+
readonly name: "Mantle";
|
|
531
|
+
readonly shortName: "mantle";
|
|
532
|
+
readonly parent: {
|
|
533
|
+
readonly type: "L2";
|
|
534
|
+
readonly chain: "eip155-1";
|
|
535
|
+
readonly bridges: readonly [{
|
|
536
|
+
readonly url: "https://bridge.mantle.xyz";
|
|
537
|
+
}];
|
|
538
|
+
};
|
|
539
|
+
}, {
|
|
540
|
+
readonly chainId: 7000;
|
|
541
|
+
readonly explorers: readonly [{
|
|
542
|
+
readonly name: "ZetaChain Mainnet Explorer";
|
|
543
|
+
readonly url: "https://explorer.zetachain.com";
|
|
544
|
+
readonly standard: "none";
|
|
545
|
+
}];
|
|
546
|
+
readonly nativeCurrency: {
|
|
547
|
+
readonly name: "Zeta";
|
|
548
|
+
readonly symbol: "ZETA";
|
|
549
|
+
readonly decimals: 18;
|
|
550
|
+
};
|
|
551
|
+
readonly name: "ZetaChain Mainnet";
|
|
552
|
+
readonly shortName: "zetachain-mainnet";
|
|
553
|
+
}, {
|
|
554
|
+
readonly chainId: 8453;
|
|
555
|
+
readonly explorers: readonly [{
|
|
556
|
+
readonly name: "basescan";
|
|
557
|
+
readonly url: "https://basescan.org";
|
|
558
|
+
readonly standard: "EIP3091";
|
|
559
|
+
}, {
|
|
560
|
+
readonly name: "basescout";
|
|
561
|
+
readonly url: "https://base.blockscout.com";
|
|
562
|
+
readonly icon: "blockscout";
|
|
563
|
+
readonly standard: "EIP3091";
|
|
564
|
+
}, {
|
|
565
|
+
readonly name: "dexguru";
|
|
566
|
+
readonly url: "https://base.dex.guru";
|
|
567
|
+
readonly icon: "dexguru";
|
|
568
|
+
readonly standard: "EIP3091";
|
|
569
|
+
}, {
|
|
570
|
+
readonly name: "Routescan";
|
|
571
|
+
readonly url: "https://base.superscan.network";
|
|
572
|
+
readonly standard: "EIP3091";
|
|
573
|
+
}];
|
|
574
|
+
readonly nativeCurrency: {
|
|
575
|
+
readonly name: "Ether";
|
|
576
|
+
readonly symbol: "ETH";
|
|
577
|
+
readonly decimals: 18;
|
|
578
|
+
};
|
|
579
|
+
readonly name: "Base";
|
|
580
|
+
readonly shortName: "base";
|
|
581
|
+
}, {
|
|
582
|
+
readonly chainId: 11235;
|
|
583
|
+
readonly explorers: readonly [{
|
|
584
|
+
readonly name: "Mainnet HAQQ Explorer";
|
|
585
|
+
readonly url: "https://explorer.haqq.network";
|
|
586
|
+
readonly standard: "EIP3091";
|
|
587
|
+
}];
|
|
588
|
+
readonly nativeCurrency: {
|
|
589
|
+
readonly name: "Islamic Coin";
|
|
590
|
+
readonly symbol: "ISLM";
|
|
591
|
+
readonly decimals: 18;
|
|
592
|
+
};
|
|
593
|
+
readonly name: "Haqq Network";
|
|
594
|
+
readonly shortName: "ISLM";
|
|
595
|
+
}, {
|
|
596
|
+
readonly chainId: 33111;
|
|
597
|
+
readonly explorers: readonly [{
|
|
598
|
+
readonly name: "Curtis Explorer";
|
|
599
|
+
readonly url: "https://explorer.curtis.apechain.com";
|
|
600
|
+
readonly standard: "EIP3091";
|
|
601
|
+
}];
|
|
602
|
+
readonly nativeCurrency: {
|
|
603
|
+
readonly name: "ApeCoin";
|
|
604
|
+
readonly symbol: "APE";
|
|
605
|
+
readonly decimals: 18;
|
|
606
|
+
};
|
|
607
|
+
readonly name: "Curtis";
|
|
608
|
+
readonly shortName: "curtis";
|
|
609
|
+
}, {
|
|
610
|
+
readonly chainId: 33139;
|
|
611
|
+
readonly explorers: readonly [{
|
|
612
|
+
readonly name: "ApeChain Explorer";
|
|
613
|
+
readonly url: "https://apescan.io";
|
|
614
|
+
readonly standard: "EIP3091";
|
|
615
|
+
}];
|
|
616
|
+
readonly nativeCurrency: {
|
|
617
|
+
readonly name: "ApeCoin";
|
|
618
|
+
readonly symbol: "APE";
|
|
619
|
+
readonly decimals: 18;
|
|
620
|
+
};
|
|
621
|
+
readonly name: "ApeChain";
|
|
622
|
+
readonly shortName: "apechain";
|
|
623
|
+
}, {
|
|
624
|
+
readonly chainId: 34443;
|
|
625
|
+
readonly explorers: readonly [{
|
|
626
|
+
readonly name: "modescout";
|
|
627
|
+
readonly url: "https://explorer.mode.network";
|
|
628
|
+
readonly standard: "none";
|
|
629
|
+
}, {
|
|
630
|
+
readonly name: "Routescan";
|
|
631
|
+
readonly url: "https://modescan.io";
|
|
632
|
+
readonly standard: "none";
|
|
633
|
+
}];
|
|
634
|
+
readonly nativeCurrency: {
|
|
635
|
+
readonly name: "Ether";
|
|
636
|
+
readonly symbol: "ETH";
|
|
637
|
+
readonly decimals: 18;
|
|
638
|
+
};
|
|
639
|
+
readonly name: "Mode";
|
|
640
|
+
readonly shortName: "mode";
|
|
641
|
+
}, {
|
|
642
|
+
readonly chainId: 42161;
|
|
643
|
+
readonly explorers: readonly [{
|
|
644
|
+
readonly name: "Arbiscan";
|
|
645
|
+
readonly url: "https://arbiscan.io";
|
|
646
|
+
readonly standard: "EIP3091";
|
|
647
|
+
}, {
|
|
648
|
+
readonly name: "Arbitrum Explorer";
|
|
649
|
+
readonly url: "https://explorer.arbitrum.io";
|
|
650
|
+
readonly standard: "EIP3091";
|
|
651
|
+
}, {
|
|
652
|
+
readonly name: "dexguru";
|
|
653
|
+
readonly url: "https://arbitrum.dex.guru";
|
|
654
|
+
readonly icon: "dexguru";
|
|
655
|
+
readonly standard: "EIP3091";
|
|
656
|
+
}];
|
|
657
|
+
readonly nativeCurrency: {
|
|
658
|
+
readonly name: "Ether";
|
|
659
|
+
readonly symbol: "ETH";
|
|
660
|
+
readonly decimals: 18;
|
|
661
|
+
};
|
|
662
|
+
readonly name: "Arbitrum One";
|
|
663
|
+
readonly shortName: "arb1";
|
|
664
|
+
readonly parent: {
|
|
665
|
+
readonly type: "L2";
|
|
666
|
+
readonly chain: "eip155-1";
|
|
667
|
+
readonly bridges: readonly [{
|
|
668
|
+
readonly url: "https://bridge.arbitrum.io";
|
|
669
|
+
}];
|
|
670
|
+
};
|
|
671
|
+
}, {
|
|
672
|
+
readonly chainId: 42170;
|
|
673
|
+
readonly explorers: readonly [{
|
|
674
|
+
readonly name: "Arbitrum Nova Chain Explorer";
|
|
675
|
+
readonly url: "https://nova-explorer.arbitrum.io";
|
|
676
|
+
readonly icon: "blockscout";
|
|
677
|
+
readonly standard: "EIP3091";
|
|
678
|
+
}];
|
|
679
|
+
readonly nativeCurrency: {
|
|
680
|
+
readonly name: "Ether";
|
|
681
|
+
readonly symbol: "ETH";
|
|
682
|
+
readonly decimals: 18;
|
|
683
|
+
};
|
|
684
|
+
readonly name: "Arbitrum Nova";
|
|
685
|
+
readonly shortName: "arb-nova";
|
|
686
|
+
readonly parent: {
|
|
687
|
+
readonly type: "L2";
|
|
688
|
+
readonly chain: "eip155-1";
|
|
689
|
+
readonly bridges: readonly [{
|
|
690
|
+
readonly url: "https://bridge.arbitrum.io";
|
|
691
|
+
}];
|
|
692
|
+
};
|
|
693
|
+
}, {
|
|
694
|
+
readonly chainId: 42220;
|
|
695
|
+
readonly explorers: readonly [{
|
|
696
|
+
readonly name: "Celoscan";
|
|
697
|
+
readonly url: "https://celoscan.io";
|
|
698
|
+
readonly standard: "EIP3091";
|
|
699
|
+
}, {
|
|
700
|
+
readonly name: "blockscout";
|
|
701
|
+
readonly url: "https://explorer.celo.org";
|
|
702
|
+
readonly standard: "none";
|
|
703
|
+
}];
|
|
704
|
+
readonly nativeCurrency: {
|
|
705
|
+
readonly name: "CELO";
|
|
706
|
+
readonly symbol: "CELO";
|
|
707
|
+
readonly decimals: 18;
|
|
708
|
+
};
|
|
709
|
+
readonly name: "Celo Mainnet";
|
|
710
|
+
readonly shortName: "celo";
|
|
711
|
+
}, {
|
|
712
|
+
readonly chainId: 43111;
|
|
713
|
+
readonly explorers: readonly [];
|
|
714
|
+
readonly nativeCurrency: {
|
|
715
|
+
readonly name: "Ether";
|
|
716
|
+
readonly symbol: "ETH";
|
|
717
|
+
readonly decimals: 18;
|
|
718
|
+
};
|
|
719
|
+
readonly name: "Hemi Network";
|
|
720
|
+
readonly shortName: "hemi";
|
|
721
|
+
readonly parent: {
|
|
722
|
+
readonly type: "L2";
|
|
723
|
+
readonly chain: "eip155-1";
|
|
724
|
+
};
|
|
725
|
+
}, {
|
|
726
|
+
readonly chainId: 43113;
|
|
727
|
+
readonly explorers: readonly [{
|
|
728
|
+
readonly name: "Etherscan";
|
|
729
|
+
readonly url: "https://testnet.snowscan.xyz";
|
|
730
|
+
readonly standard: "EIP3091";
|
|
731
|
+
}, {
|
|
732
|
+
readonly name: "Routescan";
|
|
733
|
+
readonly url: "https://testnet.snowtrace.io";
|
|
734
|
+
readonly standard: "EIP3091";
|
|
735
|
+
}, {
|
|
736
|
+
readonly name: "Avascan";
|
|
737
|
+
readonly url: "https://testnet.avascan.info";
|
|
738
|
+
readonly standard: "EIP3091";
|
|
739
|
+
}];
|
|
740
|
+
readonly nativeCurrency: {
|
|
741
|
+
readonly name: "Avalanche";
|
|
742
|
+
readonly symbol: "AVAX";
|
|
743
|
+
readonly decimals: 18;
|
|
744
|
+
};
|
|
745
|
+
readonly name: "Avalanche Fuji Testnet";
|
|
746
|
+
readonly shortName: "Fuji";
|
|
747
|
+
}, {
|
|
748
|
+
readonly chainId: 43114;
|
|
749
|
+
readonly explorers: readonly [{
|
|
750
|
+
readonly name: "Etherscan";
|
|
751
|
+
readonly url: "https://snowscan.xyz";
|
|
752
|
+
readonly standard: "EIP3091";
|
|
753
|
+
}, {
|
|
754
|
+
readonly name: "Routescan";
|
|
755
|
+
readonly url: "https://snowtrace.io";
|
|
756
|
+
readonly standard: "EIP3091";
|
|
757
|
+
}, {
|
|
758
|
+
readonly name: "Avascan";
|
|
759
|
+
readonly url: "https://avascan.info";
|
|
760
|
+
readonly standard: "EIP3091";
|
|
761
|
+
}];
|
|
762
|
+
readonly nativeCurrency: {
|
|
763
|
+
readonly name: "Avalanche";
|
|
764
|
+
readonly symbol: "AVAX";
|
|
765
|
+
readonly decimals: 18;
|
|
766
|
+
};
|
|
767
|
+
readonly name: "Avalanche C-Chain";
|
|
768
|
+
readonly shortName: "avax";
|
|
769
|
+
}, {
|
|
770
|
+
readonly chainId: 43288;
|
|
771
|
+
readonly explorers: readonly [{
|
|
772
|
+
readonly name: "Boba Avax Explorer";
|
|
773
|
+
readonly url: "https://blockexplorer.avax.boba.network";
|
|
774
|
+
readonly standard: "none";
|
|
775
|
+
}];
|
|
776
|
+
readonly nativeCurrency: {
|
|
777
|
+
readonly name: "Boba Token";
|
|
778
|
+
readonly symbol: "BOBA";
|
|
779
|
+
readonly decimals: 18;
|
|
780
|
+
};
|
|
781
|
+
readonly name: "Boba Avax";
|
|
782
|
+
readonly shortName: "bobaavax";
|
|
783
|
+
}, {
|
|
784
|
+
readonly chainId: 56288;
|
|
785
|
+
readonly explorers: readonly [{
|
|
786
|
+
readonly name: "Boba BNB block explorer";
|
|
787
|
+
readonly url: "https://bobascan.com";
|
|
788
|
+
readonly standard: "none";
|
|
789
|
+
}];
|
|
790
|
+
readonly nativeCurrency: {
|
|
791
|
+
readonly name: "Boba Token";
|
|
792
|
+
readonly symbol: "BOBA";
|
|
793
|
+
readonly decimals: 18;
|
|
794
|
+
};
|
|
795
|
+
readonly name: "Boba BNB Mainnet";
|
|
796
|
+
readonly shortName: "BobaBnb";
|
|
797
|
+
readonly parent: {
|
|
798
|
+
readonly type: "L2";
|
|
799
|
+
readonly chain: "eip155-56";
|
|
800
|
+
readonly bridges: readonly [{
|
|
801
|
+
readonly url: "https://gateway.boba.network";
|
|
802
|
+
}];
|
|
803
|
+
};
|
|
804
|
+
}, {
|
|
805
|
+
readonly chainId: 59144;
|
|
806
|
+
readonly explorers: readonly [{
|
|
807
|
+
readonly name: "Etherscan";
|
|
808
|
+
readonly url: "https://lineascan.build";
|
|
809
|
+
readonly standard: "EIP3091";
|
|
810
|
+
readonly icon: "linea";
|
|
811
|
+
}, {
|
|
812
|
+
readonly name: "Blockscout";
|
|
813
|
+
readonly url: "https://explorer.linea.build";
|
|
814
|
+
readonly standard: "EIP3091";
|
|
815
|
+
readonly icon: "linea";
|
|
816
|
+
}, {
|
|
817
|
+
readonly name: "L2scan";
|
|
818
|
+
readonly url: "https://linea.l2scan.co";
|
|
819
|
+
readonly standard: "EIP3091";
|
|
820
|
+
readonly icon: "linea";
|
|
821
|
+
}];
|
|
822
|
+
readonly nativeCurrency: {
|
|
823
|
+
readonly name: "Linea Ether";
|
|
824
|
+
readonly symbol: "ETH";
|
|
825
|
+
readonly decimals: 18;
|
|
826
|
+
};
|
|
827
|
+
readonly name: "Linea";
|
|
828
|
+
readonly shortName: "linea";
|
|
829
|
+
readonly parent: {
|
|
830
|
+
readonly type: "L2";
|
|
831
|
+
readonly chain: "eip155-1";
|
|
832
|
+
readonly bridges: readonly [{
|
|
833
|
+
readonly url: "https://bridge.linea.build";
|
|
834
|
+
}];
|
|
835
|
+
};
|
|
836
|
+
}, {
|
|
837
|
+
readonly chainId: 80001;
|
|
838
|
+
readonly explorers: readonly [{
|
|
839
|
+
readonly name: "polygonscan";
|
|
840
|
+
readonly url: "https://mumbai.polygonscan.com";
|
|
841
|
+
readonly standard: "EIP3091";
|
|
842
|
+
}];
|
|
843
|
+
readonly nativeCurrency: {
|
|
844
|
+
readonly name: "MATIC";
|
|
845
|
+
readonly symbol: "MATIC";
|
|
846
|
+
readonly decimals: 18;
|
|
847
|
+
};
|
|
848
|
+
readonly name: "Mumbai";
|
|
849
|
+
readonly shortName: "maticmum";
|
|
850
|
+
}, {
|
|
851
|
+
readonly chainId: 81457;
|
|
852
|
+
readonly explorers: readonly [{
|
|
853
|
+
readonly name: "Blastscan";
|
|
854
|
+
readonly url: "https://blastscan.io";
|
|
855
|
+
readonly icon: "blast";
|
|
856
|
+
readonly standard: "EIP3091";
|
|
857
|
+
}, {
|
|
858
|
+
readonly name: "Blast Explorer";
|
|
859
|
+
readonly url: "https://blastexplorer.io";
|
|
860
|
+
readonly icon: "blast";
|
|
861
|
+
readonly standard: "EIP3091";
|
|
862
|
+
}];
|
|
863
|
+
readonly nativeCurrency: {
|
|
864
|
+
readonly name: "Ether";
|
|
865
|
+
readonly symbol: "ETH";
|
|
866
|
+
readonly decimals: 18;
|
|
867
|
+
};
|
|
868
|
+
readonly name: "Blast";
|
|
869
|
+
readonly shortName: "blastmainnet";
|
|
870
|
+
readonly parent: {
|
|
871
|
+
readonly type: "L2";
|
|
872
|
+
readonly chain: "eip155-1";
|
|
873
|
+
};
|
|
874
|
+
}, {
|
|
875
|
+
readonly chainId: 167000;
|
|
876
|
+
readonly explorers: readonly [{
|
|
877
|
+
readonly name: "etherscan";
|
|
878
|
+
readonly url: "https://taikoscan.io";
|
|
879
|
+
readonly standard: "EIP3091";
|
|
880
|
+
}, {
|
|
881
|
+
readonly name: "Routescan";
|
|
882
|
+
readonly url: "https://taikoexplorer.com";
|
|
883
|
+
readonly standard: "EIP3091";
|
|
884
|
+
}];
|
|
885
|
+
readonly nativeCurrency: {
|
|
886
|
+
readonly name: "Ether";
|
|
887
|
+
readonly symbol: "ETH";
|
|
888
|
+
readonly decimals: 18;
|
|
889
|
+
};
|
|
890
|
+
readonly name: "Taiko Mainnet";
|
|
891
|
+
readonly shortName: "tko-mainnet";
|
|
892
|
+
}, {
|
|
893
|
+
readonly chainId: 421614;
|
|
894
|
+
readonly explorers: readonly [{
|
|
895
|
+
readonly name: "arbiscan-sepolia";
|
|
896
|
+
readonly url: "https://sepolia.arbiscan.io";
|
|
897
|
+
readonly standard: "EIP3091";
|
|
898
|
+
}, {
|
|
899
|
+
readonly name: "Arbitrum Sepolia Rollup Testnet Explorer";
|
|
900
|
+
readonly url: "https://sepolia-explorer.arbitrum.io";
|
|
901
|
+
readonly standard: "EIP3091";
|
|
902
|
+
}];
|
|
903
|
+
readonly nativeCurrency: {
|
|
904
|
+
readonly name: "Sepolia Ether";
|
|
905
|
+
readonly symbol: "ETH";
|
|
906
|
+
readonly decimals: 18;
|
|
907
|
+
};
|
|
908
|
+
readonly name: "Arbitrum Sepolia";
|
|
909
|
+
readonly shortName: "arb-sep";
|
|
910
|
+
readonly parent: {
|
|
911
|
+
readonly type: "L2";
|
|
912
|
+
readonly chain: "eip155-11155111";
|
|
913
|
+
readonly bridges: readonly [{
|
|
914
|
+
readonly url: "https://bridge.arbitrum.io";
|
|
915
|
+
}];
|
|
916
|
+
};
|
|
917
|
+
}, {
|
|
918
|
+
readonly chainId: 534352;
|
|
919
|
+
readonly explorers: readonly [{
|
|
920
|
+
readonly name: "Scrollscan";
|
|
921
|
+
readonly url: "https://scrollscan.com";
|
|
922
|
+
readonly standard: "EIP3091";
|
|
923
|
+
}];
|
|
924
|
+
readonly nativeCurrency: {
|
|
925
|
+
readonly name: "Ether";
|
|
926
|
+
readonly symbol: "ETH";
|
|
927
|
+
readonly decimals: 18;
|
|
928
|
+
};
|
|
929
|
+
readonly name: "Scroll";
|
|
930
|
+
readonly shortName: "scr";
|
|
931
|
+
readonly parent: {
|
|
932
|
+
readonly type: "L2";
|
|
933
|
+
readonly chain: "eip155-1";
|
|
934
|
+
readonly bridges: readonly [{
|
|
935
|
+
readonly url: "https://scroll.io/bridge";
|
|
936
|
+
}];
|
|
937
|
+
};
|
|
938
|
+
}, {
|
|
939
|
+
readonly chainId: 810180;
|
|
940
|
+
readonly explorers: readonly [{
|
|
941
|
+
readonly name: "zkLink Nova Block Explorer";
|
|
942
|
+
readonly url: "https://explorer.zklink.io";
|
|
943
|
+
readonly icon: "zklink-nova";
|
|
944
|
+
readonly standard: "EIP3091";
|
|
945
|
+
}];
|
|
946
|
+
readonly nativeCurrency: {
|
|
947
|
+
readonly name: "Ether";
|
|
948
|
+
readonly symbol: "ETH";
|
|
949
|
+
readonly decimals: 18;
|
|
950
|
+
};
|
|
951
|
+
readonly name: "zkLink Nova Mainnet";
|
|
952
|
+
readonly shortName: "zklink-nova";
|
|
953
|
+
readonly parent: {
|
|
954
|
+
readonly type: "L2";
|
|
955
|
+
readonly chain: "eip155-59144";
|
|
956
|
+
readonly bridges: readonly [{
|
|
957
|
+
readonly url: "https://portal.zklink.io";
|
|
958
|
+
}];
|
|
959
|
+
};
|
|
960
|
+
}, {
|
|
961
|
+
readonly chainId: 11155111;
|
|
962
|
+
readonly explorers: readonly [{
|
|
963
|
+
readonly name: "etherscan-sepolia";
|
|
964
|
+
readonly url: "https://sepolia.etherscan.io";
|
|
965
|
+
readonly standard: "EIP3091";
|
|
966
|
+
}, {
|
|
967
|
+
readonly name: "otterscan-sepolia";
|
|
968
|
+
readonly url: "https://sepolia.otterscan.io";
|
|
969
|
+
readonly standard: "EIP3091";
|
|
970
|
+
}, {
|
|
971
|
+
readonly name: "Routescan";
|
|
972
|
+
readonly url: "https://11155111.testnet.routescan.io";
|
|
973
|
+
readonly standard: "EIP3091";
|
|
974
|
+
}];
|
|
975
|
+
readonly nativeCurrency: {
|
|
976
|
+
readonly name: "Sepolia Ether";
|
|
977
|
+
readonly symbol: "ETH";
|
|
978
|
+
readonly decimals: 18;
|
|
979
|
+
};
|
|
980
|
+
readonly name: "Sepolia";
|
|
981
|
+
readonly shortName: "sep";
|
|
982
|
+
}, {
|
|
983
|
+
readonly chainId: 1666600000;
|
|
984
|
+
readonly explorers: readonly [{
|
|
985
|
+
readonly name: "Harmony Block Explorer";
|
|
986
|
+
readonly url: "https://explorer.harmony.one";
|
|
987
|
+
readonly standard: "EIP3091";
|
|
988
|
+
}];
|
|
989
|
+
readonly nativeCurrency: {
|
|
990
|
+
readonly name: "ONE";
|
|
991
|
+
readonly symbol: "ONE";
|
|
992
|
+
readonly decimals: 18;
|
|
993
|
+
};
|
|
994
|
+
readonly name: "Harmony Mainnet Shard 0";
|
|
995
|
+
readonly shortName: "hmy-s0";
|
|
996
|
+
}, {
|
|
997
|
+
readonly chainId: 2046399126;
|
|
998
|
+
readonly explorers: readonly [{
|
|
999
|
+
readonly name: "Blockscout";
|
|
1000
|
+
readonly url: "https://elated-tan-skat.explorer.mainnet.skalenodes.com";
|
|
1001
|
+
readonly standard: "EIP3091";
|
|
1002
|
+
}];
|
|
1003
|
+
readonly nativeCurrency: {
|
|
1004
|
+
readonly name: "sFUEL";
|
|
1005
|
+
readonly symbol: "sFUEL";
|
|
1006
|
+
readonly decimals: 18;
|
|
1007
|
+
};
|
|
1008
|
+
readonly name: "SKALE Europa Hub";
|
|
1009
|
+
readonly shortName: "europa";
|
|
1010
|
+
readonly parent: {
|
|
1011
|
+
readonly type: "L2";
|
|
1012
|
+
readonly chain: "eip155-1";
|
|
1013
|
+
readonly bridges: readonly [{
|
|
1014
|
+
readonly url: "https://ruby.exchange/bridge.html";
|
|
1015
|
+
}];
|
|
1016
|
+
};
|
|
1017
|
+
}, {
|
|
1018
|
+
readonly chainId: 11297108109;
|
|
1019
|
+
readonly explorers: readonly [{
|
|
1020
|
+
readonly name: "Chainlens";
|
|
1021
|
+
readonly url: "https://palm.chainlens.com";
|
|
1022
|
+
readonly standard: "EIP3091";
|
|
1023
|
+
}, {
|
|
1024
|
+
readonly name: "Dora";
|
|
1025
|
+
readonly url: "https://www.ondora.xyz/network/palm";
|
|
1026
|
+
readonly standard: "none";
|
|
1027
|
+
}];
|
|
1028
|
+
readonly nativeCurrency: {
|
|
1029
|
+
readonly name: "PALM";
|
|
1030
|
+
readonly symbol: "PALM";
|
|
1031
|
+
readonly decimals: 18;
|
|
1032
|
+
};
|
|
1033
|
+
readonly name: "Palm";
|
|
1034
|
+
readonly shortName: "palm";
|
|
1035
|
+
}, {
|
|
1036
|
+
readonly chainId: 33139;
|
|
1037
|
+
readonly explorers: readonly [{
|
|
1038
|
+
readonly name: "ApeChain Explorer";
|
|
1039
|
+
readonly url: "https://apescan.io";
|
|
1040
|
+
readonly standard: "EIP3091";
|
|
1041
|
+
}];
|
|
1042
|
+
readonly nativeCurrency: {
|
|
1043
|
+
readonly name: "ApeCoin";
|
|
1044
|
+
readonly symbol: "APE";
|
|
1045
|
+
readonly decimals: 18;
|
|
1046
|
+
};
|
|
1047
|
+
readonly name: "ApeChain";
|
|
1048
|
+
readonly shortName: "apechain";
|
|
1049
|
+
}];
|
|
1050
|
+
type Data = (typeof RAW)[number];
|
|
1051
|
+
export interface EvmChainBase {
|
|
1052
|
+
name: string;
|
|
1053
|
+
nativeCurrency: NativeCurrency;
|
|
1054
|
+
shortName: string;
|
|
1055
|
+
chainId: number;
|
|
1056
|
+
explorers?: Explorer[];
|
|
1057
|
+
parent?: Parent;
|
|
1058
|
+
}
|
|
1059
|
+
interface Explorer {
|
|
1060
|
+
name: string;
|
|
1061
|
+
url: string;
|
|
1062
|
+
standard: Standard;
|
|
1063
|
+
icon?: string;
|
|
1064
|
+
}
|
|
1065
|
+
declare const Standard: {
|
|
1066
|
+
readonly Eip3091: "EIP3091";
|
|
1067
|
+
readonly None: "none";
|
|
1068
|
+
};
|
|
1069
|
+
type Standard = (typeof Standard)[keyof typeof Standard];
|
|
1070
|
+
interface NativeCurrency {
|
|
1071
|
+
name: string;
|
|
1072
|
+
symbol: string;
|
|
1073
|
+
decimals: number;
|
|
1074
|
+
}
|
|
1075
|
+
interface Parent {
|
|
1076
|
+
type: Type;
|
|
1077
|
+
chain: string;
|
|
1078
|
+
bridges?: Bridge[];
|
|
1079
|
+
}
|
|
1080
|
+
interface Bridge {
|
|
1081
|
+
url: string;
|
|
1082
|
+
}
|
|
1083
|
+
declare const Type: {
|
|
1084
|
+
readonly L2: "L2";
|
|
1085
|
+
readonly Shard: "shard";
|
|
1086
|
+
};
|
|
1087
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
1088
|
+
export declare class EvmChain implements EvmChainBase {
|
|
1089
|
+
static fromRaw(data: Data): EvmChain;
|
|
1090
|
+
static from(chainId: number): EvmChain | undefined;
|
|
1091
|
+
static fromShortName(shortName: string): EvmChain | undefined;
|
|
1092
|
+
static fromChainId(chainId: number): EvmChain | undefined;
|
|
1093
|
+
static txUrl(chainId: number, txHash: string): string;
|
|
1094
|
+
static blockUrl(chainId: number, blockHashOrHeight: string): string;
|
|
1095
|
+
static tokenUrl(chainId: number, tokenAddress: string): string;
|
|
1096
|
+
static accountUrl(chainId: number, accountAddress: string): string;
|
|
1097
|
+
chainId: EvmChainBase['chainId'];
|
|
1098
|
+
name: EvmChainBase['name'];
|
|
1099
|
+
nativeCurrency: EvmChainBase['nativeCurrency'];
|
|
1100
|
+
shortName: EvmChainBase['shortName'];
|
|
1101
|
+
explorers: NonNullable<EvmChainBase['explorers']>;
|
|
1102
|
+
constructor(data: Data);
|
|
1103
|
+
getTxUrl(txHash: string): string;
|
|
1104
|
+
getBlockUrl(blockHashOrHeight: string): string;
|
|
1105
|
+
getTokenUrl(tokenAddress: string): string;
|
|
1106
|
+
getAccountUrl(accountAddress: string): string;
|
|
1107
|
+
}
|
|
1108
|
+
export declare const evmNatives: {
|
|
1109
|
+
[k: string]: NativeCurrency;
|
|
1110
|
+
};
|
|
1111
|
+
export declare const evmChains: {
|
|
1112
|
+
[k: string]: EvmChain;
|
|
1113
|
+
};
|
|
1114
|
+
export declare const evmChainsL2: {
|
|
1115
|
+
[k: string]: EvmChain;
|
|
1116
|
+
};
|
|
1117
|
+
export declare const evmChainIds: (1 | 5 | 10 | 25 | 30 | 40 | 56 | 66 | 97 | 100 | 108 | 122 | 128 | 137 | 146 | 169 | 199 | 250 | 288 | 314 | 324 | 1088 | 1101 | 1116 | 1284 | 1285 | 2222 | 4002 | 5000 | 7000 | 8453 | 11235 | 33111 | 33139 | 34443 | 42161 | 42170 | 42220 | 43111 | 43113 | 43114 | 43288 | 56288 | 59144 | 80001 | 81457 | 167000 | 421614 | 534352 | 810180 | 11155111 | 1666600000 | 2046399126 | 11297108109)[];
|
|
1118
|
+
export declare const evmChainShortNameToChainId: {
|
|
1119
|
+
[k: string]: number;
|
|
1120
|
+
};
|
|
1121
|
+
export declare const evmChainShortName: {
|
|
1122
|
+
[k: string]: string;
|
|
1123
|
+
};
|
|
1124
|
+
export declare const evmChainName: {
|
|
1125
|
+
[k: string]: string;
|
|
1126
|
+
};
|
|
1127
|
+
export declare const getEvmChainInfo: (input: string) => {
|
|
1128
|
+
chainId: EvmChainId;
|
|
1129
|
+
networkName: EvmChainKey;
|
|
1130
|
+
} | {
|
|
1131
|
+
chainId: undefined;
|
|
1132
|
+
networkName: undefined;
|
|
1133
|
+
};
|
|
1134
|
+
export declare const EVM_TESTNET_CHAIN_IDS: readonly [421614, 43113, 97, 4002, 80001, 11155111, 33111];
|
|
1135
|
+
export type EvmTestnetChainId = (typeof EVM_TESTNET_CHAIN_IDS)[number];
|
|
1136
|
+
export declare const isEvmChainId: (chainId: number) => chainId is EvmChainId;
|
|
1137
|
+
export declare const EvmChainKey: {
|
|
1138
|
+
readonly 42161: "arbitrum";
|
|
1139
|
+
readonly 42170: "arbitrum-nova";
|
|
1140
|
+
readonly 421614: "arbitrum-testnet";
|
|
1141
|
+
readonly 43114: "avalanche";
|
|
1142
|
+
readonly 43113: "avalance-testnet";
|
|
1143
|
+
readonly 56: "bsc";
|
|
1144
|
+
readonly 97: "bsc-testnet";
|
|
1145
|
+
readonly 42220: "celo";
|
|
1146
|
+
readonly 1: "ethereum";
|
|
1147
|
+
readonly 250: "fantom";
|
|
1148
|
+
readonly 4002: "fantom-testnet";
|
|
1149
|
+
readonly 122: "fuse";
|
|
1150
|
+
readonly 5: "goerli";
|
|
1151
|
+
readonly 1666600000: "harmony";
|
|
1152
|
+
readonly 128: "heco";
|
|
1153
|
+
readonly 137: "polygon";
|
|
1154
|
+
readonly 80001: "matic-testnet";
|
|
1155
|
+
readonly 1284: "moonbeam";
|
|
1156
|
+
readonly 1285: "moonriver";
|
|
1157
|
+
readonly 66: "okex";
|
|
1158
|
+
readonly 11297108109: "palm";
|
|
1159
|
+
readonly 40: "telos";
|
|
1160
|
+
readonly 100: "gnosis";
|
|
1161
|
+
readonly 10: "optimism";
|
|
1162
|
+
readonly 2222: "kava";
|
|
1163
|
+
readonly 1088: "metis";
|
|
1164
|
+
readonly 288: "boba";
|
|
1165
|
+
readonly 43288: "boba-avax";
|
|
1166
|
+
readonly 56288: "boba-bnb";
|
|
1167
|
+
readonly 199: "bttc";
|
|
1168
|
+
readonly 1101: "polygon-zkevm";
|
|
1169
|
+
readonly 108: "thundercore";
|
|
1170
|
+
readonly 11235: "haqq";
|
|
1171
|
+
readonly 1116: "core";
|
|
1172
|
+
readonly 324: "zksync-era";
|
|
1173
|
+
readonly 59144: "linea";
|
|
1174
|
+
readonly 8453: "base";
|
|
1175
|
+
readonly 314: "filecoin";
|
|
1176
|
+
readonly 11155111: "sepolia";
|
|
1177
|
+
readonly 534352: "scroll";
|
|
1178
|
+
readonly 7000: "zetachain";
|
|
1179
|
+
readonly 25: "cronos";
|
|
1180
|
+
readonly 81457: "blast";
|
|
1181
|
+
readonly 2046399126: "skale-europa";
|
|
1182
|
+
readonly 30: "rootstock";
|
|
1183
|
+
readonly 5000: "mantle";
|
|
1184
|
+
readonly 33111: "curtis";
|
|
1185
|
+
readonly 169: "manta";
|
|
1186
|
+
readonly 34443: "mode";
|
|
1187
|
+
readonly 167000: "taiko";
|
|
1188
|
+
readonly 810180: "zklink";
|
|
1189
|
+
readonly 33139: "ape";
|
|
1190
|
+
readonly 146: "sonic";
|
|
1191
|
+
readonly 43111: "hemi";
|
|
1192
|
+
};
|
|
1193
|
+
export type EvmChainKey = (typeof EvmChainKey)[keyof typeof EvmChainKey];
|
|
1194
|
+
export declare const EvmNetworkNameKey: { [key in EvmChainKey]: EvmChainId; };
|
|
1195
|
+
export declare const isEvmNetworkNameKey: (key: string) => key is EvmChainKey;
|
|
1196
|
+
export default evmChains;
|
|
1197
|
+
//# sourceMappingURL=index.d.ts.map
|