@aztec/stdlib 0.77.0-testnet-ignition.17 → 0.77.0-testnet-ignition.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dest/avm/avm.d.ts +3559 -414
  2. package/dest/avm/avm.d.ts.map +1 -1
  3. package/dest/avm/avm.js +117 -662
  4. package/dest/avm/avm_accumulated_data.d.ts +94 -0
  5. package/dest/avm/avm_accumulated_data.d.ts.map +1 -1
  6. package/dest/avm/avm_accumulated_data.js +12 -1
  7. package/dest/avm/avm_circuit_public_inputs.d.ts +1023 -0
  8. package/dest/avm/avm_circuit_public_inputs.d.ts.map +1 -1
  9. package/dest/avm/avm_circuit_public_inputs.js +30 -1
  10. package/dest/avm/avm_proving_request.d.ts +2567 -2
  11. package/dest/avm/avm_proving_request.d.ts.map +1 -1
  12. package/dest/avm/message_pack.d.ts +4 -0
  13. package/dest/avm/message_pack.d.ts.map +1 -0
  14. package/dest/avm/message_pack.js +47 -0
  15. package/dest/block/l2_block_source.d.ts +17 -0
  16. package/dest/block/l2_block_source.d.ts.map +1 -1
  17. package/dest/block/l2_block_source.js +4 -0
  18. package/dest/interfaces/proving-job.d.ts +2567 -2
  19. package/dest/interfaces/proving-job.d.ts.map +1 -1
  20. package/dest/kernel/private_to_avm_accumulated_data.d.ts +85 -0
  21. package/dest/kernel/private_to_avm_accumulated_data.d.ts.map +1 -1
  22. package/dest/kernel/private_to_avm_accumulated_data.js +17 -1
  23. package/dest/kernel/public_call_request.d.ts +26 -0
  24. package/dest/kernel/public_call_request.d.ts.map +1 -1
  25. package/dest/kernel/public_call_request.js +13 -0
  26. package/dest/messaging/l2_to_l1_message.d.ts +55 -0
  27. package/dest/messaging/l2_to_l1_message.d.ts.map +1 -1
  28. package/dest/messaging/l2_to_l1_message.js +15 -0
  29. package/dest/p2p/consensus_payload.d.ts.map +1 -1
  30. package/dest/p2p/consensus_payload.js +2 -1
  31. package/dest/tests/factories.d.ts +4 -4
  32. package/dest/tests/factories.d.ts.map +1 -1
  33. package/dest/tests/factories.js +20 -19
  34. package/dest/trees/nullifier_membership_witness.d.ts +7 -7
  35. package/dest/trees/public_data_witness.d.ts +7 -7
  36. package/dest/tx/private_execution_result.js +1 -1
  37. package/dest/tx/processed_tx.d.ts +4 -0
  38. package/dest/tx/processed_tx.d.ts.map +1 -1
  39. package/dest/tx/processed_tx.js +2 -0
  40. package/dest/tx/tree_snapshots.d.ts +94 -0
  41. package/dest/tx/tree_snapshots.d.ts.map +1 -1
  42. package/dest/tx/tree_snapshots.js +9 -0
  43. package/package.json +6 -6
  44. package/src/avm/avm.ts +208 -906
  45. package/src/avm/avm_accumulated_data.ts +27 -1
  46. package/src/avm/avm_circuit_public_inputs.ts +73 -1
  47. package/src/avm/message_pack.ts +48 -0
  48. package/src/block/l2_block_source.ts +18 -0
  49. package/src/kernel/private_to_avm_accumulated_data.ts +33 -0
  50. package/src/kernel/public_call_request.ts +16 -0
  51. package/src/messaging/l2_to_l1_message.ts +22 -0
  52. package/src/p2p/consensus_payload.ts +2 -1
  53. package/src/tests/factories.ts +38 -28
  54. package/src/tx/private_execution_result.ts +1 -1
  55. package/src/tx/processed_tx.ts +6 -0
  56. package/src/tx/tree_snapshots.ts +15 -0
package/dest/avm/avm.d.ts CHANGED
@@ -1,53 +1,29 @@
1
1
  /// <reference types="node" resolution-mode="require"/>
2
2
  /// <reference types="node" resolution-mode="require"/>
3
3
  import { Fr } from '@aztec/foundation/fields';
4
- import { BufferReader } from '@aztec/foundation/serialize';
5
- import type { FieldsOf } from '@aztec/foundation/types';
4
+ import { z } from 'zod';
6
5
  import { AztecAddress } from '../aztec-address/index.js';
7
6
  import { PublicKeys } from '../keys/public_keys.js';
8
7
  import { NullifierLeafPreimage } from '../trees/nullifier_leaf.js';
9
8
  import { PublicDataTreeLeafPreimage } from '../trees/public_data_leaf.js';
10
- import { Vector } from '../types/shared.js';
11
9
  import { AvmCircuitPublicInputs } from './avm_circuit_public_inputs.js';
12
10
  export declare class AvmEnqueuedCallHint {
13
11
  readonly contractAddress: AztecAddress;
14
- readonly calldata: Vector<Fr>;
12
+ readonly calldata: Fr[];
15
13
  constructor(contractAddress: AztecAddress, calldata: Fr[]);
16
- toBuffer(): Buffer;
17
- /**
18
- * Serializes the inputs to a hex string.
19
- * @returns The instance serialized to a hex string.
20
- */
21
- toString(): `0x${string}`;
22
- /**
23
- * Is the struct empty?
24
- * @returns whether all members are empty.
25
- */
26
- isEmpty(): boolean;
27
- /**
28
- * Creates a new instance from fields.
29
- * @param fields - Fields to create the instance from.
30
- * @returns A new AvmExecutionHints instance.
31
- */
32
- static from(fields: FieldsOf<AvmEnqueuedCallHint>): AvmEnqueuedCallHint;
33
- /**
34
- * Extracts fields from an instance.
35
- * @param fields - Fields to create the instance from.
36
- * @returns An array of fields.
37
- */
38
- static getFields(fields: FieldsOf<AvmEnqueuedCallHint>): readonly [AztecAddress, Vector<Fr>];
39
- /**
40
- * Deserializes from a buffer or reader.
41
- * @param buffer - Buffer or reader to read from.
42
- * @returns The deserialized instance.
43
- */
44
- static fromBuffer(buff: Buffer | BufferReader): AvmEnqueuedCallHint;
45
- /**
46
- * Deserializes from a hex string.
47
- * @param str - Hex string to read from.
48
- * @returns The deserialized instance.
49
- */
50
- static fromString(str: string): AvmEnqueuedCallHint;
14
+ static get schema(): z.ZodEffects<z.ZodObject<{
15
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
16
+ calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
17
+ }, "strip", z.ZodTypeAny, {
18
+ contractAddress: AztecAddress;
19
+ calldata: Fr[];
20
+ }, {
21
+ calldata: string[];
22
+ contractAddress?: any;
23
+ }>, AvmEnqueuedCallHint, {
24
+ calldata: string[];
25
+ contractAddress?: any;
26
+ }>;
51
27
  }
52
28
  export declare class AvmContractClassHint {
53
29
  readonly classId: Fr;
@@ -57,39 +33,53 @@ export declare class AvmContractClassHint {
57
33
  readonly publicBytecodeCommitment: Fr;
58
34
  readonly packedBytecode: Buffer;
59
35
  constructor(classId: Fr, exists: boolean, artifactHash: Fr, privateFunctionsRoot: Fr, publicBytecodeCommitment: Fr, packedBytecode: Buffer);
60
- /**
61
- * Serializes the inputs to a buffer.
62
- * @returns - The inputs serialized to a buffer.
63
- */
64
- toBuffer(): Buffer;
65
- /**
66
- * Serializes the inputs to a hex string.
67
- * @returns The instance serialized to a hex string.
68
- */
69
- toString(): `0x${string}`;
70
- /**
71
- * Is the struct empty?
72
- * @returns whether all members are empty.
73
- */
74
- isEmpty(): boolean;
75
- /**
76
- * Extracts fields from an instance.
77
- * @param fields - Fields to create the instance from.
78
- * @returns An array of fields.
79
- */
80
- static getFields(fields: FieldsOf<AvmContractClassHint>): readonly [Fr, boolean, Fr, Fr, Fr, number, Buffer];
81
- /**
82
- * Deserializes from a buffer or reader.
83
- * @param buffer - Buffer or reader to read from.
84
- * @returns The deserialized instance.
85
- */
86
- static fromBuffer(buff: Buffer | BufferReader): AvmContractClassHint;
87
- /**
88
- * Deserializes from a hex string.
89
- * @param str - Hex string to read from.
90
- * @returns The deserialized instance.
91
- */
92
- static fromString(str: string): AvmContractClassHint;
36
+ static get schema(): z.ZodEffects<z.ZodObject<{
37
+ classId: z.ZodType<Fr, any, string>;
38
+ exists: z.ZodBoolean;
39
+ artifactHash: z.ZodType<Fr, any, string>;
40
+ privateFunctionsRoot: z.ZodType<Fr, any, string>;
41
+ publicBytecodeCommitment: z.ZodType<Fr, any, string>;
42
+ packedBytecode: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Buffer, string>, z.ZodEffects<z.ZodObject<{
43
+ type: z.ZodLiteral<"Buffer">;
44
+ data: z.ZodArray<z.ZodNumber, "many">;
45
+ }, "strip", z.ZodTypeAny, {
46
+ type: "Buffer";
47
+ data: number[];
48
+ }, {
49
+ type: "Buffer";
50
+ data: number[];
51
+ }>, Buffer, {
52
+ type: "Buffer";
53
+ data: number[];
54
+ }>]>;
55
+ }, "strip", z.ZodTypeAny, {
56
+ classId: Fr;
57
+ exists: boolean;
58
+ artifactHash: Fr;
59
+ privateFunctionsRoot: Fr;
60
+ publicBytecodeCommitment: Fr;
61
+ packedBytecode: Buffer;
62
+ }, {
63
+ classId: string;
64
+ exists: boolean;
65
+ artifactHash: string;
66
+ privateFunctionsRoot: string;
67
+ publicBytecodeCommitment: string;
68
+ packedBytecode: string | {
69
+ type: "Buffer";
70
+ data: number[];
71
+ };
72
+ }>, AvmContractClassHint, {
73
+ classId: string;
74
+ exists: boolean;
75
+ artifactHash: string;
76
+ privateFunctionsRoot: string;
77
+ publicBytecodeCommitment: string;
78
+ packedBytecode: string | {
79
+ type: "Buffer";
80
+ data: number[];
81
+ };
82
+ }>;
93
83
  }
