@aztec/node-keystore 2.0.0-rc.8 → 2.0.2-rc.1

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/schemas.d.ts CHANGED
@@ -1,74 +1,59 @@
1
+ import { AztecAddress } from '@aztec/stdlib/aztec-address';
1
2
  import { z } from 'zod';
3
+ import type { EthPrivateKey } from './types.js';
4
+ export declare const ethPrivateKeySchema: z.ZodEffects<z.ZodString, EthPrivateKey, string>;
2
5
  export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
3
6
  schemaVersion: z.ZodLiteral<1>;
4
- validators: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
5
- attester: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
6
- address: z.ZodEffects<z.ZodString, string, string>;
7
- remoteSignerUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
- certPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
- certPass: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ validators: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodObject<{
8
+ attester: z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, EthPrivateKey, string>, z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, z.ZodObject<{
9
+ address: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
10
+ remoteSignerUrl: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
11
+ certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
12
+ certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
10
13
  }, "strip", z.ZodTypeAny, {
11
- address: string;
12
- remoteSignerUrl?: string | null | undefined;
13
- certPath?: string | null | undefined;
14
- certPass?: string | null | undefined;
14
+ address: import("@aztec/foundation/schemas").EthAddress;
15
+ remoteSignerUrl?: string | undefined;
16
+ certPath?: string | undefined;
17
+ certPass?: string | undefined;
15
18
  }, {
16
19
  address: string;
17
- remoteSignerUrl?: string | null | undefined;
18
- certPath?: string | null | undefined;
19
- certPass?: string | null | undefined;
20
+ remoteSignerUrl?: string | undefined;
21
+ certPath?: string | undefined;
22
+ certPass?: string | undefined;
20
23
  }>]>, z.ZodObject<{
21
24
  path: z.ZodString;
22
- password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ password: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
23
26
  }, "strip", z.ZodTypeAny, {
24
27
  path: string;
25
- password?: string | null | undefined;
28
+ password?: string | undefined;
26
29
  }, {
27
30
  path: string;
28
- password?: string | null | undefined;
29
- }>, z.ZodObject<{
30
- mnemonic: z.ZodString;
31
- addressIndex: z.ZodDefault<z.ZodNumber>;
32
- accountIndex: z.ZodDefault<z.ZodNumber>;
33
- addressCount: z.ZodDefault<z.ZodNumber>;
34
- accountCount: z.ZodDefault<z.ZodNumber>;
35
- }, "strip", z.ZodTypeAny, {
36
- mnemonic: string;
37
- addressIndex: number;
38
- accountIndex: number;
39
- addressCount: number;
40
- accountCount: number;
41
- }, {
42
- mnemonic: string;
43
- addressIndex?: number | undefined;
44
- accountIndex?: number | undefined;
45
- addressCount?: number | undefined;
46
- accountCount?: number | undefined;
47
- }>]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
48
- address: z.ZodEffects<z.ZodString, string, string>;
49
- remoteSignerUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
- certPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
- certPass: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ password?: string | undefined;
32
+ }>]>, z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodString, EthPrivateKey, string>, z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, z.ZodObject<{
33
+ address: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
34
+ remoteSignerUrl: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
35
+ certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
36
+ certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
52
37
  }, "strip", z.ZodTypeAny, {
53
- address: string;
54
- remoteSignerUrl?: string | null | undefined;
55
- certPath?: string | null | undefined;
56
- certPass?: string | null | undefined;
38
+ address: import("@aztec/foundation/schemas").EthAddress;
39
+ remoteSignerUrl?: string | undefined;
40
+ certPath?: string | undefined;
41
+ certPass?: string | undefined;
57
42
  }, {
58
43
  address: string;
59
- remoteSignerUrl?: string | null | undefined;
60
- certPath?: string | null | undefined;
61
- certPass?: string | null | undefined;
44
+ remoteSignerUrl?: string | undefined;
45
+ certPath?: string | undefined;
46
+ certPass?: string | undefined;
62
47
  }>]>, z.ZodObject<{
63
48
  path: z.ZodString;
64
- password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ password: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
65
50
  }, "strip", z.ZodTypeAny, {
66
51
  path: string;
67
- password?: string | null | undefined;
52
+ password?: string | undefined;
68
53
  }, {
69
54
  path: string;
70
- password?: string | null | undefined;
71
- }>, z.ZodObject<{
55
+ password?: string | undefined;
56
+ }>]>, "many">, z.ZodObject<{
72
57
  mnemonic: z.ZodString;
73
58
  addressIndex: z.ZodDefault<z.ZodNumber>;
74
59
  accountIndex: z.ZodDefault<z.ZodNumber>;
@@ -86,75 +71,57 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
86
71
  accountIndex?: number | undefined;
87
72
  addressCount?: number | undefined;
88
73
  accountCount?: number | undefined;
89
- }>]>, "many">]>;
90
- coinbase: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
91
- publisher: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
92
- address: z.ZodEffects<z.ZodString, string, string>;
93
- remoteSignerUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94
- certPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95
- certPass: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
+ }>]>;
75
+ coinbase: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>>;
76
+ publisher: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, EthPrivateKey, string>, z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, z.ZodObject<{
77
+ address: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
78
+ remoteSignerUrl: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
79
+ certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
80
+ certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
96
81
  }, "strip", z.ZodTypeAny, {
97
- address: string;
98
- remoteSignerUrl?: string | null | undefined;
99
- certPath?: string | null | undefined;
100
- certPass?: string | null | undefined;
82
+ address: import("@aztec/foundation/schemas").EthAddress;
83
+ remoteSignerUrl?: string | undefined;
84
+ certPath?: string | undefined;
85
+ certPass?: string | undefined;
101
86
  }, {
102
87
  address: string;
103
- remoteSignerUrl?: string | null | undefined;
104
- certPath?: string | null | undefined;
105
- certPass?: string | null | undefined;
88
+ remoteSignerUrl?: string | undefined;
89
+ certPath?: string | undefined;
90
+ certPass?: string | undefined;
106
91
  }>]>, z.ZodObject<{
107
92
  path: z.ZodString;
108
- password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
93
+ password: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
109
94
  }, "strip", z.ZodTypeAny, {
110
95
  path: string;
111
- password?: string | null | undefined;
96
+ password?: string | undefined;
112
97
  }, {
113
98
  path: string;
114
- password?: string | null | undefined;
115
- }>, z.ZodObject<{
116
- mnemonic: z.ZodString;
117
- addressIndex: z.ZodDefault<z.ZodNumber>;
118
- accountIndex: z.ZodDefault<z.ZodNumber>;
119
- addressCount: z.ZodDefault<z.ZodNumber>;
120
- accountCount: z.ZodDefault<z.ZodNumber>;
99
+ password?: string | undefined;
100
+ }>]>, z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodString, EthPrivateKey, string>, z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, z.ZodObject<{
101
+ address: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
102
+ remoteSignerUrl: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
103
+ certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
104
+ certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
121
105
  }, "strip", z.ZodTypeAny, {
122
- mnemonic: string;
123
- addressIndex: number;
124
- accountIndex: number;
125
- addressCount: number;
126
- accountCount: number;
106
+ address: import("@aztec/foundation/schemas").EthAddress;
107
+ remoteSignerUrl?: string | undefined;
108
+ certPath?: string | undefined;
109
+ certPass?: string | undefined;
127
110
  }, {
128
- mnemonic: string;
129
- addressIndex?: number | undefined;
130
- accountIndex?: number | undefined;
131
- addressCount?: number | undefined;
132
- accountCount?: number | undefined;
133
- }>]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
134
- address: z.ZodEffects<z.ZodString, string, string>;
135
- remoteSignerUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
136
- certPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
137
- certPass: z.ZodOptional<z.ZodNullable<z.ZodString>>;
138
- }, "strip", z.ZodTypeAny, {
139
111
  address: string;
140
- remoteSignerUrl?: string | null | undefined;
141
- certPath?: string | null | undefined;
142
- certPass?: string | null | undefined;
143
- }, {
144
- address: string;
145
- remoteSignerUrl?: string | null | undefined;
146
- certPath?: string | null | undefined;
147
- certPass?: string | null | undefined;
112
+ remoteSignerUrl?: string | undefined;
113
+ certPath?: string | undefined;
114
+ certPass?: string | undefined;
148
115
  }>]>, z.ZodObject<{
149
116
  path: z.ZodString;
150
- password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117
+ password: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
151
118
  }, "strip", z.ZodTypeAny, {
152
119
  path: string;
153
- password?: string | null | undefined;
120
+ password?: string | undefined;
154
121
  }, {
155
122
  path: string;
156
- password?: string | null | undefined;
157
- }>, z.ZodObject<{
123
+ password?: string | undefined;
124
+ }>]>, "many">, z.ZodObject<{
158
125
  mnemonic: z.ZodString;
159
126
  addressIndex: z.ZodDefault<z.ZodNumber>;
160
127
  accountIndex: z.ZodDefault<z.ZodNumber>;
@@ -172,154 +139,118 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
172
139
  accountIndex?: number | undefined;
173
140
  addressCount?: number | undefined;
174
141
  accountCount?: number | undefined;
175
- }>]>, "many">]>>>;
176
- feeRecipient: z.ZodEffects<z.ZodString, string, string>;
177
- remoteSigner: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{
142
+ }>]>>;
143
+ feeRecipient: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
144
+ remoteSigner: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
178
145
  remoteSignerUrl: z.ZodString;
