@aztec/aztec.js 3.0.0-nightly.20251111 → 3.0.0-nightly.20251113
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/account/account.d.ts +1 -2
- package/dest/account/account.d.ts.map +1 -1
- package/dest/account/signerless_account.d.ts +1 -2
- package/dest/account/signerless_account.d.ts.map +1 -1
- package/dest/api/contract.d.ts +1 -1
- package/dest/api/contract.d.ts.map +1 -1
- package/dest/api/tx.d.ts +1 -1
- package/dest/api/tx.d.ts.map +1 -1
- package/dest/api/tx.js +1 -1
- package/dest/api/wallet.d.ts +1 -1
- package/dest/api/wallet.d.ts.map +1 -1
- package/dest/api/wallet.js +1 -1
- package/dest/contract/base_contract_interaction.d.ts +1 -2
- package/dest/contract/base_contract_interaction.d.ts.map +1 -1
- package/dest/contract/base_contract_interaction.js +1 -1
- package/dest/contract/batch_call.d.ts +1 -1
- package/dest/contract/batch_call.d.ts.map +1 -1
- package/dest/contract/batch_call.js +9 -8
- package/dest/contract/contract_function_interaction.d.ts +1 -1
- package/dest/contract/contract_function_interaction.d.ts.map +1 -1
- package/dest/contract/contract_function_interaction.js +9 -6
- package/dest/contract/deploy_method.d.ts +1 -1
- package/dest/contract/deploy_method.d.ts.map +1 -1
- package/dest/contract/deploy_method.js +4 -4
- package/dest/contract/interaction_options.d.ts +3 -3
- package/dest/contract/interaction_options.d.ts.map +1 -1
- package/dest/contract/interaction_options.js +4 -10
- package/dest/fee/fee_juice_payment_method_with_claim.d.ts +1 -1
- package/dest/fee/fee_juice_payment_method_with_claim.d.ts.map +1 -1
- package/dest/fee/fee_juice_payment_method_with_claim.js +2 -2
- package/dest/fee/fee_payment_method.d.ts +1 -1
- package/dest/fee/fee_payment_method.d.ts.map +1 -1
- package/dest/fee/private_fee_payment_method.d.ts +1 -1
- package/dest/fee/private_fee_payment_method.d.ts.map +1 -1
- package/dest/fee/private_fee_payment_method.js +3 -3
- package/dest/fee/public_fee_payment_method.d.ts +1 -1
- package/dest/fee/public_fee_payment_method.d.ts.map +1 -1
- package/dest/fee/public_fee_payment_method.js +3 -3
- package/dest/fee/sponsored_fee_payment.d.ts +1 -1
- package/dest/fee/sponsored_fee_payment.d.ts.map +1 -1
- package/dest/fee/sponsored_fee_payment.js +2 -2
- package/dest/utils/authwit.d.ts.map +1 -1
- package/dest/utils/authwit.js +20 -4
- package/dest/utils/fee_juice.d.ts +1 -1
- package/dest/utils/fee_juice.js +1 -1
- package/dest/wallet/account_entrypoint_meta_payment_method.d.ts +1 -1
- package/dest/wallet/account_entrypoint_meta_payment_method.d.ts.map +1 -1
- package/dest/wallet/account_entrypoint_meta_payment_method.js +2 -2
- package/dest/wallet/base_wallet.d.ts +16 -14
- package/dest/wallet/base_wallet.d.ts.map +1 -1
- package/dest/wallet/base_wallet.js +27 -26
- package/dest/wallet/deploy_account_method.d.ts +1 -1
- package/dest/wallet/deploy_account_method.d.ts.map +1 -1
- package/dest/wallet/deploy_account_method.js +1 -1
- package/dest/wallet/wallet.d.ts +214 -915
- package/dest/wallet/wallet.d.ts.map +1 -1
- package/dest/wallet/wallet.js +8 -10
- package/package.json +8 -8
- package/src/account/account.ts +1 -2
- package/src/account/signerless_account.ts +1 -2
- package/src/api/contract.ts +1 -0
- package/src/api/tx.ts +1 -0
- package/src/api/wallet.ts +1 -2
- package/src/contract/base_contract_interaction.ts +2 -3
- package/src/contract/batch_call.ts +7 -5
- package/src/contract/contract_function_interaction.ts +10 -11
- package/src/contract/deploy_method.ts +4 -4
- package/src/contract/interaction_options.ts +4 -10
- package/src/fee/fee_juice_payment_method_with_claim.ts +3 -1
- package/src/fee/fee_payment_method.ts +1 -1
- package/src/fee/private_fee_payment_method.ts +4 -2
- package/src/fee/public_fee_payment_method.ts +4 -2
- package/src/fee/sponsored_fee_payment.ts +3 -1
- package/src/utils/authwit.ts +15 -4
- package/src/utils/fee_juice.ts +1 -1
- package/src/wallet/account_entrypoint_meta_payment_method.ts +2 -1
- package/src/wallet/base_wallet.ts +43 -32
- package/src/wallet/deploy_account_method.ts +1 -1
- package/src/wallet/wallet.ts +12 -24
package/dest/wallet/wallet.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ChainInfo } from '@aztec/entrypoints/interfaces';
|
|
2
|
-
import type { ExecutionPayload } from '@aztec/entrypoints/payload';
|
|
3
2
|
import type { Fr } from '@aztec/foundation/fields';
|
|
4
|
-
import { type ContractArtifact, type EventMetadataDefinition, FunctionType } from '@aztec/stdlib/abi';
|
|
3
|
+
import { type ContractArtifact, type EventMetadataDefinition, type FunctionCall, FunctionType } from '@aztec/stdlib/abi';
|
|
5
4
|
import { AuthWitness } from '@aztec/stdlib/auth-witness';
|
|
6
5
|
import type { AztecAddress } from '@aztec/stdlib/aztec-address';
|
|
7
6
|
import { type ContractClassMetadata, type ContractInstanceWithAddress, type ContractInstantiationData, type ContractMetadata } from '@aztec/stdlib/contract';
|
|
@@ -9,6 +8,7 @@ import { Gas } from '@aztec/stdlib/gas';
|
|
|
9
8
|
import { PublicKeys } from '@aztec/stdlib/keys';
|
|
10
9
|
import { type ApiSchemaFor, type ZodFor } from '@aztec/stdlib/schemas';
|
|
11
10
|
import { Capsule, HashedValues, TxHash, TxProfileResult, TxReceipt, TxSimulationResult, UtilitySimulationResult } from '@aztec/stdlib/tx';
|
|
11
|
+
import type { ExecutionPayload } from '@aztec/stdlib/tx';
|
|
12
12
|
import { z } from 'zod';
|
|
13
13
|
import type { Contract } from '../contract/contract.js';
|
|
14
14
|
import type { FeeEstimationOptions, GasSettingsOption, ProfileInteractionOptions, SendInteractionOptions, SimulateInteractionOptions } from '../contract/interaction_options.js';
|
|
@@ -30,16 +30,6 @@ export type Aliased<T> = {
|
|
|
30
30
|
* A reduced representation of a Contract, only including its instance and artifact
|
|
31
31
|
*/
|
|
32
32
|
export type ContractInstanceAndArtifact = Pick<Contract, 'artifact' | 'instance'>;
|
|
33
|
-
/**
|
|
34
|
-
* Options that can be provided to the wallet for configuration of the fee payment.
|
|
35
|
-
*/
|
|
36
|
-
export type UserFeeOptions = {
|
|
37
|
-
/**
|
|
38
|
-
* Informs the wallet that the crafted tx already contains the necessary calls to pay for its fee
|
|
39
|
-
* and who is paying
|
|
40
|
-
*/
|
|
41
|
-
embeddedPaymentMethodFeePayer?: AztecAddress;
|
|
42
|
-
} & GasSettingsOption;
|
|
43
33
|
/**
|
|
44
34
|
* Options for simulating interactions with the wallet. Overrides the fee settings of an interaction with
|
|
45
35
|
* a simplified version that only hints at the wallet wether the interaction contains a
|
|
@@ -47,7 +37,7 @@ export type UserFeeOptions = {
|
|
|
47
37
|
*/
|
|
48
38
|
export type SimulateOptions = Omit<SimulateInteractionOptions, 'fee'> & {
|
|
49
39
|
/** The fee options */
|
|
50
|
-
fee?:
|
|
40
|
+
fee?: GasSettingsOption & FeeEstimationOptions;
|
|
51
41
|
};
|
|
52
42
|
/**
|
|
53
43
|
* Options for profiling interactions with the wallet. Overrides the fee settings of an interaction with
|
|
@@ -56,7 +46,7 @@ export type SimulateOptions = Omit<SimulateInteractionOptions, 'fee'> & {
|
|
|
56
46
|
*/
|
|
57
47
|
export type ProfileOptions = Omit<ProfileInteractionOptions, 'fee'> & {
|
|
58
48
|
/** The fee options */
|
|
59
|
-
fee?:
|
|
49
|
+
fee?: GasSettingsOption;
|
|
60
50
|
};
|
|
61
51
|
/**
|
|
62
52
|
* Options for sending/proving interactions with the wallet. Overrides the fee settings of an interaction with
|
|
@@ -65,7 +55,7 @@ export type ProfileOptions = Omit<ProfileInteractionOptions, 'fee'> & {
|
|
|
65
55
|
*/
|
|
66
56
|
export type SendOptions = Omit<SendInteractionOptions, 'fee'> & {
|
|
67
57
|
/** The fee options */
|
|
68
|
-
fee?:
|
|
58
|
+
fee?: GasSettingsOption;
|
|
69
59
|
};
|
|
70
60
|
/**
|
|
71
61
|
* Helper type that represents all methods that can be batched.
|
|
@@ -118,7 +108,7 @@ export type Wallet = {
|
|
|
118
108
|
registerContract(instanceData: AztecAddress | ContractInstanceWithAddress | ContractInstantiationData | ContractInstanceAndArtifact, artifact: ContractArtifact): Promise<ContractInstanceWithAddress>;
|
|
119
109
|
registerContract(instanceData: AztecAddress | ContractInstanceWithAddress | ContractInstantiationData | ContractInstanceAndArtifact, artifact: ContractArtifact | undefined, secretKey: Fr | undefined): Promise<ContractInstanceWithAddress>;
|
|
120
110
|
simulateTx(exec: ExecutionPayload, opts: SimulateOptions): Promise<TxSimulationResult>;
|
|
121
|
-
simulateUtility(
|
|
111
|
+
simulateUtility(call: FunctionCall, authwits?: AuthWitness[], scopes?: AztecAddress[]): Promise<UtilitySimulationResult>;
|
|
122
112
|
profileTx(exec: ExecutionPayload, opts: ProfileOptions): Promise<TxProfileResult>;
|
|
123
113
|
sendTx(exec: ExecutionPayload, opts: SendOptions): Promise<TxHash>;
|
|
124
114
|
createAuthWit(from: AztecAddress, messageHashOrIntent: Fr | IntentInnerHash | CallIntent): Promise<AuthWitness>;
|
|
@@ -128,7 +118,7 @@ export declare const ContractInstantiationDataSchema: z.ZodObject<{
|
|
|
128
118
|
constructorArtifact: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodObject<{
|
|
129
119
|
name: z.ZodString;
|
|
130
120
|
functionType: z.ZodNativeEnum<typeof FunctionType>;
|
|
131
|
-
|
|
121
|
+
isOnlySelf: z.ZodBoolean;
|
|
132
122
|
isStatic: z.ZodBoolean;
|
|
133
123
|
isInitializer: z.ZodBoolean;
|
|
134
124
|
parameters: z.ZodArray<z.ZodObject<{
|
|
@@ -181,7 +171,7 @@ export declare const ContractInstantiationDataSchema: z.ZodObject<{
|
|
|
181
171
|
visibility: "public" | "private" | "databus";
|
|
182
172
|
}[];
|
|
183
173
|
functionType: FunctionType;
|
|
184
|
-
|
|
174
|
+
isOnlySelf: boolean;
|
|
185
175
|
isStatic: boolean;
|
|
186
176
|
isInitializer: boolean;
|
|
187
177
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
@@ -203,7 +193,7 @@ export declare const ContractInstantiationDataSchema: z.ZodObject<{
|
|
|
203
193
|
visibility: "public" | "private" | "databus";
|
|
204
194
|
}[];
|
|
205
195
|
functionType: FunctionType;
|
|
206
|
-
|
|
196
|
+
isOnlySelf: boolean;
|
|
207
197
|
isStatic: boolean;
|
|
208
198
|
isInitializer: boolean;
|
|
209
199
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
@@ -222,97 +212,25 @@ export declare const ContractInstantiationDataSchema: z.ZodObject<{
|
|
|
222
212
|
skipArgsDecoding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
|
|
223
213
|
salt: ZodFor<Fr>;
|
|
224
214
|
publicKeys: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
225
|
-
masterNullifierPublicKey: z.
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
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
|
-
}>]>;
|
|
215
|
+
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
216
|
+
masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
217
|
+
masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
218
|
+
masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
277
219
|
}, "strip", z.ZodTypeAny, {
|
|
278
220
|
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
279
221
|
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
280
222
|
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
281
223
|
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
282
224
|
}, {
|
|
283
|
-
masterNullifierPublicKey: string
|
|
284
|
-
|
|
285
|
-
|
|
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
|
-
};
|
|
225
|
+
masterNullifierPublicKey: string;
|
|
226
|
+
masterIncomingViewingPublicKey: string;
|
|
227
|
+
masterOutgoingViewingPublicKey: string;
|
|
228
|
+
masterTaggingPublicKey: string;
|
|
299
229
|
}>, PublicKeys, {
|
|
300
|
-
masterNullifierPublicKey: string
|
|
301
|
-
|
|
302
|
-
|
|
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
|
-
};
|
|
230
|
+
masterNullifierPublicKey: string;
|
|
231
|
+
masterIncomingViewingPublicKey: string;
|
|
232
|
+
masterOutgoingViewingPublicKey: string;
|
|
233
|
+
masterTaggingPublicKey: string;
|
|
316
234
|
}>>;
|
|
317
235
|
deployer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
318
236
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -328,7 +246,7 @@ export declare const ContractInstantiationDataSchema: z.ZodObject<{
|
|
|
328
246
|
visibility: "public" | "private" | "databus";
|
|
329
247
|
}[];
|
|
330
248
|
functionType: FunctionType;
|
|
331
|
-
|
|
249
|
+
isOnlySelf: boolean;
|
|
332
250
|
isStatic: boolean;
|
|
333
251
|
isInitializer: boolean;
|
|
334
252
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
@@ -348,22 +266,10 @@ export declare const ContractInstantiationDataSchema: z.ZodObject<{
|
|
|
348
266
|
salt?: any;
|
|
349
267
|
deployer?: any;
|
|
350
268
|
publicKeys?: {
|
|
351
|
-
masterNullifierPublicKey: string
|
|
352
|
-
|
|
353
|
-
|
|
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
|
-
};
|
|
269
|
+
masterNullifierPublicKey: string;
|
|
270
|
+
masterIncomingViewingPublicKey: string;
|
|
271
|
+
masterOutgoingViewingPublicKey: string;
|
|
272
|
+
masterTaggingPublicKey: string;
|
|
367
273
|
} | undefined;
|
|
368
274
|
constructorArgs?: any[] | undefined;
|
|
369
275
|
constructorArtifact?: string | {
|
|
@@ -374,7 +280,7 @@ export declare const ContractInstantiationDataSchema: z.ZodObject<{
|
|
|
374
280
|
visibility: "public" | "private" | "databus";
|
|
375
281
|
}[];
|
|
376
282
|
functionType: FunctionType;
|
|
377
|
-
|
|
283
|
+
isOnlySelf: boolean;
|
|
378
284
|
isStatic: boolean;
|
|
379
285
|
isInitializer: boolean;
|
|
380
286
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
@@ -480,7 +386,7 @@ export declare const ExecutionPayloadSchema: z.ZodObject<{
|
|
|
480
386
|
}[];
|
|
481
387
|
extraHashedArgs: any[];
|
|
482
388
|
}>;
|
|
483
|
-
export declare const
|
|
389
|
+
export declare const GasSettingsOptionSchema: z.ZodObject<{
|
|
484
390
|
gasSettings: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
|
|
485
391
|
gasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
486
392
|
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
@@ -557,9 +463,7 @@ export declare const UserFeeOptionsSchema: z.ZodObject<{
|
|
|
557
463
|
feePerL2Gas: string | number | bigint;
|
|
558
464
|
} | undefined;
|
|
559
465
|
}>>;
|
|
560
|
-
embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
561
466
|
}, "strip", z.ZodTypeAny, {
|
|
562
|
-
embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
|
|
563
467
|
gasSettings?: {
|
|
564
468
|
gasLimits?: Gas | undefined;
|
|
565
469
|
teardownGasLimits?: Gas | undefined;
|
|
@@ -573,7 +477,6 @@ export declare const UserFeeOptionsSchema: z.ZodObject<{
|
|
|
573
477
|
} | undefined;
|
|
574
478
|
} | undefined;
|
|
575
479
|
}, {
|
|
576
|
-
embeddedPaymentMethodFeePayer?: any;
|
|
577
480
|
gasSettings?: {
|
|
578
481
|
gasLimits?: {
|
|
579
482
|
daGas: string | number | bigint;
|
|
@@ -670,12 +573,10 @@ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
|
|
|
670
573
|
feePerL2Gas: string | number | bigint;
|
|
671
574
|
} | undefined;
|
|
672
575
|
}>>;
|
|
673
|
-
embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
674
576
|
} & {
|
|
675
577
|
estimatedGasPadding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
|
|
676
578
|
estimateGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
|
|
677
579
|
}, "strip", z.ZodTypeAny, {
|
|
678
|
-
embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
|
|
679
580
|
gasSettings?: {
|
|
680
581
|
gasLimits?: Gas | undefined;
|
|
681
582
|
teardownGasLimits?: Gas | undefined;
|
|
@@ -691,7 +592,6 @@ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
|
|
|
691
592
|
estimateGas?: boolean | undefined;
|
|
692
593
|
estimatedGasPadding?: number | undefined;
|
|
693
594
|
}, {
|
|
694
|
-
embeddedPaymentMethodFeePayer?: any;
|
|
695
595
|
gasSettings?: {
|
|
696
596
|
gasLimits?: {
|
|
697
597
|
daGas: string | number | bigint;
|
|
@@ -794,9 +694,7 @@ export declare const SendOptionsSchema: z.ZodObject<{
|
|
|
794
694
|
feePerL2Gas: string | number | bigint;
|
|
795
695
|
} | undefined;
|
|
796
696
|
}>>;
|
|
797
|
-
embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
798
697
|
}, "strip", z.ZodTypeAny, {
|
|
799
|
-
embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
|
|
800
698
|
gasSettings?: {
|
|
801
699
|
gasLimits?: Gas | undefined;
|
|
802
700
|
teardownGasLimits?: Gas | undefined;
|
|
@@ -810,7 +708,6 @@ export declare const SendOptionsSchema: z.ZodObject<{
|
|
|
810
708
|
} | undefined;
|
|
811
709
|
} | undefined;
|
|
812
710
|
}, {
|
|
813
|
-
embeddedPaymentMethodFeePayer?: any;
|
|
814
711
|
gasSettings?: {
|
|
815
712
|
gasLimits?: {
|
|
816
713
|
daGas: string | number | bigint;
|
|
@@ -833,7 +730,6 @@ export declare const SendOptionsSchema: z.ZodObject<{
|
|
|
833
730
|
}, "strip", z.ZodTypeAny, {
|
|
834
731
|
from: AztecAddress;
|
|
835
732
|
fee?: {
|
|
836
|
-
embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
|
|
837
733
|
gasSettings?: {
|
|
838
734
|
gasLimits?: Gas | undefined;
|
|
839
735
|
teardownGasLimits?: Gas | undefined;
|
|
@@ -851,7 +747,6 @@ export declare const SendOptionsSchema: z.ZodObject<{
|
|
|
851
747
|
capsules?: Capsule[] | undefined;
|
|
852
748
|
}, {
|
|
853
749
|
fee?: {
|
|
854
|
-
embeddedPaymentMethodFeePayer?: any;
|
|
855
750
|
gasSettings?: {
|
|
856
751
|
gasLimits?: {
|
|
857
752
|
daGas: string | number | bigint;
|
|
@@ -956,12 +851,10 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
|
|
|
956
851
|
feePerL2Gas: string | number | bigint;
|
|
957
852
|
} | undefined;
|
|
958
853
|
}>>;
|
|
959
|
-
embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
960
854
|
} & {
|
|
961
855
|
estimatedGasPadding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
|
|
962
856
|
estimateGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
|
|
963
857
|
}, "strip", z.ZodTypeAny, {
|
|
964
|
-
embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
|
|
965
858
|
gasSettings?: {
|
|
966
859
|
gasLimits?: Gas | undefined;
|
|
967
860
|
teardownGasLimits?: Gas | undefined;
|
|
@@ -977,7 +870,6 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
|
|
|
977
870
|
estimateGas?: boolean | undefined;
|
|
978
871
|
estimatedGasPadding?: number | undefined;
|
|
979
872
|
}, {
|
|
980
|
-
embeddedPaymentMethodFeePayer?: any;
|
|
981
873
|
gasSettings?: {
|
|
982
874
|
gasLimits?: {
|
|
983
875
|
daGas: string | number | bigint;
|
|
@@ -1005,7 +897,6 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
|
|
|
1005
897
|
}, "strip", z.ZodTypeAny, {
|
|
1006
898
|
from: AztecAddress;
|
|
1007
899
|
fee?: {
|
|
1008
|
-
embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
|
|
1009
900
|
gasSettings?: {
|
|
1010
901
|
gasLimits?: Gas | undefined;
|
|
1011
902
|
teardownGasLimits?: Gas | undefined;
|
|
@@ -1028,7 +919,6 @@ export declare const SimulateOptionsSchema: z.ZodObject<{
|
|
|
1028
919
|
includeMetadata?: boolean | undefined;
|
|
1029
920
|
}, {
|
|
1030
921
|
fee?: {
|
|
1031
|
-
embeddedPaymentMethodFeePayer?: any;
|
|
1032
922
|
gasSettings?: {
|
|
1033
923
|
gasLimits?: {
|
|
1034
924
|
daGas: string | number | bigint;
|
|
@@ -1138,12 +1028,10 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
|
|
|
1138
1028
|
feePerL2Gas: string | number | bigint;
|
|
1139
1029
|
} | undefined;
|
|
1140
1030
|
}>>;
|
|
1141
|
-
embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
1142
1031
|
} & {
|
|
1143
1032
|
estimatedGasPadding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
|
|
1144
1033
|
estimateGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
|
|
1145
1034
|
}, "strip", z.ZodTypeAny, {
|
|
1146
|
-
embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
|
|
1147
1035
|
gasSettings?: {
|
|
1148
1036
|
gasLimits?: Gas | undefined;
|
|
1149
1037
|
teardownGasLimits?: Gas | undefined;
|
|
@@ -1159,7 +1047,6 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
|
|
|
1159
1047
|
estimateGas?: boolean | undefined;
|
|
1160
1048
|
estimatedGasPadding?: number | undefined;
|
|
1161
1049
|
}, {
|
|
1162
|
-
embeddedPaymentMethodFeePayer?: any;
|
|
1163
1050
|
gasSettings?: {
|
|
1164
1051
|
gasLimits?: {
|
|
1165
1052
|
daGas: string | number | bigint;
|
|
@@ -1191,7 +1078,6 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
|
|
|
1191
1078
|
from: AztecAddress;
|
|
1192
1079
|
profileMode: "gates" | "execution-steps" | "full";
|
|
1193
1080
|
fee?: {
|
|
1194
|
-
embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
|
|
1195
1081
|
gasSettings?: {
|
|
1196
1082
|
gasLimits?: Gas | undefined;
|
|
1197
1083
|
teardownGasLimits?: Gas | undefined;
|
|
@@ -1216,7 +1102,6 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
|
|
|
1216
1102
|
}, {
|
|
1217
1103
|
profileMode: "gates" | "execution-steps" | "full";
|
|
1218
1104
|
fee?: {
|
|
1219
|
-
embeddedPaymentMethodFeePayer?: any;
|
|
1220
1105
|
gasSettings?: {
|
|
1221
1106
|
gasLimits?: {
|
|
1222
1107
|
daGas: string | number | bigint;
|
|
@@ -1254,97 +1139,25 @@ export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.Zod
|
|
|
1254
1139
|
originalContractClassId: ZodFor<Fr>;
|
|
1255
1140
|
initializationHash: ZodFor<Fr>;
|
|
1256
1141
|
publicKeys: z.ZodEffects<z.ZodObject<{
|
|
1257
|
-
masterNullifierPublicKey: z.
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
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
|
-
}>]>;
|
|
1142
|
+
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1143
|
+
masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1144
|
+
masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1145
|
+
masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1309
1146
|
}, "strip", z.ZodTypeAny, {
|
|
1310
1147
|
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
1311
1148
|
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1312
1149
|
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1313
1150
|
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1314
1151
|
}, {
|
|
1315
|
-
masterNullifierPublicKey: string
|
|
1316
|
-
|
|
1317
|
-
|
|
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
|
-
};
|
|
1152
|
+
masterNullifierPublicKey: string;
|
|
1153
|
+
masterIncomingViewingPublicKey: string;
|
|
1154
|
+
masterOutgoingViewingPublicKey: string;
|
|
1155
|
+
masterTaggingPublicKey: string;
|
|
1331
1156
|
}>, PublicKeys, {
|
|
1332
|
-
masterNullifierPublicKey: string
|
|
1333
|
-
|
|
1334
|
-
|
|
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
|
-
};
|
|
1157
|
+
masterNullifierPublicKey: string;
|
|
1158
|
+
masterIncomingViewingPublicKey: string;
|
|
1159
|
+
masterOutgoingViewingPublicKey: string;
|
|
1160
|
+
masterTaggingPublicKey: string;
|
|
1348
1161
|
}>;
|
|
1349
1162
|
}, "strip", z.ZodTypeAny, {
|
|
1350
1163
|
version: 1;
|
|
@@ -1357,22 +1170,10 @@ export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.Zod
|
|
|
1357
1170
|
}, {
|
|
1358
1171
|
version: 1;
|
|
1359
1172
|
publicKeys: {
|
|
1360
|
-
masterNullifierPublicKey: string
|
|
1361
|
-
|
|
1362
|
-
|
|
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
|
-
};
|
|
1173
|
+
masterNullifierPublicKey: string;
|
|
1174
|
+
masterIncomingViewingPublicKey: string;
|
|
1175
|
+
masterOutgoingViewingPublicKey: string;
|
|
1176
|
+
masterTaggingPublicKey: string;
|
|
1376
1177
|
};
|
|
1377
1178
|
salt?: any;
|
|
1378
1179
|
deployer?: any;
|
|
@@ -1389,7 +1190,7 @@ export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.Zod
|
|
|
1389
1190
|
constructorArtifact: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodObject<{
|
|
1390
1191
|
name: z.ZodString;
|
|
1391
1192
|
functionType: z.ZodNativeEnum<typeof FunctionType>;
|
|
1392
|
-
|
|
1193
|
+
isOnlySelf: z.ZodBoolean;
|
|
1393
1194
|
isStatic: z.ZodBoolean;
|
|
1394
1195
|
isInitializer: z.ZodBoolean;
|
|
1395
1196
|
parameters: z.ZodArray<z.ZodObject<{
|
|
@@ -1442,7 +1243,7 @@ export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.Zod
|
|
|
1442
1243
|
visibility: "public" | "private" | "databus";
|
|
1443
1244
|
}[];
|
|
1444
1245
|
functionType: FunctionType;
|
|
1445
|
-
|
|
1246
|
+
isOnlySelf: boolean;
|
|
1446
1247
|
isStatic: boolean;
|
|
1447
1248
|
isInitializer: boolean;
|
|
1448
1249
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
@@ -1464,7 +1265,7 @@ export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.Zod
|
|
|
1464
1265
|
visibility: "public" | "private" | "databus";
|
|
1465
1266
|
}[];
|
|
1466
1267
|
functionType: FunctionType;
|
|
1467
|
-
|
|
1268
|
+
isOnlySelf: boolean;
|
|
1468
1269
|
isStatic: boolean;
|
|
1469
1270
|
isInitializer: boolean;
|
|
1470
1271
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
@@ -1483,97 +1284,25 @@ export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.Zod
|
|
|
1483
1284
|
skipArgsDecoding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
|
|
1484
1285
|
salt: ZodFor<Fr>;
|
|
1485
1286
|
publicKeys: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
1486
|
-
masterNullifierPublicKey: z.
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
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
|
-
}>]>;
|
|
1287
|
+
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1288
|
+
masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1289
|
+
masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1290
|
+
masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1538
1291
|
}, "strip", z.ZodTypeAny, {
|
|
1539
1292
|
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
1540
1293
|
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1541
1294
|
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1542
1295
|
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1543
1296
|
}, {
|
|
1544
|
-
masterNullifierPublicKey: string
|
|
1545
|
-
|
|
1546
|
-
|
|
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
|
-
};
|
|
1297
|
+
masterNullifierPublicKey: string;
|
|
1298
|
+
masterIncomingViewingPublicKey: string;
|
|
1299
|
+
masterOutgoingViewingPublicKey: string;
|
|
1300
|
+
masterTaggingPublicKey: string;
|
|
1560
1301
|
}>, PublicKeys, {
|
|
1561
|
-
masterNullifierPublicKey: string
|
|
1562
|
-
|
|
1563
|
-
|
|
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
|
-
};
|
|
1302
|
+
masterNullifierPublicKey: string;
|
|
1303
|
+
masterIncomingViewingPublicKey: string;
|
|
1304
|
+
masterOutgoingViewingPublicKey: string;
|
|
1305
|
+
masterTaggingPublicKey: string;
|
|
1577
1306
|
}>>;
|
|
1578
1307
|
deployer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
1579
1308
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1589,7 +1318,7 @@ export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.Zod
|
|
|
1589
1318
|
visibility: "public" | "private" | "databus";
|
|
1590
1319
|
}[];
|
|
1591
1320
|
functionType: FunctionType;
|
|
1592
|
-
|
|
1321
|
+
isOnlySelf: boolean;
|
|
1593
1322
|
isStatic: boolean;
|
|
1594
1323
|
isInitializer: boolean;
|
|
1595
1324
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
@@ -1609,22 +1338,10 @@ export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.Zod
|
|
|
1609
1338
|
salt?: any;
|
|
1610
1339
|
deployer?: any;
|
|
1611
1340
|
publicKeys?: {
|
|
1612
|
-
masterNullifierPublicKey: string
|
|
1613
|
-
|
|
1614
|
-
|
|
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
|
-
};
|
|
1341
|
+
masterNullifierPublicKey: string;
|
|
1342
|
+
masterIncomingViewingPublicKey: string;
|
|
1343
|
+
masterOutgoingViewingPublicKey: string;
|
|
1344
|
+
masterTaggingPublicKey: string;
|
|
1628
1345
|
} | undefined;
|
|
1629
1346
|
constructorArgs?: any[] | undefined;
|
|
1630
1347
|
constructorArtifact?: string | {
|
|
@@ -1635,7 +1352,7 @@ export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.Zod
|
|
|
1635
1352
|
visibility: "public" | "private" | "databus";
|
|
1636
1353
|
}[];
|
|
1637
1354
|
functionType: FunctionType;
|
|
1638
|
-
|
|
1355
|
+
isOnlySelf: boolean;
|
|
1639
1356
|
isStatic: boolean;
|
|
1640
1357
|
isInitializer: boolean;
|
|
1641
1358
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
@@ -1660,97 +1377,25 @@ export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.Zod
|
|
|
1660
1377
|
originalContractClassId: ZodFor<Fr>;
|
|
1661
1378
|
initializationHash: ZodFor<Fr>;
|
|
1662
1379
|
publicKeys: z.ZodEffects<z.ZodObject<{
|
|
1663
|
-
masterNullifierPublicKey: z.
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
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
|
-
}>]>;
|
|
1380
|
+
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1381
|
+
masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1382
|
+
masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1383
|
+
masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1715
1384
|
}, "strip", z.ZodTypeAny, {
|
|
1716
1385
|
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
1717
1386
|
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1718
1387
|
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1719
1388
|
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1720
1389
|
}, {
|
|
1721
|
-
masterNullifierPublicKey: string
|
|
1722
|
-
|
|
1723
|
-
|
|
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
|
-
};
|
|
1390
|
+
masterNullifierPublicKey: string;
|
|
1391
|
+
masterIncomingViewingPublicKey: string;
|
|
1392
|
+
masterOutgoingViewingPublicKey: string;
|
|
1393
|
+
masterTaggingPublicKey: string;
|
|
1737
1394
|
}>, PublicKeys, {
|
|
1738
|
-
masterNullifierPublicKey: string
|
|
1739
|
-
|
|
1740
|
-
|
|
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
|
-
};
|
|
1395
|
+
masterNullifierPublicKey: string;
|
|
1396
|
+
masterIncomingViewingPublicKey: string;
|
|
1397
|
+
masterOutgoingViewingPublicKey: string;
|
|
1398
|
+
masterTaggingPublicKey: string;
|
|
1754
1399
|
}>;
|
|
1755
1400
|
}, "strip", z.ZodTypeAny, {
|
|
1756
1401
|
version: 1;
|
|
@@ -1763,22 +1408,10 @@ export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.Zod
|
|
|
1763
1408
|
}, {
|
|
1764
1409
|
version: 1;
|
|
1765
1410
|
publicKeys: {
|
|
1766
|
-
masterNullifierPublicKey: string
|
|
1767
|
-
|
|
1768
|
-
|
|
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
|
-
};
|
|
1411
|
+
masterNullifierPublicKey: string;
|
|
1412
|
+
masterIncomingViewingPublicKey: string;
|
|
1413
|
+
masterOutgoingViewingPublicKey: string;
|
|
1414
|
+
masterTaggingPublicKey: string;
|
|
1782
1415
|
};
|
|
1783
1416
|
salt?: any;
|
|
1784
1417
|
deployer?: any;
|
|
@@ -1810,22 +1443,10 @@ export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.Zod
|
|
|
1810
1443
|
instance: {
|
|
1811
1444
|
version: 1;
|
|
1812
1445
|
publicKeys: {
|
|
1813
|
-
masterNullifierPublicKey: string
|
|
1814
|
-
|
|
1815
|
-
|
|
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
|
-
};
|
|
1446
|
+
masterNullifierPublicKey: string;
|
|
1447
|
+
masterIncomingViewingPublicKey: string;
|
|
1448
|
+
masterOutgoingViewingPublicKey: string;
|
|
1449
|
+
masterTaggingPublicKey: string;
|
|
1829
1450
|
};
|
|
1830
1451
|
salt?: any;
|
|
1831
1452
|
deployer?: any;
|
|
@@ -1920,97 +1541,25 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1920
1541
|
originalContractClassId: ZodFor<Fr>;
|
|
1921
1542
|
initializationHash: ZodFor<Fr>;
|
|
1922
1543
|
publicKeys: z.ZodEffects<z.ZodObject<{
|
|
1923
|
-
masterNullifierPublicKey: z.
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
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
|
-
}>]>;
|
|
1544
|
+
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1545
|
+
masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1546
|
+
masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1547
|
+
masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1975
1548
|
}, "strip", z.ZodTypeAny, {
|
|
1976
1549
|
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
1977
1550
|
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1978
1551
|
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1979
1552
|
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1980
1553
|
}, {
|
|
1981
|
-
masterNullifierPublicKey: string
|
|
1982
|
-
|
|
1983
|
-
|
|
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
|
-
};
|
|
1554
|
+
masterNullifierPublicKey: string;
|
|
1555
|
+
masterIncomingViewingPublicKey: string;
|
|
1556
|
+
masterOutgoingViewingPublicKey: string;
|
|
1557
|
+
masterTaggingPublicKey: string;
|
|
1997
1558
|
}>, PublicKeys, {
|
|
1998
|
-
masterNullifierPublicKey: string
|
|
1999
|
-
|
|
2000
|
-
|
|
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
|
-
};
|
|
1559
|
+
masterNullifierPublicKey: string;
|
|
1560
|
+
masterIncomingViewingPublicKey: string;
|
|
1561
|
+
masterOutgoingViewingPublicKey: string;
|
|
1562
|
+
masterTaggingPublicKey: string;
|
|
2014
1563
|
}>;
|
|
2015
1564
|
}, "strip", z.ZodTypeAny, {
|
|
2016
1565
|
version: 1;
|
|
@@ -2023,22 +1572,10 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2023
1572
|
}, {
|
|
2024
1573
|
version: 1;
|
|
2025
1574
|
publicKeys: {
|
|
2026
|
-
masterNullifierPublicKey: string
|
|
2027
|
-
|
|
2028
|
-
|
|
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
|
-
};
|
|
1575
|
+
masterNullifierPublicKey: string;
|
|
1576
|
+
masterIncomingViewingPublicKey: string;
|
|
1577
|
+
masterOutgoingViewingPublicKey: string;
|
|
1578
|
+
masterTaggingPublicKey: string;
|
|
2042
1579
|
};
|
|
2043
1580
|
salt?: any;
|
|
2044
1581
|
deployer?: any;
|
|
@@ -2055,7 +1592,7 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2055
1592
|
constructorArtifact: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodObject<{
|
|
2056
1593
|
name: z.ZodString;
|
|
2057
1594
|
functionType: z.ZodNativeEnum<typeof FunctionType>;
|
|
2058
|
-
|
|
1595
|
+
isOnlySelf: z.ZodBoolean;
|
|
2059
1596
|
isStatic: z.ZodBoolean;
|
|
2060
1597
|
isInitializer: z.ZodBoolean;
|
|
2061
1598
|
parameters: z.ZodArray<z.ZodObject<{
|
|
@@ -2108,7 +1645,7 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2108
1645
|
visibility: "public" | "private" | "databus";
|
|
2109
1646
|
}[];
|
|
2110
1647
|
functionType: FunctionType;
|
|
2111
|
-
|
|
1648
|
+
isOnlySelf: boolean;
|
|
2112
1649
|
isStatic: boolean;
|
|
2113
1650
|
isInitializer: boolean;
|
|
2114
1651
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
@@ -2130,7 +1667,7 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2130
1667
|
visibility: "public" | "private" | "databus";
|
|
2131
1668
|
}[];
|
|
2132
1669
|
functionType: FunctionType;
|
|
2133
|
-
|
|
1670
|
+
isOnlySelf: boolean;
|
|
2134
1671
|
isStatic: boolean;
|
|
2135
1672
|
isInitializer: boolean;
|
|
2136
1673
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
@@ -2149,97 +1686,25 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2149
1686
|
skipArgsDecoding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
|
|
2150
1687
|
salt: ZodFor<Fr>;
|
|
2151
1688
|
publicKeys: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
2152
|
-
masterNullifierPublicKey: z.
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
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
|
-
}>]>;
|
|
1689
|
+
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1690
|
+
masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1691
|
+
masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1692
|
+
masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
2204
1693
|
}, "strip", z.ZodTypeAny, {
|
|
2205
1694
|
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
2206
1695
|
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
2207
1696
|
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
2208
1697
|
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
2209
1698
|
}, {
|
|
2210
|
-
masterNullifierPublicKey: string
|
|
2211
|
-
|
|
2212
|
-
|
|
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
|
-
};
|
|
1699
|
+
masterNullifierPublicKey: string;
|
|
1700
|
+
masterIncomingViewingPublicKey: string;
|
|
1701
|
+
masterOutgoingViewingPublicKey: string;
|
|
1702
|
+
masterTaggingPublicKey: string;
|
|
2226
1703
|
}>, PublicKeys, {
|
|
2227
|
-
masterNullifierPublicKey: string
|
|
2228
|
-
|
|
2229
|
-
|
|
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
|
-
};
|
|
1704
|
+
masterNullifierPublicKey: string;
|
|
1705
|
+
masterIncomingViewingPublicKey: string;
|
|
1706
|
+
masterOutgoingViewingPublicKey: string;
|
|
1707
|
+
masterTaggingPublicKey: string;
|
|
2243
1708
|
}>>;
|
|
2244
1709
|
deployer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
2245
1710
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2255,7 +1720,7 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2255
1720
|
visibility: "public" | "private" | "databus";
|
|
2256
1721
|
}[];
|
|
2257
1722
|
functionType: FunctionType;
|
|
2258
|
-
|
|
1723
|
+
isOnlySelf: boolean;
|
|
2259
1724
|
isStatic: boolean;
|
|
2260
1725
|
isInitializer: boolean;
|
|
2261
1726
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
@@ -2275,22 +1740,10 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2275
1740
|
salt?: any;
|
|
2276
1741
|
deployer?: any;
|
|
2277
1742
|
publicKeys?: {
|
|
2278
|
-
masterNullifierPublicKey: string
|
|
2279
|
-
|
|
2280
|
-
|
|
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
|
-
};
|
|
1743
|
+
masterNullifierPublicKey: string;
|
|
1744
|
+
masterIncomingViewingPublicKey: string;
|
|
1745
|
+
masterOutgoingViewingPublicKey: string;
|
|
1746
|
+
masterTaggingPublicKey: string;
|
|
2294
1747
|
} | undefined;
|
|
2295
1748
|
constructorArgs?: any[] | undefined;
|
|
2296
1749
|
constructorArtifact?: string | {
|
|
@@ -2301,7 +1754,7 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2301
1754
|
visibility: "public" | "private" | "databus";
|
|
2302
1755
|
}[];
|
|
2303
1756
|
functionType: FunctionType;
|
|
2304
|
-
|
|
1757
|
+
isOnlySelf: boolean;
|
|
2305
1758
|
isStatic: boolean;
|
|
2306
1759
|
isInitializer: boolean;
|
|
2307
1760
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
@@ -2326,97 +1779,25 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2326
1779
|
originalContractClassId: ZodFor<Fr>;
|
|
2327
1780
|
initializationHash: ZodFor<Fr>;
|
|
2328
1781
|
publicKeys: z.ZodEffects<z.ZodObject<{
|
|
2329
|
-
masterNullifierPublicKey: z.
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
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
|
-
}>]>;
|
|
1782
|
+
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1783
|
+
masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1784
|
+
masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1785
|
+
masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
2381
1786
|
}, "strip", z.ZodTypeAny, {
|
|
2382
1787
|
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
2383
1788
|
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
2384
1789
|
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
2385
1790
|
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
2386
1791
|
}, {
|
|
2387
|
-
masterNullifierPublicKey: string
|
|
2388
|
-
|
|
2389
|
-
|
|
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
|
-
};
|
|
1792
|
+
masterNullifierPublicKey: string;
|
|
1793
|
+
masterIncomingViewingPublicKey: string;
|
|
1794
|
+
masterOutgoingViewingPublicKey: string;
|
|
1795
|
+
masterTaggingPublicKey: string;
|
|
2403
1796
|
}>, PublicKeys, {
|
|
2404
|
-
masterNullifierPublicKey: string
|
|
2405
|
-
|
|
2406
|
-
|
|
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
|
-
};
|
|
1797
|
+
masterNullifierPublicKey: string;
|
|
1798
|
+
masterIncomingViewingPublicKey: string;
|
|
1799
|
+
masterOutgoingViewingPublicKey: string;
|
|
1800
|
+
masterTaggingPublicKey: string;
|
|
2420
1801
|
}>;
|
|
2421
1802
|
}, "strip", z.ZodTypeAny, {
|
|
2422
1803
|
version: 1;
|
|
@@ -2429,22 +1810,10 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2429
1810
|
}, {
|
|
2430
1811
|
version: 1;
|
|
2431
1812
|
publicKeys: {
|
|
2432
|
-
masterNullifierPublicKey: string
|
|
2433
|
-
|
|
2434
|
-
|
|
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
|
-
};
|
|
1813
|
+
masterNullifierPublicKey: string;
|
|
1814
|
+
masterIncomingViewingPublicKey: string;
|
|
1815
|
+
masterOutgoingViewingPublicKey: string;
|
|
1816
|
+
masterTaggingPublicKey: string;
|
|
2448
1817
|
};
|
|
2449
1818
|
salt?: any;
|
|
2450
1819
|
deployer?: any;
|
|
@@ -2476,22 +1845,10 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2476
1845
|
instance: {
|
|
2477
1846
|
version: 1;
|
|
2478
1847
|
publicKeys: {
|
|
2479
|
-
masterNullifierPublicKey: string
|
|
2480
|
-
|
|
2481
|
-
|
|
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
|
-
};
|
|
1848
|
+
masterNullifierPublicKey: string;
|
|
1849
|
+
masterIncomingViewingPublicKey: string;
|
|
1850
|
+
masterOutgoingViewingPublicKey: string;
|
|
1851
|
+
masterTaggingPublicKey: string;
|
|
2495
1852
|
};
|
|
2496
1853
|
salt?: any;
|
|
2497
1854
|
deployer?: any;
|
|
@@ -2518,7 +1875,7 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2518
1875
|
visibility: "public" | "private" | "databus";
|
|
2519
1876
|
}[];
|
|
2520
1877
|
functionType: FunctionType;
|
|
2521
|
-
|
|
1878
|
+
isOnlySelf: boolean;
|
|
2522
1879
|
isStatic: boolean;
|
|
2523
1880
|
isInitializer: boolean;
|
|
2524
1881
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
@@ -2704,9 +2061,7 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2704
2061
|
feePerL2Gas: string | number | bigint;
|
|
2705
2062
|
} | undefined;
|
|
2706
2063
|
}>>;
|
|
2707
|
-
embeddedPaymentMethodFeePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
2708
2064
|
}, "strip", z.ZodTypeAny, {
|
|
2709
|
-
embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
|
|
2710
2065
|
gasSettings?: {
|
|
2711
2066
|
gasLimits?: Gas | undefined;
|
|
2712
2067
|
teardownGasLimits?: Gas | undefined;
|
|
@@ -2720,7 +2075,6 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2720
2075
|
} | undefined;
|
|
2721
2076
|
} | undefined;
|
|
2722
2077
|
}, {
|
|
2723
|
-
embeddedPaymentMethodFeePayer?: any;
|
|
2724
2078
|
gasSettings?: {
|
|
2725
2079
|
gasLimits?: {
|
|
2726
2080
|
daGas: string | number | bigint;
|
|
@@ -2743,7 +2097,6 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2743
2097
|
}, "strip", z.ZodTypeAny, {
|
|
2744
2098
|
from: AztecAddress;
|
|
2745
2099
|
fee?: {
|
|
2746
|
-
embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
|
|
2747
2100
|
gasSettings?: {
|
|
2748
2101
|
gasLimits?: Gas | undefined;
|
|
2749
2102
|
teardownGasLimits?: Gas | undefined;
|
|
@@ -2761,7 +2114,6 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2761
2114
|
capsules?: Capsule[] | undefined;
|
|
2762
2115
|
}, {
|
|
2763
2116
|
fee?: {
|
|
2764
|
-
embeddedPaymentMethodFeePayer?: any;
|
|
2765
2117
|
gasSettings?: {
|
|
2766
2118
|
gasLimits?: {
|
|
2767
2119
|
daGas: string | number | bigint;
|
|
@@ -2804,7 +2156,6 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2804
2156
|
}, {
|
|
2805
2157
|
from: AztecAddress;
|
|
2806
2158
|
fee?: {
|
|
2807
|
-
embeddedPaymentMethodFeePayer?: AztecAddress | undefined;
|
|
2808
2159
|
gasSettings?: {
|
|
2809
2160
|
gasLimits?: Gas | undefined;
|
|
2810
2161
|
teardownGasLimits?: Gas | undefined;
|
|
@@ -2839,7 +2190,6 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2839
2190
|
extraHashedArgs: any[];
|
|
2840
2191
|
}, {
|
|
2841
2192
|
fee?: {
|
|
2842
|
-
embeddedPaymentMethodFeePayer?: any;
|
|
2843
2193
|
gasSettings?: {
|
|
2844
2194
|
gasLimits?: {
|
|
2845
2195
|
daGas: string | number | bigint;
|
|
@@ -2865,13 +2215,58 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2865
2215
|
}];
|
|
2866
2216
|
}>, z.ZodObject<{
|
|
2867
2217
|
name: z.ZodLiteral<"simulateUtility">;
|
|
2868
|
-
args: z.ZodTuple<[z.
|
|
2218
|
+
args: z.ZodTuple<[z.ZodObject<{
|
|
2219
|
+
name: z.ZodString;
|
|
2220
|
+
to: ZodFor<AztecAddress>;
|
|
2221
|
+
selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
|
|
2222
|
+
type: z.ZodNativeEnum<typeof FunctionType>;
|
|
2223
|
+
isStatic: z.ZodBoolean;
|
|
2224
|
+
hideMsgSender: z.ZodBoolean;
|
|
2225
|
+
args: z.ZodArray<ZodFor<Fr>, "many">;
|
|
2226
|
+
returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
|
|
2227
|
+
}, "strip", z.ZodTypeAny, {
|
|
2228
|
+
name: string;
|
|
2229
|
+
args: Fr[];
|
|
2230
|
+
type: FunctionType;
|
|
2231
|
+
to: AztecAddress;
|
|
2232
|
+
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
2233
|
+
isStatic: boolean;
|
|
2234
|
+
hideMsgSender: boolean;
|
|
2235
|
+
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
2236
|
+
}, {
|
|
2237
|
+
name: string;
|
|
2238
|
+
args: any[];
|
|
2239
|
+
type: FunctionType;
|
|
2240
|
+
isStatic: boolean;
|
|
2241
|
+
hideMsgSender: boolean;
|
|
2242
|
+
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
2243
|
+
to?: any;
|
|
2244
|
+
selector?: any;
|
|
2245
|
+
}>, import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>, import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<ZodFor<AztecAddress>, "many">>], null>;
|
|
2869
2246
|
}, "strip", z.ZodTypeAny, {
|
|
2870
2247
|
name: "simulateUtility";
|
|
2871
|
-
args: [
|
|
2248
|
+
args: [{
|
|
2249
|
+
name: string;
|
|
2250
|
+
args: Fr[];
|
|
2251
|
+
type: FunctionType;
|
|
2252
|
+
to: AztecAddress;
|
|
2253
|
+
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
2254
|
+
isStatic: boolean;
|
|
2255
|
+
hideMsgSender: boolean;
|
|
2256
|
+
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
2257
|
+
}, AuthWitness[] | undefined, AztecAddress[] | undefined];
|
|
2872
2258
|
}, {
|
|
2873
2259
|
name: "simulateUtility";
|
|
2874
|
-
args: [
|
|
2260
|
+
args: [{
|
|
2261
|
+
name: string;
|
|
2262
|
+
args: any[];
|
|
2263
|
+
type: FunctionType;
|
|
2264
|
+
isStatic: boolean;
|
|
2265
|
+
hideMsgSender: boolean;
|
|
2266
|
+
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
2267
|
+
to?: any;
|
|
2268
|
+
selector?: any;
|
|
2269
|
+
}, string[] | undefined, any[] | undefined];
|
|
2875
2270
|
}>]>;
|
|
2876
2271
|
export declare const ContractMetadataSchema: z.ZodObject<{
|
|
2877
2272
|
contractInstance: z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
|
|
@@ -2882,97 +2277,25 @@ export declare const ContractMetadataSchema: z.ZodObject<{
|
|
|
2882
2277
|
originalContractClassId: ZodFor<Fr>;
|
|
2883
2278
|
initializationHash: ZodFor<Fr>;
|
|
2884
2279
|
publicKeys: z.ZodEffects<z.ZodObject<{
|
|
2885
|
-
masterNullifierPublicKey: z.
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
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
|
-
}>]>;
|
|
2280
|
+
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
2281
|
+
masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
2282
|
+
masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
2283
|
+
masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
2937
2284
|
}, "strip", z.ZodTypeAny, {
|
|
2938
2285
|
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
2939
2286
|
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
2940
2287
|
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
2941
2288
|
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
2942
2289
|
}, {
|
|
2943
|
-
masterNullifierPublicKey: string
|
|
2944
|
-
|
|
2945
|
-
|
|
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
|
-
};
|
|
2290
|
+
masterNullifierPublicKey: string;
|
|
2291
|
+
masterIncomingViewingPublicKey: string;
|
|
2292
|
+
masterOutgoingViewingPublicKey: string;
|
|
2293
|
+
masterTaggingPublicKey: string;
|
|
2959
2294
|
}>, PublicKeys, {
|
|
2960
|
-
masterNullifierPublicKey: string
|
|
2961
|
-
|
|
2962
|
-
|
|
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
|
-
};
|
|
2295
|
+
masterNullifierPublicKey: string;
|
|
2296
|
+
masterIncomingViewingPublicKey: string;
|
|
2297
|
+
masterOutgoingViewingPublicKey: string;
|
|
2298
|
+
masterTaggingPublicKey: string;
|
|
2976
2299
|
}>;
|
|
2977
2300
|
}, "strip", z.ZodTypeAny, {
|
|
2978
2301
|
version: 1;
|
|
@@ -2985,22 +2308,10 @@ export declare const ContractMetadataSchema: z.ZodObject<{
|
|
|
2985
2308
|
}, {
|
|
2986
2309
|
version: 1;
|
|
2987
2310
|
publicKeys: {
|
|
2988
|
-
masterNullifierPublicKey: string
|
|
2989
|
-
|
|
2990
|
-
|
|
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
|
-
};
|
|
2311
|
+
masterNullifierPublicKey: string;
|
|
2312
|
+
masterIncomingViewingPublicKey: string;
|
|
2313
|
+
masterOutgoingViewingPublicKey: string;
|
|
2314
|
+
masterTaggingPublicKey: string;
|
|
3004
2315
|
};
|
|
3005
2316
|
salt?: any;
|
|
3006
2317
|
deployer?: any;
|
|
@@ -3036,22 +2347,10 @@ export declare const ContractMetadataSchema: z.ZodObject<{
|
|
|
3036
2347
|
contractInstance?: ({
|
|
3037
2348
|
version: 1;
|
|
3038
2349
|
publicKeys: {
|
|
3039
|
-
masterNullifierPublicKey: string
|
|
3040
|
-
|
|
3041
|
-
|
|
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
|
-
};
|
|
2350
|
+
masterNullifierPublicKey: string;
|
|
2351
|
+
masterIncomingViewingPublicKey: string;
|
|
2352
|
+
masterOutgoingViewingPublicKey: string;
|
|
2353
|
+
masterTaggingPublicKey: string;
|
|
3055
2354
|
};
|
|
3056
2355
|
salt?: any;
|
|
3057
2356
|
deployer?: any;
|
|
@@ -3065,10 +2364,10 @@ export declare const ContractMetadataSchema: z.ZodObject<{
|
|
|
3065
2364
|
export declare const ContractClassMetadataSchema: z.ZodObject<{
|
|
3066
2365
|
contractClass: z.ZodUnion<[z.ZodObject<{
|
|
3067
2366
|
version: z.ZodLiteral<1>;
|
|
3068
|
-
artifactHash: z.
|
|
2367
|
+
artifactHash: z.ZodType<Fr, any, string>;
|
|
3069
2368
|
privateFunctions: z.ZodArray<z.ZodObject<{
|
|
3070
2369
|
selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
|
|
3071
|
-
vkHash: z.
|
|
2370
|
+
vkHash: z.ZodType<Fr, any, string>;
|
|
3072
2371
|
}, "strip", z.ZodTypeAny, {
|
|
3073
2372
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
3074
2373
|
vkHash: Fr;
|
|
@@ -3078,7 +2377,7 @@ export declare const ContractClassMetadataSchema: z.ZodObject<{
|
|
|
3078
2377
|
}>, "many">;
|
|
3079
2378
|
packedBytecode: ZodFor<Buffer<ArrayBufferLike>>;
|
|
3080
2379
|
} & {
|
|
3081
|
-
id: z.
|
|
2380
|
+
id: z.ZodType<Fr, any, string>;
|
|
3082
2381
|
}, "strip", z.ZodTypeAny, {
|
|
3083
2382
|
version: 1;
|
|
3084
2383
|
artifactHash: Fr;
|