@aztec/stdlib 0.82.2-alpha-testnet.4 → 0.82.3

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 (114) hide show
  1. package/dest/avm/avm.d.ts +919 -1252
  2. package/dest/avm/avm.d.ts.map +1 -1
  3. package/dest/avm/avm.js +138 -111
  4. package/dest/avm/avm_proving_request.d.ts +400 -575
  5. package/dest/avm/avm_proving_request.d.ts.map +1 -1
  6. package/dest/block/l2_block_downloader/l2_block_stream.d.ts +1 -0
  7. package/dest/block/l2_block_downloader/l2_block_stream.d.ts.map +1 -1
  8. package/dest/block/l2_block_downloader/l2_block_stream.js +6 -0
  9. package/dest/database-version/version_manager.d.ts +4 -2
  10. package/dest/database-version/version_manager.d.ts.map +1 -1
  11. package/dest/database-version/version_manager.js +13 -9
  12. package/dest/epoch-helpers/index.d.ts +2 -0
  13. package/dest/epoch-helpers/index.d.ts.map +1 -1
  14. package/dest/epoch-helpers/index.js +3 -0
  15. package/dest/file-store/factory.d.ts +7 -0
  16. package/dest/file-store/factory.d.ts.map +1 -0
  17. package/dest/file-store/factory.js +46 -0
  18. package/dest/file-store/gcs.d.ts +22 -0
  19. package/dest/file-store/gcs.d.ts.map +1 -0
  20. package/dest/file-store/gcs.js +115 -0
  21. package/dest/file-store/http.d.ts +15 -0
  22. package/dest/file-store/http.d.ts.map +1 -0
  23. package/dest/file-store/http.js +53 -0
  24. package/dest/file-store/index.d.ts +3 -0
  25. package/dest/file-store/index.d.ts.map +1 -0
  26. package/dest/file-store/index.js +2 -0
  27. package/dest/file-store/interface.d.ts +24 -0
  28. package/dest/file-store/interface.d.ts.map +1 -0
  29. package/dest/file-store/interface.js +1 -0
  30. package/dest/file-store/local.d.ts +16 -0
  31. package/dest/file-store/local.d.ts.map +1 -0
  32. package/dest/file-store/local.js +40 -0
  33. package/dest/interfaces/aztec-node-admin.d.ts +9 -1
  34. package/dest/interfaces/aztec-node-admin.d.ts.map +1 -1
  35. package/dest/interfaces/aztec-node-admin.js +2 -1
  36. package/dest/interfaces/aztec-node.d.ts +3 -0
  37. package/dest/interfaces/aztec-node.d.ts.map +1 -1
  38. package/dest/interfaces/aztec-node.js +2 -0
  39. package/dest/interfaces/p2p.d.ts +2 -0
  40. package/dest/interfaces/p2p.d.ts.map +1 -1
  41. package/dest/interfaces/p2p.js +2 -1
  42. package/dest/interfaces/prover-node.d.ts +4 -0
  43. package/dest/interfaces/prover-node.d.ts.map +1 -1
  44. package/dest/interfaces/prover-node.js +5 -1
  45. package/dest/interfaces/proving-job.d.ts +400 -575
  46. package/dest/interfaces/proving-job.d.ts.map +1 -1
  47. package/dest/interfaces/service.d.ts +3 -0
  48. package/dest/interfaces/service.d.ts.map +1 -1
  49. package/dest/interfaces/service.js +7 -0
  50. package/dest/interfaces/world_state.d.ts +13 -15
  51. package/dest/interfaces/world_state.d.ts.map +1 -1
  52. package/dest/snapshots/download.d.ts +9 -0
  53. package/dest/snapshots/download.d.ts.map +1 -0
  54. package/dest/snapshots/download.js +37 -0
  55. package/dest/snapshots/index.d.ts +4 -0
  56. package/dest/snapshots/index.d.ts.map +1 -0
  57. package/dest/snapshots/index.js +3 -0
  58. package/dest/snapshots/types.d.ts +97 -0
  59. package/dest/snapshots/types.d.ts.map +1 -0
  60. package/dest/snapshots/types.js +27 -0
  61. package/dest/snapshots/upload.d.ts +5 -0
  62. package/dest/snapshots/upload.d.ts.map +1 -0
  63. package/dest/snapshots/upload.js +37 -0
  64. package/dest/tests/factories.d.ts +13 -7
  65. package/dest/tests/factories.d.ts.map +1 -1
  66. package/dest/tests/factories.js +37 -25
  67. package/dest/trees/merkle_tree_id.d.ts +8 -0
  68. package/dest/trees/merkle_tree_id.d.ts.map +1 -1
  69. package/dest/trees/merkle_tree_id.js +10 -0
  70. package/dest/trees/nullifier_leaf.d.ts +11 -2
  71. package/dest/trees/nullifier_leaf.d.ts.map +1 -1
  72. package/dest/trees/nullifier_leaf.js +12 -7
  73. package/dest/trees/nullifier_membership_witness.d.ts +7 -7
  74. package/dest/trees/public_data_leaf.d.ts +13 -0
  75. package/dest/trees/public_data_leaf.d.ts.map +1 -1
  76. package/dest/trees/public_data_leaf.js +6 -0
  77. package/dest/trees/public_data_witness.d.ts +7 -7
  78. package/dest/validators/index.d.ts +3 -0
  79. package/dest/validators/index.d.ts.map +1 -0
  80. package/dest/validators/index.js +1 -0
  81. package/dest/validators/schemas.d.ts +342 -0
  82. package/dest/validators/schemas.d.ts.map +1 -0
  83. package/dest/validators/schemas.js +40 -0
  84. package/dest/validators/types.d.ts +39 -0
  85. package/dest/validators/types.d.ts.map +1 -0
  86. package/dest/validators/types.js +1 -0
  87. package/package.json +11 -7
  88. package/src/avm/avm.ts +131 -106
  89. package/src/block/l2_block_downloader/l2_block_stream.ts +6 -0
  90. package/src/database-version/version_manager.ts +12 -8
  91. package/src/epoch-helpers/index.ts +8 -0
  92. package/src/file-store/factory.ts +61 -0
  93. package/src/file-store/gcs.ts +121 -0
  94. package/src/file-store/http.ts +58 -0
  95. package/src/file-store/index.ts +2 -0
  96. package/src/file-store/interface.ts +19 -0
  97. package/src/file-store/local.ts +46 -0
  98. package/src/interfaces/aztec-node-admin.ts +11 -1
  99. package/src/interfaces/aztec-node.ts +7 -0
  100. package/src/interfaces/p2p.ts +4 -0
  101. package/src/interfaces/prover-node.ts +10 -0
  102. package/src/interfaces/service.ts +13 -0
  103. package/src/interfaces/world_state.ts +17 -15
  104. package/src/snapshots/download.ts +60 -0
  105. package/src/snapshots/index.ts +3 -0
  106. package/src/snapshots/types.ts +58 -0
  107. package/src/snapshots/upload.ts +53 -0
  108. package/src/tests/factories.ts +74 -54
  109. package/src/trees/merkle_tree_id.ts +12 -0
  110. package/src/trees/nullifier_leaf.ts +9 -5
  111. package/src/trees/public_data_leaf.ts +9 -0
  112. package/src/validators/index.ts +3 -0
  113. package/src/validators/schemas.ts +53 -0
  114. package/src/validators/types.ts +37 -0