94
84
  export declare class AvmContractInstanceHint {
95
85
  readonly address: AztecAddress;
@@ -101,378 +91,3533 @@ export declare class AvmContractInstanceHint {
101
91
  readonly initializationHash: Fr;
102
92
  readonly publicKeys: PublicKeys;
103
93
  readonly updateMembershipHint: AvmPublicDataReadTreeHint;
104
- readonly updatePreimage: Vector<Fr>;
105
- constructor(address: AztecAddress, exists: boolean, salt: Fr, deployer: AztecAddress, currentContractClassId: Fr, originalContractClassId: Fr, initializationHash: Fr, publicKeys: PublicKeys, updateMembershipHint: AvmPublicDataReadTreeHint, updatePreimage: Fr[]);
106
- /**
107
- * Serializes the inputs to a buffer.
108
- * @returns - The inputs serialized to a buffer.
109
- */
110
- toBuffer(): Buffer;
111
- /**
112
- * Serializes the inputs to a hex string.
113
- * @returns The instance serialized to a hex string.
114
- */
115
- toString(): `0x${string}`;
116
- /**
117
- * Is the struct empty?
118
- * @returns whether all members are empty.
119
- */
120
- isEmpty(): boolean;
121
- /**
122
- * Extracts fields from an instance.
123
- * @param fields - Fields to create the instance from.
124
- * @returns An array of fields.
125
- */
126
- static getFields(fields: FieldsOf<AvmContractInstanceHint>): readonly [AztecAddress, boolean, Fr, AztecAddress, Fr, Fr, Fr, PublicKeys, AvmPublicDataReadTreeHint, Vector<Fr>];
127
- /**
128
- * Deserializes from a buffer or reader.
129
- * @param buffer - Buffer or reader to read from.
130
- * @returns The deserialized instance.
131
- */
132
- static fromBuffer(buff: Buffer | BufferReader): AvmContractInstanceHint;
133
- /**
134
- * Deserializes from a hex string.
135
- * @param str - Hex string to read from.
136
- * @returns The deserialized instance.
137
- */
138
- static fromString(str: string): AvmContractInstanceHint;
94
+ readonly updatePreimage: Fr[];
95
+ constructor(address: AztecAddress, exists: boolean, salt: Fr, deployer: AztecAddress, currentContractClassId: Fr, originalContractClassId: Fr, initializationHash: Fr, publicKeys: PublicKeys, updateMembershipHint: AvmPublicDataReadTreeHint, updatePreimage?: Fr[]);
96
+ static get schema(): z.ZodEffects<z.ZodObject<{
97
+ address: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
98
+ exists: z.ZodBoolean;
99
+ salt: z.ZodType<Fr, any, string>;
100
+ deployer: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
101
+ currentContractClassId: z.ZodType<Fr, any, string>;
102
+ originalContractClassId: z.ZodType<Fr, any, string>;
103
+ initializationHash: z.ZodType<Fr, any, string>;
104
+ publicKeys: z.ZodEffects<z.ZodObject<{
105
+ masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
106
+ masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
107
+ masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
108
+ masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
109
+ }, "strip", z.ZodTypeAny, {
110
+ masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
111
+ masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
112
+ masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
113
+ masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
114
+ }, {
115
+ masterNullifierPublicKey: string;
116
+ masterIncomingViewingPublicKey: string;
117
+ masterOutgoingViewingPublicKey: string;
118
+ masterTaggingPublicKey: string;
119
+ }>, PublicKeys, {
120
+ masterNullifierPublicKey: string;
121
+ masterIncomingViewingPublicKey: string;
122
+ masterOutgoingViewingPublicKey: string;
123
+ masterTaggingPublicKey: string;
124
+ }>;
125
+ updateMembershipHint: z.ZodEffects<z.ZodObject<{
126
+ leafPreimage: z.ZodEffects<z.ZodObject<{
127
+ slot: z.ZodType<Fr, any, string>;
128
+ value: z.ZodType<Fr, any, string>;
129
+ nextSlot: z.ZodType<Fr, any, string>;
130
+ nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
131
+ }, "strip", z.ZodTypeAny, {
132
+ value: Fr;
133
+ slot: Fr;
134
+ nextIndex: bigint;
135
+ nextSlot: Fr;
136
+ }, {
137
+ value: string;
138
+ slot: string;
139
+ nextIndex: string | number | bigint;
140
+ nextSlot: string;
141
+ }>, PublicDataTreeLeafPreimage, {
142
+ value: string;
143
+ slot: string;
144
+ nextIndex: string | number | bigint;
145
+ nextSlot: string;
146
+ }>;
147
+ leafIndex: z.ZodType<Fr, any, string>;
148
+ siblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
149
+ }, "strip", z.ZodTypeAny, {
150
+ leafPreimage: PublicDataTreeLeafPreimage;
151
+ leafIndex: Fr;
152
+ siblingPath: Fr[];
153
+ }, {
154
+ leafPreimage: {
155
+ value: string;
156
+ slot: string;
157
+ nextIndex: string | number | bigint;
158
+ nextSlot: string;
159
+ };
160
+ leafIndex: string;
161
+ siblingPath: string[];
162
+ }>, AvmPublicDataReadTreeHint, {
163
+ leafPreimage: {
164
+ value: string;
165
+ slot: string;
166
+ nextIndex: string | number | bigint;
167
+ nextSlot: string;
168
+ };
169
+ leafIndex: string;
170
+ siblingPath: string[];
171
+ }>;
172
+ updatePreimage: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
173
+ }, "strip", z.ZodTypeAny, {
174
+ exists: boolean;
175
+ address: AztecAddress;
176
+ salt: Fr;
177
+ deployer: AztecAddress;
178
+ currentContractClassId: Fr;
179
+ originalContractClassId: Fr;
180
+ initializationHash: Fr;
181
+ publicKeys: PublicKeys;
182
+ updateMembershipHint: AvmPublicDataReadTreeHint;
183
+ updatePreimage: Fr[];
184
+ }, {
185
+ exists: boolean;
186
+ salt: string;
187
+ currentContractClassId: string;
188
+ originalContractClassId: string;
189
+ initializationHash: string;
190
+ publicKeys: {
191
+ masterNullifierPublicKey: string;
192
+ masterIncomingViewingPublicKey: string;
193
+ masterOutgoingViewingPublicKey: string;
194
+ masterTaggingPublicKey: string;
195
+ };
196
+ updateMembershipHint: {
197
+ leafPreimage: {
198
+ value: string;
199
+ slot: string;
200
+ nextIndex: string | number | bigint;
201
+ nextSlot: string;
202
+ };
203
+ leafIndex: string;
204
+ siblingPath: string[];
205
+ };
206
+ updatePreimage: string[];
207
+ address?: any;
208
+ deployer?: any;
209
+ }>, AvmContractInstanceHint, {
210
+ exists: boolean;
211
+ salt: string;
212
+ currentContractClassId: string;
213
+ originalContractClassId: string;
214
+ initializationHash: string;
215
+ publicKeys: {
216
+ masterNullifierPublicKey: string;
217
+ masterIncomingViewingPublicKey: string;
218
+ masterOutgoingViewingPublicKey: string;
219
+ masterTaggingPublicKey: string;
220
+ };
221
+ updateMembershipHint: {
222
+ leafPreimage: {
223
+ value: string;
224
+ slot: string;
225
+ nextIndex: string | number | bigint;
226
+ nextSlot: string;
227
+ };
228
+ leafIndex: string;
229
+ siblingPath: string[];
230
+ };
231
+ updatePreimage: string[];
232
+ address?: any;
233
+ deployer?: any;
234
+ }>;
139
235
  }
140
236
  export declare class AvmAppendTreeHint {
141
237
  readonly leafIndex: Fr;
142
238
  readonly value: Fr;
143
- readonly _siblingPath: Fr[];
144
- readonly siblingPath: Vector<Fr>;
145
- constructor(leafIndex: Fr, value: Fr, _siblingPath: Fr[]);
146
- /**
147
- * Serializes the inputs to a buffer.
148
- * @returns - The inputs serialized to a buffer.
149
- */
150
- toBuffer(): Buffer;
151
- /**
152
- * Serializes the inputs to a hex string.
153
- * @returns The instance serialized to a hex string.
154
- */
155
- toString(): string;
156
- /**
157
- * Is the struct empty?
158
- * @returns whether all members are empty.
159
- */
160
- isEmpty(): boolean;
161
- /**
162
- * Creates a new instance from fields.
163
- * @param fields - Fields to create the instance from.
164
- * @returns A new AvmHint instance.
165
- */
166
- static from(fields: FieldsOf<AvmAppendTreeHint>): AvmAppendTreeHint;
167
- /**
168
- * Extracts fields from an instance.
169
- * @param fields - Fields to create the instance from.
170
- * @returns An array of fields.
171
- */
172
- static getFields(fields: FieldsOf<AvmAppendTreeHint>): readonly [Fr, Fr, Vector<Fr>];
173
- /**
174
- * Deserializes from a buffer or reader.
175
- * @param buffer - Buffer or reader to read from.
176
- * @returns The deserialized instance.
177
- */
178
- static fromBuffer(buff: Buffer | BufferReader): AvmAppendTreeHint;
179
- /**
180
- * Deserializes from a hex string.
181
- * @param str - Hex string to read from.
182
- * @returns The deserialized instance.
183
- */
184
- static fromString(str: string): AvmAppendTreeHint;
239
+ readonly siblingPath: Fr[];
240
+ constructor(leafIndex: Fr, value: Fr, siblingPath: Fr[]);
241
+ static get schema(): z.ZodEffects<z.ZodObject<{
242
+ leafIndex: z.ZodType<Fr, any, string>;
243
+ value: z.ZodType<Fr, any, string>;
244
+ siblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
245
+ }, "strip", z.ZodTypeAny, {
246
+ value: Fr;
247
+ leafIndex: Fr;
248
+ siblingPath: Fr[];
249
+ }, {
250
+ value: string;
251
+ leafIndex: string;
252
+ siblingPath: string[];
253
+ }>, AvmAppendTreeHint, {
254
+ value: string;
255
+ leafIndex: string;
256
+ siblingPath: string[];
257
+ }>;
185
258
  }
186
259
  export declare class AvmNullifierWriteTreeHint {
187
260
  lowLeafRead: AvmNullifierReadTreeHint;
188
- _insertionPath: Fr[];
189
- readonly insertionPath: Vector<Fr>;
190
- constructor(lowLeafRead: AvmNullifierReadTreeHint, _insertionPath: Fr[]);
191
- /**
192
- * Serializes the inputs to a buffer.
193
- * @returns - The inputs serialized to a buffer.
194
- */
195
- toBuffer(): Buffer;
196
- /**
197
- * Serializes the inputs to a hex string.
198
- * @returns The instance serialized to a hex string.
199
- */
200
- toString(): string;
201
- /**
202
- * Is the struct empty?
203
- * @returns whether all members are empty.
204
- */
205
- isEmpty(): boolean;
206
- /**
207
- * Creates a new instance from fields.
208
- * @param fields - Fields to create the instance from.
209
- * @returns A new AvmHint instance.
210
- */
211
- static from(fields: FieldsOf<AvmNullifierWriteTreeHint>): AvmNullifierWriteTreeHint;
212
- /**
213
- * Extracts fields from an instance.
214
- * @param fields - Fields to create the instance from.
215
- * @returns An array of fields.
216
- */
217
- static getFields(fields: FieldsOf<AvmNullifierWriteTreeHint>): readonly [Fr, Fr, Fr, Fr, Vector<Fr>, Vector<Fr>];
218
- /**
219
- * Deserializes from a buffer or reader.
220
- * @param buffer - Buffer or reader to read from.
221
- * @returns The deserialized instance.
222
- */
223
- static fromBuffer(buff: Buffer | BufferReader): AvmNullifierWriteTreeHint;
224
- /**
225
- * Deserializes from a hex string.
226
- * @param str - Hex string to read from.
227
- * @returns The deserialized instance.
228
- */
229
- static fromString(str: string): AvmNullifierWriteTreeHint;
261
+ readonly insertionPath: Fr[];
262
+ constructor(lowLeafRead: AvmNullifierReadTreeHint, insertionPath: Fr[]);
263
+ static get schema(): z.ZodEffects<z.ZodObject<{
264
+ lowLeafRead: z.ZodEffects<z.ZodObject<{
265
+ lowLeafPreimage: z.ZodEffects<z.ZodObject<{
266
+ nullifier: z.ZodType<Fr, any, string>;
267
+ nextNullifier: z.ZodType<Fr, any, string>;
268
+ nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
269
+ }, "strip", z.ZodTypeAny, {
270
+ nullifier: Fr;
271
+ nextNullifier: Fr;
272
+ nextIndex: bigint;
273
+ }, {
274
+ nullifier: string;
275
+ nextNullifier: string;
276
+ nextIndex: string | number | bigint;
277
+ }>, NullifierLeafPreimage, {
278
+ nullifier: string;
279
+ nextNullifier: string;
280
+ nextIndex: string | number | bigint;
281
+ }>;
282
+ lowLeafIndex: z.ZodType<Fr, any, string>;
283
+ lowLeafSiblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
284
+ }, "strip", z.ZodTypeAny, {
285
+ lowLeafPreimage: NullifierLeafPreimage;
286
+ lowLeafIndex: Fr;
287
+ lowLeafSiblingPath: Fr[];
288
+ }, {
289
+ lowLeafPreimage: {
290
+ nullifier: string;
291
+ nextNullifier: string;
292
+ nextIndex: string | number | bigint;
293
+ };
294
+ lowLeafIndex: string;
295
+ lowLeafSiblingPath: string[];
296
+ }>, AvmNullifierReadTreeHint, {
297
+ lowLeafPreimage: {
298
+ nullifier: string;
299
+ nextNullifier: string;
300
+ nextIndex: string | number | bigint;
301
+ };
302
+ lowLeafIndex: string;
303
+ lowLeafSiblingPath: string[];
304
+ }>;
305
+ insertionPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
306
+ }, "strip", z.ZodTypeAny, {
307
+ lowLeafRead: AvmNullifierReadTreeHint;
308
+ insertionPath: Fr[];
309
+ }, {
310
+ lowLeafRead: {
311
+ lowLeafPreimage: {
312
+ nullifier: string;
313
+ nextNullifier: string;
314
+ nextIndex: string | number | bigint;
315
+ };
316
+ lowLeafIndex: string;
317
+ lowLeafSiblingPath: string[];
318
+ };
319
+ insertionPath: string[];
320
+ }>, AvmNullifierWriteTreeHint, {
321
+ lowLeafRead: {
322
+ lowLeafPreimage: {
323
+ nullifier: string;
324
+ nextNullifier: string;
325
+ nextIndex: string | number | bigint;
326
+ };
327
+ lowLeafIndex: string;
328
+ lowLeafSiblingPath: string[];
329
+ };
330
+ insertionPath: string[];
331
+ }>;
230
332
  }
231
333
  export declare class AvmNullifierReadTreeHint {
232
334
  readonly lowLeafPreimage: NullifierLeafPreimage;
233
335
  readonly lowLeafIndex: Fr;
234
- _lowLeafSiblingPath: Fr[];
235
- readonly lowLeafSiblingPath: Vector<Fr>;
236
- constructor(lowLeafPreimage: NullifierLeafPreimage, lowLeafIndex: Fr, _lowLeafSiblingPath: Fr[]);
237
- /**
238
- * Serializes the inputs to a buffer.
239
- * @returns - The inputs serialized to a buffer.
240
- */
241
- toBuffer(): Buffer;
242
- /**
243
- * Serializes the inputs to a hex string.
244
- * @returns The instance serialized to a hex string.
245
- */
246
- toString(): string;
247
- /**
248
- * Is the struct empty?
249
- * @returns whether all members are empty.
250
- */
251
- isEmpty(): boolean;
252
- /**
253
- * Creates a new instance from fields.
254
- * @param fields - Fields to create the instance from.
255
- * @returns A new AvmHint instance.
256
- */
257
- static from(fields: FieldsOf<AvmNullifierReadTreeHint>): AvmNullifierReadTreeHint;
258
- static empty(): AvmNullifierReadTreeHint;
259
- /**
260
- * Extracts fields from an instance.
261
- * @param fields - Fields to create the instance from.
262
- * @returns An array of fields.
263
- */
264
- static getFields(fields: FieldsOf<AvmNullifierReadTreeHint>): readonly [Fr, Fr, Fr, Fr, Vector<Fr>];
265
- /**
266
- * Deserializes from a buffer or reader.
267
- * @param buffer - Buffer or reader to read from.
268
- * @returns The deserialized instance.
269
- */
270
- static fromBuffer(buff: Buffer | BufferReader): AvmNullifierReadTreeHint;
271
- /**
272
- * Deserializes from a hex string.
273
- * @param str - Hex string to read from.
274
- * @returns The deserialized instance.
275
- */
276
- static fromString(str: string): AvmNullifierReadTreeHint;
336
+ readonly lowLeafSiblingPath: Fr[];
337
+ constructor(lowLeafPreimage: NullifierLeafPreimage, lowLeafIndex: Fr, lowLeafSiblingPath: Fr[]);
338
+ static get schema(): z.ZodEffects<z.ZodObject<{
339
+ lowLeafPreimage: z.ZodEffects<z.ZodObject<{
340
+ nullifier: z.ZodType<Fr, any, string>;
341
+ nextNullifier: z.ZodType<Fr, any, string>;
342
+ nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
343
+ }, "strip", z.ZodTypeAny, {
344
+ nullifier: Fr;
345
+ nextNullifier: Fr;
346
+ nextIndex: bigint;
347
+ }, {
348
+ nullifier: string;
349
+ nextNullifier: string;
350
+ nextIndex: string | number | bigint;
351
+ }>, NullifierLeafPreimage, {
352
+ nullifier: string;
353
+ nextNullifier: string;
354
+ nextIndex: string | number | bigint;
355
+ }>;
356
+ lowLeafIndex: z.ZodType<Fr, any, string>;
357
+ lowLeafSiblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
358
+ }, "strip", z.ZodTypeAny, {
359
+ lowLeafPreimage: NullifierLeafPreimage;
360
+ lowLeafIndex: Fr;
361
+ lowLeafSiblingPath: Fr[];
362
+ }, {
363
+ lowLeafPreimage: {
364
+ nullifier: string;
365
+ nextNullifier: string;
366
+ nextIndex: string | number | bigint;
367
+ };
368
+ lowLeafIndex: string;
369
+ lowLeafSiblingPath: string[];
370
+ }>, AvmNullifierReadTreeHint, {
371
+ lowLeafPreimage: {
372
+ nullifier: string;
373
+ nextNullifier: string;
374
+ nextIndex: string | number | bigint;
375
+ };
376
+ lowLeafIndex: string;
377
+ lowLeafSiblingPath: string[];
378
+ }>;
277
379
  }
278
380
  export declare class AvmPublicDataReadTreeHint {
279
381
  readonly leafPreimage: PublicDataTreeLeafPreimage;
280
382
  readonly leafIndex: Fr;
281
- readonly _siblingPath: Fr[];
282
- siblingPath: Vector<Fr>;
283
- constructor(leafPreimage: PublicDataTreeLeafPreimage, leafIndex: Fr, _siblingPath: Fr[]);
284
- /**
285
- * Serializes the inputs to a buffer.
286
- * @returns - The inputs serialized to a buffer.
287
- */
288
- toBuffer(): Buffer;
289
- /**
290
- * Serializes the inputs to a hex string.
291
- * @returns The instance serialized to a hex string.
292
- */
293
- toString(): string;
383
+ readonly siblingPath: Fr[];
384
+ constructor(leafPreimage: PublicDataTreeLeafPreimage, leafIndex: Fr, siblingPath: Fr[]);
294
385
  static empty(): AvmPublicDataReadTreeHint;
295
- /**
296
- * Is the struct empty?
297
- * @returns whether all members are empty.
298
- */
299
- isEmpty(): boolean;
300
- /**
301
- * Creates a new instance from fields.
302
- * @param fields - Fields to create the instance from.
303
- * @returns A new AvmHint instance.
304
- */
305
- static from(fields: FieldsOf<AvmPublicDataReadTreeHint>): AvmPublicDataReadTreeHint;
306
- /**
307
- * Extracts fields from an instance.
308
- * @param fields - Fields to create the instance from.
309
- * @returns An array of fields.
310
- */
311
- static getFields(fields: FieldsOf<AvmPublicDataReadTreeHint>): readonly [Fr, Fr, Fr, Fr, Fr, Vector<Fr>];
312
- /**
313
- * Deserializes from a buffer or reader.
314
- * @param buffer - Buffer or reader to read from.
315
- * @returns The deserialized instance.
316
- */
317
- static fromBuffer(buff: Buffer | BufferReader): AvmPublicDataReadTreeHint;
318
- /**
319
- * Deserializes from a hex string.
320
- * @param str - Hex string to read from.
321
- * @returns The deserialized instance.
322
- */
323
- static fromString(str: string): AvmPublicDataReadTreeHint;
386
+ static get schema(): z.ZodEffects<z.ZodObject<{
387
+ leafPreimage: z.ZodEffects<z.ZodObject<{
388
+ slot: z.ZodType<Fr, any, string>;
389
+ value: z.ZodType<Fr, any, string>;
390
+ nextSlot: z.ZodType<Fr, any, string>;
391
+ nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
392
+ }, "strip", z.ZodTypeAny, {
393
+ value: Fr;
394
+ slot: Fr;
395
+ nextIndex: bigint;
396
+ nextSlot: Fr;
397
+ }, {
398
+ value: string;
399
+ slot: string;
400
+ nextIndex: string | number | bigint;
401
+ nextSlot: string;
402
+ }>, PublicDataTreeLeafPreimage, {
403
+ value: string;
404
+ slot: string;
405
+ nextIndex: string | number | bigint;
406
+ nextSlot: string;
407
+ }>;
408
+ leafIndex: z.ZodType<Fr, any, string>;
409
+ siblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
410
+ }, "strip", z.ZodTypeAny, {
411
+ leafPreimage: PublicDataTreeLeafPreimage;
412
+ leafIndex: Fr;
413
+ siblingPath: Fr[];
414
+ }, {
415
+ leafPreimage: {
416
+ value: string;
417
+ slot: string;
418
+ nextIndex: string | number | bigint;
419
+ nextSlot: string;
420
+ };
421
+ leafIndex: string;
422
+ siblingPath: string[];
423
+ }>, AvmPublicDataReadTreeHint, {
424
+ leafPreimage: {
425
+ value: string;
426
+ slot: string;
427
+ nextIndex: string | number | bigint;
428
+ nextSlot: string;
429
+ };
430
+ leafIndex: string;
431
+ siblingPath: string[];
432
+ }>;
324
433
  }
325
434
  export declare class AvmPublicDataWriteTreeHint {
326
435
  readonly lowLeafRead: AvmPublicDataReadTreeHint;
327
436
  readonly newLeafPreimage: PublicDataTreeLeafPreimage;
328
- readonly _insertionPath: Fr[];
329
- insertionPath: Vector<Fr>;
330
- constructor(lowLeafRead: AvmPublicDataReadTreeHint, newLeafPreimage: PublicDataTreeLeafPreimage, _insertionPath: Fr[]);
331
- /**
332
- * Serializes the inputs to a buffer.
333
- * @returns - The inputs serialized to a buffer.
334
- */
335
- toBuffer(): Buffer;
336
- /**
337
- * Serializes the inputs to a hex string.
338
- * @returns The instance serialized to a hex string.
339
- */
340
- toString(): string;
341
- /**
342
- * Is the struct empty?
343
- * @returns whether all members are empty.
344
- */
345
- isEmpty(): boolean;
346
- /**
347
- * Creates a new instance from fields.
348
- * @param fields - Fields to create the instance from.
349
- * @returns A new AvmHint instance.
350
- */
351
- static from(fields: FieldsOf<AvmPublicDataWriteTreeHint>): AvmPublicDataWriteTreeHint;
352
- /**
353
- * Extracts fields from an instance.
354
- * @param fields - Fields to create the instance from.
355
- * @returns An array of fields.
356
- */
357
- static getFields(fields: FieldsOf<AvmPublicDataWriteTreeHint>): readonly [Fr, Fr, Fr, Fr, Fr, Vector<Fr>, Fr, Fr, Fr, Fr, Vector<Fr>];
358
- /**
359
- * Deserializes from a buffer or reader.
360
- * @param buffer - Buffer or reader to read from.
361
- * @returns The deserialized instance.
362
- */
363
- static fromBuffer(buff: Buffer | BufferReader): AvmPublicDataWriteTreeHint;
364
- /**
365
- * Deserializes from a hex string.
366
- * @param str - Hex string to read from.
367
- * @returns The deserialized instance.
368
- */
369
- static fromString(str: string): AvmPublicDataWriteTreeHint;
437
+ readonly insertionPath: Fr[];
438
+ constructor(lowLeafRead: AvmPublicDataReadTreeHint, newLeafPreimage: PublicDataTreeLeafPreimage, insertionPath: Fr[]);
439
+ static get schema(): z.ZodEffects<z.ZodObject<{
440
+ lowLeafRead: z.ZodEffects<z.ZodObject<{
441
+ leafPreimage: z.ZodEffects<z.ZodObject<{
442
+ slot: z.ZodType<Fr, any, string>;
443
+ value: z.ZodType<Fr, any, string>;
444
+ nextSlot: z.ZodType<Fr, any, string>;
445
+ nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
446
+ }, "strip", z.ZodTypeAny, {
447
+ value: Fr;
448
+ slot: Fr;
449
+ nextIndex: bigint;
450
+ nextSlot: Fr;
451
+ }, {
452
+ value: string;
453
+ slot: string;
454
+ nextIndex: string | number | bigint;
455
+ nextSlot: string;
456
+ }>, PublicDataTreeLeafPreimage, {
457
+ value: string;
458
+ slot: string;
459
+ nextIndex: string | number | bigint;
460
+ nextSlot: string;
461
+ }>;
462
+ leafIndex: z.ZodType<Fr, any, string>;
463
+ siblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
464
+ }, "strip", z.ZodTypeAny, {
465
+ leafPreimage: PublicDataTreeLeafPreimage;
466
+ leafIndex: Fr;
467
+ siblingPath: Fr[];
468
+ }, {
469
+ leafPreimage: {
470
+ value: string;
471
+ slot: string;
472
+ nextIndex: string | number | bigint;
473
+ nextSlot: string;
474
+ };
475
+ leafIndex: string;
476
+ siblingPath: string[];
477
+ }>, AvmPublicDataReadTreeHint, {
478
+ leafPreimage: {
479
+ value: string;
480
+ slot: string;
481
+ nextIndex: string | number | bigint;
482
+ nextSlot: string;
483
+ };
484
+ leafIndex: string;
485
+ siblingPath: string[];
486
+ }>;
487
+ newLeafPreimage: z.ZodEffects<z.ZodObject<{
488
+ slot: z.ZodType<Fr, any, string>;
489
+ value: z.ZodType<Fr, any, string>;
490
+ nextSlot: z.ZodType<Fr, any, string>;
491
+ nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
492
+ }, "strip", z.ZodTypeAny, {
493
+ value: Fr;
494
+ slot: Fr;
495
+ nextIndex: bigint;
496
+ nextSlot: Fr;
497
+ }, {
498
+ value: string;
499
+ slot: string;
500
+ nextIndex: string | number | bigint;
501
+ nextSlot: string;
502
+ }>, PublicDataTreeLeafPreimage, {
503
+ value: string;
504
+ slot: string;
505
+ nextIndex: string | number | bigint;
506
+ nextSlot: string;
507
+ }>;
508
+ insertionPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
509
+ }, "strip", z.ZodTypeAny, {
510
+ lowLeafRead: AvmPublicDataReadTreeHint;
511
+ insertionPath: Fr[];
512
+ newLeafPreimage: PublicDataTreeLeafPreimage;
513
+ }, {
514
+ lowLeafRead: {
515
+ leafPreimage: {
516
+ value: string;
517
+ slot: string;
518
+ nextIndex: string | number | bigint;
519
+ nextSlot: string;
520
+ };
521
+ leafIndex: string;
522
+ siblingPath: string[];
523
+ };
524
+ insertionPath: string[];
525
+ newLeafPreimage: {
526
+ value: string;
527
+ slot: string;
528
+ nextIndex: string | number | bigint;
529
+ nextSlot: string;
530
+ };
531
+ }>, AvmPublicDataWriteTreeHint, {
532
+ lowLeafRead: {
533
+ leafPreimage: {
534
+ value: string;
535
+ slot: string;
536
+ nextIndex: string | number | bigint;
537
+ nextSlot: string;
538
+ };
539
+ leafIndex: string;
540
+ siblingPath: string[];
541
+ };
542
+ insertionPath: string[];
543
+ newLeafPreimage: {
544
+ value: string;
545
+ slot: string;
546
+ nextIndex: string | number | bigint;
547
+ nextSlot: string;
548
+ };
549
+ }>;
370
550
  }
371
551
  export declare class AvmExecutionHints {
372
- readonly enqueuedCalls: Vector<AvmEnqueuedCallHint>;
373
- readonly contractInstances: Vector<AvmContractInstanceHint>;
374
- readonly contractClasses: Vector<AvmContractClassHint>;
375
- readonly publicDataReads: Vector<AvmPublicDataReadTreeHint>;
376
- readonly publicDataWrites: Vector<AvmPublicDataWriteTreeHint>;
377
- readonly nullifierReads: Vector<AvmNullifierReadTreeHint>;
378
- readonly nullifierWrites: Vector<AvmNullifierWriteTreeHint>;
379
- readonly noteHashReads: Vector<AvmAppendTreeHint>;
380
- readonly noteHashWrites: Vector<AvmAppendTreeHint>;
381
- readonly l1ToL2MessageReads: Vector<AvmAppendTreeHint>;
552
+ readonly enqueuedCalls: AvmEnqueuedCallHint[];
553
+ readonly contractInstances: AvmContractInstanceHint[];
554
+ readonly contractClasses: AvmContractClassHint[];
555
+ readonly publicDataReads: AvmPublicDataReadTreeHint[];
556
+ readonly publicDataWrites: AvmPublicDataWriteTreeHint[];
557
+ readonly nullifierReads: AvmNullifierReadTreeHint[];
558
+ readonly nullifierWrites: AvmNullifierWriteTreeHint[];
559
+ readonly noteHashReads: AvmAppendTreeHint[];
560
+ readonly noteHashWrites: AvmAppendTreeHint[];
561
+ readonly l1ToL2MessageReads: AvmAppendTreeHint[];
382
562
  constructor(enqueuedCalls: AvmEnqueuedCallHint[], contractInstances: AvmContractInstanceHint[], contractClasses: AvmContractClassHint[], publicDataReads: AvmPublicDataReadTreeHint[], publicDataWrites: AvmPublicDataWriteTreeHint[], nullifierReads: AvmNullifierReadTreeHint[], nullifierWrites: AvmNullifierWriteTreeHint[], noteHashReads: AvmAppendTreeHint[], noteHashWrites: AvmAppendTreeHint[], l1ToL2MessageReads: AvmAppendTreeHint[]);
383
- /**
384
- * Return an empty instance.
385
- * @returns an empty instance.
386
- */
387
563
  static empty(): AvmExecutionHints;
388
- /**
389
- * Serializes the inputs to a buffer.
390
- * @returns - The inputs serialized to a buffer.
391
- */
392
- toBuffer(): Buffer;
393
- /**
394
- * Serializes the inputs to a hex string.
395
- * @returns The instance serialized to a hex string.
396
- */
397
- toString(): `0x${string}`;
398
- /**
399
- * Is the struct empty?
400
- * @returns whether all members are empty.
401
- */
402
- isEmpty(): boolean;
403
- /**
404
- * Creates a new instance from fields.
405
- * @param fields - Fields to create the instance from.
406
- * @returns A new AvmExecutionHints instance.
407
- */
408
- static from(fields: FieldsOf<AvmExecutionHints>): AvmExecutionHints;
409
- /**
410
- * Extracts fields from an instance.
411
- * @param fields - Fields to create the instance from.
412
- * @returns An array of fields.
413
- */
414
- static getFields(fields: FieldsOf<AvmExecutionHints>): readonly [Vector<AvmEnqueuedCallHint>, Vector<AvmContractInstanceHint>, Vector<AvmContractClassHint>, Vector<AvmPublicDataReadTreeHint>, Vector<AvmPublicDataWriteTreeHint>, Vector<AvmNullifierReadTreeHint>, Vector<AvmNullifierWriteTreeHint>, Vector<AvmAppendTreeHint>, Vector<AvmAppendTreeHint>, Vector<AvmAppendTreeHint>];
415
- /**
416
- * Deserializes from a buffer or reader.
417
- * @param buffer - Buffer or reader to read from.
418
- * @returns The deserialized instance.
419
- */
420
- static fromBuffer(buff: Buffer | BufferReader): AvmExecutionHints;
421
- /**
422
- * Deserializes from a hex string.
423
- * @param str - Hex string to read from.
424
- * @returns The deserialized instance.
425
- */
426
- static fromString(str: string): AvmCircuitInputs;
564
+ static get schema(): z.ZodEffects<z.ZodObject<{
565
+ enqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
566
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
567
+ calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
568
+ }, "strip", z.ZodTypeAny, {
569
+ contractAddress: AztecAddress;
570
+ calldata: Fr[];
571
+ }, {
572
+ calldata: string[];
573
+ contractAddress?: any;
574
+ }>, AvmEnqueuedCallHint, {
575
+ calldata: string[];
576
+ contractAddress?: any;
577
+ }>, "many">;
578
+ contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
579
+ address: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
580
+ exists: z.ZodBoolean;
581
+ salt: z.ZodType<Fr, any, string>;
582
+ deployer: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
583
+ currentContractClassId: z.ZodType<Fr, any, string>;
584
+ originalContractClassId: z.ZodType<Fr, any, string>;
585
+ initializationHash: z.ZodType<Fr, any, string>;
586
+ publicKeys: z.ZodEffects<z.ZodObject<{
587
+ masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
588
+ masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
589
+ masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
590
+ masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
591
+ }, "strip", z.ZodTypeAny, {
592
+ masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
593
+ masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
594
+ masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
595
+ masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
596
+ }, {
597
+ masterNullifierPublicKey: string;
598
+ masterIncomingViewingPublicKey: string;
599
+ masterOutgoingViewingPublicKey: string;
600
+ masterTaggingPublicKey: string;
601
+ }>, PublicKeys, {
602
+ masterNullifierPublicKey: string;
603
+ masterIncomingViewingPublicKey: string;
604
+ masterOutgoingViewingPublicKey: string;
605
+ masterTaggingPublicKey: string;
606
+ }>;
607
+ updateMembershipHint: z.ZodEffects<z.ZodObject<{
608
+ leafPreimage: z.ZodEffects<z.ZodObject<{
609
+ slot: z.ZodType<Fr, any, string>;
610
+ value: z.ZodType<Fr, any, string>;
611
+ nextSlot: z.ZodType<Fr, any, string>;
612
+ nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
613
+ }, "strip", z.ZodTypeAny, {
614
+ value: Fr;
615
+ slot: Fr;
616
+ nextIndex: bigint;
617
+ nextSlot: Fr;
618
+ }, {
619
+ value: string;
620
+ slot: string;
621
+ nextIndex: string | number | bigint;
622
+ nextSlot: string;
623
+ }>, PublicDataTreeLeafPreimage, {
624
+ value: string;
625
+ slot: string;
626
+ nextIndex: string | number | bigint;
627
+ nextSlot: string;
628
+ }>;
629
+ leafIndex: z.ZodType<Fr, any, string>;
630
+ siblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
631
+ }, "strip", z.ZodTypeAny, {
632
+ leafPreimage: PublicDataTreeLeafPreimage;
633
+ leafIndex: Fr;
634
+ siblingPath: Fr[];
635
+ }, {
636
+ leafPreimage: {
637
+ value: string;
638
+ slot: string;
639
+ nextIndex: string | number | bigint;
640
+ nextSlot: string;
641
+ };
642
+ leafIndex: string;
643
+ siblingPath: string[];
644
+ }>, AvmPublicDataReadTreeHint, {
645
+ leafPreimage: {
646
+ value: string;
647
+ slot: string;
648
+ nextIndex: string | number | bigint;
649
+ nextSlot: string;
650
+ };
651
+ leafIndex: string;
652
+ siblingPath: string[];
653
+ }>;
654
+ updatePreimage: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
655
+ }, "strip", z.ZodTypeAny, {
656
+ exists: boolean;
657
+ address: AztecAddress;
658
+ salt: Fr;
659
+ deployer: AztecAddress;
660
+ currentContractClassId: Fr;
661
+ originalContractClassId: Fr;
662
+ initializationHash: Fr;
663
+ publicKeys: PublicKeys;
664
+ updateMembershipHint: AvmPublicDataReadTreeHint;
665
+ updatePreimage: Fr[];
666
+ }, {
667
+ exists: boolean;
668
+ salt: string;
669
+ currentContractClassId: string;
670
+ originalContractClassId: string;
671
+ initializationHash: string;
672
+ publicKeys: {
673
+ masterNullifierPublicKey: string;
674
+ masterIncomingViewingPublicKey: string;
675
+ masterOutgoingViewingPublicKey: string;
676
+ masterTaggingPublicKey: string;
677
+ };
678
+ updateMembershipHint: {
679
+ leafPreimage: {
680
+ value: string;
681
+ slot: string;
682
+ nextIndex: string | number | bigint;
683
+ nextSlot: string;
684
+ };
685
+ leafIndex: string;
686
+ siblingPath: string[];
687
+ };
688
+ updatePreimage: string[];
689
+ address?: any;
690
+ deployer?: any;
691
+ }>, AvmContractInstanceHint, {
692
+ exists: boolean;
693
+ salt: string;
694
+ currentContractClassId: string;
695
+ originalContractClassId: string;
696
+ initializationHash: string;
697
+ publicKeys: {
698
+ masterNullifierPublicKey: string;
699
+ masterIncomingViewingPublicKey: string;
700
+ masterOutgoingViewingPublicKey: string;
701
+ masterTaggingPublicKey: string;
702
+ };
703
+ updateMembershipHint: {
704
+ leafPreimage: {
705
+ value: string;
706
+ slot: string;
707
+ nextIndex: string | number | bigint;
708
+ nextSlot: string;
709
+ };
710
+ leafIndex: string;
711
+ siblingPath: string[];
712
+ };
713
+ updatePreimage: string[];
714
+ address?: any;
715
+ deployer?: any;
716
+ }>, "many">;
717
+ contractClasses: z.ZodArray<z.ZodEffects<z.ZodObject<{
718
+ classId: z.ZodType<Fr, any, string>;
719
+ exists: z.ZodBoolean;
720
+ artifactHash: z.ZodType<Fr, any, string>;
721
+ privateFunctionsRoot: z.ZodType<Fr, any, string>;
722
+ publicBytecodeCommitment: z.ZodType<Fr, any, string>;
723
+ packedBytecode: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Buffer, string>, z.ZodEffects<z.ZodObject<{
724
+ type: z.ZodLiteral<"Buffer">;
725
+ data: z.ZodArray<z.ZodNumber, "many">;
726
+ }, "strip", z.ZodTypeAny, {
727
+ type: "Buffer";
728
+ data: number[];
729
+ }, {
730
+ type: "Buffer";
731
+ data: number[];
732
+ }>, Buffer, {
733
+ type: "Buffer";
734
+ data: number[];
735
+ }>]>;
736
+ }, "strip", z.ZodTypeAny, {
737
+ classId: Fr;
738
+ exists: boolean;
739
+ artifactHash: Fr;
740
+ privateFunctionsRoot: Fr;
741
+ publicBytecodeCommitment: Fr;
742
+ packedBytecode: Buffer;
743
+ }, {
744
+ classId: string;
745
+ exists: boolean;
746
+ artifactHash: string;
747
+ privateFunctionsRoot: string;
748
+ publicBytecodeCommitment: string;
749
+ packedBytecode: string | {
750
+ type: "Buffer";
751
+ data: number[];
752
+ };
753
+ }>, AvmContractClassHint, {
754
+ classId: string;
755
+ exists: boolean;
756
+ artifactHash: string;
757
+ privateFunctionsRoot: string;
758
+ publicBytecodeCommitment: string;
759
+ packedBytecode: string | {
760
+ type: "Buffer";
761
+ data: number[];
762
+ };
763
+ }>, "many">;
764
+ publicDataReads: z.ZodArray<z.ZodEffects<z.ZodObject<{
765
+ leafPreimage: z.ZodEffects<z.ZodObject<{
766
+ slot: z.ZodType<Fr, any, string>;
767
+ value: z.ZodType<Fr, any, string>;
768
+ nextSlot: z.ZodType<Fr, any, string>;
769
+ nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
770
+ }, "strip", z.ZodTypeAny, {
771
+ value: Fr;
772
+ slot: Fr;
773
+ nextIndex: bigint;
774
+ nextSlot: Fr;
775
+ }, {
776
+ value: string;
777
+ slot: string;
778
+ nextIndex: string | number | bigint;
779
+ nextSlot: string;
780
+ }>, PublicDataTreeLeafPreimage, {
781
+ value: string;
782
+ slot: string;
783
+ nextIndex: string | number | bigint;
784
+ nextSlot: string;
785
+ }>;
786
+ leafIndex: z.ZodType<Fr, any, string>;
787
+ siblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
788
+ }, "strip", z.ZodTypeAny, {
789
+ leafPreimage: PublicDataTreeLeafPreimage;
790
+ leafIndex: Fr;
791
+ siblingPath: Fr[];
792
+ }, {
793
+ leafPreimage: {
794
+ value: string;
795
+ slot: string;
796
+ nextIndex: string | number | bigint;
797
+ nextSlot: string;
798
+ };
799
+ leafIndex: string;
800
+ siblingPath: string[];
801
+ }>, AvmPublicDataReadTreeHint, {
802
+ leafPreimage: {
803
+ value: string;
804
+ slot: string;
805
+ nextIndex: string | number | bigint;
806
+ nextSlot: string;
807
+ };
808
+ leafIndex: string;
809
+ siblingPath: string[];
810
+ }>, "many">;
811
+ publicDataWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
812
+ lowLeafRead: z.ZodEffects<z.ZodObject<{
813
+ leafPreimage: z.ZodEffects<z.ZodObject<{
814
+ slot: z.ZodType<Fr, any, string>;
815
+ value: z.ZodType<Fr, any, string>;
816
+ nextSlot: z.ZodType<Fr, any, string>;
817
+ nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
818
+ }, "strip", z.ZodTypeAny, {
819
+ value: Fr;
820
+ slot: Fr;
821
+ nextIndex: bigint;
822
+ nextSlot: Fr;
823
+ }, {
824
+ value: string;
825
+ slot: string;
826
+ nextIndex: string | number | bigint;
827
+ nextSlot: string;
828
+ }>, PublicDataTreeLeafPreimage, {
829
+ value: string;
830
+ slot: string;
831
+ nextIndex: string | number | bigint;
832
+ nextSlot: string;
833
+ }>;
834
+ leafIndex: z.ZodType<Fr, any, string>;
835
+ siblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
836
+ }, "strip", z.ZodTypeAny, {
837
+ leafPreimage: PublicDataTreeLeafPreimage;
838
+ leafIndex: Fr;
839
+ siblingPath: Fr[];
840
+ }, {
841
+ leafPreimage: {
842
+ value: string;
843
+ slot: string;
844
+ nextIndex: string | number | bigint;
845
+ nextSlot: string;
846
+ };
847
+ leafIndex: string;
848
+ siblingPath: string[];
849
+ }>, AvmPublicDataReadTreeHint, {
850
+ leafPreimage: {
851
+ value: string;
852
+ slot: string;
853
+ nextIndex: string | number | bigint;
854
+ nextSlot: string;
855
+ };
856
+ leafIndex: string;
857
+ siblingPath: string[];
858
+ }>;
859
+ newLeafPreimage: z.ZodEffects<z.ZodObject<{
860
+ slot: z.ZodType<Fr, any, string>;
861
+ value: z.ZodType<Fr, any, string>;
862
+ nextSlot: z.ZodType<Fr, any, string>;
863
+ nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
864
+ }, "strip", z.ZodTypeAny, {
865
+ value: Fr;
866
+ slot: Fr;
867
+ nextIndex: bigint;
868
+ nextSlot: Fr;
869
+ }, {
870
+ value: string;
871
+ slot: string;
872
+ nextIndex: string | number | bigint;
873
+ nextSlot: string;
874
+ }>, PublicDataTreeLeafPreimage, {
875
+ value: string;
876
+ slot: string;
877
+ nextIndex: string | number | bigint;
878
+ nextSlot: string;
879
+ }>;
880
+ insertionPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
881
+ }, "strip", z.ZodTypeAny, {
882
+ lowLeafRead: AvmPublicDataReadTreeHint;
883
+ insertionPath: Fr[];
884
+ newLeafPreimage: PublicDataTreeLeafPreimage;
885
+ }, {
886
+ lowLeafRead: {
887
+ leafPreimage: {
888
+ value: string;
889
+ slot: string;
890
+ nextIndex: string | number | bigint;
891
+ nextSlot: string;
892
+ };
893
+ leafIndex: string;
894
+ siblingPath: string[];
895
+ };
896
+ insertionPath: string[];
897
+ newLeafPreimage: {
898
+ value: string;
899
+ slot: string;
900
+ nextIndex: string | number | bigint;
901
+ nextSlot: string;
902
+ };
903
+ }>, AvmPublicDataWriteTreeHint, {
904
+ lowLeafRead: {
905
+ leafPreimage: {
906
+ value: string;
907
+ slot: string;
908
+ nextIndex: string | number | bigint;
909
+ nextSlot: string;
910
+ };
911
+ leafIndex: string;
912
+ siblingPath: string[];
913
+ };
914
+ insertionPath: string[];
915
+ newLeafPreimage: {
916
+ value: string;
917
+ slot: string;
918
+ nextIndex: string | number | bigint;
919
+ nextSlot: string;
920
+ };
921
+ }>, "many">;
922
+ nullifierReads: z.ZodArray<z.ZodEffects<z.ZodObject<{
923
+ lowLeafPreimage: z.ZodEffects<z.ZodObject<{
924
+ nullifier: z.ZodType<Fr, any, string>;
925
+ nextNullifier: z.ZodType<Fr, any, string>;
926
+ nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
927
+ }, "strip", z.ZodTypeAny, {
928
+ nullifier: Fr;
929
+ nextNullifier: Fr;
930
+ nextIndex: bigint;
931
+ }, {
932
+ nullifier: string;
933
+ nextNullifier: string;
934
+ nextIndex: string | number | bigint;
935
+ }>, NullifierLeafPreimage, {
936
+ nullifier: string;
937
+ nextNullifier: string;
938
+ nextIndex: string | number | bigint;
939
+ }>;
940
+ lowLeafIndex: z.ZodType<Fr, any, string>;
941
+ lowLeafSiblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
942
+ }, "strip", z.ZodTypeAny, {
943
+ lowLeafPreimage: NullifierLeafPreimage;
944
+ lowLeafIndex: Fr;
945
+ lowLeafSiblingPath: Fr[];
946
+ }, {
947
+ lowLeafPreimage: {
948
+ nullifier: string;
949
+ nextNullifier: string;
950
+ nextIndex: string | number | bigint;
951
+ };
952
+ lowLeafIndex: string;
953
+ lowLeafSiblingPath: string[];
954
+ }>, AvmNullifierReadTreeHint, {
955
+ lowLeafPreimage: {
956
+ nullifier: string;
957
+ nextNullifier: string;
958
+ nextIndex: string | number | bigint;
959
+ };
960
+ lowLeafIndex: string;
961
+ lowLeafSiblingPath: string[];
962
+ }>, "many">;
963
+ nullifierWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
964
+ lowLeafRead: z.ZodEffects<z.ZodObject<{
965
+ lowLeafPreimage: z.ZodEffects<z.ZodObject<{
966
+ nullifier: z.ZodType<Fr, any, string>;
967
+ nextNullifier: z.ZodType<Fr, any, string>;
968
+ nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
969
+ }, "strip", z.ZodTypeAny, {
970
+ nullifier: Fr;
971
+ nextNullifier: Fr;
972
+ nextIndex: bigint;
973
+ }, {
974
+ nullifier: string;
975
+ nextNullifier: string;
976
+ nextIndex: string | number | bigint;
977
+ }>, NullifierLeafPreimage, {
978
+ nullifier: string;
979
+ nextNullifier: string;
980
+ nextIndex: string | number | bigint;
981
+ }>;
982
+ lowLeafIndex: z.ZodType<Fr, any, string>;
983
+ lowLeafSiblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
984
+ }, "strip", z.ZodTypeAny, {
985
+ lowLeafPreimage: NullifierLeafPreimage;
986
+ lowLeafIndex: Fr;
987
+ lowLeafSiblingPath: Fr[];
988
+ }, {
989
+ lowLeafPreimage: {
990
+ nullifier: string;
991
+ nextNullifier: string;
992
+ nextIndex: string | number | bigint;
993
+ };
994
+ lowLeafIndex: string;
995
+ lowLeafSiblingPath: string[];
996
+ }>, AvmNullifierReadTreeHint, {
997
+ lowLeafPreimage: {
998
+ nullifier: string;
999
+ nextNullifier: string;
1000
+ nextIndex: string | number | bigint;
1001
+ };
1002
+ lowLeafIndex: string;
1003
+ lowLeafSiblingPath: string[];
1004
+ }>;
1005
+ insertionPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1006
+ }, "strip", z.ZodTypeAny, {
1007
+ lowLeafRead: AvmNullifierReadTreeHint;
1008
+ insertionPath: Fr[];
1009
+ }, {
1010
+ lowLeafRead: {
1011
+ lowLeafPreimage: {
1012
+ nullifier: string;
1013
+ nextNullifier: string;
1014
+ nextIndex: string | number | bigint;
1015
+ };
1016
+ lowLeafIndex: string;
1017
+ lowLeafSiblingPath: string[];
1018
+ };
1019
+ insertionPath: string[];
1020
+ }>, AvmNullifierWriteTreeHint, {
1021
+ lowLeafRead: {
1022
+ lowLeafPreimage: {
1023
+ nullifier: string;
1024
+ nextNullifier: string;
1025
+ nextIndex: string | number | bigint;
1026
+ };
1027
+ lowLeafIndex: string;
1028
+ lowLeafSiblingPath: string[];
1029
+ };
1030
+ insertionPath: string[];
1031
+ }>, "many">;
1032
+ noteHashReads: z.ZodArray<z.ZodEffects<z.ZodObject<{
1033
+ leafIndex: z.ZodType<Fr, any, string>;
1034
+ value: z.ZodType<Fr, any, string>;
1035
+ siblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1036
+ }, "strip", z.ZodTypeAny, {
1037
+ value: Fr;
1038
+ leafIndex: Fr;
1039
+ siblingPath: Fr[];
1040
+ }, {
1041
+ value: string;
1042
+ leafIndex: string;
1043
+ siblingPath: string[];
1044
+ }>, AvmAppendTreeHint, {
1045
+ value: string;
1046
+ leafIndex: string;
1047
+ siblingPath: string[];
1048
+ }>, "many">;
1049
+ noteHashWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
1050
+ leafIndex: z.ZodType<Fr, any, string>;
1051
+ value: z.ZodType<Fr, any, string>;
1052
+ siblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1053
+ }, "strip", z.ZodTypeAny, {
1054
+ value: Fr;
1055
+ leafIndex: Fr;
1056
+ siblingPath: Fr[];
1057
+ }, {
1058
+ value: string;
1059
+ leafIndex: string;
1060
+ siblingPath: string[];
1061
+ }>, AvmAppendTreeHint, {
1062
+ value: string;
1063
+ leafIndex: string;
1064
+ siblingPath: string[];
1065
+ }>, "many">;
1066
+ l1ToL2MessageReads: z.ZodArray<z.ZodEffects<z.ZodObject<{
1067
+ leafIndex: z.ZodType<Fr, any, string>;
1068
+ value: z.ZodType<Fr, any, string>;
1069
+ siblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1070
+ }, "strip", z.ZodTypeAny, {
1071
+ value: Fr;
1072
+ leafIndex: Fr;
1073
+ siblingPath: Fr[];
1074
+ }, {
1075
+ value: string;
1076
+ leafIndex: string;
1077
+ siblingPath: string[];
1078
+ }>, AvmAppendTreeHint, {
1079
+ value: string;
1080
+ leafIndex: string;
1081
+ siblingPath: string[];
1082
+ }>, "many">;
1083
+ }, "strip", z.ZodTypeAny, {
1084
+ publicDataWrites: AvmPublicDataWriteTreeHint[];
1085
+ enqueuedCalls: AvmEnqueuedCallHint[];
1086
+ contractInstances: AvmContractInstanceHint[];
1087
+ contractClasses: AvmContractClassHint[];
1088
+ publicDataReads: AvmPublicDataReadTreeHint[];
1089
+ nullifierReads: AvmNullifierReadTreeHint[];
1090
+ nullifierWrites: AvmNullifierWriteTreeHint[];
1091
+ noteHashReads: AvmAppendTreeHint[];
1092
+ noteHashWrites: AvmAppendTreeHint[];
1093
+ l1ToL2MessageReads: AvmAppendTreeHint[];
1094
+ }, {
1095
+ publicDataWrites: {
1096
+ lowLeafRead: {
1097
+ leafPreimage: {
1098
+ value: string;
1099
+ slot: string;
1100
+ nextIndex: string | number | bigint;
1101
+ nextSlot: string;
1102
+ };
1103
+ leafIndex: string;
1104
+ siblingPath: string[];
1105
+ };
1106
+ insertionPath: string[];
1107
+ newLeafPreimage: {
1108
+ value: string;
1109
+ slot: string;
1110
+ nextIndex: string | number | bigint;
1111
+ nextSlot: string;
1112
+ };
1113
+ }[];
1114
+ enqueuedCalls: {
1115
+ calldata: string[];
1116
+ contractAddress?: any;
1117
+ }[];
1118
+ contractInstances: {
1119
+ exists: boolean;
1120
+ salt: string;
1121
+ currentContractClassId: string;
1122
+ originalContractClassId: string;
1123
+ initializationHash: string;
1124
+ publicKeys: {
1125
+ masterNullifierPublicKey: string;
1126
+ masterIncomingViewingPublicKey: string;
1127
+ masterOutgoingViewingPublicKey: string;
1128
+ masterTaggingPublicKey: string;
1129
+ };
1130
+ updateMembershipHint: {
1131
+ leafPreimage: {
1132
+ value: string;
1133
+ slot: string;
1134
+ nextIndex: string | number | bigint;
1135
+ nextSlot: string;
1136
+ };
1137
+ leafIndex: string;
1138
+ siblingPath: string[];
1139
+ };
1140
+ updatePreimage: string[];
1141
+ address?: any;
1142
+ deployer?: any;
1143
+ }[];
1144
+ contractClasses: {
1145
+ classId: string;
1146
+ exists: boolean;
1147
+ artifactHash: string;
1148
+ privateFunctionsRoot: string;
1149
+ publicBytecodeCommitment: string;
1150
+ packedBytecode: string | {
1151
+ type: "Buffer";
1152
+ data: number[];
1153
+ };
1154
+ }[];
1155
+ publicDataReads: {
1156
+ leafPreimage: {
1157
+ value: string;
1158
+ slot: string;
1159
+ nextIndex: string | number | bigint;
1160
+ nextSlot: string;
1161
+ };
1162
+ leafIndex: string;
1163
+ siblingPath: string[];
1164
+ }[];
1165
+ nullifierReads: {
1166
+ lowLeafPreimage: {
1167
+ nullifier: string;
1168
+ nextNullifier: string;
1169
+ nextIndex: string | number | bigint;
1170
+ };
1171
+ lowLeafIndex: string;
1172
+ lowLeafSiblingPath: string[];
1173
+ }[];
1174
+ nullifierWrites: {
1175
+ lowLeafRead: {
1176
+ lowLeafPreimage: {
1177
+ nullifier: string;
1178
+ nextNullifier: string;
1179
+ nextIndex: string | number | bigint;
1180
+ };
1181
+ lowLeafIndex: string;
1182
+ lowLeafSiblingPath: string[];
1183
+ };
1184
+ insertionPath: string[];
1185
+ }[];
1186
+ noteHashReads: {
1187
+ value: string;
1188
+ leafIndex: string;
1189
+ siblingPath: string[];
1190
+ }[];
1191
+ noteHashWrites: {
1192
+ value: string;
1193
+ leafIndex: string;
1194
+ siblingPath: string[];
1195
+ }[];
1196
+ l1ToL2MessageReads: {
1197
+ value: string;
1198
+ leafIndex: string;
1199
+ siblingPath: string[];
1200
+ }[];
1201
+ }>, AvmExecutionHints, {
1202
+ publicDataWrites: {
1203
+ lowLeafRead: {
1204
+ leafPreimage: {
1205
+ value: string;
1206
+ slot: string;
1207
+ nextIndex: string | number | bigint;
1208
+ nextSlot: string;
1209
+ };
1210
+ leafIndex: string;
1211
+ siblingPath: string[];
1212
+ };
1213
+ insertionPath: string[];
1214
+ newLeafPreimage: {
1215
+ value: string;
1216
+ slot: string;
1217
+ nextIndex: string | number | bigint;
1218
+ nextSlot: string;
1219
+ };
1220
+ }[];
1221
+ enqueuedCalls: {
1222
+ calldata: string[];
1223
+ contractAddress?: any;
1224
+ }[];
1225
+ contractInstances: {
1226
+ exists: boolean;
1227
+ salt: string;
1228
+ currentContractClassId: string;
1229
+ originalContractClassId: string;
1230
+ initializationHash: string;
1231
+ publicKeys: {
1232
+ masterNullifierPublicKey: string;
1233
+ masterIncomingViewingPublicKey: string;
1234
+ masterOutgoingViewingPublicKey: string;
1235
+ masterTaggingPublicKey: string;
1236
+ };
1237
+ updateMembershipHint: {
1238
+ leafPreimage: {
1239
+ value: string;
1240
+ slot: string;
1241
+ nextIndex: string | number | bigint;
1242
+ nextSlot: string;
1243
+ };
1244
+ leafIndex: string;
1245
+ siblingPath: string[];
1246
+ };
1247
+ updatePreimage: string[];
1248
+ address?: any;
1249
+ deployer?: any;
1250
+ }[];
1251
+ contractClasses: {
1252
+ classId: string;
1253
+ exists: boolean;
1254
+ artifactHash: string;
1255
+ privateFunctionsRoot: string;
1256
+ publicBytecodeCommitment: string;
1257
+ packedBytecode: string | {
1258
+ type: "Buffer";
1259
+ data: number[];
1260
+ };
1261
+ }[];
1262
+ publicDataReads: {
1263
+ leafPreimage: {
1264
+ value: string;
1265
+ slot: string;
1266
+ nextIndex: string | number | bigint;
1267
+ nextSlot: string;
1268
+ };
1269
+ leafIndex: string;
1270
+ siblingPath: string[];
1271
+ }[];
1272
+ nullifierReads: {
1273
+ lowLeafPreimage: {
1274
+ nullifier: string;
1275
+ nextNullifier: string;
1276
+ nextIndex: string | number | bigint;
1277
+ };
1278
+ lowLeafIndex: string;
1279
+ lowLeafSiblingPath: string[];
1280
+ }[];
1281
+ nullifierWrites: {
1282
+ lowLeafRead: {
1283
+ lowLeafPreimage: {
1284
+ nullifier: string;
1285
+ nextNullifier: string;
1286
+ nextIndex: string | number | bigint;
1287
+ };
1288
+ lowLeafIndex: string;
1289
+ lowLeafSiblingPath: string[];
1290
+ };
1291
+ insertionPath: string[];
1292
+ }[];
1293
+ noteHashReads: {
1294
+ value: string;
1295
+ leafIndex: string;
1296
+ siblingPath: string[];
1297
+ }[];
1298
+ noteHashWrites: {
1299
+ value: string;
1300
+ leafIndex: string;
1301
+ siblingPath: string[];
1302
+ }[];
1303
+ l1ToL2MessageReads: {
1304
+ value: string;
1305
+ leafIndex: string;
1306
+ siblingPath: string[];
1307
+ }[];
1308
+ }>;
427
1309
  }
