@onekeyfe/hd-transport 1.0.0-alpha.1 → 1.0.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1245,6 +1245,61 @@ export type EcdsaPublicKeys = {
1245
1245
  public_keys: string[];
1246
1246
  };
1247
1247
 
1248
+ // DnxGetAddress
1249
+ export type DnxGetAddress = {
1250
+ address_n: number[];
1251
+ show_display?: boolean;
1252
+ };
1253
+
1254
+ // DnxAddress
1255
+ export type DnxAddress = {
1256
+ address?: string;
1257
+ };
1258
+
1259
+ // DnxSignTx
1260
+ export type DnxSignTx = {
1261
+ address_n: number[];
1262
+ inputs_count: number;
1263
+ to_address: string;
1264
+ amount: UintType;
1265
+ fee: UintType;
1266
+ payment_id?: string;
1267
+ };
1268
+
1269
+ export type DnxTxKey = {
1270
+ ephemeral_tx_sec_key?: string;
1271
+ ephemeral_tx_pub_key?: string;
1272
+ };
1273
+
1274
+ export type DnxComputedKeyImage = {
1275
+ key_image?: string;
1276
+ };
1277
+
1278
+ // DnxInputRequest
1279
+ export type DnxInputRequest = {
1280
+ request_index?: number;
1281
+ tx_key?: DnxTxKey;
1282
+ computed_key_image?: DnxComputedKeyImage;
1283
+ };
1284
+
1285
+ // DnxInputAck
1286
+ export type DnxInputAck = {
1287
+ prev_index: number;
1288
+ global_index: number;
1289
+ tx_pubkey: string;
1290
+ prev_out_pubkey: string;
1291
+ amount: UintType;
1292
+ };
1293
+
1294
+ // DnxRTSigsRequest
1295
+ export type DnxRTSigsRequest = {};
1296
+
1297
+ // DnxSignedTx
1298
+ export type DnxSignedTx = {
1299
+ signatures: string[];
1300
+ output_keys: string[];
1301
+ };
1302
+
1248
1303
  // EmmcFixPermission
1249
1304
  export type EmmcFixPermission = {};
1250
1305
 
@@ -3918,6 +3973,15 @@ export type MessageType = {
3918
3973
  Path: Path;
3919
3974
  BatchGetPublickeys: BatchGetPublickeys;
3920
3975
  EcdsaPublicKeys: EcdsaPublicKeys;
3976
+ DnxGetAddress: DnxGetAddress;
3977
+ DnxAddress: DnxAddress;
3978
+ DnxSignTx: DnxSignTx;
3979
+ DnxTxKey: DnxTxKey;
3980
+ DnxComputedKeyImage: DnxComputedKeyImage;
3981
+ DnxInputRequest: DnxInputRequest;
3982
+ DnxInputAck: DnxInputAck;
3983
+ DnxRTSigsRequest: DnxRTSigsRequest;
3984
+ DnxSignedTx: DnxSignedTx;
3921
3985
  EmmcFixPermission: EmmcFixPermission;
3922
3986
  EmmcPath: EmmcPath;
3923
3987
  EmmcPathInfo: EmmcPathInfo;