viem 2.16.0 → 2.16.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +14 -0
- package/_cjs/accounts/generateMnemonic.js +1 -2
- package/_cjs/accounts/generateMnemonic.js.map +1 -1
- package/_cjs/accounts/generatePrivateKey.js +1 -2
- package/_cjs/accounts/generatePrivateKey.js.map +1 -1
- package/_cjs/accounts/hdKeyToAccount.js +1 -2
- package/_cjs/accounts/hdKeyToAccount.js.map +1 -1
- package/_cjs/accounts/mnemonicToAccount.js +1 -2
- package/_cjs/accounts/mnemonicToAccount.js.map +1 -1
- package/_cjs/accounts/privateKeyToAccount.js +1 -2
- package/_cjs/accounts/privateKeyToAccount.js.map +1 -1
- package/_cjs/accounts/toAccount.js +1 -2
- package/_cjs/accounts/toAccount.js.map +1 -1
- package/_cjs/accounts/utils/parseAccount.js +1 -2
- package/_cjs/accounts/utils/parseAccount.js.map +1 -1
- package/_cjs/accounts/utils/privateKeyToAddress.js +1 -2
- package/_cjs/accounts/utils/privateKeyToAddress.js.map +1 -1
- package/_cjs/accounts/utils/publicKeyToAddress.js +1 -2
- package/_cjs/accounts/utils/publicKeyToAddress.js.map +1 -1
- package/_cjs/accounts/utils/sign.js +1 -2
- package/_cjs/accounts/utils/sign.js.map +1 -1
- package/_cjs/accounts/utils/signMessage.js +1 -2
- package/_cjs/accounts/utils/signMessage.js.map +1 -1
- package/_cjs/accounts/utils/signTransaction.js +1 -2
- package/_cjs/accounts/utils/signTransaction.js.map +1 -1
- package/_cjs/accounts/utils/signTypedData.js +1 -2
- package/_cjs/accounts/utils/signTypedData.js.map +1 -1
- package/_cjs/actions/ens/getEnsAddress.js +1 -2
- package/_cjs/actions/ens/getEnsAddress.js.map +1 -1
- package/_cjs/actions/ens/getEnsAvatar.js +1 -2
- package/_cjs/actions/ens/getEnsAvatar.js.map +1 -1
- package/_cjs/actions/ens/getEnsName.js +1 -2
- package/_cjs/actions/ens/getEnsName.js.map +1 -1
- package/_cjs/actions/ens/getEnsResolver.js +1 -2
- package/_cjs/actions/ens/getEnsResolver.js.map +1 -1
- package/_cjs/actions/ens/getEnsText.js +1 -2
- package/_cjs/actions/ens/getEnsText.js.map +1 -1
- package/_cjs/actions/getContract.js +3 -4
- package/_cjs/actions/getContract.js.map +1 -1
- package/_cjs/actions/public/call.js +2 -3
- package/_cjs/actions/public/call.js.map +1 -1
- package/_cjs/actions/public/createBlockFilter.js +1 -2
- package/_cjs/actions/public/createBlockFilter.js.map +1 -1
- package/_cjs/actions/public/createContractEventFilter.js +1 -2
- package/_cjs/actions/public/createContractEventFilter.js.map +1 -1
- package/_cjs/actions/public/createEventFilter.js +7 -9
- package/_cjs/actions/public/createEventFilter.js.map +1 -1
- package/_cjs/actions/public/createPendingTransactionFilter.js +1 -2
- package/_cjs/actions/public/createPendingTransactionFilter.js.map +1 -1
- package/_cjs/actions/public/estimateContractGas.js +1 -2
- package/_cjs/actions/public/estimateContractGas.js.map +1 -1
- package/_cjs/actions/public/estimateFeesPerGas.js +2 -3
- package/_cjs/actions/public/estimateFeesPerGas.js.map +1 -1
- package/_cjs/actions/public/estimateGas.js +1 -2
- package/_cjs/actions/public/estimateGas.js.map +1 -1
- package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js +2 -3
- package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
- package/_cjs/actions/public/getBalance.js +1 -2
- package/_cjs/actions/public/getBalance.js.map +1 -1
- package/_cjs/actions/public/getBlobBaseFee.js +1 -2
- package/_cjs/actions/public/getBlobBaseFee.js.map +1 -1
- package/_cjs/actions/public/getBlock.js +1 -2
- package/_cjs/actions/public/getBlock.js.map +1 -1
- package/_cjs/actions/public/getBlockNumber.js +2 -3
- package/_cjs/actions/public/getBlockNumber.js.map +1 -1
- package/_cjs/actions/public/getBlockTransactionCount.js +1 -2
- package/_cjs/actions/public/getBlockTransactionCount.js.map +1 -1
- package/_cjs/actions/public/getChainId.js +1 -2
- package/_cjs/actions/public/getChainId.js.map +1 -1
- package/_cjs/actions/public/getCode.js +1 -2
- package/_cjs/actions/public/getCode.js.map +1 -1
- package/_cjs/actions/public/getContractEvents.js +1 -2
- package/_cjs/actions/public/getContractEvents.js.map +1 -1
- package/_cjs/actions/public/getEip712Domain.js +1 -2
- package/_cjs/actions/public/getEip712Domain.js.map +1 -1
- package/_cjs/actions/public/getFeeHistory.js +1 -2
- package/_cjs/actions/public/getFeeHistory.js.map +1 -1
- package/_cjs/actions/public/getFilterChanges.js +1 -2
- package/_cjs/actions/public/getFilterChanges.js.map +1 -1
- package/_cjs/actions/public/getFilterLogs.js +1 -2
- package/_cjs/actions/public/getFilterLogs.js.map +1 -1
- package/_cjs/actions/public/getGasPrice.js +1 -2
- package/_cjs/actions/public/getGasPrice.js.map +1 -1
- package/_cjs/actions/public/getLogs.js +7 -9
- package/_cjs/actions/public/getLogs.js.map +1 -1
- package/_cjs/actions/public/getProof.js +1 -2
- package/_cjs/actions/public/getProof.js.map +1 -1
- package/_cjs/actions/public/getStorageAt.js +1 -2
- package/_cjs/actions/public/getStorageAt.js.map +1 -1
- package/_cjs/actions/public/getTransaction.js +1 -2
- package/_cjs/actions/public/getTransaction.js.map +1 -1
- package/_cjs/actions/public/getTransactionConfirmations.js +1 -2
- package/_cjs/actions/public/getTransactionConfirmations.js.map +1 -1
- package/_cjs/actions/public/getTransactionCount.js +1 -2
- package/_cjs/actions/public/getTransactionCount.js.map +1 -1
- package/_cjs/actions/public/getTransactionReceipt.js +1 -2
- package/_cjs/actions/public/getTransactionReceipt.js.map +1 -1
- package/_cjs/actions/public/multicall.js +1 -2
- package/_cjs/actions/public/multicall.js.map +1 -1
- package/_cjs/actions/public/readContract.js +1 -2
- package/_cjs/actions/public/readContract.js.map +1 -1
- package/_cjs/actions/public/simulateContract.js +1 -2
- package/_cjs/actions/public/simulateContract.js.map +1 -1
- package/_cjs/actions/public/uninstallFilter.js +1 -2
- package/_cjs/actions/public/uninstallFilter.js.map +1 -1
- package/_cjs/actions/public/verifyHash.js +1 -2
- package/_cjs/actions/public/verifyHash.js.map +1 -1
- package/_cjs/actions/public/verifyMessage.js +1 -2
- package/_cjs/actions/public/verifyMessage.js.map +1 -1
- package/_cjs/actions/public/verifyTypedData.js +1 -2
- package/_cjs/actions/public/verifyTypedData.js.map +1 -1
- package/_cjs/actions/public/waitForTransactionReceipt.js +1 -2
- package/_cjs/actions/public/waitForTransactionReceipt.js.map +1 -1
- package/_cjs/actions/public/watchBlockNumber.js +1 -2
- package/_cjs/actions/public/watchBlockNumber.js.map +1 -1
- package/_cjs/actions/public/watchBlocks.js +1 -2
- package/_cjs/actions/public/watchBlocks.js.map +1 -1
- package/_cjs/actions/public/watchContractEvent.js +1 -2
- package/_cjs/actions/public/watchContractEvent.js.map +1 -1
- package/_cjs/actions/public/watchEvent.js +7 -9
- package/_cjs/actions/public/watchEvent.js.map +1 -1
- package/_cjs/actions/public/watchPendingTransactions.js +1 -2
- package/_cjs/actions/public/watchPendingTransactions.js.map +1 -1
- package/_cjs/actions/siwe/verifySiweMessage.js +1 -2
- package/_cjs/actions/siwe/verifySiweMessage.js.map +1 -1
- package/_cjs/actions/test/dropTransaction.js +1 -2
- package/_cjs/actions/test/dropTransaction.js.map +1 -1
- package/_cjs/actions/test/dumpState.js +1 -2
- package/_cjs/actions/test/dumpState.js.map +1 -1
- package/_cjs/actions/test/getAutomine.js +1 -2
- package/_cjs/actions/test/getAutomine.js.map +1 -1
- package/_cjs/actions/test/getTxpoolContent.js +1 -2
- package/_cjs/actions/test/getTxpoolContent.js.map +1 -1
- package/_cjs/actions/test/getTxpoolStatus.js +1 -2
- package/_cjs/actions/test/getTxpoolStatus.js.map +1 -1
- package/_cjs/actions/test/impersonateAccount.js +1 -2
- package/_cjs/actions/test/impersonateAccount.js.map +1 -1
- package/_cjs/actions/test/increaseTime.js +1 -2
- package/_cjs/actions/test/increaseTime.js.map +1 -1
- package/_cjs/actions/test/inspectTxpool.js +1 -2
- package/_cjs/actions/test/inspectTxpool.js.map +1 -1
- package/_cjs/actions/test/loadState.js +1 -2
- package/_cjs/actions/test/loadState.js.map +1 -1
- package/_cjs/actions/test/mine.js +1 -2
- package/_cjs/actions/test/mine.js.map +1 -1
- package/_cjs/actions/test/removeBlockTimestampInterval.js +1 -2
- package/_cjs/actions/test/removeBlockTimestampInterval.js.map +1 -1
- package/_cjs/actions/test/reset.js +1 -2
- package/_cjs/actions/test/reset.js.map +1 -1
- package/_cjs/actions/test/revert.js +1 -2
- package/_cjs/actions/test/revert.js.map +1 -1
- package/_cjs/actions/test/sendUnsignedTransaction.js +1 -2
- package/_cjs/actions/test/sendUnsignedTransaction.js.map +1 -1
- package/_cjs/actions/test/setAutomine.js +1 -2
- package/_cjs/actions/test/setAutomine.js.map +1 -1
- package/_cjs/actions/test/setBalance.js +1 -2
- package/_cjs/actions/test/setBalance.js.map +1 -1
- package/_cjs/actions/test/setBlockGasLimit.js +1 -2
- package/_cjs/actions/test/setBlockGasLimit.js.map +1 -1
- package/_cjs/actions/test/setBlockTimestampInterval.js +1 -2
- package/_cjs/actions/test/setBlockTimestampInterval.js.map +1 -1
- package/_cjs/actions/test/setCode.js +1 -2
- package/_cjs/actions/test/setCode.js.map +1 -1
- package/_cjs/actions/test/setCoinbase.js +1 -2
- package/_cjs/actions/test/setCoinbase.js.map +1 -1
- package/_cjs/actions/test/setIntervalMining.js +1 -2
- package/_cjs/actions/test/setIntervalMining.js.map +1 -1
- package/_cjs/actions/test/setLoggingEnabled.js +1 -2
- package/_cjs/actions/test/setLoggingEnabled.js.map +1 -1
- package/_cjs/actions/test/setMinGasPrice.js +1 -2
- package/_cjs/actions/test/setMinGasPrice.js.map +1 -1
- package/_cjs/actions/test/setNextBlockBaseFeePerGas.js +1 -2
- package/_cjs/actions/test/setNextBlockBaseFeePerGas.js.map +1 -1
- package/_cjs/actions/test/setNextBlockTimestamp.js +1 -2
- package/_cjs/actions/test/setNextBlockTimestamp.js.map +1 -1
- package/_cjs/actions/test/setNonce.js +1 -2
- package/_cjs/actions/test/setNonce.js.map +1 -1
- package/_cjs/actions/test/setRpcUrl.js +1 -2
- package/_cjs/actions/test/setRpcUrl.js.map +1 -1
- package/_cjs/actions/test/setStorageAt.js +1 -2
- package/_cjs/actions/test/setStorageAt.js.map +1 -1
- package/_cjs/actions/test/snapshot.js +1 -2
- package/_cjs/actions/test/snapshot.js.map +1 -1
- package/_cjs/actions/test/stopImpersonatingAccount.js +1 -2
- package/_cjs/actions/test/stopImpersonatingAccount.js.map +1 -1
- package/_cjs/actions/wallet/addChain.js +1 -2
- package/_cjs/actions/wallet/addChain.js.map +1 -1
- package/_cjs/actions/wallet/deployContract.js +1 -2
- package/_cjs/actions/wallet/deployContract.js.map +1 -1
- package/_cjs/actions/wallet/getAddresses.js +1 -2
- package/_cjs/actions/wallet/getAddresses.js.map +1 -1
- package/_cjs/actions/wallet/getPermissions.js +1 -2
- package/_cjs/actions/wallet/getPermissions.js.map +1 -1
- package/_cjs/actions/wallet/prepareTransactionRequest.js +2 -2
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_cjs/actions/wallet/requestAddresses.js +1 -2
- package/_cjs/actions/wallet/requestAddresses.js.map +1 -1
- package/_cjs/actions/wallet/requestPermissions.js +1 -2
- package/_cjs/actions/wallet/requestPermissions.js.map +1 -1
- package/_cjs/actions/wallet/sendRawTransaction.js +1 -2
- package/_cjs/actions/wallet/sendRawTransaction.js.map +1 -1
- package/_cjs/actions/wallet/sendTransaction.js +2 -2
- package/_cjs/actions/wallet/sendTransaction.js.map +1 -1
- package/_cjs/actions/wallet/signMessage.js +1 -2
- package/_cjs/actions/wallet/signMessage.js.map +1 -1
- package/_cjs/actions/wallet/signTransaction.js +1 -2
- package/_cjs/actions/wallet/signTransaction.js.map +1 -1
- package/_cjs/actions/wallet/signTypedData.js +1 -2
- package/_cjs/actions/wallet/signTypedData.js.map +1 -1
- package/_cjs/actions/wallet/switchChain.js +1 -2
- package/_cjs/actions/wallet/switchChain.js.map +1 -1
- package/_cjs/actions/wallet/watchAsset.js +1 -2
- package/_cjs/actions/wallet/watchAsset.js.map +1 -1
- package/_cjs/actions/wallet/writeContract.js +1 -2
- package/_cjs/actions/wallet/writeContract.js.map +1 -1
- package/_cjs/celo/parsers.js +1 -2
- package/_cjs/celo/parsers.js.map +1 -1
- package/_cjs/celo/serializers.js +4 -4
- package/_cjs/celo/serializers.js.map +1 -1
- package/_cjs/celo/utils.js +4 -5
- package/_cjs/celo/utils.js.map +1 -1
- package/_cjs/chains/index.js +2 -2
- package/_cjs/clients/createClient.js +2 -3
- package/_cjs/clients/createClient.js.map +1 -1
- package/_cjs/clients/createPublicClient.js +1 -2
- package/_cjs/clients/createPublicClient.js.map +1 -1
- package/_cjs/clients/createTestClient.js +1 -2
- package/_cjs/clients/createTestClient.js.map +1 -1
- package/_cjs/clients/createWalletClient.js +1 -2
- package/_cjs/clients/createWalletClient.js.map +1 -1
- package/_cjs/clients/decorators/public.js +1 -2
- package/_cjs/clients/decorators/public.js.map +1 -1
- package/_cjs/clients/decorators/test.js +1 -2
- package/_cjs/clients/decorators/test.js.map +1 -1
- package/_cjs/clients/decorators/wallet.js +1 -2
- package/_cjs/clients/decorators/wallet.js.map +1 -1
- package/_cjs/clients/transports/createTransport.js +1 -2
- package/_cjs/clients/transports/createTransport.js.map +1 -1
- package/_cjs/clients/transports/custom.js +1 -2
- package/_cjs/clients/transports/custom.js.map +1 -1
- package/_cjs/clients/transports/fallback.js +2 -3
- package/_cjs/clients/transports/fallback.js.map +1 -1
- package/_cjs/clients/transports/http.js +1 -2
- package/_cjs/clients/transports/http.js.map +1 -1
- package/_cjs/clients/transports/ipc.js +1 -2
- package/_cjs/clients/transports/ipc.js.map +1 -1
- package/_cjs/clients/transports/webSocket.js +1 -2
- package/_cjs/clients/transports/webSocket.js.map +1 -1
- package/_cjs/errors/stateOverride.js +3 -3
- package/_cjs/errors/stateOverride.js.map +1 -1
- package/_cjs/errors/transaction.js +2 -2
- package/_cjs/errors/transaction.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/experimental/eip5792/actions/getCallsStatus.js +1 -2
- package/_cjs/experimental/eip5792/actions/getCallsStatus.js.map +1 -1
- package/_cjs/experimental/eip5792/actions/getCapabilities.js +1 -2
- package/_cjs/experimental/eip5792/actions/getCapabilities.js.map +1 -1
- package/_cjs/experimental/eip5792/actions/sendCalls.js +1 -2
- package/_cjs/experimental/eip5792/actions/sendCalls.js.map +1 -1
- package/_cjs/experimental/eip5792/actions/showCallsStatus.js +1 -2
- package/_cjs/experimental/eip5792/actions/showCallsStatus.js.map +1 -1
- package/_cjs/experimental/eip5792/actions/writeContracts.js +1 -2
- package/_cjs/experimental/eip5792/actions/writeContracts.js.map +1 -1
- package/_cjs/experimental/eip5792/decorators/eip5792.js +1 -2
- package/_cjs/experimental/eip5792/decorators/eip5792.js.map +1 -1
- package/_cjs/experimental/erc7715/actions/issuePermissions.js +1 -2
- package/_cjs/experimental/erc7715/actions/issuePermissions.js.map +1 -1
- package/_cjs/experimental/erc7715/decorators/erc7715.js +1 -2
- package/_cjs/experimental/erc7715/decorators/erc7715.js.map +1 -1
- package/_cjs/experimental/index.js +1 -5
- package/_cjs/experimental/index.js.map +1 -1
- package/_cjs/experimental/solady/actions/signMessage.js +1 -2
- package/_cjs/experimental/solady/actions/signMessage.js.map +1 -1
- package/_cjs/experimental/solady/actions/signTypedData.js +7 -28
- package/_cjs/experimental/solady/actions/signTypedData.js.map +1 -1
- package/_cjs/experimental/solady/decorators/solady.js +1 -2
- package/_cjs/experimental/solady/decorators/solady.js.map +1 -1
- package/_cjs/experimental/solady/index.js +16 -0
- package/_cjs/experimental/solady/index.js.map +1 -0
- package/_cjs/experimental/solady/utils/hashMessage.js +19 -0
- package/_cjs/experimental/solady/utils/hashMessage.js.map +1 -0
- package/_cjs/experimental/solady/utils/hashTypedData.js +31 -0
- package/_cjs/experimental/solady/utils/hashTypedData.js.map +1 -0
- package/_cjs/experimental/solady/utils/wrapTypedDataSignature.js +44 -0
- package/_cjs/experimental/solady/utils/wrapTypedDataSignature.js.map +1 -0
- package/_cjs/index.js.map +1 -1
- package/_cjs/op-stack/actions/buildDepositTransaction.js +1 -2
- package/_cjs/op-stack/actions/buildDepositTransaction.js.map +1 -1
- package/_cjs/op-stack/actions/buildInitiateWithdrawal.js +1 -2
- package/_cjs/op-stack/actions/buildInitiateWithdrawal.js.map +1 -1
- package/_cjs/op-stack/actions/buildProveWithdrawal.js +2 -3
- package/_cjs/op-stack/actions/buildProveWithdrawal.js.map +1 -1
- package/_cjs/op-stack/actions/depositTransaction.js +1 -2
- package/_cjs/op-stack/actions/depositTransaction.js.map +1 -1
- package/_cjs/op-stack/actions/estimateContractL1Fee.js +1 -2
- package/_cjs/op-stack/actions/estimateContractL1Fee.js.map +1 -1
- package/_cjs/op-stack/actions/estimateContractL1Gas.js +1 -2
- package/_cjs/op-stack/actions/estimateContractL1Gas.js.map +1 -1
- package/_cjs/op-stack/actions/estimateContractTotalFee.js +1 -2
- package/_cjs/op-stack/actions/estimateContractTotalFee.js.map +1 -1
- package/_cjs/op-stack/actions/estimateContractTotalGas.js +1 -2
- package/_cjs/op-stack/actions/estimateContractTotalGas.js.map +1 -1
- package/_cjs/op-stack/actions/estimateDepositTransactionGas.js +1 -2
- package/_cjs/op-stack/actions/estimateDepositTransactionGas.js.map +1 -1
- package/_cjs/op-stack/actions/estimateFinalizeWithdrawalGas.js +1 -2
- package/_cjs/op-stack/actions/estimateFinalizeWithdrawalGas.js.map +1 -1
- package/_cjs/op-stack/actions/estimateInitiateWithdrawalGas.js +1 -2
- package/_cjs/op-stack/actions/estimateInitiateWithdrawalGas.js.map +1 -1
- package/_cjs/op-stack/actions/estimateL1Fee.js +1 -2
- package/_cjs/op-stack/actions/estimateL1Fee.js.map +1 -1
- package/_cjs/op-stack/actions/estimateL1Gas.js +1 -2
- package/_cjs/op-stack/actions/estimateL1Gas.js.map +1 -1
- package/_cjs/op-stack/actions/estimateProveWithdrawalGas.js +1 -2
- package/_cjs/op-stack/actions/estimateProveWithdrawalGas.js.map +1 -1
- package/_cjs/op-stack/actions/estimateTotalFee.js +1 -2
- package/_cjs/op-stack/actions/estimateTotalFee.js.map +1 -1
- package/_cjs/op-stack/actions/estimateTotalGas.js +1 -2
- package/_cjs/op-stack/actions/estimateTotalGas.js.map +1 -1
- package/_cjs/op-stack/actions/finalizeWithdrawal.js +1 -2
- package/_cjs/op-stack/actions/finalizeWithdrawal.js.map +1 -1
- package/_cjs/op-stack/actions/getGame.js +1 -2
- package/_cjs/op-stack/actions/getGame.js.map +1 -1
- package/_cjs/op-stack/actions/getGames.js +1 -2
- package/_cjs/op-stack/actions/getGames.js.map +1 -1
- package/_cjs/op-stack/actions/getL1BaseFee.js +1 -2
- package/_cjs/op-stack/actions/getL1BaseFee.js.map +1 -1
- package/_cjs/op-stack/actions/getL2Output.js +1 -2
- package/_cjs/op-stack/actions/getL2Output.js.map +1 -1
- package/_cjs/op-stack/actions/getPortalVersion.js +1 -2
- package/_cjs/op-stack/actions/getPortalVersion.js.map +1 -1
- package/_cjs/op-stack/actions/getTimeToFinalize.js +1 -2
- package/_cjs/op-stack/actions/getTimeToFinalize.js.map +1 -1
- package/_cjs/op-stack/actions/getTimeToNextGame.js +1 -2
- package/_cjs/op-stack/actions/getTimeToNextGame.js.map +1 -1
- package/_cjs/op-stack/actions/getTimeToNextL2Output.js +1 -2
- package/_cjs/op-stack/actions/getTimeToNextL2Output.js.map +1 -1
- package/_cjs/op-stack/actions/getTimeToProve.js +1 -2
- package/_cjs/op-stack/actions/getTimeToProve.js.map +1 -1
- package/_cjs/op-stack/actions/getWithdrawalStatus.js +1 -2
- package/_cjs/op-stack/actions/getWithdrawalStatus.js.map +1 -1
- package/_cjs/op-stack/actions/initiateWithdrawal.js +1 -2
- package/_cjs/op-stack/actions/initiateWithdrawal.js.map +1 -1
- package/_cjs/op-stack/actions/proveWithdrawal.js +1 -2
- package/_cjs/op-stack/actions/proveWithdrawal.js.map +1 -1
- package/_cjs/op-stack/actions/waitForNextGame.js +1 -2
- package/_cjs/op-stack/actions/waitForNextGame.js.map +1 -1
- package/_cjs/op-stack/actions/waitForNextL2Output.js +1 -2
- package/_cjs/op-stack/actions/waitForNextL2Output.js.map +1 -1
- package/_cjs/op-stack/actions/waitToFinalize.js +1 -2
- package/_cjs/op-stack/actions/waitToFinalize.js.map +1 -1
- package/_cjs/op-stack/actions/waitToProve.js +1 -2
- package/_cjs/op-stack/actions/waitToProve.js.map +1 -1
- package/_cjs/op-stack/decorators/publicL1.js +1 -2
- package/_cjs/op-stack/decorators/publicL1.js.map +1 -1
- package/_cjs/op-stack/decorators/publicL2.js +1 -2
- package/_cjs/op-stack/decorators/publicL2.js.map +1 -1
- package/_cjs/op-stack/decorators/walletL1.js +1 -2
- package/_cjs/op-stack/decorators/walletL1.js.map +1 -1
- package/_cjs/op-stack/decorators/walletL2.js +1 -2
- package/_cjs/op-stack/decorators/walletL2.js.map +1 -1
- package/_cjs/op-stack/parsers.js +1 -2
- package/_cjs/op-stack/parsers.js.map +1 -1
- package/_cjs/op-stack/serializers.js +3 -3
- package/_cjs/op-stack/serializers.js.map +1 -1
- package/_cjs/op-stack/utils/extractTransactionDepositedLogs.js +1 -2
- package/_cjs/op-stack/utils/extractTransactionDepositedLogs.js.map +1 -1
- package/_cjs/op-stack/utils/extractWithdrawalMessageLogs.js +1 -2
- package/_cjs/op-stack/utils/extractWithdrawalMessageLogs.js.map +1 -1
- package/_cjs/op-stack/utils/getL2TransactionHash.js +1 -2
- package/_cjs/op-stack/utils/getL2TransactionHash.js.map +1 -1
- package/_cjs/op-stack/utils/getL2TransactionHashes.js +1 -2
- package/_cjs/op-stack/utils/getL2TransactionHashes.js.map +1 -1
- package/_cjs/op-stack/utils/getSourceHash.js +1 -2
- package/_cjs/op-stack/utils/getSourceHash.js.map +1 -1
- package/_cjs/op-stack/utils/getWithdrawalHashStorageSlot.js +1 -2
- package/_cjs/op-stack/utils/getWithdrawalHashStorageSlot.js.map +1 -1
- package/_cjs/op-stack/utils/getWithdrawals.js +1 -2
- package/_cjs/op-stack/utils/getWithdrawals.js.map +1 -1
- package/_cjs/op-stack/utils/opaqueDataToDepositData.js +1 -2
- package/_cjs/op-stack/utils/opaqueDataToDepositData.js.map +1 -1
- package/_cjs/utils/abi/decodeAbiParameters.js +1 -2
- package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
- package/_cjs/utils/abi/decodeDeployData.js +1 -2
- package/_cjs/utils/abi/decodeDeployData.js.map +1 -1
- package/_cjs/utils/abi/decodeErrorResult.js +1 -2
- package/_cjs/utils/abi/decodeErrorResult.js.map +1 -1
- package/_cjs/utils/abi/decodeEventLog.js +1 -2
- package/_cjs/utils/abi/decodeEventLog.js.map +1 -1
- package/_cjs/utils/abi/decodeFunctionData.js +1 -2
- package/_cjs/utils/abi/decodeFunctionData.js.map +1 -1
- package/_cjs/utils/abi/decodeFunctionResult.js +1 -2
- package/_cjs/utils/abi/decodeFunctionResult.js.map +1 -1
- package/_cjs/utils/abi/encodeAbiParameters.js +2 -3
- package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -1
- package/_cjs/utils/abi/encodeDeployData.js +1 -2
- package/_cjs/utils/abi/encodeDeployData.js.map +1 -1
- package/_cjs/utils/abi/encodeErrorResult.js +1 -2
- package/_cjs/utils/abi/encodeErrorResult.js.map +1 -1
- package/_cjs/utils/abi/encodeEventTopics.js +6 -7
- package/_cjs/utils/abi/encodeEventTopics.js.map +1 -1
- package/_cjs/utils/abi/encodeFunctionData.js +1 -2
- package/_cjs/utils/abi/encodeFunctionData.js.map +1 -1
- package/_cjs/utils/abi/encodeFunctionResult.js +1 -2
- package/_cjs/utils/abi/encodeFunctionResult.js.map +1 -1
- package/_cjs/utils/abi/encodePacked.js +1 -2
- package/_cjs/utils/abi/encodePacked.js.map +1 -1
- package/_cjs/utils/abi/formatAbiItem.js +2 -3
- package/_cjs/utils/abi/formatAbiItem.js.map +1 -1
- package/_cjs/utils/abi/formatAbiItemWithArgs.js +1 -2
- package/_cjs/utils/abi/formatAbiItemWithArgs.js.map +1 -1
- package/_cjs/utils/abi/getAbiItem.js +3 -4
- package/_cjs/utils/abi/getAbiItem.js.map +1 -1
- package/_cjs/utils/abi/parseEventLogs.js +1 -2
- package/_cjs/utils/abi/parseEventLogs.js.map +1 -1
- package/_cjs/utils/abi/prepareEncodeFunctionData.js +1 -2
- package/_cjs/utils/abi/prepareEncodeFunctionData.js.map +1 -1
- package/_cjs/utils/address/getAddress.js +2 -3
- package/_cjs/utils/address/getAddress.js.map +1 -1
- package/_cjs/utils/address/getContractAddress.js +3 -4
- package/_cjs/utils/address/getContractAddress.js.map +1 -1
- package/_cjs/utils/address/isAddress.js +2 -2
- package/_cjs/utils/address/isAddress.js.map +1 -1
- package/_cjs/utils/address/isAddressEqual.js +1 -2
- package/_cjs/utils/address/isAddressEqual.js.map +1 -1
- package/_cjs/utils/blob/blobsToCommitments.js +1 -2
- package/_cjs/utils/blob/blobsToCommitments.js.map +1 -1
- package/_cjs/utils/blob/blobsToProofs.js +1 -2
- package/_cjs/utils/blob/blobsToProofs.js.map +1 -1
- package/_cjs/utils/blob/commitmentToVersionedHash.js +1 -2
- package/_cjs/utils/blob/commitmentToVersionedHash.js.map +1 -1
- package/_cjs/utils/blob/commitmentsToVersionedHashes.js +1 -2
- package/_cjs/utils/blob/commitmentsToVersionedHashes.js.map +1 -1
- package/_cjs/utils/blob/fromBlobs.js +1 -2
- package/_cjs/utils/blob/fromBlobs.js.map +1 -1
- package/_cjs/utils/blob/sidecarsToVersionedHashes.js +1 -2
- package/_cjs/utils/blob/sidecarsToVersionedHashes.js.map +1 -1
- package/_cjs/utils/blob/toBlobSidecars.js +1 -2
- package/_cjs/utils/blob/toBlobSidecars.js.map +1 -1
- package/_cjs/utils/blob/toBlobs.js +1 -2
- package/_cjs/utils/blob/toBlobs.js.map +1 -1
- package/_cjs/utils/buildRequest.js +2 -3
- package/_cjs/utils/buildRequest.js.map +1 -1
- package/_cjs/utils/ccip.js +3 -3
- package/_cjs/utils/ccip.js.map +1 -1
- package/_cjs/utils/chain/assertCurrentChain.js +1 -2
- package/_cjs/utils/chain/assertCurrentChain.js.map +1 -1
- package/_cjs/utils/chain/defineChain.js +1 -2
- package/_cjs/utils/chain/defineChain.js.map +1 -1
- package/_cjs/utils/chain/extractChain.js +1 -2
- package/_cjs/utils/chain/extractChain.js.map +1 -1
- package/_cjs/utils/chain/getChainContractAddress.js +1 -2
- package/_cjs/utils/chain/getChainContractAddress.js.map +1 -1
- package/_cjs/utils/cursor.js +1 -2
- package/_cjs/utils/cursor.js.map +1 -1
- package/_cjs/utils/data/concat.js +3 -4
- package/_cjs/utils/data/concat.js.map +1 -1
- package/_cjs/utils/data/isBytes.js +1 -2
- package/_cjs/utils/data/isBytes.js.map +1 -1
- package/_cjs/utils/data/isBytesEqual.js +1 -2
- package/_cjs/utils/data/isBytesEqual.js.map +1 -1
- package/_cjs/utils/data/isHex.js +1 -2
- package/_cjs/utils/data/isHex.js.map +1 -1
- package/_cjs/utils/data/pad.js +3 -4
- package/_cjs/utils/data/pad.js.map +1 -1
- package/_cjs/utils/data/size.js +1 -2
- package/_cjs/utils/data/size.js.map +1 -1
- package/_cjs/utils/data/slice.js +3 -4
- package/_cjs/utils/data/slice.js.map +1 -1
- package/_cjs/utils/data/trim.js +1 -2
- package/_cjs/utils/data/trim.js.map +1 -1
- package/_cjs/utils/encoding/fromBytes.js +5 -6
- package/_cjs/utils/encoding/fromBytes.js.map +1 -1
- package/_cjs/utils/encoding/fromHex.js +6 -7
- package/_cjs/utils/encoding/fromHex.js.map +1 -1
- package/_cjs/utils/encoding/fromRlp.js +1 -2
- package/_cjs/utils/encoding/fromRlp.js.map +1 -1
- package/_cjs/utils/encoding/toBytes.js +5 -6
- package/_cjs/utils/encoding/toBytes.js.map +1 -1
- package/_cjs/utils/encoding/toHex.js +5 -6
- package/_cjs/utils/encoding/toHex.js.map +1 -1
- package/_cjs/utils/encoding/toRlp.js +3 -4
- package/_cjs/utils/encoding/toRlp.js.map +1 -1
- package/_cjs/utils/ens/avatar/parseAvatarRecord.js +1 -2
- package/_cjs/utils/ens/avatar/parseAvatarRecord.js.map +1 -1
- package/_cjs/utils/ens/avatar/utils.js +8 -9
- package/_cjs/utils/ens/avatar/utils.js.map +1 -1
- package/_cjs/utils/ens/encodeLabelhash.js +1 -2
- package/_cjs/utils/ens/encodeLabelhash.js.map +1 -1
- package/_cjs/utils/ens/encodedLabelToLabelhash.js +1 -2
- package/_cjs/utils/ens/encodedLabelToLabelhash.js.map +1 -1
- package/_cjs/utils/ens/errors.js +1 -2
- package/_cjs/utils/ens/errors.js.map +1 -1
- package/_cjs/utils/ens/labelhash.js +1 -2
- package/_cjs/utils/ens/labelhash.js.map +1 -1
- package/_cjs/utils/ens/namehash.js +1 -2
- package/_cjs/utils/ens/namehash.js.map +1 -1
- package/_cjs/utils/ens/normalize.js +1 -2
- package/_cjs/utils/ens/normalize.js.map +1 -1
- package/_cjs/utils/ens/packetToBytes.js +1 -2
- package/_cjs/utils/ens/packetToBytes.js.map +1 -1
- package/_cjs/utils/errors/getCallError.js +1 -2
- package/_cjs/utils/errors/getCallError.js.map +1 -1
- package/_cjs/utils/errors/getContractError.js +1 -2
- package/_cjs/utils/errors/getContractError.js.map +1 -1
- package/_cjs/utils/errors/getEstimateGasError.js +1 -2
- package/_cjs/utils/errors/getEstimateGasError.js.map +1 -1
- package/_cjs/utils/errors/getNodeError.js +2 -3
- package/_cjs/utils/errors/getNodeError.js.map +1 -1
- package/_cjs/utils/errors/getTransactionError.js +1 -2
- package/_cjs/utils/errors/getTransactionError.js.map +1 -1
- package/_cjs/utils/filters/createFilterRequestScope.js +1 -2
- package/_cjs/utils/filters/createFilterRequestScope.js.map +1 -1
- package/_cjs/utils/formatters/block.js +2 -2
- package/_cjs/utils/formatters/block.js.map +1 -1
- package/_cjs/utils/formatters/extract.js +1 -2
- package/_cjs/utils/formatters/extract.js.map +1 -1
- package/_cjs/utils/formatters/feeHistory.js +1 -2
- package/_cjs/utils/formatters/feeHistory.js.map +1 -1
- package/_cjs/utils/formatters/formatter.js +1 -2
- package/_cjs/utils/formatters/formatter.js.map +1 -1
- package/_cjs/utils/formatters/log.js +1 -2
- package/_cjs/utils/formatters/log.js.map +1 -1
- package/_cjs/utils/formatters/proof.js +1 -2
- package/_cjs/utils/formatters/proof.js.map +1 -1
- package/_cjs/utils/formatters/transaction.js +2 -2
- package/_cjs/utils/formatters/transaction.js.map +1 -1
- package/_cjs/utils/formatters/transactionReceipt.js +2 -2
- package/_cjs/utils/formatters/transactionReceipt.js.map +1 -1
- package/_cjs/utils/formatters/transactionRequest.js +2 -2
- package/_cjs/utils/formatters/transactionRequest.js.map +1 -1
- package/_cjs/utils/getAction.js +9 -6
- package/_cjs/utils/getAction.js.map +1 -1
- package/_cjs/utils/hash/hashSignature.js +1 -2
- package/_cjs/utils/hash/hashSignature.js.map +1 -1
- package/_cjs/utils/hash/isHash.js +1 -2
- package/_cjs/utils/hash/isHash.js.map +1 -1
- package/_cjs/utils/hash/keccak256.js +1 -2
- package/_cjs/utils/hash/keccak256.js.map +1 -1
- package/_cjs/utils/hash/normalizeSignature.js +1 -2
- package/_cjs/utils/hash/normalizeSignature.js.map +1 -1
- package/_cjs/utils/hash/ripemd160.js +1 -2
- package/_cjs/utils/hash/ripemd160.js.map +1 -1
- package/_cjs/utils/hash/sha256.js +1 -2
- package/_cjs/utils/hash/sha256.js.map +1 -1
- package/_cjs/utils/hash/toSignatureHash.js +1 -2
- package/_cjs/utils/hash/toSignatureHash.js.map +1 -1
- package/_cjs/utils/index.js.map +1 -1
- package/_cjs/utils/kzg/defineKzg.js +1 -2
- package/_cjs/utils/kzg/defineKzg.js.map +1 -1
- package/_cjs/utils/kzg/setupKzg.js +1 -2
- package/_cjs/utils/kzg/setupKzg.js.map +1 -1
- package/_cjs/utils/nonceManager.js +3 -3
- package/_cjs/utils/nonceManager.js.map +1 -1
- package/_cjs/utils/observe.js +2 -2
- package/_cjs/utils/observe.js.map +1 -1
- package/_cjs/utils/poll.js +1 -2
- package/_cjs/utils/poll.js.map +1 -1
- package/_cjs/utils/promise/createBatchScheduler.js +1 -2
- package/_cjs/utils/promise/createBatchScheduler.js.map +1 -1
- package/_cjs/utils/promise/withCache.js +3 -3
- package/_cjs/utils/promise/withCache.js.map +1 -1
- package/_cjs/utils/promise/withDedupe.js +2 -2
- package/_cjs/utils/promise/withDedupe.js.map +1 -1
- package/_cjs/utils/promise/withRetry.js +1 -2
- package/_cjs/utils/promise/withRetry.js.map +1 -1
- package/_cjs/utils/promise/withTimeout.js +1 -2
- package/_cjs/utils/promise/withTimeout.js.map +1 -1
- package/_cjs/utils/rpc/compat.js +2 -2
- package/_cjs/utils/rpc/compat.js.map +1 -1
- package/_cjs/utils/rpc/http.js +1 -2
- package/_cjs/utils/rpc/http.js.map +1 -1
- package/_cjs/utils/rpc/ipc.js +2 -3
- package/_cjs/utils/rpc/ipc.js.map +1 -1
- package/_cjs/utils/rpc/socket.js +2 -2
- package/_cjs/utils/rpc/socket.js.map +1 -1
- package/_cjs/utils/rpc/webSocket.js +1 -2
- package/_cjs/utils/rpc/webSocket.js.map +1 -1
- package/_cjs/utils/signature/compactSignatureToSignature.js +1 -2
- package/_cjs/utils/signature/compactSignatureToSignature.js.map +1 -1
- package/_cjs/utils/signature/hashMessage.js +1 -2
- package/_cjs/utils/signature/hashMessage.js.map +1 -1
- package/_cjs/utils/signature/hashTypedData.js +4 -5
- package/_cjs/utils/signature/hashTypedData.js.map +1 -1
- package/_cjs/utils/signature/isErc6492Signature.js +1 -2
- package/_cjs/utils/signature/isErc6492Signature.js.map +1 -1
- package/_cjs/utils/signature/parseCompactSignature.js +1 -2
- package/_cjs/utils/signature/parseCompactSignature.js.map +1 -1
- package/_cjs/utils/signature/parseErc6492Signature.js +1 -2
- package/_cjs/utils/signature/parseErc6492Signature.js.map +1 -1
- package/_cjs/utils/signature/parseSignature.js +1 -2
- package/_cjs/utils/signature/parseSignature.js.map +1 -1
- package/_cjs/utils/signature/recoverAddress.js +1 -2
- package/_cjs/utils/signature/recoverAddress.js.map +1 -1
- package/_cjs/utils/signature/recoverMessageAddress.js +1 -2
- package/_cjs/utils/signature/recoverMessageAddress.js.map +1 -1
- package/_cjs/utils/signature/recoverPublicKey.js +1 -2
- package/_cjs/utils/signature/recoverPublicKey.js.map +1 -1
- package/_cjs/utils/signature/recoverTransactionAddress.js +1 -2
- package/_cjs/utils/signature/recoverTransactionAddress.js.map +1 -1
- package/_cjs/utils/signature/recoverTypedDataAddress.js +1 -2
- package/_cjs/utils/signature/recoverTypedDataAddress.js.map +1 -1
- package/_cjs/utils/signature/serializeCompactSignature.js +1 -2
- package/_cjs/utils/signature/serializeCompactSignature.js.map +1 -1
- package/_cjs/utils/signature/serializeErc6492Signature.js +1 -2
- package/_cjs/utils/signature/serializeErc6492Signature.js.map +1 -1
- package/_cjs/utils/signature/serializeSignature.js +1 -2
- package/_cjs/utils/signature/serializeSignature.js.map +1 -1
- package/_cjs/utils/signature/signatureToCompactSignature.js +1 -2
- package/_cjs/utils/signature/signatureToCompactSignature.js.map +1 -1
- package/_cjs/utils/signature/toPrefixedMessage.js +1 -2
- package/_cjs/utils/signature/toPrefixedMessage.js.map +1 -1
- package/_cjs/utils/signature/verifyMessage.js +1 -2
- package/_cjs/utils/signature/verifyMessage.js.map +1 -1
- package/_cjs/utils/signature/verifyTypedData.js +1 -2
- package/_cjs/utils/signature/verifyTypedData.js.map +1 -1
- package/_cjs/utils/siwe/createSiweMessage.js +1 -2
- package/_cjs/utils/siwe/createSiweMessage.js.map +1 -1
- package/_cjs/utils/siwe/generateSiweNonce.js +1 -2
- package/_cjs/utils/siwe/generateSiweNonce.js.map +1 -1
- package/_cjs/utils/siwe/parseSiweMessage.js +1 -2
- package/_cjs/utils/siwe/parseSiweMessage.js.map +1 -1
- package/_cjs/utils/siwe/utils.js +1 -2
- package/_cjs/utils/siwe/utils.js.map +1 -1
- package/_cjs/utils/siwe/validateSiweMessage.js +1 -2
- package/_cjs/utils/siwe/validateSiweMessage.js.map +1 -1
- package/_cjs/utils/stateOverride.js +3 -4
- package/_cjs/utils/stateOverride.js.map +1 -1
- package/_cjs/utils/transaction/assertRequest.js +1 -2
- package/_cjs/utils/transaction/assertRequest.js.map +1 -1
- package/_cjs/utils/transaction/assertTransaction.js +4 -5
- package/_cjs/utils/transaction/assertTransaction.js.map +1 -1
- package/_cjs/utils/transaction/getSerializedTransactionType.js +1 -2
- package/_cjs/utils/transaction/getSerializedTransactionType.js.map +1 -1
- package/_cjs/utils/transaction/getTransactionType.js +1 -2
- package/_cjs/utils/transaction/getTransactionType.js.map +1 -1
- package/_cjs/utils/transaction/parseTransaction.js +3 -4
- package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
- package/_cjs/utils/transaction/serializeAccessList.js +1 -2
- package/_cjs/utils/transaction/serializeAccessList.js.map +1 -1
- package/_cjs/utils/transaction/serializeTransaction.js +2 -3
- package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
- package/_cjs/utils/typedData.js +4 -5
- package/_cjs/utils/typedData.js.map +1 -1
- package/_cjs/utils/uid.js +1 -2
- package/_cjs/utils/uid.js.map +1 -1
- package/_cjs/utils/unit/formatEther.js +1 -2
- package/_cjs/utils/unit/formatEther.js.map +1 -1
- package/_cjs/utils/unit/formatGwei.js +1 -2
- package/_cjs/utils/unit/formatGwei.js.map +1 -1
- package/_cjs/utils/unit/formatUnits.js +1 -2
- package/_cjs/utils/unit/formatUnits.js.map +1 -1
- package/_cjs/utils/unit/parseEther.js +1 -2
- package/_cjs/utils/unit/parseEther.js.map +1 -1
- package/_cjs/utils/unit/parseGwei.js +1 -2
- package/_cjs/utils/unit/parseGwei.js.map +1 -1
- package/_cjs/utils/unit/parseUnits.js +1 -2
- package/_cjs/utils/unit/parseUnits.js.map +1 -1
- package/_cjs/utils/wait.js +1 -2
- package/_cjs/utils/wait.js.map +1 -1
- package/_cjs/zksync/actions/deployContract.js +1 -2
- package/_cjs/zksync/actions/deployContract.js.map +1 -1
- package/_cjs/zksync/actions/estimateFee.js +1 -2
- package/_cjs/zksync/actions/estimateFee.js.map +1 -1
- package/_cjs/zksync/actions/estimateGasL1ToL2.js +1 -2
- package/_cjs/zksync/actions/estimateGasL1ToL2.js.map +1 -1
- package/_cjs/zksync/actions/getAllBalances.js +1 -2
- package/_cjs/zksync/actions/getAllBalances.js.map +1 -1
- package/_cjs/zksync/actions/getBaseTokenL1Address.js +1 -2
- package/_cjs/zksync/actions/getBaseTokenL1Address.js.map +1 -1
- package/_cjs/zksync/actions/getBlockDetails.js +1 -2
- package/_cjs/zksync/actions/getBlockDetails.js.map +1 -1
- package/_cjs/zksync/actions/getBridgehubContractAddress.js +1 -2
- package/_cjs/zksync/actions/getBridgehubContractAddress.js.map +1 -1
- package/_cjs/zksync/actions/getDefaultBridgeAddresses.js +1 -2
- package/_cjs/zksync/actions/getDefaultBridgeAddresses.js.map +1 -1
- package/_cjs/zksync/actions/getL1Allowance.js +1 -2
- package/_cjs/zksync/actions/getL1Allowance.js.map +1 -1
- package/_cjs/zksync/actions/getL1Balance.js +1 -2
- package/_cjs/zksync/actions/getL1Balance.js.map +1 -1
- package/_cjs/zksync/actions/getL1BatchBlockRange.js +1 -2
- package/_cjs/zksync/actions/getL1BatchBlockRange.js.map +1 -1
- package/_cjs/zksync/actions/getL1BatchDetails.js +1 -2
- package/_cjs/zksync/actions/getL1BatchDetails.js.map +1 -1
- package/_cjs/zksync/actions/getL1BatchNumber.js +1 -2
- package/_cjs/zksync/actions/getL1BatchNumber.js.map +1 -1
- package/_cjs/zksync/actions/getL1ChainId.js +1 -2
- package/_cjs/zksync/actions/getL1ChainId.js.map +1 -1
- package/_cjs/zksync/actions/getL1TokenBalance.js +1 -2
- package/_cjs/zksync/actions/getL1TokenBalance.js.map +1 -1
- package/_cjs/zksync/actions/getLogProof.js +1 -2
- package/_cjs/zksync/actions/getLogProof.js.map +1 -1
- package/_cjs/zksync/actions/getMainContractAddress.js +1 -2
- package/_cjs/zksync/actions/getMainContractAddress.js.map +1 -1
- package/_cjs/zksync/actions/getRawBlockTransactions.js +1 -2
- package/_cjs/zksync/actions/getRawBlockTransactions.js.map +1 -1
- package/_cjs/zksync/actions/getTestnetPaymasterAddress.js +1 -2
- package/_cjs/zksync/actions/getTestnetPaymasterAddress.js.map +1 -1
- package/_cjs/zksync/actions/getTransactionDetails.js +1 -2
- package/_cjs/zksync/actions/getTransactionDetails.js.map +1 -1
- package/_cjs/zksync/actions/sendEip712Transaction.js +1 -2
- package/_cjs/zksync/actions/sendEip712Transaction.js.map +1 -1
- package/_cjs/zksync/actions/sendTransaction.js +1 -2
- package/_cjs/zksync/actions/sendTransaction.js.map +1 -1
- package/_cjs/zksync/actions/signEip712Transaction.js +1 -2
- package/_cjs/zksync/actions/signEip712Transaction.js.map +1 -1
- package/_cjs/zksync/actions/signTransaction.js +1 -2
- package/_cjs/zksync/actions/signTransaction.js.map +1 -1
- package/_cjs/zksync/decorators/eip712.js +1 -2
- package/_cjs/zksync/decorators/eip712.js.map +1 -1
- package/_cjs/zksync/decorators/publicL1.js +1 -2
- package/_cjs/zksync/decorators/publicL1.js.map +1 -1
- package/_cjs/zksync/decorators/publicL2.js +1 -2
- package/_cjs/zksync/decorators/publicL2.js.map +1 -1
- package/_cjs/zksync/serializers.js +2 -2
- package/_cjs/zksync/serializers.js.map +1 -1
- package/_cjs/zksync/utils/abi/encodeDeployData.js +1 -2
- package/_cjs/zksync/utils/abi/encodeDeployData.js.map +1 -1
- package/_cjs/zksync/utils/assertEip712Request.js +1 -2
- package/_cjs/zksync/utils/assertEip712Request.js.map +1 -1
- package/_cjs/zksync/utils/assertEip712Transaction.js +1 -2
- package/_cjs/zksync/utils/assertEip712Transaction.js.map +1 -1
- package/_cjs/zksync/utils/camelCaseKeys.js +1 -2
- package/_cjs/zksync/utils/camelCaseKeys.js.map +1 -1
- package/_cjs/zksync/utils/hashBytecode.js +1 -2
- package/_cjs/zksync/utils/hashBytecode.js.map +1 -1
- package/_cjs/zksync/utils/isEip712Transaction.js +1 -2
- package/_cjs/zksync/utils/isEip712Transaction.js.map +1 -1
- package/_cjs/zksync/utils/isEth.js +1 -2
- package/_cjs/zksync/utils/isEth.js.map +1 -1
- package/_cjs/zksync/utils/paymaster/getApprovalBasedPaymasterInput.js +1 -2
- package/_cjs/zksync/utils/paymaster/getApprovalBasedPaymasterInput.js.map +1 -1
- package/_cjs/zksync/utils/paymaster/getGeneralPaymasterInput.js +1 -2
- package/_cjs/zksync/utils/paymaster/getGeneralPaymasterInput.js.map +1 -1
- package/_esm/actions/public/createEventFilter.js +7 -7
- package/_esm/actions/public/createEventFilter.js.map +1 -1
- package/_esm/actions/public/getLogs.js +7 -7
- package/_esm/actions/public/getLogs.js.map +1 -1
- package/_esm/actions/public/watchEvent.js +7 -7
- package/_esm/actions/public/watchEvent.js.map +1 -1
- package/_esm/actions/wallet/sendTransaction.js +1 -0
- package/_esm/actions/wallet/sendTransaction.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/experimental/index.js +0 -2
- package/_esm/experimental/index.js.map +1 -1
- package/_esm/experimental/solady/actions/signTypedData.js +6 -28
- package/_esm/experimental/solady/actions/signTypedData.js.map +1 -1
- package/_esm/experimental/solady/index.js +8 -0
- package/_esm/experimental/solady/index.js.map +1 -0
- package/_esm/experimental/solady/utils/hashMessage.js +32 -0
- package/_esm/experimental/solady/utils/hashMessage.js.map +1 -0
- package/_esm/experimental/solady/utils/hashTypedData.js +72 -0
- package/_esm/experimental/solady/utils/hashTypedData.js.map +1 -0
- package/_esm/experimental/solady/utils/wrapTypedDataSignature.js +82 -0
- package/_esm/experimental/solady/utils/wrapTypedDataSignature.js.map +1 -0
- package/_esm/index.js.map +1 -1
- package/_esm/utils/abi/encodeEventTopics.js +5 -5
- package/_esm/utils/abi/encodeEventTopics.js.map +1 -1
- package/_esm/utils/getAction.js +11 -7
- package/_esm/utils/getAction.js.map +1 -1
- package/_esm/utils/index.js.map +1 -1
- package/_types/actions/wallet/sendTransaction.d.ts.map +1 -1
- package/_types/celo/chainConfig.d.ts +1086 -1086
- package/_types/celo/formatters.d.ts +543 -543
- package/_types/celo/formatters.d.ts.map +1 -1
- package/_types/chains/definitions/ancient8.d.ts +260 -260
- package/_types/chains/definitions/ancient8Sepolia.d.ts +260 -260
- package/_types/chains/definitions/base.d.ts +260 -260
- package/_types/chains/definitions/baseGoerli.d.ts +260 -260
- package/_types/chains/definitions/baseSepolia.d.ts +260 -260
- package/_types/chains/definitions/celo.d.ts +1086 -1086
- package/_types/chains/definitions/celoAlfajores.d.ts +1086 -1086
- package/_types/chains/definitions/fraxtal.d.ts +260 -260
- package/_types/chains/definitions/fraxtalTestnet.d.ts +260 -260
- package/_types/chains/definitions/funkiSepolia.d.ts +260 -260
- package/_types/chains/definitions/lisk.d.ts +315 -315
- package/_types/chains/definitions/liskSepolia.d.ts +260 -260
- package/_types/chains/definitions/metalL2.d.ts +260 -260
- package/_types/chains/definitions/optimism.d.ts +260 -260
- package/_types/chains/definitions/optimismGoerli.d.ts +260 -260
- package/_types/chains/definitions/optimismSepolia.d.ts +260 -260
- package/_types/chains/definitions/pgn.d.ts +260 -260
- package/_types/chains/definitions/pgnTestnet.d.ts +260 -260
- package/_types/chains/definitions/playfiAlbireo.d.ts +315 -315
- package/_types/chains/definitions/rss3.d.ts +260 -260
- package/_types/chains/definitions/rss3Sepolia.d.ts +260 -260
- package/_types/chains/definitions/zkSync.d.ts +315 -315
- package/_types/chains/definitions/zkSyncInMemoryNode.d.ts +315 -315
- package/_types/chains/definitions/zkSyncLocalNode.d.ts +315 -315
- package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +315 -315
- package/_types/chains/definitions/zkSyncTestnet.d.ts +315 -315
- package/_types/chains/definitions/zora.d.ts +260 -260
- package/_types/chains/definitions/zoraSepolia.d.ts +260 -260
- package/_types/chains/definitions/zoraTestnet.d.ts +260 -260
- package/_types/errors/version.d.ts +1 -1
- package/_types/experimental/eip5792/decorators/eip5792.d.ts.map +1 -1
- package/_types/experimental/erc7715/decorators/erc7715.d.ts.map +1 -1
- package/_types/experimental/index.d.ts +0 -2
- package/_types/experimental/index.d.ts.map +1 -1
- package/_types/experimental/solady/actions/signTypedData.d.ts.map +1 -1
- package/_types/experimental/solady/decorators/solady.d.ts.map +1 -1
- package/_types/experimental/solady/index.d.ts +7 -0
- package/_types/experimental/solady/index.d.ts.map +1 -0
- package/_types/experimental/solady/utils/hashMessage.d.ts +30 -0
- package/_types/experimental/solady/utils/hashMessage.d.ts.map +1 -0
- package/_types/experimental/solady/utils/hashTypedData.d.ts +59 -0
- package/_types/experimental/solady/utils/hashTypedData.d.ts.map +1 -0
- package/_types/experimental/solady/utils/wrapTypedDataSignature.d.ts +50 -0
- package/_types/experimental/solady/utils/wrapTypedDataSignature.d.ts.map +1 -0
- package/_types/index.d.ts +1 -1
- package/_types/index.d.ts.map +1 -1
- package/_types/op-stack/chainConfig.d.ts +260 -260
- package/_types/op-stack/decorators/publicL1.d.ts.map +1 -1
- package/_types/op-stack/decorators/publicL2.d.ts.map +1 -1
- package/_types/op-stack/decorators/walletL1.d.ts.map +1 -1
- package/_types/op-stack/decorators/walletL2.d.ts.map +1 -1
- package/_types/op-stack/formatters.d.ts +260 -260
- package/_types/op-stack/formatters.d.ts.map +1 -1
- package/_types/utils/abi/decodeFunctionData.d.ts +1 -1
- package/_types/utils/abi/decodeFunctionData.d.ts.map +1 -1
- package/_types/utils/abi/encodeEventTopics.d.ts +3 -1
- package/_types/utils/abi/encodeEventTopics.d.ts.map +1 -1
- package/_types/utils/formatters/block.d.ts.map +1 -1
- package/_types/utils/formatters/formatter.d.ts +2 -2
- package/_types/utils/formatters/formatter.d.ts.map +1 -1
- package/_types/utils/formatters/log.d.ts.map +1 -1
- package/_types/utils/formatters/proof.d.ts.map +1 -1
- package/_types/utils/formatters/transaction.d.ts +127 -126
- package/_types/utils/formatters/transaction.d.ts.map +1 -1
- package/_types/utils/formatters/transactionRequest.d.ts +67 -66
- package/_types/utils/formatters/transactionRequest.d.ts.map +1 -1
- package/_types/utils/getAction.d.ts +9 -1
- package/_types/utils/getAction.d.ts.map +1 -1
- package/_types/utils/index.d.ts +1 -1
- package/_types/utils/index.d.ts.map +1 -1
- package/_types/utils/rpc/compat.d.ts.map +1 -1
- package/_types/utils/rpc/ipc.d.ts +0 -2
- package/_types/utils/rpc/ipc.d.ts.map +1 -1
- package/_types/zksync/chainConfig.d.ts +315 -315
- package/_types/zksync/decorators/eip712.d.ts.map +1 -1
- package/_types/zksync/decorators/publicL1.d.ts.map +1 -1
- package/_types/zksync/decorators/publicL2.d.ts.map +1 -1
- package/_types/zksync/formatters.d.ts +315 -315
- package/_types/zksync/formatters.d.ts.map +1 -1
- package/actions/public/createEventFilter.ts +9 -9
- package/actions/public/getLogs.ts +9 -9
- package/actions/public/watchEvent.ts +9 -9
- package/actions/wallet/sendTransaction.ts +1 -0
- package/errors/version.ts +1 -1
- package/experimental/index.ts +0 -12
- package/experimental/solady/actions/signTypedData.ts +6 -35
- package/experimental/solady/index.ts +36 -0
- package/experimental/solady/utils/hashMessage.ts +60 -0
- package/experimental/solady/utils/hashTypedData.ts +112 -0
- package/experimental/solady/utils/wrapTypedDataSignature.ts +108 -0
- package/index.ts +1 -0
- package/package.json +9 -1
- package/utils/abi/encodeEventTopics.ts +13 -11
- package/utils/getAction.ts +31 -15
- package/utils/index.ts +1 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"finalizeWithdrawal.js","sourceRoot":"","sources":["../../../op-stack/actions/finalizeWithdrawal.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"finalizeWithdrawal.js","sourceRoot":"","sources":["../../../op-stack/actions/finalizeWithdrawal.ts"],"names":[],"mappings":";;AAqFA,gDA6CC;AAjID,4EAI8C;AAa9C,wCAAsC;AAGtC,yFAI2C;AA4DpC,KAAK,UAAU,kBAAkB,CAKtC,MAAyC,EACzC,UAAuE;IAEvE,MAAM,EACJ,OAAO,EACP,KAAK,GAAG,MAAM,CAAC,KAAK,EACpB,GAAG,EACH,YAAY,EACZ,oBAAoB,EACpB,KAAK,EACL,WAAW,EACX,UAAU,GACX,GAAG,UAAU,CAAA;IAEd,MAAM,aAAa,GAAG,CAAC,GAAG,EAAE;QAC1B,IAAI,UAAU,CAAC,aAAa;YAAE,OAAO,UAAU,CAAC,aAAa,CAAA;QAC7D,IAAI,KAAK;YAAE,OAAO,WAAY,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,OAAO,CAAA;QACjE,OAAO,MAAM,CAAC,MAAM,CAAC,WAAY,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAA;IAChE,CAAC,CAAC,EAAE,CAAA;IAEJ,MAAM,IAAI,GACR,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,IAAI;QACrC,CAAC,CAAC,MAAM,IAAA,gEAA6B,EACjC,MAAM,EACN,UAAqD,CACtD;QACH,CAAC,CAAC,SAAS,CAAA;IAEf,OAAO,IAAA,gCAAa,EAAC,MAAM,EAAE;QAC3B,OAAO,EAAE,OAAQ;QACjB,GAAG,EAAE,mBAAS;QACd,OAAO,EAAE,aAAa;QACtB,KAAK;QACL,YAAY,EAAE,+BAA+B;QAC7C,IAAI,EAAE,CAAC,UAAU,CAAC;QAClB,GAAG,EAAE,IAAI;QACT,YAAY;QACZ,oBAAoB;QACpB,KAAK;KACmC,CAAC,CAAA;AAC7C,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getGame =
|
3
|
+
exports.getGame = getGame;
|
4
4
|
const withdrawal_js_1 = require("../errors/withdrawal.js");
|
5
5
|
const getGames_js_1 = require("./getGames.js");
|
6
6
|
async function getGame(client, parameters) {
|
@@ -16,5 +16,4 @@ async function getGame(client, parameters) {
|
|
16
16
|
throw new withdrawal_js_1.GameNotFoundError();
|
17
17
|
return game;
|
18
18
|
}
|
19
|
-
exports.getGame = getGame;
|
20
19
|
//# sourceMappingURL=getGame.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getGame.js","sourceRoot":"","sources":["../../../op-stack/actions/getGame.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"getGame.js","sourceRoot":"","sources":["../../../op-stack/actions/getGame.ts"],"names":[],"mappings":";;AA4EA,0BAsBC;AAzFD,2DAGgC;AAGhC,+CAAgE;AA6DzD,KAAK,UAAU,OAAO,CAK3B,MAAyC,EACzC,UAAmD;IAEnD,MAAM,EAAE,aAAa,EAAE,QAAQ,GAAG,QAAQ,EAAE,GAAG,UAAU,CAAA;IAEzD,MAAM,WAAW,GAAG,MAAM,IAAA,sBAAQ,EAAC,MAAM,EAAE,UAAU,CAAC,CAAA;IAEtD,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,CAAA;IAE9E,MAAM,IAAI,GAAG,CAAC,GAAG,EAAE;QACjB,IAAI,QAAQ,KAAK,QAAQ;YACvB,OAAO,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAA;QACxD,OAAO,KAAK,CAAC,CAAC,CAAC,CAAA;IACjB,CAAC,CAAC,EAAE,CAAA;IAEJ,IAAI,CAAC,IAAI;QAAE,MAAM,IAAI,iCAAiB,EAAE,CAAA;IACxC,OAAO,IAAI,CAAA;AACb,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getGames =
|
3
|
+
exports.getGames = getGames;
|
4
4
|
const readContract_js_1 = require("../../actions/public/readContract.js");
|
5
5
|
const decodeAbiParameters_js_1 = require("../../utils/abi/decodeAbiParameters.js");
|
6
6
|
const abis_js_1 = require("../abis.js");
|
@@ -52,5 +52,4 @@ async function getGames(client, parameters) {
|
|
52
52
|
.filter(Boolean);
|
53
53
|
return games;
|
54
54
|
}
|
55
|
-
exports.getGames = getGames;
|
56
55
|
//# sourceMappingURL=getGames.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getGames.js","sourceRoot":"","sources":["../../../op-stack/actions/getGames.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"getGames.js","sourceRoot":"","sources":["../../../op-stack/actions/getGames.ts"],"names":[],"mappings":";;AAiEA,4BAmEC;AApID,0EAG6C;AAU7C,mFAA4E;AAC5E,wCAA8D;AAmDvD,KAAK,UAAU,QAAQ,CAK5B,MAAyC,EACzC,UAAoD;IAEpD,MAAM,EACJ,KAAK,GAAG,MAAM,CAAC,KAAK,EACpB,aAAa,EACb,KAAK,GAAG,GAAG,EACX,WAAW,GACZ,GAAG,UAAU,CAAA;IAEd,MAAM,aAAa,GAAG,CAAC,GAAG,EAAE;QAC1B,IAAI,UAAU,CAAC,aAAa;YAAE,OAAO,UAAU,CAAC,aAAa,CAAA;QAC7D,IAAI,KAAK;YAAE,OAAO,WAAY,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,OAAO,CAAA;QACjE,OAAO,MAAM,CAAC,MAAM,CAAC,WAAY,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAA;IAChE,CAAC,CAAC,EAAE,CAAA;IAEJ,MAAM,yBAAyB,GAAG,CAAC,GAAG,EAAE;QACtC,IAAI,UAAU,CAAC,yBAAyB;YACtC,OAAO,UAAU,CAAC,yBAAyB,CAAA;QAC7C,IAAI,KAAK;YACP,OAAO,WAAY,CAAC,SAAS,CAAC,kBAAkB,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,OAAO,CAAA;QACpE,OAAO,MAAM,CAAC,MAAM,CAAC,WAAY,CAAC,SAAS,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC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-1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getL1BaseFee =
|
3
|
+
exports.getL1BaseFee = getL1BaseFee;
|
4
4
|
const readContract_js_1 = require("../../actions/public/readContract.js");
|
5
5
|
const getChainContractAddress_js_1 = require("../../utils/chain/getChainContractAddress.js");
|
6
6
|
const abis_js_1 = require("../abis.js");
|
@@ -23,5 +23,4 @@ async function getL1BaseFee(client, args) {
|
|
23
23
|
functionName: 'l1BaseFee',
|
24
24
|
});
|
25
25
|
}
|
26
|
-
exports.getL1BaseFee = getL1BaseFee;
|
27
26
|
//# sourceMappingURL=getL1BaseFee.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getL1BaseFee.js","sourceRoot":"","sources":["../../../op-stack/actions/getL1BaseFee.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"getL1BaseFee.js","sourceRoot":"","sources":["../../../op-stack/actions/getL1BaseFee.ts"],"names":[],"mappings":";;AAqDA,oCA2BC;AA9ED,0EAG6C;AAO7C,6FAAsF;AAGtF,wCAA8C;AAC9C,kDAA2C;AAqCpC,KAAK,UAAU,YAAY,CAIhC,MAAiC,EACjC,IAAiE;IAEjE,MAAM,EACJ,KAAK,GAAG,MAAM,CAAC,KAAK,EACpB,qBAAqB,EAAE,sBAAsB,GAC9C,GAAG,IAAI,IAAI,EAAE,CAAA;IAEd,MAAM,qBAAqB,GAAG,CAAC,GAAG,EAAE;QAClC,IAAI,sBAAsB;YAAE,OAAO,sBAAsB,CAAA;QACzD,IAAI,KAAK;YACP,OAAO,IAAA,oDAAuB,EAAC;gBAC7B,KAAK;gBACL,QAAQ,EAAE,gBAAgB;aAC3B,CAAC,CAAA;QACJ,OAAO,wBAAS,CAAC,cAAc,CAAC,OAAO,CAAA;IACzC,CAAC,CAAC,EAAE,CAAA;IAEJ,OAAO,IAAA,8BAAY,EAAC,MAAM,EAAE;QAC1B,GAAG,EAAE,2BAAiB;QACtB,OAAO,EAAE,qBAAqB;QAC9B,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAA;AACJ,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getL2Output =
|
3
|
+
exports.getL2Output = getL2Output;
|
4
4
|
const readContract_js_1 = require("../../actions/public/readContract.js");
|
5
5
|
const abis_js_1 = require("../abis.js");
|
6
6
|
const getGame_js_1 = require("./getGame.js");
|
@@ -38,5 +38,4 @@ async function getL2Output(client, parameters) {
|
|
38
38
|
});
|
39
39
|
return { outputIndex, ...output };
|
40
40
|
}
|
41
|
-
exports.getL2Output = getL2Output;
|
42
41
|
//# sourceMappingURL=getL2Output.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getL2Output.js","sourceRoot":"","sources":["../../../op-stack/actions/getL2Output.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"getL2Output.js","sourceRoot":"","sources":["../../../op-stack/actions/getL2Output.ts"],"names":[],"mappings":";;AA4EA,kCAqDC;AAjID,0EAG6C;AAY7C,wCAA8C;AAG9C,6CAA8D;AAC9D,+DAG8B;AAsDvB,KAAK,UAAU,WAAW,CAK/B,MAAyC,EACzC,UAAuD;IAEvD,MAAM,EAAE,KAAK,GAAG,MAAM,CAAC,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,GAAG,UAAU,CAAA;IAEvE,MAAM,OAAO,GAAG,MAAM,IAAA,sCAAgB,EACpC,MAAM,EACN,UAAwC,CACzC,CAAA;IAED,IAAI,OAAO,CAAC,KAAK,IAAI,CAAC,EAAE,CAAC;QACvB,MAAM,IAAI,GAAG,MAAM,IAAA,oBAAO,EAAC,MAAM,EAAE,UAA+B,CAAC,CAAA;QACnE,OAAO;YACL,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,WAAW,EAAE,IAAI,CAAC,KAAK;YACvB,UAAU,EAAE,IAAI,CAAC,SAAS;YAC1B,SAAS,EAAE,IAAI,CAAC,SAAS;SAC1B,CAAA;IACH,CAAC;IAED,MAAM,qBAAqB,GAAG,CAAC,GAAG,EAAE;QAClC,IAAI,UAAU,CAAC,qBAAqB;YAClC,OAAO,UAAU,CAAC,qBAAqB,CAAA;QACzC,IAAI,KAAK;YACP,OAAQ,WAAuC,CAAC,SAAS,CAAC,cAAc,CACtE,KAAK,CAAC,EAAE,CACT,CAAC,OAAO,CAAA;QACX,OACE,MAAM,CAAC,MAAM,CACV,WAAuC,CAAC,SAAS,CAAC,cAAc,CAEpE,CAAC,CAAC,CAAC,CAAC,OAAO,CAAA;IACd,CAAC,CAAC,EAAE,CAAA;IAEJ,MAAM,WAAW,GAAG,MAAM,IAAA,8BAAY,EAAC,MAAM,EAAE;QAC7C,OAAO,EAAE,qBAAqB;QAC9B,GAAG,EAAE,2BAAiB;QACtB,YAAY,EAAE,uBAAuB;QACrC,IAAI,EAAE,CAAC,aAAa,CAAC;KACtB,CAAC,CAAA;IACF,MAAM,MAAM,GAAG,MAAM,IAAA,8BAAY,EAAC,MAAM,EAAE;QACxC,OAAO,EAAE,qBAAqB;QAC9B,GAAG,EAAE,2BAAiB;QACtB,YAAY,EAAE,aAAa;QAC3B,IAAI,EAAE,CAAC,WAAW,CAAC;KACpB,CAAC,CAAA;IAEF,OAAO,EAAE,WAAW,EAAE,GAAG,MAAM,EAAE,CAAA;AACnC,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getPortalVersion =
|
3
|
+
exports.getPortalVersion = getPortalVersion;
|
4
4
|
const readContract_js_1 = require("../../actions/public/readContract.js");
|
5
5
|
const withCache_js_1 = require("../../utils/promise/withCache.js");
|
6
6
|
const abis_js_1 = require("../abis.js");
|
@@ -21,5 +21,4 @@ async function getPortalVersion(client, parameters) {
|
|
21
21
|
const [major, minor, patch] = version.split('.').map(Number);
|
22
22
|
return { major, minor, patch };
|
23
23
|
}
|
24
|
-
exports.getPortalVersion = getPortalVersion;
|
25
24
|
//# sourceMappingURL=getPortalVersion.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getPortalVersion.js","sourceRoot":"","sources":["../../../op-stack/actions/getPortalVersion.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"getPortalVersion.js","sourceRoot":"","sources":["../../../op-stack/actions/getPortalVersion.ts"],"names":[],"mappings":";;AA0DA,4CA4BC;AAtFD,0EAG6C;AAS7C,mEAA4D;AAC5D,wCAAuC;AA6ChC,KAAK,UAAU,gBAAgB,CAIpC,MAAgC,EAChC,UAA4D;IAE5D,MAAM,EAAE,KAAK,GAAG,MAAM,CAAC,KAAK,EAAE,WAAW,EAAE,GAAG,UAAU,CAAA;IAExD,MAAM,aAAa,GAAG,CAAC,GAAG,EAAE;QAC1B,IAAI,UAAU,CAAC,aAAa;YAAE,OAAO,UAAU,CAAC,aAAa,CAAA;QAC7D,IAAI,KAAK;YAAE,OAAO,WAAY,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,OAAO,CAAA;QACjE,OAAO,MAAM,CAAC,MAAM,CAAC,WAAY,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAA;IAChE,CAAC,CAAC,EAAE,CAAA;IAEJ,MAAM,OAAO,GAAG,MAAM,IAAA,wBAAS,EAC7B,GAAG,EAAE,CACH,IAAA,8BAAY,EAAC,MAAM,EAAE;QACnB,GAAG,EAAE,oBAAU;QACf,OAAO,EAAE,aAAa;QACtB,YAAY,EAAE,SAAS;KACxB,CAAC,EACJ,EAAE,QAAQ,EAAE,CAAC,eAAe,EAAE,aAAa,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,CACzE,CAAA;IAED,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;IAE5D,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAA;AAChC,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getTimeToFinalize =
|
3
|
+
exports.getTimeToFinalize = getTimeToFinalize;
|
4
4
|
const multicall_js_1 = require("../../actions/public/multicall.js");
|
5
5
|
const readContract_js_1 = require("../../actions/public/readContract.js");
|
6
6
|
const base_js_1 = require("../../errors/base.js");
|
@@ -76,5 +76,4 @@ async function getTimeToFinalize(client, parameters) {
|
|
76
76
|
const timestamp = Date.now() + seconds * 1000;
|
77
77
|
return { period: Number(proofMaturityDelaySeconds), seconds, timestamp };
|
78
78
|
}
|
79
|
-
exports.getTimeToFinalize = getTimeToFinalize;
|
80
79
|
//# sourceMappingURL=getTimeToFinalize.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getTimeToFinalize.js","sourceRoot":"","sources":["../../../op-stack/actions/getTimeToFinalize.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"getTimeToFinalize.js","sourceRoot":"","sources":["../../../op-stack/actions/getTimeToFinalize.ts"],"names":[],"mappings":";;AA2EA,8CA4FC;AAvKD,oEAG0C;AAC1C,0EAAmE;AAGnE,kDAAgD;AAShD,wCAAqE;AAErE,+DAAwD;AAoBxD,MAAM,MAAM,GAAG,EAAE,CAAA;AAqCV,KAAK,UAAU,iBAAiB,CAKrC,MAAyC,EACzC,UAA6D;IAE7D,MAAM,EAAE,KAAK,GAAG,MAAM,CAAC,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,GAAG,UAAU,CAAA;IAExE,MAAM,aAAa,GAAG,CAAC,GAAG,EAAE;QAC1B,IAAI,UAAU,CAAC,aAAa;YAAE,OAAO,UAAU,CAAC,aAAa,CAAA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I,cAAc,KAAK,EAAE;QACvB,MAAM,IAAI,mBAAS,CAAC,uCAAuC,CAAC,CAAA;IAE9D,MAAM,kBAAkB,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,IAAI,GAAG,MAAM,CAAC,cAAc,CAAC,CAAA;IACrE,MAAM,iBAAiB,GACrB,MAAM,CAAC,yBAAyB,CAAC,GAAG,kBAAkB,CAAA;IAExD,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CACxB,iBAAiB,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,iBAAiB,GAAG,MAAM,CACxD,CAAA;IACD,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,OAAO,GAAG,IAAI,CAAA;IAE7C,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,yBAAyB,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,CAAA;AAC1E,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getTimeToNextGame =
|
3
|
+
exports.getTimeToNextGame = getTimeToNextGame;
|
4
4
|
const getGames_js_1 = require("./getGames.js");
|
5
5
|
async function getTimeToNextGame(client, parameters) {
|
6
6
|
const { intervalBuffer = 1.1, l2BlockNumber } = parameters;
|
@@ -41,5 +41,4 @@ async function getTimeToNextGame(client, parameters) {
|
|
41
41
|
const timestamp = seconds > 0 ? now + seconds * 1000 : undefined;
|
42
42
|
return { interval, seconds, timestamp };
|
43
43
|
}
|
44
|
-
exports.getTimeToNextGame = getTimeToNextGame;
|
45
44
|
//# sourceMappingURL=getTimeToNextGame.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getTimeToNextGame.js","sourceRoot":"","sources":["../../../op-stack/actions/getTimeToNextGame.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"getTimeToNextGame.js","sourceRoot":"","sources":["../../../op-stack/actions/getTimeTo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output = getTimeToNextL2Output;
|
4
4
|
const multicall_js_1 = require("../../actions/public/multicall.js");
|
5
5
|
const readContract_js_1 = require("../../actions/public/readContract.js");
|
6
6
|
const abis_js_1 = require("../abis.js");
|
@@ -59,5 +59,4 @@ async function getTimeToNextL2Output(client, parameters) {
|
|
59
59
|
const timestamp = seconds > 0 ? now + seconds * 1000 : undefined;
|
60
60
|
return { interval, seconds, timestamp };
|
61
61
|
}
|
62
|
-
exports.getTimeToNextL2Output = getTimeToNextL2Output;
|
63
62
|
//# sourceMappingURL=getTimeToNextL2Output.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getTimeToNextL2Output.js","sourceRoot":"","sources":["../../../op-stack/actions/getTimeToNextL2Output.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"getTimeToNextL2Output.js","sourceRoot":"","sources":["../../../op-stack/actions/getTimeToNextL2Output.ts"],"names":[],"mappings":";;AAgFA,sDAiFC;AAjKD,oEAG0C;AAC1C,0EAG6C;AAU7C,wCAA8C;AA+DvC,KAAK,UAAU,qBAAqB,CAKzC,MAAyC,EACzC,UAAiE;IAEjE,MAAM,EACJ,cAAc,GAAG,GAAG,EACpB,KAAK,GAAG,MAAM,CAAC,KAAK,EACpB,aAAa,EACb,WAAW,GACZ,GAAG,UAAU,CAAA;IAEd,MAAM,qBAAqB,GAAG,CAAC,GAAG,EAAE;QAClC,IAAI,UAAU,CAAC,qBAAqB;YAClC,OAAO,UAAU,CAAC,qBAAqB,CAAA;QACzC,IAAI,KAAK;YAAE,OAAO,WAAY,CAAC,SAAS,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,OAAO,CAAA;QACzE,OAAO,MAAM,CAAC,MAAM,CAAC,WAAY,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAA;IACxE,CAAC,CAAC,EAAE,CAAA;IAEJ,MAAM,CAAC,iBAAiB,EAAE,SAAS,EAAE,aAAa,CAA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M,mBAAmB,GACvB,kBAAkB,GAAG,CAAC,OAAO,GAAG,kBAAkB,CAAC,CAAA;QACrD,OAAO,aAAa,GAAG,aAAa;YAClC,CAAC,CAAC,mBAAmB;YACrB,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,aAAa,GAAG,MAAM,CAAC,aAAa,CAAC,CAAC,GAAG,kBAAkB;gBACpE,mBAAmB,CAAA;IAC3B,CAAC,CAAC,EAAE,CAAA;IAEJ,MAAM,SAAS,GAAG,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC,SAAS,CAAA;IAEhE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,CAAA;AACzC,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getTimeToProve =
|
3
|
+
exports.getTimeToProve = getTimeToProve;
|
4
4
|
const getPortalVersion_js_1 = require("./getPortalVersion.js");
|
5
5
|
const getTimeToNextGame_js_1 = require("./getTimeToNextGame.js");
|
6
6
|
const getTimeToNextL2Output_js_1 = require("./getTimeToNextL2Output.js");
|
@@ -17,5 +17,4 @@ async function getTimeToProve(client, parameters) {
|
|
17
17
|
l2BlockNumber: receipt.blockNumber,
|
18
18
|
});
|
19
19
|
}
|
20
|
-
exports.getTimeToProve = getTimeToProve;
|
21
20
|
//# sourceMappingURL=getTimeToProve.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getTimeToProve.js","sourceRoot":"","sources":["../../../op-stack/actions/getTimeToProve.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"getTimeToProve.js","sourceRoot":"","sources":["../../../op-stack/actions/getTimeToProve.ts"],"names":[],"mappings":";;AA4FA,wCA0BC;AA1GD,+DAI8B;AAC9B,iEAK+B;AAC/B,yEAKmC;AAgE5B,KAAK,UAAU,cAAc,CAKlC,MAAyC,EACzC,UAA0D;IAE1D,MAAM,EAAE,OAAO,EAAE,GAAG,UAAU,CAAA;IAE9B,MAAM,aAAa,GAAG,MAAM,IAAA,sCAAgB,EAC1C,MAAM,EACN,UAAwC,CACzC,CAAA;IAGD,IAAI,aAAa,CAAC,KAAK,GAAG,CAAC;QACzB,OAAO,IAAA,gDAAqB,EAAC,MAAM,EAAE;YACnC,GAAG,UAAU;YACb,aAAa,EAAE,OAAO,CAAC,WAAW;SACA,CAAC,CAAA;IAEvC,OAAO,IAAA,wCAAiB,EAAC,MAAM,EAAE;QAC/B,GAAG,UAAU;QACb,aAAa,EAAE,OAAO,CAAC,WAAW;KACJ,CAAC,CAAA;AACnC,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getWithdrawalStatus =
|
3
|
+
exports.getWithdrawalStatus = getWithdrawalStatus;
|
4
4
|
const readContract_js_1 = require("../../actions/public/readContract.js");
|
5
5
|
const contract_js_1 = require("../../errors/contract.js");
|
6
6
|
const abis_js_1 = require("../abis.js");
|
@@ -126,5 +126,4 @@ async function getWithdrawalStatus(client, parameters) {
|
|
126
126
|
throw finalizedResult.reason;
|
127
127
|
return 'ready-to-finalize';
|
128
128
|
}
|
129
|
-
exports.getWithdrawalStatus = getWithdrawalStatus;
|
130
129
|
//# sourceMappingURL=getWithdrawalStatus.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getWithdrawalStatus.js","sourceRoot":"","sources":["../../../op-stack/actions/getWithdrawalStatus.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"getWithdrawalStatus.js","sourceRoot":"","sources":["../../../op-stack/actions/getWithdrawalStatus.ts"],"names":[],"mappings":";;AA+GA,kDAoJC;AAnQD,0EAG6C;AAG7C,0DAAwE;AAUxE,wCAAkD;AAClD,2DAGgC;AAGhC,kEAGmC;AACnC,6CAIqB;AACrB,qDAIyB;AACz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AAM,iBAAiB,CAAC,MAAM,CAAA;IAChC,CAAC;IACD,IAAI,qBAAqB,CAAC,MAAM,KAAK,UAAU,EAAE,CAAC;QAChD,MAAM,KAAK,GAAG,qBAAqB,CAAC,MAA+B,CAAA;QACnE,IAAI,KAAK,CAAC,KAAK,YAAY,2CAA6B,EAAE,CAAC;YACzD,MAAM,YAAY,GAAG,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAA;YAChD,IACE,YAAY,KAAK,oDAAoD;gBACrE,YAAY;oBACV,+EAA+E;gBAEjF,OAAO,gBAAgB,CAAA;YACzB,IACE,YAAY;gBACV,uDAAuD;gBACzD,YAAY;oBACV,4DAA4D;gBAC9D,YAAY,KAAK,4CAA4C;gBAE7D,OAAO,qBAAqB,CAAA;QAChC,CAAC;QACD,MAAM,qBAAqB,CAAC,MAAM,CAAA;IACpC,CAAC;IACD,IAAI,eAAe,CAAC,MAAM,KAAK,UAAU;QAAE,MAAM,eAAe,CAAC,MAAM,CAAA;IAEvE,OAAO,mBAAmB,CAAA;AAC5B,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.initiateWithdrawal =
|
3
|
+
exports.initiateWithdrawal = initiateWithdrawal;
|
4
4
|
const writeContract_js_1 = require("../../actions/wallet/writeContract.js");
|
5
5
|
const abis_js_1 = require("../abis.js");
|
6
6
|
const contracts_js_1 = require("../contracts.js");
|
@@ -24,5 +24,4 @@ async function initiateWithdrawal(client, parameters) {
|
|
24
24
|
value,
|
25
25
|
});
|
26
26
|
}
|
27
|
-
exports.initiateWithdrawal = initiateWithdrawal;
|
28
27
|
//# sourceMappingURL=initiateWithdrawal.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"initiateWithdrawal.js","sourceRoot":"","sources":["../../../op-stack/actions/initiateWithdrawal.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"initiateWithdrawal.js","sourceRoot":"","sources":["../../../op-stack/actions/initiateWithdrawal.ts"],"names":[],"mappings":";;AAiHA,gDAuCC;AAvJD,4EAI8C;AAa9C,wCAAmD;AACnD,kDAA2C;AAE3C,yFAI2C;AAwFpC,KAAK,UAAU,kBAAkB,CAKtC,MAAyC,EACzC,UAAuE;IAEvE,MAAM,EACJ,OAAO,EACP,KAAK,GAAG,MAAM,CAAC,KAAK,EACpB,GAAG,EACH,YAAY,EACZ,oBAAoB,EACpB,KAAK,EACL,OAAO,EAAE,EAAE,IAAI,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,GAChD,GAAG,UAAU,CAAA;IAEd,MAAM,IAAI,GACR,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,IAAI;QACrC,CAAC,CAAC,MAAM,IAAA,gEAA6B,EACjC,MAAM,EACN,UAAqD,CACtD;QACH,CAAC,CAAC,SAAS,CAAA;IAEf,OAAO,IAAA,gCAAa,EAAC,MAAM,EAAE;QAC3B,OAAO,EAAE,OAAQ;QACjB,GAAG,EAAE,gCAAsB;QAC3B,OAAO,EAAE,wBAAS,CAAC,mBAAmB,CAAC,OAAO;QAC9C,KAAK;QACL,YAAY,EAAE,oBAAoB;QAClC,IAAI,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC;QACvB,GAAG,EAAE,IAAI;QACT,YAAY;QACZ,oBAAoB;QACpB,KAAK;QACL,KAAK;KACmC,CAAC,CAAA;AAC7C,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.proveWithdrawal =
|
3
|
+
exports.proveWithdrawal = proveWithdrawal;
|
4
4
|
const writeContract_js_1 = require("../../actions/wallet/writeContract.js");
|
5
5
|
const abis_js_1 = require("../abis.js");
|
6
6
|
const estimateProveWithdrawalGas_js_1 = require("./estimateProveWithdrawalGas.js");
|
@@ -29,5 +29,4 @@ async function proveWithdrawal(client, parameters) {
|
|
29
29
|
nonce,
|
30
30
|
});
|
31
31
|
}
|
32
|
-
exports.proveWithdrawal = proveWithdrawal;
|
33
32
|
//# sourceMappingURL=proveWithdrawal.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"proveWithdrawal.js","sourceRoot":"","sources":["../../../op-stack/actions/proveWithdrawal.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"proveWithdrawal.js","sourceRoot":"","sources":["../../../op-stack/actions/proveWithdrawal.ts"],"names":[],"mappings":";;AAyGA,0CAgDC;AAxJD,4EAI8C;AAa9C,wCAAsC;AAEtC,mFAIwC;AAiFjC,KAAK,UAAU,eAAe,CAKnC,MAAyC,EACzC,UAAoE;IAEpE,MAAM,EACJ,OAAO,EACP,KAAK,GAAG,MAAM,CAAC,KAAK,EACpB,GAAG,EACH,aAAa,EACb,YAAY,EACZ,oBAAoB,EACpB,KAAK,EACL,eAAe,EACf,WAAW,EACX,eAAe,EACf,UAAU,GACX,GAAG,UAAU,CAAA;IAEd,MAAM,aAAa,GAAG,CAAC,GAAG,EAAE;QAC1B,IAAI,UAAU,CAAC,aAAa;YAAE,OAAO,UAAU,CAAC,aAAa,CAAA;QAC7D,IAAI,KAAK;YAAE,OAAO,WAAY,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,OAAO,CAAA;QACjE,OAAO,MAAM,CAAC,MAAM,CAAC,WAAY,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAA;IAChE,CAAC,CAAC,EAAE,CAAA;IAEJ,MAAM,IAAI,GACR,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,IAAI;QACrC,CAAC,CAAC,MAAM,IAAA,0DAA0B,EAC9B,MAAM,EACN,UAAkD,CACnD;QACH,CAAC,CAAC,GAAG,IAAI,SAAS,CAAA;IAEtB,OAAO,IAAA,gCAAa,EAAC,MAAM,EAAE;QAC3B,OAAO,EAAE,OAAQ;QACjB,GAAG,EAAE,mBAAS;QACd,OAAO,EAAE,aAAa;QACtB,KAAK;QACL,YAAY,EAAE,4BAA4B;QAC1C,IAAI,EAAE,CAAC,UAAU,EAAE,aAAa,EAAE,eAAe,EAAE,eAAe,CAAC;QACnE,GAAG,EAAE,IAAI;QACT,YAAY;QACZ,oBAAoB;QACpB,KAAK;KACmC,CAAC,CAAA;AAC7C,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.waitForNextGame =
|
3
|
+
exports.waitForNextGame = waitForNextGame;
|
4
4
|
const poll_js_1 = require("../../utils/poll.js");
|
5
5
|
const withdrawal_js_1 = require("../errors/withdrawal.js");
|
6
6
|
const getGame_js_1 = require("./getGame.js");
|
@@ -31,5 +31,4 @@ async function waitForNextGame(client, parameters) {
|
|
31
31
|
});
|
32
32
|
});
|
33
33
|
}
|
34
|
-
exports.waitForNextGame = waitForNextGame;
|
35
34
|
//# sourceMappingURL=waitForNextGame.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"waitForNextGame.js","sourceRoot":"","sources":["../../../op-stack/actions/waitForNextGame.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"waitForNextGame.js","sourceRoot":"","sources":["../../../op-stack/actions/waitForNextGame.ts"],"names":[],"mappings":";;AAqFA,0CAoCC;AAhHD,iDAA0C;AAC1C,2DAA2D;AAE3D,6CAIqB;AACrB,iEAI+B;AAgExB,KAAK,UAAU,eAAe,CAKnC,MAAyC,EACzC,UAA2D;IAE3D,MAAM,EAAE,eAAe,GAAG,MAAM,CAAC,eAAe,EAAE,GAAG,UAAU,CAAA;IAE/D,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,IAAA,wCAAiB,EAAC,MAAM,EAAE,UAAU,CAAC,CAAA;IAE/D,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACrC,IAAA,cAAI,EACF,KAAK,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;YACnB,IAAI,CAAC;gBACH,MAAM,IAAI,GAAG,MAAM,IAAA,oBAAO,EAAC,MAAM,EAAE;oBACjC,GAAG,UAAU;oBACb,QAAQ,EAAE,QAAQ;iBACnB,CAAC,CAAA;gBACF,MAAM,EAAE,CAAA;gBACR,OAAO,CAAC,IAAI,CAAC,CAAA;YACf,CAAC;YAAC,OAAO,CAAC,EAAE,CAAC;gBACX,MAAM,KAAK,GAAG,CAAqB,CAAA;gBACnC,IAAI,CAAC,CAAC,KAAK,YAAY,iCAAiB,CAAC,EAAE,CAAC;oBAC1C,MAAM,EAAE,CAAA;oBACR,MAAM,CAAC,CAAC,CAAC,CAAA;gBACX,CAAC;YACH,CAAC;QACH,CAAC,EACD;YACE,QAAQ,EAAE,eAAe;YACzB,eAAe,EAAE,KAAK,IAAI,EAAE,CAAC,OAAO,GAAG,IAAI;SAC5C,CACF,CAAA;IACH,CAAC,CAAC,CAAA;AACJ,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.waitForNextL2Output =
|
3
|
+
exports.waitForNextL2Output = waitForNextL2Output;
|
4
4
|
const contract_js_1 = require("../../errors/contract.js");
|
5
5
|
const poll_js_1 = require("../../utils/poll.js");
|
6
6
|
const getL2Output_js_1 = require("./getL2Output.js");
|
@@ -28,5 +28,4 @@ async function waitForNextL2Output(client, parameters) {
|
|
28
28
|
});
|
29
29
|
});
|
30
30
|
}
|
31
|
-
exports.waitForNextL2Output = waitForNextL2Output;
|
32
31
|
//# sourceMappingURL=waitForNextL2Output.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"waitForNextL2Output.js","sourceRoot":"","sources":["../../../op-stack/actions/waitForNextL2Output.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"waitForNextL2Output.js","sourceRoot":"","sources":["../../../op-stack/actions/waitForNextL2Output.ts"],"names":[],"mappings":";;AAgFA,kDAoCC;AAlHD,0DAAwE;AAQxE,iDAA0C;AAE1C,qDAKyB;AACzB,yEAImC;AA0D5B,KAAK,UAAU,mBAAmB,CAKvC,MAAyC,EACzC,UAA+D;IAE/D,MAAM,EAAE,eAAe,GAAG,MAAM,CAAC,eAAe,EAAE,GAAG,UAAU,CAAA;IAE/D,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,IAAA,gDAAqB,EAAC,MAAM,EAAE,UAAU,CAAC,CAAA;IAEnE,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACrC,IAAA,cAAI,EACF,KAAK,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;YACnB,IAAI,CAAC;gBACH,MAAM,MAAM,GAAG,MAAM,IAAA,4BAAW,EAC9B,MAAM,EACN,UAAmC,CACpC,CAAA;gBACD,MAAM,EAAE,CAAA;gBACR,OAAO,CAAC,MAAM,CAAC,CAAA;YACjB,CAAC;YAAC,OAAO,CAAC,EAAE,CAAC;gBACX,MAAM,KAAK,GAAG,CAAyB,CAAA;gBACvC,IAAI,CAAC,CAAC,KAAK,CAAC,KAAK,YAAY,2CAA6B,CAAC,EAAE,CAAC;oBAC5D,MAAM,EAAE,CAAA;oBACR,MAAM,CAAC,CAAC,CAAC,CAAA;gBACX,CAAC;YACH,CAAC;QACH,CAAC,EACD;YACE,QAAQ,EAAE,eAAe;YACzB,eAAe,EAAE,KAAK,IAAI,EAAE,CAAC,OAAO,GAAG,IAAI;SAC5C,CACF,CAAA;IACH,CAAC,CAAC,CAAA;AACJ,CAAC"}
|
@@ -1,11 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.waitToFinalize =
|
3
|
+
exports.waitToFinalize = waitToFinalize;
|
4
4
|
const wait_js_1 = require("../../utils/wait.js");
|
5
5
|
const getTimeToFinalize_js_1 = require("./getTimeToFinalize.js");
|
6
6
|
async function waitToFinalize(client, parameters) {
|
7
7
|
const { seconds } = await (0, getTimeToFinalize_js_1.getTimeToFinalize)(client, parameters);
|
8
8
|
await (0, wait_js_1.wait)(seconds * 1000);
|
9
9
|
}
|
10
|
-
exports.waitToFinalize = waitToFinalize;
|
11
10
|
//# sourceMappingURL=waitToFinalize.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"waitToFinalize.js","sourceRoot":"","sources":["../../../op-stack/actions/waitToFinalize.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"waitToFinalize.js","sourceRoot":"","sources":["../../../op-stack/actions/waitToFinalize.ts"],"names":[],"mappings":";;AAqDA,wCAUC;AA1DD,iDAA0C;AAC1C,iEAI+B;AA2CxB,KAAK,UAAU,cAAc,CAKlC,MAAyC,EACzC,UAA0D;IAE1D,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,IAAA,wCAAiB,EAAC,MAAM,EAAE,UAAU,CAAC,CAAA;IAC/D,MAAM,IAAA,cAAI,EAAC,OAAO,GAAG,IAAI,CAAC,CAAA;AAC5B,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.waitToProve =
|
3
|
+
exports.waitToProve = waitToProve;
|
4
4
|
const withdrawal_js_1 = require("../errors/withdrawal.js");
|
5
5
|
const getWithdrawals_js_1 = require("../utils/getWithdrawals.js");
|
6
6
|
const getPortalVersion_js_1 = require("./getPortalVersion.js");
|
@@ -48,5 +48,4 @@ async function waitToProve(client, parameters) {
|
|
48
48
|
withdrawal,
|
49
49
|
};
|
50
50
|
}
|
51
|
-
exports.waitToProve = waitToProve;
|
52
51
|
//# sourceMappingURL=waitToProve.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"waitToProve.js","sourceRoot":"","sources":["../../../op-stack/actions/waitToProve.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"waitToProve.js","sourceRoot":"","sources":["../../../op-stack/actions/waitToProve.ts"],"names":[],"mappings":";;AAmGA,kCAyDC;AAjJD,2DAA2E;AAG3E,kEAGmC;AACnC,+DAG8B;AAC9B,6DAI6B;AAC7B,qEAKiC;AAmE1B,KAAK,UAAU,WAAW,CAK/B,MAAyC,EACzC,UAAuD;IAEvD,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,UAAU,CAAA;IAEzC,MAAM,CAAC,UAAU,CAAC,GAAG,IAAA,kCAAc,EAAC,OAAO,CAAC,CAAA;IAE5C,IAAI,CAAC,UAAU;QACb,MAAM,IAAI,iDAAiC,CAAC;YAC1C,IAAI,EAAE,OAAO,CAAC,eAAe;SAC9B,CAAC,CAAA;IAEJ,MAAM,aAAa,GAAG,MAAM,IAAA,sCAAgB,EAC1C,MAAM,EACN,UAAwC,CACzC,CAAA;IAGD,IAAI,aAAa,CAAC,KAAK,GAAG,CAAC,EAAE,CAAC;QAC5B,MAAM,MAAM,GAAG,MAAM,IAAA,4CAAmB,EAAC,MAAM,EAAE;YAC/C,GAAG,UAAU;YACb,aAAa,EAAE,OAAO,CAAC,WAAW;SACF,CAAC,CAAA;QACnC,OAAO;YACL,IAAI,EAAE;gBACJ,SAAS,EAAE,IAAI;gBACf,KAAK,EAAE,MAAM,CAAC,WAAW;gBACzB,aAAa,EAAE,MAAM,CAAC,aAAa;gBACnC,QAAQ,EAAE,IAAI;gBACd,SAAS,EAAE,MAAM,CAAC,UAAU;gBAC5B,SAAS,EAAE,MAAM,CAAC,SAAS;aAC5B;YACD,MAAM;YACN,UAAU;SACX,CAAA;IACH,CAAC;IAED,MAAM,IAAI,GAAG,MAAM,IAAA,oCAAe,EAAC,MAAM,EAAE;QACzC,GAAG,UAAU;QACb,KAAK,EAAE,SAAS;QAChB,aAAa,EAAE,OAAO,CAAC,WAAW;KACN,CAAC,CAAA;IAC/B,OAAO;QACL,IAAI;QACJ,MAAM,EAAE;YACN,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,WAAW,EAAE,IAAI,CAAC,KAAK;YACvB,UAAU,EAAE,IAAI,CAAC,SAAS;YAC1B,SAAS,EAAE,IAAI,CAAC,SAAS;SAC1B;QACD,UAAU;KACX,CAAA;AACH,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.publicActionsL1 =
|
3
|
+
exports.publicActionsL1 = publicActionsL1;
|
4
4
|
const buildInitiateWithdrawal_js_1 = require("../actions/buildInitiateWithdrawal.js");
|
5
5
|
const estimateDepositTransactionGas_js_1 = require("../actions/estimateDepositTransactionGas.js");
|
6
6
|
const estimateFinalizeWithdrawalGas_js_1 = require("../actions/estimateFinalizeWithdrawalGas.js");
|
@@ -41,5 +41,4 @@ function publicActionsL1() {
|
|
41
41
|
};
|
42
42
|
};
|
43
43
|
}
|
44
|
-
exports.publicActionsL1 = publicActionsL1;
|
45
44
|
//# sourceMappingURL=publicL1.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"publicL1.js","sourceRoot":"","sources":["../../../op-stack/decorators/publicL1.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"publicL1.js","sourceRoot":"","sources":["../../../op-stack/decorators/publicL1.ts"],"names":[],"mappings":";;AAqpBA,0CA+BC;AA/qBD,sFAI8C;AAC9C,kGAIoD;AACpD,kGAIoD;AACpD,4FAIiD;AACjD,sDAI8B;AAC9B,wDAI+B;AAC/B,8DAIkC;AAClC,wEAIuC;AACvC,0EAIwC;AACxC,0EAIwC;AACxC,kFAI4C;AAC5C,oEAIqC;AACrC,8EAI0C;AAC1C,sEAIsC;AACtC,8EAI0C;AAC1C,oEAIqC;AACrC,8DAIkC;AA4jBlC,SAAgB,eAAe;IAC7B,OAAO,CAKL,MAA4C,EACT,EAAE;Q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AI,CAAC;YAChE,eAAe,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,oCAAe,EAAC,MAAM,EAAE,IAAI,CAAC;YACxD,mBAAmB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,4CAAmB,EAAC,MAAM,EAAE,IAAI,CAAC;YAChE,cAAc,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,kCAAc,EAAC,MAAM,EAAE,IAAI,CAAC;YACtD,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,4BAAW,EAAC,MAAM,EAAE,IAAI,CAAC;SACjD,CAAA;IACH,CAAC,CAAA;AACH,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.publicActionsL2 =
|
3
|
+
exports.publicActionsL2 = publicActionsL2;
|
4
4
|
const buildDepositTransaction_js_1 = require("../actions/buildDepositTransaction.js");
|
5
5
|
const buildProveWithdrawal_js_1 = require("../actions/buildProveWithdrawal.js");
|
6
6
|
const estimateContractL1Fee_js_1 = require("../actions/estimateContractL1Fee.js");
|
@@ -31,5 +31,4 @@ function publicActionsL2() {
|
|
31
31
|
};
|
32
32
|
};
|
33
33
|
}
|
34
|
-
exports.publicActionsL2 = publicActionsL2;
|
35
34
|
//# sourceMappingURL=publicL2.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"publicL2.js","sourceRoot":"","sources":["../../../op-stack/decorators/publicL2.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"publicL2.js","sourceRoot":"","sources":["../../../op-stack/decorators/publicL2.ts"],"names":[],"mappings":";;AAyeA,0CA0BC;AA1fD,sFAI8C;AAC9C,gFAI2C;AAC3C,kFAI4C;AAC5C,kFAI4C;AAC5C,wFAI+C;AAC/C,wFAI+C;AAC/C,kGAIoD;AACpD,kEAIoC;AACpC,kEAIoC;AACpC,wEAIuC;AACvC,wEAI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ACH,CAAC,CAAA;AACH,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.walletActionsL1 =
|
3
|
+
exports.walletActionsL1 = walletActionsL1;
|
4
4
|
const depositTransaction_js_1 = require("../actions/depositTransaction.js");
|
5
5
|
const finalizeWithdrawal_js_1 = require("../actions/finalizeWithdrawal.js");
|
6
6
|
const proveWithdrawal_js_1 = require("../actions/proveWithdrawal.js");
|
@@ -13,5 +13,4 @@ function walletActionsL1() {
|
|
13
13
|
};
|
14
14
|
};
|
15
15
|
}
|
16
|
-
exports.walletActionsL1 = walletActionsL1;
|
17
16
|
//# sourceMappingURL=walletL1.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"walletL1.js","sourceRoot":"","sources":["../../../op-stack/decorators/walletL1.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"walletL1.js","sourceRoot":"","sources":["../../../op-stack/decorators/walletL1.ts"],"names":[],"mappings":";;AA6JA,0CAcC;AAvKD,4EAIyC;AACzC,4EAIyC;AACzC,sEAIsC;AA2ItC,SAAgB,eAAe;IAC7B,OAAO,CAKL,MAA4C,EACT,EAAE;QACrC,OAAO;YACL,kBAAkB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0CAAkB,EAAC,MAAM,EAAE,IAAI,CAAC;YAC9D,kBAAkB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0CAAkB,EAAC,MAAM,EAAE,IAAI,CAAC;YAC9D,eAAe,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,oCAAe,EAAC,MAAM,EAAE,IAAI,CAAC;SACzD,CAAA;IACH,CAAC,CAAA;AACH,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.walletActionsL2 =
|
3
|
+
exports.walletActionsL2 = walletActionsL2;
|
4
4
|
const initiateWithdrawal_js_1 = require("../actions/initiateWithdrawal.js");
|
5
5
|
function walletActionsL2() {
|
6
6
|
return (client) => {
|
@@ -9,5 +9,4 @@ function walletActionsL2() {
|
|
9
9
|
};
|
10
10
|
};
|
11
11
|
}
|
12
|
-
exports.walletActionsL2 = walletActionsL2;
|
13
12
|
//# sourceMappingURL=walletL2.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"walletL2.js","sourceRoot":"","sources":["../../../op-stack/decorators/walletL2.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"walletL2.js","sourceRoot":"","sources":["../../../op-stack/decorators/walletL2.ts"],"names":[],"mappings":";;AAwFA,0CAYC;AAhGD,4EAIyC;AAgFzC,SAAgB,eAAe;IAC7B,OAAO,CAKL,MAA4C,EACT,EAAE;QACrC,OAAO;YACL,kBAAkB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0CAAkB,EAAC,MAAM,EAAE,IAAI,CAAC;SAC/D,CAAA;IACH,CAAC,CAAA;AACH,CAAC"}
|
package/_cjs/op-stack/parsers.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.parseTransaction =
|
3
|
+
exports.parseTransaction = parseTransaction;
|
4
4
|
const transaction_js_1 = require("../errors/transaction.js");
|
5
5
|
const isHex_js_1 = require("../utils/data/isHex.js");
|
6
6
|
const slice_js_1 = require("../utils/data/slice.js");
|
@@ -13,7 +13,6 @@ function parseTransaction(serializedTransaction) {
|
|
13
13
|
return parseTransactionDeposit(serializedTransaction);
|
14
14
|
return (0, parseTransaction_js_1.parseTransaction)(serializedTransaction);
|
15
15
|
}
|
16
|
-
exports.parseTransaction = parseTransaction;
|
17
16
|
function parseTransactionDeposit(serializedTransaction) {
|
18
17
|
const transactionArray = (0, parseTransaction_js_1.toTransactionArray)(serializedTransaction);
|
19
18
|
const [sourceHash, from, to, mint, value, gas, isSystemTx, data] = transactionArray;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"parsers.js","sourceRoot":"","sources":["../../op-stack/parsers.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"parsers.js","sourceRoot":"","sources":["../../op-stack/parsers.ts"],"names":[],"mappings":";;AA+BA,4CAaC;AA5CD,6DAA4E;AAE5E,qDAA8C;AAC9C,qDAAiD;AACjD,6DAAqE;AAErE,kFAKiD;AACjD,qDAA2D;AAmB3D,SAAgB,gBAAgB,CAE9B,qBAAkC;IAClC,MAAM,cAAc,GAAG,IAAA,mBAAQ,EAAC,qBAAqB,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;IAE5D,IAAI,cAAc,KAAK,MAAM;QAC3B,OAAO,uBAAuB,CAC5B,qBAAqD,CACX,CAAA;IAE9C,OAAO,IAAA,sCAAiB,EACtB,qBAAqB,CACqB,CAAA;AAC9C,CAAC;AAED,SAAS,uBAAuB,CAC9B,qBAAmD;IAEnD,MAAM,gBAAgB,GAAG,IAAA,wCAAkB,EAAC,qBAAqB,CAAC,CAAA;IAElE,MAAM,CAAC,UAAU,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,IAAI,CAAC,GAC9D,gBAAgB,CAAA;IAElB,IAAI,gBAAgB,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,IAAA,gBAAK,EAAC,UAAU,CAAC,IAAI,CAAC,IAAA,gBAAK,EAAC,IAAI,CAAC;QACrE,MAAM,IAAI,kDAAiC,CAAC;YAC1C,UAAU,EAAE;gBACV,UAAU;gBACV,IAAI;gBACJ,GAAG;gBACH,EAAE;gBACF,IAAI;gBACJ,KAAK;gBACL,UAAU;gBACV,IAAI;aACL;YACD,qBAAqB;YACrB,IAAI,EAAE,SAAS;SAChB,CAAC,CAAA;IAEJ,MAAM,WAAW,GAAmC;QAClD,UAAU;QACV,IAAI;QACJ,IAAI,EAAE,SAAS;KAChB,CAAA;IAED,IAAI,IAAA,gBAAK,EAAC,GAAG,CAAC,IAAI,GAAG,KAAK,IAAI;QAAE,WAAW,CAAC,GAAG,GAAG,IAAA,wBAAW,EAAC,GAAG,CAAC,CAAA;IAClE,IAAI,IAAA,gBAAK,EAAC,EAAE,CAAC,IAAI,EAAE,KAAK,IAAI;QAAE,WAAW,CAAC,EAAE,GAAG,EAAE,CAAA;IACjD,IAAI,IAAA,gBAAK,EAAC,IAAI,CAAC,IAAI,IAAI,KAAK,IAAI;QAAE,WAAW,CAAC,IAAI,GAAG,IAAA,wBAAW,EAAC,IAAI,CAAC,CAAA;IACtE,IAAI,IAAA,gBAAK,EAAC,KAAK,CAAC,IAAI,KAAK,KAAK,IAAI;QAAE,WAAW,CAAC,KAAK,GAAG,IAAA,wBAAW,EAAC,KAAK,CAAC,CAAA;IAC1E,IAAI,IAAA,gBAAK,EAAC,UAAU,CAAC,IAAI,UAAU,KAAK,IAAI;QAC1C,WAAW,CAAC,UAAU,GAAG,IAAA,sBAAS,EAAC,UAAU,CAAC,CAAA;IAChD,IAAI,IAAA,gBAAK,EAAC,IAAI,CAAC,IAAI,IAAI,KAAK,IAAI;QAAE,WAAW,CAAC,IAAI,GAAG,IAAI,CAAA;IAEzD,IAAA,yCAAwB,EAAC,WAAW,CAAC,CAAA;IAErC,OAAO,WAAW,CAAA;AACpB,CAAC"}
|
@@ -1,6 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.serializers = void 0;
|
4
|
+
exports.serializeTransaction = serializeTransaction;
|
5
|
+
exports.assertTransactionDeposit = assertTransactionDeposit;
|
4
6
|
const address_js_1 = require("../errors/address.js");
|
5
7
|
const isAddress_js_1 = require("../utils/address/isAddress.js");
|
6
8
|
const concat_js_1 = require("../utils/data/concat.js");
|
@@ -12,7 +14,6 @@ function serializeTransaction(transaction, signature) {
|
|
12
14
|
return serializeTransactionDeposit(transaction);
|
13
15
|
return (0, serializeTransaction_js_1.serializeTransaction)(transaction, signature);
|
14
16
|
}
|
15
|
-
exports.serializeTransaction = serializeTransaction;
|
16
17
|
exports.serializers = {
|
17
18
|
transaction: serializeTransaction,
|
18
19
|
};
|
@@ -48,5 +49,4 @@ function assertTransactionDeposit(transaction) {
|
|
48
49
|
if (to && !(0, isAddress_js_1.isAddress)(to))
|
49
50
|
throw new address_js_1.InvalidAddressError({ address: to });
|
50
51
|
}
|
51
|
-
exports.assertTransactionDeposit = assertTransactionDeposit;
|
52
52
|
//# sourceMappingURL=serializers.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"serializers.js","sourceRoot":"","sources":["../../op-stack/serializers.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"serializers.js","sourceRoot":"","sources":["../../op-stack/serializers.ts"],"names":[],"mappings":";;;AA4BA,oDASC;AA4CD,4DAMC;AAvFD,qDAA0D;AAM1D,gEAAyD;AACzD,uDAAmD;AACnD,yDAAkD;AAClD,yDAAkD;AAClD,0FAGqD;AAerD,SAAgB,oBAAoB,CAClC,WAA2C,EAC3C,SAAqB;IAErB,IAAI,SAAS,CAAC,WAAW,CAAC;QAAE,OAAO,2BAA2B,CAAC,WAAW,CAAC,CAAA;IAC3E,OAAO,IAAA,8CAAqB,EAC1B,WAAsC,EACtC,SAAS,CACV,CAAA;AACH,CAAC;AAEY,QAAA,WAAW,GAAG;IACzB,WAAW,EAAE,oBAAoB;CACE,CAAA;AAOrC,SAAS,2BAA2B,CAClC,WAA2C;IAE3C,wBAAwB,CAAC,WAAW,CAAC,CAAA;IAErC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,EAAE,EAAE,KAAK,EAAE,GAChE,WAAW,CAAA;IAEb,MAAM,qBAAqB,GAAU;QACnC,UAAU;QACV,IAAI;QACJ,EAAE,IAAI,IAAI;QACV,IAAI,CAAC,CAAC,CAAC,IAAA,gBAAK,EAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI;QACzB,KAAK,CAAC,CAAC,CAAC,IAAA,gBAAK,EAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI;QAC3B,GAAG,CAAC,CAAC,CAAC,IAAA,gBAAK,EAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI;QACvB,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI;QACzB,IAAI,IAAI,IAAI;KACb,CAAA;IAED,OAAO,IAAA,qBAAS,EAAC;QACf,MAAM;QACN,IAAA,gBAAK,EAAC,qBAAqB,CAAC;KAC7B,CAA0C,CAAA;AAC7C,CAAC;AAED,SAAS,SAAS,CAChB,WAA2C;IAE3C,IAAI,WAAW,CAAC,IAAI,KAAK,SAAS;QAAE,OAAO,IAAI,CAAA;IAC/C,IAAI,OAAO,WAAW,CAAC,UAAU,KAAK,WAAW;QAAE,OAAO,IAAI,CAAA;IAC9D,OAAO,KAAK,CAAA;AACd,CAAC;AAED,SAAgB,wBAAwB,CACtC,WAA2C;IAE3C,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,GAAG,WAAW,CAAA;IAChC,IAAI,IAAI,IAAI,CAAC,IAAA,wBAAS,EAAC,IAAI,CAAC;QAAE,MAAM,IAAI,gCAAmB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAA;IAC9E,IAAI,EAAE,IAAI,CAAC,IAAA,wBAAS,EAAC,EAAE,CAAC;QAAE,MAAM,IAAI,gCAAmB,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAAA;AAC1E,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.extractTransactionDepositedLogs =
|
3
|
+
exports.extractTransactionDepositedLogs = extractTransactionDepositedLogs;
|
4
4
|
const parseEventLogs_js_1 = require("../../utils/abi/parseEventLogs.js");
|
5
5
|
const abis_js_1 = require("../abis.js");
|
6
6
|
function extractTransactionDepositedLogs({ logs, }) {
|
@@ -10,5 +10,4 @@ function extractTransactionDepositedLogs({ logs, }) {
|
|
10
10
|
logs,
|
11
11
|
});
|
12
12
|
}
|
13
|
-
exports.extractTransactionDepositedLogs = extractTransactionDepositedLogs;
|
14
13
|
//# sourceMappingURL=extractTransactionDepositedLogs.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"extractTransactionDepositedLogs.js","sourceRoot":"","sources":["../../../op-stack/utils/extractTransactionDepositedLogs.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"extractTransactionDepositedLogs.js","sourceRoot":"","sources":["../../../op-stack/utils/extractTransactionDepositedLogs.ts"],"names":[],"mappings":";;AA2BA,0EAQC;AAjCD,yEAG0C;AAC1C,wCAAsC;AAqBtC,SAAgB,+BAA+B,CAAC,EAC9C,IAAI,GACsC;IAC1C,OAAO,IAAA,kCAAc,EAAC;QACpB,GAAG,EAAE,mBAAS;QACd,SAAS,EAAE,sBAAsB;QACjC,IAAI;KACL,CAAC,CAAA;AACJ,CAAC"}
|