@aztec/stdlib 1.0.0-nightly.20250616 → 1.0.0-nightly.20250618

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dest/avm/avm.d.ts CHANGED
@@ -10,7 +10,7 @@ import { AppendOnlyTreeSnapshot } from '../trees/append_only_tree_snapshot.js';
10
10
  import { MerkleTreeId } from '../trees/merkle_tree_id.js';
11
11
  import { NullifierLeafPreimage } from '../trees/nullifier_leaf.js';
12
12
  import { PublicDataTreeLeafPreimage } from '../trees/public_data_leaf.js';
13
- import { GlobalVariables, TreeSnapshots, type Tx } from '../tx/index.js';
13
+ import { GlobalVariables, PublicCallRequestWithCalldata, TreeSnapshots, type Tx } from '../tx/index.js';
14
14
  import { AvmCircuitPublicInputs } from './avm_circuit_public_inputs.js';
15
15
  export declare class AvmContractClassHint {
16
16
  readonly classId: Fr;
@@ -1719,34 +1719,6 @@ export declare class AvmRevertCheckpointHint {
1719
1719
  };
1720
1720
  }>;
1721
1721
  }
1722
- export declare class AvmEnqueuedCallHint {
1723
- readonly msgSender: AztecAddress;
1724
- readonly contractAddress: AztecAddress;
1725
- readonly calldata: Fr[];
1726
- isStaticCall: boolean;
1727
- constructor(msgSender: AztecAddress, contractAddress: AztecAddress, calldata: Fr[], isStaticCall: boolean);
1728
- static get schema(): z.ZodEffects<z.ZodObject<{
1729
- msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
1730
- contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
1731
- calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
1732
- isStaticCall: z.ZodBoolean;
1733
- }, "strip", z.ZodTypeAny, {
1734
- contractAddress: AztecAddress;
1735
- msgSender: AztecAddress;
1736
- isStaticCall: boolean;
1737
- calldata: Fr[];
1738
- }, {
1739
- isStaticCall: boolean;
1740
- calldata: string[];
1741
- contractAddress?: any;
1742
- msgSender?: any;
1743
- }>, AvmEnqueuedCallHint, {
1744
- isStaticCall: boolean;
1745
- calldata: string[];
1746
- contractAddress?: any;
1747
- msgSender?: any;
1748
- }>;
1749
- }
1750
1722
  export declare class AvmTxHint {
1751
1723
  readonly hash: string;
1752
1724
  readonly globalVariables: GlobalVariables;
@@ -1762,9 +1734,9 @@ export declare class AvmTxHint {
1762
1734
  nullifiers: Fr[];
1763
1735
  l2ToL1Messages: ScopedL2ToL1Message[];
1764
1736
  };
1765
- readonly setupEnqueuedCalls: AvmEnqueuedCallHint[];
1766
- readonly appLogicEnqueuedCalls: AvmEnqueuedCallHint[];
1767
- readonly teardownEnqueuedCall: AvmEnqueuedCallHint | null;
1737
+ readonly setupEnqueuedCalls: PublicCallRequestWithCalldata[];
1738
+ readonly appLogicEnqueuedCalls: PublicCallRequestWithCalldata[];
1739
+ readonly teardownEnqueuedCall: PublicCallRequestWithCalldata | null;
1768
1740
  readonly gasUsedByPrivate: Gas;
1769
1741
  readonly feePayer: AztecAddress;
1770
1742
  constructor(hash: string, globalVariables: GlobalVariables, gasSettings: GasSettings, effectiveGasFees: GasFees, nonRevertibleAccumulatedData: {
@@ -1775,7 +1747,7 @@ export declare class AvmTxHint {
1775
1747
  noteHashes: Fr[];
1776
1748
  nullifiers: Fr[];
1777
1749
  l2ToL1Messages: ScopedL2ToL1Message[];
1778
- }, setupEnqueuedCalls: AvmEnqueuedCallHint[], appLogicEnqueuedCalls: AvmEnqueuedCallHint[], teardownEnqueuedCall: AvmEnqueuedCallHint | null, gasUsedByPrivate: Gas, feePayer: AztecAddress);
1750
+ }, setupEnqueuedCalls: PublicCallRequestWithCalldata[], appLogicEnqueuedCalls: PublicCallRequestWithCalldata[], teardownEnqueuedCall: PublicCallRequestWithCalldata | null, gasUsedByPrivate: Gas, feePayer: AztecAddress);
1779
1751
  static fromTx(tx: Tx): Promise<AvmTxHint>;
