@aztec/stdlib 0.80.0 → 0.81.0

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 (109) hide show
  1. package/dest/abi/contract_artifact.d.ts.map +1 -1
  2. package/dest/abi/contract_artifact.js +11 -0
  3. package/dest/avm/avm.d.ts +173 -405
  4. package/dest/avm/avm.d.ts.map +1 -1
  5. package/dest/avm/avm.js +34 -27
  6. package/dest/avm/avm_proving_request.d.ts +84 -186
  7. package/dest/avm/avm_proving_request.d.ts.map +1 -1
  8. package/dest/avm/public_data_write.d.ts +1 -0
  9. package/dest/avm/public_data_write.d.ts.map +1 -1
  10. package/dest/avm/public_data_write.js +3 -0
  11. package/dest/block/body.d.ts +1 -0
  12. package/dest/block/body.d.ts.map +1 -1
  13. package/dest/block/body.js +3 -0
  14. package/dest/block/index.d.ts +1 -0
  15. package/dest/block/index.d.ts.map +1 -1
  16. package/dest/block/index.js +1 -0
  17. package/dest/block/l2_block.d.ts +2 -1
  18. package/dest/block/l2_block.d.ts.map +1 -1
  19. package/dest/block/l2_block.js +3 -0
  20. package/dest/block/l2_block_downloader/l2_block_stream.d.ts +3 -3
  21. package/dest/block/l2_block_downloader/l2_block_stream.d.ts.map +1 -1
  22. package/dest/block/l2_block_downloader/l2_block_stream.js +2 -2
  23. package/dest/block/l2_block_source.d.ts +3 -0
  24. package/dest/block/l2_block_source.d.ts.map +1 -1
  25. package/dest/block/published_l2_block.d.ts +89 -0
  26. package/dest/block/published_l2_block.d.ts.map +1 -0
  27. package/dest/block/published_l2_block.js +32 -0
  28. package/dest/contract/interfaces/contract_data_source.d.ts +3 -9
  29. package/dest/contract/interfaces/contract_data_source.d.ts.map +1 -1
  30. package/dest/database-version/version_manager.js +1 -1
  31. package/dest/interfaces/archiver.d.ts.map +1 -1
  32. package/dest/interfaces/archiver.js +4 -3
  33. package/dest/interfaces/aztec-node.d.ts +1 -1
  34. package/dest/interfaces/aztec-node.d.ts.map +1 -1
  35. package/dest/interfaces/aztec-node.js +2 -0
  36. package/dest/interfaces/proving-job.d.ts +106 -208
  37. package/dest/interfaces/proving-job.d.ts.map +1 -1
  38. package/dest/logs/contract_class_log.d.ts +1 -0
  39. package/dest/logs/contract_class_log.d.ts.map +1 -1
  40. package/dest/logs/contract_class_log.js +3 -0
  41. package/dest/logs/l1_payload/index.d.ts +1 -1
  42. package/dest/logs/l1_payload/index.d.ts.map +1 -1
  43. package/dest/logs/l1_payload/index.js +1 -1
  44. package/dest/logs/private_log.d.ts +2 -1
  45. package/dest/logs/private_log.d.ts.map +1 -1
  46. package/dest/logs/private_log.js +14 -3
  47. package/dest/logs/public_log.d.ts.map +1 -1
  48. package/dest/logs/public_log.js +4 -1
  49. package/dest/logs/tx_scoped_l2_log.d.ts +16 -28
  50. package/dest/logs/tx_scoped_l2_log.d.ts.map +1 -1
  51. package/dest/logs/tx_scoped_l2_log.js +28 -19
  52. package/dest/note/extended_note.d.ts +10 -21
  53. package/dest/note/extended_note.d.ts.map +1 -1
  54. package/dest/note/extended_note.js +19 -28
  55. package/dest/note/notes_filter.d.ts +2 -2
  56. package/dest/note/notes_filter.d.ts.map +1 -1
  57. package/dest/note/notes_filter.js +1 -1
  58. package/dest/p2p/consensus_payload.d.ts +3 -1
  59. package/dest/p2p/consensus_payload.d.ts.map +1 -1
  60. package/dest/p2p/consensus_payload.js +3 -0
  61. package/dest/proofs/proof.d.ts +0 -1
  62. package/dest/proofs/proof.d.ts.map +1 -1
  63. package/dest/proofs/proof.js +2 -7
  64. package/dest/rollup/block_root_rollup.d.ts +1 -1
  65. package/dest/tests/factories.d.ts +3 -2
  66. package/dest/tests/factories.d.ts.map +1 -1
  67. package/dest/tests/factories.js +14 -8
  68. package/dest/tests/mocks.d.ts +2 -2
  69. package/dest/tests/mocks.d.ts.map +1 -1
  70. package/dest/tests/mocks.js +4 -5
  71. package/dest/trees/nullifier_membership_witness.d.ts +7 -7
  72. package/dest/trees/public_data_witness.d.ts +7 -7
  73. package/dest/tx/capsule.d.ts +2 -0
  74. package/dest/tx/capsule.d.ts.map +1 -1
  75. package/dest/tx/capsule.js +2 -0
  76. package/dest/tx/tx_effect.d.ts +1 -0
  77. package/dest/tx/tx_effect.d.ts.map +1 -1
  78. package/dest/tx/tx_effect.js +4 -1
  79. package/package.json +6 -6
  80. package/src/abi/contract_artifact.ts +11 -0
  81. package/src/avm/avm.ts +42 -39
  82. package/src/avm/public_data_write.ts +4 -0
  83. package/src/block/body.ts +6 -0
  84. package/src/block/index.ts +1 -0
  85. package/src/block/l2_block.ts +4 -0
  86. package/src/block/l2_block_downloader/l2_block_stream.ts +5 -5
  87. package/src/block/l2_block_source.ts +4 -0
  88. package/src/block/published_l2_block.ts +45 -0
  89. package/src/contract/interfaces/contract_data_source.ts +3 -10
  90. package/src/database-version/version_manager.ts +1 -1
  91. package/src/interfaces/archiver.ts +9 -6
  92. package/src/interfaces/aztec-node.ts +4 -1
  93. package/src/logs/contract_class_log.ts +8 -0
  94. package/src/logs/l1_payload/index.ts +1 -1
  95. package/src/logs/private_log.ts +13 -3
  96. package/src/logs/public_log.ts +11 -1
  97. package/src/logs/tx_scoped_l2_log.ts +28 -25
  98. package/src/note/extended_note.ts +17 -36
  99. package/src/note/notes_filter.ts +3 -3
  100. package/src/p2p/consensus_payload.ts +9 -0
  101. package/src/proofs/proof.ts +2 -8
  102. package/src/tests/factories.ts +15 -14
  103. package/src/tests/mocks.ts +4 -9
  104. package/src/tx/capsule.ts +2 -0
  105. package/src/tx/tx_effect.ts +23 -1
  106. package/dest/logs/l1_payload/l1_note_payload.d.ts +0 -82
  107. package/dest/logs/l1_payload/l1_note_payload.d.ts.map +0 -1
  108. package/dest/logs/l1_payload/l1_note_payload.js +0 -129
  109. package/src/logs/l1_payload/l1_note_payload.ts +0 -182
