@aztec/stdlib 0.82.2 → 0.82.3-nightly.20250403
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 +4648 -1474
- package/dest/avm/avm.d.ts.map +1 -1
- package/dest/avm/avm.js +182 -109
- package/dest/avm/avm_proving_request.d.ts +1867 -498
- package/dest/avm/avm_proving_request.d.ts.map +1 -1
- package/dest/block/l2_block_downloader/l2_block_stream.d.ts +10 -12
- package/dest/block/l2_block_downloader/l2_block_stream.d.ts.map +1 -1
- package/dest/block/l2_block_downloader/l2_block_stream.js +45 -11
- package/dest/config/config.d.ts +2 -2
- package/dest/config/config.d.ts.map +1 -1
- package/dest/config/config.js +4 -5
- package/dest/contract/interfaces/node-info.d.ts +2 -2
- package/dest/contract/interfaces/node-info.d.ts.map +1 -1
- package/dest/contract/interfaces/node-info.js +1 -1
- package/dest/database-version/version_manager.d.ts +4 -2
- package/dest/database-version/version_manager.d.ts.map +1 -1
- package/dest/database-version/version_manager.js +13 -9
- package/dest/epoch-helpers/index.d.ts +2 -0
- package/dest/epoch-helpers/index.d.ts.map +1 -1
- package/dest/epoch-helpers/index.js +3 -0
- package/dest/file-store/factory.d.ts +7 -0
- package/dest/file-store/factory.d.ts.map +1 -0
- package/dest/file-store/factory.js +46 -0
- package/dest/file-store/gcs.d.ts +22 -0
- package/dest/file-store/gcs.d.ts.map +1 -0
- package/dest/file-store/gcs.js +115 -0
- package/dest/file-store/http.d.ts +15 -0
- package/dest/file-store/http.d.ts.map +1 -0
- package/dest/file-store/http.js +53 -0
- package/dest/file-store/index.d.ts +3 -0
- package/dest/file-store/index.d.ts.map +1 -0
- package/dest/file-store/index.js +2 -0
- package/dest/file-store/interface.d.ts +24 -0
- package/dest/file-store/interface.d.ts.map +1 -0
- package/dest/file-store/interface.js +1 -0
- package/dest/file-store/local.d.ts +16 -0
- package/dest/file-store/local.d.ts.map +1 -0
- package/dest/file-store/local.js +40 -0
- package/dest/interfaces/aztec-node-admin.d.ts +9 -1
- package/dest/interfaces/aztec-node-admin.d.ts.map +1 -1
- package/dest/interfaces/aztec-node-admin.js +2 -1
- package/dest/interfaces/aztec-node.d.ts +3 -0
- package/dest/interfaces/aztec-node.d.ts.map +1 -1
- package/dest/interfaces/aztec-node.js +2 -0
- package/dest/interfaces/p2p.d.ts +2 -0
- package/dest/interfaces/p2p.d.ts.map +1 -1
- package/dest/interfaces/p2p.js +2 -1
- package/dest/interfaces/prover-client.d.ts +3 -3
- package/dest/interfaces/prover-client.d.ts.map +1 -1
- package/dest/interfaces/prover-client.js +6 -4
- package/dest/interfaces/prover-node.d.ts +4 -0
- package/dest/interfaces/prover-node.d.ts.map +1 -1
- package/dest/interfaces/prover-node.js +5 -1
- package/dest/interfaces/proving-job.d.ts +1866 -497
- package/dest/interfaces/proving-job.d.ts.map +1 -1
- package/dest/interfaces/pxe.d.ts +7 -6
- package/dest/interfaces/pxe.d.ts.map +1 -1
- package/dest/interfaces/pxe.js +1 -1
- package/dest/interfaces/service.d.ts +3 -0
- package/dest/interfaces/service.d.ts.map +1 -1
- package/dest/interfaces/service.js +7 -0
- package/dest/interfaces/world_state.d.ts +13 -15
- package/dest/interfaces/world_state.d.ts.map +1 -1
- package/dest/keys/derivation.d.ts +1 -1
- package/dest/keys/derivation.d.ts.map +1 -1
- package/dest/keys/derivation.js +10 -2
- package/dest/logs/index.d.ts +2 -1
- package/dest/logs/index.d.ts.map +1 -1
- package/dest/logs/index.js +2 -1
- package/dest/logs/pending_tagged_log.d.ts +17 -0
- package/dest/logs/pending_tagged_log.d.ts.map +1 -0
- package/dest/logs/pending_tagged_log.js +45 -0
- package/dest/logs/{l1_payload/shared_secret_derivation.d.ts → shared_secret_derivation.d.ts} +4 -3
- package/dest/logs/shared_secret_derivation.d.ts.map +1 -0
- package/dest/logs/{l1_payload/shared_secret_derivation.js → shared_secret_derivation.js} +3 -5
- package/dest/logs/tx_scoped_l2_log.d.ts +6 -1
- package/dest/logs/tx_scoped_l2_log.d.ts.map +1 -1
- package/dest/logs/tx_scoped_l2_log.js +12 -4
- package/dest/note/note.d.ts +45 -4
- package/dest/note/note.d.ts.map +1 -1
- package/dest/note/note.js +51 -4
- package/dest/proofs/proof.d.ts.map +1 -1
- package/dest/proofs/proof.js +33 -7
- package/dest/snapshots/download.d.ts +9 -0
- package/dest/snapshots/download.d.ts.map +1 -0
- package/dest/snapshots/download.js +37 -0
- package/dest/snapshots/index.d.ts +4 -0
- package/dest/snapshots/index.d.ts.map +1 -0
- package/dest/snapshots/index.js +3 -0
- package/dest/snapshots/types.d.ts +97 -0
- package/dest/snapshots/types.d.ts.map +1 -0
- package/dest/snapshots/types.js +27 -0
- package/dest/snapshots/upload.d.ts +5 -0
- package/dest/snapshots/upload.d.ts.map +1 -0
- package/dest/snapshots/upload.js +37 -0
- package/dest/tests/factories.d.ts +21 -7
- package/dest/tests/factories.d.ts.map +1 -1
- package/dest/tests/factories.js +78 -30
- package/dest/tests/mocks.d.ts +2 -1
- package/dest/tests/mocks.d.ts.map +1 -1
- package/dest/tests/mocks.js +5 -1
- package/dest/trees/merkle_tree_id.d.ts +8 -0
- package/dest/trees/merkle_tree_id.d.ts.map +1 -1
- package/dest/trees/merkle_tree_id.js +10 -0
- package/dest/trees/nullifier_leaf.d.ts +49 -15
- package/dest/trees/nullifier_leaf.d.ts.map +1 -1
- package/dest/trees/nullifier_leaf.js +45 -22
- package/dest/trees/nullifier_membership_witness.d.ts +34 -18
- package/dest/trees/nullifier_membership_witness.d.ts.map +1 -1
- package/dest/trees/protocol_contract_leaf.d.ts +0 -1
- package/dest/trees/protocol_contract_leaf.d.ts.map +1 -1
- package/dest/trees/protocol_contract_leaf.js +0 -3
- package/dest/trees/public_data_leaf.d.ts +59 -25
- package/dest/trees/public_data_leaf.d.ts.map +1 -1
- package/dest/trees/public_data_leaf.js +41 -30
- package/dest/trees/public_data_witness.d.ts +42 -24
- package/dest/trees/public_data_witness.d.ts.map +1 -1
- package/dest/trees/public_data_witness.js +6 -6
- package/dest/validators/index.d.ts +3 -0
- package/dest/validators/index.d.ts.map +1 -0
- package/dest/validators/index.js +1 -0
- package/dest/validators/schemas.d.ts +342 -0
- package/dest/validators/schemas.d.ts.map +1 -0
- package/dest/validators/schemas.js +40 -0
- package/dest/validators/types.d.ts +39 -0
- package/dest/validators/types.d.ts.map +1 -0
- package/dest/validators/types.js +1 -0
- package/dest/versioning/versioning.d.ts +1 -1
- package/dest/versioning/versioning.d.ts.map +1 -1
- package/dest/versioning/versioning.js +6 -6
- package/package.json +11 -8
- package/src/avm/avm.ts +183 -104
- package/src/block/l2_block_downloader/l2_block_stream.ts +64 -29
- package/src/config/config.ts +6 -6
- package/src/contract/interfaces/node-info.ts +3 -3
- package/src/database-version/version_manager.ts +12 -8
- package/src/epoch-helpers/index.ts +8 -0
- package/src/file-store/factory.ts +61 -0
- package/src/file-store/gcs.ts +121 -0
- package/src/file-store/http.ts +58 -0
- package/src/file-store/index.ts +2 -0
- package/src/file-store/interface.ts +19 -0
- package/src/file-store/local.ts +46 -0
- package/src/interfaces/aztec-node-admin.ts +11 -1
- package/src/interfaces/aztec-node.ts +7 -0
- package/src/interfaces/p2p.ts +4 -0
- package/src/interfaces/prover-client.ts +9 -7
- package/src/interfaces/prover-node.ts +10 -0
- package/src/interfaces/pxe.ts +14 -7
- package/src/interfaces/service.ts +13 -0
- package/src/interfaces/world_state.ts +17 -15
- package/src/keys/derivation.ts +12 -6
- package/src/logs/index.ts +2 -1
- package/src/logs/pending_tagged_log.ts +43 -0
- package/src/logs/{l1_payload/shared_secret_derivation.ts → shared_secret_derivation.ts} +4 -11
- package/src/logs/tx_scoped_l2_log.ts +13 -4
- package/src/note/note.ts +61 -5
- package/src/proofs/proof.ts +39 -5
- package/src/snapshots/download.ts +60 -0
- package/src/snapshots/index.ts +3 -0
- package/src/snapshots/types.ts +58 -0
- package/src/snapshots/upload.ts +55 -0
- package/src/tests/factories.ts +137 -53
- package/src/tests/mocks.ts +7 -0
- package/src/trees/merkle_tree_id.ts +12 -0
- package/src/trees/nullifier_leaf.ts +48 -21
- package/src/trees/protocol_contract_leaf.ts +0 -4
- package/src/trees/public_data_leaf.ts +40 -29
- package/src/trees/public_data_witness.ts +6 -6
- package/src/validators/index.ts +3 -0
- package/src/validators/schemas.ts +53 -0
- package/src/validators/types.ts +37 -0
- package/src/versioning/versioning.ts +8 -14
- package/dest/event/event.d.ts +0 -24
- package/dest/event/event.d.ts.map +0 -1
- package/dest/event/event.js +0 -13
- package/dest/event/event_metadata.d.ts +0 -38
- package/dest/event/event_metadata.d.ts.map +0 -1
- package/dest/event/event_metadata.js +0 -45
- package/dest/event/index.d.ts +0 -4
- package/dest/event/index.d.ts.map +0 -1
- package/dest/event/index.js +0 -3
- package/dest/event/l1_event_payload.d.ts +0 -52
- package/dest/event/l1_event_payload.d.ts.map +0 -1
- package/dest/event/l1_event_payload.js +0 -64
- package/dest/logs/l1_payload/encrypted_log_payload.d.ts +0 -50
- package/dest/logs/l1_payload/encrypted_log_payload.d.ts.map +0 -1
- package/dest/logs/l1_payload/encrypted_log_payload.js +0 -140
- package/dest/logs/l1_payload/encryption_util.d.ts +0 -24
- package/dest/logs/l1_payload/encryption_util.d.ts.map +0 -1
- package/dest/logs/l1_payload/encryption_util.js +0 -46
- package/dest/logs/l1_payload/index.d.ts +0 -3
- package/dest/logs/l1_payload/index.d.ts.map +0 -1
- package/dest/logs/l1_payload/index.js +0 -2
- package/dest/logs/l1_payload/payload.d.ts +0 -60
- package/dest/logs/l1_payload/payload.d.ts.map +0 -1
- package/dest/logs/l1_payload/payload.js +0 -61
- package/dest/logs/l1_payload/shared_secret_derivation.d.ts.map +0 -1
- package/src/event/event.ts +0 -16
- package/src/event/event_metadata.ts +0 -56
- package/src/event/index.ts +0 -3
- package/src/event/l1_event_payload.ts +0 -87
- package/src/logs/l1_payload/encrypted_log_payload.ts +0 -202
- package/src/logs/l1_payload/encryption_util.ts +0 -54
- package/src/logs/l1_payload/index.ts +0 -2
- package/src/logs/l1_payload/payload.ts +0 -73
|
@@ -146,357 +146,1152 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
146
146
|
classId: string;
|
|
147
147
|
commitment: string;
|
|
148
148
|
}>, "many">;
|
|
149
|
-
|
|
149
|
+
getSiblingPathHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
150
|
+
hintKey: z.ZodEffects<z.ZodObject<{
|
|
151
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
152
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
153
|
+
}, "strip", z.ZodTypeAny, {
|
|
154
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
155
|
+
nextAvailableLeafIndex: number;
|
|
156
|
+
}, {
|
|
157
|
+
root: string;
|
|
158
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
159
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
160
|
+
root: string;
|
|
161
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
162
|
+
}>;
|
|
163
|
+
treeId: z.ZodNumber;
|
|
164
|
+
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
165
|
+
path: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
166
|
+
}, "strip", z.ZodTypeAny, {
|
|
167
|
+
path: import("@aztec/foundation/schemas").Fr[];
|
|
168
|
+
index: bigint;
|
|
169
|
+
hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
170
|
+
treeId: number;
|
|
171
|
+
}, {
|
|
172
|
+
path: string[];
|
|
173
|
+
index: string | number | bigint;
|
|
174
|
+
hintKey: {
|
|
175
|
+
root: string;
|
|
176
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
177
|
+
};
|
|
178
|
+
treeId: number;
|
|
179
|
+
}>, import("./avm.js").AvmGetSiblingPathHint, {
|
|
180
|
+
path: string[];
|
|
181
|
+
index: string | number | bigint;
|
|
182
|
+
hintKey: {
|
|
183
|
+
root: string;
|
|
184
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
185
|
+
};
|
|
186
|
+
treeId: number;
|
|
187
|
+
}>, "many">;
|
|
188
|
+
getPreviousValueIndexHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
189
|
+
hintKey: z.ZodEffects<z.ZodObject<{
|
|
190
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
191
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
192
|
+
}, "strip", z.ZodTypeAny, {
|
|
193
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
194
|
+
nextAvailableLeafIndex: number;
|
|
195
|
+
}, {
|
|
196
|
+
root: string;
|
|
197
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
198
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
199
|
+
root: string;
|
|
200
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
201
|
+
}>;
|
|
202
|
+
treeId: z.ZodNumber;
|
|
203
|
+
value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
204
|
+
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
205
|
+
alreadyPresent: z.ZodBoolean;
|
|
206
|
+
}, "strip", z.ZodTypeAny, {
|
|
207
|
+
value: import("@aztec/foundation/schemas").Fr;
|
|
208
|
+
index: bigint;
|
|
209
|
+
hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
210
|
+
treeId: number;
|
|
211
|
+
alreadyPresent: boolean;
|
|
212
|
+
}, {
|
|
213
|
+
value: string;
|
|
214
|
+
index: string | number | bigint;
|
|
215
|
+
hintKey: {
|
|
216
|
+
root: string;
|
|
217
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
218
|
+
};
|
|
219
|
+
treeId: number;
|
|
220
|
+
alreadyPresent: boolean;
|
|
221
|
+
}>, import("./avm.js").AvmGetPreviousValueIndexHint, {
|
|
222
|
+
value: string;
|
|
223
|
+
index: string | number | bigint;
|
|
224
|
+
hintKey: {
|
|
225
|
+
root: string;
|
|
226
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
227
|
+
};
|
|
228
|
+
treeId: number;
|
|
229
|
+
alreadyPresent: boolean;
|
|
230
|
+
}>, "many">;
|
|
231
|
+
getLeafPreimageHintsPublicDataTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
232
|
+
hintKey: z.ZodEffects<z.ZodObject<{
|
|
233
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
234
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
235
|
+
}, "strip", z.ZodTypeAny, {
|
|
236
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
237
|
+
nextAvailableLeafIndex: number;
|
|
238
|
+
}, {
|
|
239
|
+
root: string;
|
|
240
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
241
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
242
|
+
root: string;
|
|
243
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
244
|
+
}>;
|
|
245
|
+
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
150
246
|
leafPreimage: z.ZodEffects<z.ZodObject<{
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
247
|
+
leaf: z.ZodEffects<z.ZodObject<{
|
|
248
|
+
nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
249
|
+
}, "strip", z.ZodTypeAny, {
|
|
250
|
+
nullifier: import("@aztec/foundation/schemas").Fr;
|
|
251
|
+
}, {
|
|
252
|
+
nullifier: string;
|
|
253
|
+
}>, import("../trees/nullifier_leaf.js").NullifierLeaf, {
|
|
254
|
+
nullifier: string;
|
|
255
|
+
}>;
|
|
256
|
+
nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
154
257
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
155
258
|
}, "strip", z.ZodTypeAny, {
|
|
156
|
-
|
|
157
|
-
|
|
259
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeaf;
|
|
260
|
+
nextKey: import("@aztec/foundation/schemas").Fr;
|
|
158
261
|
nextIndex: bigint;
|
|
159
|
-
nextSlot: import("@aztec/foundation/schemas").Fr;
|
|
160
262
|
}, {
|
|
161
|
-
|
|
162
|
-
|
|
263
|
+
leaf: {
|
|
264
|
+
nullifier: string;
|
|
265
|
+
};
|
|
266
|
+
nextKey: string;
|
|
267
|
+
nextIndex: string | number | bigint;
|
|
268
|
+
}>, import("../trees/nullifier_leaf.js").NullifierLeafPreimage, {
|
|
269
|
+
leaf: {
|
|
270
|
+
nullifier: string;
|
|
271
|
+
};
|
|
272
|
+
nextKey: string;
|
|
273
|
+
nextIndex: string | number | bigint;
|
|
274
|
+
}> | z.ZodEffects<z.ZodObject<{
|
|
275
|
+
leaf: z.ZodEffects<z.ZodObject<{
|
|
276
|
+
slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
277
|
+
value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
278
|
+
}, "strip", z.ZodTypeAny, {
|
|
279
|
+
value: import("@aztec/foundation/schemas").Fr;
|
|
280
|
+
slot: import("@aztec/foundation/schemas").Fr;
|
|
281
|
+
}, {
|
|
282
|
+
value: string;
|
|
283
|
+
slot: string;
|
|
284
|
+
}>, import("../trees/public_data_leaf.js").PublicDataTreeLeaf, {
|
|
285
|
+
value: string;
|
|
286
|
+
slot: string;
|
|
287
|
+
}>;
|
|
288
|
+
nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
289
|
+
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
290
|
+
}, "strip", z.ZodTypeAny, {
|
|
291
|
+
leaf: import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
|
|
292
|
+
nextKey: import("@aztec/foundation/schemas").Fr;
|
|
293
|
+
nextIndex: bigint;
|
|
294
|
+
}, {
|
|
295
|
+
leaf: {
|
|
296
|
+
value: string;
|
|
297
|
+
slot: string;
|
|
298
|
+
};
|
|
299
|
+
nextKey: string;
|
|
163
300
|
nextIndex: string | number | bigint;
|
|
164
|
-
nextSlot: string;
|
|
165
301
|
}>, import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage, {
|
|
166
|
-
|
|
167
|
-
|
|
302
|
+
leaf: {
|
|
303
|
+
value: string;
|
|
304
|
+
slot: string;
|
|
305
|
+
};
|
|
306
|
+
nextKey: string;
|
|
168
307
|
nextIndex: string | number | bigint;
|
|
169
|
-
nextSlot: string;
|
|
170
308
|
}>;
|
|
171
|
-
leafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
172
|
-
siblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
173
309
|
}, "strip", z.ZodTypeAny, {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
leafPreimage: import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
310
|
+
index: bigint;
|
|
311
|
+
hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
312
|
+
leafPreimage: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
177
313
|
}, {
|
|
178
|
-
|
|
179
|
-
|
|
314
|
+
index: string | number | bigint;
|
|
315
|
+
hintKey: {
|
|
316
|
+
root: string;
|
|
317
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
318
|
+
};
|
|
180
319
|
leafPreimage: {
|
|
181
|
-
|
|
182
|
-
|
|
320
|
+
leaf: {
|
|
321
|
+
nullifier: string;
|
|
322
|
+
};
|
|
323
|
+
nextKey: string;
|
|
324
|
+
nextIndex: string | number | bigint;
|
|
325
|
+
} | {
|
|
326
|
+
leaf: {
|
|
327
|
+
value: string;
|
|
328
|
+
slot: string;
|
|
329
|
+
};
|
|
330
|
+
nextKey: string;
|
|
183
331
|
nextIndex: string | number | bigint;
|
|
184
|
-
nextSlot: string;
|
|
185
332
|
};
|
|
186
|
-
}>,
|
|
187
|
-
|
|
188
|
-
|
|
333
|
+
}>, {
|
|
334
|
+
readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
335
|
+
readonly index: bigint;
|
|
336
|
+
readonly leafPreimage: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
337
|
+
}, {
|
|
338
|
+
index: string | number | bigint;
|
|
339
|
+
hintKey: {
|
|
340
|
+
root: string;
|
|
341
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
342
|
+
};
|
|
189
343
|
leafPreimage: {
|
|
190
|
-
|
|
191
|
-
|
|
344
|
+
leaf: {
|
|
345
|
+
nullifier: string;
|
|
346
|
+
};
|
|
347
|
+
nextKey: string;
|
|
348
|
+
nextIndex: string | number | bigint;
|
|
349
|
+
} | {
|
|
350
|
+
leaf: {
|
|
351
|
+
value: string;
|
|
352
|
+
slot: string;
|
|
353
|
+
};
|
|
354
|
+
nextKey: string;
|
|
192
355
|
nextIndex: string | number | bigint;
|
|
193
|
-
nextSlot: string;
|
|
194
356
|
};
|
|
195
357
|
}>, "many">;
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
358
|
+
getLeafPreimageHintsNullifierTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
359
|
+
hintKey: z.ZodEffects<z.ZodObject<{
|
|
360
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
361
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
362
|
+
}, "strip", z.ZodTypeAny, {
|
|
363
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
364
|
+
nextAvailableLeafIndex: number;
|
|
365
|
+
}, {
|
|
366
|
+
root: string;
|
|
367
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
368
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
369
|
+
root: string;
|
|
370
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
371
|
+
}>;
|
|
372
|
+
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
373
|
+
leafPreimage: z.ZodEffects<z.ZodObject<{
|
|
374
|
+
leaf: z.ZodEffects<z.ZodObject<{
|
|
375
|
+
nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
376
|
+
}, "strip", z.ZodTypeAny, {
|
|
377
|
+
nullifier: import("@aztec/foundation/schemas").Fr;
|
|
378
|
+
}, {
|
|
379
|
+
nullifier: string;
|
|
380
|
+
}>, import("../trees/nullifier_leaf.js").NullifierLeaf, {
|
|
381
|
+
nullifier: string;
|
|
382
|
+
}>;
|
|
383
|
+
nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
384
|
+
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
385
|
+
}, "strip", z.ZodTypeAny, {
|
|
386
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeaf;
|
|
387
|
+
nextKey: import("@aztec/foundation/schemas").Fr;
|
|
388
|
+
nextIndex: bigint;
|
|
389
|
+
}, {
|
|
390
|
+
leaf: {
|
|
391
|
+
nullifier: string;
|
|
392
|
+
};
|
|
393
|
+
nextKey: string;
|
|
394
|
+
nextIndex: string | number | bigint;
|
|
395
|
+
}>, import("../trees/nullifier_leaf.js").NullifierLeafPreimage, {
|
|
396
|
+
leaf: {
|
|
397
|
+
nullifier: string;
|
|
398
|
+
};
|
|
399
|
+
nextKey: string;
|
|
400
|
+
nextIndex: string | number | bigint;
|
|
401
|
+
}> | z.ZodEffects<z.ZodObject<{
|
|
402
|
+
leaf: z.ZodEffects<z.ZodObject<{
|
|
199
403
|
slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
200
404
|
value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
201
|
-
nextSlot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
202
|
-
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
203
405
|
}, "strip", z.ZodTypeAny, {
|
|
204
406
|
value: import("@aztec/foundation/schemas").Fr;
|
|
205
407
|
slot: import("@aztec/foundation/schemas").Fr;
|
|
206
|
-
nextIndex: bigint;
|
|
207
|
-
nextSlot: import("@aztec/foundation/schemas").Fr;
|
|
208
408
|
}, {
|
|
209
409
|
value: string;
|
|
210
410
|
slot: string;
|
|
211
|
-
|
|
212
|
-
nextSlot: string;
|
|
213
|
-
}>, import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage, {
|
|
411
|
+
}>, import("../trees/public_data_leaf.js").PublicDataTreeLeaf, {
|
|
214
412
|
value: string;
|
|
215
413
|
slot: string;
|
|
216
|
-
nextIndex: string | number | bigint;
|
|
217
|
-
nextSlot: string;
|
|
218
414
|
}>;
|
|
219
|
-
|
|
220
|
-
|
|
415
|
+
nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
416
|
+
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
221
417
|
}, "strip", z.ZodTypeAny, {
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
418
|
+
leaf: import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
|
|
419
|
+
nextKey: import("@aztec/foundation/schemas").Fr;
|
|
420
|
+
nextIndex: bigint;
|
|
225
421
|
}, {
|
|
226
|
-
|
|
227
|
-
siblingPath: string[];
|
|
228
|
-
leafPreimage: {
|
|
422
|
+
leaf: {
|
|
229
423
|
value: string;
|
|
230
424
|
slot: string;
|
|
231
|
-
nextIndex: string | number | bigint;
|
|
232
|
-
nextSlot: string;
|
|
233
425
|
};
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
426
|
+
nextKey: string;
|
|
427
|
+
nextIndex: string | number | bigint;
|
|
428
|
+
}>, import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage, {
|
|
429
|
+
leaf: {
|
|
430
|
+
value: string;
|
|
431
|
+
slot: string;
|
|
432
|
+
};
|
|
433
|
+
nextKey: string;
|
|
434
|
+
nextIndex: string | number | bigint;
|
|
435
|
+
}>;
|
|
436
|
+
}, "strip", z.ZodTypeAny, {
|
|
437
|
+
index: bigint;
|
|
438
|
+
hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
439
|
+
leafPreimage: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
440
|
+
}, {
|
|
441
|
+
index: string | number | bigint;
|
|
442
|
+
hintKey: {
|
|
443
|
+
root: string;
|
|
444
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
445
|
+
};
|
|
446
|
+
leafPreimage: {
|
|
447
|
+
leaf: {
|
|
448
|
+
nullifier: string;
|
|
449
|
+
};
|
|
450
|
+
nextKey: string;
|
|
451
|
+
nextIndex: string | number | bigint;
|
|
452
|
+
} | {
|
|
453
|
+
leaf: {
|
|
454
|
+
value: string;
|
|
455
|
+
slot: string;
|
|
456
|
+
};
|
|
457
|
+
nextKey: string;
|
|
458
|
+
nextIndex: string | number | bigint;
|
|
459
|
+
};
|
|
460
|
+
}>, {
|
|
461
|
+
readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
462
|
+
readonly index: bigint;
|
|
463
|
+
readonly leafPreimage: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
464
|
+
}, {
|
|
465
|
+
index: string | number | bigint;
|
|
466
|
+
hintKey: {
|
|
467
|
+
root: string;
|
|
468
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
469
|
+
};
|
|
470
|
+
leafPreimage: {
|
|
471
|
+
leaf: {
|
|
472
|
+
nullifier: string;
|
|
473
|
+
};
|
|
474
|
+
nextKey: string;
|
|
475
|
+
nextIndex: string | number | bigint;
|
|
476
|
+
} | {
|
|
477
|
+
leaf: {
|
|
238
478
|
value: string;
|
|
239
479
|
slot: string;
|
|
240
|
-
nextIndex: string | number | bigint;
|
|
241
|
-
nextSlot: string;
|
|
242
480
|
};
|
|
481
|
+
nextKey: string;
|
|
482
|
+
nextIndex: string | number | bigint;
|
|
483
|
+
};
|
|
484
|
+
}>, "many">;
|
|
485
|
+
getLeafValueHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
486
|
+
hintKey: z.ZodEffects<z.ZodObject<{
|
|
487
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
488
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
489
|
+
}, "strip", z.ZodTypeAny, {
|
|
490
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
491
|
+
nextAvailableLeafIndex: number;
|
|
492
|
+
}, {
|
|
493
|
+
root: string;
|
|
494
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
495
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
496
|
+
root: string;
|
|
497
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
243
498
|
}>;
|
|
244
|
-
|
|
499
|
+
treeId: z.ZodNumber;
|
|
500
|
+
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
501
|
+
value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
502
|
+
}, "strip", z.ZodTypeAny, {
|
|
503
|
+
value: import("@aztec/foundation/schemas").Fr;
|
|
504
|
+
index: bigint;
|
|
505
|
+
hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
506
|
+
treeId: number;
|
|
507
|
+
}, {
|
|
508
|
+
value: string;
|
|
509
|
+
index: string | number | bigint;
|
|
510
|
+
hintKey: {
|
|
511
|
+
root: string;
|
|
512
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
513
|
+
};
|
|
514
|
+
treeId: number;
|
|
515
|
+
}>, import("./avm.js").AvmGetLeafValueHint, {
|
|
516
|
+
value: string;
|
|
517
|
+
index: string | number | bigint;
|
|
518
|
+
hintKey: {
|
|
519
|
+
root: string;
|
|
520
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
521
|
+
};
|
|
522
|
+
treeId: number;
|
|
523
|
+
}>, "many">;
|
|
524
|
+
sequentialInsertHintsPublicDataTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
525
|
+
hintKey: z.ZodEffects<z.ZodObject<{
|
|
526
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
527
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
528
|
+
}, "strip", z.ZodTypeAny, {
|
|
529
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
530
|
+
nextAvailableLeafIndex: number;
|
|
531
|
+
}, {
|
|
532
|
+
root: string;
|
|
533
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
534
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
535
|
+
root: string;
|
|
536
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
537
|
+
}>;
|
|
538
|
+
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
539
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
540
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
541
|
+
}, "strip", z.ZodTypeAny, {
|
|
542
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
543
|
+
nextAvailableLeafIndex: number;
|
|
544
|
+
}, {
|
|
545
|
+
root: string;
|
|
546
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
547
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
548
|
+
root: string;
|
|
549
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
550
|
+
}>;
|
|
551
|
+
treeId: z.ZodNumber;
|
|
552
|
+
leaf: z.ZodEffects<z.ZodObject<{
|
|
553
|
+
nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
554
|
+
}, "strip", z.ZodTypeAny, {
|
|
555
|
+
nullifier: import("@aztec/foundation/schemas").Fr;
|
|
556
|
+
}, {
|
|
557
|
+
nullifier: string;
|
|
558
|
+
}>, import("../trees/nullifier_leaf.js").NullifierLeaf, {
|
|
559
|
+
nullifier: string;
|
|
560
|
+
}> | z.ZodEffects<z.ZodObject<{
|
|
245
561
|
slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
246
562
|
value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
247
|
-
nextSlot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
248
|
-
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
249
563
|
}, "strip", z.ZodTypeAny, {
|
|
250
564
|
value: import("@aztec/foundation/schemas").Fr;
|
|
251
565
|
slot: import("@aztec/foundation/schemas").Fr;
|
|
252
|
-
nextIndex: bigint;
|
|
253
|
-
nextSlot: import("@aztec/foundation/schemas").Fr;
|
|
254
566
|
}, {
|
|
255
567
|
value: string;
|
|
256
568
|
slot: string;
|
|
257
|
-
|
|
258
|
-
nextSlot: string;
|
|
259
|
-
}>, import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage, {
|
|
569
|
+
}>, import("../trees/public_data_leaf.js").PublicDataTreeLeaf, {
|
|
260
570
|
value: string;
|
|
261
571
|
slot: string;
|
|
262
|
-
nextIndex: string | number | bigint;
|
|
263
|
-
nextSlot: string;
|
|
264
572
|
}>;
|
|
265
|
-
|
|
573
|
+
lowLeavesWitnessData: z.ZodObject<{
|
|
574
|
+
leaf: z.ZodEffects<z.ZodObject<{
|
|
575
|
+
leaf: z.ZodEffects<z.ZodObject<{
|
|
576
|
+
nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
577
|
+
}, "strip", z.ZodTypeAny, {
|
|
578
|
+
nullifier: import("@aztec/foundation/schemas").Fr;
|
|
579
|
+
}, {
|
|
580
|
+
nullifier: string;
|
|
581
|
+
}>, import("../trees/nullifier_leaf.js").NullifierLeaf, {
|
|
582
|
+
nullifier: string;
|
|
583
|
+
}>;
|
|
584
|
+
nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
585
|
+
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
586
|
+
}, "strip", z.ZodTypeAny, {
|
|
587
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeaf;
|
|
588
|
+
nextKey: import("@aztec/foundation/schemas").Fr;
|
|
589
|
+
nextIndex: bigint;
|
|
590
|
+
}, {
|
|
591
|
+
leaf: {
|
|
592
|
+
nullifier: string;
|
|
593
|
+
};
|
|
594
|
+
nextKey: string;
|
|
595
|
+
nextIndex: string | number | bigint;
|
|
596
|
+
}>, import("../trees/nullifier_leaf.js").NullifierLeafPreimage, {
|
|
597
|
+
leaf: {
|
|
598
|
+
nullifier: string;
|
|
599
|
+
};
|
|
600
|
+
nextKey: string;
|
|
601
|
+
nextIndex: string | number | bigint;
|
|
602
|
+
}> | z.ZodEffects<z.ZodObject<{
|
|
603
|
+
leaf: z.ZodEffects<z.ZodObject<{
|
|
604
|
+
slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
605
|
+
value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
606
|
+
}, "strip", z.ZodTypeAny, {
|
|
607
|
+
value: import("@aztec/foundation/schemas").Fr;
|
|
608
|
+
slot: import("@aztec/foundation/schemas").Fr;
|
|
609
|
+
}, {
|
|
610
|
+
value: string;
|
|
611
|
+
slot: string;
|
|
612
|
+
}>, import("../trees/public_data_leaf.js").PublicDataTreeLeaf, {
|
|
613
|
+
value: string;
|
|
614
|
+
slot: string;
|
|
615
|
+
}>;
|
|
616
|
+
nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
617
|
+
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
618
|
+
}, "strip", z.ZodTypeAny, {
|
|
619
|
+
leaf: import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
|
|
620
|
+
nextKey: import("@aztec/foundation/schemas").Fr;
|
|
621
|
+
nextIndex: bigint;
|
|
622
|
+
}, {
|
|
623
|
+
leaf: {
|
|
624
|
+
value: string;
|
|
625
|
+
slot: string;
|
|
626
|
+
};
|
|
627
|
+
nextKey: string;
|
|
628
|
+
nextIndex: string | number | bigint;
|
|
629
|
+
}>, import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage, {
|
|
630
|
+
leaf: {
|
|
631
|
+
value: string;
|
|
632
|
+
slot: string;
|
|
633
|
+
};
|
|
634
|
+
nextKey: string;
|
|
635
|
+
nextIndex: string | number | bigint;
|
|
636
|
+
}>;
|
|
637
|
+
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
638
|
+
path: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
639
|
+
}, "strip", z.ZodTypeAny, {
|
|
640
|
+
path: import("@aztec/foundation/schemas").Fr[];
|
|
641
|
+
index: bigint;
|
|
642
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
643
|
+
}, {
|
|
644
|
+
path: string[];
|
|
645
|
+
index: string | number | bigint;
|
|
646
|
+
leaf: {
|
|
647
|
+
leaf: {
|
|
648
|
+
nullifier: string;
|
|
649
|
+
};
|
|
650
|
+
nextKey: string;
|
|
651
|
+
nextIndex: string | number | bigint;
|
|
652
|
+
} | {
|
|
653
|
+
leaf: {
|
|
654
|
+
value: string;
|
|
655
|
+
slot: string;
|
|
656
|
+
};
|
|
657
|
+
nextKey: string;
|
|
658
|
+
nextIndex: string | number | bigint;
|
|
659
|
+
};
|
|
660
|
+
}>;
|
|
661
|
+
insertionWitnessData: z.ZodObject<{
|
|
662
|
+
leaf: z.ZodEffects<z.ZodObject<{
|
|
663
|
+
leaf: z.ZodEffects<z.ZodObject<{
|
|
664
|
+
nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
665
|
+
}, "strip", z.ZodTypeAny, {
|
|
666
|
+
nullifier: import("@aztec/foundation/schemas").Fr;
|
|
667
|
+
}, {
|
|
668
|
+
nullifier: string;
|
|
669
|
+
}>, import("../trees/nullifier_leaf.js").NullifierLeaf, {
|
|
670
|
+
nullifier: string;
|
|
671
|
+
}>;
|
|
672
|
+
nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
673
|
+
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
674
|
+
}, "strip", z.ZodTypeAny, {
|
|
675
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeaf;
|
|
676
|
+
nextKey: import("@aztec/foundation/schemas").Fr;
|
|
677
|
+
nextIndex: bigint;
|
|
678
|
+
}, {
|
|
679
|
+
leaf: {
|
|
680
|
+
nullifier: string;
|
|
681
|
+
};
|
|
682
|
+
nextKey: string;
|
|
683
|
+
nextIndex: string | number | bigint;
|
|
684
|
+
}>, import("../trees/nullifier_leaf.js").NullifierLeafPreimage, {
|
|
685
|
+
leaf: {
|
|
686
|
+
nullifier: string;
|
|
687
|
+
};
|
|
688
|
+
nextKey: string;
|
|
689
|
+
nextIndex: string | number | bigint;
|
|
690
|
+
}> | z.ZodEffects<z.ZodObject<{
|
|
691
|
+
leaf: z.ZodEffects<z.ZodObject<{
|
|
692
|
+
slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
693
|
+
value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
694
|
+
}, "strip", z.ZodTypeAny, {
|
|
695
|
+
value: import("@aztec/foundation/schemas").Fr;
|
|
696
|
+
slot: import("@aztec/foundation/schemas").Fr;
|
|
697
|
+
}, {
|
|
698
|
+
value: string;
|
|
699
|
+
slot: string;
|
|
700
|
+
}>, import("../trees/public_data_leaf.js").PublicDataTreeLeaf, {
|
|
701
|
+
value: string;
|
|
702
|
+
slot: string;
|
|
703
|
+
}>;
|
|
704
|
+
nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
705
|
+
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
706
|
+
}, "strip", z.ZodTypeAny, {
|
|
707
|
+
leaf: import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
|
|
708
|
+
nextKey: import("@aztec/foundation/schemas").Fr;
|
|
709
|
+
nextIndex: bigint;
|
|
710
|
+
}, {
|
|
711
|
+
leaf: {
|
|
712
|
+
value: string;
|
|
713
|
+
slot: string;
|
|
714
|
+
};
|
|
715
|
+
nextKey: string;
|
|
716
|
+
nextIndex: string | number | bigint;
|
|
717
|
+
}>, import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage, {
|
|
718
|
+
leaf: {
|
|
719
|
+
value: string;
|
|
720
|
+
slot: string;
|
|
721
|
+
};
|
|
722
|
+
nextKey: string;
|
|
723
|
+
nextIndex: string | number | bigint;
|
|
724
|
+
}>;
|
|
725
|
+
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
726
|
+
path: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
727
|
+
}, "strip", z.ZodTypeAny, {
|
|
728
|
+
path: import("@aztec/foundation/schemas").Fr[];
|
|
729
|
+
index: bigint;
|
|
730
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
731
|
+
}, {
|
|
732
|
+
path: string[];
|
|
733
|
+
index: string | number | bigint;
|
|
734
|
+
leaf: {
|
|
735
|
+
leaf: {
|
|
736
|
+
nullifier: string;
|
|
737
|
+
};
|
|
738
|
+
nextKey: string;
|
|
739
|
+
nextIndex: string | number | bigint;
|
|
740
|
+
} | {
|
|
741
|
+
leaf: {
|
|
742
|
+
value: string;
|
|
743
|
+
slot: string;
|
|
744
|
+
};
|
|
745
|
+
nextKey: string;
|
|
746
|
+
nextIndex: string | number | bigint;
|
|
747
|
+
};
|
|
748
|
+
}>;
|
|
266
749
|
}, "strip", z.ZodTypeAny, {
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
750
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeaf | import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
|
|
751
|
+
hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
752
|
+
treeId: number;
|
|
753
|
+
stateAfter: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
754
|
+
lowLeavesWitnessData: {
|
|
755
|
+
path: import("@aztec/foundation/schemas").Fr[];
|
|
756
|
+
index: bigint;
|
|
757
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
758
|
+
};
|
|
759
|
+
insertionWitnessData: {
|
|
760
|
+
path: import("@aztec/foundation/schemas").Fr[];
|
|
761
|
+
index: bigint;
|
|
762
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
763
|
+
};
|
|
270
764
|
}, {
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
765
|
+
leaf: {
|
|
766
|
+
nullifier: string;
|
|
767
|
+
} | {
|
|
768
|
+
value: string;
|
|
769
|
+
slot: string;
|
|
770
|
+
};
|
|
771
|
+
hintKey: {
|
|
772
|
+
root: string;
|
|
773
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
774
|
+
};
|
|
775
|
+
treeId: number;
|
|
776
|
+
stateAfter: {
|
|
777
|
+
root: string;
|
|
778
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
779
|
+
};
|
|
780
|
+
lowLeavesWitnessData: {
|
|
781
|
+
path: string[];
|
|
782
|
+
index: string | number | bigint;
|
|
783
|
+
leaf: {
|
|
784
|
+
leaf: {
|
|
785
|
+
nullifier: string;
|
|
786
|
+
};
|
|
787
|
+
nextKey: string;
|
|
788
|
+
nextIndex: string | number | bigint;
|
|
789
|
+
} | {
|
|
790
|
+
leaf: {
|
|
791
|
+
value: string;
|
|
792
|
+
slot: string;
|
|
793
|
+
};
|
|
794
|
+
nextKey: string;
|
|
795
|
+
nextIndex: string | number | bigint;
|
|
796
|
+
};
|
|
797
|
+
};
|
|
798
|
+
insertionWitnessData: {
|
|
799
|
+
path: string[];
|
|
800
|
+
index: string | number | bigint;
|
|
801
|
+
leaf: {
|
|
802
|
+
leaf: {
|
|
803
|
+
nullifier: string;
|
|
804
|
+
};
|
|
805
|
+
nextKey: string;
|
|
806
|
+
nextIndex: string | number | bigint;
|
|
807
|
+
} | {
|
|
808
|
+
leaf: {
|
|
809
|
+
value: string;
|
|
810
|
+
slot: string;
|
|
811
|
+
};
|
|
812
|
+
nextKey: string;
|
|
277
813
|
nextIndex: string | number | bigint;
|
|
278
|
-
nextSlot: string;
|
|
279
814
|
};
|
|
280
815
|
};
|
|
281
|
-
|
|
282
|
-
|
|
816
|
+
}>, {
|
|
817
|
+
readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
818
|
+
readonly stateAfter: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
819
|
+
readonly treeId: import("../trees/merkle_tree_id.js").MerkleTreeId;
|
|
820
|
+
readonly leaf: import("../trees/nullifier_leaf.js").NullifierLeaf | import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
|
|
821
|
+
readonly lowLeavesWitnessData: {
|
|
822
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
823
|
+
index: bigint;
|
|
824
|
+
path: import("@aztec/foundation/schemas").Fr[];
|
|
825
|
+
};
|
|
826
|
+
readonly insertionWitnessData: {
|
|
827
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
828
|
+
index: bigint;
|
|
829
|
+
path: import("@aztec/foundation/schemas").Fr[];
|
|
830
|
+
};
|
|
831
|
+
}, {
|
|
832
|
+
leaf: {
|
|
833
|
+
nullifier: string;
|
|
834
|
+
} | {
|
|
283
835
|
value: string;
|
|
284
836
|
slot: string;
|
|
285
|
-
nextIndex: string | number | bigint;
|
|
286
|
-
nextSlot: string;
|
|
287
837
|
};
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
838
|
+
hintKey: {
|
|
839
|
+
root: string;
|
|
840
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
841
|
+
};
|
|
842
|
+
treeId: number;
|
|
843
|
+
stateAfter: {
|
|
844
|
+
root: string;
|
|
845
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
846
|
+
};
|
|
847
|
+
lowLeavesWitnessData: {
|
|
848
|
+
path: string[];
|
|
849
|
+
index: string | number | bigint;
|
|
850
|
+
leaf: {
|
|
851
|
+
leaf: {
|
|
852
|
+
nullifier: string;
|
|
853
|
+
};
|
|
854
|
+
nextKey: string;
|
|
855
|
+
nextIndex: string | number | bigint;
|
|
856
|
+
} | {
|
|
857
|
+
leaf: {
|
|
858
|
+
value: string;
|
|
859
|
+
slot: string;
|
|
860
|
+
};
|
|
861
|
+
nextKey: string;
|
|
862
|
+
nextIndex: string | number | bigint;
|
|
863
|
+
};
|
|
864
|
+
};
|
|
865
|
+
insertionWitnessData: {
|
|
866
|
+
path: string[];
|
|
867
|
+
index: string | number | bigint;
|
|
868
|
+
leaf: {
|
|
869
|
+
leaf: {
|
|
870
|
+
nullifier: string;
|
|
871
|
+
};
|
|
872
|
+
nextKey: string;
|
|
873
|
+
nextIndex: string | number | bigint;
|
|
874
|
+
} | {
|
|
875
|
+
leaf: {
|
|
876
|
+
value: string;
|
|
877
|
+
slot: string;
|
|
878
|
+
};
|
|
879
|
+
nextKey: string;
|
|
880
|
+
nextIndex: string | number | bigint;
|
|
881
|
+
};
|
|
882
|
+
};
|
|
883
|
+
}>, "many">;
|
|
884
|
+
sequentialInsertHintsNullifierTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
885
|
+
hintKey: z.ZodEffects<z.ZodObject<{
|
|
886
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
887
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
888
|
+
}, "strip", z.ZodTypeAny, {
|
|
889
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
890
|
+
nextAvailableLeafIndex: number;
|
|
891
|
+
}, {
|
|
892
|
+
root: string;
|
|
893
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
894
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
895
|
+
root: string;
|
|
896
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
897
|
+
}>;
|
|
898
|
+
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
899
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
900
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
901
|
+
}, "strip", z.ZodTypeAny, {
|
|
902
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
903
|
+
nextAvailableLeafIndex: number;
|
|
904
|
+
}, {
|
|
905
|
+
root: string;
|
|
906
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
907
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
908
|
+
root: string;
|
|
909
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
910
|
+
}>;
|
|
911
|
+
treeId: z.ZodNumber;
|
|
912
|
+
leaf: z.ZodEffects<z.ZodObject<{
|
|
913
|
+
nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
914
|
+
}, "strip", z.ZodTypeAny, {
|
|
915
|
+
nullifier: import("@aztec/foundation/schemas").Fr;
|
|
916
|
+
}, {
|
|
917
|
+
nullifier: string;
|
|
918
|
+
}>, import("../trees/nullifier_leaf.js").NullifierLeaf, {
|
|
919
|
+
nullifier: string;
|
|
920
|
+
}> | z.ZodEffects<z.ZodObject<{
|
|
921
|
+
slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
922
|
+
value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
923
|
+
}, "strip", z.ZodTypeAny, {
|
|
924
|
+
value: import("@aztec/foundation/schemas").Fr;
|
|
925
|
+
slot: import("@aztec/foundation/schemas").Fr;
|
|
926
|
+
}, {
|
|
927
|
+
value: string;
|
|
928
|
+
slot: string;
|
|
929
|
+
}>, import("../trees/public_data_leaf.js").PublicDataTreeLeaf, {
|
|
930
|
+
value: string;
|
|
931
|
+
slot: string;
|
|
932
|
+
}>;
|
|
933
|
+
lowLeavesWitnessData: z.ZodObject<{
|
|
934
|
+
leaf: z.ZodEffects<z.ZodObject<{
|
|
935
|
+
leaf: z.ZodEffects<z.ZodObject<{
|
|
936
|
+
nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
937
|
+
}, "strip", z.ZodTypeAny, {
|
|
938
|
+
nullifier: import("@aztec/foundation/schemas").Fr;
|
|
939
|
+
}, {
|
|
940
|
+
nullifier: string;
|
|
941
|
+
}>, import("../trees/nullifier_leaf.js").NullifierLeaf, {
|
|
942
|
+
nullifier: string;
|
|
943
|
+
}>;
|
|
944
|
+
nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
945
|
+
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
946
|
+
}, "strip", z.ZodTypeAny, {
|
|
947
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeaf;
|
|
948
|
+
nextKey: import("@aztec/foundation/schemas").Fr;
|
|
949
|
+
nextIndex: bigint;
|
|
950
|
+
}, {
|
|
951
|
+
leaf: {
|
|
952
|
+
nullifier: string;
|
|
953
|
+
};
|
|
954
|
+
nextKey: string;
|
|
955
|
+
nextIndex: string | number | bigint;
|
|
956
|
+
}>, import("../trees/nullifier_leaf.js").NullifierLeafPreimage, {
|
|
957
|
+
leaf: {
|
|
958
|
+
nullifier: string;
|
|
959
|
+
};
|
|
960
|
+
nextKey: string;
|
|
961
|
+
nextIndex: string | number | bigint;
|
|
962
|
+
}> | z.ZodEffects<z.ZodObject<{
|
|
963
|
+
leaf: z.ZodEffects<z.ZodObject<{
|
|
964
|
+
slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
965
|
+
value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
966
|
+
}, "strip", z.ZodTypeAny, {
|
|
967
|
+
value: import("@aztec/foundation/schemas").Fr;
|
|
968
|
+
slot: import("@aztec/foundation/schemas").Fr;
|
|
969
|
+
}, {
|
|
970
|
+
value: string;
|
|
971
|
+
slot: string;
|
|
972
|
+
}>, import("../trees/public_data_leaf.js").PublicDataTreeLeaf, {
|
|
973
|
+
value: string;
|
|
974
|
+
slot: string;
|
|
975
|
+
}>;
|
|
976
|
+
nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
977
|
+
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
978
|
+
}, "strip", z.ZodTypeAny, {
|
|
979
|
+
leaf: import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
|
|
980
|
+
nextKey: import("@aztec/foundation/schemas").Fr;
|
|
981
|
+
nextIndex: bigint;
|
|
982
|
+
}, {
|
|
983
|
+
leaf: {
|
|
984
|
+
value: string;
|
|
985
|
+
slot: string;
|
|
986
|
+
};
|
|
987
|
+
nextKey: string;
|
|
295
988
|
nextIndex: string | number | bigint;
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
}>, "many">;
|
|
307
|
-
nullifierReads: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
308
|
-
lowLeafPreimage: z.ZodEffects<z.ZodObject<{
|
|
309
|
-
nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
310
|
-
nextNullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
311
|
-
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
989
|
+
}>, import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage, {
|
|
990
|
+
leaf: {
|
|
991
|
+
value: string;
|
|
992
|
+
slot: string;
|
|
993
|
+
};
|
|
994
|
+
nextKey: string;
|
|
995
|
+
nextIndex: string | number | bigint;
|
|
996
|
+
}>;
|
|
997
|
+
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
998
|
+
path: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
312
999
|
}, "strip", z.ZodTypeAny, {
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
1000
|
+
path: import("@aztec/foundation/schemas").Fr[];
|
|
1001
|
+
index: bigint;
|
|
1002
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
316
1003
|
}, {
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
1004
|
+
path: string[];
|
|
1005
|
+
index: string | number | bigint;
|
|
1006
|
+
leaf: {
|
|
1007
|
+
leaf: {
|
|
1008
|
+
nullifier: string;
|
|
1009
|
+
};
|
|
1010
|
+
nextKey: string;
|
|
1011
|
+
nextIndex: string | number | bigint;
|
|
1012
|
+
} | {
|
|
1013
|
+
leaf: {
|
|
1014
|
+
value: string;
|
|
1015
|
+
slot: string;
|
|
1016
|
+
};
|
|
1017
|
+
nextKey: string;
|
|
1018
|
+
nextIndex: string | number | bigint;
|
|
1019
|
+
};
|
|
324
1020
|
}>;
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
lowLeafIndex: string;
|
|
338
|
-
lowLeafSiblingPath: string[];
|
|
339
|
-
}>, import("./avm.js").AvmNullifierReadTreeHint, {
|
|
340
|
-
lowLeafPreimage: {
|
|
341
|
-
nullifier: string;
|
|
342
|
-
nextNullifier: string;
|
|
343
|
-
nextIndex: string | number | bigint;
|
|
344
|
-
};
|
|
345
|
-
lowLeafIndex: string;
|
|
346
|
-
lowLeafSiblingPath: string[];
|
|
347
|
-
}>, "many">;
|
|
348
|
-
nullifierWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
349
|
-
lowLeafRead: z.ZodEffects<z.ZodObject<{
|
|
350
|
-
lowLeafPreimage: z.ZodEffects<z.ZodObject<{
|
|
351
|
-
nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
352
|
-
nextNullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
1021
|
+
insertionWitnessData: z.ZodObject<{
|
|
1022
|
+
leaf: z.ZodEffects<z.ZodObject<{
|
|
1023
|
+
leaf: z.ZodEffects<z.ZodObject<{
|
|
1024
|
+
nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
1025
|
+
}, "strip", z.ZodTypeAny, {
|
|
1026
|
+
nullifier: import("@aztec/foundation/schemas").Fr;
|
|
1027
|
+
}, {
|
|
1028
|
+
nullifier: string;
|
|
1029
|
+
}>, import("../trees/nullifier_leaf.js").NullifierLeaf, {
|
|
1030
|
+
nullifier: string;
|
|
1031
|
+
}>;
|
|
1032
|
+
nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
353
1033
|
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
354
1034
|
}, "strip", z.ZodTypeAny, {
|
|
355
|
-
|
|
356
|
-
|
|
1035
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeaf;
|
|
1036
|
+
nextKey: import("@aztec/foundation/schemas").Fr;
|
|
357
1037
|
nextIndex: bigint;
|
|
358
1038
|
}, {
|
|
359
|
-
|
|
360
|
-
|
|
1039
|
+
leaf: {
|
|
1040
|
+
nullifier: string;
|
|
1041
|
+
};
|
|
1042
|
+
nextKey: string;
|
|
361
1043
|
nextIndex: string | number | bigint;
|
|
362
1044
|
}>, import("../trees/nullifier_leaf.js").NullifierLeafPreimage, {
|
|
363
|
-
|
|
364
|
-
|
|
1045
|
+
leaf: {
|
|
1046
|
+
nullifier: string;
|
|
1047
|
+
};
|
|
1048
|
+
nextKey: string;
|
|
1049
|
+
nextIndex: string | number | bigint;
|
|
1050
|
+
}> | z.ZodEffects<z.ZodObject<{
|
|
1051
|
+
leaf: z.ZodEffects<z.ZodObject<{
|
|
1052
|
+
slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
1053
|
+
value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
1054
|
+
}, "strip", z.ZodTypeAny, {
|
|
1055
|
+
value: import("@aztec/foundation/schemas").Fr;
|
|
1056
|
+
slot: import("@aztec/foundation/schemas").Fr;
|
|
1057
|
+
}, {
|
|
1058
|
+
value: string;
|
|
1059
|
+
slot: string;
|
|
1060
|
+
}>, import("../trees/public_data_leaf.js").PublicDataTreeLeaf, {
|
|
1061
|
+
value: string;
|
|
1062
|
+
slot: string;
|
|
1063
|
+
}>;
|
|
1064
|
+
nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
1065
|
+
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
1066
|
+
}, "strip", z.ZodTypeAny, {
|
|
1067
|
+
leaf: import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
|
|
1068
|
+
nextKey: import("@aztec/foundation/schemas").Fr;
|
|
1069
|
+
nextIndex: bigint;
|
|
1070
|
+
}, {
|
|
1071
|
+
leaf: {
|
|
1072
|
+
value: string;
|
|
1073
|
+
slot: string;
|
|
1074
|
+
};
|
|
1075
|
+
nextKey: string;
|
|
1076
|
+
nextIndex: string | number | bigint;
|
|
1077
|
+
}>, import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage, {
|
|
1078
|
+
leaf: {
|
|
1079
|
+
value: string;
|
|
1080
|
+
slot: string;
|
|
1081
|
+
};
|
|
1082
|
+
nextKey: string;
|
|
365
1083
|
nextIndex: string | number | bigint;
|
|
366
1084
|
}>;
|
|
367
|
-
|
|
368
|
-
|
|
1085
|
+
index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
1086
|
+
path: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
369
1087
|
}, "strip", z.ZodTypeAny, {
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
1088
|
+
path: import("@aztec/foundation/schemas").Fr[];
|
|
1089
|
+
index: bigint;
|
|
1090
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
373
1091
|
}, {
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
1092
|
+
path: string[];
|
|
1093
|
+
index: string | number | bigint;
|
|
1094
|
+
leaf: {
|
|
1095
|
+
leaf: {
|
|
1096
|
+
nullifier: string;
|
|
1097
|
+
};
|
|
1098
|
+
nextKey: string;
|
|
377
1099
|
nextIndex: string | number | bigint;
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
nextNullifier: string;
|
|
1100
|
+
} | {
|
|
1101
|
+
leaf: {
|
|
1102
|
+
value: string;
|
|
1103
|
+
slot: string;
|
|
1104
|
+
};
|
|
1105
|
+
nextKey: string;
|
|
385
1106
|
nextIndex: string | number | bigint;
|
|
386
1107
|
};
|
|
387
|
-
lowLeafIndex: string;
|
|
388
|
-
lowLeafSiblingPath: string[];
|
|
389
1108
|
}>;
|
|
390
|
-
insertionPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
391
1109
|
}, "strip", z.ZodTypeAny, {
|
|
392
|
-
|
|
393
|
-
|
|
1110
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeaf | import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
|
|
1111
|
+
hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1112
|
+
treeId: number;
|
|
1113
|
+
stateAfter: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1114
|
+
lowLeavesWitnessData: {
|
|
1115
|
+
path: import("@aztec/foundation/schemas").Fr[];
|
|
1116
|
+
index: bigint;
|
|
1117
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1118
|
+
};
|
|
1119
|
+
insertionWitnessData: {
|
|
1120
|
+
path: import("@aztec/foundation/schemas").Fr[];
|
|
1121
|
+
index: bigint;
|
|
1122
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1123
|
+
};
|
|
394
1124
|
}, {
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
1125
|
+
leaf: {
|
|
1126
|
+
nullifier: string;
|
|
1127
|
+
} | {
|
|
1128
|
+
value: string;
|
|
1129
|
+
slot: string;
|
|
1130
|
+
};
|
|
1131
|
+
hintKey: {
|
|
1132
|
+
root: string;
|
|
1133
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1134
|
+
};
|
|
1135
|
+
treeId: number;
|
|
1136
|
+
stateAfter: {
|
|
1137
|
+
root: string;
|
|
1138
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1139
|
+
};
|
|
1140
|
+
lowLeavesWitnessData: {
|
|
1141
|
+
path: string[];
|
|
1142
|
+
index: string | number | bigint;
|
|
1143
|
+
leaf: {
|
|
1144
|
+
leaf: {
|
|
1145
|
+
nullifier: string;
|
|
1146
|
+
};
|
|
1147
|
+
nextKey: string;
|
|
1148
|
+
nextIndex: string | number | bigint;
|
|
1149
|
+
} | {
|
|
1150
|
+
leaf: {
|
|
1151
|
+
value: string;
|
|
1152
|
+
slot: string;
|
|
1153
|
+
};
|
|
1154
|
+
nextKey: string;
|
|
399
1155
|
nextIndex: string | number | bigint;
|
|
400
1156
|
};
|
|
401
|
-
lowLeafIndex: string;
|
|
402
|
-
lowLeafSiblingPath: string[];
|
|
403
1157
|
};
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
1158
|
+
insertionWitnessData: {
|
|
1159
|
+
path: string[];
|
|
1160
|
+
index: string | number | bigint;
|
|
1161
|
+
leaf: {
|
|
1162
|
+
leaf: {
|
|
1163
|
+
nullifier: string;
|
|
1164
|
+
};
|
|
1165
|
+
nextKey: string;
|
|
1166
|
+
nextIndex: string | number | bigint;
|
|
1167
|
+
} | {
|
|
1168
|
+
leaf: {
|
|
1169
|
+
value: string;
|
|
1170
|
+
slot: string;
|
|
1171
|
+
};
|
|
1172
|
+
nextKey: string;
|
|
410
1173
|
nextIndex: string | number | bigint;
|
|
411
1174
|
};
|
|
412
|
-
lowLeafIndex: string;
|
|
413
|
-
lowLeafSiblingPath: string[];
|
|
414
1175
|
};
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
value: string;
|
|
431
|
-
leafIndex: string;
|
|
432
|
-
siblingPath: string[];
|
|
433
|
-
}>, "many">;
|
|
434
|
-
noteHashWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
435
|
-
leafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
436
|
-
value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
437
|
-
siblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
438
|
-
}, "strip", z.ZodTypeAny, {
|
|
439
|
-
value: import("@aztec/foundation/schemas").Fr;
|
|
440
|
-
leafIndex: import("@aztec/foundation/schemas").Fr;
|
|
441
|
-
siblingPath: import("@aztec/foundation/schemas").Fr[];
|
|
442
|
-
}, {
|
|
443
|
-
value: string;
|
|
444
|
-
leafIndex: string;
|
|
445
|
-
siblingPath: string[];
|
|
446
|
-
}>, import("./avm.js").AvmAppendTreeHint, {
|
|
447
|
-
value: string;
|
|
448
|
-
leafIndex: string;
|
|
449
|
-
siblingPath: string[];
|
|
450
|
-
}>, "many">;
|
|
451
|
-
l1ToL2MessageReads: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
452
|
-
leafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
453
|
-
value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
454
|
-
siblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
455
|
-
}, "strip", z.ZodTypeAny, {
|
|
456
|
-
value: import("@aztec/foundation/schemas").Fr;
|
|
457
|
-
leafIndex: import("@aztec/foundation/schemas").Fr;
|
|
458
|
-
siblingPath: import("@aztec/foundation/schemas").Fr[];
|
|
1176
|
+
}>, {
|
|
1177
|
+
readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1178
|
+
readonly stateAfter: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1179
|
+
readonly treeId: import("../trees/merkle_tree_id.js").MerkleTreeId;
|
|
1180
|
+
readonly leaf: import("../trees/nullifier_leaf.js").NullifierLeaf | import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
|
|
1181
|
+
readonly lowLeavesWitnessData: {
|
|
1182
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1183
|
+
index: bigint;
|
|
1184
|
+
path: import("@aztec/foundation/schemas").Fr[];
|
|
1185
|
+
};
|
|
1186
|
+
readonly insertionWitnessData: {
|
|
1187
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1188
|
+
index: bigint;
|
|
1189
|
+
path: import("@aztec/foundation/schemas").Fr[];
|
|
1190
|
+
};
|
|
459
1191
|
}, {
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
1192
|
+
leaf: {
|
|
1193
|
+
nullifier: string;
|
|
1194
|
+
} | {
|
|
1195
|
+
value: string;
|
|
1196
|
+
slot: string;
|
|
1197
|
+
};
|
|
1198
|
+
hintKey: {
|
|
1199
|
+
root: string;
|
|
1200
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1201
|
+
};
|
|
1202
|
+
treeId: number;
|
|
1203
|
+
stateAfter: {
|
|
1204
|
+
root: string;
|
|
1205
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1206
|
+
};
|
|
1207
|
+
lowLeavesWitnessData: {
|
|
1208
|
+
path: string[];
|
|
1209
|
+
index: string | number | bigint;
|
|
1210
|
+
leaf: {
|
|
1211
|
+
leaf: {
|
|
1212
|
+
nullifier: string;
|
|
1213
|
+
};
|
|
1214
|
+
nextKey: string;
|
|
1215
|
+
nextIndex: string | number | bigint;
|
|
1216
|
+
} | {
|
|
1217
|
+
leaf: {
|
|
1218
|
+
value: string;
|
|
1219
|
+
slot: string;
|
|
1220
|
+
};
|
|
1221
|
+
nextKey: string;
|
|
1222
|
+
nextIndex: string | number | bigint;
|
|
1223
|
+
};
|
|
1224
|
+
};
|
|
1225
|
+
insertionWitnessData: {
|
|
1226
|
+
path: string[];
|
|
1227
|
+
index: string | number | bigint;
|
|
1228
|
+
leaf: {
|
|
1229
|
+
leaf: {
|
|
1230
|
+
nullifier: string;
|
|
1231
|
+
};
|
|
1232
|
+
nextKey: string;
|
|
1233
|
+
nextIndex: string | number | bigint;
|
|
1234
|
+
} | {
|
|
1235
|
+
leaf: {
|
|
1236
|
+
value: string;
|
|
1237
|
+
slot: string;
|
|
1238
|
+
};
|
|
1239
|
+
nextKey: string;
|
|
1240
|
+
nextIndex: string | number | bigint;
|
|
1241
|
+
};
|
|
1242
|
+
};
|
|
467
1243
|
}>, "many">;
|
|
468
1244
|
}, "strip", z.ZodTypeAny, {
|
|
469
|
-
publicDataWrites: import("./avm.js").AvmPublicDataWriteTreeHint[];
|
|
470
1245
|
enqueuedCalls: import("./avm.js").AvmEnqueuedCallHint[];
|
|
471
1246
|
contractInstances: import("./avm.js").AvmContractInstanceHint[];
|
|
472
1247
|
contractClasses: import("./avm.js").AvmContractClassHint[];
|
|
473
1248
|
bytecodeCommitments: import("./avm.js").AvmBytecodeCommitmentHint[];
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
1249
|
+
getSiblingPathHints: import("./avm.js").AvmGetSiblingPathHint[];
|
|
1250
|
+
getPreviousValueIndexHints: import("./avm.js").AvmGetPreviousValueIndexHint[];
|
|
1251
|
+
getLeafPreimageHintsPublicDataTree: {
|
|
1252
|
+
readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1253
|
+
readonly index: bigint;
|
|
1254
|
+
readonly leafPreimage: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1255
|
+
}[];
|
|
1256
|
+
getLeafPreimageHintsNullifierTree: {
|
|
1257
|
+
readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1258
|
+
readonly index: bigint;
|
|
1259
|
+
readonly leafPreimage: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1260
|
+
}[];
|
|
1261
|
+
getLeafValueHints: import("./avm.js").AvmGetLeafValueHint[];
|
|
1262
|
+
sequentialInsertHintsPublicDataTree: {
|
|
1263
|
+
readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1264
|
+
readonly stateAfter: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1265
|
+
readonly treeId: import("../trees/merkle_tree_id.js").MerkleTreeId;
|
|
1266
|
+
readonly leaf: import("../trees/nullifier_leaf.js").NullifierLeaf | import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
|
|
1267
|
+
readonly lowLeavesWitnessData: {
|
|
1268
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1269
|
+
index: bigint;
|
|
1270
|
+
path: import("@aztec/foundation/schemas").Fr[];
|
|
1271
|
+
};
|
|
1272
|
+
readonly insertionWitnessData: {
|
|
1273
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1274
|
+
index: bigint;
|
|
1275
|
+
path: import("@aztec/foundation/schemas").Fr[];
|
|
1276
|
+
};
|
|
1277
|
+
}[];
|
|
1278
|
+
sequentialInsertHintsNullifierTree: {
|
|
1279
|
+
readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1280
|
+
readonly stateAfter: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1281
|
+
readonly treeId: import("../trees/merkle_tree_id.js").MerkleTreeId;
|
|
1282
|
+
readonly leaf: import("../trees/nullifier_leaf.js").NullifierLeaf | import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
|
|
1283
|
+
readonly lowLeavesWitnessData: {
|
|
1284
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1285
|
+
index: bigint;
|
|
1286
|
+
path: import("@aztec/foundation/schemas").Fr[];
|
|
1287
|
+
};
|
|
1288
|
+
readonly insertionWitnessData: {
|
|
1289
|
+
leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
1290
|
+
index: bigint;
|
|
1291
|
+
path: import("@aztec/foundation/schemas").Fr[];
|
|
498
1292
|
};
|
|
499
1293
|
}[];
|
|
1294
|
+
}, {
|
|
500
1295
|
enqueuedCalls: {
|
|
501
1296
|
isStaticCall: boolean;
|
|
502
1297
|
calldata: string[];
|
|
@@ -530,72 +1325,183 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
530
1325
|
classId: string;
|
|
531
1326
|
commitment: string;
|
|
532
1327
|
}[];
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
nextIndex: string | number | bigint;
|
|
540
|
-
nextSlot: string;
|
|
1328
|
+
getSiblingPathHints: {
|
|
1329
|
+
path: string[];
|
|
1330
|
+
index: string | number | bigint;
|
|
1331
|
+
hintKey: {
|
|
1332
|
+
root: string;
|
|
1333
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
541
1334
|
};
|
|
1335
|
+
treeId: number;
|
|
542
1336
|
}[];
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
1337
|
+
getPreviousValueIndexHints: {
|
|
1338
|
+
value: string;
|
|
1339
|
+
index: string | number | bigint;
|
|
1340
|
+
hintKey: {
|
|
1341
|
+
root: string;
|
|
1342
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
548
1343
|
};
|
|
549
|
-
|
|
550
|
-
|
|
1344
|
+
treeId: number;
|
|
1345
|
+
alreadyPresent: boolean;
|
|
551
1346
|
}[];
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
1347
|
+
getLeafPreimageHintsPublicDataTree: {
|
|
1348
|
+
index: string | number | bigint;
|
|
1349
|
+
hintKey: {
|
|
1350
|
+
root: string;
|
|
1351
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1352
|
+
};
|
|
1353
|
+
leafPreimage: {
|
|
1354
|
+
leaf: {
|
|
555
1355
|
nullifier: string;
|
|
556
|
-
nextNullifier: string;
|
|
557
|
-
nextIndex: string | number | bigint;
|
|
558
1356
|
};
|
|
559
|
-
|
|
560
|
-
|
|
1357
|
+
nextKey: string;
|
|
1358
|
+
nextIndex: string | number | bigint;
|
|
1359
|
+
} | {
|
|
1360
|
+
leaf: {
|
|
1361
|
+
value: string;
|
|
1362
|
+
slot: string;
|
|
1363
|
+
};
|
|
1364
|
+
nextKey: string;
|
|
1365
|
+
nextIndex: string | number | bigint;
|
|
561
1366
|
};
|
|
562
|
-
insertionPath: string[];
|
|
563
1367
|
}[];
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
1368
|
+
getLeafPreimageHintsNullifierTree: {
|
|
1369
|
+
index: string | number | bigint;
|
|
1370
|
+
hintKey: {
|
|
1371
|
+
root: string;
|
|
1372
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1373
|
+
};
|
|
1374
|
+
leafPreimage: {
|
|
1375
|
+
leaf: {
|
|
1376
|
+
nullifier: string;
|
|
1377
|
+
};
|
|
1378
|
+
nextKey: string;
|
|
1379
|
+
nextIndex: string | number | bigint;
|
|
1380
|
+
} | {
|
|
1381
|
+
leaf: {
|
|
1382
|
+
value: string;
|
|
1383
|
+
slot: string;
|
|
1384
|
+
};
|
|
1385
|
+
nextKey: string;
|
|
1386
|
+
nextIndex: string | number | bigint;
|
|
1387
|
+
};
|
|
573
1388
|
}[];
|
|
574
|
-
|
|
1389
|
+
getLeafValueHints: {
|
|
575
1390
|
value: string;
|
|
576
|
-
|
|
577
|
-
|
|
1391
|
+
index: string | number | bigint;
|
|
1392
|
+
hintKey: {
|
|
1393
|
+
root: string;
|
|
1394
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1395
|
+
};
|
|
1396
|
+
treeId: number;
|
|
578
1397
|
}[];
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
1398
|
+
sequentialInsertHintsPublicDataTree: {
|
|
1399
|
+
leaf: {
|
|
1400
|
+
nullifier: string;
|
|
1401
|
+
} | {
|
|
1402
|
+
value: string;
|
|
1403
|
+
slot: string;
|
|
1404
|
+
};
|
|
1405
|
+
hintKey: {
|
|
1406
|
+
root: string;
|
|
1407
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1408
|
+
};
|
|
1409
|
+
treeId: number;
|
|
1410
|
+
stateAfter: {
|
|
1411
|
+
root: string;
|
|
1412
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1413
|
+
};
|
|
1414
|
+
lowLeavesWitnessData: {
|
|
1415
|
+
path: string[];
|
|
1416
|
+
index: string | number | bigint;
|
|
1417
|
+
leaf: {
|
|
1418
|
+
leaf: {
|
|
1419
|
+
nullifier: string;
|
|
1420
|
+
};
|
|
1421
|
+
nextKey: string;
|
|
1422
|
+
nextIndex: string | number | bigint;
|
|
1423
|
+
} | {
|
|
1424
|
+
leaf: {
|
|
1425
|
+
value: string;
|
|
1426
|
+
slot: string;
|
|
1427
|
+
};
|
|
1428
|
+
nextKey: string;
|
|
1429
|
+
nextIndex: string | number | bigint;
|
|
1430
|
+
};
|
|
1431
|
+
};
|
|
1432
|
+
insertionWitnessData: {
|
|
1433
|
+
path: string[];
|
|
1434
|
+
index: string | number | bigint;
|
|
1435
|
+
leaf: {
|
|
1436
|
+
leaf: {
|
|
1437
|
+
nullifier: string;
|
|
1438
|
+
};
|
|
1439
|
+
nextKey: string;
|
|
1440
|
+
nextIndex: string | number | bigint;
|
|
1441
|
+
} | {
|
|
1442
|
+
leaf: {
|
|
1443
|
+
value: string;
|
|
1444
|
+
slot: string;
|
|
1445
|
+
};
|
|
1446
|
+
nextKey: string;
|
|
587
1447
|
nextIndex: string | number | bigint;
|
|
588
|
-
nextSlot: string;
|
|
589
1448
|
};
|
|
590
1449
|
};
|
|
591
|
-
|
|
592
|
-
|
|
1450
|
+
}[];
|
|
1451
|
+
sequentialInsertHintsNullifierTree: {
|
|
1452
|
+
leaf: {
|
|
1453
|
+
nullifier: string;
|
|
1454
|
+
} | {
|
|
593
1455
|
value: string;
|
|
594
1456
|
slot: string;
|
|
595
|
-
|
|
596
|
-
|
|
1457
|
+
};
|
|
1458
|
+
hintKey: {
|
|
1459
|
+
root: string;
|
|
1460
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1461
|
+
};
|
|
1462
|
+
treeId: number;
|
|
1463
|
+
stateAfter: {
|
|
1464
|
+
root: string;
|
|
1465
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1466
|
+
};
|
|
1467
|
+
lowLeavesWitnessData: {
|
|
1468
|
+
path: string[];
|
|
1469
|
+
index: string | number | bigint;
|
|
1470
|
+
leaf: {
|
|
1471
|
+
leaf: {
|
|
1472
|
+
nullifier: string;
|
|
1473
|
+
};
|
|
1474
|
+
nextKey: string;
|
|
1475
|
+
nextIndex: string | number | bigint;
|
|
1476
|
+
} | {
|
|
1477
|
+
leaf: {
|
|
1478
|
+
value: string;
|
|
1479
|
+
slot: string;
|
|
1480
|
+
};
|
|
1481
|
+
nextKey: string;
|
|
1482
|
+
nextIndex: string | number | bigint;
|
|
1483
|
+
};
|
|
1484
|
+
};
|
|
1485
|
+
insertionWitnessData: {
|
|
1486
|
+
path: string[];
|
|
1487
|
+
index: string | number | bigint;
|
|
1488
|
+
leaf: {
|
|
1489
|
+
leaf: {
|
|
1490
|
+
nullifier: string;
|
|
1491
|
+
};
|
|
1492
|
+
nextKey: string;
|
|
1493
|
+
nextIndex: string | number | bigint;
|
|
1494
|
+
} | {
|
|
1495
|
+
leaf: {
|
|
1496
|
+
value: string;
|
|
1497
|
+
slot: string;
|
|
1498
|
+
};
|
|
1499
|
+
nextKey: string;
|
|
1500
|
+
nextIndex: string | number | bigint;
|
|
1501
|
+
};
|
|
597
1502
|
};
|
|
598
1503
|
}[];
|
|
1504
|
+
}>, import("./avm.js").AvmExecutionHints, {
|
|
599
1505
|
enqueuedCalls: {
|
|
600
1506
|
isStaticCall: boolean;
|
|
601
1507
|
calldata: string[];
|
|
@@ -629,51 +1535,181 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
629
1535
|
classId: string;
|
|
630
1536
|
commitment: string;
|
|
631
1537
|
}[];
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
1538
|
+
getSiblingPathHints: {
|
|
1539
|
+
path: string[];
|
|
1540
|
+
index: string | number | bigint;
|
|
1541
|
+
hintKey: {
|
|
1542
|
+
root: string;
|
|
1543
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1544
|
+
};
|
|
1545
|
+
treeId: number;
|
|
1546
|
+
}[];
|
|
1547
|
+
getPreviousValueIndexHints: {
|
|
1548
|
+
value: string;
|
|
1549
|
+
index: string | number | bigint;
|
|
1550
|
+
hintKey: {
|
|
1551
|
+
root: string;
|
|
1552
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1553
|
+
};
|
|
1554
|
+
treeId: number;
|
|
1555
|
+
alreadyPresent: boolean;
|
|
1556
|
+
}[];
|
|
1557
|
+
getLeafPreimageHintsPublicDataTree: {
|
|
1558
|
+
index: string | number | bigint;
|
|
1559
|
+
hintKey: {
|
|
1560
|
+
root: string;
|
|
1561
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1562
|
+
};
|
|
635
1563
|
leafPreimage: {
|
|
636
|
-
|
|
637
|
-
|
|
1564
|
+
leaf: {
|
|
1565
|
+
nullifier: string;
|
|
1566
|
+
};
|
|
1567
|
+
nextKey: string;
|
|
1568
|
+
nextIndex: string | number | bigint;
|
|
1569
|
+
} | {
|
|
1570
|
+
leaf: {
|
|
1571
|
+
value: string;
|
|
1572
|
+
slot: string;
|
|
1573
|
+
};
|
|
1574
|
+
nextKey: string;
|
|
638
1575
|
nextIndex: string | number | bigint;
|
|
639
|
-
nextSlot: string;
|
|
640
1576
|
};
|
|
641
1577
|
}[];
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
1578
|
+
getLeafPreimageHintsNullifierTree: {
|
|
1579
|
+
index: string | number | bigint;
|
|
1580
|
+
hintKey: {
|
|
1581
|
+
root: string;
|
|
1582
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1583
|
+
};
|
|
1584
|
+
leafPreimage: {
|
|
1585
|
+
leaf: {
|
|
1586
|
+
nullifier: string;
|
|
1587
|
+
};
|
|
1588
|
+
nextKey: string;
|
|
1589
|
+
nextIndex: string | number | bigint;
|
|
1590
|
+
} | {
|
|
1591
|
+
leaf: {
|
|
1592
|
+
value: string;
|
|
1593
|
+
slot: string;
|
|
1594
|
+
};
|
|
1595
|
+
nextKey: string;
|
|
646
1596
|
nextIndex: string | number | bigint;
|
|
647
1597
|
};
|
|
648
|
-
lowLeafIndex: string;
|
|
649
|
-
lowLeafSiblingPath: string[];
|
|
650
1598
|
}[];
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
1599
|
+
getLeafValueHints: {
|
|
1600
|
+
value: string;
|
|
1601
|
+
index: string | number | bigint;
|
|
1602
|
+
hintKey: {
|
|
1603
|
+
root: string;
|
|
1604
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1605
|
+
};
|
|
1606
|
+
treeId: number;
|
|
1607
|
+
}[];
|
|
1608
|
+
sequentialInsertHintsPublicDataTree: {
|
|
1609
|
+
leaf: {
|
|
1610
|
+
nullifier: string;
|
|
1611
|
+
} | {
|
|
1612
|
+
value: string;
|
|
1613
|
+
slot: string;
|
|
1614
|
+
};
|
|
1615
|
+
hintKey: {
|
|
1616
|
+
root: string;
|
|
1617
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1618
|
+
};
|
|
1619
|
+
treeId: number;
|
|
1620
|
+
stateAfter: {
|
|
1621
|
+
root: string;
|
|
1622
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1623
|
+
};
|
|
1624
|
+
lowLeavesWitnessData: {
|
|
1625
|
+
path: string[];
|
|
1626
|
+
index: string | number | bigint;
|
|
1627
|
+
leaf: {
|
|
1628
|
+
leaf: {
|
|
1629
|
+
nullifier: string;
|
|
1630
|
+
};
|
|
1631
|
+
nextKey: string;
|
|
1632
|
+
nextIndex: string | number | bigint;
|
|
1633
|
+
} | {
|
|
1634
|
+
leaf: {
|
|
1635
|
+
value: string;
|
|
1636
|
+
slot: string;
|
|
1637
|
+
};
|
|
1638
|
+
nextKey: string;
|
|
1639
|
+
nextIndex: string | number | bigint;
|
|
1640
|
+
};
|
|
1641
|
+
};
|
|
1642
|
+
insertionWitnessData: {
|
|
1643
|
+
path: string[];
|
|
1644
|
+
index: string | number | bigint;
|
|
1645
|
+
leaf: {
|
|
1646
|
+
leaf: {
|
|
1647
|
+
nullifier: string;
|
|
1648
|
+
};
|
|
1649
|
+
nextKey: string;
|
|
1650
|
+
nextIndex: string | number | bigint;
|
|
1651
|
+
} | {
|
|
1652
|
+
leaf: {
|
|
1653
|
+
value: string;
|
|
1654
|
+
slot: string;
|
|
1655
|
+
};
|
|
1656
|
+
nextKey: string;
|
|
1657
|
+
nextIndex: string | number | bigint;
|
|
1658
|
+
};
|
|
1659
|
+
};
|
|
1660
|
+
}[];
|
|
1661
|
+
sequentialInsertHintsNullifierTree: {
|
|
1662
|
+
leaf: {
|
|
1663
|
+
nullifier: string;
|
|
1664
|
+
} | {
|
|
1665
|
+
value: string;
|
|
1666
|
+
slot: string;
|
|
1667
|
+
};
|
|
1668
|
+
hintKey: {
|
|
1669
|
+
root: string;
|
|
1670
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1671
|
+
};
|
|
1672
|
+
treeId: number;
|
|
1673
|
+
stateAfter: {
|
|
1674
|
+
root: string;
|
|
1675
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1676
|
+
};
|
|
1677
|
+
lowLeavesWitnessData: {
|
|
1678
|
+
path: string[];
|
|
1679
|
+
index: string | number | bigint;
|
|
1680
|
+
leaf: {
|
|
1681
|
+
leaf: {
|
|
1682
|
+
nullifier: string;
|
|
1683
|
+
};
|
|
1684
|
+
nextKey: string;
|
|
1685
|
+
nextIndex: string | number | bigint;
|
|
1686
|
+
} | {
|
|
1687
|
+
leaf: {
|
|
1688
|
+
value: string;
|
|
1689
|
+
slot: string;
|
|
1690
|
+
};
|
|
1691
|
+
nextKey: string;
|
|
1692
|
+
nextIndex: string | number | bigint;
|
|
1693
|
+
};
|
|
1694
|
+
};
|
|
1695
|
+
insertionWitnessData: {
|
|
1696
|
+
path: string[];
|
|
1697
|
+
index: string | number | bigint;
|
|
1698
|
+
leaf: {
|
|
1699
|
+
leaf: {
|
|
1700
|
+
nullifier: string;
|
|
1701
|
+
};
|
|
1702
|
+
nextKey: string;
|
|
1703
|
+
nextIndex: string | number | bigint;
|
|
1704
|
+
} | {
|
|
1705
|
+
leaf: {
|
|
1706
|
+
value: string;
|
|
1707
|
+
slot: string;
|
|
1708
|
+
};
|
|
1709
|
+
nextKey: string;
|
|
656
1710
|
nextIndex: string | number | bigint;
|
|
657
1711
|
};
|
|
658
|
-
lowLeafIndex: string;
|
|
659
|
-
lowLeafSiblingPath: string[];
|
|
660
1712
|
};
|
|
661
|
-
insertionPath: string[];
|
|
662
|
-
}[];
|
|
663
|
-
noteHashReads: {
|
|
664
|
-
value: string;
|
|
665
|
-
leafIndex: string;
|
|
666
|
-
siblingPath: string[];
|
|
667
|
-
}[];
|
|
668
|
-
noteHashWrites: {
|
|
669
|
-
value: string;
|
|
670
|
-
leafIndex: string;
|
|
671
|
-
siblingPath: string[];
|
|
672
|
-
}[];
|
|
673
|
-
l1ToL2MessageReads: {
|
|
674
|
-
value: string;
|
|
675
|
-
leafIndex: string;
|
|
676
|
-
siblingPath: string[];
|
|
677
1713
|
}[];
|
|
678
1714
|
}>;
|
|
679
1715
|
publicInputs: z.ZodEffects<z.ZodObject<{
|
|
@@ -1688,25 +2724,6 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1688
2724
|
calldata: string[];
|
|
1689
2725
|
functionName: string;
|
|
1690
2726
|
hints: {
|
|
1691
|
-
publicDataWrites: {
|
|
1692
|
-
lowLeafRead: {
|
|
1693
|
-
leafIndex: string;
|
|
1694
|
-
siblingPath: string[];
|
|
1695
|
-
leafPreimage: {
|
|
1696
|
-
value: string;
|
|
1697
|
-
slot: string;
|
|
1698
|
-
nextIndex: string | number | bigint;
|
|
1699
|
-
nextSlot: string;
|
|
1700
|
-
};
|
|
1701
|
-
};
|
|
1702
|
-
insertionPath: string[];
|
|
1703
|
-
newLeafPreimage: {
|
|
1704
|
-
value: string;
|
|
1705
|
-
slot: string;
|
|
1706
|
-
nextIndex: string | number | bigint;
|
|
1707
|
-
nextSlot: string;
|
|
1708
|
-
};
|
|
1709
|
-
}[];
|
|
1710
2727
|
enqueuedCalls: {
|
|
1711
2728
|
isStaticCall: boolean;
|
|
1712
2729
|
calldata: string[];
|
|
@@ -1740,51 +2757,181 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1740
2757
|
classId: string;
|
|
1741
2758
|
commitment: string;
|
|
1742
2759
|
}[];
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
nextIndex: string | number | bigint;
|
|
1750
|
-
nextSlot: string;
|
|
2760
|
+
getSiblingPathHints: {
|
|
2761
|
+
path: string[];
|
|
2762
|
+
index: string | number | bigint;
|
|
2763
|
+
hintKey: {
|
|
2764
|
+
root: string;
|
|
2765
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1751
2766
|
};
|
|
2767
|
+
treeId: number;
|
|
1752
2768
|
}[];
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
2769
|
+
getPreviousValueIndexHints: {
|
|
2770
|
+
value: string;
|
|
2771
|
+
index: string | number | bigint;
|
|
2772
|
+
hintKey: {
|
|
2773
|
+
root: string;
|
|
2774
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2775
|
+
};
|
|
2776
|
+
treeId: number;
|
|
2777
|
+
alreadyPresent: boolean;
|
|
2778
|
+
}[];
|
|
2779
|
+
getLeafPreimageHintsPublicDataTree: {
|
|
2780
|
+
index: string | number | bigint;
|
|
2781
|
+
hintKey: {
|
|
2782
|
+
root: string;
|
|
2783
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2784
|
+
};
|
|
2785
|
+
leafPreimage: {
|
|
2786
|
+
leaf: {
|
|
2787
|
+
nullifier: string;
|
|
2788
|
+
};
|
|
2789
|
+
nextKey: string;
|
|
2790
|
+
nextIndex: string | number | bigint;
|
|
2791
|
+
} | {
|
|
2792
|
+
leaf: {
|
|
2793
|
+
value: string;
|
|
2794
|
+
slot: string;
|
|
2795
|
+
};
|
|
2796
|
+
nextKey: string;
|
|
1757
2797
|
nextIndex: string | number | bigint;
|
|
1758
2798
|
};
|
|
1759
|
-
lowLeafIndex: string;
|
|
1760
|
-
lowLeafSiblingPath: string[];
|
|
1761
2799
|
}[];
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
2800
|
+
getLeafPreimageHintsNullifierTree: {
|
|
2801
|
+
index: string | number | bigint;
|
|
2802
|
+
hintKey: {
|
|
2803
|
+
root: string;
|
|
2804
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2805
|
+
};
|
|
2806
|
+
leafPreimage: {
|
|
2807
|
+
leaf: {
|
|
1765
2808
|
nullifier: string;
|
|
1766
|
-
nextNullifier: string;
|
|
1767
|
-
nextIndex: string | number | bigint;
|
|
1768
2809
|
};
|
|
1769
|
-
|
|
1770
|
-
|
|
2810
|
+
nextKey: string;
|
|
2811
|
+
nextIndex: string | number | bigint;
|
|
2812
|
+
} | {
|
|
2813
|
+
leaf: {
|
|
2814
|
+
value: string;
|
|
2815
|
+
slot: string;
|
|
2816
|
+
};
|
|
2817
|
+
nextKey: string;
|
|
2818
|
+
nextIndex: string | number | bigint;
|
|
1771
2819
|
};
|
|
1772
|
-
insertionPath: string[];
|
|
1773
2820
|
}[];
|
|
1774
|
-
|
|
2821
|
+
getLeafValueHints: {
|
|
1775
2822
|
value: string;
|
|
1776
|
-
|
|
1777
|
-
|
|
2823
|
+
index: string | number | bigint;
|
|
2824
|
+
hintKey: {
|
|
2825
|
+
root: string;
|
|
2826
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2827
|
+
};
|
|
2828
|
+
treeId: number;
|
|
1778
2829
|
}[];
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
2830
|
+
sequentialInsertHintsPublicDataTree: {
|
|
2831
|
+
leaf: {
|
|
2832
|
+
nullifier: string;
|
|
2833
|
+
} | {
|
|
2834
|
+
value: string;
|
|
2835
|
+
slot: string;
|
|
2836
|
+
};
|
|
2837
|
+
hintKey: {
|
|
2838
|
+
root: string;
|
|
2839
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2840
|
+
};
|
|
2841
|
+
treeId: number;
|
|
2842
|
+
stateAfter: {
|
|
2843
|
+
root: string;
|
|
2844
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2845
|
+
};
|
|
2846
|
+
lowLeavesWitnessData: {
|
|
2847
|
+
path: string[];
|
|
2848
|
+
index: string | number | bigint;
|
|
2849
|
+
leaf: {
|
|
2850
|
+
leaf: {
|
|
2851
|
+
nullifier: string;
|
|
2852
|
+
};
|
|
2853
|
+
nextKey: string;
|
|
2854
|
+
nextIndex: string | number | bigint;
|
|
2855
|
+
} | {
|
|
2856
|
+
leaf: {
|
|
2857
|
+
value: string;
|
|
2858
|
+
slot: string;
|
|
2859
|
+
};
|
|
2860
|
+
nextKey: string;
|
|
2861
|
+
nextIndex: string | number | bigint;
|
|
2862
|
+
};
|
|
2863
|
+
};
|
|
2864
|
+
insertionWitnessData: {
|
|
2865
|
+
path: string[];
|
|
2866
|
+
index: string | number | bigint;
|
|
2867
|
+
leaf: {
|
|
2868
|
+
leaf: {
|
|
2869
|
+
nullifier: string;
|
|
2870
|
+
};
|
|
2871
|
+
nextKey: string;
|
|
2872
|
+
nextIndex: string | number | bigint;
|
|
2873
|
+
} | {
|
|
2874
|
+
leaf: {
|
|
2875
|
+
value: string;
|
|
2876
|
+
slot: string;
|
|
2877
|
+
};
|
|
2878
|
+
nextKey: string;
|
|
2879
|
+
nextIndex: string | number | bigint;
|
|
2880
|
+
};
|
|
2881
|
+
};
|
|
1783
2882
|
}[];
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
2883
|
+
sequentialInsertHintsNullifierTree: {
|
|
2884
|
+
leaf: {
|
|
2885
|
+
nullifier: string;
|
|
2886
|
+
} | {
|
|
2887
|
+
value: string;
|
|
2888
|
+
slot: string;
|
|
2889
|
+
};
|
|
2890
|
+
hintKey: {
|
|
2891
|
+
root: string;
|
|
2892
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2893
|
+
};
|
|
2894
|
+
treeId: number;
|
|
2895
|
+
stateAfter: {
|
|
2896
|
+
root: string;
|
|
2897
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2898
|
+
};
|
|
2899
|
+
lowLeavesWitnessData: {
|
|
2900
|
+
path: string[];
|
|
2901
|
+
index: string | number | bigint;
|
|
2902
|
+
leaf: {
|
|
2903
|
+
leaf: {
|
|
2904
|
+
nullifier: string;
|
|
2905
|
+
};
|
|
2906
|
+
nextKey: string;
|
|
2907
|
+
nextIndex: string | number | bigint;
|
|
2908
|
+
} | {
|
|
2909
|
+
leaf: {
|
|
2910
|
+
value: string;
|
|
2911
|
+
slot: string;
|
|
2912
|
+
};
|
|
2913
|
+
nextKey: string;
|
|
2914
|
+
nextIndex: string | number | bigint;
|
|
2915
|
+
};
|
|
2916
|
+
};
|
|
2917
|
+
insertionWitnessData: {
|
|
2918
|
+
path: string[];
|
|
2919
|
+
index: string | number | bigint;
|
|
2920
|
+
leaf: {
|
|
2921
|
+
leaf: {
|
|
2922
|
+
nullifier: string;
|
|
2923
|
+
};
|
|
2924
|
+
nextKey: string;
|
|
2925
|
+
nextIndex: string | number | bigint;
|
|
2926
|
+
} | {
|
|
2927
|
+
leaf: {
|
|
2928
|
+
value: string;
|
|
2929
|
+
slot: string;
|
|
2930
|
+
};
|
|
2931
|
+
nextKey: string;
|
|
2932
|
+
nextIndex: string | number | bigint;
|
|
2933
|
+
};
|
|
2934
|
+
};
|
|
1788
2935
|
}[];
|
|
1789
2936
|
};
|
|
1790
2937
|
publicInputs: {
|
|
@@ -1940,25 +3087,6 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1940
3087
|
calldata: string[];
|
|
1941
3088
|
functionName: string;
|
|
1942
3089
|
hints: {
|
|
1943
|
-
publicDataWrites: {
|
|
1944
|
-
lowLeafRead: {
|
|
1945
|
-
leafIndex: string;
|
|
1946
|
-
siblingPath: string[];
|
|
1947
|
-
leafPreimage: {
|
|
1948
|
-
value: string;
|
|
1949
|
-
slot: string;
|
|
1950
|
-
nextIndex: string | number | bigint;
|
|
1951
|
-
nextSlot: string;
|
|
1952
|
-
};
|
|
1953
|
-
};
|
|
1954
|
-
insertionPath: string[];
|
|
1955
|
-
newLeafPreimage: {
|
|
1956
|
-
value: string;
|
|
1957
|
-
slot: string;
|
|
1958
|
-
nextIndex: string | number | bigint;
|
|
1959
|
-
nextSlot: string;
|
|
1960
|
-
};
|
|
1961
|
-
}[];
|
|
1962
3090
|
enqueuedCalls: {
|
|
1963
3091
|
isStaticCall: boolean;
|
|
1964
3092
|
calldata: string[];
|
|
@@ -1992,51 +3120,181 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1992
3120
|
classId: string;
|
|
1993
3121
|
commitment: string;
|
|
1994
3122
|
}[];
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
nextIndex: string | number | bigint;
|
|
2002
|
-
nextSlot: string;
|
|
3123
|
+
getSiblingPathHints: {
|
|
3124
|
+
path: string[];
|
|
3125
|
+
index: string | number | bigint;
|
|
3126
|
+
hintKey: {
|
|
3127
|
+
root: string;
|
|
3128
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2003
3129
|
};
|
|
3130
|
+
treeId: number;
|
|
2004
3131
|
}[];
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
3132
|
+
getPreviousValueIndexHints: {
|
|
3133
|
+
value: string;
|
|
3134
|
+
index: string | number | bigint;
|
|
3135
|
+
hintKey: {
|
|
3136
|
+
root: string;
|
|
3137
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
3138
|
+
};
|
|
3139
|
+
treeId: number;
|
|
3140
|
+
alreadyPresent: boolean;
|
|
3141
|
+
}[];
|
|
3142
|
+
getLeafPreimageHintsPublicDataTree: {
|
|
3143
|
+
index: string | number | bigint;
|
|
3144
|
+
hintKey: {
|
|
3145
|
+
root: string;
|
|
3146
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
3147
|
+
};
|
|
3148
|
+
leafPreimage: {
|
|
3149
|
+
leaf: {
|
|
3150
|
+
nullifier: string;
|
|
3151
|
+
};
|
|
3152
|
+
nextKey: string;
|
|
3153
|
+
nextIndex: string | number | bigint;
|
|
3154
|
+
} | {
|
|
3155
|
+
leaf: {
|
|
3156
|
+
value: string;
|
|
3157
|
+
slot: string;
|
|
3158
|
+
};
|
|
3159
|
+
nextKey: string;
|
|
2009
3160
|
nextIndex: string | number | bigint;
|
|
2010
3161
|
};
|
|
2011
|
-
lowLeafIndex: string;
|
|
2012
|
-
lowLeafSiblingPath: string[];
|
|
2013
3162
|
}[];
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
3163
|
+
getLeafPreimageHintsNullifierTree: {
|
|
3164
|
+
index: string | number | bigint;
|
|
3165
|
+
hintKey: {
|
|
3166
|
+
root: string;
|
|
3167
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
3168
|
+
};
|
|
3169
|
+
leafPreimage: {
|
|
3170
|
+
leaf: {
|
|
2017
3171
|
nullifier: string;
|
|
2018
|
-
nextNullifier: string;
|
|
2019
|
-
nextIndex: string | number | bigint;
|
|
2020
3172
|
};
|
|
2021
|
-
|
|
2022
|
-
|
|
3173
|
+
nextKey: string;
|
|
3174
|
+
nextIndex: string | number | bigint;
|
|
3175
|
+
} | {
|
|
3176
|
+
leaf: {
|
|
3177
|
+
value: string;
|
|
3178
|
+
slot: string;
|
|
3179
|
+
};
|
|
3180
|
+
nextKey: string;
|
|
3181
|
+
nextIndex: string | number | bigint;
|
|
2023
3182
|
};
|
|
2024
|
-
insertionPath: string[];
|
|
2025
3183
|
}[];
|
|
2026
|
-
|
|
3184
|
+
getLeafValueHints: {
|
|
2027
3185
|
value: string;
|
|
2028
|
-
|
|
2029
|
-
|
|
3186
|
+
index: string | number | bigint;
|
|
3187
|
+
hintKey: {
|
|
3188
|
+
root: string;
|
|
3189
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
3190
|
+
};
|
|
3191
|
+
treeId: number;
|
|
2030
3192
|
}[];
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
3193
|
+
sequentialInsertHintsPublicDataTree: {
|
|
3194
|
+
leaf: {
|
|
3195
|
+
nullifier: string;
|
|
3196
|
+
} | {
|
|
3197
|
+
value: string;
|
|
3198
|
+
slot: string;
|
|
3199
|
+
};
|
|
3200
|
+
hintKey: {
|
|
3201
|
+
root: string;
|
|
3202
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
3203
|
+
};
|
|
3204
|
+
treeId: number;
|
|
3205
|
+
stateAfter: {
|
|
3206
|
+
root: string;
|
|
3207
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
3208
|
+
};
|
|
3209
|
+
lowLeavesWitnessData: {
|
|
3210
|
+
path: string[];
|
|
3211
|
+
index: string | number | bigint;
|
|
3212
|
+
leaf: {
|
|
3213
|
+
leaf: {
|
|
3214
|
+
nullifier: string;
|
|
3215
|
+
};
|
|
3216
|
+
nextKey: string;
|
|
3217
|
+
nextIndex: string | number | bigint;
|
|
3218
|
+
} | {
|
|
3219
|
+
leaf: {
|
|
3220
|
+
value: string;
|
|
3221
|
+
slot: string;
|
|
3222
|
+
};
|
|
3223
|
+
nextKey: string;
|
|
3224
|
+
nextIndex: string | number | bigint;
|
|
3225
|
+
};
|
|
3226
|
+
};
|
|
3227
|
+
insertionWitnessData: {
|
|
3228
|
+
path: string[];
|
|
3229
|
+
index: string | number | bigint;
|
|
3230
|
+
leaf: {
|
|
3231
|
+
leaf: {
|
|
3232
|
+
nullifier: string;
|
|
3233
|
+
};
|
|
3234
|
+
nextKey: string;
|
|
3235
|
+
nextIndex: string | number | bigint;
|
|
3236
|
+
} | {
|
|
3237
|
+
leaf: {
|
|
3238
|
+
value: string;
|
|
3239
|
+
slot: string;
|
|
3240
|
+
};
|
|
3241
|
+
nextKey: string;
|
|
3242
|
+
nextIndex: string | number | bigint;
|
|
3243
|
+
};
|
|
3244
|
+
};
|
|
2035
3245
|
}[];
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
3246
|
+
sequentialInsertHintsNullifierTree: {
|
|
3247
|
+
leaf: {
|
|
3248
|
+
nullifier: string;
|
|
3249
|
+
} | {
|
|
3250
|
+
value: string;
|
|
3251
|
+
slot: string;
|
|
3252
|
+
};
|
|
3253
|
+
hintKey: {
|
|
3254
|
+
root: string;
|
|
3255
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
3256
|
+
};
|
|
3257
|
+
treeId: number;
|
|
3258
|
+
stateAfter: {
|
|
3259
|
+
root: string;
|
|
3260
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
3261
|
+
};
|
|
3262
|
+
lowLeavesWitnessData: {
|
|
3263
|
+
path: string[];
|
|
3264
|
+
index: string | number | bigint;
|
|
3265
|
+
leaf: {
|
|
3266
|
+
leaf: {
|
|
3267
|
+
nullifier: string;
|
|
3268
|
+
};
|
|
3269
|
+
nextKey: string;
|
|
3270
|
+
nextIndex: string | number | bigint;
|
|
3271
|
+
} | {
|
|
3272
|
+
leaf: {
|
|
3273
|
+
value: string;
|
|
3274
|
+
slot: string;
|
|
3275
|
+
};
|
|
3276
|
+
nextKey: string;
|
|
3277
|
+
nextIndex: string | number | bigint;
|
|
3278
|
+
};
|
|
3279
|
+
};
|
|
3280
|
+
insertionWitnessData: {
|
|
3281
|
+
path: string[];
|
|
3282
|
+
index: string | number | bigint;
|
|
3283
|
+
leaf: {
|
|
3284
|
+
leaf: {
|
|
3285
|
+
nullifier: string;
|
|
3286
|
+
};
|
|
3287
|
+
nextKey: string;
|
|
3288
|
+
nextIndex: string | number | bigint;
|
|
3289
|
+
} | {
|
|
3290
|
+
leaf: {
|
|
3291
|
+
value: string;
|
|
3292
|
+
slot: string;
|
|
3293
|
+
};
|
|
3294
|
+
nextKey: string;
|
|
3295
|
+
nextIndex: string | number | bigint;
|
|
3296
|
+
};
|
|
3297
|
+
};
|
|
2040
3298
|
}[];
|
|
2041
3299
|
};
|
|
2042
3300
|
publicInputs: {
|
|
@@ -2198,25 +3456,6 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2198
3456
|
calldata: string[];
|
|
2199
3457
|
functionName: string;
|
|
2200
3458
|
hints: {
|
|
2201
|
-
publicDataWrites: {
|
|
2202
|
-
lowLeafRead: {
|
|
2203
|
-
leafIndex: string;
|
|
2204
|
-
siblingPath: string[];
|
|
2205
|
-
leafPreimage: {
|
|
2206
|
-
value: string;
|
|
2207
|
-
slot: string;
|
|
2208
|
-
nextIndex: string | number | bigint;
|
|
2209
|
-
nextSlot: string;
|
|
2210
|
-
};
|
|
2211
|
-
};
|
|
2212
|
-
insertionPath: string[];
|
|
2213
|
-
newLeafPreimage: {
|
|
2214
|
-
value: string;
|
|
2215
|
-
slot: string;
|
|
2216
|
-
nextIndex: string | number | bigint;
|
|
2217
|
-
nextSlot: string;
|
|
2218
|
-
};
|
|
2219
|
-
}[];
|
|
2220
3459
|
enqueuedCalls: {
|
|
2221
3460
|
isStaticCall: boolean;
|
|
2222
3461
|
calldata: string[];
|
|
@@ -2250,51 +3489,181 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2250
3489
|
classId: string;
|
|
2251
3490
|
commitment: string;
|
|
2252
3491
|
}[];
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
nextIndex: string | number | bigint;
|
|
2260
|
-
nextSlot: string;
|
|
3492
|
+
getSiblingPathHints: {
|
|
3493
|
+
path: string[];
|
|
3494
|
+
index: string | number | bigint;
|
|
3495
|
+
hintKey: {
|
|
3496
|
+
root: string;
|
|
3497
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2261
3498
|
};
|
|
3499
|
+
treeId: number;
|
|
2262
3500
|
}[];
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
3501
|
+
getPreviousValueIndexHints: {
|
|
3502
|
+
value: string;
|
|
3503
|
+
index: string | number | bigint;
|
|
3504
|
+
hintKey: {
|
|
3505
|
+
root: string;
|
|
3506
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
3507
|
+
};
|
|
3508
|
+
treeId: number;
|
|
3509
|
+
alreadyPresent: boolean;
|
|
3510
|
+
}[];
|
|
3511
|
+
getLeafPreimageHintsPublicDataTree: {
|
|
3512
|
+
index: string | number | bigint;
|
|
3513
|
+
hintKey: {
|
|
3514
|
+
root: string;
|
|
3515
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
3516
|
+
};
|
|
3517
|
+
leafPreimage: {
|
|
3518
|
+
leaf: {
|
|
3519
|
+
nullifier: string;
|
|
3520
|
+
};
|
|
3521
|
+
nextKey: string;
|
|
3522
|
+
nextIndex: string | number | bigint;
|
|
3523
|
+
} | {
|
|
3524
|
+
leaf: {
|
|
3525
|
+
value: string;
|
|
3526
|
+
slot: string;
|
|
3527
|
+
};
|
|
3528
|
+
nextKey: string;
|
|
2267
3529
|
nextIndex: string | number | bigint;
|
|
2268
3530
|
};
|
|
2269
|
-
lowLeafIndex: string;
|
|
2270
|
-
lowLeafSiblingPath: string[];
|
|
2271
3531
|
}[];
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
3532
|
+
getLeafPreimageHintsNullifierTree: {
|
|
3533
|
+
index: string | number | bigint;
|
|
3534
|
+
hintKey: {
|
|
3535
|
+
root: string;
|
|
3536
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
3537
|
+
};
|
|
3538
|
+
leafPreimage: {
|
|
3539
|
+
leaf: {
|
|
2275
3540
|
nullifier: string;
|
|
2276
|
-
nextNullifier: string;
|
|
2277
|
-
nextIndex: string | number | bigint;
|
|
2278
3541
|
};
|
|
2279
|
-
|
|
2280
|
-
|
|
3542
|
+
nextKey: string;
|
|
3543
|
+
nextIndex: string | number | bigint;
|
|
3544
|
+
} | {
|
|
3545
|
+
leaf: {
|
|
3546
|
+
value: string;
|
|
3547
|
+
slot: string;
|
|
3548
|
+
};
|
|
3549
|
+
nextKey: string;
|
|
3550
|
+
nextIndex: string | number | bigint;
|
|
2281
3551
|
};
|
|
2282
|
-
insertionPath: string[];
|
|
2283
3552
|
}[];
|
|
2284
|
-
|
|
3553
|
+
getLeafValueHints: {
|
|
2285
3554
|
value: string;
|
|
2286
|
-
|
|
2287
|
-
|
|
3555
|
+
index: string | number | bigint;
|
|
3556
|
+
hintKey: {
|
|
3557
|
+
root: string;
|
|
3558
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
3559
|
+
};
|
|
3560
|
+
treeId: number;
|
|
2288
3561
|
}[];
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
3562
|
+
sequentialInsertHintsPublicDataTree: {
|
|
3563
|
+
leaf: {
|
|
3564
|
+
nullifier: string;
|
|
3565
|
+
} | {
|
|
3566
|
+
value: string;
|
|
3567
|
+
slot: string;
|
|
3568
|
+
};
|
|
3569
|
+
hintKey: {
|
|
3570
|
+
root: string;
|
|
3571
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
3572
|
+
};
|
|
3573
|
+
treeId: number;
|
|
3574
|
+
stateAfter: {
|
|
3575
|
+
root: string;
|
|
3576
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
3577
|
+
};
|
|
3578
|
+
lowLeavesWitnessData: {
|
|
3579
|
+
path: string[];
|
|
3580
|
+
index: string | number | bigint;
|
|
3581
|
+
leaf: {
|
|
3582
|
+
leaf: {
|
|
3583
|
+
nullifier: string;
|
|
3584
|
+
};
|
|
3585
|
+
nextKey: string;
|
|
3586
|
+
nextIndex: string | number | bigint;
|
|
3587
|
+
} | {
|
|
3588
|
+
leaf: {
|
|
3589
|
+
value: string;
|
|
3590
|
+
slot: string;
|
|
3591
|
+
};
|
|
3592
|
+
nextKey: string;
|
|
3593
|
+
nextIndex: string | number | bigint;
|
|
3594
|
+
};
|
|
3595
|
+
};
|
|
3596
|
+
insertionWitnessData: {
|
|
3597
|
+
path: string[];
|
|
3598
|
+
index: string | number | bigint;
|
|
3599
|
+
leaf: {
|
|
3600
|
+
leaf: {
|
|
3601
|
+
nullifier: string;
|
|
3602
|
+
};
|
|
3603
|
+
nextKey: string;
|
|
3604
|
+
nextIndex: string | number | bigint;
|
|
3605
|
+
} | {
|
|
3606
|
+
leaf: {
|
|
3607
|
+
value: string;
|
|
3608
|
+
slot: string;
|
|
3609
|
+
};
|
|
3610
|
+
nextKey: string;
|
|
3611
|
+
nextIndex: string | number | bigint;
|
|
3612
|
+
};
|
|
3613
|
+
};
|
|
2293
3614
|
}[];
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
3615
|
+
sequentialInsertHintsNullifierTree: {
|
|
3616
|
+
leaf: {
|
|
3617
|
+
nullifier: string;
|
|
3618
|
+
} | {
|
|
3619
|
+
value: string;
|
|
3620
|
+
slot: string;
|
|
3621
|
+
};
|
|
3622
|
+
hintKey: {
|
|
3623
|
+
root: string;
|
|
3624
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
3625
|
+
};
|
|
3626
|
+
treeId: number;
|
|
3627
|
+
stateAfter: {
|
|
3628
|
+
root: string;
|
|
3629
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
3630
|
+
};
|
|
3631
|
+
lowLeavesWitnessData: {
|
|
3632
|
+
path: string[];
|
|
3633
|
+
index: string | number | bigint;
|
|
3634
|
+
leaf: {
|
|
3635
|
+
leaf: {
|
|
3636
|
+
nullifier: string;
|
|
3637
|
+
};
|
|
3638
|
+
nextKey: string;
|
|
3639
|
+
nextIndex: string | number | bigint;
|
|
3640
|
+
} | {
|
|
3641
|
+
leaf: {
|
|
3642
|
+
value: string;
|
|
3643
|
+
slot: string;
|
|
3644
|
+
};
|
|
3645
|
+
nextKey: string;
|
|
3646
|
+
nextIndex: string | number | bigint;
|
|
3647
|
+
};
|
|
3648
|
+
};
|
|
3649
|
+
insertionWitnessData: {
|
|
3650
|
+
path: string[];
|
|
3651
|
+
index: string | number | bigint;
|
|
3652
|
+
leaf: {
|
|
3653
|
+
leaf: {
|
|
3654
|
+
nullifier: string;
|
|
3655
|
+
};
|
|
3656
|
+
nextKey: string;
|
|
3657
|
+
nextIndex: string | number | bigint;
|
|
3658
|
+
} | {
|
|
3659
|
+
leaf: {
|
|
3660
|
+
value: string;
|
|
3661
|
+
slot: string;
|
|
3662
|
+
};
|
|
3663
|
+
nextKey: string;
|
|
3664
|
+
nextIndex: string | number | bigint;
|
|
3665
|
+
};
|
|
3666
|
+
};
|
|
2298
3667
|
}[];
|
|
2299
3668
|
};
|
|
2300
3669
|
publicInputs: {
|