viem 2.0.0-alpha.9 → 2.0.0-beta.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/CHANGELOG.md +2138 -0
- package/LICENSE +21 -0
- package/README.md +215 -0
- package/_cjs/accounts/generateMnemonic.js.map +1 -1
- package/_cjs/accounts/generatePrivateKey.js.map +1 -1
- package/_cjs/accounts/hdKeyToAccount.js.map +1 -1
- package/_cjs/accounts/index.js.map +1 -1
- package/_cjs/accounts/mnemonicToAccount.js.map +1 -1
- package/_cjs/accounts/privateKeyToAccount.js.map +1 -1
- package/_cjs/accounts/toAccount.js.map +1 -1
- package/_cjs/accounts/utils/parseAccount.js.map +1 -1
- package/_cjs/accounts/utils/privateKeyToAddress.js.map +1 -1
- package/_cjs/accounts/utils/publicKeyToAddress.js.map +1 -1
- package/_cjs/accounts/utils/sign.js.map +1 -1
- package/_cjs/accounts/utils/signMessage.js.map +1 -1
- package/_cjs/accounts/utils/signTransaction.js.map +1 -1
- package/_cjs/accounts/utils/signTypedData.js.map +1 -1
- package/_cjs/actions/ens/getEnsAddress.js +4 -3
- package/_cjs/actions/ens/getEnsAddress.js.map +1 -1
- package/_cjs/actions/ens/getEnsAvatar.js +2 -1
- package/_cjs/actions/ens/getEnsAvatar.js.map +1 -1
- package/_cjs/actions/ens/getEnsName.js +4 -3
- package/_cjs/actions/ens/getEnsName.js.map +1 -1
- package/_cjs/actions/ens/getEnsResolver.js +4 -3
- package/_cjs/actions/ens/getEnsResolver.js.map +1 -1
- package/_cjs/actions/ens/getEnsText.js +4 -3
- package/_cjs/actions/ens/getEnsText.js.map +1 -1
- package/_cjs/actions/getContract.js +36 -7
- package/_cjs/actions/getContract.js.map +1 -1
- package/_cjs/actions/index.js.map +1 -1
- package/_cjs/actions/public/call.js +5 -5
- package/_cjs/actions/public/call.js.map +1 -1
- package/_cjs/actions/public/createBlockFilter.js.map +1 -1
- package/_cjs/actions/public/createContractEventFilter.js.map +1 -1
- package/_cjs/actions/public/createEventFilter.js.map +1 -1
- package/_cjs/actions/public/createPendingTransactionFilter.js.map +1 -1
- package/_cjs/actions/public/estimateContractGas.js +11 -2
- package/_cjs/actions/public/estimateContractGas.js.map +1 -1
- package/_cjs/actions/public/estimateFeesPerGas.js +3 -2
- package/_cjs/actions/public/estimateFeesPerGas.js.map +1 -1
- package/_cjs/actions/public/estimateGas.js +3 -3
- package/_cjs/actions/public/estimateGas.js.map +1 -1
- package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js +5 -4
- package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
- package/_cjs/actions/public/getBalance.js.map +1 -1
- package/_cjs/actions/public/getBlock.js.map +1 -1
- package/_cjs/actions/public/getBlockNumber.js.map +1 -1
- package/_cjs/actions/public/getBlockTransactionCount.js.map +1 -1
- package/_cjs/actions/public/getBytecode.js.map +1 -1
- package/_cjs/actions/public/getChainId.js.map +1 -1
- package/_cjs/actions/public/getContractEvents.js +27 -0
- package/_cjs/actions/public/getContractEvents.js.map +1 -0
- package/_cjs/actions/public/getFeeHistory.js.map +1 -1
- package/_cjs/actions/public/getFilterChanges.js.map +1 -1
- package/_cjs/actions/public/getFilterLogs.js.map +1 -1
- package/_cjs/actions/public/getGasPrice.js.map +1 -1
- package/_cjs/actions/public/getLogs.js.map +1 -1
- package/_cjs/actions/public/getProof.js +16 -0
- package/_cjs/actions/public/getProof.js.map +1 -0
- package/_cjs/actions/public/getStorageAt.js.map +1 -1
- package/_cjs/actions/public/getTransaction.js.map +1 -1
- package/_cjs/actions/public/getTransactionConfirmations.js +3 -2
- package/_cjs/actions/public/getTransactionConfirmations.js.map +1 -1
- package/_cjs/actions/public/getTransactionCount.js.map +1 -1
- package/_cjs/actions/public/getTransactionReceipt.js.map +1 -1
- package/_cjs/actions/public/multicall.js +4 -3
- package/_cjs/actions/public/multicall.js.map +1 -1
- package/_cjs/actions/public/readContract.js +7 -2
- package/_cjs/actions/public/readContract.js.map +1 -1
- package/_cjs/actions/public/simulateContract.js +5 -2
- package/_cjs/actions/public/simulateContract.js.map +1 -1
- package/_cjs/actions/public/uninstallFilter.js.map +1 -1
- package/_cjs/actions/public/verifyHash.js +2 -1
- package/_cjs/actions/public/verifyHash.js.map +1 -1
- package/_cjs/actions/public/verifyMessage.js.map +1 -1
- package/_cjs/actions/public/verifyTypedData.js.map +1 -1
- package/_cjs/actions/public/waitForTransactionReceipt.js +6 -5
- package/_cjs/actions/public/waitForTransactionReceipt.js.map +1 -1
- package/_cjs/actions/public/watchBlockNumber.js +2 -1
- package/_cjs/actions/public/watchBlockNumber.js.map +1 -1
- package/_cjs/actions/public/watchBlocks.js +4 -3
- package/_cjs/actions/public/watchBlocks.js.map +1 -1
- package/_cjs/actions/public/watchContractEvent.js +9 -11
- package/_cjs/actions/public/watchContractEvent.js.map +1 -1
- package/_cjs/actions/public/watchEvent.js +6 -5
- package/_cjs/actions/public/watchEvent.js.map +1 -1
- package/_cjs/actions/public/watchPendingTransactions.js +4 -3
- package/_cjs/actions/public/watchPendingTransactions.js.map +1 -1
- package/_cjs/actions/test/dropTransaction.js.map +1 -1
- package/_cjs/actions/test/getAutomine.js.map +1 -1
- package/_cjs/actions/test/getTxpoolContent.js.map +1 -1
- package/_cjs/actions/test/getTxpoolStatus.js.map +1 -1
- package/_cjs/actions/test/impersonateAccount.js.map +1 -1
- package/_cjs/actions/test/increaseTime.js.map +1 -1
- package/_cjs/actions/test/inspectTxpool.js.map +1 -1
- package/_cjs/actions/test/mine.js.map +1 -1
- package/_cjs/actions/test/removeBlockTimestampInterval.js.map +1 -1
- package/_cjs/actions/test/reset.js.map +1 -1
- package/_cjs/actions/test/revert.js.map +1 -1
- package/_cjs/actions/test/sendUnsignedTransaction.js +3 -3
- package/_cjs/actions/test/sendUnsignedTransaction.js.map +1 -1
- package/_cjs/actions/test/setAutomine.js.map +1 -1
- package/_cjs/actions/test/setBalance.js.map +1 -1
- package/_cjs/actions/test/setBlockGasLimit.js.map +1 -1
- package/_cjs/actions/test/setBlockTimestampInterval.js +6 -1
- package/_cjs/actions/test/setBlockTimestampInterval.js.map +1 -1
- package/_cjs/actions/test/setCode.js.map +1 -1
- package/_cjs/actions/test/setCoinbase.js.map +1 -1
- package/_cjs/actions/test/setIntervalMining.js +6 -1
- package/_cjs/actions/test/setIntervalMining.js.map +1 -1
- package/_cjs/actions/test/setLoggingEnabled.js.map +1 -1
- package/_cjs/actions/test/setMinGasPrice.js.map +1 -1
- package/_cjs/actions/test/setNextBlockBaseFeePerGas.js.map +1 -1
- package/_cjs/actions/test/setNextBlockTimestamp.js.map +1 -1
- package/_cjs/actions/test/setNonce.js.map +1 -1
- package/_cjs/actions/test/setRpcUrl.js.map +1 -1
- package/_cjs/actions/test/setStorageAt.js.map +1 -1
- package/_cjs/actions/test/snapshot.js.map +1 -1
- package/_cjs/actions/test/stopImpersonatingAccount.js.map +1 -1
- package/_cjs/actions/wallet/addChain.js.map +1 -1
- package/_cjs/actions/wallet/deployContract.js.map +1 -1
- package/_cjs/actions/wallet/getAddresses.js +2 -0
- package/_cjs/actions/wallet/getAddresses.js.map +1 -1
- package/_cjs/actions/wallet/getPermissions.js.map +1 -1
- package/_cjs/actions/wallet/prepareTransactionRequest.js +4 -3
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_cjs/actions/wallet/requestAddresses.js.map +1 -1
- package/_cjs/actions/wallet/requestPermissions.js.map +1 -1
- package/_cjs/actions/wallet/sendRawTransaction.js.map +1 -1
- package/_cjs/actions/wallet/sendTransaction.js +10 -8
- package/_cjs/actions/wallet/sendTransaction.js.map +1 -1
- package/_cjs/actions/wallet/signMessage.js.map +1 -1
- package/_cjs/actions/wallet/signTransaction.js +5 -4
- package/_cjs/actions/wallet/signTransaction.js.map +1 -1
- package/_cjs/actions/wallet/signTypedData.js.map +1 -1
- package/_cjs/actions/wallet/switchChain.js.map +1 -1
- package/_cjs/actions/wallet/watchAsset.js.map +1 -1
- package/_cjs/actions/wallet/writeContract.js +3 -2
- package/_cjs/actions/wallet/writeContract.js.map +1 -1
- package/_cjs/chains/celo/formatters.js +34 -5
- package/_cjs/chains/celo/formatters.js.map +1 -1
- package/_cjs/chains/celo/parsers.js +55 -0
- package/_cjs/chains/celo/parsers.js.map +1 -1
- package/_cjs/chains/celo/serializers.js +70 -6
- package/_cjs/chains/celo/serializers.js.map +1 -1
- package/_cjs/chains/definitions/arbitrum.js +2 -15
- package/_cjs/chains/definitions/arbitrum.js.map +1 -1
- package/_cjs/chains/definitions/arbitrumGoerli.js +4 -16
- package/_cjs/chains/definitions/arbitrumGoerli.js.map +1 -1
- package/_cjs/chains/definitions/arbitrumNova.js +2 -15
- package/_cjs/chains/definitions/arbitrumNova.js.map +1 -1
- package/_cjs/chains/definitions/arbitrumSepolia.js +32 -0
- package/_cjs/chains/definitions/arbitrumSepolia.js.map +1 -0
- package/_cjs/chains/definitions/astarZkatana.js +42 -0
- package/_cjs/chains/definitions/astarZkatana.js.map +1 -0
- package/_cjs/chains/definitions/aurora.js +2 -6
- package/_cjs/chains/definitions/aurora.js.map +1 -1
- package/_cjs/chains/definitions/auroraTestnet.js +2 -6
- package/_cjs/chains/definitions/auroraTestnet.js.map +1 -1
- package/_cjs/chains/definitions/avalanche.js +2 -5
- package/_cjs/chains/definitions/avalanche.js.map +1 -1
- package/_cjs/chains/definitions/avalancheFuji.js +2 -5
- package/_cjs/chains/definitions/avalancheFuji.js.map +1 -1
- package/_cjs/chains/definitions/base.js +2 -19
- package/_cjs/chains/definitions/base.js.map +1 -1
- package/_cjs/chains/definitions/baseGoerli.js +3 -18
- package/_cjs/chains/definitions/baseGoerli.js.map +1 -1
- package/_cjs/chains/definitions/baseSepolia.js +33 -0
- package/_cjs/chains/definitions/baseSepolia.js.map +1 -0
- package/_cjs/chains/definitions/bearNetworkChainMainnet.js +2 -4
- package/_cjs/chains/definitions/bearNetworkChainMainnet.js.map +1 -1
- package/_cjs/chains/definitions/bearNetworkChainTestnet.js +2 -4
- package/_cjs/chains/definitions/bearNetworkChainTestnet.js.map +1 -1
- package/_cjs/chains/definitions/boba.js +2 -5
- package/_cjs/chains/definitions/boba.js.map +1 -1
- package/_cjs/chains/definitions/bronos.js +2 -4
- package/_cjs/chains/definitions/bronos.js.map +1 -1
- package/_cjs/chains/definitions/bronosTestnet.js +2 -4
- package/_cjs/chains/definitions/bronosTestnet.js.map +1 -1
- package/_cjs/chains/definitions/bsc.js +2 -5
- package/_cjs/chains/definitions/bsc.js.map +1 -1
- package/_cjs/chains/definitions/bscTestnet.js +2 -5
- package/_cjs/chains/definitions/bscTestnet.js.map +1 -1
- package/_cjs/chains/definitions/bxn.js +2 -6
- package/_cjs/chains/definitions/bxn.js.map +1 -1
- package/_cjs/chains/definitions/bxnTestnet.js +2 -6
- package/_cjs/chains/definitions/bxnTestnet.js.map +1 -1
- package/_cjs/chains/definitions/canto.js +2 -4
- package/_cjs/chains/definitions/canto.js.map +1 -1
- package/_cjs/chains/definitions/celo.js +2 -11
- package/_cjs/chains/definitions/celo.js.map +1 -1
- package/_cjs/chains/definitions/celoAlfajores.js +2 -11
- package/_cjs/chains/definitions/celoAlfajores.js.map +1 -1
- package/_cjs/chains/definitions/celoCannoli.js +2 -7
- package/_cjs/chains/definitions/celoCannoli.js.map +1 -1
- package/_cjs/chains/definitions/classic.js +2 -4
- package/_cjs/chains/definitions/classic.js.map +1 -1
- package/_cjs/chains/definitions/confluxESpace.js +2 -6
- package/_cjs/chains/definitions/confluxESpace.js.map +1 -1
- package/_cjs/chains/definitions/coreDao.js +27 -0
- package/_cjs/chains/definitions/coreDao.js.map +1 -0
- package/_cjs/chains/definitions/cronos.js +2 -4
- package/_cjs/chains/definitions/cronos.js.map +1 -1
- package/_cjs/chains/definitions/cronosTestnet.js +2 -4
- package/_cjs/chains/definitions/cronosTestnet.js.map +1 -1
- package/_cjs/chains/definitions/crossbell.js +2 -6
- package/_cjs/chains/definitions/crossbell.js.map +1 -1
- package/_cjs/chains/definitions/dfk.js +2 -10
- package/_cjs/chains/definitions/dfk.js.map +1 -1
- package/_cjs/chains/definitions/dogechain.js +2 -8
- package/_cjs/chains/definitions/dogechain.js.map +1 -1
- package/_cjs/chains/definitions/edgeware.js +2 -5
- package/_cjs/chains/definitions/edgeware.js.map +1 -1
- package/_cjs/chains/definitions/edgewareTestnet.js +2 -8
- package/_cjs/chains/definitions/edgewareTestnet.js.map +1 -1
- package/_cjs/chains/definitions/ekta.js +2 -4
- package/_cjs/chains/definitions/ekta.js.map +1 -1
- package/_cjs/chains/definitions/ektaTestnet.js +2 -4
- package/_cjs/chains/definitions/ektaTestnet.js.map +1 -1
- package/_cjs/chains/definitions/eon.js +2 -4
- package/_cjs/chains/definitions/eon.js.map +1 -1
- package/_cjs/chains/definitions/eos.js +2 -8
- package/_cjs/chains/definitions/eos.js.map +1 -1
- package/_cjs/chains/definitions/eosTestnet.js +2 -8
- package/_cjs/chains/definitions/eosTestnet.js.map +1 -1
- package/_cjs/chains/definitions/evmos.js +2 -4
- package/_cjs/chains/definitions/evmos.js.map +1 -1
- package/_cjs/chains/definitions/evmosTestnet.js +2 -4
- package/_cjs/chains/definitions/evmosTestnet.js.map +1 -1
- package/_cjs/chains/definitions/fantom.js +2 -5
- package/_cjs/chains/definitions/fantom.js.map +1 -1
- package/_cjs/chains/definitions/fantomTestnet.js +2 -5
- package/_cjs/chains/definitions/fantomTestnet.js.map +1 -1
- package/_cjs/chains/definitions/fibo.js +2 -4
- package/_cjs/chains/definitions/fibo.js.map +1 -1
- package/_cjs/chains/definitions/filecoin.js +2 -7
- package/_cjs/chains/definitions/filecoin.js.map +1 -1
- package/_cjs/chains/definitions/filecoinCalibration.js +2 -4
- package/_cjs/chains/definitions/filecoinCalibration.js.map +1 -1
- package/_cjs/chains/definitions/filecoinHyperspace.js +2 -5
- package/_cjs/chains/definitions/filecoinHyperspace.js.map +1 -1
- package/_cjs/chains/definitions/flare.js +2 -4
- package/_cjs/chains/definitions/flare.js.map +1 -1
- package/_cjs/chains/definitions/flareTestnet.js +2 -4
- package/_cjs/chains/definitions/flareTestnet.js.map +1 -1
- package/_cjs/chains/definitions/foundry.js +2 -7
- package/_cjs/chains/definitions/foundry.js.map +1 -1
- package/_cjs/chains/definitions/fuse.js +8 -4
- package/_cjs/chains/definitions/fuse.js.map +1 -1
- package/_cjs/chains/definitions/fuseSparknet.js +2 -4
- package/_cjs/chains/definitions/fuseSparknet.js.map +1 -1
- package/_cjs/chains/definitions/gnosis.js +2 -8
- package/_cjs/chains/definitions/gnosis.js.map +1 -1
- package/_cjs/chains/definitions/gnosisChiado.js +2 -4
- package/_cjs/chains/definitions/gnosisChiado.js.map +1 -1
- package/_cjs/chains/definitions/gobi.js +2 -4
- package/_cjs/chains/definitions/gobi.js.map +1 -1
- package/_cjs/chains/definitions/goerli.js +2 -18
- package/_cjs/chains/definitions/goerli.js.map +1 -1
- package/_cjs/chains/definitions/haqqMainnet.js +2 -6
- package/_cjs/chains/definitions/haqqMainnet.js.map +1 -1
- package/_cjs/chains/definitions/haqqTestedge2.js +2 -6
- package/_cjs/chains/definitions/haqqTestedge2.js.map +1 -1
- package/_cjs/chains/definitions/hardhat.js +2 -4
- package/_cjs/chains/definitions/hardhat.js.map +1 -1
- package/_cjs/chains/definitions/harmonyOne.js +2 -4
- package/_cjs/chains/definitions/harmonyOne.js.map +1 -1
- package/_cjs/chains/definitions/holesky.js +8 -7
- package/_cjs/chains/definitions/holesky.js.map +1 -1
- package/_cjs/chains/definitions/iotex.js +2 -7
- package/_cjs/chains/definitions/iotex.js.map +1 -1
- package/_cjs/chains/definitions/iotexTestnet.js +2 -7
- package/_cjs/chains/definitions/iotexTestnet.js.map +1 -1
- package/_cjs/chains/definitions/klaytn.js +2 -5
- package/_cjs/chains/definitions/klaytn.js.map +1 -1
- package/_cjs/chains/definitions/kroma.js +2 -6
- package/_cjs/chains/definitions/kroma.js.map +1 -1
- package/_cjs/chains/definitions/kromaSepolia.js +2 -6
- package/_cjs/chains/definitions/kromaSepolia.js.map +1 -1
- package/_cjs/chains/definitions/linea.js +2 -19
- package/_cjs/chains/definitions/linea.js.map +1 -1
- package/_cjs/chains/definitions/lineaTestnet.js +2 -19
- package/_cjs/chains/definitions/lineaTestnet.js.map +1 -1
- package/_cjs/chains/definitions/localhost.js +2 -4
- package/_cjs/chains/definitions/localhost.js.map +1 -1
- package/_cjs/chains/definitions/mainnet.js +2 -18
- package/_cjs/chains/definitions/mainnet.js.map +1 -1
- package/_cjs/chains/definitions/manta.js +35 -0
- package/_cjs/chains/definitions/manta.js.map +1 -0
- package/_cjs/chains/definitions/mantaTestnet.js +36 -0
- package/_cjs/chains/definitions/mantaTestnet.js.map +1 -0
- package/_cjs/chains/definitions/mantle.js +2 -8
- package/_cjs/chains/definitions/mantle.js.map +1 -1
- package/_cjs/chains/definitions/mantleTestnet.js +2 -8
- package/_cjs/chains/definitions/mantleTestnet.js.map +1 -1
- package/_cjs/chains/definitions/meter.js +2 -4
- package/_cjs/chains/definitions/meter.js.map +1 -1
- package/_cjs/chains/definitions/meterTestnet.js +2 -4
- package/_cjs/chains/definitions/meterTestnet.js.map +1 -1
- package/_cjs/chains/definitions/metis.js +2 -4
- package/_cjs/chains/definitions/metis.js.map +1 -1
- package/_cjs/chains/definitions/metisGoerli.js +2 -4
- package/_cjs/chains/definitions/metisGoerli.js.map +1 -1
- package/_cjs/chains/definitions/mev.js +2 -6
- package/_cjs/chains/definitions/mev.js.map +1 -1
- package/_cjs/chains/definitions/mevTestnet.js +2 -6
- package/_cjs/chains/definitions/mevTestnet.js.map +1 -1
- package/_cjs/chains/definitions/modeTestnet.js +8 -6
- package/_cjs/chains/definitions/modeTestnet.js.map +1 -1
- package/_cjs/chains/definitions/moonbaseAlpha.js +2 -11
- package/_cjs/chains/definitions/moonbaseAlpha.js.map +1 -1
- package/_cjs/chains/definitions/moonbeam.js +2 -11
- package/_cjs/chains/definitions/moonbeam.js.map +1 -1
- package/_cjs/chains/definitions/moonbeamDev.js +20 -0
- package/_cjs/chains/definitions/moonbeamDev.js.map +1 -0
- package/_cjs/chains/definitions/moonriver.js +2 -11
- package/_cjs/chains/definitions/moonriver.js.map +1 -1
- package/_cjs/chains/definitions/neonDevnet.js +2 -6
- package/_cjs/chains/definitions/neonDevnet.js.map +1 -1
- package/_cjs/chains/definitions/nexi.js +2 -10
- package/_cjs/chains/definitions/nexi.js.map +1 -1
- package/_cjs/chains/definitions/nexilix.js +2 -5
- package/_cjs/chains/definitions/nexilix.js.map +1 -1
- package/_cjs/chains/definitions/oasys.js +2 -6
- package/_cjs/chains/definitions/oasys.js.map +1 -1
- package/_cjs/chains/definitions/okc.js +2 -4
- package/_cjs/chains/definitions/okc.js.map +1 -1
- package/_cjs/chains/definitions/opBNB.js +2 -4
- package/_cjs/chains/definitions/opBNB.js.map +1 -1
- package/_cjs/chains/definitions/opBNBTestnet.js +2 -4
- package/_cjs/chains/definitions/opBNBTestnet.js.map +1 -1
- package/_cjs/chains/definitions/optimism.js +2 -19
- package/_cjs/chains/definitions/optimism.js.map +1 -1
- package/_cjs/chains/definitions/optimismGoerli.js +2 -19
- package/_cjs/chains/definitions/optimismGoerli.js.map +1 -1
- package/_cjs/chains/definitions/optimismSepolia.js +30 -0
- package/_cjs/chains/definitions/optimismSepolia.js.map +1 -0
- package/_cjs/chains/definitions/plinga.js +2 -6
- package/_cjs/chains/definitions/plinga.js.map +1 -1
- package/_cjs/chains/definitions/polygon.js +2 -18
- package/_cjs/chains/definitions/polygon.js.map +1 -1
- package/_cjs/chains/definitions/polygonMumbai.js +2 -18
- package/_cjs/chains/definitions/polygonMumbai.js.map +1 -1
- package/_cjs/chains/definitions/polygonZkEvm.js +2 -6
- package/_cjs/chains/definitions/polygonZkEvm.js.map +1 -1
- package/_cjs/chains/definitions/polygonZkEvmTestnet.js +2 -10
- package/_cjs/chains/definitions/polygonZkEvmTestnet.js.map +1 -1
- package/_cjs/chains/definitions/pulsechain.js +2 -7
- package/_cjs/chains/definitions/pulsechain.js.map +1 -1
- package/_cjs/chains/definitions/pulsechainV4.js +2 -7
- package/_cjs/chains/definitions/pulsechainV4.js.map +1 -1
- package/_cjs/chains/definitions/qMainnet.js +2 -4
- package/_cjs/chains/definitions/qMainnet.js.map +1 -1
- package/_cjs/chains/definitions/qTestnet.js +2 -4
- package/_cjs/chains/definitions/qTestnet.js.map +1 -1
- package/_cjs/chains/definitions/rollux.js +2 -4
- package/_cjs/chains/definitions/rollux.js.map +1 -1
- package/_cjs/chains/definitions/rolluxTestnet.js +2 -4
- package/_cjs/chains/definitions/rolluxTestnet.js.map +1 -1
- package/_cjs/chains/definitions/ronin.js +2 -6
- package/_cjs/chains/definitions/ronin.js.map +1 -1
- package/_cjs/chains/definitions/saigon.js +2 -6
- package/_cjs/chains/definitions/saigon.js.map +1 -1
- package/_cjs/chains/definitions/scroll.js +29 -0
- package/_cjs/chains/definitions/scroll.js.map +1 -0
- package/_cjs/chains/definitions/scrollSepolia.js +2 -7
- package/_cjs/chains/definitions/scrollSepolia.js.map +1 -1
- package/_cjs/chains/definitions/scrollTestnet.js +2 -7
- package/_cjs/chains/definitions/scrollTestnet.js.map +1 -1
- package/_cjs/chains/definitions/sepolia.js +3 -19
- package/_cjs/chains/definitions/sepolia.js.map +1 -1
- package/_cjs/chains/definitions/shardeumSphinx.js +2 -6
- package/_cjs/chains/definitions/shardeumSphinx.js.map +1 -1
- package/_cjs/chains/definitions/skale/brawl.js +2 -11
- package/_cjs/chains/definitions/skale/brawl.js.map +1 -1
- package/_cjs/chains/definitions/skale/calypso.js +2 -13
- package/_cjs/chains/definitions/skale/calypso.js.map +1 -1
- package/_cjs/chains/definitions/skale/calypsoTestnet.js +2 -15
- package/_cjs/chains/definitions/skale/calypsoTestnet.js.map +1 -1
- package/_cjs/chains/definitions/skale/chaosTestnet.js +2 -15
- package/_cjs/chains/definitions/skale/chaosTestnet.js.map +1 -1
- package/_cjs/chains/definitions/skale/cryptoBlades.js +2 -13
- package/_cjs/chains/definitions/skale/cryptoBlades.js.map +1 -1
- package/_cjs/chains/definitions/skale/cryptoColosseum.js +2 -11
- package/_cjs/chains/definitions/skale/cryptoColosseum.js.map +1 -1
- package/_cjs/chains/definitions/skale/europa.js +2 -11
- package/_cjs/chains/definitions/skale/europa.js.map +1 -1
- package/_cjs/chains/definitions/skale/europaTestnet.js +2 -13
- package/_cjs/chains/definitions/skale/europaTestnet.js.map +1 -1
- package/_cjs/chains/definitions/skale/exorde.js +2 -11
- package/_cjs/chains/definitions/skale/exorde.js.map +1 -1
- package/_cjs/chains/definitions/skale/humanProtocol.js +2 -11
- package/_cjs/chains/definitions/skale/humanProtocol.js.map +1 -1
- package/_cjs/chains/definitions/skale/nebula.js +2 -11
- package/_cjs/chains/definitions/skale/nebula.js.map +1 -1
- package/_cjs/chains/definitions/skale/nebulaTestnet.js +2 -13
- package/_cjs/chains/definitions/skale/nebulaTestnet.js.map +1 -1
- package/_cjs/chains/definitions/skale/razor.js +2 -11
- package/_cjs/chains/definitions/skale/razor.js.map +1 -1
- package/_cjs/chains/definitions/skale/titan.js +2 -11
- package/_cjs/chains/definitions/skale/titan.js.map +1 -1
- package/_cjs/chains/definitions/skale/titanTestnet.js +2 -15
- package/_cjs/chains/definitions/skale/titanTestnet.js.map +1 -1
- package/_cjs/chains/definitions/songbird.js +2 -4
- package/_cjs/chains/definitions/songbird.js.map +1 -1
- package/_cjs/chains/definitions/songbirdTestnet.js +2 -4
- package/_cjs/chains/definitions/songbirdTestnet.js.map +1 -1
- package/_cjs/chains/definitions/syscoin.js +2 -7
- package/_cjs/chains/definitions/syscoin.js.map +1 -1
- package/_cjs/chains/definitions/syscoinTestnet.js +2 -7
- package/_cjs/chains/definitions/syscoinTestnet.js.map +1 -1
- package/_cjs/chains/definitions/taikoJolnir.js +2 -6
- package/_cjs/chains/definitions/taikoJolnir.js.map +1 -1
- package/_cjs/chains/definitions/taikoTestnetSepolia.js +2 -6
- package/_cjs/chains/definitions/taikoTestnetSepolia.js.map +1 -1
- package/_cjs/chains/definitions/taraxa.js +2 -6
- package/_cjs/chains/definitions/taraxa.js.map +1 -1
- package/_cjs/chains/definitions/taraxaTestnet.js +2 -6
- package/_cjs/chains/definitions/taraxaTestnet.js.map +1 -1
- package/_cjs/chains/definitions/telos.js +2 -4
- package/_cjs/chains/definitions/telos.js.map +1 -1
- package/_cjs/chains/definitions/telosTestnet.js +2 -4
- package/_cjs/chains/definitions/telosTestnet.js.map +1 -1
- package/_cjs/chains/definitions/thunderTestnet.js +2 -6
- package/_cjs/chains/definitions/thunderTestnet.js.map +1 -1
- package/_cjs/chains/definitions/vechain.js +2 -6
- package/_cjs/chains/definitions/vechain.js.map +1 -1
- package/_cjs/chains/definitions/wanchain.js +2 -13
- package/_cjs/chains/definitions/wanchain.js.map +1 -1
- package/_cjs/chains/definitions/wanchainTestnet.js +2 -10
- package/_cjs/chains/definitions/wanchainTestnet.js.map +1 -1
- package/_cjs/chains/definitions/xdc.js +2 -4
- package/_cjs/chains/definitions/xdc.js.map +1 -1
- package/_cjs/chains/definitions/xdcTestnet.js +2 -4
- package/_cjs/chains/definitions/xdcTestnet.js.map +1 -1
- package/_cjs/chains/definitions/zetachainAthensTestnet.js +2 -6
- package/_cjs/chains/definitions/zetachainAthensTestnet.js.map +1 -1
- package/_cjs/chains/definitions/zhejiang.js +2 -14
- package/_cjs/chains/definitions/zhejiang.js.map +1 -1
- package/_cjs/chains/definitions/zkSync.js +6 -6
- package/_cjs/chains/definitions/zkSync.js.map +1 -1
- package/_cjs/chains/definitions/zkSyncTestnet.js +6 -6
- package/_cjs/chains/definitions/zkSyncTestnet.js.map +1 -1
- package/_cjs/chains/definitions/zora.js +2 -8
- package/_cjs/chains/definitions/zora.js.map +1 -1
- package/_cjs/chains/definitions/zoraSepolia.js +40 -0
- package/_cjs/chains/definitions/zoraSepolia.js.map +1 -0
- package/_cjs/chains/definitions/zoraTestnet.js +2 -8
- package/_cjs/chains/definitions/zoraTestnet.js.map +1 -1
- package/_cjs/chains/index.js +24 -3
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/chains/utils.js +11 -1
- package/_cjs/chains/utils.js.map +1 -1
- package/_cjs/chains/zksync/formatters.js +124 -0
- package/_cjs/chains/zksync/formatters.js.map +1 -0
- package/_cjs/chains/zksync/serializers.js +74 -0
- package/_cjs/chains/zksync/serializers.js.map +1 -0
- package/_cjs/chains/zksync/types.js +3 -0
- package/_cjs/chains/zksync/types.js.map +1 -0
- package/_cjs/clients/createClient.js.map +1 -1
- package/_cjs/clients/createPublicClient.js.map +1 -1
- package/_cjs/clients/createTestClient.js.map +1 -1
- package/_cjs/clients/createWalletClient.js.map +1 -1
- package/_cjs/clients/decorators/public.js +4 -0
- package/_cjs/clients/decorators/public.js.map +1 -1
- package/_cjs/clients/transports/createTransport.js.map +1 -1
- package/_cjs/clients/transports/custom.js.map +1 -1
- package/_cjs/clients/transports/fallback.js.map +1 -1
- package/_cjs/clients/transports/http.js +2 -0
- package/_cjs/clients/transports/http.js.map +1 -1
- package/_cjs/clients/transports/webSocket.js.map +1 -1
- package/_cjs/ens/index.js.map +1 -1
- package/_cjs/errors/abi.js.map +1 -1
- package/_cjs/errors/account.js.map +1 -1
- package/_cjs/errors/address.js.map +1 -1
- package/_cjs/errors/base.js.map +1 -1
- package/_cjs/errors/block.js.map +1 -1
- package/_cjs/errors/ccip.js.map +1 -1
- package/_cjs/errors/chain.js.map +1 -1
- package/_cjs/errors/contract.js.map +1 -1
- package/_cjs/errors/cursor.js +29 -0
- package/_cjs/errors/cursor.js.map +1 -0
- package/_cjs/errors/data.js.map +1 -1
- package/_cjs/errors/encoding.js +1 -1
- package/_cjs/errors/encoding.js.map +1 -1
- package/_cjs/errors/ens.js.map +1 -1
- package/_cjs/errors/estimateGas.js.map +1 -1
- package/_cjs/errors/fee.js.map +1 -1
- package/_cjs/errors/log.js.map +1 -1
- package/_cjs/errors/node.js.map +1 -1
- package/_cjs/errors/request.js.map +1 -1
- package/_cjs/errors/rpc.js.map +1 -1
- package/_cjs/errors/transaction.js.map +1 -1
- package/_cjs/errors/transport.js.map +1 -1
- package/_cjs/errors/utils.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/errors/version.js.map +1 -1
- package/_cjs/index.js +52 -10
- package/_cjs/index.js.map +1 -1
- package/_cjs/types/eip1193.js.map +1 -1
- package/_cjs/types/proof.js +3 -0
- package/_cjs/types/proof.js.map +1 -0
- package/_cjs/types/withdrawal.js +3 -0
- package/_cjs/types/withdrawal.js.map +1 -0
- package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
- package/_cjs/utils/abi/decodeDeployData.js.map +1 -1
- package/_cjs/utils/abi/decodeErrorResult.js.map +1 -1
- package/_cjs/utils/abi/decodeEventLog.js +9 -11
- package/_cjs/utils/abi/decodeEventLog.js.map +1 -1
- package/_cjs/utils/abi/decodeFunctionData.js.map +1 -1
- package/_cjs/utils/abi/decodeFunctionResult.js.map +1 -1
- package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -1
- package/_cjs/utils/abi/encodeDeployData.js.map +1 -1
- package/_cjs/utils/abi/encodeErrorResult.js.map +1 -1
- package/_cjs/utils/abi/encodeEventTopics.js.map +1 -1
- package/_cjs/utils/abi/encodeFunctionData.js.map +1 -1
- package/_cjs/utils/abi/encodeFunctionResult.js.map +1 -1
- package/_cjs/utils/abi/encodePacked.js.map +1 -1
- package/_cjs/utils/abi/formatAbiItem.js.map +1 -1
- package/_cjs/utils/abi/formatAbiItemWithArgs.js.map +1 -1
- package/_cjs/utils/abi/getAbiItem.js +3 -3
- package/_cjs/utils/abi/getAbiItem.js.map +1 -1
- package/_cjs/utils/address/getAddress.js.map +1 -1
- package/_cjs/utils/address/getContractAddress.js +8 -3
- package/_cjs/utils/address/getContractAddress.js.map +1 -1
- package/_cjs/utils/address/isAddress.js.map +1 -1
- package/_cjs/utils/address/isAddressEqual.js.map +1 -1
- package/_cjs/utils/buildRequest.js.map +1 -1
- package/_cjs/utils/ccip.js.map +1 -1
- package/_cjs/utils/chain/assertCurrentChain.js +12 -0
- package/_cjs/utils/chain/assertCurrentChain.js.map +1 -0
- package/_cjs/utils/chain/defineChain.js +13 -0
- package/_cjs/utils/chain/defineChain.js.map +1 -0
- package/_cjs/utils/chain/extractChain.js +8 -0
- package/_cjs/utils/chain/extractChain.js.map +1 -0
- package/_cjs/utils/{chain.js → chain/getChainContractAddress.js} +3 -20
- package/_cjs/utils/chain/getChainContractAddress.js.map +1 -0
- package/_cjs/utils/contract/extractFunctionParts.js.map +1 -1
- package/_cjs/utils/cursor.js +134 -0
- package/_cjs/utils/cursor.js.map +1 -0
- package/_cjs/utils/data/concat.js.map +1 -1
- package/_cjs/utils/data/isBytes.js.map +1 -1
- package/_cjs/utils/data/isBytesEqual.js.map +1 -1
- package/_cjs/utils/data/isHex.js.map +1 -1
- package/_cjs/utils/data/pad.js.map +1 -1
- package/_cjs/utils/data/size.js.map +1 -1
- package/_cjs/utils/data/slice.js.map +1 -1
- package/_cjs/utils/data/trim.js.map +1 -1
- package/_cjs/utils/encoding/fromBytes.js +4 -4
- package/_cjs/utils/encoding/fromBytes.js.map +1 -1
- package/_cjs/utils/encoding/fromHex.js.map +1 -1
- package/_cjs/utils/encoding/fromRlp.js +55 -76
- package/_cjs/utils/encoding/fromRlp.js.map +1 -1
- package/_cjs/utils/encoding/toBytes.js +26 -8
- package/_cjs/utils/encoding/toBytes.js.map +1 -1
- package/_cjs/utils/encoding/toHex.js +3 -3
- package/_cjs/utils/encoding/toHex.js.map +1 -1
- package/_cjs/utils/encoding/toRlp.js +94 -24
- package/_cjs/utils/encoding/toRlp.js.map +1 -1
- package/_cjs/utils/ens/avatar/parseAvatarRecord.js.map +1 -1
- package/_cjs/utils/ens/avatar/utils.js.map +1 -1
- package/_cjs/utils/ens/encodeLabelhash.js.map +1 -1
- package/_cjs/utils/ens/encodedLabelToLabelhash.js.map +1 -1
- package/_cjs/utils/ens/errors.js.map +1 -1
- package/_cjs/utils/ens/labelhash.js.map +1 -1
- package/_cjs/utils/ens/namehash.js.map +1 -1
- package/_cjs/utils/ens/normalize.js.map +1 -1
- package/_cjs/utils/ens/packetToBytes.js.map +1 -1
- package/_cjs/utils/errors/getCallError.js +6 -3
- package/_cjs/utils/errors/getCallError.js.map +1 -1
- package/_cjs/utils/errors/getContractError.js +14 -13
- package/_cjs/utils/errors/getContractError.js.map +1 -1
- package/_cjs/utils/errors/getEstimateGasError.js +6 -3
- package/_cjs/utils/errors/getEstimateGasError.js.map +1 -1
- package/_cjs/utils/errors/getNodeError.js +3 -1
- package/_cjs/utils/errors/getNodeError.js.map +1 -1
- package/_cjs/utils/errors/getTransactionError.js +6 -3
- package/_cjs/utils/errors/getTransactionError.js.map +1 -1
- package/_cjs/utils/formatters/block.js.map +1 -1
- package/_cjs/utils/formatters/extract.js +15 -7
- package/_cjs/utils/formatters/extract.js.map +1 -1
- package/_cjs/utils/formatters/feeHistory.js.map +1 -1
- package/_cjs/utils/formatters/formatter.js.map +1 -1
- package/_cjs/utils/formatters/log.js.map +1 -1
- package/_cjs/utils/formatters/proof.js +22 -0
- package/_cjs/utils/formatters/proof.js.map +1 -0
- package/_cjs/utils/formatters/transaction.js.map +1 -1
- package/_cjs/utils/formatters/transactionReceipt.js.map +1 -1
- package/_cjs/utils/formatters/transactionRequest.js.map +1 -1
- package/_cjs/utils/getAction.js +8 -0
- package/_cjs/utils/getAction.js.map +1 -0
- package/_cjs/utils/hash/getEventSelector.js +5 -6
- package/_cjs/utils/hash/getEventSelector.js.map +1 -1
- package/_cjs/utils/hash/getEventSignature.js +9 -0
- package/_cjs/utils/hash/getEventSignature.js.map +1 -0
- package/_cjs/utils/hash/getFunctionSelector.js +5 -6
- package/_cjs/utils/hash/getFunctionSelector.js.map +1 -1
- package/_cjs/utils/hash/getFunctionSignature.js +15 -0
- package/_cjs/utils/hash/getFunctionSignature.js.map +1 -0
- package/_cjs/utils/hash/hashFunction.js +2 -4
- package/_cjs/utils/hash/hashFunction.js.map +1 -1
- package/_cjs/utils/hash/isHash.js.map +1 -1
- package/_cjs/utils/hash/keccak256.js.map +1 -1
- package/_cjs/utils/index.js +14 -8
- package/_cjs/utils/index.js.map +1 -1
- package/_cjs/utils/observe.js.map +1 -1
- package/_cjs/utils/poll.js.map +1 -1
- package/_cjs/utils/promise/createBatchScheduler.js +3 -1
- package/_cjs/utils/promise/createBatchScheduler.js.map +1 -1
- package/_cjs/utils/promise/withCache.js.map +1 -1
- package/_cjs/utils/promise/withRetry.js.map +1 -1
- package/_cjs/utils/promise/withTimeout.js +1 -1
- package/_cjs/utils/promise/withTimeout.js.map +1 -1
- package/_cjs/utils/rpc.js +3 -6
- package/_cjs/utils/rpc.js.map +1 -1
- package/_cjs/utils/signature/compactSignatureToHex.js +10 -0
- package/_cjs/utils/signature/compactSignatureToHex.js.map +1 -0
- package/_cjs/utils/signature/compactSignatureToSignature.js +15 -0
- package/_cjs/utils/signature/compactSignatureToSignature.js.map +1 -0
- package/_cjs/utils/signature/hashMessage.js.map +1 -1
- package/_cjs/utils/signature/hashTypedData.js.map +1 -1
- package/_cjs/utils/signature/hexToCompactSignature.js +14 -0
- package/_cjs/utils/signature/hexToCompactSignature.js.map +1 -0
- package/_cjs/utils/signature/hexToSignature.js.map +1 -1
- package/_cjs/utils/signature/recoverAddress.js.map +1 -1
- package/_cjs/utils/signature/recoverMessageAddress.js.map +1 -1
- package/_cjs/utils/signature/recoverPublicKey.js.map +1 -1
- package/_cjs/utils/signature/recoverTypedDataAddress.js.map +1 -1
- package/_cjs/utils/signature/signatureToCompactSignature.js +17 -0
- package/_cjs/utils/signature/signatureToCompactSignature.js.map +1 -0
- package/_cjs/utils/signature/signatureToHex.js.map +1 -1
- package/_cjs/utils/signature/verifyMessage.js.map +1 -1
- package/_cjs/utils/signature/verifyTypedData.js.map +1 -1
- package/_cjs/utils/stringify.js.map +1 -1
- package/_cjs/utils/transaction/assertRequest.js.map +1 -1
- package/_cjs/utils/transaction/assertTransaction.js.map +1 -1
- package/_cjs/utils/transaction/getSerializedTransactionType.js.map +1 -1
- package/_cjs/utils/transaction/getTransactionType.js.map +1 -1
- package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
- package/_cjs/utils/transaction/serializeAccessList.js.map +1 -1
- package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
- package/_cjs/utils/typedData.js.map +1 -1
- package/_cjs/utils/unit/formatEther.js.map +1 -1
- package/_cjs/utils/unit/formatGwei.js.map +1 -1
- package/_cjs/utils/unit/formatUnits.js.map +1 -1
- package/_cjs/utils/unit/parseEther.js.map +1 -1
- package/_cjs/utils/unit/parseGwei.js.map +1 -1
- package/_cjs/utils/unit/parseUnits.js.map +1 -1
- package/_esm/accounts/generateMnemonic.js.map +1 -1
- package/_esm/accounts/generatePrivateKey.js.map +1 -1
- package/_esm/accounts/hdKeyToAccount.js +1 -1
- package/_esm/accounts/hdKeyToAccount.js.map +1 -1
- package/_esm/accounts/index.js +10 -10
- package/_esm/accounts/index.js.map +1 -1
- package/_esm/accounts/mnemonicToAccount.js +1 -1
- package/_esm/accounts/mnemonicToAccount.js.map +1 -1
- package/_esm/accounts/privateKeyToAccount.js +3 -3
- package/_esm/accounts/privateKeyToAccount.js.map +1 -1
- package/_esm/accounts/toAccount.js +2 -2
- package/_esm/accounts/toAccount.js.map +1 -1
- package/_esm/accounts/utils/parseAccount.js.map +1 -1
- package/_esm/accounts/utils/privateKeyToAddress.js +2 -2
- package/_esm/accounts/utils/privateKeyToAddress.js.map +1 -1
- package/_esm/accounts/utils/publicKeyToAddress.js +2 -2
- package/_esm/accounts/utils/publicKeyToAddress.js.map +1 -1
- package/_esm/accounts/utils/sign.js.map +1 -1
- package/_esm/accounts/utils/signMessage.js +2 -2
- package/_esm/accounts/utils/signMessage.js.map +1 -1
- package/_esm/accounts/utils/signTransaction.js +1 -1
- package/_esm/accounts/utils/signTransaction.js.map +1 -1
- package/_esm/accounts/utils/signTypedData.js +2 -2
- package/_esm/accounts/utils/signTypedData.js.map +1 -1
- package/_esm/actions/ens/getEnsAddress.js +6 -5
- package/_esm/actions/ens/getEnsAddress.js.map +1 -1
- package/_esm/actions/ens/getEnsAvatar.js +4 -3
- package/_esm/actions/ens/getEnsAvatar.js.map +1 -1
- package/_esm/actions/ens/getEnsName.js +4 -3
- package/_esm/actions/ens/getEnsName.js.map +1 -1
- package/_esm/actions/ens/getEnsResolver.js +4 -3
- package/_esm/actions/ens/getEnsResolver.js.map +1 -1
- package/_esm/actions/ens/getEnsText.js +6 -5
- package/_esm/actions/ens/getEnsText.js.map +1 -1
- package/_esm/actions/getContract.js +37 -8
- package/_esm/actions/getContract.js.map +1 -1
- package/_esm/actions/index.js +8 -8
- package/_esm/actions/index.js.map +1 -1
- package/_esm/actions/public/call.js +11 -11
- package/_esm/actions/public/call.js.map +1 -1
- package/_esm/actions/public/createBlockFilter.js.map +1 -1
- package/_esm/actions/public/createContractEventFilter.js +1 -1
- package/_esm/actions/public/createContractEventFilter.js.map +1 -1
- package/_esm/actions/public/createEventFilter.js +1 -1
- package/_esm/actions/public/createEventFilter.js.map +1 -1
- package/_esm/actions/public/createPendingTransactionFilter.js.map +1 -1
- package/_esm/actions/public/estimateContractGas.js +15 -6
- package/_esm/actions/public/estimateContractGas.js.map +1 -1
- package/_esm/actions/public/estimateFeesPerGas.js +4 -3
- package/_esm/actions/public/estimateFeesPerGas.js.map +1 -1
- package/_esm/actions/public/estimateGas.js +6 -6
- package/_esm/actions/public/estimateGas.js.map +1 -1
- package/_esm/actions/public/estimateMaxPriorityFeePerGas.js +7 -6
- package/_esm/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
- package/_esm/actions/public/getBalance.js +1 -1
- package/_esm/actions/public/getBalance.js.map +1 -1
- package/_esm/actions/public/getBlock.js +2 -2
- package/_esm/actions/public/getBlock.js.map +1 -1
- package/_esm/actions/public/getBlockNumber.js.map +1 -1
- package/_esm/actions/public/getBlockTransactionCount.js +2 -2
- package/_esm/actions/public/getBlockTransactionCount.js.map +1 -1
- package/_esm/actions/public/getBytecode.js +1 -1
- package/_esm/actions/public/getBytecode.js.map +1 -1
- package/_esm/actions/public/getChainId.js +1 -1
- package/_esm/actions/public/getChainId.js.map +1 -1
- package/_esm/actions/public/getContractEvents.js +49 -0
- package/_esm/actions/public/getContractEvents.js.map +1 -0
- package/_esm/actions/public/getFeeHistory.js +2 -2
- package/_esm/actions/public/getFeeHistory.js.map +1 -1
- package/_esm/actions/public/getFilterChanges.js +2 -2
- package/_esm/actions/public/getFilterChanges.js.map +1 -1
- package/_esm/actions/public/getFilterLogs.js +2 -2
- package/_esm/actions/public/getFilterLogs.js.map +1 -1
- package/_esm/actions/public/getGasPrice.js.map +1 -1
- package/_esm/actions/public/getLogs.js +3 -3
- package/_esm/actions/public/getLogs.js.map +1 -1
- package/_esm/actions/public/getProof.js +37 -0
- package/_esm/actions/public/getProof.js.map +1 -0
- package/_esm/actions/public/getStorageAt.js +1 -1
- package/_esm/actions/public/getStorageAt.js.map +1 -1
- package/_esm/actions/public/getTransaction.js +1 -1
- package/_esm/actions/public/getTransaction.js.map +1 -1
- package/_esm/actions/public/getTransactionConfirmations.js +5 -4
- package/_esm/actions/public/getTransactionConfirmations.js.map +1 -1
- package/_esm/actions/public/getTransactionCount.js +2 -2
- package/_esm/actions/public/getTransactionCount.js.map +1 -1
- package/_esm/actions/public/getTransactionReceipt.js +1 -1
- package/_esm/actions/public/getTransactionReceipt.js.map +1 -1
- package/_esm/actions/public/multicall.js +6 -5
- package/_esm/actions/public/multicall.js.map +1 -1
- package/_esm/actions/public/readContract.js +10 -5
- package/_esm/actions/public/readContract.js.map +1 -1
- package/_esm/actions/public/simulateContract.js +9 -6
- package/_esm/actions/public/simulateContract.js.map +1 -1
- package/_esm/actions/public/uninstallFilter.js.map +1 -1
- package/_esm/actions/public/verifyHash.js +3 -2
- package/_esm/actions/public/verifyHash.js.map +1 -1
- package/_esm/actions/public/verifyMessage.js +1 -1
- package/_esm/actions/public/verifyMessage.js.map +1 -1
- package/_esm/actions/public/verifyTypedData.js +2 -2
- package/_esm/actions/public/verifyTypedData.js.map +1 -1
- package/_esm/actions/public/waitForTransactionReceipt.js +7 -6
- package/_esm/actions/public/waitForTransactionReceipt.js.map +1 -1
- package/_esm/actions/public/watchBlockNumber.js +2 -1
- package/_esm/actions/public/watchBlockNumber.js.map +1 -1
- package/_esm/actions/public/watchBlocks.js +4 -3
- package/_esm/actions/public/watchBlocks.js.map +1 -1
- package/_esm/actions/public/watchContractEvent.js +9 -11
- package/_esm/actions/public/watchContractEvent.js.map +1 -1
- package/_esm/actions/public/watchEvent.js +6 -5
- package/_esm/actions/public/watchEvent.js.map +1 -1
- package/_esm/actions/public/watchPendingTransactions.js +4 -3
- package/_esm/actions/public/watchPendingTransactions.js.map +1 -1
- package/_esm/actions/test/dropTransaction.js.map +1 -1
- package/_esm/actions/test/getAutomine.js.map +1 -1
- package/_esm/actions/test/getTxpoolContent.js.map +1 -1
- package/_esm/actions/test/getTxpoolStatus.js.map +1 -1
- package/_esm/actions/test/impersonateAccount.js.map +1 -1
- package/_esm/actions/test/increaseTime.js.map +1 -1
- package/_esm/actions/test/inspectTxpool.js.map +1 -1
- package/_esm/actions/test/mine.js.map +1 -1
- package/_esm/actions/test/removeBlockTimestampInterval.js.map +1 -1
- package/_esm/actions/test/reset.js.map +1 -1
- package/_esm/actions/test/revert.js.map +1 -1
- package/_esm/actions/test/sendUnsignedTransaction.js +3 -3
- package/_esm/actions/test/sendUnsignedTransaction.js.map +1 -1
- package/_esm/actions/test/setAutomine.js.map +1 -1
- package/_esm/actions/test/setBalance.js.map +1 -1
- package/_esm/actions/test/setBlockGasLimit.js.map +1 -1
- package/_esm/actions/test/setBlockTimestampInterval.js +6 -1
- package/_esm/actions/test/setBlockTimestampInterval.js.map +1 -1
- package/_esm/actions/test/setCode.js.map +1 -1
- package/_esm/actions/test/setCoinbase.js.map +1 -1
- package/_esm/actions/test/setIntervalMining.js +6 -1
- package/_esm/actions/test/setIntervalMining.js.map +1 -1
- package/_esm/actions/test/setLoggingEnabled.js.map +1 -1
- package/_esm/actions/test/setMinGasPrice.js.map +1 -1
- package/_esm/actions/test/setNextBlockBaseFeePerGas.js.map +1 -1
- package/_esm/actions/test/setNextBlockTimestamp.js.map +1 -1
- package/_esm/actions/test/setNonce.js.map +1 -1
- package/_esm/actions/test/setRpcUrl.js.map +1 -1
- package/_esm/actions/test/setStorageAt.js.map +1 -1
- package/_esm/actions/test/snapshot.js.map +1 -1
- package/_esm/actions/test/stopImpersonatingAccount.js.map +1 -1
- package/_esm/actions/wallet/addChain.js +1 -1
- package/_esm/actions/wallet/addChain.js.map +1 -1
- package/_esm/actions/wallet/deployContract.js.map +1 -1
- package/_esm/actions/wallet/getAddresses.js +3 -1
- package/_esm/actions/wallet/getAddresses.js.map +1 -1
- package/_esm/actions/wallet/getPermissions.js.map +1 -1
- package/_esm/actions/wallet/prepareTransactionRequest.js +9 -8
- package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_esm/actions/wallet/requestAddresses.js.map +1 -1
- package/_esm/actions/wallet/requestPermissions.js.map +1 -1
- package/_esm/actions/wallet/sendRawTransaction.js.map +1 -1
- package/_esm/actions/wallet/sendTransaction.js +13 -11
- package/_esm/actions/wallet/sendTransaction.js.map +1 -1
- package/_esm/actions/wallet/signMessage.js +2 -2
- package/_esm/actions/wallet/signMessage.js.map +1 -1
- package/_esm/actions/wallet/signTransaction.js +6 -5
- package/_esm/actions/wallet/signTransaction.js.map +1 -1
- package/_esm/actions/wallet/signTypedData.js +2 -2
- package/_esm/actions/wallet/signTypedData.js.map +1 -1
- package/_esm/actions/wallet/switchChain.js +1 -1
- package/_esm/actions/wallet/switchChain.js.map +1 -1
- package/_esm/actions/wallet/watchAsset.js.map +1 -1
- package/_esm/actions/wallet/writeContract.js +4 -3
- package/_esm/actions/wallet/writeContract.js.map +1 -1
- package/_esm/chains/celo/formatters.js +34 -5
- package/_esm/chains/celo/formatters.js.map +1 -1
- package/_esm/chains/celo/parsers.js +56 -1
- package/_esm/chains/celo/parsers.js.map +1 -1
- package/_esm/chains/celo/serializers.js +73 -7
- package/_esm/chains/celo/serializers.js.map +1 -1
- package/_esm/chains/definitions/arbitrum.js +1 -14
- package/_esm/chains/definitions/arbitrum.js.map +1 -1
- package/_esm/chains/definitions/arbitrumGoerli.js +3 -15
- package/_esm/chains/definitions/arbitrumGoerli.js.map +1 -1
- package/_esm/chains/definitions/arbitrumNova.js +1 -14
- package/_esm/chains/definitions/arbitrumNova.js.map +1 -1
- package/_esm/chains/definitions/arbitrumSepolia.js +29 -0
- package/_esm/chains/definitions/arbitrumSepolia.js.map +1 -0
- package/_esm/chains/definitions/astarZkatana.js +39 -0
- package/_esm/chains/definitions/astarZkatana.js.map +1 -0
- package/_esm/chains/definitions/aurora.js +1 -5
- package/_esm/chains/definitions/aurora.js.map +1 -1
- package/_esm/chains/definitions/auroraTestnet.js +1 -5
- package/_esm/chains/definitions/auroraTestnet.js.map +1 -1
- package/_esm/chains/definitions/avalanche.js +1 -4
- package/_esm/chains/definitions/avalanche.js.map +1 -1
- package/_esm/chains/definitions/avalancheFuji.js +1 -4
- package/_esm/chains/definitions/avalancheFuji.js.map +1 -1
- package/_esm/chains/definitions/base.js +1 -18
- package/_esm/chains/definitions/base.js.map +1 -1
- package/_esm/chains/definitions/baseGoerli.js +3 -18
- package/_esm/chains/definitions/baseGoerli.js.map +1 -1
- package/_esm/chains/definitions/baseSepolia.js +30 -0
- package/_esm/chains/definitions/baseSepolia.js.map +1 -0
- package/_esm/chains/definitions/bearNetworkChainMainnet.js +1 -3
- package/_esm/chains/definitions/bearNetworkChainMainnet.js.map +1 -1
- package/_esm/chains/definitions/bearNetworkChainTestnet.js +1 -3
- package/_esm/chains/definitions/bearNetworkChainTestnet.js.map +1 -1
- package/_esm/chains/definitions/boba.js +1 -4
- package/_esm/chains/definitions/boba.js.map +1 -1
- package/_esm/chains/definitions/bronos.js +1 -3
- package/_esm/chains/definitions/bronos.js.map +1 -1
- package/_esm/chains/definitions/bronosTestnet.js +1 -3
- package/_esm/chains/definitions/bronosTestnet.js.map +1 -1
- package/_esm/chains/definitions/bsc.js +1 -4
- package/_esm/chains/definitions/bsc.js.map +1 -1
- package/_esm/chains/definitions/bscTestnet.js +1 -4
- package/_esm/chains/definitions/bscTestnet.js.map +1 -1
- package/_esm/chains/definitions/bxn.js +1 -5
- package/_esm/chains/definitions/bxn.js.map +1 -1
- package/_esm/chains/definitions/bxnTestnet.js +1 -5
- package/_esm/chains/definitions/bxnTestnet.js.map +1 -1
- package/_esm/chains/definitions/canto.js +1 -3
- package/_esm/chains/definitions/canto.js.map +1 -1
- package/_esm/chains/definitions/celo.js +1 -10
- package/_esm/chains/definitions/celo.js.map +1 -1
- package/_esm/chains/definitions/celoAlfajores.js +1 -10
- package/_esm/chains/definitions/celoAlfajores.js.map +1 -1
- package/_esm/chains/definitions/celoCannoli.js +1 -6
- package/_esm/chains/definitions/celoCannoli.js.map +1 -1
- package/_esm/chains/definitions/classic.js +1 -3
- package/_esm/chains/definitions/classic.js.map +1 -1
- package/_esm/chains/definitions/confluxESpace.js +1 -5
- package/_esm/chains/definitions/confluxESpace.js.map +1 -1
- package/_esm/chains/definitions/coreDao.js +24 -0
- package/_esm/chains/definitions/coreDao.js.map +1 -0
- package/_esm/chains/definitions/cronos.js +1 -3
- package/_esm/chains/definitions/cronos.js.map +1 -1
- package/_esm/chains/definitions/cronosTestnet.js +1 -3
- package/_esm/chains/definitions/cronosTestnet.js.map +1 -1
- package/_esm/chains/definitions/crossbell.js +1 -5
- package/_esm/chains/definitions/crossbell.js.map +1 -1
- package/_esm/chains/definitions/dfk.js +1 -9
- package/_esm/chains/definitions/dfk.js.map +1 -1
- package/_esm/chains/definitions/dogechain.js +1 -7
- package/_esm/chains/definitions/dogechain.js.map +1 -1
- package/_esm/chains/definitions/edgeware.js +1 -4
- package/_esm/chains/definitions/edgeware.js.map +1 -1
- package/_esm/chains/definitions/edgewareTestnet.js +1 -7
- package/_esm/chains/definitions/edgewareTestnet.js.map +1 -1
- package/_esm/chains/definitions/ekta.js +1 -3
- package/_esm/chains/definitions/ekta.js.map +1 -1
- package/_esm/chains/definitions/ektaTestnet.js +1 -3
- package/_esm/chains/definitions/ektaTestnet.js.map +1 -1
- package/_esm/chains/definitions/eon.js +1 -3
- package/_esm/chains/definitions/eon.js.map +1 -1
- package/_esm/chains/definitions/eos.js +1 -7
- package/_esm/chains/definitions/eos.js.map +1 -1
- package/_esm/chains/definitions/eosTestnet.js +1 -7
- package/_esm/chains/definitions/eosTestnet.js.map +1 -1
- package/_esm/chains/definitions/evmos.js +1 -3
- package/_esm/chains/definitions/evmos.js.map +1 -1
- package/_esm/chains/definitions/evmosTestnet.js +1 -3
- package/_esm/chains/definitions/evmosTestnet.js.map +1 -1
- package/_esm/chains/definitions/fantom.js +1 -4
- package/_esm/chains/definitions/fantom.js.map +1 -1
- package/_esm/chains/definitions/fantomTestnet.js +1 -4
- package/_esm/chains/definitions/fantomTestnet.js.map +1 -1
- package/_esm/chains/definitions/fibo.js +1 -3
- package/_esm/chains/definitions/fibo.js.map +1 -1
- package/_esm/chains/definitions/filecoin.js +1 -6
- package/_esm/chains/definitions/filecoin.js.map +1 -1
- package/_esm/chains/definitions/filecoinCalibration.js +1 -3
- package/_esm/chains/definitions/filecoinCalibration.js.map +1 -1
- package/_esm/chains/definitions/filecoinHyperspace.js +1 -4
- package/_esm/chains/definitions/filecoinHyperspace.js.map +1 -1
- package/_esm/chains/definitions/flare.js +1 -3
- package/_esm/chains/definitions/flare.js.map +1 -1
- package/_esm/chains/definitions/flareTestnet.js +1 -3
- package/_esm/chains/definitions/flareTestnet.js.map +1 -1
- package/_esm/chains/definitions/foundry.js +1 -6
- package/_esm/chains/definitions/foundry.js.map +1 -1
- package/_esm/chains/definitions/fuse.js +7 -3
- package/_esm/chains/definitions/fuse.js.map +1 -1
- package/_esm/chains/definitions/fuseSparknet.js +1 -3
- package/_esm/chains/definitions/fuseSparknet.js.map +1 -1
- package/_esm/chains/definitions/gnosis.js +1 -7
- package/_esm/chains/definitions/gnosis.js.map +1 -1
- package/_esm/chains/definitions/gnosisChiado.js +1 -3
- package/_esm/chains/definitions/gnosisChiado.js.map +1 -1
- package/_esm/chains/definitions/gobi.js +1 -3
- package/_esm/chains/definitions/gobi.js.map +1 -1
- package/_esm/chains/definitions/goerli.js +1 -17
- package/_esm/chains/definitions/goerli.js.map +1 -1
- package/_esm/chains/definitions/haqqMainnet.js +1 -5
- package/_esm/chains/definitions/haqqMainnet.js.map +1 -1
- package/_esm/chains/definitions/haqqTestedge2.js +1 -5
- package/_esm/chains/definitions/haqqTestedge2.js.map +1 -1
- package/_esm/chains/definitions/hardhat.js +1 -3
- package/_esm/chains/definitions/hardhat.js.map +1 -1
- package/_esm/chains/definitions/harmonyOne.js +1 -3
- package/_esm/chains/definitions/harmonyOne.js.map +1 -1
- package/_esm/chains/definitions/holesky.js +7 -6
- package/_esm/chains/definitions/holesky.js.map +1 -1
- package/_esm/chains/definitions/iotex.js +1 -6
- package/_esm/chains/definitions/iotex.js.map +1 -1
- package/_esm/chains/definitions/iotexTestnet.js +1 -6
- package/_esm/chains/definitions/iotexTestnet.js.map +1 -1
- package/_esm/chains/definitions/klaytn.js +1 -4
- package/_esm/chains/definitions/klaytn.js.map +1 -1
- package/_esm/chains/definitions/kroma.js +1 -5
- package/_esm/chains/definitions/kroma.js.map +1 -1
- package/_esm/chains/definitions/kromaSepolia.js +1 -5
- package/_esm/chains/definitions/kromaSepolia.js.map +1 -1
- package/_esm/chains/definitions/linea.js +1 -18
- package/_esm/chains/definitions/linea.js.map +1 -1
- package/_esm/chains/definitions/lineaTestnet.js +1 -18
- package/_esm/chains/definitions/lineaTestnet.js.map +1 -1
- package/_esm/chains/definitions/localhost.js +1 -3
- package/_esm/chains/definitions/localhost.js.map +1 -1
- package/_esm/chains/definitions/mainnet.js +1 -17
- package/_esm/chains/definitions/mainnet.js.map +1 -1
- package/_esm/chains/definitions/manta.js +32 -0
- package/_esm/chains/definitions/manta.js.map +1 -0
- package/_esm/chains/definitions/mantaTestnet.js +33 -0
- package/_esm/chains/definitions/mantaTestnet.js.map +1 -0
- package/_esm/chains/definitions/mantle.js +1 -7
- package/_esm/chains/definitions/mantle.js.map +1 -1
- package/_esm/chains/definitions/mantleTestnet.js +1 -7
- package/_esm/chains/definitions/mantleTestnet.js.map +1 -1
- package/_esm/chains/definitions/meter.js +1 -3
- package/_esm/chains/definitions/meter.js.map +1 -1
- package/_esm/chains/definitions/meterTestnet.js +1 -3
- package/_esm/chains/definitions/meterTestnet.js.map +1 -1
- package/_esm/chains/definitions/metis.js +1 -3
- package/_esm/chains/definitions/metis.js.map +1 -1
- package/_esm/chains/definitions/metisGoerli.js +1 -3
- package/_esm/chains/definitions/metisGoerli.js.map +1 -1
- package/_esm/chains/definitions/mev.js +1 -5
- package/_esm/chains/definitions/mev.js.map +1 -1
- package/_esm/chains/definitions/mevTestnet.js +1 -5
- package/_esm/chains/definitions/mevTestnet.js.map +1 -1
- package/_esm/chains/definitions/modeTestnet.js +7 -5
- package/_esm/chains/definitions/modeTestnet.js.map +1 -1
- package/_esm/chains/definitions/moonbaseAlpha.js +1 -10
- package/_esm/chains/definitions/moonbaseAlpha.js.map +1 -1
- package/_esm/chains/definitions/moonbeam.js +1 -10
- package/_esm/chains/definitions/moonbeam.js.map +1 -1
- package/_esm/chains/definitions/moonbeamDev.js +17 -0
- package/_esm/chains/definitions/moonbeamDev.js.map +1 -0
- package/_esm/chains/definitions/moonriver.js +1 -10
- package/_esm/chains/definitions/moonriver.js.map +1 -1
- package/_esm/chains/definitions/neonDevnet.js +1 -5
- package/_esm/chains/definitions/neonDevnet.js.map +1 -1
- package/_esm/chains/definitions/nexi.js +1 -9
- package/_esm/chains/definitions/nexi.js.map +1 -1
- package/_esm/chains/definitions/nexilix.js +1 -4
- package/_esm/chains/definitions/nexilix.js.map +1 -1
- package/_esm/chains/definitions/oasys.js +1 -5
- package/_esm/chains/definitions/oasys.js.map +1 -1
- package/_esm/chains/definitions/okc.js +1 -3
- package/_esm/chains/definitions/okc.js.map +1 -1
- package/_esm/chains/definitions/opBNB.js +1 -3
- package/_esm/chains/definitions/opBNB.js.map +1 -1
- package/_esm/chains/definitions/opBNBTestnet.js +1 -3
- package/_esm/chains/definitions/opBNBTestnet.js.map +1 -1
- package/_esm/chains/definitions/optimism.js +1 -18
- package/_esm/chains/definitions/optimism.js.map +1 -1
- package/_esm/chains/definitions/optimismGoerli.js +1 -18
- package/_esm/chains/definitions/optimismGoerli.js.map +1 -1
- package/_esm/chains/definitions/optimismSepolia.js +27 -0
- package/_esm/chains/definitions/optimismSepolia.js.map +1 -0
- package/_esm/chains/definitions/plinga.js +1 -5
- package/_esm/chains/definitions/plinga.js.map +1 -1
- package/_esm/chains/definitions/polygon.js +1 -17
- package/_esm/chains/definitions/polygon.js.map +1 -1
- package/_esm/chains/definitions/polygonMumbai.js +1 -17
- package/_esm/chains/definitions/polygonMumbai.js.map +1 -1
- package/_esm/chains/definitions/polygonZkEvm.js +1 -5
- package/_esm/chains/definitions/polygonZkEvm.js.map +1 -1
- package/_esm/chains/definitions/polygonZkEvmTestnet.js +1 -9
- package/_esm/chains/definitions/polygonZkEvmTestnet.js.map +1 -1
- package/_esm/chains/definitions/pulsechain.js +1 -6
- package/_esm/chains/definitions/pulsechain.js.map +1 -1
- package/_esm/chains/definitions/pulsechainV4.js +1 -6
- package/_esm/chains/definitions/pulsechainV4.js.map +1 -1
- package/_esm/chains/definitions/qMainnet.js +1 -3
- package/_esm/chains/definitions/qMainnet.js.map +1 -1
- package/_esm/chains/definitions/qTestnet.js +1 -3
- package/_esm/chains/definitions/qTestnet.js.map +1 -1
- package/_esm/chains/definitions/rollux.js +1 -3
- package/_esm/chains/definitions/rollux.js.map +1 -1
- package/_esm/chains/definitions/rolluxTestnet.js +1 -3
- package/_esm/chains/definitions/rolluxTestnet.js.map +1 -1
- package/_esm/chains/definitions/ronin.js +1 -5
- package/_esm/chains/definitions/ronin.js.map +1 -1
- package/_esm/chains/definitions/saigon.js +1 -5
- package/_esm/chains/definitions/saigon.js.map +1 -1
- package/_esm/chains/definitions/scroll.js +26 -0
- package/_esm/chains/definitions/scroll.js.map +1 -0
- package/_esm/chains/definitions/scrollSepolia.js +1 -6
- package/_esm/chains/definitions/scrollSepolia.js.map +1 -1
- package/_esm/chains/definitions/scrollTestnet.js +1 -6
- package/_esm/chains/definitions/scrollTestnet.js.map +1 -1
- package/_esm/chains/definitions/sepolia.js +2 -18
- package/_esm/chains/definitions/sepolia.js.map +1 -1
- package/_esm/chains/definitions/shardeumSphinx.js +1 -5
- package/_esm/chains/definitions/shardeumSphinx.js.map +1 -1
- package/_esm/chains/definitions/skale/brawl.js +1 -10
- package/_esm/chains/definitions/skale/brawl.js.map +1 -1
- package/_esm/chains/definitions/skale/calypso.js +1 -12
- package/_esm/chains/definitions/skale/calypso.js.map +1 -1
- package/_esm/chains/definitions/skale/calypsoTestnet.js +1 -14
- package/_esm/chains/definitions/skale/calypsoTestnet.js.map +1 -1
- package/_esm/chains/definitions/skale/chaosTestnet.js +1 -14
- package/_esm/chains/definitions/skale/chaosTestnet.js.map +1 -1
- package/_esm/chains/definitions/skale/cryptoBlades.js +1 -12
- package/_esm/chains/definitions/skale/cryptoBlades.js.map +1 -1
- package/_esm/chains/definitions/skale/cryptoColosseum.js +1 -10
- package/_esm/chains/definitions/skale/cryptoColosseum.js.map +1 -1
- package/_esm/chains/definitions/skale/europa.js +1 -10
- package/_esm/chains/definitions/skale/europa.js.map +1 -1
- package/_esm/chains/definitions/skale/europaTestnet.js +1 -12
- package/_esm/chains/definitions/skale/europaTestnet.js.map +1 -1
- package/_esm/chains/definitions/skale/exorde.js +1 -10
- package/_esm/chains/definitions/skale/exorde.js.map +1 -1
- package/_esm/chains/definitions/skale/humanProtocol.js +1 -10
- package/_esm/chains/definitions/skale/humanProtocol.js.map +1 -1
- package/_esm/chains/definitions/skale/nebula.js +1 -10
- package/_esm/chains/definitions/skale/nebula.js.map +1 -1
- package/_esm/chains/definitions/skale/nebulaTestnet.js +1 -12
- package/_esm/chains/definitions/skale/nebulaTestnet.js.map +1 -1
- package/_esm/chains/definitions/skale/razor.js +1 -10
- package/_esm/chains/definitions/skale/razor.js.map +1 -1
- package/_esm/chains/definitions/skale/titan.js +1 -10
- package/_esm/chains/definitions/skale/titan.js.map +1 -1
- package/_esm/chains/definitions/skale/titanTestnet.js +1 -14
- package/_esm/chains/definitions/skale/titanTestnet.js.map +1 -1
- package/_esm/chains/definitions/songbird.js +1 -3
- package/_esm/chains/definitions/songbird.js.map +1 -1
- package/_esm/chains/definitions/songbirdTestnet.js +1 -3
- package/_esm/chains/definitions/songbirdTestnet.js.map +1 -1
- package/_esm/chains/definitions/syscoin.js +1 -6
- package/_esm/chains/definitions/syscoin.js.map +1 -1
- package/_esm/chains/definitions/syscoinTestnet.js +1 -6
- package/_esm/chains/definitions/syscoinTestnet.js.map +1 -1
- package/_esm/chains/definitions/taikoJolnir.js +1 -5
- package/_esm/chains/definitions/taikoJolnir.js.map +1 -1
- package/_esm/chains/definitions/taikoTestnetSepolia.js +1 -5
- package/_esm/chains/definitions/taikoTestnetSepolia.js.map +1 -1
- package/_esm/chains/definitions/taraxa.js +1 -5
- package/_esm/chains/definitions/taraxa.js.map +1 -1
- package/_esm/chains/definitions/taraxaTestnet.js +1 -5
- package/_esm/chains/definitions/taraxaTestnet.js.map +1 -1
- package/_esm/chains/definitions/telos.js +1 -3
- package/_esm/chains/definitions/telos.js.map +1 -1
- package/_esm/chains/definitions/telosTestnet.js +1 -3
- package/_esm/chains/definitions/telosTestnet.js.map +1 -1
- package/_esm/chains/definitions/thunderTestnet.js +1 -5
- package/_esm/chains/definitions/thunderTestnet.js.map +1 -1
- package/_esm/chains/definitions/vechain.js +1 -5
- package/_esm/chains/definitions/vechain.js.map +1 -1
- package/_esm/chains/definitions/wanchain.js +1 -12
- package/_esm/chains/definitions/wanchain.js.map +1 -1
- package/_esm/chains/definitions/wanchainTestnet.js +1 -9
- package/_esm/chains/definitions/wanchainTestnet.js.map +1 -1
- package/_esm/chains/definitions/xdc.js +1 -3
- package/_esm/chains/definitions/xdc.js.map +1 -1
- package/_esm/chains/definitions/xdcTestnet.js +1 -3
- package/_esm/chains/definitions/xdcTestnet.js.map +1 -1
- package/_esm/chains/definitions/zetachainAthensTestnet.js +1 -5
- package/_esm/chains/definitions/zetachainAthensTestnet.js.map +1 -1
- package/_esm/chains/definitions/zhejiang.js +1 -13
- package/_esm/chains/definitions/zhejiang.js.map +1 -1
- package/_esm/chains/definitions/zkSync.js +5 -5
- package/_esm/chains/definitions/zkSync.js.map +1 -1
- package/_esm/chains/definitions/zkSyncTestnet.js +5 -5
- package/_esm/chains/definitions/zkSyncTestnet.js.map +1 -1
- package/_esm/chains/definitions/zora.js +1 -7
- package/_esm/chains/definitions/zora.js.map +1 -1
- package/_esm/chains/definitions/zoraSepolia.js +37 -0
- package/_esm/chains/definitions/zoraSepolia.js.map +1 -0
- package/_esm/chains/definitions/zoraTestnet.js +1 -7
- package/_esm/chains/definitions/zoraTestnet.js.map +1 -1
- package/_esm/chains/index.js +10 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/chains/utils.js +5 -0
- package/_esm/chains/utils.js.map +1 -1
- package/_esm/chains/zksync/formatters.js +122 -0
- package/_esm/chains/zksync/formatters.js.map +1 -0
- package/_esm/chains/zksync/serializers.js +71 -0
- package/_esm/chains/zksync/serializers.js.map +1 -0
- package/_esm/chains/zksync/types.js +2 -0
- package/_esm/chains/zksync/types.js.map +1 -0
- package/_esm/clients/createClient.js.map +1 -1
- package/_esm/clients/createPublicClient.js +1 -1
- package/_esm/clients/createPublicClient.js.map +1 -1
- package/_esm/clients/createTestClient.js +1 -1
- package/_esm/clients/createTestClient.js.map +1 -1
- package/_esm/clients/createWalletClient.js +1 -1
- package/_esm/clients/createWalletClient.js.map +1 -1
- package/_esm/clients/decorators/public.js +4 -0
- package/_esm/clients/decorators/public.js.map +1 -1
- package/_esm/clients/transports/createTransport.js.map +1 -1
- package/_esm/clients/transports/custom.js.map +1 -1
- package/_esm/clients/transports/fallback.js.map +1 -1
- package/_esm/clients/transports/http.js +3 -1
- package/_esm/clients/transports/http.js.map +1 -1
- package/_esm/clients/transports/webSocket.js +1 -1
- package/_esm/clients/transports/webSocket.js.map +1 -1
- package/_esm/ens/index.js.map +1 -1
- package/_esm/errors/abi.js.map +1 -1
- package/_esm/errors/account.js.map +1 -1
- package/_esm/errors/address.js.map +1 -1
- package/_esm/errors/base.js.map +1 -1
- package/_esm/errors/block.js.map +1 -1
- package/_esm/errors/ccip.js.map +1 -1
- package/_esm/errors/chain.js.map +1 -1
- package/_esm/errors/contract.js.map +1 -1
- package/_esm/errors/cursor.js +24 -0
- package/_esm/errors/cursor.js.map +1 -0
- package/_esm/errors/data.js.map +1 -1
- package/_esm/errors/encoding.js +4 -1
- package/_esm/errors/encoding.js.map +1 -1
- package/_esm/errors/ens.js.map +1 -1
- package/_esm/errors/estimateGas.js.map +1 -1
- package/_esm/errors/fee.js.map +1 -1
- package/_esm/errors/log.js.map +1 -1
- package/_esm/errors/node.js +0 -9
- package/_esm/errors/node.js.map +1 -1
- package/_esm/errors/request.js.map +1 -1
- package/_esm/errors/rpc.js +0 -103
- package/_esm/errors/rpc.js.map +1 -1
- package/_esm/errors/transaction.js.map +1 -1
- package/_esm/errors/transport.js.map +1 -1
- package/_esm/errors/utils.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/errors/version.js.map +1 -1
- package/_esm/index.js +52 -41
- package/_esm/index.js.map +1 -1
- package/_esm/types/eip1193.js +0 -2
- package/_esm/types/eip1193.js.map +1 -1
- package/_esm/types/proof.js +2 -0
- package/_esm/types/proof.js.map +1 -0
- package/_esm/types/withdrawal.js +2 -0
- package/_esm/types/withdrawal.js.map +1 -0
- package/_esm/utils/abi/decodeAbiParameters.js +2 -3
- package/_esm/utils/abi/decodeAbiParameters.js.map +1 -1
- package/_esm/utils/abi/decodeDeployData.js +1 -1
- package/_esm/utils/abi/decodeDeployData.js.map +1 -1
- package/_esm/utils/abi/decodeErrorResult.js +2 -2
- package/_esm/utils/abi/decodeErrorResult.js.map +1 -1
- package/_esm/utils/abi/decodeEventLog.js +11 -13
- package/_esm/utils/abi/decodeEventLog.js.map +1 -1
- package/_esm/utils/abi/decodeFunctionData.js +2 -2
- package/_esm/utils/abi/decodeFunctionData.js.map +1 -1
- package/_esm/utils/abi/decodeFunctionResult.js +1 -1
- package/_esm/utils/abi/decodeFunctionResult.js.map +1 -1
- package/_esm/utils/abi/encodeAbiParameters.js +2 -4
- package/_esm/utils/abi/encodeAbiParameters.js.map +1 -1
- package/_esm/utils/abi/encodeDeployData.js +1 -1
- package/_esm/utils/abi/encodeDeployData.js.map +1 -1
- package/_esm/utils/abi/encodeErrorResult.js +2 -2
- package/_esm/utils/abi/encodeErrorResult.js.map +1 -1
- package/_esm/utils/abi/encodeEventTopics.js +4 -4
- package/_esm/utils/abi/encodeEventTopics.js.map +1 -1
- package/_esm/utils/abi/encodeFunctionData.js +3 -3
- package/_esm/utils/abi/encodeFunctionData.js.map +1 -1
- package/_esm/utils/abi/encodeFunctionResult.js +1 -1
- package/_esm/utils/abi/encodeFunctionResult.js.map +1 -1
- package/_esm/utils/abi/encodePacked.js +2 -2
- package/_esm/utils/abi/encodePacked.js.map +1 -1
- package/_esm/utils/abi/formatAbiItem.js +1 -1
- package/_esm/utils/abi/formatAbiItem.js.map +1 -1
- package/_esm/utils/abi/formatAbiItemWithArgs.js.map +1 -1
- package/_esm/utils/abi/getAbiItem.js +3 -3
- package/_esm/utils/abi/getAbiItem.js.map +1 -1
- package/_esm/utils/address/getAddress.js +1 -1
- package/_esm/utils/address/getAddress.js.map +1 -1
- package/_esm/utils/address/getContractAddress.js +8 -3
- package/_esm/utils/address/getContractAddress.js.map +1 -1
- package/_esm/utils/address/isAddress.js.map +1 -1
- package/_esm/utils/address/isAddressEqual.js +1 -1
- package/_esm/utils/address/isAddressEqual.js.map +1 -1
- package/_esm/utils/buildRequest.js +1 -1
- package/_esm/utils/buildRequest.js.map +1 -1
- package/_esm/utils/ccip.js.map +1 -1
- package/_esm/utils/chain/assertCurrentChain.js +8 -0
- package/_esm/utils/chain/assertCurrentChain.js.map +1 -0
- package/_esm/utils/chain/defineChain.js +9 -0
- package/_esm/utils/chain/defineChain.js.map +1 -0
- package/_esm/utils/chain/extractChain.js +4 -0
- package/_esm/utils/chain/extractChain.js.map +1 -0
- package/_esm/utils/chain/getChainContractAddress.js +22 -0
- package/_esm/utils/chain/getChainContractAddress.js.map +1 -0
- package/_esm/utils/contract/extractFunctionParts.js.map +1 -1
- package/_esm/utils/cursor.js +130 -0
- package/_esm/utils/cursor.js.map +1 -0
- package/_esm/utils/data/concat.js.map +1 -1
- package/_esm/utils/data/isBytes.js.map +1 -1
- package/_esm/utils/data/isBytesEqual.js.map +1 -1
- package/_esm/utils/data/isHex.js.map +1 -1
- package/_esm/utils/data/pad.js +1 -1
- package/_esm/utils/data/pad.js.map +1 -1
- package/_esm/utils/data/size.js.map +1 -1
- package/_esm/utils/data/slice.js +1 -1
- package/_esm/utils/data/slice.js.map +1 -1
- package/_esm/utils/data/trim.js.map +1 -1
- package/_esm/utils/encoding/fromBytes.js +5 -5
- package/_esm/utils/encoding/fromBytes.js.map +1 -1
- package/_esm/utils/encoding/fromHex.js.map +1 -1
- package/_esm/utils/encoding/fromRlp.js +55 -76
- package/_esm/utils/encoding/fromRlp.js.map +1 -1
- package/_esm/utils/encoding/toBytes.js +28 -9
- package/_esm/utils/encoding/toBytes.js.map +1 -1
- package/_esm/utils/encoding/toHex.js +4 -4
- package/_esm/utils/encoding/toHex.js.map +1 -1
- package/_esm/utils/encoding/toRlp.js +92 -23
- package/_esm/utils/encoding/toRlp.js.map +1 -1
- package/_esm/utils/ens/avatar/parseAvatarRecord.js.map +1 -1
- package/_esm/utils/ens/avatar/utils.js +1 -1
- package/_esm/utils/ens/avatar/utils.js.map +1 -1
- package/_esm/utils/ens/encodeLabelhash.js.map +1 -1
- package/_esm/utils/ens/encodedLabelToLabelhash.js.map +1 -1
- package/_esm/utils/ens/errors.js.map +1 -1
- package/_esm/utils/ens/labelhash.js +2 -2
- package/_esm/utils/ens/labelhash.js.map +1 -1
- package/_esm/utils/ens/namehash.js +2 -2
- package/_esm/utils/ens/namehash.js.map +1 -1
- package/_esm/utils/ens/normalize.js.map +1 -1
- package/_esm/utils/ens/packetToBytes.js +2 -2
- package/_esm/utils/ens/packetToBytes.js.map +1 -1
- package/_esm/utils/errors/getCallError.js +8 -5
- package/_esm/utils/errors/getCallError.js.map +1 -1
- package/_esm/utils/errors/getContractError.js +14 -13
- package/_esm/utils/errors/getContractError.js.map +1 -1
- package/_esm/utils/errors/getEstimateGasError.js +8 -5
- package/_esm/utils/errors/getEstimateGasError.js.map +1 -1
- package/_esm/utils/errors/getNodeError.js +3 -1
- package/_esm/utils/errors/getNodeError.js.map +1 -1
- package/_esm/utils/errors/getTransactionError.js +8 -5
- package/_esm/utils/errors/getTransactionError.js.map +1 -1
- package/_esm/utils/formatters/block.js.map +1 -1
- package/_esm/utils/formatters/extract.js +16 -9
- package/_esm/utils/formatters/extract.js.map +1 -1
- package/_esm/utils/formatters/feeHistory.js.map +1 -1
- package/_esm/utils/formatters/formatter.js.map +1 -1
- package/_esm/utils/formatters/log.js.map +1 -1
- package/_esm/utils/formatters/proof.js +18 -0
- package/_esm/utils/formatters/proof.js.map +1 -0
- package/_esm/utils/formatters/transaction.js.map +1 -1
- package/_esm/utils/formatters/transactionReceipt.js.map +1 -1
- package/_esm/utils/formatters/transactionRequest.js.map +1 -1
- package/_esm/utils/getAction.js +4 -0
- package/_esm/utils/getAction.js.map +1 -0
- package/_esm/utils/hash/getEventSelector.js +5 -6
- package/_esm/utils/hash/getEventSelector.js.map +1 -1
- package/_esm/utils/hash/getEventSignature.js +5 -0
- package/_esm/utils/hash/getEventSignature.js.map +1 -0
- package/_esm/utils/hash/getFunctionSelector.js +5 -6
- package/_esm/utils/hash/getFunctionSelector.js.map +1 -1
- package/_esm/utils/hash/getFunctionSignature.js +11 -0
- package/_esm/utils/hash/getFunctionSignature.js.map +1 -0
- package/_esm/utils/hash/hashFunction.js +3 -5
- package/_esm/utils/hash/hashFunction.js.map +1 -1
- package/_esm/utils/hash/isHash.js.map +1 -1
- package/_esm/utils/hash/keccak256.js.map +1 -1
- package/_esm/utils/index.js +33 -28
- package/_esm/utils/index.js.map +1 -1
- package/_esm/utils/observe.js.map +1 -1
- package/_esm/utils/poll.js.map +1 -1
- package/_esm/utils/promise/createBatchScheduler.js +3 -1
- package/_esm/utils/promise/createBatchScheduler.js.map +1 -1
- package/_esm/utils/promise/withCache.js.map +1 -1
- package/_esm/utils/promise/withRetry.js.map +1 -1
- package/_esm/utils/promise/withTimeout.js +1 -1
- package/_esm/utils/promise/withTimeout.js.map +1 -1
- package/_esm/utils/rpc.js +4 -8
- package/_esm/utils/rpc.js.map +1 -1
- package/_esm/utils/signature/compactSignatureToHex.js +19 -0
- package/_esm/utils/signature/compactSignatureToHex.js.map +1 -0
- package/_esm/utils/signature/compactSignatureToSignature.js +28 -0
- package/_esm/utils/signature/compactSignatureToSignature.js.map +1 -0
- package/_esm/utils/signature/hashMessage.js +1 -1
- package/_esm/utils/signature/hashMessage.js.map +1 -1
- package/_esm/utils/signature/hashTypedData.js +2 -2
- package/_esm/utils/signature/hashTypedData.js.map +1 -1
- package/_esm/utils/signature/hexToCompactSignature.js +20 -0
- package/_esm/utils/signature/hexToCompactSignature.js.map +1 -0
- package/_esm/utils/signature/hexToSignature.js +1 -1
- package/_esm/utils/signature/hexToSignature.js.map +1 -1
- package/_esm/utils/signature/recoverAddress.js.map +1 -1
- package/_esm/utils/signature/recoverMessageAddress.js +1 -1
- package/_esm/utils/signature/recoverMessageAddress.js.map +1 -1
- package/_esm/utils/signature/recoverPublicKey.js.map +1 -1
- package/_esm/utils/signature/recoverTypedDataAddress.js +1 -1
- package/_esm/utils/signature/recoverTypedDataAddress.js.map +1 -1
- package/_esm/utils/signature/signatureToCompactSignature.js +30 -0
- package/_esm/utils/signature/signatureToCompactSignature.js.map +1 -0
- package/_esm/utils/signature/signatureToHex.js +1 -1
- package/_esm/utils/signature/signatureToHex.js.map +1 -1
- package/_esm/utils/signature/verifyMessage.js +2 -2
- package/_esm/utils/signature/verifyMessage.js.map +1 -1
- package/_esm/utils/signature/verifyTypedData.js +1 -1
- package/_esm/utils/signature/verifyTypedData.js.map +1 -1
- package/_esm/utils/stringify.js.map +1 -1
- package/_esm/utils/transaction/assertRequest.js +4 -4
- package/_esm/utils/transaction/assertRequest.js.map +1 -1
- package/_esm/utils/transaction/assertTransaction.js +3 -3
- package/_esm/utils/transaction/assertTransaction.js.map +1 -1
- package/_esm/utils/transaction/getSerializedTransactionType.js +1 -1
- package/_esm/utils/transaction/getSerializedTransactionType.js.map +1 -1
- package/_esm/utils/transaction/getTransactionType.js +1 -1
- package/_esm/utils/transaction/getTransactionType.js.map +1 -1
- package/_esm/utils/transaction/parseTransaction.js +2 -2
- package/_esm/utils/transaction/parseTransaction.js.map +1 -1
- package/_esm/utils/transaction/serializeAccessList.js +2 -2
- package/_esm/utils/transaction/serializeAccessList.js.map +1 -1
- package/_esm/utils/transaction/serializeTransaction.js +2 -2
- package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
- package/_esm/utils/typedData.js +1 -1
- package/_esm/utils/typedData.js.map +1 -1
- package/_esm/utils/unit/formatEther.js.map +1 -1
- package/_esm/utils/unit/formatGwei.js.map +1 -1
- package/_esm/utils/unit/formatUnits.js.map +1 -1
- package/_esm/utils/unit/parseEther.js.map +1 -1
- package/_esm/utils/unit/parseGwei.js.map +1 -1
- package/_esm/utils/unit/parseUnits.js.map +1 -1
- package/_types/accounts/generateMnemonic.d.ts +2 -0
- package/_types/accounts/generateMnemonic.d.ts.map +1 -1
- package/_types/accounts/generatePrivateKey.d.ts +3 -0
- package/_types/accounts/generatePrivateKey.d.ts.map +1 -1
- package/_types/accounts/hdKeyToAccount.d.ts +4 -0
- package/_types/accounts/hdKeyToAccount.d.ts.map +1 -1
- package/_types/accounts/index.d.ts +14 -14
- package/_types/accounts/index.d.ts.map +1 -1
- package/_types/accounts/mnemonicToAccount.d.ts +3 -0
- package/_types/accounts/mnemonicToAccount.d.ts.map +1 -1
- package/_types/accounts/privateKeyToAccount.d.ts +8 -0
- package/_types/accounts/privateKeyToAccount.d.ts.map +1 -1
- package/_types/accounts/toAccount.d.ts +4 -0
- package/_types/accounts/toAccount.d.ts.map +1 -1
- package/_types/accounts/utils/parseAccount.d.ts +2 -0
- package/_types/accounts/utils/parseAccount.d.ts.map +1 -1
- package/_types/accounts/utils/privateKeyToAddress.d.ts +4 -0
- package/_types/accounts/utils/privateKeyToAddress.d.ts.map +1 -1
- package/_types/accounts/utils/publicKeyToAddress.d.ts +4 -0
- package/_types/accounts/utils/publicKeyToAddress.d.ts.map +1 -1
- package/_types/accounts/utils/sign.d.ts +3 -0
- package/_types/accounts/utils/sign.d.ts.map +1 -1
- package/_types/accounts/utils/signMessage.d.ts +5 -0
- package/_types/accounts/utils/signMessage.d.ts.map +1 -1
- package/_types/accounts/utils/signTransaction.d.ts +4 -0
- package/_types/accounts/utils/signTransaction.d.ts.map +1 -1
- package/_types/accounts/utils/signTypedData.d.ts +5 -0
- package/_types/accounts/utils/signTypedData.d.ts.map +1 -1
- package/_types/actions/ens/getEnsAddress.d.ts +9 -0
- package/_types/actions/ens/getEnsAddress.d.ts.map +1 -1
- package/_types/actions/ens/getEnsAvatar.d.ts +4 -1
- package/_types/actions/ens/getEnsAvatar.d.ts.map +1 -1
- package/_types/actions/ens/getEnsName.d.ts +6 -1
- package/_types/actions/ens/getEnsName.d.ts.map +1 -1
- package/_types/actions/ens/getEnsResolver.d.ts +5 -0
- package/_types/actions/ens/getEnsResolver.d.ts.map +1 -1
- package/_types/actions/ens/getEnsText.d.ts +8 -1
- package/_types/actions/ens/getEnsText.d.ts.map +1 -1
- package/_types/actions/getContract.d.ts +69 -26
- package/_types/actions/getContract.d.ts.map +1 -1
- package/_types/actions/index.d.ts +79 -79
- package/_types/actions/index.d.ts.map +1 -1
- package/_types/actions/public/call.d.ts +15 -1
- package/_types/actions/public/call.d.ts.map +1 -1
- package/_types/actions/public/createBlockFilter.d.ts +3 -0
- package/_types/actions/public/createBlockFilter.d.ts.map +1 -1
- package/_types/actions/public/createContractEventFilter.d.ts +6 -1
- package/_types/actions/public/createContractEventFilter.d.ts.map +1 -1
- package/_types/actions/public/createEventFilter.d.ts +5 -0
- package/_types/actions/public/createEventFilter.d.ts.map +1 -1
- package/_types/actions/public/createPendingTransactionFilter.d.ts +3 -0
- package/_types/actions/public/createPendingTransactionFilter.d.ts.map +1 -1
- package/_types/actions/public/estimateContractGas.d.ts +5 -1
- package/_types/actions/public/estimateContractGas.d.ts.map +1 -1
- package/_types/actions/public/estimateFeesPerGas.d.ts +5 -0
- package/_types/actions/public/estimateFeesPerGas.d.ts.map +1 -1
- package/_types/actions/public/estimateGas.d.ts +6 -0
- package/_types/actions/public/estimateGas.d.ts.map +1 -1
- package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts +7 -0
- package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts.map +1 -1
- package/_types/actions/public/getBalance.d.ts +4 -0
- package/_types/actions/public/getBalance.d.ts.map +1 -1
- package/_types/actions/public/getBlock.d.ts +5 -0
- package/_types/actions/public/getBlock.d.ts.map +1 -1
- package/_types/actions/public/getBlockNumber.d.ts +3 -0
- package/_types/actions/public/getBlockNumber.d.ts.map +1 -1
- package/_types/actions/public/getBlockTransactionCount.d.ts +5 -0
- package/_types/actions/public/getBlockTransactionCount.d.ts.map +1 -1
- package/_types/actions/public/getBytecode.d.ts +4 -0
- package/_types/actions/public/getBytecode.d.ts.map +1 -1
- package/_types/actions/public/getChainId.d.ts +4 -0
- package/_types/actions/public/getChainId.d.ts.map +1 -1
- package/_types/actions/public/getContractEvents.d.ts +66 -0
- package/_types/actions/public/getContractEvents.d.ts.map +1 -0
- package/_types/actions/public/getFeeHistory.d.ts +4 -0
- package/_types/actions/public/getFeeHistory.d.ts.map +1 -1
- package/_types/actions/public/getFilterChanges.d.ts +5 -0
- package/_types/actions/public/getFilterChanges.d.ts.map +1 -1
- package/_types/actions/public/getFilterLogs.d.ts +5 -0
- package/_types/actions/public/getFilterLogs.d.ts.map +1 -1
- package/_types/actions/public/getGasPrice.d.ts +3 -0
- package/_types/actions/public/getGasPrice.d.ts.map +1 -1
- package/_types/actions/public/getLogs.d.ts +7 -0
- package/_types/actions/public/getLogs.d.ts.map +1 -1
- package/_types/actions/public/getProof.d.ts +57 -0
- package/_types/actions/public/getProof.d.ts.map +1 -0
- package/_types/actions/public/getStorageAt.d.ts +4 -0
- package/_types/actions/public/getStorageAt.d.ts.map +1 -1
- package/_types/actions/public/getTransaction.d.ts +4 -0
- package/_types/actions/public/getTransaction.d.ts.map +1 -1
- package/_types/actions/public/getTransactionConfirmations.d.ts +4 -0
- package/_types/actions/public/getTransactionConfirmations.d.ts.map +1 -1
- package/_types/actions/public/getTransactionCount.d.ts +5 -0
- package/_types/actions/public/getTransactionCount.d.ts.map +1 -1
- package/_types/actions/public/getTransactionReceipt.d.ts +4 -0
- package/_types/actions/public/getTransactionReceipt.d.ts.map +1 -1
- package/_types/actions/public/multicall.d.ts +7 -0
- package/_types/actions/public/multicall.d.ts.map +1 -1
- package/_types/actions/public/readContract.d.ts +5 -1
- package/_types/actions/public/readContract.d.ts.map +1 -1
- package/_types/actions/public/simulateContract.d.ts +21 -9
- package/_types/actions/public/simulateContract.d.ts.map +1 -1
- package/_types/actions/public/uninstallFilter.d.ts +3 -0
- package/_types/actions/public/uninstallFilter.d.ts.map +1 -1
- package/_types/actions/public/verifyHash.d.ts +7 -1
- package/_types/actions/public/verifyHash.d.ts.map +1 -1
- package/_types/actions/public/verifyMessage.d.ts +4 -1
- package/_types/actions/public/verifyMessage.d.ts.map +1 -1
- package/_types/actions/public/verifyTypedData.d.ts +4 -1
- package/_types/actions/public/verifyTypedData.d.ts.map +1 -1
- package/_types/actions/public/waitForTransactionReceipt.d.ts +7 -1
- package/_types/actions/public/waitForTransactionReceipt.d.ts.map +1 -1
- package/_types/actions/public/watchBlockNumber.d.ts +3 -0
- package/_types/actions/public/watchBlockNumber.d.ts.map +1 -1
- package/_types/actions/public/watchBlocks.d.ts +4 -0
- package/_types/actions/public/watchBlocks.d.ts.map +1 -1
- package/_types/actions/public/watchContractEvent.d.ts +6 -2
- package/_types/actions/public/watchContractEvent.d.ts.map +1 -1
- package/_types/actions/public/watchEvent.d.ts +4 -0
- package/_types/actions/public/watchEvent.d.ts.map +1 -1
- package/_types/actions/public/watchPendingTransactions.d.ts +4 -0
- package/_types/actions/public/watchPendingTransactions.d.ts.map +1 -1
- package/_types/actions/test/dropTransaction.d.ts +3 -0
- package/_types/actions/test/dropTransaction.d.ts.map +1 -1
- package/_types/actions/test/getAutomine.d.ts +3 -0
- package/_types/actions/test/getAutomine.d.ts.map +1 -1
- package/_types/actions/test/getTxpoolContent.d.ts +3 -0
- package/_types/actions/test/getTxpoolContent.d.ts.map +1 -1
- package/_types/actions/test/getTxpoolStatus.d.ts +3 -0
- package/_types/actions/test/getTxpoolStatus.d.ts.map +1 -1
- package/_types/actions/test/impersonateAccount.d.ts +3 -0
- package/_types/actions/test/impersonateAccount.d.ts.map +1 -1
- package/_types/actions/test/increaseTime.d.ts +3 -0
- package/_types/actions/test/increaseTime.d.ts.map +1 -1
- package/_types/actions/test/inspectTxpool.d.ts +3 -0
- package/_types/actions/test/inspectTxpool.d.ts.map +1 -1
- package/_types/actions/test/mine.d.ts +3 -0
- package/_types/actions/test/mine.d.ts.map +1 -1
- package/_types/actions/test/removeBlockTimestampInterval.d.ts +3 -0
- package/_types/actions/test/removeBlockTimestampInterval.d.ts.map +1 -1
- package/_types/actions/test/reset.d.ts +3 -0
- package/_types/actions/test/reset.d.ts.map +1 -1
- package/_types/actions/test/revert.d.ts +3 -0
- package/_types/actions/test/revert.d.ts.map +1 -1
- package/_types/actions/test/sendUnsignedTransaction.d.ts +3 -0
- package/_types/actions/test/sendUnsignedTransaction.d.ts.map +1 -1
- package/_types/actions/test/setAutomine.d.ts +3 -0
- package/_types/actions/test/setAutomine.d.ts.map +1 -1
- package/_types/actions/test/setBalance.d.ts +3 -0
- package/_types/actions/test/setBalance.d.ts.map +1 -1
- package/_types/actions/test/setBlockGasLimit.d.ts +3 -0
- package/_types/actions/test/setBlockGasLimit.d.ts.map +1 -1
- package/_types/actions/test/setBlockTimestampInterval.d.ts +3 -0
- package/_types/actions/test/setBlockTimestampInterval.d.ts.map +1 -1
- package/_types/actions/test/setCode.d.ts +3 -0
- package/_types/actions/test/setCode.d.ts.map +1 -1
- package/_types/actions/test/setCoinbase.d.ts +3 -0
- package/_types/actions/test/setCoinbase.d.ts.map +1 -1
- package/_types/actions/test/setIntervalMining.d.ts +3 -0
- package/_types/actions/test/setIntervalMining.d.ts.map +1 -1
- package/_types/actions/test/setLoggingEnabled.d.ts +3 -0
- package/_types/actions/test/setLoggingEnabled.d.ts.map +1 -1
- package/_types/actions/test/setMinGasPrice.d.ts +3 -0
- package/_types/actions/test/setMinGasPrice.d.ts.map +1 -1
- package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts +3 -0
- package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts.map +1 -1
- package/_types/actions/test/setNextBlockTimestamp.d.ts +3 -0
- package/_types/actions/test/setNextBlockTimestamp.d.ts.map +1 -1
- package/_types/actions/test/setNonce.d.ts +3 -0
- package/_types/actions/test/setNonce.d.ts.map +1 -1
- package/_types/actions/test/setRpcUrl.d.ts +3 -0
- package/_types/actions/test/setRpcUrl.d.ts.map +1 -1
- package/_types/actions/test/setStorageAt.d.ts +3 -0
- package/_types/actions/test/setStorageAt.d.ts.map +1 -1
- package/_types/actions/test/snapshot.d.ts +3 -0
- package/_types/actions/test/snapshot.d.ts.map +1 -1
- package/_types/actions/test/stopImpersonatingAccount.d.ts +3 -0
- package/_types/actions/test/stopImpersonatingAccount.d.ts.map +1 -1
- package/_types/actions/wallet/addChain.d.ts +4 -0
- package/_types/actions/wallet/addChain.d.ts.map +1 -1
- package/_types/actions/wallet/deployContract.d.ts +3 -1
- package/_types/actions/wallet/deployContract.d.ts.map +1 -1
- package/_types/actions/wallet/getAddresses.d.ts +4 -0
- package/_types/actions/wallet/getAddresses.d.ts.map +1 -1
- package/_types/actions/wallet/getPermissions.d.ts +3 -0
- package/_types/actions/wallet/getPermissions.d.ts.map +1 -1
- package/_types/actions/wallet/prepareTransactionRequest.d.ts +9 -1
- package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
- package/_types/actions/wallet/requestAddresses.d.ts +3 -0
- package/_types/actions/wallet/requestAddresses.d.ts.map +1 -1
- package/_types/actions/wallet/requestPermissions.d.ts +3 -0
- package/_types/actions/wallet/requestPermissions.d.ts.map +1 -1
- package/_types/actions/wallet/sendRawTransaction.d.ts +3 -0
- package/_types/actions/wallet/sendRawTransaction.d.ts.map +1 -1
- package/_types/actions/wallet/sendTransaction.d.ts +12 -1
- package/_types/actions/wallet/sendTransaction.d.ts.map +1 -1
- package/_types/actions/wallet/signMessage.d.ts +6 -0
- package/_types/actions/wallet/signMessage.d.ts.map +1 -1
- package/_types/actions/wallet/signTransaction.d.ts +10 -1
- package/_types/actions/wallet/signTransaction.d.ts.map +1 -1
- package/_types/actions/wallet/signTypedData.d.ts +9 -0
- package/_types/actions/wallet/signTypedData.d.ts.map +1 -1
- package/_types/actions/wallet/switchChain.d.ts +4 -0
- package/_types/actions/wallet/switchChain.d.ts.map +1 -1
- package/_types/actions/wallet/watchAsset.d.ts +3 -0
- package/_types/actions/wallet/watchAsset.d.ts.map +1 -1
- package/_types/actions/wallet/writeContract.d.ts +5 -2
- package/_types/actions/wallet/writeContract.d.ts.map +1 -1
- package/_types/chains/celo/formatters.d.ts +218 -30
- package/_types/chains/celo/formatters.d.ts.map +1 -1
- package/_types/chains/celo/parsers.d.ts.map +1 -1
- package/_types/chains/celo/serializers.d.ts +3 -1
- package/_types/chains/celo/serializers.d.ts.map +1 -1
- package/_types/chains/celo/types.d.ts +39 -7
- package/_types/chains/celo/types.d.ts.map +1 -1
- package/_types/chains/definitions/arbitrum.d.ts +19 -33
- package/_types/chains/definitions/arbitrum.d.ts.map +1 -1
- package/_types/chains/definitions/arbitrumGoerli.d.ts +21 -32
- package/_types/chains/definitions/arbitrumGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/arbitrumNova.d.ts +19 -33
- package/_types/chains/definitions/arbitrumNova.d.ts.map +1 -1
- package/_types/chains/definitions/arbitrumSepolia.d.ts +32 -0
- package/_types/chains/definitions/arbitrumSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/astarZkatana.d.ts +40 -0
- package/_types/chains/definitions/astarZkatana.d.ts.map +1 -0
- package/_types/chains/definitions/aurora.d.ts +23 -24
- package/_types/chains/definitions/aurora.d.ts.map +1 -1
- package/_types/chains/definitions/auroraTestnet.d.ts +23 -25
- package/_types/chains/definitions/auroraTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/avalanche.d.ts +19 -25
- package/_types/chains/definitions/avalanche.d.ts.map +1 -1
- package/_types/chains/definitions/avalancheFuji.d.ts +19 -26
- package/_types/chains/definitions/avalancheFuji.d.ts.map +1 -1
- package/_types/chains/definitions/base.d.ts +30 -1032
- package/_types/chains/definitions/base.d.ts.map +1 -1
- package/_types/chains/definitions/baseGoerli.d.ts +30 -1030
- package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/baseSepolia.d.ts +539 -0
- package/_types/chains/definitions/baseSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/bearNetworkChainMainnet.d.ts +23 -17
- package/_types/chains/definitions/bearNetworkChainMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/bearNetworkChainTestnet.d.ts +23 -18
- package/_types/chains/definitions/bearNetworkChainTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/boba.d.ts +19 -25
- package/_types/chains/definitions/boba.d.ts.map +1 -1
- package/_types/chains/definitions/bronos.d.ts +23 -17
- package/_types/chains/definitions/bronos.d.ts.map +1 -1
- package/_types/chains/definitions/bronosTestnet.d.ts +23 -18
- package/_types/chains/definitions/bronosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/bsc.d.ts +19 -25
- package/_types/chains/definitions/bsc.d.ts.map +1 -1
- package/_types/chains/definitions/bscTestnet.d.ts +19 -26
- package/_types/chains/definitions/bscTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/bxn.d.ts +23 -17
- package/_types/chains/definitions/bxn.d.ts.map +1 -1
- package/_types/chains/definitions/bxnTestnet.d.ts +23 -17
- package/_types/chains/definitions/bxnTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/canto.d.ts +19 -21
- package/_types/chains/definitions/canto.d.ts.map +1 -1
- package/_types/chains/definitions/celo.d.ts +232 -1430
- package/_types/chains/definitions/celo.d.ts.map +1 -1
- package/_types/chains/definitions/celoAlfajores.d.ts +232 -1430
- package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
- package/_types/chains/definitions/celoCannoli.d.ts +232 -1423
- package/_types/chains/definitions/celoCannoli.d.ts.map +1 -1
- package/_types/chains/definitions/classic.d.ts +23 -17
- package/_types/chains/definitions/classic.d.ts.map +1 -1
- package/_types/chains/definitions/confluxESpace.d.ts +19 -21
- package/_types/chains/definitions/confluxESpace.d.ts.map +1 -1
- package/_types/chains/definitions/coreDao.d.ts +32 -0
- package/_types/chains/definitions/coreDao.d.ts.map +1 -0
- package/_types/chains/definitions/cronos.d.ts +19 -21
- package/_types/chains/definitions/cronos.d.ts.map +1 -1
- package/_types/chains/definitions/cronosTestnet.d.ts +19 -22
- package/_types/chains/definitions/cronosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/crossbell.d.ts +19 -21
- package/_types/chains/definitions/crossbell.d.ts.map +1 -1
- package/_types/chains/definitions/dfk.d.ts +23 -21
- package/_types/chains/definitions/dfk.d.ts.map +1 -1
- package/_types/chains/definitions/dogechain.d.ts +23 -21
- package/_types/chains/definitions/dogechain.d.ts.map +1 -1
- package/_types/chains/definitions/edgeware.d.ts +19 -25
- package/_types/chains/definitions/edgeware.d.ts.map +1 -1
- package/_types/chains/definitions/edgewareTestnet.d.ts +23 -21
- package/_types/chains/definitions/edgewareTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/ekta.d.ts +23 -17
- package/_types/chains/definitions/ekta.d.ts.map +1 -1
- package/_types/chains/definitions/ektaTestnet.d.ts +23 -18
- package/_types/chains/definitions/ektaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/eon.d.ts +16 -18
- package/_types/chains/definitions/eon.d.ts.map +1 -1
- package/_types/chains/definitions/eos.d.ts +19 -25
- package/_types/chains/definitions/eos.d.ts.map +1 -1
- package/_types/chains/definitions/eosTestnet.d.ts +19 -26
- package/_types/chains/definitions/eosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/evmos.d.ts +23 -17
- package/_types/chains/definitions/evmos.d.ts.map +1 -1
- package/_types/chains/definitions/evmosTestnet.d.ts +23 -17
- package/_types/chains/definitions/evmosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/fantom.d.ts +19 -25
- package/_types/chains/definitions/fantom.d.ts.map +1 -1
- package/_types/chains/definitions/fantomTestnet.d.ts +19 -25
- package/_types/chains/definitions/fantomTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/fibo.d.ts +23 -17
- package/_types/chains/definitions/fibo.d.ts.map +1 -1
- package/_types/chains/definitions/filecoin.d.ts +23 -29
- package/_types/chains/definitions/filecoin.d.ts.map +1 -1
- package/_types/chains/definitions/filecoinCalibration.d.ts +23 -17
- package/_types/chains/definitions/filecoinCalibration.d.ts.map +1 -1
- package/_types/chains/definitions/filecoinHyperspace.d.ts +23 -21
- package/_types/chains/definitions/filecoinHyperspace.d.ts.map +1 -1
- package/_types/chains/definitions/flare.d.ts +23 -17
- package/_types/chains/definitions/flare.d.ts.map +1 -1
- package/_types/chains/definitions/flareTestnet.d.ts +23 -18
- package/_types/chains/definitions/flareTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/foundry.d.ts +27 -12
- package/_types/chains/definitions/foundry.d.ts.map +1 -1
- package/_types/chains/definitions/fuse.d.ts +21 -17
- package/_types/chains/definitions/fuse.d.ts.map +1 -1
- package/_types/chains/definitions/fuseSparknet.d.ts +23 -17
- package/_types/chains/definitions/fuseSparknet.d.ts.map +1 -1
- package/_types/chains/definitions/gnosis.d.ts +19 -25
- package/_types/chains/definitions/gnosis.d.ts.map +1 -1
- package/_types/chains/definitions/gnosisChiado.d.ts +23 -18
- package/_types/chains/definitions/gnosisChiado.d.ts.map +1 -1
- package/_types/chains/definitions/gobi.d.ts +16 -19
- package/_types/chains/definitions/gobi.d.ts.map +1 -1
- package/_types/chains/definitions/goerli.d.ts +19 -34
- package/_types/chains/definitions/goerli.d.ts.map +1 -1
- package/_types/chains/definitions/haqqMainnet.d.ts +23 -17
- package/_types/chains/definitions/haqqMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/haqqTestedge2.d.ts +23 -17
- package/_types/chains/definitions/haqqTestedge2.d.ts.map +1 -1
- package/_types/chains/definitions/hardhat.d.ts +27 -11
- package/_types/chains/definitions/hardhat.d.ts.map +1 -1
- package/_types/chains/definitions/harmonyOne.d.ts +19 -21
- package/_types/chains/definitions/harmonyOne.d.ts.map +1 -1
- package/_types/chains/definitions/holesky.d.ts +26 -14
- package/_types/chains/definitions/holesky.d.ts.map +1 -1
- package/_types/chains/definitions/iotex.d.ts +23 -18
- package/_types/chains/definitions/iotex.d.ts.map +1 -1
- package/_types/chains/definitions/iotexTestnet.d.ts +23 -18
- package/_types/chains/definitions/iotexTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/klaytn.d.ts +23 -21
- package/_types/chains/definitions/klaytn.d.ts.map +1 -1
- package/_types/chains/definitions/kroma.d.ts +23 -18
- package/_types/chains/definitions/kroma.d.ts.map +1 -1
- package/_types/chains/definitions/kromaSepolia.d.ts +23 -18
- package/_types/chains/definitions/kromaSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/linea.d.ts +20 -36
- package/_types/chains/definitions/linea.d.ts.map +1 -1
- package/_types/chains/definitions/lineaTestnet.d.ts +20 -36
- package/_types/chains/definitions/lineaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/localhost.d.ts +27 -11
- package/_types/chains/definitions/localhost.d.ts.map +1 -1
- package/_types/chains/definitions/mainnet.d.ts +19 -33
- package/_types/chains/definitions/mainnet.d.ts.map +1 -1
- package/_types/chains/definitions/manta.d.ts +40 -0
- package/_types/chains/definitions/manta.d.ts.map +1 -0
- package/_types/chains/definitions/mantaTestnet.d.ts +40 -0
- package/_types/chains/definitions/mantaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/mantle.d.ts +19 -25
- package/_types/chains/definitions/mantle.d.ts.map +1 -1
- package/_types/chains/definitions/mantleTestnet.d.ts +23 -22
- package/_types/chains/definitions/mantleTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/meter.d.ts +23 -17
- package/_types/chains/definitions/meter.d.ts.map +1 -1
- package/_types/chains/definitions/meterTestnet.d.ts +23 -17
- package/_types/chains/definitions/meterTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/metis.d.ts +19 -21
- package/_types/chains/definitions/metis.d.ts.map +1 -1
- package/_types/chains/definitions/metisGoerli.d.ts +19 -21
- package/_types/chains/definitions/metisGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/mev.d.ts +19 -21
- package/_types/chains/definitions/mev.d.ts.map +1 -1
- package/_types/chains/definitions/mevTestnet.d.ts +19 -22
- package/_types/chains/definitions/mevTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/modeTestnet.d.ts +21 -18
- package/_types/chains/definitions/modeTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/moonbaseAlpha.d.ts +20 -28
- package/_types/chains/definitions/moonbaseAlpha.d.ts.map +1 -1
- package/_types/chains/definitions/moonbeam.d.ts +20 -28
- package/_types/chains/definitions/moonbeam.d.ts.map +1 -1
- package/_types/chains/definitions/moonbeamDev.d.ts +39 -0
- package/_types/chains/definitions/moonbeamDev.d.ts.map +1 -0
- package/_types/chains/definitions/moonriver.d.ts +20 -28
- package/_types/chains/definitions/moonriver.d.ts.map +1 -1
- package/_types/chains/definitions/neonDevnet.d.ts +19 -22
- package/_types/chains/definitions/neonDevnet.d.ts.map +1 -1
- package/_types/chains/definitions/nexi.d.ts +19 -25
- package/_types/chains/definitions/nexi.d.ts.map +1 -1
- package/_types/chains/definitions/nexilix.d.ts +19 -25
- package/_types/chains/definitions/nexilix.d.ts.map +1 -1
- package/_types/chains/definitions/oasys.d.ts +23 -17
- package/_types/chains/definitions/oasys.d.ts.map +1 -1
- package/_types/chains/definitions/okc.d.ts +19 -21
- package/_types/chains/definitions/okc.d.ts.map +1 -1
- package/_types/chains/definitions/opBNB.d.ts +19 -21
- package/_types/chains/definitions/opBNB.d.ts.map +1 -1
- package/_types/chains/definitions/opBNBTestnet.d.ts +19 -22
- package/_types/chains/definitions/opBNBTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/optimism.d.ts +30 -1032
- package/_types/chains/definitions/optimism.d.ts.map +1 -1
- package/_types/chains/definitions/optimismGoerli.d.ts +30 -1033
- package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/optimismSepolia.d.ts +529 -0
- package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/plinga.d.ts +19 -21
- package/_types/chains/definitions/plinga.d.ts.map +1 -1
- package/_types/chains/definitions/polygon.d.ts +19 -33
- package/_types/chains/definitions/polygon.d.ts.map +1 -1
- package/_types/chains/definitions/polygonMumbai.d.ts +19 -34
- package/_types/chains/definitions/polygonMumbai.d.ts.map +1 -1
- package/_types/chains/definitions/polygonZkEvm.d.ts +19 -21
- package/_types/chains/definitions/polygonZkEvm.d.ts.map +1 -1
- package/_types/chains/definitions/polygonZkEvmTestnet.d.ts +19 -26
- package/_types/chains/definitions/polygonZkEvmTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/pulsechain.d.ts +20 -24
- package/_types/chains/definitions/pulsechain.d.ts.map +1 -1
- package/_types/chains/definitions/pulsechainV4.d.ts +20 -24
- package/_types/chains/definitions/pulsechainV4.d.ts.map +1 -1
- package/_types/chains/definitions/qMainnet.d.ts +23 -17
- package/_types/chains/definitions/qMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/qTestnet.d.ts +23 -18
- package/_types/chains/definitions/qTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/rollux.d.ts +20 -22
- package/_types/chains/definitions/rollux.d.ts.map +1 -1
- package/_types/chains/definitions/rolluxTestnet.d.ts +20 -22
- package/_types/chains/definitions/rolluxTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/ronin.d.ts +19 -21
- package/_types/chains/definitions/ronin.d.ts.map +1 -1
- package/_types/chains/definitions/saigon.d.ts +19 -22
- package/_types/chains/definitions/saigon.d.ts.map +1 -1
- package/_types/chains/definitions/scroll.d.ts +33 -0
- package/_types/chains/definitions/scroll.d.ts.map +1 -0
- package/_types/chains/definitions/scrollSepolia.d.ts +20 -24
- package/_types/chains/definitions/scrollSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/scrollTestnet.d.ts +23 -19
- package/_types/chains/definitions/scrollTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/sepolia.d.ts +20 -35
- package/_types/chains/definitions/sepolia.d.ts.map +1 -1
- package/_types/chains/definitions/shardeumSphinx.d.ts +23 -18
- package/_types/chains/definitions/shardeumSphinx.d.ts.map +1 -1
- package/_types/chains/definitions/skale/brawl.d.ts +16 -23
- package/_types/chains/definitions/skale/brawl.d.ts.map +1 -1
- package/_types/chains/definitions/skale/calypso.d.ts +20 -27
- package/_types/chains/definitions/skale/calypso.d.ts.map +1 -1
- package/_types/chains/definitions/skale/calypsoTestnet.d.ts +20 -28
- package/_types/chains/definitions/skale/calypsoTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/skale/chaosTestnet.d.ts +20 -28
- package/_types/chains/definitions/skale/chaosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/skale/cryptoBlades.d.ts +16 -23
- package/_types/chains/definitions/skale/cryptoBlades.d.ts.map +1 -1
- package/_types/chains/definitions/skale/cryptoColosseum.d.ts +16 -23
- package/_types/chains/definitions/skale/cryptoColosseum.d.ts.map +1 -1
- package/_types/chains/definitions/skale/europa.d.ts +20 -27
- package/_types/chains/definitions/skale/europa.d.ts.map +1 -1
- package/_types/chains/definitions/skale/europaTestnet.d.ts +20 -28
- package/_types/chains/definitions/skale/europaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/skale/exorde.d.ts +16 -23
- package/_types/chains/definitions/skale/exorde.d.ts.map +1 -1
- package/_types/chains/definitions/skale/humanProtocol.d.ts +16 -23
- package/_types/chains/definitions/skale/humanProtocol.d.ts.map +1 -1
- package/_types/chains/definitions/skale/nebula.d.ts +20 -27
- package/_types/chains/definitions/skale/nebula.d.ts.map +1 -1
- package/_types/chains/definitions/skale/nebulaTestnet.d.ts +20 -28
- package/_types/chains/definitions/skale/nebulaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/skale/razor.d.ts +16 -23
- package/_types/chains/definitions/skale/razor.d.ts.map +1 -1
- package/_types/chains/definitions/skale/titan.d.ts +20 -27
- package/_types/chains/definitions/skale/titan.d.ts.map +1 -1
- package/_types/chains/definitions/skale/titanTestnet.d.ts +20 -28
- package/_types/chains/definitions/skale/titanTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/songbird.d.ts +23 -17
- package/_types/chains/definitions/songbird.d.ts.map +1 -1
- package/_types/chains/definitions/songbirdTestnet.d.ts +23 -18
- package/_types/chains/definitions/songbirdTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/syscoin.d.ts +20 -23
- package/_types/chains/definitions/syscoin.d.ts.map +1 -1
- package/_types/chains/definitions/syscoinTestnet.d.ts +20 -23
- package/_types/chains/definitions/syscoinTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/taikoJolnir.d.ts +23 -17
- package/_types/chains/definitions/taikoJolnir.d.ts.map +1 -1
- package/_types/chains/definitions/taikoTestnetSepolia.d.ts +23 -17
- package/_types/chains/definitions/taikoTestnetSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/taraxa.d.ts +23 -17
- package/_types/chains/definitions/taraxa.d.ts.map +1 -1
- package/_types/chains/definitions/taraxaTestnet.d.ts +23 -18
- package/_types/chains/definitions/taraxaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/telos.d.ts +19 -21
- package/_types/chains/definitions/telos.d.ts.map +1 -1
- package/_types/chains/definitions/telosTestnet.d.ts +23 -18
- package/_types/chains/definitions/telosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/thunderTestnet.d.ts +23 -18
- package/_types/chains/definitions/thunderTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/vechain.d.ts +26 -20
- package/_types/chains/definitions/vechain.d.ts.map +1 -1
- package/_types/chains/definitions/wanchain.d.ts +19 -25
- package/_types/chains/definitions/wanchain.d.ts.map +1 -1
- package/_types/chains/definitions/wanchainTestnet.d.ts +19 -26
- package/_types/chains/definitions/wanchainTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/xdc.d.ts +26 -20
- package/_types/chains/definitions/xdc.d.ts.map +1 -1
- package/_types/chains/definitions/xdcTestnet.d.ts +26 -20
- package/_types/chains/definitions/xdcTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zetachainAthensTestnet.d.ts +23 -18
- package/_types/chains/definitions/zetachainAthensTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zhejiang.d.ts +23 -26
- package/_types/chains/definitions/zhejiang.d.ts.map +1 -1
- package/_types/chains/definitions/zkSync.d.ts +503 -20
- package/_types/chains/definitions/zkSync.d.ts.map +1 -1
- package/_types/chains/definitions/zkSyncTestnet.d.ts +503 -21
- package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zora.d.ts +31 -1022
- package/_types/chains/definitions/zora.d.ts.map +1 -1
- package/_types/chains/definitions/zoraSepolia.d.ts +535 -0
- package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/zoraTestnet.d.ts +31 -1023
- package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
- package/_types/chains/index.d.ts +11 -1
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/chains/optimism/formatters.d.ts +10 -8
- package/_types/chains/optimism/formatters.d.ts.map +1 -1
- package/_types/chains/utils.d.ts +7 -1
- package/_types/chains/utils.d.ts.map +1 -1
- package/_types/chains/zksync/formatters.d.ts +487 -0
- package/_types/chains/zksync/formatters.d.ts.map +1 -0
- package/_types/chains/zksync/serializers.d.ts +9 -0
- package/_types/chains/zksync/serializers.d.ts.map +1 -0
- package/_types/chains/zksync/types.d.ts +158 -0
- package/_types/chains/zksync/types.d.ts.map +1 -0
- package/_types/clients/createClient.d.ts +9 -2
- package/_types/clients/createClient.d.ts.map +1 -1
- package/_types/clients/createPublicClient.d.ts +3 -1
- package/_types/clients/createPublicClient.d.ts.map +1 -1
- package/_types/clients/createTestClient.d.ts +3 -1
- package/_types/clients/createTestClient.d.ts.map +1 -1
- package/_types/clients/createWalletClient.d.ts +3 -1
- package/_types/clients/createWalletClient.d.ts.map +1 -1
- package/_types/clients/decorators/public.d.ts +58 -5
- package/_types/clients/decorators/public.d.ts.map +1 -1
- package/_types/clients/transports/createTransport.d.ts +2 -0
- package/_types/clients/transports/createTransport.d.ts.map +1 -1
- package/_types/clients/transports/custom.d.ts +3 -1
- package/_types/clients/transports/custom.d.ts.map +1 -1
- package/_types/clients/transports/fallback.d.ts +3 -1
- package/_types/clients/transports/fallback.d.ts.map +1 -1
- package/_types/clients/transports/http.d.ts +5 -1
- package/_types/clients/transports/http.d.ts.map +1 -1
- package/_types/clients/transports/webSocket.d.ts +4 -3
- package/_types/clients/transports/webSocket.d.ts.map +1 -1
- package/_types/ens/index.d.ts +8 -8
- package/_types/ens/index.d.ts.map +1 -1
- package/_types/errors/abi.d.ts +75 -0
- package/_types/errors/abi.d.ts.map +1 -1
- package/_types/errors/account.d.ts +3 -0
- package/_types/errors/account.d.ts.map +1 -1
- package/_types/errors/address.d.ts +3 -0
- package/_types/errors/address.d.ts.map +1 -1
- package/_types/errors/base.d.ts +3 -0
- package/_types/errors/base.d.ts.map +1 -1
- package/_types/errors/block.d.ts +3 -0
- package/_types/errors/block.d.ts.map +1 -1
- package/_types/errors/ccip.d.ts +9 -0
- package/_types/errors/ccip.d.ts.map +1 -1
- package/_types/errors/chain.d.ts +15 -0
- package/_types/errors/chain.d.ts.map +1 -1
- package/_types/errors/contract.d.ts +15 -0
- package/_types/errors/contract.d.ts.map +1 -1
- package/_types/errors/cursor.d.ts +21 -0
- package/_types/errors/cursor.d.ts.map +1 -0
- package/_types/errors/data.d.ts +6 -0
- package/_types/errors/data.d.ts.map +1 -1
- package/_types/errors/encoding.d.ts +29 -2
- package/_types/errors/encoding.d.ts.map +1 -1
- package/_types/errors/ens.d.ts +12 -0
- package/_types/errors/ens.d.ts.map +1 -1
- package/_types/errors/estimateGas.d.ts +3 -0
- package/_types/errors/estimateGas.d.ts.map +1 -1
- package/_types/errors/fee.d.ts +9 -0
- package/_types/errors/fee.d.ts.map +1 -1
- package/_types/errors/log.d.ts +3 -0
- package/_types/errors/log.d.ts.map +1 -1
- package/_types/errors/node.d.ts +37 -0
- package/_types/errors/node.d.ts.map +1 -1
- package/_types/errors/request.d.ts +12 -0
- package/_types/errors/request.d.ts.map +1 -1
- package/_types/errors/rpc.d.ts +81 -0
- package/_types/errors/rpc.d.ts.map +1 -1
- package/_types/errors/transaction.d.ts +30 -0
- package/_types/errors/transaction.d.ts.map +1 -1
- package/_types/errors/transport.d.ts +3 -0
- package/_types/errors/transport.d.ts.map +1 -1
- package/_types/errors/utils.d.ts +3 -0
- package/_types/errors/utils.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/errors/version.d.ts.map +1 -1
- package/_types/index.d.ts +188 -176
- package/_types/index.d.ts.map +1 -1
- package/_types/types/block.d.ts +5 -0
- package/_types/types/block.d.ts.map +1 -1
- package/_types/types/chain.d.ts +19 -25
- package/_types/types/chain.d.ts.map +1 -1
- package/_types/types/contract.d.ts +2 -2
- package/_types/types/contract.d.ts.map +1 -1
- package/_types/types/eip1193.d.ts +24 -1
- package/_types/types/eip1193.d.ts.map +1 -1
- package/_types/types/misc.d.ts +4 -0
- package/_types/types/misc.d.ts.map +1 -1
- package/_types/types/proof.d.ts +18 -0
- package/_types/types/proof.d.ts.map +1 -0
- package/_types/types/rpc.d.ts +2 -0
- package/_types/types/rpc.d.ts.map +1 -1
- package/_types/types/transaction.d.ts +2 -2
- package/_types/types/transaction.d.ts.map +1 -1
- package/_types/types/utils.d.ts.map +1 -1
- package/_types/types/withdrawal.d.ts +8 -0
- package/_types/types/withdrawal.d.ts.map +1 -0
- package/_types/utils/abi/decodeAbiParameters.d.ts +20 -0
- package/_types/utils/abi/decodeAbiParameters.d.ts.map +1 -1
- package/_types/utils/abi/decodeDeployData.d.ts +4 -0
- package/_types/utils/abi/decodeDeployData.d.ts.map +1 -1
- package/_types/utils/abi/decodeErrorResult.d.ts +6 -0
- package/_types/utils/abi/decodeErrorResult.d.ts.map +1 -1
- package/_types/utils/abi/decodeEventLog.d.ts +8 -2
- package/_types/utils/abi/decodeEventLog.d.ts.map +1 -1
- package/_types/utils/abi/decodeFunctionData.d.ts +7 -0
- package/_types/utils/abi/decodeFunctionData.d.ts.map +1 -1
- package/_types/utils/abi/decodeFunctionResult.d.ts +5 -0
- package/_types/utils/abi/decodeFunctionResult.d.ts.map +1 -1
- package/_types/utils/abi/encodeAbiParameters.d.ts +21 -0
- package/_types/utils/abi/encodeAbiParameters.d.ts.map +1 -1
- package/_types/utils/abi/encodeDeployData.d.ts +5 -0
- package/_types/utils/abi/encodeDeployData.d.ts.map +1 -1
- package/_types/utils/abi/encodeErrorResult.d.ts +7 -0
- package/_types/utils/abi/encodeErrorResult.d.ts.map +1 -1
- package/_types/utils/abi/encodeEventTopics.d.ts +11 -0
- package/_types/utils/abi/encodeEventTopics.d.ts.map +1 -1
- package/_types/utils/abi/encodeFunctionData.d.ts +8 -0
- package/_types/utils/abi/encodeFunctionData.d.ts.map +1 -1
- package/_types/utils/abi/encodeFunctionResult.d.ts +5 -0
- package/_types/utils/abi/encodeFunctionResult.d.ts.map +1 -1
- package/_types/utils/abi/encodePacked.d.ts +9 -0
- package/_types/utils/abi/encodePacked.d.ts.map +1 -1
- package/_types/utils/abi/formatAbiItem.d.ts +5 -0
- package/_types/utils/abi/formatAbiItem.d.ts.map +1 -1
- package/_types/utils/abi/formatAbiItemWithArgs.d.ts +2 -0
- package/_types/utils/abi/formatAbiItemWithArgs.d.ts.map +1 -1
- package/_types/utils/abi/getAbiItem.d.ts +6 -0
- package/_types/utils/abi/getAbiItem.d.ts.map +1 -1
- package/_types/utils/address/getAddress.d.ts +6 -0
- package/_types/utils/address/getAddress.d.ts.map +1 -1
- package/_types/utils/address/getContractAddress.d.ts +15 -0
- package/_types/utils/address/getContractAddress.d.ts.map +1 -1
- package/_types/utils/address/isAddress.d.ts +2 -0
- package/_types/utils/address/isAddress.d.ts.map +1 -1
- package/_types/utils/address/isAddressEqual.d.ts +4 -0
- package/_types/utils/address/isAddressEqual.d.ts.map +1 -1
- package/_types/utils/buildRequest.d.ts +8 -0
- package/_types/utils/buildRequest.d.ts.map +1 -1
- package/_types/utils/ccip.d.ts +3 -0
- package/_types/utils/ccip.d.ts.map +1 -1
- package/_types/utils/chain/assertCurrentChain.d.ts +10 -0
- package/_types/utils/chain/assertCurrentChain.d.ts.map +1 -0
- package/_types/utils/chain/defineChain.d.ts +4 -0
- package/_types/utils/chain/defineChain.d.ts.map +1 -0
- package/_types/utils/chain/extractChain.d.ts +10 -0
- package/_types/utils/chain/extractChain.d.ts.map +1 -0
- package/_types/utils/chain/getChainContractAddress.d.ts +9 -0
- package/_types/utils/chain/getChainContractAddress.d.ts.map +1 -0
- package/_types/utils/contract/extractFunctionParts.d.ts +5 -0
- package/_types/utils/contract/extractFunctionParts.d.ts.map +1 -1
- package/_types/utils/cursor.d.ts +37 -0
- package/_types/utils/cursor.d.ts.map +1 -0
- package/_types/utils/data/concat.d.ts +7 -3
- package/_types/utils/data/concat.d.ts.map +1 -1
- package/_types/utils/data/isBytes.d.ts +2 -0
- package/_types/utils/data/isBytes.d.ts.map +1 -1
- package/_types/utils/data/isBytesEqual.d.ts +4 -0
- package/_types/utils/data/isBytesEqual.d.ts.map +1 -1
- package/_types/utils/data/isHex.d.ts +2 -0
- package/_types/utils/data/isHex.d.ts.map +1 -1
- package/_types/utils/data/pad.d.ts +5 -0
- package/_types/utils/data/pad.d.ts.map +1 -1
- package/_types/utils/data/size.d.ts +3 -0
- package/_types/utils/data/size.d.ts.map +1 -1
- package/_types/utils/data/slice.d.ts +9 -0
- package/_types/utils/data/slice.d.ts.map +1 -1
- package/_types/utils/data/trim.d.ts +2 -0
- package/_types/utils/data/trim.d.ts.map +1 -1
- package/_types/utils/encoding/fromBytes.d.ts +13 -5
- package/_types/utils/encoding/fromBytes.d.ts.map +1 -1
- package/_types/utils/encoding/fromHex.d.ts +11 -0
- package/_types/utils/encoding/fromHex.d.ts.map +1 -1
- package/_types/utils/encoding/fromRlp.d.ts +17 -2
- package/_types/utils/encoding/fromRlp.d.ts.map +1 -1
- package/_types/utils/encoding/toBytes.d.ts +12 -3
- package/_types/utils/encoding/toBytes.d.ts.map +1 -1
- package/_types/utils/encoding/toHex.d.ts +9 -0
- package/_types/utils/encoding/toHex.d.ts.map +1 -1
- package/_types/utils/encoding/toRlp.d.ts +11 -3
- package/_types/utils/encoding/toRlp.d.ts.map +1 -1
- package/_types/utils/ens/avatar/parseAvatarRecord.d.ts +4 -0
- package/_types/utils/ens/avatar/parseAvatarRecord.d.ts.map +1 -1
- package/_types/utils/ens/avatar/utils.d.ts +11 -0
- package/_types/utils/ens/avatar/utils.d.ts.map +1 -1
- package/_types/utils/ens/encodeLabelhash.d.ts +2 -0
- package/_types/utils/ens/encodeLabelhash.d.ts.map +1 -1
- package/_types/utils/ens/encodedLabelToLabelhash.d.ts +3 -0
- package/_types/utils/ens/encodedLabelToLabelhash.d.ts.map +1 -1
- package/_types/utils/ens/errors.d.ts +2 -0
- package/_types/utils/ens/errors.d.ts.map +1 -1
- package/_types/utils/ens/labelhash.d.ts +6 -0
- package/_types/utils/ens/labelhash.d.ts.map +1 -1
- package/_types/utils/ens/namehash.d.ts +7 -0
- package/_types/utils/ens/namehash.d.ts.map +1 -1
- package/_types/utils/ens/normalize.d.ts +2 -0
- package/_types/utils/ens/normalize.d.ts.map +1 -1
- package/_types/utils/ens/packetToBytes.d.ts +5 -0
- package/_types/utils/ens/packetToBytes.d.ts.map +1 -1
- package/_types/utils/errors/getCallError.d.ts +8 -4
- package/_types/utils/errors/getCallError.d.ts.map +1 -1
- package/_types/utils/errors/getContractError.d.ts +7 -4
- package/_types/utils/errors/getContractError.d.ts.map +1 -1
- package/_types/utils/errors/getEstimateGasError.d.ts +8 -4
- package/_types/utils/errors/getEstimateGasError.d.ts.map +1 -1
- package/_types/utils/errors/getNodeError.d.ts +3 -2
- package/_types/utils/errors/getNodeError.d.ts.map +1 -1
- package/_types/utils/errors/getTransactionError.d.ts +7 -3
- package/_types/utils/errors/getTransactionError.d.ts.map +1 -1
- package/_types/utils/formatters/block.d.ts +5 -1
- package/_types/utils/formatters/block.d.ts.map +1 -1
- package/_types/utils/formatters/extract.d.ts +4 -2
- package/_types/utils/formatters/extract.d.ts.map +1 -1
- package/_types/utils/formatters/feeHistory.d.ts +2 -0
- package/_types/utils/formatters/feeHistory.d.ts.map +1 -1
- package/_types/utils/formatters/formatter.d.ts +3 -1
- package/_types/utils/formatters/formatter.d.ts.map +1 -1
- package/_types/utils/formatters/log.d.ts +2 -0
- package/_types/utils/formatters/log.d.ts.map +1 -1
- package/_types/utils/formatters/proof.d.ts +6 -0
- package/_types/utils/formatters/proof.d.ts.map +1 -0
- package/_types/utils/formatters/transaction.d.ts +5 -1
- package/_types/utils/formatters/transaction.d.ts.map +1 -1
- package/_types/utils/formatters/transactionReceipt.d.ts +5 -1
- package/_types/utils/formatters/transactionReceipt.d.ts.map +1 -1
- package/_types/utils/formatters/transactionRequest.d.ts +5 -1
- package/_types/utils/formatters/transactionRequest.d.ts.map +1 -1
- package/_types/utils/getAction.d.ts +3 -0
- package/_types/utils/getAction.d.ts.map +1 -0
- package/_types/utils/hash/getEventSelector.d.ts +5 -2
- package/_types/utils/hash/getEventSelector.d.ts.map +1 -1
- package/_types/utils/hash/getEventSignature.d.ts +6 -0
- package/_types/utils/hash/getEventSignature.d.ts.map +1 -0
- package/_types/utils/hash/getFunctionSelector.d.ts +6 -0
- package/_types/utils/hash/getFunctionSelector.d.ts.map +1 -1
- package/_types/utils/hash/getFunctionSignature.d.ts +7 -0
- package/_types/utils/hash/getFunctionSignature.d.ts.map +1 -0
- package/_types/utils/hash/hashFunction.d.ts +7 -0
- package/_types/utils/hash/hashFunction.d.ts.map +1 -1
- package/_types/utils/hash/isHash.d.ts +4 -0
- package/_types/utils/hash/isHash.d.ts.map +1 -1
- package/_types/utils/hash/keccak256.d.ts +5 -0
- package/_types/utils/hash/keccak256.d.ts.map +1 -1
- package/_types/utils/index.d.ts +83 -78
- package/_types/utils/index.d.ts.map +1 -1
- package/_types/utils/observe.d.ts +2 -0
- package/_types/utils/observe.d.ts.map +1 -1
- package/_types/utils/poll.d.ts +2 -0
- package/_types/utils/poll.d.ts.map +1 -1
- package/_types/utils/promise/createBatchScheduler.d.ts +5 -1
- package/_types/utils/promise/createBatchScheduler.d.ts.map +1 -1
- package/_types/utils/promise/withCache.d.ts +2 -0
- package/_types/utils/promise/withCache.d.ts.map +1 -1
- package/_types/utils/promise/withRetry.d.ts +2 -0
- package/_types/utils/promise/withRetry.d.ts.map +1 -1
- package/_types/utils/promise/withTimeout.d.ts +3 -1
- package/_types/utils/promise/withTimeout.d.ts.map +1 -1
- package/_types/utils/rpc.d.ts +10 -3
- package/_types/utils/rpc.d.ts.map +1 -1
- package/_types/utils/signature/compactSignatureToHex.d.ts +19 -0
- package/_types/utils/signature/compactSignatureToHex.d.ts.map +1 -0
- package/_types/utils/signature/compactSignatureToSignature.d.ts +24 -0
- package/_types/utils/signature/compactSignatureToSignature.d.ts.map +1 -0
- package/_types/utils/signature/hashMessage.d.ts +5 -0
- package/_types/utils/signature/hashMessage.d.ts.map +1 -1
- package/_types/utils/signature/hashTypedData.d.ts +13 -0
- package/_types/utils/signature/hashTypedData.d.ts.map +1 -1
- package/_types/utils/signature/hexToCompactSignature.d.ts +16 -0
- package/_types/utils/signature/hexToCompactSignature.d.ts.map +1 -0
- package/_types/utils/signature/hexToSignature.d.ts +3 -0
- package/_types/utils/signature/hexToSignature.d.ts.map +1 -1
- package/_types/utils/signature/recoverAddress.d.ts +2 -0
- package/_types/utils/signature/recoverAddress.d.ts.map +1 -1
- package/_types/utils/signature/recoverMessageAddress.d.ts +4 -0
- package/_types/utils/signature/recoverMessageAddress.d.ts.map +1 -1
- package/_types/utils/signature/recoverPublicKey.d.ts +4 -0
- package/_types/utils/signature/recoverPublicKey.d.ts.map +1 -1
- package/_types/utils/signature/recoverTypedDataAddress.d.ts +4 -0
- package/_types/utils/signature/recoverTypedDataAddress.d.ts.map +1 -1
- package/_types/utils/signature/signatureToCompactSignature.d.ts +23 -0
- package/_types/utils/signature/signatureToCompactSignature.d.ts.map +1 -0
- package/_types/utils/signature/signatureToHex.d.ts +4 -0
- package/_types/utils/signature/signatureToHex.d.ts.map +1 -1
- package/_types/utils/signature/verifyMessage.d.ts +5 -0
- package/_types/utils/signature/verifyMessage.d.ts.map +1 -1
- package/_types/utils/signature/verifyTypedData.d.ts +5 -0
- package/_types/utils/signature/verifyTypedData.d.ts.map +1 -1
- package/_types/utils/stringify.d.ts +2 -0
- package/_types/utils/stringify.d.ts.map +1 -1
- package/_types/utils/transaction/assertRequest.d.ts +6 -0
- package/_types/utils/transaction/assertRequest.d.ts.map +1 -1
- package/_types/utils/transaction/assertTransaction.d.ts +9 -0
- package/_types/utils/transaction/assertTransaction.d.ts.map +1 -1
- package/_types/utils/transaction/getSerializedTransactionType.d.ts +5 -0
- package/_types/utils/transaction/getSerializedTransactionType.d.ts.map +1 -1
- package/_types/utils/transaction/getTransactionType.d.ts +3 -0
- package/_types/utils/transaction/getTransactionType.d.ts.map +1 -1
- package/_types/utils/transaction/parseTransaction.d.ts +19 -2
- package/_types/utils/transaction/parseTransaction.d.ts.map +1 -1
- package/_types/utils/transaction/serializeAccessList.d.ts +5 -0
- package/_types/utils/transaction/serializeAccessList.d.ts.map +1 -1
- package/_types/utils/transaction/serializeTransaction.d.ts +13 -1
- package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -1
- package/_types/utils/typedData.d.ts +8 -0
- package/_types/utils/typedData.d.ts.map +1 -1
- package/_types/utils/unit/formatEther.d.ts +2 -0
- package/_types/utils/unit/formatEther.d.ts.map +1 -1
- package/_types/utils/unit/formatGwei.d.ts +2 -0
- package/_types/utils/unit/formatGwei.d.ts.map +1 -1
- package/_types/utils/unit/formatUnits.d.ts +2 -0
- package/_types/utils/unit/formatUnits.d.ts.map +1 -1
- package/_types/utils/unit/parseEther.d.ts +3 -0
- package/_types/utils/unit/parseEther.d.ts.map +1 -1
- package/_types/utils/unit/parseGwei.d.ts +3 -0
- package/_types/utils/unit/parseGwei.d.ts.map +1 -1
- package/_types/utils/unit/parseUnits.d.ts +2 -0
- package/_types/utils/unit/parseUnits.d.ts.map +1 -1
- package/accounts/generateMnemonic.ts +3 -0
- package/accounts/generatePrivateKey.ts +4 -1
- package/accounts/hdKeyToAccount.ts +11 -2
- package/accounts/index.ts +46 -11
- package/accounts/mnemonicToAccount.ts +7 -1
- package/accounts/privateKeyToAccount.ts +25 -6
- package/accounts/toAccount.ts +14 -2
- package/accounts/utils/parseAccount.ts +3 -0
- package/accounts/utils/privateKeyToAddress.ts +14 -2
- package/accounts/utils/publicKeyToAddress.ts +14 -2
- package/accounts/utils/sign.ts +5 -1
- package/accounts/utils/signMessage.ts +17 -3
- package/accounts/utils/signTransaction.ts +12 -2
- package/accounts/utils/signTypedData.ts +16 -3
- package/actions/ens/getEnsAddress.ts +36 -9
- package/actions/ens/getEnsAvatar.ts +20 -3
- package/actions/ens/getEnsName.ts +23 -4
- package/actions/ens/getEnsResolver.ts +21 -4
- package/actions/ens/getEnsText.ts +33 -7
- package/actions/getContract.ts +258 -83
- package/actions/index.ts +111 -10
- package/actions/public/call.ts +65 -15
- package/actions/public/createBlockFilter.ts +4 -0
- package/actions/public/createContractEventFilter.ts +14 -2
- package/actions/public/createEventFilter.ts +13 -1
- package/actions/public/createPendingTransactionFilter.ts +6 -0
- package/actions/public/estimateContractGas.ts +36 -6
- package/actions/public/estimateFeesPerGas.ts +19 -4
- package/actions/public/estimateGas.ts +25 -7
- package/actions/public/estimateMaxPriorityFeePerGas.ts +27 -8
- package/actions/public/getBalance.ts +11 -1
- package/actions/public/getBlock.ts +16 -2
- package/actions/public/getBlockNumber.ts +4 -0
- package/actions/public/getBlockTransactionCount.ts +16 -2
- package/actions/public/getBytecode.ts +11 -1
- package/actions/public/getChainId.ts +11 -1
- package/actions/public/getContractEvents.ts +169 -0
- package/actions/public/getFeeHistory.ts +14 -2
- package/actions/public/getFilterChanges.ts +16 -2
- package/actions/public/getFilterLogs.ts +16 -2
- package/actions/public/getGasPrice.ts +4 -0
- package/actions/public/getLogs.ts +23 -3
- package/actions/public/getProof.ts +93 -0
- package/actions/public/getStorageAt.ts +11 -1
- package/actions/public/getTransaction.ts +11 -1
- package/actions/public/getTransactionConfirmations.ts +17 -4
- package/actions/public/getTransactionCount.ts +16 -2
- package/actions/public/getTransactionReceipt.ts +11 -1
- package/actions/public/multicall.ts +32 -6
- package/actions/public/readContract.ts +29 -6
- package/actions/public/simulateContract.ts +68 -15
- package/actions/public/uninstallFilter.ts +4 -0
- package/actions/public/verifyHash.ts +23 -4
- package/actions/public/verifyMessage.ts +13 -2
- package/actions/public/verifyTypedData.ts +16 -3
- package/actions/public/waitForTransactionReceipt.ts +36 -9
- package/actions/public/watchBlockNumber.ts +9 -2
- package/actions/public/watchBlocks.ts +18 -5
- package/actions/public/watchContractEvent.ts +33 -22
- package/actions/public/watchEvent.ts +20 -7
- package/actions/public/watchPendingTransactions.ts +15 -5
- package/actions/test/dropTransaction.ts +4 -0
- package/actions/test/getAutomine.ts +4 -0
- package/actions/test/getTxpoolContent.ts +4 -0
- package/actions/test/getTxpoolStatus.ts +4 -0
- package/actions/test/impersonateAccount.ts +4 -0
- package/actions/test/increaseTime.ts +4 -0
- package/actions/test/inspectTxpool.ts +4 -0
- package/actions/test/mine.ts +4 -0
- package/actions/test/removeBlockTimestampInterval.ts +4 -0
- package/actions/test/reset.ts +4 -0
- package/actions/test/revert.ts +4 -0
- package/actions/test/sendUnsignedTransaction.ts +8 -4
- package/actions/test/setAutomine.ts +4 -0
- package/actions/test/setBalance.ts +4 -0
- package/actions/test/setBlockGasLimit.ts +4 -0
- package/actions/test/setBlockTimestampInterval.ts +10 -1
- package/actions/test/setCode.ts +4 -0
- package/actions/test/setCoinbase.ts +4 -0
- package/actions/test/setIntervalMining.ts +10 -1
- package/actions/test/setLoggingEnabled.ts +4 -0
- package/actions/test/setMinGasPrice.ts +4 -0
- package/actions/test/setNextBlockBaseFeePerGas.ts +4 -0
- package/actions/test/setNextBlockTimestamp.ts +4 -0
- package/actions/test/setNonce.ts +4 -0
- package/actions/test/setRpcUrl.ts +4 -0
- package/actions/test/setStorageAt.ts +4 -0
- package/actions/test/snapshot.ts +4 -0
- package/actions/test/stopImpersonatingAccount.ts +4 -0
- package/actions/wallet/addChain.ts +11 -1
- package/actions/wallet/deployContract.ts +4 -0
- package/actions/wallet/getAddresses.ts +12 -1
- package/actions/wallet/getPermissions.ts +4 -0
- package/actions/wallet/prepareTransactionRequest.ts +45 -10
- package/actions/wallet/requestAddresses.ts +4 -0
- package/actions/wallet/requestPermissions.ts +4 -0
- package/actions/wallet/sendRawTransaction.ts +5 -1
- package/actions/wallet/sendTransaction.ts +54 -14
- package/actions/wallet/signMessage.ts +19 -2
- package/actions/wallet/signTransaction.ts +31 -7
- package/actions/wallet/signTypedData.ts +26 -4
- package/actions/wallet/switchChain.ts +11 -1
- package/actions/wallet/watchAsset.ts +3 -0
- package/actions/wallet/writeContract.ts +19 -13
- package/chains/celo/formatters.ts +39 -5
- package/chains/celo/parsers.ts +82 -1
- package/chains/celo/serializers.ts +121 -9
- package/chains/celo/types.ts +60 -2
- package/chains/definitions/arbitrum.ts +1 -14
- package/chains/definitions/arbitrumGoerli.ts +3 -15
- package/chains/definitions/arbitrumNova.ts +1 -14
- package/chains/definitions/arbitrumSepolia.ts +29 -0
- package/chains/definitions/astarZkatana.ts +39 -0
- package/chains/definitions/aurora.ts +1 -5
- package/chains/definitions/auroraTestnet.ts +1 -5
- package/chains/definitions/avalanche.ts +1 -4
- package/chains/definitions/avalancheFuji.ts +1 -4
- package/chains/definitions/base.ts +20 -40
- package/chains/definitions/baseGoerli.ts +21 -39
- package/chains/definitions/baseSepolia.ts +30 -0
- package/chains/definitions/bearNetworkChainMainnet.ts +1 -3
- package/chains/definitions/bearNetworkChainTestnet.ts +1 -3
- package/chains/definitions/boba.ts +1 -4
- package/chains/definitions/bronos.ts +1 -3
- package/chains/definitions/bronosTestnet.ts +1 -3
- package/chains/definitions/bsc.ts +1 -4
- package/chains/definitions/bscTestnet.ts +1 -4
- package/chains/definitions/bxn.ts +1 -5
- package/chains/definitions/bxnTestnet.ts +1 -5
- package/chains/definitions/canto.ts +1 -3
- package/chains/definitions/celo.ts +25 -37
- package/chains/definitions/celoAlfajores.ts +26 -38
- package/chains/definitions/celoCannoli.ts +26 -34
- package/chains/definitions/classic.ts +1 -3
- package/chains/definitions/confluxESpace.ts +1 -5
- package/chains/definitions/coreDao.ts +24 -0
- package/chains/definitions/cronos.ts +1 -3
- package/chains/definitions/cronosTestnet.ts +1 -3
- package/chains/definitions/crossbell.ts +1 -5
- package/chains/definitions/dfk.ts +1 -9
- package/chains/definitions/dogechain.ts +1 -7
- package/chains/definitions/edgeware.ts +1 -4
- package/chains/definitions/edgewareTestnet.ts +1 -7
- package/chains/definitions/ekta.ts +1 -3
- package/chains/definitions/ektaTestnet.ts +1 -3
- package/chains/definitions/eon.ts +1 -3
- package/chains/definitions/eos.ts +1 -7
- package/chains/definitions/eosTestnet.ts +1 -7
- package/chains/definitions/evmos.ts +1 -3
- package/chains/definitions/evmosTestnet.ts +1 -3
- package/chains/definitions/fantom.ts +1 -4
- package/chains/definitions/fantomTestnet.ts +1 -4
- package/chains/definitions/fibo.ts +1 -3
- package/chains/definitions/filecoin.ts +1 -6
- package/chains/definitions/filecoinCalibration.ts +1 -3
- package/chains/definitions/filecoinHyperspace.ts +1 -4
- package/chains/definitions/flare.ts +1 -3
- package/chains/definitions/flareTestnet.ts +1 -3
- package/chains/definitions/foundry.ts +1 -6
- package/chains/definitions/fuse.ts +7 -3
- package/chains/definitions/fuseSparknet.ts +1 -3
- package/chains/definitions/gnosis.ts +1 -7
- package/chains/definitions/gnosisChiado.ts +1 -3
- package/chains/definitions/gobi.ts +1 -3
- package/chains/definitions/goerli.ts +1 -17
- package/chains/definitions/haqqMainnet.ts +1 -5
- package/chains/definitions/haqqTestedge2.ts +1 -5
- package/chains/definitions/hardhat.ts +1 -3
- package/chains/definitions/harmonyOne.ts +1 -3
- package/chains/definitions/holesky.ts +7 -6
- package/chains/definitions/iotex.ts +1 -6
- package/chains/definitions/iotexTestnet.ts +1 -6
- package/chains/definitions/klaytn.ts +1 -4
- package/chains/definitions/kroma.ts +1 -5
- package/chains/definitions/kromaSepolia.ts +1 -5
- package/chains/definitions/linea.ts +1 -18
- package/chains/definitions/lineaTestnet.ts +1 -18
- package/chains/definitions/localhost.ts +1 -3
- package/chains/definitions/mainnet.ts +3 -19
- package/chains/definitions/manta.ts +32 -0
- package/chains/definitions/mantaTestnet.ts +33 -0
- package/chains/definitions/mantle.ts +1 -7
- package/chains/definitions/mantleTestnet.ts +1 -7
- package/chains/definitions/meter.ts +1 -3
- package/chains/definitions/meterTestnet.ts +1 -3
- package/chains/definitions/metis.ts +1 -3
- package/chains/definitions/metisGoerli.ts +1 -3
- package/chains/definitions/mev.ts +1 -5
- package/chains/definitions/mevTestnet.ts +1 -5
- package/chains/definitions/modeTestnet.ts +7 -5
- package/chains/definitions/moonbaseAlpha.ts +1 -10
- package/chains/definitions/moonbeam.ts +1 -10
- package/chains/definitions/moonbeamDev.ts +17 -0
- package/chains/definitions/moonriver.ts +1 -10
- package/chains/definitions/neonDevnet.ts +1 -5
- package/chains/definitions/nexi.ts +1 -9
- package/chains/definitions/nexilix.ts +1 -4
- package/chains/definitions/oasys.ts +1 -5
- package/chains/definitions/okc.ts +1 -3
- package/chains/definitions/opBNB.ts +1 -4
- package/chains/definitions/opBNBTestnet.ts +1 -3
- package/chains/definitions/optimism.ts +20 -40
- package/chains/definitions/optimismGoerli.ts +21 -41
- package/chains/definitions/optimismSepolia.ts +27 -0
- package/chains/definitions/plinga.ts +1 -5
- package/chains/definitions/polygon.ts +1 -17
- package/chains/definitions/polygonMumbai.ts +1 -17
- package/chains/definitions/polygonZkEvm.ts +1 -5
- package/chains/definitions/polygonZkEvmTestnet.ts +1 -9
- package/chains/definitions/pulsechain.ts +1 -6
- package/chains/definitions/pulsechainV4.ts +1 -6
- package/chains/definitions/qMainnet.ts +1 -3
- package/chains/definitions/qTestnet.ts +1 -3
- package/chains/definitions/rollux.ts +1 -3
- package/chains/definitions/rolluxTestnet.ts +1 -3
- package/chains/definitions/ronin.ts +1 -5
- package/chains/definitions/saigon.ts +1 -5
- package/chains/definitions/scroll.ts +26 -0
- package/chains/definitions/scrollSepolia.ts +1 -6
- package/chains/definitions/scrollTestnet.ts +1 -6
- package/chains/definitions/sepolia.ts +2 -18
- package/chains/definitions/shardeumSphinx.ts +1 -5
- package/chains/definitions/skale/brawl.ts +1 -10
- package/chains/definitions/skale/calypso.ts +1 -12
- package/chains/definitions/skale/calypsoTestnet.ts +1 -14
- package/chains/definitions/skale/chaosTestnet.ts +1 -14
- package/chains/definitions/skale/cryptoBlades.ts +1 -12
- package/chains/definitions/skale/cryptoColosseum.ts +1 -10
- package/chains/definitions/skale/europa.ts +1 -10
- package/chains/definitions/skale/europaTestnet.ts +1 -12
- package/chains/definitions/skale/exorde.ts +1 -10
- package/chains/definitions/skale/humanProtocol.ts +1 -10
- package/chains/definitions/skale/nebula.ts +1 -10
- package/chains/definitions/skale/nebulaTestnet.ts +1 -12
- package/chains/definitions/skale/razor.ts +1 -10
- package/chains/definitions/skale/titan.ts +1 -10
- package/chains/definitions/skale/titanTestnet.ts +1 -14
- package/chains/definitions/songbird.ts +1 -3
- package/chains/definitions/songbirdTestnet.ts +1 -3
- package/chains/definitions/syscoin.ts +1 -6
- package/chains/definitions/syscoinTestnet.ts +1 -6
- package/chains/definitions/taikoJolnir.ts +1 -5
- package/chains/definitions/taikoTestnetSepolia.ts +1 -5
- package/chains/definitions/taraxa.ts +1 -5
- package/chains/definitions/taraxaTestnet.ts +1 -5
- package/chains/definitions/telos.ts +1 -3
- package/chains/definitions/telosTestnet.ts +1 -3
- package/chains/definitions/thunderTestnet.ts +1 -5
- package/chains/definitions/vechain.ts +1 -5
- package/chains/definitions/wanchain.ts +1 -12
- package/chains/definitions/wanchainTestnet.ts +1 -9
- package/chains/definitions/xdc.ts +1 -3
- package/chains/definitions/xdcTestnet.ts +1 -3
- package/chains/definitions/zetachainAthensTestnet.ts +1 -5
- package/chains/definitions/zhejiang.ts +1 -13
- package/chains/definitions/zkSync.ts +5 -5
- package/chains/definitions/zkSyncTestnet.ts +5 -5
- package/chains/definitions/zora.ts +23 -32
- package/chains/definitions/zoraSepolia.ts +37 -0
- package/chains/definitions/zoraTestnet.ts +26 -35
- package/chains/index.ts +11 -1
- package/chains/utils.ts +54 -0
- package/chains/zksync/formatters.ts +142 -0
- package/chains/zksync/serializers.ts +124 -0
- package/chains/zksync/types.ts +317 -0
- package/clients/createClient.ts +43 -2
- package/clients/createPublicClient.ts +9 -1
- package/clients/createTestClient.ts +9 -1
- package/clients/createWalletClient.ts +9 -1
- package/clients/decorators/public.ts +100 -7
- package/clients/decorators/wallet.ts +2 -2
- package/clients/transports/createTransport.ts +3 -0
- package/clients/transports/custom.ts +4 -0
- package/clients/transports/fallback.ts +4 -0
- package/clients/transports/http.ts +14 -1
- package/clients/transports/webSocket.ts +11 -3
- package/ens/index.ts +8 -3
- package/errors/abi.ts +87 -0
- package/errors/account.ts +3 -0
- package/errors/address.ts +3 -0
- package/errors/base.ts +1 -0
- package/errors/block.ts +3 -0
- package/errors/ccip.ts +11 -0
- package/errors/chain.ts +17 -0
- package/errors/contract.ts +18 -0
- package/errors/cursor.ts +23 -0
- package/errors/data.ts +6 -0
- package/errors/encoding.ts +30 -3
- package/errors/ens.ts +14 -0
- package/errors/estimateGas.ts +3 -0
- package/errors/fee.ts +9 -0
- package/errors/log.ts +3 -0
- package/errors/node.ts +38 -1
- package/errors/request.ts +12 -0
- package/errors/rpc.ts +81 -0
- package/errors/transaction.ts +35 -0
- package/errors/transport.ts +3 -0
- package/errors/utils.ts +2 -0
- package/errors/version.ts +1 -1
- package/index.ts +578 -79
- package/package.json +37 -45
- package/types/block.ts +5 -0
- package/types/chain.ts +25 -35
- package/types/contract.ts +7 -7
- package/types/eip1193.ts +24 -0
- package/types/misc.ts +4 -3
- package/types/proof.ts +20 -0
- package/types/rpc.ts +2 -0
- package/types/transaction.ts +2 -2
- package/types/utils.ts +1 -1
- package/types/withdrawal.ts +8 -0
- package/utils/abi/decodeAbiParameters.ts +70 -5
- package/utils/abi/decodeDeployData.ts +13 -1
- package/utils/abi/decodeErrorResult.ts +21 -5
- package/utils/abi/decodeEventLog.ts +37 -16
- package/utils/abi/decodeFunctionData.ts +19 -5
- package/utils/abi/decodeFunctionResult.ts +15 -2
- package/utils/abi/encodeAbiParameters.ts +87 -7
- package/utils/abi/encodeDeployData.ts +13 -3
- package/utils/abi/encodeErrorResult.ts +20 -5
- package/utils/abi/encodeEventTopics.ts +36 -9
- package/utils/abi/encodeFunctionData.ts +25 -6
- package/utils/abi/encodeFunctionResult.ts +13 -2
- package/utils/abi/encodePacked.ts +35 -5
- package/utils/abi/formatAbiItem.ts +14 -1
- package/utils/abi/formatAbiItemWithArgs.ts +3 -0
- package/utils/abi/getAbiItem.ts +16 -4
- package/utils/address/getAddress.ts +16 -3
- package/utils/address/getContractAddress.ts +49 -22
- package/utils/address/isAddress.ts +3 -0
- package/utils/address/isAddressEqual.ts +8 -2
- package/utils/buildRequest.ts +62 -2
- package/utils/ccip.ts +6 -1
- package/utils/chain/assertCurrentChain.ts +27 -0
- package/utils/chain/defineChain.ts +14 -0
- package/utils/chain/extractChain.ts +33 -0
- package/utils/chain/getChainContractAddress.ts +41 -0
- package/utils/contract/extractFunctionParts.ts +10 -0
- package/utils/cursor.ts +182 -0
- package/utils/data/concat.ts +15 -5
- package/utils/data/isBytes.ts +3 -0
- package/utils/data/isBytesEqual.ts +8 -2
- package/utils/data/isHex.ts +3 -0
- package/utils/data/pad.ts +11 -1
- package/utils/data/size.ts +4 -1
- package/utils/data/slice.ts +33 -3
- package/utils/data/trim.ts +3 -0
- package/utils/encoding/fromBytes.ts +44 -8
- package/utils/encoding/fromHex.ts +35 -3
- package/utils/encoding/fromRlp.ts +96 -97
- package/utils/encoding/toBytes.ts +67 -14
- package/utils/encoding/toHex.ts +28 -6
- package/utils/encoding/toRlp.ts +114 -30
- package/utils/ens/avatar/parseAvatarRecord.ts +21 -0
- package/utils/ens/avatar/utils.ts +41 -1
- package/utils/ens/encodeLabelhash.ts +3 -0
- package/utils/ens/encodedLabelToLabelhash.ts +4 -1
- package/utils/ens/errors.ts +3 -0
- package/utils/ens/labelhash.ts +18 -4
- package/utils/ens/namehash.ts +23 -5
- package/utils/ens/normalize.ts +3 -0
- package/utils/ens/packetToBytes.ts +16 -3
- package/utils/errors/getCallError.ts +29 -8
- package/utils/errors/getContractError.ts +35 -19
- package/utils/errors/getEstimateGasError.ts +27 -8
- package/utils/errors/getNodeError.ts +49 -17
- package/utils/errors/getTransactionError.ts +27 -8
- package/utils/formatters/block.ts +6 -1
- package/utils/formatters/extract.ts +23 -9
- package/utils/formatters/feeHistory.ts +3 -0
- package/utils/formatters/formatter.ts +4 -1
- package/utils/formatters/log.ts +3 -0
- package/utils/formatters/proof.ts +24 -0
- package/utils/formatters/transaction.ts +6 -1
- package/utils/formatters/transactionReceipt.ts +8 -1
- package/utils/formatters/transactionRequest.ts +8 -1
- package/utils/getAction.ts +13 -0
- package/utils/hash/getEventSelector.ts +13 -6
- package/utils/hash/getEventSignature.ts +15 -0
- package/utils/hash/getFunctionSelector.ts +19 -6
- package/utils/hash/getFunctionSignature.ts +29 -0
- package/utils/hash/hashFunction.ts +23 -9
- package/utils/hash/isHash.ts +5 -2
- package/utils/hash/keccak256.ts +10 -3
- package/utils/index.ts +252 -47
- package/utils/observe.ts +3 -0
- package/utils/poll.ts +3 -0
- package/utils/promise/createBatchScheduler.ts +13 -0
- package/utils/promise/withCache.ts +4 -0
- package/utils/promise/withRetry.ts +3 -0
- package/utils/promise/withTimeout.ts +6 -2
- package/utils/rpc.ts +31 -10
- package/utils/signature/compactSignatureToHex.ts +29 -0
- package/utils/signature/compactSignatureToSignature.ts +37 -0
- package/utils/signature/hashMessage.ts +16 -3
- package/utils/signature/hashTypedData.ts +46 -4
- package/utils/signature/hexToCompactSignature.ts +28 -0
- package/utils/signature/hexToSignature.ts +7 -1
- package/utils/signature/recoverAddress.ts +4 -0
- package/utils/signature/recoverMessageAddress.ts +12 -2
- package/utils/signature/recoverPublicKey.ts +9 -2
- package/utils/signature/recoverTypedDataAddress.ts +12 -2
- package/utils/signature/signatureToCompactSignature.ts +44 -0
- package/utils/signature/signatureToHex.ts +11 -2
- package/utils/signature/verifyMessage.ts +16 -3
- package/utils/signature/verifyTypedData.ts +12 -2
- package/utils/stringify.ts +4 -0
- package/utils/transaction/assertRequest.ts +27 -4
- package/utils/transaction/assertTransaction.ts +42 -5
- package/utils/transaction/getSerializedTransactionType.ts +13 -3
- package/utils/transaction/getTransactionType.ts +9 -1
- package/utils/transaction/parseTransaction.ts +71 -6
- package/utils/transaction/serializeAccessList.ts +16 -3
- package/utils/transaction/serializeTransaction.ts +48 -5
- package/utils/typedData.ts +22 -4
- package/utils/unit/formatEther.ts +3 -1
- package/utils/unit/formatGwei.ts +3 -1
- package/utils/unit/formatUnits.ts +4 -0
- package/utils/unit/parseEther.ts +4 -1
- package/utils/unit/parseGwei.ts +4 -1
- package/utils/unit/parseUnits.ts +4 -0
- package/_cjs/abi/index.js +0 -17
- package/_cjs/abi/index.js.map +0 -1
- package/_cjs/contract/index.js +0 -52
- package/_cjs/contract/index.js.map +0 -1
- package/_cjs/public/index.js +0 -61
- package/_cjs/public/index.js.map +0 -1
- package/_cjs/test/index.js +0 -60
- package/_cjs/test/index.js.map +0 -1
- package/_cjs/utils/chain.js.map +0 -1
- package/_cjs/wallet/index.js +0 -24
- package/_cjs/wallet/index.js.map +0 -1
- package/_esm/abi/index.js +0 -7
- package/_esm/abi/index.js.map +0 -1
- package/_esm/contract/index.js +0 -26
- package/_esm/contract/index.js.map +0 -1
- package/_esm/public/index.js +0 -30
- package/_esm/public/index.js.map +0 -1
- package/_esm/test/index.js +0 -30
- package/_esm/test/index.js.map +0 -1
- package/_esm/utils/chain.js +0 -37
- package/_esm/utils/chain.js.map +0 -1
- package/_esm/wallet/index.js +0 -12
- package/_esm/wallet/index.js.map +0 -1
- package/_types/abi/index.d.ts +0 -6
- package/_types/abi/index.d.ts.map +0 -1
- package/_types/contract/index.d.ts +0 -30
- package/_types/contract/index.d.ts.map +0 -1
- package/_types/public/index.d.ts +0 -33
- package/_types/public/index.d.ts.map +0 -1
- package/_types/test/index.d.ts +0 -29
- package/_types/test/index.d.ts.map +0 -1
- package/_types/utils/chain.d.ts +0 -14
- package/_types/utils/chain.d.ts.map +0 -1
- package/_types/wallet/index.d.ts +0 -11
- package/_types/wallet/index.d.ts.map +0 -1
- package/abi/index.ts +0 -25
- package/abi/package.json +0 -6
- package/actions/wallet/__snapshots__/deployContract.test.ts.snap +0 -21
- package/contract/index.ts +0 -112
- package/contract/package.json +0 -6
- package/public/index.ts +0 -141
- package/public/package.json +0 -6
- package/test/index.ts +0 -85
- package/test/package.json +0 -6
- package/utils/chain.ts +0 -79
- package/wallet/index.ts +0 -46
- package/wallet/package.json +0 -6
package/_cjs/chains/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../chains/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../chains/index.ts"],"names":[],"mappings":";;;;;;AAKA,yDAAoD;AAA3C,uGAAA,QAAQ,OAAA;AACjB,qEAAgE;AAAvD,mHAAA,cAAc,OAAA;AACvB,iEAA4D;AAAnD,+GAAA,YAAY,OAAA;AACrB,uEAAkE;AAAzD,qHAAA,eAAe,OAAA;AACxB,iEAA4D;AAAnD,+GAAA,YAAY,OAAA;AACrB,qDAAgD;AAAvC,mGAAA,MAAM,OAAA;AACf,mEAA8D;AAArD,iHAAA,aAAa,OAAA;AACtB,2DAAsD;AAA7C,yGAAA,SAAS,OAAA;AAClB,mEAA8D;AAArD,iHAAA,aAAa,OAAA;AACtB,iDAA4C;AAAnC,+FAAA,IAAI,OAAA;AACb,6DAAwD;AAA/C,2GAAA,UAAU,OAAA;AACnB,+DAA0D;AAAjD,6GAAA,WAAW,OAAA;AACpB,uFAAkF;AAAzE,qIAAA,uBAAuB,OAAA;AAChC,uFAAkF;AAAzE,qIAAA,uBAAuB,OAAA;AAChC,iDAA4C;AAAnC,+FAAA,IAAI,OAAA;AACb,qDAAgD;AAAvC,mGAAA,MAAM,OAAA;AACf,mEAA8D;AAArD,iHAAA,aAAa,OAAA;AACtB,+CAA0C;AAAjC,6FAAA,GAAG,OAAA;AACZ,6DAAwD;AAA/C,2GAAA,UAAU,OAAA;AACnB,+CAA0C;AAAjC,6FAAA,GAAG,OAAA;AACZ,6DAAwD;AAA/C,2GAAA,UAAU,OAAA;AACnB,mDAA8C;AAArC,iGAAA,KA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,6FAAA,GAAG,OAAA;AACZ,6DAAwD;AAA/C,2GAAA,UAAU,OAAA;AACnB,yDAAoD;AAA3C,uGAAA,QAAQ,OAAA;AACjB,qDAAgD;AAAvC,mGAAA,MAAM,OAAA;AACf,mEAA8D;AAArD,iHAAA,aAAa,OAAA;AACtB,qFAAgF;AAAvE,mIAAA,sBAAsB,OAAA;AAC/B,iDAA4C;AAAnC,+FAAA,IAAI,OAAA;AACb,+DAA0D;AAAjD,6GAAA,WAAW,OAAA;AACpB,+DAA0D;AAAjD,6GAAA,WAAW,OAAA"}
|
package/_cjs/chains/utils.js
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.formattersOptimism = exports.parseTransactionCelo = exports.serializersCelo = exports.serializeTransactionCelo = exports.formattersCelo = void 0;
|
3
|
+
exports.formattersZkSync = exports.formattersOptimism = exports.parseTransactionCelo = exports.serializersCelo = exports.serializeTransactionCelo = exports.formattersCelo = exports.getChainContractAddress = exports.extractChain = exports.defineChain = exports.assertCurrentChain = void 0;
|
4
|
+
var assertCurrentChain_js_1 = require("../utils/chain/assertCurrentChain.js");
|
5
|
+
Object.defineProperty(exports, "assertCurrentChain", { enumerable: true, get: function () { return assertCurrentChain_js_1.assertCurrentChain; } });
|
6
|
+
var defineChain_js_1 = require("../utils/chain/defineChain.js");
|
7
|
+
Object.defineProperty(exports, "defineChain", { enumerable: true, get: function () { return defineChain_js_1.defineChain; } });
|
8
|
+
var extractChain_js_1 = require("../utils/chain/extractChain.js");
|
9
|
+
Object.defineProperty(exports, "extractChain", { enumerable: true, get: function () { return extractChain_js_1.extractChain; } });
|
10
|
+
var getChainContractAddress_js_1 = require("../utils/chain/getChainContractAddress.js");
|
11
|
+
Object.defineProperty(exports, "getChainContractAddress", { enumerable: true, get: function () { return getChainContractAddress_js_1.getChainContractAddress; } });
|
4
12
|
var formatters_js_1 = require("./celo/formatters.js");
|
5
13
|
Object.defineProperty(exports, "formattersCelo", { enumerable: true, get: function () { return formatters_js_1.formattersCelo; } });
|
6
14
|
var serializers_js_1 = require("./celo/serializers.js");
|
@@ -10,4 +18,6 @@ var parsers_js_1 = require("./celo/parsers.js");
|
|
10
18
|
Object.defineProperty(exports, "parseTransactionCelo", { enumerable: true, get: function () { return parsers_js_1.parseTransactionCelo; } });
|
11
19
|
var formatters_js_2 = require("./optimism/formatters.js");
|
12
20
|
Object.defineProperty(exports, "formattersOptimism", { enumerable: true, get: function () { return formatters_js_2.formattersOptimism; } });
|
21
|
+
var formatters_js_3 = require("./zksync/formatters.js");
|
22
|
+
Object.defineProperty(exports, "formattersZkSync", { enumerable: true, get: function () { return formatters_js_3.formattersZkSync; } });
|
13
23
|
//# sourceMappingURL=utils.js.map
|
package/_cjs/chains/utils.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../chains/utils.ts"],"names":[],"mappings":";;;AAAA,sDAAqD;AAA5C,+GAAA,cAAc,OAAA;AACvB,wDAG8B;AAF5B,0HAAA,wBAAwB,OAAA;AACxB,iHAAA,eAAe,OAAA;AAEjB,gDAAwD;AAA/C,kHAAA,oBAAoB,OAAA;
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../chains/utils.ts"],"names":[],"mappings":";;;AAAA,8EAI6C;AAD3C,2HAAA,kBAAkB,OAAA;AAEpB,gEAA2D;AAAlD,6GAAA,WAAW,OAAA;AACpB,kEAKuC;AADrC,+GAAA,YAAY,OAAA;AAEd,wFAGkD;AADhD,qIAAA,uBAAuB,OAAA;AAGzB,sDAAqD;AAA5C,+GAAA,cAAc,OAAA;AACvB,wDAG8B;AAF5B,0HAAA,wBAAwB,OAAA;AACxB,iHAAA,eAAe,OAAA;AAEjB,gDAAwD;AAA/C,kHAAA,oBAAoB,OAAA;AA+B7B,0DAA6D;AAApD,mHAAA,kBAAkB,OAAA;AAgB3B,wDAAyD;AAAhD,iHAAA,gBAAgB,OAAA"}
|
@@ -0,0 +1,124 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.formattersZkSync = void 0;
|
4
|
+
const fromHex_js_1 = require("../../utils/encoding/fromHex.js");
|
5
|
+
const toBytes_js_1 = require("../../utils/encoding/toBytes.js");
|
6
|
+
const toHex_js_1 = require("../../utils/encoding/toHex.js");
|
7
|
+
const block_js_1 = require("../../utils/formatters/block.js");
|
8
|
+
const log_js_1 = require("../../utils/formatters/log.js");
|
9
|
+
const transaction_js_1 = require("../../utils/formatters/transaction.js");
|
10
|
+
const transactionReceipt_js_1 = require("../../utils/formatters/transactionReceipt.js");
|
11
|
+
const transactionRequest_js_1 = require("../../utils/formatters/transactionRequest.js");
|
12
|
+
exports.formattersZkSync = {
|
13
|
+
block: (0, block_js_1.defineBlock)({
|
14
|
+
format(args) {
|
15
|
+
const transactions = args.transactions?.map((transaction) => {
|
16
|
+
if (typeof transaction === 'string')
|
17
|
+
return transaction;
|
18
|
+
const formatted = exports.formattersZkSync.transaction.format(transaction);
|
19
|
+
if (formatted.typeHex === '0x71')
|
20
|
+
formatted.type = 'eip712';
|
21
|
+
else if (formatted.typeHex === '0xff')
|
22
|
+
formatted.type = 'priority';
|
23
|
+
return formatted;
|
24
|
+
});
|
25
|
+
return {
|
26
|
+
l1BatchNumber: (0, fromHex_js_1.hexToBigInt)(args.l1BatchNumber),
|
27
|
+
l1BatchTimestamp: (0, fromHex_js_1.hexToBigInt)(args.l1BatchTimestamp),
|
28
|
+
transactions,
|
29
|
+
};
|
30
|
+
},
|
31
|
+
}),
|
32
|
+
transaction: (0, transaction_js_1.defineTransaction)({
|
33
|
+
format(args) {
|
34
|
+
const transaction = {};
|
35
|
+
if (args.type === '0x71')
|
36
|
+
transaction.type = 'eip712';
|
37
|
+
else if (args.type === '0xff')
|
38
|
+
transaction.type = 'priority';
|
39
|
+
return {
|
40
|
+
...transaction,
|
41
|
+
l1BatchNumber: args.l1BatchNumber
|
42
|
+
? (0, fromHex_js_1.hexToBigInt)(args.l1BatchNumber)
|
43
|
+
: null,
|
44
|
+
l1BatchTxIndex: args.l1BatchTxIndex
|
45
|
+
? (0, fromHex_js_1.hexToBigInt)(args.l1BatchTxIndex)
|
46
|
+
: null,
|
47
|
+
};
|
48
|
+
},
|
49
|
+
}),
|
50
|
+
transactionReceipt: (0, transactionReceipt_js_1.defineTransactionReceipt)({
|
51
|
+
format(args) {
|
52
|
+
return {
|
53
|
+
l1BatchNumber: args.l1BatchNumber
|
54
|
+
? (0, fromHex_js_1.hexToBigInt)(args.l1BatchNumber)
|
55
|
+
: null,
|
56
|
+
l1BatchTxIndex: args.l1BatchTxIndex
|
57
|
+
? (0, fromHex_js_1.hexToBigInt)(args.l1BatchTxIndex)
|
58
|
+
: null,
|
59
|
+
logs: args.logs.map((log) => {
|
60
|
+
return {
|
61
|
+
...(0, log_js_1.formatLog)(log),
|
62
|
+
l1BatchNumber: log.l1BatchNumber
|
63
|
+
? (0, fromHex_js_1.hexToBigInt)(log.l1BatchNumber)
|
64
|
+
: null,
|
65
|
+
transactionLogIndex: (0, fromHex_js_1.hexToNumber)(log.transactionLogIndex),
|
66
|
+
logType: log.logType,
|
67
|
+
};
|
68
|
+
}),
|
69
|
+
l2ToL1Logs: args.l2ToL1Logs.map((l2ToL1Log) => {
|
70
|
+
return {
|
71
|
+
blockNumber: (0, fromHex_js_1.hexToBigInt)(l2ToL1Log.blockHash),
|
72
|
+
blockHash: l2ToL1Log.blockHash,
|
73
|
+
l1BatchNumber: (0, fromHex_js_1.hexToBigInt)(l2ToL1Log.l1BatchNumber),
|
74
|
+
transactionIndex: (0, fromHex_js_1.hexToBigInt)(l2ToL1Log.transactionIndex),
|
75
|
+
shardId: (0, fromHex_js_1.hexToBigInt)(l2ToL1Log.shardId),
|
76
|
+
isService: l2ToL1Log.isService,
|
77
|
+
sender: l2ToL1Log.sender,
|
78
|
+
key: l2ToL1Log.key,
|
79
|
+
value: l2ToL1Log.value,
|
80
|
+
transactionHash: l2ToL1Log.transactionHash,
|
81
|
+
logIndex: (0, fromHex_js_1.hexToBigInt)(l2ToL1Log.logIndex),
|
82
|
+
};
|
83
|
+
}),
|
84
|
+
};
|
85
|
+
},
|
86
|
+
}),
|
87
|
+
transactionRequest: (0, transactionRequest_js_1.defineTransactionRequest)({
|
88
|
+
exclude: [
|
89
|
+
'customSignature',
|
90
|
+
'factoryDeps',
|
91
|
+
'gasPerPubdata',
|
92
|
+
'paymaster',
|
93
|
+
'paymasterInput',
|
94
|
+
],
|
95
|
+
format(args) {
|
96
|
+
if (args.gasPerPubdata ||
|
97
|
+
(args.paymaster && args.paymasterInput) ||
|
98
|
+
args.factoryDeps ||
|
99
|
+
args.customSignature)
|
100
|
+
return {
|
101
|
+
eip712Meta: {
|
102
|
+
...(args.gasPerPubdata
|
103
|
+
? { gasPerPubdata: (0, toHex_js_1.toHex)(args.gasPerPubdata) }
|
104
|
+
: {}),
|
105
|
+
...(args.paymaster && args.paymasterInput
|
106
|
+
? {
|
107
|
+
paymasterParams: {
|
108
|
+
paymaster: args.paymaster,
|
109
|
+
paymasterInput: Array.from((0, toBytes_js_1.hexToBytes)(args.paymasterInput)),
|
110
|
+
},
|
111
|
+
}
|
112
|
+
: {}),
|
113
|
+
...(args.factoryDeps ? { factoryDeps: args.factoryDeps } : {}),
|
114
|
+
...(args.customSignature
|
115
|
+
? { customSignature: args.customSignature }
|
116
|
+
: {}),
|
117
|
+
},
|
118
|
+
type: args.type === 'eip712' ? '0x71' : '0xff',
|
119
|
+
};
|
120
|
+
return {};
|
121
|
+
},
|
122
|
+
}),
|
123
|
+
};
|
124
|
+
//# sourceMappingURL=formatters.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"formatters.js","sourceRoot":"","sources":["../../../chains/zksync/formatters.ts"],"names":[],"mappings":";;;AAEA,gEAA0E;AAC1E,gEAA4D;AAC5D,4DAAqD;AACrD,8DAA6D;AAC7D,0D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GAAG,CAAC,IAAI,CAAC,eAAe;4BACtB,CAAC,CAAC,EAAE,eAAe,EAAE,IAAI,CAAC,eAAe,EAAE;4BAC3C,CAAC,CAAC,EAAE,CAAC;qBACR;oBACD,IAAI,EAAE,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM;iBAChB,CAAA;YAClC,OAAO,EAAiC,CAAA;QAC1C,CAAC;KACF,CAAC;CACgC,CAAA"}
|
@@ -0,0 +1,74 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.assertTransactionEIP712 = exports.serializersZkSync = exports.serializeTransactionZkSync = void 0;
|
4
|
+
const address_js_1 = require("../../errors/address.js");
|
5
|
+
const base_js_1 = require("../../errors/base.js");
|
6
|
+
const chain_js_1 = require("../../errors/chain.js");
|
7
|
+
const isAddress_js_1 = require("../../utils/address/isAddress.js");
|
8
|
+
const concat_js_1 = require("../../utils/data/concat.js");
|
9
|
+
const toHex_js_1 = require("../../utils/encoding/toHex.js");
|
10
|
+
const toRlp_js_1 = require("../../utils/encoding/toRlp.js");
|
11
|
+
const serializeTransaction_js_1 = require("../../utils/transaction/serializeTransaction.js");
|
12
|
+
const serializeTransactionZkSync = (tx, signature) => {
|
13
|
+
if (isEIP712(tx))
|
14
|
+
return serializeTransactionZkSyncEIP712(tx);
|
15
|
+
return (0, serializeTransaction_js_1.serializeTransaction)(tx, signature);
|
16
|
+
};
|
17
|
+
exports.serializeTransactionZkSync = serializeTransactionZkSync;
|
18
|
+
exports.serializersZkSync = {
|
19
|
+
transaction: exports.serializeTransactionZkSync,
|
20
|
+
};
|
21
|
+
function serializeTransactionZkSyncEIP712(transaction) {
|
22
|
+
const { chainId, gas, nonce, to, from, value, maxFeePerGas, maxPriorityFeePerGas, customSignature, factoryDeps, paymaster, paymasterInput, gasPerPubdata, data, } = transaction;
|
23
|
+
assertTransactionEIP712(transaction);
|
24
|
+
const serializedTransaction = [
|
25
|
+
nonce ? (0, toHex_js_1.toHex)(nonce) : '0x',
|
26
|
+
maxPriorityFeePerGas ? (0, toHex_js_1.toHex)(maxPriorityFeePerGas) : '0x',
|
27
|
+
maxFeePerGas ? (0, toHex_js_1.toHex)(maxFeePerGas) : '0x',
|
28
|
+
gas ? (0, toHex_js_1.toHex)(gas) : '0x',
|
29
|
+
to ?? '0x',
|
30
|
+
value ? (0, toHex_js_1.toHex)(value) : '0x',
|
31
|
+
data ?? '0x',
|
32
|
+
(0, toHex_js_1.toHex)(chainId),
|
33
|
+
(0, toHex_js_1.toHex)(''),
|
34
|
+
(0, toHex_js_1.toHex)(''),
|
35
|
+
(0, toHex_js_1.toHex)(chainId),
|
36
|
+
from ?? '0x',
|
37
|
+
gasPerPubdata ? (0, toHex_js_1.toHex)(gasPerPubdata) : '0x',
|
38
|
+
factoryDeps ?? [],
|
39
|
+
customSignature ?? '0x',
|
40
|
+
paymaster && paymasterInput ? [paymaster, paymasterInput] : [],
|
41
|
+
];
|
42
|
+
return (0, concat_js_1.concatHex)([
|
43
|
+
'0x71',
|
44
|
+
(0, toRlp_js_1.toRlp)(serializedTransaction),
|
45
|
+
]);
|
46
|
+
}
|
47
|
+
function isEIP712(transaction) {
|
48
|
+
if ('customSignature' in transaction ||
|
49
|
+
'paymaster' in transaction ||
|
50
|
+
'paymasterInput' in transaction ||
|
51
|
+
'gasPerPubdata' in transaction ||
|
52
|
+
'factoryDeps' in transaction)
|
53
|
+
return true;
|
54
|
+
return false;
|
55
|
+
}
|
56
|
+
function assertTransactionEIP712(transaction) {
|
57
|
+
const { chainId, to, from, paymaster, paymasterInput } = transaction;
|
58
|
+
if (chainId <= 0)
|
59
|
+
throw new chain_js_1.InvalidChainIdError({ chainId });
|
60
|
+
if (to && !(0, isAddress_js_1.isAddress)(to))
|
61
|
+
throw new address_js_1.InvalidAddressError({ address: to });
|
62
|
+
if (from && !(0, isAddress_js_1.isAddress)(from))
|
63
|
+
throw new address_js_1.InvalidAddressError({ address: from });
|
64
|
+
if (paymaster && !(0, isAddress_js_1.isAddress)(paymaster))
|
65
|
+
throw new address_js_1.InvalidAddressError({ address: paymaster });
|
66
|
+
if (paymaster && !paymasterInput) {
|
67
|
+
throw new base_js_1.BaseError('`paymasterInput` must be provided when `paymaster` is defined');
|
68
|
+
}
|
69
|
+
if (!paymaster && paymasterInput) {
|
70
|
+
throw new base_js_1.BaseError('`paymaster` must be provided when `paymasterInput` is defined');
|
71
|
+
}
|
72
|
+
}
|
73
|
+
exports.assertTransactionEIP712 = assertTransactionEIP712;
|
74
|
+
//# sourceMappingURL=serializers.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"serializers.js","sourceRoot":"","sources":["../../../chains/zksync/serializers.ts"],"names":[],"mappings":";;;AAAA,wDAA6D;AAC7D,kDAAgD;AAChD,oDAA2D;AAG3D,mEAA4D;AAC5D,0DAAsD;AACtD,4DAAqD;AACrD,4DAAqD;AACrD,6FAGwD;AAOjD,MAAM,0BAA0B,GAEnC,CAAC,EAAE,EAAE,SAAS,EAAE,EAAE;IACpB,IAAI,QAAQ,CAAC,EAAE,CAAC;QACd,OAAO,gCAAgC,CACrC,EAAyC,CAC1C,CAAA;IACH,OAAO,IAAA,8CAAoB,EAAC,EAA6B,EAAE,SAAS,CAAC,CAAA;AACvE,CAAC,CAAA;AARY,QAAA,0BAA0B,8BAQtC;AAEY,QAAA,iBAAiB,GAAG;IAC/B,WAAW,EAAE,kCAA0B;CACJ,CAAA;AAQrC,SAAS,gCAAgC,CACvC,WAAgD;IAEhD,MAAM,EACJ,OAAO,EACP,GAAG,EACH,KAAK,EACL,EAAE,EACF,IAAI,EACJ,KAAK,EACL,YAAY,EACZ,oBAAoB,EACpB,eAAe,EACf,WAAW,EACX,SAAS,EACT,cAAc,EACd,aAAa,EACb,IAAI,GACL,GAAG,WAAW,CAAA;IAEf,uBAAuB,CAAC,WAAW,CAAC,CAAA;IAEpC,MAAM,qBAAqB,GAA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AAC;AAED,SAAgB,uBAAuB,CACrC,WAAgD;IAEhD,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,cAAc,EAAE,GAAG,WAAW,CAAA;IACpE,IAAI,OAAO,IAAI,CAAC;QAAE,MAAM,IAAI,8BAAmB,CAAC,EAAE,OAAO,EAAE,CAAC,CAAA;IAE5D,IAAI,EAAE,IAAI,CAAC,IAAA,wBAAS,EAAC,EAAE,CAAC;QAAE,MAAM,IAAI,gCAAmB,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAAA;IACxE,IAAI,IAAI,IAAI,CAAC,IAAA,wBAAS,EAAC,IAAI,CAAC;QAAE,MAAM,IAAI,gCAAmB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAA;IAC9E,IAAI,SAAS,IAAI,CAAC,IAAA,wBAAS,EAAC,SAAS,CAAC;QACpC,MAAM,IAAI,gCAAmB,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAA;IAEvD,IAAI,SAAS,IAAI,CAAC,cAAc,EAAE;QAChC,MAAM,IAAI,mBAAS,CACjB,+DAA+D,CAChE,CAAA;KACF;IAED,IAAI,CAAC,SAAS,IAAI,cAAc,EAAE;QAChC,MAAM,IAAI,mBAAS,CACjB,+DAA+D,CAChE,CAAA;KACF;AACH,CAAC;AAtBD,0DAsBC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../chains/zksync/types.ts"],"names":[],"mappings":""}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createClient.js","sourceRoot":"","sources":["../../clients/createClient.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"createClient.js","sourceRoot":"","sources":["../../clients/createClient.ts"],"names":[],"mappings":";;;AAaA,sDAAmD;AACnD,4CAAqC;AAwKrC,SAAgB,YAAY,CAAC,UAAwB;IACnD,MAAM,EACJ,KAAK,EACL,SAA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,EAAE,CAAC,CAAA;AACjE,CAAC;AA7CD,oCA6CC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createPublicClient.js","sourceRoot":"","sources":["../../clients/createPublicClient.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"createPublicClient.js","sourceRoot":"","sources":["../../clients/createPublicClient.ts"],"names":[],"mappings":";;;AAIA,uDAK0B;AAC1B,sDAA0E;AA4D1E,SAAgB,kBAAkB,CAChC,UAA8B;IAE9B,MAAM,EAAE,GAAG,GAAG,QAAQ,EAAE,IAAI,GAAG,eAAe,EAAE,GAAG,UAAU,CAAA;IAC7D,MAAM,MAAM,GAAG,IAAA,8BAAY,EAAC;QAC1B,GAAG,UAAU;QACb,GAAG;QACH,IAAI;QACJ,IAAI,EAAE,cAAc;KACrB,CAAC,CAAA;IACF,OAAO,MAAM,CAAC,MAAM,CAAC,yBAAa,CAAC,CAAA;AACrC,CAAC;AAXD,gDAWC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createTestClient.js","sourceRoot":"","sources":["../../clients/createTestClient.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"createTestClient.js","sourceRoot":"","sources":["../../clients/createTestClient.ts"],"names":[],"mappings":";;;AAQA,uDAK0B;AAC1B,kDAAoE;AA+EpE,SAAgB,gBAAgB,CAAC,UAA4B;IAC3D,MAAM,EAAE,GAAG,GAAG,MAAM,EAAE,IAAI,GAAG,aAAa,EAAE,IAAI,EAAE,GAAG,UAAU,CAAA;IAC/D,MAAM,MAAM,GAAG,IAAA,8BAAY,EAAC;QAC1B,GAAG,UAAU;QACb,GAAG;QACH,IAAI;QACJ,IAAI,EAAE,YAAY;KACnB,CAAC,CAAA;IACF,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QAChC,IAAI;QACJ,GAAG,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;KACjC,CAAC,CAAC,CAAA;AACL,CAAC;AAZD,4CAYC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createWalletClient.js","sourceRoot":"","sources":["../../clients/createWalletClient.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"createWalletClient.js","sourceRoot":"","sources":["../../clients/createWalletClient.ts"],"names":[],"mappings":";;;AAQA,uDAK0B;AAC1B,sDAA0E;AAmF1E,SAAgB,kBAAkB,CAChC,UAA8B;IAE9B,MAAM,EAAE,GAAG,GAAG,QAAQ,EAAE,IAAI,GAAG,eAAe,EAAE,SAAS,EAAE,GAAG,UAAU,CAAA;IACxE,MAAM,MAAM,GAAG,IAAA,8BAAY,EAAC;QAC1B,GAAG,UAAU;QACb,GAAG;QACH,IAAI;QACJ,SAAS,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,IAAI,EAAE,UAAU,EAAE,CAAC,EAAE,CAAC;QAC1D,IAAI,EAAE,cAAc;KACrB,CAAC,CAAA;IACF,OAAO,MAAM,CAAC,MAAM,CAAC,yBAAa,CAAC,CAAA;AACrC,CAAC;AAZD,gDAYC"}
|
@@ -21,11 +21,13 @@ const getBlockNumber_js_1 = require("../../actions/public/getBlockNumber.js");
|
|
21
21
|
const getBlockTransactionCount_js_1 = require("../../actions/public/getBlockTransactionCount.js");
|
22
22
|
const getBytecode_js_1 = require("../../actions/public/getBytecode.js");
|
23
23
|
const getChainId_js_1 = require("../../actions/public/getChainId.js");
|
24
|
+
const getContractEvents_js_1 = require("../../actions/public/getContractEvents.js");
|
24
25
|
const getFeeHistory_js_1 = require("../../actions/public/getFeeHistory.js");
|
25
26
|
const getFilterChanges_js_1 = require("../../actions/public/getFilterChanges.js");
|
26
27
|
const getFilterLogs_js_1 = require("../../actions/public/getFilterLogs.js");
|
27
28
|
const getGasPrice_js_1 = require("../../actions/public/getGasPrice.js");
|
28
29
|
const getLogs_js_1 = require("../../actions/public/getLogs.js");
|
30
|
+
const getProof_js_1 = require("../../actions/public/getProof.js");
|
29
31
|
const getStorageAt_js_1 = require("../../actions/public/getStorageAt.js");
|
30
32
|
const getTransaction_js_1 = require("../../actions/public/getTransaction.js");
|
31
33
|
const getTransactionConfirmations_js_1 = require("../../actions/public/getTransactionConfirmations.js");
|
@@ -60,6 +62,7 @@ function publicActions(client) {
|
|
60
62
|
getBlockTransactionCount: (args) => (0, getBlockTransactionCount_js_1.getBlockTransactionCount)(client, args),
|
61
63
|
getBytecode: (args) => (0, getBytecode_js_1.getBytecode)(client, args),
|
62
64
|
getChainId: () => (0, getChainId_js_1.getChainId)(client),
|
65
|
+
getContractEvents: (args) => (0, getContractEvents_js_1.getContractEvents)(client, args),
|
63
66
|
getEnsAddress: (args) => (0, getEnsAddress_js_1.getEnsAddress)(client, args),
|
64
67
|
getEnsAvatar: (args) => (0, getEnsAvatar_js_1.getEnsAvatar)(client, args),
|
65
68
|
getEnsName: (args) => (0, getEnsName_js_1.getEnsName)(client, args),
|
@@ -71,6 +74,7 @@ function publicActions(client) {
|
|
71
74
|
getFilterLogs: (args) => (0, getFilterLogs_js_1.getFilterLogs)(client, args),
|
72
75
|
getGasPrice: () => (0, getGasPrice_js_1.getGasPrice)(client),
|
73
76
|
getLogs: (args) => (0, getLogs_js_1.getLogs)(client, args),
|
77
|
+
getProof: (args) => (0, getProof_js_1.getProof)(client, args),
|
74
78
|
estimateMaxPriorityFeePerGas: (args) => (0, estimateMaxPriorityFeePerGas_js_1.estimateMaxPriorityFeePerGas)(client, args),
|
75
79
|
getStorageAt: (args) => (0, getStorageAt_js_1.getStorageAt)(client, args),
|
76
80
|
getTransaction: (args) => (0, getTransaction_js_1.getTransaction)(client, args),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"public.js","sourceRoot":"","sources":["../../../clients/decorators/public.ts"],"names":[],"mappings":";;;AAEA,yEAI2C;AAC3C,uEAI0C;AAC1C,mEAIwC;AACxC,2EAI4C;AAC5C,mEAIwC;AACxC,0DAIqC;AACrC,oFAGkD;AAClD,oGAI0D;AAC1D,oFAIkD;AAClD,8GAG+D;AAC/D,wFAIoD;AACpD,sFAImD;AACnD,wEAI4C;AAC5C,0GAI6D;AAC7D,sEAI2C;AAC3C,kEAIyC;AACzC,8EAI+C;AAC/C,kGAIyD;AACzD,wEAI4C;AAC5C,sEAG2C;AAC3C,4EAI8C;AAC9C,kFAIiD;AACjD,4EAI8C;AAC9C,wEAG4C;AAC5C,gEAIwC;AACxC,0EAI6C;AAC7C,8EAI+C;AAC/C,wGAI4D;AAC5D,wFAIoD;AACpD,4FAIsD;AACtD,oEAI0C;AAC1C,0EAI6C;AAC7C,kFAIiD;AACjD,gFAIgD;AAChD,4EAI8C;AAC9C,gFAIgD;AAChD,oGAI0D;AAC1D,kFAIiD;AACjD,wEAI4C;AAC5C,sFAImD;AACnD,sEAI2C;AAC3C,kGAIyD;AACzD,oGAI0D;AAC1D,sFAImD;
|
1
|
+
{"version":3,"file":"public.js","sourceRoot":"","sources":["../../../clients/decorators/public.ts"],"names":[],"mappings":";;;AAEA,yEAI2C;AAC3C,uEAI0C;AAC1C,mEAIwC;AACxC,2EAI4C;AAC5C,mEAIwC;AACxC,0DAIqC;AACrC,oFAGkD;AAClD,oGAI0D;AAC1D,oFAIkD;AAClD,8GAG+D;AAC/D,wFAIoD;AACpD,sFAImD;AACnD,wEAI4C;AAC5C,0GAI6D;AAC7D,sEAI2C;AAC3C,kEAIyC;AACzC,8EAI+C;AAC/C,kGAIyD;AACzD,wEAI4C;AAC5C,sEAG2C;AAC3C,oFAIkD;AAClD,4EAI8C;AAC9C,kFAIiD;AACjD,4EAI8C;AAC9C,wEAG4C;AAC5C,gEAIwC;AACxC,kEAIyC;AACzC,0EAI6C;AAC7C,8EAI+C;AAC/C,wGAI4D;AAC5D,wFAIoD;AACpD,4FAIsD;AACtD,oEAI0C;AAC1C,0EAI6C;AAC7C,kFAIiD;AACjD,gFAIgD;AAChD,4EAI8C;AAC9C,gFAIgD;AACh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EAAE,IAAI,CAAC;QACxD,eAAe,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,oCAAe,EAAC,MAAM,EAAE,IAAI,CAAC;QACxD,yBAAyB,EAAE,CAAC,IAAI,EAAE,EAAE,CAClC,IAAA,wDAAyB,EAAC,MAAM,EAAE,IAAI,CAAC;QACzC,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,4BAAW,EAAC,MAAM,EAAE,IAAI,CAAC;QAChD,gBAAgB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,sCAAgB,EAAC,MAAM,EAAE,IAAI,CAAC;QAC1D,kBAAkB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0CAAkB,EAAC,MAAM,EAAE,IAAI,CAAC;QAC9D,UAAU,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAU,EAAC,MAAM,EAAE,IAAI,CAAC;QAC9C,wBAAwB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,sDAAwB,EAAC,MAAM,EAAE,IAAI,CAAC;KAC3E,CAAA;AACH,CAAC;AA7DD,sCA6DC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createTransport.js","sourceRoot":"","sources":["../../../clients/transports/createTransport.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"createTransport.js","sourceRoot":"","sources":["../../../clients/transports/createTransport.ts"],"names":[],"mappings":";;;AAGA,iEAA0D;AA6C1D,SAAgB,eAAe,CAI7B,EACE,GAAG,EACH,IAAI,EACJ,OAAO,EACP,UAAU,GAAG,CAAC,EACd,UAAU,GAAG,GAAG,EAChB,OAAO,EACP,IAAI,GACmB,EACzB,KAAsB;IAEtB,OAAO;QACL,MAAM,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE;QACrE,OAAO,EAAE,IAAA,8BAAY,EAAC,OAAO,EAAE,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC;QAC1D,KAAK;KACN,CAAA;AACH,CAAC;AApBD,0CAoBC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"custom.js","sourceRoot":"","sources":["../../../clients/transports/custom.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"custom.js","sourceRoot":"","sources":["../../../clients/transports/custom.ts"],"names":[],"mappings":";;;AACA,6DAK6B;AA0B7B,SAAgB,MAAM,CACpB,QAAmB,EACnB,SAAgC,EAAE;IAElC,MAAM,EAAE,GAAG,GAAG,QAAQ,EAAE,IAAI,GAAG,iBAAiB,EAAE,UAAU,EAAE,GAAG,MAAM,CAAA;IACvE,OAAO,CAAC,EAAE,UAAU,EAAE,iBAAiB,EAAE,EAAE,EAAE,CAC3C,IAAA,oCAAe,EAAC;QACd,GAAG;QACH,IAAI;QACJ,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC;QACxC,UAAU,EAAE,MAAM,CAAC,UAAU,IAAI,iBAAiB;QAClD,UAAU;QACV,IAAI,EAAE,QAAQ;KACf,CAAC,CAAA;AACN,CAAC;AAdD,wBAcC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fallback.js","sourceRoot":"","sources":["../../../clients/transports/fallback.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"fallback.js","sourceRoot":"","sources":["../../../clients/transports/fallback.ts"],"names":[],"mappings":";;;AAEA,iEAAkE;AAClE,iDAA0C;AAE1C,6DAK6B;AA6E7B,SAAgB,QAAQ,CACtB,WAAwB,EACxB,SAAkC,EAAE;IAEpC,MAAM,EACJ,GAAG,GAAG,UAAU,EAChB,IAAI,GAAG,UAAU,EACjB,IAAI,GAAG,KAAK,EACZ,UAAU,EACV,UAAU,GACX,GAAG,MAAM,CAAA;IACV,OAAO,CAAC,EAAE,KAAK,EAAE,eAAe,GAAG,IAAK,EAAE,OAAO,EAAE,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;YAClB,MAAM,YAAY,GAAG,CAAC,GAAG,WAAW,GAAG,UAAU,CAAA;YAEjD,MAAM,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;YAC5D,MAAM,cAAc,GAClB,SAAS,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,CAAC,GAAG,GAAG,OAAO,EAAE,CAAC,CAAC;gBACpD,SAAS,CAAC,MAAM,CAAA;YAElB,IAAI,cAAc,KAAK,CAAC;gBAAE,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;YACvC,OAAO;gBACL,aAAa,GAAG,YAAY,GAAG,eAAe,GAAG,cAAc;gBAC/D,CAAC;aACF,CAAA;QACH,CAAC,CAAC;aACD,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;QAG9B,YAAY,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;QAGlD,MAAM,IAAA,cAAI,EAAC,QAAQ,CAAC,CAAA;QACpB,eAAe,EAAE,CAAA;IACnB,CAAC,CAAA;IACD,eAAe,EAAE,CAAA;AACnB,CAAC;AAxFD,wCAwFC"}
|
@@ -31,6 +31,7 @@ function http(url, config = {}) {
|
|
31
31
|
fetchOptions,
|
32
32
|
timeout,
|
33
33
|
}),
|
34
|
+
sort: (a, b) => a.id - b.id,
|
34
35
|
});
|
35
36
|
const fn = async (body) => batch
|
36
37
|
? schedule(body)
|
@@ -49,6 +50,7 @@ function http(url, config = {}) {
|
|
49
50
|
timeout,
|
50
51
|
type: 'http',
|
51
52
|
}, {
|
53
|
+
fetchOptions,
|
52
54
|
url,
|
53
55
|
});
|
54
56
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"http.js","sourceRoot":"","sources":["../../../clients/transports/http.ts"],"names":[],"mappings":";;;AAAA,wDAAyD;AACzD,
|
1
|
+
{"version":3,"file":"http.js","sourceRoot":"","sources":["../../../clients/transports/http.ts"],"names":[],"mappings":";;;AAAA,wDAAyD;AACzD,4DAGkC;AAElC,yFAAkF;AAClF,+CAA2E;AAE3E,6DAK6B;AAgD7B,SAAgB,IAAI,CAElB,GAAY,EACZ,SAA8B,EAAE;IAEhC,MAAM,EACJ,KAAK,EACL,YAAY,EACZ,GAAG,GAAG,MAAM,EACZ,IAAI,GAAG,eAAe,EACtB,UAAU,GACX,GAAG,MAAM,CAAA;IACV,OAAO,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;QAC/D,MAAM,EAAE,SAAS,GAAG,IAAI,EAAE,IAAI,GAAG,CAAC,EAAE,GAClC,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAA;QACxC,MAAM,UAAU,GAAG,MAAM,CAAC,UAAU,IAAI,WAAW,CAAA;QACnD,MAAM,OAAO,GAAG,QAAQ,IAAI,MAAM,CAAC,OAAO,IAAI,KAAM,CAAA;QACpD,MAAM,IAAI,GAAG,GAAG,IAAI,KAAK,EAAE,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;QAClD,IAAI,CAAC,IAAI;YAAE,MAAM,IAAI,+BAAgB,EAAE,CAAA;QACvC,OAAO,IAAA,oCAAe,EACpB;YACE,GAAG;YACH,IAAI;YACJ,KAAK,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE;gBAC9B,MAAM,IAAI,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,CAAA;gBAE/B,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAA,8CAAoB,EAAC;oBACxC,EAAE,EAAE,GAAG,GAAG,EAAE;oBACZ,IAAI;oBACJ,gBAAgB,CAAC,QAAQ;wBACvB,OAAO,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAA;oBACpC,CAAC;oBACD,EAAE,EAAE,CAAC,IAAkB,EAAE,EAAE,CACzB,YAAG,CAAC,IAAI,CAAC,IAAI,EAAE;wBACb,IAAI;wBACJ,YAAY;wBACZ,OAAO;qBACR,CAAC;oBACJ,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,EAAE;iBAC5B,CAAC,CAAA;gBAEF,MAAM,EAAE,GAAG,KAAK,EAAE,IAAgB,EAAE,EAAE,CACpC,KAAK;oBACH,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC;oBAChB,CAAC,CAAC,CAAC,MAAM,YAAG,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,CAAC,CAAC,CAAA;gBAE7D,MAAM,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,GAAG,MAAM,EAAE,CAAC,IAAI,CAAC,CAAA;gBAC1C,IAAI,KAAK;oBACP,MAAM,IAAI,4BAAe,CAAC;wBACxB,IAAI;wBACJ,KAAK;wBACL,GAAG,EAAE,IAAI;qBACV,CAAC,CAAA;gBACJ,OAAO,MAAM,CAAA;YACf,CAAC;YACD,UAAU;YACV,UAAU;YACV,OAAO;YACP,IAAI,EAAE,MAAM;SACb,EACD;YACE,YAAY;YACZ,GAAG;SACJ,CACF,CAAA;IACH,CAAC,CAAA;AACH,CAAC;AAlED,oBAkEC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"webSocket.js","sourceRoot":"","sources":["../../../clients/transports/webSocket.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"webSocket.js","sourceRoot":"","sources":["../../../clients/transports/webSocket.ts"],"names":[],"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C;AAlFD,8BAkFC"}
|
package/_cjs/ens/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ens/index.ts"],"names":[],"mappings":";;;AAAA,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ens/index.ts"],"names":[],"mappings":";;;AAAA,0DAA8E;AAA5C,yGAAA,SAAS,OAAA;AAC3C,oEAKwC;AADtC,iHAAA,aAAa,OAAA;AAEf,kEAKuC;AADrC,+GAAA,YAAY,OAAA;AAEd,8DAKqC;AADnC,2GAAA,UAAU,OAAA;AAEZ,sEAKyC;AADvC,mHAAA,cAAc,OAAA;AAEhB,8DAKqC;AADnC,2GAAA,UAAU,OAAA;AAEZ,0DAA8E;AAA5C,yGAAA,SAAS,OAAA;AAC3C,wDAA2E;AAA1C,uGAAA,QAAQ,OAAA"}
|
package/_cjs/errors/abi.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"abi.js","sourceRoot":"","sources":["../../errors/abi.ts"],"names":[],"mappings":";;;AAGA,oEAA8E;AAC9E,mDAA4C;AAE5C,uCAAqC;
|
1
|
+
{"version":3,"file":"abi.js","sourceRoot":"","sources":["../../errors/abi.ts"],"names":[],"mappings":";;;AAGA,oEAA8E;AAC9E,mDAA4C;AAE5C,uCAAqC;AAKrC,MAAa,2BAA4B,SAAQ,mBAAS;IAExD,YAAY,EAAE,QAAQ,EAAwB;QAC5C,KAAK,CACH;YACE,yCAAyC;YACzC,gFAAgF;SACjF,CAAC,IAAI,CAAC,IAAI,CAAC,EACZ;YACE,QAAQ;SACT,CACF,CAAA;QAVM;;;;mBAAO,6BAA6B;WAAA;IAW7C,CAAC;CACF;AAbD,kEAaC;AAOD,MAAa,iCAAkC,SAAQ,mBAAS;IAE9D,YAAY,EAAE,QAAQ,EAAwB;QAC5C,KAAK,CACH;YACE,kHAAkH;YAClH,qGAAqG;SACtG,CAAC,IAAI,CAAC,IAAI,CAAC,EAC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AAI,CAAC,IAAI,CAAC,EACZ,EAAE,QAAQ,EAAE,CACb,CAAA;QARM;;;;mBAAO,wBAAwB;WAAA;IASxC,CAAC;CACF;AAXD,kEAWC;AAKD,MAAa,2BAA4B,SAAQ,mBAAS;IAExD,YAAY,IAAY,EAAE,EAAE,QAAQ,EAAwB;QAC1D,KAAK,CACH;YACE,SAAS,IAAI,iCAAiC;YAC9C,kCAAkC;SACnC,CAAC,IAAI,CAAC,IAAI,CAAC,EACZ,EAAE,QAAQ,EAAE,CACb,CAAA;QARM;;;;mBAAO,wBAAwB;WAAA;IASxC,CAAC;CACF;AAXD,kEAWC;AAKD,MAAa,iBAAkB,SAAQ,mBAAS;IAE9C,YAAY,KAAc;QACxB,KAAK,CAAC,CAAC,UAAU,KAAK,yBAAyB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;QAFrD;;;;mBAAO,mBAAmB;WAAA;IAGnC,CAAC;CACF;AALD,8CAKC;AAKD,MAAa,0BAA2B,SAAQ,mBAAS;IAEvD,YAAY,IAAY;QACtB,KAAK,CACH;YACE,IAAI,IAAI,mCAAmC;YAC3C,2CAA2C;SAC5C,CAAC,IAAI,CAAC,IAAI,CAAC,CACb,CAAA;QAPM;;;;mBAAO,4BAA4B;WAAA;IAQ5C,CAAC;CACF;AAVD,gEAUC;AAKD,MAAa,wBAAyB,SAAQ,mBAAS;IAErD,YAAY,IAAa;QACvB,KAAK,CAAC,SAAS,IAAI,yCAAyC,CAAC,CAAA;QAFtD;;;;mBAAO,0BAA0B;WAAA;IAG1C,CAAC;CACF;AALD,4DAKC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"account.js","sourceRoot":"","sources":["../../errors/account.ts"],"names":[],"mappings":";;;AAAA,uCAAqC;
|
1
|
+
{"version":3,"file":"account.js","sourceRoot":"","sources":["../../errors/account.ts"],"names":[],"mappings":";;;AAAA,uCAAqC;AAKrC,MAAa,oBAAqB,SAAQ,mBAAS;IAEjD,YAAY,EAAE,QAAQ,KAA4B,EAAE;QAClD,KAAK,CACH;YACE,wDAAwD;YACxD,wHAAwH;SACzH,CAAC,IAAI,CAAC,IAAI,CAAC,EACZ;YACE,QAAQ;YACR,QAAQ,EAAE,SAAS;SACpB,CACF,CAAA;QAXM;;;;mBAAO,sBAAsB;WAAA;IAYtC,CAAC;CACF;AAdD,oDAcC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"address.js","sourceRoot":"","sources":["../../errors/address.ts"],"names":[],"mappings":";;;AAAA,uCAAqC;
|
1
|
+
{"version":3,"file":"address.js","sourceRoot":"","sources":["../../errors/address.ts"],"names":[],"mappings":";;;AAAA,uCAAqC;AAKrC,MAAa,mBAAoB,SAAQ,mBAAS;IAEhD,YAAY,EAAE,OAAO,EAAuB;QAC1C,KAAK,CAAC,YAAY,OAAO,eAAe,CAAC,CAAA;QAFlC;;;;mBAAO,qBAAqB;WAAA;IAGrC,CAAC;CACF;AALD,kDAKC"}
|
package/_cjs/errors/base.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../errors/base.ts"],"names":[],"mappings":";;;AAAA,yCAAuC;
|
1
|
+
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../errors/base.ts"],"names":[],"mappings":";;;AAAA,yCAAuC;AAkBvC,MAAa,SAAU,SAAQ,KAAK;IASlC,YAAY,YAAoB,EAAE,OAA4B,EAAE;QAC9D,KAAK,EAAE,CAAA;QATT;;;;;WAAe;QACf;;;;;WAAiB;QACjB;;;;;WAAuB;QACvB;;;;;WAAoB;QAEX;;;;mBAAO,WAAW;WAAA;QAC3B;;;;mBAAU,IAAA,qBAAU,GAAE;WAAA;QAKpB,MAAM,OAAO,GACX,IAAI,CAAC,KAAK,YAAY,SAAS;YAC7B,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO;YACpB,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,OAAO;gBACrB,CAAC,CAAC,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SAAS,IAAI,CAAC,GAAY,EAAE,EAA8B;IACxD,IAAI,EAAE,EAAE,CAAC,GAAG,CAAC;QAAE,OAAO,GAAG,CAAA;IACzB,IAAI,GAAG,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,OAAO,IAAI,GAAG;QAClD,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,EAAE,CAAC,CAAA;IAC5B,OAAO,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAA;AACxB,CAAC"}
|
package/_cjs/errors/block.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"block.js","sourceRoot":"","sources":["../../errors/block.ts"],"names":[],"mappings":";;;AAEA,uCAAqC;
|
1
|
+
{"version":3,"file":"block.js","sourceRoot":"","sources":["../../errors/block.ts"],"names":[],"mappings":";;;AAEA,uCAAqC;AAKrC,MAAa,kBAAmB,SAAQ,mBAAS;IAE/C,YAAY,EACV,SAAS,EACT,WAAW,GAIZ;QACC,IAAI,UAAU,GAAG,OAAO,CAAA;QACxB,IAAI,SAAS;YAAE,UAAU,GAAG,kBAAkB,SAAS,GAAG,CAAA;QAC1D,IAAI,WAAW;YAAE,UAAU,GAAG,oBAAoB,WAAW,GAAG,CAAA;QAChE,KAAK,CAAC,GAAG,UAAU,sBAAsB,CAAC,CAAA;QAXnC;;;;mBAAO,oBAAoB;WAAA;IAYpC,CAAC;CACF;AAdD,gDAcC"}
|
package/_cjs/errors/ccip.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ccip.js","sourceRoot":"","sources":["../../errors/ccip.ts"],"names":[],"mappings":";;;AAGA,wDAAiD;AAEjD,uCAAqC;AACrC,yCAAmC;
|
1
|
+
{"version":3,"file":"ccip.js","sourceRoot":"","sources":["../../errors/ccip.ts"],"names":[],"mappings":";;;AAGA,wDAAiD;AAEjD,uCAAqC;AACrC,yCAAmC;AAKnC,MAAa,mBAAoB,SAAQ,mBAAS;I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M;;;;mBAAO,mCAAmC;WAAA;IAWnD,CAAC;CACF;AAbD,8EAaC"}
|
package/_cjs/errors/chain.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"chain.js","sourceRoot":"","sources":["../../errors/chain.ts"],"names":[],"mappings":";;;AAEA,uCAAqC;
|
1
|
+
{"version":3,"file":"chain.js","sourceRoot":"","sources":["../../errors/chain.ts"],"names":[],"mappings":";;;AAEA,uCAAqC;AAMrC,MAAa,2BAA4B,SAAQ,mBAAS;IAExD,YAAY,EACV,WAAW,EACX,KAAK,EACL,QAAQ,GAKT;QACC,KAAK,CACH,UAAU,KAAK,CAAC,IAAI,gCAAgC,QAAQ,CAAC,IAAI,IAAI,EACrE;YACE,YAAY,EAAE;gBACZ,4CAA4C;gBAC5C,GAAG,CAAC,WAAW;oBACf,QAAQ,CAAC,YAAY;oBACrB,QAAQ,CAAC,YAAY,GAAG,WAAW;oBACjC,CAAC,CAAC;wBACE,mBAAmB,QAAQ,CAAC,IAAI,kCAAkC,QAAQ,CAAC,YAAY,mBAAmB,WAAW,IAAI;qBAC1H;oBACH,CAAC,CAAC;wBACE,2CAA2C,QAAQ,CAAC,IAAI,eAAe;qBACxE,CAAC;aACP;SACF,CACF,CAAA;QA1BM;;;;mBAAO,6BAA6B;WAAA;IA2B7C,CAAC;CACF;AA7BD,kEA6BC;AAKD,MAAa,kBAAmB,SAAQ,mBAAS;IAG/C,YAAY,EACV,KAAK,EACL,cAAc,GAIf;QACC,KAAK,CACH,wCAAwC,cAAc,8DAA8D,KAAK,CAAC,EAAE,MAAM,KAAK,CAAC,IAAI,IAAI,EAChJ;YACE,YAAY,EAAE;gBACZ,sBAAsB,cAAc,EAAE;gBACtC,sBAAsB,KAAK,CAAC,EAAE,MAAM,KAAK,CAAC,IAAI,EAAE;aACjD;SACF,CACF,CAAA;QAjBM;;;;mBAAO,oBAAoB;WAAA;IAkBpC,CAAC;CACF;AApBD,gDAoBC;AAKD,MAAa,kBAAmB,SAAQ,mBAAS;IAG/C;QACE,KAAK,CACH;YACE,uCAAuC;YACvC,4GAA4G;SAC7G,CAAC,IAAI,CAAC,IAAI,CAAC,CACb,CAAA;QARM;;;;mBAAO,oBAAoB;WAAA;IASpC,CAAC;CACF;AAXD,gDAWC;AAMD,MAAa,6BAA8B,SAAQ,mBAAS;IAG1D;QACE,KAAK,CAAC,sCAAsC,CAAC,CAAA;QAHtC;;;;mBAAO,+BAA+B;WAAA;IAI/C,CAAC;CACF;AAND,sEAMC;AAKD,MAAa,mBAAoB,SAAQ,mBAAS;IAGhD,YAAY,EAAE,OAAO,EAAuB;QAC1C,KAAK,CAAC,aAAa,OAAO,eAAe,CAAC,CAAA;QAHnC;;;;mBAAO,qBAAqB;WAAA;IAIrC,CAAC;CACF;AAND,kDAMC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"contract.js","sourceRoot":"","sources":["../../errors/contract.ts"],"names":[],"mappings":";;;AAEA,uEAAgE;AAEhE,0DAAuD;AAGvD,4EAG0C;AAC1C,oEAA6D;AAC7D,oFAA6E;AAC7E,8DAAuD;AACvD,iEAA0D;AAC1D,+DAAwD;AAExD,qCAAyD;AACzD,uCAAqC;AACrC,qDAA8C;AAC9C,yCAA+C;
|
1
|
+
{"version":3,"file":"contract.js","sourceRoot":"","sources":["../../errors/contract.ts"],"names":[],"mappings":";;;AAEA,uEAAgE;AAEhE,0DAAuD;AAGvD,4EAG0C;AAC1C,oEAA6D;AAC7D,oFAA6E;AAC7E,8DAAuD;AACvD,iEAA0D;AAC1D,+DAAwD;AAExD,qCAAyD;AACzD,uCAAqC;AACrC,qDAA8C;AAC9C,yCAA+C;AAK/C,MAAa,kBAAmB,SAAQ,mBAAS;IAK/C,YACE,KAAgB,EAChB,EACE,OAAO,EAAE,QAAQ,EACjB,QAAQ,EACR,KAAK,EACL,IAAI,EACJ,GAAG,EACH,QAAQ,EACR,YAAY,EACZ,oBAAoB,EACpB,KAAK,EACL,EAAE,EACF,KAAK,GACi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EACvD;YACE,KAAK;YACL,YAAY;SACb,CACF,CAAA;QA5EM;;;;mBAAO,+BAA+B;WAAA;QAE/C;;;;;WAAkC;QAClC;;;;;WAAe;QACf;;;;;WAAe;QA0Eb,IAAI,CAAC,IAAI,GAAG,WAAW,CAAA;QACvB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAA;IAC5B,CAAC;CACF;AAnFD,sEAmFC;AAMD,MAAa,6BAA8B,SAAQ,mBAAS;IAE1D,YAAY,EAAE,YAAY,EAA4B;QACpD,KAAK,CAAC,0BAA0B,YAAY,4BAA4B,EAAE;YACxE,YAAY,EAAE;gBACZ,4CAA4C;gBAC5C,gDAAgD,YAAY,IAAI;gBAChE,uEAAuE;gBACvE,oCAAoC;aACrC;SACF,CAAC,CAAA;QATK;;;;mBAAO,+BAA+B;WAAA;IAU/C,CAAC;CACF;AAZD,sEAYC;AAKD,MAAa,gBAAiB,SAAQ,mBAAS;IAM7C,YAAY,EACV,IAAI,EACJ,OAAO,GAC2C;QAClD,KAAK,CAAC,OAAO,IAAI,EAAE,CAAC,CAAA;QATtB;;;;mBAAO,CAAC;WAAA;QACC;;;;mBAAO,kBAAkB;WAAA;QAElC;;;;;WAA2B;QAOzB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;IAClB,CAAC;CACF;AAbD,4CAaC"}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PositionOutOfBoundsError = exports.NegativeOffsetError = void 0;
|
4
|
+
const base_js_1 = require("./base.js");
|
5
|
+
class NegativeOffsetError extends base_js_1.BaseError {
|
6
|
+
constructor({ offset }) {
|
7
|
+
super(`Offset \`${offset}\` cannot be negative.`);
|
8
|
+
Object.defineProperty(this, "name", {
|
9
|
+
enumerable: true,
|
10
|
+
configurable: true,
|
11
|
+
writable: true,
|
12
|
+
value: 'NegativeOffsetError'
|
13
|
+
});
|
14
|
+
}
|
15
|
+
}
|
16
|
+
exports.NegativeOffsetError = NegativeOffsetError;
|
17
|
+
class PositionOutOfBoundsError extends base_js_1.BaseError {
|
18
|
+
constructor({ length, position }) {
|
19
|
+
super(`Position \`${position}\` is out of bounds (\`0 < position < ${length}\`).`);
|
20
|
+
Object.defineProperty(this, "name", {
|
21
|
+
enumerable: true,
|
22
|
+
configurable: true,
|
23
|
+
writable: true,
|
24
|
+
value: 'PositionOutOfBoundsError'
|
25
|
+
});
|
26
|
+
}
|
27
|
+
}
|
28
|
+
exports.PositionOutOfBoundsError = PositionOutOfBoundsError;
|
29
|
+
//# sourceMappingURL=cursor.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"cursor.js","sourceRoot":"","sources":["../../errors/cursor.ts"],"names":[],"mappings":";;;AAAA,uCAAqC;AAKrC,MAAa,mBAAoB,SAAQ,mBAAS;IAEhD,YAAY,EAAE,MAAM,EAAsB;QACxC,KAAK,CAAC,YAAY,MAAM,wBAAwB,CAAC,CAAA;QAF1C;;;;mBAAO,qBAAqB;WAAA;IAGrC,CAAC;CACF;AALD,kDAKC;AAKD,MAAa,wBAAyB,SAAQ,mBAAS;IAErD,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAwC;QACpE,KAAK,CACH,cAAc,QAAQ,yCAAyC,MAAM,MAAM,CAC5E,CAAA;QAJM;;;;mBAAO,0BAA0B;WAAA;IAK1C,CAAC;CACF;AAPD,4DAOC"}
|