@@ -11,21 +11,28 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
11
11
  calldata: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
12
12
  hints: z.ZodEffects<z.ZodObject<{
13
13
  enqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
14
+ msgSender: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
14
15
  contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
15
16
  calldata: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
17
+ isStaticCall: z.ZodBoolean;
16
18
  }, "strip", z.ZodTypeAny, {
17
19
  contractAddress: import("../aztec-address/index.js").AztecAddress;
20
+ msgSender: import("../aztec-address/index.js").AztecAddress;
21
+ isStaticCall: boolean;
18
22
  calldata: import("@aztec/foundation/schemas").Fr[];
19
23
  }, {
24
+ isStaticCall: boolean;
20
25
  calldata: string[];
21
26
  contractAddress?: any;
27
+ msgSender?: any;
22
28
  }>, import("./avm.js").AvmEnqueuedCallHint, {
29
+ isStaticCall: boolean;
23
30
  calldata: string[];
24
31
  contractAddress?: any;
32
+ msgSender?: any;
25
33
  }>, "many">;
26
34
  contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
27
35
  address: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
28
- exists: z.ZodBoolean;
29
36
  salt: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
30
37
  deployer: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
31
38
  currentContractClassId: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
@@ -52,56 +59,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
52
59
  masterOutgoingViewingPublicKey: string;