1780
1752
  static empty(): AvmTxHint;
1781
1753
  static get schema(): z.ZodEffects<z.ZodObject<{
@@ -2039,69 +2011,9 @@ export declare class AvmTxHint {
2039
2011
  contractAddress?: any;
2040
2012
  }[];
2041
2013
  }>;
2042
- setupEnqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
2043
- msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2044
- contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2045
- calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
2046
- isStaticCall: z.ZodBoolean;
2047
- }, "strip", z.ZodTypeAny, {
2048
- contractAddress: AztecAddress;
2049
- msgSender: AztecAddress;
2050
- isStaticCall: boolean;
2051
- calldata: Fr[];
2052
- }, {
2053
- isStaticCall: boolean;
2054
- calldata: string[];
2055
- contractAddress?: any;
2056
- msgSender?: any;
2057
- }>, AvmEnqueuedCallHint, {
2058
- isStaticCall: boolean;
2059
- calldata: string[];
2060
- contractAddress?: any;
2061
- msgSender?: any;
2062
- }>, "many">;
2063
- appLogicEnqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
2064
- msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2065
- contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2066
- calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
2067
- isStaticCall: z.ZodBoolean;
2068
- }, "strip", z.ZodTypeAny, {
2069
- contractAddress: AztecAddress;
2070
- msgSender: AztecAddress;
2071
- isStaticCall: boolean;
2072
- calldata: Fr[];
2073
- }, {
2074
- isStaticCall: boolean;
2075
- calldata: string[];
2076
- contractAddress?: any;
2077
- msgSender?: any;
2078
- }>, AvmEnqueuedCallHint, {
2079
- isStaticCall: boolean;
2080
- calldata: string[];
2081
- contractAddress?: any;
2082
- msgSender?: any;
2083
- }>, "many">;
2084
- teardownEnqueuedCall: z.ZodNullable<z.ZodEffects<z.ZodObject<{
2085
- msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2086
- contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2087
- calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
2088
- isStaticCall: z.ZodBoolean;
2089
- }, "strip", z.ZodTypeAny, {
2090
- contractAddress: AztecAddress;
2091
- msgSender: AztecAddress;
2092
- isStaticCall: boolean;
2093
- calldata: Fr[];
2094
- }, {
2095
- isStaticCall: boolean;
2096
- calldata: string[];
2097
- contractAddress?: any;
2098
- msgSender?: any;
2099
- }>, AvmEnqueuedCallHint, {
2100
- isStaticCall: boolean;
2101
- calldata: string[];
2102
- contractAddress?: any;
2103
- msgSender?: any;
2104
- }>>;
2014
+ setupEnqueuedCalls: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<PublicCallRequestWithCalldata>, "many">;
2015
+ appLogicEnqueuedCalls: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<PublicCallRequestWithCalldata>, "many">;
2016
+ teardownEnqueuedCall: z.ZodNullable<import("@aztec/foundation/schemas").ZodFor<PublicCallRequestWithCalldata>>;
2105
2017
  gasUsedByPrivate: z.ZodEffects<z.ZodObject<{
2106
2018
  daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2107
2019
  l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
@@ -2132,9 +2044,9 @@ export declare class AvmTxHint {
2132
2044
  l2ToL1Messages: ScopedL2ToL1Message[];
2133
2045
  };
2134
2046
  effectiveGasFees: GasFees;
2135
- setupEnqueuedCalls: AvmEnqueuedCallHint[];
2136
- appLogicEnqueuedCalls: AvmEnqueuedCallHint[];
2137
- teardownEnqueuedCall: AvmEnqueuedCallHint | null;
2047
+ setupEnqueuedCalls: PublicCallRequestWithCalldata[];
2048
+ appLogicEnqueuedCalls: PublicCallRequestWithCalldata[];
2049
+ teardownEnqueuedCall: PublicCallRequestWithCalldata | null;
2138
2050
  gasUsedByPrivate: Gas;
2139
2051
  }, {
2140
2052
  hash: string;
@@ -2195,29 +2107,14 @@ export declare class AvmTxHint {
2195
2107
  feePerDaGas: string | number | bigint;
2196
2108
  feePerL2Gas: string | number | bigint;
2197
2109
  };
2198
- setupEnqueuedCalls: {
2199
- isStaticCall: boolean;
2200
- calldata: string[];
2201
- contractAddress?: any;
2202
- msgSender?: any;
2203
- }[];
2204
- appLogicEnqueuedCalls: {
2205
- isStaticCall: boolean;
2206
- calldata: string[];
2207
- contractAddress?: any;
2208
- msgSender?: any;
2209
- }[];
2210
- teardownEnqueuedCall: {
2211
- isStaticCall: boolean;
2212
- calldata: string[];
2213
- contractAddress?: any;
2214
- msgSender?: any;
2215
- } | null;
2110
+ setupEnqueuedCalls: any[];
2111
+ appLogicEnqueuedCalls: any[];
2216
2112
  gasUsedByPrivate: {
2217
2113
  daGas: string | number | bigint;
2218
2114
  l2Gas: string | number | bigint;
2219
2115
  };
2220
2116
  feePayer?: any;
2117
+ teardownEnqueuedCall?: any;
2221
2118
  }>, AvmTxHint, {
2222
2119
  hash: string;
2223
2120
  globalVariables: {
@@ -2277,29 +2174,14 @@ export declare class AvmTxHint {
2277
2174
  feePerDaGas: string | number | bigint;
2278
2175
  feePerL2Gas: string | number | bigint;
2279
2176
  };
2280
- setupEnqueuedCalls: {
2281
- isStaticCall: boolean;
2282
- calldata: string[];
2283
- contractAddress?: any;
2284
- msgSender?: any;
2285
- }[];
2286
- appLogicEnqueuedCalls: {
2287
- isStaticCall: boolean;
2288
- calldata: string[];
2289
- contractAddress?: any;
2290
- msgSender?: any;
2291
- }[];
2292
- teardownEnqueuedCall: {
2293
- isStaticCall: boolean;
2294
- calldata: string[];
2295
- contractAddress?: any;
2296
- msgSender?: any;
2297
- } | null;
2177
+ setupEnqueuedCalls: any[];
2178
+ appLogicEnqueuedCalls: any[];
2298
2179
  gasUsedByPrivate: {
2299
2180
  daGas: string | number | bigint;
2300
2181
  l2Gas: string | number | bigint;
2301
2182
  };
2302
2183
  feePayer?: any;
2184
+ teardownEnqueuedCall?: any;
2303
2185
  }>;
2304
2186
  }
