viem 2.0.0-beta.11 → 2.0.0-beta.12
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/index.js +6 -2
- package/_cjs/index.js.map +1 -1
- package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
- package/_cjs/utils/abi/decodeEventLog.js.map +1 -1
- package/_cjs/utils/abi/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/errors/version.ts +1 -1
- package/index.ts +8 -0
- package/package.json +1 -1
- package/_cjs/package.json +0 -1
- package/_esm/accounts/generateMnemonic.js +0 -12
- package/_esm/accounts/generateMnemonic.js.map +0 -1
- package/_esm/accounts/generatePrivateKey.js +0 -11
- package/_esm/accounts/generatePrivateKey.js.map +0 -1
- package/_esm/accounts/hdKeyToAccount.js +0 -17
- package/_esm/accounts/hdKeyToAccount.js.map +0 -1
- package/_esm/accounts/index.js +0 -25
- package/_esm/accounts/index.js.map +0 -1
- package/_esm/accounts/mnemonicToAccount.js +0 -13
- package/_esm/accounts/mnemonicToAccount.js.map +0 -1
- package/_esm/accounts/privateKeyToAccount.js +0 -34
- package/_esm/accounts/privateKeyToAccount.js.map +0 -1
- package/_esm/accounts/toAccount.js +0 -28
- package/_esm/accounts/toAccount.js.map +0 -1
- package/_esm/accounts/types.js +0 -2
- package/_esm/accounts/types.js.map +0 -1
- package/_esm/accounts/utils/parseAccount.js +0 -6
- package/_esm/accounts/utils/parseAccount.js.map +0 -1
- package/_esm/accounts/utils/privateKeyToAddress.js +0 -15
- package/_esm/accounts/utils/privateKeyToAddress.js.map +0 -1
- package/_esm/accounts/utils/publicKeyToAddress.js +0 -14
- package/_esm/accounts/utils/publicKeyToAddress.js.map +0 -1
- package/_esm/accounts/utils/sign.js +0 -19
- package/_esm/accounts/utils/sign.js.map +0 -1
- package/_esm/accounts/utils/signMessage.js +0 -14
- package/_esm/accounts/utils/signMessage.js.map +0 -1
- package/_esm/accounts/utils/signTransaction.js +0 -11
- package/_esm/accounts/utils/signTransaction.js.map +0 -1
- package/_esm/accounts/utils/signTypedData.js +0 -18
- package/_esm/accounts/utils/signTypedData.js.map +0 -1
- package/_esm/actions/ens/getEnsAddress.js +0 -87
- package/_esm/actions/ens/getEnsAddress.js.map +0 -1
- package/_esm/actions/ens/getEnsAvatar.js +0 -49
- package/_esm/actions/ens/getEnsAvatar.js.map +0 -1
- package/_esm/actions/ens/getEnsName.js +0 -63
- package/_esm/actions/ens/getEnsName.js.map +0 -1
- package/_esm/actions/ens/getEnsResolver.js +0 -63
- package/_esm/actions/ens/getEnsResolver.js.map +0 -1
- package/_esm/actions/ens/getEnsText.js +0 -82
- package/_esm/actions/ens/getEnsText.js.map +0 -1
- package/_esm/actions/getContract.js +0 -214
- package/_esm/actions/getContract.js.map +0 -1
- package/_esm/actions/index.js +0 -82
- package/_esm/actions/index.js.map +0 -1
- package/_esm/actions/public/call.js +0 -182
- package/_esm/actions/public/call.js.map +0 -1
- package/_esm/actions/public/createBlockFilter.js +0 -32
- package/_esm/actions/public/createBlockFilter.js.map +0 -1
- package/_esm/actions/public/createContractEventFilter.js +0 -59
- package/_esm/actions/public/createContractEventFilter.js.map +0 -1
- package/_esm/actions/public/createEventFilter.js +0 -67
- package/_esm/actions/public/createEventFilter.js.map +0 -1
- package/_esm/actions/public/createPendingTransactionFilter.js +0 -32
- package/_esm/actions/public/createPendingTransactionFilter.js.map +0 -1
- package/_esm/actions/public/estimateContractGas.js +0 -60
- package/_esm/actions/public/estimateContractGas.js.map +0 -1
- package/_esm/actions/public/estimateFeesPerGas.js +0 -83
- package/_esm/actions/public/estimateFeesPerGas.js.map +0 -1
- package/_esm/actions/public/estimateGas.js +0 -73
- package/_esm/actions/public/estimateGas.js.map +0 -1
- package/_esm/actions/public/estimateMaxPriorityFeePerGas.js +0 -67
- package/_esm/actions/public/estimateMaxPriorityFeePerGas.js.map +0 -1
- package/_esm/actions/public/getBalance.js +0 -45
- package/_esm/actions/public/getBalance.js.map +0 -1
- package/_esm/actions/public/getBlock.js +0 -50
- package/_esm/actions/public/getBlock.js.map +0 -1
- package/_esm/actions/public/getBlockNumber.js +0 -35
- package/_esm/actions/public/getBlockNumber.js.map +0 -1
- package/_esm/actions/public/getBlockTransactionCount.js +0 -43
- package/_esm/actions/public/getBlockTransactionCount.js.map +0 -1
- package/_esm/actions/public/getBytecode.js +0 -35
- package/_esm/actions/public/getBytecode.js.map +0 -1
- package/_esm/actions/public/getChainId.js +0 -29
- package/_esm/actions/public/getChainId.js.map +0 -1
- package/_esm/actions/public/getContractEvents.js +0 -49
- package/_esm/actions/public/getContractEvents.js.map +0 -1
- package/_esm/actions/public/getFeeHistory.js +0 -39
- package/_esm/actions/public/getFeeHistory.js.map +0 -1
- package/_esm/actions/public/getFilterChanges.js +0 -102
- package/_esm/actions/public/getFilterChanges.js.map +0 -1
- package/_esm/actions/public/getFilterLogs.js +0 -45
- package/_esm/actions/public/getFilterLogs.js.map +0 -1
- package/_esm/actions/public/getGasPrice.js +0 -27
- package/_esm/actions/public/getGasPrice.js.map +0 -1
- package/_esm/actions/public/getLogs.js +0 -71
- package/_esm/actions/public/getLogs.js.map +0 -1
- package/_esm/actions/public/getProof.js +0 -37
- package/_esm/actions/public/getProof.js.map +0 -1
- package/_esm/actions/public/getStorageAt.js +0 -34
- package/_esm/actions/public/getStorageAt.js.map +0 -1
- package/_esm/actions/public/getTransaction.js +0 -61
- package/_esm/actions/public/getTransaction.js.map +0 -1
- package/_esm/actions/public/getTransactionConfirmations.js +0 -40
- package/_esm/actions/public/getTransactionConfirmations.js.map +0 -1
- package/_esm/actions/public/getTransactionCount.js +0 -33
- package/_esm/actions/public/getTransactionCount.js.map +0 -1
- package/_esm/actions/public/getTransactionReceipt.js +0 -38
- package/_esm/actions/public/getTransactionReceipt.js.map +0 -1
- package/_esm/actions/public/multicall.js +0 -182
- package/_esm/actions/public/multicall.js.map +0 -1
- package/_esm/actions/public/readContract.js +0 -67
- package/_esm/actions/public/readContract.js.map +0 -1
- package/_esm/actions/public/simulateContract.js +0 -83
- package/_esm/actions/public/simulateContract.js.map +0 -1
- package/_esm/actions/public/uninstallFilter.js +0 -31
- package/_esm/actions/public/uninstallFilter.js.map +0 -1
- package/_esm/actions/public/verifyHash.js +0 -38
- package/_esm/actions/public/verifyHash.js.map +0 -1
- package/_esm/actions/public/verifyMessage.js +0 -23
- package/_esm/actions/public/verifyMessage.js.map +0 -1
- package/_esm/actions/public/verifyTypedData.js +0 -21
- package/_esm/actions/public/verifyTypedData.js.map +0 -1
- package/_esm/actions/public/waitForTransactionReceipt.js +0 -180
- package/_esm/actions/public/waitForTransactionReceipt.js.map +0 -1
- package/_esm/actions/public/watchBlockNumber.js +0 -105
- package/_esm/actions/public/watchBlockNumber.js.map +0 -1
- package/_esm/actions/public/watchBlocks.js +0 -120
- package/_esm/actions/public/watchBlocks.js.map +0 -1
- package/_esm/actions/public/watchContractEvent.js +0 -199
- package/_esm/actions/public/watchContractEvent.js.map +0 -1
- package/_esm/actions/public/watchEvent.js +0 -200
- package/_esm/actions/public/watchEvent.js.map +0 -1
- package/_esm/actions/public/watchPendingTransactions.js +0 -114
- package/_esm/actions/public/watchPendingTransactions.js.map +0 -1
- package/_esm/actions/test/dropTransaction.js +0 -29
- package/_esm/actions/test/dropTransaction.js.map +0 -1
- package/_esm/actions/test/dumpState.js +0 -26
- package/_esm/actions/test/dumpState.js.map +0 -1
- package/_esm/actions/test/getAutomine.js +0 -30
- package/_esm/actions/test/getAutomine.js.map +0 -1
- package/_esm/actions/test/getTxpoolContent.js +0 -26
- package/_esm/actions/test/getTxpoolContent.js.map +0 -1
- package/_esm/actions/test/getTxpoolStatus.js +0 -31
- package/_esm/actions/test/getTxpoolStatus.js.map +0 -1
- package/_esm/actions/test/impersonateAccount.js +0 -29
- package/_esm/actions/test/impersonateAccount.js.map +0 -1
- package/_esm/actions/test/increaseTime.js +0 -30
- package/_esm/actions/test/increaseTime.js.map +0 -1
- package/_esm/actions/test/inspectTxpool.js +0 -26
- package/_esm/actions/test/inspectTxpool.js.map +0 -1
- package/_esm/actions/test/loadState.js +0 -27
- package/_esm/actions/test/loadState.js.map +0 -1
- package/_esm/actions/test/mine.js +0 -34
- package/_esm/actions/test/mine.js.map +0 -1
- package/_esm/actions/test/removeBlockTimestampInterval.js +0 -25
- package/_esm/actions/test/removeBlockTimestampInterval.js.map +0 -1
- package/_esm/actions/test/reset.js +0 -27
- package/_esm/actions/test/reset.js.map +0 -1
- package/_esm/actions/test/revert.js +0 -27
- package/_esm/actions/test/revert.js.map +0 -1
- package/_esm/actions/test/sendUnsignedTransaction.js +0 -52
- package/_esm/actions/test/sendUnsignedTransaction.js.map +0 -1
- package/_esm/actions/test/setAutomine.js +0 -33
- package/_esm/actions/test/setAutomine.js.map +0 -1
- package/_esm/actions/test/setBalance.js +0 -37
- package/_esm/actions/test/setBalance.js.map +0 -1
- package/_esm/actions/test/setBlockGasLimit.js +0 -28
- package/_esm/actions/test/setBlockGasLimit.js.map +0 -1
- package/_esm/actions/test/setBlockTimestampInterval.js +0 -32
- package/_esm/actions/test/setBlockTimestampInterval.js.map +0 -1
- package/_esm/actions/test/setCode.js +0 -30
- package/_esm/actions/test/setCode.js.map +0 -1
- package/_esm/actions/test/setCoinbase.js +0 -29
- package/_esm/actions/test/setCoinbase.js.map +0 -1
- package/_esm/actions/test/setIntervalMining.js +0 -32
- package/_esm/actions/test/setIntervalMining.js.map +0 -1
- package/_esm/actions/test/setLoggingEnabled.js +0 -26
- package/_esm/actions/test/setLoggingEnabled.js.map +0 -1
- package/_esm/actions/test/setMinGasPrice.js +0 -32
- package/_esm/actions/test/setMinGasPrice.js.map +0 -1
- package/_esm/actions/test/setNextBlockBaseFeePerGas.js +0 -30
- package/_esm/actions/test/setNextBlockBaseFeePerGas.js.map +0 -1
- package/_esm/actions/test/setNextBlockTimestamp.js +0 -28
- package/_esm/actions/test/setNextBlockTimestamp.js.map +0 -1
- package/_esm/actions/test/setNonce.js +0 -31
- package/_esm/actions/test/setNonce.js.map +0 -1
- package/_esm/actions/test/setRpcUrl.js +0 -27
- package/_esm/actions/test/setRpcUrl.js.map +0 -1
- package/_esm/actions/test/setStorageAt.js +0 -36
- package/_esm/actions/test/setStorageAt.js.map +0 -1
- package/_esm/actions/test/snapshot.js +0 -25
- package/_esm/actions/test/snapshot.js.map +0 -1
- package/_esm/actions/test/stopImpersonatingAccount.js +0 -29
- package/_esm/actions/test/stopImpersonatingAccount.js.map +0 -1
- package/_esm/actions/wallet/addChain.js +0 -38
- package/_esm/actions/wallet/addChain.js.map +0 -1
- package/_esm/actions/wallet/deployContract.js +0 -38
- package/_esm/actions/wallet/deployContract.js.map +0 -1
- package/_esm/actions/wallet/getAddresses.js +0 -28
- package/_esm/actions/wallet/getAddresses.js.map +0 -1
- package/_esm/actions/wallet/getPermissions.js +0 -25
- package/_esm/actions/wallet/getPermissions.js.map +0 -1
- package/_esm/actions/wallet/prepareTransactionRequest.js +0 -114
- package/_esm/actions/wallet/prepareTransactionRequest.js.map +0 -1
- package/_esm/actions/wallet/requestAddresses.js +0 -30
- package/_esm/actions/wallet/requestAddresses.js.map +0 -1
- package/_esm/actions/wallet/requestPermissions.js +0 -30
- package/_esm/actions/wallet/requestPermissions.js.map +0 -1
- package/_esm/actions/wallet/sendRawTransaction.js +0 -31
- package/_esm/actions/wallet/sendRawTransaction.js.map +0 -1
- package/_esm/actions/wallet/sendTransaction.js +0 -130
- package/_esm/actions/wallet/sendTransaction.js.map +0 -1
- package/_esm/actions/wallet/signMessage.js +0 -70
- package/_esm/actions/wallet/signMessage.js.map +0 -1
- package/_esm/actions/wallet/signTransaction.js +0 -88
- package/_esm/actions/wallet/signTransaction.js.map +0 -1
- package/_esm/actions/wallet/signTypedData.js +0 -126
- package/_esm/actions/wallet/signTypedData.js.map +0 -1
- package/_esm/actions/wallet/switchChain.js +0 -32
- package/_esm/actions/wallet/switchChain.js.map +0 -1
- package/_esm/actions/wallet/watchAsset.js +0 -36
- package/_esm/actions/wallet/watchAsset.js.map +0 -1
- package/_esm/actions/wallet/writeContract.js +0 -67
- package/_esm/actions/wallet/writeContract.js.map +0 -1
- package/_esm/chains/celo/chainConfig.js +0 -7
- package/_esm/chains/celo/chainConfig.js.map +0 -1
- package/_esm/chains/celo/formatters.js +0 -80
- package/_esm/chains/celo/formatters.js.map +0 -1
- package/_esm/chains/celo/index.js +0 -4
- package/_esm/chains/celo/index.js.map +0 -1
- package/_esm/chains/celo/parsers.js +0 -127
- package/_esm/chains/celo/parsers.js.map +0 -1
- package/_esm/chains/celo/serializers.js +0 -127
- package/_esm/chains/celo/serializers.js.map +0 -1
- package/_esm/chains/celo/types.js +0 -2
- package/_esm/chains/celo/types.js.map +0 -1
- package/_esm/chains/celo/utils.js +0 -50
- package/_esm/chains/celo/utils.js.map +0 -1
- package/_esm/chains/definitions/arbitrum.js +0 -21
- package/_esm/chains/definitions/arbitrum.js.map +0 -1
- package/_esm/chains/definitions/arbitrumGoerli.js +0 -27
- package/_esm/chains/definitions/arbitrumGoerli.js.map +0 -1
- package/_esm/chains/definitions/arbitrumNova.js +0 -21
- package/_esm/chains/definitions/arbitrumNova.js.map +0 -1
- package/_esm/chains/definitions/arbitrumSepolia.js +0 -29
- package/_esm/chains/definitions/arbitrumSepolia.js.map +0 -1
- package/_esm/chains/definitions/astar.js +0 -26
- package/_esm/chains/definitions/astar.js.map +0 -1
- package/_esm/chains/definitions/astarZkatana.js +0 -39
- package/_esm/chains/definitions/astarZkatana.js.map +0 -1
- package/_esm/chains/definitions/aurora.js +0 -23
- package/_esm/chains/definitions/aurora.js.map +0 -1
- package/_esm/chains/definitions/auroraTestnet.js +0 -18
- package/_esm/chains/definitions/auroraTestnet.js.map +0 -1
- package/_esm/chains/definitions/avalanche.js +0 -23
- package/_esm/chains/definitions/avalanche.js.map +0 -1
- package/_esm/chains/definitions/avalancheFuji.js +0 -24
- package/_esm/chains/definitions/avalancheFuji.js.map +0 -1
- package/_esm/chains/definitions/base.js +0 -35
- package/_esm/chains/definitions/base.js.map +0 -1
- package/_esm/chains/definitions/baseGoerli.js +0 -33
- package/_esm/chains/definitions/baseGoerli.js.map +0 -1
- package/_esm/chains/definitions/baseSepolia.js +0 -40
- package/_esm/chains/definitions/baseSepolia.js.map +0 -1
- package/_esm/chains/definitions/bearNetworkChainMainnet.js +0 -17
- package/_esm/chains/definitions/bearNetworkChainMainnet.js.map +0 -1
- package/_esm/chains/definitions/bearNetworkChainTestnet.js +0 -21
- package/_esm/chains/definitions/bearNetworkChainTestnet.js.map +0 -1
- package/_esm/chains/definitions/boba.js +0 -23
- package/_esm/chains/definitions/boba.js.map +0 -1
- package/_esm/chains/definitions/bronos.js +0 -17
- package/_esm/chains/definitions/bronos.js.map +0 -1
- package/_esm/chains/definitions/bronosTestnet.js +0 -18
- package/_esm/chains/definitions/bronosTestnet.js.map +0 -1
- package/_esm/chains/definitions/bsc.js +0 -23
- package/_esm/chains/definitions/bsc.js.map +0 -1
- package/_esm/chains/definitions/bscTestnet.js +0 -25
- package/_esm/chains/definitions/bscTestnet.js.map +0 -1
- package/_esm/chains/definitions/bxn.js +0 -18
- package/_esm/chains/definitions/bxn.js.map +0 -1
- package/_esm/chains/definitions/bxnTestnet.js +0 -22
- package/_esm/chains/definitions/bxnTestnet.js.map +0 -1
- package/_esm/chains/definitions/canto.js +0 -26
- package/_esm/chains/definitions/canto.js.map +0 -1
- package/_esm/chains/definitions/celo.js +0 -29
- package/_esm/chains/definitions/celo.js.map +0 -1
- package/_esm/chains/definitions/celoAlfajores.js +0 -31
- package/_esm/chains/definitions/celoAlfajores.js.map +0 -1
- package/_esm/chains/definitions/celoCannoli.js +0 -31
- package/_esm/chains/definitions/celoCannoli.js.map +0 -1
- package/_esm/chains/definitions/chiliz.js +0 -23
- package/_esm/chains/definitions/chiliz.js.map +0 -1
- package/_esm/chains/definitions/classic.js +0 -20
- package/_esm/chains/definitions/classic.js.map +0 -1
- package/_esm/chains/definitions/confluxESpace.js +0 -25
- package/_esm/chains/definitions/confluxESpace.js.map +0 -1
- package/_esm/chains/definitions/confluxESpaceTestnet.js +0 -31
- package/_esm/chains/definitions/confluxESpaceTestnet.js.map +0 -1
- package/_esm/chains/definitions/coreDao.js +0 -24
- package/_esm/chains/definitions/coreDao.js.map +0 -1
- package/_esm/chains/definitions/cronos.js +0 -23
- package/_esm/chains/definitions/cronos.js.map +0 -1
- package/_esm/chains/definitions/cronosTestnet.js +0 -27
- package/_esm/chains/definitions/cronosTestnet.js.map +0 -1
- package/_esm/chains/definitions/crossbell.js +0 -25
- package/_esm/chains/definitions/crossbell.js.map +0 -1
- package/_esm/chains/definitions/dfk.js +0 -22
- package/_esm/chains/definitions/dfk.js.map +0 -1
- package/_esm/chains/definitions/dogechain.js +0 -20
- package/_esm/chains/definitions/dogechain.js.map +0 -1
- package/_esm/chains/definitions/edgeware.js +0 -23
- package/_esm/chains/definitions/edgeware.js.map +0 -1
- package/_esm/chains/definitions/edgewareTestnet.js +0 -20
- package/_esm/chains/definitions/edgewareTestnet.js.map +0 -1
- package/_esm/chains/definitions/ekta.js +0 -17
- package/_esm/chains/definitions/ekta.js.map +0 -1
- package/_esm/chains/definitions/ektaTestnet.js +0 -18
- package/_esm/chains/definitions/ektaTestnet.js.map +0 -1
- package/_esm/chains/definitions/eon.js +0 -21
- package/_esm/chains/definitions/eon.js.map +0 -1
- package/_esm/chains/definitions/eos.js +0 -26
- package/_esm/chains/definitions/eos.js.map +0 -1
- package/_esm/chains/definitions/eosTestnet.js +0 -27
- package/_esm/chains/definitions/eosTestnet.js.map +0 -1
- package/_esm/chains/definitions/evmos.js +0 -17
- package/_esm/chains/definitions/evmos.js.map +0 -1
- package/_esm/chains/definitions/evmosTestnet.js +0 -20
- package/_esm/chains/definitions/evmosTestnet.js.map +0 -1
- package/_esm/chains/definitions/fantom.js +0 -23
- package/_esm/chains/definitions/fantom.js.map +0 -1
- package/_esm/chains/definitions/fantomTestnet.js +0 -23
- package/_esm/chains/definitions/fantomTestnet.js.map +0 -1
- package/_esm/chains/definitions/fibo.js +0 -17
- package/_esm/chains/definitions/fibo.js.map +0 -1
- package/_esm/chains/definitions/filecoin.js +0 -23
- package/_esm/chains/definitions/filecoin.js.map +0 -1
- package/_esm/chains/definitions/filecoinCalibration.js +0 -17
- package/_esm/chains/definitions/filecoinCalibration.js.map +0 -1
- package/_esm/chains/definitions/filecoinHyperspace.js +0 -17
- package/_esm/chains/definitions/filecoinHyperspace.js.map +0 -1
- package/_esm/chains/definitions/flare.js +0 -20
- package/_esm/chains/definitions/flare.js.map +0 -1
- package/_esm/chains/definitions/flareTestnet.js +0 -21
- package/_esm/chains/definitions/flareTestnet.js.map +0 -1
- package/_esm/chains/definitions/foundry.js +0 -17
- package/_esm/chains/definitions/foundry.js.map +0 -1
- package/_esm/chains/definitions/fuse.js +0 -19
- package/_esm/chains/definitions/fuse.js.map +0 -1
- package/_esm/chains/definitions/fuseSparknet.js +0 -16
- package/_esm/chains/definitions/fuseSparknet.js.map +0 -1
- package/_esm/chains/definitions/gnosis.js +0 -29
- package/_esm/chains/definitions/gnosis.js.map +0 -1
- package/_esm/chains/definitions/gnosisChiado.js +0 -30
- package/_esm/chains/definitions/gnosisChiado.js.map +0 -1
- package/_esm/chains/definitions/gobi.js +0 -19
- package/_esm/chains/definitions/gobi.js.map +0 -1
- package/_esm/chains/definitions/goerli.js +0 -32
- package/_esm/chains/definitions/goerli.js.map +0 -1
- package/_esm/chains/definitions/haqqMainnet.js +0 -22
- package/_esm/chains/definitions/haqqMainnet.js.map +0 -1
- package/_esm/chains/definitions/haqqTestedge2.js +0 -22
- package/_esm/chains/definitions/haqqTestedge2.js.map +0 -1
- package/_esm/chains/definitions/hardhat.js +0 -14
- package/_esm/chains/definitions/hardhat.js.map +0 -1
- package/_esm/chains/definitions/harmonyOne.js +0 -23
- package/_esm/chains/definitions/harmonyOne.js.map +0 -1
- package/_esm/chains/definitions/holesky.js +0 -19
- package/_esm/chains/definitions/holesky.js.map +0 -1
- package/_esm/chains/definitions/iotex.js +0 -20
- package/_esm/chains/definitions/iotex.js.map +0 -1
- package/_esm/chains/definitions/iotexTestnet.js +0 -20
- package/_esm/chains/definitions/iotexTestnet.js.map +0 -1
- package/_esm/chains/definitions/kava.js +0 -26
- package/_esm/chains/definitions/kava.js.map +0 -1
- package/_esm/chains/definitions/kavaTestnet.js +0 -29
- package/_esm/chains/definitions/kavaTestnet.js.map +0 -1
- package/_esm/chains/definitions/klaytn.js +0 -23
- package/_esm/chains/definitions/klaytn.js.map +0 -1
- package/_esm/chains/definitions/klaytnBaobab.js +0 -27
- package/_esm/chains/definitions/klaytnBaobab.js.map +0 -1
- package/_esm/chains/definitions/kroma.js +0 -19
- package/_esm/chains/definitions/kroma.js.map +0 -1
- package/_esm/chains/definitions/kromaSepolia.js +0 -19
- package/_esm/chains/definitions/kromaSepolia.js.map +0 -1
- package/_esm/chains/definitions/linea.js +0 -26
- package/_esm/chains/definitions/linea.js.map +0 -1
- package/_esm/chains/definitions/lineaTestnet.js +0 -26
- package/_esm/chains/definitions/lineaTestnet.js.map +0 -1
- package/_esm/chains/definitions/localhost.js +0 -14
- package/_esm/chains/definitions/localhost.js.map +0 -1
- package/_esm/chains/definitions/lukso.js +0 -28
- package/_esm/chains/definitions/lukso.js.map +0 -1
- package/_esm/chains/definitions/mainnet.js +0 -31
- package/_esm/chains/definitions/mainnet.js.map +0 -1
- package/_esm/chains/definitions/manta.js +0 -32
- package/_esm/chains/definitions/manta.js.map +0 -1
- package/_esm/chains/definitions/mantaTestnet.js +0 -33
- package/_esm/chains/definitions/mantaTestnet.js.map +0 -1
- package/_esm/chains/definitions/mantle.js +0 -26
- package/_esm/chains/definitions/mantle.js.map +0 -1
- package/_esm/chains/definitions/mantleTestnet.js +0 -21
- package/_esm/chains/definitions/mantleTestnet.js.map +0 -1
- package/_esm/chains/definitions/meter.js +0 -17
- package/_esm/chains/definitions/meter.js.map +0 -1
- package/_esm/chains/definitions/meterTestnet.js +0 -20
- package/_esm/chains/definitions/meterTestnet.js.map +0 -1
- package/_esm/chains/definitions/metis.js +0 -26
- package/_esm/chains/definitions/metis.js.map +0 -1
- package/_esm/chains/definitions/metisGoerli.js +0 -26
- package/_esm/chains/definitions/metisGoerli.js.map +0 -1
- package/_esm/chains/definitions/mev.js +0 -28
- package/_esm/chains/definitions/mev.js.map +0 -1
- package/_esm/chains/definitions/mevTestnet.js +0 -29
- package/_esm/chains/definitions/mevTestnet.js.map +0 -1
- package/_esm/chains/definitions/modeTestnet.js +0 -25
- package/_esm/chains/definitions/modeTestnet.js.map +0 -1
- package/_esm/chains/definitions/moonbaseAlpha.js +0 -30
- package/_esm/chains/definitions/moonbaseAlpha.js.map +0 -1
- package/_esm/chains/definitions/moonbeam.js +0 -30
- package/_esm/chains/definitions/moonbeam.js.map +0 -1
- package/_esm/chains/definitions/moonbeamDev.js +0 -17
- package/_esm/chains/definitions/moonbeamDev.js.map +0 -1
- package/_esm/chains/definitions/moonriver.js +0 -30
- package/_esm/chains/definitions/moonriver.js.map +0 -1
- package/_esm/chains/definitions/neonDevnet.js +0 -25
- package/_esm/chains/definitions/neonDevnet.js.map +0 -1
- package/_esm/chains/definitions/neonMainnet.js +0 -24
- package/_esm/chains/definitions/neonMainnet.js.map +0 -1
- package/_esm/chains/definitions/nexi.js +0 -24
- package/_esm/chains/definitions/nexi.js.map +0 -1
- package/_esm/chains/definitions/nexilix.js +0 -23
- package/_esm/chains/definitions/nexilix.js.map +0 -1
- package/_esm/chains/definitions/oasys.js +0 -18
- package/_esm/chains/definitions/oasys.js.map +0 -1
- package/_esm/chains/definitions/okc.js +0 -23
- package/_esm/chains/definitions/okc.js.map +0 -1
- package/_esm/chains/definitions/opBNB.js +0 -23
- package/_esm/chains/definitions/opBNB.js.map +0 -1
- package/_esm/chains/definitions/opBNBTestnet.js +0 -24
- package/_esm/chains/definitions/opBNBTestnet.js.map +0 -1
- package/_esm/chains/definitions/optimism.js +0 -34
- package/_esm/chains/definitions/optimism.js.map +0 -1
- package/_esm/chains/definitions/optimismGoerli.js +0 -35
- package/_esm/chains/definitions/optimismGoerli.js.map +0 -1
- package/_esm/chains/definitions/optimismSepolia.js +0 -35
- package/_esm/chains/definitions/optimismSepolia.js.map +0 -1
- package/_esm/chains/definitions/pgn.js +0 -34
- package/_esm/chains/definitions/pgn.js.map +0 -1
- package/_esm/chains/definitions/pgnTestnet.js +0 -35
- package/_esm/chains/definitions/pgnTestnet.js.map +0 -1
- package/_esm/chains/definitions/plinga.js +0 -24
- package/_esm/chains/definitions/plinga.js.map +0 -1
- package/_esm/chains/definitions/polygon.js +0 -24
- package/_esm/chains/definitions/polygon.js.map +0 -1
- package/_esm/chains/definitions/polygonMumbai.js +0 -25
- package/_esm/chains/definitions/polygonMumbai.js.map +0 -1
- package/_esm/chains/definitions/polygonZkEvm.js +0 -24
- package/_esm/chains/definitions/polygonZkEvm.js.map +0 -1
- package/_esm/chains/definitions/polygonZkEvmTestnet.js +0 -25
- package/_esm/chains/definitions/polygonZkEvmTestnet.js.map +0 -1
- package/_esm/chains/definitions/pulsechain.js +0 -29
- package/_esm/chains/definitions/pulsechain.js.map +0 -1
- package/_esm/chains/definitions/pulsechainV4.js +0 -29
- package/_esm/chains/definitions/pulsechainV4.js.map +0 -1
- package/_esm/chains/definitions/qMainnet.js +0 -20
- package/_esm/chains/definitions/qMainnet.js.map +0 -1
- package/_esm/chains/definitions/qTestnet.js +0 -21
- package/_esm/chains/definitions/qTestnet.js.map +0 -1
- package/_esm/chains/definitions/rollux.js +0 -26
- package/_esm/chains/definitions/rollux.js.map +0 -1
- package/_esm/chains/definitions/rolluxTestnet.js +0 -29
- package/_esm/chains/definitions/rolluxTestnet.js.map +0 -1
- package/_esm/chains/definitions/ronin.js +0 -21
- package/_esm/chains/definitions/ronin.js.map +0 -1
- package/_esm/chains/definitions/rootstock.js +0 -26
- package/_esm/chains/definitions/rootstock.js.map +0 -1
- package/_esm/chains/definitions/saigon.js +0 -25
- package/_esm/chains/definitions/saigon.js.map +0 -1
- package/_esm/chains/definitions/sapphire.js +0 -30
- package/_esm/chains/definitions/sapphire.js.map +0 -1
- package/_esm/chains/definitions/sapphireTestnet.js +0 -25
- package/_esm/chains/definitions/sapphireTestnet.js.map +0 -1
- package/_esm/chains/definitions/scroll.js +0 -26
- package/_esm/chains/definitions/scroll.js.map +0 -1
- package/_esm/chains/definitions/scrollSepolia.js +0 -25
- package/_esm/chains/definitions/scrollSepolia.js.map +0 -1
- package/_esm/chains/definitions/scrollTestnet.js +0 -20
- package/_esm/chains/definitions/scrollTestnet.js.map +0 -1
- package/_esm/chains/definitions/sepolia.js +0 -30
- package/_esm/chains/definitions/sepolia.js.map +0 -1
- package/_esm/chains/definitions/shardeumSphinx.js +0 -19
- package/_esm/chains/definitions/shardeumSphinx.js.map +0 -1
- package/_esm/chains/definitions/shibarium.js +0 -32
- package/_esm/chains/definitions/shibarium.js.map +0 -1
- package/_esm/chains/definitions/shimmer.js +0 -26
- package/_esm/chains/definitions/shimmer.js.map +0 -1
- package/_esm/chains/definitions/shimmerTestnet.js +0 -27
- package/_esm/chains/definitions/shimmerTestnet.js.map +0 -1
- package/_esm/chains/definitions/skale/brawl.js +0 -20
- package/_esm/chains/definitions/skale/brawl.js.map +0 -1
- package/_esm/chains/definitions/skale/calypso.js +0 -27
- package/_esm/chains/definitions/skale/calypso.js.map +0 -1
- package/_esm/chains/definitions/skale/calypsoTestnet.js +0 -30
- package/_esm/chains/definitions/skale/calypsoTestnet.js.map +0 -1
- package/_esm/chains/definitions/skale/chaosTestnet.js +0 -30
- package/_esm/chains/definitions/skale/chaosTestnet.js.map +0 -1
- package/_esm/chains/definitions/skale/cryptoBlades.js +0 -22
- package/_esm/chains/definitions/skale/cryptoBlades.js.map +0 -1
- package/_esm/chains/definitions/skale/cryptoColosseum.js +0 -20
- package/_esm/chains/definitions/skale/cryptoColosseum.js.map +0 -1
- package/_esm/chains/definitions/skale/europa.js +0 -25
- package/_esm/chains/definitions/skale/europa.js.map +0 -1
- package/_esm/chains/definitions/skale/europaTestnet.js +0 -28
- package/_esm/chains/definitions/skale/europaTestnet.js.map +0 -1
- package/_esm/chains/definitions/skale/exorde.js +0 -20
- package/_esm/chains/definitions/skale/exorde.js.map +0 -1
- package/_esm/chains/definitions/skale/humanProtocol.js +0 -20
- package/_esm/chains/definitions/skale/humanProtocol.js.map +0 -1
- package/_esm/chains/definitions/skale/nebula.js +0 -25
- package/_esm/chains/definitions/skale/nebula.js.map +0 -1
- package/_esm/chains/definitions/skale/nebulaTestnet.js +0 -28
- package/_esm/chains/definitions/skale/nebulaTestnet.js.map +0 -1
- package/_esm/chains/definitions/skale/razor.js +0 -20
- package/_esm/chains/definitions/skale/razor.js.map +0 -1
- package/_esm/chains/definitions/skale/titan.js +0 -25
- package/_esm/chains/definitions/skale/titan.js.map +0 -1
- package/_esm/chains/definitions/skale/titanTestnet.js +0 -30
- package/_esm/chains/definitions/skale/titanTestnet.js.map +0 -1
- package/_esm/chains/definitions/songbird.js +0 -20
- package/_esm/chains/definitions/songbird.js.map +0 -1
- package/_esm/chains/definitions/songbirdTestnet.js +0 -21
- package/_esm/chains/definitions/songbirdTestnet.js.map +0 -1
- package/_esm/chains/definitions/spicy.js +0 -31
- package/_esm/chains/definitions/spicy.js.map +0 -1
- package/_esm/chains/definitions/syscoin.js +0 -26
- package/_esm/chains/definitions/syscoin.js.map +0 -1
- package/_esm/chains/definitions/syscoinTestnet.js +0 -26
- package/_esm/chains/definitions/syscoinTestnet.js.map +0 -1
- package/_esm/chains/definitions/taikoJolnir.js +0 -18
- package/_esm/chains/definitions/taikoJolnir.js.map +0 -1
- package/_esm/chains/definitions/taikoTestnetSepolia.js +0 -18
- package/_esm/chains/definitions/taikoTestnetSepolia.js.map +0 -1
- package/_esm/chains/definitions/taraxa.js +0 -18
- package/_esm/chains/definitions/taraxa.js.map +0 -1
- package/_esm/chains/definitions/taraxaTestnet.js +0 -19
- package/_esm/chains/definitions/taraxaTestnet.js.map +0 -1
- package/_esm/chains/definitions/telos.js +0 -26
- package/_esm/chains/definitions/telos.js.map +0 -1
- package/_esm/chains/definitions/telosTestnet.js +0 -21
- package/_esm/chains/definitions/telosTestnet.js.map +0 -1
- package/_esm/chains/definitions/tenet.js +0 -20
- package/_esm/chains/definitions/tenet.js.map +0 -1
- package/_esm/chains/definitions/thunderTestnet.js +0 -19
- package/_esm/chains/definitions/thunderTestnet.js.map +0 -1
- package/_esm/chains/definitions/vechain.js +0 -22
- package/_esm/chains/definitions/vechain.js.map +0 -1
- package/_esm/chains/definitions/wanchain.js +0 -27
- package/_esm/chains/definitions/wanchain.js.map +0 -1
- package/_esm/chains/definitions/wanchainTestnet.js +0 -25
- package/_esm/chains/definitions/wanchainTestnet.js.map +0 -1
- package/_esm/chains/definitions/xdc.js +0 -18
- package/_esm/chains/definitions/xdc.js.map +0 -1
- package/_esm/chains/definitions/xdcTestnet.js +0 -18
- package/_esm/chains/definitions/xdcTestnet.js.map +0 -1
- package/_esm/chains/definitions/zetachainAthensTestnet.js +0 -23
- package/_esm/chains/definitions/zetachainAthensTestnet.js.map +0 -1
- package/_esm/chains/definitions/zhejiang.js +0 -19
- package/_esm/chains/definitions/zhejiang.js.map +0 -1
- package/_esm/chains/definitions/zkSync.js +0 -31
- package/_esm/chains/definitions/zkSync.js.map +0 -1
- package/_esm/chains/definitions/zkSyncTestnet.js +0 -28
- package/_esm/chains/definitions/zkSyncTestnet.js.map +0 -1
- package/_esm/chains/definitions/zora.js +0 -36
- package/_esm/chains/definitions/zora.js.map +0 -1
- package/_esm/chains/definitions/zoraSepolia.js +0 -45
- package/_esm/chains/definitions/zoraSepolia.js.map +0 -1
- package/_esm/chains/definitions/zoraTestnet.js +0 -40
- package/_esm/chains/definitions/zoraTestnet.js.map +0 -1
- package/_esm/chains/index.js +0 -170
- package/_esm/chains/index.js.map +0 -1
- package/_esm/chains/opStack/abis.js +0 -391
- package/_esm/chains/opStack/abis.js.map +0 -1
- package/_esm/chains/opStack/actions/buildDepositTransaction.js +0 -54
- package/_esm/chains/opStack/actions/buildDepositTransaction.js.map +0 -1
- package/_esm/chains/opStack/actions/depositTransaction.js +0 -88
- package/_esm/chains/opStack/actions/depositTransaction.js.map +0 -1
- package/_esm/chains/opStack/actions/estimateContractL1Fee.js +0 -55
- package/_esm/chains/opStack/actions/estimateContractL1Fee.js.map +0 -1
- package/_esm/chains/opStack/actions/estimateContractL1Gas.js +0 -55
- package/_esm/chains/opStack/actions/estimateContractL1Gas.js.map +0 -1
- package/_esm/chains/opStack/actions/estimateContractTotalFee.js +0 -55
- package/_esm/chains/opStack/actions/estimateContractTotalFee.js.map +0 -1
- package/_esm/chains/opStack/actions/estimateContractTotalGas.js +0 -55
- package/_esm/chains/opStack/actions/estimateContractTotalGas.js.map +0 -1
- package/_esm/chains/opStack/actions/estimateL1Fee.js +0 -74
- package/_esm/chains/opStack/actions/estimateL1Fee.js.map +0 -1
- package/_esm/chains/opStack/actions/estimateL1Gas.js +0 -74
- package/_esm/chains/opStack/actions/estimateL1Gas.js.map +0 -1
- package/_esm/chains/opStack/actions/estimateTotalFee.js +0 -38
- package/_esm/chains/opStack/actions/estimateTotalFee.js.map +0 -1
- package/_esm/chains/opStack/actions/estimateTotalGas.js +0 -36
- package/_esm/chains/opStack/actions/estimateTotalGas.js.map +0 -1
- package/_esm/chains/opStack/chainConfig.js +0 -9
- package/_esm/chains/opStack/chainConfig.js.map +0 -1
- package/_esm/chains/opStack/chains.js +0 -10
- package/_esm/chains/opStack/chains.js.map +0 -1
- package/_esm/chains/opStack/contracts.js +0 -13
- package/_esm/chains/opStack/contracts.js.map +0 -1
- package/_esm/chains/opStack/decorators/publicL2.js +0 -25
- package/_esm/chains/opStack/decorators/publicL2.js.map +0 -1
- package/_esm/chains/opStack/decorators/walletL1.js +0 -9
- package/_esm/chains/opStack/decorators/walletL1.js.map +0 -1
- package/_esm/chains/opStack/formatters.js +0 -53
- package/_esm/chains/opStack/formatters.js.map +0 -1
- package/_esm/chains/opStack/index.js +0 -22
- package/_esm/chains/opStack/index.js.map +0 -1
- package/_esm/chains/opStack/parsers.js +0 -51
- package/_esm/chains/opStack/parsers.js.map +0 -1
- package/_esm/chains/opStack/serializers.js +0 -47
- package/_esm/chains/opStack/serializers.js.map +0 -1
- package/_esm/chains/opStack/types/block.js +0 -2
- package/_esm/chains/opStack/types/block.js.map +0 -1
- package/_esm/chains/opStack/types/chain.js +0 -2
- package/_esm/chains/opStack/types/chain.js.map +0 -1
- package/_esm/chains/opStack/types/contract.js +0 -2
- package/_esm/chains/opStack/types/contract.js.map +0 -1
- package/_esm/chains/opStack/types/transaction.js +0 -2
- package/_esm/chains/opStack/types/transaction.js.map +0 -1
- package/_esm/chains/opStack/utils/extractTransactionDepositedLogs.js +0 -10
- package/_esm/chains/opStack/utils/extractTransactionDepositedLogs.js.map +0 -1
- package/_esm/chains/opStack/utils/fromOpaqueData.js +0 -25
- package/_esm/chains/opStack/utils/fromOpaqueData.js.map +0 -1
- package/_esm/chains/opStack/utils/getL2TransactionHash.js +0 -25
- package/_esm/chains/opStack/utils/getL2TransactionHash.js.map +0 -1
- package/_esm/chains/opStack/utils/getL2TransactionHashes.js +0 -7
- package/_esm/chains/opStack/utils/getL2TransactionHashes.js.map +0 -1
- package/_esm/chains/opStack/utils/getSourceHash.js +0 -18
- package/_esm/chains/opStack/utils/getSourceHash.js.map +0 -1
- package/_esm/chains/utils.js +0 -5
- package/_esm/chains/utils.js.map +0 -1
- package/_esm/chains/zksync/chainConfig.js +0 -7
- package/_esm/chains/zksync/chainConfig.js.map +0 -1
- package/_esm/chains/zksync/formatters.js +0 -126
- package/_esm/chains/zksync/formatters.js.map +0 -1
- package/_esm/chains/zksync/index.js +0 -3
- package/_esm/chains/zksync/index.js.map +0 -1
- package/_esm/chains/zksync/serializers.js +0 -71
- package/_esm/chains/zksync/serializers.js.map +0 -1
- package/_esm/chains/zksync/types.js +0 -2
- package/_esm/chains/zksync/types.js.map +0 -1
- package/_esm/clients/createClient.js +0 -38
- package/_esm/clients/createClient.js.map +0 -1
- package/_esm/clients/createPublicClient.js +0 -13
- package/_esm/clients/createPublicClient.js.map +0 -1
- package/_esm/clients/createTestClient.js +0 -16
- package/_esm/clients/createTestClient.js.map +0 -1
- package/_esm/clients/createWalletClient.js +0 -14
- package/_esm/clients/createWalletClient.js.map +0 -1
- package/_esm/clients/decorators/public.js +0 -97
- package/_esm/clients/decorators/public.js.map +0 -1
- package/_esm/clients/decorators/test.js +0 -70
- package/_esm/clients/decorators/test.js.map +0 -1
- package/_esm/clients/decorators/wallet.js +0 -38
- package/_esm/clients/decorators/wallet.js.map +0 -1
- package/_esm/clients/transports/createTransport.js +0 -12
- package/_esm/clients/transports/createTransport.js.map +0 -1
- package/_esm/clients/transports/custom.js +0 -16
- package/_esm/clients/transports/custom.js.map +0 -1
- package/_esm/clients/transports/fallback.js +0 -141
- package/_esm/clients/transports/fallback.js.map +0 -1
- package/_esm/clients/transports/http.js +0 -60
- package/_esm/clients/transports/http.js.map +0 -1
- package/_esm/clients/transports/webSocket.js +0 -82
- package/_esm/clients/transports/webSocket.js.map +0 -1
- package/_esm/constants/abis.js +0 -1360
- package/_esm/constants/abis.js.map +0 -1
- package/_esm/constants/address.js +0 -2
- package/_esm/constants/address.js.map +0 -1
- package/_esm/constants/bytes.js +0 -2
- package/_esm/constants/bytes.js.map +0 -1
- package/_esm/constants/contract.js +0 -2
- package/_esm/constants/contract.js.map +0 -1
- package/_esm/constants/contracts.js +0 -2
- package/_esm/constants/contracts.js.map +0 -1
- package/_esm/constants/number.js +0 -97
- package/_esm/constants/number.js.map +0 -1
- package/_esm/constants/solidity.js +0 -33
- package/_esm/constants/solidity.js.map +0 -1
- package/_esm/constants/strings.js +0 -2
- package/_esm/constants/strings.js.map +0 -1
- package/_esm/constants/unit.js +0 -13
- package/_esm/constants/unit.js.map +0 -1
- package/_esm/ens/index.js +0 -9
- package/_esm/ens/index.js.map +0 -1
- package/_esm/errors/abi.js +0 -433
- package/_esm/errors/abi.js.map +0 -1
- package/_esm/errors/account.js +0 -19
- package/_esm/errors/account.js.map +0 -1
- package/_esm/errors/address.js +0 -13
- package/_esm/errors/address.js.map +0 -1
- package/_esm/errors/base.js +0 -79
- package/_esm/errors/base.js.map +0 -1
- package/_esm/errors/block.js +0 -18
- package/_esm/errors/block.js.map +0 -1
- package/_esm/errors/ccip.js +0 -63
- package/_esm/errors/ccip.js.map +0 -1
- package/_esm/errors/chain.js +0 -78
- package/_esm/errors/chain.js.map +0 -1
- package/_esm/errors/contract.js +0 -278
- package/_esm/errors/contract.js.map +0 -1
- package/_esm/errors/cursor.js +0 -24
- package/_esm/errors/cursor.js.map +0 -1
- package/_esm/errors/data.js +0 -26
- package/_esm/errors/data.js.map +0 -1
- package/_esm/errors/encoding.js +0 -57
- package/_esm/errors/encoding.js.map +0 -1
- package/_esm/errors/ens.js +0 -52
- package/_esm/errors/ens.js.map +0 -1
- package/_esm/errors/estimateGas.js +0 -45
- package/_esm/errors/estimateGas.js.map +0 -1
- package/_esm/errors/fee.js +0 -36
- package/_esm/errors/fee.js.map +0 -1
- package/_esm/errors/log.js +0 -13
- package/_esm/errors/log.js.map +0 -1
- package/_esm/errors/node.js +0 -247
- package/_esm/errors/node.js.map +0 -1
- package/_esm/errors/request.js +0 -100
- package/_esm/errors/request.js.map +0 -1
- package/_esm/errors/rpc.js +0 -424
- package/_esm/errors/rpc.js.map +0 -1
- package/_esm/errors/transaction.js +0 -211
- package/_esm/errors/transaction.js.map +0 -1
- package/_esm/errors/transport.js +0 -9
- package/_esm/errors/transport.js.map +0 -1
- package/_esm/errors/utils.js +0 -5
- package/_esm/errors/utils.js.map +0 -1
- package/_esm/errors/version.js +0 -2
- package/_esm/errors/version.js.map +0 -1
- package/_esm/index.js +0 -119
- package/_esm/index.js.map +0 -1
- package/_esm/package.json +0 -1
- package/_esm/types/account.js +0 -2
- package/_esm/types/account.js.map +0 -1
- package/_esm/types/block.js +0 -2
- package/_esm/types/block.js.map +0 -1
- package/_esm/types/chain.js +0 -2
- package/_esm/types/chain.js.map +0 -1
- package/_esm/types/contract.js +0 -2
- package/_esm/types/contract.js.map +0 -1
- package/_esm/types/eip1193.js +0 -20
- package/_esm/types/eip1193.js.map +0 -1
- package/_esm/types/ens.js +0 -2
- package/_esm/types/ens.js.map +0 -1
- package/_esm/types/fee.js +0 -2
- package/_esm/types/fee.js.map +0 -1
- package/_esm/types/filter.js +0 -2
- package/_esm/types/filter.js.map +0 -1
- package/_esm/types/log.js +0 -2
- package/_esm/types/log.js.map +0 -1
- package/_esm/types/misc.js +0 -2
- package/_esm/types/misc.js.map +0 -1
- package/_esm/types/multicall.js +0 -2
- package/_esm/types/multicall.js.map +0 -1
- package/_esm/types/proof.js +0 -2
- package/_esm/types/proof.js.map +0 -1
- package/_esm/types/rpc.js +0 -2
- package/_esm/types/rpc.js.map +0 -1
- package/_esm/types/transaction.js +0 -2
- package/_esm/types/transaction.js.map +0 -1
- package/_esm/types/transport.js +0 -2
- package/_esm/types/transport.js.map +0 -1
- package/_esm/types/typedData.js +0 -2
- package/_esm/types/typedData.js.map +0 -1
- package/_esm/types/utils.js +0 -2
- package/_esm/types/utils.js.map +0 -1
- package/_esm/types/window.js +0 -2
- package/_esm/types/window.js.map +0 -1
- package/_esm/types/withdrawal.js +0 -2
- package/_esm/types/withdrawal.js.map +0 -1
- package/_esm/utils/abi/decodeAbiParameters.js +0 -234
- package/_esm/utils/abi/decodeAbiParameters.js.map +0 -1
- package/_esm/utils/abi/decodeDeployData.js +0 -18
- package/_esm/utils/abi/decodeDeployData.js.map +0 -1
- package/_esm/utils/abi/decodeErrorResult.js +0 -26
- package/_esm/utils/abi/decodeErrorResult.js.map +0 -1
- package/_esm/utils/abi/decodeEventLog.js +0 -83
- package/_esm/utils/abi/decodeEventLog.js.map +0 -1
- package/_esm/utils/abi/decodeFunctionData.js +0 -24
- package/_esm/utils/abi/decodeFunctionData.js.map +0 -1
- package/_esm/utils/abi/decodeFunctionResult.js +0 -25
- package/_esm/utils/abi/decodeFunctionResult.js.map +0 -1
- package/_esm/utils/abi/encodeAbiParameters.js +0 -215
- package/_esm/utils/abi/encodeAbiParameters.js.map +0 -1
- package/_esm/utils/abi/encodeDeployData.js +0 -19
- package/_esm/utils/abi/encodeDeployData.js.map +0 -1
- package/_esm/utils/abi/encodeErrorResult.js +0 -29
- package/_esm/utils/abi/encodeErrorResult.js.map +0 -1
- package/_esm/utils/abi/encodeEventTopics.js +0 -49
- package/_esm/utils/abi/encodeEventTopics.js.map +0 -1
- package/_esm/utils/abi/encodeFunctionData.js +0 -30
- package/_esm/utils/abi/encodeFunctionData.js.map +0 -1
- package/_esm/utils/abi/encodeFunctionResult.js +0 -23
- package/_esm/utils/abi/encodeFunctionResult.js.map +0 -1
- package/_esm/utils/abi/encodePacked.js +0 -69
- package/_esm/utils/abi/encodePacked.js.map +0 -1
- package/_esm/utils/abi/formatAbiItem.js +0 -22
- package/_esm/utils/abi/formatAbiItem.js.map +0 -1
- package/_esm/utils/abi/formatAbiItemWithArgs.js +0 -13
- package/_esm/utils/abi/formatAbiItemWithArgs.js.map +0 -1
- package/_esm/utils/abi/getAbiItem.js +0 -86
- package/_esm/utils/abi/getAbiItem.js.map +0 -1
- package/_esm/utils/abi/parseEventLogs.js +0 -59
- package/_esm/utils/abi/parseEventLogs.js.map +0 -1
- package/_esm/utils/accounts.js +0 -6
- package/_esm/utils/accounts.js.map +0 -1
- package/_esm/utils/address/getAddress.js +0 -26
- package/_esm/utils/address/getAddress.js.map +0 -1
- package/_esm/utils/address/getContractAddress.js +0 -36
- package/_esm/utils/address/getContractAddress.js.map +0 -1
- package/_esm/utils/address/isAddress.js +0 -5
- package/_esm/utils/address/isAddress.js.map +0 -1
- package/_esm/utils/address/isAddressEqual.js +0 -10
- package/_esm/utils/address/isAddressEqual.js.map +0 -1
- package/_esm/utils/buildRequest.js +0 -137
- package/_esm/utils/buildRequest.js.map +0 -1
- package/_esm/utils/ccip.js +0 -119
- package/_esm/utils/ccip.js.map +0 -1
- package/_esm/utils/chain/assertCurrentChain.js +0 -8
- package/_esm/utils/chain/assertCurrentChain.js.map +0 -1
- package/_esm/utils/chain/defineChain.js +0 -9
- package/_esm/utils/chain/defineChain.js.map +0 -1
- package/_esm/utils/chain/extractChain.js +0 -4
- package/_esm/utils/chain/extractChain.js.map +0 -1
- package/_esm/utils/chain/getChainContractAddress.js +0 -22
- package/_esm/utils/chain/getChainContractAddress.js.map +0 -1
- package/_esm/utils/cursor.js +0 -130
- package/_esm/utils/cursor.js.map +0 -1
- package/_esm/utils/data/concat.js +0 -22
- package/_esm/utils/data/concat.js.map +0 -1
- package/_esm/utils/data/isBytes.js +0 -10
- package/_esm/utils/data/isBytes.js.map +0 -1
- package/_esm/utils/data/isBytesEqual.js +0 -9
- package/_esm/utils/data/isBytesEqual.js.map +0 -1
- package/_esm/utils/data/isHex.js +0 -8
- package/_esm/utils/data/isHex.js.map +0 -1
- package/_esm/utils/data/pad.js +0 -36
- package/_esm/utils/data/pad.js.map +0 -1
- package/_esm/utils/data/size.js +0 -13
- package/_esm/utils/data/size.js.map +0 -1
- package/_esm/utils/data/slice.js +0 -69
- package/_esm/utils/data/slice.js.map +0 -1
- package/_esm/utils/data/trim.js +0 -21
- package/_esm/utils/data/trim.js.map +0 -1
- package/_esm/utils/encoding/fromBytes.js +0 -127
- package/_esm/utils/encoding/fromBytes.js.map +0 -1
- package/_esm/utils/encoding/fromHex.js +0 -167
- package/_esm/utils/encoding/fromHex.js.map +0 -1
- package/_esm/utils/encoding/fromRlp.js +0 -63
- package/_esm/utils/encoding/fromRlp.js.map +0 -1
- package/_esm/utils/encoding/toBytes.js +0 -177
- package/_esm/utils/encoding/toBytes.js.map +0 -1
- package/_esm/utils/encoding/toHex.js +0 -177
- package/_esm/utils/encoding/toHex.js.map +0 -1
- package/_esm/utils/encoding/toRlp.js +0 -101
- package/_esm/utils/encoding/toRlp.js.map +0 -1
- package/_esm/utils/ens/avatar/parseAvatarRecord.js +0 -34
- package/_esm/utils/ens/avatar/parseAvatarRecord.js.map +0 -1
- package/_esm/utils/ens/avatar/utils.js +0 -186
- package/_esm/utils/ens/avatar/utils.js.map +0 -1
- package/_esm/utils/ens/encodeLabelhash.js +0 -4
- package/_esm/utils/ens/encodeLabelhash.js.map +0 -1
- package/_esm/utils/ens/encodedLabelToLabelhash.js +0 -14
- package/_esm/utils/ens/encodedLabelToLabelhash.js.map +0 -1
- package/_esm/utils/ens/errors.js +0 -25
- package/_esm/utils/ens/errors.js.map +0 -1
- package/_esm/utils/ens/labelhash.js +0 -20
- package/_esm/utils/ens/labelhash.js.map +0 -1
- package/_esm/utils/ens/namehash.js +0 -32
- package/_esm/utils/ens/namehash.js.map +0 -1
- package/_esm/utils/ens/normalize.js +0 -15
- package/_esm/utils/ens/normalize.js.map +0 -1
- package/_esm/utils/ens/packetToBytes.js +0 -29
- package/_esm/utils/ens/packetToBytes.js.map +0 -1
- package/_esm/utils/errors/getCallError.js +0 -16
- package/_esm/utils/errors/getCallError.js.map +0 -1
- package/_esm/utils/errors/getContractError.js +0 -35
- package/_esm/utils/errors/getContractError.js.map +0 -1
- package/_esm/utils/errors/getEstimateGasError.js +0 -16
- package/_esm/utils/errors/getEstimateGasError.js.map +0 -1
- package/_esm/utils/errors/getNodeError.js +0 -60
- package/_esm/utils/errors/getNodeError.js.map +0 -1
- package/_esm/utils/errors/getTransactionError.js +0 -16
- package/_esm/utils/errors/getTransactionError.js.map +0 -1
- package/_esm/utils/filters/createFilterRequestScope.js +0 -15
- package/_esm/utils/filters/createFilterRequestScope.js.map +0 -1
- package/_esm/utils/formatters/block.js +0 -28
- package/_esm/utils/formatters/block.js.map +0 -1
- package/_esm/utils/formatters/extract.js +0 -23
- package/_esm/utils/formatters/extract.js.map +0 -1
- package/_esm/utils/formatters/feeHistory.js +0 -9
- package/_esm/utils/formatters/feeHistory.js.map +0 -1
- package/_esm/utils/formatters/formatter.js +0 -21
- package/_esm/utils/formatters/formatter.js.map +0 -1
- package/_esm/utils/formatters/log.js +0 -14
- package/_esm/utils/formatters/log.js.map +0 -1
- package/_esm/utils/formatters/proof.js +0 -18
- package/_esm/utils/formatters/proof.js.map +0 -1
- package/_esm/utils/formatters/transaction.js +0 -64
- package/_esm/utils/formatters/transaction.js.map +0 -1
- package/_esm/utils/formatters/transactionReceipt.js +0 -43
- package/_esm/utils/formatters/transactionReceipt.js.map +0 -1
- package/_esm/utils/formatters/transactionRequest.js +0 -35
- package/_esm/utils/formatters/transactionRequest.js.map +0 -1
- package/_esm/utils/getAction.js +0 -14
- package/_esm/utils/getAction.js.map +0 -1
- package/_esm/utils/hash/getEventSelector.js +0 -6
- package/_esm/utils/hash/getEventSelector.js.map +0 -1
- package/_esm/utils/hash/getEventSignature.js +0 -5
- package/_esm/utils/hash/getEventSignature.js.map +0 -1
- package/_esm/utils/hash/getFunctionSelector.js +0 -7
- package/_esm/utils/hash/getFunctionSelector.js.map +0 -1
- package/_esm/utils/hash/getFunctionSignature.js +0 -11
- package/_esm/utils/hash/getFunctionSignature.js.map +0 -1
- package/_esm/utils/hash/hashFunction.js +0 -12
- package/_esm/utils/hash/hashFunction.js.map +0 -1
- package/_esm/utils/hash/isHash.js +0 -6
- package/_esm/utils/hash/isHash.js.map +0 -1
- package/_esm/utils/hash/keccak256.js +0 -12
- package/_esm/utils/hash/keccak256.js.map +0 -1
- package/_esm/utils/hash/normalizeSignature.js +0 -51
- package/_esm/utils/hash/normalizeSignature.js.map +0 -1
- package/_esm/utils/index.js +0 -84
- package/_esm/utils/index.js.map +0 -1
- package/_esm/utils/observe.js +0 -44
- package/_esm/utils/observe.js.map +0 -1
- package/_esm/utils/poll.js +0 -26
- package/_esm/utils/poll.js.map +0 -1
- package/_esm/utils/promise/createBatchScheduler.js +0 -51
- package/_esm/utils/promise/createBatchScheduler.js.map +0 -1
- package/_esm/utils/promise/withCache.js +0 -55
- package/_esm/utils/promise/withCache.js.map +0 -1
- package/_esm/utils/promise/withRetry.js +0 -25
- package/_esm/utils/promise/withRetry.js.map +0 -1
- package/_esm/utils/promise/withTimeout.js +0 -31
- package/_esm/utils/promise/withTimeout.js.map +0 -1
- package/_esm/utils/regex.js +0 -8
- package/_esm/utils/regex.js.map +0 -1
- package/_esm/utils/rpc.js +0 -160
- package/_esm/utils/rpc.js.map +0 -1
- package/_esm/utils/signature/compactSignatureToHex.js +0 -19
- package/_esm/utils/signature/compactSignatureToHex.js.map +0 -1
- package/_esm/utils/signature/compactSignatureToSignature.js +0 -28
- package/_esm/utils/signature/compactSignatureToSignature.js.map +0 -1
- package/_esm/utils/signature/hashMessage.js +0 -16
- package/_esm/utils/signature/hashMessage.js.map +0 -1
- package/_esm/utils/signature/hashTypedData.js +0 -122
- package/_esm/utils/signature/hashTypedData.js.map +0 -1
- package/_esm/utils/signature/hexToCompactSignature.js +0 -20
- package/_esm/utils/signature/hexToCompactSignature.js.map +0 -1
- package/_esm/utils/signature/hexToSignature.js +0 -18
- package/_esm/utils/signature/hexToSignature.js.map +0 -1
- package/_esm/utils/signature/recoverAddress.js +0 -6
- package/_esm/utils/signature/recoverAddress.js.map +0 -1
- package/_esm/utils/signature/recoverMessageAddress.js +0 -6
- package/_esm/utils/signature/recoverMessageAddress.js.map +0 -1
- package/_esm/utils/signature/recoverPublicKey.js +0 -19
- package/_esm/utils/signature/recoverPublicKey.js.map +0 -1
- package/_esm/utils/signature/recoverTypedDataAddress.js +0 -15
- package/_esm/utils/signature/recoverTypedDataAddress.js.map +0 -1
- package/_esm/utils/signature/signatureToCompactSignature.js +0 -30
- package/_esm/utils/signature/signatureToCompactSignature.js.map +0 -1
- package/_esm/utils/signature/signatureToHex.js +0 -21
- package/_esm/utils/signature/signatureToHex.js.map +0 -1
- package/_esm/utils/signature/verifyMessage.js +0 -19
- package/_esm/utils/signature/verifyMessage.js.map +0 -1
- package/_esm/utils/signature/verifyTypedData.js +0 -26
- package/_esm/utils/signature/verifyTypedData.js.map +0 -1
- package/_esm/utils/stringify.js +0 -5
- package/_esm/utils/stringify.js.map +0 -1
- package/_esm/utils/transaction/assertRequest.js +0 -24
- package/_esm/utils/transaction/assertRequest.js.map +0 -1
- package/_esm/utils/transaction/assertTransaction.js +0 -45
- package/_esm/utils/transaction/assertTransaction.js.map +0 -1
- package/_esm/utils/transaction/getSerializedTransactionType.js +0 -14
- package/_esm/utils/transaction/getSerializedTransactionType.js.map +0 -1
- package/_esm/utils/transaction/getTransactionType.js +0 -15
- package/_esm/utils/transaction/getTransactionType.js.map +0 -1
- package/_esm/utils/transaction/parseTransaction.js +0 -207
- package/_esm/utils/transaction/parseTransaction.js.map +0 -1
- package/_esm/utils/transaction/serializeAccessList.js +0 -32
- package/_esm/utils/transaction/serializeAccessList.js.map +0 -1
- package/_esm/utils/transaction/serializeTransaction.js +0 -122
- package/_esm/utils/transaction/serializeTransaction.js.map +0 -1
- package/_esm/utils/typedData.js +0 -73
- package/_esm/utils/typedData.js.map +0 -1
- package/_esm/utils/uid.js +0 -14
- package/_esm/utils/uid.js.map +0 -1
- package/_esm/utils/unit/formatEther.js +0 -17
- package/_esm/utils/unit/formatEther.js.map +0 -1
- package/_esm/utils/unit/formatGwei.js +0 -17
- package/_esm/utils/unit/formatGwei.js.map +0 -1
- package/_esm/utils/unit/formatUnits.js +0 -25
- package/_esm/utils/unit/formatUnits.js.map +0 -1
- package/_esm/utils/unit/parseEther.js +0 -17
- package/_esm/utils/unit/parseEther.js.map +0 -1
- package/_esm/utils/unit/parseGwei.js +0 -17
- package/_esm/utils/unit/parseGwei.js.map +0 -1
- package/_esm/utils/unit/parseUnits.js +0 -47
- package/_esm/utils/unit/parseUnits.js.map +0 -1
- package/_esm/utils/wait.js +0 -4
- package/_esm/utils/wait.js.map +0 -1
- package/_esm/window/index.js +0 -2
- package/_esm/window/index.js.map +0 -1
- package/_types/accounts/generateMnemonic.d.ts +0 -11
- package/_types/accounts/generateMnemonic.d.ts.map +0 -1
- package/_types/accounts/generatePrivateKey.d.ts +0 -11
- package/_types/accounts/generatePrivateKey.d.ts.map +0 -1
- package/_types/accounts/hdKeyToAccount.d.ts +0 -13
- package/_types/accounts/hdKeyToAccount.d.ts.map +0 -1
- package/_types/accounts/index.d.ts +0 -27
- package/_types/accounts/index.d.ts.map +0 -1
- package/_types/accounts/mnemonicToAccount.d.ts +0 -11
- package/_types/accounts/mnemonicToAccount.d.ts.map +0 -1
- package/_types/accounts/privateKeyToAccount.d.ts +0 -17
- package/_types/accounts/privateKeyToAccount.d.ts.map +0 -1
- package/_types/accounts/toAccount.d.ts +0 -15
- package/_types/accounts/toAccount.d.ts.map +0 -1
- package/_types/accounts/types.d.ts +0 -50
- package/_types/accounts/types.d.ts.map +0 -1
- package/_types/accounts/utils/parseAccount.d.ts +0 -6
- package/_types/accounts/utils/parseAccount.d.ts.map +0 -1
- package/_types/accounts/utils/privateKeyToAddress.d.ts +0 -15
- package/_types/accounts/utils/privateKeyToAddress.d.ts.map +0 -1
- package/_types/accounts/utils/publicKeyToAddress.d.ts +0 -15
- package/_types/accounts/utils/publicKeyToAddress.d.ts.map +0 -1
- package/_types/accounts/utils/sign.d.ts +0 -19
- package/_types/accounts/utils/sign.d.ts.map +0 -1
- package/_types/accounts/utils/signMessage.d.ts +0 -21
- package/_types/accounts/utils/signMessage.d.ts.map +0 -1
- package/_types/accounts/utils/signTransaction.d.ts +0 -16
- package/_types/accounts/utils/signTransaction.d.ts.map +0 -1
- package/_types/accounts/utils/signTypedData.d.ts +0 -21
- package/_types/accounts/utils/signTypedData.d.ts.map +0 -1
- package/_types/actions/ens/getEnsAddress.d.ts +0 -54
- package/_types/actions/ens/getEnsAddress.d.ts.map +0 -1
- package/_types/actions/ens/getEnsAvatar.d.ts +0 -44
- package/_types/actions/ens/getEnsAvatar.d.ts.map +0 -1
- package/_types/actions/ens/getEnsName.d.ts +0 -46
- package/_types/actions/ens/getEnsName.d.ts.map +0 -1
- package/_types/actions/ens/getEnsResolver.d.ts +0 -48
- package/_types/actions/ens/getEnsResolver.d.ts.map +0 -1
- package/_types/actions/ens/getEnsText.d.ts +0 -53
- package/_types/actions/ens/getEnsText.d.ts.map +0 -1
- package/_types/actions/getContract.d.ts +0 -357
- package/_types/actions/getContract.d.ts.map +0 -1
- package/_types/actions/index.d.ts +0 -82
- package/_types/actions/index.d.ts.map +0 -1
- package/_types/actions/public/call.d.ts +0 -70
- package/_types/actions/public/call.d.ts.map +0 -1
- package/_types/actions/public/createBlockFilter.d.ts +0 -31
- package/_types/actions/public/createBlockFilter.d.ts.map +0 -1
- package/_types/actions/public/createContractEventFilter.d.ts +0 -55
- package/_types/actions/public/createContractEventFilter.d.ts.map +0 -1
- package/_types/actions/public/createEventFilter.d.ts +0 -81
- package/_types/actions/public/createEventFilter.d.ts.map +0 -1
- package/_types/actions/public/createPendingTransactionFilter.d.ts +0 -31
- package/_types/actions/public/createPendingTransactionFilter.d.ts.map +0 -1
- package/_types/actions/public/estimateContractGas.d.ts +0 -43
- package/_types/actions/public/estimateContractGas.d.ts.map +0 -1
- package/_types/actions/public/estimateFeesPerGas.d.ts +0 -53
- package/_types/actions/public/estimateFeesPerGas.d.ts.map +0 -1
- package/_types/actions/public/estimateGas.d.ts +0 -57
- package/_types/actions/public/estimateGas.d.ts.map +0 -1
- package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts +0 -44
- package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts.map +0 -1
- package/_types/actions/public/getBalance.d.ts +0 -59
- package/_types/actions/public/getBalance.d.ts.map +0 -1
- package/_types/actions/public/getBlock.d.ts +0 -61
- package/_types/actions/public/getBlock.d.ts.map +0 -1
- package/_types/actions/public/getBlockNumber.d.ts +0 -58
- package/_types/actions/public/getBlockNumber.d.ts.map +0 -1
- package/_types/actions/public/getBlockTransactionCount.d.ts +0 -52
- package/_types/actions/public/getBlockTransactionCount.d.ts.map +0 -1
- package/_types/actions/public/getBytecode.d.ts +0 -45
- package/_types/actions/public/getBytecode.d.ts.map +0 -1
- package/_types/actions/public/getChainId.d.ts +0 -32
- package/_types/actions/public/getChainId.d.ts.map +0 -1
- package/_types/actions/public/getContractEvents.d.ts +0 -66
- package/_types/actions/public/getContractEvents.d.ts.map +0 -1
- package/_types/actions/public/getFeeHistory.d.ts +0 -57
- package/_types/actions/public/getFeeHistory.d.ts.map +0 -1
- package/_types/actions/public/getFilterChanges.d.ts +0 -101
- package/_types/actions/public/getFilterChanges.d.ts.map +0 -1
- package/_types/actions/public/getFilterLogs.d.ts +0 -45
- package/_types/actions/public/getFilterLogs.d.ts.map +0 -1
- package/_types/actions/public/getGasPrice.d.ts +0 -30
- package/_types/actions/public/getGasPrice.d.ts.map +0 -1
- package/_types/actions/public/getLogs.d.ts +0 -78
- package/_types/actions/public/getLogs.d.ts.map +0 -1
- package/_types/actions/public/getProof.d.ts +0 -57
- package/_types/actions/public/getProof.d.ts.map +0 -1
- package/_types/actions/public/getStorageAt.d.ts +0 -47
- package/_types/actions/public/getStorageAt.d.ts.map +0 -1
- package/_types/actions/public/getTransaction.d.ts +0 -69
- package/_types/actions/public/getTransaction.d.ts.map +0 -1
- package/_types/actions/public/getTransactionConfirmations.d.ts +0 -45
- package/_types/actions/public/getTransactionConfirmations.d.ts.map +0 -1
- package/_types/actions/public/getTransactionCount.d.ts +0 -49
- package/_types/actions/public/getTransactionCount.d.ts.map +0 -1
- package/_types/actions/public/getTransactionReceipt.d.ts +0 -40
- package/_types/actions/public/getTransactionReceipt.d.ts.map +0 -1
- package/_types/actions/public/multicall.d.ts +0 -73
- package/_types/actions/public/multicall.d.ts.map +0 -1
- package/_types/actions/public/readContract.d.ts +0 -46
- package/_types/actions/public/readContract.d.ts.map +0 -1
- package/_types/actions/public/simulateContract.d.ts +0 -67
- package/_types/actions/public/simulateContract.d.ts.map +0 -1
- package/_types/actions/public/uninstallFilter.d.ts +0 -37
- package/_types/actions/public/uninstallFilter.d.ts.map +0 -1
- package/_types/actions/public/verifyHash.d.ts +0 -30
- package/_types/actions/public/verifyHash.d.ts.map +0 -1
- package/_types/actions/public/verifyMessage.d.ts +0 -31
- package/_types/actions/public/verifyMessage.d.ts.map +0 -1
- package/_types/actions/public/verifyTypedData.d.ts +0 -30
- package/_types/actions/public/verifyTypedData.d.ts.map +0 -1
- package/_types/actions/public/waitForTransactionReceipt.d.ts +0 -78
- package/_types/actions/public/waitForTransactionReceipt.d.ts.map +0 -1
- package/_types/actions/public/watchBlockNumber.d.ts +0 -58
- package/_types/actions/public/watchBlockNumber.d.ts.map +0 -1
- package/_types/actions/public/watchBlocks.d.ts +0 -66
- package/_types/actions/public/watchBlocks.d.ts.map +0 -1
- package/_types/actions/public/watchContractEvent.d.ts +0 -64
- package/_types/actions/public/watchContractEvent.d.ts.map +0 -1
- package/_types/actions/public/watchEvent.d.ts +0 -79
- package/_types/actions/public/watchEvent.d.ts.map +0 -1
- package/_types/actions/public/watchPendingTransactions.d.ts +0 -49
- package/_types/actions/public/watchPendingTransactions.d.ts.map +0 -1
- package/_types/actions/test/dropTransaction.d.ts +0 -36
- package/_types/actions/test/dropTransaction.d.ts.map +0 -1
- package/_types/actions/test/dumpState.d.ts +0 -31
- package/_types/actions/test/dumpState.d.ts.map +0 -1
- package/_types/actions/test/getAutomine.d.ts +0 -30
- package/_types/actions/test/getAutomine.d.ts.map +0 -1
- package/_types/actions/test/getTxpoolContent.d.ts +0 -37
- package/_types/actions/test/getTxpoolContent.d.ts.map +0 -1
- package/_types/actions/test/getTxpoolStatus.d.ts +0 -33
- package/_types/actions/test/getTxpoolStatus.d.ts.map +0 -1
- package/_types/actions/test/impersonateAccount.d.ts +0 -36
- package/_types/actions/test/impersonateAccount.d.ts.map +0 -1
- package/_types/actions/test/increaseTime.d.ts +0 -35
- package/_types/actions/test/increaseTime.d.ts.map +0 -1
- package/_types/actions/test/inspectTxpool.d.ts +0 -34
- package/_types/actions/test/inspectTxpool.d.ts.map +0 -1
- package/_types/actions/test/loadState.d.ts +0 -34
- package/_types/actions/test/loadState.d.ts.map +0 -1
- package/_types/actions/test/mine.d.ts +0 -35
- package/_types/actions/test/mine.d.ts.map +0 -1
- package/_types/actions/test/removeBlockTimestampInterval.d.ts +0 -28
- package/_types/actions/test/removeBlockTimestampInterval.d.ts.map +0 -1
- package/_types/actions/test/reset.d.ts +0 -35
- package/_types/actions/test/reset.d.ts.map +0 -1
- package/_types/actions/test/revert.d.ts +0 -34
- package/_types/actions/test/revert.d.ts.map +0 -1
- package/_types/actions/test/sendUnsignedTransaction.d.ts +0 -38
- package/_types/actions/test/sendUnsignedTransaction.d.ts.map +0 -1
- package/_types/actions/test/setAutomine.d.ts +0 -28
- package/_types/actions/test/setAutomine.d.ts.map +0 -1
- package/_types/actions/test/setBalance.d.ts +0 -39
- package/_types/actions/test/setBalance.d.ts.map +0 -1
- package/_types/actions/test/setBlockGasLimit.d.ts +0 -33
- package/_types/actions/test/setBlockGasLimit.d.ts.map +0 -1
- package/_types/actions/test/setBlockTimestampInterval.d.ts +0 -33
- package/_types/actions/test/setBlockTimestampInterval.d.ts.map +0 -1
- package/_types/actions/test/setCode.d.ts +0 -40
- package/_types/actions/test/setCode.d.ts.map +0 -1
- package/_types/actions/test/setCoinbase.d.ts +0 -36
- package/_types/actions/test/setCoinbase.d.ts.map +0 -1
- package/_types/actions/test/setIntervalMining.d.ts +0 -33
- package/_types/actions/test/setIntervalMining.d.ts.map +0 -1
- package/_types/actions/test/setLoggingEnabled.d.ts +0 -28
- package/_types/actions/test/setLoggingEnabled.d.ts.map +0 -1
- package/_types/actions/test/setMinGasPrice.d.ts +0 -37
- package/_types/actions/test/setMinGasPrice.d.ts.map +0 -1
- package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts +0 -35
- package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts.map +0 -1
- package/_types/actions/test/setNextBlockTimestamp.d.ts +0 -33
- package/_types/actions/test/setNextBlockTimestamp.d.ts.map +0 -1
- package/_types/actions/test/setNonce.d.ts +0 -39
- package/_types/actions/test/setNonce.d.ts.map +0 -1
- package/_types/actions/test/setRpcUrl.d.ts +0 -29
- package/_types/actions/test/setRpcUrl.d.ts.map +0 -1
- package/_types/actions/test/setStorageAt.d.ts +0 -43
- package/_types/actions/test/setStorageAt.d.ts.map +0 -1
- package/_types/actions/test/snapshot.d.ts +0 -28
- package/_types/actions/test/snapshot.d.ts.map +0 -1
- package/_types/actions/test/stopImpersonatingAccount.d.ts +0 -36
- package/_types/actions/test/stopImpersonatingAccount.d.ts.map +0 -1
- package/_types/actions/wallet/addChain.d.ts +0 -33
- package/_types/actions/wallet/addChain.d.ts.map +0 -1
- package/_types/actions/wallet/deployContract.d.ts +0 -50
- package/_types/actions/wallet/deployContract.d.ts.map +0 -1
- package/_types/actions/wallet/getAddresses.d.ts +0 -32
- package/_types/actions/wallet/getAddresses.d.ts.map +0 -1
- package/_types/actions/wallet/getPermissions.d.ts +0 -31
- package/_types/actions/wallet/getPermissions.d.ts.map +0 -1
- package/_types/actions/wallet/prepareTransactionRequest.d.ts +0 -72
- package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +0 -1
- package/_types/actions/wallet/requestAddresses.d.ts +0 -35
- package/_types/actions/wallet/requestAddresses.d.ts.map +0 -1
- package/_types/actions/wallet/requestPermissions.d.ts +0 -40
- package/_types/actions/wallet/requestPermissions.d.ts.map +0 -1
- package/_types/actions/wallet/sendRawTransaction.d.ts +0 -41
- package/_types/actions/wallet/sendRawTransaction.d.ts.map +0 -1
- package/_types/actions/wallet/sendTransaction.d.ts +0 -69
- package/_types/actions/wallet/sendTransaction.d.ts.map +0 -1
- package/_types/actions/wallet/signMessage.d.ts +0 -64
- package/_types/actions/wallet/signMessage.d.ts.map +0 -1
- package/_types/actions/wallet/signTransaction.d.ts +0 -64
- package/_types/actions/wallet/signTransaction.d.ts.map +0 -1
- package/_types/actions/wallet/signTypedData.d.ts +0 -119
- package/_types/actions/wallet/signTypedData.d.ts.map +0 -1
- package/_types/actions/wallet/switchChain.d.ts +0 -34
- package/_types/actions/wallet/switchChain.d.ts.map +0 -1
- package/_types/actions/wallet/watchAsset.d.ts +0 -40
- package/_types/actions/wallet/watchAsset.d.ts.map +0 -1
- package/_types/actions/wallet/writeContract.d.ts +0 -71
- package/_types/actions/wallet/writeContract.d.ts.map +0 -1
- package/_types/chains/celo/chainConfig.d.ts +0 -914
- package/_types/chains/celo/chainConfig.d.ts.map +0 -1
- package/_types/chains/celo/formatters.d.ts +0 -911
- package/_types/chains/celo/formatters.d.ts.map +0 -1
- package/_types/chains/celo/index.d.ts +0 -5
- package/_types/chains/celo/index.d.ts.map +0 -1
- package/_types/chains/celo/parsers.d.ts +0 -6
- package/_types/chains/celo/parsers.d.ts.map +0 -1
- package/_types/chains/celo/serializers.d.ts +0 -12
- package/_types/chains/celo/serializers.d.ts.map +0 -1
- package/_types/chains/celo/types.d.ts +0 -138
- package/_types/chains/celo/types.d.ts.map +0 -1
- package/_types/chains/celo/utils.d.ts +0 -7
- package/_types/chains/celo/utils.d.ts.map +0 -1
- package/_types/chains/definitions/arbitrum.d.ts +0 -32
- package/_types/chains/definitions/arbitrum.d.ts.map +0 -1
- package/_types/chains/definitions/arbitrumGoerli.d.ts +0 -36
- package/_types/chains/definitions/arbitrumGoerli.d.ts.map +0 -1
- package/_types/chains/definitions/arbitrumNova.d.ts +0 -32
- package/_types/chains/definitions/arbitrumNova.d.ts.map +0 -1
- package/_types/chains/definitions/arbitrumSepolia.d.ts +0 -32
- package/_types/chains/definitions/arbitrumSepolia.d.ts.map +0 -1
- package/_types/chains/definitions/astar.d.ts +0 -36
- package/_types/chains/definitions/astar.d.ts.map +0 -1
- package/_types/chains/definitions/astarZkatana.d.ts +0 -40
- package/_types/chains/definitions/astarZkatana.d.ts.map +0 -1
- package/_types/chains/definitions/aurora.d.ts +0 -32
- package/_types/chains/definitions/aurora.d.ts.map +0 -1
- package/_types/chains/definitions/auroraTestnet.d.ts +0 -34
- package/_types/chains/definitions/auroraTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/avalanche.d.ts +0 -32
- package/_types/chains/definitions/avalanche.d.ts.map +0 -1
- package/_types/chains/definitions/avalancheFuji.d.ts +0 -32
- package/_types/chains/definitions/avalancheFuji.d.ts.map +0 -1
- package/_types/chains/definitions/base.d.ts +0 -573
- package/_types/chains/definitions/base.d.ts.map +0 -1
- package/_types/chains/definitions/baseGoerli.d.ts +0 -572
- package/_types/chains/definitions/baseGoerli.d.ts.map +0 -1
- package/_types/chains/definitions/baseSepolia.d.ts +0 -577
- package/_types/chains/definitions/baseSepolia.d.ts.map +0 -1
- package/_types/chains/definitions/bearNetworkChainMainnet.d.ts +0 -34
- package/_types/chains/definitions/bearNetworkChainMainnet.d.ts.map +0 -1
- package/_types/chains/definitions/bearNetworkChainTestnet.d.ts +0 -34
- package/_types/chains/definitions/bearNetworkChainTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/boba.d.ts +0 -32
- package/_types/chains/definitions/boba.d.ts.map +0 -1
- package/_types/chains/definitions/bronos.d.ts +0 -34
- package/_types/chains/definitions/bronos.d.ts.map +0 -1
- package/_types/chains/definitions/bronosTestnet.d.ts +0 -34
- package/_types/chains/definitions/bronosTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/bsc.d.ts +0 -32
- package/_types/chains/definitions/bsc.d.ts.map +0 -1
- package/_types/chains/definitions/bscTestnet.d.ts +0 -35
- package/_types/chains/definitions/bscTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/bxn.d.ts +0 -34
- package/_types/chains/definitions/bxn.d.ts.map +0 -1
- package/_types/chains/definitions/bxnTestnet.d.ts +0 -34
- package/_types/chains/definitions/bxnTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/canto.d.ts +0 -32
- package/_types/chains/definitions/canto.d.ts.map +0 -1
- package/_types/chains/definitions/celo.d.ts +0 -941
- package/_types/chains/definitions/celo.d.ts.map +0 -1
- package/_types/chains/definitions/celoAlfajores.d.ts +0 -941
- package/_types/chains/definitions/celoAlfajores.d.ts.map +0 -1
- package/_types/chains/definitions/celoCannoli.d.ts +0 -941
- package/_types/chains/definitions/celoCannoli.d.ts.map +0 -1
- package/_types/chains/definitions/chiliz.d.ts +0 -35
- package/_types/chains/definitions/chiliz.d.ts.map +0 -1
- package/_types/chains/definitions/classic.d.ts +0 -34
- package/_types/chains/definitions/classic.d.ts.map +0 -1
- package/_types/chains/definitions/confluxESpace.d.ts +0 -33
- package/_types/chains/definitions/confluxESpace.d.ts.map +0 -1
- package/_types/chains/definitions/confluxESpaceTestnet.d.ts +0 -38
- package/_types/chains/definitions/confluxESpaceTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/coreDao.d.ts +0 -32
- package/_types/chains/definitions/coreDao.d.ts.map +0 -1
- package/_types/chains/definitions/cronos.d.ts +0 -32
- package/_types/chains/definitions/cronos.d.ts.map +0 -1
- package/_types/chains/definitions/cronosTestnet.d.ts +0 -32
- package/_types/chains/definitions/cronosTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/crossbell.d.ts +0 -32
- package/_types/chains/definitions/crossbell.d.ts.map +0 -1
- package/_types/chains/definitions/dfk.d.ts +0 -34
- package/_types/chains/definitions/dfk.d.ts.map +0 -1
- package/_types/chains/definitions/dogechain.d.ts +0 -34
- package/_types/chains/definitions/dogechain.d.ts.map +0 -1
- package/_types/chains/definitions/edgeware.d.ts +0 -32
- package/_types/chains/definitions/edgeware.d.ts.map +0 -1
- package/_types/chains/definitions/edgewareTestnet.d.ts +0 -34
- package/_types/chains/definitions/edgewareTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/ekta.d.ts +0 -34
- package/_types/chains/definitions/ekta.d.ts.map +0 -1
- package/_types/chains/definitions/ektaTestnet.d.ts +0 -34
- package/_types/chains/definitions/ektaTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/eon.d.ts +0 -27
- package/_types/chains/definitions/eon.d.ts.map +0 -1
- package/_types/chains/definitions/eos.d.ts +0 -32
- package/_types/chains/definitions/eos.d.ts.map +0 -1
- package/_types/chains/definitions/eosTestnet.d.ts +0 -32
- package/_types/chains/definitions/eosTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/evmos.d.ts +0 -34
- package/_types/chains/definitions/evmos.d.ts.map +0 -1
- package/_types/chains/definitions/evmosTestnet.d.ts +0 -34
- package/_types/chains/definitions/evmosTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/fantom.d.ts +0 -32
- package/_types/chains/definitions/fantom.d.ts.map +0 -1
- package/_types/chains/definitions/fantomTestnet.d.ts +0 -32
- package/_types/chains/definitions/fantomTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/fibo.d.ts +0 -34
- package/_types/chains/definitions/fibo.d.ts.map +0 -1
- package/_types/chains/definitions/filecoin.d.ts +0 -32
- package/_types/chains/definitions/filecoin.d.ts.map +0 -1
- package/_types/chains/definitions/filecoinCalibration.d.ts +0 -34
- package/_types/chains/definitions/filecoinCalibration.d.ts.map +0 -1
- package/_types/chains/definitions/filecoinHyperspace.d.ts +0 -34
- package/_types/chains/definitions/filecoinHyperspace.d.ts.map +0 -1
- package/_types/chains/definitions/flare.d.ts +0 -34
- package/_types/chains/definitions/flare.d.ts.map +0 -1
- package/_types/chains/definitions/flareTestnet.d.ts +0 -34
- package/_types/chains/definitions/flareTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/foundry.d.ts +0 -39
- package/_types/chains/definitions/foundry.d.ts.map +0 -1
- package/_types/chains/definitions/fuse.d.ts +0 -32
- package/_types/chains/definitions/fuse.d.ts.map +0 -1
- package/_types/chains/definitions/fuseSparknet.d.ts +0 -34
- package/_types/chains/definitions/fuseSparknet.d.ts.map +0 -1
- package/_types/chains/definitions/gnosis.d.ts +0 -33
- package/_types/chains/definitions/gnosis.d.ts.map +0 -1
- package/_types/chains/definitions/gnosisChiado.d.ts +0 -33
- package/_types/chains/definitions/gnosisChiado.d.ts.map +0 -1
- package/_types/chains/definitions/gobi.d.ts +0 -27
- package/_types/chains/definitions/gobi.d.ts.map +0 -1
- package/_types/chains/definitions/goerli.d.ts +0 -39
- package/_types/chains/definitions/goerli.d.ts.map +0 -1
- package/_types/chains/definitions/haqqMainnet.d.ts +0 -34
- package/_types/chains/definitions/haqqMainnet.d.ts.map +0 -1
- package/_types/chains/definitions/haqqTestedge2.d.ts +0 -34
- package/_types/chains/definitions/haqqTestedge2.d.ts.map +0 -1
- package/_types/chains/definitions/hardhat.d.ts +0 -38
- package/_types/chains/definitions/hardhat.d.ts.map +0 -1
- package/_types/chains/definitions/harmonyOne.d.ts +0 -32
- package/_types/chains/definitions/harmonyOne.d.ts.map +0 -1
- package/_types/chains/definitions/holesky.d.ts +0 -36
- package/_types/chains/definitions/holesky.d.ts.map +0 -1
- package/_types/chains/definitions/iotex.d.ts +0 -35
- package/_types/chains/definitions/iotex.d.ts.map +0 -1
- package/_types/chains/definitions/iotexTestnet.d.ts +0 -35
- package/_types/chains/definitions/iotexTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/kava.d.ts +0 -36
- package/_types/chains/definitions/kava.d.ts.map +0 -1
- package/_types/chains/definitions/kavaTestnet.d.ts +0 -36
- package/_types/chains/definitions/kavaTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/klaytn.d.ts +0 -32
- package/_types/chains/definitions/klaytn.d.ts.map +0 -1
- package/_types/chains/definitions/klaytnBaobab.d.ts +0 -40
- package/_types/chains/definitions/klaytnBaobab.d.ts.map +0 -1
- package/_types/chains/definitions/kroma.d.ts +0 -34
- package/_types/chains/definitions/kroma.d.ts.map +0 -1
- package/_types/chains/definitions/kromaSepolia.d.ts +0 -34
- package/_types/chains/definitions/kromaSepolia.d.ts.map +0 -1
- package/_types/chains/definitions/linea.d.ts +0 -33
- package/_types/chains/definitions/linea.d.ts.map +0 -1
- package/_types/chains/definitions/lineaTestnet.d.ts +0 -33
- package/_types/chains/definitions/lineaTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/localhost.d.ts +0 -38
- package/_types/chains/definitions/localhost.d.ts.map +0 -1
- package/_types/chains/definitions/lukso.d.ts +0 -40
- package/_types/chains/definitions/lukso.d.ts.map +0 -1
- package/_types/chains/definitions/mainnet.d.ts +0 -39
- package/_types/chains/definitions/mainnet.d.ts.map +0 -1
- package/_types/chains/definitions/manta.d.ts +0 -40
- package/_types/chains/definitions/manta.d.ts.map +0 -1
- package/_types/chains/definitions/mantaTestnet.d.ts +0 -40
- package/_types/chains/definitions/mantaTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/mantle.d.ts +0 -32
- package/_types/chains/definitions/mantle.d.ts.map +0 -1
- package/_types/chains/definitions/mantleTestnet.d.ts +0 -34
- package/_types/chains/definitions/mantleTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/meter.d.ts +0 -34
- package/_types/chains/definitions/meter.d.ts.map +0 -1
- package/_types/chains/definitions/meterTestnet.d.ts +0 -34
- package/_types/chains/definitions/meterTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/metis.d.ts +0 -32
- package/_types/chains/definitions/metis.d.ts.map +0 -1
- package/_types/chains/definitions/metisGoerli.d.ts +0 -32
- package/_types/chains/definitions/metisGoerli.d.ts.map +0 -1
- package/_types/chains/definitions/mev.d.ts +0 -32
- package/_types/chains/definitions/mev.d.ts.map +0 -1
- package/_types/chains/definitions/mevTestnet.d.ts +0 -32
- package/_types/chains/definitions/mevTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/modeTestnet.d.ts +0 -32
- package/_types/chains/definitions/modeTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/moonbaseAlpha.d.ts +0 -33
- package/_types/chains/definitions/moonbaseAlpha.d.ts.map +0 -1
- package/_types/chains/definitions/moonbeam.d.ts +0 -33
- package/_types/chains/definitions/moonbeam.d.ts.map +0 -1
- package/_types/chains/definitions/moonbeamDev.d.ts +0 -39
- package/_types/chains/definitions/moonbeamDev.d.ts.map +0 -1
- package/_types/chains/definitions/moonriver.d.ts +0 -33
- package/_types/chains/definitions/moonriver.d.ts.map +0 -1
- package/_types/chains/definitions/neonDevnet.d.ts +0 -32
- package/_types/chains/definitions/neonDevnet.d.ts.map +0 -1
- package/_types/chains/definitions/neonMainnet.d.ts +0 -31
- package/_types/chains/definitions/neonMainnet.d.ts.map +0 -1
- package/_types/chains/definitions/nexi.d.ts +0 -32
- package/_types/chains/definitions/nexi.d.ts.map +0 -1
- package/_types/chains/definitions/nexilix.d.ts +0 -32
- package/_types/chains/definitions/nexilix.d.ts.map +0 -1
- package/_types/chains/definitions/oasys.d.ts +0 -34
- package/_types/chains/definitions/oasys.d.ts.map +0 -1
- package/_types/chains/definitions/okc.d.ts +0 -32
- package/_types/chains/definitions/okc.d.ts.map +0 -1
- package/_types/chains/definitions/opBNB.d.ts +0 -32
- package/_types/chains/definitions/opBNB.d.ts.map +0 -1
- package/_types/chains/definitions/opBNBTestnet.d.ts +0 -32
- package/_types/chains/definitions/opBNBTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/optimism.d.ts +0 -572
- package/_types/chains/definitions/optimism.d.ts.map +0 -1
- package/_types/chains/definitions/optimismGoerli.d.ts +0 -572
- package/_types/chains/definitions/optimismGoerli.d.ts.map +0 -1
- package/_types/chains/definitions/optimismSepolia.d.ts +0 -572
- package/_types/chains/definitions/optimismSepolia.d.ts.map +0 -1
- package/_types/chains/definitions/pgn.d.ts +0 -555
- package/_types/chains/definitions/pgn.d.ts.map +0 -1
- package/_types/chains/definitions/pgnTestnet.d.ts +0 -555
- package/_types/chains/definitions/pgnTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/plinga.d.ts +0 -32
- package/_types/chains/definitions/plinga.d.ts.map +0 -1
- package/_types/chains/definitions/polygon.d.ts +0 -32
- package/_types/chains/definitions/polygon.d.ts.map +0 -1
- package/_types/chains/definitions/polygonMumbai.d.ts +0 -32
- package/_types/chains/definitions/polygonMumbai.d.ts.map +0 -1
- package/_types/chains/definitions/polygonZkEvm.d.ts +0 -32
- package/_types/chains/definitions/polygonZkEvm.d.ts.map +0 -1
- package/_types/chains/definitions/polygonZkEvmTestnet.d.ts +0 -32
- package/_types/chains/definitions/polygonZkEvmTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/pulsechain.d.ts +0 -36
- package/_types/chains/definitions/pulsechain.d.ts.map +0 -1
- package/_types/chains/definitions/pulsechainV4.d.ts +0 -36
- package/_types/chains/definitions/pulsechainV4.d.ts.map +0 -1
- package/_types/chains/definitions/qMainnet.d.ts +0 -34
- package/_types/chains/definitions/qMainnet.d.ts.map +0 -1
- package/_types/chains/definitions/qTestnet.d.ts +0 -34
- package/_types/chains/definitions/qTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/rollux.d.ts +0 -33
- package/_types/chains/definitions/rollux.d.ts.map +0 -1
- package/_types/chains/definitions/rolluxTestnet.d.ts +0 -33
- package/_types/chains/definitions/rolluxTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/ronin.d.ts +0 -32
- package/_types/chains/definitions/ronin.d.ts.map +0 -1
- package/_types/chains/definitions/rootstock.d.ts +0 -40
- package/_types/chains/definitions/rootstock.d.ts.map +0 -1
- package/_types/chains/definitions/saigon.d.ts +0 -32
- package/_types/chains/definitions/saigon.d.ts.map +0 -1
- package/_types/chains/definitions/sapphire.d.ts +0 -38
- package/_types/chains/definitions/sapphire.d.ts.map +0 -1
- package/_types/chains/definitions/sapphireTestnet.d.ts +0 -40
- package/_types/chains/definitions/sapphireTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/scroll.d.ts +0 -33
- package/_types/chains/definitions/scroll.d.ts.map +0 -1
- package/_types/chains/definitions/scrollSepolia.d.ts +0 -32
- package/_types/chains/definitions/scrollSepolia.d.ts.map +0 -1
- package/_types/chains/definitions/scrollTestnet.d.ts +0 -35
- package/_types/chains/definitions/scrollTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/sepolia.d.ts +0 -39
- package/_types/chains/definitions/sepolia.d.ts.map +0 -1
- package/_types/chains/definitions/shardeumSphinx.d.ts +0 -34
- package/_types/chains/definitions/shardeumSphinx.d.ts.map +0 -1
- package/_types/chains/definitions/shibarium.d.ts +0 -40
- package/_types/chains/definitions/shibarium.d.ts.map +0 -1
- package/_types/chains/definitions/shimmer.d.ts +0 -38
- package/_types/chains/definitions/shimmer.d.ts.map +0 -1
- package/_types/chains/definitions/shimmerTestnet.d.ts +0 -38
- package/_types/chains/definitions/shimmerTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/skale/brawl.d.ts +0 -28
- package/_types/chains/definitions/skale/brawl.d.ts.map +0 -1
- package/_types/chains/definitions/skale/calypso.d.ts +0 -33
- package/_types/chains/definitions/skale/calypso.d.ts.map +0 -1
- package/_types/chains/definitions/skale/calypsoTestnet.d.ts +0 -33
- package/_types/chains/definitions/skale/calypsoTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/skale/chaosTestnet.d.ts +0 -33
- package/_types/chains/definitions/skale/chaosTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/skale/cryptoBlades.d.ts +0 -28
- package/_types/chains/definitions/skale/cryptoBlades.d.ts.map +0 -1
- package/_types/chains/definitions/skale/cryptoColosseum.d.ts +0 -28
- package/_types/chains/definitions/skale/cryptoColosseum.d.ts.map +0 -1
- package/_types/chains/definitions/skale/europa.d.ts +0 -33
- package/_types/chains/definitions/skale/europa.d.ts.map +0 -1
- package/_types/chains/definitions/skale/europaTestnet.d.ts +0 -33
- package/_types/chains/definitions/skale/europaTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/skale/exorde.d.ts +0 -28
- package/_types/chains/definitions/skale/exorde.d.ts.map +0 -1
- package/_types/chains/definitions/skale/humanProtocol.d.ts +0 -28
- package/_types/chains/definitions/skale/humanProtocol.d.ts.map +0 -1
- package/_types/chains/definitions/skale/nebula.d.ts +0 -33
- package/_types/chains/definitions/skale/nebula.d.ts.map +0 -1
- package/_types/chains/definitions/skale/nebulaTestnet.d.ts +0 -33
- package/_types/chains/definitions/skale/nebulaTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/skale/razor.d.ts +0 -28
- package/_types/chains/definitions/skale/razor.d.ts.map +0 -1
- package/_types/chains/definitions/skale/titan.d.ts +0 -33
- package/_types/chains/definitions/skale/titan.d.ts.map +0 -1
- package/_types/chains/definitions/skale/titanTestnet.d.ts +0 -33
- package/_types/chains/definitions/skale/titanTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/songbird.d.ts +0 -34
- package/_types/chains/definitions/songbird.d.ts.map +0 -1
- package/_types/chains/definitions/songbirdTestnet.d.ts +0 -34
- package/_types/chains/definitions/songbirdTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/spicy.d.ts +0 -36
- package/_types/chains/definitions/spicy.d.ts.map +0 -1
- package/_types/chains/definitions/syscoin.d.ts +0 -33
- package/_types/chains/definitions/syscoin.d.ts.map +0 -1
- package/_types/chains/definitions/syscoinTestnet.d.ts +0 -33
- package/_types/chains/definitions/syscoinTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/taikoJolnir.d.ts +0 -34
- package/_types/chains/definitions/taikoJolnir.d.ts.map +0 -1
- package/_types/chains/definitions/taikoTestnetSepolia.d.ts +0 -34
- package/_types/chains/definitions/taikoTestnetSepolia.d.ts.map +0 -1
- package/_types/chains/definitions/taraxa.d.ts +0 -34
- package/_types/chains/definitions/taraxa.d.ts.map +0 -1
- package/_types/chains/definitions/taraxaTestnet.d.ts +0 -34
- package/_types/chains/definitions/taraxaTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/telos.d.ts +0 -32
- package/_types/chains/definitions/telos.d.ts.map +0 -1
- package/_types/chains/definitions/telosTestnet.d.ts +0 -34
- package/_types/chains/definitions/telosTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/tenet.d.ts +0 -38
- package/_types/chains/definitions/tenet.d.ts.map +0 -1
- package/_types/chains/definitions/thunderTestnet.d.ts +0 -34
- package/_types/chains/definitions/thunderTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/vechain.d.ts +0 -38
- package/_types/chains/definitions/vechain.d.ts.map +0 -1
- package/_types/chains/definitions/wanchain.d.ts +0 -32
- package/_types/chains/definitions/wanchain.d.ts.map +0 -1
- package/_types/chains/definitions/wanchainTestnet.d.ts +0 -32
- package/_types/chains/definitions/wanchainTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/xdc.d.ts +0 -38
- package/_types/chains/definitions/xdc.d.ts.map +0 -1
- package/_types/chains/definitions/xdcTestnet.d.ts +0 -38
- package/_types/chains/definitions/xdcTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/zetachainAthensTestnet.d.ts +0 -34
- package/_types/chains/definitions/zetachainAthensTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/zhejiang.d.ts +0 -34
- package/_types/chains/definitions/zhejiang.d.ts.map +0 -1
- package/_types/chains/definitions/zkSync.d.ts +0 -529
- package/_types/chains/definitions/zkSync.d.ts.map +0 -1
- package/_types/chains/definitions/zkSyncTestnet.d.ts +0 -529
- package/_types/chains/definitions/zkSyncTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/zora.d.ts +0 -573
- package/_types/chains/definitions/zora.d.ts.map +0 -1
- package/_types/chains/definitions/zoraSepolia.d.ts +0 -578
- package/_types/chains/definitions/zoraSepolia.d.ts.map +0 -1
- package/_types/chains/definitions/zoraTestnet.d.ts +0 -573
- package/_types/chains/definitions/zoraTestnet.d.ts.map +0 -1
- package/_types/chains/index.d.ts +0 -174
- package/_types/chains/index.d.ts.map +0 -1
- package/_types/chains/opStack/abis.d.ts +0 -549
- package/_types/chains/opStack/abis.d.ts.map +0 -1
- package/_types/chains/opStack/actions/buildDepositTransaction.d.ts +0 -63
- package/_types/chains/opStack/actions/buildDepositTransaction.d.ts.map +0 -1
- package/_types/chains/opStack/actions/depositTransaction.d.ts +0 -96
- package/_types/chains/opStack/actions/depositTransaction.d.ts.map +0 -1
- package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts +0 -39
- package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts.map +0 -1
- package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts +0 -39
- package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts.map +0 -1
- package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts +0 -39
- package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts.map +0 -1
- package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts +0 -39
- package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts.map +0 -1
- package/_types/chains/opStack/actions/estimateL1Fee.d.ts +0 -43
- package/_types/chains/opStack/actions/estimateL1Fee.d.ts.map +0 -1
- package/_types/chains/opStack/actions/estimateL1Gas.d.ts +0 -43
- package/_types/chains/opStack/actions/estimateL1Gas.d.ts.map +0 -1
- package/_types/chains/opStack/actions/estimateTotalFee.d.ts +0 -37
- package/_types/chains/opStack/actions/estimateTotalFee.d.ts.map +0 -1
- package/_types/chains/opStack/actions/estimateTotalGas.d.ts +0 -36
- package/_types/chains/opStack/actions/estimateTotalGas.d.ts.map +0 -1
- package/_types/chains/opStack/chainConfig.d.ts +0 -542
- package/_types/chains/opStack/chainConfig.d.ts.map +0 -1
- package/_types/chains/opStack/chains.d.ts +0 -10
- package/_types/chains/opStack/chains.d.ts.map +0 -1
- package/_types/chains/opStack/contracts.d.ts +0 -21
- package/_types/chains/opStack/contracts.d.ts.map +0 -1
- package/_types/chains/opStack/decorators/publicL2.d.ts +0 -241
- package/_types/chains/opStack/decorators/publicL2.d.ts.map +0 -1
- package/_types/chains/opStack/decorators/walletL1.d.ts +0 -64
- package/_types/chains/opStack/decorators/walletL1.d.ts.map +0 -1
- package/_types/chains/opStack/formatters.d.ts +0 -520
- package/_types/chains/opStack/formatters.d.ts.map +0 -1
- package/_types/chains/opStack/index.d.ts +0 -24
- package/_types/chains/opStack/index.d.ts.map +0 -1
- package/_types/chains/opStack/parsers.d.ts +0 -8
- package/_types/chains/opStack/parsers.d.ts.map +0 -1
- package/_types/chains/opStack/serializers.d.ts +0 -12
- package/_types/chains/opStack/serializers.d.ts.map +0 -1
- package/_types/chains/opStack/types/block.d.ts +0 -13
- package/_types/chains/opStack/types/block.d.ts.map +0 -1
- package/_types/chains/opStack/types/chain.d.ts +0 -9
- package/_types/chains/opStack/types/chain.d.ts.map +0 -1
- package/_types/chains/opStack/types/contract.d.ts +0 -13
- package/_types/chains/opStack/types/contract.d.ts.map +0 -1
- package/_types/chains/opStack/types/transaction.d.ts +0 -60
- package/_types/chains/opStack/types/transaction.d.ts.map +0 -1
- package/_types/chains/opStack/utils/extractTransactionDepositedLogs.d.ts +0 -446
- package/_types/chains/opStack/utils/extractTransactionDepositedLogs.d.ts.map +0 -1
- package/_types/chains/opStack/utils/fromOpaqueData.d.ts +0 -15
- package/_types/chains/opStack/utils/fromOpaqueData.d.ts.map +0 -1
- package/_types/chains/opStack/utils/getL2TransactionHash.d.ts +0 -12
- package/_types/chains/opStack/utils/getL2TransactionHash.d.ts.map +0 -1
- package/_types/chains/opStack/utils/getL2TransactionHashes.d.ts +0 -11
- package/_types/chains/opStack/utils/getL2TransactionHashes.d.ts.map +0 -1
- package/_types/chains/opStack/utils/getSourceHash.d.ts +0 -28
- package/_types/chains/opStack/utils/getSourceHash.d.ts.map +0 -1
- package/_types/chains/utils.d.ts +0 -5
- package/_types/chains/utils.d.ts.map +0 -1
- package/_types/chains/zksync/chainConfig.d.ts +0 -501
- package/_types/chains/zksync/chainConfig.d.ts.map +0 -1
- package/_types/chains/zksync/formatters.d.ts +0 -498
- package/_types/chains/zksync/formatters.d.ts.map +0 -1
- package/_types/chains/zksync/index.d.ts +0 -4
- package/_types/chains/zksync/index.d.ts.map +0 -1
- package/_types/chains/zksync/serializers.d.ts +0 -9
- package/_types/chains/zksync/serializers.d.ts.map +0 -1
- package/_types/chains/zksync/types.d.ts +0 -158
- package/_types/chains/zksync/types.d.ts.map +0 -1
- package/_types/clients/createClient.d.ts +0 -86
- package/_types/clients/createClient.d.ts.map +0 -1
- package/_types/clients/createPublicClient.d.ts +0 -31
- package/_types/clients/createPublicClient.d.ts.map +0 -1
- package/_types/clients/createTestClient.d.ts +0 -45
- package/_types/clients/createTestClient.d.ts.map +0 -1
- package/_types/clients/createWalletClient.d.ts +0 -51
- package/_types/clients/createWalletClient.d.ts.map +0 -1
- package/_types/clients/decorators/public.d.ts +0 -1252
- package/_types/clients/decorators/public.d.ts.map +0 -1
- package/_types/clients/decorators/test.d.ts +0 -640
- package/_types/clients/decorators/test.d.ts.map +0 -1
- package/_types/clients/decorators/wallet.d.ts +0 -561
- package/_types/clients/decorators/wallet.d.ts.map +0 -1
- package/_types/clients/transports/createTransport.d.ts +0 -36
- package/_types/clients/transports/createTransport.d.ts.map +0 -1
- package/_types/clients/transports/custom.d.ts +0 -23
- package/_types/clients/transports/custom.d.ts.map +0 -1
- package/_types/clients/transports/fallback.d.ts +0 -77
- package/_types/clients/transports/fallback.d.ts.map +0 -1
- package/_types/clients/transports/http.d.ts +0 -44
- package/_types/clients/transports/http.d.ts.map +0 -1
- package/_types/clients/transports/webSocket.d.ts +0 -47
- package/_types/clients/transports/webSocket.d.ts.map +0 -1
- package/_types/constants/abis.d.ts +0 -1035
- package/_types/constants/abis.d.ts.map +0 -1
- package/_types/constants/address.d.ts +0 -2
- package/_types/constants/address.d.ts.map +0 -1
- package/_types/constants/bytes.d.ts +0 -2
- package/_types/constants/bytes.d.ts.map +0 -1
- package/_types/constants/contract.d.ts +0 -2
- package/_types/constants/contract.d.ts.map +0 -1
- package/_types/constants/contracts.d.ts +0 -2
- package/_types/constants/contracts.d.ts.map +0 -1
- package/_types/constants/number.d.ts +0 -97
- package/_types/constants/number.d.ts.map +0 -1
- package/_types/constants/solidity.d.ts +0 -15
- package/_types/constants/solidity.d.ts.map +0 -1
- package/_types/constants/strings.d.ts +0 -2
- package/_types/constants/strings.d.ts.map +0 -1
- package/_types/constants/unit.d.ts +0 -13
- package/_types/constants/unit.d.ts.map +0 -1
- package/_types/ens/index.d.ts +0 -9
- package/_types/ens/index.d.ts.map +0 -1
- package/_types/errors/abi.d.ts +0 -244
- package/_types/errors/abi.d.ts.map +0 -1
- package/_types/errors/account.d.ts +0 -11
- package/_types/errors/account.d.ts.map +0 -1
- package/_types/errors/address.d.ts +0 -11
- package/_types/errors/address.d.ts.map +0 -1
- package/_types/errors/base.d.ts +0 -27
- package/_types/errors/base.d.ts.map +0 -1
- package/_types/errors/block.d.ts +0 -13
- package/_types/errors/block.d.ts.map +0 -1
- package/_types/errors/ccip.d.ts +0 -38
- package/_types/errors/ccip.d.ts.map +0 -1
- package/_types/errors/chain.d.ts +0 -50
- package/_types/errors/chain.d.ts.map +0 -1
- package/_types/errors/contract.d.ts +0 -79
- package/_types/errors/contract.d.ts.map +0 -1
- package/_types/errors/cursor.d.ts +0 -21
- package/_types/errors/cursor.d.ts.map +0 -1
- package/_types/errors/data.d.ts +0 -24
- package/_types/errors/data.d.ts.map +0 -1
- package/_types/errors/encoding.d.ts +0 -47
- package/_types/errors/encoding.d.ts.map +0 -1
- package/_types/errors/ens.d.ts +0 -38
- package/_types/errors/ens.d.ts.map +0 -1
- package/_types/errors/estimateGas.d.ts +0 -17
- package/_types/errors/estimateGas.d.ts.map +0 -1
- package/_types/errors/fee.d.ts +0 -25
- package/_types/errors/fee.d.ts.map +0 -1
- package/_types/errors/log.d.ts +0 -9
- package/_types/errors/log.d.ts.map +0 -1
- package/_types/errors/node.d.ts +0 -142
- package/_types/errors/node.d.ts.map +0 -1
- package/_types/errors/request.d.ts +0 -73
- package/_types/errors/request.d.ts.map +0 -1
- package/_types/errors/rpc.d.ts +0 -302
- package/_types/errors/rpc.d.ts.map +0 -1
- package/_types/errors/transaction.d.ts +0 -109
- package/_types/errors/transaction.d.ts.map +0 -1
- package/_types/errors/transport.d.ts +0 -8
- package/_types/errors/transport.d.ts.map +0 -1
- package/_types/errors/utils.d.ts +0 -8
- package/_types/errors/utils.d.ts.map +0 -1
- package/_types/errors/version.d.ts +0 -2
- package/_types/errors/version.d.ts.map +0 -1
- package/_types/index.d.ts +0 -210
- package/_types/index.d.ts.map +0 -1
- package/_types/types/account.d.ts +0 -15
- package/_types/types/account.d.ts.map +0 -1
- package/_types/types/block.d.ts +0 -67
- package/_types/types/block.d.ts.map +0 -1
- package/_types/types/chain.d.ts +0 -159
- package/_types/types/chain.d.ts.map +0 -1
- package/_types/types/contract.d.ts +0 -118
- package/_types/types/contract.d.ts.map +0 -1
- package/_types/types/eip1193.d.ts +0 -1271
- package/_types/types/eip1193.d.ts.map +0 -1
- package/_types/types/ens.d.ts +0 -5
- package/_types/types/ens.d.ts.map +0 -1
- package/_types/types/fee.d.ts +0 -30
- package/_types/types/fee.d.ts.map +0 -1
- package/_types/types/filter.d.ts +0 -40
- package/_types/types/filter.d.ts.map +0 -1
- package/_types/types/log.d.ts +0 -55
- package/_types/types/log.d.ts.map +0 -1
- package/_types/types/misc.d.ts +0 -18
- package/_types/types/misc.d.ts.map +0 -1
- package/_types/types/multicall.d.ts +0 -58
- package/_types/types/multicall.d.ts.map +0 -1
- package/_types/types/proof.d.ts +0 -18
- package/_types/types/proof.d.ts.map +0 -1
- package/_types/types/rpc.d.ts +0 -22
- package/_types/types/rpc.d.ts.map +0 -1
- package/_types/types/transaction.d.ts +0 -156
- package/_types/types/transaction.d.ts.map +0 -1
- package/_types/types/transport.d.ts +0 -24
- package/_types/types/transport.d.ts.map +0 -1
- package/_types/types/typedData.d.ts +0 -25
- package/_types/types/typedData.d.ts.map +0 -1
- package/_types/types/utils.d.ts +0 -171
- package/_types/types/utils.d.ts.map +0 -1
- package/_types/types/window.d.ts +0 -7
- package/_types/types/window.d.ts.map +0 -1
- package/_types/types/withdrawal.d.ts +0 -8
- package/_types/types/withdrawal.d.ts.map +0 -1
- package/_types/utils/abi/decodeAbiParameters.d.ts +0 -25
- package/_types/utils/abi/decodeAbiParameters.d.ts.map +0 -1
- package/_types/utils/abi/decodeDeployData.d.ts +0 -18
- package/_types/utils/abi/decodeDeployData.d.ts.map +0 -1
- package/_types/utils/abi/decodeErrorResult.d.ts +0 -27
- package/_types/utils/abi/decodeErrorResult.d.ts.map +0 -1
- package/_types/utils/abi/decodeEventLog.d.ts +0 -33
- package/_types/utils/abi/decodeEventLog.d.ts.map +0 -1
- package/_types/utils/abi/decodeFunctionData.d.ts +0 -26
- package/_types/utils/abi/decodeFunctionData.d.ts.map +0 -1
- package/_types/utils/abi/decodeFunctionResult.d.ts +0 -26
- package/_types/utils/abi/decodeFunctionResult.d.ts.map +0 -1
- package/_types/utils/abi/encodeAbiParameters.d.ts +0 -30
- package/_types/utils/abi/encodeAbiParameters.d.ts.map +0 -1
- package/_types/utils/abi/encodeDeployData.d.ts +0 -22
- package/_types/utils/abi/encodeDeployData.d.ts.map +0 -1
- package/_types/utils/abi/encodeErrorResult.d.ts +0 -24
- package/_types/utils/abi/encodeErrorResult.d.ts.map +0 -1
- package/_types/utils/abi/encodeEventTopics.d.ts +0 -26
- package/_types/utils/abi/encodeEventTopics.d.ts.map +0 -1
- package/_types/utils/abi/encodeFunctionData.d.ts +0 -28
- package/_types/utils/abi/encodeFunctionData.d.ts.map +0 -1
- package/_types/utils/abi/encodeFunctionResult.d.ts +0 -22
- package/_types/utils/abi/encodeFunctionResult.d.ts.map +0 -1
- package/_types/utils/abi/encodePacked.d.ts +0 -20
- package/_types/utils/abi/encodePacked.d.ts.map +0 -1
- package/_types/utils/abi/formatAbiItem.d.ts +0 -14
- package/_types/utils/abi/formatAbiItem.d.ts.map +0 -1
- package/_types/utils/abi/formatAbiItemWithArgs.d.ts +0 -10
- package/_types/utils/abi/formatAbiItemWithArgs.d.ts.map +0 -1
- package/_types/utils/abi/getAbiItem.d.ts +0 -22
- package/_types/utils/abi/getAbiItem.d.ts.map +0 -1
- package/_types/utils/abi/parseEventLogs.d.ts +0 -43
- package/_types/utils/abi/parseEventLogs.d.ts.map +0 -1
- package/_types/utils/accounts.d.ts +0 -3
- package/_types/utils/accounts.d.ts.map +0 -1
- package/_types/utils/address/getAddress.d.ts +0 -10
- package/_types/utils/address/getAddress.d.ts.map +0 -1
- package/_types/utils/address/getContractAddress.d.ts +0 -35
- package/_types/utils/address/getContractAddress.d.ts.map +0 -1
- package/_types/utils/address/isAddress.d.ts +0 -5
- package/_types/utils/address/isAddress.d.ts.map +0 -1
- package/_types/utils/address/isAddressEqual.d.ts +0 -7
- package/_types/utils/address/isAddressEqual.d.ts.map +0 -1
- package/_types/utils/buildRequest.d.ts +0 -11
- package/_types/utils/buildRequest.d.ts.map +0 -1
- package/_types/utils/ccip.d.ts +0 -40
- package/_types/utils/ccip.d.ts.map +0 -1
- package/_types/utils/chain/assertCurrentChain.d.ts +0 -10
- package/_types/utils/chain/assertCurrentChain.d.ts.map +0 -1
- package/_types/utils/chain/defineChain.d.ts +0 -4
- package/_types/utils/chain/defineChain.d.ts.map +0 -1
- package/_types/utils/chain/extractChain.d.ts +0 -10
- package/_types/utils/chain/extractChain.d.ts.map +0 -1
- package/_types/utils/chain/getChainContractAddress.d.ts +0 -9
- package/_types/utils/chain/getChainContractAddress.d.ts.map +0 -1
- package/_types/utils/cursor.d.ts +0 -37
- package/_types/utils/cursor.d.ts.map +0 -1
- package/_types/utils/data/concat.d.ts +0 -10
- package/_types/utils/data/concat.d.ts.map +0 -1
- package/_types/utils/data/isBytes.d.ts +0 -5
- package/_types/utils/data/isBytes.d.ts.map +0 -1
- package/_types/utils/data/isBytesEqual.d.ts +0 -7
- package/_types/utils/data/isBytesEqual.d.ts.map +0 -1
- package/_types/utils/data/isHex.d.ts +0 -7
- package/_types/utils/data/isHex.d.ts.map +0 -1
- package/_types/utils/data/pad.d.ts +0 -16
- package/_types/utils/data/pad.d.ts.map +0 -1
- package/_types/utils/data/size.d.ts +0 -12
- package/_types/utils/data/size.d.ts.map +0 -1
- package/_types/utils/data/slice.d.ts +0 -42
- package/_types/utils/data/slice.d.ts.map +0 -1
- package/_types/utils/data/trim.d.ts +0 -10
- package/_types/utils/data/trim.d.ts.map +0 -1
- package/_types/utils/encoding/fromBytes.d.ts +0 -117
- package/_types/utils/encoding/fromBytes.d.ts.map +0 -1
- package/_types/utils/encoding/fromHex.d.ts +0 -149
- package/_types/utils/encoding/fromHex.d.ts.map +0 -1
- package/_types/utils/encoding/fromRlp.d.ts +0 -21
- package/_types/utils/encoding/fromRlp.d.ts.map +0 -1
- package/_types/utils/encoding/toBytes.d.ts +0 -134
- package/_types/utils/encoding/toBytes.d.ts.map +0 -1
- package/_types/utils/encoding/toHex.d.ts +0 -148
- package/_types/utils/encoding/toHex.d.ts.map +0 -1
- package/_types/utils/encoding/toRlp.d.ts +0 -16
- package/_types/utils/encoding/toRlp.d.ts.map +0 -1
- package/_types/utils/ens/avatar/parseAvatarRecord.d.ts +0 -13
- package/_types/utils/ens/avatar/parseAvatarRecord.d.ts.map +0 -1
- package/_types/utils/ens/avatar/utils.d.ts +0 -48
- package/_types/utils/ens/avatar/utils.d.ts.map +0 -1
- package/_types/utils/ens/encodeLabelhash.d.ts +0 -5
- package/_types/utils/ens/encodeLabelhash.d.ts.map +0 -1
- package/_types/utils/ens/encodedLabelToLabelhash.d.ts +0 -6
- package/_types/utils/ens/encodedLabelToLabelhash.d.ts.map +0 -1
- package/_types/utils/ens/errors.d.ts +0 -4
- package/_types/utils/ens/errors.d.ts.map +0 -1
- package/_types/utils/ens/labelhash.d.ts +0 -17
- package/_types/utils/ens/labelhash.d.ts.map +0 -1
- package/_types/utils/ens/namehash.d.ts +0 -20
- package/_types/utils/ens/namehash.d.ts.map +0 -1
- package/_types/utils/ens/normalize.d.ts +0 -14
- package/_types/utils/ens/normalize.d.ts.map +0 -1
- package/_types/utils/ens/packetToBytes.d.ts +0 -8
- package/_types/utils/ens/packetToBytes.d.ts.map +0 -1
- package/_types/utils/errors/getCallError.d.ts +0 -13
- package/_types/utils/errors/getCallError.d.ts.map +0 -1
- package/_types/utils/errors/getContractError.d.ts +0 -15
- package/_types/utils/errors/getContractError.d.ts.map +0 -1
- package/_types/utils/errors/getEstimateGasError.d.ts +0 -15
- package/_types/utils/errors/getEstimateGasError.d.ts.map +0 -1
- package/_types/utils/errors/getNodeError.d.ts +0 -8
- package/_types/utils/errors/getNodeError.d.ts.map +0 -1
- package/_types/utils/errors/getTransactionError.d.ts +0 -16
- package/_types/utils/errors/getTransactionError.d.ts.map +0 -1
- package/_types/utils/filters/createFilterRequestScope.d.ts +0 -22
- package/_types/utils/filters/createFilterRequestScope.d.ts.map +0 -1
- package/_types/utils/formatters/block.d.ts +0 -28
- package/_types/utils/formatters/block.d.ts.map +0 -1
- package/_types/utils/formatters/extract.d.ts +0 -10
- package/_types/utils/formatters/extract.d.ts.map +0 -1
- package/_types/utils/formatters/feeHistory.d.ts +0 -6
- package/_types/utils/formatters/feeHistory.d.ts.map +0 -1
- package/_types/utils/formatters/formatter.d.ts +0 -12
- package/_types/utils/formatters/formatter.d.ts.map +0 -1
- package/_types/utils/formatters/log.d.ts +0 -9
- package/_types/utils/formatters/log.d.ts.map +0 -1
- package/_types/utils/formatters/proof.d.ts +0 -6
- package/_types/utils/formatters/proof.d.ts.map +0 -1
- package/_types/utils/formatters/transaction.d.ts +0 -30
- package/_types/utils/formatters/transaction.d.ts.map +0 -1
- package/_types/utils/formatters/transactionReceipt.d.ts +0 -18
- package/_types/utils/formatters/transactionReceipt.d.ts.map +0 -1
- package/_types/utils/formatters/transactionRequest.d.ts +0 -23
- package/_types/utils/formatters/transactionRequest.d.ts.map +0 -1
- package/_types/utils/getAction.d.ts +0 -10
- package/_types/utils/getAction.d.ts.map +0 -1
- package/_types/utils/hash/getEventSelector.d.ts +0 -7
- package/_types/utils/hash/getEventSelector.d.ts.map +0 -1
- package/_types/utils/hash/getEventSignature.d.ts +0 -6
- package/_types/utils/hash/getEventSignature.d.ts.map +0 -1
- package/_types/utils/hash/getFunctionSelector.d.ts +0 -9
- package/_types/utils/hash/getFunctionSelector.d.ts.map +0 -1
- package/_types/utils/hash/getFunctionSignature.d.ts +0 -6
- package/_types/utils/hash/getFunctionSignature.d.ts.map +0 -1
- package/_types/utils/hash/hashFunction.d.ts +0 -11
- package/_types/utils/hash/hashFunction.d.ts.map +0 -1
- package/_types/utils/hash/isHash.d.ts +0 -7
- package/_types/utils/hash/isHash.d.ts.map +0 -1
- package/_types/utils/hash/keccak256.d.ts +0 -11
- package/_types/utils/hash/keccak256.d.ts.map +0 -1
- package/_types/utils/hash/normalizeSignature.d.ts +0 -6
- package/_types/utils/hash/normalizeSignature.d.ts.map +0 -1
- package/_types/utils/index.d.ts +0 -84
- package/_types/utils/index.d.ts.map +0 -1
- package/_types/utils/observe.d.ts +0 -19
- package/_types/utils/observe.d.ts.map +0 -1
- package/_types/utils/poll.d.ts +0 -15
- package/_types/utils/poll.d.ts.map +0 -1
- package/_types/utils/promise/createBatchScheduler.d.ts +0 -21
- package/_types/utils/promise/createBatchScheduler.d.ts.map +0 -1
- package/_types/utils/promise/withCache.d.ts +0 -38
- package/_types/utils/promise/withCache.d.ts.map +0 -1
- package/_types/utils/promise/withRetry.d.ts +0 -14
- package/_types/utils/promise/withRetry.d.ts.map +0 -1
- package/_types/utils/promise/withTimeout.d.ts +0 -10
- package/_types/utils/promise/withTimeout.d.ts.map +0 -1
- package/_types/utils/regex.d.ts +0 -4
- package/_types/utils/regex.d.ts.map +0 -1
- package/_types/utils/rpc.d.ts +0 -80
- package/_types/utils/rpc.d.ts.map +0 -1
- package/_types/utils/signature/compactSignatureToHex.d.ts +0 -19
- package/_types/utils/signature/compactSignatureToHex.d.ts.map +0 -1
- package/_types/utils/signature/compactSignatureToSignature.d.ts +0 -24
- package/_types/utils/signature/compactSignatureToSignature.d.ts.map +0 -1
- package/_types/utils/signature/hashMessage.d.ts +0 -11
- package/_types/utils/signature/hashMessage.d.ts.map +0 -1
- package/_types/utils/signature/hashTypedData.d.ts +0 -29
- package/_types/utils/signature/hashTypedData.d.ts.map +0 -1
- package/_types/utils/signature/hexToCompactSignature.d.ts +0 -16
- package/_types/utils/signature/hexToCompactSignature.d.ts.map +0 -1
- package/_types/utils/signature/hexToSignature.d.ts +0 -16
- package/_types/utils/signature/hexToSignature.d.ts.map +0 -1
- package/_types/utils/signature/recoverAddress.d.ts +0 -11
- package/_types/utils/signature/recoverAddress.d.ts.map +0 -1
- package/_types/utils/signature/recoverMessageAddress.d.ts +0 -13
- package/_types/utils/signature/recoverMessageAddress.d.ts.map +0 -1
- package/_types/utils/signature/recoverPublicKey.d.ts +0 -12
- package/_types/utils/signature/recoverPublicKey.d.ts.map +0 -1
- package/_types/utils/signature/recoverTypedDataAddress.d.ts +0 -13
- package/_types/utils/signature/recoverTypedDataAddress.d.ts.map +0 -1
- package/_types/utils/signature/signatureToCompactSignature.d.ts +0 -23
- package/_types/utils/signature/signatureToCompactSignature.d.ts.map +0 -1
- package/_types/utils/signature/signatureToHex.d.ts +0 -21
- package/_types/utils/signature/signatureToHex.d.ts.map +0 -1
- package/_types/utils/signature/verifyMessage.d.ts +0 -30
- package/_types/utils/signature/verifyMessage.d.ts.map +0 -1
- package/_types/utils/signature/verifyTypedData.d.ts +0 -29
- package/_types/utils/signature/verifyTypedData.d.ts.map +0 -1
- package/_types/utils/stringify.d.ts +0 -4
- package/_types/utils/stringify.d.ts.map +0 -1
- package/_types/utils/transaction/assertRequest.d.ts +0 -11
- package/_types/utils/transaction/assertRequest.d.ts.map +0 -1
- package/_types/utils/transaction/assertTransaction.d.ts +0 -14
- package/_types/utils/transaction/assertTransaction.d.ts.map +0 -1
- package/_types/utils/transaction/getSerializedTransactionType.d.ts +0 -9
- package/_types/utils/transaction/getSerializedTransactionType.d.ts.map +0 -1
- package/_types/utils/transaction/getTransactionType.d.ts +0 -7
- package/_types/utils/transaction/getTransactionType.d.ts.map +0 -1
- package/_types/utils/transaction/parseTransaction.d.ts +0 -26
- package/_types/utils/transaction/parseTransaction.d.ts.map +0 -1
- package/_types/utils/transaction/serializeAccessList.d.ts +0 -10
- package/_types/utils/transaction/serializeAccessList.d.ts.map +0 -1
- package/_types/utils/transaction/serializeTransaction.d.ts +0 -19
- package/_types/utils/transaction/serializeTransaction.d.ts.map +0 -1
- package/_types/utils/typedData.d.ts +0 -19
- package/_types/utils/typedData.d.ts.map +0 -1
- package/_types/utils/uid.d.ts +0 -2
- package/_types/utils/uid.d.ts.map +0 -1
- package/_types/utils/unit/formatEther.d.ts +0 -15
- package/_types/utils/unit/formatEther.d.ts.map +0 -1
- package/_types/utils/unit/formatGwei.d.ts +0 -15
- package/_types/utils/unit/formatGwei.d.ts.map +0 -1
- package/_types/utils/unit/formatUnits.d.ts +0 -15
- package/_types/utils/unit/formatUnits.d.ts.map +0 -1
- package/_types/utils/unit/parseEther.d.ts +0 -16
- package/_types/utils/unit/parseEther.d.ts.map +0 -1
- package/_types/utils/unit/parseGwei.d.ts +0 -16
- package/_types/utils/unit/parseGwei.d.ts.map +0 -1
- package/_types/utils/unit/parseUnits.d.ts +0 -15
- package/_types/utils/unit/parseUnits.d.ts.map +0 -1
- package/_types/utils/wait.d.ts +0 -2
- package/_types/utils/wait.d.ts.map +0 -1
- package/_types/window/index.d.ts +0 -2
- package/_types/window/index.d.ts.map +0 -1
package/_esm/utils/index.js
DELETED
@@ -1,84 +0,0 @@
|
|
1
|
-
export { buildRequest, } from './buildRequest.js';
|
2
|
-
export { ccipFetch, offchainLookup, offchainLookupAbiItem, offchainLookupSignature, } from './ccip.js';
|
3
|
-
export { assertCurrentChain, } from './chain/assertCurrentChain.js';
|
4
|
-
export { defineChain } from './chain/defineChain.js';
|
5
|
-
export { extractChain, } from './chain/extractChain.js';
|
6
|
-
export { getChainContractAddress, } from './chain/getChainContractAddress.js';
|
7
|
-
export { arrayRegex, bytesRegex, integerRegex } from './regex.js';
|
8
|
-
export { getSocket, rpc, } from './rpc.js';
|
9
|
-
export { stringify } from './stringify.js';
|
10
|
-
export { validateTypedData, } from './typedData.js';
|
11
|
-
export { decodeAbiParameters, } from './abi/decodeAbiParameters.js';
|
12
|
-
export { decodeErrorResult, } from './abi/decodeErrorResult.js';
|
13
|
-
export { decodeEventLog, } from './abi/decodeEventLog.js';
|
14
|
-
export { decodeFunctionData, } from './abi/decodeFunctionData.js';
|
15
|
-
export { decodeFunctionResult, } from './abi/decodeFunctionResult.js';
|
16
|
-
export { encodeAbiParameters, } from './abi/encodeAbiParameters.js';
|
17
|
-
export { encodeDeployData, } from './abi/encodeDeployData.js';
|
18
|
-
export { encodeErrorResult, } from './abi/encodeErrorResult.js';
|
19
|
-
export { encodeEventTopics, } from './abi/encodeEventTopics.js';
|
20
|
-
export { encodeFunctionData, } from './abi/encodeFunctionData.js';
|
21
|
-
export { encodeFunctionResult, } from './abi/encodeFunctionResult.js';
|
22
|
-
export { parseEventLogs, } from './abi/parseEventLogs.js';
|
23
|
-
export { getAbiItem, } from './abi/getAbiItem.js';
|
24
|
-
export { parseAbi, parseAbiItem, parseAbiParameter, parseAbiParameters, } from 'abitype';
|
25
|
-
export { encodePacked } from './abi/encodePacked.js';
|
26
|
-
export { formatAbiItemWithArgs, } from './abi/formatAbiItemWithArgs.js';
|
27
|
-
export { formatAbiItem, formatAbiParams, } from './abi/formatAbiItem.js';
|
28
|
-
export { parseAccount, } from '../accounts/utils/parseAccount.js';
|
29
|
-
export { publicKeyToAddress, } from '../accounts/utils/publicKeyToAddress.js';
|
30
|
-
export { getContractAddress, getCreateAddress, getCreate2Address, } from './address/getContractAddress.js';
|
31
|
-
export { getAddress, } from './address/getAddress.js';
|
32
|
-
export { isAddress } from './address/isAddress.js';
|
33
|
-
export { isAddressEqual, } from './address/isAddressEqual.js';
|
34
|
-
export { concat, concatBytes, concatHex, } from './data/concat.js';
|
35
|
-
export { isBytes } from './data/isBytes.js';
|
36
|
-
export { isHex } from './data/isHex.js';
|
37
|
-
export { pad, padBytes, padHex, } from './data/pad.js';
|
38
|
-
export { size } from './data/size.js';
|
39
|
-
export { slice, sliceBytes, sliceHex, } from './data/slice.js';
|
40
|
-
export { trim } from './data/trim.js';
|
41
|
-
export { defineBlock, formatBlock, } from './formatters/block.js';
|
42
|
-
export { defineTransaction, formatTransaction, transactionType, } from './formatters/transaction.js';
|
43
|
-
export { formatLog } from './formatters/log.js';
|
44
|
-
export { defineTransactionReceipt, } from './formatters/transactionReceipt.js';
|
45
|
-
export { defineTransactionRequest, formatTransactionRequest, } from './formatters/transactionRequest.js';
|
46
|
-
export { extract } from './formatters/extract.js';
|
47
|
-
export { toRlp, } from './encoding/toRlp.js';
|
48
|
-
export { boolToBytes, toBytes, hexToBytes, numberToBytes, stringToBytes, } from './encoding/toBytes.js';
|
49
|
-
export { boolToHex, bytesToHex, toHex, numberToHex, stringToHex, } from './encoding/toHex.js';
|
50
|
-
export { bytesToBigInt, bytesToBigInt as bytesToBigint, bytesToBool, bytesToNumber, bytesToString, fromBytes, } from './encoding/fromBytes.js';
|
51
|
-
export { fromHex, hexToBool, hexToBigInt, hexToNumber, hexToString, } from './encoding/fromHex.js';
|
52
|
-
export { fromRlp, } from './encoding/fromRlp.js';
|
53
|
-
export { containsNodeError, getNodeError, } from './errors/getNodeError.js';
|
54
|
-
export { getCallError, } from './errors/getCallError.js';
|
55
|
-
export { getContractError, } from './errors/getContractError.js';
|
56
|
-
export { getEstimateGasError, } from './errors/getEstimateGasError.js';
|
57
|
-
export { getTransactionError, } from './errors/getTransactionError.js';
|
58
|
-
export { defineFormatter, } from './formatters/formatter.js';
|
59
|
-
export { getEventSelector, } from './hash/getEventSelector.js';
|
60
|
-
export { getFunctionSelector, } from './hash/getFunctionSelector.js';
|
61
|
-
export { isHash } from './hash/isHash.js';
|
62
|
-
export { keccak256 } from './hash/keccak256.js';
|
63
|
-
export { hashTypedData, } from './signature/hashTypedData.js';
|
64
|
-
export { recoverAddress, } from './signature/recoverAddress.js';
|
65
|
-
export { recoverMessageAddress, } from './signature/recoverMessageAddress.js';
|
66
|
-
export { recoverPublicKey, } from './signature/recoverPublicKey.js';
|
67
|
-
export { recoverTypedDataAddress, } from './signature/recoverTypedDataAddress.js';
|
68
|
-
export { verifyMessage, } from './signature/verifyMessage.js';
|
69
|
-
export { verifyTypedData, } from './signature/verifyTypedData.js';
|
70
|
-
export { hashMessage, } from './signature/hashMessage.js';
|
71
|
-
export { getSerializedTransactionType, } from './transaction/getSerializedTransactionType.js';
|
72
|
-
export { getTransactionType, } from './transaction/getTransactionType.js';
|
73
|
-
export { assertRequest, } from './transaction/assertRequest.js';
|
74
|
-
export { assertTransactionEIP1559, assertTransactionEIP2930, assertTransactionLegacy, } from './transaction/assertTransaction.js';
|
75
|
-
export { parseTransaction, } from './transaction/parseTransaction.js';
|
76
|
-
export { serializeTransaction, } from './transaction/serializeTransaction.js';
|
77
|
-
export { serializeAccessList, } from './transaction/serializeAccessList.js';
|
78
|
-
export { formatEther } from './unit/formatEther.js';
|
79
|
-
export { formatGwei } from './unit/formatGwei.js';
|
80
|
-
export { formatUnits } from './unit/formatUnits.js';
|
81
|
-
export { parseUnits } from './unit/parseUnits.js';
|
82
|
-
export { parseEther } from './unit/parseEther.js';
|
83
|
-
export { parseGwei } from './unit/parseGwei.js';
|
84
|
-
//# sourceMappingURL=index.js.map
|
package/_esm/utils/index.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","source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new Map();
|
2
|
-
export const cleanupCache = /*#__PURE__*/ new Map();
|
3
|
-
let callbackCount = 0;
|
4
|
-
/**
|
5
|
-
* @description Sets up an observer for a given function. If another function
|
6
|
-
* is set up under the same observer id, the function will only be called once
|
7
|
-
* for both instances of the observer.
|
8
|
-
*/
|
9
|
-
export function observe(observerId, callbacks, fn) {
|
10
|
-
const callbackId = ++callbackCount;
|
11
|
-
const getListeners = () => listenersCache.get(observerId) || [];
|
12
|
-
const unsubscribe = () => {
|
13
|
-
const listeners = getListeners();
|
14
|
-
listenersCache.set(observerId, listeners.filter((cb) => cb.id !== callbackId));
|
15
|
-
};
|
16
|
-
const unwatch = () => {
|
17
|
-
const cleanup = cleanupCache.get(observerId);
|
18
|
-
if (getListeners().length === 1 && cleanup)
|
19
|
-
cleanup();
|
20
|
-
unsubscribe();
|
21
|
-
};
|
22
|
-
const listeners = getListeners();
|
23
|
-
listenersCache.set(observerId, [
|
24
|
-
...listeners,
|
25
|
-
{ id: callbackId, fns: callbacks },
|
26
|
-
]);
|
27
|
-
if (listeners && listeners.length > 0)
|
28
|
-
return unwatch;
|
29
|
-
const emit = {};
|
30
|
-
for (const key in callbacks) {
|
31
|
-
emit[key] = ((...args) => {
|
32
|
-
const listeners = getListeners();
|
33
|
-
if (listeners.length === 0)
|
34
|
-
return;
|
35
|
-
for (const listener of listeners)
|
36
|
-
listener.fns[key]?.(...args);
|
37
|
-
});
|
38
|
-
}
|
39
|
-
const cleanup = fn(emit);
|
40
|
-
if (typeof cleanup === 'function')
|
41
|
-
cleanupCache.set(observerId, cleanup);
|
42
|
-
return unwatch;
|
43
|
-
}
|
44
|
-
//# sourceMappingURL=observe.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"observe.js","sourceRoot":"","sources":["../../utils/observe.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAC,IAAI,GAAG,EAGhD,CAAA;AACH,MAAM,CAAC,MAAM,YAAY,G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AI,SAAS,CAAC,MAAM,KAAK,CAAC;gBAAE,OAAM;YAClC,KAAK,MAAM,QAAQ,IAAI,SAAS;gBAAE,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;QAChE,CAAC,CAAkD,CAAA;IACrD,CAAC;IAED,MAAM,OAAO,GAAG,EAAE,CAAC,IAAI,CAAC,CAAA;IACxB,IAAI,OAAO,OAAO,KAAK,UAAU;QAAE,YAAY,CAAC,GAAG,CAAC,UAAU,EAAE,OAAO,CAAC,CAAA;IAExE,OAAO,OAAO,CAAA;AAChB,CAAC"}
|
package/_esm/utils/poll.js
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
import { wait } from './wait.js';
|
2
|
-
/**
|
3
|
-
* @description Polls a function at a specified interval.
|
4
|
-
*/
|
5
|
-
export function poll(fn, { emitOnBegin, initialWaitTime, interval }) {
|
6
|
-
let active = true;
|
7
|
-
const unwatch = () => (active = false);
|
8
|
-
const watch = async () => {
|
9
|
-
let data = undefined;
|
10
|
-
if (emitOnBegin)
|
11
|
-
data = await fn({ unpoll: unwatch });
|
12
|
-
const initialWait = (await initialWaitTime?.(data)) ?? interval;
|
13
|
-
await wait(initialWait);
|
14
|
-
const poll = async () => {
|
15
|
-
if (!active)
|
16
|
-
return;
|
17
|
-
await fn({ unpoll: unwatch });
|
18
|
-
await wait(interval);
|
19
|
-
poll();
|
20
|
-
};
|
21
|
-
poll();
|
22
|
-
};
|
23
|
-
watch();
|
24
|
-
return unwatch;
|
25
|
-
}
|
26
|
-
//# sourceMappingURL=poll.js.map
|
package/_esm/utils/poll.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"poll.js","sourceRoot":"","sources":["../../utils/poll.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAahC;;GAEG;AACH,MAAM,UAAU,IAAI,CAClB,EAAiE,EACjE,EAAE,WAAW,EAAE,eAAe,EAAE,QAAQ,EAAsB;IAE9D,IAAI,MAAM,GAAG,IAAI,CAAA;IAEjB,MAAM,OAAO,GAAG,GAAG,EAAE,CAAC,CAAC,MAAM,GAAG,KAAK,CAAC,CAAA;IAEtC,MAAM,KAAK,GAAG,KAAK,IAAI,EAAE;QACvB,IAAI,IAAI,GAAiB,SAAS,CAAA;QAClC,IAAI,WAAW;YAAE,IAAI,GAAG,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAAA;QAErD,MAAM,WAAW,GAAG,CAAC,MAAM,eAAe,EAAE,CAAC,IAAI,CAAC,CAAC,IAAI,QAAQ,CAAA;QAC/D,MAAM,IAAI,CAAC,WAAW,CAAC,CAAA;QAEvB,MAAM,IAAI,GAAG,KAAK,IAAI,EAAE;YACtB,IAAI,CAAC,MAAM;gBAAE,OAAM;YACnB,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAAA;YAC7B,MAAM,IAAI,CAAC,QAAQ,CAAC,CAAA;YACpB,IAAI,EAAE,CAAA;QACR,CAAC,CAAA;QAED,IAAI,EAAE,CAAA;IACR,CAAC,CAAA;IACD,KAAK,EAAE,CAAA;IAEP,OAAO,OAAO,CAAA;AAChB,CAAC"}
|
@@ -1,51 +0,0 @@
|
|
1
|
-
const schedulerCache = /*#__PURE__*/ new Map();
|
2
|
-
export function createBatchScheduler({ fn, id, shouldSplitBatch, wait = 0, sort, }) {
|
3
|
-
const exec = async () => {
|
4
|
-
const scheduler = getScheduler();
|
5
|
-
flush();
|
6
|
-
const args = scheduler.map(({ args }) => args);
|
7
|
-
if (args.length === 0)
|
8
|
-
return;
|
9
|
-
fn(args)
|
10
|
-
.then((data) => {
|
11
|
-
if (sort && Array.isArray(data))
|
12
|
-
data.sort(sort);
|
13
|
-
for (let i = 0; i < scheduler.length; i++) {
|
14
|
-
const { pendingPromise } = scheduler[i];
|
15
|
-
pendingPromise.resolve?.([data[i], data]);
|
16
|
-
}
|
17
|
-
})
|
18
|
-
.catch((err) => {
|
19
|
-
for (let i = 0; i < scheduler.length; i++) {
|
20
|
-
const { pendingPromise } = scheduler[i];
|
21
|
-
pendingPromise.reject?.(err);
|
22
|
-
}
|
23
|
-
});
|
24
|
-
};
|
25
|
-
const flush = () => schedulerCache.delete(id);
|
26
|
-
const getBatchedArgs = () => getScheduler().map(({ args }) => args);
|
27
|
-
const getScheduler = () => schedulerCache.get(id) || [];
|
28
|
-
const setScheduler = (item) => schedulerCache.set(id, [...getScheduler(), item]);
|
29
|
-
return {
|
30
|
-
flush,
|
31
|
-
async schedule(args) {
|
32
|
-
const pendingPromise = {};
|
33
|
-
const promise = new Promise((resolve, reject) => {
|
34
|
-
pendingPromise.resolve = resolve;
|
35
|
-
pendingPromise.reject = reject;
|
36
|
-
});
|
37
|
-
const split = shouldSplitBatch?.([...getBatchedArgs(), args]);
|
38
|
-
if (split)
|
39
|
-
exec();
|
40
|
-
const hasActiveScheduler = getScheduler().length > 0;
|
41
|
-
if (hasActiveScheduler) {
|
42
|
-
setScheduler({ args, pendingPromise });
|
43
|
-
return promise;
|
44
|
-
}
|
45
|
-
setScheduler({ args, pendingPromise });
|
46
|
-
setTimeout(exec, wait);
|
47
|
-
return promise;
|
48
|
-
},
|
49
|
-
};
|
50
|
-
}
|
51
|
-
//# sourceMappingURL=createBatchScheduler.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"createBatchScheduler.js","sourceRoot":"","sources":["../../../utils/promise/createBatchScheduler.ts"],"names":[],"mappings":"AA0CA,MAAM,cAAc,GAAG,aAAa,CAAC,IAAI,GAAG,EAAoC,CAAA;AAEhF,MAAM,UAAU,oBAAoB,CAGlC,EACA,EAAE,EACF,EAAE,EACF,gBAAgB,EAChB,IAAI,GAAG,CAAC,EACR,IAAI,GAIL;IACC,MAAM,IAAI,GAAG,KAAK,IAAI,EAAE;QACtB,MAAM,SAAS,GAAG,YAAY,EAAE,CAAA;QAChC,KAAK,EAAE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,cAAc,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,EAAE,CAAA;IAEvD,MAAM,YAAY,GAAG,CAAC,IAAmB,EAAE,EAAE,CAC3C,cAAc,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,GAAG,YAAY,EAAE,EAAE,IAAI,CAAC,CAAC,CAAA;IAEnD,OAAO;QACL,KAAK;QACL,KAAK,CAAC,QAAQ,CAAC,IAAiB;YAC9B,MAAM,cAAc,GAAgC,EAAE,CAAA;YACtD,MAAM,OAAO,GAAG,IAAI,OAAO,CAAwB,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;gBACrE,cAAc,CAAC,OAAO,GAAG,OAAO,CAAA;gBAChC,cAAc,CAAC,MAAM,GAAG,MAAM,CAAA;YAChC,CAAC,CAAC,CAAA;YAEF,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC,CAAC,GAAG,cAAc,EAAE,EAAE,IAAI,CAAC,CAAC,CAAA;YAE7D,IAAI,KAAK;gBAAE,IAAI,EAAE,CAAA;YAEjB,MAAM,kBAAkB,GAAG,YAAY,EAAE,CAAC,MAAM,GAAG,CAAC,CAAA;YACpD,IAAI,kBAAkB,EAAE,CAAC;gBACvB,YAAY,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAA;gBACtC,OAAO,OAAO,CAAA;YAChB,CAAC;YAED,YAAY,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAA;YACtC,UAAU,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;YACtB,OAAO,OAAO,CAAA;QAChB,CAAC;KACqE,CAAA;AAC1E,CAAC"}
|
@@ -1,55 +0,0 @@
|
|
1
|
-
export const promiseCache = /*#__PURE__*/ new Map();
|
2
|
-
export const responseCache = /*#__PURE__*/ new Map();
|
3
|
-
export function getCache(cacheKey) {
|
4
|
-
const buildCache = (cacheKey, cache) => ({
|
5
|
-
clear: () => cache.delete(cacheKey),
|
6
|
-
get: () => cache.get(cacheKey),
|
7
|
-
set: (data) => cache.set(cacheKey, data),
|
8
|
-
});
|
9
|
-
const promise = buildCache(cacheKey, promiseCache);
|
10
|
-
const response = buildCache(cacheKey, responseCache);
|
11
|
-
return {
|
12
|
-
clear: () => {
|
13
|
-
promise.clear();
|
14
|
-
response.clear();
|
15
|
-
},
|
16
|
-
promise,
|
17
|
-
response,
|
18
|
-
};
|
19
|
-
}
|
20
|
-
/**
|
21
|
-
* @description Returns the result of a given promise, and caches the result for
|
22
|
-
* subsequent invocations against a provided cache key.
|
23
|
-
*/
|
24
|
-
export async function withCache(fn, { cacheKey, cacheTime = Infinity }) {
|
25
|
-
const cache = getCache(cacheKey);
|
26
|
-
// If a response exists in the cache, and it's not expired, return it
|
27
|
-
// and do not invoke the promise.
|
28
|
-
// If the max age is 0, the cache is disabled.
|
29
|
-
const response = cache.response.get();
|
30
|
-
if (response && cacheTime > 0) {
|
31
|
-
const age = new Date().getTime() - response.created.getTime();
|
32
|
-
if (age < cacheTime)
|
33
|
-
return response.data;
|
34
|
-
}
|
35
|
-
let promise = cache.promise.get();
|
36
|
-
if (!promise) {
|
37
|
-
promise = fn();
|
38
|
-
// Store the promise in the cache so that subsequent invocations
|
39
|
-
// will wait for the same promise to resolve (deduping).
|
40
|
-
cache.promise.set(promise);
|
41
|
-
}
|
42
|
-
try {
|
43
|
-
const data = await promise;
|
44
|
-
// Store the response in the cache so that subsequent invocations
|
45
|
-
// will return the same response.
|
46
|
-
cache.response.set({ created: new Date(), data });
|
47
|
-
return data;
|
48
|
-
}
|
49
|
-
finally {
|
50
|
-
// Clear the promise cache so that subsequent invocations will
|
51
|
-
// invoke the promise again.
|
52
|
-
cache.promise.clear();
|
53
|
-
}
|
54
|
-
}
|
55
|
-
//# sourceMappingURL=withCache.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"withCache.js","sourceRoot":"","sources":["../../../utils/promise/withCache.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,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E,CAAA;QAC7D,IAAI,GAAG,GAAG,SAAS;YAAE,OAAO,QAAQ,CAAC,IAAI,CAAA;IAC3C,CAAC;IAED,IAAI,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAA;IACjC,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,GAAG,EAAE,EAAE,CAAA;QAEd,gEAAgE;QAChE,wDAAwD;QACxD,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;IAC5B,CAAC;IAED,IAAI,CAAC;QACH,MAAM,IAAI,GAAG,MAAM,OAAO,CAAA;QAE1B,iEAAiE;QACjE,iCAAiC;QACjC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,OAAO,EAAE,IAAI,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC,CAAA;QAEjD,OAAO,IAAI,CAAA;IACb,CAAC;YAAS,CAAC;QACT,8DAA8D;QAC9D,4BAA4B;QAC5B,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,CAAA;IACvB,CAAC;AACH,CAAC"}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
import { wait } from '../wait.js';
|
2
|
-
export function withRetry(fn, { delay: delay_ = 100, retryCount = 2, shouldRetry = () => true, } = {}) {
|
3
|
-
return new Promise((resolve, reject) => {
|
4
|
-
const attemptRetry = async ({ count = 0 } = {}) => {
|
5
|
-
const retry = async ({ error }) => {
|
6
|
-
const delay = typeof delay_ === 'function' ? delay_({ count, error }) : delay_;
|
7
|
-
if (delay)
|
8
|
-
await wait(delay);
|
9
|
-
attemptRetry({ count: count + 1 });
|
10
|
-
};
|
11
|
-
try {
|
12
|
-
const data = await fn();
|
13
|
-
resolve(data);
|
14
|
-
}
|
15
|
-
catch (err) {
|
16
|
-
if (count < retryCount &&
|
17
|
-
(await shouldRetry({ count, error: err })))
|
18
|
-
return retry({ error: err });
|
19
|
-
reject(err);
|
20
|
-
}
|
21
|
-
};
|
22
|
-
attemptRetry();
|
23
|
-
});
|
24
|
-
}
|
25
|
-
//# sourceMappingURL=withRetry.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"withRetry.js","sourceRoot":"","sources":["../../../utils/promise/withRetry.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AAIjC,MAAM,UAAU,SAAS,CACvB,EAAwB,EACxB,EACE,KAAK,EAAE,MAAM,GAAG,GAAG,EACnB,UAAU,GAAG,CAAC,EACd,WAAW,GAAG,GAAG,EAAE,CAAC,IAAI,MActB,EAAE;IAEN,OAAO,IAAI,OAAO,CAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QAC5C,MAAM,YAAY,GAAG,KAAK,EAAE,EAAE,KAAK,GAAG,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE;YAChD,MAAM,KAAK,GAAG,KAAK,EAAE,EAAE,KAAK,EAAoB,EAAE,EAAE;gBAClD,MAAM,KAAK,GACT,OAAO,MAAM,KAAK,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,CAAA;gBAClE,IAAI,KAAK;oBAAE,MAAM,IAAI,CAAC,KAAK,CAAC,CAAA;gBAC5B,YAAY,CAAC,EAAE,KAAK,EAAE,KAAK,GAAG,CAAC,EAAE,CAAC,CAAA;YACpC,CAAC,CAAA;YAED,IAAI,CAAC;gBACH,MAAM,IAAI,GAAG,MAAM,EAAE,EAAE,CAAA;gBACvB,OAAO,CAAC,IAAI,CAAC,CAAA;YACf,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,IACE,KAAK,GAAG,UAAU;oBAClB,CAAC,MAAM,WAAW,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,GAAY,EAAE,CAAC,CAAC;oBAEnD,OAAO,KAAK,CAAC,EAAE,KAAK,EAAE,GAAY,EAAE,CAAC,CAAA;gBACvC,MAAM,CAAC,GAAG,CAAC,CAAA;YACb,CAAC;QACH,CAAC,CAAA;QACD,YAAY,EAAE,CAAA;IAChB,CAAC,CAAC,CAAA;AACJ,CAAC"}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
export function withTimeout(fn, { errorInstance = new Error('timed out'), timeout, signal, }) {
|
2
|
-
return new Promise((resolve, reject) => {
|
3
|
-
;
|
4
|
-
(async () => {
|
5
|
-
let timeoutId;
|
6
|
-
try {
|
7
|
-
const controller = new AbortController();
|
8
|
-
if (timeout > 0) {
|
9
|
-
timeoutId = setTimeout(() => {
|
10
|
-
if (signal) {
|
11
|
-
controller.abort();
|
12
|
-
}
|
13
|
-
else {
|
14
|
-
reject(errorInstance);
|
15
|
-
}
|
16
|
-
}, timeout);
|
17
|
-
}
|
18
|
-
resolve(await fn({ signal: controller?.signal }));
|
19
|
-
}
|
20
|
-
catch (err) {
|
21
|
-
if (err.name === 'AbortError')
|
22
|
-
reject(errorInstance);
|
23
|
-
reject(err);
|
24
|
-
}
|
25
|
-
finally {
|
26
|
-
clearTimeout(timeoutId);
|
27
|
-
}
|
28
|
-
})();
|
29
|
-
});
|
30
|
-
}
|
31
|
-
//# sourceMappingURL=withTimeout.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"withTimeout.js","sourceRoot":"","sources":["../../../utils/promise/withTimeout.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,WAAW,CACzB,EAA0E,EAC1E,EACE,aAAa,GAAG,IAAI,KAAK,CAAC,WAAW,CAAC,EACtC,OAAO,EACP,MAAM,GAQP;IAED,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACrC,CAAC;QAAA,CAAC,KAAK,IAAI,EAAE;YACX,IAAI,SAA0B,CAAA;YAC9B,IAAI,CAAC;gBACH,MAAM,UAAU,GAAG,IAAI,eAAe,EAAE,CAAA;gBACxC,IAAI,OAAO,GAAG,CAAC,EAAE,CAAC;oBAChB,SAAS,GAAG,UAAU,CAAC,GAAG,EAAE;wBAC1B,IAAI,MAAM,EAAE,CAAC;4BACX,UAAU,CAAC,KAAK,EAAE,CAAA;wBACpB,CAAC;6BAAM,CAAC;4BACN,MAAM,CAAC,aAAa,CAAC,CAAA;wBACvB,CAAC;oBACH,CAAC,EAAE,OAAO,CAAC,CAAA;gBACb,CAAC;gBACD,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,CAAC,CAAA;YACnD,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,IAAK,GAAa,CAAC,IAAI,KAAK,YAAY;oBAAE,MAAM,CAAC,aAAa,CAAC,CAAA;gBAC/D,MAAM,CAAC,GAAG,CAAC,CAAA;YACb,CAAC;oBAAS,CAAC;gBACT,YAAY,CAAC,SAAS,CAAC,CAAA;YACzB,CAAC;QACH,CAAC,CAAC,EAAE,CAAA;IACN,CAAC,CAAC,CAAA;AACJ,CAAC"}
|
package/_esm/utils/regex.js
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
export const arrayRegex = /^(.*)\[([0-9]*)\]$/;
|
2
|
-
// `bytes<M>`: binary type of `M` bytes, `0 < M <= 32`
|
3
|
-
// https://regexr.com/6va55
|
4
|
-
export const bytesRegex = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;
|
5
|
-
// `(u)int<M>`: (un)signed integer type of `M` bits, `0 < M <= 256`, `M % 8 == 0`
|
6
|
-
// https://regexr.com/6v8hp
|
7
|
-
export const integerRegex = /^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;
|
8
|
-
//# sourceMappingURL=regex.js.map
|
package/_esm/utils/regex.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"regex.js","sourceRoot":"","sources":["../../utils/regex.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG,oBAAoB,CAAA;AAE9C,sDAAsD;AACtD,2BAA2B;AAC3B,MAAM,CAAC,MAAM,UAAU,GAAG,sCAAsC,CAAA;AAEhE,iFAAiF;AACjF,2BAA2B;AAC3B,MAAM,CAAC,MAAM,YAAY,GACvB,gIAAgI,CAAA"}
|
package/_esm/utils/rpc.js
DELETED
@@ -1,160 +0,0 @@
|
|
1
|
-
import { WebSocket } from 'isows';
|
2
|
-
import { HttpRequestError, TimeoutError, WebSocketRequestError, } from '../errors/request.js';
|
3
|
-
import { createBatchScheduler, } from './promise/createBatchScheduler.js';
|
4
|
-
import { withTimeout, } from './promise/withTimeout.js';
|
5
|
-
import { stringify } from './stringify.js';
|
6
|
-
let id = 0;
|
7
|
-
async function http(url, { body, fetchOptions = {}, timeout = 10000 }) {
|
8
|
-
const { headers, method, signal: signal_ } = fetchOptions;
|
9
|
-
try {
|
10
|
-
const response = await withTimeout(async ({ signal }) => {
|
11
|
-
const response = await fetch(url, {
|
12
|
-
...fetchOptions,
|
13
|
-
body: Array.isArray(body)
|
14
|
-
? stringify(body.map((body) => ({
|
15
|
-
jsonrpc: '2.0',
|
16
|
-
id: body.id ?? id++,
|
17
|
-
...body,
|
18
|
-
})))
|
19
|
-
: stringify({ jsonrpc: '2.0', id: body.id ?? id++, ...body }),
|
20
|
-
headers: {
|
21
|
-
...headers,
|
22
|
-
'Content-Type': 'application/json',
|
23
|
-
},
|
24
|
-
method: method || 'POST',
|
25
|
-
signal: signal_ || (timeout > 0 ? signal : undefined),
|
26
|
-
});
|
27
|
-
return response;
|
28
|
-
}, {
|
29
|
-
errorInstance: new TimeoutError({ body, url }),
|
30
|
-
timeout,
|
31
|
-
signal: true,
|
32
|
-
});
|
33
|
-
let data;
|
34
|
-
if (response.headers.get('Content-Type')?.startsWith('application/json')) {
|
35
|
-
data = await response.json();
|
36
|
-
}
|
37
|
-
else {
|
38
|
-
data = await response.text();
|
39
|
-
}
|
40
|
-
if (!response.ok) {
|
41
|
-
throw new HttpRequestError({
|
42
|
-
body,
|
43
|
-
details: stringify(data.error) || response.statusText,
|
44
|
-
headers: response.headers,
|
45
|
-
status: response.status,
|
46
|
-
url,
|
47
|
-
});
|
48
|
-
}
|
49
|
-
return data;
|
50
|
-
}
|
51
|
-
catch (err) {
|
52
|
-
if (err instanceof HttpRequestError)
|
53
|
-
throw err;
|
54
|
-
if (err instanceof TimeoutError)
|
55
|
-
throw err;
|
56
|
-
throw new HttpRequestError({
|
57
|
-
body,
|
58
|
-
details: err.message,
|
59
|
-
url,
|
60
|
-
});
|
61
|
-
}
|
62
|
-
}
|
63
|
-
export const socketsCache = /*#__PURE__*/ new Map();
|
64
|
-
export async function getSocket(url) {
|
65
|
-
let socket = socketsCache.get(url);
|
66
|
-
// If the socket already exists, return it.
|
67
|
-
if (socket)
|
68
|
-
return socket;
|
69
|
-
const { schedule } = createBatchScheduler({
|
70
|
-
id: url,
|
71
|
-
fn: async () => {
|
72
|
-
const webSocket = new WebSocket(url);
|
73
|
-
// Set up a cache for incoming "synchronous" requests.
|
74
|
-
const requests = new Map();
|
75
|
-
// Set up a cache for subscriptions (eth_subscribe).
|
76
|
-
const subscriptions = new Map();
|
77
|
-
const onMessage = ({ data }) => {
|
78
|
-
const message = JSON.parse(data);
|
79
|
-
const isSubscription = message.method === 'eth_subscription';
|
80
|
-
const id = isSubscription ? message.params.subscription : message.id;
|
81
|
-
const cache = isSubscription ? subscriptions : requests;
|
82
|
-
const callback = cache.get(id);
|
83
|
-
if (callback)
|
84
|
-
callback({ data });
|
85
|
-
if (!isSubscription)
|
86
|
-
cache.delete(id);
|
87
|
-
};
|
88
|
-
const onClose = () => {
|
89
|
-
socketsCache.delete(url);
|
90
|
-
webSocket.removeEventListener('close', onClose);
|
91
|
-
webSocket.removeEventListener('message', onMessage);
|
92
|
-
};
|
93
|
-
// Setup event listeners for RPC & subscription responses.
|
94
|
-
webSocket.addEventListener('close', onClose);
|
95
|
-
webSocket.addEventListener('message', onMessage);
|
96
|
-
// Wait for the socket to open.
|
97
|
-
if (webSocket.readyState === WebSocket.CONNECTING) {
|
98
|
-
await new Promise((resolve, reject) => {
|
99
|
-
if (!webSocket)
|
100
|
-
return;
|
101
|
-
webSocket.onopen = resolve;
|
102
|
-
webSocket.onerror = reject;
|
103
|
-
});
|
104
|
-
}
|
105
|
-
// Create a new socket instance.
|
106
|
-
socket = Object.assign(webSocket, {
|
107
|
-
requests,
|
108
|
-
subscriptions,
|
109
|
-
});
|
110
|
-
socketsCache.set(url, socket);
|
111
|
-
return [socket];
|
112
|
-
},
|
113
|
-
});
|
114
|
-
const [_, [socket_]] = await schedule();
|
115
|
-
return socket_;
|
116
|
-
}
|
117
|
-
function webSocket(socket, { body, onResponse }) {
|
118
|
-
if (socket.readyState === socket.CLOSED ||
|
119
|
-
socket.readyState === socket.CLOSING)
|
120
|
-
throw new WebSocketRequestError({
|
121
|
-
body,
|
122
|
-
url: socket.url,
|
123
|
-
details: 'Socket is closed.',
|
124
|
-
});
|
125
|
-
const id_ = id++;
|
126
|
-
const callback = ({ data }) => {
|
127
|
-
const message = JSON.parse(data);
|
128
|
-
if (typeof message.id === 'number' && id_ !== message.id)
|
129
|
-
return;
|
130
|
-
onResponse?.(message);
|
131
|
-
// If we are subscribing to a topic, we want to set up a listener for incoming
|
132
|
-
// messages.
|
133
|
-
if (body.method === 'eth_subscribe' && typeof message.result === 'string') {
|
134
|
-
socket.subscriptions.set(message.result, callback);
|
135
|
-
}
|
136
|
-
// If we are unsubscribing from a topic, we want to remove the listener.
|
137
|
-
if (body.method === 'eth_unsubscribe') {
|
138
|
-
socket.subscriptions.delete(body.params?.[0]);
|
139
|
-
}
|
140
|
-
};
|
141
|
-
socket.requests.set(id_, callback);
|
142
|
-
socket.send(JSON.stringify({ jsonrpc: '2.0', ...body, id: id_ }));
|
143
|
-
return socket;
|
144
|
-
}
|
145
|
-
async function webSocketAsync(socket, { body, timeout = 10000 }) {
|
146
|
-
return withTimeout(() => new Promise((onResponse) => rpc.webSocket(socket, {
|
147
|
-
body,
|
148
|
-
onResponse,
|
149
|
-
})), {
|
150
|
-
errorInstance: new TimeoutError({ body, url: socket.url }),
|
151
|
-
timeout,
|
152
|
-
});
|
153
|
-
}
|
154
|
-
///////////////////////////////////////////////////
|
155
|
-
export const rpc = {
|
156
|
-
http,
|
157
|
-
webSocket,
|
158
|
-
webSocketAsync,
|
159
|
-
};
|
160
|
-
//# sourceMappingURL=rpc.js.map
|
package/_esm/utils/rpc.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"rpc.js","sourceRoot":"","sources":["../../utils/rpc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGjC,OAAO,EACL,gBAAgB,EAEhB,YAAY,EAEZ,qBAAqB,GACtB,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EAEL,oBAAoB,GACrB,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EAEL,WAAW,GACZ,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE1C,IAAI,EAAE,GAAG,CAAC,CAAA;AAgEV,KAAK,UAAU,IAAI,CACjB,GAAW,EACX,EAAE,IAAI,EAAE,YAAY,GAAG,EAAE,EAAE,OAAO,GAAG,KAAM,EAAsB;IAEjE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,YAAY,CAAA;IACzD,IAAI,CAAC;QACH,MAAM,QAAQ,GAAG,MAAM,WAAW,CAChC,KAAK,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;YACnB,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,GAAG,EAAE;gBAChC,GAAG,YAAY;gBACf,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;oBACvB,CAAC,CAAC,SAAS,CACP,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;wBAClB,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C,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,CAAA;IAEjE,OAAO,MAAM,CAAA;AACf,CAAC;AAiBD,KAAK,UAAU,cAAc,CAC3B,MAAc,EACd,EAAE,IAAI,EAAE,OAAO,GAAG,KAAM,EAAyB;IAEjD,OAAO,WAAW,CAChB,GAAG,EAAE,CACH,IAAI,OAAO,CAAc,CAAC,UAAU,EAAE,EAAE,CACtC,GAAG,CAAC,SAAS,CAAC,MAAM,EAAE;QACpB,IAAI;QACJ,UAAU;KACX,CAAC,CACH,EACH;QACE,aAAa,EAAE,IAAI,YAAY,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,CAAC,GAAG,EAAE,CAAC;QAC1D,OAAO;KACR,CACF,CAAA;AACH,CAAC;AAED,mDAAmD;AAEnD,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,IAAI;IACJ,SAAS;IACT,cAAc;CACf,CAAA"}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import { secp256k1 } from '@noble/curves/secp256k1';
|
2
|
-
import { hexToBigInt } from '../encoding/fromHex.js';
|
3
|
-
/**
|
4
|
-
* @description Converts an [EIP-2098 compact signature](https://eips.ethereum.org/EIPS/eip-2098) into hex format.
|
5
|
-
*
|
6
|
-
* @param signature The compact signature to convert.
|
7
|
-
* @returns The compact signature in hex format.
|
8
|
-
*
|
9
|
-
* @example
|
10
|
-
* compactSignatureToHex({
|
11
|
-
* r: '0x68a020a209d3d56c46f38cc50a33f704f4a9a10a59377f8dd762ac66910e9b90',
|
12
|
-
* yParityAndS: '0x7e865ad05c4035ab5792787d4a0297a43617ae897930a6fe4d822b8faea52064',
|
13
|
-
* })
|
14
|
-
* // "0x6e100a352ec6ad1b70802290e18aeed190704973570f3b8ed42cb9808e2ea6bf4a90a229a244495b41890987806fcbd2d5d23fc0dbe5f5256c2613c039d76db81c"
|
15
|
-
*/
|
16
|
-
export function compactSignatureToHex({ r, yParityAndS, }) {
|
17
|
-
return `0x${new secp256k1.Signature(hexToBigInt(r), hexToBigInt(yParityAndS)).toCompactHex()}`;
|
18
|
-
}
|
19
|
-
//# sourceMappingURL=compactSignatureToHex.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"compactSignatureToHex.js","sourceRoot":"","sources":["../../../utils/signature/compactSignatureToHex.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAGnD,OAAO,EAA6B,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAI/E;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,qBAAqB,CAAC,EACpC,CAAC,EACD,WAAW,GACM;IACjB,OAAO,KAAK,IAAI,SAAS,CAAC,SAAS,CACjC,WAAW,CAAC,CAAC,CAAC,EACd,WAAW,CAAC,WAAW,CAAC,CACzB,CAAC,YAAY,EAAE,EAAE,CAAA;AACpB,CAAC"}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { hexToBytes } from '../encoding/toBytes.js';
|
2
|
-
import { bytesToHex } from '../encoding/toHex.js';
|
3
|
-
/**
|
4
|
-
* @description Converts an [EIP-2098 compact signature](https://eips.ethereum.org/EIPS/eip-2098) into signature format.
|
5
|
-
*
|
6
|
-
* @param signature The compact signature to convert.
|
7
|
-
* @returns The compact signature in signature format.
|
8
|
-
*
|
9
|
-
* @example
|
10
|
-
* compactSignatureToHex({
|
11
|
-
* r: '0x68a020a209d3d56c46f38cc50a33f704f4a9a10a59377f8dd762ac66910e9b90',
|
12
|
-
* yParityAndS: '0x7e865ad05c4035ab5792787d4a0297a43617ae897930a6fe4d822b8faea52064',
|
13
|
-
* })
|
14
|
-
* // {
|
15
|
-
* // r: '0x68a020a209d3d56c46f38cc50a33f704f4a9a10a59377f8dd762ac66910e9b90',
|
16
|
-
* // s: '0x7e865ad05c4035ab5792787d4a0297a43617ae897930a6fe4d822b8faea52064',
|
17
|
-
* // v: 27n
|
18
|
-
* // }
|
19
|
-
*/
|
20
|
-
export function compactSignatureToSignature({ r, yParityAndS, }) {
|
21
|
-
const yParityAndS_bytes = hexToBytes(yParityAndS);
|
22
|
-
const v = yParityAndS_bytes[0] & 0x80 ? 28n : 27n;
|
23
|
-
const s = yParityAndS_bytes;
|
24
|
-
if (v === 28n)
|
25
|
-
s[0] &= 0x7f;
|
26
|
-
return { r, s: bytesToHex(s), v };
|
27
|
-
}
|
28
|
-
//# sourceMappingURL=compactSignatureToSignature.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"compactSignatureToSignature.js","sourceRoot":"","sources":["../../../utils/signature/compactSignatureToSignature.ts"],"names":[],"mappings":"AAEA,OAAO,EAA4B,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAC7E,OAAO,EAA4B,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAO3E;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,2BAA2B,CAAC,EAC1C,CAAC,EACD,WAAW,GACM;IACjB,MAAM,iBAAiB,GAAG,UAAU,CAAC,WAAW,CAAC,CAAA;IACjD,MAAM,CAAC,GAAG,iBAAiB,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAA;IACjD,MAAM,CAAC,GAAG,iBAAiB,CAAA;IAC3B,IAAI,CAAC,KAAK,GAAG;QAAE,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAA;IAC3B,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAA;AACnC,CAAC"}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { presignMessagePrefix } from '../../constants/strings.js';
|
2
|
-
import { concat } from '../data/concat.js';
|
3
|
-
import { stringToBytes, toBytes, } from '../encoding/toBytes.js';
|
4
|
-
import { keccak256 } from '../hash/keccak256.js';
|
5
|
-
export function hashMessage(message, to_) {
|
6
|
-
const messageBytes = (() => {
|
7
|
-
if (typeof message === 'string')
|
8
|
-
return stringToBytes(message);
|
9
|
-
if (message.raw instanceof Uint8Array)
|
10
|
-
return message.raw;
|
11
|
-
return toBytes(message.raw);
|
12
|
-
})();
|
13
|
-
const prefixBytes = stringToBytes(`${presignMessagePrefix}${messageBytes.length}`);
|
14
|
-
return keccak256(concat([prefixBytes, messageBytes]), to_);
|
15
|
-
}
|
16
|
-
//# sourceMappingURL=hashMessage.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"hashMessage.js","sourceRoot":"","sources":["../../../utils/signature/hashMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AAGjE,OAAO,EAAwB,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAChE,OAAO,EAGL,aAAa,EACb,OAAO,GACR,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAA2B,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAezE,MAAM,UAAU,WAAW,CACzB,OAAwB,EACxB,GAAS;IAET,MAAM,YAAY,GAAG,CAAC,GAAG,EAAE;QACzB,IAAI,OAAO,OAAO,KAAK,QAAQ;YAAE,OAAO,aAAa,CAAC,OAAO,CAAC,CAAA;QAC9D,IAAI,OAAO,CAAC,GAAG,YAAY,UAAU;YAAE,OAAO,OAAO,CAAC,GAAG,CAAA;QACzD,OAAO,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;IAC7B,CAAC,CAAC,EAAE,CAAA;IACJ,MAAM,WAAW,GAAG,aAAa,CAC/B,GAAG,oBAAoB,GAAG,YAAY,CAAC,MAAM,EAAE,CAChD,CAAA;IACD,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC,EAAE,GAAG,CAAC,CAAA;AAC5D,CAAC"}
|