viem 2.0.0-beta.12 → 2.0.0-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_cjs/accounts/toAccount.js.map +1 -1
- package/_cjs/actions/ens/getEnsAddress.js.map +1 -1
- package/_cjs/actions/ens/getEnsAvatar.js.map +1 -1
- package/_cjs/actions/ens/getEnsName.js.map +1 -1
- package/_cjs/actions/ens/getEnsResolver.js.map +1 -1
- package/_cjs/actions/ens/getEnsText.js.map +1 -1
- package/_cjs/actions/getContract.js.map +1 -1
- package/_cjs/actions/public/call.js.map +1 -1
- package/_cjs/actions/public/createEventFilter.js.map +1 -1
- package/_cjs/actions/public/estimateContractGas.js.map +1 -1
- package/_cjs/actions/public/estimateFeesPerGas.js.map +1 -1
- package/_cjs/actions/public/estimateGas.js.map +1 -1
- package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
- package/_cjs/actions/public/getBlock.js.map +1 -1
- package/_cjs/actions/public/getBlockTransactionCount.js.map +1 -1
- package/_cjs/actions/public/getLogs.js.map +1 -1
- package/_cjs/actions/public/getTransaction.js.map +1 -1
- package/_cjs/actions/public/multicall.js.map +1 -1
- package/_cjs/actions/public/readContract.js.map +1 -1
- package/_cjs/actions/public/simulateContract.js.map +1 -1
- package/_cjs/actions/public/verifyHash.js.map +1 -1
- package/_cjs/actions/public/waitForTransactionReceipt.js.map +1 -1
- package/_cjs/actions/public/watchBlockNumber.js.map +1 -1
- package/_cjs/actions/public/watchBlocks.js.map +1 -1
- package/_cjs/actions/public/watchContractEvent.js.map +1 -1
- package/_cjs/actions/public/watchEvent.js.map +1 -1
- package/_cjs/actions/public/watchPendingTransactions.js.map +1 -1
- package/_cjs/actions/test/setAutomine.js.map +1 -1
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_cjs/actions/wallet/sendTransaction.js.map +1 -1
- package/_cjs/chains/celo/formatters.js.map +1 -1
- package/_cjs/chains/celo/parsers.js.map +1 -1
- package/_cjs/chains/celo/serializers.js.map +1 -1
- package/_cjs/chains/celo/utils.js.map +1 -1
- package/_cjs/chains/opStack/actions/estimateContractL1Fee.js.map +1 -1
- package/_cjs/chains/opStack/actions/estimateContractL1Gas.js.map +1 -1
- package/_cjs/chains/opStack/actions/estimateContractTotalFee.js.map +1 -1
- package/_cjs/chains/opStack/actions/estimateContractTotalGas.js.map +1 -1
- package/_cjs/chains/opStack/formatters.js.map +1 -1
- package/_cjs/chains/zksync/serializers.js.map +1 -1
- package/_cjs/clients/transports/fallback.js.map +1 -1
- package/_cjs/clients/transports/webSocket.js.map +1 -1
- package/_cjs/errors/contract.js.map +1 -1
- package/_cjs/errors/node.js +11 -11
- package/_cjs/errors/node.js.map +1 -1
- package/_cjs/errors/rpc.js +18 -18
- package/_cjs/errors/rpc.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/package.json +1 -0
- package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
- package/_cjs/utils/abi/decodeEventLog.js.map +1 -1
- package/_cjs/utils/abi/decodeFunctionResult.js.map +1 -1
- package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -1
- package/_cjs/utils/abi/encodeErrorResult.js.map +1 -1
- package/_cjs/utils/abi/encodeEventTopics.js.map +1 -1
- package/_cjs/utils/abi/encodeFunctionData.js.map +1 -1
- package/_cjs/utils/abi/encodeFunctionResult.js.map +1 -1
- package/_cjs/utils/abi/encodePacked.js.map +1 -1
- package/_cjs/utils/abi/formatAbiItem.js.map +1 -1
- package/_cjs/utils/abi/getAbiItem.js.map +1 -1
- package/_cjs/utils/abi/parseEventLogs.js.map +1 -1
- package/_cjs/utils/address/getAddress.js.map +1 -1
- package/_cjs/utils/address/getContractAddress.js.map +1 -1
- package/_cjs/utils/buildRequest.js.map +1 -1
- package/_cjs/utils/ccip.js.map +1 -1
- package/_cjs/utils/data/concat.js.map +1 -1
- package/_cjs/utils/data/pad.js.map +1 -1
- package/_cjs/utils/data/slice.js.map +1 -1
- package/_cjs/utils/data/trim.js.map +1 -1
- package/_cjs/utils/encoding/fromBytes.js.map +1 -1
- package/_cjs/utils/encoding/fromHex.js.map +1 -1
- package/_cjs/utils/encoding/fromRlp.js.map +1 -1
- package/_cjs/utils/encoding/toBytes.js.map +1 -1
- package/_cjs/utils/encoding/toHex.js.map +1 -1
- package/_cjs/utils/encoding/toRlp.js.map +1 -1
- package/_cjs/utils/ens/avatar/parseAvatarRecord.js.map +1 -1
- package/_cjs/utils/ens/avatar/utils.js.map +1 -1
- package/_cjs/utils/ens/namehash.js.map +1 -1
- package/_cjs/utils/ens/packetToBytes.js.map +1 -1
- package/_cjs/utils/errors/getContractError.js.map +1 -1
- package/_cjs/utils/errors/getNodeError.js.map +1 -1
- package/_cjs/utils/formatters/extract.js.map +1 -1
- package/_cjs/utils/formatters/formatter.js.map +1 -1
- package/_cjs/utils/formatters/transaction.js.map +1 -1
- package/_cjs/utils/hash/normalizeSignature.js.map +1 -1
- package/_cjs/utils/observe.js.map +1 -1
- package/_cjs/utils/promise/createBatchScheduler.js.map +1 -1
- package/_cjs/utils/promise/withCache.js.map +1 -1
- package/_cjs/utils/promise/withRetry.js.map +1 -1
- package/_cjs/utils/promise/withTimeout.js.map +1 -1
- package/_cjs/utils/rpc.js.map +1 -1
- package/_cjs/utils/signature/hashTypedData.js.map +1 -1
- package/_cjs/utils/signature/signatureToCompactSignature.js.map +1 -1
- package/_cjs/utils/transaction/getTransactionType.js.map +1 -1
- package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
- package/_cjs/utils/transaction/serializeAccessList.js.map +1 -1
- package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
- package/_cjs/utils/typedData.js.map +1 -1
- package/_cjs/utils/uid.js.map +1 -1
- package/_cjs/utils/unit/parseUnits.js.map +1 -1
- package/_esm/accounts/generateMnemonic.js +12 -0
- package/_esm/accounts/generateMnemonic.js.map +1 -0
- package/_esm/accounts/generatePrivateKey.js +11 -0
- package/_esm/accounts/generatePrivateKey.js.map +1 -0
- package/_esm/accounts/hdKeyToAccount.js +17 -0
- package/_esm/accounts/hdKeyToAccount.js.map +1 -0
- package/_esm/accounts/index.js +25 -0
- package/_esm/accounts/index.js.map +1 -0
- package/_esm/accounts/mnemonicToAccount.js +13 -0
- package/_esm/accounts/mnemonicToAccount.js.map +1 -0
- package/_esm/accounts/privateKeyToAccount.js +34 -0
- package/_esm/accounts/privateKeyToAccount.js.map +1 -0
- package/_esm/accounts/toAccount.js +28 -0
- package/_esm/accounts/toAccount.js.map +1 -0
- package/_esm/accounts/types.js +2 -0
- package/_esm/accounts/types.js.map +1 -0
- package/_esm/accounts/utils/parseAccount.js +6 -0
- package/_esm/accounts/utils/parseAccount.js.map +1 -0
- package/_esm/accounts/utils/privateKeyToAddress.js +15 -0
- package/_esm/accounts/utils/privateKeyToAddress.js.map +1 -0
- package/_esm/accounts/utils/publicKeyToAddress.js +14 -0
- package/_esm/accounts/utils/publicKeyToAddress.js.map +1 -0
- package/_esm/accounts/utils/sign.js +19 -0
- package/_esm/accounts/utils/sign.js.map +1 -0
- package/_esm/accounts/utils/signMessage.js +14 -0
- package/_esm/accounts/utils/signMessage.js.map +1 -0
- package/_esm/accounts/utils/signTransaction.js +11 -0
- package/_esm/accounts/utils/signTransaction.js.map +1 -0
- package/_esm/accounts/utils/signTypedData.js +18 -0
- package/_esm/accounts/utils/signTypedData.js.map +1 -0
- package/_esm/actions/ens/getEnsAddress.js +87 -0
- package/_esm/actions/ens/getEnsAddress.js.map +1 -0
- package/_esm/actions/ens/getEnsAvatar.js +49 -0
- package/_esm/actions/ens/getEnsAvatar.js.map +1 -0
- package/_esm/actions/ens/getEnsName.js +63 -0
- package/_esm/actions/ens/getEnsName.js.map +1 -0
- package/_esm/actions/ens/getEnsResolver.js +63 -0
- package/_esm/actions/ens/getEnsResolver.js.map +1 -0
- package/_esm/actions/ens/getEnsText.js +82 -0
- package/_esm/actions/ens/getEnsText.js.map +1 -0
- package/_esm/actions/getContract.js +214 -0
- package/_esm/actions/getContract.js.map +1 -0
- package/_esm/actions/index.js +82 -0
- package/_esm/actions/index.js.map +1 -0
- package/_esm/actions/public/call.js +182 -0
- package/_esm/actions/public/call.js.map +1 -0
- package/_esm/actions/public/createBlockFilter.js +32 -0
- package/_esm/actions/public/createBlockFilter.js.map +1 -0
- package/_esm/actions/public/createContractEventFilter.js +59 -0
- package/_esm/actions/public/createContractEventFilter.js.map +1 -0
- package/_esm/actions/public/createEventFilter.js +67 -0
- package/_esm/actions/public/createEventFilter.js.map +1 -0
- package/_esm/actions/public/createPendingTransactionFilter.js +32 -0
- package/_esm/actions/public/createPendingTransactionFilter.js.map +1 -0
- package/_esm/actions/public/estimateContractGas.js +60 -0
- package/_esm/actions/public/estimateContractGas.js.map +1 -0
- package/_esm/actions/public/estimateFeesPerGas.js +83 -0
- package/_esm/actions/public/estimateFeesPerGas.js.map +1 -0
- package/_esm/actions/public/estimateGas.js +73 -0
- package/_esm/actions/public/estimateGas.js.map +1 -0
- package/_esm/actions/public/estimateMaxPriorityFeePerGas.js +67 -0
- package/_esm/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -0
- package/_esm/actions/public/getBalance.js +45 -0
- package/_esm/actions/public/getBalance.js.map +1 -0
- package/_esm/actions/public/getBlock.js +50 -0
- package/_esm/actions/public/getBlock.js.map +1 -0
- package/_esm/actions/public/getBlockNumber.js +35 -0
- package/_esm/actions/public/getBlockNumber.js.map +1 -0
- package/_esm/actions/public/getBlockTransactionCount.js +43 -0
- package/_esm/actions/public/getBlockTransactionCount.js.map +1 -0
- package/_esm/actions/public/getBytecode.js +35 -0
- package/_esm/actions/public/getBytecode.js.map +1 -0
- package/_esm/actions/public/getChainId.js +29 -0
- package/_esm/actions/public/getChainId.js.map +1 -0
- package/_esm/actions/public/getContractEvents.js +49 -0
- package/_esm/actions/public/getContractEvents.js.map +1 -0
- package/_esm/actions/public/getFeeHistory.js +39 -0
- package/_esm/actions/public/getFeeHistory.js.map +1 -0
- package/_esm/actions/public/getFilterChanges.js +102 -0
- package/_esm/actions/public/getFilterChanges.js.map +1 -0
- package/_esm/actions/public/getFilterLogs.js +45 -0
- package/_esm/actions/public/getFilterLogs.js.map +1 -0
- package/_esm/actions/public/getGasPrice.js +27 -0
- package/_esm/actions/public/getGasPrice.js.map +1 -0
- package/_esm/actions/public/getLogs.js +71 -0
- package/_esm/actions/public/getLogs.js.map +1 -0
- package/_esm/actions/public/getProof.js +37 -0
- package/_esm/actions/public/getProof.js.map +1 -0
- package/_esm/actions/public/getStorageAt.js +34 -0
- package/_esm/actions/public/getStorageAt.js.map +1 -0
- package/_esm/actions/public/getTransaction.js +61 -0
- package/_esm/actions/public/getTransaction.js.map +1 -0
- package/_esm/actions/public/getTransactionConfirmations.js +40 -0
- package/_esm/actions/public/getTransactionConfirmations.js.map +1 -0
- package/_esm/actions/public/getTransactionCount.js +33 -0
- package/_esm/actions/public/getTransactionCount.js.map +1 -0
- package/_esm/actions/public/getTransactionReceipt.js +38 -0
- package/_esm/actions/public/getTransactionReceipt.js.map +1 -0
- package/_esm/actions/public/multicall.js +182 -0
- package/_esm/actions/public/multicall.js.map +1 -0
- package/_esm/actions/public/readContract.js +67 -0
- package/_esm/actions/public/readContract.js.map +1 -0
- package/_esm/actions/public/simulateContract.js +83 -0
- package/_esm/actions/public/simulateContract.js.map +1 -0
- package/_esm/actions/public/uninstallFilter.js +31 -0
- package/_esm/actions/public/uninstallFilter.js.map +1 -0
- package/_esm/actions/public/verifyHash.js +38 -0
- package/_esm/actions/public/verifyHash.js.map +1 -0
- package/_esm/actions/public/verifyMessage.js +23 -0
- package/_esm/actions/public/verifyMessage.js.map +1 -0
- package/_esm/actions/public/verifyTypedData.js +21 -0
- package/_esm/actions/public/verifyTypedData.js.map +1 -0
- package/_esm/actions/public/waitForTransactionReceipt.js +180 -0
- package/_esm/actions/public/waitForTransactionReceipt.js.map +1 -0
- package/_esm/actions/public/watchBlockNumber.js +105 -0
- package/_esm/actions/public/watchBlockNumber.js.map +1 -0
- package/_esm/actions/public/watchBlocks.js +120 -0
- package/_esm/actions/public/watchBlocks.js.map +1 -0
- package/_esm/actions/public/watchContractEvent.js +199 -0
- package/_esm/actions/public/watchContractEvent.js.map +1 -0
- package/_esm/actions/public/watchEvent.js +200 -0
- package/_esm/actions/public/watchEvent.js.map +1 -0
- package/_esm/actions/public/watchPendingTransactions.js +114 -0
- package/_esm/actions/public/watchPendingTransactions.js.map +1 -0
- package/_esm/actions/test/dropTransaction.js +29 -0
- package/_esm/actions/test/dropTransaction.js.map +1 -0
- package/_esm/actions/test/dumpState.js +26 -0
- package/_esm/actions/test/dumpState.js.map +1 -0
- package/_esm/actions/test/getAutomine.js +30 -0
- package/_esm/actions/test/getAutomine.js.map +1 -0
- package/_esm/actions/test/getTxpoolContent.js +26 -0
- package/_esm/actions/test/getTxpoolContent.js.map +1 -0
- package/_esm/actions/test/getTxpoolStatus.js +31 -0
- package/_esm/actions/test/getTxpoolStatus.js.map +1 -0
- package/_esm/actions/test/impersonateAccount.js +29 -0
- package/_esm/actions/test/impersonateAccount.js.map +1 -0
- package/_esm/actions/test/increaseTime.js +30 -0
- package/_esm/actions/test/increaseTime.js.map +1 -0
- package/_esm/actions/test/inspectTxpool.js +26 -0
- package/_esm/actions/test/inspectTxpool.js.map +1 -0
- package/_esm/actions/test/loadState.js +27 -0
- package/_esm/actions/test/loadState.js.map +1 -0
- package/_esm/actions/test/mine.js +34 -0
- package/_esm/actions/test/mine.js.map +1 -0
- package/_esm/actions/test/removeBlockTimestampInterval.js +25 -0
- package/_esm/actions/test/removeBlockTimestampInterval.js.map +1 -0
- package/_esm/actions/test/reset.js +27 -0
- package/_esm/actions/test/reset.js.map +1 -0
- package/_esm/actions/test/revert.js +27 -0
- package/_esm/actions/test/revert.js.map +1 -0
- package/_esm/actions/test/sendUnsignedTransaction.js +52 -0
- package/_esm/actions/test/sendUnsignedTransaction.js.map +1 -0
- package/_esm/actions/test/setAutomine.js +33 -0
- package/_esm/actions/test/setAutomine.js.map +1 -0
- package/_esm/actions/test/setBalance.js +37 -0
- package/_esm/actions/test/setBalance.js.map +1 -0
- package/_esm/actions/test/setBlockGasLimit.js +28 -0
- package/_esm/actions/test/setBlockGasLimit.js.map +1 -0
- package/_esm/actions/test/setBlockTimestampInterval.js +32 -0
- package/_esm/actions/test/setBlockTimestampInterval.js.map +1 -0
- package/_esm/actions/test/setCode.js +30 -0
- package/_esm/actions/test/setCode.js.map +1 -0
- package/_esm/actions/test/setCoinbase.js +29 -0
- package/_esm/actions/test/setCoinbase.js.map +1 -0
- package/_esm/actions/test/setIntervalMining.js +32 -0
- package/_esm/actions/test/setIntervalMining.js.map +1 -0
- package/_esm/actions/test/setLoggingEnabled.js +26 -0
- package/_esm/actions/test/setLoggingEnabled.js.map +1 -0
- package/_esm/actions/test/setMinGasPrice.js +32 -0
- package/_esm/actions/test/setMinGasPrice.js.map +1 -0
- package/_esm/actions/test/setNextBlockBaseFeePerGas.js +30 -0
- package/_esm/actions/test/setNextBlockBaseFeePerGas.js.map +1 -0
- package/_esm/actions/test/setNextBlockTimestamp.js +28 -0
- package/_esm/actions/test/setNextBlockTimestamp.js.map +1 -0
- package/_esm/actions/test/setNonce.js +31 -0
- package/_esm/actions/test/setNonce.js.map +1 -0
- package/_esm/actions/test/setRpcUrl.js +27 -0
- package/_esm/actions/test/setRpcUrl.js.map +1 -0
- package/_esm/actions/test/setStorageAt.js +36 -0
- package/_esm/actions/test/setStorageAt.js.map +1 -0
- package/_esm/actions/test/snapshot.js +25 -0
- package/_esm/actions/test/snapshot.js.map +1 -0
- package/_esm/actions/test/stopImpersonatingAccount.js +29 -0
- package/_esm/actions/test/stopImpersonatingAccount.js.map +1 -0
- package/_esm/actions/wallet/addChain.js +38 -0
- package/_esm/actions/wallet/addChain.js.map +1 -0
- package/_esm/actions/wallet/deployContract.js +38 -0
- package/_esm/actions/wallet/deployContract.js.map +1 -0
- package/_esm/actions/wallet/getAddresses.js +28 -0
- package/_esm/actions/wallet/getAddresses.js.map +1 -0
- package/_esm/actions/wallet/getPermissions.js +25 -0
- package/_esm/actions/wallet/getPermissions.js.map +1 -0
- package/_esm/actions/wallet/prepareTransactionRequest.js +114 -0
- package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -0
- package/_esm/actions/wallet/requestAddresses.js +30 -0
- package/_esm/actions/wallet/requestAddresses.js.map +1 -0
- package/_esm/actions/wallet/requestPermissions.js +30 -0
- package/_esm/actions/wallet/requestPermissions.js.map +1 -0
- package/_esm/actions/wallet/sendRawTransaction.js +31 -0
- package/_esm/actions/wallet/sendRawTransaction.js.map +1 -0
- package/_esm/actions/wallet/sendTransaction.js +130 -0
- package/_esm/actions/wallet/sendTransaction.js.map +1 -0
- package/_esm/actions/wallet/signMessage.js +70 -0
- package/_esm/actions/wallet/signMessage.js.map +1 -0
- package/_esm/actions/wallet/signTransaction.js +88 -0
- package/_esm/actions/wallet/signTransaction.js.map +1 -0
- package/_esm/actions/wallet/signTypedData.js +126 -0
- package/_esm/actions/wallet/signTypedData.js.map +1 -0
- package/_esm/actions/wallet/switchChain.js +32 -0
- package/_esm/actions/wallet/switchChain.js.map +1 -0
- package/_esm/actions/wallet/watchAsset.js +36 -0
- package/_esm/actions/wallet/watchAsset.js.map +1 -0
- package/_esm/actions/wallet/writeContract.js +67 -0
- package/_esm/actions/wallet/writeContract.js.map +1 -0
- package/_esm/chains/celo/chainConfig.js +7 -0
- package/_esm/chains/celo/chainConfig.js.map +1 -0
- package/_esm/chains/celo/formatters.js +80 -0
- package/_esm/chains/celo/formatters.js.map +1 -0
- package/_esm/chains/celo/index.js +4 -0
- package/_esm/chains/celo/index.js.map +1 -0
- package/_esm/chains/celo/parsers.js +127 -0
- package/_esm/chains/celo/parsers.js.map +1 -0
- package/_esm/chains/celo/serializers.js +127 -0
- package/_esm/chains/celo/serializers.js.map +1 -0
- package/_esm/chains/celo/types.js +2 -0
- package/_esm/chains/celo/types.js.map +1 -0
- package/_esm/chains/celo/utils.js +50 -0
- package/_esm/chains/celo/utils.js.map +1 -0
- package/_esm/chains/definitions/arbitrum.js +21 -0
- package/_esm/chains/definitions/arbitrum.js.map +1 -0
- package/_esm/chains/definitions/arbitrumGoerli.js +27 -0
- package/_esm/chains/definitions/arbitrumGoerli.js.map +1 -0
- package/_esm/chains/definitions/arbitrumNova.js +21 -0
- package/_esm/chains/definitions/arbitrumNova.js.map +1 -0
- package/_esm/chains/definitions/arbitrumSepolia.js +29 -0
- package/_esm/chains/definitions/arbitrumSepolia.js.map +1 -0
- package/_esm/chains/definitions/astar.js +26 -0
- package/_esm/chains/definitions/astar.js.map +1 -0
- package/_esm/chains/definitions/astarZkatana.js +39 -0
- package/_esm/chains/definitions/astarZkatana.js.map +1 -0
- package/_esm/chains/definitions/aurora.js +23 -0
- package/_esm/chains/definitions/aurora.js.map +1 -0
- package/_esm/chains/definitions/auroraTestnet.js +18 -0
- package/_esm/chains/definitions/auroraTestnet.js.map +1 -0
- package/_esm/chains/definitions/avalanche.js +23 -0
- package/_esm/chains/definitions/avalanche.js.map +1 -0
- package/_esm/chains/definitions/avalancheFuji.js +24 -0
- package/_esm/chains/definitions/avalancheFuji.js.map +1 -0
- package/_esm/chains/definitions/base.js +35 -0
- package/_esm/chains/definitions/base.js.map +1 -0
- package/_esm/chains/definitions/baseGoerli.js +33 -0
- package/_esm/chains/definitions/baseGoerli.js.map +1 -0
- package/_esm/chains/definitions/baseSepolia.js +40 -0
- package/_esm/chains/definitions/baseSepolia.js.map +1 -0
- package/_esm/chains/definitions/bearNetworkChainMainnet.js +17 -0
- package/_esm/chains/definitions/bearNetworkChainMainnet.js.map +1 -0
- package/_esm/chains/definitions/bearNetworkChainTestnet.js +21 -0
- package/_esm/chains/definitions/bearNetworkChainTestnet.js.map +1 -0
- package/_esm/chains/definitions/boba.js +23 -0
- package/_esm/chains/definitions/boba.js.map +1 -0
- package/_esm/chains/definitions/bronos.js +17 -0
- package/_esm/chains/definitions/bronos.js.map +1 -0
- package/_esm/chains/definitions/bronosTestnet.js +18 -0
- package/_esm/chains/definitions/bronosTestnet.js.map +1 -0
- package/_esm/chains/definitions/bsc.js +23 -0
- package/_esm/chains/definitions/bsc.js.map +1 -0
- package/_esm/chains/definitions/bscTestnet.js +25 -0
- package/_esm/chains/definitions/bscTestnet.js.map +1 -0
- package/_esm/chains/definitions/bxn.js +18 -0
- package/_esm/chains/definitions/bxn.js.map +1 -0
- package/_esm/chains/definitions/bxnTestnet.js +22 -0
- package/_esm/chains/definitions/bxnTestnet.js.map +1 -0
- package/_esm/chains/definitions/canto.js +26 -0
- package/_esm/chains/definitions/canto.js.map +1 -0
- package/_esm/chains/definitions/celo.js +29 -0
- package/_esm/chains/definitions/celo.js.map +1 -0
- package/_esm/chains/definitions/celoAlfajores.js +31 -0
- package/_esm/chains/definitions/celoAlfajores.js.map +1 -0
- package/_esm/chains/definitions/celoCannoli.js +31 -0
- package/_esm/chains/definitions/celoCannoli.js.map +1 -0
- package/_esm/chains/definitions/chiliz.js +23 -0
- package/_esm/chains/definitions/chiliz.js.map +1 -0
- package/_esm/chains/definitions/classic.js +20 -0
- package/_esm/chains/definitions/classic.js.map +1 -0
- package/_esm/chains/definitions/confluxESpace.js +25 -0
- package/_esm/chains/definitions/confluxESpace.js.map +1 -0
- package/_esm/chains/definitions/confluxESpaceTestnet.js +31 -0
- package/_esm/chains/definitions/confluxESpaceTestnet.js.map +1 -0
- package/_esm/chains/definitions/coreDao.js +24 -0
- package/_esm/chains/definitions/coreDao.js.map +1 -0
- package/_esm/chains/definitions/cronos.js +23 -0
- package/_esm/chains/definitions/cronos.js.map +1 -0
- package/_esm/chains/definitions/cronosTestnet.js +27 -0
- package/_esm/chains/definitions/cronosTestnet.js.map +1 -0
- package/_esm/chains/definitions/crossbell.js +25 -0
- package/_esm/chains/definitions/crossbell.js.map +1 -0
- package/_esm/chains/definitions/dfk.js +22 -0
- package/_esm/chains/definitions/dfk.js.map +1 -0
- package/_esm/chains/definitions/dogechain.js +20 -0
- package/_esm/chains/definitions/dogechain.js.map +1 -0
- package/_esm/chains/definitions/edgeware.js +23 -0
- package/_esm/chains/definitions/edgeware.js.map +1 -0
- package/_esm/chains/definitions/edgewareTestnet.js +20 -0
- package/_esm/chains/definitions/edgewareTestnet.js.map +1 -0
- package/_esm/chains/definitions/ekta.js +17 -0
- package/_esm/chains/definitions/ekta.js.map +1 -0
- package/_esm/chains/definitions/ektaTestnet.js +18 -0
- package/_esm/chains/definitions/ektaTestnet.js.map +1 -0
- package/_esm/chains/definitions/eon.js +21 -0
- package/_esm/chains/definitions/eon.js.map +1 -0
- package/_esm/chains/definitions/eos.js +26 -0
- package/_esm/chains/definitions/eos.js.map +1 -0
- package/_esm/chains/definitions/eosTestnet.js +27 -0
- package/_esm/chains/definitions/eosTestnet.js.map +1 -0
- package/_esm/chains/definitions/evmos.js +17 -0
- package/_esm/chains/definitions/evmos.js.map +1 -0
- package/_esm/chains/definitions/evmosTestnet.js +20 -0
- package/_esm/chains/definitions/evmosTestnet.js.map +1 -0
- package/_esm/chains/definitions/fantom.js +23 -0
- package/_esm/chains/definitions/fantom.js.map +1 -0
- package/_esm/chains/definitions/fantomTestnet.js +23 -0
- package/_esm/chains/definitions/fantomTestnet.js.map +1 -0
- package/_esm/chains/definitions/fibo.js +17 -0
- package/_esm/chains/definitions/fibo.js.map +1 -0
- package/_esm/chains/definitions/filecoin.js +23 -0
- package/_esm/chains/definitions/filecoin.js.map +1 -0
- package/_esm/chains/definitions/filecoinCalibration.js +17 -0
- package/_esm/chains/definitions/filecoinCalibration.js.map +1 -0
- package/_esm/chains/definitions/filecoinHyperspace.js +17 -0
- package/_esm/chains/definitions/filecoinHyperspace.js.map +1 -0
- package/_esm/chains/definitions/flare.js +20 -0
- package/_esm/chains/definitions/flare.js.map +1 -0
- package/_esm/chains/definitions/flareTestnet.js +21 -0
- package/_esm/chains/definitions/flareTestnet.js.map +1 -0
- package/_esm/chains/definitions/foundry.js +17 -0
- package/_esm/chains/definitions/foundry.js.map +1 -0
- package/_esm/chains/definitions/fuse.js +19 -0
- package/_esm/chains/definitions/fuse.js.map +1 -0
- package/_esm/chains/definitions/fuseSparknet.js +16 -0
- package/_esm/chains/definitions/fuseSparknet.js.map +1 -0
- package/_esm/chains/definitions/gnosis.js +29 -0
- package/_esm/chains/definitions/gnosis.js.map +1 -0
- package/_esm/chains/definitions/gnosisChiado.js +30 -0
- package/_esm/chains/definitions/gnosisChiado.js.map +1 -0
- package/_esm/chains/definitions/gobi.js +19 -0
- package/_esm/chains/definitions/gobi.js.map +1 -0
- package/_esm/chains/definitions/goerli.js +32 -0
- package/_esm/chains/definitions/goerli.js.map +1 -0
- package/_esm/chains/definitions/haqqMainnet.js +22 -0
- package/_esm/chains/definitions/haqqMainnet.js.map +1 -0
- package/_esm/chains/definitions/haqqTestedge2.js +22 -0
- package/_esm/chains/definitions/haqqTestedge2.js.map +1 -0
- package/_esm/chains/definitions/hardhat.js +14 -0
- package/_esm/chains/definitions/hardhat.js.map +1 -0
- package/_esm/chains/definitions/harmonyOne.js +23 -0
- package/_esm/chains/definitions/harmonyOne.js.map +1 -0
- package/_esm/chains/definitions/holesky.js +19 -0
- package/_esm/chains/definitions/holesky.js.map +1 -0
- package/_esm/chains/definitions/iotex.js +20 -0
- package/_esm/chains/definitions/iotex.js.map +1 -0
- package/_esm/chains/definitions/iotexTestnet.js +20 -0
- package/_esm/chains/definitions/iotexTestnet.js.map +1 -0
- package/_esm/chains/definitions/kava.js +26 -0
- package/_esm/chains/definitions/kava.js.map +1 -0
- package/_esm/chains/definitions/kavaTestnet.js +29 -0
- package/_esm/chains/definitions/kavaTestnet.js.map +1 -0
- package/_esm/chains/definitions/klaytn.js +23 -0
- package/_esm/chains/definitions/klaytn.js.map +1 -0
- package/_esm/chains/definitions/klaytnBaobab.js +27 -0
- package/_esm/chains/definitions/klaytnBaobab.js.map +1 -0
- package/_esm/chains/definitions/kroma.js +19 -0
- package/_esm/chains/definitions/kroma.js.map +1 -0
- package/_esm/chains/definitions/kromaSepolia.js +19 -0
- package/_esm/chains/definitions/kromaSepolia.js.map +1 -0
- package/_esm/chains/definitions/linea.js +26 -0
- package/_esm/chains/definitions/linea.js.map +1 -0
- package/_esm/chains/definitions/lineaTestnet.js +26 -0
- package/_esm/chains/definitions/lineaTestnet.js.map +1 -0
- package/_esm/chains/definitions/localhost.js +14 -0
- package/_esm/chains/definitions/localhost.js.map +1 -0
- package/_esm/chains/definitions/lukso.js +28 -0
- package/_esm/chains/definitions/lukso.js.map +1 -0
- package/_esm/chains/definitions/mainnet.js +31 -0
- package/_esm/chains/definitions/mainnet.js.map +1 -0
- package/_esm/chains/definitions/manta.js +32 -0
- package/_esm/chains/definitions/manta.js.map +1 -0
- package/_esm/chains/definitions/mantaTestnet.js +33 -0
- package/_esm/chains/definitions/mantaTestnet.js.map +1 -0
- package/_esm/chains/definitions/mantle.js +26 -0
- package/_esm/chains/definitions/mantle.js.map +1 -0
- package/_esm/chains/definitions/mantleTestnet.js +21 -0
- package/_esm/chains/definitions/mantleTestnet.js.map +1 -0
- package/_esm/chains/definitions/meter.js +17 -0
- package/_esm/chains/definitions/meter.js.map +1 -0
- package/_esm/chains/definitions/meterTestnet.js +20 -0
- package/_esm/chains/definitions/meterTestnet.js.map +1 -0
- package/_esm/chains/definitions/metis.js +26 -0
- package/_esm/chains/definitions/metis.js.map +1 -0
- package/_esm/chains/definitions/metisGoerli.js +26 -0
- package/_esm/chains/definitions/metisGoerli.js.map +1 -0
- package/_esm/chains/definitions/mev.js +28 -0
- package/_esm/chains/definitions/mev.js.map +1 -0
- package/_esm/chains/definitions/mevTestnet.js +29 -0
- package/_esm/chains/definitions/mevTestnet.js.map +1 -0
- package/_esm/chains/definitions/modeTestnet.js +25 -0
- package/_esm/chains/definitions/modeTestnet.js.map +1 -0
- package/_esm/chains/definitions/moonbaseAlpha.js +30 -0
- package/_esm/chains/definitions/moonbaseAlpha.js.map +1 -0
- package/_esm/chains/definitions/moonbeam.js +30 -0
- package/_esm/chains/definitions/moonbeam.js.map +1 -0
- package/_esm/chains/definitions/moonbeamDev.js +17 -0
- package/_esm/chains/definitions/moonbeamDev.js.map +1 -0
- package/_esm/chains/definitions/moonriver.js +30 -0
- package/_esm/chains/definitions/moonriver.js.map +1 -0
- package/_esm/chains/definitions/neonDevnet.js +25 -0
- package/_esm/chains/definitions/neonDevnet.js.map +1 -0
- package/_esm/chains/definitions/neonMainnet.js +24 -0
- package/_esm/chains/definitions/neonMainnet.js.map +1 -0
- package/_esm/chains/definitions/nexi.js +24 -0
- package/_esm/chains/definitions/nexi.js.map +1 -0
- package/_esm/chains/definitions/nexilix.js +23 -0
- package/_esm/chains/definitions/nexilix.js.map +1 -0
- package/_esm/chains/definitions/oasys.js +18 -0
- package/_esm/chains/definitions/oasys.js.map +1 -0
- package/_esm/chains/definitions/okc.js +23 -0
- package/_esm/chains/definitions/okc.js.map +1 -0
- package/_esm/chains/definitions/opBNB.js +23 -0
- package/_esm/chains/definitions/opBNB.js.map +1 -0
- package/_esm/chains/definitions/opBNBTestnet.js +24 -0
- package/_esm/chains/definitions/opBNBTestnet.js.map +1 -0
- package/_esm/chains/definitions/optimism.js +34 -0
- package/_esm/chains/definitions/optimism.js.map +1 -0
- package/_esm/chains/definitions/optimismGoerli.js +35 -0
- package/_esm/chains/definitions/optimismGoerli.js.map +1 -0
- package/_esm/chains/definitions/optimismSepolia.js +35 -0
- package/_esm/chains/definitions/optimismSepolia.js.map +1 -0
- package/_esm/chains/definitions/pgn.js +34 -0
- package/_esm/chains/definitions/pgn.js.map +1 -0
- package/_esm/chains/definitions/pgnTestnet.js +35 -0
- package/_esm/chains/definitions/pgnTestnet.js.map +1 -0
- package/_esm/chains/definitions/plinga.js +24 -0
- package/_esm/chains/definitions/plinga.js.map +1 -0
- package/_esm/chains/definitions/polygon.js +24 -0
- package/_esm/chains/definitions/polygon.js.map +1 -0
- package/_esm/chains/definitions/polygonMumbai.js +25 -0
- package/_esm/chains/definitions/polygonMumbai.js.map +1 -0
- package/_esm/chains/definitions/polygonZkEvm.js +24 -0
- package/_esm/chains/definitions/polygonZkEvm.js.map +1 -0
- package/_esm/chains/definitions/polygonZkEvmTestnet.js +25 -0
- package/_esm/chains/definitions/polygonZkEvmTestnet.js.map +1 -0
- package/_esm/chains/definitions/pulsechain.js +29 -0
- package/_esm/chains/definitions/pulsechain.js.map +1 -0
- package/_esm/chains/definitions/pulsechainV4.js +29 -0
- package/_esm/chains/definitions/pulsechainV4.js.map +1 -0
- package/_esm/chains/definitions/qMainnet.js +20 -0
- package/_esm/chains/definitions/qMainnet.js.map +1 -0
- package/_esm/chains/definitions/qTestnet.js +21 -0
- package/_esm/chains/definitions/qTestnet.js.map +1 -0
- package/_esm/chains/definitions/rollux.js +26 -0
- package/_esm/chains/definitions/rollux.js.map +1 -0
- package/_esm/chains/definitions/rolluxTestnet.js +29 -0
- package/_esm/chains/definitions/rolluxTestnet.js.map +1 -0
- package/_esm/chains/definitions/ronin.js +21 -0
- package/_esm/chains/definitions/ronin.js.map +1 -0
- package/_esm/chains/definitions/rootstock.js +26 -0
- package/_esm/chains/definitions/rootstock.js.map +1 -0
- package/_esm/chains/definitions/saigon.js +25 -0
- package/_esm/chains/definitions/saigon.js.map +1 -0
- package/_esm/chains/definitions/sapphire.js +30 -0
- package/_esm/chains/definitions/sapphire.js.map +1 -0
- package/_esm/chains/definitions/sapphireTestnet.js +25 -0
- package/_esm/chains/definitions/sapphireTestnet.js.map +1 -0
- package/_esm/chains/definitions/scroll.js +26 -0
- package/_esm/chains/definitions/scroll.js.map +1 -0
- package/_esm/chains/definitions/scrollSepolia.js +25 -0
- package/_esm/chains/definitions/scrollSepolia.js.map +1 -0
- package/_esm/chains/definitions/scrollTestnet.js +20 -0
- package/_esm/chains/definitions/scrollTestnet.js.map +1 -0
- package/_esm/chains/definitions/sepolia.js +30 -0
- package/_esm/chains/definitions/sepolia.js.map +1 -0
- package/_esm/chains/definitions/shardeumSphinx.js +19 -0
- package/_esm/chains/definitions/shardeumSphinx.js.map +1 -0
- package/_esm/chains/definitions/shibarium.js +32 -0
- package/_esm/chains/definitions/shibarium.js.map +1 -0
- package/_esm/chains/definitions/shimmer.js +26 -0
- package/_esm/chains/definitions/shimmer.js.map +1 -0
- package/_esm/chains/definitions/shimmerTestnet.js +27 -0
- package/_esm/chains/definitions/shimmerTestnet.js.map +1 -0
- package/_esm/chains/definitions/skale/brawl.js +20 -0
- package/_esm/chains/definitions/skale/brawl.js.map +1 -0
- package/_esm/chains/definitions/skale/calypso.js +27 -0
- package/_esm/chains/definitions/skale/calypso.js.map +1 -0
- package/_esm/chains/definitions/skale/calypsoTestnet.js +30 -0
- package/_esm/chains/definitions/skale/calypsoTestnet.js.map +1 -0
- package/_esm/chains/definitions/skale/chaosTestnet.js +30 -0
- package/_esm/chains/definitions/skale/chaosTestnet.js.map +1 -0
- package/_esm/chains/definitions/skale/cryptoBlades.js +22 -0
- package/_esm/chains/definitions/skale/cryptoBlades.js.map +1 -0
- package/_esm/chains/definitions/skale/cryptoColosseum.js +20 -0
- package/_esm/chains/definitions/skale/cryptoColosseum.js.map +1 -0
- package/_esm/chains/definitions/skale/europa.js +25 -0
- package/_esm/chains/definitions/skale/europa.js.map +1 -0
- package/_esm/chains/definitions/skale/europaTestnet.js +28 -0
- package/_esm/chains/definitions/skale/europaTestnet.js.map +1 -0
- package/_esm/chains/definitions/skale/exorde.js +20 -0
- package/_esm/chains/definitions/skale/exorde.js.map +1 -0
- package/_esm/chains/definitions/skale/humanProtocol.js +20 -0
- package/_esm/chains/definitions/skale/humanProtocol.js.map +1 -0
- package/_esm/chains/definitions/skale/nebula.js +25 -0
- package/_esm/chains/definitions/skale/nebula.js.map +1 -0
- package/_esm/chains/definitions/skale/nebulaTestnet.js +28 -0
- package/_esm/chains/definitions/skale/nebulaTestnet.js.map +1 -0
- package/_esm/chains/definitions/skale/razor.js +20 -0
- package/_esm/chains/definitions/skale/razor.js.map +1 -0
- package/_esm/chains/definitions/skale/titan.js +25 -0
- package/_esm/chains/definitions/skale/titan.js.map +1 -0
- package/_esm/chains/definitions/skale/titanTestnet.js +30 -0
- package/_esm/chains/definitions/skale/titanTestnet.js.map +1 -0
- package/_esm/chains/definitions/songbird.js +20 -0
- package/_esm/chains/definitions/songbird.js.map +1 -0
- package/_esm/chains/definitions/songbirdTestnet.js +21 -0
- package/_esm/chains/definitions/songbirdTestnet.js.map +1 -0
- package/_esm/chains/definitions/spicy.js +31 -0
- package/_esm/chains/definitions/spicy.js.map +1 -0
- package/_esm/chains/definitions/syscoin.js +26 -0
- package/_esm/chains/definitions/syscoin.js.map +1 -0
- package/_esm/chains/definitions/syscoinTestnet.js +26 -0
- package/_esm/chains/definitions/syscoinTestnet.js.map +1 -0
- package/_esm/chains/definitions/taikoJolnir.js +18 -0
- package/_esm/chains/definitions/taikoJolnir.js.map +1 -0
- package/_esm/chains/definitions/taikoTestnetSepolia.js +18 -0
- package/_esm/chains/definitions/taikoTestnetSepolia.js.map +1 -0
- package/_esm/chains/definitions/taraxa.js +18 -0
- package/_esm/chains/definitions/taraxa.js.map +1 -0
- package/_esm/chains/definitions/taraxaTestnet.js +19 -0
- package/_esm/chains/definitions/taraxaTestnet.js.map +1 -0
- package/_esm/chains/definitions/telos.js +26 -0
- package/_esm/chains/definitions/telos.js.map +1 -0
- package/_esm/chains/definitions/telosTestnet.js +21 -0
- package/_esm/chains/definitions/telosTestnet.js.map +1 -0
- package/_esm/chains/definitions/tenet.js +20 -0
- package/_esm/chains/definitions/tenet.js.map +1 -0
- package/_esm/chains/definitions/thunderTestnet.js +19 -0
- package/_esm/chains/definitions/thunderTestnet.js.map +1 -0
- package/_esm/chains/definitions/vechain.js +22 -0
- package/_esm/chains/definitions/vechain.js.map +1 -0
- package/_esm/chains/definitions/wanchain.js +27 -0
- package/_esm/chains/definitions/wanchain.js.map +1 -0
- package/_esm/chains/definitions/wanchainTestnet.js +25 -0
- package/_esm/chains/definitions/wanchainTestnet.js.map +1 -0
- package/_esm/chains/definitions/xdc.js +18 -0
- package/_esm/chains/definitions/xdc.js.map +1 -0
- package/_esm/chains/definitions/xdcTestnet.js +18 -0
- package/_esm/chains/definitions/xdcTestnet.js.map +1 -0
- package/_esm/chains/definitions/zetachainAthensTestnet.js +23 -0
- package/_esm/chains/definitions/zetachainAthensTestnet.js.map +1 -0
- package/_esm/chains/definitions/zhejiang.js +19 -0
- package/_esm/chains/definitions/zhejiang.js.map +1 -0
- package/_esm/chains/definitions/zkSync.js +31 -0
- package/_esm/chains/definitions/zkSync.js.map +1 -0
- package/_esm/chains/definitions/zkSyncTestnet.js +28 -0
- package/_esm/chains/definitions/zkSyncTestnet.js.map +1 -0
- package/_esm/chains/definitions/zora.js +36 -0
- package/_esm/chains/definitions/zora.js.map +1 -0
- package/_esm/chains/definitions/zoraSepolia.js +45 -0
- package/_esm/chains/definitions/zoraSepolia.js.map +1 -0
- package/_esm/chains/definitions/zoraTestnet.js +40 -0
- package/_esm/chains/definitions/zoraTestnet.js.map +1 -0
- package/_esm/chains/index.js +170 -0
- package/_esm/chains/index.js.map +1 -0
- package/_esm/chains/opStack/abis.js +391 -0
- package/_esm/chains/opStack/abis.js.map +1 -0
- package/_esm/chains/opStack/actions/buildDepositTransaction.js +54 -0
- package/_esm/chains/opStack/actions/buildDepositTransaction.js.map +1 -0
- package/_esm/chains/opStack/actions/depositTransaction.js +88 -0
- package/_esm/chains/opStack/actions/depositTransaction.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateContractL1Fee.js +55 -0
- package/_esm/chains/opStack/actions/estimateContractL1Fee.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateContractL1Gas.js +55 -0
- package/_esm/chains/opStack/actions/estimateContractL1Gas.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateContractTotalFee.js +55 -0
- package/_esm/chains/opStack/actions/estimateContractTotalFee.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateContractTotalGas.js +55 -0
- package/_esm/chains/opStack/actions/estimateContractTotalGas.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateL1Fee.js +74 -0
- package/_esm/chains/opStack/actions/estimateL1Fee.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateL1Gas.js +74 -0
- package/_esm/chains/opStack/actions/estimateL1Gas.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateTotalFee.js +38 -0
- package/_esm/chains/opStack/actions/estimateTotalFee.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateTotalGas.js +36 -0
- package/_esm/chains/opStack/actions/estimateTotalGas.js.map +1 -0
- package/_esm/chains/opStack/chainConfig.js +9 -0
- package/_esm/chains/opStack/chainConfig.js.map +1 -0
- package/_esm/chains/opStack/chains.js +10 -0
- package/_esm/chains/opStack/chains.js.map +1 -0
- package/_esm/chains/opStack/contracts.js +13 -0
- package/_esm/chains/opStack/contracts.js.map +1 -0
- package/_esm/chains/opStack/decorators/publicL2.js +25 -0
- package/_esm/chains/opStack/decorators/publicL2.js.map +1 -0
- package/_esm/chains/opStack/decorators/walletL1.js +9 -0
- package/_esm/chains/opStack/decorators/walletL1.js.map +1 -0
- package/_esm/chains/opStack/formatters.js +53 -0
- package/_esm/chains/opStack/formatters.js.map +1 -0
- package/_esm/chains/opStack/index.js +22 -0
- package/_esm/chains/opStack/index.js.map +1 -0
- package/_esm/chains/opStack/parsers.js +51 -0
- package/_esm/chains/opStack/parsers.js.map +1 -0
- package/_esm/chains/opStack/serializers.js +47 -0
- package/_esm/chains/opStack/serializers.js.map +1 -0
- package/_esm/chains/opStack/types/block.js +2 -0
- package/_esm/chains/opStack/types/block.js.map +1 -0
- package/_esm/chains/opStack/types/chain.js +2 -0
- package/_esm/chains/opStack/types/chain.js.map +1 -0
- package/_esm/chains/opStack/types/contract.js +2 -0
- package/_esm/chains/opStack/types/contract.js.map +1 -0
- package/_esm/chains/opStack/types/transaction.js +2 -0
- package/_esm/chains/opStack/types/transaction.js.map +1 -0
- package/_esm/chains/opStack/utils/extractTransactionDepositedLogs.js +10 -0
- package/_esm/chains/opStack/utils/extractTransactionDepositedLogs.js.map +1 -0
- package/_esm/chains/opStack/utils/fromOpaqueData.js +25 -0
- package/_esm/chains/opStack/utils/fromOpaqueData.js.map +1 -0
- package/_esm/chains/opStack/utils/getL2TransactionHash.js +25 -0
- package/_esm/chains/opStack/utils/getL2TransactionHash.js.map +1 -0
- package/_esm/chains/opStack/utils/getL2TransactionHashes.js +7 -0
- package/_esm/chains/opStack/utils/getL2TransactionHashes.js.map +1 -0
- package/_esm/chains/opStack/utils/getSourceHash.js +18 -0
- package/_esm/chains/opStack/utils/getSourceHash.js.map +1 -0
- package/_esm/chains/utils.js +5 -0
- package/_esm/chains/utils.js.map +1 -0
- package/_esm/chains/zksync/chainConfig.js +7 -0
- package/_esm/chains/zksync/chainConfig.js.map +1 -0
- package/_esm/chains/zksync/formatters.js +126 -0
- package/_esm/chains/zksync/formatters.js.map +1 -0
- package/_esm/chains/zksync/index.js +3 -0
- package/_esm/chains/zksync/index.js.map +1 -0
- package/_esm/chains/zksync/serializers.js +71 -0
- package/_esm/chains/zksync/serializers.js.map +1 -0
- package/_esm/chains/zksync/types.js +2 -0
- package/_esm/chains/zksync/types.js.map +1 -0
- package/_esm/clients/createClient.js +38 -0
- package/_esm/clients/createClient.js.map +1 -0
- package/_esm/clients/createPublicClient.js +13 -0
- package/_esm/clients/createPublicClient.js.map +1 -0
- package/_esm/clients/createTestClient.js +16 -0
- package/_esm/clients/createTestClient.js.map +1 -0
- package/_esm/clients/createWalletClient.js +14 -0
- package/_esm/clients/createWalletClient.js.map +1 -0
- package/_esm/clients/decorators/public.js +97 -0
- package/_esm/clients/decorators/public.js.map +1 -0
- package/_esm/clients/decorators/test.js +70 -0
- package/_esm/clients/decorators/test.js.map +1 -0
- package/_esm/clients/decorators/wallet.js +38 -0
- package/_esm/clients/decorators/wallet.js.map +1 -0
- package/_esm/clients/transports/createTransport.js +12 -0
- package/_esm/clients/transports/createTransport.js.map +1 -0
- package/_esm/clients/transports/custom.js +16 -0
- package/_esm/clients/transports/custom.js.map +1 -0
- package/_esm/clients/transports/fallback.js +141 -0
- package/_esm/clients/transports/fallback.js.map +1 -0
- package/_esm/clients/transports/http.js +60 -0
- package/_esm/clients/transports/http.js.map +1 -0
- package/_esm/clients/transports/webSocket.js +82 -0
- package/_esm/clients/transports/webSocket.js.map +1 -0
- package/_esm/constants/abis.js +1360 -0
- package/_esm/constants/abis.js.map +1 -0
- package/_esm/constants/address.js +2 -0
- package/_esm/constants/address.js.map +1 -0
- package/_esm/constants/bytes.js +2 -0
- package/_esm/constants/bytes.js.map +1 -0
- package/_esm/constants/contract.js +2 -0
- package/_esm/constants/contract.js.map +1 -0
- package/_esm/constants/contracts.js +2 -0
- package/_esm/constants/contracts.js.map +1 -0
- package/_esm/constants/number.js +97 -0
- package/_esm/constants/number.js.map +1 -0
- package/_esm/constants/solidity.js +33 -0
- package/_esm/constants/solidity.js.map +1 -0
- package/_esm/constants/strings.js +2 -0
- package/_esm/constants/strings.js.map +1 -0
- package/_esm/constants/unit.js +13 -0
- package/_esm/constants/unit.js.map +1 -0
- package/_esm/ens/index.js +9 -0
- package/_esm/ens/index.js.map +1 -0
- package/_esm/errors/abi.js +433 -0
- package/_esm/errors/abi.js.map +1 -0
- package/_esm/errors/account.js +19 -0
- package/_esm/errors/account.js.map +1 -0
- package/_esm/errors/address.js +13 -0
- package/_esm/errors/address.js.map +1 -0
- package/_esm/errors/base.js +79 -0
- package/_esm/errors/base.js.map +1 -0
- package/_esm/errors/block.js +18 -0
- package/_esm/errors/block.js.map +1 -0
- package/_esm/errors/ccip.js +63 -0
- package/_esm/errors/ccip.js.map +1 -0
- package/_esm/errors/chain.js +78 -0
- package/_esm/errors/chain.js.map +1 -0
- package/_esm/errors/contract.js +278 -0
- package/_esm/errors/contract.js.map +1 -0
- package/_esm/errors/cursor.js +24 -0
- package/_esm/errors/cursor.js.map +1 -0
- package/_esm/errors/data.js +26 -0
- package/_esm/errors/data.js.map +1 -0
- package/_esm/errors/encoding.js +57 -0
- package/_esm/errors/encoding.js.map +1 -0
- package/_esm/errors/ens.js +52 -0
- package/_esm/errors/ens.js.map +1 -0
- package/_esm/errors/estimateGas.js +45 -0
- package/_esm/errors/estimateGas.js.map +1 -0
- package/_esm/errors/fee.js +36 -0
- package/_esm/errors/fee.js.map +1 -0
- package/_esm/errors/log.js +13 -0
- package/_esm/errors/log.js.map +1 -0
- package/_esm/errors/node.js +247 -0
- package/_esm/errors/node.js.map +1 -0
- package/_esm/errors/request.js +100 -0
- package/_esm/errors/request.js.map +1 -0
- package/_esm/errors/rpc.js +424 -0
- package/_esm/errors/rpc.js.map +1 -0
- package/_esm/errors/transaction.js +211 -0
- package/_esm/errors/transaction.js.map +1 -0
- package/_esm/errors/transport.js +9 -0
- package/_esm/errors/transport.js.map +1 -0
- package/_esm/errors/utils.js +5 -0
- package/_esm/errors/utils.js.map +1 -0
- package/_esm/errors/version.js +2 -0
- package/_esm/errors/version.js.map +1 -0
- package/_esm/index.js +121 -0
- package/_esm/index.js.map +1 -0
- package/_esm/package.json +1 -0
- package/_esm/types/account.js +2 -0
- package/_esm/types/account.js.map +1 -0
- package/_esm/types/block.js +2 -0
- package/_esm/types/block.js.map +1 -0
- package/_esm/types/chain.js +2 -0
- package/_esm/types/chain.js.map +1 -0
- package/_esm/types/contract.js +2 -0
- package/_esm/types/contract.js.map +1 -0
- package/_esm/types/eip1193.js +20 -0
- package/_esm/types/eip1193.js.map +1 -0
- package/_esm/types/ens.js +2 -0
- package/_esm/types/ens.js.map +1 -0
- package/_esm/types/fee.js +2 -0
- package/_esm/types/fee.js.map +1 -0
- package/_esm/types/filter.js +2 -0
- package/_esm/types/filter.js.map +1 -0
- package/_esm/types/log.js +2 -0
- package/_esm/types/log.js.map +1 -0
- package/_esm/types/misc.js +2 -0
- package/_esm/types/misc.js.map +1 -0
- package/_esm/types/multicall.js +2 -0
- package/_esm/types/multicall.js.map +1 -0
- package/_esm/types/proof.js +2 -0
- package/_esm/types/proof.js.map +1 -0
- package/_esm/types/rpc.js +2 -0
- package/_esm/types/rpc.js.map +1 -0
- package/_esm/types/transaction.js +2 -0
- package/_esm/types/transaction.js.map +1 -0
- package/_esm/types/transport.js +2 -0
- package/_esm/types/transport.js.map +1 -0
- package/_esm/types/typedData.js +2 -0
- package/_esm/types/typedData.js.map +1 -0
- package/_esm/types/utils.js +2 -0
- package/_esm/types/utils.js.map +1 -0
- package/_esm/types/window.js +2 -0
- package/_esm/types/window.js.map +1 -0
- package/_esm/types/withdrawal.js +2 -0
- package/_esm/types/withdrawal.js.map +1 -0
- package/_esm/utils/abi/decodeAbiParameters.js +234 -0
- package/_esm/utils/abi/decodeAbiParameters.js.map +1 -0
- package/_esm/utils/abi/decodeDeployData.js +18 -0
- package/_esm/utils/abi/decodeDeployData.js.map +1 -0
- package/_esm/utils/abi/decodeErrorResult.js +26 -0
- package/_esm/utils/abi/decodeErrorResult.js.map +1 -0
- package/_esm/utils/abi/decodeEventLog.js +83 -0
- package/_esm/utils/abi/decodeEventLog.js.map +1 -0
- package/_esm/utils/abi/decodeFunctionData.js +24 -0
- package/_esm/utils/abi/decodeFunctionData.js.map +1 -0
- package/_esm/utils/abi/decodeFunctionResult.js +25 -0
- package/_esm/utils/abi/decodeFunctionResult.js.map +1 -0
- package/_esm/utils/abi/encodeAbiParameters.js +215 -0
- package/_esm/utils/abi/encodeAbiParameters.js.map +1 -0
- package/_esm/utils/abi/encodeDeployData.js +19 -0
- package/_esm/utils/abi/encodeDeployData.js.map +1 -0
- package/_esm/utils/abi/encodeErrorResult.js +29 -0
- package/_esm/utils/abi/encodeErrorResult.js.map +1 -0
- package/_esm/utils/abi/encodeEventTopics.js +49 -0
- package/_esm/utils/abi/encodeEventTopics.js.map +1 -0
- package/_esm/utils/abi/encodeFunctionData.js +30 -0
- package/_esm/utils/abi/encodeFunctionData.js.map +1 -0
- package/_esm/utils/abi/encodeFunctionResult.js +23 -0
- package/_esm/utils/abi/encodeFunctionResult.js.map +1 -0
- package/_esm/utils/abi/encodePacked.js +69 -0
- package/_esm/utils/abi/encodePacked.js.map +1 -0
- package/_esm/utils/abi/formatAbiItem.js +22 -0
- package/_esm/utils/abi/formatAbiItem.js.map +1 -0
- package/_esm/utils/abi/formatAbiItemWithArgs.js +13 -0
- package/_esm/utils/abi/formatAbiItemWithArgs.js.map +1 -0
- package/_esm/utils/abi/getAbiItem.js +86 -0
- package/_esm/utils/abi/getAbiItem.js.map +1 -0
- package/_esm/utils/abi/parseEventLogs.js +59 -0
- package/_esm/utils/abi/parseEventLogs.js.map +1 -0
- package/_esm/utils/accounts.js +6 -0
- package/_esm/utils/accounts.js.map +1 -0
- package/_esm/utils/address/getAddress.js +26 -0
- package/_esm/utils/address/getAddress.js.map +1 -0
- package/_esm/utils/address/getContractAddress.js +36 -0
- package/_esm/utils/address/getContractAddress.js.map +1 -0
- package/_esm/utils/address/isAddress.js +5 -0
- package/_esm/utils/address/isAddress.js.map +1 -0
- package/_esm/utils/address/isAddressEqual.js +10 -0
- package/_esm/utils/address/isAddressEqual.js.map +1 -0
- package/_esm/utils/buildRequest.js +137 -0
- package/_esm/utils/buildRequest.js.map +1 -0
- package/_esm/utils/ccip.js +119 -0
- package/_esm/utils/ccip.js.map +1 -0
- package/_esm/utils/chain/assertCurrentChain.js +8 -0
- package/_esm/utils/chain/assertCurrentChain.js.map +1 -0
- package/_esm/utils/chain/defineChain.js +9 -0
- package/_esm/utils/chain/defineChain.js.map +1 -0
- package/_esm/utils/chain/extractChain.js +4 -0
- package/_esm/utils/chain/extractChain.js.map +1 -0
- package/_esm/utils/chain/getChainContractAddress.js +22 -0
- package/_esm/utils/chain/getChainContractAddress.js.map +1 -0
- package/_esm/utils/cursor.js +130 -0
- package/_esm/utils/cursor.js.map +1 -0
- package/_esm/utils/data/concat.js +22 -0
- package/_esm/utils/data/concat.js.map +1 -0
- package/_esm/utils/data/isBytes.js +10 -0
- package/_esm/utils/data/isBytes.js.map +1 -0
- package/_esm/utils/data/isBytesEqual.js +9 -0
- package/_esm/utils/data/isBytesEqual.js.map +1 -0
- package/_esm/utils/data/isHex.js +8 -0
- package/_esm/utils/data/isHex.js.map +1 -0
- package/_esm/utils/data/pad.js +36 -0
- package/_esm/utils/data/pad.js.map +1 -0
- package/_esm/utils/data/size.js +13 -0
- package/_esm/utils/data/size.js.map +1 -0
- package/_esm/utils/data/slice.js +69 -0
- package/_esm/utils/data/slice.js.map +1 -0
- package/_esm/utils/data/trim.js +21 -0
- package/_esm/utils/data/trim.js.map +1 -0
- package/_esm/utils/encoding/fromBytes.js +127 -0
- package/_esm/utils/encoding/fromBytes.js.map +1 -0
- package/_esm/utils/encoding/fromHex.js +167 -0
- package/_esm/utils/encoding/fromHex.js.map +1 -0
- package/_esm/utils/encoding/fromRlp.js +63 -0
- package/_esm/utils/encoding/fromRlp.js.map +1 -0
- package/_esm/utils/encoding/toBytes.js +177 -0
- package/_esm/utils/encoding/toBytes.js.map +1 -0
- package/_esm/utils/encoding/toHex.js +177 -0
- package/_esm/utils/encoding/toHex.js.map +1 -0
- package/_esm/utils/encoding/toRlp.js +101 -0
- package/_esm/utils/encoding/toRlp.js.map +1 -0
- package/_esm/utils/ens/avatar/parseAvatarRecord.js +34 -0
- package/_esm/utils/ens/avatar/parseAvatarRecord.js.map +1 -0
- package/_esm/utils/ens/avatar/utils.js +186 -0
- package/_esm/utils/ens/avatar/utils.js.map +1 -0
- package/_esm/utils/ens/encodeLabelhash.js +4 -0
- package/_esm/utils/ens/encodeLabelhash.js.map +1 -0
- package/_esm/utils/ens/encodedLabelToLabelhash.js +14 -0
- package/_esm/utils/ens/encodedLabelToLabelhash.js.map +1 -0
- package/_esm/utils/ens/errors.js +25 -0
- package/_esm/utils/ens/errors.js.map +1 -0
- package/_esm/utils/ens/labelhash.js +20 -0
- package/_esm/utils/ens/labelhash.js.map +1 -0
- package/_esm/utils/ens/namehash.js +32 -0
- package/_esm/utils/ens/namehash.js.map +1 -0
- package/_esm/utils/ens/normalize.js +15 -0
- package/_esm/utils/ens/normalize.js.map +1 -0
- package/_esm/utils/ens/packetToBytes.js +29 -0
- package/_esm/utils/ens/packetToBytes.js.map +1 -0
- package/_esm/utils/errors/getCallError.js +16 -0
- package/_esm/utils/errors/getCallError.js.map +1 -0
- package/_esm/utils/errors/getContractError.js +35 -0
- package/_esm/utils/errors/getContractError.js.map +1 -0
- package/_esm/utils/errors/getEstimateGasError.js +16 -0
- package/_esm/utils/errors/getEstimateGasError.js.map +1 -0
- package/_esm/utils/errors/getNodeError.js +60 -0
- package/_esm/utils/errors/getNodeError.js.map +1 -0
- package/_esm/utils/errors/getTransactionError.js +16 -0
- package/_esm/utils/errors/getTransactionError.js.map +1 -0
- package/_esm/utils/filters/createFilterRequestScope.js +15 -0
- package/_esm/utils/filters/createFilterRequestScope.js.map +1 -0
- package/_esm/utils/formatters/block.js +28 -0
- package/_esm/utils/formatters/block.js.map +1 -0
- package/_esm/utils/formatters/extract.js +23 -0
- package/_esm/utils/formatters/extract.js.map +1 -0
- package/_esm/utils/formatters/feeHistory.js +9 -0
- package/_esm/utils/formatters/feeHistory.js.map +1 -0
- package/_esm/utils/formatters/formatter.js +21 -0
- package/_esm/utils/formatters/formatter.js.map +1 -0
- package/_esm/utils/formatters/log.js +14 -0
- package/_esm/utils/formatters/log.js.map +1 -0
- package/_esm/utils/formatters/proof.js +18 -0
- package/_esm/utils/formatters/proof.js.map +1 -0
- package/_esm/utils/formatters/transaction.js +64 -0
- package/_esm/utils/formatters/transaction.js.map +1 -0
- package/_esm/utils/formatters/transactionReceipt.js +43 -0
- package/_esm/utils/formatters/transactionReceipt.js.map +1 -0
- package/_esm/utils/formatters/transactionRequest.js +35 -0
- package/_esm/utils/formatters/transactionRequest.js.map +1 -0
- package/_esm/utils/getAction.js +14 -0
- package/_esm/utils/getAction.js.map +1 -0
- package/_esm/utils/hash/getEventSelector.js +6 -0
- package/_esm/utils/hash/getEventSelector.js.map +1 -0
- package/_esm/utils/hash/getEventSignature.js +5 -0
- package/_esm/utils/hash/getEventSignature.js.map +1 -0
- package/_esm/utils/hash/getFunctionSelector.js +7 -0
- package/_esm/utils/hash/getFunctionSelector.js.map +1 -0
- package/_esm/utils/hash/getFunctionSignature.js +11 -0
- package/_esm/utils/hash/getFunctionSignature.js.map +1 -0
- package/_esm/utils/hash/hashFunction.js +12 -0
- package/_esm/utils/hash/hashFunction.js.map +1 -0
- package/_esm/utils/hash/isHash.js +6 -0
- package/_esm/utils/hash/isHash.js.map +1 -0
- package/_esm/utils/hash/keccak256.js +12 -0
- package/_esm/utils/hash/keccak256.js.map +1 -0
- package/_esm/utils/hash/normalizeSignature.js +51 -0
- package/_esm/utils/hash/normalizeSignature.js.map +1 -0
- package/_esm/utils/index.js +84 -0
- package/_esm/utils/index.js.map +1 -0
- package/_esm/utils/observe.js +44 -0
- package/_esm/utils/observe.js.map +1 -0
- package/_esm/utils/poll.js +26 -0
- package/_esm/utils/poll.js.map +1 -0
- package/_esm/utils/promise/createBatchScheduler.js +51 -0
- package/_esm/utils/promise/createBatchScheduler.js.map +1 -0
- package/_esm/utils/promise/withCache.js +55 -0
- package/_esm/utils/promise/withCache.js.map +1 -0
- package/_esm/utils/promise/withRetry.js +25 -0
- package/_esm/utils/promise/withRetry.js.map +1 -0
- package/_esm/utils/promise/withTimeout.js +31 -0
- package/_esm/utils/promise/withTimeout.js.map +1 -0
- package/_esm/utils/regex.js +8 -0
- package/_esm/utils/regex.js.map +1 -0
- package/_esm/utils/rpc.js +160 -0
- package/_esm/utils/rpc.js.map +1 -0
- package/_esm/utils/signature/compactSignatureToHex.js +19 -0
- package/_esm/utils/signature/compactSignatureToHex.js.map +1 -0
- package/_esm/utils/signature/compactSignatureToSignature.js +28 -0
- package/_esm/utils/signature/compactSignatureToSignature.js.map +1 -0
- package/_esm/utils/signature/hashMessage.js +16 -0
- package/_esm/utils/signature/hashMessage.js.map +1 -0
- package/_esm/utils/signature/hashTypedData.js +122 -0
- package/_esm/utils/signature/hashTypedData.js.map +1 -0
- package/_esm/utils/signature/hexToCompactSignature.js +20 -0
- package/_esm/utils/signature/hexToCompactSignature.js.map +1 -0
- package/_esm/utils/signature/hexToSignature.js +18 -0
- package/_esm/utils/signature/hexToSignature.js.map +1 -0
- package/_esm/utils/signature/recoverAddress.js +6 -0
- package/_esm/utils/signature/recoverAddress.js.map +1 -0
- package/_esm/utils/signature/recoverMessageAddress.js +6 -0
- package/_esm/utils/signature/recoverMessageAddress.js.map +1 -0
- package/_esm/utils/signature/recoverPublicKey.js +19 -0
- package/_esm/utils/signature/recoverPublicKey.js.map +1 -0
- package/_esm/utils/signature/recoverTypedDataAddress.js +15 -0
- package/_esm/utils/signature/recoverTypedDataAddress.js.map +1 -0
- package/_esm/utils/signature/signatureToCompactSignature.js +30 -0
- package/_esm/utils/signature/signatureToCompactSignature.js.map +1 -0
- package/_esm/utils/signature/signatureToHex.js +21 -0
- package/_esm/utils/signature/signatureToHex.js.map +1 -0
- package/_esm/utils/signature/verifyMessage.js +19 -0
- package/_esm/utils/signature/verifyMessage.js.map +1 -0
- package/_esm/utils/signature/verifyTypedData.js +26 -0
- package/_esm/utils/signature/verifyTypedData.js.map +1 -0
- package/_esm/utils/stringify.js +5 -0
- package/_esm/utils/stringify.js.map +1 -0
- package/_esm/utils/transaction/assertRequest.js +24 -0
- package/_esm/utils/transaction/assertRequest.js.map +1 -0
- package/_esm/utils/transaction/assertTransaction.js +45 -0
- package/_esm/utils/transaction/assertTransaction.js.map +1 -0
- package/_esm/utils/transaction/getSerializedTransactionType.js +14 -0
- package/_esm/utils/transaction/getSerializedTransactionType.js.map +1 -0
- package/_esm/utils/transaction/getTransactionType.js +15 -0
- package/_esm/utils/transaction/getTransactionType.js.map +1 -0
- package/_esm/utils/transaction/parseTransaction.js +207 -0
- package/_esm/utils/transaction/parseTransaction.js.map +1 -0
- package/_esm/utils/transaction/serializeAccessList.js +32 -0
- package/_esm/utils/transaction/serializeAccessList.js.map +1 -0
- package/_esm/utils/transaction/serializeTransaction.js +122 -0
- package/_esm/utils/transaction/serializeTransaction.js.map +1 -0
- package/_esm/utils/typedData.js +73 -0
- package/_esm/utils/typedData.js.map +1 -0
- package/_esm/utils/uid.js +14 -0
- package/_esm/utils/uid.js.map +1 -0
- package/_esm/utils/unit/formatEther.js +17 -0
- package/_esm/utils/unit/formatEther.js.map +1 -0
- package/_esm/utils/unit/formatGwei.js +17 -0
- package/_esm/utils/unit/formatGwei.js.map +1 -0
- package/_esm/utils/unit/formatUnits.js +25 -0
- package/_esm/utils/unit/formatUnits.js.map +1 -0
- package/_esm/utils/unit/parseEther.js +17 -0
- package/_esm/utils/unit/parseEther.js.map +1 -0
- package/_esm/utils/unit/parseGwei.js +17 -0
- package/_esm/utils/unit/parseGwei.js.map +1 -0
- package/_esm/utils/unit/parseUnits.js +47 -0
- package/_esm/utils/unit/parseUnits.js.map +1 -0
- package/_esm/utils/wait.js +4 -0
- package/_esm/utils/wait.js.map +1 -0
- package/_esm/window/index.js +2 -0
- package/_esm/window/index.js.map +1 -0
- package/_types/accounts/generateMnemonic.d.ts +11 -0
- package/_types/accounts/generateMnemonic.d.ts.map +1 -0
- package/_types/accounts/generatePrivateKey.d.ts +11 -0
- package/_types/accounts/generatePrivateKey.d.ts.map +1 -0
- package/_types/accounts/hdKeyToAccount.d.ts +13 -0
- package/_types/accounts/hdKeyToAccount.d.ts.map +1 -0
- package/_types/accounts/index.d.ts +27 -0
- package/_types/accounts/index.d.ts.map +1 -0
- package/_types/accounts/mnemonicToAccount.d.ts +11 -0
- package/_types/accounts/mnemonicToAccount.d.ts.map +1 -0
- package/_types/accounts/privateKeyToAccount.d.ts +17 -0
- package/_types/accounts/privateKeyToAccount.d.ts.map +1 -0
- package/_types/accounts/toAccount.d.ts +15 -0
- package/_types/accounts/toAccount.d.ts.map +1 -0
- package/_types/accounts/types.d.ts +50 -0
- package/_types/accounts/types.d.ts.map +1 -0
- package/_types/accounts/utils/parseAccount.d.ts +6 -0
- package/_types/accounts/utils/parseAccount.d.ts.map +1 -0
- package/_types/accounts/utils/privateKeyToAddress.d.ts +15 -0
- package/_types/accounts/utils/privateKeyToAddress.d.ts.map +1 -0
- package/_types/accounts/utils/publicKeyToAddress.d.ts +15 -0
- package/_types/accounts/utils/publicKeyToAddress.d.ts.map +1 -0
- package/_types/accounts/utils/sign.d.ts +19 -0
- package/_types/accounts/utils/sign.d.ts.map +1 -0
- package/_types/accounts/utils/signMessage.d.ts +21 -0
- package/_types/accounts/utils/signMessage.d.ts.map +1 -0
- package/_types/accounts/utils/signTransaction.d.ts +16 -0
- package/_types/accounts/utils/signTransaction.d.ts.map +1 -0
- package/_types/accounts/utils/signTypedData.d.ts +21 -0
- package/_types/accounts/utils/signTypedData.d.ts.map +1 -0
- package/_types/actions/ens/getEnsAddress.d.ts +54 -0
- package/_types/actions/ens/getEnsAddress.d.ts.map +1 -0
- package/_types/actions/ens/getEnsAvatar.d.ts +44 -0
- package/_types/actions/ens/getEnsAvatar.d.ts.map +1 -0
- package/_types/actions/ens/getEnsName.d.ts +46 -0
- package/_types/actions/ens/getEnsName.d.ts.map +1 -0
- package/_types/actions/ens/getEnsResolver.d.ts +48 -0
- package/_types/actions/ens/getEnsResolver.d.ts.map +1 -0
- package/_types/actions/ens/getEnsText.d.ts +53 -0
- package/_types/actions/ens/getEnsText.d.ts.map +1 -0
- package/_types/actions/getContract.d.ts +357 -0
- package/_types/actions/getContract.d.ts.map +1 -0
- package/_types/actions/index.d.ts +82 -0
- package/_types/actions/index.d.ts.map +1 -0
- package/_types/actions/public/call.d.ts +70 -0
- package/_types/actions/public/call.d.ts.map +1 -0
- package/_types/actions/public/createBlockFilter.d.ts +31 -0
- package/_types/actions/public/createBlockFilter.d.ts.map +1 -0
- package/_types/actions/public/createContractEventFilter.d.ts +55 -0
- package/_types/actions/public/createContractEventFilter.d.ts.map +1 -0
- package/_types/actions/public/createEventFilter.d.ts +81 -0
- package/_types/actions/public/createEventFilter.d.ts.map +1 -0
- package/_types/actions/public/createPendingTransactionFilter.d.ts +31 -0
- package/_types/actions/public/createPendingTransactionFilter.d.ts.map +1 -0
- package/_types/actions/public/estimateContractGas.d.ts +43 -0
- package/_types/actions/public/estimateContractGas.d.ts.map +1 -0
- package/_types/actions/public/estimateFeesPerGas.d.ts +53 -0
- package/_types/actions/public/estimateFeesPerGas.d.ts.map +1 -0
- package/_types/actions/public/estimateGas.d.ts +57 -0
- package/_types/actions/public/estimateGas.d.ts.map +1 -0
- package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts +44 -0
- package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts.map +1 -0
- package/_types/actions/public/getBalance.d.ts +59 -0
- package/_types/actions/public/getBalance.d.ts.map +1 -0
- package/_types/actions/public/getBlock.d.ts +61 -0
- package/_types/actions/public/getBlock.d.ts.map +1 -0
- package/_types/actions/public/getBlockNumber.d.ts +58 -0
- package/_types/actions/public/getBlockNumber.d.ts.map +1 -0
- package/_types/actions/public/getBlockTransactionCount.d.ts +52 -0
- package/_types/actions/public/getBlockTransactionCount.d.ts.map +1 -0
- package/_types/actions/public/getBytecode.d.ts +45 -0
- package/_types/actions/public/getBytecode.d.ts.map +1 -0
- package/_types/actions/public/getChainId.d.ts +32 -0
- package/_types/actions/public/getChainId.d.ts.map +1 -0
- package/_types/actions/public/getContractEvents.d.ts +66 -0
- package/_types/actions/public/getContractEvents.d.ts.map +1 -0
- package/_types/actions/public/getFeeHistory.d.ts +57 -0
- package/_types/actions/public/getFeeHistory.d.ts.map +1 -0
- package/_types/actions/public/getFilterChanges.d.ts +101 -0
- package/_types/actions/public/getFilterChanges.d.ts.map +1 -0
- package/_types/actions/public/getFilterLogs.d.ts +45 -0
- package/_types/actions/public/getFilterLogs.d.ts.map +1 -0
- package/_types/actions/public/getGasPrice.d.ts +30 -0
- package/_types/actions/public/getGasPrice.d.ts.map +1 -0
- package/_types/actions/public/getLogs.d.ts +78 -0
- package/_types/actions/public/getLogs.d.ts.map +1 -0
- package/_types/actions/public/getProof.d.ts +57 -0
- package/_types/actions/public/getProof.d.ts.map +1 -0
- package/_types/actions/public/getStorageAt.d.ts +47 -0
- package/_types/actions/public/getStorageAt.d.ts.map +1 -0
- package/_types/actions/public/getTransaction.d.ts +69 -0
- package/_types/actions/public/getTransaction.d.ts.map +1 -0
- package/_types/actions/public/getTransactionConfirmations.d.ts +45 -0
- package/_types/actions/public/getTransactionConfirmations.d.ts.map +1 -0
- package/_types/actions/public/getTransactionCount.d.ts +49 -0
- package/_types/actions/public/getTransactionCount.d.ts.map +1 -0
- package/_types/actions/public/getTransactionReceipt.d.ts +40 -0
- package/_types/actions/public/getTransactionReceipt.d.ts.map +1 -0
- package/_types/actions/public/multicall.d.ts +73 -0
- package/_types/actions/public/multicall.d.ts.map +1 -0
- package/_types/actions/public/readContract.d.ts +46 -0
- package/_types/actions/public/readContract.d.ts.map +1 -0
- package/_types/actions/public/simulateContract.d.ts +67 -0
- package/_types/actions/public/simulateContract.d.ts.map +1 -0
- package/_types/actions/public/uninstallFilter.d.ts +37 -0
- package/_types/actions/public/uninstallFilter.d.ts.map +1 -0
- package/_types/actions/public/verifyHash.d.ts +30 -0
- package/_types/actions/public/verifyHash.d.ts.map +1 -0
- package/_types/actions/public/verifyMessage.d.ts +31 -0
- package/_types/actions/public/verifyMessage.d.ts.map +1 -0
- package/_types/actions/public/verifyTypedData.d.ts +30 -0
- package/_types/actions/public/verifyTypedData.d.ts.map +1 -0
- package/_types/actions/public/waitForTransactionReceipt.d.ts +78 -0
- package/_types/actions/public/waitForTransactionReceipt.d.ts.map +1 -0
- package/_types/actions/public/watchBlockNumber.d.ts +58 -0
- package/_types/actions/public/watchBlockNumber.d.ts.map +1 -0
- package/_types/actions/public/watchBlocks.d.ts +66 -0
- package/_types/actions/public/watchBlocks.d.ts.map +1 -0
- package/_types/actions/public/watchContractEvent.d.ts +64 -0
- package/_types/actions/public/watchContractEvent.d.ts.map +1 -0
- package/_types/actions/public/watchEvent.d.ts +79 -0
- package/_types/actions/public/watchEvent.d.ts.map +1 -0
- package/_types/actions/public/watchPendingTransactions.d.ts +49 -0
- package/_types/actions/public/watchPendingTransactions.d.ts.map +1 -0
- package/_types/actions/test/dropTransaction.d.ts +36 -0
- package/_types/actions/test/dropTransaction.d.ts.map +1 -0
- package/_types/actions/test/dumpState.d.ts +31 -0
- package/_types/actions/test/dumpState.d.ts.map +1 -0
- package/_types/actions/test/getAutomine.d.ts +30 -0
- package/_types/actions/test/getAutomine.d.ts.map +1 -0
- package/_types/actions/test/getTxpoolContent.d.ts +37 -0
- package/_types/actions/test/getTxpoolContent.d.ts.map +1 -0
- package/_types/actions/test/getTxpoolStatus.d.ts +33 -0
- package/_types/actions/test/getTxpoolStatus.d.ts.map +1 -0
- package/_types/actions/test/impersonateAccount.d.ts +36 -0
- package/_types/actions/test/impersonateAccount.d.ts.map +1 -0
- package/_types/actions/test/increaseTime.d.ts +35 -0
- package/_types/actions/test/increaseTime.d.ts.map +1 -0
- package/_types/actions/test/inspectTxpool.d.ts +34 -0
- package/_types/actions/test/inspectTxpool.d.ts.map +1 -0
- package/_types/actions/test/loadState.d.ts +34 -0
- package/_types/actions/test/loadState.d.ts.map +1 -0
- package/_types/actions/test/mine.d.ts +35 -0
- package/_types/actions/test/mine.d.ts.map +1 -0
- package/_types/actions/test/removeBlockTimestampInterval.d.ts +28 -0
- package/_types/actions/test/removeBlockTimestampInterval.d.ts.map +1 -0
- package/_types/actions/test/reset.d.ts +35 -0
- package/_types/actions/test/reset.d.ts.map +1 -0
- package/_types/actions/test/revert.d.ts +34 -0
- package/_types/actions/test/revert.d.ts.map +1 -0
- package/_types/actions/test/sendUnsignedTransaction.d.ts +38 -0
- package/_types/actions/test/sendUnsignedTransaction.d.ts.map +1 -0
- package/_types/actions/test/setAutomine.d.ts +28 -0
- package/_types/actions/test/setAutomine.d.ts.map +1 -0
- package/_types/actions/test/setBalance.d.ts +39 -0
- package/_types/actions/test/setBalance.d.ts.map +1 -0
- package/_types/actions/test/setBlockGasLimit.d.ts +33 -0
- package/_types/actions/test/setBlockGasLimit.d.ts.map +1 -0
- package/_types/actions/test/setBlockTimestampInterval.d.ts +33 -0
- package/_types/actions/test/setBlockTimestampInterval.d.ts.map +1 -0
- package/_types/actions/test/setCode.d.ts +40 -0
- package/_types/actions/test/setCode.d.ts.map +1 -0
- package/_types/actions/test/setCoinbase.d.ts +36 -0
- package/_types/actions/test/setCoinbase.d.ts.map +1 -0
- package/_types/actions/test/setIntervalMining.d.ts +33 -0
- package/_types/actions/test/setIntervalMining.d.ts.map +1 -0
- package/_types/actions/test/setLoggingEnabled.d.ts +28 -0
- package/_types/actions/test/setLoggingEnabled.d.ts.map +1 -0
- package/_types/actions/test/setMinGasPrice.d.ts +37 -0
- package/_types/actions/test/setMinGasPrice.d.ts.map +1 -0
- package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts +35 -0
- package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts.map +1 -0
- package/_types/actions/test/setNextBlockTimestamp.d.ts +33 -0
- package/_types/actions/test/setNextBlockTimestamp.d.ts.map +1 -0
- package/_types/actions/test/setNonce.d.ts +39 -0
- package/_types/actions/test/setNonce.d.ts.map +1 -0
- package/_types/actions/test/setRpcUrl.d.ts +29 -0
- package/_types/actions/test/setRpcUrl.d.ts.map +1 -0
- package/_types/actions/test/setStorageAt.d.ts +43 -0
- package/_types/actions/test/setStorageAt.d.ts.map +1 -0
- package/_types/actions/test/snapshot.d.ts +28 -0
- package/_types/actions/test/snapshot.d.ts.map +1 -0
- package/_types/actions/test/stopImpersonatingAccount.d.ts +36 -0
- package/_types/actions/test/stopImpersonatingAccount.d.ts.map +1 -0
- package/_types/actions/wallet/addChain.d.ts +33 -0
- package/_types/actions/wallet/addChain.d.ts.map +1 -0
- package/_types/actions/wallet/deployContract.d.ts +50 -0
- package/_types/actions/wallet/deployContract.d.ts.map +1 -0
- package/_types/actions/wallet/getAddresses.d.ts +32 -0
- package/_types/actions/wallet/getAddresses.d.ts.map +1 -0
- package/_types/actions/wallet/getPermissions.d.ts +31 -0
- package/_types/actions/wallet/getPermissions.d.ts.map +1 -0
- package/_types/actions/wallet/prepareTransactionRequest.d.ts +72 -0
- package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -0
- package/_types/actions/wallet/requestAddresses.d.ts +35 -0
- package/_types/actions/wallet/requestAddresses.d.ts.map +1 -0
- package/_types/actions/wallet/requestPermissions.d.ts +40 -0
- package/_types/actions/wallet/requestPermissions.d.ts.map +1 -0
- package/_types/actions/wallet/sendRawTransaction.d.ts +41 -0
- package/_types/actions/wallet/sendRawTransaction.d.ts.map +1 -0
- package/_types/actions/wallet/sendTransaction.d.ts +69 -0
- package/_types/actions/wallet/sendTransaction.d.ts.map +1 -0
- package/_types/actions/wallet/signMessage.d.ts +64 -0
- package/_types/actions/wallet/signMessage.d.ts.map +1 -0
- package/_types/actions/wallet/signTransaction.d.ts +64 -0
- package/_types/actions/wallet/signTransaction.d.ts.map +1 -0
- package/_types/actions/wallet/signTypedData.d.ts +119 -0
- package/_types/actions/wallet/signTypedData.d.ts.map +1 -0
- package/_types/actions/wallet/switchChain.d.ts +34 -0
- package/_types/actions/wallet/switchChain.d.ts.map +1 -0
- package/_types/actions/wallet/watchAsset.d.ts +40 -0
- package/_types/actions/wallet/watchAsset.d.ts.map +1 -0
- package/_types/actions/wallet/writeContract.d.ts +71 -0
- package/_types/actions/wallet/writeContract.d.ts.map +1 -0
- package/_types/chains/celo/chainConfig.d.ts +914 -0
- package/_types/chains/celo/chainConfig.d.ts.map +1 -0
- package/_types/chains/celo/formatters.d.ts +911 -0
- package/_types/chains/celo/formatters.d.ts.map +1 -0
- package/_types/chains/celo/index.d.ts +5 -0
- package/_types/chains/celo/index.d.ts.map +1 -0
- package/_types/chains/celo/parsers.d.ts +6 -0
- package/_types/chains/celo/parsers.d.ts.map +1 -0
- package/_types/chains/celo/serializers.d.ts +12 -0
- package/_types/chains/celo/serializers.d.ts.map +1 -0
- package/_types/chains/celo/types.d.ts +138 -0
- package/_types/chains/celo/types.d.ts.map +1 -0
- package/_types/chains/celo/utils.d.ts +7 -0
- package/_types/chains/celo/utils.d.ts.map +1 -0
- package/_types/chains/definitions/arbitrum.d.ts +32 -0
- package/_types/chains/definitions/arbitrum.d.ts.map +1 -0
- package/_types/chains/definitions/arbitrumGoerli.d.ts +36 -0
- package/_types/chains/definitions/arbitrumGoerli.d.ts.map +1 -0
- package/_types/chains/definitions/arbitrumNova.d.ts +32 -0
- package/_types/chains/definitions/arbitrumNova.d.ts.map +1 -0
- package/_types/chains/definitions/arbitrumSepolia.d.ts +32 -0
- package/_types/chains/definitions/arbitrumSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/astar.d.ts +36 -0
- package/_types/chains/definitions/astar.d.ts.map +1 -0
- package/_types/chains/definitions/astarZkatana.d.ts +40 -0
- package/_types/chains/definitions/astarZkatana.d.ts.map +1 -0
- package/_types/chains/definitions/aurora.d.ts +32 -0
- package/_types/chains/definitions/aurora.d.ts.map +1 -0
- package/_types/chains/definitions/auroraTestnet.d.ts +34 -0
- package/_types/chains/definitions/auroraTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/avalanche.d.ts +32 -0
- package/_types/chains/definitions/avalanche.d.ts.map +1 -0
- package/_types/chains/definitions/avalancheFuji.d.ts +32 -0
- package/_types/chains/definitions/avalancheFuji.d.ts.map +1 -0
- package/_types/chains/definitions/base.d.ts +573 -0
- package/_types/chains/definitions/base.d.ts.map +1 -0
- package/_types/chains/definitions/baseGoerli.d.ts +572 -0
- package/_types/chains/definitions/baseGoerli.d.ts.map +1 -0
- package/_types/chains/definitions/baseSepolia.d.ts +577 -0
- package/_types/chains/definitions/baseSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/bearNetworkChainMainnet.d.ts +34 -0
- package/_types/chains/definitions/bearNetworkChainMainnet.d.ts.map +1 -0
- package/_types/chains/definitions/bearNetworkChainTestnet.d.ts +34 -0
- package/_types/chains/definitions/bearNetworkChainTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/boba.d.ts +32 -0
- package/_types/chains/definitions/boba.d.ts.map +1 -0
- package/_types/chains/definitions/bronos.d.ts +34 -0
- package/_types/chains/definitions/bronos.d.ts.map +1 -0
- package/_types/chains/definitions/bronosTestnet.d.ts +34 -0
- package/_types/chains/definitions/bronosTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/bsc.d.ts +32 -0
- package/_types/chains/definitions/bsc.d.ts.map +1 -0
- package/_types/chains/definitions/bscTestnet.d.ts +35 -0
- package/_types/chains/definitions/bscTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/bxn.d.ts +34 -0
- package/_types/chains/definitions/bxn.d.ts.map +1 -0
- package/_types/chains/definitions/bxnTestnet.d.ts +34 -0
- package/_types/chains/definitions/bxnTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/canto.d.ts +32 -0
- package/_types/chains/definitions/canto.d.ts.map +1 -0
- package/_types/chains/definitions/celo.d.ts +941 -0
- package/_types/chains/definitions/celo.d.ts.map +1 -0
- package/_types/chains/definitions/celoAlfajores.d.ts +941 -0
- package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -0
- package/_types/chains/definitions/celoCannoli.d.ts +941 -0
- package/_types/chains/definitions/celoCannoli.d.ts.map +1 -0
- package/_types/chains/definitions/chiliz.d.ts +35 -0
- package/_types/chains/definitions/chiliz.d.ts.map +1 -0
- package/_types/chains/definitions/classic.d.ts +34 -0
- package/_types/chains/definitions/classic.d.ts.map +1 -0
- package/_types/chains/definitions/confluxESpace.d.ts +33 -0
- package/_types/chains/definitions/confluxESpace.d.ts.map +1 -0
- package/_types/chains/definitions/confluxESpaceTestnet.d.ts +38 -0
- package/_types/chains/definitions/confluxESpaceTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/coreDao.d.ts +32 -0
- package/_types/chains/definitions/coreDao.d.ts.map +1 -0
- package/_types/chains/definitions/cronos.d.ts +32 -0
- package/_types/chains/definitions/cronos.d.ts.map +1 -0
- package/_types/chains/definitions/cronosTestnet.d.ts +32 -0
- package/_types/chains/definitions/cronosTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/crossbell.d.ts +32 -0
- package/_types/chains/definitions/crossbell.d.ts.map +1 -0
- package/_types/chains/definitions/dfk.d.ts +34 -0
- package/_types/chains/definitions/dfk.d.ts.map +1 -0
- package/_types/chains/definitions/dogechain.d.ts +34 -0
- package/_types/chains/definitions/dogechain.d.ts.map +1 -0
- package/_types/chains/definitions/edgeware.d.ts +32 -0
- package/_types/chains/definitions/edgeware.d.ts.map +1 -0
- package/_types/chains/definitions/edgewareTestnet.d.ts +34 -0
- package/_types/chains/definitions/edgewareTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/ekta.d.ts +34 -0
- package/_types/chains/definitions/ekta.d.ts.map +1 -0
- package/_types/chains/definitions/ektaTestnet.d.ts +34 -0
- package/_types/chains/definitions/ektaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/eon.d.ts +27 -0
- package/_types/chains/definitions/eon.d.ts.map +1 -0
- package/_types/chains/definitions/eos.d.ts +32 -0
- package/_types/chains/definitions/eos.d.ts.map +1 -0
- package/_types/chains/definitions/eosTestnet.d.ts +32 -0
- package/_types/chains/definitions/eosTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/evmos.d.ts +34 -0
- package/_types/chains/definitions/evmos.d.ts.map +1 -0
- package/_types/chains/definitions/evmosTestnet.d.ts +34 -0
- package/_types/chains/definitions/evmosTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/fantom.d.ts +32 -0
- package/_types/chains/definitions/fantom.d.ts.map +1 -0
- package/_types/chains/definitions/fantomTestnet.d.ts +32 -0
- package/_types/chains/definitions/fantomTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/fibo.d.ts +34 -0
- package/_types/chains/definitions/fibo.d.ts.map +1 -0
- package/_types/chains/definitions/filecoin.d.ts +32 -0
- package/_types/chains/definitions/filecoin.d.ts.map +1 -0
- package/_types/chains/definitions/filecoinCalibration.d.ts +34 -0
- package/_types/chains/definitions/filecoinCalibration.d.ts.map +1 -0
- package/_types/chains/definitions/filecoinHyperspace.d.ts +34 -0
- package/_types/chains/definitions/filecoinHyperspace.d.ts.map +1 -0
- package/_types/chains/definitions/flare.d.ts +34 -0
- package/_types/chains/definitions/flare.d.ts.map +1 -0
- package/_types/chains/definitions/flareTestnet.d.ts +34 -0
- package/_types/chains/definitions/flareTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/foundry.d.ts +39 -0
- package/_types/chains/definitions/foundry.d.ts.map +1 -0
- package/_types/chains/definitions/fuse.d.ts +32 -0
- package/_types/chains/definitions/fuse.d.ts.map +1 -0
- package/_types/chains/definitions/fuseSparknet.d.ts +34 -0
- package/_types/chains/definitions/fuseSparknet.d.ts.map +1 -0
- package/_types/chains/definitions/gnosis.d.ts +33 -0
- package/_types/chains/definitions/gnosis.d.ts.map +1 -0
- package/_types/chains/definitions/gnosisChiado.d.ts +33 -0
- package/_types/chains/definitions/gnosisChiado.d.ts.map +1 -0
- package/_types/chains/definitions/gobi.d.ts +27 -0
- package/_types/chains/definitions/gobi.d.ts.map +1 -0
- package/_types/chains/definitions/goerli.d.ts +39 -0
- package/_types/chains/definitions/goerli.d.ts.map +1 -0
- package/_types/chains/definitions/haqqMainnet.d.ts +34 -0
- package/_types/chains/definitions/haqqMainnet.d.ts.map +1 -0
- package/_types/chains/definitions/haqqTestedge2.d.ts +34 -0
- package/_types/chains/definitions/haqqTestedge2.d.ts.map +1 -0
- package/_types/chains/definitions/hardhat.d.ts +38 -0
- package/_types/chains/definitions/hardhat.d.ts.map +1 -0
- package/_types/chains/definitions/harmonyOne.d.ts +32 -0
- package/_types/chains/definitions/harmonyOne.d.ts.map +1 -0
- package/_types/chains/definitions/holesky.d.ts +36 -0
- package/_types/chains/definitions/holesky.d.ts.map +1 -0
- package/_types/chains/definitions/iotex.d.ts +35 -0
- package/_types/chains/definitions/iotex.d.ts.map +1 -0
- package/_types/chains/definitions/iotexTestnet.d.ts +35 -0
- package/_types/chains/definitions/iotexTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/kava.d.ts +36 -0
- package/_types/chains/definitions/kava.d.ts.map +1 -0
- package/_types/chains/definitions/kavaTestnet.d.ts +36 -0
- package/_types/chains/definitions/kavaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/klaytn.d.ts +32 -0
- package/_types/chains/definitions/klaytn.d.ts.map +1 -0
- package/_types/chains/definitions/klaytnBaobab.d.ts +40 -0
- package/_types/chains/definitions/klaytnBaobab.d.ts.map +1 -0
- package/_types/chains/definitions/kroma.d.ts +34 -0
- package/_types/chains/definitions/kroma.d.ts.map +1 -0
- package/_types/chains/definitions/kromaSepolia.d.ts +34 -0
- package/_types/chains/definitions/kromaSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/linea.d.ts +33 -0
- package/_types/chains/definitions/linea.d.ts.map +1 -0
- package/_types/chains/definitions/lineaTestnet.d.ts +33 -0
- package/_types/chains/definitions/lineaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/localhost.d.ts +38 -0
- package/_types/chains/definitions/localhost.d.ts.map +1 -0
- package/_types/chains/definitions/lukso.d.ts +40 -0
- package/_types/chains/definitions/lukso.d.ts.map +1 -0
- package/_types/chains/definitions/mainnet.d.ts +39 -0
- package/_types/chains/definitions/mainnet.d.ts.map +1 -0
- package/_types/chains/definitions/manta.d.ts +40 -0
- package/_types/chains/definitions/manta.d.ts.map +1 -0
- package/_types/chains/definitions/mantaTestnet.d.ts +40 -0
- package/_types/chains/definitions/mantaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/mantle.d.ts +32 -0
- package/_types/chains/definitions/mantle.d.ts.map +1 -0
- package/_types/chains/definitions/mantleTestnet.d.ts +34 -0
- package/_types/chains/definitions/mantleTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/meter.d.ts +34 -0
- package/_types/chains/definitions/meter.d.ts.map +1 -0
- package/_types/chains/definitions/meterTestnet.d.ts +34 -0
- package/_types/chains/definitions/meterTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/metis.d.ts +32 -0
- package/_types/chains/definitions/metis.d.ts.map +1 -0
- package/_types/chains/definitions/metisGoerli.d.ts +32 -0
- package/_types/chains/definitions/metisGoerli.d.ts.map +1 -0
- package/_types/chains/definitions/mev.d.ts +32 -0
- package/_types/chains/definitions/mev.d.ts.map +1 -0
- package/_types/chains/definitions/mevTestnet.d.ts +32 -0
- package/_types/chains/definitions/mevTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/modeTestnet.d.ts +32 -0
- package/_types/chains/definitions/modeTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/moonbaseAlpha.d.ts +33 -0
- package/_types/chains/definitions/moonbaseAlpha.d.ts.map +1 -0
- package/_types/chains/definitions/moonbeam.d.ts +33 -0
- package/_types/chains/definitions/moonbeam.d.ts.map +1 -0
- package/_types/chains/definitions/moonbeamDev.d.ts +39 -0
- package/_types/chains/definitions/moonbeamDev.d.ts.map +1 -0
- package/_types/chains/definitions/moonriver.d.ts +33 -0
- package/_types/chains/definitions/moonriver.d.ts.map +1 -0
- package/_types/chains/definitions/neonDevnet.d.ts +32 -0
- package/_types/chains/definitions/neonDevnet.d.ts.map +1 -0
- package/_types/chains/definitions/neonMainnet.d.ts +31 -0
- package/_types/chains/definitions/neonMainnet.d.ts.map +1 -0
- package/_types/chains/definitions/nexi.d.ts +32 -0
- package/_types/chains/definitions/nexi.d.ts.map +1 -0
- package/_types/chains/definitions/nexilix.d.ts +32 -0
- package/_types/chains/definitions/nexilix.d.ts.map +1 -0
- package/_types/chains/definitions/oasys.d.ts +34 -0
- package/_types/chains/definitions/oasys.d.ts.map +1 -0
- package/_types/chains/definitions/okc.d.ts +32 -0
- package/_types/chains/definitions/okc.d.ts.map +1 -0
- package/_types/chains/definitions/opBNB.d.ts +32 -0
- package/_types/chains/definitions/opBNB.d.ts.map +1 -0
- package/_types/chains/definitions/opBNBTestnet.d.ts +32 -0
- package/_types/chains/definitions/opBNBTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/optimism.d.ts +572 -0
- package/_types/chains/definitions/optimism.d.ts.map +1 -0
- package/_types/chains/definitions/optimismGoerli.d.ts +572 -0
- package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -0
- package/_types/chains/definitions/optimismSepolia.d.ts +572 -0
- package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/pgn.d.ts +555 -0
- package/_types/chains/definitions/pgn.d.ts.map +1 -0
- package/_types/chains/definitions/pgnTestnet.d.ts +555 -0
- package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/plinga.d.ts +32 -0
- package/_types/chains/definitions/plinga.d.ts.map +1 -0
- package/_types/chains/definitions/polygon.d.ts +32 -0
- package/_types/chains/definitions/polygon.d.ts.map +1 -0
- package/_types/chains/definitions/polygonMumbai.d.ts +32 -0
- package/_types/chains/definitions/polygonMumbai.d.ts.map +1 -0
- package/_types/chains/definitions/polygonZkEvm.d.ts +32 -0
- package/_types/chains/definitions/polygonZkEvm.d.ts.map +1 -0
- package/_types/chains/definitions/polygonZkEvmTestnet.d.ts +32 -0
- package/_types/chains/definitions/polygonZkEvmTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/pulsechain.d.ts +36 -0
- package/_types/chains/definitions/pulsechain.d.ts.map +1 -0
- package/_types/chains/definitions/pulsechainV4.d.ts +36 -0
- package/_types/chains/definitions/pulsechainV4.d.ts.map +1 -0
- package/_types/chains/definitions/qMainnet.d.ts +34 -0
- package/_types/chains/definitions/qMainnet.d.ts.map +1 -0
- package/_types/chains/definitions/qTestnet.d.ts +34 -0
- package/_types/chains/definitions/qTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/rollux.d.ts +33 -0
- package/_types/chains/definitions/rollux.d.ts.map +1 -0
- package/_types/chains/definitions/rolluxTestnet.d.ts +33 -0
- package/_types/chains/definitions/rolluxTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/ronin.d.ts +32 -0
- package/_types/chains/definitions/ronin.d.ts.map +1 -0
- package/_types/chains/definitions/rootstock.d.ts +40 -0
- package/_types/chains/definitions/rootstock.d.ts.map +1 -0
- package/_types/chains/definitions/saigon.d.ts +32 -0
- package/_types/chains/definitions/saigon.d.ts.map +1 -0
- package/_types/chains/definitions/sapphire.d.ts +38 -0
- package/_types/chains/definitions/sapphire.d.ts.map +1 -0
- package/_types/chains/definitions/sapphireTestnet.d.ts +40 -0
- package/_types/chains/definitions/sapphireTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/scroll.d.ts +33 -0
- package/_types/chains/definitions/scroll.d.ts.map +1 -0
- package/_types/chains/definitions/scrollSepolia.d.ts +32 -0
- package/_types/chains/definitions/scrollSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/scrollTestnet.d.ts +35 -0
- package/_types/chains/definitions/scrollTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/sepolia.d.ts +39 -0
- package/_types/chains/definitions/sepolia.d.ts.map +1 -0
- package/_types/chains/definitions/shardeumSphinx.d.ts +34 -0
- package/_types/chains/definitions/shardeumSphinx.d.ts.map +1 -0
- package/_types/chains/definitions/shibarium.d.ts +40 -0
- package/_types/chains/definitions/shibarium.d.ts.map +1 -0
- package/_types/chains/definitions/shimmer.d.ts +38 -0
- package/_types/chains/definitions/shimmer.d.ts.map +1 -0
- package/_types/chains/definitions/shimmerTestnet.d.ts +38 -0
- package/_types/chains/definitions/shimmerTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/skale/brawl.d.ts +28 -0
- package/_types/chains/definitions/skale/brawl.d.ts.map +1 -0
- package/_types/chains/definitions/skale/calypso.d.ts +33 -0
- package/_types/chains/definitions/skale/calypso.d.ts.map +1 -0
- package/_types/chains/definitions/skale/calypsoTestnet.d.ts +33 -0
- package/_types/chains/definitions/skale/calypsoTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/skale/chaosTestnet.d.ts +33 -0
- package/_types/chains/definitions/skale/chaosTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/skale/cryptoBlades.d.ts +28 -0
- package/_types/chains/definitions/skale/cryptoBlades.d.ts.map +1 -0
- package/_types/chains/definitions/skale/cryptoColosseum.d.ts +28 -0
- package/_types/chains/definitions/skale/cryptoColosseum.d.ts.map +1 -0
- package/_types/chains/definitions/skale/europa.d.ts +33 -0
- package/_types/chains/definitions/skale/europa.d.ts.map +1 -0
- package/_types/chains/definitions/skale/europaTestnet.d.ts +33 -0
- package/_types/chains/definitions/skale/europaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/skale/exorde.d.ts +28 -0
- package/_types/chains/definitions/skale/exorde.d.ts.map +1 -0
- package/_types/chains/definitions/skale/humanProtocol.d.ts +28 -0
- package/_types/chains/definitions/skale/humanProtocol.d.ts.map +1 -0
- package/_types/chains/definitions/skale/nebula.d.ts +33 -0
- package/_types/chains/definitions/skale/nebula.d.ts.map +1 -0
- package/_types/chains/definitions/skale/nebulaTestnet.d.ts +33 -0
- package/_types/chains/definitions/skale/nebulaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/skale/razor.d.ts +28 -0
- package/_types/chains/definitions/skale/razor.d.ts.map +1 -0
- package/_types/chains/definitions/skale/titan.d.ts +33 -0
- package/_types/chains/definitions/skale/titan.d.ts.map +1 -0
- package/_types/chains/definitions/skale/titanTestnet.d.ts +33 -0
- package/_types/chains/definitions/skale/titanTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/songbird.d.ts +34 -0
- package/_types/chains/definitions/songbird.d.ts.map +1 -0
- package/_types/chains/definitions/songbirdTestnet.d.ts +34 -0
- package/_types/chains/definitions/songbirdTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/spicy.d.ts +36 -0
- package/_types/chains/definitions/spicy.d.ts.map +1 -0
- package/_types/chains/definitions/syscoin.d.ts +33 -0
- package/_types/chains/definitions/syscoin.d.ts.map +1 -0
- package/_types/chains/definitions/syscoinTestnet.d.ts +33 -0
- package/_types/chains/definitions/syscoinTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/taikoJolnir.d.ts +34 -0
- package/_types/chains/definitions/taikoJolnir.d.ts.map +1 -0
- package/_types/chains/definitions/taikoTestnetSepolia.d.ts +34 -0
- package/_types/chains/definitions/taikoTestnetSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/taraxa.d.ts +34 -0
- package/_types/chains/definitions/taraxa.d.ts.map +1 -0
- package/_types/chains/definitions/taraxaTestnet.d.ts +34 -0
- package/_types/chains/definitions/taraxaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/telos.d.ts +32 -0
- package/_types/chains/definitions/telos.d.ts.map +1 -0
- package/_types/chains/definitions/telosTestnet.d.ts +34 -0
- package/_types/chains/definitions/telosTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/tenet.d.ts +38 -0
- package/_types/chains/definitions/tenet.d.ts.map +1 -0
- package/_types/chains/definitions/thunderTestnet.d.ts +34 -0
- package/_types/chains/definitions/thunderTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/vechain.d.ts +38 -0
- package/_types/chains/definitions/vechain.d.ts.map +1 -0
- package/_types/chains/definitions/wanchain.d.ts +32 -0
- package/_types/chains/definitions/wanchain.d.ts.map +1 -0
- package/_types/chains/definitions/wanchainTestnet.d.ts +32 -0
- package/_types/chains/definitions/wanchainTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/xdc.d.ts +38 -0
- package/_types/chains/definitions/xdc.d.ts.map +1 -0
- package/_types/chains/definitions/xdcTestnet.d.ts +38 -0
- package/_types/chains/definitions/xdcTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/zetachainAthensTestnet.d.ts +34 -0
- package/_types/chains/definitions/zetachainAthensTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/zhejiang.d.ts +34 -0
- package/_types/chains/definitions/zhejiang.d.ts.map +1 -0
- package/_types/chains/definitions/zkSync.d.ts +529 -0
- package/_types/chains/definitions/zkSync.d.ts.map +1 -0
- package/_types/chains/definitions/zkSyncTestnet.d.ts +529 -0
- package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/zora.d.ts +573 -0
- package/_types/chains/definitions/zora.d.ts.map +1 -0
- package/_types/chains/definitions/zoraSepolia.d.ts +578 -0
- package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/zoraTestnet.d.ts +573 -0
- package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -0
- package/_types/chains/index.d.ts +174 -0
- package/_types/chains/index.d.ts.map +1 -0
- package/_types/chains/opStack/abis.d.ts +549 -0
- package/_types/chains/opStack/abis.d.ts.map +1 -0
- package/_types/chains/opStack/actions/buildDepositTransaction.d.ts +63 -0
- package/_types/chains/opStack/actions/buildDepositTransaction.d.ts.map +1 -0
- package/_types/chains/opStack/actions/depositTransaction.d.ts +96 -0
- package/_types/chains/opStack/actions/depositTransaction.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts +39 -0
- package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts +39 -0
- package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts +39 -0
- package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts +39 -0
- package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateL1Fee.d.ts +43 -0
- package/_types/chains/opStack/actions/estimateL1Fee.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateL1Gas.d.ts +43 -0
- package/_types/chains/opStack/actions/estimateL1Gas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateTotalFee.d.ts +37 -0
- package/_types/chains/opStack/actions/estimateTotalFee.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateTotalGas.d.ts +36 -0
- package/_types/chains/opStack/actions/estimateTotalGas.d.ts.map +1 -0
- package/_types/chains/opStack/chainConfig.d.ts +542 -0
- package/_types/chains/opStack/chainConfig.d.ts.map +1 -0
- package/_types/chains/opStack/chains.d.ts +10 -0
- package/_types/chains/opStack/chains.d.ts.map +1 -0
- package/_types/chains/opStack/contracts.d.ts +21 -0
- package/_types/chains/opStack/contracts.d.ts.map +1 -0
- package/_types/chains/opStack/decorators/publicL2.d.ts +241 -0
- package/_types/chains/opStack/decorators/publicL2.d.ts.map +1 -0
- package/_types/chains/opStack/decorators/walletL1.d.ts +64 -0
- package/_types/chains/opStack/decorators/walletL1.d.ts.map +1 -0
- package/_types/chains/opStack/formatters.d.ts +520 -0
- package/_types/chains/opStack/formatters.d.ts.map +1 -0
- package/_types/chains/opStack/index.d.ts +24 -0
- package/_types/chains/opStack/index.d.ts.map +1 -0
- package/_types/chains/opStack/parsers.d.ts +8 -0
- package/_types/chains/opStack/parsers.d.ts.map +1 -0
- package/_types/chains/opStack/serializers.d.ts +12 -0
- package/_types/chains/opStack/serializers.d.ts.map +1 -0
- package/_types/chains/opStack/types/block.d.ts +13 -0
- package/_types/chains/opStack/types/block.d.ts.map +1 -0
- package/_types/chains/opStack/types/chain.d.ts +9 -0
- package/_types/chains/opStack/types/chain.d.ts.map +1 -0
- package/_types/chains/opStack/types/contract.d.ts +13 -0
- package/_types/chains/opStack/types/contract.d.ts.map +1 -0
- package/_types/chains/opStack/types/transaction.d.ts +60 -0
- package/_types/chains/opStack/types/transaction.d.ts.map +1 -0
- package/_types/chains/opStack/utils/extractTransactionDepositedLogs.d.ts +446 -0
- package/_types/chains/opStack/utils/extractTransactionDepositedLogs.d.ts.map +1 -0
- package/_types/chains/opStack/utils/fromOpaqueData.d.ts +15 -0
- package/_types/chains/opStack/utils/fromOpaqueData.d.ts.map +1 -0
- package/_types/chains/opStack/utils/getL2TransactionHash.d.ts +12 -0
- package/_types/chains/opStack/utils/getL2TransactionHash.d.ts.map +1 -0
- package/_types/chains/opStack/utils/getL2TransactionHashes.d.ts +11 -0
- package/_types/chains/opStack/utils/getL2TransactionHashes.d.ts.map +1 -0
- package/_types/chains/opStack/utils/getSourceHash.d.ts +28 -0
- package/_types/chains/opStack/utils/getSourceHash.d.ts.map +1 -0
- package/_types/chains/utils.d.ts +5 -0
- package/_types/chains/utils.d.ts.map +1 -0
- package/_types/chains/zksync/chainConfig.d.ts +501 -0
- package/_types/chains/zksync/chainConfig.d.ts.map +1 -0
- package/_types/chains/zksync/formatters.d.ts +498 -0
- package/_types/chains/zksync/formatters.d.ts.map +1 -0
- package/_types/chains/zksync/index.d.ts +4 -0
- package/_types/chains/zksync/index.d.ts.map +1 -0
- package/_types/chains/zksync/serializers.d.ts +9 -0
- package/_types/chains/zksync/serializers.d.ts.map +1 -0
- package/_types/chains/zksync/types.d.ts +158 -0
- package/_types/chains/zksync/types.d.ts.map +1 -0
- package/_types/clients/createClient.d.ts +86 -0
- package/_types/clients/createClient.d.ts.map +1 -0
- package/_types/clients/createPublicClient.d.ts +31 -0
- package/_types/clients/createPublicClient.d.ts.map +1 -0
- package/_types/clients/createTestClient.d.ts +45 -0
- package/_types/clients/createTestClient.d.ts.map +1 -0
- package/_types/clients/createWalletClient.d.ts +51 -0
- package/_types/clients/createWalletClient.d.ts.map +1 -0
- package/_types/clients/decorators/public.d.ts +1252 -0
- package/_types/clients/decorators/public.d.ts.map +1 -0
- package/_types/clients/decorators/test.d.ts +640 -0
- package/_types/clients/decorators/test.d.ts.map +1 -0
- package/_types/clients/decorators/wallet.d.ts +561 -0
- package/_types/clients/decorators/wallet.d.ts.map +1 -0
- package/_types/clients/transports/createTransport.d.ts +36 -0
- package/_types/clients/transports/createTransport.d.ts.map +1 -0
- package/_types/clients/transports/custom.d.ts +23 -0
- package/_types/clients/transports/custom.d.ts.map +1 -0
- package/_types/clients/transports/fallback.d.ts +77 -0
- package/_types/clients/transports/fallback.d.ts.map +1 -0
- package/_types/clients/transports/http.d.ts +44 -0
- package/_types/clients/transports/http.d.ts.map +1 -0
- package/_types/clients/transports/webSocket.d.ts +47 -0
- package/_types/clients/transports/webSocket.d.ts.map +1 -0
- package/_types/constants/abis.d.ts +1035 -0
- package/_types/constants/abis.d.ts.map +1 -0
- package/_types/constants/address.d.ts +2 -0
- package/_types/constants/address.d.ts.map +1 -0
- package/_types/constants/bytes.d.ts +2 -0
- package/_types/constants/bytes.d.ts.map +1 -0
- package/_types/constants/contract.d.ts +2 -0
- package/_types/constants/contract.d.ts.map +1 -0
- package/_types/constants/contracts.d.ts +2 -0
- package/_types/constants/contracts.d.ts.map +1 -0
- package/_types/constants/number.d.ts +97 -0
- package/_types/constants/number.d.ts.map +1 -0
- package/_types/constants/solidity.d.ts +15 -0
- package/_types/constants/solidity.d.ts.map +1 -0
- package/_types/constants/strings.d.ts +2 -0
- package/_types/constants/strings.d.ts.map +1 -0
- package/_types/constants/unit.d.ts +13 -0
- package/_types/constants/unit.d.ts.map +1 -0
- package/_types/ens/index.d.ts +9 -0
- package/_types/ens/index.d.ts.map +1 -0
- package/_types/errors/abi.d.ts +244 -0
- package/_types/errors/abi.d.ts.map +1 -0
- package/_types/errors/account.d.ts +11 -0
- package/_types/errors/account.d.ts.map +1 -0
- package/_types/errors/address.d.ts +11 -0
- package/_types/errors/address.d.ts.map +1 -0
- package/_types/errors/base.d.ts +27 -0
- package/_types/errors/base.d.ts.map +1 -0
- package/_types/errors/block.d.ts +13 -0
- package/_types/errors/block.d.ts.map +1 -0
- package/_types/errors/ccip.d.ts +38 -0
- package/_types/errors/ccip.d.ts.map +1 -0
- package/_types/errors/chain.d.ts +50 -0
- package/_types/errors/chain.d.ts.map +1 -0
- package/_types/errors/contract.d.ts +79 -0
- package/_types/errors/contract.d.ts.map +1 -0
- package/_types/errors/cursor.d.ts +21 -0
- package/_types/errors/cursor.d.ts.map +1 -0
- package/_types/errors/data.d.ts +24 -0
- package/_types/errors/data.d.ts.map +1 -0
- package/_types/errors/encoding.d.ts +47 -0
- package/_types/errors/encoding.d.ts.map +1 -0
- package/_types/errors/ens.d.ts +38 -0
- package/_types/errors/ens.d.ts.map +1 -0
- package/_types/errors/estimateGas.d.ts +17 -0
- package/_types/errors/estimateGas.d.ts.map +1 -0
- package/_types/errors/fee.d.ts +25 -0
- package/_types/errors/fee.d.ts.map +1 -0
- package/_types/errors/log.d.ts +9 -0
- package/_types/errors/log.d.ts.map +1 -0
- package/_types/errors/node.d.ts +142 -0
- package/_types/errors/node.d.ts.map +1 -0
- package/_types/errors/request.d.ts +73 -0
- package/_types/errors/request.d.ts.map +1 -0
- package/_types/errors/rpc.d.ts +302 -0
- package/_types/errors/rpc.d.ts.map +1 -0
- package/_types/errors/transaction.d.ts +109 -0
- package/_types/errors/transaction.d.ts.map +1 -0
- package/_types/errors/transport.d.ts +8 -0
- package/_types/errors/transport.d.ts.map +1 -0
- package/_types/errors/utils.d.ts +8 -0
- package/_types/errors/utils.d.ts.map +1 -0
- package/_types/errors/version.d.ts +2 -0
- package/_types/errors/version.d.ts.map +1 -0
- package/_types/index.d.ts +212 -0
- package/_types/index.d.ts.map +1 -0
- package/_types/types/account.d.ts +15 -0
- package/_types/types/account.d.ts.map +1 -0
- package/_types/types/block.d.ts +67 -0
- package/_types/types/block.d.ts.map +1 -0
- package/_types/types/chain.d.ts +159 -0
- package/_types/types/chain.d.ts.map +1 -0
- package/_types/types/contract.d.ts +118 -0
- package/_types/types/contract.d.ts.map +1 -0
- package/_types/types/eip1193.d.ts +1271 -0
- package/_types/types/eip1193.d.ts.map +1 -0
- package/_types/types/ens.d.ts +5 -0
- package/_types/types/ens.d.ts.map +1 -0
- package/_types/types/fee.d.ts +30 -0
- package/_types/types/fee.d.ts.map +1 -0
- package/_types/types/filter.d.ts +40 -0
- package/_types/types/filter.d.ts.map +1 -0
- package/_types/types/log.d.ts +55 -0
- package/_types/types/log.d.ts.map +1 -0
- package/_types/types/misc.d.ts +18 -0
- package/_types/types/misc.d.ts.map +1 -0
- package/_types/types/multicall.d.ts +58 -0
- package/_types/types/multicall.d.ts.map +1 -0
- package/_types/types/proof.d.ts +18 -0
- package/_types/types/proof.d.ts.map +1 -0
- package/_types/types/rpc.d.ts +22 -0
- package/_types/types/rpc.d.ts.map +1 -0
- package/_types/types/transaction.d.ts +156 -0
- package/_types/types/transaction.d.ts.map +1 -0
- package/_types/types/transport.d.ts +24 -0
- package/_types/types/transport.d.ts.map +1 -0
- package/_types/types/typedData.d.ts +25 -0
- package/_types/types/typedData.d.ts.map +1 -0
- package/_types/types/utils.d.ts +171 -0
- package/_types/types/utils.d.ts.map +1 -0
- package/_types/types/window.d.ts +7 -0
- package/_types/types/window.d.ts.map +1 -0
- package/_types/types/withdrawal.d.ts +8 -0
- package/_types/types/withdrawal.d.ts.map +1 -0
- package/_types/utils/abi/decodeAbiParameters.d.ts +25 -0
- package/_types/utils/abi/decodeAbiParameters.d.ts.map +1 -0
- package/_types/utils/abi/decodeDeployData.d.ts +18 -0
- package/_types/utils/abi/decodeDeployData.d.ts.map +1 -0
- package/_types/utils/abi/decodeErrorResult.d.ts +27 -0
- package/_types/utils/abi/decodeErrorResult.d.ts.map +1 -0
- package/_types/utils/abi/decodeEventLog.d.ts +33 -0
- package/_types/utils/abi/decodeEventLog.d.ts.map +1 -0
- package/_types/utils/abi/decodeFunctionData.d.ts +26 -0
- package/_types/utils/abi/decodeFunctionData.d.ts.map +1 -0
- package/_types/utils/abi/decodeFunctionResult.d.ts +26 -0
- package/_types/utils/abi/decodeFunctionResult.d.ts.map +1 -0
- package/_types/utils/abi/encodeAbiParameters.d.ts +30 -0
- package/_types/utils/abi/encodeAbiParameters.d.ts.map +1 -0
- package/_types/utils/abi/encodeDeployData.d.ts +22 -0
- package/_types/utils/abi/encodeDeployData.d.ts.map +1 -0
- package/_types/utils/abi/encodeErrorResult.d.ts +24 -0
- package/_types/utils/abi/encodeErrorResult.d.ts.map +1 -0
- package/_types/utils/abi/encodeEventTopics.d.ts +26 -0
- package/_types/utils/abi/encodeEventTopics.d.ts.map +1 -0
- package/_types/utils/abi/encodeFunctionData.d.ts +28 -0
- package/_types/utils/abi/encodeFunctionData.d.ts.map +1 -0
- package/_types/utils/abi/encodeFunctionResult.d.ts +22 -0
- package/_types/utils/abi/encodeFunctionResult.d.ts.map +1 -0
- package/_types/utils/abi/encodePacked.d.ts +20 -0
- package/_types/utils/abi/encodePacked.d.ts.map +1 -0
- package/_types/utils/abi/formatAbiItem.d.ts +14 -0
- package/_types/utils/abi/formatAbiItem.d.ts.map +1 -0
- package/_types/utils/abi/formatAbiItemWithArgs.d.ts +10 -0
- package/_types/utils/abi/formatAbiItemWithArgs.d.ts.map +1 -0
- package/_types/utils/abi/getAbiItem.d.ts +22 -0
- package/_types/utils/abi/getAbiItem.d.ts.map +1 -0
- package/_types/utils/abi/parseEventLogs.d.ts +43 -0
- package/_types/utils/abi/parseEventLogs.d.ts.map +1 -0
- package/_types/utils/accounts.d.ts +3 -0
- package/_types/utils/accounts.d.ts.map +1 -0
- package/_types/utils/address/getAddress.d.ts +10 -0
- package/_types/utils/address/getAddress.d.ts.map +1 -0
- package/_types/utils/address/getContractAddress.d.ts +35 -0
- package/_types/utils/address/getContractAddress.d.ts.map +1 -0
- package/_types/utils/address/isAddress.d.ts +5 -0
- package/_types/utils/address/isAddress.d.ts.map +1 -0
- package/_types/utils/address/isAddressEqual.d.ts +7 -0
- package/_types/utils/address/isAddressEqual.d.ts.map +1 -0
- package/_types/utils/buildRequest.d.ts +11 -0
- package/_types/utils/buildRequest.d.ts.map +1 -0
- package/_types/utils/ccip.d.ts +40 -0
- package/_types/utils/ccip.d.ts.map +1 -0
- package/_types/utils/chain/assertCurrentChain.d.ts +10 -0
- package/_types/utils/chain/assertCurrentChain.d.ts.map +1 -0
- package/_types/utils/chain/defineChain.d.ts +4 -0
- package/_types/utils/chain/defineChain.d.ts.map +1 -0
- package/_types/utils/chain/extractChain.d.ts +10 -0
- package/_types/utils/chain/extractChain.d.ts.map +1 -0
- package/_types/utils/chain/getChainContractAddress.d.ts +9 -0
- package/_types/utils/chain/getChainContractAddress.d.ts.map +1 -0
- package/_types/utils/cursor.d.ts +37 -0
- package/_types/utils/cursor.d.ts.map +1 -0
- package/_types/utils/data/concat.d.ts +10 -0
- package/_types/utils/data/concat.d.ts.map +1 -0
- package/_types/utils/data/isBytes.d.ts +5 -0
- package/_types/utils/data/isBytes.d.ts.map +1 -0
- package/_types/utils/data/isBytesEqual.d.ts +7 -0
- package/_types/utils/data/isBytesEqual.d.ts.map +1 -0
- package/_types/utils/data/isHex.d.ts +7 -0
- package/_types/utils/data/isHex.d.ts.map +1 -0
- package/_types/utils/data/pad.d.ts +16 -0
- package/_types/utils/data/pad.d.ts.map +1 -0
- package/_types/utils/data/size.d.ts +12 -0
- package/_types/utils/data/size.d.ts.map +1 -0
- package/_types/utils/data/slice.d.ts +42 -0
- package/_types/utils/data/slice.d.ts.map +1 -0
- package/_types/utils/data/trim.d.ts +10 -0
- package/_types/utils/data/trim.d.ts.map +1 -0
- package/_types/utils/encoding/fromBytes.d.ts +117 -0
- package/_types/utils/encoding/fromBytes.d.ts.map +1 -0
- package/_types/utils/encoding/fromHex.d.ts +149 -0
- package/_types/utils/encoding/fromHex.d.ts.map +1 -0
- package/_types/utils/encoding/fromRlp.d.ts +21 -0
- package/_types/utils/encoding/fromRlp.d.ts.map +1 -0
- package/_types/utils/encoding/toBytes.d.ts +134 -0
- package/_types/utils/encoding/toBytes.d.ts.map +1 -0
- package/_types/utils/encoding/toHex.d.ts +148 -0
- package/_types/utils/encoding/toHex.d.ts.map +1 -0
- package/_types/utils/encoding/toRlp.d.ts +16 -0
- package/_types/utils/encoding/toRlp.d.ts.map +1 -0
- package/_types/utils/ens/avatar/parseAvatarRecord.d.ts +13 -0
- package/_types/utils/ens/avatar/parseAvatarRecord.d.ts.map +1 -0
- package/_types/utils/ens/avatar/utils.d.ts +48 -0
- package/_types/utils/ens/avatar/utils.d.ts.map +1 -0
- package/_types/utils/ens/encodeLabelhash.d.ts +5 -0
- package/_types/utils/ens/encodeLabelhash.d.ts.map +1 -0
- package/_types/utils/ens/encodedLabelToLabelhash.d.ts +6 -0
- package/_types/utils/ens/encodedLabelToLabelhash.d.ts.map +1 -0
- package/_types/utils/ens/errors.d.ts +4 -0
- package/_types/utils/ens/errors.d.ts.map +1 -0
- package/_types/utils/ens/labelhash.d.ts +17 -0
- package/_types/utils/ens/labelhash.d.ts.map +1 -0
- package/_types/utils/ens/namehash.d.ts +20 -0
- package/_types/utils/ens/namehash.d.ts.map +1 -0
- package/_types/utils/ens/normalize.d.ts +14 -0
- package/_types/utils/ens/normalize.d.ts.map +1 -0
- package/_types/utils/ens/packetToBytes.d.ts +8 -0
- package/_types/utils/ens/packetToBytes.d.ts.map +1 -0
- package/_types/utils/errors/getCallError.d.ts +13 -0
- package/_types/utils/errors/getCallError.d.ts.map +1 -0
- package/_types/utils/errors/getContractError.d.ts +15 -0
- package/_types/utils/errors/getContractError.d.ts.map +1 -0
- package/_types/utils/errors/getEstimateGasError.d.ts +15 -0
- package/_types/utils/errors/getEstimateGasError.d.ts.map +1 -0
- package/_types/utils/errors/getNodeError.d.ts +8 -0
- package/_types/utils/errors/getNodeError.d.ts.map +1 -0
- package/_types/utils/errors/getTransactionError.d.ts +16 -0
- package/_types/utils/errors/getTransactionError.d.ts.map +1 -0
- package/_types/utils/filters/createFilterRequestScope.d.ts +22 -0
- package/_types/utils/filters/createFilterRequestScope.d.ts.map +1 -0
- package/_types/utils/formatters/block.d.ts +28 -0
- package/_types/utils/formatters/block.d.ts.map +1 -0
- package/_types/utils/formatters/extract.d.ts +10 -0
- package/_types/utils/formatters/extract.d.ts.map +1 -0
- package/_types/utils/formatters/feeHistory.d.ts +6 -0
- package/_types/utils/formatters/feeHistory.d.ts.map +1 -0
- package/_types/utils/formatters/formatter.d.ts +12 -0
- package/_types/utils/formatters/formatter.d.ts.map +1 -0
- package/_types/utils/formatters/log.d.ts +9 -0
- package/_types/utils/formatters/log.d.ts.map +1 -0
- package/_types/utils/formatters/proof.d.ts +6 -0
- package/_types/utils/formatters/proof.d.ts.map +1 -0
- package/_types/utils/formatters/transaction.d.ts +30 -0
- package/_types/utils/formatters/transaction.d.ts.map +1 -0
- package/_types/utils/formatters/transactionReceipt.d.ts +18 -0
- package/_types/utils/formatters/transactionReceipt.d.ts.map +1 -0
- package/_types/utils/formatters/transactionRequest.d.ts +23 -0
- package/_types/utils/formatters/transactionRequest.d.ts.map +1 -0
- package/_types/utils/getAction.d.ts +10 -0
- package/_types/utils/getAction.d.ts.map +1 -0
- package/_types/utils/hash/getEventSelector.d.ts +7 -0
- package/_types/utils/hash/getEventSelector.d.ts.map +1 -0
- package/_types/utils/hash/getEventSignature.d.ts +6 -0
- package/_types/utils/hash/getEventSignature.d.ts.map +1 -0
- package/_types/utils/hash/getFunctionSelector.d.ts +9 -0
- package/_types/utils/hash/getFunctionSelector.d.ts.map +1 -0
- package/_types/utils/hash/getFunctionSignature.d.ts +6 -0
- package/_types/utils/hash/getFunctionSignature.d.ts.map +1 -0
- package/_types/utils/hash/hashFunction.d.ts +11 -0
- package/_types/utils/hash/hashFunction.d.ts.map +1 -0
- package/_types/utils/hash/isHash.d.ts +7 -0
- package/_types/utils/hash/isHash.d.ts.map +1 -0
- package/_types/utils/hash/keccak256.d.ts +11 -0
- package/_types/utils/hash/keccak256.d.ts.map +1 -0
- package/_types/utils/hash/normalizeSignature.d.ts +6 -0
- package/_types/utils/hash/normalizeSignature.d.ts.map +1 -0
- package/_types/utils/index.d.ts +84 -0
- package/_types/utils/index.d.ts.map +1 -0
- package/_types/utils/observe.d.ts +19 -0
- package/_types/utils/observe.d.ts.map +1 -0
- package/_types/utils/poll.d.ts +15 -0
- package/_types/utils/poll.d.ts.map +1 -0
- package/_types/utils/promise/createBatchScheduler.d.ts +21 -0
- package/_types/utils/promise/createBatchScheduler.d.ts.map +1 -0
- package/_types/utils/promise/withCache.d.ts +38 -0
- package/_types/utils/promise/withCache.d.ts.map +1 -0
- package/_types/utils/promise/withRetry.d.ts +14 -0
- package/_types/utils/promise/withRetry.d.ts.map +1 -0
- package/_types/utils/promise/withTimeout.d.ts +10 -0
- package/_types/utils/promise/withTimeout.d.ts.map +1 -0
- package/_types/utils/regex.d.ts +4 -0
- package/_types/utils/regex.d.ts.map +1 -0
- package/_types/utils/rpc.d.ts +80 -0
- package/_types/utils/rpc.d.ts.map +1 -0
- package/_types/utils/signature/compactSignatureToHex.d.ts +19 -0
- package/_types/utils/signature/compactSignatureToHex.d.ts.map +1 -0
- package/_types/utils/signature/compactSignatureToSignature.d.ts +24 -0
- package/_types/utils/signature/compactSignatureToSignature.d.ts.map +1 -0
- package/_types/utils/signature/hashMessage.d.ts +11 -0
- package/_types/utils/signature/hashMessage.d.ts.map +1 -0
- package/_types/utils/signature/hashTypedData.d.ts +29 -0
- package/_types/utils/signature/hashTypedData.d.ts.map +1 -0
- package/_types/utils/signature/hexToCompactSignature.d.ts +16 -0
- package/_types/utils/signature/hexToCompactSignature.d.ts.map +1 -0
- package/_types/utils/signature/hexToSignature.d.ts +16 -0
- package/_types/utils/signature/hexToSignature.d.ts.map +1 -0
- package/_types/utils/signature/recoverAddress.d.ts +11 -0
- package/_types/utils/signature/recoverAddress.d.ts.map +1 -0
- package/_types/utils/signature/recoverMessageAddress.d.ts +13 -0
- package/_types/utils/signature/recoverMessageAddress.d.ts.map +1 -0
- package/_types/utils/signature/recoverPublicKey.d.ts +12 -0
- package/_types/utils/signature/recoverPublicKey.d.ts.map +1 -0
- package/_types/utils/signature/recoverTypedDataAddress.d.ts +13 -0
- package/_types/utils/signature/recoverTypedDataAddress.d.ts.map +1 -0
- package/_types/utils/signature/signatureToCompactSignature.d.ts +23 -0
- package/_types/utils/signature/signatureToCompactSignature.d.ts.map +1 -0
- package/_types/utils/signature/signatureToHex.d.ts +21 -0
- package/_types/utils/signature/signatureToHex.d.ts.map +1 -0
- package/_types/utils/signature/verifyMessage.d.ts +30 -0
- package/_types/utils/signature/verifyMessage.d.ts.map +1 -0
- package/_types/utils/signature/verifyTypedData.d.ts +29 -0
- package/_types/utils/signature/verifyTypedData.d.ts.map +1 -0
- package/_types/utils/stringify.d.ts +4 -0
- package/_types/utils/stringify.d.ts.map +1 -0
- package/_types/utils/transaction/assertRequest.d.ts +11 -0
- package/_types/utils/transaction/assertRequest.d.ts.map +1 -0
- package/_types/utils/transaction/assertTransaction.d.ts +14 -0
- package/_types/utils/transaction/assertTransaction.d.ts.map +1 -0
- package/_types/utils/transaction/getSerializedTransactionType.d.ts +9 -0
- package/_types/utils/transaction/getSerializedTransactionType.d.ts.map +1 -0
- package/_types/utils/transaction/getTransactionType.d.ts +7 -0
- package/_types/utils/transaction/getTransactionType.d.ts.map +1 -0
- package/_types/utils/transaction/parseTransaction.d.ts +26 -0
- package/_types/utils/transaction/parseTransaction.d.ts.map +1 -0
- package/_types/utils/transaction/serializeAccessList.d.ts +10 -0
- package/_types/utils/transaction/serializeAccessList.d.ts.map +1 -0
- package/_types/utils/transaction/serializeTransaction.d.ts +19 -0
- package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -0
- package/_types/utils/typedData.d.ts +19 -0
- package/_types/utils/typedData.d.ts.map +1 -0
- package/_types/utils/uid.d.ts +2 -0
- package/_types/utils/uid.d.ts.map +1 -0
- package/_types/utils/unit/formatEther.d.ts +15 -0
- package/_types/utils/unit/formatEther.d.ts.map +1 -0
- package/_types/utils/unit/formatGwei.d.ts +15 -0
- package/_types/utils/unit/formatGwei.d.ts.map +1 -0
- package/_types/utils/unit/formatUnits.d.ts +15 -0
- package/_types/utils/unit/formatUnits.d.ts.map +1 -0
- package/_types/utils/unit/parseEther.d.ts +16 -0
- package/_types/utils/unit/parseEther.d.ts.map +1 -0
- package/_types/utils/unit/parseGwei.d.ts +16 -0
- package/_types/utils/unit/parseGwei.d.ts.map +1 -0
- package/_types/utils/unit/parseUnits.d.ts +15 -0
- package/_types/utils/unit/parseUnits.d.ts.map +1 -0
- package/_types/utils/wait.d.ts +2 -0
- package/_types/utils/wait.d.ts.map +1 -0
- package/_types/window/index.d.ts +2 -0
- package/_types/window/index.d.ts.map +1 -0
- package/errors/version.ts +1 -1
- package/package.json +1 -1
@@ -0,0 +1,48 @@
|
|
1
|
+
import type { Address } from 'abitype';
|
2
|
+
import type { Client } from '../../clients/createClient.js';
|
3
|
+
import type { Transport } from '../../clients/transports/createTransport.js';
|
4
|
+
import type { ErrorType } from '../../errors/utils.js';
|
5
|
+
import type { Chain } from '../../types/chain.js';
|
6
|
+
import type { Prettify } from '../../types/utils.js';
|
7
|
+
import { type GetChainContractAddressErrorType } from '../../utils/chain/getChainContractAddress.js';
|
8
|
+
import { type ToHexErrorType } from '../../utils/encoding/toHex.js';
|
9
|
+
import { type PacketToBytesErrorType } from '../../utils/ens/packetToBytes.js';
|
10
|
+
import { type ReadContractParameters } from '../public/readContract.js';
|
11
|
+
export type GetEnsResolverParameters = Prettify<Pick<ReadContractParameters, 'blockNumber' | 'blockTag'> & {
|
12
|
+
/** Name to get the address for. */
|
13
|
+
name: string;
|
14
|
+
/** Address of ENS Universal Resolver Contract. */
|
15
|
+
universalResolverAddress?: Address;
|
16
|
+
}>;
|
17
|
+
export type GetEnsResolverReturnType = Address;
|
18
|
+
export type GetEnsResolverErrorType = GetChainContractAddressErrorType | ToHexErrorType | PacketToBytesErrorType | ErrorType;
|
19
|
+
/**
|
20
|
+
* Gets resolver for ENS name.
|
21
|
+
*
|
22
|
+
* - Docs: https://viem.sh/docs/ens/actions/getEnsResolver.html
|
23
|
+
* - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/ens
|
24
|
+
*
|
25
|
+
* Calls `findResolver(bytes)` on ENS Universal Resolver Contract to retrieve the resolver of an ENS name.
|
26
|
+
*
|
27
|
+
* Since ENS names prohibit certain forbidden characters (e.g. underscore) and have other validation rules, you likely want to [normalize ENS names](https://docs.ens.domains/contract-api-reference/name-processing#normalising-names) with [UTS-46 normalization](https://unicode.org/reports/tr46) before passing them to `getEnsAddress`. You can use the built-in [`normalize`](https://viem.sh/docs/ens/utilities/normalize.html) function for this.
|
28
|
+
*
|
29
|
+
* @param client - Client to use
|
30
|
+
* @param parameters - {@link GetEnsResolverParameters}
|
31
|
+
* @returns Address for ENS resolver. {@link GetEnsResolverReturnType}
|
32
|
+
*
|
33
|
+
* @example
|
34
|
+
* import { createPublicClient, http } from 'viem'
|
35
|
+
* import { mainnet } from 'viem/chains'
|
36
|
+
* import { getEnsResolver, normalize } from 'viem/ens'
|
37
|
+
*
|
38
|
+
* const client = createPublicClient({
|
39
|
+
* chain: mainnet,
|
40
|
+
* transport: http(),
|
41
|
+
* })
|
42
|
+
* const resolverAddress = await getEnsResolver(client, {
|
43
|
+
* name: normalize('wevm.eth'),
|
44
|
+
* })
|
45
|
+
* // '0x4976fb03C32e5B8cfe2b6cCB31c09Ba78EBaBa41'
|
46
|
+
*/
|
47
|
+
export declare function getEnsResolver<TChain extends Chain | undefined>(client: Client<Transport, TChain>, { blockNumber, blockTag, name, universalResolverAddress: universalResolverAddress_, }: GetEnsResolverParameters): Promise<`0x${string}`>;
|
48
|
+
//# sourceMappingURL=getEnsResolver.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getEnsResolver.d.ts","sourceRoot":"","sources":["../../../actions/ens/getEnsResolver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,EACL,KAAK,gCAAgC,EAEtC,MAAM,8CAA8C,CAAA;AACrD,OAAO,EAAE,KAAK,cAAc,EAAS,MAAM,+BAA+B,CAAA;AAC1E,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,kCAAkC,CAAA;AAEzC,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,2BAA2B,CAAA;AAElC,MAAM,MAAM,wBAAwB,GAAG,QAAQ,CAC7C,IAAI,CAAC,sBAAsB,EAAE,aAAa,GAAG,UAAU,CAAC,GAAG;IACzD,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAA;IACZ,kDAAkD;IAClD,wBAAwB,CAAC,EAAE,OAAO,CAAA;CACnC,CACF,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAA;AAE9C,MAAM,MAAM,uBAAuB,GAC/B,gCAAgC,GAChC,cAAc,GACd,sBAAsB,GACtB,SAAS,CAAA;AAEb;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAsB,cAAc,CAAC,MAAM,SAAS,KAAK,GAAG,SAAS,EACnE,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,EACjC,EACE,WAAW,EACX,QAAQ,EACR,IAAI,EACJ,wBAAwB,EAAE,yBAAyB,GACpD,EAAE,wBAAwB,0BAqC5B"}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
import type { Address } from 'abitype';
|
2
|
+
import type { Client } from '../../clients/createClient.js';
|
3
|
+
import type { Transport } from '../../clients/transports/createTransport.js';
|
4
|
+
import type { Chain } from '../../types/chain.js';
|
5
|
+
import type { Prettify } from '../../types/utils.js';
|
6
|
+
import { type DecodeFunctionResultErrorType } from '../../utils/abi/decodeFunctionResult.js';
|
7
|
+
import { type EncodeFunctionDataErrorType } from '../../utils/abi/encodeFunctionData.js';
|
8
|
+
import { type GetChainContractAddressErrorType } from '../../utils/chain/getChainContractAddress.js';
|
9
|
+
import { type ToHexErrorType } from '../../utils/encoding/toHex.js';
|
10
|
+
import { type NamehashErrorType } from '../../utils/ens/namehash.js';
|
11
|
+
import { type PacketToBytesErrorType } from '../../utils/ens/packetToBytes.js';
|
12
|
+
import { type ReadContractErrorType, type ReadContractParameters } from '../public/readContract.js';
|
13
|
+
export type GetEnsTextParameters = Prettify<Pick<ReadContractParameters, 'blockNumber' | 'blockTag'> & {
|
14
|
+
/** ENS name to get Text for. */
|
15
|
+
name: string;
|
16
|
+
/** Text record to retrieve. */
|
17
|
+
key: string;
|
18
|
+
/** Address of ENS Universal Resolver Contract. */
|
19
|
+
universalResolverAddress?: Address;
|
20
|
+
}>;
|
21
|
+
export type GetEnsTextReturnType = string | null;
|
22
|
+
export type GetEnsTextErrorType = GetChainContractAddressErrorType | ReadContractErrorType | ToHexErrorType | PacketToBytesErrorType | EncodeFunctionDataErrorType | NamehashErrorType | DecodeFunctionResultErrorType;
|
23
|
+
/**
|
24
|
+
* Gets a text record for specified ENS name.
|
25
|
+
*
|
26
|
+
* - Docs: https://viem.sh/docs/ens/actions/getEnsResolver.html
|
27
|
+
* - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/ens
|
28
|
+
*
|
29
|
+
* Calls `resolve(bytes, bytes)` on ENS Universal Resolver Contract.
|
30
|
+
*
|
31
|
+
* Since ENS names prohibit certain forbidden characters (e.g. underscore) and have other validation rules, you likely want to [normalize ENS names](https://docs.ens.domains/contract-api-reference/name-processing#normalising-names) with [UTS-46 normalization](https://unicode.org/reports/tr46) before passing them to `getEnsAddress`. You can use the built-in [`normalize`](https://viem.sh/docs/ens/utilities/normalize.html) function for this.
|
32
|
+
*
|
33
|
+
* @param client - Client to use
|
34
|
+
* @param parameters - {@link GetEnsTextParameters}
|
35
|
+
* @returns Address for ENS resolver. {@link GetEnsTextReturnType}
|
36
|
+
*
|
37
|
+
* @example
|
38
|
+
* import { createPublicClient, http } from 'viem'
|
39
|
+
* import { mainnet } from 'viem/chains'
|
40
|
+
* import { getEnsText, normalize } from 'viem/ens'
|
41
|
+
*
|
42
|
+
* const client = createPublicClient({
|
43
|
+
* chain: mainnet,
|
44
|
+
* transport: http(),
|
45
|
+
* })
|
46
|
+
* const twitterRecord = await getEnsText(client, {
|
47
|
+
* name: normalize('wevm.eth'),
|
48
|
+
* key: 'com.twitter',
|
49
|
+
* })
|
50
|
+
* // 'wagmi_sh'
|
51
|
+
*/
|
52
|
+
export declare function getEnsText<TChain extends Chain | undefined>(client: Client<Transport, TChain>, { blockNumber, blockTag, name, key, universalResolverAddress: universalResolverAddress_, }: GetEnsTextParameters): Promise<GetEnsTextReturnType>;
|
53
|
+
//# sourceMappingURL=getEnsText.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getEnsText.d.ts","sourceRoot":"","sources":["../../../actions/ens/getEnsText.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAK5E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,EACL,KAAK,6BAA6B,EAEnC,MAAM,yCAAyC,CAAA;AAChD,OAAO,EACL,KAAK,2BAA2B,EAEjC,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EACL,KAAK,gCAAgC,EAEtC,MAAM,8CAA8C,CAAA;AACrD,OAAO,EAAE,KAAK,cAAc,EAAS,MAAM,+BAA+B,CAAA;AAE1E,OAAO,EAAE,KAAK,iBAAiB,EAAY,MAAM,6BAA6B,CAAA;AAC9E,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,kCAAkC,CAAA;AAEzC,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAE5B,MAAM,2BAA2B,CAAA;AAElC,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CACzC,IAAI,CAAC,sBAAsB,EAAE,aAAa,GAAG,UAAU,CAAC,GAAG;IACzD,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,+BAA+B;IAC/B,GAAG,EAAE,MAAM,CAAA;IACX,kDAAkD;IAClD,wBAAwB,CAAC,EAAE,OAAO,CAAA;CACnC,CACF,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,IAAI,CAAA;AAEhD,MAAM,MAAM,mBAAmB,GAC3B,gCAAgC,GAChC,qBAAqB,GACrB,cAAc,GACd,sBAAsB,GACtB,2BAA2B,GAC3B,iBAAiB,GACjB,6BAA6B,CAAA;AAEjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAsB,UAAU,CAAC,MAAM,SAAS,KAAK,GAAG,SAAS,EAC/D,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,EACjC,EACE,WAAW,EACX,QAAQ,EACR,IAAI,EACJ,GAAG,EACH,wBAAwB,EAAE,yBAAyB,GACpD,EAAE,oBAAoB,GACtB,OAAO,CAAC,oBAAoB,CAAC,CAiD/B"}
|
@@ -0,0 +1,357 @@
|
|
1
|
+
import type { Abi, AbiEvent, AbiFunction, AbiParametersToPrimitiveTypes, Address, ExtractAbiEvent, ExtractAbiEventNames, ExtractAbiFunction, ExtractAbiFunctionNames } from 'abitype';
|
2
|
+
import type { Account } from '../accounts/types.js';
|
3
|
+
import type { Client } from '../clients/createClient.js';
|
4
|
+
import type { Transport } from '../clients/transports/createTransport.js';
|
5
|
+
import type { Chain } from '../types/chain.js';
|
6
|
+
import type { AbiEventParametersToPrimitiveTypes, ContractEventName, ContractFunctionArgs, ContractFunctionName, MaybeExtractEventArgsFromAbi } from '../types/contract.js';
|
7
|
+
import type { IsNarrowable, IsNever, IsUndefined, Or, Prettify, UnionOmit } from '../types/utils.js';
|
8
|
+
import type { ErrorType } from '../errors/utils.js';
|
9
|
+
import { type CreateContractEventFilterParameters, type CreateContractEventFilterReturnType } from './public/createContractEventFilter.js';
|
10
|
+
import { type EstimateContractGasParameters, type EstimateContractGasReturnType } from './public/estimateContractGas.js';
|
11
|
+
import { type GetContractEventsParameters, type GetContractEventsReturnType } from './public/getContractEvents.js';
|
12
|
+
import { type ReadContractParameters, type ReadContractReturnType } from './public/readContract.js';
|
13
|
+
import { type SimulateContractParameters, type SimulateContractReturnType } from './public/simulateContract.js';
|
14
|
+
import { type WatchContractEventParameters, type WatchContractEventReturnType } from './public/watchContractEvent.js';
|
15
|
+
import { type WriteContractParameters, type WriteContractReturnType } from './wallet/writeContract.js';
|
16
|
+
type KeyedClient<TTransport extends Transport = Transport, TChain extends Chain | undefined = Chain | undefined, TAccount extends Account | undefined = Account | undefined> = {
|
17
|
+
publicClient: Client<TTransport, TChain>;
|
18
|
+
walletClient: Client<TTransport, TChain, TAccount>;
|
19
|
+
};
|
20
|
+
export type GetContractParameters<TTransport extends Transport = Transport, TChain extends Chain | undefined = Chain | undefined, TAccount extends Account | undefined = Account | undefined, TAbi extends Abi | readonly unknown[] = Abi, TClient extends Client<TTransport, TChain, TAccount> | KeyedClient<TTransport, TChain, TAccount> | unknown = unknown, TAddress extends Address = Address> = {
|
21
|
+
/** Contract ABI */
|
22
|
+
abi: TAbi;
|
23
|
+
/** Contract address */
|
24
|
+
address: TAddress;
|
25
|
+
/** The Client.
|
26
|
+
*
|
27
|
+
* If you pass in a [`publicClient`](https://viem.sh/docs/clients/public.html), the following methods are available:
|
28
|
+
*
|
29
|
+
* - [`createEventFilter`](https://viem.sh/docs/contract/createContractEventFilter.html)
|
30
|
+
* - [`estimateGas`](https://viem.sh/docs/contract/estimateContractGas.html)
|
31
|
+
* - [`getEvents`](https://viem.sh/docs/contract/getContractEvents.html)
|
32
|
+
* - [`read`](https://viem.sh/docs/contract/readContract.html)
|
33
|
+
* - [`simulate`](https://viem.sh/docs/contract/simulateContract.html)
|
34
|
+
* - [`watchEvent`](https://viem.sh/docs/contract/watchContractEvent.html)
|
35
|
+
*
|
36
|
+
* If you pass in a [`walletClient`](https://viem.sh/docs/clients/wallet.html), the following methods are available:
|
37
|
+
*
|
38
|
+
* - [`estimateGas`](https://viem.sh/docs/contract/estimateContractGas.html)
|
39
|
+
* - [`write`](https://viem.sh/docs/contract/writeContract.html)
|
40
|
+
*/
|
41
|
+
client: TClient;
|
42
|
+
};
|
43
|
+
export type GetContractReturnType<TAbi extends Abi | readonly unknown[] = Abi, TClient extends Client | KeyedClient | unknown = unknown, TAddress extends Address = Address, _EventNames extends string = TAbi extends Abi ? Abi extends TAbi ? string : ExtractAbiEventNames<TAbi> : string, _ReadFunctionNames extends string = TAbi extends Abi ? Abi extends TAbi ? string : ExtractAbiFunctionNames<TAbi, 'pure' | 'view'> : string, _WriteFunctionNames extends string = TAbi extends Abi ? Abi extends TAbi ? string : ExtractAbiFunctionNames<TAbi, 'nonpayable' | 'payable'> : string, _Narrowable extends boolean = IsNarrowable<TAbi, Abi>, _PublicClient extends Client | unknown = TClient extends {
|
44
|
+
publicClient: Client;
|
45
|
+
} ? TClient['publicClient'] : TClient, _WalletClient extends Client | unknown = TClient extends {
|
46
|
+
walletClient: Client;
|
47
|
+
} ? TClient['walletClient'] : TClient> = Prettify<Prettify<(_PublicClient extends Client ? (IsNever<_ReadFunctionNames> extends true ? unknown : {
|
48
|
+
/**
|
49
|
+
* Calls a read-only function on a contract, and returns the response.
|
50
|
+
*
|
51
|
+
* A "read-only" function (constant function) on a Solidity contract is denoted by a `view` or `pure` keyword. They can only read the state of the contract, and cannot make any changes to it. Since read-only methods do not change the state of the contract, they do not require any gas to be executed, and can be called by any user without the need to pay for gas.
|
52
|
+
*
|
53
|
+
* Internally, `read` uses a [Public Client](https://viem.sh/docs/clients/public.html) to call the [`call` action](https://viem.sh/docs/actions/public/call.html) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData.html).
|
54
|
+
*
|
55
|
+
* @example
|
56
|
+
* import { createPublicClient, getContract, http, parseAbi } from 'viem'
|
57
|
+
* import { mainnet } from 'viem/chains'
|
58
|
+
*
|
59
|
+
* const publicClient = createPublicClient({
|
60
|
+
* chain: mainnet,
|
61
|
+
* transport: http(),
|
62
|
+
* })
|
63
|
+
* const contract = getContract({
|
64
|
+
* address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
|
65
|
+
* abi: parseAbi([
|
66
|
+
* 'function balanceOf(address owner) view returns (uint256)',
|
67
|
+
* ]),
|
68
|
+
* client: publicClient,
|
69
|
+
* })
|
70
|
+
* const result = await contract.read.balanceOf(['0xA0Cf798816D4b9b9866b5330EEa46a18382f251e'])
|
71
|
+
* // 424122n
|
72
|
+
*/
|
73
|
+
read: {
|
74
|
+
[functionName in _ReadFunctionNames]: GetReadFunction<_Narrowable, TAbi, functionName extends ContractFunctionName<TAbi, 'pure' | 'view'> ? functionName : never>;
|
75
|
+
};
|
76
|
+
}) & (IsNever<_WriteFunctionNames> extends true ? unknown : {
|
77
|
+
/**
|
78
|
+
* Estimates the gas necessary to complete a transaction without submitting it to the network.
|
79
|
+
*
|
80
|
+
* @example
|
81
|
+
* import { createPublicClient, getContract, http, parseAbi } from 'viem'
|
82
|
+
* import { mainnet } from 'viem/chains'
|
83
|
+
*
|
84
|
+
* const publicClient = createPublicClient({
|
85
|
+
* chain: mainnet,
|
86
|
+
* transport: http(),
|
87
|
+
* })
|
88
|
+
* const contract = getContract({
|
89
|
+
* address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
|
90
|
+
* abi: parseAbi(['function mint() public']),
|
91
|
+
* client: publicClient,
|
92
|
+
* })
|
93
|
+
* const gas = await contract.estimateGas.mint({
|
94
|
+
* account: '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266',
|
95
|
+
* })
|
96
|
+
*/
|
97
|
+
estimateGas: {
|
98
|
+
[functionName in _WriteFunctionNames]: GetEstimateFunction<_Narrowable, _PublicClient['chain'], undefined, TAbi, functionName extends ContractFunctionName<TAbi, 'nonpayable' | 'payable'> ? functionName : never>;
|
99
|
+
};
|
100
|
+
/**
|
101
|
+
* Simulates/validates a contract interaction. This is useful for retrieving return data and revert reasons of contract write functions.
|
102
|
+
*
|
103
|
+
* This function does not require gas to execute and does not change the state of the blockchain. It is almost identical to [`readContract`](https://viem.sh/docs/contract/readContract.html), but also supports contract write functions.
|
104
|
+
*
|
105
|
+
* Internally, `simulate` uses a [Public Client](https://viem.sh/docs/clients/public.html) to call the [`call` action](https://viem.sh/docs/actions/public/call.html) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData.html).
|
106
|
+
*
|
107
|
+
* @example
|
108
|
+
* import { createPublicClient, getContract, http, parseAbi } from 'viem'
|
109
|
+
* import { mainnet } from 'viem/chains'
|
110
|
+
*
|
111
|
+
* const publicClient = createPublicClient({
|
112
|
+
* chain: mainnet,
|
113
|
+
* transport: http(),
|
114
|
+
* })
|
115
|
+
* const contract = getContract({
|
116
|
+
* address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
|
117
|
+
* abi: parseAbi(['function mint() public']),
|
118
|
+
* client: publicClient,
|
119
|
+
* })
|
120
|
+
* const result = await contract.simulate.mint({
|
121
|
+
* account: '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266',
|
122
|
+
* })
|
123
|
+
*/
|
124
|
+
simulate: {
|
125
|
+
[functionName in _WriteFunctionNames]: GetSimulateFunction<_Narrowable, _PublicClient['chain'], _WalletClient extends Client ? _WalletClient['account'] : _PublicClient['account'], TAbi, functionName extends ContractFunctionName<TAbi, 'nonpayable' | 'payable'> ? functionName : never>;
|
126
|
+
};
|
127
|
+
}) & (IsNever<_EventNames> extends true ? unknown : {
|
128
|
+
/**
|
129
|
+
* Creates a Filter to retrieve event logs that can be used with [`getFilterChanges`](https://viem.sh/docs/actions/public/getFilterChanges.html) or [`getFilterLogs`](https://viem.sh/docs/actions/public/getFilterLogs.html).
|
130
|
+
*
|
131
|
+
* @example
|
132
|
+
* import { createPublicClient, getContract, http, parseAbi } from 'viem'
|
133
|
+
* import { mainnet } from 'viem/chains'
|
134
|
+
*
|
135
|
+
* const publicClient = createPublicClient({
|
136
|
+
* chain: mainnet,
|
137
|
+
* transport: http(),
|
138
|
+
* })
|
139
|
+
* const contract = getContract({
|
140
|
+
* address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
|
141
|
+
* abi: parseAbi(['event Transfer(address indexed, address indexed, uint256)']),
|
142
|
+
* client: publicClient,
|
143
|
+
* })
|
144
|
+
* const filter = await contract.createEventFilter.Transfer()
|
145
|
+
*/
|
146
|
+
createEventFilter: {
|
147
|
+
[EventName in _EventNames]: GetEventFilter<_Narrowable, TAbi, EventName extends ContractEventName<TAbi> ? EventName : never>;
|
148
|
+
};
|
149
|
+
/**
|
150
|
+
* Creates a Filter to retrieve event logs that can be used with [`getFilterChanges`](https://viem.sh/docs/actions/public/getFilterChanges.html) or [`getFilterLogs`](https://viem.sh/docs/actions/public/getFilterLogs.html).
|
151
|
+
*
|
152
|
+
* @example
|
153
|
+
* import { createPublicClient, getContract, http, parseAbi } from 'viem'
|
154
|
+
* import { mainnet } from 'viem/chains'
|
155
|
+
*
|
156
|
+
* const publicClient = createPublicClient({
|
157
|
+
* chain: mainnet,
|
158
|
+
* transport: http(),
|
159
|
+
* })
|
160
|
+
* const contract = getContract({
|
161
|
+
* address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
|
162
|
+
* abi: parseAbi(['event Transfer(address indexed, address indexed, uint256)']),
|
163
|
+
* client: publicClient,
|
164
|
+
* })
|
165
|
+
* const filter = await contract.createEventFilter.Transfer()
|
166
|
+
*/
|
167
|
+
getEvents: {
|
168
|
+
[EventName in _EventNames]: GetEventsFunction<_Narrowable, TAbi, EventName extends ContractEventName<TAbi> ? EventName : never>;
|
169
|
+
};
|
170
|
+
/**
|
171
|
+
* Watches and returns emitted contract event logs.
|
172
|
+
*
|
173
|
+
* This Action will batch up all the event logs found within the [`pollingInterval`](https://viem.sh/docs/contract/watchContractEvent.html#pollinginterval-optional), and invoke them via [`onLogs`](https://viem.sh/docs/contract/watchContractEvent.html#onLogs).
|
174
|
+
*
|
175
|
+
* `watchEvent` will attempt to create an [Event Filter](https://viem.sh/docs/contract/createContractEventFilter.html) and listen to changes to the Filter per polling interval, however, if the RPC Provider does not support Filters (e.g. `eth_newFilter`), then `watchEvent` will fall back to using [`getLogs`](https://viem.sh/docs/actions/public/getLogs.html) instead.
|
176
|
+
*
|
177
|
+
* @example
|
178
|
+
* import { createPublicClient, getContract, http, parseAbi } from 'viem'
|
179
|
+
* import { mainnet } from 'viem/chains'
|
180
|
+
*
|
181
|
+
* const publicClient = createPublicClient({
|
182
|
+
* chain: mainnet,
|
183
|
+
* transport: http(),
|
184
|
+
* })
|
185
|
+
* const contract = getContract({
|
186
|
+
* address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
|
187
|
+
* abi: parseAbi(['event Transfer(address indexed, address indexed, uint256)']),
|
188
|
+
* client: publicClient,
|
189
|
+
* })
|
190
|
+
* const filter = await contract.createEventFilter.Transfer()
|
191
|
+
* const unwatch = contract.watchEvent.Transfer(
|
192
|
+
* { from: '0xc961145a54C96E3aE9bAA048c4F4D6b04C13916b' },
|
193
|
+
* { onLogs: (logs) => console.log(logs) },
|
194
|
+
* )
|
195
|
+
*/
|
196
|
+
watchEvent: {
|
197
|
+
[EventName in _EventNames]: GetWatchEvent<_Narrowable, TAbi, EventName extends ContractEventName<TAbi> ? EventName : never>;
|
198
|
+
};
|
199
|
+
}) : unknown) & (_WalletClient extends Client ? IsNever<_WriteFunctionNames> extends true ? unknown : {
|
200
|
+
/**
|
201
|
+
* Estimates the gas necessary to complete a transaction without submitting it to the network.
|
202
|
+
*
|
203
|
+
* @example
|
204
|
+
* import { createWalletClient, getContract, http, parseAbi } from 'viem'
|
205
|
+
* import { mainnet } from 'viem/chains'
|
206
|
+
*
|
207
|
+
* const walletClient = createWalletClient({
|
208
|
+
* chain: mainnet,
|
209
|
+
* transport: http(),
|
210
|
+
* })
|
211
|
+
* const contract = getContract({
|
212
|
+
* address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
|
213
|
+
* abi: parseAbi(['function mint() public']),
|
214
|
+
* client: walletClient,
|
215
|
+
* })
|
216
|
+
* const gas = await contract.estimateGas.mint({
|
217
|
+
* account: '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266',
|
218
|
+
* })
|
219
|
+
*/
|
220
|
+
estimateGas: {
|
221
|
+
[functionName in _WriteFunctionNames]: GetEstimateFunction<_Narrowable, _WalletClient['chain'], _WalletClient['account'], TAbi, functionName extends ContractFunctionName<TAbi, 'nonpayable' | 'payable'> ? functionName : never>;
|
222
|
+
};
|
223
|
+
/**
|
224
|
+
* Executes a write function on a contract.
|
225
|
+
*
|
226
|
+
* A "write" function on a Solidity contract modifies the state of the blockchain. These types of functions require gas to be executed, and hence a [Transaction](https://viem.sh/docs/glossary/terms.html) is needed to be broadcast in order to change the state.
|
227
|
+
*
|
228
|
+
* Internally, `write` uses a [Wallet Client](https://viem.sh/docs/clients/wallet.html) to call the [`sendTransaction` action](https://viem.sh/docs/actions/wallet/sendTransaction.html) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData.html).
|
229
|
+
*
|
230
|
+
* __Warning: The `write` internally sends a transaction – it does not validate if the contract write will succeed (the contract may throw an error). It is highly recommended to [simulate the contract write with `contract.simulate`](https://viem.sh/docs/contract/writeContract.html#usage) before you execute it.__
|
231
|
+
*
|
232
|
+
* @example
|
233
|
+
* import { createWalletClient, getContract, http, parseAbi } from 'viem'
|
234
|
+
* import { mainnet } from 'viem/chains'
|
235
|
+
*
|
236
|
+
* const walletClient = createWalletClient({
|
237
|
+
* chain: mainnet,
|
238
|
+
* transport: http(),
|
239
|
+
* })
|
240
|
+
* const contract = getContract({
|
241
|
+
* address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
|
242
|
+
* abi: parseAbi(['function mint(uint32 tokenId) nonpayable']),
|
243
|
+
* client: walletClient,
|
244
|
+
* })
|
245
|
+
* const hash = await contract.write.min([69420], {
|
246
|
+
* address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
|
247
|
+
* })
|
248
|
+
*/
|
249
|
+
write: {
|
250
|
+
[functionName in _WriteFunctionNames]: GetWriteFunction<_Narrowable, _WalletClient['chain'], _WalletClient['account'], TAbi, functionName extends ContractFunctionName<TAbi, 'nonpayable' | 'payable'> ? functionName : never>;
|
251
|
+
};
|
252
|
+
} : unknown)> & {
|
253
|
+
address: TAddress;
|
254
|
+
abi: TAbi;
|
255
|
+
}>;
|
256
|
+
export type GetContractErrorType = ErrorType;
|
257
|
+
/**
|
258
|
+
* Gets type-safe interface for performing contract-related actions with a specific `abi` and `address`.
|
259
|
+
*
|
260
|
+
* - Docs https://viem.sh/docs/contract/getContract.html
|
261
|
+
*
|
262
|
+
* Using Contract Instances can make it easier to work with contracts if you don't want to pass the `abi` and `address` properites every time you perform contract actions, e.g. [`readContract`](https://viem.sh/docs/contract/readContract.html), [`writeContract`](https://viem.sh/docs/contract/writeContract.html), [`estimateContractGas`](https://viem.sh/docs/contract/estimateContractGas.html), etc.
|
263
|
+
*
|
264
|
+
* @example
|
265
|
+
* import { createPublicClient, getContract, http, parseAbi } from 'viem'
|
266
|
+
* import { mainnet } from 'viem/chains'
|
267
|
+
*
|
268
|
+
* const publicClient = createPublicClient({
|
269
|
+
* chain: mainnet,
|
270
|
+
* transport: http(),
|
271
|
+
* })
|
272
|
+
* const contract = getContract({
|
273
|
+
* address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
|
274
|
+
* abi: parseAbi([
|
275
|
+
* 'function balanceOf(address owner) view returns (uint256)',
|
276
|
+
* 'function ownerOf(uint256 tokenId) view returns (address)',
|
277
|
+
* 'function totalSupply() view returns (uint256)',
|
278
|
+
* ]),
|
279
|
+
* client: publicClient,
|
280
|
+
* })
|
281
|
+
*/
|
282
|
+
export declare function getContract<TTransport extends Transport, TAddress extends Address, const TAbi extends Abi | readonly unknown[], TChain extends Chain | undefined = Chain | undefined, TAccount extends Account | undefined = Account | undefined, const TClient extends Client<TTransport, TChain, TAccount> | KeyedClient<TTransport, TChain, TAccount> | unknown = Client<TTransport, TChain, TAccount> | KeyedClient<TTransport, TChain, TAccount> | unknown>({ abi, address, client: client_, }: GetContractParameters<TTransport, TChain, TAccount, TAbi, TClient, TAddress>): GetContractReturnType<TAbi, TClient, TAddress>;
|
283
|
+
/**
|
284
|
+
* @internal exporting for testing only
|
285
|
+
*/
|
286
|
+
export declare function getFunctionParameters(values: [args?: readonly unknown[], options?: object]): {
|
287
|
+
args: readonly unknown[];
|
288
|
+
options: object;
|
289
|
+
};
|
290
|
+
/**
|
291
|
+
* @internal exporting for testing only
|
292
|
+
*/
|
293
|
+
export declare function getEventParameters(values: [args?: object | unknown[], options?: object], abiEvent: AbiEvent): {
|
294
|
+
args: object | undefined;
|
295
|
+
options: object;
|
296
|
+
};
|
297
|
+
type GetReadFunction<Narrowable extends boolean, TAbi extends Abi | readonly unknown[], TFunctionName extends ContractFunctionName<TAbi, 'pure' | 'view'>, TArgs extends ContractFunctionArgs<TAbi, 'pure' | 'view', TFunctionName> = ContractFunctionArgs<TAbi, 'pure' | 'view', TFunctionName>, TAbiFunction extends AbiFunction = TAbi extends Abi ? ExtractAbiFunction<TAbi, TFunctionName> : AbiFunction, Args = AbiParametersToPrimitiveTypes<TAbiFunction['inputs']>, Options = Prettify<UnionOmit<ReadContractParameters<TAbi, TFunctionName, TArgs>, 'abi' | 'address' | 'args' | 'functionName'>>> = Narrowable extends true ? (...parameters: Args extends readonly [] ? [options?: Options] : [args: Args, options?: Options]) => Promise<ReadContractReturnType<TAbi, TFunctionName, TArgs>> : (...parameters: [options?: Options] | [args: readonly unknown[], options?: Options]) => Promise<ReadContractReturnType>;
|
298
|
+
type GetEstimateFunction<Narrowable extends boolean, TChain extends Chain | undefined, TAccount extends Account | undefined, TAbi extends Abi | readonly unknown[], TFunctionName extends ContractFunctionName<TAbi, 'nonpayable' | 'payable'>, TArgs extends ContractFunctionArgs<TAbi, 'nonpayable' | 'payable', TFunctionName> = ContractFunctionArgs<TAbi, 'nonpayable' | 'payable', TFunctionName>, TAbiFunction extends AbiFunction = TAbi extends Abi ? ExtractAbiFunction<TAbi, TFunctionName> : AbiFunction, Args = AbiParametersToPrimitiveTypes<TAbiFunction['inputs']>, Options = Prettify<UnionOmit<EstimateContractGasParameters<TAbi, TFunctionName, TArgs, TChain>, 'abi' | 'address' | 'args' | 'functionName'>>, IsOptionsRequired = IsUndefined<TAccount>> = Narrowable extends true ? (...parameters: Args extends readonly [] ? IsOptionsRequired extends true ? [options: Options] : [options?: Options] : [
|
299
|
+
args: Args,
|
300
|
+
...parameters: IsOptionsRequired extends true ? [options: Options] : [options?: Options]
|
301
|
+
]) => Promise<EstimateContractGasReturnType> : (...parameters: (IsOptionsRequired extends true ? [options: Options] : [options?: Options]) | [
|
302
|
+
args: readonly unknown[],
|
303
|
+
...parameters: IsOptionsRequired extends true ? [options: Options] : [options?: Options]
|
304
|
+
]) => Promise<EstimateContractGasReturnType>;
|
305
|
+
type GetSimulateFunction<Narrowable extends boolean, TChain extends Chain | undefined, TAccount extends Account | undefined, TAbi extends Abi | readonly unknown[], TFunctionName extends ContractFunctionName<TAbi, 'nonpayable' | 'payable'>, TArgs extends ContractFunctionArgs<TAbi, 'nonpayable' | 'payable', TFunctionName> = ContractFunctionArgs<TAbi, 'nonpayable' | 'payable', TFunctionName>, TAbiFunction extends AbiFunction = TAbi extends Abi ? ExtractAbiFunction<TAbi, TFunctionName> : AbiFunction, Args = AbiParametersToPrimitiveTypes<TAbiFunction['inputs']>> = Narrowable extends true ? <TChainOverride extends Chain | undefined, TAccountOverride extends Account | Address | undefined = undefined>(...parameters: Args extends readonly [] ? [
|
306
|
+
options?: Omit<SimulateContractParameters<TAbi, TFunctionName, TArgs, TChain, TChainOverride, TAccountOverride>, 'abi' | 'address' | 'args' | 'functionName'>
|
307
|
+
] : [
|
308
|
+
args: Args,
|
309
|
+
options?: Omit<SimulateContractParameters<TAbi, TFunctionName, TArgs, TChain, TChainOverride, TAccountOverride>, 'abi' | 'address' | 'args' | 'functionName'>
|
310
|
+
]) => Promise<SimulateContractReturnType<TAbi, TFunctionName, TArgs, TChain, TAccount, TChainOverride, TAccountOverride>> : <TChainOverride extends Chain | undefined, TAccountOverride extends Account | Address | undefined = undefined>(...parameters: [
|
311
|
+
options?: Omit<SimulateContractParameters<TAbi, TFunctionName, TArgs, TChain, TChainOverride, TAccountOverride>, 'abi' | 'address' | 'args' | 'functionName'>
|
312
|
+
] | [
|
313
|
+
args: readonly unknown[],
|
314
|
+
options?: Omit<SimulateContractParameters<TAbi, TFunctionName, TArgs, TChain, TChainOverride, TAccountOverride>, 'abi' | 'address' | 'args' | 'functionName'>
|
315
|
+
]) => Promise<SimulateContractReturnType>;
|
316
|
+
type GetWriteFunction<Narrowable extends boolean, TChain extends Chain | undefined, TAccount extends Account | undefined, TAbi extends Abi | readonly unknown[], TFunctionName extends ContractFunctionName<TAbi, 'nonpayable' | 'payable'>, TArgs extends ContractFunctionArgs<TAbi, 'nonpayable' | 'payable', TFunctionName> = ContractFunctionArgs<TAbi, 'nonpayable' | 'payable', TFunctionName>, TAbiFunction extends AbiFunction = TAbi extends Abi ? ExtractAbiFunction<TAbi, TFunctionName> : AbiFunction, Args = AbiParametersToPrimitiveTypes<TAbiFunction['inputs']>, IsOptionsRequired = Or<[IsUndefined<TAccount>, IsUndefined<TChain>]>> = Narrowable extends true ? <TChainOverride extends Chain | undefined, Options extends Prettify<UnionOmit<WriteContractParameters<TAbi, TFunctionName, TArgs, TChain, TAccount, TChainOverride>, 'abi' | 'address' | 'args' | 'functionName'>>>(...parameters: Args extends readonly [] ? IsOptionsRequired extends true ? [options: Options] : [options?: Options] : [
|
317
|
+
args: Args,
|
318
|
+
...parameters: IsOptionsRequired extends true ? [options: Options] : [options?: Options]
|
319
|
+
]) => Promise<WriteContractReturnType> : <TChainOverride extends Chain | undefined, Options extends Prettify<UnionOmit<WriteContractParameters<TAbi, TFunctionName, TArgs, TChain, TAccount, TChainOverride>, 'abi' | 'address' | 'args' | 'functionName'>>, Rest extends unknown[] = IsOptionsRequired extends true ? [options: Options] : [options?: Options]>(...parameters: Rest | [args: readonly unknown[], ...parameters: Rest]) => Promise<WriteContractReturnType>;
|
320
|
+
type GetEventFilter<Narrowable extends boolean, TAbi extends Abi | readonly unknown[], TEventName extends ContractEventName<TAbi>, TAbiEvent extends AbiEvent = TAbi extends Abi ? ExtractAbiEvent<TAbi, TEventName> : AbiEvent, Args = AbiEventParametersToPrimitiveTypes<TAbiEvent['inputs']>, Options = Prettify<Omit<CreateContractEventFilterParameters<TAbi, TEventName>, 'abi' | 'address' | 'args' | 'eventName' | 'strict'>>, IndexedInputs = Extract<TAbiEvent['inputs'][number], {
|
321
|
+
indexed: true;
|
322
|
+
}>> = Narrowable extends true ? <const TArgs extends MaybeExtractEventArgsFromAbi<TAbi, TEventName> | undefined, TStrict extends boolean | undefined = undefined>(...parameters: IsNever<IndexedInputs> extends true ? [options?: Options & {
|
323
|
+
strict?: TStrict;
|
324
|
+
}] : [
|
325
|
+
args: Args | (Args extends TArgs ? Readonly<TArgs> : never),
|
326
|
+
options?: Options & {
|
327
|
+
strict?: TStrict;
|
328
|
+
}
|
329
|
+
]) => Promise<CreateContractEventFilterReturnType<TAbi, TEventName, TArgs, TStrict>> : <TStrict extends boolean | undefined = undefined>(...parameters: [options?: Options & {
|
330
|
+
strict?: TStrict;
|
331
|
+
}] | [
|
332
|
+
args: readonly unknown[] | CreateContractFilterOptions,
|
333
|
+
options?: Options & {
|
334
|
+
strict?: TStrict;
|
335
|
+
}
|
336
|
+
]) => Promise<CreateContractEventFilterReturnType>;
|
337
|
+
type GetEventsFunction<Narrowable extends boolean, TAbi extends Abi | readonly unknown[], TEventName extends ContractEventName<TAbi>, TAbiEvent extends AbiEvent = TAbi extends Abi ? ExtractAbiEvent<TAbi, TEventName> : AbiEvent, Args = AbiEventParametersToPrimitiveTypes<TAbiEvent['inputs']>, Options = Prettify<Omit<GetContractEventsParameters<TAbi, TEventName>, 'abi' | 'address' | 'args' | 'eventName'>>, IndexedInputs = Extract<TAbiEvent['inputs'][number], {
|
338
|
+
indexed: true;
|
339
|
+
}>> = Narrowable extends true ? (...parameters: IsNever<IndexedInputs> extends true ? [options?: Options] : [args?: Args, options?: Options]) => Promise<GetContractEventsReturnType<TAbi, TEventName>> : (...parameters: [options?: Options] | [
|
340
|
+
args?: readonly unknown[] | WatchContractEventOptions,
|
341
|
+
options?: Options
|
342
|
+
]) => Promise<GetContractEventsReturnType<TAbi, TEventName>>;
|
343
|
+
type GetWatchEvent<Narrowable extends boolean, TAbi extends Abi | readonly unknown[], TEventName extends ContractEventName<TAbi>, TAbiEvent extends AbiEvent = TAbi extends Abi ? ExtractAbiEvent<TAbi, TEventName> : AbiEvent, Args = AbiEventParametersToPrimitiveTypes<TAbiEvent['inputs']>, Options = Prettify<Omit<WatchContractEventParameters<TAbi, TEventName>, 'abi' | 'address' | 'args' | 'eventName'>>, IndexedInputs = Extract<TAbiEvent['inputs'][number], {
|
344
|
+
indexed: true;
|
345
|
+
}>> = Narrowable extends true ? (...parameters: IsNever<IndexedInputs> extends true ? [options: Options] : [args: Args, options: Options]) => WatchContractEventReturnType : (...parameters: [options?: Options] | [
|
346
|
+
args: readonly unknown[] | WatchContractEventOptions,
|
347
|
+
options?: Options
|
348
|
+
]) => WatchContractEventReturnType;
|
349
|
+
type CreateContractFilterOptions = RemoveProperties<CreateContractEventFilterParameters>;
|
350
|
+
type WatchContractEventOptions = RemoveProperties<WatchContractEventParameters>;
|
351
|
+
type RemoveProperties<T extends object> = Prettify<{
|
352
|
+
[key: string]: unknown;
|
353
|
+
} & {
|
354
|
+
[_ in keyof T]?: never;
|
355
|
+
}>;
|
356
|
+
export {};
|
357
|
+
//# sourceMappingURL=getContract.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getContract.d.ts","sourceRoot":"","sources":["../../actions/getContract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,GAAG,EACH,QAAQ,EACR,WAAW,EACX,6BAA6B,EAC7B,OAAO,EACP,eAAe,EACf,oBAAoB,EACpB,kBAAkB,EAClB,uBAAuB,EACxB,MAAM,SAAS,CAAA;AAEhB,OAAO,KAAK,EAA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,CAAC,EAAE,OAAO,CAAC,GACnB;IACE,IAAI,EAAE,SAAS,OAAO,EAAE,GAAG,yBAAyB;IACpD,OAAO,CAAC,EAAE,OAAO;CAClB,KACF,4BAA4B,CAAA;AAErC,KAAK,2BAA2B,GAC9B,gBAAgB,CAAC,mCAAmC,CAAC,CAAA;AACvD,KAAK,yBAAyB,GAAG,gBAAgB,CAAC,4BAA4B,CAAC,CAAA;AAE/E,KAAK,gBAAgB,CAAC,CAAC,SAAS,MAAM,IAAI,QAAQ,CAChD;IACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB,GAAG;KACD,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK;CACvB,CACF,CAAA"}
|
@@ -0,0 +1,82 @@
|
|
1
|
+
export { type GetEnsAddressErrorType, type GetEnsAddressParameters, type GetEnsAddressReturnType, getEnsAddress, } from './ens/getEnsAddress.js';
|
2
|
+
export { type GetEnsAvatarErrorType, type GetEnsAvatarParameters, type GetEnsAvatarReturnType, getEnsAvatar, } from './ens/getEnsAvatar.js';
|
3
|
+
export { type GetEnsNameErrorType, type GetEnsNameParameters, type GetEnsNameReturnType, getEnsName, } from './ens/getEnsName.js';
|
4
|
+
export { type GetEnsResolverErrorType, type GetEnsResolverParameters, type GetEnsResolverReturnType, getEnsResolver, } from './ens/getEnsResolver.js';
|
5
|
+
export { type GetEnsTextErrorType, type GetEnsTextParameters, type GetEnsTextReturnType, getEnsText, } from './ens/getEnsText.js';
|
6
|
+
export { type CallErrorType, type CallParameters, type CallReturnType, call, } from './public/call.js';
|
7
|
+
export { type CreateBlockFilterErrorType, type CreateBlockFilterReturnType, createBlockFilter, } from './public/createBlockFilter.js';
|
8
|
+
export { type CreateContractEventFilterErrorType, type CreateContractEventFilterParameters, type CreateContractEventFilterReturnType, createContractEventFilter, } from './public/createContractEventFilter.js';
|
9
|
+
export { type CreateEventFilterErrorType, type CreateEventFilterParameters, type CreateEventFilterReturnType, createEventFilter, } from './public/createEventFilter.js';
|
10
|
+
export { type CreatePendingTransactionFilterErrorType, type CreatePendingTransactionFilterReturnType, createPendingTransactionFilter, } from './public/createPendingTransactionFilter.js';
|
11
|
+
export { type EstimateContractGasErrorType, type EstimateContractGasParameters, type EstimateContractGasReturnType, estimateContractGas, } from './public/estimateContractGas.js';
|
12
|
+
export { type EstimateFeesPerGasErrorType, type EstimateFeesPerGasParameters, type EstimateFeesPerGasReturnType, estimateFeesPerGas, } from './public/estimateFeesPerGas.js';
|
13
|
+
export { type EstimateMaxPriorityFeePerGasErrorType, type EstimateMaxPriorityFeePerGasParameters, type EstimateMaxPriorityFeePerGasReturnType, estimateMaxPriorityFeePerGas, } from './public/estimateMaxPriorityFeePerGas.js';
|
14
|
+
export { type EstimateGasErrorType, type EstimateGasParameters, type EstimateGasReturnType, estimateGas, } from './public/estimateGas.js';
|
15
|
+
export { type GetBalanceErrorType, type GetBalanceParameters, type GetBalanceReturnType, getBalance, } from './public/getBalance.js';
|
16
|
+
export { type GetBlockErrorType, type GetBlockParameters, type GetBlockReturnType, getBlock, } from './public/getBlock.js';
|
17
|
+
export { type GetBlockNumberErrorType, type GetBlockNumberParameters, type GetBlockNumberReturnType, getBlockNumber, } from './public/getBlockNumber.js';
|
18
|
+
export { type GetBlockTransactionCountErrorType, type GetBlockTransactionCountParameters, type GetBlockTransactionCountReturnType, getBlockTransactionCount, } from './public/getBlockTransactionCount.js';
|
19
|
+
export { type GetBytecodeErrorType, type GetBytecodeParameters, type GetBytecodeReturnType, getBytecode, } from './public/getBytecode.js';
|
20
|
+
export { type GetChainIdErrorType, type GetChainIdReturnType, getChainId, } from './public/getChainId.js';
|
21
|
+
export { type GetFeeHistoryErrorType, type GetFeeHistoryParameters, type GetFeeHistoryReturnType, getFeeHistory, } from './public/getFeeHistory.js';
|
22
|
+
export { type GetFilterChangesErrorType, type GetFilterChangesParameters, type GetFilterChangesReturnType, getFilterChanges, } from './public/getFilterChanges.js';
|
23
|
+
export { type GetFilterLogsErrorType, type GetFilterLogsParameters, type GetFilterLogsReturnType, getFilterLogs, } from './public/getFilterLogs.js';
|
24
|
+
export { type GetGasPriceErrorType, type GetGasPriceReturnType, getGasPrice, } from './public/getGasPrice.js';
|
25
|
+
export { type GetLogsErrorType, type GetLogsParameters, type GetLogsReturnType, getLogs, } from './public/getLogs.js';
|
26
|
+
export { type GetStorageAtErrorType, type GetStorageAtParameters, type GetStorageAtReturnType, getStorageAt, } from './public/getStorageAt.js';
|
27
|
+
export { type GetTransactionConfirmationsErrorType, type GetTransactionConfirmationsParameters, type GetTransactionConfirmationsReturnType, getTransactionConfirmations, } from './public/getTransactionConfirmations.js';
|
28
|
+
export { type GetTransactionCountErrorType, type GetTransactionCountParameters, type GetTransactionCountReturnType, getTransactionCount, } from './public/getTransactionCount.js';
|
29
|
+
export { type GetTransactionErrorType, type GetTransactionParameters, type GetTransactionReturnType, getTransaction, } from './public/getTransaction.js';
|
30
|
+
export { type GetTransactionReceiptErrorType, type GetTransactionReceiptParameters, type GetTransactionReceiptReturnType, getTransactionReceipt, } from './public/getTransactionReceipt.js';
|
31
|
+
export { type ImpersonateAccountErrorType, type ImpersonateAccountParameters, impersonateAccount, } from './test/impersonateAccount.js';
|
32
|
+
export { type IncreaseTimeErrorType, type IncreaseTimeParameters, increaseTime, } from './test/increaseTime.js';
|
33
|
+
export { type MineErrorType, type MineParameters, mine, } from './test/mine.js';
|
34
|
+
export { type MulticallErrorType, type MulticallParameters, type MulticallReturnType, multicall, } from './public/multicall.js';
|
35
|
+
export { type OnBlock, type OnBlockParameter, type WatchBlocksErrorType, type WatchBlocksParameters, type WatchBlocksReturnType, watchBlocks, } from './public/watchBlocks.js';
|
36
|
+
export { type OnBlockNumberFn, type OnBlockNumberParameter, type WatchBlockNumberErrorType, type WatchBlockNumberParameters, type WatchBlockNumberReturnType, watchBlockNumber, } from './public/watchBlockNumber.js';
|
37
|
+
export { type WatchEventOnLogsFn, type WatchEventOnLogsParameter, type WatchEventParameters, type WatchEventReturnType, watchEvent, } from './public/watchEvent.js';
|
38
|
+
export { type OnTransactionsFn, type OnTransactionsParameter, type WatchPendingTransactionsErrorType, type WatchPendingTransactionsParameters, type WatchPendingTransactionsReturnType, watchPendingTransactions, } from './public/watchPendingTransactions.js';
|
39
|
+
export { type ReadContractErrorType, type ReadContractParameters, type ReadContractReturnType, readContract, } from './public/readContract.js';
|
40
|
+
export { type GetAddressesErrorType, type GetAddressesReturnType, getAddresses, } from './wallet/getAddresses.js';
|
41
|
+
export { type GetPermissionsErrorType, type GetPermissionsReturnType, getPermissions, } from './wallet/getPermissions.js';
|
42
|
+
export { type ReplacementReason, type ReplacementReturnType, type WaitForTransactionReceiptErrorType, type WaitForTransactionReceiptParameters, type WaitForTransactionReceiptReturnType, waitForTransactionReceipt, } from './public/waitForTransactionReceipt.js';
|
43
|
+
export { type RequestAddressesErrorType, type RequestAddressesReturnType, requestAddresses, } from './wallet/requestAddresses.js';
|
44
|
+
export { type RequestPermissionsErrorType, type RequestPermissionsReturnType, type RequestPermissionsParameters, requestPermissions, } from './wallet/requestPermissions.js';
|
45
|
+
export { type DropTransactionParameters, dropTransaction, } from './test/dropTransaction.js';
|
46
|
+
export { type GetAutomineErrorType, type GetAutomineReturnType, getAutomine, } from './test/getAutomine.js';
|
47
|
+
export { type GetTxpoolContentErrorType, type GetTxpoolContentReturnType, getTxpoolContent, } from './test/getTxpoolContent.js';
|
48
|
+
export { type GetTxpoolStatusErrorType, type GetTxpoolStatusReturnType, getTxpoolStatus, } from './test/getTxpoolStatus.js';
|
49
|
+
export { type InspectTxpoolErrorType, type InspectTxpoolReturnType, inspectTxpool, } from './test/inspectTxpool.js';
|
50
|
+
export { type ResetErrorType, type ResetParameters, reset, } from './test/reset.js';
|
51
|
+
export { type RevertErrorType, type RevertParameters, revert, } from './test/revert.js';
|
52
|
+
export { type PrepareTransactionRequestErrorType, type PrepareTransactionRequestParameters, type PrepareTransactionRequestReturnType, prepareTransactionRequest, } from './wallet/prepareTransactionRequest.js';
|
53
|
+
export { type SendTransactionErrorType, type SendTransactionParameters, type SendTransactionReturnType, sendTransaction, } from './wallet/sendTransaction.js';
|
54
|
+
export { type SignTransactionErrorType, type SignTransactionParameters, type SignTransactionReturnType, signTransaction, } from './wallet/signTransaction.js';
|
55
|
+
export { type SendRawTransactionErrorType, type SendRawTransactionParameters, type SendRawTransactionReturnType, sendRawTransaction, } from './wallet/sendRawTransaction.js';
|
56
|
+
export { type SendUnsignedTransactionErrorType, type SendUnsignedTransactionParameters, type SendUnsignedTransactionReturnType, sendUnsignedTransaction, } from './test/sendUnsignedTransaction.js';
|
57
|
+
export { type SetBalanceErrorType, type SetBalanceParameters, setBalance, } from './test/setBalance.js';
|
58
|
+
export { type SetAutomineErrorType, setAutomine } from './test/setAutomine.js';
|
59
|
+
export { type SetBlockGasLimitErrorType, type SetBlockGasLimitParameters, setBlockGasLimit, } from './test/setBlockGasLimit.js';
|
60
|
+
export { type SetBlockTimestampIntervalErrorType, type SetBlockTimestampIntervalParameters, setBlockTimestampInterval, } from './test/setBlockTimestampInterval.js';
|
61
|
+
export { type SetCodeErrorType, type SetCodeParameters, setCode, } from './test/setCode.js';
|
62
|
+
export { type SetCoinbaseErrorType, type SetCoinbaseParameters, setCoinbase, } from './test/setCoinbase.js';
|
63
|
+
export { type SetIntervalMiningErrorType, type SetIntervalMiningParameters, setIntervalMining, } from './test/setIntervalMining.js';
|
64
|
+
export { type SetMinGasPriceErrorType, type SetMinGasPriceParameters, setMinGasPrice, } from './test/setMinGasPrice.js';
|
65
|
+
export { type SetNextBlockBaseFeePerGasErrorType, type SetNextBlockBaseFeePerGasParameters, setNextBlockBaseFeePerGas, } from './test/setNextBlockBaseFeePerGas.js';
|
66
|
+
export { type SetNextBlockTimestampErrorType, type SetNextBlockTimestampParameters, setNextBlockTimestamp, } from './test/setNextBlockTimestamp.js';
|
67
|
+
export { type SetNonceErrorType, type SetNonceParameters, setNonce, } from './test/setNonce.js';
|
68
|
+
export { type SetStorageAtErrorType, type SetStorageAtParameters, setStorageAt, } from './test/setStorageAt.js';
|
69
|
+
export { type SnapshotErrorType, snapshot } from './test/snapshot.js';
|
70
|
+
export { type SignMessageErrorType, type SignMessageParameters, type SignMessageReturnType, signMessage, } from './wallet/signMessage.js';
|
71
|
+
export { type SignTypedDataErrorType, type SignTypedDataParameters, type SignTypedDataReturnType, signTypedData, } from './wallet/signTypedData.js';
|
72
|
+
export { type SimulateContractErrorType, type SimulateContractParameters, type SimulateContractReturnType, simulateContract, } from './public/simulateContract.js';
|
73
|
+
export { type StopImpersonatingAccountErrorType, type StopImpersonatingAccountParameters, stopImpersonatingAccount, } from './test/stopImpersonatingAccount.js';
|
74
|
+
export { type SwitchChainErrorType, type SwitchChainParameters, switchChain, } from './wallet/switchChain.js';
|
75
|
+
export { type UninstallFilterErrorType, type UninstallFilterParameters, type UninstallFilterReturnType, uninstallFilter, } from './public/uninstallFilter.js';
|
76
|
+
export { type VerifyHashErrorType, type VerifyHashParameters, type VerifyHashReturnType, verifyHash, } from './public/verifyHash.js';
|
77
|
+
export { type VerifyMessageErrorType, type VerifyMessageParameters, type VerifyMessageReturnType, verifyMessage, } from './public/verifyMessage.js';
|
78
|
+
export { type VerifyTypedDataErrorType, type VerifyTypedDataParameters, type VerifyTypedDataReturnType, verifyTypedData, } from './public/verifyTypedData.js';
|
79
|
+
export { type WatchAssetErrorType, type WatchAssetParameters, type WatchAssetReturnType, watchAsset, } from './wallet/watchAsset.js';
|
80
|
+
export { type WatchContractEventErrorType, type WatchContractEventParameters, type WatchContractEventReturnType, watchContractEvent, } from './public/watchContractEvent.js';
|
81
|
+
export { type WriteContractErrorType, type WriteContractParameters, type WriteContractReturnType, writeContract, } from './wallet/writeContract.js';
|
82
|
+
//# sourceMappingURL=index.d.ts.map
|