@onekeyfe/hd-transport 0.1.41 → 0.1.44
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/dist/index.d.ts +624 -297
- package/dist/index.js +32 -18
- package/dist/serialization/protobuf/decode.d.ts +1 -1
- package/dist/serialization/protobuf/decode.d.ts.map +1 -1
- package/dist/serialization/protobuf/encode.d.ts +2 -1
- package/dist/serialization/protobuf/encode.d.ts.map +1 -1
- package/dist/serialization/protocol/decode.d.ts +3 -3
- package/dist/serialization/protocol/decode.d.ts.map +1 -1
- package/dist/serialization/protocol/encode.d.ts +1 -0
- package/dist/serialization/protocol/encode.d.ts.map +1 -1
- package/dist/serialization/send.d.ts +2 -1
- package/dist/serialization/send.d.ts.map +1 -1
- package/dist/types/messages.d.ts +488 -249
- package/dist/types/messages.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/serialization/protobuf/decode.ts +1 -1
- package/src/serialization/protobuf/encode.ts +1 -1
- package/src/serialization/protocol/decode.ts +1 -1
- package/src/serialization/protocol/encode.ts +1 -1
- package/src/serialization/receive.ts +1 -1
- package/src/serialization/send.ts +1 -1
- package/src/types/messages.ts +599 -272
- package/dist/utils/index.d.ts +0 -3
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/namespace.d.ts +0 -2
- package/dist/utils/namespace.d.ts.map +0 -1
- package/src/utils/index.ts +0 -6
- package/src/utils/namespace.ts +0 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as ByteBuffer from 'bytebuffer';
|
|
2
|
+
import ByteBuffer__default from 'bytebuffer';
|
|
2
3
|
import * as protobuf from 'protobufjs/light';
|
|
3
4
|
import { Root } from 'protobufjs/light';
|
|
4
5
|
import EventEmitter from 'events';
|
|
5
6
|
|
|
6
|
-
declare const ByteBuffer: any;
|
|
7
|
-
|
|
8
7
|
declare function parseConfigure(data: protobuf.INamespace): protobuf.Root;
|
|
9
8
|
|
|
10
9
|
declare function buildOne(messages: Root, name: string, data: Record<string, unknown>): Buffer;
|
|
@@ -16,14 +15,14 @@ declare function receiveOne(messages: Root, data: string): {
|
|
|
16
15
|
type: string;
|
|
17
16
|
};
|
|
18
17
|
|
|
19
|
-
declare const decode: (byteBuffer:
|
|
18
|
+
declare const decode: (byteBuffer: ByteBuffer__default) => {
|
|
20
19
|
typeId: number;
|
|
21
|
-
buffer:
|
|
20
|
+
buffer: ByteBuffer__default;
|
|
22
21
|
};
|
|
23
22
|
declare const decodeChunked: (bytes: ArrayBuffer) => {
|
|
24
23
|
length: number;
|
|
25
24
|
typeId: number;
|
|
26
|
-
restBuffer:
|
|
25
|
+
restBuffer: ByteBuffer__default;
|
|
27
26
|
};
|
|
28
27
|
|
|
29
28
|
declare const decodeProtocol_decode: typeof decode;
|
|
@@ -80,7 +79,21 @@ declare type Transport = {
|
|
|
80
79
|
};
|
|
81
80
|
|
|
82
81
|
declare type UintType = string | number;
|
|
83
|
-
declare type
|
|
82
|
+
declare type AptosGetAddress = {
|
|
83
|
+
address_n: number[];
|
|
84
|
+
show_display?: boolean;
|
|
85
|
+
};
|
|
86
|
+
declare type AptosAddress = {
|
|
87
|
+
address?: string;
|
|
88
|
+
};
|
|
89
|
+
declare type AptosSignTx = {
|
|
90
|
+
address_n: number[];
|
|
91
|
+
raw_tx: string;
|
|
92
|
+
};
|
|
93
|
+
declare type AptosSignedTx = {
|
|
94
|
+
public_key: string;
|
|
95
|
+
signature: string;
|
|
96
|
+
};
|
|
84
97
|
declare type BinanceGetAddress = {
|
|
85
98
|
address_n: number[];
|
|
86
99
|
show_display?: boolean;
|
|
@@ -97,20 +110,20 @@ declare type BinancePublicKey = {
|
|
|
97
110
|
};
|
|
98
111
|
declare type BinanceSignTx = {
|
|
99
112
|
address_n: number[];
|
|
100
|
-
msg_count
|
|
101
|
-
account_number
|
|
113
|
+
msg_count?: number;
|
|
114
|
+
account_number?: number;
|
|
102
115
|
chain_id?: string;
|
|
103
116
|
memo?: string;
|
|
104
|
-
sequence
|
|
105
|
-
source
|
|
117
|
+
sequence?: number;
|
|
118
|
+
source?: number;
|
|
106
119
|
};
|
|
107
|
-
declare type BinanceTxRequest =
|
|
120
|
+
declare type BinanceTxRequest = {};
|
|
108
121
|
declare type BinanceCoin = {
|
|
109
|
-
amount
|
|
110
|
-
denom
|
|
122
|
+
amount?: UintType;
|
|
123
|
+
denom?: string;
|
|
111
124
|
};
|
|
112
125
|
declare type BinanceInputOutput = {
|
|
113
|
-
address
|
|
126
|
+
address?: string;
|
|
114
127
|
coins: BinanceCoin[];
|
|
115
128
|
};
|
|
116
129
|
declare type BinanceTransferMsg = {
|
|
@@ -136,13 +149,13 @@ declare enum BinanceTimeInForce {
|
|
|
136
149
|
}
|
|
137
150
|
declare type BinanceOrderMsg = {
|
|
138
151
|
id?: string;
|
|
139
|
-
ordertype
|
|
140
|
-
price
|
|
141
|
-
quantity
|
|
152
|
+
ordertype?: BinanceOrderType;
|
|
153
|
+
price?: number;
|
|
154
|
+
quantity?: number;
|
|
142
155
|
sender?: string;
|
|
143
|
-
side
|
|
156
|
+
side?: BinanceOrderSide;
|
|
144
157
|
symbol?: string;
|
|
145
|
-
timeinforce
|
|
158
|
+
timeinforce?: BinanceTimeInForce;
|
|
146
159
|
};
|
|
147
160
|
declare type BinanceCancelMsg = {
|
|
148
161
|
refid?: string;
|
|
@@ -224,7 +237,6 @@ declare type GetAddress = {
|
|
|
224
237
|
};
|
|
225
238
|
declare type Address = {
|
|
226
239
|
address: string;
|
|
227
|
-
mac?: string;
|
|
228
240
|
};
|
|
229
241
|
declare type GetOwnershipId = {
|
|
230
242
|
address_n: number[];
|
|
@@ -273,8 +285,7 @@ declare enum Enum_RequestType {
|
|
|
273
285
|
TXFINISHED = 3,
|
|
274
286
|
TXEXTRADATA = 4,
|
|
275
287
|
TXORIGINPUT = 5,
|
|
276
|
-
TXORIGOUTPUT = 6
|
|
277
|
-
TXPAYMENTREQ = 7
|
|
288
|
+
TXORIGOUTPUT = 6
|
|
278
289
|
}
|
|
279
290
|
declare type RequestType = keyof typeof Enum_RequestType;
|
|
280
291
|
declare type TxRequestDetailsType = {
|
|
@@ -377,31 +388,6 @@ declare type PrevOutput = {
|
|
|
377
388
|
script_pubkey: string;
|
|
378
389
|
decred_script_version?: number;
|
|
379
390
|
};
|
|
380
|
-
declare type TextMemo = {
|
|
381
|
-
text: string;
|
|
382
|
-
};
|
|
383
|
-
declare type RefundMemo = {
|
|
384
|
-
address: string;
|
|
385
|
-
mac: string;
|
|
386
|
-
};
|
|
387
|
-
declare type CoinPurchaseMemo = {
|
|
388
|
-
coin_type: number;
|
|
389
|
-
amount: UintType;
|
|
390
|
-
address: string;
|
|
391
|
-
mac: string;
|
|
392
|
-
};
|
|
393
|
-
declare type PaymentRequestMemo = {
|
|
394
|
-
text_memo?: TextMemo;
|
|
395
|
-
refund_memo?: RefundMemo;
|
|
396
|
-
coin_purchase_memo?: CoinPurchaseMemo;
|
|
397
|
-
};
|
|
398
|
-
declare type TxAckPaymentRequest = {
|
|
399
|
-
nonce?: string;
|
|
400
|
-
recipient_name: string;
|
|
401
|
-
memos?: PaymentRequestMemo[];
|
|
402
|
-
amount?: UintType;
|
|
403
|
-
signature: string;
|
|
404
|
-
};
|
|
405
391
|
declare type TxAckResponse = {
|
|
406
392
|
inputs: Array<TxInputType | PrevInput>;
|
|
407
393
|
} | {
|
|
@@ -473,14 +459,27 @@ declare type OwnershipProof = {
|
|
|
473
459
|
};
|
|
474
460
|
declare type AuthorizeCoinJoin = {
|
|
475
461
|
coordinator: string;
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
max_fee_per_kvbyte: number;
|
|
462
|
+
max_total_fee: number;
|
|
463
|
+
fee_per_anonymity?: number;
|
|
479
464
|
address_n: number[];
|
|
480
465
|
coin_name?: string;
|
|
481
466
|
script_type?: InputScriptType;
|
|
482
467
|
amount_unit?: AmountUnit;
|
|
483
468
|
};
|
|
469
|
+
declare type BIP32Address = {
|
|
470
|
+
address_n: number[];
|
|
471
|
+
};
|
|
472
|
+
declare type GetPublicKeyMultiple = {
|
|
473
|
+
addresses: BIP32Address[];
|
|
474
|
+
ecdsa_curve_name?: string;
|
|
475
|
+
show_display?: boolean;
|
|
476
|
+
coin_name?: string;
|
|
477
|
+
script_type?: InputScriptType;
|
|
478
|
+
ignore_xpub_magic?: boolean;
|
|
479
|
+
};
|
|
480
|
+
declare type PublicKeyMultiple = {
|
|
481
|
+
xpubs: string[];
|
|
482
|
+
};
|
|
484
483
|
declare type FirmwareErase = {
|
|
485
484
|
length?: number;
|
|
486
485
|
};
|
|
@@ -495,6 +494,9 @@ declare type FirmwareUpload = {
|
|
|
495
494
|
declare type SelfTest = {
|
|
496
495
|
payload?: string;
|
|
497
496
|
};
|
|
497
|
+
declare type FirmwareErase_ex = {
|
|
498
|
+
length?: number;
|
|
499
|
+
};
|
|
498
500
|
declare enum CardanoDerivationType {
|
|
499
501
|
LEDGER = 0,
|
|
500
502
|
ICARUS = 1,
|
|
@@ -544,8 +546,7 @@ declare enum CardanoTxAuxiliaryDataSupplementType {
|
|
|
544
546
|
declare enum CardanoTxSigningMode {
|
|
545
547
|
ORDINARY_TRANSACTION = 0,
|
|
546
548
|
POOL_REGISTRATION_AS_OWNER = 1,
|
|
547
|
-
MULTISIG_TRANSACTION = 2
|
|
548
|
-
PLUTUS_TRANSACTION = 3
|
|
549
|
+
MULTISIG_TRANSACTION = 2
|
|
549
550
|
}
|
|
550
551
|
declare enum CardanoTxWitnessType {
|
|
551
552
|
BYRON_WITNESS = 0,
|
|
@@ -616,10 +617,6 @@ declare type CardanoSignTxInit = {
|
|
|
616
617
|
witness_requests_count: number;
|
|
617
618
|
minting_asset_groups_count: number;
|
|
618
619
|
derivation_type: CardanoDerivationType;
|
|
619
|
-
include_network_id?: boolean;
|
|
620
|
-
script_data_hash?: string;
|
|
621
|
-
collateral_inputs_count: number;
|
|
622
|
-
required_signers_count: number;
|
|
623
620
|
};
|
|
624
621
|
declare type CardanoTxInput = {
|
|
625
622
|
prev_hash: string;
|
|
@@ -630,7 +627,6 @@ declare type CardanoTxOutput = {
|
|
|
630
627
|
address_parameters?: CardanoAddressParametersType;
|
|
631
628
|
amount: UintType;
|
|
632
629
|
asset_groups_count: number;
|
|
633
|
-
datum_hash?: string;
|
|
634
630
|
};
|
|
635
631
|
declare type CardanoAssetGroup = {
|
|
636
632
|
policy_id: string;
|
|
@@ -676,13 +672,11 @@ declare type CardanoTxCertificate = {
|
|
|
676
672
|
pool?: string;
|
|
677
673
|
pool_parameters?: CardanoPoolParametersType;
|
|
678
674
|
script_hash?: string;
|
|
679
|
-
key_hash?: string;
|
|
680
675
|
};
|
|
681
676
|
declare type CardanoTxWithdrawal = {
|
|
682
677
|
path?: number[];
|
|
683
678
|
amount: UintType;
|
|
684
679
|
script_hash?: string;
|
|
685
|
-
key_hash?: string;
|
|
686
680
|
};
|
|
687
681
|
declare type CardanoCatalystRegistrationParametersType = {
|
|
688
682
|
voting_public_key: string;
|
|
@@ -697,15 +691,7 @@ declare type CardanoTxAuxiliaryData = {
|
|
|
697
691
|
declare type CardanoTxMint = {
|
|
698
692
|
asset_groups_count: number;
|
|
699
693
|
};
|
|
700
|
-
declare type
|
|
701
|
-
prev_hash: string;
|
|
702
|
-
prev_index: number;
|
|
703
|
-
};
|
|
704
|
-
declare type CardanoTxRequiredSigner = {
|
|
705
|
-
key_hash?: string;
|
|
706
|
-
key_path?: number[];
|
|
707
|
-
};
|
|
708
|
-
declare type CardanoTxItemAck = Empty;
|
|
694
|
+
declare type CardanoTxItemAck = {};
|
|
709
695
|
declare type CardanoTxAuxiliaryDataSupplement = {
|
|
710
696
|
type: CardanoTxAuxiliaryDataSupplementType;
|
|
711
697
|
auxiliary_data_hash?: string;
|
|
@@ -720,11 +706,11 @@ declare type CardanoTxWitnessResponse = {
|
|
|
720
706
|
signature: string;
|
|
721
707
|
chain_code?: string;
|
|
722
708
|
};
|
|
723
|
-
declare type CardanoTxHostAck =
|
|
709
|
+
declare type CardanoTxHostAck = {};
|
|
724
710
|
declare type CardanoTxBodyHash = {
|
|
725
711
|
tx_hash: string;
|
|
726
712
|
};
|
|
727
|
-
declare type CardanoSignTxFinished =
|
|
713
|
+
declare type CardanoSignTxFinished = {};
|
|
728
714
|
declare type CardanoTxInputType = {
|
|
729
715
|
address_n?: number[];
|
|
730
716
|
prev_hash: string;
|
|
@@ -784,7 +770,7 @@ declare type CardanoSignTx = {
|
|
|
784
770
|
declare type CardanoSignedTxChunk = {
|
|
785
771
|
signed_tx_chunk: string;
|
|
786
772
|
};
|
|
787
|
-
declare type CardanoSignedTxChunkAck =
|
|
773
|
+
declare type CardanoSignedTxChunkAck = {};
|
|
788
774
|
declare type CardanoSignedTx = {
|
|
789
775
|
tx_hash: string;
|
|
790
776
|
serialized_tx?: string;
|
|
@@ -810,7 +796,7 @@ declare enum FailureType {
|
|
|
810
796
|
Failure_FirmwareError = 99
|
|
811
797
|
}
|
|
812
798
|
declare type Failure = {
|
|
813
|
-
code?: FailureType
|
|
799
|
+
code?: FailureType;
|
|
814
800
|
message?: string;
|
|
815
801
|
};
|
|
816
802
|
declare enum Enum_ButtonRequestType {
|
|
@@ -840,13 +826,15 @@ declare type ButtonRequest = {
|
|
|
840
826
|
code?: ButtonRequestType;
|
|
841
827
|
pages?: number;
|
|
842
828
|
};
|
|
843
|
-
declare type ButtonAck =
|
|
829
|
+
declare type ButtonAck = {};
|
|
844
830
|
declare enum Enum_PinMatrixRequestType {
|
|
845
831
|
PinMatrixRequestType_Current = 1,
|
|
846
832
|
PinMatrixRequestType_NewFirst = 2,
|
|
847
833
|
PinMatrixRequestType_NewSecond = 3,
|
|
848
834
|
PinMatrixRequestType_WipeCodeFirst = 4,
|
|
849
|
-
PinMatrixRequestType_WipeCodeSecond = 5
|
|
835
|
+
PinMatrixRequestType_WipeCodeSecond = 5,
|
|
836
|
+
PinMatrixRequestType_BackupFirst = 6,
|
|
837
|
+
PinMatrixRequestType_BackupSecond = 7
|
|
850
838
|
}
|
|
851
839
|
declare type PinMatrixRequestType = keyof typeof Enum_PinMatrixRequestType;
|
|
852
840
|
declare type PinMatrixRequest = {
|
|
@@ -854,6 +842,7 @@ declare type PinMatrixRequest = {
|
|
|
854
842
|
};
|
|
855
843
|
declare type PinMatrixAck = {
|
|
856
844
|
pin: string;
|
|
845
|
+
new_pin?: string;
|
|
857
846
|
};
|
|
858
847
|
declare type PassphraseRequest = {
|
|
859
848
|
_on_device?: boolean;
|
|
@@ -866,7 +855,51 @@ declare type PassphraseAck = {
|
|
|
866
855
|
declare type Deprecated_PassphraseStateRequest = {
|
|
867
856
|
state?: string;
|
|
868
857
|
};
|
|
869
|
-
declare type Deprecated_PassphraseStateAck =
|
|
858
|
+
declare type Deprecated_PassphraseStateAck = {};
|
|
859
|
+
declare type BixinPinInputOnDevice = {};
|
|
860
|
+
declare type ConfluxGetAddress = {
|
|
861
|
+
address_n: number[];
|
|
862
|
+
show_display?: boolean;
|
|
863
|
+
chain_id?: number;
|
|
864
|
+
};
|
|
865
|
+
declare type ConfluxAddress = {
|
|
866
|
+
address?: string;
|
|
867
|
+
};
|
|
868
|
+
declare type ConfluxSignTx = {
|
|
869
|
+
address_n: number[];
|
|
870
|
+
nonce?: string;
|
|
871
|
+
gas_price?: string;
|
|
872
|
+
gas_limit?: string;
|
|
873
|
+
to?: string;
|
|
874
|
+
value?: string;
|
|
875
|
+
epoch_height?: string;
|
|
876
|
+
storage_limit?: string;
|
|
877
|
+
data_initial_chunk?: string;
|
|
878
|
+
data_length?: number;
|
|
879
|
+
chain_id?: number;
|
|
880
|
+
};
|
|
881
|
+
declare type ConfluxTxRequest = {
|
|
882
|
+
data_length?: number;
|
|
883
|
+
signature_v?: number;
|
|
884
|
+
signature_r?: string;
|
|
885
|
+
signature_s?: string;
|
|
886
|
+
};
|
|
887
|
+
declare type ConfluxTxAck = {
|
|
888
|
+
data_chunk?: string;
|
|
889
|
+
};
|
|
890
|
+
declare type ConfluxSignMessage = {
|
|
891
|
+
address_n: number[];
|
|
892
|
+
message?: string;
|
|
893
|
+
};
|
|
894
|
+
declare type ConfluxMessageSignature = {
|
|
895
|
+
signature?: string;
|
|
896
|
+
address?: string;
|
|
897
|
+
};
|
|
898
|
+
declare type ConfluxSignMessageCIP23 = {
|
|
899
|
+
address_n: number[];
|
|
900
|
+
domain_hash?: string;
|
|
901
|
+
message_hash?: string;
|
|
902
|
+
};
|
|
870
903
|
declare type CipherKeyValue = {
|
|
871
904
|
address_n: number[];
|
|
872
905
|
key: string;
|
|
@@ -907,11 +940,6 @@ declare type ECDHSessionKey = {
|
|
|
907
940
|
session_key: string;
|
|
908
941
|
public_key?: string;
|
|
909
942
|
};
|
|
910
|
-
declare enum DebugButton {
|
|
911
|
-
NO = 0,
|
|
912
|
-
YES = 1,
|
|
913
|
-
INFO = 2
|
|
914
|
-
}
|
|
915
943
|
declare type EosGetPublicKey = {
|
|
916
944
|
address_n: number[];
|
|
917
945
|
show_display?: boolean;
|
|
@@ -930,20 +958,20 @@ declare type EosTxHeader = {
|
|
|
930
958
|
};
|
|
931
959
|
declare type EosSignTx = {
|
|
932
960
|
address_n: number[];
|
|
933
|
-
chain_id
|
|
934
|
-
header
|
|
935
|
-
num_actions
|
|
961
|
+
chain_id?: string;
|
|
962
|
+
header?: EosTxHeader;
|
|
963
|
+
num_actions?: number;
|
|
936
964
|
};
|
|
937
965
|
declare type EosTxActionRequest = {
|
|
938
966
|
data_size?: number;
|
|
939
967
|
};
|
|
940
968
|
declare type EosAsset = {
|
|
941
|
-
amount
|
|
942
|
-
symbol
|
|
969
|
+
amount?: UintType;
|
|
970
|
+
symbol?: string;
|
|
943
971
|
};
|
|
944
972
|
declare type EosPermissionLevel = {
|
|
945
|
-
actor
|
|
946
|
-
permission
|
|
973
|
+
actor?: string;
|
|
974
|
+
permission?: string;
|
|
947
975
|
};
|
|
948
976
|
declare type EosAuthorizationKey = {
|
|
949
977
|
type?: number;
|
|
@@ -952,98 +980,98 @@ declare type EosAuthorizationKey = {
|
|
|
952
980
|
weight: number;
|
|
953
981
|
};
|
|
954
982
|
declare type EosAuthorizationAccount = {
|
|
955
|
-
account
|
|
956
|
-
weight
|
|
983
|
+
account?: EosPermissionLevel;
|
|
984
|
+
weight?: number;
|
|
957
985
|
};
|
|
958
986
|
declare type EosAuthorizationWait = {
|
|
959
|
-
wait_sec
|
|
960
|
-
weight
|
|
987
|
+
wait_sec?: number;
|
|
988
|
+
weight?: number;
|
|
961
989
|
};
|
|
962
990
|
declare type EosAuthorization = {
|
|
963
|
-
threshold
|
|
991
|
+
threshold?: number;
|
|
964
992
|
keys: EosAuthorizationKey[];
|
|
965
993
|
accounts: EosAuthorizationAccount[];
|
|
966
994
|
waits: EosAuthorizationWait[];
|
|
967
995
|
};
|
|
968
996
|
declare type EosActionCommon = {
|
|
969
|
-
account
|
|
970
|
-
name
|
|
997
|
+
account?: string;
|
|
998
|
+
name?: string;
|
|
971
999
|
authorization: EosPermissionLevel[];
|
|
972
1000
|
};
|
|
973
1001
|
declare type EosActionTransfer = {
|
|
974
|
-
sender
|
|
975
|
-
receiver
|
|
976
|
-
quantity
|
|
977
|
-
memo
|
|
1002
|
+
sender?: string;
|
|
1003
|
+
receiver?: string;
|
|
1004
|
+
quantity?: EosAsset;
|
|
1005
|
+
memo?: string;
|
|
978
1006
|
};
|
|
979
1007
|
declare type EosActionDelegate = {
|
|
980
|
-
sender
|
|
981
|
-
receiver
|
|
982
|
-
net_quantity
|
|
983
|
-
cpu_quantity
|
|
984
|
-
transfer
|
|
1008
|
+
sender?: string;
|
|
1009
|
+
receiver?: string;
|
|
1010
|
+
net_quantity?: EosAsset;
|
|
1011
|
+
cpu_quantity?: EosAsset;
|
|
1012
|
+
transfer?: boolean;
|
|
985
1013
|
};
|
|
986
1014
|
declare type EosActionUndelegate = {
|
|
987
|
-
sender
|
|
988
|
-
receiver
|
|
989
|
-
net_quantity
|
|
990
|
-
cpu_quantity
|
|
1015
|
+
sender?: string;
|
|
1016
|
+
receiver?: string;
|
|
1017
|
+
net_quantity?: EosAsset;
|
|
1018
|
+
cpu_quantity?: EosAsset;
|
|
991
1019
|
};
|
|
992
1020
|
declare type EosActionRefund = {
|
|
993
|
-
owner
|
|
1021
|
+
owner?: string;
|
|
994
1022
|
};
|
|
995
1023
|
declare type EosActionBuyRam = {
|
|
996
|
-
payer
|
|
997
|
-
receiver
|
|
998
|
-
quantity
|
|
1024
|
+
payer?: string;
|
|
1025
|
+
receiver?: string;
|
|
1026
|
+
quantity?: EosAsset;
|
|
999
1027
|
};
|
|
1000
1028
|
declare type EosActionBuyRamBytes = {
|
|
1001
|
-
payer
|
|
1002
|
-
receiver
|
|
1003
|
-
bytes
|
|
1029
|
+
payer?: string;
|
|
1030
|
+
receiver?: string;
|
|
1031
|
+
bytes?: number;
|
|
1004
1032
|
};
|
|
1005
1033
|
declare type EosActionSellRam = {
|
|
1006
|
-
account
|
|
1007
|
-
bytes
|
|
1034
|
+
account?: string;
|
|
1035
|
+
bytes?: number;
|
|
1008
1036
|
};
|
|
1009
1037
|
declare type EosActionVoteProducer = {
|
|
1010
|
-
voter
|
|
1011
|
-
proxy
|
|
1038
|
+
voter?: string;
|
|
1039
|
+
proxy?: string;
|
|
1012
1040
|
producers: string[];
|
|
1013
1041
|
};
|
|
1014
1042
|
declare type EosActionUpdateAuth = {
|
|
1015
|
-
account
|
|
1016
|
-
permission
|
|
1017
|
-
parent
|
|
1018
|
-
auth
|
|
1043
|
+
account?: string;
|
|
1044
|
+
permission?: string;
|
|
1045
|
+
parent?: string;
|
|
1046
|
+
auth?: EosAuthorization;
|
|
1019
1047
|
};
|
|
1020
1048
|
declare type EosActionDeleteAuth = {
|
|
1021
|
-
account
|
|
1022
|
-
permission
|
|
1049
|
+
account?: string;
|
|
1050
|
+
permission?: string;
|
|
1023
1051
|
};
|
|
1024
1052
|
declare type EosActionLinkAuth = {
|
|
1025
|
-
account
|
|
1026
|
-
code
|
|
1027
|
-
type
|
|
1028
|
-
requirement
|
|
1053
|
+
account?: string;
|
|
1054
|
+
code?: string;
|
|
1055
|
+
type?: string;
|
|
1056
|
+
requirement?: string;
|
|
1029
1057
|
};
|
|
1030
1058
|
declare type EosActionUnlinkAuth = {
|
|
1031
|
-
account
|
|
1032
|
-
code
|
|
1033
|
-
type
|
|
1059
|
+
account?: string;
|
|
1060
|
+
code?: string;
|
|
1061
|
+
type?: string;
|
|
1034
1062
|
};
|
|
1035
1063
|
declare type EosActionNewAccount = {
|
|
1036
|
-
creator
|
|
1037
|
-
name
|
|
1038
|
-
owner
|
|
1039
|
-
active
|
|
1064
|
+
creator?: string;
|
|
1065
|
+
name?: string;
|
|
1066
|
+
owner?: EosAuthorization;
|
|
1067
|
+
active?: EosAuthorization;
|
|
1040
1068
|
};
|
|
1041
1069
|
declare type EosActionUnknown = {
|
|
1042
1070
|
data_size: number;
|
|
1043
|
-
data_chunk
|
|
1071
|
+
data_chunk?: string;
|
|
1044
1072
|
};
|
|
1045
1073
|
declare type EosTxActionAck = {
|
|
1046
|
-
common
|
|
1074
|
+
common?: EosActionCommon;
|
|
1047
1075
|
transfer?: EosActionTransfer;
|
|
1048
1076
|
delegate?: EosActionDelegate;
|
|
1049
1077
|
undelegate?: EosActionUndelegate;
|
|
@@ -1157,11 +1185,6 @@ declare type EthereumSignMessage = {
|
|
|
1157
1185
|
address_n: number[];
|
|
1158
1186
|
message: string;
|
|
1159
1187
|
};
|
|
1160
|
-
declare type EthereumSignMessageEIP712 = {
|
|
1161
|
-
address_n: number[];
|
|
1162
|
-
domain_hash: string;
|
|
1163
|
-
message_hash: string;
|
|
1164
|
-
};
|
|
1165
1188
|
declare type EthereumMessageSignature = {
|
|
1166
1189
|
signature: string;
|
|
1167
1190
|
address: string;
|
|
@@ -1171,6 +1194,11 @@ declare type EthereumVerifyMessage = {
|
|
|
1171
1194
|
message: string;
|
|
1172
1195
|
address: string;
|
|
1173
1196
|
};
|
|
1197
|
+
declare type EthereumSignMessageEIP712 = {
|
|
1198
|
+
address_n: number[];
|
|
1199
|
+
domain_hash?: string;
|
|
1200
|
+
message_hash?: string;
|
|
1201
|
+
};
|
|
1174
1202
|
declare type EthereumSignTypedHash = {
|
|
1175
1203
|
address_n: number[];
|
|
1176
1204
|
domain_separator_hash: string;
|
|
@@ -1197,7 +1225,7 @@ declare type Initialize = {
|
|
|
1197
1225
|
_skip_passphrase?: boolean;
|
|
1198
1226
|
derive_cardano?: boolean;
|
|
1199
1227
|
};
|
|
1200
|
-
declare type GetFeatures =
|
|
1228
|
+
declare type GetFeatures = {};
|
|
1201
1229
|
declare enum Enum_Capability {
|
|
1202
1230
|
Capability_Bitcoin = 1,
|
|
1203
1231
|
Capability_Bitcoin_like = 2,
|
|
@@ -1220,13 +1248,6 @@ declare enum Enum_Capability {
|
|
|
1220
1248
|
declare type Capability = keyof typeof Enum_Capability;
|
|
1221
1249
|
declare type Features = {
|
|
1222
1250
|
vendor: string;
|
|
1223
|
-
onekey_serial: string;
|
|
1224
|
-
se_ver: string;
|
|
1225
|
-
serial_no: string;
|
|
1226
|
-
onekey_version: string;
|
|
1227
|
-
ble_name: string;
|
|
1228
|
-
ble_ver: string;
|
|
1229
|
-
ble_enable: boolean;
|
|
1230
1251
|
major_version: number;
|
|
1231
1252
|
minor_version: number;
|
|
1232
1253
|
patch_version: number;
|
|
@@ -1250,6 +1271,7 @@ declare type Features = {
|
|
|
1250
1271
|
fw_minor: number | null;
|
|
1251
1272
|
fw_patch: number | null;
|
|
1252
1273
|
fw_vendor: string | null;
|
|
1274
|
+
fw_vendor_keys?: string;
|
|
1253
1275
|
unfinished_backup: boolean | null;
|
|
1254
1276
|
no_backup: boolean | null;
|
|
1255
1277
|
recovery_mode: boolean | null;
|
|
@@ -1264,9 +1286,32 @@ declare type Features = {
|
|
|
1264
1286
|
auto_lock_delay_ms: number | null;
|
|
1265
1287
|
display_rotation: number | null;
|
|
1266
1288
|
experimental_features: boolean | null;
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1289
|
+
offset?: number;
|
|
1290
|
+
ble_name?: string;
|
|
1291
|
+
ble_ver?: string;
|
|
1292
|
+
ble_enable?: boolean;
|
|
1293
|
+
se_enable?: boolean;
|
|
1294
|
+
se_ver?: string;
|
|
1295
|
+
backup_only?: boolean;
|
|
1296
|
+
onekey_version?: string;
|
|
1297
|
+
onekey_serial?: string;
|
|
1298
|
+
bootloader_version?: string;
|
|
1299
|
+
serial_no?: string;
|
|
1300
|
+
spi_flash?: string;
|
|
1301
|
+
initstates?: number;
|
|
1302
|
+
NFT_voucher?: string;
|
|
1303
|
+
cpu_info?: string;
|
|
1304
|
+
pre_firmware?: string;
|
|
1305
|
+
coin_switch?: number;
|
|
1306
|
+
build_id?: string;
|
|
1307
|
+
};
|
|
1308
|
+
declare type LockDevice = {};
|
|
1309
|
+
declare type EndSession = {};
|
|
1310
|
+
declare enum ExportType {
|
|
1311
|
+
SeedEncExportType_NO = 0,
|
|
1312
|
+
SeedEncExportType_YES = 1,
|
|
1313
|
+
MnemonicPlainExportType_YES = 2
|
|
1314
|
+
}
|
|
1270
1315
|
declare type ApplySettings = {
|
|
1271
1316
|
language?: string;
|
|
1272
1317
|
label?: string;
|
|
@@ -1278,6 +1323,13 @@ declare type ApplySettings = {
|
|
|
1278
1323
|
passphrase_always_on_device?: boolean;
|
|
1279
1324
|
safety_checks?: SafetyCheckLevel;
|
|
1280
1325
|
experimental_features?: boolean;
|
|
1326
|
+
use_ble?: boolean;
|
|
1327
|
+
use_se?: boolean;
|
|
1328
|
+
is_bixinapp?: boolean;
|
|
1329
|
+
fastpay_pin?: boolean;
|
|
1330
|
+
fastpay_confirm?: boolean;
|
|
1331
|
+
fastpay_money_limit?: number;
|
|
1332
|
+
fastpay_times?: number;
|
|
1281
1333
|
};
|
|
1282
1334
|
declare type ApplyFlags = {
|
|
1283
1335
|
flags: number;
|
|
@@ -1300,25 +1352,14 @@ declare type Ping = {
|
|
|
1300
1352
|
message?: string;
|
|
1301
1353
|
button_protection?: boolean;
|
|
1302
1354
|
};
|
|
1303
|
-
declare type Cancel =
|
|
1355
|
+
declare type Cancel = {};
|
|
1304
1356
|
declare type GetEntropy = {
|
|
1305
1357
|
size: number;
|
|
1306
1358
|
};
|
|
1307
1359
|
declare type Entropy = {
|
|
1308
1360
|
entropy: string;
|
|
1309
1361
|
};
|
|
1310
|
-
declare type
|
|
1311
|
-
challenge?: string;
|
|
1312
|
-
};
|
|
1313
|
-
declare type FirmwareHash = {
|
|
1314
|
-
hash: string;
|
|
1315
|
-
};
|
|
1316
|
-
declare type GetFirmware = Empty;
|
|
1317
|
-
declare type FirmwareChunk = {
|
|
1318
|
-
chunk: string;
|
|
1319
|
-
};
|
|
1320
|
-
declare type FirmwareChunkAck = Empty;
|
|
1321
|
-
declare type WipeDevice = Empty;
|
|
1362
|
+
declare type WipeDevice = {};
|
|
1322
1363
|
declare type ResetDevice = {
|
|
1323
1364
|
display_random?: boolean;
|
|
1324
1365
|
strength?: number;
|
|
@@ -1331,8 +1372,8 @@ declare type ResetDevice = {
|
|
|
1331
1372
|
no_backup?: boolean;
|
|
1332
1373
|
backup_type?: string | number;
|
|
1333
1374
|
};
|
|
1334
|
-
declare type BackupDevice =
|
|
1335
|
-
declare type EntropyRequest =
|
|
1375
|
+
declare type BackupDevice = {};
|
|
1376
|
+
declare type EntropyRequest = {};
|
|
1336
1377
|
declare type EntropyAck = {
|
|
1337
1378
|
entropy: string;
|
|
1338
1379
|
};
|
|
@@ -1366,35 +1407,139 @@ declare type WordAck = {
|
|
|
1366
1407
|
declare type SetU2FCounter = {
|
|
1367
1408
|
u2f_counter: number;
|
|
1368
1409
|
};
|
|
1369
|
-
declare type GetNextU2FCounter =
|
|
1410
|
+
declare type GetNextU2FCounter = {};
|
|
1370
1411
|
declare type NextU2FCounter = {
|
|
1371
1412
|
u2f_counter: number;
|
|
1372
1413
|
};
|
|
1373
|
-
declare type DoPreauthorized =
|
|
1374
|
-
declare type PreauthorizedRequest =
|
|
1375
|
-
declare type CancelAuthorization =
|
|
1376
|
-
declare
|
|
1414
|
+
declare type DoPreauthorized = {};
|
|
1415
|
+
declare type PreauthorizedRequest = {};
|
|
1416
|
+
declare type CancelAuthorization = {};
|
|
1417
|
+
declare enum SeedRequestType {
|
|
1418
|
+
SeedRequestType_Gen = 0,
|
|
1419
|
+
SeedRequestType_EncExport = 1,
|
|
1420
|
+
SeedRequestType_EncImport = 2
|
|
1421
|
+
}
|
|
1422
|
+
declare type BixinSeedOperate = {
|
|
1423
|
+
type: SeedRequestType;
|
|
1424
|
+
seed_importData?: string;
|
|
1425
|
+
};
|
|
1426
|
+
declare type BixinMessageSE = {
|
|
1427
|
+
inputmessage: string;
|
|
1428
|
+
};
|
|
1429
|
+
declare type BixinOutMessageSE = {
|
|
1430
|
+
outmessage?: string;
|
|
1431
|
+
};
|
|
1432
|
+
declare type BixinReboot = {};
|
|
1433
|
+
declare type BixinBackupRequest = {};
|
|
1434
|
+
declare type BixinBackupAck = {
|
|
1435
|
+
data: string;
|
|
1436
|
+
};
|
|
1437
|
+
declare type BixinRestoreRequest = {
|
|
1438
|
+
data: string;
|
|
1439
|
+
language?: string;
|
|
1440
|
+
label?: string;
|
|
1441
|
+
passphrase_protection?: boolean;
|
|
1442
|
+
};
|
|
1443
|
+
declare type BixinRestoreAck = {
|
|
1444
|
+
data: string;
|
|
1445
|
+
};
|
|
1377
1446
|
declare type BixinVerifyDeviceRequest = {
|
|
1378
|
-
data:
|
|
1447
|
+
data: string;
|
|
1379
1448
|
};
|
|
1380
1449
|
declare type BixinVerifyDeviceAck = {
|
|
1381
|
-
cert:
|
|
1382
|
-
signature:
|
|
1450
|
+
cert: string;
|
|
1451
|
+
signature: string;
|
|
1452
|
+
};
|
|
1453
|
+
declare enum WL_OperationType {
|
|
1454
|
+
WL_OperationType_Add = 0,
|
|
1455
|
+
WL_OperationType_Delete = 1,
|
|
1456
|
+
WL_OperationType_Inquire = 2
|
|
1457
|
+
}
|
|
1458
|
+
declare type BixinWhiteListRequest = {
|
|
1459
|
+
type: WL_OperationType;
|
|
1460
|
+
addr_in?: string;
|
|
1461
|
+
};
|
|
1462
|
+
declare type BixinWhiteListAck = {
|
|
1463
|
+
address: string[];
|
|
1464
|
+
};
|
|
1465
|
+
declare type BixinLoadDevice = {
|
|
1466
|
+
mnemonics: string;
|
|
1467
|
+
language?: string;
|
|
1468
|
+
label?: string;
|
|
1469
|
+
skip_checksum?: boolean;
|
|
1470
|
+
};
|
|
1471
|
+
declare type BixinBackupDevice = {};
|
|
1472
|
+
declare type BixinBackupDeviceAck = {
|
|
1473
|
+
mnemonics: string;
|
|
1474
|
+
};
|
|
1475
|
+
declare type DeviceInfoSettings = {
|
|
1476
|
+
serial_no?: string;
|
|
1477
|
+
cpu_info?: string;
|
|
1478
|
+
pre_firmware?: string;
|
|
1479
|
+
};
|
|
1480
|
+
declare type GetDeviceInfo = {};
|
|
1481
|
+
declare type DeviceInfo = {
|
|
1482
|
+
serial_no?: string;
|
|
1483
|
+
spiFlash_info?: string;
|
|
1484
|
+
SE_info?: string;
|
|
1485
|
+
NFT_voucher?: string;
|
|
1486
|
+
cpu_info?: string;
|
|
1487
|
+
pre_firmware?: string;
|
|
1488
|
+
};
|
|
1489
|
+
declare type ReadSEPublicKey = {};
|
|
1490
|
+
declare type SEPublicKey = {
|
|
1491
|
+
public_key: string;
|
|
1492
|
+
};
|
|
1493
|
+
declare type WriteSEPublicCert = {
|
|
1494
|
+
public_cert: string;
|
|
1495
|
+
};
|
|
1496
|
+
declare type ReadSEPublicCert = {};
|
|
1497
|
+
declare type SEPublicCert = {
|
|
1498
|
+
public_cert: string;
|
|
1499
|
+
};
|
|
1500
|
+
declare type SpiFlashWrite = {
|
|
1501
|
+
address: number;
|
|
1502
|
+
data: string;
|
|
1503
|
+
};
|
|
1504
|
+
declare type SpiFlashRead = {
|
|
1505
|
+
address: number;
|
|
1506
|
+
len: number;
|
|
1507
|
+
};
|
|
1508
|
+
declare type SpiFlashData = {
|
|
1509
|
+
data: string;
|
|
1383
1510
|
};
|
|
1384
1511
|
declare type SESignMessage = {
|
|
1385
|
-
message:
|
|
1512
|
+
message: string;
|
|
1386
1513
|
};
|
|
1387
1514
|
declare type SEMessageSignature = {
|
|
1388
|
-
signature:
|
|
1515
|
+
signature: string;
|
|
1389
1516
|
};
|
|
1390
|
-
declare type
|
|
1391
|
-
|
|
1392
|
-
|
|
1517
|
+
declare type NFTWriteInfo = {
|
|
1518
|
+
index: number;
|
|
1519
|
+
width: number;
|
|
1520
|
+
height: number;
|
|
1521
|
+
name_zh?: string;
|
|
1522
|
+
name_en?: string;
|
|
1393
1523
|
};
|
|
1394
|
-
declare type
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1524
|
+
declare type NFTWriteData = {
|
|
1525
|
+
index: number;
|
|
1526
|
+
data: string;
|
|
1527
|
+
offset: number;
|
|
1528
|
+
};
|
|
1529
|
+
declare type RebootToBootloader = {};
|
|
1530
|
+
declare type NearGetAddress = {
|
|
1531
|
+
address_n: number[];
|
|
1532
|
+
show_display?: boolean;
|
|
1533
|
+
};
|
|
1534
|
+
declare type NearAddress = {
|
|
1535
|
+
address?: string;
|
|
1536
|
+
};
|
|
1537
|
+
declare type NearSignTx = {
|
|
1538
|
+
address_n: number[];
|
|
1539
|
+
raw_tx?: string;
|
|
1540
|
+
};
|
|
1541
|
+
declare type NearSignedTx = {
|
|
1542
|
+
signature: string;
|
|
1398
1543
|
};
|
|
1399
1544
|
declare type NEMGetAddress = {
|
|
1400
1545
|
address_n: number[];
|
|
@@ -1407,28 +1552,28 @@ declare type NEMAddress = {
|
|
|
1407
1552
|
declare type NEMTransactionCommon = {
|
|
1408
1553
|
address_n?: number[];
|
|
1409
1554
|
network?: number;
|
|
1410
|
-
timestamp
|
|
1411
|
-
fee
|
|
1412
|
-
deadline
|
|
1555
|
+
timestamp?: number;
|
|
1556
|
+
fee?: UintType;
|
|
1557
|
+
deadline?: number;
|
|
1413
1558
|
signer?: string;
|
|
1414
1559
|
};
|
|
1415
1560
|
declare type NEMMosaic = {
|
|
1416
|
-
namespace
|
|
1417
|
-
mosaic
|
|
1418
|
-
quantity
|
|
1561
|
+
namespace?: string;
|
|
1562
|
+
mosaic?: string;
|
|
1563
|
+
quantity?: number;
|
|
1419
1564
|
};
|
|
1420
1565
|
declare type NEMTransfer = {
|
|
1421
|
-
recipient
|
|
1422
|
-
amount
|
|
1566
|
+
recipient?: string;
|
|
1567
|
+
amount?: UintType;
|
|
1423
1568
|
payload?: string;
|
|
1424
1569
|
public_key?: string;
|
|
1425
1570
|
mosaics?: NEMMosaic[];
|
|
1426
1571
|
};
|
|
1427
1572
|
declare type NEMProvisionNamespace = {
|
|
1428
|
-
namespace
|
|
1573
|
+
namespace?: string;
|
|
1429
1574
|
parent?: string;
|
|
1430
|
-
sink
|
|
1431
|
-
fee
|
|
1575
|
+
sink?: string;
|
|
1576
|
+
fee?: UintType;
|
|
1432
1577
|
};
|
|
1433
1578
|
declare enum NEMMosaicLevy {
|
|
1434
1579
|
MosaicLevy_Absolute = 1,
|
|
@@ -1437,8 +1582,8 @@ declare enum NEMMosaicLevy {
|
|
|
1437
1582
|
declare type NEMMosaicDefinition = {
|
|
1438
1583
|
name?: string;
|
|
1439
1584
|
ticker?: string;
|
|
1440
|
-
namespace
|
|
1441
|
-
mosaic
|
|
1585
|
+
namespace?: string;
|
|
1586
|
+
mosaic?: string;
|
|
1442
1587
|
divisibility?: number;
|
|
1443
1588
|
levy?: NEMMosaicLevy;
|
|
1444
1589
|
fee?: UintType;
|
|
@@ -1448,31 +1593,31 @@ declare type NEMMosaicDefinition = {
|
|
|
1448
1593
|
supply?: number;
|
|
1449
1594
|
mutable_supply?: boolean;
|
|
1450
1595
|
transferable?: boolean;
|
|
1451
|
-
description
|
|
1596
|
+
description?: string;
|
|
1452
1597
|
networks?: number[];
|
|
1453
1598
|
};
|
|
1454
1599
|
declare type NEMMosaicCreation = {
|
|
1455
|
-
definition
|
|
1456
|
-
sink
|
|
1457
|
-
fee
|
|
1600
|
+
definition?: NEMMosaicDefinition;
|
|
1601
|
+
sink?: string;
|
|
1602
|
+
fee?: UintType;
|
|
1458
1603
|
};
|
|
1459
1604
|
declare enum NEMSupplyChangeType {
|
|
1460
1605
|
SupplyChange_Increase = 1,
|
|
1461
1606
|
SupplyChange_Decrease = 2
|
|
1462
1607
|
}
|
|
1463
1608
|
declare type NEMMosaicSupplyChange = {
|
|
1464
|
-
namespace
|
|
1465
|
-
mosaic
|
|
1466
|
-
type
|
|
1467
|
-
delta
|
|
1609
|
+
namespace?: string;
|
|
1610
|
+
mosaic?: string;
|
|
1611
|
+
type?: NEMSupplyChangeType;
|
|
1612
|
+
delta?: number;
|
|
1468
1613
|
};
|
|
1469
1614
|
declare enum NEMModificationType {
|
|
1470
1615
|
CosignatoryModification_Add = 1,
|
|
1471
1616
|
CosignatoryModification_Delete = 2
|
|
1472
1617
|
}
|
|
1473
1618
|
declare type NEMCosignatoryModification = {
|
|
1474
|
-
type
|
|
1475
|
-
public_key
|
|
1619
|
+
type?: NEMModificationType;
|
|
1620
|
+
public_key?: string;
|
|
1476
1621
|
};
|
|
1477
1622
|
declare type NEMAggregateModification = {
|
|
1478
1623
|
modifications?: NEMCosignatoryModification[];
|
|
@@ -1483,11 +1628,11 @@ declare enum NEMImportanceTransferMode {
|
|
|
1483
1628
|
ImportanceTransfer_Deactivate = 2
|
|
1484
1629
|
}
|
|
1485
1630
|
declare type NEMImportanceTransfer = {
|
|
1486
|
-
mode
|
|
1487
|
-
public_key
|
|
1631
|
+
mode?: NEMImportanceTransferMode;
|
|
1632
|
+
public_key?: string;
|
|
1488
1633
|
};
|
|
1489
1634
|
declare type NEMSignTx = {
|
|
1490
|
-
transaction
|
|
1635
|
+
transaction?: NEMTransactionCommon;
|
|
1491
1636
|
multisig?: NEMTransactionCommon;
|
|
1492
1637
|
transfer?: NEMTransfer;
|
|
1493
1638
|
cosigning?: boolean;
|
|
@@ -1524,11 +1669,11 @@ declare type RipplePayment = {
|
|
|
1524
1669
|
};
|
|
1525
1670
|
declare type RippleSignTx = {
|
|
1526
1671
|
address_n: number[];
|
|
1527
|
-
fee
|
|
1672
|
+
fee?: UintType;
|
|
1528
1673
|
flags?: number;
|
|
1529
|
-
sequence
|
|
1674
|
+
sequence?: number;
|
|
1530
1675
|
last_ledger_sequence?: number;
|
|
1531
|
-
payment
|
|
1676
|
+
payment?: RipplePayment;
|
|
1532
1677
|
};
|
|
1533
1678
|
declare type RippleSignedTx = {
|
|
1534
1679
|
signature: string;
|
|
@@ -1543,16 +1688,11 @@ declare type SolanaAddress = {
|
|
|
1543
1688
|
};
|
|
1544
1689
|
declare type SolanaSignTx = {
|
|
1545
1690
|
address_n: number[];
|
|
1546
|
-
raw_tx
|
|
1691
|
+
raw_tx: string;
|
|
1547
1692
|
};
|
|
1548
1693
|
declare type SolanaSignedTx = {
|
|
1549
1694
|
signature?: string;
|
|
1550
1695
|
};
|
|
1551
|
-
declare enum StellarAssetType {
|
|
1552
|
-
NATIVE = 0,
|
|
1553
|
-
ALPHANUM4 = 1,
|
|
1554
|
-
ALPHANUM12 = 2
|
|
1555
|
-
}
|
|
1556
1696
|
declare type StarcoinGetAddress = {
|
|
1557
1697
|
address_n: number[];
|
|
1558
1698
|
show_display?: boolean;
|
|
@@ -1565,29 +1705,34 @@ declare type StarcoinGetPublicKey = {
|
|
|
1565
1705
|
show_display?: boolean;
|
|
1566
1706
|
};
|
|
1567
1707
|
declare type StarcoinPublicKey = {
|
|
1568
|
-
public_key
|
|
1708
|
+
public_key: string;
|
|
1569
1709
|
};
|
|
1570
1710
|
declare type StarcoinSignTx = {
|
|
1571
1711
|
address_n: number[];
|
|
1572
1712
|
raw_tx?: string;
|
|
1573
1713
|
};
|
|
1574
1714
|
declare type StarcoinSignedTx = {
|
|
1575
|
-
public_key
|
|
1576
|
-
signature
|
|
1715
|
+
public_key: string;
|
|
1716
|
+
signature: string;
|
|
1577
1717
|
};
|
|
1578
1718
|
declare type StarcoinSignMessage = {
|
|
1579
1719
|
address_n: number[];
|
|
1580
1720
|
message?: string;
|
|
1581
1721
|
};
|
|
1582
1722
|
declare type StarcoinMessageSignature = {
|
|
1583
|
-
public_key
|
|
1584
|
-
signature
|
|
1723
|
+
public_key: string;
|
|
1724
|
+
signature: string;
|
|
1585
1725
|
};
|
|
1586
1726
|
declare type StarcoinVerifyMessage = {
|
|
1587
1727
|
public_key?: string;
|
|
1588
1728
|
signature?: string;
|
|
1589
1729
|
message?: string;
|
|
1590
1730
|
};
|
|
1731
|
+
declare enum StellarAssetType {
|
|
1732
|
+
NATIVE = 0,
|
|
1733
|
+
ALPHANUM4 = 1,
|
|
1734
|
+
ALPHANUM12 = 2
|
|
1735
|
+
}
|
|
1591
1736
|
declare type StellarAsset = {
|
|
1592
1737
|
type: StellarAssetType;
|
|
1593
1738
|
code?: string;
|
|
@@ -1613,15 +1758,15 @@ declare type StellarSignTx = {
|
|
|
1613
1758
|
source_account: string;
|
|
1614
1759
|
fee: UintType;
|
|
1615
1760
|
sequence_number: UintType;
|
|
1616
|
-
timebounds_start
|
|
1617
|
-
timebounds_end
|
|
1618
|
-
memo_type
|
|
1761
|
+
timebounds_start: number;
|
|
1762
|
+
timebounds_end: number;
|
|
1763
|
+
memo_type: StellarMemoType;
|
|
1619
1764
|
memo_text?: string;
|
|
1620
1765
|
memo_id?: string;
|
|
1621
1766
|
memo_hash?: Buffer | string;
|
|
1622
1767
|
num_operations: number;
|
|
1623
1768
|
};
|
|
1624
|
-
declare type StellarTxOpRequest =
|
|
1769
|
+
declare type StellarTxOpRequest = {};
|
|
1625
1770
|
declare type StellarPaymentOp = {
|
|
1626
1771
|
source_account?: string;
|
|
1627
1772
|
destination_account: string;
|
|
@@ -1756,8 +1901,8 @@ declare type TezosRevealOp = {
|
|
|
1756
1901
|
public_key: Uint8Array;
|
|
1757
1902
|
};
|
|
1758
1903
|
declare type TezosManagerTransfer = {
|
|
1759
|
-
destination
|
|
1760
|
-
amount
|
|
1904
|
+
destination?: TezosContractID;
|
|
1905
|
+
amount?: UintType;
|
|
1761
1906
|
};
|
|
1762
1907
|
declare type TezosParametersManager = {
|
|
1763
1908
|
set_delegate?: Uint8Array;
|
|
@@ -1797,8 +1942,8 @@ declare type TezosDelegationOp = {
|
|
|
1797
1942
|
delegate: Uint8Array;
|
|
1798
1943
|
};
|
|
1799
1944
|
declare type TezosProposalOp = {
|
|
1800
|
-
source
|
|
1801
|
-
period
|
|
1945
|
+
source?: string;
|
|
1946
|
+
period?: number;
|
|
1802
1947
|
proposals: string[];
|
|
1803
1948
|
};
|
|
1804
1949
|
declare enum TezosBallotType {
|
|
@@ -1807,10 +1952,10 @@ declare enum TezosBallotType {
|
|
|
1807
1952
|
Pass = 2
|
|
1808
1953
|
}
|
|
1809
1954
|
declare type TezosBallotOp = {
|
|
1810
|
-
source
|
|
1811
|
-
period
|
|
1812
|
-
proposal
|
|
1813
|
-
ballot
|
|
1955
|
+
source?: string;
|
|
1956
|
+
period?: number;
|
|
1957
|
+
proposal?: string;
|
|
1958
|
+
ballot?: TezosBallotType;
|
|
1814
1959
|
};
|
|
1815
1960
|
declare type TezosSignTx = {
|
|
1816
1961
|
address_n: number[];
|
|
@@ -1827,7 +1972,60 @@ declare type TezosSignedTx = {
|
|
|
1827
1972
|
sig_op_contents: string;
|
|
1828
1973
|
operation_hash: string;
|
|
1829
1974
|
};
|
|
1975
|
+
declare type TronGetAddress = {
|
|
1976
|
+
address_n: number[];
|
|
1977
|
+
show_display?: boolean;
|
|
1978
|
+
};
|
|
1979
|
+
declare type TronAddress = {
|
|
1980
|
+
address?: string;
|
|
1981
|
+
};
|
|
1982
|
+
declare type TronTransferContract = {
|
|
1983
|
+
to_address?: string;
|
|
1984
|
+
amount?: UintType;
|
|
1985
|
+
};
|
|
1986
|
+
declare type TronTriggerSmartContract = {
|
|
1987
|
+
contract_address?: string;
|
|
1988
|
+
call_value?: number;
|
|
1989
|
+
data?: string;
|
|
1990
|
+
call_token_value?: number;
|
|
1991
|
+
asset_id?: number;
|
|
1992
|
+
};
|
|
1993
|
+
declare type TronContract = {
|
|
1994
|
+
transfer_contract?: TronTransferContract;
|
|
1995
|
+
trigger_smart_contract?: TronTriggerSmartContract;
|
|
1996
|
+
};
|
|
1997
|
+
declare type TronSignTx = {
|
|
1998
|
+
address_n: number[];
|
|
1999
|
+
ref_block_bytes: string;
|
|
2000
|
+
ref_block_hash: string;
|
|
2001
|
+
expiration: number;
|
|
2002
|
+
data?: string;
|
|
2003
|
+
contract: TronContract;
|
|
2004
|
+
timestamp: number;
|
|
2005
|
+
fee_limit?: number;
|
|
2006
|
+
};
|
|
2007
|
+
declare type TronSignedTx = {
|
|
2008
|
+
signature: string;
|
|
2009
|
+
serialized_tx?: string;
|
|
2010
|
+
};
|
|
2011
|
+
declare type TronSignMessage = {
|
|
2012
|
+
address_n: number[];
|
|
2013
|
+
message: string;
|
|
2014
|
+
};
|
|
2015
|
+
declare type TronMessageSignature = {
|
|
2016
|
+
address: string;
|
|
2017
|
+
signature: string;
|
|
2018
|
+
};
|
|
2019
|
+
declare type facotry = {};
|
|
2020
|
+
declare enum CommandFlags {
|
|
2021
|
+
Default = 0,
|
|
2022
|
+
Factory_Only = 1
|
|
2023
|
+
}
|
|
1830
2024
|
declare type MessageType = {
|
|
2025
|
+
AptosGetAddress: AptosGetAddress;
|
|
2026
|
+
AptosAddress: AptosAddress;
|
|
2027
|
+
AptosSignTx: AptosSignTx;
|
|
2028
|
+
AptosSignedTx: AptosSignedTx;
|
|
1831
2029
|
BinanceGetAddress: BinanceGetAddress;
|
|
1832
2030
|
BinanceAddress: BinanceAddress;
|
|
1833
2031
|
BinanceGetPublicKey: BinanceGetPublicKey;
|
|
@@ -1862,11 +2060,6 @@ declare type MessageType = {
|
|
|
1862
2060
|
PrevTx: PrevTx;
|
|
1863
2061
|
PrevInput: PrevInput;
|
|
1864
2062
|
PrevOutput: PrevOutput;
|
|
1865
|
-
TextMemo: TextMemo;
|
|
1866
|
-
RefundMemo: RefundMemo;
|
|
1867
|
-
CoinPurchaseMemo: CoinPurchaseMemo;
|
|
1868
|
-
PaymentRequestMemo: PaymentRequestMemo;
|
|
1869
|
-
TxAckPaymentRequest: TxAckPaymentRequest;
|
|
1870
2063
|
TxAck: TxAck;
|
|
1871
2064
|
TxAckInputWrapper: TxAckInputWrapper;
|
|
1872
2065
|
TxAckInput: TxAckInput;
|
|
@@ -1882,10 +2075,14 @@ declare type MessageType = {
|
|
|
1882
2075
|
GetOwnershipProof: GetOwnershipProof;
|
|
1883
2076
|
OwnershipProof: OwnershipProof;
|
|
1884
2077
|
AuthorizeCoinJoin: AuthorizeCoinJoin;
|
|
2078
|
+
BIP32Address: BIP32Address;
|
|
2079
|
+
GetPublicKeyMultiple: GetPublicKeyMultiple;
|
|
2080
|
+
PublicKeyMultiple: PublicKeyMultiple;
|
|
1885
2081
|
FirmwareErase: FirmwareErase;
|
|
1886
2082
|
FirmwareRequest: FirmwareRequest;
|
|
1887
2083
|
FirmwareUpload: FirmwareUpload;
|
|
1888
2084
|
SelfTest: SelfTest;
|
|
2085
|
+
FirmwareErase_ex: FirmwareErase_ex;
|
|
1889
2086
|
CardanoBlockchainPointerType: CardanoBlockchainPointerType;
|
|
1890
2087
|
CardanoNativeScript: CardanoNativeScript;
|
|
1891
2088
|
CardanoGetNativeScriptHash: CardanoGetNativeScriptHash;
|
|
@@ -1909,8 +2106,6 @@ declare type MessageType = {
|
|
|
1909
2106
|
CardanoCatalystRegistrationParametersType: CardanoCatalystRegistrationParametersType;
|
|
1910
2107
|
CardanoTxAuxiliaryData: CardanoTxAuxiliaryData;
|
|
1911
2108
|
CardanoTxMint: CardanoTxMint;
|
|
1912
|
-
CardanoTxCollateralInput: CardanoTxCollateralInput;
|
|
1913
|
-
CardanoTxRequiredSigner: CardanoTxRequiredSigner;
|
|
1914
2109
|
CardanoTxItemAck: CardanoTxItemAck;
|
|
1915
2110
|
CardanoTxAuxiliaryDataSupplement: CardanoTxAuxiliaryDataSupplement;
|
|
1916
2111
|
CardanoTxWitnessRequest: CardanoTxWitnessRequest;
|
|
@@ -1941,6 +2136,15 @@ declare type MessageType = {
|
|
|
1941
2136
|
PassphraseAck: PassphraseAck;
|
|
1942
2137
|
Deprecated_PassphraseStateRequest: Deprecated_PassphraseStateRequest;
|
|
1943
2138
|
Deprecated_PassphraseStateAck: Deprecated_PassphraseStateAck;
|
|
2139
|
+
BixinPinInputOnDevice: BixinPinInputOnDevice;
|
|
2140
|
+
ConfluxGetAddress: ConfluxGetAddress;
|
|
2141
|
+
ConfluxAddress: ConfluxAddress;
|
|
2142
|
+
ConfluxSignTx: ConfluxSignTx;
|
|
2143
|
+
ConfluxTxRequest: ConfluxTxRequest;
|
|
2144
|
+
ConfluxTxAck: ConfluxTxAck;
|
|
2145
|
+
ConfluxSignMessage: ConfluxSignMessage;
|
|
2146
|
+
ConfluxMessageSignature: ConfluxMessageSignature;
|
|
2147
|
+
ConfluxSignMessageCIP23: ConfluxSignMessageCIP23;
|
|
1944
2148
|
CipherKeyValue: CipherKeyValue;
|
|
1945
2149
|
CipheredKeyValue: CipheredKeyValue;
|
|
1946
2150
|
IdentityType: IdentityType;
|
|
@@ -1993,9 +2197,9 @@ declare type MessageType = {
|
|
|
1993
2197
|
EthereumTxRequest: EthereumTxRequest;
|
|
1994
2198
|
EthereumTxAck: EthereumTxAck;
|
|
1995
2199
|
EthereumSignMessage: EthereumSignMessage;
|
|
1996
|
-
EthereumSignMessageEIP712: EthereumSignMessageEIP712;
|
|
1997
2200
|
EthereumMessageSignature: EthereumMessageSignature;
|
|
1998
2201
|
EthereumVerifyMessage: EthereumVerifyMessage;
|
|
2202
|
+
EthereumSignMessageEIP712: EthereumSignMessageEIP712;
|
|
1999
2203
|
EthereumSignTypedHash: EthereumSignTypedHash;
|
|
2000
2204
|
EthereumTypedDataSignature: EthereumTypedDataSignature;
|
|
2001
2205
|
Initialize: Initialize;
|
|
@@ -2012,11 +2216,6 @@ declare type MessageType = {
|
|
|
2012
2216
|
Cancel: Cancel;
|
|
2013
2217
|
GetEntropy: GetEntropy;
|
|
2014
2218
|
Entropy: Entropy;
|
|
2015
|
-
GetFirmwareHash: GetFirmwareHash;
|
|
2016
|
-
FirmwareHash: FirmwareHash;
|
|
2017
|
-
GetFirmware: GetFirmware;
|
|
2018
|
-
FirmwareChunk: FirmwareChunk;
|
|
2019
|
-
FirmwareChunkAck: FirmwareChunkAck;
|
|
2020
2219
|
WipeDevice: WipeDevice;
|
|
2021
2220
|
ResetDevice: ResetDevice;
|
|
2022
2221
|
BackupDevice: BackupDevice;
|
|
@@ -2031,16 +2230,41 @@ declare type MessageType = {
|
|
|
2031
2230
|
DoPreauthorized: DoPreauthorized;
|
|
2032
2231
|
PreauthorizedRequest: PreauthorizedRequest;
|
|
2033
2232
|
CancelAuthorization: CancelAuthorization;
|
|
2233
|
+
BixinSeedOperate: BixinSeedOperate;
|
|
2234
|
+
BixinMessageSE: BixinMessageSE;
|
|
2235
|
+
BixinOutMessageSE: BixinOutMessageSE;
|
|
2034
2236
|
BixinReboot: BixinReboot;
|
|
2237
|
+
BixinBackupRequest: BixinBackupRequest;
|
|
2238
|
+
BixinBackupAck: BixinBackupAck;
|
|
2239
|
+
BixinRestoreRequest: BixinRestoreRequest;
|
|
2240
|
+
BixinRestoreAck: BixinRestoreAck;
|
|
2035
2241
|
BixinVerifyDeviceRequest: BixinVerifyDeviceRequest;
|
|
2036
2242
|
BixinVerifyDeviceAck: BixinVerifyDeviceAck;
|
|
2037
|
-
|
|
2038
|
-
|
|
2243
|
+
BixinWhiteListRequest: BixinWhiteListRequest;
|
|
2244
|
+
BixinWhiteListAck: BixinWhiteListAck;
|
|
2245
|
+
BixinLoadDevice: BixinLoadDevice;
|
|
2246
|
+
BixinBackupDevice: BixinBackupDevice;
|
|
2247
|
+
BixinBackupDeviceAck: BixinBackupDeviceAck;
|
|
2248
|
+
DeviceInfoSettings: DeviceInfoSettings;
|
|
2249
|
+
GetDeviceInfo: GetDeviceInfo;
|
|
2250
|
+
DeviceInfo: DeviceInfo;
|
|
2251
|
+
ReadSEPublicKey: ReadSEPublicKey;
|
|
2252
|
+
SEPublicKey: SEPublicKey;
|
|
2253
|
+
WriteSEPublicCert: WriteSEPublicCert;
|
|
2039
2254
|
ReadSEPublicCert: ReadSEPublicCert;
|
|
2040
2255
|
SEPublicCert: SEPublicCert;
|
|
2256
|
+
SpiFlashWrite: SpiFlashWrite;
|
|
2257
|
+
SpiFlashRead: SpiFlashRead;
|
|
2258
|
+
SpiFlashData: SpiFlashData;
|
|
2259
|
+
SESignMessage: SESignMessage;
|
|
2260
|
+
SEMessageSignature: SEMessageSignature;
|
|
2261
|
+
NFTWriteInfo: NFTWriteInfo;
|
|
2262
|
+
NFTWriteData: NFTWriteData;
|
|
2041
2263
|
RebootToBootloader: RebootToBootloader;
|
|
2042
|
-
|
|
2043
|
-
|
|
2264
|
+
NearGetAddress: NearGetAddress;
|
|
2265
|
+
NearAddress: NearAddress;
|
|
2266
|
+
NearSignTx: NearSignTx;
|
|
2267
|
+
NearSignedTx: NearSignedTx;
|
|
2044
2268
|
NEMGetAddress: NEMGetAddress;
|
|
2045
2269
|
NEMAddress: NEMAddress;
|
|
2046
2270
|
NEMTransactionCommon: NEMTransactionCommon;
|
|
@@ -2062,6 +2286,10 @@ declare type MessageType = {
|
|
|
2062
2286
|
RipplePayment: RipplePayment;
|
|
2063
2287
|
RippleSignTx: RippleSignTx;
|
|
2064
2288
|
RippleSignedTx: RippleSignedTx;
|
|
2289
|
+
SolanaGetAddress: SolanaGetAddress;
|
|
2290
|
+
SolanaAddress: SolanaAddress;
|
|
2291
|
+
SolanaSignTx: SolanaSignTx;
|
|
2292
|
+
SolanaSignedTx: SolanaSignedTx;
|
|
2065
2293
|
StarcoinGetAddress: StarcoinGetAddress;
|
|
2066
2294
|
StarcoinAddress: StarcoinAddress;
|
|
2067
2295
|
StarcoinGetPublicKey: StarcoinGetPublicKey;
|
|
@@ -2105,6 +2333,16 @@ declare type MessageType = {
|
|
|
2105
2333
|
TezosBallotOp: TezosBallotOp;
|
|
2106
2334
|
TezosSignTx: TezosSignTx;
|
|
2107
2335
|
TezosSignedTx: TezosSignedTx;
|
|
2336
|
+
TronGetAddress: TronGetAddress;
|
|
2337
|
+
TronAddress: TronAddress;
|
|
2338
|
+
TronTransferContract: TronTransferContract;
|
|
2339
|
+
TronTriggerSmartContract: TronTriggerSmartContract;
|
|
2340
|
+
TronContract: TronContract;
|
|
2341
|
+
TronSignTx: TronSignTx;
|
|
2342
|
+
TronSignedTx: TronSignedTx;
|
|
2343
|
+
TronSignMessage: TronSignMessage;
|
|
2344
|
+
TronMessageSignature: TronMessageSignature;
|
|
2345
|
+
facotry: facotry;
|
|
2108
2346
|
};
|
|
2109
2347
|
declare type MessageKey = keyof MessageType;
|
|
2110
2348
|
declare type MessageResponse<T extends MessageKey> = {
|
|
@@ -2114,6 +2352,10 @@ declare type MessageResponse<T extends MessageKey> = {
|
|
|
2114
2352
|
declare type TypedCall = <T extends MessageKey, R extends MessageKey>(type: T, resType: R, message?: MessageType[T]) => Promise<MessageResponse<R>>;
|
|
2115
2353
|
|
|
2116
2354
|
type messages_UintType = UintType;
|
|
2355
|
+
type messages_AptosGetAddress = AptosGetAddress;
|
|
2356
|
+
type messages_AptosAddress = AptosAddress;
|
|
2357
|
+
type messages_AptosSignTx = AptosSignTx;
|
|
2358
|
+
type messages_AptosSignedTx = AptosSignedTx;
|
|
2117
2359
|
type messages_BinanceGetAddress = BinanceGetAddress;
|
|
2118
2360
|
type messages_BinanceAddress = BinanceAddress;
|
|
2119
2361
|
type messages_BinanceGetPublicKey = BinanceGetPublicKey;
|
|
@@ -2171,11 +2413,6 @@ type messages_TxOutput = TxOutput;
|
|
|
2171
2413
|
type messages_PrevTx = PrevTx;
|
|
2172
2414
|
type messages_PrevInput = PrevInput;
|
|
2173
2415
|
type messages_PrevOutput = PrevOutput;
|
|
2174
|
-
type messages_TextMemo = TextMemo;
|
|
2175
|
-
type messages_RefundMemo = RefundMemo;
|
|
2176
|
-
type messages_CoinPurchaseMemo = CoinPurchaseMemo;
|
|
2177
|
-
type messages_PaymentRequestMemo = PaymentRequestMemo;
|
|
2178
|
-
type messages_TxAckPaymentRequest = TxAckPaymentRequest;
|
|
2179
2416
|
type messages_TxAckResponse = TxAckResponse;
|
|
2180
2417
|
type messages_TxAck = TxAck;
|
|
2181
2418
|
type messages_TxAckInputWrapper = TxAckInputWrapper;
|
|
@@ -2192,10 +2429,14 @@ type messages_TxAckPrevExtraData = TxAckPrevExtraData;
|
|
|
2192
2429
|
type messages_GetOwnershipProof = GetOwnershipProof;
|
|
2193
2430
|
type messages_OwnershipProof = OwnershipProof;
|
|
2194
2431
|
type messages_AuthorizeCoinJoin = AuthorizeCoinJoin;
|
|
2432
|
+
type messages_BIP32Address = BIP32Address;
|
|
2433
|
+
type messages_GetPublicKeyMultiple = GetPublicKeyMultiple;
|
|
2434
|
+
type messages_PublicKeyMultiple = PublicKeyMultiple;
|
|
2195
2435
|
type messages_FirmwareErase = FirmwareErase;
|
|
2196
2436
|
type messages_FirmwareRequest = FirmwareRequest;
|
|
2197
2437
|
type messages_FirmwareUpload = FirmwareUpload;
|
|
2198
2438
|
type messages_SelfTest = SelfTest;
|
|
2439
|
+
type messages_FirmwareErase_ex = FirmwareErase_ex;
|
|
2199
2440
|
type messages_CardanoDerivationType = CardanoDerivationType;
|
|
2200
2441
|
declare const messages_CardanoDerivationType: typeof CardanoDerivationType;
|
|
2201
2442
|
type messages_CardanoAddressType = CardanoAddressType;
|
|
@@ -2237,8 +2478,6 @@ type messages_CardanoTxWithdrawal = CardanoTxWithdrawal;
|
|
|
2237
2478
|
type messages_CardanoCatalystRegistrationParametersType = CardanoCatalystRegistrationParametersType;
|
|
2238
2479
|
type messages_CardanoTxAuxiliaryData = CardanoTxAuxiliaryData;
|
|
2239
2480
|
type messages_CardanoTxMint = CardanoTxMint;
|
|
2240
|
-
type messages_CardanoTxCollateralInput = CardanoTxCollateralInput;
|
|
2241
|
-
type messages_CardanoTxRequiredSigner = CardanoTxRequiredSigner;
|
|
2242
2481
|
type messages_CardanoTxItemAck = CardanoTxItemAck;
|
|
2243
2482
|
type messages_CardanoTxAuxiliaryDataSupplement = CardanoTxAuxiliaryDataSupplement;
|
|
2244
2483
|
type messages_CardanoTxWitnessRequest = CardanoTxWitnessRequest;
|
|
@@ -2277,6 +2516,15 @@ type messages_PassphraseRequest = PassphraseRequest;
|
|
|
2277
2516
|
type messages_PassphraseAck = PassphraseAck;
|
|
2278
2517
|
type messages_Deprecated_PassphraseStateRequest = Deprecated_PassphraseStateRequest;
|
|
2279
2518
|
type messages_Deprecated_PassphraseStateAck = Deprecated_PassphraseStateAck;
|
|
2519
|
+
type messages_BixinPinInputOnDevice = BixinPinInputOnDevice;
|
|
2520
|
+
type messages_ConfluxGetAddress = ConfluxGetAddress;
|
|
2521
|
+
type messages_ConfluxAddress = ConfluxAddress;
|
|
2522
|
+
type messages_ConfluxSignTx = ConfluxSignTx;
|
|
2523
|
+
type messages_ConfluxTxRequest = ConfluxTxRequest;
|
|
2524
|
+
type messages_ConfluxTxAck = ConfluxTxAck;
|
|
2525
|
+
type messages_ConfluxSignMessage = ConfluxSignMessage;
|
|
2526
|
+
type messages_ConfluxMessageSignature = ConfluxMessageSignature;
|
|
2527
|
+
type messages_ConfluxSignMessageCIP23 = ConfluxSignMessageCIP23;
|
|
2280
2528
|
type messages_CipherKeyValue = CipherKeyValue;
|
|
2281
2529
|
type messages_CipheredKeyValue = CipheredKeyValue;
|
|
2282
2530
|
type messages_IdentityType = IdentityType;
|
|
@@ -2284,8 +2532,6 @@ type messages_SignIdentity = SignIdentity;
|
|
|
2284
2532
|
type messages_SignedIdentity = SignedIdentity;
|
|
2285
2533
|
type messages_GetECDHSessionKey = GetECDHSessionKey;
|
|
2286
2534
|
type messages_ECDHSessionKey = ECDHSessionKey;
|
|
2287
|
-
type messages_DebugButton = DebugButton;
|
|
2288
|
-
declare const messages_DebugButton: typeof DebugButton;
|
|
2289
2535
|
type messages_EosGetPublicKey = EosGetPublicKey;
|
|
2290
2536
|
type messages_EosPublicKey = EosPublicKey;
|
|
2291
2537
|
type messages_EosTxHeader = EosTxHeader;
|
|
@@ -2333,9 +2579,9 @@ type messages_EthereumSignTxEIP1559 = EthereumSignTxEIP1559;
|
|
|
2333
2579
|
type messages_EthereumTxRequest = EthereumTxRequest;
|
|
2334
2580
|
type messages_EthereumTxAck = EthereumTxAck;
|
|
2335
2581
|
type messages_EthereumSignMessage = EthereumSignMessage;
|
|
2336
|
-
type messages_EthereumSignMessageEIP712 = EthereumSignMessageEIP712;
|
|
2337
2582
|
type messages_EthereumMessageSignature = EthereumMessageSignature;
|
|
2338
2583
|
type messages_EthereumVerifyMessage = EthereumVerifyMessage;
|
|
2584
|
+
type messages_EthereumSignMessageEIP712 = EthereumSignMessageEIP712;
|
|
2339
2585
|
type messages_EthereumSignTypedHash = EthereumSignTypedHash;
|
|
2340
2586
|
type messages_EthereumTypedDataSignature = EthereumTypedDataSignature;
|
|
2341
2587
|
type messages_Enum_BackupType = Enum_BackupType;
|
|
@@ -2352,6 +2598,8 @@ type messages_Capability = Capability;
|
|
|
2352
2598
|
type messages_Features = Features;
|
|
2353
2599
|
type messages_LockDevice = LockDevice;
|
|
2354
2600
|
type messages_EndSession = EndSession;
|
|
2601
|
+
type messages_ExportType = ExportType;
|
|
2602
|
+
declare const messages_ExportType: typeof ExportType;
|
|
2355
2603
|
type messages_ApplySettings = ApplySettings;
|
|
2356
2604
|
type messages_ApplyFlags = ApplyFlags;
|
|
2357
2605
|
type messages_ChangePin = ChangePin;
|
|
@@ -2363,11 +2611,6 @@ type messages_Ping = Ping;
|
|
|
2363
2611
|
type messages_Cancel = Cancel;
|
|
2364
2612
|
type messages_GetEntropy = GetEntropy;
|
|
2365
2613
|
type messages_Entropy = Entropy;
|
|
2366
|
-
type messages_GetFirmwareHash = GetFirmwareHash;
|
|
2367
|
-
type messages_FirmwareHash = FirmwareHash;
|
|
2368
|
-
type messages_GetFirmware = GetFirmware;
|
|
2369
|
-
type messages_FirmwareChunk = FirmwareChunk;
|
|
2370
|
-
type messages_FirmwareChunkAck = FirmwareChunkAck;
|
|
2371
2614
|
type messages_WipeDevice = WipeDevice;
|
|
2372
2615
|
type messages_ResetDevice = ResetDevice;
|
|
2373
2616
|
type messages_BackupDevice = BackupDevice;
|
|
@@ -2387,16 +2630,45 @@ type messages_NextU2FCounter = NextU2FCounter;
|
|
|
2387
2630
|
type messages_DoPreauthorized = DoPreauthorized;
|
|
2388
2631
|
type messages_PreauthorizedRequest = PreauthorizedRequest;
|
|
2389
2632
|
type messages_CancelAuthorization = CancelAuthorization;
|
|
2633
|
+
type messages_SeedRequestType = SeedRequestType;
|
|
2634
|
+
declare const messages_SeedRequestType: typeof SeedRequestType;
|
|
2635
|
+
type messages_BixinSeedOperate = BixinSeedOperate;
|
|
2636
|
+
type messages_BixinMessageSE = BixinMessageSE;
|
|
2637
|
+
type messages_BixinOutMessageSE = BixinOutMessageSE;
|
|
2390
2638
|
type messages_BixinReboot = BixinReboot;
|
|
2639
|
+
type messages_BixinBackupRequest = BixinBackupRequest;
|
|
2640
|
+
type messages_BixinBackupAck = BixinBackupAck;
|
|
2641
|
+
type messages_BixinRestoreRequest = BixinRestoreRequest;
|
|
2642
|
+
type messages_BixinRestoreAck = BixinRestoreAck;
|
|
2391
2643
|
type messages_BixinVerifyDeviceRequest = BixinVerifyDeviceRequest;
|
|
2392
2644
|
type messages_BixinVerifyDeviceAck = BixinVerifyDeviceAck;
|
|
2393
|
-
type
|
|
2394
|
-
|
|
2645
|
+
type messages_WL_OperationType = WL_OperationType;
|
|
2646
|
+
declare const messages_WL_OperationType: typeof WL_OperationType;
|
|
2647
|
+
type messages_BixinWhiteListRequest = BixinWhiteListRequest;
|
|
2648
|
+
type messages_BixinWhiteListAck = BixinWhiteListAck;
|
|
2649
|
+
type messages_BixinLoadDevice = BixinLoadDevice;
|
|
2650
|
+
type messages_BixinBackupDevice = BixinBackupDevice;
|
|
2651
|
+
type messages_BixinBackupDeviceAck = BixinBackupDeviceAck;
|
|
2652
|
+
type messages_DeviceInfoSettings = DeviceInfoSettings;
|
|
2653
|
+
type messages_GetDeviceInfo = GetDeviceInfo;
|
|
2654
|
+
type messages_DeviceInfo = DeviceInfo;
|
|
2655
|
+
type messages_ReadSEPublicKey = ReadSEPublicKey;
|
|
2656
|
+
type messages_SEPublicKey = SEPublicKey;
|
|
2657
|
+
type messages_WriteSEPublicCert = WriteSEPublicCert;
|
|
2395
2658
|
type messages_ReadSEPublicCert = ReadSEPublicCert;
|
|
2396
2659
|
type messages_SEPublicCert = SEPublicCert;
|
|
2660
|
+
type messages_SpiFlashWrite = SpiFlashWrite;
|
|
2661
|
+
type messages_SpiFlashRead = SpiFlashRead;
|
|
2662
|
+
type messages_SpiFlashData = SpiFlashData;
|
|
2663
|
+
type messages_SESignMessage = SESignMessage;
|
|
2664
|
+
type messages_SEMessageSignature = SEMessageSignature;
|
|
2665
|
+
type messages_NFTWriteInfo = NFTWriteInfo;
|
|
2666
|
+
type messages_NFTWriteData = NFTWriteData;
|
|
2397
2667
|
type messages_RebootToBootloader = RebootToBootloader;
|
|
2398
|
-
type
|
|
2399
|
-
type
|
|
2668
|
+
type messages_NearGetAddress = NearGetAddress;
|
|
2669
|
+
type messages_NearAddress = NearAddress;
|
|
2670
|
+
type messages_NearSignTx = NearSignTx;
|
|
2671
|
+
type messages_NearSignedTx = NearSignedTx;
|
|
2400
2672
|
type messages_NEMGetAddress = NEMGetAddress;
|
|
2401
2673
|
type messages_NEMAddress = NEMAddress;
|
|
2402
2674
|
type messages_NEMTransactionCommon = NEMTransactionCommon;
|
|
@@ -2430,8 +2702,6 @@ type messages_SolanaGetAddress = SolanaGetAddress;
|
|
|
2430
2702
|
type messages_SolanaAddress = SolanaAddress;
|
|
2431
2703
|
type messages_SolanaSignTx = SolanaSignTx;
|
|
2432
2704
|
type messages_SolanaSignedTx = SolanaSignedTx;
|
|
2433
|
-
type messages_StellarAssetType = StellarAssetType;
|
|
2434
|
-
declare const messages_StellarAssetType: typeof StellarAssetType;
|
|
2435
2705
|
type messages_StarcoinGetAddress = StarcoinGetAddress;
|
|
2436
2706
|
type messages_StarcoinAddress = StarcoinAddress;
|
|
2437
2707
|
type messages_StarcoinGetPublicKey = StarcoinGetPublicKey;
|
|
@@ -2441,6 +2711,8 @@ type messages_StarcoinSignedTx = StarcoinSignedTx;
|
|
|
2441
2711
|
type messages_StarcoinSignMessage = StarcoinSignMessage;
|
|
2442
2712
|
type messages_StarcoinMessageSignature = StarcoinMessageSignature;
|
|
2443
2713
|
type messages_StarcoinVerifyMessage = StarcoinVerifyMessage;
|
|
2714
|
+
type messages_StellarAssetType = StellarAssetType;
|
|
2715
|
+
declare const messages_StellarAssetType: typeof StellarAssetType;
|
|
2444
2716
|
type messages_StellarAsset = StellarAsset;
|
|
2445
2717
|
type messages_StellarGetAddress = StellarGetAddress;
|
|
2446
2718
|
type messages_StellarAddress = StellarAddress;
|
|
@@ -2483,6 +2755,18 @@ declare const messages_TezosBallotType: typeof TezosBallotType;
|
|
|
2483
2755
|
type messages_TezosBallotOp = TezosBallotOp;
|
|
2484
2756
|
type messages_TezosSignTx = TezosSignTx;
|
|
2485
2757
|
type messages_TezosSignedTx = TezosSignedTx;
|
|
2758
|
+
type messages_TronGetAddress = TronGetAddress;
|
|
2759
|
+
type messages_TronAddress = TronAddress;
|
|
2760
|
+
type messages_TronTransferContract = TronTransferContract;
|
|
2761
|
+
type messages_TronTriggerSmartContract = TronTriggerSmartContract;
|
|
2762
|
+
type messages_TronContract = TronContract;
|
|
2763
|
+
type messages_TronSignTx = TronSignTx;
|
|
2764
|
+
type messages_TronSignedTx = TronSignedTx;
|
|
2765
|
+
type messages_TronSignMessage = TronSignMessage;
|
|
2766
|
+
type messages_TronMessageSignature = TronMessageSignature;
|
|
2767
|
+
type messages_facotry = facotry;
|
|
2768
|
+
type messages_CommandFlags = CommandFlags;
|
|
2769
|
+
declare const messages_CommandFlags: typeof CommandFlags;
|
|
2486
2770
|
type messages_MessageType = MessageType;
|
|
2487
2771
|
type messages_MessageKey = MessageKey;
|
|
2488
2772
|
type messages_MessageResponse<T extends MessageKey> = MessageResponse<T>;
|
|
@@ -2490,6 +2774,10 @@ type messages_TypedCall = TypedCall;
|
|
|
2490
2774
|
declare namespace messages {
|
|
2491
2775
|
export {
|
|
2492
2776
|
messages_UintType as UintType,
|
|
2777
|
+
messages_AptosGetAddress as AptosGetAddress,
|
|
2778
|
+
messages_AptosAddress as AptosAddress,
|
|
2779
|
+
messages_AptosSignTx as AptosSignTx,
|
|
2780
|
+
messages_AptosSignedTx as AptosSignedTx,
|
|
2493
2781
|
messages_BinanceGetAddress as BinanceGetAddress,
|
|
2494
2782
|
messages_BinanceAddress as BinanceAddress,
|
|
2495
2783
|
messages_BinanceGetPublicKey as BinanceGetPublicKey,
|
|
@@ -2539,11 +2827,6 @@ declare namespace messages {
|
|
|
2539
2827
|
messages_PrevTx as PrevTx,
|
|
2540
2828
|
messages_PrevInput as PrevInput,
|
|
2541
2829
|
messages_PrevOutput as PrevOutput,
|
|
2542
|
-
messages_TextMemo as TextMemo,
|
|
2543
|
-
messages_RefundMemo as RefundMemo,
|
|
2544
|
-
messages_CoinPurchaseMemo as CoinPurchaseMemo,
|
|
2545
|
-
messages_PaymentRequestMemo as PaymentRequestMemo,
|
|
2546
|
-
messages_TxAckPaymentRequest as TxAckPaymentRequest,
|
|
2547
2830
|
messages_TxAckResponse as TxAckResponse,
|
|
2548
2831
|
messages_TxAck as TxAck,
|
|
2549
2832
|
messages_TxAckInputWrapper as TxAckInputWrapper,
|
|
@@ -2560,10 +2843,14 @@ declare namespace messages {
|
|
|
2560
2843
|
messages_GetOwnershipProof as GetOwnershipProof,
|
|
2561
2844
|
messages_OwnershipProof as OwnershipProof,
|
|
2562
2845
|
messages_AuthorizeCoinJoin as AuthorizeCoinJoin,
|
|
2846
|
+
messages_BIP32Address as BIP32Address,
|
|
2847
|
+
messages_GetPublicKeyMultiple as GetPublicKeyMultiple,
|
|
2848
|
+
messages_PublicKeyMultiple as PublicKeyMultiple,
|
|
2563
2849
|
messages_FirmwareErase as FirmwareErase,
|
|
2564
2850
|
messages_FirmwareRequest as FirmwareRequest,
|
|
2565
2851
|
messages_FirmwareUpload as FirmwareUpload,
|
|
2566
2852
|
messages_SelfTest as SelfTest,
|
|
2853
|
+
messages_FirmwareErase_ex as FirmwareErase_ex,
|
|
2567
2854
|
messages_CardanoDerivationType as CardanoDerivationType,
|
|
2568
2855
|
messages_CardanoAddressType as CardanoAddressType,
|
|
2569
2856
|
messages_CardanoNativeScriptType as CardanoNativeScriptType,
|
|
@@ -2596,8 +2883,6 @@ declare namespace messages {
|
|
|
2596
2883
|
messages_CardanoCatalystRegistrationParametersType as CardanoCatalystRegistrationParametersType,
|
|
2597
2884
|
messages_CardanoTxAuxiliaryData as CardanoTxAuxiliaryData,
|
|
2598
2885
|
messages_CardanoTxMint as CardanoTxMint,
|
|
2599
|
-
messages_CardanoTxCollateralInput as CardanoTxCollateralInput,
|
|
2600
|
-
messages_CardanoTxRequiredSigner as CardanoTxRequiredSigner,
|
|
2601
2886
|
messages_CardanoTxItemAck as CardanoTxItemAck,
|
|
2602
2887
|
messages_CardanoTxAuxiliaryDataSupplement as CardanoTxAuxiliaryDataSupplement,
|
|
2603
2888
|
messages_CardanoTxWitnessRequest as CardanoTxWitnessRequest,
|
|
@@ -2633,6 +2918,15 @@ declare namespace messages {
|
|
|
2633
2918
|
messages_PassphraseAck as PassphraseAck,
|
|
2634
2919
|
messages_Deprecated_PassphraseStateRequest as Deprecated_PassphraseStateRequest,
|
|
2635
2920
|
messages_Deprecated_PassphraseStateAck as Deprecated_PassphraseStateAck,
|
|
2921
|
+
messages_BixinPinInputOnDevice as BixinPinInputOnDevice,
|
|
2922
|
+
messages_ConfluxGetAddress as ConfluxGetAddress,
|
|
2923
|
+
messages_ConfluxAddress as ConfluxAddress,
|
|
2924
|
+
messages_ConfluxSignTx as ConfluxSignTx,
|
|
2925
|
+
messages_ConfluxTxRequest as ConfluxTxRequest,
|
|
2926
|
+
messages_ConfluxTxAck as ConfluxTxAck,
|
|
2927
|
+
messages_ConfluxSignMessage as ConfluxSignMessage,
|
|
2928
|
+
messages_ConfluxMessageSignature as ConfluxMessageSignature,
|
|
2929
|
+
messages_ConfluxSignMessageCIP23 as ConfluxSignMessageCIP23,
|
|
2636
2930
|
messages_CipherKeyValue as CipherKeyValue,
|
|
2637
2931
|
messages_CipheredKeyValue as CipheredKeyValue,
|
|
2638
2932
|
messages_IdentityType as IdentityType,
|
|
@@ -2640,7 +2934,6 @@ declare namespace messages {
|
|
|
2640
2934
|
messages_SignedIdentity as SignedIdentity,
|
|
2641
2935
|
messages_GetECDHSessionKey as GetECDHSessionKey,
|
|
2642
2936
|
messages_ECDHSessionKey as ECDHSessionKey,
|
|
2643
|
-
messages_DebugButton as DebugButton,
|
|
2644
2937
|
messages_EosGetPublicKey as EosGetPublicKey,
|
|
2645
2938
|
messages_EosPublicKey as EosPublicKey,
|
|
2646
2939
|
messages_EosTxHeader as EosTxHeader,
|
|
@@ -2687,9 +2980,9 @@ declare namespace messages {
|
|
|
2687
2980
|
messages_EthereumTxRequest as EthereumTxRequest,
|
|
2688
2981
|
messages_EthereumTxAck as EthereumTxAck,
|
|
2689
2982
|
messages_EthereumSignMessage as EthereumSignMessage,
|
|
2690
|
-
messages_EthereumSignMessageEIP712 as EthereumSignMessageEIP712,
|
|
2691
2983
|
messages_EthereumMessageSignature as EthereumMessageSignature,
|
|
2692
2984
|
messages_EthereumVerifyMessage as EthereumVerifyMessage,
|
|
2985
|
+
messages_EthereumSignMessageEIP712 as EthereumSignMessageEIP712,
|
|
2693
2986
|
messages_EthereumSignTypedHash as EthereumSignTypedHash,
|
|
2694
2987
|
messages_EthereumTypedDataSignature as EthereumTypedDataSignature,
|
|
2695
2988
|
messages_Enum_BackupType as Enum_BackupType,
|
|
@@ -2703,6 +2996,7 @@ declare namespace messages {
|
|
|
2703
2996
|
messages_Features as Features,
|
|
2704
2997
|
messages_LockDevice as LockDevice,
|
|
2705
2998
|
messages_EndSession as EndSession,
|
|
2999
|
+
messages_ExportType as ExportType,
|
|
2706
3000
|
messages_ApplySettings as ApplySettings,
|
|
2707
3001
|
messages_ApplyFlags as ApplyFlags,
|
|
2708
3002
|
messages_ChangePin as ChangePin,
|
|
@@ -2713,11 +3007,6 @@ declare namespace messages {
|
|
|
2713
3007
|
messages_Cancel as Cancel,
|
|
2714
3008
|
messages_GetEntropy as GetEntropy,
|
|
2715
3009
|
messages_Entropy as Entropy,
|
|
2716
|
-
messages_GetFirmwareHash as GetFirmwareHash,
|
|
2717
|
-
messages_FirmwareHash as FirmwareHash,
|
|
2718
|
-
messages_GetFirmware as GetFirmware,
|
|
2719
|
-
messages_FirmwareChunk as FirmwareChunk,
|
|
2720
|
-
messages_FirmwareChunkAck as FirmwareChunkAck,
|
|
2721
3010
|
messages_WipeDevice as WipeDevice,
|
|
2722
3011
|
messages_ResetDevice as ResetDevice,
|
|
2723
3012
|
messages_BackupDevice as BackupDevice,
|
|
@@ -2735,16 +3024,43 @@ declare namespace messages {
|
|
|
2735
3024
|
messages_DoPreauthorized as DoPreauthorized,
|
|
2736
3025
|
messages_PreauthorizedRequest as PreauthorizedRequest,
|
|
2737
3026
|
messages_CancelAuthorization as CancelAuthorization,
|
|
3027
|
+
messages_SeedRequestType as SeedRequestType,
|
|
3028
|
+
messages_BixinSeedOperate as BixinSeedOperate,
|
|
3029
|
+
messages_BixinMessageSE as BixinMessageSE,
|
|
3030
|
+
messages_BixinOutMessageSE as BixinOutMessageSE,
|
|
2738
3031
|
messages_BixinReboot as BixinReboot,
|
|
3032
|
+
messages_BixinBackupRequest as BixinBackupRequest,
|
|
3033
|
+
messages_BixinBackupAck as BixinBackupAck,
|
|
3034
|
+
messages_BixinRestoreRequest as BixinRestoreRequest,
|
|
3035
|
+
messages_BixinRestoreAck as BixinRestoreAck,
|
|
2739
3036
|
messages_BixinVerifyDeviceRequest as BixinVerifyDeviceRequest,
|
|
2740
3037
|
messages_BixinVerifyDeviceAck as BixinVerifyDeviceAck,
|
|
2741
|
-
|
|
2742
|
-
|
|
3038
|
+
messages_WL_OperationType as WL_OperationType,
|
|
3039
|
+
messages_BixinWhiteListRequest as BixinWhiteListRequest,
|
|
3040
|
+
messages_BixinWhiteListAck as BixinWhiteListAck,
|
|
3041
|
+
messages_BixinLoadDevice as BixinLoadDevice,
|
|
3042
|
+
messages_BixinBackupDevice as BixinBackupDevice,
|
|
3043
|
+
messages_BixinBackupDeviceAck as BixinBackupDeviceAck,
|
|
3044
|
+
messages_DeviceInfoSettings as DeviceInfoSettings,
|
|
3045
|
+
messages_GetDeviceInfo as GetDeviceInfo,
|
|
3046
|
+
messages_DeviceInfo as DeviceInfo,
|
|
3047
|
+
messages_ReadSEPublicKey as ReadSEPublicKey,
|
|
3048
|
+
messages_SEPublicKey as SEPublicKey,
|
|
3049
|
+
messages_WriteSEPublicCert as WriteSEPublicCert,
|
|
2743
3050
|
messages_ReadSEPublicCert as ReadSEPublicCert,
|
|
2744
3051
|
messages_SEPublicCert as SEPublicCert,
|
|
3052
|
+
messages_SpiFlashWrite as SpiFlashWrite,
|
|
3053
|
+
messages_SpiFlashRead as SpiFlashRead,
|
|
3054
|
+
messages_SpiFlashData as SpiFlashData,
|
|
3055
|
+
messages_SESignMessage as SESignMessage,
|
|
3056
|
+
messages_SEMessageSignature as SEMessageSignature,
|
|
3057
|
+
messages_NFTWriteInfo as NFTWriteInfo,
|
|
3058
|
+
messages_NFTWriteData as NFTWriteData,
|
|
2745
3059
|
messages_RebootToBootloader as RebootToBootloader,
|
|
2746
|
-
|
|
2747
|
-
|
|
3060
|
+
messages_NearGetAddress as NearGetAddress,
|
|
3061
|
+
messages_NearAddress as NearAddress,
|
|
3062
|
+
messages_NearSignTx as NearSignTx,
|
|
3063
|
+
messages_NearSignedTx as NearSignedTx,
|
|
2748
3064
|
messages_NEMGetAddress as NEMGetAddress,
|
|
2749
3065
|
messages_NEMAddress as NEMAddress,
|
|
2750
3066
|
messages_NEMTransactionCommon as NEMTransactionCommon,
|
|
@@ -2774,7 +3090,6 @@ declare namespace messages {
|
|
|
2774
3090
|
messages_SolanaAddress as SolanaAddress,
|
|
2775
3091
|
messages_SolanaSignTx as SolanaSignTx,
|
|
2776
3092
|
messages_SolanaSignedTx as SolanaSignedTx,
|
|
2777
|
-
messages_StellarAssetType as StellarAssetType,
|
|
2778
3093
|
messages_StarcoinGetAddress as StarcoinGetAddress,
|
|
2779
3094
|
messages_StarcoinAddress as StarcoinAddress,
|
|
2780
3095
|
messages_StarcoinGetPublicKey as StarcoinGetPublicKey,
|
|
@@ -2784,6 +3099,7 @@ declare namespace messages {
|
|
|
2784
3099
|
messages_StarcoinSignMessage as StarcoinSignMessage,
|
|
2785
3100
|
messages_StarcoinMessageSignature as StarcoinMessageSignature,
|
|
2786
3101
|
messages_StarcoinVerifyMessage as StarcoinVerifyMessage,
|
|
3102
|
+
messages_StellarAssetType as StellarAssetType,
|
|
2787
3103
|
messages_StellarAsset as StellarAsset,
|
|
2788
3104
|
messages_StellarGetAddress as StellarGetAddress,
|
|
2789
3105
|
messages_StellarAddress as StellarAddress,
|
|
@@ -2822,6 +3138,17 @@ declare namespace messages {
|
|
|
2822
3138
|
messages_TezosBallotOp as TezosBallotOp,
|
|
2823
3139
|
messages_TezosSignTx as TezosSignTx,
|
|
2824
3140
|
messages_TezosSignedTx as TezosSignedTx,
|
|
3141
|
+
messages_TronGetAddress as TronGetAddress,
|
|
3142
|
+
messages_TronAddress as TronAddress,
|
|
3143
|
+
messages_TronTransferContract as TronTransferContract,
|
|
3144
|
+
messages_TronTriggerSmartContract as TronTriggerSmartContract,
|
|
3145
|
+
messages_TronContract as TronContract,
|
|
3146
|
+
messages_TronSignTx as TronSignTx,
|
|
3147
|
+
messages_TronSignedTx as TronSignedTx,
|
|
3148
|
+
messages_TronSignMessage as TronSignMessage,
|
|
3149
|
+
messages_TronMessageSignature as TronMessageSignature,
|
|
3150
|
+
messages_facotry as facotry,
|
|
3151
|
+
messages_CommandFlags as CommandFlags,
|
|
2825
3152
|
messages_MessageType as MessageType,
|
|
2826
3153
|
messages_MessageKey as MessageKey,
|
|
2827
3154
|
messages_MessageResponse as MessageResponse,
|
|
@@ -2862,11 +3189,11 @@ declare const COMMON_HEADER_SIZE = 6;
|
|
|
2862
3189
|
declare const _default: {
|
|
2863
3190
|
check: typeof check;
|
|
2864
3191
|
buildOne: typeof buildOne;
|
|
2865
|
-
buildBuffers: (messages: protobuf.Root, name: string, data: Record<string, unknown>) =>
|
|
3192
|
+
buildBuffers: (messages: protobuf.Root, name: string, data: Record<string, unknown>) => ByteBuffer[];
|
|
2866
3193
|
buildEncodeBuffers: (messages: protobuf.Root, name: string, data: Record<string, unknown>) => Buffer[];
|
|
2867
3194
|
receiveOne: typeof receiveOne;
|
|
2868
3195
|
parseConfigure: typeof parseConfigure;
|
|
2869
3196
|
decodeProtocol: typeof decodeProtocol;
|
|
2870
3197
|
};
|
|
2871
3198
|
|
|
2872
|
-
export { AcquireInput, Address, AmountUnit, ApplyFlags, ApplySettings, AuthorizeCoinJoin, BUFFER_SIZE, BackupDevice, BackupType, BinanceAddress, BinanceCancelMsg, BinanceCoin, BinanceGetAddress, BinanceGetPublicKey, BinanceInputOutput, BinanceOrderMsg, BinanceOrderSide, BinanceOrderType, BinancePublicKey, BinanceSignTx, BinanceSignedTx, BinanceTimeInForce, BinanceTransferMsg, BinanceTxRequest, BixinReboot, BixinVerifyDeviceAck, BixinVerifyDeviceRequest, ButtonAck, ButtonRequest, ButtonRequestType, COMMON_HEADER_SIZE, Cancel, CancelAuthorization, Capability, CardanoAddress, CardanoAddressParametersType, CardanoAddressType, CardanoAssetGroup, CardanoAssetGroupType, CardanoBlockchainPointerType, CardanoCatalystRegistrationParametersType, CardanoCertificateType, CardanoDerivationType, CardanoGetAddress, CardanoGetNativeScriptHash, CardanoGetPublicKey, CardanoNativeScript, CardanoNativeScriptHash, CardanoNativeScriptHashDisplayFormat, CardanoNativeScriptType, CardanoPoolMetadataType, CardanoPoolOwner, CardanoPoolOwnerType, CardanoPoolParametersType, CardanoPoolRelayParameters, CardanoPoolRelayParametersType, CardanoPoolRelayType, CardanoPublicKey, CardanoSignTx, CardanoSignTxFinished, CardanoSignTxInit, CardanoSignedTx, CardanoSignedTxChunk, CardanoSignedTxChunkAck, CardanoToken, CardanoTokenType, CardanoTxAuxiliaryData, CardanoTxAuxiliaryDataSupplement, CardanoTxAuxiliaryDataSupplementType, CardanoTxAuxiliaryDataType, CardanoTxBodyHash, CardanoTxCertificate, CardanoTxCertificateType,
|
|
3199
|
+
export { AcquireInput, Address, AmountUnit, ApplyFlags, ApplySettings, AptosAddress, AptosGetAddress, AptosSignTx, AptosSignedTx, AuthorizeCoinJoin, BIP32Address, BUFFER_SIZE, BackupDevice, BackupType, BinanceAddress, BinanceCancelMsg, BinanceCoin, BinanceGetAddress, BinanceGetPublicKey, BinanceInputOutput, BinanceOrderMsg, BinanceOrderSide, BinanceOrderType, BinancePublicKey, BinanceSignTx, BinanceSignedTx, BinanceTimeInForce, BinanceTransferMsg, BinanceTxRequest, BixinBackupAck, BixinBackupDevice, BixinBackupDeviceAck, BixinBackupRequest, BixinLoadDevice, BixinMessageSE, BixinOutMessageSE, BixinPinInputOnDevice, BixinReboot, BixinRestoreAck, BixinRestoreRequest, BixinSeedOperate, BixinVerifyDeviceAck, BixinVerifyDeviceRequest, BixinWhiteListAck, BixinWhiteListRequest, ButtonAck, ButtonRequest, ButtonRequestType, COMMON_HEADER_SIZE, Cancel, CancelAuthorization, Capability, CardanoAddress, CardanoAddressParametersType, CardanoAddressType, CardanoAssetGroup, CardanoAssetGroupType, CardanoBlockchainPointerType, CardanoCatalystRegistrationParametersType, CardanoCertificateType, CardanoDerivationType, CardanoGetAddress, CardanoGetNativeScriptHash, CardanoGetPublicKey, CardanoNativeScript, CardanoNativeScriptHash, CardanoNativeScriptHashDisplayFormat, CardanoNativeScriptType, CardanoPoolMetadataType, CardanoPoolOwner, CardanoPoolOwnerType, CardanoPoolParametersType, CardanoPoolRelayParameters, CardanoPoolRelayParametersType, CardanoPoolRelayType, CardanoPublicKey, CardanoSignTx, CardanoSignTxFinished, CardanoSignTxInit, CardanoSignedTx, CardanoSignedTxChunk, CardanoSignedTxChunkAck, CardanoToken, CardanoTokenType, CardanoTxAuxiliaryData, CardanoTxAuxiliaryDataSupplement, CardanoTxAuxiliaryDataSupplementType, CardanoTxAuxiliaryDataType, CardanoTxBodyHash, CardanoTxCertificate, CardanoTxCertificateType, CardanoTxHostAck, CardanoTxInput, CardanoTxInputType, CardanoTxItemAck, CardanoTxMint, CardanoTxOutput, CardanoTxOutputType, CardanoTxSigningMode, CardanoTxWithdrawal, CardanoTxWithdrawalType, CardanoTxWitnessRequest, CardanoTxWitnessResponse, CardanoTxWitnessType, ChangeOutputScriptType, ChangePin, ChangeWipeCode, CipherKeyValue, CipheredKeyValue, CommandFlags, ConfluxAddress, ConfluxGetAddress, ConfluxMessageSignature, ConfluxSignMessage, ConfluxSignMessageCIP23, ConfluxSignTx, ConfluxTxAck, ConfluxTxRequest, DecredStakingSpendType, Deprecated_PassphraseStateAck, Deprecated_PassphraseStateRequest, DeviceInfo, DeviceInfoSettings, DoPreauthorized, ECDHSessionKey, EndSession, Entropy, EntropyAck, EntropyRequest, Enum_BackupType, Enum_ButtonRequestType, Enum_Capability, Enum_InputScriptType, Enum_OutputScriptType, Enum_PinMatrixRequestType, Enum_RequestType, Enum_SafetyCheckLevel, Enum_WordRequestType, EosActionBuyRam, EosActionBuyRamBytes, EosActionCommon, EosActionDelegate, EosActionDeleteAuth, EosActionLinkAuth, EosActionNewAccount, EosActionRefund, EosActionSellRam, EosActionTransfer, EosActionUndelegate, EosActionUnknown, EosActionUnlinkAuth, EosActionUpdateAuth, EosActionVoteProducer, EosAsset, EosAuthorization, EosAuthorizationAccount, EosAuthorizationKey, EosAuthorizationWait, EosGetPublicKey, EosPermissionLevel, EosPublicKey, EosSignTx, EosSignedTx, EosTxActionAck, EosTxActionRequest, EosTxHeader, EthereumAccessList, EthereumAddress, EthereumDataType, EthereumFieldType, EthereumGetAddress, EthereumGetPublicKey, EthereumMessageSignature, EthereumPublicKey, EthereumSignMessage, EthereumSignMessageEIP712, EthereumSignTx, EthereumSignTxEIP1559, EthereumSignTypedData, EthereumSignTypedHash, EthereumStructMember, EthereumTxAck, EthereumTxRequest, EthereumTypedDataSignature, EthereumTypedDataStructAck, EthereumTypedDataStructRequest, EthereumTypedDataValueAck, EthereumTypedDataValueRequest, EthereumVerifyMessage, ExportType, Failure, FailureType, Features, FirmwareErase, FirmwareErase_ex, FirmwareRequest, FirmwareUpload, GetAddress, GetDeviceInfo, GetECDHSessionKey, GetEntropy, GetFeatures, GetNextU2FCounter, GetOwnershipId, GetOwnershipProof, GetPublicKey, GetPublicKeyMultiple, HDNodePathType, HDNodeType, HEADER_SIZE, IdentityType, Initialize, InputScriptType, InternalInputScriptType, LockDevice, MESSAGE_HEADER_BYTE, MESSAGE_TOP_CHAR, MessageFromOneKey, MessageKey, MessageResponse, MessageSignature, MessageType, messages as Messages, MultisigRedeemScriptType, NEMAddress, NEMAggregateModification, NEMCosignatoryModification, NEMDecryptMessage, NEMDecryptedMessage, NEMGetAddress, NEMImportanceTransfer, NEMImportanceTransferMode, NEMModificationType, NEMMosaic, NEMMosaicCreation, NEMMosaicDefinition, NEMMosaicLevy, NEMMosaicSupplyChange, NEMProvisionNamespace, NEMSignTx, NEMSignedTx, NEMSupplyChangeType, NEMTransactionCommon, NEMTransfer, NFTWriteData, NFTWriteInfo, NearAddress, NearGetAddress, NearSignTx, NearSignedTx, NextU2FCounter, OneKeyDeviceInfo, OneKeyDeviceInfoWithSession, OneKeyMobileDeviceInfo, OutputScriptType, OwnershipId, OwnershipProof, PassphraseAck, PassphraseRequest, PinMatrixAck, PinMatrixRequest, PinMatrixRequestType, Ping, PreauthorizedRequest, PrevInput, PrevOutput, PrevTx, PublicKey, PublicKeyMultiple, ReadSEPublicCert, ReadSEPublicKey, RebootToBootloader, RecoveryDevice, RecoveryDeviceType, RequestType, ResetDevice, RippleAddress, RippleGetAddress, RipplePayment, RippleSignTx, RippleSignedTx, SEMessageSignature, SEPublicCert, SEPublicKey, SESignMessage, SafetyCheckLevel, SdProtect, SdProtectOperationType, SeedRequestType, SelfTest, SetU2FCounter, SignIdentity, SignMessage, SignTx, SignedIdentity, SolanaAddress, SolanaGetAddress, SolanaSignTx, SolanaSignedTx, SpiFlashData, SpiFlashRead, SpiFlashWrite, StarcoinAddress, StarcoinGetAddress, StarcoinGetPublicKey, StarcoinMessageSignature, StarcoinPublicKey, StarcoinSignMessage, StarcoinSignTx, StarcoinSignedTx, StarcoinVerifyMessage, StellarAccountMergeOp, StellarAddress, StellarAllowTrustOp, StellarAsset, StellarAssetType, StellarBumpSequenceOp, StellarChangeTrustOp, StellarCreateAccountOp, StellarCreatePassiveSellOfferOp, StellarGetAddress, StellarManageBuyOfferOp, StellarManageDataOp, StellarManageSellOfferOp, StellarMemoType, StellarPathPaymentStrictReceiveOp, StellarPathPaymentStrictSendOp, StellarPaymentOp, StellarSetOptionsOp, StellarSignTx, StellarSignedTx, StellarSignerType, StellarTxOpRequest, Success, TezosAddress, TezosBallotOp, TezosBallotType, TezosContractID, TezosContractType, TezosDelegationOp, TezosGetAddress, TezosGetPublicKey, TezosManagerTransfer, TezosOriginationOp, TezosParametersManager, TezosProposalOp, TezosPublicKey, TezosRevealOp, TezosSignTx, TezosSignedTx, TezosTransactionOp, Transport, TronAddress, TronContract, TronGetAddress, TronMessageSignature, TronSignMessage, TronSignTx, TronSignedTx, TronTransferContract, TronTriggerSmartContract, TxAck, TxAckInput, TxAckInputWrapper, TxAckOutput, TxAckOutputWrapper, TxAckPrevExtraData, TxAckPrevExtraDataWrapper, TxAckPrevInput, TxAckPrevInputWrapper, TxAckPrevMeta, TxAckPrevOutput, TxAckPrevOutputWrapper, TxAckResponse, TxInput, TxInputType, TxOutput, TxOutputBinType, TxOutputType, TxRequest, TxRequestDetailsType, TxRequestSerializedType, TypedCall, UintType, VerifyMessage, WL_OperationType, WipeDevice, WordAck, WordRequest, WordRequestType, WriteSEPublicCert, _default as default, facotry };
|