2305
2187
  export declare class AvmExecutionHints {
@@ -2583,69 +2465,9 @@ export declare class AvmExecutionHints {
2583
2465
  contractAddress?: any;
2584
2466
  }[];
2585
2467
  }>;
2586
- setupEnqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
2587
- msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2588
- contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2589
- calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
2590
- isStaticCall: z.ZodBoolean;
2591
- }, "strip", z.ZodTypeAny, {
2592
- contractAddress: AztecAddress;
2593
- msgSender: AztecAddress;
2594
- isStaticCall: boolean;
2595
- calldata: Fr[];
2596
- }, {
2597
- isStaticCall: boolean;
2598
- calldata: string[];
2599
- contractAddress?: any;
2600
- msgSender?: any;
2601
- }>, AvmEnqueuedCallHint, {
2602
- isStaticCall: boolean;
2603
- calldata: string[];
2604
- contractAddress?: any;
2605
- msgSender?: any;
2606
- }>, "many">;
2607
- appLogicEnqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
2608
- msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2609
- contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2610
- calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
2611
- isStaticCall: z.ZodBoolean;
2612
- }, "strip", z.ZodTypeAny, {
2613
- contractAddress: AztecAddress;
2614
- msgSender: AztecAddress;
2615
- isStaticCall: boolean;
2616
- calldata: Fr[];
2617
- }, {
2618
- isStaticCall: boolean;
2619
- calldata: string[];
2620
- contractAddress?: any;
2621
- msgSender?: any;
2622
- }>, AvmEnqueuedCallHint, {
2623
- isStaticCall: boolean;
2624
- calldata: string[];
2625
- contractAddress?: any;
2626
- msgSender?: any;
2627
- }>, "many">;
2628
- teardownEnqueuedCall: z.ZodNullable<z.ZodEffects<z.ZodObject<{
2629
- msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2630
- contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
2631
- calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
2632
- isStaticCall: z.ZodBoolean;
2633
- }, "strip", z.ZodTypeAny, {
2634
- contractAddress: AztecAddress;
2635
- msgSender: AztecAddress;
2636
- isStaticCall: boolean;
2637
- calldata: Fr[];
2638
- }, {
2639
- isStaticCall: boolean;
2640
- calldata: string[];
2641
- contractAddress?: any;
2642
- msgSender?: any;
2643
- }>, AvmEnqueuedCallHint, {
2644
- isStaticCall: boolean;
2645
- calldata: string[];
2646
- contractAddress?: any;
2647
- msgSender?: any;
2648
- }>>;
2468
+ setupEnqueuedCalls: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<PublicCallRequestWithCalldata>, "many">;
2469
+ appLogicEnqueuedCalls: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<PublicCallRequestWithCalldata>, "many">;
2470
+ teardownEnqueuedCall: z.ZodNullable<import("@aztec/foundation/schemas").ZodFor<PublicCallRequestWithCalldata>>;
2649
2471
  gasUsedByPrivate: z.ZodEffects<z.ZodObject<{
2650
2472
  daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2651
2473
  l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
@@ -2676,9 +2498,9 @@ export declare class AvmExecutionHints {
2676
2498
  l2ToL1Messages: ScopedL2ToL1Message[];
2677
2499
  };
2678
2500
  effectiveGasFees: GasFees;
2679
- setupEnqueuedCalls: AvmEnqueuedCallHint[];
2680
- appLogicEnqueuedCalls: AvmEnqueuedCallHint[];
2681
- teardownEnqueuedCall: AvmEnqueuedCallHint | null;
2501
+ setupEnqueuedCalls: PublicCallRequestWithCalldata[];
2502
+ appLogicEnqueuedCalls: PublicCallRequestWithCalldata[];
2503
+ teardownEnqueuedCall: PublicCallRequestWithCalldata | null;
2682
2504
  gasUsedByPrivate: Gas;
2683
2505
  }, {
2684
2506
  hash: string;
@@ -2739,29 +2561,14 @@ export declare class AvmExecutionHints {
2739
2561
  feePerDaGas: string | number | bigint;
2740
2562
  feePerL2Gas: string | number | bigint;
2741
2563
  };
2742
- setupEnqueuedCalls: {
2743
- isStaticCall: boolean;
2744
- calldata: string[];
2745
- contractAddress?: any;
2746
- msgSender?: any;
2747
- }[];
2748
- appLogicEnqueuedCalls: {
2749
- isStaticCall: boolean;
2750
- calldata: string[];
2751
- contractAddress?: any;
2752
- msgSender?: any;
2753
- }[];
2754
- teardownEnqueuedCall: {
2755
- isStaticCall: boolean;
2756
- calldata: string[];
2757
- contractAddress?: any;
2758
- msgSender?: any;
2759
- } | null;
2564
+ setupEnqueuedCalls: any[];
2565
+ appLogicEnqueuedCalls: any[];
2760
2566
  gasUsedByPrivate: {
2761
2567
  daGas: string | number | bigint;
2762
2568
  l2Gas: string | number | bigint;
2763
2569
  };
2764
2570
  feePayer?: any;
2571
+ teardownEnqueuedCall?: any;
2765
2572
  }>, AvmTxHint, {
2766
2573
  hash: string;
2767
2574
  globalVariables: {
@@ -2821,29 +2628,14 @@ export declare class AvmExecutionHints {
2821
2628
  feePerDaGas: string | number | bigint;
2822
2629
  feePerL2Gas: string | number | bigint;
2823
2630
  };
2824
- setupEnqueuedCalls: {
2825
- isStaticCall: boolean;
2826
- calldata: string[];
2827
- contractAddress?: any;
2828
- msgSender?: any;
2829
- }[];
2830
- appLogicEnqueuedCalls: {
2831
- isStaticCall: boolean;
2832
- calldata: string[];
2833
- contractAddress?: any;
2834
- msgSender?: any;
2835
- }[];
2836
- teardownEnqueuedCall: {
2837
- isStaticCall: boolean;
2838
- calldata: string[];
2839
- contractAddress?: any;
2840
- msgSender?: any;
2841
- } | null;
2631
+ setupEnqueuedCalls: any[];
2632
+ appLogicEnqueuedCalls: any[];
2842
2633
  gasUsedByPrivate: {
2843
2634
  daGas: string | number | bigint;
2844
2635
  l2Gas: string | number | bigint;
2845
2636
  };
2846
2637
  feePayer?: any;
2638
+ teardownEnqueuedCall?: any;
2847
2639
  }>;
2848
2640
  contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
2849
2641
  address: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
@@ -4631,29 +4423,14 @@ export declare class AvmExecutionHints {
4631
4423
  feePerDaGas: string | number | bigint;
4632
4424
  feePerL2Gas: string | number | bigint;
4633
4425
  };
4634
- setupEnqueuedCalls: {
4635
- isStaticCall: boolean;
4636
- calldata: string[];
4637
- contractAddress?: any;
4638
- msgSender?: any;
4639
- }[];
4640
- appLogicEnqueuedCalls: {
4641
- isStaticCall: boolean;
4642
- calldata: string[];
4643
- contractAddress?: any;
4644
- msgSender?: any;
4645
- }[];
4646
- teardownEnqueuedCall: {
4647
- isStaticCall: boolean;
4648
- calldata: string[];
4649
- contractAddress?: any;
4650
- msgSender?: any;
4651
- } | null;
4426
+ setupEnqueuedCalls: any[];
4427
+ appLogicEnqueuedCalls: any[];
4652
4428
  gasUsedByPrivate: {
4653
4429
  daGas: string | number | bigint;
4654
4430
  l2Gas: string | number | bigint;
4655
4431
  };
4656
4432
  feePayer?: any;
4433
+ teardownEnqueuedCall?: any;
4657
4434
  };
