@aztec/aztec.js 3.0.0-nightly.20251109 → 3.0.0-nightly.20251111
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/utils/authwit.d.ts +3 -3
- package/dest/utils/authwit.d.ts.map +1 -1
- package/dest/utils/authwit.js +1 -6
- package/dest/wallet/base_wallet.d.ts +1 -1
- package/dest/wallet/base_wallet.d.ts.map +1 -1
- package/dest/wallet/wallet.d.ts +860 -194
- package/dest/wallet/wallet.d.ts.map +1 -1
- package/dest/wallet/wallet.js +1 -5
- package/package.json +8 -8
- package/src/utils/authwit.ts +5 -10
- package/src/wallet/base_wallet.ts +1 -1
- package/src/wallet/wallet.ts +2 -6
package/dest/wallet/wallet.d.ts
CHANGED
|
@@ -121,7 +121,7 @@ export type Wallet = {
|
|
|
121
121
|
simulateUtility(functionName: string, args: any[], to: AztecAddress, authwits?: AuthWitness[]): Promise<UtilitySimulationResult>;
|
|
122
122
|
profileTx(exec: ExecutionPayload, opts: ProfileOptions): Promise<TxProfileResult>;
|
|
123
123
|
sendTx(exec: ExecutionPayload, opts: SendOptions): Promise<TxHash>;
|
|
124
|
-
createAuthWit(from: AztecAddress, messageHashOrIntent: Fr |
|
|
124
|
+
createAuthWit(from: AztecAddress, messageHashOrIntent: Fr | IntentInnerHash | CallIntent): Promise<AuthWitness>;
|
|
125
125
|
batch<const T extends readonly BatchedMethod<keyof BatchableMethods>[]>(methods: T): Promise<BatchResults<T>>;
|
|
126
126
|
};
|
|
127
127
|
export declare const ContractInstantiationDataSchema: z.ZodObject<{
|
|
@@ -222,25 +222,97 @@ export declare const ContractInstantiationDataSchema: z.ZodObject<{
|
|
|
222
222
|
skipArgsDecoding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
|
|
223
223
|
salt: ZodFor<Fr>;
|
|
224
224
|
publicKeys: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
225
|
-
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
225
|
+
masterNullifierPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
226
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
227
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
228
|
+
}, "strip", z.ZodTypeAny, {
|
|
229
|
+
x: Fr;
|
|
230
|
+
y: Fr;
|
|
231
|
+
}, {
|
|
232
|
+
x: string;
|
|
233
|
+
y: string;
|
|
234
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
235
|
+
x: string;
|
|
236
|
+
y: string;
|
|
237
|
+
}>]>;
|
|
238
|
+
masterIncomingViewingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
239
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
240
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
241
|
+
}, "strip", z.ZodTypeAny, {
|
|
242
|
+
x: Fr;
|
|
243
|
+
y: Fr;
|
|
244
|
+
}, {
|
|
245
|
+
x: string;
|
|
246
|
+
y: string;
|
|
247
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
248
|
+
x: string;
|
|
249
|
+
y: string;
|
|
250
|
+
}>]>;
|
|
251
|
+
masterOutgoingViewingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
252
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
253
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
254
|
+
}, "strip", z.ZodTypeAny, {
|
|
255
|
+
x: Fr;
|
|
256
|
+
y: Fr;
|
|
257
|
+
}, {
|
|
258
|
+
x: string;
|
|
259
|
+
y: string;
|
|
260
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
261
|
+
x: string;
|
|
262
|
+
y: string;
|
|
263
|
+
}>]>;
|
|
264
|
+
masterTaggingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
265
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
266
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
267
|
+
}, "strip", z.ZodTypeAny, {
|
|
268
|
+
x: Fr;
|
|
269
|
+
y: Fr;
|
|
270
|
+
}, {
|
|
271
|
+
x: string;
|
|
272
|
+
y: string;
|
|
273
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
274
|
+
x: string;
|
|
275
|
+
y: string;
|
|
276
|
+
}>]>;
|
|
229
277
|
}, "strip", z.ZodTypeAny, {
|
|
230
278
|
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
231
279
|
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
232
280
|
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
233
281
|
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
234
282
|
}, {
|
|
235
|
-
masterNullifierPublicKey: string
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
283
|
+
masterNullifierPublicKey: string | {
|
|
284
|
+
x: string;
|
|
285
|
+
y: string;
|
|
286
|
+
};
|
|
287
|
+
masterIncomingViewingPublicKey: string | {
|
|
288
|
+
x: string;
|
|
289
|
+
y: string;
|
|
290
|
+
};
|
|
291
|
+
masterOutgoingViewingPublicKey: string | {
|
|
292
|
+
x: string;
|
|
293
|
+
y: string;
|
|
294
|
+
};
|
|
295
|
+
masterTaggingPublicKey: string | {
|
|
296
|
+
x: string;
|
|
297
|
+
y: string;
|
|
298
|
+
};
|
|
239
299
|
}>, PublicKeys, {
|
|
240
|
-
masterNullifierPublicKey: string
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
300
|
+
masterNullifierPublicKey: string | {
|
|
301
|
+
x: string;
|
|
302
|
+
y: string;
|
|
303
|
+
};
|
|
304
|
+
masterIncomingViewingPublicKey: string | {
|
|
305
|
+
x: string;
|
|
306
|
+
y: string;
|
|
307
|
+
};
|
|
308
|
+
masterOutgoingViewingPublicKey: string | {
|
|
309
|
+
x: string;
|
|
310
|
+
y: string;
|
|
311
|
+
};
|
|
312
|
+
masterTaggingPublicKey: string | {
|
|
313
|
+
x: string;
|
|
314
|
+
y: string;
|
|
315
|
+
};
|
|
244
316
|
}>>;
|
|
245
317
|
deployer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
246
318
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -276,10 +348,22 @@ export declare const ContractInstantiationDataSchema: z.ZodObject<{
|
|
|
276
348
|
salt?: any;
|
|
277
349
|
deployer?: any;
|
|
278
350
|
publicKeys?: {
|
|
279
|
-
masterNullifierPublicKey: string
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
351
|
+
masterNullifierPublicKey: string | {
|
|
352
|
+
x: string;
|
|
353
|
+
y: string;
|
|
354
|
+
};
|
|
355
|
+
masterIncomingViewingPublicKey: string | {
|
|
356
|
+
x: string;
|
|
357
|
+
y: string;
|
|
358
|
+
};
|
|
359
|
+
masterOutgoingViewingPublicKey: string | {
|
|
360
|
+
x: string;
|
|
361
|
+
y: string;
|
|
362
|
+
};
|
|
363
|
+
masterTaggingPublicKey: string | {
|
|
364
|
+
x: string;
|
|
365
|
+
y: string;
|
|
366
|
+
};
|
|
283
367
|
} | undefined;
|
|
284
368
|
constructorArgs?: any[] | undefined;
|
|
285
369
|
constructorArtifact?: string | {
|
|
@@ -1170,25 +1254,97 @@ export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.Zod
|
|
|
1170
1254
|
originalContractClassId: ZodFor<Fr>;
|
|
1171
1255
|
initializationHash: ZodFor<Fr>;
|
|
1172
1256
|
publicKeys: z.ZodEffects<z.ZodObject<{
|
|
1173
|
-
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1257
|
+
masterNullifierPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
1258
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1259
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1260
|
+
}, "strip", z.ZodTypeAny, {
|
|
1261
|
+
x: Fr;
|
|
1262
|
+
y: Fr;
|
|
1263
|
+
}, {
|
|
1264
|
+
x: string;
|
|
1265
|
+
y: string;
|
|
1266
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
1267
|
+
x: string;
|
|
1268
|
+
y: string;
|
|
1269
|
+
}>]>;
|
|
1270
|
+
masterIncomingViewingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
1271
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1272
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1273
|
+
}, "strip", z.ZodTypeAny, {
|
|
1274
|
+
x: Fr;
|
|
1275
|
+
y: Fr;
|
|
1276
|
+
}, {
|
|
1277
|
+
x: string;
|
|
1278
|
+
y: string;
|
|
1279
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
1280
|
+
x: string;
|
|
1281
|
+
y: string;
|
|
1282
|
+
}>]>;
|
|
1283
|
+
masterOutgoingViewingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
1284
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1285
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1286
|
+
}, "strip", z.ZodTypeAny, {
|
|
1287
|
+
x: Fr;
|
|
1288
|
+
y: Fr;
|
|
1289
|
+
}, {
|
|
1290
|
+
x: string;
|
|
1291
|
+
y: string;
|
|
1292
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
1293
|
+
x: string;
|
|
1294
|
+
y: string;
|
|
1295
|
+
}>]>;
|
|
1296
|
+
masterTaggingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
1297
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1298
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1299
|
+
}, "strip", z.ZodTypeAny, {
|
|
1300
|
+
x: Fr;
|
|
1301
|
+
y: Fr;
|
|
1302
|
+
}, {
|
|
1303
|
+
x: string;
|
|
1304
|
+
y: string;
|
|
1305
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
1306
|
+
x: string;
|
|
1307
|
+
y: string;
|
|
1308
|
+
}>]>;
|
|
1177
1309
|
}, "strip", z.ZodTypeAny, {
|
|
1178
1310
|
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
1179
1311
|
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1180
1312
|
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1181
1313
|
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1182
1314
|
}, {
|
|
1183
|
-
masterNullifierPublicKey: string
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1315
|
+
masterNullifierPublicKey: string | {
|
|
1316
|
+
x: string;
|
|
1317
|
+
y: string;
|
|
1318
|
+
};
|
|
1319
|
+
masterIncomingViewingPublicKey: string | {
|
|
1320
|
+
x: string;
|
|
1321
|
+
y: string;
|
|
1322
|
+
};
|
|
1323
|
+
masterOutgoingViewingPublicKey: string | {
|
|
1324
|
+
x: string;
|
|
1325
|
+
y: string;
|
|
1326
|
+
};
|
|
1327
|
+
masterTaggingPublicKey: string | {
|
|
1328
|
+
x: string;
|
|
1329
|
+
y: string;
|
|
1330
|
+
};
|
|
1187
1331
|
}>, PublicKeys, {
|
|
1188
|
-
masterNullifierPublicKey: string
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1332
|
+
masterNullifierPublicKey: string | {
|
|
1333
|
+
x: string;
|
|
1334
|
+
y: string;
|
|
1335
|
+
};
|
|
1336
|
+
masterIncomingViewingPublicKey: string | {
|
|
1337
|
+
x: string;
|
|
1338
|
+
y: string;
|
|
1339
|
+
};
|
|
1340
|
+
masterOutgoingViewingPublicKey: string | {
|
|
1341
|
+
x: string;
|
|
1342
|
+
y: string;
|
|
1343
|
+
};
|
|
1344
|
+
masterTaggingPublicKey: string | {
|
|
1345
|
+
x: string;
|
|
1346
|
+
y: string;
|
|
1347
|
+
};
|
|
1192
1348
|
}>;
|
|
1193
1349
|
}, "strip", z.ZodTypeAny, {
|
|
1194
1350
|
version: 1;
|
|
@@ -1201,10 +1357,22 @@ export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.Zod
|
|
|
1201
1357
|
}, {
|
|
1202
1358
|
version: 1;
|
|
1203
1359
|
publicKeys: {
|
|
1204
|
-
masterNullifierPublicKey: string
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1360
|
+
masterNullifierPublicKey: string | {
|
|
1361
|
+
x: string;
|
|
1362
|
+
y: string;
|
|
1363
|
+
};
|
|
1364
|
+
masterIncomingViewingPublicKey: string | {
|
|
1365
|
+
x: string;
|
|
1366
|
+
y: string;
|
|
1367
|
+
};
|
|
1368
|
+
masterOutgoingViewingPublicKey: string | {
|
|
1369
|
+
x: string;
|
|
1370
|
+
y: string;
|
|
1371
|
+
};
|
|
1372
|
+
masterTaggingPublicKey: string | {
|
|
1373
|
+
x: string;
|
|
1374
|
+
y: string;
|
|
1375
|
+
};
|
|
1208
1376
|
};
|
|
1209
1377
|
salt?: any;
|
|
1210
1378
|
deployer?: any;
|
|
@@ -1315,25 +1483,97 @@ export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.Zod
|
|
|
1315
1483
|
skipArgsDecoding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
|
|
1316
1484
|
salt: ZodFor<Fr>;
|
|
1317
1485
|
publicKeys: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
1318
|
-
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1486
|
+
masterNullifierPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
1487
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1488
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1489
|
+
}, "strip", z.ZodTypeAny, {
|
|
1490
|
+
x: Fr;
|
|
1491
|
+
y: Fr;
|
|
1492
|
+
}, {
|
|
1493
|
+
x: string;
|
|
1494
|
+
y: string;
|
|
1495
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
1496
|
+
x: string;
|
|
1497
|
+
y: string;
|
|
1498
|
+
}>]>;
|
|
1499
|
+
masterIncomingViewingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
1500
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1501
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1502
|
+
}, "strip", z.ZodTypeAny, {
|
|
1503
|
+
x: Fr;
|
|
1504
|
+
y: Fr;
|
|
1505
|
+
}, {
|
|
1506
|
+
x: string;
|
|
1507
|
+
y: string;
|
|
1508
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
1509
|
+
x: string;
|
|
1510
|
+
y: string;
|
|
1511
|
+
}>]>;
|
|
1512
|
+
masterOutgoingViewingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
1513
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1514
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1515
|
+
}, "strip", z.ZodTypeAny, {
|
|
1516
|
+
x: Fr;
|
|
1517
|
+
y: Fr;
|
|
1518
|
+
}, {
|
|
1519
|
+
x: string;
|
|
1520
|
+
y: string;
|
|
1521
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
1522
|
+
x: string;
|
|
1523
|
+
y: string;
|
|
1524
|
+
}>]>;
|
|
1525
|
+
masterTaggingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
1526
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1527
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1528
|
+
}, "strip", z.ZodTypeAny, {
|
|
1529
|
+
x: Fr;
|
|
1530
|
+
y: Fr;
|
|
1531
|
+
}, {
|
|
1532
|
+
x: string;
|
|
1533
|
+
y: string;
|
|
1534
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
1535
|
+
x: string;
|
|
1536
|
+
y: string;
|
|
1537
|
+
}>]>;
|
|
1322
1538
|
}, "strip", z.ZodTypeAny, {
|
|
1323
1539
|
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
1324
1540
|
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1325
1541
|
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1326
1542
|
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1327
1543
|
}, {
|
|
1328
|
-
masterNullifierPublicKey: string
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1544
|
+
masterNullifierPublicKey: string | {
|
|
1545
|
+
x: string;
|
|
1546
|
+
y: string;
|
|
1547
|
+
};
|
|
1548
|
+
masterIncomingViewingPublicKey: string | {
|
|
1549
|
+
x: string;
|
|
1550
|
+
y: string;
|
|
1551
|
+
};
|
|
1552
|
+
masterOutgoingViewingPublicKey: string | {
|
|
1553
|
+
x: string;
|
|
1554
|
+
y: string;
|
|
1555
|
+
};
|
|
1556
|
+
masterTaggingPublicKey: string | {
|
|
1557
|
+
x: string;
|
|
1558
|
+
y: string;
|
|
1559
|
+
};
|
|
1332
1560
|
}>, PublicKeys, {
|
|
1333
|
-
masterNullifierPublicKey: string
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1561
|
+
masterNullifierPublicKey: string | {
|
|
1562
|
+
x: string;
|
|
1563
|
+
y: string;
|
|
1564
|
+
};
|
|
1565
|
+
masterIncomingViewingPublicKey: string | {
|
|
1566
|
+
x: string;
|
|
1567
|
+
y: string;
|
|
1568
|
+
};
|
|
1569
|
+
masterOutgoingViewingPublicKey: string | {
|
|
1570
|
+
x: string;
|
|
1571
|
+
y: string;
|
|
1572
|
+
};
|
|
1573
|
+
masterTaggingPublicKey: string | {
|
|
1574
|
+
x: string;
|
|
1575
|
+
y: string;
|
|
1576
|
+
};
|
|
1337
1577
|
}>>;
|
|
1338
1578
|
deployer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
1339
1579
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1369,10 +1609,22 @@ export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.Zod
|
|
|
1369
1609
|
salt?: any;
|
|
1370
1610
|
deployer?: any;
|
|
1371
1611
|
publicKeys?: {
|
|
1372
|
-
masterNullifierPublicKey: string
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1612
|
+
masterNullifierPublicKey: string | {
|
|
1613
|
+
x: string;
|
|
1614
|
+
y: string;
|
|
1615
|
+
};
|
|
1616
|
+
masterIncomingViewingPublicKey: string | {
|
|
1617
|
+
x: string;
|
|
1618
|
+
y: string;
|
|
1619
|
+
};
|
|
1620
|
+
masterOutgoingViewingPublicKey: string | {
|
|
1621
|
+
x: string;
|
|
1622
|
+
y: string;
|
|
1623
|
+
};
|
|
1624
|
+
masterTaggingPublicKey: string | {
|
|
1625
|
+
x: string;
|
|
1626
|
+
y: string;
|
|
1627
|
+
};
|
|
1376
1628
|
} | undefined;
|
|
1377
1629
|
constructorArgs?: any[] | undefined;
|
|
1378
1630
|
constructorArtifact?: string | {
|
|
@@ -1408,25 +1660,97 @@ export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.Zod
|
|
|
1408
1660
|
originalContractClassId: ZodFor<Fr>;
|
|
1409
1661
|
initializationHash: ZodFor<Fr>;
|
|
1410
1662
|
publicKeys: z.ZodEffects<z.ZodObject<{
|
|
1411
|
-
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1663
|
+
masterNullifierPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
1664
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1665
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1666
|
+
}, "strip", z.ZodTypeAny, {
|
|
1667
|
+
x: Fr;
|
|
1668
|
+
y: Fr;
|
|
1669
|
+
}, {
|
|
1670
|
+
x: string;
|
|
1671
|
+
y: string;
|
|
1672
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
1673
|
+
x: string;
|
|
1674
|
+
y: string;
|
|
1675
|
+
}>]>;
|
|
1676
|
+
masterIncomingViewingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
1677
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1678
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1679
|
+
}, "strip", z.ZodTypeAny, {
|
|
1680
|
+
x: Fr;
|
|
1681
|
+
y: Fr;
|
|
1682
|
+
}, {
|
|
1683
|
+
x: string;
|
|
1684
|
+
y: string;
|
|
1685
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
1686
|
+
x: string;
|
|
1687
|
+
y: string;
|
|
1688
|
+
}>]>;
|
|
1689
|
+
masterOutgoingViewingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
1690
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1691
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1692
|
+
}, "strip", z.ZodTypeAny, {
|
|
1693
|
+
x: Fr;
|
|
1694
|
+
y: Fr;
|
|
1695
|
+
}, {
|
|
1696
|
+
x: string;
|
|
1697
|
+
y: string;
|
|
1698
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
1699
|
+
x: string;
|
|
1700
|
+
y: string;
|
|
1701
|
+
}>]>;
|
|
1702
|
+
masterTaggingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
1703
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1704
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1705
|
+
}, "strip", z.ZodTypeAny, {
|
|
1706
|
+
x: Fr;
|
|
1707
|
+
y: Fr;
|
|
1708
|
+
}, {
|
|
1709
|
+
x: string;
|
|
1710
|
+
y: string;
|
|
1711
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
1712
|
+
x: string;
|
|
1713
|
+
y: string;
|
|
1714
|
+
}>]>;
|
|
1415
1715
|
}, "strip", z.ZodTypeAny, {
|
|
1416
1716
|
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
1417
1717
|
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1418
1718
|
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1419
1719
|
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1420
1720
|
}, {
|
|
1421
|
-
masterNullifierPublicKey: string
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1721
|
+
masterNullifierPublicKey: string | {
|
|
1722
|
+
x: string;
|
|
1723
|
+
y: string;
|
|
1724
|
+
};
|
|
1725
|
+
masterIncomingViewingPublicKey: string | {
|
|
1726
|
+
x: string;
|
|
1727
|
+
y: string;
|
|
1728
|
+
};
|
|
1729
|
+
masterOutgoingViewingPublicKey: string | {
|
|
1730
|
+
x: string;
|
|
1731
|
+
y: string;
|
|
1732
|
+
};
|
|
1733
|
+
masterTaggingPublicKey: string | {
|
|
1734
|
+
x: string;
|
|
1735
|
+
y: string;
|
|
1736
|
+
};
|
|
1425
1737
|
}>, PublicKeys, {
|
|
1426
|
-
masterNullifierPublicKey: string
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1738
|
+
masterNullifierPublicKey: string | {
|
|
1739
|
+
x: string;
|
|
1740
|
+
y: string;
|
|
1741
|
+
};
|
|
1742
|
+
masterIncomingViewingPublicKey: string | {
|
|
1743
|
+
x: string;
|
|
1744
|
+
y: string;
|
|
1745
|
+
};
|
|
1746
|
+
masterOutgoingViewingPublicKey: string | {
|
|
1747
|
+
x: string;
|
|
1748
|
+
y: string;
|
|
1749
|
+
};
|
|
1750
|
+
masterTaggingPublicKey: string | {
|
|
1751
|
+
x: string;
|
|
1752
|
+
y: string;
|
|
1753
|
+
};
|
|
1430
1754
|
}>;
|
|
1431
1755
|
}, "strip", z.ZodTypeAny, {
|
|
1432
1756
|
version: 1;
|
|
@@ -1439,10 +1763,22 @@ export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.Zod
|
|
|
1439
1763
|
}, {
|
|
1440
1764
|
version: 1;
|
|
1441
1765
|
publicKeys: {
|
|
1442
|
-
masterNullifierPublicKey: string
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1766
|
+
masterNullifierPublicKey: string | {
|
|
1767
|
+
x: string;
|
|
1768
|
+
y: string;
|
|
1769
|
+
};
|
|
1770
|
+
masterIncomingViewingPublicKey: string | {
|
|
1771
|
+
x: string;
|
|
1772
|
+
y: string;
|
|
1773
|
+
};
|
|
1774
|
+
masterOutgoingViewingPublicKey: string | {
|
|
1775
|
+
x: string;
|
|
1776
|
+
y: string;
|
|
1777
|
+
};
|
|
1778
|
+
masterTaggingPublicKey: string | {
|
|
1779
|
+
x: string;
|
|
1780
|
+
y: string;
|
|
1781
|
+
};
|
|
1446
1782
|
};
|
|
1447
1783
|
salt?: any;
|
|
1448
1784
|
deployer?: any;
|
|
@@ -1474,10 +1810,22 @@ export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.Zod
|
|
|
1474
1810
|
instance: {
|
|
1475
1811
|
version: 1;
|
|
1476
1812
|
publicKeys: {
|
|
1477
|
-
masterNullifierPublicKey: string
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1813
|
+
masterNullifierPublicKey: string | {
|
|
1814
|
+
x: string;
|
|
1815
|
+
y: string;
|
|
1816
|
+
};
|
|
1817
|
+
masterIncomingViewingPublicKey: string | {
|
|
1818
|
+
x: string;
|
|
1819
|
+
y: string;
|
|
1820
|
+
};
|
|
1821
|
+
masterOutgoingViewingPublicKey: string | {
|
|
1822
|
+
x: string;
|
|
1823
|
+
y: string;
|
|
1824
|
+
};
|
|
1825
|
+
masterTaggingPublicKey: string | {
|
|
1826
|
+
x: string;
|
|
1827
|
+
y: string;
|
|
1828
|
+
};
|
|
1481
1829
|
};
|
|
1482
1830
|
salt?: any;
|
|
1483
1831
|
deployer?: any;
|
|
@@ -1489,36 +1837,12 @@ export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.Zod
|
|
|
1489
1837
|
};
|
|
1490
1838
|
artifact?: any;
|
|
1491
1839
|
}>]>;
|
|
1492
|
-
export declare const MessageHashOrIntentSchema: z.ZodUnion<[ZodFor<Fr>, z.
|
|
1493
|
-
type: z.ZodLiteral<"Buffer">;
|
|
1494
|
-
data: z.ZodArray<z.ZodNumber, "many">;
|
|
1495
|
-
}, "strip", z.ZodTypeAny, {
|
|
1496
|
-
type: "Buffer";
|
|
1497
|
-
data: number[];
|
|
1498
|
-
}, {
|
|
1499
|
-
type: "Buffer";
|
|
1500
|
-
data: number[];
|
|
1501
|
-
}>, Buffer<ArrayBuffer>, {
|
|
1502
|
-
type: "Buffer";
|
|
1503
|
-
data: number[];
|
|
1504
|
-
}>]>, z.ZodObject<{
|
|
1840
|
+
export declare const MessageHashOrIntentSchema: z.ZodUnion<[ZodFor<Fr>, z.ZodObject<{
|
|
1505
1841
|
consumer: ZodFor<AztecAddress>;
|
|
1506
|
-
innerHash:
|
|
1507
|
-
type: z.ZodLiteral<"Buffer">;
|
|
1508
|
-
data: z.ZodArray<z.ZodNumber, "many">;
|
|
1509
|
-
}, "strip", z.ZodTypeAny, {
|
|
1510
|
-
type: "Buffer";
|
|
1511
|
-
data: number[];
|
|
1512
|
-
}, {
|
|
1513
|
-
type: "Buffer";
|
|
1514
|
-
data: number[];
|
|
1515
|
-
}>, Buffer<ArrayBuffer>, {
|
|
1516
|
-
type: "Buffer";
|
|
1517
|
-
data: number[];
|
|
1518
|
-
}>]>, ZodFor<Fr>]>;
|
|
1842
|
+
innerHash: ZodFor<Fr>;
|
|
1519
1843
|
}, "strip", z.ZodTypeAny, {
|
|
1520
1844
|
consumer: AztecAddress;
|
|
1521
|
-
innerHash: Fr
|
|
1845
|
+
innerHash: Fr;
|
|
1522
1846
|
}, {
|
|
1523
1847
|
consumer?: any;
|
|
1524
1848
|
innerHash?: any;
|
|
@@ -1596,25 +1920,97 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1596
1920
|
originalContractClassId: ZodFor<Fr>;
|
|
1597
1921
|
initializationHash: ZodFor<Fr>;
|
|
1598
1922
|
publicKeys: z.ZodEffects<z.ZodObject<{
|
|
1599
|
-
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1923
|
+
masterNullifierPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
1924
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1925
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1926
|
+
}, "strip", z.ZodTypeAny, {
|
|
1927
|
+
x: Fr;
|
|
1928
|
+
y: Fr;
|
|
1929
|
+
}, {
|
|
1930
|
+
x: string;
|
|
1931
|
+
y: string;
|
|
1932
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
1933
|
+
x: string;
|
|
1934
|
+
y: string;
|
|
1935
|
+
}>]>;
|
|
1936
|
+
masterIncomingViewingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
1937
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1938
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1939
|
+
}, "strip", z.ZodTypeAny, {
|
|
1940
|
+
x: Fr;
|
|
1941
|
+
y: Fr;
|
|
1942
|
+
}, {
|
|
1943
|
+
x: string;
|
|
1944
|
+
y: string;
|
|
1945
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
1946
|
+
x: string;
|
|
1947
|
+
y: string;
|
|
1948
|
+
}>]>;
|
|
1949
|
+
masterOutgoingViewingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
1950
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1951
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1952
|
+
}, "strip", z.ZodTypeAny, {
|
|
1953
|
+
x: Fr;
|
|
1954
|
+
y: Fr;
|
|
1955
|
+
}, {
|
|
1956
|
+
x: string;
|
|
1957
|
+
y: string;
|
|
1958
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
1959
|
+
x: string;
|
|
1960
|
+
y: string;
|
|
1961
|
+
}>]>;
|
|
1962
|
+
masterTaggingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
1963
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1964
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
1965
|
+
}, "strip", z.ZodTypeAny, {
|
|
1966
|
+
x: Fr;
|
|
1967
|
+
y: Fr;
|
|
1968
|
+
}, {
|
|
1969
|
+
x: string;
|
|
1970
|
+
y: string;
|
|
1971
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
1972
|
+
x: string;
|
|
1973
|
+
y: string;
|
|
1974
|
+
}>]>;
|
|
1603
1975
|
}, "strip", z.ZodTypeAny, {
|
|
1604
1976
|
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
1605
1977
|
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1606
1978
|
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1607
1979
|
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1608
1980
|
}, {
|
|
1609
|
-
masterNullifierPublicKey: string
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1981
|
+
masterNullifierPublicKey: string | {
|
|
1982
|
+
x: string;
|
|
1983
|
+
y: string;
|
|
1984
|
+
};
|
|
1985
|
+
masterIncomingViewingPublicKey: string | {
|
|
1986
|
+
x: string;
|
|
1987
|
+
y: string;
|
|
1988
|
+
};
|
|
1989
|
+
masterOutgoingViewingPublicKey: string | {
|
|
1990
|
+
x: string;
|
|
1991
|
+
y: string;
|
|
1992
|
+
};
|
|
1993
|
+
masterTaggingPublicKey: string | {
|
|
1994
|
+
x: string;
|
|
1995
|
+
y: string;
|
|
1996
|
+
};
|
|
1613
1997
|
}>, PublicKeys, {
|
|
1614
|
-
masterNullifierPublicKey: string
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1998
|
+
masterNullifierPublicKey: string | {
|
|
1999
|
+
x: string;
|
|
2000
|
+
y: string;
|
|
2001
|
+
};
|
|
2002
|
+
masterIncomingViewingPublicKey: string | {
|
|
2003
|
+
x: string;
|
|
2004
|
+
y: string;
|
|
2005
|
+
};
|
|
2006
|
+
masterOutgoingViewingPublicKey: string | {
|
|
2007
|
+
x: string;
|
|
2008
|
+
y: string;
|
|
2009
|
+
};
|
|
2010
|
+
masterTaggingPublicKey: string | {
|
|
2011
|
+
x: string;
|
|
2012
|
+
y: string;
|
|
2013
|
+
};
|
|
1618
2014
|
}>;
|
|
1619
2015
|
}, "strip", z.ZodTypeAny, {
|
|
1620
2016
|
version: 1;
|
|
@@ -1627,10 +2023,22 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1627
2023
|
}, {
|
|
1628
2024
|
version: 1;
|
|
1629
2025
|
publicKeys: {
|
|
1630
|
-
masterNullifierPublicKey: string
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
2026
|
+
masterNullifierPublicKey: string | {
|
|
2027
|
+
x: string;
|
|
2028
|
+
y: string;
|
|
2029
|
+
};
|
|
2030
|
+
masterIncomingViewingPublicKey: string | {
|
|
2031
|
+
x: string;
|
|
2032
|
+
y: string;
|
|
2033
|
+
};
|
|
2034
|
+
masterOutgoingViewingPublicKey: string | {
|
|
2035
|
+
x: string;
|
|
2036
|
+
y: string;
|
|
2037
|
+
};
|
|
2038
|
+
masterTaggingPublicKey: string | {
|
|
2039
|
+
x: string;
|
|
2040
|
+
y: string;
|
|
2041
|
+
};
|
|
1634
2042
|
};
|
|
1635
2043
|
salt?: any;
|
|
1636
2044
|
deployer?: any;
|
|
@@ -1741,25 +2149,97 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1741
2149
|
skipArgsDecoding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
|
|
1742
2150
|
salt: ZodFor<Fr>;
|
|
1743
2151
|
publicKeys: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
1744
|
-
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
2152
|
+
masterNullifierPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
2153
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2154
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2155
|
+
}, "strip", z.ZodTypeAny, {
|
|
2156
|
+
x: Fr;
|
|
2157
|
+
y: Fr;
|
|
2158
|
+
}, {
|
|
2159
|
+
x: string;
|
|
2160
|
+
y: string;
|
|
2161
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
2162
|
+
x: string;
|
|
2163
|
+
y: string;
|
|
2164
|
+
}>]>;
|
|
2165
|
+
masterIncomingViewingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
2166
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2167
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2168
|
+
}, "strip", z.ZodTypeAny, {
|
|
2169
|
+
x: Fr;
|
|
2170
|
+
y: Fr;
|
|
2171
|
+
}, {
|
|
2172
|
+
x: string;
|
|
2173
|
+
y: string;
|
|
2174
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
2175
|
+
x: string;
|
|
2176
|
+
y: string;
|
|
2177
|
+
}>]>;
|
|
2178
|
+
masterOutgoingViewingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
2179
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2180
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2181
|
+
}, "strip", z.ZodTypeAny, {
|
|
2182
|
+
x: Fr;
|
|
2183
|
+
y: Fr;
|
|
2184
|
+
}, {
|
|
2185
|
+
x: string;
|
|
2186
|
+
y: string;
|
|
2187
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
2188
|
+
x: string;
|
|
2189
|
+
y: string;
|
|
2190
|
+
}>]>;
|
|
2191
|
+
masterTaggingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
2192
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2193
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2194
|
+
}, "strip", z.ZodTypeAny, {
|
|
2195
|
+
x: Fr;
|
|
2196
|
+
y: Fr;
|
|
2197
|
+
}, {
|
|
2198
|
+
x: string;
|
|
2199
|
+
y: string;
|
|
2200
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
2201
|
+
x: string;
|
|
2202
|
+
y: string;
|
|
2203
|
+
}>]>;
|
|
1748
2204
|
}, "strip", z.ZodTypeAny, {
|
|
1749
2205
|
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
1750
2206
|
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1751
2207
|
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1752
2208
|
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1753
2209
|
}, {
|
|
1754
|
-
masterNullifierPublicKey: string
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
2210
|
+
masterNullifierPublicKey: string | {
|
|
2211
|
+
x: string;
|
|
2212
|
+
y: string;
|
|
2213
|
+
};
|
|
2214
|
+
masterIncomingViewingPublicKey: string | {
|
|
2215
|
+
x: string;
|
|
2216
|
+
y: string;
|
|
2217
|
+
};
|
|
2218
|
+
masterOutgoingViewingPublicKey: string | {
|
|
2219
|
+
x: string;
|
|
2220
|
+
y: string;
|
|
2221
|
+
};
|
|
2222
|
+
masterTaggingPublicKey: string | {
|
|
2223
|
+
x: string;
|
|
2224
|
+
y: string;
|
|
2225
|
+
};
|
|
1758
2226
|
}>, PublicKeys, {
|
|
1759
|
-
masterNullifierPublicKey: string
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
2227
|
+
masterNullifierPublicKey: string | {
|
|
2228
|
+
x: string;
|
|
2229
|
+
y: string;
|
|
2230
|
+
};
|
|
2231
|
+
masterIncomingViewingPublicKey: string | {
|
|
2232
|
+
x: string;
|
|
2233
|
+
y: string;
|
|
2234
|
+
};
|
|
2235
|
+
masterOutgoingViewingPublicKey: string | {
|
|
2236
|
+
x: string;
|
|
2237
|
+
y: string;
|
|
2238
|
+
};
|
|
2239
|
+
masterTaggingPublicKey: string | {
|
|
2240
|
+
x: string;
|
|
2241
|
+
y: string;
|
|
2242
|
+
};
|
|
1763
2243
|
}>>;
|
|
1764
2244
|
deployer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
1765
2245
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1795,10 +2275,22 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1795
2275
|
salt?: any;
|
|
1796
2276
|
deployer?: any;
|
|
1797
2277
|
publicKeys?: {
|
|
1798
|
-
masterNullifierPublicKey: string
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
2278
|
+
masterNullifierPublicKey: string | {
|
|
2279
|
+
x: string;
|
|
2280
|
+
y: string;
|
|
2281
|
+
};
|
|
2282
|
+
masterIncomingViewingPublicKey: string | {
|
|
2283
|
+
x: string;
|
|
2284
|
+
y: string;
|
|
2285
|
+
};
|
|
2286
|
+
masterOutgoingViewingPublicKey: string | {
|
|
2287
|
+
x: string;
|
|
2288
|
+
y: string;
|
|
2289
|
+
};
|
|
2290
|
+
masterTaggingPublicKey: string | {
|
|
2291
|
+
x: string;
|
|
2292
|
+
y: string;
|
|
2293
|
+
};
|
|
1802
2294
|
} | undefined;
|
|
1803
2295
|
constructorArgs?: any[] | undefined;
|
|
1804
2296
|
constructorArtifact?: string | {
|
|
@@ -1834,25 +2326,97 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1834
2326
|
originalContractClassId: ZodFor<Fr>;
|
|
1835
2327
|
initializationHash: ZodFor<Fr>;
|
|
1836
2328
|
publicKeys: z.ZodEffects<z.ZodObject<{
|
|
1837
|
-
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
2329
|
+
masterNullifierPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
2330
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2331
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2332
|
+
}, "strip", z.ZodTypeAny, {
|
|
2333
|
+
x: Fr;
|
|
2334
|
+
y: Fr;
|
|
2335
|
+
}, {
|
|
2336
|
+
x: string;
|
|
2337
|
+
y: string;
|
|
2338
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
2339
|
+
x: string;
|
|
2340
|
+
y: string;
|
|
2341
|
+
}>]>;
|
|
2342
|
+
masterIncomingViewingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
2343
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2344
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2345
|
+
}, "strip", z.ZodTypeAny, {
|
|
2346
|
+
x: Fr;
|
|
2347
|
+
y: Fr;
|
|
2348
|
+
}, {
|
|
2349
|
+
x: string;
|
|
2350
|
+
y: string;
|
|
2351
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
2352
|
+
x: string;
|
|
2353
|
+
y: string;
|
|
2354
|
+
}>]>;
|
|
2355
|
+
masterOutgoingViewingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
2356
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2357
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2358
|
+
}, "strip", z.ZodTypeAny, {
|
|
2359
|
+
x: Fr;
|
|
2360
|
+
y: Fr;
|
|
2361
|
+
}, {
|
|
2362
|
+
x: string;
|
|
2363
|
+
y: string;
|
|
2364
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
2365
|
+
x: string;
|
|
2366
|
+
y: string;
|
|
2367
|
+
}>]>;
|
|
2368
|
+
masterTaggingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
2369
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2370
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2371
|
+
}, "strip", z.ZodTypeAny, {
|
|
2372
|
+
x: Fr;
|
|
2373
|
+
y: Fr;
|
|
2374
|
+
}, {
|
|
2375
|
+
x: string;
|
|
2376
|
+
y: string;
|
|
2377
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
2378
|
+
x: string;
|
|
2379
|
+
y: string;
|
|
2380
|
+
}>]>;
|
|
1841
2381
|
}, "strip", z.ZodTypeAny, {
|
|
1842
2382
|
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
1843
2383
|
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1844
2384
|
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1845
2385
|
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1846
2386
|
}, {
|
|
1847
|
-
masterNullifierPublicKey: string
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
2387
|
+
masterNullifierPublicKey: string | {
|
|
2388
|
+
x: string;
|
|
2389
|
+
y: string;
|
|
2390
|
+
};
|
|
2391
|
+
masterIncomingViewingPublicKey: string | {
|
|
2392
|
+
x: string;
|
|
2393
|
+
y: string;
|
|
2394
|
+
};
|
|
2395
|
+
masterOutgoingViewingPublicKey: string | {
|
|
2396
|
+
x: string;
|
|
2397
|
+
y: string;
|
|
2398
|
+
};
|
|
2399
|
+
masterTaggingPublicKey: string | {
|
|
2400
|
+
x: string;
|
|
2401
|
+
y: string;
|
|
2402
|
+
};
|
|
1851
2403
|
}>, PublicKeys, {
|
|
1852
|
-
masterNullifierPublicKey: string
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
2404
|
+
masterNullifierPublicKey: string | {
|
|
2405
|
+
x: string;
|
|
2406
|
+
y: string;
|
|
2407
|
+
};
|
|
2408
|
+
masterIncomingViewingPublicKey: string | {
|
|
2409
|
+
x: string;
|
|
2410
|
+
y: string;
|
|
2411
|
+
};
|
|
2412
|
+
masterOutgoingViewingPublicKey: string | {
|
|
2413
|
+
x: string;
|
|
2414
|
+
y: string;
|
|
2415
|
+
};
|
|
2416
|
+
masterTaggingPublicKey: string | {
|
|
2417
|
+
x: string;
|
|
2418
|
+
y: string;
|
|
2419
|
+
};
|
|
1856
2420
|
}>;
|
|
1857
2421
|
}, "strip", z.ZodTypeAny, {
|
|
1858
2422
|
version: 1;
|
|
@@ -1865,10 +2429,22 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1865
2429
|
}, {
|
|
1866
2430
|
version: 1;
|
|
1867
2431
|
publicKeys: {
|
|
1868
|
-
masterNullifierPublicKey: string
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
2432
|
+
masterNullifierPublicKey: string | {
|
|
2433
|
+
x: string;
|
|
2434
|
+
y: string;
|
|
2435
|
+
};
|
|
2436
|
+
masterIncomingViewingPublicKey: string | {
|
|
2437
|
+
x: string;
|
|
2438
|
+
y: string;
|
|
2439
|
+
};
|
|
2440
|
+
masterOutgoingViewingPublicKey: string | {
|
|
2441
|
+
x: string;
|
|
2442
|
+
y: string;
|
|
2443
|
+
};
|
|
2444
|
+
masterTaggingPublicKey: string | {
|
|
2445
|
+
x: string;
|
|
2446
|
+
y: string;
|
|
2447
|
+
};
|
|
1872
2448
|
};
|
|
1873
2449
|
salt?: any;
|
|
1874
2450
|
deployer?: any;
|
|
@@ -1900,10 +2476,22 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1900
2476
|
instance: {
|
|
1901
2477
|
version: 1;
|
|
1902
2478
|
publicKeys: {
|
|
1903
|
-
masterNullifierPublicKey: string
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
2479
|
+
masterNullifierPublicKey: string | {
|
|
2480
|
+
x: string;
|
|
2481
|
+
y: string;
|
|
2482
|
+
};
|
|
2483
|
+
masterIncomingViewingPublicKey: string | {
|
|
2484
|
+
x: string;
|
|
2485
|
+
y: string;
|
|
2486
|
+
};
|
|
2487
|
+
masterOutgoingViewingPublicKey: string | {
|
|
2488
|
+
x: string;
|
|
2489
|
+
y: string;
|
|
2490
|
+
};
|
|
2491
|
+
masterTaggingPublicKey: string | {
|
|
2492
|
+
x: string;
|
|
2493
|
+
y: string;
|
|
2494
|
+
};
|
|
1907
2495
|
};
|
|
1908
2496
|
salt?: any;
|
|
1909
2497
|
deployer?: any;
|
|
@@ -2294,25 +2882,97 @@ export declare const ContractMetadataSchema: z.ZodObject<{
|
|
|
2294
2882
|
originalContractClassId: ZodFor<Fr>;
|
|
2295
2883
|
initializationHash: ZodFor<Fr>;
|
|
2296
2884
|
publicKeys: z.ZodEffects<z.ZodObject<{
|
|
2297
|
-
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2885
|
+
masterNullifierPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
2886
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2887
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2888
|
+
}, "strip", z.ZodTypeAny, {
|
|
2889
|
+
x: Fr;
|
|
2890
|
+
y: Fr;
|
|
2891
|
+
}, {
|
|
2892
|
+
x: string;
|
|
2893
|
+
y: string;
|
|
2894
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
2895
|
+
x: string;
|
|
2896
|
+
y: string;
|
|
2897
|
+
}>]>;
|
|
2898
|
+
masterIncomingViewingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
2899
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2900
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2901
|
+
}, "strip", z.ZodTypeAny, {
|
|
2902
|
+
x: Fr;
|
|
2903
|
+
y: Fr;
|
|
2904
|
+
}, {
|
|
2905
|
+
x: string;
|
|
2906
|
+
y: string;
|
|
2907
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
2908
|
+
x: string;
|
|
2909
|
+
y: string;
|
|
2910
|
+
}>]>;
|
|
2911
|
+
masterOutgoingViewingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
2912
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2913
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2914
|
+
}, "strip", z.ZodTypeAny, {
|
|
2915
|
+
x: Fr;
|
|
2916
|
+
y: Fr;
|
|
2917
|
+
}, {
|
|
2918
|
+
x: string;
|
|
2919
|
+
y: string;
|
|
2920
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
2921
|
+
x: string;
|
|
2922
|
+
y: string;
|
|
2923
|
+
}>]>;
|
|
2924
|
+
masterTaggingPublicKey: z.ZodUnion<[z.ZodType<import("@aztec/foundation/fields").Point, any, string>, z.ZodEffects<z.ZodObject<{
|
|
2925
|
+
x: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2926
|
+
y: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2927
|
+
}, "strip", z.ZodTypeAny, {
|
|
2928
|
+
x: Fr;
|
|
2929
|
+
y: Fr;
|
|
2930
|
+
}, {
|
|
2931
|
+
x: string;
|
|
2932
|
+
y: string;
|
|
2933
|
+
}>, import("@aztec/foundation/fields").Point, {
|
|
2934
|
+
x: string;
|
|
2935
|
+
y: string;
|
|
2936
|
+
}>]>;
|
|
2301
2937
|
}, "strip", z.ZodTypeAny, {
|
|
2302
2938
|
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
2303
2939
|
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
2304
2940
|
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
2305
2941
|
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
2306
2942
|
}, {
|
|
2307
|
-
masterNullifierPublicKey: string
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2943
|
+
masterNullifierPublicKey: string | {
|
|
2944
|
+
x: string;
|
|
2945
|
+
y: string;
|
|
2946
|
+
};
|
|
2947
|
+
masterIncomingViewingPublicKey: string | {
|
|
2948
|
+
x: string;
|
|
2949
|
+
y: string;
|
|
2950
|
+
};
|
|
2951
|
+
masterOutgoingViewingPublicKey: string | {
|
|
2952
|
+
x: string;
|
|
2953
|
+
y: string;
|
|
2954
|
+
};
|
|
2955
|
+
masterTaggingPublicKey: string | {
|
|
2956
|
+
x: string;
|
|
2957
|
+
y: string;
|
|
2958
|
+
};
|
|
2311
2959
|
}>, PublicKeys, {
|
|
2312
|
-
masterNullifierPublicKey: string
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2960
|
+
masterNullifierPublicKey: string | {
|
|
2961
|
+
x: string;
|
|
2962
|
+
y: string;
|
|
2963
|
+
};
|
|
2964
|
+
masterIncomingViewingPublicKey: string | {
|
|
2965
|
+
x: string;
|
|
2966
|
+
y: string;
|
|
2967
|
+
};
|
|
2968
|
+
masterOutgoingViewingPublicKey: string | {
|
|
2969
|
+
x: string;
|
|
2970
|
+
y: string;
|
|
2971
|
+
};
|
|
2972
|
+
masterTaggingPublicKey: string | {
|
|
2973
|
+
x: string;
|
|
2974
|
+
y: string;
|
|
2975
|
+
};
|
|
2316
2976
|
}>;
|
|
2317
2977
|
}, "strip", z.ZodTypeAny, {
|
|
2318
2978
|
version: 1;
|
|
@@ -2325,10 +2985,22 @@ export declare const ContractMetadataSchema: z.ZodObject<{
|
|
|
2325
2985
|
}, {
|
|
2326
2986
|
version: 1;
|
|
2327
2987
|
publicKeys: {
|
|
2328
|
-
masterNullifierPublicKey: string
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2988
|
+
masterNullifierPublicKey: string | {
|
|
2989
|
+
x: string;
|
|
2990
|
+
y: string;
|
|
2991
|
+
};
|
|
2992
|
+
masterIncomingViewingPublicKey: string | {
|
|
2993
|
+
x: string;
|
|
2994
|
+
y: string;
|
|
2995
|
+
};
|
|
2996
|
+
masterOutgoingViewingPublicKey: string | {
|
|
2997
|
+
x: string;
|
|
2998
|
+
y: string;
|
|
2999
|
+
};
|
|
3000
|
+
masterTaggingPublicKey: string | {
|
|
3001
|
+
x: string;
|
|
3002
|
+
y: string;
|
|
3003
|
+
};
|
|
2332
3004
|
};
|
|
2333
3005
|
salt?: any;
|
|
2334
3006
|
deployer?: any;
|
|
@@ -2364,10 +3036,22 @@ export declare const ContractMetadataSchema: z.ZodObject<{
|
|
|
2364
3036
|
contractInstance?: ({
|
|
2365
3037
|
version: 1;
|
|
2366
3038
|
publicKeys: {
|
|
2367
|
-
masterNullifierPublicKey: string
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
3039
|
+
masterNullifierPublicKey: string | {
|
|
3040
|
+
x: string;
|
|
3041
|
+
y: string;
|
|
3042
|
+
};
|
|
3043
|
+
masterIncomingViewingPublicKey: string | {
|
|
3044
|
+
x: string;
|
|
3045
|
+
y: string;
|
|
3046
|
+
};
|
|
3047
|
+
masterOutgoingViewingPublicKey: string | {
|
|
3048
|
+
x: string;
|
|
3049
|
+
y: string;
|
|
3050
|
+
};
|
|
3051
|
+
masterTaggingPublicKey: string | {
|
|
3052
|
+
x: string;
|
|
3053
|
+
y: string;
|
|
3054
|
+
};
|
|
2371
3055
|
};
|
|
2372
3056
|
salt?: any;
|
|
2373
3057
|
deployer?: any;
|
|
@@ -2381,10 +3065,10 @@ export declare const ContractMetadataSchema: z.ZodObject<{
|
|
|
2381
3065
|
export declare const ContractClassMetadataSchema: z.ZodObject<{
|
|
2382
3066
|
contractClass: z.ZodUnion<[z.ZodObject<{
|
|
2383
3067
|
version: z.ZodLiteral<1>;
|
|
2384
|
-
artifactHash: z.ZodType<Fr, any, string>;
|
|
3068
|
+
artifactHash: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2385
3069
|
privateFunctions: z.ZodArray<z.ZodObject<{
|
|
2386
3070
|
selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
|
|
2387
|
-
vkHash: z.ZodType<Fr, any, string>;
|
|
3071
|
+
vkHash: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2388
3072
|
}, "strip", z.ZodTypeAny, {
|
|
2389
3073
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
2390
3074
|
vkHash: Fr;
|
|
@@ -2392,21 +3076,9 @@ export declare const ContractClassMetadataSchema: z.ZodObject<{
|
|
|
2392
3076
|
vkHash: string;
|
|
2393
3077
|
selector?: any;
|
|
2394
3078
|
}>, "many">;
|
|
2395
|
-
packedBytecode:
|
|
2396
|
-
type: z.ZodLiteral<"Buffer">;
|
|
2397
|
-
data: z.ZodArray<z.ZodNumber, "many">;
|
|
2398
|
-
}, "strip", z.ZodTypeAny, {
|
|
2399
|
-
type: "Buffer";
|
|
2400
|
-
data: number[];
|
|
2401
|
-
}, {
|
|
2402
|
-
type: "Buffer";
|
|
2403
|
-
data: number[];
|
|
2404
|
-
}>, Buffer<ArrayBuffer>, {
|
|
2405
|
-
type: "Buffer";
|
|
2406
|
-
data: number[];
|
|
2407
|
-
}>]>;
|
|
3079
|
+
packedBytecode: ZodFor<Buffer<ArrayBufferLike>>;
|
|
2408
3080
|
} & {
|
|
2409
|
-
id: z.ZodType<Fr, any, string>;
|
|
3081
|
+
id: z.ZodUnion<[z.ZodType<Fr, any, string>, z.ZodType<never, any, string>]>;
|
|
2410
3082
|
}, "strip", z.ZodTypeAny, {
|
|
2411
3083
|
version: 1;
|
|
2412
3084
|
artifactHash: Fr;
|
|
@@ -2414,7 +3086,7 @@ export declare const ContractClassMetadataSchema: z.ZodObject<{
|
|
|
2414
3086
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
2415
3087
|
vkHash: Fr;
|
|
2416
3088
|
}[];
|
|
2417
|
-
packedBytecode: Buffer<
|
|
3089
|
+
packedBytecode: Buffer<ArrayBufferLike>;
|
|
2418
3090
|
id: Fr;
|
|
2419
3091
|
}, {
|
|
2420
3092
|
version: 1;
|
|
@@ -2423,11 +3095,8 @@ export declare const ContractClassMetadataSchema: z.ZodObject<{
|
|
|
2423
3095
|
vkHash: string;
|
|
2424
3096
|
selector?: any;
|
|
2425
3097
|
}[];
|
|
2426
|
-
packedBytecode: string | {
|
|
2427
|
-
type: "Buffer";
|
|
2428
|
-
data: number[];
|
|
2429
|
-
};
|
|
2430
3098
|
id: string;
|
|
3099
|
+
packedBytecode?: any;
|
|
2431
3100
|
}>, z.ZodUndefined]>;
|
|
2432
3101
|
isContractClassPubliclyRegistered: z.ZodBoolean;
|
|
2433
3102
|
artifact: z.ZodUnion<[ZodFor<ContractArtifact>, z.ZodUndefined]>;
|
|
@@ -2441,7 +3110,7 @@ export declare const ContractClassMetadataSchema: z.ZodObject<{
|
|
|
2441
3110
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
2442
3111
|
vkHash: Fr;
|
|
2443
3112
|
}[];
|
|
2444
|
-
packedBytecode: Buffer<
|
|
3113
|
+
packedBytecode: Buffer<ArrayBufferLike>;
|
|
2445
3114
|
id: Fr;
|
|
2446
3115
|
} | undefined;
|
|
2447
3116
|
}, {
|
|
@@ -2454,11 +3123,8 @@ export declare const ContractClassMetadataSchema: z.ZodObject<{
|
|
|
2454
3123
|
vkHash: string;
|
|
2455
3124
|
selector?: any;
|
|
2456
3125
|
}[];
|
|
2457
|
-
packedBytecode: string | {
|
|
2458
|
-
type: "Buffer";
|
|
2459
|
-
data: number[];
|
|
2460
|
-
};
|
|
2461
3126
|
id: string;
|
|
3127
|
+
packedBytecode?: any;
|
|
2462
3128
|
} | undefined;
|
|
2463
3129
|
}>;
|
|
2464
3130
|
export declare const EventMetadataDefinitionSchema: z.ZodObject<{
|