@aztec/aztec.js 3.0.0-nightly.20251119 → 3.0.0-nightly.20251121
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/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/batch_call.js +1 -2
- package/dest/wallet/base_wallet.d.ts +1 -1
- package/dest/wallet/base_wallet.d.ts.map +1 -1
- package/dest/wallet/base_wallet.js +2 -2
- package/dest/wallet/wallet.d.ts +55 -851
- package/dest/wallet/wallet.d.ts.map +1 -1
- package/dest/wallet/wallet.js +6 -27
- package/package.json +8 -8
- package/src/api/tx.ts +1 -0
- package/src/api/wallet.ts +0 -2
- package/src/contract/batch_call.ts +1 -1
- package/src/wallet/base_wallet.ts +2 -6
- package/src/wallet/wallet.ts +5 -26
package/dest/wallet/wallet.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import { AuthWitness } from '@aztec/stdlib/auth-witness';
|
|
|
5
5
|
import type { AztecAddress } from '@aztec/stdlib/aztec-address';
|
|
6
6
|
import { type ContractClassMetadata, type ContractInstanceWithAddress, type ContractMetadata } from '@aztec/stdlib/contract';
|
|
7
7
|
import { Gas } from '@aztec/stdlib/gas';
|
|
8
|
-
import { PublicKeys } from '@aztec/stdlib/keys';
|
|
9
8
|
import { type ApiSchemaFor, type ZodFor } from '@aztec/stdlib/schemas';
|
|
10
9
|
import { Capsule, HashedValues, TxHash, TxProfileResult, TxReceipt, TxSimulationResult, UtilitySimulationResult } from '@aztec/stdlib/tx';
|
|
11
10
|
import type { ExecutionPayload } from '@aztec/stdlib/tx';
|
|
@@ -101,195 +100,12 @@ export type Wallet = {
|
|
|
101
100
|
getAccounts(): Promise<Aliased<AztecAddress>[]>;
|
|
102
101
|
registerContract(instance: ContractInstanceWithAddress, artifact?: ContractArtifact, secretKey?: Fr): Promise<ContractInstanceWithAddress>;
|
|
103
102
|
simulateTx(exec: ExecutionPayload, opts: SimulateOptions): Promise<TxSimulationResult>;
|
|
104
|
-
simulateUtility(call: FunctionCall, authwits?: AuthWitness[]
|
|
103
|
+
simulateUtility(call: FunctionCall, authwits?: AuthWitness[]): Promise<UtilitySimulationResult>;
|
|
105
104
|
profileTx(exec: ExecutionPayload, opts: ProfileOptions): Promise<TxProfileResult>;
|
|
106
105
|
sendTx(exec: ExecutionPayload, opts: SendOptions): Promise<TxHash>;
|
|
107
106
|
createAuthWit(from: AztecAddress, messageHashOrIntent: Fr | IntentInnerHash | CallIntent): Promise<AuthWitness>;
|
|
108
107
|
batch<const T extends readonly BatchedMethod<keyof BatchableMethods>[]>(methods: T): Promise<BatchResults<T>>;
|
|
109
108
|
};
|
|
110
|
-
export declare const ContractInstantiationDataSchema: z.ZodObject<{
|
|
111
|
-
constructorArtifact: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodObject<{
|
|
112
|
-
name: z.ZodString;
|
|
113
|
-
functionType: z.ZodNativeEnum<typeof FunctionType>;
|
|
114
|
-
isOnlySelf: z.ZodBoolean;
|
|
115
|
-
isStatic: z.ZodBoolean;
|
|
116
|
-
isInitializer: z.ZodBoolean;
|
|
117
|
-
parameters: z.ZodArray<z.ZodObject<{
|
|
118
|
-
name: z.ZodString;
|
|
119
|
-
type: z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>;
|
|
120
|
-
visibility: z.ZodEnum<["public", "private", "databus"]>;
|
|
121
|
-
}, "strip", z.ZodTypeAny, {
|
|
122
|
-
type: import("@aztec/stdlib/abi").AbiType;
|
|
123
|
-
name: string;
|
|
124
|
-
visibility: "public" | "private" | "databus";
|
|
125
|
-
}, {
|
|
126
|
-
type: import("@aztec/stdlib/abi").AbiType;
|
|
127
|
-
name: string;
|
|
128
|
-
visibility: "public" | "private" | "databus";
|
|
129
|
-
}>, "many">;
|
|
130
|
-
returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
|
|
131
|
-
errorTypes: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
132
|
-
error_kind: z.ZodLiteral<"string">;
|
|
133
|
-
string: z.ZodString;
|
|
134
|
-
}, "strip", z.ZodTypeAny, {
|
|
135
|
-
string: string;
|
|
136
|
-
error_kind: "string";
|
|
137
|
-
}, {
|
|
138
|
-
string: string;
|
|
139
|
-
error_kind: "string";
|
|
140
|
-
}>, z.ZodObject<{
|
|
141
|
-
error_kind: z.ZodLiteral<"fmtstring">;
|
|
142
|
-
length: z.ZodNumber;
|
|
143
|
-
item_types: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
|
|
144
|
-
}, "strip", z.ZodTypeAny, {
|
|
145
|
-
length: number;
|
|
146
|
-
error_kind: "fmtstring";
|
|
147
|
-
item_types: import("@aztec/stdlib/abi").AbiType[];
|
|
148
|
-
}, {
|
|
149
|
-
length: number;
|
|
150
|
-
error_kind: "fmtstring";
|
|
151
|
-
item_types: import("@aztec/stdlib/abi").AbiType[];
|
|
152
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
153
|
-
error_kind: z.ZodLiteral<"custom">;
|
|
154
|
-
}, "strip", z.ZodTypeAny, {
|
|
155
|
-
error_kind: "custom";
|
|
156
|
-
}, {
|
|
157
|
-
error_kind: "custom";
|
|
158
|
-
}>, z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>>]>>>;
|
|
159
|
-
}, "strip", z.ZodTypeAny, {
|
|
160
|
-
name: string;
|
|
161
|
-
parameters: {
|
|
162
|
-
type: import("@aztec/stdlib/abi").AbiType;
|
|
163
|
-
name: string;
|
|
164
|
-
visibility: "public" | "private" | "databus";
|
|
165
|
-
}[];
|
|
166
|
-
functionType: FunctionType;
|
|
167
|
-
isOnlySelf: boolean;
|
|
168
|
-
isStatic: boolean;
|
|
169
|
-
isInitializer: boolean;
|
|
170
|
-
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
171
|
-
errorTypes: Record<string, {
|
|
172
|
-
string: string;
|
|
173
|
-
error_kind: "string";
|
|
174
|
-
} | {
|
|
175
|
-
length: number;
|
|
176
|
-
error_kind: "fmtstring";
|
|
177
|
-
item_types: import("@aztec/stdlib/abi").AbiType[];
|
|
178
|
-
} | ({
|
|
179
|
-
error_kind: "custom";
|
|
180
|
-
} & import("@aztec/stdlib/abi").AbiType) | undefined>;
|
|
181
|
-
}, {
|
|
182
|
-
name: string;
|
|
183
|
-
parameters: {
|
|
184
|
-
type: import("@aztec/stdlib/abi").AbiType;
|
|
185
|
-
name: string;
|
|
186
|
-
visibility: "public" | "private" | "databus";
|
|
187
|
-
}[];
|
|
188
|
-
functionType: FunctionType;
|
|
189
|
-
isOnlySelf: boolean;
|
|
190
|
-
isStatic: boolean;
|
|
191
|
-
isInitializer: boolean;
|
|
192
|
-
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
193
|
-
errorTypes: Record<string, {
|
|
194
|
-
string: string;
|
|
195
|
-
error_kind: "string";
|
|
196
|
-
} | {
|
|
197
|
-
length: number;
|
|
198
|
-
error_kind: "fmtstring";
|
|
199
|
-
item_types: import("@aztec/stdlib/abi").AbiType[];
|
|
200
|
-
} | ({
|
|
201
|
-
error_kind: "custom";
|
|
202
|
-
} & import("@aztec/stdlib/abi").AbiType) | undefined>;
|
|
203
|
-
}>, z.ZodString]>>;
|
|
204
|
-
constructorArgs: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
205
|
-
skipArgsDecoding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
|
|
206
|
-
salt: ZodFor<Fr>;
|
|
207
|
-
publicKeys: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
208
|
-
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
209
|
-
masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
210
|
-
masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
211
|
-
masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
212
|
-
}, "strip", z.ZodTypeAny, {
|
|
213
|
-
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
214
|
-
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
215
|
-
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
216
|
-
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
217
|
-
}, {
|
|
218
|
-
masterNullifierPublicKey: string;
|
|
219
|
-
masterIncomingViewingPublicKey: string;
|
|
220
|
-
masterOutgoingViewingPublicKey: string;
|
|
221
|
-
masterTaggingPublicKey: string;
|
|
222
|
-
}>, PublicKeys, {
|
|
223
|
-
masterNullifierPublicKey: string;
|
|
224
|
-
masterIncomingViewingPublicKey: string;
|
|
225
|
-
masterOutgoingViewingPublicKey: string;
|
|
226
|
-
masterTaggingPublicKey: string;
|
|
227
|
-
}>>;
|
|
228
|
-
deployer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
229
|
-
}, "strip", z.ZodTypeAny, {
|
|
230
|
-
salt: Fr;
|
|
231
|
-
deployer?: AztecAddress | undefined;
|
|
232
|
-
publicKeys?: PublicKeys | undefined;
|
|
233
|
-
constructorArgs?: any[] | undefined;
|
|
234
|
-
constructorArtifact?: string | {
|
|
235
|
-
name: string;
|
|
236
|
-
parameters: {
|
|
237
|
-
type: import("@aztec/stdlib/abi").AbiType;
|
|
238
|
-
name: string;
|
|
239
|
-
visibility: "public" | "private" | "databus";
|
|
240
|
-
}[];
|
|
241
|
-
functionType: FunctionType;
|
|
242
|
-
isOnlySelf: boolean;
|
|
243
|
-
isStatic: boolean;
|
|
244
|
-
isInitializer: boolean;
|
|
245
|
-
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
246
|
-
errorTypes: Record<string, {
|
|
247
|
-
string: string;
|
|
248
|
-
error_kind: "string";
|
|
249
|
-
} | {
|
|
250
|
-
length: number;
|
|
251
|
-
error_kind: "fmtstring";
|
|
252
|
-
item_types: import("@aztec/stdlib/abi").AbiType[];
|
|
253
|
-
} | ({
|
|
254
|
-
error_kind: "custom";
|
|
255
|
-
} & import("@aztec/stdlib/abi").AbiType) | undefined>;
|
|
256
|
-
} | undefined;
|
|
257
|
-
skipArgsDecoding?: boolean | undefined;
|
|
258
|
-
}, {
|
|
259
|
-
salt?: any;
|
|
260
|
-
deployer?: any;
|
|
261
|
-
publicKeys?: {
|
|
262
|
-
masterNullifierPublicKey: string;
|
|
263
|
-
masterIncomingViewingPublicKey: string;
|
|
264
|
-
masterOutgoingViewingPublicKey: string;
|
|
265
|
-
masterTaggingPublicKey: string;
|
|
266
|
-
} | undefined;
|
|
267
|
-
constructorArgs?: any[] | undefined;
|
|
268
|
-
constructorArtifact?: string | {
|
|
269
|
-
name: string;
|
|
270
|
-
parameters: {
|
|
271
|
-
type: import("@aztec/stdlib/abi").AbiType;
|
|
272
|
-
name: string;
|
|
273
|
-
visibility: "public" | "private" | "databus";
|
|
274
|
-
}[];
|
|
275
|
-
functionType: FunctionType;
|
|
276
|
-
isOnlySelf: boolean;
|
|
277
|
-
isStatic: boolean;
|
|
278
|
-
isInitializer: boolean;
|
|
279
|
-
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
280
|
-
errorTypes: Record<string, {
|
|
281
|
-
string: string;
|
|
282
|
-
error_kind: "string";
|
|
283
|
-
} | {
|
|
284
|
-
length: number;
|
|
285
|
-
error_kind: "fmtstring";
|
|
286
|
-
item_types: import("@aztec/stdlib/abi").AbiType[];
|
|
287
|
-
} | ({
|
|
288
|
-
error_kind: "custom";
|
|
289
|
-
} & import("@aztec/stdlib/abi").AbiType) | undefined>;
|
|
290
|
-
} | undefined;
|
|
291
|
-
skipArgsDecoding?: boolean | undefined;
|
|
292
|
-
}>;
|
|
293
109
|
export declare const FunctionCallSchema: z.ZodObject<{
|
|
294
110
|
name: z.ZodString;
|
|
295
111
|
to: ZodFor<AztecAddress>;
|
|
@@ -302,9 +118,9 @@ export declare const FunctionCallSchema: z.ZodObject<{
|
|
|
302
118
|
}, "strip", z.ZodTypeAny, {
|
|
303
119
|
name: string;
|
|
304
120
|
args: Fr[];
|
|
305
|
-
type: FunctionType;
|
|
306
121
|
to: AztecAddress;
|
|
307
122
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
123
|
+
type: FunctionType;
|
|
308
124
|
isStatic: boolean;
|
|
309
125
|
hideMsgSender: boolean;
|
|
310
126
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
@@ -331,9 +147,9 @@ export declare const ExecutionPayloadSchema: z.ZodObject<{
|
|
|
331
147
|
}, "strip", z.ZodTypeAny, {
|
|
332
148
|
name: string;
|
|
333
149
|
args: Fr[];
|
|
334
|
-
type: FunctionType;
|
|
335
150
|
to: AztecAddress;
|
|
336
151
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
152
|
+
type: FunctionType;
|
|
337
153
|
isStatic: boolean;
|
|
338
154
|
hideMsgSender: boolean;
|
|
339
155
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
@@ -350,20 +166,22 @@ export declare const ExecutionPayloadSchema: z.ZodObject<{
|
|
|
350
166
|
authWitnesses: z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">;
|
|
351
167
|
capsules: z.ZodArray<z.ZodType<Capsule, any, string>, "many">;
|
|
352
168
|
extraHashedArgs: z.ZodArray<ZodFor<HashedValues>, "many">;
|
|
169
|
+
feePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
353
170
|
}, "strip", z.ZodTypeAny, {
|
|
354
171
|
authWitnesses: AuthWitness[];
|
|
355
172
|
capsules: Capsule[];
|
|
356
173
|
calls: {
|
|
357
174
|
name: string;
|
|
358
175
|
args: Fr[];
|
|
359
|
-
type: FunctionType;
|
|
360
176
|
to: AztecAddress;
|
|
361
177
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
178
|
+
type: FunctionType;
|
|
362
179
|
isStatic: boolean;
|
|
363
180
|
hideMsgSender: boolean;
|
|
364
181
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
365
182
|
}[];
|
|
366
183
|
extraHashedArgs: HashedValues[];
|
|
184
|
+
feePayer?: AztecAddress | undefined;
|
|
367
185
|
}, {
|
|
368
186
|
authWitnesses: string[];
|
|
369
187
|
capsules: string[];
|
|
@@ -378,6 +196,7 @@ export declare const ExecutionPayloadSchema: z.ZodObject<{
|
|
|
378
196
|
selector?: any;
|
|
379
197
|
}[];
|
|
380
198
|
extraHashedArgs: any[];
|
|
199
|
+
feePayer?: any;
|
|
381
200
|
}>;
|
|
382
201
|
export declare const GasSettingsOptionSchema: z.ZodObject<{
|
|
383
202
|
gasSettings: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
|
|
@@ -1124,333 +943,6 @@ export declare const ProfileOptionsSchema: z.ZodObject<{
|
|
|
1124
943
|
includeMetadata?: boolean | undefined;
|
|
1125
944
|
skipProofGeneration?: boolean | undefined;
|
|
1126
945
|
}>;
|
|
1127
|
-
export declare const InstanceDataSchema: z.ZodUnion<[ZodFor<AztecAddress>, z.ZodIntersection<z.ZodObject<{
|
|
1128
|
-
version: z.ZodLiteral<1>;
|
|
1129
|
-
salt: ZodFor<Fr>;
|
|
1130
|
-
deployer: ZodFor<AztecAddress>;
|
|
1131
|
-
currentContractClassId: ZodFor<Fr>;
|
|
1132
|
-
originalContractClassId: ZodFor<Fr>;
|
|
1133
|
-
initializationHash: ZodFor<Fr>;
|
|
1134
|
-
publicKeys: z.ZodEffects<z.ZodObject<{
|
|
1135
|
-
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1136
|
-
masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1137
|
-
masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1138
|
-
masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1139
|
-
}, "strip", z.ZodTypeAny, {
|
|
1140
|
-
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
1141
|
-
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1142
|
-
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1143
|
-
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1144
|
-
}, {
|
|
1145
|
-
masterNullifierPublicKey: string;
|
|
1146
|
-
masterIncomingViewingPublicKey: string;
|
|
1147
|
-
masterOutgoingViewingPublicKey: string;
|
|
1148
|
-
masterTaggingPublicKey: string;
|
|
1149
|
-
}>, PublicKeys, {
|
|
1150
|
-
masterNullifierPublicKey: string;
|
|
1151
|
-
masterIncomingViewingPublicKey: string;
|
|
1152
|
-
masterOutgoingViewingPublicKey: string;
|
|
1153
|
-
masterTaggingPublicKey: string;
|
|
1154
|
-
}>;
|
|
1155
|
-
}, "strip", z.ZodTypeAny, {
|
|
1156
|
-
version: 1;
|
|
1157
|
-
salt: Fr;
|
|
1158
|
-
deployer: AztecAddress;
|
|
1159
|
-
currentContractClassId: Fr;
|
|
1160
|
-
originalContractClassId: Fr;
|
|
1161
|
-
initializationHash: Fr;
|
|
1162
|
-
publicKeys: PublicKeys;
|
|
1163
|
-
}, {
|
|
1164
|
-
version: 1;
|
|
1165
|
-
publicKeys: {
|
|
1166
|
-
masterNullifierPublicKey: string;
|
|
1167
|
-
masterIncomingViewingPublicKey: string;
|
|
1168
|
-
masterOutgoingViewingPublicKey: string;
|
|
1169
|
-
masterTaggingPublicKey: string;
|
|
1170
|
-
};
|
|
1171
|
-
salt?: any;
|
|
1172
|
-
deployer?: any;
|
|
1173
|
-
currentContractClassId?: any;
|
|
1174
|
-
originalContractClassId?: any;
|
|
1175
|
-
initializationHash?: any;
|
|
1176
|
-
}>, z.ZodObject<{
|
|
1177
|
-
address: ZodFor<AztecAddress>;
|
|
1178
|
-
}, "strip", z.ZodTypeAny, {
|
|
1179
|
-
address: AztecAddress;
|
|
1180
|
-
}, {
|
|
1181
|
-
address?: any;
|
|
1182
|
-
}>>, z.ZodObject<{
|
|
1183
|
-
constructorArtifact: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodObject<{
|
|
1184
|
-
name: z.ZodString;
|
|
1185
|
-
functionType: z.ZodNativeEnum<typeof FunctionType>;
|
|
1186
|
-
isOnlySelf: z.ZodBoolean;
|
|
1187
|
-
isStatic: z.ZodBoolean;
|
|
1188
|
-
isInitializer: z.ZodBoolean;
|
|
1189
|
-
parameters: z.ZodArray<z.ZodObject<{
|
|
1190
|
-
name: z.ZodString;
|
|
1191
|
-
type: z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>;
|
|
1192
|
-
visibility: z.ZodEnum<["public", "private", "databus"]>;
|
|
1193
|
-
}, "strip", z.ZodTypeAny, {
|
|
1194
|
-
type: import("@aztec/stdlib/abi").AbiType;
|
|
1195
|
-
name: string;
|
|
1196
|
-
visibility: "public" | "private" | "databus";
|
|
1197
|
-
}, {
|
|
1198
|
-
type: import("@aztec/stdlib/abi").AbiType;
|
|
1199
|
-
name: string;
|
|
1200
|
-
visibility: "public" | "private" | "databus";
|
|
1201
|
-
}>, "many">;
|
|
1202
|
-
returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
|
|
1203
|
-
errorTypes: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1204
|
-
error_kind: z.ZodLiteral<"string">;
|
|
1205
|
-
string: z.ZodString;
|
|
1206
|
-
}, "strip", z.ZodTypeAny, {
|
|
1207
|
-
string: string;
|
|
1208
|
-
error_kind: "string";
|
|
1209
|
-
}, {
|
|
1210
|
-
string: string;
|
|
1211
|
-
error_kind: "string";
|
|
1212
|
-
}>, z.ZodObject<{
|
|
1213
|
-
error_kind: z.ZodLiteral<"fmtstring">;
|
|
1214
|
-
length: z.ZodNumber;
|
|
1215
|
-
item_types: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
|
|
1216
|
-
}, "strip", z.ZodTypeAny, {
|
|
1217
|
-
length: number;
|
|
1218
|
-
error_kind: "fmtstring";
|
|
1219
|
-
item_types: import("@aztec/stdlib/abi").AbiType[];
|
|
1220
|
-
}, {
|
|
1221
|
-
length: number;
|
|
1222
|
-
error_kind: "fmtstring";
|
|
1223
|
-
item_types: import("@aztec/stdlib/abi").AbiType[];
|
|
1224
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
1225
|
-
error_kind: z.ZodLiteral<"custom">;
|
|
1226
|
-
}, "strip", z.ZodTypeAny, {
|
|
1227
|
-
error_kind: "custom";
|
|
1228
|
-
}, {
|
|
1229
|
-
error_kind: "custom";
|
|
1230
|
-
}>, z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>>]>>>;
|
|
1231
|
-
}, "strip", z.ZodTypeAny, {
|
|
1232
|
-
name: string;
|
|
1233
|
-
parameters: {
|
|
1234
|
-
type: import("@aztec/stdlib/abi").AbiType;
|
|
1235
|
-
name: string;
|
|
1236
|
-
visibility: "public" | "private" | "databus";
|
|
1237
|
-
}[];
|
|
1238
|
-
functionType: FunctionType;
|
|
1239
|
-
isOnlySelf: boolean;
|
|
1240
|
-
isStatic: boolean;
|
|
1241
|
-
isInitializer: boolean;
|
|
1242
|
-
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1243
|
-
errorTypes: Record<string, {
|
|
1244
|
-
string: string;
|
|
1245
|
-
error_kind: "string";
|
|
1246
|
-
} | {
|
|
1247
|
-
length: number;
|
|
1248
|
-
error_kind: "fmtstring";
|
|
1249
|
-
item_types: import("@aztec/stdlib/abi").AbiType[];
|
|
1250
|
-
} | ({
|
|
1251
|
-
error_kind: "custom";
|
|
1252
|
-
} & import("@aztec/stdlib/abi").AbiType) | undefined>;
|
|
1253
|
-
}, {
|
|
1254
|
-
name: string;
|
|
1255
|
-
parameters: {
|
|
1256
|
-
type: import("@aztec/stdlib/abi").AbiType;
|
|
1257
|
-
name: string;
|
|
1258
|
-
visibility: "public" | "private" | "databus";
|
|
1259
|
-
}[];
|
|
1260
|
-
functionType: FunctionType;
|
|
1261
|
-
isOnlySelf: boolean;
|
|
1262
|
-
isStatic: boolean;
|
|
1263
|
-
isInitializer: boolean;
|
|
1264
|
-
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1265
|
-
errorTypes: Record<string, {
|
|
1266
|
-
string: string;
|
|
1267
|
-
error_kind: "string";
|
|
1268
|
-
} | {
|
|
1269
|
-
length: number;
|
|
1270
|
-
error_kind: "fmtstring";
|
|
1271
|
-
item_types: import("@aztec/stdlib/abi").AbiType[];
|
|
1272
|
-
} | ({
|
|
1273
|
-
error_kind: "custom";
|
|
1274
|
-
} & import("@aztec/stdlib/abi").AbiType) | undefined>;
|
|
1275
|
-
}>, z.ZodString]>>;
|
|
1276
|
-
constructorArgs: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
1277
|
-
skipArgsDecoding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
|
|
1278
|
-
salt: ZodFor<Fr>;
|
|
1279
|
-
publicKeys: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
1280
|
-
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1281
|
-
masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1282
|
-
masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1283
|
-
masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1284
|
-
}, "strip", z.ZodTypeAny, {
|
|
1285
|
-
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
1286
|
-
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1287
|
-
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1288
|
-
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1289
|
-
}, {
|
|
1290
|
-
masterNullifierPublicKey: string;
|
|
1291
|
-
masterIncomingViewingPublicKey: string;
|
|
1292
|
-
masterOutgoingViewingPublicKey: string;
|
|
1293
|
-
masterTaggingPublicKey: string;
|
|
1294
|
-
}>, PublicKeys, {
|
|
1295
|
-
masterNullifierPublicKey: string;
|
|
1296
|
-
masterIncomingViewingPublicKey: string;
|
|
1297
|
-
masterOutgoingViewingPublicKey: string;
|
|
1298
|
-
masterTaggingPublicKey: string;
|
|
1299
|
-
}>>;
|
|
1300
|
-
deployer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
1301
|
-
}, "strip", z.ZodTypeAny, {
|
|
1302
|
-
salt: Fr;
|
|
1303
|
-
deployer?: AztecAddress | undefined;
|
|
1304
|
-
publicKeys?: PublicKeys | undefined;
|
|
1305
|
-
constructorArgs?: any[] | undefined;
|
|
1306
|
-
constructorArtifact?: string | {
|
|
1307
|
-
name: string;
|
|
1308
|
-
parameters: {
|
|
1309
|
-
type: import("@aztec/stdlib/abi").AbiType;
|
|
1310
|
-
name: string;
|
|
1311
|
-
visibility: "public" | "private" | "databus";
|
|
1312
|
-
}[];
|
|
1313
|
-
functionType: FunctionType;
|
|
1314
|
-
isOnlySelf: boolean;
|
|
1315
|
-
isStatic: boolean;
|
|
1316
|
-
isInitializer: boolean;
|
|
1317
|
-
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1318
|
-
errorTypes: Record<string, {
|
|
1319
|
-
string: string;
|
|
1320
|
-
error_kind: "string";
|
|
1321
|
-
} | {
|
|
1322
|
-
length: number;
|
|
1323
|
-
error_kind: "fmtstring";
|
|
1324
|
-
item_types: import("@aztec/stdlib/abi").AbiType[];
|
|
1325
|
-
} | ({
|
|
1326
|
-
error_kind: "custom";
|
|
1327
|
-
} & import("@aztec/stdlib/abi").AbiType) | undefined>;
|
|
1328
|
-
} | undefined;
|
|
1329
|
-
skipArgsDecoding?: boolean | undefined;
|
|
1330
|
-
}, {
|
|
1331
|
-
salt?: any;
|
|
1332
|
-
deployer?: any;
|
|
1333
|
-
publicKeys?: {
|
|
1334
|
-
masterNullifierPublicKey: string;
|
|
1335
|
-
masterIncomingViewingPublicKey: string;
|
|
1336
|
-
masterOutgoingViewingPublicKey: string;
|
|
1337
|
-
masterTaggingPublicKey: string;
|
|
1338
|
-
} | undefined;
|
|
1339
|
-
constructorArgs?: any[] | undefined;
|
|
1340
|
-
constructorArtifact?: string | {
|
|
1341
|
-
name: string;
|
|
1342
|
-
parameters: {
|
|
1343
|
-
type: import("@aztec/stdlib/abi").AbiType;
|
|
1344
|
-
name: string;
|
|
1345
|
-
visibility: "public" | "private" | "databus";
|
|
1346
|
-
}[];
|
|
1347
|
-
functionType: FunctionType;
|
|
1348
|
-
isOnlySelf: boolean;
|
|
1349
|
-
isStatic: boolean;
|
|
1350
|
-
isInitializer: boolean;
|
|
1351
|
-
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1352
|
-
errorTypes: Record<string, {
|
|
1353
|
-
string: string;
|
|
1354
|
-
error_kind: "string";
|
|
1355
|
-
} | {
|
|
1356
|
-
length: number;
|
|
1357
|
-
error_kind: "fmtstring";
|
|
1358
|
-
item_types: import("@aztec/stdlib/abi").AbiType[];
|
|
1359
|
-
} | ({
|
|
1360
|
-
error_kind: "custom";
|
|
1361
|
-
} & import("@aztec/stdlib/abi").AbiType) | undefined>;
|
|
1362
|
-
} | undefined;
|
|
1363
|
-
skipArgsDecoding?: boolean | undefined;
|
|
1364
|
-
}>, z.ZodObject<{
|
|
1365
|
-
instance: z.ZodIntersection<z.ZodObject<{
|
|
1366
|
-
version: z.ZodLiteral<1>;
|
|
1367
|
-
salt: ZodFor<Fr>;
|
|
1368
|
-
deployer: ZodFor<AztecAddress>;
|
|
1369
|
-
currentContractClassId: ZodFor<Fr>;
|
|
1370
|
-
originalContractClassId: ZodFor<Fr>;
|
|
1371
|
-
initializationHash: ZodFor<Fr>;
|
|
1372
|
-
publicKeys: z.ZodEffects<z.ZodObject<{
|
|
1373
|
-
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1374
|
-
masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1375
|
-
masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1376
|
-
masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1377
|
-
}, "strip", z.ZodTypeAny, {
|
|
1378
|
-
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
1379
|
-
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1380
|
-
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1381
|
-
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1382
|
-
}, {
|
|
1383
|
-
masterNullifierPublicKey: string;
|
|
1384
|
-
masterIncomingViewingPublicKey: string;
|
|
1385
|
-
masterOutgoingViewingPublicKey: string;
|
|
1386
|
-
masterTaggingPublicKey: string;
|
|
1387
|
-
}>, PublicKeys, {
|
|
1388
|
-
masterNullifierPublicKey: string;
|
|
1389
|
-
masterIncomingViewingPublicKey: string;
|
|
1390
|
-
masterOutgoingViewingPublicKey: string;
|
|
1391
|
-
masterTaggingPublicKey: string;
|
|
1392
|
-
}>;
|
|
1393
|
-
}, "strip", z.ZodTypeAny, {
|
|
1394
|
-
version: 1;
|
|
1395
|
-
salt: Fr;
|
|
1396
|
-
deployer: AztecAddress;
|
|
1397
|
-
currentContractClassId: Fr;
|
|
1398
|
-
originalContractClassId: Fr;
|
|
1399
|
-
initializationHash: Fr;
|
|
1400
|
-
publicKeys: PublicKeys;
|
|
1401
|
-
}, {
|
|
1402
|
-
version: 1;
|
|
1403
|
-
publicKeys: {
|
|
1404
|
-
masterNullifierPublicKey: string;
|
|
1405
|
-
masterIncomingViewingPublicKey: string;
|
|
1406
|
-
masterOutgoingViewingPublicKey: string;
|
|
1407
|
-
masterTaggingPublicKey: string;
|
|
1408
|
-
};
|
|
1409
|
-
salt?: any;
|
|
1410
|
-
deployer?: any;
|
|
1411
|
-
currentContractClassId?: any;
|
|
1412
|
-
originalContractClassId?: any;
|
|
1413
|
-
initializationHash?: any;
|
|
1414
|
-
}>, z.ZodObject<{
|
|
1415
|
-
address: ZodFor<AztecAddress>;
|
|
1416
|
-
}, "strip", z.ZodTypeAny, {
|
|
1417
|
-
address: AztecAddress;
|
|
1418
|
-
}, {
|
|
1419
|
-
address?: any;
|
|
1420
|
-
}>>;
|
|
1421
|
-
artifact: ZodFor<ContractArtifact>;
|
|
1422
|
-
}, "strip", z.ZodTypeAny, {
|
|
1423
|
-
artifact: ContractArtifact;
|
|
1424
|
-
instance: {
|
|
1425
|
-
version: 1;
|
|
1426
|
-
salt: Fr;
|
|
1427
|
-
deployer: AztecAddress;
|
|
1428
|
-
currentContractClassId: Fr;
|
|
1429
|
-
originalContractClassId: Fr;
|
|
1430
|
-
initializationHash: Fr;
|
|
1431
|
-
publicKeys: PublicKeys;
|
|
1432
|
-
} & {
|
|
1433
|
-
address: AztecAddress;
|
|
1434
|
-
};
|
|
1435
|
-
}, {
|
|
1436
|
-
instance: {
|
|
1437
|
-
version: 1;
|
|
1438
|
-
publicKeys: {
|
|
1439
|
-
masterNullifierPublicKey: string;
|
|
1440
|
-
masterIncomingViewingPublicKey: string;
|
|
1441
|
-
masterOutgoingViewingPublicKey: string;
|
|
1442
|
-
masterTaggingPublicKey: string;
|
|
1443
|
-
};
|
|
1444
|
-
salt?: any;
|
|
1445
|
-
deployer?: any;
|
|
1446
|
-
currentContractClassId?: any;
|
|
1447
|
-
originalContractClassId?: any;
|
|
1448
|
-
initializationHash?: any;
|
|
1449
|
-
} & {
|
|
1450
|
-
address?: any;
|
|
1451
|
-
};
|
|
1452
|
-
artifact?: any;
|
|
1453
|
-
}>]>;
|
|
1454
946
|
export declare const MessageHashOrIntentSchema: z.ZodUnion<[ZodFor<Fr>, z.ZodObject<{
|
|
1455
947
|
consumer: ZodFor<AztecAddress>;
|
|
1456
948
|
innerHash: ZodFor<Fr>;
|
|
@@ -1474,9 +966,9 @@ export declare const MessageHashOrIntentSchema: z.ZodUnion<[ZodFor<Fr>, z.ZodObj
|
|
|
1474
966
|
}, "strip", z.ZodTypeAny, {
|
|
1475
967
|
name: string;
|
|
1476
968
|
args: Fr[];
|
|
1477
|
-
type: FunctionType;
|
|
1478
969
|
to: AztecAddress;
|
|
1479
970
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
971
|
+
type: FunctionType;
|
|
1480
972
|
isStatic: boolean;
|
|
1481
973
|
hideMsgSender: boolean;
|
|
1482
974
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
@@ -1495,9 +987,9 @@ export declare const MessageHashOrIntentSchema: z.ZodUnion<[ZodFor<Fr>, z.ZodObj
|
|
|
1495
987
|
call: {
|
|
1496
988
|
name: string;
|
|
1497
989
|
args: Fr[];
|
|
1498
|
-
type: FunctionType;
|
|
1499
990
|
to: AztecAddress;
|
|
1500
991
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
992
|
+
type: FunctionType;
|
|
1501
993
|
isStatic: boolean;
|
|
1502
994
|
hideMsgSender: boolean;
|
|
1503
995
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
@@ -1526,7 +1018,7 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1526
1018
|
args: [any, string | undefined];
|
|
1527
1019
|
}>, z.ZodObject<{
|
|
1528
1020
|
name: z.ZodLiteral<"registerContract">;
|
|
1529
|
-
args: z.ZodTuple<[z.
|
|
1021
|
+
args: z.ZodTuple<[z.ZodIntersection<z.ZodObject<{
|
|
1530
1022
|
version: z.ZodLiteral<1>;
|
|
1531
1023
|
salt: ZodFor<Fr>;
|
|
1532
1024
|
deployer: ZodFor<AztecAddress>;
|
|
@@ -1548,7 +1040,7 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1548
1040
|
masterIncomingViewingPublicKey: string;
|
|
1549
1041
|
masterOutgoingViewingPublicKey: string;
|
|
1550
1042
|
masterTaggingPublicKey: string;
|
|
1551
|
-
}>, PublicKeys, {
|
|
1043
|
+
}>, import("@aztec/stdlib/keys").PublicKeys, {
|
|
1552
1044
|
masterNullifierPublicKey: string;
|
|
1553
1045
|
masterIncomingViewingPublicKey: string;
|
|
1554
1046
|
masterOutgoingViewingPublicKey: string;
|
|
@@ -1561,7 +1053,7 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1561
1053
|
currentContractClassId: Fr;
|
|
1562
1054
|
originalContractClassId: Fr;
|
|
1563
1055
|
initializationHash: Fr;
|
|
1564
|
-
publicKeys: PublicKeys;
|
|
1056
|
+
publicKeys: import("@aztec/stdlib/keys").PublicKeys;
|
|
1565
1057
|
}, {
|
|
1566
1058
|
version: 1;
|
|
1567
1059
|
publicKeys: {
|
|
@@ -1581,336 +1073,38 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1581
1073
|
address: AztecAddress;
|
|
1582
1074
|
}, {
|
|
1583
1075
|
address?: any;
|
|
1584
|
-
}>>,
|
|
1585
|
-
constructorArtifact: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodObject<{
|
|
1586
|
-
name: z.ZodString;
|
|
1587
|
-
functionType: z.ZodNativeEnum<typeof FunctionType>;
|
|
1588
|
-
isOnlySelf: z.ZodBoolean;
|
|
1589
|
-
isStatic: z.ZodBoolean;
|
|
1590
|
-
isInitializer: z.ZodBoolean;
|
|
1591
|
-
parameters: z.ZodArray<z.ZodObject<{
|
|
1592
|
-
name: z.ZodString;
|
|
1593
|
-
type: z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>;
|
|
1594
|
-
visibility: z.ZodEnum<["public", "private", "databus"]>;
|
|
1595
|
-
}, "strip", z.ZodTypeAny, {
|
|
1596
|
-
type: import("@aztec/stdlib/abi").AbiType;
|
|
1597
|
-
name: string;
|
|
1598
|
-
visibility: "public" | "private" | "databus";
|
|
1599
|
-
}, {
|
|
1600
|
-
type: import("@aztec/stdlib/abi").AbiType;
|
|
1601
|
-
name: string;
|
|
1602
|
-
visibility: "public" | "private" | "databus";
|
|
1603
|
-
}>, "many">;
|
|
1604
|
-
returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
|
|
1605
|
-
errorTypes: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1606
|
-
error_kind: z.ZodLiteral<"string">;
|
|
1607
|
-
string: z.ZodString;
|
|
1608
|
-
}, "strip", z.ZodTypeAny, {
|
|
1609
|
-
string: string;
|
|
1610
|
-
error_kind: "string";
|
|
1611
|
-
}, {
|
|
1612
|
-
string: string;
|
|
1613
|
-
error_kind: "string";
|
|
1614
|
-
}>, z.ZodObject<{
|
|
1615
|
-
error_kind: z.ZodLiteral<"fmtstring">;
|
|
1616
|
-
length: z.ZodNumber;
|
|
1617
|
-
item_types: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
|
|
1618
|
-
}, "strip", z.ZodTypeAny, {
|
|
1619
|
-
length: number;
|
|
1620
|
-
error_kind: "fmtstring";
|
|
1621
|
-
item_types: import("@aztec/stdlib/abi").AbiType[];
|
|
1622
|
-
}, {
|
|
1623
|
-
length: number;
|
|
1624
|
-
error_kind: "fmtstring";
|
|
1625
|
-
item_types: import("@aztec/stdlib/abi").AbiType[];
|
|
1626
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
1627
|
-
error_kind: z.ZodLiteral<"custom">;
|
|
1628
|
-
}, "strip", z.ZodTypeAny, {
|
|
1629
|
-
error_kind: "custom";
|
|
1630
|
-
}, {
|
|
1631
|
-
error_kind: "custom";
|
|
1632
|
-
}>, z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>>]>>>;
|
|
1633
|
-
}, "strip", z.ZodTypeAny, {
|
|
1634
|
-
name: string;
|
|
1635
|
-
parameters: {
|
|
1636
|
-
type: import("@aztec/stdlib/abi").AbiType;
|
|
1637
|
-
name: string;
|
|
1638
|
-
visibility: "public" | "private" | "databus";
|
|
1639
|
-
}[];
|
|
1640
|
-
functionType: FunctionType;
|
|
1641
|
-
isOnlySelf: boolean;
|
|
1642
|
-
isStatic: boolean;
|
|
1643
|
-
isInitializer: boolean;
|
|
1644
|
-
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1645
|
-
errorTypes: Record<string, {
|
|
1646
|
-
string: string;
|
|
1647
|
-
error_kind: "string";
|
|
1648
|
-
} | {
|
|
1649
|
-
length: number;
|
|
1650
|
-
error_kind: "fmtstring";
|
|
1651
|
-
item_types: import("@aztec/stdlib/abi").AbiType[];
|
|
1652
|
-
} | ({
|
|
1653
|
-
error_kind: "custom";
|
|
1654
|
-
} & import("@aztec/stdlib/abi").AbiType) | undefined>;
|
|
1655
|
-
}, {
|
|
1656
|
-
name: string;
|
|
1657
|
-
parameters: {
|
|
1658
|
-
type: import("@aztec/stdlib/abi").AbiType;
|
|
1659
|
-
name: string;
|
|
1660
|
-
visibility: "public" | "private" | "databus";
|
|
1661
|
-
}[];
|
|
1662
|
-
functionType: FunctionType;
|
|
1663
|
-
isOnlySelf: boolean;
|
|
1664
|
-
isStatic: boolean;
|
|
1665
|
-
isInitializer: boolean;
|
|
1666
|
-
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1667
|
-
errorTypes: Record<string, {
|
|
1668
|
-
string: string;
|
|
1669
|
-
error_kind: "string";
|
|
1670
|
-
} | {
|
|
1671
|
-
length: number;
|
|
1672
|
-
error_kind: "fmtstring";
|
|
1673
|
-
item_types: import("@aztec/stdlib/abi").AbiType[];
|
|
1674
|
-
} | ({
|
|
1675
|
-
error_kind: "custom";
|
|
1676
|
-
} & import("@aztec/stdlib/abi").AbiType) | undefined>;
|
|
1677
|
-
}>, z.ZodString]>>;
|
|
1678
|
-
constructorArgs: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
1679
|
-
skipArgsDecoding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
|
|
1680
|
-
salt: ZodFor<Fr>;
|
|
1681
|
-
publicKeys: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
1682
|
-
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1683
|
-
masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1684
|
-
masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1685
|
-
masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1686
|
-
}, "strip", z.ZodTypeAny, {
|
|
1687
|
-
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
1688
|
-
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1689
|
-
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1690
|
-
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1691
|
-
}, {
|
|
1692
|
-
masterNullifierPublicKey: string;
|
|
1693
|
-
masterIncomingViewingPublicKey: string;
|
|
1694
|
-
masterOutgoingViewingPublicKey: string;
|
|
1695
|
-
masterTaggingPublicKey: string;
|
|
1696
|
-
}>, PublicKeys, {
|
|
1697
|
-
masterNullifierPublicKey: string;
|
|
1698
|
-
masterIncomingViewingPublicKey: string;
|
|
1699
|
-
masterOutgoingViewingPublicKey: string;
|
|
1700
|
-
masterTaggingPublicKey: string;
|
|
1701
|
-
}>>;
|
|
1702
|
-
deployer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
1703
|
-
}, "strip", z.ZodTypeAny, {
|
|
1704
|
-
salt: Fr;
|
|
1705
|
-
deployer?: AztecAddress | undefined;
|
|
1706
|
-
publicKeys?: PublicKeys | undefined;
|
|
1707
|
-
constructorArgs?: any[] | undefined;
|
|
1708
|
-
constructorArtifact?: string | {
|
|
1709
|
-
name: string;
|
|
1710
|
-
parameters: {
|
|
1711
|
-
type: import("@aztec/stdlib/abi").AbiType;
|
|
1712
|
-
name: string;
|
|
1713
|
-
visibility: "public" | "private" | "databus";
|
|
1714
|
-
}[];
|
|
1715
|
-
functionType: FunctionType;
|
|
1716
|
-
isOnlySelf: boolean;
|
|
1717
|
-
isStatic: boolean;
|
|
1718
|
-
isInitializer: boolean;
|
|
1719
|
-
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1720
|
-
errorTypes: Record<string, {
|
|
1721
|
-
string: string;
|
|
1722
|
-
error_kind: "string";
|
|
1723
|
-
} | {
|
|
1724
|
-
length: number;
|
|
1725
|
-
error_kind: "fmtstring";
|
|
1726
|
-
item_types: import("@aztec/stdlib/abi").AbiType[];
|
|
1727
|
-
} | ({
|
|
1728
|
-
error_kind: "custom";
|
|
1729
|
-
} & import("@aztec/stdlib/abi").AbiType) | undefined>;
|
|
1730
|
-
} | undefined;
|
|
1731
|
-
skipArgsDecoding?: boolean | undefined;
|
|
1732
|
-
}, {
|
|
1733
|
-
salt?: any;
|
|
1734
|
-
deployer?: any;
|
|
1735
|
-
publicKeys?: {
|
|
1736
|
-
masterNullifierPublicKey: string;
|
|
1737
|
-
masterIncomingViewingPublicKey: string;
|
|
1738
|
-
masterOutgoingViewingPublicKey: string;
|
|
1739
|
-
masterTaggingPublicKey: string;
|
|
1740
|
-
} | undefined;
|
|
1741
|
-
constructorArgs?: any[] | undefined;
|
|
1742
|
-
constructorArtifact?: string | {
|
|
1743
|
-
name: string;
|
|
1744
|
-
parameters: {
|
|
1745
|
-
type: import("@aztec/stdlib/abi").AbiType;
|
|
1746
|
-
name: string;
|
|
1747
|
-
visibility: "public" | "private" | "databus";
|
|
1748
|
-
}[];
|
|
1749
|
-
functionType: FunctionType;
|
|
1750
|
-
isOnlySelf: boolean;
|
|
1751
|
-
isStatic: boolean;
|
|
1752
|
-
isInitializer: boolean;
|
|
1753
|
-
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1754
|
-
errorTypes: Record<string, {
|
|
1755
|
-
string: string;
|
|
1756
|
-
error_kind: "string";
|
|
1757
|
-
} | {
|
|
1758
|
-
length: number;
|
|
1759
|
-
error_kind: "fmtstring";
|
|
1760
|
-
item_types: import("@aztec/stdlib/abi").AbiType[];
|
|
1761
|
-
} | ({
|
|
1762
|
-
error_kind: "custom";
|
|
1763
|
-
} & import("@aztec/stdlib/abi").AbiType) | undefined>;
|
|
1764
|
-
} | undefined;
|
|
1765
|
-
skipArgsDecoding?: boolean | undefined;
|
|
1766
|
-
}>, z.ZodObject<{
|
|
1767
|
-
instance: z.ZodIntersection<z.ZodObject<{
|
|
1768
|
-
version: z.ZodLiteral<1>;
|
|
1769
|
-
salt: ZodFor<Fr>;
|
|
1770
|
-
deployer: ZodFor<AztecAddress>;
|
|
1771
|
-
currentContractClassId: ZodFor<Fr>;
|
|
1772
|
-
originalContractClassId: ZodFor<Fr>;
|
|
1773
|
-
initializationHash: ZodFor<Fr>;
|
|
1774
|
-
publicKeys: z.ZodEffects<z.ZodObject<{
|
|
1775
|
-
masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1776
|
-
masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1777
|
-
masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1778
|
-
masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/fields").Point, any, string>;
|
|
1779
|
-
}, "strip", z.ZodTypeAny, {
|
|
1780
|
-
masterNullifierPublicKey: import("@aztec/foundation/fields").Point;
|
|
1781
|
-
masterIncomingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1782
|
-
masterOutgoingViewingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1783
|
-
masterTaggingPublicKey: import("@aztec/foundation/fields").Point;
|
|
1784
|
-
}, {
|
|
1785
|
-
masterNullifierPublicKey: string;
|
|
1786
|
-
masterIncomingViewingPublicKey: string;
|
|
1787
|
-
masterOutgoingViewingPublicKey: string;
|
|
1788
|
-
masterTaggingPublicKey: string;
|
|
1789
|
-
}>, PublicKeys, {
|
|
1790
|
-
masterNullifierPublicKey: string;
|
|
1791
|
-
masterIncomingViewingPublicKey: string;
|
|
1792
|
-
masterOutgoingViewingPublicKey: string;
|
|
1793
|
-
masterTaggingPublicKey: string;
|
|
1794
|
-
}>;
|
|
1795
|
-
}, "strip", z.ZodTypeAny, {
|
|
1796
|
-
version: 1;
|
|
1797
|
-
salt: Fr;
|
|
1798
|
-
deployer: AztecAddress;
|
|
1799
|
-
currentContractClassId: Fr;
|
|
1800
|
-
originalContractClassId: Fr;
|
|
1801
|
-
initializationHash: Fr;
|
|
1802
|
-
publicKeys: PublicKeys;
|
|
1803
|
-
}, {
|
|
1804
|
-
version: 1;
|
|
1805
|
-
publicKeys: {
|
|
1806
|
-
masterNullifierPublicKey: string;
|
|
1807
|
-
masterIncomingViewingPublicKey: string;
|
|
1808
|
-
masterOutgoingViewingPublicKey: string;
|
|
1809
|
-
masterTaggingPublicKey: string;
|
|
1810
|
-
};
|
|
1811
|
-
salt?: any;
|
|
1812
|
-
deployer?: any;
|
|
1813
|
-
currentContractClassId?: any;
|
|
1814
|
-
originalContractClassId?: any;
|
|
1815
|
-
initializationHash?: any;
|
|
1816
|
-
}>, z.ZodObject<{
|
|
1817
|
-
address: ZodFor<AztecAddress>;
|
|
1818
|
-
}, "strip", z.ZodTypeAny, {
|
|
1819
|
-
address: AztecAddress;
|
|
1820
|
-
}, {
|
|
1821
|
-
address?: any;
|
|
1822
|
-
}>>;
|
|
1823
|
-
artifact: ZodFor<ContractArtifact>;
|
|
1824
|
-
}, "strip", z.ZodTypeAny, {
|
|
1825
|
-
artifact: ContractArtifact;
|
|
1826
|
-
instance: {
|
|
1827
|
-
version: 1;
|
|
1828
|
-
salt: Fr;
|
|
1829
|
-
deployer: AztecAddress;
|
|
1830
|
-
currentContractClassId: Fr;
|
|
1831
|
-
originalContractClassId: Fr;
|
|
1832
|
-
initializationHash: Fr;
|
|
1833
|
-
publicKeys: PublicKeys;
|
|
1834
|
-
} & {
|
|
1835
|
-
address: AztecAddress;
|
|
1836
|
-
};
|
|
1837
|
-
}, {
|
|
1838
|
-
instance: {
|
|
1839
|
-
version: 1;
|
|
1840
|
-
publicKeys: {
|
|
1841
|
-
masterNullifierPublicKey: string;
|
|
1842
|
-
masterIncomingViewingPublicKey: string;
|
|
1843
|
-
masterOutgoingViewingPublicKey: string;
|
|
1844
|
-
masterTaggingPublicKey: string;
|
|
1845
|
-
};
|
|
1846
|
-
salt?: any;
|
|
1847
|
-
deployer?: any;
|
|
1848
|
-
currentContractClassId?: any;
|
|
1849
|
-
originalContractClassId?: any;
|
|
1850
|
-
initializationHash?: any;
|
|
1851
|
-
} & {
|
|
1852
|
-
address?: any;
|
|
1853
|
-
};
|
|
1854
|
-
artifact?: any;
|
|
1855
|
-
}>]>, import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<ContractArtifact>>, import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<Fr>>], null>;
|
|
1076
|
+
}>>, import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<ContractArtifact>>, import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<Fr>>], null>;
|
|
1856
1077
|
}, "strip", z.ZodTypeAny, {
|
|
1857
1078
|
name: "registerContract";
|
|
1858
|
-
args: [
|
|
1859
|
-
salt: Fr;
|
|
1860
|
-
deployer?: AztecAddress | undefined;
|
|
1861
|
-
publicKeys?: PublicKeys | undefined;
|
|
1862
|
-
constructorArgs?: any[] | undefined;
|
|
1863
|
-
constructorArtifact?: string | {
|
|
1864
|
-
name: string;
|
|
1865
|
-
parameters: {
|
|
1866
|
-
type: import("@aztec/stdlib/abi").AbiType;
|
|
1867
|
-
name: string;
|
|
1868
|
-
visibility: "public" | "private" | "databus";
|
|
1869
|
-
}[];
|
|
1870
|
-
functionType: FunctionType;
|
|
1871
|
-
isOnlySelf: boolean;
|
|
1872
|
-
isStatic: boolean;
|
|
1873
|
-
isInitializer: boolean;
|
|
1874
|
-
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1875
|
-
errorTypes: Record<string, {
|
|
1876
|
-
string: string;
|
|
1877
|
-
error_kind: "string";
|
|
1878
|
-
} | {
|
|
1879
|
-
length: number;
|
|
1880
|
-
error_kind: "fmtstring";
|
|
1881
|
-
item_types: import("@aztec/stdlib/abi").AbiType[];
|
|
1882
|
-
} | ({
|
|
1883
|
-
error_kind: "custom";
|
|
1884
|
-
} & import("@aztec/stdlib/abi").AbiType) | undefined>;
|
|
1885
|
-
} | undefined;
|
|
1886
|
-
skipArgsDecoding?: boolean | undefined;
|
|
1887
|
-
} | ({
|
|
1079
|
+
args: [{
|
|
1888
1080
|
version: 1;
|
|
1889
1081
|
salt: Fr;
|
|
1890
1082
|
deployer: AztecAddress;
|
|
1891
1083
|
currentContractClassId: Fr;
|
|
1892
1084
|
originalContractClassId: Fr;
|
|
1893
1085
|
initializationHash: Fr;
|
|
1894
|
-
publicKeys: PublicKeys;
|
|
1086
|
+
publicKeys: import("@aztec/stdlib/keys").PublicKeys;
|
|
1895
1087
|
} & {
|
|
1896
1088
|
address: AztecAddress;
|
|
1897
|
-
}) | {
|
|
1898
|
-
artifact: ContractArtifact;
|
|
1899
|
-
instance: {
|
|
1900
|
-
version: 1;
|
|
1901
|
-
salt: Fr;
|
|
1902
|
-
deployer: AztecAddress;
|
|
1903
|
-
currentContractClassId: Fr;
|
|
1904
|
-
originalContractClassId: Fr;
|
|
1905
|
-
initializationHash: Fr;
|
|
1906
|
-
publicKeys: PublicKeys;
|
|
1907
|
-
} & {
|
|
1908
|
-
address: AztecAddress;
|
|
1909
|
-
};
|
|
1910
1089
|
}, ContractArtifact | undefined, Fr | undefined];
|
|
1911
1090
|
}, {
|
|
1912
1091
|
name: "registerContract";
|
|
1913
|
-
args: [
|
|
1092
|
+
args: [{
|
|
1093
|
+
version: 1;
|
|
1094
|
+
publicKeys: {
|
|
1095
|
+
masterNullifierPublicKey: string;
|
|
1096
|
+
masterIncomingViewingPublicKey: string;
|
|
1097
|
+
masterOutgoingViewingPublicKey: string;
|
|
1098
|
+
masterTaggingPublicKey: string;
|
|
1099
|
+
};
|
|
1100
|
+
salt?: any;
|
|
1101
|
+
deployer?: any;
|
|
1102
|
+
currentContractClassId?: any;
|
|
1103
|
+
originalContractClassId?: any;
|
|
1104
|
+
initializationHash?: any;
|
|
1105
|
+
} & {
|
|
1106
|
+
address?: any;
|
|
1107
|
+
}, any, any];
|
|
1914
1108
|
}>, z.ZodObject<{
|
|
1915
1109
|
name: z.ZodLiteral<"sendTx">;
|
|
1916
1110
|
args: z.ZodTuple<[z.ZodObject<{
|
|
@@ -1926,9 +1120,9 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1926
1120
|
}, "strip", z.ZodTypeAny, {
|
|
1927
1121
|
name: string;
|
|
1928
1122
|
args: Fr[];
|
|
1929
|
-
type: FunctionType;
|
|
1930
1123
|
to: AztecAddress;
|
|
1931
1124
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
1125
|
+
type: FunctionType;
|
|
1932
1126
|
isStatic: boolean;
|
|
1933
1127
|
hideMsgSender: boolean;
|
|
1934
1128
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
@@ -1945,20 +1139,22 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1945
1139
|
authWitnesses: z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">;
|
|
1946
1140
|
capsules: z.ZodArray<z.ZodType<Capsule, any, string>, "many">;
|
|
1947
1141
|
extraHashedArgs: z.ZodArray<ZodFor<HashedValues>, "many">;
|
|
1142
|
+
feePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
1948
1143
|
}, "strip", z.ZodTypeAny, {
|
|
1949
1144
|
authWitnesses: AuthWitness[];
|
|
1950
1145
|
capsules: Capsule[];
|
|
1951
1146
|
calls: {
|
|
1952
1147
|
name: string;
|
|
1953
1148
|
args: Fr[];
|
|
1954
|
-
type: FunctionType;
|
|
1955
1149
|
to: AztecAddress;
|
|
1956
1150
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
1151
|
+
type: FunctionType;
|
|
1957
1152
|
isStatic: boolean;
|
|
1958
1153
|
hideMsgSender: boolean;
|
|
1959
1154
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
1960
1155
|
}[];
|
|
1961
1156
|
extraHashedArgs: HashedValues[];
|
|
1157
|
+
feePayer?: AztecAddress | undefined;
|
|
1962
1158
|
}, {
|
|
1963
1159
|
authWitnesses: string[];
|
|
1964
1160
|
capsules: string[];
|
|
@@ -1973,6 +1169,7 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1973
1169
|
selector?: any;
|
|
1974
1170
|
}[];
|
|
1975
1171
|
extraHashedArgs: any[];
|
|
1172
|
+
feePayer?: any;
|
|
1976
1173
|
}>, z.ZodObject<{
|
|
1977
1174
|
from: ZodFor<AztecAddress>;
|
|
1978
1175
|
authWitnesses: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
|
|
@@ -2138,14 +1335,15 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2138
1335
|
calls: {
|
|
2139
1336
|
name: string;
|
|
2140
1337
|
args: Fr[];
|
|
2141
|
-
type: FunctionType;
|
|
2142
1338
|
to: AztecAddress;
|
|
2143
1339
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
1340
|
+
type: FunctionType;
|
|
2144
1341
|
isStatic: boolean;
|
|
2145
1342
|
hideMsgSender: boolean;
|
|
2146
1343
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
2147
1344
|
}[];
|
|
2148
1345
|
extraHashedArgs: HashedValues[];
|
|
1346
|
+
feePayer?: AztecAddress | undefined;
|
|
2149
1347
|
}, {
|
|
2150
1348
|
from: AztecAddress;
|
|
2151
1349
|
fee?: {
|
|
@@ -2181,6 +1379,7 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2181
1379
|
selector?: any;
|
|
2182
1380
|
}[];
|
|
2183
1381
|
extraHashedArgs: any[];
|
|
1382
|
+
feePayer?: any;
|
|
2184
1383
|
}, {
|
|
2185
1384
|
fee?: {
|
|
2186
1385
|
gasSettings?: {
|
|
@@ -2220,9 +1419,9 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2220
1419
|
}, "strip", z.ZodTypeAny, {
|
|
2221
1420
|
name: string;
|
|
2222
1421
|
args: Fr[];
|
|
2223
|
-
type: FunctionType;
|
|
2224
1422
|
to: AztecAddress;
|
|
2225
1423
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
1424
|
+
type: FunctionType;
|
|
2226
1425
|
isStatic: boolean;
|
|
2227
1426
|
hideMsgSender: boolean;
|
|
2228
1427
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
@@ -2235,19 +1434,19 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2235
1434
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
2236
1435
|
to?: any;
|
|
2237
1436
|
selector?: any;
|
|
2238
|
-
}>, import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many"
|
|
1437
|
+
}>, import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>], null>;
|
|
2239
1438
|
}, "strip", z.ZodTypeAny, {
|
|
2240
1439
|
name: "simulateUtility";
|
|
2241
1440
|
args: [{
|
|
2242
1441
|
name: string;
|
|
2243
1442
|
args: Fr[];
|
|
2244
|
-
type: FunctionType;
|
|
2245
1443
|
to: AztecAddress;
|
|
2246
1444
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
1445
|
+
type: FunctionType;
|
|
2247
1446
|
isStatic: boolean;
|
|
2248
1447
|
hideMsgSender: boolean;
|
|
2249
1448
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
2250
|
-
}, AuthWitness[] | undefined
|
|
1449
|
+
}, AuthWitness[] | undefined];
|
|
2251
1450
|
}, {
|
|
2252
1451
|
name: "simulateUtility";
|
|
2253
1452
|
args: [{
|
|
@@ -2259,7 +1458,7 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2259
1458
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
2260
1459
|
to?: any;
|
|
2261
1460
|
selector?: any;
|
|
2262
|
-
}, string[] | undefined
|
|
1461
|
+
}, string[] | undefined];
|
|
2263
1462
|
}>, z.ZodObject<{
|
|
2264
1463
|
name: z.ZodLiteral<"simulateTx">;
|
|
2265
1464
|
args: z.ZodTuple<[z.ZodObject<{
|
|
@@ -2275,9 +1474,9 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2275
1474
|
}, "strip", z.ZodTypeAny, {
|
|
2276
1475
|
name: string;
|
|
2277
1476
|
args: Fr[];
|
|
2278
|
-
type: FunctionType;
|
|
2279
1477
|
to: AztecAddress;
|
|
2280
1478
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
1479
|
+
type: FunctionType;
|
|
2281
1480
|
isStatic: boolean;
|
|
2282
1481
|
hideMsgSender: boolean;
|
|
2283
1482
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
@@ -2294,20 +1493,22 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2294
1493
|
authWitnesses: z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">;
|
|
2295
1494
|
capsules: z.ZodArray<z.ZodType<Capsule, any, string>, "many">;
|
|
2296
1495
|
extraHashedArgs: z.ZodArray<ZodFor<HashedValues>, "many">;
|
|
1496
|
+
feePayer: import("@aztec/foundation/schemas").ZodNullableOptional<ZodFor<AztecAddress>>;
|
|
2297
1497
|
}, "strip", z.ZodTypeAny, {
|
|
2298
1498
|
authWitnesses: AuthWitness[];
|
|
2299
1499
|
capsules: Capsule[];
|
|
2300
1500
|
calls: {
|
|
2301
1501
|
name: string;
|
|
2302
1502
|
args: Fr[];
|
|
2303
|
-
type: FunctionType;
|
|
2304
1503
|
to: AztecAddress;
|
|
2305
1504
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
1505
|
+
type: FunctionType;
|
|
2306
1506
|
isStatic: boolean;
|
|
2307
1507
|
hideMsgSender: boolean;
|
|
2308
1508
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
2309
1509
|
}[];
|
|
2310
1510
|
extraHashedArgs: HashedValues[];
|
|
1511
|
+
feePayer?: AztecAddress | undefined;
|
|
2311
1512
|
}, {
|
|
2312
1513
|
authWitnesses: string[];
|
|
2313
1514
|
capsules: string[];
|
|
@@ -2322,6 +1523,7 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2322
1523
|
selector?: any;
|
|
2323
1524
|
}[];
|
|
2324
1525
|
extraHashedArgs: any[];
|
|
1526
|
+
feePayer?: any;
|
|
2325
1527
|
}>, z.ZodObject<{
|
|
2326
1528
|
from: ZodFor<AztecAddress>;
|
|
2327
1529
|
authWitnesses: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
|
|
@@ -2507,14 +1709,15 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2507
1709
|
calls: {
|
|
2508
1710
|
name: string;
|
|
2509
1711
|
args: Fr[];
|
|
2510
|
-
type: FunctionType;
|
|
2511
1712
|
to: AztecAddress;
|
|
2512
1713
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
1714
|
+
type: FunctionType;
|
|
2513
1715
|
isStatic: boolean;
|
|
2514
1716
|
hideMsgSender: boolean;
|
|
2515
1717
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
2516
1718
|
}[];
|
|
2517
1719
|
extraHashedArgs: HashedValues[];
|
|
1720
|
+
feePayer?: AztecAddress | undefined;
|
|
2518
1721
|
}, {
|
|
2519
1722
|
from: AztecAddress;
|
|
2520
1723
|
fee?: {
|
|
@@ -2555,6 +1758,7 @@ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2555
1758
|
selector?: any;
|
|
2556
1759
|
}[];
|
|
2557
1760
|
extraHashedArgs: any[];
|
|
1761
|
+
feePayer?: any;
|
|
2558
1762
|
}, {
|
|
2559
1763
|
fee?: {
|
|
2560
1764
|
gasSettings?: {
|
|
@@ -2609,7 +1813,7 @@ export declare const ContractMetadataSchema: z.ZodObject<{
|
|
|
2609
1813
|
masterIncomingViewingPublicKey: string;
|
|
2610
1814
|
masterOutgoingViewingPublicKey: string;
|
|
2611
1815
|
masterTaggingPublicKey: string;
|
|
2612
|
-
}>, PublicKeys, {
|
|
1816
|
+
}>, import("@aztec/stdlib/keys").PublicKeys, {
|
|
2613
1817
|
masterNullifierPublicKey: string;
|
|
2614
1818
|
masterIncomingViewingPublicKey: string;
|
|
2615
1819
|
masterOutgoingViewingPublicKey: string;
|
|
@@ -2622,7 +1826,7 @@ export declare const ContractMetadataSchema: z.ZodObject<{
|
|
|
2622
1826
|
currentContractClassId: Fr;
|
|
2623
1827
|
originalContractClassId: Fr;
|
|
2624
1828
|
initializationHash: Fr;
|
|
2625
|
-
publicKeys: PublicKeys;
|
|
1829
|
+
publicKeys: import("@aztec/stdlib/keys").PublicKeys;
|
|
2626
1830
|
}, {
|
|
2627
1831
|
version: 1;
|
|
2628
1832
|
publicKeys: {
|
|
@@ -2655,7 +1859,7 @@ export declare const ContractMetadataSchema: z.ZodObject<{
|
|
|
2655
1859
|
currentContractClassId: Fr;
|
|
2656
1860
|
originalContractClassId: Fr;
|
|
2657
1861
|
initializationHash: Fr;
|
|
2658
|
-
publicKeys: PublicKeys;
|
|
1862
|
+
publicKeys: import("@aztec/stdlib/keys").PublicKeys;
|
|
2659
1863
|
} & {
|
|
2660
1864
|
address: AztecAddress;
|
|
2661
1865
|
}) | undefined;
|