viem 2.0.0-beta.12 → 2.0.0-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_cjs/accounts/toAccount.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/public/call.js.map +1 -1
- package/_cjs/actions/public/createEventFilter.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/getBlock.js.map +1 -1
- package/_cjs/actions/public/getBlockTransactionCount.js.map +1 -1
- package/_cjs/actions/public/getLogs.js.map +1 -1
- package/_cjs/actions/public/getTransaction.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/verifyHash.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/setAutomine.js.map +1 -1
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_cjs/actions/wallet/sendTransaction.js.map +1 -1
- package/_cjs/chains/celo/formatters.js.map +1 -1
- package/_cjs/chains/celo/parsers.js.map +1 -1
- package/_cjs/chains/celo/serializers.js.map +1 -1
- package/_cjs/chains/celo/utils.js.map +1 -1
- package/_cjs/chains/opStack/actions/estimateContractL1Fee.js.map +1 -1
- package/_cjs/chains/opStack/actions/estimateContractL1Gas.js.map +1 -1
- package/_cjs/chains/opStack/actions/estimateContractTotalFee.js.map +1 -1
- package/_cjs/chains/opStack/actions/estimateContractTotalGas.js.map +1 -1
- package/_cjs/chains/opStack/formatters.js.map +1 -1
- package/_cjs/chains/zksync/serializers.js.map +1 -1
- package/_cjs/clients/transports/fallback.js.map +1 -1
- package/_cjs/clients/transports/webSocket.js.map +1 -1
- package/_cjs/errors/contract.js.map +1 -1
- package/_cjs/errors/node.js +11 -11
- package/_cjs/errors/node.js.map +1 -1
- package/_cjs/errors/rpc.js +18 -18
- package/_cjs/errors/rpc.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/package.json +1 -0
- package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
- package/_cjs/utils/abi/decodeEventLog.js.map +1 -1
- package/_cjs/utils/abi/decodeFunctionResult.js.map +1 -1
- package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -1
- package/_cjs/utils/abi/encodeErrorResult.js.map +1 -1
- package/_cjs/utils/abi/encodeEventTopics.js.map +1 -1
- package/_cjs/utils/abi/encodeFunctionData.js.map +1 -1
- package/_cjs/utils/abi/encodeFunctionResult.js.map +1 -1
- package/_cjs/utils/abi/encodePacked.js.map +1 -1
- package/_cjs/utils/abi/formatAbiItem.js.map +1 -1
- package/_cjs/utils/abi/getAbiItem.js.map +1 -1
- package/_cjs/utils/abi/parseEventLogs.js.map +1 -1
- package/_cjs/utils/address/getAddress.js.map +1 -1
- package/_cjs/utils/address/getContractAddress.js.map +1 -1
- package/_cjs/utils/buildRequest.js.map +1 -1
- package/_cjs/utils/ccip.js.map +1 -1
- package/_cjs/utils/data/concat.js.map +1 -1
- package/_cjs/utils/data/pad.js.map +1 -1
- package/_cjs/utils/data/slice.js.map +1 -1
- package/_cjs/utils/data/trim.js.map +1 -1
- package/_cjs/utils/encoding/fromBytes.js.map +1 -1
- package/_cjs/utils/encoding/fromHex.js.map +1 -1
- package/_cjs/utils/encoding/fromRlp.js.map +1 -1
- package/_cjs/utils/encoding/toBytes.js.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/namehash.js.map +1 -1
- package/_cjs/utils/ens/packetToBytes.js.map +1 -1
- package/_cjs/utils/errors/getContractError.js.map +1 -1
- package/_cjs/utils/errors/getNodeError.js.map +1 -1
- package/_cjs/utils/formatters/extract.js.map +1 -1
- package/_cjs/utils/formatters/formatter.js.map +1 -1
- package/_cjs/utils/formatters/transaction.js.map +1 -1
- package/_cjs/utils/hash/normalizeSignature.js.map +1 -1
- package/_cjs/utils/observe.js.map +1 -1
- package/_cjs/utils/promise/createBatchScheduler.js.map +1 -1
- package/_cjs/utils/promise/withCache.js.map +1 -1
- package/_cjs/utils/promise/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/hashTypedData.js.map +1 -1
- package/_cjs/utils/signature/signatureToCompactSignature.js.map +1 -1
- package/_cjs/utils/transaction/getTransactionType.js.map +1 -1
- package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
- package/_cjs/utils/transaction/serializeAccessList.js.map +1 -1
- package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
- package/_cjs/utils/typedData.js.map +1 -1
- package/_cjs/utils/uid.js.map +1 -1
- package/_cjs/utils/unit/parseUnits.js.map +1 -1
- package/_esm/accounts/generateMnemonic.js +12 -0
- package/_esm/accounts/generateMnemonic.js.map +1 -0
- package/_esm/accounts/generatePrivateKey.js +11 -0
- package/_esm/accounts/generatePrivateKey.js.map +1 -0
- package/_esm/accounts/hdKeyToAccount.js +17 -0
- package/_esm/accounts/hdKeyToAccount.js.map +1 -0
- package/_esm/accounts/index.js +25 -0
- package/_esm/accounts/index.js.map +1 -0
- package/_esm/accounts/mnemonicToAccount.js +13 -0
- package/_esm/accounts/mnemonicToAccount.js.map +1 -0
- package/_esm/accounts/privateKeyToAccount.js +34 -0
- package/_esm/accounts/privateKeyToAccount.js.map +1 -0
- package/_esm/accounts/toAccount.js +28 -0
- package/_esm/accounts/toAccount.js.map +1 -0
- package/_esm/accounts/types.js +2 -0
- package/_esm/accounts/types.js.map +1 -0
- package/_esm/accounts/utils/parseAccount.js +6 -0
- package/_esm/accounts/utils/parseAccount.js.map +1 -0
- package/_esm/accounts/utils/privateKeyToAddress.js +15 -0
- package/_esm/accounts/utils/privateKeyToAddress.js.map +1 -0
- package/_esm/accounts/utils/publicKeyToAddress.js +14 -0
- package/_esm/accounts/utils/publicKeyToAddress.js.map +1 -0
- package/_esm/accounts/utils/sign.js +19 -0
- package/_esm/accounts/utils/sign.js.map +1 -0
- package/_esm/accounts/utils/signMessage.js +14 -0
- package/_esm/accounts/utils/signMessage.js.map +1 -0
- package/_esm/accounts/utils/signTransaction.js +11 -0
- package/_esm/accounts/utils/signTransaction.js.map +1 -0
- package/_esm/accounts/utils/signTypedData.js +18 -0
- package/_esm/accounts/utils/signTypedData.js.map +1 -0
- package/_esm/actions/ens/getEnsAddress.js +87 -0
- package/_esm/actions/ens/getEnsAddress.js.map +1 -0
- package/_esm/actions/ens/getEnsAvatar.js +49 -0
- package/_esm/actions/ens/getEnsAvatar.js.map +1 -0
- package/_esm/actions/ens/getEnsName.js +63 -0
- package/_esm/actions/ens/getEnsName.js.map +1 -0
- package/_esm/actions/ens/getEnsResolver.js +63 -0
- package/_esm/actions/ens/getEnsResolver.js.map +1 -0
- package/_esm/actions/ens/getEnsText.js +82 -0
- package/_esm/actions/ens/getEnsText.js.map +1 -0
- package/_esm/actions/getContract.js +214 -0
- package/_esm/actions/getContract.js.map +1 -0
- package/_esm/actions/index.js +82 -0
- package/_esm/actions/index.js.map +1 -0
- package/_esm/actions/public/call.js +182 -0
- package/_esm/actions/public/call.js.map +1 -0
- package/_esm/actions/public/createBlockFilter.js +32 -0
- package/_esm/actions/public/createBlockFilter.js.map +1 -0
- package/_esm/actions/public/createContractEventFilter.js +59 -0
- package/_esm/actions/public/createContractEventFilter.js.map +1 -0
- package/_esm/actions/public/createEventFilter.js +67 -0
- package/_esm/actions/public/createEventFilter.js.map +1 -0
- package/_esm/actions/public/createPendingTransactionFilter.js +32 -0
- package/_esm/actions/public/createPendingTransactionFilter.js.map +1 -0
- package/_esm/actions/public/estimateContractGas.js +60 -0
- package/_esm/actions/public/estimateContractGas.js.map +1 -0
- package/_esm/actions/public/estimateFeesPerGas.js +83 -0
- package/_esm/actions/public/estimateFeesPerGas.js.map +1 -0
- package/_esm/actions/public/estimateGas.js +73 -0
- package/_esm/actions/public/estimateGas.js.map +1 -0
- package/_esm/actions/public/estimateMaxPriorityFeePerGas.js +67 -0
- package/_esm/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -0
- package/_esm/actions/public/getBalance.js +45 -0
- package/_esm/actions/public/getBalance.js.map +1 -0
- package/_esm/actions/public/getBlock.js +50 -0
- package/_esm/actions/public/getBlock.js.map +1 -0
- package/_esm/actions/public/getBlockNumber.js +35 -0
- package/_esm/actions/public/getBlockNumber.js.map +1 -0
- package/_esm/actions/public/getBlockTransactionCount.js +43 -0
- package/_esm/actions/public/getBlockTransactionCount.js.map +1 -0
- package/_esm/actions/public/getBytecode.js +35 -0
- package/_esm/actions/public/getBytecode.js.map +1 -0
- package/_esm/actions/public/getChainId.js +29 -0
- package/_esm/actions/public/getChainId.js.map +1 -0
- package/_esm/actions/public/getContractEvents.js +49 -0
- package/_esm/actions/public/getContractEvents.js.map +1 -0
- package/_esm/actions/public/getFeeHistory.js +39 -0
- package/_esm/actions/public/getFeeHistory.js.map +1 -0
- package/_esm/actions/public/getFilterChanges.js +102 -0
- package/_esm/actions/public/getFilterChanges.js.map +1 -0
- package/_esm/actions/public/getFilterLogs.js +45 -0
- package/_esm/actions/public/getFilterLogs.js.map +1 -0
- package/_esm/actions/public/getGasPrice.js +27 -0
- package/_esm/actions/public/getGasPrice.js.map +1 -0
- package/_esm/actions/public/getLogs.js +71 -0
- package/_esm/actions/public/getLogs.js.map +1 -0
- package/_esm/actions/public/getProof.js +37 -0
- package/_esm/actions/public/getProof.js.map +1 -0
- package/_esm/actions/public/getStorageAt.js +34 -0
- package/_esm/actions/public/getStorageAt.js.map +1 -0
- package/_esm/actions/public/getTransaction.js +61 -0
- package/_esm/actions/public/getTransaction.js.map +1 -0
- package/_esm/actions/public/getTransactionConfirmations.js +40 -0
- package/_esm/actions/public/getTransactionConfirmations.js.map +1 -0
- package/_esm/actions/public/getTransactionCount.js +33 -0
- package/_esm/actions/public/getTransactionCount.js.map +1 -0
- package/_esm/actions/public/getTransactionReceipt.js +38 -0
- package/_esm/actions/public/getTransactionReceipt.js.map +1 -0
- package/_esm/actions/public/multicall.js +182 -0
- package/_esm/actions/public/multicall.js.map +1 -0
- package/_esm/actions/public/readContract.js +67 -0
- package/_esm/actions/public/readContract.js.map +1 -0
- package/_esm/actions/public/simulateContract.js +83 -0
- package/_esm/actions/public/simulateContract.js.map +1 -0
- package/_esm/actions/public/uninstallFilter.js +31 -0
- package/_esm/actions/public/uninstallFilter.js.map +1 -0
- package/_esm/actions/public/verifyHash.js +38 -0
- package/_esm/actions/public/verifyHash.js.map +1 -0
- package/_esm/actions/public/verifyMessage.js +23 -0
- package/_esm/actions/public/verifyMessage.js.map +1 -0
- package/_esm/actions/public/verifyTypedData.js +21 -0
- package/_esm/actions/public/verifyTypedData.js.map +1 -0
- package/_esm/actions/public/waitForTransactionReceipt.js +180 -0
- package/_esm/actions/public/waitForTransactionReceipt.js.map +1 -0
- package/_esm/actions/public/watchBlockNumber.js +105 -0
- package/_esm/actions/public/watchBlockNumber.js.map +1 -0
- package/_esm/actions/public/watchBlocks.js +120 -0
- package/_esm/actions/public/watchBlocks.js.map +1 -0
- package/_esm/actions/public/watchContractEvent.js +199 -0
- package/_esm/actions/public/watchContractEvent.js.map +1 -0
- package/_esm/actions/public/watchEvent.js +200 -0
- package/_esm/actions/public/watchEvent.js.map +1 -0
- package/_esm/actions/public/watchPendingTransactions.js +114 -0
- package/_esm/actions/public/watchPendingTransactions.js.map +1 -0
- package/_esm/actions/test/dropTransaction.js +29 -0
- package/_esm/actions/test/dropTransaction.js.map +1 -0
- package/_esm/actions/test/dumpState.js +26 -0
- package/_esm/actions/test/dumpState.js.map +1 -0
- package/_esm/actions/test/getAutomine.js +30 -0
- package/_esm/actions/test/getAutomine.js.map +1 -0
- package/_esm/actions/test/getTxpoolContent.js +26 -0
- package/_esm/actions/test/getTxpoolContent.js.map +1 -0
- package/_esm/actions/test/getTxpoolStatus.js +31 -0
- package/_esm/actions/test/getTxpoolStatus.js.map +1 -0
- package/_esm/actions/test/impersonateAccount.js +29 -0
- package/_esm/actions/test/impersonateAccount.js.map +1 -0
- package/_esm/actions/test/increaseTime.js +30 -0
- package/_esm/actions/test/increaseTime.js.map +1 -0
- package/_esm/actions/test/inspectTxpool.js +26 -0
- package/_esm/actions/test/inspectTxpool.js.map +1 -0
- package/_esm/actions/test/loadState.js +27 -0
- package/_esm/actions/test/loadState.js.map +1 -0
- package/_esm/actions/test/mine.js +34 -0
- package/_esm/actions/test/mine.js.map +1 -0
- package/_esm/actions/test/removeBlockTimestampInterval.js +25 -0
- package/_esm/actions/test/removeBlockTimestampInterval.js.map +1 -0
- package/_esm/actions/test/reset.js +27 -0
- package/_esm/actions/test/reset.js.map +1 -0
- package/_esm/actions/test/revert.js +27 -0
- package/_esm/actions/test/revert.js.map +1 -0
- package/_esm/actions/test/sendUnsignedTransaction.js +52 -0
- package/_esm/actions/test/sendUnsignedTransaction.js.map +1 -0
- package/_esm/actions/test/setAutomine.js +33 -0
- package/_esm/actions/test/setAutomine.js.map +1 -0
- package/_esm/actions/test/setBalance.js +37 -0
- package/_esm/actions/test/setBalance.js.map +1 -0
- package/_esm/actions/test/setBlockGasLimit.js +28 -0
- package/_esm/actions/test/setBlockGasLimit.js.map +1 -0
- package/_esm/actions/test/setBlockTimestampInterval.js +32 -0
- package/_esm/actions/test/setBlockTimestampInterval.js.map +1 -0
- package/_esm/actions/test/setCode.js +30 -0
- package/_esm/actions/test/setCode.js.map +1 -0
- package/_esm/actions/test/setCoinbase.js +29 -0
- package/_esm/actions/test/setCoinbase.js.map +1 -0
- package/_esm/actions/test/setIntervalMining.js +32 -0
- package/_esm/actions/test/setIntervalMining.js.map +1 -0
- package/_esm/actions/test/setLoggingEnabled.js +26 -0
- package/_esm/actions/test/setLoggingEnabled.js.map +1 -0
- package/_esm/actions/test/setMinGasPrice.js +32 -0
- package/_esm/actions/test/setMinGasPrice.js.map +1 -0
- package/_esm/actions/test/setNextBlockBaseFeePerGas.js +30 -0
- package/_esm/actions/test/setNextBlockBaseFeePerGas.js.map +1 -0
- package/_esm/actions/test/setNextBlockTimestamp.js +28 -0
- package/_esm/actions/test/setNextBlockTimestamp.js.map +1 -0
- package/_esm/actions/test/setNonce.js +31 -0
- package/_esm/actions/test/setNonce.js.map +1 -0
- package/_esm/actions/test/setRpcUrl.js +27 -0
- package/_esm/actions/test/setRpcUrl.js.map +1 -0
- package/_esm/actions/test/setStorageAt.js +36 -0
- package/_esm/actions/test/setStorageAt.js.map +1 -0
- package/_esm/actions/test/snapshot.js +25 -0
- package/_esm/actions/test/snapshot.js.map +1 -0
- package/_esm/actions/test/stopImpersonatingAccount.js +29 -0
- package/_esm/actions/test/stopImpersonatingAccount.js.map +1 -0
- package/_esm/actions/wallet/addChain.js +38 -0
- package/_esm/actions/wallet/addChain.js.map +1 -0
- package/_esm/actions/wallet/deployContract.js +38 -0
- package/_esm/actions/wallet/deployContract.js.map +1 -0
- package/_esm/actions/wallet/getAddresses.js +28 -0
- package/_esm/actions/wallet/getAddresses.js.map +1 -0
- package/_esm/actions/wallet/getPermissions.js +25 -0
- package/_esm/actions/wallet/getPermissions.js.map +1 -0
- package/_esm/actions/wallet/prepareTransactionRequest.js +114 -0
- package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -0
- package/_esm/actions/wallet/requestAddresses.js +30 -0
- package/_esm/actions/wallet/requestAddresses.js.map +1 -0
- package/_esm/actions/wallet/requestPermissions.js +30 -0
- package/_esm/actions/wallet/requestPermissions.js.map +1 -0
- package/_esm/actions/wallet/sendRawTransaction.js +31 -0
- package/_esm/actions/wallet/sendRawTransaction.js.map +1 -0
- package/_esm/actions/wallet/sendTransaction.js +130 -0
- package/_esm/actions/wallet/sendTransaction.js.map +1 -0
- package/_esm/actions/wallet/signMessage.js +70 -0
- package/_esm/actions/wallet/signMessage.js.map +1 -0
- package/_esm/actions/wallet/signTransaction.js +88 -0
- package/_esm/actions/wallet/signTransaction.js.map +1 -0
- package/_esm/actions/wallet/signTypedData.js +126 -0
- package/_esm/actions/wallet/signTypedData.js.map +1 -0
- package/_esm/actions/wallet/switchChain.js +32 -0
- package/_esm/actions/wallet/switchChain.js.map +1 -0
- package/_esm/actions/wallet/watchAsset.js +36 -0
- package/_esm/actions/wallet/watchAsset.js.map +1 -0
- package/_esm/actions/wallet/writeContract.js +67 -0
- package/_esm/actions/wallet/writeContract.js.map +1 -0
- package/_esm/chains/celo/chainConfig.js +7 -0
- package/_esm/chains/celo/chainConfig.js.map +1 -0
- package/_esm/chains/celo/formatters.js +80 -0
- package/_esm/chains/celo/formatters.js.map +1 -0
- package/_esm/chains/celo/index.js +4 -0
- package/_esm/chains/celo/index.js.map +1 -0
- package/_esm/chains/celo/parsers.js +127 -0
- package/_esm/chains/celo/parsers.js.map +1 -0
- package/_esm/chains/celo/serializers.js +127 -0
- package/_esm/chains/celo/serializers.js.map +1 -0
- package/_esm/chains/celo/types.js +2 -0
- package/_esm/chains/celo/types.js.map +1 -0
- package/_esm/chains/celo/utils.js +50 -0
- package/_esm/chains/celo/utils.js.map +1 -0
- package/_esm/chains/definitions/arbitrum.js +21 -0
- package/_esm/chains/definitions/arbitrum.js.map +1 -0
- package/_esm/chains/definitions/arbitrumGoerli.js +27 -0
- package/_esm/chains/definitions/arbitrumGoerli.js.map +1 -0
- package/_esm/chains/definitions/arbitrumNova.js +21 -0
- package/_esm/chains/definitions/arbitrumNova.js.map +1 -0
- package/_esm/chains/definitions/arbitrumSepolia.js +29 -0
- package/_esm/chains/definitions/arbitrumSepolia.js.map +1 -0
- package/_esm/chains/definitions/astar.js +26 -0
- package/_esm/chains/definitions/astar.js.map +1 -0
- package/_esm/chains/definitions/astarZkatana.js +39 -0
- package/_esm/chains/definitions/astarZkatana.js.map +1 -0
- package/_esm/chains/definitions/aurora.js +23 -0
- package/_esm/chains/definitions/aurora.js.map +1 -0
- package/_esm/chains/definitions/auroraTestnet.js +18 -0
- package/_esm/chains/definitions/auroraTestnet.js.map +1 -0
- package/_esm/chains/definitions/avalanche.js +23 -0
- package/_esm/chains/definitions/avalanche.js.map +1 -0
- package/_esm/chains/definitions/avalancheFuji.js +24 -0
- package/_esm/chains/definitions/avalancheFuji.js.map +1 -0
- package/_esm/chains/definitions/base.js +35 -0
- package/_esm/chains/definitions/base.js.map +1 -0
- package/_esm/chains/definitions/baseGoerli.js +33 -0
- package/_esm/chains/definitions/baseGoerli.js.map +1 -0
- package/_esm/chains/definitions/baseSepolia.js +40 -0
- package/_esm/chains/definitions/baseSepolia.js.map +1 -0
- package/_esm/chains/definitions/bearNetworkChainMainnet.js +17 -0
- package/_esm/chains/definitions/bearNetworkChainMainnet.js.map +1 -0
- package/_esm/chains/definitions/bearNetworkChainTestnet.js +21 -0
- package/_esm/chains/definitions/bearNetworkChainTestnet.js.map +1 -0
- package/_esm/chains/definitions/boba.js +23 -0
- package/_esm/chains/definitions/boba.js.map +1 -0
- package/_esm/chains/definitions/bronos.js +17 -0
- package/_esm/chains/definitions/bronos.js.map +1 -0
- package/_esm/chains/definitions/bronosTestnet.js +18 -0
- package/_esm/chains/definitions/bronosTestnet.js.map +1 -0
- package/_esm/chains/definitions/bsc.js +23 -0
- package/_esm/chains/definitions/bsc.js.map +1 -0
- package/_esm/chains/definitions/bscTestnet.js +25 -0
- package/_esm/chains/definitions/bscTestnet.js.map +1 -0
- package/_esm/chains/definitions/bxn.js +18 -0
- package/_esm/chains/definitions/bxn.js.map +1 -0
- package/_esm/chains/definitions/bxnTestnet.js +22 -0
- package/_esm/chains/definitions/bxnTestnet.js.map +1 -0
- package/_esm/chains/definitions/canto.js +26 -0
- package/_esm/chains/definitions/canto.js.map +1 -0
- package/_esm/chains/definitions/celo.js +29 -0
- package/_esm/chains/definitions/celo.js.map +1 -0
- package/_esm/chains/definitions/celoAlfajores.js +31 -0
- package/_esm/chains/definitions/celoAlfajores.js.map +1 -0
- package/_esm/chains/definitions/celoCannoli.js +31 -0
- package/_esm/chains/definitions/celoCannoli.js.map +1 -0
- package/_esm/chains/definitions/chiliz.js +23 -0
- package/_esm/chains/definitions/chiliz.js.map +1 -0
- package/_esm/chains/definitions/classic.js +20 -0
- package/_esm/chains/definitions/classic.js.map +1 -0
- package/_esm/chains/definitions/confluxESpace.js +25 -0
- package/_esm/chains/definitions/confluxESpace.js.map +1 -0
- package/_esm/chains/definitions/confluxESpaceTestnet.js +31 -0
- package/_esm/chains/definitions/confluxESpaceTestnet.js.map +1 -0
- package/_esm/chains/definitions/coreDao.js +24 -0
- package/_esm/chains/definitions/coreDao.js.map +1 -0
- package/_esm/chains/definitions/cronos.js +23 -0
- package/_esm/chains/definitions/cronos.js.map +1 -0
- package/_esm/chains/definitions/cronosTestnet.js +27 -0
- package/_esm/chains/definitions/cronosTestnet.js.map +1 -0
- package/_esm/chains/definitions/crossbell.js +25 -0
- package/_esm/chains/definitions/crossbell.js.map +1 -0
- package/_esm/chains/definitions/dfk.js +22 -0
- package/_esm/chains/definitions/dfk.js.map +1 -0
- package/_esm/chains/definitions/dogechain.js +20 -0
- package/_esm/chains/definitions/dogechain.js.map +1 -0
- package/_esm/chains/definitions/edgeware.js +23 -0
- package/_esm/chains/definitions/edgeware.js.map +1 -0
- package/_esm/chains/definitions/edgewareTestnet.js +20 -0
- package/_esm/chains/definitions/edgewareTestnet.js.map +1 -0
- package/_esm/chains/definitions/ekta.js +17 -0
- package/_esm/chains/definitions/ekta.js.map +1 -0
- package/_esm/chains/definitions/ektaTestnet.js +18 -0
- package/_esm/chains/definitions/ektaTestnet.js.map +1 -0
- package/_esm/chains/definitions/eon.js +21 -0
- package/_esm/chains/definitions/eon.js.map +1 -0
- package/_esm/chains/definitions/eos.js +26 -0
- package/_esm/chains/definitions/eos.js.map +1 -0
- package/_esm/chains/definitions/eosTestnet.js +27 -0
- package/_esm/chains/definitions/eosTestnet.js.map +1 -0
- package/_esm/chains/definitions/evmos.js +17 -0
- package/_esm/chains/definitions/evmos.js.map +1 -0
- package/_esm/chains/definitions/evmosTestnet.js +20 -0
- package/_esm/chains/definitions/evmosTestnet.js.map +1 -0
- package/_esm/chains/definitions/fantom.js +23 -0
- package/_esm/chains/definitions/fantom.js.map +1 -0
- package/_esm/chains/definitions/fantomTestnet.js +23 -0
- package/_esm/chains/definitions/fantomTestnet.js.map +1 -0
- package/_esm/chains/definitions/fibo.js +17 -0
- package/_esm/chains/definitions/fibo.js.map +1 -0
- package/_esm/chains/definitions/filecoin.js +23 -0
- package/_esm/chains/definitions/filecoin.js.map +1 -0
- package/_esm/chains/definitions/filecoinCalibration.js +17 -0
- package/_esm/chains/definitions/filecoinCalibration.js.map +1 -0
- package/_esm/chains/definitions/filecoinHyperspace.js +17 -0
- package/_esm/chains/definitions/filecoinHyperspace.js.map +1 -0
- package/_esm/chains/definitions/flare.js +20 -0
- package/_esm/chains/definitions/flare.js.map +1 -0
- package/_esm/chains/definitions/flareTestnet.js +21 -0
- package/_esm/chains/definitions/flareTestnet.js.map +1 -0
- package/_esm/chains/definitions/foundry.js +17 -0
- package/_esm/chains/definitions/foundry.js.map +1 -0
- package/_esm/chains/definitions/fuse.js +19 -0
- package/_esm/chains/definitions/fuse.js.map +1 -0
- package/_esm/chains/definitions/fuseSparknet.js +16 -0
- package/_esm/chains/definitions/fuseSparknet.js.map +1 -0
- package/_esm/chains/definitions/gnosis.js +29 -0
- package/_esm/chains/definitions/gnosis.js.map +1 -0
- package/_esm/chains/definitions/gnosisChiado.js +30 -0
- package/_esm/chains/definitions/gnosisChiado.js.map +1 -0
- package/_esm/chains/definitions/gobi.js +19 -0
- package/_esm/chains/definitions/gobi.js.map +1 -0
- package/_esm/chains/definitions/goerli.js +32 -0
- package/_esm/chains/definitions/goerli.js.map +1 -0
- package/_esm/chains/definitions/haqqMainnet.js +22 -0
- package/_esm/chains/definitions/haqqMainnet.js.map +1 -0
- package/_esm/chains/definitions/haqqTestedge2.js +22 -0
- package/_esm/chains/definitions/haqqTestedge2.js.map +1 -0
- package/_esm/chains/definitions/hardhat.js +14 -0
- package/_esm/chains/definitions/hardhat.js.map +1 -0
- package/_esm/chains/definitions/harmonyOne.js +23 -0
- package/_esm/chains/definitions/harmonyOne.js.map +1 -0
- package/_esm/chains/definitions/holesky.js +19 -0
- package/_esm/chains/definitions/holesky.js.map +1 -0
- package/_esm/chains/definitions/iotex.js +20 -0
- package/_esm/chains/definitions/iotex.js.map +1 -0
- package/_esm/chains/definitions/iotexTestnet.js +20 -0
- package/_esm/chains/definitions/iotexTestnet.js.map +1 -0
- package/_esm/chains/definitions/kava.js +26 -0
- package/_esm/chains/definitions/kava.js.map +1 -0
- package/_esm/chains/definitions/kavaTestnet.js +29 -0
- package/_esm/chains/definitions/kavaTestnet.js.map +1 -0
- package/_esm/chains/definitions/klaytn.js +23 -0
- package/_esm/chains/definitions/klaytn.js.map +1 -0
- package/_esm/chains/definitions/klaytnBaobab.js +27 -0
- package/_esm/chains/definitions/klaytnBaobab.js.map +1 -0
- package/_esm/chains/definitions/kroma.js +19 -0
- package/_esm/chains/definitions/kroma.js.map +1 -0
- package/_esm/chains/definitions/kromaSepolia.js +19 -0
- package/_esm/chains/definitions/kromaSepolia.js.map +1 -0
- package/_esm/chains/definitions/linea.js +26 -0
- package/_esm/chains/definitions/linea.js.map +1 -0
- package/_esm/chains/definitions/lineaTestnet.js +26 -0
- package/_esm/chains/definitions/lineaTestnet.js.map +1 -0
- package/_esm/chains/definitions/localhost.js +14 -0
- package/_esm/chains/definitions/localhost.js.map +1 -0
- package/_esm/chains/definitions/lukso.js +28 -0
- package/_esm/chains/definitions/lukso.js.map +1 -0
- package/_esm/chains/definitions/mainnet.js +31 -0
- package/_esm/chains/definitions/mainnet.js.map +1 -0
- package/_esm/chains/definitions/manta.js +32 -0
- package/_esm/chains/definitions/manta.js.map +1 -0
- package/_esm/chains/definitions/mantaTestnet.js +33 -0
- package/_esm/chains/definitions/mantaTestnet.js.map +1 -0
- package/_esm/chains/definitions/mantle.js +26 -0
- package/_esm/chains/definitions/mantle.js.map +1 -0
- package/_esm/chains/definitions/mantleTestnet.js +21 -0
- package/_esm/chains/definitions/mantleTestnet.js.map +1 -0
- package/_esm/chains/definitions/meter.js +17 -0
- package/_esm/chains/definitions/meter.js.map +1 -0
- package/_esm/chains/definitions/meterTestnet.js +20 -0
- package/_esm/chains/definitions/meterTestnet.js.map +1 -0
- package/_esm/chains/definitions/metis.js +26 -0
- package/_esm/chains/definitions/metis.js.map +1 -0
- package/_esm/chains/definitions/metisGoerli.js +26 -0
- package/_esm/chains/definitions/metisGoerli.js.map +1 -0
- package/_esm/chains/definitions/mev.js +28 -0
- package/_esm/chains/definitions/mev.js.map +1 -0
- package/_esm/chains/definitions/mevTestnet.js +29 -0
- package/_esm/chains/definitions/mevTestnet.js.map +1 -0
- package/_esm/chains/definitions/modeTestnet.js +25 -0
- package/_esm/chains/definitions/modeTestnet.js.map +1 -0
- package/_esm/chains/definitions/moonbaseAlpha.js +30 -0
- package/_esm/chains/definitions/moonbaseAlpha.js.map +1 -0
- package/_esm/chains/definitions/moonbeam.js +30 -0
- package/_esm/chains/definitions/moonbeam.js.map +1 -0
- package/_esm/chains/definitions/moonbeamDev.js +17 -0
- package/_esm/chains/definitions/moonbeamDev.js.map +1 -0
- package/_esm/chains/definitions/moonriver.js +30 -0
- package/_esm/chains/definitions/moonriver.js.map +1 -0
- package/_esm/chains/definitions/neonDevnet.js +25 -0
- package/_esm/chains/definitions/neonDevnet.js.map +1 -0
- package/_esm/chains/definitions/neonMainnet.js +24 -0
- package/_esm/chains/definitions/neonMainnet.js.map +1 -0
- package/_esm/chains/definitions/nexi.js +24 -0
- package/_esm/chains/definitions/nexi.js.map +1 -0
- package/_esm/chains/definitions/nexilix.js +23 -0
- package/_esm/chains/definitions/nexilix.js.map +1 -0
- package/_esm/chains/definitions/oasys.js +18 -0
- package/_esm/chains/definitions/oasys.js.map +1 -0
- package/_esm/chains/definitions/okc.js +23 -0
- package/_esm/chains/definitions/okc.js.map +1 -0
- package/_esm/chains/definitions/opBNB.js +23 -0
- package/_esm/chains/definitions/opBNB.js.map +1 -0
- package/_esm/chains/definitions/opBNBTestnet.js +24 -0
- package/_esm/chains/definitions/opBNBTestnet.js.map +1 -0
- package/_esm/chains/definitions/optimism.js +34 -0
- package/_esm/chains/definitions/optimism.js.map +1 -0
- package/_esm/chains/definitions/optimismGoerli.js +35 -0
- package/_esm/chains/definitions/optimismGoerli.js.map +1 -0
- package/_esm/chains/definitions/optimismSepolia.js +35 -0
- package/_esm/chains/definitions/optimismSepolia.js.map +1 -0
- package/_esm/chains/definitions/pgn.js +34 -0
- package/_esm/chains/definitions/pgn.js.map +1 -0
- package/_esm/chains/definitions/pgnTestnet.js +35 -0
- package/_esm/chains/definitions/pgnTestnet.js.map +1 -0
- package/_esm/chains/definitions/plinga.js +24 -0
- package/_esm/chains/definitions/plinga.js.map +1 -0
- package/_esm/chains/definitions/polygon.js +24 -0
- package/_esm/chains/definitions/polygon.js.map +1 -0
- package/_esm/chains/definitions/polygonMumbai.js +25 -0
- package/_esm/chains/definitions/polygonMumbai.js.map +1 -0
- package/_esm/chains/definitions/polygonZkEvm.js +24 -0
- package/_esm/chains/definitions/polygonZkEvm.js.map +1 -0
- package/_esm/chains/definitions/polygonZkEvmTestnet.js +25 -0
- package/_esm/chains/definitions/polygonZkEvmTestnet.js.map +1 -0
- package/_esm/chains/definitions/pulsechain.js +29 -0
- package/_esm/chains/definitions/pulsechain.js.map +1 -0
- package/_esm/chains/definitions/pulsechainV4.js +29 -0
- package/_esm/chains/definitions/pulsechainV4.js.map +1 -0
- package/_esm/chains/definitions/qMainnet.js +20 -0
- package/_esm/chains/definitions/qMainnet.js.map +1 -0
- package/_esm/chains/definitions/qTestnet.js +21 -0
- package/_esm/chains/definitions/qTestnet.js.map +1 -0
- package/_esm/chains/definitions/rollux.js +26 -0
- package/_esm/chains/definitions/rollux.js.map +1 -0
- package/_esm/chains/definitions/rolluxTestnet.js +29 -0
- package/_esm/chains/definitions/rolluxTestnet.js.map +1 -0
- package/_esm/chains/definitions/ronin.js +21 -0
- package/_esm/chains/definitions/ronin.js.map +1 -0
- package/_esm/chains/definitions/rootstock.js +26 -0
- package/_esm/chains/definitions/rootstock.js.map +1 -0
- package/_esm/chains/definitions/saigon.js +25 -0
- package/_esm/chains/definitions/saigon.js.map +1 -0
- package/_esm/chains/definitions/sapphire.js +30 -0
- package/_esm/chains/definitions/sapphire.js.map +1 -0
- package/_esm/chains/definitions/sapphireTestnet.js +25 -0
- package/_esm/chains/definitions/sapphireTestnet.js.map +1 -0
- package/_esm/chains/definitions/scroll.js +26 -0
- package/_esm/chains/definitions/scroll.js.map +1 -0
- package/_esm/chains/definitions/scrollSepolia.js +25 -0
- package/_esm/chains/definitions/scrollSepolia.js.map +1 -0
- package/_esm/chains/definitions/scrollTestnet.js +20 -0
- package/_esm/chains/definitions/scrollTestnet.js.map +1 -0
- package/_esm/chains/definitions/sepolia.js +30 -0
- package/_esm/chains/definitions/sepolia.js.map +1 -0
- package/_esm/chains/definitions/shardeumSphinx.js +19 -0
- package/_esm/chains/definitions/shardeumSphinx.js.map +1 -0
- package/_esm/chains/definitions/shibarium.js +32 -0
- package/_esm/chains/definitions/shibarium.js.map +1 -0
- package/_esm/chains/definitions/shimmer.js +26 -0
- package/_esm/chains/definitions/shimmer.js.map +1 -0
- package/_esm/chains/definitions/shimmerTestnet.js +27 -0
- package/_esm/chains/definitions/shimmerTestnet.js.map +1 -0
- package/_esm/chains/definitions/skale/brawl.js +20 -0
- package/_esm/chains/definitions/skale/brawl.js.map +1 -0
- package/_esm/chains/definitions/skale/calypso.js +27 -0
- package/_esm/chains/definitions/skale/calypso.js.map +1 -0
- package/_esm/chains/definitions/skale/calypsoTestnet.js +30 -0
- package/_esm/chains/definitions/skale/calypsoTestnet.js.map +1 -0
- package/_esm/chains/definitions/skale/chaosTestnet.js +30 -0
- package/_esm/chains/definitions/skale/chaosTestnet.js.map +1 -0
- package/_esm/chains/definitions/skale/cryptoBlades.js +22 -0
- package/_esm/chains/definitions/skale/cryptoBlades.js.map +1 -0
- package/_esm/chains/definitions/skale/cryptoColosseum.js +20 -0
- package/_esm/chains/definitions/skale/cryptoColosseum.js.map +1 -0
- package/_esm/chains/definitions/skale/europa.js +25 -0
- package/_esm/chains/definitions/skale/europa.js.map +1 -0
- package/_esm/chains/definitions/skale/europaTestnet.js +28 -0
- package/_esm/chains/definitions/skale/europaTestnet.js.map +1 -0
- package/_esm/chains/definitions/skale/exorde.js +20 -0
- package/_esm/chains/definitions/skale/exorde.js.map +1 -0
- package/_esm/chains/definitions/skale/humanProtocol.js +20 -0
- package/_esm/chains/definitions/skale/humanProtocol.js.map +1 -0
- package/_esm/chains/definitions/skale/nebula.js +25 -0
- package/_esm/chains/definitions/skale/nebula.js.map +1 -0
- package/_esm/chains/definitions/skale/nebulaTestnet.js +28 -0
- package/_esm/chains/definitions/skale/nebulaTestnet.js.map +1 -0
- package/_esm/chains/definitions/skale/razor.js +20 -0
- package/_esm/chains/definitions/skale/razor.js.map +1 -0
- package/_esm/chains/definitions/skale/titan.js +25 -0
- package/_esm/chains/definitions/skale/titan.js.map +1 -0
- package/_esm/chains/definitions/skale/titanTestnet.js +30 -0
- package/_esm/chains/definitions/skale/titanTestnet.js.map +1 -0
- package/_esm/chains/definitions/songbird.js +20 -0
- package/_esm/chains/definitions/songbird.js.map +1 -0
- package/_esm/chains/definitions/songbirdTestnet.js +21 -0
- package/_esm/chains/definitions/songbirdTestnet.js.map +1 -0
- package/_esm/chains/definitions/spicy.js +31 -0
- package/_esm/chains/definitions/spicy.js.map +1 -0
- package/_esm/chains/definitions/syscoin.js +26 -0
- package/_esm/chains/definitions/syscoin.js.map +1 -0
- package/_esm/chains/definitions/syscoinTestnet.js +26 -0
- package/_esm/chains/definitions/syscoinTestnet.js.map +1 -0
- package/_esm/chains/definitions/taikoJolnir.js +18 -0
- package/_esm/chains/definitions/taikoJolnir.js.map +1 -0
- package/_esm/chains/definitions/taikoTestnetSepolia.js +18 -0
- package/_esm/chains/definitions/taikoTestnetSepolia.js.map +1 -0
- package/_esm/chains/definitions/taraxa.js +18 -0
- package/_esm/chains/definitions/taraxa.js.map +1 -0
- package/_esm/chains/definitions/taraxaTestnet.js +19 -0
- package/_esm/chains/definitions/taraxaTestnet.js.map +1 -0
- package/_esm/chains/definitions/telos.js +26 -0
- package/_esm/chains/definitions/telos.js.map +1 -0
- package/_esm/chains/definitions/telosTestnet.js +21 -0
- package/_esm/chains/definitions/telosTestnet.js.map +1 -0
- package/_esm/chains/definitions/tenet.js +20 -0
- package/_esm/chains/definitions/tenet.js.map +1 -0
- package/_esm/chains/definitions/thunderTestnet.js +19 -0
- package/_esm/chains/definitions/thunderTestnet.js.map +1 -0
- package/_esm/chains/definitions/vechain.js +22 -0
- package/_esm/chains/definitions/vechain.js.map +1 -0
- package/_esm/chains/definitions/wanchain.js +27 -0
- package/_esm/chains/definitions/wanchain.js.map +1 -0
- package/_esm/chains/definitions/wanchainTestnet.js +25 -0
- package/_esm/chains/definitions/wanchainTestnet.js.map +1 -0
- package/_esm/chains/definitions/xdc.js +18 -0
- package/_esm/chains/definitions/xdc.js.map +1 -0
- package/_esm/chains/definitions/xdcTestnet.js +18 -0
- package/_esm/chains/definitions/xdcTestnet.js.map +1 -0
- package/_esm/chains/definitions/zetachainAthensTestnet.js +23 -0
- package/_esm/chains/definitions/zetachainAthensTestnet.js.map +1 -0
- package/_esm/chains/definitions/zhejiang.js +19 -0
- package/_esm/chains/definitions/zhejiang.js.map +1 -0
- package/_esm/chains/definitions/zkSync.js +31 -0
- package/_esm/chains/definitions/zkSync.js.map +1 -0
- package/_esm/chains/definitions/zkSyncTestnet.js +28 -0
- package/_esm/chains/definitions/zkSyncTestnet.js.map +1 -0
- package/_esm/chains/definitions/zora.js +36 -0
- package/_esm/chains/definitions/zora.js.map +1 -0
- package/_esm/chains/definitions/zoraSepolia.js +45 -0
- package/_esm/chains/definitions/zoraSepolia.js.map +1 -0
- package/_esm/chains/definitions/zoraTestnet.js +40 -0
- package/_esm/chains/definitions/zoraTestnet.js.map +1 -0
- package/_esm/chains/index.js +170 -0
- package/_esm/chains/index.js.map +1 -0
- package/_esm/chains/opStack/abis.js +391 -0
- package/_esm/chains/opStack/abis.js.map +1 -0
- package/_esm/chains/opStack/actions/buildDepositTransaction.js +54 -0
- package/_esm/chains/opStack/actions/buildDepositTransaction.js.map +1 -0
- package/_esm/chains/opStack/actions/depositTransaction.js +88 -0
- package/_esm/chains/opStack/actions/depositTransaction.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateContractL1Fee.js +55 -0
- package/_esm/chains/opStack/actions/estimateContractL1Fee.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateContractL1Gas.js +55 -0
- package/_esm/chains/opStack/actions/estimateContractL1Gas.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateContractTotalFee.js +55 -0
- package/_esm/chains/opStack/actions/estimateContractTotalFee.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateContractTotalGas.js +55 -0
- package/_esm/chains/opStack/actions/estimateContractTotalGas.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateL1Fee.js +74 -0
- package/_esm/chains/opStack/actions/estimateL1Fee.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateL1Gas.js +74 -0
- package/_esm/chains/opStack/actions/estimateL1Gas.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateTotalFee.js +38 -0
- package/_esm/chains/opStack/actions/estimateTotalFee.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateTotalGas.js +36 -0
- package/_esm/chains/opStack/actions/estimateTotalGas.js.map +1 -0
- package/_esm/chains/opStack/chainConfig.js +9 -0
- package/_esm/chains/opStack/chainConfig.js.map +1 -0
- package/_esm/chains/opStack/chains.js +10 -0
- package/_esm/chains/opStack/chains.js.map +1 -0
- package/_esm/chains/opStack/contracts.js +13 -0
- package/_esm/chains/opStack/contracts.js.map +1 -0
- package/_esm/chains/opStack/decorators/publicL2.js +25 -0
- package/_esm/chains/opStack/decorators/publicL2.js.map +1 -0
- package/_esm/chains/opStack/decorators/walletL1.js +9 -0
- package/_esm/chains/opStack/decorators/walletL1.js.map +1 -0
- package/_esm/chains/opStack/formatters.js +53 -0
- package/_esm/chains/opStack/formatters.js.map +1 -0
- package/_esm/chains/opStack/index.js +22 -0
- package/_esm/chains/opStack/index.js.map +1 -0
- package/_esm/chains/opStack/parsers.js +51 -0
- package/_esm/chains/opStack/parsers.js.map +1 -0
- package/_esm/chains/opStack/serializers.js +47 -0
- package/_esm/chains/opStack/serializers.js.map +1 -0
- package/_esm/chains/opStack/types/block.js +2 -0
- package/_esm/chains/opStack/types/block.js.map +1 -0
- package/_esm/chains/opStack/types/chain.js +2 -0
- package/_esm/chains/opStack/types/chain.js.map +1 -0
- package/_esm/chains/opStack/types/contract.js +2 -0
- package/_esm/chains/opStack/types/contract.js.map +1 -0
- package/_esm/chains/opStack/types/transaction.js +2 -0
- package/_esm/chains/opStack/types/transaction.js.map +1 -0
- package/_esm/chains/opStack/utils/extractTransactionDepositedLogs.js +10 -0
- package/_esm/chains/opStack/utils/extractTransactionDepositedLogs.js.map +1 -0
- package/_esm/chains/opStack/utils/fromOpaqueData.js +25 -0
- package/_esm/chains/opStack/utils/fromOpaqueData.js.map +1 -0
- package/_esm/chains/opStack/utils/getL2TransactionHash.js +25 -0
- package/_esm/chains/opStack/utils/getL2TransactionHash.js.map +1 -0
- package/_esm/chains/opStack/utils/getL2TransactionHashes.js +7 -0
- package/_esm/chains/opStack/utils/getL2TransactionHashes.js.map +1 -0
- package/_esm/chains/opStack/utils/getSourceHash.js +18 -0
- package/_esm/chains/opStack/utils/getSourceHash.js.map +1 -0
- package/_esm/chains/utils.js +5 -0
- package/_esm/chains/utils.js.map +1 -0
- package/_esm/chains/zksync/chainConfig.js +7 -0
- package/_esm/chains/zksync/chainConfig.js.map +1 -0
- package/_esm/chains/zksync/formatters.js +126 -0
- package/_esm/chains/zksync/formatters.js.map +1 -0
- package/_esm/chains/zksync/index.js +3 -0
- package/_esm/chains/zksync/index.js.map +1 -0
- package/_esm/chains/zksync/serializers.js +71 -0
- package/_esm/chains/zksync/serializers.js.map +1 -0
- package/_esm/chains/zksync/types.js +2 -0
- package/_esm/chains/zksync/types.js.map +1 -0
- package/_esm/clients/createClient.js +38 -0
- package/_esm/clients/createClient.js.map +1 -0
- package/_esm/clients/createPublicClient.js +13 -0
- package/_esm/clients/createPublicClient.js.map +1 -0
- package/_esm/clients/createTestClient.js +16 -0
- package/_esm/clients/createTestClient.js.map +1 -0
- package/_esm/clients/createWalletClient.js +14 -0
- package/_esm/clients/createWalletClient.js.map +1 -0
- package/_esm/clients/decorators/public.js +97 -0
- package/_esm/clients/decorators/public.js.map +1 -0
- package/_esm/clients/decorators/test.js +70 -0
- package/_esm/clients/decorators/test.js.map +1 -0
- package/_esm/clients/decorators/wallet.js +38 -0
- package/_esm/clients/decorators/wallet.js.map +1 -0
- package/_esm/clients/transports/createTransport.js +12 -0
- package/_esm/clients/transports/createTransport.js.map +1 -0
- package/_esm/clients/transports/custom.js +16 -0
- package/_esm/clients/transports/custom.js.map +1 -0
- package/_esm/clients/transports/fallback.js +141 -0
- package/_esm/clients/transports/fallback.js.map +1 -0
- package/_esm/clients/transports/http.js +60 -0
- package/_esm/clients/transports/http.js.map +1 -0
- package/_esm/clients/transports/webSocket.js +82 -0
- package/_esm/clients/transports/webSocket.js.map +1 -0
- package/_esm/constants/abis.js +1360 -0
- package/_esm/constants/abis.js.map +1 -0
- package/_esm/constants/address.js +2 -0
- package/_esm/constants/address.js.map +1 -0
- package/_esm/constants/bytes.js +2 -0
- package/_esm/constants/bytes.js.map +1 -0
- package/_esm/constants/contract.js +2 -0
- package/_esm/constants/contract.js.map +1 -0
- package/_esm/constants/contracts.js +2 -0
- package/_esm/constants/contracts.js.map +1 -0
- package/_esm/constants/number.js +97 -0
- package/_esm/constants/number.js.map +1 -0
- package/_esm/constants/solidity.js +33 -0
- package/_esm/constants/solidity.js.map +1 -0
- package/_esm/constants/strings.js +2 -0
- package/_esm/constants/strings.js.map +1 -0
- package/_esm/constants/unit.js +13 -0
- package/_esm/constants/unit.js.map +1 -0
- package/_esm/ens/index.js +9 -0
- package/_esm/ens/index.js.map +1 -0
- package/_esm/errors/abi.js +433 -0
- package/_esm/errors/abi.js.map +1 -0
- package/_esm/errors/account.js +19 -0
- package/_esm/errors/account.js.map +1 -0
- package/_esm/errors/address.js +13 -0
- package/_esm/errors/address.js.map +1 -0
- package/_esm/errors/base.js +79 -0
- package/_esm/errors/base.js.map +1 -0
- package/_esm/errors/block.js +18 -0
- package/_esm/errors/block.js.map +1 -0
- package/_esm/errors/ccip.js +63 -0
- package/_esm/errors/ccip.js.map +1 -0
- package/_esm/errors/chain.js +78 -0
- package/_esm/errors/chain.js.map +1 -0
- package/_esm/errors/contract.js +278 -0
- package/_esm/errors/contract.js.map +1 -0
- package/_esm/errors/cursor.js +24 -0
- package/_esm/errors/cursor.js.map +1 -0
- package/_esm/errors/data.js +26 -0
- package/_esm/errors/data.js.map +1 -0
- package/_esm/errors/encoding.js +57 -0
- package/_esm/errors/encoding.js.map +1 -0
- package/_esm/errors/ens.js +52 -0
- package/_esm/errors/ens.js.map +1 -0
- package/_esm/errors/estimateGas.js +45 -0
- package/_esm/errors/estimateGas.js.map +1 -0
- package/_esm/errors/fee.js +36 -0
- package/_esm/errors/fee.js.map +1 -0
- package/_esm/errors/log.js +13 -0
- package/_esm/errors/log.js.map +1 -0
- package/_esm/errors/node.js +247 -0
- package/_esm/errors/node.js.map +1 -0
- package/_esm/errors/request.js +100 -0
- package/_esm/errors/request.js.map +1 -0
- package/_esm/errors/rpc.js +424 -0
- package/_esm/errors/rpc.js.map +1 -0
- package/_esm/errors/transaction.js +211 -0
- package/_esm/errors/transaction.js.map +1 -0
- package/_esm/errors/transport.js +9 -0
- package/_esm/errors/transport.js.map +1 -0
- package/_esm/errors/utils.js +5 -0
- package/_esm/errors/utils.js.map +1 -0
- package/_esm/errors/version.js +2 -0
- package/_esm/errors/version.js.map +1 -0
- package/_esm/index.js +121 -0
- package/_esm/index.js.map +1 -0
- package/_esm/package.json +1 -0
- package/_esm/types/account.js +2 -0
- package/_esm/types/account.js.map +1 -0
- package/_esm/types/block.js +2 -0
- package/_esm/types/block.js.map +1 -0
- package/_esm/types/chain.js +2 -0
- package/_esm/types/chain.js.map +1 -0
- package/_esm/types/contract.js +2 -0
- package/_esm/types/contract.js.map +1 -0
- package/_esm/types/eip1193.js +20 -0
- package/_esm/types/eip1193.js.map +1 -0
- package/_esm/types/ens.js +2 -0
- package/_esm/types/ens.js.map +1 -0
- package/_esm/types/fee.js +2 -0
- package/_esm/types/fee.js.map +1 -0
- package/_esm/types/filter.js +2 -0
- package/_esm/types/filter.js.map +1 -0
- package/_esm/types/log.js +2 -0
- package/_esm/types/log.js.map +1 -0
- package/_esm/types/misc.js +2 -0
- package/_esm/types/misc.js.map +1 -0
- package/_esm/types/multicall.js +2 -0
- package/_esm/types/multicall.js.map +1 -0
- package/_esm/types/proof.js +2 -0
- package/_esm/types/proof.js.map +1 -0
- package/_esm/types/rpc.js +2 -0
- package/_esm/types/rpc.js.map +1 -0
- package/_esm/types/transaction.js +2 -0
- package/_esm/types/transaction.js.map +1 -0
- package/_esm/types/transport.js +2 -0
- package/_esm/types/transport.js.map +1 -0
- package/_esm/types/typedData.js +2 -0
- package/_esm/types/typedData.js.map +1 -0
- package/_esm/types/utils.js +2 -0
- package/_esm/types/utils.js.map +1 -0
- package/_esm/types/window.js +2 -0
- package/_esm/types/window.js.map +1 -0
- package/_esm/types/withdrawal.js +2 -0
- package/_esm/types/withdrawal.js.map +1 -0
- package/_esm/utils/abi/decodeAbiParameters.js +234 -0
- package/_esm/utils/abi/decodeAbiParameters.js.map +1 -0
- package/_esm/utils/abi/decodeDeployData.js +18 -0
- package/_esm/utils/abi/decodeDeployData.js.map +1 -0
- package/_esm/utils/abi/decodeErrorResult.js +26 -0
- package/_esm/utils/abi/decodeErrorResult.js.map +1 -0
- package/_esm/utils/abi/decodeEventLog.js +83 -0
- package/_esm/utils/abi/decodeEventLog.js.map +1 -0
- package/_esm/utils/abi/decodeFunctionData.js +24 -0
- package/_esm/utils/abi/decodeFunctionData.js.map +1 -0
- package/_esm/utils/abi/decodeFunctionResult.js +25 -0
- package/_esm/utils/abi/decodeFunctionResult.js.map +1 -0
- package/_esm/utils/abi/encodeAbiParameters.js +215 -0
- package/_esm/utils/abi/encodeAbiParameters.js.map +1 -0
- package/_esm/utils/abi/encodeDeployData.js +19 -0
- package/_esm/utils/abi/encodeDeployData.js.map +1 -0
- package/_esm/utils/abi/encodeErrorResult.js +29 -0
- package/_esm/utils/abi/encodeErrorResult.js.map +1 -0
- package/_esm/utils/abi/encodeEventTopics.js +49 -0
- package/_esm/utils/abi/encodeEventTopics.js.map +1 -0
- package/_esm/utils/abi/encodeFunctionData.js +30 -0
- package/_esm/utils/abi/encodeFunctionData.js.map +1 -0
- package/_esm/utils/abi/encodeFunctionResult.js +23 -0
- package/_esm/utils/abi/encodeFunctionResult.js.map +1 -0
- package/_esm/utils/abi/encodePacked.js +69 -0
- package/_esm/utils/abi/encodePacked.js.map +1 -0
- package/_esm/utils/abi/formatAbiItem.js +22 -0
- package/_esm/utils/abi/formatAbiItem.js.map +1 -0
- package/_esm/utils/abi/formatAbiItemWithArgs.js +13 -0
- package/_esm/utils/abi/formatAbiItemWithArgs.js.map +1 -0
- package/_esm/utils/abi/getAbiItem.js +86 -0
- package/_esm/utils/abi/getAbiItem.js.map +1 -0
- package/_esm/utils/abi/parseEventLogs.js +59 -0
- package/_esm/utils/abi/parseEventLogs.js.map +1 -0
- package/_esm/utils/accounts.js +6 -0
- package/_esm/utils/accounts.js.map +1 -0
- package/_esm/utils/address/getAddress.js +26 -0
- package/_esm/utils/address/getAddress.js.map +1 -0
- package/_esm/utils/address/getContractAddress.js +36 -0
- package/_esm/utils/address/getContractAddress.js.map +1 -0
- package/_esm/utils/address/isAddress.js +5 -0
- package/_esm/utils/address/isAddress.js.map +1 -0
- package/_esm/utils/address/isAddressEqual.js +10 -0
- package/_esm/utils/address/isAddressEqual.js.map +1 -0
- package/_esm/utils/buildRequest.js +137 -0
- package/_esm/utils/buildRequest.js.map +1 -0
- package/_esm/utils/ccip.js +119 -0
- package/_esm/utils/ccip.js.map +1 -0
- package/_esm/utils/chain/assertCurrentChain.js +8 -0
- package/_esm/utils/chain/assertCurrentChain.js.map +1 -0
- package/_esm/utils/chain/defineChain.js +9 -0
- package/_esm/utils/chain/defineChain.js.map +1 -0
- package/_esm/utils/chain/extractChain.js +4 -0
- package/_esm/utils/chain/extractChain.js.map +1 -0
- package/_esm/utils/chain/getChainContractAddress.js +22 -0
- package/_esm/utils/chain/getChainContractAddress.js.map +1 -0
- package/_esm/utils/cursor.js +130 -0
- package/_esm/utils/cursor.js.map +1 -0
- package/_esm/utils/data/concat.js +22 -0
- package/_esm/utils/data/concat.js.map +1 -0
- package/_esm/utils/data/isBytes.js +10 -0
- package/_esm/utils/data/isBytes.js.map +1 -0
- package/_esm/utils/data/isBytesEqual.js +9 -0
- package/_esm/utils/data/isBytesEqual.js.map +1 -0
- package/_esm/utils/data/isHex.js +8 -0
- package/_esm/utils/data/isHex.js.map +1 -0
- package/_esm/utils/data/pad.js +36 -0
- package/_esm/utils/data/pad.js.map +1 -0
- package/_esm/utils/data/size.js +13 -0
- package/_esm/utils/data/size.js.map +1 -0
- package/_esm/utils/data/slice.js +69 -0
- package/_esm/utils/data/slice.js.map +1 -0
- package/_esm/utils/data/trim.js +21 -0
- package/_esm/utils/data/trim.js.map +1 -0
- package/_esm/utils/encoding/fromBytes.js +127 -0
- package/_esm/utils/encoding/fromBytes.js.map +1 -0
- package/_esm/utils/encoding/fromHex.js +167 -0
- package/_esm/utils/encoding/fromHex.js.map +1 -0
- package/_esm/utils/encoding/fromRlp.js +63 -0
- package/_esm/utils/encoding/fromRlp.js.map +1 -0
- package/_esm/utils/encoding/toBytes.js +177 -0
- package/_esm/utils/encoding/toBytes.js.map +1 -0
- package/_esm/utils/encoding/toHex.js +177 -0
- package/_esm/utils/encoding/toHex.js.map +1 -0
- package/_esm/utils/encoding/toRlp.js +101 -0
- package/_esm/utils/encoding/toRlp.js.map +1 -0
- package/_esm/utils/ens/avatar/parseAvatarRecord.js +34 -0
- package/_esm/utils/ens/avatar/parseAvatarRecord.js.map +1 -0
- package/_esm/utils/ens/avatar/utils.js +186 -0
- package/_esm/utils/ens/avatar/utils.js.map +1 -0
- package/_esm/utils/ens/encodeLabelhash.js +4 -0
- package/_esm/utils/ens/encodeLabelhash.js.map +1 -0
- package/_esm/utils/ens/encodedLabelToLabelhash.js +14 -0
- package/_esm/utils/ens/encodedLabelToLabelhash.js.map +1 -0
- package/_esm/utils/ens/errors.js +25 -0
- package/_esm/utils/ens/errors.js.map +1 -0
- package/_esm/utils/ens/labelhash.js +20 -0
- package/_esm/utils/ens/labelhash.js.map +1 -0
- package/_esm/utils/ens/namehash.js +32 -0
- package/_esm/utils/ens/namehash.js.map +1 -0
- package/_esm/utils/ens/normalize.js +15 -0
- package/_esm/utils/ens/normalize.js.map +1 -0
- package/_esm/utils/ens/packetToBytes.js +29 -0
- package/_esm/utils/ens/packetToBytes.js.map +1 -0
- package/_esm/utils/errors/getCallError.js +16 -0
- package/_esm/utils/errors/getCallError.js.map +1 -0
- package/_esm/utils/errors/getContractError.js +35 -0
- package/_esm/utils/errors/getContractError.js.map +1 -0
- package/_esm/utils/errors/getEstimateGasError.js +16 -0
- package/_esm/utils/errors/getEstimateGasError.js.map +1 -0
- package/_esm/utils/errors/getNodeError.js +60 -0
- package/_esm/utils/errors/getNodeError.js.map +1 -0
- package/_esm/utils/errors/getTransactionError.js +16 -0
- package/_esm/utils/errors/getTransactionError.js.map +1 -0
- package/_esm/utils/filters/createFilterRequestScope.js +15 -0
- package/_esm/utils/filters/createFilterRequestScope.js.map +1 -0
- package/_esm/utils/formatters/block.js +28 -0
- package/_esm/utils/formatters/block.js.map +1 -0
- package/_esm/utils/formatters/extract.js +23 -0
- package/_esm/utils/formatters/extract.js.map +1 -0
- package/_esm/utils/formatters/feeHistory.js +9 -0
- package/_esm/utils/formatters/feeHistory.js.map +1 -0
- package/_esm/utils/formatters/formatter.js +21 -0
- package/_esm/utils/formatters/formatter.js.map +1 -0
- package/_esm/utils/formatters/log.js +14 -0
- package/_esm/utils/formatters/log.js.map +1 -0
- package/_esm/utils/formatters/proof.js +18 -0
- package/_esm/utils/formatters/proof.js.map +1 -0
- package/_esm/utils/formatters/transaction.js +64 -0
- package/_esm/utils/formatters/transaction.js.map +1 -0
- package/_esm/utils/formatters/transactionReceipt.js +43 -0
- package/_esm/utils/formatters/transactionReceipt.js.map +1 -0
- package/_esm/utils/formatters/transactionRequest.js +35 -0
- package/_esm/utils/formatters/transactionRequest.js.map +1 -0
- package/_esm/utils/getAction.js +14 -0
- package/_esm/utils/getAction.js.map +1 -0
- package/_esm/utils/hash/getEventSelector.js +6 -0
- package/_esm/utils/hash/getEventSelector.js.map +1 -0
- package/_esm/utils/hash/getEventSignature.js +5 -0
- package/_esm/utils/hash/getEventSignature.js.map +1 -0
- package/_esm/utils/hash/getFunctionSelector.js +7 -0
- package/_esm/utils/hash/getFunctionSelector.js.map +1 -0
- package/_esm/utils/hash/getFunctionSignature.js +11 -0
- package/_esm/utils/hash/getFunctionSignature.js.map +1 -0
- package/_esm/utils/hash/hashFunction.js +12 -0
- package/_esm/utils/hash/hashFunction.js.map +1 -0
- package/_esm/utils/hash/isHash.js +6 -0
- package/_esm/utils/hash/isHash.js.map +1 -0
- package/_esm/utils/hash/keccak256.js +12 -0
- package/_esm/utils/hash/keccak256.js.map +1 -0
- package/_esm/utils/hash/normalizeSignature.js +51 -0
- package/_esm/utils/hash/normalizeSignature.js.map +1 -0
- package/_esm/utils/index.js +84 -0
- package/_esm/utils/index.js.map +1 -0
- package/_esm/utils/observe.js +44 -0
- package/_esm/utils/observe.js.map +1 -0
- package/_esm/utils/poll.js +26 -0
- package/_esm/utils/poll.js.map +1 -0
- package/_esm/utils/promise/createBatchScheduler.js +51 -0
- package/_esm/utils/promise/createBatchScheduler.js.map +1 -0
- package/_esm/utils/promise/withCache.js +55 -0
- package/_esm/utils/promise/withCache.js.map +1 -0
- package/_esm/utils/promise/withRetry.js +25 -0
- package/_esm/utils/promise/withRetry.js.map +1 -0
- package/_esm/utils/promise/withTimeout.js +31 -0
- package/_esm/utils/promise/withTimeout.js.map +1 -0
- package/_esm/utils/regex.js +8 -0
- package/_esm/utils/regex.js.map +1 -0
- package/_esm/utils/rpc.js +160 -0
- package/_esm/utils/rpc.js.map +1 -0
- 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 +16 -0
- package/_esm/utils/signature/hashMessage.js.map +1 -0
- package/_esm/utils/signature/hashTypedData.js +122 -0
- package/_esm/utils/signature/hashTypedData.js.map +1 -0
- package/_esm/utils/signature/hexToCompactSignature.js +20 -0
- package/_esm/utils/signature/hexToCompactSignature.js.map +1 -0
- package/_esm/utils/signature/hexToSignature.js +18 -0
- package/_esm/utils/signature/hexToSignature.js.map +1 -0
- package/_esm/utils/signature/recoverAddress.js +6 -0
- package/_esm/utils/signature/recoverAddress.js.map +1 -0
- package/_esm/utils/signature/recoverMessageAddress.js +6 -0
- package/_esm/utils/signature/recoverMessageAddress.js.map +1 -0
- package/_esm/utils/signature/recoverPublicKey.js +19 -0
- package/_esm/utils/signature/recoverPublicKey.js.map +1 -0
- package/_esm/utils/signature/recoverTypedDataAddress.js +15 -0
- package/_esm/utils/signature/recoverTypedDataAddress.js.map +1 -0
- package/_esm/utils/signature/signatureToCompactSignature.js +30 -0
- package/_esm/utils/signature/signatureToCompactSignature.js.map +1 -0
- package/_esm/utils/signature/signatureToHex.js +21 -0
- package/_esm/utils/signature/signatureToHex.js.map +1 -0
- package/_esm/utils/signature/verifyMessage.js +19 -0
- package/_esm/utils/signature/verifyMessage.js.map +1 -0
- package/_esm/utils/signature/verifyTypedData.js +26 -0
- package/_esm/utils/signature/verifyTypedData.js.map +1 -0
- package/_esm/utils/stringify.js +5 -0
- package/_esm/utils/stringify.js.map +1 -0
- package/_esm/utils/transaction/assertRequest.js +24 -0
- package/_esm/utils/transaction/assertRequest.js.map +1 -0
- package/_esm/utils/transaction/assertTransaction.js +45 -0
- package/_esm/utils/transaction/assertTransaction.js.map +1 -0
- package/_esm/utils/transaction/getSerializedTransactionType.js +14 -0
- package/_esm/utils/transaction/getSerializedTransactionType.js.map +1 -0
- package/_esm/utils/transaction/getTransactionType.js +15 -0
- package/_esm/utils/transaction/getTransactionType.js.map +1 -0
- package/_esm/utils/transaction/parseTransaction.js +207 -0
- package/_esm/utils/transaction/parseTransaction.js.map +1 -0
- package/_esm/utils/transaction/serializeAccessList.js +32 -0
- package/_esm/utils/transaction/serializeAccessList.js.map +1 -0
- package/_esm/utils/transaction/serializeTransaction.js +122 -0
- package/_esm/utils/transaction/serializeTransaction.js.map +1 -0
- package/_esm/utils/typedData.js +73 -0
- package/_esm/utils/typedData.js.map +1 -0
- package/_esm/utils/uid.js +14 -0
- package/_esm/utils/uid.js.map +1 -0
- package/_esm/utils/unit/formatEther.js +17 -0
- package/_esm/utils/unit/formatEther.js.map +1 -0
- package/_esm/utils/unit/formatGwei.js +17 -0
- package/_esm/utils/unit/formatGwei.js.map +1 -0
- package/_esm/utils/unit/formatUnits.js +25 -0
- package/_esm/utils/unit/formatUnits.js.map +1 -0
- package/_esm/utils/unit/parseEther.js +17 -0
- package/_esm/utils/unit/parseEther.js.map +1 -0
- package/_esm/utils/unit/parseGwei.js +17 -0
- package/_esm/utils/unit/parseGwei.js.map +1 -0
- package/_esm/utils/unit/parseUnits.js +47 -0
- package/_esm/utils/unit/parseUnits.js.map +1 -0
- package/_esm/utils/wait.js +4 -0
- package/_esm/utils/wait.js.map +1 -0
- package/_esm/window/index.js +2 -0
- package/_esm/window/index.js.map +1 -0
- package/_types/accounts/generateMnemonic.d.ts +11 -0
- package/_types/accounts/generateMnemonic.d.ts.map +1 -0
- package/_types/accounts/generatePrivateKey.d.ts +11 -0
- package/_types/accounts/generatePrivateKey.d.ts.map +1 -0
- package/_types/accounts/hdKeyToAccount.d.ts +13 -0
- package/_types/accounts/hdKeyToAccount.d.ts.map +1 -0
- package/_types/accounts/index.d.ts +27 -0
- package/_types/accounts/index.d.ts.map +1 -0
- package/_types/accounts/mnemonicToAccount.d.ts +11 -0
- package/_types/accounts/mnemonicToAccount.d.ts.map +1 -0
- package/_types/accounts/privateKeyToAccount.d.ts +17 -0
- package/_types/accounts/privateKeyToAccount.d.ts.map +1 -0
- package/_types/accounts/toAccount.d.ts +15 -0
- package/_types/accounts/toAccount.d.ts.map +1 -0
- package/_types/accounts/types.d.ts +50 -0
- package/_types/accounts/types.d.ts.map +1 -0
- package/_types/accounts/utils/parseAccount.d.ts +6 -0
- package/_types/accounts/utils/parseAccount.d.ts.map +1 -0
- package/_types/accounts/utils/privateKeyToAddress.d.ts +15 -0
- package/_types/accounts/utils/privateKeyToAddress.d.ts.map +1 -0
- package/_types/accounts/utils/publicKeyToAddress.d.ts +15 -0
- package/_types/accounts/utils/publicKeyToAddress.d.ts.map +1 -0
- package/_types/accounts/utils/sign.d.ts +19 -0
- package/_types/accounts/utils/sign.d.ts.map +1 -0
- package/_types/accounts/utils/signMessage.d.ts +21 -0
- package/_types/accounts/utils/signMessage.d.ts.map +1 -0
- package/_types/accounts/utils/signTransaction.d.ts +16 -0
- package/_types/accounts/utils/signTransaction.d.ts.map +1 -0
- package/_types/accounts/utils/signTypedData.d.ts +21 -0
- package/_types/accounts/utils/signTypedData.d.ts.map +1 -0
- package/_types/actions/ens/getEnsAddress.d.ts +54 -0
- package/_types/actions/ens/getEnsAddress.d.ts.map +1 -0
- package/_types/actions/ens/getEnsAvatar.d.ts +44 -0
- package/_types/actions/ens/getEnsAvatar.d.ts.map +1 -0
- package/_types/actions/ens/getEnsName.d.ts +46 -0
- package/_types/actions/ens/getEnsName.d.ts.map +1 -0
- package/_types/actions/ens/getEnsResolver.d.ts +48 -0
- package/_types/actions/ens/getEnsResolver.d.ts.map +1 -0
- package/_types/actions/ens/getEnsText.d.ts +53 -0
- package/_types/actions/ens/getEnsText.d.ts.map +1 -0
- package/_types/actions/getContract.d.ts +357 -0
- package/_types/actions/getContract.d.ts.map +1 -0
- package/_types/actions/index.d.ts +82 -0
- package/_types/actions/index.d.ts.map +1 -0
- package/_types/actions/public/call.d.ts +70 -0
- package/_types/actions/public/call.d.ts.map +1 -0
- package/_types/actions/public/createBlockFilter.d.ts +31 -0
- package/_types/actions/public/createBlockFilter.d.ts.map +1 -0
- package/_types/actions/public/createContractEventFilter.d.ts +55 -0
- package/_types/actions/public/createContractEventFilter.d.ts.map +1 -0
- package/_types/actions/public/createEventFilter.d.ts +81 -0
- package/_types/actions/public/createEventFilter.d.ts.map +1 -0
- package/_types/actions/public/createPendingTransactionFilter.d.ts +31 -0
- package/_types/actions/public/createPendingTransactionFilter.d.ts.map +1 -0
- package/_types/actions/public/estimateContractGas.d.ts +43 -0
- package/_types/actions/public/estimateContractGas.d.ts.map +1 -0
- package/_types/actions/public/estimateFeesPerGas.d.ts +53 -0
- package/_types/actions/public/estimateFeesPerGas.d.ts.map +1 -0
- package/_types/actions/public/estimateGas.d.ts +57 -0
- package/_types/actions/public/estimateGas.d.ts.map +1 -0
- package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts +44 -0
- package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts.map +1 -0
- package/_types/actions/public/getBalance.d.ts +59 -0
- package/_types/actions/public/getBalance.d.ts.map +1 -0
- package/_types/actions/public/getBlock.d.ts +61 -0
- package/_types/actions/public/getBlock.d.ts.map +1 -0
- package/_types/actions/public/getBlockNumber.d.ts +58 -0
- package/_types/actions/public/getBlockNumber.d.ts.map +1 -0
- package/_types/actions/public/getBlockTransactionCount.d.ts +52 -0
- package/_types/actions/public/getBlockTransactionCount.d.ts.map +1 -0
- package/_types/actions/public/getBytecode.d.ts +45 -0
- package/_types/actions/public/getBytecode.d.ts.map +1 -0
- package/_types/actions/public/getChainId.d.ts +32 -0
- package/_types/actions/public/getChainId.d.ts.map +1 -0
- package/_types/actions/public/getContractEvents.d.ts +66 -0
- package/_types/actions/public/getContractEvents.d.ts.map +1 -0
- package/_types/actions/public/getFeeHistory.d.ts +57 -0
- package/_types/actions/public/getFeeHistory.d.ts.map +1 -0
- package/_types/actions/public/getFilterChanges.d.ts +101 -0
- package/_types/actions/public/getFilterChanges.d.ts.map +1 -0
- package/_types/actions/public/getFilterLogs.d.ts +45 -0
- package/_types/actions/public/getFilterLogs.d.ts.map +1 -0
- package/_types/actions/public/getGasPrice.d.ts +30 -0
- package/_types/actions/public/getGasPrice.d.ts.map +1 -0
- package/_types/actions/public/getLogs.d.ts +78 -0
- package/_types/actions/public/getLogs.d.ts.map +1 -0
- package/_types/actions/public/getProof.d.ts +57 -0
- package/_types/actions/public/getProof.d.ts.map +1 -0
- package/_types/actions/public/getStorageAt.d.ts +47 -0
- package/_types/actions/public/getStorageAt.d.ts.map +1 -0
- package/_types/actions/public/getTransaction.d.ts +69 -0
- package/_types/actions/public/getTransaction.d.ts.map +1 -0
- package/_types/actions/public/getTransactionConfirmations.d.ts +45 -0
- package/_types/actions/public/getTransactionConfirmations.d.ts.map +1 -0
- package/_types/actions/public/getTransactionCount.d.ts +49 -0
- package/_types/actions/public/getTransactionCount.d.ts.map +1 -0
- package/_types/actions/public/getTransactionReceipt.d.ts +40 -0
- package/_types/actions/public/getTransactionReceipt.d.ts.map +1 -0
- package/_types/actions/public/multicall.d.ts +73 -0
- package/_types/actions/public/multicall.d.ts.map +1 -0
- package/_types/actions/public/readContract.d.ts +46 -0
- package/_types/actions/public/readContract.d.ts.map +1 -0
- package/_types/actions/public/simulateContract.d.ts +67 -0
- package/_types/actions/public/simulateContract.d.ts.map +1 -0
- package/_types/actions/public/uninstallFilter.d.ts +37 -0
- package/_types/actions/public/uninstallFilter.d.ts.map +1 -0
- package/_types/actions/public/verifyHash.d.ts +30 -0
- package/_types/actions/public/verifyHash.d.ts.map +1 -0
- package/_types/actions/public/verifyMessage.d.ts +31 -0
- package/_types/actions/public/verifyMessage.d.ts.map +1 -0
- package/_types/actions/public/verifyTypedData.d.ts +30 -0
- package/_types/actions/public/verifyTypedData.d.ts.map +1 -0
- package/_types/actions/public/waitForTransactionReceipt.d.ts +78 -0
- package/_types/actions/public/waitForTransactionReceipt.d.ts.map +1 -0
- package/_types/actions/public/watchBlockNumber.d.ts +58 -0
- package/_types/actions/public/watchBlockNumber.d.ts.map +1 -0
- package/_types/actions/public/watchBlocks.d.ts +66 -0
- package/_types/actions/public/watchBlocks.d.ts.map +1 -0
- package/_types/actions/public/watchContractEvent.d.ts +64 -0
- package/_types/actions/public/watchContractEvent.d.ts.map +1 -0
- package/_types/actions/public/watchEvent.d.ts +79 -0
- package/_types/actions/public/watchEvent.d.ts.map +1 -0
- package/_types/actions/public/watchPendingTransactions.d.ts +49 -0
- package/_types/actions/public/watchPendingTransactions.d.ts.map +1 -0
- package/_types/actions/test/dropTransaction.d.ts +36 -0
- package/_types/actions/test/dropTransaction.d.ts.map +1 -0
- package/_types/actions/test/dumpState.d.ts +31 -0
- package/_types/actions/test/dumpState.d.ts.map +1 -0
- package/_types/actions/test/getAutomine.d.ts +30 -0
- package/_types/actions/test/getAutomine.d.ts.map +1 -0
- package/_types/actions/test/getTxpoolContent.d.ts +37 -0
- package/_types/actions/test/getTxpoolContent.d.ts.map +1 -0
- package/_types/actions/test/getTxpoolStatus.d.ts +33 -0
- package/_types/actions/test/getTxpoolStatus.d.ts.map +1 -0
- package/_types/actions/test/impersonateAccount.d.ts +36 -0
- package/_types/actions/test/impersonateAccount.d.ts.map +1 -0
- package/_types/actions/test/increaseTime.d.ts +35 -0
- package/_types/actions/test/increaseTime.d.ts.map +1 -0
- package/_types/actions/test/inspectTxpool.d.ts +34 -0
- package/_types/actions/test/inspectTxpool.d.ts.map +1 -0
- package/_types/actions/test/loadState.d.ts +34 -0
- package/_types/actions/test/loadState.d.ts.map +1 -0
- package/_types/actions/test/mine.d.ts +35 -0
- package/_types/actions/test/mine.d.ts.map +1 -0
- package/_types/actions/test/removeBlockTimestampInterval.d.ts +28 -0
- package/_types/actions/test/removeBlockTimestampInterval.d.ts.map +1 -0
- package/_types/actions/test/reset.d.ts +35 -0
- package/_types/actions/test/reset.d.ts.map +1 -0
- package/_types/actions/test/revert.d.ts +34 -0
- package/_types/actions/test/revert.d.ts.map +1 -0
- package/_types/actions/test/sendUnsignedTransaction.d.ts +38 -0
- package/_types/actions/test/sendUnsignedTransaction.d.ts.map +1 -0
- package/_types/actions/test/setAutomine.d.ts +28 -0
- package/_types/actions/test/setAutomine.d.ts.map +1 -0
- package/_types/actions/test/setBalance.d.ts +39 -0
- package/_types/actions/test/setBalance.d.ts.map +1 -0
- package/_types/actions/test/setBlockGasLimit.d.ts +33 -0
- package/_types/actions/test/setBlockGasLimit.d.ts.map +1 -0
- package/_types/actions/test/setBlockTimestampInterval.d.ts +33 -0
- package/_types/actions/test/setBlockTimestampInterval.d.ts.map +1 -0
- package/_types/actions/test/setCode.d.ts +40 -0
- package/_types/actions/test/setCode.d.ts.map +1 -0
- package/_types/actions/test/setCoinbase.d.ts +36 -0
- package/_types/actions/test/setCoinbase.d.ts.map +1 -0
- package/_types/actions/test/setIntervalMining.d.ts +33 -0
- package/_types/actions/test/setIntervalMining.d.ts.map +1 -0
- package/_types/actions/test/setLoggingEnabled.d.ts +28 -0
- package/_types/actions/test/setLoggingEnabled.d.ts.map +1 -0
- package/_types/actions/test/setMinGasPrice.d.ts +37 -0
- package/_types/actions/test/setMinGasPrice.d.ts.map +1 -0
- package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts +35 -0
- package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts.map +1 -0
- package/_types/actions/test/setNextBlockTimestamp.d.ts +33 -0
- package/_types/actions/test/setNextBlockTimestamp.d.ts.map +1 -0
- package/_types/actions/test/setNonce.d.ts +39 -0
- package/_types/actions/test/setNonce.d.ts.map +1 -0
- package/_types/actions/test/setRpcUrl.d.ts +29 -0
- package/_types/actions/test/setRpcUrl.d.ts.map +1 -0
- package/_types/actions/test/setStorageAt.d.ts +43 -0
- package/_types/actions/test/setStorageAt.d.ts.map +1 -0
- package/_types/actions/test/snapshot.d.ts +28 -0
- package/_types/actions/test/snapshot.d.ts.map +1 -0
- package/_types/actions/test/stopImpersonatingAccount.d.ts +36 -0
- package/_types/actions/test/stopImpersonatingAccount.d.ts.map +1 -0
- package/_types/actions/wallet/addChain.d.ts +33 -0
- package/_types/actions/wallet/addChain.d.ts.map +1 -0
- package/_types/actions/wallet/deployContract.d.ts +50 -0
- package/_types/actions/wallet/deployContract.d.ts.map +1 -0
- package/_types/actions/wallet/getAddresses.d.ts +32 -0
- package/_types/actions/wallet/getAddresses.d.ts.map +1 -0
- package/_types/actions/wallet/getPermissions.d.ts +31 -0
- package/_types/actions/wallet/getPermissions.d.ts.map +1 -0
- package/_types/actions/wallet/prepareTransactionRequest.d.ts +72 -0
- package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -0
- package/_types/actions/wallet/requestAddresses.d.ts +35 -0
- package/_types/actions/wallet/requestAddresses.d.ts.map +1 -0
- package/_types/actions/wallet/requestPermissions.d.ts +40 -0
- package/_types/actions/wallet/requestPermissions.d.ts.map +1 -0
- package/_types/actions/wallet/sendRawTransaction.d.ts +41 -0
- package/_types/actions/wallet/sendRawTransaction.d.ts.map +1 -0
- package/_types/actions/wallet/sendTransaction.d.ts +69 -0
- package/_types/actions/wallet/sendTransaction.d.ts.map +1 -0
- package/_types/actions/wallet/signMessage.d.ts +64 -0
- package/_types/actions/wallet/signMessage.d.ts.map +1 -0
- package/_types/actions/wallet/signTransaction.d.ts +64 -0
- package/_types/actions/wallet/signTransaction.d.ts.map +1 -0
- package/_types/actions/wallet/signTypedData.d.ts +119 -0
- package/_types/actions/wallet/signTypedData.d.ts.map +1 -0
- package/_types/actions/wallet/switchChain.d.ts +34 -0
- package/_types/actions/wallet/switchChain.d.ts.map +1 -0
- package/_types/actions/wallet/watchAsset.d.ts +40 -0
- package/_types/actions/wallet/watchAsset.d.ts.map +1 -0
- package/_types/actions/wallet/writeContract.d.ts +71 -0
- package/_types/actions/wallet/writeContract.d.ts.map +1 -0
- package/_types/chains/celo/chainConfig.d.ts +914 -0
- package/_types/chains/celo/chainConfig.d.ts.map +1 -0
- package/_types/chains/celo/formatters.d.ts +911 -0
- package/_types/chains/celo/formatters.d.ts.map +1 -0
- package/_types/chains/celo/index.d.ts +5 -0
- package/_types/chains/celo/index.d.ts.map +1 -0
- package/_types/chains/celo/parsers.d.ts +6 -0
- package/_types/chains/celo/parsers.d.ts.map +1 -0
- package/_types/chains/celo/serializers.d.ts +12 -0
- package/_types/chains/celo/serializers.d.ts.map +1 -0
- package/_types/chains/celo/types.d.ts +138 -0
- package/_types/chains/celo/types.d.ts.map +1 -0
- package/_types/chains/celo/utils.d.ts +7 -0
- package/_types/chains/celo/utils.d.ts.map +1 -0
- package/_types/chains/definitions/arbitrum.d.ts +32 -0
- package/_types/chains/definitions/arbitrum.d.ts.map +1 -0
- package/_types/chains/definitions/arbitrumGoerli.d.ts +36 -0
- package/_types/chains/definitions/arbitrumGoerli.d.ts.map +1 -0
- package/_types/chains/definitions/arbitrumNova.d.ts +32 -0
- package/_types/chains/definitions/arbitrumNova.d.ts.map +1 -0
- package/_types/chains/definitions/arbitrumSepolia.d.ts +32 -0
- package/_types/chains/definitions/arbitrumSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/astar.d.ts +36 -0
- package/_types/chains/definitions/astar.d.ts.map +1 -0
- package/_types/chains/definitions/astarZkatana.d.ts +40 -0
- package/_types/chains/definitions/astarZkatana.d.ts.map +1 -0
- package/_types/chains/definitions/aurora.d.ts +32 -0
- package/_types/chains/definitions/aurora.d.ts.map +1 -0
- package/_types/chains/definitions/auroraTestnet.d.ts +34 -0
- package/_types/chains/definitions/auroraTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/avalanche.d.ts +32 -0
- package/_types/chains/definitions/avalanche.d.ts.map +1 -0
- package/_types/chains/definitions/avalancheFuji.d.ts +32 -0
- package/_types/chains/definitions/avalancheFuji.d.ts.map +1 -0
- package/_types/chains/definitions/base.d.ts +573 -0
- package/_types/chains/definitions/base.d.ts.map +1 -0
- package/_types/chains/definitions/baseGoerli.d.ts +572 -0
- package/_types/chains/definitions/baseGoerli.d.ts.map +1 -0
- package/_types/chains/definitions/baseSepolia.d.ts +577 -0
- package/_types/chains/definitions/baseSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/bearNetworkChainMainnet.d.ts +34 -0
- package/_types/chains/definitions/bearNetworkChainMainnet.d.ts.map +1 -0
- package/_types/chains/definitions/bearNetworkChainTestnet.d.ts +34 -0
- package/_types/chains/definitions/bearNetworkChainTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/boba.d.ts +32 -0
- package/_types/chains/definitions/boba.d.ts.map +1 -0
- package/_types/chains/definitions/bronos.d.ts +34 -0
- package/_types/chains/definitions/bronos.d.ts.map +1 -0
- package/_types/chains/definitions/bronosTestnet.d.ts +34 -0
- package/_types/chains/definitions/bronosTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/bsc.d.ts +32 -0
- package/_types/chains/definitions/bsc.d.ts.map +1 -0
- package/_types/chains/definitions/bscTestnet.d.ts +35 -0
- package/_types/chains/definitions/bscTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/bxn.d.ts +34 -0
- package/_types/chains/definitions/bxn.d.ts.map +1 -0
- package/_types/chains/definitions/bxnTestnet.d.ts +34 -0
- package/_types/chains/definitions/bxnTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/canto.d.ts +32 -0
- package/_types/chains/definitions/canto.d.ts.map +1 -0
- package/_types/chains/definitions/celo.d.ts +941 -0
- package/_types/chains/definitions/celo.d.ts.map +1 -0
- package/_types/chains/definitions/celoAlfajores.d.ts +941 -0
- package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -0
- package/_types/chains/definitions/celoCannoli.d.ts +941 -0
- package/_types/chains/definitions/celoCannoli.d.ts.map +1 -0
- package/_types/chains/definitions/chiliz.d.ts +35 -0
- package/_types/chains/definitions/chiliz.d.ts.map +1 -0
- package/_types/chains/definitions/classic.d.ts +34 -0
- package/_types/chains/definitions/classic.d.ts.map +1 -0
- package/_types/chains/definitions/confluxESpace.d.ts +33 -0
- package/_types/chains/definitions/confluxESpace.d.ts.map +1 -0
- package/_types/chains/definitions/confluxESpaceTestnet.d.ts +38 -0
- package/_types/chains/definitions/confluxESpaceTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/coreDao.d.ts +32 -0
- package/_types/chains/definitions/coreDao.d.ts.map +1 -0
- package/_types/chains/definitions/cronos.d.ts +32 -0
- package/_types/chains/definitions/cronos.d.ts.map +1 -0
- package/_types/chains/definitions/cronosTestnet.d.ts +32 -0
- package/_types/chains/definitions/cronosTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/crossbell.d.ts +32 -0
- package/_types/chains/definitions/crossbell.d.ts.map +1 -0
- package/_types/chains/definitions/dfk.d.ts +34 -0
- package/_types/chains/definitions/dfk.d.ts.map +1 -0
- package/_types/chains/definitions/dogechain.d.ts +34 -0
- package/_types/chains/definitions/dogechain.d.ts.map +1 -0
- package/_types/chains/definitions/edgeware.d.ts +32 -0
- package/_types/chains/definitions/edgeware.d.ts.map +1 -0
- package/_types/chains/definitions/edgewareTestnet.d.ts +34 -0
- package/_types/chains/definitions/edgewareTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/ekta.d.ts +34 -0
- package/_types/chains/definitions/ekta.d.ts.map +1 -0
- package/_types/chains/definitions/ektaTestnet.d.ts +34 -0
- package/_types/chains/definitions/ektaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/eon.d.ts +27 -0
- package/_types/chains/definitions/eon.d.ts.map +1 -0
- package/_types/chains/definitions/eos.d.ts +32 -0
- package/_types/chains/definitions/eos.d.ts.map +1 -0
- package/_types/chains/definitions/eosTestnet.d.ts +32 -0
- package/_types/chains/definitions/eosTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/evmos.d.ts +34 -0
- package/_types/chains/definitions/evmos.d.ts.map +1 -0
- package/_types/chains/definitions/evmosTestnet.d.ts +34 -0
- package/_types/chains/definitions/evmosTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/fantom.d.ts +32 -0
- package/_types/chains/definitions/fantom.d.ts.map +1 -0
- package/_types/chains/definitions/fantomTestnet.d.ts +32 -0
- package/_types/chains/definitions/fantomTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/fibo.d.ts +34 -0
- package/_types/chains/definitions/fibo.d.ts.map +1 -0
- package/_types/chains/definitions/filecoin.d.ts +32 -0
- package/_types/chains/definitions/filecoin.d.ts.map +1 -0
- package/_types/chains/definitions/filecoinCalibration.d.ts +34 -0
- package/_types/chains/definitions/filecoinCalibration.d.ts.map +1 -0
- package/_types/chains/definitions/filecoinHyperspace.d.ts +34 -0
- package/_types/chains/definitions/filecoinHyperspace.d.ts.map +1 -0
- package/_types/chains/definitions/flare.d.ts +34 -0
- package/_types/chains/definitions/flare.d.ts.map +1 -0
- package/_types/chains/definitions/flareTestnet.d.ts +34 -0
- package/_types/chains/definitions/flareTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/foundry.d.ts +39 -0
- package/_types/chains/definitions/foundry.d.ts.map +1 -0
- package/_types/chains/definitions/fuse.d.ts +32 -0
- package/_types/chains/definitions/fuse.d.ts.map +1 -0
- package/_types/chains/definitions/fuseSparknet.d.ts +34 -0
- package/_types/chains/definitions/fuseSparknet.d.ts.map +1 -0
- package/_types/chains/definitions/gnosis.d.ts +33 -0
- package/_types/chains/definitions/gnosis.d.ts.map +1 -0
- package/_types/chains/definitions/gnosisChiado.d.ts +33 -0
- package/_types/chains/definitions/gnosisChiado.d.ts.map +1 -0
- package/_types/chains/definitions/gobi.d.ts +27 -0
- package/_types/chains/definitions/gobi.d.ts.map +1 -0
- package/_types/chains/definitions/goerli.d.ts +39 -0
- package/_types/chains/definitions/goerli.d.ts.map +1 -0
- package/_types/chains/definitions/haqqMainnet.d.ts +34 -0
- package/_types/chains/definitions/haqqMainnet.d.ts.map +1 -0
- package/_types/chains/definitions/haqqTestedge2.d.ts +34 -0
- package/_types/chains/definitions/haqqTestedge2.d.ts.map +1 -0
- package/_types/chains/definitions/hardhat.d.ts +38 -0
- package/_types/chains/definitions/hardhat.d.ts.map +1 -0
- package/_types/chains/definitions/harmonyOne.d.ts +32 -0
- package/_types/chains/definitions/harmonyOne.d.ts.map +1 -0
- package/_types/chains/definitions/holesky.d.ts +36 -0
- package/_types/chains/definitions/holesky.d.ts.map +1 -0
- package/_types/chains/definitions/iotex.d.ts +35 -0
- package/_types/chains/definitions/iotex.d.ts.map +1 -0
- package/_types/chains/definitions/iotexTestnet.d.ts +35 -0
- package/_types/chains/definitions/iotexTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/kava.d.ts +36 -0
- package/_types/chains/definitions/kava.d.ts.map +1 -0
- package/_types/chains/definitions/kavaTestnet.d.ts +36 -0
- package/_types/chains/definitions/kavaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/klaytn.d.ts +32 -0
- package/_types/chains/definitions/klaytn.d.ts.map +1 -0
- package/_types/chains/definitions/klaytnBaobab.d.ts +40 -0
- package/_types/chains/definitions/klaytnBaobab.d.ts.map +1 -0
- package/_types/chains/definitions/kroma.d.ts +34 -0
- package/_types/chains/definitions/kroma.d.ts.map +1 -0
- package/_types/chains/definitions/kromaSepolia.d.ts +34 -0
- package/_types/chains/definitions/kromaSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/linea.d.ts +33 -0
- package/_types/chains/definitions/linea.d.ts.map +1 -0
- package/_types/chains/definitions/lineaTestnet.d.ts +33 -0
- package/_types/chains/definitions/lineaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/localhost.d.ts +38 -0
- package/_types/chains/definitions/localhost.d.ts.map +1 -0
- package/_types/chains/definitions/lukso.d.ts +40 -0
- package/_types/chains/definitions/lukso.d.ts.map +1 -0
- package/_types/chains/definitions/mainnet.d.ts +39 -0
- package/_types/chains/definitions/mainnet.d.ts.map +1 -0
- package/_types/chains/definitions/manta.d.ts +40 -0
- package/_types/chains/definitions/manta.d.ts.map +1 -0
- package/_types/chains/definitions/mantaTestnet.d.ts +40 -0
- package/_types/chains/definitions/mantaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/mantle.d.ts +32 -0
- package/_types/chains/definitions/mantle.d.ts.map +1 -0
- package/_types/chains/definitions/mantleTestnet.d.ts +34 -0
- package/_types/chains/definitions/mantleTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/meter.d.ts +34 -0
- package/_types/chains/definitions/meter.d.ts.map +1 -0
- package/_types/chains/definitions/meterTestnet.d.ts +34 -0
- package/_types/chains/definitions/meterTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/metis.d.ts +32 -0
- package/_types/chains/definitions/metis.d.ts.map +1 -0
- package/_types/chains/definitions/metisGoerli.d.ts +32 -0
- package/_types/chains/definitions/metisGoerli.d.ts.map +1 -0
- package/_types/chains/definitions/mev.d.ts +32 -0
- package/_types/chains/definitions/mev.d.ts.map +1 -0
- package/_types/chains/definitions/mevTestnet.d.ts +32 -0
- package/_types/chains/definitions/mevTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/modeTestnet.d.ts +32 -0
- package/_types/chains/definitions/modeTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/moonbaseAlpha.d.ts +33 -0
- package/_types/chains/definitions/moonbaseAlpha.d.ts.map +1 -0
- package/_types/chains/definitions/moonbeam.d.ts +33 -0
- package/_types/chains/definitions/moonbeam.d.ts.map +1 -0
- package/_types/chains/definitions/moonbeamDev.d.ts +39 -0
- package/_types/chains/definitions/moonbeamDev.d.ts.map +1 -0
- package/_types/chains/definitions/moonriver.d.ts +33 -0
- package/_types/chains/definitions/moonriver.d.ts.map +1 -0
- package/_types/chains/definitions/neonDevnet.d.ts +32 -0
- package/_types/chains/definitions/neonDevnet.d.ts.map +1 -0
- package/_types/chains/definitions/neonMainnet.d.ts +31 -0
- package/_types/chains/definitions/neonMainnet.d.ts.map +1 -0
- package/_types/chains/definitions/nexi.d.ts +32 -0
- package/_types/chains/definitions/nexi.d.ts.map +1 -0
- package/_types/chains/definitions/nexilix.d.ts +32 -0
- package/_types/chains/definitions/nexilix.d.ts.map +1 -0
- package/_types/chains/definitions/oasys.d.ts +34 -0
- package/_types/chains/definitions/oasys.d.ts.map +1 -0
- package/_types/chains/definitions/okc.d.ts +32 -0
- package/_types/chains/definitions/okc.d.ts.map +1 -0
- package/_types/chains/definitions/opBNB.d.ts +32 -0
- package/_types/chains/definitions/opBNB.d.ts.map +1 -0
- package/_types/chains/definitions/opBNBTestnet.d.ts +32 -0
- package/_types/chains/definitions/opBNBTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/optimism.d.ts +572 -0
- package/_types/chains/definitions/optimism.d.ts.map +1 -0
- package/_types/chains/definitions/optimismGoerli.d.ts +572 -0
- package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -0
- package/_types/chains/definitions/optimismSepolia.d.ts +572 -0
- package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/pgn.d.ts +555 -0
- package/_types/chains/definitions/pgn.d.ts.map +1 -0
- package/_types/chains/definitions/pgnTestnet.d.ts +555 -0
- package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/plinga.d.ts +32 -0
- package/_types/chains/definitions/plinga.d.ts.map +1 -0
- package/_types/chains/definitions/polygon.d.ts +32 -0
- package/_types/chains/definitions/polygon.d.ts.map +1 -0
- package/_types/chains/definitions/polygonMumbai.d.ts +32 -0
- package/_types/chains/definitions/polygonMumbai.d.ts.map +1 -0
- package/_types/chains/definitions/polygonZkEvm.d.ts +32 -0
- package/_types/chains/definitions/polygonZkEvm.d.ts.map +1 -0
- package/_types/chains/definitions/polygonZkEvmTestnet.d.ts +32 -0
- package/_types/chains/definitions/polygonZkEvmTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/pulsechain.d.ts +36 -0
- package/_types/chains/definitions/pulsechain.d.ts.map +1 -0
- package/_types/chains/definitions/pulsechainV4.d.ts +36 -0
- package/_types/chains/definitions/pulsechainV4.d.ts.map +1 -0
- package/_types/chains/definitions/qMainnet.d.ts +34 -0
- package/_types/chains/definitions/qMainnet.d.ts.map +1 -0
- package/_types/chains/definitions/qTestnet.d.ts +34 -0
- package/_types/chains/definitions/qTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/rollux.d.ts +33 -0
- package/_types/chains/definitions/rollux.d.ts.map +1 -0
- package/_types/chains/definitions/rolluxTestnet.d.ts +33 -0
- package/_types/chains/definitions/rolluxTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/ronin.d.ts +32 -0
- package/_types/chains/definitions/ronin.d.ts.map +1 -0
- package/_types/chains/definitions/rootstock.d.ts +40 -0
- package/_types/chains/definitions/rootstock.d.ts.map +1 -0
- package/_types/chains/definitions/saigon.d.ts +32 -0
- package/_types/chains/definitions/saigon.d.ts.map +1 -0
- package/_types/chains/definitions/sapphire.d.ts +38 -0
- package/_types/chains/definitions/sapphire.d.ts.map +1 -0
- package/_types/chains/definitions/sapphireTestnet.d.ts +40 -0
- package/_types/chains/definitions/sapphireTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/scroll.d.ts +33 -0
- package/_types/chains/definitions/scroll.d.ts.map +1 -0
- package/_types/chains/definitions/scrollSepolia.d.ts +32 -0
- package/_types/chains/definitions/scrollSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/scrollTestnet.d.ts +35 -0
- package/_types/chains/definitions/scrollTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/sepolia.d.ts +39 -0
- package/_types/chains/definitions/sepolia.d.ts.map +1 -0
- package/_types/chains/definitions/shardeumSphinx.d.ts +34 -0
- package/_types/chains/definitions/shardeumSphinx.d.ts.map +1 -0
- package/_types/chains/definitions/shibarium.d.ts +40 -0
- package/_types/chains/definitions/shibarium.d.ts.map +1 -0
- package/_types/chains/definitions/shimmer.d.ts +38 -0
- package/_types/chains/definitions/shimmer.d.ts.map +1 -0
- package/_types/chains/definitions/shimmerTestnet.d.ts +38 -0
- package/_types/chains/definitions/shimmerTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/skale/brawl.d.ts +28 -0
- package/_types/chains/definitions/skale/brawl.d.ts.map +1 -0
- package/_types/chains/definitions/skale/calypso.d.ts +33 -0
- package/_types/chains/definitions/skale/calypso.d.ts.map +1 -0
- package/_types/chains/definitions/skale/calypsoTestnet.d.ts +33 -0
- package/_types/chains/definitions/skale/calypsoTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/skale/chaosTestnet.d.ts +33 -0
- package/_types/chains/definitions/skale/chaosTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/skale/cryptoBlades.d.ts +28 -0
- package/_types/chains/definitions/skale/cryptoBlades.d.ts.map +1 -0
- package/_types/chains/definitions/skale/cryptoColosseum.d.ts +28 -0
- package/_types/chains/definitions/skale/cryptoColosseum.d.ts.map +1 -0
- package/_types/chains/definitions/skale/europa.d.ts +33 -0
- package/_types/chains/definitions/skale/europa.d.ts.map +1 -0
- package/_types/chains/definitions/skale/europaTestnet.d.ts +33 -0
- package/_types/chains/definitions/skale/europaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/skale/exorde.d.ts +28 -0
- package/_types/chains/definitions/skale/exorde.d.ts.map +1 -0
- package/_types/chains/definitions/skale/humanProtocol.d.ts +28 -0
- package/_types/chains/definitions/skale/humanProtocol.d.ts.map +1 -0
- package/_types/chains/definitions/skale/nebula.d.ts +33 -0
- package/_types/chains/definitions/skale/nebula.d.ts.map +1 -0
- package/_types/chains/definitions/skale/nebulaTestnet.d.ts +33 -0
- package/_types/chains/definitions/skale/nebulaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/skale/razor.d.ts +28 -0
- package/_types/chains/definitions/skale/razor.d.ts.map +1 -0
- package/_types/chains/definitions/skale/titan.d.ts +33 -0
- package/_types/chains/definitions/skale/titan.d.ts.map +1 -0
- package/_types/chains/definitions/skale/titanTestnet.d.ts +33 -0
- package/_types/chains/definitions/skale/titanTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/songbird.d.ts +34 -0
- package/_types/chains/definitions/songbird.d.ts.map +1 -0
- package/_types/chains/definitions/songbirdTestnet.d.ts +34 -0
- package/_types/chains/definitions/songbirdTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/spicy.d.ts +36 -0
- package/_types/chains/definitions/spicy.d.ts.map +1 -0
- package/_types/chains/definitions/syscoin.d.ts +33 -0
- package/_types/chains/definitions/syscoin.d.ts.map +1 -0
- package/_types/chains/definitions/syscoinTestnet.d.ts +33 -0
- package/_types/chains/definitions/syscoinTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/taikoJolnir.d.ts +34 -0
- package/_types/chains/definitions/taikoJolnir.d.ts.map +1 -0
- package/_types/chains/definitions/taikoTestnetSepolia.d.ts +34 -0
- package/_types/chains/definitions/taikoTestnetSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/taraxa.d.ts +34 -0
- package/_types/chains/definitions/taraxa.d.ts.map +1 -0
- package/_types/chains/definitions/taraxaTestnet.d.ts +34 -0
- package/_types/chains/definitions/taraxaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/telos.d.ts +32 -0
- package/_types/chains/definitions/telos.d.ts.map +1 -0
- package/_types/chains/definitions/telosTestnet.d.ts +34 -0
- package/_types/chains/definitions/telosTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/tenet.d.ts +38 -0
- package/_types/chains/definitions/tenet.d.ts.map +1 -0
- package/_types/chains/definitions/thunderTestnet.d.ts +34 -0
- package/_types/chains/definitions/thunderTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/vechain.d.ts +38 -0
- package/_types/chains/definitions/vechain.d.ts.map +1 -0
- package/_types/chains/definitions/wanchain.d.ts +32 -0
- package/_types/chains/definitions/wanchain.d.ts.map +1 -0
- package/_types/chains/definitions/wanchainTestnet.d.ts +32 -0
- package/_types/chains/definitions/wanchainTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/xdc.d.ts +38 -0
- package/_types/chains/definitions/xdc.d.ts.map +1 -0
- package/_types/chains/definitions/xdcTestnet.d.ts +38 -0
- package/_types/chains/definitions/xdcTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/zetachainAthensTestnet.d.ts +34 -0
- package/_types/chains/definitions/zetachainAthensTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/zhejiang.d.ts +34 -0
- package/_types/chains/definitions/zhejiang.d.ts.map +1 -0
- package/_types/chains/definitions/zkSync.d.ts +529 -0
- package/_types/chains/definitions/zkSync.d.ts.map +1 -0
- package/_types/chains/definitions/zkSyncTestnet.d.ts +529 -0
- package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/zora.d.ts +573 -0
- package/_types/chains/definitions/zora.d.ts.map +1 -0
- package/_types/chains/definitions/zoraSepolia.d.ts +578 -0
- package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/zoraTestnet.d.ts +573 -0
- package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -0
- package/_types/chains/index.d.ts +174 -0
- package/_types/chains/index.d.ts.map +1 -0
- package/_types/chains/opStack/abis.d.ts +549 -0
- package/_types/chains/opStack/abis.d.ts.map +1 -0
- package/_types/chains/opStack/actions/buildDepositTransaction.d.ts +63 -0
- package/_types/chains/opStack/actions/buildDepositTransaction.d.ts.map +1 -0
- package/_types/chains/opStack/actions/depositTransaction.d.ts +96 -0
- package/_types/chains/opStack/actions/depositTransaction.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts +39 -0
- package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts +39 -0
- package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts +39 -0
- package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts +39 -0
- package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateL1Fee.d.ts +43 -0
- package/_types/chains/opStack/actions/estimateL1Fee.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateL1Gas.d.ts +43 -0
- package/_types/chains/opStack/actions/estimateL1Gas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateTotalFee.d.ts +37 -0
- package/_types/chains/opStack/actions/estimateTotalFee.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateTotalGas.d.ts +36 -0
- package/_types/chains/opStack/actions/estimateTotalGas.d.ts.map +1 -0
- package/_types/chains/opStack/chainConfig.d.ts +542 -0
- package/_types/chains/opStack/chainConfig.d.ts.map +1 -0
- package/_types/chains/opStack/chains.d.ts +10 -0
- package/_types/chains/opStack/chains.d.ts.map +1 -0
- package/_types/chains/opStack/contracts.d.ts +21 -0
- package/_types/chains/opStack/contracts.d.ts.map +1 -0
- package/_types/chains/opStack/decorators/publicL2.d.ts +241 -0
- package/_types/chains/opStack/decorators/publicL2.d.ts.map +1 -0
- package/_types/chains/opStack/decorators/walletL1.d.ts +64 -0
- package/_types/chains/opStack/decorators/walletL1.d.ts.map +1 -0
- package/_types/chains/opStack/formatters.d.ts +520 -0
- package/_types/chains/opStack/formatters.d.ts.map +1 -0
- package/_types/chains/opStack/index.d.ts +24 -0
- package/_types/chains/opStack/index.d.ts.map +1 -0
- package/_types/chains/opStack/parsers.d.ts +8 -0
- package/_types/chains/opStack/parsers.d.ts.map +1 -0
- package/_types/chains/opStack/serializers.d.ts +12 -0
- package/_types/chains/opStack/serializers.d.ts.map +1 -0
- package/_types/chains/opStack/types/block.d.ts +13 -0
- package/_types/chains/opStack/types/block.d.ts.map +1 -0
- package/_types/chains/opStack/types/chain.d.ts +9 -0
- package/_types/chains/opStack/types/chain.d.ts.map +1 -0
- package/_types/chains/opStack/types/contract.d.ts +13 -0
- package/_types/chains/opStack/types/contract.d.ts.map +1 -0
- package/_types/chains/opStack/types/transaction.d.ts +60 -0
- package/_types/chains/opStack/types/transaction.d.ts.map +1 -0
- package/_types/chains/opStack/utils/extractTransactionDepositedLogs.d.ts +446 -0
- package/_types/chains/opStack/utils/extractTransactionDepositedLogs.d.ts.map +1 -0
- package/_types/chains/opStack/utils/fromOpaqueData.d.ts +15 -0
- package/_types/chains/opStack/utils/fromOpaqueData.d.ts.map +1 -0
- package/_types/chains/opStack/utils/getL2TransactionHash.d.ts +12 -0
- package/_types/chains/opStack/utils/getL2TransactionHash.d.ts.map +1 -0
- package/_types/chains/opStack/utils/getL2TransactionHashes.d.ts +11 -0
- package/_types/chains/opStack/utils/getL2TransactionHashes.d.ts.map +1 -0
- package/_types/chains/opStack/utils/getSourceHash.d.ts +28 -0
- package/_types/chains/opStack/utils/getSourceHash.d.ts.map +1 -0
- package/_types/chains/utils.d.ts +5 -0
- package/_types/chains/utils.d.ts.map +1 -0
- package/_types/chains/zksync/chainConfig.d.ts +501 -0
- package/_types/chains/zksync/chainConfig.d.ts.map +1 -0
- package/_types/chains/zksync/formatters.d.ts +498 -0
- package/_types/chains/zksync/formatters.d.ts.map +1 -0
- package/_types/chains/zksync/index.d.ts +4 -0
- package/_types/chains/zksync/index.d.ts.map +1 -0
- package/_types/chains/zksync/serializers.d.ts +9 -0
- package/_types/chains/zksync/serializers.d.ts.map +1 -0
- package/_types/chains/zksync/types.d.ts +158 -0
- package/_types/chains/zksync/types.d.ts.map +1 -0
- package/_types/clients/createClient.d.ts +86 -0
- package/_types/clients/createClient.d.ts.map +1 -0
- package/_types/clients/createPublicClient.d.ts +31 -0
- package/_types/clients/createPublicClient.d.ts.map +1 -0
- package/_types/clients/createTestClient.d.ts +45 -0
- package/_types/clients/createTestClient.d.ts.map +1 -0
- package/_types/clients/createWalletClient.d.ts +51 -0
- package/_types/clients/createWalletClient.d.ts.map +1 -0
- package/_types/clients/decorators/public.d.ts +1252 -0
- package/_types/clients/decorators/public.d.ts.map +1 -0
- package/_types/clients/decorators/test.d.ts +640 -0
- package/_types/clients/decorators/test.d.ts.map +1 -0
- package/_types/clients/decorators/wallet.d.ts +561 -0
- package/_types/clients/decorators/wallet.d.ts.map +1 -0
- package/_types/clients/transports/createTransport.d.ts +36 -0
- package/_types/clients/transports/createTransport.d.ts.map +1 -0
- package/_types/clients/transports/custom.d.ts +23 -0
- package/_types/clients/transports/custom.d.ts.map +1 -0
- package/_types/clients/transports/fallback.d.ts +77 -0
- package/_types/clients/transports/fallback.d.ts.map +1 -0
- package/_types/clients/transports/http.d.ts +44 -0
- package/_types/clients/transports/http.d.ts.map +1 -0
- package/_types/clients/transports/webSocket.d.ts +47 -0
- package/_types/clients/transports/webSocket.d.ts.map +1 -0
- package/_types/constants/abis.d.ts +1035 -0
- package/_types/constants/abis.d.ts.map +1 -0
- package/_types/constants/address.d.ts +2 -0
- package/_types/constants/address.d.ts.map +1 -0
- package/_types/constants/bytes.d.ts +2 -0
- package/_types/constants/bytes.d.ts.map +1 -0
- package/_types/constants/contract.d.ts +2 -0
- package/_types/constants/contract.d.ts.map +1 -0
- package/_types/constants/contracts.d.ts +2 -0
- package/_types/constants/contracts.d.ts.map +1 -0
- package/_types/constants/number.d.ts +97 -0
- package/_types/constants/number.d.ts.map +1 -0
- package/_types/constants/solidity.d.ts +15 -0
- package/_types/constants/solidity.d.ts.map +1 -0
- package/_types/constants/strings.d.ts +2 -0
- package/_types/constants/strings.d.ts.map +1 -0
- package/_types/constants/unit.d.ts +13 -0
- package/_types/constants/unit.d.ts.map +1 -0
- package/_types/ens/index.d.ts +9 -0
- package/_types/ens/index.d.ts.map +1 -0
- package/_types/errors/abi.d.ts +244 -0
- package/_types/errors/abi.d.ts.map +1 -0
- package/_types/errors/account.d.ts +11 -0
- package/_types/errors/account.d.ts.map +1 -0
- package/_types/errors/address.d.ts +11 -0
- package/_types/errors/address.d.ts.map +1 -0
- package/_types/errors/base.d.ts +27 -0
- package/_types/errors/base.d.ts.map +1 -0
- package/_types/errors/block.d.ts +13 -0
- package/_types/errors/block.d.ts.map +1 -0
- package/_types/errors/ccip.d.ts +38 -0
- package/_types/errors/ccip.d.ts.map +1 -0
- package/_types/errors/chain.d.ts +50 -0
- package/_types/errors/chain.d.ts.map +1 -0
- package/_types/errors/contract.d.ts +79 -0
- package/_types/errors/contract.d.ts.map +1 -0
- package/_types/errors/cursor.d.ts +21 -0
- package/_types/errors/cursor.d.ts.map +1 -0
- package/_types/errors/data.d.ts +24 -0
- package/_types/errors/data.d.ts.map +1 -0
- package/_types/errors/encoding.d.ts +47 -0
- package/_types/errors/encoding.d.ts.map +1 -0
- package/_types/errors/ens.d.ts +38 -0
- package/_types/errors/ens.d.ts.map +1 -0
- package/_types/errors/estimateGas.d.ts +17 -0
- package/_types/errors/estimateGas.d.ts.map +1 -0
- package/_types/errors/fee.d.ts +25 -0
- package/_types/errors/fee.d.ts.map +1 -0
- package/_types/errors/log.d.ts +9 -0
- package/_types/errors/log.d.ts.map +1 -0
- package/_types/errors/node.d.ts +142 -0
- package/_types/errors/node.d.ts.map +1 -0
- package/_types/errors/request.d.ts +73 -0
- package/_types/errors/request.d.ts.map +1 -0
- package/_types/errors/rpc.d.ts +302 -0
- package/_types/errors/rpc.d.ts.map +1 -0
- package/_types/errors/transaction.d.ts +109 -0
- package/_types/errors/transaction.d.ts.map +1 -0
- package/_types/errors/transport.d.ts +8 -0
- package/_types/errors/transport.d.ts.map +1 -0
- package/_types/errors/utils.d.ts +8 -0
- package/_types/errors/utils.d.ts.map +1 -0
- package/_types/errors/version.d.ts +2 -0
- package/_types/errors/version.d.ts.map +1 -0
- package/_types/index.d.ts +212 -0
- package/_types/index.d.ts.map +1 -0
- package/_types/types/account.d.ts +15 -0
- package/_types/types/account.d.ts.map +1 -0
- package/_types/types/block.d.ts +67 -0
- package/_types/types/block.d.ts.map +1 -0
- package/_types/types/chain.d.ts +159 -0
- package/_types/types/chain.d.ts.map +1 -0
- package/_types/types/contract.d.ts +118 -0
- package/_types/types/contract.d.ts.map +1 -0
- package/_types/types/eip1193.d.ts +1271 -0
- package/_types/types/eip1193.d.ts.map +1 -0
- package/_types/types/ens.d.ts +5 -0
- package/_types/types/ens.d.ts.map +1 -0
- package/_types/types/fee.d.ts +30 -0
- package/_types/types/fee.d.ts.map +1 -0
- package/_types/types/filter.d.ts +40 -0
- package/_types/types/filter.d.ts.map +1 -0
- package/_types/types/log.d.ts +55 -0
- package/_types/types/log.d.ts.map +1 -0
- package/_types/types/misc.d.ts +18 -0
- package/_types/types/misc.d.ts.map +1 -0
- package/_types/types/multicall.d.ts +58 -0
- package/_types/types/multicall.d.ts.map +1 -0
- package/_types/types/proof.d.ts +18 -0
- package/_types/types/proof.d.ts.map +1 -0
- package/_types/types/rpc.d.ts +22 -0
- package/_types/types/rpc.d.ts.map +1 -0
- package/_types/types/transaction.d.ts +156 -0
- package/_types/types/transaction.d.ts.map +1 -0
- package/_types/types/transport.d.ts +24 -0
- package/_types/types/transport.d.ts.map +1 -0
- package/_types/types/typedData.d.ts +25 -0
- package/_types/types/typedData.d.ts.map +1 -0
- package/_types/types/utils.d.ts +171 -0
- package/_types/types/utils.d.ts.map +1 -0
- package/_types/types/window.d.ts +7 -0
- package/_types/types/window.d.ts.map +1 -0
- package/_types/types/withdrawal.d.ts +8 -0
- package/_types/types/withdrawal.d.ts.map +1 -0
- package/_types/utils/abi/decodeAbiParameters.d.ts +25 -0
- package/_types/utils/abi/decodeAbiParameters.d.ts.map +1 -0
- package/_types/utils/abi/decodeDeployData.d.ts +18 -0
- package/_types/utils/abi/decodeDeployData.d.ts.map +1 -0
- package/_types/utils/abi/decodeErrorResult.d.ts +27 -0
- package/_types/utils/abi/decodeErrorResult.d.ts.map +1 -0
- package/_types/utils/abi/decodeEventLog.d.ts +33 -0
- package/_types/utils/abi/decodeEventLog.d.ts.map +1 -0
- package/_types/utils/abi/decodeFunctionData.d.ts +26 -0
- package/_types/utils/abi/decodeFunctionData.d.ts.map +1 -0
- package/_types/utils/abi/decodeFunctionResult.d.ts +26 -0
- package/_types/utils/abi/decodeFunctionResult.d.ts.map +1 -0
- package/_types/utils/abi/encodeAbiParameters.d.ts +30 -0
- package/_types/utils/abi/encodeAbiParameters.d.ts.map +1 -0
- package/_types/utils/abi/encodeDeployData.d.ts +22 -0
- package/_types/utils/abi/encodeDeployData.d.ts.map +1 -0
- package/_types/utils/abi/encodeErrorResult.d.ts +24 -0
- package/_types/utils/abi/encodeErrorResult.d.ts.map +1 -0
- package/_types/utils/abi/encodeEventTopics.d.ts +26 -0
- package/_types/utils/abi/encodeEventTopics.d.ts.map +1 -0
- package/_types/utils/abi/encodeFunctionData.d.ts +28 -0
- package/_types/utils/abi/encodeFunctionData.d.ts.map +1 -0
- package/_types/utils/abi/encodeFunctionResult.d.ts +22 -0
- package/_types/utils/abi/encodeFunctionResult.d.ts.map +1 -0
- package/_types/utils/abi/encodePacked.d.ts +20 -0
- package/_types/utils/abi/encodePacked.d.ts.map +1 -0
- package/_types/utils/abi/formatAbiItem.d.ts +14 -0
- package/_types/utils/abi/formatAbiItem.d.ts.map +1 -0
- package/_types/utils/abi/formatAbiItemWithArgs.d.ts +10 -0
- package/_types/utils/abi/formatAbiItemWithArgs.d.ts.map +1 -0
- package/_types/utils/abi/getAbiItem.d.ts +22 -0
- package/_types/utils/abi/getAbiItem.d.ts.map +1 -0
- package/_types/utils/abi/parseEventLogs.d.ts +43 -0
- package/_types/utils/abi/parseEventLogs.d.ts.map +1 -0
- package/_types/utils/accounts.d.ts +3 -0
- package/_types/utils/accounts.d.ts.map +1 -0
- package/_types/utils/address/getAddress.d.ts +10 -0
- package/_types/utils/address/getAddress.d.ts.map +1 -0
- package/_types/utils/address/getContractAddress.d.ts +35 -0
- package/_types/utils/address/getContractAddress.d.ts.map +1 -0
- package/_types/utils/address/isAddress.d.ts +5 -0
- package/_types/utils/address/isAddress.d.ts.map +1 -0
- package/_types/utils/address/isAddressEqual.d.ts +7 -0
- package/_types/utils/address/isAddressEqual.d.ts.map +1 -0
- package/_types/utils/buildRequest.d.ts +11 -0
- package/_types/utils/buildRequest.d.ts.map +1 -0
- package/_types/utils/ccip.d.ts +40 -0
- package/_types/utils/ccip.d.ts.map +1 -0
- package/_types/utils/chain/assertCurrentChain.d.ts +10 -0
- package/_types/utils/chain/assertCurrentChain.d.ts.map +1 -0
- package/_types/utils/chain/defineChain.d.ts +4 -0
- package/_types/utils/chain/defineChain.d.ts.map +1 -0
- package/_types/utils/chain/extractChain.d.ts +10 -0
- package/_types/utils/chain/extractChain.d.ts.map +1 -0
- package/_types/utils/chain/getChainContractAddress.d.ts +9 -0
- package/_types/utils/chain/getChainContractAddress.d.ts.map +1 -0
- package/_types/utils/cursor.d.ts +37 -0
- package/_types/utils/cursor.d.ts.map +1 -0
- package/_types/utils/data/concat.d.ts +10 -0
- package/_types/utils/data/concat.d.ts.map +1 -0
- package/_types/utils/data/isBytes.d.ts +5 -0
- package/_types/utils/data/isBytes.d.ts.map +1 -0
- package/_types/utils/data/isBytesEqual.d.ts +7 -0
- package/_types/utils/data/isBytesEqual.d.ts.map +1 -0
- package/_types/utils/data/isHex.d.ts +7 -0
- package/_types/utils/data/isHex.d.ts.map +1 -0
- package/_types/utils/data/pad.d.ts +16 -0
- package/_types/utils/data/pad.d.ts.map +1 -0
- package/_types/utils/data/size.d.ts +12 -0
- package/_types/utils/data/size.d.ts.map +1 -0
- package/_types/utils/data/slice.d.ts +42 -0
- package/_types/utils/data/slice.d.ts.map +1 -0
- package/_types/utils/data/trim.d.ts +10 -0
- package/_types/utils/data/trim.d.ts.map +1 -0
- package/_types/utils/encoding/fromBytes.d.ts +117 -0
- package/_types/utils/encoding/fromBytes.d.ts.map +1 -0
- package/_types/utils/encoding/fromHex.d.ts +149 -0
- package/_types/utils/encoding/fromHex.d.ts.map +1 -0
- package/_types/utils/encoding/fromRlp.d.ts +21 -0
- package/_types/utils/encoding/fromRlp.d.ts.map +1 -0
- package/_types/utils/encoding/toBytes.d.ts +134 -0
- package/_types/utils/encoding/toBytes.d.ts.map +1 -0
- package/_types/utils/encoding/toHex.d.ts +148 -0
- package/_types/utils/encoding/toHex.d.ts.map +1 -0
- package/_types/utils/encoding/toRlp.d.ts +16 -0
- package/_types/utils/encoding/toRlp.d.ts.map +1 -0
- package/_types/utils/ens/avatar/parseAvatarRecord.d.ts +13 -0
- package/_types/utils/ens/avatar/parseAvatarRecord.d.ts.map +1 -0
- package/_types/utils/ens/avatar/utils.d.ts +48 -0
- package/_types/utils/ens/avatar/utils.d.ts.map +1 -0
- package/_types/utils/ens/encodeLabelhash.d.ts +5 -0
- package/_types/utils/ens/encodeLabelhash.d.ts.map +1 -0
- package/_types/utils/ens/encodedLabelToLabelhash.d.ts +6 -0
- package/_types/utils/ens/encodedLabelToLabelhash.d.ts.map +1 -0
- package/_types/utils/ens/errors.d.ts +4 -0
- package/_types/utils/ens/errors.d.ts.map +1 -0
- package/_types/utils/ens/labelhash.d.ts +17 -0
- package/_types/utils/ens/labelhash.d.ts.map +1 -0
- package/_types/utils/ens/namehash.d.ts +20 -0
- package/_types/utils/ens/namehash.d.ts.map +1 -0
- package/_types/utils/ens/normalize.d.ts +14 -0
- package/_types/utils/ens/normalize.d.ts.map +1 -0
- package/_types/utils/ens/packetToBytes.d.ts +8 -0
- package/_types/utils/ens/packetToBytes.d.ts.map +1 -0
- package/_types/utils/errors/getCallError.d.ts +13 -0
- package/_types/utils/errors/getCallError.d.ts.map +1 -0
- package/_types/utils/errors/getContractError.d.ts +15 -0
- package/_types/utils/errors/getContractError.d.ts.map +1 -0
- package/_types/utils/errors/getEstimateGasError.d.ts +15 -0
- package/_types/utils/errors/getEstimateGasError.d.ts.map +1 -0
- package/_types/utils/errors/getNodeError.d.ts +8 -0
- package/_types/utils/errors/getNodeError.d.ts.map +1 -0
- package/_types/utils/errors/getTransactionError.d.ts +16 -0
- package/_types/utils/errors/getTransactionError.d.ts.map +1 -0
- package/_types/utils/filters/createFilterRequestScope.d.ts +22 -0
- package/_types/utils/filters/createFilterRequestScope.d.ts.map +1 -0
- package/_types/utils/formatters/block.d.ts +28 -0
- package/_types/utils/formatters/block.d.ts.map +1 -0
- package/_types/utils/formatters/extract.d.ts +10 -0
- package/_types/utils/formatters/extract.d.ts.map +1 -0
- package/_types/utils/formatters/feeHistory.d.ts +6 -0
- package/_types/utils/formatters/feeHistory.d.ts.map +1 -0
- package/_types/utils/formatters/formatter.d.ts +12 -0
- package/_types/utils/formatters/formatter.d.ts.map +1 -0
- package/_types/utils/formatters/log.d.ts +9 -0
- package/_types/utils/formatters/log.d.ts.map +1 -0
- package/_types/utils/formatters/proof.d.ts +6 -0
- package/_types/utils/formatters/proof.d.ts.map +1 -0
- package/_types/utils/formatters/transaction.d.ts +30 -0
- package/_types/utils/formatters/transaction.d.ts.map +1 -0
- package/_types/utils/formatters/transactionReceipt.d.ts +18 -0
- package/_types/utils/formatters/transactionReceipt.d.ts.map +1 -0
- package/_types/utils/formatters/transactionRequest.d.ts +23 -0
- package/_types/utils/formatters/transactionRequest.d.ts.map +1 -0
- package/_types/utils/getAction.d.ts +10 -0
- package/_types/utils/getAction.d.ts.map +1 -0
- package/_types/utils/hash/getEventSelector.d.ts +7 -0
- package/_types/utils/hash/getEventSelector.d.ts.map +1 -0
- package/_types/utils/hash/getEventSignature.d.ts +6 -0
- package/_types/utils/hash/getEventSignature.d.ts.map +1 -0
- package/_types/utils/hash/getFunctionSelector.d.ts +9 -0
- package/_types/utils/hash/getFunctionSelector.d.ts.map +1 -0
- package/_types/utils/hash/getFunctionSignature.d.ts +6 -0
- package/_types/utils/hash/getFunctionSignature.d.ts.map +1 -0
- package/_types/utils/hash/hashFunction.d.ts +11 -0
- package/_types/utils/hash/hashFunction.d.ts.map +1 -0
- package/_types/utils/hash/isHash.d.ts +7 -0
- package/_types/utils/hash/isHash.d.ts.map +1 -0
- package/_types/utils/hash/keccak256.d.ts +11 -0
- package/_types/utils/hash/keccak256.d.ts.map +1 -0
- package/_types/utils/hash/normalizeSignature.d.ts +6 -0
- package/_types/utils/hash/normalizeSignature.d.ts.map +1 -0
- package/_types/utils/index.d.ts +84 -0
- package/_types/utils/index.d.ts.map +1 -0
- package/_types/utils/observe.d.ts +19 -0
- package/_types/utils/observe.d.ts.map +1 -0
- package/_types/utils/poll.d.ts +15 -0
- package/_types/utils/poll.d.ts.map +1 -0
- package/_types/utils/promise/createBatchScheduler.d.ts +21 -0
- package/_types/utils/promise/createBatchScheduler.d.ts.map +1 -0
- package/_types/utils/promise/withCache.d.ts +38 -0
- package/_types/utils/promise/withCache.d.ts.map +1 -0
- package/_types/utils/promise/withRetry.d.ts +14 -0
- package/_types/utils/promise/withRetry.d.ts.map +1 -0
- package/_types/utils/promise/withTimeout.d.ts +10 -0
- package/_types/utils/promise/withTimeout.d.ts.map +1 -0
- package/_types/utils/regex.d.ts +4 -0
- package/_types/utils/regex.d.ts.map +1 -0
- package/_types/utils/rpc.d.ts +80 -0
- package/_types/utils/rpc.d.ts.map +1 -0
- 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 +11 -0
- package/_types/utils/signature/hashMessage.d.ts.map +1 -0
- package/_types/utils/signature/hashTypedData.d.ts +29 -0
- package/_types/utils/signature/hashTypedData.d.ts.map +1 -0
- 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 +16 -0
- package/_types/utils/signature/hexToSignature.d.ts.map +1 -0
- package/_types/utils/signature/recoverAddress.d.ts +11 -0
- package/_types/utils/signature/recoverAddress.d.ts.map +1 -0
- package/_types/utils/signature/recoverMessageAddress.d.ts +13 -0
- package/_types/utils/signature/recoverMessageAddress.d.ts.map +1 -0
- package/_types/utils/signature/recoverPublicKey.d.ts +12 -0
- package/_types/utils/signature/recoverPublicKey.d.ts.map +1 -0
- package/_types/utils/signature/recoverTypedDataAddress.d.ts +13 -0
- package/_types/utils/signature/recoverTypedDataAddress.d.ts.map +1 -0
- 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 +21 -0
- package/_types/utils/signature/signatureToHex.d.ts.map +1 -0
- package/_types/utils/signature/verifyMessage.d.ts +30 -0
- package/_types/utils/signature/verifyMessage.d.ts.map +1 -0
- package/_types/utils/signature/verifyTypedData.d.ts +29 -0
- package/_types/utils/signature/verifyTypedData.d.ts.map +1 -0
- package/_types/utils/stringify.d.ts +4 -0
- package/_types/utils/stringify.d.ts.map +1 -0
- package/_types/utils/transaction/assertRequest.d.ts +11 -0
- package/_types/utils/transaction/assertRequest.d.ts.map +1 -0
- package/_types/utils/transaction/assertTransaction.d.ts +14 -0
- package/_types/utils/transaction/assertTransaction.d.ts.map +1 -0
- package/_types/utils/transaction/getSerializedTransactionType.d.ts +9 -0
- package/_types/utils/transaction/getSerializedTransactionType.d.ts.map +1 -0
- package/_types/utils/transaction/getTransactionType.d.ts +7 -0
- package/_types/utils/transaction/getTransactionType.d.ts.map +1 -0
- package/_types/utils/transaction/parseTransaction.d.ts +26 -0
- package/_types/utils/transaction/parseTransaction.d.ts.map +1 -0
- package/_types/utils/transaction/serializeAccessList.d.ts +10 -0
- package/_types/utils/transaction/serializeAccessList.d.ts.map +1 -0
- package/_types/utils/transaction/serializeTransaction.d.ts +19 -0
- package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -0
- package/_types/utils/typedData.d.ts +19 -0
- package/_types/utils/typedData.d.ts.map +1 -0
- package/_types/utils/uid.d.ts +2 -0
- package/_types/utils/uid.d.ts.map +1 -0
- package/_types/utils/unit/formatEther.d.ts +15 -0
- package/_types/utils/unit/formatEther.d.ts.map +1 -0
- package/_types/utils/unit/formatGwei.d.ts +15 -0
- package/_types/utils/unit/formatGwei.d.ts.map +1 -0
- package/_types/utils/unit/formatUnits.d.ts +15 -0
- package/_types/utils/unit/formatUnits.d.ts.map +1 -0
- package/_types/utils/unit/parseEther.d.ts +16 -0
- package/_types/utils/unit/parseEther.d.ts.map +1 -0
- package/_types/utils/unit/parseGwei.d.ts +16 -0
- package/_types/utils/unit/parseGwei.d.ts.map +1 -0
- package/_types/utils/unit/parseUnits.d.ts +15 -0
- package/_types/utils/unit/parseUnits.d.ts.map +1 -0
- package/_types/utils/wait.d.ts +2 -0
- package/_types/utils/wait.d.ts.map +1 -0
- package/_types/window/index.d.ts +2 -0
- package/_types/window/index.d.ts.map +1 -0
- package/errors/version.ts +1 -1
- package/package.json +1 -1
@@ -0,0 +1,11 @@
|
|
1
|
+
import type { AbiEvent, AbiFunction } from 'abitype';
|
2
|
+
import { type FormatAbiItemErrorType } from '../abi/formatAbiItem.js';
|
3
|
+
import { type ToBytesErrorType } from '../encoding/toBytes.js';
|
4
|
+
import type { ErrorType } from '../../errors/utils.js';
|
5
|
+
import { type GetFunctionSignatureErrorType } from './getFunctionSignature.js';
|
6
|
+
import { type Keccak256ErrorType } from './keccak256.js';
|
7
|
+
export type HashFunctionErrorType = Keccak256ErrorType | ToBytesErrorType | GetFunctionSignatureErrorType | ErrorType;
|
8
|
+
export declare function hashFunction(def: string): `0x${string}`;
|
9
|
+
export type HashAbiItemErrorType = Keccak256ErrorType | ToBytesErrorType | FormatAbiItemErrorType | ErrorType;
|
10
|
+
export declare function hashAbiItem(abiItem: AbiFunction | AbiEvent): `0x${string}`;
|
11
|
+
//# sourceMappingURL=hashFunction.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"hashFunction.d.ts","sourceRoot":"","sources":["../../../utils/hash/hashFunction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACpD,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,wBAAwB,CAAA;AAEvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,EACL,KAAK,6BAA6B,EAEnC,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,KAAK,kBAAkB,EAAa,MAAM,gBAAgB,CAAA;AAInE,MAAM,MAAM,qBAAqB,GAC7B,kBAAkB,GAClB,gBAAgB,GAChB,6BAA6B,GAC7B,SAAS,CAAA;AAEb,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,iBAEvC;AAED,MAAM,MAAM,oBAAoB,GAC5B,kBAAkB,GAClB,gBAAgB,GAChB,sBAAsB,GACtB,SAAS,CAAA;AAEb,wBAAgB,WAAW,CAAC,OAAO,EAAE,WAAW,GAAG,QAAQ,iBAE1D"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import type { ErrorType } from '../../errors/utils.js';
|
2
|
+
import type { Hex } from '../../types/misc.js';
|
3
|
+
import { type IsHexErrorType } from '../data/isHex.js';
|
4
|
+
import { type SizeErrorType } from '../data/size.js';
|
5
|
+
export type IsHashErrorType = IsHexErrorType | SizeErrorType | ErrorType;
|
6
|
+
export declare function isHash(hash: string): hash is Hex;
|
7
|
+
//# sourceMappingURL=isHash.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"isHash.d.ts","sourceRoot":"","sources":["../../../utils/hash/isHash.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAC9C,OAAO,EAAE,KAAK,cAAc,EAAS,MAAM,kBAAkB,CAAA;AAC7D,OAAO,EAAE,KAAK,aAAa,EAAQ,MAAM,iBAAiB,CAAA;AAE1D,MAAM,MAAM,eAAe,GAAG,cAAc,GAAG,aAAa,GAAG,SAAS,CAAA;AAExE,wBAAgB,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,IAAI,GAAG,CAEhD"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import type { ErrorType } from '../../errors/utils.js';
|
2
|
+
import type { ByteArray, Hex } from '../../types/misc.js';
|
3
|
+
import { type IsHexErrorType } from '../data/isHex.js';
|
4
|
+
import { type ToBytesErrorType } from '../encoding/toBytes.js';
|
5
|
+
import { type ToHexErrorType } from '../encoding/toHex.js';
|
6
|
+
type To = 'hex' | 'bytes';
|
7
|
+
export type Keccak256Hash<TTo extends To> = (TTo extends 'bytes' ? ByteArray : never) | (TTo extends 'hex' ? Hex : never);
|
8
|
+
export type Keccak256ErrorType = IsHexErrorType | ToBytesErrorType | ToHexErrorType | ErrorType;
|
9
|
+
export declare function keccak256<TTo extends To = 'hex'>(value: Hex | ByteArray, to_?: TTo): Keccak256Hash<TTo>;
|
10
|
+
export {};
|
11
|
+
//# sourceMappingURL=keccak256.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"keccak256.d.ts","sourceRoot":"","sources":["../../../utils/hash/keccak256.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AACzD,OAAO,EAAE,KAAK,cAAc,EAAS,MAAM,kBAAkB,CAAA;AAC7D,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,wBAAwB,CAAA;AACvE,OAAO,EAAE,KAAK,cAAc,EAAS,MAAM,sBAAsB,CAAA;AAEjE,KAAK,EAAE,GAAG,KAAK,GAAG,OAAO,CAAA;AAEzB,MAAM,MAAM,aAAa,CAAC,GAAG,SAAS,EAAE,IACpC,CAAC,GAAG,SAAS,OAAO,GAAG,SAAS,GAAG,KAAK,CAAC,GACzC,CAAC,GAAG,SAAS,KAAK,GAAG,GAAG,GAAG,KAAK,CAAC,CAAA;AAErC,MAAM,MAAM,kBAAkB,GAC1B,cAAc,GACd,gBAAgB,GAChB,cAAc,GACd,SAAS,CAAA;AAEb,wBAAgB,SAAS,CAAC,GAAG,SAAS,EAAE,GAAG,KAAK,EAC9C,KAAK,EAAE,GAAG,GAAG,SAAS,EACtB,GAAG,CAAC,EAAE,GAAG,GACR,aAAa,CAAC,GAAG,CAAC,CAOpB"}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import type { ErrorType } from '../../errors/utils.js';
|
2
|
+
export type NormalizeSignatureParameters = string;
|
3
|
+
export type NormalizeSignatureReturnType = string;
|
4
|
+
export type NormalizeSignatureErrorType = ErrorType;
|
5
|
+
export declare function normalizeSignature(signature: NormalizeSignatureParameters): NormalizeSignatureReturnType;
|
6
|
+
//# sourceMappingURL=normalizeSignature.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"normalizeSignature.d.ts","sourceRoot":"","sources":["../../../utils/hash/normalizeSignature.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEtD,MAAM,MAAM,4BAA4B,GAAG,MAAM,CAAA;AACjD,MAAM,MAAM,4BAA4B,GAAG,MAAM,CAAA;AACjD,MAAM,MAAM,2BAA2B,GAAG,SAAS,CAAA;AAEnD,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,4BAA4B,GACtC,4BAA4B,CAsD9B"}
|
@@ -0,0 +1,84 @@
|
|
1
|
+
export { type RequestErrorType, buildRequest, } from './buildRequest.js';
|
2
|
+
export { type CcipFetchErrorType, type OffchainLookupErrorType, ccipFetch, offchainLookup, offchainLookupAbiItem, offchainLookupSignature, } from './ccip.js';
|
3
|
+
export { type AssertCurrentChainErrorType, type AssertCurrentChainParameters, assertCurrentChain, } from './chain/assertCurrentChain.js';
|
4
|
+
export { defineChain } from './chain/defineChain.js';
|
5
|
+
export { type ExtractChainErrorType, type ExtractChainParameters, type ExtractChainReturnType, extractChain, } from './chain/extractChain.js';
|
6
|
+
export { type GetChainContractAddressErrorType, getChainContractAddress, } from './chain/getChainContractAddress.js';
|
7
|
+
export { arrayRegex, bytesRegex, integerRegex } from './regex.js';
|
8
|
+
export { type GetSocketErrorType, type HttpErrorType, type HttpOptions, type HttpReturnType, type RpcRequest, type RpcResponse, type Socket, type WebSocketAsyncErrorType, type WebSocketAsyncOptions, type WebSocketAsyncReturnType, type WebSocketErrorType, type WebSocketOptions, type WebSocketReturnType, getSocket, rpc, } from './rpc.js';
|
9
|
+
export { type StringifyErrorType, stringify } from './stringify.js';
|
10
|
+
export { type DomainSeparatorErrorType, validateTypedData, } from './typedData.js';
|
11
|
+
export { type DecodeAbiParametersErrorType, type DecodeAbiParametersReturnType, decodeAbiParameters, } from './abi/decodeAbiParameters.js';
|
12
|
+
export { type DecodeErrorResultErrorType, type DecodeErrorResultParameters, type DecodeErrorResultReturnType, decodeErrorResult, } from './abi/decodeErrorResult.js';
|
13
|
+
export { type DecodeEventLogErrorType, type DecodeEventLogParameters, type DecodeEventLogReturnType, decodeEventLog, } from './abi/decodeEventLog.js';
|
14
|
+
export { type DecodeFunctionDataErrorType, type DecodeFunctionDataParameters, decodeFunctionData, } from './abi/decodeFunctionData.js';
|
15
|
+
export { type DecodeFunctionResultErrorType, type DecodeFunctionResultParameters, type DecodeFunctionResultReturnType, decodeFunctionResult, } from './abi/decodeFunctionResult.js';
|
16
|
+
export { type EncodeAbiParametersErrorType, type EncodeAbiParametersReturnType, encodeAbiParameters, } from './abi/encodeAbiParameters.js';
|
17
|
+
export { type EncodeDeployDataErrorType, type EncodeDeployDataParameters, encodeDeployData, } from './abi/encodeDeployData.js';
|
18
|
+
export { type EncodeErrorResultErrorType, type EncodeErrorResultParameters, encodeErrorResult, } from './abi/encodeErrorResult.js';
|
19
|
+
export { type EncodeArgErrorType, type EncodeEventTopicsParameters, encodeEventTopics, } from './abi/encodeEventTopics.js';
|
20
|
+
export { type EncodeFunctionDataErrorType, type EncodeFunctionDataParameters, encodeFunctionData, } from './abi/encodeFunctionData.js';
|
21
|
+
export { type EncodeFunctionResultErrorType, type EncodeFunctionResultParameters, encodeFunctionResult, } from './abi/encodeFunctionResult.js';
|
22
|
+
export { type ParseEventLogsErrorType, type ParseEventLogsParameters, type ParseEventLogsReturnType, parseEventLogs, } from './abi/parseEventLogs.js';
|
23
|
+
export { type GetAbiItemErrorType, type GetAbiItemParameters, getAbiItem, } from './abi/getAbiItem.js';
|
24
|
+
export { type ParseAbi, type ParseAbiItem, type ParseAbiParameter, type ParseAbiParameters, parseAbi, parseAbiItem, parseAbiParameter, parseAbiParameters, } from 'abitype';
|
25
|
+
export { type EncodePackedErrorType, encodePacked } from './abi/encodePacked.js';
|
26
|
+
export { type FormatAbiItemWithArgsErrorType, formatAbiItemWithArgs, } from './abi/formatAbiItemWithArgs.js';
|
27
|
+
export { type FormatAbiItemErrorType, type FormatAbiParamErrorType, type FormatAbiParamsErrorType, formatAbiItem, formatAbiParams, } from './abi/formatAbiItem.js';
|
28
|
+
export { type ParseAccountErrorType, parseAccount, } from '../accounts/utils/parseAccount.js';
|
29
|
+
export { type PublicKeyToAddressErrorType, publicKeyToAddress, } from '../accounts/utils/publicKeyToAddress.js';
|
30
|
+
export { type GetContractAddressOptions, type GetCreate2AddressErrorType, type GetCreate2AddressOptions, type GetCreateAddressErrorType, type GetCreateAddressOptions, getContractAddress, getCreateAddress, getCreate2Address, } from './address/getContractAddress.js';
|
31
|
+
export { type ChecksumAddressErrorType, getAddress, } from './address/getAddress.js';
|
32
|
+
export { type IsAddressErrorType, isAddress } from './address/isAddress.js';
|
33
|
+
export { type IsAddressEqualErrorType, isAddressEqual, } from './address/isAddressEqual.js';
|
34
|
+
export { type ConcatBytesErrorType, type ConcatErrorType, type ConcatHexErrorType, concat, concatBytes, concatHex, } from './data/concat.js';
|
35
|
+
export { type IsBytesErrorType, isBytes } from './data/isBytes.js';
|
36
|
+
export { type IsHexErrorType, isHex } from './data/isHex.js';
|
37
|
+
export { type PadBytesErrorType, type PadErrorType, type PadHexErrorType, pad, padBytes, padHex, } from './data/pad.js';
|
38
|
+
export { type SizeErrorType, size } from './data/size.js';
|
39
|
+
export { type AssertEndOffsetErrorType, type AssertStartOffsetErrorType, type SliceBytesErrorType, type SliceErrorType, type SliceHexErrorType, type SliceReturnType, slice, sliceBytes, sliceHex, } from './data/slice.js';
|
40
|
+
export { type TrimErrorType, type TrimReturnType, trim } from './data/trim.js';
|
41
|
+
export { type DefineBlockErrorType, type FormattedBlock, type FormatBlockErrorType, defineBlock, formatBlock, } from './formatters/block.js';
|
42
|
+
export { type DefineTransactionErrorType, type FormattedTransaction, type FormatTransactionErrorType, defineTransaction, formatTransaction, transactionType, } from './formatters/transaction.js';
|
43
|
+
export { type FormatLogErrorType, formatLog } from './formatters/log.js';
|
44
|
+
export { type DefineTransactionReceiptErrorType, type FormatTransactionReceiptErrorType, type FormattedTransactionReceipt, defineTransactionReceipt, } from './formatters/transactionReceipt.js';
|
45
|
+
export { type DefineTransactionRequestErrorType, type FormatTransactionRequestErrorType, type FormattedTransactionRequest, defineTransactionRequest, formatTransactionRequest, } from './formatters/transactionRequest.js';
|
46
|
+
export { type ExtractErrorType, extract } from './formatters/extract.js';
|
47
|
+
export { type BytesToRlpErrorType, type HexToRlpErrorType, type ToRlpErrorType, type ToRlpReturnType, toRlp, } from './encoding/toRlp.js';
|
48
|
+
export { type BoolToBytesErrorType, type BoolToBytesOpts, type HexToBytesErrorType, type HexToBytesOpts, type NumberToBytesErrorType, type StringToBytesErrorType, type StringToBytesOpts, type ToBytesErrorType, type ToBytesParameters, boolToBytes, toBytes, hexToBytes, numberToBytes, stringToBytes, } from './encoding/toBytes.js';
|
49
|
+
export { type BoolToHexErrorType, type BoolToHexOpts, type BytesToHexErrorType, type BytesToHexOpts, type NumberToHexErrorType, type NumberToHexOpts, type StringToHexErrorType, type StringToHexOpts, type ToHexErrorType, type ToHexParameters, boolToHex, bytesToHex, toHex, numberToHex, stringToHex, } from './encoding/toHex.js';
|
50
|
+
export { type BytesToBigIntErrorType, type BytesToBigIntOpts, type BytesToBoolErrorType, type BytesToBoolOpts, type BytesToNumberErrorType, type BytesToNumberOpts, type BytesToStringErrorType, type BytesToStringOpts, type FromBytesErrorType, type FromBytesParameters, type FromBytesReturnType, bytesToBigInt, bytesToBigInt as bytesToBigint, bytesToBool, bytesToNumber, bytesToString, fromBytes, } from './encoding/fromBytes.js';
|
51
|
+
export { type AssertSizeErrorType, type FromHexErrorType, type FromHexParameters, type FromHexReturnType, type HexToBigIntErrorType, type HexToBigIntOpts, type HexToBoolErrorType, type HexToBoolOpts, type HexToNumberErrorType, type HexToNumberOpts, type HexToStringErrorType, type HexToStringOpts, fromHex, hexToBool, hexToBigInt, hexToNumber, hexToString, } from './encoding/fromHex.js';
|
52
|
+
export { type FromRlpErrorType, fromRlp, } from './encoding/fromRlp.js';
|
53
|
+
export { type GetNodeErrorParameters, type GetNodeErrorReturnType, containsNodeError, getNodeError, } from './errors/getNodeError.js';
|
54
|
+
export { type GetCallErrorReturnType, getCallError, } from './errors/getCallError.js';
|
55
|
+
export { type GetContractErrorReturnType, getContractError, } from './errors/getContractError.js';
|
56
|
+
export { type GetEstimateGasErrorReturnType, getEstimateGasError, } from './errors/getEstimateGasError.js';
|
57
|
+
export { type GetTransactionErrorParameters, type GetTransactionErrorReturnType, getTransactionError, } from './errors/getTransactionError.js';
|
58
|
+
export { type DefineFormatterErrorType, defineFormatter, } from './formatters/formatter.js';
|
59
|
+
export { type GetEventSelectorErrorType, getEventSelector, } from './hash/getEventSelector.js';
|
60
|
+
export { type GetFunctionSelectorErrorType, getFunctionSelector, } from './hash/getFunctionSelector.js';
|
61
|
+
export { type IsHashErrorType, isHash } from './hash/isHash.js';
|
62
|
+
export { type Keccak256ErrorType, keccak256 } from './hash/keccak256.js';
|
63
|
+
export { type HashDomainErrorType, type HashTypedDataParameters, type HashTypedDataReturnType, hashTypedData, } from './signature/hashTypedData.js';
|
64
|
+
export { type RecoverAddressErrorType, type RecoverAddressParameters, type RecoverAddressReturnType, recoverAddress, } from './signature/recoverAddress.js';
|
65
|
+
export { type RecoverMessageAddressErrorType, type RecoverMessageAddressParameters, type RecoverMessageAddressReturnType, recoverMessageAddress, } from './signature/recoverMessageAddress.js';
|
66
|
+
export { type RecoverPublicKeyErrorType, type RecoverPublicKeyParameters, type RecoverPublicKeyReturnType, recoverPublicKey, } from './signature/recoverPublicKey.js';
|
67
|
+
export { type RecoverTypedDataAddressErrorType, type RecoverTypedDataAddressParameters, type RecoverTypedDataAddressReturnType, recoverTypedDataAddress, } from './signature/recoverTypedDataAddress.js';
|
68
|
+
export { type VerifyMessageErrorType, type VerifyMessageParameters, type VerifyMessageReturnType, verifyMessage, } from './signature/verifyMessage.js';
|
69
|
+
export { type VerifyTypedDataErrorType, type VerifyTypedDataParameters, type VerifyTypedDataReturnType, verifyTypedData, } from './signature/verifyTypedData.js';
|
70
|
+
export { type HashMessage, type HashMessageErrorType, hashMessage, } from './signature/hashMessage.js';
|
71
|
+
export { type GetSerializedTransactionTypeErrorType, type GetSerializedTransactionType, getSerializedTransactionType, } from './transaction/getSerializedTransactionType.js';
|
72
|
+
export { type GetTransationTypeErrorType, type GetTransactionType, getTransactionType, } from './transaction/getTransactionType.js';
|
73
|
+
export { type AssertRequestErrorType, assertRequest, } from './transaction/assertRequest.js';
|
74
|
+
export { type AssertTransactionEIP1559ErrorType, type AssertTransactionEIP2930ErrorType, type AssertTransactionLegacyErrorType, assertTransactionEIP1559, assertTransactionEIP2930, assertTransactionLegacy, } from './transaction/assertTransaction.js';
|
75
|
+
export { type ParseTransactionErrorType, parseTransaction, } from './transaction/parseTransaction.js';
|
76
|
+
export { serializeTransaction, type SerializeTransactionErrorType, type SerializeTransactionFn, } from './transaction/serializeTransaction.js';
|
77
|
+
export { type SerializeAccessListErrorType, serializeAccessList, } from './transaction/serializeAccessList.js';
|
78
|
+
export { type FormatEtherErrorType, formatEther } from './unit/formatEther.js';
|
79
|
+
export { type FormatGweiErrorType, formatGwei } from './unit/formatGwei.js';
|
80
|
+
export { type FormatUnitsErrorType, formatUnits } from './unit/formatUnits.js';
|
81
|
+
export { type ParseUnitsErrorType, parseUnits } from './unit/parseUnits.js';
|
82
|
+
export { type ParseEtherErrorType, parseEther } from './unit/parseEther.js';
|
83
|
+
export { type ParseGweiErrorType, parseGwei } from './unit/parseGwei.js';
|
84
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,gBAAgB,EACrB,YAAY,GACb,MAAM,mBAAmB,CAAA;AAE1B,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,SAAS,EACT,cAAc,EACd,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EAAE,MAAM,sBAAsB,CAAA;AAC3E,OAAO,EAAE,KAAK,kBAAkB,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import type { ErrorType } from '../errors/utils.js';
|
2
|
+
import type { MaybePromise } from '../types/utils.js';
|
3
|
+
type Callback = ((...args: any[]) => any) | undefined;
|
4
|
+
type Callbacks = Record<string, Callback>;
|
5
|
+
export type ObserveErrorType = ErrorType;
|
6
|
+
export declare const listenersCache: Map<string, {
|
7
|
+
id: number;
|
8
|
+
fns: Callbacks;
|
9
|
+
}[]>;
|
10
|
+
export declare const cleanupCache: Map<string, () => void>;
|
11
|
+
type EmitFunction<TCallbacks extends Callbacks> = (emit: TCallbacks) => MaybePromise<void | (() => void)>;
|
12
|
+
/**
|
13
|
+
* @description Sets up an observer for a given function. If another function
|
14
|
+
* is set up under the same observer id, the function will only be called once
|
15
|
+
* for both instances of the observer.
|
16
|
+
*/
|
17
|
+
export declare function observe<TCallbacks extends Callbacks>(observerId: string, callbacks: TCallbacks, fn: EmitFunction<TCallbacks>): () => void;
|
18
|
+
export {};
|
19
|
+
//# sourceMappingURL=observe.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"observe.d.ts","sourceRoot":"","sources":["../../utils/observe.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAErD,KAAK,QAAQ,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,GAAG,SAAS,CAAA;AACrD,KAAK,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;AAEzC,MAAM,MAAM,gBAAgB,GAAG,SAAS,CAAA;AAExC,eAAO,MAAM,cAAc;QAEnB,MAAM;SAAO,SAAS;IAC3B,CAAA;AACH,eAAO,MAAM,YAAY,oBAAuC,IAAI,CAAG,CAAA;AAEvE,KAAK,YAAY,CAAC,UAAU,SAAS,SAAS,IAAI,CAChD,IAAI,EAAE,UAAU,KACb,YAAY,CAAC,IAAI,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC,CAAA;AAItC;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,UAAU,SAAS,SAAS,EAClD,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,UAAU,EACrB,EAAE,EAAE,YAAY,CAAC,UAAU,CAAC,cA2C7B"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import type { ErrorType } from '../errors/utils.js';
|
2
|
+
type PollOptions<TData> = {
|
3
|
+
emitOnBegin?: boolean;
|
4
|
+
initialWaitTime?: (data: TData | void) => Promise<number>;
|
5
|
+
interval: number;
|
6
|
+
};
|
7
|
+
export type PollErrorType = ErrorType;
|
8
|
+
/**
|
9
|
+
* @description Polls a function at a specified interval.
|
10
|
+
*/
|
11
|
+
export declare function poll<TData>(fn: ({ unpoll }: {
|
12
|
+
unpoll: () => void;
|
13
|
+
}) => Promise<TData | void>, { emitOnBegin, initialWaitTime, interval }: PollOptions<TData>): () => boolean;
|
14
|
+
export {};
|
15
|
+
//# sourceMappingURL=poll.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"poll.d.ts","sourceRoot":"","sources":["../../utils/poll.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAGnD,KAAK,WAAW,CAAC,KAAK,IAAI;IAExB,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,KAAK,GAAG,IAAI,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;IAEzD,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,SAAS,CAAA;AAErC;;GAEG;AACH,wBAAgB,IAAI,CAAC,KAAK,EACxB,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,IAAI,CAAA;CAAE,KAAK,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC,EACjE,EAAE,WAAW,EAAE,eAAe,EAAE,QAAQ,EAAE,EAAE,WAAW,CAAC,KAAK,CAAC,iBAyB/D"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import type { ErrorType } from '../../errors/utils.js';
|
2
|
+
type Resolved<TReturnType extends readonly unknown[] = any> = [
|
3
|
+
result: TReturnType[number],
|
4
|
+
results: TReturnType
|
5
|
+
];
|
6
|
+
type BatchResultsCompareFn<TResult = unknown> = (a: TResult, b: TResult) => number;
|
7
|
+
export type CreateBatchSchedulerArguments<TParameters = unknown, TReturnType extends readonly unknown[] = readonly unknown[]> = {
|
8
|
+
fn: (args: TParameters[]) => Promise<TReturnType>;
|
9
|
+
id: number | string;
|
10
|
+
shouldSplitBatch?: (args: TParameters[]) => boolean;
|
11
|
+
wait?: number;
|
12
|
+
sort?: BatchResultsCompareFn<TReturnType[number]>;
|
13
|
+
};
|
14
|
+
export type CreateBatchSchedulerReturnType<TParameters = unknown, TReturnType extends readonly unknown[] = readonly unknown[]> = {
|
15
|
+
flush: () => void;
|
16
|
+
schedule: TParameters extends undefined ? (args?: TParameters) => Promise<Resolved<TReturnType>> : (args: TParameters) => Promise<Resolved<TReturnType>>;
|
17
|
+
};
|
18
|
+
export type CreateBatchSchedulerErrorType = ErrorType;
|
19
|
+
export declare function createBatchScheduler<TParameters, TReturnType extends readonly unknown[]>({ fn, id, shouldSplitBatch, wait, sort, }: CreateBatchSchedulerArguments<TParameters, TReturnType>): CreateBatchSchedulerReturnType<TParameters, TReturnType>;
|
20
|
+
export {};
|
21
|
+
//# sourceMappingURL=createBatchScheduler.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"createBatchScheduler.d.ts","sourceRoot":"","sources":["../../../utils/promise/createBatchScheduler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W,EACX,WAAW,SAAS,SAAS,OAAO,EAAE,EACtC,EACA,EAAE,EACF,EAAE,EACF,gBAAgB,EAChB,IAAQ,EACR,IAAI,GACL,EAAE,6BAA6B,CAC9B,WAAW,EACX,WAAW,CACZ,GAAG,8BAA8B,CAAC,WAAW,EAAE,WAAW,CAAC,CA2D3D"}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import type { ErrorType } from '../../errors/utils.js';
|
2
|
+
export declare const promiseCache: Map<any, any>;
|
3
|
+
export declare const responseCache: Map<any, any>;
|
4
|
+
export type GetCacheErrorType = ErrorType;
|
5
|
+
export declare function getCache<TData>(cacheKey: string): {
|
6
|
+
clear: () => void;
|
7
|
+
promise: {
|
8
|
+
clear: () => boolean;
|
9
|
+
get: () => Promise<TData> | undefined;
|
10
|
+
set: (data: Promise<TData>) => Map<string, Promise<TData>>;
|
11
|
+
};
|
12
|
+
response: {
|
13
|
+
clear: () => boolean;
|
14
|
+
get: () => {
|
15
|
+
created: Date;
|
16
|
+
data: TData;
|
17
|
+
} | undefined;
|
18
|
+
set: (data: {
|
19
|
+
created: Date;
|
20
|
+
data: TData;
|
21
|
+
}) => Map<string, {
|
22
|
+
created: Date;
|
23
|
+
data: TData;
|
24
|
+
}>;
|
25
|
+
};
|
26
|
+
};
|
27
|
+
export type WithCacheParameters = {
|
28
|
+
/** The key to cache the data against. */
|
29
|
+
cacheKey: string;
|
30
|
+
/** The time that cached data will remain in memory. Default: Infinity (no expiry) */
|
31
|
+
cacheTime?: number;
|
32
|
+
};
|
33
|
+
/**
|
34
|
+
* @description Returns the result of a given promise, and caches the result for
|
35
|
+
* subsequent invocations against a provided cache key.
|
36
|
+
*/
|
37
|
+
export declare function withCache<TData>(fn: () => Promise<TData>, { cacheKey, cacheTime }: WithCacheParameters): Promise<TData>;
|
38
|
+
//# sourceMappingURL=withCache.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"withCache.d.ts","sourceRoot":"","sources":["../../../utils/promise/withCache.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEtD,eAAO,MAAM,YAAY,eAA0B,CAAA;AACnD,eAAO,MAAM,aAAa,eAA0B,CAAA;AAEpD,MAAM,MAAM,iBAAiB,GAAG,SAAS,CAAA;AAEzC,wBAAgB,QAAQ,CAAC,KAAK,EAAE,QAAQ,EAAE,MAAM;;;;;;;;;;qBAQP,IAAI;kBAAQ,KAAK;;;qBAAjB,IAAI;kBAAQ,KAAK;;qBAAjB,IAAI;kBAAQ,KAAK;;;EAazD;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,yCAAyC;IACzC,QAAQ,EAAE,MAAM,CAAA;IAChB,qFAAqF;IACrF,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;GAGG;AACH,wBAAsB,SAAS,CAAC,KAAK,EACnC,EAAE,EAAE,MAAM,OAAO,CAAC,KAAK,CAAC,EACxB,EAAE,QAAQ,EAAE,SAAoB,EAAE,EAAE,mBAAmB,kBAmCxD"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import type { ErrorType } from '../../errors/utils.js';
|
2
|
+
export type WithRetryErrorType = ErrorType;
|
3
|
+
export declare function withRetry<TData>(fn: () => Promise<TData>, { delay: delay_, retryCount, shouldRetry, }?: {
|
4
|
+
delay?: ((config: {
|
5
|
+
count: number;
|
6
|
+
error: Error;
|
7
|
+
}) => number) | number;
|
8
|
+
retryCount?: number;
|
9
|
+
shouldRetry?: ({ count, error, }: {
|
10
|
+
count: number;
|
11
|
+
error: Error;
|
12
|
+
}) => Promise<boolean> | boolean;
|
13
|
+
}): Promise<TData>;
|
14
|
+
//# sourceMappingURL=withRetry.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"withRetry.d.ts","sourceRoot":"","sources":["../../../utils/promise/withRetry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGtD,MAAM,MAAM,kBAAkB,GAAG,SAAS,CAAA;AAE1C,wBAAgB,SAAS,CAAC,KAAK,EAC7B,EAAE,EAAE,MAAM,OAAO,CAAC,KAAK,CAAC,EACxB,EACE,KAAK,EAAE,MAAY,EACnB,UAAc,EACd,WAAwB,GACzB,GAAE;IAED,KAAK,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,KAAK,CAAA;KAAE,KAAK,MAAM,CAAC,GAAG,MAAM,CAAA;IAEtE,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB,WAAW,CAAC,EAAE,CAAC,EACb,KAAK,EACL,KAAK,GACN,EAAE;QACD,KAAK,EAAE,MAAM,CAAA;QACb,KAAK,EAAE,KAAK,CAAA;KACb,KAAK,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAA;CAC5B,kBAyBP"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import type { ErrorType } from '../../errors/utils.js';
|
2
|
+
export type WithTimeoutErrorType = ErrorType;
|
3
|
+
export declare function withTimeout<TData>(fn: ({ signal }: {
|
4
|
+
signal?: AbortController['signal'];
|
5
|
+
}) => Promise<TData>, { errorInstance, timeout, signal, }: {
|
6
|
+
errorInstance?: Error;
|
7
|
+
timeout: number;
|
8
|
+
signal?: boolean;
|
9
|
+
}): Promise<TData>;
|
10
|
+
//# sourceMappingURL=withTimeout.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"withTimeout.d.ts","sourceRoot":"","sources":["../../../utils/promise/withTimeout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEtD,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAA;AAE5C,wBAAgB,WAAW,CAAC,KAAK,EAC/B,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,CAAC,EAAE,eAAe,CAAC,QAAQ,CAAC,CAAA;CAAE,KAAK,OAAO,CAAC,KAAK,CAAC,EAC1E,EACE,aAAsC,EACtC,OAAO,EACP,MAAM,GACP,EAAE;IAED,aAAa,CAAC,EAAE,KAAK,CAAA;IAErB,OAAO,EAAE,MAAM,CAAA;IAEf,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,GACA,OAAO,CAAC,KAAK,CAAC,CAwBhB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"regex.d.ts","sourceRoot":"","sources":["../../utils/regex.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,QAAuB,CAAA;AAI9C,eAAO,MAAM,UAAU,QAAyC,CAAA;AAIhE,eAAO,MAAM,YAAY,QACyG,CAAA"}
|
@@ -0,0 +1,80 @@
|
|
1
|
+
import { type HttpRequestErrorType, type TimeoutErrorType, WebSocketRequestError } from '../errors/request.js';
|
2
|
+
import type { ErrorType } from '../errors/utils.js';
|
3
|
+
import { type CreateBatchSchedulerErrorType } from './promise/createBatchScheduler.js';
|
4
|
+
import { type WithTimeoutErrorType } from './promise/withTimeout.js';
|
5
|
+
type SuccessResult<T> = {
|
6
|
+
method?: never;
|
7
|
+
result: T;
|
8
|
+
error?: never;
|
9
|
+
};
|
10
|
+
type ErrorResult<T> = {
|
11
|
+
method?: never;
|
12
|
+
result?: never;
|
13
|
+
error: T;
|
14
|
+
};
|
15
|
+
type Subscription<TResult, TError> = {
|
16
|
+
method: 'eth_subscription';
|
17
|
+
error?: never;
|
18
|
+
result?: never;
|
19
|
+
params: {
|
20
|
+
subscription: string;
|
21
|
+
} & ({
|
22
|
+
result: TResult;
|
23
|
+
error?: never;
|
24
|
+
} | {
|
25
|
+
result?: never;
|
26
|
+
error: TError;
|
27
|
+
});
|
28
|
+
};
|
29
|
+
export type RpcRequest = {
|
30
|
+
method: string;
|
31
|
+
params?: any;
|
32
|
+
id?: number;
|
33
|
+
};
|
34
|
+
export type RpcResponse<TResult = any, TError = any> = {
|
35
|
+
jsonrpc: `${number}`;
|
36
|
+
id: number;
|
37
|
+
} & (SuccessResult<TResult> | ErrorResult<TError> | Subscription<TResult, TError>);
|
38
|
+
export type HttpOptions<TBody extends RpcRequest | RpcRequest[] = RpcRequest> = {
|
39
|
+
body: TBody;
|
40
|
+
fetchOptions?: Omit<RequestInit, 'body'>;
|
41
|
+
timeout?: number;
|
42
|
+
};
|
43
|
+
export type HttpReturnType<TBody extends RpcRequest | RpcRequest[] = RpcRequest> = TBody extends RpcRequest[] ? RpcResponse[] : RpcResponse;
|
44
|
+
export type HttpErrorType = HttpRequestErrorType | TimeoutErrorType | WithTimeoutErrorType | ErrorType;
|
45
|
+
declare function http<TBody extends RpcRequest | RpcRequest[]>(url: string, { body, fetchOptions, timeout }: HttpOptions<TBody>): Promise<HttpReturnType<TBody>>;
|
46
|
+
type Id = string | number;
|
47
|
+
type CallbackFn = (message: any) => void;
|
48
|
+
type CallbackMap = Map<Id, CallbackFn>;
|
49
|
+
export type Socket = WebSocket & {
|
50
|
+
requests: CallbackMap;
|
51
|
+
subscriptions: CallbackMap;
|
52
|
+
};
|
53
|
+
export type GetSocketErrorType = CreateBatchSchedulerErrorType | ErrorType;
|
54
|
+
export declare const socketsCache: Map<string, Socket>;
|
55
|
+
export declare function getSocket(url: string): Promise<Socket>;
|
56
|
+
export type WebSocketOptions = {
|
57
|
+
/** The RPC request body. */
|
58
|
+
body: RpcRequest;
|
59
|
+
/** The callback to invoke on response. */
|
60
|
+
onResponse?: (message: RpcResponse) => void;
|
61
|
+
};
|
62
|
+
export type WebSocketReturnType = Socket;
|
63
|
+
export type WebSocketErrorType = WebSocketRequestError | ErrorType;
|
64
|
+
declare function webSocket(socket: Socket, { body, onResponse }: WebSocketOptions): WebSocketReturnType;
|
65
|
+
export type WebSocketAsyncOptions = {
|
66
|
+
/** The RPC request body. */
|
67
|
+
body: RpcRequest;
|
68
|
+
/** The timeout (in ms) for the request. */
|
69
|
+
timeout?: number;
|
70
|
+
};
|
71
|
+
export type WebSocketAsyncReturnType = RpcResponse;
|
72
|
+
export type WebSocketAsyncErrorType = WebSocketErrorType | TimeoutErrorType | WithTimeoutErrorType | ErrorType;
|
73
|
+
declare function webSocketAsync(socket: Socket, { body, timeout }: WebSocketAsyncOptions): Promise<WebSocketAsyncReturnType>;
|
74
|
+
export declare const rpc: {
|
75
|
+
http: typeof http;
|
76
|
+
webSocket: typeof webSocket;
|
77
|
+
webSocketAsync: typeof webSocketAsync;
|
78
|
+
};
|
79
|
+
export {};
|
80
|
+
//# sourceMappingURL=rpc.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"rpc.d.ts","sourceRoot":"","sources":["../../utils/rpc.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,oBAAoB,EAEzB,KAAK,gBAAgB,EACrB,qBAAqB,EACtB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,EACL,KAAK,6BAA6B,EAEnC,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,0BAA0B,CAAA;AAKjC,KAAK,aAAa,CAAC,CAAC,IAAI;IACtB,MAAM,CAAC,EAAE,KAAK,CAAA;IACd,MAAM,EAAE,CAAC,CAAA;IACT,KAAK,CAAC,EAAE,KAAK,CAAA;CACd,CAAA;AACD,KAAK,WAAW,CAAC,CAAC,IAAI;IACpB,MAAM,CAAC,EAAE,KAAK,CAAA;IACd,MAAM,CAAC,EAAE,KAAK,CAAA;IACd,KAAK,EAAE,CAAC,CAAA;CACT,CAAA;AACD,KAAK,YAAY,CAAC,OAAO,EAAE,MAAM,IAAI;IACnC,MAAM,EAAE,kBAAkB,CAAA;IAC1B,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,MAAM,CAAC,EAAE,KAAK,CAAA;IACd,MAAM,EAAE;QACN,YAAY,EAAE,MAAM,CAAA;KACrB,GAAG,CAC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,EAAE,qBAAqB,GAChD,OAAO,CAAC,wBAAwB,CAAC,CAcnC;AAID,eAAO,MAAM,GAAG;;;;CAIf,CAAA"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import type { ErrorType } from '../../errors/utils.js';
|
2
|
+
import type { CompactSignature, Hex } from '../../types/misc.js';
|
3
|
+
import { type HexToBigIntErrorType } from '../encoding/fromHex.js';
|
4
|
+
export type CompactSignatureToHexErrorType = HexToBigIntErrorType | ErrorType;
|
5
|
+
/**
|
6
|
+
* @description Converts an [EIP-2098 compact signature](https://eips.ethereum.org/EIPS/eip-2098) into hex format.
|
7
|
+
*
|
8
|
+
* @param signature The compact signature to convert.
|
9
|
+
* @returns The compact signature in hex format.
|
10
|
+
*
|
11
|
+
* @example
|
12
|
+
* compactSignatureToHex({
|
13
|
+
* r: '0x68a020a209d3d56c46f38cc50a33f704f4a9a10a59377f8dd762ac66910e9b90',
|
14
|
+
* yParityAndS: '0x7e865ad05c4035ab5792787d4a0297a43617ae897930a6fe4d822b8faea52064',
|
15
|
+
* })
|
16
|
+
* // "0x6e100a352ec6ad1b70802290e18aeed190704973570f3b8ed42cb9808e2ea6bf4a90a229a244495b41890987806fcbd2d5d23fc0dbe5f5256c2613c039d76db81c"
|
17
|
+
*/
|
18
|
+
export declare function compactSignatureToHex({ r, yParityAndS, }: CompactSignature): Hex;
|
19
|
+
//# sourceMappingURL=compactSignatureToHex.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"compactSignatureToHex.d.ts","sourceRoot":"","sources":["../../../utils/signature/compactSignatureToHex.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,gBAAgB,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAChE,OAAO,EAAE,KAAK,oBAAoB,EAAe,MAAM,wBAAwB,CAAA;AAE/E,MAAM,MAAM,8BAA8B,GAAG,oBAAoB,GAAG,SAAS,CAAA;AAE7E;;;;;;;;;;;;GAYG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,CAAC,EACD,WAAW,GACZ,EAAE,gBAAgB,GAAG,GAAG,CAKxB"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import type { ErrorType } from '../../errors/utils.js';
|
2
|
+
import type { CompactSignature, Signature } from '../../types/misc.js';
|
3
|
+
import { type HexToBytesErrorType } from '../encoding/toBytes.js';
|
4
|
+
import { type BytesToHexErrorType } from '../encoding/toHex.js';
|
5
|
+
export type CompactSignatureToSignatureErrorType = BytesToHexErrorType | HexToBytesErrorType | ErrorType;
|
6
|
+
/**
|
7
|
+
* @description Converts an [EIP-2098 compact signature](https://eips.ethereum.org/EIPS/eip-2098) into signature format.
|
8
|
+
*
|
9
|
+
* @param signature The compact signature to convert.
|
10
|
+
* @returns The compact signature in signature format.
|
11
|
+
*
|
12
|
+
* @example
|
13
|
+
* compactSignatureToHex({
|
14
|
+
* r: '0x68a020a209d3d56c46f38cc50a33f704f4a9a10a59377f8dd762ac66910e9b90',
|
15
|
+
* yParityAndS: '0x7e865ad05c4035ab5792787d4a0297a43617ae897930a6fe4d822b8faea52064',
|
16
|
+
* })
|
17
|
+
* // {
|
18
|
+
* // r: '0x68a020a209d3d56c46f38cc50a33f704f4a9a10a59377f8dd762ac66910e9b90',
|
19
|
+
* // s: '0x7e865ad05c4035ab5792787d4a0297a43617ae897930a6fe4d822b8faea52064',
|
20
|
+
* // v: 27n
|
21
|
+
* // }
|
22
|
+
*/
|
23
|
+
export declare function compactSignatureToSignature({ r, yParityAndS, }: CompactSignature): Signature;
|
24
|
+
//# sourceMappingURL=compactSignatureToSignature.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"compactSignatureToSignature.d.ts","sourceRoot":"","sources":["../../../utils/signature/compactSignatureToSignature.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AACtE,OAAO,EAAE,KAAK,mBAAmB,EAAc,MAAM,wBAAwB,CAAA;AAC7E,OAAO,EAAE,KAAK,mBAAmB,EAAc,MAAM,sBAAsB,CAAA;AAE3E,MAAM,MAAM,oCAAoC,GAC5C,mBAAmB,GACnB,mBAAmB,GACnB,SAAS,CAAA;AAEb;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,2BAA2B,CAAC,EAC1C,CAAC,EACD,WAAW,GACZ,EAAE,gBAAgB,GAAG,SAAS,CAM9B"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import type { ErrorType } from '../../errors/utils.js';
|
2
|
+
import type { ByteArray, Hex, SignableMessage } from '../../types/misc.js';
|
3
|
+
import { type ConcatErrorType } from '../data/concat.js';
|
4
|
+
import { type StringToBytesErrorType, type ToBytesErrorType } from '../encoding/toBytes.js';
|
5
|
+
import { type Keccak256ErrorType } from '../hash/keccak256.js';
|
6
|
+
type To = 'hex' | 'bytes';
|
7
|
+
export type HashMessage<TTo extends To> = (TTo extends 'bytes' ? ByteArray : never) | (TTo extends 'hex' ? Hex : never);
|
8
|
+
export type HashMessageErrorType = ConcatErrorType | Keccak256ErrorType | StringToBytesErrorType | ToBytesErrorType | ErrorType;
|
9
|
+
export declare function hashMessage<TTo extends To = 'hex'>(message: SignableMessage, to_?: TTo): HashMessage<TTo>;
|
10
|
+
export {};
|
11
|
+
//# sourceMappingURL=hashMessage.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"hashMessage.d.ts","sourceRoot":"","sources":["../../../utils/signature/hashMessage.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAC1E,OAAO,EAAE,KAAK,eAAe,EAAU,MAAM,mBAAmB,CAAA;AAChE,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EAGtB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,KAAK,kBAAkB,EAAa,MAAM,sBAAsB,CAAA;AAEzE,KAAK,EAAE,GAAG,KAAK,GAAG,OAAO,CAAA;AAEzB,MAAM,MAAM,WAAW,CAAC,GAAG,SAAS,EAAE,IAClC,CAAC,GAAG,SAAS,OAAO,GAAG,SAAS,GAAG,KAAK,CAAC,GACzC,CAAC,GAAG,SAAS,KAAK,GAAG,GAAG,GAAG,KAAK,CAAC,CAAA;AAErC,MAAM,MAAM,oBAAoB,GAC5B,eAAe,GACf,kBAAkB,GAClB,sBAAsB,GACtB,gBAAgB,GAChB,SAAS,CAAA;AAEb,wBAAgB,WAAW,CAAC,GAAG,SAAS,EAAE,GAAG,KAAK,EAChD,OAAO,EAAE,eAAe,EACxB,GAAG,CAAC,EAAE,GAAG,GACR,WAAW,CAAC,GAAG,CAAC,CAUlB"}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import type { TypedData, TypedDataDomain } from 'abitype';
|
2
|
+
import type { ErrorType } from '../../errors/utils.js';
|
3
|
+
import type { Hex } from '../../types/misc.js';
|
4
|
+
import type { TypedDataDefinition } from '../../types/typedData.js';
|
5
|
+
import { type EncodeAbiParametersErrorType } from '../abi/encodeAbiParameters.js';
|
6
|
+
import { type ToHexErrorType } from '../encoding/toHex.js';
|
7
|
+
import { type Keccak256ErrorType } from '../hash/keccak256.js';
|
8
|
+
import { type GetTypesForEIP712DomainErrorType, type ValidateTypedDataErrorType } from '../typedData.js';
|
9
|
+
type MessageTypeProperty = {
|
10
|
+
name: string;
|
11
|
+
type: string;
|
12
|
+
};
|
13
|
+
export type HashTypedDataParameters<typedData extends TypedData | Record<string, unknown> = TypedData, primaryType extends keyof typedData | 'EIP712Domain' = keyof typedData> = TypedDataDefinition<typedData, primaryType>;
|
14
|
+
export type HashTypedDataReturnType = Hex;
|
15
|
+
export type HashTypedDataErrorType = GetTypesForEIP712DomainErrorType | HashDomainErrorType | HashStructErrorType | ValidateTypedDataErrorType | ErrorType;
|
16
|
+
export declare function hashTypedData<const typedData extends TypedData | Record<string, unknown>, primaryType extends keyof typedData | 'EIP712Domain'>(parameters: HashTypedDataParameters<typedData, primaryType>): HashTypedDataReturnType;
|
17
|
+
export type HashDomainErrorType = HashStructErrorType | ErrorType;
|
18
|
+
export declare function hashDomain({ domain, types, }: {
|
19
|
+
domain: TypedDataDomain;
|
20
|
+
types: Record<string, MessageTypeProperty[]>;
|
21
|
+
}): `0x${string}`;
|
22
|
+
type HashStructErrorType = EncodeDataErrorType | Keccak256ErrorType | ErrorType;
|
23
|
+
type EncodeDataErrorType = EncodeAbiParametersErrorType | EncodeFieldErrorType | HashTypeErrorType | ErrorType;
|
24
|
+
type HashTypeErrorType = ToHexErrorType | EncodeTypeErrorType | Keccak256ErrorType | ErrorType;
|
25
|
+
type EncodeTypeErrorType = FindTypeDependenciesErrorType;
|
26
|
+
type FindTypeDependenciesErrorType = ErrorType;
|
27
|
+
type EncodeFieldErrorType = Keccak256ErrorType | EncodeAbiParametersErrorType | ToHexErrorType | ErrorType;
|
28
|
+
export {};
|
29
|
+
//# sourceMappingURL=hashTypedData.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"hashTypedData.d.ts","sourceRoot":"","sources":["../../../utils/signature/hashTypedData.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAgB,SAAS,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAEvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACnE,OAAO,EACL,KAAK,4BAA4B,EAElC,MAAM,+BAA+B,CAAA;AAEtC,OAAO,EAAE,KAAK,cAAc,E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A;AA4Bb,KAAK,iBAAiB,GAClB,cAAc,GACd,mBAAmB,GACnB,kBAAkB,GAClB,SAAS,CAAA;AAab,KAAK,mBAAmB,GAAG,6BAA6B,CAAA;AAuBxD,KAAK,6BAA6B,GAAG,SAAS,CAAA;AA0B9C,KAAK,oBAAoB,GACrB,kBAAkB,GAClB,4BAA4B,GAC5B,cAAc,GACd,SAAS,CAAA"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import type { ErrorType } from '../../errors/utils.js';
|
2
|
+
import type { CompactSignature, Hex } from '../../types/misc.js';
|
3
|
+
import { type NumberToHexErrorType } from '../../utils/encoding/toHex.js';
|
4
|
+
export type HexToCompactSignatureErrorType = NumberToHexErrorType | ErrorType;
|
5
|
+
/**
|
6
|
+
* @description Parses a hex formatted compact signature into a structured compact signature.
|
7
|
+
*
|
8
|
+
* @param signatureHex Signature in hex format.
|
9
|
+
* @returns The structured signature.
|
10
|
+
*
|
11
|
+
* @example
|
12
|
+
* hexToCompactSignature('0x6e100a352ec6ad1b70802290e18aeed190704973570f3b8ed42cb9808e2ea6bf4a90a229a244495b41890987806fcbd2d5d23fc0dbe5f5256c2613c039d76db81c')
|
13
|
+
* // { r: '0x...', yParityAndS: '0x...' }
|
14
|
+
*/
|
15
|
+
export declare function hexToCompactSignature(signatureHex: Hex): CompactSignature;
|
16
|
+
//# sourceMappingURL=hexToCompactSignature.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"hexToCompactSignature.d.ts","sourceRoot":"","sources":["../../../utils/signature/hexToCompactSignature.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,gBAAgB,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAChE,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,+BAA+B,CAAA;AAEtC,MAAM,MAAM,8BAA8B,GAAG,oBAAoB,GAAG,SAAS,CAAA;AAE7E;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CAAC,YAAY,EAAE,GAAG,GAAG,gBAAgB,CAMzE"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import type { ErrorType } from '../../errors/utils.js';
|
2
|
+
import type { Hex, Signature } from '../../types/misc.js';
|
3
|
+
import { type NumberToHexErrorType } from '../../utils/encoding/toHex.js';
|
4
|
+
export type HexToSignatureErrorType = NumberToHexErrorType | ErrorType;
|
5
|
+
/**
|
6
|
+
* @description Parses a hex formatted signature into a structured signature.
|
7
|
+
*
|
8
|
+
* @param signatureHex Signature in hex format.
|
9
|
+
* @returns The structured signature.
|
10
|
+
*
|
11
|
+
* @example
|
12
|
+
* hexToSignature('0x6e100a352ec6ad1b70802290e18aeed190704973570f3b8ed42cb9808e2ea6bf4a90a229a244495b41890987806fcbd2d5d23fc0dbe5f5256c2613c039d76db81c')
|
13
|
+
* // { r: '0x...', s: '0x...', v: 28n }
|
14
|
+
*/
|
15
|
+
export declare function hexToSignature(signatureHex: Hex): Signature;
|
16
|
+
//# sourceMappingURL=hexToSignature.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"hexToSignature.d.ts","sourceRoot":"","sources":["../../../utils/signature/hexToSignature.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AACzD,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,+BAA+B,CAAA;AAEtC,MAAM,MAAM,uBAAuB,GAAG,oBAAoB,GAAG,SAAS,CAAA;AAEtE;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAAC,YAAY,EAAE,GAAG,GAAG,SAAS,CAI3D"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import type { Address } from 'abitype';
|
2
|
+
import type { ByteArray, Hex } from '../../types/misc.js';
|
3
|
+
import type { ErrorType } from '../../errors/utils.js';
|
4
|
+
export type RecoverAddressParameters = {
|
5
|
+
hash: Hex | ByteArray;
|
6
|
+
signature: Hex | ByteArray;
|
7
|
+
};
|
8
|
+
export type RecoverAddressReturnType = Address;
|
9
|
+
export type RecoverAddressErrorType = ErrorType;
|
10
|
+
export declare function recoverAddress({ hash, signature, }: RecoverAddressParameters): Promise<RecoverAddressReturnType>;
|
11
|
+
//# sourceMappingURL=recoverAddress.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"recoverAddress.d.ts","sourceRoot":"","sources":["../../../utils/signature/recoverAddress.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAGtC,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAEzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGtD,MAAM,MAAM,wBAAwB,GAAG;IACrC,IAAI,EAAE,GAAG,GAAG,SAAS,CAAA;IACrB,SAAS,EAAE,GAAG,GAAG,SAAS,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAA;AAE9C,MAAM,MAAM,uBAAuB,GAAG,SAAS,CAAA;AAE/C,wBAAsB,cAAc,CAAC,EACnC,IAAI,EACJ,SAAS,GACV,EAAE,wBAAwB,GAAG,OAAO,CAAC,wBAAwB,CAAC,CAE9D"}
|