viem 2.0.0-beta.1 → 2.0.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +486 -388
- package/README.md +52 -46
- package/_cjs/accounts/toAccount.js.map +1 -1
- package/_cjs/accounts/utils/signTransaction.js.map +1 -1
- package/_cjs/actions/ens/getEnsAddress.js +1 -1
- package/_cjs/actions/ens/getEnsAddress.js.map +1 -1
- package/_cjs/actions/ens/getEnsAvatar.js +1 -1
- package/_cjs/actions/ens/getEnsAvatar.js.map +1 -1
- package/_cjs/actions/ens/getEnsName.js +1 -1
- package/_cjs/actions/ens/getEnsName.js.map +1 -1
- package/_cjs/actions/ens/getEnsResolver.js +1 -1
- package/_cjs/actions/ens/getEnsResolver.js.map +1 -1
- package/_cjs/actions/ens/getEnsText.js +1 -1
- package/_cjs/actions/ens/getEnsText.js.map +1 -1
- package/_cjs/actions/getContract.js +7 -7
- package/_cjs/actions/getContract.js.map +1 -1
- package/_cjs/actions/public/call.js.map +1 -1
- package/_cjs/actions/public/createContractEventFilter.js +1 -1
- package/_cjs/actions/public/createContractEventFilter.js.map +1 -1
- package/_cjs/actions/public/createEventFilter.js +1 -1
- package/_cjs/actions/public/createEventFilter.js.map +1 -1
- package/_cjs/actions/public/estimateContractGas.js +1 -1
- package/_cjs/actions/public/estimateContractGas.js.map +1 -1
- package/_cjs/actions/public/estimateFeesPerGas.js +6 -3
- package/_cjs/actions/public/estimateFeesPerGas.js.map +1 -1
- package/_cjs/actions/public/estimateGas.js +3 -8
- package/_cjs/actions/public/estimateGas.js.map +1 -1
- package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js +6 -4
- package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
- package/_cjs/actions/public/getBlock.js.map +1 -1
- package/_cjs/actions/public/getBlockTransactionCount.js.map +1 -1
- package/_cjs/actions/public/getContractEvents.js +1 -1
- package/_cjs/actions/public/getContractEvents.js.map +1 -1
- package/_cjs/actions/public/getFilterChanges.js +10 -31
- package/_cjs/actions/public/getFilterChanges.js.map +1 -1
- package/_cjs/actions/public/getFilterLogs.js +8 -29
- package/_cjs/actions/public/getFilterLogs.js.map +1 -1
- package/_cjs/actions/public/getLogs.js +8 -29
- package/_cjs/actions/public/getLogs.js.map +1 -1
- package/_cjs/actions/public/getTransaction.js.map +1 -1
- package/_cjs/actions/public/getTransactionConfirmations.js +4 -2
- package/_cjs/actions/public/getTransactionConfirmations.js.map +1 -1
- package/_cjs/actions/public/multicall.js +1 -1
- package/_cjs/actions/public/multicall.js.map +1 -1
- package/_cjs/actions/public/readContract.js +1 -1
- package/_cjs/actions/public/readContract.js.map +1 -1
- package/_cjs/actions/public/simulateContract.js +1 -1
- package/_cjs/actions/public/simulateContract.js.map +1 -1
- package/_cjs/actions/public/verifyHash.js +1 -1
- package/_cjs/actions/public/verifyHash.js.map +1 -1
- package/_cjs/actions/public/waitForTransactionReceipt.js +18 -8
- package/_cjs/actions/public/waitForTransactionReceipt.js.map +1 -1
- package/_cjs/actions/public/watchBlockNumber.js +1 -1
- package/_cjs/actions/public/watchBlockNumber.js.map +1 -1
- package/_cjs/actions/public/watchBlocks.js +2 -2
- package/_cjs/actions/public/watchBlocks.js.map +1 -1
- package/_cjs/actions/public/watchContractEvent.js +7 -6
- package/_cjs/actions/public/watchContractEvent.js.map +1 -1
- package/_cjs/actions/public/watchEvent.js +7 -6
- package/_cjs/actions/public/watchEvent.js.map +1 -1
- package/_cjs/actions/public/watchPendingTransactions.js +5 -4
- package/_cjs/actions/public/watchPendingTransactions.js.map +1 -1
- package/_cjs/actions/test/dumpState.js +10 -0
- package/_cjs/actions/test/dumpState.js.map +1 -0
- package/_cjs/actions/test/loadState.js +11 -0
- package/_cjs/actions/test/loadState.js.map +1 -0
- package/_cjs/actions/test/setAutomine.js.map +1 -1
- package/_cjs/actions/wallet/addChain.js +1 -1
- package/_cjs/actions/wallet/addChain.js.map +1 -1
- package/_cjs/actions/wallet/prepareTransactionRequest.js +41 -38
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_cjs/actions/wallet/requestAddresses.js +1 -1
- package/_cjs/actions/wallet/requestAddresses.js.map +1 -1
- package/_cjs/actions/wallet/requestPermissions.js +1 -1
- package/_cjs/actions/wallet/requestPermissions.js.map +1 -1
- package/_cjs/actions/wallet/sendRawTransaction.js +1 -1
- package/_cjs/actions/wallet/sendRawTransaction.js.map +1 -1
- package/_cjs/actions/wallet/sendTransaction.js +5 -5
- package/_cjs/actions/wallet/sendTransaction.js.map +1 -1
- package/_cjs/actions/wallet/signMessage.js +1 -1
- package/_cjs/actions/wallet/signMessage.js.map +1 -1
- package/_cjs/actions/wallet/signTransaction.js +2 -2
- package/_cjs/actions/wallet/signTransaction.js.map +1 -1
- package/_cjs/actions/wallet/signTypedData.js +1 -1
- package/_cjs/actions/wallet/signTypedData.js.map +1 -1
- package/_cjs/actions/wallet/switchChain.js +1 -1
- package/_cjs/actions/wallet/switchChain.js.map +1 -1
- package/_cjs/actions/wallet/watchAsset.js +1 -1
- package/_cjs/actions/wallet/watchAsset.js.map +1 -1
- package/_cjs/actions/wallet/writeContract.js +6 -3
- package/_cjs/actions/wallet/writeContract.js.map +1 -1
- package/_cjs/chains/celo/chainConfig.js +10 -0
- package/_cjs/chains/celo/chainConfig.js.map +1 -0
- package/_cjs/chains/celo/formatters.js +2 -2
- package/_cjs/chains/celo/formatters.js.map +1 -1
- package/_cjs/chains/celo/index.js +10 -0
- package/_cjs/chains/celo/index.js.map +1 -0
- package/_cjs/chains/celo/parsers.js +3 -3
- package/_cjs/chains/celo/parsers.js.map +1 -1
- package/_cjs/chains/celo/serializers.js +9 -13
- package/_cjs/chains/celo/serializers.js.map +1 -1
- package/_cjs/chains/celo/utils.js +6 -4
- package/_cjs/chains/celo/utils.js.map +1 -1
- package/_cjs/chains/definitions/aurora.js +6 -0
- package/_cjs/chains/definitions/aurora.js.map +1 -1
- package/_cjs/chains/definitions/base.js +11 -2
- package/_cjs/chains/definitions/base.js.map +1 -1
- package/_cjs/chains/definitions/baseGoerli.js +10 -3
- package/_cjs/chains/definitions/baseGoerli.js.map +1 -1
- package/_cjs/chains/definitions/baseSepolia.js +13 -3
- package/_cjs/chains/definitions/baseSepolia.js.map +1 -1
- package/_cjs/chains/definitions/bscTestnet.js +2 -1
- package/_cjs/chains/definitions/bscTestnet.js.map +1 -1
- package/_cjs/chains/definitions/celo.js +2 -4
- package/_cjs/chains/definitions/celo.js.map +1 -1
- package/_cjs/chains/definitions/celoAlfajores.js +2 -4
- package/_cjs/chains/definitions/celoAlfajores.js.map +1 -1
- package/_cjs/chains/definitions/celoCannoli.js +2 -4
- package/_cjs/chains/definitions/celoCannoli.js.map +1 -1
- package/_cjs/chains/definitions/chiliz.js +26 -0
- package/_cjs/chains/definitions/chiliz.js.map +1 -0
- package/_cjs/chains/definitions/confluxESpace.js +1 -0
- package/_cjs/chains/definitions/confluxESpace.js.map +1 -1
- package/_cjs/chains/definitions/confluxESpaceTestnet.js +34 -0
- package/_cjs/chains/definitions/confluxESpaceTestnet.js.map +1 -0
- package/_cjs/chains/definitions/filecoin.js +6 -0
- package/_cjs/chains/definitions/filecoin.js.map +1 -1
- package/_cjs/chains/definitions/klaytn.js +6 -0
- package/_cjs/chains/definitions/klaytn.js.map +1 -1
- package/_cjs/chains/definitions/klaytnBaobab.js +30 -0
- package/_cjs/chains/definitions/klaytnBaobab.js.map +1 -0
- package/_cjs/chains/definitions/lukso.js +31 -0
- package/_cjs/chains/definitions/lukso.js.map +1 -0
- package/_cjs/chains/definitions/optimism.js +10 -2
- package/_cjs/chains/definitions/optimism.js.map +1 -1
- package/_cjs/chains/definitions/optimismGoerli.js +10 -2
- package/_cjs/chains/definitions/optimismGoerli.js.map +1 -1
- package/_cjs/chains/definitions/optimismSepolia.js +10 -2
- package/_cjs/chains/definitions/optimismSepolia.js.map +1 -1
- package/_cjs/chains/definitions/pgn.js +37 -0
- package/_cjs/chains/definitions/pgn.js.map +1 -0
- package/_cjs/chains/definitions/pgnTestnet.js +38 -0
- package/_cjs/chains/definitions/pgnTestnet.js.map +1 -0
- package/_cjs/chains/definitions/rootstock.js +29 -0
- package/_cjs/chains/definitions/rootstock.js.map +1 -0
- package/_cjs/chains/definitions/sapphire.js +33 -0
- package/_cjs/chains/definitions/sapphire.js.map +1 -0
- package/_cjs/chains/definitions/sapphireTestnet.js +28 -0
- package/_cjs/chains/definitions/sapphireTestnet.js.map +1 -0
- package/_cjs/chains/definitions/shibarium.js +35 -0
- package/_cjs/chains/definitions/shibarium.js.map +1 -0
- package/_cjs/chains/definitions/shimmer.js +29 -0
- package/_cjs/chains/definitions/shimmer.js.map +1 -0
- package/_cjs/chains/definitions/shimmerTestnet.js +30 -0
- package/_cjs/chains/definitions/shimmerTestnet.js.map +1 -0
- package/_cjs/chains/definitions/spicy.js +34 -0
- package/_cjs/chains/definitions/spicy.js.map +1 -0
- package/_cjs/chains/definitions/zkSync.js +2 -4
- package/_cjs/chains/definitions/zkSync.js.map +1 -1
- package/_cjs/chains/definitions/zkSyncTestnet.js +2 -4
- package/_cjs/chains/definitions/zkSyncTestnet.js.map +1 -1
- package/_cjs/chains/definitions/zora.js +10 -2
- package/_cjs/chains/definitions/zora.js.map +1 -1
- package/_cjs/chains/definitions/zoraSepolia.js +10 -2
- package/_cjs/chains/definitions/zoraSepolia.js.map +1 -1
- package/_cjs/chains/definitions/zoraTestnet.js +10 -2
- package/_cjs/chains/definitions/zoraTestnet.js.map +1 -1
- package/_cjs/chains/index.js +30 -4
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/chains/opStack/abis.js +394 -0
- package/_cjs/chains/opStack/abis.js.map +1 -0
- package/_cjs/chains/opStack/actions/buildDepositTransaction.js +32 -0
- package/_cjs/chains/opStack/actions/buildDepositTransaction.js.map +1 -0
- package/_cjs/chains/opStack/actions/depositTransaction.js +36 -0
- package/_cjs/chains/opStack/actions/depositTransaction.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateContractL1Fee.js +36 -0
- package/_cjs/chains/opStack/actions/estimateContractL1Fee.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateContractL1Gas.js +36 -0
- package/_cjs/chains/opStack/actions/estimateContractL1Gas.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateContractTotalFee.js +36 -0
- package/_cjs/chains/opStack/actions/estimateContractTotalFee.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateContractTotalGas.js +36 -0
- package/_cjs/chains/opStack/actions/estimateContractTotalGas.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateL1Fee.js +53 -0
- package/_cjs/chains/opStack/actions/estimateL1Fee.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateL1Gas.js +53 -0
- package/_cjs/chains/opStack/actions/estimateL1Gas.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateTotalFee.js +18 -0
- package/_cjs/chains/opStack/actions/estimateTotalFee.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateTotalGas.js +16 -0
- package/_cjs/chains/opStack/actions/estimateTotalGas.js.map +1 -0
- package/_cjs/chains/opStack/chainConfig.js +12 -0
- package/_cjs/chains/opStack/chainConfig.js.map +1 -0
- package/_cjs/chains/opStack/chains.js +22 -0
- package/_cjs/chains/opStack/chains.js.map +1 -0
- package/_cjs/chains/opStack/contracts.js +16 -0
- package/_cjs/chains/opStack/contracts.js.map +1 -0
- package/_cjs/chains/opStack/decorators/publicL2.js +29 -0
- package/_cjs/chains/opStack/decorators/publicL2.js.map +1 -0
- package/_cjs/chains/opStack/decorators/walletL1.js +13 -0
- package/_cjs/chains/opStack/decorators/walletL1.js.map +1 -0
- package/_cjs/chains/{optimism → opStack}/formatters.js +2 -2
- package/_cjs/chains/opStack/formatters.js.map +1 -0
- package/_cjs/chains/opStack/index.js +55 -0
- package/_cjs/chains/opStack/index.js.map +1 -0
- package/_cjs/chains/opStack/parsers.js +55 -0
- package/_cjs/chains/opStack/parsers.js.map +1 -0
- package/_cjs/chains/opStack/serializers.js +52 -0
- package/_cjs/chains/opStack/serializers.js.map +1 -0
- package/_cjs/chains/{optimism/types.js → opStack/types/block.js} +1 -1
- package/_cjs/chains/opStack/types/block.js.map +1 -0
- package/_cjs/chains/opStack/types/chain.js +3 -0
- package/_cjs/chains/opStack/types/chain.js.map +1 -0
- package/_cjs/chains/opStack/types/contract.js +3 -0
- package/_cjs/chains/opStack/types/contract.js.map +1 -0
- package/_cjs/chains/opStack/types/transaction.js +3 -0
- package/_cjs/chains/opStack/types/transaction.js.map +1 -0
- package/_cjs/chains/opStack/utils/extractTransactionDepositedLogs.js +14 -0
- package/_cjs/chains/opStack/utils/extractTransactionDepositedLogs.js.map +1 -0
- package/_cjs/chains/opStack/utils/fromOpaqueData.js +29 -0
- package/_cjs/chains/opStack/utils/fromOpaqueData.js.map +1 -0
- package/_cjs/chains/opStack/utils/getL2TransactionHash.js +28 -0
- package/_cjs/chains/opStack/utils/getL2TransactionHash.js.map +1 -0
- package/_cjs/chains/opStack/utils/getL2TransactionHashes.js +11 -0
- package/_cjs/chains/opStack/utils/getL2TransactionHashes.js.map +1 -0
- package/_cjs/chains/opStack/utils/getSourceHash.js +21 -0
- package/_cjs/chains/opStack/utils/getSourceHash.js.map +1 -0
- package/_cjs/chains/utils.js +1 -12
- package/_cjs/chains/utils.js.map +1 -1
- package/_cjs/chains/zksync/chainConfig.js +10 -0
- package/_cjs/chains/zksync/chainConfig.js.map +1 -0
- package/_cjs/chains/zksync/formatters.js +3 -3
- package/_cjs/chains/zksync/formatters.js.map +1 -1
- package/_cjs/chains/zksync/index.js +8 -0
- package/_cjs/chains/zksync/index.js.map +1 -0
- package/_cjs/chains/zksync/serializers.js +7 -7
- package/_cjs/chains/zksync/serializers.js.map +1 -1
- package/_cjs/clients/createWalletClient.js +1 -1
- package/_cjs/clients/createWalletClient.js.map +1 -1
- package/_cjs/clients/decorators/public.js.map +1 -1
- package/_cjs/clients/decorators/test.js +4 -0
- package/_cjs/clients/decorators/test.js.map +1 -1
- package/_cjs/clients/decorators/wallet.js.map +1 -1
- package/_cjs/clients/transports/fallback.js +18 -4
- package/_cjs/clients/transports/fallback.js.map +1 -1
- package/_cjs/clients/transports/webSocket.js.map +1 -1
- package/_cjs/constants/bytes.js +5 -0
- package/_cjs/constants/bytes.js.map +1 -0
- package/_cjs/constants/strings.js +5 -0
- package/_cjs/constants/strings.js.map +1 -0
- package/_cjs/errors/base.js.map +1 -1
- package/_cjs/errors/contract.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/index.js +10 -6
- package/_cjs/index.js.map +1 -1
- package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
- package/_cjs/utils/abi/decodeEventLog.js.map +1 -1
- package/_cjs/utils/abi/decodeFunctionData.js.map +1 -1
- package/_cjs/utils/abi/decodeFunctionResult.js.map +1 -1
- package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -1
- package/_cjs/utils/abi/encodeErrorResult.js.map +1 -1
- package/_cjs/utils/abi/encodeEventTopics.js.map +1 -1
- package/_cjs/utils/abi/encodeFunctionData.js.map +1 -1
- package/_cjs/utils/abi/encodeFunctionResult.js.map +1 -1
- package/_cjs/utils/abi/encodePacked.js.map +1 -1
- package/_cjs/utils/abi/formatAbiItem.js.map +1 -1
- package/_cjs/utils/abi/getAbiItem.js.map +1 -1
- package/_cjs/utils/abi/parseEventLogs.js +37 -0
- package/_cjs/utils/abi/parseEventLogs.js.map +1 -0
- package/_cjs/utils/address/getAddress.js.map +1 -1
- package/_cjs/utils/address/getContractAddress.js.map +1 -1
- package/_cjs/utils/buildRequest.js +101 -82
- package/_cjs/utils/buildRequest.js.map +1 -1
- package/_cjs/utils/ccip.js +4 -2
- package/_cjs/utils/ccip.js.map +1 -1
- package/_cjs/utils/data/concat.js.map +1 -1
- package/_cjs/utils/data/pad.js.map +1 -1
- package/_cjs/utils/data/slice.js.map +1 -1
- package/_cjs/utils/data/trim.js.map +1 -1
- package/_cjs/utils/encoding/fromBytes.js.map +1 -1
- package/_cjs/utils/encoding/fromHex.js.map +1 -1
- package/_cjs/utils/encoding/fromRlp.js.map +1 -1
- package/_cjs/utils/encoding/toBytes.js +2 -2
- package/_cjs/utils/encoding/toBytes.js.map +1 -1
- package/_cjs/utils/encoding/toHex.js.map +1 -1
- package/_cjs/utils/encoding/toRlp.js +3 -1
- package/_cjs/utils/encoding/toRlp.js.map +1 -1
- package/_cjs/utils/ens/avatar/parseAvatarRecord.js.map +1 -1
- package/_cjs/utils/ens/avatar/utils.js +1 -1
- package/_cjs/utils/ens/avatar/utils.js.map +1 -1
- package/_cjs/utils/ens/namehash.js.map +1 -1
- package/_cjs/utils/ens/packetToBytes.js.map +1 -1
- package/_cjs/utils/errors/getContractError.js.map +1 -1
- package/_cjs/utils/errors/getNodeError.js +11 -11
- package/_cjs/utils/errors/getNodeError.js.map +1 -1
- package/_cjs/utils/formatters/block.js.map +1 -1
- package/_cjs/utils/formatters/extract.js.map +1 -1
- package/_cjs/utils/formatters/formatter.js.map +1 -1
- package/_cjs/utils/formatters/transaction.js +17 -1
- package/_cjs/utils/formatters/transaction.js.map +1 -1
- package/_cjs/utils/getAction.js +2 -2
- package/_cjs/utils/getAction.js.map +1 -1
- package/_cjs/utils/hash/normalizeSignature.js.map +1 -1
- package/_cjs/utils/index.js +3 -2
- package/_cjs/utils/index.js.map +1 -1
- package/_cjs/utils/observe.js +2 -1
- package/_cjs/utils/observe.js.map +1 -1
- package/_cjs/utils/promise/createBatchScheduler.js +8 -2
- package/_cjs/utils/promise/createBatchScheduler.js.map +1 -1
- package/_cjs/utils/promise/withCache.js.map +1 -1
- package/_cjs/utils/promise/withRetry.js.map +1 -1
- package/_cjs/utils/promise/withTimeout.js.map +1 -1
- package/_cjs/utils/rpc.js.map +1 -1
- package/_cjs/utils/signature/hashMessage.js +2 -1
- package/_cjs/utils/signature/hashMessage.js.map +1 -1
- package/_cjs/utils/signature/hashTypedData.js.map +1 -1
- package/_cjs/utils/signature/signatureToCompactSignature.js.map +1 -1
- package/_cjs/utils/transaction/getTransactionType.js.map +1 -1
- package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
- package/_cjs/utils/transaction/serializeAccessList.js.map +1 -1
- package/_cjs/utils/transaction/serializeTransaction.js +20 -4
- package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
- package/_cjs/utils/typedData.js.map +1 -1
- package/_cjs/utils/uid.js.map +1 -1
- package/_cjs/utils/unit/formatEther.js.map +1 -1
- package/_cjs/utils/unit/formatGwei.js.map +1 -1
- package/_cjs/utils/unit/formatUnits.js.map +1 -1
- package/_cjs/utils/unit/parseEther.js.map +1 -1
- package/_cjs/utils/unit/parseGwei.js.map +1 -1
- package/_cjs/utils/unit/parseUnits.js.map +1 -1
- package/_esm/accounts/toAccount.js.map +1 -1
- package/_esm/accounts/utils/signTransaction.js.map +1 -1
- package/_esm/actions/ens/getEnsAddress.js +3 -3
- package/_esm/actions/ens/getEnsAddress.js.map +1 -1
- package/_esm/actions/ens/getEnsAvatar.js +3 -3
- package/_esm/actions/ens/getEnsAvatar.js.map +1 -1
- package/_esm/actions/ens/getEnsName.js +3 -3
- package/_esm/actions/ens/getEnsName.js.map +1 -1
- package/_esm/actions/ens/getEnsResolver.js +3 -3
- package/_esm/actions/ens/getEnsResolver.js.map +1 -1
- package/_esm/actions/ens/getEnsText.js +3 -3
- package/_esm/actions/ens/getEnsText.js.map +1 -1
- package/_esm/actions/getContract.js +7 -7
- package/_esm/actions/getContract.js.map +1 -1
- package/_esm/actions/public/call.js.map +1 -1
- package/_esm/actions/public/createContractEventFilter.js +1 -1
- package/_esm/actions/public/createContractEventFilter.js.map +1 -1
- package/_esm/actions/public/createEventFilter.js +1 -1
- package/_esm/actions/public/createEventFilter.js.map +1 -1
- package/_esm/actions/public/estimateContractGas.js +1 -1
- package/_esm/actions/public/estimateContractGas.js.map +1 -1
- package/_esm/actions/public/estimateFeesPerGas.js +6 -3
- package/_esm/actions/public/estimateFeesPerGas.js.map +1 -1
- package/_esm/actions/public/estimateGas.js +3 -8
- package/_esm/actions/public/estimateGas.js.map +1 -1
- package/_esm/actions/public/estimateMaxPriorityFeePerGas.js +6 -4
- package/_esm/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
- package/_esm/actions/public/getBlock.js +1 -1
- package/_esm/actions/public/getBlock.js.map +1 -1
- package/_esm/actions/public/getBlockNumber.js +1 -1
- package/_esm/actions/public/getBlockTransactionCount.js.map +1 -1
- package/_esm/actions/public/getContractEvents.js +1 -1
- package/_esm/actions/public/getContractEvents.js.map +1 -1
- package/_esm/actions/public/getFilterChanges.js +11 -33
- package/_esm/actions/public/getFilterChanges.js.map +1 -1
- package/_esm/actions/public/getFilterLogs.js +9 -31
- package/_esm/actions/public/getFilterLogs.js.map +1 -1
- package/_esm/actions/public/getLogs.js +10 -32
- package/_esm/actions/public/getLogs.js.map +1 -1
- package/_esm/actions/public/getTransaction.js +1 -1
- package/_esm/actions/public/getTransaction.js.map +1 -1
- package/_esm/actions/public/getTransactionConfirmations.js +5 -3
- package/_esm/actions/public/getTransactionConfirmations.js.map +1 -1
- package/_esm/actions/public/getTransactionReceipt.js +1 -1
- package/_esm/actions/public/multicall.js +1 -1
- package/_esm/actions/public/multicall.js.map +1 -1
- package/_esm/actions/public/readContract.js +2 -2
- package/_esm/actions/public/readContract.js.map +1 -1
- package/_esm/actions/public/simulateContract.js +2 -2
- package/_esm/actions/public/simulateContract.js.map +1 -1
- package/_esm/actions/public/verifyHash.js +1 -1
- package/_esm/actions/public/verifyHash.js.map +1 -1
- package/_esm/actions/public/waitForTransactionReceipt.js +22 -9
- package/_esm/actions/public/waitForTransactionReceipt.js.map +1 -1
- package/_esm/actions/public/watchBlockNumber.js +2 -2
- package/_esm/actions/public/watchBlockNumber.js.map +1 -1
- package/_esm/actions/public/watchBlocks.js +3 -3
- package/_esm/actions/public/watchBlocks.js.map +1 -1
- package/_esm/actions/public/watchContractEvent.js +7 -6
- package/_esm/actions/public/watchContractEvent.js.map +1 -1
- package/_esm/actions/public/watchEvent.js +7 -6
- package/_esm/actions/public/watchEvent.js.map +1 -1
- package/_esm/actions/public/watchPendingTransactions.js +5 -4
- package/_esm/actions/public/watchPendingTransactions.js.map +1 -1
- package/_esm/actions/test/dumpState.js +26 -0
- package/_esm/actions/test/dumpState.js.map +1 -0
- package/_esm/actions/test/loadState.js +27 -0
- package/_esm/actions/test/loadState.js.map +1 -0
- package/_esm/actions/test/setAutomine.js.map +1 -1
- package/_esm/actions/wallet/addChain.js +1 -1
- package/_esm/actions/wallet/addChain.js.map +1 -1
- package/_esm/actions/wallet/deployContract.js +1 -1
- package/_esm/actions/wallet/prepareTransactionRequest.js +44 -40
- package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_esm/actions/wallet/requestAddresses.js +1 -1
- package/_esm/actions/wallet/requestAddresses.js.map +1 -1
- package/_esm/actions/wallet/requestPermissions.js +1 -1
- package/_esm/actions/wallet/requestPermissions.js.map +1 -1
- package/_esm/actions/wallet/sendRawTransaction.js +1 -1
- package/_esm/actions/wallet/sendRawTransaction.js.map +1 -1
- package/_esm/actions/wallet/sendTransaction.js +6 -6
- package/_esm/actions/wallet/sendTransaction.js.map +1 -1
- package/_esm/actions/wallet/signMessage.js +1 -1
- package/_esm/actions/wallet/signMessage.js.map +1 -1
- package/_esm/actions/wallet/signTransaction.js +2 -2
- package/_esm/actions/wallet/signTransaction.js.map +1 -1
- package/_esm/actions/wallet/signTypedData.js +1 -1
- package/_esm/actions/wallet/signTypedData.js.map +1 -1
- package/_esm/actions/wallet/switchChain.js +1 -1
- package/_esm/actions/wallet/switchChain.js.map +1 -1
- package/_esm/actions/wallet/watchAsset.js +1 -1
- package/_esm/actions/wallet/watchAsset.js.map +1 -1
- package/_esm/actions/wallet/writeContract.js +7 -4
- package/_esm/actions/wallet/writeContract.js.map +1 -1
- package/_esm/chains/celo/chainConfig.js +7 -0
- package/_esm/chains/celo/chainConfig.js.map +1 -0
- package/_esm/chains/celo/formatters.js +1 -1
- package/_esm/chains/celo/formatters.js.map +1 -1
- package/_esm/chains/celo/index.js +4 -0
- package/_esm/chains/celo/index.js.map +1 -0
- package/_esm/chains/celo/parsers.js +3 -3
- package/_esm/chains/celo/parsers.js.map +1 -1
- package/_esm/chains/celo/serializers.js +8 -12
- package/_esm/chains/celo/serializers.js.map +1 -1
- package/_esm/chains/celo/utils.js +16 -5
- package/_esm/chains/celo/utils.js.map +1 -1
- package/_esm/chains/definitions/aurora.js +6 -0
- package/_esm/chains/definitions/aurora.js.map +1 -1
- package/_esm/chains/definitions/base.js +11 -2
- package/_esm/chains/definitions/base.js.map +1 -1
- package/_esm/chains/definitions/baseGoerli.js +10 -3
- package/_esm/chains/definitions/baseGoerli.js.map +1 -1
- package/_esm/chains/definitions/baseSepolia.js +13 -3
- package/_esm/chains/definitions/baseSepolia.js.map +1 -1
- package/_esm/chains/definitions/bscTestnet.js +2 -1
- package/_esm/chains/definitions/bscTestnet.js.map +1 -1
- package/_esm/chains/definitions/celo.js +2 -4
- package/_esm/chains/definitions/celo.js.map +1 -1
- package/_esm/chains/definitions/celoAlfajores.js +2 -4
- package/_esm/chains/definitions/celoAlfajores.js.map +1 -1
- package/_esm/chains/definitions/celoCannoli.js +2 -4
- package/_esm/chains/definitions/celoCannoli.js.map +1 -1
- package/_esm/chains/definitions/chiliz.js +23 -0
- package/_esm/chains/definitions/chiliz.js.map +1 -0
- package/_esm/chains/definitions/confluxESpace.js +1 -0
- package/_esm/chains/definitions/confluxESpace.js.map +1 -1
- package/_esm/chains/definitions/confluxESpaceTestnet.js +31 -0
- package/_esm/chains/definitions/confluxESpaceTestnet.js.map +1 -0
- package/_esm/chains/definitions/filecoin.js +6 -0
- package/_esm/chains/definitions/filecoin.js.map +1 -1
- package/_esm/chains/definitions/klaytn.js +6 -0
- package/_esm/chains/definitions/klaytn.js.map +1 -1
- package/_esm/chains/definitions/klaytnBaobab.js +27 -0
- package/_esm/chains/definitions/klaytnBaobab.js.map +1 -0
- package/_esm/chains/definitions/lukso.js +28 -0
- package/_esm/chains/definitions/lukso.js.map +1 -0
- package/_esm/chains/definitions/optimism.js +10 -2
- package/_esm/chains/definitions/optimism.js.map +1 -1
- package/_esm/chains/definitions/optimismGoerli.js +10 -2
- package/_esm/chains/definitions/optimismGoerli.js.map +1 -1
- package/_esm/chains/definitions/optimismSepolia.js +10 -2
- package/_esm/chains/definitions/optimismSepolia.js.map +1 -1
- package/_esm/chains/definitions/pgn.js +34 -0
- package/_esm/chains/definitions/pgn.js.map +1 -0
- package/_esm/chains/definitions/pgnTestnet.js +35 -0
- package/_esm/chains/definitions/pgnTestnet.js.map +1 -0
- package/_esm/chains/definitions/rootstock.js +26 -0
- package/_esm/chains/definitions/rootstock.js.map +1 -0
- package/_esm/chains/definitions/sapphire.js +30 -0
- package/_esm/chains/definitions/sapphire.js.map +1 -0
- package/_esm/chains/definitions/sapphireTestnet.js +25 -0
- package/_esm/chains/definitions/sapphireTestnet.js.map +1 -0
- package/_esm/chains/definitions/shibarium.js +32 -0
- package/_esm/chains/definitions/shibarium.js.map +1 -0
- package/_esm/chains/definitions/shimmer.js +26 -0
- package/_esm/chains/definitions/shimmer.js.map +1 -0
- package/_esm/chains/definitions/shimmerTestnet.js +27 -0
- package/_esm/chains/definitions/shimmerTestnet.js.map +1 -0
- package/_esm/chains/definitions/spicy.js +31 -0
- package/_esm/chains/definitions/spicy.js.map +1 -0
- package/_esm/chains/definitions/zkSync.js +2 -4
- package/_esm/chains/definitions/zkSync.js.map +1 -1
- package/_esm/chains/definitions/zkSyncTestnet.js +2 -4
- package/_esm/chains/definitions/zkSyncTestnet.js.map +1 -1
- package/_esm/chains/definitions/zora.js +10 -2
- package/_esm/chains/definitions/zora.js.map +1 -1
- package/_esm/chains/definitions/zoraSepolia.js +10 -2
- package/_esm/chains/definitions/zoraSepolia.js.map +1 -1
- package/_esm/chains/definitions/zoraTestnet.js +10 -2
- package/_esm/chains/definitions/zoraTestnet.js.map +1 -1
- package/_esm/chains/index.js +13 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/chains/opStack/abis.js +391 -0
- package/_esm/chains/opStack/abis.js.map +1 -0
- package/_esm/chains/opStack/actions/buildDepositTransaction.js +54 -0
- package/_esm/chains/opStack/actions/buildDepositTransaction.js.map +1 -0
- package/_esm/chains/opStack/actions/depositTransaction.js +88 -0
- package/_esm/chains/opStack/actions/depositTransaction.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateContractL1Fee.js +55 -0
- package/_esm/chains/opStack/actions/estimateContractL1Fee.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateContractL1Gas.js +55 -0
- package/_esm/chains/opStack/actions/estimateContractL1Gas.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateContractTotalFee.js +55 -0
- package/_esm/chains/opStack/actions/estimateContractTotalFee.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateContractTotalGas.js +55 -0
- package/_esm/chains/opStack/actions/estimateContractTotalGas.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateL1Fee.js +74 -0
- package/_esm/chains/opStack/actions/estimateL1Fee.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateL1Gas.js +74 -0
- package/_esm/chains/opStack/actions/estimateL1Gas.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateTotalFee.js +38 -0
- package/_esm/chains/opStack/actions/estimateTotalFee.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateTotalGas.js +36 -0
- package/_esm/chains/opStack/actions/estimateTotalGas.js.map +1 -0
- package/_esm/chains/opStack/chainConfig.js +9 -0
- package/_esm/chains/opStack/chainConfig.js.map +1 -0
- package/_esm/chains/opStack/chains.js +10 -0
- package/_esm/chains/opStack/chains.js.map +1 -0
- package/_esm/chains/opStack/contracts.js +13 -0
- package/_esm/chains/opStack/contracts.js.map +1 -0
- package/_esm/chains/opStack/decorators/publicL2.js +25 -0
- package/_esm/chains/opStack/decorators/publicL2.js.map +1 -0
- package/_esm/chains/opStack/decorators/walletL1.js +9 -0
- package/_esm/chains/opStack/decorators/walletL1.js.map +1 -0
- package/_esm/chains/{optimism → opStack}/formatters.js +1 -1
- package/_esm/chains/opStack/formatters.js.map +1 -0
- package/_esm/chains/opStack/index.js +22 -0
- package/_esm/chains/opStack/index.js.map +1 -0
- package/_esm/chains/opStack/parsers.js +51 -0
- package/_esm/chains/opStack/parsers.js.map +1 -0
- package/_esm/chains/opStack/serializers.js +47 -0
- package/_esm/chains/opStack/serializers.js.map +1 -0
- package/_esm/chains/opStack/types/block.js +2 -0
- package/_esm/chains/opStack/types/block.js.map +1 -0
- package/_esm/chains/opStack/types/chain.js +2 -0
- package/_esm/chains/opStack/types/chain.js.map +1 -0
- package/_esm/chains/opStack/types/contract.js +2 -0
- package/_esm/chains/opStack/types/contract.js.map +1 -0
- package/_esm/chains/opStack/types/transaction.js +2 -0
- package/_esm/chains/opStack/types/transaction.js.map +1 -0
- package/_esm/chains/opStack/utils/extractTransactionDepositedLogs.js +10 -0
- package/_esm/chains/opStack/utils/extractTransactionDepositedLogs.js.map +1 -0
- package/_esm/chains/opStack/utils/fromOpaqueData.js +25 -0
- package/_esm/chains/opStack/utils/fromOpaqueData.js.map +1 -0
- package/_esm/chains/opStack/utils/getL2TransactionHash.js +25 -0
- package/_esm/chains/opStack/utils/getL2TransactionHash.js.map +1 -0
- package/_esm/chains/opStack/utils/getL2TransactionHashes.js +7 -0
- package/_esm/chains/opStack/utils/getL2TransactionHashes.js.map +1 -0
- package/_esm/chains/opStack/utils/getSourceHash.js +18 -0
- package/_esm/chains/opStack/utils/getSourceHash.js.map +1 -0
- package/_esm/chains/utils.js +0 -5
- package/_esm/chains/utils.js.map +1 -1
- package/_esm/chains/zksync/chainConfig.js +7 -0
- package/_esm/chains/zksync/chainConfig.js.map +1 -0
- package/_esm/chains/zksync/formatters.js +2 -2
- package/_esm/chains/zksync/formatters.js.map +1 -1
- package/_esm/chains/zksync/index.js +3 -0
- package/_esm/chains/zksync/index.js.map +1 -0
- package/_esm/chains/zksync/serializers.js +8 -8
- package/_esm/chains/zksync/serializers.js.map +1 -1
- package/_esm/clients/createWalletClient.js +1 -1
- package/_esm/clients/createWalletClient.js.map +1 -1
- package/_esm/clients/decorators/public.js.map +1 -1
- package/_esm/clients/decorators/test.js +4 -0
- package/_esm/clients/decorators/test.js.map +1 -1
- package/_esm/clients/decorators/wallet.js.map +1 -1
- package/_esm/clients/transports/fallback.js +19 -6
- package/_esm/clients/transports/fallback.js.map +1 -1
- package/_esm/clients/transports/webSocket.js.map +1 -1
- package/_esm/constants/bytes.js +2 -0
- package/_esm/constants/bytes.js.map +1 -0
- package/_esm/constants/strings.js +2 -0
- package/_esm/constants/strings.js.map +1 -0
- package/_esm/errors/base.js.map +1 -1
- package/_esm/errors/contract.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/index.js +2 -0
- package/_esm/index.js.map +1 -1
- package/_esm/utils/abi/decodeAbiParameters.js.map +1 -1
- package/_esm/utils/abi/decodeEventLog.js.map +1 -1
- package/_esm/utils/abi/decodeFunctionData.js.map +1 -1
- package/_esm/utils/abi/decodeFunctionResult.js.map +1 -1
- package/_esm/utils/abi/encodeAbiParameters.js.map +1 -1
- package/_esm/utils/abi/encodeErrorResult.js.map +1 -1
- package/_esm/utils/abi/encodeEventTopics.js.map +1 -1
- package/_esm/utils/abi/encodeFunctionData.js.map +1 -1
- package/_esm/utils/abi/encodeFunctionResult.js.map +1 -1
- package/_esm/utils/abi/encodePacked.js.map +1 -1
- package/_esm/utils/abi/formatAbiItem.js.map +1 -1
- package/_esm/utils/abi/getAbiItem.js.map +1 -1
- package/_esm/utils/abi/parseEventLogs.js +59 -0
- package/_esm/utils/abi/parseEventLogs.js.map +1 -0
- package/_esm/utils/address/getAddress.js.map +1 -1
- package/_esm/utils/address/getContractAddress.js.map +1 -1
- package/_esm/utils/buildRequest.js +129 -102
- package/_esm/utils/buildRequest.js.map +1 -1
- package/_esm/utils/ccip.js +4 -2
- package/_esm/utils/ccip.js.map +1 -1
- package/_esm/utils/data/concat.js.map +1 -1
- package/_esm/utils/data/pad.js.map +1 -1
- package/_esm/utils/data/slice.js.map +1 -1
- package/_esm/utils/data/trim.js.map +1 -1
- package/_esm/utils/encoding/fromBytes.js.map +1 -1
- package/_esm/utils/encoding/fromHex.js.map +1 -1
- package/_esm/utils/encoding/fromRlp.js.map +1 -1
- package/_esm/utils/encoding/toBytes.js +2 -2
- package/_esm/utils/encoding/toBytes.js.map +1 -1
- package/_esm/utils/encoding/toHex.js.map +1 -1
- package/_esm/utils/encoding/toRlp.js +3 -1
- package/_esm/utils/encoding/toRlp.js.map +1 -1
- package/_esm/utils/ens/avatar/parseAvatarRecord.js.map +1 -1
- package/_esm/utils/ens/avatar/utils.js +1 -1
- package/_esm/utils/ens/avatar/utils.js.map +1 -1
- package/_esm/utils/ens/namehash.js +1 -1
- package/_esm/utils/ens/namehash.js.map +1 -1
- package/_esm/utils/ens/normalize.js +2 -2
- package/_esm/utils/ens/packetToBytes.js.map +1 -1
- package/_esm/utils/errors/getContractError.js.map +1 -1
- package/_esm/utils/errors/getNodeError.js +11 -11
- package/_esm/utils/errors/getNodeError.js.map +1 -1
- package/_esm/utils/formatters/block.js.map +1 -1
- package/_esm/utils/formatters/extract.js.map +1 -1
- package/_esm/utils/formatters/formatter.js.map +1 -1
- package/_esm/utils/formatters/transaction.js +19 -1
- package/_esm/utils/formatters/transaction.js.map +1 -1
- package/_esm/utils/getAction.js +12 -2
- package/_esm/utils/getAction.js.map +1 -1
- package/_esm/utils/hash/normalizeSignature.js.map +1 -1
- package/_esm/utils/index.js +2 -1
- package/_esm/utils/index.js.map +1 -1
- package/_esm/utils/observe.js +2 -1
- package/_esm/utils/observe.js.map +1 -1
- package/_esm/utils/promise/createBatchScheduler.js +8 -2
- package/_esm/utils/promise/createBatchScheduler.js.map +1 -1
- package/_esm/utils/promise/withCache.js.map +1 -1
- package/_esm/utils/promise/withRetry.js.map +1 -1
- package/_esm/utils/promise/withTimeout.js.map +1 -1
- package/_esm/utils/rpc.js.map +1 -1
- package/_esm/utils/signature/hashMessage.js +2 -1
- package/_esm/utils/signature/hashMessage.js.map +1 -1
- package/_esm/utils/signature/hashTypedData.js.map +1 -1
- package/_esm/utils/signature/signatureToCompactSignature.js.map +1 -1
- package/_esm/utils/transaction/getTransactionType.js.map +1 -1
- package/_esm/utils/transaction/parseTransaction.js.map +1 -1
- package/_esm/utils/transaction/serializeAccessList.js.map +1 -1
- package/_esm/utils/transaction/serializeTransaction.js +20 -6
- package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
- package/_esm/utils/typedData.js.map +1 -1
- package/_esm/utils/uid.js.map +1 -1
- package/_esm/utils/unit/formatEther.js +11 -0
- package/_esm/utils/unit/formatEther.js.map +1 -1
- package/_esm/utils/unit/formatGwei.js +11 -0
- package/_esm/utils/unit/formatGwei.js.map +1 -1
- package/_esm/utils/unit/formatUnits.js +11 -0
- package/_esm/utils/unit/formatUnits.js.map +1 -1
- package/_esm/utils/unit/parseEther.js +11 -0
- package/_esm/utils/unit/parseEther.js.map +1 -1
- package/_esm/utils/unit/parseGwei.js +11 -0
- package/_esm/utils/unit/parseGwei.js.map +1 -1
- package/_esm/utils/unit/parseUnits.js +11 -0
- package/_esm/utils/unit/parseUnits.js.map +1 -1
- package/_types/accounts/utils/signTransaction.d.ts.map +1 -1
- package/_types/actions/ens/getEnsAddress.d.ts +2 -2
- package/_types/actions/ens/getEnsAddress.d.ts.map +1 -1
- package/_types/actions/ens/getEnsAvatar.d.ts +2 -2
- package/_types/actions/ens/getEnsAvatar.d.ts.map +1 -1
- package/_types/actions/ens/getEnsName.d.ts +2 -2
- package/_types/actions/ens/getEnsName.d.ts.map +1 -1
- package/_types/actions/ens/getEnsResolver.d.ts +2 -2
- package/_types/actions/ens/getEnsResolver.d.ts.map +1 -1
- package/_types/actions/ens/getEnsText.d.ts +2 -2
- package/_types/actions/ens/getEnsText.d.ts.map +1 -1
- package/_types/actions/getContract.d.ts +5 -5
- package/_types/actions/getContract.d.ts.map +1 -1
- package/_types/actions/public/createContractEventFilter.d.ts.map +1 -1
- package/_types/actions/public/estimateContractGas.d.ts +2 -2
- package/_types/actions/public/estimateContractGas.d.ts.map +1 -1
- package/_types/actions/public/estimateFeesPerGas.d.ts +2 -2
- package/_types/actions/public/estimateFeesPerGas.d.ts.map +1 -1
- package/_types/actions/public/estimateGas.d.ts +5 -3
- package/_types/actions/public/estimateGas.d.ts.map +1 -1
- package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts +2 -2
- package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts.map +1 -1
- package/_types/actions/public/getBlock.d.ts +2 -2
- package/_types/actions/public/getBlock.d.ts.map +1 -1
- package/_types/actions/public/getBlockNumber.d.ts +1 -1
- package/_types/actions/public/getContractEvents.d.ts.map +1 -1
- package/_types/actions/public/getFilterChanges.d.ts.map +1 -1
- package/_types/actions/public/getFilterLogs.d.ts.map +1 -1
- package/_types/actions/public/getLogs.d.ts +1 -1
- package/_types/actions/public/getLogs.d.ts.map +1 -1
- package/_types/actions/public/getTransaction.d.ts +2 -2
- package/_types/actions/public/getTransaction.d.ts.map +1 -1
- package/_types/actions/public/getTransactionConfirmations.d.ts +1 -1
- package/_types/actions/public/getTransactionConfirmations.d.ts.map +1 -1
- package/_types/actions/public/getTransactionReceipt.d.ts +2 -2
- package/_types/actions/public/getTransactionReceipt.d.ts.map +1 -1
- package/_types/actions/public/multicall.d.ts.map +1 -1
- package/_types/actions/public/readContract.d.ts +1 -1
- package/_types/actions/public/readContract.d.ts.map +1 -1
- package/_types/actions/public/simulateContract.d.ts +4 -4
- package/_types/actions/public/simulateContract.d.ts.map +1 -1
- package/_types/actions/public/verifyHash.d.ts.map +1 -1
- package/_types/actions/public/waitForTransactionReceipt.d.ts +1 -1
- package/_types/actions/public/waitForTransactionReceipt.d.ts.map +1 -1
- package/_types/actions/public/watchBlockNumber.d.ts +1 -1
- package/_types/actions/public/watchBlockNumber.d.ts.map +1 -1
- package/_types/actions/public/watchBlocks.d.ts +1 -1
- package/_types/actions/public/watchBlocks.d.ts.map +1 -1
- package/_types/actions/public/watchContractEvent.d.ts.map +1 -1
- package/_types/actions/public/watchEvent.d.ts.map +1 -1
- package/_types/actions/public/watchPendingTransactions.d.ts.map +1 -1
- package/_types/actions/test/dumpState.d.ts +31 -0
- package/_types/actions/test/dumpState.d.ts.map +1 -0
- package/_types/actions/test/loadState.d.ts +34 -0
- package/_types/actions/test/loadState.d.ts.map +1 -0
- package/_types/actions/wallet/addChain.d.ts.map +1 -1
- package/_types/actions/wallet/deployContract.d.ts +3 -3
- package/_types/actions/wallet/deployContract.d.ts.map +1 -1
- package/_types/actions/wallet/prepareTransactionRequest.d.ts +19 -7
- package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
- package/_types/actions/wallet/requestAddresses.d.ts.map +1 -1
- package/_types/actions/wallet/requestPermissions.d.ts.map +1 -1
- package/_types/actions/wallet/sendRawTransaction.d.ts.map +1 -1
- package/_types/actions/wallet/sendTransaction.d.ts +4 -4
- package/_types/actions/wallet/sendTransaction.d.ts.map +1 -1
- package/_types/actions/wallet/signMessage.d.ts.map +1 -1
- package/_types/actions/wallet/signTransaction.d.ts +2 -2
- package/_types/actions/wallet/signTransaction.d.ts.map +1 -1
- package/_types/actions/wallet/signTypedData.d.ts.map +1 -1
- package/_types/actions/wallet/switchChain.d.ts.map +1 -1
- package/_types/actions/wallet/watchAsset.d.ts.map +1 -1
- package/_types/actions/wallet/writeContract.d.ts +4 -4
- package/_types/actions/wallet/writeContract.d.ts.map +1 -1
- package/_types/chains/celo/chainConfig.d.ts +914 -0
- package/_types/chains/celo/chainConfig.d.ts.map +1 -0
- package/_types/chains/celo/formatters.d.ts +179 -149
- package/_types/chains/celo/formatters.d.ts.map +1 -1
- package/_types/chains/celo/index.d.ts +5 -0
- package/_types/chains/celo/index.d.ts.map +1 -0
- package/_types/chains/celo/parsers.d.ts +3 -3
- package/_types/chains/celo/parsers.d.ts.map +1 -1
- package/_types/chains/celo/serializers.d.ts +2 -2
- package/_types/chains/celo/serializers.d.ts.map +1 -1
- package/_types/chains/celo/types.d.ts +2 -0
- package/_types/chains/celo/types.d.ts.map +1 -1
- package/_types/chains/celo/utils.d.ts.map +1 -1
- package/_types/chains/definitions/aurora.d.ts +6 -8
- package/_types/chains/definitions/aurora.d.ts.map +1 -1
- package/_types/chains/definitions/auroraTestnet.d.ts +1 -1
- package/_types/chains/definitions/base.d.ts +163 -119
- package/_types/chains/definitions/base.d.ts.map +1 -1
- package/_types/chains/definitions/baseGoerli.d.ts +161 -118
- package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/baseSepolia.d.ts +164 -126
- package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/bearNetworkChainMainnet.d.ts +1 -1
- package/_types/chains/definitions/bearNetworkChainTestnet.d.ts +1 -1
- package/_types/chains/definitions/bronos.d.ts +1 -1
- package/_types/chains/definitions/bronosTestnet.d.ts +1 -1
- package/_types/chains/definitions/bscTestnet.d.ts +4 -1
- package/_types/chains/definitions/bscTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/bxn.d.ts +1 -1
- package/_types/chains/definitions/bxnTestnet.d.ts +1 -1
- package/_types/chains/definitions/celo.d.ts +184 -154
- package/_types/chains/definitions/celo.d.ts.map +1 -1
- package/_types/chains/definitions/celoAlfajores.d.ts +184 -154
- package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
- package/_types/chains/definitions/celoCannoli.d.ts +184 -154
- package/_types/chains/definitions/celoCannoli.d.ts.map +1 -1
- package/_types/chains/definitions/chiliz.d.ts +35 -0
- package/_types/chains/definitions/chiliz.d.ts.map +1 -0
- package/_types/chains/definitions/classic.d.ts +1 -1
- package/_types/chains/definitions/confluxESpace.d.ts +1 -0
- package/_types/chains/definitions/confluxESpace.d.ts.map +1 -1
- package/_types/chains/definitions/confluxESpaceTestnet.d.ts +38 -0
- package/_types/chains/definitions/confluxESpaceTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/dfk.d.ts +1 -1
- package/_types/chains/definitions/dogechain.d.ts +1 -1
- package/_types/chains/definitions/edgewareTestnet.d.ts +1 -1
- package/_types/chains/definitions/ekta.d.ts +1 -1
- package/_types/chains/definitions/ektaTestnet.d.ts +1 -1
- package/_types/chains/definitions/evmos.d.ts +1 -1
- package/_types/chains/definitions/evmosTestnet.d.ts +1 -1
- package/_types/chains/definitions/fibo.d.ts +1 -1
- package/_types/chains/definitions/filecoin.d.ts +6 -8
- package/_types/chains/definitions/filecoin.d.ts.map +1 -1
- package/_types/chains/definitions/filecoinCalibration.d.ts +1 -1
- package/_types/chains/definitions/filecoinHyperspace.d.ts +1 -1
- package/_types/chains/definitions/flare.d.ts +1 -1
- package/_types/chains/definitions/flareTestnet.d.ts +1 -1
- package/_types/chains/definitions/foundry.d.ts +1 -1
- package/_types/chains/definitions/fuseSparknet.d.ts +1 -1
- package/_types/chains/definitions/haqqMainnet.d.ts +1 -1
- package/_types/chains/definitions/haqqTestedge2.d.ts +1 -1
- package/_types/chains/definitions/hardhat.d.ts +1 -1
- package/_types/chains/definitions/iotex.d.ts +1 -1
- package/_types/chains/definitions/iotexTestnet.d.ts +1 -1
- package/_types/chains/definitions/klaytn.d.ts +6 -8
- package/_types/chains/definitions/klaytn.d.ts.map +1 -1
- package/_types/chains/definitions/klaytnBaobab.d.ts +40 -0
- package/_types/chains/definitions/klaytnBaobab.d.ts.map +1 -0
- package/_types/chains/definitions/kroma.d.ts +1 -1
- package/_types/chains/definitions/kromaSepolia.d.ts +1 -1
- package/_types/chains/definitions/localhost.d.ts +1 -1
- package/_types/chains/definitions/lukso.d.ts +40 -0
- package/_types/chains/definitions/lukso.d.ts.map +1 -0
- package/_types/chains/definitions/mantleTestnet.d.ts +1 -1
- package/_types/chains/definitions/meter.d.ts +1 -1
- package/_types/chains/definitions/meterTestnet.d.ts +1 -1
- package/_types/chains/definitions/moonbeamDev.d.ts +1 -1
- package/_types/chains/definitions/oasys.d.ts +1 -1
- package/_types/chains/definitions/optimism.d.ts +162 -119
- package/_types/chains/definitions/optimism.d.ts.map +1 -1
- package/_types/chains/definitions/optimismGoerli.d.ts +162 -119
- package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/optimismSepolia.d.ts +162 -119
- package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/pgn.d.ts +555 -0
- package/_types/chains/definitions/pgn.d.ts.map +1 -0
- package/_types/chains/definitions/pgnTestnet.d.ts +555 -0
- package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/qMainnet.d.ts +1 -1
- package/_types/chains/definitions/qTestnet.d.ts +1 -1
- package/_types/chains/definitions/rootstock.d.ts +40 -0
- package/_types/chains/definitions/rootstock.d.ts.map +1 -0
- package/_types/chains/definitions/sapphire.d.ts +38 -0
- package/_types/chains/definitions/sapphire.d.ts.map +1 -0
- package/_types/chains/definitions/sapphireTestnet.d.ts +40 -0
- package/_types/chains/definitions/sapphireTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/scrollTestnet.d.ts +1 -1
- package/_types/chains/definitions/shardeumSphinx.d.ts +1 -1
- package/_types/chains/definitions/shibarium.d.ts +40 -0
- package/_types/chains/definitions/shibarium.d.ts.map +1 -0
- package/_types/chains/definitions/shimmer.d.ts +38 -0
- package/_types/chains/definitions/shimmer.d.ts.map +1 -0
- package/_types/chains/definitions/shimmerTestnet.d.ts +38 -0
- package/_types/chains/definitions/shimmerTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/songbird.d.ts +1 -1
- package/_types/chains/definitions/songbirdTestnet.d.ts +1 -1
- package/_types/chains/definitions/spicy.d.ts +36 -0
- package/_types/chains/definitions/spicy.d.ts.map +1 -0
- package/_types/chains/definitions/taikoJolnir.d.ts +1 -1
- package/_types/chains/definitions/taikoTestnetSepolia.d.ts +1 -1
- package/_types/chains/definitions/taraxa.d.ts +1 -1
- package/_types/chains/definitions/taraxaTestnet.d.ts +1 -1
- package/_types/chains/definitions/telosTestnet.d.ts +1 -1
- package/_types/chains/definitions/tenet.d.ts +1 -1
- package/_types/chains/definitions/thunderTestnet.d.ts +1 -1
- package/_types/chains/definitions/vechain.d.ts +1 -1
- package/_types/chains/definitions/xdc.d.ts +1 -1
- package/_types/chains/definitions/xdcTestnet.d.ts +1 -1
- package/_types/chains/definitions/zetachainAthensTestnet.d.ts +1 -1
- package/_types/chains/definitions/zhejiang.d.ts +1 -1
- package/_types/chains/definitions/zkSync.d.ts +48 -37
- package/_types/chains/definitions/zkSync.d.ts.map +1 -1
- package/_types/chains/definitions/zkSyncTestnet.d.ts +48 -37
- package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zora.d.ts +162 -119
- package/_types/chains/definitions/zora.d.ts.map +1 -1
- package/_types/chains/definitions/zoraSepolia.d.ts +162 -119
- package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/zoraTestnet.d.ts +162 -119
- package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
- package/_types/chains/index.d.ts +16 -1
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/chains/opStack/abis.d.ts +549 -0
- package/_types/chains/opStack/abis.d.ts.map +1 -0
- package/_types/chains/opStack/actions/buildDepositTransaction.d.ts +63 -0
- package/_types/chains/opStack/actions/buildDepositTransaction.d.ts.map +1 -0
- package/_types/chains/opStack/actions/depositTransaction.d.ts +96 -0
- package/_types/chains/opStack/actions/depositTransaction.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts +39 -0
- package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts +39 -0
- package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts +39 -0
- package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts +39 -0
- package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateL1Fee.d.ts +43 -0
- package/_types/chains/opStack/actions/estimateL1Fee.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateL1Gas.d.ts +43 -0
- package/_types/chains/opStack/actions/estimateL1Gas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateTotalFee.d.ts +37 -0
- package/_types/chains/opStack/actions/estimateTotalFee.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateTotalGas.d.ts +36 -0
- package/_types/chains/opStack/actions/estimateTotalGas.d.ts.map +1 -0
- package/_types/chains/opStack/chainConfig.d.ts +542 -0
- package/_types/chains/opStack/chainConfig.d.ts.map +1 -0
- package/_types/chains/opStack/chains.d.ts +10 -0
- package/_types/chains/opStack/chains.d.ts.map +1 -0
- package/_types/chains/opStack/contracts.d.ts +21 -0
- package/_types/chains/opStack/contracts.d.ts.map +1 -0
- package/_types/chains/opStack/decorators/publicL2.d.ts +241 -0
- package/_types/chains/opStack/decorators/publicL2.d.ts.map +1 -0
- package/_types/chains/opStack/decorators/walletL1.d.ts +64 -0
- package/_types/chains/opStack/decorators/walletL1.d.ts.map +1 -0
- package/_types/chains/{optimism → opStack}/formatters.d.ts +138 -119
- package/_types/chains/{optimism → opStack}/formatters.d.ts.map +1 -1
- package/_types/chains/opStack/index.d.ts +24 -0
- package/_types/chains/opStack/index.d.ts.map +1 -0
- package/_types/chains/opStack/parsers.d.ts +8 -0
- package/_types/chains/opStack/parsers.d.ts.map +1 -0
- package/_types/chains/opStack/serializers.d.ts +12 -0
- package/_types/chains/opStack/serializers.d.ts.map +1 -0
- package/_types/chains/opStack/types/block.d.ts +13 -0
- package/_types/chains/opStack/types/block.d.ts.map +1 -0
- package/_types/chains/opStack/types/chain.d.ts +9 -0
- package/_types/chains/opStack/types/chain.d.ts.map +1 -0
- package/_types/chains/opStack/types/contract.d.ts +13 -0
- package/_types/chains/opStack/types/contract.d.ts.map +1 -0
- package/_types/chains/opStack/types/transaction.d.ts +60 -0
- package/_types/chains/opStack/types/transaction.d.ts.map +1 -0
- package/_types/chains/opStack/utils/extractTransactionDepositedLogs.d.ts +446 -0
- package/_types/chains/opStack/utils/extractTransactionDepositedLogs.d.ts.map +1 -0
- package/_types/chains/opStack/utils/fromOpaqueData.d.ts +15 -0
- package/_types/chains/opStack/utils/fromOpaqueData.d.ts.map +1 -0
- package/_types/chains/opStack/utils/getL2TransactionHash.d.ts +12 -0
- package/_types/chains/opStack/utils/getL2TransactionHash.d.ts.map +1 -0
- package/_types/chains/opStack/utils/getL2TransactionHashes.d.ts +11 -0
- package/_types/chains/opStack/utils/getL2TransactionHashes.d.ts.map +1 -0
- package/_types/chains/opStack/utils/getSourceHash.d.ts +28 -0
- package/_types/chains/opStack/utils/getSourceHash.d.ts.map +1 -0
- package/_types/chains/utils.d.ts +0 -8
- package/_types/chains/utils.d.ts.map +1 -1
- package/_types/chains/zksync/chainConfig.d.ts +501 -0
- package/_types/chains/zksync/chainConfig.d.ts.map +1 -0
- package/_types/chains/zksync/formatters.d.ts +36 -25
- package/_types/chains/zksync/formatters.d.ts.map +1 -1
- package/_types/chains/zksync/index.d.ts +4 -0
- package/_types/chains/zksync/index.d.ts.map +1 -0
- package/_types/chains/zksync/serializers.d.ts +2 -2
- package/_types/chains/zksync/serializers.d.ts.map +1 -1
- package/_types/clients/createClient.d.ts +1 -1
- package/_types/clients/decorators/public.d.ts +25 -25
- package/_types/clients/decorators/public.d.ts.map +1 -1
- package/_types/clients/decorators/test.d.ts +41 -0
- package/_types/clients/decorators/test.d.ts.map +1 -1
- package/_types/clients/decorators/wallet.d.ts +6 -6
- package/_types/clients/decorators/wallet.d.ts.map +1 -1
- package/_types/clients/transports/fallback.d.ts.map +1 -1
- package/_types/constants/bytes.d.ts +2 -0
- package/_types/constants/bytes.d.ts.map +1 -0
- package/_types/constants/strings.d.ts +2 -0
- package/_types/constants/strings.d.ts.map +1 -0
- package/_types/errors/estimateGas.d.ts +1 -1
- package/_types/errors/estimateGas.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/errors/version.d.ts.map +1 -1
- package/_types/index.d.ts +4 -2
- package/_types/index.d.ts.map +1 -1
- package/_types/types/account.d.ts +6 -3
- package/_types/types/account.d.ts.map +1 -1
- package/_types/types/chain.d.ts +12 -15
- package/_types/types/chain.d.ts.map +1 -1
- package/_types/types/contract.d.ts +2 -1
- package/_types/types/contract.d.ts.map +1 -1
- package/_types/types/eip1193.d.ts +21 -1
- package/_types/types/eip1193.d.ts.map +1 -1
- package/_types/types/ens.d.ts +1 -1
- package/_types/types/ens.d.ts.map +1 -1
- package/_types/types/filter.d.ts.map +1 -1
- package/_types/types/log.d.ts.map +1 -1
- package/_types/types/multicall.d.ts.map +1 -1
- package/_types/types/rpc.d.ts +2 -2
- package/_types/types/rpc.d.ts.map +1 -1
- package/_types/types/transaction.d.ts +10 -1
- package/_types/types/transaction.d.ts.map +1 -1
- package/_types/types/utils.d.ts +33 -1
- package/_types/types/utils.d.ts.map +1 -1
- package/_types/utils/abi/decodeEventLog.d.ts.map +1 -1
- package/_types/utils/abi/decodeFunctionData.d.ts.map +1 -1
- package/_types/utils/abi/decodeFunctionResult.d.ts.map +1 -1
- package/_types/utils/abi/encodeDeployData.d.ts.map +1 -1
- package/_types/utils/abi/encodeErrorResult.d.ts.map +1 -1
- package/_types/utils/abi/encodeEventTopics.d.ts.map +1 -1
- package/_types/utils/abi/encodeFunctionData.d.ts.map +1 -1
- package/_types/utils/abi/encodeFunctionResult.d.ts.map +1 -1
- package/_types/utils/abi/parseEventLogs.d.ts +43 -0
- package/_types/utils/abi/parseEventLogs.d.ts.map +1 -0
- package/_types/utils/buildRequest.d.ts +3 -6
- package/_types/utils/buildRequest.d.ts.map +1 -1
- package/_types/utils/ccip.d.ts.map +1 -1
- package/_types/utils/encoding/fromBytes.d.ts.map +1 -1
- package/_types/utils/encoding/fromHex.d.ts.map +1 -1
- package/_types/utils/ens/avatar/utils.d.ts.map +1 -1
- package/_types/utils/ens/namehash.d.ts +1 -1
- package/_types/utils/ens/normalize.d.ts +2 -2
- package/_types/utils/errors/getNodeError.d.ts.map +1 -1
- package/_types/utils/formatters/block.d.ts +3 -7
- package/_types/utils/formatters/block.d.ts.map +1 -1
- package/_types/utils/formatters/formatter.d.ts +1 -1
- package/_types/utils/formatters/transaction.d.ts +4 -8
- package/_types/utils/formatters/transaction.d.ts.map +1 -1
- package/_types/utils/formatters/transactionReceipt.d.ts +2 -2
- package/_types/utils/formatters/transactionReceipt.d.ts.map +1 -1
- package/_types/utils/formatters/transactionRequest.d.ts +2 -2
- package/_types/utils/getAction.d.ts +8 -1
- package/_types/utils/getAction.d.ts.map +1 -1
- package/_types/utils/index.d.ts +2 -1
- package/_types/utils/index.d.ts.map +1 -1
- package/_types/utils/promise/createBatchScheduler.d.ts.map +1 -1
- package/_types/utils/signature/hashMessage.d.ts.map +1 -1
- package/_types/utils/transaction/getSerializedTransactionType.d.ts.map +1 -1
- package/_types/utils/transaction/getTransactionType.d.ts.map +1 -1
- package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -1
- package/_types/utils/unit/formatEther.d.ts +11 -0
- package/_types/utils/unit/formatEther.d.ts.map +1 -1
- package/_types/utils/unit/formatGwei.d.ts +11 -0
- package/_types/utils/unit/formatGwei.d.ts.map +1 -1
- package/_types/utils/unit/formatUnits.d.ts +11 -0
- package/_types/utils/unit/formatUnits.d.ts.map +1 -1
- package/_types/utils/unit/parseEther.d.ts +11 -0
- package/_types/utils/unit/parseEther.d.ts.map +1 -1
- package/_types/utils/unit/parseGwei.d.ts +11 -0
- package/_types/utils/unit/parseGwei.d.ts.map +1 -1
- package/_types/utils/unit/parseUnits.d.ts +11 -0
- package/_types/utils/unit/parseUnits.d.ts.map +1 -1
- package/accounts/utils/signTransaction.ts +4 -2
- package/actions/ens/getEnsAddress.ts +3 -2
- package/actions/ens/getEnsAvatar.ts +3 -2
- package/actions/ens/getEnsName.ts +3 -2
- package/actions/ens/getEnsResolver.ts +3 -2
- package/actions/ens/getEnsText.ts +3 -2
- package/actions/getContract.ts +12 -11
- package/actions/public/createContractEventFilter.ts +7 -7
- package/actions/public/createEventFilter.ts +1 -1
- package/actions/public/estimateContractGas.ts +3 -9
- package/actions/public/estimateFeesPerGas.ts +8 -5
- package/actions/public/estimateGas.ts +8 -14
- package/actions/public/estimateMaxPriorityFeePerGas.ts +10 -6
- package/actions/public/getBlock.ts +2 -2
- package/actions/public/getBlockNumber.ts +1 -1
- package/actions/public/getContractEvents.ts +1 -0
- package/actions/public/getFilterChanges.ts +30 -39
- package/actions/public/getFilterLogs.ts +17 -38
- package/actions/public/getLogs.ts +16 -38
- package/actions/public/getTransaction.ts +2 -2
- package/actions/public/getTransactionConfirmations.ts +5 -3
- package/actions/public/getTransactionReceipt.ts +2 -2
- package/actions/public/multicall.ts +1 -0
- package/actions/public/readContract.ts +2 -1
- package/actions/public/simulateContract.ts +8 -5
- package/actions/public/verifyHash.ts +1 -0
- package/actions/public/waitForTransactionReceipt.ts +40 -13
- package/actions/public/watchBlockNumber.ts +2 -1
- package/actions/public/watchBlocks.ts +3 -1
- package/actions/public/watchContractEvent.ts +19 -4
- package/actions/public/watchEvent.ts +19 -4
- package/actions/public/watchPendingTransactions.ts +13 -3
- package/actions/test/dumpState.ts +44 -0
- package/actions/test/loadState.ts +47 -0
- package/actions/wallet/addChain.ts +17 -14
- package/actions/wallet/deployContract.ts +3 -3
- package/actions/wallet/prepareTransactionRequest.ts +137 -67
- package/actions/wallet/requestAddresses.ts +4 -1
- package/actions/wallet/requestPermissions.ts +7 -4
- package/actions/wallet/sendRawTransaction.ts +7 -4
- package/actions/wallet/sendTransaction.ts +19 -16
- package/actions/wallet/signMessage.ts +7 -4
- package/actions/wallet/signTransaction.ts +23 -19
- package/actions/wallet/signTypedData.ts +7 -4
- package/actions/wallet/switchChain.ts +11 -8
- package/actions/wallet/watchAsset.ts +7 -4
- package/actions/wallet/writeContract.ts +21 -12
- package/chains/celo/chainConfig.ts +7 -0
- package/chains/celo/formatters.ts +1 -2
- package/chains/celo/index.ts +35 -0
- package/chains/celo/package.json +6 -0
- package/chains/celo/parsers.ts +10 -12
- package/chains/celo/serializers.ts +8 -12
- package/chains/celo/types.ts +2 -0
- package/chains/celo/utils.ts +16 -3
- package/chains/definitions/aurora.ts +6 -0
- package/chains/definitions/base.ts +12 -2
- package/chains/definitions/baseGoerli.ts +11 -3
- package/chains/definitions/baseSepolia.ts +14 -3
- package/chains/definitions/bscTestnet.ts +2 -1
- package/chains/definitions/celo.ts +2 -4
- package/chains/definitions/celoAlfajores.ts +2 -4
- package/chains/definitions/celoCannoli.ts +2 -4
- package/chains/definitions/chiliz.ts +23 -0
- package/chains/definitions/confluxESpace.ts +1 -0
- package/chains/definitions/confluxESpaceTestnet.ts +31 -0
- package/chains/definitions/filecoin.ts +6 -0
- package/chains/definitions/klaytn.ts +6 -0
- package/chains/definitions/klaytnBaobab.ts +27 -0
- package/chains/definitions/lukso.ts +28 -0
- package/chains/definitions/optimism.ts +11 -2
- package/chains/definitions/optimismGoerli.ts +11 -2
- package/chains/definitions/optimismSepolia.ts +11 -2
- package/chains/definitions/pgn.ts +34 -0
- package/chains/definitions/pgnTestnet.ts +35 -0
- package/chains/definitions/rootstock.ts +26 -0
- package/chains/definitions/sapphire.ts +30 -0
- package/chains/definitions/sapphireTestnet.ts +25 -0
- package/chains/definitions/shibarium.ts +32 -0
- package/chains/definitions/shimmer.ts +26 -0
- package/chains/definitions/shimmerTestnet.ts +27 -0
- package/chains/definitions/spicy.ts +31 -0
- package/chains/definitions/zkSync.ts +2 -4
- package/chains/definitions/zkSyncTestnet.ts +2 -4
- package/chains/definitions/zora.ts +11 -2
- package/chains/definitions/zoraSepolia.ts +11 -2
- package/chains/definitions/zoraTestnet.ts +11 -2
- package/chains/index.ts +33 -3
- package/chains/opStack/abis.ts +391 -0
- package/chains/opStack/actions/buildDepositTransaction.ts +151 -0
- package/chains/opStack/actions/depositTransaction.ts +171 -0
- package/chains/opStack/actions/estimateContractL1Fee.ts +142 -0
- package/chains/opStack/actions/estimateContractL1Gas.ts +142 -0
- package/chains/opStack/actions/estimateContractTotalFee.ts +144 -0
- package/chains/opStack/actions/estimateContractTotalGas.ts +144 -0
- package/chains/opStack/actions/estimateL1Fee.ts +138 -0
- package/chains/opStack/actions/estimateL1Gas.ts +138 -0
- package/chains/opStack/actions/estimateTotalFee.ts +86 -0
- package/chains/opStack/actions/estimateTotalGas.ts +80 -0
- package/chains/opStack/chainConfig.ts +9 -0
- package/chains/opStack/chains.ts +9 -0
- package/chains/opStack/contracts.ts +14 -0
- package/chains/opStack/decorators/publicL2.ts +380 -0
- package/chains/opStack/decorators/walletL1.ts +86 -0
- package/chains/{optimism → opStack}/formatters.ts +20 -18
- package/chains/opStack/index.ts +142 -0
- package/chains/opStack/package.json +6 -0
- package/chains/opStack/parsers.ts +88 -0
- package/chains/opStack/serializers.ts +88 -0
- package/chains/opStack/types/block.ts +34 -0
- package/chains/opStack/types/chain.ts +7 -0
- package/chains/opStack/types/contract.ts +17 -0
- package/chains/opStack/types/transaction.ts +108 -0
- package/chains/opStack/utils/extractTransactionDepositedLogs.ts +36 -0
- package/chains/opStack/utils/fromOpaqueData.ts +40 -0
- package/chains/opStack/utils/getL2TransactionHash.ts +52 -0
- package/chains/opStack/utils/getL2TransactionHashes.ts +21 -0
- package/chains/opStack/utils/getSourceHash.ts +61 -0
- package/chains/utils.ts +0 -83
- package/chains/zksync/chainConfig.ts +7 -0
- package/chains/zksync/formatters.ts +2 -2
- package/chains/zksync/index.ts +33 -0
- package/chains/zksync/package.json +6 -0
- package/chains/zksync/serializers.ts +7 -9
- package/clients/createClient.ts +1 -1
- package/clients/createWalletClient.ts +1 -1
- package/clients/decorators/public.ts +42 -31
- package/clients/decorators/test.ts +50 -0
- package/clients/decorators/wallet.ts +26 -7
- package/clients/transports/fallback.ts +24 -6
- package/constants/bytes.ts +2 -0
- package/constants/strings.ts +1 -0
- package/errors/base.ts +2 -2
- package/errors/estimateGas.ts +1 -1
- package/errors/version.ts +1 -1
- package/index.ts +5 -1
- package/package.json +30 -37
- package/types/account.ts +11 -2
- package/types/chain.ts +23 -12
- package/types/contract.ts +67 -65
- package/types/eip1193.ts +24 -0
- package/types/ens.ts +1 -1
- package/types/filter.ts +12 -12
- package/types/log.ts +4 -4
- package/types/multicall.ts +66 -61
- package/types/rpc.ts +9 -4
- package/types/transaction.ts +14 -5
- package/types/utils.ts +46 -7
- package/utils/abi/decodeEventLog.ts +2 -1
- package/utils/abi/decodeFunctionData.ts +2 -1
- package/utils/abi/decodeFunctionResult.ts +2 -2
- package/utils/abi/encodeDeployData.ts +2 -2
- package/utils/abi/encodeErrorResult.ts +2 -2
- package/utils/abi/encodeEventTopics.ts +6 -6
- package/utils/abi/encodeFunctionData.ts +2 -2
- package/utils/abi/encodeFunctionResult.ts +2 -2
- package/utils/abi/parseEventLogs.ts +129 -0
- package/utils/buildRequest.ts +46 -41
- package/utils/ccip.ts +4 -3
- package/utils/encoding/fromBytes.ts +8 -8
- package/utils/encoding/fromHex.ts +8 -8
- package/utils/encoding/toBytes.ts +2 -2
- package/utils/encoding/toRlp.ts +3 -1
- package/utils/ens/avatar/utils.ts +3 -1
- package/utils/ens/namehash.ts +1 -1
- package/utils/ens/normalize.ts +2 -2
- package/utils/errors/getContractError.ts +2 -2
- package/utils/errors/getNodeError.ts +12 -11
- package/utils/formatters/block.ts +2 -4
- package/utils/formatters/formatter.ts +1 -1
- package/utils/formatters/transaction.ts +22 -7
- package/utils/formatters/transactionReceipt.ts +1 -1
- package/utils/getAction.ts +11 -1
- package/utils/index.ts +6 -2
- package/utils/observe.ts +1 -1
- package/utils/promise/createBatchScheduler.ts +8 -4
- package/utils/signature/hashMessage.ts +2 -1
- package/utils/transaction/getSerializedTransactionType.ts +2 -2
- package/utils/transaction/getTransactionType.ts +2 -1
- package/utils/transaction/serializeTransaction.ts +24 -15
- package/utils/unit/formatEther.ts +11 -0
- package/utils/unit/formatGwei.ts +11 -0
- package/utils/unit/formatUnits.ts +11 -0
- package/utils/unit/parseEther.ts +11 -0
- package/utils/unit/parseGwei.ts +11 -0
- package/utils/unit/parseUnits.ts +11 -0
- package/_cjs/chains/optimism/formatters.js.map +0 -1
- package/_cjs/chains/optimism/types.js.map +0 -1
- package/_esm/chains/optimism/formatters.js.map +0 -1
- package/_esm/chains/optimism/types.js +0 -2
- package/_esm/chains/optimism/types.js.map +0 -1
- package/_types/chains/optimism/types.d.ts +0 -53
- package/_types/chains/optimism/types.d.ts.map +0 -1
- package/chains/optimism/types.ts +0 -102
package/_types/types/utils.d.ts
CHANGED
@@ -93,6 +93,14 @@ export type NeverBy<T, K extends keyof T> = {
|
|
93
93
|
*/
|
94
94
|
export type NoUndefined<T> = T extends undefined ? never : T;
|
95
95
|
export type Omit<type, keys extends keyof type> = Pick<type, Exclude<keyof type, keys>>;
|
96
|
+
/**
|
97
|
+
* @description Creates a type that is a partial of T, but with the required keys K.
|
98
|
+
*
|
99
|
+
* @example
|
100
|
+
* PartialBy<{ a: string, b: number }, 'a'>
|
101
|
+
* => { a?: string, b: number }
|
102
|
+
*/
|
103
|
+
export type PartialBy<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
|
96
104
|
/**
|
97
105
|
* @description Combines members of an intersection into a readable type.
|
98
106
|
*
|
@@ -104,6 +112,14 @@ export type Omit<type, keys extends keyof type> = Pick<type, Exclude<keyof type,
|
|
104
112
|
export type Prettify<T> = {
|
105
113
|
[K in keyof T]: T[K];
|
106
114
|
} & {};
|
115
|
+
/**
|
116
|
+
* @description Creates a type that is T with the required keys K.
|
117
|
+
*
|
118
|
+
* @example
|
119
|
+
* RequiredBy<{ a?: string, b: number }, 'a'>
|
120
|
+
* => { a: string, b: number }
|
121
|
+
*/
|
122
|
+
export type RequiredBy<T, K extends keyof T> = Omit<T, K> & Required<Pick<T, K>>;
|
107
123
|
/**
|
108
124
|
* @description Creates a type that extracts the values of T.
|
109
125
|
*
|
@@ -121,7 +137,7 @@ export type ExactPartial<type> = {
|
|
121
137
|
[key in keyof type]?: type[key] | undefined;
|
122
138
|
};
|
123
139
|
export type OneOf<union extends object, keys extends KeyofUnion<union> = KeyofUnion<union>> = union extends infer Item ? Prettify<Item & {
|
124
|
-
[
|
140
|
+
[_K in Exclude<keys, keyof Item>]?: undefined;
|
125
141
|
}> : never;
|
126
142
|
type KeyofUnion<type> = type extends type ? keyof type : never;
|
127
143
|
/** Loose version of {@link Omit} */
|
@@ -135,5 +151,21 @@ export type UnionLooseOmit<type, keys extends string> = type extends any ? Loose
|
|
135
151
|
* => { b: number } | { b: undefined, c: number }
|
136
152
|
*/
|
137
153
|
export type UnionOmit<type, keys extends keyof type> = type extends any ? Omit<type, keys> : never;
|
154
|
+
/**
|
155
|
+
* @description Creates a type that is a partial of T, but with the required keys K.
|
156
|
+
*
|
157
|
+
* @example
|
158
|
+
* PartialBy<{ a: string, b: number } | { a: string, b: undefined, c: number }, 'a'>
|
159
|
+
* => { a?: string, b: number } | { a?: string, b: undefined, c: number }
|
160
|
+
*/
|
161
|
+
export type UnionPartialBy<T, K extends keyof T> = T extends any ? PartialBy<T, K> : never;
|
162
|
+
/**
|
163
|
+
* @description Creates a type that is T with the required keys K.
|
164
|
+
*
|
165
|
+
* @example
|
166
|
+
* RequiredBy<{ a?: string, b: number } | { a?: string, c?: number }, 'a'>
|
167
|
+
* => { a: string, b: number } | { a: string, c?: number }
|
168
|
+
*/
|
169
|
+
export type UnionRequiredBy<T, K extends keyof T> = T extends any ? RequiredBy<T, K> : never;
|
138
170
|
export {};
|
139
171
|
//# sourceMappingURL=utils.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../types/utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,MAAM,MAAM,CAChB,CAAC,SAAS,SAAS,OAAO,EAAE,EAC5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,GAAG,EAAE,YAAY,CAAC,GAC5D,8BAA8B,CAqBhC"}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import type { Abi } from 'abitype';
|
2
|
+
import type { ErrorType } from '../../errors/utils.js';
|
3
|
+
import { type RpcLog } from '../../index.js';
|
4
|
+
import type { ContractEventName } from '../../types/contract.js';
|
5
|
+
import type { Log } from '../../types/log.js';
|
6
|
+
import { type DecodeEventLogErrorType } from './decodeEventLog.js';
|
7
|
+
export type ParseEventLogsParameters<abi extends Abi | readonly unknown[] = Abi, eventName extends ContractEventName<abi> | ContractEventName<abi>[] | undefined = ContractEventName<abi>, strict extends boolean | undefined = boolean | undefined> = {
|
8
|
+
/** Contract ABI. */
|
9
|
+
abi: abi;
|
10
|
+
/** Contract event. */
|
11
|
+
eventName?: eventName | ContractEventName<abi> | ContractEventName<abi>[] | undefined;
|
12
|
+
/** List of logs. */
|
13
|
+
logs: (Log | RpcLog)[];
|
14
|
+
strict?: strict | boolean | undefined;
|
15
|
+
};
|
16
|
+
export type ParseEventLogsReturnType<abi extends Abi | readonly unknown[] = Abi, eventName extends ContractEventName<abi> | ContractEventName<abi>[] | undefined = ContractEventName<abi>, strict extends boolean | undefined = boolean | undefined, derivedEventName extends ContractEventName<abi> | undefined = eventName extends ContractEventName<abi>[] ? eventName[number] : eventName> = Log<bigint, number, false, undefined, strict, abi, derivedEventName>[];
|
17
|
+
export type ParseEventLogsErrorType = DecodeEventLogErrorType | ErrorType;
|
18
|
+
/**
|
19
|
+
* Extracts & decodes logs matching the provided signature(s) (`abi` + optional `eventName`)
|
20
|
+
* from a set of opaque logs.
|
21
|
+
*
|
22
|
+
* @param parameters - {@link ParseEventLogsParameters}
|
23
|
+
* @returns The logs. {@link ParseEventLogsReturnType}
|
24
|
+
*
|
25
|
+
* @example
|
26
|
+
* import { createClient, http } from 'viem'
|
27
|
+
* import { mainnet } from 'viem/chains'
|
28
|
+
* import { parseEventLogs } from 'viem/op-stack'
|
29
|
+
*
|
30
|
+
* const client = createClient({
|
31
|
+
* chain: mainnet,
|
32
|
+
* transport: http(),
|
33
|
+
* })
|
34
|
+
*
|
35
|
+
* const receipt = await getTransactionReceipt(client, {
|
36
|
+
* hash: '0xec23b2ba4bc59ba61554507c1b1bc91649e6586eb2dd00c728e8ed0db8bb37ea',
|
37
|
+
* })
|
38
|
+
*
|
39
|
+
* const logs = parseEventLogs({ logs: receipt.logs })
|
40
|
+
* // [{ args: { ... }, eventName: 'TransactionDeposited', ... }, ...]
|
41
|
+
*/
|
42
|
+
export declare function parseEventLogs<abi extends Abi | readonly unknown[], strict extends boolean | undefined = true, eventName extends ContractEventName<abi> | ContractEventName<abi>[] | undefined = undefined>({ abi, eventName, logs, strict, }: ParseEventLogsParameters<abi, eventName, strict>): ParseEventLogsReturnType<abi, eventName, strict>;
|
43
|
+
//# sourceMappingURL=parseEventLogs.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"parseEventLogs.d.ts","sourceRoot":"","sources":["../../../utils/abi/parseEventLogs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,SAAS,CAAA;AAClC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,EAIL,KAAK,MAAM,EACZ,MAAM,gBAAgB,CAAA;AACvB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAChE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAA;AAC7C,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,qBAAqB,CAAA;AAE5B,MAAM,MAAM,wBAAwB,CAClC,GAAG,SAAS,GAAG,GAAG,SAAS,OAAO,EAAE,GAAG,GAAG,EAC1C,SAAS,SACL,iBAAiB,CAAC,GAAG,CAAC,GACtB,iBAAiB,CAAC,GAAG,CAAC,EAAE,GACxB,SAAS,GAAG,iBAAiB,CAAC,GAAG,CAAC,EACtC,MAAM,SAAS,OAA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,EACA,GAAG,EACH,SAAS,EACT,IAAI,EACJ,MAAa,GACd,EAAE,wBAAwB,CAAC,GAAG,EAAE,SAAS,EAAE,MAAM,CAAC,GAAG,wBAAwB,CAC5E,GAAG,EACH,SAAS,EACT,MAAM,CACP,CAmCA"}
|
@@ -1,14 +1,11 @@
|
|
1
1
|
import { type HttpRequestErrorType, type RpcRequestErrorType, type TimeoutErrorType, type WebSocketRequestErrorType } from '../errors/request.js';
|
2
2
|
import { type ChainDisconnectedErrorType, type InternalRpcErrorType, type InvalidInputRpcErrorType, type InvalidParamsRpcErrorType, type InvalidRequestRpcErrorType, type JsonRpcVersionUnsupportedErrorType, type LimitExceededRpcErrorType, type MethodNotFoundRpcErrorType, type MethodNotSupportedRpcErrorType, type ParseRpcErrorType, type ProviderDisconnectedErrorType, type ResourceNotFoundRpcErrorType, type ResourceUnavailableRpcErrorType, type RpcErrorType, type SwitchChainErrorType, type TransactionRejectedRpcErrorType, type UnauthorizedProviderErrorType, type UnknownRpcErrorType, type UnsupportedProviderMethodErrorType, type UserRejectedRequestErrorType } from '../errors/rpc.js';
|
3
3
|
import type { ErrorType } from '../errors/utils.js';
|
4
|
+
import type { EIP1193RequestFn, EIP1193RequestOptions } from '../types/eip1193.js';
|
4
5
|
import type { CreateBatchSchedulerErrorType } from './promise/createBatchScheduler.js';
|
5
6
|
import { type WithRetryErrorType } from './promise/withRetry.js';
|
6
7
|
import type { GetSocketErrorType } from './rpc.js';
|
7
|
-
export type IsDeterministicErrorType = ErrorType;
|
8
|
-
export declare const isDeterministicError: (error: Error) => boolean;
|
9
8
|
export type RequestErrorType = ChainDisconnectedErrorType | CreateBatchSchedulerErrorType | HttpRequestErrorType | InternalRpcErrorType | InvalidInputRpcErrorType | InvalidParamsRpcErrorType | InvalidRequestRpcErrorType | GetSocketErrorType | JsonRpcVersionUnsupportedErrorType | LimitExceededRpcErrorType | MethodNotFoundRpcErrorType | MethodNotSupportedRpcErrorType | ParseRpcErrorType | ProviderDisconnectedErrorType | ResourceNotFoundRpcErrorType | ResourceUnavailableRpcErrorType | RpcErrorType | RpcRequestErrorType | SwitchChainErrorType | TimeoutErrorType | TransactionRejectedRpcErrorType | UnauthorizedProviderErrorType | UnknownRpcErrorType | UnsupportedProviderMethodErrorType | UserRejectedRequestErrorType | WebSocketRequestErrorType | WithRetryErrorType | ErrorType;
|
10
|
-
export declare function buildRequest<
|
11
|
-
|
12
|
-
retryCount?: number;
|
13
|
-
}): TRequest;
|
9
|
+
export declare function buildRequest<request extends (args: any) => Promise<any>>(request: request, options?: EIP1193RequestOptions): EIP1193RequestFn;
|
10
|
+
export declare function shouldRetry(error: Error): boolean;
|
14
11
|
//# sourceMappingURL=buildRequest.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"buildRequest.d.ts","sourceRoot":"","sources":["../../utils/buildRequest.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC/B,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAEL,KAAK,0BAA0B,EAE/B,KAAK,oBAAoB,EAEzB,KAAK,wBAAwB,EAE7B,KAAK,yBAAyB,EAE9B,KAAK,0BAA0B,EAE/B,KAAK,kCAAkC,EAEvC,KAAK,yBAAyB,EAE9B,KAAK,0BAA0B,EAE/B,KAAK,8BAA8B,EAEnC,KAAK,iBAAiB,EAEtB,KAAK,6BAA6B,EAGlC,KAAK,4BAA4B,EAEjC,KAAK,+BAA+B,EAGpC,KAAK,YAAY,EAEjB,KAAK,oBAAoB,EAEzB,KAAK,+BAA+B,EAEpC,KAAK,6BAA6B,EAElC,KAAK,mBAAmB,EAExB,KAAK,kCAAkC,EAEvC,KAAK,4BAA4B,EAClC,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,m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","sources":["../../../utils/encoding/fromHex.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,0BAA0B,EAE/B,KAAK,qBAAqB,EAC3B,MAAM,0BAA0B,CAAA;AACjC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AACzD,OAAO,EAAE,KAAK,aAAa,EAAiB,MAAM,iBAAiB,CAAA;AACnE,OAAO,EAAE,KAAK,aAAa,EAAQ,MAAM,iBAAiB,CAAA;AAE1D,OAAO,EAAE,KAAK,mBAAmB,EAAc,MAAM,cAAc,CAAA;AAEnE,MAAM,MAAM,mBAAmB,GAC3B,qBAAqB,GACrB,aAAa,GACb,SAAS,CAAA;AAEb,wBAAgB,UAAU,CACxB,UAAU,EAAE,GAAG,GAAG,SAAS,EAC3B,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GACzB,IAAI,CAMN;AAED,MAAM,MAAM,iBAAiB,CAC3B,GAAG,SAAS,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,IAE9D,GAAG,GACH;IACE,wCAAwC;IACxC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,0BAA0B;IAC1B,EAAE,EAAE,GAAG,CAAA;CACR,CAAA;AAEL,MAAM,MAAM,iBAAiB,CAAC,GAAG,IAAI,GAAG,SAAS,QAAQ,GACrD,MAAM,GACN,GAAG,SAAS,QAAQ,
|
1
|
+
{"version":3,"file":"fromHex.d.ts","sourceRoot":"","sources":["../../../utils/encoding/fromHex.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,0BAA0B,EAE/B,KAAK,qBAAqB,EAC3B,MAAM,0BAA0B,CAAA;AACjC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAA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AED,MAAM,MAAM,6BAA6B,GACrC,+BAA+B,GAC/B,uBAAuB,GACvB,qBAAqB,GACrB,SAAS,CAAA;AAEb,wBAAsB,oBAAoB,CAAC,EACzC,WAAW,EACX,GAAG,GACJ,EAAE;IACD,WAAW,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAA;IAC1C,GAAG,EAAE,MAAM,CAAA;CACZ,GAAG,OAAO,CAAC,MAAM,CAAC,CAWlB;AAED,MAAM,MAAM,uBAAuB,GAC/B,yBAAyB,GACzB,mBAAmB,GACnB,+BAA+B,GAC/B,SAAS,CAAA;AAEb,wBAAsB,cAAc,CAAC,EACnC,WAAW,EACX,GAAG,GACJ,EAAE;IACD,WAAW,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAA;IAC1C,GAAG,EAAE,MAAM,CAAA;CACZ,GAAG,OAAO,CAAC,MAAM,CAAC,CASlB;AAED,KAAK,SAAS,GAAG;IACf,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,eAAe,EAAE,OAAO,CAAA;IACxB,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,+BAA+B,GAAG,SAAS,CAAA;AAE9E,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,CAgCnD;AAED,MAAM,MAAM,uBAAuB,GAC/B,qBAAqB,GACrB,sCAAsC,GACtC,SAAS,CAAA;AAEb,wBAAsB,cAAc,CAAC,MAAM,SAAS,KAAK,GAAG,SAAS,EACnE,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,EACjC,EAAE,GAAG,EAAE,EAAE;IAAE,GAAG,EAAE,SAAS,CAAA;CAAE,mBAmC5B"}
|
@@ -11,7 +11,7 @@ export type NamehashErrorType = BytesToHexErrorType | EncodedLabelToLabelhashErr
|
|
11
11
|
* - Since ENS names prohibit certain forbidden characters (e.g. underscore) and have other validation rules, you likely want to [normalize ENS names](https://docs.ens.domains/contract-api-reference/name-processing#normalising-names) with [UTS-46 normalization](https://unicode.org/reports/tr46) before passing them to `namehash`. You can use the built-in [`normalize`](https://viem.sh/docs/ens/utilities/normalize.html) function for this.
|
12
12
|
*
|
13
13
|
* @example
|
14
|
-
* namehash('
|
14
|
+
* namehash('wevm.eth')
|
15
15
|
* '0xf246651c1b9a6b141d19c2604e9a58f567973833990f830d882534a747801359'
|
16
16
|
*
|
17
17
|
* @link https://eips.ethereum.org/EIPS/eip-137
|
@@ -4,8 +4,8 @@ export type NormalizeErrorType = ErrorType;
|
|
4
4
|
* @description Normalizes ENS name according to ENSIP-15.
|
5
5
|
*
|
6
6
|
* @example
|
7
|
-
* normalize('
|
8
|
-
* '
|
7
|
+
* normalize('wevm.eth')
|
8
|
+
* 'wevm.eth'
|
9
9
|
*
|
10
10
|
* @see https://docs.ens.domains/contract-api-reference/name-processing#normalising-names
|
11
11
|
* @see https://github.com/ensdomains/docs/blob/9edf9443de4333a0ea7ec658a870672d5d180d53/ens-improvement-proposals/ensip-15-normalization-standard.md
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getNodeError.d.ts","sourceRoot":"","sources":["../../../utils/errors/getNodeError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAA;AACxF,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAChD,OAAO,EAEL,KAAK,0BAA0B,EAE/B,KAAK,sBAAsB,EAE3B,KAAK,qBAAqB,EAE1B,KAAK,0BAA0B,EAE/B,KAAK,4BAA4B,EAEjC,KAAK,2BAA2B,EAEhC,KAAK,sBAAsB,EAE3B,KAAK,qBAAqB,EAE1B,KAAK,oBAAoB,EAEzB,KAAK,uBAAuB,EAE5B,KAAK,oCAAoC,EAEzC,KAAK,oBAAoB,EAC1B,MAAM,sBAAsB,CAAA;AAO7B,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,SAAS,WAM/C;AAED,MAA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,YAAY,CAC1B,GAAG,EAAE,SAAS,EACd,IAAI,EAAE,sBAAsB,GAC3B,sBAAsB,CAqDxB"}
|
@@ -8,12 +8,8 @@ import type { Prettify } from '../../types/utils.js';
|
|
8
8
|
import { type DefineFormatterErrorType } from './formatter.js';
|
9
9
|
import { type FormattedTransaction } from './transaction.js';
|
10
10
|
type BlockPendingDependencies = 'hash' | 'logsBloom' | 'nonce' | 'number';
|
11
|
-
export type FormattedBlock<TChain extends {
|
12
|
-
|
13
|
-
} | undefined = {
|
14
|
-
formatters?: Chain['formatters'];
|
15
|
-
} | undefined, TIncludeTransactions extends boolean = boolean, TBlockTag extends BlockTag = BlockTag, _FormatterReturnType = ExtractChainFormatterReturnType<TChain, 'block', Block<bigint, TIncludeTransactions>>, _ExcludedPendingDependencies extends string = BlockPendingDependencies & ExtractChainFormatterExclude<TChain, 'block'>, _Formatted = Omit<_FormatterReturnType, BlockPendingDependencies> & {
|
16
|
-
[K in _ExcludedPendingDependencies]: never;
|
11
|
+
export type FormattedBlock<TChain extends Chain | undefined = undefined, TIncludeTransactions extends boolean = boolean, TBlockTag extends BlockTag = BlockTag, _FormatterReturnType = ExtractChainFormatterReturnType<TChain, 'block', Block<bigint, TIncludeTransactions>>, _ExcludedPendingDependencies extends string = BlockPendingDependencies & ExtractChainFormatterExclude<TChain, 'block'>, _Formatted = Omit<_FormatterReturnType, BlockPendingDependencies> & {
|
12
|
+
[_key in _ExcludedPendingDependencies]: never;
|
17
13
|
} & Pick<Block<bigint, TIncludeTransactions, TBlockTag>, BlockPendingDependencies>, _Transactions = TIncludeTransactions extends true ? Prettify<FormattedTransaction<TChain, TBlockTag>>[] : Hash[]> = Omit<_Formatted, 'transactions'> & {
|
18
14
|
transactions: _Transactions;
|
19
15
|
};
|
@@ -25,7 +21,7 @@ export declare const defineBlock: <TOverrideParameters, TOverrideReturnType, TEx
|
|
25
21
|
format: (_: TOverrideParameters) => TOverrideReturnType;
|
26
22
|
}) => {
|
27
23
|
exclude: TExclude | undefined;
|
28
|
-
format: (args: import("../../types/utils.js").Assign<Partial<RpcBlock>, TOverrideParameters>) => (import("../../types/utils.js").Assign<Block, TOverrideReturnType> extends infer T ? { [K in keyof T]: import("../../types/utils.js").Assign<Block, TOverrideReturnType>[K]; } : never) & { [
|
24
|
+
format: (args: import("../../types/utils.js").Assign<Partial<RpcBlock>, TOverrideParameters>) => (import("../../types/utils.js").Assign<Block, TOverrideReturnType> extends infer T ? { [K in keyof T]: import("../../types/utils.js").Assign<Block, TOverrideReturnType>[K]; } : never) & { [_key in TExclude[number]]: never; };
|
29
25
|
type: "block";
|
30
26
|
};
|
31
27
|
export {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"block.d.ts","sourceRoot":"","sources":["../../../utils/formatters/block.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAC3D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EACV,4BAA4B,EAC5B,+BAA+B,EAChC,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAC/C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAEpD,OAAO,EAAE,KAAK,wBAAwB,EAAmB,MAAM,gBAAgB,CAAA;AAC/E,OAAO,EAAE,KAAK,oBAAoB,EAAqB,MAAM,kBAAkB,CAAA;AAE/E,KAAK,wBAAwB,GAAG,MAAM,GAAG,WAAW,GAAG,OAAO,GAAG,QAAQ,CAAA;AAEzE,MAAM,MAAM,cAAc,CACxB,MAAM,SAAS
|
1
|
+
{"version":3,"file":"block.d.ts","sourceRoot":"","sources":["../../../utils/formatters/block.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C,QAAQ,CAAC,oBAAoB,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,EAAE,GACnD,IAAI,EAAE,IACR,IAAI,CAAC,UAAU,EAAE,cAAc,CAAC,GAAG;IACrC,YAAY,EAAE,aAAa,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAA;AAE5C,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,QAAQ,CAAC,SAsBnD;AAED,MAAM,MAAM,oBAAoB,GAAG,wBAAwB,GAAG,SAAS,CAAA;AAEvE,eAAO,MAAM,WAAW;;;;;;;CAAsD,CAAA"}
|
@@ -6,7 +6,7 @@ export declare function defineFormatter<TType extends string, TParameters, TRetu
|
|
6
6
|
format: (_: TOverrideParameters) => TOverrideReturnType;
|
7
7
|
}) => {
|
8
8
|
exclude: TExclude | undefined;
|
9
|
-
format: (args: Assign<TParameters, TOverrideParameters>) => (Assign<TReturnType, TOverrideReturnType> extends infer T ? { [K in keyof T]: Assign<TReturnType, TOverrideReturnType>[K]; } : never) & { [
|
9
|
+
format: (args: Assign<TParameters, TOverrideParameters>) => (Assign<TReturnType, TOverrideReturnType> extends infer T ? { [K in keyof T]: Assign<TReturnType, TOverrideReturnType>[K]; } : never) & { [_key in TExclude[number]]: never; };
|
10
10
|
type: TType;
|
11
11
|
};
|
12
12
|
//# sourceMappingURL=formatter.d.ts.map
|
@@ -7,12 +7,8 @@ import type { Transaction } from '../../types/transaction.js';
|
|
7
7
|
import type { UnionLooseOmit } from '../../types/utils.js';
|
8
8
|
import { type DefineFormatterErrorType } from './formatter.js';
|
9
9
|
type TransactionPendingDependencies = 'blockHash' | 'blockNumber' | 'transactionIndex';
|
10
|
-
export type FormattedTransaction<TChain extends {
|
11
|
-
|
12
|
-
} | undefined = {
|
13
|
-
formatters?: Chain['formatters'];
|
14
|
-
} | undefined, TBlockTag extends BlockTag = BlockTag, _FormatterReturnType = ExtractChainFormatterReturnType<TChain, 'transaction', Transaction>, _ExcludedPendingDependencies extends string = TransactionPendingDependencies & ExtractChainFormatterExclude<TChain, 'transaction'>> = UnionLooseOmit<_FormatterReturnType, TransactionPendingDependencies> & {
|
15
|
-
[K in _ExcludedPendingDependencies]: never;
|
10
|
+
export type FormattedTransaction<TChain extends Chain | undefined = undefined, TBlockTag extends BlockTag = BlockTag, _FormatterReturnType = ExtractChainFormatterReturnType<TChain, 'transaction', Transaction>, _ExcludedPendingDependencies extends string = TransactionPendingDependencies & ExtractChainFormatterExclude<TChain, 'transaction'>> = UnionLooseOmit<_FormatterReturnType, TransactionPendingDependencies> & {
|
11
|
+
[_K in _ExcludedPendingDependencies]: never;
|
16
12
|
} & Pick<Transaction<bigint, number, TBlockTag extends 'pending' ? true : false>, TransactionPendingDependencies>;
|
17
13
|
export declare const transactionType: {
|
18
14
|
readonly '0x0': "legacy";
|
@@ -22,12 +18,12 @@ export declare const transactionType: {
|
|
22
18
|
export type FormatTransactionErrorType = ErrorType;
|
23
19
|
export declare function formatTransaction(transaction: Partial<RpcTransaction>): Transaction;
|
24
20
|
export type DefineTransactionErrorType = DefineFormatterErrorType | ErrorType;
|
25
|
-
export declare const defineTransaction: <TOverrideParameters, TOverrideReturnType, TExclude extends ("
|
21
|
+
export declare const defineTransaction: <TOverrideParameters, TOverrideReturnType, TExclude extends ("gas" | "nonce" | "type" | "maxFeePerGas" | "maxPriorityFeePerGas" | "gasPrice" | "from" | "to" | "value" | "r" | "s" | "v" | "yParity" | "blockHash" | "blockNumber" | "hash" | "input" | "transactionIndex" | "accessList" | "chainId" | keyof TOverrideParameters)[] = []>({ exclude, format: overrides, }: {
|
26
22
|
exclude?: TExclude | undefined;
|
27
23
|
format: (_: TOverrideParameters) => TOverrideReturnType;
|
28
24
|
}) => {
|
29
25
|
exclude: TExclude | undefined;
|
30
|
-
format: (args: import("../../types/utils.js").Assign<Partial<RpcTransaction>, TOverrideParameters>) => (((import("../../types/transaction.js").TransactionLegacy<bigint, number, boolean, "legacy"> extends infer T_2 ? { [K_1 in keyof T_2 as K_1 extends keyof TOverrideReturnType ? TOverrideReturnType[K_1] extends void ? never : K_1 : K_1]: K_1 extends keyof TOverrideReturnType ? TOverrideReturnType[K_1] : import("../../types/transaction.js").TransactionLegacy<bigint, number, boolean, "legacy">[K_1]; } : never) & TOverrideReturnType extends infer T ? { [K in keyof T]: ((import("../../types/transaction.js").TransactionLegacy<bigint, number, boolean, "legacy"> extends infer T_1 ? { [K_1 in keyof T_1 as K_1 extends keyof TOverrideReturnType ? TOverrideReturnType[K_1] extends void ? never : K_1 : K_1]: K_1 extends keyof TOverrideReturnType ? TOverrideReturnType[K_1] : import("../../types/transaction.js").TransactionLegacy<bigint, number, boolean, "legacy">[K_1]; } : never) & TOverrideReturnType)[K]; } : never) | ((import("../../types/transaction.js").TransactionEIP2930<bigint, number, boolean, "eip2930"> extends infer T_5 ? { [K_3 in keyof T_5 as K_3 extends keyof TOverrideReturnType ? TOverrideReturnType[K_3] extends void ? never : K_3 : K_3]: K_3 extends keyof TOverrideReturnType ? TOverrideReturnType[K_3] : import("../../types/transaction.js").TransactionEIP2930<bigint, number, boolean, "eip2930">[K_3]; } : never) & TOverrideReturnType extends infer T_3 ? { [K_2 in keyof T_3]: ((import("../../types/transaction.js").TransactionEIP2930<bigint, number, boolean, "eip2930"> extends infer T_4 ? { [K_3 in keyof T_4 as K_3 extends keyof TOverrideReturnType ? TOverrideReturnType[K_3] extends void ? never : K_3 : K_3]: K_3 extends keyof TOverrideReturnType ? TOverrideReturnType[K_3] : import("../../types/transaction.js").TransactionEIP2930<bigint, number, boolean, "eip2930">[K_3]; } : never) & TOverrideReturnType)[K_2]; } : never) | ((import("../../types/transaction.js").TransactionEIP1559<bigint, number, boolean, "eip1559"> extends infer T_8 ? { [K_5 in keyof T_8 as K_5 extends keyof TOverrideReturnType ? TOverrideReturnType[K_5] extends void ? never : K_5 : K_5]: K_5 extends keyof TOverrideReturnType ? TOverrideReturnType[K_5] : import("../../types/transaction.js").TransactionEIP1559<bigint, number, boolean, "eip1559">[K_5]; } : never) & TOverrideReturnType extends infer T_6 ? { [K_4 in keyof T_6]: ((import("../../types/transaction.js").TransactionEIP1559<bigint, number, boolean, "eip1559"> extends infer T_7 ? { [K_5 in keyof T_7 as K_5 extends keyof TOverrideReturnType ? TOverrideReturnType[K_5] extends void ? never : K_5 : K_5]: K_5 extends keyof TOverrideReturnType ? TOverrideReturnType[K_5] : import("../../types/transaction.js").TransactionEIP1559<bigint, number, boolean, "eip1559">[K_5]; } : never) & TOverrideReturnType)[K_4]; } : never)) & { [
|
26
|
+
format: (args: import("../../types/utils.js").Assign<Partial<RpcTransaction>, TOverrideParameters>) => (((import("../../types/transaction.js").TransactionLegacy<bigint, number, boolean, "legacy"> extends infer T_2 ? { [K_1 in keyof T_2 as K_1 extends keyof TOverrideReturnType ? TOverrideReturnType[K_1] extends void ? never : K_1 : K_1]: K_1 extends keyof TOverrideReturnType ? TOverrideReturnType[K_1] : import("../../types/transaction.js").TransactionLegacy<bigint, number, boolean, "legacy">[K_1]; } : never) & TOverrideReturnType extends infer T ? { [K in keyof T]: ((import("../../types/transaction.js").TransactionLegacy<bigint, number, boolean, "legacy"> extends infer T_1 ? { [K_1 in keyof T_1 as K_1 extends keyof TOverrideReturnType ? TOverrideReturnType[K_1] extends void ? never : K_1 : K_1]: K_1 extends keyof TOverrideReturnType ? TOverrideReturnType[K_1] : import("../../types/transaction.js").TransactionLegacy<bigint, number, boolean, "legacy">[K_1]; } : never) & TOverrideReturnType)[K]; } : never) | ((import("../../types/transaction.js").TransactionEIP2930<bigint, number, boolean, "eip2930"> extends infer T_5 ? { [K_3 in keyof T_5 as K_3 extends keyof TOverrideReturnType ? TOverrideReturnType[K_3] extends void ? never : K_3 : K_3]: K_3 extends keyof TOverrideReturnType ? TOverrideReturnType[K_3] : import("../../types/transaction.js").TransactionEIP2930<bigint, number, boolean, "eip2930">[K_3]; } : never) & TOverrideReturnType extends infer T_3 ? { [K_2 in keyof T_3]: ((import("../../types/transaction.js").TransactionEIP2930<bigint, number, boolean, "eip2930"> extends infer T_4 ? { [K_3 in keyof T_4 as K_3 extends keyof TOverrideReturnType ? TOverrideReturnType[K_3] extends void ? never : K_3 : K_3]: K_3 extends keyof TOverrideReturnType ? TOverrideReturnType[K_3] : import("../../types/transaction.js").TransactionEIP2930<bigint, number, boolean, "eip2930">[K_3]; } : never) & TOverrideReturnType)[K_2]; } : never) | ((import("../../types/transaction.js").TransactionEIP1559<bigint, number, boolean, "eip1559"> extends infer T_8 ? { [K_5 in keyof T_8 as K_5 extends keyof TOverrideReturnType ? TOverrideReturnType[K_5] extends void ? never : K_5 : K_5]: K_5 extends keyof TOverrideReturnType ? TOverrideReturnType[K_5] : import("../../types/transaction.js").TransactionEIP1559<bigint, number, boolean, "eip1559">[K_5]; } : never) & TOverrideReturnType extends infer T_6 ? { [K_4 in keyof T_6]: ((import("../../types/transaction.js").TransactionEIP1559<bigint, number, boolean, "eip1559"> extends infer T_7 ? { [K_5 in keyof T_7 as K_5 extends keyof TOverrideReturnType ? TOverrideReturnType[K_5] extends void ? never : K_5 : K_5]: K_5 extends keyof TOverrideReturnType ? TOverrideReturnType[K_5] : import("../../types/transaction.js").TransactionEIP1559<bigint, number, boolean, "eip1559">[K_5]; } : never) & TOverrideReturnType)[K_4]; } : never)) & { [_key in TExclude[number]]: never; };
|
31
27
|
type: "transaction";
|
32
28
|
};
|
33
29
|
export {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../../utils/formatters/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EACV,4BAA4B,EAC5B,+BAA+B,EAChC,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAA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AAc,CAAC,oBAAoB,EAAE,8BAA8B,CAAC,GAAG;KACxE,EAAE,IAAI,4BAA4B,GAAG,KAAK;CAC5C,GAAG,IAAI,CACJ,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,SAAS,SAAS,GAAG,IAAI,GAAG,KAAK,CAAC,EACvE,8BAA8B,CAC/B,CAAA;AAEH,eAAO,MAAM,eAAe;;;;CAIlB,CAAA;AAEV,MAAM,MAAM,0BAA0B,GAAG,SAAS,CAAA;AAElD,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,OAAO,CAAC,cAAc,CAAC,eAsDrE;AAED,MAAM,MAAM,0BAA0B,GAAG,wBAAwB,GAAG,SAAS,CAAA;AAE7E,eAAO,MAAM,iBAAiB;;;;;;;CAG7B,CAAA"}
|
@@ -3,7 +3,7 @@ import type { Chain, ExtractChainFormatterReturnType } from '../../types/chain.j
|
|
3
3
|
import type { RpcTransactionReceipt } from '../../types/rpc.js';
|
4
4
|
import type { TransactionReceipt } from '../../types/transaction.js';
|
5
5
|
import { type DefineFormatterErrorType } from './formatter.js';
|
6
|
-
export type FormattedTransactionReceipt<TChain extends Chain | undefined =
|
6
|
+
export type FormattedTransactionReceipt<TChain extends Chain | undefined = undefined> = ExtractChainFormatterReturnType<TChain, 'transactionReceipt', TransactionReceipt>;
|
7
7
|
export type FormatTransactionReceiptErrorType = ErrorType;
|
8
8
|
export declare function formatTransactionReceipt(transactionReceipt: Partial<RpcTransactionReceipt>): TransactionReceipt;
|
9
9
|
export type DefineTransactionReceiptErrorType = DefineFormatterErrorType | ErrorType;
|
@@ -12,7 +12,7 @@ export declare const defineTransactionReceipt: <TOverrideParameters, TOverrideRe
|
|
12
12
|
format: (_: TOverrideParameters) => TOverrideReturnType;
|
13
13
|
}) => {
|
14
14
|
exclude: TExclude | undefined;
|
15
|
-
format: (args: import("../../types/utils.js").Assign<Partial<RpcTransactionReceipt>, TOverrideParameters>) => (import("../../types/utils.js").Assign<TransactionReceipt, TOverrideReturnType> extends infer T ? { [K in keyof T]: import("../../types/utils.js").Assign<TransactionReceipt, TOverrideReturnType>[K]; } : never) & { [
|
15
|
+
format: (args: import("../../types/utils.js").Assign<Partial<RpcTransactionReceipt>, TOverrideParameters>) => (import("../../types/utils.js").Assign<TransactionReceipt, TOverrideReturnType> extends infer T ? { [K in keyof T]: import("../../types/utils.js").Assign<TransactionReceipt, TOverrideReturnType>[K]; } : never) & { [_key in TExclude[number]]: never; };
|
16
16
|
type: "transactionReceipt";
|
17
17
|
};
|
18
18
|
//# sourceMappingURL=transactionReceipt.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"transactionReceipt.d.ts","sourceRoot":"","sources":["../../../utils/formatters/transactionReceipt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EACV,KAAK,EACL,+BAA+B,EAChC,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAC/D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AAGpE,OAAO,EAAE,KAAK,wBAAwB,EAAmB,MAAM,gBAAgB,CAAA;AAI/E,MAAM,MAAM,2BAA2B,CACrC,MAAM,SAAS,KAAK,GAAG,SAAS,GAAG,
|
1
|
+
{"version":3,"file":"transactionReceipt.d.ts","sourceRoot":"","sources":["../../../utils/formatters/transactionReceipt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EACV,KAAK,EACL,+BAA+B,EAChC,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAC/D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AAGpE,OAAO,EAAE,KAAK,wBAAwB,EAAmB,MAAM,gBAAgB,CAAA;AAI/E,MAAM,MAAM,2BAA2B,CACrC,MAAM,SAAS,KAAK,GAAG,SAAS,GAAG,SAAS,IAC1C,+BAA+B,CACjC,MAAM,EACN,oBAAoB,EACpB,kBAAkB,CACnB,CAAA;AAOD,MAAM,MAAM,iCAAiC,GAAG,SAAS,CAAA;AAEzD,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,OAAO,CAAC,qBAAqB,CAAC,sBAmCnD;AAED,MAAM,MAAM,iCAAiC,GACzC,wBAAwB,GACxB,SAAS,CAAA;AAEb,eAAO,MAAM,wBAAwB;;;;;;;CAGpC,CAAA"}
|
@@ -12,12 +12,12 @@ export declare const rpcTransactionType: {
|
|
12
12
|
export type FormatTransactionRequestErrorType = ErrorType;
|
13
13
|
export declare function formatTransactionRequest(transactionRequest: Partial<TransactionRequest>): RpcTransactionRequest;
|
14
14
|
export type DefineTransactionRequestErrorType = DefineFormatterErrorType | ErrorType;
|
15
|
-
export declare const defineTransactionRequest: <TOverrideParameters, TOverrideReturnType, TExclude extends ("
|
15
|
+
export declare const defineTransactionRequest: <TOverrideParameters, TOverrideReturnType, TExclude extends ("gas" | "nonce" | "type" | "maxFeePerGas" | "maxPriorityFeePerGas" | "gasPrice" | "from" | "data" | "to" | "value" | "accessList" | keyof TOverrideParameters)[] = []>({ exclude, format: overrides, }: {
|
16
16
|
exclude?: TExclude | undefined;
|
17
17
|
format: (_: TOverrideParameters) => TOverrideReturnType;
|
18
18
|
}) => {
|
19
19
|
exclude: TExclude | undefined;
|
20
|
-
format: (args: import("../../types/utils.js").Assign<Partial<TransactionRequest>, TOverrideParameters>) => (((import("../../types/transaction.js").TransactionRequestLegacy<`0x${string}`, `0x${string}`, "0x0"> extends infer T_2 ? { [K_1 in keyof T_2 as K_1 extends keyof TOverrideReturnType ? TOverrideReturnType[K_1] extends void ? never : K_1 : K_1]: K_1 extends keyof TOverrideReturnType ? TOverrideReturnType[K_1] : import("../../types/transaction.js").TransactionRequestLegacy<`0x${string}`, `0x${string}`, "0x0">[K_1]; } : never) & TOverrideReturnType extends infer T ? { [K in keyof T]: ((import("../../types/transaction.js").TransactionRequestLegacy<`0x${string}`, `0x${string}`, "0x0"> extends infer T_1 ? { [K_1 in keyof T_1 as K_1 extends keyof TOverrideReturnType ? TOverrideReturnType[K_1] extends void ? never : K_1 : K_1]: K_1 extends keyof TOverrideReturnType ? TOverrideReturnType[K_1] : import("../../types/transaction.js").TransactionRequestLegacy<`0x${string}`, `0x${string}`, "0x0">[K_1]; } : never) & TOverrideReturnType)[K]; } : never) | ((import("../../types/transaction.js").TransactionRequestEIP2930<`0x${string}`, `0x${string}`, "0x1"> extends infer T_5 ? { [K_3 in keyof T_5 as K_3 extends keyof TOverrideReturnType ? TOverrideReturnType[K_3] extends void ? never : K_3 : K_3]: K_3 extends keyof TOverrideReturnType ? TOverrideReturnType[K_3] : import("../../types/transaction.js").TransactionRequestEIP2930<`0x${string}`, `0x${string}`, "0x1">[K_3]; } : never) & TOverrideReturnType extends infer T_3 ? { [K_2 in keyof T_3]: ((import("../../types/transaction.js").TransactionRequestEIP2930<`0x${string}`, `0x${string}`, "0x1"> extends infer T_4 ? { [K_3 in keyof T_4 as K_3 extends keyof TOverrideReturnType ? TOverrideReturnType[K_3] extends void ? never : K_3 : K_3]: K_3 extends keyof TOverrideReturnType ? TOverrideReturnType[K_3] : import("../../types/transaction.js").TransactionRequestEIP2930<`0x${string}`, `0x${string}`, "0x1">[K_3]; } : never) & TOverrideReturnType)[K_2]; } : never) | ((import("../../types/transaction.js").TransactionRequestEIP1559<`0x${string}`, `0x${string}`, "0x2"> extends infer T_8 ? { [K_5 in keyof T_8 as K_5 extends keyof TOverrideReturnType ? TOverrideReturnType[K_5] extends void ? never : K_5 : K_5]: K_5 extends keyof TOverrideReturnType ? TOverrideReturnType[K_5] : import("../../types/transaction.js").TransactionRequestEIP1559<`0x${string}`, `0x${string}`, "0x2">[K_5]; } : never) & TOverrideReturnType extends infer T_6 ? { [K_4 in keyof T_6]: ((import("../../types/transaction.js").TransactionRequestEIP1559<`0x${string}`, `0x${string}`, "0x2"> extends infer T_7 ? { [K_5 in keyof T_7 as K_5 extends keyof TOverrideReturnType ? TOverrideReturnType[K_5] extends void ? never : K_5 : K_5]: K_5 extends keyof TOverrideReturnType ? TOverrideReturnType[K_5] : import("../../types/transaction.js").TransactionRequestEIP1559<`0x${string}`, `0x${string}`, "0x2">[K_5]; } : never) & TOverrideReturnType)[K_4]; } : never)) & { [
|
20
|
+
format: (args: import("../../types/utils.js").Assign<Partial<TransactionRequest>, TOverrideParameters>) => (((import("../../types/transaction.js").TransactionRequestLegacy<`0x${string}`, `0x${string}`, "0x0"> extends infer T_2 ? { [K_1 in keyof T_2 as K_1 extends keyof TOverrideReturnType ? TOverrideReturnType[K_1] extends void ? never : K_1 : K_1]: K_1 extends keyof TOverrideReturnType ? TOverrideReturnType[K_1] : import("../../types/transaction.js").TransactionRequestLegacy<`0x${string}`, `0x${string}`, "0x0">[K_1]; } : never) & TOverrideReturnType extends infer T ? { [K in keyof T]: ((import("../../types/transaction.js").TransactionRequestLegacy<`0x${string}`, `0x${string}`, "0x0"> extends infer T_1 ? { [K_1 in keyof T_1 as K_1 extends keyof TOverrideReturnType ? TOverrideReturnType[K_1] extends void ? never : K_1 : K_1]: K_1 extends keyof TOverrideReturnType ? TOverrideReturnType[K_1] : import("../../types/transaction.js").TransactionRequestLegacy<`0x${string}`, `0x${string}`, "0x0">[K_1]; } : never) & TOverrideReturnType)[K]; } : never) | ((import("../../types/transaction.js").TransactionRequestEIP2930<`0x${string}`, `0x${string}`, "0x1"> extends infer T_5 ? { [K_3 in keyof T_5 as K_3 extends keyof TOverrideReturnType ? TOverrideReturnType[K_3] extends void ? never : K_3 : K_3]: K_3 extends keyof TOverrideReturnType ? TOverrideReturnType[K_3] : import("../../types/transaction.js").TransactionRequestEIP2930<`0x${string}`, `0x${string}`, "0x1">[K_3]; } : never) & TOverrideReturnType extends infer T_3 ? { [K_2 in keyof T_3]: ((import("../../types/transaction.js").TransactionRequestEIP2930<`0x${string}`, `0x${string}`, "0x1"> extends infer T_4 ? { [K_3 in keyof T_4 as K_3 extends keyof TOverrideReturnType ? TOverrideReturnType[K_3] extends void ? never : K_3 : K_3]: K_3 extends keyof TOverrideReturnType ? TOverrideReturnType[K_3] : import("../../types/transaction.js").TransactionRequestEIP2930<`0x${string}`, `0x${string}`, "0x1">[K_3]; } : never) & TOverrideReturnType)[K_2]; } : never) | ((import("../../types/transaction.js").TransactionRequestEIP1559<`0x${string}`, `0x${string}`, "0x2"> extends infer T_8 ? { [K_5 in keyof T_8 as K_5 extends keyof TOverrideReturnType ? TOverrideReturnType[K_5] extends void ? never : K_5 : K_5]: K_5 extends keyof TOverrideReturnType ? TOverrideReturnType[K_5] : import("../../types/transaction.js").TransactionRequestEIP1559<`0x${string}`, `0x${string}`, "0x2">[K_5]; } : never) & TOverrideReturnType extends infer T_6 ? { [K_4 in keyof T_6]: ((import("../../types/transaction.js").TransactionRequestEIP1559<`0x${string}`, `0x${string}`, "0x2"> extends infer T_7 ? { [K_5 in keyof T_7 as K_5 extends keyof TOverrideReturnType ? TOverrideReturnType[K_5] extends void ? never : K_5 : K_5]: K_5 extends keyof TOverrideReturnType ? TOverrideReturnType[K_5] : import("../../types/transaction.js").TransactionRequestEIP1559<`0x${string}`, `0x${string}`, "0x2">[K_5]; } : never) & TOverrideReturnType)[K_4]; } : never)) & { [_key in TExclude[number]]: never; };
|
21
21
|
type: "transactionRequest";
|
22
22
|
};
|
23
23
|
//# sourceMappingURL=transactionRequest.d.ts.map
|
@@ -1,3 +1,10 @@
|
|
1
1
|
import type { Client } from '../clients/createClient.js';
|
2
|
-
|
2
|
+
/**
|
3
|
+
* Retrieves and returns an action from the client (if exists), and falls
|
4
|
+
* back to the tree-shakable action.
|
5
|
+
*
|
6
|
+
* Useful for extracting overridden actions from a client (ie. if a consumer
|
7
|
+
* wants to override the `sendTransaction` implementation).
|
8
|
+
*/
|
9
|
+
export declare function getAction<params extends {}, returnType extends {}>(client: Client, action: (_: any, params: params) => returnType, name: string): (params: params) => returnType;
|
3
10
|
//# sourceMappingURL=getAction.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getAction.d.ts","sourceRoot":"","sources":["../../utils/getAction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAExD,wBAAgB,SAAS,CAAC,MAAM,SAAS,EAAE,EAAE,UAAU,SAAS,EAAE,EAChE,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,KAAK,UAAU,
|
1
|
+
{"version":3,"file":"getAction.d.ts","sourceRoot":"","sources":["../../utils/getAction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAExD;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,MAAM,SAAS,EAAE,EAAE,UAAU,SAAS,EAAE,EAChE,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,KAAK,UAAU,EAG9C,IAAI,EAAE,MAAM,uBAEa,UAAU,CAMpC"}
|
package/_types/utils/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export { type
|
1
|
+
export { type RequestErrorType, buildRequest, } from './buildRequest.js';
|
2
2
|
export { type CcipFetchErrorType, type OffchainLookupErrorType, ccipFetch, offchainLookup, offchainLookupAbiItem, offchainLookupSignature, } from './ccip.js';
|
3
3
|
export { type AssertCurrentChainErrorType, type AssertCurrentChainParameters, assertCurrentChain, } from './chain/assertCurrentChain.js';
|
4
4
|
export { defineChain } from './chain/defineChain.js';
|
@@ -19,6 +19,7 @@ export { type EncodeErrorResultErrorType, type EncodeErrorResultParameters, enco
|
|
19
19
|
export { type EncodeArgErrorType, type EncodeEventTopicsParameters, encodeEventTopics, } from './abi/encodeEventTopics.js';
|
20
20
|
export { type EncodeFunctionDataErrorType, type EncodeFunctionDataParameters, encodeFunctionData, } from './abi/encodeFunctionData.js';
|
21
21
|
export { type EncodeFunctionResultErrorType, type EncodeFunctionResultParameters, encodeFunctionResult, } from './abi/encodeFunctionResult.js';
|
22
|
+
export { type ParseEventLogsErrorType, type ParseEventLogsParameters, type ParseEventLogsReturnType, parseEventLogs, } from './abi/parseEventLogs.js';
|
22
23
|
export { type GetAbiItemErrorType, type GetAbiItemParameters, getAbiItem, } from './abi/getAbiItem.js';
|
23
24
|
export { type ParseAbi, type ParseAbiItem, type ParseAbiParameter, type ParseAbiParameters, parseAbi, parseAbiItem, parseAbiParameter, parseAbiParameters, } from 'abitype';
|
24
25
|
export { type EncodePackedErrorType, encodePacked } from './abi/encodePacked.js';
|