import { MAX_ENQUEUED_CALLS_PER_TX } from '@aztec/constants'; import { Fr } from '@aztec/foundation/curves/bn254'; import { BufferReader, FieldReader, type Tuple } from '@aztec/foundation/serialize'; import { inspect } from 'util'; import { z } from 'zod'; import { AztecAddress } from '../aztec-address/index.js'; import { Gas, GasFees, GasSettings } from '../gas/index.js'; import { PrivateToAvmAccumulatedData, PrivateToAvmAccumulatedDataArrayLengths } from '../kernel/private_to_avm_accumulated_data.js'; import { PublicCallRequest, PublicCallRequestArrayLengths } from '../kernel/public_call_request.js'; import { GlobalVariables } from '../tx/global_variables.js'; import { ProtocolContracts } from '../tx/protocol_contracts.js'; import { TreeSnapshots } from '../tx/tree_snapshots.js'; import { AvmAccumulatedData, AvmAccumulatedDataArrayLengths } from './avm_accumulated_data.js'; export declare class AvmCircuitPublicInputs { globalVariables: GlobalVariables; protocolContracts: ProtocolContracts; startTreeSnapshots: TreeSnapshots; startGasUsed: Gas; gasSettings: GasSettings; effectiveGasFees: GasFees; feePayer: AztecAddress; proverId: Fr; publicCallRequestArrayLengths: PublicCallRequestArrayLengths; publicSetupCallRequests: Tuple; publicAppLogicCallRequests: Tuple; publicTeardownCallRequest: PublicCallRequest; previousNonRevertibleAccumulatedDataArrayLengths: PrivateToAvmAccumulatedDataArrayLengths; previousRevertibleAccumulatedDataArrayLengths: PrivateToAvmAccumulatedDataArrayLengths; previousNonRevertibleAccumulatedData: PrivateToAvmAccumulatedData; previousRevertibleAccumulatedData: PrivateToAvmAccumulatedData; endTreeSnapshots: TreeSnapshots; endGasUsed: Gas; accumulatedDataArrayLengths: AvmAccumulatedDataArrayLengths; accumulatedData: AvmAccumulatedData; transactionFee: Fr; reverted: boolean; constructor(globalVariables: GlobalVariables, protocolContracts: ProtocolContracts, startTreeSnapshots: TreeSnapshots, startGasUsed: Gas, gasSettings: GasSettings, effectiveGasFees: GasFees, feePayer: AztecAddress, proverId: Fr, publicCallRequestArrayLengths: PublicCallRequestArrayLengths, publicSetupCallRequests: Tuple, publicAppLogicCallRequests: Tuple, publicTeardownCallRequest: PublicCallRequest, previousNonRevertibleAccumulatedDataArrayLengths: PrivateToAvmAccumulatedDataArrayLengths, previousRevertibleAccumulatedDataArrayLengths: PrivateToAvmAccumulatedDataArrayLengths, previousNonRevertibleAccumulatedData: PrivateToAvmAccumulatedData, previousRevertibleAccumulatedData: PrivateToAvmAccumulatedData, endTreeSnapshots: TreeSnapshots, endGasUsed: Gas, accumulatedDataArrayLengths: AvmAccumulatedDataArrayLengths, accumulatedData: AvmAccumulatedData, transactionFee: Fr, reverted: boolean); static get schema(): z.ZodEffects; version: import("@aztec/foundation/schemas").ZodFor; blockNumber: z.ZodEffects, z.ZodNumber>, import("@aztec/foundation/branded-types").BlockNumber, string | number | bigint>; slotNumber: import("@aztec/foundation/schemas").ZodFor; timestamp: z.ZodPipeline, z.ZodBigInt>; coinbase: import("@aztec/foundation/schemas").ZodFor; feeRecipient: import("@aztec/foundation/schemas").ZodFor; gasFees: z.ZodEffects, z.ZodBigInt>; feePerL2Gas: z.ZodPipeline, z.ZodBigInt>; }, "strip", z.ZodTypeAny, { feePerDaGas: bigint; feePerL2Gas: bigint; }, { feePerDaGas: string | number | bigint; feePerL2Gas: string | number | bigint; }>, GasFees, { feePerDaGas: string | number | bigint; feePerL2Gas: string | number | bigint; }>; }, "strip", z.ZodTypeAny, { chainId: Fr; version: Fr; blockNumber: number & { _branding: "BlockNumber"; }; slotNumber: number & { _branding: "SlotNumber"; }; timestamp: bigint; coinbase: import("@aztec/foundation/eth-address").EthAddress; feeRecipient: AztecAddress; gasFees: GasFees; }, { chainId?: any; version?: any; blockNumber: string | number | bigint; slotNumber?: any; timestamp: string | number | bigint; coinbase?: any; feeRecipient?: any; gasFees: { feePerDaGas: string | number | bigint; feePerL2Gas: string | number | bigint; }; }>, GlobalVariables, { chainId?: any; version?: any; blockNumber: string | number | bigint; slotNumber?: any; timestamp: string | number | bigint; coinbase?: any; feeRecipient?: any; gasFees: { feePerDaGas: string | number | bigint; feePerL2Gas: string | number | bigint; }; }>; protocolContracts: z.ZodEffects, "many">; }, "strip", z.ZodTypeAny, { derivedAddresses: AztecAddress[]; }, { derivedAddresses: any[]; }>, ProtocolContracts, { derivedAddresses: any[]; }>; startTreeSnapshots: z.ZodEffects; nextAvailableLeafIndex: z.ZodPipeline, z.ZodNumber>; }, "strip", z.ZodTypeAny, { root: Fr; nextAvailableLeafIndex: number; }, { root: string; nextAvailableLeafIndex: string | number | bigint; }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, { root: string; nextAvailableLeafIndex: string | number | bigint; }>; noteHashTree: z.ZodEffects; nextAvailableLeafIndex: z.ZodPipeline, z.ZodNumber>; }, "strip", z.ZodTypeAny, { root: Fr; nextAvailableLeafIndex: number; }, { root: string; nextAvailableLeafIndex: string | number | bigint; }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, { root: string; nextAvailableLeafIndex: string | number | bigint; }>; nullifierTree: z.ZodEffects; nextAvailableLeafIndex: z.ZodPipeline, z.ZodNumber>; }, "strip", z.ZodTypeAny, { root: Fr; nextAvailableLeafIndex: number; }, { root: string; nextAvailableLeafIndex: string | number | bigint; }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, { root: string; nextAvailableLeafIndex: string | number | bigint; }>; publicDataTree: z.ZodEffects; nextAvailableLeafIndex: z.ZodPipeline, z.ZodNumber>; }, "strip", z.ZodTypeAny, { root: Fr; nextAvailableLeafIndex: number; }, { root: string; nextAvailableLeafIndex: string | number | bigint; }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, { root: string; nextAvailableLeafIndex: string | number | bigint; }>; }, "strip", z.ZodTypeAny, { l1ToL2MessageTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot; noteHashTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot; nullifierTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot; publicDataTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot; }, { l1ToL2MessageTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; noteHashTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; nullifierTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; publicDataTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; }>, TreeSnapshots, { l1ToL2MessageTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; noteHashTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; nullifierTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; publicDataTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; }>; startGasUsed: z.ZodEffects, z.ZodNumber>; l2Gas: z.ZodPipeline, z.ZodNumber>; }, "strip", z.ZodTypeAny, { daGas: number; l2Gas: number; }, { daGas: string | number | bigint; l2Gas: string | number | bigint; }>, Gas, { daGas: string | number | bigint; l2Gas: string | number | bigint; }>; gasSettings: z.ZodEffects, z.ZodNumber>; l2Gas: z.ZodPipeline, z.ZodNumber>; }, "strip", z.ZodTypeAny, { daGas: number; l2Gas: number; }, { daGas: string | number | bigint; l2Gas: string | number | bigint; }>, Gas, { daGas: string | number | bigint; l2Gas: string | number | bigint; }>; teardownGasLimits: z.ZodEffects, z.ZodNumber>; l2Gas: z.ZodPipeline, z.ZodNumber>; }, "strip", z.ZodTypeAny, { daGas: number; l2Gas: number; }, { daGas: string | number | bigint; l2Gas: string | number | bigint; }>, Gas, { daGas: string | number | bigint; l2Gas: string | number | bigint; }>; maxFeesPerGas: z.ZodEffects, z.ZodBigInt>; feePerL2Gas: z.ZodPipeline, z.ZodBigInt>; }, "strip", z.ZodTypeAny, { feePerDaGas: bigint; feePerL2Gas: bigint; }, { feePerDaGas: string | number | bigint; feePerL2Gas: string | number | bigint; }>, GasFees, { feePerDaGas: string | number | bigint; feePerL2Gas: string | number | bigint; }>; maxPriorityFeesPerGas: z.ZodEffects, z.ZodBigInt>; feePerL2Gas: z.ZodPipeline, z.ZodBigInt>; }, "strip", z.ZodTypeAny, { feePerDaGas: bigint; feePerL2Gas: bigint; }, { feePerDaGas: string | number | bigint; feePerL2Gas: string | number | bigint; }>, GasFees, { feePerDaGas: string | number | bigint; feePerL2Gas: string | number | bigint; }>; }, "strip", z.ZodTypeAny, { gasLimits: Gas; teardownGasLimits: Gas; maxFeesPerGas: GasFees; maxPriorityFeesPerGas: GasFees; }, { gasLimits: { daGas: string | number | bigint; l2Gas: string | number | bigint; }; teardownGasLimits: { daGas: string | number | bigint; l2Gas: string | number | bigint; }; maxFeesPerGas: { feePerDaGas: string | number | bigint; feePerL2Gas: string | number | bigint; }; maxPriorityFeesPerGas: { feePerDaGas: string | number | bigint; feePerL2Gas: string | number | bigint; }; }>, GasSettings, { gasLimits: { daGas: string | number | bigint; l2Gas: string | number | bigint; }; teardownGasLimits: { daGas: string | number | bigint; l2Gas: string | number | bigint; }; maxFeesPerGas: { feePerDaGas: string | number | bigint; feePerL2Gas: string | number | bigint; }; maxPriorityFeesPerGas: { feePerDaGas: string | number | bigint; feePerL2Gas: string | number | bigint; }; }>; effectiveGasFees: z.ZodEffects, z.ZodBigInt>; feePerL2Gas: z.ZodPipeline, z.ZodBigInt>; }, "strip", z.ZodTypeAny, { feePerDaGas: bigint; feePerL2Gas: bigint; }, { feePerDaGas: string | number | bigint; feePerL2Gas: string | number | bigint; }>, GasFees, { feePerDaGas: string | number | bigint; feePerL2Gas: string | number | bigint; }>; feePayer: import("@aztec/foundation/schemas").ZodFor; proverId: z.ZodType; publicCallRequestArrayLengths: z.ZodEffects, PublicCallRequestArrayLengths, { setupCalls: number; appLogicCalls: number; teardownCall: boolean; }>; publicSetupCallRequests: z.ZodArray; contractAddress: import("@aztec/foundation/schemas").ZodFor; isStaticCall: z.ZodBoolean; calldataHash: z.ZodType; }, "strip", z.ZodTypeAny, { msgSender: AztecAddress; contractAddress: AztecAddress; isStaticCall: boolean; calldataHash: Fr; }, { msgSender?: any; contractAddress?: any; isStaticCall: boolean; calldataHash: string; }>, PublicCallRequest, { msgSender?: any; contractAddress?: any; isStaticCall: boolean; calldataHash: string; }>, "many">; publicAppLogicCallRequests: z.ZodArray; contractAddress: import("@aztec/foundation/schemas").ZodFor; isStaticCall: z.ZodBoolean; calldataHash: z.ZodType; }, "strip", z.ZodTypeAny, { msgSender: AztecAddress; contractAddress: AztecAddress; isStaticCall: boolean; calldataHash: Fr; }, { msgSender?: any; contractAddress?: any; isStaticCall: boolean; calldataHash: string; }>, PublicCallRequest, { msgSender?: any; contractAddress?: any; isStaticCall: boolean; calldataHash: string; }>, "many">; publicTeardownCallRequest: z.ZodEffects; contractAddress: import("@aztec/foundation/schemas").ZodFor; isStaticCall: z.ZodBoolean; calldataHash: z.ZodType; }, "strip", z.ZodTypeAny, { msgSender: AztecAddress; contractAddress: AztecAddress; isStaticCall: boolean; calldataHash: Fr; }, { msgSender?: any; contractAddress?: any; isStaticCall: boolean; calldataHash: string; }>, PublicCallRequest, { msgSender?: any; contractAddress?: any; isStaticCall: boolean; calldataHash: string; }>; previousNonRevertibleAccumulatedDataArrayLengths: z.ZodEffects, z.ZodNumber>; nullifiers: z.ZodPipeline, z.ZodNumber>; l2ToL1Msgs: z.ZodPipeline, z.ZodNumber>; }, "strip", z.ZodTypeAny, { noteHashes: number; nullifiers: number; l2ToL1Msgs: number; }, { noteHashes: string | number | bigint; nullifiers: string | number | bigint; l2ToL1Msgs: string | number | bigint; }>, PrivateToAvmAccumulatedDataArrayLengths, { noteHashes: string | number | bigint; nullifiers: string | number | bigint; l2ToL1Msgs: string | number | bigint; }>; previousRevertibleAccumulatedDataArrayLengths: z.ZodEffects, z.ZodNumber>; nullifiers: z.ZodPipeline, z.ZodNumber>; l2ToL1Msgs: z.ZodPipeline, z.ZodNumber>; }, "strip", z.ZodTypeAny, { noteHashes: number; nullifiers: number; l2ToL1Msgs: number; }, { noteHashes: string | number | bigint; nullifiers: string | number | bigint; l2ToL1Msgs: string | number | bigint; }>, PrivateToAvmAccumulatedDataArrayLengths, { noteHashes: string | number | bigint; nullifiers: string | number | bigint; l2ToL1Msgs: string | number | bigint; }>; previousNonRevertibleAccumulatedData: z.ZodEffects, "many">; nullifiers: z.ZodArray, "many">; l2ToL1Msgs: z.ZodArray; content: z.ZodType; }, "strip", z.ZodTypeAny, { recipient: import("@aztec/foundation/eth-address").EthAddress; content: Fr; }, { recipient: string; content: string; }>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, { recipient: string; content: string; }>; contractAddress: import("@aztec/foundation/schemas").ZodFor; }, "strip", z.ZodTypeAny, { message: import("../messaging/l2_to_l1_message.js").L2ToL1Message; contractAddress: AztecAddress; }, { message: { recipient: string; content: string; }; contractAddress?: any; }>, import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, { message: { recipient: string; content: string; }; contractAddress?: any; }>, "many">; }, "strip", z.ZodTypeAny, { noteHashes: Fr[]; nullifiers: Fr[]; l2ToL1Msgs: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[]; }, { noteHashes: string[]; nullifiers: string[]; l2ToL1Msgs: { message: { recipient: string; content: string; }; contractAddress?: any; }[]; }>, PrivateToAvmAccumulatedData, { noteHashes: string[]; nullifiers: string[]; l2ToL1Msgs: { message: { recipient: string; content: string; }; contractAddress?: any; }[]; }>; previousRevertibleAccumulatedData: z.ZodEffects, "many">; nullifiers: z.ZodArray, "many">; l2ToL1Msgs: z.ZodArray; content: z.ZodType; }, "strip", z.ZodTypeAny, { recipient: import("@aztec/foundation/eth-address").EthAddress; content: Fr; }, { recipient: string; content: string; }>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, { recipient: string; content: string; }>; contractAddress: import("@aztec/foundation/schemas").ZodFor; }, "strip", z.ZodTypeAny, { message: import("../messaging/l2_to_l1_message.js").L2ToL1Message; contractAddress: AztecAddress; }, { message: { recipient: string; content: string; }; contractAddress?: any; }>, import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, { message: { recipient: string; content: string; }; contractAddress?: any; }>, "many">; }, "strip", z.ZodTypeAny, { noteHashes: Fr[]; nullifiers: Fr[]; l2ToL1Msgs: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[]; }, { noteHashes: string[]; nullifiers: string[]; l2ToL1Msgs: { message: { recipient: string; content: string; }; contractAddress?: any; }[]; }>, PrivateToAvmAccumulatedData, { noteHashes: string[]; nullifiers: string[]; l2ToL1Msgs: { message: { recipient: string; content: string; }; contractAddress?: any; }[]; }>; endTreeSnapshots: z.ZodEffects; nextAvailableLeafIndex: z.ZodPipeline, z.ZodNumber>; }, "strip", z.ZodTypeAny, { root: Fr; nextAvailableLeafIndex: number; }, { root: string; nextAvailableLeafIndex: string | number | bigint; }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, { root: string; nextAvailableLeafIndex: string | number | bigint; }>; noteHashTree: z.ZodEffects; nextAvailableLeafIndex: z.ZodPipeline, z.ZodNumber>; }, "strip", z.ZodTypeAny, { root: Fr; nextAvailableLeafIndex: number; }, { root: string; nextAvailableLeafIndex: string | number | bigint; }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, { root: string; nextAvailableLeafIndex: string | number | bigint; }>; nullifierTree: z.ZodEffects; nextAvailableLeafIndex: z.ZodPipeline, z.ZodNumber>; }, "strip", z.ZodTypeAny, { root: Fr; nextAvailableLeafIndex: number; }, { root: string; nextAvailableLeafIndex: string | number | bigint; }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, { root: string; nextAvailableLeafIndex: string | number | bigint; }>; publicDataTree: z.ZodEffects; nextAvailableLeafIndex: z.ZodPipeline, z.ZodNumber>; }, "strip", z.ZodTypeAny, { root: Fr; nextAvailableLeafIndex: number; }, { root: string; nextAvailableLeafIndex: string | number | bigint; }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, { root: string; nextAvailableLeafIndex: string | number | bigint; }>; }, "strip", z.ZodTypeAny, { l1ToL2MessageTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot; noteHashTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot; nullifierTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot; publicDataTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot; }, { l1ToL2MessageTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; noteHashTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; nullifierTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; publicDataTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; }>, TreeSnapshots, { l1ToL2MessageTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; noteHashTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; nullifierTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; publicDataTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; }>; endGasUsed: z.ZodEffects, z.ZodNumber>; l2Gas: z.ZodPipeline, z.ZodNumber>; }, "strip", z.ZodTypeAny, { daGas: number; l2Gas: number; }, { daGas: string | number | bigint; l2Gas: string | number | bigint; }>, Gas, { daGas: string | number | bigint; l2Gas: string | number | bigint; }>; accumulatedDataArrayLengths: z.ZodEffects, AvmAccumulatedDataArrayLengths, { noteHashes: number; nullifiers: number; l2ToL1Msgs: number; publicDataWrites: number; }>; accumulatedData: z.ZodEffects, "many">; nullifiers: z.ZodArray, "many">; l2ToL1Msgs: z.ZodArray; content: z.ZodType; }, "strip", z.ZodTypeAny, { recipient: import("@aztec/foundation/eth-address").EthAddress; content: Fr; }, { recipient: string; content: string; }>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, { recipient: string; content: string; }>; contractAddress: import("@aztec/foundation/schemas").ZodFor; }, "strip", z.ZodTypeAny, { message: import("../messaging/l2_to_l1_message.js").L2ToL1Message; contractAddress: AztecAddress; }, { message: { recipient: string; content: string; }; contractAddress?: any; }>, import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, { message: { recipient: string; content: string; }; contractAddress?: any; }>, "many">; publicLogs: import("@aztec/foundation/schemas").ZodFor; publicDataWrites: z.ZodArray; value: z.ZodType; }, "strip", z.ZodTypeAny, { leafSlot: Fr; value: Fr; }, { leafSlot: string; value: string; }>, import("./public_data_write.js").PublicDataWrite, { leafSlot: string; value: string; }>, "many">; }, "strip", z.ZodTypeAny, { noteHashes: Fr[]; nullifiers: Fr[]; l2ToL1Msgs: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[]; publicLogs: import("../logs/public_log.js").FlatPublicLogs; publicDataWrites: import("./public_data_write.js").PublicDataWrite[]; }, { noteHashes: string[]; nullifiers: string[]; l2ToL1Msgs: { message: { recipient: string; content: string; }; contractAddress?: any; }[]; publicLogs?: any; publicDataWrites: { leafSlot: string; value: string; }[]; }>, AvmAccumulatedData, { noteHashes: string[]; nullifiers: string[]; l2ToL1Msgs: { message: { recipient: string; content: string; }; contractAddress?: any; }[]; publicLogs?: any; publicDataWrites: { leafSlot: string; value: string; }[]; }>; transactionFee: z.ZodType; reverted: z.ZodBoolean; }, "strip", z.ZodTypeAny, { globalVariables: GlobalVariables; protocolContracts: ProtocolContracts; startTreeSnapshots: TreeSnapshots; startGasUsed: Gas; gasSettings: GasSettings; effectiveGasFees: GasFees; feePayer: AztecAddress; proverId: Fr; publicCallRequestArrayLengths: PublicCallRequestArrayLengths; publicSetupCallRequests: PublicCallRequest[]; publicAppLogicCallRequests: PublicCallRequest[]; publicTeardownCallRequest: PublicCallRequest; previousNonRevertibleAccumulatedDataArrayLengths: PrivateToAvmAccumulatedDataArrayLengths; previousRevertibleAccumulatedDataArrayLengths: PrivateToAvmAccumulatedDataArrayLengths; previousNonRevertibleAccumulatedData: PrivateToAvmAccumulatedData; previousRevertibleAccumulatedData: PrivateToAvmAccumulatedData; endTreeSnapshots: TreeSnapshots; endGasUsed: Gas; accumulatedDataArrayLengths: AvmAccumulatedDataArrayLengths; accumulatedData: AvmAccumulatedData; transactionFee: Fr; reverted: boolean; }, { globalVariables: { chainId?: any; version?: any; blockNumber: string | number | bigint; slotNumber?: any; timestamp: string | number | bigint; coinbase?: any; feeRecipient?: any; gasFees: { feePerDaGas: string | number | bigint; feePerL2Gas: string | number | bigint; }; }; protocolContracts: { derivedAddresses: any[]; }; startTreeSnapshots: { l1ToL2MessageTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; noteHashTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; nullifierTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; publicDataTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; }; startGasUsed: { daGas: string | number | bigint; l2Gas: string | number | bigint; }; gasSettings: { gasLimits: { daGas: string | number | bigint; l2Gas: string | number | bigint; }; teardownGasLimits: { daGas: string | number | bigint; l2Gas: string | number | bigint; }; maxFeesPerGas: { feePerDaGas: string | number | bigint; feePerL2Gas: string | number | bigint; }; maxPriorityFeesPerGas: { feePerDaGas: string | number | bigint; feePerL2Gas: string | number | bigint; }; }; effectiveGasFees: { feePerDaGas: string | number | bigint; feePerL2Gas: string | number | bigint; }; feePayer?: any; proverId: string; publicCallRequestArrayLengths: { setupCalls: number; appLogicCalls: number; teardownCall: boolean; }; publicSetupCallRequests: { msgSender?: any; contractAddress?: any; isStaticCall: boolean; calldataHash: string; }[]; publicAppLogicCallRequests: { msgSender?: any; contractAddress?: any; isStaticCall: boolean; calldataHash: string; }[]; publicTeardownCallRequest: { msgSender?: any; contractAddress?: any; isStaticCall: boolean; calldataHash: string; }; previousNonRevertibleAccumulatedDataArrayLengths: { noteHashes: string | number | bigint; nullifiers: string | number | bigint; l2ToL1Msgs: string | number | bigint; }; previousRevertibleAccumulatedDataArrayLengths: { noteHashes: string | number | bigint; nullifiers: string | number | bigint; l2ToL1Msgs: string | number | bigint; }; previousNonRevertibleAccumulatedData: { noteHashes: string[]; nullifiers: string[]; l2ToL1Msgs: { message: { recipient: string; content: string; }; contractAddress?: any; }[]; }; previousRevertibleAccumulatedData: { noteHashes: string[]; nullifiers: string[]; l2ToL1Msgs: { message: { recipient: string; content: string; }; contractAddress?: any; }[]; }; endTreeSnapshots: { l1ToL2MessageTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; noteHashTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; nullifierTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; publicDataTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; }; endGasUsed: { daGas: string | number | bigint; l2Gas: string | number | bigint; }; accumulatedDataArrayLengths: { noteHashes: number; nullifiers: number; l2ToL1Msgs: number; publicDataWrites: number; }; accumulatedData: { noteHashes: string[]; nullifiers: string[]; l2ToL1Msgs: { message: { recipient: string; content: string; }; contractAddress?: any; }[]; publicLogs?: any; publicDataWrites: { leafSlot: string; value: string; }[]; }; transactionFee: string; reverted: boolean; }>, AvmCircuitPublicInputs, { globalVariables: { chainId?: any; version?: any; blockNumber: string | number | bigint; slotNumber?: any; timestamp: string | number | bigint; coinbase?: any; feeRecipient?: any; gasFees: { feePerDaGas: string | number | bigint; feePerL2Gas: string | number | bigint; }; }; protocolContracts: { derivedAddresses: any[]; }; startTreeSnapshots: { l1ToL2MessageTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; noteHashTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; nullifierTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; publicDataTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; }; startGasUsed: { daGas: string | number | bigint; l2Gas: string | number | bigint; }; gasSettings: { gasLimits: { daGas: string | number | bigint; l2Gas: string | number | bigint; }; teardownGasLimits: { daGas: string | number | bigint; l2Gas: string | number | bigint; }; maxFeesPerGas: { feePerDaGas: string | number | bigint; feePerL2Gas: string | number | bigint; }; maxPriorityFeesPerGas: { feePerDaGas: string | number | bigint; feePerL2Gas: string | number | bigint; }; }; effectiveGasFees: { feePerDaGas: string | number | bigint; feePerL2Gas: string | number | bigint; }; feePayer?: any; proverId: string; publicCallRequestArrayLengths: { setupCalls: number; appLogicCalls: number; teardownCall: boolean; }; publicSetupCallRequests: { msgSender?: any; contractAddress?: any; isStaticCall: boolean; calldataHash: string; }[]; publicAppLogicCallRequests: { msgSender?: any; contractAddress?: any; isStaticCall: boolean; calldataHash: string; }[]; publicTeardownCallRequest: { msgSender?: any; contractAddress?: any; isStaticCall: boolean; calldataHash: string; }; previousNonRevertibleAccumulatedDataArrayLengths: { noteHashes: string | number | bigint; nullifiers: string | number | bigint; l2ToL1Msgs: string | number | bigint; }; previousRevertibleAccumulatedDataArrayLengths: { noteHashes: string | number | bigint; nullifiers: string | number | bigint; l2ToL1Msgs: string | number | bigint; }; previousNonRevertibleAccumulatedData: { noteHashes: string[]; nullifiers: string[]; l2ToL1Msgs: { message: { recipient: string; content: string; }; contractAddress?: any; }[]; }; previousRevertibleAccumulatedData: { noteHashes: string[]; nullifiers: string[]; l2ToL1Msgs: { message: { recipient: string; content: string; }; contractAddress?: any; }[]; }; endTreeSnapshots: { l1ToL2MessageTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; noteHashTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; nullifierTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; publicDataTree: { root: string; nextAvailableLeafIndex: string | number | bigint; }; }; endGasUsed: { daGas: string | number | bigint; l2Gas: string | number | bigint; }; accumulatedDataArrayLengths: { noteHashes: number; nullifiers: number; l2ToL1Msgs: number; publicDataWrites: number; }; accumulatedData: { noteHashes: string[]; nullifiers: string[]; l2ToL1Msgs: { message: { recipient: string; content: string; }; contractAddress?: any; }[]; publicLogs?: any; publicDataWrites: { leafSlot: string; value: string; }[]; }; transactionFee: string; reverted: boolean; }>; static fromBuffer(buffer: Buffer | BufferReader): AvmCircuitPublicInputs; toBuffer(): Buffer; static fromString(str: string): AvmCircuitPublicInputs; toString(): `0x${string}`; static fromFields(fields: Fr[] | FieldReader): AvmCircuitPublicInputs; toFields(): (number | boolean | Fr[] | AztecAddress | Fr)[]; static empty(): AvmCircuitPublicInputs; /** * Creates an AvmCircuitPublicInputs instance from a plain object without Zod validation. * This method is optimized for performance and skips validation, making it suitable * for deserializing trusted data (e.g., from C++ via MessagePack). * @param obj - Plain object containing AvmCircuitPublicInputs fields * @returns An AvmCircuitPublicInputs instance */ static fromPlainObject(obj: any): AvmCircuitPublicInputs; serializeWithMessagePack(): Buffer; [inspect.custom](): string; } //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZtX2NpcmN1aXRfcHVibGljX2lucHV0cy5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2F2bS9hdm1fY2lyY3VpdF9wdWJsaWNfaW5wdXRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBRTdELE9BQU8sRUFBRSxFQUFFLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQztBQUVwRCxPQUFPLEVBQUUsWUFBWSxFQUFFLFdBQVcsRUFBRSxLQUFLLEtBQUssRUFBbUMsTUFBTSw2QkFBNkIsQ0FBQztBQUdySCxPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQy9CLE9BQU8sRUFBRSxDQUFDLEVBQUUsTUFBTSxLQUFLLENBQUM7QUFFeEIsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQ3pELE9BQU8sRUFBRSxHQUFHLEVBQUUsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQzVELE9BQU8sRUFDTCwyQkFBMkIsRUFDM0IsdUNBQXVDLEVBQ3hDLE1BQU0sOENBQThDLENBQUM7QUFDdEQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLDZCQUE2QixFQUFFLE1BQU0sa0NBQWtDLENBQUM7QUFDcEcsT0FBTyxFQUFFLGV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