viem 2.18.7 → 2.19.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +42 -0
- package/README.md +1 -1
- package/_cjs/account-abstraction/errors/bundler.js +36 -216
- package/_cjs/account-abstraction/errors/bundler.js.map +1 -1
- package/_cjs/account-abstraction/errors/userOperation.js +5 -26
- package/_cjs/account-abstraction/errors/userOperation.js.map +1 -1
- package/_cjs/accounts/index.js +3 -1
- package/_cjs/accounts/index.js.map +1 -1
- package/_cjs/accounts/privateKeyToAccount.js +4 -0
- package/_cjs/accounts/privateKeyToAccount.js.map +1 -1
- package/_cjs/accounts/toAccount.js +1 -0
- package/_cjs/accounts/toAccount.js.map +1 -1
- package/_cjs/accounts/utils/signAuthorization.js +22 -0
- package/_cjs/accounts/utils/signAuthorization.js.map +1 -0
- package/_cjs/actions/public/estimateGas.js +48 -10
- package/_cjs/actions/public/estimateGas.js.map +1 -1
- package/_cjs/actions/public/simulateContract.js.map +1 -1
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_cjs/actions/wallet/sendTransaction.js +21 -3
- package/_cjs/actions/wallet/sendTransaction.js.map +1 -1
- package/_cjs/actions/wallet/writeContract.js.map +1 -1
- package/_cjs/chains/definitions/abstractTestnet.js +26 -0
- package/_cjs/chains/definitions/abstractTestnet.js.map +1 -0
- package/_cjs/chains/definitions/b3Sepolia.js +28 -0
- package/_cjs/chains/definitions/b3Sepolia.js.map +1 -0
- package/_cjs/chains/definitions/{zkSync.js → zksync.js} +6 -5
- package/_cjs/chains/definitions/{zkSync.js.map → zksync.js.map} +1 -1
- package/_cjs/chains/definitions/{zkSyncInMemoryNode.js → zksyncInMemoryNode.js} +4 -4
- package/_cjs/chains/definitions/{zkSyncInMemoryNode.js.map → zksyncInMemoryNode.js.map} +1 -1
- package/_cjs/chains/definitions/{zkSyncLocalNode.js → zksyncLocalNode.js} +4 -4
- package/_cjs/chains/definitions/{zkSyncLocalNode.js.map → zksyncLocalNode.js.map} +1 -1
- package/_cjs/chains/definitions/{zkSyncSepoliaTestnet.js → zksyncSepoliaTestnet.js} +7 -5
- package/_cjs/chains/definitions/zksyncSepoliaTestnet.js.map +1 -0
- package/_cjs/chains/index.js +23 -17
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/errors/abi.js +32 -163
- package/_cjs/errors/abi.js.map +1 -1
- package/_cjs/errors/account.js +2 -12
- package/_cjs/errors/account.js.map +1 -1
- package/_cjs/errors/address.js +1 -6
- package/_cjs/errors/address.js.map +1 -1
- package/_cjs/errors/base.js +29 -18
- package/_cjs/errors/base.js.map +1 -1
- package/_cjs/errors/blob.js +4 -25
- package/_cjs/errors/blob.js.map +1 -1
- package/_cjs/errors/block.js +1 -7
- package/_cjs/errors/block.js.map +1 -1
- package/_cjs/errors/ccip.js +3 -18
- package/_cjs/errors/ccip.js.map +1 -1
- package/_cjs/errors/chain.js +7 -31
- package/_cjs/errors/chain.js.map +1 -1
- package/_cjs/errors/contract.js +6 -37
- package/_cjs/errors/contract.js.map +1 -1
- package/_cjs/errors/cursor.js +4 -20
- package/_cjs/errors/cursor.js.map +1 -1
- package/_cjs/errors/data.js +3 -21
- package/_cjs/errors/data.js.map +1 -1
- package/_cjs/errors/eip712.js +1 -6
- package/_cjs/errors/eip712.js.map +1 -1
- package/_cjs/errors/encoding.js +6 -34
- package/_cjs/errors/encoding.js.map +1 -1
- package/_cjs/errors/ens.js +5 -26
- package/_cjs/errors/ens.js.map +1 -1
- package/_cjs/errors/estimateGas.js +1 -6
- package/_cjs/errors/estimateGas.js.map +1 -1
- package/_cjs/errors/fee.js +5 -19
- package/_cjs/errors/fee.js.map +1 -1
- package/_cjs/errors/log.js +2 -6
- package/_cjs/errors/log.js.map +1 -1
- package/_cjs/errors/node.js +12 -75
- package/_cjs/errors/node.js.map +1 -1
- package/_cjs/errors/request.js +5 -30
- package/_cjs/errors/request.js.map +1 -1
- package/_cjs/errors/rpc.js +22 -122
- package/_cjs/errors/rpc.js.map +1 -1
- package/_cjs/errors/siwe.js +1 -7
- package/_cjs/errors/siwe.js.map +1 -1
- package/_cjs/errors/stateOverride.js +4 -12
- package/_cjs/errors/stateOverride.js.map +1 -1
- package/_cjs/errors/transaction.js +15 -63
- package/_cjs/errors/transaction.js.map +1 -1
- package/_cjs/errors/transport.js +1 -0
- package/_cjs/errors/transport.js.map +1 -1
- package/_cjs/errors/utils.js +1 -4
- package/_cjs/errors/utils.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/experimental/eip5792/decorators/eip5792.js +2 -2
- package/_cjs/experimental/eip5792/decorators/eip5792.js.map +1 -1
- package/_cjs/experimental/eip7702/actions/signAuthorization.js +41 -0
- package/_cjs/experimental/eip7702/actions/signAuthorization.js.map +1 -0
- package/_cjs/experimental/eip7702/decorators/eip7702.js +12 -0
- package/_cjs/experimental/eip7702/decorators/eip7702.js.map +1 -0
- package/_cjs/experimental/eip7702/types/authorization.js +3 -0
- package/_cjs/experimental/eip7702/types/authorization.js.map +1 -0
- package/_cjs/experimental/eip7702/types/rpc.js +3 -0
- package/_cjs/experimental/eip7702/types/rpc.js.map +1 -0
- package/_cjs/experimental/eip7702/utils/hashAuthorization.js +23 -0
- package/_cjs/experimental/eip7702/utils/hashAuthorization.js.map +1 -0
- package/_cjs/experimental/eip7702/utils/recoverAuthorizationAddress.js +13 -0
- package/_cjs/experimental/eip7702/utils/recoverAuthorizationAddress.js.map +1 -0
- package/_cjs/experimental/eip7702/utils/serializeAuthorizationList.js +21 -0
- package/_cjs/experimental/eip7702/utils/serializeAuthorizationList.js.map +1 -0
- package/_cjs/experimental/eip7702/utils/verifyAuthorization.js +13 -0
- package/_cjs/experimental/eip7702/utils/verifyAuthorization.js.map +1 -0
- package/_cjs/experimental/erc7715/decorators/erc7715.js +2 -2
- package/_cjs/experimental/erc7715/decorators/erc7715.js.map +1 -1
- package/_cjs/experimental/index.js +22 -8
- package/_cjs/experimental/index.js.map +1 -1
- package/_cjs/index.js +7 -6
- package/_cjs/index.js.map +1 -1
- package/_cjs/op-stack/errors/withdrawal.js +2 -14
- package/_cjs/op-stack/errors/withdrawal.js.map +1 -1
- package/_cjs/utils/formatters/transaction.js +19 -0
- package/_cjs/utils/formatters/transaction.js.map +1 -1
- package/_cjs/utils/formatters/transactionRequest.js +19 -0
- package/_cjs/utils/formatters/transactionRequest.js.map +1 -1
- package/_cjs/utils/transaction/assertTransaction.js +15 -3
- package/_cjs/utils/transaction/assertTransaction.js.map +1 -1
- package/_cjs/utils/transaction/getSerializedTransactionType.js +2 -0
- package/_cjs/utils/transaction/getSerializedTransactionType.js.map +1 -1
- package/_cjs/utils/transaction/getTransactionType.js +2 -0
- package/_cjs/utils/transaction/getTransactionType.js.map +1 -1
- package/_cjs/utils/transaction/parseTransaction.js +70 -0
- package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
- package/_cjs/utils/transaction/serializeTransaction.js +25 -0
- package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
- package/_cjs/zksync/chains.js +9 -7
- package/_cjs/zksync/chains.js.map +1 -1
- package/_cjs/zksync/errors/bytecode.js +3 -21
- package/_cjs/zksync/errors/bytecode.js.map +1 -1
- package/_cjs/zksync/errors/token-is-eth.js +1 -7
- package/_cjs/zksync/errors/token-is-eth.js.map +1 -1
- package/_cjs/zksync/errors/transaction.js +1 -7
- package/_cjs/zksync/errors/transaction.js.map +1 -1
- package/_cjs/zksync/index.js +9 -4
- package/_cjs/zksync/index.js.map +1 -1
- package/_cjs/zksync/utils/getEip712Domain.js +1 -1
- package/_cjs/zksync/utils/isEip712Transaction.js.map +1 -1
- package/_esm/account-abstraction/errors/bundler.js +36 -216
- package/_esm/account-abstraction/errors/bundler.js.map +1 -1
- package/_esm/account-abstraction/errors/userOperation.js +5 -26
- package/_esm/account-abstraction/errors/userOperation.js.map +1 -1
- package/_esm/accounts/index.js +1 -0
- package/_esm/accounts/index.js.map +1 -1
- package/_esm/accounts/privateKeyToAccount.js +4 -0
- package/_esm/accounts/privateKeyToAccount.js.map +1 -1
- package/_esm/accounts/toAccount.js +1 -0
- package/_esm/accounts/toAccount.js.map +1 -1
- package/_esm/accounts/utils/signAuthorization.js +22 -0
- package/_esm/accounts/utils/signAuthorization.js.map +1 -0
- package/_esm/actions/public/estimateGas.js +55 -10
- package/_esm/actions/public/estimateGas.js.map +1 -1
- package/_esm/actions/public/simulateContract.js.map +1 -1
- package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_esm/actions/wallet/sendTransaction.js +25 -3
- package/_esm/actions/wallet/sendTransaction.js.map +1 -1
- package/_esm/actions/wallet/writeContract.js.map +1 -1
- package/_esm/chains/definitions/abstractTestnet.js +23 -0
- package/_esm/chains/definitions/abstractTestnet.js.map +1 -0
- package/_esm/chains/definitions/b3Sepolia.js +25 -0
- package/_esm/chains/definitions/b3Sepolia.js.map +1 -0
- package/_esm/chains/definitions/{zkSync.js → zksync.js} +5 -4
- package/_esm/chains/definitions/{zkSync.js.map → zksync.js.map} +1 -1
- package/_esm/chains/definitions/{zkSyncInMemoryNode.js → zksyncInMemoryNode.js} +3 -3
- package/_esm/chains/definitions/{zkSyncInMemoryNode.js.map → zksyncInMemoryNode.js.map} +1 -1
- package/_esm/chains/definitions/{zkSyncLocalNode.js → zksyncLocalNode.js} +3 -3
- package/_esm/chains/definitions/{zkSyncLocalNode.js.map → zksyncLocalNode.js.map} +1 -1
- package/_esm/chains/definitions/{zkSyncSepoliaTestnet.js → zksyncSepoliaTestnet.js} +6 -4
- package/_esm/chains/definitions/{zkSyncSepoliaTestnet.js.map → zksyncSepoliaTestnet.js.map} +1 -1
- package/_esm/chains/index.js +14 -5
- package/_esm/chains/index.js.map +1 -1
- package/_esm/errors/abi.js +32 -163
- package/_esm/errors/abi.js.map +1 -1
- package/_esm/errors/account.js +2 -12
- package/_esm/errors/account.js.map +1 -1
- package/_esm/errors/address.js +1 -6
- package/_esm/errors/address.js.map +1 -1
- package/_esm/errors/base.js +27 -17
- package/_esm/errors/base.js.map +1 -1
- package/_esm/errors/blob.js +4 -25
- package/_esm/errors/blob.js.map +1 -1
- package/_esm/errors/block.js +1 -7
- package/_esm/errors/block.js.map +1 -1
- package/_esm/errors/ccip.js +3 -18
- package/_esm/errors/ccip.js.map +1 -1
- package/_esm/errors/chain.js +7 -31
- package/_esm/errors/chain.js.map +1 -1
- package/_esm/errors/contract.js +6 -37
- package/_esm/errors/contract.js.map +1 -1
- package/_esm/errors/cursor.js +4 -20
- package/_esm/errors/cursor.js.map +1 -1
- package/_esm/errors/data.js +3 -21
- package/_esm/errors/data.js.map +1 -1
- package/_esm/errors/eip712.js +1 -6
- package/_esm/errors/eip712.js.map +1 -1
- package/_esm/errors/encoding.js +6 -34
- package/_esm/errors/encoding.js.map +1 -1
- package/_esm/errors/ens.js +5 -26
- package/_esm/errors/ens.js.map +1 -1
- package/_esm/errors/estimateGas.js +1 -6
- package/_esm/errors/estimateGas.js.map +1 -1
- package/_esm/errors/fee.js +5 -19
- package/_esm/errors/fee.js.map +1 -1
- package/_esm/errors/log.js +2 -6
- package/_esm/errors/log.js.map +1 -1
- package/_esm/errors/node.js +12 -75
- package/_esm/errors/node.js.map +1 -1
- package/_esm/errors/request.js +5 -30
- package/_esm/errors/request.js.map +1 -1
- package/_esm/errors/rpc.js +22 -122
- package/_esm/errors/rpc.js.map +1 -1
- package/_esm/errors/siwe.js +1 -7
- package/_esm/errors/siwe.js.map +1 -1
- package/_esm/errors/stateOverride.js +4 -12
- package/_esm/errors/stateOverride.js.map +1 -1
- package/_esm/errors/transaction.js +15 -63
- package/_esm/errors/transaction.js.map +1 -1
- package/_esm/errors/transport.js +1 -0
- package/_esm/errors/transport.js.map +1 -1
- package/_esm/errors/utils.js +0 -2
- package/_esm/errors/utils.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/experimental/eip5792/decorators/eip5792.js +3 -3
- package/_esm/experimental/eip5792/decorators/eip5792.js.map +1 -1
- package/_esm/experimental/eip7702/actions/signAuthorization.js +80 -0
- package/_esm/experimental/eip7702/actions/signAuthorization.js.map +1 -0
- package/_esm/experimental/eip7702/decorators/eip7702.js +24 -0
- package/_esm/experimental/eip7702/decorators/eip7702.js.map +1 -0
- package/_esm/experimental/eip7702/types/authorization.js +2 -0
- package/_esm/experimental/eip7702/types/authorization.js.map +1 -0
- package/_esm/experimental/eip7702/types/rpc.js +2 -0
- package/_esm/experimental/eip7702/types/rpc.js.map +1 -0
- package/_esm/experimental/eip7702/utils/hashAuthorization.js +23 -0
- package/_esm/experimental/eip7702/utils/hashAuthorization.js.map +1 -0
- package/_esm/experimental/eip7702/utils/recoverAuthorizationAddress.js +10 -0
- package/_esm/experimental/eip7702/utils/recoverAuthorizationAddress.js.map +1 -0
- package/_esm/experimental/eip7702/utils/serializeAuthorizationList.js +21 -0
- package/_esm/experimental/eip7702/utils/serializeAuthorizationList.js.map +1 -0
- package/_esm/experimental/eip7702/utils/verifyAuthorization.js +18 -0
- package/_esm/experimental/eip7702/utils/verifyAuthorization.js.map +1 -0
- package/_esm/experimental/erc7715/decorators/erc7715.js +3 -3
- package/_esm/experimental/erc7715/decorators/erc7715.js.map +1 -1
- package/_esm/experimental/index.js +16 -4
- package/_esm/experimental/index.js.map +1 -1
- package/_esm/index.js +1 -1
- package/_esm/index.js.map +1 -1
- package/_esm/op-stack/errors/withdrawal.js +2 -14
- package/_esm/op-stack/errors/withdrawal.js.map +1 -1
- package/_esm/utils/formatters/transaction.js +20 -0
- package/_esm/utils/formatters/transaction.js.map +1 -1
- package/_esm/utils/formatters/transactionRequest.js +20 -0
- package/_esm/utils/formatters/transactionRequest.js.map +1 -1
- package/_esm/utils/transaction/assertTransaction.js +14 -3
- package/_esm/utils/transaction/assertTransaction.js.map +1 -1
- package/_esm/utils/transaction/getSerializedTransactionType.js +2 -0
- package/_esm/utils/transaction/getSerializedTransactionType.js.map +1 -1
- package/_esm/utils/transaction/getTransactionType.js +2 -0
- package/_esm/utils/transaction/getTransactionType.js.map +1 -1
- package/_esm/utils/transaction/parseTransaction.js +71 -1
- package/_esm/utils/transaction/parseTransaction.js.map +1 -1
- package/_esm/utils/transaction/serializeTransaction.js +26 -1
- package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
- package/_esm/zksync/actions/deployContract.js +1 -1
- package/_esm/zksync/actions/sendEip712Transaction.js +4 -4
- package/_esm/zksync/actions/sendTransaction.js +4 -4
- package/_esm/zksync/actions/signEip712Transaction.js +4 -4
- package/_esm/zksync/actions/signTransaction.js +4 -4
- package/_esm/zksync/chains.js +4 -3
- package/_esm/zksync/chains.js.map +1 -1
- package/_esm/zksync/errors/bytecode.js +3 -21
- package/_esm/zksync/errors/bytecode.js.map +1 -1
- package/_esm/zksync/errors/token-is-eth.js +1 -7
- package/_esm/zksync/errors/token-is-eth.js.map +1 -1
- package/_esm/zksync/errors/transaction.js +1 -7
- package/_esm/zksync/errors/transaction.js.map +1 -1
- package/_esm/zksync/index.js +9 -1
- package/_esm/zksync/index.js.map +1 -1
- package/_esm/zksync/utils/getEip712Domain.js +1 -1
- package/_esm/zksync/utils/isEip712Transaction.js.map +1 -1
- package/_types/account-abstraction/errors/bundler.d.ts +0 -36
- package/_types/account-abstraction/errors/bundler.d.ts.map +1 -1
- package/_types/account-abstraction/errors/userOperation.d.ts +0 -4
- package/_types/account-abstraction/errors/userOperation.d.ts.map +1 -1
- package/_types/accounts/index.d.ts +1 -0
- package/_types/accounts/index.d.ts.map +1 -1
- package/_types/accounts/privateKeyToAccount.d.ts.map +1 -1
- package/_types/accounts/toAccount.d.ts.map +1 -1
- package/_types/accounts/types.d.ts +7 -3
- package/_types/accounts/types.d.ts.map +1 -1
- package/_types/accounts/utils/signAuthorization.d.ts +20 -0
- package/_types/accounts/utils/signAuthorization.d.ts.map +1 -0
- package/_types/actions/public/estimateGas.d.ts +2 -1
- package/_types/actions/public/estimateGas.d.ts.map +1 -1
- package/_types/actions/public/simulateContract.d.ts +18 -6
- package/_types/actions/public/simulateContract.d.ts.map +1 -1
- package/_types/actions/wallet/prepareTransactionRequest.d.ts +2 -2
- package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
- package/_types/actions/wallet/sendTransaction.d.ts +2 -1
- package/_types/actions/wallet/sendTransaction.d.ts.map +1 -1
- package/_types/actions/wallet/writeContract.d.ts +3 -2
- package/_types/actions/wallet/writeContract.d.ts.map +1 -1
- package/_types/celo/chainConfig.d.ts +144 -20
- package/_types/celo/chainConfig.d.ts.map +1 -1
- package/_types/celo/formatters.d.ts +72 -10
- package/_types/celo/formatters.d.ts.map +1 -1
- package/_types/celo/serializers.d.ts +1 -1
- package/_types/celo/serializers.d.ts.map +1 -1
- package/_types/chains/definitions/{zkSyncTestnet.d.ts → abstractTestnet.d.ts} +81 -27
- package/_types/chains/definitions/{zkSyncLocalNode.d.ts.map → abstractTestnet.d.ts.map} +1 -1
- package/_types/chains/definitions/ancient8.d.ts +32 -0
- package/_types/chains/definitions/ancient8.d.ts.map +1 -1
- package/_types/chains/definitions/ancient8Sepolia.d.ts +32 -0
- package/_types/chains/definitions/ancient8Sepolia.d.ts.map +1 -1
- package/_types/chains/definitions/b3Sepolia.d.ts +35 -0
- package/_types/chains/definitions/b3Sepolia.d.ts.map +1 -0
- package/_types/chains/definitions/base.d.ts +32 -0
- package/_types/chains/definitions/base.d.ts.map +1 -1
- package/_types/chains/definitions/baseGoerli.d.ts +32 -0
- package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/baseSepolia.d.ts +32 -0
- package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/celo.d.ts +144 -20
- package/_types/chains/definitions/celo.d.ts.map +1 -1
- package/_types/chains/definitions/celoAlfajores.d.ts +144 -20
- package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
- package/_types/chains/definitions/dchain.d.ts +32 -0
- package/_types/chains/definitions/dchain.d.ts.map +1 -1
- package/_types/chains/definitions/dchainTestnet.d.ts +32 -0
- package/_types/chains/definitions/dchainTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/fraxtal.d.ts +32 -0
- package/_types/chains/definitions/fraxtal.d.ts.map +1 -1
- package/_types/chains/definitions/fraxtalTestnet.d.ts +32 -0
- package/_types/chains/definitions/fraxtalTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/funkiMainnet.d.ts +32 -0
- package/_types/chains/definitions/funkiMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/funkiSepolia.d.ts +32 -0
- package/_types/chains/definitions/funkiSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/lisk.d.ts +32 -0
- package/_types/chains/definitions/lisk.d.ts.map +1 -1
- package/_types/chains/definitions/liskSepolia.d.ts +32 -0
- package/_types/chains/definitions/liskSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/metalL2.d.ts +32 -0
- package/_types/chains/definitions/metalL2.d.ts.map +1 -1
- package/_types/chains/definitions/modeTestnet.d.ts +32 -0
- package/_types/chains/definitions/modeTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/optimism.d.ts +32 -0
- package/_types/chains/definitions/optimism.d.ts.map +1 -1
- package/_types/chains/definitions/optimismGoerli.d.ts +32 -0
- package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/optimismSepolia.d.ts +32 -0
- package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/pgn.d.ts +32 -0
- package/_types/chains/definitions/pgn.d.ts.map +1 -1
- package/_types/chains/definitions/pgnTestnet.d.ts +32 -0
- package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/playfiAlbireo.d.ts +64 -10
- package/_types/chains/definitions/playfiAlbireo.d.ts.map +1 -1
- package/_types/chains/definitions/rss3.d.ts +32 -0
- package/_types/chains/definitions/rss3.d.ts.map +1 -1
- package/_types/chains/definitions/rss3Sepolia.d.ts +32 -0
- package/_types/chains/definitions/rss3Sepolia.d.ts.map +1 -1
- package/_types/chains/definitions/{zkSync.d.ts → zksync.d.ts} +69 -14
- package/_types/chains/definitions/{zkSync.d.ts.map → zksync.d.ts.map} +1 -1
- package/_types/chains/definitions/{zkSyncInMemoryNode.d.ts → zksyncInMemoryNode.d.ts} +67 -13
- package/_types/chains/definitions/{zkSyncInMemoryNode.d.ts.map → zksyncInMemoryNode.d.ts.map} +1 -1
- package/_types/chains/definitions/{zkSyncLocalNode.d.ts → zksyncLocalNode.d.ts} +67 -13
- package/_types/chains/definitions/{zkSyncTestnet.d.ts.map → zksyncLocalNode.d.ts.map} +1 -1
- package/_types/chains/definitions/{zkSyncSepoliaTestnet.d.ts → zksyncSepoliaTestnet.d.ts} +70 -14
- package/_types/chains/definitions/{zkSyncSepoliaTestnet.d.ts.map → zksyncSepoliaTestnet.d.ts.map} +1 -1
- package/_types/chains/definitions/zora.d.ts +32 -0
- package/_types/chains/definitions/zora.d.ts.map +1 -1
- package/_types/chains/definitions/zoraSepolia.d.ts +32 -0
- package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/zoraTestnet.d.ts +32 -0
- package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
- package/_types/chains/index.d.ts +79 -10
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/errors/abi.d.ts +0 -26
- package/_types/errors/abi.d.ts.map +1 -1
- package/_types/errors/account.d.ts +0 -2
- package/_types/errors/account.d.ts.map +1 -1
- package/_types/errors/address.d.ts +0 -1
- package/_types/errors/address.d.ts.map +1 -1
- package/_types/errors/base.d.ts +7 -1
- package/_types/errors/base.d.ts.map +1 -1
- package/_types/errors/blob.d.ts +0 -4
- package/_types/errors/blob.d.ts.map +1 -1
- package/_types/errors/block.d.ts +0 -1
- package/_types/errors/block.d.ts.map +1 -1
- package/_types/errors/ccip.d.ts +0 -3
- package/_types/errors/ccip.d.ts.map +1 -1
- package/_types/errors/chain.d.ts +0 -5
- package/_types/errors/chain.d.ts.map +1 -1
- package/_types/errors/contract.d.ts +0 -6
- package/_types/errors/contract.d.ts.map +1 -1
- package/_types/errors/cursor.d.ts +0 -3
- package/_types/errors/cursor.d.ts.map +1 -1
- package/_types/errors/data.d.ts +0 -3
- package/_types/errors/data.d.ts.map +1 -1
- package/_types/errors/eip712.d.ts +0 -1
- package/_types/errors/eip712.d.ts.map +1 -1
- package/_types/errors/encoding.d.ts +0 -5
- package/_types/errors/encoding.d.ts.map +1 -1
- package/_types/errors/ens.d.ts +0 -4
- package/_types/errors/ens.d.ts.map +1 -1
- package/_types/errors/estimateGas.d.ts +0 -1
- package/_types/errors/estimateGas.d.ts.map +1 -1
- package/_types/errors/fee.d.ts +0 -3
- package/_types/errors/fee.d.ts.map +1 -1
- package/_types/errors/log.d.ts +0 -1
- package/_types/errors/log.d.ts.map +1 -1
- package/_types/errors/node.d.ts +0 -12
- package/_types/errors/node.d.ts.map +1 -1
- package/_types/errors/request.d.ts +0 -5
- package/_types/errors/request.d.ts.map +1 -1
- package/_types/errors/rpc.d.ts +2 -22
- package/_types/errors/rpc.d.ts.map +1 -1
- package/_types/errors/siwe.d.ts +0 -1
- package/_types/errors/siwe.d.ts.map +1 -1
- package/_types/errors/stateOverride.d.ts +0 -2
- package/_types/errors/stateOverride.d.ts.map +1 -1
- package/_types/errors/transaction.d.ts +0 -10
- package/_types/errors/transaction.d.ts.map +1 -1
- package/_types/errors/transport.d.ts.map +1 -1
- package/_types/errors/utils.d.ts +0 -1
- package/_types/errors/utils.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/experimental/eip5792/decorators/eip5792.d.ts +12 -12
- package/_types/experimental/eip5792/decorators/eip5792.d.ts.map +1 -1
- package/_types/experimental/eip7702/actions/signAuthorization.d.ts +59 -0
- package/_types/experimental/eip7702/actions/signAuthorization.d.ts.map +1 -0
- package/_types/experimental/eip7702/decorators/eip7702.d.ts +69 -0
- package/_types/experimental/eip7702/decorators/eip7702.d.ts.map +1 -0
- package/_types/experimental/eip7702/types/authorization.d.ts +24 -0
- package/_types/experimental/eip7702/types/authorization.d.ts.map +1 -0
- package/_types/experimental/eip7702/types/rpc.d.ts +12 -0
- package/_types/experimental/eip7702/types/rpc.d.ts.map +1 -0
- package/_types/experimental/eip7702/utils/hashAuthorization.d.ts +21 -0
- package/_types/experimental/eip7702/utils/hashAuthorization.d.ts.map +1 -0
- package/_types/experimental/eip7702/utils/recoverAuthorizationAddress.d.ts +26 -0
- package/_types/experimental/eip7702/utils/recoverAuthorizationAddress.d.ts.map +1 -0
- package/_types/experimental/eip7702/utils/serializeAuthorizationList.d.ts +6 -0
- package/_types/experimental/eip7702/utils/serializeAuthorizationList.d.ts.map +1 -0
- package/_types/experimental/eip7702/utils/verifyAuthorization.d.ts +21 -0
- package/_types/experimental/eip7702/utils/verifyAuthorization.d.ts.map +1 -0
- package/_types/experimental/erc7715/decorators/erc7715.d.ts +6 -6
- package/_types/experimental/erc7715/decorators/erc7715.d.ts.map +1 -1
- package/_types/experimental/index.d.ts +20 -4
- package/_types/experimental/index.d.ts.map +1 -1
- package/_types/index.d.ts +3 -3
- package/_types/index.d.ts.map +1 -1
- package/_types/op-stack/chainConfig.d.ts +32 -0
- package/_types/op-stack/chainConfig.d.ts.map +1 -1
- package/_types/op-stack/errors/withdrawal.d.ts +0 -2
- package/_types/op-stack/errors/withdrawal.d.ts.map +1 -1
- package/_types/op-stack/formatters.d.ts +32 -0
- package/_types/op-stack/formatters.d.ts.map +1 -1
- package/_types/op-stack/serializers.d.ts +1 -1
- package/_types/op-stack/serializers.d.ts.map +1 -1
- package/_types/types/rpc.d.ts +9 -4
- package/_types/types/rpc.d.ts.map +1 -1
- package/_types/types/transaction.d.ts +50 -36
- package/_types/types/transaction.d.ts.map +1 -1
- package/_types/types/utils.d.ts +0 -14
- package/_types/types/utils.d.ts.map +1 -1
- package/_types/utils/formatters/transaction.d.ts +2 -1
- package/_types/utils/formatters/transaction.d.ts.map +1 -1
- package/_types/utils/formatters/transactionRequest.d.ts +2 -1
- package/_types/utils/formatters/transactionRequest.d.ts.map +1 -1
- package/_types/utils/index.d.ts +1 -1
- package/_types/utils/index.d.ts.map +1 -1
- package/_types/utils/signature/hashMessage.d.ts +2 -2
- package/_types/utils/signature/hashMessage.d.ts.map +1 -1
- package/_types/utils/transaction/assertTransaction.d.ts +3 -1
- package/_types/utils/transaction/assertTransaction.d.ts.map +1 -1
- package/_types/utils/transaction/getSerializedTransactionType.d.ts +2 -2
- package/_types/utils/transaction/getSerializedTransactionType.d.ts.map +1 -1
- package/_types/utils/transaction/getTransactionType.d.ts +12 -5
- package/_types/utils/transaction/getTransactionType.d.ts.map +1 -1
- package/_types/utils/transaction/parseTransaction.d.ts +6 -4
- package/_types/utils/transaction/parseTransaction.d.ts.map +1 -1
- package/_types/utils/transaction/serializeTransaction.d.ts +4 -2
- package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -1
- package/_types/zksync/actions/deployContract.d.ts +1 -1
- package/_types/zksync/actions/estimateFee.d.ts +4 -4
- package/_types/zksync/actions/estimateGasL1ToL2.d.ts +2 -2
- package/_types/zksync/actions/getAllBalances.d.ts +2 -2
- package/_types/zksync/actions/getBaseTokenL1Address.d.ts +2 -2
- package/_types/zksync/actions/getBlockDetails.d.ts +5 -5
- package/_types/zksync/actions/getBridgehubContractAddress.d.ts +2 -2
- package/_types/zksync/actions/getDefaultBridgeAddresses.d.ts +2 -2
- package/_types/zksync/actions/getL1BatchBlockRange.d.ts +2 -2
- package/_types/zksync/actions/getL1BatchDetails.d.ts +5 -5
- package/_types/zksync/actions/getL1BatchNumber.d.ts +2 -2
- package/_types/zksync/actions/getL1ChainId.d.ts +2 -2
- package/_types/zksync/actions/getLogProof.d.ts +2 -2
- package/_types/zksync/actions/getMainContractAddress.d.ts +2 -2
- package/_types/zksync/actions/getRawBlockTransactions.d.ts +6 -6
- package/_types/zksync/actions/getTestnetPaymasterAddress.d.ts +2 -2
- package/_types/zksync/actions/getTransactionDetails.d.ts +4 -4
- package/_types/zksync/actions/sendEip712Transaction.d.ts +4 -4
- package/_types/zksync/actions/sendTransaction.d.ts +4 -4
- package/_types/zksync/actions/signEip712Transaction.d.ts +4 -4
- package/_types/zksync/actions/signTransaction.d.ts +4 -4
- package/_types/zksync/chainConfig.d.ts +65 -11
- package/_types/zksync/chainConfig.d.ts.map +1 -1
- package/_types/zksync/chains.d.ts +4 -3
- package/_types/zksync/chains.d.ts.map +1 -1
- package/_types/zksync/decorators/eip712.d.ts +13 -13
- package/_types/zksync/decorators/publicL2.d.ts +37 -37
- package/_types/zksync/errors/bytecode.d.ts +0 -3
- package/_types/zksync/errors/bytecode.d.ts.map +1 -1
- package/_types/zksync/errors/token-is-eth.d.ts +0 -1
- package/_types/zksync/errors/token-is-eth.d.ts.map +1 -1
- package/_types/zksync/errors/transaction.d.ts +0 -1
- package/_types/zksync/errors/transaction.d.ts.map +1 -1
- package/_types/zksync/formatters.d.ts +75 -21
- package/_types/zksync/formatters.d.ts.map +1 -1
- package/_types/zksync/index.d.ts +77 -7
- package/_types/zksync/index.d.ts.map +1 -1
- package/_types/zksync/serializers.d.ts +2 -2
- package/_types/zksync/serializers.d.ts.map +1 -1
- package/_types/zksync/types/block.d.ts +6 -6
- package/_types/zksync/types/chain.d.ts +2 -2
- package/_types/zksync/types/eip1193.d.ts +8 -8
- package/_types/zksync/types/eip712.d.ts +3 -3
- package/_types/zksync/types/fee.d.ts +2 -2
- package/_types/zksync/types/log.d.ts +4 -4
- package/_types/zksync/types/transaction.d.ts +31 -31
- package/_types/zksync/utils/assertEip712Request.d.ts +2 -2
- package/_types/zksync/utils/assertEip712Transaction.d.ts +2 -2
- package/_types/zksync/utils/getEip712Domain.d.ts +2 -2
- package/_types/zksync/utils/isEip712Transaction.d.ts +3 -3
- package/_types/zksync/utils/isEip712Transaction.d.ts.map +1 -1
- package/account-abstraction/errors/bundler.ts +36 -48
- package/account-abstraction/errors/userOperation.ts +6 -6
- package/accounts/index.ts +6 -0
- package/accounts/privateKeyToAccount.ts +4 -0
- package/accounts/toAccount.ts +1 -0
- package/accounts/types.ts +11 -3
- package/accounts/utils/signAuthorization.ts +63 -0
- package/actions/public/estimateGas.ts +74 -11
- package/actions/public/simulateContract.ts +48 -14
- package/actions/wallet/prepareTransactionRequest.ts +3 -1
- package/actions/wallet/sendTransaction.ts +33 -4
- package/actions/wallet/writeContract.ts +5 -3
- package/chains/definitions/abstractTestnet.ts +23 -0
- package/chains/definitions/b3Sepolia.ts +26 -0
- package/chains/definitions/{zkSync.ts → zksync.ts} +4 -3
- package/chains/definitions/{zkSyncInMemoryNode.ts → zksyncInMemoryNode.ts} +2 -2
- package/chains/definitions/{zkSyncLocalNode.ts → zksyncLocalNode.ts} +2 -2
- package/chains/definitions/{zkSyncSepoliaTestnet.ts → zksyncSepoliaTestnet.ts} +5 -3
- package/chains/index.ts +115 -34
- package/errors/abi.ts +37 -37
- package/errors/account.ts +2 -2
- package/errors/address.ts +1 -1
- package/errors/base.ts +41 -22
- package/errors/blob.ts +4 -5
- package/errors/block.ts +1 -2
- package/errors/ccip.ts +3 -3
- package/errors/chain.ts +9 -10
- package/errors/contract.ts +6 -10
- package/errors/cursor.ts +5 -4
- package/errors/data.ts +3 -3
- package/errors/eip712.ts +1 -1
- package/errors/encoding.ts +7 -5
- package/errors/ens.ts +6 -5
- package/errors/estimateGas.ts +1 -2
- package/errors/fee.ts +7 -5
- package/errors/log.ts +3 -2
- package/errors/node.ts +12 -17
- package/errors/request.ts +5 -10
- package/errors/rpc.ts +29 -26
- package/errors/siwe.ts +1 -2
- package/errors/stateOverride.ts +6 -4
- package/errors/transaction.ts +19 -19
- package/errors/transport.ts +1 -0
- package/errors/utils.ts +0 -3
- package/errors/version.ts +1 -1
- package/experimental/eip5792/decorators/eip5792.ts +13 -13
- package/experimental/eip7702/actions/signAuthorization.ts +136 -0
- package/experimental/eip7702/decorators/eip7702.ts +86 -0
- package/experimental/eip7702/types/authorization.ts +30 -0
- package/experimental/eip7702/types/rpc.ts +12 -0
- package/experimental/eip7702/utils/hashAuthorization.ts +60 -0
- package/experimental/eip7702/utils/recoverAuthorizationAddress.ts +61 -0
- package/experimental/eip7702/utils/serializeAuthorizationList.ts +33 -0
- package/experimental/eip7702/utils/verifyAuthorization.ts +52 -0
- package/experimental/erc7715/decorators/erc7715.ts +7 -7
- package/experimental/index.ts +72 -18
- package/index.ts +29 -4
- package/op-stack/errors/withdrawal.ts +2 -3
- package/package.json +1 -1
- package/types/rpc.ts +21 -1
- package/types/transaction.ts +103 -54
- package/types/utils.ts +0 -15
- package/utils/formatters/transaction.ts +32 -0
- package/utils/formatters/transactionRequest.ts +31 -0
- package/utils/index.ts +1 -1
- package/utils/signature/hashMessage.ts +2 -2
- package/utils/transaction/assertTransaction.ts +24 -12
- package/utils/transaction/getSerializedTransactionType.ts +7 -0
- package/utils/transaction/getTransactionType.ts +95 -60
- package/utils/transaction/parseTransaction.ts +127 -0
- package/utils/transaction/serializeTransaction.ts +66 -0
- package/zksync/actions/deployContract.ts +1 -1
- package/zksync/actions/estimateFee.ts +4 -4
- package/zksync/actions/estimateGasL1ToL2.ts +2 -2
- package/zksync/actions/getAllBalances.ts +2 -2
- package/zksync/actions/getBaseTokenL1Address.ts +2 -2
- package/zksync/actions/getBlockDetails.ts +6 -6
- package/zksync/actions/getBridgehubContractAddress.ts +2 -2
- package/zksync/actions/getDefaultBridgeAddresses.ts +2 -2
- package/zksync/actions/getL1BatchBlockRange.ts +2 -2
- package/zksync/actions/getL1BatchDetails.ts +6 -6
- package/zksync/actions/getL1BatchNumber.ts +2 -2
- package/zksync/actions/getL1ChainId.ts +2 -2
- package/zksync/actions/getLogProof.ts +2 -2
- package/zksync/actions/getMainContractAddress.ts +2 -2
- package/zksync/actions/getRawBlockTransactions.ts +6 -6
- package/zksync/actions/getTestnetPaymasterAddress.ts +2 -2
- package/zksync/actions/getTransactionDetails.ts +4 -4
- package/zksync/actions/sendEip712Transaction.ts +4 -4
- package/zksync/actions/sendTransaction.ts +4 -4
- package/zksync/actions/signEip712Transaction.ts +4 -4
- package/zksync/actions/signTransaction.ts +4 -4
- package/zksync/chains.ts +4 -3
- package/zksync/decorators/eip712.ts +13 -13
- package/zksync/decorators/publicL2.ts +37 -37
- package/zksync/errors/bytecode.ts +3 -3
- package/zksync/errors/token-is-eth.ts +1 -2
- package/zksync/errors/transaction.ts +1 -2
- package/zksync/formatters.ts +22 -22
- package/zksync/index.ts +111 -32
- package/zksync/serializers.ts +7 -7
- package/zksync/types/block.ts +9 -9
- package/zksync/types/chain.ts +5 -5
- package/zksync/types/eip1193.ts +8 -8
- package/zksync/types/eip712.ts +3 -3
- package/zksync/types/fee.ts +2 -2
- package/zksync/types/log.ts +4 -4
- package/zksync/types/transaction.ts +45 -45
- package/zksync/utils/assertEip712Request.ts +2 -2
- package/zksync/utils/assertEip712Transaction.ts +4 -4
- package/zksync/utils/getEip712Domain.ts +9 -9
- package/zksync/utils/isEip712Transaction.ts +8 -3
- package/_cjs/chains/definitions/zkSyncSepoliaTestnet.js.map +0 -1
- package/_cjs/chains/definitions/zkSyncTestnet.js +0 -31
- package/_cjs/chains/definitions/zkSyncTestnet.js.map +0 -1
- package/_esm/chains/definitions/zkSyncTestnet.js +0 -29
- package/_esm/chains/definitions/zkSyncTestnet.js.map +0 -1
- package/chains/definitions/zkSyncTestnet.ts +0 -29
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const
|
1
|
+
export declare const zksync: {
|
2
2
|
blockExplorers: {
|
3
3
|
readonly default: {
|
4
4
|
readonly name: "Etherscan";
|
@@ -6,8 +6,9 @@ export declare const zkSync: {
|
|
6
6
|
readonly apiUrl: "https://api-era.zksync.network/api";
|
7
7
|
};
|
8
8
|
readonly native: {
|
9
|
-
readonly name: "
|
9
|
+
readonly name: "ZKsync Explorer";
|
10
10
|
readonly url: "https://explorer.zksync.io/";
|
11
|
+
readonly apiUrl: "https://block-explorer-api.mainnet.zksync.io/api";
|
11
12
|
};
|
12
13
|
};
|
13
14
|
contracts: {
|
@@ -16,7 +17,7 @@ export declare const zkSync: {
|
|
16
17
|
};
|
17
18
|
};
|
18
19
|
id: 324;
|
19
|
-
name: "
|
20
|
+
name: "ZKsync Era";
|
20
21
|
nativeCurrency: {
|
21
22
|
readonly decimals: 18;
|
22
23
|
readonly name: "Ether";
|
@@ -87,6 +88,7 @@ export declare const zkSync: {
|
|
87
88
|
transactionIndex: number | null;
|
88
89
|
typeHex: import("../../index.js").Hex | null;
|
89
90
|
accessList?: undefined;
|
91
|
+
authorizationList?: undefined;
|
90
92
|
blobVersionedHashes?: undefined;
|
91
93
|
chainId?: number | undefined;
|
92
94
|
yParity?: undefined;
|
@@ -114,6 +116,7 @@ export declare const zkSync: {
|
|
114
116
|
value: bigint;
|
115
117
|
yParity: number;
|
116
118
|
accessList: import("../../index.js").AccessList;
|
119
|
+
authorizationList?: undefined;
|
117
120
|
blobVersionedHashes?: undefined;
|
118
121
|
chainId: number;
|
119
122
|
type: "eip2930";
|
@@ -140,6 +143,7 @@ export declare const zkSync: {
|
|
140
143
|
value: bigint;
|
141
144
|
yParity: number;
|
142
145
|
accessList: import("../../index.js").AccessList;
|
146
|
+
authorizationList?: undefined;
|
143
147
|
blobVersionedHashes?: undefined;
|
144
148
|
chainId: number;
|
145
149
|
type: "eip1559";
|
@@ -166,6 +170,7 @@ export declare const zkSync: {
|
|
166
170
|
value: bigint;
|
167
171
|
yParity: number;
|
168
172
|
accessList: import("../../index.js").AccessList;
|
173
|
+
authorizationList?: undefined;
|
169
174
|
blobVersionedHashes: readonly import("../../index.js").Hex[];
|
170
175
|
chainId: number;
|
171
176
|
type: "eip4844";
|
@@ -175,6 +180,33 @@ export declare const zkSync: {
|
|
175
180
|
maxPriorityFeePerGas: bigint;
|
176
181
|
l1BatchNumber: bigint | null;
|
177
182
|
l1BatchTxIndex: bigint | null;
|
183
|
+
} | {
|
184
|
+
blockHash: `0x${string}` | null;
|
185
|
+
blockNumber: bigint | null;
|
186
|
+
from: import("abitype").Address;
|
187
|
+
gas: bigint;
|
188
|
+
hash: import("../../index.js").Hash;
|
189
|
+
input: import("../../index.js").Hex;
|
190
|
+
nonce: number;
|
191
|
+
r: import("../../index.js").Hex;
|
192
|
+
s: import("../../index.js").Hex;
|
193
|
+
to: import("abitype").Address | null;
|
194
|
+
transactionIndex: number | null;
|
195
|
+
typeHex: import("../../index.js").Hex | null;
|
196
|
+
v: bigint;
|
197
|
+
value: bigint;
|
198
|
+
yParity: number;
|
199
|
+
accessList: import("../../index.js").AccessList;
|
200
|
+
authorizationList: import("../../experimental/index.js").SignedAuthorizationList;
|
201
|
+
blobVersionedHashes?: undefined;
|
202
|
+
chainId: number;
|
203
|
+
type: "eip7702";
|
204
|
+
gasPrice?: undefined;
|
205
|
+
maxFeePerBlobGas?: undefined;
|
206
|
+
maxFeePerGas: bigint;
|
207
|
+
maxPriorityFeePerGas: bigint;
|
208
|
+
l1BatchNumber: bigint | null;
|
209
|
+
l1BatchTxIndex: bigint | null;
|
178
210
|
} | {
|
179
211
|
blockHash: `0x${string}` | null;
|
180
212
|
blockNumber: bigint | null;
|
@@ -258,14 +290,15 @@ export declare const zkSync: {
|
|
258
290
|
gas?: `0x${string}` | undefined;
|
259
291
|
nonce?: `0x${string}` | undefined;
|
260
292
|
to?: import("abitype").Address | null | undefined;
|
261
|
-
value?: `0x${string}` | undefined;
|
262
|
-
accessList?: undefined;
|
263
|
-
blobs?: undefined;
|
264
293
|
type?: "0x0" | undefined;
|
294
|
+
value?: `0x${string}` | undefined;
|
265
295
|
gasPrice?: `0x${string}` | undefined;
|
266
296
|
maxFeePerBlobGas?: undefined;
|
267
297
|
maxFeePerGas?: undefined;
|
268
298
|
maxPriorityFeePerGas?: undefined;
|
299
|
+
blobs?: undefined;
|
300
|
+
accessList?: undefined;
|
301
|
+
authorizationList?: undefined;
|
269
302
|
blobVersionedHashes?: undefined;
|
270
303
|
kzg?: undefined;
|
271
304
|
sidecars?: undefined;
|
@@ -276,14 +309,15 @@ export declare const zkSync: {
|
|
276
309
|
gas?: `0x${string}` | undefined;
|
277
310
|
nonce?: `0x${string}` | undefined;
|
278
311
|
to?: import("abitype").Address | null | undefined;
|
279
|
-
value?: `0x${string}` | undefined;
|
280
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
281
|
-
blobs?: undefined;
|
282
312
|
type?: "0x1" | undefined;
|
313
|
+
value?: `0x${string}` | undefined;
|
283
314
|
gasPrice?: `0x${string}` | undefined;
|
284
315
|
maxFeePerBlobGas?: undefined;
|
285
316
|
maxFeePerGas?: undefined;
|
286
317
|
maxPriorityFeePerGas?: undefined;
|
318
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
319
|
+
blobs?: undefined;
|
320
|
+
authorizationList?: undefined;
|
287
321
|
blobVersionedHashes?: undefined;
|
288
322
|
kzg?: undefined;
|
289
323
|
sidecars?: undefined;
|
@@ -294,6 +328,7 @@ export declare const zkSync: {
|
|
294
328
|
gas?: `0x${string}` | undefined;
|
295
329
|
nonce?: `0x${string}` | undefined;
|
296
330
|
to?: import("abitype").Address | null | undefined;
|
331
|
+
type?: "0x2" | undefined;
|
297
332
|
value?: `0x${string}` | undefined;
|
298
333
|
gasPrice?: undefined;
|
299
334
|
maxFeePerBlobGas?: undefined;
|
@@ -301,28 +336,48 @@ export declare const zkSync: {
|
|
301
336
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
302
337
|
accessList?: import("../../index.js").AccessList | undefined;
|
303
338
|
blobs?: undefined;
|
304
|
-
|
339
|
+
authorizationList?: undefined;
|
305
340
|
blobVersionedHashes?: undefined;
|
306
341
|
kzg?: undefined;
|
307
342
|
sidecars?: undefined;
|
308
343
|
eip712Meta?: undefined;
|
309
344
|
} | {
|
345
|
+
type?: "0x3" | undefined;
|
310
346
|
data?: import("../../index.js").Hex | undefined;
|
311
347
|
from: import("abitype").Address;
|
312
348
|
gas?: `0x${string}` | undefined;
|
313
349
|
nonce?: `0x${string}` | undefined;
|
314
350
|
value?: `0x${string}` | undefined;
|
315
351
|
to: `0x${string}` | null;
|
352
|
+
gasPrice?: undefined;
|
353
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
354
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
355
|
+
maxFeePerBlobGas: `0x${string}`;
|
316
356
|
accessList?: import("../../index.js").AccessList | undefined;
|
317
357
|
blobs: readonly import("../../index.js").Hex[] | readonly import("../../index.js").ByteArray[];
|
318
358
|
blobVersionedHashes?: readonly import("../../index.js").Hex[] | undefined;
|
319
359
|
kzg?: import("../../index.js").Kzg | undefined;
|
320
360
|
sidecars?: readonly import("../../index.js").BlobSidecar<import("../../index.js").Hex>[] | undefined;
|
321
|
-
|
361
|
+
authorizationList?: undefined;
|
362
|
+
eip712Meta?: undefined;
|
363
|
+
} | {
|
364
|
+
type?: "0x4" | undefined;
|
322
365
|
gasPrice?: undefined;
|
366
|
+
maxFeePerBlobGas?: undefined;
|
323
367
|
maxFeePerGas?: `0x${string}` | undefined;
|
324
368
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
325
|
-
|
369
|
+
to?: import("abitype").Address | null | undefined;
|
370
|
+
data?: import("../../index.js").Hex | undefined;
|
371
|
+
from: import("abitype").Address;
|
372
|
+
gas?: `0x${string}` | undefined;
|
373
|
+
nonce?: `0x${string}` | undefined;
|
374
|
+
value?: `0x${string}` | undefined;
|
375
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
376
|
+
authorizationList?: import("../../experimental/index.js").RpcAuthorizationList | undefined;
|
377
|
+
blobs?: undefined;
|
378
|
+
blobVersionedHashes?: undefined;
|
379
|
+
kzg?: undefined;
|
380
|
+
sidecars?: undefined;
|
326
381
|
eip712Meta?: undefined;
|
327
382
|
} | {
|
328
383
|
data?: import("../../index.js").Hex | undefined;
|
@@ -330,13 +385,13 @@ export declare const zkSync: {
|
|
330
385
|
gas?: `0x${string}` | undefined;
|
331
386
|
nonce?: `0x${string}` | undefined;
|
332
387
|
to?: import("abitype").Address | null | undefined;
|
388
|
+
type: "0xff" | "0x71";
|
333
389
|
value?: `0x${string}` | undefined;
|
334
390
|
gasPrice?: undefined;
|
335
391
|
maxFeePerBlobGas?: undefined;
|
336
392
|
maxFeePerGas?: `0x${string}` | undefined;
|
337
393
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
338
394
|
eip712Meta: import("../index.js").ZkSyncEip712Meta;
|
339
|
-
type: "0x71" | "0xff";
|
340
395
|
}) & {
|
341
396
|
paymaster: never;
|
342
397
|
gasPerPubdata: never;
|
@@ -352,4 +407,4 @@ export declare const zkSync: {
|
|
352
407
|
};
|
353
408
|
readonly network: "zksync-era";
|
354
409
|
};
|
355
|
-
//# sourceMappingURL=
|
410
|
+
//# sourceMappingURL=zksync.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"
|
1
|
+
{"version":3,"file":"zksync.d.ts","sourceRoot":"","sources":["../../../chains/definitions/zksync.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCjB,CAAA"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const
|
1
|
+
export declare const zksyncInMemoryNode: {
|
2
2
|
blockExplorers?: {
|
3
3
|
[key: string]: {
|
4
4
|
name: string;
|
@@ -20,7 +20,7 @@ export declare const zkSyncInMemoryNode: {
|
|
20
20
|
multicall3?: import("../../index.js").ChainContract | undefined;
|
21
21
|
} | undefined;
|
22
22
|
id: 260;
|
23
|
-
name: "
|
23
|
+
name: "ZKsync InMemory Node";
|
24
24
|
nativeCurrency: {
|
25
25
|
readonly name: "Ether";
|
26
26
|
readonly symbol: "ETH";
|
@@ -90,6 +90,7 @@ export declare const zkSyncInMemoryNode: {
|
|
90
90
|
transactionIndex: number | null;
|
91
91
|
typeHex: import("../../index.js").Hex | null;
|
92
92
|
accessList?: undefined;
|
93
|
+
authorizationList?: undefined;
|
93
94
|
blobVersionedHashes?: undefined;
|
94
95
|
chainId?: number | undefined;
|
95
96
|
yParity?: undefined;
|
@@ -117,6 +118,7 @@ export declare const zkSyncInMemoryNode: {
|
|
117
118
|
value: bigint;
|
118
119
|
yParity: number;
|
119
120
|
accessList: import("../../index.js").AccessList;
|
121
|
+
authorizationList?: undefined;
|
120
122
|
blobVersionedHashes?: undefined;
|
121
123
|
chainId: number;
|
122
124
|
type: "eip2930";
|
@@ -143,6 +145,7 @@ export declare const zkSyncInMemoryNode: {
|
|
143
145
|
value: bigint;
|
144
146
|
yParity: number;
|
145
147
|
accessList: import("../../index.js").AccessList;
|
148
|
+
authorizationList?: undefined;
|
146
149
|
blobVersionedHashes?: undefined;
|
147
150
|
chainId: number;
|
148
151
|
type: "eip1559";
|
@@ -169,6 +172,7 @@ export declare const zkSyncInMemoryNode: {
|
|
169
172
|
value: bigint;
|
170
173
|
yParity: number;
|
171
174
|
accessList: import("../../index.js").AccessList;
|
175
|
+
authorizationList?: undefined;
|
172
176
|
blobVersionedHashes: readonly import("../../index.js").Hex[];
|
173
177
|
chainId: number;
|
174
178
|
type: "eip4844";
|
@@ -178,6 +182,33 @@ export declare const zkSyncInMemoryNode: {
|
|
178
182
|
maxPriorityFeePerGas: bigint;
|
179
183
|
l1BatchNumber: bigint | null;
|
180
184
|
l1BatchTxIndex: bigint | null;
|
185
|
+
} | {
|
186
|
+
blockHash: `0x${string}` | null;
|
187
|
+
blockNumber: bigint | null;
|
188
|
+
from: import("abitype").Address;
|
189
|
+
gas: bigint;
|
190
|
+
hash: import("../../index.js").Hash;
|
191
|
+
input: import("../../index.js").Hex;
|
192
|
+
nonce: number;
|
193
|
+
r: import("../../index.js").Hex;
|
194
|
+
s: import("../../index.js").Hex;
|
195
|
+
to: import("abitype").Address | null;
|
196
|
+
transactionIndex: number | null;
|
197
|
+
typeHex: import("../../index.js").Hex | null;
|
198
|
+
v: bigint;
|
199
|
+
value: bigint;
|
200
|
+
yParity: number;
|
201
|
+
accessList: import("../../index.js").AccessList;
|
202
|
+
authorizationList: import("../../experimental/index.js").SignedAuthorizationList;
|
203
|
+
blobVersionedHashes?: undefined;
|
204
|
+
chainId: number;
|
205
|
+
type: "eip7702";
|
206
|
+
gasPrice?: undefined;
|
207
|
+
maxFeePerBlobGas?: undefined;
|
208
|
+
maxFeePerGas: bigint;
|
209
|
+
maxPriorityFeePerGas: bigint;
|
210
|
+
l1BatchNumber: bigint | null;
|
211
|
+
l1BatchTxIndex: bigint | null;
|
181
212
|
} | {
|
182
213
|
blockHash: `0x${string}` | null;
|
183
214
|
blockNumber: bigint | null;
|
@@ -261,14 +292,15 @@ export declare const zkSyncInMemoryNode: {
|
|
261
292
|
gas?: `0x${string}` | undefined;
|
262
293
|
nonce?: `0x${string}` | undefined;
|
263
294
|
to?: import("abitype").Address | null | undefined;
|
264
|
-
value?: `0x${string}` | undefined;
|
265
|
-
accessList?: undefined;
|
266
|
-
blobs?: undefined;
|
267
295
|
type?: "0x0" | undefined;
|
296
|
+
value?: `0x${string}` | undefined;
|
268
297
|
gasPrice?: `0x${string}` | undefined;
|
269
298
|
maxFeePerBlobGas?: undefined;
|
270
299
|
maxFeePerGas?: undefined;
|
271
300
|
maxPriorityFeePerGas?: undefined;
|
301
|
+
blobs?: undefined;
|
302
|
+
accessList?: undefined;
|
303
|
+
authorizationList?: undefined;
|
272
304
|
blobVersionedHashes?: undefined;
|
273
305
|
kzg?: undefined;
|
274
306
|
sidecars?: undefined;
|
@@ -279,14 +311,15 @@ export declare const zkSyncInMemoryNode: {
|
|
279
311
|
gas?: `0x${string}` | undefined;
|
280
312
|
nonce?: `0x${string}` | undefined;
|
281
313
|
to?: import("abitype").Address | null | undefined;
|
282
|
-
value?: `0x${string}` | undefined;
|
283
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
284
|
-
blobs?: undefined;
|
285
314
|
type?: "0x1" | undefined;
|
315
|
+
value?: `0x${string}` | undefined;
|
286
316
|
gasPrice?: `0x${string}` | undefined;
|
287
317
|
maxFeePerBlobGas?: undefined;
|
288
318
|
maxFeePerGas?: undefined;
|
289
319
|
maxPriorityFeePerGas?: undefined;
|
320
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
321
|
+
blobs?: undefined;
|
322
|
+
authorizationList?: undefined;
|
290
323
|
blobVersionedHashes?: undefined;
|
291
324
|
kzg?: undefined;
|
292
325
|
sidecars?: undefined;
|
@@ -297,6 +330,7 @@ export declare const zkSyncInMemoryNode: {
|
|
297
330
|
gas?: `0x${string}` | undefined;
|
298
331
|
nonce?: `0x${string}` | undefined;
|
299
332
|
to?: import("abitype").Address | null | undefined;
|
333
|
+
type?: "0x2" | undefined;
|
300
334
|
value?: `0x${string}` | undefined;
|
301
335
|
gasPrice?: undefined;
|
302
336
|
maxFeePerBlobGas?: undefined;
|
@@ -304,28 +338,48 @@ export declare const zkSyncInMemoryNode: {
|
|
304
338
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
305
339
|
accessList?: import("../../index.js").AccessList | undefined;
|
306
340
|
blobs?: undefined;
|
307
|
-
|
341
|
+
authorizationList?: undefined;
|
308
342
|
blobVersionedHashes?: undefined;
|
309
343
|
kzg?: undefined;
|
310
344
|
sidecars?: undefined;
|
311
345
|
eip712Meta?: undefined;
|
312
346
|
} | {
|
347
|
+
type?: "0x3" | undefined;
|
313
348
|
data?: import("../../index.js").Hex | undefined;
|
314
349
|
from: import("abitype").Address;
|
315
350
|
gas?: `0x${string}` | undefined;
|
316
351
|
nonce?: `0x${string}` | undefined;
|
317
352
|
value?: `0x${string}` | undefined;
|
318
353
|
to: `0x${string}` | null;
|
354
|
+
gasPrice?: undefined;
|
355
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
356
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
357
|
+
maxFeePerBlobGas: `0x${string}`;
|
319
358
|
accessList?: import("../../index.js").AccessList | undefined;
|
320
359
|
blobs: readonly import("../../index.js").Hex[] | readonly import("../../index.js").ByteArray[];
|
321
360
|
blobVersionedHashes?: readonly import("../../index.js").Hex[] | undefined;
|
322
361
|
kzg?: import("../../index.js").Kzg | undefined;
|
323
362
|
sidecars?: readonly import("../../index.js").BlobSidecar<import("../../index.js").Hex>[] | undefined;
|
324
|
-
|
363
|
+
authorizationList?: undefined;
|
364
|
+
eip712Meta?: undefined;
|
365
|
+
} | {
|
366
|
+
type?: "0x4" | undefined;
|
325
367
|
gasPrice?: undefined;
|
368
|
+
maxFeePerBlobGas?: undefined;
|
326
369
|
maxFeePerGas?: `0x${string}` | undefined;
|
327
370
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
328
|
-
|
371
|
+
to?: import("abitype").Address | null | undefined;
|
372
|
+
data?: import("../../index.js").Hex | undefined;
|
373
|
+
from: import("abitype").Address;
|
374
|
+
gas?: `0x${string}` | undefined;
|
375
|
+
nonce?: `0x${string}` | undefined;
|
376
|
+
value?: `0x${string}` | undefined;
|
377
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
378
|
+
authorizationList?: import("../../experimental/index.js").RpcAuthorizationList | undefined;
|
379
|
+
blobs?: undefined;
|
380
|
+
blobVersionedHashes?: undefined;
|
381
|
+
kzg?: undefined;
|
382
|
+
sidecars?: undefined;
|
329
383
|
eip712Meta?: undefined;
|
330
384
|
} | {
|
331
385
|
data?: import("../../index.js").Hex | undefined;
|
@@ -333,13 +387,13 @@ export declare const zkSyncInMemoryNode: {
|
|
333
387
|
gas?: `0x${string}` | undefined;
|
334
388
|
nonce?: `0x${string}` | undefined;
|
335
389
|
to?: import("abitype").Address | null | undefined;
|
390
|
+
type: "0xff" | "0x71";
|
336
391
|
value?: `0x${string}` | undefined;
|
337
392
|
gasPrice?: undefined;
|
338
393
|
maxFeePerBlobGas?: undefined;
|
339
394
|
maxFeePerGas?: `0x${string}` | undefined;
|
340
395
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
341
396
|
eip712Meta: import("../index.js").ZkSyncEip712Meta;
|
342
|
-
type: "0x71" | "0xff";
|
343
397
|
}) & {
|
344
398
|
paymaster: never;
|
345
399
|
gasPerPubdata: never;
|
@@ -355,4 +409,4 @@ export declare const zkSyncInMemoryNode: {
|
|
355
409
|
};
|
356
410
|
readonly network: "zksync-in-memory-node";
|
357
411
|
};
|
358
|
-
//# sourceMappingURL=
|
412
|
+
//# sourceMappingURL=zksyncInMemoryNode.d.ts.map
|
package/_types/chains/definitions/{zkSyncInMemoryNode.d.ts.map → zksyncInMemoryNode.d.ts.map}
RENAMED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"
|
1
|
+
{"version":3,"file":"zksyncInMemoryNode.d.ts","sourceRoot":"","sources":["../../../chains/definitions/zksyncInMemoryNode.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAY7B,CAAA"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const
|
1
|
+
export declare const zksyncLocalNode: {
|
2
2
|
blockExplorers?: {
|
3
3
|
[key: string]: {
|
4
4
|
name: string;
|
@@ -20,7 +20,7 @@ export declare const zkSyncLocalNode: {
|
|
20
20
|
multicall3?: import("../../index.js").ChainContract | undefined;
|
21
21
|
} | undefined;
|
22
22
|
id: 270;
|
23
|
-
name: "
|
23
|
+
name: "ZKsync CLI Local Node";
|
24
24
|
nativeCurrency: {
|
25
25
|
readonly name: "Ether";
|
26
26
|
readonly symbol: "ETH";
|
@@ -90,6 +90,7 @@ export declare const zkSyncLocalNode: {
|
|
90
90
|
transactionIndex: number | null;
|
91
91
|
typeHex: import("../../index.js").Hex | null;
|
92
92
|
accessList?: undefined;
|
93
|
+
authorizationList?: undefined;
|
93
94
|
blobVersionedHashes?: undefined;
|
94
95
|
chainId?: number | undefined;
|
95
96
|
yParity?: undefined;
|
@@ -117,6 +118,7 @@ export declare const zkSyncLocalNode: {
|
|
117
118
|
value: bigint;
|
118
119
|
yParity: number;
|
119
120
|
accessList: import("../../index.js").AccessList;
|
121
|
+
authorizationList?: undefined;
|
120
122
|
blobVersionedHashes?: undefined;
|
121
123
|
chainId: number;
|
122
124
|
type: "eip2930";
|
@@ -143,6 +145,7 @@ export declare const zkSyncLocalNode: {
|
|
143
145
|
value: bigint;
|
144
146
|
yParity: number;
|
145
147
|
accessList: import("../../index.js").AccessList;
|
148
|
+
authorizationList?: undefined;
|
146
149
|
blobVersionedHashes?: undefined;
|
147
150
|
chainId: number;
|
148
151
|
type: "eip1559";
|
@@ -169,6 +172,7 @@ export declare const zkSyncLocalNode: {
|
|
169
172
|
value: bigint;
|
170
173
|
yParity: number;
|
171
174
|
accessList: import("../../index.js").AccessList;
|
175
|
+
authorizationList?: undefined;
|
172
176
|
blobVersionedHashes: readonly import("../../index.js").Hex[];
|
173
177
|
chainId: number;
|
174
178
|
type: "eip4844";
|
@@ -178,6 +182,33 @@ export declare const zkSyncLocalNode: {
|
|
178
182
|
maxPriorityFeePerGas: bigint;
|
179
183
|
l1BatchNumber: bigint | null;
|
180
184
|
l1BatchTxIndex: bigint | null;
|
185
|
+
} | {
|
186
|
+
blockHash: `0x${string}` | null;
|
187
|
+
blockNumber: bigint | null;
|
188
|
+
from: import("abitype").Address;
|
189
|
+
gas: bigint;
|
190
|
+
hash: import("../../index.js").Hash;
|
191
|
+
input: import("../../index.js").Hex;
|
192
|
+
nonce: number;
|
193
|
+
r: import("../../index.js").Hex;
|
194
|
+
s: import("../../index.js").Hex;
|
195
|
+
to: import("abitype").Address | null;
|
196
|
+
transactionIndex: number | null;
|
197
|
+
typeHex: import("../../index.js").Hex | null;
|
198
|
+
v: bigint;
|
199
|
+
value: bigint;
|
200
|
+
yParity: number;
|
201
|
+
accessList: import("../../index.js").AccessList;
|
202
|
+
authorizationList: import("../../experimental/index.js").SignedAuthorizationList;
|
203
|
+
blobVersionedHashes?: undefined;
|
204
|
+
chainId: number;
|
205
|
+
type: "eip7702";
|
206
|
+
gasPrice?: undefined;
|
207
|
+
maxFeePerBlobGas?: undefined;
|
208
|
+
maxFeePerGas: bigint;
|
209
|
+
maxPriorityFeePerGas: bigint;
|
210
|
+
l1BatchNumber: bigint | null;
|
211
|
+
l1BatchTxIndex: bigint | null;
|
181
212
|
} | {
|
182
213
|
blockHash: `0x${string}` | null;
|
183
214
|
blockNumber: bigint | null;
|
@@ -261,14 +292,15 @@ export declare const zkSyncLocalNode: {
|
|
261
292
|
gas?: `0x${string}` | undefined;
|
262
293
|
nonce?: `0x${string}` | undefined;
|
263
294
|
to?: import("abitype").Address | null | undefined;
|
264
|
-
value?: `0x${string}` | undefined;
|
265
|
-
accessList?: undefined;
|
266
|
-
blobs?: undefined;
|
267
295
|
type?: "0x0" | undefined;
|
296
|
+
value?: `0x${string}` | undefined;
|
268
297
|
gasPrice?: `0x${string}` | undefined;
|
269
298
|
maxFeePerBlobGas?: undefined;
|
270
299
|
maxFeePerGas?: undefined;
|
271
300
|
maxPriorityFeePerGas?: undefined;
|
301
|
+
blobs?: undefined;
|
302
|
+
accessList?: undefined;
|
303
|
+
authorizationList?: undefined;
|
272
304
|
blobVersionedHashes?: undefined;
|
273
305
|
kzg?: undefined;
|
274
306
|
sidecars?: undefined;
|
@@ -279,14 +311,15 @@ export declare const zkSyncLocalNode: {
|
|
279
311
|
gas?: `0x${string}` | undefined;
|
280
312
|
nonce?: `0x${string}` | undefined;
|
281
313
|
to?: import("abitype").Address | null | undefined;
|
282
|
-
value?: `0x${string}` | undefined;
|
283
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
284
|
-
blobs?: undefined;
|
285
314
|
type?: "0x1" | undefined;
|
315
|
+
value?: `0x${string}` | undefined;
|
286
316
|
gasPrice?: `0x${string}` | undefined;
|
287
317
|
maxFeePerBlobGas?: undefined;
|
288
318
|
maxFeePerGas?: undefined;
|
289
319
|
maxPriorityFeePerGas?: undefined;
|
320
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
321
|
+
blobs?: undefined;
|
322
|
+
authorizationList?: undefined;
|
290
323
|
blobVersionedHashes?: undefined;
|
291
324
|
kzg?: undefined;
|
292
325
|
sidecars?: undefined;
|
@@ -297,6 +330,7 @@ export declare const zkSyncLocalNode: {
|
|
297
330
|
gas?: `0x${string}` | undefined;
|
298
331
|
nonce?: `0x${string}` | undefined;
|
299
332
|
to?: import("abitype").Address | null | undefined;
|
333
|
+
type?: "0x2" | undefined;
|
300
334
|
value?: `0x${string}` | undefined;
|
301
335
|
gasPrice?: undefined;
|
302
336
|
maxFeePerBlobGas?: undefined;
|
@@ -304,28 +338,48 @@ export declare const zkSyncLocalNode: {
|
|
304
338
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
305
339
|
accessList?: import("../../index.js").AccessList | undefined;
|
306
340
|
blobs?: undefined;
|
307
|
-
|
341
|
+
authorizationList?: undefined;
|
308
342
|
blobVersionedHashes?: undefined;
|
309
343
|
kzg?: undefined;
|
310
344
|
sidecars?: undefined;
|
311
345
|
eip712Meta?: undefined;
|
312
346
|
} | {
|
347
|
+
type?: "0x3" | undefined;
|
313
348
|
data?: import("../../index.js").Hex | undefined;
|
314
349
|
from: import("abitype").Address;
|
315
350
|
gas?: `0x${string}` | undefined;
|
316
351
|
nonce?: `0x${string}` | undefined;
|
317
352
|
value?: `0x${string}` | undefined;
|
318
353
|
to: `0x${string}` | null;
|
354
|
+
gasPrice?: undefined;
|
355
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
356
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
357
|
+
maxFeePerBlobGas: `0x${string}`;
|
319
358
|
accessList?: import("../../index.js").AccessList | undefined;
|
320
359
|
blobs: readonly import("../../index.js").Hex[] | readonly import("../../index.js").ByteArray[];
|
321
360
|
blobVersionedHashes?: readonly import("../../index.js").Hex[] | undefined;
|
322
361
|
kzg?: import("../../index.js").Kzg | undefined;
|
323
362
|
sidecars?: readonly import("../../index.js").BlobSidecar<import("../../index.js").Hex>[] | undefined;
|
324
|
-
|
363
|
+
authorizationList?: undefined;
|
364
|
+
eip712Meta?: undefined;
|
365
|
+
} | {
|
366
|
+
type?: "0x4" | undefined;
|
325
367
|
gasPrice?: undefined;
|
368
|
+
maxFeePerBlobGas?: undefined;
|
326
369
|
maxFeePerGas?: `0x${string}` | undefined;
|
327
370
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
328
|
-
|
371
|
+
to?: import("abitype").Address | null | undefined;
|
372
|
+
data?: import("../../index.js").Hex | undefined;
|
373
|
+
from: import("abitype").Address;
|
374
|
+
gas?: `0x${string}` | undefined;
|
375
|
+
nonce?: `0x${string}` | undefined;
|
376
|
+
value?: `0x${string}` | undefined;
|
377
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
378
|
+
authorizationList?: import("../../experimental/index.js").RpcAuthorizationList | undefined;
|
379
|
+
blobs?: undefined;
|
380
|
+
blobVersionedHashes?: undefined;
|
381
|
+
kzg?: undefined;
|
382
|
+
sidecars?: undefined;
|
329
383
|
eip712Meta?: undefined;
|
330
384
|
} | {
|
331
385
|
data?: import("../../index.js").Hex | undefined;
|
@@ -333,13 +387,13 @@ export declare const zkSyncLocalNode: {
|
|
333
387
|
gas?: `0x${string}` | undefined;
|
334
388
|
nonce?: `0x${string}` | undefined;
|
335
389
|
to?: import("abitype").Address | null | undefined;
|
390
|
+
type: "0xff" | "0x71";
|
336
391
|
value?: `0x${string}` | undefined;
|
337
392
|
gasPrice?: undefined;
|
338
393
|
maxFeePerBlobGas?: undefined;
|
339
394
|
maxFeePerGas?: `0x${string}` | undefined;
|
340
395
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
341
396
|
eip712Meta: import("../index.js").ZkSyncEip712Meta;
|
342
|
-
type: "0x71" | "0xff";
|
343
397
|
}) & {
|
344
398
|
paymaster: never;
|
345
399
|
gasPerPubdata: never;
|
@@ -355,4 +409,4 @@ export declare const zkSyncLocalNode: {
|
|
355
409
|
};
|
356
410
|
readonly network: "zksync-cli-local-node";
|
357
411
|
};
|
358
|
-
//# sourceMappingURL=
|
412
|
+
//# sourceMappingURL=zksyncLocalNode.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"
|
1
|
+
{"version":3,"file":"zksyncLocalNode.d.ts","sourceRoot":"","sources":["../../../chains/definitions/zksyncLocalNode.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAY1B,CAAA"}
|