@aztec/stdlib 0.82.2 → 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.
- package/dest/avm/avm.d.ts +919 -1252
- package/dest/avm/avm.d.ts.map +1 -1
- package/dest/avm/avm.js +138 -111
- package/dest/avm/avm_proving_request.d.ts +400 -575
- package/dest/avm/avm_proving_request.d.ts.map +1 -1
- package/dest/block/l2_block_downloader/l2_block_stream.d.ts +1 -0
- package/dest/block/l2_block_downloader/l2_block_stream.d.ts.map +1 -1
- package/dest/block/l2_block_downloader/l2_block_stream.js +6 -0
- package/dest/database-version/version_manager.d.ts +4 -2
- package/dest/database-version/version_manager.d.ts.map +1 -1
- package/dest/database-version/version_manager.js +13 -9
- package/dest/epoch-helpers/index.d.ts +2 -0
- package/dest/epoch-helpers/index.d.ts.map +1 -1
- package/dest/epoch-helpers/index.js +3 -0
- package/dest/file-store/factory.d.ts +7 -0
- package/dest/file-store/factory.d.ts.map +1 -0
- package/dest/file-store/factory.js +46 -0
- package/dest/file-store/gcs.d.ts +22 -0
- package/dest/file-store/gcs.d.ts.map +1 -0
- package/dest/file-store/gcs.js +115 -0
- package/dest/file-store/http.d.ts +15 -0
- package/dest/file-store/http.d.ts.map +1 -0
- package/dest/file-store/http.js +53 -0
- package/dest/file-store/index.d.ts +3 -0
- package/dest/file-store/index.d.ts.map +1 -0
- package/dest/file-store/index.js +2 -0
- package/dest/file-store/interface.d.ts +24 -0
- package/dest/file-store/interface.d.ts.map +1 -0
- package/dest/file-store/interface.js +1 -0
- package/dest/file-store/local.d.ts +16 -0
- package/dest/file-store/local.d.ts.map +1 -0
- package/dest/file-store/local.js +40 -0
- package/dest/interfaces/aztec-node-admin.d.ts +9 -1
- package/dest/interfaces/aztec-node-admin.d.ts.map +1 -1
- package/dest/interfaces/aztec-node-admin.js +2 -1
- package/dest/interfaces/aztec-node.d.ts +3 -0
- package/dest/interfaces/aztec-node.d.ts.map +1 -1
- package/dest/interfaces/aztec-node.js +2 -0
- package/dest/interfaces/p2p.d.ts +2 -0
- package/dest/interfaces/p2p.d.ts.map +1 -1
- package/dest/interfaces/p2p.js +2 -1
- package/dest/interfaces/prover-node.d.ts +4 -0
- package/dest/interfaces/prover-node.d.ts.map +1 -1
- package/dest/interfaces/prover-node.js +5 -1
- package/dest/interfaces/proving-job.d.ts +400 -575
- package/dest/interfaces/proving-job.d.ts.map +1 -1
- package/dest/interfaces/service.d.ts +3 -0
- package/dest/interfaces/service.d.ts.map +1 -1
- package/dest/interfaces/service.js +7 -0
- package/dest/interfaces/world_state.d.ts +13 -15
- package/dest/interfaces/world_state.d.ts.map +1 -1
- package/dest/snapshots/download.d.ts +9 -0
- package/dest/snapshots/download.d.ts.map +1 -0
- package/dest/snapshots/download.js +37 -0
- package/dest/snapshots/index.d.ts +4 -0
- package/dest/snapshots/index.d.ts.map +1 -0
- package/dest/snapshots/index.js +3 -0
- package/dest/snapshots/types.d.ts +97 -0
- package/dest/snapshots/types.d.ts.map +1 -0
- package/dest/snapshots/types.js +27 -0
- package/dest/snapshots/upload.d.ts +5 -0
- package/dest/snapshots/upload.d.ts.map +1 -0
- package/dest/snapshots/upload.js +37 -0
- package/dest/tests/factories.d.ts +13 -7
- package/dest/tests/factories.d.ts.map +1 -1
- package/dest/tests/factories.js +37 -25
- package/dest/trees/merkle_tree_id.d.ts +8 -0
- package/dest/trees/merkle_tree_id.d.ts.map +1 -1
- package/dest/trees/merkle_tree_id.js +10 -0
- package/dest/trees/nullifier_leaf.d.ts +11 -2
- package/dest/trees/nullifier_leaf.d.ts.map +1 -1
- package/dest/trees/nullifier_leaf.js +12 -7
- package/dest/trees/nullifier_membership_witness.d.ts +7 -7
- package/dest/trees/public_data_leaf.d.ts +13 -0
- package/dest/trees/public_data_leaf.d.ts.map +1 -1
- package/dest/trees/public_data_leaf.js +6 -0
- package/dest/trees/public_data_witness.d.ts +7 -7
- package/dest/validators/index.d.ts +3 -0
- package/dest/validators/index.d.ts.map +1 -0
- package/dest/validators/index.js +1 -0
- package/dest/validators/schemas.d.ts +342 -0
- package/dest/validators/schemas.d.ts.map +1 -0
- package/dest/validators/schemas.js +40 -0
- package/dest/validators/types.d.ts +39 -0
- package/dest/validators/types.d.ts.map +1 -0
- package/dest/validators/types.js +1 -0
- package/package.json +11 -7
- package/src/avm/avm.ts +131 -106
- package/src/block/l2_block_downloader/l2_block_stream.ts +6 -0
- package/src/database-version/version_manager.ts +12 -8
- package/src/epoch-helpers/index.ts +8 -0
- package/src/file-store/factory.ts +61 -0
- package/src/file-store/gcs.ts +121 -0
- package/src/file-store/http.ts +58 -0
- package/src/file-store/index.ts +2 -0
- package/src/file-store/interface.ts +19 -0
- package/src/file-store/local.ts +46 -0
- package/src/interfaces/aztec-node-admin.ts +11 -1
- package/src/interfaces/aztec-node.ts +7 -0
- package/src/interfaces/p2p.ts +4 -0
- package/src/interfaces/prover-node.ts +10 -0
- package/src/interfaces/service.ts +13 -0
- package/src/interfaces/world_state.ts +17 -15
- package/src/snapshots/download.ts +60 -0
- package/src/snapshots/index.ts +3 -0
- package/src/snapshots/types.ts +58 -0
- package/src/snapshots/upload.ts +53 -0
- package/src/tests/factories.ts +74 -54
- package/src/trees/merkle_tree_id.ts +12 -0
- package/src/trees/nullifier_leaf.ts +9 -5
- package/src/trees/public_data_leaf.ts +9 -0
- package/src/validators/index.ts +3 -0
- package/src/validators/schemas.ts +53 -0
- 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
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
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
|
-
|
|
186
|
-
|
|
187
|
-
nextIndex: bigint;
|
|
188
|
-
nextSlot: import("@aztec/foundation/schemas").Fr;
|
|
183
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
184
|
+
nextAvailableLeafIndex: number;
|
|
189
185
|
}, {
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
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
|
-
|
|
201
|
-
|
|
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
|
-
|
|
204
|
-
|
|
205
|
-
|
|
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
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
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
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
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
|
-
|
|
280
|
-
|
|
281
|
-
nextIndex: bigint;
|
|
282
|
-
nextSlot: import("@aztec/foundation/schemas").Fr;
|
|
222
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
223
|
+
nextAvailableLeafIndex: number;
|
|
283
224
|
}, {
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
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
|
-
|
|
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
|
-
|
|
297
|
-
|
|
298
|
-
|
|
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
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
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
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
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
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
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
|
-
|
|
343
|
-
|
|
344
|
-
nextIndex: bigint;
|
|
265
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
266
|
+
nextAvailableLeafIndex: number;
|
|
345
267
|
}, {
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
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
|
-
|
|
355
|
-
|
|
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
|
-
|
|
358
|
-
|
|
359
|
-
|
|
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
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
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
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
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
|
-
|
|
400
|
-
|
|
401
|
-
lowLeafSiblingPath: import("@aztec/foundation/schemas").Fr[];
|
|
314
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
315
|
+
nextAvailableLeafIndex: number;
|
|
402
316
|
}, {
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
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
|
-
|
|
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
|
-
|
|
422
|
-
|
|
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
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
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
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
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
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
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
|
-
|
|
481
|
-
|
|
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
|
-
|
|
487
|
-
|
|
377
|
+
index: bigint;
|
|
378
|
+
hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
379
|
+
treeId: number;
|
|
488
380
|
}, {
|
|
489
381
|
value: string;
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
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
|
-
|
|
495
|
-
|
|
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
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
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
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
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
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
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
|
-
|
|
469
|
+
treeId: number;
|
|
470
|
+
alreadyPresent: boolean;
|
|
592
471
|
}[];
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
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
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
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
|
-
|
|
492
|
+
getLeafValueHints: {
|
|
604
493
|
value: string;
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
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
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
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
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
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
|
-
|
|
551
|
+
treeId: number;
|
|
552
|
+
alreadyPresent: boolean;
|
|
691
553
|
}[];
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
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
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
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
|
-
|
|
574
|
+
getLeafValueHints: {
|
|
703
575
|
value: string;
|
|
704
|
-
|
|
705
|
-
|
|
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
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
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
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
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
|
-
|
|
1645
|
+
treeId: number;
|
|
1646
|
+
alreadyPresent: boolean;
|
|
1802
1647
|
}[];
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
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
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
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
|
-
|
|
1668
|
+
getLeafValueHints: {
|
|
1814
1669
|
value: string;
|
|
1815
|
-
|
|
1816
|
-
|
|
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
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
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
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
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
|
-
|
|
1880
|
+
treeId: number;
|
|
1881
|
+
alreadyPresent: boolean;
|
|
2054
1882
|
}[];
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
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
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
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
|
-
|
|
1903
|
+
getLeafValueHints: {
|
|
2066
1904
|
value: string;
|
|
2067
|
-
|
|
2068
|
-
|
|
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
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
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
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
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
|
-
|
|
2121
|
+
treeId: number;
|
|
2122
|
+
alreadyPresent: boolean;
|
|
2312
2123
|
}[];
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
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
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
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
|
-
|
|
2144
|
+
getLeafValueHints: {
|
|
2324
2145
|
value: string;
|
|
2325
|
-
|
|
2326
|
-
|
|
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: {
|