@aztec/stdlib 1.0.0-nightly.20250611 → 1.0.0-nightly.20250613

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 (107) hide show
  1. package/dest/avm/avm.d.ts +98 -79
  2. package/dest/avm/avm.d.ts.map +1 -1
  3. package/dest/avm/avm.js +8 -5
  4. package/dest/avm/avm_accumulated_data.d.ts +6 -6
  5. package/dest/avm/avm_circuit_public_inputs.d.ts +22 -22
  6. package/dest/avm/avm_proving_request.d.ts +65 -56
  7. package/dest/avm/avm_proving_request.d.ts.map +1 -1
  8. package/dest/block/l2_block.d.ts +1 -1
  9. package/dest/block/l2_block.d.ts.map +1 -1
  10. package/dest/block/l2_block.js +2 -2
  11. package/dest/block/l2_block_code_to_purge.d.ts +2 -1
  12. package/dest/block/l2_block_code_to_purge.d.ts.map +1 -1
  13. package/dest/block/l2_block_code_to_purge.js +6 -7
  14. package/dest/contract/interfaces/contract_data_source.d.ts +1 -1
  15. package/dest/contract/interfaces/contract_data_source.d.ts.map +1 -1
  16. package/dest/interfaces/api_limit.d.ts +4 -0
  17. package/dest/interfaces/api_limit.d.ts.map +1 -0
  18. package/dest/interfaces/api_limit.js +3 -0
  19. package/dest/interfaces/archiver.js +2 -2
  20. package/dest/interfaces/aztec-node.d.ts +39 -26
  21. package/dest/interfaces/aztec-node.d.ts.map +1 -1
  22. package/dest/interfaces/aztec-node.js +21 -15
  23. package/dest/interfaces/l2_logs_source.d.ts +2 -1
  24. package/dest/interfaces/l2_logs_source.d.ts.map +1 -1
  25. package/dest/interfaces/p2p.d.ts +4 -1
  26. package/dest/interfaces/p2p.d.ts.map +1 -1
  27. package/dest/interfaces/p2p.js +3 -1
  28. package/dest/interfaces/proving-job.d.ts +65 -56
  29. package/dest/interfaces/proving-job.d.ts.map +1 -1
  30. package/dest/logs/index.d.ts +1 -0
  31. package/dest/logs/index.d.ts.map +1 -1
  32. package/dest/logs/index.js +1 -0
  33. package/dest/logs/message_context.d.ts +32 -0
  34. package/dest/logs/message_context.d.ts.map +1 -0
  35. package/dest/logs/message_context.js +61 -0
  36. package/dest/logs/pending_tagged_log.d.ts +1 -4
  37. package/dest/logs/pending_tagged_log.d.ts.map +1 -1
  38. package/dest/logs/pending_tagged_log.js +5 -13
  39. package/dest/messaging/inbox_leaf.d.ts +2 -2
  40. package/dest/messaging/inbox_leaf.d.ts.map +1 -1
  41. package/dest/messaging/inbox_leaf.js +4 -4
  42. package/dest/messaging/l1_to_l2_message_source.d.ts +1 -1
  43. package/dest/p2p/block_attestation.d.ts +4 -3
  44. package/dest/p2p/block_attestation.d.ts.map +1 -1
  45. package/dest/p2p/block_attestation.js +5 -5
  46. package/dest/p2p/block_proposal.d.ts +4 -3
  47. package/dest/p2p/block_proposal.d.ts.map +1 -1
  48. package/dest/p2p/block_proposal.js +2 -3
  49. package/dest/tests/factories.d.ts.map +1 -1
  50. package/dest/tests/factories.js +11 -11
  51. package/dest/tests/mocks.js +1 -1
  52. package/dest/trees/nullifier_membership_witness.d.ts +2 -1
  53. package/dest/trees/nullifier_membership_witness.d.ts.map +1 -1
  54. package/dest/trees/nullifier_membership_witness.js +4 -1
  55. package/dest/trees/public_data_witness.d.ts +2 -1
  56. package/dest/trees/public_data_witness.d.ts.map +1 -1
  57. package/dest/trees/public_data_witness.js +4 -1
  58. package/dest/tx/block_header.d.ts +1 -2
  59. package/dest/tx/block_header.d.ts.map +1 -1
  60. package/dest/tx/block_header.js +5 -6
  61. package/dest/tx/content_commitment.d.ts +20 -79
  62. package/dest/tx/content_commitment.d.ts.map +1 -1
  63. package/dest/tx/content_commitment.js +33 -61
  64. package/dest/tx/global_variable_builder.d.ts +2 -2
  65. package/dest/tx/global_variable_builder.d.ts.map +1 -1
  66. package/dest/tx/global_variables.d.ts +16 -15
  67. package/dest/tx/global_variables.d.ts.map +1 -1
  68. package/dest/tx/global_variables.js +22 -13
  69. package/dest/tx/max_block_number.d.ts +4 -3
  70. package/dest/tx/max_block_number.d.ts.map +1 -1
  71. package/dest/tx/max_block_number.js +4 -5
  72. package/dest/tx/private_execution_result.d.ts +2 -1
  73. package/dest/tx/private_execution_result.d.ts.map +1 -1
  74. package/dest/tx/private_execution_result.js +1 -1
  75. package/dest/tx/proposed_block_header.d.ts +0 -1
  76. package/dest/tx/proposed_block_header.d.ts.map +1 -1
  77. package/dest/tx/tx_effect.d.ts +0 -1
  78. package/dest/tx/tx_effect.d.ts.map +1 -1
  79. package/dest/tx/tx_effect.js +0 -1
  80. package/package.json +7 -7
  81. package/src/avm/avm.ts +6 -0
  82. package/src/block/l2_block.ts +3 -3
  83. package/src/block/l2_block_code_to_purge.ts +7 -23
  84. package/src/contract/interfaces/contract_data_source.ts +2 -1
  85. package/src/interfaces/api_limit.ts +3 -0
  86. package/src/interfaces/archiver.ts +2 -2
  87. package/src/interfaces/aztec-node.ts +106 -52
  88. package/src/interfaces/l2_logs_source.ts +2 -1
  89. package/src/interfaces/p2p.ts +10 -2
  90. package/src/logs/index.ts +1 -0
  91. package/src/logs/message_context.ts +67 -0
  92. package/src/logs/pending_tagged_log.ts +12 -13
  93. package/src/messaging/inbox_leaf.ts +4 -4
  94. package/src/messaging/l1_to_l2_message_source.ts +1 -1
  95. package/src/p2p/block_attestation.ts +7 -10
  96. package/src/p2p/block_proposal.ts +5 -4
  97. package/src/tests/factories.ts +11 -15
  98. package/src/tests/mocks.ts +1 -1
  99. package/src/trees/nullifier_membership_witness.ts +5 -1
  100. package/src/trees/public_data_witness.ts +5 -1
  101. package/src/tx/block_header.ts +5 -6
  102. package/src/tx/content_commitment.ts +38 -94
  103. package/src/tx/global_variable_builder.ts +2 -2
  104. package/src/tx/global_variables.ts +35 -19
  105. package/src/tx/max_block_number.ts +7 -5
  106. package/src/tx/private_execution_result.ts +3 -2
  107. package/src/tx/tx_effect.ts +0 -1
