@onekeyfe/hd-transport 0.1.43 → 0.1.46

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 CHANGED
@@ -79,7 +79,21 @@ declare type Transport = {
79
79
  };
80
80
 
81
81
  declare type UintType = string | number;
82
- declare type Empty = Record<string, never>;
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
+ };
83
97
  declare type BinanceGetAddress = {
84
98
  address_n: number[];
85
99
  show_display?: boolean;
@@ -96,20 +110,20 @@ declare type BinancePublicKey = {
96
110
  };
97
111
  declare type BinanceSignTx = {
98
112
  address_n: number[];
99
- msg_count: number;
100
- account_number: number;
113
+ msg_count?: number;
114
+ account_number?: number;
101
115
  chain_id?: string;
102
116
  memo?: string;
103
- sequence: number;
104
- source: number;
117
+ sequence?: number;
118
+ source?: number;
105
119
  };
106
- declare type BinanceTxRequest = Record<string, never>;
120
+ declare type BinanceTxRequest = {};
107
121
  declare type BinanceCoin = {
108
- amount: UintType;
109
- denom: string;
122
+ amount?: UintType;
123
+ denom?: string;
110
124
  };
111
125
  declare type BinanceInputOutput = {
112
- address: string;
126
+ address?: string;
113
127
  coins: BinanceCoin[];
114
128
  };
115
129
  declare type BinanceTransferMsg = {
@@ -135,13 +149,13 @@ declare enum BinanceTimeInForce {
135
149
  }
136
150
  declare type BinanceOrderMsg = {
137
151
  id?: string;
138
- ordertype: BinanceOrderType;
139
- price: number;
140
- quantity: number;
152
+ ordertype?: BinanceOrderType;
153
+ price?: number;
154
+ quantity?: number;
141
155
  sender?: string;
142
- side: BinanceOrderSide;
156
+ side?: BinanceOrderSide;
143
157
  symbol?: string;
144
- timeinforce: BinanceTimeInForce;
158
+ timeinforce?: BinanceTimeInForce;
145
159
  };
146
160
  declare type BinanceCancelMsg = {
147
161
  refid?: string;
@@ -223,7 +237,6 @@ declare type GetAddress = {
223
237
  };
224
238
  declare type Address = {
225
239
  address: string;
226
- mac?: string;
227
240
  };
228
241
  declare type GetOwnershipId = {
229
242
  address_n: number[];
@@ -272,8 +285,7 @@ declare enum Enum_RequestType {
272
285
  TXFINISHED = 3,
273
286
  TXEXTRADATA = 4,
274
287
  TXORIGINPUT = 5,
275
- TXORIGOUTPUT = 6,
276
- TXPAYMENTREQ = 7
288
+ TXORIGOUTPUT = 6
277
289
  }
278
290
  declare type RequestType = keyof typeof Enum_RequestType;
279
291
  declare type TxRequestDetailsType = {
@@ -376,31 +388,6 @@ declare type PrevOutput = {
376
388
  script_pubkey: string;
377
389
  decred_script_version?: number;
378
390
  };
379
- declare type TextMemo = {
380
- text: string;
381
- };
382
- declare type RefundMemo = {
383
- address: string;
384
- mac: string;
385
- };
386
- declare type CoinPurchaseMemo = {
387
- coin_type: number;
388
- amount: UintType;
389
- address: string;
390
- mac: string;
391
- };
392
- declare type PaymentRequestMemo = {
393
- text_memo?: TextMemo;
394
- refund_memo?: RefundMemo;
395
- coin_purchase_memo?: CoinPurchaseMemo;
396
- };
397
- declare type TxAckPaymentRequest = {
398
- nonce?: string;
399
- recipient_name: string;
400
- memos?: PaymentRequestMemo[];
401
- amount?: UintType;
402
- signature: string;
403
- };
404
391
  declare type TxAckResponse = {
405
392
  inputs: Array<TxInputType | PrevInput>;
406
393
  } | {
@@ -472,14 +459,27 @@ declare type OwnershipProof = {
472
459
  };
473
460
  declare type AuthorizeCoinJoin = {
474
461
  coordinator: string;
475
- max_rounds: number;
476
- max_coordinator_fee_rate: number;
477
- max_fee_per_kvbyte: number;
462
+ max_total_fee: number;
463
+ fee_per_anonymity?: number;
478
464
  address_n: number[];
479
465
  coin_name?: string;
480
466
  script_type?: InputScriptType;
481
467
  amount_unit?: AmountUnit;
482
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
+ };
483
483
  declare type FirmwareErase = {
484
484
  length?: number;
485
485
  };
@@ -494,6 +494,9 @@ declare type FirmwareUpload = {
494
494
  declare type SelfTest = {
495
495
  payload?: string;
496
496
  };
497
+ declare type FirmwareErase_ex = {
498
+ length?: number;
499
+ };
497
500
  declare enum CardanoDerivationType {
498
501
  LEDGER = 0,
499
502
  ICARUS = 1,
@@ -543,8 +546,7 @@ declare enum CardanoTxAuxiliaryDataSupplementType {
543
546
  declare enum CardanoTxSigningMode {
544
547
  ORDINARY_TRANSACTION = 0,
545
548
  POOL_REGISTRATION_AS_OWNER = 1,
546
- MULTISIG_TRANSACTION = 2,
547
- PLUTUS_TRANSACTION = 3
549
+ MULTISIG_TRANSACTION = 2
548
550
  }
549
551
  declare enum CardanoTxWitnessType {
550
552
  BYRON_WITNESS = 0,
@@ -615,10 +617,6 @@ declare type CardanoSignTxInit = {
615
617
  witness_requests_count: number;
616
618
  minting_asset_groups_count: number;
617
619
  derivation_type: CardanoDerivationType;
618
- include_network_id?: boolean;
619
- script_data_hash?: string;
620
- collateral_inputs_count: number;
621
- required_signers_count: number;
622
620
  };
623
621
  declare type CardanoTxInput = {
624
622
  prev_hash: string;
@@ -629,7 +627,6 @@ declare type CardanoTxOutput = {
629
627
  address_parameters?: CardanoAddressParametersType;
630
628
  amount: UintType;
631
629
  asset_groups_count: number;
632
- datum_hash?: string;
633
630
  };
634
631
  declare type CardanoAssetGroup = {
635
632
  policy_id: string;
@@ -675,13 +672,11 @@ declare type CardanoTxCertificate = {
675
672
  pool?: string;
676
673
  pool_parameters?: CardanoPoolParametersType;
677
674
  script_hash?: string;
678
- key_hash?: string;
679
675
  };
680
676
  declare type CardanoTxWithdrawal = {
681
677
  path?: number[];
682
678
  amount: UintType;
683
679
  script_hash?: string;
684
- key_hash?: string;
685
680
  };
686
681
  declare type CardanoCatalystRegistrationParametersType = {
687
682
  voting_public_key: string;
@@ -696,15 +691,7 @@ declare type CardanoTxAuxiliaryData = {
696
691
  declare type CardanoTxMint = {
697
692
  asset_groups_count: number;
698
693
  };
699
- declare type CardanoTxCollateralInput = {
700
- prev_hash: string;
701
- prev_index: number;
702
- };
703
- declare type CardanoTxRequiredSigner = {
704
- key_hash?: string;
705
- key_path?: number[];
706
- };
707
- declare type CardanoTxItemAck = Empty;
694
+ declare type CardanoTxItemAck = {};
708
695
  declare type CardanoTxAuxiliaryDataSupplement = {
709
696
  type: CardanoTxAuxiliaryDataSupplementType;
710
697
  auxiliary_data_hash?: string;
@@ -719,11 +706,11 @@ declare type CardanoTxWitnessResponse = {
719
706
  signature: string;
720
707
  chain_code?: string;
721
708
  };
722
- declare type CardanoTxHostAck = Empty;
709
+ declare type CardanoTxHostAck = {};
723
710
  declare type CardanoTxBodyHash = {
724
711
  tx_hash: string;
725
712
  };
726
- declare type CardanoSignTxFinished = Empty;
713
+ declare type CardanoSignTxFinished = {};
727
714
  declare type CardanoTxInputType = {
728
715
  address_n?: number[];
729
716
  prev_hash: string;
@@ -783,7 +770,7 @@ declare type CardanoSignTx = {
783
770
  declare type CardanoSignedTxChunk = {
784
771
  signed_tx_chunk: string;
785
772
  };
786
- declare type CardanoSignedTxChunkAck = Empty;
773
+ declare type CardanoSignedTxChunkAck = {};
787
774
  declare type CardanoSignedTx = {
788
775
  tx_hash: string;
789
776
  serialized_tx?: string;
@@ -809,7 +796,7 @@ declare enum FailureType {
809
796
  Failure_FirmwareError = 99
810
797
  }
811
798
  declare type Failure = {
812
- code?: FailureType | string;
799
+ code?: FailureType;
813
800
  message?: string;
814
801
  };
815
802
  declare enum Enum_ButtonRequestType {
@@ -839,13 +826,15 @@ declare type ButtonRequest = {
839
826
  code?: ButtonRequestType;
840
827
  pages?: number;
841
828
  };
842
- declare type ButtonAck = Empty;
829
+ declare type ButtonAck = {};
843
830
  declare enum Enum_PinMatrixRequestType {
844
831
  PinMatrixRequestType_Current = 1,
845
832
  PinMatrixRequestType_NewFirst = 2,
846
833
  PinMatrixRequestType_NewSecond = 3,
847
834
  PinMatrixRequestType_WipeCodeFirst = 4,
848
- PinMatrixRequestType_WipeCodeSecond = 5
835
+ PinMatrixRequestType_WipeCodeSecond = 5,
836
+ PinMatrixRequestType_BackupFirst = 6,
837
+ PinMatrixRequestType_BackupSecond = 7
849
838
  }
850
839
  declare type PinMatrixRequestType = keyof typeof Enum_PinMatrixRequestType;
851
840
  declare type PinMatrixRequest = {
@@ -853,6 +842,7 @@ declare type PinMatrixRequest = {
853
842
  };
854
843
  declare type PinMatrixAck = {
855
844
  pin: string;
845
+ new_pin?: string;
856
846
  };
857
847
  declare type PassphraseRequest = {
858
848
  _on_device?: boolean;
@@ -865,7 +855,51 @@ declare type PassphraseAck = {
865
855
  declare type Deprecated_PassphraseStateRequest = {
866
856
  state?: string;
867
857
  };
868
- declare type Deprecated_PassphraseStateAck = Empty;
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
+ };
869
903
  declare type CipherKeyValue = {
870
904
  address_n: number[];
871
905
  key: string;
@@ -906,11 +940,6 @@ declare type ECDHSessionKey = {
906
940
  session_key: string;
907
941
  public_key?: string;
908
942
  };
909
- declare enum DebugButton {
910
- NO = 0,
911
- YES = 1,
912
- INFO = 2
913
- }
914
943
  declare type EosGetPublicKey = {
915
944
  address_n: number[];
916
945
  show_display?: boolean;
@@ -929,20 +958,20 @@ declare type EosTxHeader = {
929
958
  };
930
959
  declare type EosSignTx = {
931
960
  address_n: number[];
932
- chain_id: string;
933
- header: EosTxHeader;
934
- num_actions: number;
961
+ chain_id?: string;
962
+ header?: EosTxHeader;
963
+ num_actions?: number;
935
964
  };
936
965
  declare type EosTxActionRequest = {
937
966
  data_size?: number;
938
967
  };
939
968
  declare type EosAsset = {
940
- amount: UintType;
941
- symbol: string;
969
+ amount?: UintType;
970
+ symbol?: string;
942
971
  };
943
972
  declare type EosPermissionLevel = {
944
- actor: string;
945
- permission: string;
973
+ actor?: string;
974
+ permission?: string;
946
975
  };
947
976
  declare type EosAuthorizationKey = {
948
977
  type?: number;
@@ -951,98 +980,98 @@ declare type EosAuthorizationKey = {
951
980
  weight: number;
952
981
  };
953
982
  declare type EosAuthorizationAccount = {
954
- account: EosPermissionLevel;
955
- weight: number;
983
+ account?: EosPermissionLevel;
984
+ weight?: number;
956
985
  };
957
986
  declare type EosAuthorizationWait = {
958
- wait_sec: number;
959
- weight: number;
987
+ wait_sec?: number;
988
+ weight?: number;
960
989
  };
961
990
  declare type EosAuthorization = {
962
- threshold: number;
991
+ threshold?: number;
963
992
  keys: EosAuthorizationKey[];
964
993
  accounts: EosAuthorizationAccount[];
965
994
  waits: EosAuthorizationWait[];
966
995
  };
967
996
  declare type EosActionCommon = {
968
- account: string;
969
- name: string;
997
+ account?: string;
998
+ name?: string;
970
999
  authorization: EosPermissionLevel[];
971
1000
  };
972
1001
  declare type EosActionTransfer = {
973
- sender: string;
974
- receiver: string;
975
- quantity: EosAsset;
976
- memo: string;
1002
+ sender?: string;
1003
+ receiver?: string;
1004
+ quantity?: EosAsset;
1005
+ memo?: string;
977
1006
  };
978
1007
  declare type EosActionDelegate = {
979
- sender: string;
980
- receiver: string;
981
- net_quantity: EosAsset;
982
- cpu_quantity: EosAsset;
983
- transfer: boolean;
1008
+ sender?: string;
1009
+ receiver?: string;
1010
+ net_quantity?: EosAsset;
1011
+ cpu_quantity?: EosAsset;
1012
+ transfer?: boolean;
984
1013
  };
985
1014
  declare type EosActionUndelegate = {
986
- sender: string;
987
- receiver: string;
988
- net_quantity: EosAsset;
989
- cpu_quantity: EosAsset;
1015
+ sender?: string;
1016
+ receiver?: string;
1017
+ net_quantity?: EosAsset;
1018
+ cpu_quantity?: EosAsset;
990
1019
  };
991
1020
  declare type EosActionRefund = {
992
- owner: string;
1021
+ owner?: string;
993
1022
  };
994
1023
  declare type EosActionBuyRam = {
995
- payer: string;
996
- receiver: string;
997
- quantity: EosAsset;
1024
+ payer?: string;
1025
+ receiver?: string;
1026
+ quantity?: EosAsset;
998
1027
  };
999
1028
  declare type EosActionBuyRamBytes = {
1000
- payer: string;
1001
- receiver: string;
1002
- bytes: number;
1029
+ payer?: string;
1030
+ receiver?: string;
1031
+ bytes?: number;
1003
1032
  };
1004
1033
  declare type EosActionSellRam = {
1005
- account: string;
1006
- bytes: number;
1034
+ account?: string;
1035
+ bytes?: number;
1007
1036
  };
1008
1037
  declare type EosActionVoteProducer = {
1009
- voter: string;
1010
- proxy: string;
1038
+ voter?: string;
1039
+ proxy?: string;
1011
1040
  producers: string[];
1012
1041
  };
1013
1042
  declare type EosActionUpdateAuth = {
1014
- account: string;
1015
- permission: string;
1016
- parent: string;
1017
- auth: EosAuthorization;
1043
+ account?: string;
1044
+ permission?: string;
1045
+ parent?: string;
1046
+ auth?: EosAuthorization;
1018
1047
  };
1019
1048
  declare type EosActionDeleteAuth = {
1020
- account: string;
1021
- permission: string;
1049
+ account?: string;
1050
+ permission?: string;
1022
1051
  };
1023
1052
  declare type EosActionLinkAuth = {
1024
- account: string;
1025
- code: string;
1026
- type: string;
1027
- requirement: string;
1053
+ account?: string;
1054
+ code?: string;
1055
+ type?: string;
1056
+ requirement?: string;
1028
1057
  };
1029
1058
  declare type EosActionUnlinkAuth = {
1030
- account: string;
1031
- code: string;
1032
- type: string;
1059
+ account?: string;
1060
+ code?: string;
1061
+ type?: string;
1033
1062
  };
1034
1063
  declare type EosActionNewAccount = {
1035
- creator: string;
1036
- name: string;
1037
- owner: EosAuthorization;
1038
- active: EosAuthorization;
1064
+ creator?: string;
1065
+ name?: string;
1066
+ owner?: EosAuthorization;
1067
+ active?: EosAuthorization;
1039
1068
  };
1040
1069
  declare type EosActionUnknown = {
1041
1070
  data_size: number;
1042
- data_chunk: string;
1071
+ data_chunk?: string;
1043
1072
  };
1044
1073
  declare type EosTxActionAck = {
1045
- common: EosActionCommon;
1074
+ common?: EosActionCommon;
1046
1075
  transfer?: EosActionTransfer;
1047
1076
  delegate?: EosActionDelegate;
1048
1077
  undelegate?: EosActionUndelegate;
@@ -1156,11 +1185,6 @@ declare type EthereumSignMessage = {
1156
1185
  address_n: number[];
1157
1186
  message: string;
1158
1187
  };
1159
- declare type EthereumSignMessageEIP712 = {
1160
- address_n: number[];
1161
- domain_hash: string;
1162
- message_hash: string;
1163
- };
1164
1188
  declare type EthereumMessageSignature = {
1165
1189
  signature: string;
1166
1190
  address: string;
@@ -1170,6 +1194,11 @@ declare type EthereumVerifyMessage = {
1170
1194
  message: string;
1171
1195
  address: string;
1172
1196
  };
1197
+ declare type EthereumSignMessageEIP712 = {
1198
+ address_n: number[];
1199
+ domain_hash?: string;
1200
+ message_hash?: string;
1201
+ };
1173
1202
  declare type EthereumSignTypedHash = {
1174
1203
  address_n: number[];
1175
1204
  domain_separator_hash: string;
@@ -1196,7 +1225,7 @@ declare type Initialize = {
1196
1225
  _skip_passphrase?: boolean;
1197
1226
  derive_cardano?: boolean;
1198
1227
  };
1199
- declare type GetFeatures = Empty;
1228
+ declare type GetFeatures = {};
1200
1229
  declare enum Enum_Capability {
1201
1230
  Capability_Bitcoin = 1,
1202
1231
  Capability_Bitcoin_like = 2,
@@ -1219,13 +1248,6 @@ declare enum Enum_Capability {
1219
1248
  declare type Capability = keyof typeof Enum_Capability;
1220
1249
  declare type Features = {
1221
1250
  vendor: string;
1222
- onekey_serial: string;
1223
- se_ver: string;
1224
- serial_no: string;
1225
- onekey_version: string;
1226
- ble_name: string;
1227
- ble_ver: string;
1228
- ble_enable: boolean;
1229
1251
  major_version: number;
1230
1252
  minor_version: number;
1231
1253
  patch_version: number;
@@ -1249,6 +1271,7 @@ declare type Features = {
1249
1271
  fw_minor: number | null;
1250
1272
  fw_patch: number | null;
1251
1273
  fw_vendor: string | null;
1274
+ fw_vendor_keys?: string;
1252
1275
  unfinished_backup: boolean | null;
1253
1276
  no_backup: boolean | null;
1254
1277
  recovery_mode: boolean | null;
@@ -1263,9 +1286,32 @@ declare type Features = {
1263
1286
  auto_lock_delay_ms: number | null;
1264
1287
  display_rotation: number | null;
1265
1288
  experimental_features: boolean | null;
1266
- };
1267
- declare type LockDevice = Empty;
1268
- declare type EndSession = Empty;
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
+ }
1269
1315
  declare type ApplySettings = {
1270
1316
  language?: string;
1271
1317
  label?: string;
@@ -1277,6 +1323,13 @@ declare type ApplySettings = {
1277
1323
  passphrase_always_on_device?: boolean;
1278
1324
  safety_checks?: SafetyCheckLevel;
1279
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;
1280
1333
  };
1281
1334
  declare type ApplyFlags = {
1282
1335
  flags: number;
@@ -1299,25 +1352,14 @@ declare type Ping = {
1299
1352
  message?: string;
1300
1353
  button_protection?: boolean;
1301
1354
  };
1302
- declare type Cancel = Empty;
1355
+ declare type Cancel = {};
1303
1356
  declare type GetEntropy = {
1304
1357
  size: number;
1305
1358
  };
1306
1359
  declare type Entropy = {
1307
1360
  entropy: string;
1308
1361
  };
1309
- declare type GetFirmwareHash = {
1310
- challenge?: string;
1311
- };
1312
- declare type FirmwareHash = {
1313
- hash: string;
1314
- };
1315
- declare type GetFirmware = Empty;
1316
- declare type FirmwareChunk = {
1317
- chunk: string;
1318
- };
1319
- declare type FirmwareChunkAck = Empty;
1320
- declare type WipeDevice = Empty;
1362
+ declare type WipeDevice = {};
1321
1363
  declare type ResetDevice = {
1322
1364
  display_random?: boolean;
1323
1365
  strength?: number;
@@ -1330,8 +1372,8 @@ declare type ResetDevice = {
1330
1372
  no_backup?: boolean;
1331
1373
  backup_type?: string | number;
1332
1374
  };
1333
- declare type BackupDevice = Empty;
1334
- declare type EntropyRequest = Empty;
1375
+ declare type BackupDevice = {};
1376
+ declare type EntropyRequest = {};
1335
1377
  declare type EntropyAck = {
1336
1378
  entropy: string;
1337
1379
  };
@@ -1365,35 +1407,139 @@ declare type WordAck = {
1365
1407
  declare type SetU2FCounter = {
1366
1408
  u2f_counter: number;
1367
1409
  };
1368
- declare type GetNextU2FCounter = Empty;
1410
+ declare type GetNextU2FCounter = {};
1369
1411
  declare type NextU2FCounter = {
1370
1412
  u2f_counter: number;
1371
1413
  };
1372
- declare type DoPreauthorized = Empty;
1373
- declare type PreauthorizedRequest = Empty;
1374
- declare type CancelAuthorization = Empty;
1375
- declare type BixinReboot = Empty;
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
+ };
1376
1446
  declare type BixinVerifyDeviceRequest = {
1377
- data: Buffer | string;
1447
+ data: string;
1378
1448
  };
1379
1449
  declare type BixinVerifyDeviceAck = {
1380
- cert: Buffer;
1381
- signature: Buffer;
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;
1382
1510
  };
1383
1511
  declare type SESignMessage = {
1384
- message: Buffer | string;
1512
+ message: string;
1385
1513
  };
1386
1514
  declare type SEMessageSignature = {
1387
- signature: Buffer;
1515
+ signature: string;
1388
1516
  };
1389
- declare type ReadSEPublicCert = Empty;
1390
- declare type SEPublicCert = {
1391
- public_cert: Buffer;
1517
+ declare type NFTWriteInfo = {
1518
+ index: number;
1519
+ width: number;
1520
+ height: number;
1521
+ name_zh?: string;
1522
+ name_en?: string;
1392
1523
  };
1393
- declare type RebootToBootloader = Empty;
1394
- declare type GetNonce = Empty;
1395
- declare type Nonce = {
1396
- nonce: string;
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;
1397
1543
  };
1398
1544
  declare type NEMGetAddress = {
1399
1545
  address_n: number[];
@@ -1406,28 +1552,28 @@ declare type NEMAddress = {
1406
1552
  declare type NEMTransactionCommon = {
1407
1553
  address_n?: number[];
1408
1554
  network?: number;
1409
- timestamp: number;
1410
- fee: UintType;
1411
- deadline: number;
1555
+ timestamp?: number;
1556
+ fee?: UintType;
1557
+ deadline?: number;
1412
1558
  signer?: string;
1413
1559
  };
1414
1560
  declare type NEMMosaic = {
1415
- namespace: string;
1416
- mosaic: string;
1417
- quantity: number;
1561
+ namespace?: string;
1562
+ mosaic?: string;
1563
+ quantity?: number;
1418
1564
  };
1419
1565
  declare type NEMTransfer = {
1420
- recipient: string;
1421
- amount: UintType;
1566
+ recipient?: string;
1567
+ amount?: UintType;
1422
1568
  payload?: string;
1423
1569
  public_key?: string;
1424
1570
  mosaics?: NEMMosaic[];
1425
1571
  };
1426
1572
  declare type NEMProvisionNamespace = {
1427
- namespace: string;
1573
+ namespace?: string;
1428
1574
  parent?: string;
1429
- sink: string;
1430
- fee: UintType;
1575
+ sink?: string;
1576
+ fee?: UintType;
1431
1577
  };
1432
1578
  declare enum NEMMosaicLevy {
1433
1579
  MosaicLevy_Absolute = 1,
@@ -1436,8 +1582,8 @@ declare enum NEMMosaicLevy {
1436
1582
  declare type NEMMosaicDefinition = {
1437
1583
  name?: string;
1438
1584
  ticker?: string;
1439
- namespace: string;
1440
- mosaic: string;
1585
+ namespace?: string;
1586
+ mosaic?: string;
1441
1587
  divisibility?: number;
1442
1588
  levy?: NEMMosaicLevy;
1443
1589
  fee?: UintType;
@@ -1447,31 +1593,31 @@ declare type NEMMosaicDefinition = {
1447
1593
  supply?: number;
1448
1594
  mutable_supply?: boolean;
1449
1595
  transferable?: boolean;
1450
- description: string;
1596
+ description?: string;
1451
1597
  networks?: number[];
1452
1598
  };
1453
1599
  declare type NEMMosaicCreation = {
1454
- definition: NEMMosaicDefinition;
1455
- sink: string;
1456
- fee: UintType;
1600
+ definition?: NEMMosaicDefinition;
1601
+ sink?: string;
1602
+ fee?: UintType;
1457
1603
  };
1458
1604
  declare enum NEMSupplyChangeType {
1459
1605
  SupplyChange_Increase = 1,
1460
1606
  SupplyChange_Decrease = 2
1461
1607
  }
1462
1608
  declare type NEMMosaicSupplyChange = {
1463
- namespace: string;
1464
- mosaic: string;
1465
- type: NEMSupplyChangeType;
1466
- delta: number;
1609
+ namespace?: string;
1610
+ mosaic?: string;
1611
+ type?: NEMSupplyChangeType;
1612
+ delta?: number;
1467
1613
  };
1468
1614
  declare enum NEMModificationType {
1469
1615
  CosignatoryModification_Add = 1,
1470
1616
  CosignatoryModification_Delete = 2
1471
1617
  }
1472
1618
  declare type NEMCosignatoryModification = {
1473
- type: NEMModificationType;
1474
- public_key: string;
1619
+ type?: NEMModificationType;
1620
+ public_key?: string;
1475
1621
  };
1476
1622
  declare type NEMAggregateModification = {
1477
1623
  modifications?: NEMCosignatoryModification[];
@@ -1482,11 +1628,11 @@ declare enum NEMImportanceTransferMode {
1482
1628
  ImportanceTransfer_Deactivate = 2
1483
1629
  }
1484
1630
  declare type NEMImportanceTransfer = {
1485
- mode: NEMImportanceTransferMode;
1486
- public_key: string;
1631
+ mode?: NEMImportanceTransferMode;
1632
+ public_key?: string;
1487
1633
  };
1488
1634
  declare type NEMSignTx = {
1489
- transaction: NEMTransactionCommon;
1635
+ transaction?: NEMTransactionCommon;
1490
1636
  multisig?: NEMTransactionCommon;
1491
1637
  transfer?: NEMTransfer;
1492
1638
  cosigning?: boolean;
@@ -1523,11 +1669,11 @@ declare type RipplePayment = {
1523
1669
  };
1524
1670
  declare type RippleSignTx = {
1525
1671
  address_n: number[];
1526
- fee: UintType;
1672
+ fee?: UintType;
1527
1673
  flags?: number;
1528
- sequence: number;
1674
+ sequence?: number;
1529
1675
  last_ledger_sequence?: number;
1530
- payment: RipplePayment;
1676
+ payment?: RipplePayment;
1531
1677
  };
1532
1678
  declare type RippleSignedTx = {
1533
1679
  signature: string;
@@ -1542,16 +1688,11 @@ declare type SolanaAddress = {
1542
1688
  };
1543
1689
  declare type SolanaSignTx = {
1544
1690
  address_n: number[];
1545
- raw_tx?: string;
1691
+ raw_tx: string;
1546
1692
  };
1547
1693
  declare type SolanaSignedTx = {
1548
1694
  signature?: string;
1549
1695
  };
1550
- declare enum StellarAssetType {
1551
- NATIVE = 0,
1552
- ALPHANUM4 = 1,
1553
- ALPHANUM12 = 2
1554
- }
1555
1696
  declare type StarcoinGetAddress = {
1556
1697
  address_n: number[];
1557
1698
  show_display?: boolean;
@@ -1564,29 +1705,34 @@ declare type StarcoinGetPublicKey = {
1564
1705
  show_display?: boolean;
1565
1706
  };
1566
1707
  declare type StarcoinPublicKey = {
1567
- public_key?: string;
1708
+ public_key: string;
1568
1709
  };
1569
1710
  declare type StarcoinSignTx = {
1570
1711
  address_n: number[];
1571
1712
  raw_tx?: string;
1572
1713
  };
1573
1714
  declare type StarcoinSignedTx = {
1574
- public_key?: string;
1575
- signature?: string;
1715
+ public_key: string;
1716
+ signature: string;
1576
1717
  };
1577
1718
  declare type StarcoinSignMessage = {
1578
1719
  address_n: number[];
1579
1720
  message?: string;
1580
1721
  };
1581
1722
  declare type StarcoinMessageSignature = {
1582
- public_key?: string;
1583
- signature?: string;
1723
+ public_key: string;
1724
+ signature: string;
1584
1725
  };
1585
1726
  declare type StarcoinVerifyMessage = {
1586
1727
  public_key?: string;
1587
1728
  signature?: string;
1588
1729
  message?: string;
1589
1730
  };
1731
+ declare enum StellarAssetType {
1732
+ NATIVE = 0,
1733
+ ALPHANUM4 = 1,
1734
+ ALPHANUM12 = 2
1735
+ }
1590
1736
  declare type StellarAsset = {
1591
1737
  type: StellarAssetType;
1592
1738
  code?: string;
@@ -1612,15 +1758,15 @@ declare type StellarSignTx = {
1612
1758
  source_account: string;
1613
1759
  fee: UintType;
1614
1760
  sequence_number: UintType;
1615
- timebounds_start?: number;
1616
- timebounds_end?: number;
1617
- memo_type?: StellarMemoType;
1761
+ timebounds_start: number;
1762
+ timebounds_end: number;
1763
+ memo_type: StellarMemoType;
1618
1764
  memo_text?: string;
1619
1765
  memo_id?: string;
1620
1766
  memo_hash?: Buffer | string;
1621
1767
  num_operations: number;
1622
1768
  };
1623
- declare type StellarTxOpRequest = Empty;
1769
+ declare type StellarTxOpRequest = {};
1624
1770
  declare type StellarPaymentOp = {
1625
1771
  source_account?: string;
1626
1772
  destination_account: string;
@@ -1755,8 +1901,8 @@ declare type TezosRevealOp = {
1755
1901
  public_key: Uint8Array;
1756
1902
  };
1757
1903
  declare type TezosManagerTransfer = {
1758
- destination: TezosContractID;
1759
- amount: UintType;
1904
+ destination?: TezosContractID;
1905
+ amount?: UintType;
1760
1906
  };
1761
1907
  declare type TezosParametersManager = {
1762
1908
  set_delegate?: Uint8Array;
@@ -1796,8 +1942,8 @@ declare type TezosDelegationOp = {
1796
1942
  delegate: Uint8Array;
1797
1943
  };
1798
1944
  declare type TezosProposalOp = {
1799
- source: string;
1800
- period: number;
1945
+ source?: string;
1946
+ period?: number;
1801
1947
  proposals: string[];
1802
1948
  };
1803
1949
  declare enum TezosBallotType {
@@ -1806,10 +1952,10 @@ declare enum TezosBallotType {
1806
1952
  Pass = 2
1807
1953
  }
1808
1954
  declare type TezosBallotOp = {
1809
- source: string;
1810
- period: number;
1811
- proposal: string;
1812
- ballot: TezosBallotType;
1955
+ source?: string;
1956
+ period?: number;
1957
+ proposal?: string;
1958
+ ballot?: TezosBallotType;
1813
1959
  };
1814
1960
  declare type TezosSignTx = {
1815
1961
  address_n: number[];
@@ -1826,7 +1972,60 @@ declare type TezosSignedTx = {
1826
1972
  sig_op_contents: string;
1827
1973
  operation_hash: string;
1828
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
+ }
1829
2024
  declare type MessageType = {
2025
+ AptosGetAddress: AptosGetAddress;
2026
+ AptosAddress: AptosAddress;
2027
+ AptosSignTx: AptosSignTx;
2028
+ AptosSignedTx: AptosSignedTx;
1830
2029
  BinanceGetAddress: BinanceGetAddress;
1831
2030
  BinanceAddress: BinanceAddress;
1832
2031
  BinanceGetPublicKey: BinanceGetPublicKey;
@@ -1861,11 +2060,6 @@ declare type MessageType = {
1861
2060
  PrevTx: PrevTx;
1862
2061
  PrevInput: PrevInput;
1863
2062
  PrevOutput: PrevOutput;
1864
- TextMemo: TextMemo;
1865
- RefundMemo: RefundMemo;
1866
- CoinPurchaseMemo: CoinPurchaseMemo;
1867
- PaymentRequestMemo: PaymentRequestMemo;
1868
- TxAckPaymentRequest: TxAckPaymentRequest;
1869
2063
  TxAck: TxAck;
1870
2064
  TxAckInputWrapper: TxAckInputWrapper;
1871
2065
  TxAckInput: TxAckInput;
@@ -1881,10 +2075,14 @@ declare type MessageType = {
1881
2075
  GetOwnershipProof: GetOwnershipProof;
1882
2076
  OwnershipProof: OwnershipProof;
1883
2077
  AuthorizeCoinJoin: AuthorizeCoinJoin;
2078
+ BIP32Address: BIP32Address;
2079
+ GetPublicKeyMultiple: GetPublicKeyMultiple;
2080
+ PublicKeyMultiple: PublicKeyMultiple;
1884
2081
  FirmwareErase: FirmwareErase;
1885
2082
  FirmwareRequest: FirmwareRequest;
1886
2083
  FirmwareUpload: FirmwareUpload;
1887
2084
  SelfTest: SelfTest;
2085
+ FirmwareErase_ex: FirmwareErase_ex;
1888
2086
  CardanoBlockchainPointerType: CardanoBlockchainPointerType;
1889
2087
  CardanoNativeScript: CardanoNativeScript;
1890
2088
  CardanoGetNativeScriptHash: CardanoGetNativeScriptHash;
@@ -1908,8 +2106,6 @@ declare type MessageType = {
1908
2106
  CardanoCatalystRegistrationParametersType: CardanoCatalystRegistrationParametersType;
1909
2107
  CardanoTxAuxiliaryData: CardanoTxAuxiliaryData;
1910
2108
  CardanoTxMint: CardanoTxMint;
1911
- CardanoTxCollateralInput: CardanoTxCollateralInput;
1912
- CardanoTxRequiredSigner: CardanoTxRequiredSigner;
1913
2109
  CardanoTxItemAck: CardanoTxItemAck;
1914
2110
  CardanoTxAuxiliaryDataSupplement: CardanoTxAuxiliaryDataSupplement;
1915
2111
  CardanoTxWitnessRequest: CardanoTxWitnessRequest;
@@ -1940,6 +2136,15 @@ declare type MessageType = {
1940
2136
  PassphraseAck: PassphraseAck;
1941
2137
  Deprecated_PassphraseStateRequest: Deprecated_PassphraseStateRequest;
1942
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;
1943
2148
  CipherKeyValue: CipherKeyValue;
1944
2149
  CipheredKeyValue: CipheredKeyValue;
1945
2150
  IdentityType: IdentityType;
@@ -1992,9 +2197,9 @@ declare type MessageType = {
1992
2197
  EthereumTxRequest: EthereumTxRequest;
1993
2198
  EthereumTxAck: EthereumTxAck;
1994
2199
  EthereumSignMessage: EthereumSignMessage;
1995
- EthereumSignMessageEIP712: EthereumSignMessageEIP712;
1996
2200
  EthereumMessageSignature: EthereumMessageSignature;
1997
2201
  EthereumVerifyMessage: EthereumVerifyMessage;
2202
+ EthereumSignMessageEIP712: EthereumSignMessageEIP712;
1998
2203
  EthereumSignTypedHash: EthereumSignTypedHash;
1999
2204
  EthereumTypedDataSignature: EthereumTypedDataSignature;
2000
2205
  Initialize: Initialize;
@@ -2011,11 +2216,6 @@ declare type MessageType = {
2011
2216
  Cancel: Cancel;
2012
2217
  GetEntropy: GetEntropy;
2013
2218
  Entropy: Entropy;
2014
- GetFirmwareHash: GetFirmwareHash;
2015
- FirmwareHash: FirmwareHash;
2016
- GetFirmware: GetFirmware;
2017
- FirmwareChunk: FirmwareChunk;
2018
- FirmwareChunkAck: FirmwareChunkAck;
2019
2219
  WipeDevice: WipeDevice;
2020
2220
  ResetDevice: ResetDevice;
2021
2221
  BackupDevice: BackupDevice;
@@ -2030,16 +2230,41 @@ declare type MessageType = {
2030
2230
  DoPreauthorized: DoPreauthorized;
2031
2231
  PreauthorizedRequest: PreauthorizedRequest;
2032
2232
  CancelAuthorization: CancelAuthorization;
2233
+ BixinSeedOperate: BixinSeedOperate;
2234
+ BixinMessageSE: BixinMessageSE;
2235
+ BixinOutMessageSE: BixinOutMessageSE;
2033
2236
  BixinReboot: BixinReboot;
2237
+ BixinBackupRequest: BixinBackupRequest;
2238
+ BixinBackupAck: BixinBackupAck;
2239
+ BixinRestoreRequest: BixinRestoreRequest;
2240
+ BixinRestoreAck: BixinRestoreAck;
2034
2241
  BixinVerifyDeviceRequest: BixinVerifyDeviceRequest;
2035
2242
  BixinVerifyDeviceAck: BixinVerifyDeviceAck;
2036
- SESignMessage: SESignMessage;
2037
- SEMessageSignature: SEMessageSignature;
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;
2038
2254
  ReadSEPublicCert: ReadSEPublicCert;
2039
2255
  SEPublicCert: SEPublicCert;
2256
+ SpiFlashWrite: SpiFlashWrite;
2257
+ SpiFlashRead: SpiFlashRead;
2258
+ SpiFlashData: SpiFlashData;
2259
+ SESignMessage: SESignMessage;
2260
+ SEMessageSignature: SEMessageSignature;
2261
+ NFTWriteInfo: NFTWriteInfo;
2262
+ NFTWriteData: NFTWriteData;
2040
2263
  RebootToBootloader: RebootToBootloader;
2041
- GetNonce: GetNonce;
2042
- Nonce: Nonce;
2264
+ NearGetAddress: NearGetAddress;
2265
+ NearAddress: NearAddress;
2266
+ NearSignTx: NearSignTx;
2267
+ NearSignedTx: NearSignedTx;
2043
2268
  NEMGetAddress: NEMGetAddress;
2044
2269
  NEMAddress: NEMAddress;
2045
2270
  NEMTransactionCommon: NEMTransactionCommon;
@@ -2061,6 +2286,10 @@ declare type MessageType = {
2061
2286
  RipplePayment: RipplePayment;
2062
2287
  RippleSignTx: RippleSignTx;
2063
2288
  RippleSignedTx: RippleSignedTx;
2289
+ SolanaGetAddress: SolanaGetAddress;
2290
+ SolanaAddress: SolanaAddress;
2291
+ SolanaSignTx: SolanaSignTx;
2292
+ SolanaSignedTx: SolanaSignedTx;
2064
2293
  StarcoinGetAddress: StarcoinGetAddress;
2065
2294
  StarcoinAddress: StarcoinAddress;
2066
2295
  StarcoinGetPublicKey: StarcoinGetPublicKey;
@@ -2104,6 +2333,16 @@ declare type MessageType = {
2104
2333
  TezosBallotOp: TezosBallotOp;
2105
2334
  TezosSignTx: TezosSignTx;
2106
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;
2107
2346
  };
2108
2347
  declare type MessageKey = keyof MessageType;
2109
2348
  declare type MessageResponse<T extends MessageKey> = {
@@ -2113,6 +2352,10 @@ declare type MessageResponse<T extends MessageKey> = {
2113
2352
  declare type TypedCall = <T extends MessageKey, R extends MessageKey>(type: T, resType: R, message?: MessageType[T]) => Promise<MessageResponse<R>>;
2114
2353
 
2115
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;
2116
2359
  type messages_BinanceGetAddress = BinanceGetAddress;
2117
2360
  type messages_BinanceAddress = BinanceAddress;
2118
2361
  type messages_BinanceGetPublicKey = BinanceGetPublicKey;
@@ -2170,11 +2413,6 @@ type messages_TxOutput = TxOutput;
2170
2413
  type messages_PrevTx = PrevTx;
2171
2414
  type messages_PrevInput = PrevInput;
2172
2415
  type messages_PrevOutput = PrevOutput;
2173
- type messages_TextMemo = TextMemo;
2174
- type messages_RefundMemo = RefundMemo;
2175
- type messages_CoinPurchaseMemo = CoinPurchaseMemo;
2176
- type messages_PaymentRequestMemo = PaymentRequestMemo;
2177
- type messages_TxAckPaymentRequest = TxAckPaymentRequest;
2178
2416
  type messages_TxAckResponse = TxAckResponse;
2179
2417
  type messages_TxAck = TxAck;
2180
2418
  type messages_TxAckInputWrapper = TxAckInputWrapper;
@@ -2191,10 +2429,14 @@ type messages_TxAckPrevExtraData = TxAckPrevExtraData;
2191
2429
  type messages_GetOwnershipProof = GetOwnershipProof;
2192
2430
  type messages_OwnershipProof = OwnershipProof;
2193
2431
  type messages_AuthorizeCoinJoin = AuthorizeCoinJoin;
2432
+ type messages_BIP32Address = BIP32Address;
2433
+ type messages_GetPublicKeyMultiple = GetPublicKeyMultiple;
2434
+ type messages_PublicKeyMultiple = PublicKeyMultiple;
2194
2435
  type messages_FirmwareErase = FirmwareErase;
2195
2436
  type messages_FirmwareRequest = FirmwareRequest;
2196
2437
  type messages_FirmwareUpload = FirmwareUpload;
2197
2438
  type messages_SelfTest = SelfTest;
2439
+ type messages_FirmwareErase_ex = FirmwareErase_ex;
2198
2440
  type messages_CardanoDerivationType = CardanoDerivationType;
2199
2441
  declare const messages_CardanoDerivationType: typeof CardanoDerivationType;
2200
2442
  type messages_CardanoAddressType = CardanoAddressType;
@@ -2236,8 +2478,6 @@ type messages_CardanoTxWithdrawal = CardanoTxWithdrawal;
2236
2478
  type messages_CardanoCatalystRegistrationParametersType = CardanoCatalystRegistrationParametersType;
2237
2479
  type messages_CardanoTxAuxiliaryData = CardanoTxAuxiliaryData;
2238
2480
  type messages_CardanoTxMint = CardanoTxMint;
2239
- type messages_CardanoTxCollateralInput = CardanoTxCollateralInput;
2240
- type messages_CardanoTxRequiredSigner = CardanoTxRequiredSigner;
2241
2481
  type messages_CardanoTxItemAck = CardanoTxItemAck;
2242
2482
  type messages_CardanoTxAuxiliaryDataSupplement = CardanoTxAuxiliaryDataSupplement;
2243
2483
  type messages_CardanoTxWitnessRequest = CardanoTxWitnessRequest;
@@ -2276,6 +2516,15 @@ type messages_PassphraseRequest = PassphraseRequest;
2276
2516
  type messages_PassphraseAck = PassphraseAck;
2277
2517
  type messages_Deprecated_PassphraseStateRequest = Deprecated_PassphraseStateRequest;
2278
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;
2279
2528
  type messages_CipherKeyValue = CipherKeyValue;
2280
2529
  type messages_CipheredKeyValue = CipheredKeyValue;
2281
2530
  type messages_IdentityType = IdentityType;
@@ -2283,8 +2532,6 @@ type messages_SignIdentity = SignIdentity;
2283
2532
  type messages_SignedIdentity = SignedIdentity;
2284
2533
  type messages_GetECDHSessionKey = GetECDHSessionKey;
2285
2534
  type messages_ECDHSessionKey = ECDHSessionKey;
2286
- type messages_DebugButton = DebugButton;
2287
- declare const messages_DebugButton: typeof DebugButton;
2288
2535
  type messages_EosGetPublicKey = EosGetPublicKey;
2289
2536
  type messages_EosPublicKey = EosPublicKey;
2290
2537
  type messages_EosTxHeader = EosTxHeader;
@@ -2332,9 +2579,9 @@ type messages_EthereumSignTxEIP1559 = EthereumSignTxEIP1559;
2332
2579
  type messages_EthereumTxRequest = EthereumTxRequest;
2333
2580
  type messages_EthereumTxAck = EthereumTxAck;
2334
2581
  type messages_EthereumSignMessage = EthereumSignMessage;
2335
- type messages_EthereumSignMessageEIP712 = EthereumSignMessageEIP712;
2336
2582
  type messages_EthereumMessageSignature = EthereumMessageSignature;
2337
2583
  type messages_EthereumVerifyMessage = EthereumVerifyMessage;
2584
+ type messages_EthereumSignMessageEIP712 = EthereumSignMessageEIP712;
2338
2585
  type messages_EthereumSignTypedHash = EthereumSignTypedHash;
2339
2586
  type messages_EthereumTypedDataSignature = EthereumTypedDataSignature;
2340
2587
  type messages_Enum_BackupType = Enum_BackupType;
@@ -2351,6 +2598,8 @@ type messages_Capability = Capability;
2351
2598
  type messages_Features = Features;
2352
2599
  type messages_LockDevice = LockDevice;
2353
2600
  type messages_EndSession = EndSession;
2601
+ type messages_ExportType = ExportType;
2602
+ declare const messages_ExportType: typeof ExportType;
2354
2603
  type messages_ApplySettings = ApplySettings;
2355
2604
  type messages_ApplyFlags = ApplyFlags;
2356
2605
  type messages_ChangePin = ChangePin;
@@ -2362,11 +2611,6 @@ type messages_Ping = Ping;
2362
2611
  type messages_Cancel = Cancel;
2363
2612
  type messages_GetEntropy = GetEntropy;
2364
2613
  type messages_Entropy = Entropy;
2365
- type messages_GetFirmwareHash = GetFirmwareHash;
2366
- type messages_FirmwareHash = FirmwareHash;
2367
- type messages_GetFirmware = GetFirmware;
2368
- type messages_FirmwareChunk = FirmwareChunk;
2369
- type messages_FirmwareChunkAck = FirmwareChunkAck;
2370
2614
  type messages_WipeDevice = WipeDevice;
2371
2615
  type messages_ResetDevice = ResetDevice;
2372
2616
  type messages_BackupDevice = BackupDevice;
@@ -2386,16 +2630,45 @@ type messages_NextU2FCounter = NextU2FCounter;
2386
2630
  type messages_DoPreauthorized = DoPreauthorized;
2387
2631
  type messages_PreauthorizedRequest = PreauthorizedRequest;
2388
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;
2389
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;
2390
2643
  type messages_BixinVerifyDeviceRequest = BixinVerifyDeviceRequest;
2391
2644
  type messages_BixinVerifyDeviceAck = BixinVerifyDeviceAck;
2392
- type messages_SESignMessage = SESignMessage;
2393
- type messages_SEMessageSignature = SEMessageSignature;
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;
2394
2658
  type messages_ReadSEPublicCert = ReadSEPublicCert;
2395
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;
2396
2667
  type messages_RebootToBootloader = RebootToBootloader;
2397
- type messages_GetNonce = GetNonce;
2398
- type messages_Nonce = Nonce;
2668
+ type messages_NearGetAddress = NearGetAddress;
2669
+ type messages_NearAddress = NearAddress;
2670
+ type messages_NearSignTx = NearSignTx;
2671
+ type messages_NearSignedTx = NearSignedTx;
2399
2672
  type messages_NEMGetAddress = NEMGetAddress;
2400
2673
  type messages_NEMAddress = NEMAddress;
2401
2674
  type messages_NEMTransactionCommon = NEMTransactionCommon;
@@ -2429,8 +2702,6 @@ type messages_SolanaGetAddress = SolanaGetAddress;
2429
2702
  type messages_SolanaAddress = SolanaAddress;
2430
2703
  type messages_SolanaSignTx = SolanaSignTx;
2431
2704
  type messages_SolanaSignedTx = SolanaSignedTx;
2432
- type messages_StellarAssetType = StellarAssetType;
2433
- declare const messages_StellarAssetType: typeof StellarAssetType;
2434
2705
  type messages_StarcoinGetAddress = StarcoinGetAddress;
2435
2706
  type messages_StarcoinAddress = StarcoinAddress;
2436
2707
  type messages_StarcoinGetPublicKey = StarcoinGetPublicKey;
@@ -2440,6 +2711,8 @@ type messages_StarcoinSignedTx = StarcoinSignedTx;
2440
2711
  type messages_StarcoinSignMessage = StarcoinSignMessage;
2441
2712
  type messages_StarcoinMessageSignature = StarcoinMessageSignature;
2442
2713
  type messages_StarcoinVerifyMessage = StarcoinVerifyMessage;
2714
+ type messages_StellarAssetType = StellarAssetType;
2715
+ declare const messages_StellarAssetType: typeof StellarAssetType;
2443
2716
  type messages_StellarAsset = StellarAsset;
2444
2717
  type messages_StellarGetAddress = StellarGetAddress;
2445
2718
  type messages_StellarAddress = StellarAddress;
@@ -2482,6 +2755,18 @@ declare const messages_TezosBallotType: typeof TezosBallotType;
2482
2755
  type messages_TezosBallotOp = TezosBallotOp;
2483
2756
  type messages_TezosSignTx = TezosSignTx;
2484
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;
2485
2770
  type messages_MessageType = MessageType;
2486
2771
  type messages_MessageKey = MessageKey;
2487
2772
  type messages_MessageResponse<T extends MessageKey> = MessageResponse<T>;
@@ -2489,6 +2774,10 @@ type messages_TypedCall = TypedCall;
2489
2774
  declare namespace messages {
2490
2775
  export {
2491
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,
2492
2781
  messages_BinanceGetAddress as BinanceGetAddress,
2493
2782
  messages_BinanceAddress as BinanceAddress,
2494
2783
  messages_BinanceGetPublicKey as BinanceGetPublicKey,
@@ -2538,11 +2827,6 @@ declare namespace messages {
2538
2827
  messages_PrevTx as PrevTx,
2539
2828
  messages_PrevInput as PrevInput,
2540
2829
  messages_PrevOutput as PrevOutput,
2541
- messages_TextMemo as TextMemo,
2542
- messages_RefundMemo as RefundMemo,
2543
- messages_CoinPurchaseMemo as CoinPurchaseMemo,
2544
- messages_PaymentRequestMemo as PaymentRequestMemo,
2545
- messages_TxAckPaymentRequest as TxAckPaymentRequest,
2546
2830
  messages_TxAckResponse as TxAckResponse,
2547
2831
  messages_TxAck as TxAck,
2548
2832
  messages_TxAckInputWrapper as TxAckInputWrapper,
@@ -2559,10 +2843,14 @@ declare namespace messages {
2559
2843
  messages_GetOwnershipProof as GetOwnershipProof,
2560
2844
  messages_OwnershipProof as OwnershipProof,
2561
2845
  messages_AuthorizeCoinJoin as AuthorizeCoinJoin,
2846
+ messages_BIP32Address as BIP32Address,
2847
+ messages_GetPublicKeyMultiple as GetPublicKeyMultiple,
2848
+ messages_PublicKeyMultiple as PublicKeyMultiple,
2562
2849
  messages_FirmwareErase as FirmwareErase,
2563
2850
  messages_FirmwareRequest as FirmwareRequest,
2564
2851
  messages_FirmwareUpload as FirmwareUpload,
2565
2852
  messages_SelfTest as SelfTest,
2853
+ messages_FirmwareErase_ex as FirmwareErase_ex,
2566
2854
  messages_CardanoDerivationType as CardanoDerivationType,
2567
2855
  messages_CardanoAddressType as CardanoAddressType,
2568
2856
  messages_CardanoNativeScriptType as CardanoNativeScriptType,
@@ -2595,8 +2883,6 @@ declare namespace messages {
2595
2883
  messages_CardanoCatalystRegistrationParametersType as CardanoCatalystRegistrationParametersType,
2596
2884
  messages_CardanoTxAuxiliaryData as CardanoTxAuxiliaryData,
2597
2885
  messages_CardanoTxMint as CardanoTxMint,
2598
- messages_CardanoTxCollateralInput as CardanoTxCollateralInput,
2599
- messages_CardanoTxRequiredSigner as CardanoTxRequiredSigner,
2600
2886
  messages_CardanoTxItemAck as CardanoTxItemAck,
2601
2887
  messages_CardanoTxAuxiliaryDataSupplement as CardanoTxAuxiliaryDataSupplement,
2602
2888
  messages_CardanoTxWitnessRequest as CardanoTxWitnessRequest,
@@ -2632,6 +2918,15 @@ declare namespace messages {
2632
2918
  messages_PassphraseAck as PassphraseAck,
2633
2919
  messages_Deprecated_PassphraseStateRequest as Deprecated_PassphraseStateRequest,
2634
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,
2635
2930
  messages_CipherKeyValue as CipherKeyValue,
2636
2931
  messages_CipheredKeyValue as CipheredKeyValue,
2637
2932
  messages_IdentityType as IdentityType,
@@ -2639,7 +2934,6 @@ declare namespace messages {
2639
2934
  messages_SignedIdentity as SignedIdentity,
2640
2935
  messages_GetECDHSessionKey as GetECDHSessionKey,
2641
2936
  messages_ECDHSessionKey as ECDHSessionKey,
2642
- messages_DebugButton as DebugButton,
2643
2937
  messages_EosGetPublicKey as EosGetPublicKey,
2644
2938
  messages_EosPublicKey as EosPublicKey,
2645
2939
  messages_EosTxHeader as EosTxHeader,
@@ -2686,9 +2980,9 @@ declare namespace messages {
2686
2980
  messages_EthereumTxRequest as EthereumTxRequest,
2687
2981
  messages_EthereumTxAck as EthereumTxAck,
2688
2982
  messages_EthereumSignMessage as EthereumSignMessage,
2689
- messages_EthereumSignMessageEIP712 as EthereumSignMessageEIP712,
2690
2983
  messages_EthereumMessageSignature as EthereumMessageSignature,
2691
2984
  messages_EthereumVerifyMessage as EthereumVerifyMessage,
2985
+ messages_EthereumSignMessageEIP712 as EthereumSignMessageEIP712,
2692
2986
  messages_EthereumSignTypedHash as EthereumSignTypedHash,
2693
2987
  messages_EthereumTypedDataSignature as EthereumTypedDataSignature,
2694
2988
  messages_Enum_BackupType as Enum_BackupType,
@@ -2702,6 +2996,7 @@ declare namespace messages {
2702
2996
  messages_Features as Features,
2703
2997
  messages_LockDevice as LockDevice,
2704
2998
  messages_EndSession as EndSession,
2999
+ messages_ExportType as ExportType,
2705
3000
  messages_ApplySettings as ApplySettings,
2706
3001
  messages_ApplyFlags as ApplyFlags,
2707
3002
  messages_ChangePin as ChangePin,
@@ -2712,11 +3007,6 @@ declare namespace messages {
2712
3007
  messages_Cancel as Cancel,
2713
3008
  messages_GetEntropy as GetEntropy,
2714
3009
  messages_Entropy as Entropy,
2715
- messages_GetFirmwareHash as GetFirmwareHash,
2716
- messages_FirmwareHash as FirmwareHash,
2717
- messages_GetFirmware as GetFirmware,
2718
- messages_FirmwareChunk as FirmwareChunk,
2719
- messages_FirmwareChunkAck as FirmwareChunkAck,
2720
3010
  messages_WipeDevice as WipeDevice,
2721
3011
  messages_ResetDevice as ResetDevice,
2722
3012
  messages_BackupDevice as BackupDevice,
@@ -2734,16 +3024,43 @@ declare namespace messages {
2734
3024
  messages_DoPreauthorized as DoPreauthorized,
2735
3025
  messages_PreauthorizedRequest as PreauthorizedRequest,
2736
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,
2737
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,
2738
3036
  messages_BixinVerifyDeviceRequest as BixinVerifyDeviceRequest,
2739
3037
  messages_BixinVerifyDeviceAck as BixinVerifyDeviceAck,
2740
- messages_SESignMessage as SESignMessage,
2741
- messages_SEMessageSignature as SEMessageSignature,
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,
2742
3050
  messages_ReadSEPublicCert as ReadSEPublicCert,
2743
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,
2744
3059
  messages_RebootToBootloader as RebootToBootloader,
2745
- messages_GetNonce as GetNonce,
2746
- messages_Nonce as Nonce,
3060
+ messages_NearGetAddress as NearGetAddress,
3061
+ messages_NearAddress as NearAddress,
3062
+ messages_NearSignTx as NearSignTx,
3063
+ messages_NearSignedTx as NearSignedTx,
2747
3064
  messages_NEMGetAddress as NEMGetAddress,
2748
3065
  messages_NEMAddress as NEMAddress,
2749
3066
  messages_NEMTransactionCommon as NEMTransactionCommon,
@@ -2773,7 +3090,6 @@ declare namespace messages {
2773
3090
  messages_SolanaAddress as SolanaAddress,
2774
3091
  messages_SolanaSignTx as SolanaSignTx,
2775
3092
  messages_SolanaSignedTx as SolanaSignedTx,
2776
- messages_StellarAssetType as StellarAssetType,
2777
3093
  messages_StarcoinGetAddress as StarcoinGetAddress,
2778
3094
  messages_StarcoinAddress as StarcoinAddress,
2779
3095
  messages_StarcoinGetPublicKey as StarcoinGetPublicKey,
@@ -2783,6 +3099,7 @@ declare namespace messages {
2783
3099
  messages_StarcoinSignMessage as StarcoinSignMessage,
2784
3100
  messages_StarcoinMessageSignature as StarcoinMessageSignature,
2785
3101
  messages_StarcoinVerifyMessage as StarcoinVerifyMessage,
3102
+ messages_StellarAssetType as StellarAssetType,
2786
3103
  messages_StellarAsset as StellarAsset,
2787
3104
  messages_StellarGetAddress as StellarGetAddress,
2788
3105
  messages_StellarAddress as StellarAddress,
@@ -2821,6 +3138,17 @@ declare namespace messages {
2821
3138
  messages_TezosBallotOp as TezosBallotOp,
2822
3139
  messages_TezosSignTx as TezosSignTx,
2823
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,
2824
3152
  messages_MessageType as MessageType,
2825
3153
  messages_MessageKey as MessageKey,
2826
3154
  messages_MessageResponse as MessageResponse,
@@ -2868,4 +3196,4 @@ declare const _default: {
2868
3196
  decodeProtocol: typeof decodeProtocol;
2869
3197
  };
2870
3198
 
2871
- 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, CardanoTxCollateralInput, CardanoTxHostAck, CardanoTxInput, CardanoTxInputType, CardanoTxItemAck, CardanoTxMint, CardanoTxOutput, CardanoTxOutputType, CardanoTxRequiredSigner, CardanoTxSigningMode, CardanoTxWithdrawal, CardanoTxWithdrawalType, CardanoTxWitnessRequest, CardanoTxWitnessResponse, CardanoTxWitnessType, ChangeOutputScriptType, ChangePin, ChangeWipeCode, CipherKeyValue, CipheredKeyValue, CoinPurchaseMemo, DebugButton, DecredStakingSpendType, Deprecated_PassphraseStateAck, Deprecated_PassphraseStateRequest, 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, Failure, FailureType, Features, FirmwareChunk, FirmwareChunkAck, FirmwareErase, FirmwareHash, FirmwareRequest, FirmwareUpload, GetAddress, GetECDHSessionKey, GetEntropy, GetFeatures, GetFirmware, GetFirmwareHash, GetNextU2FCounter, GetNonce, GetOwnershipId, GetOwnershipProof, GetPublicKey, 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, NextU2FCounter, Nonce, OneKeyDeviceInfo, OneKeyDeviceInfoWithSession, OneKeyMobileDeviceInfo, OutputScriptType, OwnershipId, OwnershipProof, PassphraseAck, PassphraseRequest, PaymentRequestMemo, PinMatrixAck, PinMatrixRequest, PinMatrixRequestType, Ping, PreauthorizedRequest, PrevInput, PrevOutput, PrevTx, PublicKey, ReadSEPublicCert, RebootToBootloader, RecoveryDevice, RecoveryDeviceType, RefundMemo, RequestType, ResetDevice, RippleAddress, RippleGetAddress, RipplePayment, RippleSignTx, RippleSignedTx, SEMessageSignature, SEPublicCert, SESignMessage, SafetyCheckLevel, SdProtect, SdProtectOperationType, SelfTest, SetU2FCounter, SignIdentity, SignMessage, SignTx, SignedIdentity, SolanaAddress, SolanaGetAddress, SolanaSignTx, SolanaSignedTx, 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, TextMemo, TezosAddress, TezosBallotOp, TezosBallotType, TezosContractID, TezosContractType, TezosDelegationOp, TezosGetAddress, TezosGetPublicKey, TezosManagerTransfer, TezosOriginationOp, TezosParametersManager, TezosProposalOp, TezosPublicKey, TezosRevealOp, TezosSignTx, TezosSignedTx, TezosTransactionOp, Transport, TxAck, TxAckInput, TxAckInputWrapper, TxAckOutput, TxAckOutputWrapper, TxAckPaymentRequest, TxAckPrevExtraData, TxAckPrevExtraDataWrapper, TxAckPrevInput, TxAckPrevInputWrapper, TxAckPrevMeta, TxAckPrevOutput, TxAckPrevOutputWrapper, TxAckResponse, TxInput, TxInputType, TxOutput, TxOutputBinType, TxOutputType, TxRequest, TxRequestDetailsType, TxRequestSerializedType, TypedCall, UintType, VerifyMessage, WipeDevice, WordAck, WordRequest, WordRequestType, _default as default };
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 };