viem 2.0.0-alpha.19 → 2.0.0-alpha.20
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/_cjs/chains/definitions/base.js +0 -1
- package/_cjs/chains/definitions/base.js.map +1 -1
- package/_cjs/chains/definitions/baseGoerli.js +0 -1
- package/_cjs/chains/definitions/baseGoerli.js.map +1 -1
- package/_cjs/chains/definitions/baseSepolia.js +0 -1
- package/_cjs/chains/definitions/baseSepolia.js.map +1 -1
- package/_cjs/chains/definitions/celo.js +0 -1
- package/_cjs/chains/definitions/celo.js.map +1 -1
- package/_cjs/chains/definitions/celoAlfajores.js +0 -1
- package/_cjs/chains/definitions/celoAlfajores.js.map +1 -1
- package/_cjs/chains/definitions/celoCannoli.js +0 -1
- package/_cjs/chains/definitions/celoCannoli.js.map +1 -1
- package/_cjs/chains/definitions/optimism.js +0 -1
- package/_cjs/chains/definitions/optimism.js.map +1 -1
- package/_cjs/chains/definitions/optimismGoerli.js +0 -1
- package/_cjs/chains/definitions/optimismGoerli.js.map +1 -1
- package/_cjs/chains/definitions/optimismSepolia.js +0 -1
- package/_cjs/chains/definitions/optimismSepolia.js.map +1 -1
- package/_cjs/chains/definitions/zkSync.js +0 -1
- package/_cjs/chains/definitions/zkSync.js.map +1 -1
- package/_cjs/chains/definitions/zkSyncTestnet.js +0 -1
- package/_cjs/chains/definitions/zkSyncTestnet.js.map +1 -1
- package/_cjs/chains/definitions/zora.js +0 -1
- package/_cjs/chains/definitions/zora.js.map +1 -1
- package/_cjs/chains/definitions/zoraSepolia.js +0 -1
- package/_cjs/chains/definitions/zoraSepolia.js.map +1 -1
- package/_cjs/chains/definitions/zoraTestnet.js +0 -1
- package/_cjs/chains/definitions/zoraTestnet.js.map +1 -1
- package/_cjs/errors/node.js +11 -11
- package/_cjs/errors/node.js.map +1 -1
- package/_cjs/errors/rpc.js +18 -18
- package/_cjs/errors/rpc.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/index.js.map +1 -1
- package/_cjs/utils/chain/defineChain.js +4 -5
- package/_cjs/utils/chain/defineChain.js.map +1 -1
- package/_esm/chains/definitions/base.js +0 -1
- package/_esm/chains/definitions/base.js.map +1 -1
- package/_esm/chains/definitions/baseGoerli.js +1 -2
- package/_esm/chains/definitions/baseGoerli.js.map +1 -1
- package/_esm/chains/definitions/baseSepolia.js +1 -2
- package/_esm/chains/definitions/baseSepolia.js.map +1 -1
- package/_esm/chains/definitions/celo.js +0 -1
- package/_esm/chains/definitions/celo.js.map +1 -1
- package/_esm/chains/definitions/celoAlfajores.js +0 -1
- package/_esm/chains/definitions/celoAlfajores.js.map +1 -1
- package/_esm/chains/definitions/celoCannoli.js +0 -1
- package/_esm/chains/definitions/celoCannoli.js.map +1 -1
- package/_esm/chains/definitions/optimism.js +0 -1
- package/_esm/chains/definitions/optimism.js.map +1 -1
- package/_esm/chains/definitions/optimismGoerli.js +0 -1
- package/_esm/chains/definitions/optimismGoerli.js.map +1 -1
- package/_esm/chains/definitions/optimismSepolia.js +0 -1
- package/_esm/chains/definitions/optimismSepolia.js.map +1 -1
- package/_esm/chains/definitions/zkSync.js +0 -1
- package/_esm/chains/definitions/zkSync.js.map +1 -1
- package/_esm/chains/definitions/zkSyncTestnet.js +0 -1
- package/_esm/chains/definitions/zkSyncTestnet.js.map +1 -1
- package/_esm/chains/definitions/zora.js +0 -1
- package/_esm/chains/definitions/zora.js.map +1 -1
- package/_esm/chains/definitions/zoraSepolia.js +0 -1
- package/_esm/chains/definitions/zoraSepolia.js.map +1 -1
- package/_esm/chains/definitions/zoraTestnet.js +0 -1
- package/_esm/chains/definitions/zoraTestnet.js.map +1 -1
- package/_esm/errors/node.js +11 -22
- package/_esm/errors/node.js.map +1 -1
- package/_esm/errors/rpc.js +18 -36
- package/_esm/errors/rpc.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/index.js.map +1 -1
- package/_esm/utils/chain/defineChain.js +4 -5
- package/_esm/utils/chain/defineChain.js.map +1 -1
- package/_types/chains/definitions/arbitrum.d.ts +16 -14
- package/_types/chains/definitions/arbitrum.d.ts.map +1 -1
- package/_types/chains/definitions/arbitrumGoerli.d.ts +16 -15
- package/_types/chains/definitions/arbitrumGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/arbitrumNova.d.ts +16 -14
- package/_types/chains/definitions/arbitrumNova.d.ts.map +1 -1
- package/_types/chains/definitions/arbitrumSepolia.d.ts +16 -15
- package/_types/chains/definitions/arbitrumSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/astarZkatana.d.ts +20 -19
- package/_types/chains/definitions/astarZkatana.d.ts.map +1 -1
- package/_types/chains/definitions/aurora.d.ts +20 -10
- package/_types/chains/definitions/aurora.d.ts.map +1 -1
- package/_types/chains/definitions/auroraTestnet.d.ts +20 -11
- package/_types/chains/definitions/auroraTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/avalanche.d.ts +16 -14
- package/_types/chains/definitions/avalanche.d.ts.map +1 -1
- package/_types/chains/definitions/avalancheFuji.d.ts +16 -15
- package/_types/chains/definitions/avalancheFuji.d.ts.map +1 -1
- package/_types/chains/definitions/base.d.ts +20 -1012
- package/_types/chains/definitions/base.d.ts.map +1 -1
- package/_types/chains/definitions/baseGoerli.d.ts +20 -1014
- package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/baseSepolia.d.ts +29 -1015
- package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/bearNetworkChainMainnet.d.ts +20 -10
- package/_types/chains/definitions/bearNetworkChainMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/bearNetworkChainTestnet.d.ts +20 -11
- package/_types/chains/definitions/bearNetworkChainTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/boba.d.ts +16 -14
- package/_types/chains/definitions/boba.d.ts.map +1 -1
- package/_types/chains/definitions/bronos.d.ts +20 -10
- package/_types/chains/definitions/bronos.d.ts.map +1 -1
- package/_types/chains/definitions/bronosTestnet.d.ts +20 -11
- package/_types/chains/definitions/bronosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/bsc.d.ts +16 -14
- package/_types/chains/definitions/bsc.d.ts.map +1 -1
- package/_types/chains/definitions/bscTestnet.d.ts +16 -15
- package/_types/chains/definitions/bscTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/bxn.d.ts +20 -10
- package/_types/chains/definitions/bxn.d.ts.map +1 -1
- package/_types/chains/definitions/bxnTestnet.d.ts +20 -10
- package/_types/chains/definitions/bxnTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/canto.d.ts +16 -14
- package/_types/chains/definitions/canto.d.ts.map +1 -1
- package/_types/chains/definitions/celo.d.ts +22 -1773
- package/_types/chains/definitions/celo.d.ts.map +1 -1
- package/_types/chains/definitions/celoAlfajores.d.ts +22 -1773
- package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
- package/_types/chains/definitions/celoCannoli.d.ts +22 -1773
- package/_types/chains/definitions/celoCannoli.d.ts.map +1 -1
- package/_types/chains/definitions/classic.d.ts +20 -10
- package/_types/chains/definitions/classic.d.ts.map +1 -1
- package/_types/chains/definitions/confluxESpace.d.ts +16 -14
- package/_types/chains/definitions/confluxESpace.d.ts.map +1 -1
- package/_types/chains/definitions/coreDao.d.ts +16 -15
- package/_types/chains/definitions/coreDao.d.ts.map +1 -1
- package/_types/chains/definitions/cronos.d.ts +16 -14
- package/_types/chains/definitions/cronos.d.ts.map +1 -1
- package/_types/chains/definitions/cronosTestnet.d.ts +16 -15
- package/_types/chains/definitions/cronosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/crossbell.d.ts +16 -14
- package/_types/chains/definitions/crossbell.d.ts.map +1 -1
- package/_types/chains/definitions/dfk.d.ts +20 -10
- package/_types/chains/definitions/dfk.d.ts.map +1 -1
- package/_types/chains/definitions/dogechain.d.ts +20 -10
- package/_types/chains/definitions/dogechain.d.ts.map +1 -1
- package/_types/chains/definitions/edgeware.d.ts +16 -14
- package/_types/chains/definitions/edgeware.d.ts.map +1 -1
- package/_types/chains/definitions/edgewareTestnet.d.ts +20 -10
- package/_types/chains/definitions/edgewareTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/ekta.d.ts +20 -10
- package/_types/chains/definitions/ekta.d.ts.map +1 -1
- package/_types/chains/definitions/ektaTestnet.d.ts +20 -11
- package/_types/chains/definitions/ektaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/eon.d.ts +13 -11
- package/_types/chains/definitions/eon.d.ts.map +1 -1
- package/_types/chains/definitions/eos.d.ts +16 -14
- package/_types/chains/definitions/eos.d.ts.map +1 -1
- package/_types/chains/definitions/eosTestnet.d.ts +16 -15
- package/_types/chains/definitions/eosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/evmos.d.ts +20 -10
- package/_types/chains/definitions/evmos.d.ts.map +1 -1
- package/_types/chains/definitions/evmosTestnet.d.ts +20 -10
- package/_types/chains/definitions/evmosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/fantom.d.ts +16 -14
- package/_types/chains/definitions/fantom.d.ts.map +1 -1
- package/_types/chains/definitions/fantomTestnet.d.ts +16 -14
- package/_types/chains/definitions/fantomTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/fibo.d.ts +20 -10
- package/_types/chains/definitions/fibo.d.ts.map +1 -1
- package/_types/chains/definitions/filecoin.d.ts +20 -10
- package/_types/chains/definitions/filecoin.d.ts.map +1 -1
- package/_types/chains/definitions/filecoinCalibration.d.ts +20 -10
- package/_types/chains/definitions/filecoinCalibration.d.ts.map +1 -1
- package/_types/chains/definitions/filecoinHyperspace.d.ts +20 -10
- package/_types/chains/definitions/filecoinHyperspace.d.ts.map +1 -1
- package/_types/chains/definitions/flare.d.ts +20 -10
- package/_types/chains/definitions/flare.d.ts.map +1 -1
- package/_types/chains/definitions/flareTestnet.d.ts +20 -11
- package/_types/chains/definitions/flareTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/foundry.d.ts +24 -4
- package/_types/chains/definitions/foundry.d.ts.map +1 -1
- package/_types/chains/definitions/fuse.d.ts +16 -14
- package/_types/chains/definitions/fuse.d.ts.map +1 -1
- package/_types/chains/definitions/fuseSparknet.d.ts +20 -10
- package/_types/chains/definitions/fuseSparknet.d.ts.map +1 -1
- package/_types/chains/definitions/gnosis.d.ts +16 -14
- package/_types/chains/definitions/gnosis.d.ts.map +1 -1
- package/_types/chains/definitions/gnosisChiado.d.ts +20 -11
- package/_types/chains/definitions/gnosisChiado.d.ts.map +1 -1
- package/_types/chains/definitions/gobi.d.ts +13 -12
- package/_types/chains/definitions/gobi.d.ts.map +1 -1
- package/_types/chains/definitions/goerli.d.ts +16 -15
- package/_types/chains/definitions/goerli.d.ts.map +1 -1
- package/_types/chains/definitions/haqqMainnet.d.ts +20 -10
- package/_types/chains/definitions/haqqMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/haqqTestedge2.d.ts +20 -10
- package/_types/chains/definitions/haqqTestedge2.d.ts.map +1 -1
- package/_types/chains/definitions/hardhat.d.ts +24 -4
- package/_types/chains/definitions/hardhat.d.ts.map +1 -1
- package/_types/chains/definitions/harmonyOne.d.ts +16 -14
- package/_types/chains/definitions/harmonyOne.d.ts.map +1 -1
- package/_types/chains/definitions/holesky.d.ts +22 -11
- package/_types/chains/definitions/holesky.d.ts.map +1 -1
- package/_types/chains/definitions/iotex.d.ts +20 -10
- package/_types/chains/definitions/iotex.d.ts.map +1 -1
- package/_types/chains/definitions/iotexTestnet.d.ts +20 -10
- package/_types/chains/definitions/iotexTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/klaytn.d.ts +20 -10
- package/_types/chains/definitions/klaytn.d.ts.map +1 -1
- package/_types/chains/definitions/kroma.d.ts +20 -11
- package/_types/chains/definitions/kroma.d.ts.map +1 -1
- package/_types/chains/definitions/kromaSepolia.d.ts +20 -11
- package/_types/chains/definitions/kromaSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/linea.d.ts +17 -16
- package/_types/chains/definitions/linea.d.ts.map +1 -1
- package/_types/chains/definitions/lineaTestnet.d.ts +17 -16
- package/_types/chains/definitions/lineaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/localhost.d.ts +24 -4
- package/_types/chains/definitions/localhost.d.ts.map +1 -1
- package/_types/chains/definitions/mainnet.d.ts +16 -14
- package/_types/chains/definitions/mainnet.d.ts.map +1 -1
- package/_types/chains/definitions/manta.d.ts +20 -18
- package/_types/chains/definitions/manta.d.ts.map +1 -1
- package/_types/chains/definitions/mantaTestnet.d.ts +20 -19
- package/_types/chains/definitions/mantaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/mantle.d.ts +16 -14
- package/_types/chains/definitions/mantle.d.ts.map +1 -1
- package/_types/chains/definitions/mantleTestnet.d.ts +20 -11
- package/_types/chains/definitions/mantleTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/meter.d.ts +20 -10
- package/_types/chains/definitions/meter.d.ts.map +1 -1
- package/_types/chains/definitions/meterTestnet.d.ts +20 -10
- package/_types/chains/definitions/meterTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/metis.d.ts +16 -14
- package/_types/chains/definitions/metis.d.ts.map +1 -1
- package/_types/chains/definitions/metisGoerli.d.ts +16 -14
- package/_types/chains/definitions/metisGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/mev.d.ts +16 -14
- package/_types/chains/definitions/mev.d.ts.map +1 -1
- package/_types/chains/definitions/mevTestnet.d.ts +16 -15
- package/_types/chains/definitions/mevTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/modeTestnet.d.ts +16 -15
- package/_types/chains/definitions/modeTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/moonbaseAlpha.d.ts +17 -16
- package/_types/chains/definitions/moonbaseAlpha.d.ts.map +1 -1
- package/_types/chains/definitions/moonbeam.d.ts +17 -16
- package/_types/chains/definitions/moonbeam.d.ts.map +1 -1
- package/_types/chains/definitions/moonbeamDev.d.ts +24 -4
- package/_types/chains/definitions/moonbeamDev.d.ts.map +1 -1
- package/_types/chains/definitions/moonriver.d.ts +17 -16
- package/_types/chains/definitions/moonriver.d.ts.map +1 -1
- package/_types/chains/definitions/neonDevnet.d.ts +16 -15
- package/_types/chains/definitions/neonDevnet.d.ts.map +1 -1
- package/_types/chains/definitions/nexi.d.ts +16 -14
- package/_types/chains/definitions/nexi.d.ts.map +1 -1
- package/_types/chains/definitions/nexilix.d.ts +16 -14
- package/_types/chains/definitions/nexilix.d.ts.map +1 -1
- package/_types/chains/definitions/oasys.d.ts +20 -10
- package/_types/chains/definitions/oasys.d.ts.map +1 -1
- package/_types/chains/definitions/okc.d.ts +16 -14
- package/_types/chains/definitions/okc.d.ts.map +1 -1
- package/_types/chains/definitions/opBNB.d.ts +16 -14
- package/_types/chains/definitions/opBNB.d.ts.map +1 -1
- package/_types/chains/definitions/opBNBTestnet.d.ts +16 -15
- package/_types/chains/definitions/opBNBTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/optimism.d.ts +20 -1012
- package/_types/chains/definitions/optimism.d.ts.map +1 -1
- package/_types/chains/definitions/optimismGoerli.d.ts +20 -1013
- package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/optimismSepolia.d.ts +20 -1013
- package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/plinga.d.ts +16 -14
- package/_types/chains/definitions/plinga.d.ts.map +1 -1
- package/_types/chains/definitions/polygon.d.ts +16 -14
- package/_types/chains/definitions/polygon.d.ts.map +1 -1
- package/_types/chains/definitions/polygonMumbai.d.ts +16 -15
- package/_types/chains/definitions/polygonMumbai.d.ts.map +1 -1
- package/_types/chains/definitions/polygonZkEvm.d.ts +16 -14
- package/_types/chains/definitions/polygonZkEvm.d.ts.map +1 -1
- package/_types/chains/definitions/polygonZkEvmTestnet.d.ts +16 -15
- package/_types/chains/definitions/polygonZkEvmTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/pulsechain.d.ts +17 -16
- package/_types/chains/definitions/pulsechain.d.ts.map +1 -1
- package/_types/chains/definitions/pulsechainV4.d.ts +17 -16
- package/_types/chains/definitions/pulsechainV4.d.ts.map +1 -1
- package/_types/chains/definitions/qMainnet.d.ts +20 -10
- package/_types/chains/definitions/qMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/qTestnet.d.ts +20 -11
- package/_types/chains/definitions/qTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/rollux.d.ts +17 -15
- package/_types/chains/definitions/rollux.d.ts.map +1 -1
- package/_types/chains/definitions/rolluxTestnet.d.ts +17 -15
- package/_types/chains/definitions/rolluxTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/ronin.d.ts +16 -14
- package/_types/chains/definitions/ronin.d.ts.map +1 -1
- package/_types/chains/definitions/saigon.d.ts +16 -15
- package/_types/chains/definitions/saigon.d.ts.map +1 -1
- package/_types/chains/definitions/scroll.d.ts +17 -16
- package/_types/chains/definitions/scroll.d.ts.map +1 -1
- package/_types/chains/definitions/scrollSepolia.d.ts +17 -16
- package/_types/chains/definitions/scrollSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/scrollTestnet.d.ts +20 -11
- package/_types/chains/definitions/scrollTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/sepolia.d.ts +16 -15
- package/_types/chains/definitions/sepolia.d.ts.map +1 -1
- package/_types/chains/definitions/shardeumSphinx.d.ts +20 -11
- package/_types/chains/definitions/shardeumSphinx.d.ts.map +1 -1
- package/_types/chains/definitions/skale/brawl.d.ts +13 -11
- package/_types/chains/definitions/skale/brawl.d.ts.map +1 -1
- package/_types/chains/definitions/skale/calypso.d.ts +17 -15
- package/_types/chains/definitions/skale/calypso.d.ts.map +1 -1
- package/_types/chains/definitions/skale/calypsoTestnet.d.ts +17 -16
- package/_types/chains/definitions/skale/calypsoTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/skale/chaosTestnet.d.ts +17 -16
- package/_types/chains/definitions/skale/chaosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/skale/cryptoBlades.d.ts +13 -11
- package/_types/chains/definitions/skale/cryptoBlades.d.ts.map +1 -1
- package/_types/chains/definitions/skale/cryptoColosseum.d.ts +13 -11
- package/_types/chains/definitions/skale/cryptoColosseum.d.ts.map +1 -1
- package/_types/chains/definitions/skale/europa.d.ts +17 -15
- package/_types/chains/definitions/skale/europa.d.ts.map +1 -1
- package/_types/chains/definitions/skale/europaTestnet.d.ts +17 -16
- package/_types/chains/definitions/skale/europaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/skale/exorde.d.ts +13 -11
- package/_types/chains/definitions/skale/exorde.d.ts.map +1 -1
- package/_types/chains/definitions/skale/humanProtocol.d.ts +13 -11
- package/_types/chains/definitions/skale/humanProtocol.d.ts.map +1 -1
- package/_types/chains/definitions/skale/nebula.d.ts +17 -15
- package/_types/chains/definitions/skale/nebula.d.ts.map +1 -1
- package/_types/chains/definitions/skale/nebulaTestnet.d.ts +17 -16
- package/_types/chains/definitions/skale/nebulaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/skale/razor.d.ts +13 -11
- package/_types/chains/definitions/skale/razor.d.ts.map +1 -1
- package/_types/chains/definitions/skale/titan.d.ts +17 -15
- package/_types/chains/definitions/skale/titan.d.ts.map +1 -1
- package/_types/chains/definitions/skale/titanTestnet.d.ts +17 -16
- package/_types/chains/definitions/skale/titanTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/songbird.d.ts +20 -10
- package/_types/chains/definitions/songbird.d.ts.map +1 -1
- package/_types/chains/definitions/songbirdTestnet.d.ts +20 -11
- package/_types/chains/definitions/songbirdTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/syscoin.d.ts +17 -15
- package/_types/chains/definitions/syscoin.d.ts.map +1 -1
- package/_types/chains/definitions/syscoinTestnet.d.ts +17 -15
- package/_types/chains/definitions/syscoinTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/taikoJolnir.d.ts +20 -10
- package/_types/chains/definitions/taikoJolnir.d.ts.map +1 -1
- package/_types/chains/definitions/taikoTestnetSepolia.d.ts +20 -10
- package/_types/chains/definitions/taikoTestnetSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/taraxa.d.ts +20 -10
- package/_types/chains/definitions/taraxa.d.ts.map +1 -1
- package/_types/chains/definitions/taraxaTestnet.d.ts +20 -11
- package/_types/chains/definitions/taraxaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/telos.d.ts +16 -14
- package/_types/chains/definitions/telos.d.ts.map +1 -1
- package/_types/chains/definitions/telosTestnet.d.ts +20 -11
- package/_types/chains/definitions/telosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/thunderTestnet.d.ts +20 -11
- package/_types/chains/definitions/thunderTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/vechain.d.ts +23 -13
- package/_types/chains/definitions/vechain.d.ts.map +1 -1
- package/_types/chains/definitions/wanchain.d.ts +16 -14
- package/_types/chains/definitions/wanchain.d.ts.map +1 -1
- package/_types/chains/definitions/wanchainTestnet.d.ts +16 -15
- package/_types/chains/definitions/wanchainTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/xdc.d.ts +23 -13
- package/_types/chains/definitions/xdc.d.ts.map +1 -1
- package/_types/chains/definitions/xdcTestnet.d.ts +23 -13
- package/_types/chains/definitions/xdcTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zetachainAthensTestnet.d.ts +20 -11
- package/_types/chains/definitions/zetachainAthensTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zhejiang.d.ts +20 -11
- package/_types/chains/definitions/zhejiang.d.ts.map +1 -1
- package/_types/chains/definitions/zkSync.d.ts +24 -986
- package/_types/chains/definitions/zkSync.d.ts.map +1 -1
- package/_types/chains/definitions/zkSyncTestnet.d.ts +24 -987
- package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zora.d.ts +21 -1013
- package/_types/chains/definitions/zora.d.ts.map +1 -1
- package/_types/chains/definitions/zoraSepolia.d.ts +23 -1016
- package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/zoraTestnet.d.ts +21 -1014
- package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/index.d.ts +1 -1
- package/_types/index.d.ts.map +1 -1
- package/_types/types/chain.d.ts +14 -17
- package/_types/types/chain.d.ts.map +1 -1
- package/_types/utils/chain/defineChain.d.ts +2 -2
- package/_types/utils/chain/defineChain.d.ts.map +1 -1
- package/chains/definitions/base.ts +19 -23
- package/chains/definitions/baseGoerli.ts +20 -24
- package/chains/definitions/baseSepolia.ts +23 -27
- package/chains/definitions/celo.ts +24 -28
- package/chains/definitions/celoAlfajores.ts +25 -29
- package/chains/definitions/celoCannoli.ts +25 -29
- package/chains/definitions/optimism.ts +19 -23
- package/chains/definitions/optimismGoerli.ts +20 -24
- package/chains/definitions/optimismSepolia.ts +20 -24
- package/chains/definitions/zkSync.ts +25 -29
- package/chains/definitions/zkSyncTestnet.ts +22 -26
- package/chains/definitions/zora.ts +22 -26
- package/chains/definitions/zoraSepolia.ts +28 -32
- package/chains/definitions/zoraTestnet.ts +25 -29
- package/errors/version.ts +1 -1
- package/index.ts +0 -1
- package/package.json +1 -1
- package/types/chain.ts +19 -25
- package/utils/chain/defineChain.ts +8 -16
- package/_cjs/utils/chain.js +0 -43
- package/_cjs/utils/chain.js.map +0 -1
- package/_esm/utils/chain.js +0 -37
- package/_esm/utils/chain.js.map +0 -1
- package/_types/utils/chain.d.ts +0 -18
- package/_types/utils/chain.d.ts.map +0 -1
- package/utils/chain.ts +0 -91
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../chains/definitions/base.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,6DAA8D;AAEjD,QAAA,IAAI,GAAiB,IAAA,4BAAW,
|
1
|
+
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../chains/definitions/base.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,6DAA8D;AAEjD,QAAA,IAAI,GAAiB,IAAA,4BAAW,EAAC;IAC5C,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,MAAM;IACZ,cAAc,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC9D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,0BAA0B,CAAC;SACnC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,sBAAsB;SAC5B;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,IAAI;SACnB;KACF;IACD,UAAU,EAAE,kCAAkB;CAC/B,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"baseGoerli.js","sourceRoot":"","sources":["../../../chains/definitions/baseGoerli.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,6DAA8D;AAEjD,QAAA,UAAU,GAAiB,IAAA,4BAAW,
|
1
|
+
{"version":3,"file":"baseGoerli.js","sourceRoot":"","sources":["../../../chains/definitions/baseGoerli.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,6DAA8D;AAEjD,QAAA,UAAU,GAAiB,IAAA,4BAAW,EAAC;IAClD,EAAE,EAAE,KAAK;IACT,IAAI,EAAE,aAAa;IACnB,cAAc,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrE,OAAO,EAAE;QACP,OAAO,EAAE,EAAE,IAAI,EAAE,CAAC,yBAAyB,CAAC,EAAE;KAC/C;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,6BAA6B;SACnC;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;KACF;IACD,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,CAAC;IACX,UAAU,EAAE,kCAAkB;CAC/B,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"baseSepolia.js","sourceRoot":"","sources":["../../../chains/definitions/baseSepolia.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,6DAA8D;AAEjD,QAAA,WAAW,GAAiB,IAAA,4BAAW,
|
1
|
+
{"version":3,"file":"baseSepolia.js","sourceRoot":"","sources":["../../../chains/definitions/baseSepolia.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,6DAA8D;AAEjD,QAAA,WAAW,GAAiB,IAAA,4BAAW,EAAC;IACnD,EAAE,EAAE,KAAK;IACT,OAAO,EAAE,cAAc;IACvB,IAAI,EAAE,cAAc;IACpB,cAAc,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACtE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,0BAA0B,CAAC;SACnC;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,0BAA0B,CAAC;SACnC;KACF;IACD,cAAc,EAAE;QACd,UAAU,EAAE;YACV,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,qCAAqC;SAC3C;QACD,OAAO,EAAE;YACP,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,qCAAqC;SAC3C;KACF;IACD,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,QAAQ;IAClB,UAAU,EAAE,kCAAkB;CAC/B,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"celo.js","sourceRoot":"","sources":["../../../chains/definitions/celo.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,yDAAsD;AACtD,2DAAwD;AAE3C,QAAA,IAAI,GAAiB,IAAA,4BAAW,
|
1
|
+
{"version":3,"file":"celo.js","sourceRoot":"","sources":["../../../chains/definitions/celo.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,yDAAsD;AACtD,2DAAwD;AAE3C,QAAA,IAAI,GAAiB,IAAA,4BAAW,EAAC;IAC5C,EAAE,EAAE,KAAM;IACV,IAAI,EAAE,MAAM;IACZ,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,MAAM;QACZ,MAAM,EAAE,MAAM;KACf;IACD,OAAO,EAAE;QACP,OAAO,EAAE,EAAE,IAAI,EAAE,CAAC,wBAAwB,CAAC,EAAE;KAC9C;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,eAAe;YACrB,GAAG,EAAE,mCAAmC;SACzC;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,QAAQ;SACvB;KACF;IACD,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,8BAAc;IAC1B,WAAW,EAAE,gCAAe;CAC7B,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"celoAlfajores.js","sourceRoot":"","sources":["../../../chains/definitions/celoAlfajores.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,yDAAsD;AACtD,2DAAwD;AAE3C,QAAA,aAAa,GAAiB,IAAA,4BAAW,
|
1
|
+
{"version":3,"file":"celoAlfajores.js","sourceRoot":"","sources":["../../../chains/definitions/celoAlfajores.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,yDAAsD;AACtD,2DAAwD;AAE3C,QAAA,aAAa,GAAiB,IAAA,4BAAW,EAAC;IACrD,EAAE,EAAE,KAAM;IACV,IAAI,EAAE,WAAW;IACjB,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,MAAM;QACZ,MAAM,EAAE,QAAQ;KACjB;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,0CAA0C,CAAC;SACnD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,eAAe;YACrB,GAAG,EAAE,qCAAqC;SAC3C;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,QAAQ;SACvB;KACF;IACD,OAAO,EAAE,IAAI;IACb,UAAU,EAAE,8BAAc;IAC1B,WAAW,EAAE,gCAAe;CAC7B,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"celoCannoli.js","sourceRoot":"","sources":["../../../chains/definitions/celoCannoli.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,yDAAsD;AACtD,2DAAwD;AAE3C,QAAA,WAAW,GAAiB,IAAA,4BAAW,
|
1
|
+
{"version":3,"file":"celoCannoli.js","sourceRoot":"","sources":["../../../chains/definitions/celoCannoli.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,yDAAsD;AACtD,2DAAwD;AAE3C,QAAA,WAAW,GAAiB,IAAA,4BAAW,EAAC;IACnD,EAAE,EAAE,KAAM;IACV,IAAI,EAAE,SAAS;IACf,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,MAAM;QACZ,MAAM,EAAE,QAAQ;KACjB;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,wCAAwC,CAAC;SACjD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,eAAe;YACrB,GAAG,EAAE,mCAAmC;SACzC;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,KAAK;SACpB;KACF;IACD,OAAO,EAAE,IAAI;IACb,UAAU,EAAE,8BAAc;IAC1B,WAAW,EAAE,gCAAe;CAC7B,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"optimism.js","sourceRoot":"","sources":["../../../chains/definitions/optimism.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,6DAA8D;AAEjD,QAAA,QAAQ,GAAiB,IAAA,4BAAW,
|
1
|
+
{"version":3,"file":"optimism.js","sourceRoot":"","sources":["../../../chains/definitions/optimism.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,6DAA8D;AAEjD,QAAA,QAAQ,GAAiB,IAAA,4BAAW,EAAC;IAChD,EAAE,EAAE,EAAE;IACN,IAAI,EAAE,YAAY;IAClB,cAAc,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC9D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,6BAA6B,CAAC;SACtC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,mBAAmB;YACzB,GAAG,EAAE,8BAA8B;SACpC;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;KACF;IACD,UAAU,EAAE,kCAAkB;CAC/B,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"optimismGoerli.js","sourceRoot":"","sources":["../../../chains/definitions/optimismGoerli.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,6DAA8D;AAEjD,QAAA,cAAc,GAAiB,IAAA,4BAAW,
|
1
|
+
{"version":3,"file":"optimismGoerli.js","sourceRoot":"","sources":["../../../chains/definitions/optimismGoerli.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,6DAA8D;AAEjD,QAAA,cAAc,GAAiB,IAAA,4BAAW,EAAC;IACtD,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,iBAAiB;IACvB,cAAc,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,4BAA4B,CAAC;SACrC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,WAAW;YACjB,GAAG,EAAE,sCAAsC;SAC5C;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,KAAK;SACpB;KACF;IACD,OAAO,EAAE,IAAI;IACb,UAAU,EAAE,kCAAkB;CAC/B,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"optimismSepolia.js","sourceRoot":"","sources":["../../../chains/definitions/optimismSepolia.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,6DAA8D;AAEjD,QAAA,eAAe,GAAiB,IAAA,4BAAW,
|
1
|
+
{"version":3,"file":"optimismSepolia.js","sourceRoot":"","sources":["../../../chains/definitions/optimismSepolia.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,6DAA8D;AAEjD,QAAA,eAAe,GAAiB,IAAA,4BAAW,EAAC;IACvD,EAAE,EAAE,QAAQ;IACZ,IAAI,EAAE,kBAAkB;IACxB,cAAc,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACtE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,6BAA6B,CAAC;SACtC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,yCAAyC;SAC/C;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;KACF;IACD,OAAO,EAAE,IAAI;IACb,UAAU,EAAE,kCAAkB;CAC/B,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"zkSync.js","sourceRoot":"","sources":["../../../chains/definitions/zkSync.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,2DAA0D;AAC1D,6DAA4D;AAE/C,QAAA,MAAM,GAAiB,IAAA,4BAAW,
|
1
|
+
{"version":3,"file":"zkSync.js","sourceRoot":"","sources":["../../../chains/definitions/zkSync.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,2DAA0D;AAC1D,6DAA4D;AAE/C,QAAA,MAAM,GAAiB,IAAA,4BAAW,EAAC;IAC9C,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,YAAY;IACrB,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,KAAK;KACd;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,+BAA+B,CAAC;YACvC,SAAS,EAAE,CAAC,gCAAgC,CAAC;SAC9C;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,4BAA4B;SAClC;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;SACtD;KACF;IACD,WAAW,EAAE,kCAAiB;IAC9B,UAAU,EAAE,gCAAgB;CAC7B,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"zkSyncTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/zkSyncTestnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,2DAA0D;AAC1D,6DAA4D;AAE/C,QAAA,aAAa,GAAiB,IAAA,4BAAW,
|
1
|
+
{"version":3,"file":"zkSyncTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/zkSyncTestnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,2DAA0D;AAC1D,6DAA4D;AAE/C,QAAA,aAAa,GAAiB,IAAA,4BAAW,EAAC;IACrD,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,oBAAoB;IAC7B,cAAc,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC9D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,gCAAgC,CAAC;YACxC,SAAS,EAAE,CAAC,iCAAiC,CAAC;SAC/C;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,mCAAmC;SACzC;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;SACtD;KACF;IACD,OAAO,EAAE,IAAI;IACb,WAAW,EAAE,kCAAiB;IAC9B,UAAU,EAAE,gCAAgB;CAC7B,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"zora.js","sourceRoot":"","sources":["../../../chains/definitions/zora.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,6DAA8D;AAEjD,QAAA,IAAI,GAAiB,IAAA,4BAAW,
|
1
|
+
{"version":3,"file":"zora.js","sourceRoot":"","sources":["../../../chains/definitions/zora.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,6DAA8D;AAEjD,QAAA,IAAI,GAAiB,IAAA,4BAAW,EAAC;IAC5C,EAAE,EAAE,OAAO;IACX,IAAI,EAAE,MAAM;IACZ,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,KAAK;KACd;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,yBAAyB,CAAC;YACjC,SAAS,EAAE,CAAC,uBAAuB,CAAC;SACrC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,8BAA8B,EAAE;KACnE;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,IAAI;SACnB;KACF;IACD,UAAU,EAAE,kCAAkB;CAC/B,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"zoraSepolia.js","sourceRoot":"","sources":["../../../chains/definitions/zoraSepolia.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,6DAA8D;AAEjD,QAAA,WAAW,GAAiB,IAAA,4BAAW,
|
1
|
+
{"version":3,"file":"zoraSepolia.js","sourceRoot":"","sources":["../../../chains/definitions/zoraSepolia.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,6DAA8D;AAEjD,QAAA,WAAW,GAAiB,IAAA,4BAAW,EAAC;IACnD,EAAE,EAAE,SAAS;IACb,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,cAAc;IACvB,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE,KAAK;KACd;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,iCAAiC,CAAC;YACzC,SAAS,EAAE,CAAC,+BAA+B,CAAC;SAC7C;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,iCAAiC,CAAC;YACzC,SAAS,EAAE,CAAC,+BAA+B,CAAC;SAC7C;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,uBAAuB;YAC7B,GAAG,EAAE,uCAAuC;SAC7C;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,KAAK;SACpB;KACF;IACD,OAAO,EAAE,IAAI;IACb,UAAU,EAAE,kCAAkB;CAC/B,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"zoraTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/zoraTestnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,6DAA8D;AAEjD,QAAA,WAAW,GAAiB,IAAA,4BAAW,
|
1
|
+
{"version":3,"file":"zoraTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/zoraTestnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,6DAA8D;AAEjD,QAAA,WAAW,GAAiB,IAAA,4BAAW,EAAC;IACnD,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,qBAAqB;IAC3B,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,aAAa;QACnB,MAAM,EAAE,KAAK;KACd;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,iCAAiC,CAAC;YACzC,SAAS,EAAE,CAAC,+BAA+B,CAAC;SAC7C;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,sCAAsC;SAC5C;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,MAAM;SACrB;KACF;IACD,OAAO,EAAE,IAAI;IACb,UAAU,EAAE,kCAAkB;CAC/B,CAAC,CAAA"}
|
package/_cjs/errors/node.js
CHANGED
@@ -19,6 +19,7 @@ class ExecutionRevertedError extends base_js_1.BaseError {
|
|
19
19
|
});
|
20
20
|
}
|
21
21
|
}
|
22
|
+
exports.ExecutionRevertedError = ExecutionRevertedError;
|
22
23
|
Object.defineProperty(ExecutionRevertedError, "code", {
|
23
24
|
enumerable: true,
|
24
25
|
configurable: true,
|
@@ -31,7 +32,6 @@ Object.defineProperty(ExecutionRevertedError, "nodeMessage", {
|
|
31
32
|
writable: true,
|
32
33
|
value: /execution reverted/
|
33
34
|
});
|
34
|
-
exports.ExecutionRevertedError = ExecutionRevertedError;
|
35
35
|
class FeeCapTooHighError extends base_js_1.BaseError {
|
36
36
|
constructor({ cause, maxFeePerGas, } = {}) {
|
37
37
|
super(`The fee cap (\`maxFeePerGas\`${maxFeePerGas ? ` = ${(0, formatGwei_js_1.formatGwei)(maxFeePerGas)} gwei` : ''}) cannot be higher than the maximum allowed value (2^256-1).`, {
|
@@ -45,13 +45,13 @@ class FeeCapTooHighError extends base_js_1.BaseError {
|
|
45
45
|
});
|
46
46
|
}
|
47
47
|
}
|
48
|
+
exports.FeeCapTooHighError = FeeCapTooHighError;
|
48
49
|
Object.defineProperty(FeeCapTooHighError, "nodeMessage", {
|
49
50
|
enumerable: true,
|
50
51
|
configurable: true,
|
51
52
|
writable: true,
|
52
53
|
value: /max fee per gas higher than 2\^256-1|fee cap higher than 2\^256-1/
|
53
54
|
});
|
54
|
-
exports.FeeCapTooHighError = FeeCapTooHighError;
|
55
55
|
class FeeCapTooLowError extends base_js_1.BaseError {
|
56
56
|
constructor({ cause, maxFeePerGas, } = {}) {
|
57
57
|
super(`The fee cap (\`maxFeePerGas\`${maxFeePerGas ? ` = ${(0, formatGwei_js_1.formatGwei)(maxFeePerGas)}` : ''} gwei) cannot be lower than the block base fee.`, {
|
@@ -65,13 +65,13 @@ class FeeCapTooLowError extends base_js_1.BaseError {
|
|
65
65
|
});
|
66
66
|
}
|
67
67
|
}
|
68
|
+
exports.FeeCapTooLowError = FeeCapTooLowError;
|
68
69
|
Object.defineProperty(FeeCapTooLowError, "nodeMessage", {
|
69
70
|
enumerable: true,
|
70
71
|
configurable: true,
|
71
72
|
writable: true,
|
72
73
|
value: /max fee per gas less than block base fee|fee cap less than block base fee|transaction is outdated/
|
73
74
|
});
|
74
|
-
exports.FeeCapTooLowError = FeeCapTooLowError;
|
75
75
|
class NonceTooHighError extends base_js_1.BaseError {
|
76
76
|
constructor({ cause, nonce } = {}) {
|
77
77
|
super(`Nonce provided for the transaction ${nonce ? `(${nonce}) ` : ''}is higher than the next one expected.`, { cause });
|
@@ -83,13 +83,13 @@ class NonceTooHighError extends base_js_1.BaseError {
|
|
83
83
|
});
|
84
84
|
}
|
85
85
|
}
|
86
|
+
exports.NonceTooHighError = NonceTooHighError;
|
86
87
|
Object.defineProperty(NonceTooHighError, "nodeMessage", {
|
87
88
|
enumerable: true,
|
88
89
|
configurable: true,
|
89
90
|
writable: true,
|
90
91
|
value: /nonce too high/
|
91
92
|
});
|
92
|
-
exports.NonceTooHighError = NonceTooHighError;
|
93
93
|
class NonceTooLowError extends base_js_1.BaseError {
|
94
94
|
constructor({ cause, nonce } = {}) {
|
95
95
|
super([
|
@@ -104,13 +104,13 @@ class NonceTooLowError extends base_js_1.BaseError {
|
|
104
104
|
});
|
105
105
|
}
|
106
106
|
}
|
107
|
+
exports.NonceTooLowError = NonceTooLowError;
|
107
108
|
Object.defineProperty(NonceTooLowError, "nodeMessage", {
|
108
109
|
enumerable: true,
|
109
110
|
configurable: true,
|
110
111
|
writable: true,
|
111
112
|
value: /nonce too low|transaction already imported|already known/
|
112
113
|
});
|
113
|
-
exports.NonceTooLowError = NonceTooLowError;
|
114
114
|
class NonceMaxValueError extends base_js_1.BaseError {
|
115
115
|
constructor({ cause, nonce } = {}) {
|
116
116
|
super(`Nonce provided for the transaction ${nonce ? `(${nonce}) ` : ''}exceeds the maximum allowed nonce.`, { cause });
|
@@ -122,13 +122,13 @@ class NonceMaxValueError extends base_js_1.BaseError {
|
|
122
122
|
});
|
123
123
|
}
|
124
124
|
}
|
125
|
+
exports.NonceMaxValueError = NonceMaxValueError;
|
125
126
|
Object.defineProperty(NonceMaxValueError, "nodeMessage", {
|
126
127
|
enumerable: true,
|
127
128
|
configurable: true,
|
128
129
|
writable: true,
|
129
130
|
value: /nonce has max value/
|
130
131
|
});
|
131
|
-
exports.NonceMaxValueError = NonceMaxValueError;
|
132
132
|
class InsufficientFundsError extends base_js_1.BaseError {
|
133
133
|
constructor({ cause } = {}) {
|
134
134
|
super([
|
@@ -154,13 +154,13 @@ class InsufficientFundsError extends base_js_1.BaseError {
|
|
154
154
|
});
|
155
155
|
}
|
156
156
|
}
|
157
|
+
exports.InsufficientFundsError = InsufficientFundsError;
|
157
158
|
Object.defineProperty(InsufficientFundsError, "nodeMessage", {
|
158
159
|
enumerable: true,
|
159
160
|
configurable: true,
|
160
161
|
writable: true,
|
161
162
|
value: /insufficient funds/
|
162
163
|
});
|
163
|
-
exports.InsufficientFundsError = InsufficientFundsError;
|
164
164
|
class IntrinsicGasTooHighError extends base_js_1.BaseError {
|
165
165
|
constructor({ cause, gas } = {}) {
|
166
166
|
super(`The amount of gas ${gas ? `(${gas}) ` : ''}provided for the transaction exceeds the limit allowed for the block.`, {
|
@@ -174,13 +174,13 @@ class IntrinsicGasTooHighError extends base_js_1.BaseError {
|
|
174
174
|
});
|
175
175
|
}
|
176
176
|
}
|
177
|
+
exports.IntrinsicGasTooHighError = IntrinsicGasTooHighError;
|
177
178
|
Object.defineProperty(IntrinsicGasTooHighError, "nodeMessage", {
|
178
179
|
enumerable: true,
|
179
180
|
configurable: true,
|
180
181
|
writable: true,
|
181
182
|
value: /intrinsic gas too high|gas limit reached/
|
182
183
|
});
|
183
|
-
exports.IntrinsicGasTooHighError = IntrinsicGasTooHighError;
|
184
184
|
class IntrinsicGasTooLowError extends base_js_1.BaseError {
|
185
185
|
constructor({ cause, gas } = {}) {
|
186
186
|
super(`The amount of gas ${gas ? `(${gas}) ` : ''}provided for the transaction is too low.`, {
|
@@ -194,13 +194,13 @@ class IntrinsicGasTooLowError extends base_js_1.BaseError {
|
|
194
194
|
});
|
195
195
|
}
|
196
196
|
}
|
197
|
+
exports.IntrinsicGasTooLowError = IntrinsicGasTooLowError;
|
197
198
|
Object.defineProperty(IntrinsicGasTooLowError, "nodeMessage", {
|
198
199
|
enumerable: true,
|
199
200
|
configurable: true,
|
200
201
|
writable: true,
|
201
202
|
value: /intrinsic gas too low/
|
202
203
|
});
|
203
|
-
exports.IntrinsicGasTooLowError = IntrinsicGasTooLowError;
|
204
204
|
class TransactionTypeNotSupportedError extends base_js_1.BaseError {
|
205
205
|
constructor({ cause }) {
|
206
206
|
super('The transaction type is not supported for this chain.', {
|
@@ -214,13 +214,13 @@ class TransactionTypeNotSupportedError extends base_js_1.BaseError {
|
|
214
214
|
});
|
215
215
|
}
|
216
216
|
}
|
217
|
+
exports.TransactionTypeNotSupportedError = TransactionTypeNotSupportedError;
|
217
218
|
Object.defineProperty(TransactionTypeNotSupportedError, "nodeMessage", {
|
218
219
|
enumerable: true,
|
219
220
|
configurable: true,
|
220
221
|
writable: true,
|
221
222
|
value: /transaction type not valid/
|
222
223
|
});
|
223
|
-
exports.TransactionTypeNotSupportedError = TransactionTypeNotSupportedError;
|
224
224
|
class TipAboveFeeCapError extends base_js_1.BaseError {
|
225
225
|
constructor({ cause, maxPriorityFeePerGas, maxFeePerGas, } = {}) {
|
226
226
|
super([
|
@@ -238,13 +238,13 @@ class TipAboveFeeCapError extends base_js_1.BaseError {
|
|
238
238
|
});
|
239
239
|
}
|
240
240
|
}
|
241
|
+
exports.TipAboveFeeCapError = TipAboveFeeCapError;
|
241
242
|
Object.defineProperty(TipAboveFeeCapError, "nodeMessage", {
|
242
243
|
enumerable: true,
|
243
244
|
configurable: true,
|
244
245
|
writable: true,
|
245
246
|
value: /max priority fee per gas higher than max fee per gas|tip higher than fee cap/
|
246
247
|
});
|
247
|
-
exports.TipAboveFeeCapError = TipAboveFeeCapError;
|
248
248
|
class UnknownNodeError extends base_js_1.BaseError {
|
249
249
|
constructor({ cause }) {
|
250
250
|
super(`An error occurred while executing: ${cause?.shortMessage}`, {
|
package/_cjs/errors/node.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"node.js","sourceRoot":"","sources":["../../errors/node.ts"],"names":[],"mappings":";;;AAAA,+DAAwD;AAExD,uCAAqC;AAerC,MAAa,sBAAuB,SAAQ,mBAAS;IAMnD,YAAY,EACV,KAAK,EACL,OAAO,MACoC,EAAE;QAC7C,MAAM,M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