viem 2.0.0-beta.2 → 2.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_cjs/errors/version.js +1 -1
- package/_esm/chains/celo/chainConfig.js +7 -0
- package/_esm/chains/celo/chainConfig.js.map +1 -0
- package/_esm/chains/celo/formatters.js +1 -1
- package/_esm/chains/celo/formatters.js.map +1 -1
- package/_esm/chains/celo/index.js +4 -0
- package/_esm/chains/celo/index.js.map +1 -0
- package/_esm/chains/celo/parsers.js +3 -3
- package/_esm/chains/celo/parsers.js.map +1 -1
- package/_esm/chains/celo/serializers.js +5 -5
- package/_esm/chains/celo/serializers.js.map +1 -1
- package/_esm/chains/definitions/base.js +3 -2
- package/_esm/chains/definitions/base.js.map +1 -1
- package/_esm/chains/definitions/baseGoerli.js +4 -3
- package/_esm/chains/definitions/baseGoerli.js.map +1 -1
- package/_esm/chains/definitions/baseSepolia.js +4 -3
- package/_esm/chains/definitions/baseSepolia.js.map +1 -1
- package/_esm/chains/definitions/celo.js +2 -4
- package/_esm/chains/definitions/celo.js.map +1 -1
- package/_esm/chains/definitions/celoAlfajores.js +2 -4
- package/_esm/chains/definitions/celoAlfajores.js.map +1 -1
- package/_esm/chains/definitions/celoCannoli.js +2 -4
- package/_esm/chains/definitions/celoCannoli.js.map +1 -1
- package/_esm/chains/definitions/optimism.js +3 -2
- package/_esm/chains/definitions/optimism.js.map +1 -1
- package/_esm/chains/definitions/optimismGoerli.js +3 -2
- package/_esm/chains/definitions/optimismGoerli.js.map +1 -1
- package/_esm/chains/definitions/optimismSepolia.js +3 -2
- package/_esm/chains/definitions/optimismSepolia.js.map +1 -1
- package/_esm/chains/definitions/zkSync.js +2 -4
- package/_esm/chains/definitions/zkSync.js.map +1 -1
- package/_esm/chains/definitions/zkSyncTestnet.js +2 -4
- package/_esm/chains/definitions/zkSyncTestnet.js.map +1 -1
- package/_esm/chains/definitions/zora.js +3 -2
- package/_esm/chains/definitions/zora.js.map +1 -1
- package/_esm/chains/definitions/zoraSepolia.js +3 -2
- package/_esm/chains/definitions/zoraSepolia.js.map +1 -1
- package/_esm/chains/definitions/zoraTestnet.js +3 -2
- package/_esm/chains/definitions/zoraTestnet.js.map +1 -1
- package/_esm/chains/opStack/abis.js +74 -0
- package/_esm/chains/opStack/abis.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateContractL1Fee.js +55 -0
- package/_esm/chains/opStack/actions/estimateContractL1Fee.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateContractL1Gas.js +55 -0
- package/_esm/chains/opStack/actions/estimateContractL1Gas.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateContractTotalFee.js +55 -0
- package/_esm/chains/opStack/actions/estimateContractTotalFee.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateContractTotalGas.js +55 -0
- package/_esm/chains/opStack/actions/estimateContractTotalGas.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateL1Fee.js +74 -0
- package/_esm/chains/opStack/actions/estimateL1Fee.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateL1Gas.js +74 -0
- package/_esm/chains/opStack/actions/estimateL1Gas.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateTotalFee.js +38 -0
- package/_esm/chains/opStack/actions/estimateTotalFee.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateTotalGas.js +36 -0
- package/_esm/chains/opStack/actions/estimateTotalGas.js.map +1 -0
- package/_esm/chains/opStack/chainConfig.js +7 -0
- package/_esm/chains/opStack/chainConfig.js.map +1 -0
- package/_esm/chains/opStack/contracts.js +13 -0
- package/_esm/chains/opStack/contracts.js.map +1 -0
- package/_esm/chains/opStack/decorators/public.js +23 -0
- package/_esm/chains/opStack/decorators/public.js.map +1 -0
- package/_esm/chains/{optimism → opStack}/formatters.js +1 -1
- package/_esm/chains/opStack/formatters.js.map +1 -0
- package/_esm/chains/opStack/index.js +20 -0
- package/_esm/chains/opStack/index.js.map +1 -0
- package/{_cjs/accounts → _esm/chains/opStack}/types.js.map +1 -1
- package/_esm/chains/utils.js +0 -5
- package/_esm/chains/utils.js.map +1 -1
- package/_esm/chains/zksync/chainConfig.js +7 -0
- package/_esm/chains/zksync/chainConfig.js.map +1 -0
- package/_esm/chains/zksync/formatters.js +2 -2
- package/_esm/chains/zksync/formatters.js.map +1 -1
- package/_esm/chains/zksync/index.js +3 -0
- package/_esm/chains/zksync/index.js.map +1 -0
- package/_esm/chains/zksync/serializers.js +7 -7
- package/_esm/chains/zksync/serializers.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_types/chains/celo/chainConfig.d.ts +884 -0
- package/_types/chains/celo/chainConfig.d.ts.map +1 -0
- package/_types/chains/celo/formatters.d.ts +92 -92
- package/_types/chains/celo/formatters.d.ts.map +1 -1
- package/_types/chains/celo/index.d.ts +5 -0
- package/_types/chains/celo/index.d.ts.map +1 -0
- package/_types/chains/celo/parsers.d.ts +3 -3
- package/_types/chains/celo/parsers.d.ts.map +1 -1
- package/_types/chains/celo/serializers.d.ts +2 -2
- package/_types/chains/celo/serializers.d.ts.map +1 -1
- package/_types/chains/definitions/base.d.ts +92 -74
- package/_types/chains/definitions/base.d.ts.map +1 -1
- package/_types/chains/definitions/baseGoerli.d.ts +92 -74
- package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/baseSepolia.d.ts +94 -82
- package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/celo.d.ts +97 -97
- package/_types/chains/definitions/celo.d.ts.map +1 -1
- package/_types/chains/definitions/celoAlfajores.d.ts +97 -97
- package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
- package/_types/chains/definitions/celoCannoli.d.ts +97 -97
- package/_types/chains/definitions/celoCannoli.d.ts.map +1 -1
- package/_types/chains/definitions/optimism.d.ts +92 -74
- package/_types/chains/definitions/optimism.d.ts.map +1 -1
- package/_types/chains/definitions/optimismGoerli.d.ts +92 -74
- package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/optimismSepolia.d.ts +92 -74
- package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/zkSync.d.ts +13 -13
- package/_types/chains/definitions/zkSync.d.ts.map +1 -1
- package/_types/chains/definitions/zkSyncTestnet.d.ts +13 -13
- package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zora.d.ts +92 -74
- package/_types/chains/definitions/zora.d.ts.map +1 -1
- package/_types/chains/definitions/zoraSepolia.d.ts +92 -74
- package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/zoraTestnet.d.ts +92 -74
- package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
- package/_types/chains/opStack/abis.d.ts +114 -0
- package/_types/chains/opStack/abis.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts +39 -0
- package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts +39 -0
- package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts +39 -0
- package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts +39 -0
- package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateL1Fee.d.ts +43 -0
- package/_types/chains/opStack/actions/estimateL1Fee.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateL1Gas.d.ts +43 -0
- package/_types/chains/opStack/actions/estimateL1Gas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateTotalFee.d.ts +37 -0
- package/_types/chains/opStack/actions/estimateTotalFee.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateTotalGas.d.ts +36 -0
- package/_types/chains/opStack/actions/estimateTotalGas.d.ts.map +1 -0
- package/_types/chains/opStack/chainConfig.d.ts +521 -0
- package/_types/chains/opStack/chainConfig.d.ts.map +1 -0
- package/_types/chains/opStack/contracts.d.ts +21 -0
- package/_types/chains/opStack/contracts.d.ts.map +1 -0
- package/_types/chains/opStack/decorators/public.d.ts +214 -0
- package/_types/chains/opStack/decorators/public.d.ts.map +1 -0
- package/_types/chains/{optimism → opStack}/formatters.d.ts +76 -76
- package/_types/chains/{optimism → opStack}/formatters.d.ts.map +1 -1
- package/_types/chains/opStack/index.d.ts +21 -0
- package/_types/chains/opStack/index.d.ts.map +1 -0
- package/_types/chains/opStack/types.d.ts +53 -0
- package/_types/chains/opStack/types.d.ts.map +1 -0
- package/_types/chains/utils.d.ts +0 -8
- package/_types/chains/utils.d.ts.map +1 -1
- package/_types/chains/zksync/chainConfig.d.ts +490 -0
- package/_types/chains/zksync/chainConfig.d.ts.map +1 -0
- package/_types/chains/zksync/formatters.d.ts +1 -1
- package/_types/chains/zksync/formatters.d.ts.map +1 -1
- package/_types/chains/zksync/index.d.ts +4 -0
- package/_types/chains/zksync/index.d.ts.map +1 -0
- package/_types/chains/zksync/serializers.d.ts +2 -2
- package/_types/chains/zksync/serializers.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/utils/formatters/transaction.d.ts +1 -1
- package/_types/utils/formatters/transactionRequest.d.ts +1 -1
- package/chains/celo/chainConfig.ts +7 -0
- package/chains/celo/formatters.ts +1 -1
- package/chains/celo/index.ts +35 -0
- package/chains/celo/package.json +6 -0
- package/chains/celo/parsers.ts +10 -12
- package/chains/celo/serializers.ts +5 -5
- package/chains/definitions/base.ts +3 -2
- package/chains/definitions/baseGoerli.ts +3 -2
- package/chains/definitions/baseSepolia.ts +3 -2
- package/chains/definitions/celo.ts +2 -4
- package/chains/definitions/celoAlfajores.ts +2 -4
- package/chains/definitions/celoCannoli.ts +2 -4
- package/chains/definitions/optimism.ts +3 -2
- package/chains/definitions/optimismGoerli.ts +3 -2
- package/chains/definitions/optimismSepolia.ts +3 -2
- package/chains/definitions/zkSync.ts +2 -4
- package/chains/definitions/zkSyncTestnet.ts +2 -4
- package/chains/definitions/zora.ts +3 -2
- package/chains/definitions/zoraSepolia.ts +3 -2
- package/chains/definitions/zoraTestnet.ts +3 -2
- package/chains/opStack/abis.ts +73 -0
- package/chains/opStack/actions/estimateContractL1Fee.ts +142 -0
- package/chains/opStack/actions/estimateContractL1Gas.ts +142 -0
- package/chains/opStack/actions/estimateContractTotalFee.ts +144 -0
- package/chains/opStack/actions/estimateContractTotalGas.ts +144 -0
- package/chains/opStack/actions/estimateL1Fee.ts +138 -0
- package/chains/opStack/actions/estimateL1Gas.ts +138 -0
- package/chains/opStack/actions/estimateTotalFee.ts +86 -0
- package/chains/opStack/actions/estimateTotalGas.ts +80 -0
- package/chains/opStack/chainConfig.ts +7 -0
- package/chains/opStack/contracts.ts +14 -0
- package/chains/opStack/decorators/public.ts +337 -0
- package/chains/{optimism → opStack}/formatters.ts +17 -17
- package/chains/opStack/index.ts +77 -0
- package/chains/opStack/package.json +6 -0
- package/chains/{optimism → opStack}/types.ts +20 -20
- package/chains/utils.ts +0 -83
- package/chains/zksync/chainConfig.ts +7 -0
- package/chains/zksync/formatters.ts +2 -2
- package/chains/zksync/index.ts +33 -0
- package/chains/zksync/package.json +6 -0
- package/chains/zksync/serializers.ts +7 -9
- package/errors/version.ts +1 -1
- package/package.json +26 -34
- package/_cjs/accounts/generateMnemonic.js +0 -9
- package/_cjs/accounts/generateMnemonic.js.map +0 -1
- package/_cjs/accounts/generatePrivateKey.js +0 -10
- package/_cjs/accounts/generatePrivateKey.js.map +0 -1
- package/_cjs/accounts/hdKeyToAccount.js +0 -16
- package/_cjs/accounts/hdKeyToAccount.js.map +0 -1
- package/_cjs/accounts/index.js +0 -52
- package/_cjs/accounts/index.js.map +0 -1
- package/_cjs/accounts/mnemonicToAccount.js +0 -12
- package/_cjs/accounts/mnemonicToAccount.js.map +0 -1
- package/_cjs/accounts/privateKeyToAccount.js +0 -33
- package/_cjs/accounts/privateKeyToAccount.js.map +0 -1
- package/_cjs/accounts/toAccount.js +0 -27
- package/_cjs/accounts/toAccount.js.map +0 -1
- package/_cjs/accounts/types.js +0 -3
- package/_cjs/accounts/utils/parseAccount.js +0 -10
- package/_cjs/accounts/utils/parseAccount.js.map +0 -1
- package/_cjs/accounts/utils/privateKeyToAddress.js +0 -12
- package/_cjs/accounts/utils/privateKeyToAddress.js.map +0 -1
- package/_cjs/accounts/utils/publicKeyToAddress.js +0 -11
- package/_cjs/accounts/utils/publicKeyToAddress.js.map +0 -1
- package/_cjs/accounts/utils/sign.js +0 -15
- package/_cjs/accounts/utils/sign.js.map +0 -1
- package/_cjs/accounts/utils/signMessage.js +0 -12
- package/_cjs/accounts/utils/signMessage.js.map +0 -1
- package/_cjs/accounts/utils/signTransaction.js +0 -15
- package/_cjs/accounts/utils/signTransaction.js.map +0 -1
- package/_cjs/accounts/utils/signTypedData.js +0 -16
- package/_cjs/accounts/utils/signTypedData.js.map +0 -1
- package/_cjs/actions/ens/getEnsAddress.js +0 -63
- package/_cjs/actions/ens/getEnsAddress.js.map +0 -1
- package/_cjs/actions/ens/getEnsAvatar.js +0 -25
- package/_cjs/actions/ens/getEnsAvatar.js.map +0 -1
- package/_cjs/actions/ens/getEnsName.js +0 -41
- package/_cjs/actions/ens/getEnsName.js.map +0 -1
- package/_cjs/actions/ens/getEnsResolver.js +0 -39
- package/_cjs/actions/ens/getEnsResolver.js.map +0 -1
- package/_cjs/actions/ens/getEnsText.js +0 -57
- package/_cjs/actions/ens/getEnsText.js.map +0 -1
- package/_cjs/actions/getContract.js +0 -184
- package/_cjs/actions/getContract.js.map +0 -1
- package/_cjs/actions/index.js +0 -167
- package/_cjs/actions/index.js.map +0 -1
- package/_cjs/actions/public/call.js +0 -156
- package/_cjs/actions/public/call.js.map +0 -1
- package/_cjs/actions/public/createBlockFilter.js +0 -15
- package/_cjs/actions/public/createBlockFilter.js.map +0 -1
- package/_cjs/actions/public/createContractEventFilter.js +0 -41
- package/_cjs/actions/public/createContractEventFilter.js.map +0 -1
- package/_cjs/actions/public/createEventFilter.js +0 -48
- package/_cjs/actions/public/createEventFilter.js.map +0 -1
- package/_cjs/actions/public/createPendingTransactionFilter.js +0 -15
- package/_cjs/actions/public/createPendingTransactionFilter.js.map +0 -1
- package/_cjs/actions/public/estimateContractGas.js +0 -37
- package/_cjs/actions/public/estimateContractGas.js.map +0 -1
- package/_cjs/actions/public/estimateFeesPerGas.js +0 -62
- package/_cjs/actions/public/estimateFeesPerGas.js.map +0 -1
- package/_cjs/actions/public/estimateGas.js +0 -56
- package/_cjs/actions/public/estimateGas.js.map +0 -1
- package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js +0 -45
- package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js.map +0 -1
- package/_cjs/actions/public/getBalance.js +0 -14
- package/_cjs/actions/public/getBalance.js.map +0 -1
- package/_cjs/actions/public/getBlock.js +0 -30
- package/_cjs/actions/public/getBlock.js.map +0 -1
- package/_cjs/actions/public/getBlockNumber.js +0 -17
- package/_cjs/actions/public/getBlockNumber.js.map +0 -1
- package/_cjs/actions/public/getBlockTransactionCount.js +0 -24
- package/_cjs/actions/public/getBlockTransactionCount.js.map +0 -1
- package/_cjs/actions/public/getBytecode.js +0 -16
- package/_cjs/actions/public/getBytecode.js.map +0 -1
- package/_cjs/actions/public/getChainId.js +0 -12
- package/_cjs/actions/public/getChainId.js.map +0 -1
- package/_cjs/actions/public/getContractEvents.js +0 -27
- package/_cjs/actions/public/getContractEvents.js.map +0 -1
- package/_cjs/actions/public/getFeeHistory.js +0 -19
- package/_cjs/actions/public/getFeeHistory.js.map +0 -1
- package/_cjs/actions/public/getFilterChanges.js +0 -44
- package/_cjs/actions/public/getFilterChanges.js.map +0 -1
- package/_cjs/actions/public/getFilterLogs.js +0 -42
- package/_cjs/actions/public/getFilterLogs.js.map +0 -1
- package/_cjs/actions/public/getGasPrice.js +0 -11
- package/_cjs/actions/public/getGasPrice.js.map +0 -1
- package/_cjs/actions/public/getLogs.js +0 -73
- package/_cjs/actions/public/getLogs.js.map +0 -1
- package/_cjs/actions/public/getProof.js +0 -16
- package/_cjs/actions/public/getProof.js.map +0 -1
- package/_cjs/actions/public/getStorageAt.js +0 -14
- package/_cjs/actions/public/getStorageAt.js.map +0 -1
- package/_cjs/actions/public/getTransaction.js +0 -41
- package/_cjs/actions/public/getTransaction.js.map +0 -1
- package/_cjs/actions/public/getTransactionConfirmations.js +0 -18
- package/_cjs/actions/public/getTransactionConfirmations.js.map +0 -1
- package/_cjs/actions/public/getTransactionCount.js +0 -14
- package/_cjs/actions/public/getTransactionCount.js.map +0 -1
- package/_cjs/actions/public/getTransactionReceipt.js +0 -18
- package/_cjs/actions/public/getTransactionReceipt.js.map +0 -1
- package/_cjs/actions/public/multicall.js +0 -135
- package/_cjs/actions/public/multicall.js.map +0 -1
- package/_cjs/actions/public/readContract.js +0 -40
- package/_cjs/actions/public/readContract.js.map +0 -1
- package/_cjs/actions/public/simulateContract.js +0 -56
- package/_cjs/actions/public/simulateContract.js.map +0 -1
- package/_cjs/actions/public/uninstallFilter.js +0 -11
- package/_cjs/actions/public/uninstallFilter.js.map +0 -1
- package/_cjs/actions/public/verifyHash.js +0 -32
- package/_cjs/actions/public/verifyHash.js.map +0 -1
- package/_cjs/actions/public/verifyMessage.js +0 -16
- package/_cjs/actions/public/verifyMessage.js.map +0 -1
- package/_cjs/actions/public/verifyTypedData.js +0 -16
- package/_cjs/actions/public/verifyTypedData.js.map +0 -1
- package/_cjs/actions/public/waitForTransactionReceipt.js +0 -119
- package/_cjs/actions/public/waitForTransactionReceipt.js.map +0 -1
- package/_cjs/actions/public/watchBlockNumber.js +0 -78
- package/_cjs/actions/public/watchBlockNumber.js.map +0 -1
- package/_cjs/actions/public/watchBlocks.js +0 -90
- package/_cjs/actions/public/watchBlocks.js.map +0 -1
- package/_cjs/actions/public/watchContractEvent.js +0 -162
- package/_cjs/actions/public/watchContractEvent.js.map +0 -1
- package/_cjs/actions/public/watchEvent.js +0 -161
- package/_cjs/actions/public/watchEvent.js.map +0 -1
- package/_cjs/actions/public/watchPendingTransactions.js +0 -88
- package/_cjs/actions/public/watchPendingTransactions.js.map +0 -1
- package/_cjs/actions/test/dropTransaction.js +0 -11
- package/_cjs/actions/test/dropTransaction.js.map +0 -1
- package/_cjs/actions/test/getAutomine.js +0 -14
- package/_cjs/actions/test/getAutomine.js.map +0 -1
- package/_cjs/actions/test/getTxpoolContent.js +0 -10
- package/_cjs/actions/test/getTxpoolContent.js.map +0 -1
- package/_cjs/actions/test/getTxpoolStatus.js +0 -15
- package/_cjs/actions/test/getTxpoolStatus.js.map +0 -1
- package/_cjs/actions/test/impersonateAccount.js +0 -11
- package/_cjs/actions/test/impersonateAccount.js.map +0 -1
- package/_cjs/actions/test/increaseTime.js +0 -12
- package/_cjs/actions/test/increaseTime.js.map +0 -1
- package/_cjs/actions/test/inspectTxpool.js +0 -10
- package/_cjs/actions/test/inspectTxpool.js.map +0 -1
- package/_cjs/actions/test/mine.js +0 -18
- package/_cjs/actions/test/mine.js.map +0 -1
- package/_cjs/actions/test/removeBlockTimestampInterval.js +0 -10
- package/_cjs/actions/test/removeBlockTimestampInterval.js.map +0 -1
- package/_cjs/actions/test/reset.js +0 -11
- package/_cjs/actions/test/reset.js.map +0 -1
- package/_cjs/actions/test/revert.js +0 -11
- package/_cjs/actions/test/revert.js.map +0 -1
- package/_cjs/actions/test/sendUnsignedTransaction.js +0 -30
- package/_cjs/actions/test/sendUnsignedTransaction.js.map +0 -1
- package/_cjs/actions/test/setAutomine.js +0 -18
- package/_cjs/actions/test/setAutomine.js.map +0 -1
- package/_cjs/actions/test/setBalance.js +0 -18
- package/_cjs/actions/test/setBalance.js.map +0 -1
- package/_cjs/actions/test/setBlockGasLimit.js +0 -12
- package/_cjs/actions/test/setBlockGasLimit.js.map +0 -1
- package/_cjs/actions/test/setBlockTimestampInterval.js +0 -16
- package/_cjs/actions/test/setBlockTimestampInterval.js.map +0 -1
- package/_cjs/actions/test/setCode.js +0 -11
- package/_cjs/actions/test/setCode.js.map +0 -1
- package/_cjs/actions/test/setCoinbase.js +0 -11
- package/_cjs/actions/test/setCoinbase.js.map +0 -1
- package/_cjs/actions/test/setIntervalMining.js +0 -16
- package/_cjs/actions/test/setIntervalMining.js.map +0 -1
- package/_cjs/actions/test/setLoggingEnabled.js +0 -11
- package/_cjs/actions/test/setLoggingEnabled.js.map +0 -1
- package/_cjs/actions/test/setMinGasPrice.js +0 -12
- package/_cjs/actions/test/setMinGasPrice.js.map +0 -1
- package/_cjs/actions/test/setNextBlockBaseFeePerGas.js +0 -12
- package/_cjs/actions/test/setNextBlockBaseFeePerGas.js.map +0 -1
- package/_cjs/actions/test/setNextBlockTimestamp.js +0 -12
- package/_cjs/actions/test/setNextBlockTimestamp.js.map +0 -1
- package/_cjs/actions/test/setNonce.js +0 -12
- package/_cjs/actions/test/setNonce.js.map +0 -1
- package/_cjs/actions/test/setRpcUrl.js +0 -11
- package/_cjs/actions/test/setRpcUrl.js.map +0 -1
- package/_cjs/actions/test/setStorageAt.js +0 -16
- package/_cjs/actions/test/setStorageAt.js.map +0 -1
- package/_cjs/actions/test/snapshot.js +0 -10
- package/_cjs/actions/test/snapshot.js.map +0 -1
- package/_cjs/actions/test/stopImpersonatingAccount.js +0 -11
- package/_cjs/actions/test/stopImpersonatingAccount.js.map +0 -1
- package/_cjs/actions/wallet/addChain.js +0 -23
- package/_cjs/actions/wallet/addChain.js.map +0 -1
- package/_cjs/actions/wallet/deployContract.js +0 -15
- package/_cjs/actions/wallet/deployContract.js.map +0 -1
- package/_cjs/actions/wallet/getAddresses.js +0 -12
- package/_cjs/actions/wallet/getAddresses.js.map +0 -1
- package/_cjs/actions/wallet/getPermissions.js +0 -9
- package/_cjs/actions/wallet/getPermissions.js.map +0 -1
- package/_cjs/actions/wallet/prepareTransactionRequest.js +0 -71
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +0 -1
- package/_cjs/actions/wallet/requestAddresses.js +0 -10
- package/_cjs/actions/wallet/requestAddresses.js.map +0 -1
- package/_cjs/actions/wallet/requestPermissions.js +0 -11
- package/_cjs/actions/wallet/requestPermissions.js.map +0 -1
- package/_cjs/actions/wallet/sendRawTransaction.js +0 -11
- package/_cjs/actions/wallet/sendRawTransaction.js.map +0 -1
- package/_cjs/actions/wallet/sendTransaction.js +0 -87
- package/_cjs/actions/wallet/sendTransaction.js.map +0 -1
- package/_cjs/actions/wallet/signMessage.js +0 -28
- package/_cjs/actions/wallet/signMessage.js.map +0 -1
- package/_cjs/actions/wallet/signTransaction.js +0 -48
- package/_cjs/actions/wallet/signTransaction.js.map +0 -1
- package/_cjs/actions/wallet/signTypedData.js +0 -30
- package/_cjs/actions/wallet/signTypedData.js.map +0 -1
- package/_cjs/actions/wallet/switchChain.js +0 -16
- package/_cjs/actions/wallet/switchChain.js.map +0 -1
- package/_cjs/actions/wallet/watchAsset.js +0 -12
- package/_cjs/actions/wallet/watchAsset.js.map +0 -1
- package/_cjs/actions/wallet/writeContract.js +0 -18
- package/_cjs/actions/wallet/writeContract.js.map +0 -1
- package/_cjs/chains/celo/formatters.js +0 -82
- package/_cjs/chains/celo/formatters.js.map +0 -1
- package/_cjs/chains/celo/parsers.js +0 -131
- package/_cjs/chains/celo/parsers.js.map +0 -1
- package/_cjs/chains/celo/serializers.js +0 -131
- package/_cjs/chains/celo/serializers.js.map +0 -1
- package/_cjs/chains/celo/types.js +0 -3
- package/_cjs/chains/celo/types.js.map +0 -1
- package/_cjs/chains/celo/utils.js +0 -44
- package/_cjs/chains/celo/utils.js.map +0 -1
- package/_cjs/chains/definitions/arbitrum.js +0 -24
- package/_cjs/chains/definitions/arbitrum.js.map +0 -1
- package/_cjs/chains/definitions/arbitrumGoerli.js +0 -30
- package/_cjs/chains/definitions/arbitrumGoerli.js.map +0 -1
- package/_cjs/chains/definitions/arbitrumNova.js +0 -24
- package/_cjs/chains/definitions/arbitrumNova.js.map +0 -1
- package/_cjs/chains/definitions/arbitrumSepolia.js +0 -32
- package/_cjs/chains/definitions/arbitrumSepolia.js.map +0 -1
- package/_cjs/chains/definitions/astar.js +0 -29
- package/_cjs/chains/definitions/astar.js.map +0 -1
- package/_cjs/chains/definitions/astarZkatana.js +0 -42
- package/_cjs/chains/definitions/astarZkatana.js.map +0 -1
- package/_cjs/chains/definitions/aurora.js +0 -20
- package/_cjs/chains/definitions/aurora.js.map +0 -1
- package/_cjs/chains/definitions/auroraTestnet.js +0 -21
- package/_cjs/chains/definitions/auroraTestnet.js.map +0 -1
- package/_cjs/chains/definitions/avalanche.js +0 -26
- package/_cjs/chains/definitions/avalanche.js.map +0 -1
- package/_cjs/chains/definitions/avalancheFuji.js +0 -27
- package/_cjs/chains/definitions/avalancheFuji.js.map +0 -1
- package/_cjs/chains/definitions/base.js +0 -29
- package/_cjs/chains/definitions/base.js.map +0 -1
- package/_cjs/chains/definitions/baseGoerli.js +0 -29
- package/_cjs/chains/definitions/baseGoerli.js.map +0 -1
- package/_cjs/chains/definitions/baseSepolia.js +0 -33
- package/_cjs/chains/definitions/baseSepolia.js.map +0 -1
- package/_cjs/chains/definitions/bearNetworkChainMainnet.js +0 -20
- package/_cjs/chains/definitions/bearNetworkChainMainnet.js.map +0 -1
- package/_cjs/chains/definitions/bearNetworkChainTestnet.js +0 -24
- package/_cjs/chains/definitions/bearNetworkChainTestnet.js.map +0 -1
- package/_cjs/chains/definitions/boba.js +0 -26
- package/_cjs/chains/definitions/boba.js.map +0 -1
- package/_cjs/chains/definitions/bronos.js +0 -20
- package/_cjs/chains/definitions/bronos.js.map +0 -1
- package/_cjs/chains/definitions/bronosTestnet.js +0 -21
- package/_cjs/chains/definitions/bronosTestnet.js.map +0 -1
- package/_cjs/chains/definitions/bsc.js +0 -26
- package/_cjs/chains/definitions/bsc.js.map +0 -1
- package/_cjs/chains/definitions/bscTestnet.js +0 -27
- package/_cjs/chains/definitions/bscTestnet.js.map +0 -1
- package/_cjs/chains/definitions/bxn.js +0 -21
- package/_cjs/chains/definitions/bxn.js.map +0 -1
- package/_cjs/chains/definitions/bxnTestnet.js +0 -25
- package/_cjs/chains/definitions/bxnTestnet.js.map +0 -1
- package/_cjs/chains/definitions/canto.js +0 -29
- package/_cjs/chains/definitions/canto.js.map +0 -1
- package/_cjs/chains/definitions/celo.js +0 -34
- package/_cjs/chains/definitions/celo.js.map +0 -1
- package/_cjs/chains/definitions/celoAlfajores.js +0 -36
- package/_cjs/chains/definitions/celoAlfajores.js.map +0 -1
- package/_cjs/chains/definitions/celoCannoli.js +0 -36
- package/_cjs/chains/definitions/celoCannoli.js.map +0 -1
- package/_cjs/chains/definitions/classic.js +0 -23
- package/_cjs/chains/definitions/classic.js.map +0 -1
- package/_cjs/chains/definitions/confluxESpace.js +0 -27
- package/_cjs/chains/definitions/confluxESpace.js.map +0 -1
- package/_cjs/chains/definitions/coreDao.js +0 -27
- package/_cjs/chains/definitions/coreDao.js.map +0 -1
- package/_cjs/chains/definitions/cronos.js +0 -26
- package/_cjs/chains/definitions/cronos.js.map +0 -1
- package/_cjs/chains/definitions/cronosTestnet.js +0 -30
- package/_cjs/chains/definitions/cronosTestnet.js.map +0 -1
- package/_cjs/chains/definitions/crossbell.js +0 -28
- package/_cjs/chains/definitions/crossbell.js.map +0 -1
- package/_cjs/chains/definitions/dfk.js +0 -25
- package/_cjs/chains/definitions/dfk.js.map +0 -1
- package/_cjs/chains/definitions/dogechain.js +0 -23
- package/_cjs/chains/definitions/dogechain.js.map +0 -1
- package/_cjs/chains/definitions/edgeware.js +0 -26
- package/_cjs/chains/definitions/edgeware.js.map +0 -1
- package/_cjs/chains/definitions/edgewareTestnet.js +0 -23
- package/_cjs/chains/definitions/edgewareTestnet.js.map +0 -1
- package/_cjs/chains/definitions/ekta.js +0 -20
- package/_cjs/chains/definitions/ekta.js.map +0 -1
- package/_cjs/chains/definitions/ektaTestnet.js +0 -21
- package/_cjs/chains/definitions/ektaTestnet.js.map +0 -1
- package/_cjs/chains/definitions/eon.js +0 -24
- package/_cjs/chains/definitions/eon.js.map +0 -1
- package/_cjs/chains/definitions/eos.js +0 -29
- package/_cjs/chains/definitions/eos.js.map +0 -1
- package/_cjs/chains/definitions/eosTestnet.js +0 -30
- package/_cjs/chains/definitions/eosTestnet.js.map +0 -1
- package/_cjs/chains/definitions/evmos.js +0 -20
- package/_cjs/chains/definitions/evmos.js.map +0 -1
- package/_cjs/chains/definitions/evmosTestnet.js +0 -23
- package/_cjs/chains/definitions/evmosTestnet.js.map +0 -1
- package/_cjs/chains/definitions/fantom.js +0 -26
- package/_cjs/chains/definitions/fantom.js.map +0 -1
- package/_cjs/chains/definitions/fantomTestnet.js +0 -26
- package/_cjs/chains/definitions/fantomTestnet.js.map +0 -1
- package/_cjs/chains/definitions/fibo.js +0 -20
- package/_cjs/chains/definitions/fibo.js.map +0 -1
- package/_cjs/chains/definitions/filecoin.js +0 -20
- package/_cjs/chains/definitions/filecoin.js.map +0 -1
- package/_cjs/chains/definitions/filecoinCalibration.js +0 -20
- package/_cjs/chains/definitions/filecoinCalibration.js.map +0 -1
- package/_cjs/chains/definitions/filecoinHyperspace.js +0 -20
- package/_cjs/chains/definitions/filecoinHyperspace.js.map +0 -1
- package/_cjs/chains/definitions/flare.js +0 -23
- package/_cjs/chains/definitions/flare.js.map +0 -1
- package/_cjs/chains/definitions/flareTestnet.js +0 -24
- package/_cjs/chains/definitions/flareTestnet.js.map +0 -1
- package/_cjs/chains/definitions/foundry.js +0 -20
- package/_cjs/chains/definitions/foundry.js.map +0 -1
- package/_cjs/chains/definitions/fuse.js +0 -22
- package/_cjs/chains/definitions/fuse.js.map +0 -1
- package/_cjs/chains/definitions/fuseSparknet.js +0 -19
- package/_cjs/chains/definitions/fuseSparknet.js.map +0 -1
- package/_cjs/chains/definitions/gnosis.js +0 -32
- package/_cjs/chains/definitions/gnosis.js.map +0 -1
- package/_cjs/chains/definitions/gnosisChiado.js +0 -33
- package/_cjs/chains/definitions/gnosisChiado.js.map +0 -1
- package/_cjs/chains/definitions/gobi.js +0 -22
- package/_cjs/chains/definitions/gobi.js.map +0 -1
- package/_cjs/chains/definitions/goerli.js +0 -35
- package/_cjs/chains/definitions/goerli.js.map +0 -1
- package/_cjs/chains/definitions/haqqMainnet.js +0 -25
- package/_cjs/chains/definitions/haqqMainnet.js.map +0 -1
- package/_cjs/chains/definitions/haqqTestedge2.js +0 -25
- package/_cjs/chains/definitions/haqqTestedge2.js.map +0 -1
- package/_cjs/chains/definitions/hardhat.js +0 -17
- package/_cjs/chains/definitions/hardhat.js.map +0 -1
- package/_cjs/chains/definitions/harmonyOne.js +0 -26
- package/_cjs/chains/definitions/harmonyOne.js.map +0 -1
- package/_cjs/chains/definitions/holesky.js +0 -22
- package/_cjs/chains/definitions/holesky.js.map +0 -1
- package/_cjs/chains/definitions/iotex.js +0 -23
- package/_cjs/chains/definitions/iotex.js.map +0 -1
- package/_cjs/chains/definitions/iotexTestnet.js +0 -23
- package/_cjs/chains/definitions/iotexTestnet.js.map +0 -1
- package/_cjs/chains/definitions/kava.js +0 -29
- package/_cjs/chains/definitions/kava.js.map +0 -1
- package/_cjs/chains/definitions/kavaTestnet.js +0 -32
- package/_cjs/chains/definitions/kavaTestnet.js.map +0 -1
- package/_cjs/chains/definitions/klaytn.js +0 -20
- package/_cjs/chains/definitions/klaytn.js.map +0 -1
- package/_cjs/chains/definitions/kroma.js +0 -22
- package/_cjs/chains/definitions/kroma.js.map +0 -1
- package/_cjs/chains/definitions/kromaSepolia.js +0 -22
- package/_cjs/chains/definitions/kromaSepolia.js.map +0 -1
- package/_cjs/chains/definitions/linea.js +0 -29
- package/_cjs/chains/definitions/linea.js.map +0 -1
- package/_cjs/chains/definitions/lineaTestnet.js +0 -29
- package/_cjs/chains/definitions/lineaTestnet.js.map +0 -1
- package/_cjs/chains/definitions/localhost.js +0 -17
- package/_cjs/chains/definitions/localhost.js.map +0 -1
- package/_cjs/chains/definitions/mainnet.js +0 -34
- package/_cjs/chains/definitions/mainnet.js.map +0 -1
- package/_cjs/chains/definitions/manta.js +0 -35
- package/_cjs/chains/definitions/manta.js.map +0 -1
- package/_cjs/chains/definitions/mantaTestnet.js +0 -36
- package/_cjs/chains/definitions/mantaTestnet.js.map +0 -1
- package/_cjs/chains/definitions/mantle.js +0 -29
- package/_cjs/chains/definitions/mantle.js.map +0 -1
- package/_cjs/chains/definitions/mantleTestnet.js +0 -24
- package/_cjs/chains/definitions/mantleTestnet.js.map +0 -1
- package/_cjs/chains/definitions/meter.js +0 -20
- package/_cjs/chains/definitions/meter.js.map +0 -1
- package/_cjs/chains/definitions/meterTestnet.js +0 -23
- package/_cjs/chains/definitions/meterTestnet.js.map +0 -1
- package/_cjs/chains/definitions/metis.js +0 -29
- package/_cjs/chains/definitions/metis.js.map +0 -1
- package/_cjs/chains/definitions/metisGoerli.js +0 -29
- package/_cjs/chains/definitions/metisGoerli.js.map +0 -1
- package/_cjs/chains/definitions/mev.js +0 -31
- package/_cjs/chains/definitions/mev.js.map +0 -1
- package/_cjs/chains/definitions/mevTestnet.js +0 -32
- package/_cjs/chains/definitions/mevTestnet.js.map +0 -1
- package/_cjs/chains/definitions/modeTestnet.js +0 -28
- package/_cjs/chains/definitions/modeTestnet.js.map +0 -1
- package/_cjs/chains/definitions/moonbaseAlpha.js +0 -33
- package/_cjs/chains/definitions/moonbaseAlpha.js.map +0 -1
- package/_cjs/chains/definitions/moonbeam.js +0 -33
- package/_cjs/chains/definitions/moonbeam.js.map +0 -1
- package/_cjs/chains/definitions/moonbeamDev.js +0 -20
- package/_cjs/chains/definitions/moonbeamDev.js.map +0 -1
- package/_cjs/chains/definitions/moonriver.js +0 -33
- package/_cjs/chains/definitions/moonriver.js.map +0 -1
- package/_cjs/chains/definitions/neonDevnet.js +0 -28
- package/_cjs/chains/definitions/neonDevnet.js.map +0 -1
- package/_cjs/chains/definitions/neonMainnet.js +0 -27
- package/_cjs/chains/definitions/neonMainnet.js.map +0 -1
- package/_cjs/chains/definitions/nexi.js +0 -27
- package/_cjs/chains/definitions/nexi.js.map +0 -1
- package/_cjs/chains/definitions/nexilix.js +0 -26
- package/_cjs/chains/definitions/nexilix.js.map +0 -1
- package/_cjs/chains/definitions/oasys.js +0 -21
- package/_cjs/chains/definitions/oasys.js.map +0 -1
- package/_cjs/chains/definitions/okc.js +0 -26
- package/_cjs/chains/definitions/okc.js.map +0 -1
- package/_cjs/chains/definitions/opBNB.js +0 -26
- package/_cjs/chains/definitions/opBNB.js.map +0 -1
- package/_cjs/chains/definitions/opBNBTestnet.js +0 -27
- package/_cjs/chains/definitions/opBNBTestnet.js.map +0 -1
- package/_cjs/chains/definitions/optimism.js +0 -29
- package/_cjs/chains/definitions/optimism.js.map +0 -1
- package/_cjs/chains/definitions/optimismGoerli.js +0 -30
- package/_cjs/chains/definitions/optimismGoerli.js.map +0 -1
- package/_cjs/chains/definitions/optimismSepolia.js +0 -30
- package/_cjs/chains/definitions/optimismSepolia.js.map +0 -1
- package/_cjs/chains/definitions/plinga.js +0 -27
- package/_cjs/chains/definitions/plinga.js.map +0 -1
- package/_cjs/chains/definitions/polygon.js +0 -27
- package/_cjs/chains/definitions/polygon.js.map +0 -1
- package/_cjs/chains/definitions/polygonMumbai.js +0 -28
- package/_cjs/chains/definitions/polygonMumbai.js.map +0 -1
- package/_cjs/chains/definitions/polygonZkEvm.js +0 -27
- package/_cjs/chains/definitions/polygonZkEvm.js.map +0 -1
- package/_cjs/chains/definitions/polygonZkEvmTestnet.js +0 -28
- package/_cjs/chains/definitions/polygonZkEvmTestnet.js.map +0 -1
- package/_cjs/chains/definitions/pulsechain.js +0 -32
- package/_cjs/chains/definitions/pulsechain.js.map +0 -1
- package/_cjs/chains/definitions/pulsechainV4.js +0 -32
- package/_cjs/chains/definitions/pulsechainV4.js.map +0 -1
- package/_cjs/chains/definitions/qMainnet.js +0 -23
- package/_cjs/chains/definitions/qMainnet.js.map +0 -1
- package/_cjs/chains/definitions/qTestnet.js +0 -24
- package/_cjs/chains/definitions/qTestnet.js.map +0 -1
- package/_cjs/chains/definitions/rollux.js +0 -29
- package/_cjs/chains/definitions/rollux.js.map +0 -1
- package/_cjs/chains/definitions/rolluxTestnet.js +0 -32
- package/_cjs/chains/definitions/rolluxTestnet.js.map +0 -1
- package/_cjs/chains/definitions/ronin.js +0 -24
- package/_cjs/chains/definitions/ronin.js.map +0 -1
- package/_cjs/chains/definitions/saigon.js +0 -28
- package/_cjs/chains/definitions/saigon.js.map +0 -1
- package/_cjs/chains/definitions/scroll.js +0 -29
- package/_cjs/chains/definitions/scroll.js.map +0 -1
- package/_cjs/chains/definitions/scrollSepolia.js +0 -28
- package/_cjs/chains/definitions/scrollSepolia.js.map +0 -1
- package/_cjs/chains/definitions/scrollTestnet.js +0 -23
- package/_cjs/chains/definitions/scrollTestnet.js.map +0 -1
- package/_cjs/chains/definitions/sepolia.js +0 -33
- package/_cjs/chains/definitions/sepolia.js.map +0 -1
- package/_cjs/chains/definitions/shardeumSphinx.js +0 -22
- package/_cjs/chains/definitions/shardeumSphinx.js.map +0 -1
- package/_cjs/chains/definitions/skale/brawl.js +0 -23
- package/_cjs/chains/definitions/skale/brawl.js.map +0 -1
- package/_cjs/chains/definitions/skale/calypso.js +0 -30
- package/_cjs/chains/definitions/skale/calypso.js.map +0 -1
- package/_cjs/chains/definitions/skale/calypsoTestnet.js +0 -33
- package/_cjs/chains/definitions/skale/calypsoTestnet.js.map +0 -1
- package/_cjs/chains/definitions/skale/chaosTestnet.js +0 -33
- package/_cjs/chains/definitions/skale/chaosTestnet.js.map +0 -1
- package/_cjs/chains/definitions/skale/cryptoBlades.js +0 -25
- package/_cjs/chains/definitions/skale/cryptoBlades.js.map +0 -1
- package/_cjs/chains/definitions/skale/cryptoColosseum.js +0 -23
- package/_cjs/chains/definitions/skale/cryptoColosseum.js.map +0 -1
- package/_cjs/chains/definitions/skale/europa.js +0 -28
- package/_cjs/chains/definitions/skale/europa.js.map +0 -1
- package/_cjs/chains/definitions/skale/europaTestnet.js +0 -31
- package/_cjs/chains/definitions/skale/europaTestnet.js.map +0 -1
- package/_cjs/chains/definitions/skale/exorde.js +0 -23
- package/_cjs/chains/definitions/skale/exorde.js.map +0 -1
- package/_cjs/chains/definitions/skale/humanProtocol.js +0 -23
- package/_cjs/chains/definitions/skale/humanProtocol.js.map +0 -1
- package/_cjs/chains/definitions/skale/nebula.js +0 -28
- package/_cjs/chains/definitions/skale/nebula.js.map +0 -1
- package/_cjs/chains/definitions/skale/nebulaTestnet.js +0 -31
- package/_cjs/chains/definitions/skale/nebulaTestnet.js.map +0 -1
- package/_cjs/chains/definitions/skale/razor.js +0 -23
- package/_cjs/chains/definitions/skale/razor.js.map +0 -1
- package/_cjs/chains/definitions/skale/titan.js +0 -28
- package/_cjs/chains/definitions/skale/titan.js.map +0 -1
- package/_cjs/chains/definitions/skale/titanTestnet.js +0 -33
- package/_cjs/chains/definitions/skale/titanTestnet.js.map +0 -1
- package/_cjs/chains/definitions/songbird.js +0 -23
- package/_cjs/chains/definitions/songbird.js.map +0 -1
- package/_cjs/chains/definitions/songbirdTestnet.js +0 -24
- package/_cjs/chains/definitions/songbirdTestnet.js.map +0 -1
- package/_cjs/chains/definitions/syscoin.js +0 -29
- package/_cjs/chains/definitions/syscoin.js.map +0 -1
- package/_cjs/chains/definitions/syscoinTestnet.js +0 -29
- package/_cjs/chains/definitions/syscoinTestnet.js.map +0 -1
- package/_cjs/chains/definitions/taikoJolnir.js +0 -21
- package/_cjs/chains/definitions/taikoJolnir.js.map +0 -1
- package/_cjs/chains/definitions/taikoTestnetSepolia.js +0 -21
- package/_cjs/chains/definitions/taikoTestnetSepolia.js.map +0 -1
- package/_cjs/chains/definitions/taraxa.js +0 -21
- package/_cjs/chains/definitions/taraxa.js.map +0 -1
- package/_cjs/chains/definitions/taraxaTestnet.js +0 -22
- package/_cjs/chains/definitions/taraxaTestnet.js.map +0 -1
- package/_cjs/chains/definitions/telos.js +0 -29
- package/_cjs/chains/definitions/telos.js.map +0 -1
- package/_cjs/chains/definitions/telosTestnet.js +0 -24
- package/_cjs/chains/definitions/telosTestnet.js.map +0 -1
- package/_cjs/chains/definitions/tenet.js +0 -23
- package/_cjs/chains/definitions/tenet.js.map +0 -1
- package/_cjs/chains/definitions/thunderTestnet.js +0 -22
- package/_cjs/chains/definitions/thunderTestnet.js.map +0 -1
- package/_cjs/chains/definitions/vechain.js +0 -25
- package/_cjs/chains/definitions/vechain.js.map +0 -1
- package/_cjs/chains/definitions/wanchain.js +0 -30
- package/_cjs/chains/definitions/wanchain.js.map +0 -1
- package/_cjs/chains/definitions/wanchainTestnet.js +0 -28
- package/_cjs/chains/definitions/wanchainTestnet.js.map +0 -1
- package/_cjs/chains/definitions/xdc.js +0 -21
- package/_cjs/chains/definitions/xdc.js.map +0 -1
- package/_cjs/chains/definitions/xdcTestnet.js +0 -21
- package/_cjs/chains/definitions/xdcTestnet.js.map +0 -1
- package/_cjs/chains/definitions/zetachainAthensTestnet.js +0 -26
- package/_cjs/chains/definitions/zetachainAthensTestnet.js.map +0 -1
- package/_cjs/chains/definitions/zhejiang.js +0 -22
- package/_cjs/chains/definitions/zhejiang.js.map +0 -1
- package/_cjs/chains/definitions/zkSync.js +0 -36
- package/_cjs/chains/definitions/zkSync.js.map +0 -1
- package/_cjs/chains/definitions/zkSyncTestnet.js +0 -33
- package/_cjs/chains/definitions/zkSyncTestnet.js.map +0 -1
- package/_cjs/chains/definitions/zora.js +0 -31
- package/_cjs/chains/definitions/zora.js.map +0 -1
- package/_cjs/chains/definitions/zoraSepolia.js +0 -40
- package/_cjs/chains/definitions/zoraSepolia.js.map +0 -1
- package/_cjs/chains/definitions/zoraTestnet.js +0 -35
- package/_cjs/chains/definitions/zoraTestnet.js.map +0 -1
- package/_cjs/chains/index.js +0 -319
- package/_cjs/chains/index.js.map +0 -1
- package/_cjs/chains/optimism/formatters.js +0 -54
- package/_cjs/chains/optimism/formatters.js.map +0 -1
- package/_cjs/chains/optimism/types.js +0 -3
- package/_cjs/chains/optimism/types.js.map +0 -1
- package/_cjs/chains/utils.js +0 -23
- package/_cjs/chains/utils.js.map +0 -1
- package/_cjs/chains/zksync/formatters.js +0 -128
- package/_cjs/chains/zksync/formatters.js.map +0 -1
- package/_cjs/chains/zksync/serializers.js +0 -74
- package/_cjs/chains/zksync/serializers.js.map +0 -1
- package/_cjs/chains/zksync/types.js +0 -3
- package/_cjs/chains/zksync/types.js.map +0 -1
- package/_cjs/clients/createClient.js +0 -42
- package/_cjs/clients/createClient.js.map +0 -1
- package/_cjs/clients/createPublicClient.js +0 -17
- package/_cjs/clients/createPublicClient.js.map +0 -1
- package/_cjs/clients/createTestClient.js +0 -20
- package/_cjs/clients/createTestClient.js.map +0 -1
- package/_cjs/clients/createWalletClient.js +0 -18
- package/_cjs/clients/createWalletClient.js.map +0 -1
- package/_cjs/clients/decorators/public.js +0 -101
- package/_cjs/clients/decorators/public.js.map +0 -1
- package/_cjs/clients/decorators/test.js +0 -70
- package/_cjs/clients/decorators/test.js.map +0 -1
- package/_cjs/clients/decorators/wallet.js +0 -41
- package/_cjs/clients/decorators/wallet.js.map +0 -1
- package/_cjs/clients/transports/createTransport.js +0 -13
- package/_cjs/clients/transports/createTransport.js.map +0 -1
- package/_cjs/clients/transports/custom.js +0 -17
- package/_cjs/clients/transports/custom.js.map +0 -1
- package/_cjs/clients/transports/fallback.js +0 -122
- package/_cjs/clients/transports/fallback.js.map +0 -1
- package/_cjs/clients/transports/http.js +0 -59
- package/_cjs/clients/transports/http.js.map +0 -1
- package/_cjs/clients/transports/webSocket.js +0 -81
- package/_cjs/clients/transports/webSocket.js.map +0 -1
- package/_cjs/constants/abis.js +0 -1350
- package/_cjs/constants/abis.js.map +0 -1
- package/_cjs/constants/address.js +0 -5
- package/_cjs/constants/address.js.map +0 -1
- package/_cjs/constants/contract.js +0 -5
- package/_cjs/constants/contract.js.map +0 -1
- package/_cjs/constants/contracts.js +0 -5
- package/_cjs/constants/contracts.js.map +0 -1
- package/_cjs/constants/number.js +0 -101
- package/_cjs/constants/number.js.map +0 -1
- package/_cjs/constants/solidity.js +0 -35
- package/_cjs/constants/solidity.js.map +0 -1
- package/_cjs/constants/unit.js +0 -16
- package/_cjs/constants/unit.js.map +0 -1
- package/_cjs/ens/index.js +0 -20
- package/_cjs/ens/index.js.map +0 -1
- package/_cjs/errors/abi.js +0 -461
- package/_cjs/errors/abi.js.map +0 -1
- package/_cjs/errors/account.js +0 -23
- package/_cjs/errors/account.js.map +0 -1
- package/_cjs/errors/address.js +0 -17
- package/_cjs/errors/address.js.map +0 -1
- package/_cjs/errors/base.js +0 -83
- package/_cjs/errors/base.js.map +0 -1
- package/_cjs/errors/block.js +0 -22
- package/_cjs/errors/block.js.map +0 -1
- package/_cjs/errors/ccip.js +0 -69
- package/_cjs/errors/ccip.js.map +0 -1
- package/_cjs/errors/chain.js +0 -86
- package/_cjs/errors/chain.js.map +0 -1
- package/_cjs/errors/contract.js +0 -286
- package/_cjs/errors/contract.js.map +0 -1
- package/_cjs/errors/cursor.js +0 -29
- package/_cjs/errors/cursor.js.map +0 -1
- package/_cjs/errors/data.js +0 -31
- package/_cjs/errors/data.js.map +0 -1
- package/_cjs/errors/encoding.js +0 -65
- package/_cjs/errors/encoding.js.map +0 -1
- package/_cjs/errors/ens.js +0 -59
- package/_cjs/errors/ens.js.map +0 -1
- package/_cjs/errors/estimateGas.js +0 -49
- package/_cjs/errors/estimateGas.js.map +0 -1
- package/_cjs/errors/fee.js +0 -42
- package/_cjs/errors/fee.js.map +0 -1
- package/_cjs/errors/log.js +0 -17
- package/_cjs/errors/log.js.map +0 -1
- package/_cjs/errors/node.js +0 -262
- package/_cjs/errors/node.js.map +0 -1
- package/_cjs/errors/request.js +0 -107
- package/_cjs/errors/request.js.map +0 -1
- package/_cjs/errors/rpc.js +0 -448
- package/_cjs/errors/rpc.js.map +0 -1
- package/_cjs/errors/transaction.js +0 -225
- package/_cjs/errors/transaction.js.map +0 -1
- package/_cjs/errors/transport.js +0 -13
- package/_cjs/errors/transport.js.map +0 -1
- package/_cjs/index.js +0 -482
- package/_cjs/index.js.map +0 -1
- package/_cjs/types/account.js +0 -3
- package/_cjs/types/account.js.map +0 -1
- package/_cjs/types/block.js +0 -3
- package/_cjs/types/block.js.map +0 -1
- package/_cjs/types/chain.js +0 -3
- package/_cjs/types/chain.js.map +0 -1
- package/_cjs/types/contract.js +0 -3
- package/_cjs/types/contract.js.map +0 -1
- package/_cjs/types/eip1193.js +0 -24
- package/_cjs/types/eip1193.js.map +0 -1
- package/_cjs/types/ens.js +0 -3
- package/_cjs/types/ens.js.map +0 -1
- package/_cjs/types/fee.js +0 -3
- package/_cjs/types/fee.js.map +0 -1
- package/_cjs/types/filter.js +0 -3
- package/_cjs/types/filter.js.map +0 -1
- package/_cjs/types/log.js +0 -3
- package/_cjs/types/log.js.map +0 -1
- package/_cjs/types/misc.js +0 -3
- package/_cjs/types/misc.js.map +0 -1
- package/_cjs/types/multicall.js +0 -3
- package/_cjs/types/multicall.js.map +0 -1
- package/_cjs/types/proof.js +0 -3
- package/_cjs/types/proof.js.map +0 -1
- package/_cjs/types/rpc.js +0 -3
- package/_cjs/types/rpc.js.map +0 -1
- package/_cjs/types/transaction.js +0 -3
- package/_cjs/types/transaction.js.map +0 -1
- package/_cjs/types/transport.js +0 -3
- package/_cjs/types/transport.js.map +0 -1
- package/_cjs/types/typedData.js +0 -3
- package/_cjs/types/typedData.js.map +0 -1
- package/_cjs/types/utils.js +0 -3
- package/_cjs/types/utils.js.map +0 -1
- package/_cjs/types/window.js +0 -3
- package/_cjs/types/window.js.map +0 -1
- package/_cjs/types/withdrawal.js +0 -3
- package/_cjs/types/withdrawal.js.map +0 -1
- package/_cjs/utils/abi/decodeAbiParameters.js +0 -210
- package/_cjs/utils/abi/decodeAbiParameters.js.map +0 -1
- package/_cjs/utils/abi/decodeDeployData.js +0 -22
- package/_cjs/utils/abi/decodeDeployData.js.map +0 -1
- package/_cjs/utils/abi/decodeErrorResult.js +0 -30
- package/_cjs/utils/abi/decodeErrorResult.js.map +0 -1
- package/_cjs/utils/abi/decodeEventLog.js +0 -85
- package/_cjs/utils/abi/decodeEventLog.js.map +0 -1
- package/_cjs/utils/abi/decodeFunctionData.js +0 -28
- package/_cjs/utils/abi/decodeFunctionData.js.map +0 -1
- package/_cjs/utils/abi/decodeFunctionResult.js +0 -29
- package/_cjs/utils/abi/decodeFunctionResult.js.map +0 -1
- package/_cjs/utils/abi/encodeAbiParameters.js +0 -211
- package/_cjs/utils/abi/encodeAbiParameters.js.map +0 -1
- package/_cjs/utils/abi/encodeDeployData.js +0 -23
- package/_cjs/utils/abi/encodeDeployData.js.map +0 -1
- package/_cjs/utils/abi/encodeErrorResult.js +0 -33
- package/_cjs/utils/abi/encodeErrorResult.js.map +0 -1
- package/_cjs/utils/abi/encodeEventTopics.js +0 -53
- package/_cjs/utils/abi/encodeEventTopics.js.map +0 -1
- package/_cjs/utils/abi/encodeFunctionData.js +0 -34
- package/_cjs/utils/abi/encodeFunctionData.js.map +0 -1
- package/_cjs/utils/abi/encodeFunctionResult.js +0 -27
- package/_cjs/utils/abi/encodeFunctionResult.js.map +0 -1
- package/_cjs/utils/abi/encodePacked.js +0 -73
- package/_cjs/utils/abi/encodePacked.js.map +0 -1
- package/_cjs/utils/abi/formatAbiItem.js +0 -27
- package/_cjs/utils/abi/formatAbiItem.js.map +0 -1
- package/_cjs/utils/abi/formatAbiItemWithArgs.js +0 -17
- package/_cjs/utils/abi/formatAbiItemWithArgs.js.map +0 -1
- package/_cjs/utils/abi/getAbiItem.js +0 -84
- package/_cjs/utils/abi/getAbiItem.js.map +0 -1
- package/_cjs/utils/accounts.js +0 -8
- package/_cjs/utils/accounts.js.map +0 -1
- package/_cjs/utils/address/getAddress.js +0 -31
- package/_cjs/utils/address/getAddress.js.map +0 -1
- package/_cjs/utils/address/getContractAddress.js +0 -42
- package/_cjs/utils/address/getContractAddress.js.map +0 -1
- package/_cjs/utils/address/isAddress.js +0 -9
- package/_cjs/utils/address/isAddress.js.map +0 -1
- package/_cjs/utils/address/isAddressEqual.js +0 -14
- package/_cjs/utils/address/isAddressEqual.js.map +0 -1
- package/_cjs/utils/buildRequest.js +0 -93
- package/_cjs/utils/buildRequest.js.map +0 -1
- package/_cjs/utils/ccip.js +0 -121
- package/_cjs/utils/ccip.js.map +0 -1
- package/_cjs/utils/chain/assertCurrentChain.js +0 -12
- package/_cjs/utils/chain/assertCurrentChain.js.map +0 -1
- package/_cjs/utils/chain/defineChain.js +0 -13
- package/_cjs/utils/chain/defineChain.js.map +0 -1
- package/_cjs/utils/chain/extractChain.js +0 -8
- package/_cjs/utils/chain/extractChain.js.map +0 -1
- package/_cjs/utils/chain/getChainContractAddress.js +0 -26
- package/_cjs/utils/chain/getChainContractAddress.js.map +0 -1
- package/_cjs/utils/cursor.js +0 -134
- package/_cjs/utils/cursor.js.map +0 -1
- package/_cjs/utils/data/concat.js +0 -28
- package/_cjs/utils/data/concat.js.map +0 -1
- package/_cjs/utils/data/isBytes.js +0 -14
- package/_cjs/utils/data/isBytes.js.map +0 -1
- package/_cjs/utils/data/isBytesEqual.js +0 -13
- package/_cjs/utils/data/isBytesEqual.js.map +0 -1
- package/_cjs/utils/data/isHex.js +0 -12
- package/_cjs/utils/data/isHex.js.map +0 -1
- package/_cjs/utils/data/pad.js +0 -42
- package/_cjs/utils/data/pad.js.map +0 -1
- package/_cjs/utils/data/size.js +0 -11
- package/_cjs/utils/data/size.js.map +0 -1
- package/_cjs/utils/data/slice.js +0 -54
- package/_cjs/utils/data/slice.js.map +0 -1
- package/_cjs/utils/data/trim.js +0 -25
- package/_cjs/utils/data/trim.js.map +0 -1
- package/_cjs/utils/encoding/fromBytes.js +0 -56
- package/_cjs/utils/encoding/fromBytes.js.map +0 -1
- package/_cjs/utils/encoding/fromHex.js +0 -70
- package/_cjs/utils/encoding/fromHex.js.map +0 -1
- package/_cjs/utils/encoding/fromRlp.js +0 -67
- package/_cjs/utils/encoding/fromRlp.js.map +0 -1
- package/_cjs/utils/encoding/toBytes.js +0 -83
- package/_cjs/utils/encoding/toBytes.js.map +0 -1
- package/_cjs/utils/encoding/toHex.js +0 -79
- package/_cjs/utils/encoding/toHex.js.map +0 -1
- package/_cjs/utils/encoding/toRlp.js +0 -105
- package/_cjs/utils/encoding/toRlp.js.map +0 -1
- package/_cjs/utils/ens/avatar/parseAvatarRecord.js +0 -34
- package/_cjs/utils/ens/avatar/parseAvatarRecord.js.map +0 -1
- package/_cjs/utils/ens/avatar/utils.js +0 -186
- package/_cjs/utils/ens/avatar/utils.js.map +0 -1
- package/_cjs/utils/ens/encodeLabelhash.js +0 -8
- package/_cjs/utils/ens/encodeLabelhash.js.map +0 -1
- package/_cjs/utils/ens/encodedLabelToLabelhash.js +0 -18
- package/_cjs/utils/ens/encodedLabelToLabelhash.js.map +0 -1
- package/_cjs/utils/ens/errors.js +0 -24
- package/_cjs/utils/ens/errors.js.map +0 -1
- package/_cjs/utils/ens/labelhash.js +0 -15
- package/_cjs/utils/ens/labelhash.js.map +0 -1
- package/_cjs/utils/ens/namehash.js +0 -24
- package/_cjs/utils/ens/namehash.js.map +0 -1
- package/_cjs/utils/ens/normalize.js +0 -9
- package/_cjs/utils/ens/normalize.js.map +0 -1
- package/_cjs/utils/ens/packetToBytes.js +0 -27
- package/_cjs/utils/ens/packetToBytes.js.map +0 -1
- package/_cjs/utils/errors/getCallError.js +0 -20
- package/_cjs/utils/errors/getCallError.js.map +0 -1
- package/_cjs/utils/errors/getContractError.js +0 -39
- package/_cjs/utils/errors/getContractError.js.map +0 -1
- package/_cjs/utils/errors/getEstimateGasError.js +0 -20
- package/_cjs/utils/errors/getEstimateGasError.js.map +0 -1
- package/_cjs/utils/errors/getNodeError.js +0 -65
- package/_cjs/utils/errors/getNodeError.js.map +0 -1
- package/_cjs/utils/errors/getTransactionError.js +0 -20
- package/_cjs/utils/errors/getTransactionError.js.map +0 -1
- package/_cjs/utils/filters/createFilterRequestScope.js +0 -14
- package/_cjs/utils/filters/createFilterRequestScope.js.map +0 -1
- package/_cjs/utils/formatters/block.js +0 -32
- package/_cjs/utils/formatters/block.js.map +0 -1
- package/_cjs/utils/formatters/extract.js +0 -24
- package/_cjs/utils/formatters/extract.js.map +0 -1
- package/_cjs/utils/formatters/feeHistory.js +0 -13
- package/_cjs/utils/formatters/feeHistory.js.map +0 -1
- package/_cjs/utils/formatters/formatter.js +0 -25
- package/_cjs/utils/formatters/formatter.js.map +0 -1
- package/_cjs/utils/formatters/log.js +0 -18
- package/_cjs/utils/formatters/log.js.map +0 -1
- package/_cjs/utils/formatters/proof.js +0 -22
- package/_cjs/utils/formatters/proof.js.map +0 -1
- package/_cjs/utils/formatters/transaction.js +0 -50
- package/_cjs/utils/formatters/transaction.js.map +0 -1
- package/_cjs/utils/formatters/transactionReceipt.js +0 -47
- package/_cjs/utils/formatters/transactionReceipt.js.map +0 -1
- package/_cjs/utils/formatters/transactionRequest.js +0 -39
- package/_cjs/utils/formatters/transactionRequest.js.map +0 -1
- package/_cjs/utils/getAction.js +0 -8
- package/_cjs/utils/getAction.js.map +0 -1
- package/_cjs/utils/hash/getEventSelector.js +0 -10
- package/_cjs/utils/hash/getEventSelector.js.map +0 -1
- package/_cjs/utils/hash/getEventSignature.js +0 -9
- package/_cjs/utils/hash/getEventSignature.js.map +0 -1
- package/_cjs/utils/hash/getFunctionSelector.js +0 -11
- package/_cjs/utils/hash/getFunctionSelector.js.map +0 -1
- package/_cjs/utils/hash/getFunctionSignature.js +0 -15
- package/_cjs/utils/hash/getFunctionSignature.js.map +0 -1
- package/_cjs/utils/hash/hashFunction.js +0 -17
- package/_cjs/utils/hash/hashFunction.js.map +0 -1
- package/_cjs/utils/hash/isHash.js +0 -10
- package/_cjs/utils/hash/isHash.js.map +0 -1
- package/_cjs/utils/hash/keccak256.js +0 -16
- package/_cjs/utils/hash/keccak256.js.map +0 -1
- package/_cjs/utils/hash/normalizeSignature.js +0 -48
- package/_cjs/utils/hash/normalizeSignature.js.map +0 -1
- package/_cjs/utils/index.js +0 -213
- package/_cjs/utils/index.js.map +0 -1
- package/_cjs/utils/observe.js +0 -42
- package/_cjs/utils/observe.js.map +0 -1
- package/_cjs/utils/poll.js +0 -27
- package/_cjs/utils/poll.js.map +0 -1
- package/_cjs/utils/promise/createBatchScheduler.js +0 -49
- package/_cjs/utils/promise/createBatchScheduler.js.map +0 -1
- package/_cjs/utils/promise/withCache.js +0 -47
- package/_cjs/utils/promise/withCache.js.map +0 -1
- package/_cjs/utils/promise/withRetry.js +0 -29
- package/_cjs/utils/promise/withRetry.js.map +0 -1
- package/_cjs/utils/promise/withTimeout.js +0 -35
- package/_cjs/utils/promise/withTimeout.js.map +0 -1
- package/_cjs/utils/regex.js +0 -7
- package/_cjs/utils/regex.js.map +0 -1
- package/_cjs/utils/rpc.js +0 -154
- package/_cjs/utils/rpc.js.map +0 -1
- package/_cjs/utils/signature/compactSignatureToHex.js +0 -10
- package/_cjs/utils/signature/compactSignatureToHex.js.map +0 -1
- package/_cjs/utils/signature/compactSignatureToSignature.js +0 -15
- package/_cjs/utils/signature/compactSignatureToSignature.js.map +0 -1
- package/_cjs/utils/signature/hashMessage.js +0 -19
- package/_cjs/utils/signature/hashMessage.js.map +0 -1
- package/_cjs/utils/signature/hashTypedData.js +0 -124
- package/_cjs/utils/signature/hashTypedData.js.map +0 -1
- package/_cjs/utils/signature/hexToCompactSignature.js +0 -14
- package/_cjs/utils/signature/hexToCompactSignature.js.map +0 -1
- package/_cjs/utils/signature/hexToSignature.js +0 -12
- package/_cjs/utils/signature/hexToSignature.js.map +0 -1
- package/_cjs/utils/signature/recoverAddress.js +0 -10
- package/_cjs/utils/signature/recoverAddress.js.map +0 -1
- package/_cjs/utils/signature/recoverMessageAddress.js +0 -10
- package/_cjs/utils/signature/recoverMessageAddress.js.map +0 -1
- package/_cjs/utils/signature/recoverPublicKey.js +0 -21
- package/_cjs/utils/signature/recoverPublicKey.js.map +0 -1
- package/_cjs/utils/signature/recoverTypedDataAddress.js +0 -19
- package/_cjs/utils/signature/recoverTypedDataAddress.js.map +0 -1
- package/_cjs/utils/signature/signatureToCompactSignature.js +0 -17
- package/_cjs/utils/signature/signatureToCompactSignature.js.map +0 -1
- package/_cjs/utils/signature/signatureToHex.js +0 -11
- package/_cjs/utils/signature/signatureToHex.js.map +0 -1
- package/_cjs/utils/signature/verifyMessage.js +0 -11
- package/_cjs/utils/signature/verifyMessage.js.map +0 -1
- package/_cjs/utils/signature/verifyTypedData.js +0 -18
- package/_cjs/utils/signature/verifyTypedData.js.map +0 -1
- package/_cjs/utils/stringify.js +0 -9
- package/_cjs/utils/stringify.js.map +0 -1
- package/_cjs/utils/transaction/assertRequest.js +0 -28
- package/_cjs/utils/transaction/assertRequest.js.map +0 -1
- package/_cjs/utils/transaction/assertTransaction.js +0 -51
- package/_cjs/utils/transaction/assertTransaction.js.map +0 -1
- package/_cjs/utils/transaction/getSerializedTransactionType.js +0 -18
- package/_cjs/utils/transaction/getSerializedTransactionType.js.map +0 -1
- package/_cjs/utils/transaction/getTransactionType.js +0 -19
- package/_cjs/utils/transaction/getTransactionType.js.map +0 -1
- package/_cjs/utils/transaction/parseTransaction.js +0 -213
- package/_cjs/utils/transaction/parseTransaction.js.map +0 -1
- package/_cjs/utils/transaction/serializeAccessList.js +0 -26
- package/_cjs/utils/transaction/serializeAccessList.js.map +0 -1
- package/_cjs/utils/transaction/serializeTransaction.js +0 -107
- package/_cjs/utils/transaction/serializeTransaction.js.map +0 -1
- package/_cjs/utils/typedData.js +0 -75
- package/_cjs/utils/typedData.js.map +0 -1
- package/_cjs/utils/uid.js +0 -18
- package/_cjs/utils/uid.js.map +0 -1
- package/_cjs/utils/unit/formatEther.js +0 -10
- package/_cjs/utils/unit/formatEther.js.map +0 -1
- package/_cjs/utils/unit/formatGwei.js +0 -10
- package/_cjs/utils/unit/formatGwei.js.map +0 -1
- package/_cjs/utils/unit/formatUnits.js +0 -18
- package/_cjs/utils/unit/formatUnits.js.map +0 -1
- package/_cjs/utils/unit/parseEther.js +0 -10
- package/_cjs/utils/unit/parseEther.js.map +0 -1
- package/_cjs/utils/unit/parseGwei.js +0 -10
- package/_cjs/utils/unit/parseGwei.js.map +0 -1
- package/_cjs/utils/unit/parseUnits.js +0 -38
- package/_cjs/utils/unit/parseUnits.js.map +0 -1
- package/_cjs/utils/wait.js +0 -8
- package/_cjs/utils/wait.js.map +0 -1
- package/_cjs/window/index.js +0 -4
- package/_cjs/window/index.js.map +0 -1
- package/_esm/chains/optimism/formatters.js.map +0 -1
- package/_esm/chains/optimism/types.js.map +0 -1
- package/_types/chains/optimism/types.d.ts +0 -53
- package/_types/chains/optimism/types.d.ts.map +0 -1
- /package/_esm/chains/{optimism → opStack}/types.js +0 -0
@@ -0,0 +1,53 @@
|
|
1
|
+
import type { Block, BlockTag } from '../../types/block.js';
|
2
|
+
import type { FeeValuesEIP1559 } from '../../types/fee.js';
|
3
|
+
import type { Hash, Hex } from '../../types/misc.js';
|
4
|
+
import type { Index, Quantity, RpcBlock, RpcTransaction as RpcTransaction_, RpcTransactionReceipt } from '../../types/rpc.js';
|
5
|
+
import type { Transaction as Transaction_, TransactionBase, TransactionReceipt } from '../../types/transaction.js';
|
6
|
+
export type OpStackBlockOverrides = {
|
7
|
+
stateRoot: Hash;
|
8
|
+
};
|
9
|
+
export type OpStackBlock<TIncludeTransactions extends boolean = boolean, TBlockTag extends BlockTag = BlockTag> = Block<bigint, TIncludeTransactions, TBlockTag, OpStackTransaction<TBlockTag extends 'pending' ? true : false>> & OpStackBlockOverrides;
|
10
|
+
export type OpStackRpcBlockOverrides = {
|
11
|
+
stateRoot: Hash;
|
12
|
+
};
|
13
|
+
export type OpStackRpcBlock<TBlockTag extends BlockTag = BlockTag, TIncludeTransactions extends boolean = boolean> = RpcBlock<TBlockTag, TIncludeTransactions, OpStackRpcTransaction<TBlockTag extends 'pending' ? true : false>> & OpStackRpcBlockOverrides;
|
14
|
+
type RpcTransaction<TPending extends boolean = boolean> = RpcTransaction_<TPending> & {
|
15
|
+
isSystemTx?: undefined;
|
16
|
+
mint?: undefined;
|
17
|
+
sourceHash?: undefined;
|
18
|
+
};
|
19
|
+
export type OpStackRpcDepositTransaction<TPending extends boolean = boolean> = Omit<TransactionBase<Quantity, Index, TPending>, 'typeHex'> & FeeValuesEIP1559<Quantity> & {
|
20
|
+
isSystemTx?: boolean;
|
21
|
+
mint?: Hex;
|
22
|
+
sourceHash: Hex;
|
23
|
+
type: '0x7e';
|
24
|
+
};
|
25
|
+
export type OpStackRpcTransaction<TPending extends boolean = boolean> = RpcTransaction<TPending> | OpStackRpcDepositTransaction<TPending>;
|
26
|
+
export type OpStackRpcTransactionReceiptOverrides = {
|
27
|
+
l1GasPrice: Hex | null;
|
28
|
+
l1GasUsed: Hex | null;
|
29
|
+
l1Fee: Hex | null;
|
30
|
+
l1FeeScalar: `${number}` | null;
|
31
|
+
};
|
32
|
+
export type OpStackRpcTransactionReceipt = RpcTransactionReceipt & OpStackRpcTransactionReceiptOverrides;
|
33
|
+
type Transaction<TPending extends boolean = boolean> = Transaction_<bigint, number, TPending> & {
|
34
|
+
isSystemTx?: undefined;
|
35
|
+
mint?: undefined;
|
36
|
+
sourceHash?: undefined;
|
37
|
+
};
|
38
|
+
export type OpStackDepositTransaction<TPending extends boolean = boolean> = TransactionBase<bigint, number, TPending> & FeeValuesEIP1559 & {
|
39
|
+
isSystemTx?: boolean;
|
40
|
+
mint?: bigint;
|
41
|
+
sourceHash: Hex;
|
42
|
+
type: 'deposit';
|
43
|
+
};
|
44
|
+
export type OpStackTransaction<TPending extends boolean = boolean> = Transaction<TPending> | OpStackDepositTransaction<TPending>;
|
45
|
+
export type OpStackTransactionReceiptOverrides = {
|
46
|
+
l1GasPrice: bigint | null;
|
47
|
+
l1GasUsed: bigint | null;
|
48
|
+
l1Fee: bigint | null;
|
49
|
+
l1FeeScalar: number | null;
|
50
|
+
};
|
51
|
+
export type OpStackTransactionReceipt = TransactionReceipt & OpStackTransactionReceiptOverrides;
|
52
|
+
export {};
|
53
|
+
//# sourceMappingURL=types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../chains/opStack/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAC3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,KAAK,EACV,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,cAAc,IAAI,eAAe,EACjC,qBAAqB,EACtB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EACV,WAAW,IAAI,YAAY,EAC3B,eAAe,EACf,kBAAkB,EACnB,MAAM,4BAA4B,CAAA;AAEnC,MAAM,MAAM,qBAAqB,GAAG;IAClC,SAAS,EAAE,IAAI,CAAA;CAChB,CAAA;AACD,MAAM,MAAM,YAAY,CACtB,oBAAoB,SAAS,OAAO,GAAG,OAAO,EAC9C,SAAS,SAAS,QAAQ,GAAG,QAAQ,IACnC,KAAK,CACP,MAAM,EACN,oBAAoB,EACpB,SAAS,EACT,kBAAkB,CAAC,SAAS,SAAS,SAAS,GAAG,IAAI,GAAG,KAAK,CAAC,CAC/D,GACC,qBAAqB,CAAA;AAEvB,MAAM,MAAM,wBAAwB,GAAG;IACrC,SAAS,EAAE,IAAI,CAAA;CAChB,CAAA;AACD,MAAM,MAAM,eAAe,CACzB,SAAS,SAAS,QAAQ,GAAG,QAAQ,EACrC,oBAAoB,SAAS,OAAO,GAAG,OAAO,IAC5C,QAAQ,CACV,SAAS,EACT,oBAAoB,EACpB,qBAAqB,CAAC,SAAS,SAAS,SAAS,GAAG,IAAI,GAAG,KAAK,CAAC,CAClE,GACC,wBAAwB,CAAA;AAE1B,KAAK,cAAc,CAAC,QAAQ,SAAS,OAAO,GAAG,OAAO,IACpD,eAAe,CAAC,QAAQ,CAAC,GAAG;IAC1B,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,UAAU,CAAC,EAAE,SAAS,CAAA;CACvB,CAAA;AAEH,MAAM,MAAM,4BAA4B,CAAC,QAAQ,SAAS,OAAO,GAAG,OAAO,IACzE,IAAI,CAAC,eAAe,CAAC,QAAQ,EAAE,KAAK,EAAE,QAAQ,CAAC,EAAE,SAAS,CAAC,GACzD,gBAAgB,CAAC,QAAQ,CAAC,GAAG;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,IAAI,CAAC,EAAE,GAAG,CAAA;IACV,UAAU,EAAE,GAAG,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AACL,MAAM,MAAM,qBAAqB,CAAC,QAAQ,SAAS,OAAO,GAAG,OAAO,IAChE,cAAc,CAAC,QAAQ,CAAC,GACxB,4BAA4B,CAAC,QAAQ,CAAC,CAAA;AAE1C,MAAM,MAAM,qCAAqC,GAAG;IAClD,UAAU,EAAE,GAAG,GAAG,IAAI,CAAA;IACtB,SAAS,EAAE,GAAG,GAAG,IAAI,CAAA;IACrB,KAAK,EAAE,GAAG,GAAG,IAAI,CAAA;IACjB,WAAW,EAAE,GAAG,MAAM,EAAE,GAAG,IAAI,CAAA;CAChC,CAAA;AACD,MAAM,MAAM,4BAA4B,GAAG,qBAAqB,GAC9D,qCAAqC,CAAA;AAEvC,KAAK,WAAW,CAAC,QAAQ,SAAS,OAAO,GAAG,OAAO,IAAI,YAAY,CACjE,MAAM,EACN,MAAM,EACN,QAAQ,CACT,GAAG;IACF,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,UAAU,CAAC,EAAE,SAAS,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,yBAAyB,CAAC,QAAQ,SAAS,OAAO,GAAG,OAAO,IACtE,eAAe,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,GACvC,gBAAgB,GAAG;IACjB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,GAAG,CAAA;IACf,IAAI,EAAE,SAAS,CAAA;CAChB,CAAA;AAEL,MAAM,MAAM,kBAAkB,CAAC,QAAQ,SAAS,OAAO,GAAG,OAAO,IAC7D,WAAW,CAAC,QAAQ,CAAC,GACrB,yBAAyB,CAAC,QAAQ,CAAC,CAAA;AAEvC,MAAM,MAAM,kCAAkC,GAAG;IAC/C,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B,CAAA;AACD,MAAM,MAAM,yBAAyB,GAAG,kBAAkB,GACxD,kCAAkC,CAAA"}
|
package/_types/chains/utils.d.ts
CHANGED
@@ -2,12 +2,4 @@ export { type AssertCurrentChainErrorType, type AssertCurrentChainParameters, as
|
|
2
2
|
export { defineChain } from '../utils/chain/defineChain.js';
|
3
3
|
export { type ExtractChainErrorType, type ExtractChainParameters, type ExtractChainReturnType, extractChain, } from '../utils/chain/extractChain.js';
|
4
4
|
export { type GetChainContractAddressErrorType, getChainContractAddress, } from '../utils/chain/getChainContractAddress.js';
|
5
|
-
export { formattersCelo } from './celo/formatters.js';
|
6
|
-
export { serializeTransactionCelo, serializersCelo, } from './celo/serializers.js';
|
7
|
-
export { parseTransactionCelo } from './celo/parsers.js';
|
8
|
-
export type { CeloBlock, CeloBlockOverrides, CeloRpcBlock, CeloRpcBlockOverrides, CeloRpcTransaction, CeloRpcTransactionReceipt, CeloRpcTransactionReceiptOverrides, CeloRpcTransactionRequest, CeloTransaction, CeloTransactionReceipt, CeloTransactionReceiptOverrides, CeloTransactionRequest, CeloTransactionSerializable, CeloTransactionSerialized, CeloTransactionType, RpcTransactionCIP42, RpcTransactionCIP64, RpcTransactionRequestCIP42, RpcTransactionRequestCIP64, TransactionCIP42, TransactionCIP64, TransactionRequestCIP42, TransactionRequestCIP64, TransactionSerializableCIP42, TransactionSerializableCIP64, TransactionSerializedCIP42, TransactionSerializedCIP64, } from './celo/types.js';
|
9
|
-
export { formattersOptimism } from './optimism/formatters.js';
|
10
|
-
export type { OptimismBlock, OptimismBlockOverrides, OptimismDepositTransaction, OptimismRpcBlock, OptimismRpcBlockOverrides, OptimismRpcDepositTransaction, OptimismRpcTransaction, OptimismRpcTransactionReceipt, OptimismRpcTransactionReceiptOverrides, OptimismTransaction, OptimismTransactionReceipt, OptimismTransactionReceiptOverrides, } from './optimism/types.js';
|
11
|
-
export { formattersZkSync } from './zksync/formatters.js';
|
12
|
-
export type { ZkSyncBlock, ZkSyncBlockOverrides, ZkSyncEip712Meta, ZkSyncFeeValues, ZkSyncL2ToL1Log, ZkSyncLog, ZkSyncRpcBlock, ZkSyncRpcBlockOverrides, ZkSyncRpcL2ToL1Log, ZkSyncRpcLog, ZkSyncRpcTransaction, ZkSyncRpcTransactionEIP712, ZkSyncRpcTransactionPriority, ZkSyncRpcTransactionReceiptOverrides, ZkSyncRpcTransactionRequest, ZkSyncRpcTransactionRequestEIP712, ZkSyncTransaction, ZkSyncTransactionEIP712, ZkSyncTransactionReceipt, ZkSyncTransactionReceiptOverrides, ZkSyncTransactionRequest, ZkSyncTransactionRequestEIP712, ZkSyncTransactionSerializable, ZkSyncTransactionSerializableEIP712, ZkSyncTransactionSerialized, ZkSyncTransactionSerializedEIP712, ZkSyncTransactionType, } from './zksync/types.js';
|
13
5
|
//# sourceMappingURL=utils.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../chains/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,kBAAkB,GACnB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,YAAY,GACb,MAAM,gCAAgC,CAAA;AACvC,OAAO,EACL,KAAK,gCAAgC,EACrC,uBAAuB,GACxB,MAAM,2CAA2C,CAAA
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../chains/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,kBAAkB,GACnB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,YAAY,GACb,MAAM,gCAAgC,CAAA;AACvC,OAAO,EACL,KAAK,gCAAgC,EACrC,uBAAuB,GACxB,MAAM,2CAA2C,CAAA"}
|
@@ -0,0 +1,490 @@
|
|
1
|
+
export declare const chainConfig: {
|
2
|
+
readonly formatters: {
|
3
|
+
readonly block: {
|
4
|
+
exclude: [] | undefined;
|
5
|
+
format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("./types.js").ZkSyncRpcBlockOverrides & {
|
6
|
+
transactions: `0x${string}`[] | import("./types.js").ZkSyncRpcTransaction[];
|
7
|
+
}>) => {
|
8
|
+
baseFeePerGas: bigint | null;
|
9
|
+
difficulty: bigint;
|
10
|
+
extraData: `0x${string}`;
|
11
|
+
gasLimit: bigint;
|
12
|
+
gasUsed: bigint;
|
13
|
+
hash: `0x${string}` | null;
|
14
|
+
logsBloom: `0x${string}` | null;
|
15
|
+
miner: `0x${string}`;
|
16
|
+
mixHash: `0x${string}`;
|
17
|
+
nonce: `0x${string}` | null;
|
18
|
+
number: bigint | null;
|
19
|
+
parentHash: `0x${string}`;
|
20
|
+
receiptsRoot: `0x${string}`;
|
21
|
+
sealFields: `0x${string}`[];
|
22
|
+
sha3Uncles: `0x${string}`;
|
23
|
+
size: bigint;
|
24
|
+
stateRoot: `0x${string}`;
|
25
|
+
timestamp: bigint;
|
26
|
+
totalDifficulty: bigint | null;
|
27
|
+
transactions: `0x${string}`[] | import("./types.js").ZkSyncTransaction[];
|
28
|
+
transactionsRoot: `0x${string}`;
|
29
|
+
uncles: `0x${string}`[];
|
30
|
+
withdrawals?: import("../../index.js").Withdrawal[] | undefined;
|
31
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
32
|
+
l1BatchNumber: bigint | null;
|
33
|
+
l1BatchTimestamp: bigint | null;
|
34
|
+
} & {};
|
35
|
+
type: "block";
|
36
|
+
};
|
37
|
+
readonly transaction: {
|
38
|
+
exclude: [] | undefined;
|
39
|
+
format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransaction>, import("./types.js").ZkSyncRpcTransaction>) => ({
|
40
|
+
blockHash: `0x${string}` | null;
|
41
|
+
blockNumber: bigint | null;
|
42
|
+
from: `0x${string}`;
|
43
|
+
gas: bigint;
|
44
|
+
hash: `0x${string}`;
|
45
|
+
input: `0x${string}`;
|
46
|
+
nonce: number;
|
47
|
+
r: `0x${string}`;
|
48
|
+
s: `0x${string}`;
|
49
|
+
to: `0x${string}` | null;
|
50
|
+
transactionIndex: number | null;
|
51
|
+
typeHex: `0x${string}` | null;
|
52
|
+
v: bigint;
|
53
|
+
value: bigint;
|
54
|
+
gasPrice: bigint;
|
55
|
+
maxFeePerGas?: undefined;
|
56
|
+
maxPriorityFeePerGas?: undefined;
|
57
|
+
accessList?: undefined;
|
58
|
+
chainId?: number | undefined;
|
59
|
+
type: "legacy";
|
60
|
+
l1BatchNumber: bigint | null;
|
61
|
+
l1BatchTxIndex: bigint | null;
|
62
|
+
} | {
|
63
|
+
blockHash: `0x${string}` | null;
|
64
|
+
blockNumber: bigint | null;
|
65
|
+
from: `0x${string}`;
|
66
|
+
gas: bigint;
|
67
|
+
hash: `0x${string}`;
|
68
|
+
input: `0x${string}`;
|
69
|
+
nonce: number;
|
70
|
+
r: `0x${string}`;
|
71
|
+
s: `0x${string}`;
|
72
|
+
to: `0x${string}` | null;
|
73
|
+
transactionIndex: number | null;
|
74
|
+
typeHex: `0x${string}` | null;
|
75
|
+
v: bigint;
|
76
|
+
value: bigint;
|
77
|
+
gasPrice: undefined;
|
78
|
+
maxFeePerGas: bigint;
|
79
|
+
maxPriorityFeePerGas: bigint;
|
80
|
+
accessList?: undefined;
|
81
|
+
chainId?: number | undefined;
|
82
|
+
type: "priority";
|
83
|
+
l1BatchNumber: bigint | null;
|
84
|
+
l1BatchTxIndex: bigint | null;
|
85
|
+
} | {
|
86
|
+
blockHash: `0x${string}` | null;
|
87
|
+
blockNumber: bigint | null;
|
88
|
+
from: `0x${string}`;
|
89
|
+
gas: bigint;
|
90
|
+
hash: `0x${string}`;
|
91
|
+
input: `0x${string}`;
|
92
|
+
nonce: number;
|
93
|
+
r: `0x${string}`;
|
94
|
+
s: `0x${string}`;
|
95
|
+
to: `0x${string}` | null;
|
96
|
+
transactionIndex: number | null;
|
97
|
+
typeHex: `0x${string}` | null;
|
98
|
+
v: bigint;
|
99
|
+
value: bigint;
|
100
|
+
gasPrice: undefined;
|
101
|
+
maxFeePerGas: bigint;
|
102
|
+
maxPriorityFeePerGas: bigint;
|
103
|
+
accessList?: undefined;
|
104
|
+
chainId?: number | undefined;
|
105
|
+
type: "priority" | "eip712";
|
106
|
+
l1BatchNumber: bigint | null;
|
107
|
+
l1BatchTxIndex: bigint | null;
|
108
|
+
} | {
|
109
|
+
blockHash: `0x${string}` | null;
|
110
|
+
blockNumber: bigint | null;
|
111
|
+
from: `0x${string}`;
|
112
|
+
gas: bigint;
|
113
|
+
hash: `0x${string}`;
|
114
|
+
input: `0x${string}`;
|
115
|
+
nonce: number;
|
116
|
+
r: `0x${string}`;
|
117
|
+
s: `0x${string}`;
|
118
|
+
to: `0x${string}` | null;
|
119
|
+
transactionIndex: number | null;
|
120
|
+
typeHex: `0x${string}` | null;
|
121
|
+
v: bigint;
|
122
|
+
value: bigint;
|
123
|
+
gasPrice: bigint;
|
124
|
+
maxFeePerGas?: undefined;
|
125
|
+
maxPriorityFeePerGas?: undefined;
|
126
|
+
accessList: import("../../index.js").AccessList;
|
127
|
+
chainId: number;
|
128
|
+
type: "eip2930";
|
129
|
+
l1BatchNumber: bigint | null;
|
130
|
+
l1BatchTxIndex: bigint | null;
|
131
|
+
} | {
|
132
|
+
blockHash: `0x${string}` | null;
|
133
|
+
blockNumber: bigint | null;
|
134
|
+
from: `0x${string}`;
|
135
|
+
gas: bigint;
|
136
|
+
hash: `0x${string}`;
|
137
|
+
input: `0x${string}`;
|
138
|
+
nonce: number;
|
139
|
+
r: `0x${string}`;
|
140
|
+
s: `0x${string}`;
|
141
|
+
to: `0x${string}` | null;
|
142
|
+
transactionIndex: number | null;
|
143
|
+
typeHex: `0x${string}` | null;
|
144
|
+
v: bigint;
|
145
|
+
value: bigint;
|
146
|
+
gasPrice: undefined;
|
147
|
+
maxFeePerGas: bigint;
|
148
|
+
maxPriorityFeePerGas: bigint;
|
149
|
+
accessList: import("../../index.js").AccessList;
|
150
|
+
chainId: number;
|
151
|
+
type: "eip1559";
|
152
|
+
l1BatchNumber: bigint | null;
|
153
|
+
l1BatchTxIndex: bigint | null;
|
154
|
+
} | {
|
155
|
+
blockHash: `0x${string}` | null;
|
156
|
+
blockNumber: bigint | null;
|
157
|
+
from: `0x${string}`;
|
158
|
+
gas: bigint;
|
159
|
+
hash: `0x${string}`;
|
160
|
+
input: `0x${string}`;
|
161
|
+
nonce: number;
|
162
|
+
r: `0x${string}`;
|
163
|
+
s: `0x${string}`;
|
164
|
+
to: `0x${string}` | null;
|
165
|
+
transactionIndex: number | null;
|
166
|
+
typeHex: `0x${string}` | null;
|
167
|
+
v: bigint;
|
168
|
+
value: bigint;
|
169
|
+
gasPrice: undefined;
|
170
|
+
maxFeePerGas: bigint;
|
171
|
+
maxPriorityFeePerGas: bigint;
|
172
|
+
accessList: import("../../index.js").AccessList;
|
173
|
+
chainId: number;
|
174
|
+
type: "priority";
|
175
|
+
l1BatchNumber: bigint | null;
|
176
|
+
l1BatchTxIndex: bigint | null;
|
177
|
+
} | {
|
178
|
+
blockHash: `0x${string}` | null;
|
179
|
+
blockNumber: bigint | null;
|
180
|
+
from: `0x${string}`;
|
181
|
+
gas: bigint;
|
182
|
+
hash: `0x${string}`;
|
183
|
+
input: `0x${string}`;
|
184
|
+
nonce: number;
|
185
|
+
r: `0x${string}`;
|
186
|
+
s: `0x${string}`;
|
187
|
+
to: `0x${string}` | null;
|
188
|
+
transactionIndex: number | null;
|
189
|
+
typeHex: `0x${string}` | null;
|
190
|
+
v: bigint;
|
191
|
+
value: bigint;
|
192
|
+
gasPrice: undefined;
|
193
|
+
maxFeePerGas: bigint;
|
194
|
+
maxPriorityFeePerGas: bigint;
|
195
|
+
accessList: import("../../index.js").AccessList;
|
196
|
+
chainId: number;
|
197
|
+
type: "priority" | "eip712";
|
198
|
+
l1BatchNumber: bigint | null;
|
199
|
+
l1BatchTxIndex: bigint | null;
|
200
|
+
} | {
|
201
|
+
blockHash: `0x${string}` | null;
|
202
|
+
blockNumber: bigint | null;
|
203
|
+
from: `0x${string}`;
|
204
|
+
gas: bigint;
|
205
|
+
hash: `0x${string}`;
|
206
|
+
input: `0x${string}`;
|
207
|
+
nonce: number;
|
208
|
+
r: `0x${string}`;
|
209
|
+
s: `0x${string}`;
|
210
|
+
to: `0x${string}` | null;
|
211
|
+
transactionIndex: number | null;
|
212
|
+
typeHex: `0x${string}` | null;
|
213
|
+
v: bigint;
|
214
|
+
value: bigint;
|
215
|
+
gasPrice: bigint;
|
216
|
+
maxFeePerGas: undefined;
|
217
|
+
maxPriorityFeePerGas: undefined;
|
218
|
+
accessList: import("../../index.js").AccessList;
|
219
|
+
chainId: number;
|
220
|
+
type: "eip2930";
|
221
|
+
l1BatchNumber: bigint | null;
|
222
|
+
l1BatchTxIndex: bigint | null;
|
223
|
+
} | {
|
224
|
+
blockHash: `0x${string}` | null;
|
225
|
+
blockNumber: bigint | null;
|
226
|
+
from: `0x${string}`;
|
227
|
+
gas: bigint;
|
228
|
+
hash: `0x${string}`;
|
229
|
+
input: `0x${string}`;
|
230
|
+
nonce: number;
|
231
|
+
r: `0x${string}`;
|
232
|
+
s: `0x${string}`;
|
233
|
+
to: `0x${string}` | null;
|
234
|
+
transactionIndex: number | null;
|
235
|
+
typeHex: `0x${string}` | null;
|
236
|
+
v: bigint;
|
237
|
+
value: bigint;
|
238
|
+
gasPrice?: undefined;
|
239
|
+
maxFeePerGas: bigint;
|
240
|
+
maxPriorityFeePerGas: bigint;
|
241
|
+
accessList: import("../../index.js").AccessList;
|
242
|
+
chainId: number;
|
243
|
+
type: "eip1559";
|
244
|
+
l1BatchNumber: bigint | null;
|
245
|
+
l1BatchTxIndex: bigint | null;
|
246
|
+
} | {
|
247
|
+
blockHash: `0x${string}` | null;
|
248
|
+
blockNumber: bigint | null;
|
249
|
+
from: `0x${string}`;
|
250
|
+
gas: bigint;
|
251
|
+
hash: `0x${string}`;
|
252
|
+
input: `0x${string}`;
|
253
|
+
nonce: number;
|
254
|
+
r: `0x${string}`;
|
255
|
+
s: `0x${string}`;
|
256
|
+
to: `0x${string}` | null;
|
257
|
+
transactionIndex: number | null;
|
258
|
+
typeHex: `0x${string}` | null;
|
259
|
+
v: bigint;
|
260
|
+
value: bigint;
|
261
|
+
gasPrice?: undefined;
|
262
|
+
maxFeePerGas: bigint;
|
263
|
+
maxPriorityFeePerGas: bigint;
|
264
|
+
accessList: import("../../index.js").AccessList;
|
265
|
+
chainId: number;
|
266
|
+
type: "priority";
|
267
|
+
l1BatchNumber: bigint | null;
|
268
|
+
l1BatchTxIndex: bigint | null;
|
269
|
+
} | {
|
270
|
+
blockHash: `0x${string}` | null;
|
271
|
+
blockNumber: bigint | null;
|
272
|
+
from: `0x${string}`;
|
273
|
+
gas: bigint;
|
274
|
+
hash: `0x${string}`;
|
275
|
+
input: `0x${string}`;
|
276
|
+
nonce: number;
|
277
|
+
r: `0x${string}`;
|
278
|
+
s: `0x${string}`;
|
279
|
+
to: `0x${string}` | null;
|
280
|
+
transactionIndex: number | null;
|
281
|
+
typeHex: `0x${string}` | null;
|
282
|
+
v: bigint;
|
283
|
+
value: bigint;
|
284
|
+
gasPrice?: undefined;
|
285
|
+
maxFeePerGas: bigint;
|
286
|
+
maxPriorityFeePerGas: bigint;
|
287
|
+
accessList: import("../../index.js").AccessList;
|
288
|
+
chainId: number;
|
289
|
+
type: "priority" | "eip712";
|
290
|
+
l1BatchNumber: bigint | null;
|
291
|
+
l1BatchTxIndex: bigint | null;
|
292
|
+
}) & {};
|
293
|
+
type: "transaction";
|
294
|
+
};
|
295
|
+
readonly transactionReceipt: {
|
296
|
+
exclude: [] | undefined;
|
297
|
+
format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("./types.js").ZkSyncRpcTransactionReceiptOverrides>) => {
|
298
|
+
blockHash: `0x${string}`;
|
299
|
+
blockNumber: bigint;
|
300
|
+
contractAddress: `0x${string}` | null;
|
301
|
+
cumulativeGasUsed: bigint;
|
302
|
+
effectiveGasPrice: bigint;
|
303
|
+
from: `0x${string}`;
|
304
|
+
gasUsed: bigint;
|
305
|
+
logs: import("./types.js").ZkSyncLog<bigint, number, boolean, undefined, undefined, undefined, undefined>[];
|
306
|
+
logsBloom: `0x${string}`;
|
307
|
+
status: "success" | "reverted";
|
308
|
+
to: `0x${string}` | null;
|
309
|
+
transactionHash: `0x${string}`;
|
310
|
+
transactionIndex: number;
|
311
|
+
type: import("./types.js").ZkSyncTransactionType;
|
312
|
+
l1BatchNumber: bigint | null;
|
313
|
+
l1BatchTxIndex: bigint | null;
|
314
|
+
l2ToL1Logs: import("./types.js").ZkSyncL2ToL1Log[];
|
315
|
+
} & {};
|
316
|
+
type: "transactionReceipt";
|
317
|
+
};
|
318
|
+
readonly transactionRequest: {
|
319
|
+
exclude: ("customSignature" | "factoryDeps" | "gasPerPubdata" | "paymaster" | "paymasterInput")[] | undefined;
|
320
|
+
format: (args: import("../index.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("./types.js").ZkSyncTransactionRequest>) => ({
|
321
|
+
data?: `0x${string}` | undefined;
|
322
|
+
from: `0x${string}`;
|
323
|
+
gas?: `0x${string}` | undefined;
|
324
|
+
nonce?: `0x${string}` | undefined;
|
325
|
+
to?: `0x${string}` | null | undefined;
|
326
|
+
value?: `0x${string}` | undefined;
|
327
|
+
gasPrice?: `0x${string}` | undefined;
|
328
|
+
maxFeePerGas?: undefined;
|
329
|
+
maxPriorityFeePerGas?: undefined;
|
330
|
+
accessList?: undefined;
|
331
|
+
type?: "0x0" | undefined;
|
332
|
+
eip712Meta?: undefined;
|
333
|
+
} | {
|
334
|
+
data?: `0x${string}` | undefined;
|
335
|
+
from: `0x${string}`;
|
336
|
+
gas?: `0x${string}` | undefined;
|
337
|
+
nonce?: `0x${string}` | undefined;
|
338
|
+
to?: `0x${string}` | null | undefined;
|
339
|
+
value?: `0x${string}` | undefined;
|
340
|
+
gasPrice?: `0x${string}` | undefined;
|
341
|
+
maxFeePerGas?: undefined;
|
342
|
+
maxPriorityFeePerGas?: undefined;
|
343
|
+
accessList?: undefined;
|
344
|
+
type?: "0x1" | undefined;
|
345
|
+
eip712Meta?: undefined;
|
346
|
+
} | {
|
347
|
+
data?: `0x${string}` | undefined;
|
348
|
+
from: `0x${string}`;
|
349
|
+
gas?: `0x${string}` | undefined;
|
350
|
+
nonce?: `0x${string}` | undefined;
|
351
|
+
to?: `0x${string}` | null | undefined;
|
352
|
+
value?: `0x${string}` | undefined;
|
353
|
+
gasPrice?: undefined;
|
354
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
355
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
356
|
+
accessList?: undefined;
|
357
|
+
type?: "0x2" | undefined;
|
358
|
+
eip712Meta?: undefined;
|
359
|
+
} | {
|
360
|
+
data?: `0x${string}` | undefined;
|
361
|
+
from: `0x${string}`;
|
362
|
+
gas?: `0x${string}` | undefined;
|
363
|
+
nonce?: `0x${string}` | undefined;
|
364
|
+
to?: `0x${string}` | null | undefined;
|
365
|
+
value?: `0x${string}` | undefined;
|
366
|
+
gasPrice?: undefined;
|
367
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
368
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
369
|
+
accessList?: undefined;
|
370
|
+
type: "0xff" | "0x71";
|
371
|
+
eip712Meta: import("./types.js").ZkSyncEip712Meta;
|
372
|
+
} | {
|
373
|
+
data?: `0x${string}` | undefined;
|
374
|
+
from: `0x${string}`;
|
375
|
+
gas?: `0x${string}` | undefined;
|
376
|
+
nonce?: `0x${string}` | undefined;
|
377
|
+
to?: `0x${string}` | null | undefined;
|
378
|
+
value?: `0x${string}` | undefined;
|
379
|
+
gasPrice?: `0x${string}` | undefined;
|
380
|
+
maxFeePerGas?: undefined;
|
381
|
+
maxPriorityFeePerGas?: undefined;
|
382
|
+
accessList?: undefined;
|
383
|
+
type?: "0x0" | undefined;
|
384
|
+
eip712Meta?: undefined;
|
385
|
+
} | {
|
386
|
+
data?: `0x${string}` | undefined;
|
387
|
+
from: `0x${string}`;
|
388
|
+
gas?: `0x${string}` | undefined;
|
389
|
+
nonce?: `0x${string}` | undefined;
|
390
|
+
to?: `0x${string}` | null | undefined;
|
391
|
+
value?: `0x${string}` | undefined;
|
392
|
+
gasPrice?: `0x${string}` | undefined;
|
393
|
+
maxFeePerGas?: undefined;
|
394
|
+
maxPriorityFeePerGas?: undefined;
|
395
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
396
|
+
type?: "0x1" | undefined;
|
397
|
+
eip712Meta?: undefined;
|
398
|
+
} | {
|
399
|
+
data?: `0x${string}` | undefined;
|
400
|
+
from: `0x${string}`;
|
401
|
+
gas?: `0x${string}` | undefined;
|
402
|
+
nonce?: `0x${string}` | undefined;
|
403
|
+
to?: `0x${string}` | null | undefined;
|
404
|
+
value?: `0x${string}` | undefined;
|
405
|
+
gasPrice?: undefined;
|
406
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
407
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
408
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
409
|
+
type?: "0x2" | undefined;
|
410
|
+
eip712Meta?: undefined;
|
411
|
+
} | {
|
412
|
+
data?: `0x${string}` | undefined;
|
413
|
+
from: `0x${string}`;
|
414
|
+
gas?: `0x${string}` | undefined;
|
415
|
+
nonce?: `0x${string}` | undefined;
|
416
|
+
to?: `0x${string}` | null | undefined;
|
417
|
+
value?: `0x${string}` | undefined;
|
418
|
+
gasPrice?: undefined;
|
419
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
420
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
421
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
422
|
+
type: "0xff" | "0x71";
|
423
|
+
eip712Meta: import("./types.js").ZkSyncEip712Meta;
|
424
|
+
} | {
|
425
|
+
data?: `0x${string}` | undefined;
|
426
|
+
from: `0x${string}`;
|
427
|
+
gas?: `0x${string}` | undefined;
|
428
|
+
nonce?: `0x${string}` | undefined;
|
429
|
+
to?: `0x${string}` | null | undefined;
|
430
|
+
value?: `0x${string}` | undefined;
|
431
|
+
gasPrice?: `0x${string}` | undefined;
|
432
|
+
maxFeePerGas?: undefined;
|
433
|
+
maxPriorityFeePerGas?: undefined;
|
434
|
+
accessList?: undefined;
|
435
|
+
type?: "0x0" | undefined;
|
436
|
+
eip712Meta?: undefined;
|
437
|
+
} | {
|
438
|
+
data?: `0x${string}` | undefined;
|
439
|
+
from: `0x${string}`;
|
440
|
+
gas?: `0x${string}` | undefined;
|
441
|
+
nonce?: `0x${string}` | undefined;
|
442
|
+
to?: `0x${string}` | null | undefined;
|
443
|
+
value?: `0x${string}` | undefined;
|
444
|
+
gasPrice?: `0x${string}` | undefined;
|
445
|
+
maxFeePerGas?: undefined;
|
446
|
+
maxPriorityFeePerGas?: undefined;
|
447
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
448
|
+
type?: "0x1" | undefined;
|
449
|
+
eip712Meta?: undefined;
|
450
|
+
} | {
|
451
|
+
data?: `0x${string}` | undefined;
|
452
|
+
from: `0x${string}`;
|
453
|
+
gas?: `0x${string}` | undefined;
|
454
|
+
nonce?: `0x${string}` | undefined;
|
455
|
+
to?: `0x${string}` | null | undefined;
|
456
|
+
value?: `0x${string}` | undefined;
|
457
|
+
gasPrice?: undefined;
|
458
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
459
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
460
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
461
|
+
type?: "0x2" | undefined;
|
462
|
+
eip712Meta?: undefined;
|
463
|
+
} | {
|
464
|
+
data?: `0x${string}` | undefined;
|
465
|
+
from: `0x${string}`;
|
466
|
+
gas?: `0x${string}` | undefined;
|
467
|
+
nonce?: `0x${string}` | undefined;
|
468
|
+
to?: `0x${string}` | null | undefined;
|
469
|
+
value?: `0x${string}` | undefined;
|
470
|
+
gasPrice?: undefined;
|
471
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
472
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
473
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
474
|
+
type: "0xff" | "0x71";
|
475
|
+
eip712Meta: import("./types.js").ZkSyncEip712Meta;
|
476
|
+
}) & {
|
477
|
+
customSignature: never;
|
478
|
+
factoryDeps: never;
|
479
|
+
gasPerPubdata: never;
|
480
|
+
paymaster: never;
|
481
|
+
paymasterInput: never;
|
482
|
+
};
|
483
|
+
type: "transactionRequest";
|
484
|
+
};
|
485
|
+
};
|
486
|
+
readonly serializers: {
|
487
|
+
readonly transaction: import("../../index.js").SerializeTransactionFn<import("./types.js").ZkSyncTransactionSerializable>;
|
488
|
+
};
|
489
|
+
};
|
490
|
+
//# sourceMappingURL=chainConfig.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"chainConfig.d.ts","sourceRoot":"","sources":["../../../chains/zksync/chainConfig.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGd,CAAA"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import type { Hash } from '../../types/misc.js';
|
2
2
|
import type { ZkSyncL2ToL1Log, ZkSyncLog, ZkSyncRpcBlockOverrides, ZkSyncRpcTransaction, ZkSyncRpcTransactionReceiptOverrides, ZkSyncTransaction, ZkSyncTransactionRequest } from './types.js';
|
3
|
-
export declare const
|
3
|
+
export declare const formatters: {
|
4
4
|
readonly block: {
|
5
5
|
exclude: [] | undefined;
|
6
6
|
format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, ZkSyncRpcBlockOverrides & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../../chains/zksync/formatters.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAS/C,OAAO,KAAK,EAEV,eAAe,EACf,SAAS,EACT,uBAAuB,EACvB,oBAAoB,EACpB,oCAAoC,EAEpC,iBAAiB,EAEjB,wBAAwB,EACzB,MAAM,YAAY,CAAA;AAEnB,eAAO,MAAM,
|
1
|
+
{"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../../chains/zksync/formatters.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAS/C,OAAO,KAAK,EAEV,eAAe,EACf,SAAS,EACT,uBAAuB,EACvB,oBAAoB,EACpB,oCAAoC,EAEpC,iBAAiB,EAEjB,wBAAwB,EACzB,MAAM,YAAY,CAAA;AAEnB,eAAO,MAAM,UAAU;;;;0BAID,IAAI,EAAE,GAAG,oBAAoB,EAAE;;;;;;;;;;;;;;;;;;;;;0BAGjC,IAAI,EAAE,GAAG,iBAAiB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmHZ,CAAA"}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export { chainConfig } from './chainConfig.js';
|
2
|
+
export { serializeTransaction } from './serializers.js';
|
3
|
+
export type { ZkSyncBlock, ZkSyncBlockOverrides, ZkSyncEip712Meta, ZkSyncFeeValues, ZkSyncL2ToL1Log, ZkSyncLog, ZkSyncRpcBlock, ZkSyncRpcBlockOverrides, ZkSyncRpcL2ToL1Log, ZkSyncRpcLog, ZkSyncRpcTransaction, ZkSyncRpcTransactionEIP712, ZkSyncRpcTransactionPriority, ZkSyncRpcTransactionReceiptOverrides, ZkSyncRpcTransactionRequest, ZkSyncRpcTransactionRequestEIP712, ZkSyncTransaction, ZkSyncTransactionEIP712, ZkSyncTransactionReceipt, ZkSyncTransactionReceiptOverrides, ZkSyncTransactionRequest, ZkSyncTransactionRequestEIP712, ZkSyncTransactionSerializable, ZkSyncTransactionSerializableEIP712, ZkSyncTransactionSerialized, ZkSyncTransactionSerializedEIP712, ZkSyncTransactionType, } from './types.js';
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../chains/zksync/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAA;AAEvD,YAAY,EACV,WAAW,EACX,oBAAoB,EACpB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,SAAS,EACT,cAAc,EACd,uBAAuB,EACvB,kBAAkB,EAClB,YAAY,EACZ,oBAAoB,EACpB,0BAA0B,EAC1B,4BAA4B,EAC5B,oCAAoC,EACpC,2BAA2B,EAC3B,iCAAiC,EACjC,iBAAiB,EACjB,uBAAuB,EACvB,wBAAwB,EACxB,iCAAiC,EACjC,wBAAwB,EACxB,8BAA8B,EAC9B,6BAA6B,EAC7B,mCAAmC,EACnC,2BAA2B,EAC3B,iCAAiC,EACjC,qBAAqB,GACtB,MAAM,YAAY,CAAA"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { type SerializeTransactionFn } from '../../utils/transaction/serializeTransaction.js';
|
2
2
|
import type { ZkSyncTransactionSerializable, ZkSyncTransactionSerializableEIP712, ZkSyncTransactionSerializedEIP712 } from './types.js';
|
3
|
-
export declare const
|
4
|
-
export declare const
|
3
|
+
export declare const serializeTransaction: SerializeTransactionFn<ZkSyncTransactionSerializable>;
|
4
|
+
export declare const serializers: {
|
5
5
|
readonly transaction: SerializeTransactionFn<ZkSyncTransactionSerializable>;
|
6
6
|
};
|
7
7
|
export type SerializeTransactionEIP712ReturnType = ZkSyncTransactionSerializedEIP712;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"serializers.d.ts","sourceRoot":"","sources":["../../../chains/zksync/serializers.ts"],"names":[],"mappings":"AASA,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,iDAAiD,CAAA;AACxD,OAAO,KAAK,EACV,6BAA6B,EAC7B,mCAAmC,EACnC,iCAAiC,EAClC,MAAM,YAAY,CAAA;AAEnB,eAAO,MAAM,
|
1
|
+
{"version":3,"file":"serializers.d.ts","sourceRoot":"","sources":["../../../chains/zksync/serializers.ts"],"names":[],"mappings":"AASA,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,iDAAiD,CAAA;AACxD,OAAO,KAAK,EACV,6BAA6B,EAC7B,mCAAmC,EACnC,iCAAiC,EAClC,MAAM,YAAY,CAAA;AAEnB,eAAO,MAAM,oBAAoB,EAAE,sBAAsB,CACvD,6BAA6B,CAK9B,CAAA;AAED,eAAO,MAAM,WAAW;;CAEa,CAAA;AAKrC,MAAM,MAAM,oCAAoC,GAC9C,iCAAiC,CAAA;AAgEnC,wBAAgB,uBAAuB,CACrC,WAAW,EAAE,mCAAmC,QAqBjD"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const version = "2.0.0-beta.
|
1
|
+
export declare const version = "2.0.0-beta.4";
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
@@ -22,7 +22,7 @@ export declare const transactionType: {
|
|
22
22
|
export type FormatTransactionErrorType = ErrorType;
|
23
23
|
export declare function formatTransaction(transaction: Partial<RpcTransaction>): Transaction;
|
24
24
|
export type DefineTransactionErrorType = DefineFormatterErrorType | ErrorType;
|
25
|
-
export declare const defineTransaction: <TOverrideParameters, TOverrideReturnType, TExclude extends ("
|
25
|
+
export declare const defineTransaction: <TOverrideParameters, TOverrideReturnType, TExclude extends ("from" | "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" | "gas" | "nonce" | "to" | "value" | "accessList" | "type" | "blockHash" | "blockNumber" | "hash" | "input" | "r" | "s" | "transactionIndex" | "v" | "chainId" | keyof TOverrideParameters)[] = []>({ exclude, format: overrides, }: {
|
26
26
|
exclude?: TExclude | undefined;
|
27
27
|
format: (_: TOverrideParameters) => TOverrideReturnType;
|
28
28
|
}) => {
|
@@ -12,7 +12,7 @@ export declare const rpcTransactionType: {
|
|
12
12
|
export type FormatTransactionRequestErrorType = ErrorType;
|
13
13
|
export declare function formatTransactionRequest(transactionRequest: Partial<TransactionRequest>): RpcTransactionRequest;
|
14
14
|
export type DefineTransactionRequestErrorType = DefineFormatterErrorType | ErrorType;
|
15
|
-
export declare const defineTransactionRequest: <TOverrideParameters, TOverrideReturnType, TExclude extends ("
|
15
|
+
export declare const defineTransactionRequest: <TOverrideParameters, TOverrideReturnType, TExclude extends ("from" | "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" | "data" | "gas" | "nonce" | "to" | "value" | "accessList" | "type" | keyof TOverrideParameters)[] = []>({ exclude, format: overrides, }: {
|
16
16
|
exclude?: TExclude | undefined;
|
17
17
|
format: (_: TOverrideParameters) => TOverrideReturnType;
|
18
18
|
}) => {
|