4658
4435
  contractInstances: {
4659
4436
  salt: string;
@@ -4999,29 +4776,14 @@ export declare class AvmExecutionHints {
4999
4776
  feePerDaGas: string | number | bigint;
5000
4777
  feePerL2Gas: string | number | bigint;
5001
4778
  };
5002
- setupEnqueuedCalls: {
5003
- isStaticCall: boolean;
5004
- calldata: string[];
5005
- contractAddress?: any;
5006
- msgSender?: any;
5007
- }[];
5008
- appLogicEnqueuedCalls: {
5009
- isStaticCall: boolean;
5010
- calldata: string[];
5011
- contractAddress?: any;
5012
- msgSender?: any;
5013
- }[];
5014
- teardownEnqueuedCall: {
5015
- isStaticCall: boolean;
5016
- calldata: string[];
5017
- contractAddress?: any;
5018
- msgSender?: any;
5019
- } | null;
4779
+ setupEnqueuedCalls: any[];
4780
+ appLogicEnqueuedCalls: any[];
5020
4781
  gasUsedByPrivate: {
5021
4782
  daGas: string | number | bigint;
5022
4783
  l2Gas: string | number | bigint;
5023
4784
  };
5024
4785
  feePayer?: any;
4786
+ teardownEnqueuedCall?: any;
5025
4787
  };
