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
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"buildProveWithdrawal.js","sourceRoot":"","sources":["../../../op-stack/actions/buildProveWithdrawal.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,QAAQ,GACT,MAAM,kCAAkC,CAAA;AACzC,OAAO,EAEL,QAAQ,GACT,MAAM,kCAAkC,CAAA;AAgBzC,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,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;SAChC;QACD,WAAW,EAAE,KAAK;QAClB,eAAe,EAAE,iBAAiB,CAChC,SAAS,CAAC,IAAI,CAAC,EACf,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,KAAK,CAC5B;QACD,UAAU;KAMX,CAAA;AACH,CAAC;AAED,gBAAgB;AAChB,MAAM,UAAU,iBAAiB,CAAC,GAAW,EAAE,KAAqB;IAClE,MAAM,YAAY,GAAG,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;IAC5C,MAAM,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,CAAA;IACvC,IAAI,SAAS,CAAC,MAAM,KAAK,EAAE;QAAE,OAAO,KAAK,CAAA;IAEzC,MAAM,aAAa,GAAG,CAAC,GAAG,KAAK,CAAC,CAAA;IAChC,KAAK,MAAM,IAAI,IAAI,SAAS,EAAE,CAAC;QAC7B,oDAAoD;QACpD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;YAAE,SAAQ;QAClC,0FAA0F;QAC1F,0FAA0F;QAC1F,0FAA0F;QAC1F,wFAAwF;QACxF,wFAAwF;QACxF,wFAAwF;QACxF,+EAA+E;QAC/E,MAAM,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;QAC/B,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC;YAAE,SAAQ;QACjE,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAA;IACjC,CAAC;IACD,OAAO,aAAa,CAAA;AACtB,CAAC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { readContract, } from '../../actions/public/readContract.js';
|
2
2
|
import { ContractFunctionRevertedError } from '../../errors/contract.js';
|
3
3
|
import { portal2Abi, portalAbi } from '../abis.js';
|
4
|
-
import { ReceiptContainsNoWithdrawalsError } from '../errors/withdrawal.js';
|
4
|
+
import { ReceiptContainsNoWithdrawalsError, } from '../errors/withdrawal.js';
|
5
5
|
import { getWithdrawals, } from '../utils/getWithdrawals.js';
|
6
6
|
import { getGame, } from './getGame.js';
|
7
7
|
import { getL2Output, } from './getL2Output.js';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getWithdrawalStatus.js","sourceRoot":"","sources":["../../../op-stack/actions/getWithdrawalStatus.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,GACb,MAAM,sCAAsC,CAAA;AAG7C,OAAO,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAA;AAUxE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAClD,OAAO,
|
1
|
+
{"version":3,"file":"getWithdrawalStatus.js","sourceRoot":"","sources":["../../../op-stack/actions/getWithdrawalStatus.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,GACb,MAAM,sCAAsC,CAAA;AAG7C,OAAO,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAA;AAUxE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAClD,OAAO,EACL,iCAAiC,GAElC,MAAM,yBAAyB,CAAA;AAGhC,OAAO,EAEL,cAAc,GACf,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAGL,OAAO,GACR,MAAM,cAAc,CAAA;AACrB,OAAO,EAGL,WAAW,GACZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAEL,gBAAgB,GACjB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAGL,iBAAiB,GAClB,MAAM,wBAAwB,CAAA;AAoC/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,CAAC,KAAK,UAAU,mBAAmB,CAKvC,MAAyC,EACzC,UAA+D;IAE/D,MAAM,EACJ,KAAK,GAAG,MAAM,CAAC,KAAK,EACpB,SAAS,GAAG,GAAG,EACf,OAAO,EACP,WA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C;YACzD,MAAM,YAAY,GAAG,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAA;YAChD,IACE,YAAY,KAAK,oDAAoD;gBACrE,YAAY;oBACV,+EAA+E;gBAEjF,OAAO,gBAAgB,CAAA;YACzB,IACE,YAAY;gBACV,uDAAuD;gBACzD,YAAY;oBACV,4DAA4D;gBAC9D,YAAY,KAAK,4CAA4C;gBAE7D,OAAO,qBAAqB,CAAA;QAChC,CAAC;QACD,MAAM,qBAAqB,CAAC,MAAM,CAAA;IACpC,CAAC;IACD,IAAI,eAAe,CAAC,MAAM,KAAK,UAAU;QAAE,MAAM,eAAe,CAAC,MAAM,CAAA;IAEvE,OAAO,mBAAmB,CAAA;AAC5B,CAAC"}
|
package/_esm/op-stack/index.js
CHANGED
@@ -29,7 +29,6 @@ export { waitForNextL2Output, } from './actions/waitForNextL2Output.js';
|
|
29
29
|
export { waitToFinalize, } from './actions/waitToFinalize.js';
|
30
30
|
export { waitToProve, } from './actions/waitToProve.js';
|
31
31
|
export { chainConfig } from './chainConfig.js';
|
32
|
-
// @ts-ignore TS2354: This syntax requires an imported helper but module 'tslib' cannot be found.
|
33
32
|
// biome-ignore lint/performance/noReExportAll: intentionally re-exporting
|
34
33
|
export * from './chains.js';
|
35
34
|
export { publicActionsL1, } from './decorators/publicL1.js';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../op-stack/index.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,OAAO,EACL,uBAAuB,GAIxB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EACL,uBAAuB,GAIxB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EACL,oBAAoB,GAIrB,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EACL,kBAAkB,GAInB,MAAM,iCAAiC,CAAA;AACxC,OAAO,EACL,qBAAqB,GAItB,MAAM,oCAAoC,CAAA;AAC3C,OAAO,E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2BAA2B,CAAA"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { AbiDecodingDataSizeTooSmallError, AbiDecodingZeroDataError, InvalidAbiDecodingTypeError, } from '../../errors/abi.js';
|
2
2
|
import { checksumAddress, } from '../address/getAddress.js';
|
3
|
-
import { createCursor } from '../cursor.js';
|
3
|
+
import { createCursor, } from '../cursor.js';
|
4
4
|
import { size } from '../data/size.js';
|
5
5
|
import { sliceBytes } from '../data/slice.js';
|
6
6
|
import { trim } from '../data/trim.js';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"decodeAbiParameters.js","sourceRoot":"","sources":["../../../utils/abi/decodeAbiParameters.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,gCAAgC,EAChC,wBAAwB,EACxB,2BAA2B,GAE5B,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EAEL,eAAe,GAChB,MAAM,0BAA0B,CAAA;AACjC,OAAO,
|
1
|
+
{"version":3,"file":"decodeAbiParameters.js","sourceRoot":"","sources":["../../../utils/abi/decodeAbiParameters.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,gCAAgC,EAChC,wBAAwB,EACxB,2BAA2B,GAE5B,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EAEL,eAAe,GAChB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAGL,YAAY,GACb,MAAM,cAAc,CAAA;AACrB,OAAO,EAAsB,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,EAA4B,UAAU,EAAE,MAAM,kBAAkB,CAAA;AACvE,OAAO,EAAsB,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,EAKL,aAAa,EACb,WAAW,EACX,aAAa,EACb,aAAa,GACd,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAA4B,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAC7E,OAAO,EAA4B,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAC3E,OAAO,EAAE,kBAAkB,EAAE,MAAM,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C,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC;KACzD,CAAA;AACH,CAAC;AAID,MAAM,UAAU,kBAAkB,CAChC,IAAY;IAEZ,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAA;IAC9C,OAAO,OAAO;QACZ,CAAC,CAAC,yCAAyC;YACzC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;QACtD,CAAC,CAAC,SAAS,CAAA;AACf,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { AbiItemAmbiguityError } from '../../errors/abi.js';
|
1
|
+
import { AbiItemAmbiguityError, } from '../../errors/abi.js';
|
2
2
|
import { isHex } from '../../utils/data/isHex.js';
|
3
3
|
import { isAddress } from '../address/isAddress.js';
|
4
4
|
import { toEventSelector } from '../hash/toEventSelector.js';
|
@@ -63,6 +63,7 @@ export function getAbiItem(parameters) {
|
|
63
63
|
return matchedAbiItem;
|
64
64
|
return abiItems[0];
|
65
65
|
}
|
66
|
+
/** @internal */
|
66
67
|
export function isArgOfType(arg, abiParameter) {
|
67
68
|
const argType = typeof arg;
|
68
69
|
const abiParameterType = abiParameter.type;
|
@@ -102,6 +103,7 @@ export function isArgOfType(arg, abiParameter) {
|
|
102
103
|
}
|
103
104
|
}
|
104
105
|
}
|
106
|
+
/** @internal */
|
105
107
|
export function getAmbiguousTypes(sourceParameters, targetParameters, args) {
|
106
108
|
for (const parameterIndex in sourceParameters) {
|
107
109
|
const sourceParameter = sourceParameters[parameterIndex];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getAbiItem.js","sourceRoot":"","sources":["../../../utils/abi/getAbiItem.ts"],"names":[],"mappings":"AAEA,OAAO,
|
1
|
+
{"version":3,"file":"getAbiItem.js","sour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BACvD,OAAO,SAAS,CAAC,IAAI,CAAC,cAAc,CAAY,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAA;YACtE,IAAI,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC;gBACtD,OAAO,SAAS,CAAC,IAAI,CAAC,cAAc,CAAY,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAA;YACtE,OAAO,KAAK,CAAA;QACd,CAAC,CAAC,EAAE,CAAA;QAEJ,IAAI,SAAS;YAAE,OAAO,KAAK,CAAA;IAC7B,CAAC;IAED,OAAM;AACR,CAAC"}
|
@@ -3,7 +3,7 @@ import { stringToBytes, } from '../encoding/toBytes.js';
|
|
3
3
|
import { keccak256 } from '../hash/keccak256.js';
|
4
4
|
import { LruMap } from '../lru.js';
|
5
5
|
import { isAddress } from './isAddress.js';
|
6
|
-
|
6
|
+
const checksumAddressCache = /*#__PURE__*/ new LruMap(8192);
|
7
7
|
export function checksumAddress(address_,
|
8
8
|
/**
|
9
9
|
* Warning: EIP-1191 checksum addresses are generally not backwards compatible with the
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getAddress.js","sourceRoot":"","sources":["../../../utils/address/getAddress.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAE7D,OAAO,EAEL,aAAa,GACd,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAA2B,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAA2B,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAEnE,MAAM,
|
1
|
+
{"version":3,"file":"getAddress.js","sourceRoot":"","sources":["../../../utils/address/getAddress.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAE7D,OAAO,EAEL,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C,CAAC;QACD,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;YACjD,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,WAAW,EAAE,CAAA;QAC/C,CAAC;IACH,CAAC;IAED,MAAM,MAAM,GAAG,KAAK,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,EAAW,CAAA;IAC/C,oBAAoB,CAAC,GAAG,CAAC,GAAG,QAAQ,IAAI,OAAO,EAAE,EAAE,MAAM,CAAC,CAAA;IAC1D,OAAO,MAAM,CAAA;AACf,CAAC;AAOD,MAAM,UAAU,UAAU,CACxB,OAAe;AACf;;;;;;;;;GASG;AACH,OAAgB;IAEhB,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;QACxC,MAAM,IAAI,mBAAmB,CAAC,EAAE,OAAO,EAAE,CAAC,CAAA;IAC5C,OAAO,eAAe,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;AAC1C,CAAC"}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { LruMap } from '../lru.js';
|
2
2
|
import { checksumAddress } from './getAddress.js';
|
3
3
|
const addressRegex = /^0x[a-fA-F0-9]{40}$/;
|
4
|
+
/** @internal */
|
4
5
|
export const isAddressCache = /*#__PURE__*/ new LruMap(8192);
|
5
6
|
export function isAddress(address, options) {
|
6
7
|
const { strict = true } = options ?? {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"isAddress.js","sourceRoot":"","sources":["../../../utils/address/isAddress.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEjD,MAAM,YAAY,GAAG,qB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,EAAE,CAAA;IACvC,MAAM,QAAQ,GAAG,GAAG,OAAO,IAAI,MAAM,EAAE,CAAA;IAEvC,IAAI,cAAc,CAAC,GAAG,CAAC,QAAQ,CAAC;QAAE,OAAO,cAAc,CAAC,GAAG,CAAC,QAAQ,CAAE,CAAA;IAEtE,MAAM,MAAM,GAAG,CAAC,GAAG,EAAE;QACnB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC;YAAE,OAAO,KAAK,CAAA;QAC7C,IAAI,OAAO,CAAC,WAAW,EAAE,KAAK,OAAO;YAAE,OAAO,IAAI,CAAA;QAClD,IAAI,MAAM;YAAE,OAAO,eAAe,CAAC,OAAkB,CAAC,KAAK,OAAO,CAAA;QAClE,OAAO,IAAI,CAAA;IACb,CAAC,CAAC,EAAE,CAAA;IACJ,cAAc,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAA;IACpC,OAAO,MAAM,CAAA;AACf,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"toBlobs.js","sourceRoot":"","sources":["../../../utils/blob/toBlobs.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,GACvB,MAAM,yBAAyB,CAAA;AAChC,OAAO,EACL,qBAAqB,EAErB,cAAc,GAEf,MAAM,sBAAsB,CAAA;AAG7B,OAAO,
|
1
|
+
{"version":3,"file":"toBlobs.js","sourceRoot":"","sources":["../../../utils/blob/toBlobs.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,GACvB,MAAM,yBAAyB,CAAA;AAChC,OAAO,EACL,qBAAqB,EAErB,cAAc,GAEf,MAAM,sBAAsB,CAAA;AAG7B,OAAO,EAA8B,YAAY,EAAE,MAAM,cAAc,CAAA;AACvE,OAAO,EAAsB,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,EAA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,oBAAoB;QACpB,IAAI,KAAK,CAAC,MAAM,KAAK,GAAG;YAAE,OAAO,IAAI,CAAA;QACrC,wBAAwB;QACxB,IAAI,KAAK,CAAC,MAAM,KAAK,GAAG;YAAE,OAAO,IAAI,CAAA;QACrC,cAAc;QACd,IAAI,KAAK,CAAC,MAAM,KAAK,GAAG;YAAE,OAAO,IAAI,CAAA;QACrC,sBAAsB;QACtB,IAAI,KAAK,CAAC,MAAM,KAAK,GAAG;YAAE,OAAO,IAAI,CAAA;QACrC,kBAAkB;QAClB,IAAI,KAAK,CAAC,MAAM,KAAK,GAAG;YAAE,OAAO,IAAI,CAAA;QACrC,OAAO,KAAK,CAAA;IACd,CAAC;IACD,OAAO,IAAI,CAAA;AACb,CAAC"}
|
package/_esm/utils/ccip.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { call } from '../actions/public/call.js';
|
2
2
|
import { OffchainLookupError, OffchainLookupResponseMalformedError, OffchainLookupSenderMismatchError, } from '../errors/ccip.js';
|
3
|
-
import { HttpRequestError } from '../errors/request.js';
|
3
|
+
import { HttpRequestError, } from '../errors/request.js';
|
4
4
|
import { decodeErrorResult } from './abi/decodeErrorResult.js';
|
5
5
|
import { encodeAbiParameters } from './abi/encodeAbiParameters.js';
|
6
6
|
import { isAddressEqual } from './address/isAddressEqual.js';
|
package/_esm/utils/ccip.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ccip.js","sourceRoot":"","sources":["../../utils/ccip.ts"],"names":[],"mappings":"AAEA,OAAO,EAAuB,IAAI,EAAE,MAAM,2BAA2B,CAAA;AAGrE,OAAO,EACL,mBAAmB,
|
1
|
+
{"version":3,"file":"ccip.js","sourceRoot":"","sources":["../../utils/ccip.ts"],"names":[],"mappings":"AAEA,OAAO,EAAuB,IAAI,EAAE,MAAM,2BAA2B,CAAA;AAGrE,OAAO,EACL,mBAAmB,EAEnB,oCAAoC,EAEpC,iCAAiC,GAClC,MAAM,mBAAmB,CAAA;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AI,oCAAoC,CAAC;oBAC/C,MAAM;oBACN,GAAG;iBACJ,CAAC,CAAA;gBACF,SAAQ;YACV,CAAC;YAED,OAAO,MAAM,CAAA;QACf,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,KAAK,GAAG,IAAI,gBAAgB,CAAC;gBAC3B,IAAI;gBACJ,OAAO,EAAG,GAAa,CAAC,OAAO;gBAC/B,GAAG;aACJ,CAAC,CAAA;QACJ,CAAC;IACH,CAAC;IAED,MAAM,KAAK,CAAA;AACb,CAAC"}
|
package/_esm/utils/cursor.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cursor.js","sourceRoot":"","sources":["../../utils/cursor.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,
|
1
|
+
{"version":3,"file":"cursor.js","sourceRoot":"","sources":["../../utils/cursor.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAEnB,wBAAwB,EAExB,+BAA+B,GAEhC,MAAM,qBAAqB,CAAA;AAuD5B,MAAM,YAAY,GAAW;IAC3B,KAAK,EAAE,IAAI,UAAU,EAAE;IACvB,QAAQ,EAAE,IAAI,QAAQ,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,CAAC;IAC1C,QAAQ,EAAE,CAAC;IACX,iBAAiB,EAAE,IAAI,GAAG,EAAE;IAC5B,kBAAkB,EAAE,CAAC;IACrB,kBAAkB,EAAE,MAAM,CAAC,iBAAiB;IAC5C,eAAe;QACb,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,CAAC,kBAAkB;YACpD,MAAM,IAAI,+BAA+B,CAAC;gBACxC,KAAK,EAAE,IAAI,CAAC,kBAAkB,GAAG,CAAC;gBAClC,KAAK,EAAE,IAAI,CAAC,kBAAkB;aAC/B,CAAC,CAAA;IACN,CAAC;IACD,cAAc,CAAC,QAAQ;QACrB,IAAI,QAAQ,GAAG,CAAC,IAAI,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,MA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,EACZ,KAAK,CAAC,UAAU,EAChB,KAAK,CAAC,UAAU,CACjB,CAAA;IACD,MAAM,CAAC,iBAAiB,GAAG,IAAI,GAAG,EAAE,CAAA;IACpC,MAAM,CAAC,kBAAkB,GAAG,kBAAkB,CAAA;IAC9C,OAAO,MAAM,CAAA;AACf,CAAC"}
|
@@ -18,12 +18,6 @@ export function fromRlp(value, to = 'hex') {
|
|
18
18
|
const result = fromRlpCursor(cursor, to);
|
19
19
|
return result;
|
20
20
|
}
|
21
|
-
export function rlpToBytes(bytes, to = 'bytes') {
|
22
|
-
return fromRlp(bytes, to);
|
23
|
-
}
|
24
|
-
export function rlpToHex(hex, to = 'hex') {
|
25
|
-
return fromRlp(hex, to);
|
26
|
-
}
|
27
21
|
function fromRlpCursor(cursor, to = 'hex') {
|
28
22
|
if (cursor.bytes.length === 0)
|
29
23
|
return (to === 'hex' ? bytesToHex(cursor.bytes) : cursor.bytes);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fromRlp.js","sourceRoot":"","sources":["../../../utils/encoding/fromRlp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAsB,MAAM,sBAAsB,CAAA;AACpE,OAAO,EACL,oBAAoB,GAErB,MAAM,0BAA0B,CAAA;AAGjC,OAAO,EAGL,YAAY,GACb,MAAM,cAAc,CAAA;AACrB,OAAO,EAA4B,UAAU,EAAE,MAAM,cAAc,CAAA;AACnE,OAAO,EAA4B,UAAU,EAAE,MAAM,YAAY,CAAA;AAiBjE,MAAM,UAAU,OAAO,CACrB,KAAsB,EACtB,KAA0B,KAAK;IAE/B,MAAM,KAAK,GAAG,CAAC,GAAG,EAAE;QAClB,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;YAC9B,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,KAAK,CAAC;gBAC5C,MAAM,IAAI,oBAAoB,CAAC,KAAK,CAAC,CAAA;YACvC,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AM,KAAK,MAAM,GAAG,EAAE,GAAG,CAAC;QAAE,OAAO,MAAM,CAAC,UAAU,EAAE,CAAA;IAC1D,IAAI,MAAM,KAAK,MAAM,GAAG,EAAE,GAAG,CAAC;QAAE,OAAO,MAAM,CAAC,UAAU,EAAE,CAAA;IAC1D,IAAI,MAAM,KAAK,MAAM,GAAG,EAAE,GAAG,CAAC;QAAE,OAAO,MAAM,CAAC,UAAU,EAAE,CAAA;IAC1D,MAAM,IAAI,SAAS,CAAC,oBAAoB,CAAC,CAAA;AAC3C,CAAC;AAID,SAAS,QAAQ,CAAgB,MAAc,EAAE,MAAc,EAAE,EAAW;IAC1E,MAAM,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAA;IAChC,MAAM,KAAK,GAA4B,EAAE,CAAA;IACzC,OAAO,MAAM,CAAC,QAAQ,GAAG,QAAQ,GAAG,MAAM;QACxC,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,CAAA;IACvC,OAAO,KAAK,CAAA;AACd,CAAC"}
|
@@ -4,6 +4,7 @@ const networkRegex = /(?<protocol>https?:\/\/[^\/]*|ipfs:\/|ipns:\/|ar:\/)?(?<ro
|
|
4
4
|
const ipfsHashRegex = /^(Qm[1-9A-HJ-NP-Za-km-z]{44,}|b[A-Za-z2-7]{58,}|B[A-Z2-7]{58,}|z[1-9A-HJ-NP-Za-km-z]{48,}|F[0-9A-F]{50,})(\/(?<target>[\w\-.]+))?(?<subtarget>\/.*)?$/;
|
5
5
|
const base64Regex = /^data:([a-zA-Z\-/+]*);base64,([^"].*)/;
|
6
6
|
const dataURIRegex = /^data:([a-zA-Z\-/+]*)?(;[a-zA-Z0-9].*?)?(,)/;
|
7
|
+
/** @internal */
|
7
8
|
export async function isImageUri(uri) {
|
8
9
|
try {
|
9
10
|
const res = await fetch(uri, { method: 'HEAD' });
|
@@ -36,6 +37,7 @@ export async function isImageUri(uri) {
|
|
36
37
|
});
|
37
38
|
}
|
38
39
|
}
|
40
|
+
/** @internal */
|
39
41
|
export function getGateway(custom, defaultGateway) {
|
40
42
|
if (!custom)
|
41
43
|
return defaultGateway;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../utils/ens/avatar/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,YAAY,GACb,MAAM,yCAAyC,CAAA;AAGhD,OAAO,EACL,6BAA6B,EAE7B,2BAA2B,EAE3B,kCAAkC,EAElC,2BAA2B,GAE5B,MAAM,wBAAwB,CAAA;AAW/B,MAAM,YAAY,GAChB,mIAAmI,CAAA;AACrI,MAAM,aAAa,GACjB,uJAAuJ,CAAA;AACzJ,MAAM,WAAW,GAAG,uCAAuC,CAAA;AAC3D,MAAM,YAAY,GAAG,6CAA6C,CAAA;AAIlE,MAAM,CAAC,KAAK,UAAU,UAAU,CAAC,GAAW;IAC1C,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,GAAG,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAA;QAChD,4DAA4D;QAC5D,IAAI,GAAG,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;YACvB,MAAM,WAAW,GAAG,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,CAAA;YACnD,OAAO,WAAW,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAA;QAC1C,CAAC;QACD,OAAO,KAAK,CAAA;IACd,CAAC;IAAC,OAAO,KAAU,EAAE,CAAC;QACpB,yCAAyC;QACzC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,OAAO,KAAK,CAAC,QAAQ,KAAK,WAAW,EAAE,CAAC;YACvE,OAAO,KAAK,CAAA;QACd,CAAC;QACD,0EAA0E;QAC1E,oDAAoD;QACpD,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,OAAO,CAAC;YAAE,OAAO,KAAK,CAAA;QACrD,6EAA6E;QAC7E,OAAO,IAAI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C;aACF;YACD,YAAY,EAAE,UAAU;YACxB,IAAI,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;SAC5B,CAAC,CAAA;IACJ,CAAC;IACD,IAAI,GAAG,CAAC,SAAS,KAAK,SAAS,EAAE,CAAC;QAChC,OAAO,YAAY,CAAC,MAAM,EAAE;YAC1B,OAAO,EAAE,GAAG,CAAC,eAAe;YAC5B,GAAG,EAAE;gBACH;oBACE,IAAI,EAAE,KAAK;oBACX,IAAI,EAAE,UAAU;oBAChB,eAAe,EAAE,MAAM;oBACvB,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;oBAC1C,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;iBACxC;aACF;YACD,YAAY,EAAE,KAAK;YACnB,IAAI,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;SAC5B,CAAC,CAAA;IACJ,CAAC;IACD,MAAM,IAAI,kCAAkC,CAAC,EAAE,SAAS,EAAE,GAAG,CAAC,SAAS,EAAE,CAAC,CAAA;AAC5E,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../utils/ens/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAChD,OAAO,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAA;
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../utils/ens/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAChD,OAAO,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAA;AAMxE;;GAEG;AACH,MAAM,UAAU,4BAA4B,CAC1C,GAAY,EACZ,QAA+B;IAE/B,IAAI,CAAC,CAAC,GAAG,YAAY,SAAS,CAAC;QAAE,OAAO,KAAK,CAAA;IAC7C,MAAM,KAAK,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,YAAY,6BAA6B,CAAC,CAAA;IACzE,IAAI,CAAC,CAAC,KAAK,YAAY,6BAA6B,CAAC;QAAE,OAAO,KAAK,CAAA;IACnE,IAAI,KAAK,CAAC,IAAI,EAAE,SAAS,KAAK,kBAAkB;QAAE,OAAO,IAAI,CAAA;IAC7D,IAAI,KAAK,CAAC,IAAI,EAAE,SAAS,KAAK,8BAA8B;QAAE,OAAO,IAAI,CAAA;IACzE,IAAI,KAAK,CAAC,IAAI,EAAE,SAAS,KAAK,qBAAqB;QAAE,OAAO,IAAI,CAAA;IAChE,IAAI,KAAK,CAAC,IAAI,EAAE,SAAS,KAAK,eAAe;QAAE,OAAO,IAAI,CAAA;IAC1D,IAAI,KAAK,CAAC,IAAI,EAAE,SAAS,KAAK,WAAW;QAAE,OAAO,IAAI,CAAA;IACtD,gEAAgE;IAChE,IACE,KAAK,CAAC,MAAM,EAAE,QAAQ,CACpB,qDAAqD,CACtD;QAED,OAAO,IAAI,CAAA;IACb,mCAAmC;IACnC,IAAI,QAAQ,KAAK,SAAS,IAAI,KAAK,CAAC,MAAM,KAAK,YAAY,CAAC,EAAE,CAAC;QAAE,OAAO,IAAI,CAAA;IAC5E,OAAO,KAAK,CAAA;AACd,CAAC"}
|
package/_esm/utils/index.js
CHANGED
@@ -13,7 +13,7 @@ export { getHttpRpcClient, } from './rpc/http.js';
|
|
13
13
|
export { getSocketRpcClient, socketClientCache, } from './rpc/socket.js';
|
14
14
|
export { getWebSocketRpcClient } from './rpc/webSocket.js';
|
15
15
|
export { stringify } from './stringify.js';
|
16
|
-
export { validateTypedData, } from './typedData.js';
|
16
|
+
export { serializeTypedData, validateTypedData, } from './typedData.js';
|
17
17
|
export { decodeAbiParameters, } from './abi/decodeAbiParameters.js';
|
18
18
|
export { decodeErrorResult, } from './abi/decodeErrorResult.js';
|
19
19
|
export { decodeEventLog, } from './abi/decodeEventLog.js';
|
package/_esm/utils/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../utils/index.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,OAAO,EAEL,YAAY,GACb,MAAM,mBAAmB,CAAA;AAE1B,OAAO,EAEL,WAAW;AACX,qCAAqC;AACrC,WAAW,IAAI,SAAS,EACxB,cAAc,EACd,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,WAAW,CAAA;AAElB,OAAO,EAGL,kBAAkB,GACnB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,EAIL,YAAY,GACb,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAEL,uBAAuB,GACxB,MAAM,oCAAoC,CAAA;AAE3C,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAEjE,OAAO,EAOL,SAAS,EACT,GAAG,GACJ,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAML,gBAAgB,GACjB,MAAM,eAAe,CAAA;AACtB,OAAO,EAML,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,EAA2B,SAAS,EAAE,MAAM,gBAAgB,CAAA;AACnE,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../utils/index.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,OAAO,EAEL,YAAY,GACb,MAAM,mBAAmB,CAAA;AAE1B,OAAO,EAEL,WAAW;AACX,qCAAqC;AACrC,WAAW,I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AE,CAAA;IACvB,CAAC;AACH,CAAC"}
|
@@ -13,7 +13,7 @@ export function withTimeout(fn, { errorInstance = new Error('timed out'), timeou
|
|
13
13
|
else {
|
14
14
|
reject(errorInstance);
|
15
15
|
}
|
16
|
-
}, timeout);
|
16
|
+
}, timeout); // need to cast because bun globals.d.ts overrides @types/node
|
17
17
|
}
|
18
18
|
resolve(await fn({ signal: controller?.signal || null }));
|
19
19
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"withTimeout.js","sourceRoot":"","sources":["../../../utils/promise/withTimeout.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,WAAW,CACzB,EAEkE,EAClE,EACE,aAAa,GAAG,IAAI,KAAK,CAAC,WAAW,CAAC,EACtC,OAAO,EACP,MAAM,GAQP;IAED,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACrC,CAAC;QAAA,CAAC,KAAK,IAAI,EAAE;YACX,IAAI,
|
1
|
+
{"version":3,"file":"withTimeout.js","sourceRoot":"","sources":["../../../utils/promise/withTimeout.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,WAAW,CACzB,EAEkE,EAClE,EACE,aAAa,GAAG,IAAI,KAAK,CAAC,WAAW,CAAC,EACtC,OAAO,EACP,MAAM,GAQP;IAED,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACrC,CAAC;QAAA,CAAC,KAAK,IAAI,EAAE;YACX,IAAI,SAA0B,CAAA;YAC9B,IAAI,CAAC;gBACH,MAAM,UAAU,GAAG,IAAI,eAAe,EAAE,CAAA;gBACxC,IAAI,OAAO,GAAG,CAAC,EAAE,CAAC;oBAChB,SAAS,GAAG,UAAU,CAAC,GAAG,EAAE;wBAC1B,IAAI,MAAM,EAAE,CAAC;4BACX,UAAU,CAAC,KAAK,EAAE,CAAA;wBACpB,CAAC;6BAAM,CAAC;4BACN,MAAM,CAAC,aAAa,CAAC,CAAA;wBACvB,CAAC;oBACH,CAAC,EAAE,OAAO,CAAmB,CAAA,CAAC,8DAA8D;gBAC9F,CAAC;gBACD,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,IAAI,IAAI,EAAE,CAAC,CAAC,CAAA;YAC3D,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,IAAK,GAAa,EAAE,IAAI,KAAK,YAAY;oBAAE,MAAM,CAAC,aAAa,CAAC,CAAA;gBAChE,MAAM,CAAC,GAAG,CAAC,CAAA;YACb,CAAC;oBAAS,CAAC;gBACT,YAAY,CAAC,SAAS,CAAC,CAAA;YACzB,CAAC;QACH,CAAC,CAAC,EAAE,CAAA;IACN,CAAC,CAAC,CAAA;AACJ,CAAC"}
|
package/_esm/utils/rpc/id.js
CHANGED
package/_esm/utils/rpc/id.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"id.js","sourceRoot":"","sources":["../../../utils/rpc/id.ts"],"names":[],"mappings":"AAAA,
|
1
|
+
{"version":3,"file":"id.js","sourceRoot":"","sources":["../../../utils/rpc/id.ts"],"names":[],"mappings":"AAAA,SAAS,aAAa;IACpB,OAAO;QACL,OAAO,EAAE,CAAC;QACV,IAAI;YACF,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;QACvB,CAAC;QACD,KAAK;YACH,IAAI,CAAC,OAAO,GAAG,CAAC,CAAA;QAClB,CAAC;KACF,CAAA;AACH,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,aAAa,EAAE,CAAA"}
|