@trezor/connect 9.5.5-beta.2 → 9.6.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +45 -7
- package/README.md +1 -1
- package/lib/api/cardano/api/cardanoSignTransaction.d.ts +2 -2
- package/lib/api/discoverAccounts.d.ts +33 -0
- package/lib/api/discoverAccounts.js +180 -0
- package/lib/api/eos/eosSignTx.d.ts +4 -4
- package/lib/api/ethereum/ethereumSignTx.js +8 -6
- package/lib/api/firmware/getBinary.d.ts +1 -1
- package/lib/api/getAccountInfo.d.ts +4 -0
- package/lib/api/getAccountInfo.js +2 -0
- package/lib/api/getFeatures.d.ts +1 -1
- package/lib/api/index.d.ts +1 -0
- package/lib/api/index.js +4 -1
- package/lib/api/nem/nemSignTx.d.ts +9 -9
- package/lib/api/resetDevice.d.ts +1 -0
- package/lib/api/resetDevice.js +4 -0
- package/lib/api/signTransaction.d.ts +12 -12
- package/lib/api/solana/api/solanaSignTransaction.d.ts +1 -0
- package/lib/api/solana/api/solanaSignTransaction.js +12 -0
- package/lib/api/solana/solanaDefinitions.d.ts +8 -0
- package/lib/api/solana/solanaDefinitions.js +39 -0
- package/lib/api/solana/solanaUtils.js +1 -1
- package/lib/api/stellar/stellarSignTx.d.ts +1 -1
- package/lib/api/tezos/tezosSignTx.d.ts +6 -6
- package/lib/backend/Blockchain.js +6 -1
- package/lib/constants/network.d.ts +1 -1
- package/lib/constants/network.js +0 -1
- package/lib/core/method.native.js +0 -1
- package/lib/data/defaultFeeLevels.js +9 -0
- package/lib/data/downloadReleasesMetadata.d.ts +1 -1
- package/lib/data/firmwareInfo.d.ts +2 -2
- package/lib/data/version.d.ts +1 -1
- package/lib/data/version.js +1 -1
- package/lib/device/Device.d.ts +5 -10
- package/lib/device/Device.js +3 -2
- package/lib/device/DeviceCommands.d.ts +9 -8
- package/lib/device/DeviceCommands.js +10 -5
- package/lib/device/DeviceCurrentSession.d.ts +142 -263
- package/lib/device/DeviceCurrentSession.js +9 -9
- package/lib/device/checkFirmwareRevision.d.ts +1 -1
- package/lib/device/checkFirmwareRevision.js +1 -1
- package/lib/factory.js +1 -7
- package/lib/impl/dynamic.d.ts +2 -0
- package/lib/impl/dynamic.js +27 -8
- package/lib/tsconfig.lib.tsbuildinfo +1 -1
- package/lib/types/api/discoverAccounts.d.ts +222 -0
- package/lib/types/api/discoverAccounts.js +57 -0
- package/lib/types/api/index.d.ts +2 -6
- package/lib/types/firmware.d.ts +1 -17
- package/lib/types/index.d.ts +0 -1
- package/lib/types/index.js +0 -1
- package/lib/types/settings.d.ts +1 -1
- package/lib/utils/deviceFeaturesUtils.js +3 -0
- package/lib/utils/firmwareUtils.d.ts +2 -2
- package/lib/workers/workers-browser.d.ts +2 -1
- package/lib/workers/workers-browser.js +3 -1
- package/lib/workers/workers.d.ts +2 -1
- package/lib/workers/workers.js +3 -1
- package/lib/workers/workers.native.d.ts +2 -1
- package/lib/workers/workers.native.js +3 -1
- package/package.json +21 -21
- package/lib/api/binance/api/binanceGetAddress.d.ts +0 -26
- package/lib/api/binance/api/binanceGetAddress.js +0 -109
- package/lib/api/binance/api/binanceGetPublicKey.d.ts +0 -21
- package/lib/api/binance/api/binanceGetPublicKey.js +0 -63
- package/lib/api/binance/api/binanceSignTransaction.d.ts +0 -17
- package/lib/api/binance/api/binanceSignTransaction.js +0 -34
- package/lib/api/binance/api/index.d.ts +0 -4
- package/lib/api/binance/api/index.js +0 -11
- package/lib/api/binance/binanceSignTx.d.ts +0 -87
- package/lib/api/binance/binanceSignTx.js +0 -69
- package/lib/types/api/binance/index.d.ts +0 -204
- package/lib/types/api/binance/index.js +0 -51
- package/lib/types/api/binanceGetAddress.d.ts +0 -4
- package/lib/types/api/binanceGetAddress.js +0 -3
- package/lib/types/api/binanceGetPublicKey.d.ts +0 -4
- package/lib/types/api/binanceGetPublicKey.js +0 -3
- package/lib/types/api/binanceSignTransaction.d.ts +0 -5
- package/lib/types/api/binanceSignTransaction.js +0 -3
|
@@ -12,50 +12,12 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
12
12
|
private readonly transport;
|
|
13
13
|
private readonly protocol;
|
|
14
14
|
private readonly session;
|
|
15
|
-
private disposed
|
|
15
|
+
private disposed?;
|
|
16
16
|
private callPromise?;
|
|
17
17
|
private abortController?;
|
|
18
18
|
constructor(device: Device, transport: Transport, protocol: TransportProtocol, session: Session);
|
|
19
19
|
isDisposed(): boolean;
|
|
20
20
|
typedCall(type: Messages.MessageKey, resType: Messages.MessageKey | Messages.MessageKey[], msg?: Messages.MessagePayload): Promise<{
|
|
21
|
-
type: "BinanceTransferMsg";
|
|
22
|
-
message: {
|
|
23
|
-
chunkify?: boolean | undefined;
|
|
24
|
-
inputs: {
|
|
25
|
-
address: string;
|
|
26
|
-
coins: {
|
|
27
|
-
amount: string | number;
|
|
28
|
-
denom: string;
|
|
29
|
-
}[];
|
|
30
|
-
}[];
|
|
31
|
-
outputs: {
|
|
32
|
-
address: string;
|
|
33
|
-
coins: {
|
|
34
|
-
amount: string | number;
|
|
35
|
-
denom: string;
|
|
36
|
-
}[];
|
|
37
|
-
}[];
|
|
38
|
-
};
|
|
39
|
-
} | {
|
|
40
|
-
type: "BinanceOrderMsg";
|
|
41
|
-
message: {
|
|
42
|
-
symbol?: string | undefined;
|
|
43
|
-
id?: string | undefined;
|
|
44
|
-
sender?: string | undefined;
|
|
45
|
-
ordertype: Messages.BinanceOrderType;
|
|
46
|
-
price: number;
|
|
47
|
-
quantity: number;
|
|
48
|
-
side: Messages.BinanceOrderSide;
|
|
49
|
-
timeinforce: Messages.BinanceTimeInForce;
|
|
50
|
-
};
|
|
51
|
-
} | {
|
|
52
|
-
type: "BinanceCancelMsg";
|
|
53
|
-
message: {
|
|
54
|
-
symbol?: string | undefined;
|
|
55
|
-
sender?: string | undefined;
|
|
56
|
-
refid?: string | undefined;
|
|
57
|
-
};
|
|
58
|
-
} | {
|
|
59
21
|
type: "PassphraseAck";
|
|
60
22
|
message: {
|
|
61
23
|
passphrase?: string | undefined;
|
|
@@ -84,11 +46,11 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
84
46
|
root_fingerprint?: number | undefined;
|
|
85
47
|
node: {
|
|
86
48
|
private_key?: string | undefined;
|
|
87
|
-
public_key: string;
|
|
88
49
|
depth: number;
|
|
89
50
|
fingerprint: number;
|
|
90
51
|
child_num: number;
|
|
91
52
|
chain_code: string;
|
|
53
|
+
public_key: string;
|
|
92
54
|
};
|
|
93
55
|
xpub: string;
|
|
94
56
|
};
|
|
@@ -135,7 +97,7 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
135
97
|
unfinished_backup: boolean | null;
|
|
136
98
|
no_backup: boolean | null;
|
|
137
99
|
recovery_status: "Nothing" | "Recovery" | "Backup" | null;
|
|
138
|
-
capabilities: ("Capability_Bitcoin" | "Capability_Bitcoin_like" | "Capability_Binance" | "Capability_Cardano" | "Capability_Crypto" | "Capability_EOS" | "Capability_Ethereum" | "Capability_Lisk" | "Capability_Monero" | "Capability_NEM" | "Capability_Ripple" | "Capability_Stellar" | "Capability_Tezos" | "Capability_U2F" | "Capability_Shamir" | "Capability_ShamirGroups" | "Capability_PassphraseEntry" | "Capability_Solana" | "Capability_Translations" | "Capability_Brightness" | "Capability_Haptic")[];
|
|
100
|
+
capabilities: ("Capability_Bitcoin" | "Capability_Bitcoin_like" | "Capability_Binance" | "Capability_Cardano" | "Capability_Crypto" | "Capability_EOS" | "Capability_Ethereum" | "Capability_Lisk" | "Capability_Monero" | "Capability_NEM" | "Capability_Ripple" | "Capability_Stellar" | "Capability_Tezos" | "Capability_U2F" | "Capability_Shamir" | "Capability_ShamirGroups" | "Capability_PassphraseEntry" | "Capability_Solana" | "Capability_Translations" | "Capability_Brightness" | "Capability_Haptic" | "Capability_BLE" | "Capability_NFC")[];
|
|
139
101
|
backup_type: "Bip39" | "Slip39_Basic" | "Slip39_Advanced" | "Slip39_Single_Extendable" | "Slip39_Basic_Extendable" | "Slip39_Advanced_Extendable" | null;
|
|
140
102
|
sd_card_present: boolean | null;
|
|
141
103
|
sd_protection: boolean | null;
|
|
@@ -148,74 +110,15 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
148
110
|
experimental_features: boolean | null;
|
|
149
111
|
internal_model: Messages.DeviceModelInternal;
|
|
150
112
|
};
|
|
151
|
-
} | {
|
|
152
|
-
type: "BinanceGetAddress";
|
|
153
|
-
message: {
|
|
154
|
-
chunkify?: boolean | undefined;
|
|
155
|
-
show_display?: boolean | undefined;
|
|
156
|
-
address_n: number[];
|
|
157
|
-
};
|
|
158
|
-
} | {
|
|
159
|
-
type: "BinanceAddress";
|
|
160
|
-
message: {
|
|
161
|
-
address: string;
|
|
162
|
-
};
|
|
163
|
-
} | {
|
|
164
|
-
type: "BinanceGetPublicKey";
|
|
165
|
-
message: {
|
|
166
|
-
show_display?: boolean | undefined;
|
|
167
|
-
address_n: number[];
|
|
168
|
-
};
|
|
169
|
-
} | {
|
|
170
|
-
type: "BinancePublicKey";
|
|
171
|
-
message: {
|
|
172
|
-
public_key: string;
|
|
173
|
-
};
|
|
174
|
-
} | {
|
|
175
|
-
type: "BinanceSignTx";
|
|
176
|
-
message: {
|
|
177
|
-
chunkify?: boolean | undefined;
|
|
178
|
-
chain_id?: string | undefined;
|
|
179
|
-
memo?: string | undefined;
|
|
180
|
-
address_n: number[];
|
|
181
|
-
account_number: number;
|
|
182
|
-
sequence: number;
|
|
183
|
-
source: number;
|
|
184
|
-
msg_count: number;
|
|
185
|
-
};
|
|
186
|
-
} | {
|
|
187
|
-
type: "BinanceTxRequest";
|
|
188
|
-
message: {};
|
|
189
|
-
} | {
|
|
190
|
-
type: "BinanceCoin";
|
|
191
|
-
message: {
|
|
192
|
-
amount: string | number;
|
|
193
|
-
denom: string;
|
|
194
|
-
};
|
|
195
|
-
} | {
|
|
196
|
-
type: "BinanceInputOutput";
|
|
197
|
-
message: {
|
|
198
|
-
address: string;
|
|
199
|
-
coins: {
|
|
200
|
-
amount: string | number;
|
|
201
|
-
denom: string;
|
|
202
|
-
}[];
|
|
203
|
-
};
|
|
204
|
-
} | {
|
|
205
|
-
type: "BinanceSignedTx";
|
|
206
|
-
message: {
|
|
207
|
-
signature: string;
|
|
208
|
-
public_key: string;
|
|
209
|
-
};
|
|
210
113
|
} | {
|
|
211
114
|
type: "HDNodeType";
|
|
212
115
|
message: {
|
|
213
116
|
private_key?: string | undefined;
|
|
214
|
-
public_key: string;
|
|
215
117
|
depth: number;
|
|
216
118
|
fingerprint: number;
|
|
217
119
|
child_num: number;
|
|
218
120
|
chain_code: string;
|
|
121
|
+
public_key: string;
|
|
219
122
|
};
|
|
220
123
|
} | {
|
|
221
124
|
type: "HDNodePathType";
|
|
@@ -223,11 +126,11 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
223
126
|
address_n: number[];
|
|
224
127
|
node: string | {
|
|
225
128
|
private_key?: string | undefined;
|
|
226
|
-
public_key: string;
|
|
227
129
|
depth: number;
|
|
228
130
|
fingerprint: number;
|
|
229
131
|
child_num: number;
|
|
230
132
|
chain_code: string;
|
|
133
|
+
public_key: string;
|
|
231
134
|
};
|
|
232
135
|
};
|
|
233
136
|
} | {
|
|
@@ -236,22 +139,22 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
236
139
|
address_n?: number[] | undefined;
|
|
237
140
|
nodes?: {
|
|
238
141
|
private_key?: string | undefined;
|
|
239
|
-
public_key: string;
|
|
240
142
|
depth: number;
|
|
241
143
|
fingerprint: number;
|
|
242
144
|
child_num: number;
|
|
243
145
|
chain_code: string;
|
|
146
|
+
public_key: string;
|
|
244
147
|
}[] | undefined;
|
|
245
148
|
pubkeys_order?: Messages.MultisigPubkeysOrder | undefined;
|
|
246
149
|
pubkeys: {
|
|
247
150
|
address_n: number[];
|
|
248
151
|
node: string | {
|
|
249
152
|
private_key?: string | undefined;
|
|
250
|
-
public_key: string;
|
|
251
153
|
depth: number;
|
|
252
154
|
fingerprint: number;
|
|
253
155
|
child_num: number;
|
|
254
156
|
chain_code: string;
|
|
157
|
+
public_key: string;
|
|
255
158
|
};
|
|
256
159
|
}[];
|
|
257
160
|
signatures: string[];
|
|
@@ -265,22 +168,22 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
265
168
|
address_n?: number[] | undefined;
|
|
266
169
|
nodes?: {
|
|
267
170
|
private_key?: string | undefined;
|
|
268
|
-
public_key: string;
|
|
269
171
|
depth: number;
|
|
270
172
|
fingerprint: number;
|
|
271
173
|
child_num: number;
|
|
272
174
|
chain_code: string;
|
|
175
|
+
public_key: string;
|
|
273
176
|
}[] | undefined;
|
|
274
177
|
pubkeys_order?: Messages.MultisigPubkeysOrder | undefined;
|
|
275
178
|
pubkeys: {
|
|
276
179
|
address_n: number[];
|
|
277
180
|
node: string | {
|
|
278
181
|
private_key?: string | undefined;
|
|
279
|
-
public_key: string;
|
|
280
182
|
depth: number;
|
|
281
183
|
fingerprint: number;
|
|
282
184
|
child_num: number;
|
|
283
185
|
chain_code: string;
|
|
186
|
+
public_key: string;
|
|
284
187
|
};
|
|
285
188
|
}[];
|
|
286
189
|
signatures: string[];
|
|
@@ -305,22 +208,22 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
305
208
|
address_n?: number[] | undefined;
|
|
306
209
|
nodes?: {
|
|
307
210
|
private_key?: string | undefined;
|
|
308
|
-
public_key: string;
|
|
309
211
|
depth: number;
|
|
310
212
|
fingerprint: number;
|
|
311
213
|
child_num: number;
|
|
312
214
|
chain_code: string;
|
|
215
|
+
public_key: string;
|
|
313
216
|
}[] | undefined;
|
|
314
217
|
pubkeys_order?: Messages.MultisigPubkeysOrder | undefined;
|
|
315
218
|
pubkeys: {
|
|
316
219
|
address_n: number[];
|
|
317
220
|
node: string | {
|
|
318
221
|
private_key?: string | undefined;
|
|
319
|
-
public_key: string;
|
|
320
222
|
depth: number;
|
|
321
223
|
fingerprint: number;
|
|
322
224
|
child_num: number;
|
|
323
225
|
chain_code: string;
|
|
226
|
+
public_key: string;
|
|
324
227
|
};
|
|
325
228
|
}[];
|
|
326
229
|
signatures: string[];
|
|
@@ -433,22 +336,22 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
433
336
|
address_n?: number[] | undefined;
|
|
434
337
|
nodes?: {
|
|
435
338
|
private_key?: string | undefined;
|
|
436
|
-
public_key: string;
|
|
437
339
|
depth: number;
|
|
438
340
|
fingerprint: number;
|
|
439
341
|
child_num: number;
|
|
440
342
|
chain_code: string;
|
|
343
|
+
public_key: string;
|
|
441
344
|
}[] | undefined;
|
|
442
345
|
pubkeys_order?: Messages.MultisigPubkeysOrder | undefined;
|
|
443
346
|
pubkeys: {
|
|
444
347
|
address_n: number[];
|
|
445
348
|
node: string | {
|
|
446
349
|
private_key?: string | undefined;
|
|
447
|
-
public_key: string;
|
|
448
350
|
depth: number;
|
|
449
351
|
fingerprint: number;
|
|
450
352
|
child_num: number;
|
|
451
353
|
chain_code: string;
|
|
354
|
+
public_key: string;
|
|
452
355
|
};
|
|
453
356
|
}[];
|
|
454
357
|
signatures: string[];
|
|
@@ -464,9 +367,9 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
464
367
|
witness?: string | undefined;
|
|
465
368
|
ownership_proof?: string | undefined;
|
|
466
369
|
commitment_data?: string | undefined;
|
|
467
|
-
amount: string | number;
|
|
468
370
|
prev_hash: string;
|
|
469
371
|
prev_index: number;
|
|
372
|
+
amount: string | number;
|
|
470
373
|
} & {
|
|
471
374
|
script_type?: "SPENDADDRESS" | "SPENDMULTISIG" | "SPENDWITNESS" | "SPENDP2SHWITNESS" | "SPENDTAPROOT" | undefined;
|
|
472
375
|
address_n: number[];
|
|
@@ -476,22 +379,22 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
476
379
|
address_n?: number[] | undefined;
|
|
477
380
|
nodes?: {
|
|
478
381
|
private_key?: string | undefined;
|
|
479
|
-
public_key: string;
|
|
480
382
|
depth: number;
|
|
481
383
|
fingerprint: number;
|
|
482
384
|
child_num: number;
|
|
483
385
|
chain_code: string;
|
|
386
|
+
public_key: string;
|
|
484
387
|
}[] | undefined;
|
|
485
388
|
pubkeys_order?: Messages.MultisigPubkeysOrder | undefined;
|
|
486
389
|
pubkeys: {
|
|
487
390
|
address_n: number[];
|
|
488
391
|
node: string | {
|
|
489
392
|
private_key?: string | undefined;
|
|
490
|
-
public_key: string;
|
|
491
393
|
depth: number;
|
|
492
394
|
fingerprint: number;
|
|
493
395
|
child_num: number;
|
|
494
396
|
chain_code: string;
|
|
397
|
+
public_key: string;
|
|
495
398
|
};
|
|
496
399
|
}[];
|
|
497
400
|
signatures: string[];
|
|
@@ -507,9 +410,9 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
507
410
|
witness?: string | undefined;
|
|
508
411
|
ownership_proof?: string | undefined;
|
|
509
412
|
commitment_data?: string | undefined;
|
|
510
|
-
amount: string | number;
|
|
511
413
|
prev_hash: string;
|
|
512
414
|
prev_index: number;
|
|
415
|
+
amount: string | number;
|
|
513
416
|
} & {
|
|
514
417
|
address_n?: undefined;
|
|
515
418
|
script_pubkey: string;
|
|
@@ -530,22 +433,22 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
530
433
|
address_n?: number[] | undefined;
|
|
531
434
|
nodes?: {
|
|
532
435
|
private_key?: string | undefined;
|
|
533
|
-
public_key: string;
|
|
534
436
|
depth: number;
|
|
535
437
|
fingerprint: number;
|
|
536
438
|
child_num: number;
|
|
537
439
|
chain_code: string;
|
|
440
|
+
public_key: string;
|
|
538
441
|
}[] | undefined;
|
|
539
442
|
pubkeys_order?: Messages.MultisigPubkeysOrder | undefined;
|
|
540
443
|
pubkeys: {
|
|
541
444
|
address_n: number[];
|
|
542
445
|
node: string | {
|
|
543
446
|
private_key?: string | undefined;
|
|
544
|
-
public_key: string;
|
|
545
447
|
depth: number;
|
|
546
448
|
fingerprint: number;
|
|
547
449
|
child_num: number;
|
|
548
450
|
chain_code: string;
|
|
451
|
+
public_key: string;
|
|
549
452
|
};
|
|
550
453
|
}[];
|
|
551
454
|
signatures: string[];
|
|
@@ -563,22 +466,22 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
563
466
|
address_n?: number[] | undefined;
|
|
564
467
|
nodes?: {
|
|
565
468
|
private_key?: string | undefined;
|
|
566
|
-
public_key: string;
|
|
567
469
|
depth: number;
|
|
568
470
|
fingerprint: number;
|
|
569
471
|
child_num: number;
|
|
570
472
|
chain_code: string;
|
|
473
|
+
public_key: string;
|
|
571
474
|
}[] | undefined;
|
|
572
475
|
pubkeys_order?: Messages.MultisigPubkeysOrder | undefined;
|
|
573
476
|
pubkeys: {
|
|
574
477
|
address_n: number[];
|
|
575
478
|
node: string | {
|
|
576
479
|
private_key?: string | undefined;
|
|
577
|
-
public_key: string;
|
|
578
480
|
depth: number;
|
|
579
481
|
fingerprint: number;
|
|
580
482
|
child_num: number;
|
|
581
483
|
chain_code: string;
|
|
484
|
+
public_key: string;
|
|
582
485
|
};
|
|
583
486
|
}[];
|
|
584
487
|
signatures: string[];
|
|
@@ -596,22 +499,22 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
596
499
|
address_n?: number[] | undefined;
|
|
597
500
|
nodes?: {
|
|
598
501
|
private_key?: string | undefined;
|
|
599
|
-
public_key: string;
|
|
600
502
|
depth: number;
|
|
601
503
|
fingerprint: number;
|
|
602
504
|
child_num: number;
|
|
603
505
|
chain_code: string;
|
|
506
|
+
public_key: string;
|
|
604
507
|
}[] | undefined;
|
|
605
508
|
pubkeys_order?: Messages.MultisigPubkeysOrder | undefined;
|
|
606
509
|
pubkeys: {
|
|
607
510
|
address_n: number[];
|
|
608
511
|
node: string | {
|
|
609
512
|
private_key?: string | undefined;
|
|
610
|
-
public_key: string;
|
|
611
513
|
depth: number;
|
|
612
514
|
fingerprint: number;
|
|
613
515
|
child_num: number;
|
|
614
516
|
chain_code: string;
|
|
517
|
+
public_key: string;
|
|
615
518
|
};
|
|
616
519
|
}[];
|
|
617
520
|
signatures: string[];
|
|
@@ -650,9 +553,9 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
650
553
|
type: "PrevInput";
|
|
651
554
|
message: {
|
|
652
555
|
decred_tree?: number | undefined;
|
|
653
|
-
sequence: number;
|
|
654
556
|
prev_hash: string;
|
|
655
557
|
prev_index: number;
|
|
558
|
+
sequence: number;
|
|
656
559
|
script_sig: string;
|
|
657
560
|
};
|
|
658
561
|
} | {
|
|
@@ -731,22 +634,22 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
731
634
|
address_n?: number[] | undefined;
|
|
732
635
|
nodes?: {
|
|
733
636
|
private_key?: string | undefined;
|
|
734
|
-
public_key: string;
|
|
735
637
|
depth: number;
|
|
736
638
|
fingerprint: number;
|
|
737
639
|
child_num: number;
|
|
738
640
|
chain_code: string;
|
|
641
|
+
public_key: string;
|
|
739
642
|
}[] | undefined;
|
|
740
643
|
pubkeys_order?: Messages.MultisigPubkeysOrder | undefined;
|
|
741
644
|
pubkeys: {
|
|
742
645
|
address_n: number[];
|
|
743
646
|
node: string | {
|
|
744
647
|
private_key?: string | undefined;
|
|
745
|
-
public_key: string;
|
|
746
648
|
depth: number;
|
|
747
649
|
fingerprint: number;
|
|
748
650
|
child_num: number;
|
|
749
651
|
chain_code: string;
|
|
652
|
+
public_key: string;
|
|
750
653
|
};
|
|
751
654
|
}[];
|
|
752
655
|
signatures: string[];
|
|
@@ -762,9 +665,9 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
762
665
|
witness?: string | undefined;
|
|
763
666
|
ownership_proof?: string | undefined;
|
|
764
667
|
commitment_data?: string | undefined;
|
|
765
|
-
amount: string | number;
|
|
766
668
|
prev_hash: string;
|
|
767
669
|
prev_index: number;
|
|
670
|
+
amount: string | number;
|
|
768
671
|
} & {
|
|
769
672
|
script_type?: "SPENDADDRESS" | "SPENDMULTISIG" | "SPENDWITNESS" | "SPENDP2SHWITNESS" | "SPENDTAPROOT" | undefined;
|
|
770
673
|
address_n: number[];
|
|
@@ -774,22 +677,22 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
774
677
|
address_n?: number[] | undefined;
|
|
775
678
|
nodes?: {
|
|
776
679
|
private_key?: string | undefined;
|
|
777
|
-
public_key: string;
|
|
778
680
|
depth: number;
|
|
779
681
|
fingerprint: number;
|
|
780
682
|
child_num: number;
|
|
781
683
|
chain_code: string;
|
|
684
|
+
public_key: string;
|
|
782
685
|
}[] | undefined;
|
|
783
686
|
pubkeys_order?: Messages.MultisigPubkeysOrder | undefined;
|
|
784
687
|
pubkeys: {
|
|
785
688
|
address_n: number[];
|
|
786
689
|
node: string | {
|
|
787
690
|
private_key?: string | undefined;
|
|
788
|
-
public_key: string;
|
|
789
691
|
depth: number;
|
|
790
692
|
fingerprint: number;
|
|
791
693
|
child_num: number;
|
|
792
694
|
chain_code: string;
|
|
695
|
+
public_key: string;
|
|
793
696
|
};
|
|
794
697
|
}[];
|
|
795
698
|
signatures: string[];
|
|
@@ -805,18 +708,18 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
805
708
|
witness?: string | undefined;
|
|
806
709
|
ownership_proof?: string | undefined;
|
|
807
710
|
commitment_data?: string | undefined;
|
|
808
|
-
amount: string | number;
|
|
809
711
|
prev_hash: string;
|
|
810
712
|
prev_index: number;
|
|
713
|
+
amount: string | number;
|
|
811
714
|
} & {
|
|
812
715
|
address_n?: undefined;
|
|
813
716
|
script_pubkey: string;
|
|
814
717
|
script_type: "EXTERNAL";
|
|
815
718
|
}) | {
|
|
816
719
|
decred_tree?: number | undefined;
|
|
817
|
-
sequence: number;
|
|
818
720
|
prev_hash: string;
|
|
819
721
|
prev_index: number;
|
|
722
|
+
sequence: number;
|
|
820
723
|
script_sig: string;
|
|
821
724
|
})[];
|
|
822
725
|
} | {
|
|
@@ -832,22 +735,22 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
832
735
|
address_n?: number[] | undefined;
|
|
833
736
|
nodes?: {
|
|
834
737
|
private_key?: string | undefined;
|
|
835
|
-
public_key: string;
|
|
836
738
|
depth: number;
|
|
837
739
|
fingerprint: number;
|
|
838
740
|
child_num: number;
|
|
839
741
|
chain_code: string;
|
|
742
|
+
public_key: string;
|
|
840
743
|
}[] | undefined;
|
|
841
744
|
pubkeys_order?: Messages.MultisigPubkeysOrder | undefined;
|
|
842
745
|
pubkeys: {
|
|
843
746
|
address_n: number[];
|
|
844
747
|
node: string | {
|
|
845
748
|
private_key?: string | undefined;
|
|
846
|
-
public_key: string;
|
|
847
749
|
depth: number;
|
|
848
750
|
fingerprint: number;
|
|
849
751
|
child_num: number;
|
|
850
752
|
chain_code: string;
|
|
753
|
+
public_key: string;
|
|
851
754
|
};
|
|
852
755
|
}[];
|
|
853
756
|
signatures: string[];
|
|
@@ -865,22 +768,22 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
865
768
|
address_n?: number[] | undefined;
|
|
866
769
|
nodes?: {
|
|
867
770
|
private_key?: string | undefined;
|
|
868
|
-
public_key: string;
|
|
869
771
|
depth: number;
|
|
870
772
|
fingerprint: number;
|
|
871
773
|
child_num: number;
|
|
872
774
|
chain_code: string;
|
|
775
|
+
public_key: string;
|
|
873
776
|
}[] | undefined;
|
|
874
777
|
pubkeys_order?: Messages.MultisigPubkeysOrder | undefined;
|
|
875
778
|
pubkeys: {
|
|
876
779
|
address_n: number[];
|
|
877
780
|
node: string | {
|
|
878
781
|
private_key?: string | undefined;
|
|
879
|
-
public_key: string;
|
|
880
782
|
depth: number;
|
|
881
783
|
fingerprint: number;
|
|
882
784
|
child_num: number;
|
|
883
785
|
chain_code: string;
|
|
786
|
+
public_key: string;
|
|
884
787
|
};
|
|
885
788
|
}[];
|
|
886
789
|
signatures: string[];
|
|
@@ -898,22 +801,22 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
898
801
|
address_n?: number[] | undefined;
|
|
899
802
|
nodes?: {
|
|
900
803
|
private_key?: string | undefined;
|
|
901
|
-
public_key: string;
|
|
902
804
|
depth: number;
|
|
903
805
|
fingerprint: number;
|
|
904
806
|
child_num: number;
|
|
905
807
|
chain_code: string;
|
|
808
|
+
public_key: string;
|
|
906
809
|
}[] | undefined;
|
|
907
810
|
pubkeys_order?: Messages.MultisigPubkeysOrder | undefined;
|
|
908
811
|
pubkeys: {
|
|
909
812
|
address_n: number[];
|
|
910
813
|
node: string | {
|
|
911
814
|
private_key?: string | undefined;
|
|
912
|
-
public_key: string;
|
|
913
815
|
depth: number;
|
|
914
816
|
fingerprint: number;
|
|
915
817
|
child_num: number;
|
|
916
818
|
chain_code: string;
|
|
819
|
+
public_key: string;
|
|
917
820
|
};
|
|
918
821
|
}[];
|
|
919
822
|
signatures: string[];
|
|
@@ -959,22 +862,22 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
959
862
|
address_n?: number[] | undefined;
|
|
960
863
|
nodes?: {
|
|
961
864
|
private_key?: string | undefined;
|
|
962
|
-
public_key: string;
|
|
963
865
|
depth: number;
|
|
964
866
|
fingerprint: number;
|
|
965
867
|
child_num: number;
|
|
966
868
|
chain_code: string;
|
|
869
|
+
public_key: string;
|
|
967
870
|
}[] | undefined;
|
|
968
871
|
pubkeys_order?: Messages.MultisigPubkeysOrder | undefined;
|
|
969
872
|
pubkeys: {
|
|
970
873
|
address_n: number[];
|
|
971
874
|
node: string | {
|
|
972
875
|
private_key?: string | undefined;
|
|
973
|
-
public_key: string;
|
|
974
876
|
depth: number;
|
|
975
877
|
fingerprint: number;
|
|
976
878
|
child_num: number;
|
|
977
879
|
chain_code: string;
|
|
880
|
+
public_key: string;
|
|
978
881
|
};
|
|
979
882
|
}[];
|
|
980
883
|
signatures: string[];
|
|
@@ -990,9 +893,9 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
990
893
|
witness?: string | undefined;
|
|
991
894
|
ownership_proof?: string | undefined;
|
|
992
895
|
commitment_data?: string | undefined;
|
|
993
|
-
amount: string | number;
|
|
994
896
|
prev_hash: string;
|
|
995
897
|
prev_index: number;
|
|
898
|
+
amount: string | number;
|
|
996
899
|
} & {
|
|
997
900
|
script_type?: "SPENDADDRESS" | "SPENDMULTISIG" | "SPENDWITNESS" | "SPENDP2SHWITNESS" | "SPENDTAPROOT" | undefined;
|
|
998
901
|
address_n: number[];
|
|
@@ -1002,22 +905,22 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
1002
905
|
address_n?: number[] | undefined;
|
|
1003
906
|
nodes?: {
|
|
1004
907
|
private_key?: string | undefined;
|
|
1005
|
-
public_key: string;
|
|
1006
908
|
depth: number;
|
|
1007
909
|
fingerprint: number;
|
|
1008
910
|
child_num: number;
|
|
1009
911
|
chain_code: string;
|
|
912
|
+
public_key: string;
|
|
1010
913
|
}[] | undefined;
|
|
1011
914
|
pubkeys_order?: Messages.MultisigPubkeysOrder | undefined;
|
|
1012
915
|
pubkeys: {
|
|
1013
916
|
address_n: number[];
|
|
1014
917
|
node: string | {
|
|
1015
918
|
private_key?: string | undefined;
|
|
1016
|
-
public_key: string;
|
|
1017
919
|
depth: number;
|
|
1018
920
|
fingerprint: number;
|
|
1019
921
|
child_num: number;
|
|
1020
922
|
chain_code: string;
|
|
923
|
+
public_key: string;
|
|
1021
924
|
};
|
|
1022
925
|
}[];
|
|
1023
926
|
signatures: string[];
|
|
@@ -1033,9 +936,9 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
1033
936
|
witness?: string | undefined;
|
|
1034
937
|
ownership_proof?: string | undefined;
|
|
1035
938
|
commitment_data?: string | undefined;
|
|
1036
|
-
amount: string | number;
|
|
1037
939
|
prev_hash: string;
|
|
1038
940
|
prev_index: number;
|
|
941
|
+
amount: string | number;
|
|
1039
942
|
} & {
|
|
1040
943
|
address_n?: undefined;
|
|
1041
944
|
script_pubkey: string;
|
|
@@ -1052,22 +955,22 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
1052
955
|
address_n?: number[] | undefined;
|
|
1053
956
|
nodes?: {
|
|
1054
957
|
private_key?: string | undefined;
|
|
1055
|
-
public_key: string;
|
|
1056
958
|
depth: number;
|
|
1057
959
|
fingerprint: number;
|
|
1058
960
|
child_num: number;
|
|
1059
961
|
chain_code: string;
|
|
962
|
+
public_key: string;
|
|
1060
963
|
}[] | undefined;
|
|
1061
964
|
pubkeys_order?: Messages.MultisigPubkeysOrder | undefined;
|
|
1062
965
|
pubkeys: {
|
|
1063
966
|
address_n: number[];
|
|
1064
967
|
node: string | {
|
|
1065
968
|
private_key?: string | undefined;
|
|
1066
|
-
public_key: string;
|
|
1067
969
|
depth: number;
|
|
1068
970
|
fingerprint: number;
|
|
1069
971
|
child_num: number;
|
|
1070
972
|
chain_code: string;
|
|
973
|
+
public_key: string;
|
|
1071
974
|
};
|
|
1072
975
|
}[];
|
|
1073
976
|
signatures: string[];
|
|
@@ -1083,9 +986,9 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
1083
986
|
witness?: string | undefined;
|
|
1084
987
|
ownership_proof?: string | undefined;
|
|
1085
988
|
commitment_data?: string | undefined;
|
|
1086
|
-
amount: string | number;
|
|
1087
989
|
prev_hash: string;
|
|
1088
990
|
prev_index: number;
|
|
991
|
+
amount: string | number;
|
|
1089
992
|
} & {
|
|
1090
993
|
script_type?: "SPENDADDRESS" | "SPENDMULTISIG" | "SPENDWITNESS" | "SPENDP2SHWITNESS" | "SPENDTAPROOT" | undefined;
|
|
1091
994
|
address_n: number[];
|
|
@@ -1095,22 +998,22 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
1095
998
|
address_n?: number[] | undefined;
|
|
1096
999
|
nodes?: {
|
|
1097
1000
|
private_key?: string | undefined;
|
|
1098
|
-
public_key: string;
|
|
1099
1001
|
depth: number;
|
|
1100
1002
|
fingerprint: number;
|
|
1101
1003
|
child_num: number;
|
|
1102
1004
|
chain_code: string;
|
|
1005
|
+
public_key: string;
|
|
1103
1006
|
}[] | undefined;
|
|
1104
1007
|
pubkeys_order?: Messages.MultisigPubkeysOrder | undefined;
|
|
1105
1008
|
pubkeys: {
|
|
1106
1009
|
address_n: number[];
|
|
1107
1010
|
node: string | {
|
|
1108
1011
|
private_key?: string | undefined;
|
|
1109
|
-
public_key: string;
|
|
1110
1012
|
depth: number;
|
|
1111
1013
|
fingerprint: number;
|
|
1112
1014
|
child_num: number;
|
|
1113
1015
|
chain_code: string;
|
|
1016
|
+
public_key: string;
|
|
1114
1017
|
};
|
|
1115
1018
|
}[];
|
|
1116
1019
|
signatures: string[];
|
|
@@ -1126,9 +1029,9 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
1126
1029
|
witness?: string | undefined;
|
|
1127
1030
|
ownership_proof?: string | undefined;
|
|
1128
1031
|
commitment_data?: string | undefined;
|
|
1129
|
-
amount: string | number;
|
|
1130
1032
|
prev_hash: string;
|
|
1131
1033
|
prev_index: number;
|
|
1034
|
+
amount: string | number;
|
|
1132
1035
|
} & {
|
|
1133
1036
|
address_n?: undefined;
|
|
1134
1037
|
script_pubkey: string;
|
|
@@ -1145,22 +1048,22 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
1145
1048
|
address_n?: number[] | undefined;
|
|
1146
1049
|
nodes?: {
|
|
1147
1050
|
private_key?: string | undefined;
|
|
1148
|
-
public_key: string;
|
|
1149
1051
|
depth: number;
|
|
1150
1052
|
fingerprint: number;
|
|
1151
1053
|
child_num: number;
|
|
1152
1054
|
chain_code: string;
|
|
1055
|
+
public_key: string;
|
|
1153
1056
|
}[] | undefined;
|
|
1154
1057
|
pubkeys_order?: Messages.MultisigPubkeysOrder | undefined;
|
|
1155
1058
|
pubkeys: {
|
|
1156
1059
|
address_n: number[];
|
|
1157
1060
|
node: string | {
|
|
1158
1061
|
private_key?: string | undefined;
|
|
1159
|
-
public_key: string;
|
|
1160
1062
|
depth: number;
|
|
1161
1063
|
fingerprint: number;
|
|
1162
1064
|
child_num: number;
|
|
1163
1065
|
chain_code: string;
|
|
1066
|
+
public_key: string;
|
|
1164
1067
|
};
|
|
1165
1068
|
}[];
|
|
1166
1069
|
signatures: string[];
|
|
@@ -1178,22 +1081,22 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
1178
1081
|
address_n?: number[] | undefined;
|
|
1179
1082
|
nodes?: {
|
|
1180
1083
|
private_key?: string | undefined;
|
|
1181
|
-
public_key: string;
|
|
1182
1084
|
depth: number;
|
|
1183
1085
|
fingerprint: number;
|
|
1184
1086
|
child_num: number;
|
|
1185
1087
|
chain_code: string;
|
|
1088
|
+
public_key: string;
|
|
1186
1089
|
}[] | undefined;
|
|
1187
1090
|
pubkeys_order?: Messages.MultisigPubkeysOrder | undefined;
|
|
1188
1091
|
pubkeys: {
|
|
1189
1092
|
address_n: number[];
|
|
1190
1093
|
node: string | {
|
|
1191
1094
|
private_key?: string | undefined;
|
|
1192
|
-
public_key: string;
|
|
1193
1095
|
depth: number;
|
|
1194
1096
|
fingerprint: number;
|
|
1195
1097
|
child_num: number;
|
|
1196
1098
|
chain_code: string;
|
|
1099
|
+
public_key: string;
|
|
1197
1100
|
};
|
|
1198
1101
|
}[];
|
|
1199
1102
|
signatures: string[];
|
|
@@ -1211,22 +1114,22 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
1211
1114
|
address_n?: number[] | undefined;
|
|
1212
1115
|
nodes?: {
|
|
1213
1116
|
private_key?: string | undefined;
|
|
1214
|
-
public_key: string;
|
|
1215
1117
|
depth: number;
|
|
1216
1118
|
fingerprint: number;
|
|
1217
1119
|
child_num: number;
|
|
1218
1120
|
chain_code: string;
|
|
1121
|
+
public_key: string;
|
|
1219
1122
|
}[] | undefined;
|
|
1220
1123
|
pubkeys_order?: Messages.MultisigPubkeysOrder | undefined;
|
|
1221
1124
|
pubkeys: {
|
|
1222
1125
|
address_n: number[];
|
|
1223
1126
|
node: string | {
|
|
1224
1127
|
private_key?: string | undefined;
|
|
1225
|
-
public_key: string;
|
|
1226
1128
|
depth: number;
|
|
1227
1129
|
fingerprint: number;
|
|
1228
1130
|
child_num: number;
|
|
1229
1131
|
chain_code: string;
|
|
1132
|
+
public_key: string;
|
|
1230
1133
|
};
|
|
1231
1134
|
}[];
|
|
1232
1135
|
signatures: string[];
|
|
@@ -1259,22 +1162,22 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
1259
1162
|
address_n?: number[] | undefined;
|
|
1260
1163
|
nodes?: {
|
|
1261
1164
|
private_key?: string | undefined;
|
|
1262
|
-
public_key: string;
|
|
1263
1165
|
depth: number;
|
|
1264
1166
|
fingerprint: number;
|
|
1265
1167
|
child_num: number;
|
|
1266
1168
|
chain_code: string;
|
|
1169
|
+
public_key: string;
|
|
1267
1170
|
}[] | undefined;
|
|
1268
1171
|
pubkeys_order?: Messages.MultisigPubkeysOrder | undefined;
|
|
1269
1172
|
pubkeys: {
|
|
1270
1173
|
address_n: number[];
|
|
1271
1174
|
node: string | {
|
|
1272
1175
|
private_key?: string | undefined;
|
|
1273
|
-
public_key: string;
|
|
1274
1176
|
depth: number;
|
|
1275
1177
|
fingerprint: number;
|
|
1276
1178
|
child_num: number;
|
|
1277
1179
|
chain_code: string;
|
|
1180
|
+
public_key: string;
|
|
1278
1181
|
};
|
|
1279
1182
|
}[];
|
|
1280
1183
|
signatures: string[];
|
|
@@ -1292,22 +1195,22 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
1292
1195
|
address_n?: number[] | undefined;
|
|
1293
1196
|
nodes?: {
|
|
1294
1197
|
private_key?: string | undefined;
|
|
1295
|
-
public_key: string;
|
|
1296
1198
|
depth: number;
|
|
1297
1199
|
fingerprint: number;
|
|
1298
1200
|
child_num: number;
|
|
1299
1201
|
chain_code: string;
|
|
1202
|
+
public_key: string;
|
|
1300
1203
|
}[] | undefined;
|
|
1301
1204
|
pubkeys_order?: Messages.MultisigPubkeysOrder | undefined;
|
|
1302
1205
|
pubkeys: {
|
|
1303
1206
|
address_n: number[];
|
|
1304
1207
|
node: string | {
|
|
1305
1208
|
private_key?: string | undefined;
|
|
1306
|
-
public_key: string;
|
|
1307
1209
|
depth: number;
|
|
1308
1210
|
fingerprint: number;
|
|
1309
1211
|
child_num: number;
|
|
1310
1212
|
chain_code: string;
|
|
1213
|
+
public_key: string;
|
|
1311
1214
|
};
|
|
1312
1215
|
}[];
|
|
1313
1216
|
signatures: string[];
|
|
@@ -1325,22 +1228,22 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
1325
1228
|
address_n?: number[] | undefined;
|
|
1326
1229
|
nodes?: {
|
|
1327
1230
|
private_key?: string | undefined;
|
|
1328
|
-
public_key: string;
|
|
1329
1231
|
depth: number;
|
|
1330
1232
|
fingerprint: number;
|
|
1331
1233
|
child_num: number;
|
|
1332
1234
|
chain_code: string;
|
|
1235
|
+
public_key: string;
|
|
1333
1236
|
}[] | undefined;
|
|
1334
1237
|
pubkeys_order?: Messages.MultisigPubkeysOrder | undefined;
|
|
1335
1238
|
pubkeys: {
|
|
1336
1239
|
address_n: number[];
|
|
1337
1240
|
node: string | {
|
|
1338
1241
|
private_key?: string | undefined;
|
|
1339
|
-
public_key: string;
|
|
1340
1242
|
depth: number;
|
|
1341
1243
|
fingerprint: number;
|
|
1342
1244
|
child_num: number;
|
|
1343
1245
|
chain_code: string;
|
|
1246
|
+
public_key: string;
|
|
1344
1247
|
};
|
|
1345
1248
|
}[];
|
|
1346
1249
|
signatures: string[];
|
|
@@ -1384,9 +1287,9 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
1384
1287
|
message: {
|
|
1385
1288
|
input: {
|
|
1386
1289
|
decred_tree?: number | undefined;
|
|
1387
|
-
sequence: number;
|
|
1388
1290
|
prev_hash: string;
|
|
1389
1291
|
prev_index: number;
|
|
1292
|
+
sequence: number;
|
|
1390
1293
|
script_sig: string;
|
|
1391
1294
|
};
|
|
1392
1295
|
};
|
|
@@ -1396,9 +1299,9 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
1396
1299
|
tx: {
|
|
1397
1300
|
input: {
|
|
1398
1301
|
decred_tree?: number | undefined;
|
|
1399
|
-
sequence: number;
|
|
1400
1302
|
prev_hash: string;
|
|
1401
1303
|
prev_index: number;
|
|
1304
|
+
sequence: number;
|
|
1402
1305
|
script_sig: string;
|
|
1403
1306
|
};
|
|
1404
1307
|
};
|
|
@@ -1442,22 +1345,22 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
1442
1345
|
address_n?: number[] | undefined;
|
|
1443
1346
|
nodes?: {
|
|
1444
1347
|
private_key?: string | undefined;
|
|
1445
|
-
public_key: string;
|
|
1446
1348
|
depth: number;
|
|
1447
1349
|
fingerprint: number;
|
|
1448
1350
|
child_num: number;
|
|
1449
1351
|
chain_code: string;
|
|
1352
|
+
public_key: string;
|
|
1450
1353
|
}[] | undefined;
|
|
1451
1354
|
pubkeys_order?: Messages.MultisigPubkeysOrder | undefined;
|
|
1452
1355
|
pubkeys: {
|
|
1453
1356
|
address_n: number[];
|
|
1454
1357
|
node: string | {
|
|
1455
1358
|
private_key?: string | undefined;
|
|
1456
|
-
public_key: string;
|
|
1457
1359
|
depth: number;
|
|
1458
1360
|
fingerprint: number;
|
|
1459
1361
|
child_num: number;
|
|
1460
1362
|
chain_code: string;
|
|
1363
|
+
public_key: string;
|
|
1461
1364
|
};
|
|
1462
1365
|
}[];
|
|
1463
1366
|
signatures: string[];
|
|
@@ -1607,11 +1510,11 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
1607
1510
|
message: {
|
|
1608
1511
|
node: {
|
|
1609
1512
|
private_key?: string | undefined;
|
|
1610
|
-
public_key: string;
|
|
1611
1513
|
depth: number;
|
|
1612
1514
|
fingerprint: number;
|
|
1613
1515
|
child_num: number;
|
|
1614
1516
|
chain_code: string;
|
|
1517
|
+
public_key: string;
|
|
1615
1518
|
};
|
|
1616
1519
|
xpub: string;
|
|
1617
1520
|
};
|
|
@@ -1906,7 +1809,7 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
1906
1809
|
} | {
|
|
1907
1810
|
type: "Failure";
|
|
1908
1811
|
message: {
|
|
1909
|
-
code?: "Failure_ActionCancelled" | "Failure_FirmwareError" | "Failure_PinCancelled" | "Failure_PinInvalid" | "Failure_PinMismatch" | "Failure_WipeCodeMismatch" | "Failure_UnexpectedMessage" | "Failure_ButtonExpected" | "Failure_DataError" | "Failure_PinExpected" | "Failure_InvalidSignature" | "Failure_ProcessError" | "Failure_NotEnoughFunds" | "Failure_NotInitialized" | "Failure_InvalidSession" | undefined;
|
|
1812
|
+
code?: "Failure_ActionCancelled" | "Failure_FirmwareError" | "Failure_PinCancelled" | "Failure_PinInvalid" | "Failure_PinMismatch" | "Failure_WipeCodeMismatch" | "Failure_UnexpectedMessage" | "Failure_ButtonExpected" | "Failure_DataError" | "Failure_PinExpected" | "Failure_InvalidSignature" | "Failure_ProcessError" | "Failure_NotEnoughFunds" | "Failure_NotInitialized" | "Failure_InvalidSession" | "Failure_Busy" | undefined;
|
|
1910
1813
|
message?: string | undefined;
|
|
1911
1814
|
};
|
|
1912
1815
|
} | {
|
|
@@ -1982,8 +1885,8 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
1982
1885
|
type: "SignedIdentity";
|
|
1983
1886
|
message: {
|
|
1984
1887
|
address: string;
|
|
1985
|
-
signature: string;
|
|
1986
1888
|
public_key: string;
|
|
1889
|
+
signature: string;
|
|
1987
1890
|
};
|
|
1988
1891
|
} | {
|
|
1989
1892
|
type: "GetECDHSessionKey";
|
|
@@ -2011,6 +1914,30 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
2011
1914
|
} | {
|
|
2012
1915
|
type: "DebugLinkOptigaSetSecMax";
|
|
2013
1916
|
message: {};
|
|
1917
|
+
} | {
|
|
1918
|
+
type: "EthereumNetworkInfo";
|
|
1919
|
+
message: {
|
|
1920
|
+
symbol: string;
|
|
1921
|
+
name: string;
|
|
1922
|
+
slip44: number;
|
|
1923
|
+
chain_id: number;
|
|
1924
|
+
};
|
|
1925
|
+
} | {
|
|
1926
|
+
type: "EthereumTokenInfo";
|
|
1927
|
+
message: {
|
|
1928
|
+
symbol: string;
|
|
1929
|
+
address: string;
|
|
1930
|
+
name: string;
|
|
1931
|
+
decimals: number;
|
|
1932
|
+
chain_id: number;
|
|
1933
|
+
};
|
|
1934
|
+
} | {
|
|
1935
|
+
type: "SolanaTokenInfo";
|
|
1936
|
+
message: {
|
|
1937
|
+
symbol: string;
|
|
1938
|
+
name: string;
|
|
1939
|
+
mint: string;
|
|
1940
|
+
};
|
|
2014
1941
|
} | {
|
|
2015
1942
|
type: "EosGetPublicKey";
|
|
2016
1943
|
message: {
|
|
@@ -2039,7 +1966,6 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
2039
1966
|
message: {
|
|
2040
1967
|
chunkify?: boolean | undefined;
|
|
2041
1968
|
address_n: number[];
|
|
2042
|
-
chain_id: string;
|
|
2043
1969
|
header: {
|
|
2044
1970
|
expiration: number;
|
|
2045
1971
|
ref_block_num: number;
|
|
@@ -2048,6 +1974,7 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
2048
1974
|
max_cpu_usage_ms: number;
|
|
2049
1975
|
delay_sec: number;
|
|
2050
1976
|
};
|
|
1977
|
+
chain_id: string;
|
|
2051
1978
|
num_actions: number;
|
|
2052
1979
|
};
|
|
2053
1980
|
} | {
|
|
@@ -2125,20 +2052,20 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
2125
2052
|
} | {
|
|
2126
2053
|
type: "EosActionTransfer";
|
|
2127
2054
|
message: {
|
|
2128
|
-
memo: string;
|
|
2129
2055
|
quantity: {
|
|
2130
2056
|
symbol: string;
|
|
2131
2057
|
amount: string | number;
|
|
2132
2058
|
};
|
|
2133
|
-
|
|
2059
|
+
memo: string;
|
|
2134
2060
|
receiver: string;
|
|
2061
|
+
sender: string;
|
|
2135
2062
|
};
|
|
2136
2063
|
} | {
|
|
2137
2064
|
type: "EosActionDelegate";
|
|
2138
2065
|
message: {
|
|
2139
2066
|
transfer: boolean;
|
|
2140
|
-
sender: string;
|
|
2141
2067
|
receiver: string;
|
|
2068
|
+
sender: string;
|
|
2142
2069
|
net_quantity: {
|
|
2143
2070
|
symbol: string;
|
|
2144
2071
|
amount: string | number;
|
|
@@ -2151,8 +2078,8 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
2151
2078
|
} | {
|
|
2152
2079
|
type: "EosActionUndelegate";
|
|
2153
2080
|
message: {
|
|
2154
|
-
sender: string;
|
|
2155
2081
|
receiver: string;
|
|
2082
|
+
sender: string;
|
|
2156
2083
|
net_quantity: {
|
|
2157
2084
|
symbol: string;
|
|
2158
2085
|
amount: string | number;
|
|
@@ -2305,21 +2232,21 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
2305
2232
|
data_chunk: string;
|
|
2306
2233
|
} | undefined;
|
|
2307
2234
|
transfer?: {
|
|
2308
|
-
memo: string;
|
|
2309
2235
|
quantity: {
|
|
2310
2236
|
symbol: string;
|
|
2311
2237
|
amount: string | number;
|
|
2312
2238
|
};
|
|
2313
|
-
|
|
2239
|
+
memo: string;
|
|
2314
2240
|
receiver: string;
|
|
2241
|
+
sender: string;
|
|
2315
2242
|
} | undefined;
|
|
2316
2243
|
refund?: {
|
|
2317
2244
|
owner: string;
|
|
2318
2245
|
} | undefined;
|
|
2319
2246
|
delegate?: {
|
|
2320
2247
|
transfer: boolean;
|
|
2321
|
-
sender: string;
|
|
2322
2248
|
receiver: string;
|
|
2249
|
+
sender: string;
|
|
2323
2250
|
net_quantity: {
|
|
2324
2251
|
symbol: string;
|
|
2325
2252
|
amount: string | number;
|
|
@@ -2330,8 +2257,8 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
2330
2257
|
};
|
|
2331
2258
|
} | undefined;
|
|
2332
2259
|
undelegate?: {
|
|
2333
|
-
sender: string;
|
|
2334
2260
|
receiver: string;
|
|
2261
|
+
sender: string;
|
|
2335
2262
|
net_quantity: {
|
|
2336
2263
|
symbol: string;
|
|
2337
2264
|
amount: string | number;
|
|
@@ -2461,23 +2388,6 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
2461
2388
|
message: {
|
|
2462
2389
|
signature: string;
|
|
2463
2390
|
};
|
|
2464
|
-
} | {
|
|
2465
|
-
type: "EthereumNetworkInfo";
|
|
2466
|
-
message: {
|
|
2467
|
-
symbol: string;
|
|
2468
|
-
chain_id: number;
|
|
2469
|
-
name: string;
|
|
2470
|
-
slip44: number;
|
|
2471
|
-
};
|
|
2472
|
-
} | {
|
|
2473
|
-
type: "EthereumTokenInfo";
|
|
2474
|
-
message: {
|
|
2475
|
-
symbol: string;
|
|
2476
|
-
address: string;
|
|
2477
|
-
chain_id: number;
|
|
2478
|
-
name: string;
|
|
2479
|
-
decimals: number;
|
|
2480
|
-
};
|
|
2481
2391
|
} | {
|
|
2482
2392
|
type: "EthereumDefinitions";
|
|
2483
2393
|
message: {
|
|
@@ -2553,11 +2463,11 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
2553
2463
|
message: {
|
|
2554
2464
|
node: {
|
|
2555
2465
|
private_key?: string | undefined;
|
|
2556
|
-
public_key: string;
|
|
2557
2466
|
depth: number;
|
|
2558
2467
|
fingerprint: number;
|
|
2559
2468
|
child_num: number;
|
|
2560
2469
|
chain_code: string;
|
|
2470
|
+
public_key: string;
|
|
2561
2471
|
};
|
|
2562
2472
|
xpub: string;
|
|
2563
2473
|
};
|
|
@@ -2590,8 +2500,8 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
2590
2500
|
data_length?: number | undefined;
|
|
2591
2501
|
tx_type?: number | undefined;
|
|
2592
2502
|
address_n: number[];
|
|
2593
|
-
chain_id: number;
|
|
2594
2503
|
gas_limit: string;
|
|
2504
|
+
chain_id: number;
|
|
2595
2505
|
gas_price: string;
|
|
2596
2506
|
};
|
|
2597
2507
|
} | {
|
|
@@ -2611,10 +2521,10 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
2611
2521
|
} | undefined;
|
|
2612
2522
|
data_initial_chunk?: string | undefined;
|
|
2613
2523
|
address_n: number[];
|
|
2614
|
-
chain_id: number;
|
|
2615
2524
|
nonce: string;
|
|
2616
2525
|
value: string;
|
|
2617
2526
|
gas_limit: string;
|
|
2527
|
+
chain_id: number;
|
|
2618
2528
|
data_length: number;
|
|
2619
2529
|
max_gas_fee: string;
|
|
2620
2530
|
max_priority_fee: string;
|
|
@@ -2796,8 +2706,8 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
2796
2706
|
} | {
|
|
2797
2707
|
type: "AuthenticityProof";
|
|
2798
2708
|
message: {
|
|
2799
|
-
signature: string;
|
|
2800
2709
|
certificates: string[];
|
|
2710
|
+
signature: string;
|
|
2801
2711
|
};
|
|
2802
2712
|
} | {
|
|
2803
2713
|
type: "WipeDevice";
|
|
@@ -2965,8 +2875,8 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
2965
2875
|
} | {
|
|
2966
2876
|
type: "NEMTransfer";
|
|
2967
2877
|
message: {
|
|
2968
|
-
public_key?: string | undefined;
|
|
2969
2878
|
payload?: string | undefined;
|
|
2879
|
+
public_key?: string | undefined;
|
|
2970
2880
|
mosaics?: {
|
|
2971
2881
|
quantity: number;
|
|
2972
2882
|
namespace: string;
|
|
@@ -3058,9 +2968,17 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
3058
2968
|
type: "NEMSignTx";
|
|
3059
2969
|
message: {
|
|
3060
2970
|
chunkify?: boolean | undefined;
|
|
2971
|
+
multisig?: {
|
|
2972
|
+
address_n?: number[] | undefined;
|
|
2973
|
+
network?: number | undefined;
|
|
2974
|
+
signer?: string | undefined;
|
|
2975
|
+
timestamp: number;
|
|
2976
|
+
fee: string | number;
|
|
2977
|
+
deadline: number;
|
|
2978
|
+
} | undefined;
|
|
3061
2979
|
transfer?: {
|
|
3062
|
-
public_key?: string | undefined;
|
|
3063
2980
|
payload?: string | undefined;
|
|
2981
|
+
public_key?: string | undefined;
|
|
3064
2982
|
mosaics?: {
|
|
3065
2983
|
quantity: number;
|
|
3066
2984
|
namespace: string;
|
|
@@ -3069,14 +2987,6 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
3069
2987
|
amount: string | number;
|
|
3070
2988
|
recipient: string;
|
|
3071
2989
|
} | undefined;
|
|
3072
|
-
multisig?: {
|
|
3073
|
-
address_n?: number[] | undefined;
|
|
3074
|
-
network?: number | undefined;
|
|
3075
|
-
signer?: string | undefined;
|
|
3076
|
-
timestamp: number;
|
|
3077
|
-
fee: string | number;
|
|
3078
|
-
deadline: number;
|
|
3079
|
-
} | undefined;
|
|
3080
2990
|
cosigning?: boolean | undefined;
|
|
3081
2991
|
provision_namespace?: {
|
|
3082
2992
|
parent?: string | undefined;
|
|
@@ -3140,9 +3050,9 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
3140
3050
|
} | {
|
|
3141
3051
|
type: "NEMDecryptMessage";
|
|
3142
3052
|
message: {
|
|
3143
|
-
public_key?: string | undefined;
|
|
3144
3053
|
payload?: string | undefined;
|
|
3145
3054
|
network?: number | undefined;
|
|
3055
|
+
public_key?: string | undefined;
|
|
3146
3056
|
address_n: number[];
|
|
3147
3057
|
};
|
|
3148
3058
|
} | {
|
|
@@ -3176,13 +3086,13 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
3176
3086
|
chunkify?: boolean | undefined;
|
|
3177
3087
|
last_ledger_sequence?: number | undefined;
|
|
3178
3088
|
address_n: number[];
|
|
3179
|
-
sequence: number;
|
|
3180
3089
|
fee: string | number;
|
|
3181
3090
|
payment: {
|
|
3182
3091
|
destination_tag?: number | undefined;
|
|
3183
3092
|
amount: string | number;
|
|
3184
3093
|
destination: string;
|
|
3185
3094
|
};
|
|
3095
|
+
sequence: number;
|
|
3186
3096
|
};
|
|
3187
3097
|
} | {
|
|
3188
3098
|
type: "RippleSignedTx";
|
|
@@ -3224,6 +3134,7 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
3224
3134
|
} | {
|
|
3225
3135
|
type: "SolanaTxAdditionalInfo";
|
|
3226
3136
|
message: {
|
|
3137
|
+
encoded_token?: ArrayBuffer | undefined;
|
|
3227
3138
|
token_accounts_infos: {
|
|
3228
3139
|
base_address: string;
|
|
3229
3140
|
token_program: string;
|
|
@@ -3235,6 +3146,7 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
3235
3146
|
type: "SolanaSignTx";
|
|
3236
3147
|
message: {
|
|
3237
3148
|
additional_info?: {
|
|
3149
|
+
encoded_token?: ArrayBuffer | undefined;
|
|
3238
3150
|
token_accounts_infos: {
|
|
3239
3151
|
base_address: string;
|
|
3240
3152
|
token_program: string;
|
|
@@ -3473,8 +3385,8 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
3473
3385
|
} | {
|
|
3474
3386
|
type: "StellarSignedTx";
|
|
3475
3387
|
message: {
|
|
3476
|
-
signature: string;
|
|
3477
3388
|
public_key: string;
|
|
3389
|
+
signature: string;
|
|
3478
3390
|
};
|
|
3479
3391
|
} | {
|
|
3480
3392
|
type: "TezosGetAddress";
|
|
@@ -3509,9 +3421,9 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
3509
3421
|
} | {
|
|
3510
3422
|
type: "TezosRevealOp";
|
|
3511
3423
|
message: {
|
|
3512
|
-
source: Uint8Array<ArrayBufferLike>;
|
|
3513
|
-
public_key: Uint8Array<ArrayBufferLike>;
|
|
3514
3424
|
fee: string | number;
|
|
3425
|
+
public_key: Uint8Array<ArrayBufferLike>;
|
|
3426
|
+
source: Uint8Array<ArrayBufferLike>;
|
|
3515
3427
|
counter: number;
|
|
3516
3428
|
gas_limit: number;
|
|
3517
3429
|
storage_limit: number;
|
|
@@ -3553,13 +3465,13 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
3553
3465
|
set_delegate?: Uint8Array<ArrayBufferLike> | undefined;
|
|
3554
3466
|
cancel_delegate?: boolean | undefined;
|
|
3555
3467
|
} | undefined;
|
|
3556
|
-
source: Uint8Array<ArrayBufferLike>;
|
|
3557
|
-
amount: string | number;
|
|
3558
3468
|
fee: string | number;
|
|
3469
|
+
amount: string | number;
|
|
3559
3470
|
destination: {
|
|
3560
3471
|
hash: Uint8Array<ArrayBufferLike>;
|
|
3561
3472
|
tag: number;
|
|
3562
3473
|
};
|
|
3474
|
+
source: Uint8Array<ArrayBufferLike>;
|
|
3563
3475
|
counter: number;
|
|
3564
3476
|
gas_limit: number;
|
|
3565
3477
|
storage_limit: number;
|
|
@@ -3571,10 +3483,10 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
3571
3483
|
manager_pubkey?: string | undefined;
|
|
3572
3484
|
spendable?: boolean | undefined;
|
|
3573
3485
|
delegatable?: boolean | undefined;
|
|
3574
|
-
source: Uint8Array<ArrayBufferLike>;
|
|
3575
3486
|
fee: string | number;
|
|
3576
3487
|
script: string | number[];
|
|
3577
3488
|
balance: number;
|
|
3489
|
+
source: Uint8Array<ArrayBufferLike>;
|
|
3578
3490
|
counter: number;
|
|
3579
3491
|
gas_limit: number;
|
|
3580
3492
|
storage_limit: number;
|
|
@@ -3582,8 +3494,8 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
3582
3494
|
} | {
|
|
3583
3495
|
type: "TezosDelegationOp";
|
|
3584
3496
|
message: {
|
|
3585
|
-
source: Uint8Array<ArrayBufferLike>;
|
|
3586
3497
|
fee: string | number;
|
|
3498
|
+
source: Uint8Array<ArrayBufferLike>;
|
|
3587
3499
|
counter: number;
|
|
3588
3500
|
gas_limit: number;
|
|
3589
3501
|
storage_limit: number;
|
|
@@ -3621,21 +3533,21 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
3621
3533
|
set_delegate?: Uint8Array<ArrayBufferLike> | undefined;
|
|
3622
3534
|
cancel_delegate?: boolean | undefined;
|
|
3623
3535
|
} | undefined;
|
|
3624
|
-
source: Uint8Array<ArrayBufferLike>;
|
|
3625
|
-
amount: string | number;
|
|
3626
3536
|
fee: string | number;
|
|
3537
|
+
amount: string | number;
|
|
3627
3538
|
destination: {
|
|
3628
3539
|
hash: Uint8Array<ArrayBufferLike>;
|
|
3629
3540
|
tag: number;
|
|
3630
3541
|
};
|
|
3542
|
+
source: Uint8Array<ArrayBufferLike>;
|
|
3631
3543
|
counter: number;
|
|
3632
3544
|
gas_limit: number;
|
|
3633
3545
|
storage_limit: number;
|
|
3634
3546
|
} | undefined;
|
|
3635
3547
|
reveal?: {
|
|
3636
|
-
source: Uint8Array<ArrayBufferLike>;
|
|
3637
|
-
public_key: Uint8Array<ArrayBufferLike>;
|
|
3638
3548
|
fee: string | number;
|
|
3549
|
+
public_key: Uint8Array<ArrayBufferLike>;
|
|
3550
|
+
source: Uint8Array<ArrayBufferLike>;
|
|
3639
3551
|
counter: number;
|
|
3640
3552
|
gas_limit: number;
|
|
3641
3553
|
storage_limit: number;
|
|
@@ -3645,17 +3557,17 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
3645
3557
|
manager_pubkey?: string | undefined;
|
|
3646
3558
|
spendable?: boolean | undefined;
|
|
3647
3559
|
delegatable?: boolean | undefined;
|
|
3648
|
-
source: Uint8Array<ArrayBufferLike>;
|
|
3649
3560
|
fee: string | number;
|
|
3650
3561
|
script: string | number[];
|
|
3651
3562
|
balance: number;
|
|
3563
|
+
source: Uint8Array<ArrayBufferLike>;
|
|
3652
3564
|
counter: number;
|
|
3653
3565
|
gas_limit: number;
|
|
3654
3566
|
storage_limit: number;
|
|
3655
3567
|
} | undefined;
|
|
3656
3568
|
delegation?: {
|
|
3657
|
-
source: Uint8Array<ArrayBufferLike>;
|
|
3658
3569
|
fee: string | number;
|
|
3570
|
+
source: Uint8Array<ArrayBufferLike>;
|
|
3659
3571
|
counter: number;
|
|
3660
3572
|
gas_limit: number;
|
|
3661
3573
|
storage_limit: number;
|
|
@@ -3692,15 +3604,6 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
3692
3604
|
} | {
|
|
3693
3605
|
success: true;
|
|
3694
3606
|
payload: {
|
|
3695
|
-
type: "BinanceTransferMsg";
|
|
3696
|
-
message: import("@trezor/protobuf/lib/messages").BinanceTransferMsg;
|
|
3697
|
-
} | {
|
|
3698
|
-
type: "BinanceOrderMsg";
|
|
3699
|
-
message: import("@trezor/protobuf/lib/messages").BinanceOrderMsg;
|
|
3700
|
-
} | {
|
|
3701
|
-
type: "BinanceCancelMsg";
|
|
3702
|
-
message: import("@trezor/protobuf/lib/messages").BinanceCancelMsg;
|
|
3703
|
-
} | {
|
|
3704
3607
|
type: "PassphraseAck";
|
|
3705
3608
|
message: import("@trezor/protobuf/lib/messages").PassphraseAck;
|
|
3706
3609
|
} | {
|
|
@@ -3715,33 +3618,6 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
3715
3618
|
} | {
|
|
3716
3619
|
type: "Features";
|
|
3717
3620
|
message: import("@trezor/protobuf/lib/messages").Features;
|
|
3718
|
-
} | {
|
|
3719
|
-
type: "BinanceGetAddress";
|
|
3720
|
-
message: import("@trezor/protobuf/lib/messages").BinanceGetAddress;
|
|
3721
|
-
} | {
|
|
3722
|
-
type: "BinanceAddress";
|
|
3723
|
-
message: import("@trezor/protobuf/lib/messages").BinanceAddress;
|
|
3724
|
-
} | {
|
|
3725
|
-
type: "BinanceGetPublicKey";
|
|
3726
|
-
message: import("@trezor/protobuf/lib/messages").BinanceGetPublicKey;
|
|
3727
|
-
} | {
|
|
3728
|
-
type: "BinancePublicKey";
|
|
3729
|
-
message: import("@trezor/protobuf/lib/messages").BinancePublicKey;
|
|
3730
|
-
} | {
|
|
3731
|
-
type: "BinanceSignTx";
|
|
3732
|
-
message: import("@trezor/protobuf/lib/messages").BinanceSignTx;
|
|
3733
|
-
} | {
|
|
3734
|
-
type: "BinanceTxRequest";
|
|
3735
|
-
message: import("@trezor/protobuf/lib/messages").BinanceTxRequest;
|
|
3736
|
-
} | {
|
|
3737
|
-
type: "BinanceCoin";
|
|
3738
|
-
message: import("@trezor/protobuf/lib/messages").BinanceCoin;
|
|
3739
|
-
} | {
|
|
3740
|
-
type: "BinanceInputOutput";
|
|
3741
|
-
message: import("@trezor/protobuf/lib/messages").BinanceInputOutput;
|
|
3742
|
-
} | {
|
|
3743
|
-
type: "BinanceSignedTx";
|
|
3744
|
-
message: import("@trezor/protobuf/lib/messages").BinanceSignedTx;
|
|
3745
3621
|
} | {
|
|
3746
3622
|
type: "HDNodeType";
|
|
3747
3623
|
message: import("@trezor/protobuf/lib/messages").HDNodeType;
|
|
@@ -4042,6 +3918,15 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
4042
3918
|
} | {
|
|
4043
3919
|
type: "DebugLinkOptigaSetSecMax";
|
|
4044
3920
|
message: import("@trezor/protobuf/lib/messages").DebugLinkOptigaSetSecMax;
|
|
3921
|
+
} | {
|
|
3922
|
+
type: "EthereumNetworkInfo";
|
|
3923
|
+
message: import("@trezor/protobuf/lib/messages").EthereumNetworkInfo;
|
|
3924
|
+
} | {
|
|
3925
|
+
type: "EthereumTokenInfo";
|
|
3926
|
+
message: import("@trezor/protobuf/lib/messages").EthereumTokenInfo;
|
|
3927
|
+
} | {
|
|
3928
|
+
type: "SolanaTokenInfo";
|
|
3929
|
+
message: import("@trezor/protobuf/lib/messages").SolanaTokenInfo;
|
|
4045
3930
|
} | {
|
|
4046
3931
|
type: "EosGetPublicKey";
|
|
4047
3932
|
message: import("@trezor/protobuf/lib/messages").EosGetPublicKey;
|
|
@@ -4126,12 +4011,6 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
4126
4011
|
} | {
|
|
4127
4012
|
type: "EosSignedTx";
|
|
4128
4013
|
message: import("@trezor/protobuf/lib/messages").EosSignedTx;
|
|
4129
|
-
} | {
|
|
4130
|
-
type: "EthereumNetworkInfo";
|
|
4131
|
-
message: import("@trezor/protobuf/lib/messages").EthereumNetworkInfo;
|
|
4132
|
-
} | {
|
|
4133
|
-
type: "EthereumTokenInfo";
|
|
4134
|
-
message: import("@trezor/protobuf/lib/messages").EthereumTokenInfo;
|
|
4135
4014
|
} | {
|
|
4136
4015
|
type: "EthereumDefinitions";
|
|
4137
4016
|
message: import("@trezor/protobuf/lib/messages").EthereumDefinitions;
|
|
@@ -4533,7 +4412,7 @@ export declare class DeviceCurrentSession implements TypedCallProvider {
|
|
|
4533
4412
|
message: import("@trezor/protobuf/lib/messages").TezosSignedTx;
|
|
4534
4413
|
} | undefined;
|
|
4535
4414
|
}>;
|
|
4536
|
-
abort(reason: Error): Promise<void>;
|
|
4415
|
+
abort(reason: Error, dispose?: boolean): Promise<void>;
|
|
4537
4416
|
dispose(): Promise<void>;
|
|
4538
4417
|
}
|
|
4539
4418
|
//# sourceMappingURL=DeviceCurrentSession.d.ts.map
|