@aztec/stdlib 0.83.1 → 0.84.0-alpha-testnet.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/dest/abi/abi.d.ts +2 -2
  2. package/dest/abi/abi.d.ts.map +1 -1
  3. package/dest/abi/abi.js +1 -1
  4. package/dest/abi/contract_artifact.d.ts.map +1 -1
  5. package/dest/abi/contract_artifact.js +21 -9
  6. package/dest/avm/avm.d.ts +1203 -694
  7. package/dest/avm/avm.d.ts.map +1 -1
  8. package/dest/avm/avm.js +58 -6
  9. package/dest/avm/avm_circuit_public_inputs.d.ts +80 -80
  10. package/dest/avm/avm_proving_request.d.ts +672 -447
  11. package/dest/avm/avm_proving_request.d.ts.map +1 -1
  12. package/dest/config/config.d.ts +2 -1
  13. package/dest/config/config.d.ts.map +1 -1
  14. package/dest/contract/artifact_hash.d.ts +5 -5
  15. package/dest/contract/artifact_hash.d.ts.map +1 -1
  16. package/dest/contract/artifact_hash.js +8 -8
  17. package/dest/contract/index.d.ts +1 -1
  18. package/dest/contract/index.d.ts.map +1 -1
  19. package/dest/contract/index.js +1 -1
  20. package/dest/contract/interfaces/contract_class.d.ts +23 -19
  21. package/dest/contract/interfaces/contract_class.d.ts.map +1 -1
  22. package/dest/contract/interfaces/contract_class.js +4 -4
  23. package/dest/contract/interfaces/contract_instance.d.ts +2 -2
  24. package/dest/contract/private_function_membership_proof.d.ts +1 -1
  25. package/dest/contract/private_function_membership_proof.js +6 -6
  26. package/dest/contract/utility_function_membership_proof.d.ts +27 -0
  27. package/dest/contract/utility_function_membership_proof.d.ts.map +1 -0
  28. package/dest/contract/{unconstrained_function_membership_proof.js → utility_function_membership_proof.js} +13 -13
  29. package/dest/interfaces/allowed_element.d.ts +53 -0
  30. package/dest/interfaces/allowed_element.d.ts.map +1 -0
  31. package/dest/interfaces/allowed_element.js +18 -0
  32. package/dest/interfaces/configs.d.ts +17 -34
  33. package/dest/interfaces/configs.d.ts.map +1 -1
  34. package/dest/interfaces/configs.js +2 -17
  35. package/dest/interfaces/proving-job.d.ts +672 -447
  36. package/dest/interfaces/proving-job.d.ts.map +1 -1
  37. package/dest/interfaces/public_state_source.d.ts +8 -0
  38. package/dest/interfaces/public_state_source.d.ts.map +1 -0
  39. package/dest/interfaces/public_state_source.js +1 -0
  40. package/dest/interfaces/pxe.d.ts +7 -8
  41. package/dest/interfaces/pxe.d.ts.map +1 -1
  42. package/dest/interfaces/pxe.js +1 -1
  43. package/dest/interfaces/server.d.ts +1 -0
  44. package/dest/interfaces/server.d.ts.map +1 -1
  45. package/dest/interfaces/server.js +1 -0
  46. package/dest/logs/tx_scoped_l2_log.d.ts +1 -1
  47. package/dest/noir/index.d.ts +3 -1
  48. package/dest/noir/index.d.ts.map +1 -1
  49. package/dest/noir/index.js +1 -0
  50. package/dest/note/extended_note.d.ts +3 -3
  51. package/dest/proofs/proof.d.ts +0 -1
  52. package/dest/proofs/proof.d.ts.map +1 -1
  53. package/dest/proofs/proof.js +6 -11
  54. package/dest/tests/factories.d.ts +4 -3
  55. package/dest/tests/factories.d.ts.map +1 -1
  56. package/dest/tests/factories.js +15 -6
  57. package/dest/trees/database_public_state_source.d.ts +11 -0
  58. package/dest/trees/database_public_state_source.d.ts.map +1 -0
  59. package/dest/trees/database_public_state_source.js +18 -0
  60. package/dest/trees/index.d.ts +1 -0
  61. package/dest/trees/index.d.ts.map +1 -1
  62. package/dest/trees/index.js +1 -0
  63. package/dest/tx/call_context.d.ts +1 -1
  64. package/dest/tx/tree_snapshots.d.ts +6 -6
  65. package/package.json +6 -6
  66. package/src/abi/abi.ts +2 -2
  67. package/src/abi/contract_artifact.ts +22 -8
  68. package/src/avm/avm.ts +89 -5
  69. package/src/config/config.ts +2 -1
  70. package/src/contract/artifact_hash.ts +9 -9
  71. package/src/contract/index.ts +1 -1
  72. package/src/contract/interfaces/contract_class.ts +21 -17
  73. package/src/contract/private_function_membership_proof.ts +6 -6
  74. package/src/contract/{unconstrained_function_membership_proof.ts → utility_function_membership_proof.ts} +18 -18
  75. package/src/interfaces/allowed_element.ts +21 -0
  76. package/src/interfaces/configs.ts +3 -18
  77. package/src/interfaces/public_state_source.ts +9 -0
  78. package/src/interfaces/pxe.ts +8 -9
  79. package/src/interfaces/server.ts +1 -0
  80. package/src/noir/index.ts +2 -1
  81. package/src/proofs/proof.ts +6 -16
  82. package/src/tests/factories.ts +23 -6
  83. package/src/trees/database_public_state_source.ts +30 -0
  84. package/src/trees/index.ts +1 -0
  85. package/dest/contract/unconstrained_function_membership_proof.d.ts +0 -27
  86. package/dest/contract/unconstrained_function_membership_proof.d.ts.map +0 -1
package/dest/avm/avm.d.ts CHANGED
@@ -8,6 +8,7 @@ import { AppendOnlyTreeSnapshot } from '../trees/append_only_tree_snapshot.js';
8
8
  import { MerkleTreeId } from '../trees/merkle_tree_id.js';
9
9
  import { NullifierLeafPreimage } from '../trees/nullifier_leaf.js';
10
10
  import { PublicDataTreeLeafPreimage } from '../trees/public_data_leaf.js';
11
+ import type { Tx } from '../tx/index.js';
11
12
  import { AvmCircuitPublicInputs } from './avm_circuit_public_inputs.js';
12
13
  export declare class AvmContractClassHint {
13
14
  readonly classId: Fr;
@@ -112,36 +113,36 @@ export declare class AvmContractInstanceHint {
112
113
  }>;
113
114
  }, "strip", z.ZodTypeAny, {
114
115
  address: AztecAddress;
116
+ publicKeys: PublicKeys;
115
117
  salt: Fr;
116
118
  deployer: AztecAddress;
117
119
  currentContractClassId: Fr;
118
120
  originalContractClassId: Fr;
119
121
  initializationHash: Fr;
120
- publicKeys: PublicKeys;
121
122
  }, {
122
- salt: string;
123
- currentContractClassId: string;
124
- originalContractClassId: string;
125
- initializationHash: string;
126
123
  publicKeys: {
127
124
  masterNullifierPublicKey: string;
128
125
  masterIncomingViewingPublicKey: string;
129
126
  masterOutgoingViewingPublicKey: string;
130
127
  masterTaggingPublicKey: string;
131
128
  };
132
- address?: any;
133
- deployer?: any;
134
- }>, AvmContractInstanceHint, {
135
129
  salt: string;
136
130
  currentContractClassId: string;
137
131
  originalContractClassId: string;
138
132
  initializationHash: string;
133
+ address?: any;
134
+ deployer?: any;
135
+ }>, AvmContractInstanceHint, {
139
136
  publicKeys: {
140
137
  masterNullifierPublicKey: string;
141
138
  masterIncomingViewingPublicKey: string;
142
139
  masterOutgoingViewingPublicKey: string;
143
140
  masterTaggingPublicKey: string;
144
141
  };
142
+ salt: string;
143
+ currentContractClassId: string;
144
+ originalContractClassId: string;
145
+ initializationHash: string;
145
146
  address?: any;
146
147
  deployer?: any;
147
148
  }>;
@@ -220,27 +221,27 @@ export declare class AvmGetPreviousValueIndexHint {
220
221
  }, "strip", z.ZodTypeAny, {
221
222
  value: Fr;
222
223
  index: bigint;
224
+ alreadyPresent: boolean;
223
225
  hintKey: AppendOnlyTreeSnapshot;
224
226
  treeId: number;
225
- alreadyPresent: boolean;
226
227
  }, {
227
228
  value: string;
228
229
  index: string | number | bigint;
230
+ alreadyPresent: boolean;
229
231
  hintKey: {
230
232
  root: string;
231
233
  nextAvailableLeafIndex: string | number | bigint;
232
234
  };
233
235
  treeId: number;
234
- alreadyPresent: boolean;
235
236
  }>, AvmGetPreviousValueIndexHint, {
236
237
  value: string;
237
238
  index: string | number | bigint;
239
+ alreadyPresent: boolean;
238
240
  hintKey: {
239
241
  root: string;
240
242
  nextAvailableLeafIndex: string | number | bigint;
241
243
  };
242
244
  treeId: number;
243
- alreadyPresent: boolean;
244
245
  }>;
245
246
  }
246
247
  type IndexedTreeLeafPreimages = NullifierLeafPreimage | PublicDataTreeLeafPreimage;
@@ -330,14 +331,10 @@ declare const AvmGetLeafPreimageHintPublicDataTree_base: {
330
331
  }>;
