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