@@ -175,357 +175,248 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
175
175
  classId: string;
176
176
  commitment: string;
177
177
  }>, "many">;
178
- publicDataReads: z.ZodArray<z.ZodEffects<z.ZodObject<{
179
- leafPreimage: z.ZodEffects<z.ZodObject<{
180
- slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
181
- value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
182
- nextSlot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
183
- nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
178
+ getSiblingPathHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
179
+ hintKey: z.ZodEffects<z.ZodObject<{
180
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
181
+ nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
184
182
  }, "strip", z.ZodTypeAny, {
185
- value: import("@aztec/foundation/schemas").Fr;
186
- slot: import("@aztec/foundation/schemas").Fr;
187
- nextIndex: bigint;
188
- nextSlot: import("@aztec/foundation/schemas").Fr;
183
+ root: import("@aztec/foundation/schemas").Fr;
184
+ nextAvailableLeafIndex: number;
189
185
  }, {
190
- value: string;
191
- slot: string;
192
- nextIndex: string | number | bigint;
193
- nextSlot: string;
194
- }>, import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage, {
195
- value: string;
196
- slot: string;
197
- nextIndex: string | number | bigint;
198
- nextSlot: string;
186
+ root: string;
187
+ nextAvailableLeafIndex: string | number | bigint;
188
+ }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
189
+ root: string;
190
+ nextAvailableLeafIndex: string | number | bigint;
199
191
  }>;
200
- leafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
201
- siblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
192
+ treeId: z.ZodNumber;
193
+ index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
194
+ path: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
202
195
  }, "strip", z.ZodTypeAny, {
203
- leafIndex: import("@aztec/foundation/schemas").Fr;
204
- siblingPath: import("@aztec/foundation/schemas").Fr[];
205
- leafPreimage: import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
196
+ path: import("@aztec/foundation/schemas").Fr[];
197
+ index: bigint;
198
+ hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
199
+ treeId: number;
206
200
  }, {
207
- leafIndex: string;
208
- siblingPath: string[];
209
- leafPreimage: {
210
- value: string;
211
- slot: string;
212
- nextIndex: string | number | bigint;
213
- nextSlot: string;
214
- };
215
- }>, import("../avm/avm.js").AvmPublicDataReadTreeHint, {
216
- leafIndex: string;
217
- siblingPath: string[];
218
- leafPreimage: {
219
- value: string;
220
- slot: string;
221
- nextIndex: string | number | bigint;
222
- nextSlot: string;
201
+ path: string[];
202
+ index: string | number | bigint;
203
+ hintKey: {
204
+ root: string;
205
+ nextAvailableLeafIndex: string | number | bigint;
206
+ };
207
+ treeId: number;
208
+ }>, import("../avm/avm.js").AvmGetSiblingPathHint, {
209
+ path: string[];
210
+ index: string | number | bigint;
211
+ hintKey: {
212
+ root: string;
213
+ nextAvailableLeafIndex: string | number | bigint;
223
214
  };
215
+ treeId: number;
224
216
  }>, "many">;
225
- publicDataWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
226
- lowLeafRead: z.ZodEffects<z.ZodObject<{
227
- leafPreimage: z.ZodEffects<z.ZodObject<{
228
- slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
229
- value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
230
- nextSlot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
231
- nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
232
- }, "strip", z.ZodTypeAny, {
233
- value: import("@aztec/foundation/schemas").Fr;
234
- slot: import("@aztec/foundation/schemas").Fr;
235
- nextIndex: bigint;
236
- nextSlot: import("@aztec/foundation/schemas").Fr;
237
- }, {
238
- value: string;
239
- slot: string;
240
- nextIndex: string | number | bigint;
241
- nextSlot: string;
242
- }>, import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage, {
243
- value: string;
244
- slot: string;
245
- nextIndex: string | number | bigint;
246
- nextSlot: string;
247
- }>;
248
- leafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
249
- siblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
250
- }, "strip", z.ZodTypeAny, {
251
- leafIndex: import("@aztec/foundation/schemas").Fr;
252
- siblingPath: import("@aztec/foundation/schemas").Fr[];
253
- leafPreimage: import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
254
- }, {
255
- leafIndex: string;
256
- siblingPath: string[];
257
- leafPreimage: {
258
- value: string;
259
- slot: string;
260
- nextIndex: string | number | bigint;
261
- nextSlot: string;
262
- };
263
- }>, import("../avm/avm.js").AvmPublicDataReadTreeHint, {
264
- leafIndex: string;
265
- siblingPath: string[];
266
- leafPreimage: {
267
- value: string;
268
- slot: string;
269
- nextIndex: string | number | bigint;
270
- nextSlot: string;
271
- };
272
- }>;
273
- newLeafPreimage: z.ZodEffects<z.ZodObject<{
274
- slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
275
- value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
276
- nextSlot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
277
- nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
217
+ getPreviousValueIndexHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
218
+ hintKey: z.ZodEffects<z.ZodObject<{
219
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
220
+ nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
278
221
  }, "strip", z.ZodTypeAny, {
279
- value: import("@aztec/foundation/schemas").Fr;
280
- slot: import("@aztec/foundation/schemas").Fr;
281
- nextIndex: bigint;
282
- nextSlot: import("@aztec/foundation/schemas").Fr;
222
+ root: import("@aztec/foundation/schemas").Fr;
223
+ nextAvailableLeafIndex: number;
283
224
  }, {
284
- value: string;
285
- slot: string;
286
- nextIndex: string | number | bigint;
287
- nextSlot: string;
288
- }>, import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage, {
289
- value: string;
290
- slot: string;
291
- nextIndex: string | number | bigint;
292
- nextSlot: string;
225
+ root: string;
226
+ nextAvailableLeafIndex: string | number | bigint;
227
+ }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
228
+ root: string;
229
+ nextAvailableLeafIndex: string | number | bigint;
293
230
  }>;
294
- insertionPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
231
+ treeId: z.ZodNumber;
232
+ value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
233
+ index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
234
+ alreadyPresent: z.ZodBoolean;
295
235
  }, "strip", z.ZodTypeAny, {
296
- lowLeafRead: import("../avm/avm.js").AvmPublicDataReadTreeHint;
297
- insertionPath: import("@aztec/foundation/schemas").Fr[];
298
- newLeafPreimage: import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
236
+ value: import("@aztec/foundation/schemas").Fr;
237
+ index: bigint;
238
+ hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
239
+ treeId: number;
240
+ alreadyPresent: boolean;
299
241
  }, {
300
- lowLeafRead: {
301
- leafIndex: string;
302
- siblingPath: string[];
303
- leafPreimage: {
304
- value: string;
305
- slot: string;
306
- nextIndex: string | number | bigint;
307
- nextSlot: string;
308
- };
309
- };
310
- insertionPath: string[];
311
- newLeafPreimage: {
312
- value: string;
313
- slot: string;
314
- nextIndex: string | number | bigint;
315
- nextSlot: string;
316
- };
317
- }>, import("../avm/avm.js").AvmPublicDataWriteTreeHint, {
318
- lowLeafRead: {
319
- leafIndex: string;
320
- siblingPath: string[];
321
- leafPreimage: {
322
- value: string;
323
- slot: string;
324
- nextIndex: string | number | bigint;
325
- nextSlot: string;
326
- };
242
+ value: string;
243
+ index: string | number | bigint;
244
+ hintKey: {
245
+ root: string;
246
+ nextAvailableLeafIndex: string | number | bigint;
327
247
  };
328
- insertionPath: string[];
329
- newLeafPreimage: {
330
- value: string;
331
- slot: string;
332
- nextIndex: string | number | bigint;
333
- nextSlot: string;
248
+ treeId: number;
249
+ alreadyPresent: boolean;
250
+ }>, import("../avm/avm.js").AvmGetPreviousValueIndexHint, {
251
+ value: string;
252
+ index: string | number | bigint;
253
+ hintKey: {
254
+ root: string;
255
+ nextAvailableLeafIndex: string | number | bigint;
334
256
  };
257
+ treeId: number;
258
+ alreadyPresent: boolean;
335
259
  }>, "many">;
336
- nullifierReads: z.ZodArray<z.ZodEffects<z.ZodObject<{
337
- lowLeafPreimage: z.ZodEffects<z.ZodObject<{
338
- nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
339
- nextNullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
340
- nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
260
+ getLeafPreimageHintsPublicDataTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
261
+ hintKey: z.ZodEffects<z.ZodObject<{
262
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
263
+ nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
341
264
  }, "strip", z.ZodTypeAny, {
342
- nullifier: import("@aztec/foundation/schemas").Fr;
343
- nextNullifier: import("@aztec/foundation/schemas").Fr;
344
- nextIndex: bigint;
265
+ root: import("@aztec/foundation/schemas").Fr;
266
+ nextAvailableLeafIndex: number;
345
267
  }, {
346
- nullifier: string;
347
- nextNullifier: string;
348
- nextIndex: string | number | bigint;
349
- }>, import("../trees/nullifier_leaf.js").NullifierLeafPreimage, {
350
- nullifier: string;
351
- nextNullifier: string;
352
- nextIndex: string | number | bigint;
268
+ root: string;
269
+ nextAvailableLeafIndex: string | number | bigint;
270
+ }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
271
+ root: string;
272
+ nextAvailableLeafIndex: string | number | bigint;
353
273
  }>;
354
- lowLeafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
355
- lowLeafSiblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
274
+ index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
275
+ leaf: z.ZodType<any, z.ZodTypeDef, any>;
276
+ nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
277
+ nextValue: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
356
278
  }, "strip", z.ZodTypeAny, {
357
- lowLeafPreimage: import("../trees/nullifier_leaf.js").NullifierLeafPreimage;
358
- lowLeafIndex: import("@aztec/foundation/schemas").Fr;
359
- lowLeafSiblingPath: import("@aztec/foundation/schemas").Fr[];
279
+ index: bigint;
280
+ nextIndex: bigint;
281
+ hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
282
+ nextValue: import("@aztec/foundation/schemas").Fr;
283
+ leaf?: any;
284
+ }, {
285
+ index: string | number | bigint;
286
+ nextIndex: string | number | bigint;
287
+ hintKey: {
288
+ root: string;
289
+ nextAvailableLeafIndex: string | number | bigint;
290
+ };
291
+ nextValue: string;
292
+ leaf?: any;
293
+ }>, {
294
+ readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
295
+ readonly index: bigint;
296
+ readonly leaf: import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
297
+ readonly nextIndex: bigint;
298
+ readonly nextValue: import("@aztec/foundation/schemas").Fr;
360
299
  }, {
361
- lowLeafPreimage: {
362
- nullifier: string;
363
- nextNullifier: string;
364
- nextIndex: string | number | bigint;
365
- };
366
- lowLeafIndex: string;
367
- lowLeafSiblingPath: string[];
368
- }>, import("../avm/avm.js").AvmNullifierReadTreeHint, {
369
- lowLeafPreimage: {
370
- nullifier: string;
371
- nextNullifier: string;
372
- nextIndex: string | number | bigint;
373
- };
374
- lowLeafIndex: string;
375
- lowLeafSiblingPath: string[];
300
+ index: string | number | bigint;
301
+ nextIndex: string | number | bigint;
302
+ hintKey: {
303
+ root: string;
304
+ nextAvailableLeafIndex: string | number | bigint;
305
+ };
306
+ nextValue: string;
307
+ leaf?: any;
376
308
  }>, "many">;
377
- nullifierWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
378
- lowLeafRead: z.ZodEffects<z.ZodObject<{
379
- lowLeafPreimage: z.ZodEffects<z.ZodObject<{
380
- nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
381
- nextNullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
382
- nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
383
- }, "strip", z.ZodTypeAny, {
384
- nullifier: import("@aztec/foundation/schemas").Fr;
385
- nextNullifier: import("@aztec/foundation/schemas").Fr;
386
- nextIndex: bigint;
387
- }, {
388
- nullifier: string;
389
- nextNullifier: string;
390
- nextIndex: string | number | bigint;
391
- }>, import("../trees/nullifier_leaf.js").NullifierLeafPreimage, {
392
- nullifier: string;
393
- nextNullifier: string;
394
- nextIndex: string | number | bigint;
395
- }>;
396
- lowLeafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
397
- lowLeafSiblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
309
+ getLeafPreimageHintsNullifierTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
310
+ hintKey: z.ZodEffects<z.ZodObject<{
311
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
312
+ nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
398
313
  }, "strip", z.ZodTypeAny, {
399
- lowLeafPreimage: import("../trees/nullifier_leaf.js").NullifierLeafPreimage;
400
- lowLeafIndex: import("@aztec/foundation/schemas").Fr;
401
- lowLeafSiblingPath: import("@aztec/foundation/schemas").Fr[];
314
+ root: import("@aztec/foundation/schemas").Fr;
315
+ nextAvailableLeafIndex: number;
402
316
  }, {
403
- lowLeafPreimage: {
404
- nullifier: string;
405
- nextNullifier: string;
406
- nextIndex: string | number | bigint;
407
- };
408
- lowLeafIndex: string;
409
- lowLeafSiblingPath: string[];
410
- }>, import("../avm/avm.js").AvmNullifierReadTreeHint, {
411
- lowLeafPreimage: {
412
- nullifier: string;
413
- nextNullifier: string;
414
- nextIndex: string | number | bigint;
415
- };
416
- lowLeafIndex: string;
417
- lowLeafSiblingPath: string[];
317
+ root: string;
318
+ nextAvailableLeafIndex: string | number | bigint;
319
+ }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
320
+ root: string;
321
+ nextAvailableLeafIndex: string | number | bigint;
418
322
  }>;
419
- insertionPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
323
+ index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
324
+ leaf: z.ZodType<any, z.ZodTypeDef, any>;
325
+ nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
326
+ nextValue: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
420
327
  }, "strip", z.ZodTypeAny, {
421
- lowLeafRead: import("../avm/avm.js").AvmNullifierReadTreeHint;
422
- insertionPath: import("@aztec/foundation/schemas").Fr[];
328
+ index: bigint;
329
+ nextIndex: bigint;
330
+ hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
331
+ nextValue: import("@aztec/foundation/schemas").Fr;
332
+ leaf?: any;
423
333
  }, {
424
- lowLeafRead: {
425
- lowLeafPreimage: {
426
- nullifier: string;
427
- nextNullifier: string;
428
- nextIndex: string | number | bigint;
429
- };
430
- lowLeafIndex: string;
431
- lowLeafSiblingPath: string[];
432
- };
433
- insertionPath: string[];
434
- }>, import("../avm/avm.js").AvmNullifierWriteTreeHint, {
435
- lowLeafRead: {
436
- lowLeafPreimage: {
437
- nullifier: string;
438
- nextNullifier: string;
439
- nextIndex: string | number | bigint;
440
- };
441
- lowLeafIndex: string;
442
- lowLeafSiblingPath: string[];
334
+ index: string | number | bigint;
335
+ nextIndex: string | number | bigint;
336
+ hintKey: {
337
+ root: string;
338
+ nextAvailableLeafIndex: string | number | bigint;
443
339
  };
444
- insertionPath: string[];
445
- }>, "many">;
446
- noteHashReads: z.ZodArray<z.ZodEffects<z.ZodObject<{
447
- leafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
448
- value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
449
- siblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
450
- }, "strip", z.ZodTypeAny, {
451
- value: import("@aztec/foundation/schemas").Fr;
452
- leafIndex: import("@aztec/foundation/schemas").Fr;
453
- siblingPath: import("@aztec/foundation/schemas").Fr[];
454
- }, {
455
- value: string;
456
- leafIndex: string;
457
- siblingPath: string[];
458
- }>, import("../avm/avm.js").AvmAppendTreeHint, {
459
- value: string;
460
- leafIndex: string;
461
- siblingPath: string[];
462
- }>, "many">;
463
- noteHashWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
464
- leafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
465
- value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
466
- siblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
467
- }, "strip", z.ZodTypeAny, {
468
- value: import("@aztec/foundation/schemas").Fr;
469
- leafIndex: import("@aztec/foundation/schemas").Fr;
470
- siblingPath: import("@aztec/foundation/schemas").Fr[];
340
+ nextValue: string;
341
+ leaf?: any;
342
+ }>, {
343
+ readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
344
+ readonly index: bigint;
345
+ readonly leaf: import("../trees/nullifier_leaf.js").NullifierLeaf;
346
+ readonly nextIndex: bigint;
347
+ readonly nextValue: import("@aztec/foundation/schemas").Fr;
471
348
  }, {
472
- value: string;
473
- leafIndex: string;
474
- siblingPath: string[];
475
- }>, import("../avm/avm.js").AvmAppendTreeHint, {
476
- value: string;
477
- leafIndex: string;
478
- siblingPath: string[];
349
+ index: string | number | bigint;
350
+ nextIndex: string | number | bigint;
351
+ hintKey: {
352
+ root: string;
353
+ nextAvailableLeafIndex: string | number | bigint;
354
+ };
355
+ nextValue: string;
356
+ leaf?: any;
479
357
  }>, "many">;
480
- l1ToL2MessageReads: z.ZodArray<z.ZodEffects<z.ZodObject<{
481
- leafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
358
+ getLeafValueHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
359
+ hintKey: z.ZodEffects<z.ZodObject<{
360
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
361
+ nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
362
+ }, "strip", z.ZodTypeAny, {
363
+ root: import("@aztec/foundation/schemas").Fr;
364
+ nextAvailableLeafIndex: number;
365
+ }, {
366
+ root: string;
367
+ nextAvailableLeafIndex: string | number | bigint;
368
+ }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
369
+ root: string;
370
+ nextAvailableLeafIndex: string | number | bigint;
371
+ }>;
372
+ treeId: z.ZodNumber;
373
+ index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
482
374
  value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
483
- siblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
484
375
  }, "strip", z.ZodTypeAny, {
485
376
  value: import("@aztec/foundation/schemas").Fr;
486
- leafIndex: import("@aztec/foundation/schemas").Fr;
487
- siblingPath: import("@aztec/foundation/schemas").Fr[];
377
+ index: bigint;
378
+ hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
379
+ treeId: number;
488
380
  }, {
489
381
  value: string;
490
- leafIndex: string;
491
- siblingPath: string[];
492
- }>, import("../avm/avm.js").AvmAppendTreeHint, {
382
+ index: string | number | bigint;
383
+ hintKey: {
384
+ root: string;
385
+ nextAvailableLeafIndex: string | number | bigint;
386
+ };
387
+ treeId: number;
388
+ }>, import("../avm/avm.js").AvmGetLeafValueHint, {
493
389
  value: string;
494
- leafIndex: string;
495
- siblingPath: string[];
390
+ index: string | number | bigint;
391
+ hintKey: {
392
+ root: string;
393
+ nextAvailableLeafIndex: string | number | bigint;
394
+ };
395
+ treeId: number;
496
396
  }>, "many">;