package/dest/avm/avm.d.ts CHANGED
@@ -1766,6 +1766,7 @@ export declare class AvmTxHint {
1766
1766
  readonly appLogicEnqueuedCalls: AvmEnqueuedCallHint[];
1767
1767
  readonly teardownEnqueuedCall: AvmEnqueuedCallHint | null;
1768
1768
  readonly gasUsedByPrivate: Gas;
1769
+ readonly feePayer: AztecAddress;
1769
1770
  constructor(hash: string, globalVariables: GlobalVariables, gasSettings: GasSettings, effectiveGasFees: GasFees, nonRevertibleAccumulatedData: {
1770
1771
  noteHashes: Fr[];
1771
1772
  nullifiers: Fr[];
@@ -1774,7 +1775,7 @@ export declare class AvmTxHint {
1774
1775
  noteHashes: Fr[];
1775
1776
  nullifiers: Fr[];
1776
1777
  l2ToL1Messages: ScopedL2ToL1Message[];
1777
- }, setupEnqueuedCalls: AvmEnqueuedCallHint[], appLogicEnqueuedCalls: AvmEnqueuedCallHint[], teardownEnqueuedCall: AvmEnqueuedCallHint | null, gasUsedByPrivate: Gas);
1778
+ }, setupEnqueuedCalls: AvmEnqueuedCallHint[], appLogicEnqueuedCalls: AvmEnqueuedCallHint[], teardownEnqueuedCall: AvmEnqueuedCallHint | null, gasUsedByPrivate: Gas, feePayer: AztecAddress);
1778
1779
  static fromTx(tx: Tx): Promise<AvmTxHint>;
1779
1780
  static empty(): AvmTxHint;
