@vocdoni/proto 1.15.2 → 1.15.3
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/build/js/client-store/index.d.ts +3 -0
- package/build/js/client-store/index.js +2924 -0
- package/build/js/client-store/index.mjs +2911 -0
- package/build/js/entity-e8dfcd83.d.ts +1804 -0
- package/build/js/index-05df597a.d.ts +1972 -0
- package/build/js/index-d457aeb5.d.ts +1924 -0
- package/build/js/index-fe26a63a.d.ts +11780 -0
- package/build/js/index.d.ts +5 -0
- package/build/js/index.mjs +10864 -0
- package/build/js/metadata/index.d.ts +3 -0
- package/build/js/metadata/index.js +4261 -0
- package/build/js/metadata/index.mjs +4218 -0
- package/build/js/vochain/index.d.ts +2 -0
- package/build/js/vochain/index.js +6700 -0
- package/build/js/vochain/index.mjs +6621 -0
- package/package.json +4 -2
- package/.github/workflows/on-release.yml +0 -19
- package/.github/workflows/post-merge.yml +0 -30
- package/AUTHORS +0 -7
- package/DEVELOPING.md +0 -86
- package/Makefile +0 -140
- package/bin/protoc +0 -0
- package/code-of-conduct.md +0 -77
- package/go.mod +0 -8
- package/go.sum +0 -69
- package/include/google/protobuf/any.proto +0 -158
- package/include/google/protobuf/api.proto +0 -208
- package/include/google/protobuf/compiler/plugin.proto +0 -183
- package/include/google/protobuf/descriptor.proto +0 -909
- package/include/google/protobuf/duration.proto +0 -116
- package/include/google/protobuf/empty.proto +0 -52
- package/include/google/protobuf/field_mask.proto +0 -245
- package/include/google/protobuf/source_context.proto +0 -48
- package/include/google/protobuf/struct.proto +0 -95
- package/include/google/protobuf/timestamp.proto +0 -147
- package/include/google/protobuf/type.proto +0 -187
- package/include/google/protobuf/wrappers.proto +0 -123
- package/src/client-store/account.proto +0 -54
- package/src/client-store/backup.proto +0 -65
- package/src/client-store/gateway.proto +0 -35
- package/src/client-store/wallet.proto +0 -19
- package/src/ipfsSync/ipfssync.proto +0 -26
- package/src/metadata/entity.proto +0 -75
- package/src/metadata/feed.proto +0 -51
- package/src/metadata/process.proto +0 -38
- package/src/vocdoni-node/statedb.proto +0 -35
- package/src/vochain/vochain.proto +0 -493
- package/tsconfig.json +0 -15
- package/tsup.config.ts +0 -15
|
@@ -0,0 +1,1924 @@
|
|
|
1
|
+
import _m0 from 'protobufjs/minimal';
|
|
2
|
+
import { l as EntityReference } from './entity-e8dfcd83.js';
|
|
3
|
+
|
|
4
|
+
declare enum Wallet_AuthMethod {
|
|
5
|
+
PASS = 0,
|
|
6
|
+
PIN = 1,
|
|
7
|
+
UNRECOGNIZED = -1
|
|
8
|
+
}
|
|
9
|
+
declare function wallet_AuthMethodFromJSON(object: any): Wallet_AuthMethod;
|
|
10
|
+
declare function wallet_AuthMethodToJSON(object: Wallet_AuthMethod): string;
|
|
11
|
+
/** / An encrypted wallet with the details to allow its usage, given a passphrase or a pin */
|
|
12
|
+
interface Wallet {
|
|
13
|
+
/**
|
|
14
|
+
* / Human friendly seed phrase, derived with an HD path to produce a root private key
|
|
15
|
+
* / The root private key will still be uniquely derived for each entity
|
|
16
|
+
*/
|
|
17
|
+
encryptedMnemonic: Uint8Array;
|
|
18
|
+
hdPath: string;
|
|
19
|
+
locale: string;
|
|
20
|
+
authMethod: Wallet_AuthMethod;
|
|
21
|
+
}
|
|
22
|
+
declare const Wallet: {
|
|
23
|
+
encode(message: Wallet, writer?: _m0.Writer): _m0.Writer;
|
|
24
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Wallet;
|
|
25
|
+
fromJSON(object: any): Wallet;
|
|
26
|
+
toJSON(message: Wallet): unknown;
|
|
27
|
+
create<I extends {
|
|
28
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
29
|
+
hdPath?: string | undefined;
|
|
30
|
+
locale?: string | undefined;
|
|
31
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
32
|
+
} & {
|
|
33
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
34
|
+
hdPath?: string | undefined;
|
|
35
|
+
locale?: string | undefined;
|
|
36
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
37
|
+
} & { [K in Exclude<keyof I, keyof Wallet>]: never; }>(base?: I | undefined): Wallet;
|
|
38
|
+
fromPartial<I_1 extends {
|
|
39
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
40
|
+
hdPath?: string | undefined;
|
|
41
|
+
locale?: string | undefined;
|
|
42
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
43
|
+
} & {
|
|
44
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
45
|
+
hdPath?: string | undefined;
|
|
46
|
+
locale?: string | undefined;
|
|
47
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
48
|
+
} & { [K_1 in Exclude<keyof I_1, keyof Wallet>]: never; }>(object: I_1): Wallet;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
declare const wallet_Wallet: typeof Wallet;
|
|
52
|
+
type wallet_Wallet_AuthMethod = Wallet_AuthMethod;
|
|
53
|
+
declare const wallet_Wallet_AuthMethod: typeof Wallet_AuthMethod;
|
|
54
|
+
declare const wallet_wallet_AuthMethodFromJSON: typeof wallet_AuthMethodFromJSON;
|
|
55
|
+
declare const wallet_wallet_AuthMethodToJSON: typeof wallet_AuthMethodToJSON;
|
|
56
|
+
declare namespace wallet {
|
|
57
|
+
export {
|
|
58
|
+
wallet_Wallet as Wallet,
|
|
59
|
+
wallet_Wallet_AuthMethod as Wallet_AuthMethod,
|
|
60
|
+
wallet_wallet_AuthMethodFromJSON as wallet_AuthMethodFromJSON,
|
|
61
|
+
wallet_wallet_AuthMethodToJSON as wallet_AuthMethodToJSON,
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/** / Helper to serialize and store a list of entries at once */
|
|
66
|
+
interface AccountsStore {
|
|
67
|
+
items: Account[];
|
|
68
|
+
}
|
|
69
|
+
declare const AccountsStore: {
|
|
70
|
+
encode(message: AccountsStore, writer?: _m0.Writer): _m0.Writer;
|
|
71
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): AccountsStore;
|
|
72
|
+
fromJSON(object: any): AccountsStore;
|
|
73
|
+
toJSON(message: AccountsStore): unknown;
|
|
74
|
+
create<I extends {
|
|
75
|
+
items?: {
|
|
76
|
+
name?: string | undefined;
|
|
77
|
+
wallet?: {
|
|
78
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
79
|
+
hdPath?: string | undefined;
|
|
80
|
+
locale?: string | undefined;
|
|
81
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
82
|
+
} | undefined;
|
|
83
|
+
address?: string | undefined;
|
|
84
|
+
hasBackup?: boolean | undefined;
|
|
85
|
+
extra?: {
|
|
86
|
+
content?: ({
|
|
87
|
+
appVoter?: {
|
|
88
|
+
appAnalyticsID?: string | undefined;
|
|
89
|
+
entities?: {
|
|
90
|
+
entityId?: string | undefined;
|
|
91
|
+
entryPoints?: string[] | undefined;
|
|
92
|
+
}[] | undefined;
|
|
93
|
+
} | undefined;
|
|
94
|
+
} & {
|
|
95
|
+
$case: "appVoter";
|
|
96
|
+
}) | ({
|
|
97
|
+
webEntity?: {
|
|
98
|
+
webAnalyticsID?: string | undefined;
|
|
99
|
+
} | undefined;
|
|
100
|
+
} & {
|
|
101
|
+
$case: "webEntity";
|
|
102
|
+
}) | undefined;
|
|
103
|
+
} | undefined;
|
|
104
|
+
meta?: {
|
|
105
|
+
[x: string]: string | undefined;
|
|
106
|
+
} | undefined;
|
|
107
|
+
}[] | undefined;
|
|
108
|
+
} & {
|
|
109
|
+
items?: ({
|
|
110
|
+
name?: string | undefined;
|
|
111
|
+
wallet?: {
|
|
112
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
113
|
+
hdPath?: string | undefined;
|
|
114
|
+
locale?: string | undefined;
|
|
115
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
116
|
+
} | undefined;
|
|
117
|
+
address?: string | undefined;
|
|
118
|
+
hasBackup?: boolean | undefined;
|
|
119
|
+
extra?: {
|
|
120
|
+
content?: ({
|
|
121
|
+
appVoter?: {
|
|
122
|
+
appAnalyticsID?: string | undefined;
|
|
123
|
+
entities?: {
|
|
124
|
+
entityId?: string | undefined;
|
|
125
|
+
entryPoints?: string[] | undefined;
|
|
126
|
+
}[] | undefined;
|
|
127
|
+
} | undefined;
|
|
128
|
+
} & {
|
|
129
|
+
$case: "appVoter";
|
|
130
|
+
}) | ({
|
|
131
|
+
webEntity?: {
|
|
132
|
+
webAnalyticsID?: string | undefined;
|
|
133
|
+
} | undefined;
|
|
134
|
+
} & {
|
|
135
|
+
$case: "webEntity";
|
|
136
|
+
}) | undefined;
|
|
137
|
+
} | undefined;
|
|
138
|
+
meta?: {
|
|
139
|
+
[x: string]: string | undefined;
|
|
140
|
+
} | undefined;
|
|
141
|
+
}[] & ({
|
|
142
|
+
name?: string | undefined;
|
|
143
|
+
wallet?: {
|
|
144
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
145
|
+
hdPath?: string | undefined;
|
|
146
|
+
locale?: string | undefined;
|
|
147
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
148
|
+
} | undefined;
|
|
149
|
+
address?: string | undefined;
|
|
150
|
+
hasBackup?: boolean | undefined;
|
|
151
|
+
extra?: {
|
|
152
|
+
content?: ({
|
|
153
|
+
appVoter?: {
|
|
154
|
+
appAnalyticsID?: string | undefined;
|
|
155
|
+
entities?: {
|
|
156
|
+
entityId?: string | undefined;
|
|
157
|
+
entryPoints?: string[] | undefined;
|
|
158
|
+
}[] | undefined;
|
|
159
|
+
} | undefined;
|
|
160
|
+
} & {
|
|
161
|
+
$case: "appVoter";
|
|
162
|
+
}) | ({
|
|
163
|
+
webEntity?: {
|
|
164
|
+
webAnalyticsID?: string | undefined;
|
|
165
|
+
} | undefined;
|
|
166
|
+
} & {
|
|
167
|
+
$case: "webEntity";
|
|
168
|
+
}) | undefined;
|
|
169
|
+
} | undefined;
|
|
170
|
+
meta?: {
|
|
171
|
+
[x: string]: string | undefined;
|
|
172
|
+
} | undefined;
|
|
173
|
+
} & {
|
|
174
|
+
name?: string | undefined;
|
|
175
|
+
wallet?: ({
|
|
176
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
177
|
+
hdPath?: string | undefined;
|
|
178
|
+
locale?: string | undefined;
|
|
179
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
180
|
+
} & {
|
|
181
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
182
|
+
hdPath?: string | undefined;
|
|
183
|
+
locale?: string | undefined;
|
|
184
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
185
|
+
} & { [K in Exclude<keyof I["items"][number]["wallet"], keyof Wallet>]: never; }) | undefined;
|
|
186
|
+
address?: string | undefined;
|
|
187
|
+
hasBackup?: boolean | undefined;
|
|
188
|
+
extra?: ({
|
|
189
|
+
content?: ({
|
|
190
|
+
appVoter?: {
|
|
191
|
+
appAnalyticsID?: string | undefined;
|
|
192
|
+
entities?: {
|
|
193
|
+
entityId?: string | undefined;
|
|
194
|
+
entryPoints?: string[] | undefined;
|
|
195
|
+
}[] | undefined;
|
|
196
|
+
} | undefined;
|
|
197
|
+
} & {
|
|
198
|
+
$case: "appVoter";
|
|
199
|
+
}) | ({
|
|
200
|
+
webEntity?: {
|
|
201
|
+
webAnalyticsID?: string | undefined;
|
|
202
|
+
} | undefined;
|
|
203
|
+
} & {
|
|
204
|
+
$case: "webEntity";
|
|
205
|
+
}) | undefined;
|
|
206
|
+
} & {
|
|
207
|
+
content?: ({
|
|
208
|
+
appVoter?: {
|
|
209
|
+
appAnalyticsID?: string | undefined;
|
|
210
|
+
entities?: {
|
|
211
|
+
entityId?: string | undefined;
|
|
212
|
+
entryPoints?: string[] | undefined;
|
|
213
|
+
}[] | undefined;
|
|
214
|
+
} | undefined;
|
|
215
|
+
} & {
|
|
216
|
+
$case: "appVoter";
|
|
217
|
+
} & {
|
|
218
|
+
appVoter?: ({
|
|
219
|
+
appAnalyticsID?: string | undefined;
|
|
220
|
+
entities?: {
|
|
221
|
+
entityId?: string | undefined;
|
|
222
|
+
entryPoints?: string[] | undefined;
|
|
223
|
+
}[] | undefined;
|
|
224
|
+
} & {
|
|
225
|
+
appAnalyticsID?: string | undefined;
|
|
226
|
+
entities?: ({
|
|
227
|
+
entityId?: string | undefined;
|
|
228
|
+
entryPoints?: string[] | undefined;
|
|
229
|
+
}[] & ({
|
|
230
|
+
entityId?: string | undefined;
|
|
231
|
+
entryPoints?: string[] | undefined;
|
|
232
|
+
} & {
|
|
233
|
+
entityId?: string | undefined;
|
|
234
|
+
entryPoints?: (string[] & string[] & { [K_1 in Exclude<keyof I["items"][number]["extra"]["content"]["appVoter"]["entities"][number]["entryPoints"], keyof string[]>]: never; }) | undefined;
|
|
235
|
+
} & { [K_2 in Exclude<keyof I["items"][number]["extra"]["content"]["appVoter"]["entities"][number], keyof EntityReference>]: never; })[] & { [K_3 in Exclude<keyof I["items"][number]["extra"]["content"]["appVoter"]["entities"], keyof {
|
|
236
|
+
entityId?: string | undefined;
|
|
237
|
+
entryPoints?: string[] | undefined;
|
|
238
|
+
}[]>]: never; }) | undefined;
|
|
239
|
+
} & { [K_4 in Exclude<keyof I["items"][number]["extra"]["content"]["appVoter"], keyof Account_AppVoter>]: never; }) | undefined;
|
|
240
|
+
$case: "appVoter";
|
|
241
|
+
} & { [K_5 in Exclude<keyof I["items"][number]["extra"]["content"], "$case" | "appVoter">]: never; }) | ({
|
|
242
|
+
webEntity?: {
|
|
243
|
+
webAnalyticsID?: string | undefined;
|
|
244
|
+
} | undefined;
|
|
245
|
+
} & {
|
|
246
|
+
$case: "webEntity";
|
|
247
|
+
} & {
|
|
248
|
+
webEntity?: ({
|
|
249
|
+
webAnalyticsID?: string | undefined;
|
|
250
|
+
} & {
|
|
251
|
+
webAnalyticsID?: string | undefined;
|
|
252
|
+
} & { [K_6 in Exclude<keyof I["items"][number]["extra"]["content"]["webEntity"], "webAnalyticsID">]: never; }) | undefined;
|
|
253
|
+
$case: "webEntity";
|
|
254
|
+
} & { [K_7 in Exclude<keyof I["items"][number]["extra"]["content"], "$case" | "webEntity">]: never; }) | undefined;
|
|
255
|
+
} & { [K_8 in Exclude<keyof I["items"][number]["extra"], "content">]: never; }) | undefined;
|
|
256
|
+
meta?: ({
|
|
257
|
+
[x: string]: string | undefined;
|
|
258
|
+
} & {
|
|
259
|
+
[x: string]: string | undefined;
|
|
260
|
+
} & { [K_9 in Exclude<keyof I["items"][number]["meta"], string | number>]: never; }) | undefined;
|
|
261
|
+
} & { [K_10 in Exclude<keyof I["items"][number], keyof Account>]: never; })[] & { [K_11 in Exclude<keyof I["items"], keyof {
|
|
262
|
+
name?: string | undefined;
|
|
263
|
+
wallet?: {
|
|
264
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
265
|
+
hdPath?: string | undefined;
|
|
266
|
+
locale?: string | undefined;
|
|
267
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
268
|
+
} | undefined;
|
|
269
|
+
address?: string | undefined;
|
|
270
|
+
hasBackup?: boolean | undefined;
|
|
271
|
+
extra?: {
|
|
272
|
+
content?: ({
|
|
273
|
+
appVoter?: {
|
|
274
|
+
appAnalyticsID?: string | undefined;
|
|
275
|
+
entities?: {
|
|
276
|
+
entityId?: string | undefined;
|
|
277
|
+
entryPoints?: string[] | undefined;
|
|
278
|
+
}[] | undefined;
|
|
279
|
+
} | undefined;
|
|
280
|
+
} & {
|
|
281
|
+
$case: "appVoter";
|
|
282
|
+
}) | ({
|
|
283
|
+
webEntity?: {
|
|
284
|
+
webAnalyticsID?: string | undefined;
|
|
285
|
+
} | undefined;
|
|
286
|
+
} & {
|
|
287
|
+
$case: "webEntity";
|
|
288
|
+
}) | undefined;
|
|
289
|
+
} | undefined;
|
|
290
|
+
meta?: {
|
|
291
|
+
[x: string]: string | undefined;
|
|
292
|
+
} | undefined;
|
|
293
|
+
}[]>]: never; }) | undefined;
|
|
294
|
+
} & { [K_12 in Exclude<keyof I, "items">]: never; }>(base?: I | undefined): AccountsStore;
|
|
295
|
+
fromPartial<I_1 extends {
|
|
296
|
+
items?: {
|
|
297
|
+
name?: string | undefined;
|
|
298
|
+
wallet?: {
|
|
299
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
300
|
+
hdPath?: string | undefined;
|
|
301
|
+
locale?: string | undefined;
|
|
302
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
303
|
+
} | undefined;
|
|
304
|
+
address?: string | undefined;
|
|
305
|
+
hasBackup?: boolean | undefined;
|
|
306
|
+
extra?: {
|
|
307
|
+
content?: ({
|
|
308
|
+
appVoter?: {
|
|
309
|
+
appAnalyticsID?: string | undefined;
|
|
310
|
+
entities?: {
|
|
311
|
+
entityId?: string | undefined;
|
|
312
|
+
entryPoints?: string[] | undefined;
|
|
313
|
+
}[] | undefined;
|
|
314
|
+
} | undefined;
|
|
315
|
+
} & {
|
|
316
|
+
$case: "appVoter";
|
|
317
|
+
}) | ({
|
|
318
|
+
webEntity?: {
|
|
319
|
+
webAnalyticsID?: string | undefined;
|
|
320
|
+
} | undefined;
|
|
321
|
+
} & {
|
|
322
|
+
$case: "webEntity";
|
|
323
|
+
}) | undefined;
|
|
324
|
+
} | undefined;
|
|
325
|
+
meta?: {
|
|
326
|
+
[x: string]: string | undefined;
|
|
327
|
+
} | undefined;
|
|
328
|
+
}[] | undefined;
|
|
329
|
+
} & {
|
|
330
|
+
items?: ({
|
|
331
|
+
name?: string | undefined;
|
|
332
|
+
wallet?: {
|
|
333
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
334
|
+
hdPath?: string | undefined;
|
|
335
|
+
locale?: string | undefined;
|
|
336
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
337
|
+
} | undefined;
|
|
338
|
+
address?: string | undefined;
|
|
339
|
+
hasBackup?: boolean | undefined;
|
|
340
|
+
extra?: {
|
|
341
|
+
content?: ({
|
|
342
|
+
appVoter?: {
|
|
343
|
+
appAnalyticsID?: string | undefined;
|
|
344
|
+
entities?: {
|
|
345
|
+
entityId?: string | undefined;
|
|
346
|
+
entryPoints?: string[] | undefined;
|
|
347
|
+
}[] | undefined;
|
|
348
|
+
} | undefined;
|
|
349
|
+
} & {
|
|
350
|
+
$case: "appVoter";
|
|
351
|
+
}) | ({
|
|
352
|
+
webEntity?: {
|
|
353
|
+
webAnalyticsID?: string | undefined;
|
|
354
|
+
} | undefined;
|
|
355
|
+
} & {
|
|
356
|
+
$case: "webEntity";
|
|
357
|
+
}) | undefined;
|
|
358
|
+
} | undefined;
|
|
359
|
+
meta?: {
|
|
360
|
+
[x: string]: string | undefined;
|
|
361
|
+
} | undefined;
|
|
362
|
+
}[] & ({
|
|
363
|
+
name?: string | undefined;
|
|
364
|
+
wallet?: {
|
|
365
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
366
|
+
hdPath?: string | undefined;
|
|
367
|
+
locale?: string | undefined;
|
|
368
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
369
|
+
} | undefined;
|
|
370
|
+
address?: string | undefined;
|
|
371
|
+
hasBackup?: boolean | undefined;
|
|
372
|
+
extra?: {
|
|
373
|
+
content?: ({
|
|
374
|
+
appVoter?: {
|
|
375
|
+
appAnalyticsID?: string | undefined;
|
|
376
|
+
entities?: {
|
|
377
|
+
entityId?: string | undefined;
|
|
378
|
+
entryPoints?: string[] | undefined;
|
|
379
|
+
}[] | undefined;
|
|
380
|
+
} | undefined;
|
|
381
|
+
} & {
|
|
382
|
+
$case: "appVoter";
|
|
383
|
+
}) | ({
|
|
384
|
+
webEntity?: {
|
|
385
|
+
webAnalyticsID?: string | undefined;
|
|
386
|
+
} | undefined;
|
|
387
|
+
} & {
|
|
388
|
+
$case: "webEntity";
|
|
389
|
+
}) | undefined;
|
|
390
|
+
} | undefined;
|
|
391
|
+
meta?: {
|
|
392
|
+
[x: string]: string | undefined;
|
|
393
|
+
} | undefined;
|
|
394
|
+
} & {
|
|
395
|
+
name?: string | undefined;
|
|
396
|
+
wallet?: ({
|
|
397
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
398
|
+
hdPath?: string | undefined;
|
|
399
|
+
locale?: string | undefined;
|
|
400
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
401
|
+
} & {
|
|
402
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
403
|
+
hdPath?: string | undefined;
|
|
404
|
+
locale?: string | undefined;
|
|
405
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
406
|
+
} & { [K_13 in Exclude<keyof I_1["items"][number]["wallet"], keyof Wallet>]: never; }) | undefined;
|
|
407
|
+
address?: string | undefined;
|
|
408
|
+
hasBackup?: boolean | undefined;
|
|
409
|
+
extra?: ({
|
|
410
|
+
content?: ({
|
|
411
|
+
appVoter?: {
|
|
412
|
+
appAnalyticsID?: string | undefined;
|
|
413
|
+
entities?: {
|
|
414
|
+
entityId?: string | undefined;
|
|
415
|
+
entryPoints?: string[] | undefined;
|
|
416
|
+
}[] | undefined;
|
|
417
|
+
} | undefined;
|
|
418
|
+
} & {
|
|
419
|
+
$case: "appVoter";
|
|
420
|
+
}) | ({
|
|
421
|
+
webEntity?: {
|
|
422
|
+
webAnalyticsID?: string | undefined;
|
|
423
|
+
} | undefined;
|
|
424
|
+
} & {
|
|
425
|
+
$case: "webEntity";
|
|
426
|
+
}) | undefined;
|
|
427
|
+
} & {
|
|
428
|
+
content?: ({
|
|
429
|
+
appVoter?: {
|
|
430
|
+
appAnalyticsID?: string | undefined;
|
|
431
|
+
entities?: {
|
|
432
|
+
entityId?: string | undefined;
|
|
433
|
+
entryPoints?: string[] | undefined;
|
|
434
|
+
}[] | undefined;
|
|
435
|
+
} | undefined;
|
|
436
|
+
} & {
|
|
437
|
+
$case: "appVoter";
|
|
438
|
+
} & {
|
|
439
|
+
appVoter?: ({
|
|
440
|
+
appAnalyticsID?: string | undefined;
|
|
441
|
+
entities?: {
|
|
442
|
+
entityId?: string | undefined;
|
|
443
|
+
entryPoints?: string[] | undefined;
|
|
444
|
+
}[] | undefined;
|
|
445
|
+
} & {
|
|
446
|
+
appAnalyticsID?: string | undefined;
|
|
447
|
+
entities?: ({
|
|
448
|
+
entityId?: string | undefined;
|
|
449
|
+
entryPoints?: string[] | undefined;
|
|
450
|
+
}[] & ({
|
|
451
|
+
entityId?: string | undefined;
|
|
452
|
+
entryPoints?: string[] | undefined;
|
|
453
|
+
} & {
|
|
454
|
+
entityId?: string | undefined;
|
|
455
|
+
entryPoints?: (string[] & string[] & { [K_14 in Exclude<keyof I_1["items"][number]["extra"]["content"]["appVoter"]["entities"][number]["entryPoints"], keyof string[]>]: never; }) | undefined;
|
|
456
|
+
} & { [K_15 in Exclude<keyof I_1["items"][number]["extra"]["content"]["appVoter"]["entities"][number], keyof EntityReference>]: never; })[] & { [K_16 in Exclude<keyof I_1["items"][number]["extra"]["content"]["appVoter"]["entities"], keyof {
|
|
457
|
+
entityId?: string | undefined;
|
|
458
|
+
entryPoints?: string[] | undefined;
|
|
459
|
+
}[]>]: never; }) | undefined;
|
|
460
|
+
} & { [K_17 in Exclude<keyof I_1["items"][number]["extra"]["content"]["appVoter"], keyof Account_AppVoter>]: never; }) | undefined;
|
|
461
|
+
$case: "appVoter";
|
|
462
|
+
} & { [K_18 in Exclude<keyof I_1["items"][number]["extra"]["content"], "$case" | "appVoter">]: never; }) | ({
|
|
463
|
+
webEntity?: {
|
|
464
|
+
webAnalyticsID?: string | undefined;
|
|
465
|
+
} | undefined;
|
|
466
|
+
} & {
|
|
467
|
+
$case: "webEntity";
|
|
468
|
+
} & {
|
|
469
|
+
webEntity?: ({
|
|
470
|
+
webAnalyticsID?: string | undefined;
|
|
471
|
+
} & {
|
|
472
|
+
webAnalyticsID?: string | undefined;
|
|
473
|
+
} & { [K_19 in Exclude<keyof I_1["items"][number]["extra"]["content"]["webEntity"], "webAnalyticsID">]: never; }) | undefined;
|
|
474
|
+
$case: "webEntity";
|
|
475
|
+
} & { [K_20 in Exclude<keyof I_1["items"][number]["extra"]["content"], "$case" | "webEntity">]: never; }) | undefined;
|
|
476
|
+
} & { [K_21 in Exclude<keyof I_1["items"][number]["extra"], "content">]: never; }) | undefined;
|
|
477
|
+
meta?: ({
|
|
478
|
+
[x: string]: string | undefined;
|
|
479
|
+
} & {
|
|
480
|
+
[x: string]: string | undefined;
|
|
481
|
+
} & { [K_22 in Exclude<keyof I_1["items"][number]["meta"], string | number>]: never; }) | undefined;
|
|
482
|
+
} & { [K_23 in Exclude<keyof I_1["items"][number], keyof Account>]: never; })[] & { [K_24 in Exclude<keyof I_1["items"], keyof {
|
|
483
|
+
name?: string | undefined;
|
|
484
|
+
wallet?: {
|
|
485
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
486
|
+
hdPath?: string | undefined;
|
|
487
|
+
locale?: string | undefined;
|
|
488
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
489
|
+
} | undefined;
|
|
490
|
+
address?: string | undefined;
|
|
491
|
+
hasBackup?: boolean | undefined;
|
|
492
|
+
extra?: {
|
|
493
|
+
content?: ({
|
|
494
|
+
appVoter?: {
|
|
495
|
+
appAnalyticsID?: string | undefined;
|
|
496
|
+
entities?: {
|
|
497
|
+
entityId?: string | undefined;
|
|
498
|
+
entryPoints?: string[] | undefined;
|
|
499
|
+
}[] | undefined;
|
|
500
|
+
} | undefined;
|
|
501
|
+
} & {
|
|
502
|
+
$case: "appVoter";
|
|
503
|
+
}) | ({
|
|
504
|
+
webEntity?: {
|
|
505
|
+
webAnalyticsID?: string | undefined;
|
|
506
|
+
} | undefined;
|
|
507
|
+
} & {
|
|
508
|
+
$case: "webEntity";
|
|
509
|
+
}) | undefined;
|
|
510
|
+
} | undefined;
|
|
511
|
+
meta?: {
|
|
512
|
+
[x: string]: string | undefined;
|
|
513
|
+
} | undefined;
|
|
514
|
+
}[]>]: never; }) | undefined;
|
|
515
|
+
} & { [K_25 in Exclude<keyof I_1, "items">]: never; }>(object: I_1): AccountsStore;
|
|
516
|
+
};
|
|
517
|
+
/** / An account, containing the credentials and info of both entities and app voters */
|
|
518
|
+
interface Account {
|
|
519
|
+
/** / The name of the entity or an alias to help users identify the account */
|
|
520
|
+
name: string;
|
|
521
|
+
/** / The underlying root wallet, usable with the original passphrase or pin */
|
|
522
|
+
wallet: Wallet | undefined;
|
|
523
|
+
/** / The root address of the wallet, used to detect duplicate accounts */
|
|
524
|
+
address: string;
|
|
525
|
+
/** / Does the user have a back up of the account? */
|
|
526
|
+
hasBackup: boolean;
|
|
527
|
+
extra: Account_Extra | undefined;
|
|
528
|
+
/**
|
|
529
|
+
* EXTERNAL FIELDS
|
|
530
|
+
* Allow to use arbitrary key/values so that
|
|
531
|
+
* identities can be organized by custom values.
|
|
532
|
+
*/
|
|
533
|
+
meta: {
|
|
534
|
+
[key: string]: string;
|
|
535
|
+
};
|
|
536
|
+
}
|
|
537
|
+
declare const Account: {
|
|
538
|
+
encode(message: Account, writer?: _m0.Writer): _m0.Writer;
|
|
539
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Account;
|
|
540
|
+
fromJSON(object: any): Account;
|
|
541
|
+
toJSON(message: Account): unknown;
|
|
542
|
+
create<I extends {
|
|
543
|
+
name?: string | undefined;
|
|
544
|
+
wallet?: {
|
|
545
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
546
|
+
hdPath?: string | undefined;
|
|
547
|
+
locale?: string | undefined;
|
|
548
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
549
|
+
} | undefined;
|
|
550
|
+
address?: string | undefined;
|
|
551
|
+
hasBackup?: boolean | undefined;
|
|
552
|
+
extra?: {
|
|
553
|
+
content?: ({
|
|
554
|
+
appVoter?: {
|
|
555
|
+
appAnalyticsID?: string | undefined;
|
|
556
|
+
entities?: {
|
|
557
|
+
entityId?: string | undefined;
|
|
558
|
+
entryPoints?: string[] | undefined;
|
|
559
|
+
}[] | undefined;
|
|
560
|
+
} | undefined;
|
|
561
|
+
} & {
|
|
562
|
+
$case: "appVoter";
|
|
563
|
+
}) | ({
|
|
564
|
+
webEntity?: {
|
|
565
|
+
webAnalyticsID?: string | undefined;
|
|
566
|
+
} | undefined;
|
|
567
|
+
} & {
|
|
568
|
+
$case: "webEntity";
|
|
569
|
+
}) | undefined;
|
|
570
|
+
} | undefined;
|
|
571
|
+
meta?: {
|
|
572
|
+
[x: string]: string | undefined;
|
|
573
|
+
} | undefined;
|
|
574
|
+
} & {
|
|
575
|
+
name?: string | undefined;
|
|
576
|
+
wallet?: ({
|
|
577
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
578
|
+
hdPath?: string | undefined;
|
|
579
|
+
locale?: string | undefined;
|
|
580
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
581
|
+
} & {
|
|
582
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
583
|
+
hdPath?: string | undefined;
|
|
584
|
+
locale?: string | undefined;
|
|
585
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
586
|
+
} & { [K in Exclude<keyof I["wallet"], keyof Wallet>]: never; }) | undefined;
|
|
587
|
+
address?: string | undefined;
|
|
588
|
+
hasBackup?: boolean | undefined;
|
|
589
|
+
extra?: ({
|
|
590
|
+
content?: ({
|
|
591
|
+
appVoter?: {
|
|
592
|
+
appAnalyticsID?: string | undefined;
|
|
593
|
+
entities?: {
|
|
594
|
+
entityId?: string | undefined;
|
|
595
|
+
entryPoints?: string[] | undefined;
|
|
596
|
+
}[] | undefined;
|
|
597
|
+
} | undefined;
|
|
598
|
+
} & {
|
|
599
|
+
$case: "appVoter";
|
|
600
|
+
}) | ({
|
|
601
|
+
webEntity?: {
|
|
602
|
+
webAnalyticsID?: string | undefined;
|
|
603
|
+
} | undefined;
|
|
604
|
+
} & {
|
|
605
|
+
$case: "webEntity";
|
|
606
|
+
}) | undefined;
|
|
607
|
+
} & {
|
|
608
|
+
content?: ({
|
|
609
|
+
appVoter?: {
|
|
610
|
+
appAnalyticsID?: string | undefined;
|
|
611
|
+
entities?: {
|
|
612
|
+
entityId?: string | undefined;
|
|
613
|
+
entryPoints?: string[] | undefined;
|
|
614
|
+
}[] | undefined;
|
|
615
|
+
} | undefined;
|
|
616
|
+
} & {
|
|
617
|
+
$case: "appVoter";
|
|
618
|
+
} & {
|
|
619
|
+
appVoter?: ({
|
|
620
|
+
appAnalyticsID?: string | undefined;
|
|
621
|
+
entities?: {
|
|
622
|
+
entityId?: string | undefined;
|
|
623
|
+
entryPoints?: string[] | undefined;
|
|
624
|
+
}[] | undefined;
|
|
625
|
+
} & {
|
|
626
|
+
appAnalyticsID?: string | undefined;
|
|
627
|
+
entities?: ({
|
|
628
|
+
entityId?: string | undefined;
|
|
629
|
+
entryPoints?: string[] | undefined;
|
|
630
|
+
}[] & ({
|
|
631
|
+
entityId?: string | undefined;
|
|
632
|
+
entryPoints?: string[] | undefined;
|
|
633
|
+
} & {
|
|
634
|
+
entityId?: string | undefined;
|
|
635
|
+
entryPoints?: (string[] & string[] & { [K_1 in Exclude<keyof I["extra"]["content"]["appVoter"]["entities"][number]["entryPoints"], keyof string[]>]: never; }) | undefined;
|
|
636
|
+
} & { [K_2 in Exclude<keyof I["extra"]["content"]["appVoter"]["entities"][number], keyof EntityReference>]: never; })[] & { [K_3 in Exclude<keyof I["extra"]["content"]["appVoter"]["entities"], keyof {
|
|
637
|
+
entityId?: string | undefined;
|
|
638
|
+
entryPoints?: string[] | undefined;
|
|
639
|
+
}[]>]: never; }) | undefined;
|
|
640
|
+
} & { [K_4 in Exclude<keyof I["extra"]["content"]["appVoter"], keyof Account_AppVoter>]: never; }) | undefined;
|
|
641
|
+
$case: "appVoter";
|
|
642
|
+
} & { [K_5 in Exclude<keyof I["extra"]["content"], "$case" | "appVoter">]: never; }) | ({
|
|
643
|
+
webEntity?: {
|
|
644
|
+
webAnalyticsID?: string | undefined;
|
|
645
|
+
} | undefined;
|
|
646
|
+
} & {
|
|
647
|
+
$case: "webEntity";
|
|
648
|
+
} & {
|
|
649
|
+
webEntity?: ({
|
|
650
|
+
webAnalyticsID?: string | undefined;
|
|
651
|
+
} & {
|
|
652
|
+
webAnalyticsID?: string | undefined;
|
|
653
|
+
} & { [K_6 in Exclude<keyof I["extra"]["content"]["webEntity"], "webAnalyticsID">]: never; }) | undefined;
|
|
654
|
+
$case: "webEntity";
|
|
655
|
+
} & { [K_7 in Exclude<keyof I["extra"]["content"], "$case" | "webEntity">]: never; }) | undefined;
|
|
656
|
+
} & { [K_8 in Exclude<keyof I["extra"], "content">]: never; }) | undefined;
|
|
657
|
+
meta?: ({
|
|
658
|
+
[x: string]: string | undefined;
|
|
659
|
+
} & {
|
|
660
|
+
[x: string]: string | undefined;
|
|
661
|
+
} & { [K_9 in Exclude<keyof I["meta"], string | number>]: never; }) | undefined;
|
|
662
|
+
} & { [K_10 in Exclude<keyof I, keyof Account>]: never; }>(base?: I | undefined): Account;
|
|
663
|
+
fromPartial<I_1 extends {
|
|
664
|
+
name?: string | undefined;
|
|
665
|
+
wallet?: {
|
|
666
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
667
|
+
hdPath?: string | undefined;
|
|
668
|
+
locale?: string | undefined;
|
|
669
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
670
|
+
} | undefined;
|
|
671
|
+
address?: string | undefined;
|
|
672
|
+
hasBackup?: boolean | undefined;
|
|
673
|
+
extra?: {
|
|
674
|
+
content?: ({
|
|
675
|
+
appVoter?: {
|
|
676
|
+
appAnalyticsID?: string | undefined;
|
|
677
|
+
entities?: {
|
|
678
|
+
entityId?: string | undefined;
|
|
679
|
+
entryPoints?: string[] | undefined;
|
|
680
|
+
}[] | undefined;
|
|
681
|
+
} | undefined;
|
|
682
|
+
} & {
|
|
683
|
+
$case: "appVoter";
|
|
684
|
+
}) | ({
|
|
685
|
+
webEntity?: {
|
|
686
|
+
webAnalyticsID?: string | undefined;
|
|
687
|
+
} | undefined;
|
|
688
|
+
} & {
|
|
689
|
+
$case: "webEntity";
|
|
690
|
+
}) | undefined;
|
|
691
|
+
} | undefined;
|
|
692
|
+
meta?: {
|
|
693
|
+
[x: string]: string | undefined;
|
|
694
|
+
} | undefined;
|
|
695
|
+
} & {
|
|
696
|
+
name?: string | undefined;
|
|
697
|
+
wallet?: ({
|
|
698
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
699
|
+
hdPath?: string | undefined;
|
|
700
|
+
locale?: string | undefined;
|
|
701
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
702
|
+
} & {
|
|
703
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
704
|
+
hdPath?: string | undefined;
|
|
705
|
+
locale?: string | undefined;
|
|
706
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
707
|
+
} & { [K_11 in Exclude<keyof I_1["wallet"], keyof Wallet>]: never; }) | undefined;
|
|
708
|
+
address?: string | undefined;
|
|
709
|
+
hasBackup?: boolean | undefined;
|
|
710
|
+
extra?: ({
|
|
711
|
+
content?: ({
|
|
712
|
+
appVoter?: {
|
|
713
|
+
appAnalyticsID?: string | undefined;
|
|
714
|
+
entities?: {
|
|
715
|
+
entityId?: string | undefined;
|
|
716
|
+
entryPoints?: string[] | undefined;
|
|
717
|
+
}[] | undefined;
|
|
718
|
+
} | undefined;
|
|
719
|
+
} & {
|
|
720
|
+
$case: "appVoter";
|
|
721
|
+
}) | ({
|
|
722
|
+
webEntity?: {
|
|
723
|
+
webAnalyticsID?: string | undefined;
|
|
724
|
+
} | undefined;
|
|
725
|
+
} & {
|
|
726
|
+
$case: "webEntity";
|
|
727
|
+
}) | undefined;
|
|
728
|
+
} & {
|
|
729
|
+
content?: ({
|
|
730
|
+
appVoter?: {
|
|
731
|
+
appAnalyticsID?: string | undefined;
|
|
732
|
+
entities?: {
|
|
733
|
+
entityId?: string | undefined;
|
|
734
|
+
entryPoints?: string[] | undefined;
|
|
735
|
+
}[] | undefined;
|
|
736
|
+
} | undefined;
|
|
737
|
+
} & {
|
|
738
|
+
$case: "appVoter";
|
|
739
|
+
} & {
|
|
740
|
+
appVoter?: ({
|
|
741
|
+
appAnalyticsID?: string | undefined;
|
|
742
|
+
entities?: {
|
|
743
|
+
entityId?: string | undefined;
|
|
744
|
+
entryPoints?: string[] | undefined;
|
|
745
|
+
}[] | undefined;
|
|
746
|
+
} & {
|
|
747
|
+
appAnalyticsID?: string | undefined;
|
|
748
|
+
entities?: ({
|
|
749
|
+
entityId?: string | undefined;
|
|
750
|
+
entryPoints?: string[] | undefined;
|
|
751
|
+
}[] & ({
|
|
752
|
+
entityId?: string | undefined;
|
|
753
|
+
entryPoints?: string[] | undefined;
|
|
754
|
+
} & {
|
|
755
|
+
entityId?: string | undefined;
|
|
756
|
+
entryPoints?: (string[] & string[] & { [K_12 in Exclude<keyof I_1["extra"]["content"]["appVoter"]["entities"][number]["entryPoints"], keyof string[]>]: never; }) | undefined;
|
|
757
|
+
} & { [K_13 in Exclude<keyof I_1["extra"]["content"]["appVoter"]["entities"][number], keyof EntityReference>]: never; })[] & { [K_14 in Exclude<keyof I_1["extra"]["content"]["appVoter"]["entities"], keyof {
|
|
758
|
+
entityId?: string | undefined;
|
|
759
|
+
entryPoints?: string[] | undefined;
|
|
760
|
+
}[]>]: never; }) | undefined;
|
|
761
|
+
} & { [K_15 in Exclude<keyof I_1["extra"]["content"]["appVoter"], keyof Account_AppVoter>]: never; }) | undefined;
|
|
762
|
+
$case: "appVoter";
|
|
763
|
+
} & { [K_16 in Exclude<keyof I_1["extra"]["content"], "$case" | "appVoter">]: never; }) | ({
|
|
764
|
+
webEntity?: {
|
|
765
|
+
webAnalyticsID?: string | undefined;
|
|
766
|
+
} | undefined;
|
|
767
|
+
} & {
|
|
768
|
+
$case: "webEntity";
|
|
769
|
+
} & {
|
|
770
|
+
webEntity?: ({
|
|
771
|
+
webAnalyticsID?: string | undefined;
|
|
772
|
+
} & {
|
|
773
|
+
webAnalyticsID?: string | undefined;
|
|
774
|
+
} & { [K_17 in Exclude<keyof I_1["extra"]["content"]["webEntity"], "webAnalyticsID">]: never; }) | undefined;
|
|
775
|
+
$case: "webEntity";
|
|
776
|
+
} & { [K_18 in Exclude<keyof I_1["extra"]["content"], "$case" | "webEntity">]: never; }) | undefined;
|
|
777
|
+
} & { [K_19 in Exclude<keyof I_1["extra"], "content">]: never; }) | undefined;
|
|
778
|
+
meta?: ({
|
|
779
|
+
[x: string]: string | undefined;
|
|
780
|
+
} & {
|
|
781
|
+
[x: string]: string | undefined;
|
|
782
|
+
} & { [K_20 in Exclude<keyof I_1["meta"], string | number>]: never; }) | undefined;
|
|
783
|
+
} & { [K_21 in Exclude<keyof I_1, keyof Account>]: never; }>(object: I_1): Account;
|
|
784
|
+
};
|
|
785
|
+
interface Account_AppVoter {
|
|
786
|
+
/** / Random anonymized id for analytics */
|
|
787
|
+
appAnalyticsID: string;
|
|
788
|
+
/** / Subscribed entities */
|
|
789
|
+
entities: EntityReference[];
|
|
790
|
+
}
|
|
791
|
+
declare const Account_AppVoter: {
|
|
792
|
+
encode(message: Account_AppVoter, writer?: _m0.Writer): _m0.Writer;
|
|
793
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Account_AppVoter;
|
|
794
|
+
fromJSON(object: any): Account_AppVoter;
|
|
795
|
+
toJSON(message: Account_AppVoter): unknown;
|
|
796
|
+
create<I extends {
|
|
797
|
+
appAnalyticsID?: string | undefined;
|
|
798
|
+
entities?: {
|
|
799
|
+
entityId?: string | undefined;
|
|
800
|
+
entryPoints?: string[] | undefined;
|
|
801
|
+
}[] | undefined;
|
|
802
|
+
} & {
|
|
803
|
+
appAnalyticsID?: string | undefined;
|
|
804
|
+
entities?: ({
|
|
805
|
+
entityId?: string | undefined;
|
|
806
|
+
entryPoints?: string[] | undefined;
|
|
807
|
+
}[] & ({
|
|
808
|
+
entityId?: string | undefined;
|
|
809
|
+
entryPoints?: string[] | undefined;
|
|
810
|
+
} & {
|
|
811
|
+
entityId?: string | undefined;
|
|
812
|
+
entryPoints?: (string[] & string[] & { [K in Exclude<keyof I["entities"][number]["entryPoints"], keyof string[]>]: never; }) | undefined;
|
|
813
|
+
} & { [K_1 in Exclude<keyof I["entities"][number], keyof EntityReference>]: never; })[] & { [K_2 in Exclude<keyof I["entities"], keyof {
|
|
814
|
+
entityId?: string | undefined;
|
|
815
|
+
entryPoints?: string[] | undefined;
|
|
816
|
+
}[]>]: never; }) | undefined;
|
|
817
|
+
} & { [K_3 in Exclude<keyof I, keyof Account_AppVoter>]: never; }>(base?: I | undefined): Account_AppVoter;
|
|
818
|
+
fromPartial<I_1 extends {
|
|
819
|
+
appAnalyticsID?: string | undefined;
|
|
820
|
+
entities?: {
|
|
821
|
+
entityId?: string | undefined;
|
|
822
|
+
entryPoints?: string[] | undefined;
|
|
823
|
+
}[] | undefined;
|
|
824
|
+
} & {
|
|
825
|
+
appAnalyticsID?: string | undefined;
|
|
826
|
+
entities?: ({
|
|
827
|
+
entityId?: string | undefined;
|
|
828
|
+
entryPoints?: string[] | undefined;
|
|
829
|
+
}[] & ({
|
|
830
|
+
entityId?: string | undefined;
|
|
831
|
+
entryPoints?: string[] | undefined;
|
|
832
|
+
} & {
|
|
833
|
+
entityId?: string | undefined;
|
|
834
|
+
entryPoints?: (string[] & string[] & { [K_4 in Exclude<keyof I_1["entities"][number]["entryPoints"], keyof string[]>]: never; }) | undefined;
|
|
835
|
+
} & { [K_5 in Exclude<keyof I_1["entities"][number], keyof EntityReference>]: never; })[] & { [K_6 in Exclude<keyof I_1["entities"], keyof {
|
|
836
|
+
entityId?: string | undefined;
|
|
837
|
+
entryPoints?: string[] | undefined;
|
|
838
|
+
}[]>]: never; }) | undefined;
|
|
839
|
+
} & { [K_7 in Exclude<keyof I_1, keyof Account_AppVoter>]: never; }>(object: I_1): Account_AppVoter;
|
|
840
|
+
};
|
|
841
|
+
interface Account_WebEntity {
|
|
842
|
+
/** Random anonymized id for analytics */
|
|
843
|
+
webAnalyticsID: string;
|
|
844
|
+
}
|
|
845
|
+
declare const Account_WebEntity: {
|
|
846
|
+
encode(message: Account_WebEntity, writer?: _m0.Writer): _m0.Writer;
|
|
847
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Account_WebEntity;
|
|
848
|
+
fromJSON(object: any): Account_WebEntity;
|
|
849
|
+
toJSON(message: Account_WebEntity): unknown;
|
|
850
|
+
create<I extends {
|
|
851
|
+
webAnalyticsID?: string | undefined;
|
|
852
|
+
} & {
|
|
853
|
+
webAnalyticsID?: string | undefined;
|
|
854
|
+
} & { [K in Exclude<keyof I, "webAnalyticsID">]: never; }>(base?: I | undefined): Account_WebEntity;
|
|
855
|
+
fromPartial<I_1 extends {
|
|
856
|
+
webAnalyticsID?: string | undefined;
|
|
857
|
+
} & {
|
|
858
|
+
webAnalyticsID?: string | undefined;
|
|
859
|
+
} & { [K_1 in Exclude<keyof I_1, "webAnalyticsID">]: never; }>(object: I_1): Account_WebEntity;
|
|
860
|
+
};
|
|
861
|
+
interface Account_Extra {
|
|
862
|
+
content?: {
|
|
863
|
+
$case: "appVoter";
|
|
864
|
+
appVoter: Account_AppVoter;
|
|
865
|
+
} | {
|
|
866
|
+
$case: "webEntity";
|
|
867
|
+
webEntity: Account_WebEntity;
|
|
868
|
+
} | undefined;
|
|
869
|
+
}
|
|
870
|
+
declare const Account_Extra: {
|
|
871
|
+
encode(message: Account_Extra, writer?: _m0.Writer): _m0.Writer;
|
|
872
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Account_Extra;
|
|
873
|
+
fromJSON(object: any): Account_Extra;
|
|
874
|
+
toJSON(message: Account_Extra): unknown;
|
|
875
|
+
create<I extends {
|
|
876
|
+
content?: ({
|
|
877
|
+
appVoter?: {
|
|
878
|
+
appAnalyticsID?: string | undefined;
|
|
879
|
+
entities?: {
|
|
880
|
+
entityId?: string | undefined;
|
|
881
|
+
entryPoints?: string[] | undefined;
|
|
882
|
+
}[] | undefined;
|
|
883
|
+
} | undefined;
|
|
884
|
+
} & {
|
|
885
|
+
$case: "appVoter";
|
|
886
|
+
}) | ({
|
|
887
|
+
webEntity?: {
|
|
888
|
+
webAnalyticsID?: string | undefined;
|
|
889
|
+
} | undefined;
|
|
890
|
+
} & {
|
|
891
|
+
$case: "webEntity";
|
|
892
|
+
}) | undefined;
|
|
893
|
+
} & {
|
|
894
|
+
content?: ({
|
|
895
|
+
appVoter?: {
|
|
896
|
+
appAnalyticsID?: string | undefined;
|
|
897
|
+
entities?: {
|
|
898
|
+
entityId?: string | undefined;
|
|
899
|
+
entryPoints?: string[] | undefined;
|
|
900
|
+
}[] | undefined;
|
|
901
|
+
} | undefined;
|
|
902
|
+
} & {
|
|
903
|
+
$case: "appVoter";
|
|
904
|
+
} & {
|
|
905
|
+
appVoter?: ({
|
|
906
|
+
appAnalyticsID?: string | undefined;
|
|
907
|
+
entities?: {
|
|
908
|
+
entityId?: string | undefined;
|
|
909
|
+
entryPoints?: string[] | undefined;
|
|
910
|
+
}[] | undefined;
|
|
911
|
+
} & {
|
|
912
|
+
appAnalyticsID?: string | undefined;
|
|
913
|
+
entities?: ({
|
|
914
|
+
entityId?: string | undefined;
|
|
915
|
+
entryPoints?: string[] | undefined;
|
|
916
|
+
}[] & ({
|
|
917
|
+
entityId?: string | undefined;
|
|
918
|
+
entryPoints?: string[] | undefined;
|
|
919
|
+
} & {
|
|
920
|
+
entityId?: string | undefined;
|
|
921
|
+
entryPoints?: (string[] & string[] & { [K in Exclude<keyof I["content"]["appVoter"]["entities"][number]["entryPoints"], keyof string[]>]: never; }) | undefined;
|
|
922
|
+
} & { [K_1 in Exclude<keyof I["content"]["appVoter"]["entities"][number], keyof EntityReference>]: never; })[] & { [K_2 in Exclude<keyof I["content"]["appVoter"]["entities"], keyof {
|
|
923
|
+
entityId?: string | undefined;
|
|
924
|
+
entryPoints?: string[] | undefined;
|
|
925
|
+
}[]>]: never; }) | undefined;
|
|
926
|
+
} & { [K_3 in Exclude<keyof I["content"]["appVoter"], keyof Account_AppVoter>]: never; }) | undefined;
|
|
927
|
+
$case: "appVoter";
|
|
928
|
+
} & { [K_4 in Exclude<keyof I["content"], "$case" | "appVoter">]: never; }) | ({
|
|
929
|
+
webEntity?: {
|
|
930
|
+
webAnalyticsID?: string | undefined;
|
|
931
|
+
} | undefined;
|
|
932
|
+
} & {
|
|
933
|
+
$case: "webEntity";
|
|
934
|
+
} & {
|
|
935
|
+
webEntity?: ({
|
|
936
|
+
webAnalyticsID?: string | undefined;
|
|
937
|
+
} & {
|
|
938
|
+
webAnalyticsID?: string | undefined;
|
|
939
|
+
} & { [K_5 in Exclude<keyof I["content"]["webEntity"], "webAnalyticsID">]: never; }) | undefined;
|
|
940
|
+
$case: "webEntity";
|
|
941
|
+
} & { [K_6 in Exclude<keyof I["content"], "$case" | "webEntity">]: never; }) | undefined;
|
|
942
|
+
} & { [K_7 in Exclude<keyof I, "content">]: never; }>(base?: I | undefined): Account_Extra;
|
|
943
|
+
fromPartial<I_1 extends {
|
|
944
|
+
content?: ({
|
|
945
|
+
appVoter?: {
|
|
946
|
+
appAnalyticsID?: string | undefined;
|
|
947
|
+
entities?: {
|
|
948
|
+
entityId?: string | undefined;
|
|
949
|
+
entryPoints?: string[] | undefined;
|
|
950
|
+
}[] | undefined;
|
|
951
|
+
} | undefined;
|
|
952
|
+
} & {
|
|
953
|
+
$case: "appVoter";
|
|
954
|
+
}) | ({
|
|
955
|
+
webEntity?: {
|
|
956
|
+
webAnalyticsID?: string | undefined;
|
|
957
|
+
} | undefined;
|
|
958
|
+
} & {
|
|
959
|
+
$case: "webEntity";
|
|
960
|
+
}) | undefined;
|
|
961
|
+
} & {
|
|
962
|
+
content?: ({
|
|
963
|
+
appVoter?: {
|
|
964
|
+
appAnalyticsID?: string | undefined;
|
|
965
|
+
entities?: {
|
|
966
|
+
entityId?: string | undefined;
|
|
967
|
+
entryPoints?: string[] | undefined;
|
|
968
|
+
}[] | undefined;
|
|
969
|
+
} | undefined;
|
|
970
|
+
} & {
|
|
971
|
+
$case: "appVoter";
|
|
972
|
+
} & {
|
|
973
|
+
appVoter?: ({
|
|
974
|
+
appAnalyticsID?: string | undefined;
|
|
975
|
+
entities?: {
|
|
976
|
+
entityId?: string | undefined;
|
|
977
|
+
entryPoints?: string[] | undefined;
|
|
978
|
+
}[] | undefined;
|
|
979
|
+
} & {
|
|
980
|
+
appAnalyticsID?: string | undefined;
|
|
981
|
+
entities?: ({
|
|
982
|
+
entityId?: string | undefined;
|
|
983
|
+
entryPoints?: string[] | undefined;
|
|
984
|
+
}[] & ({
|
|
985
|
+
entityId?: string | undefined;
|
|
986
|
+
entryPoints?: string[] | undefined;
|
|
987
|
+
} & {
|
|
988
|
+
entityId?: string | undefined;
|
|
989
|
+
entryPoints?: (string[] & string[] & { [K_8 in Exclude<keyof I_1["content"]["appVoter"]["entities"][number]["entryPoints"], keyof string[]>]: never; }) | undefined;
|
|
990
|
+
} & { [K_9 in Exclude<keyof I_1["content"]["appVoter"]["entities"][number], keyof EntityReference>]: never; })[] & { [K_10 in Exclude<keyof I_1["content"]["appVoter"]["entities"], keyof {
|
|
991
|
+
entityId?: string | undefined;
|
|
992
|
+
entryPoints?: string[] | undefined;
|
|
993
|
+
}[]>]: never; }) | undefined;
|
|
994
|
+
} & { [K_11 in Exclude<keyof I_1["content"]["appVoter"], keyof Account_AppVoter>]: never; }) | undefined;
|
|
995
|
+
$case: "appVoter";
|
|
996
|
+
} & { [K_12 in Exclude<keyof I_1["content"], "$case" | "appVoter">]: never; }) | ({
|
|
997
|
+
webEntity?: {
|
|
998
|
+
webAnalyticsID?: string | undefined;
|
|
999
|
+
} | undefined;
|
|
1000
|
+
} & {
|
|
1001
|
+
$case: "webEntity";
|
|
1002
|
+
} & {
|
|
1003
|
+
webEntity?: ({
|
|
1004
|
+
webAnalyticsID?: string | undefined;
|
|
1005
|
+
} & {
|
|
1006
|
+
webAnalyticsID?: string | undefined;
|
|
1007
|
+
} & { [K_13 in Exclude<keyof I_1["content"]["webEntity"], "webAnalyticsID">]: never; }) | undefined;
|
|
1008
|
+
$case: "webEntity";
|
|
1009
|
+
} & { [K_14 in Exclude<keyof I_1["content"], "$case" | "webEntity">]: never; }) | undefined;
|
|
1010
|
+
} & { [K_15 in Exclude<keyof I_1, "content">]: never; }>(object: I_1): Account_Extra;
|
|
1011
|
+
};
|
|
1012
|
+
interface Account_MetaEntry {
|
|
1013
|
+
key: string;
|
|
1014
|
+
value: string;
|
|
1015
|
+
}
|
|
1016
|
+
declare const Account_MetaEntry: {
|
|
1017
|
+
encode(message: Account_MetaEntry, writer?: _m0.Writer): _m0.Writer;
|
|
1018
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Account_MetaEntry;
|
|
1019
|
+
fromJSON(object: any): Account_MetaEntry;
|
|
1020
|
+
toJSON(message: Account_MetaEntry): unknown;
|
|
1021
|
+
create<I extends {
|
|
1022
|
+
key?: string | undefined;
|
|
1023
|
+
value?: string | undefined;
|
|
1024
|
+
} & {
|
|
1025
|
+
key?: string | undefined;
|
|
1026
|
+
value?: string | undefined;
|
|
1027
|
+
} & { [K in Exclude<keyof I, keyof Account_MetaEntry>]: never; }>(base?: I | undefined): Account_MetaEntry;
|
|
1028
|
+
fromPartial<I_1 extends {
|
|
1029
|
+
key?: string | undefined;
|
|
1030
|
+
value?: string | undefined;
|
|
1031
|
+
} & {
|
|
1032
|
+
key?: string | undefined;
|
|
1033
|
+
value?: string | undefined;
|
|
1034
|
+
} & { [K_1 in Exclude<keyof I_1, keyof Account_MetaEntry>]: never; }>(object: I_1): Account_MetaEntry;
|
|
1035
|
+
};
|
|
1036
|
+
|
|
1037
|
+
declare const account_Account: typeof Account;
|
|
1038
|
+
declare const account_Account_AppVoter: typeof Account_AppVoter;
|
|
1039
|
+
declare const account_Account_Extra: typeof Account_Extra;
|
|
1040
|
+
declare const account_Account_MetaEntry: typeof Account_MetaEntry;
|
|
1041
|
+
declare const account_Account_WebEntity: typeof Account_WebEntity;
|
|
1042
|
+
declare const account_AccountsStore: typeof AccountsStore;
|
|
1043
|
+
declare namespace account {
|
|
1044
|
+
export {
|
|
1045
|
+
account_Account as Account,
|
|
1046
|
+
account_Account_AppVoter as Account_AppVoter,
|
|
1047
|
+
account_Account_Extra as Account_Extra,
|
|
1048
|
+
account_Account_MetaEntry as Account_MetaEntry,
|
|
1049
|
+
account_Account_WebEntity as Account_WebEntity,
|
|
1050
|
+
account_AccountsStore as AccountsStore,
|
|
1051
|
+
};
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
declare enum WalletBackup_Recovery_QuestionEnum {
|
|
1055
|
+
/** FAVORITE_BOOK - What is your favorite book? */
|
|
1056
|
+
FAVORITE_BOOK = 0,
|
|
1057
|
+
/** FIRST_PET - What was the name of your first pet? */
|
|
1058
|
+
FIRST_PET = 1,
|
|
1059
|
+
/** WHERE_HIGH_SCHOOL_COLLEGE - Where did you go to high school/college? */
|
|
1060
|
+
WHERE_HIGH_SCHOOL_COLLEGE = 2,
|
|
1061
|
+
/** CITY_OF_BIRTH - What city were you born in? */
|
|
1062
|
+
CITY_OF_BIRTH = 3,
|
|
1063
|
+
/** FAVORITE_CHILDHOOD_FRIEND - What is the name of your favorite childhood friend? */
|
|
1064
|
+
FAVORITE_CHILDHOOD_FRIEND = 4,
|
|
1065
|
+
/** WHERE_FATHER_AND_MOTHER_MET - Where did your mother and father meet? */
|
|
1066
|
+
WHERE_FATHER_AND_MOTHER_MET = 5,
|
|
1067
|
+
/** FAVORITE_MOVIE - What is your favorite movie? */
|
|
1068
|
+
FAVORITE_MOVIE = 6,
|
|
1069
|
+
/** FAVORITE_SPORT_HIGH_SCHOOL - What was your favorite sport in high school? */
|
|
1070
|
+
FAVORITE_SPORT_HIGH_SCHOOL = 7,
|
|
1071
|
+
/** FAVORITE_TEACHER_HIGH_SCHOOL - What was your favorite teacher in high school? */
|
|
1072
|
+
FAVORITE_TEACHER_HIGH_SCHOOL = 8,
|
|
1073
|
+
/** FAVORITE_BAND - What is your favorite band? */
|
|
1074
|
+
FAVORITE_BAND = 9,
|
|
1075
|
+
/** CHILDHOOD_SPORTS_HERO - Who is your childhood sports hero? */
|
|
1076
|
+
CHILDHOOD_SPORTS_HERO = 10,
|
|
1077
|
+
/** COMPANY_FIRST_JOB - What is the name of the company where you had your first job? */
|
|
1078
|
+
COMPANY_FIRST_JOB = 11,
|
|
1079
|
+
/** CHILD_NICKNAME - What was your nickname as a child? */
|
|
1080
|
+
CHILD_NICKNAME = 12,
|
|
1081
|
+
/** NAME_FIRST_PARTNER - What is the name of your first girlfriend or boyfriend? */
|
|
1082
|
+
NAME_FIRST_PARTNER = 13,
|
|
1083
|
+
/** WHERE_MEET_PARTNER - Where did you meet your partner? */
|
|
1084
|
+
WHERE_MEET_PARTNER = 14,
|
|
1085
|
+
/** MOTHER_MAIDEN_NAME - What is your mother's maiden name? */
|
|
1086
|
+
MOTHER_MAIDEN_NAME = 15,
|
|
1087
|
+
/** MATERNAL_GRANDMOTHER_FULL_NAME - What is your maternal grandmother's full name? */
|
|
1088
|
+
MATERNAL_GRANDMOTHER_FULL_NAME = 16,
|
|
1089
|
+
/** PARENTAL_GRANDMOTHER_FULL_NAME - What is your paternal grandmother's full name? */
|
|
1090
|
+
PARENTAL_GRANDMOTHER_FULL_NAME = 17,
|
|
1091
|
+
/** NAME_OLDEST_COUSIN - What is the name of your oldest cousin? */
|
|
1092
|
+
NAME_OLDEST_COUSIN = 18,
|
|
1093
|
+
UNRECOGNIZED = -1
|
|
1094
|
+
}
|
|
1095
|
+
declare function walletBackup_Recovery_QuestionEnumFromJSON(object: any): WalletBackup_Recovery_QuestionEnum;
|
|
1096
|
+
declare function walletBackup_Recovery_QuestionEnumToJSON(object: WalletBackup_Recovery_QuestionEnum): string;
|
|
1097
|
+
interface WalletBackup {
|
|
1098
|
+
/** / A name to help identify the wallet backed up */
|
|
1099
|
+
name: string;
|
|
1100
|
+
/** / When it was exported. Unix timestamp (seconds) */
|
|
1101
|
+
timestamp: number;
|
|
1102
|
+
/**
|
|
1103
|
+
* / Data to import the wallet, given the original passphrase or pin
|
|
1104
|
+
* / Contains the encrypted mnemonic
|
|
1105
|
+
*/
|
|
1106
|
+
wallet: Wallet | undefined;
|
|
1107
|
+
passphraseRecovery: WalletBackup_Recovery | undefined;
|
|
1108
|
+
}
|
|
1109
|
+
declare const WalletBackup: {
|
|
1110
|
+
encode(message: WalletBackup, writer?: _m0.Writer): _m0.Writer;
|
|
1111
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): WalletBackup;
|
|
1112
|
+
fromJSON(object: any): WalletBackup;
|
|
1113
|
+
toJSON(message: WalletBackup): unknown;
|
|
1114
|
+
create<I extends {
|
|
1115
|
+
name?: string | undefined;
|
|
1116
|
+
timestamp?: number | undefined;
|
|
1117
|
+
wallet?: {
|
|
1118
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
1119
|
+
hdPath?: string | undefined;
|
|
1120
|
+
locale?: string | undefined;
|
|
1121
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
1122
|
+
} | undefined;
|
|
1123
|
+
passphraseRecovery?: {
|
|
1124
|
+
questionIds?: WalletBackup_Recovery_QuestionEnum[] | undefined;
|
|
1125
|
+
encryptedPassphrase?: Uint8Array | undefined;
|
|
1126
|
+
} | undefined;
|
|
1127
|
+
} & {
|
|
1128
|
+
name?: string | undefined;
|
|
1129
|
+
timestamp?: number | undefined;
|
|
1130
|
+
wallet?: ({
|
|
1131
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
1132
|
+
hdPath?: string | undefined;
|
|
1133
|
+
locale?: string | undefined;
|
|
1134
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
1135
|
+
} & {
|
|
1136
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
1137
|
+
hdPath?: string | undefined;
|
|
1138
|
+
locale?: string | undefined;
|
|
1139
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
1140
|
+
} & { [K in Exclude<keyof I["wallet"], keyof Wallet>]: never; }) | undefined;
|
|
1141
|
+
passphraseRecovery?: ({
|
|
1142
|
+
questionIds?: WalletBackup_Recovery_QuestionEnum[] | undefined;
|
|
1143
|
+
encryptedPassphrase?: Uint8Array | undefined;
|
|
1144
|
+
} & {
|
|
1145
|
+
questionIds?: (WalletBackup_Recovery_QuestionEnum[] & WalletBackup_Recovery_QuestionEnum[] & { [K_1 in Exclude<keyof I["passphraseRecovery"]["questionIds"], keyof WalletBackup_Recovery_QuestionEnum[]>]: never; }) | undefined;
|
|
1146
|
+
encryptedPassphrase?: Uint8Array | undefined;
|
|
1147
|
+
} & { [K_2 in Exclude<keyof I["passphraseRecovery"], keyof WalletBackup_Recovery>]: never; }) | undefined;
|
|
1148
|
+
} & { [K_3 in Exclude<keyof I, keyof WalletBackup>]: never; }>(base?: I | undefined): WalletBackup;
|
|
1149
|
+
fromPartial<I_1 extends {
|
|
1150
|
+
name?: string | undefined;
|
|
1151
|
+
timestamp?: number | undefined;
|
|
1152
|
+
wallet?: {
|
|
1153
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
1154
|
+
hdPath?: string | undefined;
|
|
1155
|
+
locale?: string | undefined;
|
|
1156
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
1157
|
+
} | undefined;
|
|
1158
|
+
passphraseRecovery?: {
|
|
1159
|
+
questionIds?: WalletBackup_Recovery_QuestionEnum[] | undefined;
|
|
1160
|
+
encryptedPassphrase?: Uint8Array | undefined;
|
|
1161
|
+
} | undefined;
|
|
1162
|
+
} & {
|
|
1163
|
+
name?: string | undefined;
|
|
1164
|
+
timestamp?: number | undefined;
|
|
1165
|
+
wallet?: ({
|
|
1166
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
1167
|
+
hdPath?: string | undefined;
|
|
1168
|
+
locale?: string | undefined;
|
|
1169
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
1170
|
+
} & {
|
|
1171
|
+
encryptedMnemonic?: Uint8Array | undefined;
|
|
1172
|
+
hdPath?: string | undefined;
|
|
1173
|
+
locale?: string | undefined;
|
|
1174
|
+
authMethod?: Wallet_AuthMethod | undefined;
|
|
1175
|
+
} & { [K_4 in Exclude<keyof I_1["wallet"], keyof Wallet>]: never; }) | undefined;
|
|
1176
|
+
passphraseRecovery?: ({
|
|
1177
|
+
questionIds?: WalletBackup_Recovery_QuestionEnum[] | undefined;
|
|
1178
|
+
encryptedPassphrase?: Uint8Array | undefined;
|
|
1179
|
+
} & {
|
|
1180
|
+
questionIds?: (WalletBackup_Recovery_QuestionEnum[] & WalletBackup_Recovery_QuestionEnum[] & { [K_5 in Exclude<keyof I_1["passphraseRecovery"]["questionIds"], keyof WalletBackup_Recovery_QuestionEnum[]>]: never; }) | undefined;
|
|
1181
|
+
encryptedPassphrase?: Uint8Array | undefined;
|
|
1182
|
+
} & { [K_6 in Exclude<keyof I_1["passphraseRecovery"], keyof WalletBackup_Recovery>]: never; }) | undefined;
|
|
1183
|
+
} & { [K_7 in Exclude<keyof I_1, keyof WalletBackup>]: never; }>(object: I_1): WalletBackup;
|
|
1184
|
+
};
|
|
1185
|
+
/** / Data to recover the original passphrase, given some recovery questions */
|
|
1186
|
+
interface WalletBackup_Recovery {
|
|
1187
|
+
/** / The indexes of the questions used */
|
|
1188
|
+
questionIds: WalletBackup_Recovery_QuestionEnum[];
|
|
1189
|
+
encryptedPassphrase: Uint8Array;
|
|
1190
|
+
}
|
|
1191
|
+
declare const WalletBackup_Recovery: {
|
|
1192
|
+
encode(message: WalletBackup_Recovery, writer?: _m0.Writer): _m0.Writer;
|
|
1193
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): WalletBackup_Recovery;
|
|
1194
|
+
fromJSON(object: any): WalletBackup_Recovery;
|
|
1195
|
+
toJSON(message: WalletBackup_Recovery): unknown;
|
|
1196
|
+
create<I extends {
|
|
1197
|
+
questionIds?: WalletBackup_Recovery_QuestionEnum[] | undefined;
|
|
1198
|
+
encryptedPassphrase?: Uint8Array | undefined;
|
|
1199
|
+
} & {
|
|
1200
|
+
questionIds?: (WalletBackup_Recovery_QuestionEnum[] & WalletBackup_Recovery_QuestionEnum[] & { [K in Exclude<keyof I["questionIds"], keyof WalletBackup_Recovery_QuestionEnum[]>]: never; }) | undefined;
|
|
1201
|
+
encryptedPassphrase?: Uint8Array | undefined;
|
|
1202
|
+
} & { [K_1 in Exclude<keyof I, keyof WalletBackup_Recovery>]: never; }>(base?: I | undefined): WalletBackup_Recovery;
|
|
1203
|
+
fromPartial<I_1 extends {
|
|
1204
|
+
questionIds?: WalletBackup_Recovery_QuestionEnum[] | undefined;
|
|
1205
|
+
encryptedPassphrase?: Uint8Array | undefined;
|
|
1206
|
+
} & {
|
|
1207
|
+
questionIds?: (WalletBackup_Recovery_QuestionEnum[] & WalletBackup_Recovery_QuestionEnum[] & { [K_2 in Exclude<keyof I_1["questionIds"], keyof WalletBackup_Recovery_QuestionEnum[]>]: never; }) | undefined;
|
|
1208
|
+
encryptedPassphrase?: Uint8Array | undefined;
|
|
1209
|
+
} & { [K_3 in Exclude<keyof I_1, keyof WalletBackup_Recovery>]: never; }>(object: I_1): WalletBackup_Recovery;
|
|
1210
|
+
};
|
|
1211
|
+
|
|
1212
|
+
declare const backup_WalletBackup: typeof WalletBackup;
|
|
1213
|
+
declare const backup_WalletBackup_Recovery: typeof WalletBackup_Recovery;
|
|
1214
|
+
type backup_WalletBackup_Recovery_QuestionEnum = WalletBackup_Recovery_QuestionEnum;
|
|
1215
|
+
declare const backup_WalletBackup_Recovery_QuestionEnum: typeof WalletBackup_Recovery_QuestionEnum;
|
|
1216
|
+
declare const backup_walletBackup_Recovery_QuestionEnumFromJSON: typeof walletBackup_Recovery_QuestionEnumFromJSON;
|
|
1217
|
+
declare const backup_walletBackup_Recovery_QuestionEnumToJSON: typeof walletBackup_Recovery_QuestionEnumToJSON;
|
|
1218
|
+
declare namespace backup {
|
|
1219
|
+
export {
|
|
1220
|
+
backup_WalletBackup as WalletBackup,
|
|
1221
|
+
backup_WalletBackup_Recovery as WalletBackup_Recovery,
|
|
1222
|
+
backup_WalletBackup_Recovery_QuestionEnum as WalletBackup_Recovery_QuestionEnum,
|
|
1223
|
+
backup_walletBackup_Recovery_QuestionEnumFromJSON as walletBackup_Recovery_QuestionEnumFromJSON,
|
|
1224
|
+
backup_walletBackup_Recovery_QuestionEnumToJSON as walletBackup_Recovery_QuestionEnumToJSON,
|
|
1225
|
+
};
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
/** Implementing the data structure from https://vocdoni.io/docs/#/architecture/components/bootnode */
|
|
1229
|
+
interface BootNodeGateways {
|
|
1230
|
+
/** network Id's */
|
|
1231
|
+
homestead: BootNodeGateways_NetworkNodes | undefined;
|
|
1232
|
+
goerli: BootNodeGateways_NetworkNodes | undefined;
|
|
1233
|
+
xdai: BootNodeGateways_NetworkNodes | undefined;
|
|
1234
|
+
sokol: BootNodeGateways_NetworkNodes | undefined;
|
|
1235
|
+
rinkeby: BootNodeGateways_NetworkNodes | undefined;
|
|
1236
|
+
/**
|
|
1237
|
+
* EXTERNAL FIELDS
|
|
1238
|
+
* Allow to use arbitrary key/values so that
|
|
1239
|
+
* gateways can be organized by custom values.
|
|
1240
|
+
*/
|
|
1241
|
+
meta: {
|
|
1242
|
+
[key: string]: string;
|
|
1243
|
+
};
|
|
1244
|
+
}
|
|
1245
|
+
declare const BootNodeGateways: {
|
|
1246
|
+
encode(message: BootNodeGateways, writer?: _m0.Writer): _m0.Writer;
|
|
1247
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BootNodeGateways;
|
|
1248
|
+
fromJSON(object: any): BootNodeGateways;
|
|
1249
|
+
toJSON(message: BootNodeGateways): unknown;
|
|
1250
|
+
create<I extends {
|
|
1251
|
+
homestead?: {
|
|
1252
|
+
dvote?: {
|
|
1253
|
+
uri?: string | undefined;
|
|
1254
|
+
apis?: string[] | undefined;
|
|
1255
|
+
pubKey?: string | undefined;
|
|
1256
|
+
}[] | undefined;
|
|
1257
|
+
web3?: {
|
|
1258
|
+
uri?: string | undefined;
|
|
1259
|
+
}[] | undefined;
|
|
1260
|
+
} | undefined;
|
|
1261
|
+
goerli?: {
|
|
1262
|
+
dvote?: {
|
|
1263
|
+
uri?: string | undefined;
|
|
1264
|
+
apis?: string[] | undefined;
|
|
1265
|
+
pubKey?: string | undefined;
|
|
1266
|
+
}[] | undefined;
|
|
1267
|
+
web3?: {
|
|
1268
|
+
uri?: string | undefined;
|
|
1269
|
+
}[] | undefined;
|
|
1270
|
+
} | undefined;
|
|
1271
|
+
xdai?: {
|
|
1272
|
+
dvote?: {
|
|
1273
|
+
uri?: string | undefined;
|
|
1274
|
+
apis?: string[] | undefined;
|
|
1275
|
+
pubKey?: string | undefined;
|
|
1276
|
+
}[] | undefined;
|
|
1277
|
+
web3?: {
|
|
1278
|
+
uri?: string | undefined;
|
|
1279
|
+
}[] | undefined;
|
|
1280
|
+
} | undefined;
|
|
1281
|
+
sokol?: {
|
|
1282
|
+
dvote?: {
|
|
1283
|
+
uri?: string | undefined;
|
|
1284
|
+
apis?: string[] | undefined;
|
|
1285
|
+
pubKey?: string | undefined;
|
|
1286
|
+
}[] | undefined;
|
|
1287
|
+
web3?: {
|
|
1288
|
+
uri?: string | undefined;
|
|
1289
|
+
}[] | undefined;
|
|
1290
|
+
} | undefined;
|
|
1291
|
+
rinkeby?: {
|
|
1292
|
+
dvote?: {
|
|
1293
|
+
uri?: string | undefined;
|
|
1294
|
+
apis?: string[] | undefined;
|
|
1295
|
+
pubKey?: string | undefined;
|
|
1296
|
+
}[] | undefined;
|
|
1297
|
+
web3?: {
|
|
1298
|
+
uri?: string | undefined;
|
|
1299
|
+
}[] | undefined;
|
|
1300
|
+
} | undefined;
|
|
1301
|
+
meta?: {
|
|
1302
|
+
[x: string]: string | undefined;
|
|
1303
|
+
} | undefined;
|
|
1304
|
+
} & {
|
|
1305
|
+
homestead?: ({
|
|
1306
|
+
dvote?: {
|
|
1307
|
+
uri?: string | undefined;
|
|
1308
|
+
apis?: string[] | undefined;
|
|
1309
|
+
pubKey?: string | undefined;
|
|
1310
|
+
}[] | undefined;
|
|
1311
|
+
web3?: {
|
|
1312
|
+
uri?: string | undefined;
|
|
1313
|
+
}[] | undefined;
|
|
1314
|
+
} & {
|
|
1315
|
+
dvote?: ({
|
|
1316
|
+
uri?: string | undefined;
|
|
1317
|
+
apis?: string[] | undefined;
|
|
1318
|
+
pubKey?: string | undefined;
|
|
1319
|
+
}[] & ({
|
|
1320
|
+
uri?: string | undefined;
|
|
1321
|
+
apis?: string[] | undefined;
|
|
1322
|
+
pubKey?: string | undefined;
|
|
1323
|
+
} & {
|
|
1324
|
+
uri?: string | undefined;
|
|
1325
|
+
apis?: (string[] & string[] & { [K in Exclude<keyof I["homestead"]["dvote"][number]["apis"], keyof string[]>]: never; }) | undefined;
|
|
1326
|
+
pubKey?: string | undefined;
|
|
1327
|
+
} & { [K_1 in Exclude<keyof I["homestead"]["dvote"][number], keyof BootNodeGateways_NetworkNodes_DVote>]: never; })[] & { [K_2 in Exclude<keyof I["homestead"]["dvote"], keyof {
|
|
1328
|
+
uri?: string | undefined;
|
|
1329
|
+
apis?: string[] | undefined;
|
|
1330
|
+
pubKey?: string | undefined;
|
|
1331
|
+
}[]>]: never; }) | undefined;
|
|
1332
|
+
web3?: ({
|
|
1333
|
+
uri?: string | undefined;
|
|
1334
|
+
}[] & ({
|
|
1335
|
+
uri?: string | undefined;
|
|
1336
|
+
} & {
|
|
1337
|
+
uri?: string | undefined;
|
|
1338
|
+
} & { [K_3 in Exclude<keyof I["homestead"]["web3"][number], "uri">]: never; })[] & { [K_4 in Exclude<keyof I["homestead"]["web3"], keyof {
|
|
1339
|
+
uri?: string | undefined;
|
|
1340
|
+
}[]>]: never; }) | undefined;
|
|
1341
|
+
} & { [K_5 in Exclude<keyof I["homestead"], keyof BootNodeGateways_NetworkNodes>]: never; }) | undefined;
|
|
1342
|
+
goerli?: ({
|
|
1343
|
+
dvote?: {
|
|
1344
|
+
uri?: string | undefined;
|
|
1345
|
+
apis?: string[] | undefined;
|
|
1346
|
+
pubKey?: string | undefined;
|
|
1347
|
+
}[] | undefined;
|
|
1348
|
+
web3?: {
|
|
1349
|
+
uri?: string | undefined;
|
|
1350
|
+
}[] | undefined;
|
|
1351
|
+
} & {
|
|
1352
|
+
dvote?: ({
|
|
1353
|
+
uri?: string | undefined;
|
|
1354
|
+
apis?: string[] | undefined;
|
|
1355
|
+
pubKey?: string | undefined;
|
|
1356
|
+
}[] & ({
|
|
1357
|
+
uri?: string | undefined;
|
|
1358
|
+
apis?: string[] | undefined;
|
|
1359
|
+
pubKey?: string | undefined;
|
|
1360
|
+
} & {
|
|
1361
|
+
uri?: string | undefined;
|
|
1362
|
+
apis?: (string[] & string[] & { [K_6 in Exclude<keyof I["goerli"]["dvote"][number]["apis"], keyof string[]>]: never; }) | undefined;
|
|
1363
|
+
pubKey?: string | undefined;
|
|
1364
|
+
} & { [K_7 in Exclude<keyof I["goerli"]["dvote"][number], keyof BootNodeGateways_NetworkNodes_DVote>]: never; })[] & { [K_8 in Exclude<keyof I["goerli"]["dvote"], keyof {
|
|
1365
|
+
uri?: string | undefined;
|
|
1366
|
+
apis?: string[] | undefined;
|
|
1367
|
+
pubKey?: string | undefined;
|
|
1368
|
+
}[]>]: never; }) | undefined;
|
|
1369
|
+
web3?: ({
|
|
1370
|
+
uri?: string | undefined;
|
|
1371
|
+
}[] & ({
|
|
1372
|
+
uri?: string | undefined;
|
|
1373
|
+
} & {
|
|
1374
|
+
uri?: string | undefined;
|
|
1375
|
+
} & { [K_9 in Exclude<keyof I["goerli"]["web3"][number], "uri">]: never; })[] & { [K_10 in Exclude<keyof I["goerli"]["web3"], keyof {
|
|
1376
|
+
uri?: string | undefined;
|
|
1377
|
+
}[]>]: never; }) | undefined;
|
|
1378
|
+
} & { [K_11 in Exclude<keyof I["goerli"], keyof BootNodeGateways_NetworkNodes>]: never; }) | undefined;
|
|
1379
|
+
xdai?: ({
|
|
1380
|
+
dvote?: {
|
|
1381
|
+
uri?: string | undefined;
|
|
1382
|
+
apis?: string[] | undefined;
|
|
1383
|
+
pubKey?: string | undefined;
|
|
1384
|
+
}[] | undefined;
|
|
1385
|
+
web3?: {
|
|
1386
|
+
uri?: string | undefined;
|
|
1387
|
+
}[] | undefined;
|
|
1388
|
+
} & {
|
|
1389
|
+
dvote?: ({
|
|
1390
|
+
uri?: string | undefined;
|
|
1391
|
+
apis?: string[] | undefined;
|
|
1392
|
+
pubKey?: string | undefined;
|
|
1393
|
+
}[] & ({
|
|
1394
|
+
uri?: string | undefined;
|
|
1395
|
+
apis?: string[] | undefined;
|
|
1396
|
+
pubKey?: string | undefined;
|
|
1397
|
+
} & {
|
|
1398
|
+
uri?: string | undefined;
|
|
1399
|
+
apis?: (string[] & string[] & { [K_12 in Exclude<keyof I["xdai"]["dvote"][number]["apis"], keyof string[]>]: never; }) | undefined;
|
|
1400
|
+
pubKey?: string | undefined;
|
|
1401
|
+
} & { [K_13 in Exclude<keyof I["xdai"]["dvote"][number], keyof BootNodeGateways_NetworkNodes_DVote>]: never; })[] & { [K_14 in Exclude<keyof I["xdai"]["dvote"], keyof {
|
|
1402
|
+
uri?: string | undefined;
|
|
1403
|
+
apis?: string[] | undefined;
|
|
1404
|
+
pubKey?: string | undefined;
|
|
1405
|
+
}[]>]: never; }) | undefined;
|
|
1406
|
+
web3?: ({
|
|
1407
|
+
uri?: string | undefined;
|
|
1408
|
+
}[] & ({
|
|
1409
|
+
uri?: string | undefined;
|
|
1410
|
+
} & {
|
|
1411
|
+
uri?: string | undefined;
|
|
1412
|
+
} & { [K_15 in Exclude<keyof I["xdai"]["web3"][number], "uri">]: never; })[] & { [K_16 in Exclude<keyof I["xdai"]["web3"], keyof {
|
|
1413
|
+
uri?: string | undefined;
|
|
1414
|
+
}[]>]: never; }) | undefined;
|
|
1415
|
+
} & { [K_17 in Exclude<keyof I["xdai"], keyof BootNodeGateways_NetworkNodes>]: never; }) | undefined;
|
|
1416
|
+
sokol?: ({
|
|
1417
|
+
dvote?: {
|
|
1418
|
+
uri?: string | undefined;
|
|
1419
|
+
apis?: string[] | undefined;
|
|
1420
|
+
pubKey?: string | undefined;
|
|
1421
|
+
}[] | undefined;
|
|
1422
|
+
web3?: {
|
|
1423
|
+
uri?: string | undefined;
|
|
1424
|
+
}[] | undefined;
|
|
1425
|
+
} & {
|
|
1426
|
+
dvote?: ({
|
|
1427
|
+
uri?: string | undefined;
|
|
1428
|
+
apis?: string[] | undefined;
|
|
1429
|
+
pubKey?: string | undefined;
|
|
1430
|
+
}[] & ({
|
|
1431
|
+
uri?: string | undefined;
|
|
1432
|
+
apis?: string[] | undefined;
|
|
1433
|
+
pubKey?: string | undefined;
|
|
1434
|
+
} & {
|
|
1435
|
+
uri?: string | undefined;
|
|
1436
|
+
apis?: (string[] & string[] & { [K_18 in Exclude<keyof I["sokol"]["dvote"][number]["apis"], keyof string[]>]: never; }) | undefined;
|
|
1437
|
+
pubKey?: string | undefined;
|
|
1438
|
+
} & { [K_19 in Exclude<keyof I["sokol"]["dvote"][number], keyof BootNodeGateways_NetworkNodes_DVote>]: never; })[] & { [K_20 in Exclude<keyof I["sokol"]["dvote"], keyof {
|
|
1439
|
+
uri?: string | undefined;
|
|
1440
|
+
apis?: string[] | undefined;
|
|
1441
|
+
pubKey?: string | undefined;
|
|
1442
|
+
}[]>]: never; }) | undefined;
|
|
1443
|
+
web3?: ({
|
|
1444
|
+
uri?: string | undefined;
|
|
1445
|
+
}[] & ({
|
|
1446
|
+
uri?: string | undefined;
|
|
1447
|
+
} & {
|
|
1448
|
+
uri?: string | undefined;
|
|
1449
|
+
} & { [K_21 in Exclude<keyof I["sokol"]["web3"][number], "uri">]: never; })[] & { [K_22 in Exclude<keyof I["sokol"]["web3"], keyof {
|
|
1450
|
+
uri?: string | undefined;
|
|
1451
|
+
}[]>]: never; }) | undefined;
|
|
1452
|
+
} & { [K_23 in Exclude<keyof I["sokol"], keyof BootNodeGateways_NetworkNodes>]: never; }) | undefined;
|
|
1453
|
+
rinkeby?: ({
|
|
1454
|
+
dvote?: {
|
|
1455
|
+
uri?: string | undefined;
|
|
1456
|
+
apis?: string[] | undefined;
|
|
1457
|
+
pubKey?: string | undefined;
|
|
1458
|
+
}[] | undefined;
|
|
1459
|
+
web3?: {
|
|
1460
|
+
uri?: string | undefined;
|
|
1461
|
+
}[] | undefined;
|
|
1462
|
+
} & {
|
|
1463
|
+
dvote?: ({
|
|
1464
|
+
uri?: string | undefined;
|
|
1465
|
+
apis?: string[] | undefined;
|
|
1466
|
+
pubKey?: string | undefined;
|
|
1467
|
+
}[] & ({
|
|
1468
|
+
uri?: string | undefined;
|
|
1469
|
+
apis?: string[] | undefined;
|
|
1470
|
+
pubKey?: string | undefined;
|
|
1471
|
+
} & {
|
|
1472
|
+
uri?: string | undefined;
|
|
1473
|
+
apis?: (string[] & string[] & { [K_24 in Exclude<keyof I["rinkeby"]["dvote"][number]["apis"], keyof string[]>]: never; }) | undefined;
|
|
1474
|
+
pubKey?: string | undefined;
|
|
1475
|
+
} & { [K_25 in Exclude<keyof I["rinkeby"]["dvote"][number], keyof BootNodeGateways_NetworkNodes_DVote>]: never; })[] & { [K_26 in Exclude<keyof I["rinkeby"]["dvote"], keyof {
|
|
1476
|
+
uri?: string | undefined;
|
|
1477
|
+
apis?: string[] | undefined;
|
|
1478
|
+
pubKey?: string | undefined;
|
|
1479
|
+
}[]>]: never; }) | undefined;
|
|
1480
|
+
web3?: ({
|
|
1481
|
+
uri?: string | undefined;
|
|
1482
|
+
}[] & ({
|
|
1483
|
+
uri?: string | undefined;
|
|
1484
|
+
} & {
|
|
1485
|
+
uri?: string | undefined;
|
|
1486
|
+
} & { [K_27 in Exclude<keyof I["rinkeby"]["web3"][number], "uri">]: never; })[] & { [K_28 in Exclude<keyof I["rinkeby"]["web3"], keyof {
|
|
1487
|
+
uri?: string | undefined;
|
|
1488
|
+
}[]>]: never; }) | undefined;
|
|
1489
|
+
} & { [K_29 in Exclude<keyof I["rinkeby"], keyof BootNodeGateways_NetworkNodes>]: never; }) | undefined;
|
|
1490
|
+
meta?: ({
|
|
1491
|
+
[x: string]: string | undefined;
|
|
1492
|
+
} & {
|
|
1493
|
+
[x: string]: string | undefined;
|
|
1494
|
+
} & { [K_30 in Exclude<keyof I["meta"], string | number>]: never; }) | undefined;
|
|
1495
|
+
} & { [K_31 in Exclude<keyof I, keyof BootNodeGateways>]: never; }>(base?: I | undefined): BootNodeGateways;
|
|
1496
|
+
fromPartial<I_1 extends {
|
|
1497
|
+
homestead?: {
|
|
1498
|
+
dvote?: {
|
|
1499
|
+
uri?: string | undefined;
|
|
1500
|
+
apis?: string[] | undefined;
|
|
1501
|
+
pubKey?: string | undefined;
|
|
1502
|
+
}[] | undefined;
|
|
1503
|
+
web3?: {
|
|
1504
|
+
uri?: string | undefined;
|
|
1505
|
+
}[] | undefined;
|
|
1506
|
+
} | undefined;
|
|
1507
|
+
goerli?: {
|
|
1508
|
+
dvote?: {
|
|
1509
|
+
uri?: string | undefined;
|
|
1510
|
+
apis?: string[] | undefined;
|
|
1511
|
+
pubKey?: string | undefined;
|
|
1512
|
+
}[] | undefined;
|
|
1513
|
+
web3?: {
|
|
1514
|
+
uri?: string | undefined;
|
|
1515
|
+
}[] | undefined;
|
|
1516
|
+
} | undefined;
|
|
1517
|
+
xdai?: {
|
|
1518
|
+
dvote?: {
|
|
1519
|
+
uri?: string | undefined;
|
|
1520
|
+
apis?: string[] | undefined;
|
|
1521
|
+
pubKey?: string | undefined;
|
|
1522
|
+
}[] | undefined;
|
|
1523
|
+
web3?: {
|
|
1524
|
+
uri?: string | undefined;
|
|
1525
|
+
}[] | undefined;
|
|
1526
|
+
} | undefined;
|
|
1527
|
+
sokol?: {
|
|
1528
|
+
dvote?: {
|
|
1529
|
+
uri?: string | undefined;
|
|
1530
|
+
apis?: string[] | undefined;
|
|
1531
|
+
pubKey?: string | undefined;
|
|
1532
|
+
}[] | undefined;
|
|
1533
|
+
web3?: {
|
|
1534
|
+
uri?: string | undefined;
|
|
1535
|
+
}[] | undefined;
|
|
1536
|
+
} | undefined;
|
|
1537
|
+
rinkeby?: {
|
|
1538
|
+
dvote?: {
|
|
1539
|
+
uri?: string | undefined;
|
|
1540
|
+
apis?: string[] | undefined;
|
|
1541
|
+
pubKey?: string | undefined;
|
|
1542
|
+
}[] | undefined;
|
|
1543
|
+
web3?: {
|
|
1544
|
+
uri?: string | undefined;
|
|
1545
|
+
}[] | undefined;
|
|
1546
|
+
} | undefined;
|
|
1547
|
+
meta?: {
|
|
1548
|
+
[x: string]: string | undefined;
|
|
1549
|
+
} | undefined;
|
|
1550
|
+
} & {
|
|
1551
|
+
homestead?: ({
|
|
1552
|
+
dvote?: {
|
|
1553
|
+
uri?: string | undefined;
|
|
1554
|
+
apis?: string[] | undefined;
|
|
1555
|
+
pubKey?: string | undefined;
|
|
1556
|
+
}[] | undefined;
|
|
1557
|
+
web3?: {
|
|
1558
|
+
uri?: string | undefined;
|
|
1559
|
+
}[] | undefined;
|
|
1560
|
+
} & {
|
|
1561
|
+
dvote?: ({
|
|
1562
|
+
uri?: string | undefined;
|
|
1563
|
+
apis?: string[] | undefined;
|
|
1564
|
+
pubKey?: string | undefined;
|
|
1565
|
+
}[] & ({
|
|
1566
|
+
uri?: string | undefined;
|
|
1567
|
+
apis?: string[] | undefined;
|
|
1568
|
+
pubKey?: string | undefined;
|
|
1569
|
+
} & {
|
|
1570
|
+
uri?: string | undefined;
|
|
1571
|
+
apis?: (string[] & string[] & { [K_32 in Exclude<keyof I_1["homestead"]["dvote"][number]["apis"], keyof string[]>]: never; }) | undefined;
|
|
1572
|
+
pubKey?: string | undefined;
|
|
1573
|
+
} & { [K_33 in Exclude<keyof I_1["homestead"]["dvote"][number], keyof BootNodeGateways_NetworkNodes_DVote>]: never; })[] & { [K_34 in Exclude<keyof I_1["homestead"]["dvote"], keyof {
|
|
1574
|
+
uri?: string | undefined;
|
|
1575
|
+
apis?: string[] | undefined;
|
|
1576
|
+
pubKey?: string | undefined;
|
|
1577
|
+
}[]>]: never; }) | undefined;
|
|
1578
|
+
web3?: ({
|
|
1579
|
+
uri?: string | undefined;
|
|
1580
|
+
}[] & ({
|
|
1581
|
+
uri?: string | undefined;
|
|
1582
|
+
} & {
|
|
1583
|
+
uri?: string | undefined;
|
|
1584
|
+
} & { [K_35 in Exclude<keyof I_1["homestead"]["web3"][number], "uri">]: never; })[] & { [K_36 in Exclude<keyof I_1["homestead"]["web3"], keyof {
|
|
1585
|
+
uri?: string | undefined;
|
|
1586
|
+
}[]>]: never; }) | undefined;
|
|
1587
|
+
} & { [K_37 in Exclude<keyof I_1["homestead"], keyof BootNodeGateways_NetworkNodes>]: never; }) | undefined;
|
|
1588
|
+
goerli?: ({
|
|
1589
|
+
dvote?: {
|
|
1590
|
+
uri?: string | undefined;
|
|
1591
|
+
apis?: string[] | undefined;
|
|
1592
|
+
pubKey?: string | undefined;
|
|
1593
|
+
}[] | undefined;
|
|
1594
|
+
web3?: {
|
|
1595
|
+
uri?: string | undefined;
|
|
1596
|
+
}[] | undefined;
|
|
1597
|
+
} & {
|
|
1598
|
+
dvote?: ({
|
|
1599
|
+
uri?: string | undefined;
|
|
1600
|
+
apis?: string[] | undefined;
|
|
1601
|
+
pubKey?: string | undefined;
|
|
1602
|
+
}[] & ({
|
|
1603
|
+
uri?: string | undefined;
|
|
1604
|
+
apis?: string[] | undefined;
|
|
1605
|
+
pubKey?: string | undefined;
|
|
1606
|
+
} & {
|
|
1607
|
+
uri?: string | undefined;
|
|
1608
|
+
apis?: (string[] & string[] & { [K_38 in Exclude<keyof I_1["goerli"]["dvote"][number]["apis"], keyof string[]>]: never; }) | undefined;
|
|
1609
|
+
pubKey?: string | undefined;
|
|
1610
|
+
} & { [K_39 in Exclude<keyof I_1["goerli"]["dvote"][number], keyof BootNodeGateways_NetworkNodes_DVote>]: never; })[] & { [K_40 in Exclude<keyof I_1["goerli"]["dvote"], keyof {
|
|
1611
|
+
uri?: string | undefined;
|
|
1612
|
+
apis?: string[] | undefined;
|
|
1613
|
+
pubKey?: string | undefined;
|
|
1614
|
+
}[]>]: never; }) | undefined;
|
|
1615
|
+
web3?: ({
|
|
1616
|
+
uri?: string | undefined;
|
|
1617
|
+
}[] & ({
|
|
1618
|
+
uri?: string | undefined;
|
|
1619
|
+
} & {
|
|
1620
|
+
uri?: string | undefined;
|
|
1621
|
+
} & { [K_41 in Exclude<keyof I_1["goerli"]["web3"][number], "uri">]: never; })[] & { [K_42 in Exclude<keyof I_1["goerli"]["web3"], keyof {
|
|
1622
|
+
uri?: string | undefined;
|
|
1623
|
+
}[]>]: never; }) | undefined;
|
|
1624
|
+
} & { [K_43 in Exclude<keyof I_1["goerli"], keyof BootNodeGateways_NetworkNodes>]: never; }) | undefined;
|
|
1625
|
+
xdai?: ({
|
|
1626
|
+
dvote?: {
|
|
1627
|
+
uri?: string | undefined;
|
|
1628
|
+
apis?: string[] | undefined;
|
|
1629
|
+
pubKey?: string | undefined;
|
|
1630
|
+
}[] | undefined;
|
|
1631
|
+
web3?: {
|
|
1632
|
+
uri?: string | undefined;
|
|
1633
|
+
}[] | undefined;
|
|
1634
|
+
} & {
|
|
1635
|
+
dvote?: ({
|
|
1636
|
+
uri?: string | undefined;
|
|
1637
|
+
apis?: string[] | undefined;
|
|
1638
|
+
pubKey?: string | undefined;
|
|
1639
|
+
}[] & ({
|
|
1640
|
+
uri?: string | undefined;
|
|
1641
|
+
apis?: string[] | undefined;
|
|
1642
|
+
pubKey?: string | undefined;
|
|
1643
|
+
} & {
|
|
1644
|
+
uri?: string | undefined;
|
|
1645
|
+
apis?: (string[] & string[] & { [K_44 in Exclude<keyof I_1["xdai"]["dvote"][number]["apis"], keyof string[]>]: never; }) | undefined;
|
|
1646
|
+
pubKey?: string | undefined;
|
|
1647
|
+
} & { [K_45 in Exclude<keyof I_1["xdai"]["dvote"][number], keyof BootNodeGateways_NetworkNodes_DVote>]: never; })[] & { [K_46 in Exclude<keyof I_1["xdai"]["dvote"], keyof {
|
|
1648
|
+
uri?: string | undefined;
|
|
1649
|
+
apis?: string[] | undefined;
|
|
1650
|
+
pubKey?: string | undefined;
|
|
1651
|
+
}[]>]: never; }) | undefined;
|
|
1652
|
+
web3?: ({
|
|
1653
|
+
uri?: string | undefined;
|
|
1654
|
+
}[] & ({
|
|
1655
|
+
uri?: string | undefined;
|
|
1656
|
+
} & {
|
|
1657
|
+
uri?: string | undefined;
|
|
1658
|
+
} & { [K_47 in Exclude<keyof I_1["xdai"]["web3"][number], "uri">]: never; })[] & { [K_48 in Exclude<keyof I_1["xdai"]["web3"], keyof {
|
|
1659
|
+
uri?: string | undefined;
|
|
1660
|
+
}[]>]: never; }) | undefined;
|
|
1661
|
+
} & { [K_49 in Exclude<keyof I_1["xdai"], keyof BootNodeGateways_NetworkNodes>]: never; }) | undefined;
|
|
1662
|
+
sokol?: ({
|
|
1663
|
+
dvote?: {
|
|
1664
|
+
uri?: string | undefined;
|
|
1665
|
+
apis?: string[] | undefined;
|
|
1666
|
+
pubKey?: string | undefined;
|
|
1667
|
+
}[] | undefined;
|
|
1668
|
+
web3?: {
|
|
1669
|
+
uri?: string | undefined;
|
|
1670
|
+
}[] | undefined;
|
|
1671
|
+
} & {
|
|
1672
|
+
dvote?: ({
|
|
1673
|
+
uri?: string | undefined;
|
|
1674
|
+
apis?: string[] | undefined;
|
|
1675
|
+
pubKey?: string | undefined;
|
|
1676
|
+
}[] & ({
|
|
1677
|
+
uri?: string | undefined;
|
|
1678
|
+
apis?: string[] | undefined;
|
|
1679
|
+
pubKey?: string | undefined;
|
|
1680
|
+
} & {
|
|
1681
|
+
uri?: string | undefined;
|
|
1682
|
+
apis?: (string[] & string[] & { [K_50 in Exclude<keyof I_1["sokol"]["dvote"][number]["apis"], keyof string[]>]: never; }) | undefined;
|
|
1683
|
+
pubKey?: string | undefined;
|
|
1684
|
+
} & { [K_51 in Exclude<keyof I_1["sokol"]["dvote"][number], keyof BootNodeGateways_NetworkNodes_DVote>]: never; })[] & { [K_52 in Exclude<keyof I_1["sokol"]["dvote"], keyof {
|
|
1685
|
+
uri?: string | undefined;
|
|
1686
|
+
apis?: string[] | undefined;
|
|
1687
|
+
pubKey?: string | undefined;
|
|
1688
|
+
}[]>]: never; }) | undefined;
|
|
1689
|
+
web3?: ({
|
|
1690
|
+
uri?: string | undefined;
|
|
1691
|
+
}[] & ({
|
|
1692
|
+
uri?: string | undefined;
|
|
1693
|
+
} & {
|
|
1694
|
+
uri?: string | undefined;
|
|
1695
|
+
} & { [K_53 in Exclude<keyof I_1["sokol"]["web3"][number], "uri">]: never; })[] & { [K_54 in Exclude<keyof I_1["sokol"]["web3"], keyof {
|
|
1696
|
+
uri?: string | undefined;
|
|
1697
|
+
}[]>]: never; }) | undefined;
|
|
1698
|
+
} & { [K_55 in Exclude<keyof I_1["sokol"], keyof BootNodeGateways_NetworkNodes>]: never; }) | undefined;
|
|
1699
|
+
rinkeby?: ({
|
|
1700
|
+
dvote?: {
|
|
1701
|
+
uri?: string | undefined;
|
|
1702
|
+
apis?: string[] | undefined;
|
|
1703
|
+
pubKey?: string | undefined;
|
|
1704
|
+
}[] | undefined;
|
|
1705
|
+
web3?: {
|
|
1706
|
+
uri?: string | undefined;
|
|
1707
|
+
}[] | undefined;
|
|
1708
|
+
} & {
|
|
1709
|
+
dvote?: ({
|
|
1710
|
+
uri?: string | undefined;
|
|
1711
|
+
apis?: string[] | undefined;
|
|
1712
|
+
pubKey?: string | undefined;
|
|
1713
|
+
}[] & ({
|
|
1714
|
+
uri?: string | undefined;
|
|
1715
|
+
apis?: string[] | undefined;
|
|
1716
|
+
pubKey?: string | undefined;
|
|
1717
|
+
} & {
|
|
1718
|
+
uri?: string | undefined;
|
|
1719
|
+
apis?: (string[] & string[] & { [K_56 in Exclude<keyof I_1["rinkeby"]["dvote"][number]["apis"], keyof string[]>]: never; }) | undefined;
|
|
1720
|
+
pubKey?: string | undefined;
|
|
1721
|
+
} & { [K_57 in Exclude<keyof I_1["rinkeby"]["dvote"][number], keyof BootNodeGateways_NetworkNodes_DVote>]: never; })[] & { [K_58 in Exclude<keyof I_1["rinkeby"]["dvote"], keyof {
|
|
1722
|
+
uri?: string | undefined;
|
|
1723
|
+
apis?: string[] | undefined;
|
|
1724
|
+
pubKey?: string | undefined;
|
|
1725
|
+
}[]>]: never; }) | undefined;
|
|
1726
|
+
web3?: ({
|
|
1727
|
+
uri?: string | undefined;
|
|
1728
|
+
}[] & ({
|
|
1729
|
+
uri?: string | undefined;
|
|
1730
|
+
} & {
|
|
1731
|
+
uri?: string | undefined;
|
|
1732
|
+
} & { [K_59 in Exclude<keyof I_1["rinkeby"]["web3"][number], "uri">]: never; })[] & { [K_60 in Exclude<keyof I_1["rinkeby"]["web3"], keyof {
|
|
1733
|
+
uri?: string | undefined;
|
|
1734
|
+
}[]>]: never; }) | undefined;
|
|
1735
|
+
} & { [K_61 in Exclude<keyof I_1["rinkeby"], keyof BootNodeGateways_NetworkNodes>]: never; }) | undefined;
|
|
1736
|
+
meta?: ({
|
|
1737
|
+
[x: string]: string | undefined;
|
|
1738
|
+
} & {
|
|
1739
|
+
[x: string]: string | undefined;
|
|
1740
|
+
} & { [K_62 in Exclude<keyof I_1["meta"], string | number>]: never; }) | undefined;
|
|
1741
|
+
} & { [K_63 in Exclude<keyof I_1, keyof BootNodeGateways>]: never; }>(object: I_1): BootNodeGateways;
|
|
1742
|
+
};
|
|
1743
|
+
interface BootNodeGateways_NetworkNodes {
|
|
1744
|
+
dvote: BootNodeGateways_NetworkNodes_DVote[];
|
|
1745
|
+
web3: BootNodeGateways_NetworkNodes_Web3[];
|
|
1746
|
+
}
|
|
1747
|
+
declare const BootNodeGateways_NetworkNodes: {
|
|
1748
|
+
encode(message: BootNodeGateways_NetworkNodes, writer?: _m0.Writer): _m0.Writer;
|
|
1749
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BootNodeGateways_NetworkNodes;
|
|
1750
|
+
fromJSON(object: any): BootNodeGateways_NetworkNodes;
|
|
1751
|
+
toJSON(message: BootNodeGateways_NetworkNodes): unknown;
|
|
1752
|
+
create<I extends {
|
|
1753
|
+
dvote?: {
|
|
1754
|
+
uri?: string | undefined;
|
|
1755
|
+
apis?: string[] | undefined;
|
|
1756
|
+
pubKey?: string | undefined;
|
|
1757
|
+
}[] | undefined;
|
|
1758
|
+
web3?: {
|
|
1759
|
+
uri?: string | undefined;
|
|
1760
|
+
}[] | undefined;
|
|
1761
|
+
} & {
|
|
1762
|
+
dvote?: ({
|
|
1763
|
+
uri?: string | undefined;
|
|
1764
|
+
apis?: string[] | undefined;
|
|
1765
|
+
pubKey?: string | undefined;
|
|
1766
|
+
}[] & ({
|
|
1767
|
+
uri?: string | undefined;
|
|
1768
|
+
apis?: string[] | undefined;
|
|
1769
|
+
pubKey?: string | undefined;
|
|
1770
|
+
} & {
|
|
1771
|
+
uri?: string | undefined;
|
|
1772
|
+
apis?: (string[] & string[] & { [K in Exclude<keyof I["dvote"][number]["apis"], keyof string[]>]: never; }) | undefined;
|
|
1773
|
+
pubKey?: string | undefined;
|
|
1774
|
+
} & { [K_1 in Exclude<keyof I["dvote"][number], keyof BootNodeGateways_NetworkNodes_DVote>]: never; })[] & { [K_2 in Exclude<keyof I["dvote"], keyof {
|
|
1775
|
+
uri?: string | undefined;
|
|
1776
|
+
apis?: string[] | undefined;
|
|
1777
|
+
pubKey?: string | undefined;
|
|
1778
|
+
}[]>]: never; }) | undefined;
|
|
1779
|
+
web3?: ({
|
|
1780
|
+
uri?: string | undefined;
|
|
1781
|
+
}[] & ({
|
|
1782
|
+
uri?: string | undefined;
|
|
1783
|
+
} & {
|
|
1784
|
+
uri?: string | undefined;
|
|
1785
|
+
} & { [K_3 in Exclude<keyof I["web3"][number], "uri">]: never; })[] & { [K_4 in Exclude<keyof I["web3"], keyof {
|
|
1786
|
+
uri?: string | undefined;
|
|
1787
|
+
}[]>]: never; }) | undefined;
|
|
1788
|
+
} & { [K_5 in Exclude<keyof I, keyof BootNodeGateways_NetworkNodes>]: never; }>(base?: I | undefined): BootNodeGateways_NetworkNodes;
|
|
1789
|
+
fromPartial<I_1 extends {
|
|
1790
|
+
dvote?: {
|
|
1791
|
+
uri?: string | undefined;
|
|
1792
|
+
apis?: string[] | undefined;
|
|
1793
|
+
pubKey?: string | undefined;
|
|
1794
|
+
}[] | undefined;
|
|
1795
|
+
web3?: {
|
|
1796
|
+
uri?: string | undefined;
|
|
1797
|
+
}[] | undefined;
|
|
1798
|
+
} & {
|
|
1799
|
+
dvote?: ({
|
|
1800
|
+
uri?: string | undefined;
|
|
1801
|
+
apis?: string[] | undefined;
|
|
1802
|
+
pubKey?: string | undefined;
|
|
1803
|
+
}[] & ({
|
|
1804
|
+
uri?: string | undefined;
|
|
1805
|
+
apis?: string[] | undefined;
|
|
1806
|
+
pubKey?: string | undefined;
|
|
1807
|
+
} & {
|
|
1808
|
+
uri?: string | undefined;
|
|
1809
|
+
apis?: (string[] & string[] & { [K_6 in Exclude<keyof I_1["dvote"][number]["apis"], keyof string[]>]: never; }) | undefined;
|
|
1810
|
+
pubKey?: string | undefined;
|
|
1811
|
+
} & { [K_7 in Exclude<keyof I_1["dvote"][number], keyof BootNodeGateways_NetworkNodes_DVote>]: never; })[] & { [K_8 in Exclude<keyof I_1["dvote"], keyof {
|
|
1812
|
+
uri?: string | undefined;
|
|
1813
|
+
apis?: string[] | undefined;
|
|
1814
|
+
pubKey?: string | undefined;
|
|
1815
|
+
}[]>]: never; }) | undefined;
|
|
1816
|
+
web3?: ({
|
|
1817
|
+
uri?: string | undefined;
|
|
1818
|
+
}[] & ({
|
|
1819
|
+
uri?: string | undefined;
|
|
1820
|
+
} & {
|
|
1821
|
+
uri?: string | undefined;
|
|
1822
|
+
} & { [K_9 in Exclude<keyof I_1["web3"][number], "uri">]: never; })[] & { [K_10 in Exclude<keyof I_1["web3"], keyof {
|
|
1823
|
+
uri?: string | undefined;
|
|
1824
|
+
}[]>]: never; }) | undefined;
|
|
1825
|
+
} & { [K_11 in Exclude<keyof I_1, keyof BootNodeGateways_NetworkNodes>]: never; }>(object: I_1): BootNodeGateways_NetworkNodes;
|
|
1826
|
+
};
|
|
1827
|
+
interface BootNodeGateways_NetworkNodes_DVote {
|
|
1828
|
+
uri: string;
|
|
1829
|
+
apis: string[];
|
|
1830
|
+
pubKey: string;
|
|
1831
|
+
}
|
|
1832
|
+
declare const BootNodeGateways_NetworkNodes_DVote: {
|
|
1833
|
+
encode(message: BootNodeGateways_NetworkNodes_DVote, writer?: _m0.Writer): _m0.Writer;
|
|
1834
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BootNodeGateways_NetworkNodes_DVote;
|
|
1835
|
+
fromJSON(object: any): BootNodeGateways_NetworkNodes_DVote;
|
|
1836
|
+
toJSON(message: BootNodeGateways_NetworkNodes_DVote): unknown;
|
|
1837
|
+
create<I extends {
|
|
1838
|
+
uri?: string | undefined;
|
|
1839
|
+
apis?: string[] | undefined;
|
|
1840
|
+
pubKey?: string | undefined;
|
|
1841
|
+
} & {
|
|
1842
|
+
uri?: string | undefined;
|
|
1843
|
+
apis?: (string[] & string[] & { [K in Exclude<keyof I["apis"], keyof string[]>]: never; }) | undefined;
|
|
1844
|
+
pubKey?: string | undefined;
|
|
1845
|
+
} & { [K_1 in Exclude<keyof I, keyof BootNodeGateways_NetworkNodes_DVote>]: never; }>(base?: I | undefined): BootNodeGateways_NetworkNodes_DVote;
|
|
1846
|
+
fromPartial<I_1 extends {
|
|
1847
|
+
uri?: string | undefined;
|
|
1848
|
+
apis?: string[] | undefined;
|
|
1849
|
+
pubKey?: string | undefined;
|
|
1850
|
+
} & {
|
|
1851
|
+
uri?: string | undefined;
|
|
1852
|
+
apis?: (string[] & string[] & { [K_2 in Exclude<keyof I_1["apis"], keyof string[]>]: never; }) | undefined;
|
|
1853
|
+
pubKey?: string | undefined;
|
|
1854
|
+
} & { [K_3 in Exclude<keyof I_1, keyof BootNodeGateways_NetworkNodes_DVote>]: never; }>(object: I_1): BootNodeGateways_NetworkNodes_DVote;
|
|
1855
|
+
};
|
|
1856
|
+
interface BootNodeGateways_NetworkNodes_Web3 {
|
|
1857
|
+
uri: string;
|
|
1858
|
+
}
|
|
1859
|
+
declare const BootNodeGateways_NetworkNodes_Web3: {
|
|
1860
|
+
encode(message: BootNodeGateways_NetworkNodes_Web3, writer?: _m0.Writer): _m0.Writer;
|
|
1861
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BootNodeGateways_NetworkNodes_Web3;
|
|
1862
|
+
fromJSON(object: any): BootNodeGateways_NetworkNodes_Web3;
|
|
1863
|
+
toJSON(message: BootNodeGateways_NetworkNodes_Web3): unknown;
|
|
1864
|
+
create<I extends {
|
|
1865
|
+
uri?: string | undefined;
|
|
1866
|
+
} & {
|
|
1867
|
+
uri?: string | undefined;
|
|
1868
|
+
} & { [K in Exclude<keyof I, "uri">]: never; }>(base?: I | undefined): BootNodeGateways_NetworkNodes_Web3;
|
|
1869
|
+
fromPartial<I_1 extends {
|
|
1870
|
+
uri?: string | undefined;
|
|
1871
|
+
} & {
|
|
1872
|
+
uri?: string | undefined;
|
|
1873
|
+
} & { [K_1 in Exclude<keyof I_1, "uri">]: never; }>(object: I_1): BootNodeGateways_NetworkNodes_Web3;
|
|
1874
|
+
};
|
|
1875
|
+
interface BootNodeGateways_MetaEntry {
|
|
1876
|
+
key: string;
|
|
1877
|
+
value: string;
|
|
1878
|
+
}
|
|
1879
|
+
declare const BootNodeGateways_MetaEntry: {
|
|
1880
|
+
encode(message: BootNodeGateways_MetaEntry, writer?: _m0.Writer): _m0.Writer;
|
|
1881
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BootNodeGateways_MetaEntry;
|
|
1882
|
+
fromJSON(object: any): BootNodeGateways_MetaEntry;
|
|
1883
|
+
toJSON(message: BootNodeGateways_MetaEntry): unknown;
|
|
1884
|
+
create<I extends {
|
|
1885
|
+
key?: string | undefined;
|
|
1886
|
+
value?: string | undefined;
|
|
1887
|
+
} & {
|
|
1888
|
+
key?: string | undefined;
|
|
1889
|
+
value?: string | undefined;
|
|
1890
|
+
} & { [K in Exclude<keyof I, keyof BootNodeGateways_MetaEntry>]: never; }>(base?: I | undefined): BootNodeGateways_MetaEntry;
|
|
1891
|
+
fromPartial<I_1 extends {
|
|
1892
|
+
key?: string | undefined;
|
|
1893
|
+
value?: string | undefined;
|
|
1894
|
+
} & {
|
|
1895
|
+
key?: string | undefined;
|
|
1896
|
+
value?: string | undefined;
|
|
1897
|
+
} & { [K_1 in Exclude<keyof I_1, keyof BootNodeGateways_MetaEntry>]: never; }>(object: I_1): BootNodeGateways_MetaEntry;
|
|
1898
|
+
};
|
|
1899
|
+
|
|
1900
|
+
declare const gateway_BootNodeGateways: typeof BootNodeGateways;
|
|
1901
|
+
declare const gateway_BootNodeGateways_MetaEntry: typeof BootNodeGateways_MetaEntry;
|
|
1902
|
+
declare const gateway_BootNodeGateways_NetworkNodes: typeof BootNodeGateways_NetworkNodes;
|
|
1903
|
+
declare const gateway_BootNodeGateways_NetworkNodes_DVote: typeof BootNodeGateways_NetworkNodes_DVote;
|
|
1904
|
+
declare const gateway_BootNodeGateways_NetworkNodes_Web3: typeof BootNodeGateways_NetworkNodes_Web3;
|
|
1905
|
+
declare namespace gateway {
|
|
1906
|
+
export {
|
|
1907
|
+
gateway_BootNodeGateways as BootNodeGateways,
|
|
1908
|
+
gateway_BootNodeGateways_MetaEntry as BootNodeGateways_MetaEntry,
|
|
1909
|
+
gateway_BootNodeGateways_NetworkNodes as BootNodeGateways_NetworkNodes,
|
|
1910
|
+
gateway_BootNodeGateways_NetworkNodes_DVote as BootNodeGateways_NetworkNodes_DVote,
|
|
1911
|
+
gateway_BootNodeGateways_NetworkNodes_Web3 as BootNodeGateways_NetworkNodes_Web3,
|
|
1912
|
+
};
|
|
1913
|
+
}
|
|
1914
|
+
|
|
1915
|
+
declare namespace index {
|
|
1916
|
+
export {
|
|
1917
|
+
account as Account,
|
|
1918
|
+
backup as Backup,
|
|
1919
|
+
gateway as Gateway,
|
|
1920
|
+
wallet as Wallet,
|
|
1921
|
+
};
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1924
|
+
export { account as a, backup as b, gateway as g, index as i, wallet as w };
|