viem 2.0.0-beta.3 → 2.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/_cjs/accounts/generateMnemonic.js +9 -0
- package/_cjs/accounts/generateMnemonic.js.map +1 -0
- package/_cjs/accounts/generatePrivateKey.js +10 -0
- package/_cjs/accounts/generatePrivateKey.js.map +1 -0
- package/_cjs/accounts/hdKeyToAccount.js +16 -0
- package/_cjs/accounts/hdKeyToAccount.js.map +1 -0
- package/_cjs/accounts/index.js +52 -0
- package/_cjs/accounts/index.js.map +1 -0
- package/_cjs/accounts/mnemonicToAccount.js +12 -0
- package/_cjs/accounts/mnemonicToAccount.js.map +1 -0
- package/_cjs/accounts/privateKeyToAccount.js +33 -0
- package/_cjs/accounts/privateKeyToAccount.js.map +1 -0
- package/_cjs/accounts/toAccount.js +27 -0
- package/_cjs/accounts/toAccount.js.map +1 -0
- package/_cjs/accounts/types.js +3 -0
- package/_cjs/accounts/types.js.map +1 -0
- package/_cjs/accounts/utils/parseAccount.js +10 -0
- package/_cjs/accounts/utils/parseAccount.js.map +1 -0
- package/_cjs/accounts/utils/privateKeyToAddress.js +12 -0
- package/_cjs/accounts/utils/privateKeyToAddress.js.map +1 -0
- package/_cjs/accounts/utils/publicKeyToAddress.js +11 -0
- package/_cjs/accounts/utils/publicKeyToAddress.js.map +1 -0
- package/_cjs/accounts/utils/sign.js +15 -0
- package/_cjs/accounts/utils/sign.js.map +1 -0
- package/_cjs/accounts/utils/signMessage.js +12 -0
- package/_cjs/accounts/utils/signMessage.js.map +1 -0
- package/_cjs/accounts/utils/signTransaction.js +15 -0
- package/_cjs/accounts/utils/signTransaction.js.map +1 -0
- package/_cjs/accounts/utils/signTypedData.js +16 -0
- package/_cjs/accounts/utils/signTypedData.js.map +1 -0
- package/_cjs/actions/ens/getEnsAddress.js +63 -0
- package/_cjs/actions/ens/getEnsAddress.js.map +1 -0
- package/_cjs/actions/ens/getEnsAvatar.js +25 -0
- package/_cjs/actions/ens/getEnsAvatar.js.map +1 -0
- package/_cjs/actions/ens/getEnsName.js +41 -0
- package/_cjs/actions/ens/getEnsName.js.map +1 -0
- package/_cjs/actions/ens/getEnsResolver.js +39 -0
- package/_cjs/actions/ens/getEnsResolver.js.map +1 -0
- package/_cjs/actions/ens/getEnsText.js +57 -0
- package/_cjs/actions/ens/getEnsText.js.map +1 -0
- package/_cjs/actions/getContract.js +184 -0
- package/_cjs/actions/getContract.js.map +1 -0
- package/_cjs/actions/index.js +167 -0
- package/_cjs/actions/index.js.map +1 -0
- package/_cjs/actions/public/call.js +156 -0
- package/_cjs/actions/public/call.js.map +1 -0
- package/_cjs/actions/public/createBlockFilter.js +15 -0
- package/_cjs/actions/public/createBlockFilter.js.map +1 -0
- package/_cjs/actions/public/createContractEventFilter.js +41 -0
- package/_cjs/actions/public/createContractEventFilter.js.map +1 -0
- package/_cjs/actions/public/createEventFilter.js +48 -0
- package/_cjs/actions/public/createEventFilter.js.map +1 -0
- package/_cjs/actions/public/createPendingTransactionFilter.js +15 -0
- package/_cjs/actions/public/createPendingTransactionFilter.js.map +1 -0
- package/_cjs/actions/public/estimateContractGas.js +37 -0
- package/_cjs/actions/public/estimateContractGas.js.map +1 -0
- package/_cjs/actions/public/estimateFeesPerGas.js +62 -0
- package/_cjs/actions/public/estimateFeesPerGas.js.map +1 -0
- package/_cjs/actions/public/estimateGas.js +56 -0
- package/_cjs/actions/public/estimateGas.js.map +1 -0
- package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js +45 -0
- package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -0
- package/_cjs/actions/public/getBalance.js +14 -0
- package/_cjs/actions/public/getBalance.js.map +1 -0
- package/_cjs/actions/public/getBlock.js +30 -0
- package/_cjs/actions/public/getBlock.js.map +1 -0
- package/_cjs/actions/public/getBlockNumber.js +17 -0
- package/_cjs/actions/public/getBlockNumber.js.map +1 -0
- package/_cjs/actions/public/getBlockTransactionCount.js +24 -0
- package/_cjs/actions/public/getBlockTransactionCount.js.map +1 -0
- package/_cjs/actions/public/getBytecode.js +16 -0
- package/_cjs/actions/public/getBytecode.js.map +1 -0
- package/_cjs/actions/public/getChainId.js +12 -0
- package/_cjs/actions/public/getChainId.js.map +1 -0
- package/_cjs/actions/public/getContractEvents.js +27 -0
- package/_cjs/actions/public/getContractEvents.js.map +1 -0
- package/_cjs/actions/public/getFeeHistory.js +19 -0
- package/_cjs/actions/public/getFeeHistory.js.map +1 -0
- package/_cjs/actions/public/getFilterChanges.js +44 -0
- package/_cjs/actions/public/getFilterChanges.js.map +1 -0
- package/_cjs/actions/public/getFilterLogs.js +42 -0
- package/_cjs/actions/public/getFilterLogs.js.map +1 -0
- package/_cjs/actions/public/getGasPrice.js +11 -0
- package/_cjs/actions/public/getGasPrice.js.map +1 -0
- package/_cjs/actions/public/getLogs.js +73 -0
- package/_cjs/actions/public/getLogs.js.map +1 -0
- package/_cjs/actions/public/getProof.js +16 -0
- package/_cjs/actions/public/getProof.js.map +1 -0
- package/_cjs/actions/public/getStorageAt.js +14 -0
- package/_cjs/actions/public/getStorageAt.js.map +1 -0
- package/_cjs/actions/public/getTransaction.js +41 -0
- package/_cjs/actions/public/getTransaction.js.map +1 -0
- package/_cjs/actions/public/getTransactionConfirmations.js +18 -0
- package/_cjs/actions/public/getTransactionConfirmations.js.map +1 -0
- package/_cjs/actions/public/getTransactionCount.js +14 -0
- package/_cjs/actions/public/getTransactionCount.js.map +1 -0
- package/_cjs/actions/public/getTransactionReceipt.js +18 -0
- package/_cjs/actions/public/getTransactionReceipt.js.map +1 -0
- package/_cjs/actions/public/multicall.js +135 -0
- package/_cjs/actions/public/multicall.js.map +1 -0
- package/_cjs/actions/public/readContract.js +40 -0
- package/_cjs/actions/public/readContract.js.map +1 -0
- package/_cjs/actions/public/simulateContract.js +56 -0
- package/_cjs/actions/public/simulateContract.js.map +1 -0
- package/_cjs/actions/public/uninstallFilter.js +11 -0
- package/_cjs/actions/public/uninstallFilter.js.map +1 -0
- package/_cjs/actions/public/verifyHash.js +32 -0
- package/_cjs/actions/public/verifyHash.js.map +1 -0
- package/_cjs/actions/public/verifyMessage.js +16 -0
- package/_cjs/actions/public/verifyMessage.js.map +1 -0
- package/_cjs/actions/public/verifyTypedData.js +16 -0
- package/_cjs/actions/public/verifyTypedData.js.map +1 -0
- package/_cjs/actions/public/waitForTransactionReceipt.js +119 -0
- package/_cjs/actions/public/waitForTransactionReceipt.js.map +1 -0
- package/_cjs/actions/public/watchBlockNumber.js +78 -0
- package/_cjs/actions/public/watchBlockNumber.js.map +1 -0
- package/_cjs/actions/public/watchBlocks.js +90 -0
- package/_cjs/actions/public/watchBlocks.js.map +1 -0
- package/_cjs/actions/public/watchContractEvent.js +162 -0
- package/_cjs/actions/public/watchContractEvent.js.map +1 -0
- package/_cjs/actions/public/watchEvent.js +161 -0
- package/_cjs/actions/public/watchEvent.js.map +1 -0
- package/_cjs/actions/public/watchPendingTransactions.js +88 -0
- package/_cjs/actions/public/watchPendingTransactions.js.map +1 -0
- package/_cjs/actions/test/dropTransaction.js +11 -0
- package/_cjs/actions/test/dropTransaction.js.map +1 -0
- package/_cjs/actions/test/dumpState.js +10 -0
- package/_cjs/actions/test/dumpState.js.map +1 -0
- package/_cjs/actions/test/getAutomine.js +14 -0
- package/_cjs/actions/test/getAutomine.js.map +1 -0
- package/_cjs/actions/test/getTxpoolContent.js +10 -0
- package/_cjs/actions/test/getTxpoolContent.js.map +1 -0
- package/_cjs/actions/test/getTxpoolStatus.js +15 -0
- package/_cjs/actions/test/getTxpoolStatus.js.map +1 -0
- package/_cjs/actions/test/impersonateAccount.js +11 -0
- package/_cjs/actions/test/impersonateAccount.js.map +1 -0
- package/_cjs/actions/test/increaseTime.js +12 -0
- package/_cjs/actions/test/increaseTime.js.map +1 -0
- package/_cjs/actions/test/inspectTxpool.js +10 -0
- package/_cjs/actions/test/inspectTxpool.js.map +1 -0
- package/_cjs/actions/test/loadState.js +11 -0
- package/_cjs/actions/test/loadState.js.map +1 -0
- package/_cjs/actions/test/mine.js +18 -0
- package/_cjs/actions/test/mine.js.map +1 -0
- package/_cjs/actions/test/removeBlockTimestampInterval.js +10 -0
- package/_cjs/actions/test/removeBlockTimestampInterval.js.map +1 -0
- package/_cjs/actions/test/reset.js +11 -0
- package/_cjs/actions/test/reset.js.map +1 -0
- package/_cjs/actions/test/revert.js +11 -0
- package/_cjs/actions/test/revert.js.map +1 -0
- package/_cjs/actions/test/sendUnsignedTransaction.js +30 -0
- package/_cjs/actions/test/sendUnsignedTransaction.js.map +1 -0
- package/_cjs/actions/test/setAutomine.js +18 -0
- package/_cjs/actions/test/setAutomine.js.map +1 -0
- package/_cjs/actions/test/setBalance.js +18 -0
- package/_cjs/actions/test/setBalance.js.map +1 -0
- package/_cjs/actions/test/setBlockGasLimit.js +12 -0
- package/_cjs/actions/test/setBlockGasLimit.js.map +1 -0
- package/_cjs/actions/test/setBlockTimestampInterval.js +16 -0
- package/_cjs/actions/test/setBlockTimestampInterval.js.map +1 -0
- package/_cjs/actions/test/setCode.js +11 -0
- package/_cjs/actions/test/setCode.js.map +1 -0
- package/_cjs/actions/test/setCoinbase.js +11 -0
- package/_cjs/actions/test/setCoinbase.js.map +1 -0
- package/_cjs/actions/test/setIntervalMining.js +16 -0
- package/_cjs/actions/test/setIntervalMining.js.map +1 -0
- package/_cjs/actions/test/setLoggingEnabled.js +11 -0
- package/_cjs/actions/test/setLoggingEnabled.js.map +1 -0
- package/_cjs/actions/test/setMinGasPrice.js +12 -0
- package/_cjs/actions/test/setMinGasPrice.js.map +1 -0
- package/_cjs/actions/test/setNextBlockBaseFeePerGas.js +12 -0
- package/_cjs/actions/test/setNextBlockBaseFeePerGas.js.map +1 -0
- package/_cjs/actions/test/setNextBlockTimestamp.js +12 -0
- package/_cjs/actions/test/setNextBlockTimestamp.js.map +1 -0
- package/_cjs/actions/test/setNonce.js +12 -0
- package/_cjs/actions/test/setNonce.js.map +1 -0
- package/_cjs/actions/test/setRpcUrl.js +11 -0
- package/_cjs/actions/test/setRpcUrl.js.map +1 -0
- package/_cjs/actions/test/setStorageAt.js +16 -0
- package/_cjs/actions/test/setStorageAt.js.map +1 -0
- package/_cjs/actions/test/snapshot.js +10 -0
- package/_cjs/actions/test/snapshot.js.map +1 -0
- package/_cjs/actions/test/stopImpersonatingAccount.js +11 -0
- package/_cjs/actions/test/stopImpersonatingAccount.js.map +1 -0
- package/_cjs/actions/wallet/addChain.js +23 -0
- package/_cjs/actions/wallet/addChain.js.map +1 -0
- package/_cjs/actions/wallet/deployContract.js +15 -0
- package/_cjs/actions/wallet/deployContract.js.map +1 -0
- package/_cjs/actions/wallet/getAddresses.js +12 -0
- package/_cjs/actions/wallet/getAddresses.js.map +1 -0
- package/_cjs/actions/wallet/getPermissions.js +9 -0
- package/_cjs/actions/wallet/getPermissions.js.map +1 -0
- package/_cjs/actions/wallet/prepareTransactionRequest.js +71 -0
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -0
- package/_cjs/actions/wallet/requestAddresses.js +10 -0
- package/_cjs/actions/wallet/requestAddresses.js.map +1 -0
- package/_cjs/actions/wallet/requestPermissions.js +11 -0
- package/_cjs/actions/wallet/requestPermissions.js.map +1 -0
- package/_cjs/actions/wallet/sendRawTransaction.js +11 -0
- package/_cjs/actions/wallet/sendRawTransaction.js.map +1 -0
- package/_cjs/actions/wallet/sendTransaction.js +87 -0
- package/_cjs/actions/wallet/sendTransaction.js.map +1 -0
- package/_cjs/actions/wallet/signMessage.js +28 -0
- package/_cjs/actions/wallet/signMessage.js.map +1 -0
- package/_cjs/actions/wallet/signTransaction.js +48 -0
- package/_cjs/actions/wallet/signTransaction.js.map +1 -0
- package/_cjs/actions/wallet/signTypedData.js +30 -0
- package/_cjs/actions/wallet/signTypedData.js.map +1 -0
- package/_cjs/actions/wallet/switchChain.js +16 -0
- package/_cjs/actions/wallet/switchChain.js.map +1 -0
- package/_cjs/actions/wallet/watchAsset.js +12 -0
- package/_cjs/actions/wallet/watchAsset.js.map +1 -0
- package/_cjs/actions/wallet/writeContract.js +18 -0
- package/_cjs/actions/wallet/writeContract.js.map +1 -0
- package/_cjs/chains/celo/chainConfig.js +10 -0
- package/_cjs/chains/celo/chainConfig.js.map +1 -0
- package/_cjs/chains/celo/formatters.js +82 -0
- package/_cjs/chains/celo/formatters.js.map +1 -0
- package/_cjs/chains/celo/index.js +10 -0
- package/_cjs/chains/celo/index.js.map +1 -0
- package/_cjs/chains/celo/parsers.js +131 -0
- package/_cjs/chains/celo/parsers.js.map +1 -0
- package/_cjs/chains/celo/serializers.js +131 -0
- package/_cjs/chains/celo/serializers.js.map +1 -0
- package/_cjs/chains/celo/types.js +3 -0
- package/_cjs/chains/celo/types.js.map +1 -0
- package/_cjs/chains/celo/utils.js +44 -0
- package/_cjs/chains/celo/utils.js.map +1 -0
- package/_cjs/chains/definitions/arbitrum.js +24 -0
- package/_cjs/chains/definitions/arbitrum.js.map +1 -0
- package/_cjs/chains/definitions/arbitrumGoerli.js +30 -0
- package/_cjs/chains/definitions/arbitrumGoerli.js.map +1 -0
- package/_cjs/chains/definitions/arbitrumNova.js +24 -0
- package/_cjs/chains/definitions/arbitrumNova.js.map +1 -0
- package/_cjs/chains/definitions/arbitrumSepolia.js +32 -0
- package/_cjs/chains/definitions/arbitrumSepolia.js.map +1 -0
- package/_cjs/chains/definitions/astar.js +29 -0
- package/_cjs/chains/definitions/astar.js.map +1 -0
- package/_cjs/chains/definitions/astarZkatana.js +42 -0
- package/_cjs/chains/definitions/astarZkatana.js.map +1 -0
- package/_cjs/chains/definitions/aurora.js +20 -0
- package/_cjs/chains/definitions/aurora.js.map +1 -0
- package/_cjs/chains/definitions/auroraTestnet.js +21 -0
- package/_cjs/chains/definitions/auroraTestnet.js.map +1 -0
- package/_cjs/chains/definitions/avalanche.js +26 -0
- package/_cjs/chains/definitions/avalanche.js.map +1 -0
- package/_cjs/chains/definitions/avalancheFuji.js +27 -0
- package/_cjs/chains/definitions/avalancheFuji.js.map +1 -0
- package/_cjs/chains/definitions/base.js +30 -0
- package/_cjs/chains/definitions/base.js.map +1 -0
- package/_cjs/chains/definitions/baseGoerli.js +30 -0
- package/_cjs/chains/definitions/baseGoerli.js.map +1 -0
- package/_cjs/chains/definitions/baseSepolia.js +34 -0
- package/_cjs/chains/definitions/baseSepolia.js.map +1 -0
- package/_cjs/chains/definitions/bearNetworkChainMainnet.js +20 -0
- package/_cjs/chains/definitions/bearNetworkChainMainnet.js.map +1 -0
- package/_cjs/chains/definitions/bearNetworkChainTestnet.js +24 -0
- package/_cjs/chains/definitions/bearNetworkChainTestnet.js.map +1 -0
- package/_cjs/chains/definitions/boba.js +26 -0
- package/_cjs/chains/definitions/boba.js.map +1 -0
- package/_cjs/chains/definitions/bronos.js +20 -0
- package/_cjs/chains/definitions/bronos.js.map +1 -0
- package/_cjs/chains/definitions/bronosTestnet.js +21 -0
- package/_cjs/chains/definitions/bronosTestnet.js.map +1 -0
- package/_cjs/chains/definitions/bsc.js +26 -0
- package/_cjs/chains/definitions/bsc.js.map +1 -0
- package/_cjs/chains/definitions/bscTestnet.js +27 -0
- package/_cjs/chains/definitions/bscTestnet.js.map +1 -0
- package/_cjs/chains/definitions/bxn.js +21 -0
- package/_cjs/chains/definitions/bxn.js.map +1 -0
- package/_cjs/chains/definitions/bxnTestnet.js +25 -0
- package/_cjs/chains/definitions/bxnTestnet.js.map +1 -0
- package/_cjs/chains/definitions/canto.js +29 -0
- package/_cjs/chains/definitions/canto.js.map +1 -0
- package/_cjs/chains/definitions/celo.js +32 -0
- package/_cjs/chains/definitions/celo.js.map +1 -0
- package/_cjs/chains/definitions/celoAlfajores.js +34 -0
- package/_cjs/chains/definitions/celoAlfajores.js.map +1 -0
- package/_cjs/chains/definitions/celoCannoli.js +34 -0
- package/_cjs/chains/definitions/celoCannoli.js.map +1 -0
- package/_cjs/chains/definitions/chiliz.js +26 -0
- package/_cjs/chains/definitions/chiliz.js.map +1 -0
- package/_cjs/chains/definitions/classic.js +23 -0
- package/_cjs/chains/definitions/classic.js.map +1 -0
- package/_cjs/chains/definitions/confluxESpace.js +27 -0
- package/_cjs/chains/definitions/confluxESpace.js.map +1 -0
- package/_cjs/chains/definitions/coreDao.js +27 -0
- package/_cjs/chains/definitions/coreDao.js.map +1 -0
- package/_cjs/chains/definitions/cronos.js +26 -0
- package/_cjs/chains/definitions/cronos.js.map +1 -0
- package/_cjs/chains/definitions/cronosTestnet.js +30 -0
- package/_cjs/chains/definitions/cronosTestnet.js.map +1 -0
- package/_cjs/chains/definitions/crossbell.js +28 -0
- package/_cjs/chains/definitions/crossbell.js.map +1 -0
- package/_cjs/chains/definitions/dfk.js +25 -0
- package/_cjs/chains/definitions/dfk.js.map +1 -0
- package/_cjs/chains/definitions/dogechain.js +23 -0
- package/_cjs/chains/definitions/dogechain.js.map +1 -0
- package/_cjs/chains/definitions/edgeware.js +26 -0
- package/_cjs/chains/definitions/edgeware.js.map +1 -0
- package/_cjs/chains/definitions/edgewareTestnet.js +23 -0
- package/_cjs/chains/definitions/edgewareTestnet.js.map +1 -0
- package/_cjs/chains/definitions/ekta.js +20 -0
- package/_cjs/chains/definitions/ekta.js.map +1 -0
- package/_cjs/chains/definitions/ektaTestnet.js +21 -0
- package/_cjs/chains/definitions/ektaTestnet.js.map +1 -0
- package/_cjs/chains/definitions/eon.js +24 -0
- package/_cjs/chains/definitions/eon.js.map +1 -0
- package/_cjs/chains/definitions/eos.js +29 -0
- package/_cjs/chains/definitions/eos.js.map +1 -0
- package/_cjs/chains/definitions/eosTestnet.js +30 -0
- package/_cjs/chains/definitions/eosTestnet.js.map +1 -0
- package/_cjs/chains/definitions/evmos.js +20 -0
- package/_cjs/chains/definitions/evmos.js.map +1 -0
- package/_cjs/chains/definitions/evmosTestnet.js +23 -0
- package/_cjs/chains/definitions/evmosTestnet.js.map +1 -0
- package/_cjs/chains/definitions/fantom.js +26 -0
- package/_cjs/chains/definitions/fantom.js.map +1 -0
- package/_cjs/chains/definitions/fantomTestnet.js +26 -0
- package/_cjs/chains/definitions/fantomTestnet.js.map +1 -0
- package/_cjs/chains/definitions/fibo.js +20 -0
- package/_cjs/chains/definitions/fibo.js.map +1 -0
- package/_cjs/chains/definitions/filecoin.js +20 -0
- package/_cjs/chains/definitions/filecoin.js.map +1 -0
- package/_cjs/chains/definitions/filecoinCalibration.js +20 -0
- package/_cjs/chains/definitions/filecoinCalibration.js.map +1 -0
- package/_cjs/chains/definitions/filecoinHyperspace.js +20 -0
- package/_cjs/chains/definitions/filecoinHyperspace.js.map +1 -0
- package/_cjs/chains/definitions/flare.js +23 -0
- package/_cjs/chains/definitions/flare.js.map +1 -0
- package/_cjs/chains/definitions/flareTestnet.js +24 -0
- package/_cjs/chains/definitions/flareTestnet.js.map +1 -0
- package/_cjs/chains/definitions/foundry.js +20 -0
- package/_cjs/chains/definitions/foundry.js.map +1 -0
- package/_cjs/chains/definitions/fuse.js +22 -0
- package/_cjs/chains/definitions/fuse.js.map +1 -0
- package/_cjs/chains/definitions/fuseSparknet.js +19 -0
- package/_cjs/chains/definitions/fuseSparknet.js.map +1 -0
- package/_cjs/chains/definitions/gnosis.js +32 -0
- package/_cjs/chains/definitions/gnosis.js.map +1 -0
- package/_cjs/chains/definitions/gnosisChiado.js +33 -0
- package/_cjs/chains/definitions/gnosisChiado.js.map +1 -0
- package/_cjs/chains/definitions/gobi.js +22 -0
- package/_cjs/chains/definitions/gobi.js.map +1 -0
- package/_cjs/chains/definitions/goerli.js +35 -0
- package/_cjs/chains/definitions/goerli.js.map +1 -0
- package/_cjs/chains/definitions/haqqMainnet.js +25 -0
- package/_cjs/chains/definitions/haqqMainnet.js.map +1 -0
- package/_cjs/chains/definitions/haqqTestedge2.js +25 -0
- package/_cjs/chains/definitions/haqqTestedge2.js.map +1 -0
- package/_cjs/chains/definitions/hardhat.js +17 -0
- package/_cjs/chains/definitions/hardhat.js.map +1 -0
- package/_cjs/chains/definitions/harmonyOne.js +26 -0
- package/_cjs/chains/definitions/harmonyOne.js.map +1 -0
- package/_cjs/chains/definitions/holesky.js +22 -0
- package/_cjs/chains/definitions/holesky.js.map +1 -0
- package/_cjs/chains/definitions/iotex.js +23 -0
- package/_cjs/chains/definitions/iotex.js.map +1 -0
- package/_cjs/chains/definitions/iotexTestnet.js +23 -0
- package/_cjs/chains/definitions/iotexTestnet.js.map +1 -0
- package/_cjs/chains/definitions/kava.js +29 -0
- package/_cjs/chains/definitions/kava.js.map +1 -0
- package/_cjs/chains/definitions/kavaTestnet.js +32 -0
- package/_cjs/chains/definitions/kavaTestnet.js.map +1 -0
- package/_cjs/chains/definitions/klaytn.js +20 -0
- package/_cjs/chains/definitions/klaytn.js.map +1 -0
- package/_cjs/chains/definitions/kroma.js +22 -0
- package/_cjs/chains/definitions/kroma.js.map +1 -0
- package/_cjs/chains/definitions/kromaSepolia.js +22 -0
- package/_cjs/chains/definitions/kromaSepolia.js.map +1 -0
- package/_cjs/chains/definitions/linea.js +29 -0
- package/_cjs/chains/definitions/linea.js.map +1 -0
- package/_cjs/chains/definitions/lineaTestnet.js +29 -0
- package/_cjs/chains/definitions/lineaTestnet.js.map +1 -0
- package/_cjs/chains/definitions/localhost.js +17 -0
- package/_cjs/chains/definitions/localhost.js.map +1 -0
- package/_cjs/chains/definitions/lukso.js +31 -0
- package/_cjs/chains/definitions/lukso.js.map +1 -0
- package/_cjs/chains/definitions/mainnet.js +34 -0
- package/_cjs/chains/definitions/mainnet.js.map +1 -0
- package/_cjs/chains/definitions/manta.js +35 -0
- package/_cjs/chains/definitions/manta.js.map +1 -0
- package/_cjs/chains/definitions/mantaTestnet.js +36 -0
- package/_cjs/chains/definitions/mantaTestnet.js.map +1 -0
- package/_cjs/chains/definitions/mantle.js +29 -0
- package/_cjs/chains/definitions/mantle.js.map +1 -0
- package/_cjs/chains/definitions/mantleTestnet.js +24 -0
- package/_cjs/chains/definitions/mantleTestnet.js.map +1 -0
- package/_cjs/chains/definitions/meter.js +20 -0
- package/_cjs/chains/definitions/meter.js.map +1 -0
- package/_cjs/chains/definitions/meterTestnet.js +23 -0
- package/_cjs/chains/definitions/meterTestnet.js.map +1 -0
- package/_cjs/chains/definitions/metis.js +29 -0
- package/_cjs/chains/definitions/metis.js.map +1 -0
- package/_cjs/chains/definitions/metisGoerli.js +29 -0
- package/_cjs/chains/definitions/metisGoerli.js.map +1 -0
- package/_cjs/chains/definitions/mev.js +31 -0
- package/_cjs/chains/definitions/mev.js.map +1 -0
- package/_cjs/chains/definitions/mevTestnet.js +32 -0
- package/_cjs/chains/definitions/mevTestnet.js.map +1 -0
- package/_cjs/chains/definitions/modeTestnet.js +28 -0
- package/_cjs/chains/definitions/modeTestnet.js.map +1 -0
- package/_cjs/chains/definitions/moonbaseAlpha.js +33 -0
- package/_cjs/chains/definitions/moonbaseAlpha.js.map +1 -0
- package/_cjs/chains/definitions/moonbeam.js +33 -0
- package/_cjs/chains/definitions/moonbeam.js.map +1 -0
- package/_cjs/chains/definitions/moonbeamDev.js +20 -0
- package/_cjs/chains/definitions/moonbeamDev.js.map +1 -0
- package/_cjs/chains/definitions/moonriver.js +33 -0
- package/_cjs/chains/definitions/moonriver.js.map +1 -0
- package/_cjs/chains/definitions/neonDevnet.js +28 -0
- package/_cjs/chains/definitions/neonDevnet.js.map +1 -0
- package/_cjs/chains/definitions/neonMainnet.js +27 -0
- package/_cjs/chains/definitions/neonMainnet.js.map +1 -0
- package/_cjs/chains/definitions/nexi.js +27 -0
- package/_cjs/chains/definitions/nexi.js.map +1 -0
- package/_cjs/chains/definitions/nexilix.js +26 -0
- package/_cjs/chains/definitions/nexilix.js.map +1 -0
- package/_cjs/chains/definitions/oasys.js +21 -0
- package/_cjs/chains/definitions/oasys.js.map +1 -0
- package/_cjs/chains/definitions/okc.js +26 -0
- package/_cjs/chains/definitions/okc.js.map +1 -0
- package/_cjs/chains/definitions/opBNB.js +26 -0
- package/_cjs/chains/definitions/opBNB.js.map +1 -0
- package/_cjs/chains/definitions/opBNBTestnet.js +27 -0
- package/_cjs/chains/definitions/opBNBTestnet.js.map +1 -0
- package/_cjs/chains/definitions/optimism.js +30 -0
- package/_cjs/chains/definitions/optimism.js.map +1 -0
- package/_cjs/chains/definitions/optimismGoerli.js +31 -0
- package/_cjs/chains/definitions/optimismGoerli.js.map +1 -0
- package/_cjs/chains/definitions/optimismSepolia.js +31 -0
- package/_cjs/chains/definitions/optimismSepolia.js.map +1 -0
- package/_cjs/chains/definitions/plinga.js +27 -0
- package/_cjs/chains/definitions/plinga.js.map +1 -0
- package/_cjs/chains/definitions/polygon.js +27 -0
- package/_cjs/chains/definitions/polygon.js.map +1 -0
- package/_cjs/chains/definitions/polygonMumbai.js +28 -0
- package/_cjs/chains/definitions/polygonMumbai.js.map +1 -0
- package/_cjs/chains/definitions/polygonZkEvm.js +27 -0
- package/_cjs/chains/definitions/polygonZkEvm.js.map +1 -0
- package/_cjs/chains/definitions/polygonZkEvmTestnet.js +28 -0
- package/_cjs/chains/definitions/polygonZkEvmTestnet.js.map +1 -0
- package/_cjs/chains/definitions/pulsechain.js +32 -0
- package/_cjs/chains/definitions/pulsechain.js.map +1 -0
- package/_cjs/chains/definitions/pulsechainV4.js +32 -0
- package/_cjs/chains/definitions/pulsechainV4.js.map +1 -0
- package/_cjs/chains/definitions/qMainnet.js +23 -0
- package/_cjs/chains/definitions/qMainnet.js.map +1 -0
- package/_cjs/chains/definitions/qTestnet.js +24 -0
- package/_cjs/chains/definitions/qTestnet.js.map +1 -0
- package/_cjs/chains/definitions/rollux.js +29 -0
- package/_cjs/chains/definitions/rollux.js.map +1 -0
- package/_cjs/chains/definitions/rolluxTestnet.js +32 -0
- package/_cjs/chains/definitions/rolluxTestnet.js.map +1 -0
- package/_cjs/chains/definitions/ronin.js +24 -0
- package/_cjs/chains/definitions/ronin.js.map +1 -0
- package/_cjs/chains/definitions/saigon.js +28 -0
- package/_cjs/chains/definitions/saigon.js.map +1 -0
- package/_cjs/chains/definitions/scroll.js +29 -0
- package/_cjs/chains/definitions/scroll.js.map +1 -0
- package/_cjs/chains/definitions/scrollSepolia.js +28 -0
- package/_cjs/chains/definitions/scrollSepolia.js.map +1 -0
- package/_cjs/chains/definitions/scrollTestnet.js +23 -0
- package/_cjs/chains/definitions/scrollTestnet.js.map +1 -0
- package/_cjs/chains/definitions/sepolia.js +33 -0
- package/_cjs/chains/definitions/sepolia.js.map +1 -0
- package/_cjs/chains/definitions/shardeumSphinx.js +22 -0
- package/_cjs/chains/definitions/shardeumSphinx.js.map +1 -0
- package/_cjs/chains/definitions/skale/brawl.js +23 -0
- package/_cjs/chains/definitions/skale/brawl.js.map +1 -0
- package/_cjs/chains/definitions/skale/calypso.js +30 -0
- package/_cjs/chains/definitions/skale/calypso.js.map +1 -0
- package/_cjs/chains/definitions/skale/calypsoTestnet.js +33 -0
- package/_cjs/chains/definitions/skale/calypsoTestnet.js.map +1 -0
- package/_cjs/chains/definitions/skale/chaosTestnet.js +33 -0
- package/_cjs/chains/definitions/skale/chaosTestnet.js.map +1 -0
- package/_cjs/chains/definitions/skale/cryptoBlades.js +25 -0
- package/_cjs/chains/definitions/skale/cryptoBlades.js.map +1 -0
- package/_cjs/chains/definitions/skale/cryptoColosseum.js +23 -0
- package/_cjs/chains/definitions/skale/cryptoColosseum.js.map +1 -0
- package/_cjs/chains/definitions/skale/europa.js +28 -0
- package/_cjs/chains/definitions/skale/europa.js.map +1 -0
- package/_cjs/chains/definitions/skale/europaTestnet.js +31 -0
- package/_cjs/chains/definitions/skale/europaTestnet.js.map +1 -0
- package/_cjs/chains/definitions/skale/exorde.js +23 -0
- package/_cjs/chains/definitions/skale/exorde.js.map +1 -0
- package/_cjs/chains/definitions/skale/humanProtocol.js +23 -0
- package/_cjs/chains/definitions/skale/humanProtocol.js.map +1 -0
- package/_cjs/chains/definitions/skale/nebula.js +28 -0
- package/_cjs/chains/definitions/skale/nebula.js.map +1 -0
- package/_cjs/chains/definitions/skale/nebulaTestnet.js +31 -0
- package/_cjs/chains/definitions/skale/nebulaTestnet.js.map +1 -0
- package/_cjs/chains/definitions/skale/razor.js +23 -0
- package/_cjs/chains/definitions/skale/razor.js.map +1 -0
- package/_cjs/chains/definitions/skale/titan.js +28 -0
- package/_cjs/chains/definitions/skale/titan.js.map +1 -0
- package/_cjs/chains/definitions/skale/titanTestnet.js +33 -0
- package/_cjs/chains/definitions/skale/titanTestnet.js.map +1 -0
- package/_cjs/chains/definitions/songbird.js +23 -0
- package/_cjs/chains/definitions/songbird.js.map +1 -0
- package/_cjs/chains/definitions/songbirdTestnet.js +24 -0
- package/_cjs/chains/definitions/songbirdTestnet.js.map +1 -0
- package/_cjs/chains/definitions/spicy.js +34 -0
- package/_cjs/chains/definitions/spicy.js.map +1 -0
- package/_cjs/chains/definitions/syscoin.js +29 -0
- package/_cjs/chains/definitions/syscoin.js.map +1 -0
- package/_cjs/chains/definitions/syscoinTestnet.js +29 -0
- package/_cjs/chains/definitions/syscoinTestnet.js.map +1 -0
- package/_cjs/chains/definitions/taikoJolnir.js +21 -0
- package/_cjs/chains/definitions/taikoJolnir.js.map +1 -0
- package/_cjs/chains/definitions/taikoTestnetSepolia.js +21 -0
- package/_cjs/chains/definitions/taikoTestnetSepolia.js.map +1 -0
- package/_cjs/chains/definitions/taraxa.js +21 -0
- package/_cjs/chains/definitions/taraxa.js.map +1 -0
- package/_cjs/chains/definitions/taraxaTestnet.js +22 -0
- package/_cjs/chains/definitions/taraxaTestnet.js.map +1 -0
- package/_cjs/chains/definitions/telos.js +29 -0
- package/_cjs/chains/definitions/telos.js.map +1 -0
- package/_cjs/chains/definitions/telosTestnet.js +24 -0
- package/_cjs/chains/definitions/telosTestnet.js.map +1 -0
- package/_cjs/chains/definitions/tenet.js +23 -0
- package/_cjs/chains/definitions/tenet.js.map +1 -0
- package/_cjs/chains/definitions/thunderTestnet.js +22 -0
- package/_cjs/chains/definitions/thunderTestnet.js.map +1 -0
- package/_cjs/chains/definitions/vechain.js +25 -0
- package/_cjs/chains/definitions/vechain.js.map +1 -0
- package/_cjs/chains/definitions/wanchain.js +30 -0
- package/_cjs/chains/definitions/wanchain.js.map +1 -0
- package/_cjs/chains/definitions/wanchainTestnet.js +28 -0
- package/_cjs/chains/definitions/wanchainTestnet.js.map +1 -0
- package/_cjs/chains/definitions/xdc.js +21 -0
- package/_cjs/chains/definitions/xdc.js.map +1 -0
- package/_cjs/chains/definitions/xdcTestnet.js +21 -0
- package/_cjs/chains/definitions/xdcTestnet.js.map +1 -0
- package/_cjs/chains/definitions/zetachainAthensTestnet.js +26 -0
- package/_cjs/chains/definitions/zetachainAthensTestnet.js.map +1 -0
- package/_cjs/chains/definitions/zhejiang.js +22 -0
- package/_cjs/chains/definitions/zhejiang.js.map +1 -0
- package/_cjs/chains/definitions/zkSync.js +34 -0
- package/_cjs/chains/definitions/zkSync.js.map +1 -0
- package/_cjs/chains/definitions/zkSyncTestnet.js +31 -0
- package/_cjs/chains/definitions/zkSyncTestnet.js.map +1 -0
- package/_cjs/chains/definitions/zora.js +32 -0
- package/_cjs/chains/definitions/zora.js.map +1 -0
- package/_cjs/chains/definitions/zoraSepolia.js +41 -0
- package/_cjs/chains/definitions/zoraSepolia.js.map +1 -0
- package/_cjs/chains/definitions/zoraTestnet.js +36 -0
- package/_cjs/chains/definitions/zoraTestnet.js.map +1 -0
- package/_cjs/chains/index.js +325 -0
- package/_cjs/chains/index.js.map +1 -0
- package/_cjs/chains/opStack/abis.js +77 -0
- package/_cjs/chains/opStack/abis.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateContractL1Fee.js +36 -0
- package/_cjs/chains/opStack/actions/estimateContractL1Fee.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateContractL1Gas.js +36 -0
- package/_cjs/chains/opStack/actions/estimateContractL1Gas.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateContractTotalFee.js +36 -0
- package/_cjs/chains/opStack/actions/estimateContractTotalFee.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateContractTotalGas.js +36 -0
- package/_cjs/chains/opStack/actions/estimateContractTotalGas.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateL1Fee.js +53 -0
- package/_cjs/chains/opStack/actions/estimateL1Fee.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateL1Gas.js +53 -0
- package/_cjs/chains/opStack/actions/estimateL1Gas.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateTotalFee.js +18 -0
- package/_cjs/chains/opStack/actions/estimateTotalFee.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateTotalGas.js +16 -0
- package/_cjs/chains/opStack/actions/estimateTotalGas.js.map +1 -0
- package/_cjs/chains/opStack/chainConfig.js +10 -0
- package/_cjs/chains/opStack/chainConfig.js.map +1 -0
- package/_cjs/chains/opStack/contracts.js +16 -0
- package/_cjs/chains/opStack/contracts.js.map +1 -0
- package/_cjs/chains/opStack/decorators/public.js +27 -0
- package/_cjs/chains/opStack/decorators/public.js.map +1 -0
- package/_cjs/chains/opStack/formatters.js +54 -0
- package/_cjs/chains/opStack/formatters.js.map +1 -0
- package/_cjs/chains/opStack/index.js +42 -0
- package/_cjs/chains/opStack/index.js.map +1 -0
- package/_cjs/chains/opStack/types.js +3 -0
- package/_cjs/chains/opStack/types.js.map +1 -0
- package/_cjs/chains/utils.js +12 -0
- package/_cjs/chains/utils.js.map +1 -0
- package/_cjs/chains/zksync/chainConfig.js +10 -0
- package/_cjs/chains/zksync/chainConfig.js.map +1 -0
- package/_cjs/chains/zksync/formatters.js +128 -0
- package/_cjs/chains/zksync/formatters.js.map +1 -0
- package/_cjs/chains/zksync/index.js +8 -0
- package/_cjs/chains/zksync/index.js.map +1 -0
- package/_cjs/chains/zksync/serializers.js +74 -0
- package/_cjs/chains/zksync/serializers.js.map +1 -0
- package/_cjs/chains/zksync/types.js +3 -0
- package/_cjs/chains/zksync/types.js.map +1 -0
- package/_cjs/clients/createClient.js +42 -0
- package/_cjs/clients/createClient.js.map +1 -0
- package/_cjs/clients/createPublicClient.js +17 -0
- package/_cjs/clients/createPublicClient.js.map +1 -0
- package/_cjs/clients/createTestClient.js +20 -0
- package/_cjs/clients/createTestClient.js.map +1 -0
- package/_cjs/clients/createWalletClient.js +18 -0
- package/_cjs/clients/createWalletClient.js.map +1 -0
- package/_cjs/clients/decorators/public.js +101 -0
- package/_cjs/clients/decorators/public.js.map +1 -0
- package/_cjs/clients/decorators/test.js +74 -0
- package/_cjs/clients/decorators/test.js.map +1 -0
- package/_cjs/clients/decorators/wallet.js +41 -0
- package/_cjs/clients/decorators/wallet.js.map +1 -0
- package/_cjs/clients/transports/createTransport.js +13 -0
- package/_cjs/clients/transports/createTransport.js.map +1 -0
- package/_cjs/clients/transports/custom.js +17 -0
- package/_cjs/clients/transports/custom.js.map +1 -0
- package/_cjs/clients/transports/fallback.js +122 -0
- package/_cjs/clients/transports/fallback.js.map +1 -0
- package/_cjs/clients/transports/http.js +59 -0
- package/_cjs/clients/transports/http.js.map +1 -0
- package/_cjs/clients/transports/webSocket.js +81 -0
- package/_cjs/clients/transports/webSocket.js.map +1 -0
- package/_cjs/constants/abis.js +1350 -0
- package/_cjs/constants/abis.js.map +1 -0
- package/_cjs/constants/address.js +5 -0
- package/_cjs/constants/address.js.map +1 -0
- package/_cjs/constants/bytes.js +5 -0
- package/_cjs/constants/bytes.js.map +1 -0
- package/_cjs/constants/contract.js +5 -0
- package/_cjs/constants/contract.js.map +1 -0
- package/_cjs/constants/contracts.js +5 -0
- package/_cjs/constants/contracts.js.map +1 -0
- package/_cjs/constants/number.js +101 -0
- package/_cjs/constants/number.js.map +1 -0
- package/_cjs/constants/solidity.js +35 -0
- package/_cjs/constants/solidity.js.map +1 -0
- package/_cjs/constants/strings.js +5 -0
- package/_cjs/constants/strings.js.map +1 -0
- package/_cjs/constants/unit.js +16 -0
- package/_cjs/constants/unit.js.map +1 -0
- package/_cjs/ens/index.js +20 -0
- package/_cjs/ens/index.js.map +1 -0
- package/_cjs/errors/abi.js +461 -0
- package/_cjs/errors/abi.js.map +1 -0
- package/_cjs/errors/account.js +23 -0
- package/_cjs/errors/account.js.map +1 -0
- package/_cjs/errors/address.js +17 -0
- package/_cjs/errors/address.js.map +1 -0
- package/_cjs/errors/base.js +83 -0
- package/_cjs/errors/base.js.map +1 -0
- package/_cjs/errors/block.js +22 -0
- package/_cjs/errors/block.js.map +1 -0
- package/_cjs/errors/ccip.js +69 -0
- package/_cjs/errors/ccip.js.map +1 -0
- package/_cjs/errors/chain.js +86 -0
- package/_cjs/errors/chain.js.map +1 -0
- package/_cjs/errors/contract.js +286 -0
- package/_cjs/errors/contract.js.map +1 -0
- package/_cjs/errors/cursor.js +29 -0
- package/_cjs/errors/cursor.js.map +1 -0
- package/_cjs/errors/data.js +31 -0
- package/_cjs/errors/data.js.map +1 -0
- package/_cjs/errors/encoding.js +65 -0
- package/_cjs/errors/encoding.js.map +1 -0
- package/_cjs/errors/ens.js +59 -0
- package/_cjs/errors/ens.js.map +1 -0
- package/_cjs/errors/estimateGas.js +49 -0
- package/_cjs/errors/estimateGas.js.map +1 -0
- package/_cjs/errors/fee.js +42 -0
- package/_cjs/errors/fee.js.map +1 -0
- package/_cjs/errors/log.js +17 -0
- package/_cjs/errors/log.js.map +1 -0
- package/_cjs/errors/node.js +262 -0
- package/_cjs/errors/node.js.map +1 -0
- package/_cjs/errors/request.js +107 -0
- package/_cjs/errors/request.js.map +1 -0
- package/_cjs/errors/rpc.js +448 -0
- package/_cjs/errors/rpc.js.map +1 -0
- package/_cjs/errors/transaction.js +225 -0
- package/_cjs/errors/transaction.js.map +1 -0
- package/_cjs/errors/transport.js +13 -0
- package/_cjs/errors/transport.js.map +1 -0
- package/_cjs/errors/version.js +1 -1
- package/_cjs/index.js +486 -0
- package/_cjs/index.js.map +1 -0
- package/_cjs/types/account.js +3 -0
- package/_cjs/types/account.js.map +1 -0
- package/_cjs/types/block.js +3 -0
- package/_cjs/types/block.js.map +1 -0
- package/_cjs/types/chain.js +3 -0
- package/_cjs/types/chain.js.map +1 -0
- package/_cjs/types/contract.js +3 -0
- package/_cjs/types/contract.js.map +1 -0
- package/_cjs/types/eip1193.js +24 -0
- package/_cjs/types/eip1193.js.map +1 -0
- package/_cjs/types/ens.js +3 -0
- package/_cjs/types/ens.js.map +1 -0
- package/_cjs/types/fee.js +3 -0
- package/_cjs/types/fee.js.map +1 -0
- package/_cjs/types/filter.js +3 -0
- package/_cjs/types/filter.js.map +1 -0
- package/_cjs/types/log.js +3 -0
- package/_cjs/types/log.js.map +1 -0
- package/_cjs/types/misc.js +3 -0
- package/_cjs/types/misc.js.map +1 -0
- package/_cjs/types/multicall.js +3 -0
- package/_cjs/types/multicall.js.map +1 -0
- package/_cjs/types/proof.js +3 -0
- package/_cjs/types/proof.js.map +1 -0
- package/_cjs/types/rpc.js +3 -0
- package/_cjs/types/rpc.js.map +1 -0
- package/_cjs/types/transaction.js +3 -0
- package/_cjs/types/transaction.js.map +1 -0
- package/_cjs/types/transport.js +3 -0
- package/_cjs/types/transport.js.map +1 -0
- package/_cjs/types/typedData.js +3 -0
- package/_cjs/types/typedData.js.map +1 -0
- package/_cjs/types/utils.js +3 -0
- package/_cjs/types/utils.js.map +1 -0
- package/_cjs/types/window.js +3 -0
- package/_cjs/types/window.js.map +1 -0
- package/_cjs/types/withdrawal.js +3 -0
- package/_cjs/types/withdrawal.js.map +1 -0
- package/_cjs/utils/abi/decodeAbiParameters.js +210 -0
- package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -0
- package/_cjs/utils/abi/decodeDeployData.js +22 -0
- package/_cjs/utils/abi/decodeDeployData.js.map +1 -0
- package/_cjs/utils/abi/decodeErrorResult.js +30 -0
- package/_cjs/utils/abi/decodeErrorResult.js.map +1 -0
- package/_cjs/utils/abi/decodeEventLog.js +85 -0
- package/_cjs/utils/abi/decodeEventLog.js.map +1 -0
- package/_cjs/utils/abi/decodeFunctionData.js +28 -0
- package/_cjs/utils/abi/decodeFunctionData.js.map +1 -0
- package/_cjs/utils/abi/decodeFunctionResult.js +29 -0
- package/_cjs/utils/abi/decodeFunctionResult.js.map +1 -0
- package/_cjs/utils/abi/encodeAbiParameters.js +211 -0
- package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -0
- package/_cjs/utils/abi/encodeDeployData.js +23 -0
- package/_cjs/utils/abi/encodeDeployData.js.map +1 -0
- package/_cjs/utils/abi/encodeErrorResult.js +33 -0
- package/_cjs/utils/abi/encodeErrorResult.js.map +1 -0
- package/_cjs/utils/abi/encodeEventTopics.js +53 -0
- package/_cjs/utils/abi/encodeEventTopics.js.map +1 -0
- package/_cjs/utils/abi/encodeFunctionData.js +34 -0
- package/_cjs/utils/abi/encodeFunctionData.js.map +1 -0
- package/_cjs/utils/abi/encodeFunctionResult.js +27 -0
- package/_cjs/utils/abi/encodeFunctionResult.js.map +1 -0
- package/_cjs/utils/abi/encodePacked.js +73 -0
- package/_cjs/utils/abi/encodePacked.js.map +1 -0
- package/_cjs/utils/abi/formatAbiItem.js +27 -0
- package/_cjs/utils/abi/formatAbiItem.js.map +1 -0
- package/_cjs/utils/abi/formatAbiItemWithArgs.js +17 -0
- package/_cjs/utils/abi/formatAbiItemWithArgs.js.map +1 -0
- package/_cjs/utils/abi/getAbiItem.js +84 -0
- package/_cjs/utils/abi/getAbiItem.js.map +1 -0
- package/_cjs/utils/accounts.js +8 -0
- package/_cjs/utils/accounts.js.map +1 -0
- package/_cjs/utils/address/getAddress.js +31 -0
- package/_cjs/utils/address/getAddress.js.map +1 -0
- package/_cjs/utils/address/getContractAddress.js +42 -0
- package/_cjs/utils/address/getContractAddress.js.map +1 -0
- package/_cjs/utils/address/isAddress.js +9 -0
- package/_cjs/utils/address/isAddress.js.map +1 -0
- package/_cjs/utils/address/isAddressEqual.js +14 -0
- package/_cjs/utils/address/isAddressEqual.js.map +1 -0
- package/_cjs/utils/buildRequest.js +93 -0
- package/_cjs/utils/buildRequest.js.map +1 -0
- package/_cjs/utils/ccip.js +121 -0
- package/_cjs/utils/ccip.js.map +1 -0
- package/_cjs/utils/chain/assertCurrentChain.js +12 -0
- package/_cjs/utils/chain/assertCurrentChain.js.map +1 -0
- package/_cjs/utils/chain/defineChain.js +13 -0
- package/_cjs/utils/chain/defineChain.js.map +1 -0
- package/_cjs/utils/chain/extractChain.js +8 -0
- package/_cjs/utils/chain/extractChain.js.map +1 -0
- package/_cjs/utils/chain/getChainContractAddress.js +26 -0
- package/_cjs/utils/chain/getChainContractAddress.js.map +1 -0
- package/_cjs/utils/cursor.js +134 -0
- package/_cjs/utils/cursor.js.map +1 -0
- package/_cjs/utils/data/concat.js +28 -0
- package/_cjs/utils/data/concat.js.map +1 -0
- package/_cjs/utils/data/isBytes.js +14 -0
- package/_cjs/utils/data/isBytes.js.map +1 -0
- package/_cjs/utils/data/isBytesEqual.js +13 -0
- package/_cjs/utils/data/isBytesEqual.js.map +1 -0
- package/_cjs/utils/data/isHex.js +12 -0
- package/_cjs/utils/data/isHex.js.map +1 -0
- package/_cjs/utils/data/pad.js +42 -0
- package/_cjs/utils/data/pad.js.map +1 -0
- package/_cjs/utils/data/size.js +11 -0
- package/_cjs/utils/data/size.js.map +1 -0
- package/_cjs/utils/data/slice.js +54 -0
- package/_cjs/utils/data/slice.js.map +1 -0
- package/_cjs/utils/data/trim.js +25 -0
- package/_cjs/utils/data/trim.js.map +1 -0
- package/_cjs/utils/encoding/fromBytes.js +56 -0
- package/_cjs/utils/encoding/fromBytes.js.map +1 -0
- package/_cjs/utils/encoding/fromHex.js +70 -0
- package/_cjs/utils/encoding/fromHex.js.map +1 -0
- package/_cjs/utils/encoding/fromRlp.js +67 -0
- package/_cjs/utils/encoding/fromRlp.js.map +1 -0
- package/_cjs/utils/encoding/toBytes.js +83 -0
- package/_cjs/utils/encoding/toBytes.js.map +1 -0
- package/_cjs/utils/encoding/toHex.js +79 -0
- package/_cjs/utils/encoding/toHex.js.map +1 -0
- package/_cjs/utils/encoding/toRlp.js +105 -0
- package/_cjs/utils/encoding/toRlp.js.map +1 -0
- package/_cjs/utils/ens/avatar/parseAvatarRecord.js +34 -0
- package/_cjs/utils/ens/avatar/parseAvatarRecord.js.map +1 -0
- package/_cjs/utils/ens/avatar/utils.js +186 -0
- package/_cjs/utils/ens/avatar/utils.js.map +1 -0
- package/_cjs/utils/ens/encodeLabelhash.js +8 -0
- package/_cjs/utils/ens/encodeLabelhash.js.map +1 -0
- package/_cjs/utils/ens/encodedLabelToLabelhash.js +18 -0
- package/_cjs/utils/ens/encodedLabelToLabelhash.js.map +1 -0
- package/_cjs/utils/ens/errors.js +24 -0
- package/_cjs/utils/ens/errors.js.map +1 -0
- package/_cjs/utils/ens/labelhash.js +15 -0
- package/_cjs/utils/ens/labelhash.js.map +1 -0
- package/_cjs/utils/ens/namehash.js +24 -0
- package/_cjs/utils/ens/namehash.js.map +1 -0
- package/_cjs/utils/ens/normalize.js +9 -0
- package/_cjs/utils/ens/normalize.js.map +1 -0
- package/_cjs/utils/ens/packetToBytes.js +27 -0
- package/_cjs/utils/ens/packetToBytes.js.map +1 -0
- package/_cjs/utils/errors/getCallError.js +20 -0
- package/_cjs/utils/errors/getCallError.js.map +1 -0
- package/_cjs/utils/errors/getContractError.js +39 -0
- package/_cjs/utils/errors/getContractError.js.map +1 -0
- package/_cjs/utils/errors/getEstimateGasError.js +20 -0
- package/_cjs/utils/errors/getEstimateGasError.js.map +1 -0
- package/_cjs/utils/errors/getNodeError.js +65 -0
- package/_cjs/utils/errors/getNodeError.js.map +1 -0
- package/_cjs/utils/errors/getTransactionError.js +20 -0
- package/_cjs/utils/errors/getTransactionError.js.map +1 -0
- package/_cjs/utils/filters/createFilterRequestScope.js +14 -0
- package/_cjs/utils/filters/createFilterRequestScope.js.map +1 -0
- package/_cjs/utils/formatters/block.js +32 -0
- package/_cjs/utils/formatters/block.js.map +1 -0
- package/_cjs/utils/formatters/extract.js +24 -0
- package/_cjs/utils/formatters/extract.js.map +1 -0
- package/_cjs/utils/formatters/feeHistory.js +13 -0
- package/_cjs/utils/formatters/feeHistory.js.map +1 -0
- package/_cjs/utils/formatters/formatter.js +25 -0
- package/_cjs/utils/formatters/formatter.js.map +1 -0
- package/_cjs/utils/formatters/log.js +18 -0
- package/_cjs/utils/formatters/log.js.map +1 -0
- package/_cjs/utils/formatters/proof.js +22 -0
- package/_cjs/utils/formatters/proof.js.map +1 -0
- package/_cjs/utils/formatters/transaction.js +66 -0
- package/_cjs/utils/formatters/transaction.js.map +1 -0
- package/_cjs/utils/formatters/transactionReceipt.js +47 -0
- package/_cjs/utils/formatters/transactionReceipt.js.map +1 -0
- package/_cjs/utils/formatters/transactionRequest.js +39 -0
- package/_cjs/utils/formatters/transactionRequest.js.map +1 -0
- package/_cjs/utils/getAction.js +8 -0
- package/_cjs/utils/getAction.js.map +1 -0
- package/_cjs/utils/hash/getEventSelector.js +10 -0
- package/_cjs/utils/hash/getEventSelector.js.map +1 -0
- package/_cjs/utils/hash/getEventSignature.js +9 -0
- package/_cjs/utils/hash/getEventSignature.js.map +1 -0
- package/_cjs/utils/hash/getFunctionSelector.js +11 -0
- package/_cjs/utils/hash/getFunctionSelector.js.map +1 -0
- package/_cjs/utils/hash/getFunctionSignature.js +15 -0
- package/_cjs/utils/hash/getFunctionSignature.js.map +1 -0
- package/_cjs/utils/hash/hashFunction.js +17 -0
- package/_cjs/utils/hash/hashFunction.js.map +1 -0
- package/_cjs/utils/hash/isHash.js +10 -0
- package/_cjs/utils/hash/isHash.js.map +1 -0
- package/_cjs/utils/hash/keccak256.js +16 -0
- package/_cjs/utils/hash/keccak256.js.map +1 -0
- package/_cjs/utils/hash/normalizeSignature.js +48 -0
- package/_cjs/utils/hash/normalizeSignature.js.map +1 -0
- package/_cjs/utils/index.js +213 -0
- package/_cjs/utils/index.js.map +1 -0
- package/_cjs/utils/observe.js +42 -0
- package/_cjs/utils/observe.js.map +1 -0
- package/_cjs/utils/poll.js +27 -0
- package/_cjs/utils/poll.js.map +1 -0
- package/_cjs/utils/promise/createBatchScheduler.js +49 -0
- package/_cjs/utils/promise/createBatchScheduler.js.map +1 -0
- package/_cjs/utils/promise/withCache.js +47 -0
- package/_cjs/utils/promise/withCache.js.map +1 -0
- package/_cjs/utils/promise/withRetry.js +29 -0
- package/_cjs/utils/promise/withRetry.js.map +1 -0
- package/_cjs/utils/promise/withTimeout.js +35 -0
- package/_cjs/utils/promise/withTimeout.js.map +1 -0
- package/_cjs/utils/regex.js +7 -0
- package/_cjs/utils/regex.js.map +1 -0
- package/_cjs/utils/rpc.js +154 -0
- package/_cjs/utils/rpc.js.map +1 -0
- package/_cjs/utils/signature/compactSignatureToHex.js +10 -0
- package/_cjs/utils/signature/compactSignatureToHex.js.map +1 -0
- package/_cjs/utils/signature/compactSignatureToSignature.js +15 -0
- package/_cjs/utils/signature/compactSignatureToSignature.js.map +1 -0
- package/_cjs/utils/signature/hashMessage.js +20 -0
- package/_cjs/utils/signature/hashMessage.js.map +1 -0
- package/_cjs/utils/signature/hashTypedData.js +124 -0
- package/_cjs/utils/signature/hashTypedData.js.map +1 -0
- package/_cjs/utils/signature/hexToCompactSignature.js +14 -0
- package/_cjs/utils/signature/hexToCompactSignature.js.map +1 -0
- package/_cjs/utils/signature/hexToSignature.js +12 -0
- package/_cjs/utils/signature/hexToSignature.js.map +1 -0
- package/_cjs/utils/signature/recoverAddress.js +10 -0
- package/_cjs/utils/signature/recoverAddress.js.map +1 -0
- package/_cjs/utils/signature/recoverMessageAddress.js +10 -0
- package/_cjs/utils/signature/recoverMessageAddress.js.map +1 -0
- package/_cjs/utils/signature/recoverPublicKey.js +21 -0
- package/_cjs/utils/signature/recoverPublicKey.js.map +1 -0
- package/_cjs/utils/signature/recoverTypedDataAddress.js +19 -0
- package/_cjs/utils/signature/recoverTypedDataAddress.js.map +1 -0
- package/_cjs/utils/signature/signatureToCompactSignature.js +17 -0
- package/_cjs/utils/signature/signatureToCompactSignature.js.map +1 -0
- package/_cjs/utils/signature/signatureToHex.js +11 -0
- package/_cjs/utils/signature/signatureToHex.js.map +1 -0
- package/_cjs/utils/signature/verifyMessage.js +11 -0
- package/_cjs/utils/signature/verifyMessage.js.map +1 -0
- package/_cjs/utils/signature/verifyTypedData.js +18 -0
- package/_cjs/utils/signature/verifyTypedData.js.map +1 -0
- package/_cjs/utils/stringify.js +9 -0
- package/_cjs/utils/stringify.js.map +1 -0
- package/_cjs/utils/transaction/assertRequest.js +28 -0
- package/_cjs/utils/transaction/assertRequest.js.map +1 -0
- package/_cjs/utils/transaction/assertTransaction.js +51 -0
- package/_cjs/utils/transaction/assertTransaction.js.map +1 -0
- package/_cjs/utils/transaction/getSerializedTransactionType.js +18 -0
- package/_cjs/utils/transaction/getSerializedTransactionType.js.map +1 -0
- package/_cjs/utils/transaction/getTransactionType.js +19 -0
- package/_cjs/utils/transaction/getTransactionType.js.map +1 -0
- package/_cjs/utils/transaction/parseTransaction.js +213 -0
- package/_cjs/utils/transaction/parseTransaction.js.map +1 -0
- package/_cjs/utils/transaction/serializeAccessList.js +26 -0
- package/_cjs/utils/transaction/serializeAccessList.js.map +1 -0
- package/_cjs/utils/transaction/serializeTransaction.js +123 -0
- package/_cjs/utils/transaction/serializeTransaction.js.map +1 -0
- package/_cjs/utils/typedData.js +75 -0
- package/_cjs/utils/typedData.js.map +1 -0
- package/_cjs/utils/uid.js +18 -0
- package/_cjs/utils/uid.js.map +1 -0
- package/_cjs/utils/unit/formatEther.js +10 -0
- package/_cjs/utils/unit/formatEther.js.map +1 -0
- package/_cjs/utils/unit/formatGwei.js +10 -0
- package/_cjs/utils/unit/formatGwei.js.map +1 -0
- package/_cjs/utils/unit/formatUnits.js +18 -0
- package/_cjs/utils/unit/formatUnits.js.map +1 -0
- package/_cjs/utils/unit/parseEther.js +10 -0
- package/_cjs/utils/unit/parseEther.js.map +1 -0
- package/_cjs/utils/unit/parseGwei.js +10 -0
- package/_cjs/utils/unit/parseGwei.js.map +1 -0
- package/_cjs/utils/unit/parseUnits.js +38 -0
- package/_cjs/utils/unit/parseUnits.js.map +1 -0
- package/_cjs/utils/wait.js +8 -0
- package/_cjs/utils/wait.js.map +1 -0
- package/_cjs/window/index.js +4 -0
- package/_cjs/window/index.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/loadState.js +27 -0
- package/_esm/actions/test/loadState.js.map +1 -0
- package/_esm/chains/celo/formatters.js.map +1 -1
- package/_esm/chains/definitions/chiliz.js +23 -0
- package/_esm/chains/definitions/chiliz.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/spicy.js +31 -0
- package/_esm/chains/definitions/spicy.js.map +1 -0
- package/_esm/chains/index.js +3 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/chains/opStack/decorators/public.js +1 -1
- package/_esm/chains/opStack/decorators/public.js.map +1 -1
- package/_esm/chains/opStack/index.js +1 -1
- package/_esm/chains/opStack/index.js.map +1 -1
- package/_esm/clients/decorators/test.js +4 -0
- package/_esm/clients/decorators/test.js.map +1 -1
- package/_esm/constants/bytes.js +2 -0
- package/_esm/constants/bytes.js.map +1 -0
- package/_esm/constants/strings.js +2 -0
- package/_esm/constants/strings.js.map +1 -0
- package/_esm/errors/version.js +1 -1
- package/_esm/index.js +2 -0
- package/_esm/index.js.map +1 -1
- package/_esm/utils/formatters/transaction.js +19 -1
- package/_esm/utils/formatters/transaction.js.map +1 -1
- package/_esm/utils/signature/hashMessage.js +2 -1
- package/_esm/utils/signature/hashMessage.js.map +1 -1
- package/_esm/utils/transaction/serializeTransaction.js +20 -6
- package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
- package/_types/actions/test/dumpState.d.ts +31 -0
- package/_types/actions/test/dumpState.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/chains/celo/chainConfig.d.ts +193 -163
- package/_types/chains/celo/chainConfig.d.ts.map +1 -1
- package/_types/chains/celo/formatters.d.ts +193 -163
- package/_types/chains/celo/formatters.d.ts.map +1 -1
- package/_types/chains/celo/types.d.ts +2 -0
- package/_types/chains/celo/types.d.ts.map +1 -1
- package/_types/chains/definitions/base.d.ts +149 -131
- package/_types/chains/definitions/base.d.ts.map +1 -1
- package/_types/chains/definitions/baseGoerli.d.ts +149 -131
- package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/baseSepolia.d.ts +149 -131
- package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/celo.d.ts +193 -163
- package/_types/chains/definitions/celo.d.ts.map +1 -1
- package/_types/chains/definitions/celoAlfajores.d.ts +193 -163
- package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
- package/_types/chains/definitions/celoCannoli.d.ts +193 -163
- package/_types/chains/definitions/celoCannoli.d.ts.map +1 -1
- package/_types/chains/definitions/chiliz.d.ts +35 -0
- package/_types/chains/definitions/chiliz.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/optimism.d.ts +149 -131
- package/_types/chains/definitions/optimism.d.ts.map +1 -1
- package/_types/chains/definitions/optimismGoerli.d.ts +149 -131
- package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/optimismSepolia.d.ts +149 -131
- package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/spicy.d.ts +36 -0
- package/_types/chains/definitions/spicy.d.ts.map +1 -0
- package/_types/chains/definitions/zkSync.d.ts +11 -0
- package/_types/chains/definitions/zkSync.d.ts.map +1 -1
- package/_types/chains/definitions/zkSyncTestnet.d.ts +11 -0
- package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zora.d.ts +149 -131
- package/_types/chains/definitions/zora.d.ts.map +1 -1
- package/_types/chains/definitions/zoraSepolia.d.ts +149 -131
- package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/zoraTestnet.d.ts +149 -131
- package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
- package/_types/chains/index.d.ts +5 -1
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/chains/opStack/chainConfig.d.ts +145 -127
- package/_types/chains/opStack/chainConfig.d.ts.map +1 -1
- package/_types/chains/opStack/decorators/public.d.ts +18 -18
- package/_types/chains/opStack/decorators/public.d.ts.map +1 -1
- package/_types/chains/opStack/formatters.d.ts +145 -127
- package/_types/chains/opStack/formatters.d.ts.map +1 -1
- package/_types/chains/opStack/index.d.ts +1 -1
- package/_types/chains/opStack/index.d.ts.map +1 -1
- package/_types/chains/zksync/chainConfig.d.ts +11 -0
- package/_types/chains/zksync/chainConfig.d.ts.map +1 -1
- package/_types/chains/zksync/formatters.d.ts +11 -0
- package/_types/chains/zksync/formatters.d.ts.map +1 -1
- package/_types/clients/decorators/test.d.ts +41 -0
- package/_types/clients/decorators/test.d.ts.map +1 -1
- package/_types/constants/bytes.d.ts +2 -0
- package/_types/constants/bytes.d.ts.map +1 -0
- package/_types/constants/strings.d.ts +2 -0
- package/_types/constants/strings.d.ts.map +1 -0
- package/_types/errors/version.d.ts +1 -1
- package/_types/index.d.ts +2 -0
- package/_types/index.d.ts.map +1 -1
- package/_types/types/eip1193.d.ts +16 -0
- package/_types/types/eip1193.d.ts.map +1 -1
- package/_types/types/rpc.d.ts +2 -2
- package/_types/types/rpc.d.ts.map +1 -1
- package/_types/types/transaction.d.ts +10 -1
- package/_types/types/transaction.d.ts.map +1 -1
- package/_types/types/utils.d.ts +16 -0
- package/_types/types/utils.d.ts.map +1 -1
- package/_types/utils/formatters/transaction.d.ts +1 -1
- package/_types/utils/formatters/transaction.d.ts.map +1 -1
- package/_types/utils/formatters/transactionRequest.d.ts +1 -1
- package/_types/utils/signature/hashMessage.d.ts.map +1 -1
- package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -1
- package/actions/test/dumpState.ts +44 -0
- package/actions/test/loadState.ts +47 -0
- package/chains/celo/formatters.ts +0 -1
- package/chains/celo/types.ts +2 -0
- package/chains/definitions/chiliz.ts +23 -0
- package/chains/definitions/lukso.ts +28 -0
- package/chains/definitions/spicy.ts +31 -0
- package/chains/index.ts +21 -3
- package/chains/opStack/decorators/public.ts +19 -19
- package/chains/opStack/index.ts +1 -1
- package/clients/decorators/test.ts +50 -0
- package/constants/bytes.ts +2 -0
- package/constants/strings.ts +1 -0
- package/errors/version.ts +1 -1
- package/index.ts +2 -0
- package/package.json +34 -11
- package/types/eip1193.ts +16 -0
- package/types/rpc.ts +10 -5
- package/types/transaction.ts +10 -1
- package/types/utils.ts +20 -0
- package/utils/formatters/transaction.ts +20 -3
- package/utils/signature/hashMessage.ts +2 -1
- package/utils/transaction/serializeTransaction.ts +18 -12
@@ -0,0 +1,325 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.flare = exports.filecoinHyperspace = exports.filecoinCalibration = exports.filecoin = exports.fibo = exports.fantomTestnet = exports.fantom = exports.ektaTestnet = exports.ekta = exports.evmosTestnet = exports.evmos = exports.eosTestnet = exports.eos = exports.edgewareTestnet = exports.edgeware = exports.dogechain = exports.dfk = exports.crossbell = exports.cronosTestnet = exports.cronos = exports.coreDao = exports.confluxESpace = exports.classic = exports.celoCannoli = exports.chiliz = exports.celoAlfajores = exports.celo = exports.canto = exports.bxnTestnet = exports.bxn = exports.bscTestnet = exports.bsc = exports.bronosTestnet = exports.bronos = exports.boba = exports.bearNetworkChainTestnet = exports.bearNetworkChainMainnet = exports.baseSepolia = exports.baseGoerli = exports.base = exports.avalancheFuji = exports.avalanche = exports.auroraTestnet = exports.aurora = exports.astarZkatana = exports.arbitrumSepolia = exports.astar = exports.arbitrumNova = exports.arbitrumGoerli = exports.arbitrum = void 0;
|
4
|
+
exports.opBNB = exports.optimismSepolia = exports.optimismGoerli = exports.optimism = exports.okc = exports.oasys = exports.nexilix = exports.nexi = exports.neonMainnet = exports.neonDevnet = exports.moonriver = exports.moonbeamDev = exports.moonbeam = exports.moonbaseAlpha = exports.modeTestnet = exports.mevTestnet = exports.mev = exports.metisGoerli = exports.metis = exports.meterTestnet = exports.meter = exports.mantleTestnet = exports.mantle = exports.mantaTestnet = exports.manta = exports.mainnet = exports.lukso = exports.localhost = exports.lineaTestnet = exports.linea = exports.kromaSepolia = exports.kroma = exports.klaytn = exports.kavaTestnet = exports.kava = exports.holesky = exports.haqqTestedge2 = exports.haqqMainnet = exports.harmonyOne = exports.hardhat = exports.gnosisChiado = exports.gnosis = exports.goerli = exports.gobi = exports.iotexTestnet = exports.iotex = exports.fuseSparknet = exports.fuse = exports.foundry = exports.flareTestnet = void 0;
|
5
|
+
exports.wanchainTestnet = exports.wanchain = exports.vechain = exports.thunderTestnet = exports.tenet = exports.telosTestnet = exports.telos = exports.taraxaTestnet = exports.taikoTestnetSepolia = exports.taikoJolnir = exports.taraxa = exports.syscoinTestnet = exports.syscoin = exports.shardeumSphinx = exports.spicy = exports.songbirdTestnet = exports.songbird = exports.skaleTitanTestnet = exports.skaleTitan = exports.skaleRazor = exports.skaleNebulaTestnet = exports.skaleNebula = exports.skaleHumanProtocol = exports.skaleExorde = exports.skaleEuropaTestnet = exports.skaleEuropa = exports.skaleCryptoColosseum = exports.skaleCryptoBlades = exports.skaleChaosTestnet = exports.skaleCalypsoTestnet = exports.skaleCalypso = exports.skaleBlockBrawlers = exports.sepolia = exports.scrollTestnet = exports.scrollSepolia = exports.scroll = exports.saigon = exports.ronin = exports.rolluxTestnet = exports.rollux = exports.qTestnet = exports.qMainnet = exports.pulsechainV4 = exports.pulsechain = exports.polygonZkEvm = exports.polygonZkEvmTestnet = exports.polygonMumbai = exports.polygon = exports.plinga = exports.opBNBTestnet = void 0;
|
6
|
+
exports.zoraTestnet = exports.zoraSepolia = exports.zora = exports.zetachainAthensTestnet = exports.zkSyncTestnet = exports.zkSync = exports.zhejiang = exports.xdcTestnet = exports.xdc = void 0;
|
7
|
+
var arbitrum_js_1 = require("./definitions/arbitrum.js");
|
8
|
+
Object.defineProperty(exports, "arbitrum", { enumerable: true, get: function () { return arbitrum_js_1.arbitrum; } });
|
9
|
+
var arbitrumGoerli_js_1 = require("./definitions/arbitrumGoerli.js");
|
10
|
+
Object.defineProperty(exports, "arbitrumGoerli", { enumerable: true, get: function () { return arbitrumGoerli_js_1.arbitrumGoerli; } });
|
11
|
+
var arbitrumNova_js_1 = require("./definitions/arbitrumNova.js");
|
12
|
+
Object.defineProperty(exports, "arbitrumNova", { enumerable: true, get: function () { return arbitrumNova_js_1.arbitrumNova; } });
|
13
|
+
var astar_js_1 = require("./definitions/astar.js");
|
14
|
+
Object.defineProperty(exports, "astar", { enumerable: true, get: function () { return astar_js_1.astar; } });
|
15
|
+
var arbitrumSepolia_js_1 = require("./definitions/arbitrumSepolia.js");
|
16
|
+
Object.defineProperty(exports, "arbitrumSepolia", { enumerable: true, get: function () { return arbitrumSepolia_js_1.arbitrumSepolia; } });
|
17
|
+
var astarZkatana_js_1 = require("./definitions/astarZkatana.js");
|
18
|
+
Object.defineProperty(exports, "astarZkatana", { enumerable: true, get: function () { return astarZkatana_js_1.astarZkatana; } });
|
19
|
+
var aurora_js_1 = require("./definitions/aurora.js");
|
20
|
+
Object.defineProperty(exports, "aurora", { enumerable: true, get: function () { return aurora_js_1.aurora; } });
|
21
|
+
var auroraTestnet_js_1 = require("./definitions/auroraTestnet.js");
|
22
|
+
Object.defineProperty(exports, "auroraTestnet", { enumerable: true, get: function () { return auroraTestnet_js_1.auroraTestnet; } });
|
23
|
+
var avalanche_js_1 = require("./definitions/avalanche.js");
|
24
|
+
Object.defineProperty(exports, "avalanche", { enumerable: true, get: function () { return avalanche_js_1.avalanche; } });
|
25
|
+
var avalancheFuji_js_1 = require("./definitions/avalancheFuji.js");
|
26
|
+
Object.defineProperty(exports, "avalancheFuji", { enumerable: true, get: function () { return avalancheFuji_js_1.avalancheFuji; } });
|
27
|
+
var base_js_1 = require("./definitions/base.js");
|
28
|
+
Object.defineProperty(exports, "base", { enumerable: true, get: function () { return base_js_1.base; } });
|
29
|
+
var baseGoerli_js_1 = require("./definitions/baseGoerli.js");
|
30
|
+
Object.defineProperty(exports, "baseGoerli", { enumerable: true, get: function () { return baseGoerli_js_1.baseGoerli; } });
|
31
|
+
var baseSepolia_js_1 = require("./definitions/baseSepolia.js");
|
32
|
+
Object.defineProperty(exports, "baseSepolia", { enumerable: true, get: function () { return baseSepolia_js_1.baseSepolia; } });
|
33
|
+
var bearNetworkChainMainnet_js_1 = require("./definitions/bearNetworkChainMainnet.js");
|
34
|
+
Object.defineProperty(exports, "bearNetworkChainMainnet", { enumerable: true, get: function () { return bearNetworkChainMainnet_js_1.bearNetworkChainMainnet; } });
|
35
|
+
var bearNetworkChainTestnet_js_1 = require("./definitions/bearNetworkChainTestnet.js");
|
36
|
+
Object.defineProperty(exports, "bearNetworkChainTestnet", { enumerable: true, get: function () { return bearNetworkChainTestnet_js_1.bearNetworkChainTestnet; } });
|
37
|
+
var boba_js_1 = require("./definitions/boba.js");
|
38
|
+
Object.defineProperty(exports, "boba", { enumerable: true, get: function () { return boba_js_1.boba; } });
|
39
|
+
var bronos_js_1 = require("./definitions/bronos.js");
|
40
|
+
Object.defineProperty(exports, "bronos", { enumerable: true, get: function () { return bronos_js_1.bronos; } });
|
41
|
+
var bronosTestnet_js_1 = require("./definitions/bronosTestnet.js");
|
42
|
+
Object.defineProperty(exports, "bronosTestnet", { enumerable: true, get: function () { return bronosTestnet_js_1.bronosTestnet; } });
|
43
|
+
var bsc_js_1 = require("./definitions/bsc.js");
|
44
|
+
Object.defineProperty(exports, "bsc", { enumerable: true, get: function () { return bsc_js_1.bsc; } });
|
45
|
+
var bscTestnet_js_1 = require("./definitions/bscTestnet.js");
|
46
|
+
Object.defineProperty(exports, "bscTestnet", { enumerable: true, get: function () { return bscTestnet_js_1.bscTestnet; } });
|
47
|
+
var bxn_js_1 = require("./definitions/bxn.js");
|
48
|
+
Object.defineProperty(exports, "bxn", { enumerable: true, get: function () { return bxn_js_1.bxn; } });
|
49
|
+
var bxnTestnet_js_1 = require("./definitions/bxnTestnet.js");
|
50
|
+
Object.defineProperty(exports, "bxnTestnet", { enumerable: true, get: function () { return bxnTestnet_js_1.bxnTestnet; } });
|
51
|
+
var canto_js_1 = require("./definitions/canto.js");
|
52
|
+
Object.defineProperty(exports, "canto", { enumerable: true, get: function () { return canto_js_1.canto; } });
|
53
|
+
var celo_js_1 = require("./definitions/celo.js");
|
54
|
+
Object.defineProperty(exports, "celo", { enumerable: true, get: function () { return celo_js_1.celo; } });
|
55
|
+
var celoAlfajores_js_1 = require("./definitions/celoAlfajores.js");
|
56
|
+
Object.defineProperty(exports, "celoAlfajores", { enumerable: true, get: function () { return celoAlfajores_js_1.celoAlfajores; } });
|
57
|
+
var chiliz_js_1 = require("./definitions/chiliz.js");
|
58
|
+
Object.defineProperty(exports, "chiliz", { enumerable: true, get: function () { return chiliz_js_1.chiliz; } });
|
59
|
+
var celoCannoli_js_1 = require("./definitions/celoCannoli.js");
|
60
|
+
Object.defineProperty(exports, "celoCannoli", { enumerable: true, get: function () { return celoCannoli_js_1.celoCannoli; } });
|
61
|
+
var classic_js_1 = require("./definitions/classic.js");
|
62
|
+
Object.defineProperty(exports, "classic", { enumerable: true, get: function () { return classic_js_1.classic; } });
|
63
|
+
var confluxESpace_js_1 = require("./definitions/confluxESpace.js");
|
64
|
+
Object.defineProperty(exports, "confluxESpace", { enumerable: true, get: function () { return confluxESpace_js_1.confluxESpace; } });
|
65
|
+
var coreDao_js_1 = require("./definitions/coreDao.js");
|
66
|
+
Object.defineProperty(exports, "coreDao", { enumerable: true, get: function () { return coreDao_js_1.coreDao; } });
|
67
|
+
var cronos_js_1 = require("./definitions/cronos.js");
|
68
|
+
Object.defineProperty(exports, "cronos", { enumerable: true, get: function () { return cronos_js_1.cronos; } });
|
69
|
+
var cronosTestnet_js_1 = require("./definitions/cronosTestnet.js");
|
70
|
+
Object.defineProperty(exports, "cronosTestnet", { enumerable: true, get: function () { return cronosTestnet_js_1.cronosTestnet; } });
|
71
|
+
var crossbell_js_1 = require("./definitions/crossbell.js");
|
72
|
+
Object.defineProperty(exports, "crossbell", { enumerable: true, get: function () { return crossbell_js_1.crossbell; } });
|
73
|
+
var dfk_js_1 = require("./definitions/dfk.js");
|
74
|
+
Object.defineProperty(exports, "dfk", { enumerable: true, get: function () { return dfk_js_1.dfk; } });
|
75
|
+
var dogechain_js_1 = require("./definitions/dogechain.js");
|
76
|
+
Object.defineProperty(exports, "dogechain", { enumerable: true, get: function () { return dogechain_js_1.dogechain; } });
|
77
|
+
var edgeware_js_1 = require("./definitions/edgeware.js");
|
78
|
+
Object.defineProperty(exports, "edgeware", { enumerable: true, get: function () { return edgeware_js_1.edgeware; } });
|
79
|
+
var edgewareTestnet_js_1 = require("./definitions/edgewareTestnet.js");
|
80
|
+
Object.defineProperty(exports, "edgewareTestnet", { enumerable: true, get: function () { return edgewareTestnet_js_1.edgewareTestnet; } });
|
81
|
+
var eos_js_1 = require("./definitions/eos.js");
|
82
|
+
Object.defineProperty(exports, "eos", { enumerable: true, get: function () { return eos_js_1.eos; } });
|
83
|
+
var eosTestnet_js_1 = require("./definitions/eosTestnet.js");
|
84
|
+
Object.defineProperty(exports, "eosTestnet", { enumerable: true, get: function () { return eosTestnet_js_1.eosTestnet; } });
|
85
|
+
var evmos_js_1 = require("./definitions/evmos.js");
|
86
|
+
Object.defineProperty(exports, "evmos", { enumerable: true, get: function () { return evmos_js_1.evmos; } });
|
87
|
+
var evmosTestnet_js_1 = require("./definitions/evmosTestnet.js");
|
88
|
+
Object.defineProperty(exports, "evmosTestnet", { enumerable: true, get: function () { return evmosTestnet_js_1.evmosTestnet; } });
|
89
|
+
var ekta_js_1 = require("./definitions/ekta.js");
|
90
|
+
Object.defineProperty(exports, "ekta", { enumerable: true, get: function () { return ekta_js_1.ekta; } });
|
91
|
+
var ektaTestnet_js_1 = require("./definitions/ektaTestnet.js");
|
92
|
+
Object.defineProperty(exports, "ektaTestnet", { enumerable: true, get: function () { return ektaTestnet_js_1.ektaTestnet; } });
|
93
|
+
var fantom_js_1 = require("./definitions/fantom.js");
|
94
|
+
Object.defineProperty(exports, "fantom", { enumerable: true, get: function () { return fantom_js_1.fantom; } });
|
95
|
+
var fantomTestnet_js_1 = require("./definitions/fantomTestnet.js");
|
96
|
+
Object.defineProperty(exports, "fantomTestnet", { enumerable: true, get: function () { return fantomTestnet_js_1.fantomTestnet; } });
|
97
|
+
var fibo_js_1 = require("./definitions/fibo.js");
|
98
|
+
Object.defineProperty(exports, "fibo", { enumerable: true, get: function () { return fibo_js_1.fibo; } });
|
99
|
+
var filecoin_js_1 = require("./definitions/filecoin.js");
|
100
|
+
Object.defineProperty(exports, "filecoin", { enumerable: true, get: function () { return filecoin_js_1.filecoin; } });
|
101
|
+
var filecoinCalibration_js_1 = require("./definitions/filecoinCalibration.js");
|
102
|
+
Object.defineProperty(exports, "filecoinCalibration", { enumerable: true, get: function () { return filecoinCalibration_js_1.filecoinCalibration; } });
|
103
|
+
var filecoinHyperspace_js_1 = require("./definitions/filecoinHyperspace.js");
|
104
|
+
Object.defineProperty(exports, "filecoinHyperspace", { enumerable: true, get: function () { return filecoinHyperspace_js_1.filecoinHyperspace; } });
|
105
|
+
var flare_js_1 = require("./definitions/flare.js");
|
106
|
+
Object.defineProperty(exports, "flare", { enumerable: true, get: function () { return flare_js_1.flare; } });
|
107
|
+
var flareTestnet_js_1 = require("./definitions/flareTestnet.js");
|
108
|
+
Object.defineProperty(exports, "flareTestnet", { enumerable: true, get: function () { return flareTestnet_js_1.flareTestnet; } });
|
109
|
+
var foundry_js_1 = require("./definitions/foundry.js");
|
110
|
+
Object.defineProperty(exports, "foundry", { enumerable: true, get: function () { return foundry_js_1.foundry; } });
|
111
|
+
var fuse_js_1 = require("./definitions/fuse.js");
|
112
|
+
Object.defineProperty(exports, "fuse", { enumerable: true, get: function () { return fuse_js_1.fuse; } });
|
113
|
+
var fuseSparknet_js_1 = require("./definitions/fuseSparknet.js");
|
114
|
+
Object.defineProperty(exports, "fuseSparknet", { enumerable: true, get: function () { return fuseSparknet_js_1.fuseSparknet; } });
|
115
|
+
var iotex_js_1 = require("./definitions/iotex.js");
|
116
|
+
Object.defineProperty(exports, "iotex", { enumerable: true, get: function () { return iotex_js_1.iotex; } });
|
117
|
+
var iotexTestnet_js_1 = require("./definitions/iotexTestnet.js");
|
118
|
+
Object.defineProperty(exports, "iotexTestnet", { enumerable: true, get: function () { return iotexTestnet_js_1.iotexTestnet; } });
|
119
|
+
var gobi_js_1 = require("./definitions/gobi.js");
|
120
|
+
Object.defineProperty(exports, "gobi", { enumerable: true, get: function () { return gobi_js_1.gobi; } });
|
121
|
+
var goerli_js_1 = require("./definitions/goerli.js");
|
122
|
+
Object.defineProperty(exports, "goerli", { enumerable: true, get: function () { return goerli_js_1.goerli; } });
|
123
|
+
var gnosis_js_1 = require("./definitions/gnosis.js");
|
124
|
+
Object.defineProperty(exports, "gnosis", { enumerable: true, get: function () { return gnosis_js_1.gnosis; } });
|
125
|
+
var gnosisChiado_js_1 = require("./definitions/gnosisChiado.js");
|
126
|
+
Object.defineProperty(exports, "gnosisChiado", { enumerable: true, get: function () { return gnosisChiado_js_1.gnosisChiado; } });
|
127
|
+
var hardhat_js_1 = require("./definitions/hardhat.js");
|
128
|
+
Object.defineProperty(exports, "hardhat", { enumerable: true, get: function () { return hardhat_js_1.hardhat; } });
|
129
|
+
var harmonyOne_js_1 = require("./definitions/harmonyOne.js");
|
130
|
+
Object.defineProperty(exports, "harmonyOne", { enumerable: true, get: function () { return harmonyOne_js_1.harmonyOne; } });
|
131
|
+
var haqqMainnet_js_1 = require("./definitions/haqqMainnet.js");
|
132
|
+
Object.defineProperty(exports, "haqqMainnet", { enumerable: true, get: function () { return haqqMainnet_js_1.haqqMainnet; } });
|
133
|
+
var haqqTestedge2_js_1 = require("./definitions/haqqTestedge2.js");
|
134
|
+
Object.defineProperty(exports, "haqqTestedge2", { enumerable: true, get: function () { return haqqTestedge2_js_1.haqqTestedge2; } });
|
135
|
+
var holesky_js_1 = require("./definitions/holesky.js");
|
136
|
+
Object.defineProperty(exports, "holesky", { enumerable: true, get: function () { return holesky_js_1.holesky; } });
|
137
|
+
var kava_js_1 = require("./definitions/kava.js");
|
138
|
+
Object.defineProperty(exports, "kava", { enumerable: true, get: function () { return kava_js_1.kava; } });
|
139
|
+
var kavaTestnet_js_1 = require("./definitions/kavaTestnet.js");
|
140
|
+
Object.defineProperty(exports, "kavaTestnet", { enumerable: true, get: function () { return kavaTestnet_js_1.kavaTestnet; } });
|
141
|
+
var klaytn_js_1 = require("./definitions/klaytn.js");
|
142
|
+
Object.defineProperty(exports, "klaytn", { enumerable: true, get: function () { return klaytn_js_1.klaytn; } });
|
143
|
+
var kroma_js_1 = require("./definitions/kroma.js");
|
144
|
+
Object.defineProperty(exports, "kroma", { enumerable: true, get: function () { return kroma_js_1.kroma; } });
|
145
|
+
var kromaSepolia_js_1 = require("./definitions/kromaSepolia.js");
|
146
|
+
Object.defineProperty(exports, "kromaSepolia", { enumerable: true, get: function () { return kromaSepolia_js_1.kromaSepolia; } });
|
147
|
+
var linea_js_1 = require("./definitions/linea.js");
|
148
|
+
Object.defineProperty(exports, "linea", { enumerable: true, get: function () { return linea_js_1.linea; } });
|
149
|
+
var lineaTestnet_js_1 = require("./definitions/lineaTestnet.js");
|
150
|
+
Object.defineProperty(exports, "lineaTestnet", { enumerable: true, get: function () { return lineaTestnet_js_1.lineaTestnet; } });
|
151
|
+
var localhost_js_1 = require("./definitions/localhost.js");
|
152
|
+
Object.defineProperty(exports, "localhost", { enumerable: true, get: function () { return localhost_js_1.localhost; } });
|
153
|
+
var lukso_js_1 = require("./definitions/lukso.js");
|
154
|
+
Object.defineProperty(exports, "lukso", { enumerable: true, get: function () { return lukso_js_1.lukso; } });
|
155
|
+
var mainnet_js_1 = require("./definitions/mainnet.js");
|
156
|
+
Object.defineProperty(exports, "mainnet", { enumerable: true, get: function () { return mainnet_js_1.mainnet; } });
|
157
|
+
var manta_js_1 = require("./definitions/manta.js");
|
158
|
+
Object.defineProperty(exports, "manta", { enumerable: true, get: function () { return manta_js_1.manta; } });
|
159
|
+
var mantaTestnet_js_1 = require("./definitions/mantaTestnet.js");
|
160
|
+
Object.defineProperty(exports, "mantaTestnet", { enumerable: true, get: function () { return mantaTestnet_js_1.mantaTestnet; } });
|
161
|
+
var mantle_js_1 = require("./definitions/mantle.js");
|
162
|
+
Object.defineProperty(exports, "mantle", { enumerable: true, get: function () { return mantle_js_1.mantle; } });
|
163
|
+
var mantleTestnet_js_1 = require("./definitions/mantleTestnet.js");
|
164
|
+
Object.defineProperty(exports, "mantleTestnet", { enumerable: true, get: function () { return mantleTestnet_js_1.mantleTestnet; } });
|
165
|
+
var meter_js_1 = require("./definitions/meter.js");
|
166
|
+
Object.defineProperty(exports, "meter", { enumerable: true, get: function () { return meter_js_1.meter; } });
|
167
|
+
var meterTestnet_js_1 = require("./definitions/meterTestnet.js");
|
168
|
+
Object.defineProperty(exports, "meterTestnet", { enumerable: true, get: function () { return meterTestnet_js_1.meterTestnet; } });
|
169
|
+
var metis_js_1 = require("./definitions/metis.js");
|
170
|
+
Object.defineProperty(exports, "metis", { enumerable: true, get: function () { return metis_js_1.metis; } });
|
171
|
+
var metisGoerli_js_1 = require("./definitions/metisGoerli.js");
|
172
|
+
Object.defineProperty(exports, "metisGoerli", { enumerable: true, get: function () { return metisGoerli_js_1.metisGoerli; } });
|
173
|
+
var mev_js_1 = require("./definitions/mev.js");
|
174
|
+
Object.defineProperty(exports, "mev", { enumerable: true, get: function () { return mev_js_1.mev; } });
|
175
|
+
var mevTestnet_js_1 = require("./definitions/mevTestnet.js");
|
176
|
+
Object.defineProperty(exports, "mevTestnet", { enumerable: true, get: function () { return mevTestnet_js_1.mevTestnet; } });
|
177
|
+
var modeTestnet_js_1 = require("./definitions/modeTestnet.js");
|
178
|
+
Object.defineProperty(exports, "modeTestnet", { enumerable: true, get: function () { return modeTestnet_js_1.modeTestnet; } });
|
179
|
+
var moonbaseAlpha_js_1 = require("./definitions/moonbaseAlpha.js");
|
180
|
+
Object.defineProperty(exports, "moonbaseAlpha", { enumerable: true, get: function () { return moonbaseAlpha_js_1.moonbaseAlpha; } });
|
181
|
+
var moonbeam_js_1 = require("./definitions/moonbeam.js");
|
182
|
+
Object.defineProperty(exports, "moonbeam", { enumerable: true, get: function () { return moonbeam_js_1.moonbeam; } });
|
183
|
+
var moonbeamDev_js_1 = require("./definitions/moonbeamDev.js");
|
184
|
+
Object.defineProperty(exports, "moonbeamDev", { enumerable: true, get: function () { return moonbeamDev_js_1.moonbeamDev; } });
|
185
|
+
var moonriver_js_1 = require("./definitions/moonriver.js");
|
186
|
+
Object.defineProperty(exports, "moonriver", { enumerable: true, get: function () { return moonriver_js_1.moonriver; } });
|
187
|
+
var neonDevnet_js_1 = require("./definitions/neonDevnet.js");
|
188
|
+
Object.defineProperty(exports, "neonDevnet", { enumerable: true, get: function () { return neonDevnet_js_1.neonDevnet; } });
|
189
|
+
var neonMainnet_js_1 = require("./definitions/neonMainnet.js");
|
190
|
+
Object.defineProperty(exports, "neonMainnet", { enumerable: true, get: function () { return neonMainnet_js_1.neonMainnet; } });
|
191
|
+
var nexi_js_1 = require("./definitions/nexi.js");
|
192
|
+
Object.defineProperty(exports, "nexi", { enumerable: true, get: function () { return nexi_js_1.nexi; } });
|
193
|
+
var nexilix_js_1 = require("./definitions/nexilix.js");
|
194
|
+
Object.defineProperty(exports, "nexilix", { enumerable: true, get: function () { return nexilix_js_1.nexilix; } });
|
195
|
+
var oasys_js_1 = require("./definitions/oasys.js");
|
196
|
+
Object.defineProperty(exports, "oasys", { enumerable: true, get: function () { return oasys_js_1.oasys; } });
|
197
|
+
var okc_js_1 = require("./definitions/okc.js");
|
198
|
+
Object.defineProperty(exports, "okc", { enumerable: true, get: function () { return okc_js_1.okc; } });
|
199
|
+
var optimism_js_1 = require("./definitions/optimism.js");
|
200
|
+
Object.defineProperty(exports, "optimism", { enumerable: true, get: function () { return optimism_js_1.optimism; } });
|
201
|
+
var optimismGoerli_js_1 = require("./definitions/optimismGoerli.js");
|
202
|
+
Object.defineProperty(exports, "optimismGoerli", { enumerable: true, get: function () { return optimismGoerli_js_1.optimismGoerli; } });
|
203
|
+
var optimismSepolia_js_1 = require("./definitions/optimismSepolia.js");
|
204
|
+
Object.defineProperty(exports, "optimismSepolia", { enumerable: true, get: function () { return optimismSepolia_js_1.optimismSepolia; } });
|
205
|
+
var opBNB_js_1 = require("./definitions/opBNB.js");
|
206
|
+
Object.defineProperty(exports, "opBNB", { enumerable: true, get: function () { return opBNB_js_1.opBNB; } });
|
207
|
+
var opBNBTestnet_js_1 = require("./definitions/opBNBTestnet.js");
|
208
|
+
Object.defineProperty(exports, "opBNBTestnet", { enumerable: true, get: function () { return opBNBTestnet_js_1.opBNBTestnet; } });
|
209
|
+
var plinga_js_1 = require("./definitions/plinga.js");
|
210
|
+
Object.defineProperty(exports, "plinga", { enumerable: true, get: function () { return plinga_js_1.plinga; } });
|
211
|
+
var polygon_js_1 = require("./definitions/polygon.js");
|
212
|
+
Object.defineProperty(exports, "polygon", { enumerable: true, get: function () { return polygon_js_1.polygon; } });
|
213
|
+
var polygonMumbai_js_1 = require("./definitions/polygonMumbai.js");
|
214
|
+
Object.defineProperty(exports, "polygonMumbai", { enumerable: true, get: function () { return polygonMumbai_js_1.polygonMumbai; } });
|
215
|
+
var polygonZkEvmTestnet_js_1 = require("./definitions/polygonZkEvmTestnet.js");
|
216
|
+
Object.defineProperty(exports, "polygonZkEvmTestnet", { enumerable: true, get: function () { return polygonZkEvmTestnet_js_1.polygonZkEvmTestnet; } });
|
217
|
+
var polygonZkEvm_js_1 = require("./definitions/polygonZkEvm.js");
|
218
|
+
Object.defineProperty(exports, "polygonZkEvm", { enumerable: true, get: function () { return polygonZkEvm_js_1.polygonZkEvm; } });
|
219
|
+
var pulsechain_js_1 = require("./definitions/pulsechain.js");
|
220
|
+
Object.defineProperty(exports, "pulsechain", { enumerable: true, get: function () { return pulsechain_js_1.pulsechain; } });
|
221
|
+
var pulsechainV4_js_1 = require("./definitions/pulsechainV4.js");
|
222
|
+
Object.defineProperty(exports, "pulsechainV4", { enumerable: true, get: function () { return pulsechainV4_js_1.pulsechainV4; } });
|
223
|
+
var qMainnet_js_1 = require("./definitions/qMainnet.js");
|
224
|
+
Object.defineProperty(exports, "qMainnet", { enumerable: true, get: function () { return qMainnet_js_1.qMainnet; } });
|
225
|
+
var qTestnet_js_1 = require("./definitions/qTestnet.js");
|
226
|
+
Object.defineProperty(exports, "qTestnet", { enumerable: true, get: function () { return qTestnet_js_1.qTestnet; } });
|
227
|
+
var rollux_js_1 = require("./definitions/rollux.js");
|
228
|
+
Object.defineProperty(exports, "rollux", { enumerable: true, get: function () { return rollux_js_1.rollux; } });
|
229
|
+
var rolluxTestnet_js_1 = require("./definitions/rolluxTestnet.js");
|
230
|
+
Object.defineProperty(exports, "rolluxTestnet", { enumerable: true, get: function () { return rolluxTestnet_js_1.rolluxTestnet; } });
|
231
|
+
var ronin_js_1 = require("./definitions/ronin.js");
|
232
|
+
Object.defineProperty(exports, "ronin", { enumerable: true, get: function () { return ronin_js_1.ronin; } });
|
233
|
+
var saigon_js_1 = require("./definitions/saigon.js");
|
234
|
+
Object.defineProperty(exports, "saigon", { enumerable: true, get: function () { return saigon_js_1.saigon; } });
|
235
|
+
var scroll_js_1 = require("./definitions/scroll.js");
|
236
|
+
Object.defineProperty(exports, "scroll", { enumerable: true, get: function () { return scroll_js_1.scroll; } });
|
237
|
+
var scrollSepolia_js_1 = require("./definitions/scrollSepolia.js");
|
238
|
+
Object.defineProperty(exports, "scrollSepolia", { enumerable: true, get: function () { return scrollSepolia_js_1.scrollSepolia; } });
|
239
|
+
var scrollTestnet_js_1 = require("./definitions/scrollTestnet.js");
|
240
|
+
Object.defineProperty(exports, "scrollTestnet", { enumerable: true, get: function () { return scrollTestnet_js_1.scrollTestnet; } });
|
241
|
+
var sepolia_js_1 = require("./definitions/sepolia.js");
|
242
|
+
Object.defineProperty(exports, "sepolia", { enumerable: true, get: function () { return sepolia_js_1.sepolia; } });
|
243
|
+
var brawl_js_1 = require("./definitions/skale/brawl.js");
|
244
|
+
Object.defineProperty(exports, "skaleBlockBrawlers", { enumerable: true, get: function () { return brawl_js_1.skaleBlockBrawlers; } });
|
245
|
+
var calypso_js_1 = require("./definitions/skale/calypso.js");
|
246
|
+
Object.defineProperty(exports, "skaleCalypso", { enumerable: true, get: function () { return calypso_js_1.skaleCalypso; } });
|
247
|
+
var calypsoTestnet_js_1 = require("./definitions/skale/calypsoTestnet.js");
|
248
|
+
Object.defineProperty(exports, "skaleCalypsoTestnet", { enumerable: true, get: function () { return calypsoTestnet_js_1.skaleCalypsoTestnet; } });
|
249
|
+
var chaosTestnet_js_1 = require("./definitions/skale/chaosTestnet.js");
|
250
|
+
Object.defineProperty(exports, "skaleChaosTestnet", { enumerable: true, get: function () { return chaosTestnet_js_1.skaleChaosTestnet; } });
|
251
|
+
var cryptoBlades_js_1 = require("./definitions/skale/cryptoBlades.js");
|
252
|
+
Object.defineProperty(exports, "skaleCryptoBlades", { enumerable: true, get: function () { return cryptoBlades_js_1.skaleCryptoBlades; } });
|
253
|
+
var cryptoColosseum_js_1 = require("./definitions/skale/cryptoColosseum.js");
|
254
|
+
Object.defineProperty(exports, "skaleCryptoColosseum", { enumerable: true, get: function () { return cryptoColosseum_js_1.skaleCryptoColosseum; } });
|
255
|
+
var europa_js_1 = require("./definitions/skale/europa.js");
|
256
|
+
Object.defineProperty(exports, "skaleEuropa", { enumerable: true, get: function () { return europa_js_1.skaleEuropa; } });
|
257
|
+
var europaTestnet_js_1 = require("./definitions/skale/europaTestnet.js");
|
258
|
+
Object.defineProperty(exports, "skaleEuropaTestnet", { enumerable: true, get: function () { return europaTestnet_js_1.skaleEuropaTestnet; } });
|
259
|
+
var exorde_js_1 = require("./definitions/skale/exorde.js");
|
260
|
+
Object.defineProperty(exports, "skaleExorde", { enumerable: true, get: function () { return exorde_js_1.skaleExorde; } });
|
261
|
+
var humanProtocol_js_1 = require("./definitions/skale/humanProtocol.js");
|
262
|
+
Object.defineProperty(exports, "skaleHumanProtocol", { enumerable: true, get: function () { return humanProtocol_js_1.skaleHumanProtocol; } });
|
263
|
+
var nebula_js_1 = require("./definitions/skale/nebula.js");
|
264
|
+
Object.defineProperty(exports, "skaleNebula", { enumerable: true, get: function () { return nebula_js_1.skaleNebula; } });
|
265
|
+
var nebulaTestnet_js_1 = require("./definitions/skale/nebulaTestnet.js");
|
266
|
+
Object.defineProperty(exports, "skaleNebulaTestnet", { enumerable: true, get: function () { return nebulaTestnet_js_1.skaleNebulaTestnet; } });
|
267
|
+
var razor_js_1 = require("./definitions/skale/razor.js");
|
268
|
+
Object.defineProperty(exports, "skaleRazor", { enumerable: true, get: function () { return razor_js_1.skaleRazor; } });
|
269
|
+
var titan_js_1 = require("./definitions/skale/titan.js");
|
270
|
+
Object.defineProperty(exports, "skaleTitan", { enumerable: true, get: function () { return titan_js_1.skaleTitan; } });
|
271
|
+
var titanTestnet_js_1 = require("./definitions/skale/titanTestnet.js");
|
272
|
+
Object.defineProperty(exports, "skaleTitanTestnet", { enumerable: true, get: function () { return titanTestnet_js_1.skaleTitanTestnet; } });
|
273
|
+
var songbird_js_1 = require("./definitions/songbird.js");
|
274
|
+
Object.defineProperty(exports, "songbird", { enumerable: true, get: function () { return songbird_js_1.songbird; } });
|
275
|
+
var songbirdTestnet_js_1 = require("./definitions/songbirdTestnet.js");
|
276
|
+
Object.defineProperty(exports, "songbirdTestnet", { enumerable: true, get: function () { return songbirdTestnet_js_1.songbirdTestnet; } });
|
277
|
+
var spicy_js_1 = require("./definitions/spicy.js");
|
278
|
+
Object.defineProperty(exports, "spicy", { enumerable: true, get: function () { return spicy_js_1.spicy; } });
|
279
|
+
var shardeumSphinx_js_1 = require("./definitions/shardeumSphinx.js");
|
280
|
+
Object.defineProperty(exports, "shardeumSphinx", { enumerable: true, get: function () { return shardeumSphinx_js_1.shardeumSphinx; } });
|
281
|
+
var syscoin_js_1 = require("./definitions/syscoin.js");
|
282
|
+
Object.defineProperty(exports, "syscoin", { enumerable: true, get: function () { return syscoin_js_1.syscoin; } });
|
283
|
+
var syscoinTestnet_js_1 = require("./definitions/syscoinTestnet.js");
|
284
|
+
Object.defineProperty(exports, "syscoinTestnet", { enumerable: true, get: function () { return syscoinTestnet_js_1.syscoinTestnet; } });
|
285
|
+
var taraxa_js_1 = require("./definitions/taraxa.js");
|
286
|
+
Object.defineProperty(exports, "taraxa", { enumerable: true, get: function () { return taraxa_js_1.taraxa; } });
|
287
|
+
var taikoJolnir_js_1 = require("./definitions/taikoJolnir.js");
|
288
|
+
Object.defineProperty(exports, "taikoJolnir", { enumerable: true, get: function () { return taikoJolnir_js_1.taikoJolnir; } });
|
289
|
+
var taikoTestnetSepolia_js_1 = require("./definitions/taikoTestnetSepolia.js");
|
290
|
+
Object.defineProperty(exports, "taikoTestnetSepolia", { enumerable: true, get: function () { return taikoTestnetSepolia_js_1.taikoTestnetSepolia; } });
|
291
|
+
var taraxaTestnet_js_1 = require("./definitions/taraxaTestnet.js");
|
292
|
+
Object.defineProperty(exports, "taraxaTestnet", { enumerable: true, get: function () { return taraxaTestnet_js_1.taraxaTestnet; } });
|
293
|
+
var telos_js_1 = require("./definitions/telos.js");
|
294
|
+
Object.defineProperty(exports, "telos", { enumerable: true, get: function () { return telos_js_1.telos; } });
|
295
|
+
var telosTestnet_js_1 = require("./definitions/telosTestnet.js");
|
296
|
+
Object.defineProperty(exports, "telosTestnet", { enumerable: true, get: function () { return telosTestnet_js_1.telosTestnet; } });
|
297
|
+
var tenet_js_1 = require("./definitions/tenet.js");
|
298
|
+
Object.defineProperty(exports, "tenet", { enumerable: true, get: function () { return tenet_js_1.tenet; } });
|
299
|
+
var thunderTestnet_js_1 = require("./definitions/thunderTestnet.js");
|
300
|
+
Object.defineProperty(exports, "thunderTestnet", { enumerable: true, get: function () { return thunderTestnet_js_1.thunderTestnet; } });
|
301
|
+
var vechain_js_1 = require("./definitions/vechain.js");
|
302
|
+
Object.defineProperty(exports, "vechain", { enumerable: true, get: function () { return vechain_js_1.vechain; } });
|
303
|
+
var wanchain_js_1 = require("./definitions/wanchain.js");
|
304
|
+
Object.defineProperty(exports, "wanchain", { enumerable: true, get: function () { return wanchain_js_1.wanchain; } });
|
305
|
+
var wanchainTestnet_js_1 = require("./definitions/wanchainTestnet.js");
|
306
|
+
Object.defineProperty(exports, "wanchainTestnet", { enumerable: true, get: function () { return wanchainTestnet_js_1.wanchainTestnet; } });
|
307
|
+
var xdc_js_1 = require("./definitions/xdc.js");
|
308
|
+
Object.defineProperty(exports, "xdc", { enumerable: true, get: function () { return xdc_js_1.xdc; } });
|
309
|
+
var xdcTestnet_js_1 = require("./definitions/xdcTestnet.js");
|
310
|
+
Object.defineProperty(exports, "xdcTestnet", { enumerable: true, get: function () { return xdcTestnet_js_1.xdcTestnet; } });
|
311
|
+
var zhejiang_js_1 = require("./definitions/zhejiang.js");
|
312
|
+
Object.defineProperty(exports, "zhejiang", { enumerable: true, get: function () { return zhejiang_js_1.zhejiang; } });
|
313
|
+
var zkSync_js_1 = require("./definitions/zkSync.js");
|
314
|
+
Object.defineProperty(exports, "zkSync", { enumerable: true, get: function () { return zkSync_js_1.zkSync; } });
|
315
|
+
var zkSyncTestnet_js_1 = require("./definitions/zkSyncTestnet.js");
|
316
|
+
Object.defineProperty(exports, "zkSyncTestnet", { enumerable: true, get: function () { return zkSyncTestnet_js_1.zkSyncTestnet; } });
|
317
|
+
var zetachainAthensTestnet_js_1 = require("./definitions/zetachainAthensTestnet.js");
|
318
|
+
Object.defineProperty(exports, "zetachainAthensTestnet", { enumerable: true, get: function () { return zetachainAthensTestnet_js_1.zetachainAthensTestnet; } });
|
319
|
+
var zora_js_1 = require("./definitions/zora.js");
|
320
|
+
Object.defineProperty(exports, "zora", { enumerable: true, get: function () { return zora_js_1.zora; } });
|
321
|
+
var zoraSepolia_js_1 = require("./definitions/zoraSepolia.js");
|
322
|
+
Object.defineProperty(exports, "zoraSepolia", { enumerable: true, get: function () { return zoraSepolia_js_1.zoraSepolia; } });
|
323
|
+
var zoraTestnet_js_1 = require("./definitions/zoraTestnet.js");
|
324
|
+
Object.defineProperty(exports, "zoraTestnet", { enumerable: true, get: function () { return zoraTestnet_js_1.zoraTestnet; } });
|
325
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../chains/index.ts"],"names":[],"mappings":"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"}
|
@@ -0,0 +1,77 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.gasPriceOracleAbi = void 0;
|
4
|
+
exports.gasPriceOracleAbi = [
|
5
|
+
{ inputs: [], stateMutability: 'nonpayable', type: 'constructor' },
|
6
|
+
{
|
7
|
+
inputs: [],
|
8
|
+
name: 'DECIMALS',
|
9
|
+
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
|
10
|
+
stateMutability: 'view',
|
11
|
+
type: 'function',
|
12
|
+
},
|
13
|
+
{
|
14
|
+
inputs: [],
|
15
|
+
name: 'baseFee',
|
16
|
+
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
|
17
|
+
stateMutability: 'view',
|
18
|
+
type: 'function',
|
19
|
+
},
|
20
|
+
{
|
21
|
+
inputs: [],
|
22
|
+
name: 'decimals',
|
23
|
+
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
|
24
|
+
stateMutability: 'pure',
|
25
|
+
type: 'function',
|
26
|
+
},
|
27
|
+
{
|
28
|
+
inputs: [],
|
29
|
+
name: 'gasPrice',
|
30
|
+
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
|
31
|
+
stateMutability: 'view',
|
32
|
+
type: 'function',
|
33
|
+
},
|
34
|
+
{
|
35
|
+
inputs: [{ internalType: 'bytes', name: '_data', type: 'bytes' }],
|
36
|
+
name: 'getL1Fee',
|
37
|
+
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
|
38
|
+
stateMutability: 'view',
|
39
|
+
type: 'function',
|
40
|
+
},
|
41
|
+
{
|
42
|
+
inputs: [{ internalType: 'bytes', name: '_data', type: 'bytes' }],
|
43
|
+
name: 'getL1GasUsed',
|
44
|
+
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
|
45
|
+
stateMutability: 'view',
|
46
|
+
type: 'function',
|
47
|
+
},
|
48
|
+
{
|
49
|
+
inputs: [],
|
50
|
+
name: 'l1BaseFee',
|
51
|
+
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
|
52
|
+
stateMutability: 'view',
|
53
|
+
type: 'function',
|
54
|
+
},
|
55
|
+
{
|
56
|
+
inputs: [],
|
57
|
+
name: 'overhead',
|
58
|
+
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
|
59
|
+
stateMutability: 'view',
|
60
|
+
type: 'function',
|
61
|
+
},
|
62
|
+
{
|
63
|
+
inputs: [],
|
64
|
+
name: 'scalar',
|
65
|
+
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
|
66
|
+
stateMutability: 'view',
|
67
|
+
type: 'function',
|
68
|
+
},
|
69
|
+
{
|
70
|
+
inputs: [],
|
71
|
+
name: 'version',
|
72
|
+
outputs: [{ internalType: 'string', name: '', type: 'string' }],
|
73
|
+
stateMutability: 'view',
|
74
|
+
type: 'function',
|
75
|
+
},
|
76
|
+
];
|
77
|
+
//# sourceMappingURL=abis.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"abis.js","sourceRoot":"","sources":["../../../chains/opStack/abis.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG;IAC/B,EAAE,MAAM,EAAE,EAAE,EAAE,eAAe,EAAE,YAAY,EAAE,IAAI,EAAE,aAAa,EAAE;IAClE;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QACjE,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QACjE,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QACjE,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QACjE,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,CAAC,EAAE,YAAY,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;QACjE,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QACjE,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,CAAC,EAAE,YAAY,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;QACjE,IAAI,EAAE,cAAc;QACpB,OAAO,EAAE,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QACjE,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QACjE,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QACjE,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QACjE,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;QAC/D,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAA"}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.estimateContractL1Fee = void 0;
|
4
|
+
const parseAccount_js_1 = require("../../../accounts/utils/parseAccount.js");
|
5
|
+
const encodeFunctionData_js_1 = require("../../../utils/abi/encodeFunctionData.js");
|
6
|
+
const getContractError_js_1 = require("../../../utils/errors/getContractError.js");
|
7
|
+
const estimateL1Fee_js_1 = require("./estimateL1Fee.js");
|
8
|
+
async function estimateContractL1Fee(client, parameters) {
|
9
|
+
const { abi, address, args, functionName, ...request } = parameters;
|
10
|
+
const data = (0, encodeFunctionData_js_1.encodeFunctionData)({
|
11
|
+
abi,
|
12
|
+
args,
|
13
|
+
functionName,
|
14
|
+
});
|
15
|
+
try {
|
16
|
+
const fee = await (0, estimateL1Fee_js_1.estimateL1Fee)(client, {
|
17
|
+
data,
|
18
|
+
to: address,
|
19
|
+
...request,
|
20
|
+
});
|
21
|
+
return fee;
|
22
|
+
}
|
23
|
+
catch (error) {
|
24
|
+
const account = request.account ? (0, parseAccount_js_1.parseAccount)(request.account) : undefined;
|
25
|
+
throw (0, getContractError_js_1.getContractError)(error, {
|
26
|
+
abi,
|
27
|
+
address,
|
28
|
+
args,
|
29
|
+
docsPath: '/docs/chains/op-stack/estimateContractL1Fee',
|
30
|
+
functionName,
|
31
|
+
sender: account?.address,
|
32
|
+
});
|
33
|
+
}
|
34
|
+
}
|
35
|
+
exports.estimateContractL1Fee = estimateContractL1Fee;
|
36
|
+
//# sourceMappingURL=estimateContractL1Fee.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"estimateContractL1Fee.js","sourceRoot":"","sources":["../../../../chains/opStack/actions/estimateContractL1Fee.ts"],"names":[],"mappings":";;;AAGA,6EAGgD;AAYhD,oFAIiD;AACjD,mFAGkD;AAClD,yDAI2B;AAmEpB,KAAK,UAAU,qBAAqB,CAQzC,MAAyC,EACzC,UAOC;IAED,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,OAAO,EAAE,GACpD,UAA6C,CAAA;IAC/C,MAAM,IAAI,GAAG,IAAA,0CAAkB,EAAC;QAC9B,GAAG;QACH,IAAI;QACJ,YAAY;KACmB,CAAC,CAAA;IAClC,IAAI;QACF,MAAM,GAAG,GAAG,MAAM,IAAA,gCAAa,EAAC,MAAM,EAAE;YACtC,IAAI;YACJ,EAAE,EAAE,OAAO;YACX,GAAG,OAAO;SAC2B,CAAC,CAAA;QACxC,OAAO,GAAG,CAAA;KACX;IAAC,OAAO,KAAK,EAAE;QACd,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,IAAA,8BAAY,EAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;QAC3E,MAAM,IAAA,sCAAgB,EAAC,KAAkB,EAAE;YACzC,GAAG;YACH,OAAO;YACP,IAAI;YACJ,QAAQ,EAAE,6CAA6C;YACvD,YAAY;YACZ,MAAM,EAAE,OAAO,EAAE,OAAO;SACzB,CAAC,CAAA;KACH;AACH,CAAC;AA3CD,sDA2CC"}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.estimateContractL1Gas = void 0;
|
4
|
+
const parseAccount_js_1 = require("../../../accounts/utils/parseAccount.js");
|
5
|
+
const encodeFunctionData_js_1 = require("../../../utils/abi/encodeFunctionData.js");
|
6
|
+
const getContractError_js_1 = require("../../../utils/errors/getContractError.js");
|
7
|
+
const estimateL1Gas_js_1 = require("./estimateL1Gas.js");
|
8
|
+
async function estimateContractL1Gas(client, parameters) {
|
9
|
+
const { abi, address, args, functionName, ...request } = parameters;
|
10
|
+
const data = (0, encodeFunctionData_js_1.encodeFunctionData)({
|
11
|
+
abi,
|
12
|
+
args,
|
13
|
+
functionName,
|
14
|
+
});
|
15
|
+
try {
|
16
|
+
const gas = await (0, estimateL1Gas_js_1.estimateL1Gas)(client, {
|
17
|
+
data,
|
18
|
+
to: address,
|
19
|
+
...request,
|
20
|
+
});
|
21
|
+
return gas;
|
22
|
+
}
|
23
|
+
catch (error) {
|
24
|
+
const account = request.account ? (0, parseAccount_js_1.parseAccount)(request.account) : undefined;
|
25
|
+
throw (0, getContractError_js_1.getContractError)(error, {
|
26
|
+
abi,
|
27
|
+
address,
|
28
|
+
args,
|
29
|
+
docsPath: '/docs/chains/op-stack/estimateContractL1Gas',
|
30
|
+
functionName,
|
31
|
+
sender: account?.address,
|
32
|
+
});
|
33
|
+
}
|
34
|
+
}
|
35
|
+
exports.estimateContractL1Gas = estimateContractL1Gas;
|
36
|
+
//# sourceMappingURL=estimateContractL1Gas.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"estimateContractL1Gas.js","sourceRoot":"","sources":["../../../../chains/opStack/actions/estimateContractL1Gas.ts"],"names":[],"mappings":";;;AAGA,6EAGgD;AAYhD,oFAIiD;AACjD,mFAGkD;AAClD,yDAI2B;AAmEpB,KAAK,UAAU,qBAAqB,CAQzC,MAAyC,EACzC,UAOC;IAED,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,OAAO,EAAE,GACpD,UAA6C,CAAA;IAC/C,MAAM,IAAI,GAAG,IAAA,0CAAkB,EAAC;QAC9B,GAAG;QACH,IAAI;QACJ,YAAY;KACmB,CAAC,CAAA;IAClC,IAAI;QACF,MAAM,GAAG,GAAG,MAAM,IAAA,gCAAa,EAAC,MAAM,EAAE;YACtC,IAAI;YACJ,EAAE,EAAE,OAAO;YACX,GAAG,OAAO;SAC2B,CAAC,CAAA;QACxC,OAAO,GAAG,CAAA;KACX;IAAC,OAAO,KAAK,EAAE;QACd,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,IAAA,8BAAY,EAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;QAC3E,MAAM,IAAA,sCAAgB,EAAC,KAAkB,EAAE;YACzC,GAAG;YACH,OAAO;YACP,IAAI;YACJ,QAAQ,EAAE,6CAA6C;YACvD,YAAY;YACZ,MAAM,EAAE,OAAO,EAAE,OAAO;SACzB,CAAC,CAAA;KACH;AACH,CAAC;AA3CD,sDA2CC"}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.estimateContractTotalFee = void 0;
|
4
|
+
const parseAccount_js_1 = require("../../../accounts/utils/parseAccount.js");
|
5
|
+
const encodeFunctionData_js_1 = require("../../../utils/abi/encodeFunctionData.js");
|
6
|
+
const getContractError_js_1 = require("../../../utils/errors/getContractError.js");
|
7
|
+
const estimateTotalFee_js_1 = require("./estimateTotalFee.js");
|
8
|
+
async function estimateContractTotalFee(client, parameters) {
|
9
|
+
const { abi, address, args, functionName, ...request } = parameters;
|
10
|
+
const data = (0, encodeFunctionData_js_1.encodeFunctionData)({
|
11
|
+
abi,
|
12
|
+
args,
|
13
|
+
functionName,
|
14
|
+
});
|
15
|
+
try {
|
16
|
+
const fee = await (0, estimateTotalFee_js_1.estimateTotalFee)(client, {
|
17
|
+
data,
|
18
|
+
to: address,
|
19
|
+
...request,
|
20
|
+
});
|
21
|
+
return fee;
|
22
|
+
}
|
23
|
+
catch (error) {
|
24
|
+
const account = request.account ? (0, parseAccount_js_1.parseAccount)(request.account) : undefined;
|
25
|
+
throw (0, getContractError_js_1.getContractError)(error, {
|
26
|
+
abi,
|
27
|
+
address,
|
28
|
+
args,
|
29
|
+
docsPath: '/docs/chains/op-stack/estimateTotalFee',
|
30
|
+
functionName,
|
31
|
+
sender: account?.address,
|
32
|
+
});
|
33
|
+
}
|
34
|
+
}
|
35
|
+
exports.estimateContractTotalFee = estimateContractTotalFee;
|
36
|
+
//# sourceMappingURL=estimateContractTotalFee.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"estimateContractTotalFee.js","sourceRoot":"","sources":["../../../../chains/opStack/actions/estimateContractTotalFee.ts"],"names":[],"mappings":";;;AAGA,6EAGgD;AAYhD,oFAIiD;AACjD,mFAGkD;AAClD,+DAI8B;AAqEvB,KAAK,UAAU,wBAAwB,CAQ5C,MAAyC,EACzC,UAOC;IAED,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,OAAO,EAAE,GACpD,UAAgD,CAAA;IAClD,MAAM,IAAI,GAAG,IAAA,0CAAkB,EAAC;QAC9B,GAAG;QACH,IAAI;QACJ,YAAY;KACmB,CAAC,CAAA;IAClC,IAAI;QACF,MAAM,GAAG,GAAG,MAAM,IAAA,sCAAgB,EAAC,MAAM,EAAE;YACzC,IAAI;YACJ,EAAE,EAAE,OAAO;YACX,GAAG,OAAO;SAC8B,CAAC,CAAA;QAC3C,OAAO,GAAG,CAAA;KACX;IAAC,OAAO,KAAK,EAAE;QACd,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,IAAA,8BAAY,EAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;QAC3E,MAAM,IAAA,sCAAgB,EAAC,KAAkB,EAAE;YACzC,GAAG;YACH,OAAO;YACP,IAAI;YACJ,QAAQ,EAAE,wCAAwC;YAClD,YAAY;YACZ,MAAM,EAAE,OAAO,EAAE,OAAO;SACzB,CAAC,CAAA;KACH;AACH,CAAC;AA3CD,4DA2CC"}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.estimateContractTotalGas = void 0;
|
4
|
+
const parseAccount_js_1 = require("../../../accounts/utils/parseAccount.js");
|
5
|
+
const encodeFunctionData_js_1 = require("../../../utils/abi/encodeFunctionData.js");
|
6
|
+
const getContractError_js_1 = require("../../../utils/errors/getContractError.js");
|
7
|
+
const estimateTotalGas_js_1 = require("./estimateTotalGas.js");
|
8
|
+
async function estimateContractTotalGas(client, parameters) {
|
9
|
+
const { abi, address, args, functionName, ...request } = parameters;
|
10
|
+
const data = (0, encodeFunctionData_js_1.encodeFunctionData)({
|
11
|
+
abi,
|
12
|
+
args,
|
13
|
+
functionName,
|
14
|
+
});
|
15
|
+
try {
|
16
|
+
const gas = await (0, estimateTotalGas_js_1.estimateTotalGas)(client, {
|
17
|
+
data,
|
18
|
+
to: address,
|
19
|
+
...request,
|
20
|
+
});
|
21
|
+
return gas;
|
22
|
+
}
|
23
|
+
catch (error) {
|
24
|
+
const account = request.account ? (0, parseAccount_js_1.parseAccount)(request.account) : undefined;
|
25
|
+
throw (0, getContractError_js_1.getContractError)(error, {
|
26
|
+
abi,
|
27
|
+
address,
|
28
|
+
args,
|
29
|
+
docsPath: '/docs/chains/op-stack/estimateTotalGas',
|
30
|
+
functionName,
|
31
|
+
sender: account?.address,
|
32
|
+
});
|
33
|
+
}
|
34
|
+
}
|
35
|
+
exports.estimateContractTotalGas = estimateContractTotalGas;
|
36
|
+
//# sourceMappingURL=estimateContractTotalGas.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"estimateContractTotalGas.js","sourceRoot":"","sources":["../../../../chains/opStack/actions/estimateContractTotalGas.ts"],"names":[],"mappings":";;;AAGA,6EAGgD;AAYhD,oFAIiD;AACjD,mFAGkD;AAClD,+DAI8B;AAqEvB,KAAK,UAAU,wBAAwB,CAQ5C,MAAyC,EACzC,UAOC;IAED,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,OAAO,EAAE,GACpD,UAAgD,CAAA;IAClD,MAAM,IAAI,GAAG,IAAA,0CAAkB,EAAC;QAC9B,GAAG;QACH,IAAI;QACJ,YAAY;KACmB,CAAC,CAAA;IAClC,IAAI;QACF,MAAM,GAAG,GAAG,MAAM,IAAA,sCAAgB,EAAC,MAAM,EAAE;YACzC,IAAI;YACJ,EAAE,EAAE,OAAO;YACX,GAAG,OAAO;SAC8B,CAAC,CAAA;QAC3C,OAAO,GAAG,CAAA;KACX;IAAC,OAAO,KAAK,EAAE;QACd,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,IAAA,8BAAY,EAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;QAC3E,MAAM,IAAA,sCAAgB,EAAC,KAAkB,EAAE;YACzC,GAAG;YACH,OAAO;YACP,IAAI;YACJ,QAAQ,EAAE,wCAAwC;YAClD,YAAY;YACZ,MAAM,EAAE,OAAO,EAAE,OAAO;SACzB,CAAC,CAAA;KACH;AACH,CAAC;AA3CD,4DA2CC"}
|