@aztec/node-keystore 0.0.1-commit.b655e406 → 0.0.1-commit.b9865e97

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