497
397
  }, "strip", z.ZodTypeAny, {
498
- publicDataWrites: import("../avm/avm.js").AvmPublicDataWriteTreeHint[];
499
398
  enqueuedCalls: import("../avm/avm.js").AvmEnqueuedCallHint[];
500
399
  contractInstances: import("../avm/avm.js").AvmContractInstanceHint[];
501
400
  contractClasses: import("../avm/avm.js").AvmContractClassHint[];
502
401
  bytecodeCommitments: import("../avm/avm.js").AvmBytecodeCommitmentHint[];
503
- publicDataReads: import("../avm/avm.js").AvmPublicDataReadTreeHint[];
504
- nullifierReads: import("../avm/avm.js").AvmNullifierReadTreeHint[];
505
- nullifierWrites: import("../avm/avm.js").AvmNullifierWriteTreeHint[];
506
- noteHashReads: import("../avm/avm.js").AvmAppendTreeHint[];
507
- noteHashWrites: import("../avm/avm.js").AvmAppendTreeHint[];
508
- l1ToL2MessageReads: import("../avm/avm.js").AvmAppendTreeHint[];
402
+ getSiblingPathHints: import("../avm/avm.js").AvmGetSiblingPathHint[];
403
+ getPreviousValueIndexHints: import("../avm/avm.js").AvmGetPreviousValueIndexHint[];
404
+ getLeafPreimageHintsPublicDataTree: {
405
+ readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
406
+ readonly index: bigint;
407
+ readonly leaf: import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
408
+ readonly nextIndex: bigint;
409
+ readonly nextValue: import("@aztec/foundation/schemas").Fr;
410
+ }[];
411
+ getLeafPreimageHintsNullifierTree: {
412
+ readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
413
+ readonly index: bigint;
414
+ readonly leaf: import("../trees/nullifier_leaf.js").NullifierLeaf;
415
+ readonly nextIndex: bigint;
416
+ readonly nextValue: import("@aztec/foundation/schemas").Fr;
417
+ }[];
418
+ getLeafValueHints: import("../avm/avm.js").AvmGetLeafValueHint[];
509
419
  }, {
510
- publicDataWrites: {
511
- lowLeafRead: {
512
- leafIndex: string;
513
- siblingPath: string[];
514
- leafPreimage: {
515
- value: string;
516
- slot: string;
517
- nextIndex: string | number | bigint;
518
- nextSlot: string;
519
- };
520
- };
521
- insertionPath: string[];
522
- newLeafPreimage: {
523
- value: string;
524
- slot: string;
525
- nextIndex: string | number | bigint;
526
- nextSlot: string;
527
- };
528
- }[];
529
420
  enqueuedCalls: {
530
421
  isStaticCall: boolean;
531
422
  calldata: string[];
@@ -559,72 +450,55 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
559
450
  classId: string;
560
451
  commitment: string;
561
452
  }[];
562
- publicDataReads: {
563
- leafIndex: string;
564
- siblingPath: string[];
565
- leafPreimage: {
566
- value: string;
567
- slot: string;
568
- nextIndex: string | number | bigint;
569
- nextSlot: string;
453
+ getSiblingPathHints: {
454
+ path: string[];
455
+ index: string | number | bigint;
456
+ hintKey: {
457
+ root: string;
458
+ nextAvailableLeafIndex: string | number | bigint;
570
459
  };
460
+ treeId: number;
571
461
  }[];
572
- nullifierReads: {
573
- lowLeafPreimage: {
574
- nullifier: string;
575
- nextNullifier: string;
576
- nextIndex: string | number | bigint;
577
- };
578
- lowLeafIndex: string;
579
- lowLeafSiblingPath: string[];
580
- }[];
581
- nullifierWrites: {
582
- lowLeafRead: {
583
- lowLeafPreimage: {
584
- nullifier: string;
585
- nextNullifier: string;
586
- nextIndex: string | number | bigint;
587
- };
588
- lowLeafIndex: string;
589
- lowLeafSiblingPath: string[];
462
+ getPreviousValueIndexHints: {
463
+ value: string;
464
+ index: string | number | bigint;
465
+ hintKey: {
466
+ root: string;
467
+ nextAvailableLeafIndex: string | number | bigint;
590
468
  };
591
- insertionPath: string[];
469
+ treeId: number;
470
+ alreadyPresent: boolean;
592
471
  }[];
593
- noteHashReads: {
594
- value: string;
595
- leafIndex: string;
596
- siblingPath: string[];
472
+ getLeafPreimageHintsPublicDataTree: {
473
+ index: string | number | bigint;
474
+ nextIndex: string | number | bigint;
475
+ hintKey: {
476
+ root: string;
477
+ nextAvailableLeafIndex: string | number | bigint;
478
+ };
479
+ nextValue: string;
480
+ leaf?: any;
597
481
  }[];
598
- noteHashWrites: {
599
- value: string;
600
- leafIndex: string;
601
- siblingPath: string[];
482
+ getLeafPreimageHintsNullifierTree: {
483
+ index: string | number | bigint;
484
+ nextIndex: string | number | bigint;
485
+ hintKey: {
486
+ root: string;
487
+ nextAvailableLeafIndex: string | number | bigint;
488
+ };
489
+ nextValue: string;
490
+ leaf?: any;
602
491
  }[];
603
- l1ToL2MessageReads: {
492
+ getLeafValueHints: {
604
493
  value: string;
605
- leafIndex: string;
606
- siblingPath: string[];
607
- }[];
608
- }>, import("../avm/avm.js").AvmExecutionHints, {
609
- publicDataWrites: {
610
- lowLeafRead: {
611
- leafIndex: string;
612
- siblingPath: string[];
613
- leafPreimage: {
614
- value: string;
615
- slot: string;
616
- nextIndex: string | number | bigint;
617
- nextSlot: string;
618
- };
619
- };
620
- insertionPath: string[];
621
- newLeafPreimage: {
622
- value: string;
623
- slot: string;
624
- nextIndex: string | number | bigint;
625
- nextSlot: string;
494
+ index: string | number | bigint;
495
+ hintKey: {
496
+ root: string;
497
+ nextAvailableLeafIndex: string | number | bigint;
626
498
  };
499
+ treeId: number;
627
500
  }[];
501
+ }>, import("../avm/avm.js").AvmExecutionHints, {
628
502
  enqueuedCalls: {
629
503
  isStaticCall: boolean;
630
504
  calldata: string[];
@@ -658,51 +532,53 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
658
532
  classId: string;
659
533
  commitment: string;
660
534
  }[];
661
- publicDataReads: {
662
- leafIndex: string;
663
- siblingPath: string[];
664
- leafPreimage: {
665
- value: string;
666
- slot: string;
667
- nextIndex: string | number | bigint;
668
- nextSlot: string;
535
+ getSiblingPathHints: {
536
+ path: string[];
537
+ index: string | number | bigint;
538
+ hintKey: {
539
+ root: string;
540
+ nextAvailableLeafIndex: string | number | bigint;
669
541
  };
542
+ treeId: number;
670
543
  }[];
671
- nullifierReads: {
672
- lowLeafPreimage: {
673
- nullifier: string;
674
- nextNullifier: string;
675
- nextIndex: string | number | bigint;
676
- };
677
- lowLeafIndex: string;
678
- lowLeafSiblingPath: string[];
679
- }[];
680
- nullifierWrites: {
681
- lowLeafRead: {
682
- lowLeafPreimage: {
683
- nullifier: string;
684
- nextNullifier: string;
685
- nextIndex: string | number | bigint;
686
- };
687
- lowLeafIndex: string;
688
- lowLeafSiblingPath: string[];
544
+ getPreviousValueIndexHints: {
545
+ value: string;
546
+ index: string | number | bigint;
547
+ hintKey: {
548
+ root: string;
549
+ nextAvailableLeafIndex: string | number | bigint;
689
550
  };
690
- insertionPath: string[];
551
+ treeId: number;
552
+ alreadyPresent: boolean;
691
553
  }[];
692
- noteHashReads: {
693
- value: string;
694
- leafIndex: string;
695
- siblingPath: string[];
554
+ getLeafPreimageHintsPublicDataTree: {
555
+ index: string | number | bigint;
556
+ nextIndex: string | number | bigint;
557
+ hintKey: {
558
+ root: string;
559
+ nextAvailableLeafIndex: string | number | bigint;
560
+ };
561
+ nextValue: string;
562
+ leaf?: any;
696
563
  }[];
697
- noteHashWrites: {
698
- value: string;
699
- leafIndex: string;
700
- siblingPath: string[];
564
+ getLeafPreimageHintsNullifierTree: {
565
+ index: string | number | bigint;
566
+ nextIndex: string | number | bigint;
567
+ hintKey: {
568
+ root: string;
569
+ nextAvailableLeafIndex: string | number | bigint;
570
+ };
571
+ nextValue: string;
572
+ leaf?: any;
701
573
  }[];
702
- l1ToL2MessageReads: {
574
+ getLeafValueHints: {
703
575
  value: string;
704
- leafIndex: string;
705
- siblingPath: string[];
576
+ index: string | number | bigint;
577
+ hintKey: {
578
+ root: string;
579
+ nextAvailableLeafIndex: string | number | bigint;
580
+ };
581
+ treeId: number;
706
582
  }[];
707
583
  }>;
708
584
  publicInputs: z.ZodEffects<z.ZodObject<{
@@ -1717,25 +1593,6 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
1717
1593
  calldata: string[];
1718
1594
  functionName: string;
1719
1595
  hints: {
1720
- publicDataWrites: {
1721
- lowLeafRead: {
1722
- leafIndex: string;
1723
- siblingPath: string[];
1724
- leafPreimage: {
1725
- value: string;
1726
- slot: string;
1727
- nextIndex: string | number | bigint;
1728
- nextSlot: string;
1729
- };
1730
- };
1731
- insertionPath: string[];
1732
- newLeafPreimage: {
1733
- value: string;
1734
- slot: string;
1735
- nextIndex: string | number | bigint;
1736
- nextSlot: string;
1737
- };
1738
- }[];
1739
1596
  enqueuedCalls: {
1740
1597
  isStaticCall: boolean;
1741
1598
  calldata: string[];
@@ -1769,51 +1626,53 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
1769
1626
  classId: string;
1770
1627
  commitment: string;
1771
1628
  }[];
1772
- publicDataReads: {
1773
- leafIndex: string;
1774
- siblingPath: string[];
1775
- leafPreimage: {
1776
- value: string;
1777
- slot: string;
1778
- nextIndex: string | number | bigint;
1779
- nextSlot: string;
1629
+ getSiblingPathHints: {
1630
+ path: string[];
1631
+ index: string | number | bigint;
1632
+ hintKey: {
1633
+ root: string;
1634
+ nextAvailableLeafIndex: string | number | bigint;
1780
1635
  };
1636
+ treeId: number;
1781
1637
  }[];
1782
- nullifierReads: {
1783
- lowLeafPreimage: {
1784
- nullifier: string;
1785
- nextNullifier: string;
1786
- nextIndex: string | number | bigint;
1787
- };
1788
- lowLeafIndex: string;
1789
- lowLeafSiblingPath: string[];
1790
- }[];
1791
- nullifierWrites: {
1792
- lowLeafRead: {
1793
- lowLeafPreimage: {
1794
- nullifier: string;
1795
- nextNullifier: string;
1796
- nextIndex: string | number | bigint;
1797
- };
1798
- lowLeafIndex: string;
1799
- lowLeafSiblingPath: string[];
1638
+ getPreviousValueIndexHints: {
1639
+ value: string;
1640
+ index: string | number | bigint;
1641
+ hintKey: {
1642
+ root: string;
1643
+ nextAvailableLeafIndex: string | number | bigint;
1800
1644
  };
1801
- insertionPath: string[];
1645
+ treeId: number;
1646
+ alreadyPresent: boolean;
1802
1647
  }[];
1803
- noteHashReads: {
1804
- value: string;
1805
- leafIndex: string;
1806
- siblingPath: string[];
1648
+ getLeafPreimageHintsPublicDataTree: {
1649
+ index: string | number | bigint;
1650
+ nextIndex: string | number | bigint;
1651
+ hintKey: {
1652
+ root: string;
1653
+ nextAvailableLeafIndex: string | number | bigint;
1654
+ };
1655
+ nextValue: string;
1656
+ leaf?: any;
1807
1657
  }[];
1808
- noteHashWrites: {
1809
- value: string;
1810
- leafIndex: string;
1811
- siblingPath: string[];
1658
+ getLeafPreimageHintsNullifierTree: {
1659
+ index: string | number | bigint;
1660
+ nextIndex: string | number | bigint;
1661
+ hintKey: {
1662
+ root: string;
1663
+ nextAvailableLeafIndex: string | number | bigint;
1664
+ };
1665
+ nextValue: string;
1666
+ leaf?: any;
1812
1667
  }[];
1813
- l1ToL2MessageReads: {
1668
+ getLeafValueHints: {
1814
1669
  value: string;
1815
- leafIndex: string;
1816
- siblingPath: string[];
1670
+ index: string | number | bigint;
1671
+ hintKey: {
1672
+ root: string;
1673
+ nextAvailableLeafIndex: string | number | bigint;
1674
+ };
1675
+ treeId: number;
1817
1676
  }[];
1818
1677
  };
1819
1678
  publicInputs: {
@@ -1969,25 +1828,6 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
1969
1828
  calldata: string[];
1970
1829
  functionName: string;
1971
1830
  hints: {
1972
- publicDataWrites: {
1973
- lowLeafRead: {
1974
- leafIndex: string;
1975
- siblingPath: string[];
1976
- leafPreimage: {
1977
- value: string;
1978
- slot: string;
1979
- nextIndex: string | number | bigint;
1980
- nextSlot: string;
1981
- };
1982
- };
1983
- insertionPath: string[];
1984
- newLeafPreimage: {
1985
- value: string;
1986
- slot: string;
1987
- nextIndex: string | number | bigint;
1988
- nextSlot: string;
1989
- };
1990
- }[];
1991
1831
  enqueuedCalls: {
1992
1832
  isStaticCall: boolean;
1993
1833
  calldata: string[];
@@ -2021,51 +1861,53 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
2021
1861
  classId: string;
2022
1862
  commitment: string;
2023
1863
  }[];
2024
- publicDataReads: {
2025
- leafIndex: string;
2026
- siblingPath: string[];
2027
- leafPreimage: {
2028
- value: string;
2029
- slot: string;
2030
- nextIndex: string | number | bigint;
2031
- nextSlot: string;
1864
+ getSiblingPathHints: {
1865
+ path: string[];
1866
+ index: string | number | bigint;
1867
+ hintKey: {
1868
+ root: string;
1869
+ nextAvailableLeafIndex: string | number | bigint;
2032
1870
  };
1871
+ treeId: number;
2033
1872
  }[];
2034
- nullifierReads: {
2035
- lowLeafPreimage: {
2036
- nullifier: string;
2037
- nextNullifier: string;
2038
- nextIndex: string | number | bigint;
2039
- };
2040
- lowLeafIndex: string;
2041
- lowLeafSiblingPath: string[];
2042
- }[];
2043
- nullifierWrites: {
2044
- lowLeafRead: {
2045
- lowLeafPreimage: {
2046
- nullifier: string;
2047
- nextNullifier: string;
2048
- nextIndex: string | number | bigint;
2049
- };
2050
- lowLeafIndex: string;
2051
- lowLeafSiblingPath: string[];
1873
+ getPreviousValueIndexHints: {
1874
+ value: string;
1875
+ index: string | number | bigint;
1876
+ hintKey: {
1877
+ root: string;
1878
+ nextAvailableLeafIndex: string | number | bigint;
2052
1879
  };
2053
- insertionPath: string[];
1880
+ treeId: number;
1881
+ alreadyPresent: boolean;
2054
1882
  }[];
2055
- noteHashReads: {
2056
- value: string;
2057
- leafIndex: string;
2058
- siblingPath: string[];
1883
+ getLeafPreimageHintsPublicDataTree: {
1884
+ index: string | number | bigint;
1885
+ nextIndex: string | number | bigint;
1886
+ hintKey: {
1887
+ root: string;
1888
+ nextAvailableLeafIndex: string | number | bigint;
1889
+ };
1890
+ nextValue: string;
1891
+ leaf?: any;
2059
1892
  }[];
2060
- noteHashWrites: {
2061
- value: string;
2062
- leafIndex: string;
2063
- siblingPath: string[];
1893
+ getLeafPreimageHintsNullifierTree: {
1894
+ index: string | number | bigint;
1895
+ nextIndex: string | number | bigint;
1896
+ hintKey: {
1897
+ root: string;
1898
+ nextAvailableLeafIndex: string | number | bigint;
1899
+ };
1900
+ nextValue: string;
1901
+ leaf?: any;
2064
1902
  }[];
2065
- l1ToL2MessageReads: {
1903
+ getLeafValueHints: {
2066
1904
  value: string;
2067
- leafIndex: string;
2068
- siblingPath: string[];
1905
+ index: string | number | bigint;
1906
+ hintKey: {
1907
+ root: string;
1908
+ nextAvailableLeafIndex: string | number | bigint;
1909
+ };
1910
+ treeId: number;
2069
1911
  }[];
2070
1912
  };
2071
1913
  publicInputs: {
@@ -2227,25 +2069,6 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
2227
2069
  calldata: string[];
2228
2070
  functionName: string;
2229
2071
  hints: {
2230
- publicDataWrites: {
2231
- lowLeafRead: {
2232
- leafIndex: string;
2233
- siblingPath: string[];
2234
- leafPreimage: {
2235
- value: string;
2236
- slot: string;
2237
- nextIndex: string | number | bigint;
2238
- nextSlot: string;
2239
- };
2240
- };
2241
- insertionPath: string[];
2242
- newLeafPreimage: {
2243
- value: string;
2244
- slot: string;
2245
- nextIndex: string | number | bigint;
2246
- nextSlot: string;
2247
- };
2248
- }[];
2249
2072
  enqueuedCalls: {
2250
2073
  isStaticCall: boolean;
2251
2074
  calldata: string[];
@@ -2279,51 +2102,53 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
2279
2102
  classId: string;
2280
2103
  commitment: string;
2281
2104
  }[];
2282
- publicDataReads: {
2283
- leafIndex: string;
2284
- siblingPath: string[];
2285
- leafPreimage: {
2286
- value: string;
2287
- slot: string;
2288
- nextIndex: string | number | bigint;
2289
- nextSlot: string;
2105
+ getSiblingPathHints: {
2106
+ path: string[];
2107
+ index: string | number | bigint;
2108
+ hintKey: {
2109
+ root: string;
2110
+ nextAvailableLeafIndex: string | number | bigint;
2290
2111
  };
2112
+ treeId: number;
2291
2113
  }[];
2292
- nullifierReads: {
2293
- lowLeafPreimage: {
2294
- nullifier: string;
2295
- nextNullifier: string;
2296
- nextIndex: string | number | bigint;
2297
- };
2298
- lowLeafIndex: string;
2299
- lowLeafSiblingPath: string[];
2300
- }[];
2301
- nullifierWrites: {
2302
- lowLeafRead: {
2303
- lowLeafPreimage: {
2304
- nullifier: string;
2305
- nextNullifier: string;
2306
- nextIndex: string | number | bigint;
2307
- };
2308
- lowLeafIndex: string;
2309
- lowLeafSiblingPath: string[];
2114
+ getPreviousValueIndexHints: {
2115
+ value: string;
2116
+ index: string | number | bigint;
2117
+ hintKey: {
2118
+ root: string;
2119
+ nextAvailableLeafIndex: string | number | bigint;
2310
2120
  };
2311
- insertionPath: string[];
2121
+ treeId: number;
2122
+ alreadyPresent: boolean;
2312
2123
  }[];
2313
- noteHashReads: {
2314
- value: string;
2315
- leafIndex: string;
2316
- siblingPath: string[];
2124
+ getLeafPreimageHintsPublicDataTree: {
2125
+ index: string | number | bigint;
2126
+ nextIndex: string | number | bigint;
2127
+ hintKey: {
2128
+ root: string;
2129
+ nextAvailableLeafIndex: string | number | bigint;
2130
+ };
2131
+ nextValue: string;
2132
+ leaf?: any;
2317
2133
  }[];
2318
- noteHashWrites: {
2319
- value: string;
2320
- leafIndex: string;
2321
- siblingPath: string[];
2134
+ getLeafPreimageHintsNullifierTree: {
2135
+ index: string | number | bigint;
2136
+ nextIndex: string | number | bigint;
2137
+ hintKey: {
2138
+ root: string;
2139
+ nextAvailableLeafIndex: string | number | bigint;
2140
+ };
2141
+ nextValue: string;
2142
+ leaf?: any;
2322
2143
  }[];
2323
- l1ToL2MessageReads: {
2144
+ getLeafValueHints: {
2324
2145
  value: string;
2325
- leafIndex: string;
2326
- siblingPath: string[];
2146
+ index: string | number | bigint;
2147
+ hintKey: {
2148
+ root: string;
2149
+ nextAvailableLeafIndex: string | number | bigint;
2150
+ };
2151
+ treeId: number;
2327
2152
  }[];
2328
2153
  };
2329
2154
  publicInputs: {