@aztec/stdlib 3.0.0-nightly.20251104 → 3.0.0-nightly.20251105
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 +2202 -250
- package/dest/avm/avm.d.ts.map +1 -1
- package/dest/avm/avm.js +93 -14
- package/dest/avm/avm_accumulated_data.d.ts +7 -7
- package/dest/avm/avm_circuit_public_inputs.d.ts +27 -27
- package/dest/avm/avm_proving_request.d.ts +667 -118
- package/dest/avm/avm_proving_request.d.ts.map +1 -1
- package/dest/contract/contract_deployment_data.d.ts +111 -0
- package/dest/contract/contract_deployment_data.d.ts.map +1 -0
- package/dest/contract/contract_deployment_data.js +87 -0
- package/dest/contract/index.d.ts +1 -0
- package/dest/contract/index.d.ts.map +1 -1
- package/dest/contract/index.js +1 -0
- package/dest/contract/interfaces/contract_class.d.ts +16 -16
- package/dest/contract/private_function_membership_proof.d.ts +1 -1
- package/dest/contract/private_function_membership_proof.js +1 -1
- package/dest/hash/hash.d.ts +9 -1
- package/dest/hash/hash.d.ts.map +1 -1
- package/dest/hash/hash.js +11 -1
- package/dest/interfaces/get_logs_response.d.ts +1 -1
- package/dest/interfaces/merkle_tree_operations.d.ts +2 -2
- package/dest/interfaces/merkle_tree_operations.d.ts.map +1 -1
- package/dest/interfaces/proving-job.d.ts +667 -118
- package/dest/interfaces/proving-job.d.ts.map +1 -1
- package/dest/kernel/private_to_avm_accumulated_data.d.ts +7 -7
- package/dest/logs/extended_public_log.d.ts +1 -1
- package/dest/messaging/l2_to_l1_message.d.ts +20 -20
- package/dest/slashing/types.d.ts +1 -1
- package/dest/snapshots/types.d.ts +4 -4
- package/dest/tests/factories.d.ts +11 -2
- package/dest/tests/factories.d.ts.map +1 -1
- package/dest/tests/factories.js +24 -8
- package/dest/world-state/world_state_revision.d.ts +33 -1
- package/dest/world-state/world_state_revision.d.ts.map +1 -1
- package/dest/world-state/world_state_revision.js +24 -1
- package/dest/zkpassport/index.d.ts +1 -3
- package/dest/zkpassport/index.d.ts.map +1 -1
- package/dest/zkpassport/index.js +5 -10
- package/package.json +8 -8
- package/src/avm/avm.ts +100 -3
- package/src/contract/contract_deployment_data.ts +108 -0
- package/src/contract/index.ts +1 -0
- package/src/contract/private_function_membership_proof.ts +1 -1
- package/src/hash/hash.ts +13 -2
- package/src/interfaces/merkle_tree_operations.ts +2 -2
- package/src/tests/factories.ts +29 -3
- package/src/world-state/world_state_revision.ts +47 -5
- package/src/zkpassport/index.ts +0 -8
|
@@ -169,6 +169,148 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
169
169
|
feePerDaGas: string | number | bigint;
|
|
170
170
|
feePerL2Gas: string | number | bigint;
|
|
171
171
|
}>;
|
|
172
|
+
nonRevertibleContractDeploymentData: z.ZodEffects<z.ZodObject<{
|
|
173
|
+
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
174
|
+
contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
175
|
+
fields: z.ZodEffects<z.ZodObject<{
|
|
176
|
+
fields: z.ZodEffects<z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">, import("@aztec/foundation/schemas").Fr[], string[]>;
|
|
177
|
+
}, "strip", z.ZodTypeAny, {
|
|
178
|
+
fields: import("@aztec/foundation/schemas").Fr[];
|
|
179
|
+
}, {
|
|
180
|
+
fields: string[];
|
|
181
|
+
}>, import("../logs/contract_class_log.js").ContractClassLogFields, {
|
|
182
|
+
fields: string[];
|
|
183
|
+
}>;
|
|
184
|
+
emittedLength: z.ZodNumber;
|
|
185
|
+
}, "strip", z.ZodTypeAny, {
|
|
186
|
+
fields: import("../logs/contract_class_log.js").ContractClassLogFields;
|
|
187
|
+
contractAddress: import("../aztec-address/index.js").AztecAddress;
|
|
188
|
+
emittedLength: number;
|
|
189
|
+
}, {
|
|
190
|
+
fields: {
|
|
191
|
+
fields: string[];
|
|
192
|
+
};
|
|
193
|
+
emittedLength: number;
|
|
194
|
+
contractAddress?: any;
|
|
195
|
+
}>, import("../logs/contract_class_log.js").ContractClassLog, {
|
|
196
|
+
fields: {
|
|
197
|
+
fields: string[];
|
|
198
|
+
};
|
|
199
|
+
emittedLength: number;
|
|
200
|
+
contractAddress?: any;
|
|
201
|
+
}>, "many">;
|
|
202
|
+
privateLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
203
|
+
fields: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
204
|
+
emittedLength: z.ZodNumber;
|
|
205
|
+
}, "strict", z.ZodTypeAny, {
|
|
206
|
+
fields: import("@aztec/foundation/schemas").Fr[];
|
|
207
|
+
emittedLength: number;
|
|
208
|
+
}, {
|
|
209
|
+
fields: string[];
|
|
210
|
+
emittedLength: number;
|
|
211
|
+
}>, import("../logs/private_log.js").PrivateLog, {
|
|
212
|
+
fields: string[];
|
|
213
|
+
emittedLength: number;
|
|
214
|
+
}>, "many">;
|
|
215
|
+
}, "strip", z.ZodTypeAny, {
|
|
216
|
+
privateLogs: import("../logs/private_log.js").PrivateLog[];
|
|
217
|
+
contractClassLogs: import("../logs/contract_class_log.js").ContractClassLog[];
|
|
218
|
+
}, {
|
|
219
|
+
privateLogs: {
|
|
220
|
+
fields: string[];
|
|
221
|
+
emittedLength: number;
|
|
222
|
+
}[];
|
|
223
|
+
contractClassLogs: {
|
|
224
|
+
fields: {
|
|
225
|
+
fields: string[];
|
|
226
|
+
};
|
|
227
|
+
emittedLength: number;
|
|
228
|
+
contractAddress?: any;
|
|
229
|
+
}[];
|
|
230
|
+
}>, import("../contract/contract_deployment_data.js").ContractDeploymentData, {
|
|
231
|
+
privateLogs: {
|
|
232
|
+
fields: string[];
|
|
233
|
+
emittedLength: number;
|
|
234
|
+
}[];
|
|
235
|
+
contractClassLogs: {
|
|
236
|
+
fields: {
|
|
237
|
+
fields: string[];
|
|
238
|
+
};
|
|
239
|
+
emittedLength: number;
|
|
240
|
+
contractAddress?: any;
|
|
241
|
+
}[];
|
|
242
|
+
}>;
|
|
243
|
+
revertibleContractDeploymentData: z.ZodEffects<z.ZodObject<{
|
|
244
|
+
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
245
|
+
contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
246
|
+
fields: z.ZodEffects<z.ZodObject<{
|
|
247
|
+
fields: z.ZodEffects<z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">, import("@aztec/foundation/schemas").Fr[], string[]>;
|
|
248
|
+
}, "strip", z.ZodTypeAny, {
|
|
249
|
+
fields: import("@aztec/foundation/schemas").Fr[];
|
|
250
|
+
}, {
|
|
251
|
+
fields: string[];
|
|
252
|
+
}>, import("../logs/contract_class_log.js").ContractClassLogFields, {
|
|
253
|
+
fields: string[];
|
|
254
|
+
}>;
|
|
255
|
+
emittedLength: z.ZodNumber;
|
|
256
|
+
}, "strip", z.ZodTypeAny, {
|
|
257
|
+
fields: import("../logs/contract_class_log.js").ContractClassLogFields;
|
|
258
|
+
contractAddress: import("../aztec-address/index.js").AztecAddress;
|
|
259
|
+
emittedLength: number;
|
|
260
|
+
}, {
|
|
261
|
+
fields: {
|
|
262
|
+
fields: string[];
|
|
263
|
+
};
|
|
264
|
+
emittedLength: number;
|
|
265
|
+
contractAddress?: any;
|
|
266
|
+
}>, import("../logs/contract_class_log.js").ContractClassLog, {
|
|
267
|
+
fields: {
|
|
268
|
+
fields: string[];
|
|
269
|
+
};
|
|
270
|
+
emittedLength: number;
|
|
271
|
+
contractAddress?: any;
|
|
272
|
+
}>, "many">;
|
|
273
|
+
privateLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
274
|
+
fields: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
275
|
+
emittedLength: z.ZodNumber;
|
|
276
|
+
}, "strict", z.ZodTypeAny, {
|
|
277
|
+
fields: import("@aztec/foundation/schemas").Fr[];
|
|
278
|
+
emittedLength: number;
|
|
279
|
+
}, {
|
|
280
|
+
fields: string[];
|
|
281
|
+
emittedLength: number;
|
|
282
|
+
}>, import("../logs/private_log.js").PrivateLog, {
|
|
283
|
+
fields: string[];
|
|
284
|
+
emittedLength: number;
|
|
285
|
+
}>, "many">;
|
|
286
|
+
}, "strip", z.ZodTypeAny, {
|
|
287
|
+
privateLogs: import("../logs/private_log.js").PrivateLog[];
|
|
288
|
+
contractClassLogs: import("../logs/contract_class_log.js").ContractClassLog[];
|
|
289
|
+
}, {
|
|
290
|
+
privateLogs: {
|
|
291
|
+
fields: string[];
|
|
292
|
+
emittedLength: number;
|
|
293
|
+
}[];
|
|
294
|
+
contractClassLogs: {
|
|
295
|
+
fields: {
|
|
296
|
+
fields: string[];
|
|
297
|
+
};
|
|
298
|
+
emittedLength: number;
|
|
299
|
+
contractAddress?: any;
|
|
300
|
+
}[];
|
|
301
|
+
}>, import("../contract/contract_deployment_data.js").ContractDeploymentData, {
|
|
302
|
+
privateLogs: {
|
|
303
|
+
fields: string[];
|
|
304
|
+
emittedLength: number;
|
|
305
|
+
}[];
|
|
306
|
+
contractClassLogs: {
|
|
307
|
+
fields: {
|
|
308
|
+
fields: string[];
|
|
309
|
+
};
|
|
310
|
+
emittedLength: number;
|
|
311
|
+
contractAddress?: any;
|
|
312
|
+
}[];
|
|
313
|
+
}>;
|
|
172
314
|
nonRevertibleAccumulatedData: z.ZodObject<{
|
|
173
315
|
noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
174
316
|
nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
@@ -177,14 +319,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
177
319
|
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
178
320
|
content: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
179
321
|
}, "strip", z.ZodTypeAny, {
|
|
180
|
-
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
181
322
|
content: import("@aztec/foundation/schemas").Fr;
|
|
323
|
+
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
182
324
|
}, {
|
|
183
|
-
recipient: string;
|
|
184
325
|
content: string;
|
|
185
|
-
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
186
326
|
recipient: string;
|
|
327
|
+
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
187
328
|
content: string;
|
|
329
|
+
recipient: string;
|
|
188
330
|
}>;
|
|
189
331
|
contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
190
332
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -192,14 +334,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
192
334
|
contractAddress: import("../aztec-address/index.js").AztecAddress;
|
|
193
335
|
}, {
|
|
194
336
|
message: {
|
|
195
|
-
recipient: string;
|
|
196
337
|
content: string;
|
|
338
|
+
recipient: string;
|
|
197
339
|
};
|
|
198
340
|
contractAddress?: any;
|
|
199
341
|
}>, import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
|
|
200
342
|
message: {
|
|
201
|
-
recipient: string;
|
|
202
343
|
content: string;
|
|
344
|
+
recipient: string;
|
|
203
345
|
};
|
|
204
346
|
contractAddress?: any;
|
|
205
347
|
}>, "many">;
|
|
@@ -212,8 +354,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
212
354
|
nullifiers: string[];
|
|
213
355
|
l2ToL1Messages: {
|
|
214
356
|
message: {
|
|
215
|
-
recipient: string;
|
|
216
357
|
content: string;
|
|
358
|
+
recipient: string;
|
|
217
359
|
};
|
|
218
360
|
contractAddress?: any;
|
|
219
361
|
}[];
|
|
@@ -226,14 +368,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
226
368
|
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
227
369
|
content: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
228
370
|
}, "strip", z.ZodTypeAny, {
|
|
229
|
-
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
230
371
|
content: import("@aztec/foundation/schemas").Fr;
|
|
372
|
+
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
231
373
|
}, {
|
|
232
|
-
recipient: string;
|
|
233
374
|
content: string;
|
|
234
|
-
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
235
375
|
recipient: string;
|
|
376
|
+
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
236
377
|
content: string;
|
|
378
|
+
recipient: string;
|
|
237
379
|
}>;
|
|
238
380
|
contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
239
381
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -241,14 +383,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
241
383
|
contractAddress: import("../aztec-address/index.js").AztecAddress;
|
|
242
384
|
}, {
|
|
243
385
|
message: {
|
|
244
|
-
recipient: string;
|
|
245
386
|
content: string;
|
|
387
|
+
recipient: string;
|
|
246
388
|
};
|
|
247
389
|
contractAddress?: any;
|
|
248
390
|
}>, import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
|
|
249
391
|
message: {
|
|
250
|
-
recipient: string;
|
|
251
392
|
content: string;
|
|
393
|
+
recipient: string;
|
|
252
394
|
};
|
|
253
395
|
contractAddress?: any;
|
|
254
396
|
}>, "many">;
|
|
@@ -261,8 +403,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
261
403
|
nullifiers: string[];
|
|
262
404
|
l2ToL1Messages: {
|
|
263
405
|
message: {
|
|
264
|
-
recipient: string;
|
|
265
406
|
content: string;
|
|
407
|
+
recipient: string;
|
|
266
408
|
};
|
|
267
409
|
contractAddress?: any;
|
|
268
410
|
}[];
|
|
@@ -299,6 +441,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
299
441
|
};
|
|
300
442
|
feePayer: import("../aztec-address/index.js").AztecAddress;
|
|
301
443
|
effectiveGasFees: import("../gas/gas_fees.js").GasFees;
|
|
444
|
+
nonRevertibleContractDeploymentData: import("../contract/contract_deployment_data.js").ContractDeploymentData;
|
|
445
|
+
revertibleContractDeploymentData: import("../contract/contract_deployment_data.js").ContractDeploymentData;
|
|
302
446
|
setupEnqueuedCalls: import("../tx/public_call_request_with_calldata.js").PublicCallRequestWithCalldata[];
|
|
303
447
|
appLogicEnqueuedCalls: import("../tx/public_call_request_with_calldata.js").PublicCallRequestWithCalldata[];
|
|
304
448
|
teardownEnqueuedCall: import("../tx/public_call_request_with_calldata.js").PublicCallRequestWithCalldata | null;
|
|
@@ -328,8 +472,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
328
472
|
nullifiers: string[];
|
|
329
473
|
l2ToL1Messages: {
|
|
330
474
|
message: {
|
|
331
|
-
recipient: string;
|
|
332
475
|
content: string;
|
|
476
|
+
recipient: string;
|
|
333
477
|
};
|
|
334
478
|
contractAddress?: any;
|
|
335
479
|
}[];
|
|
@@ -339,8 +483,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
339
483
|
nullifiers: string[];
|
|
340
484
|
l2ToL1Messages: {
|
|
341
485
|
message: {
|
|
342
|
-
recipient: string;
|
|
343
486
|
content: string;
|
|
487
|
+
recipient: string;
|
|
344
488
|
};
|
|
345
489
|
contractAddress?: any;
|
|
346
490
|
}[];
|
|
@@ -349,6 +493,32 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
349
493
|
feePerDaGas: string | number | bigint;
|
|
350
494
|
feePerL2Gas: string | number | bigint;
|
|
351
495
|
};
|
|
496
|
+
nonRevertibleContractDeploymentData: {
|
|
497
|
+
privateLogs: {
|
|
498
|
+
fields: string[];
|
|
499
|
+
emittedLength: number;
|
|
500
|
+
}[];
|
|
501
|
+
contractClassLogs: {
|
|
502
|
+
fields: {
|
|
503
|
+
fields: string[];
|
|
504
|
+
};
|
|
505
|
+
emittedLength: number;
|
|
506
|
+
contractAddress?: any;
|
|
507
|
+
}[];
|
|
508
|
+
};
|
|
509
|
+
revertibleContractDeploymentData: {
|
|
510
|
+
privateLogs: {
|
|
511
|
+
fields: string[];
|
|
512
|
+
emittedLength: number;
|
|
513
|
+
}[];
|
|
514
|
+
contractClassLogs: {
|
|
515
|
+
fields: {
|
|
516
|
+
fields: string[];
|
|
517
|
+
};
|
|
518
|
+
emittedLength: number;
|
|
519
|
+
contractAddress?: any;
|
|
520
|
+
}[];
|
|
521
|
+
};
|
|
352
522
|
setupEnqueuedCalls: any[];
|
|
353
523
|
appLogicEnqueuedCalls: any[];
|
|
354
524
|
gasUsedByPrivate: {
|
|
@@ -382,8 +552,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
382
552
|
nullifiers: string[];
|
|
383
553
|
l2ToL1Messages: {
|
|
384
554
|
message: {
|
|
385
|
-
recipient: string;
|
|
386
555
|
content: string;
|
|
556
|
+
recipient: string;
|
|
387
557
|
};
|
|
388
558
|
contractAddress?: any;
|
|
389
559
|
}[];
|
|
@@ -393,8 +563,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
393
563
|
nullifiers: string[];
|
|
394
564
|
l2ToL1Messages: {
|
|
395
565
|
message: {
|
|
396
|
-
recipient: string;
|
|
397
566
|
content: string;
|
|
567
|
+
recipient: string;
|
|
398
568
|
};
|
|
399
569
|
contractAddress?: any;
|
|
400
570
|
}[];
|
|
@@ -403,6 +573,32 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
403
573
|
feePerDaGas: string | number | bigint;
|
|
404
574
|
feePerL2Gas: string | number | bigint;
|
|
405
575
|
};
|
|
576
|
+
nonRevertibleContractDeploymentData: {
|
|
577
|
+
privateLogs: {
|
|
578
|
+
fields: string[];
|
|
579
|
+
emittedLength: number;
|
|
580
|
+
}[];
|
|
581
|
+
contractClassLogs: {
|
|
582
|
+
fields: {
|
|
583
|
+
fields: string[];
|
|
584
|
+
};
|
|
585
|
+
emittedLength: number;
|
|
586
|
+
contractAddress?: any;
|
|
587
|
+
}[];
|
|
588
|
+
};
|
|
589
|
+
revertibleContractDeploymentData: {
|
|
590
|
+
privateLogs: {
|
|
591
|
+
fields: string[];
|
|
592
|
+
emittedLength: number;
|
|
593
|
+
}[];
|
|
594
|
+
contractClassLogs: {
|
|
595
|
+
fields: {
|
|
596
|
+
fields: string[];
|
|
597
|
+
};
|
|
598
|
+
emittedLength: number;
|
|
599
|
+
contractAddress?: any;
|
|
600
|
+
}[];
|
|
601
|
+
};
|
|
406
602
|
setupEnqueuedCalls: any[];
|
|
407
603
|
appLogicEnqueuedCalls: any[];
|
|
408
604
|
gasUsedByPrivate: {
|
|
@@ -422,6 +618,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
422
618
|
derivedAddresses: any[];
|
|
423
619
|
}>;
|
|
424
620
|
contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
621
|
+
hintKey: z.ZodNumber;
|
|
425
622
|
address: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
426
623
|
salt: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
427
624
|
deployer: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
@@ -457,6 +654,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
457
654
|
initializationHash: import("@aztec/foundation/schemas").Fr;
|
|
458
655
|
publicKeys: import("../keys/public_keys.js").PublicKeys;
|
|
459
656
|
address: import("../aztec-address/index.js").AztecAddress;
|
|
657
|
+
hintKey: number;
|
|
460
658
|
}, {
|
|
461
659
|
salt: string;
|
|
462
660
|
currentContractClassId: string;
|
|
@@ -468,6 +666,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
468
666
|
masterOutgoingViewingPublicKey: string;
|
|
469
667
|
masterTaggingPublicKey: string;
|
|
470
668
|
};
|
|
669
|
+
hintKey: number;
|
|
471
670
|
deployer?: any;
|
|
472
671
|
address?: any;
|
|
473
672
|
}>, import("./avm.js").AvmContractInstanceHint, {
|
|
@@ -481,10 +680,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
481
680
|
masterOutgoingViewingPublicKey: string;
|
|
482
681
|
masterTaggingPublicKey: string;
|
|
483
682
|
};
|
|
683
|
+
hintKey: number;
|
|
484
684
|
deployer?: any;
|
|
485
685
|
address?: any;
|
|
486
686
|
}>, "many">;
|
|
487
687
|
contractClasses: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
688
|
+
hintKey: z.ZodNumber;
|
|
488
689
|
classId: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
489
690
|
artifactHash: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
490
691
|
privateFunctionsRoot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
@@ -502,40 +703,64 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
502
703
|
data: number[];
|
|
503
704
|
}>]>;
|
|
504
705
|
}, "strip", z.ZodTypeAny, {
|
|
505
|
-
classId: import("@aztec/foundation/schemas").Fr;
|
|
506
706
|
artifactHash: import("@aztec/foundation/schemas").Fr;
|
|
507
|
-
privateFunctionsRoot: import("@aztec/foundation/schemas").Fr;
|
|
508
707
|
packedBytecode: Buffer<ArrayBuffer>;
|
|
708
|
+
privateFunctionsRoot: import("@aztec/foundation/schemas").Fr;
|
|
709
|
+
hintKey: number;
|
|
710
|
+
classId: import("@aztec/foundation/schemas").Fr;
|
|
509
711
|
}, {
|
|
510
|
-
classId: string;
|
|
511
712
|
artifactHash: string;
|
|
512
|
-
privateFunctionsRoot: string;
|
|
513
713
|
packedBytecode: string | {
|
|
514
714
|
type: "Buffer";
|
|
515
715
|
data: number[];
|
|
516
716
|
};
|
|
517
|
-
|
|
717
|
+
privateFunctionsRoot: string;
|
|
718
|
+
hintKey: number;
|
|
518
719
|
classId: string;
|
|
720
|
+
}>, import("./avm.js").AvmContractClassHint, {
|
|
519
721
|
artifactHash: string;
|
|
520
|
-
privateFunctionsRoot: string;
|
|
521
722
|
packedBytecode: string | {
|
|
522
723
|
type: "Buffer";
|
|
523
724
|
data: number[];
|
|
524
725
|
};
|
|
726
|
+
privateFunctionsRoot: string;
|
|
727
|
+
hintKey: number;
|
|
728
|
+
classId: string;
|
|
525
729
|
}>, "many">;
|
|
526
730
|
bytecodeCommitments: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
731
|
+
hintKey: z.ZodNumber;
|
|
527
732
|
classId: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
528
733
|
commitment: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
529
734
|
}, "strip", z.ZodTypeAny, {
|
|
735
|
+
hintKey: number;
|
|
530
736
|
classId: import("@aztec/foundation/schemas").Fr;
|
|
531
737
|
commitment: import("@aztec/foundation/schemas").Fr;
|
|
532
738
|
}, {
|
|
739
|
+
hintKey: number;
|
|
533
740
|
classId: string;
|
|
534
741
|
commitment: string;
|
|
535
742
|
}>, import("./avm.js").AvmBytecodeCommitmentHint, {
|
|
743
|
+
hintKey: number;
|
|
536
744
|
classId: string;
|
|
537
745
|
commitment: string;
|
|
538
746
|
}>, "many">;
|
|
747
|
+
debugFunctionNames: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
748
|
+
address: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
749
|
+
selector: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
750
|
+
name: z.ZodString;
|
|
751
|
+
}, "strip", z.ZodTypeAny, {
|
|
752
|
+
name: string;
|
|
753
|
+
selector: import("@aztec/foundation/schemas").Fr;
|
|
754
|
+
address: import("../aztec-address/index.js").AztecAddress;
|
|
755
|
+
}, {
|
|
756
|
+
name: string;
|
|
757
|
+
selector: string;
|
|
758
|
+
address?: any;
|
|
759
|
+
}>, import("./avm.js").AvmDebugFunctionNameHint, {
|
|
760
|
+
name: string;
|
|
761
|
+
selector: string;
|
|
762
|
+
address?: any;
|
|
763
|
+
}>, "many">;
|
|
539
764
|
startingTreeRoots: z.ZodEffects<z.ZodObject<{
|
|
540
765
|
l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
|
|
541
766
|
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
@@ -1121,10 +1346,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1121
1346
|
path: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
1122
1347
|
}, "strip", z.ZodTypeAny, {
|
|
1123
1348
|
path: import("@aztec/foundation/schemas").Fr[];
|
|
1124
|
-
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1125
1349
|
index: bigint;
|
|
1350
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1126
1351
|
}, {
|
|
1127
1352
|
path: string[];
|
|
1353
|
+
index: string | number | bigint;
|
|
1128
1354
|
leaf: {
|
|
1129
1355
|
leaf: {
|
|
1130
1356
|
nullifier: string;
|
|
@@ -1139,7 +1365,6 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1139
1365
|
nextKey: string;
|
|
1140
1366
|
nextIndex: string | number | bigint;
|
|
1141
1367
|
};
|
|
1142
|
-
index: string | number | bigint;
|
|
1143
1368
|
}>;
|
|
1144
1369
|
insertionWitnessData: z.ZodObject<{
|
|
1145
1370
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
@@ -1209,10 +1434,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1209
1434
|
path: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
1210
1435
|
}, "strip", z.ZodTypeAny, {
|
|
1211
1436
|
path: import("@aztec/foundation/schemas").Fr[];
|
|
1212
|
-
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1213
1437
|
index: bigint;
|
|
1438
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1214
1439
|
}, {
|
|
1215
1440
|
path: string[];
|
|
1441
|
+
index: string | number | bigint;
|
|
1216
1442
|
leaf: {
|
|
1217
1443
|
leaf: {
|
|
1218
1444
|
nullifier: string;
|
|
@@ -1227,7 +1453,6 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1227
1453
|
nextKey: string;
|
|
1228
1454
|
nextIndex: string | number | bigint;
|
|
1229
1455
|
};
|
|
1230
|
-
index: string | number | bigint;
|
|
1231
1456
|
}>;
|
|
1232
1457
|
}, "strip", z.ZodTypeAny, {
|
|
1233
1458
|
leaf: import("../trees/nullifier_leaf.js").NullifierLeaf | import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
|
|
@@ -1236,13 +1461,13 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1236
1461
|
stateAfter: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1237
1462
|
lowLeavesWitnessData: {
|
|
1238
1463
|
path: import("@aztec/foundation/schemas").Fr[];
|
|
1239
|
-
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1240
1464
|
index: bigint;
|
|
1465
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1241
1466
|
};
|
|
1242
1467
|
insertionWitnessData: {
|
|
1243
1468
|
path: import("@aztec/foundation/schemas").Fr[];
|
|
1244
|
-
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1245
1469
|
index: bigint;
|
|
1470
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1246
1471
|
};
|
|
1247
1472
|
}, {
|
|
1248
1473
|
leaf: {
|
|
@@ -1262,6 +1487,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1262
1487
|
};
|
|
1263
1488
|
lowLeavesWitnessData: {
|
|
1264
1489
|
path: string[];
|
|
1490
|
+
index: string | number | bigint;
|
|
1265
1491
|
leaf: {
|
|
1266
1492
|
leaf: {
|
|
1267
1493
|
nullifier: string;
|
|
@@ -1276,10 +1502,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1276
1502
|
nextKey: string;
|
|
1277
1503
|
nextIndex: string | number | bigint;
|
|
1278
1504
|
};
|
|
1279
|
-
index: string | number | bigint;
|
|
1280
1505
|
};
|
|
1281
1506
|
insertionWitnessData: {
|
|
1282
1507
|
path: string[];
|
|
1508
|
+
index: string | number | bigint;
|
|
1283
1509
|
leaf: {
|
|
1284
1510
|
leaf: {
|
|
1285
1511
|
nullifier: string;
|
|
@@ -1294,7 +1520,6 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1294
1520
|
nextKey: string;
|
|
1295
1521
|
nextIndex: string | number | bigint;
|
|
1296
1522
|
};
|
|
1297
|
-
index: string | number | bigint;
|
|
1298
1523
|
};
|
|
1299
1524
|
}>, {
|
|
1300
1525
|
readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
@@ -1329,6 +1554,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1329
1554
|
};
|
|
1330
1555
|
lowLeavesWitnessData: {
|
|
1331
1556
|
path: string[];
|
|
1557
|
+
index: string | number | bigint;
|
|
1332
1558
|
leaf: {
|
|
1333
1559
|
leaf: {
|
|
1334
1560
|
nullifier: string;
|
|
@@ -1343,10 +1569,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1343
1569
|
nextKey: string;
|
|
1344
1570
|
nextIndex: string | number | bigint;
|
|
1345
1571
|
};
|
|
1346
|
-
index: string | number | bigint;
|
|
1347
1572
|
};
|
|
1348
1573
|
insertionWitnessData: {
|
|
1349
1574
|
path: string[];
|
|
1575
|
+
index: string | number | bigint;
|
|
1350
1576
|
leaf: {
|
|
1351
1577
|
leaf: {
|
|
1352
1578
|
nullifier: string;
|
|
@@ -1361,7 +1587,6 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1361
1587
|
nextKey: string;
|
|
1362
1588
|
nextIndex: string | number | bigint;
|
|
1363
1589
|
};
|
|
1364
|
-
index: string | number | bigint;
|
|
1365
1590
|
};
|
|
1366
1591
|
}>, "many">;
|
|
1367
1592
|
sequentialInsertHintsNullifierTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
@@ -1481,10 +1706,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1481
1706
|
path: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
1482
1707
|
}, "strip", z.ZodTypeAny, {
|
|
1483
1708
|
path: import("@aztec/foundation/schemas").Fr[];
|
|
1484
|
-
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1485
1709
|
index: bigint;
|
|
1710
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1486
1711
|
}, {
|
|
1487
1712
|
path: string[];
|
|
1713
|
+
index: string | number | bigint;
|
|
1488
1714
|
leaf: {
|
|
1489
1715
|
leaf: {
|
|
1490
1716
|
nullifier: string;
|
|
@@ -1499,7 +1725,6 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1499
1725
|
nextKey: string;
|
|
1500
1726
|
nextIndex: string | number | bigint;
|
|
1501
1727
|
};
|
|
1502
|
-
index: string | number | bigint;
|
|
1503
1728
|
}>;
|
|
1504
1729
|
insertionWitnessData: z.ZodObject<{
|
|
1505
1730
|
leaf: z.ZodEffects<z.ZodObject<{
|
|
@@ -1569,10 +1794,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1569
1794
|
path: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
1570
1795
|
}, "strip", z.ZodTypeAny, {
|
|
1571
1796
|
path: import("@aztec/foundation/schemas").Fr[];
|
|
1572
|
-
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1573
1797
|
index: bigint;
|
|
1798
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1574
1799
|
}, {
|
|
1575
1800
|
path: string[];
|
|
1801
|
+
index: string | number | bigint;
|
|
1576
1802
|
leaf: {
|
|
1577
1803
|
leaf: {
|
|
1578
1804
|
nullifier: string;
|
|
@@ -1587,7 +1813,6 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1587
1813
|
nextKey: string;
|
|
1588
1814
|
nextIndex: string | number | bigint;
|
|
1589
1815
|
};
|
|
1590
|
-
index: string | number | bigint;
|
|
1591
1816
|
}>;
|
|
1592
1817
|
}, "strip", z.ZodTypeAny, {
|
|
1593
1818
|
leaf: import("../trees/nullifier_leaf.js").NullifierLeaf | import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
|
|
@@ -1596,13 +1821,13 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1596
1821
|
stateAfter: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1597
1822
|
lowLeavesWitnessData: {
|
|
1598
1823
|
path: import("@aztec/foundation/schemas").Fr[];
|
|
1599
|
-
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1600
1824
|
index: bigint;
|
|
1825
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1601
1826
|
};
|
|
1602
1827
|
insertionWitnessData: {
|
|
1603
1828
|
path: import("@aztec/foundation/schemas").Fr[];
|
|
1604
|
-
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1605
1829
|
index: bigint;
|
|
1830
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1606
1831
|
};
|
|
1607
1832
|
}, {
|
|
1608
1833
|
leaf: {
|
|
@@ -1622,6 +1847,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1622
1847
|
};
|
|
1623
1848
|
lowLeavesWitnessData: {
|
|
1624
1849
|
path: string[];
|
|
1850
|
+
index: string | number | bigint;
|
|
1625
1851
|
leaf: {
|
|
1626
1852
|
leaf: {
|
|
1627
1853
|
nullifier: string;
|
|
@@ -1636,10 +1862,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1636
1862
|
nextKey: string;
|
|
1637
1863
|
nextIndex: string | number | bigint;
|
|
1638
1864
|
};
|
|
1639
|
-
index: string | number | bigint;
|
|
1640
1865
|
};
|
|
1641
1866
|
insertionWitnessData: {
|
|
1642
1867
|
path: string[];
|
|
1868
|
+
index: string | number | bigint;
|
|
1643
1869
|
leaf: {
|
|
1644
1870
|
leaf: {
|
|
1645
1871
|
nullifier: string;
|
|
@@ -1654,7 +1880,6 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1654
1880
|
nextKey: string;
|
|
1655
1881
|
nextIndex: string | number | bigint;
|
|
1656
1882
|
};
|
|
1657
|
-
index: string | number | bigint;
|
|
1658
1883
|
};
|
|
1659
1884
|
}>, {
|
|
1660
1885
|
readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
@@ -1689,6 +1914,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1689
1914
|
};
|
|
1690
1915
|
lowLeavesWitnessData: {
|
|
1691
1916
|
path: string[];
|
|
1917
|
+
index: string | number | bigint;
|
|
1692
1918
|
leaf: {
|
|
1693
1919
|
leaf: {
|
|
1694
1920
|
nullifier: string;
|
|
@@ -1703,10 +1929,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1703
1929
|
nextKey: string;
|
|
1704
1930
|
nextIndex: string | number | bigint;
|
|
1705
1931
|
};
|
|
1706
|
-
index: string | number | bigint;
|
|
1707
1932
|
};
|
|
1708
1933
|
insertionWitnessData: {
|
|
1709
1934
|
path: string[];
|
|
1935
|
+
index: string | number | bigint;
|
|
1710
1936
|
leaf: {
|
|
1711
1937
|
leaf: {
|
|
1712
1938
|
nullifier: string;
|
|
@@ -1721,7 +1947,6 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1721
1947
|
nextKey: string;
|
|
1722
1948
|
nextIndex: string | number | bigint;
|
|
1723
1949
|
};
|
|
1724
|
-
index: string | number | bigint;
|
|
1725
1950
|
};
|
|
1726
1951
|
}>, "many">;
|
|
1727
1952
|
appendLeavesHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
@@ -2100,6 +2325,69 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2100
2325
|
};
|
|
2101
2326
|
};
|
|
2102
2327
|
}>, "many">;
|
|
2328
|
+
contractDBCreateCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2329
|
+
actionCounter: z.ZodNumber;
|
|
2330
|
+
oldCheckpointId: z.ZodNumber;
|
|
2331
|
+
newCheckpointId: z.ZodNumber;
|
|
2332
|
+
}, "strip", z.ZodTypeAny, {
|
|
2333
|
+
actionCounter: number;
|
|
2334
|
+
oldCheckpointId: number;
|
|
2335
|
+
newCheckpointId: number;
|
|
2336
|
+
}, {
|
|
2337
|
+
actionCounter: number;
|
|
2338
|
+
oldCheckpointId: number;
|
|
2339
|
+
newCheckpointId: number;
|
|
2340
|
+
}>, {
|
|
2341
|
+
readonly actionCounter: number;
|
|
2342
|
+
readonly oldCheckpointId: number;
|
|
2343
|
+
readonly newCheckpointId: number;
|
|
2344
|
+
}, {
|
|
2345
|
+
actionCounter: number;
|
|
2346
|
+
oldCheckpointId: number;
|
|
2347
|
+
newCheckpointId: number;
|
|
2348
|
+
}>, "many">;
|
|
2349
|
+
contractDBCommitCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2350
|
+
actionCounter: z.ZodNumber;
|
|
2351
|
+
oldCheckpointId: z.ZodNumber;
|
|
2352
|
+
newCheckpointId: z.ZodNumber;
|
|
2353
|
+
}, "strip", z.ZodTypeAny, {
|
|
2354
|
+
actionCounter: number;
|
|
2355
|
+
oldCheckpointId: number;
|
|
2356
|
+
newCheckpointId: number;
|
|
2357
|
+
}, {
|
|
2358
|
+
actionCounter: number;
|
|
2359
|
+
oldCheckpointId: number;
|
|
2360
|
+
newCheckpointId: number;
|
|
2361
|
+
}>, {
|
|
2362
|
+
readonly actionCounter: number;
|
|
2363
|
+
readonly oldCheckpointId: number;
|
|
2364
|
+
readonly newCheckpointId: number;
|
|
2365
|
+
}, {
|
|
2366
|
+
actionCounter: number;
|
|
2367
|
+
oldCheckpointId: number;
|
|
2368
|
+
newCheckpointId: number;
|
|
2369
|
+
}>, "many">;
|
|
2370
|
+
contractDBRevertCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2371
|
+
actionCounter: z.ZodNumber;
|
|
2372
|
+
oldCheckpointId: z.ZodNumber;
|
|
2373
|
+
newCheckpointId: z.ZodNumber;
|
|
2374
|
+
}, "strip", z.ZodTypeAny, {
|
|
2375
|
+
actionCounter: number;
|
|
2376
|
+
oldCheckpointId: number;
|
|
2377
|
+
newCheckpointId: number;
|
|
2378
|
+
}, {
|
|
2379
|
+
actionCounter: number;
|
|
2380
|
+
oldCheckpointId: number;
|
|
2381
|
+
newCheckpointId: number;
|
|
2382
|
+
}>, {
|
|
2383
|
+
readonly actionCounter: number;
|
|
2384
|
+
readonly oldCheckpointId: number;
|
|
2385
|
+
readonly newCheckpointId: number;
|
|
2386
|
+
}, {
|
|
2387
|
+
actionCounter: number;
|
|
2388
|
+
oldCheckpointId: number;
|
|
2389
|
+
newCheckpointId: number;
|
|
2390
|
+
}>, "many">;
|
|
2103
2391
|
}, "strip", z.ZodTypeAny, {
|
|
2104
2392
|
globalVariables: import("../tx/global_variables.js").GlobalVariables;
|
|
2105
2393
|
protocolContracts: import("../tx/protocol_contracts.js").ProtocolContracts;
|
|
@@ -2107,6 +2395,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2107
2395
|
contractInstances: import("./avm.js").AvmContractInstanceHint[];
|
|
2108
2396
|
contractClasses: import("./avm.js").AvmContractClassHint[];
|
|
2109
2397
|
bytecodeCommitments: import("./avm.js").AvmBytecodeCommitmentHint[];
|
|
2398
|
+
debugFunctionNames: import("./avm.js").AvmDebugFunctionNameHint[];
|
|
2110
2399
|
startingTreeRoots: import("../tx/tree_snapshots.js").TreeSnapshots;
|
|
2111
2400
|
getSiblingPathHints: import("./avm.js").AvmGetSiblingPathHint[];
|
|
2112
2401
|
getPreviousValueIndexHints: import("./avm.js").AvmGetPreviousValueIndexHint[];
|
|
@@ -2165,6 +2454,21 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2165
2454
|
readonly newCheckpointId: number;
|
|
2166
2455
|
}[];
|
|
2167
2456
|
revertCheckpointHints: import("./avm.js").AvmRevertCheckpointHint[];
|
|
2457
|
+
contractDBCreateCheckpointHints: {
|
|
2458
|
+
readonly actionCounter: number;
|
|
2459
|
+
readonly oldCheckpointId: number;
|
|
2460
|
+
readonly newCheckpointId: number;
|
|
2461
|
+
}[];
|
|
2462
|
+
contractDBCommitCheckpointHints: {
|
|
2463
|
+
readonly actionCounter: number;
|
|
2464
|
+
readonly oldCheckpointId: number;
|
|
2465
|
+
readonly newCheckpointId: number;
|
|
2466
|
+
}[];
|
|
2467
|
+
contractDBRevertCheckpointHints: {
|
|
2468
|
+
readonly actionCounter: number;
|
|
2469
|
+
readonly oldCheckpointId: number;
|
|
2470
|
+
readonly newCheckpointId: number;
|
|
2471
|
+
}[];
|
|
2168
2472
|
}, {
|
|
2169
2473
|
globalVariables: {
|
|
2170
2474
|
blockNumber: string | number | bigint;
|
|
@@ -2207,8 +2511,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2207
2511
|
nullifiers: string[];
|
|
2208
2512
|
l2ToL1Messages: {
|
|
2209
2513
|
message: {
|
|
2210
|
-
recipient: string;
|
|
2211
2514
|
content: string;
|
|
2515
|
+
recipient: string;
|
|
2212
2516
|
};
|
|
2213
2517
|
contractAddress?: any;
|
|
2214
2518
|
}[];
|
|
@@ -2218,8 +2522,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2218
2522
|
nullifiers: string[];
|
|
2219
2523
|
l2ToL1Messages: {
|
|
2220
2524
|
message: {
|
|
2221
|
-
recipient: string;
|
|
2222
2525
|
content: string;
|
|
2526
|
+
recipient: string;
|
|
2223
2527
|
};
|
|
2224
2528
|
contractAddress?: any;
|
|
2225
2529
|
}[];
|
|
@@ -2228,6 +2532,32 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2228
2532
|
feePerDaGas: string | number | bigint;
|
|
2229
2533
|
feePerL2Gas: string | number | bigint;
|
|
2230
2534
|
};
|
|
2535
|
+
nonRevertibleContractDeploymentData: {
|
|
2536
|
+
privateLogs: {
|
|
2537
|
+
fields: string[];
|
|
2538
|
+
emittedLength: number;
|
|
2539
|
+
}[];
|
|
2540
|
+
contractClassLogs: {
|
|
2541
|
+
fields: {
|
|
2542
|
+
fields: string[];
|
|
2543
|
+
};
|
|
2544
|
+
emittedLength: number;
|
|
2545
|
+
contractAddress?: any;
|
|
2546
|
+
}[];
|
|
2547
|
+
};
|
|
2548
|
+
revertibleContractDeploymentData: {
|
|
2549
|
+
privateLogs: {
|
|
2550
|
+
fields: string[];
|
|
2551
|
+
emittedLength: number;
|
|
2552
|
+
}[];
|
|
2553
|
+
contractClassLogs: {
|
|
2554
|
+
fields: {
|
|
2555
|
+
fields: string[];
|
|
2556
|
+
};
|
|
2557
|
+
emittedLength: number;
|
|
2558
|
+
contractAddress?: any;
|
|
2559
|
+
}[];
|
|
2560
|
+
};
|
|
2231
2561
|
setupEnqueuedCalls: any[];
|
|
2232
2562
|
appLogicEnqueuedCalls: any[];
|
|
2233
2563
|
gasUsedByPrivate: {
|
|
@@ -2248,22 +2578,30 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2248
2578
|
masterOutgoingViewingPublicKey: string;
|
|
2249
2579
|
masterTaggingPublicKey: string;
|
|
2250
2580
|
};
|
|
2581
|
+
hintKey: number;
|
|
2251
2582
|
deployer?: any;
|
|
2252
2583
|
address?: any;
|
|
2253
2584
|
}[];
|
|
2254
2585
|
contractClasses: {
|
|
2255
|
-
classId: string;
|
|
2256
2586
|
artifactHash: string;
|
|
2257
|
-
privateFunctionsRoot: string;
|
|
2258
2587
|
packedBytecode: string | {
|
|
2259
2588
|
type: "Buffer";
|
|
2260
2589
|
data: number[];
|
|
2261
2590
|
};
|
|
2591
|
+
privateFunctionsRoot: string;
|
|
2592
|
+
hintKey: number;
|
|
2593
|
+
classId: string;
|
|
2262
2594
|
}[];
|
|
2263
2595
|
bytecodeCommitments: {
|
|
2596
|
+
hintKey: number;
|
|
2264
2597
|
classId: string;
|
|
2265
2598
|
commitment: string;
|
|
2266
2599
|
}[];
|
|
2600
|
+
debugFunctionNames: {
|
|
2601
|
+
name: string;
|
|
2602
|
+
selector: string;
|
|
2603
|
+
address?: any;
|
|
2604
|
+
}[];
|
|
2267
2605
|
startingTreeRoots: {
|
|
2268
2606
|
noteHashTree: {
|
|
2269
2607
|
root: string;
|
|
@@ -2370,6 +2708,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2370
2708
|
};
|
|
2371
2709
|
lowLeavesWitnessData: {
|
|
2372
2710
|
path: string[];
|
|
2711
|
+
index: string | number | bigint;
|
|
2373
2712
|
leaf: {
|
|
2374
2713
|
leaf: {
|
|
2375
2714
|
nullifier: string;
|
|
@@ -2384,10 +2723,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2384
2723
|
nextKey: string;
|
|
2385
2724
|
nextIndex: string | number | bigint;
|
|
2386
2725
|
};
|
|
2387
|
-
index: string | number | bigint;
|
|
2388
2726
|
};
|
|
2389
2727
|
insertionWitnessData: {
|
|
2390
2728
|
path: string[];
|
|
2729
|
+
index: string | number | bigint;
|
|
2391
2730
|
leaf: {
|
|
2392
2731
|
leaf: {
|
|
2393
2732
|
nullifier: string;
|
|
@@ -2402,7 +2741,6 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2402
2741
|
nextKey: string;
|
|
2403
2742
|
nextIndex: string | number | bigint;
|
|
2404
2743
|
};
|
|
2405
|
-
index: string | number | bigint;
|
|
2406
2744
|
};
|
|
2407
2745
|
}[];
|
|
2408
2746
|
sequentialInsertHintsNullifierTree: {
|
|
@@ -2423,6 +2761,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2423
2761
|
};
|
|
2424
2762
|
lowLeavesWitnessData: {
|
|
2425
2763
|
path: string[];
|
|
2764
|
+
index: string | number | bigint;
|
|
2426
2765
|
leaf: {
|
|
2427
2766
|
leaf: {
|
|
2428
2767
|
nullifier: string;
|
|
@@ -2437,10 +2776,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2437
2776
|
nextKey: string;
|
|
2438
2777
|
nextIndex: string | number | bigint;
|
|
2439
2778
|
};
|
|
2440
|
-
index: string | number | bigint;
|
|
2441
2779
|
};
|
|
2442
2780
|
insertionWitnessData: {
|
|
2443
2781
|
path: string[];
|
|
2782
|
+
index: string | number | bigint;
|
|
2444
2783
|
leaf: {
|
|
2445
2784
|
leaf: {
|
|
2446
2785
|
nullifier: string;
|
|
@@ -2455,7 +2794,6 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2455
2794
|
nextKey: string;
|
|
2456
2795
|
nextIndex: string | number | bigint;
|
|
2457
2796
|
};
|
|
2458
|
-
index: string | number | bigint;
|
|
2459
2797
|
};
|
|
2460
2798
|
}[];
|
|
2461
2799
|
appendLeavesHints: {
|
|
@@ -2521,6 +2859,21 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2521
2859
|
};
|
|
2522
2860
|
};
|
|
2523
2861
|
}[];
|
|
2862
|
+
contractDBCreateCheckpointHints: {
|
|
2863
|
+
actionCounter: number;
|
|
2864
|
+
oldCheckpointId: number;
|
|
2865
|
+
newCheckpointId: number;
|
|
2866
|
+
}[];
|
|
2867
|
+
contractDBCommitCheckpointHints: {
|
|
2868
|
+
actionCounter: number;
|
|
2869
|
+
oldCheckpointId: number;
|
|
2870
|
+
newCheckpointId: number;
|
|
2871
|
+
}[];
|
|
2872
|
+
contractDBRevertCheckpointHints: {
|
|
2873
|
+
actionCounter: number;
|
|
2874
|
+
oldCheckpointId: number;
|
|
2875
|
+
newCheckpointId: number;
|
|
2876
|
+
}[];
|
|
2524
2877
|
}>, import("./avm.js").AvmExecutionHints, {
|
|
2525
2878
|
globalVariables: {
|
|
2526
2879
|
blockNumber: string | number | bigint;
|
|
@@ -2563,8 +2916,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2563
2916
|
nullifiers: string[];
|
|
2564
2917
|
l2ToL1Messages: {
|
|
2565
2918
|
message: {
|
|
2566
|
-
recipient: string;
|
|
2567
2919
|
content: string;
|
|
2920
|
+
recipient: string;
|
|
2568
2921
|
};
|
|
2569
2922
|
contractAddress?: any;
|
|
2570
2923
|
}[];
|
|
@@ -2574,8 +2927,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2574
2927
|
nullifiers: string[];
|
|
2575
2928
|
l2ToL1Messages: {
|
|
2576
2929
|
message: {
|
|
2577
|
-
recipient: string;
|
|
2578
2930
|
content: string;
|
|
2931
|
+
recipient: string;
|
|
2579
2932
|
};
|
|
2580
2933
|
contractAddress?: any;
|
|
2581
2934
|
}[];
|
|
@@ -2584,6 +2937,32 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2584
2937
|
feePerDaGas: string | number | bigint;
|
|
2585
2938
|
feePerL2Gas: string | number | bigint;
|
|
2586
2939
|
};
|
|
2940
|
+
nonRevertibleContractDeploymentData: {
|
|
2941
|
+
privateLogs: {
|
|
2942
|
+
fields: string[];
|
|
2943
|
+
emittedLength: number;
|
|
2944
|
+
}[];
|
|
2945
|
+
contractClassLogs: {
|
|
2946
|
+
fields: {
|
|
2947
|
+
fields: string[];
|
|
2948
|
+
};
|
|
2949
|
+
emittedLength: number;
|
|
2950
|
+
contractAddress?: any;
|
|
2951
|
+
}[];
|
|
2952
|
+
};
|
|
2953
|
+
revertibleContractDeploymentData: {
|
|
2954
|
+
privateLogs: {
|
|
2955
|
+
fields: string[];
|
|
2956
|
+
emittedLength: number;
|
|
2957
|
+
}[];
|
|
2958
|
+
contractClassLogs: {
|
|
2959
|
+
fields: {
|
|
2960
|
+
fields: string[];
|
|
2961
|
+
};
|
|
2962
|
+
emittedLength: number;
|
|
2963
|
+
contractAddress?: any;
|
|
2964
|
+
}[];
|
|
2965
|
+
};
|
|
2587
2966
|
setupEnqueuedCalls: any[];
|
|
2588
2967
|
appLogicEnqueuedCalls: any[];
|
|
2589
2968
|
gasUsedByPrivate: {
|
|
@@ -2604,22 +2983,30 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2604
2983
|
masterOutgoingViewingPublicKey: string;
|
|
2605
2984
|
masterTaggingPublicKey: string;
|
|
2606
2985
|
};
|
|
2986
|
+
hintKey: number;
|
|
2607
2987
|
deployer?: any;
|
|
2608
2988
|
address?: any;
|
|
2609
2989
|
}[];
|
|
2610
2990
|
contractClasses: {
|
|
2611
|
-
classId: string;
|
|
2612
2991
|
artifactHash: string;
|
|
2613
|
-
privateFunctionsRoot: string;
|
|
2614
2992
|
packedBytecode: string | {
|
|
2615
2993
|
type: "Buffer";
|
|
2616
2994
|
data: number[];
|
|
2617
2995
|
};
|
|
2996
|
+
privateFunctionsRoot: string;
|
|
2997
|
+
hintKey: number;
|
|
2998
|
+
classId: string;
|
|
2618
2999
|
}[];
|
|
2619
3000
|
bytecodeCommitments: {
|
|
3001
|
+
hintKey: number;
|
|
2620
3002
|
classId: string;
|
|
2621
3003
|
commitment: string;
|
|
2622
3004
|
}[];
|
|
3005
|
+
debugFunctionNames: {
|
|
3006
|
+
name: string;
|
|
3007
|
+
selector: string;
|
|
3008
|
+
address?: any;
|
|
3009
|
+
}[];
|
|
2623
3010
|
startingTreeRoots: {
|
|
2624
3011
|
noteHashTree: {
|
|
2625
3012
|
root: string;
|
|
@@ -2726,6 +3113,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2726
3113
|
};
|
|
2727
3114
|
lowLeavesWitnessData: {
|
|
2728
3115
|
path: string[];
|
|
3116
|
+
index: string | number | bigint;
|
|
2729
3117
|
leaf: {
|
|
2730
3118
|
leaf: {
|
|
2731
3119
|
nullifier: string;
|
|
@@ -2740,10 +3128,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2740
3128
|
nextKey: string;
|
|
2741
3129
|
nextIndex: string | number | bigint;
|
|
2742
3130
|
};
|
|
2743
|
-
index: string | number | bigint;
|
|
2744
3131
|
};
|
|
2745
3132
|
insertionWitnessData: {
|
|
2746
3133
|
path: string[];
|
|
3134
|
+
index: string | number | bigint;
|
|
2747
3135
|
leaf: {
|
|
2748
3136
|
leaf: {
|
|
2749
3137
|
nullifier: string;
|
|
@@ -2758,7 +3146,6 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2758
3146
|
nextKey: string;
|
|
2759
3147
|
nextIndex: string | number | bigint;
|
|
2760
3148
|
};
|
|
2761
|
-
index: string | number | bigint;
|
|
2762
3149
|
};
|
|
2763
3150
|
}[];
|
|
2764
3151
|
sequentialInsertHintsNullifierTree: {
|
|
@@ -2779,6 +3166,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2779
3166
|
};
|
|
2780
3167
|
lowLeavesWitnessData: {
|
|
2781
3168
|
path: string[];
|
|
3169
|
+
index: string | number | bigint;
|
|
2782
3170
|
leaf: {
|
|
2783
3171
|
leaf: {
|
|
2784
3172
|
nullifier: string;
|
|
@@ -2793,10 +3181,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2793
3181
|
nextKey: string;
|
|
2794
3182
|
nextIndex: string | number | bigint;
|
|
2795
3183
|
};
|
|
2796
|
-
index: string | number | bigint;
|
|
2797
3184
|
};
|
|
2798
3185
|
insertionWitnessData: {
|
|
2799
3186
|
path: string[];
|
|
3187
|
+
index: string | number | bigint;
|
|
2800
3188
|
leaf: {
|
|
2801
3189
|
leaf: {
|
|
2802
3190
|
nullifier: string;
|
|
@@ -2811,7 +3199,6 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2811
3199
|
nextKey: string;
|
|
2812
3200
|
nextIndex: string | number | bigint;
|
|
2813
3201
|
};
|
|
2814
|
-
index: string | number | bigint;
|
|
2815
3202
|
};
|
|
2816
3203
|
}[];
|
|
2817
3204
|
appendLeavesHints: {
|
|
@@ -2877,6 +3264,21 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2877
3264
|
};
|
|
2878
3265
|
};
|
|
2879
3266
|
}[];
|
|
3267
|
+
contractDBCreateCheckpointHints: {
|
|
3268
|
+
actionCounter: number;
|
|
3269
|
+
oldCheckpointId: number;
|
|
3270
|
+
newCheckpointId: number;
|
|
3271
|
+
}[];
|
|
3272
|
+
contractDBCommitCheckpointHints: {
|
|
3273
|
+
actionCounter: number;
|
|
3274
|
+
oldCheckpointId: number;
|
|
3275
|
+
newCheckpointId: number;
|
|
3276
|
+
}[];
|
|
3277
|
+
contractDBRevertCheckpointHints: {
|
|
3278
|
+
actionCounter: number;
|
|
3279
|
+
oldCheckpointId: number;
|
|
3280
|
+
newCheckpointId: number;
|
|
3281
|
+
}[];
|
|
2880
3282
|
}>;
|
|
2881
3283
|
publicInputs: z.ZodEffects<z.ZodObject<{
|
|
2882
3284
|
globalVariables: z.ZodEffects<z.ZodObject<{
|
|
@@ -3279,14 +3681,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3279
3681
|
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
3280
3682
|
content: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
3281
3683
|
}, "strip", z.ZodTypeAny, {
|
|
3282
|
-
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
3283
3684
|
content: import("@aztec/foundation/schemas").Fr;
|
|
3685
|
+
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
3284
3686
|
}, {
|
|
3285
|
-
recipient: string;
|
|
3286
3687
|
content: string;
|
|
3287
|
-
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
3288
3688
|
recipient: string;
|
|
3689
|
+
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
3289
3690
|
content: string;
|
|
3691
|
+
recipient: string;
|
|
3290
3692
|
}>;
|
|
3291
3693
|
contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
3292
3694
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3294,14 +3696,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3294
3696
|
contractAddress: import("../aztec-address/index.js").AztecAddress;
|
|
3295
3697
|
}, {
|
|
3296
3698
|
message: {
|
|
3297
|
-
recipient: string;
|
|
3298
3699
|
content: string;
|
|
3700
|
+
recipient: string;
|
|
3299
3701
|
};
|
|
3300
3702
|
contractAddress?: any;
|
|
3301
3703
|
}>, import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
|
|
3302
3704
|
message: {
|
|
3303
|
-
recipient: string;
|
|
3304
3705
|
content: string;
|
|
3706
|
+
recipient: string;
|
|
3305
3707
|
};
|
|
3306
3708
|
contractAddress?: any;
|
|
3307
3709
|
}>, "many">;
|
|
@@ -3314,8 +3716,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3314
3716
|
nullifiers: string[];
|
|
3315
3717
|
l2ToL1Msgs: {
|
|
3316
3718
|
message: {
|
|
3317
|
-
recipient: string;
|
|
3318
3719
|
content: string;
|
|
3720
|
+
recipient: string;
|
|
3319
3721
|
};
|
|
3320
3722
|
contractAddress?: any;
|
|
3321
3723
|
}[];
|
|
@@ -3324,8 +3726,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3324
3726
|
nullifiers: string[];
|
|
3325
3727
|
l2ToL1Msgs: {
|
|
3326
3728
|
message: {
|
|
3327
|
-
recipient: string;
|
|
3328
3729
|
content: string;
|
|
3730
|
+
recipient: string;
|
|
3329
3731
|
};
|
|
3330
3732
|
contractAddress?: any;
|
|
3331
3733
|
}[];
|
|
@@ -3338,14 +3740,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3338
3740
|
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
3339
3741
|
content: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
3340
3742
|
}, "strip", z.ZodTypeAny, {
|
|
3341
|
-
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
3342
3743
|
content: import("@aztec/foundation/schemas").Fr;
|
|
3744
|
+
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
3343
3745
|
}, {
|
|
3344
|
-
recipient: string;
|
|
3345
3746
|
content: string;
|
|
3346
|
-
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
3347
3747
|
recipient: string;
|
|
3748
|
+
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
3348
3749
|
content: string;
|
|
3750
|
+
recipient: string;
|
|
3349
3751
|
}>;
|
|
3350
3752
|
contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
3351
3753
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3353,14 +3755,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3353
3755
|
contractAddress: import("../aztec-address/index.js").AztecAddress;
|
|
3354
3756
|
}, {
|
|
3355
3757
|
message: {
|
|
3356
|
-
recipient: string;
|
|
3357
3758
|
content: string;
|
|
3759
|
+
recipient: string;
|
|
3358
3760
|
};
|
|
3359
3761
|
contractAddress?: any;
|
|
3360
3762
|
}>, import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
|
|
3361
3763
|
message: {
|
|
3362
|
-
recipient: string;
|
|
3363
3764
|
content: string;
|
|
3765
|
+
recipient: string;
|
|
3364
3766
|
};
|
|
3365
3767
|
contractAddress?: any;
|
|
3366
3768
|
}>, "many">;
|
|
@@ -3373,8 +3775,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3373
3775
|
nullifiers: string[];
|
|
3374
3776
|
l2ToL1Msgs: {
|
|
3375
3777
|
message: {
|
|
3376
|
-
recipient: string;
|
|
3377
3778
|
content: string;
|
|
3779
|
+
recipient: string;
|
|
3378
3780
|
};
|
|
3379
3781
|
contractAddress?: any;
|
|
3380
3782
|
}[];
|
|
@@ -3383,8 +3785,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3383
3785
|
nullifiers: string[];
|
|
3384
3786
|
l2ToL1Msgs: {
|
|
3385
3787
|
message: {
|
|
3386
|
-
recipient: string;
|
|
3387
3788
|
content: string;
|
|
3789
|
+
recipient: string;
|
|
3388
3790
|
};
|
|
3389
3791
|
contractAddress?: any;
|
|
3390
3792
|
}[];
|
|
@@ -3524,14 +3926,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3524
3926
|
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
3525
3927
|
content: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
3526
3928
|
}, "strip", z.ZodTypeAny, {
|
|
3527
|
-
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
3528
3929
|
content: import("@aztec/foundation/schemas").Fr;
|
|
3930
|
+
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
3529
3931
|
}, {
|
|
3530
|
-
recipient: string;
|
|
3531
3932
|
content: string;
|
|
3532
|
-
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
3533
3933
|
recipient: string;
|
|
3934
|
+
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
3534
3935
|
content: string;
|
|
3936
|
+
recipient: string;
|
|
3535
3937
|
}>;
|
|
3536
3938
|
contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
3537
3939
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3539,14 +3941,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3539
3941
|
contractAddress: import("../aztec-address/index.js").AztecAddress;
|
|
3540
3942
|
}, {
|
|
3541
3943
|
message: {
|
|
3542
|
-
recipient: string;
|
|
3543
3944
|
content: string;
|
|
3945
|
+
recipient: string;
|
|
3544
3946
|
};
|
|
3545
3947
|
contractAddress?: any;
|
|
3546
3948
|
}>, import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
|
|
3547
3949
|
message: {
|
|
3548
|
-
recipient: string;
|
|
3549
3950
|
content: string;
|
|
3951
|
+
recipient: string;
|
|
3550
3952
|
};
|
|
3551
3953
|
contractAddress?: any;
|
|
3552
3954
|
}>, "many">;
|
|
@@ -3575,8 +3977,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3575
3977
|
nullifiers: string[];
|
|
3576
3978
|
l2ToL1Msgs: {
|
|
3577
3979
|
message: {
|
|
3578
|
-
recipient: string;
|
|
3579
3980
|
content: string;
|
|
3981
|
+
recipient: string;
|
|
3580
3982
|
};
|
|
3581
3983
|
contractAddress?: any;
|
|
3582
3984
|
}[];
|
|
@@ -3590,8 +3992,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3590
3992
|
nullifiers: string[];
|
|
3591
3993
|
l2ToL1Msgs: {
|
|
3592
3994
|
message: {
|
|
3593
|
-
recipient: string;
|
|
3594
3995
|
content: string;
|
|
3996
|
+
recipient: string;
|
|
3595
3997
|
};
|
|
3596
3998
|
contractAddress?: any;
|
|
3597
3999
|
}[];
|
|
@@ -3727,8 +4129,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3727
4129
|
nullifiers: string[];
|
|
3728
4130
|
l2ToL1Msgs: {
|
|
3729
4131
|
message: {
|
|
3730
|
-
recipient: string;
|
|
3731
4132
|
content: string;
|
|
4133
|
+
recipient: string;
|
|
3732
4134
|
};
|
|
3733
4135
|
contractAddress?: any;
|
|
3734
4136
|
}[];
|
|
@@ -3738,8 +4140,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3738
4140
|
nullifiers: string[];
|
|
3739
4141
|
l2ToL1Msgs: {
|
|
3740
4142
|
message: {
|
|
3741
|
-
recipient: string;
|
|
3742
4143
|
content: string;
|
|
4144
|
+
recipient: string;
|
|
3743
4145
|
};
|
|
3744
4146
|
contractAddress?: any;
|
|
3745
4147
|
}[];
|
|
@@ -3777,8 +4179,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3777
4179
|
nullifiers: string[];
|
|
3778
4180
|
l2ToL1Msgs: {
|
|
3779
4181
|
message: {
|
|
3780
|
-
recipient: string;
|
|
3781
4182
|
content: string;
|
|
4183
|
+
recipient: string;
|
|
3782
4184
|
};
|
|
3783
4185
|
contractAddress?: any;
|
|
3784
4186
|
}[];
|
|
@@ -3891,8 +4293,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3891
4293
|
nullifiers: string[];
|
|
3892
4294
|
l2ToL1Msgs: {
|
|
3893
4295
|
message: {
|
|
3894
|
-
recipient: string;
|
|
3895
4296
|
content: string;
|
|
4297
|
+
recipient: string;
|
|
3896
4298
|
};
|
|
3897
4299
|
contractAddress?: any;
|
|
3898
4300
|
}[];
|
|
@@ -3902,8 +4304,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3902
4304
|
nullifiers: string[];
|
|
3903
4305
|
l2ToL1Msgs: {
|
|
3904
4306
|
message: {
|
|
3905
|
-
recipient: string;
|
|
3906
4307
|
content: string;
|
|
4308
|
+
recipient: string;
|
|
3907
4309
|
};
|
|
3908
4310
|
contractAddress?: any;
|
|
3909
4311
|
}[];
|
|
@@ -3941,8 +4343,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3941
4343
|
nullifiers: string[];
|
|
3942
4344
|
l2ToL1Msgs: {
|
|
3943
4345
|
message: {
|
|
3944
|
-
recipient: string;
|
|
3945
4346
|
content: string;
|
|
4347
|
+
recipient: string;
|
|
3946
4348
|
};
|
|
3947
4349
|
contractAddress?: any;
|
|
3948
4350
|
}[];
|
|
@@ -4060,8 +4462,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4060
4462
|
nullifiers: string[];
|
|
4061
4463
|
l2ToL1Msgs: {
|
|
4062
4464
|
message: {
|
|
4063
|
-
recipient: string;
|
|
4064
4465
|
content: string;
|
|
4466
|
+
recipient: string;
|
|
4065
4467
|
};
|
|
4066
4468
|
contractAddress?: any;
|
|
4067
4469
|
}[];
|
|
@@ -4071,8 +4473,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4071
4473
|
nullifiers: string[];
|
|
4072
4474
|
l2ToL1Msgs: {
|
|
4073
4475
|
message: {
|
|
4074
|
-
recipient: string;
|
|
4075
4476
|
content: string;
|
|
4477
|
+
recipient: string;
|
|
4076
4478
|
};
|
|
4077
4479
|
contractAddress?: any;
|
|
4078
4480
|
}[];
|
|
@@ -4110,8 +4512,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4110
4512
|
nullifiers: string[];
|
|
4111
4513
|
l2ToL1Msgs: {
|
|
4112
4514
|
message: {
|
|
4113
|
-
recipient: string;
|
|
4114
4515
|
content: string;
|
|
4516
|
+
recipient: string;
|
|
4115
4517
|
};
|
|
4116
4518
|
contractAddress?: any;
|
|
4117
4519
|
}[];
|
|
@@ -4166,8 +4568,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4166
4568
|
nullifiers: string[];
|
|
4167
4569
|
l2ToL1Messages: {
|
|
4168
4570
|
message: {
|
|
4169
|
-
recipient: string;
|
|
4170
4571
|
content: string;
|
|
4572
|
+
recipient: string;
|
|
4171
4573
|
};
|
|
4172
4574
|
contractAddress?: any;
|
|
4173
4575
|
}[];
|
|
@@ -4177,8 +4579,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4177
4579
|
nullifiers: string[];
|
|
4178
4580
|
l2ToL1Messages: {
|
|
4179
4581
|
message: {
|
|
4180
|
-
recipient: string;
|
|
4181
4582
|
content: string;
|
|
4583
|
+
recipient: string;
|
|
4182
4584
|
};
|
|
4183
4585
|
contractAddress?: any;
|
|
4184
4586
|
}[];
|
|
@@ -4187,6 +4589,32 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4187
4589
|
feePerDaGas: string | number | bigint;
|
|
4188
4590
|
feePerL2Gas: string | number | bigint;
|
|
4189
4591
|
};
|
|
4592
|
+
nonRevertibleContractDeploymentData: {
|
|
4593
|
+
privateLogs: {
|
|
4594
|
+
fields: string[];
|
|
4595
|
+
emittedLength: number;
|
|
4596
|
+
}[];
|
|
4597
|
+
contractClassLogs: {
|
|
4598
|
+
fields: {
|
|
4599
|
+
fields: string[];
|
|
4600
|
+
};
|
|
4601
|
+
emittedLength: number;
|
|
4602
|
+
contractAddress?: any;
|
|
4603
|
+
}[];
|
|
4604
|
+
};
|
|
4605
|
+
revertibleContractDeploymentData: {
|
|
4606
|
+
privateLogs: {
|
|
4607
|
+
fields: string[];
|
|
4608
|
+
emittedLength: number;
|
|
4609
|
+
}[];
|
|
4610
|
+
contractClassLogs: {
|
|
4611
|
+
fields: {
|
|
4612
|
+
fields: string[];
|
|
4613
|
+
};
|
|
4614
|
+
emittedLength: number;
|
|
4615
|
+
contractAddress?: any;
|
|
4616
|
+
}[];
|
|
4617
|
+
};
|
|
4190
4618
|
setupEnqueuedCalls: any[];
|
|
4191
4619
|
appLogicEnqueuedCalls: any[];
|
|
4192
4620
|
gasUsedByPrivate: {
|
|
@@ -4207,22 +4635,30 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4207
4635
|
masterOutgoingViewingPublicKey: string;
|
|
4208
4636
|
masterTaggingPublicKey: string;
|
|
4209
4637
|
};
|
|
4638
|
+
hintKey: number;
|
|
4210
4639
|
deployer?: any;
|
|
4211
4640
|
address?: any;
|
|
4212
4641
|
}[];
|
|
4213
4642
|
contractClasses: {
|
|
4214
|
-
classId: string;
|
|
4215
4643
|
artifactHash: string;
|
|
4216
|
-
privateFunctionsRoot: string;
|
|
4217
4644
|
packedBytecode: string | {
|
|
4218
4645
|
type: "Buffer";
|
|
4219
4646
|
data: number[];
|
|
4220
4647
|
};
|
|
4648
|
+
privateFunctionsRoot: string;
|
|
4649
|
+
hintKey: number;
|
|
4650
|
+
classId: string;
|
|
4221
4651
|
}[];
|
|
4222
4652
|
bytecodeCommitments: {
|
|
4653
|
+
hintKey: number;
|
|
4223
4654
|
classId: string;
|
|
4224
4655
|
commitment: string;
|
|
4225
4656
|
}[];
|
|
4657
|
+
debugFunctionNames: {
|
|
4658
|
+
name: string;
|
|
4659
|
+
selector: string;
|
|
4660
|
+
address?: any;
|
|
4661
|
+
}[];
|
|
4226
4662
|
startingTreeRoots: {
|
|
4227
4663
|
noteHashTree: {
|
|
4228
4664
|
root: string;
|
|
@@ -4329,6 +4765,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4329
4765
|
};
|
|
4330
4766
|
lowLeavesWitnessData: {
|
|
4331
4767
|
path: string[];
|
|
4768
|
+
index: string | number | bigint;
|
|
4332
4769
|
leaf: {
|
|
4333
4770
|
leaf: {
|
|
4334
4771
|
nullifier: string;
|
|
@@ -4343,10 +4780,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4343
4780
|
nextKey: string;
|
|
4344
4781
|
nextIndex: string | number | bigint;
|
|
4345
4782
|
};
|
|
4346
|
-
index: string | number | bigint;
|
|
4347
4783
|
};
|
|
4348
4784
|
insertionWitnessData: {
|
|
4349
4785
|
path: string[];
|
|
4786
|
+
index: string | number | bigint;
|
|
4350
4787
|
leaf: {
|
|
4351
4788
|
leaf: {
|
|
4352
4789
|
nullifier: string;
|
|
@@ -4361,7 +4798,6 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4361
4798
|
nextKey: string;
|
|
4362
4799
|
nextIndex: string | number | bigint;
|
|
4363
4800
|
};
|
|
4364
|
-
index: string | number | bigint;
|
|
4365
4801
|
};
|
|
4366
4802
|
}[];
|
|
4367
4803
|
sequentialInsertHintsNullifierTree: {
|
|
@@ -4382,6 +4818,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4382
4818
|
};
|
|
4383
4819
|
lowLeavesWitnessData: {
|
|
4384
4820
|
path: string[];
|
|
4821
|
+
index: string | number | bigint;
|
|
4385
4822
|
leaf: {
|
|
4386
4823
|
leaf: {
|
|
4387
4824
|
nullifier: string;
|
|
@@ -4396,10 +4833,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4396
4833
|
nextKey: string;
|
|
4397
4834
|
nextIndex: string | number | bigint;
|
|
4398
4835
|
};
|
|
4399
|
-
index: string | number | bigint;
|
|
4400
4836
|
};
|
|
4401
4837
|
insertionWitnessData: {
|
|
4402
4838
|
path: string[];
|
|
4839
|
+
index: string | number | bigint;
|
|
4403
4840
|
leaf: {
|
|
4404
4841
|
leaf: {
|
|
4405
4842
|
nullifier: string;
|
|
@@ -4414,7 +4851,6 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4414
4851
|
nextKey: string;
|
|
4415
4852
|
nextIndex: string | number | bigint;
|
|
4416
4853
|
};
|
|
4417
|
-
index: string | number | bigint;
|
|
4418
4854
|
};
|
|
4419
4855
|
}[];
|
|
4420
4856
|
appendLeavesHints: {
|
|
@@ -4480,6 +4916,21 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4480
4916
|
};
|
|
4481
4917
|
};
|
|
4482
4918
|
}[];
|
|
4919
|
+
contractDBCreateCheckpointHints: {
|
|
4920
|
+
actionCounter: number;
|
|
4921
|
+
oldCheckpointId: number;
|
|
4922
|
+
newCheckpointId: number;
|
|
4923
|
+
}[];
|
|
4924
|
+
contractDBCommitCheckpointHints: {
|
|
4925
|
+
actionCounter: number;
|
|
4926
|
+
oldCheckpointId: number;
|
|
4927
|
+
newCheckpointId: number;
|
|
4928
|
+
}[];
|
|
4929
|
+
contractDBRevertCheckpointHints: {
|
|
4930
|
+
actionCounter: number;
|
|
4931
|
+
oldCheckpointId: number;
|
|
4932
|
+
newCheckpointId: number;
|
|
4933
|
+
}[];
|
|
4483
4934
|
};
|
|
4484
4935
|
}>, AvmCircuitInputs, {
|
|
4485
4936
|
publicInputs: {
|
|
@@ -4583,8 +5034,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4583
5034
|
nullifiers: string[];
|
|
4584
5035
|
l2ToL1Msgs: {
|
|
4585
5036
|
message: {
|
|
4586
|
-
recipient: string;
|
|
4587
5037
|
content: string;
|
|
5038
|
+
recipient: string;
|
|
4588
5039
|
};
|
|
4589
5040
|
contractAddress?: any;
|
|
4590
5041
|
}[];
|
|
@@ -4594,8 +5045,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4594
5045
|
nullifiers: string[];
|
|
4595
5046
|
l2ToL1Msgs: {
|
|
4596
5047
|
message: {
|
|
4597
|
-
recipient: string;
|
|
4598
5048
|
content: string;
|
|
5049
|
+
recipient: string;
|
|
4599
5050
|
};
|
|
4600
5051
|
contractAddress?: any;
|
|
4601
5052
|
}[];
|
|
@@ -4633,8 +5084,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4633
5084
|
nullifiers: string[];
|
|
4634
5085
|
l2ToL1Msgs: {
|
|
4635
5086
|
message: {
|
|
4636
|
-
recipient: string;
|
|
4637
5087
|
content: string;
|
|
5088
|
+
recipient: string;
|
|
4638
5089
|
};
|
|
4639
5090
|
contractAddress?: any;
|
|
4640
5091
|
}[];
|
|
@@ -4689,8 +5140,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4689
5140
|
nullifiers: string[];
|
|
4690
5141
|
l2ToL1Messages: {
|
|
4691
5142
|
message: {
|
|
4692
|
-
recipient: string;
|
|
4693
5143
|
content: string;
|
|
5144
|
+
recipient: string;
|
|
4694
5145
|
};
|
|
4695
5146
|
contractAddress?: any;
|
|
4696
5147
|
}[];
|
|
@@ -4700,8 +5151,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4700
5151
|
nullifiers: string[];
|
|
4701
5152
|
l2ToL1Messages: {
|
|
4702
5153
|
message: {
|
|
4703
|
-
recipient: string;
|
|
4704
5154
|
content: string;
|
|
5155
|
+
recipient: string;
|
|
4705
5156
|
};
|
|
4706
5157
|
contractAddress?: any;
|
|
4707
5158
|
}[];
|
|
@@ -4710,6 +5161,32 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4710
5161
|
feePerDaGas: string | number | bigint;
|
|
4711
5162
|
feePerL2Gas: string | number | bigint;
|
|
4712
5163
|
};
|
|
5164
|
+
nonRevertibleContractDeploymentData: {
|
|
5165
|
+
privateLogs: {
|
|
5166
|
+
fields: string[];
|
|
5167
|
+
emittedLength: number;
|
|
5168
|
+
}[];
|
|
5169
|
+
contractClassLogs: {
|
|
5170
|
+
fields: {
|
|
5171
|
+
fields: string[];
|
|
5172
|
+
};
|
|
5173
|
+
emittedLength: number;
|
|
5174
|
+
contractAddress?: any;
|
|
5175
|
+
}[];
|
|
5176
|
+
};
|
|
5177
|
+
revertibleContractDeploymentData: {
|
|
5178
|
+
privateLogs: {
|
|
5179
|
+
fields: string[];
|
|
5180
|
+
emittedLength: number;
|
|
5181
|
+
}[];
|
|
5182
|
+
contractClassLogs: {
|
|
5183
|
+
fields: {
|
|
5184
|
+
fields: string[];
|
|
5185
|
+
};
|
|
5186
|
+
emittedLength: number;
|
|
5187
|
+
contractAddress?: any;
|
|
5188
|
+
}[];
|
|
5189
|
+
};
|
|
4713
5190
|
setupEnqueuedCalls: any[];
|
|
4714
5191
|
appLogicEnqueuedCalls: any[];
|
|
4715
5192
|
gasUsedByPrivate: {
|
|
@@ -4730,22 +5207,30 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4730
5207
|
masterOutgoingViewingPublicKey: string;
|
|
4731
5208
|
masterTaggingPublicKey: string;
|
|
4732
5209
|
};
|
|
5210
|
+
hintKey: number;
|
|
4733
5211
|
deployer?: any;
|
|
4734
5212
|
address?: any;
|
|
4735
5213
|
}[];
|
|
4736
5214
|
contractClasses: {
|
|
4737
|
-
classId: string;
|
|
4738
5215
|
artifactHash: string;
|
|
4739
|
-
privateFunctionsRoot: string;
|
|
4740
5216
|
packedBytecode: string | {
|
|
4741
5217
|
type: "Buffer";
|
|
4742
5218
|
data: number[];
|
|
4743
5219
|
};
|
|
5220
|
+
privateFunctionsRoot: string;
|
|
5221
|
+
hintKey: number;
|
|
5222
|
+
classId: string;
|
|
4744
5223
|
}[];
|
|
4745
5224
|
bytecodeCommitments: {
|
|
5225
|
+
hintKey: number;
|
|
4746
5226
|
classId: string;
|
|
4747
5227
|
commitment: string;
|
|
4748
5228
|
}[];
|
|
5229
|
+
debugFunctionNames: {
|
|
5230
|
+
name: string;
|
|
5231
|
+
selector: string;
|
|
5232
|
+
address?: any;
|
|
5233
|
+
}[];
|
|
4749
5234
|
startingTreeRoots: {
|
|
4750
5235
|
noteHashTree: {
|
|
4751
5236
|
root: string;
|
|
@@ -4852,6 +5337,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4852
5337
|
};
|
|
4853
5338
|
lowLeavesWitnessData: {
|
|
4854
5339
|
path: string[];
|
|
5340
|
+
index: string | number | bigint;
|
|
4855
5341
|
leaf: {
|
|
4856
5342
|
leaf: {
|
|
4857
5343
|
nullifier: string;
|
|
@@ -4866,10 +5352,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4866
5352
|
nextKey: string;
|
|
4867
5353
|
nextIndex: string | number | bigint;
|
|
4868
5354
|
};
|
|
4869
|
-
index: string | number | bigint;
|
|
4870
5355
|
};
|
|
4871
5356
|
insertionWitnessData: {
|
|
4872
5357
|
path: string[];
|
|
5358
|
+
index: string | number | bigint;
|
|
4873
5359
|
leaf: {
|
|
4874
5360
|
leaf: {
|
|
4875
5361
|
nullifier: string;
|
|
@@ -4884,7 +5370,6 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4884
5370
|
nextKey: string;
|
|
4885
5371
|
nextIndex: string | number | bigint;
|
|
4886
5372
|
};
|
|
4887
|
-
index: string | number | bigint;
|
|
4888
5373
|
};
|
|
4889
5374
|
}[];
|
|
4890
5375
|
sequentialInsertHintsNullifierTree: {
|
|
@@ -4905,6 +5390,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4905
5390
|
};
|
|
4906
5391
|
lowLeavesWitnessData: {
|
|
4907
5392
|
path: string[];
|
|
5393
|
+
index: string | number | bigint;
|
|
4908
5394
|
leaf: {
|
|
4909
5395
|
leaf: {
|
|
4910
5396
|
nullifier: string;
|
|
@@ -4919,10 +5405,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4919
5405
|
nextKey: string;
|
|
4920
5406
|
nextIndex: string | number | bigint;
|
|
4921
5407
|
};
|
|
4922
|
-
index: string | number | bigint;
|
|
4923
5408
|
};
|
|
4924
5409
|
insertionWitnessData: {
|
|
4925
5410
|
path: string[];
|
|
5411
|
+
index: string | number | bigint;
|
|
4926
5412
|
leaf: {
|
|
4927
5413
|
leaf: {
|
|
4928
5414
|
nullifier: string;
|
|
@@ -4937,7 +5423,6 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4937
5423
|
nextKey: string;
|
|
4938
5424
|
nextIndex: string | number | bigint;
|
|
4939
5425
|
};
|
|
4940
|
-
index: string | number | bigint;
|
|
4941
5426
|
};
|
|
4942
5427
|
}[];
|
|
4943
5428
|
appendLeavesHints: {
|
|
@@ -5003,6 +5488,21 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5003
5488
|
};
|
|
5004
5489
|
};
|
|
5005
5490
|
}[];
|
|
5491
|
+
contractDBCreateCheckpointHints: {
|
|
5492
|
+
actionCounter: number;
|
|
5493
|
+
oldCheckpointId: number;
|
|
5494
|
+
newCheckpointId: number;
|
|
5495
|
+
}[];
|
|
5496
|
+
contractDBCommitCheckpointHints: {
|
|
5497
|
+
actionCounter: number;
|
|
5498
|
+
oldCheckpointId: number;
|
|
5499
|
+
newCheckpointId: number;
|
|
5500
|
+
}[];
|
|
5501
|
+
contractDBRevertCheckpointHints: {
|
|
5502
|
+
actionCounter: number;
|
|
5503
|
+
oldCheckpointId: number;
|
|
5504
|
+
newCheckpointId: number;
|
|
5505
|
+
}[];
|
|
5006
5506
|
};
|
|
5007
5507
|
}>;
|
|
5008
5508
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5112,8 +5612,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5112
5612
|
nullifiers: string[];
|
|
5113
5613
|
l2ToL1Msgs: {
|
|
5114
5614
|
message: {
|
|
5115
|
-
recipient: string;
|
|
5116
5615
|
content: string;
|
|
5616
|
+
recipient: string;
|
|
5117
5617
|
};
|
|
5118
5618
|
contractAddress?: any;
|
|
5119
5619
|
}[];
|
|
@@ -5123,8 +5623,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5123
5623
|
nullifiers: string[];
|
|
5124
5624
|
l2ToL1Msgs: {
|
|
5125
5625
|
message: {
|
|
5126
|
-
recipient: string;
|
|
5127
5626
|
content: string;
|
|
5627
|
+
recipient: string;
|
|
5128
5628
|
};
|
|
5129
5629
|
contractAddress?: any;
|
|
5130
5630
|
}[];
|
|
@@ -5162,8 +5662,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5162
5662
|
nullifiers: string[];
|
|
5163
5663
|
l2ToL1Msgs: {
|
|
5164
5664
|
message: {
|
|
5165
|
-
recipient: string;
|
|
5166
5665
|
content: string;
|
|
5666
|
+
recipient: string;
|
|
5167
5667
|
};
|
|
5168
5668
|
contractAddress?: any;
|
|
5169
5669
|
}[];
|
|
@@ -5218,8 +5718,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5218
5718
|
nullifiers: string[];
|
|
5219
5719
|
l2ToL1Messages: {
|
|
5220
5720
|
message: {
|
|
5221
|
-
recipient: string;
|
|
5222
5721
|
content: string;
|
|
5722
|
+
recipient: string;
|
|
5223
5723
|
};
|
|
5224
5724
|
contractAddress?: any;
|
|
5225
5725
|
}[];
|
|
@@ -5229,8 +5729,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5229
5729
|
nullifiers: string[];
|
|
5230
5730
|
l2ToL1Messages: {
|
|
5231
5731
|
message: {
|
|
5232
|
-
recipient: string;
|
|
5233
5732
|
content: string;
|
|
5733
|
+
recipient: string;
|
|
5234
5734
|
};
|
|
5235
5735
|
contractAddress?: any;
|
|
5236
5736
|
}[];
|
|
@@ -5239,6 +5739,32 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5239
5739
|
feePerDaGas: string | number | bigint;
|
|
5240
5740
|
feePerL2Gas: string | number | bigint;
|
|
5241
5741
|
};
|
|
5742
|
+
nonRevertibleContractDeploymentData: {
|
|
5743
|
+
privateLogs: {
|
|
5744
|
+
fields: string[];
|
|
5745
|
+
emittedLength: number;
|
|
5746
|
+
}[];
|
|
5747
|
+
contractClassLogs: {
|
|
5748
|
+
fields: {
|
|
5749
|
+
fields: string[];
|
|
5750
|
+
};
|
|
5751
|
+
emittedLength: number;
|
|
5752
|
+
contractAddress?: any;
|
|
5753
|
+
}[];
|
|
5754
|
+
};
|
|
5755
|
+
revertibleContractDeploymentData: {
|
|
5756
|
+
privateLogs: {
|
|
5757
|
+
fields: string[];
|
|
5758
|
+
emittedLength: number;
|
|
5759
|
+
}[];
|
|
5760
|
+
contractClassLogs: {
|
|
5761
|
+
fields: {
|
|
5762
|
+
fields: string[];
|
|
5763
|
+
};
|
|
5764
|
+
emittedLength: number;
|
|
5765
|
+
contractAddress?: any;
|
|
5766
|
+
}[];
|
|
5767
|
+
};
|
|
5242
5768
|
setupEnqueuedCalls: any[];
|
|
5243
5769
|
appLogicEnqueuedCalls: any[];
|
|
5244
5770
|
gasUsedByPrivate: {
|
|
@@ -5259,22 +5785,30 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5259
5785
|
masterOutgoingViewingPublicKey: string;
|
|
5260
5786
|
masterTaggingPublicKey: string;
|
|
5261
5787
|
};
|
|
5788
|
+
hintKey: number;
|
|
5262
5789
|
deployer?: any;
|
|
5263
5790
|
address?: any;
|
|
5264
5791
|
}[];
|
|
5265
5792
|
contractClasses: {
|
|
5266
|
-
classId: string;
|
|
5267
5793
|
artifactHash: string;
|
|
5268
|
-
privateFunctionsRoot: string;
|
|
5269
5794
|
packedBytecode: string | {
|
|
5270
5795
|
type: "Buffer";
|
|
5271
5796
|
data: number[];
|
|
5272
5797
|
};
|
|
5798
|
+
privateFunctionsRoot: string;
|
|
5799
|
+
hintKey: number;
|
|
5800
|
+
classId: string;
|
|
5273
5801
|
}[];
|
|
5274
5802
|
bytecodeCommitments: {
|
|
5803
|
+
hintKey: number;
|
|
5275
5804
|
classId: string;
|
|
5276
5805
|
commitment: string;
|
|
5277
5806
|
}[];
|
|
5807
|
+
debugFunctionNames: {
|
|
5808
|
+
name: string;
|
|
5809
|
+
selector: string;
|
|
5810
|
+
address?: any;
|
|
5811
|
+
}[];
|
|
5278
5812
|
startingTreeRoots: {
|
|
5279
5813
|
noteHashTree: {
|
|
5280
5814
|
root: string;
|
|
@@ -5381,6 +5915,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5381
5915
|
};
|
|
5382
5916
|
lowLeavesWitnessData: {
|
|
5383
5917
|
path: string[];
|
|
5918
|
+
index: string | number | bigint;
|
|
5384
5919
|
leaf: {
|
|
5385
5920
|
leaf: {
|
|
5386
5921
|
nullifier: string;
|
|
@@ -5395,10 +5930,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5395
5930
|
nextKey: string;
|
|
5396
5931
|
nextIndex: string | number | bigint;
|
|
5397
5932
|
};
|
|
5398
|
-
index: string | number | bigint;
|
|
5399
5933
|
};
|
|
5400
5934
|
insertionWitnessData: {
|
|
5401
5935
|
path: string[];
|
|
5936
|
+
index: string | number | bigint;
|
|
5402
5937
|
leaf: {
|
|
5403
5938
|
leaf: {
|
|
5404
5939
|
nullifier: string;
|
|
@@ -5413,7 +5948,6 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5413
5948
|
nextKey: string;
|
|
5414
5949
|
nextIndex: string | number | bigint;
|
|
5415
5950
|
};
|
|
5416
|
-
index: string | number | bigint;
|
|
5417
5951
|
};
|
|
5418
5952
|
}[];
|
|
5419
5953
|
sequentialInsertHintsNullifierTree: {
|
|
@@ -5434,6 +5968,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5434
5968
|
};
|
|
5435
5969
|
lowLeavesWitnessData: {
|
|
5436
5970
|
path: string[];
|
|
5971
|
+
index: string | number | bigint;
|
|
5437
5972
|
leaf: {
|
|
5438
5973
|
leaf: {
|
|
5439
5974
|
nullifier: string;
|
|
@@ -5448,10 +5983,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5448
5983
|
nextKey: string;
|
|
5449
5984
|
nextIndex: string | number | bigint;
|
|
5450
5985
|
};
|
|
5451
|
-
index: string | number | bigint;
|
|
5452
5986
|
};
|
|
5453
5987
|
insertionWitnessData: {
|
|
5454
5988
|
path: string[];
|
|
5989
|
+
index: string | number | bigint;
|
|
5455
5990
|
leaf: {
|
|
5456
5991
|
leaf: {
|
|
5457
5992
|
nullifier: string;
|
|
@@ -5466,7 +6001,6 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5466
6001
|
nextKey: string;
|
|
5467
6002
|
nextIndex: string | number | bigint;
|
|
5468
6003
|
};
|
|
5469
|
-
index: string | number | bigint;
|
|
5470
6004
|
};
|
|
5471
6005
|
}[];
|
|
5472
6006
|
appendLeavesHints: {
|
|
@@ -5532,6 +6066,21 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5532
6066
|
};
|
|
5533
6067
|
};
|
|
5534
6068
|
}[];
|
|
6069
|
+
contractDBCreateCheckpointHints: {
|
|
6070
|
+
actionCounter: number;
|
|
6071
|
+
oldCheckpointId: number;
|
|
6072
|
+
newCheckpointId: number;
|
|
6073
|
+
}[];
|
|
6074
|
+
contractDBCommitCheckpointHints: {
|
|
6075
|
+
actionCounter: number;
|
|
6076
|
+
oldCheckpointId: number;
|
|
6077
|
+
newCheckpointId: number;
|
|
6078
|
+
}[];
|
|
6079
|
+
contractDBRevertCheckpointHints: {
|
|
6080
|
+
actionCounter: number;
|
|
6081
|
+
oldCheckpointId: number;
|
|
6082
|
+
newCheckpointId: number;
|
|
6083
|
+
}[];
|
|
5535
6084
|
};
|
|
5536
6085
|
};
|
|
5537
6086
|
}>;
|