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
@@ -4,63 +4,63 @@ import type { FeeValuesEIP1559, FeeValuesEIP4844, FeeValuesLegacy } from './fee.
|
|
4
4
|
import type { Kzg } from './kzg.js';
|
5
5
|
import type { Log } from './log.js';
|
6
6
|
import type { ByteArray, Hash, Hex, Signature } from './misc.js';
|
7
|
-
import type { Branded, ExactPartial, IsNever, OneOf, RequiredBy } from './utils.js';
|
8
|
-
export type AccessList = {
|
7
|
+
import type { Branded, ExactPartial, IsNever, Omit, OneOf, RequiredBy } from './utils.js';
|
8
|
+
export type AccessList = readonly {
|
9
9
|
address: Address;
|
10
|
-
storageKeys: Hex[];
|
10
|
+
storageKeys: readonly Hex[];
|
11
11
|
}[];
|
12
12
|
export type TransactionType = 'legacy' | 'eip1559' | 'eip2930' | 'eip4844' | (string & {});
|
13
|
-
export type TransactionReceipt<
|
13
|
+
export type TransactionReceipt<quantity = bigint, index = number, status = 'success' | 'reverted', type = TransactionType> = {
|
14
14
|
/** The actual value per gas deducted from the sender's account for blob gas. Only specified for blob transactions as defined by EIP-4844. */
|
15
|
-
blobGasPrice?:
|
15
|
+
blobGasPrice?: quantity | undefined;
|
16
16
|
/** The amount of blob gas used. Only specified for blob transactions as defined by EIP-4844. */
|
17
|
-
blobGasUsed?:
|
17
|
+
blobGasUsed?: quantity | undefined;
|
18
18
|
/** Hash of block containing this transaction */
|
19
19
|
blockHash: Hash;
|
20
20
|
/** Number of block containing this transaction */
|
21
|
-
blockNumber:
|
21
|
+
blockNumber: quantity;
|
22
22
|
/** Address of new contract or `null` if no contract was created */
|
23
23
|
contractAddress: Address | null | undefined;
|
24
24
|
/** Gas used by this and all preceding transactions in this block */
|
25
|
-
cumulativeGasUsed:
|
25
|
+
cumulativeGasUsed: quantity;
|
26
26
|
/** Pre-London, it is equal to the transaction's gasPrice. Post-London, it is equal to the actual gas price paid for inclusion. */
|
27
|
-
effectiveGasPrice:
|
27
|
+
effectiveGasPrice: quantity;
|
28
28
|
/** Transaction sender */
|
29
29
|
from: Address;
|
30
30
|
/** Gas used by this transaction */
|
31
|
-
gasUsed:
|
31
|
+
gasUsed: quantity;
|
32
32
|
/** List of log objects generated by this transaction */
|
33
|
-
logs: Log<
|
33
|
+
logs: Log<quantity, index, false>[];
|
34
34
|
/** Logs bloom filter */
|
35
35
|
logsBloom: Hex;
|
36
36
|
/** The post-transaction state root. Only specified for transactions included before the Byzantium upgrade. */
|
37
37
|
root?: Hash | undefined;
|
38
38
|
/** `success` if this transaction was successful or `reverted` if it failed */
|
39
|
-
status:
|
39
|
+
status: status;
|
40
40
|
/** Transaction recipient or `null` if deploying a contract */
|
41
41
|
to: Address | null;
|
42
42
|
/** Hash of this transaction */
|
43
43
|
transactionHash: Hash;
|
44
44
|
/** Index of this transaction in the block */
|
45
|
-
transactionIndex:
|
45
|
+
transactionIndex: index;
|
46
46
|
/** Transaction type */
|
47
|
-
type:
|
47
|
+
type: type;
|
48
48
|
};
|
49
|
-
export type TransactionBase<
|
49
|
+
export type TransactionBase<quantity = bigint, index = number, isPending extends boolean = boolean> = {
|
50
50
|
/** Hash of block containing this transaction or `null` if pending */
|
51
|
-
blockHash:
|
51
|
+
blockHash: isPending extends true ? null : Hash;
|
52
52
|
/** Number of block containing this transaction or `null` if pending */
|
53
|
-
blockNumber:
|
53
|
+
blockNumber: isPending extends true ? null : quantity;
|
54
54
|
/** Transaction sender */
|
55
55
|
from: Address;
|
56
56
|
/** Gas provided for transaction execution */
|
57
|
-
gas:
|
57
|
+
gas: quantity;
|
58
58
|
/** Hash of this transaction */
|
59
59
|
hash: Hash;
|
60
60
|
/** Contract code or a hashed method call */
|
61
61
|
input: Hex;
|
62
62
|
/** Unique number identifying this transaction */
|
63
|
-
nonce:
|
63
|
+
nonce: index;
|
64
64
|
/** ECDSA signature r */
|
65
65
|
r: Hex;
|
66
66
|
/** ECDSA signature s */
|
@@ -68,98 +68,98 @@ export type TransactionBase<TQuantity = bigint, TIndex = number, TPending extend
|
|
68
68
|
/** Transaction recipient or `null` if deploying a contract */
|
69
69
|
to: Address | null;
|
70
70
|
/** Index of this transaction in the block or `null` if pending */
|
71
|
-
transactionIndex:
|
71
|
+
transactionIndex: isPending extends true ? null : index;
|
72
72
|
/** The type represented as hex. */
|
73
73
|
typeHex: Hex | null;
|
74
74
|
/** ECDSA recovery ID */
|
75
|
-
v:
|
75
|
+
v: quantity;
|
76
76
|
/** Value in wei sent with this transaction */
|
77
|
-
value:
|
77
|
+
value: quantity;
|
78
78
|
/** The parity of the y-value of the secp256k1 signature. */
|
79
|
-
yParity:
|
79
|
+
yParity: index;
|
80
80
|
};
|
81
|
-
export type TransactionLegacy<
|
81
|
+
export type TransactionLegacy<quantity = bigint, index = number, isPending extends boolean = boolean, type = 'legacy'> = Omit<TransactionBase<quantity, index, isPending>, 'yParity'> & {
|
82
82
|
/** EIP-2930 Access List. */
|
83
83
|
accessList?: undefined;
|
84
84
|
blobVersionedHashes?: undefined;
|
85
85
|
/** Chain ID that this transaction is valid on. */
|
86
|
-
chainId?:
|
86
|
+
chainId?: index | undefined;
|
87
87
|
yParity?: undefined;
|
88
|
-
type:
|
89
|
-
}
|
90
|
-
export type TransactionEIP2930<
|
88
|
+
type: type;
|
89
|
+
} & FeeValuesLegacy<quantity>;
|
90
|
+
export type TransactionEIP2930<quantity = bigint, index = number, isPending extends boolean = boolean, type = 'eip2930'> = TransactionBase<quantity, index, isPending> & {
|
91
91
|
/** EIP-2930 Access List. */
|
92
92
|
accessList: AccessList;
|
93
93
|
blobVersionedHashes?: undefined;
|
94
94
|
/** Chain ID that this transaction is valid on. */
|
95
|
-
chainId:
|
96
|
-
type:
|
97
|
-
}
|
98
|
-
export type TransactionEIP1559<
|
95
|
+
chainId: index;
|
96
|
+
type: type;
|
97
|
+
} & FeeValuesLegacy<quantity>;
|
98
|
+
export type TransactionEIP1559<quantity = bigint, index = number, isPending extends boolean = boolean, type = 'eip1559'> = TransactionBase<quantity, index, isPending> & {
|
99
99
|
/** EIP-2930 Access List. */
|
100
100
|
accessList: AccessList;
|
101
101
|
blobVersionedHashes?: undefined;
|
102
102
|
/** Chain ID that this transaction is valid on. */
|
103
|
-
chainId:
|
104
|
-
type:
|
105
|
-
}
|
106
|
-
export type TransactionEIP4844<
|
103
|
+
chainId: index;
|
104
|
+
type: type;
|
105
|
+
} & FeeValuesEIP1559<quantity>;
|
106
|
+
export type TransactionEIP4844<quantity = bigint, index = number, isPending extends boolean = boolean, type = 'eip4844'> = TransactionBase<quantity, index, isPending> & {
|
107
107
|
/** EIP-2930 Access List. */
|
108
108
|
accessList: AccessList;
|
109
109
|
/** List of versioned blob hashes associated with the transaction's blobs. */
|
110
110
|
blobVersionedHashes: readonly Hex[];
|
111
111
|
/** Chain ID that this transaction is valid on. */
|
112
|
-
chainId:
|
113
|
-
type:
|
114
|
-
}
|
115
|
-
export type Transaction<
|
116
|
-
export type TransactionRequestBase<
|
112
|
+
chainId: index;
|
113
|
+
type: type;
|
114
|
+
} & FeeValuesEIP4844<quantity>;
|
115
|
+
export type Transaction<quantity = bigint, index = number, isPending extends boolean = boolean> = OneOf<TransactionLegacy<quantity, index, isPending> | TransactionEIP2930<quantity, index, isPending> | TransactionEIP1559<quantity, index, isPending> | TransactionEIP4844<quantity, index, isPending>>;
|
116
|
+
export type TransactionRequestBase<quantity = bigint, index = number> = {
|
117
117
|
/** Contract code or a hashed method call with encoded args */
|
118
118
|
data?: Hex | undefined;
|
119
119
|
/** Transaction sender */
|
120
120
|
from: Address;
|
121
121
|
/** Gas provided for transaction execution */
|
122
|
-
gas?:
|
122
|
+
gas?: quantity | undefined;
|
123
123
|
/** Unique number identifying this transaction */
|
124
|
-
nonce?:
|
124
|
+
nonce?: index | undefined;
|
125
125
|
/** Transaction recipient */
|
126
126
|
to?: Address | null | undefined;
|
127
127
|
/** Value in wei sent with this transaction */
|
128
|
-
value?:
|
128
|
+
value?: quantity | undefined;
|
129
129
|
};
|
130
|
-
export type TransactionRequestLegacy<
|
130
|
+
export type TransactionRequestLegacy<quantity = bigint, index = number, type = 'legacy'> = TransactionRequestBase<quantity, index> & {
|
131
131
|
accessList?: undefined;
|
132
132
|
blobs?: undefined;
|
133
|
-
type?:
|
134
|
-
}
|
135
|
-
export type TransactionRequestEIP2930<
|
133
|
+
type?: type | undefined;
|
134
|
+
} & ExactPartial<FeeValuesLegacy<quantity>>;
|
135
|
+
export type TransactionRequestEIP2930<quantity = bigint, index = number, type = 'eip2930'> = TransactionRequestBase<quantity, index> & {
|
136
136
|
accessList?: AccessList | undefined;
|
137
137
|
blobs?: undefined;
|
138
|
-
type?:
|
139
|
-
}
|
140
|
-
export type TransactionRequestEIP1559<
|
138
|
+
type?: type | undefined;
|
139
|
+
} & ExactPartial<FeeValuesLegacy<quantity>>;
|
140
|
+
export type TransactionRequestEIP1559<quantity = bigint, index = number, type = 'eip1559'> = TransactionRequestBase<quantity, index> & ExactPartial<FeeValuesEIP1559<quantity>> & {
|
141
141
|
accessList?: AccessList | undefined;
|
142
142
|
blobs?: undefined;
|
143
|
-
type?:
|
143
|
+
type?: type | undefined;
|
144
144
|
};
|
145
|
-
export type TransactionRequestEIP4844<
|
145
|
+
export type TransactionRequestEIP4844<quantity = bigint, index = number, type = 'eip4844'> = RequiredBy<TransactionRequestBase<quantity, index>, 'to'> & {
|
146
146
|
accessList?: AccessList | undefined;
|
147
147
|
/** The blobs associated with this transaction. */
|
148
148
|
blobs: readonly Hex[] | readonly ByteArray[];
|
149
149
|
blobVersionedHashes?: readonly Hex[] | undefined;
|
150
150
|
kzg?: Kzg | undefined;
|
151
151
|
sidecars?: readonly BlobSidecar<Hex>[] | undefined;
|
152
|
-
type?:
|
153
|
-
}
|
154
|
-
export type TransactionRequest<
|
155
|
-
export type TransactionRequestGeneric<
|
152
|
+
type?: type | undefined;
|
153
|
+
} & RequiredBy<ExactPartial<FeeValuesEIP4844<quantity>>, 'maxFeePerBlobGas'>;
|
154
|
+
export type TransactionRequest<quantity = bigint, index = number> = OneOf<TransactionRequestLegacy<quantity, index> | TransactionRequestEIP2930<quantity, index> | TransactionRequestEIP1559<quantity, index> | TransactionRequestEIP4844<quantity, index>>;
|
155
|
+
export type TransactionRequestGeneric<quantity = bigint, index = number> = TransactionRequestBase<quantity, index> & {
|
156
156
|
accessList?: AccessList | undefined;
|
157
157
|
blobs?: readonly Hex[] | readonly ByteArray[] | undefined;
|
158
158
|
blobVersionedHashes?: readonly Hex[] | undefined;
|
159
|
-
gasPrice?:
|
160
|
-
maxFeePerBlobGas?:
|
161
|
-
maxFeePerGas?:
|
162
|
-
maxPriorityFeePerGas?:
|
159
|
+
gasPrice?: quantity | undefined;
|
160
|
+
maxFeePerBlobGas?: quantity | undefined;
|
161
|
+
maxFeePerGas?: quantity | undefined;
|
162
|
+
maxPriorityFeePerGas?: quantity | undefined;
|
163
163
|
type?: string | undefined;
|
164
164
|
};
|
165
165
|
export type TransactionSerializedEIP1559 = `0x02${string}`;
|
@@ -167,38 +167,38 @@ export type TransactionSerializedEIP2930 = `0x01${string}`;
|
|
167
167
|
export type TransactionSerializedEIP4844 = `0x03${string}`;
|
168
168
|
export type TransactionSerializedLegacy = Branded<`0x${string}`, 'legacy'>;
|
169
169
|
export type TransactionSerializedGeneric = `0x${string}`;
|
170
|
-
export type TransactionSerialized<
|
171
|
-
export type TransactionSerializableBase<
|
172
|
-
export type TransactionSerializableLegacy<
|
170
|
+
export type TransactionSerialized<type extends TransactionType = TransactionType, result = (type extends 'eip1559' ? TransactionSerializedEIP1559 : never) | (type extends 'eip2930' ? TransactionSerializedEIP2930 : never) | (type extends 'eip4844' ? TransactionSerializedEIP4844 : never) | (type extends 'legacy' ? TransactionSerializedLegacy : never)> = IsNever<result> extends true ? TransactionSerializedGeneric : result;
|
171
|
+
export type TransactionSerializableBase<quantity = bigint, index = number> = Omit<TransactionRequestBase<quantity, index>, 'from'> & ExactPartial<Signature>;
|
172
|
+
export type TransactionSerializableLegacy<quantity = bigint, index = number> = TransactionSerializableBase<quantity, index> & {
|
173
173
|
accessList?: undefined;
|
174
174
|
blobs?: undefined;
|
175
175
|
blobVersionedHashes?: undefined;
|
176
176
|
chainId?: number | undefined;
|
177
177
|
type?: 'legacy' | undefined;
|
178
|
-
}
|
179
|
-
export type TransactionSerializableEIP2930<
|
178
|
+
} & ExactPartial<FeeValuesLegacy<quantity>>;
|
179
|
+
export type TransactionSerializableEIP2930<quantity = bigint, index = number> = TransactionSerializableBase<quantity, index> & {
|
180
180
|
accessList?: AccessList | undefined;
|
181
181
|
blobs?: undefined;
|
182
182
|
blobVersionedHashes?: undefined;
|
183
183
|
chainId: number;
|
184
184
|
type?: 'eip2930' | undefined;
|
185
185
|
yParity?: number | undefined;
|
186
|
-
}
|
187
|
-
export type TransactionSerializableEIP1559<
|
186
|
+
} & ExactPartial<FeeValuesLegacy<quantity>>;
|
187
|
+
export type TransactionSerializableEIP1559<quantity = bigint, index = number> = TransactionSerializableBase<quantity, index> & {
|
188
188
|
accessList?: AccessList | undefined;
|
189
189
|
blobs?: undefined;
|
190
190
|
blobVersionedHashes?: undefined;
|
191
191
|
chainId: number;
|
192
192
|
type?: 'eip1559' | undefined;
|
193
193
|
yParity?: number | undefined;
|
194
|
-
}
|
195
|
-
export type TransactionSerializableEIP4844<
|
194
|
+
} & ExactPartial<FeeValuesEIP1559<quantity>>;
|
195
|
+
export type TransactionSerializableEIP4844<quantity = bigint, index = number> = TransactionSerializableBase<quantity, index> & {
|
196
196
|
accessList?: AccessList | undefined;
|
197
197
|
chainId: number;
|
198
198
|
sidecars?: readonly BlobSidecar<Hex>[] | false | undefined;
|
199
199
|
type?: 'eip4844' | undefined;
|
200
200
|
yParity?: number | undefined;
|
201
|
-
} & OneOf<{
|
201
|
+
} & ExactPartial<FeeValuesEIP4844<quantity>> & OneOf<{
|
202
202
|
blobs?: readonly Hex[] | readonly ByteArray[] | undefined;
|
203
203
|
blobVersionedHashes: readonly Hex[];
|
204
204
|
} | {
|
@@ -206,17 +206,17 @@ export type TransactionSerializableEIP4844<TQuantity = bigint, TIndex = number>
|
|
206
206
|
blobVersionedHashes?: readonly Hex[] | undefined;
|
207
207
|
kzg: Kzg;
|
208
208
|
}>;
|
209
|
-
export type
|
209
|
+
export type TransactionSerializable<quantity = bigint, index = number> = OneOf<TransactionSerializableLegacy<quantity, index> | TransactionSerializableEIP2930<quantity, index> | TransactionSerializableEIP1559<quantity, index> | TransactionSerializableEIP4844<quantity, index>>;
|
210
|
+
export type TransactionSerializableGeneric<quantity = bigint, index = number> = TransactionSerializableBase<quantity, index> & {
|
210
211
|
accessList?: AccessList | undefined;
|
211
212
|
blobs?: readonly Hex[] | readonly ByteArray[] | undefined;
|
212
213
|
blobVersionedHashes?: readonly Hex[] | undefined;
|
213
214
|
chainId?: number | undefined;
|
214
|
-
gasPrice?:
|
215
|
-
maxFeePerBlobGas?:
|
216
|
-
maxFeePerGas?:
|
217
|
-
maxPriorityFeePerGas?:
|
215
|
+
gasPrice?: quantity | undefined;
|
216
|
+
maxFeePerBlobGas?: quantity | undefined;
|
217
|
+
maxFeePerGas?: quantity | undefined;
|
218
|
+
maxPriorityFeePerGas?: quantity | undefined;
|
218
219
|
sidecars?: readonly BlobSidecar<Hex>[] | false | undefined;
|
219
220
|
type?: string | undefined;
|
220
221
|
};
|
221
|
-
export type TransactionSerializable<TQuantity = bigint, TIndex = number> = OneOf<TransactionSerializableLegacy<TQuantity, TIndex> | TransactionSerializableEIP2930<TQuantity, TIndex> | TransactionSerializableEIP1559<TQuantity, TIndex> | TransactionSerializableEIP4844<TQuantity, TIndex>>;
|
222
222
|
//# sourceMappingURL=transaction.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../types/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC/C,OAAO,KAAK,EACV,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EAChB,MAAM,UAAU,CAAA;AACjB,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AACnC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AACnC,OAAO,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAChE,OAAO,KAAK,EACV,OAAO,EACP,YAAY,EACZ,OAAO,EACP,KAAK,EACL,UAAU,EACX,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H,MAAM,MAAM,uBAAuB,CAAC,QAAQ,GAAG,MAAM,EAAE,KAAK,GAAG,MAAM,IAAI,KAAK,CAC1E,6BAA6B,CAAC,QAAQ,EAAE,KAAK,CAAC,GAC9C,8BAA8B,CAAC,QAAQ,EAAE,KAAK,CAAC,GAC/C,8BAA8B,CAAC,QAAQ,EAAE,KAAK,CAAC,GAC/C,8BAA8B,CAAC,QAAQ,EAAE,KAAK,CAAC,CAClD,CAAA;AAED,MAAM,MAAM,8BAA8B,CACxC,QAAQ,GAAG,MAAM,EACjB,KAAK,GAAG,MAAM,IACZ,2BAA2B,CAAC,QAAQ,EAAE,KAAK,CAAC,GAAG;IACjD,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAA;IACnC,KAAK,CAAC,EAAE,SAAS,GAAG,EAAE,GAAG,SAAS,SAAS,EAAE,GAAG,SAAS,CAAA;IACzD,mBAAmB,CAAC,EAAE,SAAS,GAAG,EAAE,GAAG,SAAS,CAAA;IAChD,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;IAC/B,gBAAgB,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;IACvC,YAAY,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;IACnC,oBAAoB,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;IAC3C,QAAQ,CAAC,EAAE,SAAS,WAAW,CAAC,GAAG,CAAC,EAAE,GAAG,KAAK,GAAG,SAAS,CAAA;IAC1D,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC1B,CAAA"}
|
@@ -23,7 +23,7 @@ export type GetPollOptions<transport extends Transport> = (HasTransportType<tran
|
|
23
23
|
*/
|
24
24
|
pollingInterval?: number | undefined;
|
25
25
|
};
|
26
|
-
export type HasTransportType<transport extends Transport, type extends string> = GetTransportConfig<transport>['type'] extends type ? true : transport extends FallbackTransport<infer transports extends Transport[]> ? Some<{
|
26
|
+
export type HasTransportType<transport extends Transport, type extends string> = GetTransportConfig<transport>['type'] extends type ? true : transport extends FallbackTransport<infer transports extends readonly Transport[]> ? Some<{
|
27
27
|
[key in keyof transports]: GetTransportConfig<transports[key]>['type'];
|
28
28
|
}, type> : false;
|
29
29
|
//# sourceMappingURL=transport.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../../types/transport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAA;AACzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAA;AAC1E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AAEtC,MAAM,MAAM,kBAAkB,CAAC,UAAU,SAAS,SAAS,IACzD,UAAU,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC,CAAA;AAElC,MAAM,MAAM,cAAc,CAAC,SAAS,SAAS,SAAS,IAClD,CAAC,gBAAgB,CAAC,SAAS,EAAE,WAAW,CAAC,SAAS,IAAI,GAClD;IACE,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB;;;OAGG;IACH,IAAI,CAAC,EAAE,KAAK,GAAG,SAAS,CAAA;IACxB,eAAe,CAAC,EAAE,SAAS,CAAA;CAC5B,GACD,KAAK,CAAC,GACV;IACE,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAA;IACvB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC3B;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACrC,CAAA;AAEL,MAAM,MAAM,gBAAgB,CAC1B,SAAS,SAAS,SAAS,EAC3B,IAAI,SAAS,MAAM,IACjB,kBAAkB,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,SAAS,IAAI,GAClD,IAAI,GACJ,SAAS,SAAS,iBAAiB,
|
1
|
+
{"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../../types/transport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAA;AACzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAA;AAC1E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AAEtC,MAAM,MAAM,kBAAkB,CAAC,UAAU,SAAS,SAAS,IACzD,UAAU,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC,CAAA;AAElC,MAAM,MAAM,cAAc,CAAC,SAAS,SAAS,SAAS,IAClD,CAAC,gBAAgB,CAAC,SAAS,EAAE,WAAW,CAAC,SAAS,IAAI,GAClD;IACE,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB;;;OAGG;IACH,IAAI,CAAC,EAAE,KAAK,GAAG,SAAS,CAAA;IACxB,eAAe,CAAC,EAAE,SAAS,CAAA;CAC5B,GACD,KAAK,CAAC,GACV;IACE,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAA;IACvB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC3B;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACrC,CAAA;AAEL,MAAM,MAAM,gBAAgB,CAC1B,SAAS,SAAS,SAAS,EAC3B,IAAI,SAAS,MAAM,IACjB,kBAAkB,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,SAAS,IAAI,GAClD,IAAI,GACJ,SAAS,SAAS,iBAAiB,CAC/B,MAAM,UAAU,SAAS,SAAS,SAAS,EAAE,CAC9C,GACD,IAAI,CACF;KACG,GAAG,IAAI,MAAM,UAAU,GAAG,kBAAkB,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC;CACvE,EACD,IAAI,CACL,GACD,KAAK,CAAA"}
|
package/_types/types/utils.d.ts
CHANGED
@@ -42,6 +42,10 @@ export type IsNarrowable<T, U> = IsNever<(T extends U ? true : false) & (U exten
|
|
42
42
|
* // ^? type Result = true
|
43
43
|
*/
|
44
44
|
export type IsNever<T> = [T] extends [never] ? true : false;
|
45
|
+
/** Removes `readonly` from all properties of an object. */
|
46
|
+
export type Mutable<type extends object> = {
|
47
|
+
-readonly [key in keyof type]: type[key];
|
48
|
+
};
|
45
49
|
/**
|
46
50
|
* @description Returns type {@link T} if it is an opaque type of {@link U}
|
47
51
|
* @param T - Type to check
|
@@ -120,8 +124,11 @@ export type NoInfer<type> = [type][type extends any ? 0 : never];
|
|
120
124
|
* @example
|
121
125
|
* NoUndefined<string | undefined>
|
122
126
|
* => string
|
127
|
+
*
|
128
|
+
* @internal
|
123
129
|
*/
|
124
130
|
export type NoUndefined<T> = T extends undefined ? never : T;
|
131
|
+
/** Strict version of built-in Omit type */
|
125
132
|
export type Omit<type, keys extends keyof type> = Pick<type, Exclude<keyof type, keys>>;
|
126
133
|
/**
|
127
134
|
* @description Creates a type that is a partial of T, but with the required keys K.
|
@@ -142,6 +149,10 @@ export type PartialBy<T, K extends keyof T> = Omit<T, K> & ExactPartial<Pick<T,
|
|
142
149
|
export type Prettify<T> = {
|
143
150
|
[K in keyof T]: T[K];
|
144
151
|
} & {};
|
152
|
+
/** @internal */
|
153
|
+
export type Evaluate<type> = {
|
154
|
+
[key in keyof type]: type[key];
|
155
|
+
} & {};
|
145
156
|
/**
|
146
157
|
* @description Creates a type that is T with the required keys K.
|
147
158
|
*
|
@@ -157,16 +168,15 @@ export type RequiredBy<T, K extends keyof T> = Omit<T, K> & ExactRequired<Pick<T
|
|
157
168
|
* Some<[1, 2, 3], 2>
|
158
169
|
* => true
|
159
170
|
*/
|
160
|
-
export type Some<array extends unknown[], value> = array extends [
|
161
|
-
value,
|
162
|
-
...unknown[]
|
163
|
-
] ? true : array extends [unknown, ...infer rest] ? Some<rest, value> : false;
|
171
|
+
export type Some<array extends readonly unknown[], value> = array extends readonly [value, ...unknown[]] ? true : array extends readonly [unknown, ...infer rest] ? Some<rest, value> : false;
|
164
172
|
/**
|
165
173
|
* @description Creates a type that extracts the values of T.
|
166
174
|
*
|
167
175
|
* @example
|
168
176
|
* ValueOf<{ a: string, b: number }>
|
169
177
|
* => string | number
|
178
|
+
*
|
179
|
+
* @internal
|
170
180
|
*/
|
171
181
|
export type ValueOf<T> = T[keyof T];
|
172
182
|
export type UnionToTuple<union, last = LastInUnion<union>> = [union] extends [never] ? [] : [...UnionToTuple<Exclude<union, last>>, last];
|
@@ -184,7 +194,10 @@ export type OneOf<union extends object, fallback extends object | undefined = un
|
|
184
194
|
[_K in Exclude<keys, keyof Item>]?: fallback extends object ? fallback[_K] : undefined;
|
185
195
|
}> : never;
|
186
196
|
type KeyofUnion<type> = type extends type ? keyof type : never;
|
187
|
-
/**
|
197
|
+
/**
|
198
|
+
* Loose version of {@link Omit}
|
199
|
+
* @internal
|
200
|
+
*/
|
188
201
|
export type LooseOmit<type, keys extends string> = Pick<type, Exclude<keyof type, keys>>;
|
189
202
|
export type UnionEvaluate<type> = type extends object ? Prettify<type> : type;
|
190
203
|
export type UnionLooseOmit<type, keys extends string> = type extends any ? LooseOmit<type, keys> : never;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../types/utils.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,MAAM,EAAE,OAAO,MAAM,CAAA;AAEnC;;;;;;;;;;GAUG;AACH,MAAM,MAAM,OAAO,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;CAAE,CAAA;AAE/C;;;;;;;;;;GAUG;AACH,MAAM,MAAM,MAAM,CAChB,CAAC,SAAS,SAAS,OAAO,EAAE,EAC5B,CAAC,EACD,GAAG,SAAS,SAAS,OAAO,EAAE,GAAG,EAAE,IACjC,CAAC,SAAS,SAAS,CAAC,MAAM,CAAC,EAAE,GAAG,MAAM,IAAI,SAAS,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AC,IAAI,EAAE,IAAI,SAAS,MAAM,IAAI,IAAI,IAAI,SAAS,GAAG,GACnE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,GAChB,KAAK,CAAA;AAET;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,CAAC,SAAS,GAAG,GAC5D,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,GACf,KAAK,CAAA;AAET;;;;;;GAMG;AACH,MAAM,MAAM,eAAe,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,CAAC,SAAS,GAAG,GAC7D,UAAU,CAAC,CAAC,EAAE,CAAC,CAAC,GAChB,KAAK,CAAA"}
|
@@ -3,6 +3,7 @@ import type { ByteArray, Hex } from '../../types/misc.js';
|
|
3
3
|
import { type InvalidAbiDecodingTypeErrorType } from '../../errors/abi.js';
|
4
4
|
import type { ErrorType } from '../../errors/utils.js';
|
5
5
|
import { type ChecksumAddressErrorType } from '../address/getAddress.js';
|
6
|
+
import { type CreateCursorErrorType } from '../cursor.js';
|
6
7
|
import { type SizeErrorType } from '../data/size.js';
|
7
8
|
import { type SliceBytesErrorType } from '../data/slice.js';
|
8
9
|
import { type TrimErrorType } from '../data/trim.js';
|
@@ -10,7 +11,7 @@ import { type BytesToBigIntErrorType, type BytesToBoolErrorType, type BytesToNum
|
|
10
11
|
import { type HexToBytesErrorType } from '../encoding/toBytes.js';
|
11
12
|
import { type BytesToHexErrorType } from '../encoding/toHex.js';
|
12
13
|
export type DecodeAbiParametersReturnType<TParams extends readonly AbiParameter[] = readonly AbiParameter[]> = AbiParametersToPrimitiveTypes<TParams extends readonly AbiParameter[] ? TParams : AbiParameter[]>;
|
13
|
-
export type DecodeAbiParametersErrorType = HexToBytesErrorType | BytesToHexErrorType | DecodeParameterErrorType | SizeErrorType | ErrorType;
|
14
|
+
export type DecodeAbiParametersErrorType = HexToBytesErrorType | BytesToHexErrorType | DecodeParameterErrorType | SizeErrorType | CreateCursorErrorType | ErrorType;
|
14
15
|
export declare function decodeAbiParameters<const TParams extends readonly AbiParameter[]>(params: TParams, data: ByteArray | Hex): DecodeAbiParametersReturnType<TParams>;
|
15
16
|
type DecodeParameterErrorType = DecodeArrayErrorType | DecodeTupleErrorType | DecodeAddressErrorType | DecodeBoolErrorType | DecodeBytesErrorType | DecodeNumberErrorType | DecodeStringErrorType | InvalidAbiDecodingTypeErrorType;
|
16
17
|
type DecodeAddressErrorType = ChecksumAddressErrorType | BytesToHexErrorType | SliceBytesErrorType | ErrorType;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"decodeAbiParameters.d.ts","sourceRoot":"","sources":["../../../utils/abi/decodeAbiParameters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAA;AAE1E,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAEzD,OAAO,EAIL,KAAK,+BAA+B,EACrC,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,EACL,KAAK,wBAAwB,EAE9B,MAAM,0BAA0B,CAAA;
|
1
|
+
{"version":3,"file":"decodeAbiParameters.d.ts","sourceRoot":"","sources":["../../../utils/abi/decodeAbiParameters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAA;AAE1E,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAEzD,OAAO,EAIL,KAAK,+BAA+B,EACrC,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,EACL,KAAK,wBAAwB,EAE9B,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,KAAK,qBAAqB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,SAAS,CAAA;AAM3D,KAAK,oBAAoB,GACrB,sBAAsB,GACtB,mBAAmB,GACnB,SAAS,CAAA;AAmCb,KAAK,qBAAqB,GACtB,sBAAsB,GACtB,sBAAsB,GACtB,SAAS,CAAA;AAgBb,KAAK,oBAAoB,GAAG,sBAAsB,GAAG,SAAS,CAAA;AAwD9D,KAAK,qBAAqB,GACtB,sBAAsB,GACtB,sBAAsB,GACtB,aAAa,GACb,SAAS,CAAA"}
|
@@ -47,16 +47,17 @@ export type EncodeAbiParametersErrorType = AbiEncodingLengthMismatchErrorType |
|
|
47
47
|
* ```
|
48
48
|
*/
|
49
49
|
export declare function encodeAbiParameters<const TParams extends readonly AbiParameter[] | readonly unknown[]>(params: TParams, values: TParams extends readonly AbiParameter[] ? AbiParametersToPrimitiveTypes<TParams> : never): EncodeAbiParametersReturnType;
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
50
|
+
type PrepareParamsErrorType = PrepareParamErrorType | ErrorType;
|
51
|
+
type PrepareParamErrorType = EncodeAddressErrorType | EncodeArrayErrorType | EncodeBytesErrorType | EncodeBoolErrorType | EncodeNumberErrorType | EncodeStringErrorType | EncodeTupleErrorType | GetArrayComponentsErrorType | InvalidAbiEncodingTypeErrorType | ErrorType;
|
52
|
+
type EncodeParamsErrorType = NumberToHexErrorType | SizeErrorType | ErrorType;
|
53
|
+
type EncodeAddressErrorType = InvalidAddressErrorType | IsAddressErrorType | ErrorType;
|
54
|
+
type EncodeArrayErrorType = AbiEncodingArrayLengthMismatchErrorType | ConcatErrorType | EncodeParamsErrorType | InvalidArrayErrorType | NumberToHexErrorType | ErrorType;
|
55
|
+
type EncodeBytesErrorType = AbiEncodingBytesSizeMismatchErrorType | ConcatErrorType | PadHexErrorType | NumberToHexErrorType | SizeErrorType | ErrorType;
|
56
|
+
type EncodeBoolErrorType = PadHexErrorType | BoolToHexErrorType | ErrorType;
|
57
|
+
type EncodeNumberErrorType = NumberToHexErrorType | ErrorType;
|
58
|
+
type EncodeStringErrorType = ConcatErrorType | NumberToHexErrorType | PadHexErrorType | SizeErrorType | SliceErrorType | StringToHexErrorType | ErrorType;
|
59
|
+
type EncodeTupleErrorType = ConcatErrorType | EncodeParamsErrorType | ErrorType;
|
60
|
+
type GetArrayComponentsErrorType = ErrorType;
|
61
61
|
export declare function getArrayComponents(type: string): [length: number | null, innerType: string] | undefined;
|
62
|
+
export {};
|
62
63
|
//# sourceMappingURL=encodeAbiParameters.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"encodeAbiParameters.d.ts","sourceRoot":"","sources":["../../../utils/abi/encodeAbiParameters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EAEZ,6BAA6B,EAC9B,MAAM,SAAS,CAAA;AAEhB,OAAO,EAEL,KAAK,uCAAuC,EAE5C,KAAK,qCAAqC,EAE1C,KAAK,kCAAkC,EAEvC,KAAK,+BAA+B,EAEpC,KAAK,qBAAqB,EAC3B,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,yBAAyB,CAAA;AAEhC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAC9C,OAAO,EAAE,KAAK,kBAAkB,EAAa,MAAM,yBAAyB,CAAA;AAC5E,OAAO,EAAE,KAAK,eAAe,EAAU,MAAM,mBAAmB,CAAA;AAChE,OAAO,EAAE,KAAK,eAAe,EAAU,MAAM,gBAAgB,CAAA;AAC7D,OAAO,EAAE,KAAK,aAAa,EAAQ,MAAM,iBAAiB,CAAA;AAC1D,OAAO,EAAE,KAAK,cAAc,EAAS,MAAM,kBAAkB,CAAA;AAC7D,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,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AqB,GACtB,eAAe,GACf,oBAAoB,GACpB,eAAe,GACf,aAAa,GACb,cAAc,GACd,oBAAoB,GACpB,SAAS,CAAA;AAsBb,KAAK,oBAAoB,GACrB,eAAe,GACf,qBAAqB,GAGrB,SAAS,CAAA;AA4Bb,KAAK,2BAA2B,GAAG,SAAS,CAAA;AAE5C,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,MAAM,GACX,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,GAAG,SAAS,CAMxD"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import type { Abi, AbiParameter } from 'abitype';
|
2
|
+
import { type AbiItemAmbiguityErrorType } from '../../errors/abi.js';
|
2
3
|
import type { ErrorType } from '../../errors/utils.js';
|
3
4
|
import type { AbiItem, AbiItemArgs, AbiItemName, ExtractAbiItemForArgs, Widen } from '../../types/contract.js';
|
4
5
|
import type { Hex } from '../../types/misc.js';
|
@@ -14,10 +15,13 @@ export type GetAbiItemParameters<abi extends Abi | readonly unknown[] = Abi, nam
|
|
14
15
|
} : {
|
15
16
|
args?: allArgs | (Widen<args> & (args extends allArgs ? unknown : never)) | undefined;
|
16
17
|
}>;
|
17
|
-
export type GetAbiItemErrorType = IsArgOfTypeErrorType | IsHexErrorType | ToFunctionSelectorErrorType | ErrorType;
|
18
|
+
export type GetAbiItemErrorType = IsArgOfTypeErrorType | IsHexErrorType | ToFunctionSelectorErrorType | AbiItemAmbiguityErrorType | ErrorType;
|
18
19
|
export type GetAbiItemReturnType<abi extends Abi | readonly unknown[] = Abi, name extends AbiItemName<abi> = AbiItemName<abi>, args extends AbiItemArgs<abi, name> | undefined = AbiItemArgs<abi, name>> = abi extends Abi ? Abi extends abi ? AbiItem | undefined : ExtractAbiItemForArgs<abi, name, args extends AbiItemArgs<abi, name> ? args : AbiItemArgs<abi, name>> : AbiItem | undefined;
|
19
20
|
export declare function getAbiItem<const abi extends Abi | readonly unknown[], name extends AbiItemName<abi>, const args extends AbiItemArgs<abi, name> | undefined = undefined>(parameters: GetAbiItemParameters<abi, name, args>): GetAbiItemReturnType<abi, name, args>;
|
20
|
-
|
21
|
+
type IsArgOfTypeErrorType = IsAddressErrorType | ErrorType;
|
22
|
+
/** @internal */
|
21
23
|
export declare function isArgOfType(arg: unknown, abiParameter: AbiParameter): boolean;
|
24
|
+
/** @internal */
|
22
25
|
export declare function getAmbiguousTypes(sourceParameters: readonly AbiParameter[], targetParameters: readonly AbiParameter[], args: AbiItemArgs): AbiParameter['type'][] | undefined;
|
26
|
+
export {};
|
23
27
|
//# sourceMappingURL=getAbiItem.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getAbiItem.d.ts","sourceRoot":"","sources":["../../../utils/abi/getAbiItem.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,YAAY,EAAW,MAAM,SAAS,CAAA;
|
1
|
+
{"version":3,"file":"getAbiItem.d.ts","sourceRoot":"","sources":["../../../utils/abi/getAbiItem.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,YAAY,EAAW,MAAM,SAAS,CAAA;AAEzD,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EACV,OAAO,EACP,WAAW,EACX,WAAW,EACX,qBAAqB,EACrB,KAAK,EACN,MAAM,yBAAyB,CAAA;AAChC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,KAAK,cAAc,EAAS,MAAM,2BAA2B,CAAA;AACtE,OAAO,EAAE,KAAK,kBAAkB,EAAa,MAAM,yBAAyB,CAAA;AAE5E,OAAO,EACL,KAAK,2BAA2B,EAEjC,MAAM,+BAA+B,CAAA;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AG,EAAE,IAAI,CAAC,IACtE,GAAG,SAAS,GAAG,GACf,GAAG,SAAS,GAAG,GACb,OAAO,GAAG,SAAS,GACnB,qBAAqB,CACnB,GAAG,EACH,IAAI,EACJ,IAAI,SAAS,WAAW,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,IAAI,GAAG,WAAW,CAAC,GAAG,EAAE,IAAI,CAAC,CACpE,GACH,OAAO,GAAG,SAAS,CAAA;AAEvB,wBAAgB,UAAU,CACxB,KAAK,CAAC,GAAG,SAAS,GAAG,GAAG,SAAS,OAAO,EAAE,EAC1C,IAAI,SAAS,WAAW,CAAC,GAAG,CAAC,EAC7B,KAAK,CAAC,IAAI,SAAS,WAAW,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,SAAS,GAAG,SAAS,EAEjE,UAAU,EAAE,oBAAoB,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,GAChD,oBAAoB,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,CAmEvC;AAED,KAAK,oBAAoB,GAAG,kBAAkB,GAAG,SAAS,CAAA;AAE1D,gBAAgB;AAChB,wBAAgB,WAAW,CAAC,GAAG,EAAE,OAAO,EAAE,YAAY,EAAE,YAAY,GAAG,OAAO,CAuD7E;AAED,gBAAgB;AAChB,wBAAgB,iBAAiB,CAC/B,gBAAgB,EAAE,SAAS,YAAY,EAAE,EACzC,gBAAgB,EAAE,SAAS,YAAY,EAAE,EACzC,IAAI,EAAE,WAAW,GAChB,YAAY,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAgCpC"}
|
@@ -2,9 +2,7 @@ import type { Address } from 'abitype';
|
|
2
2
|
import type { ErrorType } from '../../errors/utils.js';
|
3
3
|
import { type StringToBytesErrorType } from '../encoding/toBytes.js';
|
4
4
|
import { type Keccak256ErrorType } from '../hash/keccak256.js';
|
5
|
-
import { LruMap } from '../lru.js';
|
6
5
|
import { type IsAddressErrorType } from './isAddress.js';
|
7
|
-
export declare const checksumAddressCache: LruMap<`0x${string}`>;
|
8
6
|
export type ChecksumAddressErrorType = Keccak256ErrorType | StringToBytesErrorType | ErrorType;
|
9
7
|
export declare function checksumAddress(address_: Address,
|
10
8
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getAddress.d.ts","sourceRoot":"","sources":["../../../utils/address/getAddress.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAGtC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,KAAK,kBAAkB,EAAa,MAAM,sBAAsB,CAAA;
|
1
|
+
{"version":3,"file":"getAddress.d.ts","sourceRoot":"","sources":["../../../utils/address/getAddress.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAGtC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,KAAK,kBAAkB,EAAa,MAAM,sBAAsB,CAAA;AAEzE,OAAO,EAAE,KAAK,kBAAkB,EAAa,MAAM,gBAAgB,CAAA;AAInE,MAAM,MAAM,wBAAwB,GAChC,kBAAkB,GAClB,sBAAsB,GACtB,SAAS,CAAA;AAEb,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,OAAO;AACjB;;;;;;;;;GASG;AACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,GAC3B,OAAO,CAwBT;AAED,MAAM,MAAM,mBAAmB,GAC3B,wBAAwB,GACxB,kBAAkB,GAClB,SAAS,CAAA;AAEb,wBAAgB,UAAU,CACxB,OAAO,EAAE,MAAM;AACf;;;;;;;;;GASG;AACH,OAAO,CAAC,EAAE,MAAM,GACf,OAAO,CAIT"}
|