viem 2.13.6 → 2.13.8
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +16 -0
- package/README.md +0 -6
- package/_cjs/accounts/hdKeyToAccount.js.map +1 -1
- package/_cjs/actions/public/call.js.map +1 -1
- package/_cjs/actions/public/estimateGas.js.map +1 -1
- package/_cjs/actions/public/getBlockNumber.js.map +1 -1
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_cjs/actions/wallet/signTypedData.js.map +1 -1
- package/_cjs/celo/fees.js.map +1 -1
- package/_cjs/celo/formatters.js.map +1 -1
- package/_cjs/celo/index.js.map +1 -1
- package/_cjs/celo/serializers.js.map +1 -1
- package/_cjs/celo/utils.js.map +1 -1
- package/_cjs/chains/definitions/defichainEvm.js +1 -1
- package/_cjs/chains/definitions/defichainEvm.js.map +1 -1
- package/_cjs/chains/definitions/defichainEvmTestnet.js +1 -1
- package/_cjs/chains/definitions/defichainEvmTestnet.js.map +1 -1
- package/_cjs/chains/definitions/optimism.js +5 -0
- package/_cjs/chains/definitions/optimism.js.map +1 -1
- package/_cjs/chains/definitions/sei.js +1 -0
- package/_cjs/chains/definitions/sei.js.map +1 -1
- package/_cjs/clients/createClient.js +2 -2
- package/_cjs/clients/createClient.js.map +1 -1
- package/_cjs/clients/transports/fallback.js.map +1 -1
- package/_cjs/clients/transports/http.js.map +1 -1
- package/_cjs/constants/abis.js.map +1 -1
- package/_cjs/constants/blob.js +4 -4
- package/_cjs/constants/blob.js.map +1 -1
- package/_cjs/constants/kzg.js +1 -3
- package/_cjs/constants/kzg.js.map +1 -1
- package/_cjs/errors/abi.js +1 -13
- package/_cjs/errors/abi.js.map +1 -1
- package/_cjs/errors/ccip.js.map +1 -1
- package/_cjs/errors/stateOverride.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/experimental/eip5792/actions/getCapabilities.js +2 -2
- package/_cjs/experimental/eip5792/actions/getCapabilities.js.map +1 -1
- package/_cjs/experimental/eip5792/actions/sendCalls.js +2 -2
- package/_cjs/experimental/eip5792/actions/sendCalls.js.map +1 -1
- package/_cjs/index.js +7 -4
- package/_cjs/index.js.map +1 -1
- package/_cjs/node/trustedSetups.js +1 -2
- package/_cjs/node/trustedSetups.js.map +1 -1
- package/_cjs/op-stack/abis.js +1 -458
- package/_cjs/op-stack/abis.js.map +1 -1
- package/_cjs/op-stack/actions/buildProveWithdrawal.js.map +1 -1
- package/_cjs/op-stack/actions/getWithdrawalStatus.js.map +1 -1
- package/_cjs/op-stack/index.js +15 -2
- package/_cjs/op-stack/index.js.map +1 -1
- package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
- package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -1
- package/_cjs/utils/abi/getAbiItem.js.map +1 -1
- package/_cjs/utils/address/getAddress.js +5 -5
- package/_cjs/utils/address/getAddress.js.map +1 -1
- package/_cjs/utils/address/isAddress.js.map +1 -1
- package/_cjs/utils/blob/toBlobs.js.map +1 -1
- package/_cjs/utils/buildRequest.js.map +1 -1
- package/_cjs/utils/ccip.js.map +1 -1
- package/_cjs/utils/cursor.js.map +1 -1
- package/_cjs/utils/encoding/fromRlp.js +1 -9
- package/_cjs/utils/encoding/fromRlp.js.map +1 -1
- package/_cjs/utils/ens/avatar/utils.js.map +1 -1
- package/_cjs/utils/ens/errors.js.map +1 -1
- package/_cjs/utils/index.js +4 -3
- package/_cjs/utils/index.js.map +1 -1
- package/_cjs/utils/observe.js.map +1 -1
- package/_cjs/utils/promise/createBatchScheduler.js.map +1 -1
- package/_cjs/utils/promise/withCache.js.map +1 -1
- package/_cjs/utils/promise/withTimeout.js.map +1 -1
- package/_cjs/utils/rpc/id.js +1 -2
- package/_cjs/utils/rpc/id.js.map +1 -1
- package/_cjs/utils/rpc/ipc.js.map +1 -1
- package/_cjs/utils/stateOverride.js.map +1 -1
- package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
- package/_cjs/zksync/actions/deployContract.js.map +1 -1
- package/_cjs/zksync/actions/estimateGasL1ToL2.js +2 -2
- package/_cjs/zksync/actions/estimateGasL1ToL2.js.map +1 -1
- package/_cjs/zksync/actions/getAllBalances.js +2 -2
- package/_cjs/zksync/actions/getAllBalances.js.map +1 -1
- package/_cjs/zksync/actions/getL1Allowance.js +2 -2
- package/_cjs/zksync/actions/getL1Allowance.js.map +1 -1
- package/_cjs/zksync/actions/getL1Balance.js +2 -2
- package/_cjs/zksync/actions/getL1Balance.js.map +1 -1
- package/_cjs/zksync/actions/getL1TokenBalance.js +2 -2
- package/_cjs/zksync/actions/getL1TokenBalance.js.map +1 -1
- package/_cjs/zksync/actions/sendTransaction.js.map +1 -1
- package/_cjs/zksync/constants/contract.js +1 -2
- package/_cjs/zksync/constants/contract.js.map +1 -1
- package/_cjs/zksync/index.js.map +1 -1
- package/_cjs/zksync/serializers.js.map +1 -1
- package/_cjs/zksync/utils/abi/encodeDeployData.js.map +1 -1
- package/_cjs/zksync/utils/assertEip712Request.js.map +1 -1
- package/_cjs/zksync/utils/hashBytecode.js.map +1 -1
- package/_esm/accounts/hdKeyToAccount.js.map +1 -1
- package/_esm/actions/public/call.js +1 -0
- package/_esm/actions/public/call.js.map +1 -1
- package/_esm/actions/public/estimateGas.js.map +1 -1
- package/_esm/actions/public/getBlockNumber.js +2 -1
- package/_esm/actions/public/getBlockNumber.js.map +1 -1
- package/_esm/actions/test/sendUnsignedTransaction.js +2 -2
- package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_esm/actions/wallet/signTypedData.js.map +1 -1
- package/_esm/celo/fees.js.map +1 -1
- package/_esm/celo/formatters.js.map +1 -1
- package/_esm/celo/index.js +1 -1
- package/_esm/celo/index.js.map +1 -1
- package/_esm/celo/serializers.js.map +1 -1
- package/_esm/celo/utils.js +1 -0
- package/_esm/celo/utils.js.map +1 -1
- package/_esm/chains/definitions/defichainEvm.js +1 -1
- package/_esm/chains/definitions/defichainEvm.js.map +1 -1
- package/_esm/chains/definitions/defichainEvmTestnet.js +1 -1
- package/_esm/chains/definitions/defichainEvmTestnet.js.map +1 -1
- package/_esm/chains/definitions/optimism.js +5 -0
- package/_esm/chains/definitions/optimism.js.map +1 -1
- package/_esm/chains/definitions/sei.js +1 -0
- package/_esm/chains/definitions/sei.js.map +1 -1
- package/_esm/clients/createClient.js +1 -1
- package/_esm/clients/createClient.js.map +1 -1
- package/_esm/clients/transports/fallback.js +1 -0
- package/_esm/clients/transports/fallback.js.map +1 -1
- package/_esm/clients/transports/http.js.map +1 -1
- package/_esm/constants/abis.js +1 -0
- package/_esm/constants/abis.js.map +1 -1
- package/_esm/constants/blob.js +1 -1
- package/_esm/constants/blob.js.map +1 -1
- package/_esm/constants/kzg.js +0 -4
- package/_esm/constants/kzg.js.map +1 -1
- package/_esm/errors/abi.js +0 -11
- package/_esm/errors/abi.js.map +1 -1
- package/_esm/errors/ccip.js.map +1 -1
- package/_esm/errors/stateOverride.js +1 -0
- package/_esm/errors/stateOverride.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/experimental/eip5792/actions/getCapabilities.js +1 -1
- package/_esm/experimental/eip5792/actions/getCapabilities.js.map +1 -1
- package/_esm/experimental/eip5792/actions/sendCalls.js +1 -1
- package/_esm/experimental/eip5792/actions/sendCalls.js.map +1 -1
- package/_esm/index.js +5 -4
- package/_esm/index.js.map +1 -1
- package/_esm/node/trustedSetups.js +0 -1
- package/_esm/node/trustedSetups.js.map +1 -1
- package/_esm/node/trustedSetups_cjs.js +0 -1
- package/_esm/node/trustedSetups_cjs.js.map +1 -1
- package/_esm/op-stack/abis.js +0 -457
- package/_esm/op-stack/abis.js.map +1 -1
- package/_esm/op-stack/actions/buildProveWithdrawal.js +1 -0
- package/_esm/op-stack/actions/buildProveWithdrawal.js.map +1 -1
- package/_esm/op-stack/actions/getWithdrawalStatus.js +1 -1
- package/_esm/op-stack/actions/getWithdrawalStatus.js.map +1 -1
- package/_esm/op-stack/index.js +0 -1
- package/_esm/op-stack/index.js.map +1 -1
- package/_esm/utils/abi/decodeAbiParameters.js +1 -1
- package/_esm/utils/abi/decodeAbiParameters.js.map +1 -1
- package/_esm/utils/abi/encodeAbiParameters.js.map +1 -1
- package/_esm/utils/abi/getAbiItem.js +3 -1
- 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/isAddress.js +1 -0
- package/_esm/utils/address/isAddress.js.map +1 -1
- package/_esm/utils/blob/toBlobs.js.map +1 -1
- package/_esm/utils/buildRequest.js +1 -0
- package/_esm/utils/buildRequest.js.map +1 -1
- package/_esm/utils/ccip.js +1 -1
- package/_esm/utils/ccip.js.map +1 -1
- package/_esm/utils/cursor.js.map +1 -1
- package/_esm/utils/encoding/fromRlp.js +0 -6
- package/_esm/utils/encoding/fromRlp.js.map +1 -1
- package/_esm/utils/ens/avatar/utils.js +2 -0
- package/_esm/utils/ens/avatar/utils.js.map +1 -1
- package/_esm/utils/ens/errors.js.map +1 -1
- package/_esm/utils/index.js +1 -1
- package/_esm/utils/index.js.map +1 -1
- package/_esm/utils/observe.js +2 -0
- package/_esm/utils/observe.js.map +1 -1
- package/_esm/utils/promise/createBatchScheduler.js +1 -0
- package/_esm/utils/promise/createBatchScheduler.js.map +1 -1
- package/_esm/utils/promise/withCache.js +2 -0
- package/_esm/utils/promise/withCache.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/id.js +1 -1
- package/_esm/utils/rpc/id.js.map +1 -1
- package/_esm/utils/rpc/ipc.js +1 -0
- package/_esm/utils/rpc/ipc.js.map +1 -1
- package/_esm/utils/stateOverride.js +3 -0
- package/_esm/utils/stateOverride.js.map +1 -1
- package/_esm/utils/transaction/parseTransaction.js.map +1 -1
- package/_esm/utils/unit/parseUnits.js +1 -1
- package/_esm/utils/unit/parseUnits.js.map +1 -1
- package/_esm/zksync/actions/deployContract.js +1 -1
- package/_esm/zksync/actions/deployContract.js.map +1 -1
- package/_esm/zksync/actions/estimateGasL1ToL2.js +1 -1
- package/_esm/zksync/actions/estimateGasL1ToL2.js.map +1 -1
- package/_esm/zksync/actions/getAllBalances.js +1 -1
- package/_esm/zksync/actions/getAllBalances.js.map +1 -1
- package/_esm/zksync/actions/getL1Allowance.js +1 -1
- package/_esm/zksync/actions/getL1Allowance.js.map +1 -1
- package/_esm/zksync/actions/getL1Balance.js +1 -1
- package/_esm/zksync/actions/getL1Balance.js.map +1 -1
- package/_esm/zksync/actions/getL1TokenBalance.js +2 -2
- package/_esm/zksync/actions/getL1TokenBalance.js.map +1 -1
- package/_esm/zksync/actions/sendTransaction.js.map +1 -1
- package/_esm/zksync/constants/contract.js +0 -1
- package/_esm/zksync/constants/contract.js.map +1 -1
- package/_esm/zksync/index.js.map +1 -1
- package/_esm/zksync/serializers.js.map +1 -1
- package/_esm/zksync/utils/abi/encodeDeployData.js +1 -1
- package/_esm/zksync/utils/abi/encodeDeployData.js.map +1 -1
- package/_esm/zksync/utils/assertEip712Request.js +1 -1
- package/_esm/zksync/utils/assertEip712Request.js.map +1 -1
- package/_esm/zksync/utils/hashBytecode.js.map +1 -1
- package/_types/accounts/hdKeyToAccount.d.ts +1 -1
- package/_types/accounts/hdKeyToAccount.d.ts.map +1 -1
- package/_types/accounts/types.d.ts +1 -1
- package/_types/accounts/types.d.ts.map +1 -1
- package/_types/actions/public/call.d.ts +5 -2
- package/_types/actions/public/call.d.ts.map +1 -1
- package/_types/actions/public/estimateGas.d.ts +2 -1
- package/_types/actions/public/estimateGas.d.ts.map +1 -1
- package/_types/actions/public/getBlockNumber.d.ts +4 -0
- package/_types/actions/public/getBlockNumber.d.ts.map +1 -1
- package/_types/actions/test/sendUnsignedTransaction.d.ts +2 -2
- package/_types/actions/wallet/prepareTransactionRequest.d.ts +0 -7
- package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
- package/_types/actions/wallet/signTypedData.d.ts +2 -2
- package/_types/actions/wallet/signTypedData.d.ts.map +1 -1
- package/_types/celo/chainConfig.d.ts +725 -747
- package/_types/celo/chainConfig.d.ts.map +1 -1
- package/_types/celo/fees.d.ts.map +1 -1
- package/_types/celo/formatters.d.ts +360 -371
- package/_types/celo/formatters.d.ts.map +1 -1
- package/_types/celo/index.d.ts +2 -2
- package/_types/celo/index.d.ts.map +1 -1
- package/_types/celo/serializers.d.ts.map +1 -1
- package/_types/celo/types.d.ts +27 -27
- package/_types/celo/types.d.ts.map +1 -1
- package/_types/celo/utils.d.ts +1 -0
- package/_types/celo/utils.d.ts.map +1 -1
- package/_types/chains/definitions/acala.d.ts +2 -2
- package/_types/chains/definitions/ancient8.d.ts +207 -218
- package/_types/chains/definitions/ancient8.d.ts.map +1 -1
- package/_types/chains/definitions/ancient8Sepolia.d.ts +207 -218
- package/_types/chains/definitions/ancient8Sepolia.d.ts.map +1 -1
- package/_types/chains/definitions/anvil.d.ts +2 -2
- package/_types/chains/definitions/apexTestnet.d.ts +2 -2
- package/_types/chains/definitions/arbitrum.d.ts +2 -2
- package/_types/chains/definitions/arbitrumGoerli.d.ts +2 -2
- package/_types/chains/definitions/arbitrumNova.d.ts +2 -2
- package/_types/chains/definitions/arbitrumSepolia.d.ts +2 -2
- package/_types/chains/definitions/areonNetwork.d.ts +2 -2
- package/_types/chains/definitions/areonNetworkTestnet.d.ts +2 -2
- package/_types/chains/definitions/astar.d.ts +2 -2
- package/_types/chains/definitions/astarZkEVM.d.ts +2 -2
- package/_types/chains/definitions/astarZkyoto.d.ts +2 -2
- package/_types/chains/definitions/aurora.d.ts +2 -2
- package/_types/chains/definitions/auroraTestnet.d.ts +2 -2
- package/_types/chains/definitions/auroria.d.ts +2 -2
- package/_types/chains/definitions/avalanche.d.ts +2 -2
- package/_types/chains/definitions/avalancheFuji.d.ts +2 -2
- package/_types/chains/definitions/bahamut.d.ts +2 -2
- package/_types/chains/definitions/base.d.ts +207 -218
- package/_types/chains/definitions/base.d.ts.map +1 -1
- package/_types/chains/definitions/baseGoerli.d.ts +207 -218
- package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/baseSepolia.d.ts +207 -218
- package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/beam.d.ts +2 -2
- package/_types/chains/definitions/beamTestnet.d.ts +2 -2
- package/_types/chains/definitions/bearNetworkChainMainnet.d.ts +2 -2
- package/_types/chains/definitions/bearNetworkChainTestnet.d.ts +2 -2
- package/_types/chains/definitions/berachainTestnet.d.ts +2 -2
- package/_types/chains/definitions/bevmMainnet.d.ts +2 -2
- package/_types/chains/definitions/bitTorrent.d.ts +2 -2
- package/_types/chains/definitions/bitTorrentTestnet.d.ts +2 -2
- package/_types/chains/definitions/bitkub.d.ts +2 -2
- package/_types/chains/definitions/bitkubTestnet.d.ts +2 -2
- package/_types/chains/definitions/blast.d.ts +2 -2
- package/_types/chains/definitions/blastSepolia.d.ts +2 -2
- package/_types/chains/definitions/bob.d.ts +2 -2
- package/_types/chains/definitions/boba.d.ts +2 -2
- package/_types/chains/definitions/bronos.d.ts +2 -2
- package/_types/chains/definitions/bronosTestnet.d.ts +2 -2
- package/_types/chains/definitions/bsc.d.ts +2 -2
- package/_types/chains/definitions/bscGreenfield.d.ts +2 -2
- package/_types/chains/definitions/bscTestnet.d.ts +2 -2
- package/_types/chains/definitions/btr.d.ts +2 -2
- package/_types/chains/definitions/btrTestnet.d.ts +2 -2
- package/_types/chains/definitions/bxn.d.ts +2 -2
- package/_types/chains/definitions/bxnTestnet.d.ts +2 -2
- package/_types/chains/definitions/canto.d.ts +2 -2
- package/_types/chains/definitions/celo.d.ts +728 -750
- package/_types/chains/definitions/celo.d.ts.map +1 -1
- package/_types/chains/definitions/celoAlfajores.d.ts +728 -750
- package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
- package/_types/chains/definitions/chiliz.d.ts +2 -2
- package/_types/chains/definitions/classic.d.ts +2 -2
- package/_types/chains/definitions/confluxESpace.d.ts +2 -2
- package/_types/chains/definitions/confluxESpaceTestnet.d.ts +2 -2
- package/_types/chains/definitions/coreDao.d.ts +2 -2
- package/_types/chains/definitions/cronos.d.ts +2 -2
- package/_types/chains/definitions/cronosTestnet.d.ts +2 -2
- package/_types/chains/definitions/crossbell.d.ts +2 -2
- package/_types/chains/definitions/cyber.d.ts +2 -2
- package/_types/chains/definitions/cyberTestnet.d.ts +2 -2
- package/_types/chains/definitions/darwinia.d.ts +2 -2
- package/_types/chains/definitions/defichainEvm.d.ts +3 -3
- package/_types/chains/definitions/defichainEvmTestnet.d.ts +3 -3
- package/_types/chains/definitions/degen.d.ts +2 -2
- package/_types/chains/definitions/dfk.d.ts +2 -2
- package/_types/chains/definitions/dodochainTestnet.d.ts +2 -2
- package/_types/chains/definitions/dogechain.d.ts +2 -2
- package/_types/chains/definitions/dreyerxMainnet.d.ts +2 -2
- package/_types/chains/definitions/edgeless.d.ts +2 -2
- package/_types/chains/definitions/edgelessTestnet.d.ts +2 -2
- package/_types/chains/definitions/edgeware.d.ts +2 -2
- package/_types/chains/definitions/edgewareTestnet.d.ts +2 -2
- package/_types/chains/definitions/ekta.d.ts +2 -2
- package/_types/chains/definitions/ektaTestnet.d.ts +2 -2
- package/_types/chains/definitions/eon.d.ts +2 -2
- package/_types/chains/definitions/eos.d.ts +2 -2
- package/_types/chains/definitions/eosTestnet.d.ts +2 -2
- package/_types/chains/definitions/etherlinkTestnet.d.ts +2 -2
- package/_types/chains/definitions/evmos.d.ts +2 -2
- package/_types/chains/definitions/evmosTestnet.d.ts +2 -2
- package/_types/chains/definitions/fantom.d.ts +2 -2
- package/_types/chains/definitions/fantomSonicTestnet.d.ts +2 -2
- package/_types/chains/definitions/fantomTestnet.d.ts +2 -2
- package/_types/chains/definitions/fibo.d.ts +2 -2
- package/_types/chains/definitions/filecoin.d.ts +2 -2
- package/_types/chains/definitions/filecoinCalibration.d.ts +2 -2
- package/_types/chains/definitions/filecoinHyperspace.d.ts +2 -2
- package/_types/chains/definitions/flare.d.ts +2 -2
- package/_types/chains/definitions/flareTestnet.d.ts +2 -2
- package/_types/chains/definitions/flowMainnet.d.ts +2 -2
- package/_types/chains/definitions/flowPreviewnet.d.ts +2 -2
- package/_types/chains/definitions/flowTestnet.d.ts +2 -2
- package/_types/chains/definitions/foundry.d.ts +2 -2
- package/_types/chains/definitions/fraxtal.d.ts +207 -218
- package/_types/chains/definitions/fraxtal.d.ts.map +1 -1
- package/_types/chains/definitions/fraxtalTestnet.d.ts +207 -218
- package/_types/chains/definitions/fraxtalTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/funkiSepolia.d.ts +207 -218
- package/_types/chains/definitions/funkiSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/fuse.d.ts +2 -2
- package/_types/chains/definitions/fuseSparknet.d.ts +2 -2
- package/_types/chains/definitions/gnosis.d.ts +2 -2
- package/_types/chains/definitions/gnosisChiado.d.ts +2 -2
- package/_types/chains/definitions/gobi.d.ts +2 -2
- package/_types/chains/definitions/goerli.d.ts +2 -2
- package/_types/chains/definitions/haqqMainnet.d.ts +2 -2
- package/_types/chains/definitions/haqqTestedge2.d.ts +2 -2
- package/_types/chains/definitions/hardhat.d.ts +2 -2
- package/_types/chains/definitions/harmonyOne.d.ts +2 -2
- package/_types/chains/definitions/hedera.d.ts +2 -2
- package/_types/chains/definitions/hederaPreviewnet.d.ts +2 -2
- package/_types/chains/definitions/hederaTestnet.d.ts +2 -2
- package/_types/chains/definitions/holesky.d.ts +2 -2
- package/_types/chains/definitions/immutableZkEvm.d.ts +2 -2
- package/_types/chains/definitions/immutableZkEvmTestnet.d.ts +2 -2
- package/_types/chains/definitions/inEVM.d.ts +2 -2
- package/_types/chains/definitions/iotex.d.ts +2 -2
- package/_types/chains/definitions/iotexTestnet.d.ts +2 -2
- package/_types/chains/definitions/jbc.d.ts +2 -2
- package/_types/chains/definitions/jbcTestnet.d.ts +2 -2
- package/_types/chains/definitions/kakarotSepolia.d.ts +2 -2
- package/_types/chains/definitions/karura.d.ts +2 -2
- package/_types/chains/definitions/kava.d.ts +2 -2
- package/_types/chains/definitions/kavaTestnet.d.ts +2 -2
- package/_types/chains/definitions/kcc.d.ts +2 -2
- package/_types/chains/definitions/klaytn.d.ts +2 -2
- package/_types/chains/definitions/klaytnBaobab.d.ts +2 -2
- package/_types/chains/definitions/kroma.d.ts +2 -2
- package/_types/chains/definitions/kromaSepolia.d.ts +2 -2
- package/_types/chains/definitions/l3x.d.ts +2 -2
- package/_types/chains/definitions/l3xTestnet.d.ts +2 -2
- package/_types/chains/definitions/lightlinkPegasus.d.ts +2 -2
- package/_types/chains/definitions/lightlinkPhoenix.d.ts +2 -2
- package/_types/chains/definitions/linea.d.ts +2 -2
- package/_types/chains/definitions/lineaGoerli.d.ts +2 -2
- package/_types/chains/definitions/lineaSepolia.d.ts +2 -2
- package/_types/chains/definitions/lineaTestnet.d.ts +2 -2
- package/_types/chains/definitions/lisk.d.ts +171 -171
- package/_types/chains/definitions/liskSepolia.d.ts +207 -218
- package/_types/chains/definitions/liskSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/localhost.d.ts +2 -2
- package/_types/chains/definitions/lukso.d.ts +2 -2
- package/_types/chains/definitions/luksoTestnet.d.ts +2 -2
- package/_types/chains/definitions/lycan.d.ts +2 -2
- package/_types/chains/definitions/mainnet.d.ts +2 -2
- package/_types/chains/definitions/mandala.d.ts +2 -2
- package/_types/chains/definitions/manta.d.ts +2 -2
- package/_types/chains/definitions/mantaSepoliaTestnet.d.ts +2 -2
- package/_types/chains/definitions/mantaTestnet.d.ts +2 -2
- package/_types/chains/definitions/mantle.d.ts +2 -2
- package/_types/chains/definitions/mantleSepoliaTestnet.d.ts +2 -2
- package/_types/chains/definitions/mantleTestnet.d.ts +2 -2
- package/_types/chains/definitions/merlin.d.ts +2 -2
- package/_types/chains/definitions/metachain.d.ts +2 -2
- package/_types/chains/definitions/metachainIstanbul.d.ts +2 -2
- package/_types/chains/definitions/metalL2.d.ts +207 -218
- package/_types/chains/definitions/metalL2.d.ts.map +1 -1
- package/_types/chains/definitions/meter.d.ts +2 -2
- package/_types/chains/definitions/meterTestnet.d.ts +2 -2
- package/_types/chains/definitions/metis.d.ts +2 -2
- package/_types/chains/definitions/metisGoerli.d.ts +2 -2
- package/_types/chains/definitions/mev.d.ts +2 -2
- package/_types/chains/definitions/mevTestnet.d.ts +2 -2
- package/_types/chains/definitions/mintSepoliaTestnet.d.ts +2 -2
- package/_types/chains/definitions/mode.d.ts +2 -2
- package/_types/chains/definitions/modeTestnet.d.ts +2 -2
- package/_types/chains/definitions/moonbaseAlpha.d.ts +2 -2
- package/_types/chains/definitions/moonbeam.d.ts +2 -2
- package/_types/chains/definitions/moonbeamDev.d.ts +2 -2
- package/_types/chains/definitions/moonriver.d.ts +2 -2
- package/_types/chains/definitions/morphSepolia.d.ts +2 -2
- package/_types/chains/definitions/nautilus.d.ts +2 -2
- package/_types/chains/definitions/neonDevnet.d.ts +2 -2
- package/_types/chains/definitions/neonMainnet.d.ts +2 -2
- package/_types/chains/definitions/nexi.d.ts +2 -2
- package/_types/chains/definitions/nexilix.d.ts +2 -2
- package/_types/chains/definitions/oasisTestnet.d.ts +2 -2
- package/_types/chains/definitions/oasys.d.ts +2 -2
- package/_types/chains/definitions/okc.d.ts +2 -2
- package/_types/chains/definitions/oortmainnetDev.d.ts +2 -2
- package/_types/chains/definitions/opBNB.d.ts +2 -2
- package/_types/chains/definitions/opBNBTestnet.d.ts +2 -2
- package/_types/chains/definitions/optimism.d.ts +212 -218
- package/_types/chains/definitions/optimism.d.ts.map +1 -1
- package/_types/chains/definitions/optimismGoerli.d.ts +207 -218
- package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/optimismSepolia.d.ts +207 -218
- package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/otimDevnet.d.ts +2 -2
- package/_types/chains/definitions/palm.d.ts +2 -2
- package/_types/chains/definitions/palmTestnet.d.ts +2 -2
- package/_types/chains/definitions/pgn.d.ts +208 -219
- package/_types/chains/definitions/pgn.d.ts.map +1 -1
- package/_types/chains/definitions/pgnTestnet.d.ts +208 -219
- package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/phoenix.d.ts +2 -2
- package/_types/chains/definitions/playfiAlbireo.d.ts +171 -171
- package/_types/chains/definitions/plinga.d.ts +2 -2
- package/_types/chains/definitions/plumeTestnet.d.ts +2 -2
- package/_types/chains/definitions/polygon.d.ts +2 -2
- package/_types/chains/definitions/polygonAmoy.d.ts +2 -2
- package/_types/chains/definitions/polygonMumbai.d.ts +2 -2
- package/_types/chains/definitions/polygonZkEvm.d.ts +2 -2
- package/_types/chains/definitions/polygonZkEvmCardona.d.ts +2 -2
- package/_types/chains/definitions/polygonZkEvmTestnet.d.ts +2 -2
- package/_types/chains/definitions/pulsechain.d.ts +2 -2
- package/_types/chains/definitions/pulsechainV4.d.ts +2 -2
- package/_types/chains/definitions/qMainnet.d.ts +2 -2
- package/_types/chains/definitions/qTestnet.d.ts +2 -2
- package/_types/chains/definitions/redstone.d.ts +2 -2
- package/_types/chains/definitions/reyaNetwork.d.ts +2 -2
- package/_types/chains/definitions/rollux.d.ts +2 -2
- package/_types/chains/definitions/rolluxTestnet.d.ts +2 -2
- package/_types/chains/definitions/ronin.d.ts +2 -2
- package/_types/chains/definitions/rootstock.d.ts +2 -2
- package/_types/chains/definitions/rootstockTestnet.d.ts +2 -2
- package/_types/chains/definitions/rss3.d.ts +207 -218
- package/_types/chains/definitions/rss3.d.ts.map +1 -1
- package/_types/chains/definitions/rss3Sepolia.d.ts +207 -218
- package/_types/chains/definitions/rss3Sepolia.d.ts.map +1 -1
- package/_types/chains/definitions/saigon.d.ts +2 -2
- package/_types/chains/definitions/sapphire.d.ts +2 -2
- package/_types/chains/definitions/sapphireTestnet.d.ts +2 -2
- package/_types/chains/definitions/satoshivm.d.ts +2 -2
- package/_types/chains/definitions/satoshivmTestnet.d.ts +2 -2
- package/_types/chains/definitions/scroll.d.ts +2 -2
- package/_types/chains/definitions/scrollSepolia.d.ts +2 -2
- package/_types/chains/definitions/sei.d.ts +3 -2
- package/_types/chains/definitions/sei.d.ts.map +1 -1
- package/_types/chains/definitions/seiDevnet.d.ts +2 -2
- package/_types/chains/definitions/sepolia.d.ts +2 -2
- package/_types/chains/definitions/shardeumSphinx.d.ts +2 -2
- package/_types/chains/definitions/shibarium.d.ts +2 -2
- package/_types/chains/definitions/shimmer.d.ts +2 -2
- package/_types/chains/definitions/shimmerTestnet.d.ts +2 -2
- package/_types/chains/definitions/skale/brawl.d.ts +2 -2
- package/_types/chains/definitions/skale/calypso.d.ts +2 -2
- package/_types/chains/definitions/skale/calypsoTestnet.d.ts +2 -2
- package/_types/chains/definitions/skale/cryptoBlades.d.ts +2 -2
- package/_types/chains/definitions/skale/cryptoColosseum.d.ts +2 -2
- package/_types/chains/definitions/skale/europa.d.ts +2 -2
- package/_types/chains/definitions/skale/europaTestnet.d.ts +2 -2
- package/_types/chains/definitions/skale/exorde.d.ts +2 -2
- package/_types/chains/definitions/skale/humanProtocol.d.ts +2 -2
- package/_types/chains/definitions/skale/nebula.d.ts +2 -2
- package/_types/chains/definitions/skale/nebulaTestnet.d.ts +2 -2
- package/_types/chains/definitions/skale/razor.d.ts +2 -2
- package/_types/chains/definitions/skale/titan.d.ts +2 -2
- package/_types/chains/definitions/skale/titanTestnet.d.ts +2 -2
- package/_types/chains/definitions/songbird.d.ts +2 -2
- package/_types/chains/definitions/songbirdTestnet.d.ts +2 -2
- package/_types/chains/definitions/spicy.d.ts +2 -2
- package/_types/chains/definitions/stratis.d.ts +2 -2
- package/_types/chains/definitions/syscoin.d.ts +2 -2
- package/_types/chains/definitions/syscoinTestnet.d.ts +2 -2
- package/_types/chains/definitions/taiko.d.ts +2 -2
- package/_types/chains/definitions/taikoHekla.d.ts +2 -2
- package/_types/chains/definitions/taikoJolnir.d.ts +2 -2
- package/_types/chains/definitions/taikoKatla.d.ts +2 -2
- package/_types/chains/definitions/taikoTestnetSepolia.d.ts +2 -2
- package/_types/chains/definitions/taraxa.d.ts +2 -2
- package/_types/chains/definitions/taraxaTestnet.d.ts +2 -2
- package/_types/chains/definitions/telcoinTestnet.d.ts +2 -2
- package/_types/chains/definitions/telos.d.ts +2 -2
- package/_types/chains/definitions/telosTestnet.d.ts +2 -2
- package/_types/chains/definitions/tenet.d.ts +2 -2
- package/_types/chains/definitions/thaiChain.d.ts +2 -2
- package/_types/chains/definitions/thunderTestnet.d.ts +2 -2
- package/_types/chains/definitions/vechain.d.ts +2 -2
- package/_types/chains/definitions/wanchain.d.ts +2 -2
- package/_types/chains/definitions/wanchainTestnet.d.ts +2 -2
- package/_types/chains/definitions/wemix.d.ts +2 -2
- package/_types/chains/definitions/wemixTestnet.d.ts +2 -2
- package/_types/chains/definitions/xLayer.d.ts +2 -2
- package/_types/chains/definitions/xLayerTestnet.d.ts +2 -2
- package/_types/chains/definitions/xdc.d.ts +2 -2
- package/_types/chains/definitions/xdcTestnet.d.ts +2 -2
- package/_types/chains/definitions/yooldoVerse.d.ts +2 -2
- package/_types/chains/definitions/yooldoVerseTestnet.d.ts +2 -2
- package/_types/chains/definitions/zetachain.d.ts +2 -2
- package/_types/chains/definitions/zetachainAthensTestnet.d.ts +2 -2
- package/_types/chains/definitions/zhejiang.d.ts +2 -2
- package/_types/chains/definitions/zilliqa.d.ts +2 -2
- package/_types/chains/definitions/zilliqaTestnet.d.ts +2 -2
- package/_types/chains/definitions/zkFair.d.ts +2 -2
- package/_types/chains/definitions/zkFairTestnet.d.ts +2 -2
- package/_types/chains/definitions/zkSync.d.ts +171 -171
- package/_types/chains/definitions/zkSyncInMemoryNode.d.ts +171 -171
- package/_types/chains/definitions/zkSyncLocalNode.d.ts +171 -171
- package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +171 -171
- package/_types/chains/definitions/zkSyncTestnet.d.ts +171 -171
- package/_types/chains/definitions/zora.d.ts +207 -218
- package/_types/chains/definitions/zora.d.ts.map +1 -1
- package/_types/chains/definitions/zoraSepolia.d.ts +207 -218
- package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/zoraTestnet.d.ts +207 -218
- package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
- package/_types/clients/createClient.d.ts +1 -1
- package/_types/clients/createClient.d.ts.map +1 -1
- package/_types/clients/transports/fallback.d.ts +5 -4
- package/_types/clients/transports/fallback.d.ts.map +1 -1
- package/_types/clients/transports/http.d.ts +6 -7
- package/_types/clients/transports/http.d.ts.map +1 -1
- package/_types/constants/abis.d.ts +1 -0
- package/_types/constants/abis.d.ts.map +1 -1
- package/_types/constants/blob.d.ts +0 -2
- package/_types/constants/blob.d.ts.map +1 -1
- package/_types/constants/kzg.d.ts +0 -4
- package/_types/constants/kzg.d.ts.map +1 -1
- package/_types/errors/abi.d.ts +0 -10
- package/_types/errors/abi.d.ts.map +1 -1
- package/_types/errors/ccip.d.ts +1 -0
- package/_types/errors/ccip.d.ts.map +1 -1
- package/_types/errors/stateOverride.d.ts +1 -0
- package/_types/errors/stateOverride.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/experimental/eip5792/actions/getCapabilities.d.ts.map +1 -1
- package/_types/experimental/eip5792/actions/sendCalls.d.ts.map +1 -1
- package/_types/experimental/erc7715/types/permission.d.ts +5 -0
- package/_types/experimental/erc7715/types/permission.d.ts.map +1 -1
- package/_types/experimental/erc7715/types/signer.d.ts +3 -0
- package/_types/experimental/erc7715/types/signer.d.ts.map +1 -1
- package/_types/index.d.ts +10 -10
- package/_types/index.d.ts.map +1 -1
- package/_types/node/trustedSetups.d.ts +0 -1
- package/_types/node/trustedSetups.d.ts.map +1 -1
- package/_types/node/trustedSetups_cjs.d.ts +0 -1
- package/_types/node/trustedSetups_cjs.d.ts.map +1 -1
- package/_types/op-stack/abis.d.ts +0 -626
- package/_types/op-stack/abis.d.ts.map +1 -1
- package/_types/op-stack/actions/buildProveWithdrawal.d.ts +1 -0
- package/_types/op-stack/actions/buildProveWithdrawal.d.ts.map +1 -1
- package/_types/op-stack/actions/getWithdrawalStatus.d.ts +2 -1
- package/_types/op-stack/actions/getWithdrawalStatus.d.ts.map +1 -1
- package/_types/op-stack/chainConfig.d.ts +206 -217
- package/_types/op-stack/chainConfig.d.ts.map +1 -1
- package/_types/op-stack/formatters.d.ts +206 -217
- package/_types/op-stack/formatters.d.ts.map +1 -1
- package/_types/op-stack/index.d.ts.map +1 -1
- package/_types/types/account.d.ts +1 -1
- package/_types/types/account.d.ts.map +1 -1
- package/_types/types/block.d.ts +15 -15
- package/_types/types/block.d.ts.map +1 -1
- package/_types/types/chain.d.ts +28 -39
- package/_types/types/chain.d.ts.map +1 -1
- package/_types/types/eip1193.d.ts +2 -2
- package/_types/types/eip1193.d.ts.map +1 -1
- package/_types/types/fee.d.ts +20 -15
- package/_types/types/fee.d.ts.map +1 -1
- package/_types/types/kzg.d.ts +1 -1
- package/_types/types/kzg.d.ts.map +1 -1
- package/_types/types/proof.d.ts +3 -2
- package/_types/types/proof.d.ts.map +1 -1
- package/_types/types/rpc.d.ts +13 -13
- package/_types/types/rpc.d.ts.map +1 -1
- package/_types/types/transaction.d.ts +77 -77
- package/_types/types/transaction.d.ts.map +1 -1
- package/_types/types/transport.d.ts +1 -1
- package/_types/types/transport.d.ts.map +1 -1
- package/_types/types/utils.d.ts +18 -5
- package/_types/types/utils.d.ts.map +1 -1
- package/_types/utils/abi/decodeAbiParameters.d.ts +2 -1
- package/_types/utils/abi/decodeAbiParameters.d.ts.map +1 -1
- package/_types/utils/abi/encodeAbiParameters.d.ts +12 -11
- package/_types/utils/abi/encodeAbiParameters.d.ts.map +1 -1
- package/_types/utils/abi/getAbiItem.d.ts +6 -2
- package/_types/utils/abi/getAbiItem.d.ts.map +1 -1
- package/_types/utils/address/getAddress.d.ts +0 -2
- package/_types/utils/address/getAddress.d.ts.map +1 -1
- package/_types/utils/address/isAddress.d.ts +1 -0
- package/_types/utils/address/isAddress.d.ts.map +1 -1
- package/_types/utils/blob/toBlobs.d.ts +2 -1
- package/_types/utils/blob/toBlobs.d.ts.map +1 -1
- package/_types/utils/buildRequest.d.ts +1 -0
- package/_types/utils/buildRequest.d.ts.map +1 -1
- package/_types/utils/ccip.d.ts +4 -2
- package/_types/utils/ccip.d.ts.map +1 -1
- package/_types/utils/chain/extractChain.d.ts +4 -2
- package/_types/utils/chain/extractChain.d.ts.map +1 -1
- package/_types/utils/cursor.d.ts +7 -6
- package/_types/utils/cursor.d.ts.map +1 -1
- package/_types/utils/encoding/fromRlp.d.ts +3 -7
- package/_types/utils/encoding/fromRlp.d.ts.map +1 -1
- package/_types/utils/ens/avatar/parseAvatarRecord.d.ts +2 -1
- package/_types/utils/ens/avatar/parseAvatarRecord.d.ts.map +1 -1
- package/_types/utils/ens/avatar/utils.d.ts +4 -2
- package/_types/utils/ens/avatar/utils.d.ts.map +1 -1
- package/_types/utils/ens/errors.d.ts +1 -0
- package/_types/utils/ens/errors.d.ts.map +1 -1
- package/_types/utils/formatters/transaction.d.ts +65 -65
- package/_types/utils/formatters/transactionRequest.d.ts +41 -41
- package/_types/utils/hash/normalizeSignature.d.ts +3 -2
- package/_types/utils/hash/normalizeSignature.d.ts.map +1 -1
- package/_types/utils/index.d.ts +1 -1
- 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/promise/createBatchScheduler.d.ts +3 -2
- package/_types/utils/promise/createBatchScheduler.d.ts.map +1 -1
- package/_types/utils/promise/withCache.d.ts +4 -1
- package/_types/utils/promise/withCache.d.ts.map +1 -1
- package/_types/utils/rpc/id.d.ts +0 -5
- package/_types/utils/rpc/id.d.ts.map +1 -1
- package/_types/utils/rpc/ipc.d.ts +1 -0
- package/_types/utils/rpc/ipc.d.ts.map +1 -1
- package/_types/utils/stateOverride.d.ts +9 -5
- package/_types/utils/stateOverride.d.ts.map +1 -1
- package/_types/utils/transaction/parseTransaction.d.ts +5 -5
- package/_types/utils/transaction/parseTransaction.d.ts.map +1 -1
- package/_types/zksync/actions/deployContract.d.ts +2 -1
- package/_types/zksync/actions/deployContract.d.ts.map +1 -1
- package/_types/zksync/actions/estimateGasL1ToL2.d.ts.map +1 -1
- package/_types/zksync/actions/getAllBalances.d.ts.map +1 -1
- package/_types/zksync/actions/getL1Allowance.d.ts.map +1 -1
- package/_types/zksync/actions/getL1Balance.d.ts.map +1 -1
- package/_types/zksync/actions/getL1TokenBalance.d.ts +4 -4
- package/_types/zksync/actions/getL1TokenBalance.d.ts.map +1 -1
- package/_types/zksync/actions/sendTransaction.d.ts.map +1 -1
- package/_types/zksync/chainConfig.d.ts +170 -170
- package/_types/zksync/constants/contract.d.ts +0 -1
- package/_types/zksync/constants/contract.d.ts.map +1 -1
- package/_types/zksync/formatters.d.ts +170 -170
- package/_types/zksync/index.d.ts +1 -0
- package/_types/zksync/index.d.ts.map +1 -1
- package/_types/zksync/serializers.d.ts +1 -2
- package/_types/zksync/serializers.d.ts.map +1 -1
- package/_types/zksync/types/eip1193.d.ts +5 -5
- package/_types/zksync/types/eip1193.d.ts.map +1 -1
- package/_types/zksync/utils/abi/encodeDeployData.d.ts +5 -0
- package/_types/zksync/utils/abi/encodeDeployData.d.ts.map +1 -1
- package/_types/zksync/utils/assertEip712Request.d.ts +3 -1
- package/_types/zksync/utils/assertEip712Request.d.ts.map +1 -1
- package/_types/zksync/utils/hashBytecode.d.ts +5 -0
- package/_types/zksync/utils/hashBytecode.d.ts.map +1 -1
- package/accounts/hdKeyToAccount.ts +1 -2
- package/accounts/types.ts +1 -1
- package/actions/public/call.ts +5 -5
- package/actions/public/estimateGas.ts +3 -4
- package/actions/public/getBlockNumber.ts +9 -1
- package/actions/test/sendUnsignedTransaction.ts +2 -2
- package/actions/wallet/prepareTransactionRequest.ts +0 -20
- package/actions/wallet/signTypedData.ts +2 -0
- package/celo/fees.ts +0 -1
- package/celo/formatters.ts +3 -3
- package/celo/index.ts +5 -2
- package/celo/serializers.ts +0 -1
- package/celo/types.ts +89 -96
- package/celo/utils.ts +1 -0
- package/chains/definitions/defichainEvm.ts +1 -1
- package/chains/definitions/defichainEvmTestnet.ts +1 -1
- package/chains/definitions/optimism.ts +5 -0
- package/chains/definitions/sei.ts +1 -0
- package/clients/createClient.ts +4 -2
- package/clients/transports/fallback.ts +14 -12
- package/clients/transports/http.ts +9 -8
- package/constants/abis.ts +1 -0
- package/constants/blob.ts +1 -1
- package/constants/kzg.ts +0 -6
- package/errors/abi.ts +0 -13
- package/errors/ccip.ts +1 -0
- package/errors/stateOverride.ts +1 -0
- package/errors/version.ts +1 -1
- package/experimental/eip5792/actions/getCapabilities.ts +1 -1
- package/experimental/eip5792/actions/sendCalls.ts +1 -1
- package/experimental/erc7715/types/permission.ts +5 -0
- package/experimental/erc7715/types/signer.ts +3 -0
- package/index.ts +23 -5
- package/node/trustedSetups.ts +0 -5
- package/node/trustedSetups_cjs.ts +0 -5
- package/op-stack/abis.ts +0 -458
- package/op-stack/actions/buildProveWithdrawal.ts +1 -0
- package/op-stack/actions/getWithdrawalStatus.ts +6 -1
- package/op-stack/index.ts +0 -1
- package/package.json +3 -2
- package/types/account.ts +1 -11
- package/types/block.ts +16 -16
- package/types/chain.ts +44 -60
- package/types/eip1193.ts +2 -2
- package/types/fee.ts +23 -21
- package/types/kzg.ts +2 -1
- package/types/proof.ts +2 -2
- package/types/rpc.ts +30 -31
- package/types/transaction.ts +216 -207
- package/types/transport.ts +3 -1
- package/types/utils.ts +23 -5
- package/utils/abi/decodeAbiParameters.ts +6 -1
- package/utils/abi/encodeAbiParameters.ts +22 -19
- package/utils/abi/getAbiItem.ts +8 -2
- package/utils/address/getAddress.ts +1 -1
- package/utils/address/isAddress.ts +1 -0
- package/utils/blob/toBlobs.ts +2 -1
- package/utils/buildRequest.ts +1 -0
- package/utils/ccip.ts +11 -3
- package/utils/chain/extractChain.ts +2 -2
- package/utils/cursor.ts +16 -6
- package/utils/encoding/fromRlp.ts +3 -21
- package/utils/ens/avatar/parseAvatarRecord.ts +1 -1
- package/utils/ens/avatar/utils.ts +4 -2
- package/utils/ens/errors.ts +1 -0
- package/utils/hash/normalizeSignature.ts +2 -2
- package/utils/index.ts +3 -0
- package/utils/observe.ts +2 -0
- package/utils/promise/createBatchScheduler.ts +3 -2
- package/utils/promise/withCache.ts +3 -1
- package/utils/promise/withTimeout.ts +2 -2
- package/utils/rpc/id.ts +1 -1
- package/utils/rpc/ipc.ts +1 -0
- package/utils/stateOverride.ts +8 -5
- package/utils/transaction/parseTransaction.ts +9 -4
- package/utils/unit/parseUnits.ts +1 -1
- package/zksync/actions/deployContract.ts +8 -2
- package/zksync/actions/estimateGasL1ToL2.ts +1 -1
- package/zksync/actions/getAllBalances.ts +1 -1
- package/zksync/actions/getL1Allowance.ts +1 -1
- package/zksync/actions/getL1Balance.ts +1 -1
- package/zksync/actions/getL1TokenBalance.ts +10 -7
- package/zksync/actions/sendTransaction.ts +1 -2
- package/zksync/constants/contract.ts +0 -1
- package/zksync/index.ts +5 -0
- package/zksync/serializers.ts +1 -2
- package/zksync/types/eip1193.ts +32 -26
- package/zksync/utils/abi/encodeDeployData.ts +12 -2
- package/zksync/utils/assertEip712Request.ts +9 -2
- package/zksync/utils/hashBytecode.ts +14 -2
- package/_cjs/utils/accounts.js +0 -8
- package/_cjs/utils/accounts.js.map +0 -1
- package/_esm/utils/accounts.js +0 -7
- package/_esm/utils/accounts.js.map +0 -1
- package/_types/utils/accounts.d.ts +0 -3
- package/_types/utils/accounts.d.ts.map +0 -1
- package/utils/accounts.ts +0 -7
@@ -14,7 +14,7 @@ export declare const rpcTransactionType: {
|
|
14
14
|
export type FormatTransactionRequestErrorType = ErrorType;
|
15
15
|
export declare function formatTransactionRequest(request: ExactPartial<TransactionRequest>): RpcTransactionRequest;
|
16
16
|
export type DefineTransactionRequestErrorType = DefineFormatterErrorType | ErrorType;
|
17
|
-
export declare const defineTransactionRequest: <TOverrideParameters, TOverrideReturnType, TExclude extends ("
|
17
|
+
export declare const defineTransactionRequest: <TOverrideParameters, TOverrideReturnType, TExclude extends ("type" | "gasPrice" | "maxFeePerBlobGas" | "maxFeePerGas" | "maxPriorityFeePerGas" | "to" | "data" | "from" | "gas" | "nonce" | "value" | "blobs" | "accessList" | "blobVersionedHashes" | "kzg" | "sidecars" | keyof TOverrideParameters)[] = []>({ exclude, format: overrides, }: {
|
18
18
|
exclude?: TExclude | undefined;
|
19
19
|
format: (_: TOverrideParameters) => TOverrideReturnType;
|
20
20
|
}) => {
|
@@ -26,13 +26,13 @@ export declare const defineTransactionRequest: <TOverrideParameters, TOverrideRe
|
|
26
26
|
nonce?: `0x${string}` | undefined;
|
27
27
|
to?: `0x${string}` | null | undefined;
|
28
28
|
value?: `0x${string}` | undefined;
|
29
|
+
accessList?: undefined;
|
30
|
+
blobs?: undefined;
|
31
|
+
type?: "0x0" | undefined;
|
29
32
|
gasPrice?: `0x${string}` | undefined;
|
30
33
|
maxFeePerBlobGas?: undefined;
|
31
34
|
maxFeePerGas?: undefined;
|
32
35
|
maxPriorityFeePerGas?: undefined;
|
33
|
-
accessList?: undefined;
|
34
|
-
blobs?: undefined;
|
35
|
-
type?: "0x0" | undefined;
|
36
36
|
blobVersionedHashes?: undefined;
|
37
37
|
kzg?: undefined;
|
38
38
|
sidecars?: undefined;
|
@@ -43,13 +43,13 @@ export declare const defineTransactionRequest: <TOverrideParameters, TOverrideRe
|
|
43
43
|
nonce?: `0x${string}` | undefined;
|
44
44
|
to?: `0x${string}` | null | undefined;
|
45
45
|
value?: `0x${string}` | undefined;
|
46
|
+
accessList?: undefined;
|
47
|
+
blobs?: undefined;
|
48
|
+
type?: "0x0" | undefined;
|
46
49
|
gasPrice?: `0x${string}` | undefined;
|
47
50
|
maxFeePerBlobGas?: undefined;
|
48
51
|
maxFeePerGas?: undefined;
|
49
52
|
maxPriorityFeePerGas?: undefined;
|
50
|
-
accessList?: undefined;
|
51
|
-
blobs?: undefined;
|
52
|
-
type?: "0x0" | undefined;
|
53
53
|
blobVersionedHashes?: undefined;
|
54
54
|
kzg?: undefined;
|
55
55
|
sidecars?: undefined;
|
@@ -60,13 +60,13 @@ export declare const defineTransactionRequest: <TOverrideParameters, TOverrideRe
|
|
60
60
|
nonce?: `0x${string}` | undefined;
|
61
61
|
to?: `0x${string}` | null | undefined;
|
62
62
|
value?: `0x${string}` | undefined;
|
63
|
+
accessList?: undefined;
|
64
|
+
blobs?: undefined;
|
65
|
+
type?: "0x0" | undefined;
|
63
66
|
gasPrice?: `0x${string}` | undefined;
|
64
67
|
maxFeePerBlobGas?: undefined;
|
65
68
|
maxFeePerGas?: undefined;
|
66
69
|
maxPriorityFeePerGas?: undefined;
|
67
|
-
accessList?: undefined;
|
68
|
-
blobs?: undefined;
|
69
|
-
type?: "0x0" | undefined;
|
70
70
|
blobVersionedHashes?: undefined;
|
71
71
|
kzg?: undefined;
|
72
72
|
sidecars?: undefined;
|
@@ -77,13 +77,13 @@ export declare const defineTransactionRequest: <TOverrideParameters, TOverrideRe
|
|
77
77
|
nonce?: `0x${string}` | undefined;
|
78
78
|
to?: `0x${string}` | null | undefined;
|
79
79
|
value?: `0x${string}` | undefined;
|
80
|
+
accessList?: undefined;
|
81
|
+
blobs?: undefined;
|
82
|
+
type?: "0x0" | undefined;
|
80
83
|
gasPrice?: `0x${string}` | undefined;
|
81
84
|
maxFeePerBlobGas?: undefined;
|
82
85
|
maxFeePerGas?: undefined;
|
83
86
|
maxPriorityFeePerGas?: undefined;
|
84
|
-
accessList?: undefined;
|
85
|
-
blobs?: undefined;
|
86
|
-
type?: "0x0" | undefined;
|
87
87
|
blobVersionedHashes?: undefined;
|
88
88
|
kzg?: undefined;
|
89
89
|
sidecars?: undefined;
|
@@ -94,13 +94,13 @@ export declare const defineTransactionRequest: <TOverrideParameters, TOverrideRe
|
|
94
94
|
nonce?: `0x${string}` | undefined;
|
95
95
|
to?: `0x${string}` | null | undefined;
|
96
96
|
value?: `0x${string}` | undefined;
|
97
|
+
accessList?: import("../../types/transaction.js").AccessList | undefined;
|
98
|
+
blobs?: undefined;
|
99
|
+
type?: "0x1" | undefined;
|
97
100
|
gasPrice?: `0x${string}` | undefined;
|
98
101
|
maxFeePerBlobGas?: undefined;
|
99
102
|
maxFeePerGas?: undefined;
|
100
103
|
maxPriorityFeePerGas?: undefined;
|
101
|
-
accessList?: import("../../types/transaction.js").AccessList | undefined;
|
102
|
-
blobs?: undefined;
|
103
|
-
type?: "0x1" | undefined;
|
104
104
|
blobVersionedHashes?: undefined;
|
105
105
|
kzg?: undefined;
|
106
106
|
sidecars?: undefined;
|
@@ -111,13 +111,13 @@ export declare const defineTransactionRequest: <TOverrideParameters, TOverrideRe
|
|
111
111
|
nonce?: `0x${string}` | undefined;
|
112
112
|
to?: `0x${string}` | null | undefined;
|
113
113
|
value?: `0x${string}` | undefined;
|
114
|
+
accessList?: import("../../types/transaction.js").AccessList | undefined;
|
115
|
+
blobs?: undefined;
|
116
|
+
type?: "0x1" | undefined;
|
114
117
|
gasPrice?: `0x${string}` | undefined;
|
115
118
|
maxFeePerBlobGas?: undefined;
|
116
119
|
maxFeePerGas?: undefined;
|
117
120
|
maxPriorityFeePerGas?: undefined;
|
118
|
-
accessList?: import("../../types/transaction.js").AccessList | undefined;
|
119
|
-
blobs?: undefined;
|
120
|
-
type?: "0x1" | undefined;
|
121
121
|
blobVersionedHashes?: undefined;
|
122
122
|
kzg?: undefined;
|
123
123
|
sidecars?: undefined;
|
@@ -128,13 +128,13 @@ export declare const defineTransactionRequest: <TOverrideParameters, TOverrideRe
|
|
128
128
|
nonce?: `0x${string}` | undefined;
|
129
129
|
to?: `0x${string}` | null | undefined;
|
130
130
|
value?: `0x${string}` | undefined;
|
131
|
+
accessList?: import("../../types/transaction.js").AccessList | undefined;
|
132
|
+
blobs?: undefined;
|
133
|
+
type?: "0x1" | undefined;
|
131
134
|
gasPrice?: `0x${string}` | undefined;
|
132
135
|
maxFeePerBlobGas?: undefined;
|
133
136
|
maxFeePerGas?: undefined;
|
134
137
|
maxPriorityFeePerGas?: undefined;
|
135
|
-
accessList?: import("../../types/transaction.js").AccessList | undefined;
|
136
|
-
blobs?: undefined;
|
137
|
-
type?: "0x1" | undefined;
|
138
138
|
blobVersionedHashes?: undefined;
|
139
139
|
kzg?: undefined;
|
140
140
|
sidecars?: undefined;
|
@@ -145,13 +145,13 @@ export declare const defineTransactionRequest: <TOverrideParameters, TOverrideRe
|
|
145
145
|
nonce?: `0x${string}` | undefined;
|
146
146
|
to?: `0x${string}` | null | undefined;
|
147
147
|
value?: `0x${string}` | undefined;
|
148
|
+
accessList?: import("../../types/transaction.js").AccessList | undefined;
|
149
|
+
blobs?: undefined;
|
150
|
+
type?: "0x1" | undefined;
|
148
151
|
gasPrice?: `0x${string}` | undefined;
|
149
152
|
maxFeePerBlobGas?: undefined;
|
150
153
|
maxFeePerGas?: undefined;
|
151
154
|
maxPriorityFeePerGas?: undefined;
|
152
|
-
accessList?: import("../../types/transaction.js").AccessList | undefined;
|
153
|
-
blobs?: undefined;
|
154
|
-
type?: "0x1" | undefined;
|
155
155
|
blobVersionedHashes?: undefined;
|
156
156
|
kzg?: undefined;
|
157
157
|
sidecars?: undefined;
|
@@ -230,16 +230,16 @@ export declare const defineTransactionRequest: <TOverrideParameters, TOverrideRe
|
|
230
230
|
nonce?: `0x${string}` | undefined;
|
231
231
|
value?: `0x${string}` | undefined;
|
232
232
|
to: `0x${string}` | null;
|
233
|
-
gasPrice?: undefined;
|
234
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
235
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
236
|
-
maxFeePerBlobGas: `0x${string}`;
|
237
233
|
accessList?: import("../../types/transaction.js").AccessList | undefined;
|
238
234
|
blobs: readonly `0x${string}`[] | readonly Uint8Array[];
|
239
235
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
240
236
|
kzg?: import("../../index.js").Kzg | undefined;
|
241
237
|
sidecars?: readonly import("../../index.js").BlobSidecar<`0x${string}`>[] | undefined;
|
242
238
|
type?: "0x3" | undefined;
|
239
|
+
gasPrice?: undefined;
|
240
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
241
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
242
|
+
maxFeePerBlobGas: `0x${string}`;
|
243
243
|
} extends infer T_11 ? { [K_7 in keyof T_11 as K_7 extends keyof TOverrideReturnType ? TOverrideReturnType[K_7] extends void ? never : K_7 : K_7]: K_7 extends keyof TOverrideReturnType ? TOverrideReturnType[K_7] : {
|
244
244
|
data?: `0x${string}` | undefined;
|
245
245
|
from: `0x${string}`;
|
@@ -247,16 +247,16 @@ export declare const defineTransactionRequest: <TOverrideParameters, TOverrideRe
|
|
247
247
|
nonce?: `0x${string}` | undefined;
|
248
248
|
value?: `0x${string}` | undefined;
|
249
249
|
to: `0x${string}` | null;
|
250
|
-
gasPrice?: undefined;
|
251
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
252
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
253
|
-
maxFeePerBlobGas: `0x${string}`;
|
254
250
|
accessList?: import("../../types/transaction.js").AccessList | undefined;
|
255
251
|
blobs: readonly `0x${string}`[] | readonly Uint8Array[];
|
256
252
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
257
253
|
kzg?: import("../../index.js").Kzg | undefined;
|
258
254
|
sidecars?: readonly import("../../index.js").BlobSidecar<`0x${string}`>[] | undefined;
|
259
255
|
type?: "0x3" | undefined;
|
256
|
+
gasPrice?: undefined;
|
257
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
258
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
259
|
+
maxFeePerBlobGas: `0x${string}`;
|
260
260
|
}[K_7]; } : never) & TOverrideReturnType extends infer T_9 ? { [K_6 in keyof T_9]: (({
|
261
261
|
data?: `0x${string}` | undefined;
|
262
262
|
from: `0x${string}`;
|
@@ -264,16 +264,16 @@ export declare const defineTransactionRequest: <TOverrideParameters, TOverrideRe
|
|
264
264
|
nonce?: `0x${string}` | undefined;
|
265
265
|
value?: `0x${string}` | undefined;
|
266
266
|
to: `0x${string}` | null;
|
267
|
-
gasPrice?: undefined;
|
268
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
269
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
270
|
-
maxFeePerBlobGas: `0x${string}`;
|
271
267
|
accessList?: import("../../types/transaction.js").AccessList | undefined;
|
272
268
|
blobs: readonly `0x${string}`[] | readonly Uint8Array[];
|
273
269
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
274
270
|
kzg?: import("../../index.js").Kzg | undefined;
|
275
271
|
sidecars?: readonly import("../../index.js").BlobSidecar<`0x${string}`>[] | undefined;
|
276
272
|
type?: "0x3" | undefined;
|
273
|
+
gasPrice?: undefined;
|
274
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
275
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
276
|
+
maxFeePerBlobGas: `0x${string}`;
|
277
277
|
} extends infer T_10 ? { [K_7 in keyof T_10 as K_7 extends keyof TOverrideReturnType ? TOverrideReturnType[K_7] extends void ? never : K_7 : K_7]: K_7 extends keyof TOverrideReturnType ? TOverrideReturnType[K_7] : {
|
278
278
|
data?: `0x${string}` | undefined;
|
279
279
|
from: `0x${string}`;
|
@@ -281,16 +281,16 @@ export declare const defineTransactionRequest: <TOverrideParameters, TOverrideRe
|
|
281
281
|
nonce?: `0x${string}` | undefined;
|
282
282
|
value?: `0x${string}` | undefined;
|
283
283
|
to: `0x${string}` | null;
|
284
|
-
gasPrice?: undefined;
|
285
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
286
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
287
|
-
maxFeePerBlobGas: `0x${string}`;
|
288
284
|
accessList?: import("../../types/transaction.js").AccessList | undefined;
|
289
285
|
blobs: readonly `0x${string}`[] | readonly Uint8Array[];
|
290
286
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
291
287
|
kzg?: import("../../index.js").Kzg | undefined;
|
292
288
|
sidecars?: readonly import("../../index.js").BlobSidecar<`0x${string}`>[] | undefined;
|
293
289
|
type?: "0x3" | undefined;
|
290
|
+
gasPrice?: undefined;
|
291
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
292
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
293
|
+
maxFeePerBlobGas: `0x${string}`;
|
294
294
|
}[K_7]; } : never) & TOverrideReturnType)[K_6]; } : never)) & { [_key in TExclude[number]]: never; };
|
295
295
|
type: "transactionRequest";
|
296
296
|
};
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import type { ErrorType } from '../../errors/utils.js';
|
2
|
-
|
3
|
-
|
2
|
+
type NormalizeSignatureParameters = string;
|
3
|
+
type NormalizeSignatureReturnType = string;
|
4
4
|
export type NormalizeSignatureErrorType = ErrorType;
|
5
5
|
export declare function normalizeSignature(signature: NormalizeSignatureParameters): NormalizeSignatureReturnType;
|
6
|
+
export {};
|
6
7
|
//# sourceMappingURL=normalizeSignature.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"normalizeSignature.d.ts","sourceRoot":"","sources":["../../../utils/hash/normalizeSignature.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEtD,
|
1
|
+
{"version":3,"file":"normalizeSignature.d.ts","sourceRoot":"","sources":["../../../utils/hash/normalizeSignature.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEtD,KAAK,4BAA4B,GAAG,MAAM,CAAA;AAC1C,KAAK,4BAA4B,GAAG,MAAM,CAAA;AAC1C,MAAM,MAAM,2BAA2B,GAAG,SAAS,CAAA;AAEnD,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,4BAA4B,GACtC,4BAA4B,CAsD9B"}
|
package/_types/utils/index.d.ts
CHANGED
@@ -12,7 +12,7 @@ export { type HttpRpcClient, type HttpRpcClientOptions, type HttpRequestErrorTyp
|
|
12
12
|
export { type GetSocketRpcClientErrorType, type GetSocketRpcClientParameters, type GetSocketParameters, type Socket, type SocketRpcClient, getSocketRpcClient, socketClientCache, } from './rpc/socket.js';
|
13
13
|
export { getWebSocketRpcClient } from './rpc/webSocket.js';
|
14
14
|
export { type StringifyErrorType, stringify } from './stringify.js';
|
15
|
-
export { type DomainSeparatorErrorType, validateTypedData, } from './typedData.js';
|
15
|
+
export { type DomainSeparatorErrorType, type SerializeTypedDataErrorType, type ValidateTypedDataErrorType, serializeTypedData, validateTypedData, } from './typedData.js';
|
16
16
|
export { type DecodeAbiParametersErrorType, type DecodeAbiParametersReturnType, decodeAbiParameters, } from './abi/decodeAbiParameters.js';
|
17
17
|
export { type DecodeErrorResultErrorType, type DecodeErrorResultParameters, type DecodeErrorResultReturnType, decodeErrorResult, } from './abi/decodeErrorResult.js';
|
18
18
|
export { type DecodeEventLogErrorType, type DecodeEventLogParameters, type DecodeEventLogReturnType, decodeEventLog, } from './abi/decodeEventLog.js';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../utils/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,gBAAgB,EACrB,YAAY,GACb,MAAM,mBAAmB,CAAA;AAE1B,OAAO,EACL,KAAK,uBAAuB,EAC5B,WAAW;AACX,qCAAqC;AACrC,WAAW,IAAI,SAAS,EACxB,cAAc,EACd,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,WAAW,CAAA;AAElB,OAAO,EACL,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,kBAAkB,GACnB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,YAAY,GACb,MAAM,yBAAyB,CAAA;AAChC,OA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';
|
|
3
3
|
type Callback = ((...args: any[]) => any) | undefined;
|
4
4
|
type Callbacks = Record<string, Callback>;
|
5
5
|
export type ObserveErrorType = ErrorType;
|
6
|
+
/** @internal */
|
6
7
|
export declare const listenersCache: Map<string, {
|
7
8
|
id: number;
|
8
9
|
fns: Callbacks;
|
9
10
|
}[]>;
|
11
|
+
/** @internal */
|
10
12
|
export declare const cleanupCache: Map<string, () => void>;
|
11
13
|
type EmitFunction<TCallbacks extends Callbacks> = (emit: TCallbacks) => MaybePromise<void | (() => void)>;
|
12
14
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"observe.d.ts","sourceRoot":"","sources":["../../utils/observe.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAErD,KAAK,QAAQ,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,GAAG,SAAS,CAAA;AACrD,KAAK,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;AAEzC,MAAM,MAAM,gBAAgB,GAAG,SAAS,CAAA;AAExC,eAAO,MAAM,cAAc;QAEnB,MAAM;SAAO,SAAS;IAC3B,CAAA;AACH,eAAO,MAAM,YAAY,oBAAuC,IAAI,CAAG,CAAA;AAEvE,KAAK,YAAY,CAAC,UAAU,SAAS,SAAS,IAAI,CAChD,IAAI,EAAE,UAAU,KACb,YAAY,CAAC,IAAI,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC,CAAA;AAItC;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,UAAU,SAAS,SAAS,EAClD,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,UAAU,EACrB,EAAE,EAAE,YAAY,CAAC,UAAU,CAAC,cA2C7B"}
|
1
|
+
{"version":3,"file":"observe.d.ts","sourceRoot":"","sources":["../../utils/observe.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAErD,KAAK,QAAQ,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,GAAG,SAAS,CAAA;AACrD,KAAK,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;AAEzC,MAAM,MAAM,gBAAgB,GAAG,SAAS,CAAA;AAExC,gBAAgB;AAChB,eAAO,MAAM,cAAc;QAEnB,MAAM;SAAO,SAAS;IAC3B,CAAA;AACH,gBAAgB;AAChB,eAAO,MAAM,YAAY,oBAAuC,IAAI,CAAG,CAAA;AAEvE,KAAK,YAAY,CAAC,UAAU,SAAS,SAAS,IAAI,CAChD,IAAI,EAAE,UAAU,KACb,YAAY,CAAC,IAAI,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC,CAAA;AAItC;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,UAAU,SAAS,SAAS,EAClD,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,UAAU,EACrB,EAAE,EAAE,YAAY,CAAC,UAAU,CAAC,cA2C7B"}
|
@@ -4,18 +4,19 @@ type Resolved<TReturnType extends readonly unknown[] = any> = [
|
|
4
4
|
results: TReturnType
|
5
5
|
];
|
6
6
|
type BatchResultsCompareFn<TResult = unknown> = (a: TResult, b: TResult) => number;
|
7
|
-
|
7
|
+
type CreateBatchSchedulerArguments<TParameters = unknown, TReturnType extends readonly unknown[] = readonly unknown[]> = {
|
8
8
|
fn: (args: TParameters[]) => Promise<TReturnType>;
|
9
9
|
id: number | string;
|
10
10
|
shouldSplitBatch?: ((args: TParameters[]) => boolean) | undefined;
|
11
11
|
wait?: number | undefined;
|
12
12
|
sort?: BatchResultsCompareFn<TReturnType[number]> | undefined;
|
13
13
|
};
|
14
|
-
|
14
|
+
type CreateBatchSchedulerReturnType<TParameters = unknown, TReturnType extends readonly unknown[] = readonly unknown[]> = {
|
15
15
|
flush: () => void;
|
16
16
|
schedule: TParameters extends undefined ? (args?: TParameters | undefined) => Promise<Resolved<TReturnType>> : (args: TParameters) => Promise<Resolved<TReturnType>>;
|
17
17
|
};
|
18
18
|
export type CreateBatchSchedulerErrorType = ErrorType;
|
19
|
+
/** @internal */
|
19
20
|
export declare function createBatchScheduler<TParameters, TReturnType extends readonly unknown[]>({ fn, id, shouldSplitBatch, wait, sort, }: CreateBatchSchedulerArguments<TParameters, TReturnType>): CreateBatchSchedulerReturnType<TParameters, TReturnType>;
|
20
21
|
export {};
|
21
22
|
//# sourceMappingURL=createBatchScheduler.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createBatchScheduler.d.ts","sourceRoot":"","sources":["../../../utils/promise/createBatchScheduler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEtD,KAAK,QAAQ,CAAC,WAAW,SAAS,SAAS,OAAO,EAAE,GAAG,GAAG,IAAI;IAC5D,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC;IAC3B,OAAO,EAAE,WAAW;CACrB,CAAA;AASD,KAAK,qBAAqB,CAAC,OAAO,GAAG,OAAO,IAAI,CAC9C,CAAC,EAAE,OAAO,EACV,CAAC,EAAE,OAAO,KACP,MAAM,CAAA;AAEX,
|
1
|
+
{"version":3,"file":"createBatchScheduler.d.ts","sourceRoot":"","sources":["../../../utils/promise/createBatchScheduler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEtD,KAAK,QAAQ,CAAC,WAAW,SAAS,SAAS,OAAO,EAAE,GAAG,GAAG,IAAI;IAC5D,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC;IAC3B,OAAO,EAAE,WAAW;CACrB,CAAA;AASD,KAAK,qBAAqB,CAAC,OA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C,CA2D3D"}
|
@@ -1,5 +1,7 @@
|
|
1
1
|
import type { ErrorType } from '../../errors/utils.js';
|
2
|
+
/** @internal */
|
2
3
|
export declare const promiseCache: Map<any, any>;
|
4
|
+
/** @internal */
|
3
5
|
export declare const responseCache: Map<any, any>;
|
4
6
|
export type GetCacheErrorType = ErrorType;
|
5
7
|
export declare function getCache<TData>(cacheKey: string): {
|
@@ -24,7 +26,7 @@ export declare function getCache<TData>(cacheKey: string): {
|
|
24
26
|
}>;
|
25
27
|
};
|
26
28
|
};
|
27
|
-
|
29
|
+
type WithCacheParameters = {
|
28
30
|
/** The key to cache the data against. */
|
29
31
|
cacheKey: string;
|
30
32
|
/** The time that cached data will remain in memory. Default: Infinity (no expiry) */
|
@@ -35,4 +37,5 @@ export type WithCacheParameters = {
|
|
35
37
|
* subsequent invocations against a provided cache key.
|
36
38
|
*/
|
37
39
|
export declare function withCache<TData>(fn: () => Promise<TData>, { cacheKey, cacheTime }: WithCacheParameters): Promise<TData>;
|
40
|
+
export {};
|
38
41
|
//# sourceMappingURL=withCache.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"withCache.d.ts","sourceRoot":"","sources":["../../../utils/promise/withCache.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEtD,eAAO,MAAM,YAAY,eAA0B,CAAA;AACnD,eAAO,MAAM,aAAa,eAA0B,CAAA;AAEpD,MAAM,MAAM,iBAAiB,GAAG,SAAS,CAAA;AAEzC,wBAAgB,QAAQ,CAAC,KAAK,EAAE,QAAQ,EAAE,MAAM;;;;;;;;;;qBAQP,IAAI;kBAAQ,KAAK;;;qBAAjB,IAAI;kBAAQ,KAAK;;qBAAjB,IAAI;kBAAQ,KAAK;;;EAazD;AAED,
|
1
|
+
{"version":3,"file":"withCache.d.ts","sourceRoot":"","sources":["../../../utils/promise/withCache.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEtD,gBAAgB;AAChB,eAAO,MAAM,YAAY,eAA0B,CAAA;AACnD,gBAAgB;AAChB,eAAO,MAAM,aAAa,eAA0B,CAAA;AAEpD,MAAM,MAAM,iBAAiB,GAAG,SAAS,CAAA;AAEzC,wBAAgB,QAAQ,CAAC,KAAK,EAAE,QAAQ,EAAE,MAAM;;;;;;;;;;qBAQP,IAAI;kBAAQ,KAAK;;;qBAAjB,IAAI;kBAAQ,KAAK;;qBAAjB,IAAI;kBAAQ,KAAK;;;EAazD;AAED,KAAK,mBAAmB,GAAG;IACzB,yCAAyC;IACzC,QAAQ,EAAE,MAAM,CAAA;IAChB,qFAAqF;IACrF,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC/B,CAAA;AAED;;;GAGG;AACH,wBAAsB,SAAS,CAAC,KAAK,EACnC,EAAE,EAAE,MAAM,OAAO,CAAC,KAAK,CAAC,EACxB,EAAE,QAAQ,EAAE,SAAoC,EAAE,EAAE,mBAAmB,kBAmCxE"}
|
package/_types/utils/rpc/id.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../utils/rpc/id.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../utils/rpc/id.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,OAAO;;;;CAAgC,CAAA"}
|
@@ -3,6 +3,7 @@
|
|
3
3
|
import { type Socket as NetSocket } from 'node:net';
|
4
4
|
import { type GetSocketRpcClientParameters, type SocketRpcClient } from './socket.js';
|
5
5
|
export type GetIpcRpcClientOptions = Pick<GetSocketRpcClientParameters, 'reconnect'>;
|
6
|
+
/** @internal */
|
6
7
|
export declare function extractMessages(buffer: Buffer): [Buffer[], Buffer];
|
7
8
|
export type IpcRpcClient = SocketRpcClient<NetSocket>;
|
8
9
|
export declare function getIpcRpcClient(path: string, options?: GetIpcRpcClientOptions): Promise<IpcRpcClient>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ipc.d.ts","sourceRoot":"","sources":["../../../utils/rpc/ipc.ts"],"names":[],"mappings":";;AAAA,OAAO,EAAE,KAAK,MAAM,IAAI,SAAS,EAAW,MAAM,UAAU,CAAA;AAE5D,OAAO,EACL,KAAK,4BAA4B,EAEjC,KAAK,eAAe,EAErB,MAAM,aAAa,CAAA;AAEpB,MAAM,MAAM,sBAAsB,GAAG,IAAI,CACvC,4BAA4B,EAC5B,WAAW,CACZ,CAAA;AAKD,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,EAAE,MAAM,CAAC,CAoBlE;AAED,MAAM,MAAM,YAAY,GAAG,eAAe,CAAC,SAAS,CAAC,CAAA;AAErD,wBAAsB,eAAe,CACnC,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,YAAY,CAAC,CA4DvB"}
|
1
|
+
{"version":3,"file":"ipc.d.ts","sourceRoot":"","sources":["../../../utils/rpc/ipc.ts"],"names":[],"mappings":";;AAAA,OAAO,EAAE,KAAK,MAAM,IAAI,SAAS,EAAW,MAAM,UAAU,CAAA;AAE5D,OAAO,EACL,KAAK,4BAA4B,EAEjC,KAAK,eAAe,EAErB,MAAM,aAAa,CAAA;AAEpB,MAAM,MAAM,sBAAsB,GAAG,IAAI,CACvC,4BAA4B,EAC5B,WAAW,CACZ,CAAA;AAKD,gBAAgB;AAChB,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,EAAE,MAAM,CAAC,CAoBlE;AAED,MAAM,MAAM,YAAY,GAAG,eAAe,CAAC,SAAS,CAAC,CAAA;AAErD,wBAAsB,eAAe,CACnC,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,YAAY,CAAC,CA4DvB"}
|
@@ -4,13 +4,17 @@ import { type AccountStateConflictErrorType, type StateAssignmentConflictErrorTy
|
|
4
4
|
import type { RpcAccountStateOverride, RpcStateMapping, RpcStateOverride } from '../types/rpc.js';
|
5
5
|
import type { StateMapping, StateOverride } from '../types/stateOverride.js';
|
6
6
|
import { type NumberToHexErrorType } from './encoding/toHex.js';
|
7
|
-
|
8
|
-
|
7
|
+
type SerializeStateMappingParameters = StateMapping | undefined;
|
8
|
+
type SerializeStateMappingErrorType = InvalidBytesLengthErrorType;
|
9
|
+
/** @internal */
|
9
10
|
export declare function serializeStateMapping(stateMapping: SerializeStateMappingParameters): RpcStateMapping | undefined;
|
10
|
-
|
11
|
-
|
11
|
+
type SerializeAccountStateOverrideParameters = Omit<StateOverride[number], 'address'>;
|
12
|
+
type SerializeAccountStateOverrideErrorType = NumberToHexErrorType | StateAssignmentConflictErrorType | SerializeStateMappingErrorType;
|
13
|
+
/** @internal */
|
12
14
|
export declare function serializeAccountStateOverride(parameters: SerializeAccountStateOverrideParameters): RpcAccountStateOverride;
|
13
|
-
|
15
|
+
type SerializeStateOverrideParameters = StateOverride | undefined;
|
14
16
|
export type SerializeStateOverrideErrorType = InvalidAddressErrorType | AccountStateConflictErrorType | SerializeAccountStateOverrideErrorType;
|
17
|
+
/** @internal */
|
15
18
|
export declare function serializeStateOverride(parameters?: SerializeStateOverrideParameters): RpcStateOverride | undefined;
|
19
|
+
export {};
|
16
20
|
//# sourceMappingURL=stateOverride.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"stateOverride.d.ts","sourceRoot":"","sources":["../../utils/stateOverride.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAEL,KAAK,2BAA2B,EACjC,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAEL,KAAK,6BAA6B,EAElC,KAAK,gCAAgC,EACtC,MAAM,4BAA4B,CAAA;AACnC,OAAO,KAAK,EACV,uBAAuB,EACvB,eAAe,EACf,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gBAAgB;AAChB,wBAAgB,sBAAsB,CACpC,UAAU,CAAC,EAAE,gCAAgC,GAC5C,gBAAgB,GAAG,SAAS,CAW9B"}
|
@@ -15,13 +15,13 @@ import { type GetSerializedTransactionType, type GetSerializedTransactionTypeErr
|
|
15
15
|
export type ParseTransactionReturnType<TSerialized extends TransactionSerializedGeneric = TransactionSerialized, TType extends TransactionType = GetSerializedTransactionType<TSerialized>> = IsNarrowable<TSerialized, Hex> extends true ? (TType extends 'eip1559' ? TransactionSerializableEIP1559 : never) | (TType extends 'eip2930' ? TransactionSerializableEIP2930 : never) | (TType extends 'eip4844' ? TransactionSerializableEIP4844 : never) | (TType extends 'legacy' ? TransactionSerializableLegacy : never) : TransactionSerializable;
|
16
16
|
export type ParseTransactionErrorType = GetSerializedTransactionTypeErrorType | ParseTransactionEIP1559ErrorType | ParseTransactionEIP2930ErrorType | ParseTransactionEIP4844ErrorType | ParseTransactionLegacyErrorType;
|
17
17
|
export declare function parseTransaction<const TSerialized extends TransactionSerializedGeneric>(serializedTransaction: TSerialized): ParseTransactionReturnType<TSerialized>;
|
18
|
-
type ParseTransactionEIP4844ErrorType = AssertTransactionEIP4844ErrorType | ToTransactionArrayErrorType | HexToBigIntErrorType | HexToNumberErrorType | InvalidLegacyVErrorType | InvalidSerializedTransactionErrorType | IsHexErrorType | ParseEIP155SignatureErrorType | ErrorType;
|
19
|
-
type ParseTransactionEIP1559ErrorType = AssertTransactionEIP1559ErrorType | ToTransactionArrayErrorType | HexToBigIntErrorType | HexToNumberErrorType | InvalidLegacyVErrorType | InvalidSerializedTransactionErrorType | IsHexErrorType | ParseEIP155SignatureErrorType | ErrorType;
|
20
|
-
type ParseTransactionEIP2930ErrorType = AssertTransactionEIP2930ErrorType | ToTransactionArrayErrorType | HexToBigIntErrorType | HexToNumberErrorType | InvalidLegacyVErrorType | InvalidSerializedTransactionErrorType | IsHexErrorType | ParseEIP155SignatureErrorType | ErrorType;
|
18
|
+
type ParseTransactionEIP4844ErrorType = ToTransactionArrayErrorType | AssertTransactionEIP4844ErrorType | ToTransactionArrayErrorType | HexToBigIntErrorType | HexToNumberErrorType | InvalidLegacyVErrorType | InvalidSerializedTransactionErrorType | IsHexErrorType | ParseEIP155SignatureErrorType | ErrorType;
|
19
|
+
type ParseTransactionEIP1559ErrorType = ToTransactionArrayErrorType | AssertTransactionEIP1559ErrorType | ToTransactionArrayErrorType | HexToBigIntErrorType | HexToNumberErrorType | InvalidLegacyVErrorType | InvalidSerializedTransactionErrorType | IsHexErrorType | ParseEIP155SignatureErrorType | ParseAccessListErrorType | ErrorType;
|
20
|
+
type ParseTransactionEIP2930ErrorType = ToTransactionArrayErrorType | AssertTransactionEIP2930ErrorType | ToTransactionArrayErrorType | HexToBigIntErrorType | HexToNumberErrorType | InvalidLegacyVErrorType | InvalidSerializedTransactionErrorType | IsHexErrorType | ParseEIP155SignatureErrorType | ParseAccessListErrorType | ErrorType;
|
21
21
|
type ParseTransactionLegacyErrorType = AssertTransactionLegacyErrorType | FromRlpErrorType | HexToBigIntErrorType | HexToNumberErrorType | InvalidLegacyVErrorType | InvalidSerializedTransactionErrorType | IsHexErrorType | ErrorType;
|
22
|
-
|
22
|
+
type ToTransactionArrayErrorType = FromRlpErrorType | ErrorType;
|
23
23
|
export declare function toTransactionArray(serializedTransaction: string): import("../encoding/fromRlp.js").FromRlpReturnType<"hex">;
|
24
|
-
|
24
|
+
type ParseAccessListErrorType = InvalidAddressErrorType | IsAddressErrorType | ErrorType;
|
25
25
|
export declare function parseAccessList(accessList_: RecursiveArray<Hex>): AccessList;
|
26
26
|
type ParseEIP155SignatureErrorType = HexToBigIntErrorType | PadHexErrorType | ErrorType;
|
27
27
|
export {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"parseTransaction.d.ts","sourceRoot":"","sources":["../../../utils/transaction/parseTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAEL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3B,oBAAoB,GACpB,oBAAoB,GACpB,uBAAuB,GACvB,qCAAqC,GACrC,cAAc,GACd,6BAA6B,GAC7B,wBAAwB,GACxB,SAAS,CAAA;AAwEb,KAAK,gCAAgC,GACjC,2BAA2B,GAC3B,iCAAiC,GACjC,2BAA2B,GAC3B,oBAAoB,GACpB,oBAAoB,GACpB,uBAAuB,GACvB,qCAAqC,GACrC,cAAc,GACd,6BAA6B,GAC7B,wBAAwB,GACxB,SAAS,CAAA;AA0Db,KAAK,+BAA+B,GAChC,gCAAgC,GAChC,gBAAgB,GAChB,oBAAoB,GACpB,oBAAoB,GACpB,uBAAuB,GACvB,qCAAqC,GACrC,cAAc,GACd,SAAS,CAAA;AAuEb,KAAK,2BAA2B,GAAG,gBAAgB,GAAG,SAAS,CAAA;AAE/D,wBAAgB,kBAAkB,CAAC,qBAAqB,EAAE,MAAM,6DAE/D;AAED,KAAK,wBAAwB,GACzB,uBAAuB,GACvB,kBAAkB,GAClB,SAAS,CAAA;AAEb,wBAAgB,eAAe,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,CAAC,GAAG,UAAU,CAc5E;AAED,KAAK,6BAA6B,GAC9B,oBAAoB,GACpB,eAAe,GACf,SAAS,CAAA"}
|
@@ -8,6 +8,7 @@ import type { ContractConstructorArgs } from '../../types/contract.js';
|
|
8
8
|
import type { Hash, Hex } from '../../types/misc.js';
|
9
9
|
import type { ChainEIP712 } from '../types/chain.js';
|
10
10
|
import type { ContractDeploymentType } from '../types/contract.js';
|
11
|
+
import { type EncodeDeployDataErrorType } from '../utils/abi/encodeDeployData.js';
|
11
12
|
import { type SendEip712TransactionErrorType, type SendEip712TransactionReturnType } from './sendEip712Transaction.js';
|
12
13
|
export type DeployContractParameters<abi extends Abi | readonly unknown[] = Abi, chain extends ChainEIP712 | undefined = ChainEIP712 | undefined, account extends Account | undefined = Account | undefined, chainOverride extends ChainEIP712 | undefined = ChainEIP712 | undefined, allArgs = ContractConstructorArgs<abi>> = DeployContractParameters_<abi, chain, account, chainOverride, allArgs> & {
|
13
14
|
deploymentType?: ContractDeploymentType;
|
@@ -15,7 +16,7 @@ export type DeployContractParameters<abi extends Abi | readonly unknown[] = Abi,
|
|
15
16
|
salt?: Hash;
|
16
17
|
};
|
17
18
|
export type DeployContractReturnType = SendEip712TransactionReturnType;
|
18
|
-
export type DeployContractErrorType = SendEip712TransactionErrorType | ErrorType;
|
19
|
+
export type DeployContractErrorType = EncodeDeployDataErrorType | SendEip712TransactionErrorType | ErrorType;
|
19
20
|
/**
|
20
21
|
* Deploys a contract to the network, given bytecode and constructor arguments using EIP712 transaction.
|
21
22
|
*
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"deployContract.d.ts","sourceRoot":"","sources":["../../../zksync/actions/deployContract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,SAAS,CAAA;AAElC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACtD,OAAO,KAAK,EAAE,wBAAwB,IAAI,yBAAyB,EAAE,MAAM,wCAAwC,CAAA;AACnH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAA;AACtE,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAEpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AACpD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;
|
1
|
+
{"version":3,"file":"deployContract.d.ts","sourceRoot":"","sources":["../../../zksync/actions/deployContract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,SAAS,CA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AAM,wBAAwB,GAAG,+BAA+B,CAAA;AAEtE,MAAM,MAAM,uBAAuB,GAC/B,yBAAyB,GACzB,8BAA8B,GAC9B,SAAS,CAAA;AAEb;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,cAAc,CAC5B,KAAK,CAAC,GAAG,SAAS,GAAG,GAAG,SAAS,OAAO,EAAE,EAC1C,KAAK,SAAS,WAAW,GAAG,SAAS,EACrC,OAAO,SAAS,OAAO,GAAG,SAAS,EACnC,aAAa,SAAS,WAAW,GAAG,SAAS,EAE7C,YAAY,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,CAAC,EAC/C,UAAU,EAAE,wBAAwB,CAAC,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,aAAa,CAAC,GACvE,OAAO,CAAC,wBAAwB,CAAC,CA0BnC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"estimateGasL1ToL2.d.ts","sourceRoot":"","sources":["../../../zksync/actions/estimateGasL1ToL2.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"estimateGasL1ToL2.d.ts","sourceRoot":"","sources":["../../../zksync/actions/estimateGasL1ToL2.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAA;AACxF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AACpD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAEhE,MAAM,MAAM,2BAA2B,CACrC,KAAK,SAAS,WAAW,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,EAC/D,OAAO,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,IACvD,yBAAyB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;AAE7C,MAAM,MAAM,2BAA2B,GAAG,MAAM,CAAA;AAEhD,wBAAsB,iBAAiB,CACrC,KAAK,SAAS,WAAW,GAAG,SAAS,EACrC,OAAO,SAAS,OAAO,GAAG,SAAS,EAEnC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,qBAAqB,CAAC,EAChE,UAAU,EAAE,2BAA2B,CAAC,KAAK,EAAE,OAAO,CAAC,GACtD,OAAO,CAAC,2BAA2B,CAAC,CAgBtC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getAllBalances.d.ts","sourceRoot":"","sources":["../../../zksync/actions/getAllBalances.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;
|
1
|
+
{"version":3,"file":"getAllBalances.d.ts","sourceRoot":"","sources":["../../../zksync/actions/getAllBalances.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAC1E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAEhE,MAAM,MAAM,wBAAwB,CAClC,QAAQ,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,IACxD,mBAAmB,CAAC,QAAQ,CAAC,CAAA;AAEjC,MAAM,MAAM,wBAAwB,GAAG;IAAE,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,CAAA;CAAE,CAAA;AAEjE,wBAAsB,cAAc,CAClC,MAAM,SAAS,KAAK,GAAG,SAAS,EAChC,QAAQ,SAAS,OAAO,GAAG,SAAS,EAEpC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,qBAAqB,CAAC,EAClE,UAAU,EAAE,wBAAwB,CAAC,QAAQ,CAAC,GAC7C,OAAO,CAAC,wBAAwB,CAAC,CAWnC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getL1Allowance.d.ts","sourceRoot":"","sources":["../../../zksync/actions/getL1Allowance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;
|
1
|
+
{"version":3,"file":"getL1Allowance.d.ts","sourceRoot":"","sources":["../../../zksync/actions/getL1Allowance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAGtC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAE5E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AACnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,KAAK,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAC1E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAEjD,MAAM,MAAM,wBAAwB,CAClC,QAAQ,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,IACxD,mBAAmB,CAAC,QAAQ,CAAC,GAAG;IAClC,aAAa,EAAE,OAAO,CAAA;IACtB,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB,KAAK,EAAE,OAAO,CAAA;CACf,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG,MAAM,CAAA;AAE7C,MAAM,MAAM,uBAAuB,GAAG,oBAAoB,GAAG,SAAS,CAAA;AAEtE,wBAAsB,cAAc,CAClC,MAAM,SAAS,KAAK,GAAG,SAAS,EAChC,QAAQ,SAAS,OAAO,GAAG,SAAS,EAEpC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,EAC3C,UAAU,EAAE,wBAAwB,CAAC,QAAQ,CAAC,GAC7C,OAAO,CAAC,wBAAwB,CAAC,CAYnC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getL1Balance.d.ts","sourceRoot":"","sources":["../../../zksync/actions/getL1Balance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;
|
1
|
+
{"version":3,"file":"getL1Balance.d.ts","sourceRoot":"","sources":["../../../zksync/actions/getL1Balance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAMtC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AACnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,KAAK,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAC1E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAQjD,MAAM,MAAM,sBAAsB,CAChC,QAAQ,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,IACxD,mBAAmB,CAAC,QAAQ,CAAC,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAAE,GAAG,CAChE;IACE,oDAAoD;IACpD,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAChC,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB,GACD;IACE,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAChC,CACJ,CAAA;AAEH,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAA;AAE3C,MAAM,MAAM,qBAAqB,GAAG,oBAAoB,GAAG,SAAS,CAAA;AAEpE,wBAAsB,YAAY,CAChC,MAAM,SAAS,KAAK,GAAG,SAAS,EAChC,QAAQ,SAAS,OAAO,GAAG,SAAS,EAEpC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,EAC3C,GAAG,CAAC,UAAe,CAAC,EAAE,QAAQ,SAAS,SAAS,GAC5C,CAAC,sBAAsB,CAAC,QAAQ,CAAC,CAAC,GAClC,CAAC,sBAAsB,CAAC,QAAQ,CAAC,CAAC,GAAG,EAAE,GAC1C,OAAO,CAAC,sBAAsB,CAAC,CAoBjC"}
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import type { Address } from '../../accounts/index.js';
|
2
2
|
import type { Client } from '../../clients/createClient.js';
|
3
3
|
import type { Transport } from '../../clients/transports/createTransport.js';
|
4
|
-
import type {
|
5
|
-
import type {
|
4
|
+
import type { AccountNotFoundErrorType } from '../../errors/account.js';
|
5
|
+
import type { BaseErrorType } from '../../errors/base.js';
|
6
6
|
import type { Account, GetAccountParameter } from '../../types/account.js';
|
7
7
|
import type { BlockTag } from '../../types/block.js';
|
8
8
|
import type { Chain } from '../../types/chain.js';
|
9
|
-
import {
|
9
|
+
import { type TokenIsEthErrorType } from '../errors/token-is-eth.js';
|
10
10
|
export type GetL1TokenBalanceParameters<TAccount extends Account | undefined = Account | undefined> = GetAccountParameter<TAccount> & {
|
11
11
|
token: Address;
|
12
12
|
} & ({
|
@@ -19,6 +19,6 @@ export type GetL1TokenBalanceParameters<TAccount extends Account | undefined = A
|
|
19
19
|
blockTag?: BlockTag | undefined;
|
20
20
|
});
|
21
21
|
export type GetL1TokenBalanceReturnType = bigint;
|
22
|
-
export type GetL1TokenBalanceErrorType =
|
22
|
+
export type GetL1TokenBalanceErrorType = AccountNotFoundErrorType | TokenIsEthErrorType | BaseErrorType;
|
23
23
|
export declare function getL1TokenBalance<TChain extends Chain | undefined, TAccount extends Account | undefined>(client: Client<Transport, TChain, TAccount>, parameters: GetL1TokenBalanceParameters<TAccount>): Promise<GetL1TokenBalanceReturnType>;
|
24
24
|
//# sourceMappingURL=getL1TokenBalance.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getL1TokenBalance.d.ts","sourceRoot":"","sources":["../../../zksync/actions/getL1TokenBalance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;
|
1
|
+
{"version":3,"file":"getL1TokenBalance.d.ts","sourceRoot":"","sources":["../../../zksync/actions/getL1TokenBalance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAGtD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAE5E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAA;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,KAAK,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAC1E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,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