viem 2.15.1 → 2.16.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +36 -0
- package/README.md +17 -11
- package/_cjs/accounts/generateMnemonic.js +1 -2
- package/_cjs/accounts/generateMnemonic.js.map +1 -1
- package/_cjs/accounts/generatePrivateKey.js +1 -2
- package/_cjs/accounts/generatePrivateKey.js.map +1 -1
- package/_cjs/accounts/hdKeyToAccount.js +1 -2
- package/_cjs/accounts/hdKeyToAccount.js.map +1 -1
- package/_cjs/accounts/mnemonicToAccount.js +1 -2
- package/_cjs/accounts/mnemonicToAccount.js.map +1 -1
- package/_cjs/accounts/privateKeyToAccount.js +1 -2
- package/_cjs/accounts/privateKeyToAccount.js.map +1 -1
- package/_cjs/accounts/toAccount.js +1 -2
- package/_cjs/accounts/toAccount.js.map +1 -1
- package/_cjs/accounts/utils/parseAccount.js +1 -2
- package/_cjs/accounts/utils/parseAccount.js.map +1 -1
- package/_cjs/accounts/utils/privateKeyToAddress.js +1 -2
- package/_cjs/accounts/utils/privateKeyToAddress.js.map +1 -1
- package/_cjs/accounts/utils/publicKeyToAddress.js +1 -2
- package/_cjs/accounts/utils/publicKeyToAddress.js.map +1 -1
- package/_cjs/accounts/utils/sign.js +1 -2
- package/_cjs/accounts/utils/sign.js.map +1 -1
- package/_cjs/accounts/utils/signMessage.js +1 -2
- package/_cjs/accounts/utils/signMessage.js.map +1 -1
- package/_cjs/accounts/utils/signTransaction.js +1 -2
- package/_cjs/accounts/utils/signTransaction.js.map +1 -1
- package/_cjs/accounts/utils/signTypedData.js +1 -2
- package/_cjs/accounts/utils/signTypedData.js.map +1 -1
- package/_cjs/actions/ens/getEnsAddress.js +1 -2
- package/_cjs/actions/ens/getEnsAddress.js.map +1 -1
- package/_cjs/actions/ens/getEnsAvatar.js +1 -2
- package/_cjs/actions/ens/getEnsAvatar.js.map +1 -1
- package/_cjs/actions/ens/getEnsName.js +1 -2
- package/_cjs/actions/ens/getEnsName.js.map +1 -1
- package/_cjs/actions/ens/getEnsResolver.js +1 -2
- package/_cjs/actions/ens/getEnsResolver.js.map +1 -1
- package/_cjs/actions/ens/getEnsText.js +1 -2
- package/_cjs/actions/ens/getEnsText.js.map +1 -1
- package/_cjs/actions/getContract.js +3 -4
- package/_cjs/actions/getContract.js.map +1 -1
- package/_cjs/actions/public/call.js +2 -3
- package/_cjs/actions/public/call.js.map +1 -1
- package/_cjs/actions/public/createBlockFilter.js +1 -2
- package/_cjs/actions/public/createBlockFilter.js.map +1 -1
- package/_cjs/actions/public/createContractEventFilter.js +1 -2
- package/_cjs/actions/public/createContractEventFilter.js.map +1 -1
- package/_cjs/actions/public/createEventFilter.js +7 -9
- package/_cjs/actions/public/createEventFilter.js.map +1 -1
- package/_cjs/actions/public/createPendingTransactionFilter.js +1 -2
- package/_cjs/actions/public/createPendingTransactionFilter.js.map +1 -1
- package/_cjs/actions/public/estimateContractGas.js +1 -2
- package/_cjs/actions/public/estimateContractGas.js.map +1 -1
- package/_cjs/actions/public/estimateFeesPerGas.js +2 -3
- package/_cjs/actions/public/estimateFeesPerGas.js.map +1 -1
- package/_cjs/actions/public/estimateGas.js +1 -2
- package/_cjs/actions/public/estimateGas.js.map +1 -1
- package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js +2 -3
- package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
- package/_cjs/actions/public/getBalance.js +1 -2
- package/_cjs/actions/public/getBalance.js.map +1 -1
- package/_cjs/actions/public/getBlobBaseFee.js +1 -2
- package/_cjs/actions/public/getBlobBaseFee.js.map +1 -1
- package/_cjs/actions/public/getBlock.js +1 -2
- package/_cjs/actions/public/getBlock.js.map +1 -1
- package/_cjs/actions/public/getBlockNumber.js +2 -3
- package/_cjs/actions/public/getBlockNumber.js.map +1 -1
- package/_cjs/actions/public/getBlockTransactionCount.js +1 -2
- package/_cjs/actions/public/getBlockTransactionCount.js.map +1 -1
- package/_cjs/actions/public/getChainId.js +1 -2
- package/_cjs/actions/public/getChainId.js.map +1 -1
- package/_cjs/actions/public/getCode.js +1 -2
- package/_cjs/actions/public/getCode.js.map +1 -1
- package/_cjs/actions/public/getContractEvents.js +1 -2
- package/_cjs/actions/public/getContractEvents.js.map +1 -1
- package/_cjs/actions/public/getEip712Domain.js +1 -2
- package/_cjs/actions/public/getEip712Domain.js.map +1 -1
- package/_cjs/actions/public/getFeeHistory.js +1 -2
- package/_cjs/actions/public/getFeeHistory.js.map +1 -1
- package/_cjs/actions/public/getFilterChanges.js +1 -2
- package/_cjs/actions/public/getFilterChanges.js.map +1 -1
- package/_cjs/actions/public/getFilterLogs.js +1 -2
- package/_cjs/actions/public/getFilterLogs.js.map +1 -1
- package/_cjs/actions/public/getGasPrice.js +1 -2
- package/_cjs/actions/public/getGasPrice.js.map +1 -1
- package/_cjs/actions/public/getLogs.js +7 -9
- package/_cjs/actions/public/getLogs.js.map +1 -1
- package/_cjs/actions/public/getProof.js +1 -2
- package/_cjs/actions/public/getProof.js.map +1 -1
- package/_cjs/actions/public/getStorageAt.js +1 -2
- package/_cjs/actions/public/getStorageAt.js.map +1 -1
- package/_cjs/actions/public/getTransaction.js +1 -2
- package/_cjs/actions/public/getTransaction.js.map +1 -1
- package/_cjs/actions/public/getTransactionConfirmations.js +1 -2
- package/_cjs/actions/public/getTransactionConfirmations.js.map +1 -1
- package/_cjs/actions/public/getTransactionCount.js +1 -2
- package/_cjs/actions/public/getTransactionCount.js.map +1 -1
- package/_cjs/actions/public/getTransactionReceipt.js +1 -2
- package/_cjs/actions/public/getTransactionReceipt.js.map +1 -1
- package/_cjs/actions/public/multicall.js +1 -2
- package/_cjs/actions/public/multicall.js.map +1 -1
- package/_cjs/actions/public/readContract.js +1 -2
- package/_cjs/actions/public/readContract.js.map +1 -1
- package/_cjs/actions/public/simulateContract.js +1 -2
- package/_cjs/actions/public/simulateContract.js.map +1 -1
- package/_cjs/actions/public/uninstallFilter.js +1 -2
- package/_cjs/actions/public/uninstallFilter.js.map +1 -1
- package/_cjs/actions/public/verifyHash.js +22 -5
- package/_cjs/actions/public/verifyHash.js.map +1 -1
- package/_cjs/actions/public/verifyMessage.js +4 -3
- package/_cjs/actions/public/verifyMessage.js.map +1 -1
- package/_cjs/actions/public/verifyTypedData.js +4 -3
- package/_cjs/actions/public/verifyTypedData.js.map +1 -1
- package/_cjs/actions/public/waitForTransactionReceipt.js +1 -2
- package/_cjs/actions/public/waitForTransactionReceipt.js.map +1 -1
- package/_cjs/actions/public/watchBlockNumber.js +1 -2
- package/_cjs/actions/public/watchBlockNumber.js.map +1 -1
- package/_cjs/actions/public/watchBlocks.js +1 -2
- package/_cjs/actions/public/watchBlocks.js.map +1 -1
- package/_cjs/actions/public/watchContractEvent.js +1 -2
- package/_cjs/actions/public/watchContractEvent.js.map +1 -1
- package/_cjs/actions/public/watchEvent.js +7 -9
- package/_cjs/actions/public/watchEvent.js.map +1 -1
- package/_cjs/actions/public/watchPendingTransactions.js +1 -2
- package/_cjs/actions/public/watchPendingTransactions.js.map +1 -1
- package/_cjs/actions/siwe/verifySiweMessage.js +1 -2
- package/_cjs/actions/siwe/verifySiweMessage.js.map +1 -1
- package/_cjs/actions/test/dropTransaction.js +1 -2
- package/_cjs/actions/test/dropTransaction.js.map +1 -1
- package/_cjs/actions/test/dumpState.js +1 -2
- package/_cjs/actions/test/dumpState.js.map +1 -1
- package/_cjs/actions/test/getAutomine.js +1 -2
- package/_cjs/actions/test/getAutomine.js.map +1 -1
- package/_cjs/actions/test/getTxpoolContent.js +1 -2
- package/_cjs/actions/test/getTxpoolContent.js.map +1 -1
- package/_cjs/actions/test/getTxpoolStatus.js +1 -2
- package/_cjs/actions/test/getTxpoolStatus.js.map +1 -1
- package/_cjs/actions/test/impersonateAccount.js +1 -2
- package/_cjs/actions/test/impersonateAccount.js.map +1 -1
- package/_cjs/actions/test/increaseTime.js +1 -2
- package/_cjs/actions/test/increaseTime.js.map +1 -1
- package/_cjs/actions/test/inspectTxpool.js +1 -2
- package/_cjs/actions/test/inspectTxpool.js.map +1 -1
- package/_cjs/actions/test/loadState.js +1 -2
- package/_cjs/actions/test/loadState.js.map +1 -1
- package/_cjs/actions/test/mine.js +1 -2
- package/_cjs/actions/test/mine.js.map +1 -1
- package/_cjs/actions/test/removeBlockTimestampInterval.js +1 -2
- package/_cjs/actions/test/removeBlockTimestampInterval.js.map +1 -1
- package/_cjs/actions/test/reset.js +1 -2
- package/_cjs/actions/test/reset.js.map +1 -1
- package/_cjs/actions/test/revert.js +1 -2
- package/_cjs/actions/test/revert.js.map +1 -1
- package/_cjs/actions/test/sendUnsignedTransaction.js +1 -2
- package/_cjs/actions/test/sendUnsignedTransaction.js.map +1 -1
- package/_cjs/actions/test/setAutomine.js +1 -2
- package/_cjs/actions/test/setAutomine.js.map +1 -1
- package/_cjs/actions/test/setBalance.js +1 -2
- package/_cjs/actions/test/setBalance.js.map +1 -1
- package/_cjs/actions/test/setBlockGasLimit.js +1 -2
- package/_cjs/actions/test/setBlockGasLimit.js.map +1 -1
- package/_cjs/actions/test/setBlockTimestampInterval.js +1 -2
- package/_cjs/actions/test/setBlockTimestampInterval.js.map +1 -1
- package/_cjs/actions/test/setCode.js +1 -2
- package/_cjs/actions/test/setCode.js.map +1 -1
- package/_cjs/actions/test/setCoinbase.js +1 -2
- package/_cjs/actions/test/setCoinbase.js.map +1 -1
- package/_cjs/actions/test/setIntervalMining.js +1 -2
- package/_cjs/actions/test/setIntervalMining.js.map +1 -1
- package/_cjs/actions/test/setLoggingEnabled.js +1 -2
- package/_cjs/actions/test/setLoggingEnabled.js.map +1 -1
- package/_cjs/actions/test/setMinGasPrice.js +1 -2
- package/_cjs/actions/test/setMinGasPrice.js.map +1 -1
- package/_cjs/actions/test/setNextBlockBaseFeePerGas.js +1 -2
- package/_cjs/actions/test/setNextBlockBaseFeePerGas.js.map +1 -1
- package/_cjs/actions/test/setNextBlockTimestamp.js +1 -2
- package/_cjs/actions/test/setNextBlockTimestamp.js.map +1 -1
- package/_cjs/actions/test/setNonce.js +1 -2
- package/_cjs/actions/test/setNonce.js.map +1 -1
- package/_cjs/actions/test/setRpcUrl.js +1 -2
- package/_cjs/actions/test/setRpcUrl.js.map +1 -1
- package/_cjs/actions/test/setStorageAt.js +1 -2
- package/_cjs/actions/test/setStorageAt.js.map +1 -1
- package/_cjs/actions/test/snapshot.js +1 -2
- package/_cjs/actions/test/snapshot.js.map +1 -1
- package/_cjs/actions/test/stopImpersonatingAccount.js +1 -2
- package/_cjs/actions/test/stopImpersonatingAccount.js.map +1 -1
- package/_cjs/actions/wallet/addChain.js +1 -2
- package/_cjs/actions/wallet/addChain.js.map +1 -1
- package/_cjs/actions/wallet/deployContract.js +1 -2
- package/_cjs/actions/wallet/deployContract.js.map +1 -1
- package/_cjs/actions/wallet/getAddresses.js +1 -2
- package/_cjs/actions/wallet/getAddresses.js.map +1 -1
- package/_cjs/actions/wallet/getPermissions.js +1 -2
- package/_cjs/actions/wallet/getPermissions.js.map +1 -1
- package/_cjs/actions/wallet/prepareTransactionRequest.js +2 -2
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_cjs/actions/wallet/requestAddresses.js +1 -2
- package/_cjs/actions/wallet/requestAddresses.js.map +1 -1
- package/_cjs/actions/wallet/requestPermissions.js +1 -2
- package/_cjs/actions/wallet/requestPermissions.js.map +1 -1
- package/_cjs/actions/wallet/sendRawTransaction.js +1 -2
- package/_cjs/actions/wallet/sendRawTransaction.js.map +1 -1
- package/_cjs/actions/wallet/sendTransaction.js +2 -2
- package/_cjs/actions/wallet/sendTransaction.js.map +1 -1
- package/_cjs/actions/wallet/signMessage.js +1 -2
- package/_cjs/actions/wallet/signMessage.js.map +1 -1
- package/_cjs/actions/wallet/signTransaction.js +1 -2
- package/_cjs/actions/wallet/signTransaction.js.map +1 -1
- package/_cjs/actions/wallet/signTypedData.js +1 -2
- package/_cjs/actions/wallet/signTypedData.js.map +1 -1
- package/_cjs/actions/wallet/switchChain.js +1 -2
- package/_cjs/actions/wallet/switchChain.js.map +1 -1
- package/_cjs/actions/wallet/watchAsset.js +1 -2
- package/_cjs/actions/wallet/watchAsset.js.map +1 -1
- package/_cjs/actions/wallet/writeContract.js +1 -2
- package/_cjs/actions/wallet/writeContract.js.map +1 -1
- package/_cjs/celo/parsers.js +1 -2
- package/_cjs/celo/parsers.js.map +1 -1
- package/_cjs/celo/serializers.js +4 -4
- package/_cjs/celo/serializers.js.map +1 -1
- package/_cjs/celo/utils.js +4 -5
- package/_cjs/celo/utils.js.map +1 -1
- package/_cjs/chains/definitions/zetachain.js +6 -0
- package/_cjs/chains/definitions/zetachain.js.map +1 -1
- package/_cjs/chains/definitions/zetachainAthensTestnet.js +6 -0
- package/_cjs/chains/definitions/zetachainAthensTestnet.js.map +1 -1
- package/_cjs/chains/definitions/zircuitTestnet.js +27 -0
- package/_cjs/chains/definitions/zircuitTestnet.js.map +1 -0
- package/_cjs/chains/index.js +4 -2
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/clients/createClient.js +2 -3
- package/_cjs/clients/createClient.js.map +1 -1
- package/_cjs/clients/createPublicClient.js +1 -2
- package/_cjs/clients/createPublicClient.js.map +1 -1
- package/_cjs/clients/createTestClient.js +1 -2
- package/_cjs/clients/createTestClient.js.map +1 -1
- package/_cjs/clients/createWalletClient.js +1 -2
- package/_cjs/clients/createWalletClient.js.map +1 -1
- package/_cjs/clients/decorators/public.js +1 -2
- package/_cjs/clients/decorators/public.js.map +1 -1
- package/_cjs/clients/decorators/test.js +1 -2
- package/_cjs/clients/decorators/test.js.map +1 -1
- package/_cjs/clients/decorators/wallet.js +1 -2
- package/_cjs/clients/decorators/wallet.js.map +1 -1
- package/_cjs/clients/transports/createTransport.js +1 -2
- package/_cjs/clients/transports/createTransport.js.map +1 -1
- package/_cjs/clients/transports/custom.js +1 -2
- package/_cjs/clients/transports/custom.js.map +1 -1
- package/_cjs/clients/transports/fallback.js +2 -3
- package/_cjs/clients/transports/fallback.js.map +1 -1
- package/_cjs/clients/transports/http.js +1 -2
- package/_cjs/clients/transports/http.js.map +1 -1
- package/_cjs/clients/transports/ipc.js +1 -2
- package/_cjs/clients/transports/ipc.js.map +1 -1
- package/_cjs/clients/transports/webSocket.js +1 -2
- package/_cjs/clients/transports/webSocket.js.map +1 -1
- package/_cjs/errors/stateOverride.js +3 -3
- package/_cjs/errors/stateOverride.js.map +1 -1
- package/_cjs/errors/transaction.js +2 -2
- package/_cjs/errors/transaction.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/experimental/eip5792/actions/getCallsStatus.js +1 -2
- package/_cjs/experimental/eip5792/actions/getCallsStatus.js.map +1 -1
- package/_cjs/experimental/eip5792/actions/getCapabilities.js +1 -2
- package/_cjs/experimental/eip5792/actions/getCapabilities.js.map +1 -1
- package/_cjs/experimental/eip5792/actions/sendCalls.js +1 -2
- package/_cjs/experimental/eip5792/actions/sendCalls.js.map +1 -1
- package/_cjs/experimental/eip5792/actions/showCallsStatus.js +1 -2
- package/_cjs/experimental/eip5792/actions/showCallsStatus.js.map +1 -1
- package/_cjs/experimental/eip5792/actions/writeContracts.js +1 -2
- package/_cjs/experimental/eip5792/actions/writeContracts.js.map +1 -1
- package/_cjs/experimental/eip5792/decorators/eip5792.js +1 -2
- package/_cjs/experimental/eip5792/decorators/eip5792.js.map +1 -1
- package/_cjs/experimental/erc7715/actions/issuePermissions.js +1 -2
- package/_cjs/experimental/erc7715/actions/issuePermissions.js.map +1 -1
- package/_cjs/experimental/erc7715/decorators/erc7715.js +1 -2
- package/_cjs/experimental/erc7715/decorators/erc7715.js.map +1 -1
- package/_cjs/experimental/index.js +6 -4
- package/_cjs/experimental/index.js.map +1 -1
- package/_cjs/experimental/solady/actions/signMessage.js +39 -0
- package/_cjs/experimental/solady/actions/signMessage.js.map +1 -0
- package/_cjs/experimental/solady/actions/signTypedData.js +62 -0
- package/_cjs/experimental/solady/actions/signTypedData.js.map +1 -0
- package/_cjs/experimental/solady/decorators/solady.js +15 -0
- package/_cjs/experimental/solady/decorators/solady.js.map +1 -0
- package/_cjs/experimental/solady/index.js +16 -0
- package/_cjs/experimental/solady/index.js.map +1 -0
- package/_cjs/experimental/solady/types.js +3 -0
- package/_cjs/experimental/solady/types.js.map +1 -0
- package/_cjs/experimental/solady/utils/hashMessage.js +19 -0
- package/_cjs/experimental/solady/utils/hashMessage.js.map +1 -0
- package/_cjs/experimental/solady/utils/hashTypedData.js +31 -0
- package/_cjs/experimental/solady/utils/hashTypedData.js.map +1 -0
- package/_cjs/experimental/solady/utils/wrapTypedDataSignature.js +44 -0
- package/_cjs/experimental/solady/utils/wrapTypedDataSignature.js.map +1 -0
- package/_cjs/index.js +11 -3
- package/_cjs/index.js.map +1 -1
- package/_cjs/op-stack/actions/buildDepositTransaction.js +1 -2
- package/_cjs/op-stack/actions/buildDepositTransaction.js.map +1 -1
- package/_cjs/op-stack/actions/buildInitiateWithdrawal.js +1 -2
- package/_cjs/op-stack/actions/buildInitiateWithdrawal.js.map +1 -1
- package/_cjs/op-stack/actions/buildProveWithdrawal.js +2 -3
- package/_cjs/op-stack/actions/buildProveWithdrawal.js.map +1 -1
- package/_cjs/op-stack/actions/depositTransaction.js +1 -2
- package/_cjs/op-stack/actions/depositTransaction.js.map +1 -1
- package/_cjs/op-stack/actions/estimateContractL1Fee.js +1 -2
- package/_cjs/op-stack/actions/estimateContractL1Fee.js.map +1 -1
- package/_cjs/op-stack/actions/estimateContractL1Gas.js +1 -2
- package/_cjs/op-stack/actions/estimateContractL1Gas.js.map +1 -1
- package/_cjs/op-stack/actions/estimateContractTotalFee.js +1 -2
- package/_cjs/op-stack/actions/estimateContractTotalFee.js.map +1 -1
- package/_cjs/op-stack/actions/estimateContractTotalGas.js +1 -2
- package/_cjs/op-stack/actions/estimateContractTotalGas.js.map +1 -1
- package/_cjs/op-stack/actions/estimateDepositTransactionGas.js +1 -2
- package/_cjs/op-stack/actions/estimateDepositTransactionGas.js.map +1 -1
- package/_cjs/op-stack/actions/estimateFinalizeWithdrawalGas.js +1 -2
- package/_cjs/op-stack/actions/estimateFinalizeWithdrawalGas.js.map +1 -1
- package/_cjs/op-stack/actions/estimateInitiateWithdrawalGas.js +1 -2
- package/_cjs/op-stack/actions/estimateInitiateWithdrawalGas.js.map +1 -1
- package/_cjs/op-stack/actions/estimateL1Fee.js +1 -2
- package/_cjs/op-stack/actions/estimateL1Fee.js.map +1 -1
- package/_cjs/op-stack/actions/estimateL1Gas.js +1 -2
- package/_cjs/op-stack/actions/estimateL1Gas.js.map +1 -1
- package/_cjs/op-stack/actions/estimateProveWithdrawalGas.js +1 -2
- package/_cjs/op-stack/actions/estimateProveWithdrawalGas.js.map +1 -1
- package/_cjs/op-stack/actions/estimateTotalFee.js +1 -2
- package/_cjs/op-stack/actions/estimateTotalFee.js.map +1 -1
- package/_cjs/op-stack/actions/estimateTotalGas.js +1 -2
- package/_cjs/op-stack/actions/estimateTotalGas.js.map +1 -1
- package/_cjs/op-stack/actions/finalizeWithdrawal.js +1 -2
- package/_cjs/op-stack/actions/finalizeWithdrawal.js.map +1 -1
- package/_cjs/op-stack/actions/getGame.js +1 -2
- package/_cjs/op-stack/actions/getGame.js.map +1 -1
- package/_cjs/op-stack/actions/getGames.js +1 -2
- package/_cjs/op-stack/actions/getGames.js.map +1 -1
- package/_cjs/op-stack/actions/getL1BaseFee.js +1 -2
- package/_cjs/op-stack/actions/getL1BaseFee.js.map +1 -1
- package/_cjs/op-stack/actions/getL2Output.js +1 -2
- package/_cjs/op-stack/actions/getL2Output.js.map +1 -1
- package/_cjs/op-stack/actions/getPortalVersion.js +1 -2
- package/_cjs/op-stack/actions/getPortalVersion.js.map +1 -1
- package/_cjs/op-stack/actions/getTimeToFinalize.js +1 -2
- package/_cjs/op-stack/actions/getTimeToFinalize.js.map +1 -1
- package/_cjs/op-stack/actions/getTimeToNextGame.js +1 -2
- package/_cjs/op-stack/actions/getTimeToNextGame.js.map +1 -1
- package/_cjs/op-stack/actions/getTimeToNextL2Output.js +1 -2
- package/_cjs/op-stack/actions/getTimeToNextL2Output.js.map +1 -1
- package/_cjs/op-stack/actions/getTimeToProve.js +1 -2
- package/_cjs/op-stack/actions/getTimeToProve.js.map +1 -1
- package/_cjs/op-stack/actions/getWithdrawalStatus.js +1 -2
- package/_cjs/op-stack/actions/getWithdrawalStatus.js.map +1 -1
- package/_cjs/op-stack/actions/initiateWithdrawal.js +1 -2
- package/_cjs/op-stack/actions/initiateWithdrawal.js.map +1 -1
- package/_cjs/op-stack/actions/proveWithdrawal.js +1 -2
- package/_cjs/op-stack/actions/proveWithdrawal.js.map +1 -1
- package/_cjs/op-stack/actions/waitForNextGame.js +1 -2
- package/_cjs/op-stack/actions/waitForNextGame.js.map +1 -1
- package/_cjs/op-stack/actions/waitForNextL2Output.js +1 -2
- package/_cjs/op-stack/actions/waitForNextL2Output.js.map +1 -1
- package/_cjs/op-stack/actions/waitToFinalize.js +1 -2
- package/_cjs/op-stack/actions/waitToFinalize.js.map +1 -1
- package/_cjs/op-stack/actions/waitToProve.js +1 -2
- package/_cjs/op-stack/actions/waitToProve.js.map +1 -1
- package/_cjs/op-stack/decorators/publicL1.js +1 -2
- package/_cjs/op-stack/decorators/publicL1.js.map +1 -1
- package/_cjs/op-stack/decorators/publicL2.js +1 -2
- package/_cjs/op-stack/decorators/publicL2.js.map +1 -1
- package/_cjs/op-stack/decorators/walletL1.js +1 -2
- package/_cjs/op-stack/decorators/walletL1.js.map +1 -1
- package/_cjs/op-stack/decorators/walletL2.js +1 -2
- package/_cjs/op-stack/decorators/walletL2.js.map +1 -1
- package/_cjs/op-stack/parsers.js +1 -2
- package/_cjs/op-stack/parsers.js.map +1 -1
- package/_cjs/op-stack/serializers.js +3 -3
- package/_cjs/op-stack/serializers.js.map +1 -1
- package/_cjs/op-stack/utils/extractTransactionDepositedLogs.js +1 -2
- package/_cjs/op-stack/utils/extractTransactionDepositedLogs.js.map +1 -1
- package/_cjs/op-stack/utils/extractWithdrawalMessageLogs.js +1 -2
- package/_cjs/op-stack/utils/extractWithdrawalMessageLogs.js.map +1 -1
- package/_cjs/op-stack/utils/getL2TransactionHash.js +1 -2
- package/_cjs/op-stack/utils/getL2TransactionHash.js.map +1 -1
- package/_cjs/op-stack/utils/getL2TransactionHashes.js +1 -2
- package/_cjs/op-stack/utils/getL2TransactionHashes.js.map +1 -1
- package/_cjs/op-stack/utils/getSourceHash.js +1 -2
- package/_cjs/op-stack/utils/getSourceHash.js.map +1 -1
- package/_cjs/op-stack/utils/getWithdrawalHashStorageSlot.js +1 -2
- package/_cjs/op-stack/utils/getWithdrawalHashStorageSlot.js.map +1 -1
- package/_cjs/op-stack/utils/getWithdrawals.js +1 -2
- package/_cjs/op-stack/utils/getWithdrawals.js.map +1 -1
- package/_cjs/op-stack/utils/opaqueDataToDepositData.js +1 -2
- package/_cjs/op-stack/utils/opaqueDataToDepositData.js.map +1 -1
- package/_cjs/utils/abi/decodeAbiParameters.js +1 -2
- package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
- package/_cjs/utils/abi/decodeDeployData.js +1 -2
- package/_cjs/utils/abi/decodeDeployData.js.map +1 -1
- package/_cjs/utils/abi/decodeErrorResult.js +1 -2
- package/_cjs/utils/abi/decodeErrorResult.js.map +1 -1
- package/_cjs/utils/abi/decodeEventLog.js +1 -2
- package/_cjs/utils/abi/decodeEventLog.js.map +1 -1
- package/_cjs/utils/abi/decodeFunctionData.js +1 -2
- package/_cjs/utils/abi/decodeFunctionData.js.map +1 -1
- package/_cjs/utils/abi/decodeFunctionResult.js +1 -2
- package/_cjs/utils/abi/decodeFunctionResult.js.map +1 -1
- package/_cjs/utils/abi/encodeAbiParameters.js +2 -3
- package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -1
- package/_cjs/utils/abi/encodeDeployData.js +1 -2
- package/_cjs/utils/abi/encodeDeployData.js.map +1 -1
- package/_cjs/utils/abi/encodeErrorResult.js +1 -2
- package/_cjs/utils/abi/encodeErrorResult.js.map +1 -1
- package/_cjs/utils/abi/encodeEventTopics.js +6 -7
- package/_cjs/utils/abi/encodeEventTopics.js.map +1 -1
- package/_cjs/utils/abi/encodeFunctionData.js +1 -2
- package/_cjs/utils/abi/encodeFunctionData.js.map +1 -1
- package/_cjs/utils/abi/encodeFunctionResult.js +1 -2
- package/_cjs/utils/abi/encodeFunctionResult.js.map +1 -1
- package/_cjs/utils/abi/encodePacked.js +1 -2
- package/_cjs/utils/abi/encodePacked.js.map +1 -1
- package/_cjs/utils/abi/formatAbiItem.js +2 -3
- package/_cjs/utils/abi/formatAbiItem.js.map +1 -1
- package/_cjs/utils/abi/formatAbiItemWithArgs.js +1 -2
- package/_cjs/utils/abi/formatAbiItemWithArgs.js.map +1 -1
- package/_cjs/utils/abi/getAbiItem.js +3 -4
- package/_cjs/utils/abi/getAbiItem.js.map +1 -1
- package/_cjs/utils/abi/parseEventLogs.js +1 -2
- package/_cjs/utils/abi/parseEventLogs.js.map +1 -1
- package/_cjs/utils/abi/prepareEncodeFunctionData.js +1 -2
- package/_cjs/utils/abi/prepareEncodeFunctionData.js.map +1 -1
- package/_cjs/utils/address/getAddress.js +2 -3
- package/_cjs/utils/address/getAddress.js.map +1 -1
- package/_cjs/utils/address/getContractAddress.js +3 -4
- package/_cjs/utils/address/getContractAddress.js.map +1 -1
- package/_cjs/utils/address/isAddress.js +2 -2
- package/_cjs/utils/address/isAddress.js.map +1 -1
- package/_cjs/utils/address/isAddressEqual.js +1 -2
- package/_cjs/utils/address/isAddressEqual.js.map +1 -1
- package/_cjs/utils/blob/blobsToCommitments.js +1 -2
- package/_cjs/utils/blob/blobsToCommitments.js.map +1 -1
- package/_cjs/utils/blob/blobsToProofs.js +1 -2
- package/_cjs/utils/blob/blobsToProofs.js.map +1 -1
- package/_cjs/utils/blob/commitmentToVersionedHash.js +1 -2
- package/_cjs/utils/blob/commitmentToVersionedHash.js.map +1 -1
- package/_cjs/utils/blob/commitmentsToVersionedHashes.js +1 -2
- package/_cjs/utils/blob/commitmentsToVersionedHashes.js.map +1 -1
- package/_cjs/utils/blob/fromBlobs.js +1 -2
- package/_cjs/utils/blob/fromBlobs.js.map +1 -1
- package/_cjs/utils/blob/sidecarsToVersionedHashes.js +1 -2
- package/_cjs/utils/blob/sidecarsToVersionedHashes.js.map +1 -1
- package/_cjs/utils/blob/toBlobSidecars.js +1 -2
- package/_cjs/utils/blob/toBlobSidecars.js.map +1 -1
- package/_cjs/utils/blob/toBlobs.js +1 -2
- package/_cjs/utils/blob/toBlobs.js.map +1 -1
- package/_cjs/utils/buildRequest.js +2 -3
- package/_cjs/utils/buildRequest.js.map +1 -1
- package/_cjs/utils/ccip.js +3 -3
- package/_cjs/utils/ccip.js.map +1 -1
- package/_cjs/utils/chain/assertCurrentChain.js +1 -2
- package/_cjs/utils/chain/assertCurrentChain.js.map +1 -1
- package/_cjs/utils/chain/defineChain.js +1 -2
- package/_cjs/utils/chain/defineChain.js.map +1 -1
- package/_cjs/utils/chain/extractChain.js +1 -2
- package/_cjs/utils/chain/extractChain.js.map +1 -1
- package/_cjs/utils/chain/getChainContractAddress.js +1 -2
- package/_cjs/utils/chain/getChainContractAddress.js.map +1 -1
- package/_cjs/utils/cursor.js +1 -2
- package/_cjs/utils/cursor.js.map +1 -1
- package/_cjs/utils/data/concat.js +3 -4
- package/_cjs/utils/data/concat.js.map +1 -1
- package/_cjs/utils/data/isBytes.js +1 -2
- package/_cjs/utils/data/isBytes.js.map +1 -1
- package/_cjs/utils/data/isBytesEqual.js +1 -2
- package/_cjs/utils/data/isBytesEqual.js.map +1 -1
- package/_cjs/utils/data/isHex.js +1 -2
- package/_cjs/utils/data/isHex.js.map +1 -1
- package/_cjs/utils/data/pad.js +3 -4
- package/_cjs/utils/data/pad.js.map +1 -1
- package/_cjs/utils/data/size.js +1 -2
- package/_cjs/utils/data/size.js.map +1 -1
- package/_cjs/utils/data/slice.js +3 -4
- package/_cjs/utils/data/slice.js.map +1 -1
- package/_cjs/utils/data/trim.js +1 -2
- package/_cjs/utils/data/trim.js.map +1 -1
- package/_cjs/utils/encoding/fromBytes.js +5 -6
- package/_cjs/utils/encoding/fromBytes.js.map +1 -1
- package/_cjs/utils/encoding/fromHex.js +6 -7
- package/_cjs/utils/encoding/fromHex.js.map +1 -1
- package/_cjs/utils/encoding/fromRlp.js +1 -2
- package/_cjs/utils/encoding/fromRlp.js.map +1 -1
- package/_cjs/utils/encoding/toBytes.js +5 -6
- package/_cjs/utils/encoding/toBytes.js.map +1 -1
- package/_cjs/utils/encoding/toHex.js +5 -6
- package/_cjs/utils/encoding/toHex.js.map +1 -1
- package/_cjs/utils/encoding/toRlp.js +3 -4
- package/_cjs/utils/encoding/toRlp.js.map +1 -1
- package/_cjs/utils/ens/avatar/parseAvatarRecord.js +1 -2
- package/_cjs/utils/ens/avatar/parseAvatarRecord.js.map +1 -1
- package/_cjs/utils/ens/avatar/utils.js +8 -9
- package/_cjs/utils/ens/avatar/utils.js.map +1 -1
- package/_cjs/utils/ens/encodeLabelhash.js +1 -2
- package/_cjs/utils/ens/encodeLabelhash.js.map +1 -1
- package/_cjs/utils/ens/encodedLabelToLabelhash.js +1 -2
- package/_cjs/utils/ens/encodedLabelToLabelhash.js.map +1 -1
- package/_cjs/utils/ens/errors.js +1 -2
- package/_cjs/utils/ens/errors.js.map +1 -1
- package/_cjs/utils/ens/labelhash.js +1 -2
- package/_cjs/utils/ens/labelhash.js.map +1 -1
- package/_cjs/utils/ens/namehash.js +1 -2
- package/_cjs/utils/ens/namehash.js.map +1 -1
- package/_cjs/utils/ens/normalize.js +1 -2
- package/_cjs/utils/ens/normalize.js.map +1 -1
- package/_cjs/utils/ens/packetToBytes.js +1 -2
- package/_cjs/utils/ens/packetToBytes.js.map +1 -1
- package/_cjs/utils/errors/getCallError.js +1 -2
- package/_cjs/utils/errors/getCallError.js.map +1 -1
- package/_cjs/utils/errors/getContractError.js +1 -2
- package/_cjs/utils/errors/getContractError.js.map +1 -1
- package/_cjs/utils/errors/getEstimateGasError.js +1 -2
- package/_cjs/utils/errors/getEstimateGasError.js.map +1 -1
- package/_cjs/utils/errors/getNodeError.js +2 -3
- package/_cjs/utils/errors/getNodeError.js.map +1 -1
- package/_cjs/utils/errors/getTransactionError.js +1 -2
- package/_cjs/utils/errors/getTransactionError.js.map +1 -1
- package/_cjs/utils/filters/createFilterRequestScope.js +1 -2
- package/_cjs/utils/filters/createFilterRequestScope.js.map +1 -1
- package/_cjs/utils/formatters/block.js +2 -2
- package/_cjs/utils/formatters/block.js.map +1 -1
- package/_cjs/utils/formatters/extract.js +1 -2
- package/_cjs/utils/formatters/extract.js.map +1 -1
- package/_cjs/utils/formatters/feeHistory.js +1 -2
- package/_cjs/utils/formatters/feeHistory.js.map +1 -1
- package/_cjs/utils/formatters/formatter.js +1 -2
- package/_cjs/utils/formatters/formatter.js.map +1 -1
- package/_cjs/utils/formatters/log.js +1 -2
- package/_cjs/utils/formatters/log.js.map +1 -1
- package/_cjs/utils/formatters/proof.js +1 -2
- package/_cjs/utils/formatters/proof.js.map +1 -1
- package/_cjs/utils/formatters/transaction.js +2 -2
- package/_cjs/utils/formatters/transaction.js.map +1 -1
- package/_cjs/utils/formatters/transactionReceipt.js +2 -2
- package/_cjs/utils/formatters/transactionReceipt.js.map +1 -1
- package/_cjs/utils/formatters/transactionRequest.js +2 -2
- package/_cjs/utils/formatters/transactionRequest.js.map +1 -1
- package/_cjs/utils/getAction.js +9 -6
- package/_cjs/utils/getAction.js.map +1 -1
- package/_cjs/utils/hash/hashSignature.js +1 -2
- package/_cjs/utils/hash/hashSignature.js.map +1 -1
- package/_cjs/utils/hash/isHash.js +1 -2
- package/_cjs/utils/hash/isHash.js.map +1 -1
- package/_cjs/utils/hash/keccak256.js +1 -2
- package/_cjs/utils/hash/keccak256.js.map +1 -1
- package/_cjs/utils/hash/normalizeSignature.js +1 -2
- package/_cjs/utils/hash/normalizeSignature.js.map +1 -1
- package/_cjs/utils/hash/ripemd160.js +1 -2
- package/_cjs/utils/hash/ripemd160.js.map +1 -1
- package/_cjs/utils/hash/sha256.js +1 -2
- package/_cjs/utils/hash/sha256.js.map +1 -1
- package/_cjs/utils/hash/toSignatureHash.js +1 -2
- package/_cjs/utils/hash/toSignatureHash.js.map +1 -1
- package/_cjs/utils/index.js +7 -1
- package/_cjs/utils/index.js.map +1 -1
- package/_cjs/utils/kzg/defineKzg.js +1 -2
- package/_cjs/utils/kzg/defineKzg.js.map +1 -1
- package/_cjs/utils/kzg/setupKzg.js +1 -2
- package/_cjs/utils/kzg/setupKzg.js.map +1 -1
- package/_cjs/utils/nonceManager.js +3 -3
- package/_cjs/utils/nonceManager.js.map +1 -1
- package/_cjs/utils/observe.js +2 -2
- package/_cjs/utils/observe.js.map +1 -1
- package/_cjs/utils/poll.js +1 -2
- package/_cjs/utils/poll.js.map +1 -1
- package/_cjs/utils/promise/createBatchScheduler.js +1 -2
- package/_cjs/utils/promise/createBatchScheduler.js.map +1 -1
- package/_cjs/utils/promise/withCache.js +3 -3
- package/_cjs/utils/promise/withCache.js.map +1 -1
- package/_cjs/utils/promise/withDedupe.js +2 -2
- package/_cjs/utils/promise/withDedupe.js.map +1 -1
- package/_cjs/utils/promise/withRetry.js +1 -2
- package/_cjs/utils/promise/withRetry.js.map +1 -1
- package/_cjs/utils/promise/withTimeout.js +1 -2
- package/_cjs/utils/promise/withTimeout.js.map +1 -1
- package/_cjs/utils/rpc/compat.js +2 -2
- package/_cjs/utils/rpc/compat.js.map +1 -1
- package/_cjs/utils/rpc/http.js +1 -2
- package/_cjs/utils/rpc/http.js.map +1 -1
- package/_cjs/utils/rpc/ipc.js +2 -3
- package/_cjs/utils/rpc/ipc.js.map +1 -1
- package/_cjs/utils/rpc/socket.js +2 -2
- package/_cjs/utils/rpc/socket.js.map +1 -1
- package/_cjs/utils/rpc/webSocket.js +1 -2
- package/_cjs/utils/rpc/webSocket.js.map +1 -1
- package/_cjs/utils/signature/compactSignatureToSignature.js +1 -2
- package/_cjs/utils/signature/compactSignatureToSignature.js.map +1 -1
- package/_cjs/utils/signature/hashMessage.js +3 -14
- package/_cjs/utils/signature/hashMessage.js.map +1 -1
- package/_cjs/utils/signature/hashTypedData.js +4 -3
- package/_cjs/utils/signature/hashTypedData.js.map +1 -1
- package/_cjs/{experimental/erc6492 → utils/signature}/isErc6492Signature.js +2 -3
- package/_cjs/utils/signature/isErc6492Signature.js.map +1 -0
- package/_cjs/utils/signature/parseCompactSignature.js +1 -2
- package/_cjs/utils/signature/parseCompactSignature.js.map +1 -1
- package/_cjs/{experimental/erc6492 → utils/signature}/parseErc6492Signature.js +2 -3
- package/_cjs/utils/signature/parseErc6492Signature.js.map +1 -0
- package/_cjs/utils/signature/parseSignature.js +1 -2
- package/_cjs/utils/signature/parseSignature.js.map +1 -1
- package/_cjs/utils/signature/recoverAddress.js +1 -2
- package/_cjs/utils/signature/recoverAddress.js.map +1 -1
- package/_cjs/utils/signature/recoverMessageAddress.js +1 -2
- package/_cjs/utils/signature/recoverMessageAddress.js.map +1 -1
- package/_cjs/utils/signature/recoverPublicKey.js +1 -2
- package/_cjs/utils/signature/recoverPublicKey.js.map +1 -1
- package/_cjs/utils/signature/recoverTransactionAddress.js +1 -2
- package/_cjs/utils/signature/recoverTransactionAddress.js.map +1 -1
- package/_cjs/utils/signature/recoverTypedDataAddress.js +1 -2
- package/_cjs/utils/signature/recoverTypedDataAddress.js.map +1 -1
- package/_cjs/utils/signature/serializeCompactSignature.js +1 -2
- package/_cjs/utils/signature/serializeCompactSignature.js.map +1 -1
- package/_cjs/{experimental/erc6492 → utils/signature}/serializeErc6492Signature.js +3 -4
- package/_cjs/utils/signature/serializeErc6492Signature.js.map +1 -0
- package/_cjs/utils/signature/serializeSignature.js +1 -2
- package/_cjs/utils/signature/serializeSignature.js.map +1 -1
- package/_cjs/utils/signature/signatureToCompactSignature.js +1 -2
- package/_cjs/utils/signature/signatureToCompactSignature.js.map +1 -1
- package/_cjs/utils/signature/toPrefixedMessage.js +19 -0
- package/_cjs/utils/signature/toPrefixedMessage.js.map +1 -0
- package/_cjs/utils/signature/verifyMessage.js +1 -2
- package/_cjs/utils/signature/verifyMessage.js.map +1 -1
- package/_cjs/utils/signature/verifyTypedData.js +1 -2
- package/_cjs/utils/signature/verifyTypedData.js.map +1 -1
- package/_cjs/utils/siwe/createSiweMessage.js +1 -2
- package/_cjs/utils/siwe/createSiweMessage.js.map +1 -1
- package/_cjs/utils/siwe/generateSiweNonce.js +1 -2
- package/_cjs/utils/siwe/generateSiweNonce.js.map +1 -1
- package/_cjs/utils/siwe/parseSiweMessage.js +1 -2
- package/_cjs/utils/siwe/parseSiweMessage.js.map +1 -1
- package/_cjs/utils/siwe/utils.js +1 -2
- package/_cjs/utils/siwe/utils.js.map +1 -1
- package/_cjs/utils/siwe/validateSiweMessage.js +1 -2
- package/_cjs/utils/siwe/validateSiweMessage.js.map +1 -1
- package/_cjs/utils/stateOverride.js +3 -4
- package/_cjs/utils/stateOverride.js.map +1 -1
- package/_cjs/utils/transaction/assertRequest.js +1 -2
- package/_cjs/utils/transaction/assertRequest.js.map +1 -1
- package/_cjs/utils/transaction/assertTransaction.js +4 -5
- package/_cjs/utils/transaction/assertTransaction.js.map +1 -1
- package/_cjs/utils/transaction/getSerializedTransactionType.js +1 -2
- package/_cjs/utils/transaction/getSerializedTransactionType.js.map +1 -1
- package/_cjs/utils/transaction/getTransactionType.js +1 -2
- package/_cjs/utils/transaction/getTransactionType.js.map +1 -1
- package/_cjs/utils/transaction/parseTransaction.js +3 -4
- package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
- package/_cjs/utils/transaction/serializeAccessList.js +1 -2
- package/_cjs/utils/transaction/serializeAccessList.js.map +1 -1
- package/_cjs/utils/transaction/serializeTransaction.js +2 -3
- package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
- package/_cjs/utils/typedData.js +4 -5
- package/_cjs/utils/typedData.js.map +1 -1
- package/_cjs/utils/uid.js +1 -2
- package/_cjs/utils/uid.js.map +1 -1
- package/_cjs/utils/unit/formatEther.js +1 -2
- package/_cjs/utils/unit/formatEther.js.map +1 -1
- package/_cjs/utils/unit/formatGwei.js +1 -2
- package/_cjs/utils/unit/formatGwei.js.map +1 -1
- package/_cjs/utils/unit/formatUnits.js +1 -2
- package/_cjs/utils/unit/formatUnits.js.map +1 -1
- package/_cjs/utils/unit/parseEther.js +1 -2
- package/_cjs/utils/unit/parseEther.js.map +1 -1
- package/_cjs/utils/unit/parseGwei.js +1 -2
- package/_cjs/utils/unit/parseGwei.js.map +1 -1
- package/_cjs/utils/unit/parseUnits.js +1 -2
- package/_cjs/utils/unit/parseUnits.js.map +1 -1
- package/_cjs/utils/wait.js +1 -2
- package/_cjs/utils/wait.js.map +1 -1
- package/_cjs/zksync/actions/deployContract.js +1 -2
- package/_cjs/zksync/actions/deployContract.js.map +1 -1
- package/_cjs/zksync/actions/estimateFee.js +1 -2
- package/_cjs/zksync/actions/estimateFee.js.map +1 -1
- package/_cjs/zksync/actions/estimateGasL1ToL2.js +1 -2
- package/_cjs/zksync/actions/estimateGasL1ToL2.js.map +1 -1
- package/_cjs/zksync/actions/getAllBalances.js +1 -2
- package/_cjs/zksync/actions/getAllBalances.js.map +1 -1
- package/_cjs/zksync/actions/getBaseTokenL1Address.js +1 -2
- package/_cjs/zksync/actions/getBaseTokenL1Address.js.map +1 -1
- package/_cjs/zksync/actions/getBlockDetails.js +1 -2
- package/_cjs/zksync/actions/getBlockDetails.js.map +1 -1
- package/_cjs/zksync/actions/getBridgehubContractAddress.js +1 -2
- package/_cjs/zksync/actions/getBridgehubContractAddress.js.map +1 -1
- package/_cjs/zksync/actions/getDefaultBridgeAddresses.js +1 -2
- package/_cjs/zksync/actions/getDefaultBridgeAddresses.js.map +1 -1
- package/_cjs/zksync/actions/getL1Allowance.js +1 -2
- package/_cjs/zksync/actions/getL1Allowance.js.map +1 -1
- package/_cjs/zksync/actions/getL1Balance.js +1 -2
- package/_cjs/zksync/actions/getL1Balance.js.map +1 -1
- package/_cjs/zksync/actions/getL1BatchBlockRange.js +1 -2
- package/_cjs/zksync/actions/getL1BatchBlockRange.js.map +1 -1
- package/_cjs/zksync/actions/getL1BatchDetails.js +1 -2
- package/_cjs/zksync/actions/getL1BatchDetails.js.map +1 -1
- package/_cjs/zksync/actions/getL1BatchNumber.js +1 -2
- package/_cjs/zksync/actions/getL1BatchNumber.js.map +1 -1
- package/_cjs/zksync/actions/getL1ChainId.js +1 -2
- package/_cjs/zksync/actions/getL1ChainId.js.map +1 -1
- package/_cjs/zksync/actions/getL1TokenBalance.js +1 -2
- package/_cjs/zksync/actions/getL1TokenBalance.js.map +1 -1
- package/_cjs/zksync/actions/getLogProof.js +1 -2
- package/_cjs/zksync/actions/getLogProof.js.map +1 -1
- package/_cjs/zksync/actions/getMainContractAddress.js +1 -2
- package/_cjs/zksync/actions/getMainContractAddress.js.map +1 -1
- package/_cjs/zksync/actions/getRawBlockTransactions.js +1 -2
- package/_cjs/zksync/actions/getRawBlockTransactions.js.map +1 -1
- package/_cjs/zksync/actions/getTestnetPaymasterAddress.js +1 -2
- package/_cjs/zksync/actions/getTestnetPaymasterAddress.js.map +1 -1
- package/_cjs/zksync/actions/getTransactionDetails.js +1 -2
- package/_cjs/zksync/actions/getTransactionDetails.js.map +1 -1
- package/_cjs/zksync/actions/sendEip712Transaction.js +1 -2
- package/_cjs/zksync/actions/sendEip712Transaction.js.map +1 -1
- package/_cjs/zksync/actions/sendTransaction.js +1 -2
- package/_cjs/zksync/actions/sendTransaction.js.map +1 -1
- package/_cjs/zksync/actions/signEip712Transaction.js +1 -2
- package/_cjs/zksync/actions/signEip712Transaction.js.map +1 -1
- package/_cjs/zksync/actions/signTransaction.js +1 -2
- package/_cjs/zksync/actions/signTransaction.js.map +1 -1
- package/_cjs/zksync/decorators/eip712.js +1 -2
- package/_cjs/zksync/decorators/eip712.js.map +1 -1
- package/_cjs/zksync/decorators/publicL1.js +1 -2
- package/_cjs/zksync/decorators/publicL1.js.map +1 -1
- package/_cjs/zksync/decorators/publicL2.js +1 -2
- package/_cjs/zksync/decorators/publicL2.js.map +1 -1
- package/_cjs/zksync/serializers.js +2 -2
- package/_cjs/zksync/serializers.js.map +1 -1
- package/_cjs/zksync/utils/abi/encodeDeployData.js +1 -2
- package/_cjs/zksync/utils/abi/encodeDeployData.js.map +1 -1
- package/_cjs/zksync/utils/assertEip712Request.js +1 -2
- package/_cjs/zksync/utils/assertEip712Request.js.map +1 -1
- package/_cjs/zksync/utils/assertEip712Transaction.js +1 -2
- package/_cjs/zksync/utils/assertEip712Transaction.js.map +1 -1
- package/_cjs/zksync/utils/camelCaseKeys.js +1 -2
- package/_cjs/zksync/utils/camelCaseKeys.js.map +1 -1
- package/_cjs/zksync/utils/hashBytecode.js +1 -2
- package/_cjs/zksync/utils/hashBytecode.js.map +1 -1
- package/_cjs/zksync/utils/isEip712Transaction.js +1 -2
- package/_cjs/zksync/utils/isEip712Transaction.js.map +1 -1
- package/_cjs/zksync/utils/isEth.js +1 -2
- package/_cjs/zksync/utils/isEth.js.map +1 -1
- package/_cjs/zksync/utils/paymaster/getApprovalBasedPaymasterInput.js +1 -2
- package/_cjs/zksync/utils/paymaster/getApprovalBasedPaymasterInput.js.map +1 -1
- package/_cjs/zksync/utils/paymaster/getGeneralPaymasterInput.js +1 -2
- package/_cjs/zksync/utils/paymaster/getGeneralPaymasterInput.js.map +1 -1
- package/_esm/actions/public/createEventFilter.js +7 -7
- package/_esm/actions/public/createEventFilter.js.map +1 -1
- package/_esm/actions/public/getLogs.js +7 -7
- package/_esm/actions/public/getLogs.js.map +1 -1
- package/_esm/actions/public/getTransactionCount.js +1 -1
- package/_esm/actions/public/verifyHash.js +27 -3
- package/_esm/actions/public/verifyHash.js.map +1 -1
- package/_esm/actions/public/verifyMessage.js +3 -1
- package/_esm/actions/public/verifyMessage.js.map +1 -1
- package/_esm/actions/public/verifyTypedData.js +3 -1
- package/_esm/actions/public/verifyTypedData.js.map +1 -1
- package/_esm/actions/public/watchEvent.js +7 -7
- package/_esm/actions/public/watchEvent.js.map +1 -1
- package/_esm/actions/wallet/sendTransaction.js +1 -0
- package/_esm/actions/wallet/sendTransaction.js.map +1 -1
- package/_esm/chains/definitions/zetachain.js +6 -0
- package/_esm/chains/definitions/zetachain.js.map +1 -1
- package/_esm/chains/definitions/zetachainAthensTestnet.js +6 -0
- package/_esm/chains/definitions/zetachainAthensTestnet.js.map +1 -1
- package/_esm/chains/definitions/zircuitTestnet.js +24 -0
- package/_esm/chains/definitions/zircuitTestnet.js.map +1 -0
- package/_esm/chains/index.js +1 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/experimental/index.js +10 -3
- package/_esm/experimental/index.js.map +1 -1
- package/_esm/experimental/solady/actions/signMessage.js +84 -0
- package/_esm/experimental/solady/actions/signMessage.js.map +1 -0
- package/_esm/experimental/solady/actions/signTypedData.js +160 -0
- package/_esm/experimental/solady/actions/signTypedData.js.map +1 -0
- package/_esm/experimental/solady/decorators/solady.js +27 -0
- package/_esm/experimental/solady/decorators/solady.js.map +1 -0
- package/_esm/experimental/solady/index.js +8 -0
- package/_esm/experimental/solady/index.js.map +1 -0
- package/_esm/experimental/solady/types.js +2 -0
- package/_esm/experimental/solady/types.js.map +1 -0
- package/_esm/experimental/solady/utils/hashMessage.js +32 -0
- package/_esm/experimental/solady/utils/hashMessage.js.map +1 -0
- package/_esm/experimental/solady/utils/hashTypedData.js +72 -0
- package/_esm/experimental/solady/utils/hashTypedData.js.map +1 -0
- package/_esm/experimental/solady/utils/wrapTypedDataSignature.js +82 -0
- package/_esm/experimental/solady/utils/wrapTypedDataSignature.js.map +1 -0
- package/_esm/index.js +4 -0
- package/_esm/index.js.map +1 -1
- package/_esm/utils/abi/encodeEventTopics.js +5 -5
- package/_esm/utils/abi/encodeEventTopics.js.map +1 -1
- package/_esm/utils/getAction.js +11 -7
- package/_esm/utils/getAction.js.map +1 -1
- package/_esm/utils/index.js +3 -0
- package/_esm/utils/index.js.map +1 -1
- package/_esm/utils/signature/hashMessage.js +2 -12
- 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/{experimental/erc6492 → utils/signature}/isErc6492Signature.js +1 -1
- package/_esm/utils/signature/isErc6492Signature.js.map +1 -0
- package/_esm/{experimental/erc6492 → utils/signature}/parseErc6492Signature.js +1 -1
- package/_esm/utils/signature/parseErc6492Signature.js.map +1 -0
- package/_esm/{experimental/erc6492 → utils/signature}/serializeErc6492Signature.js +2 -2
- package/_esm/utils/signature/serializeErc6492Signature.js.map +1 -0
- package/_esm/utils/signature/toPrefixedMessage.js +16 -0
- package/_esm/utils/signature/toPrefixedMessage.js.map +1 -0
- package/_types/actions/public/getTransactionCount.d.ts +1 -1
- package/_types/actions/public/verifyHash.d.ts +6 -2
- package/_types/actions/public/verifyHash.d.ts.map +1 -1
- package/_types/actions/public/verifyMessage.d.ts +1 -1
- package/_types/actions/public/verifyMessage.d.ts.map +1 -1
- package/_types/actions/public/verifyTypedData.d.ts.map +1 -1
- package/_types/actions/wallet/sendTransaction.d.ts.map +1 -1
- package/_types/celo/chainConfig.d.ts +1086 -1086
- package/_types/celo/formatters.d.ts +543 -543
- package/_types/celo/formatters.d.ts.map +1 -1
- package/_types/chains/definitions/ancient8.d.ts +260 -260
- package/_types/chains/definitions/ancient8Sepolia.d.ts +260 -260
- package/_types/chains/definitions/base.d.ts +260 -260
- package/_types/chains/definitions/baseGoerli.d.ts +260 -260
- package/_types/chains/definitions/baseSepolia.d.ts +260 -260
- package/_types/chains/definitions/celo.d.ts +1086 -1086
- package/_types/chains/definitions/celoAlfajores.d.ts +1086 -1086
- package/_types/chains/definitions/fraxtal.d.ts +260 -260
- package/_types/chains/definitions/fraxtalTestnet.d.ts +260 -260
- package/_types/chains/definitions/funkiSepolia.d.ts +260 -260
- package/_types/chains/definitions/lisk.d.ts +315 -315
- package/_types/chains/definitions/liskSepolia.d.ts +260 -260
- package/_types/chains/definitions/metalL2.d.ts +260 -260
- package/_types/chains/definitions/optimism.d.ts +260 -260
- package/_types/chains/definitions/optimismGoerli.d.ts +260 -260
- package/_types/chains/definitions/optimismSepolia.d.ts +260 -260
- package/_types/chains/definitions/pgn.d.ts +260 -260
- package/_types/chains/definitions/pgnTestnet.d.ts +260 -260
- package/_types/chains/definitions/playfiAlbireo.d.ts +315 -315
- package/_types/chains/definitions/rss3.d.ts +260 -260
- package/_types/chains/definitions/rss3Sepolia.d.ts +260 -260
- package/_types/chains/definitions/zetachain.d.ts +6 -8
- package/_types/chains/definitions/zetachain.d.ts.map +1 -1
- package/_types/chains/definitions/zetachainAthensTestnet.d.ts +6 -8
- package/_types/chains/definitions/zetachainAthensTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zircuitTestnet.d.ts +33 -0
- package/_types/chains/definitions/zircuitTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/zkSync.d.ts +315 -315
- package/_types/chains/definitions/zkSyncInMemoryNode.d.ts +315 -315
- package/_types/chains/definitions/zkSyncLocalNode.d.ts +315 -315
- package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +315 -315
- package/_types/chains/definitions/zkSyncTestnet.d.ts +315 -315
- package/_types/chains/definitions/zora.d.ts +260 -260
- package/_types/chains/definitions/zoraSepolia.d.ts +260 -260
- package/_types/chains/definitions/zoraTestnet.d.ts +260 -260
- package/_types/chains/index.d.ts +1 -0
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/experimental/eip5792/decorators/eip5792.d.ts.map +1 -1
- package/_types/experimental/erc7715/decorators/erc7715.d.ts.map +1 -1
- package/_types/experimental/index.d.ts +28 -3
- package/_types/experimental/index.d.ts.map +1 -1
- package/_types/experimental/solady/actions/signMessage.d.ts +71 -0
- package/_types/experimental/solady/actions/signMessage.d.ts.map +1 -0
- package/_types/experimental/solady/actions/signTypedData.d.ts +125 -0
- package/_types/experimental/solady/actions/signTypedData.d.ts.map +1 -0
- package/_types/experimental/solady/decorators/solady.d.ts +183 -0
- package/_types/experimental/solady/decorators/solady.d.ts.map +1 -0
- package/_types/experimental/solady/index.d.ts +7 -0
- package/_types/experimental/solady/index.d.ts.map +1 -0
- package/_types/experimental/solady/types.d.ts +7 -0
- package/_types/experimental/solady/types.d.ts.map +1 -0
- package/_types/experimental/solady/utils/hashMessage.d.ts +30 -0
- package/_types/experimental/solady/utils/hashMessage.d.ts.map +1 -0
- package/_types/experimental/solady/utils/hashTypedData.d.ts +59 -0
- package/_types/experimental/solady/utils/hashTypedData.d.ts.map +1 -0
- package/_types/experimental/solady/utils/wrapTypedDataSignature.d.ts +50 -0
- package/_types/experimental/solady/utils/wrapTypedDataSignature.d.ts.map +1 -0
- package/_types/index.d.ts +5 -1
- package/_types/index.d.ts.map +1 -1
- package/_types/op-stack/chainConfig.d.ts +260 -260
- package/_types/op-stack/decorators/publicL1.d.ts.map +1 -1
- package/_types/op-stack/decorators/publicL2.d.ts.map +1 -1
- package/_types/op-stack/decorators/walletL1.d.ts.map +1 -1
- package/_types/op-stack/decorators/walletL2.d.ts.map +1 -1
- package/_types/op-stack/formatters.d.ts +260 -260
- package/_types/op-stack/formatters.d.ts.map +1 -1
- package/_types/utils/abi/decodeFunctionData.d.ts +1 -1
- package/_types/utils/abi/decodeFunctionData.d.ts.map +1 -1
- package/_types/utils/abi/encodeEventTopics.d.ts +3 -1
- package/_types/utils/abi/encodeEventTopics.d.ts.map +1 -1
- package/_types/utils/formatters/block.d.ts.map +1 -1
- package/_types/utils/formatters/formatter.d.ts +2 -2
- package/_types/utils/formatters/formatter.d.ts.map +1 -1
- package/_types/utils/formatters/log.d.ts.map +1 -1
- package/_types/utils/formatters/proof.d.ts.map +1 -1
- package/_types/utils/formatters/transaction.d.ts +127 -126
- package/_types/utils/formatters/transaction.d.ts.map +1 -1
- package/_types/utils/formatters/transactionRequest.d.ts +67 -66
- package/_types/utils/formatters/transactionRequest.d.ts.map +1 -1
- package/_types/utils/getAction.d.ts +9 -1
- package/_types/utils/getAction.d.ts.map +1 -1
- package/_types/utils/index.d.ts +4 -1
- package/_types/utils/index.d.ts.map +1 -1
- package/_types/utils/rpc/compat.d.ts.map +1 -1
- package/_types/utils/rpc/ipc.d.ts +0 -2
- package/_types/utils/rpc/ipc.d.ts.map +1 -1
- package/_types/utils/signature/hashMessage.d.ts +1 -3
- package/_types/utils/signature/hashMessage.d.ts.map +1 -1
- package/_types/utils/signature/hashTypedData.d.ts +9 -0
- package/_types/utils/signature/hashTypedData.d.ts.map +1 -1
- package/_types/{experimental/erc6492 → utils/signature}/isErc6492Signature.d.ts +1 -1
- package/_types/utils/signature/isErc6492Signature.d.ts.map +1 -0
- package/_types/{experimental/erc6492 → utils/signature}/parseErc6492Signature.d.ts +1 -1
- package/_types/utils/signature/parseErc6492Signature.d.ts.map +1 -0
- package/_types/utils/signature/serializeErc6492Signature.d.ts.map +1 -0
- package/_types/utils/signature/toPrefixedMessage.d.ts +7 -0
- package/_types/utils/signature/toPrefixedMessage.d.ts.map +1 -0
- package/_types/zksync/chainConfig.d.ts +315 -315
- package/_types/zksync/decorators/eip712.d.ts.map +1 -1
- package/_types/zksync/decorators/publicL1.d.ts.map +1 -1
- package/_types/zksync/decorators/publicL2.d.ts.map +1 -1
- package/_types/zksync/formatters.d.ts +315 -315
- package/_types/zksync/formatters.d.ts.map +1 -1
- package/actions/public/createEventFilter.ts +9 -9
- package/actions/public/getLogs.ts +9 -9
- package/actions/public/getTransactionCount.ts +1 -1
- package/actions/public/verifyHash.ts +31 -4
- package/actions/public/verifyMessage.ts +10 -1
- package/actions/public/verifyTypedData.ts +4 -0
- package/actions/public/watchEvent.ts +9 -9
- package/actions/wallet/sendTransaction.ts +1 -0
- package/chains/definitions/zetachain.ts +6 -0
- package/chains/definitions/zetachainAthensTestnet.ts +6 -0
- package/chains/definitions/zircuitTestnet.ts +24 -0
- package/chains/index.ts +1 -0
- package/errors/version.ts +1 -1
- package/experimental/index.ts +21 -3
- package/experimental/solady/actions/signMessage.ts +151 -0
- package/experimental/solady/actions/signTypedData.ts +251 -0
- package/experimental/solady/decorators/solady.ts +232 -0
- package/experimental/solady/index.ts +36 -0
- package/experimental/solady/types.ts +7 -0
- package/experimental/solady/utils/hashMessage.ts +60 -0
- package/experimental/solady/utils/hashTypedData.ts +112 -0
- package/experimental/solady/utils/wrapTypedDataSignature.ts +108 -0
- package/index.ts +23 -0
- package/package.json +10 -2
- package/utils/abi/encodeEventTopics.ts +13 -11
- package/utils/getAction.ts +31 -15
- package/utils/index.ts +19 -0
- package/utils/signature/hashMessage.ts +3 -23
- package/utils/signature/hashTypedData.ts +2 -2
- package/{experimental/erc6492 → utils/signature}/isErc6492Signature.ts +1 -1
- package/{experimental/erc6492 → utils/signature}/parseErc6492Signature.ts +1 -1
- package/{experimental/erc6492 → utils/signature}/serializeErc6492Signature.ts +2 -2
- package/utils/signature/toPrefixedMessage.ts +27 -0
- package/_cjs/experimental/erc6492/isErc6492Signature.js.map +0 -1
- package/_cjs/experimental/erc6492/parseErc6492Signature.js.map +0 -1
- package/_cjs/experimental/erc6492/serializeErc6492Signature.js.map +0 -1
- package/_esm/experimental/erc6492/isErc6492Signature.js.map +0 -1
- package/_esm/experimental/erc6492/parseErc6492Signature.js.map +0 -1
- package/_esm/experimental/erc6492/serializeErc6492Signature.js.map +0 -1
- package/_types/experimental/erc6492/isErc6492Signature.d.ts.map +0 -1
- package/_types/experimental/erc6492/parseErc6492Signature.d.ts.map +0 -1
- package/_types/experimental/erc6492/serializeErc6492Signature.d.ts.map +0 -1
- /package/_types/{experimental/erc6492 → utils/signature}/serializeErc6492Signature.d.ts +0 -0
@@ -39,7 +39,7 @@ export function hashDomain({ domain, types, }) {
|
|
39
39
|
types,
|
40
40
|
});
|
41
41
|
}
|
42
|
-
function hashStruct({ data, primaryType, types, }) {
|
42
|
+
export function hashStruct({ data, primaryType, types, }) {
|
43
43
|
const encoded = encodeData({
|
44
44
|
data,
|
45
45
|
primaryType,
|
@@ -66,7 +66,7 @@ function hashType({ primaryType, types, }) {
|
|
66
66
|
const encodedHashType = toHex(encodeType({ primaryType, types }));
|
67
67
|
return keccak256(encodedHashType);
|
68
68
|
}
|
69
|
-
function encodeType({ primaryType, types, }) {
|
69
|
+
export function encodeType({ primaryType, types, }) {
|
70
70
|
let result = '';
|
71
71
|
const unsortedDeps = findTypeDependencies({ primaryType, types });
|
72
72
|
unsortedDeps.delete(primaryType);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"hashTypedData.js","sourceRoot":"","sources":["../../../utils/signature/hashTypedData.ts"],"names":[],"mappings":"AAAA,mHAAmH;AAOnH,OAAO,EAEL,mBAAmB,GACpB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC1C,OAAO,EAAuB,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,EAA2B,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACzE,OAAO,EAGL,uBAAuB,EACvB,iBAAiB,GAClB,MAAM,iBAAiB,CAAA;AAqBxB,MAAM,UAAU,aAAa,CAI3B,UAA2D;IAE3D,MAAM,EACJ,MAAM,GAAG,EAAE,EACX,OAAO,EACP,WAAW,GACZ,GAAG,UAAqC,CAAA;IACzC,MAAM,KAAK,GAAG;QACZ,YAAY,EAAE,uBAAuB,CAAC,EAAE,MAAM,EAAE,CAAC;QACjD,GAAG,UAAU,CAAC,KAAK;KACpB,CAAA;IAED,uFAAuF;IACvF,qDAAqD;IACrD,iBAAiB,CAAC;QAChB,MAAM;QACN,OAAO;QACP,WAAW;QACX,KAAK;KACN,CAAC,CAAA;IAEF,MAAM,KAAK,GAAU,CAAC,QAAQ,CAAC,CAAA;IAC/B,IAAI,MAAM;QACR,KAAK,CAAC,IAAI,CACR,UAAU,CAAC;YACT,MAAM;YACN,KAAK,EAAE,KAA8C;SACtD,CAAC,CACH,CAAA;IAEH,IAAI,WAAW,KAAK,cAAc;QAChC,KAAK,CAAC,IAAI,CACR,UAAU,CAAC;YACT,IAAI,EAAE,OAAO;YACb,WAAW;YACX,KAAK,EAAE,KAA8C;SACtD,CAAC,CACH,CAAA;IAEH,OAAO,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAA;AACjC,CAAC;AAID,MAAM,UAAU,UAAU,CAAC,EACzB,MAAM,EACN,KAAK,GAIN;IACC,OAAO,UAAU,CAAC;QAChB,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,cAAc;QAC3B,KAAK;KACN,CAAC,CAAA;AACJ,CAAC;AAID,
|
1
|
+
{"version":3,"file":"hashTypedData.js","sourceRoot":"","sources":["../../../utils/signature/hashTypedData.ts"],"names":[],"mappings":"AAAA,mHAAmH;AAOnH,OAAO,EAEL,mBAAmB,GACpB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC1C,OAAO,EAAuB,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,EAA2B,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACzE,OAAO,EAGL,uBAAuB,EACvB,iBAAiB,GAClB,MAAM,iBAAiB,CAAA;AAqBxB,MAAM,UAAU,aAAa,CAI3B,UAA2D;IAE3D,MAAM,EACJ,MAAM,GAAG,EAAE,EACX,OAAO,EACP,WAAW,GACZ,GAAG,UAAqC,CAAA;IACzC,MAAM,KAAK,GAAG;QACZ,YAAY,EAAE,uBAAuB,CAAC,EAAE,MAAM,EAAE,CAAC;QACjD,GAAG,UAAU,CAAC,KAAK;KACpB,CAAA;IAED,uFAAuF;IACvF,qDAAqD;IACrD,iBAAiB,CAAC;QAChB,MAAM;QACN,OAAO;QACP,WAAW;QACX,KAAK;KACN,CAAC,CAAA;IAEF,MAAM,KAAK,GAAU,CAAC,QAAQ,CAAC,CAAA;IAC/B,IAAI,MAAM;QACR,KAAK,CAAC,IAAI,CACR,UAAU,CAAC;YACT,MAAM;YACN,KAAK,EAAE,KAA8C;SACtD,CAAC,CACH,CAAA;IAEH,IAAI,WAAW,KAAK,cAAc;QAChC,KAAK,CAAC,IAAI,CACR,UAAU,CAAC;YACT,IAAI,EAAE,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,cAAc,GAAI,KAA+B,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CACnE,WAAW,CAAC;YACV,IAAI;YACJ,IAAI,EAAE,UAAU;YAChB,KAAK;YACL,KAAK,EAAE,IAAI;SACZ,CAAC,CACH,CAAA;QACD,OAAO;YACL,EAAE,IAAI,EAAE,SAAS,EAAE;YACnB,SAAS,CACP,mBAAmB,CACjB,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAC9B,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CACjC,CACF;SACF,CAAA;IACH,CAAC;IAED,OAAO,CAAC,EAAE,IAAI,EAAE,EAAE,KAAK,CAAC,CAAA;AAC1B,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { erc6492MagicBytes } from '../../constants/bytes.js';
|
2
|
-
import { sliceHex } from '
|
2
|
+
import { sliceHex } from '../data/slice.js';
|
3
3
|
/** Whether or not the signature is an ERC-6492 formatted signature. */
|
4
4
|
export function isErc6492Signature(signature) {
|
5
5
|
return sliceHex(signature, -32) === erc6492MagicBytes;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"isErc6492Signature.js","sourceRoot":"","sources":["../../../utils/signature/isErc6492Signature.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAG5D,OAAO,EAA0B,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAMnE,uEAAuE;AACvE,MAAM,UAAU,kBAAkB,CAChC,SAAuC;IAEvC,OAAO,QAAQ,CAAC,SAAS,EAAE,CAAC,EAAE,CAAC,KAAK,iBAAiB,CAAA;AACvD,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { decodeAbiParameters, } from '
|
1
|
+
import { decodeAbiParameters, } from '../abi/decodeAbiParameters.js';
|
2
2
|
import { isErc6492Signature, } from './isErc6492Signature.js';
|
3
3
|
/**
|
4
4
|
* @description Parses a hex-formatted ERC-6492 flavoured signature.
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"parseErc6492Signature.js","sourceRoot":"","sources":["../../../utils/signature/parseErc6492Signature.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,mBAAmB,GACpB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAEL,kBAAkB,GACnB,MAAM,yBAAyB,CAAA;AAgChC;;;;;;;;;;GAUG;AACH,MAAM,UAAU,qBAAqB,CACnC,SAA0C;IAE1C,IAAI,CAAC,kBAAkB,CAAC,SAAS,CAAC;QAAE,OAAO,EAAE,SAAS,EAAE,CAAA;IAExD,MAAM,CAAC,OAAO,EAAE,IAAI,EAAE,UAAU,CAAC,GAAG,mBAAmB,CACrD,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAC3D,SAAS,CACV,CAAA;IACD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,CAAA;AACjD,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { erc6492MagicBytes } from '../../constants/bytes.js';
|
2
|
-
import { encodeAbiParameters } from '
|
3
|
-
import { concatHex } from '
|
2
|
+
import { encodeAbiParameters } from '../abi/encodeAbiParameters.js';
|
3
|
+
import { concatHex } from '../data/concat.js';
|
4
4
|
/**
|
5
5
|
* @description Serializes a ERC-6492 flavoured signature into hex format.
|
6
6
|
*
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"serializeErc6492Signature.js","sourceRoot":"","sources":["../../../utils/signature/serializeErc6492Signature.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAG5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAA;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAe7C;;;;;;;;;GASG;AACH,MAAM,UAAU,yBAAyB,CACvC,UAA+C;IAE/C,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,UAAU,CAAA;IAC/C,OAAO,SAAS,CAAC;QACf,mBAAmB,CACjB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAC3D,CAAC,OAAO,EAAE,IAAI,EAAE,SAAS,CAAC,CAC3B;QACD,iBAAiB;KAClB,CAAC,CAAA;AACJ,CAAC"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { presignMessagePrefix } from '../../constants/strings.js';
|
2
|
+
import { concat } from '../data/concat.js';
|
3
|
+
import { size } from '../data/size.js';
|
4
|
+
import { bytesToHex, stringToHex, } from '../encoding/toHex.js';
|
5
|
+
export function toPrefixedMessage(message_) {
|
6
|
+
const message = (() => {
|
7
|
+
if (typeof message_ === 'string')
|
8
|
+
return stringToHex(message_);
|
9
|
+
if (typeof message_.raw === 'string')
|
10
|
+
return message_.raw;
|
11
|
+
return bytesToHex(message_.raw);
|
12
|
+
})();
|
13
|
+
const prefix = stringToHex(`${presignMessagePrefix}${size(message)}`);
|
14
|
+
return concat([prefix, message]);
|
15
|
+
}
|
16
|
+
//# sourceMappingURL=toPrefixedMessage.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"toPrefixedMessage.js","sourceRoot":"","sources":["../../../utils/signature/toPrefixedMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AAGjE,OAAO,EAAwB,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AACtC,OAAO,EAGL,UAAU,EACV,WAAW,GACZ,MAAM,sBAAsB,CAAA;AAQ7B,MAAM,UAAU,iBAAiB,CAAC,QAAyB;IACzD,MAAM,OAAO,GAAG,CAAC,GAAG,EAAE;QACpB,IAAI,OAAO,QAAQ,KAAK,QAAQ;YAAE,OAAO,WAAW,CAAC,QAAQ,CAAC,CAAA;QAC9D,IAAI,OAAO,QAAQ,CAAC,GAAG,KAAK,QAAQ;YAAE,OAAO,QAAQ,CAAC,GAAG,CAAA;QACzD,OAAO,UAAU,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAA;IACjC,CAAC,CAAC,EAAE,CAAA;IACJ,MAAM,MAAM,GAAG,WAAW,CAAC,GAAG,oBAAoB,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;IACrE,OAAO,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;AAClC,CAAC"}
|
@@ -23,7 +23,7 @@ export type GetTransactionCountParameters = {
|
|
23
23
|
export type GetTransactionCountReturnType = number;
|
24
24
|
export type GetTransactionCountErrorType = RequestErrorType | NumberToHexErrorType | HexToNumberErrorType | ErrorType;
|
25
25
|
/**
|
26
|
-
* Returns the number of [Transactions](https://viem.sh/docs/glossary/terms#transaction) an Account has
|
26
|
+
* Returns the number of [Transactions](https://viem.sh/docs/glossary/terms#transaction) an Account has sent.
|
27
27
|
*
|
28
28
|
* - Docs: https://viem.sh/docs/actions/public/getTransactionCount
|
29
29
|
* - JSON-RPC Methods: [`eth_getTransactionCount`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gettransactioncount)
|
@@ -4,6 +4,7 @@ import type { Transport } from '../../clients/transports/createTransport.js';
|
|
4
4
|
import type { ErrorType } from '../../errors/utils.js';
|
5
5
|
import type { Chain } from '../../types/chain.js';
|
6
6
|
import type { ByteArray, Hex, Signature } from '../../types/misc.js';
|
7
|
+
import type { OneOf } from '../../types/utils.js';
|
7
8
|
import { type EncodeDeployDataErrorType } from '../../utils/abi/encodeDeployData.js';
|
8
9
|
import { type IsBytesEqualErrorType } from '../../utils/data/isBytesEqual.js';
|
9
10
|
import { type IsHexErrorType } from '../../utils/data/isHex.js';
|
@@ -16,7 +17,10 @@ export type VerifyHashParameters = Pick<CallParameters, 'blockNumber' | 'blockTa
|
|
16
17
|
hash: Hex;
|
17
18
|
/** The signature that was generated by signing the message with the address's private key. */
|
18
19
|
signature: Hex | ByteArray | Signature;
|
19
|
-
}
|
20
|
+
} & OneOf<{
|
21
|
+
factory: Address;
|
22
|
+
factoryData: Hex;
|
23
|
+
} | {}>;
|
20
24
|
export type VerifyHashReturnType = boolean;
|
21
25
|
export type VerifyHashErrorType = CallErrorType | IsHexErrorType | ToHexErrorType | IsBytesEqualErrorType | EncodeDeployDataErrorType | ErrorType;
|
22
26
|
/**
|
@@ -26,5 +30,5 @@ export type VerifyHashErrorType = CallErrorType | IsHexErrorType | ToHexErrorTyp
|
|
26
30
|
* @param parameters - {@link VerifyHashParameters}
|
27
31
|
* @returns Whether or not the signature is valid. {@link VerifyHashReturnType}
|
28
32
|
*/
|
29
|
-
export declare function verifyHash<TChain extends Chain | undefined>(client: Client<Transport, TChain>,
|
33
|
+
export declare function verifyHash<TChain extends Chain | undefined>(client: Client<Transport, TChain>, parameters: VerifyHashParameters): Promise<VerifyHashReturnType>;
|
30
34
|
//# sourceMappingURL=verifyHash.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"verifyHash.d.ts","sourceRoot":"","sources":["../../../actions/public/verifyHash.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAI5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD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AO,EAAE,OAAO,CAAA;IAChB,+BAA+B;IAC/B,IAAI,EAAE,GAAG,CAAA;IACT,8FAA8F;IAC9F,SAAS,EAAE,GAAG,GAAG,SAAS,GAAG,SAAS,CAAA;CACvC,GAAG,KAAK,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,WAAW,EAAE,GAAG,CAAA;CAAE,GAAG,EAAE,CAAC,CAAA;AAEtD,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAA;AAE1C,MAAM,MAAM,mBAAmB,GAC3B,aAAa,GACb,cAAc,GACd,cAAc,GACd,qBAAqB,GACrB,yBAAyB,GACzB,SAAS,CAAA;AAEb;;;;;;GAMG;AACH,wBAAsB,UAAU,CAAC,MAAM,SAAS,KAAK,GAAG,SAAS,EAC/D,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,EACjC,UAAU,EAAE,oBAAoB,GAC/B,OAAO,CAAC,oBAAoB,CAAC,CAwD/B"}
|
@@ -28,5 +28,5 @@ export type VerifyMessageErrorType = HashMessageErrorType | VerifyHashErrorType
|
|
28
28
|
* @param parameters - {@link VerifyMessageParameters}
|
29
29
|
* @returns Whether or not the signature is valid. {@link VerifyMessageReturnType}
|
30
30
|
*/
|
31
|
-
export declare function verifyMessage<TChain extends Chain | undefined>(client: Client<Transport, TChain>, { address, message, signature, ...callRequest }: VerifyMessageParameters): Promise<VerifyMessageReturnType>;
|
31
|
+
export declare function verifyMessage<TChain extends Chain | undefined>(client: Client<Transport, TChain>, { address, message, factory, factoryData, signature, ...callRequest }: VerifyMessageParameters): Promise<VerifyMessageReturnType>;
|
32
32
|
//# sourceMappingURL=verifyMessage.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"verifyMessage.d.ts","sourceRoot":"","sources":["../../../actions/public/verifyMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,KAAK,EAAE,MAAM,E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