5026
4788
  contractInstances: {
5027
4789
  salt: string;
@@ -5577,69 +5339,9 @@ export declare class AvmCircuitInputs {
5577
5339
  contractAddress?: any;
5578
5340
  }[];
5579
5341
  }>;
5580
- setupEnqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
5581
- msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
5582
- contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
5583
- calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
5584
- isStaticCall: z.ZodBoolean;
5585
- }, "strip", z.ZodTypeAny, {
5586
- contractAddress: AztecAddress;
5587
- msgSender: AztecAddress;
5588
- isStaticCall: boolean;
5589
- calldata: Fr[];
5590
- }, {
5591
- isStaticCall: boolean;
5592
- calldata: string[];
5593
- contractAddress?: any;
5594
- msgSender?: any;
5595
- }>, AvmEnqueuedCallHint, {
5596
- isStaticCall: boolean;
5597
- calldata: string[];
5598
- contractAddress?: any;
5599
- msgSender?: any;
5600
- }>, "many">;
5601
- appLogicEnqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
5602
- msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
5603
- contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
5604
- calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
5605
- isStaticCall: z.ZodBoolean;
5606
- }, "strip", z.ZodTypeAny, {
5607
- contractAddress: AztecAddress;
5608
- msgSender: AztecAddress;
5609
- isStaticCall: boolean;
5610
- calldata: Fr[];
5611
- }, {
5612
- isStaticCall: boolean;
5613
- calldata: string[];
5614
- contractAddress?: any;
5615
- msgSender?: any;
5616
- }>, AvmEnqueuedCallHint, {
5617
- isStaticCall: boolean;
5618
- calldata: string[];
5619
- contractAddress?: any;
5620
- msgSender?: any;
5621
- }>, "many">;
5622
- teardownEnqueuedCall: z.ZodNullable<z.ZodEffects<z.ZodObject<{
5623
- msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
5624
- contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
5625
- calldata: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
5626
- isStaticCall: z.ZodBoolean;
5627
- }, "strip", z.ZodTypeAny, {
5628
- contractAddress: AztecAddress;
5629
- msgSender: AztecAddress;
5630
- isStaticCall: boolean;
5631
- calldata: Fr[];
5632
- }, {
5633
- isStaticCall: boolean;
5634
- calldata: string[];
5635
- contractAddress?: any;
5636
- msgSender?: any;
5637
- }>, AvmEnqueuedCallHint, {
5638
- isStaticCall: boolean;
5639
- calldata: string[];
5640
- contractAddress?: any;
5641
- msgSender?: any;
5642
- }>>;
5342
+ setupEnqueuedCalls: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<PublicCallRequestWithCalldata>, "many">;
5343
+ appLogicEnqueuedCalls: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<PublicCallRequestWithCalldata>, "many">;
5344
+ teardownEnqueuedCall: z.ZodNullable<import("@aztec/foundation/schemas").ZodFor<PublicCallRequestWithCalldata>>;
5643
5345
  gasUsedByPrivate: z.ZodEffects<z.ZodObject<{
5644
5346
  daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
5645
5347
  l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
@@ -5670,9 +5372,9 @@ export declare class AvmCircuitInputs {
5670
5372
  l2ToL1Messages: ScopedL2ToL1Message[];
5671
5373
  };
5672
5374
  effectiveGasFees: GasFees;
5673
- setupEnqueuedCalls: AvmEnqueuedCallHint[];
5674
- appLogicEnqueuedCalls: AvmEnqueuedCallHint[];
5675
- teardownEnqueuedCall: AvmEnqueuedCallHint | null;
5375
+ setupEnqueuedCalls: PublicCallRequestWithCalldata[];
5376
+ appLogicEnqueuedCalls: PublicCallRequestWithCalldata[];
5377
+ teardownEnqueuedCall: PublicCallRequestWithCalldata | null;
5676
5378
  gasUsedByPrivate: Gas;
5677
5379
  }, {
5678
5380
  hash: string;
@@ -5733,29 +5435,14 @@ export declare class AvmCircuitInputs {
5733
5435
  feePerDaGas: string | number | bigint;
5734
5436
  feePerL2Gas: string | number | bigint;
5735
5437
  };
5736
- setupEnqueuedCalls: {
5737
- isStaticCall: boolean;
5738
- calldata: string[];
5739
- contractAddress?: any;
5740
- msgSender?: any;
5741
- }[];
5742
- appLogicEnqueuedCalls: {
5743
- isStaticCall: boolean;
5744
- calldata: string[];
5745
- contractAddress?: any;
5746
- msgSender?: any;
5747
- }[];
5748
- teardownEnqueuedCall: {
5749
- isStaticCall: boolean;
5750
- calldata: string[];
5751
- contractAddress?: any;
5752
- msgSender?: any;
5753
- } | null;
5438
+ setupEnqueuedCalls: any[];
5439
+ appLogicEnqueuedCalls: any[];
5754
5440
  gasUsedByPrivate: {
5755
5441
  daGas: string | number | bigint;
5756
5442
  l2Gas: string | number | bigint;
5757
5443
  };
5758
5444
  feePayer?: any;
5445
+ teardownEnqueuedCall?: any;
5759
5446
  }>, AvmTxHint, {
5760
5447
  hash: string;
5761
5448
  globalVariables: {
@@ -5815,29 +5502,14 @@ export declare class AvmCircuitInputs {
5815
5502
  feePerDaGas: string | number | bigint;
5816
5503
  feePerL2Gas: string | number | bigint;
5817
5504
  };
5818
- setupEnqueuedCalls: {
5819
- isStaticCall: boolean;
5820
- calldata: string[];
5821
- contractAddress?: any;
5822
- msgSender?: any;
5823
- }[];
5824
- appLogicEnqueuedCalls: {
5825
- isStaticCall: boolean;
5826
- calldata: string[];
5827
- contractAddress?: any;
5828
- msgSender?: any;
5829
- }[];
5830
- teardownEnqueuedCall: {
5831
- isStaticCall: boolean;
5832
- calldata: string[];
5833
- contractAddress?: any;
5834
- msgSender?: any;
5835
- } | null;
5505
+ setupEnqueuedCalls: any[];
5506
+ appLogicEnqueuedCalls: any[];
5836
5507
  gasUsedByPrivate: {
5837
5508
  daGas: string | number | bigint;
5838
5509
  l2Gas: string | number | bigint;
5839
5510
  };
5840
5511
  feePayer?: any;
5512
+ teardownEnqueuedCall?: any;
5841
5513
  }>;
5842
5514
  contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
5843
5515
  address: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
@@ -7625,29 +7297,14 @@ export declare class AvmCircuitInputs {
7625
7297
  feePerDaGas: string | number | bigint;
7626
7298
  feePerL2Gas: string | number | bigint;
7627
7299
  };
7628
- setupEnqueuedCalls: {
7629
- isStaticCall: boolean;
7630
- calldata: string[];
7631
- contractAddress?: any;
7632
- msgSender?: any;
7633
- }[];
7634
- appLogicEnqueuedCalls: {
7635
- isStaticCall: boolean;
7636
- calldata: string[];
7637
- contractAddress?: any;
7638
- msgSender?: any;
7639
- }[];
7640
- teardownEnqueuedCall: {
7641
- isStaticCall: boolean;
7642
- calldata: string[];
7643
- contractAddress?: any;
7644
- msgSender?: any;
7645
- } | null;
7300
+ setupEnqueuedCalls: any[];
7301
+ appLogicEnqueuedCalls: any[];
7646
7302
  gasUsedByPrivate: {
7647
7303
  daGas: string | number | bigint;
7648
7304
  l2Gas: string | number | bigint;
7649
7305
  };
7650
7306
  feePayer?: any;
7307
+ teardownEnqueuedCall?: any;
7651
7308
  };
