viem 2.0.0-alpha.12 → 2.0.0-alpha.13
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 +22 -0
- package/_cjs/_test/generated.js +313 -0
- package/_cjs/_test/generated.js.map +1 -0
- package/_cjs/abi/index.js.map +1 -1
- package/_cjs/accounts/generateMnemonic.js.map +1 -1
- package/_cjs/accounts/generatePrivateKey.js.map +1 -1
- package/_cjs/accounts/hdKeyToAccount.js.map +1 -1
- package/_cjs/accounts/index.js.map +1 -1
- package/_cjs/accounts/mnemonicToAccount.js.map +1 -1
- package/_cjs/accounts/privateKeyToAccount.js.map +1 -1
- package/_cjs/accounts/toAccount.js.map +1 -1
- package/_cjs/accounts/utils/parseAccount.js.map +1 -1
- package/_cjs/accounts/utils/privateKeyToAddress.js.map +1 -1
- package/_cjs/accounts/utils/publicKeyToAddress.js.map +1 -1
- package/_cjs/accounts/utils/sign.js.map +1 -1
- package/_cjs/accounts/utils/signMessage.js.map +1 -1
- package/_cjs/accounts/utils/signTransaction.js.map +1 -1
- package/_cjs/accounts/utils/signTypedData.js.map +1 -1
- package/_cjs/actions/ens/getEnsAddress.js.map +1 -1
- package/_cjs/actions/ens/getEnsAvatar.js.map +1 -1
- package/_cjs/actions/ens/getEnsName.js.map +1 -1
- package/_cjs/actions/ens/getEnsResolver.js.map +1 -1
- package/_cjs/actions/ens/getEnsText.js.map +1 -1
- package/_cjs/actions/getContract.js.map +1 -1
- package/_cjs/actions/index.js.map +1 -1
- package/_cjs/actions/public/call.js.map +1 -1
- package/_cjs/actions/public/createBlockFilter.js.map +1 -1
- package/_cjs/actions/public/createContractEventFilter.js.map +1 -1
- package/_cjs/actions/public/createEventFilter.js.map +1 -1
- package/_cjs/actions/public/createPendingTransactionFilter.js.map +1 -1
- package/_cjs/actions/public/estimateContractGas.js.map +1 -1
- package/_cjs/actions/public/estimateFeesPerGas.js.map +1 -1
- package/_cjs/actions/public/estimateGas.js.map +1 -1
- package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
- package/_cjs/actions/public/getBalance.js.map +1 -1
- package/_cjs/actions/public/getBlock.js.map +1 -1
- package/_cjs/actions/public/getBlockNumber.js.map +1 -1
- package/_cjs/actions/public/getBlockTransactionCount.js.map +1 -1
- package/_cjs/actions/public/getBytecode.js.map +1 -1
- package/_cjs/actions/public/getChainId.js.map +1 -1
- package/_cjs/actions/public/getContractEvents.js.map +1 -1
- package/_cjs/actions/public/getFeeHistory.js.map +1 -1
- package/_cjs/actions/public/getFilterChanges.js.map +1 -1
- package/_cjs/actions/public/getFilterLogs.js.map +1 -1
- package/_cjs/actions/public/getGasPrice.js.map +1 -1
- package/_cjs/actions/public/getLogs.js.map +1 -1
- package/_cjs/actions/public/getStorageAt.js.map +1 -1
- package/_cjs/actions/public/getTransaction.js.map +1 -1
- package/_cjs/actions/public/getTransactionConfirmations.js.map +1 -1
- package/_cjs/actions/public/getTransactionCount.js.map +1 -1
- package/_cjs/actions/public/getTransactionReceipt.js.map +1 -1
- package/_cjs/actions/public/multicall.js.map +1 -1
- package/_cjs/actions/public/readContract.js.map +1 -1
- package/_cjs/actions/public/simulateContract.js.map +1 -1
- package/_cjs/actions/public/uninstallFilter.js.map +1 -1
- package/_cjs/actions/public/verifyHash.js.map +1 -1
- package/_cjs/actions/public/verifyMessage.js.map +1 -1
- package/_cjs/actions/public/verifyTypedData.js.map +1 -1
- package/_cjs/actions/public/waitForTransactionReceipt.js.map +1 -1
- package/_cjs/actions/public/watchBlockNumber.js.map +1 -1
- package/_cjs/actions/public/watchBlocks.js.map +1 -1
- package/_cjs/actions/public/watchContractEvent.js.map +1 -1
- package/_cjs/actions/public/watchEvent.js.map +1 -1
- package/_cjs/actions/public/watchPendingTransactions.js.map +1 -1
- package/_cjs/actions/test/dropTransaction.js.map +1 -1
- package/_cjs/actions/test/getAutomine.js.map +1 -1
- package/_cjs/actions/test/getTxpoolContent.js.map +1 -1
- package/_cjs/actions/test/getTxpoolStatus.js.map +1 -1
- package/_cjs/actions/test/impersonateAccount.js.map +1 -1
- package/_cjs/actions/test/increaseTime.js.map +1 -1
- package/_cjs/actions/test/inspectTxpool.js.map +1 -1
- package/_cjs/actions/test/mine.js.map +1 -1
- package/_cjs/actions/test/removeBlockTimestampInterval.js.map +1 -1
- package/_cjs/actions/test/reset.js.map +1 -1
- package/_cjs/actions/test/revert.js.map +1 -1
- package/_cjs/actions/test/sendUnsignedTransaction.js.map +1 -1
- package/_cjs/actions/test/setAutomine.js.map +1 -1
- package/_cjs/actions/test/setBalance.js.map +1 -1
- package/_cjs/actions/test/setBlockGasLimit.js.map +1 -1
- package/_cjs/actions/test/setBlockTimestampInterval.js +6 -1
- package/_cjs/actions/test/setBlockTimestampInterval.js.map +1 -1
- package/_cjs/actions/test/setCode.js.map +1 -1
- package/_cjs/actions/test/setCoinbase.js.map +1 -1
- package/_cjs/actions/test/setIntervalMining.js +6 -1
- package/_cjs/actions/test/setIntervalMining.js.map +1 -1
- package/_cjs/actions/test/setLoggingEnabled.js.map +1 -1
- package/_cjs/actions/test/setMinGasPrice.js.map +1 -1
- package/_cjs/actions/test/setNextBlockBaseFeePerGas.js.map +1 -1
- package/_cjs/actions/test/setNextBlockTimestamp.js.map +1 -1
- package/_cjs/actions/test/setNonce.js.map +1 -1
- package/_cjs/actions/test/setRpcUrl.js.map +1 -1
- package/_cjs/actions/test/setStorageAt.js.map +1 -1
- package/_cjs/actions/test/snapshot.js.map +1 -1
- package/_cjs/actions/test/stopImpersonatingAccount.js.map +1 -1
- package/_cjs/actions/wallet/addChain.js.map +1 -1
- package/_cjs/actions/wallet/deployContract.js.map +1 -1
- package/_cjs/actions/wallet/getAddresses.js.map +1 -1
- package/_cjs/actions/wallet/getPermissions.js.map +1 -1
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_cjs/actions/wallet/requestAddresses.js.map +1 -1
- package/_cjs/actions/wallet/requestPermissions.js.map +1 -1
- package/_cjs/actions/wallet/sendRawTransaction.js.map +1 -1
- package/_cjs/actions/wallet/sendTransaction.js.map +1 -1
- package/_cjs/actions/wallet/signMessage.js.map +1 -1
- package/_cjs/actions/wallet/signTransaction.js.map +1 -1
- package/_cjs/actions/wallet/signTypedData.js.map +1 -1
- package/_cjs/actions/wallet/switchChain.js.map +1 -1
- package/_cjs/actions/wallet/watchAsset.js.map +1 -1
- package/_cjs/actions/wallet/writeContract.js.map +1 -1
- package/_cjs/chains/definitions/holesky.js +6 -1
- package/_cjs/chains/definitions/holesky.js.map +1 -1
- package/_cjs/clients/createClient.js.map +1 -1
- package/_cjs/clients/createPublicClient.js.map +1 -1
- package/_cjs/clients/createTestClient.js.map +1 -1
- package/_cjs/clients/createWalletClient.js.map +1 -1
- package/_cjs/clients/transports/createTransport.js.map +1 -1
- package/_cjs/clients/transports/custom.js.map +1 -1
- package/_cjs/clients/transports/fallback.js.map +1 -1
- package/_cjs/clients/transports/http.js.map +1 -1
- package/_cjs/clients/transports/webSocket.js.map +1 -1
- package/_cjs/contract/index.js.map +1 -1
- package/_cjs/ens/index.js.map +1 -1
- package/_cjs/errors/abi.js.map +1 -1
- package/_cjs/errors/account.js.map +1 -1
- package/_cjs/errors/address.js.map +1 -1
- package/_cjs/errors/base.js.map +1 -1
- package/_cjs/errors/block.js.map +1 -1
- package/_cjs/errors/ccip.js.map +1 -1
- package/_cjs/errors/chain.js.map +1 -1
- package/_cjs/errors/contract.js.map +1 -1
- package/_cjs/errors/cursor.js.map +1 -1
- package/_cjs/errors/data.js.map +1 -1
- package/_cjs/errors/encoding.js.map +1 -1
- package/_cjs/errors/ens.js.map +1 -1
- package/_cjs/errors/estimateGas.js.map +1 -1
- package/_cjs/errors/fee.js.map +1 -1
- package/_cjs/errors/log.js.map +1 -1
- package/_cjs/errors/node.js.map +1 -1
- package/_cjs/errors/request.js.map +1 -1
- package/_cjs/errors/rpc.js.map +1 -1
- package/_cjs/errors/transaction.js.map +1 -1
- package/_cjs/errors/transport.js.map +1 -1
- package/_cjs/errors/utils.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/index.js +33 -7
- package/_cjs/index.js.map +1 -1
- package/_cjs/public/index.js.map +1 -1
- package/_cjs/test/index.js.map +1 -1
- package/_cjs/types/eip1193.js.map +1 -1
- package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
- package/_cjs/utils/abi/decodeDeployData.js.map +1 -1
- package/_cjs/utils/abi/decodeErrorResult.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/encodeDeployData.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/formatAbiItemWithArgs.js.map +1 -1
- package/_cjs/utils/abi/getAbiItem.js +3 -3
- package/_cjs/utils/abi/getAbiItem.js.map +1 -1
- package/_cjs/utils/address/getAddress.js.map +1 -1
- package/_cjs/utils/address/getContractAddress.js.map +1 -1
- package/_cjs/utils/address/isAddress.js.map +1 -1
- package/_cjs/utils/address/isAddressEqual.js.map +1 -1
- package/_cjs/utils/buildRequest.js.map +1 -1
- package/_cjs/utils/ccip.js.map +1 -1
- package/_cjs/utils/chain.js.map +1 -1
- package/_cjs/utils/contract/extractFunctionParts.js.map +1 -1
- package/_cjs/utils/cursor.js.map +1 -1
- package/_cjs/utils/data/concat.js.map +1 -1
- package/_cjs/utils/data/isBytes.js.map +1 -1
- package/_cjs/utils/data/isBytesEqual.js.map +1 -1
- package/_cjs/utils/data/isHex.js.map +1 -1
- package/_cjs/utils/data/pad.js.map +1 -1
- package/_cjs/utils/data/size.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 +4 -4
- 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.map +1 -1
- package/_cjs/utils/encoding/toHex.js.map +1 -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.map +1 -1
- package/_cjs/utils/ens/encodeLabelhash.js.map +1 -1
- package/_cjs/utils/ens/encodedLabelToLabelhash.js.map +1 -1
- package/_cjs/utils/ens/errors.js.map +1 -1
- package/_cjs/utils/ens/labelhash.js.map +1 -1
- package/_cjs/utils/ens/namehash.js.map +1 -1
- package/_cjs/utils/ens/normalize.js.map +1 -1
- package/_cjs/utils/ens/packetToBytes.js.map +1 -1
- package/_cjs/utils/errors/getCallError.js +6 -3
- package/_cjs/utils/errors/getCallError.js.map +1 -1
- package/_cjs/utils/errors/getContractError.js +14 -13
- package/_cjs/utils/errors/getContractError.js.map +1 -1
- package/_cjs/utils/errors/getEstimateGasError.js +6 -3
- package/_cjs/utils/errors/getEstimateGasError.js.map +1 -1
- package/_cjs/utils/errors/getNodeError.js.map +1 -1
- package/_cjs/utils/errors/getTransactionError.js +6 -3
- package/_cjs/utils/errors/getTransactionError.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/feeHistory.js.map +1 -1
- package/_cjs/utils/formatters/formatter.js.map +1 -1
- package/_cjs/utils/formatters/log.js.map +1 -1
- package/_cjs/utils/formatters/transaction.js.map +1 -1
- package/_cjs/utils/formatters/transactionReceipt.js.map +1 -1
- package/_cjs/utils/formatters/transactionRequest.js.map +1 -1
- package/_cjs/utils/hash/getEventSelector.js.map +1 -1
- package/_cjs/utils/hash/getEventSignature.js.map +1 -1
- package/_cjs/utils/hash/getFunctionSelector.js.map +1 -1
- package/_cjs/utils/hash/getFunctionSignature.js.map +1 -1
- package/_cjs/utils/hash/hashFunction.js.map +1 -1
- package/_cjs/utils/hash/isHash.js.map +1 -1
- package/_cjs/utils/hash/keccak256.js.map +1 -1
- package/_cjs/utils/index.js +6 -4
- package/_cjs/utils/index.js.map +1 -1
- package/_cjs/utils/observe.js.map +1 -1
- package/_cjs/utils/poll.js.map +1 -1
- package/_cjs/utils/promise/createBatchScheduler.js.map +1 -1
- package/_cjs/utils/promise/withCache.js.map +1 -1
- package/_cjs/utils/promise/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.map +1 -1
- package/_cjs/utils/signature/hashTypedData.js.map +1 -1
- package/_cjs/utils/signature/hexToSignature.js.map +1 -1
- package/_cjs/utils/signature/recoverAddress.js.map +1 -1
- package/_cjs/utils/signature/recoverMessageAddress.js.map +1 -1
- package/_cjs/utils/signature/recoverPublicKey.js.map +1 -1
- package/_cjs/utils/signature/recoverTypedDataAddress.js.map +1 -1
- package/_cjs/utils/signature/signatureToHex.js.map +1 -1
- package/_cjs/utils/signature/verifyMessage.js.map +1 -1
- package/_cjs/utils/signature/verifyTypedData.js.map +1 -1
- package/_cjs/utils/stringify.js.map +1 -1
- package/_cjs/utils/transaction/assertRequest.js.map +1 -1
- package/_cjs/utils/transaction/assertTransaction.js.map +1 -1
- package/_cjs/utils/transaction/getSerializedTransactionType.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.map +1 -1
- package/_cjs/utils/typedData.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/_test/generated.js +335 -0
- package/_esm/_test/generated.js.map +1 -0
- package/_esm/abi/index.js +1 -1
- package/_esm/abi/index.js.map +1 -1
- package/_esm/accounts/generateMnemonic.js.map +1 -1
- package/_esm/accounts/generatePrivateKey.js.map +1 -1
- package/_esm/accounts/hdKeyToAccount.js +1 -1
- package/_esm/accounts/hdKeyToAccount.js.map +1 -1
- package/_esm/accounts/index.js +10 -10
- package/_esm/accounts/index.js.map +1 -1
- package/_esm/accounts/mnemonicToAccount.js +1 -1
- package/_esm/accounts/mnemonicToAccount.js.map +1 -1
- package/_esm/accounts/privateKeyToAccount.js +3 -3
- package/_esm/accounts/privateKeyToAccount.js.map +1 -1
- package/_esm/accounts/toAccount.js +2 -2
- package/_esm/accounts/toAccount.js.map +1 -1
- package/_esm/accounts/utils/parseAccount.js.map +1 -1
- package/_esm/accounts/utils/privateKeyToAddress.js +2 -2
- package/_esm/accounts/utils/privateKeyToAddress.js.map +1 -1
- package/_esm/accounts/utils/publicKeyToAddress.js +2 -2
- package/_esm/accounts/utils/publicKeyToAddress.js.map +1 -1
- package/_esm/accounts/utils/sign.js.map +1 -1
- package/_esm/accounts/utils/signMessage.js +2 -2
- package/_esm/accounts/utils/signMessage.js.map +1 -1
- package/_esm/accounts/utils/signTransaction.js +1 -1
- package/_esm/accounts/utils/signTransaction.js.map +1 -1
- package/_esm/accounts/utils/signTypedData.js +2 -2
- package/_esm/accounts/utils/signTypedData.js.map +1 -1
- package/_esm/actions/ens/getEnsAddress.js +4 -4
- package/_esm/actions/ens/getEnsAddress.js.map +1 -1
- package/_esm/actions/ens/getEnsAvatar.js +2 -2
- package/_esm/actions/ens/getEnsAvatar.js.map +1 -1
- package/_esm/actions/ens/getEnsName.js +2 -2
- package/_esm/actions/ens/getEnsName.js.map +1 -1
- package/_esm/actions/ens/getEnsResolver.js +2 -2
- package/_esm/actions/ens/getEnsResolver.js.map +1 -1
- package/_esm/actions/ens/getEnsText.js +4 -4
- package/_esm/actions/ens/getEnsText.js.map +1 -1
- package/_esm/actions/getContract.js.map +1 -1
- package/_esm/actions/index.js +8 -8
- package/_esm/actions/index.js.map +1 -1
- package/_esm/actions/public/call.js +8 -8
- package/_esm/actions/public/call.js.map +1 -1
- package/_esm/actions/public/createBlockFilter.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/createPendingTransactionFilter.js.map +1 -1
- package/_esm/actions/public/estimateContractGas.js +4 -4
- package/_esm/actions/public/estimateContractGas.js.map +1 -1
- package/_esm/actions/public/estimateFeesPerGas.js +1 -1
- package/_esm/actions/public/estimateFeesPerGas.js.map +1 -1
- package/_esm/actions/public/estimateGas.js +3 -3
- package/_esm/actions/public/estimateGas.js.map +1 -1
- package/_esm/actions/public/estimateMaxPriorityFeePerGas.js +2 -2
- package/_esm/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
- package/_esm/actions/public/getBalance.js +1 -1
- package/_esm/actions/public/getBalance.js.map +1 -1
- package/_esm/actions/public/getBlock.js +2 -2
- package/_esm/actions/public/getBlock.js.map +1 -1
- package/_esm/actions/public/getBlockNumber.js.map +1 -1
- package/_esm/actions/public/getBlockTransactionCount.js +2 -2
- package/_esm/actions/public/getBlockTransactionCount.js.map +1 -1
- package/_esm/actions/public/getBytecode.js +1 -1
- package/_esm/actions/public/getBytecode.js.map +1 -1
- package/_esm/actions/public/getChainId.js +1 -1
- package/_esm/actions/public/getChainId.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/getFeeHistory.js +2 -2
- package/_esm/actions/public/getFeeHistory.js.map +1 -1
- package/_esm/actions/public/getFilterChanges.js +2 -2
- package/_esm/actions/public/getFilterChanges.js.map +1 -1
- package/_esm/actions/public/getFilterLogs.js +2 -2
- package/_esm/actions/public/getFilterLogs.js.map +1 -1
- package/_esm/actions/public/getGasPrice.js.map +1 -1
- package/_esm/actions/public/getLogs.js +3 -3
- package/_esm/actions/public/getLogs.js.map +1 -1
- package/_esm/actions/public/getStorageAt.js +1 -1
- package/_esm/actions/public/getStorageAt.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 +2 -2
- package/_esm/actions/public/getTransactionConfirmations.js.map +1 -1
- package/_esm/actions/public/getTransactionCount.js +2 -2
- package/_esm/actions/public/getTransactionCount.js.map +1 -1
- package/_esm/actions/public/getTransactionReceipt.js +1 -1
- package/_esm/actions/public/getTransactionReceipt.js.map +1 -1
- package/_esm/actions/public/multicall.js +4 -4
- package/_esm/actions/public/multicall.js.map +1 -1
- package/_esm/actions/public/readContract.js +3 -3
- package/_esm/actions/public/readContract.js.map +1 -1
- package/_esm/actions/public/simulateContract.js +4 -4
- package/_esm/actions/public/simulateContract.js.map +1 -1
- package/_esm/actions/public/uninstallFilter.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/verifyMessage.js +1 -1
- package/_esm/actions/public/verifyMessage.js.map +1 -1
- package/_esm/actions/public/verifyTypedData.js +2 -2
- package/_esm/actions/public/verifyTypedData.js.map +1 -1
- package/_esm/actions/public/waitForTransactionReceipt.js +1 -1
- package/_esm/actions/public/waitForTransactionReceipt.js.map +1 -1
- package/_esm/actions/public/watchBlockNumber.js.map +1 -1
- package/_esm/actions/public/watchBlocks.js.map +1 -1
- package/_esm/actions/public/watchContractEvent.js.map +1 -1
- package/_esm/actions/public/watchEvent.js.map +1 -1
- package/_esm/actions/public/watchPendingTransactions.js.map +1 -1
- package/_esm/actions/test/dropTransaction.js.map +1 -1
- package/_esm/actions/test/getAutomine.js.map +1 -1
- package/_esm/actions/test/getTxpoolContent.js.map +1 -1
- package/_esm/actions/test/getTxpoolStatus.js.map +1 -1
- package/_esm/actions/test/impersonateAccount.js.map +1 -1
- package/_esm/actions/test/increaseTime.js.map +1 -1
- package/_esm/actions/test/inspectTxpool.js.map +1 -1
- package/_esm/actions/test/mine.js.map +1 -1
- package/_esm/actions/test/removeBlockTimestampInterval.js.map +1 -1
- package/_esm/actions/test/reset.js.map +1 -1
- package/_esm/actions/test/revert.js.map +1 -1
- package/_esm/actions/test/sendUnsignedTransaction.js.map +1 -1
- package/_esm/actions/test/setAutomine.js.map +1 -1
- package/_esm/actions/test/setBalance.js.map +1 -1
- package/_esm/actions/test/setBlockGasLimit.js.map +1 -1
- package/_esm/actions/test/setBlockTimestampInterval.js +6 -1
- package/_esm/actions/test/setBlockTimestampInterval.js.map +1 -1
- package/_esm/actions/test/setCode.js.map +1 -1
- package/_esm/actions/test/setCoinbase.js.map +1 -1
- package/_esm/actions/test/setIntervalMining.js +6 -1
- package/_esm/actions/test/setIntervalMining.js.map +1 -1
- package/_esm/actions/test/setLoggingEnabled.js.map +1 -1
- package/_esm/actions/test/setMinGasPrice.js.map +1 -1
- package/_esm/actions/test/setNextBlockBaseFeePerGas.js.map +1 -1
- package/_esm/actions/test/setNextBlockTimestamp.js.map +1 -1
- package/_esm/actions/test/setNonce.js.map +1 -1
- package/_esm/actions/test/setRpcUrl.js.map +1 -1
- package/_esm/actions/test/setStorageAt.js.map +1 -1
- package/_esm/actions/test/snapshot.js.map +1 -1
- package/_esm/actions/test/stopImpersonatingAccount.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.map +1 -1
- package/_esm/actions/wallet/getAddresses.js +1 -1
- package/_esm/actions/wallet/getAddresses.js.map +1 -1
- package/_esm/actions/wallet/getPermissions.js.map +1 -1
- package/_esm/actions/wallet/prepareTransactionRequest.js +5 -5
- package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_esm/actions/wallet/requestAddresses.js.map +1 -1
- package/_esm/actions/wallet/requestPermissions.js.map +1 -1
- package/_esm/actions/wallet/sendRawTransaction.js.map +1 -1
- package/_esm/actions/wallet/sendTransaction.js +5 -5
- package/_esm/actions/wallet/sendTransaction.js.map +1 -1
- package/_esm/actions/wallet/signMessage.js +2 -2
- package/_esm/actions/wallet/signMessage.js.map +1 -1
- package/_esm/actions/wallet/signTransaction.js +3 -3
- package/_esm/actions/wallet/signTransaction.js.map +1 -1
- package/_esm/actions/wallet/signTypedData.js +2 -2
- 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.map +1 -1
- package/_esm/actions/wallet/writeContract.js +1 -1
- package/_esm/actions/wallet/writeContract.js.map +1 -1
- package/_esm/chains/definitions/holesky.js +6 -1
- package/_esm/chains/definitions/holesky.js.map +1 -1
- package/_esm/clients/createClient.js.map +1 -1
- package/_esm/clients/createPublicClient.js +1 -1
- package/_esm/clients/createPublicClient.js.map +1 -1
- package/_esm/clients/createTestClient.js +1 -1
- package/_esm/clients/createTestClient.js.map +1 -1
- package/_esm/clients/createWalletClient.js +1 -1
- package/_esm/clients/createWalletClient.js.map +1 -1
- package/_esm/clients/transports/createTransport.js.map +1 -1
- package/_esm/clients/transports/custom.js.map +1 -1
- package/_esm/clients/transports/fallback.js.map +1 -1
- package/_esm/clients/transports/http.js +1 -1
- package/_esm/clients/transports/http.js.map +1 -1
- package/_esm/clients/transports/webSocket.js +1 -1
- package/_esm/clients/transports/webSocket.js.map +1 -1
- package/_esm/contract/index.js +2 -2
- package/_esm/contract/index.js.map +1 -1
- package/_esm/ens/index.js.map +1 -1
- package/_esm/errors/abi.js.map +1 -1
- package/_esm/errors/account.js.map +1 -1
- package/_esm/errors/address.js.map +1 -1
- package/_esm/errors/base.js.map +1 -1
- package/_esm/errors/block.js.map +1 -1
- package/_esm/errors/ccip.js.map +1 -1
- package/_esm/errors/chain.js.map +1 -1
- package/_esm/errors/contract.js.map +1 -1
- package/_esm/errors/cursor.js.map +1 -1
- package/_esm/errors/data.js.map +1 -1
- package/_esm/errors/encoding.js.map +1 -1
- package/_esm/errors/ens.js.map +1 -1
- package/_esm/errors/estimateGas.js.map +1 -1
- package/_esm/errors/fee.js.map +1 -1
- package/_esm/errors/log.js.map +1 -1
- package/_esm/errors/node.js +0 -9
- package/_esm/errors/node.js.map +1 -1
- package/_esm/errors/request.js.map +1 -1
- package/_esm/errors/rpc.js +0 -103
- package/_esm/errors/rpc.js.map +1 -1
- package/_esm/errors/transaction.js.map +1 -1
- package/_esm/errors/transport.js.map +1 -1
- package/_esm/errors/utils.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/index.js +45 -43
- package/_esm/index.js.map +1 -1
- package/_esm/public/index.js +1 -1
- package/_esm/public/index.js.map +1 -1
- package/_esm/test/index.js +9 -9
- package/_esm/test/index.js.map +1 -1
- package/_esm/types/eip1193.js +0 -2
- package/_esm/types/eip1193.js.map +1 -1
- package/_esm/utils/abi/decodeAbiParameters.js +2 -3
- package/_esm/utils/abi/decodeAbiParameters.js.map +1 -1
- package/_esm/utils/abi/decodeDeployData.js +1 -1
- package/_esm/utils/abi/decodeDeployData.js.map +1 -1
- package/_esm/utils/abi/decodeErrorResult.js +2 -2
- package/_esm/utils/abi/decodeErrorResult.js.map +1 -1
- package/_esm/utils/abi/decodeEventLog.js +2 -2
- package/_esm/utils/abi/decodeEventLog.js.map +1 -1
- package/_esm/utils/abi/decodeFunctionData.js +2 -2
- package/_esm/utils/abi/decodeFunctionData.js.map +1 -1
- package/_esm/utils/abi/decodeFunctionResult.js +1 -1
- package/_esm/utils/abi/decodeFunctionResult.js.map +1 -1
- package/_esm/utils/abi/encodeAbiParameters.js +2 -4
- package/_esm/utils/abi/encodeAbiParameters.js.map +1 -1
- package/_esm/utils/abi/encodeDeployData.js +1 -1
- package/_esm/utils/abi/encodeDeployData.js.map +1 -1
- package/_esm/utils/abi/encodeErrorResult.js +2 -2
- package/_esm/utils/abi/encodeErrorResult.js.map +1 -1
- package/_esm/utils/abi/encodeEventTopics.js +4 -4
- package/_esm/utils/abi/encodeEventTopics.js.map +1 -1
- package/_esm/utils/abi/encodeFunctionData.js +3 -3
- package/_esm/utils/abi/encodeFunctionData.js.map +1 -1
- package/_esm/utils/abi/encodeFunctionResult.js +1 -1
- package/_esm/utils/abi/encodeFunctionResult.js.map +1 -1
- package/_esm/utils/abi/encodePacked.js +2 -2
- package/_esm/utils/abi/encodePacked.js.map +1 -1
- package/_esm/utils/abi/formatAbiItem.js +1 -1
- package/_esm/utils/abi/formatAbiItem.js.map +1 -1
- package/_esm/utils/abi/formatAbiItemWithArgs.js.map +1 -1
- package/_esm/utils/abi/getAbiItem.js +3 -3
- package/_esm/utils/abi/getAbiItem.js.map +1 -1
- package/_esm/utils/address/getAddress.js +1 -1
- package/_esm/utils/address/getAddress.js.map +1 -1
- package/_esm/utils/address/getContractAddress.js.map +1 -1
- package/_esm/utils/address/isAddress.js.map +1 -1
- package/_esm/utils/address/isAddressEqual.js +1 -1
- package/_esm/utils/address/isAddressEqual.js.map +1 -1
- package/_esm/utils/buildRequest.js +1 -1
- package/_esm/utils/buildRequest.js.map +1 -1
- package/_esm/utils/ccip.js.map +1 -1
- package/_esm/utils/chain.js.map +1 -1
- package/_esm/utils/contract/extractFunctionParts.js.map +1 -1
- package/_esm/utils/cursor.js.map +1 -1
- package/_esm/utils/data/concat.js.map +1 -1
- package/_esm/utils/data/isBytes.js.map +1 -1
- package/_esm/utils/data/isBytesEqual.js.map +1 -1
- package/_esm/utils/data/isHex.js.map +1 -1
- package/_esm/utils/data/pad.js +1 -1
- package/_esm/utils/data/pad.js.map +1 -1
- package/_esm/utils/data/size.js.map +1 -1
- package/_esm/utils/data/slice.js +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 +5 -5
- package/_esm/utils/encoding/fromBytes.js.map +1 -1
- package/_esm/utils/encoding/fromHex.js.map +1 -1
- package/_esm/utils/encoding/fromRlp.js +2 -2
- package/_esm/utils/encoding/fromRlp.js.map +1 -1
- package/_esm/utils/encoding/toBytes.js +1 -1
- package/_esm/utils/encoding/toBytes.js.map +1 -1
- package/_esm/utils/encoding/toHex.js +1 -1
- package/_esm/utils/encoding/toHex.js.map +1 -1
- package/_esm/utils/encoding/toRlp.js +1 -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/encodeLabelhash.js.map +1 -1
- package/_esm/utils/ens/encodedLabelToLabelhash.js.map +1 -1
- package/_esm/utils/ens/errors.js.map +1 -1
- package/_esm/utils/ens/labelhash.js +2 -2
- package/_esm/utils/ens/labelhash.js.map +1 -1
- package/_esm/utils/ens/namehash.js +2 -2
- package/_esm/utils/ens/namehash.js.map +1 -1
- package/_esm/utils/ens/normalize.js.map +1 -1
- package/_esm/utils/ens/packetToBytes.js +2 -2
- package/_esm/utils/ens/packetToBytes.js.map +1 -1
- package/_esm/utils/errors/getCallError.js +8 -5
- package/_esm/utils/errors/getCallError.js.map +1 -1
- package/_esm/utils/errors/getContractError.js +14 -13
- package/_esm/utils/errors/getContractError.js.map +1 -1
- package/_esm/utils/errors/getEstimateGasError.js +8 -5
- package/_esm/utils/errors/getEstimateGasError.js.map +1 -1
- package/_esm/utils/errors/getNodeError.js.map +1 -1
- package/_esm/utils/errors/getTransactionError.js +8 -5
- package/_esm/utils/errors/getTransactionError.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/feeHistory.js.map +1 -1
- package/_esm/utils/formatters/formatter.js.map +1 -1
- package/_esm/utils/formatters/log.js.map +1 -1
- package/_esm/utils/formatters/transaction.js.map +1 -1
- package/_esm/utils/formatters/transactionReceipt.js.map +1 -1
- package/_esm/utils/formatters/transactionRequest.js.map +1 -1
- package/_esm/utils/hash/getEventSelector.js.map +1 -1
- package/_esm/utils/hash/getEventSignature.js +1 -1
- package/_esm/utils/hash/getEventSignature.js.map +1 -1
- package/_esm/utils/hash/getFunctionSelector.js +1 -1
- package/_esm/utils/hash/getFunctionSelector.js.map +1 -1
- package/_esm/utils/hash/getFunctionSignature.js +1 -1
- package/_esm/utils/hash/getFunctionSignature.js.map +1 -1
- package/_esm/utils/hash/hashFunction.js +2 -2
- package/_esm/utils/hash/hashFunction.js.map +1 -1
- package/_esm/utils/hash/isHash.js.map +1 -1
- package/_esm/utils/hash/keccak256.js.map +1 -1
- package/_esm/utils/index.js +29 -27
- package/_esm/utils/index.js.map +1 -1
- package/_esm/utils/observe.js.map +1 -1
- package/_esm/utils/poll.js.map +1 -1
- 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 +2 -2
- package/_esm/utils/rpc.js.map +1 -1
- package/_esm/utils/signature/hashMessage.js +1 -1
- package/_esm/utils/signature/hashMessage.js.map +1 -1
- package/_esm/utils/signature/hashTypedData.js +2 -2
- package/_esm/utils/signature/hashTypedData.js.map +1 -1
- package/_esm/utils/signature/hexToSignature.js +1 -1
- package/_esm/utils/signature/hexToSignature.js.map +1 -1
- package/_esm/utils/signature/recoverAddress.js.map +1 -1
- package/_esm/utils/signature/recoverMessageAddress.js +1 -1
- package/_esm/utils/signature/recoverMessageAddress.js.map +1 -1
- package/_esm/utils/signature/recoverPublicKey.js.map +1 -1
- package/_esm/utils/signature/recoverTypedDataAddress.js +1 -1
- package/_esm/utils/signature/recoverTypedDataAddress.js.map +1 -1
- package/_esm/utils/signature/signatureToHex.js +1 -1
- package/_esm/utils/signature/signatureToHex.js.map +1 -1
- package/_esm/utils/signature/verifyMessage.js +2 -2
- package/_esm/utils/signature/verifyMessage.js.map +1 -1
- package/_esm/utils/signature/verifyTypedData.js +1 -1
- package/_esm/utils/signature/verifyTypedData.js.map +1 -1
- package/_esm/utils/stringify.js.map +1 -1
- package/_esm/utils/transaction/assertRequest.js +4 -4
- package/_esm/utils/transaction/assertRequest.js.map +1 -1
- package/_esm/utils/transaction/assertTransaction.js +3 -3
- package/_esm/utils/transaction/assertTransaction.js.map +1 -1
- package/_esm/utils/transaction/getSerializedTransactionType.js +1 -1
- package/_esm/utils/transaction/getSerializedTransactionType.js.map +1 -1
- package/_esm/utils/transaction/getTransactionType.js +1 -1
- package/_esm/utils/transaction/getTransactionType.js.map +1 -1
- package/_esm/utils/transaction/parseTransaction.js +2 -2
- package/_esm/utils/transaction/parseTransaction.js.map +1 -1
- package/_esm/utils/transaction/serializeAccessList.js +2 -2
- package/_esm/utils/transaction/serializeAccessList.js.map +1 -1
- package/_esm/utils/transaction/serializeTransaction.js +2 -2
- package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
- package/_esm/utils/typedData.js +1 -1
- package/_esm/utils/typedData.js.map +1 -1
- package/_esm/utils/unit/formatEther.js.map +1 -1
- package/_esm/utils/unit/formatGwei.js.map +1 -1
- package/_esm/utils/unit/formatUnits.js.map +1 -1
- package/_esm/utils/unit/parseEther.js.map +1 -1
- package/_esm/utils/unit/parseGwei.js.map +1 -1
- package/_esm/utils/unit/parseUnits.js.map +1 -1
- package/_test/generated.ts +350 -0
- package/_types/_test/generated.d.ts +428 -0
- package/_types/_test/generated.d.ts.map +1 -0
- package/_types/abi/index.d.ts +4 -4
- package/_types/abi/index.d.ts.map +1 -1
- package/_types/accounts/generateMnemonic.d.ts +2 -0
- package/_types/accounts/generateMnemonic.d.ts.map +1 -1
- package/_types/accounts/generatePrivateKey.d.ts +3 -0
- package/_types/accounts/generatePrivateKey.d.ts.map +1 -1
- package/_types/accounts/hdKeyToAccount.d.ts +4 -0
- package/_types/accounts/hdKeyToAccount.d.ts.map +1 -1
- package/_types/accounts/index.d.ts +14 -14
- package/_types/accounts/index.d.ts.map +1 -1
- package/_types/accounts/mnemonicToAccount.d.ts +3 -0
- package/_types/accounts/mnemonicToAccount.d.ts.map +1 -1
- package/_types/accounts/privateKeyToAccount.d.ts +8 -0
- package/_types/accounts/privateKeyToAccount.d.ts.map +1 -1
- package/_types/accounts/toAccount.d.ts +4 -0
- package/_types/accounts/toAccount.d.ts.map +1 -1
- package/_types/accounts/utils/parseAccount.d.ts +2 -0
- package/_types/accounts/utils/parseAccount.d.ts.map +1 -1
- package/_types/accounts/utils/privateKeyToAddress.d.ts +4 -0
- package/_types/accounts/utils/privateKeyToAddress.d.ts.map +1 -1
- package/_types/accounts/utils/publicKeyToAddress.d.ts +4 -0
- package/_types/accounts/utils/publicKeyToAddress.d.ts.map +1 -1
- package/_types/accounts/utils/sign.d.ts +3 -0
- package/_types/accounts/utils/sign.d.ts.map +1 -1
- package/_types/accounts/utils/signMessage.d.ts +5 -0
- package/_types/accounts/utils/signMessage.d.ts.map +1 -1
- package/_types/accounts/utils/signTransaction.d.ts +4 -0
- package/_types/accounts/utils/signTransaction.d.ts.map +1 -1
- package/_types/accounts/utils/signTypedData.d.ts +5 -0
- package/_types/accounts/utils/signTypedData.d.ts.map +1 -1
- package/_types/actions/ens/getEnsAddress.d.ts +9 -0
- package/_types/actions/ens/getEnsAddress.d.ts.map +1 -1
- package/_types/actions/ens/getEnsAvatar.d.ts +4 -1
- package/_types/actions/ens/getEnsAvatar.d.ts.map +1 -1
- package/_types/actions/ens/getEnsName.d.ts +6 -1
- package/_types/actions/ens/getEnsName.d.ts.map +1 -1
- package/_types/actions/ens/getEnsResolver.d.ts +5 -0
- package/_types/actions/ens/getEnsResolver.d.ts.map +1 -1
- package/_types/actions/ens/getEnsText.d.ts +8 -1
- package/_types/actions/ens/getEnsText.d.ts.map +1 -1
- package/_types/actions/getContract.d.ts +2 -0
- package/_types/actions/getContract.d.ts.map +1 -1
- package/_types/actions/index.d.ts +79 -79
- package/_types/actions/index.d.ts.map +1 -1
- package/_types/actions/public/call.d.ts +15 -1
- package/_types/actions/public/call.d.ts.map +1 -1
- package/_types/actions/public/createBlockFilter.d.ts +3 -0
- package/_types/actions/public/createBlockFilter.d.ts.map +1 -1
- package/_types/actions/public/createContractEventFilter.d.ts +5 -0
- package/_types/actions/public/createContractEventFilter.d.ts.map +1 -1
- package/_types/actions/public/createEventFilter.d.ts +5 -0
- package/_types/actions/public/createEventFilter.d.ts.map +1 -1
- package/_types/actions/public/createPendingTransactionFilter.d.ts +3 -0
- package/_types/actions/public/createPendingTransactionFilter.d.ts.map +1 -1
- package/_types/actions/public/estimateContractGas.d.ts +5 -1
- package/_types/actions/public/estimateContractGas.d.ts.map +1 -1
- package/_types/actions/public/estimateFeesPerGas.d.ts +5 -0
- package/_types/actions/public/estimateFeesPerGas.d.ts.map +1 -1
- package/_types/actions/public/estimateGas.d.ts +6 -0
- package/_types/actions/public/estimateGas.d.ts.map +1 -1
- package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts +7 -0
- package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts.map +1 -1
- package/_types/actions/public/getBalance.d.ts +4 -0
- package/_types/actions/public/getBalance.d.ts.map +1 -1
- package/_types/actions/public/getBlock.d.ts +5 -0
- package/_types/actions/public/getBlock.d.ts.map +1 -1
- package/_types/actions/public/getBlockNumber.d.ts +3 -0
- package/_types/actions/public/getBlockNumber.d.ts.map +1 -1
- package/_types/actions/public/getBlockTransactionCount.d.ts +5 -0
- package/_types/actions/public/getBlockTransactionCount.d.ts.map +1 -1
- package/_types/actions/public/getBytecode.d.ts +4 -0
- package/_types/actions/public/getBytecode.d.ts.map +1 -1
- package/_types/actions/public/getChainId.d.ts +4 -0
- package/_types/actions/public/getChainId.d.ts.map +1 -1
- package/_types/actions/public/getContractEvents.d.ts +4 -0
- package/_types/actions/public/getContractEvents.d.ts.map +1 -1
- package/_types/actions/public/getFeeHistory.d.ts +4 -0
- package/_types/actions/public/getFeeHistory.d.ts.map +1 -1
- package/_types/actions/public/getFilterChanges.d.ts +5 -0
- package/_types/actions/public/getFilterChanges.d.ts.map +1 -1
- package/_types/actions/public/getFilterLogs.d.ts +5 -0
- package/_types/actions/public/getFilterLogs.d.ts.map +1 -1
- package/_types/actions/public/getGasPrice.d.ts +3 -0
- package/_types/actions/public/getGasPrice.d.ts.map +1 -1
- package/_types/actions/public/getLogs.d.ts +7 -0
- package/_types/actions/public/getLogs.d.ts.map +1 -1
- package/_types/actions/public/getStorageAt.d.ts +4 -0
- package/_types/actions/public/getStorageAt.d.ts.map +1 -1
- package/_types/actions/public/getTransaction.d.ts +4 -0
- package/_types/actions/public/getTransaction.d.ts.map +1 -1
- package/_types/actions/public/getTransactionConfirmations.d.ts +4 -0
- package/_types/actions/public/getTransactionConfirmations.d.ts.map +1 -1
- package/_types/actions/public/getTransactionCount.d.ts +5 -0
- package/_types/actions/public/getTransactionCount.d.ts.map +1 -1
- package/_types/actions/public/getTransactionReceipt.d.ts +4 -0
- package/_types/actions/public/getTransactionReceipt.d.ts.map +1 -1
- package/_types/actions/public/multicall.d.ts +7 -0
- package/_types/actions/public/multicall.d.ts.map +1 -1
- package/_types/actions/public/readContract.d.ts +5 -1
- package/_types/actions/public/readContract.d.ts.map +1 -1
- package/_types/actions/public/simulateContract.d.ts +7 -1
- package/_types/actions/public/simulateContract.d.ts.map +1 -1
- package/_types/actions/public/uninstallFilter.d.ts +3 -0
- package/_types/actions/public/uninstallFilter.d.ts.map +1 -1
- package/_types/actions/public/verifyHash.d.ts +7 -1
- package/_types/actions/public/verifyHash.d.ts.map +1 -1
- package/_types/actions/public/verifyMessage.d.ts +4 -1
- package/_types/actions/public/verifyMessage.d.ts.map +1 -1
- package/_types/actions/public/verifyTypedData.d.ts +4 -1
- package/_types/actions/public/verifyTypedData.d.ts.map +1 -1
- package/_types/actions/public/waitForTransactionReceipt.d.ts +7 -1
- package/_types/actions/public/waitForTransactionReceipt.d.ts.map +1 -1
- package/_types/actions/public/watchBlockNumber.d.ts +3 -0
- package/_types/actions/public/watchBlockNumber.d.ts.map +1 -1
- package/_types/actions/public/watchBlocks.d.ts +4 -0
- package/_types/actions/public/watchBlocks.d.ts.map +1 -1
- package/_types/actions/public/watchContractEvent.d.ts +5 -1
- package/_types/actions/public/watchContractEvent.d.ts.map +1 -1
- package/_types/actions/public/watchEvent.d.ts +4 -0
- package/_types/actions/public/watchEvent.d.ts.map +1 -1
- package/_types/actions/public/watchPendingTransactions.d.ts +4 -0
- package/_types/actions/public/watchPendingTransactions.d.ts.map +1 -1
- package/_types/actions/test/dropTransaction.d.ts +3 -0
- package/_types/actions/test/dropTransaction.d.ts.map +1 -1
- package/_types/actions/test/getAutomine.d.ts +3 -0
- package/_types/actions/test/getAutomine.d.ts.map +1 -1
- package/_types/actions/test/getTxpoolContent.d.ts +3 -0
- package/_types/actions/test/getTxpoolContent.d.ts.map +1 -1
- package/_types/actions/test/getTxpoolStatus.d.ts +3 -0
- package/_types/actions/test/getTxpoolStatus.d.ts.map +1 -1
- package/_types/actions/test/impersonateAccount.d.ts +3 -0
- package/_types/actions/test/impersonateAccount.d.ts.map +1 -1
- package/_types/actions/test/increaseTime.d.ts +3 -0
- package/_types/actions/test/increaseTime.d.ts.map +1 -1
- package/_types/actions/test/inspectTxpool.d.ts +3 -0
- package/_types/actions/test/inspectTxpool.d.ts.map +1 -1
- package/_types/actions/test/mine.d.ts +3 -0
- package/_types/actions/test/mine.d.ts.map +1 -1
- package/_types/actions/test/removeBlockTimestampInterval.d.ts +3 -0
- package/_types/actions/test/removeBlockTimestampInterval.d.ts.map +1 -1
- package/_types/actions/test/reset.d.ts +3 -0
- package/_types/actions/test/reset.d.ts.map +1 -1
- package/_types/actions/test/revert.d.ts +3 -0
- package/_types/actions/test/revert.d.ts.map +1 -1
- package/_types/actions/test/sendUnsignedTransaction.d.ts +3 -0
- package/_types/actions/test/sendUnsignedTransaction.d.ts.map +1 -1
- package/_types/actions/test/setAutomine.d.ts +3 -0
- package/_types/actions/test/setAutomine.d.ts.map +1 -1
- package/_types/actions/test/setBalance.d.ts +3 -0
- package/_types/actions/test/setBalance.d.ts.map +1 -1
- package/_types/actions/test/setBlockGasLimit.d.ts +3 -0
- package/_types/actions/test/setBlockGasLimit.d.ts.map +1 -1
- package/_types/actions/test/setBlockTimestampInterval.d.ts +3 -0
- package/_types/actions/test/setBlockTimestampInterval.d.ts.map +1 -1
- package/_types/actions/test/setCode.d.ts +3 -0
- package/_types/actions/test/setCode.d.ts.map +1 -1
- package/_types/actions/test/setCoinbase.d.ts +3 -0
- package/_types/actions/test/setCoinbase.d.ts.map +1 -1
- package/_types/actions/test/setIntervalMining.d.ts +3 -0
- package/_types/actions/test/setIntervalMining.d.ts.map +1 -1
- package/_types/actions/test/setLoggingEnabled.d.ts +3 -0
- package/_types/actions/test/setLoggingEnabled.d.ts.map +1 -1
- package/_types/actions/test/setMinGasPrice.d.ts +3 -0
- package/_types/actions/test/setMinGasPrice.d.ts.map +1 -1
- package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts +3 -0
- package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts.map +1 -1
- package/_types/actions/test/setNextBlockTimestamp.d.ts +3 -0
- package/_types/actions/test/setNextBlockTimestamp.d.ts.map +1 -1
- package/_types/actions/test/setNonce.d.ts +3 -0
- package/_types/actions/test/setNonce.d.ts.map +1 -1
- package/_types/actions/test/setRpcUrl.d.ts +3 -0
- package/_types/actions/test/setRpcUrl.d.ts.map +1 -1
- package/_types/actions/test/setStorageAt.d.ts +3 -0
- package/_types/actions/test/setStorageAt.d.ts.map +1 -1
- package/_types/actions/test/snapshot.d.ts +3 -0
- package/_types/actions/test/snapshot.d.ts.map +1 -1
- package/_types/actions/test/stopImpersonatingAccount.d.ts +3 -0
- package/_types/actions/test/stopImpersonatingAccount.d.ts.map +1 -1
- package/_types/actions/wallet/addChain.d.ts +4 -0
- package/_types/actions/wallet/addChain.d.ts.map +1 -1
- package/_types/actions/wallet/deployContract.d.ts +3 -1
- package/_types/actions/wallet/deployContract.d.ts.map +1 -1
- package/_types/actions/wallet/getAddresses.d.ts +4 -0
- package/_types/actions/wallet/getAddresses.d.ts.map +1 -1
- package/_types/actions/wallet/getPermissions.d.ts +3 -0
- package/_types/actions/wallet/getPermissions.d.ts.map +1 -1
- package/_types/actions/wallet/prepareTransactionRequest.d.ts +8 -0
- package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
- package/_types/actions/wallet/requestAddresses.d.ts +3 -0
- package/_types/actions/wallet/requestAddresses.d.ts.map +1 -1
- package/_types/actions/wallet/requestPermissions.d.ts +3 -0
- package/_types/actions/wallet/requestPermissions.d.ts.map +1 -1
- package/_types/actions/wallet/sendRawTransaction.d.ts +3 -0
- package/_types/actions/wallet/sendRawTransaction.d.ts.map +1 -1
- package/_types/actions/wallet/sendTransaction.d.ts +11 -0
- package/_types/actions/wallet/sendTransaction.d.ts.map +1 -1
- package/_types/actions/wallet/signMessage.d.ts +6 -0
- package/_types/actions/wallet/signMessage.d.ts.map +1 -1
- package/_types/actions/wallet/signTransaction.d.ts +9 -0
- package/_types/actions/wallet/signTransaction.d.ts.map +1 -1
- package/_types/actions/wallet/signTypedData.d.ts +9 -0
- package/_types/actions/wallet/signTypedData.d.ts.map +1 -1
- package/_types/actions/wallet/switchChain.d.ts +4 -0
- package/_types/actions/wallet/switchChain.d.ts.map +1 -1
- package/_types/actions/wallet/watchAsset.d.ts +3 -0
- package/_types/actions/wallet/watchAsset.d.ts.map +1 -1
- package/_types/actions/wallet/writeContract.d.ts +4 -1
- package/_types/actions/wallet/writeContract.d.ts.map +1 -1
- package/_types/chains/definitions/holesky.d.ts +6 -1
- package/_types/chains/definitions/holesky.d.ts.map +1 -1
- package/_types/clients/createClient.d.ts +3 -0
- package/_types/clients/createClient.d.ts.map +1 -1
- package/_types/clients/createPublicClient.d.ts +3 -1
- package/_types/clients/createPublicClient.d.ts.map +1 -1
- package/_types/clients/createTestClient.d.ts +3 -1
- package/_types/clients/createTestClient.d.ts.map +1 -1
- package/_types/clients/createWalletClient.d.ts +3 -1
- package/_types/clients/createWalletClient.d.ts.map +1 -1
- package/_types/clients/transports/createTransport.d.ts +2 -0
- package/_types/clients/transports/createTransport.d.ts.map +1 -1
- package/_types/clients/transports/custom.d.ts +3 -1
- package/_types/clients/transports/custom.d.ts.map +1 -1
- package/_types/clients/transports/fallback.d.ts +3 -1
- package/_types/clients/transports/fallback.d.ts.map +1 -1
- package/_types/clients/transports/http.d.ts +4 -1
- package/_types/clients/transports/http.d.ts.map +1 -1
- package/_types/clients/transports/webSocket.d.ts +4 -1
- package/_types/clients/transports/webSocket.d.ts.map +1 -1
- package/_types/contract/index.d.ts +25 -25
- package/_types/contract/index.d.ts.map +1 -1
- package/_types/ens/index.d.ts +8 -8
- package/_types/ens/index.d.ts.map +1 -1
- package/_types/errors/abi.d.ts +75 -0
- package/_types/errors/abi.d.ts.map +1 -1
- package/_types/errors/account.d.ts +3 -0
- package/_types/errors/account.d.ts.map +1 -1
- package/_types/errors/address.d.ts +3 -0
- package/_types/errors/address.d.ts.map +1 -1
- package/_types/errors/base.d.ts +3 -0
- package/_types/errors/base.d.ts.map +1 -1
- package/_types/errors/block.d.ts +3 -0
- package/_types/errors/block.d.ts.map +1 -1
- package/_types/errors/ccip.d.ts +9 -0
- package/_types/errors/ccip.d.ts.map +1 -1
- package/_types/errors/chain.d.ts +15 -0
- package/_types/errors/chain.d.ts.map +1 -1
- package/_types/errors/contract.d.ts +15 -0
- package/_types/errors/contract.d.ts.map +1 -1
- package/_types/errors/cursor.d.ts +6 -0
- package/_types/errors/cursor.d.ts.map +1 -1
- package/_types/errors/data.d.ts +6 -0
- package/_types/errors/data.d.ts.map +1 -1
- package/_types/errors/encoding.d.ts +26 -2
- package/_types/errors/encoding.d.ts.map +1 -1
- package/_types/errors/ens.d.ts +12 -0
- package/_types/errors/ens.d.ts.map +1 -1
- package/_types/errors/estimateGas.d.ts +3 -0
- package/_types/errors/estimateGas.d.ts.map +1 -1
- package/_types/errors/fee.d.ts +9 -0
- package/_types/errors/fee.d.ts.map +1 -1
- package/_types/errors/log.d.ts +3 -0
- package/_types/errors/log.d.ts.map +1 -1
- package/_types/errors/node.d.ts +37 -0
- package/_types/errors/node.d.ts.map +1 -1
- package/_types/errors/request.d.ts +12 -0
- package/_types/errors/request.d.ts.map +1 -1
- package/_types/errors/rpc.d.ts +81 -0
- package/_types/errors/rpc.d.ts.map +1 -1
- package/_types/errors/transaction.d.ts +30 -0
- package/_types/errors/transaction.d.ts.map +1 -1
- package/_types/errors/transport.d.ts +3 -0
- package/_types/errors/transport.d.ts.map +1 -1
- package/_types/errors/utils.d.ts +3 -0
- package/_types/errors/utils.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/index.d.ts +176 -174
- package/_types/index.d.ts.map +1 -1
- package/_types/public/index.d.ts +27 -27
- package/_types/public/index.d.ts.map +1 -1
- package/_types/test/index.d.ts +28 -28
- package/_types/test/index.d.ts.map +1 -1
- package/_types/types/eip1193.d.ts +3 -0
- package/_types/types/eip1193.d.ts.map +1 -1
- package/_types/utils/abi/decodeAbiParameters.d.ts +20 -0
- package/_types/utils/abi/decodeAbiParameters.d.ts.map +1 -1
- package/_types/utils/abi/decodeDeployData.d.ts +4 -0
- package/_types/utils/abi/decodeDeployData.d.ts.map +1 -1
- package/_types/utils/abi/decodeErrorResult.d.ts +6 -0
- package/_types/utils/abi/decodeErrorResult.d.ts.map +1 -1
- package/_types/utils/abi/decodeEventLog.d.ts +6 -0
- package/_types/utils/abi/decodeEventLog.d.ts.map +1 -1
- package/_types/utils/abi/decodeFunctionData.d.ts +7 -0
- package/_types/utils/abi/decodeFunctionData.d.ts.map +1 -1
- package/_types/utils/abi/decodeFunctionResult.d.ts +5 -0
- package/_types/utils/abi/decodeFunctionResult.d.ts.map +1 -1
- package/_types/utils/abi/encodeAbiParameters.d.ts +21 -0
- package/_types/utils/abi/encodeAbiParameters.d.ts.map +1 -1
- package/_types/utils/abi/encodeDeployData.d.ts +5 -0
- package/_types/utils/abi/encodeDeployData.d.ts.map +1 -1
- package/_types/utils/abi/encodeErrorResult.d.ts +7 -0
- package/_types/utils/abi/encodeErrorResult.d.ts.map +1 -1
- package/_types/utils/abi/encodeEventTopics.d.ts +11 -0
- package/_types/utils/abi/encodeEventTopics.d.ts.map +1 -1
- package/_types/utils/abi/encodeFunctionData.d.ts +8 -0
- package/_types/utils/abi/encodeFunctionData.d.ts.map +1 -1
- package/_types/utils/abi/encodeFunctionResult.d.ts +5 -0
- package/_types/utils/abi/encodeFunctionResult.d.ts.map +1 -1
- package/_types/utils/abi/encodePacked.d.ts +9 -0
- package/_types/utils/abi/encodePacked.d.ts.map +1 -1
- package/_types/utils/abi/formatAbiItem.d.ts +5 -0
- package/_types/utils/abi/formatAbiItem.d.ts.map +1 -1
- package/_types/utils/abi/formatAbiItemWithArgs.d.ts +2 -0
- package/_types/utils/abi/formatAbiItemWithArgs.d.ts.map +1 -1
- package/_types/utils/abi/getAbiItem.d.ts +6 -0
- package/_types/utils/abi/getAbiItem.d.ts.map +1 -1
- package/_types/utils/address/getAddress.d.ts +6 -0
- package/_types/utils/address/getAddress.d.ts.map +1 -1
- package/_types/utils/address/getContractAddress.d.ts +11 -0
- package/_types/utils/address/getContractAddress.d.ts.map +1 -1
- package/_types/utils/address/isAddress.d.ts +2 -0
- package/_types/utils/address/isAddress.d.ts.map +1 -1
- package/_types/utils/address/isAddressEqual.d.ts +4 -0
- package/_types/utils/address/isAddressEqual.d.ts.map +1 -1
- package/_types/utils/buildRequest.d.ts +8 -0
- package/_types/utils/buildRequest.d.ts.map +1 -1
- package/_types/utils/ccip.d.ts +3 -0
- package/_types/utils/ccip.d.ts.map +1 -1
- package/_types/utils/chain.d.ts +4 -0
- package/_types/utils/chain.d.ts.map +1 -1
- package/_types/utils/contract/extractFunctionParts.d.ts +5 -0
- package/_types/utils/contract/extractFunctionParts.d.ts.map +1 -1
- package/_types/utils/cursor.d.ts +7 -0
- package/_types/utils/cursor.d.ts.map +1 -1
- package/_types/utils/data/concat.d.ts +4 -0
- package/_types/utils/data/concat.d.ts.map +1 -1
- package/_types/utils/data/isBytes.d.ts +2 -0
- package/_types/utils/data/isBytes.d.ts.map +1 -1
- package/_types/utils/data/isBytesEqual.d.ts +4 -0
- package/_types/utils/data/isBytesEqual.d.ts.map +1 -1
- package/_types/utils/data/isHex.d.ts +2 -0
- package/_types/utils/data/isHex.d.ts.map +1 -1
- package/_types/utils/data/pad.d.ts +5 -0
- package/_types/utils/data/pad.d.ts.map +1 -1
- package/_types/utils/data/size.d.ts +3 -0
- package/_types/utils/data/size.d.ts.map +1 -1
- package/_types/utils/data/slice.d.ts +9 -0
- package/_types/utils/data/slice.d.ts.map +1 -1
- package/_types/utils/data/trim.d.ts +2 -0
- package/_types/utils/data/trim.d.ts.map +1 -1
- package/_types/utils/encoding/fromBytes.d.ts +13 -5
- package/_types/utils/encoding/fromBytes.d.ts.map +1 -1
- package/_types/utils/encoding/fromHex.d.ts +11 -0
- package/_types/utils/encoding/fromHex.d.ts.map +1 -1
- package/_types/utils/encoding/fromRlp.d.ts +12 -0
- package/_types/utils/encoding/fromRlp.d.ts.map +1 -1
- package/_types/utils/encoding/toBytes.d.ts +12 -3
- package/_types/utils/encoding/toBytes.d.ts.map +1 -1
- package/_types/utils/encoding/toHex.d.ts +9 -0
- package/_types/utils/encoding/toHex.d.ts.map +1 -1
- package/_types/utils/encoding/toRlp.d.ts +7 -0
- package/_types/utils/encoding/toRlp.d.ts.map +1 -1
- package/_types/utils/ens/avatar/parseAvatarRecord.d.ts +4 -0
- package/_types/utils/ens/avatar/parseAvatarRecord.d.ts.map +1 -1
- package/_types/utils/ens/avatar/utils.d.ts +11 -0
- package/_types/utils/ens/avatar/utils.d.ts.map +1 -1
- package/_types/utils/ens/encodeLabelhash.d.ts +2 -0
- package/_types/utils/ens/encodeLabelhash.d.ts.map +1 -1
- package/_types/utils/ens/encodedLabelToLabelhash.d.ts +3 -0
- package/_types/utils/ens/encodedLabelToLabelhash.d.ts.map +1 -1
- package/_types/utils/ens/errors.d.ts +2 -0
- package/_types/utils/ens/errors.d.ts.map +1 -1
- package/_types/utils/ens/labelhash.d.ts +6 -0
- package/_types/utils/ens/labelhash.d.ts.map +1 -1
- package/_types/utils/ens/namehash.d.ts +7 -0
- package/_types/utils/ens/namehash.d.ts.map +1 -1
- package/_types/utils/ens/normalize.d.ts +2 -0
- package/_types/utils/ens/normalize.d.ts.map +1 -1
- package/_types/utils/ens/packetToBytes.d.ts +5 -0
- package/_types/utils/ens/packetToBytes.d.ts.map +1 -1
- package/_types/utils/errors/getCallError.d.ts +8 -4
- package/_types/utils/errors/getCallError.d.ts.map +1 -1
- package/_types/utils/errors/getContractError.d.ts +7 -4
- package/_types/utils/errors/getContractError.d.ts.map +1 -1
- package/_types/utils/errors/getEstimateGasError.d.ts +8 -4
- package/_types/utils/errors/getEstimateGasError.d.ts.map +1 -1
- package/_types/utils/errors/getNodeError.d.ts +3 -2
- package/_types/utils/errors/getNodeError.d.ts.map +1 -1
- package/_types/utils/errors/getTransactionError.d.ts +7 -3
- package/_types/utils/errors/getTransactionError.d.ts.map +1 -1
- package/_types/utils/formatters/block.d.ts +4 -0
- package/_types/utils/formatters/block.d.ts.map +1 -1
- package/_types/utils/formatters/extract.d.ts +2 -0
- package/_types/utils/formatters/extract.d.ts.map +1 -1
- package/_types/utils/formatters/feeHistory.d.ts +2 -0
- package/_types/utils/formatters/feeHistory.d.ts.map +1 -1
- package/_types/utils/formatters/formatter.d.ts +2 -0
- package/_types/utils/formatters/formatter.d.ts.map +1 -1
- package/_types/utils/formatters/log.d.ts +2 -0
- package/_types/utils/formatters/log.d.ts.map +1 -1
- package/_types/utils/formatters/transaction.d.ts +4 -0
- package/_types/utils/formatters/transaction.d.ts.map +1 -1
- package/_types/utils/formatters/transactionReceipt.d.ts +4 -0
- package/_types/utils/formatters/transactionReceipt.d.ts.map +1 -1
- package/_types/utils/formatters/transactionRequest.d.ts +4 -0
- package/_types/utils/formatters/transactionRequest.d.ts.map +1 -1
- package/_types/utils/hash/getEventSelector.d.ts +4 -0
- package/_types/utils/hash/getEventSelector.d.ts.map +1 -1
- package/_types/utils/hash/getEventSignature.d.ts +3 -0
- package/_types/utils/hash/getEventSignature.d.ts.map +1 -1
- package/_types/utils/hash/getFunctionSelector.d.ts +6 -0
- package/_types/utils/hash/getFunctionSelector.d.ts.map +1 -1
- package/_types/utils/hash/getFunctionSignature.d.ts +4 -0
- package/_types/utils/hash/getFunctionSignature.d.ts.map +1 -1
- package/_types/utils/hash/hashFunction.d.ts +7 -0
- package/_types/utils/hash/hashFunction.d.ts.map +1 -1
- package/_types/utils/hash/isHash.d.ts +4 -0
- package/_types/utils/hash/isHash.d.ts.map +1 -1
- package/_types/utils/hash/keccak256.d.ts +5 -0
- package/_types/utils/hash/keccak256.d.ts.map +1 -1
- package/_types/utils/index.d.ts +80 -78
- package/_types/utils/index.d.ts.map +1 -1
- package/_types/utils/observe.d.ts +2 -0
- package/_types/utils/observe.d.ts.map +1 -1
- package/_types/utils/poll.d.ts +2 -0
- package/_types/utils/poll.d.ts.map +1 -1
- package/_types/utils/promise/createBatchScheduler.d.ts +2 -0
- package/_types/utils/promise/createBatchScheduler.d.ts.map +1 -1
- package/_types/utils/promise/withCache.d.ts +2 -0
- package/_types/utils/promise/withCache.d.ts.map +1 -1
- package/_types/utils/promise/withRetry.d.ts +2 -0
- package/_types/utils/promise/withRetry.d.ts.map +1 -1
- package/_types/utils/promise/withTimeout.d.ts +2 -0
- package/_types/utils/promise/withTimeout.d.ts.map +1 -1
- package/_types/utils/rpc.d.ts +8 -0
- package/_types/utils/rpc.d.ts.map +1 -1
- package/_types/utils/signature/hashMessage.d.ts +5 -0
- package/_types/utils/signature/hashMessage.d.ts.map +1 -1
- package/_types/utils/signature/hashTypedData.d.ts +13 -0
- package/_types/utils/signature/hashTypedData.d.ts.map +1 -1
- package/_types/utils/signature/hexToSignature.d.ts +3 -0
- package/_types/utils/signature/hexToSignature.d.ts.map +1 -1
- package/_types/utils/signature/recoverAddress.d.ts +2 -0
- package/_types/utils/signature/recoverAddress.d.ts.map +1 -1
- package/_types/utils/signature/recoverMessageAddress.d.ts +4 -0
- package/_types/utils/signature/recoverMessageAddress.d.ts.map +1 -1
- package/_types/utils/signature/recoverPublicKey.d.ts +4 -0
- package/_types/utils/signature/recoverPublicKey.d.ts.map +1 -1
- package/_types/utils/signature/recoverTypedDataAddress.d.ts +4 -0
- package/_types/utils/signature/recoverTypedDataAddress.d.ts.map +1 -1
- package/_types/utils/signature/signatureToHex.d.ts +4 -0
- package/_types/utils/signature/signatureToHex.d.ts.map +1 -1
- package/_types/utils/signature/verifyMessage.d.ts +5 -0
- package/_types/utils/signature/verifyMessage.d.ts.map +1 -1
- package/_types/utils/signature/verifyTypedData.d.ts +5 -0
- package/_types/utils/signature/verifyTypedData.d.ts.map +1 -1
- package/_types/utils/stringify.d.ts +2 -0
- package/_types/utils/stringify.d.ts.map +1 -1
- package/_types/utils/transaction/assertRequest.d.ts +6 -0
- package/_types/utils/transaction/assertRequest.d.ts.map +1 -1
- package/_types/utils/transaction/assertTransaction.d.ts +9 -0
- package/_types/utils/transaction/assertTransaction.d.ts.map +1 -1
- package/_types/utils/transaction/getSerializedTransactionType.d.ts +5 -0
- package/_types/utils/transaction/getSerializedTransactionType.d.ts.map +1 -1
- package/_types/utils/transaction/getTransactionType.d.ts +3 -0
- package/_types/utils/transaction/getTransactionType.d.ts.map +1 -1
- package/_types/utils/transaction/parseTransaction.d.ts +18 -1
- package/_types/utils/transaction/parseTransaction.d.ts.map +1 -1
- package/_types/utils/transaction/serializeAccessList.d.ts +5 -0
- package/_types/utils/transaction/serializeAccessList.d.ts.map +1 -1
- package/_types/utils/transaction/serializeTransaction.d.ts +13 -1
- package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -1
- package/_types/utils/typedData.d.ts +8 -0
- package/_types/utils/typedData.d.ts.map +1 -1
- package/_types/utils/unit/formatEther.d.ts +2 -0
- package/_types/utils/unit/formatEther.d.ts.map +1 -1
- package/_types/utils/unit/formatGwei.d.ts +2 -0
- package/_types/utils/unit/formatGwei.d.ts.map +1 -1
- package/_types/utils/unit/formatUnits.d.ts +2 -0
- package/_types/utils/unit/formatUnits.d.ts.map +1 -1
- package/_types/utils/unit/parseEther.d.ts +3 -0
- package/_types/utils/unit/parseEther.d.ts.map +1 -1
- package/_types/utils/unit/parseGwei.d.ts +3 -0
- package/_types/utils/unit/parseGwei.d.ts.map +1 -1
- package/_types/utils/unit/parseUnits.d.ts +2 -0
- package/_types/utils/unit/parseUnits.d.ts.map +1 -1
- package/abi/index.ts +7 -1
- package/accounts/generateMnemonic.ts +3 -0
- package/accounts/generatePrivateKey.ts +4 -1
- package/accounts/hdKeyToAccount.ts +11 -2
- package/accounts/index.ts +46 -11
- package/accounts/mnemonicToAccount.ts +7 -1
- package/accounts/privateKeyToAccount.ts +25 -6
- package/accounts/toAccount.ts +14 -2
- package/accounts/utils/parseAccount.ts +3 -0
- package/accounts/utils/privateKeyToAddress.ts +14 -2
- package/accounts/utils/publicKeyToAddress.ts +14 -2
- package/accounts/utils/sign.ts +5 -1
- package/accounts/utils/signMessage.ts +17 -3
- package/accounts/utils/signTransaction.ts +12 -2
- package/accounts/utils/signTypedData.ts +16 -3
- package/actions/ens/getEnsAddress.ts +30 -7
- package/actions/ens/getEnsAvatar.ts +15 -2
- package/actions/ens/getEnsName.ts +18 -3
- package/actions/ens/getEnsResolver.ts +16 -3
- package/actions/ens/getEnsText.ts +28 -6
- package/actions/getContract.ts +3 -0
- package/actions/index.ts +111 -10
- package/actions/public/call.ts +60 -10
- package/actions/public/createBlockFilter.ts +4 -0
- package/actions/public/createContractEventFilter.ts +13 -1
- package/actions/public/createEventFilter.ts +13 -1
- package/actions/public/createPendingTransactionFilter.ts +6 -0
- package/actions/public/estimateContractGas.ts +21 -4
- package/actions/public/estimateFeesPerGas.ts +15 -2
- package/actions/public/estimateGas.ts +21 -3
- package/actions/public/estimateMaxPriorityFeePerGas.ts +22 -4
- package/actions/public/getBalance.ts +11 -1
- package/actions/public/getBlock.ts +16 -2
- package/actions/public/getBlockNumber.ts +4 -0
- package/actions/public/getBlockTransactionCount.ts +16 -2
- package/actions/public/getBytecode.ts +11 -1
- package/actions/public/getChainId.ts +11 -1
- package/actions/public/getContractEvents.ts +12 -2
- package/actions/public/getFeeHistory.ts +14 -2
- package/actions/public/getFilterChanges.ts +16 -2
- package/actions/public/getFilterLogs.ts +16 -2
- package/actions/public/getGasPrice.ts +4 -0
- package/actions/public/getLogs.ts +23 -3
- package/actions/public/getStorageAt.ts +11 -1
- package/actions/public/getTransaction.ts +11 -1
- package/actions/public/getTransactionConfirmations.ts +14 -2
- package/actions/public/getTransactionCount.ts +16 -2
- package/actions/public/getTransactionReceipt.ts +11 -1
- package/actions/public/multicall.ts +27 -5
- package/actions/public/readContract.ts +18 -4
- package/actions/public/simulateContract.ts +24 -5
- package/actions/public/uninstallFilter.ts +4 -0
- package/actions/public/verifyHash.ts +17 -2
- package/actions/public/verifyMessage.ts +12 -1
- package/actions/public/verifyTypedData.ts +15 -2
- package/actions/public/waitForTransactionReceipt.ts +17 -3
- package/actions/public/watchBlockNumber.ts +4 -1
- package/actions/public/watchBlocks.ts +8 -2
- package/actions/public/watchContractEvent.ts +12 -5
- package/actions/public/watchEvent.ts +8 -2
- package/actions/public/watchPendingTransactions.ts +8 -2
- package/actions/test/dropTransaction.ts +4 -0
- package/actions/test/getAutomine.ts +4 -0
- package/actions/test/getTxpoolContent.ts +4 -0
- package/actions/test/getTxpoolStatus.ts +4 -0
- package/actions/test/impersonateAccount.ts +4 -0
- package/actions/test/increaseTime.ts +4 -0
- package/actions/test/inspectTxpool.ts +4 -0
- package/actions/test/mine.ts +4 -0
- package/actions/test/removeBlockTimestampInterval.ts +4 -0
- package/actions/test/reset.ts +4 -0
- package/actions/test/revert.ts +4 -0
- package/actions/test/sendUnsignedTransaction.ts +4 -0
- package/actions/test/setAutomine.ts +4 -0
- package/actions/test/setBalance.ts +4 -0
- package/actions/test/setBlockGasLimit.ts +4 -0
- package/actions/test/setBlockTimestampInterval.ts +10 -1
- package/actions/test/setCode.ts +4 -0
- package/actions/test/setCoinbase.ts +4 -0
- package/actions/test/setIntervalMining.ts +10 -1
- package/actions/test/setLoggingEnabled.ts +4 -0
- package/actions/test/setMinGasPrice.ts +4 -0
- package/actions/test/setNextBlockBaseFeePerGas.ts +4 -0
- package/actions/test/setNextBlockTimestamp.ts +4 -0
- package/actions/test/setNonce.ts +4 -0
- package/actions/test/setRpcUrl.ts +4 -0
- package/actions/test/setStorageAt.ts +4 -0
- package/actions/test/snapshot.ts +4 -0
- package/actions/test/stopImpersonatingAccount.ts +4 -0
- package/actions/wallet/addChain.ts +11 -1
- package/actions/wallet/deployContract.ts +4 -0
- package/actions/wallet/getAddresses.ts +11 -1
- package/actions/wallet/getPermissions.ts +4 -0
- package/actions/wallet/prepareTransactionRequest.ts +34 -6
- package/actions/wallet/requestAddresses.ts +4 -0
- package/actions/wallet/requestPermissions.ts +4 -0
- package/actions/wallet/sendRawTransaction.ts +4 -0
- package/actions/wallet/sendTransaction.ts +38 -6
- package/actions/wallet/signMessage.ts +19 -2
- package/actions/wallet/signTransaction.ts +27 -4
- package/actions/wallet/signTypedData.ts +26 -4
- package/actions/wallet/switchChain.ts +11 -1
- package/actions/wallet/watchAsset.ts +3 -0
- package/actions/wallet/writeContract.ts +11 -1
- package/chains/definitions/holesky.ts +6 -1
- package/clients/createClient.ts +4 -0
- package/clients/createPublicClient.ts +9 -1
- package/clients/createTestClient.ts +9 -1
- package/clients/createWalletClient.ts +9 -1
- package/clients/transports/createTransport.ts +3 -0
- package/clients/transports/custom.ts +4 -0
- package/clients/transports/fallback.ts +4 -0
- package/clients/transports/http.ts +11 -1
- package/clients/transports/webSocket.ts +11 -1
- package/contract/index.ts +31 -2
- package/ens/index.ts +8 -3
- package/errors/abi.ts +87 -0
- package/errors/account.ts +3 -0
- package/errors/address.ts +3 -0
- package/errors/base.ts +1 -0
- package/errors/block.ts +3 -0
- package/errors/ccip.ts +11 -0
- package/errors/chain.ts +17 -0
- package/errors/contract.ts +18 -0
- package/errors/cursor.ts +6 -0
- package/errors/data.ts +6 -0
- package/errors/encoding.ts +26 -2
- package/errors/ens.ts +14 -0
- package/errors/estimateGas.ts +3 -0
- package/errors/fee.ts +9 -0
- package/errors/log.ts +3 -0
- package/errors/node.ts +38 -1
- package/errors/request.ts +12 -0
- package/errors/rpc.ts +81 -0
- package/errors/transaction.ts +35 -0
- package/errors/transport.ts +3 -0
- package/errors/utils.ts +2 -0
- package/errors/version.ts +1 -1
- package/index.ts +549 -80
- package/package.json +1 -1
- package/public/index.ts +34 -1
- package/test/index.ts +60 -10
- package/types/eip1193.ts +3 -0
- package/utils/abi/decodeAbiParameters.ts +70 -5
- package/utils/abi/decodeDeployData.ts +13 -1
- package/utils/abi/decodeErrorResult.ts +21 -5
- package/utils/abi/decodeEventLog.ts +26 -3
- package/utils/abi/decodeFunctionData.ts +19 -5
- package/utils/abi/decodeFunctionResult.ts +15 -2
- package/utils/abi/encodeAbiParameters.ts +87 -7
- package/utils/abi/encodeDeployData.ts +13 -3
- package/utils/abi/encodeErrorResult.ts +20 -5
- package/utils/abi/encodeEventTopics.ts +36 -9
- package/utils/abi/encodeFunctionData.ts +25 -6
- package/utils/abi/encodeFunctionResult.ts +13 -2
- package/utils/abi/encodePacked.ts +35 -5
- package/utils/abi/formatAbiItem.ts +14 -1
- package/utils/abi/formatAbiItemWithArgs.ts +3 -0
- package/utils/abi/getAbiItem.ts +16 -4
- package/utils/address/getAddress.ts +16 -3
- package/utils/address/getContractAddress.ts +27 -8
- package/utils/address/isAddress.ts +3 -0
- package/utils/address/isAddressEqual.ts +8 -2
- package/utils/buildRequest.ts +62 -2
- package/utils/ccip.ts +5 -0
- package/utils/chain.ts +12 -0
- package/utils/contract/extractFunctionParts.ts +10 -0
- package/utils/cursor.ts +15 -0
- package/utils/data/concat.ts +10 -0
- package/utils/data/isBytes.ts +3 -0
- package/utils/data/isBytesEqual.ts +8 -2
- package/utils/data/isHex.ts +3 -0
- package/utils/data/pad.ts +11 -1
- package/utils/data/size.ts +4 -1
- package/utils/data/slice.ts +33 -3
- package/utils/data/trim.ts +3 -0
- package/utils/encoding/fromBytes.ts +44 -8
- package/utils/encoding/fromHex.ts +35 -3
- package/utils/encoding/fromRlp.ts +34 -5
- package/utils/encoding/toBytes.ts +36 -6
- package/utils/encoding/toHex.ts +25 -3
- package/utils/encoding/toRlp.ts +18 -3
- package/utils/ens/avatar/parseAvatarRecord.ts +21 -0
- package/utils/ens/avatar/utils.ts +41 -1
- package/utils/ens/encodeLabelhash.ts +3 -0
- package/utils/ens/encodedLabelToLabelhash.ts +4 -1
- package/utils/ens/errors.ts +3 -0
- package/utils/ens/labelhash.ts +18 -4
- package/utils/ens/namehash.ts +23 -5
- package/utils/ens/normalize.ts +3 -0
- package/utils/ens/packetToBytes.ts +16 -3
- package/utils/errors/getCallError.ts +29 -8
- package/utils/errors/getContractError.ts +35 -19
- package/utils/errors/getEstimateGasError.ts +27 -8
- package/utils/errors/getNodeError.ts +43 -14
- package/utils/errors/getTransactionError.ts +27 -8
- package/utils/formatters/block.ts +6 -1
- package/utils/formatters/extract.ts +3 -0
- package/utils/formatters/feeHistory.ts +3 -0
- package/utils/formatters/formatter.ts +3 -0
- package/utils/formatters/log.ts +3 -0
- package/utils/formatters/transaction.ts +6 -1
- package/utils/formatters/transactionReceipt.ts +8 -1
- package/utils/formatters/transactionRequest.ts +8 -1
- package/utils/hash/getEventSelector.ts +8 -2
- package/utils/hash/getEventSignature.ts +9 -1
- package/utils/hash/getFunctionSelector.ts +15 -4
- package/utils/hash/getFunctionSignature.ts +13 -1
- package/utils/hash/hashFunction.ts +23 -4
- package/utils/hash/isHash.ts +5 -2
- package/utils/hash/keccak256.ts +10 -3
- package/utils/index.ts +241 -45
- package/utils/observe.ts +3 -0
- package/utils/poll.ts +3 -0
- package/utils/promise/createBatchScheduler.ts +5 -0
- package/utils/promise/withCache.ts +4 -0
- package/utils/promise/withRetry.ts +3 -0
- package/utils/promise/withTimeout.ts +4 -0
- package/utils/rpc.ts +27 -3
- package/utils/signature/hashMessage.ts +16 -3
- package/utils/signature/hashTypedData.ts +46 -4
- package/utils/signature/hexToSignature.ts +7 -1
- package/utils/signature/recoverAddress.ts +4 -0
- package/utils/signature/recoverMessageAddress.ts +12 -2
- package/utils/signature/recoverPublicKey.ts +9 -2
- package/utils/signature/recoverTypedDataAddress.ts +12 -2
- package/utils/signature/signatureToHex.ts +11 -2
- package/utils/signature/verifyMessage.ts +16 -3
- package/utils/signature/verifyTypedData.ts +12 -2
- package/utils/stringify.ts +4 -0
- package/utils/transaction/assertRequest.ts +27 -4
- package/utils/transaction/assertTransaction.ts +42 -5
- package/utils/transaction/getSerializedTransactionType.ts +13 -3
- package/utils/transaction/getTransactionType.ts +9 -1
- package/utils/transaction/parseTransaction.ts +71 -6
- package/utils/transaction/serializeAccessList.ts +16 -3
- package/utils/transaction/serializeTransaction.ts +48 -5
- package/utils/typedData.ts +22 -4
- package/utils/unit/formatEther.ts +3 -1
- package/utils/unit/formatGwei.ts +3 -1
- package/utils/unit/formatUnits.ts +4 -0
- package/utils/unit/parseEther.ts +4 -1
- package/utils/unit/parseGwei.ts +4 -1
- package/utils/unit/parseUnits.ts +4 -0
package/index.ts
CHANGED
@@ -37,134 +37,196 @@ export {
|
|
37
37
|
|
38
38
|
export {
|
39
39
|
getContract,
|
40
|
+
type GetContractErrorType,
|
40
41
|
type GetContractParameters,
|
41
42
|
type GetContractReturnType,
|
42
43
|
} from './actions/getContract.js'
|
43
|
-
export { type AddChainParameters } from './actions/wallet/addChain.js'
|
44
44
|
export {
|
45
|
+
type AddChainErrorType,
|
46
|
+
type AddChainParameters,
|
47
|
+
} from './actions/wallet/addChain.js'
|
48
|
+
export {
|
49
|
+
type CallErrorType,
|
45
50
|
type CallParameters,
|
46
51
|
type CallReturnType,
|
47
52
|
} from './actions/public/call.js'
|
48
|
-
export type { CreateBlockFilterReturnType } from './actions/public/createBlockFilter.js'
|
49
53
|
export type {
|
54
|
+
CreateBlockFilterErrorType,
|
55
|
+
CreateBlockFilterReturnType,
|
56
|
+
} from './actions/public/createBlockFilter.js'
|
57
|
+
export type {
|
58
|
+
CreateContractEventFilterErrorType,
|
50
59
|
CreateContractEventFilterParameters,
|
51
60
|
CreateContractEventFilterReturnType,
|
52
61
|
} from './actions/public/createContractEventFilter.js'
|
53
62
|
export type {
|
63
|
+
CreateEventFilterErrorType,
|
54
64
|
CreateEventFilterParameters,
|
55
65
|
CreateEventFilterReturnType,
|
56
66
|
} from './actions/public/createEventFilter.js'
|
57
|
-
export type { CreatePendingTransactionFilterReturnType } from './actions/public/createPendingTransactionFilter.js'
|
58
67
|
export type {
|
68
|
+
CreatePendingTransactionFilterErrorType,
|
69
|
+
CreatePendingTransactionFilterReturnType,
|
70
|
+
} from './actions/public/createPendingTransactionFilter.js'
|
71
|
+
export type {
|
72
|
+
DeployContractErrorType,
|
59
73
|
DeployContractParameters,
|
60
74
|
DeployContractReturnType,
|
61
75
|
} from './actions/wallet/deployContract.js'
|
62
|
-
export type { DropTransactionParameters } from './actions/test/dropTransaction.js'
|
63
|
-
export type { GetAutomineReturnType } from './actions/test/getAutomine.js'
|
64
76
|
export type {
|
77
|
+
DropTransactionErrorType,
|
78
|
+
DropTransactionParameters,
|
79
|
+
} from './actions/test/dropTransaction.js'
|
80
|
+
export type {
|
81
|
+
GetAutomineErrorType,
|
82
|
+
GetAutomineReturnType,
|
83
|
+
} from './actions/test/getAutomine.js'
|
84
|
+
export type {
|
85
|
+
EstimateContractGasErrorType,
|
65
86
|
EstimateContractGasParameters,
|
66
87
|
EstimateContractGasReturnType,
|
67
88
|
} from './actions/public/estimateContractGas.js'
|
68
89
|
export type {
|
90
|
+
EstimateGasErrorType,
|
69
91
|
EstimateGasParameters,
|
70
92
|
EstimateGasReturnType,
|
71
93
|
} from './actions/public/estimateGas.js'
|
72
94
|
export type {
|
95
|
+
EstimateFeesPerGasErrorType,
|
73
96
|
EstimateFeesPerGasParameters,
|
74
97
|
EstimateFeesPerGasReturnType,
|
75
98
|
} from './actions/public/estimateFeesPerGas.js'
|
76
99
|
export type {
|
100
|
+
EstimateMaxPriorityFeePerGasErrorType,
|
77
101
|
EstimateMaxPriorityFeePerGasParameters,
|
78
102
|
EstimateMaxPriorityFeePerGasReturnType,
|
79
103
|
} from './actions/public/estimateMaxPriorityFeePerGas.js'
|
80
|
-
export type { GetAddressesReturnType } from './actions/wallet/getAddresses.js'
|
81
104
|
export type {
|
105
|
+
GetAddressesErrorType,
|
106
|
+
GetAddressesReturnType,
|
107
|
+
} from './actions/wallet/getAddresses.js'
|
108
|
+
export type {
|
109
|
+
GetBalanceErrorType,
|
82
110
|
GetBalanceParameters,
|
83
111
|
GetBalanceReturnType,
|
84
112
|
} from './actions/public/getBalance.js'
|
85
113
|
export type {
|
114
|
+
GetBlockNumberErrorType,
|
86
115
|
GetBlockNumberParameters,
|
87
116
|
GetBlockNumberReturnType,
|
88
117
|
} from './actions/public/getBlockNumber.js'
|
89
118
|
export type {
|
119
|
+
GetBlockErrorType,
|
90
120
|
GetBlockParameters,
|
91
121
|
GetBlockReturnType,
|
92
122
|
} from './actions/public/getBlock.js'
|
93
123
|
export type {
|
124
|
+
GetBlockTransactionCountErrorType,
|
94
125
|
GetBlockTransactionCountParameters,
|
95
126
|
GetBlockTransactionCountReturnType,
|
96
127
|
} from './actions/public/getBlockTransactionCount.js'
|
97
128
|
export type {
|
129
|
+
GetBytecodeErrorType,
|
98
130
|
GetBytecodeParameters,
|
99
131
|
GetBytecodeReturnType,
|
100
132
|
} from './actions/public/getBytecode.js'
|
101
|
-
export type { GetChainIdReturnType } from './actions/public/getChainId.js'
|
102
133
|
export type {
|
134
|
+
GetChainIdErrorType,
|
135
|
+
GetChainIdReturnType,
|
136
|
+
} from './actions/public/getChainId.js'
|
137
|
+
export type {
|
138
|
+
GetEnsAddressErrorType,
|
103
139
|
GetEnsAddressParameters,
|
104
140
|
GetEnsAddressReturnType,
|
105
141
|
} from './actions/ens/getEnsAddress.js'
|
106
142
|
export type {
|
143
|
+
GetEnsNameErrorType,
|
107
144
|
GetEnsNameParameters,
|
108
145
|
GetEnsNameReturnType,
|
109
146
|
} from './actions/ens/getEnsName.js'
|
110
147
|
export type {
|
148
|
+
GetEnsResolverErrorType,
|
111
149
|
GetEnsResolverParameters,
|
112
150
|
GetEnsResolverReturnType,
|
113
151
|
} from './actions/ens/getEnsResolver.js'
|
114
152
|
export type {
|
153
|
+
GetFeeHistoryErrorType,
|
115
154
|
GetFeeHistoryParameters,
|
116
155
|
GetFeeHistoryReturnType,
|
117
156
|
} from './actions/public/getFeeHistory.js'
|
118
157
|
export type {
|
158
|
+
GetFilterChangesErrorType,
|
119
159
|
GetFilterChangesParameters,
|
120
160
|
GetFilterChangesReturnType,
|
121
161
|
} from './actions/public/getFilterChanges.js'
|
122
162
|
export type {
|
163
|
+
GetFilterLogsErrorType,
|
123
164
|
GetFilterLogsParameters,
|
124
165
|
GetFilterLogsReturnType,
|
125
166
|
} from './actions/public/getFilterLogs.js'
|
126
|
-
export type { GetGasPriceReturnType } from './actions/public/getGasPrice.js'
|
127
167
|
export type {
|
168
|
+
GetGasPriceErrorType,
|
169
|
+
GetGasPriceReturnType,
|
170
|
+
} from './actions/public/getGasPrice.js'
|
171
|
+
export type {
|
172
|
+
GetLogsErrorType,
|
128
173
|
GetLogsParameters,
|
129
174
|
GetLogsReturnType,
|
130
175
|
} from './actions/public/getLogs.js'
|
131
|
-
export type { GetPermissionsReturnType } from './actions/wallet/getPermissions.js'
|
132
176
|
export type {
|
177
|
+
GetPermissionsErrorType,
|
178
|
+
GetPermissionsReturnType,
|
179
|
+
} from './actions/wallet/getPermissions.js'
|
180
|
+
export type {
|
181
|
+
GetStorageAtErrorType,
|
133
182
|
GetStorageAtParameters,
|
134
183
|
GetStorageAtReturnType,
|
135
184
|
} from './actions/public/getStorageAt.js'
|
136
185
|
export type {
|
186
|
+
GetTransactionConfirmationsErrorType,
|
137
187
|
GetTransactionConfirmationsParameters,
|
138
188
|
GetTransactionConfirmationsReturnType,
|
139
189
|
} from './actions/public/getTransactionConfirmations.js'
|
140
190
|
export type {
|
191
|
+
GetTransactionCountErrorType,
|
141
192
|
GetTransactionCountParameters,
|
142
193
|
GetTransactionCountReturnType,
|
143
194
|
} from './actions/public/getTransactionCount.js'
|
144
195
|
export type {
|
196
|
+
GetTransactionErrorType,
|
145
197
|
GetTransactionParameters,
|
146
198
|
GetTransactionReturnType,
|
147
199
|
} from './actions/public/getTransaction.js'
|
148
200
|
export type {
|
201
|
+
GetTransactionReceiptErrorType,
|
149
202
|
GetTransactionReceiptParameters,
|
150
203
|
GetTransactionReceiptReturnType,
|
151
204
|
} from './actions/public/getTransactionReceipt.js'
|
152
|
-
export type { ImpersonateAccountParameters } from './actions/test/impersonateAccount.js'
|
153
|
-
export type { IncreaseTimeParameters } from './actions/test/increaseTime.js'
|
154
|
-
export type { MineParameters } from './actions/test/mine.js'
|
155
205
|
export type {
|
206
|
+
ImpersonateAccountErrorType,
|
207
|
+
ImpersonateAccountParameters,
|
208
|
+
} from './actions/test/impersonateAccount.js'
|
209
|
+
export type {
|
210
|
+
IncreaseTimeErrorType,
|
211
|
+
IncreaseTimeParameters,
|
212
|
+
} from './actions/test/increaseTime.js'
|
213
|
+
export type { MineErrorType, MineParameters } from './actions/test/mine.js'
|
214
|
+
export type {
|
215
|
+
MulticallErrorType,
|
156
216
|
MulticallParameters,
|
157
217
|
MulticallReturnType,
|
158
218
|
} from './actions/public/multicall.js'
|
159
219
|
export type {
|
160
220
|
OnBlock,
|
161
221
|
OnBlockParameter,
|
222
|
+
WatchBlocksErrorType,
|
162
223
|
WatchBlocksParameters,
|
163
224
|
WatchBlocksReturnType,
|
164
225
|
} from './actions/public/watchBlocks.js'
|
165
226
|
export type {
|
166
227
|
OnBlockNumberFn,
|
167
228
|
OnBlockNumberParameter,
|
229
|
+
WatchBlockNumberErrorType,
|
168
230
|
WatchBlockNumberParameters,
|
169
231
|
WatchBlockNumberReturnType,
|
170
232
|
} from './actions/public/watchBlockNumber.js'
|
@@ -175,92 +237,162 @@ export type {
|
|
175
237
|
WatchEventOnLogsParameter,
|
176
238
|
/** @deprecated - use `WatchEventOnLogsParameter` instead. */
|
177
239
|
WatchEventOnLogsParameter as OnLogParameter,
|
240
|
+
WatchEventErrorType,
|
178
241
|
WatchEventParameters,
|
179
242
|
WatchEventReturnType,
|
180
243
|
} from './actions/public/watchEvent.js'
|
181
244
|
export type {
|
182
245
|
OnTransactionsFn,
|
183
246
|
OnTransactionsParameter,
|
247
|
+
WatchPendingTransactionsErrorType,
|
184
248
|
WatchPendingTransactionsParameters,
|
185
249
|
WatchPendingTransactionsReturnType,
|
186
250
|
} from './actions/public/watchPendingTransactions.js'
|
187
251
|
export type {
|
252
|
+
ReadContractErrorType,
|
188
253
|
ReadContractParameters,
|
189
254
|
ReadContractReturnType,
|
190
255
|
} from './actions/public/readContract.js'
|
191
256
|
export type {
|
192
257
|
ReplacementReason,
|
193
258
|
ReplacementReturnType,
|
259
|
+
WaitForTransactionReceiptErrorType,
|
194
260
|
WaitForTransactionReceiptParameters,
|
195
261
|
WaitForTransactionReceiptReturnType,
|
196
262
|
} from './actions/public/waitForTransactionReceipt.js'
|
197
|
-
export type { RequestAddressesReturnType } from './actions/wallet/requestAddresses.js'
|
198
263
|
export type {
|
264
|
+
RequestAddressesErrorType,
|
265
|
+
RequestAddressesReturnType,
|
266
|
+
} from './actions/wallet/requestAddresses.js'
|
267
|
+
export type {
|
268
|
+
RequestPermissionsErrorType,
|
199
269
|
RequestPermissionsReturnType,
|
200
270
|
RequestPermissionsParameters,
|
201
271
|
} from './actions/wallet/requestPermissions.js'
|
202
|
-
export type { GetTxpoolContentReturnType } from './actions/test/getTxpoolContent.js'
|
203
|
-
export type { GetTxpoolStatusReturnType } from './actions/test/getTxpoolStatus.js'
|
204
|
-
export type { InspectTxpoolReturnType } from './actions/test/inspectTxpool.js'
|
205
|
-
export type { ResetParameters } from './actions/test/reset.js'
|
206
|
-
export type { RevertParameters } from './actions/test/revert.js'
|
207
272
|
export type {
|
273
|
+
GetTxpoolContentErrorType,
|
274
|
+
GetTxpoolContentReturnType,
|
275
|
+
} from './actions/test/getTxpoolContent.js'
|
276
|
+
export type {
|
277
|
+
GetTxpoolStatusErrorType,
|
278
|
+
GetTxpoolStatusReturnType,
|
279
|
+
} from './actions/test/getTxpoolStatus.js'
|
280
|
+
export type {
|
281
|
+
InspectTxpoolErrorType,
|
282
|
+
InspectTxpoolReturnType,
|
283
|
+
} from './actions/test/inspectTxpool.js'
|
284
|
+
export type { ResetErrorType, ResetParameters } from './actions/test/reset.js'
|
285
|
+
export type {
|
286
|
+
RevertErrorType,
|
287
|
+
RevertParameters,
|
288
|
+
} from './actions/test/revert.js'
|
289
|
+
export type {
|
290
|
+
SendTransactionErrorType,
|
208
291
|
SendTransactionParameters,
|
209
292
|
SendTransactionReturnType,
|
210
293
|
} from './actions/wallet/sendTransaction.js'
|
211
294
|
export type {
|
295
|
+
PrepareTransactionRequestErrorType,
|
212
296
|
PrepareTransactionRequestParameters,
|
213
297
|
PrepareTransactionRequestReturnType,
|
214
298
|
/** @deprecated import `prepareTransactionRequest` from `viem/actions` instead. */
|
215
299
|
prepareTransactionRequest as prepareRequest,
|
216
300
|
} from './actions/wallet/prepareTransactionRequest.js'
|
217
301
|
export type {
|
302
|
+
SendUnsignedTransactionErrorType,
|
218
303
|
SendUnsignedTransactionParameters,
|
219
304
|
SendUnsignedTransactionReturnType,
|
220
305
|
} from './actions/test/sendUnsignedTransaction.js'
|
221
|
-
export type { SetBalanceParameters } from './actions/test/setBalance.js'
|
222
|
-
export type { SetBlockGasLimitParameters } from './actions/test/setBlockGasLimit.js'
|
223
|
-
export type { SetBlockTimestampIntervalParameters } from './actions/test/setBlockTimestampInterval.js'
|
224
|
-
export type { SetCodeParameters } from './actions/test/setCode.js'
|
225
|
-
export type { SetCoinbaseParameters } from './actions/test/setCoinbase.js'
|
226
|
-
export type { SetIntervalMiningParameters } from './actions/test/setIntervalMining.js'
|
227
|
-
export type { SetMinGasPriceParameters } from './actions/test/setMinGasPrice.js'
|
228
|
-
export type { SetNextBlockBaseFeePerGasParameters } from './actions/test/setNextBlockBaseFeePerGas.js'
|
229
|
-
export type { SetNextBlockTimestampParameters } from './actions/test/setNextBlockTimestamp.js'
|
230
|
-
export type { SetNonceParameters } from './actions/test/setNonce.js'
|
231
|
-
export type { SetStorageAtParameters } from './actions/test/setStorageAt.js'
|
232
306
|
export type {
|
307
|
+
SetBalanceErrorType,
|
308
|
+
SetBalanceParameters,
|
309
|
+
} from './actions/test/setBalance.js'
|
310
|
+
export type {
|
311
|
+
SetBlockGasLimitErrorType,
|
312
|
+
SetBlockGasLimitParameters,
|
313
|
+
} from './actions/test/setBlockGasLimit.js'
|
314
|
+
export type {
|
315
|
+
SetBlockTimestampIntervalErrorType,
|
316
|
+
SetBlockTimestampIntervalParameters,
|
317
|
+
} from './actions/test/setBlockTimestampInterval.js'
|
318
|
+
export type {
|
319
|
+
SetCodeErrorType,
|
320
|
+
SetCodeParameters,
|
321
|
+
} from './actions/test/setCode.js'
|
322
|
+
export type {
|
323
|
+
SetCoinbaseErrorType,
|
324
|
+
SetCoinbaseParameters,
|
325
|
+
} from './actions/test/setCoinbase.js'
|
326
|
+
export type {
|
327
|
+
SetIntervalMiningErrorType,
|
328
|
+
SetIntervalMiningParameters,
|
329
|
+
} from './actions/test/setIntervalMining.js'
|
330
|
+
export type {
|
331
|
+
SetMinGasPriceErrorType,
|
332
|
+
SetMinGasPriceParameters,
|
333
|
+
} from './actions/test/setMinGasPrice.js'
|
334
|
+
export type {
|
335
|
+
SetNextBlockBaseFeePerGasErrorType,
|
336
|
+
SetNextBlockBaseFeePerGasParameters,
|
337
|
+
} from './actions/test/setNextBlockBaseFeePerGas.js'
|
338
|
+
export type {
|
339
|
+
SetNextBlockTimestampErrorType,
|
340
|
+
SetNextBlockTimestampParameters,
|
341
|
+
} from './actions/test/setNextBlockTimestamp.js'
|
342
|
+
export type {
|
343
|
+
SetNonceErrorType,
|
344
|
+
SetNonceParameters,
|
345
|
+
} from './actions/test/setNonce.js'
|
346
|
+
export type {
|
347
|
+
SetStorageAtErrorType,
|
348
|
+
SetStorageAtParameters,
|
349
|
+
} from './actions/test/setStorageAt.js'
|
350
|
+
export type {
|
351
|
+
SignMessageErrorType,
|
233
352
|
SignMessageParameters,
|
234
353
|
SignMessageReturnType,
|
235
354
|
} from './actions/wallet/signMessage.js'
|
236
355
|
export type {
|
356
|
+
SignTypedDataErrorType,
|
237
357
|
SignTypedDataParameters,
|
238
358
|
SignTypedDataReturnType,
|
239
359
|
} from './actions/wallet/signTypedData.js'
|
240
360
|
export type {
|
361
|
+
SimulateContractErrorType,
|
241
362
|
SimulateContractParameters,
|
242
363
|
SimulateContractReturnType,
|
243
364
|
} from './actions/public/simulateContract.js'
|
244
|
-
export type { StopImpersonatingAccountParameters } from './actions/test/stopImpersonatingAccount.js'
|
245
|
-
export type { SwitchChainParameters } from './actions/wallet/switchChain.js'
|
246
365
|
export type {
|
366
|
+
StopImpersonatingAccountErrorType,
|
367
|
+
StopImpersonatingAccountParameters,
|
368
|
+
} from './actions/test/stopImpersonatingAccount.js'
|
369
|
+
export type {
|
370
|
+
SwitchChainErrorType,
|
371
|
+
SwitchChainParameters,
|
372
|
+
} from './actions/wallet/switchChain.js'
|
373
|
+
export type {
|
374
|
+
UninstallFilterErrorType,
|
247
375
|
UninstallFilterParameters,
|
248
376
|
UninstallFilterReturnType,
|
249
377
|
} from './actions/public/uninstallFilter.js'
|
250
378
|
export type {
|
379
|
+
WatchAssetErrorType,
|
251
380
|
WatchAssetParameters,
|
252
381
|
WatchAssetReturnType,
|
253
382
|
} from './actions/wallet/watchAsset.js'
|
254
383
|
export type {
|
384
|
+
VerifyHashErrorType,
|
255
385
|
VerifyHashParameters,
|
256
386
|
VerifyHashReturnType,
|
257
387
|
} from './actions/public/verifyHash.js'
|
258
388
|
export type {
|
259
389
|
WatchContractEventOnLogsParameter,
|
390
|
+
WatchContractEventErrorType,
|
260
391
|
WatchContractEventParameters,
|
261
392
|
WatchContractEventReturnType,
|
262
393
|
} from './actions/public/watchContractEvent.js'
|
263
394
|
export type {
|
395
|
+
WriteContractErrorType,
|
264
396
|
WriteContractParameters,
|
265
397
|
WriteContractReturnType,
|
266
398
|
} from './actions/wallet/writeContract.js'
|
@@ -294,32 +426,37 @@ export type {
|
|
294
426
|
export {
|
295
427
|
type Client,
|
296
428
|
type ClientConfig,
|
429
|
+
type CreateClientErrorType,
|
297
430
|
type MulticallBatchOptions,
|
298
431
|
createClient,
|
299
432
|
} from './clients/createClient.js'
|
300
433
|
export {
|
301
434
|
type CustomTransport,
|
302
435
|
type CustomTransportConfig,
|
436
|
+
type CustomTransportErrorType,
|
303
437
|
custom,
|
304
438
|
} from './clients/transports/custom.js'
|
305
439
|
export {
|
306
440
|
type FallbackTransport,
|
307
441
|
type FallbackTransportConfig,
|
442
|
+
type FallbackTransportErrorType,
|
308
443
|
fallback,
|
309
444
|
} from './clients/transports/fallback.js'
|
310
445
|
export {
|
311
446
|
type HttpTransport,
|
312
|
-
type
|
447
|
+
type HttpTransportErrorType,
|
313
448
|
http,
|
314
449
|
} from './clients/transports/http.js'
|
315
450
|
export {
|
316
451
|
type PublicClient,
|
317
452
|
type PublicClientConfig,
|
453
|
+
type CreatePublicClientErrorType,
|
318
454
|
createPublicClient,
|
319
455
|
} from './clients/createPublicClient.js'
|
320
456
|
export {
|
321
457
|
type TestClient,
|
322
458
|
type TestClientConfig,
|
459
|
+
type CreateTestClientErrorType,
|
323
460
|
createTestClient,
|
324
461
|
} from './clients/createTestClient.js'
|
325
462
|
export {
|
@@ -337,16 +474,19 @@ export {
|
|
337
474
|
export {
|
338
475
|
type Transport,
|
339
476
|
type TransportConfig,
|
477
|
+
type CreateTransportErrorType,
|
340
478
|
createTransport,
|
341
479
|
} from './clients/transports/createTransport.js'
|
342
480
|
export {
|
343
481
|
type WalletClient,
|
344
482
|
type WalletClientConfig,
|
483
|
+
type CreateWalletClientErrorType,
|
345
484
|
createWalletClient,
|
346
485
|
} from './clients/createWalletClient.js'
|
347
486
|
export {
|
348
487
|
type WebSocketTransport,
|
349
488
|
type WebSocketTransportConfig,
|
489
|
+
type WebSocketTransportErrorType,
|
350
490
|
webSocket,
|
351
491
|
} from './clients/transports/webSocket.js'
|
352
492
|
export {
|
@@ -458,111 +598,246 @@ export {
|
|
458
598
|
} from './constants/number.js'
|
459
599
|
export {
|
460
600
|
AbiConstructorNotFoundError,
|
601
|
+
type AbiConstructorNotFoundErrorType,
|
461
602
|
AbiConstructorParamsNotFoundError,
|
603
|
+
type AbiConstructorParamsNotFoundErrorType,
|
462
604
|
AbiDecodingDataSizeInvalidError,
|
605
|
+
type AbiDecodingDataSizeInvalidErrorType,
|
606
|
+
AbiDecodingDataSizeTooSmallError,
|
607
|
+
type AbiDecodingDataSizeTooSmallErrorType,
|
463
608
|
AbiDecodingZeroDataError,
|
609
|
+
type AbiDecodingZeroDataErrorType,
|
464
610
|
AbiEncodingArrayLengthMismatchError,
|
611
|
+
type AbiEncodingArrayLengthMismatchErrorType,
|
465
612
|
AbiEncodingLengthMismatchError,
|
613
|
+
type AbiEncodingLengthMismatchErrorType,
|
614
|
+
AbiEncodingBytesSizeMismatchError,
|
615
|
+
type AbiEncodingBytesSizeMismatchErrorType,
|
466
616
|
AbiErrorInputsNotFoundError,
|
617
|
+
type AbiErrorInputsNotFoundErrorType,
|
467
618
|
AbiErrorNotFoundError,
|
619
|
+
type AbiErrorNotFoundErrorType,
|
468
620
|
AbiErrorSignatureNotFoundError,
|
621
|
+
type AbiErrorSignatureNotFoundErrorType,
|
469
622
|
AbiEventNotFoundError,
|
623
|
+
type AbiEventNotFoundErrorType,
|
470
624
|
AbiEventSignatureEmptyTopicsError,
|
625
|
+
type AbiEventSignatureEmptyTopicsErrorType,
|
471
626
|
AbiEventSignatureNotFoundError,
|
627
|
+
type AbiEventSignatureNotFoundErrorType,
|
472
628
|
AbiFunctionNotFoundError,
|
629
|
+
type AbiFunctionNotFoundErrorType,
|
473
630
|
AbiFunctionOutputsNotFoundError,
|
631
|
+
type AbiFunctionOutputsNotFoundErrorType,
|
474
632
|
AbiFunctionSignatureNotFoundError,
|
633
|
+
type AbiFunctionSignatureNotFoundErrorType,
|
634
|
+
BytesSizeMismatchError,
|
635
|
+
type BytesSizeMismatchErrorType,
|
636
|
+
DecodeLogDataMismatch,
|
637
|
+
type DecodeLogDataMismatchErrorType,
|
475
638
|
DecodeLogTopicsMismatch,
|
639
|
+
type DecodeLogTopicsMismatchErrorType,
|
476
640
|
InvalidAbiDecodingTypeError,
|
641
|
+
type InvalidAbiDecodingTypeErrorType,
|
477
642
|
InvalidAbiEncodingTypeError,
|
643
|
+
type InvalidAbiEncodingTypeErrorType,
|
478
644
|
InvalidArrayError,
|
645
|
+
type InvalidArrayErrorType,
|
479
646
|
InvalidDefinitionTypeError,
|
647
|
+
type InvalidDefinitionTypeErrorType,
|
648
|
+
UnsupportedPackedAbiType,
|
649
|
+
type UnsupportedPackedAbiTypeErrorType,
|
480
650
|
} from './errors/abi.js'
|
481
|
-
export { BaseError } from './errors/base.js'
|
482
|
-
export {
|
651
|
+
export { BaseError, type BaseErrorType } from './errors/base.js'
|
652
|
+
export {
|
653
|
+
BlockNotFoundError,
|
654
|
+
type BlockNotFoundErrorType,
|
655
|
+
} from './errors/block.js'
|
483
656
|
export {
|
484
657
|
CallExecutionError,
|
658
|
+
type CallExecutionErrorType,
|
485
659
|
ContractFunctionExecutionError,
|
660
|
+
type ContractFunctionExecutionErrorType,
|
486
661
|
ContractFunctionRevertedError,
|
662
|
+
type ContractFunctionRevertedErrorType,
|
487
663
|
ContractFunctionZeroDataError,
|
664
|
+
type ContractFunctionZeroDataErrorType,
|
488
665
|
RawContractError,
|
666
|
+
type RawContractErrorType,
|
489
667
|
} from './errors/contract.js'
|
490
668
|
export {
|
491
669
|
BaseFeeScalarError,
|
670
|
+
type BaseFeeScalarErrorType,
|
492
671
|
Eip1559FeesNotSupportedError,
|
672
|
+
type Eip1559FeesNotSupportedErrorType,
|
493
673
|
MaxFeePerGasTooLowError,
|
674
|
+
type MaxFeePerGasTooLowErrorType,
|
494
675
|
} from './errors/fee.js'
|
495
676
|
export {
|
496
677
|
ChainDisconnectedError,
|
678
|
+
type ChainDisconnectedErrorType,
|
497
679
|
InternalRpcError,
|
680
|
+
type InternalRpcErrorType,
|
498
681
|
InvalidInputRpcError,
|
682
|
+
type InvalidInputRpcErrorType,
|
499
683
|
InvalidParamsRpcError,
|
684
|
+
type InvalidParamsRpcErrorType,
|
500
685
|
InvalidRequestRpcError,
|
686
|
+
type InvalidRequestRpcErrorType,
|
501
687
|
JsonRpcVersionUnsupportedError,
|
688
|
+
type JsonRpcVersionUnsupportedErrorType,
|
502
689
|
LimitExceededRpcError,
|
690
|
+
type LimitExceededRpcErrorType,
|
503
691
|
MethodNotFoundRpcError,
|
692
|
+
type MethodNotFoundRpcErrorType,
|
504
693
|
MethodNotSupportedRpcError,
|
694
|
+
type MethodNotSupportedRpcErrorType,
|
505
695
|
ParseRpcError,
|
696
|
+
type ParseRpcErrorType,
|
506
697
|
ProviderDisconnectedError,
|
698
|
+
type ProviderDisconnectedErrorType,
|
507
699
|
ProviderRpcError,
|
508
700
|
type ProviderRpcErrorCode,
|
701
|
+
type ProviderRpcErrorType,
|
509
702
|
ResourceNotFoundRpcError,
|
703
|
+
type ResourceNotFoundRpcErrorType,
|
510
704
|
ResourceUnavailableRpcError,
|
705
|
+
type ResourceUnavailableRpcErrorType,
|
511
706
|
RpcError,
|
707
|
+
type RpcErrorType,
|
512
708
|
type RpcErrorCode,
|
513
|
-
TransactionRejectedRpcError,
|
514
709
|
SwitchChainError,
|
710
|
+
TransactionRejectedRpcError,
|
711
|
+
type TransactionRejectedRpcErrorType,
|
515
712
|
UnauthorizedProviderError,
|
713
|
+
type UnauthorizedProviderErrorType,
|
516
714
|
UnknownRpcError,
|
715
|
+
type UnknownRpcErrorType,
|
517
716
|
UnsupportedProviderMethodError,
|
717
|
+
type UnsupportedProviderMethodErrorType,
|
518
718
|
UserRejectedRequestError,
|
719
|
+
type UserRejectedRequestErrorType,
|
519
720
|
} from './errors/rpc.js'
|
520
721
|
export {
|
521
722
|
ChainDoesNotSupportContract,
|
723
|
+
type ChainDoesNotSupportContractErrorType,
|
724
|
+
ChainMismatchError,
|
725
|
+
type ChainMismatchErrorType,
|
726
|
+
ChainNotFoundError,
|
727
|
+
type ChainNotFoundErrorType,
|
522
728
|
ClientChainNotConfiguredError,
|
729
|
+
type ClientChainNotConfiguredErrorType,
|
523
730
|
InvalidChainIdError,
|
731
|
+
type InvalidChainIdErrorType,
|
524
732
|
} from './errors/chain.js'
|
525
733
|
export {
|
526
734
|
DataLengthTooLongError,
|
735
|
+
type DataLengthTooLongErrorType,
|
527
736
|
DataLengthTooShortError,
|
737
|
+
type DataLengthTooShortErrorType,
|
528
738
|
InvalidBytesBooleanError,
|
739
|
+
type InvalidBytesBooleanErrorType,
|
740
|
+
IntegerOutOfRangeError,
|
741
|
+
type IntegerOutOfRangeErrorType,
|
529
742
|
InvalidHexBooleanError,
|
743
|
+
type InvalidHexBooleanErrorType,
|
530
744
|
InvalidHexValueError,
|
745
|
+
type InvalidHexValueErrorType,
|
531
746
|
OffsetOutOfBoundsError,
|
747
|
+
type OffsetOutOfBoundsErrorType,
|
748
|
+
SizeOverflowError,
|
749
|
+
type SizeOverflowErrorType,
|
532
750
|
} from './errors/encoding.js'
|
533
|
-
export {
|
534
|
-
|
751
|
+
export {
|
752
|
+
type EnsAvatarInvalidMetadataError,
|
753
|
+
EnsAvatarUriResolutionError,
|
754
|
+
type EnsAvatarInvalidMetadataErrorType,
|
755
|
+
EnsAvatarInvalidNftUriError,
|
756
|
+
type EnsAvatarInvalidNftUriErrorType,
|
757
|
+
EnsAvatarUnsupportedNamespaceError,
|
758
|
+
type EnsAvatarUnsupportedNamespaceErrorType,
|
759
|
+
type EnsAvatarUriResolutionErrorType,
|
760
|
+
} from './errors/ens.js'
|
761
|
+
export {
|
762
|
+
EstimateGasExecutionError,
|
763
|
+
type EstimateGasExecutionErrorType,
|
764
|
+
} from './errors/estimateGas.js'
|
535
765
|
export {
|
536
766
|
ExecutionRevertedError,
|
767
|
+
type ExecutionRevertedErrorType,
|
537
768
|
FeeCapTooHighError,
|
769
|
+
type FeeCapTooHighErrorType,
|
538
770
|
FeeCapTooLowError,
|
771
|
+
type FeeCapTooLowErrorType,
|
539
772
|
InsufficientFundsError,
|
773
|
+
type InsufficientFundsErrorType,
|
540
774
|
IntrinsicGasTooHighError,
|
775
|
+
type IntrinsicGasTooHighErrorType,
|
541
776
|
IntrinsicGasTooLowError,
|
777
|
+
type IntrinsicGasTooLowErrorType,
|
542
778
|
NonceMaxValueError,
|
779
|
+
type NonceMaxValueErrorType,
|
543
780
|
NonceTooHighError,
|
781
|
+
type NonceTooHighErrorType,
|
544
782
|
NonceTooLowError,
|
783
|
+
type NonceTooLowErrorType,
|
545
784
|
TipAboveFeeCapError,
|
785
|
+
type TipAboveFeeCapErrorType,
|
546
786
|
TransactionTypeNotSupportedError,
|
787
|
+
type TransactionTypeNotSupportedErrorType,
|
547
788
|
UnknownNodeError,
|
789
|
+
type UnknownNodeErrorType,
|
548
790
|
} from './errors/node.js'
|
549
|
-
export {
|
791
|
+
export {
|
792
|
+
FilterTypeNotSupportedError,
|
793
|
+
type FilterTypeNotSupportedErrorType,
|
794
|
+
} from './errors/log.js'
|
550
795
|
export {
|
551
796
|
HttpRequestError,
|
797
|
+
type HttpRequestErrorType,
|
552
798
|
RpcRequestError,
|
799
|
+
type RpcRequestErrorType,
|
553
800
|
TimeoutError,
|
801
|
+
type TimeoutErrorType,
|
554
802
|
WebSocketRequestError,
|
803
|
+
type WebSocketRequestErrorType,
|
555
804
|
} from './errors/request.js'
|
556
|
-
export { InvalidAddressError } from './errors/address.js'
|
557
805
|
export {
|
806
|
+
InvalidAddressError,
|
807
|
+
type InvalidAddressErrorType,
|
808
|
+
} from './errors/address.js'
|
809
|
+
export {
|
810
|
+
FeeConflictError,
|
811
|
+
type FeeConflictErrorType,
|
558
812
|
InvalidLegacyVError,
|
813
|
+
type InvalidLegacyVErrorType,
|
814
|
+
InvalidSerializableTransactionError,
|
815
|
+
type InvalidSerializableTransactionErrorType,
|
816
|
+
InvalidSerializedTransactionError,
|
817
|
+
type InvalidSerializedTransactionErrorType,
|
818
|
+
InvalidSerializedTransactionTypeError,
|
819
|
+
type InvalidSerializedTransactionTypeErrorType,
|
820
|
+
InvalidStorageKeySizeError,
|
821
|
+
type InvalidStorageKeySizeErrorType,
|
559
822
|
TransactionExecutionError,
|
823
|
+
type TransactionExecutionErrorType,
|
560
824
|
TransactionNotFoundError,
|
825
|
+
type TransactionNotFoundErrorType,
|
561
826
|
TransactionReceiptNotFoundError,
|
827
|
+
type TransactionReceiptNotFoundErrorType,
|
562
828
|
WaitForTransactionReceiptTimeoutError,
|
829
|
+
type WaitForTransactionReceiptTimeoutErrorType,
|
563
830
|
} from './errors/transaction.js'
|
564
|
-
export {
|
565
|
-
|
831
|
+
export {
|
832
|
+
SizeExceedsPaddingSizeError,
|
833
|
+
type SizeExceedsPaddingSizeErrorType,
|
834
|
+
SliceOffsetOutOfBoundsError,
|
835
|
+
type SliceOffsetOutOfBoundsErrorType,
|
836
|
+
} from './errors/data.js'
|
837
|
+
export {
|
838
|
+
UrlRequiredError,
|
839
|
+
type UrlRequiredErrorType,
|
840
|
+
} from './errors/transport.js'
|
566
841
|
export type {
|
567
842
|
AbiItem,
|
568
843
|
ExtractAbiFunctionForArgs,
|
@@ -680,66 +955,80 @@ export type {
|
|
680
955
|
RpcTransactionRequest,
|
681
956
|
RpcUncle,
|
682
957
|
} from './types/rpc.js'
|
683
|
-
export { labelhash } from './utils/ens/labelhash.js'
|
684
|
-
export { namehash } from './utils/ens/namehash.js'
|
958
|
+
export { labelhash, type LabelhashErrorType } from './utils/ens/labelhash.js'
|
959
|
+
export { namehash, type NamehashErrorType } from './utils/ens/namehash.js'
|
685
960
|
export {
|
686
961
|
type FormattedBlock,
|
687
962
|
defineBlock,
|
963
|
+
type DefineBlockErrorType,
|
688
964
|
formatBlock,
|
965
|
+
type FormatBlockErrorType,
|
689
966
|
} from './utils/formatters/block.js'
|
690
|
-
export { formatLog } from './utils/formatters/log.js'
|
967
|
+
export { formatLog, type FormatLogErrorType } from './utils/formatters/log.js'
|
691
968
|
export {
|
969
|
+
type DecodeAbiParametersErrorType,
|
692
970
|
type DecodeAbiParametersReturnType,
|
693
971
|
decodeAbiParameters,
|
694
972
|
} from './utils/abi/decodeAbiParameters.js'
|
695
973
|
export {
|
974
|
+
type DecodeDeployDataErrorType,
|
696
975
|
type DecodeDeployDataParameters,
|
697
976
|
type DecodeDeployDataReturnType,
|
698
977
|
decodeDeployData,
|
699
978
|
} from './utils/abi/decodeDeployData.js'
|
700
979
|
export {
|
980
|
+
type DecodeErrorResultErrorType,
|
701
981
|
type DecodeErrorResultParameters,
|
702
982
|
type DecodeErrorResultReturnType,
|
703
983
|
decodeErrorResult,
|
704
984
|
} from './utils/abi/decodeErrorResult.js'
|
705
985
|
export {
|
986
|
+
type DecodeEventLogErrorType,
|
706
987
|
type DecodeEventLogParameters,
|
707
988
|
type DecodeEventLogReturnType,
|
708
989
|
decodeEventLog,
|
709
990
|
} from './utils/abi/decodeEventLog.js'
|
710
991
|
export {
|
992
|
+
type DecodeFunctionDataErrorType,
|
711
993
|
type DecodeFunctionDataParameters,
|
712
994
|
decodeFunctionData,
|
713
995
|
} from './utils/abi/decodeFunctionData.js'
|
714
996
|
export {
|
997
|
+
type DecodeFunctionResultErrorType,
|
715
998
|
type DecodeFunctionResultParameters,
|
716
999
|
type DecodeFunctionResultReturnType,
|
717
1000
|
decodeFunctionResult,
|
718
1001
|
} from './utils/abi/decodeFunctionResult.js'
|
719
1002
|
export {
|
1003
|
+
type EncodeAbiParametersErrorType,
|
720
1004
|
type EncodeAbiParametersReturnType,
|
721
1005
|
encodeAbiParameters,
|
722
1006
|
} from './utils/abi/encodeAbiParameters.js'
|
723
1007
|
export {
|
1008
|
+
type EncodeDeployDataErrorType,
|
724
1009
|
type EncodeDeployDataParameters,
|
725
1010
|
type EncodeDeployDataReturnType,
|
726
1011
|
encodeDeployData,
|
727
1012
|
} from './utils/abi/encodeDeployData.js'
|
728
1013
|
export {
|
1014
|
+
type EncodeErrorResultErrorType,
|
729
1015
|
type EncodeErrorResultParameters,
|
730
1016
|
type EncodeErrorResultReturnType,
|
731
1017
|
encodeErrorResult,
|
732
1018
|
} from './utils/abi/encodeErrorResult.js'
|
733
1019
|
export {
|
1020
|
+
type EncodeEventTopicsErrorType,
|
734
1021
|
type EncodeEventTopicsParameters,
|
735
1022
|
encodeEventTopics,
|
736
1023
|
} from './utils/abi/encodeEventTopics.js'
|
737
1024
|
export {
|
1025
|
+
type EncodeFunctionDataErrorType,
|
738
1026
|
type EncodeFunctionDataParameters,
|
739
1027
|
type EncodeFunctionDataReturnType,
|
740
1028
|
encodeFunctionData,
|
741
1029
|
} from './utils/abi/encodeFunctionData.js'
|
742
1030
|
export {
|
1031
|
+
type EncodeFunctionResultErrorType,
|
743
1032
|
type EncodeFunctionResultParameters,
|
744
1033
|
type EncodeFunctionResultReturnType,
|
745
1034
|
encodeFunctionResult,
|
@@ -747,149 +1036,329 @@ export {
|
|
747
1036
|
export {
|
748
1037
|
type FormattedTransaction,
|
749
1038
|
defineTransaction,
|
1039
|
+
type DefineTransactionErrorType,
|
750
1040
|
formatTransaction,
|
1041
|
+
type FormatTransactionErrorType,
|
751
1042
|
transactionType,
|
752
1043
|
} from './utils/formatters/transaction.js'
|
753
1044
|
export {
|
754
1045
|
type FormattedTransactionReceipt,
|
755
1046
|
defineTransactionReceipt,
|
1047
|
+
type DefineTransactionReceiptErrorType,
|
1048
|
+
formatTransactionReceipt,
|
1049
|
+
type FormatTransactionReceiptErrorType,
|
756
1050
|
} from './utils/formatters/transactionReceipt.js'
|
757
1051
|
export {
|
758
1052
|
type FormattedTransactionRequest,
|
759
1053
|
defineTransactionRequest,
|
1054
|
+
type DefineTransactionRequestErrorType,
|
760
1055
|
formatTransactionRequest,
|
1056
|
+
type FormatTransactionRequestErrorType,
|
761
1057
|
rpcTransactionType,
|
762
1058
|
} from './utils/formatters/transactionRequest.js'
|
763
1059
|
export {
|
1060
|
+
type GetAbiItemErrorType,
|
764
1061
|
type GetAbiItemParameters,
|
765
1062
|
getAbiItem,
|
766
1063
|
} from './utils/abi/getAbiItem.js'
|
767
1064
|
export {
|
768
1065
|
type GetContractAddressOptions,
|
769
1066
|
type GetCreate2AddressOptions,
|
1067
|
+
type GetCreate2AddressErrorType,
|
770
1068
|
type GetCreateAddressOptions,
|
1069
|
+
type GetCreateAddressErrorType,
|
771
1070
|
getContractAddress,
|
772
1071
|
getCreate2Address,
|
773
1072
|
getCreateAddress,
|
774
1073
|
} from './utils/address/getContractAddress.js'
|
775
1074
|
export {
|
776
1075
|
type GetSerializedTransactionType,
|
1076
|
+
type GetSerializedTransactionTypeErrorType,
|
777
1077
|
getSerializedTransactionType,
|
778
1078
|
} from './utils/transaction/getSerializedTransactionType.js'
|
779
1079
|
export {
|
780
1080
|
type GetTransactionType,
|
1081
|
+
type GetTransationTypeErrorType,
|
781
1082
|
getTransactionType,
|
782
1083
|
} from './utils/transaction/getTransactionType.js'
|
783
1084
|
export {
|
1085
|
+
type HashDomainErrorType,
|
1086
|
+
type HashTypedDataErrorType,
|
784
1087
|
type HashTypedDataParameters,
|
785
1088
|
type HashTypedDataReturnType,
|
1089
|
+
hashDomain,
|
786
1090
|
hashTypedData,
|
787
1091
|
} from './utils/signature/hashTypedData.js'
|
788
|
-
export { hexToSignature } from './utils/signature/hexToSignature.js'
|
789
1092
|
export {
|
1093
|
+
type HexToSignatureErrorType,
|
1094
|
+
hexToSignature,
|
1095
|
+
} from './utils/signature/hexToSignature.js'
|
1096
|
+
export {
|
1097
|
+
type RecoverAddressErrorType,
|
790
1098
|
type RecoverAddressParameters,
|
791
1099
|
type RecoverAddressReturnType,
|
792
1100
|
recoverAddress,
|
793
1101
|
} from './utils/signature/recoverAddress.js'
|
794
1102
|
export {
|
1103
|
+
type RecoverMessageAddressErrorType,
|
795
1104
|
type RecoverMessageAddressParameters,
|
796
1105
|
type RecoverMessageAddressReturnType,
|
797
1106
|
recoverMessageAddress,
|
798
1107
|
} from './utils/signature/recoverMessageAddress.js'
|
799
1108
|
export {
|
1109
|
+
type RecoverPublicKeyErrorType,
|
800
1110
|
type RecoverPublicKeyParameters,
|
801
1111
|
type RecoverPublicKeyReturnType,
|
802
1112
|
recoverPublicKey,
|
803
1113
|
} from './utils/signature/recoverPublicKey.js'
|
804
1114
|
export {
|
1115
|
+
type RecoverTypedDataAddressErrorType,
|
805
1116
|
type RecoverTypedDataAddressParameters,
|
806
1117
|
type RecoverTypedDataAddressReturnType,
|
807
1118
|
recoverTypedDataAddress,
|
808
1119
|
} from './utils/signature/recoverTypedDataAddress.js'
|
809
|
-
export { signatureToHex } from './utils/signature/signatureToHex.js'
|
810
|
-
export { type ToRlpReturnType, toRlp } from './utils/encoding/toRlp.js'
|
811
1120
|
export {
|
1121
|
+
type SignatureToHexErrorType,
|
1122
|
+
signatureToHex,
|
1123
|
+
} from './utils/signature/signatureToHex.js'
|
1124
|
+
export {
|
1125
|
+
bytesToRlp,
|
1126
|
+
type BytesToRlpErrorType,
|
1127
|
+
hexToRlp,
|
1128
|
+
type HexToRlpErrorType,
|
1129
|
+
toRlp,
|
1130
|
+
type ToRlpErrorType,
|
1131
|
+
type ToRlpReturnType,
|
1132
|
+
} from './utils/encoding/toRlp.js'
|
1133
|
+
export {
|
1134
|
+
type VerifyMessageErrorType,
|
812
1135
|
type VerifyMessageParameters,
|
813
1136
|
type VerifyMessageReturnType,
|
814
1137
|
verifyMessage,
|
815
1138
|
} from './utils/signature/verifyMessage.js'
|
816
1139
|
export {
|
1140
|
+
type VerifyTypedDataErrorType,
|
817
1141
|
type VerifyTypedDataParameters,
|
818
1142
|
type VerifyTypedDataReturnType,
|
819
1143
|
verifyTypedData,
|
820
1144
|
} from './utils/signature/verifyTypedData.js'
|
821
|
-
export { assertRequest } from './utils/transaction/assertRequest.js'
|
822
1145
|
export {
|
1146
|
+
type AssertRequestErrorType,
|
1147
|
+
assertRequest,
|
1148
|
+
} from './utils/transaction/assertRequest.js'
|
1149
|
+
export {
|
1150
|
+
type AssertTransactionEIP1559ErrorType,
|
823
1151
|
assertTransactionEIP1559,
|
1152
|
+
type AssertTransactionEIP2930ErrorType,
|
824
1153
|
assertTransactionEIP2930,
|
1154
|
+
type AssertTransactionLegacyErrorType,
|
825
1155
|
assertTransactionLegacy,
|
826
1156
|
} from './utils/transaction/assertTransaction.js'
|
827
1157
|
export {
|
1158
|
+
type BoolToBytesErrorType,
|
1159
|
+
type BoolToBytesOpts,
|
828
1160
|
boolToBytes,
|
1161
|
+
type HexToBytesErrorType,
|
1162
|
+
type HexToBytesOpts,
|
829
1163
|
hexToBytes,
|
1164
|
+
type NumberToBytesErrorType,
|
830
1165
|
numberToBytes,
|
1166
|
+
type StringToBytesErrorType,
|
1167
|
+
type StringToBytesOpts,
|
831
1168
|
stringToBytes,
|
1169
|
+
type ToBytesErrorType,
|
1170
|
+
type ToBytesParameters,
|
832
1171
|
toBytes,
|
833
1172
|
} from './utils/encoding/toBytes.js'
|
834
1173
|
export {
|
1174
|
+
type BoolToHexErrorType,
|
1175
|
+
type BoolToHexOpts,
|
835
1176
|
boolToHex,
|
1177
|
+
type BytesToHexErrorType,
|
1178
|
+
type BytesToHexOpts,
|
836
1179
|
bytesToHex,
|
1180
|
+
type NumberToHexErrorType,
|
1181
|
+
type NumberToHexOpts,
|
837
1182
|
numberToHex,
|
1183
|
+
type StringToHexErrorType,
|
1184
|
+
type StringToHexOpts,
|
838
1185
|
stringToHex,
|
1186
|
+
type ToHexErrorType,
|
1187
|
+
type ToHexParameters,
|
839
1188
|
toHex,
|
840
1189
|
} from './utils/encoding/toHex.js'
|
841
1190
|
export {
|
842
|
-
|
1191
|
+
type BytesToBigIntErrorType,
|
1192
|
+
type BytesToBigIntOpts,
|
1193
|
+
bytesToBigInt,
|
1194
|
+
/** @deprecated - use `bytesToBigInt` */
|
1195
|
+
bytesToBigInt as bytesToBigint,
|
1196
|
+
type BytesToBoolErrorType,
|
1197
|
+
type BytesToBoolOpts,
|
843
1198
|
bytesToBool,
|
1199
|
+
type BytesToNumberErrorType,
|
1200
|
+
type BytesToNumberOpts,
|
844
1201
|
bytesToNumber,
|
1202
|
+
type BytesToStringErrorType,
|
1203
|
+
type BytesToStringOpts,
|
845
1204
|
bytesToString,
|
1205
|
+
type FromBytesErrorType,
|
1206
|
+
type FromBytesParameters,
|
846
1207
|
fromBytes,
|
847
1208
|
} from './utils/encoding/fromBytes.js'
|
848
1209
|
export {
|
1210
|
+
type CcipFetchErrorType,
|
849
1211
|
ccipFetch,
|
1212
|
+
type OffchainLookupErrorType,
|
850
1213
|
offchainLookup,
|
851
1214
|
offchainLookupAbiItem,
|
852
1215
|
offchainLookupSignature,
|
853
1216
|
} from './utils/ccip.js'
|
854
|
-
export { concat, concatBytes, concatHex } from './utils/data/concat.js'
|
855
|
-
export { assertCurrentChain, defineChain } from './utils/chain.js'
|
856
|
-
export { encodePacked } from './utils/abi/encodePacked.js'
|
857
|
-
export { formatEther } from './utils/unit/formatEther.js'
|
858
|
-
export { formatGwei } from './utils/unit/formatGwei.js'
|
859
|
-
export { formatUnits } from './utils/unit/formatUnits.js'
|
860
1217
|
export {
|
1218
|
+
type ConcatBytesErrorType,
|
1219
|
+
type ConcatErrorType,
|
1220
|
+
type ConcatHexErrorType,
|
1221
|
+
type ConcatReturnType,
|
1222
|
+
concat,
|
1223
|
+
concatBytes,
|
1224
|
+
concatHex,
|
1225
|
+
} from './utils/data/concat.js'
|
1226
|
+
export {
|
1227
|
+
type AssertCurrentChainErrorType,
|
1228
|
+
type AssertCurrentChainParameters,
|
1229
|
+
type GetChainContractAddressErrorType,
|
1230
|
+
assertCurrentChain,
|
1231
|
+
defineChain,
|
1232
|
+
getChainContractAddress,
|
1233
|
+
} from './utils/chain.js'
|
1234
|
+
export {
|
1235
|
+
type EncodePackedErrorType,
|
1236
|
+
encodePacked,
|
1237
|
+
} from './utils/abi/encodePacked.js'
|
1238
|
+
export {
|
1239
|
+
type FormatEtherErrorType,
|
1240
|
+
formatEther,
|
1241
|
+
} from './utils/unit/formatEther.js'
|
1242
|
+
export {
|
1243
|
+
type FormatGweiErrorType,
|
1244
|
+
formatGwei,
|
1245
|
+
} from './utils/unit/formatGwei.js'
|
1246
|
+
export {
|
1247
|
+
type FormatUnitsErrorType,
|
1248
|
+
formatUnits,
|
1249
|
+
} from './utils/unit/formatUnits.js'
|
1250
|
+
export {
|
1251
|
+
type FromHexErrorType,
|
861
1252
|
fromHex,
|
1253
|
+
type HexToBigIntErrorType,
|
862
1254
|
hexToBigInt,
|
1255
|
+
type HexToBoolErrorType,
|
863
1256
|
hexToBool,
|
1257
|
+
type HexToNumberErrorType,
|
864
1258
|
hexToNumber,
|
1259
|
+
type HexToStringErrorType,
|
865
1260
|
hexToString,
|
866
1261
|
} from './utils/encoding/fromHex.js'
|
867
|
-
export {
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
export {
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
export {
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
export {
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
export {
|
1262
|
+
export {
|
1263
|
+
type FromRlpErrorType,
|
1264
|
+
type FromRlpReturnType,
|
1265
|
+
fromRlp,
|
1266
|
+
} from './utils/encoding/fromRlp.js'
|
1267
|
+
export {
|
1268
|
+
type ChecksumAddressErrorType,
|
1269
|
+
type GetAddressErrorType,
|
1270
|
+
checksumAddress,
|
1271
|
+
getAddress,
|
1272
|
+
} from './utils/address/getAddress.js'
|
1273
|
+
export {
|
1274
|
+
type GetContractErrorReturnType,
|
1275
|
+
getContractError,
|
1276
|
+
} from './utils/errors/getContractError.js'
|
1277
|
+
export {
|
1278
|
+
type GetEventSelectorErrorType,
|
1279
|
+
getEventSelector,
|
1280
|
+
} from './utils/hash/getEventSelector.js'
|
1281
|
+
export {
|
1282
|
+
type GetEventSignatureErrorType,
|
1283
|
+
getEventSignature,
|
1284
|
+
} from './utils/hash/getEventSignature.js'
|
1285
|
+
export {
|
1286
|
+
type GetFunctionSelectorErrorType,
|
1287
|
+
getFunctionSelector,
|
1288
|
+
} from './utils/hash/getFunctionSelector.js'
|
1289
|
+
export {
|
1290
|
+
type GetFunctionSignatureErrorType,
|
1291
|
+
getFunctionSignature,
|
1292
|
+
} from './utils/hash/getFunctionSignature.js'
|
1293
|
+
export {
|
1294
|
+
type HashMessageErrorType,
|
1295
|
+
hashMessage,
|
1296
|
+
} from './utils/signature/hashMessage.js'
|
1297
|
+
export {
|
1298
|
+
type IsAddressErrorType,
|
1299
|
+
isAddress,
|
1300
|
+
} from './utils/address/isAddress.js'
|
1301
|
+
export {
|
1302
|
+
type IsAddressEqualErrorType,
|
1303
|
+
isAddressEqual,
|
1304
|
+
} from './utils/address/isAddressEqual.js'
|
1305
|
+
export { type IsBytesErrorType, isBytes } from './utils/data/isBytes.js'
|
1306
|
+
export { type IsHashErrorType, isHash } from './utils/hash/isHash.js'
|
1307
|
+
export { type IsHexErrorType, isHex } from './utils/data/isHex.js'
|
1308
|
+
export { type Keccak256ErrorType, keccak256 } from './utils/hash/keccak256.js'
|
1309
|
+
export {
|
1310
|
+
type PadBytesErrorType,
|
1311
|
+
type PadErrorType,
|
1312
|
+
type PadHexErrorType,
|
1313
|
+
type PadReturnType,
|
1314
|
+
pad,
|
1315
|
+
padBytes,
|
1316
|
+
padHex,
|
1317
|
+
} from './utils/data/pad.js'
|
1318
|
+
export {
|
1319
|
+
type ParseEtherErrorType,
|
1320
|
+
parseEther,
|
1321
|
+
} from './utils/unit/parseEther.js'
|
1322
|
+
export { type ParseGweiErrorType, parseGwei } from './utils/unit/parseGwei.js'
|
1323
|
+
export {
|
1324
|
+
type ParseTransactionErrorType,
|
1325
|
+
type ParseTransactionReturnType,
|
1326
|
+
parseTransaction,
|
1327
|
+
} from './utils/transaction/parseTransaction.js'
|
1328
|
+
export {
|
1329
|
+
type ParseUnitsErrorType,
|
1330
|
+
parseUnits,
|
1331
|
+
} from './utils/unit/parseUnits.js'
|
1332
|
+
export {
|
1333
|
+
type SerializeAccessListErrorType,
|
1334
|
+
serializeAccessList,
|
1335
|
+
} from './utils/transaction/serializeAccessList.js'
|
887
1336
|
export {
|
888
1337
|
serializeTransaction,
|
1338
|
+
type SerializeTransactionErrorType,
|
1339
|
+
type SerializedTransactionReturnType,
|
889
1340
|
type SerializeTransactionFn,
|
890
1341
|
} from './utils/transaction/serializeTransaction.js'
|
891
|
-
export { size } from './utils/data/size.js'
|
892
|
-
export {
|
893
|
-
|
894
|
-
|
895
|
-
|
1342
|
+
export { type SizeErrorType, size } from './utils/data/size.js'
|
1343
|
+
export {
|
1344
|
+
type SliceBytesErrorType,
|
1345
|
+
type SliceErrorType,
|
1346
|
+
type SliceHexErrorType,
|
1347
|
+
slice,
|
1348
|
+
sliceBytes,
|
1349
|
+
sliceHex,
|
1350
|
+
} from './utils/data/slice.js'
|
1351
|
+
export { type StringifyErrorType, stringify } from './utils/stringify.js'
|
1352
|
+
export {
|
1353
|
+
type TrimErrorType,
|
1354
|
+
type TrimReturnType,
|
1355
|
+
trim,
|
1356
|
+
} from './utils/data/trim.js'
|
1357
|
+
export {
|
1358
|
+
type DomainSeparatorErrorType,
|
1359
|
+
type GetTypesForEIP712DomainErrorType,
|
1360
|
+
type ValidateTypedDataErrorType,
|
1361
|
+
validateTypedData,
|
1362
|
+
domainSeparator,
|
1363
|
+
getTypesForEIP712Domain,
|
1364
|
+
} from './utils/typedData.js'
|