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
package/celo/types.ts
CHANGED
@@ -7,19 +7,19 @@ import type {
|
|
7
7
|
Index,
|
8
8
|
Quantity,
|
9
9
|
RpcBlock,
|
10
|
-
RpcTransactionRequest as RpcTransactionRequest_,
|
11
|
-
RpcTransaction as RpcTransaction_,
|
12
10
|
TransactionType,
|
11
|
+
RpcTransaction as core_RpcTransaction,
|
12
|
+
RpcTransactionRequest as core_RpcTransactionRequest,
|
13
13
|
} from '../types/rpc.js'
|
14
14
|
import type {
|
15
15
|
AccessList,
|
16
16
|
TransactionBase,
|
17
17
|
TransactionRequestBase,
|
18
|
-
TransactionRequest as TransactionRequest_,
|
19
18
|
TransactionSerializable,
|
20
19
|
TransactionSerializableBase,
|
21
20
|
TransactionSerialized,
|
22
|
-
Transaction as
|
21
|
+
Transaction as core_Transaction,
|
22
|
+
TransactionRequest as core_TransactionRequest,
|
23
23
|
} from '../types/transaction.js'
|
24
24
|
import type { ExactPartial, NeverBy, OneOf } from '../types/utils.js'
|
25
25
|
|
@@ -36,15 +36,16 @@ export type CeloBlockOverrides = {
|
|
36
36
|
revealed: Hex
|
37
37
|
}
|
38
38
|
}
|
39
|
+
|
39
40
|
export type CeloBlock<
|
40
|
-
|
41
|
-
|
41
|
+
includeTransactions extends boolean = boolean,
|
42
|
+
blockTag extends BlockTag = BlockTag,
|
42
43
|
> = NeverBy<
|
43
44
|
Block<
|
44
45
|
bigint,
|
45
|
-
|
46
|
-
|
47
|
-
CeloTransaction<
|
46
|
+
includeTransactions,
|
47
|
+
blockTag,
|
48
|
+
CeloTransaction<blockTag extends 'pending' ? true : false>
|
48
49
|
>,
|
49
50
|
CeloBlockExclude
|
50
51
|
> &
|
@@ -57,31 +58,31 @@ export type CeloRpcBlockOverrides = {
|
|
57
58
|
}
|
58
59
|
}
|
59
60
|
export type CeloRpcBlock<
|
60
|
-
|
61
|
-
|
61
|
+
blockTag extends BlockTag = BlockTag,
|
62
|
+
includeTransactions extends boolean = boolean,
|
62
63
|
> = NeverBy<
|
63
64
|
RpcBlock<
|
64
|
-
|
65
|
-
|
66
|
-
RpcTransaction<
|
65
|
+
blockTag,
|
66
|
+
includeTransactions,
|
67
|
+
RpcTransaction<blockTag extends 'pending' ? true : false>
|
67
68
|
>,
|
68
69
|
CeloBlockExclude
|
69
70
|
> &
|
70
71
|
CeloRpcBlockOverrides
|
71
72
|
|
72
|
-
export type CeloRpcTransaction<
|
73
|
-
| RpcTransaction<
|
74
|
-
| RpcTransactionCIP42<
|
75
|
-
| RpcTransactionCIP64<
|
73
|
+
export type CeloRpcTransaction<isPending extends boolean = boolean> =
|
74
|
+
| RpcTransaction<isPending>
|
75
|
+
| RpcTransactionCIP42<isPending>
|
76
|
+
| RpcTransactionCIP64<isPending>
|
76
77
|
|
77
78
|
export type CeloRpcTransactionRequest =
|
78
79
|
| RpcTransactionRequest
|
79
80
|
| RpcTransactionRequestCIP64
|
80
81
|
|
81
|
-
export type CeloTransaction<
|
82
|
-
| Transaction<
|
83
|
-
| TransactionCIP42<
|
84
|
-
| TransactionCIP64<
|
82
|
+
export type CeloTransaction<isPending extends boolean = boolean> =
|
83
|
+
| Transaction<isPending>
|
84
|
+
| TransactionCIP42<isPending>
|
85
|
+
| TransactionCIP64<isPending>
|
85
86
|
|
86
87
|
export type CeloTransactionRequest =
|
87
88
|
| TransactionRequest
|
@@ -100,111 +101,103 @@ export type CeloTransactionSerialized<
|
|
100
101
|
|
101
102
|
export type CeloTransactionType = TransactionType | 'cip42' | 'cip64'
|
102
103
|
|
103
|
-
type RpcTransaction<
|
104
|
-
|
104
|
+
type RpcTransaction<isPending extends boolean = boolean> =
|
105
|
+
core_RpcTransaction<isPending> & {
|
105
106
|
feeCurrency: Address | null
|
106
107
|
gatewayFee: Hex | null
|
107
108
|
gatewayFeeRecipient: Address | null
|
108
109
|
}
|
109
110
|
|
110
|
-
type RpcTransactionRequest =
|
111
|
+
type RpcTransactionRequest = core_RpcTransactionRequest & {
|
111
112
|
feeCurrency?: Address | undefined
|
112
113
|
}
|
113
114
|
|
114
|
-
export type RpcTransactionCIP42<
|
115
|
-
TransactionBase<Quantity, Index,
|
115
|
+
export type RpcTransactionCIP42<isPending extends boolean = boolean> = Omit<
|
116
|
+
TransactionBase<Quantity, Index, isPending>,
|
116
117
|
'typeHex'
|
117
|
-
> &
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
}
|
118
|
+
> & {
|
119
|
+
feeCurrency: Address | null
|
120
|
+
gatewayFee: Hex | null
|
121
|
+
gatewayFeeRecipient: Address | null
|
122
|
+
type: '0x7c'
|
123
|
+
} & FeeValuesEIP1559<Quantity>
|
124
124
|
|
125
|
-
export type RpcTransactionCIP64<
|
126
|
-
TransactionBase<Quantity, Index,
|
125
|
+
export type RpcTransactionCIP64<isPending extends boolean = boolean> = Omit<
|
126
|
+
TransactionBase<Quantity, Index, isPending>,
|
127
127
|
'typeHex'
|
128
|
-
> &
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
}
|
128
|
+
> & {
|
129
|
+
feeCurrency: Address | null
|
130
|
+
gatewayFee?: undefined
|
131
|
+
gatewayFeeRecipient?: undefined
|
132
|
+
type: '0x7b'
|
133
|
+
} & FeeValuesEIP1559<Quantity>
|
135
134
|
|
136
135
|
export type RpcTransactionRequestCIP64 = TransactionRequestBase<
|
137
136
|
Quantity,
|
138
137
|
Index
|
139
|
-
> &
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
}
|
138
|
+
> & {
|
139
|
+
accessList?: AccessList | undefined
|
140
|
+
feeCurrency?: Address | undefined
|
141
|
+
type?: '0x7b' | undefined
|
142
|
+
} & ExactPartial<FeeValuesEIP1559<Quantity>>
|
145
143
|
|
146
|
-
type Transaction<
|
144
|
+
type Transaction<isPending extends boolean = boolean> = core_Transaction<
|
147
145
|
bigint,
|
148
146
|
number,
|
149
|
-
|
147
|
+
isPending
|
150
148
|
> & {
|
151
149
|
feeCurrency: Address | null
|
152
150
|
gatewayFee?: undefined
|
153
151
|
gatewayFeeRecipient?: undefined
|
154
152
|
}
|
155
153
|
|
156
|
-
export type TransactionCIP42<
|
157
|
-
TransactionBase<bigint, number,
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
type TransactionRequest = TransactionRequest_ & {
|
154
|
+
export type TransactionCIP42<isPending extends boolean = boolean> =
|
155
|
+
TransactionBase<bigint, number, isPending> & {
|
156
|
+
feeCurrency: Address | null
|
157
|
+
gatewayFee: bigint | null
|
158
|
+
gatewayFeeRecipient: Address | null
|
159
|
+
type: 'cip42'
|
160
|
+
} & FeeValuesEIP1559
|
161
|
+
|
162
|
+
export type TransactionCIP64<isPending extends boolean = boolean> =
|
163
|
+
TransactionBase<bigint, number, isPending> & {
|
164
|
+
feeCurrency: Address | null
|
165
|
+
gatewayFee?: undefined
|
166
|
+
gatewayFeeRecipient?: undefined
|
167
|
+
type: 'cip64'
|
168
|
+
} & FeeValuesEIP1559
|
169
|
+
|
170
|
+
type TransactionRequest = core_TransactionRequest & {
|
175
171
|
feeCurrency?: Address | undefined
|
176
172
|
}
|
177
173
|
|
178
|
-
export type TransactionRequestCIP64 = TransactionRequestBase &
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
}
|
174
|
+
export type TransactionRequestCIP64 = TransactionRequestBase & {
|
175
|
+
accessList?: AccessList | undefined
|
176
|
+
feeCurrency?: Address | undefined
|
177
|
+
type?: 'cip64' | undefined
|
178
|
+
} & ExactPartial<FeeValuesEIP1559>
|
184
179
|
|
185
180
|
export type TransactionSerializableCIP42<
|
186
|
-
|
187
|
-
|
188
|
-
> = TransactionSerializableBase<
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
}
|
181
|
+
quantity = bigint,
|
182
|
+
index = number,
|
183
|
+
> = TransactionSerializableBase<quantity, index> & {
|
184
|
+
accessList?: AccessList | undefined
|
185
|
+
feeCurrency?: Address | undefined
|
186
|
+
gatewayFeeRecipient?: Address | undefined
|
187
|
+
gatewayFee?: quantity | undefined
|
188
|
+
chainId: number
|
189
|
+
type?: 'cip42' | undefined
|
190
|
+
} & ExactPartial<FeeValuesEIP1559<quantity>>
|
197
191
|
|
198
192
|
export type TransactionSerializableCIP64<
|
199
|
-
|
200
|
-
|
201
|
-
> = TransactionSerializableBase<
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
}
|
193
|
+
quantity = bigint,
|
194
|
+
index = number,
|
195
|
+
> = TransactionSerializableBase<quantity, index> & {
|
196
|
+
accessList?: AccessList | undefined
|
197
|
+
feeCurrency?: Address | undefined
|
198
|
+
chainId: number
|
199
|
+
type?: 'cip64' | undefined
|
200
|
+
} & ExactPartial<FeeValuesEIP1559<quantity>>
|
208
201
|
|
209
202
|
export type TransactionSerializedCIP42 = `0x7c${string}`
|
210
203
|
export type TransactionSerializedCIP64 = `0x7b${string}`
|
package/celo/utils.ts
CHANGED
@@ -22,6 +22,11 @@ export const optimism = /*#__PURE__*/ defineChain({
|
|
22
22
|
},
|
23
23
|
contracts: {
|
24
24
|
...chainConfig.contracts,
|
25
|
+
disputeGameFactory: {
|
26
|
+
[sourceId]: {
|
27
|
+
address: '0xe5965Ab5962eDc7477C8520243A95517CD252fA9',
|
28
|
+
},
|
29
|
+
},
|
25
30
|
l2OutputOracle: {
|
26
31
|
[sourceId]: {
|
27
32
|
address: '0xdfe97868233d1aa22e815a266982f2cf17685a27',
|
package/clients/createClient.ts
CHANGED
@@ -1,7 +1,10 @@
|
|
1
1
|
import type { Address } from 'abitype'
|
2
2
|
|
3
3
|
import type { JsonRpcAccount } from '../accounts/types.js'
|
4
|
-
import
|
4
|
+
import {
|
5
|
+
type ParseAccountErrorType,
|
6
|
+
parseAccount,
|
7
|
+
} from '../accounts/utils/parseAccount.js'
|
5
8
|
import type { ErrorType } from '../errors/utils.js'
|
6
9
|
import type { Account } from '../types/account.js'
|
7
10
|
import type { Chain } from '../types/chain.js'
|
@@ -11,7 +14,6 @@ import type {
|
|
11
14
|
RpcSchema,
|
12
15
|
} from '../types/eip1193.js'
|
13
16
|
import type { ExactPartial, Prettify } from '../types/utils.js'
|
14
|
-
import { parseAccount } from '../utils/accounts.js'
|
15
17
|
import type {
|
16
18
|
CcipRequestParameters,
|
17
19
|
CcipRequestReturnType,
|
@@ -80,20 +80,21 @@ export type FallbackTransportConfig = {
|
|
80
80
|
retryDelay?: TransportConfig['retryDelay'] | undefined
|
81
81
|
}
|
82
82
|
|
83
|
-
export type FallbackTransport<
|
84
|
-
Transport
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
83
|
+
export type FallbackTransport<
|
84
|
+
transports extends readonly Transport[] = readonly Transport[],
|
85
|
+
> = Transport<
|
86
|
+
'fallback',
|
87
|
+
{
|
88
|
+
onResponse: (fn: OnResponseFn) => void
|
89
|
+
transports: {
|
90
|
+
[key in keyof transports]: ReturnType<transports[key]>
|
91
91
|
}
|
92
|
-
|
92
|
+
}
|
93
|
+
>
|
93
94
|
|
94
95
|
export type FallbackTransportErrorType = CreateTransportErrorType | ErrorType
|
95
96
|
|
96
|
-
export function fallback<const transports extends Transport[]>(
|
97
|
+
export function fallback<const transports extends readonly Transport[]>(
|
97
98
|
transports_: transports,
|
98
99
|
config: FallbackTransportConfig = {},
|
99
100
|
): FallbackTransport<transports> {
|
@@ -194,6 +195,7 @@ function shouldThrow(error: Error) {
|
|
194
195
|
return false
|
195
196
|
}
|
196
197
|
|
198
|
+
/** @internal */
|
197
199
|
export function rankTransports({
|
198
200
|
chain,
|
199
201
|
interval = 4_000,
|
@@ -205,10 +207,10 @@ export function rankTransports({
|
|
205
207
|
}: {
|
206
208
|
chain?: Chain | undefined
|
207
209
|
interval: RankOptions['interval']
|
208
|
-
onTransports: (transports: Transport[]) => void
|
210
|
+
onTransports: (transports: readonly Transport[]) => void
|
209
211
|
sampleCount?: RankOptions['sampleCount'] | undefined
|
210
212
|
timeout?: RankOptions['timeout'] | undefined
|
211
|
-
transports: Transport[]
|
213
|
+
transports: readonly Transport[]
|
212
214
|
weights?: RankOptions['weights'] | undefined
|
213
215
|
}) {
|
214
216
|
const { stability: stabilityWeight = 0.7, latency: latencyWeight = 0.3 } =
|
@@ -18,19 +18,20 @@ import {
|
|
18
18
|
createTransport,
|
19
19
|
} from './createTransport.js'
|
20
20
|
|
21
|
-
export type BatchOptions = {
|
22
|
-
/** The maximum number of JSON-RPC requests to send in a batch. @default 1_000 */
|
23
|
-
batchSize?: number | undefined
|
24
|
-
/** The maximum number of milliseconds to wait before sending a batch. @default 0 */
|
25
|
-
wait?: number | undefined
|
26
|
-
}
|
27
|
-
|
28
21
|
export type HttpTransportConfig = {
|
29
22
|
/**
|
30
23
|
* Whether to enable Batch JSON-RPC.
|
31
24
|
* @link https://www.jsonrpc.org/specification#batch
|
32
25
|
*/
|
33
|
-
batch?:
|
26
|
+
batch?:
|
27
|
+
| boolean
|
28
|
+
| {
|
29
|
+
/** The maximum number of JSON-RPC requests to send in a batch. @default 1_000 */
|
30
|
+
batchSize?: number | undefined
|
31
|
+
/** The maximum number of milliseconds to wait before sending a batch. @default 0 */
|
32
|
+
wait?: number | undefined
|
33
|
+
}
|
34
|
+
| undefined
|
34
35
|
/**
|
35
36
|
* Request configuration to pass to `fetch`.
|
36
37
|
* @link https://developer.mozilla.org/en-US/docs/Web/API/fetch
|
package/constants/abis.ts
CHANGED
package/constants/blob.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-4844.md#parameters
|
2
2
|
|
3
3
|
/** Blob limit per transaction. */
|
4
|
-
|
4
|
+
const blobsPerTransaction = 6
|
5
5
|
|
6
6
|
/** The number of bytes in a BLS scalar field element. */
|
7
7
|
export const bytesPerFieldElement = 32
|
package/constants/kzg.ts
CHANGED
@@ -1,9 +1,3 @@
|
|
1
1
|
// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-4844.md#parameters
|
2
2
|
|
3
|
-
/** The number of bytes in a KZG commitment. */
|
4
|
-
export const bytesPerCommitment = 48
|
5
|
-
|
6
|
-
/** The number of bytes in a KZG proof. */
|
7
|
-
export const bytesPerProof = 48
|
8
|
-
|
9
3
|
export const versionedHashVersionKzg = 1
|
package/errors/abi.ts
CHANGED
@@ -95,19 +95,6 @@ export class AbiDecodingDataSizeTooSmallError extends BaseError {
|
|
95
95
|
}
|
96
96
|
}
|
97
97
|
|
98
|
-
export type AbiDecodingOffsetOutOfBoundsErrorType =
|
99
|
-
AbiDecodingOffsetOutOfBoundsError & {
|
100
|
-
name: 'AbiDecodingOffsetOutOfBoundsError'
|
101
|
-
}
|
102
|
-
export class AbiDecodingOffsetOutOfBoundsError extends BaseError {
|
103
|
-
override name = 'AbiDecodingOffsetOutOfBoundsError'
|
104
|
-
constructor({ offset, position }: { offset: number; position: number }) {
|
105
|
-
super(
|
106
|
-
`Offset at "${offset}" is out-of-bounds (current position: "${position}").`,
|
107
|
-
)
|
108
|
-
}
|
109
|
-
}
|
110
|
-
|
111
98
|
export type AbiDecodingZeroDataErrorType = AbiDecodingZeroDataError & {
|
112
99
|
name: 'AbiDecodingZeroDataError'
|
113
100
|
}
|
package/errors/ccip.ts
CHANGED
package/errors/stateOverride.ts
CHANGED
@@ -23,6 +23,7 @@ export class StateAssignmentConflictError extends BaseError {
|
|
23
23
|
}
|
24
24
|
}
|
25
25
|
|
26
|
+
/** @internal */
|
26
27
|
export function prettyStateMapping(stateMapping: StateMapping) {
|
27
28
|
return stateMapping.reduce((pretty, { slot, value }) => {
|
28
29
|
return `${pretty} ${slot}: ${value}\n`
|
package/errors/version.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export const version = '2.13.
|
1
|
+
export const version = '2.13.8'
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { parseAccount } from '../../../accounts/utils/parseAccount.js'
|
1
2
|
import type { Client } from '../../../clients/createClient.js'
|
2
3
|
import type { Transport } from '../../../clients/transports/createTransport.js'
|
3
4
|
import { AccountNotFoundError } from '../../../errors/account.js'
|
@@ -9,7 +10,6 @@ import type {
|
|
9
10
|
WalletCapabilitiesRecord,
|
10
11
|
} from '../../../types/eip1193.js'
|
11
12
|
import type { Prettify } from '../../../types/utils.js'
|
12
|
-
import { parseAccount } from '../../../utils/accounts.js'
|
13
13
|
import type { RequestErrorType } from '../../../utils/buildRequest.js'
|
14
14
|
|
15
15
|
export type GetCapabilitiesParameters<
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { parseAccount } from '../../../accounts/utils/parseAccount.js'
|
1
2
|
import type { Client } from '../../../clients/createClient.js'
|
2
3
|
import type { Transport } from '../../../clients/transports/createTransport.js'
|
3
4
|
import { AccountNotFoundError } from '../../../errors/account.js'
|
@@ -12,7 +13,6 @@ import type {
|
|
12
13
|
} from '../../../types/eip1193.js'
|
13
14
|
import type { Hex } from '../../../types/misc.js'
|
14
15
|
import type { OneOf } from '../../../types/utils.js'
|
15
|
-
import { parseAccount } from '../../../utils/accounts.js'
|
16
16
|
import type { RequestErrorType } from '../../../utils/buildRequest.js'
|
17
17
|
import { numberToHex } from '../../../utils/encoding/toHex.js'
|
18
18
|
import { getTransactionError } from '../../../utils/errors/getTransactionError.js'
|
@@ -2,6 +2,7 @@ import type { Address } from 'abitype'
|
|
2
2
|
|
3
3
|
import type { OneOf } from '../../../types/utils.js'
|
4
4
|
|
5
|
+
/** @internal */
|
5
6
|
export type NativeTokenLimitPermission<amount = bigint> = {
|
6
7
|
type: 'native-token-limit'
|
7
8
|
data: {
|
@@ -9,6 +10,7 @@ export type NativeTokenLimitPermission<amount = bigint> = {
|
|
9
10
|
}
|
10
11
|
}
|
11
12
|
|
13
|
+
/** @internal */
|
12
14
|
export type Erc20LimitPermission<amount = bigint> = {
|
13
15
|
type: 'erc20-limit'
|
14
16
|
data: {
|
@@ -17,6 +19,7 @@ export type Erc20LimitPermission<amount = bigint> = {
|
|
17
19
|
}
|
18
20
|
}
|
19
21
|
|
22
|
+
/** @internal */
|
20
23
|
export type GasLimitPermission<amount = bigint> = {
|
21
24
|
type: 'gas-limit'
|
22
25
|
data: {
|
@@ -24,11 +27,13 @@ export type GasLimitPermission<amount = bigint> = {
|
|
24
27
|
}
|
25
28
|
}
|
26
29
|
|
30
|
+
/** @internal */
|
27
31
|
export type ContractCallPermission = {
|
28
32
|
type: 'contract-call'
|
29
33
|
data: unknown
|
30
34
|
}
|
31
35
|
|
36
|
+
/** @internal */
|
32
37
|
export type RateLimitPermission = {
|
33
38
|
type: 'rate-limit'
|
34
39
|
data: {
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import type { Address } from 'abitype'
|
2
2
|
import type { OneOf } from '../../../types/utils.js'
|
3
3
|
|
4
|
+
/** @internal */
|
4
5
|
export type AccountSigner = {
|
5
6
|
type: 'account'
|
6
7
|
data: {
|
@@ -8,6 +9,7 @@ export type AccountSigner = {
|
|
8
9
|
}
|
9
10
|
}
|
10
11
|
|
12
|
+
/** @internal */
|
11
13
|
export type KeySigner = {
|
12
14
|
type: 'key'
|
13
15
|
data: {
|
@@ -15,6 +17,7 @@ export type KeySigner = {
|
|
15
17
|
}
|
16
18
|
}
|
17
19
|
|
20
|
+
/** @internal */
|
18
21
|
export type MultiKeySigner = {
|
19
22
|
type: 'keys'
|
20
23
|
data: {
|