7652
7309
  contractInstances: {
7653
7310
  salt: string;
@@ -7993,29 +7650,14 @@ export declare class AvmCircuitInputs {
7993
7650
  feePerDaGas: string | number | bigint;
7994
7651
  feePerL2Gas: string | number | bigint;
7995
7652
  };
7996
- setupEnqueuedCalls: {
7997
- isStaticCall: boolean;
7998
- calldata: string[];
7999
- contractAddress?: any;
8000
- msgSender?: any;
8001
- }[];
8002
- appLogicEnqueuedCalls: {
8003
- isStaticCall: boolean;
8004
- calldata: string[];
8005
- contractAddress?: any;
8006
- msgSender?: any;
8007
- }[];
8008
- teardownEnqueuedCall: {
8009
- isStaticCall: boolean;
8010
- calldata: string[];
8011
- contractAddress?: any;
8012
- msgSender?: any;
8013
- } | null;
7653
+ setupEnqueuedCalls: any[];
7654
+ appLogicEnqueuedCalls: any[];
8014
7655
  gasUsedByPrivate: {
8015
7656
  daGas: string | number | bigint;
8016
7657
  l2Gas: string | number | bigint;
8017
7658
  };
8018
7659
  feePayer?: any;
7660
+ teardownEnqueuedCall?: any;
8019
7661
  };
