@aztec/stdlib 3.0.0-nightly.20251105 → 3.0.0-nightly.20251107
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 +596 -455
- package/dest/avm/avm.d.ts.map +1 -1
- package/dest/avm/avm.js +69 -1
- package/dest/avm/avm_proving_request.d.ts +184 -184
- package/dest/avm/message_pack.d.ts +1 -1
- package/dest/avm/message_pack.d.ts.map +1 -1
- package/dest/avm/message_pack.js +3 -0
- package/dest/avm/revert_code.d.ts +2 -2
- package/dest/avm/revert_code.d.ts.map +1 -1
- package/dest/block/proposal/attestations_and_signers.d.ts +15 -4
- package/dest/block/proposal/attestations_and_signers.d.ts.map +1 -1
- package/dest/block/proposal/attestations_and_signers.js +14 -0
- package/dest/interfaces/aztec-node-admin.d.ts +3 -0
- package/dest/interfaces/aztec-node-admin.d.ts.map +1 -1
- package/dest/interfaces/configs.d.ts +5 -0
- package/dest/interfaces/configs.d.ts.map +1 -1
- package/dest/interfaces/configs.js +2 -1
- package/dest/interfaces/proving-job.d.ts +184 -184
- package/dest/schemas/schemas.d.ts +77 -0
- package/dest/schemas/schemas.d.ts.map +1 -1
- package/dest/schemas/schemas.js +8 -1
- package/dest/tests/mocks.d.ts.map +1 -1
- package/dest/tests/mocks.js +3 -5
- package/package.json +8 -8
- package/src/avm/avm.ts +99 -1
- package/src/avm/message_pack.ts +4 -1
- package/src/avm/revert_code.ts +2 -1
- package/src/block/proposal/attestations_and_signers.ts +20 -1
- package/src/interfaces/configs.ts +3 -0
- package/src/schemas/schemas.ts +8 -0
- package/src/tests/mocks.ts +3 -3
package/dest/avm/avm.d.ts
CHANGED
|
@@ -2,18 +2,22 @@ import { Fr } from '@aztec/foundation/fields';
|
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { AztecAddress } from '../aztec-address/index.js';
|
|
4
4
|
import { ContractDeploymentData } from '../contract/index.js';
|
|
5
|
+
import type { SimulationError } from '../errors/simulation_error.js';
|
|
5
6
|
import { Gas } from '../gas/gas.js';
|
|
6
7
|
import { GasFees } from '../gas/gas_fees.js';
|
|
7
8
|
import { GasSettings } from '../gas/gas_settings.js';
|
|
9
|
+
import type { GasUsed } from '../gas/gas_used.js';
|
|
8
10
|
import { PublicKeys } from '../keys/public_keys.js';
|
|
11
|
+
import type { DebugLog } from '../logs/debug_log.js';
|
|
9
12
|
import { ScopedL2ToL1Message } from '../messaging/l2_to_l1_message.js';
|
|
10
13
|
import { AppendOnlyTreeSnapshot } from '../trees/append_only_tree_snapshot.js';
|
|
11
14
|
import { MerkleTreeId } from '../trees/merkle_tree_id.js';
|
|
12
15
|
import { NullifierLeafPreimage } from '../trees/nullifier_leaf.js';
|
|
13
16
|
import { PublicDataTreeLeafPreimage } from '../trees/public_data_leaf.js';
|
|
14
|
-
import { GlobalVariables, ProtocolContracts, PublicCallRequestWithCalldata, TreeSnapshots, type Tx } from '../tx/index.js';
|
|
17
|
+
import { GlobalVariables, NestedProcessReturnValues, ProtocolContracts, PublicCallRequestWithCalldata, TreeSnapshots, type Tx, TxExecutionPhase } from '../tx/index.js';
|
|
15
18
|
import { WorldStateRevision } from '../world-state/world_state_revision.js';
|
|
16
19
|
import { AvmCircuitPublicInputs } from './avm_circuit_public_inputs.js';
|
|
20
|
+
import { RevertCode } from './revert_code.js';
|
|
17
21
|
export declare class AvmContractClassHint {
|
|
18
22
|
readonly hintKey: number;
|
|
19
23
|
readonly classId: Fr;
|
|
@@ -23,9 +27,9 @@ export declare class AvmContractClassHint {
|
|
|
23
27
|
constructor(hintKey: number, classId: Fr, artifactHash: Fr, privateFunctionsRoot: Fr, packedBytecode: Buffer);
|
|
24
28
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
25
29
|
hintKey: z.ZodNumber;
|
|
26
|
-
classId:
|
|
27
|
-
artifactHash:
|
|
28
|
-
privateFunctionsRoot:
|
|
30
|
+
classId: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
31
|
+
artifactHash: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
32
|
+
privateFunctionsRoot: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
29
33
|
packedBytecode: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Buffer<ArrayBuffer>, string>, z.ZodEffects<z.ZodObject<{
|
|
30
34
|
type: z.ZodLiteral<"Buffer">;
|
|
31
35
|
data: z.ZodArray<z.ZodNumber, "many">;
|
|
@@ -46,23 +50,23 @@ export declare class AvmContractClassHint {
|
|
|
46
50
|
hintKey: number;
|
|
47
51
|
classId: Fr;
|
|
48
52
|
}, {
|
|
49
|
-
artifactHash: string;
|
|
50
53
|
packedBytecode: string | {
|
|
51
54
|
type: "Buffer";
|
|
52
55
|
data: number[];
|
|
53
56
|
};
|
|
54
|
-
privateFunctionsRoot: string;
|
|
55
57
|
hintKey: number;
|
|
56
|
-
|
|
58
|
+
artifactHash?: any;
|
|
59
|
+
privateFunctionsRoot?: any;
|
|
60
|
+
classId?: any;
|
|
57
61
|
}>, AvmContractClassHint, {
|
|
58
|
-
artifactHash: string;
|
|
59
62
|
packedBytecode: string | {
|
|
60
63
|
type: "Buffer";
|
|
61
64
|
data: number[];
|
|
62
65
|
};
|
|
63
|
-
privateFunctionsRoot: string;
|
|
64
66
|
hintKey: number;
|
|
65
|
-
|
|
67
|
+
artifactHash?: any;
|
|
68
|
+
privateFunctionsRoot?: any;
|
|
69
|
+
classId?: any;
|
|
66
70
|
}>;
|
|
67
71
|
}
|
|
68
72
|
export declare class AvmBytecodeCommitmentHint {
|
|
@@ -72,20 +76,20 @@ export declare class AvmBytecodeCommitmentHint {
|
|
|
72
76
|
constructor(hintKey: number, classId: Fr, commitment: Fr);
|
|
73
77
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
74
78
|
hintKey: z.ZodNumber;
|
|
75
|
-
classId:
|
|
76
|
-
commitment:
|
|
79
|
+
classId: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
80
|
+
commitment: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
77
81
|
}, "strip", z.ZodTypeAny, {
|
|
78
82
|
hintKey: number;
|
|
79
83
|
classId: Fr;
|
|
80
84
|
commitment: Fr;
|
|
81
85
|
}, {
|
|
82
86
|
hintKey: number;
|
|
83
|
-
classId
|
|
84
|
-
commitment
|
|
87
|
+
classId?: any;
|
|
88
|
+
commitment?: any;
|
|
85
89
|
}>, AvmBytecodeCommitmentHint, {
|
|
86
90
|
hintKey: number;
|
|
87
|
-
classId
|
|
88
|
-
commitment
|
|
91
|
+
classId?: any;
|
|
92
|
+
commitment?: any;
|
|
89
93
|
}>;
|
|
90
94
|
}
|
|
91
95
|
export declare class AvmContractInstanceHint {
|
|
@@ -100,12 +104,12 @@ export declare class AvmContractInstanceHint {
|
|
|
100
104
|
constructor(hintKey: number, address: AztecAddress, salt: Fr, deployer: AztecAddress, currentContractClassId: Fr, originalContractClassId: Fr, initializationHash: Fr, publicKeys: PublicKeys);
|
|
101
105
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
102
106
|
hintKey: z.ZodNumber;
|
|
103
|
-
address: import("
|
|
104
|
-
salt:
|
|
105
|
-
deployer: import("
|
|
106
|
-
currentContractClassId:
|
|
107
|
-
originalContractClassId:
|
|
108
|
-
initializationHash:
|
|
107
|
+
address: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
108
|
+
salt: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
109
|
+
deployer: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
110
|
+
currentContractClassId: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
111
|
+
originalContractClassId: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
112
|
+
initializationHash: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
109
113
|
publicKeys: z.ZodEffects<z.ZodObject<{
|
|
110
114
|
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
111
115
|
masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
@@ -137,10 +141,6 @@ export declare class AvmContractInstanceHint {
|
|
|
137
141
|
address: AztecAddress;
|
|
138
142
|
hintKey: number;
|
|
139
143
|
}, {
|
|
140
|
-
salt: string;
|
|
141
|
-
currentContractClassId: string;
|
|
142
|
-
originalContractClassId: string;
|
|
143
|
-
initializationHash: string;
|
|
144
144
|
publicKeys: {
|
|
145
145
|
masterNullifierPublicKey: string;
|
|
146
146
|
masterIncomingViewingPublicKey: string;
|
|
@@ -148,13 +148,13 @@ export declare class AvmContractInstanceHint {
|
|
|
148
148
|
masterTaggingPublicKey: string;
|
|
149
149
|
};
|
|
150
150
|
hintKey: number;
|
|
151
|
+
salt?: any;
|
|
151
152
|
deployer?: any;
|
|
153
|
+
currentContractClassId?: any;
|
|
154
|
+
originalContractClassId?: any;
|
|
155
|
+
initializationHash?: any;
|
|
152
156
|
address?: any;
|
|
153
157
|
}>, AvmContractInstanceHint, {
|
|
154
|
-
salt: string;
|
|
155
|
-
currentContractClassId: string;
|
|
156
|
-
originalContractClassId: string;
|
|
157
|
-
initializationHash: string;
|
|
158
158
|
publicKeys: {
|
|
159
159
|
masterNullifierPublicKey: string;
|
|
160
160
|
masterIncomingViewingPublicKey: string;
|
|
@@ -162,7 +162,11 @@ export declare class AvmContractInstanceHint {
|
|
|
162
162
|
masterTaggingPublicKey: string;
|
|
163
163
|
};
|
|
164
164
|
hintKey: number;
|
|
165
|
+
salt?: any;
|
|
165
166
|
deployer?: any;
|
|
167
|
+
currentContractClassId?: any;
|
|
168
|
+
originalContractClassId?: any;
|
|
169
|
+
initializationHash?: any;
|
|
166
170
|
address?: any;
|
|
167
171
|
}>;
|
|
168
172
|
}
|
|
@@ -172,8 +176,8 @@ export declare class AvmDebugFunctionNameHint {
|
|
|
172
176
|
readonly name: string;
|
|
173
177
|
constructor(address: AztecAddress, selector: Fr, name: string);
|
|
174
178
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
175
|
-
address: import("
|
|
176
|
-
selector:
|
|
179
|
+
address: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
180
|
+
selector: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
177
181
|
name: z.ZodString;
|
|
178
182
|
}, "strip", z.ZodTypeAny, {
|
|
179
183
|
name: string;
|
|
@@ -181,11 +185,11 @@ export declare class AvmDebugFunctionNameHint {
|
|
|
181
185
|
address: AztecAddress;
|
|
182
186
|
}, {
|
|
183
187
|
name: string;
|
|
184
|
-
selector
|
|
188
|
+
selector?: any;
|
|
185
189
|
address?: any;
|
|
186
190
|
}>, AvmDebugFunctionNameHint, {
|
|
187
191
|
name: string;
|
|
188
|
-
selector
|
|
192
|
+
selector?: any;
|
|
189
193
|
address?: any;
|
|
190
194
|
}>;
|
|
191
195
|
}
|
|
@@ -211,14 +215,14 @@ export declare class AvmGetSiblingPathHint {
|
|
|
211
215
|
}>;
|
|
212
216
|
treeId: z.ZodNumber;
|
|
213
217
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
214
|
-
path: z.ZodArray<
|
|
218
|
+
path: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
215
219
|
}, "strip", z.ZodTypeAny, {
|
|
216
220
|
path: Fr[];
|
|
217
221
|
index: bigint;
|
|
218
222
|
hintKey: AppendOnlyTreeSnapshot;
|
|
219
223
|
treeId: number;
|
|
220
224
|
}, {
|
|
221
|
-
path:
|
|
225
|
+
path: any[];
|
|
222
226
|
index: string | number | bigint;
|
|
223
227
|
hintKey: {
|
|
224
228
|
root: string;
|
|
@@ -226,7 +230,7 @@ export declare class AvmGetSiblingPathHint {
|
|
|
226
230
|
};
|
|
227
231
|
treeId: number;
|
|
228
232
|
}>, AvmGetSiblingPathHint, {
|
|
229
|
-
path:
|
|
233
|
+
path: any[];
|
|
230
234
|
index: string | number | bigint;
|
|
231
235
|
hintKey: {
|
|
232
236
|
root: string;
|
|
@@ -257,7 +261,7 @@ export declare class AvmGetPreviousValueIndexHint {
|
|
|
257
261
|
nextAvailableLeafIndex: string | number | bigint;
|
|
258
262
|
}>;
|
|
259
263
|
treeId: z.ZodNumber;
|
|
260
|
-
value:
|
|
264
|
+
value: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
261
265
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
262
266
|
alreadyPresent: z.ZodBoolean;
|
|
263
267
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -267,7 +271,6 @@ export declare class AvmGetPreviousValueIndexHint {
|
|
|
267
271
|
hintKey: AppendOnlyTreeSnapshot;
|
|
268
272
|
treeId: number;
|
|
269
273
|
}, {
|
|
270
|
-
value: string;
|
|
271
274
|
index: string | number | bigint;
|
|
272
275
|
alreadyPresent: boolean;
|
|
273
276
|
hintKey: {
|
|
@@ -275,8 +278,8 @@ export declare class AvmGetPreviousValueIndexHint {
|
|
|
275
278
|
nextAvailableLeafIndex: string | number | bigint;
|
|
276
279
|
};
|
|
277
280
|
treeId: number;
|
|
281
|
+
value?: any;
|
|
278
282
|
}>, AvmGetPreviousValueIndexHint, {
|
|
279
|
-
value: string;
|
|
280
283
|
index: string | number | bigint;
|
|
281
284
|
alreadyPresent: boolean;
|
|
282
285
|
hintKey: {
|
|
@@ -284,6 +287,7 @@ export declare class AvmGetPreviousValueIndexHint {
|
|
|
284
287
|
nextAvailableLeafIndex: string | number | bigint;
|
|
285
288
|
};
|
|
286
289
|
treeId: number;
|
|
290
|
+
value?: any;
|
|
287
291
|
}>;
|
|
288
292
|
}
|
|
289
293
|
type IndexedTreeLeafPreimages = NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
@@ -582,28 +586,28 @@ export declare class AvmGetLeafValueHint {
|
|
|
582
586
|
}>;
|
|
583
587
|
treeId: z.ZodNumber;
|
|
584
588
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
585
|
-
value:
|
|
589
|
+
value: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
586
590
|
}, "strip", z.ZodTypeAny, {
|
|
587
591
|
value: Fr;
|
|
588
592
|
index: bigint;
|
|
589
593
|
hintKey: AppendOnlyTreeSnapshot;
|
|
590
594
|
treeId: number;
|
|
591
595
|
}, {
|
|
592
|
-
value: string;
|
|
593
596
|
index: string | number | bigint;
|
|
594
597
|
hintKey: {
|
|
595
598
|
root: string;
|
|
596
599
|
nextAvailableLeafIndex: string | number | bigint;
|
|
597
600
|
};
|
|
598
601
|
treeId: number;
|
|
602
|
+
value?: any;
|
|
599
603
|
}>, AvmGetLeafValueHint, {
|
|
600
|
-
value: string;
|
|
601
604
|
index: string | number | bigint;
|
|
602
605
|
hintKey: {
|
|
603
606
|
root: string;
|
|
604
607
|
nextAvailableLeafIndex: string | number | bigint;
|
|
605
608
|
};
|
|
606
609
|
treeId: number;
|
|
610
|
+
value?: any;
|
|
607
611
|
}>;
|
|
608
612
|
}
|
|
609
613
|
declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
@@ -745,13 +749,13 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
|
745
749
|
nextIndex: string | number | bigint;
|
|
746
750
|
}>;
|
|
747
751
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
748
|
-
path: z.ZodArray<
|
|
752
|
+
path: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
749
753
|
}, "strip", z.ZodTypeAny, {
|
|
750
754
|
path: Fr[];
|
|
751
755
|
index: bigint;
|
|
752
756
|
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
753
757
|
}, {
|
|
754
|
-
path:
|
|
758
|
+
path: any[];
|
|
755
759
|
index: string | number | bigint;
|
|
756
760
|
leaf: {
|
|
757
761
|
leaf: {
|
|
@@ -833,13 +837,13 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
|
833
837
|
nextIndex: string | number | bigint;
|
|
834
838
|
}>;
|
|
835
839
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
836
|
-
path: z.ZodArray<
|
|
840
|
+
path: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
837
841
|
}, "strip", z.ZodTypeAny, {
|
|
838
842
|
path: Fr[];
|
|
839
843
|
index: bigint;
|
|
840
844
|
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
841
845
|
}, {
|
|
842
|
-
path:
|
|
846
|
+
path: any[];
|
|
843
847
|
index: string | number | bigint;
|
|
844
848
|
leaf: {
|
|
845
849
|
leaf: {
|
|
@@ -888,7 +892,7 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
|
888
892
|
nextAvailableLeafIndex: string | number | bigint;
|
|
889
893
|
};
|
|
890
894
|
lowLeavesWitnessData: {
|
|
891
|
-
path:
|
|
895
|
+
path: any[];
|
|
892
896
|
index: string | number | bigint;
|
|
893
897
|
leaf: {
|
|
894
898
|
leaf: {
|
|
@@ -906,7 +910,7 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
|
906
910
|
};
|
|
907
911
|
};
|
|
908
912
|
insertionWitnessData: {
|
|
909
|
-
path:
|
|
913
|
+
path: any[];
|
|
910
914
|
index: string | number | bigint;
|
|
911
915
|
leaf: {
|
|
912
916
|
leaf: {
|
|
@@ -955,7 +959,7 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
|
955
959
|
nextAvailableLeafIndex: string | number | bigint;
|
|
956
960
|
};
|
|
957
961
|
lowLeavesWitnessData: {
|
|
958
|
-
path:
|
|
962
|
+
path: any[];
|
|
959
963
|
index: string | number | bigint;
|
|
960
964
|
leaf: {
|
|
961
965
|
leaf: {
|
|
@@ -973,7 +977,7 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
|
|
|
973
977
|
};
|
|
974
978
|
};
|
|
975
979
|
insertionWitnessData: {
|
|
976
|
-
path:
|
|
980
|
+
path: any[];
|
|
977
981
|
index: string | number | bigint;
|
|
978
982
|
leaf: {
|
|
979
983
|
leaf: {
|
|
@@ -1133,13 +1137,13 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
|
|
|
1133
1137
|
nextIndex: string | number | bigint;
|
|
1134
1138
|
}>;
|
|
1135
1139
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
1136
|
-
path: z.ZodArray<
|
|
1140
|
+
path: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
1137
1141
|
}, "strip", z.ZodTypeAny, {
|
|
1138
1142
|
path: Fr[];
|
|
1139
1143
|
index: bigint;
|
|
1140
1144
|
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
1141
1145
|
}, {
|
|
1142
|
-
path:
|
|
1146
|
+
path: any[];
|
|
1143
1147
|
index: string | number | bigint;
|
|
1144
1148
|
leaf: {
|
|
1145
1149
|
leaf: {
|
|
@@ -1221,13 +1225,13 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
|
|
|
1221
1225
|
nextIndex: string | number | bigint;
|
|
1222
1226
|
}>;
|
|
1223
1227
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
1224
|
-
path: z.ZodArray<
|
|
1228
|
+
path: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
1225
1229
|
}, "strip", z.ZodTypeAny, {
|
|
1226
1230
|
path: Fr[];
|
|
1227
1231
|
index: bigint;
|
|
1228
1232
|
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
1229
1233
|
}, {
|
|
1230
|
-
path:
|
|
1234
|
+
path: any[];
|
|
1231
1235
|
index: string | number | bigint;
|
|
1232
1236
|
leaf: {
|
|
1233
1237
|
leaf: {
|
|
@@ -1276,7 +1280,7 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
|
|
|
1276
1280
|
nextAvailableLeafIndex: string | number | bigint;
|
|
1277
1281
|
};
|
|
1278
1282
|
lowLeavesWitnessData: {
|
|
1279
|
-
path:
|
|
1283
|
+
path: any[];
|
|
1280
1284
|
index: string | number | bigint;
|
|
1281
1285
|
leaf: {
|
|
1282
1286
|
leaf: {
|
|
@@ -1294,7 +1298,7 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
|
|
|
1294
1298
|
};
|
|
1295
1299
|
};
|
|
1296
1300
|
insertionWitnessData: {
|
|
1297
|
-
path:
|
|
1301
|
+
path: any[];
|
|
1298
1302
|
index: string | number | bigint;
|
|
1299
1303
|
leaf: {
|
|
1300
1304
|
leaf: {
|
|
@@ -1343,7 +1347,7 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
|
|
|
1343
1347
|
nextAvailableLeafIndex: string | number | bigint;
|
|
1344
1348
|
};
|
|
1345
1349
|
lowLeavesWitnessData: {
|
|
1346
|
-
path:
|
|
1350
|
+
path: any[];
|
|
1347
1351
|
index: string | number | bigint;
|
|
1348
1352
|
leaf: {
|
|
1349
1353
|
leaf: {
|
|
@@ -1361,7 +1365,7 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
|
|
|
1361
1365
|
};
|
|
1362
1366
|
};
|
|
1363
1367
|
insertionWitnessData: {
|
|
1364
|
-
path:
|
|
1368
|
+
path: any[];
|
|
1365
1369
|
index: string | number | bigint;
|
|
1366
1370
|
leaf: {
|
|
1367
1371
|
leaf: {
|
|
@@ -1416,7 +1420,7 @@ export declare class AvmAppendLeavesHint {
|
|
|
1416
1420
|
nextAvailableLeafIndex: string | number | bigint;
|
|
1417
1421
|
}>;
|
|
1418
1422
|
treeId: z.ZodNumber;
|
|
1419
|
-
leaves: z.ZodArray<
|
|
1423
|
+
leaves: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
1420
1424
|
}, "strip", z.ZodTypeAny, {
|
|
1421
1425
|
hintKey: AppendOnlyTreeSnapshot;
|
|
1422
1426
|
treeId: number;
|
|
@@ -1432,7 +1436,7 @@ export declare class AvmAppendLeavesHint {
|
|
|
1432
1436
|
root: string;
|
|
1433
1437
|
nextAvailableLeafIndex: string | number | bigint;
|
|
1434
1438
|
};
|
|
1435
|
-
leaves:
|
|
1439
|
+
leaves: any[];
|
|
1436
1440
|
}>, AvmAppendLeavesHint, {
|
|
1437
1441
|
hintKey: {
|
|
1438
1442
|
root: string;
|
|
@@ -1443,7 +1447,7 @@ export declare class AvmAppendLeavesHint {
|
|
|
1443
1447
|
root: string;
|
|
1444
1448
|
nextAvailableLeafIndex: string | number | bigint;
|
|
1445
1449
|
};
|
|
1446
|
-
leaves:
|
|
1450
|
+
leaves: any[];
|
|
1447
1451
|
}>;
|
|
1448
1452
|
}
|
|
1449
1453
|
declare class AvmCheckpointActionNoStateChangeHint {
|
|
@@ -1907,7 +1911,7 @@ export declare class AvmTxHint {
|
|
|
1907
1911
|
}>;
|
|
1908
1912
|
nonRevertibleContractDeploymentData: z.ZodEffects<z.ZodObject<{
|
|
1909
1913
|
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1910
|
-
contractAddress: import("
|
|
1914
|
+
contractAddress: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
1911
1915
|
fields: z.ZodEffects<z.ZodObject<{
|
|
1912
1916
|
fields: z.ZodEffects<z.ZodArray<z.ZodType<Fr, any, string>, "many">, Fr[], string[]>;
|
|
1913
1917
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1978,7 +1982,7 @@ export declare class AvmTxHint {
|
|
|
1978
1982
|
}>;
|
|
1979
1983
|
revertibleContractDeploymentData: z.ZodEffects<z.ZodObject<{
|
|
1980
1984
|
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1981
|
-
contractAddress: import("
|
|
1985
|
+
contractAddress: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
1982
1986
|
fields: z.ZodEffects<z.ZodObject<{
|
|
1983
1987
|
fields: z.ZodEffects<z.ZodArray<z.ZodType<Fr, any, string>, "many">, Fr[], string[]>;
|
|
1984
1988
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2048,8 +2052,8 @@ export declare class AvmTxHint {
|
|
|
2048
2052
|
}[];
|
|
2049
2053
|
}>;
|
|
2050
2054
|
nonRevertibleAccumulatedData: z.ZodObject<{
|
|
2051
|
-
noteHashes: z.ZodArray<
|
|
2052
|
-
nullifiers: z.ZodArray<
|
|
2055
|
+
noteHashes: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
2056
|
+
nullifiers: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
2053
2057
|
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2054
2058
|
message: z.ZodEffects<z.ZodObject<{
|
|
2055
2059
|
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
@@ -2064,7 +2068,7 @@ export declare class AvmTxHint {
|
|
|
2064
2068
|
content: string;
|
|
2065
2069
|
recipient: string;
|
|
2066
2070
|
}>;
|
|
2067
|
-
contractAddress: import("
|
|
2071
|
+
contractAddress: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
2068
2072
|
}, "strip", z.ZodTypeAny, {
|
|
2069
2073
|
message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
|
|
2070
2074
|
contractAddress: AztecAddress;
|
|
@@ -2086,8 +2090,8 @@ export declare class AvmTxHint {
|
|
|
2086
2090
|
nullifiers: Fr[];
|
|
2087
2091
|
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
2088
2092
|
}, {
|
|
2089
|
-
noteHashes:
|
|
2090
|
-
nullifiers:
|
|
2093
|
+
noteHashes: any[];
|
|
2094
|
+
nullifiers: any[];
|
|
2091
2095
|
l2ToL1Messages: {
|
|
2092
2096
|
message: {
|
|
2093
2097
|
content: string;
|
|
@@ -2097,8 +2101,8 @@ export declare class AvmTxHint {
|
|
|
2097
2101
|
}[];
|
|
2098
2102
|
}>;
|
|
2099
2103
|
revertibleAccumulatedData: z.ZodObject<{
|
|
2100
|
-
noteHashes: z.ZodArray<
|
|
2101
|
-
nullifiers: z.ZodArray<
|
|
2104
|
+
noteHashes: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
2105
|
+
nullifiers: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
2102
2106
|
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2103
2107
|
message: z.ZodEffects<z.ZodObject<{
|
|
2104
2108
|
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
@@ -2113,7 +2117,7 @@ export declare class AvmTxHint {
|
|
|
2113
2117
|
content: string;
|
|
2114
2118
|
recipient: string;
|
|
2115
2119
|
}>;
|
|
2116
|
-
contractAddress: import("
|
|
2120
|
+
contractAddress: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
2117
2121
|
}, "strip", z.ZodTypeAny, {
|
|
2118
2122
|
message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
|
|
2119
2123
|
contractAddress: AztecAddress;
|
|
@@ -2135,8 +2139,8 @@ export declare class AvmTxHint {
|
|
|
2135
2139
|
nullifiers: Fr[];
|
|
2136
2140
|
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
2137
2141
|
}, {
|
|
2138
|
-
noteHashes:
|
|
2139
|
-
nullifiers:
|
|
2142
|
+
noteHashes: any[];
|
|
2143
|
+
nullifiers: any[];
|
|
2140
2144
|
l2ToL1Messages: {
|
|
2141
2145
|
message: {
|
|
2142
2146
|
content: string;
|
|
@@ -2145,9 +2149,9 @@ export declare class AvmTxHint {
|
|
|
2145
2149
|
contractAddress?: any;
|
|
2146
2150
|
}[];
|
|
2147
2151
|
}>;
|
|
2148
|
-
setupEnqueuedCalls: z.ZodArray<import("
|
|
2149
|
-
appLogicEnqueuedCalls: z.ZodArray<import("
|
|
2150
|
-
teardownEnqueuedCall: z.ZodNullable<import("
|
|
2152
|
+
setupEnqueuedCalls: z.ZodArray<import("../schemas/schemas.js").ZodFor<PublicCallRequestWithCalldata>, "many">;
|
|
2153
|
+
appLogicEnqueuedCalls: z.ZodArray<import("../schemas/schemas.js").ZodFor<PublicCallRequestWithCalldata>, "many">;
|
|
2154
|
+
teardownEnqueuedCall: z.ZodNullable<import("../schemas/schemas.js").ZodFor<PublicCallRequestWithCalldata>>;
|
|
2151
2155
|
gasUsedByPrivate: z.ZodEffects<z.ZodObject<{
|
|
2152
2156
|
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
2153
2157
|
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
@@ -2161,7 +2165,7 @@ export declare class AvmTxHint {
|
|
|
2161
2165
|
daGas: string | number | bigint;
|
|
2162
2166
|
l2Gas: string | number | bigint;
|
|
2163
2167
|
}>;
|
|
2164
|
-
feePayer: import("
|
|
2168
|
+
feePayer: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
2165
2169
|
}, "strip", z.ZodTypeAny, {
|
|
2166
2170
|
hash: string;
|
|
2167
2171
|
gasSettings: GasSettings;
|
|
@@ -2204,8 +2208,8 @@ export declare class AvmTxHint {
|
|
|
2204
2208
|
};
|
|
2205
2209
|
};
|
|
2206
2210
|
nonRevertibleAccumulatedData: {
|
|
2207
|
-
noteHashes:
|
|
2208
|
-
nullifiers:
|
|
2211
|
+
noteHashes: any[];
|
|
2212
|
+
nullifiers: any[];
|
|
2209
2213
|
l2ToL1Messages: {
|
|
2210
2214
|
message: {
|
|
2211
2215
|
content: string;
|
|
@@ -2215,8 +2219,8 @@ export declare class AvmTxHint {
|
|
|
2215
2219
|
}[];
|
|
2216
2220
|
};
|
|
2217
2221
|
revertibleAccumulatedData: {
|
|
2218
|
-
noteHashes:
|
|
2219
|
-
nullifiers:
|
|
2222
|
+
noteHashes: any[];
|
|
2223
|
+
nullifiers: any[];
|
|
2220
2224
|
l2ToL1Messages: {
|
|
2221
2225
|
message: {
|
|
2222
2226
|
content: string;
|
|
@@ -2284,8 +2288,8 @@ export declare class AvmTxHint {
|
|
|
2284
2288
|
};
|
|
2285
2289
|
};
|
|
2286
2290
|
nonRevertibleAccumulatedData: {
|
|
2287
|
-
noteHashes:
|
|
2288
|
-
nullifiers:
|
|
2291
|
+
noteHashes: any[];
|
|
2292
|
+
nullifiers: any[];
|
|
2289
2293
|
l2ToL1Messages: {
|
|
2290
2294
|
message: {
|
|
2291
2295
|
content: string;
|
|
@@ -2295,8 +2299,8 @@ export declare class AvmTxHint {
|
|
|
2295
2299
|
}[];
|
|
2296
2300
|
};
|
|
2297
2301
|
revertibleAccumulatedData: {
|
|
2298
|
-
noteHashes:
|
|
2299
|
-
nullifiers:
|
|
2302
|
+
noteHashes: any[];
|
|
2303
|
+
nullifiers: any[];
|
|
2300
2304
|
l2ToL1Messages: {
|
|
2301
2305
|
message: {
|
|
2302
2306
|
content: string;
|
|
@@ -2372,13 +2376,13 @@ export declare class AvmExecutionHints {
|
|
|
2372
2376
|
static empty(): AvmExecutionHints;
|
|
2373
2377
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
2374
2378
|
globalVariables: z.ZodEffects<z.ZodObject<{
|
|
2375
|
-
chainId: import("
|
|
2376
|
-
version: import("
|
|
2379
|
+
chainId: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
2380
|
+
version: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
2377
2381
|
blockNumber: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
2378
|
-
slotNumber: import("
|
|
2382
|
+
slotNumber: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
2379
2383
|
timestamp: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
2380
|
-
coinbase: import("
|
|
2381
|
-
feeRecipient: import("
|
|
2384
|
+
coinbase: import("../schemas/schemas.js").ZodFor<import("@aztec/foundation/schemas").EthAddress>;
|
|
2385
|
+
feeRecipient: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
2382
2386
|
gasFees: z.ZodEffects<z.ZodObject<{
|
|
2383
2387
|
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
2384
2388
|
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
@@ -2536,7 +2540,7 @@ export declare class AvmExecutionHints {
|
|
|
2536
2540
|
}>;
|
|
2537
2541
|
nonRevertibleContractDeploymentData: z.ZodEffects<z.ZodObject<{
|
|
2538
2542
|
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2539
|
-
contractAddress: import("
|
|
2543
|
+
contractAddress: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
2540
2544
|
fields: z.ZodEffects<z.ZodObject<{
|
|
2541
2545
|
fields: z.ZodEffects<z.ZodArray<z.ZodType<Fr, any, string>, "many">, Fr[], string[]>;
|
|
2542
2546
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2607,7 +2611,7 @@ export declare class AvmExecutionHints {
|
|
|
2607
2611
|
}>;
|
|
2608
2612
|
revertibleContractDeploymentData: z.ZodEffects<z.ZodObject<{
|
|
2609
2613
|
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2610
|
-
contractAddress: import("
|
|
2614
|
+
contractAddress: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
2611
2615
|
fields: z.ZodEffects<z.ZodObject<{
|
|
2612
2616
|
fields: z.ZodEffects<z.ZodArray<z.ZodType<Fr, any, string>, "many">, Fr[], string[]>;
|
|
2613
2617
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2677,8 +2681,8 @@ export declare class AvmExecutionHints {
|
|
|
2677
2681
|
}[];
|
|
2678
2682
|
}>;
|
|
2679
2683
|
nonRevertibleAccumulatedData: z.ZodObject<{
|
|
2680
|
-
noteHashes: z.ZodArray<
|
|
2681
|
-
nullifiers: z.ZodArray<
|
|
2684
|
+
noteHashes: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
2685
|
+
nullifiers: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
2682
2686
|
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2683
2687
|
message: z.ZodEffects<z.ZodObject<{
|
|
2684
2688
|
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
@@ -2693,7 +2697,7 @@ export declare class AvmExecutionHints {
|
|
|
2693
2697
|
content: string;
|
|
2694
2698
|
recipient: string;
|
|
2695
2699
|
}>;
|
|
2696
|
-
contractAddress: import("
|
|
2700
|
+
contractAddress: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
2697
2701
|
}, "strip", z.ZodTypeAny, {
|
|
2698
2702
|
message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
|
|
2699
2703
|
contractAddress: AztecAddress;
|
|
@@ -2715,8 +2719,8 @@ export declare class AvmExecutionHints {
|
|
|
2715
2719
|
nullifiers: Fr[];
|
|
2716
2720
|
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
2717
2721
|
}, {
|
|
2718
|
-
noteHashes:
|
|
2719
|
-
nullifiers:
|
|
2722
|
+
noteHashes: any[];
|
|
2723
|
+
nullifiers: any[];
|
|
2720
2724
|
l2ToL1Messages: {
|
|
2721
2725
|
message: {
|
|
2722
2726
|
content: string;
|
|
@@ -2726,8 +2730,8 @@ export declare class AvmExecutionHints {
|
|
|
2726
2730
|
}[];
|
|
2727
2731
|
}>;
|
|
2728
2732
|
revertibleAccumulatedData: z.ZodObject<{
|
|
2729
|
-
noteHashes: z.ZodArray<
|
|
2730
|
-
nullifiers: z.ZodArray<
|
|
2733
|
+
noteHashes: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
2734
|
+
nullifiers: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
2731
2735
|
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2732
2736
|
message: z.ZodEffects<z.ZodObject<{
|
|
2733
2737
|
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
@@ -2742,7 +2746,7 @@ export declare class AvmExecutionHints {
|
|
|
2742
2746
|
content: string;
|
|
2743
2747
|
recipient: string;
|
|
2744
2748
|
}>;
|
|
2745
|
-
contractAddress: import("
|
|
2749
|
+
contractAddress: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
2746
2750
|
}, "strip", z.ZodTypeAny, {
|
|
2747
2751
|
message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
|
|
2748
2752
|
contractAddress: AztecAddress;
|
|
@@ -2764,8 +2768,8 @@ export declare class AvmExecutionHints {
|
|
|
2764
2768
|
nullifiers: Fr[];
|
|
2765
2769
|
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
2766
2770
|
}, {
|
|
2767
|
-
noteHashes:
|
|
2768
|
-
nullifiers:
|
|
2771
|
+
noteHashes: any[];
|
|
2772
|
+
nullifiers: any[];
|
|
2769
2773
|
l2ToL1Messages: {
|
|
2770
2774
|
message: {
|
|
2771
2775
|
content: string;
|
|
@@ -2774,9 +2778,9 @@ export declare class AvmExecutionHints {
|
|
|
2774
2778
|
contractAddress?: any;
|
|
2775
2779
|
}[];
|
|
2776
2780
|
}>;
|
|
2777
|
-
setupEnqueuedCalls: z.ZodArray<import("
|
|
2778
|
-
appLogicEnqueuedCalls: z.ZodArray<import("
|
|
2779
|
-
teardownEnqueuedCall: z.ZodNullable<import("
|
|
2781
|
+
setupEnqueuedCalls: z.ZodArray<import("../schemas/schemas.js").ZodFor<PublicCallRequestWithCalldata>, "many">;
|
|
2782
|
+
appLogicEnqueuedCalls: z.ZodArray<import("../schemas/schemas.js").ZodFor<PublicCallRequestWithCalldata>, "many">;
|
|
2783
|
+
teardownEnqueuedCall: z.ZodNullable<import("../schemas/schemas.js").ZodFor<PublicCallRequestWithCalldata>>;
|
|
2780
2784
|
gasUsedByPrivate: z.ZodEffects<z.ZodObject<{
|
|
2781
2785
|
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
2782
2786
|
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
@@ -2790,7 +2794,7 @@ export declare class AvmExecutionHints {
|
|
|
2790
2794
|
daGas: string | number | bigint;
|
|
2791
2795
|
l2Gas: string | number | bigint;
|
|
2792
2796
|
}>;
|
|
2793
|
-
feePayer: import("
|
|
2797
|
+
feePayer: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
2794
2798
|
}, "strip", z.ZodTypeAny, {
|
|
2795
2799
|
hash: string;
|
|
2796
2800
|
gasSettings: GasSettings;
|
|
@@ -2833,8 +2837,8 @@ export declare class AvmExecutionHints {
|
|
|
2833
2837
|
};
|
|
2834
2838
|
};
|
|
2835
2839
|
nonRevertibleAccumulatedData: {
|
|
2836
|
-
noteHashes:
|
|
2837
|
-
nullifiers:
|
|
2840
|
+
noteHashes: any[];
|
|
2841
|
+
nullifiers: any[];
|
|
2838
2842
|
l2ToL1Messages: {
|
|
2839
2843
|
message: {
|
|
2840
2844
|
content: string;
|
|
@@ -2844,8 +2848,8 @@ export declare class AvmExecutionHints {
|
|
|
2844
2848
|
}[];
|
|
2845
2849
|
};
|
|
2846
2850
|
revertibleAccumulatedData: {
|
|
2847
|
-
noteHashes:
|
|
2848
|
-
nullifiers:
|
|
2851
|
+
noteHashes: any[];
|
|
2852
|
+
nullifiers: any[];
|
|
2849
2853
|
l2ToL1Messages: {
|
|
2850
2854
|
message: {
|
|
2851
2855
|
content: string;
|
|
@@ -2913,8 +2917,8 @@ export declare class AvmExecutionHints {
|
|
|
2913
2917
|
};
|
|
2914
2918
|
};
|
|
2915
2919
|
nonRevertibleAccumulatedData: {
|
|
2916
|
-
noteHashes:
|
|
2917
|
-
nullifiers:
|
|
2920
|
+
noteHashes: any[];
|
|
2921
|
+
nullifiers: any[];
|
|
2918
2922
|
l2ToL1Messages: {
|
|
2919
2923
|
message: {
|
|
2920
2924
|
content: string;
|
|
@@ -2924,8 +2928,8 @@ export declare class AvmExecutionHints {
|
|
|
2924
2928
|
}[];
|
|
2925
2929
|
};
|
|
2926
2930
|
revertibleAccumulatedData: {
|
|
2927
|
-
noteHashes:
|
|
2928
|
-
nullifiers:
|
|
2931
|
+
noteHashes: any[];
|
|
2932
|
+
nullifiers: any[];
|
|
2929
2933
|
l2ToL1Messages: {
|
|
2930
2934
|
message: {
|
|
2931
2935
|
content: string;
|
|
@@ -2974,7 +2978,7 @@ export declare class AvmExecutionHints {
|
|
|
2974
2978
|
teardownEnqueuedCall?: any;
|
|
2975
2979
|
}>;
|
|
2976
2980
|
protocolContracts: z.ZodEffects<z.ZodObject<{
|
|
2977
|
-
derivedAddresses: z.ZodArray<import("
|
|
2981
|
+
derivedAddresses: z.ZodArray<import("../schemas/schemas.js").ZodFor<AztecAddress>, "many">;
|
|
2978
2982
|
}, "strip", z.ZodTypeAny, {
|
|
2979
2983
|
derivedAddresses: AztecAddress[];
|
|
2980
2984
|
}, {
|
|
@@ -2984,12 +2988,12 @@ export declare class AvmExecutionHints {
|
|
|
2984
2988
|
}>;
|
|
2985
2989
|
contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2986
2990
|
hintKey: z.ZodNumber;
|
|
2987
|
-
address: import("
|
|
2988
|
-
salt:
|
|
2989
|
-
deployer: import("
|
|
2990
|
-
currentContractClassId:
|
|
2991
|
-
originalContractClassId:
|
|
2992
|
-
initializationHash:
|
|
2991
|
+
address: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
2992
|
+
salt: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
2993
|
+
deployer: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
2994
|
+
currentContractClassId: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
2995
|
+
originalContractClassId: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
2996
|
+
initializationHash: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
2993
2997
|
publicKeys: z.ZodEffects<z.ZodObject<{
|
|
2994
2998
|
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
2995
2999
|
masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
@@ -3021,10 +3025,6 @@ export declare class AvmExecutionHints {
|
|
|
3021
3025
|
address: AztecAddress;
|
|
3022
3026
|
hintKey: number;
|
|
3023
3027
|
}, {
|
|
3024
|
-
salt: string;
|
|
3025
|
-
currentContractClassId: string;
|
|
3026
|
-
originalContractClassId: string;
|
|
3027
|
-
initializationHash: string;
|
|
3028
3028
|
publicKeys: {
|
|
3029
3029
|
masterNullifierPublicKey: string;
|
|
3030
3030
|
masterIncomingViewingPublicKey: string;
|
|
@@ -3032,13 +3032,13 @@ export declare class AvmExecutionHints {
|
|
|
3032
3032
|
masterTaggingPublicKey: string;
|
|
3033
3033
|
};
|
|
3034
3034
|
hintKey: number;
|
|
3035
|
+
salt?: any;
|
|
3035
3036
|
deployer?: any;
|
|
3037
|
+
currentContractClassId?: any;
|
|
3038
|
+
originalContractClassId?: any;
|
|
3039
|
+
initializationHash?: any;
|
|
3036
3040
|
address?: any;
|
|
3037
3041
|
}>, AvmContractInstanceHint, {
|
|
3038
|
-
salt: string;
|
|
3039
|
-
currentContractClassId: string;
|
|
3040
|
-
originalContractClassId: string;
|
|
3041
|
-
initializationHash: string;
|
|
3042
3042
|
publicKeys: {
|
|
3043
3043
|
masterNullifierPublicKey: string;
|
|
3044
3044
|
masterIncomingViewingPublicKey: string;
|
|
@@ -3046,14 +3046,18 @@ export declare class AvmExecutionHints {
|
|
|
3046
3046
|
masterTaggingPublicKey: string;
|
|
3047
3047
|
};
|
|
3048
3048
|
hintKey: number;
|
|
3049
|
+
salt?: any;
|
|
3049
3050
|
deployer?: any;
|
|
3051
|
+
currentContractClassId?: any;
|
|
3052
|
+
originalContractClassId?: any;
|
|
3053
|
+
initializationHash?: any;
|
|
3050
3054
|
address?: any;
|
|
3051
3055
|
}>, "many">;
|
|
3052
3056
|
contractClasses: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
3053
3057
|
hintKey: z.ZodNumber;
|
|
3054
|
-
classId:
|
|
3055
|
-
artifactHash:
|
|
3056
|
-
privateFunctionsRoot:
|
|
3058
|
+
classId: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
3059
|
+
artifactHash: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
3060
|
+
privateFunctionsRoot: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
3057
3061
|
packedBytecode: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Buffer<ArrayBuffer>, string>, z.ZodEffects<z.ZodObject<{
|
|
3058
3062
|
type: z.ZodLiteral<"Buffer">;
|
|
3059
3063
|
data: z.ZodArray<z.ZodNumber, "many">;
|
|
@@ -3074,44 +3078,44 @@ export declare class AvmExecutionHints {
|
|
|
3074
3078
|
hintKey: number;
|
|
3075
3079
|
classId: Fr;
|
|
3076
3080
|
}, {
|
|
3077
|
-
artifactHash: string;
|
|
3078
3081
|
packedBytecode: string | {
|
|
3079
3082
|
type: "Buffer";
|
|
3080
3083
|
data: number[];
|
|
3081
3084
|
};
|
|
3082
|
-
privateFunctionsRoot: string;
|
|
3083
3085
|
hintKey: number;
|
|
3084
|
-
|
|
3086
|
+
artifactHash?: any;
|
|
3087
|
+
privateFunctionsRoot?: any;
|
|
3088
|
+
classId?: any;
|
|
3085
3089
|
}>, AvmContractClassHint, {
|
|
3086
|
-
artifactHash: string;
|
|
3087
3090
|
packedBytecode: string | {
|
|
3088
3091
|
type: "Buffer";
|
|
3089
3092
|
data: number[];
|
|
3090
3093
|
};
|
|
3091
|
-
privateFunctionsRoot: string;
|
|
3092
3094
|
hintKey: number;
|
|
3093
|
-
|
|
3095
|
+
artifactHash?: any;
|
|
3096
|
+
privateFunctionsRoot?: any;
|
|
3097
|
+
classId?: any;
|
|
3094
3098
|
}>, "many">;
|
|
3095
3099
|
bytecodeCommitments: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
3096
3100
|
hintKey: z.ZodNumber;
|
|
3097
|
-
classId:
|
|
3098
|
-
commitment:
|
|
3101
|
+
classId: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
3102
|
+
commitment: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
3099
3103
|
}, "strip", z.ZodTypeAny, {
|
|
3100
3104
|
hintKey: number;
|
|
3101
3105
|
classId: Fr;
|
|
3102
3106
|
commitment: Fr;
|
|
3103
3107
|
}, {
|
|
3104
3108
|
hintKey: number;
|
|
3105
|
-
classId
|
|
3106
|
-
commitment
|
|
3109
|
+
classId?: any;
|
|
3110
|
+
commitment?: any;
|
|
3107
3111
|
}>, AvmBytecodeCommitmentHint, {
|
|
3108
3112
|
hintKey: number;
|
|
3109
|
-
classId
|
|
3110
|
-
commitment
|
|
3113
|
+
classId?: any;
|
|
3114
|
+
commitment?: any;
|
|
3111
3115
|
}>, "many">;
|
|
3112
3116
|
debugFunctionNames: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
3113
|
-
address: import("
|
|
3114
|
-
selector:
|
|
3117
|
+
address: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
3118
|
+
selector: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
3115
3119
|
name: z.ZodString;
|
|
3116
3120
|
}, "strip", z.ZodTypeAny, {
|
|
3117
3121
|
name: string;
|
|
@@ -3119,11 +3123,11 @@ export declare class AvmExecutionHints {
|
|
|
3119
3123
|
address: AztecAddress;
|
|
3120
3124
|
}, {
|
|
3121
3125
|
name: string;
|
|
3122
|
-
selector
|
|
3126
|
+
selector?: any;
|
|
3123
3127
|
address?: any;
|
|
3124
3128
|
}>, AvmDebugFunctionNameHint, {
|
|
3125
3129
|
name: string;
|
|
3126
|
-
selector
|
|
3130
|
+
selector?: any;
|
|
3127
3131
|
address?: any;
|
|
3128
3132
|
}>, "many">;
|
|
3129
3133
|
startingTreeRoots: z.ZodEffects<z.ZodObject<{
|
|
@@ -3235,14 +3239,14 @@ export declare class AvmExecutionHints {
|
|
|
3235
3239
|
}>;
|
|
3236
3240
|
treeId: z.ZodNumber;
|
|
3237
3241
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
3238
|
-
path: z.ZodArray<
|
|
3242
|
+
path: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
3239
3243
|
}, "strip", z.ZodTypeAny, {
|
|
3240
3244
|
path: Fr[];
|
|
3241
3245
|
index: bigint;
|
|
3242
3246
|
hintKey: AppendOnlyTreeSnapshot;
|
|
3243
3247
|
treeId: number;
|
|
3244
3248
|
}, {
|
|
3245
|
-
path:
|
|
3249
|
+
path: any[];
|
|
3246
3250
|
index: string | number | bigint;
|
|
3247
3251
|
hintKey: {
|
|
3248
3252
|
root: string;
|
|
@@ -3250,7 +3254,7 @@ export declare class AvmExecutionHints {
|
|
|
3250
3254
|
};
|
|
3251
3255
|
treeId: number;
|
|
3252
3256
|
}>, AvmGetSiblingPathHint, {
|
|
3253
|
-
path:
|
|
3257
|
+
path: any[];
|
|
3254
3258
|
index: string | number | bigint;
|
|
3255
3259
|
hintKey: {
|
|
3256
3260
|
root: string;
|
|
@@ -3273,7 +3277,7 @@ export declare class AvmExecutionHints {
|
|
|
3273
3277
|
nextAvailableLeafIndex: string | number | bigint;
|
|
3274
3278
|
}>;
|
|
3275
3279
|
treeId: z.ZodNumber;
|
|
3276
|
-
value:
|
|
3280
|
+
value: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
3277
3281
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
3278
3282
|
alreadyPresent: z.ZodBoolean;
|
|
3279
3283
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3283,7 +3287,6 @@ export declare class AvmExecutionHints {
|
|
|
3283
3287
|
hintKey: AppendOnlyTreeSnapshot;
|
|
3284
3288
|
treeId: number;
|
|
3285
3289
|
}, {
|
|
3286
|
-
value: string;
|
|
3287
3290
|
index: string | number | bigint;
|
|
3288
3291
|
alreadyPresent: boolean;
|
|
3289
3292
|
hintKey: {
|
|
@@ -3291,8 +3294,8 @@ export declare class AvmExecutionHints {
|
|
|
3291
3294
|
nextAvailableLeafIndex: string | number | bigint;
|
|
3292
3295
|
};
|
|
3293
3296
|
treeId: number;
|
|
3297
|
+
value?: any;
|
|
3294
3298
|
}>, AvmGetPreviousValueIndexHint, {
|
|
3295
|
-
value: string;
|
|
3296
3299
|
index: string | number | bigint;
|
|
3297
3300
|
alreadyPresent: boolean;
|
|
3298
3301
|
hintKey: {
|
|
@@ -3300,6 +3303,7 @@ export declare class AvmExecutionHints {
|
|
|
3300
3303
|
nextAvailableLeafIndex: string | number | bigint;
|
|
3301
3304
|
};
|
|
3302
3305
|
treeId: number;
|
|
3306
|
+
value?: any;
|
|
3303
3307
|
}>, "many">;
|
|
3304
3308
|
getLeafPreimageHintsPublicDataTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
3305
3309
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
@@ -3571,28 +3575,28 @@ export declare class AvmExecutionHints {
|
|
|
3571
3575
|
}>;
|
|
3572
3576
|
treeId: z.ZodNumber;
|
|
3573
3577
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
3574
|
-
value:
|
|
3578
|
+
value: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
3575
3579
|
}, "strip", z.ZodTypeAny, {
|
|
3576
3580
|
value: Fr;
|
|
3577
3581
|
index: bigint;
|
|
3578
3582
|
hintKey: AppendOnlyTreeSnapshot;
|
|
3579
3583
|
treeId: number;
|
|
3580
3584
|
}, {
|
|
3581
|
-
value: string;
|
|
3582
3585
|
index: string | number | bigint;
|
|
3583
3586
|
hintKey: {
|
|
3584
3587
|
root: string;
|
|
3585
3588
|
nextAvailableLeafIndex: string | number | bigint;
|
|
3586
3589
|
};
|
|
3587
3590
|
treeId: number;
|
|
3591
|
+
value?: any;
|
|
3588
3592
|
}>, AvmGetLeafValueHint, {
|
|
3589
|
-
value: string;
|
|
3590
3593
|
index: string | number | bigint;
|
|
3591
3594
|
hintKey: {
|
|
3592
3595
|
root: string;
|
|
3593
3596
|
nextAvailableLeafIndex: string | number | bigint;
|
|
3594
3597
|
};
|
|
3595
3598
|
treeId: number;
|
|
3599
|
+
value?: any;
|
|
3596
3600
|
}>, "many">;
|
|
3597
3601
|
sequentialInsertHintsPublicDataTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
3598
3602
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
@@ -3708,13 +3712,13 @@ export declare class AvmExecutionHints {
|
|
|
3708
3712
|
nextIndex: string | number | bigint;
|
|
3709
3713
|
}>;
|
|
3710
3714
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
3711
|
-
path: z.ZodArray<
|
|
3715
|
+
path: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
3712
3716
|
}, "strip", z.ZodTypeAny, {
|
|
3713
3717
|
path: Fr[];
|
|
3714
3718
|
index: bigint;
|
|
3715
3719
|
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
3716
3720
|
}, {
|
|
3717
|
-
path:
|
|
3721
|
+
path: any[];
|
|
3718
3722
|
index: string | number | bigint;
|
|
3719
3723
|
leaf: {
|
|
3720
3724
|
leaf: {
|
|
@@ -3796,13 +3800,13 @@ export declare class AvmExecutionHints {
|
|
|
3796
3800
|
nextIndex: string | number | bigint;
|
|
3797
3801
|
}>;
|
|
3798
3802
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
3799
|
-
path: z.ZodArray<
|
|
3803
|
+
path: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
3800
3804
|
}, "strip", z.ZodTypeAny, {
|
|
3801
3805
|
path: Fr[];
|
|
3802
3806
|
index: bigint;
|
|
3803
3807
|
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
3804
3808
|
}, {
|
|
3805
|
-
path:
|
|
3809
|
+
path: any[];
|
|
3806
3810
|
index: string | number | bigint;
|
|
3807
3811
|
leaf: {
|
|
3808
3812
|
leaf: {
|
|
@@ -3851,7 +3855,7 @@ export declare class AvmExecutionHints {
|
|
|
3851
3855
|
nextAvailableLeafIndex: string | number | bigint;
|
|
3852
3856
|
};
|
|
3853
3857
|
lowLeavesWitnessData: {
|
|
3854
|
-
path:
|
|
3858
|
+
path: any[];
|
|
3855
3859
|
index: string | number | bigint;
|
|
3856
3860
|
leaf: {
|
|
3857
3861
|
leaf: {
|
|
@@ -3869,7 +3873,7 @@ export declare class AvmExecutionHints {
|
|
|
3869
3873
|
};
|
|
3870
3874
|
};
|
|
3871
3875
|
insertionWitnessData: {
|
|
3872
|
-
path:
|
|
3876
|
+
path: any[];
|
|
3873
3877
|
index: string | number | bigint;
|
|
3874
3878
|
leaf: {
|
|
3875
3879
|
leaf: {
|
|
@@ -3918,7 +3922,7 @@ export declare class AvmExecutionHints {
|
|
|
3918
3922
|
nextAvailableLeafIndex: string | number | bigint;
|
|
3919
3923
|
};
|
|
3920
3924
|
lowLeavesWitnessData: {
|
|
3921
|
-
path:
|
|
3925
|
+
path: any[];
|
|
3922
3926
|
index: string | number | bigint;
|
|
3923
3927
|
leaf: {
|
|
3924
3928
|
leaf: {
|
|
@@ -3936,7 +3940,7 @@ export declare class AvmExecutionHints {
|
|
|
3936
3940
|
};
|
|
3937
3941
|
};
|
|
3938
3942
|
insertionWitnessData: {
|
|
3939
|
-
path:
|
|
3943
|
+
path: any[];
|
|
3940
3944
|
index: string | number | bigint;
|
|
3941
3945
|
leaf: {
|
|
3942
3946
|
leaf: {
|
|
@@ -4068,13 +4072,13 @@ export declare class AvmExecutionHints {
|
|
|
4068
4072
|
nextIndex: string | number | bigint;
|
|
4069
4073
|
}>;
|
|
4070
4074
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
4071
|
-
path: z.ZodArray<
|
|
4075
|
+
path: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
4072
4076
|
}, "strip", z.ZodTypeAny, {
|
|
4073
4077
|
path: Fr[];
|
|
4074
4078
|
index: bigint;
|
|
4075
4079
|
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
4076
4080
|
}, {
|
|
4077
|
-
path:
|
|
4081
|
+
path: any[];
|
|
4078
4082
|
index: string | number | bigint;
|
|
4079
4083
|
leaf: {
|
|
4080
4084
|
leaf: {
|
|
@@ -4156,13 +4160,13 @@ export declare class AvmExecutionHints {
|
|
|
4156
4160
|
nextIndex: string | number | bigint;
|
|
4157
4161
|
}>;
|
|
4158
4162
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
4159
|
-
path: z.ZodArray<
|
|
4163
|
+
path: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
4160
4164
|
}, "strip", z.ZodTypeAny, {
|
|
4161
4165
|
path: Fr[];
|
|
4162
4166
|
index: bigint;
|
|
4163
4167
|
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
4164
4168
|
}, {
|
|
4165
|
-
path:
|
|
4169
|
+
path: any[];
|
|
4166
4170
|
index: string | number | bigint;
|
|
4167
4171
|
leaf: {
|
|
4168
4172
|
leaf: {
|
|
@@ -4211,7 +4215,7 @@ export declare class AvmExecutionHints {
|
|
|
4211
4215
|
nextAvailableLeafIndex: string | number | bigint;
|
|
4212
4216
|
};
|
|
4213
4217
|
lowLeavesWitnessData: {
|
|
4214
|
-
path:
|
|
4218
|
+
path: any[];
|
|
4215
4219
|
index: string | number | bigint;
|
|
4216
4220
|
leaf: {
|
|
4217
4221
|
leaf: {
|
|
@@ -4229,7 +4233,7 @@ export declare class AvmExecutionHints {
|
|
|
4229
4233
|
};
|
|
4230
4234
|
};
|
|
4231
4235
|
insertionWitnessData: {
|
|
4232
|
-
path:
|
|
4236
|
+
path: any[];
|
|
4233
4237
|
index: string | number | bigint;
|
|
4234
4238
|
leaf: {
|
|
4235
4239
|
leaf: {
|
|
@@ -4278,7 +4282,7 @@ export declare class AvmExecutionHints {
|
|
|
4278
4282
|
nextAvailableLeafIndex: string | number | bigint;
|
|
4279
4283
|
};
|
|
4280
4284
|
lowLeavesWitnessData: {
|
|
4281
|
-
path:
|
|
4285
|
+
path: any[];
|
|
4282
4286
|
index: string | number | bigint;
|
|
4283
4287
|
leaf: {
|
|
4284
4288
|
leaf: {
|
|
@@ -4296,7 +4300,7 @@ export declare class AvmExecutionHints {
|
|
|
4296
4300
|
};
|
|
4297
4301
|
};
|
|
4298
4302
|
insertionWitnessData: {
|
|
4299
|
-
path:
|
|
4303
|
+
path: any[];
|
|
4300
4304
|
index: string | number | bigint;
|
|
4301
4305
|
leaf: {
|
|
4302
4306
|
leaf: {
|
|
@@ -4342,7 +4346,7 @@ export declare class AvmExecutionHints {
|
|
|
4342
4346
|
nextAvailableLeafIndex: string | number | bigint;
|
|
4343
4347
|
}>;
|
|
4344
4348
|
treeId: z.ZodNumber;
|
|
4345
|
-
leaves: z.ZodArray<
|
|
4349
|
+
leaves: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
4346
4350
|
}, "strip", z.ZodTypeAny, {
|
|
4347
4351
|
hintKey: AppendOnlyTreeSnapshot;
|
|
4348
4352
|
treeId: number;
|
|
@@ -4358,7 +4362,7 @@ export declare class AvmExecutionHints {
|
|
|
4358
4362
|
root: string;
|
|
4359
4363
|
nextAvailableLeafIndex: string | number | bigint;
|
|
4360
4364
|
};
|
|
4361
|
-
leaves:
|
|
4365
|
+
leaves: any[];
|
|
4362
4366
|
}>, AvmAppendLeavesHint, {
|
|
4363
4367
|
hintKey: {
|
|
4364
4368
|
root: string;
|
|
@@ -4369,7 +4373,7 @@ export declare class AvmExecutionHints {
|
|
|
4369
4373
|
root: string;
|
|
4370
4374
|
nextAvailableLeafIndex: string | number | bigint;
|
|
4371
4375
|
};
|
|
4372
|
-
leaves:
|
|
4376
|
+
leaves: any[];
|
|
4373
4377
|
}>, "many">;
|
|
4374
4378
|
createCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
4375
4379
|
actionCounter: z.ZodNumber;
|
|
@@ -4832,8 +4836,8 @@ export declare class AvmExecutionHints {
|
|
|
4832
4836
|
};
|
|
4833
4837
|
};
|
|
4834
4838
|
nonRevertibleAccumulatedData: {
|
|
4835
|
-
noteHashes:
|
|
4836
|
-
nullifiers:
|
|
4839
|
+
noteHashes: any[];
|
|
4840
|
+
nullifiers: any[];
|
|
4837
4841
|
l2ToL1Messages: {
|
|
4838
4842
|
message: {
|
|
4839
4843
|
content: string;
|
|
@@ -4843,8 +4847,8 @@ export declare class AvmExecutionHints {
|
|
|
4843
4847
|
}[];
|
|
4844
4848
|
};
|
|
4845
4849
|
revertibleAccumulatedData: {
|
|
4846
|
-
noteHashes:
|
|
4847
|
-
nullifiers:
|
|
4850
|
+
noteHashes: any[];
|
|
4851
|
+
nullifiers: any[];
|
|
4848
4852
|
l2ToL1Messages: {
|
|
4849
4853
|
message: {
|
|
4850
4854
|
content: string;
|
|
@@ -4893,10 +4897,6 @@ export declare class AvmExecutionHints {
|
|
|
4893
4897
|
teardownEnqueuedCall?: any;
|
|
4894
4898
|
};
|
|
4895
4899
|
contractInstances: {
|
|
4896
|
-
salt: string;
|
|
4897
|
-
currentContractClassId: string;
|
|
4898
|
-
originalContractClassId: string;
|
|
4899
|
-
initializationHash: string;
|
|
4900
4900
|
publicKeys: {
|
|
4901
4901
|
masterNullifierPublicKey: string;
|
|
4902
4902
|
masterIncomingViewingPublicKey: string;
|
|
@@ -4904,27 +4904,31 @@ export declare class AvmExecutionHints {
|
|
|
4904
4904
|
masterTaggingPublicKey: string;
|
|
4905
4905
|
};
|
|
4906
4906
|
hintKey: number;
|
|
4907
|
+
salt?: any;
|
|
4907
4908
|
deployer?: any;
|
|
4909
|
+
currentContractClassId?: any;
|
|
4910
|
+
originalContractClassId?: any;
|
|
4911
|
+
initializationHash?: any;
|
|
4908
4912
|
address?: any;
|
|
4909
4913
|
}[];
|
|
4910
4914
|
contractClasses: {
|
|
4911
|
-
artifactHash: string;
|
|
4912
4915
|
packedBytecode: string | {
|
|
4913
4916
|
type: "Buffer";
|
|
4914
4917
|
data: number[];
|
|
4915
4918
|
};
|
|
4916
|
-
privateFunctionsRoot: string;
|
|
4917
4919
|
hintKey: number;
|
|
4918
|
-
|
|
4920
|
+
artifactHash?: any;
|
|
4921
|
+
privateFunctionsRoot?: any;
|
|
4922
|
+
classId?: any;
|
|
4919
4923
|
}[];
|
|
4920
4924
|
bytecodeCommitments: {
|
|
4921
4925
|
hintKey: number;
|
|
4922
|
-
classId
|
|
4923
|
-
commitment
|
|
4926
|
+
classId?: any;
|
|
4927
|
+
commitment?: any;
|
|
4924
4928
|
}[];
|
|
4925
4929
|
debugFunctionNames: {
|
|
4926
4930
|
name: string;
|
|
4927
|
-
selector
|
|
4931
|
+
selector?: any;
|
|
4928
4932
|
address?: any;
|
|
4929
4933
|
}[];
|
|
4930
4934
|
startingTreeRoots: {
|
|
@@ -4946,7 +4950,7 @@ export declare class AvmExecutionHints {
|
|
|
4946
4950
|
};
|
|
4947
4951
|
};
|
|
4948
4952
|
getSiblingPathHints: {
|
|
4949
|
-
path:
|
|
4953
|
+
path: any[];
|
|
4950
4954
|
index: string | number | bigint;
|
|
4951
4955
|
hintKey: {
|
|
4952
4956
|
root: string;
|
|
@@ -4955,7 +4959,6 @@ export declare class AvmExecutionHints {
|
|
|
4955
4959
|
treeId: number;
|
|
4956
4960
|
}[];
|
|
4957
4961
|
getPreviousValueIndexHints: {
|
|
4958
|
-
value: string;
|
|
4959
4962
|
index: string | number | bigint;
|
|
4960
4963
|
alreadyPresent: boolean;
|
|
4961
4964
|
hintKey: {
|
|
@@ -4963,6 +4966,7 @@ export declare class AvmExecutionHints {
|
|
|
4963
4966
|
nextAvailableLeafIndex: string | number | bigint;
|
|
4964
4967
|
};
|
|
4965
4968
|
treeId: number;
|
|
4969
|
+
value?: any;
|
|
4966
4970
|
}[];
|
|
4967
4971
|
getLeafPreimageHintsPublicDataTree: {
|
|
4968
4972
|
index: string | number | bigint;
|
|
@@ -5007,13 +5011,13 @@ export declare class AvmExecutionHints {
|
|
|
5007
5011
|
};
|
|
5008
5012
|
}[];
|
|
5009
5013
|
getLeafValueHints: {
|
|
5010
|
-
value: string;
|
|
5011
5014
|
index: string | number | bigint;
|
|
5012
5015
|
hintKey: {
|
|
5013
5016
|
root: string;
|
|
5014
5017
|
nextAvailableLeafIndex: string | number | bigint;
|
|
5015
5018
|
};
|
|
5016
5019
|
treeId: number;
|
|
5020
|
+
value?: any;
|
|
5017
5021
|
}[];
|
|
5018
5022
|
sequentialInsertHintsPublicDataTree: {
|
|
5019
5023
|
leaf: {
|
|
@@ -5032,7 +5036,7 @@ export declare class AvmExecutionHints {
|
|
|
5032
5036
|
nextAvailableLeafIndex: string | number | bigint;
|
|
5033
5037
|
};
|
|
5034
5038
|
lowLeavesWitnessData: {
|
|
5035
|
-
path:
|
|
5039
|
+
path: any[];
|
|
5036
5040
|
index: string | number | bigint;
|
|
5037
5041
|
leaf: {
|
|
5038
5042
|
leaf: {
|
|
@@ -5050,7 +5054,7 @@ export declare class AvmExecutionHints {
|
|
|
5050
5054
|
};
|
|
5051
5055
|
};
|
|
5052
5056
|
insertionWitnessData: {
|
|
5053
|
-
path:
|
|
5057
|
+
path: any[];
|
|
5054
5058
|
index: string | number | bigint;
|
|
5055
5059
|
leaf: {
|
|
5056
5060
|
leaf: {
|
|
@@ -5085,7 +5089,7 @@ export declare class AvmExecutionHints {
|
|
|
5085
5089
|
nextAvailableLeafIndex: string | number | bigint;
|
|
5086
5090
|
};
|
|
5087
5091
|
lowLeavesWitnessData: {
|
|
5088
|
-
path:
|
|
5092
|
+
path: any[];
|
|
5089
5093
|
index: string | number | bigint;
|
|
5090
5094
|
leaf: {
|
|
5091
5095
|
leaf: {
|
|
@@ -5103,7 +5107,7 @@ export declare class AvmExecutionHints {
|
|
|
5103
5107
|
};
|
|
5104
5108
|
};
|
|
5105
5109
|
insertionWitnessData: {
|
|
5106
|
-
path:
|
|
5110
|
+
path: any[];
|
|
5107
5111
|
index: string | number | bigint;
|
|
5108
5112
|
leaf: {
|
|
5109
5113
|
leaf: {
|
|
@@ -5131,7 +5135,7 @@ export declare class AvmExecutionHints {
|
|
|
5131
5135
|
root: string;
|
|
5132
5136
|
nextAvailableLeafIndex: string | number | bigint;
|
|
5133
5137
|
};
|
|
5134
|
-
leaves:
|
|
5138
|
+
leaves: any[];
|
|
5135
5139
|
}[];
|
|
5136
5140
|
createCheckpointHints: {
|
|
5137
5141
|
actionCounter: number;
|
|
@@ -5237,8 +5241,8 @@ export declare class AvmExecutionHints {
|
|
|
5237
5241
|
};
|
|
5238
5242
|
};
|
|
5239
5243
|
nonRevertibleAccumulatedData: {
|
|
5240
|
-
noteHashes:
|
|
5241
|
-
nullifiers:
|
|
5244
|
+
noteHashes: any[];
|
|
5245
|
+
nullifiers: any[];
|
|
5242
5246
|
l2ToL1Messages: {
|
|
5243
5247
|
message: {
|
|
5244
5248
|
content: string;
|
|
@@ -5248,8 +5252,8 @@ export declare class AvmExecutionHints {
|
|
|
5248
5252
|
}[];
|
|
5249
5253
|
};
|
|
5250
5254
|
revertibleAccumulatedData: {
|
|
5251
|
-
noteHashes:
|
|
5252
|
-
nullifiers:
|
|
5255
|
+
noteHashes: any[];
|
|
5256
|
+
nullifiers: any[];
|
|
5253
5257
|
l2ToL1Messages: {
|
|
5254
5258
|
message: {
|
|
5255
5259
|
content: string;
|
|
@@ -5298,10 +5302,6 @@ export declare class AvmExecutionHints {
|
|
|
5298
5302
|
teardownEnqueuedCall?: any;
|
|
5299
5303
|
};
|
|
5300
5304
|
contractInstances: {
|
|
5301
|
-
salt: string;
|
|
5302
|
-
currentContractClassId: string;
|
|
5303
|
-
originalContractClassId: string;
|
|
5304
|
-
initializationHash: string;
|
|
5305
5305
|
publicKeys: {
|
|
5306
5306
|
masterNullifierPublicKey: string;
|
|
5307
5307
|
masterIncomingViewingPublicKey: string;
|
|
@@ -5309,27 +5309,31 @@ export declare class AvmExecutionHints {
|
|
|
5309
5309
|
masterTaggingPublicKey: string;
|
|
5310
5310
|
};
|
|
5311
5311
|
hintKey: number;
|
|
5312
|
+
salt?: any;
|
|
5312
5313
|
deployer?: any;
|
|
5314
|
+
currentContractClassId?: any;
|
|
5315
|
+
originalContractClassId?: any;
|
|
5316
|
+
initializationHash?: any;
|
|
5313
5317
|
address?: any;
|
|
5314
5318
|
}[];
|
|
5315
5319
|
contractClasses: {
|
|
5316
|
-
artifactHash: string;
|
|
5317
5320
|
packedBytecode: string | {
|
|
5318
5321
|
type: "Buffer";
|
|
5319
5322
|
data: number[];
|
|
5320
5323
|
};
|
|
5321
|
-
privateFunctionsRoot: string;
|
|
5322
5324
|
hintKey: number;
|
|
5323
|
-
|
|
5325
|
+
artifactHash?: any;
|
|
5326
|
+
privateFunctionsRoot?: any;
|
|
5327
|
+
classId?: any;
|
|
5324
5328
|
}[];
|
|
5325
5329
|
bytecodeCommitments: {
|
|
5326
5330
|
hintKey: number;
|
|
5327
|
-
classId
|
|
5328
|
-
commitment
|
|
5331
|
+
classId?: any;
|
|
5332
|
+
commitment?: any;
|
|
5329
5333
|
}[];
|
|
5330
5334
|
debugFunctionNames: {
|
|
5331
5335
|
name: string;
|
|
5332
|
-
selector
|
|
5336
|
+
selector?: any;
|
|
5333
5337
|
address?: any;
|
|
5334
5338
|
}[];
|
|
5335
5339
|
startingTreeRoots: {
|
|
@@ -5351,7 +5355,7 @@ export declare class AvmExecutionHints {
|
|
|
5351
5355
|
};
|
|
5352
5356
|
};
|
|
5353
5357
|
getSiblingPathHints: {
|
|
5354
|
-
path:
|
|
5358
|
+
path: any[];
|
|
5355
5359
|
index: string | number | bigint;
|
|
5356
5360
|
hintKey: {
|
|
5357
5361
|
root: string;
|
|
@@ -5360,7 +5364,6 @@ export declare class AvmExecutionHints {
|
|
|
5360
5364
|
treeId: number;
|
|
5361
5365
|
}[];
|
|
5362
5366
|
getPreviousValueIndexHints: {
|
|
5363
|
-
value: string;
|
|
5364
5367
|
index: string | number | bigint;
|
|
5365
5368
|
alreadyPresent: boolean;
|
|
5366
5369
|
hintKey: {
|
|
@@ -5368,6 +5371,7 @@ export declare class AvmExecutionHints {
|
|
|
5368
5371
|
nextAvailableLeafIndex: string | number | bigint;
|
|
5369
5372
|
};
|
|
5370
5373
|
treeId: number;
|
|
5374
|
+
value?: any;
|
|
5371
5375
|
}[];
|
|
5372
5376
|
getLeafPreimageHintsPublicDataTree: {
|
|
5373
5377
|
index: string | number | bigint;
|
|
@@ -5412,13 +5416,13 @@ export declare class AvmExecutionHints {
|
|
|
5412
5416
|
};
|
|
5413
5417
|
}[];
|
|
5414
5418
|
getLeafValueHints: {
|
|
5415
|
-
value: string;
|
|
5416
5419
|
index: string | number | bigint;
|
|
5417
5420
|
hintKey: {
|
|
5418
5421
|
root: string;
|
|
5419
5422
|
nextAvailableLeafIndex: string | number | bigint;
|
|
5420
5423
|
};
|
|
5421
5424
|
treeId: number;
|
|
5425
|
+
value?: any;
|
|
5422
5426
|
}[];
|
|
5423
5427
|
sequentialInsertHintsPublicDataTree: {
|
|
5424
5428
|
leaf: {
|
|
@@ -5437,7 +5441,7 @@ export declare class AvmExecutionHints {
|
|
|
5437
5441
|
nextAvailableLeafIndex: string | number | bigint;
|
|
5438
5442
|
};
|
|
5439
5443
|
lowLeavesWitnessData: {
|
|
5440
|
-
path:
|
|
5444
|
+
path: any[];
|
|
5441
5445
|
index: string | number | bigint;
|
|
5442
5446
|
leaf: {
|
|
5443
5447
|
leaf: {
|
|
@@ -5455,7 +5459,7 @@ export declare class AvmExecutionHints {
|
|
|
5455
5459
|
};
|
|
5456
5460
|
};
|
|
5457
5461
|
insertionWitnessData: {
|
|
5458
|
-
path:
|
|
5462
|
+
path: any[];
|
|
5459
5463
|
index: string | number | bigint;
|
|
5460
5464
|
leaf: {
|
|
5461
5465
|
leaf: {
|
|
@@ -5490,7 +5494,7 @@ export declare class AvmExecutionHints {
|
|
|
5490
5494
|
nextAvailableLeafIndex: string | number | bigint;
|
|
5491
5495
|
};
|
|
5492
5496
|
lowLeavesWitnessData: {
|
|
5493
|
-
path:
|
|
5497
|
+
path: any[];
|
|
5494
5498
|
index: string | number | bigint;
|
|
5495
5499
|
leaf: {
|
|
5496
5500
|
leaf: {
|
|
@@ -5508,7 +5512,7 @@ export declare class AvmExecutionHints {
|
|
|
5508
5512
|
};
|
|
5509
5513
|
};
|
|
5510
5514
|
insertionWitnessData: {
|
|
5511
|
-
path:
|
|
5515
|
+
path: any[];
|
|
5512
5516
|
index: string | number | bigint;
|
|
5513
5517
|
leaf: {
|
|
5514
5518
|
leaf: {
|
|
@@ -5536,7 +5540,7 @@ export declare class AvmExecutionHints {
|
|
|
5536
5540
|
root: string;
|
|
5537
5541
|
nextAvailableLeafIndex: string | number | bigint;
|
|
5538
5542
|
};
|
|
5539
|
-
leaves:
|
|
5543
|
+
leaves: any[];
|
|
5540
5544
|
}[];
|
|
5541
5545
|
createCheckpointHints: {
|
|
5542
5546
|
actionCounter: number;
|
|
@@ -5614,13 +5618,13 @@ export declare class AvmCircuitInputs {
|
|
|
5614
5618
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
5615
5619
|
hints: z.ZodEffects<z.ZodObject<{
|
|
5616
5620
|
globalVariables: z.ZodEffects<z.ZodObject<{
|
|
5617
|
-
chainId: import("
|
|
5618
|
-
version: import("
|
|
5621
|
+
chainId: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
5622
|
+
version: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
5619
5623
|
blockNumber: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
5620
|
-
slotNumber: import("
|
|
5624
|
+
slotNumber: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
5621
5625
|
timestamp: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
5622
|
-
coinbase: import("
|
|
5623
|
-
feeRecipient: import("
|
|
5626
|
+
coinbase: import("../schemas/schemas.js").ZodFor<import("@aztec/foundation/schemas").EthAddress>;
|
|
5627
|
+
feeRecipient: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
5624
5628
|
gasFees: z.ZodEffects<z.ZodObject<{
|
|
5625
5629
|
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
5626
5630
|
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
@@ -5778,7 +5782,7 @@ export declare class AvmCircuitInputs {
|
|
|
5778
5782
|
}>;
|
|
5779
5783
|
nonRevertibleContractDeploymentData: z.ZodEffects<z.ZodObject<{
|
|
5780
5784
|
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
5781
|
-
contractAddress: import("
|
|
5785
|
+
contractAddress: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
5782
5786
|
fields: z.ZodEffects<z.ZodObject<{
|
|
5783
5787
|
fields: z.ZodEffects<z.ZodArray<z.ZodType<Fr, any, string>, "many">, Fr[], string[]>;
|
|
5784
5788
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5849,7 +5853,7 @@ export declare class AvmCircuitInputs {
|
|
|
5849
5853
|
}>;
|
|
5850
5854
|
revertibleContractDeploymentData: z.ZodEffects<z.ZodObject<{
|
|
5851
5855
|
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
5852
|
-
contractAddress: import("
|
|
5856
|
+
contractAddress: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
5853
5857
|
fields: z.ZodEffects<z.ZodObject<{
|
|
5854
5858
|
fields: z.ZodEffects<z.ZodArray<z.ZodType<Fr, any, string>, "many">, Fr[], string[]>;
|
|
5855
5859
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5919,8 +5923,8 @@ export declare class AvmCircuitInputs {
|
|
|
5919
5923
|
}[];
|
|
5920
5924
|
}>;
|
|
5921
5925
|
nonRevertibleAccumulatedData: z.ZodObject<{
|
|
5922
|
-
noteHashes: z.ZodArray<
|
|
5923
|
-
nullifiers: z.ZodArray<
|
|
5926
|
+
noteHashes: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
5927
|
+
nullifiers: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
5924
5928
|
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
5925
5929
|
message: z.ZodEffects<z.ZodObject<{
|
|
5926
5930
|
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
@@ -5935,7 +5939,7 @@ export declare class AvmCircuitInputs {
|
|
|
5935
5939
|
content: string;
|
|
5936
5940
|
recipient: string;
|
|
5937
5941
|
}>;
|
|
5938
|
-
contractAddress: import("
|
|
5942
|
+
contractAddress: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
5939
5943
|
}, "strip", z.ZodTypeAny, {
|
|
5940
5944
|
message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
|
|
5941
5945
|
contractAddress: AztecAddress;
|
|
@@ -5957,8 +5961,8 @@ export declare class AvmCircuitInputs {
|
|
|
5957
5961
|
nullifiers: Fr[];
|
|
5958
5962
|
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
5959
5963
|
}, {
|
|
5960
|
-
noteHashes:
|
|
5961
|
-
nullifiers:
|
|
5964
|
+
noteHashes: any[];
|
|
5965
|
+
nullifiers: any[];
|
|
5962
5966
|
l2ToL1Messages: {
|
|
5963
5967
|
message: {
|
|
5964
5968
|
content: string;
|
|
@@ -5968,8 +5972,8 @@ export declare class AvmCircuitInputs {
|
|
|
5968
5972
|
}[];
|
|
5969
5973
|
}>;
|
|
5970
5974
|
revertibleAccumulatedData: z.ZodObject<{
|
|
5971
|
-
noteHashes: z.ZodArray<
|
|
5972
|
-
nullifiers: z.ZodArray<
|
|
5975
|
+
noteHashes: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
5976
|
+
nullifiers: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
5973
5977
|
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
5974
5978
|
message: z.ZodEffects<z.ZodObject<{
|
|
5975
5979
|
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
@@ -5984,7 +5988,7 @@ export declare class AvmCircuitInputs {
|
|
|
5984
5988
|
content: string;
|
|
5985
5989
|
recipient: string;
|
|
5986
5990
|
}>;
|
|
5987
|
-
contractAddress: import("
|
|
5991
|
+
contractAddress: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
5988
5992
|
}, "strip", z.ZodTypeAny, {
|
|
5989
5993
|
message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
|
|
5990
5994
|
contractAddress: AztecAddress;
|
|
@@ -6006,8 +6010,8 @@ export declare class AvmCircuitInputs {
|
|
|
6006
6010
|
nullifiers: Fr[];
|
|
6007
6011
|
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
6008
6012
|
}, {
|
|
6009
|
-
noteHashes:
|
|
6010
|
-
nullifiers:
|
|
6013
|
+
noteHashes: any[];
|
|
6014
|
+
nullifiers: any[];
|
|
6011
6015
|
l2ToL1Messages: {
|
|
6012
6016
|
message: {
|
|
6013
6017
|
content: string;
|
|
@@ -6016,9 +6020,9 @@ export declare class AvmCircuitInputs {
|
|
|
6016
6020
|
contractAddress?: any;
|
|
6017
6021
|
}[];
|
|
6018
6022
|
}>;
|
|
6019
|
-
setupEnqueuedCalls: z.ZodArray<import("
|
|
6020
|
-
appLogicEnqueuedCalls: z.ZodArray<import("
|
|
6021
|
-
teardownEnqueuedCall: z.ZodNullable<import("
|
|
6023
|
+
setupEnqueuedCalls: z.ZodArray<import("../schemas/schemas.js").ZodFor<PublicCallRequestWithCalldata>, "many">;
|
|
6024
|
+
appLogicEnqueuedCalls: z.ZodArray<import("../schemas/schemas.js").ZodFor<PublicCallRequestWithCalldata>, "many">;
|
|
6025
|
+
teardownEnqueuedCall: z.ZodNullable<import("../schemas/schemas.js").ZodFor<PublicCallRequestWithCalldata>>;
|
|
6022
6026
|
gasUsedByPrivate: z.ZodEffects<z.ZodObject<{
|
|
6023
6027
|
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
6024
6028
|
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
@@ -6032,7 +6036,7 @@ export declare class AvmCircuitInputs {
|
|
|
6032
6036
|
daGas: string | number | bigint;
|
|
6033
6037
|
l2Gas: string | number | bigint;
|
|
6034
6038
|
}>;
|
|
6035
|
-
feePayer: import("
|
|
6039
|
+
feePayer: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
6036
6040
|
}, "strip", z.ZodTypeAny, {
|
|
6037
6041
|
hash: string;
|
|
6038
6042
|
gasSettings: GasSettings;
|
|
@@ -6075,8 +6079,8 @@ export declare class AvmCircuitInputs {
|
|
|
6075
6079
|
};
|
|
6076
6080
|
};
|
|
6077
6081
|
nonRevertibleAccumulatedData: {
|
|
6078
|
-
noteHashes:
|
|
6079
|
-
nullifiers:
|
|
6082
|
+
noteHashes: any[];
|
|
6083
|
+
nullifiers: any[];
|
|
6080
6084
|
l2ToL1Messages: {
|
|
6081
6085
|
message: {
|
|
6082
6086
|
content: string;
|
|
@@ -6086,8 +6090,8 @@ export declare class AvmCircuitInputs {
|
|
|
6086
6090
|
}[];
|
|
6087
6091
|
};
|
|
6088
6092
|
revertibleAccumulatedData: {
|
|
6089
|
-
noteHashes:
|
|
6090
|
-
nullifiers:
|
|
6093
|
+
noteHashes: any[];
|
|
6094
|
+
nullifiers: any[];
|
|
6091
6095
|
l2ToL1Messages: {
|
|
6092
6096
|
message: {
|
|
6093
6097
|
content: string;
|
|
@@ -6155,8 +6159,8 @@ export declare class AvmCircuitInputs {
|
|
|
6155
6159
|
};
|
|
6156
6160
|
};
|
|
6157
6161
|
nonRevertibleAccumulatedData: {
|
|
6158
|
-
noteHashes:
|
|
6159
|
-
nullifiers:
|
|
6162
|
+
noteHashes: any[];
|
|
6163
|
+
nullifiers: any[];
|
|
6160
6164
|
l2ToL1Messages: {
|
|
6161
6165
|
message: {
|
|
6162
6166
|
content: string;
|
|
@@ -6166,8 +6170,8 @@ export declare class AvmCircuitInputs {
|
|
|
6166
6170
|
}[];
|
|
6167
6171
|
};
|
|
6168
6172
|
revertibleAccumulatedData: {
|
|
6169
|
-
noteHashes:
|
|
6170
|
-
nullifiers:
|
|
6173
|
+
noteHashes: any[];
|
|
6174
|
+
nullifiers: any[];
|
|
6171
6175
|
l2ToL1Messages: {
|
|
6172
6176
|
message: {
|
|
6173
6177
|
content: string;
|
|
@@ -6216,7 +6220,7 @@ export declare class AvmCircuitInputs {
|
|
|
6216
6220
|
teardownEnqueuedCall?: any;
|
|
6217
6221
|
}>;
|
|
6218
6222
|
protocolContracts: z.ZodEffects<z.ZodObject<{
|
|
6219
|
-
derivedAddresses: z.ZodArray<import("
|
|
6223
|
+
derivedAddresses: z.ZodArray<import("../schemas/schemas.js").ZodFor<AztecAddress>, "many">;
|
|
6220
6224
|
}, "strip", z.ZodTypeAny, {
|
|
6221
6225
|
derivedAddresses: AztecAddress[];
|
|
6222
6226
|
}, {
|
|
@@ -6226,12 +6230,12 @@ export declare class AvmCircuitInputs {
|
|
|
6226
6230
|
}>;
|
|
6227
6231
|
contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6228
6232
|
hintKey: z.ZodNumber;
|
|
6229
|
-
address: import("
|
|
6230
|
-
salt:
|
|
6231
|
-
deployer: import("
|
|
6232
|
-
currentContractClassId:
|
|
6233
|
-
originalContractClassId:
|
|
6234
|
-
initializationHash:
|
|
6233
|
+
address: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
6234
|
+
salt: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
6235
|
+
deployer: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
6236
|
+
currentContractClassId: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
6237
|
+
originalContractClassId: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
6238
|
+
initializationHash: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
6235
6239
|
publicKeys: z.ZodEffects<z.ZodObject<{
|
|
6236
6240
|
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
6237
6241
|
masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
@@ -6263,10 +6267,6 @@ export declare class AvmCircuitInputs {
|
|
|
6263
6267
|
address: AztecAddress;
|
|
6264
6268
|
hintKey: number;
|
|
6265
6269
|
}, {
|
|
6266
|
-
salt: string;
|
|
6267
|
-
currentContractClassId: string;
|
|
6268
|
-
originalContractClassId: string;
|
|
6269
|
-
initializationHash: string;
|
|
6270
6270
|
publicKeys: {
|
|
6271
6271
|
masterNullifierPublicKey: string;
|
|
6272
6272
|
masterIncomingViewingPublicKey: string;
|
|
@@ -6274,13 +6274,13 @@ export declare class AvmCircuitInputs {
|
|
|
6274
6274
|
masterTaggingPublicKey: string;
|
|
6275
6275
|
};
|
|
6276
6276
|
hintKey: number;
|
|
6277
|
+
salt?: any;
|
|
6277
6278
|
deployer?: any;
|
|
6279
|
+
currentContractClassId?: any;
|
|
6280
|
+
originalContractClassId?: any;
|
|
6281
|
+
initializationHash?: any;
|
|
6278
6282
|
address?: any;
|
|
6279
6283
|
}>, AvmContractInstanceHint, {
|
|
6280
|
-
salt: string;
|
|
6281
|
-
currentContractClassId: string;
|
|
6282
|
-
originalContractClassId: string;
|
|
6283
|
-
initializationHash: string;
|
|
6284
6284
|
publicKeys: {
|
|
6285
6285
|
masterNullifierPublicKey: string;
|
|
6286
6286
|
masterIncomingViewingPublicKey: string;
|
|
@@ -6288,14 +6288,18 @@ export declare class AvmCircuitInputs {
|
|
|
6288
6288
|
masterTaggingPublicKey: string;
|
|
6289
6289
|
};
|
|
6290
6290
|
hintKey: number;
|
|
6291
|
+
salt?: any;
|
|
6291
6292
|
deployer?: any;
|
|
6293
|
+
currentContractClassId?: any;
|
|
6294
|
+
originalContractClassId?: any;
|
|
6295
|
+
initializationHash?: any;
|
|
6292
6296
|
address?: any;
|
|
6293
6297
|
}>, "many">;
|
|
6294
6298
|
contractClasses: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6295
6299
|
hintKey: z.ZodNumber;
|
|
6296
|
-
classId:
|
|
6297
|
-
artifactHash:
|
|
6298
|
-
privateFunctionsRoot:
|
|
6300
|
+
classId: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
6301
|
+
artifactHash: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
6302
|
+
privateFunctionsRoot: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
6299
6303
|
packedBytecode: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Buffer<ArrayBuffer>, string>, z.ZodEffects<z.ZodObject<{
|
|
6300
6304
|
type: z.ZodLiteral<"Buffer">;
|
|
6301
6305
|
data: z.ZodArray<z.ZodNumber, "many">;
|
|
@@ -6316,44 +6320,44 @@ export declare class AvmCircuitInputs {
|
|
|
6316
6320
|
hintKey: number;
|
|
6317
6321
|
classId: Fr;
|
|
6318
6322
|
}, {
|
|
6319
|
-
artifactHash: string;
|
|
6320
6323
|
packedBytecode: string | {
|
|
6321
6324
|
type: "Buffer";
|
|
6322
6325
|
data: number[];
|
|
6323
6326
|
};
|
|
6324
|
-
privateFunctionsRoot: string;
|
|
6325
6327
|
hintKey: number;
|
|
6326
|
-
|
|
6328
|
+
artifactHash?: any;
|
|
6329
|
+
privateFunctionsRoot?: any;
|
|
6330
|
+
classId?: any;
|
|
6327
6331
|
}>, AvmContractClassHint, {
|
|
6328
|
-
artifactHash: string;
|
|
6329
6332
|
packedBytecode: string | {
|
|
6330
6333
|
type: "Buffer";
|
|
6331
6334
|
data: number[];
|
|
6332
6335
|
};
|
|
6333
|
-
privateFunctionsRoot: string;
|
|
6334
6336
|
hintKey: number;
|
|
6335
|
-
|
|
6337
|
+
artifactHash?: any;
|
|
6338
|
+
privateFunctionsRoot?: any;
|
|
6339
|
+
classId?: any;
|
|
6336
6340
|
}>, "many">;
|
|
6337
6341
|
bytecodeCommitments: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6338
6342
|
hintKey: z.ZodNumber;
|
|
6339
|
-
classId:
|
|
6340
|
-
commitment:
|
|
6343
|
+
classId: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
6344
|
+
commitment: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
6341
6345
|
}, "strip", z.ZodTypeAny, {
|
|
6342
6346
|
hintKey: number;
|
|
6343
6347
|
classId: Fr;
|
|
6344
6348
|
commitment: Fr;
|
|
6345
6349
|
}, {
|
|
6346
6350
|
hintKey: number;
|
|
6347
|
-
classId
|
|
6348
|
-
commitment
|
|
6351
|
+
classId?: any;
|
|
6352
|
+
commitment?: any;
|
|
6349
6353
|
}>, AvmBytecodeCommitmentHint, {
|
|
6350
6354
|
hintKey: number;
|
|
6351
|
-
classId
|
|
6352
|
-
commitment
|
|
6355
|
+
classId?: any;
|
|
6356
|
+
commitment?: any;
|
|
6353
6357
|
}>, "many">;
|
|
6354
6358
|
debugFunctionNames: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6355
|
-
address: import("
|
|
6356
|
-
selector:
|
|
6359
|
+
address: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
6360
|
+
selector: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
6357
6361
|
name: z.ZodString;
|
|
6358
6362
|
}, "strip", z.ZodTypeAny, {
|
|
6359
6363
|
name: string;
|
|
@@ -6361,11 +6365,11 @@ export declare class AvmCircuitInputs {
|
|
|
6361
6365
|
address: AztecAddress;
|
|
6362
6366
|
}, {
|
|
6363
6367
|
name: string;
|
|
6364
|
-
selector
|
|
6368
|
+
selector?: any;
|
|
6365
6369
|
address?: any;
|
|
6366
6370
|
}>, AvmDebugFunctionNameHint, {
|
|
6367
6371
|
name: string;
|
|
6368
|
-
selector
|
|
6372
|
+
selector?: any;
|
|
6369
6373
|
address?: any;
|
|
6370
6374
|
}>, "many">;
|
|
6371
6375
|
startingTreeRoots: z.ZodEffects<z.ZodObject<{
|
|
@@ -6477,14 +6481,14 @@ export declare class AvmCircuitInputs {
|
|
|
6477
6481
|
}>;
|
|
6478
6482
|
treeId: z.ZodNumber;
|
|
6479
6483
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
6480
|
-
path: z.ZodArray<
|
|
6484
|
+
path: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
6481
6485
|
}, "strip", z.ZodTypeAny, {
|
|
6482
6486
|
path: Fr[];
|
|
6483
6487
|
index: bigint;
|
|
6484
6488
|
hintKey: AppendOnlyTreeSnapshot;
|
|
6485
6489
|
treeId: number;
|
|
6486
6490
|
}, {
|
|
6487
|
-
path:
|
|
6491
|
+
path: any[];
|
|
6488
6492
|
index: string | number | bigint;
|
|
6489
6493
|
hintKey: {
|
|
6490
6494
|
root: string;
|
|
@@ -6492,7 +6496,7 @@ export declare class AvmCircuitInputs {
|
|
|
6492
6496
|
};
|
|
6493
6497
|
treeId: number;
|
|
6494
6498
|
}>, AvmGetSiblingPathHint, {
|
|
6495
|
-
path:
|
|
6499
|
+
path: any[];
|
|
6496
6500
|
index: string | number | bigint;
|
|
6497
6501
|
hintKey: {
|
|
6498
6502
|
root: string;
|
|
@@ -6515,7 +6519,7 @@ export declare class AvmCircuitInputs {
|
|
|
6515
6519
|
nextAvailableLeafIndex: string | number | bigint;
|
|
6516
6520
|
}>;
|
|
6517
6521
|
treeId: z.ZodNumber;
|
|
6518
|
-
value:
|
|
6522
|
+
value: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
6519
6523
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
6520
6524
|
alreadyPresent: z.ZodBoolean;
|
|
6521
6525
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6525,7 +6529,6 @@ export declare class AvmCircuitInputs {
|
|
|
6525
6529
|
hintKey: AppendOnlyTreeSnapshot;
|
|
6526
6530
|
treeId: number;
|
|
6527
6531
|
}, {
|
|
6528
|
-
value: string;
|
|
6529
6532
|
index: string | number | bigint;
|
|
6530
6533
|
alreadyPresent: boolean;
|
|
6531
6534
|
hintKey: {
|
|
@@ -6533,8 +6536,8 @@ export declare class AvmCircuitInputs {
|
|
|
6533
6536
|
nextAvailableLeafIndex: string | number | bigint;
|
|
6534
6537
|
};
|
|
6535
6538
|
treeId: number;
|
|
6539
|
+
value?: any;
|
|
6536
6540
|
}>, AvmGetPreviousValueIndexHint, {
|
|
6537
|
-
value: string;
|
|
6538
6541
|
index: string | number | bigint;
|
|
6539
6542
|
alreadyPresent: boolean;
|
|
6540
6543
|
hintKey: {
|
|
@@ -6542,6 +6545,7 @@ export declare class AvmCircuitInputs {
|
|
|
6542
6545
|
nextAvailableLeafIndex: string | number | bigint;
|
|
6543
6546
|
};
|
|
6544
6547
|
treeId: number;
|
|
6548
|
+
value?: any;
|
|
6545
6549
|
}>, "many">;
|
|
6546
6550
|
getLeafPreimageHintsPublicDataTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6547
6551
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
@@ -6813,28 +6817,28 @@ export declare class AvmCircuitInputs {
|
|
|
6813
6817
|
}>;
|
|
6814
6818
|
treeId: z.ZodNumber;
|
|
6815
6819
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
6816
|
-
value:
|
|
6820
|
+
value: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
6817
6821
|
}, "strip", z.ZodTypeAny, {
|
|
6818
6822
|
value: Fr;
|
|
6819
6823
|
index: bigint;
|
|
6820
6824
|
hintKey: AppendOnlyTreeSnapshot;
|
|
6821
6825
|
treeId: number;
|
|
6822
6826
|
}, {
|
|
6823
|
-
value: string;
|
|
6824
6827
|
index: string | number | bigint;
|
|
6825
6828
|
hintKey: {
|
|
6826
6829
|
root: string;
|
|
6827
6830
|
nextAvailableLeafIndex: string | number | bigint;
|
|
6828
6831
|
};
|
|
6829
6832
|
treeId: number;
|
|
6833
|
+
value?: any;
|
|
6830
6834
|
}>, AvmGetLeafValueHint, {
|
|
6831
|
-
value: string;
|
|
6832
6835
|
index: string | number | bigint;
|
|
6833
6836
|
hintKey: {
|
|
6834
6837
|
root: string;
|
|
6835
6838
|
nextAvailableLeafIndex: string | number | bigint;
|
|
6836
6839
|
};
|
|
6837
6840
|
treeId: number;
|
|
6841
|
+
value?: any;
|
|
6838
6842
|
}>, "many">;
|
|
6839
6843
|
sequentialInsertHintsPublicDataTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6840
6844
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
@@ -6950,13 +6954,13 @@ export declare class AvmCircuitInputs {
|
|
|
6950
6954
|
nextIndex: string | number | bigint;
|
|
6951
6955
|
}>;
|
|
6952
6956
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
6953
|
-
path: z.ZodArray<
|
|
6957
|
+
path: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
6954
6958
|
}, "strip", z.ZodTypeAny, {
|
|
6955
6959
|
path: Fr[];
|
|
6956
6960
|
index: bigint;
|
|
6957
6961
|
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
6958
6962
|
}, {
|
|
6959
|
-
path:
|
|
6963
|
+
path: any[];
|
|
6960
6964
|
index: string | number | bigint;
|
|
6961
6965
|
leaf: {
|
|
6962
6966
|
leaf: {
|
|
@@ -7038,13 +7042,13 @@ export declare class AvmCircuitInputs {
|
|
|
7038
7042
|
nextIndex: string | number | bigint;
|
|
7039
7043
|
}>;
|
|
7040
7044
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
7041
|
-
path: z.ZodArray<
|
|
7045
|
+
path: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
7042
7046
|
}, "strip", z.ZodTypeAny, {
|
|
7043
7047
|
path: Fr[];
|
|
7044
7048
|
index: bigint;
|
|
7045
7049
|
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
7046
7050
|
}, {
|
|
7047
|
-
path:
|
|
7051
|
+
path: any[];
|
|
7048
7052
|
index: string | number | bigint;
|
|
7049
7053
|
leaf: {
|
|
7050
7054
|
leaf: {
|
|
@@ -7093,7 +7097,7 @@ export declare class AvmCircuitInputs {
|
|
|
7093
7097
|
nextAvailableLeafIndex: string | number | bigint;
|
|
7094
7098
|
};
|
|
7095
7099
|
lowLeavesWitnessData: {
|
|
7096
|
-
path:
|
|
7100
|
+
path: any[];
|
|
7097
7101
|
index: string | number | bigint;
|
|
7098
7102
|
leaf: {
|
|
7099
7103
|
leaf: {
|
|
@@ -7111,7 +7115,7 @@ export declare class AvmCircuitInputs {
|
|
|
7111
7115
|
};
|
|
7112
7116
|
};
|
|
7113
7117
|
insertionWitnessData: {
|
|
7114
|
-
path:
|
|
7118
|
+
path: any[];
|
|
7115
7119
|
index: string | number | bigint;
|
|
7116
7120
|
leaf: {
|
|
7117
7121
|
leaf: {
|
|
@@ -7160,7 +7164,7 @@ export declare class AvmCircuitInputs {
|
|
|
7160
7164
|
nextAvailableLeafIndex: string | number | bigint;
|
|
7161
7165
|
};
|
|
7162
7166
|
lowLeavesWitnessData: {
|
|
7163
|
-
path:
|
|
7167
|
+
path: any[];
|
|
7164
7168
|
index: string | number | bigint;
|
|
7165
7169
|
leaf: {
|
|
7166
7170
|
leaf: {
|
|
@@ -7178,7 +7182,7 @@ export declare class AvmCircuitInputs {
|
|
|
7178
7182
|
};
|
|
7179
7183
|
};
|
|
7180
7184
|
insertionWitnessData: {
|
|
7181
|
-
path:
|
|
7185
|
+
path: any[];
|
|
7182
7186
|
index: string | number | bigint;
|
|
7183
7187
|
leaf: {
|
|
7184
7188
|
leaf: {
|
|
@@ -7310,13 +7314,13 @@ export declare class AvmCircuitInputs {
|
|
|
7310
7314
|
nextIndex: string | number | bigint;
|
|
7311
7315
|
}>;
|
|
7312
7316
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
7313
|
-
path: z.ZodArray<
|
|
7317
|
+
path: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
7314
7318
|
}, "strip", z.ZodTypeAny, {
|
|
7315
7319
|
path: Fr[];
|
|
7316
7320
|
index: bigint;
|
|
7317
7321
|
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
7318
7322
|
}, {
|
|
7319
|
-
path:
|
|
7323
|
+
path: any[];
|
|
7320
7324
|
index: string | number | bigint;
|
|
7321
7325
|
leaf: {
|
|
7322
7326
|
leaf: {
|
|
@@ -7398,13 +7402,13 @@ export declare class AvmCircuitInputs {
|
|
|
7398
7402
|
nextIndex: string | number | bigint;
|
|
7399
7403
|
}>;
|
|
7400
7404
|
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
7401
|
-
path: z.ZodArray<
|
|
7405
|
+
path: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
7402
7406
|
}, "strip", z.ZodTypeAny, {
|
|
7403
7407
|
path: Fr[];
|
|
7404
7408
|
index: bigint;
|
|
7405
7409
|
leaf: NullifierLeafPreimage | PublicDataTreeLeafPreimage;
|
|
7406
7410
|
}, {
|
|
7407
|
-
path:
|
|
7411
|
+
path: any[];
|
|
7408
7412
|
index: string | number | bigint;
|
|
7409
7413
|
leaf: {
|
|
7410
7414
|
leaf: {
|
|
@@ -7453,7 +7457,7 @@ export declare class AvmCircuitInputs {
|
|
|
7453
7457
|
nextAvailableLeafIndex: string | number | bigint;
|
|
7454
7458
|
};
|
|
7455
7459
|
lowLeavesWitnessData: {
|
|
7456
|
-
path:
|
|
7460
|
+
path: any[];
|
|
7457
7461
|
index: string | number | bigint;
|
|
7458
7462
|
leaf: {
|
|
7459
7463
|
leaf: {
|
|
@@ -7471,7 +7475,7 @@ export declare class AvmCircuitInputs {
|
|
|
7471
7475
|
};
|
|
7472
7476
|
};
|
|
7473
7477
|
insertionWitnessData: {
|
|
7474
|
-
path:
|
|
7478
|
+
path: any[];
|
|
7475
7479
|
index: string | number | bigint;
|
|
7476
7480
|
leaf: {
|
|
7477
7481
|
leaf: {
|
|
@@ -7520,7 +7524,7 @@ export declare class AvmCircuitInputs {
|
|
|
7520
7524
|
nextAvailableLeafIndex: string | number | bigint;
|
|
7521
7525
|
};
|
|
7522
7526
|
lowLeavesWitnessData: {
|
|
7523
|
-
path:
|
|
7527
|
+
path: any[];
|
|
7524
7528
|
index: string | number | bigint;
|
|
7525
7529
|
leaf: {
|
|
7526
7530
|
leaf: {
|
|
@@ -7538,7 +7542,7 @@ export declare class AvmCircuitInputs {
|
|
|
7538
7542
|
};
|
|
7539
7543
|
};
|
|
7540
7544
|
insertionWitnessData: {
|
|
7541
|
-
path:
|
|
7545
|
+
path: any[];
|
|
7542
7546
|
index: string | number | bigint;
|
|
7543
7547
|
leaf: {
|
|
7544
7548
|
leaf: {
|
|
@@ -7584,7 +7588,7 @@ export declare class AvmCircuitInputs {
|
|
|
7584
7588
|
nextAvailableLeafIndex: string | number | bigint;
|
|
7585
7589
|
}>;
|
|
7586
7590
|
treeId: z.ZodNumber;
|
|
7587
|
-
leaves: z.ZodArray<
|
|
7591
|
+
leaves: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
7588
7592
|
}, "strip", z.ZodTypeAny, {
|
|
7589
7593
|
hintKey: AppendOnlyTreeSnapshot;
|
|
7590
7594
|
treeId: number;
|
|
@@ -7600,7 +7604,7 @@ export declare class AvmCircuitInputs {
|
|
|
7600
7604
|
root: string;
|
|
7601
7605
|
nextAvailableLeafIndex: string | number | bigint;
|
|
7602
7606
|
};
|
|
7603
|
-
leaves:
|
|
7607
|
+
leaves: any[];
|
|
7604
7608
|
}>, AvmAppendLeavesHint, {
|
|
7605
7609
|
hintKey: {
|
|
7606
7610
|
root: string;
|
|
@@ -7611,7 +7615,7 @@ export declare class AvmCircuitInputs {
|
|
|
7611
7615
|
root: string;
|
|
7612
7616
|
nextAvailableLeafIndex: string | number | bigint;
|
|
7613
7617
|
};
|
|
7614
|
-
leaves:
|
|
7618
|
+
leaves: any[];
|
|
7615
7619
|
}>, "many">;
|
|
7616
7620
|
createCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
7617
7621
|
actionCounter: z.ZodNumber;
|
|
@@ -8074,8 +8078,8 @@ export declare class AvmCircuitInputs {
|
|
|
8074
8078
|
};
|
|
8075
8079
|
};
|
|
8076
8080
|
nonRevertibleAccumulatedData: {
|
|
8077
|
-
noteHashes:
|
|
8078
|
-
nullifiers:
|
|
8081
|
+
noteHashes: any[];
|
|
8082
|
+
nullifiers: any[];
|
|
8079
8083
|
l2ToL1Messages: {
|
|
8080
8084
|
message: {
|
|
8081
8085
|
content: string;
|
|
@@ -8085,8 +8089,8 @@ export declare class AvmCircuitInputs {
|
|
|
8085
8089
|
}[];
|
|
8086
8090
|
};
|
|
8087
8091
|
revertibleAccumulatedData: {
|
|
8088
|
-
noteHashes:
|
|
8089
|
-
nullifiers:
|
|
8092
|
+
noteHashes: any[];
|
|
8093
|
+
nullifiers: any[];
|
|
8090
8094
|
l2ToL1Messages: {
|
|
8091
8095
|
message: {
|
|
8092
8096
|
content: string;
|
|
@@ -8135,10 +8139,6 @@ export declare class AvmCircuitInputs {
|
|
|
8135
8139
|
teardownEnqueuedCall?: any;
|
|
8136
8140
|
};
|
|
8137
8141
|
contractInstances: {
|
|
8138
|
-
salt: string;
|
|
8139
|
-
currentContractClassId: string;
|
|
8140
|
-
originalContractClassId: string;
|
|
8141
|
-
initializationHash: string;
|
|
8142
8142
|
publicKeys: {
|
|
8143
8143
|
masterNullifierPublicKey: string;
|
|
8144
8144
|
masterIncomingViewingPublicKey: string;
|
|
@@ -8146,27 +8146,31 @@ export declare class AvmCircuitInputs {
|
|
|
8146
8146
|
masterTaggingPublicKey: string;
|
|
8147
8147
|
};
|
|
8148
8148
|
hintKey: number;
|
|
8149
|
+
salt?: any;
|
|
8149
8150
|
deployer?: any;
|
|
8151
|
+
currentContractClassId?: any;
|
|
8152
|
+
originalContractClassId?: any;
|
|
8153
|
+
initializationHash?: any;
|
|
8150
8154
|
address?: any;
|
|
8151
8155
|
}[];
|
|
8152
8156
|
contractClasses: {
|
|
8153
|
-
artifactHash: string;
|
|
8154
8157
|
packedBytecode: string | {
|
|
8155
8158
|
type: "Buffer";
|
|
8156
8159
|
data: number[];
|
|
8157
8160
|
};
|
|
8158
|
-
privateFunctionsRoot: string;
|
|
8159
8161
|
hintKey: number;
|
|
8160
|
-
|
|
8162
|
+
artifactHash?: any;
|
|
8163
|
+
privateFunctionsRoot?: any;
|
|
8164
|
+
classId?: any;
|
|
8161
8165
|
}[];
|
|
8162
8166
|
bytecodeCommitments: {
|
|
8163
8167
|
hintKey: number;
|
|
8164
|
-
classId
|
|
8165
|
-
commitment
|
|
8168
|
+
classId?: any;
|
|
8169
|
+
commitment?: any;
|
|
8166
8170
|
}[];
|
|
8167
8171
|
debugFunctionNames: {
|
|
8168
8172
|
name: string;
|
|
8169
|
-
selector
|
|
8173
|
+
selector?: any;
|
|
8170
8174
|
address?: any;
|
|
8171
8175
|
}[];
|
|
8172
8176
|
startingTreeRoots: {
|
|
@@ -8188,7 +8192,7 @@ export declare class AvmCircuitInputs {
|
|
|
8188
8192
|
};
|
|
8189
8193
|
};
|
|
8190
8194
|
getSiblingPathHints: {
|
|
8191
|
-
path:
|
|
8195
|
+
path: any[];
|
|
8192
8196
|
index: string | number | bigint;
|
|
8193
8197
|
hintKey: {
|
|
8194
8198
|
root: string;
|
|
@@ -8197,7 +8201,6 @@ export declare class AvmCircuitInputs {
|
|
|
8197
8201
|
treeId: number;
|
|
8198
8202
|
}[];
|
|
8199
8203
|
getPreviousValueIndexHints: {
|
|
8200
|
-
value: string;
|
|
8201
8204
|
index: string | number | bigint;
|
|
8202
8205
|
alreadyPresent: boolean;
|
|
8203
8206
|
hintKey: {
|
|
@@ -8205,6 +8208,7 @@ export declare class AvmCircuitInputs {
|
|
|
8205
8208
|
nextAvailableLeafIndex: string | number | bigint;
|
|
8206
8209
|
};
|
|
8207
8210
|
treeId: number;
|
|
8211
|
+
value?: any;
|
|
8208
8212
|
}[];
|
|
8209
8213
|
getLeafPreimageHintsPublicDataTree: {
|
|
8210
8214
|
index: string | number | bigint;
|
|
@@ -8249,13 +8253,13 @@ export declare class AvmCircuitInputs {
|
|
|
8249
8253
|
};
|
|
8250
8254
|
}[];
|
|
8251
8255
|
getLeafValueHints: {
|
|
8252
|
-
value: string;
|
|
8253
8256
|
index: string | number | bigint;
|
|
8254
8257
|
hintKey: {
|
|
8255
8258
|
root: string;
|
|
8256
8259
|
nextAvailableLeafIndex: string | number | bigint;
|
|
8257
8260
|
};
|
|
8258
8261
|
treeId: number;
|
|
8262
|
+
value?: any;
|
|
8259
8263
|
}[];
|
|
8260
8264
|
sequentialInsertHintsPublicDataTree: {
|
|
8261
8265
|
leaf: {
|
|
@@ -8274,7 +8278,7 @@ export declare class AvmCircuitInputs {
|
|
|
8274
8278
|
nextAvailableLeafIndex: string | number | bigint;
|
|
8275
8279
|
};
|
|
8276
8280
|
lowLeavesWitnessData: {
|
|
8277
|
-
path:
|
|
8281
|
+
path: any[];
|
|
8278
8282
|
index: string | number | bigint;
|
|
8279
8283
|
leaf: {
|
|
8280
8284
|
leaf: {
|
|
@@ -8292,7 +8296,7 @@ export declare class AvmCircuitInputs {
|
|
|
8292
8296
|
};
|
|
8293
8297
|
};
|
|
8294
8298
|
insertionWitnessData: {
|
|
8295
|
-
path:
|
|
8299
|
+
path: any[];
|
|
8296
8300
|
index: string | number | bigint;
|
|
8297
8301
|
leaf: {
|
|
8298
8302
|
leaf: {
|
|
@@ -8327,7 +8331,7 @@ export declare class AvmCircuitInputs {
|
|
|
8327
8331
|
nextAvailableLeafIndex: string | number | bigint;
|
|
8328
8332
|
};
|
|
8329
8333
|
lowLeavesWitnessData: {
|
|
8330
|
-
path:
|
|
8334
|
+
path: any[];
|
|
8331
8335
|
index: string | number | bigint;
|
|
8332
8336
|
leaf: {
|
|
8333
8337
|
leaf: {
|
|
@@ -8345,7 +8349,7 @@ export declare class AvmCircuitInputs {
|
|
|
8345
8349
|
};
|
|
8346
8350
|
};
|
|
8347
8351
|
insertionWitnessData: {
|
|
8348
|
-
path:
|
|
8352
|
+
path: any[];
|
|
8349
8353
|
index: string | number | bigint;
|
|
8350
8354
|
leaf: {
|
|
8351
8355
|
leaf: {
|
|
@@ -8373,7 +8377,7 @@ export declare class AvmCircuitInputs {
|
|
|
8373
8377
|
root: string;
|
|
8374
8378
|
nextAvailableLeafIndex: string | number | bigint;
|
|
8375
8379
|
};
|
|
8376
|
-
leaves:
|
|
8380
|
+
leaves: any[];
|
|
8377
8381
|
}[];
|
|
8378
8382
|
createCheckpointHints: {
|
|
8379
8383
|
actionCounter: number;
|
|
@@ -8479,8 +8483,8 @@ export declare class AvmCircuitInputs {
|
|
|
8479
8483
|
};
|
|
8480
8484
|
};
|
|
8481
8485
|
nonRevertibleAccumulatedData: {
|
|
8482
|
-
noteHashes:
|
|
8483
|
-
nullifiers:
|
|
8486
|
+
noteHashes: any[];
|
|
8487
|
+
nullifiers: any[];
|
|
8484
8488
|
l2ToL1Messages: {
|
|
8485
8489
|
message: {
|
|
8486
8490
|
content: string;
|
|
@@ -8490,8 +8494,8 @@ export declare class AvmCircuitInputs {
|
|
|
8490
8494
|
}[];
|
|
8491
8495
|
};
|
|
8492
8496
|
revertibleAccumulatedData: {
|
|
8493
|
-
noteHashes:
|
|
8494
|
-
nullifiers:
|
|
8497
|
+
noteHashes: any[];
|
|
8498
|
+
nullifiers: any[];
|
|
8495
8499
|
l2ToL1Messages: {
|
|
8496
8500
|
message: {
|
|
8497
8501
|
content: string;
|
|
@@ -8540,10 +8544,6 @@ export declare class AvmCircuitInputs {
|
|
|
8540
8544
|
teardownEnqueuedCall?: any;
|
|
8541
8545
|
};
|
|
8542
8546
|
contractInstances: {
|
|
8543
|
-
salt: string;
|
|
8544
|
-
currentContractClassId: string;
|
|
8545
|
-
originalContractClassId: string;
|
|
8546
|
-
initializationHash: string;
|
|
8547
8547
|
publicKeys: {
|
|
8548
8548
|
masterNullifierPublicKey: string;
|
|
8549
8549
|
masterIncomingViewingPublicKey: string;
|
|
@@ -8551,27 +8551,31 @@ export declare class AvmCircuitInputs {
|
|
|
8551
8551
|
masterTaggingPublicKey: string;
|
|
8552
8552
|
};
|
|
8553
8553
|
hintKey: number;
|
|
8554
|
+
salt?: any;
|
|
8554
8555
|
deployer?: any;
|
|
8556
|
+
currentContractClassId?: any;
|
|
8557
|
+
originalContractClassId?: any;
|
|
8558
|
+
initializationHash?: any;
|
|
8555
8559
|
address?: any;
|
|
8556
8560
|
}[];
|
|
8557
8561
|
contractClasses: {
|
|
8558
|
-
artifactHash: string;
|
|
8559
8562
|
packedBytecode: string | {
|
|
8560
8563
|
type: "Buffer";
|
|
8561
8564
|
data: number[];
|
|
8562
8565
|
};
|
|
8563
|
-
privateFunctionsRoot: string;
|
|
8564
8566
|
hintKey: number;
|
|
8565
|
-
|
|
8567
|
+
artifactHash?: any;
|
|
8568
|
+
privateFunctionsRoot?: any;
|
|
8569
|
+
classId?: any;
|
|
8566
8570
|
}[];
|
|
8567
8571
|
bytecodeCommitments: {
|
|
8568
8572
|
hintKey: number;
|
|
8569
|
-
classId
|
|
8570
|
-
commitment
|
|
8573
|
+
classId?: any;
|
|
8574
|
+
commitment?: any;
|
|
8571
8575
|
}[];
|
|
8572
8576
|
debugFunctionNames: {
|
|
8573
8577
|
name: string;
|
|
8574
|
-
selector
|
|
8578
|
+
selector?: any;
|
|
8575
8579
|
address?: any;
|
|
8576
8580
|
}[];
|
|
8577
8581
|
startingTreeRoots: {
|
|
@@ -8593,7 +8597,7 @@ export declare class AvmCircuitInputs {
|
|
|
8593
8597
|
};
|
|
8594
8598
|
};
|
|
8595
8599
|
getSiblingPathHints: {
|
|
8596
|
-
path:
|
|
8600
|
+
path: any[];
|
|
8597
8601
|
index: string | number | bigint;
|
|
8598
8602
|
hintKey: {
|
|
8599
8603
|
root: string;
|
|
@@ -8602,7 +8606,6 @@ export declare class AvmCircuitInputs {
|
|
|
8602
8606
|
treeId: number;
|
|
8603
8607
|
}[];
|
|
8604
8608
|
getPreviousValueIndexHints: {
|
|
8605
|
-
value: string;
|
|
8606
8609
|
index: string | number | bigint;
|
|
8607
8610
|
alreadyPresent: boolean;
|
|
8608
8611
|
hintKey: {
|
|
@@ -8610,6 +8613,7 @@ export declare class AvmCircuitInputs {
|
|
|
8610
8613
|
nextAvailableLeafIndex: string | number | bigint;
|
|
8611
8614
|
};
|
|
8612
8615
|
treeId: number;
|
|
8616
|
+
value?: any;
|
|
8613
8617
|
}[];
|
|
8614
8618
|
getLeafPreimageHintsPublicDataTree: {
|
|
8615
8619
|
index: string | number | bigint;
|
|
@@ -8654,13 +8658,13 @@ export declare class AvmCircuitInputs {
|
|
|
8654
8658
|
};
|
|
8655
8659
|
}[];
|
|
8656
8660
|
getLeafValueHints: {
|
|
8657
|
-
value: string;
|
|
8658
8661
|
index: string | number | bigint;
|
|
8659
8662
|
hintKey: {
|
|
8660
8663
|
root: string;
|
|
8661
8664
|
nextAvailableLeafIndex: string | number | bigint;
|
|
8662
8665
|
};
|
|
8663
8666
|
treeId: number;
|
|
8667
|
+
value?: any;
|
|
8664
8668
|
}[];
|
|
8665
8669
|
sequentialInsertHintsPublicDataTree: {
|
|
8666
8670
|
leaf: {
|
|
@@ -8679,7 +8683,7 @@ export declare class AvmCircuitInputs {
|
|
|
8679
8683
|
nextAvailableLeafIndex: string | number | bigint;
|
|
8680
8684
|
};
|
|
8681
8685
|
lowLeavesWitnessData: {
|
|
8682
|
-
path:
|
|
8686
|
+
path: any[];
|
|
8683
8687
|
index: string | number | bigint;
|
|
8684
8688
|
leaf: {
|
|
8685
8689
|
leaf: {
|
|
@@ -8697,7 +8701,7 @@ export declare class AvmCircuitInputs {
|
|
|
8697
8701
|
};
|
|
8698
8702
|
};
|
|
8699
8703
|
insertionWitnessData: {
|
|
8700
|
-
path:
|
|
8704
|
+
path: any[];
|
|
8701
8705
|
index: string | number | bigint;
|
|
8702
8706
|
leaf: {
|
|
8703
8707
|
leaf: {
|
|
@@ -8732,7 +8736,7 @@ export declare class AvmCircuitInputs {
|
|
|
8732
8736
|
nextAvailableLeafIndex: string | number | bigint;
|
|
8733
8737
|
};
|
|
8734
8738
|
lowLeavesWitnessData: {
|
|
8735
|
-
path:
|
|
8739
|
+
path: any[];
|
|
8736
8740
|
index: string | number | bigint;
|
|
8737
8741
|
leaf: {
|
|
8738
8742
|
leaf: {
|
|
@@ -8750,7 +8754,7 @@ export declare class AvmCircuitInputs {
|
|
|
8750
8754
|
};
|
|
8751
8755
|
};
|
|
8752
8756
|
insertionWitnessData: {
|
|
8753
|
-
path:
|
|
8757
|
+
path: any[];
|
|
8754
8758
|
index: string | number | bigint;
|
|
8755
8759
|
leaf: {
|
|
8756
8760
|
leaf: {
|
|
@@ -8778,7 +8782,7 @@ export declare class AvmCircuitInputs {
|
|
|
8778
8782
|
root: string;
|
|
8779
8783
|
nextAvailableLeafIndex: string | number | bigint;
|
|
8780
8784
|
};
|
|
8781
|
-
leaves:
|
|
8785
|
+
leaves: any[];
|
|
8782
8786
|
}[];
|
|
8783
8787
|
createCheckpointHints: {
|
|
8784
8788
|
actionCounter: number;
|
|
@@ -8849,13 +8853,13 @@ export declare class AvmCircuitInputs {
|
|
|
8849
8853
|
}>;
|
|
8850
8854
|
publicInputs: z.ZodEffects<z.ZodObject<{
|
|
8851
8855
|
globalVariables: z.ZodEffects<z.ZodObject<{
|
|
8852
|
-
chainId: import("
|
|
8853
|
-
version: import("
|
|
8856
|
+
chainId: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
8857
|
+
version: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
8854
8858
|
blockNumber: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
8855
|
-
slotNumber: import("
|
|
8859
|
+
slotNumber: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
8856
8860
|
timestamp: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
8857
|
-
coinbase: import("
|
|
8858
|
-
feeRecipient: import("
|
|
8861
|
+
coinbase: import("../schemas/schemas.js").ZodFor<import("@aztec/foundation/schemas").EthAddress>;
|
|
8862
|
+
feeRecipient: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
8859
8863
|
gasFees: z.ZodEffects<z.ZodObject<{
|
|
8860
8864
|
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
8861
8865
|
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
@@ -8904,7 +8908,7 @@ export declare class AvmCircuitInputs {
|
|
|
8904
8908
|
feeRecipient?: any;
|
|
8905
8909
|
}>;
|
|
8906
8910
|
protocolContracts: z.ZodEffects<z.ZodObject<{
|
|
8907
|
-
derivedAddresses: z.ZodArray<import("
|
|
8911
|
+
derivedAddresses: z.ZodArray<import("../schemas/schemas.js").ZodFor<AztecAddress>, "many">;
|
|
8908
8912
|
}, "strip", z.ZodTypeAny, {
|
|
8909
8913
|
derivedAddresses: AztecAddress[];
|
|
8910
8914
|
}, {
|
|
@@ -9124,7 +9128,7 @@ export declare class AvmCircuitInputs {
|
|
|
9124
9128
|
feePerDaGas: string | number | bigint;
|
|
9125
9129
|
feePerL2Gas: string | number | bigint;
|
|
9126
9130
|
}>;
|
|
9127
|
-
feePayer: import("
|
|
9131
|
+
feePayer: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
9128
9132
|
proverId: z.ZodType<Fr, any, string>;
|
|
9129
9133
|
publicCallRequestArrayLengths: z.ZodEffects<z.ZodObject<{
|
|
9130
9134
|
setupCalls: z.ZodNumber;
|
|
@@ -9144,8 +9148,8 @@ export declare class AvmCircuitInputs {
|
|
|
9144
9148
|
teardownCall: boolean;
|
|
9145
9149
|
}>;
|
|
9146
9150
|
publicSetupCallRequests: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
9147
|
-
msgSender: import("
|
|
9148
|
-
contractAddress: import("
|
|
9151
|
+
msgSender: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
9152
|
+
contractAddress: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
9149
9153
|
isStaticCall: z.ZodBoolean;
|
|
9150
9154
|
calldataHash: z.ZodType<Fr, any, string>;
|
|
9151
9155
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9165,8 +9169,8 @@ export declare class AvmCircuitInputs {
|
|
|
9165
9169
|
msgSender?: any;
|
|
9166
9170
|
}>, "many">;
|
|
9167
9171
|
publicAppLogicCallRequests: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
9168
|
-
msgSender: import("
|
|
9169
|
-
contractAddress: import("
|
|
9172
|
+
msgSender: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
9173
|
+
contractAddress: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
9170
9174
|
isStaticCall: z.ZodBoolean;
|
|
9171
9175
|
calldataHash: z.ZodType<Fr, any, string>;
|
|
9172
9176
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9186,8 +9190,8 @@ export declare class AvmCircuitInputs {
|
|
|
9186
9190
|
msgSender?: any;
|
|
9187
9191
|
}>, "many">;
|
|
9188
9192
|
publicTeardownCallRequest: z.ZodEffects<z.ZodObject<{
|
|
9189
|
-
msgSender: import("
|
|
9190
|
-
contractAddress: import("
|
|
9193
|
+
msgSender: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
9194
|
+
contractAddress: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
9191
9195
|
isStaticCall: z.ZodBoolean;
|
|
9192
9196
|
calldataHash: z.ZodType<Fr, any, string>;
|
|
9193
9197
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9257,7 +9261,7 @@ export declare class AvmCircuitInputs {
|
|
|
9257
9261
|
content: string;
|
|
9258
9262
|
recipient: string;
|
|
9259
9263
|
}>;
|
|
9260
|
-
contractAddress: import("
|
|
9264
|
+
contractAddress: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
9261
9265
|
}, "strip", z.ZodTypeAny, {
|
|
9262
9266
|
message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
|
|
9263
9267
|
contractAddress: AztecAddress;
|
|
@@ -9316,7 +9320,7 @@ export declare class AvmCircuitInputs {
|
|
|
9316
9320
|
content: string;
|
|
9317
9321
|
recipient: string;
|
|
9318
9322
|
}>;
|
|
9319
|
-
contractAddress: import("
|
|
9323
|
+
contractAddress: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
9320
9324
|
}, "strip", z.ZodTypeAny, {
|
|
9321
9325
|
message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
|
|
9322
9326
|
contractAddress: AztecAddress;
|
|
@@ -9502,7 +9506,7 @@ export declare class AvmCircuitInputs {
|
|
|
9502
9506
|
content: string;
|
|
9503
9507
|
recipient: string;
|
|
9504
9508
|
}>;
|
|
9505
|
-
contractAddress: import("
|
|
9509
|
+
contractAddress: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
9506
9510
|
}, "strip", z.ZodTypeAny, {
|
|
9507
9511
|
message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
|
|
9508
9512
|
contractAddress: AztecAddress;
|
|
@@ -9519,7 +9523,7 @@ export declare class AvmCircuitInputs {
|
|
|
9519
9523
|
};
|
|
9520
9524
|
contractAddress?: any;
|
|
9521
9525
|
}>, "many">;
|
|
9522
|
-
publicLogs: import("
|
|
9526
|
+
publicLogs: import("../schemas/schemas.js").ZodFor<import("../logs/public_log.js").FlatPublicLogs>;
|
|
9523
9527
|
publicDataWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
9524
9528
|
leafSlot: z.ZodType<Fr, any, string>;
|
|
9525
9529
|
value: z.ZodType<Fr, any, string>;
|
|
@@ -10131,8 +10135,8 @@ export declare class AvmCircuitInputs {
|
|
|
10131
10135
|
};
|
|
10132
10136
|
};
|
|
10133
10137
|
nonRevertibleAccumulatedData: {
|
|
10134
|
-
noteHashes:
|
|
10135
|
-
nullifiers:
|
|
10138
|
+
noteHashes: any[];
|
|
10139
|
+
nullifiers: any[];
|
|
10136
10140
|
l2ToL1Messages: {
|
|
10137
10141
|
message: {
|
|
10138
10142
|
content: string;
|
|
@@ -10142,8 +10146,8 @@ export declare class AvmCircuitInputs {
|
|
|
10142
10146
|
}[];
|
|
10143
10147
|
};
|
|
10144
10148
|
revertibleAccumulatedData: {
|
|
10145
|
-
noteHashes:
|
|
10146
|
-
nullifiers:
|
|
10149
|
+
noteHashes: any[];
|
|
10150
|
+
nullifiers: any[];
|
|
10147
10151
|
l2ToL1Messages: {
|
|
10148
10152
|
message: {
|
|
10149
10153
|
content: string;
|
|
@@ -10192,10 +10196,6 @@ export declare class AvmCircuitInputs {
|
|
|
10192
10196
|
teardownEnqueuedCall?: any;
|
|
10193
10197
|
};
|
|
10194
10198
|
contractInstances: {
|
|
10195
|
-
salt: string;
|
|
10196
|
-
currentContractClassId: string;
|
|
10197
|
-
originalContractClassId: string;
|
|
10198
|
-
initializationHash: string;
|
|
10199
10199
|
publicKeys: {
|
|
10200
10200
|
masterNullifierPublicKey: string;
|
|
10201
10201
|
masterIncomingViewingPublicKey: string;
|
|
@@ -10203,27 +10203,31 @@ export declare class AvmCircuitInputs {
|
|
|
10203
10203
|
masterTaggingPublicKey: string;
|
|
10204
10204
|
};
|
|
10205
10205
|
hintKey: number;
|
|
10206
|
+
salt?: any;
|
|
10206
10207
|
deployer?: any;
|
|
10208
|
+
currentContractClassId?: any;
|
|
10209
|
+
originalContractClassId?: any;
|
|
10210
|
+
initializationHash?: any;
|
|
10207
10211
|
address?: any;
|
|
10208
10212
|
}[];
|
|
10209
10213
|
contractClasses: {
|
|
10210
|
-
artifactHash: string;
|
|
10211
10214
|
packedBytecode: string | {
|
|
10212
10215
|
type: "Buffer";
|
|
10213
10216
|
data: number[];
|
|
10214
10217
|
};
|
|
10215
|
-
privateFunctionsRoot: string;
|
|
10216
10218
|
hintKey: number;
|
|
10217
|
-
|
|
10219
|
+
artifactHash?: any;
|
|
10220
|
+
privateFunctionsRoot?: any;
|
|
10221
|
+
classId?: any;
|
|
10218
10222
|
}[];
|
|
10219
10223
|
bytecodeCommitments: {
|
|
10220
10224
|
hintKey: number;
|
|
10221
|
-
classId
|
|
10222
|
-
commitment
|
|
10225
|
+
classId?: any;
|
|
10226
|
+
commitment?: any;
|
|
10223
10227
|
}[];
|
|
10224
10228
|
debugFunctionNames: {
|
|
10225
10229
|
name: string;
|
|
10226
|
-
selector
|
|
10230
|
+
selector?: any;
|
|
10227
10231
|
address?: any;
|
|
10228
10232
|
}[];
|
|
10229
10233
|
startingTreeRoots: {
|
|
@@ -10245,7 +10249,7 @@ export declare class AvmCircuitInputs {
|
|
|
10245
10249
|
};
|
|
10246
10250
|
};
|
|
10247
10251
|
getSiblingPathHints: {
|
|
10248
|
-
path:
|
|
10252
|
+
path: any[];
|
|
10249
10253
|
index: string | number | bigint;
|
|
10250
10254
|
hintKey: {
|
|
10251
10255
|
root: string;
|
|
@@ -10254,7 +10258,6 @@ export declare class AvmCircuitInputs {
|
|
|
10254
10258
|
treeId: number;
|
|
10255
10259
|
}[];
|
|
10256
10260
|
getPreviousValueIndexHints: {
|
|
10257
|
-
value: string;
|
|
10258
10261
|
index: string | number | bigint;
|
|
10259
10262
|
alreadyPresent: boolean;
|
|
10260
10263
|
hintKey: {
|
|
@@ -10262,6 +10265,7 @@ export declare class AvmCircuitInputs {
|
|
|
10262
10265
|
nextAvailableLeafIndex: string | number | bigint;
|
|
10263
10266
|
};
|
|
10264
10267
|
treeId: number;
|
|
10268
|
+
value?: any;
|
|
10265
10269
|
}[];
|
|
10266
10270
|
getLeafPreimageHintsPublicDataTree: {
|
|
10267
10271
|
index: string | number | bigint;
|
|
@@ -10306,13 +10310,13 @@ export declare class AvmCircuitInputs {
|
|
|
10306
10310
|
};
|
|
10307
10311
|
}[];
|
|
10308
10312
|
getLeafValueHints: {
|
|
10309
|
-
value: string;
|
|
10310
10313
|
index: string | number | bigint;
|
|
10311
10314
|
hintKey: {
|
|
10312
10315
|
root: string;
|
|
10313
10316
|
nextAvailableLeafIndex: string | number | bigint;
|
|
10314
10317
|
};
|
|
10315
10318
|
treeId: number;
|
|
10319
|
+
value?: any;
|
|
10316
10320
|
}[];
|
|
10317
10321
|
sequentialInsertHintsPublicDataTree: {
|
|
10318
10322
|
leaf: {
|
|
@@ -10331,7 +10335,7 @@ export declare class AvmCircuitInputs {
|
|
|
10331
10335
|
nextAvailableLeafIndex: string | number | bigint;
|
|
10332
10336
|
};
|
|
10333
10337
|
lowLeavesWitnessData: {
|
|
10334
|
-
path:
|
|
10338
|
+
path: any[];
|
|
10335
10339
|
index: string | number | bigint;
|
|
10336
10340
|
leaf: {
|
|
10337
10341
|
leaf: {
|
|
@@ -10349,7 +10353,7 @@ export declare class AvmCircuitInputs {
|
|
|
10349
10353
|
};
|
|
10350
10354
|
};
|
|
10351
10355
|
insertionWitnessData: {
|
|
10352
|
-
path:
|
|
10356
|
+
path: any[];
|
|
10353
10357
|
index: string | number | bigint;
|
|
10354
10358
|
leaf: {
|
|
10355
10359
|
leaf: {
|
|
@@ -10384,7 +10388,7 @@ export declare class AvmCircuitInputs {
|
|
|
10384
10388
|
nextAvailableLeafIndex: string | number | bigint;
|
|
10385
10389
|
};
|
|
10386
10390
|
lowLeavesWitnessData: {
|
|
10387
|
-
path:
|
|
10391
|
+
path: any[];
|
|
10388
10392
|
index: string | number | bigint;
|
|
10389
10393
|
leaf: {
|
|
10390
10394
|
leaf: {
|
|
@@ -10402,7 +10406,7 @@ export declare class AvmCircuitInputs {
|
|
|
10402
10406
|
};
|
|
10403
10407
|
};
|
|
10404
10408
|
insertionWitnessData: {
|
|
10405
|
-
path:
|
|
10409
|
+
path: any[];
|
|
10406
10410
|
index: string | number | bigint;
|
|
10407
10411
|
leaf: {
|
|
10408
10412
|
leaf: {
|
|
@@ -10430,7 +10434,7 @@ export declare class AvmCircuitInputs {
|
|
|
10430
10434
|
root: string;
|
|
10431
10435
|
nextAvailableLeafIndex: string | number | bigint;
|
|
10432
10436
|
};
|
|
10433
|
-
leaves:
|
|
10437
|
+
leaves: any[];
|
|
10434
10438
|
}[];
|
|
10435
10439
|
createCheckpointHints: {
|
|
10436
10440
|
actionCounter: number;
|
|
@@ -10703,8 +10707,8 @@ export declare class AvmCircuitInputs {
|
|
|
10703
10707
|
};
|
|
10704
10708
|
};
|
|
10705
10709
|
nonRevertibleAccumulatedData: {
|
|
10706
|
-
noteHashes:
|
|
10707
|
-
nullifiers:
|
|
10710
|
+
noteHashes: any[];
|
|
10711
|
+
nullifiers: any[];
|
|
10708
10712
|
l2ToL1Messages: {
|
|
10709
10713
|
message: {
|
|
10710
10714
|
content: string;
|
|
@@ -10714,8 +10718,8 @@ export declare class AvmCircuitInputs {
|
|
|
10714
10718
|
}[];
|
|
10715
10719
|
};
|
|
10716
10720
|
revertibleAccumulatedData: {
|
|
10717
|
-
noteHashes:
|
|
10718
|
-
nullifiers:
|
|
10721
|
+
noteHashes: any[];
|
|
10722
|
+
nullifiers: any[];
|
|
10719
10723
|
l2ToL1Messages: {
|
|
10720
10724
|
message: {
|
|
10721
10725
|
content: string;
|
|
@@ -10764,10 +10768,6 @@ export declare class AvmCircuitInputs {
|
|
|
10764
10768
|
teardownEnqueuedCall?: any;
|
|
10765
10769
|
};
|
|
10766
10770
|
contractInstances: {
|
|
10767
|
-
salt: string;
|
|
10768
|
-
currentContractClassId: string;
|
|
10769
|
-
originalContractClassId: string;
|
|
10770
|
-
initializationHash: string;
|
|
10771
10771
|
publicKeys: {
|
|
10772
10772
|
masterNullifierPublicKey: string;
|
|
10773
10773
|
masterIncomingViewingPublicKey: string;
|
|
@@ -10775,27 +10775,31 @@ export declare class AvmCircuitInputs {
|
|
|
10775
10775
|
masterTaggingPublicKey: string;
|
|
10776
10776
|
};
|
|
10777
10777
|
hintKey: number;
|
|
10778
|
+
salt?: any;
|
|
10778
10779
|
deployer?: any;
|
|
10780
|
+
currentContractClassId?: any;
|
|
10781
|
+
originalContractClassId?: any;
|
|
10782
|
+
initializationHash?: any;
|
|
10779
10783
|
address?: any;
|
|
10780
10784
|
}[];
|
|
10781
10785
|
contractClasses: {
|
|
10782
|
-
artifactHash: string;
|
|
10783
10786
|
packedBytecode: string | {
|
|
10784
10787
|
type: "Buffer";
|
|
10785
10788
|
data: number[];
|
|
10786
10789
|
};
|
|
10787
|
-
privateFunctionsRoot: string;
|
|
10788
10790
|
hintKey: number;
|
|
10789
|
-
|
|
10791
|
+
artifactHash?: any;
|
|
10792
|
+
privateFunctionsRoot?: any;
|
|
10793
|
+
classId?: any;
|
|
10790
10794
|
}[];
|
|
10791
10795
|
bytecodeCommitments: {
|
|
10792
10796
|
hintKey: number;
|
|
10793
|
-
classId
|
|
10794
|
-
commitment
|
|
10797
|
+
classId?: any;
|
|
10798
|
+
commitment?: any;
|
|
10795
10799
|
}[];
|
|
10796
10800
|
debugFunctionNames: {
|
|
10797
10801
|
name: string;
|
|
10798
|
-
selector
|
|
10802
|
+
selector?: any;
|
|
10799
10803
|
address?: any;
|
|
10800
10804
|
}[];
|
|
10801
10805
|
startingTreeRoots: {
|
|
@@ -10817,7 +10821,7 @@ export declare class AvmCircuitInputs {
|
|
|
10817
10821
|
};
|
|
10818
10822
|
};
|
|
10819
10823
|
getSiblingPathHints: {
|
|
10820
|
-
path:
|
|
10824
|
+
path: any[];
|
|
10821
10825
|
index: string | number | bigint;
|
|
10822
10826
|
hintKey: {
|
|
10823
10827
|
root: string;
|
|
@@ -10826,7 +10830,6 @@ export declare class AvmCircuitInputs {
|
|
|
10826
10830
|
treeId: number;
|
|
10827
10831
|
}[];
|
|
10828
10832
|
getPreviousValueIndexHints: {
|
|
10829
|
-
value: string;
|
|
10830
10833
|
index: string | number | bigint;
|
|
10831
10834
|
alreadyPresent: boolean;
|
|
10832
10835
|
hintKey: {
|
|
@@ -10834,6 +10837,7 @@ export declare class AvmCircuitInputs {
|
|
|
10834
10837
|
nextAvailableLeafIndex: string | number | bigint;
|
|
10835
10838
|
};
|
|
10836
10839
|
treeId: number;
|
|
10840
|
+
value?: any;
|
|
10837
10841
|
}[];
|
|
10838
10842
|
getLeafPreimageHintsPublicDataTree: {
|
|
10839
10843
|
index: string | number | bigint;
|
|
@@ -10878,13 +10882,13 @@ export declare class AvmCircuitInputs {
|
|
|
10878
10882
|
};
|
|
10879
10883
|
}[];
|
|
10880
10884
|
getLeafValueHints: {
|
|
10881
|
-
value: string;
|
|
10882
10885
|
index: string | number | bigint;
|
|
10883
10886
|
hintKey: {
|
|
10884
10887
|
root: string;
|
|
10885
10888
|
nextAvailableLeafIndex: string | number | bigint;
|
|
10886
10889
|
};
|
|
10887
10890
|
treeId: number;
|
|
10891
|
+
value?: any;
|
|
10888
10892
|
}[];
|
|
10889
10893
|
sequentialInsertHintsPublicDataTree: {
|
|
10890
10894
|
leaf: {
|
|
@@ -10903,7 +10907,7 @@ export declare class AvmCircuitInputs {
|
|
|
10903
10907
|
nextAvailableLeafIndex: string | number | bigint;
|
|
10904
10908
|
};
|
|
10905
10909
|
lowLeavesWitnessData: {
|
|
10906
|
-
path:
|
|
10910
|
+
path: any[];
|
|
10907
10911
|
index: string | number | bigint;
|
|
10908
10912
|
leaf: {
|
|
10909
10913
|
leaf: {
|
|
@@ -10921,7 +10925,7 @@ export declare class AvmCircuitInputs {
|
|
|
10921
10925
|
};
|
|
10922
10926
|
};
|
|
10923
10927
|
insertionWitnessData: {
|
|
10924
|
-
path:
|
|
10928
|
+
path: any[];
|
|
10925
10929
|
index: string | number | bigint;
|
|
10926
10930
|
leaf: {
|
|
10927
10931
|
leaf: {
|
|
@@ -10956,7 +10960,7 @@ export declare class AvmCircuitInputs {
|
|
|
10956
10960
|
nextAvailableLeafIndex: string | number | bigint;
|
|
10957
10961
|
};
|
|
10958
10962
|
lowLeavesWitnessData: {
|
|
10959
|
-
path:
|
|
10963
|
+
path: any[];
|
|
10960
10964
|
index: string | number | bigint;
|
|
10961
10965
|
leaf: {
|
|
10962
10966
|
leaf: {
|
|
@@ -10974,7 +10978,7 @@ export declare class AvmCircuitInputs {
|
|
|
10974
10978
|
};
|
|
10975
10979
|
};
|
|
10976
10980
|
insertionWitnessData: {
|
|
10977
|
-
path:
|
|
10981
|
+
path: any[];
|
|
10978
10982
|
index: string | number | bigint;
|
|
10979
10983
|
leaf: {
|
|
10980
10984
|
leaf: {
|
|
@@ -11002,7 +11006,7 @@ export declare class AvmCircuitInputs {
|
|
|
11002
11006
|
root: string;
|
|
11003
11007
|
nextAvailableLeafIndex: string | number | bigint;
|
|
11004
11008
|
};
|
|
11005
|
-
leaves:
|
|
11009
|
+
leaves: any[];
|
|
11006
11010
|
}[];
|
|
11007
11011
|
createCheckpointHints: {
|
|
11008
11012
|
actionCounter: number;
|
|
@@ -11076,6 +11080,143 @@ export declare class AvmCircuitInputs {
|
|
|
11076
11080
|
toBuffer(): Buffer;
|
|
11077
11081
|
static fromBuffer(buf: Buffer): AvmCircuitInputs;
|
|
11078
11082
|
}
|
|
11083
|
+
export type ProcessedPhase = {
|
|
11084
|
+
phase: TxExecutionPhase;
|
|
11085
|
+
durationMs?: number;
|
|
11086
|
+
returnValues: NestedProcessReturnValues[];
|
|
11087
|
+
reverted: boolean;
|
|
11088
|
+
revertReason?: SimulationError;
|
|
11089
|
+
};
|
|
11090
|
+
export declare class PublicTxResult {
|
|
11091
|
+
gasUsed: GasUsed;
|
|
11092
|
+
revertCode: RevertCode;
|
|
11093
|
+
revertReason: SimulationError | undefined;
|
|
11094
|
+
processedPhases: ProcessedPhase[] | undefined;
|
|
11095
|
+
logs: DebugLog[] | undefined;
|
|
11096
|
+
hints: AvmExecutionHints | undefined;
|
|
11097
|
+
publicInputs: AvmCircuitPublicInputs;
|
|
11098
|
+
constructor(gasUsed: GasUsed, revertCode: RevertCode, revertReason: SimulationError | undefined, // Revert reason, if any
|
|
11099
|
+
processedPhases: ProcessedPhase[] | undefined, logs: DebugLog[] | undefined, hints: AvmExecutionHints | undefined, publicInputs: AvmCircuitPublicInputs);
|
|
11100
|
+
static empty(): PublicTxResult;
|
|
11101
|
+
static get partialSchema(): z.ZodObject<{
|
|
11102
|
+
gasUsed: z.ZodObject<{
|
|
11103
|
+
totalGas: z.ZodEffects<z.ZodObject<{
|
|
11104
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
11105
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
11106
|
+
}, "strip", z.ZodTypeAny, {
|
|
11107
|
+
daGas: number;
|
|
11108
|
+
l2Gas: number;
|
|
11109
|
+
}, {
|
|
11110
|
+
daGas: string | number | bigint;
|
|
11111
|
+
l2Gas: string | number | bigint;
|
|
11112
|
+
}>, Gas, {
|
|
11113
|
+
daGas: string | number | bigint;
|
|
11114
|
+
l2Gas: string | number | bigint;
|
|
11115
|
+
}>;
|
|
11116
|
+
teardownGas: z.ZodEffects<z.ZodObject<{
|
|
11117
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
11118
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
11119
|
+
}, "strip", z.ZodTypeAny, {
|
|
11120
|
+
daGas: number;
|
|
11121
|
+
l2Gas: number;
|
|
11122
|
+
}, {
|
|
11123
|
+
daGas: string | number | bigint;
|
|
11124
|
+
l2Gas: string | number | bigint;
|
|
11125
|
+
}>, Gas, {
|
|
11126
|
+
daGas: string | number | bigint;
|
|
11127
|
+
l2Gas: string | number | bigint;
|
|
11128
|
+
}>;
|
|
11129
|
+
publicGas: z.ZodEffects<z.ZodObject<{
|
|
11130
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
11131
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
11132
|
+
}, "strip", z.ZodTypeAny, {
|
|
11133
|
+
daGas: number;
|
|
11134
|
+
l2Gas: number;
|
|
11135
|
+
}, {
|
|
11136
|
+
daGas: string | number | bigint;
|
|
11137
|
+
l2Gas: string | number | bigint;
|
|
11138
|
+
}>, Gas, {
|
|
11139
|
+
daGas: string | number | bigint;
|
|
11140
|
+
l2Gas: string | number | bigint;
|
|
11141
|
+
}>;
|
|
11142
|
+
billedGas: z.ZodEffects<z.ZodObject<{
|
|
11143
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
11144
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
11145
|
+
}, "strip", z.ZodTypeAny, {
|
|
11146
|
+
daGas: number;
|
|
11147
|
+
l2Gas: number;
|
|
11148
|
+
}, {
|
|
11149
|
+
daGas: string | number | bigint;
|
|
11150
|
+
l2Gas: string | number | bigint;
|
|
11151
|
+
}>, Gas, {
|
|
11152
|
+
daGas: string | number | bigint;
|
|
11153
|
+
l2Gas: string | number | bigint;
|
|
11154
|
+
}>;
|
|
11155
|
+
}, "strip", z.ZodTypeAny, {
|
|
11156
|
+
totalGas: Gas;
|
|
11157
|
+
teardownGas: Gas;
|
|
11158
|
+
publicGas: Gas;
|
|
11159
|
+
billedGas: Gas;
|
|
11160
|
+
}, {
|
|
11161
|
+
totalGas: {
|
|
11162
|
+
daGas: string | number | bigint;
|
|
11163
|
+
l2Gas: string | number | bigint;
|
|
11164
|
+
};
|
|
11165
|
+
teardownGas: {
|
|
11166
|
+
daGas: string | number | bigint;
|
|
11167
|
+
l2Gas: string | number | bigint;
|
|
11168
|
+
};
|
|
11169
|
+
publicGas: {
|
|
11170
|
+
daGas: string | number | bigint;
|
|
11171
|
+
l2Gas: string | number | bigint;
|
|
11172
|
+
};
|
|
11173
|
+
billedGas: {
|
|
11174
|
+
daGas: string | number | bigint;
|
|
11175
|
+
l2Gas: string | number | bigint;
|
|
11176
|
+
};
|
|
11177
|
+
}>;
|
|
11178
|
+
revertCode: import("../schemas/schemas.js").ZodFor<RevertCode>;
|
|
11179
|
+
}, "strip", z.ZodTypeAny, {
|
|
11180
|
+
gasUsed: {
|
|
11181
|
+
totalGas: Gas;
|
|
11182
|
+
teardownGas: Gas;
|
|
11183
|
+
publicGas: Gas;
|
|
11184
|
+
billedGas: Gas;
|
|
11185
|
+
};
|
|
11186
|
+
revertCode: RevertCode;
|
|
11187
|
+
}, {
|
|
11188
|
+
gasUsed: {
|
|
11189
|
+
totalGas: {
|
|
11190
|
+
daGas: string | number | bigint;
|
|
11191
|
+
l2Gas: string | number | bigint;
|
|
11192
|
+
};
|
|
11193
|
+
teardownGas: {
|
|
11194
|
+
daGas: string | number | bigint;
|
|
11195
|
+
l2Gas: string | number | bigint;
|
|
11196
|
+
};
|
|
11197
|
+
publicGas: {
|
|
11198
|
+
daGas: string | number | bigint;
|
|
11199
|
+
l2Gas: string | number | bigint;
|
|
11200
|
+
};
|
|
11201
|
+
billedGas: {
|
|
11202
|
+
daGas: string | number | bigint;
|
|
11203
|
+
l2Gas: string | number | bigint;
|
|
11204
|
+
};
|
|
11205
|
+
};
|
|
11206
|
+
revertCode?: any;
|
|
11207
|
+
}>;
|
|
11208
|
+
static fromJSON(json: any): {
|
|
11209
|
+
gasUsed: GasUsed;
|
|
11210
|
+
revertCode: RevertCode;
|
|
11211
|
+
};
|
|
11212
|
+
}
|
|
11213
|
+
export type PublicTxSimulatorConfig = {
|
|
11214
|
+
proverId: Fr;
|
|
11215
|
+
doMerkleOperations: boolean;
|
|
11216
|
+
skipFeeEnforcement: boolean;
|
|
11217
|
+
clientInitiatedSimulation: boolean;
|
|
11218
|
+
maxDebugLogMemoryReads: number;
|
|
11219
|
+
};
|
|
11079
11220
|
export declare class AvmFastSimulationInputs {
|
|
11080
11221
|
readonly wsRevision: WorldStateRevision;
|
|
11081
11222
|
tx: AvmTxHint;
|
|
@@ -11211,7 +11352,7 @@ export declare class AvmFastSimulationInputs {
|
|
|
11211
11352
|
}>;
|
|
11212
11353
|
nonRevertibleContractDeploymentData: z.ZodEffects<z.ZodObject<{
|
|
11213
11354
|
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
11214
|
-
contractAddress: import("
|
|
11355
|
+
contractAddress: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
11215
11356
|
fields: z.ZodEffects<z.ZodObject<{
|
|
11216
11357
|
fields: z.ZodEffects<z.ZodArray<z.ZodType<Fr, any, string>, "many">, Fr[], string[]>;
|
|
11217
11358
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -11282,7 +11423,7 @@ export declare class AvmFastSimulationInputs {
|
|
|
11282
11423
|
}>;
|
|
11283
11424
|
revertibleContractDeploymentData: z.ZodEffects<z.ZodObject<{
|
|
11284
11425
|
contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
11285
|
-
contractAddress: import("
|
|
11426
|
+
contractAddress: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
11286
11427
|
fields: z.ZodEffects<z.ZodObject<{
|
|
11287
11428
|
fields: z.ZodEffects<z.ZodArray<z.ZodType<Fr, any, string>, "many">, Fr[], string[]>;
|
|
11288
11429
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -11352,8 +11493,8 @@ export declare class AvmFastSimulationInputs {
|
|
|
11352
11493
|
}[];
|
|
11353
11494
|
}>;
|
|
11354
11495
|
nonRevertibleAccumulatedData: z.ZodObject<{
|
|
11355
|
-
noteHashes: z.ZodArray<
|
|
11356
|
-
nullifiers: z.ZodArray<
|
|
11496
|
+
noteHashes: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
11497
|
+
nullifiers: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
11357
11498
|
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
11358
11499
|
message: z.ZodEffects<z.ZodObject<{
|
|
11359
11500
|
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
@@ -11368,7 +11509,7 @@ export declare class AvmFastSimulationInputs {
|
|
|
11368
11509
|
content: string;
|
|
11369
11510
|
recipient: string;
|
|
11370
11511
|
}>;
|
|
11371
|
-
contractAddress: import("
|
|
11512
|
+
contractAddress: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
11372
11513
|
}, "strip", z.ZodTypeAny, {
|
|
11373
11514
|
message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
|
|
11374
11515
|
contractAddress: AztecAddress;
|
|
@@ -11390,8 +11531,8 @@ export declare class AvmFastSimulationInputs {
|
|
|
11390
11531
|
nullifiers: Fr[];
|
|
11391
11532
|
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
11392
11533
|
}, {
|
|
11393
|
-
noteHashes:
|
|
11394
|
-
nullifiers:
|
|
11534
|
+
noteHashes: any[];
|
|
11535
|
+
nullifiers: any[];
|
|
11395
11536
|
l2ToL1Messages: {
|
|
11396
11537
|
message: {
|
|
11397
11538
|
content: string;
|
|
@@ -11401,8 +11542,8 @@ export declare class AvmFastSimulationInputs {
|
|
|
11401
11542
|
}[];
|
|
11402
11543
|
}>;
|
|
11403
11544
|
revertibleAccumulatedData: z.ZodObject<{
|
|
11404
|
-
noteHashes: z.ZodArray<
|
|
11405
|
-
nullifiers: z.ZodArray<
|
|
11545
|
+
noteHashes: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
11546
|
+
nullifiers: z.ZodArray<import("../schemas/schemas.js").ZodFor<Fr>, "many">;
|
|
11406
11547
|
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
11407
11548
|
message: z.ZodEffects<z.ZodObject<{
|
|
11408
11549
|
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
@@ -11417,7 +11558,7 @@ export declare class AvmFastSimulationInputs {
|
|
|
11417
11558
|
content: string;
|
|
11418
11559
|
recipient: string;
|
|
11419
11560
|
}>;
|
|
11420
|
-
contractAddress: import("
|
|
11561
|
+
contractAddress: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
11421
11562
|
}, "strip", z.ZodTypeAny, {
|
|
11422
11563
|
message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
|
|
11423
11564
|
contractAddress: AztecAddress;
|
|
@@ -11439,8 +11580,8 @@ export declare class AvmFastSimulationInputs {
|
|
|
11439
11580
|
nullifiers: Fr[];
|
|
11440
11581
|
l2ToL1Messages: ScopedL2ToL1Message[];
|
|
11441
11582
|
}, {
|
|
11442
|
-
noteHashes:
|
|
11443
|
-
nullifiers:
|
|
11583
|
+
noteHashes: any[];
|
|
11584
|
+
nullifiers: any[];
|
|
11444
11585
|
l2ToL1Messages: {
|
|
11445
11586
|
message: {
|
|
11446
11587
|
content: string;
|
|
@@ -11449,9 +11590,9 @@ export declare class AvmFastSimulationInputs {
|
|
|
11449
11590
|
contractAddress?: any;
|
|
11450
11591
|
}[];
|
|
11451
11592
|
}>;
|
|
11452
|
-
setupEnqueuedCalls: z.ZodArray<import("
|
|
11453
|
-
appLogicEnqueuedCalls: z.ZodArray<import("
|
|
11454
|
-
teardownEnqueuedCall: z.ZodNullable<import("
|
|
11593
|
+
setupEnqueuedCalls: z.ZodArray<import("../schemas/schemas.js").ZodFor<PublicCallRequestWithCalldata>, "many">;
|
|
11594
|
+
appLogicEnqueuedCalls: z.ZodArray<import("../schemas/schemas.js").ZodFor<PublicCallRequestWithCalldata>, "many">;
|
|
11595
|
+
teardownEnqueuedCall: z.ZodNullable<import("../schemas/schemas.js").ZodFor<PublicCallRequestWithCalldata>>;
|
|
11455
11596
|
gasUsedByPrivate: z.ZodEffects<z.ZodObject<{
|
|
11456
11597
|
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
11457
11598
|
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
@@ -11465,7 +11606,7 @@ export declare class AvmFastSimulationInputs {
|
|
|
11465
11606
|
daGas: string | number | bigint;
|
|
11466
11607
|
l2Gas: string | number | bigint;
|
|
11467
11608
|
}>;
|
|
11468
|
-
feePayer: import("
|
|
11609
|
+
feePayer: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
11469
11610
|
}, "strip", z.ZodTypeAny, {
|
|
11470
11611
|
hash: string;
|
|
11471
11612
|
gasSettings: GasSettings;
|
|
@@ -11508,8 +11649,8 @@ export declare class AvmFastSimulationInputs {
|
|
|
11508
11649
|
};
|
|
11509
11650
|
};
|
|
11510
11651
|
nonRevertibleAccumulatedData: {
|
|
11511
|
-
noteHashes:
|
|
11512
|
-
nullifiers:
|
|
11652
|
+
noteHashes: any[];
|
|
11653
|
+
nullifiers: any[];
|
|
11513
11654
|
l2ToL1Messages: {
|
|
11514
11655
|
message: {
|
|
11515
11656
|
content: string;
|
|
@@ -11519,8 +11660,8 @@ export declare class AvmFastSimulationInputs {
|
|
|
11519
11660
|
}[];
|
|
11520
11661
|
};
|
|
11521
11662
|
revertibleAccumulatedData: {
|
|
11522
|
-
noteHashes:
|
|
11523
|
-
nullifiers:
|
|
11663
|
+
noteHashes: any[];
|
|
11664
|
+
nullifiers: any[];
|
|
11524
11665
|
l2ToL1Messages: {
|
|
11525
11666
|
message: {
|
|
11526
11667
|
content: string;
|
|
@@ -11588,8 +11729,8 @@ export declare class AvmFastSimulationInputs {
|
|
|
11588
11729
|
};
|
|
11589
11730
|
};
|
|
11590
11731
|
nonRevertibleAccumulatedData: {
|
|
11591
|
-
noteHashes:
|
|
11592
|
-
nullifiers:
|
|
11732
|
+
noteHashes: any[];
|
|
11733
|
+
nullifiers: any[];
|
|
11593
11734
|
l2ToL1Messages: {
|
|
11594
11735
|
message: {
|
|
11595
11736
|
content: string;
|
|
@@ -11599,8 +11740,8 @@ export declare class AvmFastSimulationInputs {
|
|
|
11599
11740
|
}[];
|
|
11600
11741
|
};
|
|
11601
11742
|
revertibleAccumulatedData: {
|
|
11602
|
-
noteHashes:
|
|
11603
|
-
nullifiers:
|
|
11743
|
+
noteHashes: any[];
|
|
11744
|
+
nullifiers: any[];
|
|
11604
11745
|
l2ToL1Messages: {
|
|
11605
11746
|
message: {
|
|
11606
11747
|
content: string;
|
|
@@ -11649,13 +11790,13 @@ export declare class AvmFastSimulationInputs {
|
|
|
11649
11790
|
teardownEnqueuedCall?: any;
|
|
11650
11791
|
}>;
|
|
11651
11792
|
globalVariables: z.ZodEffects<z.ZodObject<{
|
|
11652
|
-
chainId: import("
|
|
11653
|
-
version: import("
|
|
11793
|
+
chainId: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
11794
|
+
version: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
11654
11795
|
blockNumber: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
11655
|
-
slotNumber: import("
|
|
11796
|
+
slotNumber: import("../schemas/schemas.js").ZodFor<Fr>;
|
|
11656
11797
|
timestamp: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
11657
|
-
coinbase: import("
|
|
11658
|
-
feeRecipient: import("
|
|
11798
|
+
coinbase: import("../schemas/schemas.js").ZodFor<import("@aztec/foundation/schemas").EthAddress>;
|
|
11799
|
+
feeRecipient: import("../schemas/schemas.js").ZodFor<AztecAddress>;
|
|
11659
11800
|
gasFees: z.ZodEffects<z.ZodObject<{
|
|
11660
11801
|
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
11661
11802
|
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
@@ -11704,7 +11845,7 @@ export declare class AvmFastSimulationInputs {
|
|
|
11704
11845
|
feeRecipient?: any;
|
|
11705
11846
|
}>;
|
|
11706
11847
|
protocolContracts: z.ZodEffects<z.ZodObject<{
|
|
11707
|
-
derivedAddresses: z.ZodArray<import("
|
|
11848
|
+
derivedAddresses: z.ZodArray<import("../schemas/schemas.js").ZodFor<AztecAddress>, "many">;
|
|
11708
11849
|
}, "strip", z.ZodTypeAny, {
|
|
11709
11850
|
derivedAddresses: AztecAddress[];
|
|
11710
11851
|
}, {
|
|
@@ -11755,8 +11896,8 @@ export declare class AvmFastSimulationInputs {
|
|
|
11755
11896
|
};
|
|
11756
11897
|
};
|
|
11757
11898
|
nonRevertibleAccumulatedData: {
|
|
11758
|
-
noteHashes:
|
|
11759
|
-
nullifiers:
|
|
11899
|
+
noteHashes: any[];
|
|
11900
|
+
nullifiers: any[];
|
|
11760
11901
|
l2ToL1Messages: {
|
|
11761
11902
|
message: {
|
|
11762
11903
|
content: string;
|
|
@@ -11766,8 +11907,8 @@ export declare class AvmFastSimulationInputs {
|
|
|
11766
11907
|
}[];
|
|
11767
11908
|
};
|
|
11768
11909
|
revertibleAccumulatedData: {
|
|
11769
|
-
noteHashes:
|
|
11770
|
-
nullifiers:
|
|
11910
|
+
noteHashes: any[];
|
|
11911
|
+
nullifiers: any[];
|
|
11771
11912
|
l2ToL1Messages: {
|
|
11772
11913
|
message: {
|
|
11773
11914
|
content: string;
|
|
@@ -11858,8 +11999,8 @@ export declare class AvmFastSimulationInputs {
|
|
|
11858
11999
|
};
|
|
11859
12000
|
};
|
|
11860
12001
|
nonRevertibleAccumulatedData: {
|
|
11861
|
-
noteHashes:
|
|
11862
|
-
nullifiers:
|
|
12002
|
+
noteHashes: any[];
|
|
12003
|
+
nullifiers: any[];
|
|
11863
12004
|
l2ToL1Messages: {
|
|
11864
12005
|
message: {
|
|
11865
12006
|
content: string;
|
|
@@ -11869,8 +12010,8 @@ export declare class AvmFastSimulationInputs {
|
|
|
11869
12010
|
}[];
|
|
11870
12011
|
};
|
|
11871
12012
|
revertibleAccumulatedData: {
|
|
11872
|
-
noteHashes:
|
|
11873
|
-
nullifiers:
|
|
12013
|
+
noteHashes: any[];
|
|
12014
|
+
nullifiers: any[];
|
|
11874
12015
|
l2ToL1Messages: {
|
|
11875
12016
|
message: {
|
|
11876
12017
|
content: string;
|