sushi 2.1.0 → 3.0.0
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/README.md +3 -0
- package/dist/abi/StargateFeeLibraryV03.d.ts +266 -0
- package/dist/abi/StargateFeeLibraryV03.d.ts.map +1 -0
- package/dist/abi/StargateFeeLibraryV03.js +176 -0
- package/dist/abi/StargateFeeLibraryV03.js.map +1 -0
- package/dist/abi/StargatePool.d.ts +1511 -0
- package/dist/abi/StargatePool.d.ts.map +1 -0
- package/dist/abi/StargatePool.js +1123 -0
- package/dist/abi/StargatePool.js.map +1 -0
- package/dist/abi/balanceOfAbi.d.ts +16 -0
- package/dist/abi/balanceOfAbi.d.ts.map +1 -0
- package/dist/abi/balanceOfAbi.js +25 -0
- package/dist/abi/balanceOfAbi.js.map +1 -0
- package/dist/abi/bentoBoxV1Abi.d.ts +899 -0
- package/dist/abi/bentoBoxV1Abi.d.ts.map +1 -0
- package/dist/abi/bentoBoxV1Abi.js +1158 -0
- package/dist/abi/bentoBoxV1Abi.js.map +1 -0
- package/dist/abi/bentoBoxV1TotalsAbi.d.ts +20 -0
- package/dist/abi/bentoBoxV1TotalsAbi.d.ts.map +1 -0
- package/dist/abi/bentoBoxV1TotalsAbi.js +30 -0
- package/dist/abi/bentoBoxV1TotalsAbi.js.map +1 -0
- package/dist/abi/cloneRewarderTime.d.ts +379 -0
- package/dist/abi/cloneRewarderTime.d.ts.map +1 -0
- package/dist/abi/cloneRewarderTime.js +298 -0
- package/dist/abi/cloneRewarderTime.js.map +1 -0
- package/dist/abi/complexRewarderTimeAbi.d.ts +417 -0
- package/dist/abi/complexRewarderTimeAbi.d.ts.map +1 -0
- package/dist/abi/complexRewarderTimeAbi.js +310 -0
- package/dist/abi/complexRewarderTimeAbi.js.map +1 -0
- package/dist/abi/erc20Abi.d.ts +185 -0
- package/dist/abi/erc20Abi.d.ts.map +1 -0
- package/dist/abi/erc20Abi.js +247 -0
- package/dist/abi/erc20Abi.js.map +1 -0
- package/dist/abi/furoStreamAbi.d.ts +796 -0
- package/dist/abi/furoStreamAbi.d.ts.map +1 -0
- package/dist/abi/furoStreamAbi.js +1027 -0
- package/dist/abi/furoStreamAbi.js.map +1 -0
- package/dist/abi/furoStreamRouterAbi.d.ts +134 -0
- package/dist/abi/furoStreamRouterAbi.d.ts.map +1 -0
- package/dist/abi/furoStreamRouterAbi.js +177 -0
- package/dist/abi/furoStreamRouterAbi.js.map +1 -0
- package/dist/abi/furoVestingAbi.d.ts +742 -0
- package/dist/abi/furoVestingAbi.d.ts.map +1 -0
- package/dist/abi/furoVestingAbi.js +955 -0
- package/dist/abi/furoVestingAbi.js.map +1 -0
- package/dist/abi/furoVestingRouterAbi.d.ts +159 -0
- package/dist/abi/furoVestingRouterAbi.d.ts.map +1 -0
- package/dist/abi/furoVestingRouterAbi.js +209 -0
- package/dist/abi/furoVestingRouterAbi.js.map +1 -0
- package/dist/abi/gasDataArbitrumAbi.d.ts +32 -0
- package/dist/abi/gasDataArbitrumAbi.d.ts.map +1 -0
- package/dist/abi/gasDataArbitrumAbi.js +44 -0
- package/dist/abi/gasDataArbitrumAbi.js.map +1 -0
- package/dist/abi/gasPriceOracleAbi.d.ts +229 -0
- package/dist/abi/gasPriceOracleAbi.d.ts.map +1 -0
- package/dist/abi/gasPriceOracleAbi.js +302 -0
- package/dist/abi/gasPriceOracleAbi.js.map +1 -0
- package/dist/abi/getPoolsAbi.d.ts +28 -0
- package/dist/abi/getPoolsAbi.d.ts.map +1 -0
- package/dist/abi/getPoolsAbi.js +40 -0
- package/dist/abi/getPoolsAbi.js.map +1 -0
- package/dist/abi/getReservesAbi.d.ts +20 -0
- package/dist/abi/getReservesAbi.d.ts.map +1 -0
- package/dist/abi/getReservesAbi.js +29 -0
- package/dist/abi/getReservesAbi.js.map +1 -0
- package/dist/abi/index.d.ts +47 -0
- package/dist/abi/index.d.ts.map +1 -0
- package/dist/abi/index.js +97 -0
- package/dist/abi/index.js.map +1 -0
- package/dist/abi/masterChefV1Abi.d.ts +421 -0
- package/dist/abi/masterChefV1Abi.d.ts.map +1 -0
- package/dist/abi/masterChefV1Abi.js +546 -0
- package/dist/abi/masterChefV1Abi.js.map +1 -0
- package/dist/abi/masterChefV2Abi.d.ts +667 -0
- package/dist/abi/masterChefV2Abi.d.ts.map +1 -0
- package/dist/abi/masterChefV2Abi.js +858 -0
- package/dist/abi/masterChefV2Abi.js.map +1 -0
- package/dist/abi/miniChefAbi.d.ts +638 -0
- package/dist/abi/miniChefAbi.d.ts.map +1 -0
- package/dist/abi/miniChefAbi.js +471 -0
- package/dist/abi/miniChefAbi.js.map +1 -0
- package/dist/abi/multicall2Abi.d.ts +237 -0
- package/dist/abi/multicall2Abi.d.ts.map +1 -0
- package/dist/abi/multicall2Abi.js +171 -0
- package/dist/abi/multicall2Abi.js.map +1 -0
- package/dist/abi/multicall3Abi.d.ts +333 -0
- package/dist/abi/multicall3Abi.d.ts.map +1 -0
- package/dist/abi/multicall3Abi.js +242 -0
- package/dist/abi/multicall3Abi.js.map +1 -0
- package/dist/abi/nonfungiblePositionManagerAbi.d.ts +948 -0
- package/dist/abi/nonfungiblePositionManagerAbi.d.ts.map +1 -0
- package/dist/abi/nonfungiblePositionManagerAbi.js +1225 -0
- package/dist/abi/nonfungiblePositionManagerAbi.js.map +1 -0
- package/dist/abi/permit2Abi.d.ts +701 -0
- package/dist/abi/permit2Abi.d.ts.map +1 -0
- package/dist/abi/permit2Abi.js +905 -0
- package/dist/abi/permit2Abi.js.map +1 -0
- package/dist/abi/poolsCountAbi.d.ts +20 -0
- package/dist/abi/poolsCountAbi.d.ts.map +1 -0
- package/dist/abi/poolsCountAbi.js +30 -0
- package/dist/abi/poolsCountAbi.js.map +1 -0
- package/dist/abi/routeProcessor2Abi.d.ts +228 -0
- package/dist/abi/routeProcessor2Abi.d.ts.map +1 -0
- package/dist/abi/routeProcessor2Abi.js +293 -0
- package/dist/abi/routeProcessor2Abi.js.map +1 -0
- package/dist/abi/routeProcessor3Abi.d.ts +228 -0
- package/dist/abi/routeProcessor3Abi.d.ts.map +1 -0
- package/dist/abi/routeProcessor3Abi.js +293 -0
- package/dist/abi/routeProcessor3Abi.js.map +1 -0
- package/dist/abi/routeProcessor3_1Abi.d.ts +228 -0
- package/dist/abi/routeProcessor3_1Abi.d.ts.map +1 -0
- package/dist/abi/routeProcessor3_1Abi.js +293 -0
- package/dist/abi/routeProcessor3_1Abi.js.map +1 -0
- package/dist/abi/routeProcessor4Abi.d.ts +228 -0
- package/dist/abi/routeProcessor4Abi.d.ts.map +1 -0
- package/dist/abi/routeProcessor4Abi.js +293 -0
- package/dist/abi/routeProcessor4Abi.js.map +1 -0
- package/dist/abi/routeProcessorAbi.d.ts +99 -0
- package/dist/abi/routeProcessorAbi.d.ts.map +1 -0
- package/dist/abi/routeProcessorAbi.js +132 -0
- package/dist/abi/routeProcessorAbi.js.map +1 -0
- package/dist/abi/slot0Abi.d.ts +36 -0
- package/dist/abi/slot0Abi.d.ts.map +1 -0
- package/dist/abi/slot0Abi.js +29 -0
- package/dist/abi/slot0Abi.js.map +1 -0
- package/dist/abi/sushiV3FactoryAbi.d.ts +184 -0
- package/dist/abi/sushiV3FactoryAbi.d.ts.map +1 -0
- package/dist/abi/sushiV3FactoryAbi.js +240 -0
- package/dist/abi/sushiV3FactoryAbi.js.map +1 -0
- package/dist/abi/sushiV3PoolAbi.d.ts +775 -0
- package/dist/abi/sushiV3PoolAbi.d.ts.map +1 -0
- package/dist/abi/sushiV3PoolAbi.js +992 -0
- package/dist/abi/sushiV3PoolAbi.js.map +1 -0
- package/dist/abi/sushiXSwapAbi.d.ts +208 -0
- package/dist/abi/sushiXSwapAbi.d.ts.map +1 -0
- package/dist/abi/sushiXSwapAbi.js +271 -0
- package/dist/abi/sushiXSwapAbi.js.map +1 -0
- package/dist/abi/swapFeeAbi.d.ts +12 -0
- package/dist/abi/swapFeeAbi.d.ts.map +1 -0
- package/dist/abi/swapFeeAbi.js +19 -0
- package/dist/abi/swapFeeAbi.js.map +1 -0
- package/dist/abi/tickLensAbi.d.ts +33 -0
- package/dist/abi/tickLensAbi.d.ts.map +1 -0
- package/dist/abi/tickLensAbi.js +27 -0
- package/dist/abi/tickLensAbi.js.map +1 -0
- package/dist/abi/totalsAbi.d.ts +20 -0
- package/dist/abi/totalsAbi.d.ts.map +1 -0
- package/dist/abi/totalsAbi.js +30 -0
- package/dist/abi/totalsAbi.js.map +1 -0
- package/dist/abi/tridentConstantPoolAbi.d.ts +658 -0
- package/dist/abi/tridentConstantPoolAbi.d.ts.map +1 -0
- package/dist/abi/tridentConstantPoolAbi.js +856 -0
- package/dist/abi/tridentConstantPoolAbi.js.map +1 -0
- package/dist/abi/tridentConstantPoolFactoryAbi.d.ts +176 -0
- package/dist/abi/tridentConstantPoolFactoryAbi.d.ts.map +1 -0
- package/dist/abi/tridentConstantPoolFactoryAbi.js +235 -0
- package/dist/abi/tridentConstantPoolFactoryAbi.js.map +1 -0
- package/dist/abi/tridentGetPoolsAbi.d.ts +28 -0
- package/dist/abi/tridentGetPoolsAbi.d.ts.map +1 -0
- package/dist/abi/tridentGetPoolsAbi.js +40 -0
- package/dist/abi/tridentGetPoolsAbi.js.map +1 -0
- package/dist/abi/tridentPoolsCountAbi.d.ts +20 -0
- package/dist/abi/tridentPoolsCountAbi.d.ts.map +1 -0
- package/dist/abi/tridentPoolsCountAbi.js +30 -0
- package/dist/abi/tridentPoolsCountAbi.js.map +1 -0
- package/dist/abi/tridentRouterAbi.d.ts +589 -0
- package/dist/abi/tridentRouterAbi.d.ts.map +1 -0
- package/dist/abi/tridentRouterAbi.js +767 -0
- package/dist/abi/tridentRouterAbi.js.map +1 -0
- package/dist/abi/tridentStablePoolAbi.d.ts +649 -0
- package/dist/abi/tridentStablePoolAbi.d.ts.map +1 -0
- package/dist/abi/tridentStablePoolAbi.js +845 -0
- package/dist/abi/tridentStablePoolAbi.js.map +1 -0
- package/dist/abi/tridentStablePoolFactoryAbi.d.ts +172 -0
- package/dist/abi/tridentStablePoolFactoryAbi.d.ts.map +1 -0
- package/dist/abi/tridentStablePoolFactoryAbi.js +230 -0
- package/dist/abi/tridentStablePoolFactoryAbi.js.map +1 -0
- package/dist/abi/tridentSwapFeeAbi.d.ts +12 -0
- package/dist/abi/tridentSwapFeeAbi.d.ts.map +1 -0
- package/dist/abi/tridentSwapFeeAbi.js +19 -0
- package/dist/abi/tridentSwapFeeAbi.js.map +1 -0
- package/dist/abi/uniswapV2PairAbi.d.ts +561 -0
- package/dist/abi/uniswapV2PairAbi.d.ts.map +1 -0
- package/dist/abi/uniswapV2PairAbi.js +711 -0
- package/dist/abi/uniswapV2PairAbi.js.map +1 -0
- package/dist/abi/uniswapV2RouterAbi.d.ts +753 -0
- package/dist/abi/uniswapV2RouterAbi.d.ts.map +1 -0
- package/dist/abi/uniswapV2RouterAbi.js +360 -0
- package/dist/abi/uniswapV2RouterAbi.js.map +1 -0
- package/dist/abi/v3baseAbi.d.ts +42 -0
- package/dist/abi/v3baseAbi.d.ts.map +1 -0
- package/dist/abi/v3baseAbi.js +34 -0
- package/dist/abi/v3baseAbi.js.map +1 -0
- package/dist/abi/weth9Abi.d.ts +214 -0
- package/dist/abi/weth9Abi.d.ts.map +1 -0
- package/dist/abi/weth9Abi.js +157 -0
- package/dist/abi/weth9Abi.js.map +1 -0
- package/dist/calculate/gasMargin.d.ts +2 -0
- package/dist/calculate/gasMargin.d.ts.map +1 -0
- package/dist/calculate/gasMargin.js +9 -0
- package/dist/calculate/gasMargin.js.map +1 -0
- package/dist/calculate/index.d.ts +2 -0
- package/dist/calculate/index.d.ts.map +1 -0
- package/dist/calculate/index.js +6 -0
- package/dist/calculate/index.js.map +1 -0
- package/dist/chain/constants.d.ts +94 -0
- package/dist/chain/constants.d.ts.map +1 -0
- package/dist/chain/constants.js +121 -0
- package/dist/chain/constants.js.map +1 -0
- package/dist/chain/generated.d.ts +687 -0
- package/dist/chain/generated.d.ts.map +1 -0
- package/dist/chain/generated.js +836 -0
- package/dist/chain/generated.js.map +1 -0
- package/dist/chain/index.d.ts +760 -0
- package/dist/chain/index.d.ts.map +1 -0
- package/dist/chain/index.js +146 -0
- package/dist/chain/index.js.map +1 -0
- package/dist/convert/index.d.ts +2 -0
- package/dist/convert/index.d.ts.map +1 -0
- package/dist/convert/index.js +6 -0
- package/dist/convert/index.js.map +1 -0
- package/dist/convert/toHex.d.ts +8 -0
- package/dist/convert/toHex.d.ts.map +1 -0
- package/dist/convert/toHex.js +18 -0
- package/dist/convert/toHex.js.map +1 -0
- package/dist/currency/AddressMapper.d.ts +8 -0
- package/dist/currency/AddressMapper.d.ts.map +1 -0
- package/dist/currency/AddressMapper.js +55 -0
- package/dist/currency/AddressMapper.js.map +1 -0
- package/dist/currency/AddressMapper.test.d.ts +2 -0
- package/dist/currency/AddressMapper.test.d.ts.map +1 -0
- package/dist/currency/AddressMapper.test.js +226 -0
- package/dist/currency/AddressMapper.test.js.map +1 -0
- package/dist/currency/Amount.d.ts +43 -0
- package/dist/currency/Amount.d.ts.map +1 -0
- package/dist/currency/Amount.js +112 -0
- package/dist/currency/Amount.js.map +1 -0
- package/dist/currency/Amount.test.d.ts +2 -0
- package/dist/currency/Amount.test.d.ts.map +1 -0
- package/dist/currency/Amount.test.js +141 -0
- package/dist/currency/Amount.test.js.map +1 -0
- package/dist/currency/Currency.d.ts +56 -0
- package/dist/currency/Currency.d.ts.map +1 -0
- package/dist/currency/Currency.js +48 -0
- package/dist/currency/Currency.js.map +1 -0
- package/dist/currency/Native.d.ts +24 -0
- package/dist/currency/Native.d.ts.map +1 -0
- package/dist/currency/Native.js +72 -0
- package/dist/currency/Native.js.map +1 -0
- package/dist/currency/Native.test.d.ts +2 -0
- package/dist/currency/Native.test.d.ts.map +1 -0
- package/dist/currency/Native.test.js +38 -0
- package/dist/currency/Native.test.js.map +1 -0
- package/dist/currency/Price.d.ts +40 -0
- package/dist/currency/Price.d.ts.map +1 -0
- package/dist/currency/Price.js +80 -0
- package/dist/currency/Price.js.map +1 -0
- package/dist/currency/Price.test.d.ts +2 -0
- package/dist/currency/Price.test.d.ts.map +1 -0
- package/dist/currency/Price.test.js +59 -0
- package/dist/currency/Price.test.js.map +1 -0
- package/dist/currency/Share.d.ts +28 -0
- package/dist/currency/Share.d.ts.map +1 -0
- package/dist/currency/Share.js +75 -0
- package/dist/currency/Share.js.map +1 -0
- package/dist/currency/Token.d.ts +44 -0
- package/dist/currency/Token.d.ts.map +1 -0
- package/dist/currency/Token.js +93 -0
- package/dist/currency/Token.js.map +1 -0
- package/dist/currency/Token.test.d.ts +2 -0
- package/dist/currency/Token.test.d.ts.map +1 -0
- package/dist/currency/Token.test.js +66 -0
- package/dist/currency/Token.test.js.map +1 -0
- package/dist/currency/Type.d.ts +4 -0
- package/dist/currency/Type.d.ts.map +1 -0
- package/dist/currency/Type.js +3 -0
- package/dist/currency/Type.js.map +1 -0
- package/dist/currency/constants/default-quote.d.ts +38 -0
- package/dist/currency/constants/default-quote.d.ts.map +1 -0
- package/dist/currency/constants/default-quote.js +68 -0
- package/dist/currency/constants/default-quote.js.map +1 -0
- package/dist/currency/constants/governance.d.ts +4 -0
- package/dist/currency/constants/governance.d.ts.map +1 -0
- package/dist/currency/constants/governance.js +9 -0
- package/dist/currency/constants/governance.js.map +1 -0
- package/dist/currency/constants/index.d.ts +10 -0
- package/dist/currency/constants/index.d.ts.map +1 -0
- package/dist/currency/constants/index.js +26 -0
- package/dist/currency/constants/index.js.map +1 -0
- package/dist/currency/constants/lsds.d.ts +4 -0
- package/dist/currency/constants/lsds.d.ts.map +1 -0
- package/dist/currency/constants/lsds.js +8 -0
- package/dist/currency/constants/lsds.js.map +1 -0
- package/dist/currency/constants/native-ids.d.ts +46 -0
- package/dist/currency/constants/native-ids.d.ts.map +1 -0
- package/dist/currency/constants/native-ids.js +55 -0
- package/dist/currency/constants/native-ids.js.map +1 -0
- package/dist/currency/constants/short-name-to-currency.d.ts +221 -0
- package/dist/currency/constants/short-name-to-currency.d.ts.map +1 -0
- package/dist/currency/constants/short-name-to-currency.js +267 -0
- package/dist/currency/constants/short-name-to-currency.js.map +1 -0
- package/dist/currency/constants/stables.d.ts +4 -0
- package/dist/currency/constants/stables.d.ts.map +1 -0
- package/dist/currency/constants/stables.js +14 -0
- package/dist/currency/constants/stables.js.map +1 -0
- package/dist/currency/constants/token-addresses.d.ts +476 -0
- package/dist/currency/constants/token-addresses.d.ts.map +1 -0
- package/dist/currency/constants/token-addresses.js +494 -0
- package/dist/currency/constants/token-addresses.js.map +1 -0
- package/dist/currency/constants/token-map.d.ts +5 -0
- package/dist/currency/constants/token-map.d.ts.map +1 -0
- package/dist/currency/constants/token-map.js +91 -0
- package/dist/currency/constants/token-map.js.map +1 -0
- package/dist/currency/constants/tokens.d.ts +99 -0
- package/dist/currency/constants/tokens.d.ts.map +1 -0
- package/dist/currency/constants/tokens.js +511 -0
- package/dist/currency/constants/tokens.js.map +1 -0
- package/dist/currency/functions/address-map-to-token-map.d.ts +9 -0
- package/dist/currency/functions/address-map-to-token-map.d.ts.map +1 -0
- package/dist/currency/functions/address-map-to-token-map.js +18 -0
- package/dist/currency/functions/address-map-to-token-map.js.map +1 -0
- package/dist/currency/functions/index.d.ts +4 -0
- package/dist/currency/functions/index.d.ts.map +1 -0
- package/dist/currency/functions/index.js +20 -0
- package/dist/currency/functions/index.js.map +1 -0
- package/dist/currency/functions/try-parse-amount.d.ts +4 -0
- package/dist/currency/functions/try-parse-amount.d.ts.map +1 -0
- package/dist/currency/functions/try-parse-amount.js +25 -0
- package/dist/currency/functions/try-parse-amount.js.map +1 -0
- package/dist/currency/functions/unwrap.d.ts +3 -0
- package/dist/currency/functions/unwrap.d.ts.map +1 -0
- package/dist/currency/functions/unwrap.js +12 -0
- package/dist/currency/functions/unwrap.js.map +1 -0
- package/dist/currency/index.d.ts +11 -0
- package/dist/currency/index.d.ts.map +1 -0
- package/dist/currency/index.js +29 -0
- package/dist/currency/index.js.map +1 -0
- package/dist/currency/zod.d.ts +121 -0
- package/dist/currency/zod.d.ts.map +1 -0
- package/dist/currency/zod.js +27 -0
- package/dist/currency/zod.js.map +1 -0
- package/dist/format/address.d.ts +2 -0
- package/dist/format/address.d.ts.map +1 -0
- package/dist/format/address.js +16 -0
- package/dist/format/address.js.map +1 -0
- package/dist/format/index.d.ts +5 -0
- package/dist/format/index.d.ts.map +1 -0
- package/dist/format/index.js +21 -0
- package/dist/format/index.js.map +1 -0
- package/dist/format/number.d.ts +2 -0
- package/dist/format/number.d.ts.map +1 -0
- package/dist/format/number.js +12 -0
- package/dist/format/number.js.map +1 -0
- package/dist/format/percent.d.ts +2 -0
- package/dist/format/percent.d.ts.map +1 -0
- package/dist/format/percent.js +12 -0
- package/dist/format/percent.js.map +1 -0
- package/dist/format/price.d.ts +2 -0
- package/dist/format/price.d.ts.map +1 -0
- package/dist/format/price.js +24 -0
- package/dist/format/price.js.map +1 -0
- package/dist/gas/calculateGasMargin.d.ts +2 -0
- package/dist/gas/calculateGasMargin.d.ts.map +1 -0
- package/dist/gas/calculateGasMargin.js +9 -0
- package/dist/gas/calculateGasMargin.js.map +1 -0
- package/dist/gas/index.d.ts +2 -0
- package/dist/gas/index.d.ts.map +1 -0
- package/dist/gas/index.js +6 -0
- package/dist/gas/index.js.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +23 -0
- package/dist/index.js.map +1 -0
- package/dist/log/index.d.ts +2 -0
- package/dist/log/index.d.ts.map +1 -0
- package/dist/log/index.js +6 -0
- package/dist/log/index.js.map +1 -0
- package/dist/log/log.d.ts +2 -0
- package/dist/log/log.d.ts.map +1 -0
- package/dist/log/log.js +9 -0
- package/dist/log/log.js.map +1 -0
- package/dist/log/log.test.d.ts +2 -0
- package/dist/log/log.test.d.ts.map +1 -0
- package/dist/log/log.test.js +12 -0
- package/dist/log/log.test.js.map +1 -0
- package/dist/math/Big.d.ts +3 -0
- package/dist/math/Big.d.ts.map +1 -0
- package/dist/math/Big.js +10 -0
- package/dist/math/Big.js.map +1 -0
- package/dist/math/BigintIsh.d.ts +2 -0
- package/dist/math/BigintIsh.d.ts.map +1 -0
- package/dist/math/BigintIsh.js +3 -0
- package/dist/math/BigintIsh.js.map +1 -0
- package/dist/math/Decimal.d.ts +3 -0
- package/dist/math/Decimal.d.ts.map +1 -0
- package/dist/math/Decimal.js +9 -0
- package/dist/math/Decimal.js.map +1 -0
- package/dist/math/Fraction.d.ts +30 -0
- package/dist/math/Fraction.d.ts.map +1 -0
- package/dist/math/Fraction.js +123 -0
- package/dist/math/Fraction.js.map +1 -0
- package/dist/math/Fraction.test.d.ts +2 -0
- package/dist/math/Fraction.test.d.ts.map +1 -0
- package/dist/math/Fraction.test.js +88 -0
- package/dist/math/Fraction.test.js.map +1 -0
- package/dist/math/Percent.d.ts +18 -0
- package/dist/math/Percent.d.ts.map +1 -0
- package/dist/math/Percent.js +47 -0
- package/dist/math/Percent.js.map +1 -0
- package/dist/math/Percent.test.d.ts +2 -0
- package/dist/math/Percent.test.d.ts.map +1 -0
- package/dist/math/Percent.test.js +57 -0
- package/dist/math/Percent.test.js.map +1 -0
- package/dist/math/Rounding.d.ts +7 -0
- package/dist/math/Rounding.d.ts.map +1 -0
- package/dist/math/Rounding.js +10 -0
- package/dist/math/Rounding.js.map +1 -0
- package/dist/math/constants/index.d.ts +2 -0
- package/dist/math/constants/index.d.ts.map +1 -0
- package/dist/math/constants/index.js +18 -0
- package/dist/math/constants/index.js.map +1 -0
- package/dist/math/constants/numbers.d.ts +22 -0
- package/dist/math/constants/numbers.d.ts.map +1 -0
- package/dist/math/constants/numbers.js +29 -0
- package/dist/math/constants/numbers.js.map +1 -0
- package/dist/math/functions/abs.d.ts +2 -0
- package/dist/math/functions/abs.d.ts.map +1 -0
- package/dist/math/functions/abs.js +8 -0
- package/dist/math/functions/abs.js.map +1 -0
- package/dist/math/functions/difference.d.ts +2 -0
- package/dist/math/functions/difference.d.ts.map +1 -0
- package/dist/math/functions/difference.js +11 -0
- package/dist/math/functions/difference.js.map +1 -0
- package/dist/math/functions/index.d.ts +6 -0
- package/dist/math/functions/index.d.ts.map +1 -0
- package/dist/math/functions/index.js +14 -0
- package/dist/math/functions/index.js.map +1 -0
- package/dist/math/functions/maximum.d.ts +7 -0
- package/dist/math/functions/maximum.d.ts.map +1 -0
- package/dist/math/functions/maximum.js +20 -0
- package/dist/math/functions/maximum.js.map +1 -0
- package/dist/math/functions/minimum.d.ts +4 -0
- package/dist/math/functions/minimum.d.ts.map +1 -0
- package/dist/math/functions/minimum.js +20 -0
- package/dist/math/functions/minimum.js.map +1 -0
- package/dist/math/functions/sqrt.d.ts +6 -0
- package/dist/math/functions/sqrt.d.ts.map +1 -0
- package/dist/math/functions/sqrt.js +30 -0
- package/dist/math/functions/sqrt.js.map +1 -0
- package/dist/math/index.d.ts +9 -0
- package/dist/math/index.d.ts.map +1 -0
- package/dist/math/index.js +33 -0
- package/dist/math/index.js.map +1 -0
- package/dist/types/contract.d.ts +3 -0
- package/dist/types/contract.d.ts.map +1 -0
- package/dist/types/contract.js +3 -0
- package/dist/types/contract.js.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +18 -0
- package/dist/types/index.js.map +1 -0
- package/dist/validate/index.d.ts +4 -0
- package/dist/validate/index.d.ts.map +1 -0
- package/dist/validate/index.js +20 -0
- package/dist/validate/index.js.map +1 -0
- package/dist/validate/isPromiseFulfilled.d.ts +2 -0
- package/dist/validate/isPromiseFulfilled.d.ts.map +1 -0
- package/dist/validate/isPromiseFulfilled.js +6 -0
- package/dist/validate/isPromiseFulfilled.js.map +1 -0
- package/dist/validate/isPromiseRejected.d.ts +2 -0
- package/dist/validate/isPromiseRejected.d.ts.map +1 -0
- package/dist/validate/isPromiseRejected.js +6 -0
- package/dist/validate/isPromiseRejected.js.map +1 -0
- package/dist/validate/isZero.d.ts +6 -0
- package/dist/validate/isZero.d.ts.map +1 -0
- package/dist/validate/isZero.js +12 -0
- package/dist/validate/isZero.js.map +1 -0
- package/package.json +99 -26
- package/License.md +0 -21
- package/Readme.md +0 -182
- package/index.js +0 -116
|
@@ -0,0 +1,760 @@
|
|
|
1
|
+
declare const RAW: readonly [{
|
|
2
|
+
readonly chainId: 1;
|
|
3
|
+
readonly explorers: readonly [{
|
|
4
|
+
readonly name: "etherscan";
|
|
5
|
+
readonly url: "https://etherscan.io";
|
|
6
|
+
readonly standard: "EIP3091";
|
|
7
|
+
}, {
|
|
8
|
+
readonly name: "blockscout";
|
|
9
|
+
readonly url: "https://eth.blockscout.com";
|
|
10
|
+
readonly icon: "blockscout";
|
|
11
|
+
readonly standard: "EIP3091";
|
|
12
|
+
}];
|
|
13
|
+
readonly nativeCurrency: {
|
|
14
|
+
readonly name: "Ether";
|
|
15
|
+
readonly symbol: "ETH";
|
|
16
|
+
readonly decimals: 18;
|
|
17
|
+
};
|
|
18
|
+
readonly name: "Ethereum Mainnet";
|
|
19
|
+
readonly shortName: "eth";
|
|
20
|
+
}, {
|
|
21
|
+
readonly chainId: 3;
|
|
22
|
+
readonly explorers: readonly [{
|
|
23
|
+
readonly name: "etherscan";
|
|
24
|
+
readonly url: "https://ropsten.etherscan.io";
|
|
25
|
+
readonly standard: "EIP3091";
|
|
26
|
+
}];
|
|
27
|
+
readonly nativeCurrency: {
|
|
28
|
+
readonly name: "Ropsten Ether";
|
|
29
|
+
readonly symbol: "ETH";
|
|
30
|
+
readonly decimals: 18;
|
|
31
|
+
};
|
|
32
|
+
readonly name: "Ropsten";
|
|
33
|
+
readonly shortName: "rop";
|
|
34
|
+
}, {
|
|
35
|
+
readonly chainId: 4;
|
|
36
|
+
readonly explorers: readonly [{
|
|
37
|
+
readonly name: "etherscan-rinkeby";
|
|
38
|
+
readonly url: "https://rinkeby.etherscan.io";
|
|
39
|
+
readonly standard: "EIP3091";
|
|
40
|
+
}];
|
|
41
|
+
readonly nativeCurrency: {
|
|
42
|
+
readonly name: "Rinkeby Ether";
|
|
43
|
+
readonly symbol: "ETH";
|
|
44
|
+
readonly decimals: 18;
|
|
45
|
+
};
|
|
46
|
+
readonly name: "Rinkeby";
|
|
47
|
+
readonly shortName: "rin";
|
|
48
|
+
}, {
|
|
49
|
+
readonly chainId: 5;
|
|
50
|
+
readonly explorers: readonly [{
|
|
51
|
+
readonly name: "etherscan-goerli";
|
|
52
|
+
readonly url: "https://goerli.etherscan.io";
|
|
53
|
+
readonly standard: "EIP3091";
|
|
54
|
+
}, {
|
|
55
|
+
readonly name: "blockscout-goerli";
|
|
56
|
+
readonly url: "https://eth-goerli.blockscout.com";
|
|
57
|
+
readonly icon: "blockscout";
|
|
58
|
+
readonly standard: "EIP3091";
|
|
59
|
+
}];
|
|
60
|
+
readonly nativeCurrency: {
|
|
61
|
+
readonly name: "Goerli Ether";
|
|
62
|
+
readonly symbol: "ETH";
|
|
63
|
+
readonly decimals: 18;
|
|
64
|
+
};
|
|
65
|
+
readonly name: "Goerli";
|
|
66
|
+
readonly shortName: "gor";
|
|
67
|
+
}, {
|
|
68
|
+
readonly chainId: 10;
|
|
69
|
+
readonly explorers: readonly [{
|
|
70
|
+
readonly name: "etherscan";
|
|
71
|
+
readonly url: "https://optimistic.etherscan.io";
|
|
72
|
+
readonly standard: "EIP3091";
|
|
73
|
+
}, {
|
|
74
|
+
readonly name: "blockscout";
|
|
75
|
+
readonly url: "https://optimism.blockscout.com";
|
|
76
|
+
readonly icon: "blockscout";
|
|
77
|
+
readonly standard: "EIP3091";
|
|
78
|
+
}];
|
|
79
|
+
readonly nativeCurrency: {
|
|
80
|
+
readonly name: "Ether";
|
|
81
|
+
readonly symbol: "ETH";
|
|
82
|
+
readonly decimals: 18;
|
|
83
|
+
};
|
|
84
|
+
readonly name: "OP Mainnet";
|
|
85
|
+
readonly shortName: "oeth";
|
|
86
|
+
}, {
|
|
87
|
+
readonly chainId: 40;
|
|
88
|
+
readonly explorers: readonly [{
|
|
89
|
+
readonly name: "teloscan";
|
|
90
|
+
readonly url: "https://teloscan.io";
|
|
91
|
+
readonly standard: "EIP3091";
|
|
92
|
+
}];
|
|
93
|
+
readonly nativeCurrency: {
|
|
94
|
+
readonly name: "Telos";
|
|
95
|
+
readonly symbol: "TLOS";
|
|
96
|
+
readonly decimals: 18;
|
|
97
|
+
};
|
|
98
|
+
readonly name: "Telos EVM Mainnet";
|
|
99
|
+
readonly shortName: "TelosEVM";
|
|
100
|
+
}, {
|
|
101
|
+
readonly chainId: 42;
|
|
102
|
+
readonly explorers: readonly [{
|
|
103
|
+
readonly name: "Blockscout";
|
|
104
|
+
readonly url: "https://explorer.execution.mainnet.lukso.network";
|
|
105
|
+
readonly standard: "EIP3091";
|
|
106
|
+
}];
|
|
107
|
+
readonly nativeCurrency: {
|
|
108
|
+
readonly name: "LUKSO";
|
|
109
|
+
readonly symbol: "LYX";
|
|
110
|
+
readonly decimals: 18;
|
|
111
|
+
};
|
|
112
|
+
readonly name: "LUKSO Mainnet";
|
|
113
|
+
readonly shortName: "lukso";
|
|
114
|
+
}, {
|
|
115
|
+
readonly chainId: 56;
|
|
116
|
+
readonly explorers: readonly [{
|
|
117
|
+
readonly name: "bscscan";
|
|
118
|
+
readonly url: "https://bscscan.com";
|
|
119
|
+
readonly standard: "EIP3091";
|
|
120
|
+
}];
|
|
121
|
+
readonly nativeCurrency: {
|
|
122
|
+
readonly name: "BNB Chain Native Token";
|
|
123
|
+
readonly symbol: "BNB";
|
|
124
|
+
readonly decimals: 18;
|
|
125
|
+
};
|
|
126
|
+
readonly name: "BNB Smart Chain Mainnet";
|
|
127
|
+
readonly shortName: "bnb";
|
|
128
|
+
}, {
|
|
129
|
+
readonly chainId: 65;
|
|
130
|
+
readonly explorers: readonly [{
|
|
131
|
+
readonly name: "OKLink";
|
|
132
|
+
readonly url: "https://www.oklink.com/okexchain-test";
|
|
133
|
+
readonly standard: "EIP3091";
|
|
134
|
+
}];
|
|
135
|
+
readonly nativeCurrency: {
|
|
136
|
+
readonly name: "OKExChain Global Utility Token in testnet";
|
|
137
|
+
readonly symbol: "OKT";
|
|
138
|
+
readonly decimals: 18;
|
|
139
|
+
};
|
|
140
|
+
readonly name: "OKExChain Testnet";
|
|
141
|
+
readonly shortName: "tokt";
|
|
142
|
+
}, {
|
|
143
|
+
readonly chainId: 66;
|
|
144
|
+
readonly explorers: readonly [{
|
|
145
|
+
readonly name: "OKLink";
|
|
146
|
+
readonly url: "https://www.oklink.com/en/okc";
|
|
147
|
+
readonly standard: "EIP3091";
|
|
148
|
+
}];
|
|
149
|
+
readonly nativeCurrency: {
|
|
150
|
+
readonly name: "OKXChain Global Utility Token";
|
|
151
|
+
readonly symbol: "OKT";
|
|
152
|
+
readonly decimals: 18;
|
|
153
|
+
};
|
|
154
|
+
readonly name: "OKXChain Mainnet";
|
|
155
|
+
readonly shortName: "okt";
|
|
156
|
+
}, {
|
|
157
|
+
readonly chainId: 97;
|
|
158
|
+
readonly explorers: readonly [{
|
|
159
|
+
readonly name: "bscscan-testnet";
|
|
160
|
+
readonly url: "https://testnet.bscscan.com";
|
|
161
|
+
readonly standard: "EIP3091";
|
|
162
|
+
}];
|
|
163
|
+
readonly nativeCurrency: {
|
|
164
|
+
readonly name: "BNB Chain Native Token";
|
|
165
|
+
readonly symbol: "tBNB";
|
|
166
|
+
readonly decimals: 18;
|
|
167
|
+
};
|
|
168
|
+
readonly name: "BNB Smart Chain Testnet";
|
|
169
|
+
readonly shortName: "bnbt";
|
|
170
|
+
}, {
|
|
171
|
+
readonly chainId: 100;
|
|
172
|
+
readonly explorers: readonly [{
|
|
173
|
+
readonly name: "gnosisscan";
|
|
174
|
+
readonly url: "https://gnosisscan.io";
|
|
175
|
+
readonly standard: "EIP3091";
|
|
176
|
+
}, {
|
|
177
|
+
readonly name: "blockscout";
|
|
178
|
+
readonly url: "https://gnosis.blockscout.com";
|
|
179
|
+
readonly icon: "blockscout";
|
|
180
|
+
readonly standard: "EIP3091";
|
|
181
|
+
}];
|
|
182
|
+
readonly nativeCurrency: {
|
|
183
|
+
readonly name: "xDAI";
|
|
184
|
+
readonly symbol: "XDAI";
|
|
185
|
+
readonly decimals: 18;
|
|
186
|
+
};
|
|
187
|
+
readonly name: "Gnosis";
|
|
188
|
+
readonly shortName: "gno";
|
|
189
|
+
}, {
|
|
190
|
+
readonly chainId: 108;
|
|
191
|
+
readonly explorers: readonly [{
|
|
192
|
+
readonly name: "thundercore-viewblock";
|
|
193
|
+
readonly url: "https://viewblock.io/thundercore";
|
|
194
|
+
readonly standard: "EIP3091";
|
|
195
|
+
}];
|
|
196
|
+
readonly nativeCurrency: {
|
|
197
|
+
readonly name: "ThunderCore Token";
|
|
198
|
+
readonly symbol: "TT";
|
|
199
|
+
readonly decimals: 18;
|
|
200
|
+
};
|
|
201
|
+
readonly name: "ThunderCore Mainnet";
|
|
202
|
+
readonly shortName: "TT";
|
|
203
|
+
}, {
|
|
204
|
+
readonly chainId: 122;
|
|
205
|
+
readonly nativeCurrency: {
|
|
206
|
+
readonly name: "Fuse";
|
|
207
|
+
readonly symbol: "FUSE";
|
|
208
|
+
readonly decimals: 18;
|
|
209
|
+
};
|
|
210
|
+
readonly name: "Fuse Mainnet";
|
|
211
|
+
readonly shortName: "fuse";
|
|
212
|
+
}, {
|
|
213
|
+
readonly chainId: 128;
|
|
214
|
+
readonly explorers: readonly [{
|
|
215
|
+
readonly name: "hecoinfo";
|
|
216
|
+
readonly url: "https://hecoinfo.com";
|
|
217
|
+
readonly standard: "EIP3091";
|
|
218
|
+
}];
|
|
219
|
+
readonly nativeCurrency: {
|
|
220
|
+
readonly name: "Huobi ECO Chain Native Token";
|
|
221
|
+
readonly symbol: "HT";
|
|
222
|
+
readonly decimals: 18;
|
|
223
|
+
};
|
|
224
|
+
readonly name: "Huobi ECO Chain Mainnet";
|
|
225
|
+
readonly shortName: "heco";
|
|
226
|
+
}, {
|
|
227
|
+
readonly chainId: 137;
|
|
228
|
+
readonly explorers: readonly [{
|
|
229
|
+
readonly name: "polygonscan";
|
|
230
|
+
readonly url: "https://polygonscan.com";
|
|
231
|
+
readonly standard: "EIP3091";
|
|
232
|
+
}];
|
|
233
|
+
readonly nativeCurrency: {
|
|
234
|
+
readonly name: "MATIC";
|
|
235
|
+
readonly symbol: "MATIC";
|
|
236
|
+
readonly decimals: 18;
|
|
237
|
+
};
|
|
238
|
+
readonly name: "Polygon Mainnet";
|
|
239
|
+
readonly shortName: "matic";
|
|
240
|
+
}, {
|
|
241
|
+
readonly chainId: 199;
|
|
242
|
+
readonly explorers: readonly [{
|
|
243
|
+
readonly name: "BitTorrent Chain Explorer";
|
|
244
|
+
readonly url: "https://bttcscan.com";
|
|
245
|
+
readonly standard: "EIP3091";
|
|
246
|
+
}];
|
|
247
|
+
readonly nativeCurrency: {
|
|
248
|
+
readonly name: "BitTorrent";
|
|
249
|
+
readonly symbol: "BTT";
|
|
250
|
+
readonly decimals: 18;
|
|
251
|
+
};
|
|
252
|
+
readonly name: "BitTorrent Chain Mainnet";
|
|
253
|
+
readonly shortName: "BTT";
|
|
254
|
+
}, {
|
|
255
|
+
readonly chainId: 250;
|
|
256
|
+
readonly explorers: readonly [{
|
|
257
|
+
readonly name: "ftmscan";
|
|
258
|
+
readonly url: "https://ftmscan.com";
|
|
259
|
+
readonly icon: "ftmscan";
|
|
260
|
+
readonly standard: "EIP3091";
|
|
261
|
+
}];
|
|
262
|
+
readonly nativeCurrency: {
|
|
263
|
+
readonly name: "Fantom";
|
|
264
|
+
readonly symbol: "FTM";
|
|
265
|
+
readonly decimals: 18;
|
|
266
|
+
};
|
|
267
|
+
readonly name: "Fantom Opera";
|
|
268
|
+
readonly shortName: "ftm";
|
|
269
|
+
}, {
|
|
270
|
+
readonly chainId: 256;
|
|
271
|
+
readonly nativeCurrency: {
|
|
272
|
+
readonly name: "Huobi ECO Chain Test Native Token";
|
|
273
|
+
readonly symbol: "htt";
|
|
274
|
+
readonly decimals: 18;
|
|
275
|
+
};
|
|
276
|
+
readonly name: "Huobi ECO Chain Testnet";
|
|
277
|
+
readonly shortName: "hecot";
|
|
278
|
+
}, {
|
|
279
|
+
readonly chainId: 288;
|
|
280
|
+
readonly explorers: readonly [{
|
|
281
|
+
readonly name: "Bobascan";
|
|
282
|
+
readonly url: "https://bobascan.com";
|
|
283
|
+
readonly standard: "none";
|
|
284
|
+
}, {
|
|
285
|
+
readonly name: "Blockscout";
|
|
286
|
+
readonly url: "https://blockexplorer.boba.network";
|
|
287
|
+
readonly standard: "none";
|
|
288
|
+
}];
|
|
289
|
+
readonly nativeCurrency: {
|
|
290
|
+
readonly name: "Ether";
|
|
291
|
+
readonly symbol: "ETH";
|
|
292
|
+
readonly decimals: 18;
|
|
293
|
+
};
|
|
294
|
+
readonly name: "Boba Network";
|
|
295
|
+
readonly shortName: "Boba";
|
|
296
|
+
readonly parent: {
|
|
297
|
+
readonly type: "L2";
|
|
298
|
+
readonly chain: "eip155-1";
|
|
299
|
+
readonly bridges: readonly [{
|
|
300
|
+
readonly url: "https://gateway.boba.network";
|
|
301
|
+
}];
|
|
302
|
+
};
|
|
303
|
+
}, {
|
|
304
|
+
readonly chainId: 324;
|
|
305
|
+
readonly explorers: readonly [{
|
|
306
|
+
readonly name: "zkSync Era Block Explorer";
|
|
307
|
+
readonly url: "https://explorer.zksync.io";
|
|
308
|
+
readonly icon: "zksync-era";
|
|
309
|
+
readonly standard: "EIP3091";
|
|
310
|
+
}];
|
|
311
|
+
readonly nativeCurrency: {
|
|
312
|
+
readonly name: "Ether";
|
|
313
|
+
readonly symbol: "ETH";
|
|
314
|
+
readonly decimals: 18;
|
|
315
|
+
};
|
|
316
|
+
readonly name: "zkSync Era Mainnet";
|
|
317
|
+
readonly shortName: "zksync";
|
|
318
|
+
readonly parent: {
|
|
319
|
+
readonly type: "L2";
|
|
320
|
+
readonly chain: "eip155-1";
|
|
321
|
+
readonly bridges: readonly [{
|
|
322
|
+
readonly url: "https://bridge.zksync.io/";
|
|
323
|
+
}];
|
|
324
|
+
};
|
|
325
|
+
}, {
|
|
326
|
+
readonly chainId: 1088;
|
|
327
|
+
readonly explorers: readonly [{
|
|
328
|
+
readonly name: "blockscout";
|
|
329
|
+
readonly url: "https://andromeda-explorer.metis.io";
|
|
330
|
+
readonly standard: "EIP3091";
|
|
331
|
+
}];
|
|
332
|
+
readonly nativeCurrency: {
|
|
333
|
+
readonly name: "Metis";
|
|
334
|
+
readonly symbol: "METIS";
|
|
335
|
+
readonly decimals: 18;
|
|
336
|
+
};
|
|
337
|
+
readonly name: "Metis Andromeda Mainnet";
|
|
338
|
+
readonly shortName: "metis-andromeda";
|
|
339
|
+
readonly parent: {
|
|
340
|
+
readonly type: "L2";
|
|
341
|
+
readonly chain: "eip155-1";
|
|
342
|
+
readonly bridges: readonly [{
|
|
343
|
+
readonly url: "https://bridge.metis.io";
|
|
344
|
+
}];
|
|
345
|
+
};
|
|
346
|
+
}, {
|
|
347
|
+
readonly chainId: 1101;
|
|
348
|
+
readonly explorers: readonly [{
|
|
349
|
+
readonly name: "blockscout";
|
|
350
|
+
readonly url: "https://zkevm.polygonscan.com";
|
|
351
|
+
readonly icon: "zkevm";
|
|
352
|
+
readonly standard: "EIP3091";
|
|
353
|
+
}];
|
|
354
|
+
readonly nativeCurrency: {
|
|
355
|
+
readonly name: "Ether";
|
|
356
|
+
readonly symbol: "ETH";
|
|
357
|
+
readonly decimals: 18;
|
|
358
|
+
};
|
|
359
|
+
readonly name: "Polygon zkEVM";
|
|
360
|
+
readonly shortName: "zkevm";
|
|
361
|
+
readonly parent: {
|
|
362
|
+
readonly type: "L2";
|
|
363
|
+
readonly chain: "eip155-1";
|
|
364
|
+
readonly bridges: readonly [{
|
|
365
|
+
readonly url: "https://bridge.zkevm-rpc.com";
|
|
366
|
+
}];
|
|
367
|
+
};
|
|
368
|
+
}, {
|
|
369
|
+
readonly chainId: 1116;
|
|
370
|
+
readonly explorers: readonly [{
|
|
371
|
+
readonly name: "Core Scan";
|
|
372
|
+
readonly url: "https://scan.coredao.org";
|
|
373
|
+
readonly icon: "core";
|
|
374
|
+
readonly standard: "EIP3091";
|
|
375
|
+
}];
|
|
376
|
+
readonly nativeCurrency: {
|
|
377
|
+
readonly name: "Core Blockchain Native Token";
|
|
378
|
+
readonly symbol: "CORE";
|
|
379
|
+
readonly decimals: 18;
|
|
380
|
+
};
|
|
381
|
+
readonly name: "Core Blockchain Mainnet";
|
|
382
|
+
readonly shortName: "core";
|
|
383
|
+
}, {
|
|
384
|
+
readonly chainId: 1284;
|
|
385
|
+
readonly explorers: readonly [{
|
|
386
|
+
readonly name: "moonscan";
|
|
387
|
+
readonly url: "https://moonbeam.moonscan.io";
|
|
388
|
+
readonly standard: "none";
|
|
389
|
+
}];
|
|
390
|
+
readonly nativeCurrency: {
|
|
391
|
+
readonly name: "Glimmer";
|
|
392
|
+
readonly symbol: "GLMR";
|
|
393
|
+
readonly decimals: 18;
|
|
394
|
+
};
|
|
395
|
+
readonly name: "Moonbeam";
|
|
396
|
+
readonly shortName: "mbeam";
|
|
397
|
+
}, {
|
|
398
|
+
readonly chainId: 1285;
|
|
399
|
+
readonly explorers: readonly [{
|
|
400
|
+
readonly name: "moonscan";
|
|
401
|
+
readonly url: "https://moonriver.moonscan.io";
|
|
402
|
+
readonly standard: "none";
|
|
403
|
+
}];
|
|
404
|
+
readonly nativeCurrency: {
|
|
405
|
+
readonly name: "Moonriver";
|
|
406
|
+
readonly symbol: "MOVR";
|
|
407
|
+
readonly decimals: 18;
|
|
408
|
+
};
|
|
409
|
+
readonly name: "Moonriver";
|
|
410
|
+
readonly shortName: "mriver";
|
|
411
|
+
}, {
|
|
412
|
+
readonly chainId: 2222;
|
|
413
|
+
readonly explorers: readonly [{
|
|
414
|
+
readonly name: "Kava EVM Explorer";
|
|
415
|
+
readonly url: "https://kavascan.com";
|
|
416
|
+
readonly standard: "EIP3091";
|
|
417
|
+
readonly icon: "kava";
|
|
418
|
+
}];
|
|
419
|
+
readonly nativeCurrency: {
|
|
420
|
+
readonly name: "Kava";
|
|
421
|
+
readonly symbol: "KAVA";
|
|
422
|
+
readonly decimals: 18;
|
|
423
|
+
};
|
|
424
|
+
readonly name: "Kava";
|
|
425
|
+
readonly shortName: "kava";
|
|
426
|
+
}, {
|
|
427
|
+
readonly chainId: 4002;
|
|
428
|
+
readonly explorers: readonly [{
|
|
429
|
+
readonly name: "ftmscan";
|
|
430
|
+
readonly url: "https://testnet.ftmscan.com";
|
|
431
|
+
readonly icon: "ftmscan";
|
|
432
|
+
readonly standard: "EIP3091";
|
|
433
|
+
}];
|
|
434
|
+
readonly nativeCurrency: {
|
|
435
|
+
readonly name: "Fantom";
|
|
436
|
+
readonly symbol: "FTM";
|
|
437
|
+
readonly decimals: 18;
|
|
438
|
+
};
|
|
439
|
+
readonly name: "Fantom Testnet";
|
|
440
|
+
readonly shortName: "tftm";
|
|
441
|
+
}, {
|
|
442
|
+
readonly chainId: 8453;
|
|
443
|
+
readonly explorers: readonly [{
|
|
444
|
+
readonly name: "basescan";
|
|
445
|
+
readonly url: "https://basescan.org";
|
|
446
|
+
readonly standard: "none";
|
|
447
|
+
}, {
|
|
448
|
+
readonly name: "basescout";
|
|
449
|
+
readonly url: "https://base.blockscout.com";
|
|
450
|
+
readonly icon: "blockscout";
|
|
451
|
+
readonly standard: "EIP3091";
|
|
452
|
+
}];
|
|
453
|
+
readonly nativeCurrency: {
|
|
454
|
+
readonly name: "Ether";
|
|
455
|
+
readonly symbol: "ETH";
|
|
456
|
+
readonly decimals: 18;
|
|
457
|
+
};
|
|
458
|
+
readonly name: "Base";
|
|
459
|
+
readonly shortName: "base";
|
|
460
|
+
}, {
|
|
461
|
+
readonly chainId: 11235;
|
|
462
|
+
readonly explorers: readonly [{
|
|
463
|
+
readonly name: "Mainnet HAQQ Explorer";
|
|
464
|
+
readonly url: "https://explorer.haqq.network";
|
|
465
|
+
readonly standard: "EIP3091";
|
|
466
|
+
}];
|
|
467
|
+
readonly nativeCurrency: {
|
|
468
|
+
readonly name: "Islamic Coin";
|
|
469
|
+
readonly symbol: "ISLM";
|
|
470
|
+
readonly decimals: 18;
|
|
471
|
+
};
|
|
472
|
+
readonly name: "Haqq Network";
|
|
473
|
+
readonly shortName: "ISLM";
|
|
474
|
+
}, {
|
|
475
|
+
readonly chainId: 42161;
|
|
476
|
+
readonly explorers: readonly [{
|
|
477
|
+
readonly name: "Arbiscan";
|
|
478
|
+
readonly url: "https://arbiscan.io";
|
|
479
|
+
readonly standard: "EIP3091";
|
|
480
|
+
}, {
|
|
481
|
+
readonly name: "Arbitrum Explorer";
|
|
482
|
+
readonly url: "https://explorer.arbitrum.io";
|
|
483
|
+
readonly standard: "EIP3091";
|
|
484
|
+
}];
|
|
485
|
+
readonly nativeCurrency: {
|
|
486
|
+
readonly name: "Ether";
|
|
487
|
+
readonly symbol: "ETH";
|
|
488
|
+
readonly decimals: 18;
|
|
489
|
+
};
|
|
490
|
+
readonly name: "Arbitrum One";
|
|
491
|
+
readonly shortName: "arb1";
|
|
492
|
+
readonly parent: {
|
|
493
|
+
readonly type: "L2";
|
|
494
|
+
readonly chain: "eip155-1";
|
|
495
|
+
readonly bridges: readonly [{
|
|
496
|
+
readonly url: "https://bridge.arbitrum.io";
|
|
497
|
+
}];
|
|
498
|
+
};
|
|
499
|
+
}, {
|
|
500
|
+
readonly chainId: 42170;
|
|
501
|
+
readonly explorers: readonly [{
|
|
502
|
+
readonly name: "Arbitrum Nova Chain Explorer";
|
|
503
|
+
readonly url: "https://nova-explorer.arbitrum.io";
|
|
504
|
+
readonly icon: "blockscout";
|
|
505
|
+
readonly standard: "EIP3091";
|
|
506
|
+
}];
|
|
507
|
+
readonly nativeCurrency: {
|
|
508
|
+
readonly name: "Ether";
|
|
509
|
+
readonly symbol: "ETH";
|
|
510
|
+
readonly decimals: 18;
|
|
511
|
+
};
|
|
512
|
+
readonly name: "Arbitrum Nova";
|
|
513
|
+
readonly shortName: "arb-nova";
|
|
514
|
+
readonly parent: {
|
|
515
|
+
readonly type: "L2";
|
|
516
|
+
readonly chain: "eip155-1";
|
|
517
|
+
readonly bridges: readonly [{
|
|
518
|
+
readonly url: "https://bridge.arbitrum.io";
|
|
519
|
+
}];
|
|
520
|
+
};
|
|
521
|
+
}, {
|
|
522
|
+
readonly chainId: 42220;
|
|
523
|
+
readonly explorers: readonly [{
|
|
524
|
+
readonly name: "Celoscan";
|
|
525
|
+
readonly url: "https://celoscan.io";
|
|
526
|
+
readonly standard: "EIP3091";
|
|
527
|
+
}, {
|
|
528
|
+
readonly name: "blockscout";
|
|
529
|
+
readonly url: "https://explorer.celo.org";
|
|
530
|
+
readonly standard: "none";
|
|
531
|
+
}];
|
|
532
|
+
readonly nativeCurrency: {
|
|
533
|
+
readonly name: "CELO";
|
|
534
|
+
readonly symbol: "CELO";
|
|
535
|
+
readonly decimals: 18;
|
|
536
|
+
};
|
|
537
|
+
readonly name: "Celo Mainnet";
|
|
538
|
+
readonly shortName: "celo";
|
|
539
|
+
}, {
|
|
540
|
+
readonly chainId: 43113;
|
|
541
|
+
readonly explorers: readonly [{
|
|
542
|
+
readonly name: "snowtrace";
|
|
543
|
+
readonly url: "https://testnet.snowtrace.io";
|
|
544
|
+
readonly standard: "EIP3091";
|
|
545
|
+
}];
|
|
546
|
+
readonly nativeCurrency: {
|
|
547
|
+
readonly name: "Avalanche";
|
|
548
|
+
readonly symbol: "AVAX";
|
|
549
|
+
readonly decimals: 18;
|
|
550
|
+
};
|
|
551
|
+
readonly name: "Avalanche Fuji Testnet";
|
|
552
|
+
readonly shortName: "Fuji";
|
|
553
|
+
}, {
|
|
554
|
+
readonly chainId: 43114;
|
|
555
|
+
readonly explorers: readonly [{
|
|
556
|
+
readonly name: "snowtrace";
|
|
557
|
+
readonly url: "https://snowtrace.io";
|
|
558
|
+
readonly standard: "EIP3091";
|
|
559
|
+
}];
|
|
560
|
+
readonly nativeCurrency: {
|
|
561
|
+
readonly name: "Avalanche";
|
|
562
|
+
readonly symbol: "AVAX";
|
|
563
|
+
readonly decimals: 18;
|
|
564
|
+
};
|
|
565
|
+
readonly name: "Avalanche C-Chain";
|
|
566
|
+
readonly shortName: "avax";
|
|
567
|
+
}, {
|
|
568
|
+
readonly chainId: 43288;
|
|
569
|
+
readonly explorers: readonly [{
|
|
570
|
+
readonly name: "Boba Avax Explorer";
|
|
571
|
+
readonly url: "https://blockexplorer.avax.boba.network";
|
|
572
|
+
readonly standard: "none";
|
|
573
|
+
}];
|
|
574
|
+
readonly nativeCurrency: {
|
|
575
|
+
readonly name: "Boba Token";
|
|
576
|
+
readonly symbol: "BOBA";
|
|
577
|
+
readonly decimals: 18;
|
|
578
|
+
};
|
|
579
|
+
readonly name: "Boba Avax";
|
|
580
|
+
readonly shortName: "bobaavax";
|
|
581
|
+
}, {
|
|
582
|
+
readonly chainId: 56288;
|
|
583
|
+
readonly explorers: readonly [{
|
|
584
|
+
readonly name: "Boba BNB block explorer";
|
|
585
|
+
readonly url: "https://blockexplorer.bnb.boba.network";
|
|
586
|
+
readonly standard: "none";
|
|
587
|
+
}];
|
|
588
|
+
readonly nativeCurrency: {
|
|
589
|
+
readonly name: "Boba Token";
|
|
590
|
+
readonly symbol: "BOBA";
|
|
591
|
+
readonly decimals: 18;
|
|
592
|
+
};
|
|
593
|
+
readonly name: "Boba BNB Mainnet";
|
|
594
|
+
readonly shortName: "BobaBnb";
|
|
595
|
+
readonly parent: {
|
|
596
|
+
readonly type: "L2";
|
|
597
|
+
readonly chain: "eip155-5";
|
|
598
|
+
readonly bridges: readonly [{
|
|
599
|
+
readonly url: "https://gateway.boba.network";
|
|
600
|
+
}];
|
|
601
|
+
};
|
|
602
|
+
}, {
|
|
603
|
+
readonly chainId: 59144;
|
|
604
|
+
readonly explorers: readonly [{
|
|
605
|
+
readonly name: "Etherscan";
|
|
606
|
+
readonly url: "https://lineascan.build";
|
|
607
|
+
readonly standard: "EIP3091";
|
|
608
|
+
readonly icon: "linea";
|
|
609
|
+
}, {
|
|
610
|
+
readonly name: "Blockscout";
|
|
611
|
+
readonly url: "https://explorer.linea.build";
|
|
612
|
+
readonly standard: "EIP3091";
|
|
613
|
+
readonly icon: "linea";
|
|
614
|
+
}];
|
|
615
|
+
readonly nativeCurrency: {
|
|
616
|
+
readonly name: "Linea Ether";
|
|
617
|
+
readonly symbol: "ETH";
|
|
618
|
+
readonly decimals: 18;
|
|
619
|
+
};
|
|
620
|
+
readonly name: "Linea";
|
|
621
|
+
readonly shortName: "linea";
|
|
622
|
+
readonly parent: {
|
|
623
|
+
readonly type: "L2";
|
|
624
|
+
readonly chain: "eip155-1";
|
|
625
|
+
readonly bridges: readonly [{
|
|
626
|
+
readonly url: "https://bridge.linea.build";
|
|
627
|
+
}];
|
|
628
|
+
};
|
|
629
|
+
}, {
|
|
630
|
+
readonly chainId: 80001;
|
|
631
|
+
readonly explorers: readonly [{
|
|
632
|
+
readonly name: "polygonscan";
|
|
633
|
+
readonly url: "https://mumbai.polygonscan.com";
|
|
634
|
+
readonly standard: "EIP3091";
|
|
635
|
+
}];
|
|
636
|
+
readonly nativeCurrency: {
|
|
637
|
+
readonly name: "MATIC";
|
|
638
|
+
readonly symbol: "MATIC";
|
|
639
|
+
readonly decimals: 18;
|
|
640
|
+
};
|
|
641
|
+
readonly name: "Mumbai";
|
|
642
|
+
readonly shortName: "maticmum";
|
|
643
|
+
}, {
|
|
644
|
+
readonly chainId: 1666600000;
|
|
645
|
+
readonly explorers: readonly [{
|
|
646
|
+
readonly name: "Harmony Block Explorer";
|
|
647
|
+
readonly url: "https://explorer.harmony.one";
|
|
648
|
+
readonly standard: "EIP3091";
|
|
649
|
+
}];
|
|
650
|
+
readonly nativeCurrency: {
|
|
651
|
+
readonly name: "ONE";
|
|
652
|
+
readonly symbol: "ONE";
|
|
653
|
+
readonly decimals: 18;
|
|
654
|
+
};
|
|
655
|
+
readonly name: "Harmony Mainnet Shard 0";
|
|
656
|
+
readonly shortName: "hmy-s0";
|
|
657
|
+
}, {
|
|
658
|
+
readonly chainId: 1666700000;
|
|
659
|
+
readonly explorers: readonly [{
|
|
660
|
+
readonly name: "Harmony Testnet Block Explorer";
|
|
661
|
+
readonly url: "https://explorer.testnet.harmony.one";
|
|
662
|
+
readonly standard: "EIP3091";
|
|
663
|
+
}];
|
|
664
|
+
readonly nativeCurrency: {
|
|
665
|
+
readonly name: "ONE";
|
|
666
|
+
readonly symbol: "ONE";
|
|
667
|
+
readonly decimals: 18;
|
|
668
|
+
};
|
|
669
|
+
readonly name: "Harmony Testnet Shard 0";
|
|
670
|
+
readonly shortName: "hmy-b-s0";
|
|
671
|
+
}, {
|
|
672
|
+
readonly chainId: 11297108109;
|
|
673
|
+
readonly explorers: readonly [{
|
|
674
|
+
readonly name: "Palm Explorer";
|
|
675
|
+
readonly url: "https://explorer.palm.io";
|
|
676
|
+
readonly standard: "EIP3091";
|
|
677
|
+
}];
|
|
678
|
+
readonly nativeCurrency: {
|
|
679
|
+
readonly name: "PALM";
|
|
680
|
+
readonly symbol: "PALM";
|
|
681
|
+
readonly decimals: 18;
|
|
682
|
+
};
|
|
683
|
+
readonly name: "Palm";
|
|
684
|
+
readonly shortName: "palm";
|
|
685
|
+
}];
|
|
686
|
+
type Data = typeof RAW[number];
|
|
687
|
+
export interface Chain {
|
|
688
|
+
name: string;
|
|
689
|
+
nativeCurrency: NativeCurrency;
|
|
690
|
+
shortName: string;
|
|
691
|
+
chainId: number;
|
|
692
|
+
explorers?: Explorer[];
|
|
693
|
+
parent?: Parent;
|
|
694
|
+
}
|
|
695
|
+
export interface Explorer {
|
|
696
|
+
name: string;
|
|
697
|
+
url: string;
|
|
698
|
+
standard: Standard;
|
|
699
|
+
icon?: string;
|
|
700
|
+
}
|
|
701
|
+
export declare const Standard: {
|
|
702
|
+
readonly Eip3091: "EIP3091";
|
|
703
|
+
readonly None: "none";
|
|
704
|
+
};
|
|
705
|
+
export type Standard = typeof Standard[keyof typeof Standard];
|
|
706
|
+
export interface NativeCurrency {
|
|
707
|
+
name: string;
|
|
708
|
+
symbol: string;
|
|
709
|
+
decimals: number;
|
|
710
|
+
}
|
|
711
|
+
export interface Parent {
|
|
712
|
+
type: Type;
|
|
713
|
+
chain: string;
|
|
714
|
+
bridges?: Bridge[];
|
|
715
|
+
}
|
|
716
|
+
export interface Bridge {
|
|
717
|
+
url: string;
|
|
718
|
+
}
|
|
719
|
+
export declare const Type: {
|
|
720
|
+
readonly L2: "L2";
|
|
721
|
+
readonly Shard: "shard";
|
|
722
|
+
};
|
|
723
|
+
export type Type = typeof Type[keyof typeof Type];
|
|
724
|
+
export declare class Chain implements Chain {
|
|
725
|
+
static fromRaw(data: Data): Chain;
|
|
726
|
+
static from(chainId: number): Chain | undefined;
|
|
727
|
+
static fromShortName(shortName: string): Chain | undefined;
|
|
728
|
+
static fromChainId(chainId: number): Chain | undefined;
|
|
729
|
+
static txUrl(chainId: number, txHash: string): string;
|
|
730
|
+
static blockUrl(chainId: number, blockHashOrHeight: string): string;
|
|
731
|
+
static tokenUrl(chainId: number, tokenAddress: string): string;
|
|
732
|
+
static accountUrl(chainId: number, accountAddress: string): string;
|
|
733
|
+
constructor(data: Data);
|
|
734
|
+
getTxUrl(txHash: string): string;
|
|
735
|
+
getBlockUrl(blockHashOrHeight: string): string;
|
|
736
|
+
getTokenUrl(tokenAddress: string): string;
|
|
737
|
+
getAccountUrl(accountAddress: string): string;
|
|
738
|
+
}
|
|
739
|
+
export declare const natives: {
|
|
740
|
+
[k: string]: NativeCurrency;
|
|
741
|
+
};
|
|
742
|
+
export declare const chains: {
|
|
743
|
+
[k: string]: Chain;
|
|
744
|
+
};
|
|
745
|
+
export declare const chainsL2: {
|
|
746
|
+
[k: string]: Chain;
|
|
747
|
+
};
|
|
748
|
+
export declare const chainIds: (4 | 42 | 1 | 3 | 5 | 10 | 137 | 80001 | 250 | 4002 | 100 | 56 | 97 | 42161 | 42170 | 43114 | 43113 | 128 | 256 | 1666600000 | 1666700000 | 66 | 65 | 42220 | 11297108109 | 1285 | 122 | 40 | 1284 | 2222 | 1088 | 288 | 43288 | 56288 | 199 | 1101 | 108 | 11235 | 1116 | 324 | 59144 | 8453)[];
|
|
749
|
+
export declare const chainShortNameToChainId: {
|
|
750
|
+
[k: string]: number;
|
|
751
|
+
};
|
|
752
|
+
export declare const chainShortName: {
|
|
753
|
+
[k: string]: string;
|
|
754
|
+
};
|
|
755
|
+
export declare const chainName: {
|
|
756
|
+
[k: string]: string;
|
|
757
|
+
};
|
|
758
|
+
export * from './constants';
|
|
759
|
+
export default chains;
|
|
760
|
+
//# sourceMappingURL=index.d.ts.map
|