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