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