53
60
  masterTaggingPublicKey: string;
54
61
  }>;
55
- updateMembershipHint: z.ZodEffects<z.ZodObject<{
56
- leafPreimage: z.ZodEffects<z.ZodObject<{
57
- slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
58
- value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
59
- nextSlot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
60
- nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
61
- }, "strip", z.ZodTypeAny, {
62
- value: import("@aztec/foundation/schemas").Fr;
63
- slot: import("@aztec/foundation/schemas").Fr;
64
- nextIndex: bigint;
65
- nextSlot: import("@aztec/foundation/schemas").Fr;
66
- }, {
67
- value: string;
68
- slot: string;
69
- nextIndex: string | number | bigint;
70
- nextSlot: string;
71
- }>, import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage, {
72
- value: string;
73
- slot: string;
74
- nextIndex: string | number | bigint;
75
- nextSlot: string;
76
- }>;
77
- leafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
78
- siblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
79
- }, "strip", z.ZodTypeAny, {
80
- leafPreimage: import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
81
- leafIndex: import("@aztec/foundation/schemas").Fr;
82
- siblingPath: import("@aztec/foundation/schemas").Fr[];
83
- }, {
84
- leafPreimage: {
85
- value: string;
86
- slot: string;
87
- nextIndex: string | number | bigint;
88
- nextSlot: string;
89
- };
90
- leafIndex: string;
91
- siblingPath: string[];
92
- }>, import("./avm.js").AvmPublicDataReadTreeHint, {
93
- leafPreimage: {
94
- value: string;
95
- slot: string;
96
- nextIndex: string | number | bigint;
97
- nextSlot: string;
98
- };
99
- leafIndex: string;
100
- siblingPath: string[];
101
- }>;
102
- updatePreimage: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
103
62
  }, "strip", z.ZodTypeAny, {
104
- exists: boolean;
105
63
  address: import("../aztec-address/index.js").AztecAddress;
106
64
  salt: import("@aztec/foundation/schemas").Fr;
107
65
  deployer: import("../aztec-address/index.js").AztecAddress;
@@ -109,10 +67,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
109
67
  originalContractClassId: import("@aztec/foundation/schemas").Fr;
110
68
  initializationHash: import("@aztec/foundation/schemas").Fr;
111
69
  publicKeys: import("../keys/public_keys.js").PublicKeys;
112
- updateMembershipHint: import("./avm.js").AvmPublicDataReadTreeHint;
113
- updatePreimage: import("@aztec/foundation/schemas").Fr[];
114
70
  }, {
115
- exists: boolean;
116
71
  salt: string;
117
72
  currentContractClassId: string;
118
73
  originalContractClassId: string;
@@ -123,21 +78,9 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
123
78
  masterOutgoingViewingPublicKey: string;
124
79
  masterTaggingPublicKey: string;
125
80
  };
126
- updateMembershipHint: {
127
- leafPreimage: {
128
- value: string;
129
- slot: string;
130
- nextIndex: string | number | bigint;
131
- nextSlot: string;
132
- };
133
- leafIndex: string;
134
- siblingPath: string[];
135
- };
136
- updatePreimage: string[];
137
81
  address?: any;
138
82
  deployer?: any;
139
83
  }>, import("./avm.js").AvmContractInstanceHint, {
140
- exists: boolean;
141
84
  salt: string;
142
85
  currentContractClassId: string;
143
86
  originalContractClassId: string;
@@ -148,26 +91,13 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
148
91
  masterOutgoingViewingPublicKey: string;
149
92
  masterTaggingPublicKey: string;
150
93
  };
