viem 2.13.7 → 2.13.8
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +8 -0
- package/_cjs/accounts/hdKeyToAccount.js.map +1 -1
- package/_cjs/actions/public/call.js.map +1 -1
- package/_cjs/actions/public/estimateGas.js.map +1 -1
- package/_cjs/actions/public/getBlockNumber.js.map +1 -1
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_cjs/actions/wallet/signTypedData.js.map +1 -1
- package/_cjs/celo/index.js.map +1 -1
- package/_cjs/celo/utils.js.map +1 -1
- package/_cjs/chains/definitions/optimism.js +5 -0
- package/_cjs/chains/definitions/optimism.js.map +1 -1
- package/_cjs/chains/definitions/sei.js +1 -0
- package/_cjs/chains/definitions/sei.js.map +1 -1
- package/_cjs/clients/createClient.js +2 -2
- package/_cjs/clients/createClient.js.map +1 -1
- package/_cjs/clients/transports/fallback.js.map +1 -1
- package/_cjs/clients/transports/http.js.map +1 -1
- package/_cjs/constants/abis.js.map +1 -1
- package/_cjs/constants/blob.js +4 -4
- package/_cjs/constants/blob.js.map +1 -1
- package/_cjs/constants/kzg.js +1 -3
- package/_cjs/constants/kzg.js.map +1 -1
- package/_cjs/errors/abi.js +1 -13
- package/_cjs/errors/abi.js.map +1 -1
- package/_cjs/errors/ccip.js.map +1 -1
- package/_cjs/errors/stateOverride.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/experimental/eip5792/actions/getCapabilities.js +2 -2
- package/_cjs/experimental/eip5792/actions/getCapabilities.js.map +1 -1
- package/_cjs/experimental/eip5792/actions/sendCalls.js +2 -2
- package/_cjs/experimental/eip5792/actions/sendCalls.js.map +1 -1
- package/_cjs/index.js +6 -4
- package/_cjs/index.js.map +1 -1
- package/_cjs/node/trustedSetups.js +1 -2
- package/_cjs/node/trustedSetups.js.map +1 -1
- package/_cjs/op-stack/abis.js +1 -458
- package/_cjs/op-stack/abis.js.map +1 -1
- package/_cjs/op-stack/actions/buildProveWithdrawal.js.map +1 -1
- package/_cjs/op-stack/actions/getWithdrawalStatus.js.map +1 -1
- package/_cjs/op-stack/index.js +15 -2
- package/_cjs/op-stack/index.js.map +1 -1
- package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
- package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -1
- package/_cjs/utils/abi/getAbiItem.js.map +1 -1
- package/_cjs/utils/address/getAddress.js +5 -5
- package/_cjs/utils/address/getAddress.js.map +1 -1
- package/_cjs/utils/address/isAddress.js.map +1 -1
- package/_cjs/utils/blob/toBlobs.js.map +1 -1
- package/_cjs/utils/buildRequest.js.map +1 -1
- package/_cjs/utils/ccip.js.map +1 -1
- package/_cjs/utils/cursor.js.map +1 -1
- package/_cjs/utils/encoding/fromRlp.js +1 -9
- package/_cjs/utils/encoding/fromRlp.js.map +1 -1
- package/_cjs/utils/ens/avatar/utils.js.map +1 -1
- package/_cjs/utils/ens/errors.js.map +1 -1
- package/_cjs/utils/observe.js.map +1 -1
- package/_cjs/utils/promise/createBatchScheduler.js.map +1 -1
- package/_cjs/utils/promise/withCache.js.map +1 -1
- package/_cjs/utils/promise/withTimeout.js.map +1 -1
- package/_cjs/utils/rpc/id.js +1 -2
- package/_cjs/utils/rpc/id.js.map +1 -1
- package/_cjs/utils/rpc/ipc.js.map +1 -1
- package/_cjs/utils/stateOverride.js.map +1 -1
- package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
- package/_cjs/zksync/actions/deployContract.js.map +1 -1
- package/_cjs/zksync/actions/estimateGasL1ToL2.js +2 -2
- package/_cjs/zksync/actions/estimateGasL1ToL2.js.map +1 -1
- package/_cjs/zksync/actions/getAllBalances.js +2 -2
- package/_cjs/zksync/actions/getAllBalances.js.map +1 -1
- package/_cjs/zksync/actions/getL1Allowance.js +2 -2
- package/_cjs/zksync/actions/getL1Allowance.js.map +1 -1
- package/_cjs/zksync/actions/getL1Balance.js +2 -2
- package/_cjs/zksync/actions/getL1Balance.js.map +1 -1
- package/_cjs/zksync/actions/getL1TokenBalance.js +2 -2
- package/_cjs/zksync/actions/getL1TokenBalance.js.map +1 -1
- package/_cjs/zksync/constants/contract.js +1 -2
- package/_cjs/zksync/constants/contract.js.map +1 -1
- package/_cjs/zksync/index.js.map +1 -1
- package/_cjs/zksync/serializers.js.map +1 -1
- package/_cjs/zksync/utils/abi/encodeDeployData.js.map +1 -1
- package/_cjs/zksync/utils/assertEip712Request.js.map +1 -1
- package/_cjs/zksync/utils/hashBytecode.js.map +1 -1
- package/_esm/accounts/hdKeyToAccount.js.map +1 -1
- package/_esm/actions/public/call.js +1 -0
- package/_esm/actions/public/call.js.map +1 -1
- package/_esm/actions/public/estimateGas.js.map +1 -1
- package/_esm/actions/public/getBlockNumber.js +2 -1
- package/_esm/actions/public/getBlockNumber.js.map +1 -1
- package/_esm/actions/test/sendUnsignedTransaction.js +2 -2
- package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_esm/actions/wallet/signTypedData.js.map +1 -1
- package/_esm/celo/index.js +1 -1
- package/_esm/celo/index.js.map +1 -1
- package/_esm/celo/utils.js +1 -0
- package/_esm/celo/utils.js.map +1 -1
- package/_esm/chains/definitions/optimism.js +5 -0
- package/_esm/chains/definitions/optimism.js.map +1 -1
- package/_esm/chains/definitions/sei.js +1 -0
- package/_esm/chains/definitions/sei.js.map +1 -1
- package/_esm/clients/createClient.js +1 -1
- package/_esm/clients/createClient.js.map +1 -1
- package/_esm/clients/transports/fallback.js +1 -0
- package/_esm/clients/transports/fallback.js.map +1 -1
- package/_esm/clients/transports/http.js.map +1 -1
- package/_esm/constants/abis.js +1 -0
- package/_esm/constants/abis.js.map +1 -1
- package/_esm/constants/blob.js +1 -1
- package/_esm/constants/blob.js.map +1 -1
- package/_esm/constants/kzg.js +0 -4
- package/_esm/constants/kzg.js.map +1 -1
- package/_esm/errors/abi.js +0 -11
- package/_esm/errors/abi.js.map +1 -1
- package/_esm/errors/ccip.js.map +1 -1
- package/_esm/errors/stateOverride.js +1 -0
- package/_esm/errors/stateOverride.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/experimental/eip5792/actions/getCapabilities.js +1 -1
- package/_esm/experimental/eip5792/actions/getCapabilities.js.map +1 -1
- package/_esm/experimental/eip5792/actions/sendCalls.js +1 -1
- package/_esm/experimental/eip5792/actions/sendCalls.js.map +1 -1
- package/_esm/index.js +4 -3
- package/_esm/index.js.map +1 -1
- package/_esm/node/trustedSetups.js +0 -1
- package/_esm/node/trustedSetups.js.map +1 -1
- package/_esm/node/trustedSetups_cjs.js +0 -1
- package/_esm/node/trustedSetups_cjs.js.map +1 -1
- package/_esm/op-stack/abis.js +0 -457
- package/_esm/op-stack/abis.js.map +1 -1
- package/_esm/op-stack/actions/buildProveWithdrawal.js +1 -0
- package/_esm/op-stack/actions/buildProveWithdrawal.js.map +1 -1
- package/_esm/op-stack/actions/getWithdrawalStatus.js +1 -1
- package/_esm/op-stack/actions/getWithdrawalStatus.js.map +1 -1
- package/_esm/op-stack/index.js +0 -1
- package/_esm/op-stack/index.js.map +1 -1
- package/_esm/utils/abi/decodeAbiParameters.js +1 -1
- package/_esm/utils/abi/decodeAbiParameters.js.map +1 -1
- package/_esm/utils/abi/encodeAbiParameters.js.map +1 -1
- package/_esm/utils/abi/getAbiItem.js +3 -1
- package/_esm/utils/abi/getAbiItem.js.map +1 -1
- package/_esm/utils/address/getAddress.js +1 -1
- package/_esm/utils/address/getAddress.js.map +1 -1
- package/_esm/utils/address/isAddress.js +1 -0
- package/_esm/utils/address/isAddress.js.map +1 -1
- package/_esm/utils/blob/toBlobs.js.map +1 -1
- package/_esm/utils/buildRequest.js +1 -0
- package/_esm/utils/buildRequest.js.map +1 -1
- package/_esm/utils/ccip.js +1 -1
- package/_esm/utils/ccip.js.map +1 -1
- package/_esm/utils/cursor.js.map +1 -1
- package/_esm/utils/encoding/fromRlp.js +0 -6
- package/_esm/utils/encoding/fromRlp.js.map +1 -1
- package/_esm/utils/ens/avatar/utils.js +2 -0
- package/_esm/utils/ens/avatar/utils.js.map +1 -1
- package/_esm/utils/ens/errors.js.map +1 -1
- package/_esm/utils/observe.js +2 -0
- package/_esm/utils/observe.js.map +1 -1
- package/_esm/utils/promise/createBatchScheduler.js +1 -0
- package/_esm/utils/promise/createBatchScheduler.js.map +1 -1
- package/_esm/utils/promise/withCache.js +2 -0
- package/_esm/utils/promise/withCache.js.map +1 -1
- package/_esm/utils/promise/withTimeout.js +1 -1
- package/_esm/utils/promise/withTimeout.js.map +1 -1
- package/_esm/utils/rpc/id.js +1 -1
- package/_esm/utils/rpc/id.js.map +1 -1
- package/_esm/utils/rpc/ipc.js +1 -0
- package/_esm/utils/rpc/ipc.js.map +1 -1
- package/_esm/utils/stateOverride.js +3 -0
- package/_esm/utils/stateOverride.js.map +1 -1
- package/_esm/utils/transaction/parseTransaction.js.map +1 -1
- package/_esm/utils/unit/parseUnits.js +1 -1
- package/_esm/utils/unit/parseUnits.js.map +1 -1
- package/_esm/zksync/actions/deployContract.js +1 -1
- package/_esm/zksync/actions/deployContract.js.map +1 -1
- package/_esm/zksync/actions/estimateGasL1ToL2.js +1 -1
- package/_esm/zksync/actions/estimateGasL1ToL2.js.map +1 -1
- package/_esm/zksync/actions/getAllBalances.js +1 -1
- package/_esm/zksync/actions/getAllBalances.js.map +1 -1
- package/_esm/zksync/actions/getL1Allowance.js +1 -1
- package/_esm/zksync/actions/getL1Allowance.js.map +1 -1
- package/_esm/zksync/actions/getL1Balance.js +1 -1
- package/_esm/zksync/actions/getL1Balance.js.map +1 -1
- package/_esm/zksync/actions/getL1TokenBalance.js +2 -2
- package/_esm/zksync/actions/getL1TokenBalance.js.map +1 -1
- package/_esm/zksync/constants/contract.js +0 -1
- package/_esm/zksync/constants/contract.js.map +1 -1
- package/_esm/zksync/index.js.map +1 -1
- package/_esm/zksync/serializers.js.map +1 -1
- package/_esm/zksync/utils/abi/encodeDeployData.js +1 -1
- package/_esm/zksync/utils/abi/encodeDeployData.js.map +1 -1
- package/_esm/zksync/utils/assertEip712Request.js +1 -1
- package/_esm/zksync/utils/assertEip712Request.js.map +1 -1
- package/_esm/zksync/utils/hashBytecode.js.map +1 -1
- package/_types/accounts/hdKeyToAccount.d.ts +1 -1
- package/_types/accounts/hdKeyToAccount.d.ts.map +1 -1
- package/_types/accounts/types.d.ts +1 -1
- package/_types/accounts/types.d.ts.map +1 -1
- package/_types/actions/public/call.d.ts +5 -2
- package/_types/actions/public/call.d.ts.map +1 -1
- package/_types/actions/public/estimateGas.d.ts +2 -1
- package/_types/actions/public/estimateGas.d.ts.map +1 -1
- package/_types/actions/public/getBlockNumber.d.ts +4 -0
- package/_types/actions/public/getBlockNumber.d.ts.map +1 -1
- package/_types/actions/test/sendUnsignedTransaction.d.ts +2 -2
- package/_types/actions/wallet/prepareTransactionRequest.d.ts +0 -7
- package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
- package/_types/actions/wallet/signTypedData.d.ts +2 -2
- package/_types/actions/wallet/signTypedData.d.ts.map +1 -1
- package/_types/celo/chainConfig.d.ts +60 -60
- package/_types/celo/formatters.d.ts +30 -30
- package/_types/celo/index.d.ts +2 -2
- package/_types/celo/index.d.ts.map +1 -1
- package/_types/celo/utils.d.ts +1 -0
- package/_types/celo/utils.d.ts.map +1 -1
- package/_types/chains/definitions/ancient8.d.ts +26 -26
- package/_types/chains/definitions/ancient8Sepolia.d.ts +26 -26
- package/_types/chains/definitions/base.d.ts +26 -26
- package/_types/chains/definitions/baseGoerli.d.ts +26 -26
- package/_types/chains/definitions/baseSepolia.d.ts +26 -26
- package/_types/chains/definitions/celo.d.ts +60 -60
- package/_types/chains/definitions/celoAlfajores.d.ts +60 -60
- package/_types/chains/definitions/fraxtal.d.ts +26 -26
- package/_types/chains/definitions/fraxtalTestnet.d.ts +26 -26
- package/_types/chains/definitions/funkiSepolia.d.ts +26 -26
- package/_types/chains/definitions/liskSepolia.d.ts +26 -26
- package/_types/chains/definitions/metalL2.d.ts +26 -26
- package/_types/chains/definitions/optimism.d.ts +31 -26
- package/_types/chains/definitions/optimism.d.ts.map +1 -1
- package/_types/chains/definitions/optimismGoerli.d.ts +26 -26
- package/_types/chains/definitions/optimismSepolia.d.ts +26 -26
- package/_types/chains/definitions/pgn.d.ts +26 -26
- package/_types/chains/definitions/pgnTestnet.d.ts +26 -26
- package/_types/chains/definitions/rss3.d.ts +26 -26
- package/_types/chains/definitions/rss3Sepolia.d.ts +26 -26
- package/_types/chains/definitions/sei.d.ts +1 -0
- package/_types/chains/definitions/sei.d.ts.map +1 -1
- package/_types/chains/definitions/zora.d.ts +26 -26
- package/_types/chains/definitions/zoraSepolia.d.ts +26 -26
- package/_types/chains/definitions/zoraTestnet.d.ts +26 -26
- package/_types/clients/createClient.d.ts +1 -1
- package/_types/clients/createClient.d.ts.map +1 -1
- package/_types/clients/transports/fallback.d.ts +1 -0
- package/_types/clients/transports/fallback.d.ts.map +1 -1
- package/_types/clients/transports/http.d.ts +6 -7
- package/_types/clients/transports/http.d.ts.map +1 -1
- package/_types/constants/abis.d.ts +1 -0
- package/_types/constants/abis.d.ts.map +1 -1
- package/_types/constants/blob.d.ts +0 -2
- package/_types/constants/blob.d.ts.map +1 -1
- package/_types/constants/kzg.d.ts +0 -4
- package/_types/constants/kzg.d.ts.map +1 -1
- package/_types/errors/abi.d.ts +0 -10
- package/_types/errors/abi.d.ts.map +1 -1
- package/_types/errors/ccip.d.ts +1 -0
- package/_types/errors/ccip.d.ts.map +1 -1
- package/_types/errors/stateOverride.d.ts +1 -0
- package/_types/errors/stateOverride.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/experimental/eip5792/actions/getCapabilities.d.ts.map +1 -1
- package/_types/experimental/eip5792/actions/sendCalls.d.ts.map +1 -1
- package/_types/experimental/erc7715/types/permission.d.ts +5 -0
- package/_types/experimental/erc7715/types/permission.d.ts.map +1 -1
- package/_types/experimental/erc7715/types/signer.d.ts +3 -0
- package/_types/experimental/erc7715/types/signer.d.ts.map +1 -1
- package/_types/index.d.ts +9 -9
- package/_types/index.d.ts.map +1 -1
- package/_types/node/trustedSetups.d.ts +0 -1
- package/_types/node/trustedSetups.d.ts.map +1 -1
- package/_types/node/trustedSetups_cjs.d.ts +0 -1
- package/_types/node/trustedSetups_cjs.d.ts.map +1 -1
- package/_types/op-stack/abis.d.ts +0 -626
- package/_types/op-stack/abis.d.ts.map +1 -1
- package/_types/op-stack/actions/buildProveWithdrawal.d.ts +1 -0
- package/_types/op-stack/actions/buildProveWithdrawal.d.ts.map +1 -1
- package/_types/op-stack/actions/getWithdrawalStatus.d.ts +2 -1
- package/_types/op-stack/actions/getWithdrawalStatus.d.ts.map +1 -1
- package/_types/op-stack/chainConfig.d.ts +26 -26
- package/_types/op-stack/formatters.d.ts +26 -26
- package/_types/op-stack/index.d.ts.map +1 -1
- package/_types/types/account.d.ts +1 -1
- package/_types/types/account.d.ts.map +1 -1
- package/_types/types/kzg.d.ts +1 -1
- package/_types/types/kzg.d.ts.map +1 -1
- package/_types/types/proof.d.ts +3 -2
- package/_types/types/proof.d.ts.map +1 -1
- package/_types/types/utils.d.ts +11 -3
- package/_types/types/utils.d.ts.map +1 -1
- package/_types/utils/abi/decodeAbiParameters.d.ts +2 -1
- package/_types/utils/abi/decodeAbiParameters.d.ts.map +1 -1
- package/_types/utils/abi/encodeAbiParameters.d.ts +12 -11
- package/_types/utils/abi/encodeAbiParameters.d.ts.map +1 -1
- package/_types/utils/abi/getAbiItem.d.ts +6 -2
- package/_types/utils/abi/getAbiItem.d.ts.map +1 -1
- package/_types/utils/address/getAddress.d.ts +0 -2
- package/_types/utils/address/getAddress.d.ts.map +1 -1
- package/_types/utils/address/isAddress.d.ts +1 -0
- package/_types/utils/address/isAddress.d.ts.map +1 -1
- package/_types/utils/blob/toBlobs.d.ts +2 -1
- package/_types/utils/blob/toBlobs.d.ts.map +1 -1
- package/_types/utils/buildRequest.d.ts +1 -0
- package/_types/utils/buildRequest.d.ts.map +1 -1
- package/_types/utils/ccip.d.ts +4 -2
- package/_types/utils/ccip.d.ts.map +1 -1
- package/_types/utils/cursor.d.ts +7 -6
- package/_types/utils/cursor.d.ts.map +1 -1
- package/_types/utils/encoding/fromRlp.d.ts +3 -7
- package/_types/utils/encoding/fromRlp.d.ts.map +1 -1
- package/_types/utils/ens/avatar/parseAvatarRecord.d.ts +2 -1
- package/_types/utils/ens/avatar/parseAvatarRecord.d.ts.map +1 -1
- package/_types/utils/ens/avatar/utils.d.ts +4 -2
- package/_types/utils/ens/avatar/utils.d.ts.map +1 -1
- package/_types/utils/ens/errors.d.ts +1 -0
- package/_types/utils/ens/errors.d.ts.map +1 -1
- package/_types/utils/formatters/transaction.d.ts +1 -1
- package/_types/utils/formatters/transactionRequest.d.ts +1 -1
- package/_types/utils/hash/normalizeSignature.d.ts +3 -2
- package/_types/utils/hash/normalizeSignature.d.ts.map +1 -1
- package/_types/utils/observe.d.ts +2 -0
- package/_types/utils/observe.d.ts.map +1 -1
- package/_types/utils/promise/createBatchScheduler.d.ts +3 -2
- package/_types/utils/promise/createBatchScheduler.d.ts.map +1 -1
- package/_types/utils/promise/withCache.d.ts +4 -1
- package/_types/utils/promise/withCache.d.ts.map +1 -1
- package/_types/utils/rpc/id.d.ts +0 -5
- package/_types/utils/rpc/id.d.ts.map +1 -1
- package/_types/utils/rpc/ipc.d.ts +1 -0
- package/_types/utils/rpc/ipc.d.ts.map +1 -1
- package/_types/utils/stateOverride.d.ts +9 -5
- package/_types/utils/stateOverride.d.ts.map +1 -1
- package/_types/utils/transaction/parseTransaction.d.ts +5 -5
- package/_types/utils/transaction/parseTransaction.d.ts.map +1 -1
- package/_types/zksync/actions/deployContract.d.ts +2 -1
- package/_types/zksync/actions/deployContract.d.ts.map +1 -1
- package/_types/zksync/actions/estimateGasL1ToL2.d.ts.map +1 -1
- package/_types/zksync/actions/getAllBalances.d.ts.map +1 -1
- package/_types/zksync/actions/getL1Allowance.d.ts.map +1 -1
- package/_types/zksync/actions/getL1Balance.d.ts.map +1 -1
- package/_types/zksync/actions/getL1TokenBalance.d.ts +4 -4
- package/_types/zksync/actions/getL1TokenBalance.d.ts.map +1 -1
- package/_types/zksync/constants/contract.d.ts +0 -1
- package/_types/zksync/constants/contract.d.ts.map +1 -1
- package/_types/zksync/index.d.ts +1 -0
- package/_types/zksync/index.d.ts.map +1 -1
- package/_types/zksync/serializers.d.ts +1 -2
- package/_types/zksync/serializers.d.ts.map +1 -1
- package/_types/zksync/types/eip1193.d.ts +5 -5
- package/_types/zksync/types/eip1193.d.ts.map +1 -1
- package/_types/zksync/utils/abi/encodeDeployData.d.ts +5 -0
- package/_types/zksync/utils/abi/encodeDeployData.d.ts.map +1 -1
- package/_types/zksync/utils/assertEip712Request.d.ts +3 -1
- package/_types/zksync/utils/assertEip712Request.d.ts.map +1 -1
- package/_types/zksync/utils/hashBytecode.d.ts +5 -0
- package/_types/zksync/utils/hashBytecode.d.ts.map +1 -1
- package/accounts/hdKeyToAccount.ts +1 -2
- package/accounts/types.ts +1 -1
- package/actions/public/call.ts +5 -5
- package/actions/public/estimateGas.ts +3 -4
- package/actions/public/getBlockNumber.ts +9 -1
- package/actions/test/sendUnsignedTransaction.ts +2 -2
- package/actions/wallet/prepareTransactionRequest.ts +0 -20
- package/actions/wallet/signTypedData.ts +2 -0
- package/celo/index.ts +5 -2
- package/celo/utils.ts +1 -0
- package/chains/definitions/optimism.ts +5 -0
- package/chains/definitions/sei.ts +1 -0
- package/clients/createClient.ts +4 -2
- package/clients/transports/fallback.ts +1 -0
- package/clients/transports/http.ts +9 -8
- package/constants/abis.ts +1 -0
- package/constants/blob.ts +1 -1
- package/constants/kzg.ts +0 -6
- package/errors/abi.ts +0 -13
- package/errors/ccip.ts +1 -0
- package/errors/stateOverride.ts +1 -0
- package/errors/version.ts +1 -1
- package/experimental/eip5792/actions/getCapabilities.ts +1 -1
- package/experimental/eip5792/actions/sendCalls.ts +1 -1
- package/experimental/erc7715/types/permission.ts +5 -0
- package/experimental/erc7715/types/signer.ts +3 -0
- package/index.ts +21 -5
- package/node/trustedSetups.ts +0 -5
- package/node/trustedSetups_cjs.ts +0 -5
- package/op-stack/abis.ts +0 -458
- package/op-stack/actions/buildProveWithdrawal.ts +1 -0
- package/op-stack/actions/getWithdrawalStatus.ts +6 -1
- package/op-stack/index.ts +0 -1
- package/package.json +1 -1
- package/types/account.ts +1 -11
- package/types/kzg.ts +2 -1
- package/types/proof.ts +2 -2
- package/types/utils.ts +11 -3
- package/utils/abi/decodeAbiParameters.ts +6 -1
- package/utils/abi/encodeAbiParameters.ts +22 -19
- package/utils/abi/getAbiItem.ts +8 -2
- package/utils/address/getAddress.ts +1 -1
- package/utils/address/isAddress.ts +1 -0
- package/utils/blob/toBlobs.ts +2 -1
- package/utils/buildRequest.ts +1 -0
- package/utils/ccip.ts +11 -3
- package/utils/cursor.ts +16 -6
- package/utils/encoding/fromRlp.ts +3 -21
- package/utils/ens/avatar/parseAvatarRecord.ts +1 -1
- package/utils/ens/avatar/utils.ts +4 -2
- package/utils/ens/errors.ts +1 -0
- package/utils/hash/normalizeSignature.ts +2 -2
- package/utils/observe.ts +2 -0
- package/utils/promise/createBatchScheduler.ts +3 -2
- package/utils/promise/withCache.ts +3 -1
- package/utils/promise/withTimeout.ts +2 -2
- package/utils/rpc/id.ts +1 -1
- package/utils/rpc/ipc.ts +1 -0
- package/utils/stateOverride.ts +8 -5
- package/utils/transaction/parseTransaction.ts +7 -2
- package/utils/unit/parseUnits.ts +1 -1
- package/zksync/actions/deployContract.ts +8 -2
- package/zksync/actions/estimateGasL1ToL2.ts +1 -1
- package/zksync/actions/getAllBalances.ts +1 -1
- package/zksync/actions/getL1Allowance.ts +1 -1
- package/zksync/actions/getL1Balance.ts +1 -1
- package/zksync/actions/getL1TokenBalance.ts +10 -7
- package/zksync/constants/contract.ts +0 -1
- package/zksync/index.ts +5 -0
- package/zksync/serializers.ts +1 -2
- package/zksync/types/eip1193.ts +32 -26
- package/zksync/utils/abi/encodeDeployData.ts +12 -2
- package/zksync/utils/assertEip712Request.ts +9 -2
- package/zksync/utils/hashBytecode.ts +14 -2
- package/_cjs/utils/accounts.js +0 -8
- package/_cjs/utils/accounts.js.map +0 -1
- package/_esm/utils/accounts.js +0 -7
- package/_esm/utils/accounts.js.map +0 -1
- package/_types/utils/accounts.d.ts +0 -3
- package/_types/utils/accounts.d.ts.map +0 -1
- package/utils/accounts.ts +0 -7
@@ -446,632 +446,6 @@ export declare const l2OutputOracleAbi: readonly [{
|
|
446
446
|
readonly stateMutability: "view";
|
447
447
|
readonly type: "function";
|
448
448
|
}];
|
449
|
-
export declare const l1StandardBridgeAbi: readonly [{
|
450
|
-
readonly stateMutability: "nonpayable";
|
451
|
-
readonly type: "constructor";
|
452
|
-
readonly inputs: readonly [];
|
453
|
-
}, {
|
454
|
-
readonly type: "event";
|
455
|
-
readonly anonymous: false;
|
456
|
-
readonly inputs: readonly [{
|
457
|
-
readonly name: "localToken";
|
458
|
-
readonly internalType: "address";
|
459
|
-
readonly type: "address";
|
460
|
-
readonly indexed: true;
|
461
|
-
}, {
|
462
|
-
readonly name: "remoteToken";
|
463
|
-
readonly internalType: "address";
|
464
|
-
readonly type: "address";
|
465
|
-
readonly indexed: true;
|
466
|
-
}, {
|
467
|
-
readonly name: "from";
|
468
|
-
readonly internalType: "address";
|
469
|
-
readonly type: "address";
|
470
|
-
readonly indexed: true;
|
471
|
-
}, {
|
472
|
-
readonly name: "to";
|
473
|
-
readonly internalType: "address";
|
474
|
-
readonly type: "address";
|
475
|
-
readonly indexed: false;
|
476
|
-
}, {
|
477
|
-
readonly name: "amount";
|
478
|
-
readonly internalType: "uint256";
|
479
|
-
readonly type: "uint256";
|
480
|
-
readonly indexed: false;
|
481
|
-
}, {
|
482
|
-
readonly name: "extraData";
|
483
|
-
readonly internalType: "bytes";
|
484
|
-
readonly type: "bytes";
|
485
|
-
readonly indexed: false;
|
486
|
-
}];
|
487
|
-
readonly name: "ERC20BridgeFinalized";
|
488
|
-
}, {
|
489
|
-
readonly type: "event";
|
490
|
-
readonly anonymous: false;
|
491
|
-
readonly inputs: readonly [{
|
492
|
-
readonly name: "localToken";
|
493
|
-
readonly internalType: "address";
|
494
|
-
readonly type: "address";
|
495
|
-
readonly indexed: true;
|
496
|
-
}, {
|
497
|
-
readonly name: "remoteToken";
|
498
|
-
readonly internalType: "address";
|
499
|
-
readonly type: "address";
|
500
|
-
readonly indexed: true;
|
501
|
-
}, {
|
502
|
-
readonly name: "from";
|
503
|
-
readonly internalType: "address";
|
504
|
-
readonly type: "address";
|
505
|
-
readonly indexed: true;
|
506
|
-
}, {
|
507
|
-
readonly name: "to";
|
508
|
-
readonly internalType: "address";
|
509
|
-
readonly type: "address";
|
510
|
-
readonly indexed: false;
|
511
|
-
}, {
|
512
|
-
readonly name: "amount";
|
513
|
-
readonly internalType: "uint256";
|
514
|
-
readonly type: "uint256";
|
515
|
-
readonly indexed: false;
|
516
|
-
}, {
|
517
|
-
readonly name: "extraData";
|
518
|
-
readonly internalType: "bytes";
|
519
|
-
readonly type: "bytes";
|
520
|
-
readonly indexed: false;
|
521
|
-
}];
|
522
|
-
readonly name: "ERC20BridgeInitiated";
|
523
|
-
}, {
|
524
|
-
readonly type: "event";
|
525
|
-
readonly anonymous: false;
|
526
|
-
readonly inputs: readonly [{
|
527
|
-
readonly name: "l1Token";
|
528
|
-
readonly internalType: "address";
|
529
|
-
readonly type: "address";
|
530
|
-
readonly indexed: true;
|
531
|
-
}, {
|
532
|
-
readonly name: "l2Token";
|
533
|
-
readonly internalType: "address";
|
534
|
-
readonly type: "address";
|
535
|
-
readonly indexed: true;
|
536
|
-
}, {
|
537
|
-
readonly name: "from";
|
538
|
-
readonly internalType: "address";
|
539
|
-
readonly type: "address";
|
540
|
-
readonly indexed: true;
|
541
|
-
}, {
|
542
|
-
readonly name: "to";
|
543
|
-
readonly internalType: "address";
|
544
|
-
readonly type: "address";
|
545
|
-
readonly indexed: false;
|
546
|
-
}, {
|
547
|
-
readonly name: "amount";
|
548
|
-
readonly internalType: "uint256";
|
549
|
-
readonly type: "uint256";
|
550
|
-
readonly indexed: false;
|
551
|
-
}, {
|
552
|
-
readonly name: "extraData";
|
553
|
-
readonly internalType: "bytes";
|
554
|
-
readonly type: "bytes";
|
555
|
-
readonly indexed: false;
|
556
|
-
}];
|
557
|
-
readonly name: "ERC20DepositInitiated";
|
558
|
-
}, {
|
559
|
-
readonly type: "event";
|
560
|
-
readonly anonymous: false;
|
561
|
-
readonly inputs: readonly [{
|
562
|
-
readonly name: "l1Token";
|
563
|
-
readonly internalType: "address";
|
564
|
-
readonly type: "address";
|
565
|
-
readonly indexed: true;
|
566
|
-
}, {
|
567
|
-
readonly name: "l2Token";
|
568
|
-
readonly internalType: "address";
|
569
|
-
readonly type: "address";
|
570
|
-
readonly indexed: true;
|
571
|
-
}, {
|
572
|
-
readonly name: "from";
|
573
|
-
readonly internalType: "address";
|
574
|
-
readonly type: "address";
|
575
|
-
readonly indexed: true;
|
576
|
-
}, {
|
577
|
-
readonly name: "to";
|
578
|
-
readonly internalType: "address";
|
579
|
-
readonly type: "address";
|
580
|
-
readonly indexed: false;
|
581
|
-
}, {
|
582
|
-
readonly name: "amount";
|
583
|
-
readonly internalType: "uint256";
|
584
|
-
readonly type: "uint256";
|
585
|
-
readonly indexed: false;
|
586
|
-
}, {
|
587
|
-
readonly name: "extraData";
|
588
|
-
readonly internalType: "bytes";
|
589
|
-
readonly type: "bytes";
|
590
|
-
readonly indexed: false;
|
591
|
-
}];
|
592
|
-
readonly name: "ERC20WithdrawalFinalized";
|
593
|
-
}, {
|
594
|
-
readonly type: "event";
|
595
|
-
readonly anonymous: false;
|
596
|
-
readonly inputs: readonly [{
|
597
|
-
readonly name: "from";
|
598
|
-
readonly internalType: "address";
|
599
|
-
readonly type: "address";
|
600
|
-
readonly indexed: true;
|
601
|
-
}, {
|
602
|
-
readonly name: "to";
|
603
|
-
readonly internalType: "address";
|
604
|
-
readonly type: "address";
|
605
|
-
readonly indexed: true;
|
606
|
-
}, {
|
607
|
-
readonly name: "amount";
|
608
|
-
readonly internalType: "uint256";
|
609
|
-
readonly type: "uint256";
|
610
|
-
readonly indexed: false;
|
611
|
-
}, {
|
612
|
-
readonly name: "extraData";
|
613
|
-
readonly internalType: "bytes";
|
614
|
-
readonly type: "bytes";
|
615
|
-
readonly indexed: false;
|
616
|
-
}];
|
617
|
-
readonly name: "ETHBridgeFinalized";
|
618
|
-
}, {
|
619
|
-
readonly type: "event";
|
620
|
-
readonly anonymous: false;
|
621
|
-
readonly inputs: readonly [{
|
622
|
-
readonly name: "from";
|
623
|
-
readonly internalType: "address";
|
624
|
-
readonly type: "address";
|
625
|
-
readonly indexed: true;
|
626
|
-
}, {
|
627
|
-
readonly name: "to";
|
628
|
-
readonly internalType: "address";
|
629
|
-
readonly type: "address";
|
630
|
-
readonly indexed: true;
|
631
|
-
}, {
|
632
|
-
readonly name: "amount";
|
633
|
-
readonly internalType: "uint256";
|
634
|
-
readonly type: "uint256";
|
635
|
-
readonly indexed: false;
|
636
|
-
}, {
|
637
|
-
readonly name: "extraData";
|
638
|
-
readonly internalType: "bytes";
|
639
|
-
readonly type: "bytes";
|
640
|
-
readonly indexed: false;
|
641
|
-
}];
|
642
|
-
readonly name: "ETHBridgeInitiated";
|
643
|
-
}, {
|
644
|
-
readonly type: "event";
|
645
|
-
readonly anonymous: false;
|
646
|
-
readonly inputs: readonly [{
|
647
|
-
readonly name: "from";
|
648
|
-
readonly internalType: "address";
|
649
|
-
readonly type: "address";
|
650
|
-
readonly indexed: true;
|
651
|
-
}, {
|
652
|
-
readonly name: "to";
|
653
|
-
readonly internalType: "address";
|
654
|
-
readonly type: "address";
|
655
|
-
readonly indexed: true;
|
656
|
-
}, {
|
657
|
-
readonly name: "amount";
|
658
|
-
readonly internalType: "uint256";
|
659
|
-
readonly type: "uint256";
|
660
|
-
readonly indexed: false;
|
661
|
-
}, {
|
662
|
-
readonly name: "extraData";
|
663
|
-
readonly internalType: "bytes";
|
664
|
-
readonly type: "bytes";
|
665
|
-
readonly indexed: false;
|
666
|
-
}];
|
667
|
-
readonly name: "ETHDepositInitiated";
|
668
|
-
}, {
|
669
|
-
readonly type: "event";
|
670
|
-
readonly anonymous: false;
|
671
|
-
readonly inputs: readonly [{
|
672
|
-
readonly name: "from";
|
673
|
-
readonly internalType: "address";
|
674
|
-
readonly type: "address";
|
675
|
-
readonly indexed: true;
|
676
|
-
}, {
|
677
|
-
readonly name: "to";
|
678
|
-
readonly internalType: "address";
|
679
|
-
readonly type: "address";
|
680
|
-
readonly indexed: true;
|
681
|
-
}, {
|
682
|
-
readonly name: "amount";
|
683
|
-
readonly internalType: "uint256";
|
684
|
-
readonly type: "uint256";
|
685
|
-
readonly indexed: false;
|
686
|
-
}, {
|
687
|
-
readonly name: "extraData";
|
688
|
-
readonly internalType: "bytes";
|
689
|
-
readonly type: "bytes";
|
690
|
-
readonly indexed: false;
|
691
|
-
}];
|
692
|
-
readonly name: "ETHWithdrawalFinalized";
|
693
|
-
}, {
|
694
|
-
readonly type: "event";
|
695
|
-
readonly anonymous: false;
|
696
|
-
readonly inputs: readonly [{
|
697
|
-
readonly name: "version";
|
698
|
-
readonly internalType: "uint8";
|
699
|
-
readonly type: "uint8";
|
700
|
-
readonly indexed: false;
|
701
|
-
}];
|
702
|
-
readonly name: "Initialized";
|
703
|
-
}, {
|
704
|
-
readonly stateMutability: "view";
|
705
|
-
readonly type: "function";
|
706
|
-
readonly inputs: readonly [];
|
707
|
-
readonly name: "MESSENGER";
|
708
|
-
readonly outputs: readonly [{
|
709
|
-
readonly name: "";
|
710
|
-
readonly internalType: "contract CrossDomainMessenger";
|
711
|
-
readonly type: "address";
|
712
|
-
}];
|
713
|
-
}, {
|
714
|
-
readonly stateMutability: "view";
|
715
|
-
readonly type: "function";
|
716
|
-
readonly inputs: readonly [];
|
717
|
-
readonly name: "OTHER_BRIDGE";
|
718
|
-
readonly outputs: readonly [{
|
719
|
-
readonly name: "";
|
720
|
-
readonly internalType: "contract StandardBridge";
|
721
|
-
readonly type: "address";
|
722
|
-
}];
|
723
|
-
}, {
|
724
|
-
readonly stateMutability: "nonpayable";
|
725
|
-
readonly type: "function";
|
726
|
-
readonly inputs: readonly [{
|
727
|
-
readonly name: "_localToken";
|
728
|
-
readonly internalType: "address";
|
729
|
-
readonly type: "address";
|
730
|
-
}, {
|
731
|
-
readonly name: "_remoteToken";
|
732
|
-
readonly internalType: "address";
|
733
|
-
readonly type: "address";
|
734
|
-
}, {
|
735
|
-
readonly name: "_amount";
|
736
|
-
readonly internalType: "uint256";
|
737
|
-
readonly type: "uint256";
|
738
|
-
}, {
|
739
|
-
readonly name: "_minGasLimit";
|
740
|
-
readonly internalType: "uint32";
|
741
|
-
readonly type: "uint32";
|
742
|
-
}, {
|
743
|
-
readonly name: "_extraData";
|
744
|
-
readonly internalType: "bytes";
|
745
|
-
readonly type: "bytes";
|
746
|
-
}];
|
747
|
-
readonly name: "bridgeERC20";
|
748
|
-
readonly outputs: readonly [];
|
749
|
-
}, {
|
750
|
-
readonly stateMutability: "nonpayable";
|
751
|
-
readonly type: "function";
|
752
|
-
readonly inputs: readonly [{
|
753
|
-
readonly name: "_localToken";
|
754
|
-
readonly internalType: "address";
|
755
|
-
readonly type: "address";
|
756
|
-
}, {
|
757
|
-
readonly name: "_remoteToken";
|
758
|
-
readonly internalType: "address";
|
759
|
-
readonly type: "address";
|
760
|
-
}, {
|
761
|
-
readonly name: "_to";
|
762
|
-
readonly internalType: "address";
|
763
|
-
readonly type: "address";
|
764
|
-
}, {
|
765
|
-
readonly name: "_amount";
|
766
|
-
readonly internalType: "uint256";
|
767
|
-
readonly type: "uint256";
|
768
|
-
}, {
|
769
|
-
readonly name: "_minGasLimit";
|
770
|
-
readonly internalType: "uint32";
|
771
|
-
readonly type: "uint32";
|
772
|
-
}, {
|
773
|
-
readonly name: "_extraData";
|
774
|
-
readonly internalType: "bytes";
|
775
|
-
readonly type: "bytes";
|
776
|
-
}];
|
777
|
-
readonly name: "bridgeERC20To";
|
778
|
-
readonly outputs: readonly [];
|
779
|
-
}, {
|
780
|
-
readonly stateMutability: "payable";
|
781
|
-
readonly type: "function";
|
782
|
-
readonly inputs: readonly [{
|
783
|
-
readonly name: "_minGasLimit";
|
784
|
-
readonly internalType: "uint32";
|
785
|
-
readonly type: "uint32";
|
786
|
-
}, {
|
787
|
-
readonly name: "_extraData";
|
788
|
-
readonly internalType: "bytes";
|
789
|
-
readonly type: "bytes";
|
790
|
-
}];
|
791
|
-
readonly name: "bridgeETH";
|
792
|
-
readonly outputs: readonly [];
|
793
|
-
}, {
|
794
|
-
readonly stateMutability: "payable";
|
795
|
-
readonly type: "function";
|
796
|
-
readonly inputs: readonly [{
|
797
|
-
readonly name: "_to";
|
798
|
-
readonly internalType: "address";
|
799
|
-
readonly type: "address";
|
800
|
-
}, {
|
801
|
-
readonly name: "_minGasLimit";
|
802
|
-
readonly internalType: "uint32";
|
803
|
-
readonly type: "uint32";
|
804
|
-
}, {
|
805
|
-
readonly name: "_extraData";
|
806
|
-
readonly internalType: "bytes";
|
807
|
-
readonly type: "bytes";
|
808
|
-
}];
|
809
|
-
readonly name: "bridgeETHTo";
|
810
|
-
readonly outputs: readonly [];
|
811
|
-
}, {
|
812
|
-
readonly stateMutability: "nonpayable";
|
813
|
-
readonly type: "function";
|
814
|
-
readonly inputs: readonly [{
|
815
|
-
readonly name: "_l1Token";
|
816
|
-
readonly internalType: "address";
|
817
|
-
readonly type: "address";
|
818
|
-
}, {
|
819
|
-
readonly name: "_l2Token";
|
820
|
-
readonly internalType: "address";
|
821
|
-
readonly type: "address";
|
822
|
-
}, {
|
823
|
-
readonly name: "_amount";
|
824
|
-
readonly internalType: "uint256";
|
825
|
-
readonly type: "uint256";
|
826
|
-
}, {
|
827
|
-
readonly name: "_minGasLimit";
|
828
|
-
readonly internalType: "uint32";
|
829
|
-
readonly type: "uint32";
|
830
|
-
}, {
|
831
|
-
readonly name: "_extraData";
|
832
|
-
readonly internalType: "bytes";
|
833
|
-
readonly type: "bytes";
|
834
|
-
}];
|
835
|
-
readonly name: "depositERC20";
|
836
|
-
readonly outputs: readonly [];
|
837
|
-
}, {
|
838
|
-
readonly stateMutability: "nonpayable";
|
839
|
-
readonly type: "function";
|
840
|
-
readonly inputs: readonly [{
|
841
|
-
readonly name: "_l1Token";
|
842
|
-
readonly internalType: "address";
|
843
|
-
readonly type: "address";
|
844
|
-
}, {
|
845
|
-
readonly name: "_l2Token";
|
846
|
-
readonly internalType: "address";
|
847
|
-
readonly type: "address";
|
848
|
-
}, {
|
849
|
-
readonly name: "_to";
|
850
|
-
readonly internalType: "address";
|
851
|
-
readonly type: "address";
|
852
|
-
}, {
|
853
|
-
readonly name: "_amount";
|
854
|
-
readonly internalType: "uint256";
|
855
|
-
readonly type: "uint256";
|
856
|
-
}, {
|
857
|
-
readonly name: "_minGasLimit";
|
858
|
-
readonly internalType: "uint32";
|
859
|
-
readonly type: "uint32";
|
860
|
-
}, {
|
861
|
-
readonly name: "_extraData";
|
862
|
-
readonly internalType: "bytes";
|
863
|
-
readonly type: "bytes";
|
864
|
-
}];
|
865
|
-
readonly name: "depositERC20To";
|
866
|
-
readonly outputs: readonly [];
|
867
|
-
}, {
|
868
|
-
readonly stateMutability: "payable";
|
869
|
-
readonly type: "function";
|
870
|
-
readonly inputs: readonly [{
|
871
|
-
readonly name: "_minGasLimit";
|
872
|
-
readonly internalType: "uint32";
|
873
|
-
readonly type: "uint32";
|
874
|
-
}, {
|
875
|
-
readonly name: "_extraData";
|
876
|
-
readonly internalType: "bytes";
|
877
|
-
readonly type: "bytes";
|
878
|
-
}];
|
879
|
-
readonly name: "depositETH";
|
880
|
-
readonly outputs: readonly [];
|
881
|
-
}, {
|
882
|
-
readonly stateMutability: "payable";
|
883
|
-
readonly type: "function";
|
884
|
-
readonly inputs: readonly [{
|
885
|
-
readonly name: "_to";
|
886
|
-
readonly internalType: "address";
|
887
|
-
readonly type: "address";
|
888
|
-
}, {
|
889
|
-
readonly name: "_minGasLimit";
|
890
|
-
readonly internalType: "uint32";
|
891
|
-
readonly type: "uint32";
|
892
|
-
}, {
|
893
|
-
readonly name: "_extraData";
|
894
|
-
readonly internalType: "bytes";
|
895
|
-
readonly type: "bytes";
|
896
|
-
}];
|
897
|
-
readonly name: "depositETHTo";
|
898
|
-
readonly outputs: readonly [];
|
899
|
-
}, {
|
900
|
-
readonly stateMutability: "view";
|
901
|
-
readonly type: "function";
|
902
|
-
readonly inputs: readonly [{
|
903
|
-
readonly name: "";
|
904
|
-
readonly internalType: "address";
|
905
|
-
readonly type: "address";
|
906
|
-
}, {
|
907
|
-
readonly name: "";
|
908
|
-
readonly internalType: "address";
|
909
|
-
readonly type: "address";
|
910
|
-
}];
|
911
|
-
readonly name: "deposits";
|
912
|
-
readonly outputs: readonly [{
|
913
|
-
readonly name: "";
|
914
|
-
readonly internalType: "uint256";
|
915
|
-
readonly type: "uint256";
|
916
|
-
}];
|
917
|
-
}, {
|
918
|
-
readonly stateMutability: "nonpayable";
|
919
|
-
readonly type: "function";
|
920
|
-
readonly inputs: readonly [{
|
921
|
-
readonly name: "_localToken";
|
922
|
-
readonly internalType: "address";
|
923
|
-
readonly type: "address";
|
924
|
-
}, {
|
925
|
-
readonly name: "_remoteToken";
|
926
|
-
readonly internalType: "address";
|
927
|
-
readonly type: "address";
|
928
|
-
}, {
|
929
|
-
readonly name: "_from";
|
930
|
-
readonly internalType: "address";
|
931
|
-
readonly type: "address";
|
932
|
-
}, {
|
933
|
-
readonly name: "_to";
|
934
|
-
readonly internalType: "address";
|
935
|
-
readonly type: "address";
|
936
|
-
}, {
|
937
|
-
readonly name: "_amount";
|
938
|
-
readonly internalType: "uint256";
|
939
|
-
readonly type: "uint256";
|
940
|
-
}, {
|
941
|
-
readonly name: "_extraData";
|
942
|
-
readonly internalType: "bytes";
|
943
|
-
readonly type: "bytes";
|
944
|
-
}];
|
945
|
-
readonly name: "finalizeBridgeERC20";
|
946
|
-
readonly outputs: readonly [];
|
947
|
-
}, {
|
948
|
-
readonly stateMutability: "payable";
|
949
|
-
readonly type: "function";
|
950
|
-
readonly inputs: readonly [{
|
951
|
-
readonly name: "_from";
|
952
|
-
readonly internalType: "address";
|
953
|
-
readonly type: "address";
|
954
|
-
}, {
|
955
|
-
readonly name: "_to";
|
956
|
-
readonly internalType: "address";
|
957
|
-
readonly type: "address";
|
958
|
-
}, {
|
959
|
-
readonly name: "_amount";
|
960
|
-
readonly internalType: "uint256";
|
961
|
-
readonly type: "uint256";
|
962
|
-
}, {
|
963
|
-
readonly name: "_extraData";
|
964
|
-
readonly internalType: "bytes";
|
965
|
-
readonly type: "bytes";
|
966
|
-
}];
|
967
|
-
readonly name: "finalizeBridgeETH";
|
968
|
-
readonly outputs: readonly [];
|
969
|
-
}, {
|
970
|
-
readonly stateMutability: "nonpayable";
|
971
|
-
readonly type: "function";
|
972
|
-
readonly inputs: readonly [{
|
973
|
-
readonly name: "_l1Token";
|
974
|
-
readonly internalType: "address";
|
975
|
-
readonly type: "address";
|
976
|
-
}, {
|
977
|
-
readonly name: "_l2Token";
|
978
|
-
readonly internalType: "address";
|
979
|
-
readonly type: "address";
|
980
|
-
}, {
|
981
|
-
readonly name: "_from";
|
982
|
-
readonly internalType: "address";
|
983
|
-
readonly type: "address";
|
984
|
-
}, {
|
985
|
-
readonly name: "_to";
|
986
|
-
readonly internalType: "address";
|
987
|
-
readonly type: "address";
|
988
|
-
}, {
|
989
|
-
readonly name: "_amount";
|
990
|
-
readonly internalType: "uint256";
|
991
|
-
readonly type: "uint256";
|
992
|
-
}, {
|
993
|
-
readonly name: "_extraData";
|
994
|
-
readonly internalType: "bytes";
|
995
|
-
readonly type: "bytes";
|
996
|
-
}];
|
997
|
-
readonly name: "finalizeERC20Withdrawal";
|
998
|
-
readonly outputs: readonly [];
|
999
|
-
}, {
|
1000
|
-
readonly stateMutability: "payable";
|
1001
|
-
readonly type: "function";
|
1002
|
-
readonly inputs: readonly [{
|
1003
|
-
readonly name: "_from";
|
1004
|
-
readonly internalType: "address";
|
1005
|
-
readonly type: "address";
|
1006
|
-
}, {
|
1007
|
-
readonly name: "_to";
|
1008
|
-
readonly internalType: "address";
|
1009
|
-
readonly type: "address";
|
1010
|
-
}, {
|
1011
|
-
readonly name: "_amount";
|
1012
|
-
readonly internalType: "uint256";
|
1013
|
-
readonly type: "uint256";
|
1014
|
-
}, {
|
1015
|
-
readonly name: "_extraData";
|
1016
|
-
readonly internalType: "bytes";
|
1017
|
-
readonly type: "bytes";
|
1018
|
-
}];
|
1019
|
-
readonly name: "finalizeETHWithdrawal";
|
1020
|
-
readonly outputs: readonly [];
|
1021
|
-
}, {
|
1022
|
-
readonly stateMutability: "nonpayable";
|
1023
|
-
readonly type: "function";
|
1024
|
-
readonly inputs: readonly [{
|
1025
|
-
readonly name: "_messenger";
|
1026
|
-
readonly internalType: "contract CrossDomainMessenger";
|
1027
|
-
readonly type: "address";
|
1028
|
-
}];
|
1029
|
-
readonly name: "initialize";
|
1030
|
-
readonly outputs: readonly [];
|
1031
|
-
}, {
|
1032
|
-
readonly stateMutability: "view";
|
1033
|
-
readonly type: "function";
|
1034
|
-
readonly inputs: readonly [];
|
1035
|
-
readonly name: "l2TokenBridge";
|
1036
|
-
readonly outputs: readonly [{
|
1037
|
-
readonly name: "";
|
1038
|
-
readonly internalType: "address";
|
1039
|
-
readonly type: "address";
|
1040
|
-
}];
|
1041
|
-
}, {
|
1042
|
-
readonly stateMutability: "view";
|
1043
|
-
readonly type: "function";
|
1044
|
-
readonly inputs: readonly [];
|
1045
|
-
readonly name: "messenger";
|
1046
|
-
readonly outputs: readonly [{
|
1047
|
-
readonly name: "";
|
1048
|
-
readonly internalType: "contract CrossDomainMessenger";
|
1049
|
-
readonly type: "address";
|
1050
|
-
}];
|
1051
|
-
}, {
|
1052
|
-
readonly stateMutability: "view";
|
1053
|
-
readonly type: "function";
|
1054
|
-
readonly inputs: readonly [];
|
1055
|
-
readonly name: "otherBridge";
|
1056
|
-
readonly outputs: readonly [{
|
1057
|
-
readonly name: "";
|
1058
|
-
readonly internalType: "contract StandardBridge";
|
1059
|
-
readonly type: "address";
|
1060
|
-
}];
|
1061
|
-
}, {
|
1062
|
-
readonly stateMutability: "view";
|
1063
|
-
readonly type: "function";
|
1064
|
-
readonly inputs: readonly [];
|
1065
|
-
readonly name: "version";
|
1066
|
-
readonly outputs: readonly [{
|
1067
|
-
readonly name: "";
|
1068
|
-
readonly internalType: "string";
|
1069
|
-
readonly type: "string";
|
1070
|
-
}];
|
1071
|
-
}, {
|
1072
|
-
readonly stateMutability: "payable";
|
1073
|
-
readonly type: "receive";
|
1074
|
-
}];
|
1075
449
|
export declare const l2ToL1MessagePasserAbi: readonly [{
|
1076
450
|
readonly inputs: readonly [];
|
1077
451
|
readonly stateMutability: "nonpayable";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"abis.d.ts","sourceRoot":"","sources":["../../op-stack/abis.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwEpB,CAAA;AAEV,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiQpB,CAAA;AAEV,eAAO,MAAM,
|
1
|
+
{"version":3,"file":"abis.d.ts","sourceRoot":"","sources":["../../op-stack/abis.ts"],"names":[],"mappings":"AAAA;;;GA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4TZ,CAAA"}
|
@@ -50,5 +50,6 @@ export type BuildProveWithdrawalErrorType = GetBlockErrorType | GetProofErrorTyp
|
|
50
50
|
* })
|
51
51
|
*/
|
52
52
|
export declare function buildProveWithdrawal<chain extends Chain | undefined, account extends Account | undefined, chainOverride extends Chain | undefined = undefined, accountOverride extends Account | Address | undefined = undefined>(client: Client<Transport, chain, account>, args: BuildProveWithdrawalParameters<chain, account, chainOverride, accountOverride>): Promise<BuildProveWithdrawalReturnType<chain, account, chainOverride, accountOverride>>;
|
53
|
+
/** @internal */
|
53
54
|
export declare function maybeAddProofNode(key: string, proof: readonly Hex[]): readonly `0x${string}`[];
|
54
55
|
//# sourceMappingURL=buildProveWithdrawal.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"buildProveWithdrawal.d.ts","sourceRoot":"","sources":["../../../op-stack/actions/buildProveWithdrawal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,kCAAkC,CAAA;AACzC,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,kCAAkC,CAAA;AACzC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EACV,OAAO,EACP,aAAa,EACb,mBAAmB,EACpB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,KAAK,EACV,KAAK,EACL,WAAW,EACX,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAC9C,OAAO,KAAK,EAAE,KAAK,EAAE,QAAQ,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S,IACX,QAAQ,CACV,IAAI,CACF,yBAAyB,EACzB,eAAe,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,YAAY,CACvE,GAAG;IACF,OAAO,EAAE,aAAa,CAAC,OAAO,EAAE,eAAe,CAAC,CAAA;IAChD,WAAW,EAAE,WAAW,CAAC,KAAK,EAAE,aAAa,CAAC,CAAA;CAC/C,CACF,CAAA;AAED,MAAM,MAAM,6BAA6B,GACrC,iBAAiB,GACjB,iBAAiB,GACjB,qCAAqC,GACrC,SAAS,CAAA;AAEb;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAsB,oBAAoB,CACxC,KAAK,SAAS,KAAK,GAAG,SAAS,EAC/B,OAAO,SAAS,OAAO,GAAG,SAAS,EACnC,aAAa,SAAS,KAAK,GAAG,SAAS,GAAG,SAAS,EACnD,eAAe,SAAS,OAAO,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,EAEjE,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,CAAC,EACzC,IAAI,EAAE,8BAA8B,CAClC,KAAK,EACL,OAAO,EACP,aAAa,EACb,eAAe,CAChB,GACA,OAAO,CACR,8BAA8B,CAAC,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,eAAe,CAAC,CAC/E,CAuCA;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,GAAG,EAAE,4BAqBnE"}
|
1
|
+
{"version":3,"file":"buildProveWithdrawal.d.ts","sourceRoot":"","sources":["../../../op-stack/actions/buildProveWithdrawal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,kCAAkC,CAAA;AACzC,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,kCAAkC,CAAA;AACzC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;A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EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,GAAG,EAAE,4BAqBnE"}
|
@@ -6,6 +6,7 @@ import type { Account } from '../../types/account.js';
|
|
6
6
|
import type { Chain, DeriveChain, GetChainParameter } from '../../types/chain.js';
|
7
7
|
import type { TransactionReceipt } from '../../types/transaction.js';
|
8
8
|
import type { OneOf } from '../../types/utils.js';
|
9
|
+
import { type ReceiptContainsNoWithdrawalsErrorType } from '../errors/withdrawal.js';
|
9
10
|
import type { GetContractAddressParameter } from '../types/contract.js';
|
10
11
|
import { type GetWithdrawalsErrorType } from '../utils/getWithdrawals.js';
|
11
12
|
import { type GetL2OutputErrorType } from './getL2Output.js';
|
@@ -19,7 +20,7 @@ export type GetWithdrawalStatusParameters<chain extends Chain | undefined = Chai
|
|
19
20
|
receipt: TransactionReceipt;
|
20
21
|
};
|
21
22
|
export type GetWithdrawalStatusReturnType = 'waiting-to-prove' | 'ready-to-prove' | 'waiting-to-finalize' | 'ready-to-finalize' | 'finalized';
|
22
|
-
export type GetWithdrawalStatusErrorType = GetL2OutputErrorType | GetTimeToFinalizeErrorType | GetWithdrawalsErrorType | ReadContractErrorType | ErrorType;
|
23
|
+
export type GetWithdrawalStatusErrorType = GetL2OutputErrorType | GetTimeToFinalizeErrorType | GetWithdrawalsErrorType | ReadContractErrorType | ReceiptContainsNoWithdrawalsErrorType | ErrorType;
|
23
24
|
/**
|
24
25
|
* Returns the current status of a withdrawal. Used for the [Withdrawal](/op-stack/guides/withdrawals) flow.
|
25
26
|
*
|