1780
1781
  static get schema(): z.ZodEffects<z.ZodObject<{
@@ -1782,9 +1783,9 @@ export declare class AvmTxHint {
1782
1783
  globalVariables: z.ZodEffects<z.ZodObject<{
1783
1784
  chainId: import("@aztec/foundation/schemas").ZodFor<Fr>;
1784
1785
  version: import("@aztec/foundation/schemas").ZodFor<Fr>;
1785
- blockNumber: import("@aztec/foundation/schemas").ZodFor<Fr>;
1786
+ blockNumber: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1786
1787
  slotNumber: import("@aztec/foundation/schemas").ZodFor<Fr>;
1787
- timestamp: import("@aztec/foundation/schemas").ZodFor<Fr>;
1788
+ timestamp: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1788
1789
  coinbase: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").EthAddress>;
1789
1790
  feeRecipient: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
1790
1791
  gasFees: z.ZodEffects<z.ZodObject<{
@@ -1803,34 +1804,34 @@ export declare class AvmTxHint {
1803
1804
  }, "strip", z.ZodTypeAny, {
1804
1805
  chainId: Fr;
1805
1806
  version: Fr;
1806
- blockNumber: Fr;
1807
+ blockNumber: number;
1807
1808
  slotNumber: Fr;
1808
- timestamp: Fr;
1809
+ timestamp: bigint;
1809
1810
  coinbase: import("@aztec/foundation/schemas").EthAddress;
1810
1811
  feeRecipient: AztecAddress;
1811
1812
  gasFees: GasFees;
1812
1813
  }, {
1814
+ blockNumber: string | number | bigint;
1815
+ timestamp: string | number | bigint;
1813
1816
  gasFees: {
1814
1817
  feePerDaGas: string | number | bigint;
1815
1818
  feePerL2Gas: string | number | bigint;
1816
1819
  };
1817
1820
  chainId?: any;
1818
1821
  version?: any;
1819
- blockNumber?: any;
1820
1822
  slotNumber?: any;
1821
- timestamp?: any;
1822
1823
  coinbase?: any;
1823
1824
  feeRecipient?: any;
1824
1825
  }>, GlobalVariables, {
1826
+ blockNumber: string | number | bigint;
1827
+ timestamp: string | number | bigint;
1825
1828
  gasFees: {
1826
1829
  feePerDaGas: string | number | bigint;
1827
1830
  feePerL2Gas: string | number | bigint;
1828
1831
  };
1829
1832
  chainId?: any;
1830
1833
  version?: any;
1831
- blockNumber?: any;
1832
1834
  slotNumber?: any;
1833
- timestamp?: any;
1834
1835
  coinbase?: any;
1835
1836
  feeRecipient?: any;
1836
1837
  }>;
@@ -2114,10 +2115,12 @@ export declare class AvmTxHint {
2114
2115
  daGas: string | number | bigint;
2115
2116
  l2Gas: string | number | bigint;
2116
2117
  }>;
2118
+ feePayer: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2117
2119
  }, "strip", z.ZodTypeAny, {
2118
2120
  hash: string;
2119
2121
  globalVariables: GlobalVariables;
2120
2122
  gasSettings: GasSettings;
2123
+ feePayer: AztecAddress;
2121
2124
  nonRevertibleAccumulatedData: {
2122
2125
  noteHashes: Fr[];
2123
2126
  nullifiers: Fr[];
@@ -2136,15 +2139,15 @@ export declare class AvmTxHint {
2136
2139
  }, {
2137
2140
  hash: string;
2138
2141
  globalVariables: {
2142
+ blockNumber: string | number | bigint;
2143
+ timestamp: string | number | bigint;
2139
2144
  gasFees: {
2140
2145
  feePerDaGas: string | number | bigint;
2141
2146
  feePerL2Gas: string | number | bigint;
2142
2147
  };
2143
2148
  chainId?: any;
2144
2149
  version?: any;
2145
- blockNumber?: any;
2146
2150
  slotNumber?: any;
2147
- timestamp?: any;
2148
2151
  coinbase?: any;
2149
2152
  feeRecipient?: any;
2150
2153
  };
@@ -2214,18 +2217,19 @@ export declare class AvmTxHint {
2214
2217
  daGas: string | number | bigint;
2215
2218
  l2Gas: string | number | bigint;
2216
2219
  };
2220
+ feePayer?: any;
2217
2221
  }>, AvmTxHint, {
2218
2222
  hash: string;
2219
2223
  globalVariables: {
2224
+ blockNumber: string | number | bigint;
2225
+ timestamp: string | number | bigint;
2220
2226
  gasFees: {
2221
2227
  feePerDaGas: string | number | bigint;
2222
2228
  feePerL2Gas: string | number | bigint;
2223
2229
  };
2224
2230
  chainId?: any;
2225
2231
  version?: any;
2226
- blockNumber?: any;
2227
2232
  slotNumber?: any;
2228
- timestamp?: any;
2229
2233
  coinbase?: any;
2230
2234
  feeRecipient?: any;
2231
2235
  };
@@ -2295,6 +2299,7 @@ export declare class AvmTxHint {
2295
2299
  daGas: string | number | bigint;
2296
2300
  l2Gas: string | number | bigint;
2297
2301
  };
2302
+ feePayer?: any;
2298
2303
  }>;
2299
2304
  }
2300
2305
  export declare class AvmExecutionHints {
@@ -2322,9 +2327,9 @@ export declare class AvmExecutionHints {
2322
2327
  globalVariables: z.ZodEffects<z.ZodObject<{
2323
2328
  chainId: import("@aztec/foundation/schemas").ZodFor<Fr>;
2324
2329
  version: import("@aztec/foundation/schemas").ZodFor<Fr>;
2325
- blockNumber: import("@aztec/foundation/schemas").ZodFor<Fr>;
2330
+ blockNumber: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2326
2331
  slotNumber: import("@aztec/foundation/schemas").ZodFor<Fr>;
2327
- timestamp: import("@aztec/foundation/schemas").ZodFor<Fr>;
2332
+ timestamp: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
2328
2333
  coinbase: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").EthAddress>;
2329
2334
  feeRecipient: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2330
2335
  gasFees: z.ZodEffects<z.ZodObject<{
@@ -2343,34 +2348,34 @@ export declare class AvmExecutionHints {
2343
2348
  }, "strip", z.ZodTypeAny, {
2344
2349
  chainId: Fr;
2345
2350
  version: Fr;
2346
- blockNumber: Fr;
2351
+ blockNumber: number;
2347
2352
  slotNumber: Fr;
2348
- timestamp: Fr;
2353
+ timestamp: bigint;
2349
2354
  coinbase: import("@aztec/foundation/schemas").EthAddress;
2350
2355
  feeRecipient: AztecAddress;
2351
2356
  gasFees: GasFees;
2352
2357
  }, {
2358
+ blockNumber: string | number | bigint;
2359
+ timestamp: string | number | bigint;
2353
2360
  gasFees: {
2354
2361
  feePerDaGas: string | number | bigint;
2355
2362
  feePerL2Gas: string | number | bigint;
2356
2363
  };
2357
2364
  chainId?: any;
2358
2365
  version?: any;
2359
- blockNumber?: any;
2360
2366
  slotNumber?: any;
2361
- timestamp?: any;
2362
2367
  coinbase?: any;
2363
2368
  feeRecipient?: any;
2364
2369
  }>, GlobalVariables, {
2370
+ blockNumber: string | number | bigint;
2371
+ timestamp: string | number | bigint;
2365
2372
  gasFees: {
2366
2373
  feePerDaGas: string | number | bigint;
2367
2374
  feePerL2Gas: string | number | bigint;
2368
2375
  };
2369
2376
  chainId?: any;
2370
2377
  version?: any;
2371
- blockNumber?: any;
2372
2378
  slotNumber?: any;
2373
- timestamp?: any;
2374
2379
  coinbase?: any;
2375
2380
  feeRecipient?: any;
2376
2381
  }>;
@@ -2654,10 +2659,12 @@ export declare class AvmExecutionHints {
2654
2659
  daGas: string | number | bigint;
2655
2660
  l2Gas: string | number | bigint;
2656
2661
  }>;
2662
+ feePayer: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2657
2663
  }, "strip", z.ZodTypeAny, {
2658
2664
  hash: string;
2659
2665
  globalVariables: GlobalVariables;
2660
2666
  gasSettings: GasSettings;
2667
+ feePayer: AztecAddress;
2661
2668
  nonRevertibleAccumulatedData: {
2662
2669
  noteHashes: Fr[];
2663
2670
  nullifiers: Fr[];
@@ -2676,15 +2683,15 @@ export declare class AvmExecutionHints {
2676
2683
  }, {
2677
2684
  hash: string;
2678
2685
  globalVariables: {
2686
+ blockNumber: string | number | bigint;
2687
+ timestamp: string | number | bigint;
2679
2688
  gasFees: {
2680
2689
  feePerDaGas: string | number | bigint;
2681
2690
  feePerL2Gas: string | number | bigint;
2682
2691
  };
2683
2692
  chainId?: any;
2684
2693
  version?: any;
2685
- blockNumber?: any;
2686
2694
  slotNumber?: any;
2687
- timestamp?: any;
2688
2695
  coinbase?: any;
2689
2696
  feeRecipient?: any;
2690
2697
  };
@@ -2754,18 +2761,19 @@ export declare class AvmExecutionHints {
2754
2761
  daGas: string | number | bigint;
2755
2762
  l2Gas: string | number | bigint;
2756
2763
  };
2764
+ feePayer?: any;
2757
2765
  }>, AvmTxHint, {
2758
2766
  hash: string;
2759
2767
  globalVariables: {
2768
+ blockNumber: string | number | bigint;
2769
+ timestamp: string | number | bigint;
2760
2770
  gasFees: {
2761
2771
  feePerDaGas: string | number | bigint;
2762
2772
  feePerL2Gas: string | number | bigint;
2763
2773
  };
2764
2774
  chainId?: any;
2765
2775
  version?: any;
2766
- blockNumber?: any;
2767
2776
  slotNumber?: any;
2768
- timestamp?: any;
2769
2777
  coinbase?: any;
2770
2778
  feeRecipient?: any;
2771
2779
  };
@@ -2835,6 +2843,7 @@ export declare class AvmExecutionHints {
2835
2843
  daGas: string | number | bigint;
2836
2844
  l2Gas: string | number | bigint;
2837
2845
  };
2846
+ feePayer?: any;
2838
2847
  }>;
2839
2848
  contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
2840
2849
  address: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
@@ -4566,15 +4575,15 @@ export declare class AvmExecutionHints {
4566
4575
  tx: {
4567
4576
  hash: string;
4568
4577
  globalVariables: {
4578
+ blockNumber: string | number | bigint;
4579
+ timestamp: string | number | bigint;
4569
4580
  gasFees: {
4570
4581
  feePerDaGas: string | number | bigint;
4571
4582
  feePerL2Gas: string | number | bigint;
4572
4583
  };
4573
4584
  chainId?: any;
4574
4585
  version?: any;
4575
- blockNumber?: any;
4576
4586
  slotNumber?: any;
4577
- timestamp?: any;
4578
4587
  coinbase?: any;
4579
4588
  feeRecipient?: any;
4580
4589
  };
@@ -4644,6 +4653,7 @@ export declare class AvmExecutionHints {
4644
4653
  daGas: string | number | bigint;
4645
4654
  l2Gas: string | number | bigint;
4646
4655
  };
4656
+ feePayer?: any;
4647
4657
  };
4648
4658
  contractInstances: {
4649
4659
  salt: string;
@@ -4933,15 +4943,15 @@ export declare class AvmExecutionHints {
4933
4943
  tx: {
4934
4944
  hash: string;
4935
4945
  globalVariables: {
4946
+ blockNumber: string | number | bigint;
4947
+ timestamp: string | number | bigint;
4936
4948
  gasFees: {
4937
4949
  feePerDaGas: string | number | bigint;
4938
4950
  feePerL2Gas: string | number | bigint;
4939
4951
  };
4940
4952
  chainId?: any;
4941
4953
  version?: any;
4942
- blockNumber?: any;
4943
4954
  slotNumber?: any;
4944
- timestamp?: any;
4945
4955
  coinbase?: any;
4946
4956
  feeRecipient?: any;
4947
4957
  };
@@ -5011,6 +5021,7 @@ export declare class AvmExecutionHints {
5011
5021
  daGas: string | number | bigint;
5012
5022
  l2Gas: string | number | bigint;
5013
5023
  };
5024
+ feePayer?: any;
5014
5025
  };
5015
5026
  contractInstances: {
5016
5027
  salt: string;
@@ -5310,9 +5321,9 @@ export declare class AvmCircuitInputs {
5310
5321
  globalVariables: z.ZodEffects<z.ZodObject<{
5311
5322
  chainId: import("@aztec/foundation/schemas").ZodFor<Fr>;
5312
5323
  version: import("@aztec/foundation/schemas").ZodFor<Fr>;
5313
- blockNumber: import("@aztec/foundation/schemas").ZodFor<Fr>;
5324
+ blockNumber: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
5314
5325
  slotNumber: import("@aztec/foundation/schemas").ZodFor<Fr>;
5315
- timestamp: import("@aztec/foundation/schemas").ZodFor<Fr>;
5326
+ timestamp: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
5316
5327
  coinbase: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").EthAddress>;
5317
5328
  feeRecipient: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
5318
5329
  gasFees: z.ZodEffects<z.ZodObject<{
@@ -5331,34 +5342,34 @@ export declare class AvmCircuitInputs {
5331
5342
  }, "strip", z.ZodTypeAny, {
5332
5343
  chainId: Fr;
5333
5344
  version: Fr;
5334
- blockNumber: Fr;
5345
+ blockNumber: number;
5335
5346
  slotNumber: Fr;
5336
- timestamp: Fr;
5347
+ timestamp: bigint;
5337
5348
  coinbase: import("@aztec/foundation/schemas").EthAddress;
5338
5349
  feeRecipient: AztecAddress;
5339
5350
  gasFees: GasFees;
5340
5351
  }, {
5352
+ blockNumber: string | number | bigint;
5353
+ timestamp: string | number | bigint;
5341
5354
  gasFees: {
5342
5355
  feePerDaGas: string | number | bigint;
5343
5356
  feePerL2Gas: string | number | bigint;
5344
5357
  };
5345
5358
  chainId?: any;
5346
5359
  version?: any;
5347
- blockNumber?: any;
5348
5360
  slotNumber?: any;
5349
- timestamp?: any;
5350
5361
  coinbase?: any;
5351
5362
  feeRecipient?: any;
5352
5363
  }>, GlobalVariables, {
5364
+ blockNumber: string | number | bigint;
5365
+ timestamp: string | number | bigint;
5353
5366
  gasFees: {
5354
5367
  feePerDaGas: string | number | bigint;
5355
5368
  feePerL2Gas: string | number | bigint;
5356
5369
  };
5357
5370
  chainId?: any;
5358
5371
  version?: any;
5359
- blockNumber?: any;
5360
5372
  slotNumber?: any;
5361
- timestamp?: any;
5362
5373
  coinbase?: any;
5363
5374
  feeRecipient?: any;
5364
5375
  }>;
@@ -5642,10 +5653,12 @@ export declare class AvmCircuitInputs {
5642
5653
  daGas: string | number | bigint;
5643
5654
  l2Gas: string | number | bigint;
5644
5655
  }>;
5656
+ feePayer: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
5645
5657
  }, "strip", z.ZodTypeAny, {
5646
5658
  hash: string;
5647
5659
  globalVariables: GlobalVariables;
5648
5660
  gasSettings: GasSettings;
5661
+ feePayer: AztecAddress;
5649
5662
  nonRevertibleAccumulatedData: {
5650
5663
  noteHashes: Fr[];
5651
5664
  nullifiers: Fr[];
@@ -5664,15 +5677,15 @@ export declare class AvmCircuitInputs {
5664
5677
  }, {
5665
5678
  hash: string;
5666
5679
  globalVariables: {
5680
+ blockNumber: string | number | bigint;
5681
+ timestamp: string | number | bigint;
5667
5682
  gasFees: {
5668
5683
  feePerDaGas: string | number | bigint;
5669
5684
  feePerL2Gas: string | number | bigint;
5670
5685
  };
5671
5686
  chainId?: any;
5672
5687
  version?: any;
5673
- blockNumber?: any;
5674
5688
  slotNumber?: any;
5675
- timestamp?: any;
5676
5689
  coinbase?: any;
5677
5690
  feeRecipient?: any;
5678
5691
  };
@@ -5742,18 +5755,19 @@ export declare class AvmCircuitInputs {
5742
5755
  daGas: string | number | bigint;
5743
5756
  l2Gas: string | number | bigint;
5744
5757
  };
5758
+ feePayer?: any;
5745
5759
  }>, AvmTxHint, {
5746
5760
  hash: string;
5747
5761
  globalVariables: {
5762
+ blockNumber: string | number | bigint;
5763
+ timestamp: string | number | bigint;
5748
5764
  gasFees: {
5749
5765
  feePerDaGas: string | number | bigint;
5750
5766
  feePerL2Gas: string | number | bigint;
5751
5767
  };
5752
5768
  chainId?: any;
5753
5769
  version?: any;
5754
- blockNumber?: any;
5755
5770
  slotNumber?: any;
5756
- timestamp?: any;
5757
5771
  coinbase?: any;
5758
5772
  feeRecipient?: any;
5759
5773
  };
@@ -5823,6 +5837,7 @@ export declare class AvmCircuitInputs {
5823
5837
  daGas: string | number | bigint;
5824
5838
  l2Gas: string | number | bigint;
5825
5839
  };
5840
+ feePayer?: any;
5826
5841
  }>;
5827
5842
  contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
5828
5843
  address: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
@@ -7554,15 +7569,15 @@ export declare class AvmCircuitInputs {
7554
7569
  tx: {
7555
7570
  hash: string;
7556
7571
  globalVariables: {
7572
+ blockNumber: string | number | bigint;
7573
+ timestamp: string | number | bigint;
7557
7574
  gasFees: {
7558
7575
  feePerDaGas: string | number | bigint;
7559
7576
  feePerL2Gas: string | number | bigint;
7560
7577
  };
7561
7578
  chainId?: any;
7562
7579
  version?: any;
7563
- blockNumber?: any;
7564
7580
  slotNumber?: any;
7565
- timestamp?: any;
7566
7581
  coinbase?: any;
7567
7582
  feeRecipient?: any;
7568
7583
  };
@@ -7632,6 +7647,7 @@ export declare class AvmCircuitInputs {
7632
7647
  daGas: string | number | bigint;
7633
7648
  l2Gas: string | number | bigint;
7634
7649
  };
7650
+ feePayer?: any;
7635
7651
  };
7636
7652
  contractInstances: {
7637
7653
  salt: string;
@@ -7921,15 +7937,15 @@ export declare class AvmCircuitInputs {
7921
7937
  tx: {
7922
7938
  hash: string;
7923
7939
  globalVariables: {
7940
+ blockNumber: string | number | bigint;
7941
+ timestamp: string | number | bigint;
7924
7942
  gasFees: {
7925
7943
  feePerDaGas: string | number | bigint;
7926
7944
  feePerL2Gas: string | number | bigint;
7927
7945
  };
7928
7946
  chainId?: any;
7929
7947
  version?: any;
7930
- blockNumber?: any;
7931
7948
  slotNumber?: any;
7932
- timestamp?: any;
7933
7949
  coinbase?: any;
7934
7950
  feeRecipient?: any;
7935
7951
  };
@@ -7999,6 +8015,7 @@ export declare class AvmCircuitInputs {
7999
8015
  daGas: string | number | bigint;
8000
8016
  l2Gas: string | number | bigint;
8001
8017
  };
8018
+ feePayer?: any;
8002
8019
  };
8003
8020
  contractInstances: {
8004
8021
  salt: string;
@@ -8289,9 +8306,9 @@ export declare class AvmCircuitInputs {
8289
8306
  globalVariables: z.ZodEffects<z.ZodObject<{
8290
8307
  chainId: import("@aztec/foundation/schemas").ZodFor<Fr>;
8291
8308
  version: import("@aztec/foundation/schemas").ZodFor<Fr>;
8292
- blockNumber: import("@aztec/foundation/schemas").ZodFor<Fr>;
8309
+ blockNumber: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
8293
8310
  slotNumber: import("@aztec/foundation/schemas").ZodFor<Fr>;
8294
- timestamp: import("@aztec/foundation/schemas").ZodFor<Fr>;
8311
+ timestamp: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
8295
8312
  coinbase: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").EthAddress>;
8296
8313
  feeRecipient: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
8297
8314
  gasFees: z.ZodEffects<z.ZodObject<{
@@ -8310,34 +8327,34 @@ export declare class AvmCircuitInputs {
8310
8327
  }, "strip", z.ZodTypeAny, {
8311
8328
  chainId: Fr;
8312
8329
  version: Fr;
8313
- blockNumber: Fr;
8330
+ blockNumber: number;
8314
8331
  slotNumber: Fr;
8315
- timestamp: Fr;
8332
+ timestamp: bigint;
8316
8333
  coinbase: import("@aztec/foundation/schemas").EthAddress;
8317
8334
  feeRecipient: AztecAddress;
8318
8335
  gasFees: GasFees;
8319
8336
  }, {
8337
+ blockNumber: string | number | bigint;
8338
+ timestamp: string | number | bigint;
8320
8339
  gasFees: {
8321
8340
  feePerDaGas: string | number | bigint;
8322
8341
  feePerL2Gas: string | number | bigint;
8323
8342
  };
8324
8343
  chainId?: any;
8325
8344
  version?: any;
8326
- blockNumber?: any;
8327
8345
  slotNumber?: any;
8328
- timestamp?: any;
8329
8346
  coinbase?: any;
8330
8347
  feeRecipient?: any;
8331
8348
  }>, GlobalVariables, {
8349
+ blockNumber: string | number | bigint;
8350
+ timestamp: string | number | bigint;
8332
8351
  gasFees: {
8333
8352
  feePerDaGas: string | number | bigint;
8334
8353
  feePerL2Gas: string | number | bigint;
8335
8354
  };
8336
8355
  chainId?: any;
8337
8356
  version?: any;
8338
- blockNumber?: any;
8339
8357
  slotNumber?: any;
8340
- timestamp?: any;
8341
8358
  coinbase?: any;
8342
8359
  feeRecipient?: any;
8343
8360
  }>;
@@ -8902,20 +8919,20 @@ export declare class AvmCircuitInputs {
8902
8919
  noteHashes: number;
8903
8920
  nullifiers: number;
8904
8921
  l2ToL1Msgs: number;
8905
- publicLogs: number;
8906
8922
  publicDataWrites: number;
8923
+ publicLogs: number;
8907
8924
  }, {
8908
8925
  noteHashes: number;
8909
8926
  nullifiers: number;
8910
8927
  l2ToL1Msgs: number;
8911
- publicLogs: number;
8912
8928
  publicDataWrites: number;
8929
+ publicLogs: number;
8913
8930
  }>, import("./avm_accumulated_data.js").AvmAccumulatedDataArrayLengths, {
8914
8931
  noteHashes: number;
8915
8932
  nullifiers: number;
8916
8933
  l2ToL1Msgs: number;
8917
- publicLogs: number;
8918
8934
  publicDataWrites: number;
8935
+ publicLogs: number;
8919
8936
  }>;
8920
8937
  accumulatedData: z.ZodEffects<z.ZodObject<{
8921
8938
  noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
@@ -8969,8 +8986,8 @@ export declare class AvmCircuitInputs {
8969
8986
  noteHashes: Fr[];
8970
8987
  nullifiers: Fr[];
8971
8988
  l2ToL1Msgs: ScopedL2ToL1Message[];
8972
- publicLogs: import("../logs/public_log.js").PublicLog[];
8973
8989
  publicDataWrites: import("./public_data_write.js").PublicDataWrite[];
8990
+ publicLogs: import("../logs/public_log.js").PublicLog[];
8974
8991
  }, {
8975
8992
  noteHashes: string[];
8976
8993
  nullifiers: string[];
@@ -8981,11 +8998,11 @@ export declare class AvmCircuitInputs {
8981
8998
  };
8982
8999
  contractAddress?: any;
8983
9000
  }[];
8984
- publicLogs: any[];
8985
9001
  publicDataWrites: {
8986
9002
  value: string;
8987
9003
  leafSlot: string;
8988
9004
  }[];
9005
+ publicLogs: any[];
8989
9006
  }>, import("./avm_accumulated_data.js").AvmAccumulatedData, {
8990
9007
  noteHashes: string[];
8991
9008
  nullifiers: string[];
@@ -8996,11 +9013,11 @@ export declare class AvmCircuitInputs {
8996
9013
  };
8997
9014
  contractAddress?: any;
8998
9015
  }[];
8999
- publicLogs: any[];
9000
9016
  publicDataWrites: {
9001
9017
  value: string;
9002
9018
  leafSlot: string;
9003
9019
  }[];
9020
+ publicLogs: any[];
9004
9021
  }>;
9005
9022
  transactionFee: z.ZodType<Fr, any, string>;
9006
9023
  reverted: z.ZodBoolean;
@@ -9027,15 +9044,15 @@ export declare class AvmCircuitInputs {
9027
9044
  reverted: boolean;
9028
9045
  }, {
9029
9046
  globalVariables: {
9047
+ blockNumber: string | number | bigint;
9048
+ timestamp: string | number | bigint;
9030
9049
  gasFees: {
9031
9050
  feePerDaGas: string | number | bigint;
9032
9051
  feePerL2Gas: string | number | bigint;
9033
9052
  };
9034
9053
  chainId?: any;
9035
9054
  version?: any;
9036
- blockNumber?: any;
9037
9055
  slotNumber?: any;
9038
- timestamp?: any;
9039
9056
  coinbase?: any;
9040
9057
  feeRecipient?: any;
9041
9058
  };
@@ -9165,8 +9182,8 @@ export declare class AvmCircuitInputs {
9165
9182
  noteHashes: number;
9166
9183
  nullifiers: number;
9167
9184
  l2ToL1Msgs: number;
9168
- publicLogs: number;
9169
9185
  publicDataWrites: number;
9186
+ publicLogs: number;
9170
9187
  };
9171
9188
  accumulatedData: {
9172
9189
  noteHashes: string[];
@@ -9178,25 +9195,25 @@ export declare class AvmCircuitInputs {
9178
9195
  };
9179
9196
  contractAddress?: any;
9180
9197
  }[];
9181
- publicLogs: any[];
9182
9198
  publicDataWrites: {
9183
9199
  value: string;
9184
9200
  leafSlot: string;
9185
9201
  }[];
9202
+ publicLogs: any[];
9186
9203
  };
9187
9204
  reverted: boolean;
9188
9205
  feePayer?: any;
9189
9206
  }>, AvmCircuitPublicInputs, {
9190
9207
  globalVariables: {
9208
+ blockNumber: string | number | bigint;
9209
+ timestamp: string | number | bigint;
9191
9210
  gasFees: {
9192
9211
  feePerDaGas: string | number | bigint;
9193
9212
  feePerL2Gas: string | number | bigint;
9194
9213
  };
9195
9214
  chainId?: any;
9196
9215
  version?: any;
9197
- blockNumber?: any;
9198
9216
  slotNumber?: any;
9199
- timestamp?: any;
9200
9217
  coinbase?: any;
9201
9218
  feeRecipient?: any;
9202
9219
  };
@@ -9326,8 +9343,8 @@ export declare class AvmCircuitInputs {
9326
9343
  noteHashes: number;
9327
9344
  nullifiers: number;
9328
9345
  l2ToL1Msgs: number;
9329
- publicLogs: number;
9330
9346
  publicDataWrites: number;
9347
+ publicLogs: number;
9331
9348
  };
9332
9349
  accumulatedData: {
9333
9350
  noteHashes: string[];
@@ -9339,11 +9356,11 @@ export declare class AvmCircuitInputs {
9339
9356
  };
9340
9357
  contractAddress?: any;
9341
9358
  }[];
9342
- publicLogs: any[];
9343
9359
  publicDataWrites: {
9344
9360
  value: string;
9345
9361
  leafSlot: string;
9346
9362
  }[];
9363
+ publicLogs: any[];
9347
9364
  };
9348
9365
  reverted: boolean;
9349
9366
  feePayer?: any;
@@ -9354,15 +9371,15 @@ export declare class AvmCircuitInputs {
9354
9371
  }, {
9355
9372
  publicInputs: {
9356
9373
  globalVariables: {
9374
+ blockNumber: string | number | bigint;
9375
+ timestamp: string | number | bigint;
9357
9376
  gasFees: {
9358
9377
  feePerDaGas: string | number | bigint;
9359
9378
  feePerL2Gas: string | number | bigint;
9360
9379
  };
9361
9380
  chainId?: any;
9362
9381
  version?: any;
9363
- blockNumber?: any;
9364
9382
  slotNumber?: any;
9365
- timestamp?: any;
9366
9383
  coinbase?: any;
9367
9384
  feeRecipient?: any;
9368
9385
  };
@@ -9492,8 +9509,8 @@ export declare class AvmCircuitInputs {
9492
9509
  noteHashes: number;
9493
9510
  nullifiers: number;
9494
9511
  l2ToL1Msgs: number;
9495
- publicLogs: number;
9496
9512
  publicDataWrites: number;
9513
+ publicLogs: number;
9497
9514
  };
9498
9515
  accumulatedData: {
9499
9516
  noteHashes: string[];
@@ -9505,11 +9522,11 @@ export declare class AvmCircuitInputs {
9505
9522
  };
9506
9523
  contractAddress?: any;
9507
9524
  }[];
9508
- publicLogs: any[];
9509
9525
  publicDataWrites: {
9510
9526
  value: string;
9511
9527
  leafSlot: string;
9512
9528
  }[];
9529
+ publicLogs: any[];
9513
9530
  };
9514
9531
  reverted: boolean;
9515
9532
  feePayer?: any;
@@ -9518,15 +9535,15 @@ export declare class AvmCircuitInputs {
9518
9535
  tx: {
9519
9536
  hash: string;
9520
9537
  globalVariables: {
9538
+ blockNumber: string | number | bigint;
9539
+ timestamp: string | number | bigint;
9521
9540
  gasFees: {
9522
9541
  feePerDaGas: string | number | bigint;
9523
9542
  feePerL2Gas: string | number | bigint;
9524
9543
  };
9525
9544
  chainId?: any;
9526
9545
  version?: any;
9527
- blockNumber?: any;
9528
9546
  slotNumber?: any;
9529
- timestamp?: any;
9530
9547
  coinbase?: any;
9531
9548
  feeRecipient?: any;
9532
9549
  };
@@ -9596,6 +9613,7 @@ export declare class AvmCircuitInputs {
9596
9613
  daGas: string | number | bigint;
9597
9614
  l2Gas: string | number | bigint;
9598
9615
  };
9616
+ feePayer?: any;
9599
9617
  };
9600
9618
  contractInstances: {
9601
9619
  salt: string;
@@ -9885,15 +9903,15 @@ export declare class AvmCircuitInputs {
9885
9903
  }>, AvmCircuitInputs, {
9886
9904
  publicInputs: {
9887
9905
  globalVariables: {
9906
+ blockNumber: string | number | bigint;
9907
+ timestamp: string | number | bigint;
9888
9908
  gasFees: {
9889
9909
  feePerDaGas: string | number | bigint;
9890
9910
  feePerL2Gas: string | number | bigint;
9891
9911
  };
9892
9912
  chainId?: any;
9893
9913
  version?: any;
9894
- blockNumber?: any;
9895
9914
  slotNumber?: any;
9896
- timestamp?: any;
9897
9915
  coinbase?: any;
9898
9916
  feeRecipient?: any;
9899
9917
  };
@@ -10023,8 +10041,8 @@ export declare class AvmCircuitInputs {
10023
10041
  noteHashes: number;
10024
10042
  nullifiers: number;
10025
10043
  l2ToL1Msgs: number;
10026
- publicLogs: number;
10027
10044
  publicDataWrites: number;
10045
+ publicLogs: number;
10028
10046
  };
10029
10047
  accumulatedData: {
10030
10048
  noteHashes: string[];
@@ -10036,11 +10054,11 @@ export declare class AvmCircuitInputs {
10036
10054
  };
10037
10055
  contractAddress?: any;
10038
10056
  }[];
10039
- publicLogs: any[];
10040
10057
  publicDataWrites: {
10041
10058
  value: string;
10042
10059
  leafSlot: string;
10043
10060
  }[];
10061
+ publicLogs: any[];
10044
10062
  };
10045
10063
  reverted: boolean;
10046
10064
  feePayer?: any;
@@ -10049,15 +10067,15 @@ export declare class AvmCircuitInputs {
10049
10067
  tx: {
10050
10068
  hash: string;
10051
10069
  globalVariables: {
10070
+ blockNumber: string | number | bigint;
10071
+ timestamp: string | number | bigint;
10052
10072
  gasFees: {
10053
10073
  feePerDaGas: string | number | bigint;
10054
10074
  feePerL2Gas: string | number | bigint;
10055
10075
  };
10056
10076
  chainId?: any;
10057
10077
  version?: any;
10058
- blockNumber?: any;
10059
10078
  slotNumber?: any;
10060
- timestamp?: any;
10061
10079
  coinbase?: any;
10062
10080
  feeRecipient?: any;
10063
10081
  };
@@ -10127,6 +10145,7 @@ export declare class AvmCircuitInputs {
10127
10145
  daGas: string | number | bigint;
10128
10146
  l2Gas: string | number | bigint;
10129
10147
  };
10148
+ feePayer?: any;
10130
10149
  };
10131
10150
  contractInstances: {
10132
10151
  salt: string;