@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.
- 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
|
@@ -146,357 +146,248 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
146
146
|
classId: string;
|
|
147
147
|
commitment: string;
|
|
148
148
|
}>, "many">;
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
nextSlot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
154
|
-
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
149
|
+
getSiblingPathHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
150
|
+
hintKey: z.ZodEffects<z.ZodObject<{
|
|
151
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
152
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
155
153
|
}, "strip", z.ZodTypeAny, {
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
nextIndex: bigint;
|
|
159
|
-
nextSlot: import("@aztec/foundation/schemas").Fr;
|
|
154
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
155
|
+
nextAvailableLeafIndex: number;
|
|
160
156
|
}, {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
value: string;
|
|
167
|
-
slot: string;
|
|
168
|
-
nextIndex: string | number | bigint;
|
|
169
|
-
nextSlot: string;
|
|
157
|
+
root: string;
|
|
158
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
159
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
160
|
+
root: string;
|
|
161
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
170
162
|
}>;
|
|
171
|
-
|
|
172
|
-
|
|
163
|
+
treeId: z.ZodNumber;
|
|
164
|
+
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
165
|
+
path: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
173
166
|
}, "strip", z.ZodTypeAny, {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
167
|
+
path: import("@aztec/foundation/schemas").Fr[];
|
|
168
|
+
index: bigint;
|
|
169
|
+
hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
170
|
+
treeId: number;
|
|
177
171
|
}, {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
slot: string;
|
|
192
|
-
nextIndex: string | number | bigint;
|
|
193
|
-
nextSlot: string;
|
|
172
|
+
path: string[];
|
|
173
|
+
index: string | number | bigint;
|
|
174
|
+
hintKey: {
|
|
175
|
+
root: string;
|
|
176
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
177
|
+
};
|
|
178
|
+
treeId: number;
|
|
179
|
+
}>, import("./avm.js").AvmGetSiblingPathHint, {
|
|
180
|
+
path: string[];
|
|
181
|
+
index: string | number | bigint;
|
|
182
|
+
hintKey: {
|
|
183
|
+
root: string;
|
|
184
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
194
185
|
};
|
|
186
|
+
treeId: number;
|
|
195
187
|
}>, "many">;
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
201
|
-
nextSlot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
202
|
-
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
203
|
-
}, "strip", z.ZodTypeAny, {
|
|
204
|
-
value: import("@aztec/foundation/schemas").Fr;
|
|
205
|
-
slot: import("@aztec/foundation/schemas").Fr;
|
|
206
|
-
nextIndex: bigint;
|
|
207
|
-
nextSlot: import("@aztec/foundation/schemas").Fr;
|
|
208
|
-
}, {
|
|
209
|
-
value: string;
|
|
210
|
-
slot: string;
|
|
211
|
-
nextIndex: string | number | bigint;
|
|
212
|
-
nextSlot: string;
|
|
213
|
-
}>, import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage, {
|
|
214
|
-
value: string;
|
|
215
|
-
slot: string;
|
|
216
|
-
nextIndex: string | number | bigint;
|
|
217
|
-
nextSlot: string;
|
|
218
|
-
}>;
|
|
219
|
-
leafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
220
|
-
siblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
221
|
-
}, "strip", z.ZodTypeAny, {
|
|
222
|
-
leafIndex: import("@aztec/foundation/schemas").Fr;
|
|
223
|
-
siblingPath: import("@aztec/foundation/schemas").Fr[];
|
|
224
|
-
leafPreimage: import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
225
|
-
}, {
|
|
226
|
-
leafIndex: string;
|
|
227
|
-
siblingPath: string[];
|
|
228
|
-
leafPreimage: {
|
|
229
|
-
value: string;
|
|
230
|
-
slot: string;
|
|
231
|
-
nextIndex: string | number | bigint;
|
|
232
|
-
nextSlot: string;
|
|
233
|
-
};
|
|
234
|
-
}>, import("./avm.js").AvmPublicDataReadTreeHint, {
|
|
235
|
-
leafIndex: string;
|
|
236
|
-
siblingPath: string[];
|
|
237
|
-
leafPreimage: {
|
|
238
|
-
value: string;
|
|
239
|
-
slot: string;
|
|
240
|
-
nextIndex: string | number | bigint;
|
|
241
|
-
nextSlot: string;
|
|
242
|
-
};
|
|
243
|
-
}>;
|
|
244
|
-
newLeafPreimage: z.ZodEffects<z.ZodObject<{
|
|
245
|
-
slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
246
|
-
value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
247
|
-
nextSlot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
248
|
-
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
188
|
+
getPreviousValueIndexHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
189
|
+
hintKey: z.ZodEffects<z.ZodObject<{
|
|
190
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
191
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
249
192
|
}, "strip", z.ZodTypeAny, {
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
nextIndex: bigint;
|
|
253
|
-
nextSlot: import("@aztec/foundation/schemas").Fr;
|
|
193
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
194
|
+
nextAvailableLeafIndex: number;
|
|
254
195
|
}, {
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
value: string;
|
|
261
|
-
slot: string;
|
|
262
|
-
nextIndex: string | number | bigint;
|
|
263
|
-
nextSlot: string;
|
|
196
|
+
root: string;
|
|
197
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
198
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
199
|
+
root: string;
|
|
200
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
264
201
|
}>;
|
|
265
|
-
|
|
202
|
+
treeId: z.ZodNumber;
|
|
203
|
+
value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
204
|
+
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
205
|
+
alreadyPresent: z.ZodBoolean;
|
|
266
206
|
}, "strip", z.ZodTypeAny, {
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
207
|
+
value: import("@aztec/foundation/schemas").Fr;
|
|
208
|
+
index: bigint;
|
|
209
|
+
hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
210
|
+
treeId: number;
|
|
211
|
+
alreadyPresent: boolean;
|
|
270
212
|
}, {
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
slot: string;
|
|
277
|
-
nextIndex: string | number | bigint;
|
|
278
|
-
nextSlot: string;
|
|
279
|
-
};
|
|
280
|
-
};
|
|
281
|
-
insertionPath: string[];
|
|
282
|
-
newLeafPreimage: {
|
|
283
|
-
value: string;
|
|
284
|
-
slot: string;
|
|
285
|
-
nextIndex: string | number | bigint;
|
|
286
|
-
nextSlot: string;
|
|
287
|
-
};
|
|
288
|
-
}>, import("./avm.js").AvmPublicDataWriteTreeHint, {
|
|
289
|
-
lowLeafRead: {
|
|
290
|
-
leafIndex: string;
|
|
291
|
-
siblingPath: string[];
|
|
292
|
-
leafPreimage: {
|
|
293
|
-
value: string;
|
|
294
|
-
slot: string;
|
|
295
|
-
nextIndex: string | number | bigint;
|
|
296
|
-
nextSlot: string;
|
|
297
|
-
};
|
|
213
|
+
value: string;
|
|
214
|
+
index: string | number | bigint;
|
|
215
|
+
hintKey: {
|
|
216
|
+
root: string;
|
|
217
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
298
218
|
};
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
219
|
+
treeId: number;
|
|
220
|
+
alreadyPresent: boolean;
|
|
221
|
+
}>, import("./avm.js").AvmGetPreviousValueIndexHint, {
|
|
222
|
+
value: string;
|
|
223
|
+
index: string | number | bigint;
|
|
224
|
+
hintKey: {
|
|
225
|
+
root: string;
|
|
226
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
305
227
|
};
|
|
228
|
+
treeId: number;
|
|
229
|
+
alreadyPresent: boolean;
|
|
306
230
|
}>, "many">;
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
231
|
+
getLeafPreimageHintsPublicDataTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
232
|
+
hintKey: z.ZodEffects<z.ZodObject<{
|
|
233
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
234
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
312
235
|
}, "strip", z.ZodTypeAny, {
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
nextIndex: bigint;
|
|
236
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
237
|
+
nextAvailableLeafIndex: number;
|
|
316
238
|
}, {
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
nextNullifier: string;
|
|
323
|
-
nextIndex: string | number | bigint;
|
|
239
|
+
root: string;
|
|
240
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
241
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
242
|
+
root: string;
|
|
243
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
324
244
|
}>;
|
|
325
|
-
|
|
326
|
-
|
|
245
|
+
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
246
|
+
leaf: z.ZodType<any, z.ZodTypeDef, any>;
|
|
247
|
+
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
248
|
+
nextValue: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
327
249
|
}, "strip", z.ZodTypeAny, {
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
250
|
+
index: bigint;
|
|
251
|
+
nextIndex: bigint;
|
|
252
|
+
hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
253
|
+
nextValue: import("@aztec/foundation/schemas").Fr;
|
|
254
|
+
leaf?: any;
|
|
255
|
+
}, {
|
|
256
|
+
index: string | number | bigint;
|
|
257
|
+
nextIndex: string | number | bigint;
|
|
258
|
+
hintKey: {
|
|
259
|
+
root: string;
|
|
260
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
261
|
+
};
|
|
262
|
+
nextValue: string;
|
|
263
|
+
leaf?: any;
|
|
264
|
+
}>, {
|
|
265
|
+
readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
266
|
+
readonly index: bigint;
|
|
267
|
+
readonly leaf: import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
|
|
268
|
+
readonly nextIndex: bigint;
|
|
269
|
+
readonly nextValue: import("@aztec/foundation/schemas").Fr;
|
|
331
270
|
}, {
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
lowLeafPreimage: {
|
|
341
|
-
nullifier: string;
|
|
342
|
-
nextNullifier: string;
|
|
343
|
-
nextIndex: string | number | bigint;
|
|
344
|
-
};
|
|
345
|
-
lowLeafIndex: string;
|
|
346
|
-
lowLeafSiblingPath: string[];
|
|
271
|
+
index: string | number | bigint;
|
|
272
|
+
nextIndex: string | number | bigint;
|
|
273
|
+
hintKey: {
|
|
274
|
+
root: string;
|
|
275
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
276
|
+
};
|
|
277
|
+
nextValue: string;
|
|
278
|
+
leaf?: any;
|
|
347
279
|
}>, "many">;
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
nextNullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
353
|
-
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
354
|
-
}, "strip", z.ZodTypeAny, {
|
|
355
|
-
nullifier: import("@aztec/foundation/schemas").Fr;
|
|
356
|
-
nextNullifier: import("@aztec/foundation/schemas").Fr;
|
|
357
|
-
nextIndex: bigint;
|
|
358
|
-
}, {
|
|
359
|
-
nullifier: string;
|
|
360
|
-
nextNullifier: string;
|
|
361
|
-
nextIndex: string | number | bigint;
|
|
362
|
-
}>, import("../trees/nullifier_leaf.js").NullifierLeafPreimage, {
|
|
363
|
-
nullifier: string;
|
|
364
|
-
nextNullifier: string;
|
|
365
|
-
nextIndex: string | number | bigint;
|
|
366
|
-
}>;
|
|
367
|
-
lowLeafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
368
|
-
lowLeafSiblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
280
|
+
getLeafPreimageHintsNullifierTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
281
|
+
hintKey: z.ZodEffects<z.ZodObject<{
|
|
282
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
283
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
369
284
|
}, "strip", z.ZodTypeAny, {
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
lowLeafSiblingPath: import("@aztec/foundation/schemas").Fr[];
|
|
285
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
286
|
+
nextAvailableLeafIndex: number;
|
|
373
287
|
}, {
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
lowLeafIndex: string;
|
|
380
|
-
lowLeafSiblingPath: string[];
|
|
381
|
-
}>, import("./avm.js").AvmNullifierReadTreeHint, {
|
|
382
|
-
lowLeafPreimage: {
|
|
383
|
-
nullifier: string;
|
|
384
|
-
nextNullifier: string;
|
|
385
|
-
nextIndex: string | number | bigint;
|
|
386
|
-
};
|
|
387
|
-
lowLeafIndex: string;
|
|
388
|
-
lowLeafSiblingPath: string[];
|
|
288
|
+
root: string;
|
|
289
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
290
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
291
|
+
root: string;
|
|
292
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
389
293
|
}>;
|
|
390
|
-
|
|
294
|
+
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
295
|
+
leaf: z.ZodType<any, z.ZodTypeDef, any>;
|
|
296
|
+
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
297
|
+
nextValue: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
391
298
|
}, "strip", z.ZodTypeAny, {
|
|
392
|
-
|
|
393
|
-
|
|
299
|
+
index: bigint;
|
|
300
|
+
nextIndex: bigint;
|
|
301
|
+
hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
302
|
+
nextValue: import("@aztec/foundation/schemas").Fr;
|
|
303
|
+
leaf?: any;
|
|
394
304
|
}, {
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
};
|
|
401
|
-
lowLeafIndex: string;
|
|
402
|
-
lowLeafSiblingPath: string[];
|
|
403
|
-
};
|
|
404
|
-
insertionPath: string[];
|
|
405
|
-
}>, import("./avm.js").AvmNullifierWriteTreeHint, {
|
|
406
|
-
lowLeafRead: {
|
|
407
|
-
lowLeafPreimage: {
|
|
408
|
-
nullifier: string;
|
|
409
|
-
nextNullifier: string;
|
|
410
|
-
nextIndex: string | number | bigint;
|
|
411
|
-
};
|
|
412
|
-
lowLeafIndex: string;
|
|
413
|
-
lowLeafSiblingPath: string[];
|
|
305
|
+
index: string | number | bigint;
|
|
306
|
+
nextIndex: string | number | bigint;
|
|
307
|
+
hintKey: {
|
|
308
|
+
root: string;
|
|
309
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
414
310
|
};
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
leafIndex: import("@aztec/foundation/schemas").Fr;
|
|
424
|
-
siblingPath: import("@aztec/foundation/schemas").Fr[];
|
|
425
|
-
}, {
|
|
426
|
-
value: string;
|
|
427
|
-
leafIndex: string;
|
|
428
|
-
siblingPath: string[];
|
|
429
|
-
}>, import("./avm.js").AvmAppendTreeHint, {
|
|
430
|
-
value: string;
|
|
431
|
-
leafIndex: string;
|
|
432
|
-
siblingPath: string[];
|
|
433
|
-
}>, "many">;
|
|
434
|
-
noteHashWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
435
|
-
leafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
436
|
-
value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
437
|
-
siblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
438
|
-
}, "strip", z.ZodTypeAny, {
|
|
439
|
-
value: import("@aztec/foundation/schemas").Fr;
|
|
440
|
-
leafIndex: import("@aztec/foundation/schemas").Fr;
|
|
441
|
-
siblingPath: import("@aztec/foundation/schemas").Fr[];
|
|
311
|
+
nextValue: string;
|
|
312
|
+
leaf?: any;
|
|
313
|
+
}>, {
|
|
314
|
+
readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
315
|
+
readonly index: bigint;
|
|
316
|
+
readonly leaf: import("../trees/nullifier_leaf.js").NullifierLeaf;
|
|
317
|
+
readonly nextIndex: bigint;
|
|
318
|
+
readonly nextValue: import("@aztec/foundation/schemas").Fr;
|
|
442
319
|
}, {
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
320
|
+
index: string | number | bigint;
|
|
321
|
+
nextIndex: string | number | bigint;
|
|
322
|
+
hintKey: {
|
|
323
|
+
root: string;
|
|
324
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
325
|
+
};
|
|
326
|
+
nextValue: string;
|
|
327
|
+
leaf?: any;
|
|
450
328
|
}>, "many">;
|
|
451
|
-
|
|
452
|
-
|
|
329
|
+
getLeafValueHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
330
|
+
hintKey: z.ZodEffects<z.ZodObject<{
|
|
331
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
332
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
333
|
+
}, "strip", z.ZodTypeAny, {
|
|
334
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
335
|
+
nextAvailableLeafIndex: number;
|
|
336
|
+
}, {
|
|
337
|
+
root: string;
|
|
338
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
339
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
340
|
+
root: string;
|
|
341
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
342
|
+
}>;
|
|
343
|
+
treeId: z.ZodNumber;
|
|
344
|
+
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
453
345
|
value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
454
|
-
siblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
455
346
|
}, "strip", z.ZodTypeAny, {
|
|
456
347
|
value: import("@aztec/foundation/schemas").Fr;
|
|
457
|
-
|
|
458
|
-
|
|
348
|
+
index: bigint;
|
|
349
|
+
hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
350
|
+
treeId: number;
|
|
459
351
|
}, {
|
|
460
352
|
value: string;
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
353
|
+
index: string | number | bigint;
|
|
354
|
+
hintKey: {
|
|
355
|
+
root: string;
|
|
356
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
357
|
+
};
|
|
358
|
+
treeId: number;
|
|
359
|
+
}>, import("./avm.js").AvmGetLeafValueHint, {
|
|
464
360
|
value: string;
|
|
465
|
-
|
|
466
|
-
|
|
361
|
+
index: string | number | bigint;
|
|
362
|
+
hintKey: {
|
|
363
|
+
root: string;
|
|
364
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
365
|
+
};
|
|
366
|
+
treeId: number;
|
|
467
367
|
}>, "many">;
|
|
468
368
|
}, "strip", z.ZodTypeAny, {
|
|
469
|
-
publicDataWrites: import("./avm.js").AvmPublicDataWriteTreeHint[];
|
|
470
369
|
enqueuedCalls: import("./avm.js").AvmEnqueuedCallHint[];
|
|
471
370
|
contractInstances: import("./avm.js").AvmContractInstanceHint[];
|
|
472
371
|
contractClasses: import("./avm.js").AvmContractClassHint[];
|
|
473
372
|
bytecodeCommitments: import("./avm.js").AvmBytecodeCommitmentHint[];
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
373
|
+
getSiblingPathHints: import("./avm.js").AvmGetSiblingPathHint[];
|
|
374
|
+
getPreviousValueIndexHints: import("./avm.js").AvmGetPreviousValueIndexHint[];
|
|
375
|
+
getLeafPreimageHintsPublicDataTree: {
|
|
376
|
+
readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
377
|
+
readonly index: bigint;
|
|
378
|
+
readonly leaf: import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
|
|
379
|
+
readonly nextIndex: bigint;
|
|
380
|
+
readonly nextValue: import("@aztec/foundation/schemas").Fr;
|
|
381
|
+
}[];
|
|
382
|
+
getLeafPreimageHintsNullifierTree: {
|
|
383
|
+
readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
384
|
+
readonly index: bigint;
|
|
385
|
+
readonly leaf: import("../trees/nullifier_leaf.js").NullifierLeaf;
|
|
386
|
+
readonly nextIndex: bigint;
|
|
387
|
+
readonly nextValue: import("@aztec/foundation/schemas").Fr;
|
|
388
|
+
}[];
|
|
389
|
+
getLeafValueHints: import("./avm.js").AvmGetLeafValueHint[];
|
|
480
390
|
}, {
|
|
481
|
-
publicDataWrites: {
|
|
482
|
-
lowLeafRead: {
|
|
483
|
-
leafIndex: string;
|
|
484
|
-
siblingPath: string[];
|
|
485
|
-
leafPreimage: {
|
|
486
|
-
value: string;
|
|
487
|
-
slot: string;
|
|
488
|
-
nextIndex: string | number | bigint;
|
|
489
|
-
nextSlot: string;
|
|
490
|
-
};
|
|
491
|
-
};
|
|
492
|
-
insertionPath: string[];
|
|
493
|
-
newLeafPreimage: {
|
|
494
|
-
value: string;
|
|
495
|
-
slot: string;
|
|
496
|
-
nextIndex: string | number | bigint;
|
|
497
|
-
nextSlot: string;
|
|
498
|
-
};
|
|
499
|
-
}[];
|
|
500
391
|
enqueuedCalls: {
|
|
501
392
|
isStaticCall: boolean;
|
|
502
393
|
calldata: string[];
|
|
@@ -530,72 +421,55 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
530
421
|
classId: string;
|
|
531
422
|
commitment: string;
|
|
532
423
|
}[];
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
nextIndex: string | number | bigint;
|
|
540
|
-
nextSlot: string;
|
|
424
|
+
getSiblingPathHints: {
|
|
425
|
+
path: string[];
|
|
426
|
+
index: string | number | bigint;
|
|
427
|
+
hintKey: {
|
|
428
|
+
root: string;
|
|
429
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
541
430
|
};
|
|
431
|
+
treeId: number;
|
|
542
432
|
}[];
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
lowLeafIndex: string;
|
|
550
|
-
lowLeafSiblingPath: string[];
|
|
551
|
-
}[];
|
|
552
|
-
nullifierWrites: {
|
|
553
|
-
lowLeafRead: {
|
|
554
|
-
lowLeafPreimage: {
|
|
555
|
-
nullifier: string;
|
|
556
|
-
nextNullifier: string;
|
|
557
|
-
nextIndex: string | number | bigint;
|
|
558
|
-
};
|
|
559
|
-
lowLeafIndex: string;
|
|
560
|
-
lowLeafSiblingPath: string[];
|
|
433
|
+
getPreviousValueIndexHints: {
|
|
434
|
+
value: string;
|
|
435
|
+
index: string | number | bigint;
|
|
436
|
+
hintKey: {
|
|
437
|
+
root: string;
|
|
438
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
561
439
|
};
|
|
562
|
-
|
|
440
|
+
treeId: number;
|
|
441
|
+
alreadyPresent: boolean;
|
|
563
442
|
}[];
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
443
|
+
getLeafPreimageHintsPublicDataTree: {
|
|
444
|
+
index: string | number | bigint;
|
|
445
|
+
nextIndex: string | number | bigint;
|
|
446
|
+
hintKey: {
|
|
447
|
+
root: string;
|
|
448
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
449
|
+
};
|
|
450
|
+
nextValue: string;
|
|
451
|
+
leaf?: any;
|
|
568
452
|
}[];
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
453
|
+
getLeafPreimageHintsNullifierTree: {
|
|
454
|
+
index: string | number | bigint;
|
|
455
|
+
nextIndex: string | number | bigint;
|
|
456
|
+
hintKey: {
|
|
457
|
+
root: string;
|
|
458
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
459
|
+
};
|
|
460
|
+
nextValue: string;
|
|
461
|
+
leaf?: any;
|
|
573
462
|
}[];
|
|
574
|
-
|
|
463
|
+
getLeafValueHints: {
|
|
575
464
|
value: string;
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
publicDataWrites: {
|
|
581
|
-
lowLeafRead: {
|
|
582
|
-
leafIndex: string;
|
|
583
|
-
siblingPath: string[];
|
|
584
|
-
leafPreimage: {
|
|
585
|
-
value: string;
|
|
586
|
-
slot: string;
|
|
587
|
-
nextIndex: string | number | bigint;
|
|
588
|
-
nextSlot: string;
|
|
589
|
-
};
|
|
590
|
-
};
|
|
591
|
-
insertionPath: string[];
|
|
592
|
-
newLeafPreimage: {
|
|
593
|
-
value: string;
|
|
594
|
-
slot: string;
|
|
595
|
-
nextIndex: string | number | bigint;
|
|
596
|
-
nextSlot: string;
|
|
465
|
+
index: string | number | bigint;
|
|
466
|
+
hintKey: {
|
|
467
|
+
root: string;
|
|
468
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
597
469
|
};
|
|
470
|
+
treeId: number;
|
|
598
471
|
}[];
|
|
472
|
+
}>, import("./avm.js").AvmExecutionHints, {
|
|
599
473
|
enqueuedCalls: {
|
|
600
474
|
isStaticCall: boolean;
|
|
601
475
|
calldata: string[];
|
|
@@ -629,51 +503,53 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
629
503
|
classId: string;
|
|
630
504
|
commitment: string;
|
|
631
505
|
}[];
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
nextIndex: string | number | bigint;
|
|
639
|
-
nextSlot: string;
|
|
506
|
+
getSiblingPathHints: {
|
|
507
|
+
path: string[];
|
|
508
|
+
index: string | number | bigint;
|
|
509
|
+
hintKey: {
|
|
510
|
+
root: string;
|
|
511
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
640
512
|
};
|
|
513
|
+
treeId: number;
|
|
641
514
|
}[];
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
lowLeafIndex: string;
|
|
649
|
-
lowLeafSiblingPath: string[];
|
|
650
|
-
}[];
|
|
651
|
-
nullifierWrites: {
|
|
652
|
-
lowLeafRead: {
|
|
653
|
-
lowLeafPreimage: {
|
|
654
|
-
nullifier: string;
|
|
655
|
-
nextNullifier: string;
|
|
656
|
-
nextIndex: string | number | bigint;
|
|
657
|
-
};
|
|
658
|
-
lowLeafIndex: string;
|
|
659
|
-
lowLeafSiblingPath: string[];
|
|
515
|
+
getPreviousValueIndexHints: {
|
|
516
|
+
value: string;
|
|
517
|
+
index: string | number | bigint;
|
|
518
|
+
hintKey: {
|
|
519
|
+
root: string;
|
|
520
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
660
521
|
};
|
|
661
|
-
|
|
522
|
+
treeId: number;
|
|
523
|
+
alreadyPresent: boolean;
|
|
662
524
|
}[];
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
525
|
+
getLeafPreimageHintsPublicDataTree: {
|
|
526
|
+
index: string | number | bigint;
|
|
527
|
+
nextIndex: string | number | bigint;
|
|
528
|
+
hintKey: {
|
|
529
|
+
root: string;
|
|
530
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
531
|
+
};
|
|
532
|
+
nextValue: string;
|
|
533
|
+
leaf?: any;
|
|
667
534
|
}[];
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
535
|
+
getLeafPreimageHintsNullifierTree: {
|
|
536
|
+
index: string | number | bigint;
|
|
537
|
+
nextIndex: string | number | bigint;
|
|
538
|
+
hintKey: {
|
|
539
|
+
root: string;
|
|
540
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
541
|
+
};
|
|
542
|
+
nextValue: string;
|
|
543
|
+
leaf?: any;
|
|
672
544
|
}[];
|
|
673
|
-
|
|
545
|
+
getLeafValueHints: {
|
|
674
546
|
value: string;
|
|
675
|
-
|
|
676
|
-
|
|
547
|
+
index: string | number | bigint;
|
|
548
|
+
hintKey: {
|
|
549
|
+
root: string;
|
|
550
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
551
|
+
};
|
|
552
|
+
treeId: number;
|
|
677
553
|
}[];
|
|
678
554
|
}>;
|
|
679
555
|
publicInputs: z.ZodEffects<z.ZodObject<{
|
|
@@ -1688,25 +1564,6 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1688
1564
|
calldata: string[];
|
|
1689
1565
|
functionName: string;
|
|
1690
1566
|
hints: {
|
|
1691
|
-
publicDataWrites: {
|
|
1692
|
-
lowLeafRead: {
|
|
1693
|
-
leafIndex: string;
|
|
1694
|
-
siblingPath: string[];
|
|
1695
|
-
leafPreimage: {
|
|
1696
|
-
value: string;
|
|
1697
|
-
slot: string;
|
|
1698
|
-
nextIndex: string | number | bigint;
|
|
1699
|
-
nextSlot: string;
|
|
1700
|
-
};
|
|
1701
|
-
};
|
|
1702
|
-
insertionPath: string[];
|
|
1703
|
-
newLeafPreimage: {
|
|
1704
|
-
value: string;
|
|
1705
|
-
slot: string;
|
|
1706
|
-
nextIndex: string | number | bigint;
|
|
1707
|
-
nextSlot: string;
|
|
1708
|
-
};
|
|
1709
|
-
}[];
|
|
1710
1567
|
enqueuedCalls: {
|
|
1711
1568
|
isStaticCall: boolean;
|
|
1712
1569
|
calldata: string[];
|
|
@@ -1740,51 +1597,53 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1740
1597
|
classId: string;
|
|
1741
1598
|
commitment: string;
|
|
1742
1599
|
}[];
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
nextIndex: string | number | bigint;
|
|
1750
|
-
nextSlot: string;
|
|
1600
|
+
getSiblingPathHints: {
|
|
1601
|
+
path: string[];
|
|
1602
|
+
index: string | number | bigint;
|
|
1603
|
+
hintKey: {
|
|
1604
|
+
root: string;
|
|
1605
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1751
1606
|
};
|
|
1607
|
+
treeId: number;
|
|
1752
1608
|
}[];
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
lowLeafIndex: string;
|
|
1760
|
-
lowLeafSiblingPath: string[];
|
|
1761
|
-
}[];
|
|
1762
|
-
nullifierWrites: {
|
|
1763
|
-
lowLeafRead: {
|
|
1764
|
-
lowLeafPreimage: {
|
|
1765
|
-
nullifier: string;
|
|
1766
|
-
nextNullifier: string;
|
|
1767
|
-
nextIndex: string | number | bigint;
|
|
1768
|
-
};
|
|
1769
|
-
lowLeafIndex: string;
|
|
1770
|
-
lowLeafSiblingPath: string[];
|
|
1609
|
+
getPreviousValueIndexHints: {
|
|
1610
|
+
value: string;
|
|
1611
|
+
index: string | number | bigint;
|
|
1612
|
+
hintKey: {
|
|
1613
|
+
root: string;
|
|
1614
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1771
1615
|
};
|
|
1772
|
-
|
|
1616
|
+
treeId: number;
|
|
1617
|
+
alreadyPresent: boolean;
|
|
1773
1618
|
}[];
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1619
|
+
getLeafPreimageHintsPublicDataTree: {
|
|
1620
|
+
index: string | number | bigint;
|
|
1621
|
+
nextIndex: string | number | bigint;
|
|
1622
|
+
hintKey: {
|
|
1623
|
+
root: string;
|
|
1624
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1625
|
+
};
|
|
1626
|
+
nextValue: string;
|
|
1627
|
+
leaf?: any;
|
|
1778
1628
|
}[];
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1629
|
+
getLeafPreimageHintsNullifierTree: {
|
|
1630
|
+
index: string | number | bigint;
|
|
1631
|
+
nextIndex: string | number | bigint;
|
|
1632
|
+
hintKey: {
|
|
1633
|
+
root: string;
|
|
1634
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1635
|
+
};
|
|
1636
|
+
nextValue: string;
|
|
1637
|
+
leaf?: any;
|
|
1783
1638
|
}[];
|
|
1784
|
-
|
|
1639
|
+
getLeafValueHints: {
|
|
1785
1640
|
value: string;
|
|
1786
|
-
|
|
1787
|
-
|
|
1641
|
+
index: string | number | bigint;
|
|
1642
|
+
hintKey: {
|
|
1643
|
+
root: string;
|
|
1644
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1645
|
+
};
|
|
1646
|
+
treeId: number;
|
|
1788
1647
|
}[];
|
|
1789
1648
|
};
|
|
1790
1649
|
publicInputs: {
|
|
@@ -1940,25 +1799,6 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1940
1799
|
calldata: string[];
|
|
1941
1800
|
functionName: string;
|
|
1942
1801
|
hints: {
|
|
1943
|
-
publicDataWrites: {
|
|
1944
|
-
lowLeafRead: {
|
|
1945
|
-
leafIndex: string;
|
|
1946
|
-
siblingPath: string[];
|
|
1947
|
-
leafPreimage: {
|
|
1948
|
-
value: string;
|
|
1949
|
-
slot: string;
|
|
1950
|
-
nextIndex: string | number | bigint;
|
|
1951
|
-
nextSlot: string;
|
|
1952
|
-
};
|
|
1953
|
-
};
|
|
1954
|
-
insertionPath: string[];
|
|
1955
|
-
newLeafPreimage: {
|
|
1956
|
-
value: string;
|
|
1957
|
-
slot: string;
|
|
1958
|
-
nextIndex: string | number | bigint;
|
|
1959
|
-
nextSlot: string;
|
|
1960
|
-
};
|
|
1961
|
-
}[];
|
|
1962
1802
|
enqueuedCalls: {
|
|
1963
1803
|
isStaticCall: boolean;
|
|
1964
1804
|
calldata: string[];
|
|
@@ -1992,51 +1832,53 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1992
1832
|
classId: string;
|
|
1993
1833
|
commitment: string;
|
|
1994
1834
|
}[];
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
nextIndex: string | number | bigint;
|
|
2002
|
-
nextSlot: string;
|
|
1835
|
+
getSiblingPathHints: {
|
|
1836
|
+
path: string[];
|
|
1837
|
+
index: string | number | bigint;
|
|
1838
|
+
hintKey: {
|
|
1839
|
+
root: string;
|
|
1840
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2003
1841
|
};
|
|
1842
|
+
treeId: number;
|
|
2004
1843
|
}[];
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
lowLeafIndex: string;
|
|
2012
|
-
lowLeafSiblingPath: string[];
|
|
2013
|
-
}[];
|
|
2014
|
-
nullifierWrites: {
|
|
2015
|
-
lowLeafRead: {
|
|
2016
|
-
lowLeafPreimage: {
|
|
2017
|
-
nullifier: string;
|
|
2018
|
-
nextNullifier: string;
|
|
2019
|
-
nextIndex: string | number | bigint;
|
|
2020
|
-
};
|
|
2021
|
-
lowLeafIndex: string;
|
|
2022
|
-
lowLeafSiblingPath: string[];
|
|
1844
|
+
getPreviousValueIndexHints: {
|
|
1845
|
+
value: string;
|
|
1846
|
+
index: string | number | bigint;
|
|
1847
|
+
hintKey: {
|
|
1848
|
+
root: string;
|
|
1849
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2023
1850
|
};
|
|
2024
|
-
|
|
1851
|
+
treeId: number;
|
|
1852
|
+
alreadyPresent: boolean;
|
|
2025
1853
|
}[];
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
1854
|
+
getLeafPreimageHintsPublicDataTree: {
|
|
1855
|
+
index: string | number | bigint;
|
|
1856
|
+
nextIndex: string | number | bigint;
|
|
1857
|
+
hintKey: {
|
|
1858
|
+
root: string;
|
|
1859
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1860
|
+
};
|
|
1861
|
+
nextValue: string;
|
|
1862
|
+
leaf?: any;
|
|
2030
1863
|
}[];
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
1864
|
+
getLeafPreimageHintsNullifierTree: {
|
|
1865
|
+
index: string | number | bigint;
|
|
1866
|
+
nextIndex: string | number | bigint;
|
|
1867
|
+
hintKey: {
|
|
1868
|
+
root: string;
|
|
1869
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1870
|
+
};
|
|
1871
|
+
nextValue: string;
|
|
1872
|
+
leaf?: any;
|
|
2035
1873
|
}[];
|
|
2036
|
-
|
|
1874
|
+
getLeafValueHints: {
|
|
2037
1875
|
value: string;
|
|
2038
|
-
|
|
2039
|
-
|
|
1876
|
+
index: string | number | bigint;
|
|
1877
|
+
hintKey: {
|
|
1878
|
+
root: string;
|
|
1879
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1880
|
+
};
|
|
1881
|
+
treeId: number;
|
|
2040
1882
|
}[];
|
|
2041
1883
|
};
|
|
2042
1884
|
publicInputs: {
|
|
@@ -2198,25 +2040,6 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2198
2040
|
calldata: string[];
|
|
2199
2041
|
functionName: string;
|
|
2200
2042
|
hints: {
|
|
2201
|
-
publicDataWrites: {
|
|
2202
|
-
lowLeafRead: {
|
|
2203
|
-
leafIndex: string;
|
|
2204
|
-
siblingPath: string[];
|
|
2205
|
-
leafPreimage: {
|
|
2206
|
-
value: string;
|
|
2207
|
-
slot: string;
|
|
2208
|
-
nextIndex: string | number | bigint;
|
|
2209
|
-
nextSlot: string;
|
|
2210
|
-
};
|
|
2211
|
-
};
|
|
2212
|
-
insertionPath: string[];
|
|
2213
|
-
newLeafPreimage: {
|
|
2214
|
-
value: string;
|
|
2215
|
-
slot: string;
|
|
2216
|
-
nextIndex: string | number | bigint;
|
|
2217
|
-
nextSlot: string;
|
|
2218
|
-
};
|
|
2219
|
-
}[];
|
|
2220
2043
|
enqueuedCalls: {
|
|
2221
2044
|
isStaticCall: boolean;
|
|
2222
2045
|
calldata: string[];
|
|
@@ -2250,51 +2073,53 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2250
2073
|
classId: string;
|
|
2251
2074
|
commitment: string;
|
|
2252
2075
|
}[];
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
nextIndex: string | number | bigint;
|
|
2260
|
-
nextSlot: string;
|
|
2076
|
+
getSiblingPathHints: {
|
|
2077
|
+
path: string[];
|
|
2078
|
+
index: string | number | bigint;
|
|
2079
|
+
hintKey: {
|
|
2080
|
+
root: string;
|
|
2081
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2261
2082
|
};
|
|
2083
|
+
treeId: number;
|
|
2262
2084
|
}[];
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
lowLeafIndex: string;
|
|
2270
|
-
lowLeafSiblingPath: string[];
|
|
2271
|
-
}[];
|
|
2272
|
-
nullifierWrites: {
|
|
2273
|
-
lowLeafRead: {
|
|
2274
|
-
lowLeafPreimage: {
|
|
2275
|
-
nullifier: string;
|
|
2276
|
-
nextNullifier: string;
|
|
2277
|
-
nextIndex: string | number | bigint;
|
|
2278
|
-
};
|
|
2279
|
-
lowLeafIndex: string;
|
|
2280
|
-
lowLeafSiblingPath: string[];
|
|
2085
|
+
getPreviousValueIndexHints: {
|
|
2086
|
+
value: string;
|
|
2087
|
+
index: string | number | bigint;
|
|
2088
|
+
hintKey: {
|
|
2089
|
+
root: string;
|
|
2090
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2281
2091
|
};
|
|
2282
|
-
|
|
2092
|
+
treeId: number;
|
|
2093
|
+
alreadyPresent: boolean;
|
|
2283
2094
|
}[];
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2095
|
+
getLeafPreimageHintsPublicDataTree: {
|
|
2096
|
+
index: string | number | bigint;
|
|
2097
|
+
nextIndex: string | number | bigint;
|
|
2098
|
+
hintKey: {
|
|
2099
|
+
root: string;
|
|
2100
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2101
|
+
};
|
|
2102
|
+
nextValue: string;
|
|
2103
|
+
leaf?: any;
|
|
2288
2104
|
}[];
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2105
|
+
getLeafPreimageHintsNullifierTree: {
|
|
2106
|
+
index: string | number | bigint;
|
|
2107
|
+
nextIndex: string | number | bigint;
|
|
2108
|
+
hintKey: {
|
|
2109
|
+
root: string;
|
|
2110
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2111
|
+
};
|
|
2112
|
+
nextValue: string;
|
|
2113
|
+
leaf?: any;
|
|
2293
2114
|
}[];
|
|
2294
|
-
|
|
2115
|
+
getLeafValueHints: {
|
|
2295
2116
|
value: string;
|
|
2296
|
-
|
|
2297
|
-
|
|
2117
|
+
index: string | number | bigint;
|
|
2118
|
+
hintKey: {
|
|
2119
|
+
root: string;
|
|
2120
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2121
|
+
};
|
|
2122
|
+
treeId: number;
|
|
2298
2123
|
}[];
|
|
2299
2124
|
};
|
|
2300
2125
|
publicInputs: {
|