8020
7662
  contractInstances: {
8021
7663
  salt: string;
@@ -9591,29 +9233,14 @@ export declare class AvmCircuitInputs {
9591
9233
  feePerDaGas: string | number | bigint;
9592
9234
  feePerL2Gas: string | number | bigint;
9593
9235
  };
9594
- setupEnqueuedCalls: {
9595
- isStaticCall: boolean;
9596
- calldata: string[];
9597
- contractAddress?: any;
9598
- msgSender?: any;
9599
- }[];
9600
- appLogicEnqueuedCalls: {
9601
- isStaticCall: boolean;
9602
- calldata: string[];
9603
- contractAddress?: any;
9604
- msgSender?: any;
9605
- }[];
9606
- teardownEnqueuedCall: {
9607
- isStaticCall: boolean;
9608
- calldata: string[];
9609
- contractAddress?: any;
9610
- msgSender?: any;
9611
- } | null;
9236
+ setupEnqueuedCalls: any[];
9237
+ appLogicEnqueuedCalls: any[];
9612
9238
  gasUsedByPrivate: {
9613
9239
  daGas: string | number | bigint;
9614
9240
  l2Gas: string | number | bigint;
9615
9241
  };
9616
9242
  feePayer?: any;
9243
+ teardownEnqueuedCall?: any;
9617
9244
  };