179
- certPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
180
- certPass: z.ZodOptional<z.ZodNullable<z.ZodString>>;
146
+ certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
147
+ certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
181
148
  }, "strip", z.ZodTypeAny, {
182
149
  remoteSignerUrl: string;
183
- certPath?: string | null | undefined;
184
- certPass?: string | null | undefined;
150
+ certPath?: string | undefined;
151
+ certPass?: string | undefined;
185
152
  }, {
186
153
  remoteSignerUrl: string;
187
- certPath?: string | null | undefined;
188
- certPass?: string | null | undefined;
189
- }>]>>>;
190
- fundingAccount: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
191
- address: z.ZodEffects<z.ZodString, string, string>;
192
- remoteSignerUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
193
- certPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
194
- certPass: z.ZodOptional<z.ZodNullable<z.ZodString>>;
154
+ certPath?: string | undefined;
155
+ certPass?: string | undefined;
156
+ }>]>>;
157
+ fundingAccount: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, EthPrivateKey, string>, z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, z.ZodObject<{
158
+ address: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
159
+ remoteSignerUrl: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
160
+ certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
161
+ certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
195
162
  }, "strip", z.ZodTypeAny, {
196
- address: string;
197
- remoteSignerUrl?: string | null | undefined;
198
- certPath?: string | null | undefined;
199
- certPass?: string | null | undefined;
163
+ address: import("@aztec/foundation/schemas").EthAddress;
164
+ remoteSignerUrl?: string | undefined;
165
+ certPath?: string | undefined;
166
+ certPass?: string | undefined;
200
167
  }, {
201
168
  address: string;
202
- remoteSignerUrl?: string | null | undefined;
203
- certPath?: string | null | undefined;
204
- certPass?: string | null | undefined;
169
+ remoteSignerUrl?: string | undefined;
170
+ certPath?: string | undefined;
171
+ certPass?: string | undefined;
205
172
  }>]>, z.ZodObject<{
206
173
  path: z.ZodString;
207
- password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
174
+ password: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
208
175
  }, "strip", z.ZodTypeAny, {
209
176
  path: string;
210
- password?: string | null | undefined;
177
+ password?: string | undefined;
211
178
  }, {
212
179
  path: string;
213
- password?: string | null | undefined;
214
- }>, z.ZodObject<{
215
- mnemonic: z.ZodString;
216
- addressIndex: z.ZodDefault<z.ZodNumber>;
217
- accountIndex: z.ZodDefault<z.ZodNumber>;
218
- addressCount: z.ZodDefault<z.ZodNumber>;
219
- accountCount: z.ZodDefault<z.ZodNumber>;
220
- }, "strip", z.ZodTypeAny, {
221
- mnemonic: string;
222
- addressIndex: number;
223
- accountIndex: number;
224
- addressCount: number;
225
- accountCount: number;
226
- }, {
227
- mnemonic: string;
228
- addressIndex?: number | undefined;
229
- accountIndex?: number | undefined;
230
- addressCount?: number | undefined;
231
- accountCount?: number | undefined;
232
- }>]>>>;
180
+ password?: string | undefined;
181
+ }>]>>;
233
182
  }, "strip", z.ZodTypeAny, {
234
- attester: string | {
235
- address: string;
236
- remoteSignerUrl?: string | null | undefined;
237
- certPath?: string | null | undefined;
238
- certPass?: string | null | undefined;
183
+ attester: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
184
+ address: import("@aztec/foundation/schemas").EthAddress;
185
+ remoteSignerUrl?: string | undefined;
186
+ certPath?: string | undefined;
187
+ certPass?: string | undefined;
239
188
  } | {
240
189
  path: string;
241
- password?: string | null | undefined;
190
+ password?: string | undefined;
242
191
  } | {
243
192
  mnemonic: string;
244
193
  addressIndex: number;
245
194
  accountIndex: number;
246
195
  addressCount: number;
247
196
  accountCount: number;
248
- } | (string | {
249
- address: string;
250
- remoteSignerUrl?: string | null | undefined;
251
- certPath?: string | null | undefined;
252
- certPass?: string | null | undefined;
197
+ } | (EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
198
+ address: import("@aztec/foundation/schemas").EthAddress;
199
+ remoteSignerUrl?: string | undefined;
200
+ certPath?: string | undefined;
201
+ certPass?: string | undefined;
253
202
  } | {
254
203
  path: string;
255
- password?: string | null | undefined;
256
- } | {
257
- mnemonic: string;
258
- addressIndex: number;
259
- accountIndex: number;
260
- addressCount: number;
261
- accountCount: number;
204
+ password?: string | undefined;
262
205
  })[];
263
- feeRecipient: string;
264
- publisher?: string | {
265
- address: string;
266
- remoteSignerUrl?: string | null | undefined;
267
- certPath?: string | null | undefined;
268
- certPass?: string | null | undefined;
206
+ feeRecipient: AztecAddress;
207
+ publisher?: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
208
+ address: import("@aztec/foundation/schemas").EthAddress;
209
+ remoteSignerUrl?: string | undefined;
210
+ certPath?: string | undefined;
211
+ certPass?: string | undefined;
269
212
  } | {
270
213
  path: string;
271
- password?: string | null | undefined;
214
+ password?: string | undefined;
272
215
  } | {
273
216
  mnemonic: string;
274
217
  addressIndex: number;
275
218
  accountIndex: number;
276
219
  addressCount: number;
277
220
  accountCount: number;
278
- } | (string | {
279
- address: string;
280
- remoteSignerUrl?: string | null | undefined;
281
- certPath?: string | null | undefined;
282
- certPass?: string | null | undefined;
221
+ } | (EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
222
+ address: import("@aztec/foundation/schemas").EthAddress;
223
+ remoteSignerUrl?: string | undefined;
224
+ certPath?: string | undefined;
225
+ certPass?: string | undefined;
283
226
  } | {
284
227
  path: string;
285
- password?: string | null | undefined;
286
- } | {
287
- mnemonic: string;
288
- addressIndex: number;
289
- accountIndex: number;
290
- addressCount: number;
291
- accountCount: number;
292
- })[] | null | undefined;
293
- coinbase?: string | null | undefined;
228
+ password?: string | undefined;
229
+ })[] | undefined;
230
+ coinbase?: import("@aztec/foundation/schemas").EthAddress | undefined;
294
231
  remoteSigner?: string | {
295
232
  remoteSignerUrl: string;
296
- certPath?: string | null | undefined;
297
- certPass?: string | null | undefined;
298
- } | null | undefined;
299
- fundingAccount?: string | {
300
- address: string;
301
- remoteSignerUrl?: string | null | undefined;
302
- certPath?: string | null | undefined;
303
- certPass?: string | null | undefined;
233
+ certPath?: string | undefined;
234
+ certPass?: string | undefined;
235
+ } | undefined;
236
+ fundingAccount?: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
237
+ address: import("@aztec/foundation/schemas").EthAddress;
238
+ remoteSignerUrl?: string | undefined;
239
+ certPath?: string | undefined;
240
+ certPass?: string | undefined;
304
241
  } | {
305
242
  path: string;
306
- password?: string | null | undefined;
307
- } | {
308
- mnemonic: string;
309
- addressIndex: number;
310
- accountIndex: number;
311
- addressCount: number;
312
- accountCount: number;
313
- } | null | undefined;
243
+ password?: string | undefined;
244
+ } | undefined;
314
245
  }, {
315
246
  attester: string | {
316
247
  address: string;
317
- remoteSignerUrl?: string | null | undefined;
318
- certPath?: string | null | undefined;
319
- certPass?: string | null | undefined;
248
+ remoteSignerUrl?: string | undefined;
249
+ certPath?: string | undefined;
250
+ certPass?: string | undefined;
320
251
  } | {
321
252
  path: string;
322
- password?: string | null | undefined;
253
+ password?: string | undefined;
323
254
  } | {
324
255
  mnemonic: string;
325
256
  addressIndex?: number | undefined;
@@ -328,28 +259,21 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
328
259
  accountCount?: number | undefined;
329
260
  } | (string | {
330
261
  address: string;
331
- remoteSignerUrl?: string | null | undefined;
332
- certPath?: string | null | undefined;
333
- certPass?: string | null | undefined;
262
+ remoteSignerUrl?: string | undefined;
263
+ certPath?: string | undefined;
264
+ certPass?: string | undefined;
334
265
  } | {
335
266
  path: string;
336
- password?: string | null | undefined;
337
- } | {
338
- mnemonic: string;
339
- addressIndex?: number | undefined;
340
- accountIndex?: number | undefined;
341
- addressCount?: number | undefined;
342
- accountCount?: number | undefined;
267
+ password?: string | undefined;
343
268
  })[];
344
- feeRecipient: string;
345
269
  publisher?: string | {
346
270
  address: string;
347
- remoteSignerUrl?: string | null | undefined;
348
- certPath?: string | null | undefined;
349
- certPass?: string | null | undefined;
271
+ remoteSignerUrl?: string | undefined;
272
+ certPath?: string | undefined;
273
+ certPass?: string | undefined;
350
274
  } | {
351
275
  path: string;
352
- password?: string | null | undefined;
276
+ password?: string | undefined;
353
277
  } | {
354
278
  mnemonic: string;
355
279
  addressIndex?: number | undefined;
@@ -358,108 +282,79 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
358
282
  accountCount?: number | undefined;
359
283
  } | (string | {
360
284
  address: string;
361
- remoteSignerUrl?: string | null | undefined;
362
- certPath?: string | null | undefined;
363
- certPass?: string | null | undefined;
285
+ remoteSignerUrl?: string | undefined;
286
+ certPath?: string | undefined;
287
+ certPass?: string | undefined;
364
288
  } | {
365
289
  path: string;
366
- password?: string | null | undefined;
367
- } | {
368
- mnemonic: string;
369
- addressIndex?: number | undefined;
370
- accountIndex?: number | undefined;
371
- addressCount?: number | undefined;
372
- accountCount?: number | undefined;
373
- })[] | null | undefined;
374
- coinbase?: string | null | undefined;
290
+ password?: string | undefined;
291
+ })[] | undefined;
292
+ coinbase?: string | undefined;
293
+ feeRecipient?: any;
375
294
  remoteSigner?: string | {
376
295
  remoteSignerUrl: string;
377
- certPath?: string | null | undefined;
378
- certPass?: string | null | undefined;
379
- } | null | undefined;
296
+ certPath?: string | undefined;
297
+ certPass?: string | undefined;
298
+ } | undefined;
380
299
  fundingAccount?: string | {
381
300
  address: string;
382
- remoteSignerUrl?: string | null | undefined;
383
- certPath?: string | null | undefined;
384
- certPass?: string | null | undefined;
301
+ remoteSignerUrl?: string | undefined;
302
+ certPath?: string | undefined;
303
+ certPass?: string | undefined;
385
304
  } | {
386
305
  path: string;
387
- password?: string | null | undefined;
388
- } | {
389
- mnemonic: string;
390
- addressIndex?: number | undefined;
391
- accountIndex?: number | undefined;
392
- addressCount?: number | undefined;
393
- accountCount?: number | undefined;
394
- } | null | undefined;
395
- }>, "many">>>;
396
- slasher: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
397
- address: z.ZodEffects<z.ZodString, string, string>;
398
- remoteSignerUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
399
- certPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
400
- certPass: z.ZodOptional<z.ZodNullable<z.ZodString>>;
306
+ password?: string | undefined;
307
+ } | undefined;
308
+ }>, "many">>;
309
+ slasher: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, EthPrivateKey, string>, z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, z.ZodObject<{
310
+ address: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
311
+ remoteSignerUrl: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
312
+ certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
313
+ certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
401
314
  }, "strip", z.ZodTypeAny, {
402
- address: string;
403
- remoteSignerUrl?: string | null | undefined;
404
- certPath?: string | null | undefined;
405
- certPass?: string | null | undefined;
315
+ address: import("@aztec/foundation/schemas").EthAddress;
316
+ remoteSignerUrl?: string | undefined;
317
+ certPath?: string | undefined;
318
+ certPass?: string | undefined;
406
319
  }, {
407
320
  address: string;
408
- remoteSignerUrl?: string | null | undefined;
409
- certPath?: string | null | undefined;
410
- certPass?: string | null | undefined;
321
+ remoteSignerUrl?: string | undefined;
322
+ certPath?: string | undefined;
323
+ certPass?: string | undefined;
411
324
  }>]>, z.ZodObject<{
412
325
  path: z.ZodString;
413
- password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
326
+ password: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
414
327
  }, "strip", z.ZodTypeAny, {
415
328
  path: string;
416
- password?: string | null | undefined;
329
+ password?: string | undefined;
417
330
  }, {
418
331
  path: string;
419
- password?: string | null | undefined;
420
- }>, z.ZodObject<{
421
- mnemonic: z.ZodString;
422
- addressIndex: z.ZodDefault<z.ZodNumber>;
423
- accountIndex: z.ZodDefault<z.ZodNumber>;
424
- addressCount: z.ZodDefault<z.ZodNumber>;
425
- accountCount: z.ZodDefault<z.ZodNumber>;
426
- }, "strip", z.ZodTypeAny, {
427
- mnemonic: string;
428
- addressIndex: number;
429
- accountIndex: number;
430
- addressCount: number;
431
- accountCount: number;
432
- }, {
433
- mnemonic: string;
434
- addressIndex?: number | undefined;
435
- accountIndex?: number | undefined;
436
- addressCount?: number | undefined;
437
- accountCount?: number | undefined;
438
- }>]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
439
- address: z.ZodEffects<z.ZodString, string, string>;
440
- remoteSignerUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
441
- certPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
442
- certPass: z.ZodOptional<z.ZodNullable<z.ZodString>>;
332
+ password?: string | undefined;
333
+ }>]>, z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodString, EthPrivateKey, string>, z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, z.ZodObject<{
334
+ address: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
335
+ remoteSignerUrl: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
336
+ certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
337
+ certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
443
338
  }, "strip", z.ZodTypeAny, {
444
- address: string;
445
- remoteSignerUrl?: string | null | undefined;
446
- certPath?: string | null | undefined;
447
- certPass?: string | null | undefined;
339
+ address: import("@aztec/foundation/schemas").EthAddress;
340
+ remoteSignerUrl?: string | undefined;
341
+ certPath?: string | undefined;
342
+ certPass?: string | undefined;
448
343
  }, {
449
344
  address: string;
450
- remoteSignerUrl?: string | null | undefined;
451
- certPath?: string | null | undefined;
452
- certPass?: string | null | undefined;
345
+ remoteSignerUrl?: string | undefined;
346
+ certPath?: string | undefined;
347
+ certPass?: string | undefined;
453
348
  }>]>, z.ZodObject<{
454
349
  path: z.ZodString;
455
- password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
350
+ password: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
456
351
  }, "strip", z.ZodTypeAny, {
457
352
  path: string;
458
- password?: string | null | undefined;
353
+ password?: string | undefined;
459
354
  }, {
460
355
  path: string;
461
- password?: string | null | undefined;
462
- }>, z.ZodObject<{
356
+ password?: string | undefined;
357
+ }>]>, "many">, z.ZodObject<{
463
358
  mnemonic: z.ZodString;
464
359
  addressIndex: z.ZodDefault<z.ZodNumber>;
465
360
  accountIndex: z.ZodDefault<z.ZodNumber>;
@@ -477,131 +372,95 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
477
372
  accountIndex?: number | undefined;
478
373
  addressCount?: number | undefined;
479
374
  accountCount?: number | undefined;
480
- }>]>, "many">]>>>;
481
- remoteSigner: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{
375
+ }>]>>;
376
+ remoteSigner: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
482
377
  remoteSignerUrl: z.ZodString;