428
1310
  export declare class AvmCircuitInputs {
429
1311
  readonly functionName: string;
430
1312
  readonly calldata: Fr[];
431
- readonly avmHints: AvmExecutionHints;
1313
+ readonly hints: AvmExecutionHints;
432
1314
  publicInputs: AvmCircuitPublicInputs;
433
1315
  constructor(functionName: string, // only informational
434
- calldata: Fr[], avmHints: AvmExecutionHints, publicInputs: AvmCircuitPublicInputs);
435
- /**
436
- * Serializes the inputs to a buffer.
437
- * @returns - The inputs serialized to a buffer.
438
- */
439
- toBuffer(): Buffer;
440
- /**
441
- * Serializes the inputs to a hex string.
442
- * @returns The instance serialized to a hex string.
443
- */
444
- toString(): `0x${string}`;
1316
+ calldata: Fr[], hints: AvmExecutionHints, publicInputs: AvmCircuitPublicInputs);
445
1317
  static empty(): AvmCircuitInputs;
446
- /**
447
- * Creates a new instance from fields.
448
- * @param fields - Fields to create the instance from.
449
- * @returns A new AvmCircuitInputs instance.
450
- */
451
- static from(fields: FieldsOf<AvmCircuitInputs>): AvmCircuitInputs;
452
- /**
453
- * Extracts fields from an instance.
454
- * @param fields - Fields to create the instance from.
455
- * @returns An array of fields.
456
- */
457
- static getFields(fields: FieldsOf<AvmCircuitInputs>): readonly [string, Fr[], AvmExecutionHints, AvmCircuitPublicInputs];
458
- /**
459
- * Deserializes from a buffer or reader.
460
- * @param buffer - Buffer or reader to read from.
461
- * @returns The deserialized instance.
462
- */
463
- static fromBuffer(buff: Buffer | BufferReader): AvmCircuitInputs;
464
- /**
465
- * Deserializes from a hex string.
466
- * @param str - Hex string to read from.
467
- * @returns The deserialized instance.
468
- */
469
- static fromString(str: string): AvmCircuitInputs;
470
- /** Returns a buffer representation for JSON serialization. */
471
- toJSON(): Buffer;
472
- /** Creates an instance from a hex string. */
473
- static get schema(): import("zod").ZodType<AvmCircuitInputs, any, string>;
474
- /** Serializes in format for the Avm2 */
475
- serializeForAvm2(): Buffer;
1318
+ static get schema(): z.ZodEffects<z.ZodObject<{
1319
+ functionName: z.ZodString;
1320
+ calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1321
+ hints: z.ZodEffects<z.ZodObject<{
1322
+ enqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
1323
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
1324
+ calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1325
+ }, "strip", z.ZodTypeAny, {
1326
+ contractAddress: AztecAddress;
1327
+ calldata: Fr[];
1328
+ }, {
1329
+ calldata: string[];
1330
+ contractAddress?: any;
1331
+ }>, AvmEnqueuedCallHint, {
1332
+ calldata: string[];
1333
+ contractAddress?: any;
1334
+ }>, "many">;
1335
+ contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
1336
+ address: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
1337
+ exists: z.ZodBoolean;
1338
+ salt: z.ZodType<Fr, any, string>;
1339
+ deployer: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
1340
+ currentContractClassId: z.ZodType<Fr, any, string>;
1341
+ originalContractClassId: z.ZodType<Fr, any, string>;
1342
+ initializationHash: z.ZodType<Fr, any, string>;
1343
+ publicKeys: z.ZodEffects<z.ZodObject<{
1344
+ masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1345
+ masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1346
+ masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1347
+ masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1348
+ }, "strip", z.ZodTypeAny, {
1349
+ masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
1350
+ masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
1351
+ masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
1352
+ masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
1353
+ }, {
1354
+ masterNullifierPublicKey: string;
1355
+ masterIncomingViewingPublicKey: string;
1356
+ masterOutgoingViewingPublicKey: string;
1357
+ masterTaggingPublicKey: string;
1358
+ }>, PublicKeys, {
1359
+ masterNullifierPublicKey: string;
1360
+ masterIncomingViewingPublicKey: string;
1361
+ masterOutgoingViewingPublicKey: string;
1362
+ masterTaggingPublicKey: string;
1363
+ }>;
1364
+ updateMembershipHint: z.ZodEffects<z.ZodObject<{
1365
+ leafPreimage: z.ZodEffects<z.ZodObject<{
1366
+ slot: z.ZodType<Fr, any, string>;
1367
+ value: z.ZodType<Fr, any, string>;
1368
+ nextSlot: z.ZodType<Fr, any, string>;
1369
+ nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1370
+ }, "strip", z.ZodTypeAny, {
1371
+ value: Fr;
1372
+ slot: Fr;
1373
+ nextIndex: bigint;
1374
+ nextSlot: Fr;
1375
+ }, {
1376
+ value: string;
1377
+ slot: string;
1378
+ nextIndex: string | number | bigint;
1379
+ nextSlot: string;
1380
+ }>, PublicDataTreeLeafPreimage, {
1381
+ value: string;
1382
+ slot: string;
1383
+ nextIndex: string | number | bigint;
1384
+ nextSlot: string;
1385
+ }>;
1386
+ leafIndex: z.ZodType<Fr, any, string>;
1387
+ siblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1388
+ }, "strip", z.ZodTypeAny, {
1389
+ leafPreimage: PublicDataTreeLeafPreimage;
1390
+ leafIndex: Fr;
1391
+ siblingPath: Fr[];
1392
+ }, {
1393
+ leafPreimage: {
1394
+ value: string;
1395
+ slot: string;
1396
+ nextIndex: string | number | bigint;
1397
+ nextSlot: string;
1398
+ };
1399
+ leafIndex: string;
1400
+ siblingPath: string[];
1401
+ }>, AvmPublicDataReadTreeHint, {
1402
+ leafPreimage: {
1403
+ value: string;
1404
+ slot: string;
1405
+ nextIndex: string | number | bigint;
1406
+ nextSlot: string;
1407
+ };
1408
+ leafIndex: string;
1409
+ siblingPath: string[];
1410
+ }>;
1411
+ updatePreimage: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1412
+ }, "strip", z.ZodTypeAny, {
1413
+ exists: boolean;
1414
+ address: AztecAddress;
1415
+ salt: Fr;
1416
+ deployer: AztecAddress;
1417
+ currentContractClassId: Fr;
1418
+ originalContractClassId: Fr;
1419
+ initializationHash: Fr;
1420
+ publicKeys: PublicKeys;
1421
+ updateMembershipHint: AvmPublicDataReadTreeHint;
1422
+ updatePreimage: Fr[];
1423
+ }, {
1424
+ exists: boolean;
1425
+ salt: string;
1426
+ currentContractClassId: string;
1427
+ originalContractClassId: string;
1428
+ initializationHash: string;
1429
+ publicKeys: {
1430
+ masterNullifierPublicKey: string;
1431
+ masterIncomingViewingPublicKey: string;
1432
+ masterOutgoingViewingPublicKey: string;
1433
+ masterTaggingPublicKey: string;
1434
+ };
1435
+ updateMembershipHint: {
1436
+ leafPreimage: {
1437
+ value: string;
1438
+ slot: string;
1439
+ nextIndex: string | number | bigint;
1440
+ nextSlot: string;
1441
+ };
1442
+ leafIndex: string;
1443
+ siblingPath: string[];
1444
+ };
1445
+ updatePreimage: string[];
1446
+ address?: any;
1447
+ deployer?: any;
1448
+ }>, AvmContractInstanceHint, {
1449
+ exists: boolean;
1450
+ salt: string;
1451
+ currentContractClassId: string;
1452
+ originalContractClassId: string;
1453
+ initializationHash: string;
1454
+ publicKeys: {
1455
+ masterNullifierPublicKey: string;
1456
+ masterIncomingViewingPublicKey: string;
1457
+ masterOutgoingViewingPublicKey: string;
1458
+ masterTaggingPublicKey: string;
1459
+ };
1460
+ updateMembershipHint: {
1461
+ leafPreimage: {
1462
+ value: string;
1463
+ slot: string;
1464
+ nextIndex: string | number | bigint;
1465
+ nextSlot: string;
1466
+ };
1467
+ leafIndex: string;
1468
+ siblingPath: string[];
1469
+ };
1470
+ updatePreimage: string[];
1471
+ address?: any;
1472
+ deployer?: any;
1473
+ }>, "many">;
1474
+ contractClasses: z.ZodArray<z.ZodEffects<z.ZodObject<{
1475
+ classId: z.ZodType<Fr, any, string>;
1476
+ exists: z.ZodBoolean;
1477
+ artifactHash: z.ZodType<Fr, any, string>;
1478
+ privateFunctionsRoot: z.ZodType<Fr, any, string>;
1479
+ publicBytecodeCommitment: z.ZodType<Fr, any, string>;
1480
+ packedBytecode: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Buffer, string>, z.ZodEffects<z.ZodObject<{
1481
+ type: z.ZodLiteral<"Buffer">;
1482
+ data: z.ZodArray<z.ZodNumber, "many">;
1483
+ }, "strip", z.ZodTypeAny, {
1484
+ type: "Buffer";
1485
+ data: number[];
1486
+ }, {
1487
+ type: "Buffer";
1488
+ data: number[];
1489
+ }>, Buffer, {
1490
+ type: "Buffer";
1491
+ data: number[];
1492
+ }>]>;
1493
+ }, "strip", z.ZodTypeAny, {
1494
+ classId: Fr;
1495
+ exists: boolean;
1496
+ artifactHash: Fr;
1497
+ privateFunctionsRoot: Fr;
1498
+ publicBytecodeCommitment: Fr;
1499
+ packedBytecode: Buffer;
1500
+ }, {
1501
+ classId: string;
1502
+ exists: boolean;
1503
+ artifactHash: string;
1504
+ privateFunctionsRoot: string;
1505
+ publicBytecodeCommitment: string;
1506
+ packedBytecode: string | {
1507
+ type: "Buffer";
1508
+ data: number[];
1509
+ };
1510
+ }>, AvmContractClassHint, {
1511
+ classId: string;
1512
+ exists: boolean;
1513
+ artifactHash: string;
1514
+ privateFunctionsRoot: string;
1515
+ publicBytecodeCommitment: string;
1516
+ packedBytecode: string | {
1517
+ type: "Buffer";
1518
+ data: number[];
1519
+ };
1520
+ }>, "many">;
1521
+ publicDataReads: z.ZodArray<z.ZodEffects<z.ZodObject<{
1522
+ leafPreimage: z.ZodEffects<z.ZodObject<{
1523
+ slot: z.ZodType<Fr, any, string>;
1524
+ value: z.ZodType<Fr, any, string>;
1525
+ nextSlot: z.ZodType<Fr, any, string>;
1526
+ nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1527
+ }, "strip", z.ZodTypeAny, {
1528
+ value: Fr;
1529
+ slot: Fr;
1530
+ nextIndex: bigint;
1531
+ nextSlot: Fr;
1532
+ }, {
1533
+ value: string;
1534
+ slot: string;
1535
+ nextIndex: string | number | bigint;
1536
+ nextSlot: string;
1537
+ }>, PublicDataTreeLeafPreimage, {
1538
+ value: string;
1539
+ slot: string;
1540
+ nextIndex: string | number | bigint;
1541
+ nextSlot: string;
1542
+ }>;
1543
+ leafIndex: z.ZodType<Fr, any, string>;
1544
+ siblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1545
+ }, "strip", z.ZodTypeAny, {
1546
+ leafPreimage: PublicDataTreeLeafPreimage;
1547
+ leafIndex: Fr;
1548
+ siblingPath: Fr[];
1549
+ }, {
1550
+ leafPreimage: {
1551
+ value: string;
1552
+ slot: string;
1553
+ nextIndex: string | number | bigint;
1554
+ nextSlot: string;
1555
+ };
1556
+ leafIndex: string;
1557
+ siblingPath: string[];
1558
+ }>, AvmPublicDataReadTreeHint, {
1559
+ leafPreimage: {
1560
+ value: string;
1561
+ slot: string;
1562
+ nextIndex: string | number | bigint;
1563
+ nextSlot: string;
1564
+ };
1565
+ leafIndex: string;
1566
+ siblingPath: string[];
1567
+ }>, "many">;
1568
+ publicDataWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
1569
+ lowLeafRead: z.ZodEffects<z.ZodObject<{
1570
+ leafPreimage: z.ZodEffects<z.ZodObject<{
1571
+ slot: z.ZodType<Fr, any, string>;
1572
+ value: z.ZodType<Fr, any, string>;
1573
+ nextSlot: z.ZodType<Fr, any, string>;
1574
+ nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1575
+ }, "strip", z.ZodTypeAny, {
1576
+ value: Fr;
1577
+ slot: Fr;
1578
+ nextIndex: bigint;
1579
+ nextSlot: Fr;
1580
+ }, {
1581
+ value: string;
1582
+ slot: string;
1583
+ nextIndex: string | number | bigint;
1584
+ nextSlot: string;
1585
+ }>, PublicDataTreeLeafPreimage, {
1586
+ value: string;
1587
+ slot: string;
1588
+ nextIndex: string | number | bigint;
1589
+ nextSlot: string;
1590
+ }>;
1591
+ leafIndex: z.ZodType<Fr, any, string>;
1592
+ siblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1593
+ }, "strip", z.ZodTypeAny, {
1594
+ leafPreimage: PublicDataTreeLeafPreimage;
1595
+ leafIndex: Fr;
1596
+ siblingPath: Fr[];
1597
+ }, {
1598
+ leafPreimage: {
1599
+ value: string;
1600
+ slot: string;
1601
+ nextIndex: string | number | bigint;
1602
+ nextSlot: string;
1603
+ };
1604
+ leafIndex: string;
1605
+ siblingPath: string[];
1606
+ }>, AvmPublicDataReadTreeHint, {
1607
+ leafPreimage: {
1608
+ value: string;
1609
+ slot: string;
1610
+ nextIndex: string | number | bigint;
1611
+ nextSlot: string;
1612
+ };
1613
+ leafIndex: string;
1614
+ siblingPath: string[];
1615
+ }>;
1616
+ newLeafPreimage: z.ZodEffects<z.ZodObject<{
1617
+ slot: z.ZodType<Fr, any, string>;
1618
+ value: z.ZodType<Fr, any, string>;
1619
+ nextSlot: z.ZodType<Fr, any, string>;
1620
+ nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1621
+ }, "strip", z.ZodTypeAny, {
1622
+ value: Fr;
1623
+ slot: Fr;
1624
+ nextIndex: bigint;
1625
+ nextSlot: Fr;
1626
+ }, {
1627
+ value: string;
1628
+ slot: string;
1629
+ nextIndex: string | number | bigint;
1630
+ nextSlot: string;
1631
+ }>, PublicDataTreeLeafPreimage, {
1632
+ value: string;
1633
+ slot: string;
1634
+ nextIndex: string | number | bigint;
1635
+ nextSlot: string;
1636
+ }>;
1637
+ insertionPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1638
+ }, "strip", z.ZodTypeAny, {
1639
+ lowLeafRead: AvmPublicDataReadTreeHint;
1640
+ insertionPath: Fr[];
1641
+ newLeafPreimage: PublicDataTreeLeafPreimage;
1642
+ }, {
1643
+ lowLeafRead: {
1644
+ leafPreimage: {
1645
+ value: string;
1646
+ slot: string;
1647
+ nextIndex: string | number | bigint;
1648
+ nextSlot: string;
1649
+ };
1650
+ leafIndex: string;
1651
+ siblingPath: string[];
1652
+ };
1653
+ insertionPath: string[];
1654
+ newLeafPreimage: {
1655
+ value: string;
1656
+ slot: string;
1657
+ nextIndex: string | number | bigint;
1658
+ nextSlot: string;
1659
+ };
1660
+ }>, AvmPublicDataWriteTreeHint, {
1661
+ lowLeafRead: {
1662
+ leafPreimage: {
1663
+ value: string;
1664
+ slot: string;
1665
+ nextIndex: string | number | bigint;
1666
+ nextSlot: string;
1667
+ };
1668
+ leafIndex: string;
1669
+ siblingPath: string[];
1670
+ };
1671
+ insertionPath: string[];
1672
+ newLeafPreimage: {
1673
+ value: string;
1674
+ slot: string;
1675
+ nextIndex: string | number | bigint;
1676
+ nextSlot: string;
1677
+ };
1678
+ }>, "many">;
1679
+ nullifierReads: z.ZodArray<z.ZodEffects<z.ZodObject<{
1680
+ lowLeafPreimage: z.ZodEffects<z.ZodObject<{
1681
+ nullifier: z.ZodType<Fr, any, string>;
1682
+ nextNullifier: z.ZodType<Fr, any, string>;
1683
+ nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1684
+ }, "strip", z.ZodTypeAny, {
1685
+ nullifier: Fr;
1686
+ nextNullifier: Fr;
1687
+ nextIndex: bigint;
1688
+ }, {
1689
+ nullifier: string;
1690
+ nextNullifier: string;
1691
+ nextIndex: string | number | bigint;
1692
+ }>, NullifierLeafPreimage, {
1693
+ nullifier: string;
1694
+ nextNullifier: string;
1695
+ nextIndex: string | number | bigint;
1696
+ }>;
1697
+ lowLeafIndex: z.ZodType<Fr, any, string>;
1698
+ lowLeafSiblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1699
+ }, "strip", z.ZodTypeAny, {
1700
+ lowLeafPreimage: NullifierLeafPreimage;
1701
+ lowLeafIndex: Fr;
1702
+ lowLeafSiblingPath: Fr[];
1703
+ }, {
1704
+ lowLeafPreimage: {
1705
+ nullifier: string;
1706
+ nextNullifier: string;
1707
+ nextIndex: string | number | bigint;
1708
+ };
1709
+ lowLeafIndex: string;
1710
+ lowLeafSiblingPath: string[];
1711
+ }>, AvmNullifierReadTreeHint, {
1712
+ lowLeafPreimage: {
1713
+ nullifier: string;
1714
+ nextNullifier: string;
1715
+ nextIndex: string | number | bigint;
1716
+ };
1717
+ lowLeafIndex: string;
1718
+ lowLeafSiblingPath: string[];
1719
+ }>, "many">;
1720
+ nullifierWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
1721
+ lowLeafRead: z.ZodEffects<z.ZodObject<{
1722
+ lowLeafPreimage: z.ZodEffects<z.ZodObject<{
1723
+ nullifier: z.ZodType<Fr, any, string>;
1724
+ nextNullifier: z.ZodType<Fr, any, string>;
1725
+ nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1726
+ }, "strip", z.ZodTypeAny, {
1727
+ nullifier: Fr;
1728
+ nextNullifier: Fr;
1729
+ nextIndex: bigint;
1730
+ }, {
1731
+ nullifier: string;
1732
+ nextNullifier: string;
1733
+ nextIndex: string | number | bigint;
1734
+ }>, NullifierLeafPreimage, {
1735
+ nullifier: string;
1736
+ nextNullifier: string;
1737
+ nextIndex: string | number | bigint;
1738
+ }>;
1739
+ lowLeafIndex: z.ZodType<Fr, any, string>;
1740
+ lowLeafSiblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1741
+ }, "strip", z.ZodTypeAny, {
1742
+ lowLeafPreimage: NullifierLeafPreimage;
1743
+ lowLeafIndex: Fr;
1744
+ lowLeafSiblingPath: Fr[];
1745
+ }, {
1746
+ lowLeafPreimage: {
1747
+ nullifier: string;
1748
+ nextNullifier: string;
1749
+ nextIndex: string | number | bigint;
1750
+ };
1751
+ lowLeafIndex: string;
1752
+ lowLeafSiblingPath: string[];
1753
+ }>, AvmNullifierReadTreeHint, {
1754
+ lowLeafPreimage: {
1755
+ nullifier: string;
1756
+ nextNullifier: string;
1757
+ nextIndex: string | number | bigint;
1758
+ };
1759
+ lowLeafIndex: string;
1760
+ lowLeafSiblingPath: string[];
1761
+ }>;
1762
+ insertionPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1763
+ }, "strip", z.ZodTypeAny, {
1764
+ lowLeafRead: AvmNullifierReadTreeHint;
1765
+ insertionPath: Fr[];
1766
+ }, {
1767
+ lowLeafRead: {
1768
+ lowLeafPreimage: {
1769
+ nullifier: string;
1770
+ nextNullifier: string;
1771
+ nextIndex: string | number | bigint;
1772
+ };
1773
+ lowLeafIndex: string;
1774
+ lowLeafSiblingPath: string[];
1775
+ };
1776
+ insertionPath: string[];
1777
+ }>, AvmNullifierWriteTreeHint, {
1778
+ lowLeafRead: {
1779
+ lowLeafPreimage: {
1780
+ nullifier: string;
1781
+ nextNullifier: string;
1782
+ nextIndex: string | number | bigint;
1783
+ };
1784
+ lowLeafIndex: string;
1785
+ lowLeafSiblingPath: string[];
1786
+ };
1787
+ insertionPath: string[];
1788
+ }>, "many">;
1789
+ noteHashReads: z.ZodArray<z.ZodEffects<z.ZodObject<{
1790
+ leafIndex: z.ZodType<Fr, any, string>;
1791
+ value: z.ZodType<Fr, any, string>;
1792
+ siblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1793
+ }, "strip", z.ZodTypeAny, {
1794
+ value: Fr;
1795
+ leafIndex: Fr;
1796
+ siblingPath: Fr[];
1797
+ }, {
1798
+ value: string;
1799
+ leafIndex: string;
1800
+ siblingPath: string[];
1801
+ }>, AvmAppendTreeHint, {
1802
+ value: string;
1803
+ leafIndex: string;
1804
+ siblingPath: string[];
1805
+ }>, "many">;
1806
+ noteHashWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
1807
+ leafIndex: z.ZodType<Fr, any, string>;
1808
+ value: z.ZodType<Fr, any, string>;
1809
+ siblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1810
+ }, "strip", z.ZodTypeAny, {
1811
+ value: Fr;
1812
+ leafIndex: Fr;
1813
+ siblingPath: Fr[];
1814
+ }, {
1815
+ value: string;
1816
+ leafIndex: string;
1817
+ siblingPath: string[];
1818
+ }>, AvmAppendTreeHint, {
1819
+ value: string;
1820
+ leafIndex: string;
1821
+ siblingPath: string[];
1822
+ }>, "many">;
1823
+ l1ToL2MessageReads: z.ZodArray<z.ZodEffects<z.ZodObject<{
1824
+ leafIndex: z.ZodType<Fr, any, string>;
1825
+ value: z.ZodType<Fr, any, string>;
1826
+ siblingPath: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1827
+ }, "strip", z.ZodTypeAny, {
1828
+ value: Fr;
1829
+ leafIndex: Fr;
1830
+ siblingPath: Fr[];
1831
+ }, {
1832
+ value: string;
1833
+ leafIndex: string;
1834
+ siblingPath: string[];
1835
+ }>, AvmAppendTreeHint, {
1836
+ value: string;
1837
+ leafIndex: string;
1838
+ siblingPath: string[];
1839
+ }>, "many">;
1840
+ }, "strip", z.ZodTypeAny, {
1841
+ publicDataWrites: AvmPublicDataWriteTreeHint[];
1842
+ enqueuedCalls: AvmEnqueuedCallHint[];
1843
+ contractInstances: AvmContractInstanceHint[];
1844
+ contractClasses: AvmContractClassHint[];
1845
+ publicDataReads: AvmPublicDataReadTreeHint[];
1846
+ nullifierReads: AvmNullifierReadTreeHint[];
1847
+ nullifierWrites: AvmNullifierWriteTreeHint[];
1848
+ noteHashReads: AvmAppendTreeHint[];
1849
+ noteHashWrites: AvmAppendTreeHint[];
1850
+ l1ToL2MessageReads: AvmAppendTreeHint[];
1851
+ }, {
1852
+ publicDataWrites: {
1853
+ lowLeafRead: {
1854
+ leafPreimage: {
1855
+ value: string;
1856
+ slot: string;
1857
+ nextIndex: string | number | bigint;
1858
+ nextSlot: string;
1859
+ };
1860
+ leafIndex: string;
1861
+ siblingPath: string[];
1862
+ };
1863
+ insertionPath: string[];
1864
+ newLeafPreimage: {
1865
+ value: string;
1866
+ slot: string;
1867
+ nextIndex: string | number | bigint;
1868
+ nextSlot: string;
1869
+ };
1870
+ }[];
1871
+ enqueuedCalls: {
1872
+ calldata: string[];
1873
+ contractAddress?: any;
1874
+ }[];
1875
+ contractInstances: {
1876
+ exists: boolean;
1877
+ salt: string;
1878
+ currentContractClassId: string;
1879
+ originalContractClassId: string;
1880
+ initializationHash: string;
1881
+ publicKeys: {
1882
+ masterNullifierPublicKey: string;
1883
+ masterIncomingViewingPublicKey: string;
1884
+ masterOutgoingViewingPublicKey: string;
1885
+ masterTaggingPublicKey: string;
1886
+ };
1887
+ updateMembershipHint: {
1888
+ leafPreimage: {
1889
+ value: string;
1890
+ slot: string;
1891
+ nextIndex: string | number | bigint;
1892
+ nextSlot: string;
1893
+ };
1894
+ leafIndex: string;
1895
+ siblingPath: string[];
1896
+ };
1897
+ updatePreimage: string[];
1898
+ address?: any;
1899
+ deployer?: any;
1900
+ }[];
1901
+ contractClasses: {
1902
+ classId: string;
1903
+ exists: boolean;
1904
+ artifactHash: string;
1905
+ privateFunctionsRoot: string;
1906
+ publicBytecodeCommitment: string;
1907
+ packedBytecode: string | {
1908
+ type: "Buffer";
1909
+ data: number[];
1910
+ };
1911
+ }[];
1912
+ publicDataReads: {
1913
+ leafPreimage: {
1914
+ value: string;
1915
+ slot: string;
1916
+ nextIndex: string | number | bigint;
1917
+ nextSlot: string;
1918
+ };
1919
+ leafIndex: string;
1920
+ siblingPath: string[];
1921
+ }[];
1922
+ nullifierReads: {
1923
+ lowLeafPreimage: {
1924
+ nullifier: string;
1925
+ nextNullifier: string;
1926
+ nextIndex: string | number | bigint;
1927
+ };
1928
+ lowLeafIndex: string;
1929
+ lowLeafSiblingPath: string[];
1930
+ }[];
1931
+ nullifierWrites: {
1932
+ lowLeafRead: {
1933
+ lowLeafPreimage: {
1934
+ nullifier: string;
1935
+ nextNullifier: string;
1936
+ nextIndex: string | number | bigint;
1937
+ };
1938
+ lowLeafIndex: string;
1939
+ lowLeafSiblingPath: string[];
1940
+ };
1941
+ insertionPath: string[];
1942
+ }[];
1943
+ noteHashReads: {
1944
+ value: string;
1945
+ leafIndex: string;
1946
+ siblingPath: string[];
1947
+ }[];
1948
+ noteHashWrites: {
1949
+ value: string;
1950
+ leafIndex: string;
1951
+ siblingPath: string[];
1952
+ }[];
1953
+ l1ToL2MessageReads: {
1954
+ value: string;
1955
+ leafIndex: string;
1956
+ siblingPath: string[];
1957
+ }[];
1958
+ }>, AvmExecutionHints, {
1959
+ publicDataWrites: {
1960
+ lowLeafRead: {
1961
+ leafPreimage: {
1962
+ value: string;
1963
+ slot: string;
1964
+ nextIndex: string | number | bigint;
1965
+ nextSlot: string;
1966
+ };
1967
+ leafIndex: string;
1968
+ siblingPath: string[];
1969
+ };
1970
+ insertionPath: string[];
1971
+ newLeafPreimage: {
1972
+ value: string;
1973
+ slot: string;
1974
+ nextIndex: string | number | bigint;
1975
+ nextSlot: string;
1976
+ };
1977
+ }[];
1978
+ enqueuedCalls: {
1979
+ calldata: string[];
1980
+ contractAddress?: any;
1981
+ }[];
1982
+ contractInstances: {
1983
+ exists: boolean;
1984
+ salt: string;
1985
+ currentContractClassId: string;
1986
+ originalContractClassId: string;
1987
+ initializationHash: string;
1988
+ publicKeys: {
1989
+ masterNullifierPublicKey: string;
1990
+ masterIncomingViewingPublicKey: string;
1991
+ masterOutgoingViewingPublicKey: string;
1992
+ masterTaggingPublicKey: string;
1993
+ };
1994
+ updateMembershipHint: {
1995
+ leafPreimage: {
1996
+ value: string;
1997
+ slot: string;
1998
+ nextIndex: string | number | bigint;
1999
+ nextSlot: string;
2000
+ };
2001
+ leafIndex: string;
2002
+ siblingPath: string[];
2003
+ };
2004
+ updatePreimage: string[];
2005
+ address?: any;
2006
+ deployer?: any;
2007
+ }[];
2008
+ contractClasses: {
2009
+ classId: string;
2010
+ exists: boolean;
2011
+ artifactHash: string;
2012
+ privateFunctionsRoot: string;
2013
+ publicBytecodeCommitment: string;
2014
+ packedBytecode: string | {
2015
+ type: "Buffer";
2016
+ data: number[];
2017
+ };
2018
+ }[];
2019
+ publicDataReads: {
2020
+ leafPreimage: {
2021
+ value: string;
2022
+ slot: string;
2023
+ nextIndex: string | number | bigint;
2024
+ nextSlot: string;
2025
+ };
2026
+ leafIndex: string;
2027
+ siblingPath: string[];
2028
+ }[];
2029
+ nullifierReads: {
2030
+ lowLeafPreimage: {
2031
+ nullifier: string;
2032
+ nextNullifier: string;
2033
+ nextIndex: string | number | bigint;
2034
+ };
2035
+ lowLeafIndex: string;
2036
+ lowLeafSiblingPath: string[];
2037
+ }[];
2038
+ nullifierWrites: {
2039
+ lowLeafRead: {
2040
+ lowLeafPreimage: {
2041
+ nullifier: string;
2042
+ nextNullifier: string;
2043
+ nextIndex: string | number | bigint;
2044
+ };
2045
+ lowLeafIndex: string;
2046
+ lowLeafSiblingPath: string[];
2047
+ };
2048
+ insertionPath: string[];
2049
+ }[];
2050
+ noteHashReads: {
2051
+ value: string;
2052
+ leafIndex: string;
2053
+ siblingPath: string[];
2054
+ }[];
2055
+ noteHashWrites: {
2056
+ value: string;
2057
+ leafIndex: string;
2058
+ siblingPath: string[];
2059
+ }[];
2060
+ l1ToL2MessageReads: {
2061
+ value: string;
2062
+ leafIndex: string;
2063
+ siblingPath: string[];
2064
+ }[];
2065
+ }>;
2066
+ publicInputs: z.ZodEffects<z.ZodObject<{
2067
+ globalVariables: z.ZodEffects<z.ZodObject<{
2068
+ chainId: import("@aztec/foundation/schemas").ZodFor<Fr>;
2069
+ version: import("@aztec/foundation/schemas").ZodFor<Fr>;
2070
+ blockNumber: import("@aztec/foundation/schemas").ZodFor<Fr>;
2071
+ slotNumber: import("@aztec/foundation/schemas").ZodFor<Fr>;
2072
+ timestamp: import("@aztec/foundation/schemas").ZodFor<Fr>;
2073
+ coinbase: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").EthAddress>;
2074
+ feeRecipient: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2075
+ gasFees: z.ZodEffects<z.ZodObject<{
2076
+ feePerDaGas: z.ZodType<Fr, any, string>;
2077
+ feePerL2Gas: z.ZodType<Fr, any, string>;
2078
+ }, "strip", z.ZodTypeAny, {
2079
+ feePerDaGas: Fr;
2080
+ feePerL2Gas: Fr;
2081
+ }, {
2082
+ feePerDaGas: string;
2083
+ feePerL2Gas: string;
2084
+ }>, import("../gas/gas_fees.js").GasFees, {
2085
+ feePerDaGas: string;
2086
+ feePerL2Gas: string;
2087
+ }>;
2088
+ }, "strip", z.ZodTypeAny, {
2089
+ chainId: Fr;
2090
+ version: Fr;
2091
+ blockNumber: Fr;
2092
+ slotNumber: Fr;
2093
+ timestamp: Fr;
2094
+ coinbase: import("@aztec/foundation/schemas").EthAddress;
2095
+ feeRecipient: AztecAddress;
2096
+ gasFees: import("../gas/gas_fees.js").GasFees;
2097
+ }, {
2098
+ gasFees: {
2099
+ feePerDaGas: string;
2100
+ feePerL2Gas: string;
2101
+ };
2102
+ chainId?: any;
2103
+ version?: any;
2104
+ blockNumber?: any;
2105
+ slotNumber?: any;
2106
+ timestamp?: any;
2107
+ coinbase?: any;
2108
+ feeRecipient?: any;
2109
+ }>, import("../tx/global_variables.js").GlobalVariables, {
2110
+ gasFees: {
2111
+ feePerDaGas: string;
2112
+ feePerL2Gas: string;
2113
+ };
2114
+ chainId?: any;
2115
+ version?: any;
2116
+ blockNumber?: any;
2117
+ slotNumber?: any;
2118
+ timestamp?: any;
2119
+ coinbase?: any;
2120
+ feeRecipient?: any;
2121
+ }>;
2122
+ startTreeSnapshots: z.ZodEffects<z.ZodObject<{
2123
+ l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
2124
+ root: z.ZodType<Fr, any, string>;
2125
+ nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2126
+ }, "strip", z.ZodTypeAny, {
2127
+ root: Fr;
2128
+ nextAvailableLeafIndex: number;
2129
+ }, {
2130
+ root: string;
2131
+ nextAvailableLeafIndex: string | number | bigint;
2132
+ }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
2133
+ root: string;
2134
+ nextAvailableLeafIndex: string | number | bigint;
2135
+ }>;
2136
+ noteHashTree: z.ZodEffects<z.ZodObject<{
2137
+ root: z.ZodType<Fr, any, string>;
2138
+ nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2139
+ }, "strip", z.ZodTypeAny, {
2140
+ root: Fr;
2141
+ nextAvailableLeafIndex: number;
2142
+ }, {
2143
+ root: string;
2144
+ nextAvailableLeafIndex: string | number | bigint;
2145
+ }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
2146
+ root: string;
2147
+ nextAvailableLeafIndex: string | number | bigint;
2148
+ }>;
2149
+ nullifierTree: z.ZodEffects<z.ZodObject<{
2150
+ root: z.ZodType<Fr, any, string>;
2151
+ nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2152
+ }, "strip", z.ZodTypeAny, {
2153
+ root: Fr;
2154
+ nextAvailableLeafIndex: number;
2155
+ }, {
2156
+ root: string;
2157
+ nextAvailableLeafIndex: string | number | bigint;
2158
+ }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
2159
+ root: string;
2160
+ nextAvailableLeafIndex: string | number | bigint;
2161
+ }>;
2162
+ publicDataTree: z.ZodEffects<z.ZodObject<{
2163
+ root: z.ZodType<Fr, any, string>;
2164
+ nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2165
+ }, "strip", z.ZodTypeAny, {
2166
+ root: Fr;
2167
+ nextAvailableLeafIndex: number;
2168
+ }, {
2169
+ root: string;
2170
+ nextAvailableLeafIndex: string | number | bigint;
2171
+ }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
2172
+ root: string;
2173
+ nextAvailableLeafIndex: string | number | bigint;
2174
+ }>;
2175
+ }, "strip", z.ZodTypeAny, {
2176
+ l1ToL2MessageTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
2177
+ noteHashTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
2178
+ nullifierTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
2179
+ publicDataTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
2180
+ }, {
2181
+ l1ToL2MessageTree: {
2182
+ root: string;
2183
+ nextAvailableLeafIndex: string | number | bigint;
2184
+ };
2185
+ noteHashTree: {
2186
+ root: string;
2187
+ nextAvailableLeafIndex: string | number | bigint;
2188
+ };
2189
+ nullifierTree: {
2190
+ root: string;
2191
+ nextAvailableLeafIndex: string | number | bigint;
2192
+ };
2193
+ publicDataTree: {
2194
+ root: string;
2195
+ nextAvailableLeafIndex: string | number | bigint;
2196
+ };
2197
+ }>, import("../tx/tree_snapshots.js").TreeSnapshots, {
2198
+ l1ToL2MessageTree: {
2199
+ root: string;
2200
+ nextAvailableLeafIndex: string | number | bigint;
2201
+ };
2202
+ noteHashTree: {
2203
+ root: string;
2204
+ nextAvailableLeafIndex: string | number | bigint;
2205
+ };
2206
+ nullifierTree: {
2207
+ root: string;
2208
+ nextAvailableLeafIndex: string | number | bigint;
2209
+ };
2210
+ publicDataTree: {
2211
+ root: string;
2212
+ nextAvailableLeafIndex: string | number | bigint;
2213
+ };
2214
+ }>;
2215
+ startGasUsed: z.ZodEffects<z.ZodObject<{
2216
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2217
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2218
+ }, "strip", z.ZodTypeAny, {
2219
+ daGas: number;
2220
+ l2Gas: number;
2221
+ }, {
2222
+ daGas: string | number | bigint;
2223
+ l2Gas: string | number | bigint;
2224
+ }>, import("../gas/gas.js").Gas, {
2225
+ daGas: string | number | bigint;
2226
+ l2Gas: string | number | bigint;
2227
+ }>;
2228
+ gasSettings: z.ZodEffects<z.ZodObject<{
2229
+ gasLimits: z.ZodEffects<z.ZodObject<{
2230
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2231
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2232
+ }, "strip", z.ZodTypeAny, {
2233
+ daGas: number;
2234
+ l2Gas: number;
2235
+ }, {
2236
+ daGas: string | number | bigint;
2237
+ l2Gas: string | number | bigint;
2238
+ }>, import("../gas/gas.js").Gas, {
2239
+ daGas: string | number | bigint;
2240
+ l2Gas: string | number | bigint;
2241
+ }>;
2242
+ teardownGasLimits: z.ZodEffects<z.ZodObject<{
2243
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2244
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2245
+ }, "strip", z.ZodTypeAny, {
2246
+ daGas: number;
2247
+ l2Gas: number;
2248
+ }, {
2249
+ daGas: string | number | bigint;
2250
+ l2Gas: string | number | bigint;
2251
+ }>, import("../gas/gas.js").Gas, {
2252
+ daGas: string | number | bigint;
2253
+ l2Gas: string | number | bigint;
2254
+ }>;
2255
+ maxFeesPerGas: z.ZodEffects<z.ZodObject<{
2256
+ feePerDaGas: z.ZodType<Fr, any, string>;
2257
+ feePerL2Gas: z.ZodType<Fr, any, string>;
2258
+ }, "strip", z.ZodTypeAny, {
2259
+ feePerDaGas: Fr;
2260
+ feePerL2Gas: Fr;
2261
+ }, {
2262
+ feePerDaGas: string;
2263
+ feePerL2Gas: string;
2264
+ }>, import("../gas/gas_fees.js").GasFees, {
2265
+ feePerDaGas: string;
2266
+ feePerL2Gas: string;
2267
+ }>;
2268
+ maxPriorityFeesPerGas: z.ZodEffects<z.ZodObject<{
2269
+ feePerDaGas: z.ZodType<Fr, any, string>;
2270
+ feePerL2Gas: z.ZodType<Fr, any, string>;
2271
+ }, "strip", z.ZodTypeAny, {
2272
+ feePerDaGas: Fr;
2273
+ feePerL2Gas: Fr;
2274
+ }, {
2275
+ feePerDaGas: string;
2276
+ feePerL2Gas: string;
2277
+ }>, import("../gas/gas_fees.js").GasFees, {
2278
+ feePerDaGas: string;
2279
+ feePerL2Gas: string;
2280
+ }>;
2281
+ }, "strip", z.ZodTypeAny, {
2282
+ gasLimits: import("../gas/gas.js").Gas;
2283
+ teardownGasLimits: import("../gas/gas.js").Gas;
2284
+ maxFeesPerGas: import("../gas/gas_fees.js").GasFees;
2285
+ maxPriorityFeesPerGas: import("../gas/gas_fees.js").GasFees;
2286
+ }, {
2287
+ gasLimits: {
2288
+ daGas: string | number | bigint;
2289
+ l2Gas: string | number | bigint;
2290
+ };
2291
+ teardownGasLimits: {
2292
+ daGas: string | number | bigint;
2293
+ l2Gas: string | number | bigint;
2294
+ };
2295
+ maxFeesPerGas: {
2296
+ feePerDaGas: string;
2297
+ feePerL2Gas: string;
2298
+ };
2299
+ maxPriorityFeesPerGas: {
2300
+ feePerDaGas: string;
2301
+ feePerL2Gas: string;
2302
+ };
2303
+ }>, import("../gas/gas_settings.js").GasSettings, {
2304
+ gasLimits: {
2305
+ daGas: string | number | bigint;
2306
+ l2Gas: string | number | bigint;
2307
+ };
2308
+ teardownGasLimits: {
2309
+ daGas: string | number | bigint;
2310
+ l2Gas: string | number | bigint;
2311
+ };
2312
+ maxFeesPerGas: {
2313
+ feePerDaGas: string;
2314
+ feePerL2Gas: string;
2315
+ };
2316
+ maxPriorityFeesPerGas: {
2317
+ feePerDaGas: string;
2318
+ feePerL2Gas: string;
2319
+ };
2320
+ }>;
2321
+ feePayer: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2322
+ publicSetupCallRequests: z.ZodArray<z.ZodEffects<z.ZodObject<{
2323
+ msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2324
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2325
+ functionSelector: import("@aztec/foundation/schemas").ZodFor<import("../abi/function_selector.js").FunctionSelector>;
2326
+ isStaticCall: z.ZodBoolean;
2327
+ argsHash: z.ZodType<Fr, any, string>;
2328
+ }, "strip", z.ZodTypeAny, {
2329
+ contractAddress: AztecAddress;
2330
+ msgSender: AztecAddress;
2331
+ functionSelector: import("../abi/function_selector.js").FunctionSelector;
2332
+ isStaticCall: boolean;
2333
+ argsHash: Fr;
2334
+ }, {
2335
+ isStaticCall: boolean;
2336
+ argsHash: string;
2337
+ contractAddress?: any;
2338
+ msgSender?: any;
2339
+ functionSelector?: any;
2340
+ }>, import("../kernel/public_call_request.js").PublicCallRequest, {
2341
+ isStaticCall: boolean;
2342
+ argsHash: string;
2343
+ contractAddress?: any;
2344
+ msgSender?: any;
2345
+ functionSelector?: any;
2346
+ }>, "many">;
2347
+ publicAppLogicCallRequests: z.ZodArray<z.ZodEffects<z.ZodObject<{
2348
+ msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2349
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2350
+ functionSelector: import("@aztec/foundation/schemas").ZodFor<import("../abi/function_selector.js").FunctionSelector>;
2351
+ isStaticCall: z.ZodBoolean;
2352
+ argsHash: z.ZodType<Fr, any, string>;
2353
+ }, "strip", z.ZodTypeAny, {
2354
+ contractAddress: AztecAddress;
2355
+ msgSender: AztecAddress;
2356
+ functionSelector: import("../abi/function_selector.js").FunctionSelector;
2357
+ isStaticCall: boolean;
2358
+ argsHash: Fr;
2359
+ }, {
2360
+ isStaticCall: boolean;
2361
+ argsHash: string;
2362
+ contractAddress?: any;
2363
+ msgSender?: any;
2364
+ functionSelector?: any;
2365
+ }>, import("../kernel/public_call_request.js").PublicCallRequest, {
2366
+ isStaticCall: boolean;
2367
+ argsHash: string;
2368
+ contractAddress?: any;
2369
+ msgSender?: any;
2370
+ functionSelector?: any;
2371
+ }>, "many">;
2372
+ publicTeardownCallRequest: z.ZodEffects<z.ZodObject<{
2373
+ msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2374
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2375
+ functionSelector: import("@aztec/foundation/schemas").ZodFor<import("../abi/function_selector.js").FunctionSelector>;
2376
+ isStaticCall: z.ZodBoolean;
2377
+ argsHash: z.ZodType<Fr, any, string>;
2378
+ }, "strip", z.ZodTypeAny, {
2379
+ contractAddress: AztecAddress;
2380
+ msgSender: AztecAddress;
2381
+ functionSelector: import("../abi/function_selector.js").FunctionSelector;
2382
+ isStaticCall: boolean;
2383
+ argsHash: Fr;
2384
+ }, {
2385
+ isStaticCall: boolean;
2386
+ argsHash: string;
2387
+ contractAddress?: any;
2388
+ msgSender?: any;
2389
+ functionSelector?: any;
2390
+ }>, import("../kernel/public_call_request.js").PublicCallRequest, {
2391
+ isStaticCall: boolean;
2392
+ argsHash: string;
2393
+ contractAddress?: any;
2394
+ msgSender?: any;
2395
+ functionSelector?: any;
2396
+ }>;
2397
+ previousNonRevertibleAccumulatedDataArrayLengths: z.ZodEffects<z.ZodObject<{
2398
+ noteHashes: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2399
+ nullifiers: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2400
+ l2ToL1Msgs: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2401
+ }, "strip", z.ZodTypeAny, {
2402
+ noteHashes: number;
2403
+ nullifiers: number;
2404
+ l2ToL1Msgs: number;
2405
+ }, {
2406
+ noteHashes: string | number | bigint;
2407
+ nullifiers: string | number | bigint;
2408
+ l2ToL1Msgs: string | number | bigint;
2409
+ }>, import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedDataArrayLengths, {
2410
+ noteHashes: string | number | bigint;
2411
+ nullifiers: string | number | bigint;
2412
+ l2ToL1Msgs: string | number | bigint;
2413
+ }>;
2414
+ previousRevertibleAccumulatedDataArrayLengths: z.ZodEffects<z.ZodObject<{
2415
+ noteHashes: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2416
+ nullifiers: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2417
+ l2ToL1Msgs: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2418
+ }, "strip", z.ZodTypeAny, {
2419
+ noteHashes: number;
2420
+ nullifiers: number;
2421
+ l2ToL1Msgs: number;
2422
+ }, {
2423
+ noteHashes: string | number | bigint;
2424
+ nullifiers: string | number | bigint;
2425
+ l2ToL1Msgs: string | number | bigint;
2426
+ }>, import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedDataArrayLengths, {
2427
+ noteHashes: string | number | bigint;
2428
+ nullifiers: string | number | bigint;
2429
+ l2ToL1Msgs: string | number | bigint;
2430
+ }>;
2431
+ previousNonRevertibleAccumulatedData: z.ZodEffects<z.ZodObject<{
2432
+ noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
2433
+ nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
2434
+ l2ToL1Msgs: z.ZodArray<z.ZodEffects<z.ZodObject<{
2435
+ message: z.ZodEffects<z.ZodObject<{
2436
+ recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
2437
+ content: z.ZodType<Fr, any, string>;
2438
+ counter: z.ZodNumber;
2439
+ }, "strip", z.ZodTypeAny, {
2440
+ counter: number;
2441
+ recipient: import("@aztec/foundation/schemas").EthAddress;
2442
+ content: Fr;
2443
+ }, {
2444
+ counter: number;
2445
+ recipient: string;
2446
+ content: string;
2447
+ }>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
2448
+ counter: number;
2449
+ recipient: string;
2450
+ content: string;
2451
+ }>;
2452
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2453
+ }, "strip", z.ZodTypeAny, {
2454
+ message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
2455
+ contractAddress: AztecAddress;
2456
+ }, {
2457
+ message: {
2458
+ counter: number;
2459
+ recipient: string;
2460
+ content: string;
2461
+ };
2462
+ contractAddress?: any;
2463
+ }>, import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
2464
+ message: {
2465
+ counter: number;
2466
+ recipient: string;
2467
+ content: string;
2468
+ };
2469
+ contractAddress?: any;
2470
+ }>, "many">;
2471
+ }, "strip", z.ZodTypeAny, {
2472
+ noteHashes: Fr[];
2473
+ nullifiers: Fr[];
2474
+ l2ToL1Msgs: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
2475
+ }, {
2476
+ noteHashes: string[];
2477
+ nullifiers: string[];
2478
+ l2ToL1Msgs: {
2479
+ message: {
2480
+ counter: number;
2481
+ recipient: string;
2482
+ content: string;
2483
+ };
2484
+ contractAddress?: any;
2485
+ }[];
2486
+ }>, import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedData, {
2487
+ noteHashes: string[];
2488
+ nullifiers: string[];
2489
+ l2ToL1Msgs: {
2490
+ message: {
2491
+ counter: number;
2492
+ recipient: string;
2493
+ content: string;
2494
+ };
2495
+ contractAddress?: any;
2496
+ }[];
2497
+ }>;
2498
+ previousRevertibleAccumulatedData: z.ZodEffects<z.ZodObject<{
2499
+ noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
2500
+ nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
2501
+ l2ToL1Msgs: z.ZodArray<z.ZodEffects<z.ZodObject<{
2502
+ message: z.ZodEffects<z.ZodObject<{
2503
+ recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
2504
+ content: z.ZodType<Fr, any, string>;
2505
+ counter: z.ZodNumber;
2506
+ }, "strip", z.ZodTypeAny, {
2507
+ counter: number;
2508
+ recipient: import("@aztec/foundation/schemas").EthAddress;
2509
+ content: Fr;
2510
+ }, {
2511
+ counter: number;
2512
+ recipient: string;
2513
+ content: string;
2514
+ }>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
2515
+ counter: number;
2516
+ recipient: string;
2517
+ content: string;
2518
+ }>;
2519
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2520
+ }, "strip", z.ZodTypeAny, {
2521
+ message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
2522
+ contractAddress: AztecAddress;
2523
+ }, {
2524
+ message: {
2525
+ counter: number;
2526
+ recipient: string;
2527
+ content: string;
2528
+ };
2529
+ contractAddress?: any;
2530
+ }>, import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
2531
+ message: {
2532
+ counter: number;
2533
+ recipient: string;
2534
+ content: string;
2535
+ };
2536
+ contractAddress?: any;
2537
+ }>, "many">;
2538
+ }, "strip", z.ZodTypeAny, {
2539
+ noteHashes: Fr[];
2540
+ nullifiers: Fr[];
2541
+ l2ToL1Msgs: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
2542
+ }, {
2543
+ noteHashes: string[];
2544
+ nullifiers: string[];
2545
+ l2ToL1Msgs: {
2546
+ message: {
2547
+ counter: number;
2548
+ recipient: string;
2549
+ content: string;
2550
+ };
2551
+ contractAddress?: any;
2552
+ }[];
2553
+ }>, import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedData, {
2554
+ noteHashes: string[];
2555
+ nullifiers: string[];
2556
+ l2ToL1Msgs: {
2557
+ message: {
2558
+ counter: number;
2559
+ recipient: string;
2560
+ content: string;
2561
+ };
2562
+ contractAddress?: any;
2563
+ }[];
2564
+ }>;
2565
+ endTreeSnapshots: z.ZodEffects<z.ZodObject<{
2566
+ l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
2567
+ root: z.ZodType<Fr, any, string>;
2568
+ nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2569
+ }, "strip", z.ZodTypeAny, {
2570
+ root: Fr;
2571
+ nextAvailableLeafIndex: number;
2572
+ }, {
2573
+ root: string;
2574
+ nextAvailableLeafIndex: string | number | bigint;
2575
+ }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
2576
+ root: string;
2577
+ nextAvailableLeafIndex: string | number | bigint;
2578
+ }>;
2579
+ noteHashTree: z.ZodEffects<z.ZodObject<{
2580
+ root: z.ZodType<Fr, any, string>;
2581
+ nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2582
+ }, "strip", z.ZodTypeAny, {
2583
+ root: Fr;
2584
+ nextAvailableLeafIndex: number;
2585
+ }, {
2586
+ root: string;
2587
+ nextAvailableLeafIndex: string | number | bigint;
2588
+ }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
2589
+ root: string;
2590
+ nextAvailableLeafIndex: string | number | bigint;
2591
+ }>;
2592
+ nullifierTree: z.ZodEffects<z.ZodObject<{
2593
+ root: z.ZodType<Fr, any, string>;
2594
+ nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2595
+ }, "strip", z.ZodTypeAny, {
2596
+ root: Fr;
2597
+ nextAvailableLeafIndex: number;
2598
+ }, {
2599
+ root: string;
2600
+ nextAvailableLeafIndex: string | number | bigint;
2601
+ }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
2602
+ root: string;
2603
+ nextAvailableLeafIndex: string | number | bigint;
2604
+ }>;
2605
+ publicDataTree: z.ZodEffects<z.ZodObject<{
2606
+ root: z.ZodType<Fr, any, string>;
2607
+ nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2608
+ }, "strip", z.ZodTypeAny, {
2609
+ root: Fr;
2610
+ nextAvailableLeafIndex: number;
2611
+ }, {
2612
+ root: string;
2613
+ nextAvailableLeafIndex: string | number | bigint;
2614
+ }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
2615
+ root: string;
2616
+ nextAvailableLeafIndex: string | number | bigint;
2617
+ }>;
2618
+ }, "strip", z.ZodTypeAny, {
2619
+ l1ToL2MessageTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
2620
+ noteHashTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
2621
+ nullifierTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
2622
+ publicDataTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
2623
+ }, {
2624
+ l1ToL2MessageTree: {
2625
+ root: string;
2626
+ nextAvailableLeafIndex: string | number | bigint;
2627
+ };
2628
+ noteHashTree: {
2629
+ root: string;
2630
+ nextAvailableLeafIndex: string | number | bigint;
2631
+ };
2632
+ nullifierTree: {
2633
+ root: string;
2634
+ nextAvailableLeafIndex: string | number | bigint;
2635
+ };
2636
+ publicDataTree: {
2637
+ root: string;
2638
+ nextAvailableLeafIndex: string | number | bigint;
2639
+ };
2640
+ }>, import("../tx/tree_snapshots.js").TreeSnapshots, {
2641
+ l1ToL2MessageTree: {
2642
+ root: string;
2643
+ nextAvailableLeafIndex: string | number | bigint;
2644
+ };
2645
+ noteHashTree: {
2646
+ root: string;
2647
+ nextAvailableLeafIndex: string | number | bigint;
2648
+ };
2649
+ nullifierTree: {
2650
+ root: string;
2651
+ nextAvailableLeafIndex: string | number | bigint;
2652
+ };
2653
+ publicDataTree: {
2654
+ root: string;
2655
+ nextAvailableLeafIndex: string | number | bigint;
2656
+ };
2657
+ }>;
2658
+ endGasUsed: z.ZodEffects<z.ZodObject<{
2659
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2660
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2661
+ }, "strip", z.ZodTypeAny, {
2662
+ daGas: number;
2663
+ l2Gas: number;
2664
+ }, {
2665
+ daGas: string | number | bigint;
2666
+ l2Gas: string | number | bigint;
2667
+ }>, import("../gas/gas.js").Gas, {
2668
+ daGas: string | number | bigint;
2669
+ l2Gas: string | number | bigint;
2670
+ }>;
2671
+ accumulatedData: z.ZodEffects<z.ZodObject<{
2672
+ noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
2673
+ nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
2674
+ l2ToL1Msgs: z.ZodArray<z.ZodEffects<z.ZodObject<{
2675
+ message: z.ZodEffects<z.ZodObject<{
2676
+ recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
2677
+ content: z.ZodType<Fr, any, string>;
2678
+ counter: z.ZodNumber;
2679
+ }, "strip", z.ZodTypeAny, {
2680
+ counter: number;
2681
+ recipient: import("@aztec/foundation/schemas").EthAddress;
2682
+ content: Fr;
2683
+ }, {
2684
+ counter: number;
2685
+ recipient: string;
2686
+ content: string;
2687
+ }>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
2688
+ counter: number;
2689
+ recipient: string;
2690
+ content: string;
2691
+ }>;
2692
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2693
+ }, "strip", z.ZodTypeAny, {
2694
+ message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
2695
+ contractAddress: AztecAddress;
2696
+ }, {
2697
+ message: {
2698
+ counter: number;
2699
+ recipient: string;
2700
+ content: string;
2701
+ };
2702
+ contractAddress?: any;
2703
+ }>, import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
2704
+ message: {
2705
+ counter: number;
2706
+ recipient: string;
2707
+ content: string;
2708
+ };
2709
+ contractAddress?: any;
2710
+ }>, "many">;
2711
+ publicLogs: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("../logs/public_log.js").PublicLog>, "many">;
2712
+ publicDataWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
2713
+ leafSlot: z.ZodType<Fr, any, string>;
2714
+ value: z.ZodType<Fr, any, string>;
2715
+ }, "strip", z.ZodTypeAny, {
2716
+ value: Fr;
2717
+ leafSlot: Fr;
2718
+ }, {
2719
+ value: string;
2720
+ leafSlot: string;
2721
+ }>, import("./public_data_write.js").PublicDataWrite, {
2722
+ value: string;
2723
+ leafSlot: string;
2724
+ }>, "many">;
2725
+ }, "strip", z.ZodTypeAny, {
2726
+ noteHashes: Fr[];
2727
+ nullifiers: Fr[];
2728
+ l2ToL1Msgs: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
2729
+ publicLogs: import("../logs/public_log.js").PublicLog[];
2730
+ publicDataWrites: import("./public_data_write.js").PublicDataWrite[];
2731
+ }, {
2732
+ noteHashes: string[];
2733
+ nullifiers: string[];
2734
+ l2ToL1Msgs: {
2735
+ message: {
2736
+ counter: number;
2737
+ recipient: string;
2738
+ content: string;
2739
+ };
2740
+ contractAddress?: any;
2741
+ }[];
2742
+ publicLogs: any[];
2743
+ publicDataWrites: {
2744
+ value: string;
2745
+ leafSlot: string;
2746
+ }[];
2747
+ }>, import("./avm_accumulated_data.js").AvmAccumulatedData, {
2748
+ noteHashes: string[];
2749
+ nullifiers: string[];
2750
+ l2ToL1Msgs: {
2751
+ message: {
2752
+ counter: number;
2753
+ recipient: string;
2754
+ content: string;
2755
+ };
2756
+ contractAddress?: any;
2757
+ }[];
2758
+ publicLogs: any[];
2759
+ publicDataWrites: {
2760
+ value: string;
2761
+ leafSlot: string;
2762
+ }[];
2763
+ }>;
2764
+ transactionFee: z.ZodType<Fr, any, string>;
2765
+ reverted: z.ZodBoolean;
2766
+ }, "strip", z.ZodTypeAny, {
2767
+ globalVariables: import("../tx/global_variables.js").GlobalVariables;
2768
+ startTreeSnapshots: import("../tx/tree_snapshots.js").TreeSnapshots;
2769
+ startGasUsed: import("../gas/gas.js").Gas;
2770
+ gasSettings: import("../gas/gas_settings.js").GasSettings;
2771
+ feePayer: AztecAddress;
2772
+ publicSetupCallRequests: import("../kernel/public_call_request.js").PublicCallRequest[];
2773
+ publicAppLogicCallRequests: import("../kernel/public_call_request.js").PublicCallRequest[];
2774
+ publicTeardownCallRequest: import("../kernel/public_call_request.js").PublicCallRequest;
2775
+ previousNonRevertibleAccumulatedDataArrayLengths: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedDataArrayLengths;
2776
+ previousRevertibleAccumulatedDataArrayLengths: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedDataArrayLengths;
2777
+ previousNonRevertibleAccumulatedData: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedData;
2778
+ previousRevertibleAccumulatedData: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedData;
2779
+ endTreeSnapshots: import("../tx/tree_snapshots.js").TreeSnapshots;
2780
+ endGasUsed: import("../gas/gas.js").Gas;
2781
+ accumulatedData: import("./avm_accumulated_data.js").AvmAccumulatedData;
2782
+ transactionFee: Fr;
2783
+ reverted: boolean;
2784
+ }, {
2785
+ globalVariables: {
2786
+ gasFees: {
2787
+ feePerDaGas: string;
2788
+ feePerL2Gas: string;
2789
+ };
2790
+ chainId?: any;
2791
+ version?: any;
2792
+ blockNumber?: any;
2793
+ slotNumber?: any;
2794
+ timestamp?: any;
2795
+ coinbase?: any;
2796
+ feeRecipient?: any;
2797
+ };
2798
+ startTreeSnapshots: {
2799
+ l1ToL2MessageTree: {
2800
+ root: string;
2801
+ nextAvailableLeafIndex: string | number | bigint;
2802
+ };
2803
+ noteHashTree: {
2804
+ root: string;
2805
+ nextAvailableLeafIndex: string | number | bigint;
2806
+ };
2807
+ nullifierTree: {
2808
+ root: string;
2809
+ nextAvailableLeafIndex: string | number | bigint;
2810
+ };
2811
+ publicDataTree: {
2812
+ root: string;
2813
+ nextAvailableLeafIndex: string | number | bigint;
2814
+ };
2815
+ };
2816
+ startGasUsed: {
2817
+ daGas: string | number | bigint;
2818
+ l2Gas: string | number | bigint;
2819
+ };
2820
+ gasSettings: {
2821
+ gasLimits: {
2822
+ daGas: string | number | bigint;
2823
+ l2Gas: string | number | bigint;
2824
+ };
2825
+ teardownGasLimits: {
2826
+ daGas: string | number | bigint;
2827
+ l2Gas: string | number | bigint;
2828
+ };
2829
+ maxFeesPerGas: {
2830
+ feePerDaGas: string;
2831
+ feePerL2Gas: string;
2832
+ };
2833
+ maxPriorityFeesPerGas: {
2834
+ feePerDaGas: string;
2835
+ feePerL2Gas: string;
2836
+ };
2837
+ };
2838
+ publicSetupCallRequests: {
2839
+ isStaticCall: boolean;
2840
+ argsHash: string;
2841
+ contractAddress?: any;
2842
+ msgSender?: any;
2843
+ functionSelector?: any;
2844
+ }[];
2845
+ publicAppLogicCallRequests: {
2846
+ isStaticCall: boolean;
2847
+ argsHash: string;
2848
+ contractAddress?: any;
2849
+ msgSender?: any;
2850
+ functionSelector?: any;
2851
+ }[];
2852
+ publicTeardownCallRequest: {
2853
+ isStaticCall: boolean;
2854
+ argsHash: string;
2855
+ contractAddress?: any;
2856
+ msgSender?: any;
2857
+ functionSelector?: any;
2858
+ };
2859
+ previousNonRevertibleAccumulatedDataArrayLengths: {
2860
+ noteHashes: string | number | bigint;
2861
+ nullifiers: string | number | bigint;
2862
+ l2ToL1Msgs: string | number | bigint;
2863
+ };
2864
+ previousRevertibleAccumulatedDataArrayLengths: {
2865
+ noteHashes: string | number | bigint;
2866
+ nullifiers: string | number | bigint;
2867
+ l2ToL1Msgs: string | number | bigint;
2868
+ };
2869
+ previousNonRevertibleAccumulatedData: {
2870
+ noteHashes: string[];
2871
+ nullifiers: string[];
2872
+ l2ToL1Msgs: {
2873
+ message: {
2874
+ counter: number;
2875
+ recipient: string;
2876
+ content: string;
2877
+ };
2878
+ contractAddress?: any;
2879
+ }[];
2880
+ };
2881
+ previousRevertibleAccumulatedData: {
2882
+ noteHashes: string[];
2883
+ nullifiers: string[];
2884
+ l2ToL1Msgs: {
2885
+ message: {
2886
+ counter: number;
2887
+ recipient: string;
2888
+ content: string;
2889
+ };
2890
+ contractAddress?: any;
2891
+ }[];
2892
+ };
2893
+ endTreeSnapshots: {
2894
+ l1ToL2MessageTree: {
2895
+ root: string;
2896
+ nextAvailableLeafIndex: string | number | bigint;
2897
+ };
2898
+ noteHashTree: {
2899
+ root: string;
2900
+ nextAvailableLeafIndex: string | number | bigint;
2901
+ };
2902
+ nullifierTree: {
2903
+ root: string;
2904
+ nextAvailableLeafIndex: string | number | bigint;
2905
+ };
2906
+ publicDataTree: {
2907
+ root: string;
2908
+ nextAvailableLeafIndex: string | number | bigint;
2909
+ };
2910
+ };
2911
+ endGasUsed: {
2912
+ daGas: string | number | bigint;
2913
+ l2Gas: string | number | bigint;
2914
+ };
2915
+ accumulatedData: {
2916
+ noteHashes: string[];
2917
+ nullifiers: string[];
2918
+ l2ToL1Msgs: {
2919
+ message: {
2920
+ counter: number;
2921
+ recipient: string;
2922
+ content: string;
2923
+ };
2924
+ contractAddress?: any;
2925
+ }[];
2926
+ publicLogs: any[];
2927
+ publicDataWrites: {
2928
+ value: string;
2929
+ leafSlot: string;
2930
+ }[];
2931
+ };
2932
+ transactionFee: string;
2933
+ reverted: boolean;
2934
+ feePayer?: any;
2935
+ }>, AvmCircuitPublicInputs, {
2936
+ globalVariables: {
2937
+ gasFees: {
2938
+ feePerDaGas: string;
2939
+ feePerL2Gas: string;
2940
+ };
2941
+ chainId?: any;
2942
+ version?: any;
2943
+ blockNumber?: any;
2944
+ slotNumber?: any;
2945
+ timestamp?: any;
2946
+ coinbase?: any;
2947
+ feeRecipient?: any;
2948
+ };
2949
+ startTreeSnapshots: {
2950
+ l1ToL2MessageTree: {
2951
+ root: string;
2952
+ nextAvailableLeafIndex: string | number | bigint;
2953
+ };
2954
+ noteHashTree: {
2955
+ root: string;
2956
+ nextAvailableLeafIndex: string | number | bigint;
2957
+ };
2958
+ nullifierTree: {
2959
+ root: string;
2960
+ nextAvailableLeafIndex: string | number | bigint;
2961
+ };
2962
+ publicDataTree: {
2963
+ root: string;
2964
+ nextAvailableLeafIndex: string | number | bigint;
2965
+ };
2966
+ };
2967
+ startGasUsed: {
2968
+ daGas: string | number | bigint;
2969
+ l2Gas: string | number | bigint;
2970
+ };
2971
+ gasSettings: {
2972
+ gasLimits: {
2973
+ daGas: string | number | bigint;
2974
+ l2Gas: string | number | bigint;
2975
+ };
2976
+ teardownGasLimits: {
2977
+ daGas: string | number | bigint;
2978
+ l2Gas: string | number | bigint;
2979
+ };
2980
+ maxFeesPerGas: {
2981
+ feePerDaGas: string;
2982
+ feePerL2Gas: string;
2983
+ };
2984
+ maxPriorityFeesPerGas: {
2985
+ feePerDaGas: string;
2986
+ feePerL2Gas: string;
2987
+ };
2988
+ };
2989
+ publicSetupCallRequests: {
2990
+ isStaticCall: boolean;
2991
+ argsHash: string;
2992
+ contractAddress?: any;
2993
+ msgSender?: any;
2994
+ functionSelector?: any;
2995
+ }[];
2996
+ publicAppLogicCallRequests: {
2997
+ isStaticCall: boolean;
2998
+ argsHash: string;
2999
+ contractAddress?: any;
3000
+ msgSender?: any;
3001
+ functionSelector?: any;
3002
+ }[];
3003
+ publicTeardownCallRequest: {
3004
+ isStaticCall: boolean;
3005
+ argsHash: string;
3006
+ contractAddress?: any;
3007
+ msgSender?: any;
3008
+ functionSelector?: any;
3009
+ };
3010
+ previousNonRevertibleAccumulatedDataArrayLengths: {
3011
+ noteHashes: string | number | bigint;
3012
+ nullifiers: string | number | bigint;
3013
+ l2ToL1Msgs: string | number | bigint;
3014
+ };
3015
+ previousRevertibleAccumulatedDataArrayLengths: {
3016
+ noteHashes: string | number | bigint;
3017
+ nullifiers: string | number | bigint;
3018
+ l2ToL1Msgs: string | number | bigint;
3019
+ };
3020
+ previousNonRevertibleAccumulatedData: {
3021
+ noteHashes: string[];
3022
+ nullifiers: string[];
3023
+ l2ToL1Msgs: {
3024
+ message: {
3025
+ counter: number;
3026
+ recipient: string;
3027
+ content: string;
3028
+ };
3029
+ contractAddress?: any;
3030
+ }[];
3031
+ };
3032
+ previousRevertibleAccumulatedData: {
3033
+ noteHashes: string[];
3034
+ nullifiers: string[];
3035
+ l2ToL1Msgs: {
3036
+ message: {
3037
+ counter: number;
3038
+ recipient: string;
3039
+ content: string;
3040
+ };
3041
+ contractAddress?: any;
3042
+ }[];
3043
+ };
3044
+ endTreeSnapshots: {
3045
+ l1ToL2MessageTree: {
3046
+ root: string;
3047
+ nextAvailableLeafIndex: string | number | bigint;
3048
+ };
3049
+ noteHashTree: {
3050
+ root: string;
3051
+ nextAvailableLeafIndex: string | number | bigint;
3052
+ };
3053
+ nullifierTree: {
3054
+ root: string;
3055
+ nextAvailableLeafIndex: string | number | bigint;
3056
+ };
3057
+ publicDataTree: {
3058
+ root: string;
3059
+ nextAvailableLeafIndex: string | number | bigint;
3060
+ };
3061
+ };
3062
+ endGasUsed: {
3063
+ daGas: string | number | bigint;
3064
+ l2Gas: string | number | bigint;
3065
+ };
3066
+ accumulatedData: {
3067
+ noteHashes: string[];
3068
+ nullifiers: string[];
3069
+ l2ToL1Msgs: {
3070
+ message: {
3071
+ counter: number;
3072
+ recipient: string;
3073
+ content: string;
3074
+ };
3075
+ contractAddress?: any;
3076
+ }[];
3077
+ publicLogs: any[];
3078
+ publicDataWrites: {
3079
+ value: string;
3080
+ leafSlot: string;
3081
+ }[];
3082
+ };
3083
+ transactionFee: string;
3084
+ reverted: boolean;
3085
+ feePayer?: any;
3086
+ }>;
3087
+ }, "strip", z.ZodTypeAny, {
3088
+ calldata: Fr[];
3089
+ functionName: string;
3090
+ hints: AvmExecutionHints;
3091
+ publicInputs: AvmCircuitPublicInputs;
3092
+ }, {
3093
+ calldata: string[];
3094
+ functionName: string;
3095
+ hints: {
3096
+ publicDataWrites: {
3097
+ lowLeafRead: {
3098
+ leafPreimage: {
3099
+ value: string;
3100
+ slot: string;
3101
+ nextIndex: string | number | bigint;
3102
+ nextSlot: string;
3103
+ };
3104
+ leafIndex: string;
3105
+ siblingPath: string[];
3106
+ };
3107
+ insertionPath: string[];
3108
+ newLeafPreimage: {
3109
+ value: string;
3110
+ slot: string;
3111
+ nextIndex: string | number | bigint;
3112
+ nextSlot: string;
3113
+ };
3114
+ }[];
3115
+ enqueuedCalls: {
3116
+ calldata: string[];
3117
+ contractAddress?: any;
3118
+ }[];
3119
+ contractInstances: {
3120
+ exists: boolean;
3121
+ salt: string;
3122
+ currentContractClassId: string;
3123
+ originalContractClassId: string;
3124
+ initializationHash: string;
3125
+ publicKeys: {
3126
+ masterNullifierPublicKey: string;
3127
+ masterIncomingViewingPublicKey: string;
3128
+ masterOutgoingViewingPublicKey: string;
3129
+ masterTaggingPublicKey: string;
3130
+ };
3131
+ updateMembershipHint: {
3132
+ leafPreimage: {
3133
+ value: string;
3134
+ slot: string;
3135
+ nextIndex: string | number | bigint;
3136
+ nextSlot: string;
3137
+ };
3138
+ leafIndex: string;
3139
+ siblingPath: string[];
3140
+ };
3141
+ updatePreimage: string[];
3142
+ address?: any;
3143
+ deployer?: any;
3144
+ }[];
3145
+ contractClasses: {
3146
+ classId: string;
3147
+ exists: boolean;
3148
+ artifactHash: string;
3149
+ privateFunctionsRoot: string;
3150
+ publicBytecodeCommitment: string;
3151
+ packedBytecode: string | {
3152
+ type: "Buffer";
3153
+ data: number[];
3154
+ };
3155
+ }[];
3156
+ publicDataReads: {
3157
+ leafPreimage: {
3158
+ value: string;
3159
+ slot: string;
3160
+ nextIndex: string | number | bigint;
3161
+ nextSlot: string;
3162
+ };
3163
+ leafIndex: string;
3164
+ siblingPath: string[];
3165
+ }[];
3166
+ nullifierReads: {
3167
+ lowLeafPreimage: {
3168
+ nullifier: string;
3169
+ nextNullifier: string;
3170
+ nextIndex: string | number | bigint;
3171
+ };
3172
+ lowLeafIndex: string;
3173
+ lowLeafSiblingPath: string[];
3174
+ }[];
3175
+ nullifierWrites: {
3176
+ lowLeafRead: {
3177
+ lowLeafPreimage: {
3178
+ nullifier: string;
3179
+ nextNullifier: string;
3180
+ nextIndex: string | number | bigint;
3181
+ };
3182
+ lowLeafIndex: string;
3183
+ lowLeafSiblingPath: string[];
3184
+ };
3185
+ insertionPath: string[];
3186
+ }[];
3187
+ noteHashReads: {
3188
+ value: string;
3189
+ leafIndex: string;
3190
+ siblingPath: string[];
3191
+ }[];
3192
+ noteHashWrites: {
3193
+ value: string;
3194
+ leafIndex: string;
3195
+ siblingPath: string[];
3196
+ }[];
3197
+ l1ToL2MessageReads: {
3198
+ value: string;
3199
+ leafIndex: string;
3200
+ siblingPath: string[];
3201
+ }[];
3202
+ };
3203
+ publicInputs: {
3204
+ globalVariables: {
3205
+ gasFees: {
3206
+ feePerDaGas: string;
3207
+ feePerL2Gas: string;
3208
+ };
3209
+ chainId?: any;
3210
+ version?: any;
3211
+ blockNumber?: any;
3212
+ slotNumber?: any;
3213
+ timestamp?: any;
3214
+ coinbase?: any;
3215
+ feeRecipient?: any;
3216
+ };
3217
+ startTreeSnapshots: {
3218
+ l1ToL2MessageTree: {
3219
+ root: string;
3220
+ nextAvailableLeafIndex: string | number | bigint;
3221
+ };
3222
+ noteHashTree: {
3223
+ root: string;
3224
+ nextAvailableLeafIndex: string | number | bigint;
3225
+ };
3226
+ nullifierTree: {
3227
+ root: string;
3228
+ nextAvailableLeafIndex: string | number | bigint;
3229
+ };
3230
+ publicDataTree: {
3231
+ root: string;
3232
+ nextAvailableLeafIndex: string | number | bigint;
3233
+ };
3234
+ };
3235
+ startGasUsed: {
3236
+ daGas: string | number | bigint;
3237
+ l2Gas: string | number | bigint;
3238
+ };
3239
+ gasSettings: {
3240
+ gasLimits: {
3241
+ daGas: string | number | bigint;
3242
+ l2Gas: string | number | bigint;
3243
+ };
3244
+ teardownGasLimits: {
3245
+ daGas: string | number | bigint;
3246
+ l2Gas: string | number | bigint;
3247
+ };
3248
+ maxFeesPerGas: {
3249
+ feePerDaGas: string;
3250
+ feePerL2Gas: string;
3251
+ };
3252
+ maxPriorityFeesPerGas: {
3253
+ feePerDaGas: string;
3254
+ feePerL2Gas: string;
3255
+ };
3256
+ };
3257
+ publicSetupCallRequests: {
3258
+ isStaticCall: boolean;
3259
+ argsHash: string;
3260
+ contractAddress?: any;
3261
+ msgSender?: any;
3262
+ functionSelector?: any;
3263
+ }[];
3264
+ publicAppLogicCallRequests: {
3265
+ isStaticCall: boolean;
3266
+ argsHash: string;
3267
+ contractAddress?: any;
3268
+ msgSender?: any;
3269
+ functionSelector?: any;
3270
+ }[];
3271
+ publicTeardownCallRequest: {
3272
+ isStaticCall: boolean;
3273
+ argsHash: string;
3274
+ contractAddress?: any;
3275
+ msgSender?: any;
3276
+ functionSelector?: any;
3277
+ };
3278
+ previousNonRevertibleAccumulatedDataArrayLengths: {
3279
+ noteHashes: string | number | bigint;
3280
+ nullifiers: string | number | bigint;
3281
+ l2ToL1Msgs: string | number | bigint;
3282
+ };
3283
+ previousRevertibleAccumulatedDataArrayLengths: {
3284
+ noteHashes: string | number | bigint;
3285
+ nullifiers: string | number | bigint;
3286
+ l2ToL1Msgs: string | number | bigint;
3287
+ };
3288
+ previousNonRevertibleAccumulatedData: {
3289
+ noteHashes: string[];
3290
+ nullifiers: string[];
3291
+ l2ToL1Msgs: {
3292
+ message: {
3293
+ counter: number;
3294
+ recipient: string;
3295
+ content: string;
3296
+ };
3297
+ contractAddress?: any;
3298
+ }[];
3299
+ };
3300
+ previousRevertibleAccumulatedData: {
3301
+ noteHashes: string[];
3302
+ nullifiers: string[];
3303
+ l2ToL1Msgs: {
3304
+ message: {
3305
+ counter: number;
3306
+ recipient: string;
3307
+ content: string;
3308
+ };
3309
+ contractAddress?: any;
3310
+ }[];
3311
+ };
3312
+ endTreeSnapshots: {
3313
+ l1ToL2MessageTree: {
3314
+ root: string;
3315
+ nextAvailableLeafIndex: string | number | bigint;
3316
+ };
3317
+ noteHashTree: {
3318
+ root: string;
3319
+ nextAvailableLeafIndex: string | number | bigint;
3320
+ };
3321
+ nullifierTree: {
3322
+ root: string;
3323
+ nextAvailableLeafIndex: string | number | bigint;
3324
+ };
3325
+ publicDataTree: {
3326
+ root: string;
3327
+ nextAvailableLeafIndex: string | number | bigint;
3328
+ };
3329
+ };
3330
+ endGasUsed: {
3331
+ daGas: string | number | bigint;
3332
+ l2Gas: string | number | bigint;
3333
+ };
3334
+ accumulatedData: {
3335
+ noteHashes: string[];
3336
+ nullifiers: string[];
3337
+ l2ToL1Msgs: {
3338
+ message: {
3339
+ counter: number;
3340
+ recipient: string;
3341
+ content: string;
3342
+ };
3343
+ contractAddress?: any;
3344
+ }[];
3345
+ publicLogs: any[];
3346
+ publicDataWrites: {
3347
+ value: string;
3348
+ leafSlot: string;
3349
+ }[];
3350
+ };
3351
+ transactionFee: string;
3352
+ reverted: boolean;
3353
+ feePayer?: any;
3354
+ };
3355
+ }>, AvmCircuitInputs, {
3356
+ calldata: string[];
3357
+ functionName: string;
3358
+ hints: {
3359
+ publicDataWrites: {
3360
+ lowLeafRead: {
3361
+ leafPreimage: {
3362
+ value: string;
3363
+ slot: string;
3364
+ nextIndex: string | number | bigint;
3365
+ nextSlot: string;
3366
+ };
3367
+ leafIndex: string;
3368
+ siblingPath: string[];
3369
+ };
3370
+ insertionPath: string[];
3371
+ newLeafPreimage: {
3372
+ value: string;
3373
+ slot: string;
3374
+ nextIndex: string | number | bigint;
3375
+ nextSlot: string;
3376
+ };
3377
+ }[];
3378
+ enqueuedCalls: {
3379
+ calldata: string[];
3380
+ contractAddress?: any;
3381
+ }[];
3382
+ contractInstances: {
3383
+ exists: boolean;
3384
+ salt: string;
3385
+ currentContractClassId: string;
3386
+ originalContractClassId: string;
3387
+ initializationHash: string;
3388
+ publicKeys: {
3389
+ masterNullifierPublicKey: string;
3390
+ masterIncomingViewingPublicKey: string;
3391
+ masterOutgoingViewingPublicKey: string;
3392
+ masterTaggingPublicKey: string;
3393
+ };
3394
+ updateMembershipHint: {
3395
+ leafPreimage: {
3396
+ value: string;
3397
+ slot: string;
3398
+ nextIndex: string | number | bigint;
3399
+ nextSlot: string;
3400
+ };
3401
+ leafIndex: string;
3402
+ siblingPath: string[];
3403
+ };
3404
+ updatePreimage: string[];
3405
+ address?: any;
3406
+ deployer?: any;
3407
+ }[];
3408
+ contractClasses: {
3409
+ classId: string;
3410
+ exists: boolean;
3411
+ artifactHash: string;
3412
+ privateFunctionsRoot: string;
3413
+ publicBytecodeCommitment: string;
3414
+ packedBytecode: string | {
3415
+ type: "Buffer";
3416
+ data: number[];
3417
+ };
3418
+ }[];
3419
+ publicDataReads: {
3420
+ leafPreimage: {
3421
+ value: string;
3422
+ slot: string;
3423
+ nextIndex: string | number | bigint;
3424
+ nextSlot: string;
3425
+ };
3426
+ leafIndex: string;
3427
+ siblingPath: string[];
3428
+ }[];
3429
+ nullifierReads: {
3430
+ lowLeafPreimage: {
3431
+ nullifier: string;
3432
+ nextNullifier: string;
3433
+ nextIndex: string | number | bigint;
3434
+ };
3435
+ lowLeafIndex: string;
3436
+ lowLeafSiblingPath: string[];
3437
+ }[];
3438
+ nullifierWrites: {
3439
+ lowLeafRead: {
3440
+ lowLeafPreimage: {
3441
+ nullifier: string;
3442
+ nextNullifier: string;
3443
+ nextIndex: string | number | bigint;
3444
+ };
3445
+ lowLeafIndex: string;
3446
+ lowLeafSiblingPath: string[];
3447
+ };
3448
+ insertionPath: string[];
3449
+ }[];
3450
+ noteHashReads: {
3451
+ value: string;
3452
+ leafIndex: string;
3453
+ siblingPath: string[];
3454
+ }[];
3455
+ noteHashWrites: {
3456
+ value: string;
3457
+ leafIndex: string;
3458
+ siblingPath: string[];
3459
+ }[];
3460
+ l1ToL2MessageReads: {
3461
+ value: string;
3462
+ leafIndex: string;
3463
+ siblingPath: string[];
3464
+ }[];
3465
+ };
3466
+ publicInputs: {
3467
+ globalVariables: {
3468
+ gasFees: {
3469
+ feePerDaGas: string;
3470
+ feePerL2Gas: string;
3471
+ };
3472
+ chainId?: any;
3473
+ version?: any;
3474
+ blockNumber?: any;
3475
+ slotNumber?: any;
3476
+ timestamp?: any;
3477
+ coinbase?: any;
3478
+ feeRecipient?: any;
3479
+ };
3480
+ startTreeSnapshots: {
3481
+ l1ToL2MessageTree: {
3482
+ root: string;
3483
+ nextAvailableLeafIndex: string | number | bigint;
3484
+ };
3485
+ noteHashTree: {
3486
+ root: string;
3487
+ nextAvailableLeafIndex: string | number | bigint;
3488
+ };
3489
+ nullifierTree: {
3490
+ root: string;
3491
+ nextAvailableLeafIndex: string | number | bigint;
3492
+ };
3493
+ publicDataTree: {
3494
+ root: string;
3495
+ nextAvailableLeafIndex: string | number | bigint;
3496
+ };
3497
+ };
3498
+ startGasUsed: {
3499
+ daGas: string | number | bigint;
3500
+ l2Gas: string | number | bigint;
3501
+ };
3502
+ gasSettings: {
3503
+ gasLimits: {
3504
+ daGas: string | number | bigint;
3505
+ l2Gas: string | number | bigint;
3506
+ };
3507
+ teardownGasLimits: {
3508
+ daGas: string | number | bigint;
3509
+ l2Gas: string | number | bigint;
3510
+ };
3511
+ maxFeesPerGas: {
3512
+ feePerDaGas: string;
3513
+ feePerL2Gas: string;
3514
+ };
3515
+ maxPriorityFeesPerGas: {
3516
+ feePerDaGas: string;
3517
+ feePerL2Gas: string;
3518
+ };
3519
+ };
3520
+ publicSetupCallRequests: {
3521
+ isStaticCall: boolean;
3522
+ argsHash: string;
3523
+ contractAddress?: any;
3524
+ msgSender?: any;
3525
+ functionSelector?: any;
3526
+ }[];
3527
+ publicAppLogicCallRequests: {
3528
+ isStaticCall: boolean;
3529
+ argsHash: string;
3530
+ contractAddress?: any;
3531
+ msgSender?: any;
3532
+ functionSelector?: any;
3533
+ }[];
3534
+ publicTeardownCallRequest: {
3535
+ isStaticCall: boolean;
3536
+ argsHash: string;
3537
+ contractAddress?: any;
3538
+ msgSender?: any;
3539
+ functionSelector?: any;
3540
+ };
3541
+ previousNonRevertibleAccumulatedDataArrayLengths: {
3542
+ noteHashes: string | number | bigint;
3543
+ nullifiers: string | number | bigint;
3544
+ l2ToL1Msgs: string | number | bigint;
3545
+ };
3546
+ previousRevertibleAccumulatedDataArrayLengths: {
3547
+ noteHashes: string | number | bigint;
3548
+ nullifiers: string | number | bigint;
3549
+ l2ToL1Msgs: string | number | bigint;
3550
+ };
3551
+ previousNonRevertibleAccumulatedData: {
3552
+ noteHashes: string[];
3553
+ nullifiers: string[];
3554
+ l2ToL1Msgs: {
3555
+ message: {
3556
+ counter: number;
3557
+ recipient: string;
3558
+ content: string;
3559
+ };
3560
+ contractAddress?: any;
3561
+ }[];
3562
+ };
3563
+ previousRevertibleAccumulatedData: {
3564
+ noteHashes: string[];
3565
+ nullifiers: string[];
3566
+ l2ToL1Msgs: {
3567
+ message: {
3568
+ counter: number;
3569
+ recipient: string;
3570
+ content: string;
3571
+ };
3572
+ contractAddress?: any;
3573
+ }[];
3574
+ };
3575
+ endTreeSnapshots: {
3576
+ l1ToL2MessageTree: {
3577
+ root: string;
3578
+ nextAvailableLeafIndex: string | number | bigint;
3579
+ };
3580
+ noteHashTree: {
3581
+ root: string;
3582
+ nextAvailableLeafIndex: string | number | bigint;
3583
+ };
3584
+ nullifierTree: {
3585
+ root: string;
3586
+ nextAvailableLeafIndex: string | number | bigint;
3587
+ };
3588
+ publicDataTree: {
3589
+ root: string;
3590
+ nextAvailableLeafIndex: string | number | bigint;
3591
+ };
3592
+ };
3593
+ endGasUsed: {
3594
+ daGas: string | number | bigint;
3595
+ l2Gas: string | number | bigint;
3596
+ };
3597
+ accumulatedData: {
3598
+ noteHashes: string[];
3599
+ nullifiers: string[];
3600
+ l2ToL1Msgs: {
3601
+ message: {
3602
+ counter: number;
3603
+ recipient: string;
3604
+ content: string;
3605
+ };
3606
+ contractAddress?: any;
3607
+ }[];
3608
+ publicLogs: any[];
3609
+ publicDataWrites: {
3610
+ value: string;
3611
+ leafSlot: string;
3612
+ }[];
3613
+ };
3614
+ transactionFee: string;
3615
+ reverted: boolean;
3616
+ feePayer?: any;
3617
+ };
3618
+ }>;
3619
+ serializeWithMessagePack(): Buffer;
3620
+ toBuffer(): Buffer;
3621
+ static fromBuffer(buf: Buffer): Promise<AvmCircuitInputs>;
476
3622
  }
477
- export declare function serializeWithMessagePack(obj: any): Buffer;
478
3623
  //# sourceMappingURL=avm.d.ts.map