331
332
  }, "strip", z.ZodTypeAny, {
332
333
  index: bigint;
333
- hintKey: AppendOnlyTreeSnapshot;
334
334
  leafPreimage: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
335
+ hintKey: AppendOnlyTreeSnapshot;
335
336
  }, {
336
337
  index: string | number | bigint;
337
- hintKey: {
338
- root: string;
339
- nextAvailableLeafIndex: string | number | bigint;
340
- };
341
338
  leafPreimage: {
342
339
  leaf: {
343
340
  nullifier: string;
@@ -352,16 +349,16 @@ declare const AvmGetLeafPreimageHintPublicDataTree_base: {
352
349
  nextKey: string;
353
350
  nextIndex: string | number | bigint;
354
351
  };
352
+ hintKey: {
353
+ root: string;
354
+ nextAvailableLeafIndex: string | number | bigint;
355
+ };
355
356
  }>, {
356
357
  readonly hintKey: AppendOnlyTreeSnapshot;
357
358
  readonly index: bigint;
358
359
  readonly leafPreimage: IndexedTreeLeafPreimages;
359
360
  }, {
360
361
  index: string | number | bigint;
361
- hintKey: {
362
- root: string;
363
- nextAvailableLeafIndex: string | number | bigint;
364
- };
365
362
  leafPreimage: {
366
363
  leaf: {
367
364
  nullifier: string;
@@ -376,6 +373,10 @@ declare const AvmGetLeafPreimageHintPublicDataTree_base: {
376
373
  nextKey: string;
377
374
  nextIndex: string | number | bigint;
378
375
  };
376
+ hintKey: {
377
+ root: string;
378
+ nextAvailableLeafIndex: string | number | bigint;
379
+ };
379
380
  }>;
380
381
  };
381
382
  export declare class AvmGetLeafPreimageHintPublicDataTree extends AvmGetLeafPreimageHintPublicDataTree_base {
@@ -466,14 +467,10 @@ declare const AvmGetLeafPreimageHintNullifierTree_base: {
466
467
  }>;
467
468
  }, "strip", z.ZodTypeAny, {
468
469
  index: bigint;
469
- hintKey: AppendOnlyTreeSnapshot;
470
470
  leafPreimage: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
471
+ hintKey: AppendOnlyTreeSnapshot;
471
472
  }, {
472
473
  index: string | number | bigint;
473
- hintKey: {
474
- root: string;
475
- nextAvailableLeafIndex: string | number | bigint;
476
- };
477
474
  leafPreimage: {
478
475
  leaf: {
479
476
  nullifier: string;
@@ -488,16 +485,16 @@ declare const AvmGetLeafPreimageHintNullifierTree_base: {
488
485
  nextKey: string;
489
486
  nextIndex: string | number | bigint;
490
487
  };
488
+ hintKey: {
489
+ root: string;
490
+ nextAvailableLeafIndex: string | number | bigint;
491
+ };
491
492
  }>, {
492
493
  readonly hintKey: AppendOnlyTreeSnapshot;
493
494
  readonly index: bigint;
494
495
  readonly leafPreimage: IndexedTreeLeafPreimages;
495
496
  }, {
496
497
  index: string | number | bigint;
497
- hintKey: {
498
- root: string;
499
- nextAvailableLeafIndex: string | number | bigint;
500
- };
501
498
  leafPreimage: {
502
499
  leaf: {
503
500
  nullifier: string;
@@ -512,6 +509,10 @@ declare const AvmGetLeafPreimageHintNullifierTree_base: {
512
509
  nextKey: string;
513
510
  nextIndex: string | number | bigint;
514
511
  };
512
+ hintKey: {
513
+ root: string;
514
+ nextAvailableLeafIndex: string | number | bigint;
515
+ };
515
516
  }>;
516
517
  };
517
518
  export declare class AvmGetLeafPreimageHintNullifierTree extends AvmGetLeafPreimageHintNullifierTree_base {
@@ -1366,22 +1367,49 @@ export declare class AvmEnqueuedCallHint {
1366
1367
  msgSender?: any;
1367
1368
  }>;
1368
1369
  }
1369
- export declare class AvmExecutionHints {
1370
- readonly enqueuedCalls: AvmEnqueuedCallHint[];
1371
- readonly contractInstances: AvmContractInstanceHint[];
1372
- readonly contractClasses: AvmContractClassHint[];
1373
- readonly bytecodeCommitments: AvmBytecodeCommitmentHint[];
1374
- readonly getSiblingPathHints: AvmGetSiblingPathHint[];
1375
- readonly getPreviousValueIndexHints: AvmGetPreviousValueIndexHint[];
1376
- readonly getLeafPreimageHintsPublicDataTree: AvmGetLeafPreimageHintPublicDataTree[];
1377
- readonly getLeafPreimageHintsNullifierTree: AvmGetLeafPreimageHintNullifierTree[];
1378
- readonly getLeafValueHints: AvmGetLeafValueHint[];
1379
- readonly sequentialInsertHintsPublicDataTree: AvmSequentialInsertHintPublicDataTree[];
1380
- readonly sequentialInsertHintsNullifierTree: AvmSequentialInsertHintNullifierTree[];
1381
- constructor(enqueuedCalls?: AvmEnqueuedCallHint[], contractInstances?: AvmContractInstanceHint[], contractClasses?: AvmContractClassHint[], bytecodeCommitments?: AvmBytecodeCommitmentHint[], getSiblingPathHints?: AvmGetSiblingPathHint[], getPreviousValueIndexHints?: AvmGetPreviousValueIndexHint[], getLeafPreimageHintsPublicDataTree?: AvmGetLeafPreimageHintPublicDataTree[], getLeafPreimageHintsNullifierTree?: AvmGetLeafPreimageHintNullifierTree[], getLeafValueHints?: AvmGetLeafValueHint[], sequentialInsertHintsPublicDataTree?: AvmSequentialInsertHintPublicDataTree[], sequentialInsertHintsNullifierTree?: AvmSequentialInsertHintNullifierTree[]);
1382
- static empty(): AvmExecutionHints;
1383
- static get schema(): z.ZodEffects<z.ZodObject<{
1384
- enqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
1370
+ export declare class AvmTxHint {
1371
+ readonly nonRevertibleAccumulatedData: {
1372
+ noteHashes: Fr[];
1373
+ nullifiers: Fr[];
1374
+ };
1375
+ readonly revertibleAccumulatedData: {
1376
+ noteHashes: Fr[];
1377
+ nullifiers: Fr[];
1378
+ };
1379
+ readonly setupEnqueuedCalls: AvmEnqueuedCallHint[];
1380
+ readonly appLogicEnqueuedCalls: AvmEnqueuedCallHint[];
1381
+ readonly teardownEnqueuedCall: AvmEnqueuedCallHint | null;
1382
+ constructor(nonRevertibleAccumulatedData: {
1383
+ noteHashes: Fr[];
1384
+ nullifiers: Fr[];
1385
+ }, revertibleAccumulatedData: {
1386
+ noteHashes: Fr[];
1387
+ nullifiers: Fr[];
1388
+ }, setupEnqueuedCalls: AvmEnqueuedCallHint[], appLogicEnqueuedCalls: AvmEnqueuedCallHint[], teardownEnqueuedCall: AvmEnqueuedCallHint | null);
1389
+ static fromTx(tx: Tx): AvmTxHint;
1390
+ static empty(): AvmTxHint;
1391
+ static get schema(): z.ZodObject<{
1392
+ nonRevertibleAccumulatedData: z.ZodObject<{
1393
+ noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1394
+ nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1395
+ }, "strip", z.ZodTypeAny, {
1396
+ noteHashes: Fr[];
1397
+ nullifiers: Fr[];
1398
+ }, {
1399
+ noteHashes: string[];
1400
+ nullifiers: string[];
1401
+ }>;
1402
+ revertibleAccumulatedData: z.ZodObject<{
1403
+ noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1404
+ nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1405
+ }, "strip", z.ZodTypeAny, {
1406
+ noteHashes: Fr[];
1407
+ nullifiers: Fr[];
1408
+ }, {
1409
+ noteHashes: string[];
1410
+ nullifiers: string[];
1411
+ }>;
1412
+ setupEnqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
1385
1413
  msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
1386
1414
  contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
1387
1415
  calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
@@ -1402,163 +1430,385 @@ export declare class AvmExecutionHints {
1402
1430
  contractAddress?: any;
1403
1431
  msgSender?: any;
1404
1432
  }>, "many">;
1405
- contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
1406
- address: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
1407
- salt: z.ZodType<Fr, any, string>;
1408
- deployer: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
1409
- currentContractClassId: z.ZodType<Fr, any, string>;
1410
- originalContractClassId: z.ZodType<Fr, any, string>;
1411
- initializationHash: z.ZodType<Fr, any, string>;
1412
- publicKeys: z.ZodEffects<z.ZodObject<{
1413
- masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1414
- masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1415
- masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1416
- masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1417
- }, "strip", z.ZodTypeAny, {
1418
- masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
1419
- masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
1420
- masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
1421
- masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
1422
- }, {
1423
- masterNullifierPublicKey: string;
1424
- masterIncomingViewingPublicKey: string;
1425
- masterOutgoingViewingPublicKey: string;
1426
- masterTaggingPublicKey: string;
1427
- }>, PublicKeys, {
1428
- masterNullifierPublicKey: string;
1429
- masterIncomingViewingPublicKey: string;
1430
- masterOutgoingViewingPublicKey: string;
1431
- masterTaggingPublicKey: string;
1432
- }>;
1433
- }, "strip", z.ZodTypeAny, {
1434
- address: AztecAddress;
1435
- salt: Fr;
1436
- deployer: AztecAddress;
1437
- currentContractClassId: Fr;
1438
- originalContractClassId: Fr;
1439
- initializationHash: Fr;
1440
- publicKeys: PublicKeys;
1441
- }, {
1442
- salt: string;
1443
- currentContractClassId: string;
1444
- originalContractClassId: string;
1445
- initializationHash: string;
1446
- publicKeys: {
1447
- masterNullifierPublicKey: string;
1448
- masterIncomingViewingPublicKey: string;
1449
- masterOutgoingViewingPublicKey: string;
1450
- masterTaggingPublicKey: string;
1451
- };
1452
- address?: any;
1453
- deployer?: any;
1454
- }>, AvmContractInstanceHint, {
1455
- salt: string;
1456
- currentContractClassId: string;
1457
- originalContractClassId: string;
1458
- initializationHash: string;
1459
- publicKeys: {
1460
- masterNullifierPublicKey: string;
1461
- masterIncomingViewingPublicKey: string;
1462
- masterOutgoingViewingPublicKey: string;
1463
- masterTaggingPublicKey: string;
1464
- };
1465
- address?: any;
1466
- deployer?: any;
1467
- }>, "many">;
1468
- contractClasses: z.ZodArray<z.ZodEffects<z.ZodObject<{
1469
- classId: z.ZodType<Fr, any, string>;
1470
- artifactHash: z.ZodType<Fr, any, string>;
1471
- privateFunctionsRoot: z.ZodType<Fr, any, string>;
1472
- packedBytecode: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Buffer, string>, z.ZodEffects<z.ZodObject<{
1473
- type: z.ZodLiteral<"Buffer">;
1474
- data: z.ZodArray<z.ZodNumber, "many">;
1475
- }, "strip", z.ZodTypeAny, {
1476
- type: "Buffer";
1477
- data: number[];
1478
- }, {
1479
- type: "Buffer";
1480
- data: number[];
1481
- }>, Buffer, {
1482
- type: "Buffer";
1483
- data: number[];
1484
- }>]>;
1485
- }, "strip", z.ZodTypeAny, {
1486
- classId: Fr;
1487
- artifactHash: Fr;
1488
- privateFunctionsRoot: Fr;
1489
- packedBytecode: Buffer;
1490
- }, {
1491
- classId: string;
1492
- artifactHash: string;
1493
- privateFunctionsRoot: string;
1494
- packedBytecode: string | {
1495
- type: "Buffer";
1496
- data: number[];
1497
- };
1498
- }>, AvmContractClassHint, {
1499
- classId: string;
1500
- artifactHash: string;
1501
- privateFunctionsRoot: string;
1502
- packedBytecode: string | {
1503
- type: "Buffer";
1504
- data: number[];
1505
- };
1506
- }>, "many">;
1507
- bytecodeCommitments: z.ZodArray<z.ZodEffects<z.ZodObject<{
1508
- classId: z.ZodType<Fr, any, string>;
1509
- commitment: z.ZodType<Fr, any, string>;
1433
+ appLogicEnqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
1434
+ msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
1435
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
1436
+ calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1437
+ isStaticCall: z.ZodBoolean;
1510
1438
  }, "strip", z.ZodTypeAny, {
1511
- classId: Fr;
1512
- commitment: Fr;
1439
+ contractAddress: AztecAddress;
1440
+ msgSender: AztecAddress;
1441
+ isStaticCall: boolean;
1442
+ calldata: Fr[];
1513
1443
  }, {
1514
- classId: string;
1515
- commitment: string;
1516
- }>, AvmBytecodeCommitmentHint, {
1517
- classId: string;
1518
- commitment: string;
1444
+ isStaticCall: boolean;
1445
+ calldata: string[];
1446
+ contractAddress?: any;
1447
+ msgSender?: any;
1448
+ }>, AvmEnqueuedCallHint, {
1449
+ isStaticCall: boolean;
1450
+ calldata: string[];
1451
+ contractAddress?: any;
1452
+ msgSender?: any;
1519
1453
  }>, "many">;
1520
- getSiblingPathHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
1521
- hintKey: z.ZodEffects<z.ZodObject<{
1522
- root: z.ZodType<Fr, any, string>;
1523
- nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1524
- }, "strip", z.ZodTypeAny, {
1525
- root: Fr;
1526
- nextAvailableLeafIndex: number;
1527
- }, {
1528
- root: string;
1529
- nextAvailableLeafIndex: string | number | bigint;
1530
- }>, AppendOnlyTreeSnapshot, {
1531
- root: string;
1532
- nextAvailableLeafIndex: string | number | bigint;
1533
- }>;
1534
- treeId: z.ZodNumber;
1535
- index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1536
- path: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1454
+ teardownEnqueuedCall: z.ZodNullable<z.ZodEffects<z.ZodObject<{
1455
+ msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
1456
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
1457
+ calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1458
+ isStaticCall: z.ZodBoolean;
1537
1459
  }, "strip", z.ZodTypeAny, {
1538
- path: Fr[];
1539
- index: bigint;
1540
- hintKey: AppendOnlyTreeSnapshot;
1541
- treeId: number;
1460
+ contractAddress: AztecAddress;
1461
+ msgSender: AztecAddress;
1462
+ isStaticCall: boolean;
1463
+ calldata: Fr[];
1542
1464
  }, {
1543
- path: string[];
1544
- index: string | number | bigint;
1545
- hintKey: {
1546
- root: string;
1547
- nextAvailableLeafIndex: string | number | bigint;
1548
- };
1549
- treeId: number;
1550
- }>, AvmGetSiblingPathHint, {
1551
- path: string[];
1552
- index: string | number | bigint;
1553
- hintKey: {
1554
- root: string;
1555
- nextAvailableLeafIndex: string | number | bigint;
1556
- };
1557
- treeId: number;
1558
- }>, "many">;
1559
- getPreviousValueIndexHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
1560
- hintKey: z.ZodEffects<z.ZodObject<{
1561
- root: z.ZodType<Fr, any, string>;
1465
+ isStaticCall: boolean;
1466
+ calldata: string[];
1467
+ contractAddress?: any;
1468
+ msgSender?: any;
1469
+ }>, AvmEnqueuedCallHint, {
1470
+ isStaticCall: boolean;
1471
+ calldata: string[];
1472
+ contractAddress?: any;
1473
+ msgSender?: any;
1474
+ }>>;
1475
+ }, "strip", z.ZodTypeAny, {
1476
+ nonRevertibleAccumulatedData: {
1477
+ noteHashes: Fr[];
1478
+ nullifiers: Fr[];
1479
+ };
1480
+ revertibleAccumulatedData: {
1481
+ noteHashes: Fr[];
1482
+ nullifiers: Fr[];
1483
+ };
1484
+ setupEnqueuedCalls: AvmEnqueuedCallHint[];
1485
+ appLogicEnqueuedCalls: AvmEnqueuedCallHint[];
1486
+ teardownEnqueuedCall: AvmEnqueuedCallHint | null;
1487
+ }, {
1488
+ nonRevertibleAccumulatedData: {
1489
+ noteHashes: string[];
1490
+ nullifiers: string[];
1491
+ };
1492
+ revertibleAccumulatedData: {
1493
+ noteHashes: string[];
1494
+ nullifiers: string[];
1495
+ };
1496
+ setupEnqueuedCalls: {
1497
+ isStaticCall: boolean;
1498
+ calldata: string[];
1499
+ contractAddress?: any;
1500
+ msgSender?: any;
1501
+ }[];
1502
+ appLogicEnqueuedCalls: {
1503
+ isStaticCall: boolean;
1504
+ calldata: string[];
1505
+ contractAddress?: any;
1506
+ msgSender?: any;
1507
+ }[];
1508
+ teardownEnqueuedCall: {
1509
+ isStaticCall: boolean;
1510
+ calldata: string[];
1511
+ contractAddress?: any;
1512
+ msgSender?: any;
1513
+ } | null;
1514
+ }>;
1515
+ }
1516
+ export declare class AvmExecutionHints {
1517
+ tx: AvmTxHint;
1518
+ readonly contractInstances: AvmContractInstanceHint[];
1519
+ readonly contractClasses: AvmContractClassHint[];
1520
+ readonly bytecodeCommitments: AvmBytecodeCommitmentHint[];
1521
+ readonly getSiblingPathHints: AvmGetSiblingPathHint[];
1522
+ readonly getPreviousValueIndexHints: AvmGetPreviousValueIndexHint[];
1523
+ readonly getLeafPreimageHintsPublicDataTree: AvmGetLeafPreimageHintPublicDataTree[];
1524
+ readonly getLeafPreimageHintsNullifierTree: AvmGetLeafPreimageHintNullifierTree[];
1525
+ readonly getLeafValueHints: AvmGetLeafValueHint[];
1526
+ readonly sequentialInsertHintsPublicDataTree: AvmSequentialInsertHintPublicDataTree[];
1527
+ readonly sequentialInsertHintsNullifierTree: AvmSequentialInsertHintNullifierTree[];
1528
+ constructor(tx: AvmTxHint, contractInstances?: AvmContractInstanceHint[], contractClasses?: AvmContractClassHint[], bytecodeCommitments?: AvmBytecodeCommitmentHint[], getSiblingPathHints?: AvmGetSiblingPathHint[], getPreviousValueIndexHints?: AvmGetPreviousValueIndexHint[], getLeafPreimageHintsPublicDataTree?: AvmGetLeafPreimageHintPublicDataTree[], getLeafPreimageHintsNullifierTree?: AvmGetLeafPreimageHintNullifierTree[], getLeafValueHints?: AvmGetLeafValueHint[], sequentialInsertHintsPublicDataTree?: AvmSequentialInsertHintPublicDataTree[], sequentialInsertHintsNullifierTree?: AvmSequentialInsertHintNullifierTree[]);
1529
+ static empty(): AvmExecutionHints;
1530
+ static get schema(): z.ZodEffects<z.ZodObject<{
1531
+ tx: z.ZodObject<{
1532
+ nonRevertibleAccumulatedData: z.ZodObject<{
1533
+ noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1534
+ nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1535
+ }, "strip", z.ZodTypeAny, {
1536
+ noteHashes: Fr[];
1537
+ nullifiers: Fr[];
1538
+ }, {
1539
+ noteHashes: string[];
1540
+ nullifiers: string[];
1541
+ }>;
1542
+ revertibleAccumulatedData: z.ZodObject<{
1543
+ noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1544
+ nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1545
+ }, "strip", z.ZodTypeAny, {
1546
+ noteHashes: Fr[];
1547
+ nullifiers: Fr[];
1548
+ }, {
1549
+ noteHashes: string[];
1550
+ nullifiers: string[];
1551
+ }>;
1552
+ setupEnqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
1553
+ msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
1554
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
1555
+ calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1556
+ isStaticCall: z.ZodBoolean;
1557
+ }, "strip", z.ZodTypeAny, {
1558
+ contractAddress: AztecAddress;
1559
+ msgSender: AztecAddress;
1560
+ isStaticCall: boolean;
1561
+ calldata: Fr[];
1562
+ }, {
1563
+ isStaticCall: boolean;
1564
+ calldata: string[];
1565
+ contractAddress?: any;
1566
+ msgSender?: any;
1567
+ }>, AvmEnqueuedCallHint, {
1568
+ isStaticCall: boolean;
1569
+ calldata: string[];
1570
+ contractAddress?: any;
1571
+ msgSender?: any;
1572
+ }>, "many">;
1573
+ appLogicEnqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
1574
+ msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
1575
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
1576
+ calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1577
+ isStaticCall: z.ZodBoolean;
1578
+ }, "strip", z.ZodTypeAny, {
1579
+ contractAddress: AztecAddress;
1580
+ msgSender: AztecAddress;
1581
+ isStaticCall: boolean;
1582
+ calldata: Fr[];
1583
+ }, {
1584
+ isStaticCall: boolean;
1585
+ calldata: string[];
1586
+ contractAddress?: any;
1587
+ msgSender?: any;
1588
+ }>, AvmEnqueuedCallHint, {
1589
+ isStaticCall: boolean;
1590
+ calldata: string[];
1591
+ contractAddress?: any;
1592
+ msgSender?: any;
1593
+ }>, "many">;
1594
+ teardownEnqueuedCall: z.ZodNullable<z.ZodEffects<z.ZodObject<{
1595
+ msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
1596
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
1597
+ calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1598
+ isStaticCall: z.ZodBoolean;
1599
+ }, "strip", z.ZodTypeAny, {
1600
+ contractAddress: AztecAddress;
1601
+ msgSender: AztecAddress;
1602
+ isStaticCall: boolean;
1603
+ calldata: Fr[];
1604
+ }, {
1605
+ isStaticCall: boolean;
1606
+ calldata: string[];
1607
+ contractAddress?: any;
1608
+ msgSender?: any;
1609
+ }>, AvmEnqueuedCallHint, {
1610
+ isStaticCall: boolean;
1611
+ calldata: string[];
1612
+ contractAddress?: any;
1613
+ msgSender?: any;
1614
+ }>>;
1615
+ }, "strip", z.ZodTypeAny, {
1616
+ nonRevertibleAccumulatedData: {
1617
+ noteHashes: Fr[];
1618
+ nullifiers: Fr[];
1619
+ };
1620
+ revertibleAccumulatedData: {
1621
+ noteHashes: Fr[];
1622
+ nullifiers: Fr[];
1623
+ };
1624
+ setupEnqueuedCalls: AvmEnqueuedCallHint[];
1625
+ appLogicEnqueuedCalls: AvmEnqueuedCallHint[];
1626
+ teardownEnqueuedCall: AvmEnqueuedCallHint | null;
1627
+ }, {
1628
+ nonRevertibleAccumulatedData: {
1629
+ noteHashes: string[];
1630
+ nullifiers: string[];
1631
+ };
1632
+ revertibleAccumulatedData: {
1633
+ noteHashes: string[];
1634
+ nullifiers: string[];
1635
+ };
1636
+ setupEnqueuedCalls: {
1637
+ isStaticCall: boolean;
1638
+ calldata: string[];
1639
+ contractAddress?: any;
1640
+ msgSender?: any;
1641
+ }[];
1642
+ appLogicEnqueuedCalls: {
1643
+ isStaticCall: boolean;
1644
+ calldata: string[];
1645
+ contractAddress?: any;
1646
+ msgSender?: any;
1647
+ }[];
1648
+ teardownEnqueuedCall: {
1649
+ isStaticCall: boolean;
1650
+ calldata: string[];
1651
+ contractAddress?: any;
1652
+ msgSender?: any;
1653
+ } | null;
1654
+ }>;
1655
+ contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
1656
+ address: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
1657
+ salt: z.ZodType<Fr, any, string>;
1658
+ deployer: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
1659
+ currentContractClassId: z.ZodType<Fr, any, string>;
1660
+ originalContractClassId: z.ZodType<Fr, any, string>;
1661
+ initializationHash: z.ZodType<Fr, any, string>;
1662
+ publicKeys: z.ZodEffects<z.ZodObject<{
1663
+ masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1664
+ masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1665
+ masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1666
+ masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
1667
+ }, "strip", z.ZodTypeAny, {
1668
+ masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
1669
+ masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
1670
+ masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
1671
+ masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
1672
+ }, {
1673
+ masterNullifierPublicKey: string;
1674
+ masterIncomingViewingPublicKey: string;
1675
+ masterOutgoingViewingPublicKey: string;
1676
+ masterTaggingPublicKey: string;
1677
+ }>, PublicKeys, {
1678
+ masterNullifierPublicKey: string;
1679
+ masterIncomingViewingPublicKey: string;
1680
+ masterOutgoingViewingPublicKey: string;
1681
+ masterTaggingPublicKey: string;
1682
+ }>;
1683
+ }, "strip", z.ZodTypeAny, {
1684
+ address: AztecAddress;
1685
+ publicKeys: PublicKeys;
1686
+ salt: Fr;
1687
+ deployer: AztecAddress;
1688
+ currentContractClassId: Fr;
1689
+ originalContractClassId: Fr;
1690
+ initializationHash: Fr;
1691
+ }, {
1692
+ publicKeys: {
1693
+ masterNullifierPublicKey: string;
1694
+ masterIncomingViewingPublicKey: string;
1695
+ masterOutgoingViewingPublicKey: string;
1696
+ masterTaggingPublicKey: string;
1697
+ };
1698
+ salt: string;
1699
+ currentContractClassId: string;
1700
+ originalContractClassId: string;
1701
+ initializationHash: string;
1702
+ address?: any;
1703
+ deployer?: any;
1704
+ }>, AvmContractInstanceHint, {
1705
+ publicKeys: {
1706
+ masterNullifierPublicKey: string;
1707
+ masterIncomingViewingPublicKey: string;
1708
+ masterOutgoingViewingPublicKey: string;
1709
+ masterTaggingPublicKey: string;
1710
+ };
1711
+ salt: string;
1712
+ currentContractClassId: string;
1713
+ originalContractClassId: string;
1714
+ initializationHash: string;
1715
+ address?: any;
1716
+ deployer?: any;
1717
+ }>, "many">;
1718
+ contractClasses: z.ZodArray<z.ZodEffects<z.ZodObject<{
1719
+ classId: z.ZodType<Fr, any, string>;
1720
+ artifactHash: z.ZodType<Fr, any, string>;
1721
+ privateFunctionsRoot: z.ZodType<Fr, any, string>;
1722
+ packedBytecode: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Buffer, string>, z.ZodEffects<z.ZodObject<{
1723
+ type: z.ZodLiteral<"Buffer">;
1724
+ data: z.ZodArray<z.ZodNumber, "many">;
1725
+ }, "strip", z.ZodTypeAny, {
1726
+ type: "Buffer";
1727
+ data: number[];
1728
+ }, {
1729
+ type: "Buffer";
1730
+ data: number[];
1731
+ }>, Buffer, {
1732
+ type: "Buffer";
1733
+ data: number[];
1734
+ }>]>;
1735
+ }, "strip", z.ZodTypeAny, {
1736
+ classId: Fr;
1737
+ artifactHash: Fr;
1738
+ privateFunctionsRoot: Fr;
1739
+ packedBytecode: Buffer;
1740
+ }, {
1741
+ classId: string;
1742
+ artifactHash: string;
1743
+ privateFunctionsRoot: string;
1744
+ packedBytecode: string | {
1745
+ type: "Buffer";
1746
+ data: number[];
1747
+ };
1748
+ }>, AvmContractClassHint, {
1749
+ classId: string;
1750
+ artifactHash: string;
1751
+ privateFunctionsRoot: string;
1752
+ packedBytecode: string | {
1753
+ type: "Buffer";
1754
+ data: number[];
1755
+ };
1756
+ }>, "many">;
1757
+ bytecodeCommitments: z.ZodArray<z.ZodEffects<z.ZodObject<{
1758
+ classId: z.ZodType<Fr, any, string>;
1759
+ commitment: z.ZodType<Fr, any, string>;
1760
+ }, "strip", z.ZodTypeAny, {
1761
+ classId: Fr;
1762
+ commitment: Fr;
1763
+ }, {
1764
+ classId: string;
1765
+ commitment: string;
1766
+ }>, AvmBytecodeCommitmentHint, {
1767
+ classId: string;
1768
+ commitment: string;
1769
+ }>, "many">;
1770
+ getSiblingPathHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
1771
+ hintKey: z.ZodEffects<z.ZodObject<{
1772
+ root: z.ZodType<Fr, any, string>;
1773
+ nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1774
+ }, "strip", z.ZodTypeAny, {
1775
+ root: Fr;
1776
+ nextAvailableLeafIndex: number;
1777
+ }, {
1778
+ root: string;
1779
+ nextAvailableLeafIndex: string | number | bigint;
1780
+ }>, AppendOnlyTreeSnapshot, {
1781
+ root: string;
1782
+ nextAvailableLeafIndex: string | number | bigint;
1783
+ }>;
1784
+ treeId: z.ZodNumber;
1785
+ index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1786
+ path: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1787
+ }, "strip", z.ZodTypeAny, {
1788
+ path: Fr[];
1789
+ index: bigint;
1790
+ hintKey: AppendOnlyTreeSnapshot;
1791
+ treeId: number;
1792
+ }, {
1793
+ path: string[];
1794
+ index: string | number | bigint;
1795
+ hintKey: {
1796
+ root: string;
1797
+ nextAvailableLeafIndex: string | number | bigint;
1798
+ };
1799
+ treeId: number;
1800
+ }>, AvmGetSiblingPathHint, {
1801
+ path: string[];
1802
+ index: string | number | bigint;
1803
+ hintKey: {
1804
+ root: string;
1805
+ nextAvailableLeafIndex: string | number | bigint;
1806
+ };
1807
+ treeId: number;
1808
+ }>, "many">;
1809
+ getPreviousValueIndexHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
1810
+ hintKey: z.ZodEffects<z.ZodObject<{
1811
+ root: z.ZodType<Fr, any, string>;
1562
1812
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1563
1813
  }, "strip", z.ZodTypeAny, {
1564
1814
  root: Fr;
@@ -1577,27 +1827,27 @@ export declare class AvmExecutionHints {
1577
1827
  }, "strip", z.ZodTypeAny, {
1578
1828
  value: Fr;
1579
1829
  index: bigint;
1830
+ alreadyPresent: boolean;
1580
1831
  hintKey: AppendOnlyTreeSnapshot;
1581
1832
  treeId: number;
1582
- alreadyPresent: boolean;
1583
1833
  }, {
1584
1834
  value: string;
1585
1835
  index: string | number | bigint;
1836
+ alreadyPresent: boolean;
1586
1837
  hintKey: {
1587
1838
  root: string;
1588
1839
  nextAvailableLeafIndex: string | number | bigint;
1589
1840
  };
1590
1841
  treeId: number;
1591
- alreadyPresent: boolean;
1592
1842
  }>, AvmGetPreviousValueIndexHint, {
1593
1843
  value: string;
1594
1844
  index: string | number | bigint;
1845
+ alreadyPresent: boolean;
1595
1846
  hintKey: {
1596
1847
  root: string;
1597
1848
  nextAvailableLeafIndex: string | number | bigint;
1598
1849
  };
1599
1850
  treeId: number;
1600
- alreadyPresent: boolean;
1601
1851
  }>, "many">;
1602
1852
  getLeafPreimageHintsPublicDataTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
1603
1853
  hintKey: z.ZodEffects<z.ZodObject<{
@@ -1679,14 +1929,10 @@ export declare class AvmExecutionHints {
1679
1929
  }>;
1680
1930
  }, "strip", z.ZodTypeAny, {
1681
1931
  index: bigint;
1682
- hintKey: AppendOnlyTreeSnapshot;
1683
1932
  leafPreimage: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
1933
+ hintKey: AppendOnlyTreeSnapshot;
1684
1934
  }, {
1685
1935
  index: string | number | bigint;
1686
- hintKey: {
1687
- root: string;
1688
- nextAvailableLeafIndex: string | number | bigint;
1689
- };
1690
1936
  leafPreimage: {
1691
1937
  leaf: {
1692
1938
  nullifier: string;
@@ -1701,16 +1947,16 @@ export declare class AvmExecutionHints {
1701
1947
  nextKey: string;
1702
1948
  nextIndex: string | number | bigint;
1703
1949
  };
1950
+ hintKey: {
1951
+ root: string;
1952
+ nextAvailableLeafIndex: string | number | bigint;
1953
+ };
1704
1954
  }>, {
1705
1955
  readonly hintKey: AppendOnlyTreeSnapshot;
1706
1956
  readonly index: bigint;
1707
1957
  readonly leafPreimage: IndexedTreeLeafPreimages;
1708
1958
  }, {
1709
1959
  index: string | number | bigint;
1710
- hintKey: {
1711
- root: string;
1712
- nextAvailableLeafIndex: string | number | bigint;
1713
- };
1714
1960
  leafPreimage: {
1715
1961
  leaf: {
1716
1962
  nullifier: string;
@@ -1725,6 +1971,10 @@ export declare class AvmExecutionHints {
1725
1971
  nextKey: string;
1726
1972
  nextIndex: string | number | bigint;
1727
1973
  };
1974
+ hintKey: {
1975
+ root: string;
1976
+ nextAvailableLeafIndex: string | number | bigint;
1977
+ };
1728
1978
  }>, "many">;
1729
1979
  getLeafPreimageHintsNullifierTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
1730
1980
  hintKey: z.ZodEffects<z.ZodObject<{
@@ -1806,14 +2056,10 @@ export declare class AvmExecutionHints {
1806
2056
  }>;
1807
2057
  }, "strip", z.ZodTypeAny, {
1808
2058
  index: bigint;
1809
- hintKey: AppendOnlyTreeSnapshot;
1810
2059
  leafPreimage: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
2060
+ hintKey: AppendOnlyTreeSnapshot;
1811
2061
  }, {
1812
2062
  index: string | number | bigint;
1813
- hintKey: {
1814
- root: string;
1815
- nextAvailableLeafIndex: string | number | bigint;
1816
- };
1817
2063
  leafPreimage: {
1818
2064
  leaf: {
1819
2065
  nullifier: string;
@@ -1828,16 +2074,16 @@ export declare class AvmExecutionHints {
1828
2074
  nextKey: string;
1829
2075
  nextIndex: string | number | bigint;
1830
2076
  };
2077
+ hintKey: {
2078
+ root: string;
2079
+ nextAvailableLeafIndex: string | number | bigint;
2080
+ };
1831
2081
  }>, {
1832
2082
  readonly hintKey: AppendOnlyTreeSnapshot;
1833
2083
  readonly index: bigint;
1834
2084
  readonly leafPreimage: IndexedTreeLeafPreimages;
1835
2085
  }, {
1836
2086
  index: string | number | bigint;
1837
- hintKey: {
1838
- root: string;
1839
- nextAvailableLeafIndex: string | number | bigint;
1840
- };
1841
2087
  leafPreimage: {
1842
2088
  leaf: {
1843
2089
  nullifier: string;
@@ -1852,6 +2098,10 @@ export declare class AvmExecutionHints {
1852
2098
  nextKey: string;
1853
2099
  nextIndex: string | number | bigint;
1854
2100
  };
2101
+ hintKey: {
2102
+ root: string;
2103
+ nextAvailableLeafIndex: string | number | bigint;
2104
+ };
1855
2105
  }>, "many">;
1856
2106
  getLeafValueHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
1857
2107
  hintKey: z.ZodEffects<z.ZodObject<{
@@ -2613,7 +2863,19 @@ export declare class AvmExecutionHints {
2613
2863
  };
2614
2864
  }>, "many">;
2615
2865
  }, "strip", z.ZodTypeAny, {
2616
- enqueuedCalls: AvmEnqueuedCallHint[];
2866
+ tx: {
2867
+ nonRevertibleAccumulatedData: {
2868
+ noteHashes: Fr[];
2869
+ nullifiers: Fr[];
2870
+ };
2871
+ revertibleAccumulatedData: {
2872
+ noteHashes: Fr[];
2873
+ nullifiers: Fr[];
2874
+ };
2875
+ setupEnqueuedCalls: AvmEnqueuedCallHint[];
2876
+ appLogicEnqueuedCalls: AvmEnqueuedCallHint[];
2877
+ teardownEnqueuedCall: AvmEnqueuedCallHint | null;
2878
+ };
2617
2879
  contractInstances: AvmContractInstanceHint[];
2618
2880
  contractClasses: AvmContractClassHint[];
2619
2881
  bytecodeCommitments: AvmBytecodeCommitmentHint[];
@@ -2663,23 +2925,45 @@ export declare class AvmExecutionHints {
2663
2925
  };
2664
2926
  }[];
2665
2927
  }, {
2666
- enqueuedCalls: {
2667
- isStaticCall: boolean;
2668
- calldata: string[];
2669
- contractAddress?: any;
2670
- msgSender?: any;
2671
- }[];
2928
+ tx: {
2929
+ nonRevertibleAccumulatedData: {
2930
+ noteHashes: string[];
2931
+ nullifiers: string[];
2932
+ };
2933
+ revertibleAccumulatedData: {
2934
+ noteHashes: string[];
2935
+ nullifiers: string[];
2936
+ };
2937
+ setupEnqueuedCalls: {
2938
+ isStaticCall: boolean;
2939
+ calldata: string[];
2940
+ contractAddress?: any;
2941
+ msgSender?: any;
2942
+ }[];
2943
+ appLogicEnqueuedCalls: {
2944
+ isStaticCall: boolean;
2945
+ calldata: string[];
2946
+ contractAddress?: any;
2947
+ msgSender?: any;
2948
+ }[];
2949
+ teardownEnqueuedCall: {
2950
+ isStaticCall: boolean;
2951
+ calldata: string[];
2952
+ contractAddress?: any;
2953
+ msgSender?: any;
2954
+ } | null;
2955
+ };
2672
2956
  contractInstances: {
2673
- salt: string;
2674
- currentContractClassId: string;
2675
- originalContractClassId: string;
2676
- initializationHash: string;
2677
2957
  publicKeys: {
2678
2958
  masterNullifierPublicKey: string;
2679
2959
  masterIncomingViewingPublicKey: string;
2680
2960
  masterOutgoingViewingPublicKey: string;
2681
2961
  masterTaggingPublicKey: string;
2682
2962
  };
2963
+ salt: string;
2964
+ currentContractClassId: string;
2965
+ originalContractClassId: string;
2966
+ initializationHash: string;
2683
2967
  address?: any;
2684
2968
  deployer?: any;
2685
2969
  }[];
@@ -2708,19 +2992,15 @@ export declare class AvmExecutionHints {
2708
2992
  getPreviousValueIndexHints: {
2709
2993
  value: string;
2710
2994
  index: string | number | bigint;
2995
+ alreadyPresent: boolean;
2711
2996
  hintKey: {
2712
2997
  root: string;
2713
2998
  nextAvailableLeafIndex: string | number | bigint;
2714
2999
  };
2715
3000
  treeId: number;
2716
- alreadyPresent: boolean;
2717
3001
  }[];
2718
3002
  getLeafPreimageHintsPublicDataTree: {
2719
3003
  index: string | number | bigint;
2720
- hintKey: {
2721
- root: string;
2722
- nextAvailableLeafIndex: string | number | bigint;
2723
- };
2724
3004
  leafPreimage: {
2725
3005
  leaf: {
2726
3006
  nullifier: string;
@@ -2735,13 +3015,13 @@ export declare class AvmExecutionHints {
2735
3015
  nextKey: string;
2736
3016
  nextIndex: string | number | bigint;
2737
3017
  };
2738
- }[];
2739
- getLeafPreimageHintsNullifierTree: {
2740
- index: string | number | bigint;
2741
3018
  hintKey: {
2742
3019
  root: string;
2743
3020
  nextAvailableLeafIndex: string | number | bigint;
2744
3021
  };
3022
+ }[];
3023
+ getLeafPreimageHintsNullifierTree: {
3024
+ index: string | number | bigint;
2745
3025
  leafPreimage: {
2746
3026
  leaf: {
2747
3027
  nullifier: string;
@@ -2756,6 +3036,10 @@ export declare class AvmExecutionHints {
2756
3036
  nextKey: string;
2757
3037
  nextIndex: string | number | bigint;
2758
3038
  };
3039
+ hintKey: {
3040
+ root: string;
3041
+ nextAvailableLeafIndex: string | number | bigint;
3042
+ };
2759
3043
  }[];
2760
3044
  getLeafValueHints: {
2761
3045
  value: string;
@@ -2873,23 +3157,45 @@ export declare class AvmExecutionHints {
2873
3157
  };
2874
3158
  }[];
2875
3159
  }>, AvmExecutionHints, {
2876
- enqueuedCalls: {
2877
- isStaticCall: boolean;
2878
- calldata: string[];
2879
- contractAddress?: any;
2880
- msgSender?: any;
2881
- }[];
3160
+ tx: {
3161
+ nonRevertibleAccumulatedData: {
3162
+ noteHashes: string[];
3163
+ nullifiers: string[];
3164
+ };
3165
+ revertibleAccumulatedData: {
3166
+ noteHashes: string[];
3167
+ nullifiers: string[];
3168
+ };
3169
+ setupEnqueuedCalls: {
3170
+ isStaticCall: boolean;
3171
+ calldata: string[];
3172
+ contractAddress?: any;
3173
+ msgSender?: any;
3174
+ }[];
3175
+ appLogicEnqueuedCalls: {
3176
+ isStaticCall: boolean;
3177
+ calldata: string[];
3178
+ contractAddress?: any;
3179
+ msgSender?: any;
3180
+ }[];
3181
+ teardownEnqueuedCall: {
3182
+ isStaticCall: boolean;
3183
+ calldata: string[];
3184
+ contractAddress?: any;
3185
+ msgSender?: any;
3186
+ } | null;
3187
+ };
2882
3188
  contractInstances: {
2883
- salt: string;
2884
- currentContractClassId: string;
2885
- originalContractClassId: string;
2886
- initializationHash: string;
2887
3189
  publicKeys: {
2888
3190
  masterNullifierPublicKey: string;
2889
3191
  masterIncomingViewingPublicKey: string;
2890
3192
  masterOutgoingViewingPublicKey: string;
2891
3193
  masterTaggingPublicKey: string;
2892
3194
  };
3195
+ salt: string;
3196
+ currentContractClassId: string;
3197
+ originalContractClassId: string;
3198
+ initializationHash: string;
2893
3199
  address?: any;
2894
3200
  deployer?: any;
2895
3201
  }[];
@@ -2918,19 +3224,15 @@ export declare class AvmExecutionHints {
2918
3224
  getPreviousValueIndexHints: {
2919
3225
  value: string;
2920
3226
  index: string | number | bigint;
3227
+ alreadyPresent: boolean;
2921
3228
  hintKey: {
2922
3229
  root: string;
2923
3230
  nextAvailableLeafIndex: string | number | bigint;
2924
3231
  };
2925
3232
  treeId: number;
2926
- alreadyPresent: boolean;
2927
3233
  }[];
2928
3234
  getLeafPreimageHintsPublicDataTree: {
2929
3235
  index: string | number | bigint;
2930
- hintKey: {
2931
- root: string;
2932
- nextAvailableLeafIndex: string | number | bigint;
2933
- };
2934
3236
  leafPreimage: {
2935
3237
  leaf: {
2936
3238
  nullifier: string;
@@ -2945,13 +3247,13 @@ export declare class AvmExecutionHints {
2945
3247
  nextKey: string;
2946
3248
  nextIndex: string | number | bigint;
2947
3249
  };
2948
- }[];
2949
- getLeafPreimageHintsNullifierTree: {
2950
- index: string | number | bigint;
2951
3250
  hintKey: {
2952
3251
  root: string;
2953
3252
  nextAvailableLeafIndex: string | number | bigint;
2954
3253
  };
3254
+ }[];
3255
+ getLeafPreimageHintsNullifierTree: {
3256
+ index: string | number | bigint;
2955
3257
  leafPreimage: {
2956
3258
  leaf: {
2957
3259
  nullifier: string;
@@ -2966,6 +3268,10 @@ export declare class AvmExecutionHints {
2966
3268
  nextKey: string;
2967
3269
  nextIndex: string | number | bigint;
2968
3270
  };
3271
+ hintKey: {
3272
+ root: string;
3273
+ nextAvailableLeafIndex: string | number | bigint;
3274
+ };
2969
3275
  }[];
2970
3276
  getLeafValueHints: {
2971
3277
  value: string;
@@ -3096,27 +3402,130 @@ export declare class AvmCircuitInputs {
3096
3402
  functionName: z.ZodString;
3097
3403
  calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
3098
3404
  hints: z.ZodEffects<z.ZodObject<{
3099
- enqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
3100
- msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
3101
- contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
3102
- calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
3103
- isStaticCall: z.ZodBoolean;
3405
+ tx: z.ZodObject<{
3406
+ nonRevertibleAccumulatedData: z.ZodObject<{
3407
+ noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
3408
+ nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
3409
+ }, "strip", z.ZodTypeAny, {
3410
+ noteHashes: Fr[];
3411
+ nullifiers: Fr[];
3412
+ }, {
3413
+ noteHashes: string[];
3414
+ nullifiers: string[];
3415
+ }>;
3416
+ revertibleAccumulatedData: z.ZodObject<{
3417
+ noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
3418
+ nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
3419
+ }, "strip", z.ZodTypeAny, {
3420
+ noteHashes: Fr[];
3421
+ nullifiers: Fr[];
3422
+ }, {
3423
+ noteHashes: string[];
3424
+ nullifiers: string[];
3425
+ }>;
3426
+ setupEnqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
3427
+ msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
3428
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
3429
+ calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
3430
+ isStaticCall: z.ZodBoolean;
3431
+ }, "strip", z.ZodTypeAny, {
3432
+ contractAddress: AztecAddress;
3433
+ msgSender: AztecAddress;
3434
+ isStaticCall: boolean;
3435
+ calldata: Fr[];
3436
+ }, {
3437
+ isStaticCall: boolean;
3438
+ calldata: string[];
3439
+ contractAddress?: any;
3440
+ msgSender?: any;
3441
+ }>, AvmEnqueuedCallHint, {
3442
+ isStaticCall: boolean;
3443
+ calldata: string[];
3444
+ contractAddress?: any;
3445
+ msgSender?: any;
3446
+ }>, "many">;
3447
+ appLogicEnqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
3448
+ msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
3449
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
3450
+ calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
3451
+ isStaticCall: z.ZodBoolean;
3452
+ }, "strip", z.ZodTypeAny, {
3453
+ contractAddress: AztecAddress;
3454
+ msgSender: AztecAddress;
3455
+ isStaticCall: boolean;
3456
+ calldata: Fr[];
3457
+ }, {
3458
+ isStaticCall: boolean;
3459
+ calldata: string[];
3460
+ contractAddress?: any;
3461
+ msgSender?: any;
3462
+ }>, AvmEnqueuedCallHint, {
3463
+ isStaticCall: boolean;
3464
+ calldata: string[];
3465
+ contractAddress?: any;
3466
+ msgSender?: any;
3467
+ }>, "many">;
3468
+ teardownEnqueuedCall: z.ZodNullable<z.ZodEffects<z.ZodObject<{
3469
+ msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
3470
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
3471
+ calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
3472
+ isStaticCall: z.ZodBoolean;
3473
+ }, "strip", z.ZodTypeAny, {
3474
+ contractAddress: AztecAddress;
3475
+ msgSender: AztecAddress;
3476
+ isStaticCall: boolean;
3477
+ calldata: Fr[];
3478
+ }, {
3479
+ isStaticCall: boolean;
3480
+ calldata: string[];
3481
+ contractAddress?: any;
3482
+ msgSender?: any;
3483
+ }>, AvmEnqueuedCallHint, {
3484
+ isStaticCall: boolean;
3485
+ calldata: string[];
3486
+ contractAddress?: any;
3487
+ msgSender?: any;
3488
+ }>>;
3104
3489
  }, "strip", z.ZodTypeAny, {
3105
- contractAddress: AztecAddress;
3106
- msgSender: AztecAddress;
3107
- isStaticCall: boolean;
3108
- calldata: Fr[];
3490
+ nonRevertibleAccumulatedData: {
3491
+ noteHashes: Fr[];
3492
+ nullifiers: Fr[];
3493
+ };
3494
+ revertibleAccumulatedData: {
3495
+ noteHashes: Fr[];
3496
+ nullifiers: Fr[];
3497
+ };
3498
+ setupEnqueuedCalls: AvmEnqueuedCallHint[];
3499
+ appLogicEnqueuedCalls: AvmEnqueuedCallHint[];
3500
+ teardownEnqueuedCall: AvmEnqueuedCallHint | null;
3109
3501
  }, {
3110
- isStaticCall: boolean;
3111
- calldata: string[];
3112
- contractAddress?: any;
3113
- msgSender?: any;
3114
- }>, AvmEnqueuedCallHint, {
3115
- isStaticCall: boolean;
3116
- calldata: string[];
3117
- contractAddress?: any;
3118
- msgSender?: any;
3119
- }>, "many">;
3502
+ nonRevertibleAccumulatedData: {
3503
+ noteHashes: string[];
3504
+ nullifiers: string[];
3505
+ };
3506
+ revertibleAccumulatedData: {
3507
+ noteHashes: string[];
3508
+ nullifiers: string[];
3509
+ };
3510
+ setupEnqueuedCalls: {
3511
+ isStaticCall: boolean;
3512
+ calldata: string[];
3513
+ contractAddress?: any;
3514
+ msgSender?: any;
3515
+ }[];
3516
+ appLogicEnqueuedCalls: {
3517
+ isStaticCall: boolean;
3518
+ calldata: string[];
3519
+ contractAddress?: any;
3520
+ msgSender?: any;
3521
+ }[];
3522
+ teardownEnqueuedCall: {
3523
+ isStaticCall: boolean;
3524
+ calldata: string[];
3525
+ contractAddress?: any;
3526
+ msgSender?: any;
3527
+ } | null;
3528
+ }>;
3120
3529
  contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
3121
3530
  address: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
3122
3531
  salt: z.ZodType<Fr, any, string>;
@@ -3147,36 +3556,36 @@ export declare class AvmCircuitInputs {
3147
3556
  }>;
3148
3557
  }, "strip", z.ZodTypeAny, {
3149
3558
  address: AztecAddress;
3559
+ publicKeys: PublicKeys;
3150
3560
  salt: Fr;
3151
3561
  deployer: AztecAddress;
3152
3562
  currentContractClassId: Fr;
3153
3563
  originalContractClassId: Fr;
3154
3564
  initializationHash: Fr;
3155
- publicKeys: PublicKeys;
3156
3565
  }, {
3157
- salt: string;
3158
- currentContractClassId: string;
3159
- originalContractClassId: string;
3160
- initializationHash: string;
3161
3566
  publicKeys: {
3162
3567
  masterNullifierPublicKey: string;
3163
3568
  masterIncomingViewingPublicKey: string;
3164
3569
  masterOutgoingViewingPublicKey: string;
3165
3570
  masterTaggingPublicKey: string;
3166
3571
  };
3167
- address?: any;
3168
- deployer?: any;
3169
- }>, AvmContractInstanceHint, {
3170
3572
  salt: string;
3171
3573
  currentContractClassId: string;
3172
3574
  originalContractClassId: string;
3173
3575
  initializationHash: string;
3576
+ address?: any;
3577
+ deployer?: any;
3578
+ }>, AvmContractInstanceHint, {
3174
3579
  publicKeys: {
3175
3580
  masterNullifierPublicKey: string;
3176
3581
  masterIncomingViewingPublicKey: string;
3177
3582
  masterOutgoingViewingPublicKey: string;
3178
3583
  masterTaggingPublicKey: string;
3179
3584
  };
3585
+ salt: string;
3586
+ currentContractClassId: string;
3587
+ originalContractClassId: string;
3588
+ initializationHash: string;
3180
3589
  address?: any;
3181
3590
  deployer?: any;
3182
3591
  }>, "many">;
@@ -3292,27 +3701,27 @@ export declare class AvmCircuitInputs {
3292
3701
  }, "strip", z.ZodTypeAny, {
3293
3702
  value: Fr;
3294
3703
  index: bigint;
3704
+ alreadyPresent: boolean;
3295
3705
  hintKey: AppendOnlyTreeSnapshot;
3296
3706
  treeId: number;
3297
- alreadyPresent: boolean;
3298
3707
  }, {
3299
3708
  value: string;
3300
3709
  index: string | number | bigint;
3710
+ alreadyPresent: boolean;
3301
3711
  hintKey: {
3302
3712
  root: string;
3303
3713
  nextAvailableLeafIndex: string | number | bigint;
3304
3714
  };
3305
3715
  treeId: number;
3306
- alreadyPresent: boolean;
3307
3716
  }>, AvmGetPreviousValueIndexHint, {
3308
3717
  value: string;
3309
3718
  index: string | number | bigint;
3719
+ alreadyPresent: boolean;
3310
3720
  hintKey: {
3311
3721
  root: string;
3312
3722
  nextAvailableLeafIndex: string | number | bigint;
3313
3723
  };
3314
3724
  treeId: number;
3315
- alreadyPresent: boolean;
3316
3725
  }>, "many">;
3317
3726
  getLeafPreimageHintsPublicDataTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
3318
3727
  hintKey: z.ZodEffects<z.ZodObject<{
@@ -3394,14 +3803,10 @@ export declare class AvmCircuitInputs {
3394
3803
  }>;
3395
3804
  }, "strip", z.ZodTypeAny, {
3396
3805
  index: bigint;
3397
- hintKey: AppendOnlyTreeSnapshot;
3398
3806
  leafPreimage: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
3807
+ hintKey: AppendOnlyTreeSnapshot;
3399
3808
  }, {
3400
3809
  index: string | number | bigint;
3401
- hintKey: {
3402
- root: string;
3403
- nextAvailableLeafIndex: string | number | bigint;
3404
- };
3405
3810
  leafPreimage: {
3406
3811
  leaf: {
3407
3812
  nullifier: string;
@@ -3416,16 +3821,16 @@ export declare class AvmCircuitInputs {
3416
3821
  nextKey: string;
3417
3822
  nextIndex: string | number | bigint;
3418
3823
  };
3824
+ hintKey: {
3825
+ root: string;
3826
+ nextAvailableLeafIndex: string | number | bigint;
3827
+ };
3419
3828
  }>, {
3420
3829
  readonly hintKey: AppendOnlyTreeSnapshot;
3421
3830
  readonly index: bigint;
3422
3831
  readonly leafPreimage: IndexedTreeLeafPreimages;
3423
3832
  }, {
3424
3833
  index: string | number | bigint;
3425
- hintKey: {
3426
- root: string;
3427
- nextAvailableLeafIndex: string | number | bigint;
3428
- };
3429
3834
  leafPreimage: {
3430
3835
  leaf: {
3431
3836
  nullifier: string;
@@ -3440,6 +3845,10 @@ export declare class AvmCircuitInputs {
3440
3845
  nextKey: string;
3441
3846
  nextIndex: string | number | bigint;
3442
3847
  };
3848
+ hintKey: {
3849
+ root: string;
3850
+ nextAvailableLeafIndex: string | number | bigint;
3851
+ };
3443
3852
  }>, "many">;
3444
3853
  getLeafPreimageHintsNullifierTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
3445
3854
  hintKey: z.ZodEffects<z.ZodObject<{
@@ -3521,14 +3930,10 @@ export declare class AvmCircuitInputs {
3521
3930
  }>;
3522
3931
  }, "strip", z.ZodTypeAny, {
3523
3932
  index: bigint;
3524
- hintKey: AppendOnlyTreeSnapshot;
3525
3933
  leafPreimage: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
3934
+ hintKey: AppendOnlyTreeSnapshot;
3526
3935
  }, {
3527
3936
  index: string | number | bigint;
3528
- hintKey: {
3529
- root: string;
3530
- nextAvailableLeafIndex: string | number | bigint;
3531
- };
3532
3937
  leafPreimage: {
3533
3938
  leaf: {
3534
3939
  nullifier: string;
@@ -3543,16 +3948,16 @@ export declare class AvmCircuitInputs {
3543
3948
  nextKey: string;
3544
3949
  nextIndex: string | number | bigint;
3545
3950
  };
3951
+ hintKey: {
3952
+ root: string;
3953
+ nextAvailableLeafIndex: string | number | bigint;
3954
+ };
3546
3955
  }>, {
3547
3956
  readonly hintKey: AppendOnlyTreeSnapshot;
3548
3957
  readonly index: bigint;
3549
3958
  readonly leafPreimage: IndexedTreeLeafPreimages;
3550
3959
  }, {
3551
3960
  index: string | number | bigint;
3552
- hintKey: {
3553
- root: string;
3554
- nextAvailableLeafIndex: string | number | bigint;
3555
- };
3556
3961
  leafPreimage: {
3557
3962
  leaf: {
3558
3963
  nullifier: string;
@@ -3567,6 +3972,10 @@ export declare class AvmCircuitInputs {
3567
3972
  nextKey: string;
3568
3973
  nextIndex: string | number | bigint;
3569
3974
  };
3975
+ hintKey: {
3976
+ root: string;
3977
+ nextAvailableLeafIndex: string | number | bigint;
3978
+ };
3570
3979
  }>, "many">;
3571
3980
  getLeafValueHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
3572
3981
  hintKey: z.ZodEffects<z.ZodObject<{
@@ -4328,7 +4737,19 @@ export declare class AvmCircuitInputs {
4328
4737
  };
4329
4738
  }>, "many">;
4330
4739
  }, "strip", z.ZodTypeAny, {
4331
- enqueuedCalls: AvmEnqueuedCallHint[];
4740
+ tx: {
4741
+ nonRevertibleAccumulatedData: {
4742
+ noteHashes: Fr[];
4743
+ nullifiers: Fr[];
4744
+ };
4745
+ revertibleAccumulatedData: {
4746
+ noteHashes: Fr[];
4747
+ nullifiers: Fr[];
4748
+ };
4749
+ setupEnqueuedCalls: AvmEnqueuedCallHint[];
4750
+ appLogicEnqueuedCalls: AvmEnqueuedCallHint[];
4751
+ teardownEnqueuedCall: AvmEnqueuedCallHint | null;
4752
+ };
4332
4753
  contractInstances: AvmContractInstanceHint[];
4333
4754
  contractClasses: AvmContractClassHint[];
4334
4755
  bytecodeCommitments: AvmBytecodeCommitmentHint[];
@@ -4374,27 +4795,49 @@ export declare class AvmCircuitInputs {
4374
4795
  readonly insertionWitnessData: {
4375
4796
  leaf: IndexedTreeLeafPreimages;
4376
4797
  index: bigint;
4377
- path: Fr[];
4378
- };
4379
- }[];
4380
- }, {
4381
- enqueuedCalls: {
4382
- isStaticCall: boolean;
4383
- calldata: string[];
4384
- contractAddress?: any;
4385
- msgSender?: any;
4798
+ path: Fr[];
4799
+ };
4386
4800
  }[];
4801
+ }, {
4802
+ tx: {
4803
+ nonRevertibleAccumulatedData: {
4804
+ noteHashes: string[];
4805
+ nullifiers: string[];
4806
+ };
4807
+ revertibleAccumulatedData: {
4808
+ noteHashes: string[];
4809
+ nullifiers: string[];
4810
+ };
4811
+ setupEnqueuedCalls: {
4812
+ isStaticCall: boolean;
4813
+ calldata: string[];
4814
+ contractAddress?: any;
4815
+ msgSender?: any;
4816
+ }[];
4817
+ appLogicEnqueuedCalls: {
4818
+ isStaticCall: boolean;
4819
+ calldata: string[];
4820
+ contractAddress?: any;
4821
+ msgSender?: any;
4822
+ }[];
4823
+ teardownEnqueuedCall: {
4824
+ isStaticCall: boolean;
4825
+ calldata: string[];
4826
+ contractAddress?: any;
4827
+ msgSender?: any;
4828
+ } | null;
4829
+ };
4387
4830
  contractInstances: {
4388
- salt: string;
4389
- currentContractClassId: string;
4390
- originalContractClassId: string;
4391
- initializationHash: string;
4392
4831
  publicKeys: {
4393
4832
  masterNullifierPublicKey: string;
4394
4833
  masterIncomingViewingPublicKey: string;
4395
4834
  masterOutgoingViewingPublicKey: string;
4396
4835
  masterTaggingPublicKey: string;
4397
4836
  };
4837
+ salt: string;
4838
+ currentContractClassId: string;
4839
+ originalContractClassId: string;
4840
+ initializationHash: string;
4398
4841
  address?: any;
4399
4842
  deployer?: any;
4400
4843
  }[];
@@ -4423,19 +4866,15 @@ export declare class AvmCircuitInputs {
4423
4866
  getPreviousValueIndexHints: {
4424
4867
  value: string;
4425
4868
  index: string | number | bigint;
4869
+ alreadyPresent: boolean;
4426
4870
  hintKey: {
4427
4871
  root: string;
4428
4872
  nextAvailableLeafIndex: string | number | bigint;
4429
4873
  };
4430
4874
  treeId: number;
4431
- alreadyPresent: boolean;
4432
4875
  }[];
4433
4876
  getLeafPreimageHintsPublicDataTree: {
4434
4877
  index: string | number | bigint;
4435
- hintKey: {
4436
- root: string;
4437
- nextAvailableLeafIndex: string | number | bigint;
4438
- };
4439
4878
  leafPreimage: {
4440
4879
  leaf: {
4441
4880
  nullifier: string;
@@ -4450,13 +4889,13 @@ export declare class AvmCircuitInputs {
4450
4889
  nextKey: string;
4451
4890
  nextIndex: string | number | bigint;
4452
4891
  };
4453
- }[];
4454
- getLeafPreimageHintsNullifierTree: {
4455
- index: string | number | bigint;
4456
4892
  hintKey: {
4457
4893
  root: string;
4458
4894
  nextAvailableLeafIndex: string | number | bigint;
4459
4895
  };
4896
+ }[];
4897
+ getLeafPreimageHintsNullifierTree: {
4898
+ index: string | number | bigint;
4460
4899
  leafPreimage: {
4461
4900
  leaf: {
4462
4901
  nullifier: string;
@@ -4471,6 +4910,10 @@ export declare class AvmCircuitInputs {
4471
4910
  nextKey: string;
4472
4911
  nextIndex: string | number | bigint;
4473
4912
  };
4913
+ hintKey: {
4914
+ root: string;
4915
+ nextAvailableLeafIndex: string | number | bigint;
4916
+ };
4474
4917
  }[];
4475
4918
  getLeafValueHints: {
4476
4919
  value: string;
@@ -4588,23 +5031,45 @@ export declare class AvmCircuitInputs {
4588
5031
  };
4589
5032
  }[];
4590
5033
  }>, AvmExecutionHints, {
4591
- enqueuedCalls: {
4592
- isStaticCall: boolean;
4593
- calldata: string[];
4594
- contractAddress?: any;
4595
- msgSender?: any;
4596
- }[];
5034
+ tx: {
5035
+ nonRevertibleAccumulatedData: {
5036
+ noteHashes: string[];
5037
+ nullifiers: string[];
5038
+ };
5039
+ revertibleAccumulatedData: {
5040
+ noteHashes: string[];
5041
+ nullifiers: string[];
5042
+ };
5043
+ setupEnqueuedCalls: {
5044
+ isStaticCall: boolean;
5045
+ calldata: string[];
5046
+ contractAddress?: any;
5047
+ msgSender?: any;
5048
+ }[];
5049
+ appLogicEnqueuedCalls: {
5050
+ isStaticCall: boolean;
5051
+ calldata: string[];
5052
+ contractAddress?: any;
5053
+ msgSender?: any;
5054
+ }[];
5055
+ teardownEnqueuedCall: {
5056
+ isStaticCall: boolean;
5057
+ calldata: string[];
5058
+ contractAddress?: any;
5059
+ msgSender?: any;
5060
+ } | null;
5061
+ };
4597
5062
  contractInstances: {
4598
- salt: string;
4599
- currentContractClassId: string;
4600
- originalContractClassId: string;
4601
- initializationHash: string;
4602
5063
  publicKeys: {
4603
5064
  masterNullifierPublicKey: string;
4604
5065
  masterIncomingViewingPublicKey: string;
4605
5066
  masterOutgoingViewingPublicKey: string;
4606
5067
  masterTaggingPublicKey: string;
4607
5068
  };
5069
+ salt: string;
5070
+ currentContractClassId: string;
5071
+ originalContractClassId: string;
5072
+ initializationHash: string;
4608
5073
  address?: any;
4609
5074
  deployer?: any;
4610
5075
  }[];
@@ -4633,19 +5098,15 @@ export declare class AvmCircuitInputs {
4633
5098
  getPreviousValueIndexHints: {
4634
5099
  value: string;
4635
5100
  index: string | number | bigint;
5101
+ alreadyPresent: boolean;
4636
5102
  hintKey: {
4637
5103
  root: string;
4638
5104
  nextAvailableLeafIndex: string | number | bigint;
4639
5105
  };
4640
5106
  treeId: number;
4641
- alreadyPresent: boolean;
4642
5107
  }[];
4643
5108
  getLeafPreimageHintsPublicDataTree: {
4644
5109
  index: string | number | bigint;
4645
- hintKey: {
4646
- root: string;
4647
- nextAvailableLeafIndex: string | number | bigint;
4648
- };
4649
5110
  leafPreimage: {
4650
5111
  leaf: {
4651
5112
  nullifier: string;
@@ -4660,13 +5121,13 @@ export declare class AvmCircuitInputs {
4660
5121
  nextKey: string;
4661
5122
  nextIndex: string | number | bigint;
4662
5123
  };
4663
- }[];
4664
- getLeafPreimageHintsNullifierTree: {
4665
- index: string | number | bigint;
4666
5124
  hintKey: {
4667
5125
  root: string;
4668
5126
  nextAvailableLeafIndex: string | number | bigint;
4669
5127
  };
5128
+ }[];
5129
+ getLeafPreimageHintsNullifierTree: {
5130
+ index: string | number | bigint;
4670
5131
  leafPreimage: {
4671
5132
  leaf: {
4672
5133
  nullifier: string;
@@ -4681,6 +5142,10 @@ export declare class AvmCircuitInputs {
4681
5142
  nextKey: string;
4682
5143
  nextIndex: string | number | bigint;
4683
5144
  };
5145
+ hintKey: {
5146
+ root: string;
5147
+ nextAvailableLeafIndex: string | number | bigint;
5148
+ };
4684
5149
  }[];
4685
5150
  getLeafValueHints: {
4686
5151
  value: string;
@@ -4908,15 +5373,11 @@ export declare class AvmCircuitInputs {
4908
5373
  nextAvailableLeafIndex: string | number | bigint;
4909
5374
  }>;
4910
5375
  }, "strip", z.ZodTypeAny, {
4911
- l1ToL2MessageTree: AppendOnlyTreeSnapshot;
4912
5376
  noteHashTree: AppendOnlyTreeSnapshot;
4913
5377
  nullifierTree: AppendOnlyTreeSnapshot;
4914
5378
  publicDataTree: AppendOnlyTreeSnapshot;
5379
+ l1ToL2MessageTree: AppendOnlyTreeSnapshot;
4915
5380
  }, {
4916
- l1ToL2MessageTree: {
4917
- root: string;
4918
- nextAvailableLeafIndex: string | number | bigint;
4919
- };
4920
5381
  noteHashTree: {
4921
5382
  root: string;
4922
5383
  nextAvailableLeafIndex: string | number | bigint;
@@ -4929,11 +5390,11 @@ export declare class AvmCircuitInputs {
4929
5390
  root: string;
4930
5391
  nextAvailableLeafIndex: string | number | bigint;
4931
5392
  };
4932
- }>, import("../tx/tree_snapshots.js").TreeSnapshots, {
4933
5393
  l1ToL2MessageTree: {
4934
5394
  root: string;
4935
5395
  nextAvailableLeafIndex: string | number | bigint;
4936
5396
  };
5397
+ }>, import("../tx/tree_snapshots.js").TreeSnapshots, {
4937
5398
  noteHashTree: {
4938
5399
  root: string;
4939
5400
  nextAvailableLeafIndex: string | number | bigint;
@@ -4946,6 +5407,10 @@ export declare class AvmCircuitInputs {
4946
5407
  root: string;
4947
5408
  nextAvailableLeafIndex: string | number | bigint;
4948
5409
  };
5410
+ l1ToL2MessageTree: {
5411
+ root: string;
5412
+ nextAvailableLeafIndex: string | number | bigint;
5413
+ };
4949
5414
  }>;
4950
5415
  startGasUsed: z.ZodEffects<z.ZodObject<{
4951
5416
  daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
@@ -5339,15 +5804,11 @@ export declare class AvmCircuitInputs {
5339
5804
  nextAvailableLeafIndex: string | number | bigint;
5340
5805
  }>;
5341
5806
  }, "strip", z.ZodTypeAny, {
5342
- l1ToL2MessageTree: AppendOnlyTreeSnapshot;
5343
5807
  noteHashTree: AppendOnlyTreeSnapshot;
5344
5808
  nullifierTree: AppendOnlyTreeSnapshot;
5345
5809
  publicDataTree: AppendOnlyTreeSnapshot;
5810
+ l1ToL2MessageTree: AppendOnlyTreeSnapshot;
5346
5811
  }, {
5347
- l1ToL2MessageTree: {
5348
- root: string;
5349
- nextAvailableLeafIndex: string | number | bigint;
5350
- };
5351
5812
  noteHashTree: {
5352
5813
  root: string;
5353
5814
  nextAvailableLeafIndex: string | number | bigint;
@@ -5360,11 +5821,11 @@ export declare class AvmCircuitInputs {
5360
5821
  root: string;
5361
5822
  nextAvailableLeafIndex: string | number | bigint;
5362
5823
  };
5363
- }>, import("../tx/tree_snapshots.js").TreeSnapshots, {
5364
5824
  l1ToL2MessageTree: {
5365
5825
  root: string;
5366
5826
  nextAvailableLeafIndex: string | number | bigint;
5367
5827
  };
5828
+ }>, import("../tx/tree_snapshots.js").TreeSnapshots, {
5368
5829
  noteHashTree: {
5369
5830
  root: string;
5370
5831
  nextAvailableLeafIndex: string | number | bigint;
@@ -5377,6 +5838,10 @@ export declare class AvmCircuitInputs {
5377
5838
  root: string;
5378
5839
  nextAvailableLeafIndex: string | number | bigint;
5379
5840
  };
5841
+ l1ToL2MessageTree: {
5842
+ root: string;
5843
+ nextAvailableLeafIndex: string | number | bigint;
5844
+ };
5380
5845
  }>;
5381
5846
  endGasUsed: z.ZodEffects<z.ZodObject<{
5382
5847
  daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
@@ -5430,28 +5895,176 @@ export declare class AvmCircuitInputs {
5430
5895
  content: string;
5431
5896
  };
5432
5897
  contractAddress?: any;
5433
- }>, "many">;
5434
- publicLogs: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("../logs/public_log.js").PublicLog>, "many">;
5435
- publicDataWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
5436
- leafSlot: z.ZodType<Fr, any, string>;
5437
- value: z.ZodType<Fr, any, string>;
5438
- }, "strip", z.ZodTypeAny, {
5439
- value: Fr;
5440
- leafSlot: Fr;
5441
- }, {
5442
- value: string;
5443
- leafSlot: string;
5444
- }>, import("./public_data_write.js").PublicDataWrite, {
5445
- value: string;
5446
- leafSlot: string;
5447
- }>, "many">;
5448
- }, "strip", z.ZodTypeAny, {
5449
- noteHashes: Fr[];
5450
- nullifiers: Fr[];
5451
- l2ToL1Msgs: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
5452
- publicLogs: import("../logs/public_log.js").PublicLog[];
5453
- publicDataWrites: import("./public_data_write.js").PublicDataWrite[];
5454
- }, {
5898
+ }>, "many">;
5899
+ publicLogs: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("../logs/public_log.js").PublicLog>, "many">;
5900
+ publicDataWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
5901
+ leafSlot: z.ZodType<Fr, any, string>;
5902
+ value: z.ZodType<Fr, any, string>;
5903
+ }, "strip", z.ZodTypeAny, {
5904
+ value: Fr;
5905
+ leafSlot: Fr;
5906
+ }, {
5907
+ value: string;
5908
+ leafSlot: string;
5909
+ }>, import("./public_data_write.js").PublicDataWrite, {
5910
+ value: string;
5911
+ leafSlot: string;
5912
+ }>, "many">;
5913
+ }, "strip", z.ZodTypeAny, {
5914
+ noteHashes: Fr[];
5915
+ nullifiers: Fr[];
5916
+ l2ToL1Msgs: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
5917
+ publicLogs: import("../logs/public_log.js").PublicLog[];
5918
+ publicDataWrites: import("./public_data_write.js").PublicDataWrite[];
5919
+ }, {
5920
+ noteHashes: string[];
5921
+ nullifiers: string[];
5922
+ l2ToL1Msgs: {
5923
+ message: {
5924
+ counter: number;
5925
+ recipient: string;
5926
+ content: string;
5927
+ };
5928
+ contractAddress?: any;
5929
+ }[];
5930
+ publicLogs: any[];
5931
+ publicDataWrites: {
5932
+ value: string;
5933
+ leafSlot: string;
5934
+ }[];
5935
+ }>, import("./avm_accumulated_data.js").AvmAccumulatedData, {
5936
+ noteHashes: string[];
5937
+ nullifiers: string[];
5938
+ l2ToL1Msgs: {
5939
+ message: {
5940
+ counter: number;
5941
+ recipient: string;
5942
+ content: string;
5943
+ };
5944
+ contractAddress?: any;
5945
+ }[];
5946
+ publicLogs: any[];
5947
+ publicDataWrites: {
5948
+ value: string;
5949
+ leafSlot: string;
5950
+ }[];
5951
+ }>;
5952
+ transactionFee: z.ZodType<Fr, any, string>;
5953
+ reverted: z.ZodBoolean;
5954
+ }, "strip", z.ZodTypeAny, {
5955
+ globalVariables: import("../tx/global_variables.js").GlobalVariables;
5956
+ gasSettings: import("../gas/gas_settings.js").GasSettings;
5957
+ publicTeardownCallRequest: import("../kernel/public_call_request.js").PublicCallRequest;
5958
+ transactionFee: Fr;
5959
+ feePayer: AztecAddress;
5960
+ startTreeSnapshots: import("../tx/tree_snapshots.js").TreeSnapshots;
5961
+ startGasUsed: import("../gas/gas.js").Gas;
5962
+ publicSetupCallRequests: import("../kernel/public_call_request.js").PublicCallRequest[];
5963
+ publicAppLogicCallRequests: import("../kernel/public_call_request.js").PublicCallRequest[];
5964
+ previousNonRevertibleAccumulatedDataArrayLengths: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedDataArrayLengths;
5965
+ previousRevertibleAccumulatedDataArrayLengths: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedDataArrayLengths;
5966
+ previousNonRevertibleAccumulatedData: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedData;
5967
+ previousRevertibleAccumulatedData: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedData;
5968
+ endTreeSnapshots: import("../tx/tree_snapshots.js").TreeSnapshots;
5969
+ endGasUsed: import("../gas/gas.js").Gas;
5970
+ accumulatedData: import("./avm_accumulated_data.js").AvmAccumulatedData;
5971
+ reverted: boolean;
5972
+ }, {
5973
+ globalVariables: {
5974
+ gasFees: {
5975
+ feePerDaGas: string;
5976
+ feePerL2Gas: string;
5977
+ };
5978
+ chainId?: any;
5979
+ version?: any;
5980
+ blockNumber?: any;
5981
+ slotNumber?: any;
5982
+ timestamp?: any;
5983
+ coinbase?: any;
5984
+ feeRecipient?: any;
5985
+ };
5986
+ gasSettings: {
5987
+ gasLimits: {
5988
+ daGas: string | number | bigint;
5989
+ l2Gas: string | number | bigint;
5990
+ };
5991
+ teardownGasLimits: {
5992
+ daGas: string | number | bigint;
5993
+ l2Gas: string | number | bigint;
5994
+ };
5995
+ maxFeesPerGas: {
5996
+ feePerDaGas: string;
5997
+ feePerL2Gas: string;
5998
+ };
5999
+ maxPriorityFeesPerGas: {
6000
+ feePerDaGas: string;
6001
+ feePerL2Gas: string;
6002
+ };
6003
+ };
6004
+ publicTeardownCallRequest: {
6005
+ isStaticCall: boolean;
6006
+ calldataHash: string;
6007
+ contractAddress?: any;
6008
+ msgSender?: any;
6009
+ };
6010
+ transactionFee: string;
6011
+ startTreeSnapshots: {
6012
+ noteHashTree: {
6013
+ root: string;
6014
+ nextAvailableLeafIndex: string | number | bigint;
6015
+ };
6016
+ nullifierTree: {
6017
+ root: string;
6018
+ nextAvailableLeafIndex: string | number | bigint;
6019
+ };
6020
+ publicDataTree: {
6021
+ root: string;
6022
+ nextAvailableLeafIndex: string | number | bigint;
6023
+ };
6024
+ l1ToL2MessageTree: {
6025
+ root: string;
6026
+ nextAvailableLeafIndex: string | number | bigint;
6027
+ };
6028
+ };
6029
+ startGasUsed: {
6030
+ daGas: string | number | bigint;
6031
+ l2Gas: string | number | bigint;
6032
+ };
6033
+ publicSetupCallRequests: {
6034
+ isStaticCall: boolean;
6035
+ calldataHash: string;
6036
+ contractAddress?: any;
6037
+ msgSender?: any;
6038
+ }[];
6039
+ publicAppLogicCallRequests: {
6040
+ isStaticCall: boolean;
6041
+ calldataHash: string;
6042
+ contractAddress?: any;
6043
+ msgSender?: any;
6044
+ }[];
6045
+ previousNonRevertibleAccumulatedDataArrayLengths: {
6046
+ noteHashes: string | number | bigint;
6047
+ nullifiers: string | number | bigint;
6048
+ l2ToL1Msgs: string | number | bigint;
6049
+ };
6050
+ previousRevertibleAccumulatedDataArrayLengths: {
6051
+ noteHashes: string | number | bigint;
6052
+ nullifiers: string | number | bigint;
6053
+ l2ToL1Msgs: string | number | bigint;
6054
+ };
6055
+ previousNonRevertibleAccumulatedData: {
6056
+ noteHashes: string[];
6057
+ nullifiers: string[];
6058
+ l2ToL1Msgs: {
6059
+ message: {
6060
+ counter: number;
6061
+ recipient: string;
6062
+ content: string;
6063
+ };
6064
+ contractAddress?: any;
6065
+ }[];
6066
+ };
6067
+ previousRevertibleAccumulatedData: {
5455
6068
  noteHashes: string[];
5456
6069
  nullifiers: string[];
5457
6070
  l2ToL1Msgs: {
@@ -5462,12 +6075,30 @@ export declare class AvmCircuitInputs {
5462
6075
  };
5463
6076
  contractAddress?: any;
5464
6077
  }[];
5465
- publicLogs: any[];
5466
- publicDataWrites: {
5467
- value: string;
5468
- leafSlot: string;
5469
- }[];
5470
- }>, import("./avm_accumulated_data.js").AvmAccumulatedData, {
6078
+ };
6079
+ endTreeSnapshots: {
6080
+ noteHashTree: {
6081
+ root: string;
6082
+ nextAvailableLeafIndex: string | number | bigint;
6083
+ };
6084
+ nullifierTree: {
6085
+ root: string;
6086
+ nextAvailableLeafIndex: string | number | bigint;
6087
+ };
6088
+ publicDataTree: {
6089
+ root: string;
6090
+ nextAvailableLeafIndex: string | number | bigint;
6091
+ };
6092
+ l1ToL2MessageTree: {
6093
+ root: string;
6094
+ nextAvailableLeafIndex: string | number | bigint;
6095
+ };
6096
+ };
6097
+ endGasUsed: {
6098
+ daGas: string | number | bigint;
6099
+ l2Gas: string | number | bigint;
6100
+ };
6101
+ accumulatedData: {
5471
6102
  noteHashes: string[];
5472
6103
  nullifiers: string[];
5473
6104
  l2ToL1Msgs: {
@@ -5483,28 +6114,10 @@ export declare class AvmCircuitInputs {
5483
6114
  value: string;
5484
6115
  leafSlot: string;
5485
6116
  }[];
5486
- }>;
5487
- transactionFee: z.ZodType<Fr, any, string>;
5488
- reverted: z.ZodBoolean;
5489
- }, "strip", z.ZodTypeAny, {
5490
- globalVariables: import("../tx/global_variables.js").GlobalVariables;
5491
- startTreeSnapshots: import("../tx/tree_snapshots.js").TreeSnapshots;
5492
- startGasUsed: import("../gas/gas.js").Gas;
5493
- gasSettings: import("../gas/gas_settings.js").GasSettings;
5494
- feePayer: AztecAddress;
5495
- publicSetupCallRequests: import("../kernel/public_call_request.js").PublicCallRequest[];
5496
- publicAppLogicCallRequests: import("../kernel/public_call_request.js").PublicCallRequest[];
5497
- publicTeardownCallRequest: import("../kernel/public_call_request.js").PublicCallRequest;
5498
- previousNonRevertibleAccumulatedDataArrayLengths: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedDataArrayLengths;
5499
- previousRevertibleAccumulatedDataArrayLengths: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedDataArrayLengths;
5500
- previousNonRevertibleAccumulatedData: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedData;
5501
- previousRevertibleAccumulatedData: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedData;
5502
- endTreeSnapshots: import("../tx/tree_snapshots.js").TreeSnapshots;
5503
- endGasUsed: import("../gas/gas.js").Gas;
5504
- accumulatedData: import("./avm_accumulated_data.js").AvmAccumulatedData;
5505
- transactionFee: Fr;
6117
+ };
5506
6118
  reverted: boolean;
5507
- }, {
6119
+ feePayer?: any;
6120
+ }>, AvmCircuitPublicInputs, {
5508
6121
  globalVariables: {
5509
6122
  gasFees: {
5510
6123
  feePerDaGas: string;
@@ -5518,28 +6131,6 @@ export declare class AvmCircuitInputs {
5518
6131
  coinbase?: any;
5519
6132
  feeRecipient?: any;
5520
6133
  };
5521
- startTreeSnapshots: {
5522
- l1ToL2MessageTree: {
5523
- root: string;
5524
- nextAvailableLeafIndex: string | number | bigint;
5525
- };
5526
- noteHashTree: {
5527
- root: string;
5528
- nextAvailableLeafIndex: string | number | bigint;
5529
- };
5530
- nullifierTree: {
5531
- root: string;
5532
- nextAvailableLeafIndex: string | number | bigint;
5533
- };
5534
- publicDataTree: {
5535
- root: string;
5536
- nextAvailableLeafIndex: string | number | bigint;
5537
- };
5538
- };
5539
- startGasUsed: {
5540
- daGas: string | number | bigint;
5541
- l2Gas: string | number | bigint;
5542
- };
5543
6134
  gasSettings: {
5544
6135
  gasLimits: {
5545
6136
  daGas: string | number | bigint;
@@ -5558,24 +6149,47 @@ export declare class AvmCircuitInputs {
5558
6149
  feePerL2Gas: string;
5559
6150
  };
5560
6151
  };
5561
- publicSetupCallRequests: {
6152
+ publicTeardownCallRequest: {
5562
6153
  isStaticCall: boolean;
5563
6154
  calldataHash: string;
5564
6155
  contractAddress?: any;
5565
6156
  msgSender?: any;
5566
- }[];
5567
- publicAppLogicCallRequests: {
6157
+ };
6158
+ transactionFee: string;
6159
+ startTreeSnapshots: {
6160
+ noteHashTree: {
6161
+ root: string;
6162
+ nextAvailableLeafIndex: string | number | bigint;
6163
+ };
6164
+ nullifierTree: {
6165
+ root: string;
6166
+ nextAvailableLeafIndex: string | number | bigint;
6167
+ };
6168
+ publicDataTree: {
6169
+ root: string;
6170
+ nextAvailableLeafIndex: string | number | bigint;
6171
+ };
6172
+ l1ToL2MessageTree: {
6173
+ root: string;
6174
+ nextAvailableLeafIndex: string | number | bigint;
6175
+ };
6176
+ };
6177
+ startGasUsed: {
6178
+ daGas: string | number | bigint;
6179
+ l2Gas: string | number | bigint;
6180
+ };
6181
+ publicSetupCallRequests: {
5568
6182
  isStaticCall: boolean;
5569
6183
  calldataHash: string;
5570
6184
  contractAddress?: any;
5571
6185
  msgSender?: any;
5572
6186
  }[];
5573
- publicTeardownCallRequest: {
6187
+ publicAppLogicCallRequests: {
5574
6188
  isStaticCall: boolean;
5575
6189
  calldataHash: string;
5576
6190
  contractAddress?: any;
5577
6191
  msgSender?: any;
5578
- };
6192
+ }[];
5579
6193
  previousNonRevertibleAccumulatedDataArrayLengths: {
5580
6194
  noteHashes: string | number | bigint;
5581
6195
  nullifiers: string | number | bigint;
@@ -5611,10 +6225,6 @@ export declare class AvmCircuitInputs {
5611
6225
  }[];
5612
6226
  };
5613
6227
  endTreeSnapshots: {
5614
- l1ToL2MessageTree: {
5615
- root: string;
5616
- nextAvailableLeafIndex: string | number | bigint;
5617
- };
5618
6228
  noteHashTree: {
5619
6229
  root: string;
5620
6230
  nextAvailableLeafIndex: string | number | bigint;
@@ -5627,6 +6237,10 @@ export declare class AvmCircuitInputs {
5627
6237
  root: string;
5628
6238
  nextAvailableLeafIndex: string | number | bigint;
5629
6239
  };
6240
+ l1ToL2MessageTree: {
6241
+ root: string;
6242
+ nextAvailableLeafIndex: string | number | bigint;
6243
+ };
5630
6244
  };
5631
6245
  endGasUsed: {
5632
6246
  daGas: string | number | bigint;
@@ -5649,10 +6263,16 @@ export declare class AvmCircuitInputs {
5649
6263
  leafSlot: string;
5650
6264
  }[];
5651
6265
  };
5652
- transactionFee: string;
5653
6266
  reverted: boolean;
5654
6267
  feePayer?: any;
5655
- }>, AvmCircuitPublicInputs, {
6268
+ }>;
6269
+ }, "strip", z.ZodTypeAny, {
6270
+ publicInputs: AvmCircuitPublicInputs;
6271
+ calldata: Fr[];
6272
+ functionName: string;
6273
+ hints: AvmExecutionHints;
6274
+ }, {
6275
+ publicInputs: {
5656
6276
  globalVariables: {
5657
6277
  gasFees: {
5658
6278
  feePerDaGas: string;
@@ -5666,28 +6286,6 @@ export declare class AvmCircuitInputs {
5666
6286
  coinbase?: any;
5667
6287
  feeRecipient?: any;
5668
6288
  };
5669
- startTreeSnapshots: {
5670
- l1ToL2MessageTree: {
5671
- root: string;
5672
- nextAvailableLeafIndex: string | number | bigint;
5673
- };
5674
- noteHashTree: {
5675
- root: string;
5676
- nextAvailableLeafIndex: string | number | bigint;
5677
- };
5678
- nullifierTree: {
5679
- root: string;
5680
- nextAvailableLeafIndex: string | number | bigint;
5681
- };
5682
- publicDataTree: {
5683
- root: string;
5684
- nextAvailableLeafIndex: string | number | bigint;
5685
- };
5686
- };
5687
- startGasUsed: {
5688
- daGas: string | number | bigint;
5689
- l2Gas: string | number | bigint;
5690
- };
5691
6289
  gasSettings: {
5692
6290
  gasLimits: {
5693
6291
  daGas: string | number | bigint;
@@ -5706,24 +6304,47 @@ export declare class AvmCircuitInputs {
5706
6304
  feePerL2Gas: string;
5707
6305
  };
5708
6306
  };
5709
- publicSetupCallRequests: {
6307
+ publicTeardownCallRequest: {
5710
6308
  isStaticCall: boolean;
5711
6309
  calldataHash: string;
5712
6310
  contractAddress?: any;
5713
6311
  msgSender?: any;
5714
- }[];
5715
- publicAppLogicCallRequests: {
6312
+ };
6313
+ transactionFee: string;
6314
+ startTreeSnapshots: {
6315
+ noteHashTree: {
6316
+ root: string;
6317
+ nextAvailableLeafIndex: string | number | bigint;
6318
+ };
6319
+ nullifierTree: {
6320
+ root: string;
6321
+ nextAvailableLeafIndex: string | number | bigint;
6322
+ };
6323
+ publicDataTree: {
6324
+ root: string;
6325
+ nextAvailableLeafIndex: string | number | bigint;
6326
+ };
6327
+ l1ToL2MessageTree: {
6328
+ root: string;
6329
+ nextAvailableLeafIndex: string | number | bigint;
6330
+ };
6331
+ };
6332
+ startGasUsed: {
6333
+ daGas: string | number | bigint;
6334
+ l2Gas: string | number | bigint;
6335
+ };
6336
+ publicSetupCallRequests: {
5716
6337
  isStaticCall: boolean;
5717
6338
  calldataHash: string;
5718
6339
  contractAddress?: any;
5719
6340
  msgSender?: any;
5720
6341
  }[];
5721
- publicTeardownCallRequest: {
6342
+ publicAppLogicCallRequests: {
5722
6343
  isStaticCall: boolean;
5723
6344
  calldataHash: string;
5724
6345
  contractAddress?: any;
5725
6346
  msgSender?: any;
5726
- };
6347
+ }[];
5727
6348
  previousNonRevertibleAccumulatedDataArrayLengths: {
5728
6349
  noteHashes: string | number | bigint;
5729
6350
  nullifiers: string | number | bigint;
@@ -5759,10 +6380,6 @@ export declare class AvmCircuitInputs {
5759
6380
  }[];
5760
6381
  };
5761
6382
  endTreeSnapshots: {
5762
- l1ToL2MessageTree: {
5763
- root: string;
5764
- nextAvailableLeafIndex: string | number | bigint;
5765
- };
5766
6383
  noteHashTree: {
5767
6384
  root: string;
5768
6385
  nextAvailableLeafIndex: string | number | bigint;
@@ -5775,6 +6392,10 @@ export declare class AvmCircuitInputs {
5775
6392
  root: string;
5776
6393
  nextAvailableLeafIndex: string | number | bigint;
5777
6394
  };
6395
+ l1ToL2MessageTree: {
6396
+ root: string;
6397
+ nextAvailableLeafIndex: string | number | bigint;
6398
+ };
5778
6399
  };
5779
6400
  endGasUsed: {
5780
6401
  daGas: string | number | bigint;
@@ -5797,36 +6418,51 @@ export declare class AvmCircuitInputs {
5797
6418
  leafSlot: string;
5798
6419
  }[];
5799
6420
  };
5800
- transactionFee: string;
5801
6421
  reverted: boolean;
5802
6422
  feePayer?: any;
5803
- }>;
5804
- }, "strip", z.ZodTypeAny, {
5805
- calldata: Fr[];
5806
- functionName: string;
5807
- hints: AvmExecutionHints;
5808
- publicInputs: AvmCircuitPublicInputs;
5809
- }, {
6423
+ };
5810
6424
  calldata: string[];
5811
6425
  functionName: string;
5812
6426
  hints: {
5813
- enqueuedCalls: {
5814
- isStaticCall: boolean;
5815
- calldata: string[];
5816
- contractAddress?: any;
5817
- msgSender?: any;
5818
- }[];
6427
+ tx: {
6428
+ nonRevertibleAccumulatedData: {
6429
+ noteHashes: string[];
6430
+ nullifiers: string[];
6431
+ };
6432
+ revertibleAccumulatedData: {
6433
+ noteHashes: string[];
6434
+ nullifiers: string[];
6435
+ };
6436
+ setupEnqueuedCalls: {
6437
+ isStaticCall: boolean;
6438
+ calldata: string[];
6439
+ contractAddress?: any;
6440
+ msgSender?: any;
6441
+ }[];
6442
+ appLogicEnqueuedCalls: {
6443
+ isStaticCall: boolean;
6444
+ calldata: string[];
6445
+ contractAddress?: any;
6446
+ msgSender?: any;
6447
+ }[];
6448
+ teardownEnqueuedCall: {
6449
+ isStaticCall: boolean;
6450
+ calldata: string[];
6451
+ contractAddress?: any;
6452
+ msgSender?: any;
6453
+ } | null;
6454
+ };
5819
6455
  contractInstances: {
5820
- salt: string;
5821
- currentContractClassId: string;
5822
- originalContractClassId: string;
5823
- initializationHash: string;
5824
6456
  publicKeys: {
5825
6457
  masterNullifierPublicKey: string;
5826
6458
  masterIncomingViewingPublicKey: string;
5827
6459
  masterOutgoingViewingPublicKey: string;
5828
6460
  masterTaggingPublicKey: string;
5829
6461
  };
6462
+ salt: string;
6463
+ currentContractClassId: string;
6464
+ originalContractClassId: string;
6465
+ initializationHash: string;
5830
6466
  address?: any;
5831
6467
  deployer?: any;
5832
6468
  }[];
@@ -5855,19 +6491,15 @@ export declare class AvmCircuitInputs {
5855
6491
  getPreviousValueIndexHints: {
5856
6492
  value: string;
5857
6493
  index: string | number | bigint;
6494
+ alreadyPresent: boolean;
5858
6495
  hintKey: {
5859
6496
  root: string;
5860
6497
  nextAvailableLeafIndex: string | number | bigint;
5861
6498
  };
5862
6499
  treeId: number;
5863
- alreadyPresent: boolean;
5864
6500
  }[];
5865
6501
  getLeafPreimageHintsPublicDataTree: {
5866
6502
  index: string | number | bigint;
5867
- hintKey: {
5868
- root: string;
5869
- nextAvailableLeafIndex: string | number | bigint;
5870
- };
5871
6503
  leafPreimage: {
5872
6504
  leaf: {
5873
6505
  nullifier: string;
@@ -5882,13 +6514,13 @@ export declare class AvmCircuitInputs {
5882
6514
  nextKey: string;
5883
6515
  nextIndex: string | number | bigint;
5884
6516
  };
5885
- }[];
5886
- getLeafPreimageHintsNullifierTree: {
5887
- index: string | number | bigint;
5888
6517
  hintKey: {
5889
6518
  root: string;
5890
6519
  nextAvailableLeafIndex: string | number | bigint;
5891
6520
  };
6521
+ }[];
6522
+ getLeafPreimageHintsNullifierTree: {
6523
+ index: string | number | bigint;
5892
6524
  leafPreimage: {
5893
6525
  leaf: {
5894
6526
  nullifier: string;
@@ -5903,6 +6535,10 @@ export declare class AvmCircuitInputs {
5903
6535
  nextKey: string;
5904
6536
  nextIndex: string | number | bigint;
5905
6537
  };
6538
+ hintKey: {
6539
+ root: string;
6540
+ nextAvailableLeafIndex: string | number | bigint;
6541
+ };
5906
6542
  }[];
5907
6543
  getLeafValueHints: {
5908
6544
  value: string;
@@ -6020,6 +6656,7 @@ export declare class AvmCircuitInputs {
6020
6656
  };
6021
6657
  }[];
6022
6658
  };
6659
+ }>, AvmCircuitInputs, {
6023
6660
  publicInputs: {
6024
6661
  globalVariables: {
6025
6662
  gasFees: {
@@ -6034,28 +6671,6 @@ export declare class AvmCircuitInputs {
6034
6671
  coinbase?: any;
6035
6672
  feeRecipient?: any;
6036
6673
  };
6037
- startTreeSnapshots: {
6038
- l1ToL2MessageTree: {
6039
- root: string;
6040
- nextAvailableLeafIndex: string | number | bigint;
6041
- };
6042
- noteHashTree: {
6043
- root: string;
6044
- nextAvailableLeafIndex: string | number | bigint;
6045
- };
6046
- nullifierTree: {
6047
- root: string;
6048
- nextAvailableLeafIndex: string | number | bigint;
6049
- };
6050
- publicDataTree: {
6051
- root: string;
6052
- nextAvailableLeafIndex: string | number | bigint;
6053
- };
6054
- };
6055
- startGasUsed: {
6056
- daGas: string | number | bigint;
6057
- l2Gas: string | number | bigint;
6058
- };
6059
6674
  gasSettings: {
6060
6675
  gasLimits: {
6061
6676
  daGas: string | number | bigint;
@@ -6074,24 +6689,47 @@ export declare class AvmCircuitInputs {
6074
6689
  feePerL2Gas: string;
6075
6690
  };
6076
6691
  };
6077
- publicSetupCallRequests: {
6692
+ publicTeardownCallRequest: {
6078
6693
  isStaticCall: boolean;
6079
6694
  calldataHash: string;
6080
6695
  contractAddress?: any;
6081
6696
  msgSender?: any;
6082
- }[];
6083
- publicAppLogicCallRequests: {
6697
+ };
6698
+ transactionFee: string;
6699
+ startTreeSnapshots: {
6700
+ noteHashTree: {
6701
+ root: string;
6702
+ nextAvailableLeafIndex: string | number | bigint;
6703
+ };
6704
+ nullifierTree: {
6705
+ root: string;
6706
+ nextAvailableLeafIndex: string | number | bigint;
6707
+ };
6708
+ publicDataTree: {
6709
+ root: string;
6710
+ nextAvailableLeafIndex: string | number | bigint;
6711
+ };
6712
+ l1ToL2MessageTree: {
6713
+ root: string;
6714
+ nextAvailableLeafIndex: string | number | bigint;
6715
+ };
6716
+ };
6717
+ startGasUsed: {
6718
+ daGas: string | number | bigint;
6719
+ l2Gas: string | number | bigint;
6720
+ };
6721
+ publicSetupCallRequests: {
6084
6722
  isStaticCall: boolean;
6085
6723
  calldataHash: string;
6086
6724
  contractAddress?: any;
6087
6725
  msgSender?: any;
6088
6726
  }[];
6089
- publicTeardownCallRequest: {
6727
+ publicAppLogicCallRequests: {
6090
6728
  isStaticCall: boolean;
6091
6729
  calldataHash: string;
6092
6730
  contractAddress?: any;
6093
6731
  msgSender?: any;
6094
- };
6732
+ }[];
6095
6733
  previousNonRevertibleAccumulatedDataArrayLengths: {
6096
6734
  noteHashes: string | number | bigint;
6097
6735
  nullifiers: string | number | bigint;
@@ -6127,10 +6765,6 @@ export declare class AvmCircuitInputs {
6127
6765
  }[];
6128
6766
  };
6129
6767
  endTreeSnapshots: {
6130
- l1ToL2MessageTree: {
6131
- root: string;
6132
- nextAvailableLeafIndex: string | number | bigint;
6133
- };
6134
6768
  noteHashTree: {
6135
6769
  root: string;
6136
6770
  nextAvailableLeafIndex: string | number | bigint;
@@ -6143,6 +6777,10 @@ export declare class AvmCircuitInputs {
6143
6777
  root: string;
6144
6778
  nextAvailableLeafIndex: string | number | bigint;
6145
6779
  };
6780
+ l1ToL2MessageTree: {
6781
+ root: string;
6782
+ nextAvailableLeafIndex: string | number | bigint;
6783
+ };
6146
6784
  };
6147
6785
  endGasUsed: {
6148
6786
  daGas: string | number | bigint;
@@ -6165,31 +6803,51 @@ export declare class AvmCircuitInputs {
6165
6803
  leafSlot: string;
6166
6804
  }[];
6167
6805
  };
6168
- transactionFee: string;
6169
6806
  reverted: boolean;
6170
6807
  feePayer?: any;
6171
6808
  };
6172
- }>, AvmCircuitInputs, {
6173
6809
  calldata: string[];
6174
6810
  functionName: string;
6175
6811
  hints: {
6176
- enqueuedCalls: {
6177
- isStaticCall: boolean;
6178
- calldata: string[];
6179
- contractAddress?: any;
6180
- msgSender?: any;
6181
- }[];
6812
+ tx: {
6813
+ nonRevertibleAccumulatedData: {
6814
+ noteHashes: string[];
6815
+ nullifiers: string[];
6816
+ };
6817
+ revertibleAccumulatedData: {
6818
+ noteHashes: string[];
6819
+ nullifiers: string[];
6820
+ };
6821
+ setupEnqueuedCalls: {
6822
+ isStaticCall: boolean;
6823
+ calldata: string[];
6824
+ contractAddress?: any;
6825
+ msgSender?: any;
6826
+ }[];
6827
+ appLogicEnqueuedCalls: {
6828
+ isStaticCall: boolean;
6829
+ calldata: string[];
6830
+ contractAddress?: any;
6831
+ msgSender?: any;
6832
+ }[];
6833
+ teardownEnqueuedCall: {
6834
+ isStaticCall: boolean;
6835
+ calldata: string[];
6836
+ contractAddress?: any;
6837
+ msgSender?: any;
6838
+ } | null;
6839
+ };
6182
6840
  contractInstances: {
6183
- salt: string;
6184
- currentContractClassId: string;
6185
- originalContractClassId: string;
6186
- initializationHash: string;
6187
6841
  publicKeys: {
6188
6842
  masterNullifierPublicKey: string;
6189
6843
  masterIncomingViewingPublicKey: string;
6190
6844
  masterOutgoingViewingPublicKey: string;
6191
6845
  masterTaggingPublicKey: string;
6192
6846
  };
6847
+ salt: string;
6848
+ currentContractClassId: string;
6849
+ originalContractClassId: string;
6850
+ initializationHash: string;
6193
6851
  address?: any;
6194
6852
  deployer?: any;
6195
6853
  }[];
@@ -6218,19 +6876,15 @@ export declare class AvmCircuitInputs {
6218
6876
  getPreviousValueIndexHints: {
6219
6877
  value: string;
6220
6878
  index: string | number | bigint;
6879
+ alreadyPresent: boolean;
6221
6880
  hintKey: {
6222
6881
  root: string;
6223
6882
  nextAvailableLeafIndex: string | number | bigint;
6224
6883
  };
6225
6884
  treeId: number;
6226
- alreadyPresent: boolean;
6227
6885
  }[];
6228
6886
  getLeafPreimageHintsPublicDataTree: {
6229
6887
  index: string | number | bigint;
6230
- hintKey: {
6231
- root: string;
6232
- nextAvailableLeafIndex: string | number | bigint;
6233
- };
6234
6888
  leafPreimage: {
6235
6889
  leaf: {
6236
6890
  nullifier: string;
@@ -6245,13 +6899,13 @@ export declare class AvmCircuitInputs {
6245
6899
  nextKey: string;
6246
6900
  nextIndex: string | number | bigint;
6247
6901
  };
6248
- }[];
6249
- getLeafPreimageHintsNullifierTree: {
6250
- index: string | number | bigint;
6251
6902
  hintKey: {
6252
6903
  root: string;
6253
6904
  nextAvailableLeafIndex: string | number | bigint;
6254
6905
  };
6906
+ }[];
6907
+ getLeafPreimageHintsNullifierTree: {
6908
+ index: string | number | bigint;
6255
6909
  leafPreimage: {
6256
6910
  leaf: {
6257
6911
  nullifier: string;
@@ -6266,6 +6920,10 @@ export declare class AvmCircuitInputs {
6266
6920
  nextKey: string;
6267
6921
  nextIndex: string | number | bigint;
6268
6922
  };
6923
+ hintKey: {
6924
+ root: string;
6925
+ nextAvailableLeafIndex: string | number | bigint;
6926
+ };
6269
6927
  }[];
6270
6928
  getLeafValueHints: {
6271
6929
  value: string;
@@ -6383,155 +7041,6 @@ export declare class AvmCircuitInputs {
6383
7041
  };
6384
7042
  }[];
6385
7043
  };
6386
- publicInputs: {
6387
- globalVariables: {
6388
- gasFees: {
6389
- feePerDaGas: string;
6390
- feePerL2Gas: string;
6391
- };
6392
- chainId?: any;
6393
- version?: any;
6394
- blockNumber?: any;
6395
- slotNumber?: any;
6396
- timestamp?: any;
6397
- coinbase?: any;
6398
- feeRecipient?: any;
6399
- };
6400
- startTreeSnapshots: {
6401
- l1ToL2MessageTree: {
6402
- root: string;
6403
- nextAvailableLeafIndex: string | number | bigint;
6404
- };
6405
- noteHashTree: {
6406
- root: string;
6407
- nextAvailableLeafIndex: string | number | bigint;
6408
- };
6409
- nullifierTree: {
6410
- root: string;
6411
- nextAvailableLeafIndex: string | number | bigint;
6412
- };
6413
- publicDataTree: {
6414
- root: string;
6415
- nextAvailableLeafIndex: string | number | bigint;
6416
- };
6417
- };
6418
- startGasUsed: {
6419
- daGas: string | number | bigint;
6420
- l2Gas: string | number | bigint;
6421
- };
6422
- gasSettings: {
6423
- gasLimits: {
6424
- daGas: string | number | bigint;
6425
- l2Gas: string | number | bigint;
6426
- };
6427
- teardownGasLimits: {
6428
- daGas: string | number | bigint;
6429
- l2Gas: string | number | bigint;
6430
- };
6431
- maxFeesPerGas: {
6432
- feePerDaGas: string;
6433
- feePerL2Gas: string;
6434
- };
6435
- maxPriorityFeesPerGas: {
6436
- feePerDaGas: string;
6437
- feePerL2Gas: string;
6438
- };
6439
- };
6440
- publicSetupCallRequests: {
6441
- isStaticCall: boolean;
6442
- calldataHash: string;
6443
- contractAddress?: any;
6444
- msgSender?: any;
6445
- }[];
6446
- publicAppLogicCallRequests: {
6447
- isStaticCall: boolean;
6448
- calldataHash: string;
6449
- contractAddress?: any;
6450
- msgSender?: any;
6451
- }[];
6452
- publicTeardownCallRequest: {
6453
- isStaticCall: boolean;
6454
- calldataHash: string;
6455
- contractAddress?: any;
6456
- msgSender?: any;
6457
- };
6458
- previousNonRevertibleAccumulatedDataArrayLengths: {
6459
- noteHashes: string | number | bigint;
6460
- nullifiers: string | number | bigint;
6461
- l2ToL1Msgs: string | number | bigint;
6462
- };
6463
- previousRevertibleAccumulatedDataArrayLengths: {
6464
- noteHashes: string | number | bigint;
6465
- nullifiers: string | number | bigint;
6466
- l2ToL1Msgs: string | number | bigint;
6467
- };
6468
- previousNonRevertibleAccumulatedData: {
6469
- noteHashes: string[];
6470
- nullifiers: string[];
6471
- l2ToL1Msgs: {
6472
- message: {
6473
- counter: number;
6474
- recipient: string;
6475
- content: string;
6476
- };
6477
- contractAddress?: any;
6478
- }[];
6479
- };
6480
- previousRevertibleAccumulatedData: {
6481
- noteHashes: string[];
6482
- nullifiers: string[];
6483
- l2ToL1Msgs: {
6484
- message: {
6485
- counter: number;
6486
- recipient: string;
6487
- content: string;
6488
- };
6489
- contractAddress?: any;
6490
- }[];
6491
- };
6492
- endTreeSnapshots: {
6493
- l1ToL2MessageTree: {
6494
- root: string;
6495
- nextAvailableLeafIndex: string | number | bigint;
6496
- };
6497
- noteHashTree: {
6498
- root: string;
6499
- nextAvailableLeafIndex: string | number | bigint;
6500
- };
6501
- nullifierTree: {
6502
- root: string;
6503
- nextAvailableLeafIndex: string | number | bigint;
6504
- };
6505
- publicDataTree: {
6506
- root: string;
6507
- nextAvailableLeafIndex: string | number | bigint;
6508
- };
6509
- };
6510
- endGasUsed: {
6511
- daGas: string | number | bigint;
6512
- l2Gas: string | number | bigint;
6513
- };
6514
- accumulatedData: {
6515
- noteHashes: string[];
6516
- nullifiers: string[];
6517
- l2ToL1Msgs: {
6518
- message: {
6519
- counter: number;
6520
- recipient: string;
6521
- content: string;
6522
- };
6523
- contractAddress?: any;
6524
- }[];
6525
- publicLogs: any[];
6526
- publicDataWrites: {
6527
- value: string;
6528
- leafSlot: string;
6529
- }[];
6530
- };
6531
- transactionFee: string;
6532
- reverted: boolean;
6533
- feePayer?: any;
6534
- };
6535
7044
  }>;
6536
7045
  serializeWithMessagePack(): Buffer;
6537
7046
  toBuffer(): Buffer;