9618
9245
  contractInstances: {
9619
9246
  salt: string;
@@ -10123,29 +9750,14 @@ export declare class AvmCircuitInputs {
10123
9750
  feePerDaGas: string | number | bigint;
10124
9751
  feePerL2Gas: string | number | bigint;
10125
9752
  };
10126
- setupEnqueuedCalls: {
10127
- isStaticCall: boolean;
10128
- calldata: string[];
10129
- contractAddress?: any;
10130
- msgSender?: any;
10131
- }[];
10132
- appLogicEnqueuedCalls: {
10133
- isStaticCall: boolean;
10134
- calldata: string[];
10135
- contractAddress?: any;
10136
- msgSender?: any;
10137
- }[];
10138
- teardownEnqueuedCall: {
10139
- isStaticCall: boolean;
10140
- calldata: string[];
10141
- contractAddress?: any;
10142
- msgSender?: any;
10143
- } | null;
9753
+ setupEnqueuedCalls: any[];
9754
+ appLogicEnqueuedCalls: any[];
10144
9755
  gasUsedByPrivate: {
10145
9756
  daGas: string | number | bigint;
10146
9757
  l2Gas: string | number | bigint;
10147
9758
  };
10148
9759
  feePayer?: any;
9760
+ teardownEnqueuedCall?: any;
10149
9761
  };
10150
9762
  contractInstances: {
10151
9763
  salt: string;