151
- updateMembershipHint: {
152
- leafPreimage: {
153
- value: string;
154
- slot: string;
155
- nextIndex: string | number | bigint;
156
- nextSlot: string;
157
- };
158
- leafIndex: string;
159
- siblingPath: string[];
160
- };
161
- updatePreimage: string[];
162
94
  address?: any;
163
95
  deployer?: any;
164
96
  }>, "many">;
165
97
  contractClasses: z.ZodArray<z.ZodEffects<z.ZodObject<{
166
98
  classId: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
167
- exists: z.ZodBoolean;
168
99
  artifactHash: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
169
100
  privateFunctionsRoot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
170
- publicBytecodeCommitment: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
171
101
  packedBytecode: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Buffer, string>, z.ZodEffects<z.ZodObject<{
172
102
  type: z.ZodLiteral<"Buffer">;
173
103
  data: z.ZodArray<z.ZodNumber, "many">;
@@ -183,32 +113,39 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
183
113
  }>]>;
184
114
  }, "strip", z.ZodTypeAny, {
185
115
  classId: import("@aztec/foundation/schemas").Fr;
186
- exists: boolean;
187
116
  artifactHash: import("@aztec/foundation/schemas").Fr;
188
117
  privateFunctionsRoot: import("@aztec/foundation/schemas").Fr;
189
- publicBytecodeCommitment: import("@aztec/foundation/schemas").Fr;
190
118
  packedBytecode: Buffer;
191
119
  }, {
192
120
  classId: string;
193
- exists: boolean;
194
121
  artifactHash: string;
195
122
  privateFunctionsRoot: string;
196
- publicBytecodeCommitment: string;
197
123
  packedBytecode: string | {
198
124
  type: "Buffer";
199
125
  data: number[];
200
126
  };
201
127
  }>, import("./avm.js").AvmContractClassHint, {
202
128
  classId: string;
203
- exists: boolean;
204
129
  artifactHash: string;
205
130
  privateFunctionsRoot: string;
206
- publicBytecodeCommitment: string;
207
131
  packedBytecode: string | {
208
132
  type: "Buffer";
209
133
  data: number[];
210
134
  };
211
135
  }>, "many">;
