@aztec/node-keystore 0.0.1-commit.d3ec352c → 0.0.1-commit.d58ff9d0

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