viem 2.13.7 → 2.13.9
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +26 -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/formatters.js +1 -2
- package/_cjs/celo/formatters.js.map +1 -1
- package/_cjs/celo/index.js.map +1 -1
- package/_cjs/celo/utils.js.map +1 -1
- package/_cjs/chains/definitions/ham.js +27 -0
- package/_cjs/chains/definitions/ham.js.map +1 -0
- package/_cjs/chains/definitions/kakarotSepolia.js +1 -1
- package/_cjs/chains/definitions/kakarotSepolia.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/redbellyTestnet.js +27 -0
- package/_cjs/chains/definitions/redbellyTestnet.js.map +1 -0
- package/_cjs/chains/definitions/sei.js +1 -0
- package/_cjs/chains/definitions/sei.js.map +1 -1
- package/_cjs/chains/definitions/xai.js +28 -0
- package/_cjs/chains/definitions/xai.js.map +1 -0
- package/_cjs/chains/definitions/xaiTestnet.js +22 -0
- package/_cjs/chains/definitions/xaiTestnet.js.map +1 -0
- package/_cjs/chains/index.js +12 -4
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/clients/createClient.js +2 -2
- package/_cjs/clients/createClient.js.map +1 -1
- package/_cjs/clients/decorators/public.js.map +1 -1
- package/_cjs/clients/decorators/wallet.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/base.js +1 -1
- package/_cjs/errors/base.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/estimateDepositTransactionGas.js +4 -3
- package/_cjs/op-stack/actions/estimateDepositTransactionGas.js.map +1 -1
- package/_cjs/op-stack/actions/estimateFinalizeWithdrawalGas.js +4 -3
- package/_cjs/op-stack/actions/estimateFinalizeWithdrawalGas.js.map +1 -1
- package/_cjs/op-stack/actions/estimateInitiateWithdrawalGas.js +4 -3
- package/_cjs/op-stack/actions/estimateInitiateWithdrawalGas.js.map +1 -1
- package/_cjs/op-stack/actions/estimateProveWithdrawalGas.js +4 -3
- package/_cjs/op-stack/actions/estimateProveWithdrawalGas.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/encodeDeployData.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/utils/transaction/serializeTransaction.js +8 -5
- package/_cjs/utils/transaction/serializeTransaction.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/actions/sendEip712Transaction.js +7 -7
- package/_cjs/zksync/actions/sendEip712Transaction.js.map +1 -1
- package/_cjs/zksync/actions/sendTransaction.js +4 -4
- package/_cjs/zksync/actions/sendTransaction.js.map +1 -1
- package/_cjs/zksync/constants/contract.js +1 -2
- package/_cjs/zksync/constants/contract.js.map +1 -1
- package/_cjs/zksync/decorators/eip712.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/formatters.js +1 -2
- package/_esm/celo/formatters.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/ham.js +24 -0
- package/_esm/chains/definitions/ham.js.map +1 -0
- package/_esm/chains/definitions/kakarotSepolia.js +1 -1
- package/_esm/chains/definitions/kakarotSepolia.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/redbellyTestnet.js +24 -0
- package/_esm/chains/definitions/redbellyTestnet.js.map +1 -0
- package/_esm/chains/definitions/sei.js +1 -0
- package/_esm/chains/definitions/sei.js.map +1 -1
- package/_esm/chains/definitions/xai.js +25 -0
- package/_esm/chains/definitions/xai.js.map +1 -0
- package/_esm/chains/definitions/xaiTestnet.js +19 -0
- package/_esm/chains/definitions/xaiTestnet.js.map +1 -0
- package/_esm/chains/index.js +4 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/clients/createClient.js +1 -1
- package/_esm/clients/createClient.js.map +1 -1
- package/_esm/clients/decorators/public.js.map +1 -1
- package/_esm/clients/decorators/wallet.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/base.js +1 -1
- package/_esm/errors/base.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/estimateDepositTransactionGas.js +7 -3
- package/_esm/op-stack/actions/estimateDepositTransactionGas.js.map +1 -1
- package/_esm/op-stack/actions/estimateFinalizeWithdrawalGas.js +7 -3
- package/_esm/op-stack/actions/estimateFinalizeWithdrawalGas.js.map +1 -1
- package/_esm/op-stack/actions/estimateInitiateWithdrawalGas.js +7 -3
- package/_esm/op-stack/actions/estimateInitiateWithdrawalGas.js.map +1 -1
- package/_esm/op-stack/actions/estimateProveWithdrawalGas.js +7 -3
- package/_esm/op-stack/actions/estimateProveWithdrawalGas.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/encodeDeployData.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/transaction/serializeTransaction.js +8 -5
- package/_esm/utils/transaction/serializeTransaction.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/actions/sendEip712Transaction.js +7 -7
- package/_esm/zksync/actions/sendEip712Transaction.js.map +1 -1
- package/_esm/zksync/actions/sendTransaction.js +6 -6
- package/_esm/zksync/actions/sendTransaction.js.map +1 -1
- package/_esm/zksync/constants/contract.js +0 -1
- package/_esm/zksync/constants/contract.js.map +1 -1
- package/_esm/zksync/decorators/eip712.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/formatters.d.ts.map +1 -1
- 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/ham.d.ts +37 -0
- package/_types/chains/definitions/ham.d.ts.map +1 -0
- package/_types/chains/definitions/kakarotSepolia.d.ts +1 -1
- 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/redbellyTestnet.d.ts +36 -0
- package/_types/chains/definitions/redbellyTestnet.d.ts.map +1 -0
- 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/xai.d.ts +33 -0
- package/_types/chains/definitions/xai.d.ts.map +1 -0
- package/_types/chains/definitions/xaiTestnet.d.ts +35 -0
- package/_types/chains/definitions/xaiTestnet.d.ts.map +1 -0
- 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/chains/index.d.ts +4 -0
- package/_types/chains/index.d.ts.map +1 -1
- 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/base.d.ts +1 -0
- package/_types/errors/base.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/estimateDepositTransactionGas.d.ts +2 -2
- package/_types/op-stack/actions/estimateDepositTransactionGas.d.ts.map +1 -1
- package/_types/op-stack/actions/estimateFinalizeWithdrawalGas.d.ts +1 -1
- package/_types/op-stack/actions/estimateFinalizeWithdrawalGas.d.ts.map +1 -1
- package/_types/op-stack/actions/estimateInitiateWithdrawalGas.d.ts +1 -1
- package/_types/op-stack/actions/estimateInitiateWithdrawalGas.d.ts.map +1 -1
- package/_types/op-stack/actions/estimateProveWithdrawalGas.d.ts +1 -1
- package/_types/op-stack/actions/estimateProveWithdrawalGas.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/chain.d.ts +7 -7
- package/_types/types/chain.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/encodeDeployData.d.ts +4 -2
- package/_types/utils/abi/encodeDeployData.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/utils/transaction/serializeTransaction.d.ts +1 -1
- package/_types/utils/transaction/serializeTransaction.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/actions/sendEip712Transaction.d.ts +3 -3
- package/_types/zksync/actions/sendEip712Transaction.d.ts.map +1 -1
- package/_types/zksync/actions/sendTransaction.d.ts +5 -5
- package/_types/zksync/actions/sendTransaction.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/decorators/eip712.d.ts +2 -1
- package/_types/zksync/decorators/eip712.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/chain.d.ts +2 -2
- package/_types/zksync/types/chain.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/formatters.ts +1 -3
- package/celo/index.ts +5 -2
- package/celo/utils.ts +1 -0
- package/chains/definitions/ham.ts +24 -0
- package/chains/definitions/kakarotSepolia.ts +1 -1
- package/chains/definitions/optimism.ts +5 -0
- package/chains/definitions/redbellyTestnet.ts +24 -0
- package/chains/definitions/sei.ts +1 -0
- package/chains/definitions/xai.ts +25 -0
- package/chains/definitions/xaiTestnet.ts +19 -0
- package/chains/index.ts +4 -0
- package/clients/createClient.ts +4 -2
- package/clients/decorators/public.ts +1 -1
- package/clients/decorators/wallet.ts +1 -1
- 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/base.ts +2 -1
- 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/estimateDepositTransactionGas.ts +18 -7
- package/op-stack/actions/estimateFinalizeWithdrawalGas.ts +11 -4
- package/op-stack/actions/estimateInitiateWithdrawalGas.ts +11 -4
- package/op-stack/actions/estimateProveWithdrawalGas.ts +11 -4
- 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/chain.ts +7 -7
- 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/encodeDeployData.ts +6 -5
- 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/transaction/serializeTransaction.ts +11 -5
- 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/actions/sendEip712Transaction.ts +27 -16
- package/zksync/actions/sendTransaction.ts +34 -18
- package/zksync/constants/contract.ts +0 -1
- package/zksync/decorators/eip712.ts +7 -2
- package/zksync/index.ts +5 -0
- package/zksync/serializers.ts +1 -2
- package/zksync/types/chain.ts +9 -9
- 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
package/_esm/errors/base.js
CHANGED
@@ -52,7 +52,7 @@ export class BaseError extends Error {
|
|
52
52
|
...(args.metaMessages ? [...args.metaMessages, ''] : []),
|
53
53
|
...(docsPath
|
54
54
|
? [
|
55
|
-
`Docs: https://viem.sh${docsPath}${args.docsSlug ? `#${args.docsSlug}` : ''}`,
|
55
|
+
`Docs: ${args.docsBaseUrl ?? 'https://viem.sh'}${docsPath}${args.docsSlug ? `#${args.docsSlug}` : ''}`,
|
56
56
|
]
|
57
57
|
: []),
|
58
58
|
...(details ? [`Details: ${details}`] : []),
|
package/_esm/errors/base.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../errors/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;
|
1
|
+
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../errors/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAmBvC,MAAM,OAAO,SAAU,SAAQ,KAAK;IASlC,YAAY,YAAoB,EAAE,OAA4B,EAAE;QAC9D,KAAK,EAAE,CAAA;QATT;;;;;WAAe;QACf;;;;;WAA6B;QAC7B;;;;;WAAmC;QACnC;;;;;WAAoB;QAEX;;;;mBAAO,WAAW;WAAA;QAC3B;;;;mBAAU,UAAU,EAAE;WAAA;QAKpB,MAAM,OAAO,GACX,IAAI,CAAC,KAAK,YAAY,SAAS;YAC7B,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO;YACpB,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,OAAO;gBACnB,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO;gBACpB,CAAC,CAAC,IAAI,CAAC,OAAQ,CAAA;QACrB,MAAM,QAAQ,GACZ,IAAI,CAAC,KAAK,YAAY,SAAS;YAC7B,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ;YACtC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAA;QAEnB,IAAI,CAAC,OAAO,GAAG;YACb,YAAY,IAAI,oBAAoB;YACpC,EAAE;YACF,GAAG,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;YACxD,GAAG,CAAC,QAAQ;gBACV,CAAC,CAAC;oBACE,SAAS,IAAI,C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mBAAmB,CAAC,aAA4B;IAC9D,OAAO,aAAa;SACjB,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,EAAE;QACxC,IAAI,GAAG,GAAG,GAAG,MAAM,OAAO,OAAO,KAAK,CAAA;QACtC,IAAI,KAAK,CAAC,KAAK;YAAE,GAAG,IAAI,gBAAgB,KAAK,CAAC,KAAK,IAAI,CAAA;QACvD,IAAI,KAAK,CAAC,OAAO;YAAE,GAAG,IAAI,kBAAkB,KAAK,CAAC,OAAO,IAAI,CAAA;QAC7D,IAAI,KAAK,CAAC,IAAI;YAAE,GAAG,IAAI,eAAe,KAAK,CAAC,IAAI,IAAI,CAAA;QACpD,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;YAChB,GAAG,IAAI,gBAAgB,CAAA;YACvB,GAAG,IAAI,kBAAkB,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;QACxC,CAAC;QACD,IAAI,KAAK,CAAC,SAAS,EAAE,CAAC;YACpB,GAAG,IAAI,oBAAoB,CAAA;YAC3B,GAAG,IAAI,kBAAkB,CAAC,KAAK,CAAC,SAAS,CAAC,CAAA;QAC5C,CAAC;QACD,OAAO,GAAG,CAAA;IACZ,CAAC,EAAE,qBAAqB,CAAC;SACxB,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAA;AACjB,CAAC"}
|
package/_esm/errors/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export const version = '2.13.
|
1
|
+
export const version = '2.13.9';
|
2
2
|
//# sourceMappingURL=version.js.map
|
@@ -1,5 +1,5 @@
|
|
1
|
+
import { parseAccount } from '../../../accounts/utils/parseAccount.js';
|
1
2
|
import { AccountNotFoundError } from '../../../errors/account.js';
|
2
|
-
import { parseAccount } from '../../../utils/accounts.js';
|
3
3
|
/**
|
4
4
|
* Extract capabilities that a connected wallet supports (e.g. paymasters, session keys, etc).
|
5
5
|
*
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getCapabilities.js","sourceRoot":"","sources":["../../../../experimental/eip5792/actions/getCapabilities.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"getCapabilities.js","sourceRoot":"","sources":["../../../../experimental/eip5792/actions/getCapabilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAA;AAGtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AAqBjE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,KAAK,UAAU,eAAe,CAInC,GAAG,UAUE;IAEL,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG,UAAU,CAAA;IACjC,MAAM,WAAW,GAAG,IAAI,EAAE,OAAO,IAAI,MAAM,CAAC,OAAO,CAAA;IAEnD,IAAI,CAAC,WAAW;QAAE,MAAM,IAAI,oBAAoB,EAAE,CAAA;IAClD,MAAM,OAAO,GAAG,YAAY,CAAC,WAAW,CAAC,CAAA;IAEzC,MAAM,gBAAgB,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC;QAC5C,MAAM,EAAE,wBAAwB;QAChC,MAAM,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC;KAC1B,CAAC,CAAA;IAEF,MAAM,YAAY,GAAG,EAGpB,CAAA;IACD,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,gBAAgB,CAAC;QACzD,YAAY,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,KAAK,CAAA;IACnC,OAAO,YAAY,CAAA;AACrB,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
|
+
import { parseAccount } from '../../../accounts/utils/parseAccount.js';
|
1
2
|
import { AccountNotFoundError } from '../../../errors/account.js';
|
2
3
|
import { ChainNotFoundError } from '../../../errors/chain.js';
|
3
|
-
import { parseAccount } from '../../../utils/accounts.js';
|
4
4
|
import { numberToHex } from '../../../utils/encoding/toHex.js';
|
5
5
|
import { getTransactionError } from '../../../utils/errors/getTransactionError.js';
|
6
6
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"sendCalls.js","sourceRoot":"","sources":["../../../../experimental/eip5792/actions/sendCalls.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"sendCalls.js","sourceRoot":"","sources":["../../../../experimental/eip5792/actions/sendCalls.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAA;AAGtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AAEjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAW7D,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAA;AA4BlF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAM,CAAC,KAAK,UAAU,SAAS,CAK7B,MAAyC,EACzC,UAA8D;IAE9D,MAAM,EACJ,OAAO,EAAE,QAAQ,GAAG,MAAM,CAAC,OAAO,EAClC,KAAK,EACL,YAAY,EACZ,KAAK,GAAG,MAAM,CAAC,KAAK,EACpB,OAAO,GAAG,KAAK,GAChB,GAAG,UAAU,CAAA;IAEd,IAAI,CAAC,QAAQ;QACX,MAAM,IAAI,oBAAoB,CAAC;YAC7B,QAAQ,EAAE,iCAAiC;SAC5C,CAAC,CAAA;IACJ,MAAM,OAAO,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAA;IAEtC,IAAI,CAAC,KAAK;QAAE,MAAM,IAAI,kBAAkB,EAAE,CAAA;IAE1C,IAAI,CAAC;QACH,OAAO,MAAM,MAAM,CAAC,OAAO,CACzB;YACE,MAAM,EAAE,kBAAkB;YAC1B,MAAM,EAAE;gBACN;oBACE,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;wBAC1B,GAAG,IAAI;wBACP,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS;qBACxD,CAAC,CAAQ;oBACV,YAAY;oBACZ,OAAO,EAAE,WAAW,CAAC,KAAM,CAAC,EAAE,CAAC;oBAC/B,IAAI,EAAE,OAAO,CAAC,OAAO;oBACrB,OAAO;iBACR;aACF;SACF,EACD,EAAE,UAAU,EAAE,CAAC,EAAE,CAClB,CAAA;IACH,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,MAAM,mBAAmB,CAAC,GAAgB,EAAE;YAC1C,GAAG,UAAU;YACb,OAAO;YACP,KAAK,EAAE,UAAU,CAAC,KAAM;SACzB,CAAC,CAAA;IACJ,CAAC;AACH,CAAC"}
|
package/_esm/index.js
CHANGED
@@ -40,6 +40,7 @@ export { FeeConflictError, InvalidLegacyVError, InvalidSerializableTransactionEr
|
|
40
40
|
export { SizeExceedsPaddingSizeError, SliceOffsetOutOfBoundsError, } from './errors/data.js';
|
41
41
|
export { UrlRequiredError, } from './errors/transport.js';
|
42
42
|
export { AccountStateConflictError, StateAssignmentConflictError, } from './errors/stateOverride.js';
|
43
|
+
export { ProviderRpcError as EIP1193ProviderRpcError } from './types/eip1193.js';
|
43
44
|
export { labelhash } from './utils/ens/labelhash.js';
|
44
45
|
export { namehash } from './utils/ens/namehash.js';
|
45
46
|
export { defineBlock, formatBlock, } from './utils/formatters/block.js';
|
@@ -141,9 +142,9 @@ export { isAddressEqual, } from './utils/address/isAddressEqual.js';
|
|
141
142
|
export { isBytes } from './utils/data/isBytes.js';
|
142
143
|
export { isHash } from './utils/hash/isHash.js';
|
143
144
|
export { isHex } from './utils/data/isHex.js';
|
144
|
-
export { keccak256 } from './utils/hash/keccak256.js';
|
145
|
-
export { sha256 } from './utils/hash/sha256.js';
|
146
|
-
export { ripemd160 } from './utils/hash/ripemd160.js';
|
145
|
+
export { keccak256, } from './utils/hash/keccak256.js';
|
146
|
+
export { sha256, } from './utils/hash/sha256.js';
|
147
|
+
export { ripemd160, } from './utils/hash/ripemd160.js';
|
147
148
|
export { pad, padBytes, padHex, } from './utils/data/pad.js';
|
148
149
|
export { parseEther, } from './utils/unit/parseEther.js';
|
149
150
|
export { parseGwei } from './utils/unit/parseGwei.js';
|
package/_esm/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,OAAO,EAkBL,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,EACzB,mBAAmB,EACnB,4BAA4B,EAC5B,4BAA4B,EAC5B,oBAAoB,EACpB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,EACrB,2BAA2B,EAC3B,6BAA6B,EAC7B,gBAAgB,EAChB,qBAAqB,EACrB,QAAQ,EACR,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,SAAS,CAAA;AAEhB,OAAO,EACL,WAAW,GAIZ,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAIN,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EAGN,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAIN,MAAM,0BAA0B,CAAA;AA8ZjC,OAAO,EAKL,YAAY,EACZ,SAAS,GACV,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAIL,MAAM,GACP,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAIL,QAAQ,GACT,MAAM,kCAAkC,CAAA;AACzC,OAAO,EAIL,IAAI,GACL,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAIL,kBAAkB,GACnB,MAAM,iCAAiC,CAAA;AACxC,OAAO,EAIL,gBAAgB,GACjB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAEL,aAAa,GACd,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAEL,WAAW,GACZ,MAAM,8BAA8B,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B,GACxB,MAAM,sBAAsB,CAAA"}
|
@@ -6,5 +6,4 @@ const __filename = fileURLToPath(
|
|
6
6
|
import.meta.url);
|
7
7
|
const __dirname = dirname(__filename);
|
8
8
|
export const mainnetTrustedSetupPath = resolve(__dirname, '../trusted-setups/mainnet.json');
|
9
|
-
export const minimalTrustedSetupPath = resolve(__dirname, '../trusted-setups/mainnet.json');
|
10
9
|
//# sourceMappingURL=trustedSetups.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"trustedSetups.js","sourceRoot":"","sources":["../../node/trustedSetups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAExC,MAAM,UAAU,GAAG,aAAa;AAC9B,2IAA2I;AAC3I,aAAa;AACb,MAAM,CAAC,IAAI,CAAC,GAAG,CAChB,CAAA;AACD,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;AAErC,MAAM,CAAC,MAAM,uBAAuB,GAAG,OAAO,CAC5C,SAAS,EACT,gCAAgC,CACjC,CAAA
|
1
|
+
{"version":3,"file":"trustedSetups.js","sourceRoot":"","sources":["../../node/trustedSetups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAExC,MAAM,UAAU,GAAG,aAAa;AAC9B,2IAA2I;AAC3I,aAAa;AACb,MAAM,CAAC,IAAI,CAAC,GAAG,CAChB,CAAA;AACD,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;AAErC,MAAM,CAAC,MAAM,uBAAuB,GAAG,OAAO,CAC5C,SAAS,EACT,gCAAgC,CACjC,CAAA"}
|
@@ -1,4 +1,3 @@
|
|
1
1
|
import { resolve } from 'node:path';
|
2
2
|
export const mainnetTrustedSetupPath = resolve(__dirname, '../trusted-setups/mainnet.json');
|
3
|
-
export const minimalTrustedSetupPath = resolve(__dirname, '../trusted-setups/mainnet.json');
|
4
3
|
//# sourceMappingURL=trustedSetups_cjs.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"trustedSetups_cjs.js","sourceRoot":"","sources":["../../node/trustedSetups_cjs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAEnC,MAAM,CAAC,MAAM,uBAAuB,GAAG,OAAO,CAC5C,SAAS,EACT,gCAAgC,CACjC,CAAA
|
1
|
+
{"version":3,"file":"trustedSetups_cjs.js","sourceRoot":"","sources":["../../node/trustedSetups_cjs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAEnC,MAAM,CAAC,MAAM,uBAAuB,GAAG,OAAO,CAC5C,SAAS,EACT,gCAAgC,CACjC,CAAA"}
|
package/_esm/op-stack/abis.js
CHANGED
@@ -333,463 +333,6 @@ export const l2OutputOracleAbi = [
|
|
333
333
|
type: 'function',
|
334
334
|
},
|
335
335
|
];
|
336
|
-
export const l1StandardBridgeAbi = [
|
337
|
-
{ stateMutability: 'nonpayable', type: 'constructor', inputs: [] },
|
338
|
-
{
|
339
|
-
type: 'event',
|
340
|
-
anonymous: false,
|
341
|
-
inputs: [
|
342
|
-
{
|
343
|
-
name: 'localToken',
|
344
|
-
internalType: 'address',
|
345
|
-
type: 'address',
|
346
|
-
indexed: true,
|
347
|
-
},
|
348
|
-
{
|
349
|
-
name: 'remoteToken',
|
350
|
-
internalType: 'address',
|
351
|
-
type: 'address',
|
352
|
-
indexed: true,
|
353
|
-
},
|
354
|
-
{ name: 'from', internalType: 'address', type: 'address', indexed: true },
|
355
|
-
{ name: 'to', internalType: 'address', type: 'address', indexed: false },
|
356
|
-
{
|
357
|
-
name: 'amount',
|
358
|
-
internalType: 'uint256',
|
359
|
-
type: 'uint256',
|
360
|
-
indexed: false,
|
361
|
-
},
|
362
|
-
{
|
363
|
-
name: 'extraData',
|
364
|
-
internalType: 'bytes',
|
365
|
-
type: 'bytes',
|
366
|
-
indexed: false,
|
367
|
-
},
|
368
|
-
],
|
369
|
-
name: 'ERC20BridgeFinalized',
|
370
|
-
},
|
371
|
-
{
|
372
|
-
type: 'event',
|
373
|
-
anonymous: false,
|
374
|
-
inputs: [
|
375
|
-
{
|
376
|
-
name: 'localToken',
|
377
|
-
internalType: 'address',
|
378
|
-
type: 'address',
|
379
|
-
indexed: true,
|
380
|
-
},
|
381
|
-
{
|
382
|
-
name: 'remoteToken',
|
383
|
-
internalType: 'address',
|
384
|
-
type: 'address',
|
385
|
-
indexed: true,
|
386
|
-
},
|
387
|
-
{ name: 'from', internalType: 'address', type: 'address', indexed: true },
|
388
|
-
{ name: 'to', internalType: 'address', type: 'address', indexed: false },
|
389
|
-
{
|
390
|
-
name: 'amount',
|
391
|
-
internalType: 'uint256',
|
392
|
-
type: 'uint256',
|
393
|
-
indexed: false,
|
394
|
-
},
|
395
|
-
{
|
396
|
-
name: 'extraData',
|
397
|
-
internalType: 'bytes',
|
398
|
-
type: 'bytes',
|
399
|
-
indexed: false,
|
400
|
-
},
|
401
|
-
],
|
402
|
-
name: 'ERC20BridgeInitiated',
|
403
|
-
},
|
404
|
-
{
|
405
|
-
type: 'event',
|
406
|
-
anonymous: false,
|
407
|
-
inputs: [
|
408
|
-
{
|
409
|
-
name: 'l1Token',
|
410
|
-
internalType: 'address',
|
411
|
-
type: 'address',
|
412
|
-
indexed: true,
|
413
|
-
},
|
414
|
-
{
|
415
|
-
name: 'l2Token',
|
416
|
-
internalType: 'address',
|
417
|
-
type: 'address',
|
418
|
-
indexed: true,
|
419
|
-
},
|
420
|
-
{ name: 'from', internalType: 'address', type: 'address', indexed: true },
|
421
|
-
{ name: 'to', internalType: 'address', type: 'address', indexed: false },
|
422
|
-
{
|
423
|
-
name: 'amount',
|
424
|
-
internalType: 'uint256',
|
425
|
-
type: 'uint256',
|
426
|
-
indexed: false,
|
427
|
-
},
|
428
|
-
{
|
429
|
-
name: 'extraData',
|
430
|
-
internalType: 'bytes',
|
431
|
-
type: 'bytes',
|
432
|
-
indexed: false,
|
433
|
-
},
|
434
|
-
],
|
435
|
-
name: 'ERC20DepositInitiated',
|
436
|
-
},
|
437
|
-
{
|
438
|
-
type: 'event',
|
439
|
-
anonymous: false,
|
440
|
-
inputs: [
|
441
|
-
{
|
442
|
-
name: 'l1Token',
|
443
|
-
internalType: 'address',
|
444
|
-
type: 'address',
|
445
|
-
indexed: true,
|
446
|
-
},
|
447
|
-
{
|
448
|
-
name: 'l2Token',
|
449
|
-
internalType: 'address',
|
450
|
-
type: 'address',
|
451
|
-
indexed: true,
|
452
|
-
},
|
453
|
-
{ name: 'from', internalType: 'address', type: 'address', indexed: true },
|
454
|
-
{ name: 'to', internalType: 'address', type: 'address', indexed: false },
|
455
|
-
{
|
456
|
-
name: 'amount',
|
457
|
-
internalType: 'uint256',
|
458
|
-
type: 'uint256',
|
459
|
-
indexed: false,
|
460
|
-
},
|
461
|
-
{
|
462
|
-
name: 'extraData',
|
463
|
-
internalType: 'bytes',
|
464
|
-
type: 'bytes',
|
465
|
-
indexed: false,
|
466
|
-
},
|
467
|
-
],
|
468
|
-
name: 'ERC20WithdrawalFinalized',
|
469
|
-
},
|
470
|
-
{
|
471
|
-
type: 'event',
|
472
|
-
anonymous: false,
|
473
|
-
inputs: [
|
474
|
-
{ name: 'from', internalType: 'address', type: 'address', indexed: true },
|
475
|
-
{ name: 'to', internalType: 'address', type: 'address', indexed: true },
|
476
|
-
{
|
477
|
-
name: 'amount',
|
478
|
-
internalType: 'uint256',
|
479
|
-
type: 'uint256',
|
480
|
-
indexed: false,
|
481
|
-
},
|
482
|
-
{
|
483
|
-
name: 'extraData',
|
484
|
-
internalType: 'bytes',
|
485
|
-
type: 'bytes',
|
486
|
-
indexed: false,
|
487
|
-
},
|
488
|
-
],
|
489
|
-
name: 'ETHBridgeFinalized',
|
490
|
-
},
|
491
|
-
{
|
492
|
-
type: 'event',
|
493
|
-
anonymous: false,
|
494
|
-
inputs: [
|
495
|
-
{ name: 'from', internalType: 'address', type: 'address', indexed: true },
|
496
|
-
{ name: 'to', internalType: 'address', type: 'address', indexed: true },
|
497
|
-
{
|
498
|
-
name: 'amount',
|
499
|
-
internalType: 'uint256',
|
500
|
-
type: 'uint256',
|
501
|
-
indexed: false,
|
502
|
-
},
|
503
|
-
{
|
504
|
-
name: 'extraData',
|
505
|
-
internalType: 'bytes',
|
506
|
-
type: 'bytes',
|
507
|
-
indexed: false,
|
508
|
-
},
|
509
|
-
],
|
510
|
-
name: 'ETHBridgeInitiated',
|
511
|
-
},
|
512
|
-
{
|
513
|
-
type: 'event',
|
514
|
-
anonymous: false,
|
515
|
-
inputs: [
|
516
|
-
{ name: 'from', internalType: 'address', type: 'address', indexed: true },
|
517
|
-
{ name: 'to', internalType: 'address', type: 'address', indexed: true },
|
518
|
-
{
|
519
|
-
name: 'amount',
|
520
|
-
internalType: 'uint256',
|
521
|
-
type: 'uint256',
|
522
|
-
indexed: false,
|
523
|
-
},
|
524
|
-
{
|
525
|
-
name: 'extraData',
|
526
|
-
internalType: 'bytes',
|
527
|
-
type: 'bytes',
|
528
|
-
indexed: false,
|
529
|
-
},
|
530
|
-
],
|
531
|
-
name: 'ETHDepositInitiated',
|
532
|
-
},
|
533
|
-
{
|
534
|
-
type: 'event',
|
535
|
-
anonymous: false,
|
536
|
-
inputs: [
|
537
|
-
{ name: 'from', internalType: 'address', type: 'address', indexed: true },
|
538
|
-
{ name: 'to', internalType: 'address', type: 'address', indexed: true },
|
539
|
-
{
|
540
|
-
name: 'amount',
|
541
|
-
internalType: 'uint256',
|
542
|
-
type: 'uint256',
|
543
|
-
indexed: false,
|
544
|
-
},
|
545
|
-
{
|
546
|
-
name: 'extraData',
|
547
|
-
internalType: 'bytes',
|
548
|
-
type: 'bytes',
|
549
|
-
indexed: false,
|
550
|
-
},
|
551
|
-
],
|
552
|
-
name: 'ETHWithdrawalFinalized',
|
553
|
-
},
|
554
|
-
{
|
555
|
-
type: 'event',
|
556
|
-
anonymous: false,
|
557
|
-
inputs: [
|
558
|
-
{ name: 'version', internalType: 'uint8', type: 'uint8', indexed: false },
|
559
|
-
],
|
560
|
-
name: 'Initialized',
|
561
|
-
},
|
562
|
-
{
|
563
|
-
stateMutability: 'view',
|
564
|
-
type: 'function',
|
565
|
-
inputs: [],
|
566
|
-
name: 'MESSENGER',
|
567
|
-
outputs: [
|
568
|
-
{
|
569
|
-
name: '',
|
570
|
-
internalType: 'contract CrossDomainMessenger',
|
571
|
-
type: 'address',
|
572
|
-
},
|
573
|
-
],
|
574
|
-
},
|
575
|
-
{
|
576
|
-
stateMutability: 'view',
|
577
|
-
type: 'function',
|
578
|
-
inputs: [],
|
579
|
-
name: 'OTHER_BRIDGE',
|
580
|
-
outputs: [
|
581
|
-
{ name: '', internalType: 'contract StandardBridge', type: 'address' },
|
582
|
-
],
|
583
|
-
},
|
584
|
-
{
|
585
|
-
stateMutability: 'nonpayable',
|
586
|
-
type: 'function',
|
587
|
-
inputs: [
|
588
|
-
{ name: '_localToken', internalType: 'address', type: 'address' },
|
589
|
-
{ name: '_remoteToken', internalType: 'address', type: 'address' },
|
590
|
-
{ name: '_amount', internalType: 'uint256', type: 'uint256' },
|
591
|
-
{ name: '_minGasLimit', internalType: 'uint32', type: 'uint32' },
|
592
|
-
{ name: '_extraData', internalType: 'bytes', type: 'bytes' },
|
593
|
-
],
|
594
|
-
name: 'bridgeERC20',
|
595
|
-
outputs: [],
|
596
|
-
},
|
597
|
-
{
|
598
|
-
stateMutability: 'nonpayable',
|
599
|
-
type: 'function',
|
600
|
-
inputs: [
|
601
|
-
{ name: '_localToken', internalType: 'address', type: 'address' },
|
602
|
-
{ name: '_remoteToken', internalType: 'address', type: 'address' },
|
603
|
-
{ name: '_to', internalType: 'address', type: 'address' },
|
604
|
-
{ name: '_amount', internalType: 'uint256', type: 'uint256' },
|
605
|
-
{ name: '_minGasLimit', internalType: 'uint32', type: 'uint32' },
|
606
|
-
{ name: '_extraData', internalType: 'bytes', type: 'bytes' },
|
607
|
-
],
|
608
|
-
name: 'bridgeERC20To',
|
609
|
-
outputs: [],
|
610
|
-
},
|
611
|
-
{
|
612
|
-
stateMutability: 'payable',
|
613
|
-
type: 'function',
|
614
|
-
inputs: [
|
615
|
-
{ name: '_minGasLimit', internalType: 'uint32', type: 'uint32' },
|
616
|
-
{ name: '_extraData', internalType: 'bytes', type: 'bytes' },
|
617
|
-
],
|
618
|
-
name: 'bridgeETH',
|
619
|
-
outputs: [],
|
620
|
-
},
|
621
|
-
{
|
622
|
-
stateMutability: 'payable',
|
623
|
-
type: 'function',
|
624
|
-
inputs: [
|
625
|
-
{ name: '_to', internalType: 'address', type: 'address' },
|
626
|
-
{ name: '_minGasLimit', internalType: 'uint32', type: 'uint32' },
|
627
|
-
{ name: '_extraData', internalType: 'bytes', type: 'bytes' },
|
628
|
-
],
|
629
|
-
name: 'bridgeETHTo',
|
630
|
-
outputs: [],
|
631
|
-
},
|
632
|
-
{
|
633
|
-
stateMutability: 'nonpayable',
|
634
|
-
type: 'function',
|
635
|
-
inputs: [
|
636
|
-
{ name: '_l1Token', internalType: 'address', type: 'address' },
|
637
|
-
{ name: '_l2Token', internalType: 'address', type: 'address' },
|
638
|
-
{ name: '_amount', internalType: 'uint256', type: 'uint256' },
|
639
|
-
{ name: '_minGasLimit', internalType: 'uint32', type: 'uint32' },
|
640
|
-
{ name: '_extraData', internalType: 'bytes', type: 'bytes' },
|
641
|
-
],
|
642
|
-
name: 'depositERC20',
|
643
|
-
outputs: [],
|
644
|
-
},
|
645
|
-
{
|
646
|
-
stateMutability: 'nonpayable',
|
647
|
-
type: 'function',
|
648
|
-
inputs: [
|
649
|
-
{ name: '_l1Token', internalType: 'address', type: 'address' },
|
650
|
-
{ name: '_l2Token', internalType: 'address', type: 'address' },
|
651
|
-
{ name: '_to', internalType: 'address', type: 'address' },
|
652
|
-
{ name: '_amount', internalType: 'uint256', type: 'uint256' },
|
653
|
-
{ name: '_minGasLimit', internalType: 'uint32', type: 'uint32' },
|
654
|
-
{ name: '_extraData', internalType: 'bytes', type: 'bytes' },
|
655
|
-
],
|
656
|
-
name: 'depositERC20To',
|
657
|
-
outputs: [],
|
658
|
-
},
|
659
|
-
{
|
660
|
-
stateMutability: 'payable',
|
661
|
-
type: 'function',
|
662
|
-
inputs: [
|
663
|
-
{ name: '_minGasLimit', internalType: 'uint32', type: 'uint32' },
|
664
|
-
{ name: '_extraData', internalType: 'bytes', type: 'bytes' },
|
665
|
-
],
|
666
|
-
name: 'depositETH',
|
667
|
-
outputs: [],
|
668
|
-
},
|
669
|
-
{
|
670
|
-
stateMutability: 'payable',
|
671
|
-
type: 'function',
|
672
|
-
inputs: [
|
673
|
-
{ name: '_to', internalType: 'address', type: 'address' },
|
674
|
-
{ name: '_minGasLimit', internalType: 'uint32', type: 'uint32' },
|
675
|
-
{ name: '_extraData', internalType: 'bytes', type: 'bytes' },
|
676
|
-
],
|
677
|
-
name: 'depositETHTo',
|
678
|
-
outputs: [],
|
679
|
-
},
|
680
|
-
{
|
681
|
-
stateMutability: 'view',
|
682
|
-
type: 'function',
|
683
|
-
inputs: [
|
684
|
-
{ name: '', internalType: 'address', type: 'address' },
|
685
|
-
{ name: '', internalType: 'address', type: 'address' },
|
686
|
-
],
|
687
|
-
name: 'deposits',
|
688
|
-
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
689
|
-
},
|
690
|
-
{
|
691
|
-
stateMutability: 'nonpayable',
|
692
|
-
type: 'function',
|
693
|
-
inputs: [
|
694
|
-
{ name: '_localToken', internalType: 'address', type: 'address' },
|
695
|
-
{ name: '_remoteToken', internalType: 'address', type: 'address' },
|
696
|
-
{ name: '_from', internalType: 'address', type: 'address' },
|
697
|
-
{ name: '_to', internalType: 'address', type: 'address' },
|
698
|
-
{ name: '_amount', internalType: 'uint256', type: 'uint256' },
|
699
|
-
{ name: '_extraData', internalType: 'bytes', type: 'bytes' },
|
700
|
-
],
|
701
|
-
name: 'finalizeBridgeERC20',
|
702
|
-
outputs: [],
|
703
|
-
},
|
704
|
-
{
|
705
|
-
stateMutability: 'payable',
|
706
|
-
type: 'function',
|
707
|
-
inputs: [
|
708
|
-
{ name: '_from', internalType: 'address', type: 'address' },
|
709
|
-
{ name: '_to', internalType: 'address', type: 'address' },
|
710
|
-
{ name: '_amount', internalType: 'uint256', type: 'uint256' },
|
711
|
-
{ name: '_extraData', internalType: 'bytes', type: 'bytes' },
|
712
|
-
],
|
713
|
-
name: 'finalizeBridgeETH',
|
714
|
-
outputs: [],
|
715
|
-
},
|
716
|
-
{
|
717
|
-
stateMutability: 'nonpayable',
|
718
|
-
type: 'function',
|
719
|
-
inputs: [
|
720
|
-
{ name: '_l1Token', internalType: 'address', type: 'address' },
|
721
|
-
{ name: '_l2Token', internalType: 'address', type: 'address' },
|
722
|
-
{ name: '_from', internalType: 'address', type: 'address' },
|
723
|
-
{ name: '_to', internalType: 'address', type: 'address' },
|
724
|
-
{ name: '_amount', internalType: 'uint256', type: 'uint256' },
|
725
|
-
{ name: '_extraData', internalType: 'bytes', type: 'bytes' },
|
726
|
-
],
|
727
|
-
name: 'finalizeERC20Withdrawal',
|
728
|
-
outputs: [],
|
729
|
-
},
|
730
|
-
{
|
731
|
-
stateMutability: 'payable',
|
732
|
-
type: 'function',
|
733
|
-
inputs: [
|
734
|
-
{ name: '_from', internalType: 'address', type: 'address' },
|
735
|
-
{ name: '_to', internalType: 'address', type: 'address' },
|
736
|
-
{ name: '_amount', internalType: 'uint256', type: 'uint256' },
|
737
|
-
{ name: '_extraData', internalType: 'bytes', type: 'bytes' },
|
738
|
-
],
|
739
|
-
name: 'finalizeETHWithdrawal',
|
740
|
-
outputs: [],
|
741
|
-
},
|
742
|
-
{
|
743
|
-
stateMutability: 'nonpayable',
|
744
|
-
type: 'function',
|
745
|
-
inputs: [
|
746
|
-
{
|
747
|
-
name: '_messenger',
|
748
|
-
internalType: 'contract CrossDomainMessenger',
|
749
|
-
type: 'address',
|
750
|
-
},
|
751
|
-
],
|
752
|
-
name: 'initialize',
|
753
|
-
outputs: [],
|
754
|
-
},
|
755
|
-
{
|
756
|
-
stateMutability: 'view',
|
757
|
-
type: 'function',
|
758
|
-
inputs: [],
|
759
|
-
name: 'l2TokenBridge',
|
760
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
761
|
-
},
|
762
|
-
{
|
763
|
-
stateMutability: 'view',
|
764
|
-
type: 'function',
|
765
|
-
inputs: [],
|
766
|
-
name: 'messenger',
|
767
|
-
outputs: [
|
768
|
-
{
|
769
|
-
name: '',
|
770
|
-
internalType: 'contract CrossDomainMessenger',
|
771
|
-
type: 'address',
|
772
|
-
},
|
773
|
-
],
|
774
|
-
},
|
775
|
-
{
|
776
|
-
stateMutability: 'view',
|
777
|
-
type: 'function',
|
778
|
-
inputs: [],
|
779
|
-
name: 'otherBridge',
|
780
|
-
outputs: [
|
781
|
-
{ name: '', internalType: 'contract StandardBridge', type: 'address' },
|
782
|
-
],
|
783
|
-
},
|
784
|
-
{
|
785
|
-
stateMutability: 'view',
|
786
|
-
type: 'function',
|
787
|
-
inputs: [],
|
788
|
-
name: 'version',
|
789
|
-
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
790
|
-
},
|
791
|
-
{ stateMutability: 'payable', type: 'receive' },
|
792
|
-
];
|
793
336
|
export const l2ToL1MessagePasserAbi = [
|
794
337
|
{ inputs: [], stateMutability: 'nonpayable', type: 'constructor' },
|
795
338
|
{
|