136
+ bytecodeCommitments: z.ZodArray<z.ZodEffects<z.ZodObject<{
137
+ classId: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
138
+ commitment: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
139
+ }, "strip", z.ZodTypeAny, {
140
+ classId: import("@aztec/foundation/schemas").Fr;
141
+ commitment: import("@aztec/foundation/schemas").Fr;
142
+ }, {
143
+ classId: string;
144
+ commitment: string;
145
+ }>, import("./avm.js").AvmBytecodeCommitmentHint, {
146
+ classId: string;
147
+ commitment: string;
148
+ }>, "many">;
212
149
  publicDataReads: z.ZodArray<z.ZodEffects<z.ZodObject<{
213
150
  leafPreimage: z.ZodEffects<z.ZodObject<{
214
151
  slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
@@ -234,27 +171,27 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
234
171
  leafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
235
172
  siblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
236
173
  }, "strip", z.ZodTypeAny, {
237
- leafPreimage: import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
238
174
  leafIndex: import("@aztec/foundation/schemas").Fr;
239
175
  siblingPath: import("@aztec/foundation/schemas").Fr[];
176
+ leafPreimage: import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
240
177
  }, {
178
+ leafIndex: string;
179
+ siblingPath: string[];
241
180
  leafPreimage: {
242
181
  value: string;
243
182
  slot: string;
244
183
  nextIndex: string | number | bigint;
245
184
  nextSlot: string;
246
185
  };
186
+ }>, import("./avm.js").AvmPublicDataReadTreeHint, {
247
187
  leafIndex: string;
248
188
  siblingPath: string[];
249
- }>, import("./avm.js").AvmPublicDataReadTreeHint, {
250
189
  leafPreimage: {
251
190
  value: string;
252
191
  slot: string;
253
192
  nextIndex: string | number | bigint;
254
193
  nextSlot: string;
255
194
  };
256
- leafIndex: string;
257
- siblingPath: string[];
258
195
  }>, "many">;
259
196
  publicDataWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
260
197
  lowLeafRead: z.ZodEffects<z.ZodObject<{
@@ -282,27 +219,27 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
282
219
  leafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
283
220
  siblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
284
221
  }, "strip", z.ZodTypeAny, {
285
- leafPreimage: import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
286
222
  leafIndex: import("@aztec/foundation/schemas").Fr;
287
223
  siblingPath: import("@aztec/foundation/schemas").Fr[];
224
+ leafPreimage: import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
288
225
  }, {
226
+ leafIndex: string;
227
+ siblingPath: string[];
289
228
  leafPreimage: {
290
229
  value: string;
291
230
  slot: string;
292
231
  nextIndex: string | number | bigint;
293
232
  nextSlot: string;
294
233
  };
234
+ }>, import("./avm.js").AvmPublicDataReadTreeHint, {
295
235
  leafIndex: string;
296
236
  siblingPath: string[];
297
- }>, import("./avm.js").AvmPublicDataReadTreeHint, {
298
237
  leafPreimage: {
299
238
  value: string;
300
239
  slot: string;
301
240
  nextIndex: string | number | bigint;
302
241
  nextSlot: string;
303
242
  };
304
- leafIndex: string;
305
- siblingPath: string[];
306
243
  }>;
307
244
  newLeafPreimage: z.ZodEffects<z.ZodObject<{
308
245
  slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
@@ -332,14 +269,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
332
269
  newLeafPreimage: import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
333
270
  }, {
334
271
  lowLeafRead: {
272
+ leafIndex: string;
273
+ siblingPath: string[];
335
274
  leafPreimage: {
336
275
  value: string;
337
276
  slot: string;
338
277
  nextIndex: string | number | bigint;
339
278
  nextSlot: string;
340
279
  };
341
- leafIndex: string;
342
- siblingPath: string[];
343
280
  };
344
281
  insertionPath: string[];
345
282
  newLeafPreimage: {
@@ -350,14 +287,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
350
287
  };
351
288
  }>, import("./avm.js").AvmPublicDataWriteTreeHint, {
352
289
  lowLeafRead: {
290
+ leafIndex: string;
291
+ siblingPath: string[];
353
292
  leafPreimage: {
354
293
  value: string;
355
294
  slot: string;
356
295
  nextIndex: string | number | bigint;
357
296
  nextSlot: string;
358
297
  };
359
- leafIndex: string;
360
- siblingPath: string[];
361
298
  };
362
299
  insertionPath: string[];
363
300
  newLeafPreimage: {
@@ -533,6 +470,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
533
470
  enqueuedCalls: import("./avm.js").AvmEnqueuedCallHint[];
534
471
  contractInstances: import("./avm.js").AvmContractInstanceHint[];
535
472
  contractClasses: import("./avm.js").AvmContractClassHint[];
473
+ bytecodeCommitments: import("./avm.js").AvmBytecodeCommitmentHint[];
536
474
  publicDataReads: import("./avm.js").AvmPublicDataReadTreeHint[];
537
475
  nullifierReads: import("./avm.js").AvmNullifierReadTreeHint[];
538
476
  nullifierWrites: import("./avm.js").AvmNullifierWriteTreeHint[];
@@ -542,14 +480,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
542
480
  }, {
543
481
  publicDataWrites: {
544
482
  lowLeafRead: {
483
+ leafIndex: string;
484
+ siblingPath: string[];
545
485
  leafPreimage: {
546
486
  value: string;
547
487
  slot: string;
548
488
  nextIndex: string | number | bigint;
549
489
  nextSlot: string;
550
490
  };
551
- leafIndex: string;
552
- siblingPath: string[];
553
491
  };
554
492
  insertionPath: string[];
555
493
  newLeafPreimage: {
@@ -560,11 +498,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
560
498
  };
561
499
  }[];
562
500
  enqueuedCalls: {
501
+ isStaticCall: boolean;
563
502
  calldata: string[];
564
503
  contractAddress?: any;
504
+ msgSender?: any;
565
505
  }[];
566
506
  contractInstances: {
567
- exists: boolean;
568
507
  salt: string;
569
508
  currentContractClassId: string;
570
509
  originalContractClassId: string;
@@ -575,40 +514,31 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
575
514
  masterOutgoingViewingPublicKey: string;
576
515
  masterTaggingPublicKey: string;
577
516
  };
578
- updateMembershipHint: {
579
- leafPreimage: {
580
- value: string;
581
- slot: string;
582
- nextIndex: string | number | bigint;
583
- nextSlot: string;
584
- };
585
- leafIndex: string;
586
- siblingPath: string[];
587
- };
588
- updatePreimage: string[];
589
517
  address?: any;
590
518
  deployer?: any;
591
519
  }[];
592
520
  contractClasses: {
593
521
  classId: string;
594
- exists: boolean;
595
522
  artifactHash: string;
596
523
  privateFunctionsRoot: string;
597
- publicBytecodeCommitment: string;
598
524
  packedBytecode: string | {
599
525
  type: "Buffer";
600
526
  data: number[];
601
527
  };
602
528
  }[];
529
+ bytecodeCommitments: {
530
+ classId: string;
531
+ commitment: string;
532
+ }[];
603
533
  publicDataReads: {
534
+ leafIndex: string;
535
+ siblingPath: string[];
604
536
  leafPreimage: {
605
537
  value: string;
606
538
  slot: string;
607
539
  nextIndex: string | number | bigint;
608
540
  nextSlot: string;
609
541
  };
610
- leafIndex: string;
611
- siblingPath: string[];
612
542
  }[];
613
543
  nullifierReads: {
614
544
  lowLeafPreimage: {
@@ -649,14 +579,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
649
579
  }>, import("./avm.js").AvmExecutionHints, {
650
580
  publicDataWrites: {
651
581
  lowLeafRead: {
582
+ leafIndex: string;
583
+ siblingPath: string[];
652
584
  leafPreimage: {
653
585
  value: string;
654
586
  slot: string;
655
587
  nextIndex: string | number | bigint;
656
588
  nextSlot: string;
657
589
  };
658
- leafIndex: string;
659
- siblingPath: string[];
660
590
  };
661
591
  insertionPath: string[];
662
592
  newLeafPreimage: {
@@ -667,11 +597,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
667
597
  };
668
598
  }[];
669
599
  enqueuedCalls: {
600
+ isStaticCall: boolean;
670
601
  calldata: string[];
671
602
  contractAddress?: any;
603
+ msgSender?: any;
672
604
  }[];
673
605
  contractInstances: {
674
- exists: boolean;
675
606
  salt: string;
676
607
  currentContractClassId: string;
677
608
  originalContractClassId: string;
@@ -682,40 +613,31 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
682
613
  masterOutgoingViewingPublicKey: string;
683
614
  masterTaggingPublicKey: string;
684
615
  };
685
- updateMembershipHint: {
686
- leafPreimage: {
687
- value: string;
688
- slot: string;
689
- nextIndex: string | number | bigint;
690
- nextSlot: string;
691
- };
692
- leafIndex: string;
693
- siblingPath: string[];
694
- };
695
- updatePreimage: string[];
696
616
  address?: any;
697
617
  deployer?: any;
698
618
  }[];
699
619
  contractClasses: {
700
620
  classId: string;
701
- exists: boolean;
702
621
  artifactHash: string;
703
622
  privateFunctionsRoot: string;
704
- publicBytecodeCommitment: string;
705
623
  packedBytecode: string | {
706
624
  type: "Buffer";
707
625
  data: number[];
708
626
  };
709
627
  }[];
628
+ bytecodeCommitments: {
629
+ classId: string;
630
+ commitment: string;
631
+ }[];
710
632
  publicDataReads: {
633
+ leafIndex: string;
634
+ siblingPath: string[];
711
635
  leafPreimage: {
712
636
  value: string;
713
637
  slot: string;
714
638
  nextIndex: string | number | bigint;
715
639
  nextSlot: string;
716
640
  };
717
- leafIndex: string;
718
- siblingPath: string[];
719
641
  }[];
720
642
  nullifierReads: {
721
643
  lowLeafPreimage: {
@@ -1786,14 +1708,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1786
1708
  hints: {
1787
1709
  publicDataWrites: {
1788
1710
  lowLeafRead: {
1711
+ leafIndex: string;
1712
+ siblingPath: string[];
1789
1713
  leafPreimage: {
1790
1714
  value: string;
1791
1715
  slot: string;
1792
1716
  nextIndex: string | number | bigint;
1793
1717
  nextSlot: string;
1794
1718
  };
1795
- leafIndex: string;
1796
- siblingPath: string[];
1797
1719
  };
1798
1720
  insertionPath: string[];
1799
1721
  newLeafPreimage: {
@@ -1804,11 +1726,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1804
1726
  };
1805
1727
  }[];
1806
1728
  enqueuedCalls: {
1729
+ isStaticCall: boolean;
1807
1730
  calldata: string[];
1808
1731
  contractAddress?: any;
1732
+ msgSender?: any;
1809
1733
  }[];
1810
1734
  contractInstances: {
1811
- exists: boolean;
1812
1735
  salt: string;
1813
1736
  currentContractClassId: string;
1814
1737
  originalContractClassId: string;
@@ -1819,40 +1742,31 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1819
1742
  masterOutgoingViewingPublicKey: string;
1820
1743
  masterTaggingPublicKey: string;
1821
1744
  };
1822
- updateMembershipHint: {
1823
- leafPreimage: {
1824
- value: string;
1825
- slot: string;
1826
- nextIndex: string | number | bigint;
1827
- nextSlot: string;
1828
- };
1829
- leafIndex: string;
1830
- siblingPath: string[];
1831
- };
1832
- updatePreimage: string[];
1833
1745
  address?: any;
1834
1746
  deployer?: any;
1835
1747
  }[];
1836
1748
  contractClasses: {
1837
1749
  classId: string;
1838
- exists: boolean;
1839
1750
  artifactHash: string;
1840
1751
  privateFunctionsRoot: string;
1841
- publicBytecodeCommitment: string;
1842
1752
  packedBytecode: string | {
1843
1753
  type: "Buffer";
1844
1754
  data: number[];
1845
1755
  };
1846
1756
  }[];
1757
+ bytecodeCommitments: {
1758
+ classId: string;
1759
+ commitment: string;
1760
+ }[];
1847
1761
  publicDataReads: {
1762
+ leafIndex: string;
1763
+ siblingPath: string[];
1848
1764
  leafPreimage: {
1849
1765
  value: string;
1850
1766
  slot: string;
1851
1767
  nextIndex: string | number | bigint;
1852
1768
  nextSlot: string;
1853
1769
  };
1854
- leafIndex: string;
1855
- siblingPath: string[];
1856
1770
  }[];
1857
1771
  nullifierReads: {
1858
1772
  lowLeafPreimage: {
@@ -2049,14 +1963,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2049
1963
  hints: {
2050
1964
  publicDataWrites: {
2051
1965
  lowLeafRead: {
1966
+ leafIndex: string;
1967
+ siblingPath: string[];
2052
1968
  leafPreimage: {
2053
1969
  value: string;
2054
1970
  slot: string;
2055
1971
  nextIndex: string | number | bigint;
2056
1972
  nextSlot: string;
2057
1973
  };
2058
- leafIndex: string;
2059
- siblingPath: string[];
2060
1974
  };
2061
1975
  insertionPath: string[];
2062
1976
  newLeafPreimage: {
@@ -2067,11 +1981,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2067
1981
  };
2068
1982
  }[];
2069
1983
  enqueuedCalls: {
1984
+ isStaticCall: boolean;
2070
1985
  calldata: string[];
2071
1986
  contractAddress?: any;
1987
+ msgSender?: any;
2072
1988
  }[];
2073
1989
  contractInstances: {
2074
- exists: boolean;
2075
1990
  salt: string;
2076
1991
  currentContractClassId: string;
2077
1992
  originalContractClassId: string;
@@ -2082,40 +1997,31 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2082
1997
  masterOutgoingViewingPublicKey: string;
2083
1998
  masterTaggingPublicKey: string;
2084
1999
  };
2085
- updateMembershipHint: {
2086
- leafPreimage: {
2087
- value: string;
2088
- slot: string;
2089
- nextIndex: string | number | bigint;
2090
- nextSlot: string;
2091
- };
2092
- leafIndex: string;
2093
- siblingPath: string[];
2094
- };
2095
- updatePreimage: string[];
2096
2000
  address?: any;
2097
2001
  deployer?: any;
2098
2002
  }[];
2099
2003
  contractClasses: {
2100
2004
  classId: string;
2101
- exists: boolean;
2102
2005
  artifactHash: string;
2103
2006
  privateFunctionsRoot: string;
2104
- publicBytecodeCommitment: string;
2105
2007
  packedBytecode: string | {
2106
2008
  type: "Buffer";
2107
2009
  data: number[];
2108
2010
  };
2109
2011
  }[];
2012
+ bytecodeCommitments: {
2013
+ classId: string;
2014
+ commitment: string;
2015
+ }[];
2110
2016
  publicDataReads: {
2017
+ leafIndex: string;
2018
+ siblingPath: string[];
2111
2019
  leafPreimage: {
2112
2020
  value: string;
2113
2021
  slot: string;
2114
2022
  nextIndex: string | number | bigint;
2115
2023
  nextSlot: string;
2116
2024
  };
2117
- leafIndex: string;
2118
- siblingPath: string[];
2119
2025
  }[];
2120
2026
  nullifierReads: {
2121
2027
  lowLeafPreimage: {
@@ -2318,14 +2224,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2318
2224
  hints: {
2319
2225
  publicDataWrites: {
2320
2226
  lowLeafRead: {
2227
+ leafIndex: string;
2228
+ siblingPath: string[];
2321
2229
  leafPreimage: {
2322
2230
  value: string;
2323
2231
  slot: string;
2324
2232
  nextIndex: string | number | bigint;
2325
2233
  nextSlot: string;
2326
2234
  };
2327
- leafIndex: string;
2328
- siblingPath: string[];
2329
2235
  };
2330
2236
  insertionPath: string[];
2331
2237
  newLeafPreimage: {
@@ -2336,11 +2242,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2336
2242
  };
2337
2243
  }[];
2338
2244
  enqueuedCalls: {
2245
+ isStaticCall: boolean;
2339
2246
  calldata: string[];
2340
2247
  contractAddress?: any;
2248
+ msgSender?: any;
2341
2249
  }[];
2342
2250
  contractInstances: {
2343
- exists: boolean;
2344
2251
  salt: string;
2345
2252
  currentContractClassId: string;
2346
2253
  originalContractClassId: string;
@@ -2351,40 +2258,31 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2351
2258
  masterOutgoingViewingPublicKey: string;
2352
2259
  masterTaggingPublicKey: string;
2353
2260
  };
2354
- updateMembershipHint: {
2355
- leafPreimage: {
2356
- value: string;
2357
- slot: string;
2358
- nextIndex: string | number | bigint;
2359
- nextSlot: string;
2360
- };
2361
- leafIndex: string;
2362
- siblingPath: string[];
2363
- };
2364
- updatePreimage: string[];
2365
2261
  address?: any;
2366
2262
  deployer?: any;
2367
2263
  }[];
2368
2264
  contractClasses: {
2369
2265
  classId: string;
2370
- exists: boolean;
2371
2266
  artifactHash: string;
2372
2267
  privateFunctionsRoot: string;
2373
- publicBytecodeCommitment: string;
2374
2268
  packedBytecode: string | {
2375
2269
  type: "Buffer";
2376
2270
  data: number[];
2377
2271
  };
2378
2272
  }[];
2273
+ bytecodeCommitments: {
2274
+ classId: string;
2275
+ commitment: string;
2276
+ }[];
2379
2277
  publicDataReads: {
2278
+ leafIndex: string;
2279
+ siblingPath: string[];
2380
2280
  leafPreimage: {
2381
2281
  value: string;
2382
2282
  slot: string;
2383
2283
  nextIndex: string | number | bigint;
2384
2284
  nextSlot: string;
2385
2285
  };
2386
- leafIndex: string;
2387
- siblingPath: string[];
2388
2286
  }[];
2389
2287
  nullifierReads: {
2390
2288
  lowLeafPreimage: {