483
- certPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
484
- certPass: z.ZodOptional<z.ZodNullable<z.ZodString>>;
378
+ certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
379
+ certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
485
380
  }, "strip", z.ZodTypeAny, {
486
381
  remoteSignerUrl: string;
487
- certPath?: string | null | undefined;
488
- certPass?: string | null | undefined;
382
+ certPath?: string | undefined;
383
+ certPass?: string | undefined;
489
384
  }, {
490
385
  remoteSignerUrl: string;
491
- certPath?: string | null | undefined;
492
- certPass?: string | null | undefined;
493
- }>]>>>;
494
- prover: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
495
- address: z.ZodEffects<z.ZodString, string, string>;
496
- remoteSignerUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
497
- certPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
498
- certPass: z.ZodOptional<z.ZodNullable<z.ZodString>>;
386
+ certPath?: string | undefined;
387
+ certPass?: string | undefined;
388
+ }>]>>;
389
+ prover: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, EthPrivateKey, string>, z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, z.ZodObject<{
390
+ address: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
391
+ remoteSignerUrl: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
392
+ certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
393
+ certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
499
394
  }, "strip", z.ZodTypeAny, {
500
- address: string;
501
- remoteSignerUrl?: string | null | undefined;
502
- certPath?: string | null | undefined;
503
- certPass?: string | null | undefined;
395
+ address: import("@aztec/foundation/schemas").EthAddress;
396
+ remoteSignerUrl?: string | undefined;
397
+ certPath?: string | undefined;
398
+ certPass?: string | undefined;
504
399
  }, {
505
400
  address: string;
506
- remoteSignerUrl?: string | null | undefined;
507
- certPath?: string | null | undefined;
508
- certPass?: string | null | undefined;
401
+ remoteSignerUrl?: string | undefined;
402
+ certPath?: string | undefined;
403
+ certPass?: string | undefined;
509
404
  }>]>, z.ZodObject<{
510
405
  path: z.ZodString;
511
- password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
406
+ password: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
512
407
  }, "strip", z.ZodTypeAny, {
513
408
  path: string;
514
- password?: string | null | undefined;
409
+ password?: string | undefined;
515
410
  }, {
516
411
  path: string;
517
- password?: string | null | undefined;
518
- }>, z.ZodObject<{
519
- mnemonic: z.ZodString;
520
- addressIndex: z.ZodDefault<z.ZodNumber>;
521
- accountIndex: z.ZodDefault<z.ZodNumber>;
522
- addressCount: z.ZodDefault<z.ZodNumber>;
523
- accountCount: z.ZodDefault<z.ZodNumber>;
524
- }, "strip", z.ZodTypeAny, {
525
- mnemonic: string;
526
- addressIndex: number;
527
- accountIndex: number;
528
- addressCount: number;
529
- accountCount: number;
530
- }, {
531
- mnemonic: string;
532
- addressIndex?: number | undefined;
533
- accountIndex?: number | undefined;
534
- addressCount?: number | undefined;
535
- accountCount?: number | undefined;
412
+ password?: string | undefined;
536
413
  }>]>, z.ZodObject<{
537
- id: z.ZodEffects<z.ZodString, string, string>;
538
- publisher: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
539
- address: z.ZodEffects<z.ZodString, string, string>;
540
- remoteSignerUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
541
- certPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
542
- certPass: z.ZodOptional<z.ZodNullable<z.ZodString>>;
414
+ id: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
415
+ publisher: z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, EthPrivateKey, string>, z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, z.ZodObject<{
416
+ address: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
417
+ remoteSignerUrl: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
418
+ certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
419
+ certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
543
420
  }, "strip", z.ZodTypeAny, {
544
- address: string;
545
- remoteSignerUrl?: string | null | undefined;
546
- certPath?: string | null | undefined;
547
- certPass?: string | null | undefined;
421
+ address: import("@aztec/foundation/schemas").EthAddress;
422
+ remoteSignerUrl?: string | undefined;
423
+ certPath?: string | undefined;
424
+ certPass?: string | undefined;
548
425
  }, {
549
426
  address: string;
550
- remoteSignerUrl?: string | null | undefined;
551
- certPath?: string | null | undefined;
552
- certPass?: string | null | undefined;
427
+ remoteSignerUrl?: string | undefined;
428
+ certPath?: string | undefined;
429
+ certPass?: string | undefined;
553
430
  }>]>, z.ZodObject<{
554
431
  path: z.ZodString;
555
- password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
432
+ password: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
556
433
  }, "strip", z.ZodTypeAny, {
557
434
  path: string;
558
- password?: string | null | undefined;
435
+ password?: string | undefined;
559
436
  }, {
560
437
  path: string;
561
- password?: string | null | undefined;
562
- }>, z.ZodObject<{
563
- mnemonic: z.ZodString;
564
- addressIndex: z.ZodDefault<z.ZodNumber>;
565
- accountIndex: z.ZodDefault<z.ZodNumber>;
566
- addressCount: z.ZodDefault<z.ZodNumber>;
567
- accountCount: z.ZodDefault<z.ZodNumber>;
568
- }, "strip", z.ZodTypeAny, {
569
- mnemonic: string;
570
- addressIndex: number;
571
- accountIndex: number;
572
- addressCount: number;
573
- accountCount: number;
574
- }, {
575
- mnemonic: string;
576
- addressIndex?: number | undefined;
577
- accountIndex?: number | undefined;
578
- addressCount?: number | undefined;
579
- accountCount?: number | undefined;
580
- }>]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
581
- address: z.ZodEffects<z.ZodString, string, string>;
582
- remoteSignerUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
583
- certPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
584
- certPass: z.ZodOptional<z.ZodNullable<z.ZodString>>;
438
+ password?: string | undefined;
439
+ }>]>, z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodString, EthPrivateKey, string>, z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, z.ZodObject<{
440
+ address: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
441
+ remoteSignerUrl: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
442
+ certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
443
+ certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
585
444
  }, "strip", z.ZodTypeAny, {
586
- address: string;
587
- remoteSignerUrl?: string | null | undefined;
588
- certPath?: string | null | undefined;
589
- certPass?: string | null | undefined;
445
+ address: import("@aztec/foundation/schemas").EthAddress;
446
+ remoteSignerUrl?: string | undefined;
447
+ certPath?: string | undefined;
448
+ certPass?: string | undefined;
590
449
  }, {
591
450
  address: string;
592
- remoteSignerUrl?: string | null | undefined;
593
- certPath?: string | null | undefined;
594
- certPass?: string | null | undefined;
451
+ remoteSignerUrl?: string | undefined;
452
+ certPath?: string | undefined;
453
+ certPass?: string | undefined;
595
454
  }>]>, z.ZodObject<{
596
455
  path: z.ZodString;
597
- password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
456
+ password: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
598
457
  }, "strip", z.ZodTypeAny, {
599
458
  path: string;
600
- password?: string | null | undefined;
459
+ password?: string | undefined;
601
460
  }, {
602
461
  path: string;
603
- password?: string | null | undefined;
604
- }>, z.ZodObject<{
462
+ password?: string | undefined;
463
+ }>]>, "many">, z.ZodObject<{
605
464
  mnemonic: z.ZodString;
606
465
  addressIndex: z.ZodDefault<z.ZodNumber>;
607
466
  accountIndex: z.ZodDefault<z.ZodNumber>;
@@ -619,48 +478,42 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
619
478
  accountIndex?: number | undefined;
620
479
  addressCount?: number | undefined;
621
480
  accountCount?: number | undefined;
622
- }>]>, "many">]>;
481
+ }>]>;
623
482
  }, "strip", z.ZodTypeAny, {
624
- id: string;
625
- publisher: string | {
626
- address: string;
627
- remoteSignerUrl?: string | null | undefined;
628
- certPath?: string | null | undefined;
629
- certPass?: string | null | undefined;
483
+ id: import("@aztec/foundation/schemas").EthAddress;
484
+ publisher: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
485
+ address: import("@aztec/foundation/schemas").EthAddress;
486
+ remoteSignerUrl?: string | undefined;
487
+ certPath?: string | undefined;
488
+ certPass?: string | undefined;
630
489
  } | {
631
490
  path: string;
632
- password?: string | null | undefined;
491
+ password?: string | undefined;
633
492
  } | {
634
493
  mnemonic: string;
635
494
  addressIndex: number;
636
495
  accountIndex: number;
637
496
  addressCount: number;
638
497
  accountCount: number;
639
- } | (string | {
640
- address: string;
641
- remoteSignerUrl?: string | null | undefined;
642
- certPath?: string | null | undefined;
643
- certPass?: string | null | undefined;
498
+ } | (EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
499
+ address: import("@aztec/foundation/schemas").EthAddress;
500
+ remoteSignerUrl?: string | undefined;
501
+ certPath?: string | undefined;
502
+ certPass?: string | undefined;
644
503
  } | {
645
504
  path: string;
646
- password?: string | null | undefined;
647
- } | {
648
- mnemonic: string;
649
- addressIndex: number;
650
- accountIndex: number;
651
- addressCount: number;
652
- accountCount: number;
505
+ password?: string | undefined;
653
506
  })[];
654
507
  }, {
655
508
  id: string;
656
509
  publisher: string | {
657
510
  address: string;
658
- remoteSignerUrl?: string | null | undefined;
659
- certPath?: string | null | undefined;
660
- certPass?: string | null | undefined;
511
+ remoteSignerUrl?: string | undefined;
512
+ certPath?: string | undefined;
513
+ certPass?: string | undefined;
661
514
  } | {
662
515
  path: string;
663
- password?: string | null | undefined;
516
+ password?: string | undefined;
664
517
  } | {
665
518
  mnemonic: string;
666
519
  addressIndex?: number | undefined;
@@ -669,273 +522,201 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
669
522
  accountCount?: number | undefined;
670
523
  } | (string | {
671
524
  address: string;
672
- remoteSignerUrl?: string | null | undefined;
673
- certPath?: string | null | undefined;
674
- certPass?: string | null | undefined;
525
+ remoteSignerUrl?: string | undefined;
526
+ certPath?: string | undefined;
527
+ certPass?: string | undefined;
675
528
  } | {
676
529
  path: string;
677
- password?: string | null | undefined;
678
- } | {
679
- mnemonic: string;
680
- addressIndex?: number | undefined;
681
- accountIndex?: number | undefined;
682
- addressCount?: number | undefined;
683
- accountCount?: number | undefined;
530
+ password?: string | undefined;
684
531
  })[];
685
- }>]>>>;
686
- fundingAccount: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
687
- address: z.ZodEffects<z.ZodString, string, string>;
688
- remoteSignerUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
689
- certPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
690
- certPass: z.ZodOptional<z.ZodNullable<z.ZodString>>;
532
+ }>]>>;
533
+ fundingAccount: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, EthPrivateKey, string>, z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, z.ZodObject<{
534
+ address: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
535
+ remoteSignerUrl: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
536
+ certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
537
+ certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
691
538
  }, "strip", z.ZodTypeAny, {
692
- address: string;
693
- remoteSignerUrl?: string | null | undefined;
694
- certPath?: string | null | undefined;
695
- certPass?: string | null | undefined;
539
+ address: import("@aztec/foundation/schemas").EthAddress;
540
+ remoteSignerUrl?: string | undefined;
541
+ certPath?: string | undefined;
542
+ certPass?: string | undefined;
696
543
  }, {
697
544
  address: string;
698
- remoteSignerUrl?: string | null | undefined;
699
- certPath?: string | null | undefined;
700
- certPass?: string | null | undefined;
545
+ remoteSignerUrl?: string | undefined;
546
+ certPath?: string | undefined;
547
+ certPass?: string | undefined;
701
548
  }>]>, z.ZodObject<{
702
549
  path: z.ZodString;
703
- password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
550
+ password: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
704
551
  }, "strip", z.ZodTypeAny, {
705
552
  path: string;
706
- password?: string | null | undefined;
553
+ password?: string | undefined;
707
554
  }, {
708
555
  path: string;
709
- password?: string | null | undefined;
710
- }>, z.ZodObject<{
711
- mnemonic: z.ZodString;
712
- addressIndex: z.ZodDefault<z.ZodNumber>;
713
- accountIndex: z.ZodDefault<z.ZodNumber>;
714
- addressCount: z.ZodDefault<z.ZodNumber>;
715
- accountCount: z.ZodDefault<z.ZodNumber>;
716
- }, "strip", z.ZodTypeAny, {
717
- mnemonic: string;
718
- addressIndex: number;
719
- accountIndex: number;
720
- addressCount: number;
721
- accountCount: number;
722
- }, {
723
- mnemonic: string;
724
- addressIndex?: number | undefined;
725
- accountIndex?: number | undefined;
726
- addressCount?: number | undefined;
727
- accountCount?: number | undefined;
728
- }>]>>>;
556
+ password?: string | undefined;
557
+ }>]>>;
729
558
  }, "strip", z.ZodTypeAny, {
730
559
  schemaVersion: 1;
731
560
  remoteSigner?: string | {
732
561
  remoteSignerUrl: string;
733
- certPath?: string | null | undefined;
734
- certPass?: string | null | undefined;
735
- } | null | undefined;
736
- fundingAccount?: string | {
737
- address: string;
738
- remoteSignerUrl?: string | null | undefined;
739
- certPath?: string | null | undefined;
740
- certPass?: string | null | undefined;
562
+ certPath?: string | undefined;
563
+ certPass?: string | undefined;
564
+ } | undefined;
565
+ fundingAccount?: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
566
+ address: import("@aztec/foundation/schemas").EthAddress;
567
+ remoteSignerUrl?: string | undefined;
568
+ certPath?: string | undefined;
569
+ certPass?: string | undefined;
741
570
  } | {
742
571
  path: string;
743
- password?: string | null | undefined;
744
- } | {
745
- mnemonic: string;
746
- addressIndex: number;
747
- accountIndex: number;
748
- addressCount: number;
749
- accountCount: number;
750
- } | null | undefined;
572
+ password?: string | undefined;
573
+ } | undefined;
751
574
  validators?: {
752
- attester: string | {
753
- address: string;
754
- remoteSignerUrl?: string | null | undefined;
755
- certPath?: string | null | undefined;
756
- certPass?: string | null | undefined;
575
+ attester: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
576
+ address: import("@aztec/foundation/schemas").EthAddress;
577
+ remoteSignerUrl?: string | undefined;
578
+ certPath?: string | undefined;
579
+ certPass?: string | undefined;
757
580
  } | {
758
581
  path: string;
759
- password?: string | null | undefined;
582
+ password?: string | undefined;
760
583
  } | {
761
584
  mnemonic: string;
762
585
  addressIndex: number;
763
586
  accountIndex: number;
764
587
  addressCount: number;
765
588
  accountCount: number;
766
- } | (string | {
767
- address: string;
768
- remoteSignerUrl?: string | null | undefined;
769
- certPath?: string | null | undefined;
770
- certPass?: string | null | undefined;
589
+ } | (EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
590
+ address: import("@aztec/foundation/schemas").EthAddress;
591
+ remoteSignerUrl?: string | undefined;
592
+ certPath?: string | undefined;
593
+ certPass?: string | undefined;
771
594
  } | {
772
595
  path: string;
773
- password?: string | null | undefined;
774
- } | {
775
- mnemonic: string;
776
- addressIndex: number;
777
- accountIndex: number;
778
- addressCount: number;
779
- accountCount: number;
596
+ password?: string | undefined;
780
597
  })[];
781
- feeRecipient: string;
782
- publisher?: string | {
783
- address: string;
784
- remoteSignerUrl?: string | null | undefined;
785
- certPath?: string | null | undefined;
786
- certPass?: string | null | undefined;
598
+ feeRecipient: AztecAddress;
599
+ publisher?: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
600
+ address: import("@aztec/foundation/schemas").EthAddress;
601
+ remoteSignerUrl?: string | undefined;
602
+ certPath?: string | undefined;
603
+ certPass?: string | undefined;
787
604
  } | {
788
605
  path: string;
789
- password?: string | null | undefined;
606
+ password?: string | undefined;
790
607
  } | {
791
608
  mnemonic: string;
792
609
  addressIndex: number;
793
610
  accountIndex: number;
794
611
  addressCount: number;
795
612
  accountCount: number;
796
- } | (string | {
797
- address: string;
798
- remoteSignerUrl?: string | null | undefined;
799
- certPath?: string | null | undefined;
800
- certPass?: string | null | undefined;
613
+ } | (EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
614
+ address: import("@aztec/foundation/schemas").EthAddress;
615
+ remoteSignerUrl?: string | undefined;
616
+ certPath?: string | undefined;
617
+ certPass?: string | undefined;
801
618
  } | {
802
619
  path: string;
803
- password?: string | null | undefined;
804
- } | {
805
- mnemonic: string;
806
- addressIndex: number;
807
- accountIndex: number;
808
- addressCount: number;
809
- accountCount: number;
810
- })[] | null | undefined;
811
- coinbase?: string | null | undefined;
620
+ password?: string | undefined;
621
+ })[] | undefined;
622
+ coinbase?: import("@aztec/foundation/schemas").EthAddress | undefined;
812
623
  remoteSigner?: string | {
813
624
  remoteSignerUrl: string;
814
- certPath?: string | null | undefined;
815
- certPass?: string | null | undefined;
816
- } | null | undefined;
817
- fundingAccount?: string | {
818
- address: string;
819
- remoteSignerUrl?: string | null | undefined;
820
- certPath?: string | null | undefined;
821
- certPass?: string | null | undefined;
625
+ certPath?: string | undefined;
626
+ certPass?: string | undefined;
627
+ } | undefined;
628
+ fundingAccount?: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
629
+ address: import("@aztec/foundation/schemas").EthAddress;
630
+ remoteSignerUrl?: string | undefined;
631
+ certPath?: string | undefined;
632
+ certPass?: string | undefined;
822
633
  } | {
823
634
  path: string;
824
- password?: string | null | undefined;
825
- } | {
826
- mnemonic: string;
827
- addressIndex: number;
828
- accountIndex: number;
829
- addressCount: number;
830
- accountCount: number;
831
- } | null | undefined;
832
- }[] | null | undefined;
833
- slasher?: string | {
834
- address: string;
835
- remoteSignerUrl?: string | null | undefined;
836
- certPath?: string | null | undefined;
837
- certPass?: string | null | undefined;
635
+ password?: string | undefined;
636
+ } | undefined;
637
+ }[] | undefined;
638
+ slasher?: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
639
+ address: import("@aztec/foundation/schemas").EthAddress;
640
+ remoteSignerUrl?: string | undefined;
641
+ certPath?: string | undefined;
642
+ certPass?: string | undefined;
838
643
  } | {
839
644
  path: string;
840
- password?: string | null | undefined;
645
+ password?: string | undefined;
841
646
  } | {
842
647
  mnemonic: string;
843
648
  addressIndex: number;
844
649
  accountIndex: number;
845
650
  addressCount: number;
846
651
  accountCount: number;
847
- } | (string | {
848
- address: string;
849
- remoteSignerUrl?: string | null | undefined;
850
- certPath?: string | null | undefined;
851
- certPass?: string | null | undefined;
652
+ } | (EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
653
+ address: import("@aztec/foundation/schemas").EthAddress;
654
+ remoteSignerUrl?: string | undefined;
655
+ certPath?: string | undefined;
656
+ certPass?: string | undefined;
852
657
  } | {
853
658
  path: string;
854
- password?: string | null | undefined;
855
- } | {
856
- mnemonic: string;
857
- addressIndex: number;
858
- accountIndex: number;
859
- addressCount: number;
860
- accountCount: number;
861
- })[] | null | undefined;
862
- prover?: string | {
863
- address: string;
864
- remoteSignerUrl?: string | null | undefined;
865
- certPath?: string | null | undefined;
866
- certPass?: string | null | undefined;
659
+ password?: string | undefined;
660
+ })[] | undefined;
661
+ prover?: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
662
+ address: import("@aztec/foundation/schemas").EthAddress;
663
+ remoteSignerUrl?: string | undefined;
664
+ certPath?: string | undefined;
665
+ certPass?: string | undefined;
867
666
  } | {
868
667
  path: string;
869
- password?: string | null | undefined;
668
+ password?: string | undefined;
870
669
  } | {
871
- mnemonic: string;
872
- addressIndex: number;
873
- accountIndex: number;
874
- addressCount: number;
875
- accountCount: number;
876
- } | {
877
- id: string;
878
- publisher: string | {
879
- address: string;
880
- remoteSignerUrl?: string | null | undefined;
881
- certPath?: string | null | undefined;
882
- certPass?: string | null | undefined;
670
+ id: import("@aztec/foundation/schemas").EthAddress;
671
+ publisher: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
672
+ address: import("@aztec/foundation/schemas").EthAddress;
673
+ remoteSignerUrl?: string | undefined;
674
+ certPath?: string | undefined;
675
+ certPass?: string | undefined;
883
676
  } | {
884
677
  path: string;
885
- password?: string | null | undefined;
678
+ password?: string | undefined;
886
679
  } | {
887
680
  mnemonic: string;
888
681
  addressIndex: number;
889
682
  accountIndex: number;
890
683
  addressCount: number;
891
684
  accountCount: number;
892
- } | (string | {
893
- address: string;
894
- remoteSignerUrl?: string | null | undefined;
895
- certPath?: string | null | undefined;
896
- certPass?: string | null | undefined;
685
+ } | (EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
686
+ address: import("@aztec/foundation/schemas").EthAddress;
687
+ remoteSignerUrl?: string | undefined;
688
+ certPath?: string | undefined;
689
+ certPass?: string | undefined;
897
690
  } | {
898
691
  path: string;
899
- password?: string | null | undefined;
900
- } | {
901
- mnemonic: string;
902
- addressIndex: number;
903
- accountIndex: number;
904
- addressCount: number;
905
- accountCount: number;
692
+ password?: string | undefined;
906
693
  })[];
907
- } | null | undefined;
694
+ } | undefined;
908
695
  }, {
909
696
  schemaVersion: 1;
910
697
  remoteSigner?: string | {
911
698
  remoteSignerUrl: string;
912
- certPath?: string | null | undefined;
913
- certPass?: string | null | undefined;
914
- } | null | undefined;
699
+ certPath?: string | undefined;
700
+ certPass?: string | undefined;
701
+ } | undefined;
915
702
  fundingAccount?: string | {
916
703
  address: string;
917
- remoteSignerUrl?: string | null | undefined;
918
- certPath?: string | null | undefined;
919
- certPass?: string | null | undefined;
704
+ remoteSignerUrl?: string | undefined;
705
+ certPath?: string | undefined;
706
+ certPass?: string | undefined;
920
707
  } | {
921
708
  path: string;
922
- password?: string | null | undefined;
923
- } | {
924
- mnemonic: string;
925
- addressIndex?: number | undefined;
926
- accountIndex?: number | undefined;
927
- addressCount?: number | undefined;
928
- accountCount?: number | undefined;
929
- } | null | undefined;
709
+ password?: string | undefined;
710
+ } | undefined;
930
711
  validators?: {
931
712
  attester: string | {
932
713
  address: string;
933
- remoteSignerUrl?: string | null | undefined;
934
- certPath?: string | null | undefined;
935
- certPass?: string | null | undefined;
714
+ remoteSignerUrl?: string | undefined;
715
+ certPath?: string | undefined;
716
+ certPass?: string | undefined;
936
717
  } | {
937
718
  path: string;
938
- password?: string | null | undefined;
719
+ password?: string | undefined;
939
720
  } | {
940
721
  mnemonic: string;
941
722
  addressIndex?: number | undefined;
@@ -944,28 +725,21 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
944
725
  accountCount?: number | undefined;
945
726
  } | (string | {
946
727
  address: string;
947
- remoteSignerUrl?: string | null | undefined;
948
- certPath?: string | null | undefined;
949
- certPass?: string | null | undefined;
728
+ remoteSignerUrl?: string | undefined;
729
+ certPath?: string | undefined;
730
+ certPass?: string | undefined;
950
731
  } | {
951
732
  path: string;
952
- password?: string | null | undefined;
953
- } | {
954
- mnemonic: string;
955
- addressIndex?: number | undefined;
956
- accountIndex?: number | undefined;
957
- addressCount?: number | undefined;
958
- accountCount?: number | undefined;
733
+ password?: string | undefined;
959
734
  })[];
960
- feeRecipient: string;
961
735
  publisher?: string | {
962
736
  address: string;
963
- remoteSignerUrl?: string | null | undefined;
964
- certPath?: string | null | undefined;
965
- certPass?: string | null | undefined;
737
+ remoteSignerUrl?: string | undefined;
738
+ certPath?: string | undefined;
739
+ certPass?: string | undefined;
966
740
  } | {
967
741
  path: string;
968
- password?: string | null | undefined;
742
+ password?: string | undefined;
969
743
  } | {
970
744
  mnemonic: string;
971
745
  addressIndex?: number | undefined;
@@ -974,49 +748,38 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
974
748
  accountCount?: number | undefined;
975
749
  } | (string | {
976
750
  address: string;
977
- remoteSignerUrl?: string | null | undefined;
978
- certPath?: string | null | undefined;
979
- certPass?: string | null | undefined;
751
+ remoteSignerUrl?: string | undefined;
752
+ certPath?: string | undefined;
753
+ certPass?: string | undefined;
980
754
  } | {
981
755
  path: string;
982
- password?: string | null | undefined;
983
- } | {
984
- mnemonic: string;
985
- addressIndex?: number | undefined;
986
- accountIndex?: number | undefined;
987
- addressCount?: number | undefined;
988
- accountCount?: number | undefined;
989
- })[] | null | undefined;
990
- coinbase?: string | null | undefined;
756
+ password?: string | undefined;
757
+ })[] | undefined;
758
+ coinbase?: string | undefined;
759
+ feeRecipient?: any;
991
760
  remoteSigner?: string | {
992
761
  remoteSignerUrl: string;
993
- certPath?: string | null | undefined;
994
- certPass?: string | null | undefined;
995
- } | null | undefined;
762
+ certPath?: string | undefined;
763
+ certPass?: string | undefined;
764
+ } | undefined;
996
765
  fundingAccount?: string | {
997
766
  address: string;
998
- remoteSignerUrl?: string | null | undefined;
999
- certPath?: string | null | undefined;
1000
- certPass?: string | null | undefined;
767
+ remoteSignerUrl?: string | undefined;
768
+ certPath?: string | undefined;
769
+ certPass?: string | undefined;
1001
770
  } | {
1002
771
  path: string;
1003
- password?: string | null | undefined;
1004
- } | {
1005
- mnemonic: string;
1006
- addressIndex?: number | undefined;
1007
- accountIndex?: number | undefined;
1008
- addressCount?: number | undefined;
1009
- accountCount?: number | undefined;
1010
- } | null | undefined;
1011
- }[] | null | undefined;
772
+ password?: string | undefined;
773
+ } | undefined;
774
+ }[] | undefined;
1012
775
  slasher?: string | {
1013
776
  address: string;
1014
- remoteSignerUrl?: string | null | undefined;
1015
- certPath?: string | null | undefined;
1016
- certPass?: string | null | undefined;
777
+ remoteSignerUrl?: string | undefined;
778
+ certPath?: string | undefined;
779
+ certPass?: string | undefined;
1017
780
  } | {
1018
781
  path: string;
1019
- password?: string | null | undefined;
782
+ password?: string | undefined;
1020
783
  } | {
1021
784
  mnemonic: string;
1022
785
  addressIndex?: number | undefined;
@@ -1025,43 +788,31 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
1025
788
  accountCount?: number | undefined;
1026
789
  } | (string | {
1027
790
  address: string;
1028
- remoteSignerUrl?: string | null | undefined;
1029
- certPath?: string | null | undefined;
1030
- certPass?: string | null | undefined;
791
+ remoteSignerUrl?: string | undefined;
792
+ certPath?: string | undefined;
793
+ certPass?: string | undefined;
1031
794
  } | {
1032
795
  path: string;
1033
- password?: string | null | undefined;
1034
- } | {
1035
- mnemonic: string;
1036
- addressIndex?: number | undefined;
1037
- accountIndex?: number | undefined;
1038
- addressCount?: number | undefined;
1039
- accountCount?: number | undefined;
1040
- })[] | null | undefined;
796
+ password?: string | undefined;
797
+ })[] | undefined;
1041
798
  prover?: string | {
1042
799
  address: string;
1043
- remoteSignerUrl?: string | null | undefined;
1044
- certPath?: string | null | undefined;
1045
- certPass?: string | null | undefined;
800
+ remoteSignerUrl?: string | undefined;
801
+ certPath?: string | undefined;
802
+ certPass?: string | undefined;
1046
803
  } | {
1047
804
  path: string;
1048
- password?: string | null | undefined;
1049
- } | {
1050
- mnemonic: string;
1051
- addressIndex?: number | undefined;
1052
- accountIndex?: number | undefined;
1053
- addressCount?: number | undefined;
1054
- accountCount?: number | undefined;
805
+ password?: string | undefined;
1055
806
  } | {
1056
807
  id: string;
1057
808
  publisher: string | {
1058
809
  address: string;
1059
- remoteSignerUrl?: string | null | undefined;
1060
- certPath?: string | null | undefined;
1061
- certPass?: string | null | undefined;
810
+ remoteSignerUrl?: string | undefined;
811
+ certPath?: string | undefined;
812
+ certPass?: string | undefined;
1062
813
  } | {
1063
814
  path: string;
1064
- password?: string | null | undefined;
815
+ password?: string | undefined;
1065
816
  } | {
1066
817
  mnemonic: string;
1067
818
  addressIndex?: number | undefined;
@@ -1070,230 +821,176 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
1070
821
  accountCount?: number | undefined;
1071
822
  } | (string | {
1072
823
  address: string;
1073
- remoteSignerUrl?: string | null | undefined;
1074
- certPath?: string | null | undefined;
1075
- certPass?: string | null | undefined;
824
+ remoteSignerUrl?: string | undefined;
825
+ certPath?: string | undefined;
826
+ certPass?: string | undefined;
1076
827
  } | {
1077
828
  path: string;
1078
- password?: string | null | undefined;
1079
- } | {
1080
- mnemonic: string;
1081
- addressIndex?: number | undefined;
1082
- accountIndex?: number | undefined;
1083
- addressCount?: number | undefined;
1084
- accountCount?: number | undefined;
829
+ password?: string | undefined;
1085
830
  })[];
1086
- } | null | undefined;
831
+ } | undefined;
1087
832
  }>, {
1088
833
  schemaVersion: 1;
1089
834
  remoteSigner?: string | {
1090
835
  remoteSignerUrl: string;
1091
- certPath?: string | null | undefined;
1092
- certPass?: string | null | undefined;
1093
- } | null | undefined;
1094
- fundingAccount?: string | {
1095
- address: string;
1096
- remoteSignerUrl?: string | null | undefined;
1097
- certPath?: string | null | undefined;
1098
- certPass?: string | null | undefined;
836
+ certPath?: string | undefined;
837
+ certPass?: string | undefined;
838
+ } | undefined;
839
+ fundingAccount?: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
840
+ address: import("@aztec/foundation/schemas").EthAddress;
841
+ remoteSignerUrl?: string | undefined;
842
+ certPath?: string | undefined;
843
+ certPass?: string | undefined;
1099
844
  } | {
1100
845
  path: string;
1101
- password?: string | null | undefined;
1102
- } | {
1103
- mnemonic: string;
1104
- addressIndex: number;
1105
- accountIndex: number;
1106
- addressCount: number;
1107
- accountCount: number;
1108
- } | null | undefined;
846
+ password?: string | undefined;
847
+ } | undefined;
1109
848
  validators?: {
1110
- attester: string | {
1111
- address: string;
1112
- remoteSignerUrl?: string | null | undefined;
1113
- certPath?: string | null | undefined;
1114
- certPass?: string | null | undefined;
849
+ attester: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
850
+ address: import("@aztec/foundation/schemas").EthAddress;
851
+ remoteSignerUrl?: string | undefined;
852
+ certPath?: string | undefined;
853
+ certPass?: string | undefined;
1115
854
  } | {
1116
855
  path: string;
1117
- password?: string | null | undefined;
856
+ password?: string | undefined;
1118
857
  } | {
1119
858
  mnemonic: string;
1120
859
  addressIndex: number;
1121
860
  accountIndex: number;
1122
861
  addressCount: number;
1123
862
  accountCount: number;
1124
- } | (string | {
1125
- address: string;
1126
- remoteSignerUrl?: string | null | undefined;
1127
- certPath?: string | null | undefined;
1128
- certPass?: string | null | undefined;
863
+ } | (EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
864
+ address: import("@aztec/foundation/schemas").EthAddress;
865
+ remoteSignerUrl?: string | undefined;
866
+ certPath?: string | undefined;
867
+ certPass?: string | undefined;
1129
868
  } | {
1130
869
  path: string;
1131
- password?: string | null | undefined;
1132
- } | {
1133
- mnemonic: string;
1134
- addressIndex: number;
1135
- accountIndex: number;
1136
- addressCount: number;
1137
- accountCount: number;
870
+ password?: string | undefined;
1138
871
  })[];
1139
- feeRecipient: string;
1140
- publisher?: string | {
1141
- address: string;
1142
- remoteSignerUrl?: string | null | undefined;
1143
- certPath?: string | null | undefined;
1144
- certPass?: string | null | undefined;
872
+ feeRecipient: AztecAddress;
873
+ publisher?: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
874
+ address: import("@aztec/foundation/schemas").EthAddress;
875
+ remoteSignerUrl?: string | undefined;
876
+ certPath?: string | undefined;
877
+ certPass?: string | undefined;
1145
878
  } | {
1146
879
  path: string;
1147
- password?: string | null | undefined;
880
+ password?: string | undefined;
1148
881
  } | {
1149
882
  mnemonic: string;
1150
883
  addressIndex: number;
1151
884
  accountIndex: number;
1152
885
  addressCount: number;
1153
886
  accountCount: number;
1154
- } | (string | {
1155
- address: string;
1156
- remoteSignerUrl?: string | null | undefined;
1157
- certPath?: string | null | undefined;
1158
- certPass?: string | null | undefined;
887
+ } | (EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
888
+ address: import("@aztec/foundation/schemas").EthAddress;
889
+ remoteSignerUrl?: string | undefined;
890
+ certPath?: string | undefined;
891
+ certPass?: string | undefined;
1159
892
  } | {
1160
893
  path: string;
1161
- password?: string | null | undefined;
1162
- } | {
1163
- mnemonic: string;
1164
- addressIndex: number;
1165
- accountIndex: number;
1166
- addressCount: number;
1167
- accountCount: number;
1168
- })[] | null | undefined;
1169
- coinbase?: string | null | undefined;
894
+ password?: string | undefined;
895
+ })[] | undefined;
896
+ coinbase?: import("@aztec/foundation/schemas").EthAddress | undefined;
1170
897
  remoteSigner?: string | {
1171
898
  remoteSignerUrl: string;
1172
- certPath?: string | null | undefined;
1173
- certPass?: string | null | undefined;
1174
- } | null | undefined;
1175
- fundingAccount?: string | {
1176
- address: string;
1177
- remoteSignerUrl?: string | null | undefined;
1178
- certPath?: string | null | undefined;
1179
- certPass?: string | null | undefined;
899
+ certPath?: string | undefined;
900
+ certPass?: string | undefined;
901
+ } | undefined;
902
+ fundingAccount?: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
903
+ address: import("@aztec/foundation/schemas").EthAddress;
904
+ remoteSignerUrl?: string | undefined;
905
+ certPath?: string | undefined;
906
+ certPass?: string | undefined;
1180
907
  } | {
1181
908
  path: string;
1182
- password?: string | null | undefined;
1183
- } | {
1184
- mnemonic: string;
1185
- addressIndex: number;
1186
- accountIndex: number;
1187
- addressCount: number;
1188
- accountCount: number;
1189
- } | null | undefined;
1190
- }[] | null | undefined;
1191
- slasher?: string | {
1192
- address: string;
1193
- remoteSignerUrl?: string | null | undefined;
1194
- certPath?: string | null | undefined;
1195
- certPass?: string | null | undefined;
909
+ password?: string | undefined;
910
+ } | undefined;
911
+ }[] | undefined;
912
+ slasher?: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
913
+ address: import("@aztec/foundation/schemas").EthAddress;
914
+ remoteSignerUrl?: string | undefined;
915
+ certPath?: string | undefined;
916
+ certPass?: string | undefined;
1196
917
  } | {
1197
918
  path: string;
1198
- password?: string | null | undefined;
919
+ password?: string | undefined;
1199
920
  } | {
1200
921
  mnemonic: string;
1201
922
  addressIndex: number;
1202
923
  accountIndex: number;
1203
924
  addressCount: number;
1204
925
  accountCount: number;
1205
- } | (string | {
1206
- address: string;
1207
- remoteSignerUrl?: string | null | undefined;
1208
- certPath?: string | null | undefined;
1209
- certPass?: string | null | undefined;
926
+ } | (EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
927
+ address: import("@aztec/foundation/schemas").EthAddress;
928
+ remoteSignerUrl?: string | undefined;
929
+ certPath?: string | undefined;
930
+ certPass?: string | undefined;
1210
931
  } | {
1211
932
  path: string;
1212
- password?: string | null | undefined;
1213
- } | {
1214
- mnemonic: string;
1215
- addressIndex: number;
1216
- accountIndex: number;
1217
- addressCount: number;
1218
- accountCount: number;
1219
- })[] | null | undefined;
1220
- prover?: string | {
1221
- address: string;
1222
- remoteSignerUrl?: string | null | undefined;
1223
- certPath?: string | null | undefined;
1224
- certPass?: string | null | undefined;
933
+ password?: string | undefined;
934
+ })[] | undefined;
935
+ prover?: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
936
+ address: import("@aztec/foundation/schemas").EthAddress;
937
+ remoteSignerUrl?: string | undefined;
938
+ certPath?: string | undefined;
939
+ certPass?: string | undefined;
1225
940
  } | {
1226
941
  path: string;
1227
- password?: string | null | undefined;
1228
- } | {
1229
- mnemonic: string;
1230
- addressIndex: number;
1231
- accountIndex: number;
1232
- addressCount: number;
1233
- accountCount: number;
942
+ password?: string | undefined;
1234
943
  } | {
1235
- id: string;
1236
- publisher: string | {
1237
- address: string;
1238
- remoteSignerUrl?: string | null | undefined;
1239
- certPath?: string | null | undefined;
1240
- certPass?: string | null | undefined;
944
+ id: import("@aztec/foundation/schemas").EthAddress;
945
+ publisher: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
946
+ address: import("@aztec/foundation/schemas").EthAddress;
947
+ remoteSignerUrl?: string | undefined;
948
+ certPath?: string | undefined;
949
+ certPass?: string | undefined;
1241
950
  } | {
1242
951
  path: string;
1243
- password?: string | null | undefined;
952
+ password?: string | undefined;
1244
953
  } | {
1245
954
  mnemonic: string;
1246
955
  addressIndex: number;
1247
956
  accountIndex: number;
1248
957
  addressCount: number;
1249
958
  accountCount: number;
1250
- } | (string | {
1251
- address: string;
1252
- remoteSignerUrl?: string | null | undefined;
1253
- certPath?: string | null | undefined;
1254
- certPass?: string | null | undefined;
959
+ } | (EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
960
+ address: import("@aztec/foundation/schemas").EthAddress;
961
+ remoteSignerUrl?: string | undefined;
962
+ certPath?: string | undefined;
963
+ certPass?: string | undefined;
1255
964
  } | {
1256
965
  path: string;
1257
- password?: string | null | undefined;
1258
- } | {
1259
- mnemonic: string;
1260
- addressIndex: number;
1261
- accountIndex: number;
1262
- addressCount: number;
1263
- accountCount: number;
966
+ password?: string | undefined;
1264
967
  })[];
1265
- } | null | undefined;
968
+ } | undefined;
1266
969
  }, {
1267
970
  schemaVersion: 1;
1268
971
  remoteSigner?: string | {
1269
972
  remoteSignerUrl: string;
1270
- certPath?: string | null | undefined;
1271
- certPass?: string | null | undefined;
1272
- } | null | undefined;
973
+ certPath?: string | undefined;
974
+ certPass?: string | undefined;
975
+ } | undefined;
1273
976
  fundingAccount?: string | {
1274
977
  address: string;
1275
- remoteSignerUrl?: string | null | undefined;
1276
- certPath?: string | null | undefined;
1277
- certPass?: string | null | undefined;
978
+ remoteSignerUrl?: string | undefined;
979
+ certPath?: string | undefined;
980
+ certPass?: string | undefined;
1278
981
  } | {
1279
982
  path: string;
1280
- password?: string | null | undefined;
1281
- } | {
1282
- mnemonic: string;
1283
- addressIndex?: number | undefined;
1284
- accountIndex?: number | undefined;
1285
- addressCount?: number | undefined;
1286
- accountCount?: number | undefined;
1287
- } | null | undefined;
983
+ password?: string | undefined;
984
+ } | undefined;
1288
985
  validators?: {
1289
986
  attester: string | {
1290
987
  address: string;
1291
- remoteSignerUrl?: string | null | undefined;
1292
- certPath?: string | null | undefined;
1293
- certPass?: string | null | undefined;
988
+ remoteSignerUrl?: string | undefined;
989
+ certPath?: string | undefined;
990
+ certPass?: string | undefined;
1294
991
  } | {
1295
992
  path: string;
1296
- password?: string | null | undefined;
993
+ password?: string | undefined;
1297
994
  } | {
1298
995
  mnemonic: string;
1299
996
  addressIndex?: number | undefined;
@@ -1302,28 +999,21 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
1302
999
  accountCount?: number | undefined;
1303
1000
  } | (string | {
1304
1001
  address: string;
1305
- remoteSignerUrl?: string | null | undefined;
1306
- certPath?: string | null | undefined;
1307
- certPass?: string | null | undefined;
1002
+ remoteSignerUrl?: string | undefined;
1003
+ certPath?: string | undefined;
1004
+ certPass?: string | undefined;
1308
1005
  } | {
1309
1006
  path: string;
1310
- password?: string | null | undefined;
1311
- } | {
1312
- mnemonic: string;
1313
- addressIndex?: number | undefined;
1314
- accountIndex?: number | undefined;
1315
- addressCount?: number | undefined;
1316
- accountCount?: number | undefined;
1007
+ password?: string | undefined;
1317
1008
  })[];
1318
- feeRecipient: string;
1319
1009
  publisher?: string | {
1320
1010
  address: string;
1321
- remoteSignerUrl?: string | null | undefined;
1322
- certPath?: string | null | undefined;
1323
- certPass?: string | null | undefined;
1011
+ remoteSignerUrl?: string | undefined;
1012
+ certPath?: string | undefined;
1013
+ certPass?: string | undefined;
1324
1014
  } | {
1325
1015
  path: string;
1326
- password?: string | null | undefined;
1016
+ password?: string | undefined;
1327
1017
  } | {
1328
1018
  mnemonic: string;
1329
1019
  addressIndex?: number | undefined;
@@ -1332,49 +1022,38 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
1332
1022
  accountCount?: number | undefined;
1333
1023
  } | (string | {
1334
1024
  address: string;
1335
- remoteSignerUrl?: string | null | undefined;
1336
- certPath?: string | null | undefined;
1337
- certPass?: string | null | undefined;
1025
+ remoteSignerUrl?: string | undefined;
1026
+ certPath?: string | undefined;
1027
+ certPass?: string | undefined;
1338
1028
  } | {
1339
1029
  path: string;
1340
- password?: string | null | undefined;
1341
- } | {
1342
- mnemonic: string;
1343
- addressIndex?: number | undefined;
1344
- accountIndex?: number | undefined;
1345
- addressCount?: number | undefined;
1346
- accountCount?: number | undefined;
1347
- })[] | null | undefined;
1348
- coinbase?: string | null | undefined;
1030
+ password?: string | undefined;
1031
+ })[] | undefined;
1032
+ coinbase?: string | undefined;
1033
+ feeRecipient?: any;
1349
1034
  remoteSigner?: string | {
1350
1035
  remoteSignerUrl: string;
1351
- certPath?: string | null | undefined;
1352
- certPass?: string | null | undefined;
1353
- } | null | undefined;
1036
+ certPath?: string | undefined;
1037
+ certPass?: string | undefined;
1038
+ } | undefined;
1354
1039
  fundingAccount?: string | {
1355
1040
  address: string;
1356
- remoteSignerUrl?: string | null | undefined;
1357
- certPath?: string | null | undefined;
1358
- certPass?: string | null | undefined;
1041
+ remoteSignerUrl?: string | undefined;
1042
+ certPath?: string | undefined;
1043
+ certPass?: string | undefined;
1359
1044
  } | {
1360
1045
  path: string;
1361
- password?: string | null | undefined;
1362
- } | {
1363
- mnemonic: string;
1364
- addressIndex?: number | undefined;
1365
- accountIndex?: number | undefined;
1366
- addressCount?: number | undefined;
1367
- accountCount?: number | undefined;
1368
- } | null | undefined;
1369
- }[] | null | undefined;
1046
+ password?: string | undefined;
1047
+ } | undefined;
1048
+ }[] | undefined;
1370
1049
  slasher?: string | {
1371
1050
  address: string;
1372
- remoteSignerUrl?: string | null | undefined;
1373
- certPath?: string | null | undefined;
1374
- certPass?: string | null | undefined;
1051
+ remoteSignerUrl?: string | undefined;
1052
+ certPath?: string | undefined;
1053
+ certPass?: string | undefined;
1375
1054
  } | {
1376
1055
  path: string;
1377
- password?: string | null | undefined;
1056
+ password?: string | undefined;
1378
1057
  } | {
1379
1058
  mnemonic: string;
1380
1059
  addressIndex?: number | undefined;
@@ -1383,43 +1062,31 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
1383
1062
  accountCount?: number | undefined;
1384
1063
  } | (string | {
1385
1064
  address: string;
1386
- remoteSignerUrl?: string | null | undefined;
1387
- certPath?: string | null | undefined;
1388
- certPass?: string | null | undefined;
1065
+ remoteSignerUrl?: string | undefined;
1066
+ certPath?: string | undefined;
1067
+ certPass?: string | undefined;
1389
1068
  } | {
1390
1069
  path: string;
1391
- password?: string | null | undefined;
1392
- } | {
1393
- mnemonic: string;
1394
- addressIndex?: number | undefined;
1395
- accountIndex?: number | undefined;
1396
- addressCount?: number | undefined;
1397
- accountCount?: number | undefined;
1398
- })[] | null | undefined;
1070
+ password?: string | undefined;
1071
+ })[] | undefined;
1399
1072
  prover?: string | {
1400
1073
  address: string;
1401
- remoteSignerUrl?: string | null | undefined;
1402
- certPath?: string | null | undefined;
1403
- certPass?: string | null | undefined;
1074
+ remoteSignerUrl?: string | undefined;
1075
+ certPath?: string | undefined;
1076
+ certPass?: string | undefined;
1404
1077
  } | {
1405
1078
  path: string;
1406
- password?: string | null | undefined;
1407
- } | {
1408
- mnemonic: string;
1409
- addressIndex?: number | undefined;
1410
- accountIndex?: number | undefined;
1411
- addressCount?: number | undefined;
1412
- accountCount?: number | undefined;
1079
+ password?: string | undefined;
1413
1080
  } | {
1414
1081
  id: string;
1415
1082
  publisher: string | {
1416
1083
  address: string;
1417
- remoteSignerUrl?: string | null | undefined;
1418
- certPath?: string | null | undefined;
1419
- certPass?: string | null | undefined;
1084
+ remoteSignerUrl?: string | undefined;
1085
+ certPath?: string | undefined;
1086
+ certPass?: string | undefined;
1420
1087
  } | {
1421
1088
  path: string;
1422
- password?: string | null | undefined;
1089
+ password?: string | undefined;
1423
1090
  } | {
1424
1091
  mnemonic: string;
1425
1092
  addressIndex?: number | undefined;
@@ -1428,20 +1095,13 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
1428
1095
  accountCount?: number | undefined;
1429
1096
  } | (string | {
1430
1097
  address: string;
1431
- remoteSignerUrl?: string | null | undefined;
1432
- certPath?: string | null | undefined;
1433
- certPass?: string | null | undefined;
1098
+ remoteSignerUrl?: string | undefined;
1099
+ certPath?: string | undefined;
1100
+ certPass?: string | undefined;
1434
1101
  } | {
1435
1102
  path: string;
1436
- password?: string | null | undefined;
1437
- } | {
1438
- mnemonic: string;
1439
- addressIndex?: number | undefined;
1440
- accountIndex?: number | undefined;
1441
- addressCount?: number | undefined;
1442
- accountCount?: number | undefined;
1103
+ password?: string | undefined;
1443
1104
  })[];
1444
- } | null | undefined;
1105
+ } | undefined;
1445
1106
  }>;
1446
- export type KeyStoreSchema = z.infer<typeof keystoreSchema>;
1447
1107
  //# sourceMappingURL=schemas.d.ts.map