@onekeyfe/hd-transport 1.2.0-alpha.2 → 1.2.0-alpha.4
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/README.md +1 -1
- package/__tests__/messages.test.js +8 -0
- package/__tests__/protocol-v2.test.js +137 -77
- package/dist/constants.d.ts +2 -2
- package/dist/index.d.ts +391 -323
- package/dist/index.js +77 -68
- package/dist/protocols/index.d.ts.map +1 -1
- package/dist/protocols/v2/session.d.ts +1 -1
- package/dist/protocols/v2/session.d.ts.map +1 -1
- package/dist/serialization/protobuf/messages.d.ts.map +1 -1
- package/dist/types/messages.d.ts +280 -222
- package/dist/types/messages.d.ts.map +1 -1
- package/messages-protocol-v2.json +1224 -1804
- package/package.json +2 -2
- package/scripts/protobuf-build.sh +51 -143
- package/src/constants.ts +2 -2
- package/src/protocols/index.ts +1 -0
- package/src/protocols/v2/session.ts +4 -5
- package/src/serialization/protobuf/messages.ts +6 -1
- package/src/types/messages.ts +351 -280
|
@@ -100,7 +100,6 @@
|
|
|
100
100
|
"MessageType_GetFeatures": 55,
|
|
101
101
|
"MessageType_SdProtect": 79,
|
|
102
102
|
"MessageType_ChangeWipeCode": 82,
|
|
103
|
-
"MessageType_EndSession": 83,
|
|
104
103
|
"MessageType_DoPreauthorized": 84,
|
|
105
104
|
"MessageType_PreauthorizedRequest": 85,
|
|
106
105
|
"MessageType_CancelAuthorization": 86,
|
|
@@ -419,8 +418,6 @@
|
|
|
419
418
|
"MessageType_TonSignProof": 11905,
|
|
420
419
|
"MessageType_TonSignedProof": 11906,
|
|
421
420
|
"MessageType_TonTxAck": 11907,
|
|
422
|
-
"MessageType_TonSignData": 11908,
|
|
423
|
-
"MessageType_TonSignedData": 11909,
|
|
424
421
|
"MessageType_ScdoGetAddress": 12001,
|
|
425
422
|
"MessageType_ScdoAddress": 12002,
|
|
426
423
|
"MessageType_ScdoSignTx": 12003,
|
|
@@ -455,43 +452,31 @@
|
|
|
455
452
|
"MessageType_UiviewConfirmTxRequest": 30202,
|
|
456
453
|
"MessageType_UiviewConfirmSignMessageRequest": 30203,
|
|
457
454
|
"MessageType_UiviewResponse": 30204,
|
|
458
|
-
"
|
|
459
|
-
"
|
|
460
|
-
"
|
|
461
|
-
"
|
|
462
|
-
"
|
|
463
|
-
"
|
|
464
|
-
"
|
|
465
|
-
"MessageType_ResourceUpload": 10018,
|
|
466
|
-
"MessageType_ZoomRequest": 10019,
|
|
467
|
-
"MessageType_BlurRequest": 10032,
|
|
468
|
-
"MessageType_ResourceRequest": 10020,
|
|
469
|
-
"MessageType_ResourceAck": 10021,
|
|
470
|
-
"MessageType_ResourceUpdate": 10022,
|
|
471
|
-
"MessageType_ListResDir": 10023,
|
|
472
|
-
"MessageType_FileInfoList": 10024,
|
|
473
|
-
"MessageType_OnekeyGetFeatures": 10025,
|
|
474
|
-
"MessageType_OnekeyFeatures": 10026,
|
|
475
|
-
"MessageType_WriteSEPrivateKey": 10027,
|
|
476
|
-
"MessageType_GetPassphraseState": 10028,
|
|
477
|
-
"MessageType_PassphraseState": 10029,
|
|
478
|
-
"MessageType_UnLockDevice": 10030,
|
|
479
|
-
"MessageType_UnLockDeviceResponse": 10031,
|
|
480
|
-
"MessageType_FactoryDeviceInfoSettings": 60000,
|
|
481
|
-
"MessageType_FactoryGetDeviceInfo": 60001,
|
|
482
|
-
"MessageType_FactoryDeviceInfo": 60002,
|
|
483
|
-
"MessageType_GetProtoVersion": 60200,
|
|
484
|
-
"MessageType_ProtoVersion": 60201,
|
|
485
|
-
"MessageType_StartSession": 60205,
|
|
455
|
+
"MessageType_DeviceFactoryInfoSet": 60000,
|
|
456
|
+
"MessageType_DeviceFactoryInfoGet": 60001,
|
|
457
|
+
"MessageType_DeviceFactoryInfo": 60002,
|
|
458
|
+
"MessageType_DeviceFactoryPermanentLock": 60003,
|
|
459
|
+
"MessageType_DeviceFactoryTest": 60004,
|
|
460
|
+
"MessageType_ProtocolInfoRequest": 60200,
|
|
461
|
+
"MessageType_ProtocolInfo": 60201,
|
|
486
462
|
"MessageType_Ping": 60206,
|
|
487
463
|
"MessageType_Success": 60207,
|
|
488
464
|
"MessageType_Failure": 60208,
|
|
489
|
-
"
|
|
490
|
-
"
|
|
465
|
+
"MessageType_DeviceReboot": 60400,
|
|
466
|
+
"MessageType_DeviceSettings": 60410,
|
|
467
|
+
"MessageType_DeviceSettingsGet": 60411,
|
|
468
|
+
"MessageType_DeviceSettingsSet": 60412,
|
|
469
|
+
"MessageType_DeviceCertificate": 60420,
|
|
470
|
+
"MessageType_DeviceCertificateWrite": 60421,
|
|
471
|
+
"MessageType_DeviceCertificateRead": 60422,
|
|
472
|
+
"MessageType_DeviceCertificateSignature": 60423,
|
|
473
|
+
"MessageType_DeviceCertificateSign": 60424,
|
|
474
|
+
"MessageType_SetWallpaper": 60430,
|
|
475
|
+
"MessageType_GetWallpaper": 60431,
|
|
476
|
+
"MessageType_Wallpaper": 60432,
|
|
477
|
+
"MessageType_DeviceInfoGet": 60600,
|
|
491
478
|
"MessageType_DeviceInfo": 60601,
|
|
492
|
-
"
|
|
493
|
-
"MessageType_OnboardingStatus": 60603,
|
|
494
|
-
"MessageType_FilesystemFixPermission": 60800,
|
|
479
|
+
"MessageType_FilesystemPermissionFix": 60800,
|
|
495
480
|
"MessageType_FilesystemPathInfo": 60801,
|
|
496
481
|
"MessageType_FilesystemPathInfoQuery": 60802,
|
|
497
482
|
"MessageType_FilesystemFile": 60803,
|
|
@@ -503,17 +488,16 @@
|
|
|
503
488
|
"MessageType_FilesystemDirMake": 60809,
|
|
504
489
|
"MessageType_FilesystemDirRemove": 60810,
|
|
505
490
|
"MessageType_FilesystemFormat": 60811,
|
|
506
|
-
"
|
|
507
|
-
"
|
|
508
|
-
"
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
}
|
|
491
|
+
"MessageType_DeviceFirmwareUpdateRequest": 61000,
|
|
492
|
+
"MessageType_DeviceFirmwareUpdateStatusGet": 61001,
|
|
493
|
+
"MessageType_DeviceFirmwareUpdateStatus": 61002
|
|
494
|
+
},
|
|
495
|
+
"reserved": [
|
|
496
|
+
[90, 92],
|
|
497
|
+
[114, 122],
|
|
498
|
+
[300, 304],
|
|
499
|
+
[309, 312]
|
|
500
|
+
]
|
|
517
501
|
},
|
|
518
502
|
"AlephiumGetAddress": {
|
|
519
503
|
"fields": {
|
|
@@ -5934,6 +5918,30 @@
|
|
|
5934
5918
|
}
|
|
5935
5919
|
}
|
|
5936
5920
|
},
|
|
5921
|
+
"InternalMyAddressRequest": {
|
|
5922
|
+
"fields": {
|
|
5923
|
+
"coin_type": {
|
|
5924
|
+
"rule": "required",
|
|
5925
|
+
"type": "uint32",
|
|
5926
|
+
"id": 1
|
|
5927
|
+
},
|
|
5928
|
+
"chain_id": {
|
|
5929
|
+
"rule": "required",
|
|
5930
|
+
"type": "uint32",
|
|
5931
|
+
"id": 2
|
|
5932
|
+
},
|
|
5933
|
+
"account_index": {
|
|
5934
|
+
"rule": "required",
|
|
5935
|
+
"type": "uint32",
|
|
5936
|
+
"id": 3
|
|
5937
|
+
},
|
|
5938
|
+
"derive_type": {
|
|
5939
|
+
"rule": "required",
|
|
5940
|
+
"type": "uint32",
|
|
5941
|
+
"id": 4
|
|
5942
|
+
}
|
|
5943
|
+
}
|
|
5944
|
+
},
|
|
5937
5945
|
"KaspaGetAddress": {
|
|
5938
5946
|
"fields": {
|
|
5939
5947
|
"address_n": {
|
|
@@ -6111,7 +6119,7 @@
|
|
|
6111
6119
|
"PromptTemporarily": 2
|
|
6112
6120
|
}
|
|
6113
6121
|
},
|
|
6114
|
-
"
|
|
6122
|
+
"StartSession": {
|
|
6115
6123
|
"fields": {
|
|
6116
6124
|
"session_id": {
|
|
6117
6125
|
"type": "bytes",
|
|
@@ -6127,21 +6135,10 @@
|
|
|
6127
6135
|
"derive_cardano": {
|
|
6128
6136
|
"type": "bool",
|
|
6129
6137
|
"id": 3
|
|
6130
|
-
},
|
|
6131
|
-
"passphrase_state": {
|
|
6132
|
-
"type": "string",
|
|
6133
|
-
"id": 8000
|
|
6134
|
-
},
|
|
6135
|
-
"is_contains_attach": {
|
|
6136
|
-
"type": "bool",
|
|
6137
|
-
"id": 8001
|
|
6138
6138
|
}
|
|
6139
6139
|
}
|
|
6140
6140
|
},
|
|
6141
|
-
"
|
|
6142
|
-
"fields": {}
|
|
6143
|
-
},
|
|
6144
|
-
"OnekeyGetFeatures": {
|
|
6141
|
+
"EndSession": {
|
|
6145
6142
|
"fields": {}
|
|
6146
6143
|
},
|
|
6147
6144
|
"OneKeyDeviceType": {
|
|
@@ -6165,1109 +6162,767 @@
|
|
|
6165
6162
|
"APP": 1
|
|
6166
6163
|
}
|
|
6167
6164
|
},
|
|
6168
|
-
"
|
|
6165
|
+
"OnekeyFeatures": {
|
|
6169
6166
|
"fields": {
|
|
6170
|
-
"
|
|
6171
|
-
"type": "
|
|
6167
|
+
"onekey_device_type": {
|
|
6168
|
+
"type": "OneKeyDeviceType",
|
|
6172
6169
|
"id": 1
|
|
6173
6170
|
},
|
|
6174
|
-
"
|
|
6175
|
-
"
|
|
6176
|
-
"type": "uint32",
|
|
6171
|
+
"onekey_romloader_version": {
|
|
6172
|
+
"type": "string",
|
|
6177
6173
|
"id": 2
|
|
6178
6174
|
},
|
|
6179
|
-
"
|
|
6180
|
-
"
|
|
6181
|
-
"type": "uint32",
|
|
6175
|
+
"onekey_bootloader_version": {
|
|
6176
|
+
"type": "string",
|
|
6182
6177
|
"id": 3
|
|
6183
6178
|
},
|
|
6184
|
-
"
|
|
6185
|
-
"
|
|
6186
|
-
"type": "uint32",
|
|
6179
|
+
"onekey_firmware_version": {
|
|
6180
|
+
"type": "string",
|
|
6187
6181
|
"id": 4
|
|
6188
6182
|
},
|
|
6189
|
-
"
|
|
6190
|
-
"type": "
|
|
6183
|
+
"onekey_romloader_hash": {
|
|
6184
|
+
"type": "bytes",
|
|
6191
6185
|
"id": 5
|
|
6192
6186
|
},
|
|
6193
|
-
"
|
|
6194
|
-
"type": "
|
|
6187
|
+
"onekey_bootloader_hash": {
|
|
6188
|
+
"type": "bytes",
|
|
6195
6189
|
"id": 6
|
|
6196
6190
|
},
|
|
6197
|
-
"
|
|
6198
|
-
"type": "
|
|
6191
|
+
"onekey_firmware_hash": {
|
|
6192
|
+
"type": "bytes",
|
|
6199
6193
|
"id": 7
|
|
6200
6194
|
},
|
|
6201
|
-
"
|
|
6202
|
-
"type": "
|
|
6195
|
+
"onekey_romloader_build_id": {
|
|
6196
|
+
"type": "string",
|
|
6203
6197
|
"id": 8
|
|
6204
6198
|
},
|
|
6205
|
-
"
|
|
6199
|
+
"onekey_bootloader_build_id": {
|
|
6206
6200
|
"type": "string",
|
|
6207
6201
|
"id": 9
|
|
6208
6202
|
},
|
|
6209
|
-
"
|
|
6203
|
+
"onekey_firmware_build_id": {
|
|
6210
6204
|
"type": "string",
|
|
6211
6205
|
"id": 10
|
|
6212
6206
|
},
|
|
6213
|
-
"
|
|
6214
|
-
"type": "
|
|
6207
|
+
"onekey_serial_no": {
|
|
6208
|
+
"type": "string",
|
|
6209
|
+
"id": 11
|
|
6210
|
+
},
|
|
6211
|
+
"onekey_coprocessor_bt_name": {
|
|
6212
|
+
"type": "string",
|
|
6215
6213
|
"id": 12
|
|
6216
6214
|
},
|
|
6217
|
-
"
|
|
6218
|
-
"type": "
|
|
6215
|
+
"onekey_coprocessor_version": {
|
|
6216
|
+
"type": "string",
|
|
6219
6217
|
"id": 13
|
|
6220
6218
|
},
|
|
6221
|
-
"
|
|
6222
|
-
"type": "
|
|
6219
|
+
"onekey_coprocessor_build_id": {
|
|
6220
|
+
"type": "string",
|
|
6223
6221
|
"id": 14
|
|
6224
6222
|
},
|
|
6225
|
-
"
|
|
6226
|
-
"type": "
|
|
6223
|
+
"onekey_coprocessor_hash": {
|
|
6224
|
+
"type": "bytes",
|
|
6227
6225
|
"id": 15
|
|
6228
6226
|
},
|
|
6229
|
-
"
|
|
6230
|
-
"type": "
|
|
6227
|
+
"onekey_se_type": {
|
|
6228
|
+
"type": "OneKeySeType",
|
|
6231
6229
|
"id": 16
|
|
6232
6230
|
},
|
|
6233
|
-
"
|
|
6234
|
-
"type": "
|
|
6235
|
-
"id": 17
|
|
6236
|
-
"options": {
|
|
6237
|
-
"deprecated": true
|
|
6238
|
-
}
|
|
6231
|
+
"onekey_se01_state": {
|
|
6232
|
+
"type": "OneKeySEState",
|
|
6233
|
+
"id": 17
|
|
6239
6234
|
},
|
|
6240
|
-
"
|
|
6241
|
-
"type": "
|
|
6235
|
+
"onekey_se02_state": {
|
|
6236
|
+
"type": "OneKeySEState",
|
|
6242
6237
|
"id": 18
|
|
6243
6238
|
},
|
|
6244
|
-
"
|
|
6245
|
-
"type": "
|
|
6239
|
+
"onekey_se03_state": {
|
|
6240
|
+
"type": "OneKeySEState",
|
|
6246
6241
|
"id": 19
|
|
6247
6242
|
},
|
|
6248
|
-
"
|
|
6249
|
-
"type": "
|
|
6243
|
+
"onekey_se04_state": {
|
|
6244
|
+
"type": "OneKeySEState",
|
|
6250
6245
|
"id": 20
|
|
6251
6246
|
},
|
|
6252
|
-
"
|
|
6247
|
+
"onekey_se01_version": {
|
|
6253
6248
|
"type": "string",
|
|
6254
6249
|
"id": 21
|
|
6255
6250
|
},
|
|
6256
|
-
"
|
|
6257
|
-
"type": "
|
|
6251
|
+
"onekey_se02_version": {
|
|
6252
|
+
"type": "string",
|
|
6258
6253
|
"id": 22
|
|
6259
6254
|
},
|
|
6260
|
-
"
|
|
6261
|
-
"type": "
|
|
6255
|
+
"onekey_se03_version": {
|
|
6256
|
+
"type": "string",
|
|
6262
6257
|
"id": 23
|
|
6263
6258
|
},
|
|
6264
|
-
"
|
|
6265
|
-
"type": "
|
|
6259
|
+
"onekey_se04_version": {
|
|
6260
|
+
"type": "string",
|
|
6266
6261
|
"id": 24
|
|
6267
6262
|
},
|
|
6268
|
-
"
|
|
6269
|
-
"type": "
|
|
6263
|
+
"onekey_se01_hash": {
|
|
6264
|
+
"type": "bytes",
|
|
6270
6265
|
"id": 25
|
|
6271
6266
|
},
|
|
6272
|
-
"
|
|
6273
|
-
"type": "
|
|
6267
|
+
"onekey_se02_hash": {
|
|
6268
|
+
"type": "bytes",
|
|
6269
|
+
"id": 26
|
|
6270
|
+
},
|
|
6271
|
+
"onekey_se03_hash": {
|
|
6272
|
+
"type": "bytes",
|
|
6274
6273
|
"id": 27
|
|
6275
6274
|
},
|
|
6276
|
-
"
|
|
6277
|
-
"type": "
|
|
6275
|
+
"onekey_se04_hash": {
|
|
6276
|
+
"type": "bytes",
|
|
6278
6277
|
"id": 28
|
|
6279
6278
|
},
|
|
6280
|
-
"
|
|
6281
|
-
"type": "
|
|
6279
|
+
"onekey_se01_build_id": {
|
|
6280
|
+
"type": "string",
|
|
6282
6281
|
"id": 29
|
|
6283
6282
|
},
|
|
6284
|
-
"
|
|
6285
|
-
"
|
|
6286
|
-
"
|
|
6287
|
-
"id": 30,
|
|
6288
|
-
"options": {
|
|
6289
|
-
"packed": false
|
|
6290
|
-
}
|
|
6283
|
+
"onekey_se02_build_id": {
|
|
6284
|
+
"type": "string",
|
|
6285
|
+
"id": 30
|
|
6291
6286
|
},
|
|
6292
|
-
"
|
|
6293
|
-
"type": "
|
|
6287
|
+
"onekey_se03_build_id": {
|
|
6288
|
+
"type": "string",
|
|
6294
6289
|
"id": 31
|
|
6295
6290
|
},
|
|
6296
|
-
"
|
|
6297
|
-
"type": "
|
|
6291
|
+
"onekey_se04_build_id": {
|
|
6292
|
+
"type": "string",
|
|
6298
6293
|
"id": 32
|
|
6299
6294
|
},
|
|
6300
|
-
"
|
|
6301
|
-
"type": "
|
|
6295
|
+
"onekey_se01_bootloader_version": {
|
|
6296
|
+
"type": "string",
|
|
6302
6297
|
"id": 33
|
|
6303
6298
|
},
|
|
6304
|
-
"
|
|
6305
|
-
"type": "
|
|
6299
|
+
"onekey_se02_bootloader_version": {
|
|
6300
|
+
"type": "string",
|
|
6306
6301
|
"id": 34
|
|
6307
6302
|
},
|
|
6308
|
-
"
|
|
6309
|
-
"type": "
|
|
6303
|
+
"onekey_se03_bootloader_version": {
|
|
6304
|
+
"type": "string",
|
|
6310
6305
|
"id": 35
|
|
6311
6306
|
},
|
|
6312
|
-
"
|
|
6313
|
-
"type": "
|
|
6307
|
+
"onekey_se04_bootloader_version": {
|
|
6308
|
+
"type": "string",
|
|
6314
6309
|
"id": 36
|
|
6315
6310
|
},
|
|
6316
|
-
"
|
|
6317
|
-
"type": "
|
|
6311
|
+
"onekey_se01_bootloader_hash": {
|
|
6312
|
+
"type": "bytes",
|
|
6318
6313
|
"id": 37
|
|
6319
6314
|
},
|
|
6320
|
-
"
|
|
6321
|
-
"type": "
|
|
6315
|
+
"onekey_se02_bootloader_hash": {
|
|
6316
|
+
"type": "bytes",
|
|
6322
6317
|
"id": 38
|
|
6323
6318
|
},
|
|
6324
|
-
"
|
|
6325
|
-
"type": "
|
|
6319
|
+
"onekey_se03_bootloader_hash": {
|
|
6320
|
+
"type": "bytes",
|
|
6326
6321
|
"id": 39
|
|
6327
6322
|
},
|
|
6328
|
-
"
|
|
6329
|
-
"type": "
|
|
6323
|
+
"onekey_se04_bootloader_hash": {
|
|
6324
|
+
"type": "bytes",
|
|
6330
6325
|
"id": 40
|
|
6331
6326
|
},
|
|
6332
|
-
"
|
|
6333
|
-
"type": "uint32",
|
|
6334
|
-
"id": 500
|
|
6335
|
-
},
|
|
6336
|
-
"ble_name": {
|
|
6337
|
-
"type": "string",
|
|
6338
|
-
"id": 501
|
|
6339
|
-
},
|
|
6340
|
-
"ble_ver": {
|
|
6341
|
-
"type": "string",
|
|
6342
|
-
"id": 502
|
|
6343
|
-
},
|
|
6344
|
-
"ble_enable": {
|
|
6345
|
-
"type": "bool",
|
|
6346
|
-
"id": 503
|
|
6347
|
-
},
|
|
6348
|
-
"se_enable": {
|
|
6349
|
-
"type": "bool",
|
|
6350
|
-
"id": 504
|
|
6351
|
-
},
|
|
6352
|
-
"se_ver": {
|
|
6353
|
-
"type": "string",
|
|
6354
|
-
"id": 506
|
|
6355
|
-
},
|
|
6356
|
-
"backup_only": {
|
|
6357
|
-
"type": "bool",
|
|
6358
|
-
"id": 507
|
|
6359
|
-
},
|
|
6360
|
-
"onekey_version": {
|
|
6327
|
+
"onekey_se01_bootloader_build_id": {
|
|
6361
6328
|
"type": "string",
|
|
6362
|
-
"id":
|
|
6363
|
-
},
|
|
6364
|
-
"onekey_serial": {
|
|
6365
|
-
"type": "string",
|
|
6366
|
-
"id": 509
|
|
6329
|
+
"id": 41
|
|
6367
6330
|
},
|
|
6368
|
-
"
|
|
6331
|
+
"onekey_se02_bootloader_build_id": {
|
|
6369
6332
|
"type": "string",
|
|
6370
|
-
"id":
|
|
6333
|
+
"id": 42
|
|
6371
6334
|
},
|
|
6372
|
-
"
|
|
6335
|
+
"onekey_se03_bootloader_build_id": {
|
|
6373
6336
|
"type": "string",
|
|
6374
|
-
"id":
|
|
6337
|
+
"id": 43
|
|
6375
6338
|
},
|
|
6376
|
-
"
|
|
6339
|
+
"onekey_se04_bootloader_build_id": {
|
|
6377
6340
|
"type": "string",
|
|
6378
|
-
"id":
|
|
6379
|
-
}
|
|
6380
|
-
|
|
6341
|
+
"id": 44
|
|
6342
|
+
}
|
|
6343
|
+
}
|
|
6344
|
+
},
|
|
6345
|
+
"LockDevice": {
|
|
6346
|
+
"fields": {}
|
|
6347
|
+
},
|
|
6348
|
+
"SetBusy": {
|
|
6349
|
+
"fields": {
|
|
6350
|
+
"expiry_ms": {
|
|
6381
6351
|
"type": "uint32",
|
|
6382
|
-
"id":
|
|
6383
|
-
}
|
|
6384
|
-
|
|
6385
|
-
|
|
6386
|
-
|
|
6387
|
-
|
|
6388
|
-
"
|
|
6389
|
-
"type": "string",
|
|
6390
|
-
"id": 515
|
|
6391
|
-
},
|
|
6392
|
-
"pre_firmware": {
|
|
6352
|
+
"id": 1
|
|
6353
|
+
}
|
|
6354
|
+
}
|
|
6355
|
+
},
|
|
6356
|
+
"ApplySettings": {
|
|
6357
|
+
"fields": {
|
|
6358
|
+
"language": {
|
|
6393
6359
|
"type": "string",
|
|
6394
|
-
"id":
|
|
6395
|
-
},
|
|
6396
|
-
"coin_switch": {
|
|
6397
|
-
"type": "uint32",
|
|
6398
|
-
"id": 517
|
|
6399
|
-
},
|
|
6400
|
-
"build_id": {
|
|
6401
|
-
"type": "bytes",
|
|
6402
|
-
"id": 518
|
|
6360
|
+
"id": 1
|
|
6403
6361
|
},
|
|
6404
|
-
"
|
|
6362
|
+
"label": {
|
|
6405
6363
|
"type": "string",
|
|
6406
|
-
"id":
|
|
6364
|
+
"id": 2
|
|
6407
6365
|
},
|
|
6408
|
-
"
|
|
6366
|
+
"use_passphrase": {
|
|
6409
6367
|
"type": "bool",
|
|
6410
|
-
"id":
|
|
6411
|
-
},
|
|
6412
|
-
"onekey_device_type": {
|
|
6413
|
-
"type": "OneKeyDeviceType",
|
|
6414
|
-
"id": 600
|
|
6415
|
-
},
|
|
6416
|
-
"onekey_se_type": {
|
|
6417
|
-
"type": "OneKeySeType",
|
|
6418
|
-
"id": 601
|
|
6419
|
-
},
|
|
6420
|
-
"onekey_board_version": {
|
|
6421
|
-
"type": "string",
|
|
6422
|
-
"id": 602
|
|
6368
|
+
"id": 3
|
|
6423
6369
|
},
|
|
6424
|
-
"
|
|
6370
|
+
"homescreen": {
|
|
6425
6371
|
"type": "bytes",
|
|
6426
|
-
"id":
|
|
6427
|
-
},
|
|
6428
|
-
"onekey_boot_version": {
|
|
6429
|
-
"type": "string",
|
|
6430
|
-
"id": 604
|
|
6372
|
+
"id": 4
|
|
6431
6373
|
},
|
|
6432
|
-
"
|
|
6433
|
-
"type": "
|
|
6434
|
-
"id":
|
|
6374
|
+
"_passphrase_source": {
|
|
6375
|
+
"type": "uint32",
|
|
6376
|
+
"id": 5,
|
|
6377
|
+
"options": {
|
|
6378
|
+
"deprecated": true
|
|
6379
|
+
}
|
|
6435
6380
|
},
|
|
6436
|
-
"
|
|
6437
|
-
"type": "
|
|
6438
|
-
"id":
|
|
6381
|
+
"auto_lock_delay_ms": {
|
|
6382
|
+
"type": "uint32",
|
|
6383
|
+
"id": 6
|
|
6439
6384
|
},
|
|
6440
|
-
"
|
|
6441
|
-
"type": "
|
|
6442
|
-
"id":
|
|
6385
|
+
"display_rotation": {
|
|
6386
|
+
"type": "uint32",
|
|
6387
|
+
"id": 7
|
|
6443
6388
|
},
|
|
6444
|
-
"
|
|
6445
|
-
"type": "
|
|
6446
|
-
"id":
|
|
6389
|
+
"passphrase_always_on_device": {
|
|
6390
|
+
"type": "bool",
|
|
6391
|
+
"id": 8
|
|
6447
6392
|
},
|
|
6448
|
-
"
|
|
6449
|
-
"type": "
|
|
6450
|
-
"id":
|
|
6393
|
+
"safety_checks": {
|
|
6394
|
+
"type": "SafetyCheckLevel",
|
|
6395
|
+
"id": 9
|
|
6451
6396
|
},
|
|
6452
|
-
"
|
|
6397
|
+
"experimental_features": {
|
|
6398
|
+
"type": "bool",
|
|
6399
|
+
"id": 10
|
|
6400
|
+
}
|
|
6401
|
+
}
|
|
6402
|
+
},
|
|
6403
|
+
"ApplyFlags": {
|
|
6404
|
+
"fields": {
|
|
6405
|
+
"flags": {
|
|
6406
|
+
"rule": "required",
|
|
6407
|
+
"type": "uint32",
|
|
6408
|
+
"id": 1
|
|
6409
|
+
}
|
|
6410
|
+
}
|
|
6411
|
+
},
|
|
6412
|
+
"ChangePin": {
|
|
6413
|
+
"fields": {
|
|
6414
|
+
"remove": {
|
|
6415
|
+
"type": "bool",
|
|
6416
|
+
"id": 1
|
|
6417
|
+
}
|
|
6418
|
+
}
|
|
6419
|
+
},
|
|
6420
|
+
"ChangeWipeCode": {
|
|
6421
|
+
"fields": {
|
|
6422
|
+
"remove": {
|
|
6423
|
+
"type": "bool",
|
|
6424
|
+
"id": 1
|
|
6425
|
+
}
|
|
6426
|
+
}
|
|
6427
|
+
},
|
|
6428
|
+
"SdProtect": {
|
|
6429
|
+
"fields": {
|
|
6430
|
+
"operation": {
|
|
6431
|
+
"rule": "required",
|
|
6432
|
+
"type": "SdProtectOperationType",
|
|
6433
|
+
"id": 1
|
|
6434
|
+
}
|
|
6435
|
+
},
|
|
6436
|
+
"nested": {
|
|
6437
|
+
"SdProtectOperationType": {
|
|
6438
|
+
"values": {
|
|
6439
|
+
"DISABLE": 0,
|
|
6440
|
+
"ENABLE": 1,
|
|
6441
|
+
"REFRESH": 2
|
|
6442
|
+
}
|
|
6443
|
+
}
|
|
6444
|
+
}
|
|
6445
|
+
},
|
|
6446
|
+
"Cancel": {
|
|
6447
|
+
"fields": {}
|
|
6448
|
+
},
|
|
6449
|
+
"GetEntropy": {
|
|
6450
|
+
"fields": {
|
|
6451
|
+
"size": {
|
|
6452
|
+
"rule": "required",
|
|
6453
|
+
"type": "uint32",
|
|
6454
|
+
"id": 1
|
|
6455
|
+
}
|
|
6456
|
+
}
|
|
6457
|
+
},
|
|
6458
|
+
"Entropy": {
|
|
6459
|
+
"fields": {
|
|
6460
|
+
"entropy": {
|
|
6461
|
+
"rule": "required",
|
|
6453
6462
|
"type": "bytes",
|
|
6454
|
-
"id":
|
|
6455
|
-
}
|
|
6456
|
-
|
|
6463
|
+
"id": 1
|
|
6464
|
+
}
|
|
6465
|
+
}
|
|
6466
|
+
},
|
|
6467
|
+
"GetFirmwareHash": {
|
|
6468
|
+
"fields": {
|
|
6469
|
+
"challenge": {
|
|
6470
|
+
"type": "bytes",
|
|
6471
|
+
"id": 1
|
|
6472
|
+
}
|
|
6473
|
+
}
|
|
6474
|
+
},
|
|
6475
|
+
"FirmwareHash": {
|
|
6476
|
+
"fields": {
|
|
6477
|
+
"hash": {
|
|
6478
|
+
"rule": "required",
|
|
6479
|
+
"type": "bytes",
|
|
6480
|
+
"id": 1
|
|
6481
|
+
}
|
|
6482
|
+
}
|
|
6483
|
+
},
|
|
6484
|
+
"WipeDevice": {
|
|
6485
|
+
"fields": {}
|
|
6486
|
+
},
|
|
6487
|
+
"LoadDevice": {
|
|
6488
|
+
"fields": {
|
|
6489
|
+
"mnemonics": {
|
|
6490
|
+
"rule": "repeated",
|
|
6457
6491
|
"type": "string",
|
|
6458
|
-
"id":
|
|
6492
|
+
"id": 1
|
|
6459
6493
|
},
|
|
6460
|
-
"
|
|
6494
|
+
"pin": {
|
|
6461
6495
|
"type": "string",
|
|
6462
|
-
"id":
|
|
6496
|
+
"id": 3
|
|
6463
6497
|
},
|
|
6464
|
-
"
|
|
6465
|
-
"type": "
|
|
6466
|
-
"id":
|
|
6498
|
+
"passphrase_protection": {
|
|
6499
|
+
"type": "bool",
|
|
6500
|
+
"id": 4
|
|
6467
6501
|
},
|
|
6468
|
-
"
|
|
6502
|
+
"language": {
|
|
6469
6503
|
"type": "string",
|
|
6470
|
-
"id":
|
|
6504
|
+
"id": 5,
|
|
6505
|
+
"options": {
|
|
6506
|
+
"default": "en-US"
|
|
6507
|
+
}
|
|
6471
6508
|
},
|
|
6472
|
-
"
|
|
6509
|
+
"label": {
|
|
6473
6510
|
"type": "string",
|
|
6474
|
-
"id":
|
|
6511
|
+
"id": 6
|
|
6475
6512
|
},
|
|
6476
|
-
"
|
|
6477
|
-
"type": "
|
|
6478
|
-
"id":
|
|
6513
|
+
"skip_checksum": {
|
|
6514
|
+
"type": "bool",
|
|
6515
|
+
"id": 7
|
|
6479
6516
|
},
|
|
6480
|
-
"
|
|
6481
|
-
"type": "
|
|
6482
|
-
"id":
|
|
6517
|
+
"u2f_counter": {
|
|
6518
|
+
"type": "uint32",
|
|
6519
|
+
"id": 8
|
|
6483
6520
|
},
|
|
6484
|
-
"
|
|
6485
|
-
"type": "
|
|
6486
|
-
"id":
|
|
6521
|
+
"needs_backup": {
|
|
6522
|
+
"type": "bool",
|
|
6523
|
+
"id": 9
|
|
6487
6524
|
},
|
|
6488
|
-
"
|
|
6489
|
-
"type": "
|
|
6490
|
-
"id":
|
|
6525
|
+
"no_backup": {
|
|
6526
|
+
"type": "bool",
|
|
6527
|
+
"id": 10
|
|
6528
|
+
}
|
|
6529
|
+
}
|
|
6530
|
+
},
|
|
6531
|
+
"ResetDevice": {
|
|
6532
|
+
"fields": {
|
|
6533
|
+
"display_random": {
|
|
6534
|
+
"type": "bool",
|
|
6535
|
+
"id": 1
|
|
6491
6536
|
},
|
|
6492
|
-
"
|
|
6493
|
-
"type": "
|
|
6494
|
-
"id":
|
|
6537
|
+
"strength": {
|
|
6538
|
+
"type": "uint32",
|
|
6539
|
+
"id": 2,
|
|
6540
|
+
"options": {
|
|
6541
|
+
"default": 256
|
|
6542
|
+
}
|
|
6495
6543
|
},
|
|
6496
|
-
"
|
|
6497
|
-
"type": "
|
|
6498
|
-
"id":
|
|
6544
|
+
"passphrase_protection": {
|
|
6545
|
+
"type": "bool",
|
|
6546
|
+
"id": 3
|
|
6499
6547
|
},
|
|
6500
|
-
"
|
|
6501
|
-
"type": "
|
|
6502
|
-
"id":
|
|
6548
|
+
"pin_protection": {
|
|
6549
|
+
"type": "bool",
|
|
6550
|
+
"id": 4
|
|
6503
6551
|
},
|
|
6504
|
-
"
|
|
6505
|
-
"type": "
|
|
6506
|
-
"id":
|
|
6552
|
+
"language": {
|
|
6553
|
+
"type": "string",
|
|
6554
|
+
"id": 5,
|
|
6555
|
+
"options": {
|
|
6556
|
+
"default": "en-US"
|
|
6557
|
+
}
|
|
6507
6558
|
},
|
|
6508
|
-
"
|
|
6509
|
-
"type": "
|
|
6510
|
-
"id":
|
|
6559
|
+
"label": {
|
|
6560
|
+
"type": "string",
|
|
6561
|
+
"id": 6
|
|
6562
|
+
},
|
|
6563
|
+
"u2f_counter": {
|
|
6564
|
+
"type": "uint32",
|
|
6565
|
+
"id": 7
|
|
6511
6566
|
},
|
|
6512
|
-
"
|
|
6567
|
+
"skip_backup": {
|
|
6513
6568
|
"type": "bool",
|
|
6514
|
-
"id":
|
|
6569
|
+
"id": 8
|
|
6515
6570
|
},
|
|
6516
|
-
"
|
|
6571
|
+
"no_backup": {
|
|
6517
6572
|
"type": "bool",
|
|
6518
|
-
"id":
|
|
6519
|
-
}
|
|
6520
|
-
|
|
6521
|
-
|
|
6522
|
-
|
|
6573
|
+
"id": 9
|
|
6574
|
+
},
|
|
6575
|
+
"backup_type": {
|
|
6576
|
+
"type": "BackupType",
|
|
6577
|
+
"id": 10,
|
|
6523
6578
|
"options": {
|
|
6524
|
-
"
|
|
6525
|
-
},
|
|
6526
|
-
"values": {
|
|
6527
|
-
"Capability_Bitcoin": 1,
|
|
6528
|
-
"Capability_Bitcoin_like": 2,
|
|
6529
|
-
"Capability_Binance": 3,
|
|
6530
|
-
"Capability_Cardano": 4,
|
|
6531
|
-
"Capability_Crypto": 5,
|
|
6532
|
-
"Capability_EOS": 6,
|
|
6533
|
-
"Capability_Ethereum": 7,
|
|
6534
|
-
"Capability_Lisk": 8,
|
|
6535
|
-
"Capability_Monero": 9,
|
|
6536
|
-
"Capability_NEM": 10,
|
|
6537
|
-
"Capability_Ripple": 11,
|
|
6538
|
-
"Capability_Stellar": 12,
|
|
6539
|
-
"Capability_Tezos": 13,
|
|
6540
|
-
"Capability_U2F": 14,
|
|
6541
|
-
"Capability_Shamir": 15,
|
|
6542
|
-
"Capability_ShamirGroups": 16,
|
|
6543
|
-
"Capability_PassphraseEntry": 17,
|
|
6544
|
-
"Capability_AttachToPin": 18,
|
|
6545
|
-
"Capability_EthereumTypedData": 1000
|
|
6579
|
+
"default": "Bip39"
|
|
6546
6580
|
}
|
|
6547
6581
|
}
|
|
6548
6582
|
}
|
|
6549
6583
|
},
|
|
6550
|
-
"
|
|
6584
|
+
"BackupDevice": {
|
|
6585
|
+
"fields": {}
|
|
6586
|
+
},
|
|
6587
|
+
"EntropyRequest": {
|
|
6588
|
+
"fields": {}
|
|
6589
|
+
},
|
|
6590
|
+
"EntropyAck": {
|
|
6551
6591
|
"fields": {
|
|
6552
|
-
"
|
|
6553
|
-
"
|
|
6592
|
+
"entropy": {
|
|
6593
|
+
"rule": "required",
|
|
6594
|
+
"type": "bytes",
|
|
6595
|
+
"id": 1
|
|
6596
|
+
}
|
|
6597
|
+
}
|
|
6598
|
+
},
|
|
6599
|
+
"RecoveryDevice": {
|
|
6600
|
+
"fields": {
|
|
6601
|
+
"word_count": {
|
|
6602
|
+
"type": "uint32",
|
|
6554
6603
|
"id": 1
|
|
6555
6604
|
},
|
|
6556
|
-
"
|
|
6557
|
-
"type": "
|
|
6605
|
+
"passphrase_protection": {
|
|
6606
|
+
"type": "bool",
|
|
6558
6607
|
"id": 2
|
|
6559
6608
|
},
|
|
6560
|
-
"
|
|
6561
|
-
"type": "
|
|
6609
|
+
"pin_protection": {
|
|
6610
|
+
"type": "bool",
|
|
6562
6611
|
"id": 3
|
|
6563
6612
|
},
|
|
6564
|
-
"
|
|
6613
|
+
"language": {
|
|
6565
6614
|
"type": "string",
|
|
6566
6615
|
"id": 4
|
|
6567
6616
|
},
|
|
6568
|
-
"
|
|
6569
|
-
"type": "
|
|
6617
|
+
"label": {
|
|
6618
|
+
"type": "string",
|
|
6570
6619
|
"id": 5
|
|
6571
6620
|
},
|
|
6572
|
-
"
|
|
6573
|
-
"type": "
|
|
6621
|
+
"enforce_wordlist": {
|
|
6622
|
+
"type": "bool",
|
|
6574
6623
|
"id": 6
|
|
6575
6624
|
},
|
|
6576
|
-
"
|
|
6577
|
-
"type": "
|
|
6578
|
-
"id": 7
|
|
6579
|
-
},
|
|
6580
|
-
"onekey_board_build_id": {
|
|
6581
|
-
"type": "string",
|
|
6625
|
+
"type": {
|
|
6626
|
+
"type": "RecoveryDeviceType",
|
|
6582
6627
|
"id": 8
|
|
6583
6628
|
},
|
|
6584
|
-
"
|
|
6585
|
-
"type": "
|
|
6629
|
+
"u2f_counter": {
|
|
6630
|
+
"type": "uint32",
|
|
6586
6631
|
"id": 9
|
|
6587
6632
|
},
|
|
6588
|
-
"
|
|
6589
|
-
"type": "
|
|
6633
|
+
"dry_run": {
|
|
6634
|
+
"type": "bool",
|
|
6590
6635
|
"id": 10
|
|
6591
|
-
}
|
|
6592
|
-
|
|
6593
|
-
|
|
6594
|
-
|
|
6595
|
-
|
|
6596
|
-
|
|
6597
|
-
|
|
6598
|
-
|
|
6599
|
-
},
|
|
6600
|
-
"onekey_ble_version": {
|
|
6601
|
-
"type": "string",
|
|
6602
|
-
"id": 13
|
|
6603
|
-
},
|
|
6604
|
-
"onekey_ble_build_id": {
|
|
6605
|
-
"type": "string",
|
|
6606
|
-
"id": 14
|
|
6607
|
-
},
|
|
6608
|
-
"onekey_ble_hash": {
|
|
6609
|
-
"type": "bytes",
|
|
6610
|
-
"id": 15
|
|
6611
|
-
},
|
|
6612
|
-
"onekey_se_type": {
|
|
6613
|
-
"type": "OneKeySeType",
|
|
6614
|
-
"id": 16
|
|
6615
|
-
},
|
|
6616
|
-
"onekey_se01_state": {
|
|
6617
|
-
"type": "OneKeySEState",
|
|
6618
|
-
"id": 17
|
|
6619
|
-
},
|
|
6620
|
-
"onekey_se02_state": {
|
|
6621
|
-
"type": "OneKeySEState",
|
|
6622
|
-
"id": 18
|
|
6623
|
-
},
|
|
6624
|
-
"onekey_se03_state": {
|
|
6625
|
-
"type": "OneKeySEState",
|
|
6626
|
-
"id": 19
|
|
6627
|
-
},
|
|
6628
|
-
"onekey_se04_state": {
|
|
6629
|
-
"type": "OneKeySEState",
|
|
6630
|
-
"id": 20
|
|
6631
|
-
},
|
|
6632
|
-
"onekey_se01_version": {
|
|
6633
|
-
"type": "string",
|
|
6634
|
-
"id": 21
|
|
6635
|
-
},
|
|
6636
|
-
"onekey_se02_version": {
|
|
6637
|
-
"type": "string",
|
|
6638
|
-
"id": 22
|
|
6639
|
-
},
|
|
6640
|
-
"onekey_se03_version": {
|
|
6641
|
-
"type": "string",
|
|
6642
|
-
"id": 23
|
|
6643
|
-
},
|
|
6644
|
-
"onekey_se04_version": {
|
|
6645
|
-
"type": "string",
|
|
6646
|
-
"id": 24
|
|
6647
|
-
},
|
|
6648
|
-
"onekey_se01_hash": {
|
|
6649
|
-
"type": "bytes",
|
|
6650
|
-
"id": 25
|
|
6651
|
-
},
|
|
6652
|
-
"onekey_se02_hash": {
|
|
6653
|
-
"type": "bytes",
|
|
6654
|
-
"id": 26
|
|
6655
|
-
},
|
|
6656
|
-
"onekey_se03_hash": {
|
|
6657
|
-
"type": "bytes",
|
|
6658
|
-
"id": 27
|
|
6659
|
-
},
|
|
6660
|
-
"onekey_se04_hash": {
|
|
6661
|
-
"type": "bytes",
|
|
6662
|
-
"id": 28
|
|
6663
|
-
},
|
|
6664
|
-
"onekey_se01_build_id": {
|
|
6665
|
-
"type": "string",
|
|
6666
|
-
"id": 29
|
|
6667
|
-
},
|
|
6668
|
-
"onekey_se02_build_id": {
|
|
6669
|
-
"type": "string",
|
|
6670
|
-
"id": 30
|
|
6671
|
-
},
|
|
6672
|
-
"onekey_se03_build_id": {
|
|
6673
|
-
"type": "string",
|
|
6674
|
-
"id": 31
|
|
6675
|
-
},
|
|
6676
|
-
"onekey_se04_build_id": {
|
|
6677
|
-
"type": "string",
|
|
6678
|
-
"id": 32
|
|
6679
|
-
},
|
|
6680
|
-
"onekey_se01_boot_version": {
|
|
6681
|
-
"type": "string",
|
|
6682
|
-
"id": 33
|
|
6683
|
-
},
|
|
6684
|
-
"onekey_se02_boot_version": {
|
|
6685
|
-
"type": "string",
|
|
6686
|
-
"id": 34
|
|
6687
|
-
},
|
|
6688
|
-
"onekey_se03_boot_version": {
|
|
6689
|
-
"type": "string",
|
|
6690
|
-
"id": 35
|
|
6691
|
-
},
|
|
6692
|
-
"onekey_se04_boot_version": {
|
|
6693
|
-
"type": "string",
|
|
6694
|
-
"id": 36
|
|
6695
|
-
},
|
|
6696
|
-
"onekey_se01_boot_hash": {
|
|
6697
|
-
"type": "bytes",
|
|
6698
|
-
"id": 37
|
|
6699
|
-
},
|
|
6700
|
-
"onekey_se02_boot_hash": {
|
|
6701
|
-
"type": "bytes",
|
|
6702
|
-
"id": 38
|
|
6703
|
-
},
|
|
6704
|
-
"onekey_se03_boot_hash": {
|
|
6705
|
-
"type": "bytes",
|
|
6706
|
-
"id": 39
|
|
6707
|
-
},
|
|
6708
|
-
"onekey_se04_boot_hash": {
|
|
6709
|
-
"type": "bytes",
|
|
6710
|
-
"id": 40
|
|
6711
|
-
},
|
|
6712
|
-
"onekey_se01_boot_build_id": {
|
|
6713
|
-
"type": "string",
|
|
6714
|
-
"id": 41
|
|
6715
|
-
},
|
|
6716
|
-
"onekey_se02_boot_build_id": {
|
|
6717
|
-
"type": "string",
|
|
6718
|
-
"id": 42
|
|
6719
|
-
},
|
|
6720
|
-
"onekey_se03_boot_build_id": {
|
|
6721
|
-
"type": "string",
|
|
6722
|
-
"id": 43
|
|
6723
|
-
},
|
|
6724
|
-
"onekey_se04_boot_build_id": {
|
|
6725
|
-
"type": "string",
|
|
6726
|
-
"id": 44
|
|
6636
|
+
}
|
|
6637
|
+
},
|
|
6638
|
+
"nested": {
|
|
6639
|
+
"RecoveryDeviceType": {
|
|
6640
|
+
"values": {
|
|
6641
|
+
"RecoveryDeviceType_ScrambledWords": 0,
|
|
6642
|
+
"RecoveryDeviceType_Matrix": 1
|
|
6643
|
+
}
|
|
6727
6644
|
}
|
|
6728
6645
|
}
|
|
6729
6646
|
},
|
|
6730
|
-
"
|
|
6731
|
-
"fields": {}
|
|
6732
|
-
},
|
|
6733
|
-
"SetBusy": {
|
|
6647
|
+
"WordRequest": {
|
|
6734
6648
|
"fields": {
|
|
6735
|
-
"
|
|
6736
|
-
"
|
|
6649
|
+
"type": {
|
|
6650
|
+
"rule": "required",
|
|
6651
|
+
"type": "WordRequestType",
|
|
6737
6652
|
"id": 1
|
|
6738
6653
|
}
|
|
6654
|
+
},
|
|
6655
|
+
"nested": {
|
|
6656
|
+
"WordRequestType": {
|
|
6657
|
+
"values": {
|
|
6658
|
+
"WordRequestType_Plain": 0,
|
|
6659
|
+
"WordRequestType_Matrix9": 1,
|
|
6660
|
+
"WordRequestType_Matrix6": 2
|
|
6661
|
+
}
|
|
6662
|
+
}
|
|
6739
6663
|
}
|
|
6740
6664
|
},
|
|
6741
|
-
"
|
|
6742
|
-
"fields": {}
|
|
6743
|
-
},
|
|
6744
|
-
"ApplySettings": {
|
|
6665
|
+
"WordAck": {
|
|
6745
6666
|
"fields": {
|
|
6746
|
-
"
|
|
6667
|
+
"word": {
|
|
6668
|
+
"rule": "required",
|
|
6747
6669
|
"type": "string",
|
|
6748
6670
|
"id": 1
|
|
6749
|
-
},
|
|
6750
|
-
"label": {
|
|
6751
|
-
"type": "string",
|
|
6752
|
-
"id": 2
|
|
6753
|
-
},
|
|
6754
|
-
"use_passphrase": {
|
|
6755
|
-
"type": "bool",
|
|
6756
|
-
"id": 3
|
|
6757
|
-
},
|
|
6758
|
-
"homescreen": {
|
|
6759
|
-
"type": "bytes",
|
|
6760
|
-
"id": 4
|
|
6761
|
-
},
|
|
6762
|
-
"_passphrase_source": {
|
|
6763
|
-
"type": "uint32",
|
|
6764
|
-
"id": 5,
|
|
6765
|
-
"options": {
|
|
6766
|
-
"deprecated": true
|
|
6767
|
-
}
|
|
6768
|
-
},
|
|
6769
|
-
"auto_lock_delay_ms": {
|
|
6770
|
-
"type": "uint32",
|
|
6771
|
-
"id": 6
|
|
6772
|
-
},
|
|
6773
|
-
"display_rotation": {
|
|
6774
|
-
"type": "uint32",
|
|
6775
|
-
"id": 7
|
|
6776
|
-
},
|
|
6777
|
-
"passphrase_always_on_device": {
|
|
6778
|
-
"type": "bool",
|
|
6779
|
-
"id": 8
|
|
6780
|
-
},
|
|
6781
|
-
"safety_checks": {
|
|
6782
|
-
"type": "SafetyCheckLevel",
|
|
6783
|
-
"id": 9
|
|
6784
|
-
},
|
|
6785
|
-
"experimental_features": {
|
|
6786
|
-
"type": "bool",
|
|
6787
|
-
"id": 10
|
|
6788
6671
|
}
|
|
6789
6672
|
}
|
|
6790
6673
|
},
|
|
6791
|
-
"
|
|
6674
|
+
"SetU2FCounter": {
|
|
6792
6675
|
"fields": {
|
|
6793
|
-
"
|
|
6676
|
+
"u2f_counter": {
|
|
6794
6677
|
"rule": "required",
|
|
6795
6678
|
"type": "uint32",
|
|
6796
6679
|
"id": 1
|
|
6797
6680
|
}
|
|
6798
6681
|
}
|
|
6799
6682
|
},
|
|
6800
|
-
"
|
|
6683
|
+
"GetNextU2FCounter": {
|
|
6684
|
+
"fields": {}
|
|
6685
|
+
},
|
|
6686
|
+
"NextU2FCounter": {
|
|
6801
6687
|
"fields": {
|
|
6802
|
-
"
|
|
6803
|
-
"
|
|
6688
|
+
"u2f_counter": {
|
|
6689
|
+
"rule": "required",
|
|
6690
|
+
"type": "uint32",
|
|
6804
6691
|
"id": 1
|
|
6805
6692
|
}
|
|
6806
6693
|
}
|
|
6807
6694
|
},
|
|
6808
|
-
"
|
|
6695
|
+
"DoPreauthorized": {
|
|
6696
|
+
"fields": {}
|
|
6697
|
+
},
|
|
6698
|
+
"PreauthorizedRequest": {
|
|
6699
|
+
"fields": {}
|
|
6700
|
+
},
|
|
6701
|
+
"CancelAuthorization": {
|
|
6702
|
+
"fields": {}
|
|
6703
|
+
},
|
|
6704
|
+
"GetNonce": {
|
|
6705
|
+
"options": {
|
|
6706
|
+
"(experimental_message)": true
|
|
6707
|
+
},
|
|
6708
|
+
"fields": {}
|
|
6709
|
+
},
|
|
6710
|
+
"Nonce": {
|
|
6711
|
+
"options": {
|
|
6712
|
+
"(experimental_message)": true
|
|
6713
|
+
},
|
|
6809
6714
|
"fields": {
|
|
6810
|
-
"
|
|
6811
|
-
"
|
|
6715
|
+
"nonce": {
|
|
6716
|
+
"rule": "required",
|
|
6717
|
+
"type": "bytes",
|
|
6812
6718
|
"id": 1
|
|
6813
6719
|
}
|
|
6814
6720
|
}
|
|
6815
6721
|
},
|
|
6816
|
-
"
|
|
6722
|
+
"WriteSEPrivateKey": {
|
|
6817
6723
|
"fields": {
|
|
6818
|
-
"
|
|
6724
|
+
"private_key": {
|
|
6819
6725
|
"rule": "required",
|
|
6820
|
-
"type": "
|
|
6726
|
+
"type": "bytes",
|
|
6821
6727
|
"id": 1
|
|
6822
6728
|
}
|
|
6823
|
-
},
|
|
6824
|
-
"nested": {
|
|
6825
|
-
"SdProtectOperationType": {
|
|
6826
|
-
"values": {
|
|
6827
|
-
"DISABLE": 0,
|
|
6828
|
-
"ENABLE": 1,
|
|
6829
|
-
"REFRESH": 2
|
|
6830
|
-
}
|
|
6831
|
-
}
|
|
6832
6729
|
}
|
|
6833
6730
|
},
|
|
6834
|
-
"
|
|
6731
|
+
"ReadSEPublicKey": {
|
|
6835
6732
|
"fields": {}
|
|
6836
6733
|
},
|
|
6837
|
-
"
|
|
6734
|
+
"SEPublicKey": {
|
|
6838
6735
|
"fields": {
|
|
6839
|
-
"
|
|
6736
|
+
"public_key": {
|
|
6840
6737
|
"rule": "required",
|
|
6841
|
-
"type": "
|
|
6738
|
+
"type": "bytes",
|
|
6842
6739
|
"id": 1
|
|
6843
6740
|
}
|
|
6844
6741
|
}
|
|
6845
6742
|
},
|
|
6846
|
-
"
|
|
6743
|
+
"WriteSEPublicCert": {
|
|
6847
6744
|
"fields": {
|
|
6848
|
-
"
|
|
6745
|
+
"public_cert": {
|
|
6849
6746
|
"rule": "required",
|
|
6850
6747
|
"type": "bytes",
|
|
6851
6748
|
"id": 1
|
|
6852
6749
|
}
|
|
6853
6750
|
}
|
|
6854
6751
|
},
|
|
6855
|
-
"
|
|
6752
|
+
"ReadSEPublicCert": {
|
|
6753
|
+
"fields": {}
|
|
6754
|
+
},
|
|
6755
|
+
"SEPublicCert": {
|
|
6856
6756
|
"fields": {
|
|
6857
|
-
"
|
|
6757
|
+
"public_cert": {
|
|
6758
|
+
"rule": "required",
|
|
6858
6759
|
"type": "bytes",
|
|
6859
6760
|
"id": 1
|
|
6860
6761
|
}
|
|
6861
6762
|
}
|
|
6862
6763
|
},
|
|
6863
|
-
"
|
|
6764
|
+
"SESignMessage": {
|
|
6864
6765
|
"fields": {
|
|
6865
|
-
"
|
|
6766
|
+
"message": {
|
|
6866
6767
|
"rule": "required",
|
|
6867
6768
|
"type": "bytes",
|
|
6868
6769
|
"id": 1
|
|
6869
6770
|
}
|
|
6870
6771
|
}
|
|
6871
6772
|
},
|
|
6872
|
-
"
|
|
6873
|
-
"fields": {}
|
|
6874
|
-
},
|
|
6875
|
-
"LoadDevice": {
|
|
6773
|
+
"SEMessageSignature": {
|
|
6876
6774
|
"fields": {
|
|
6877
|
-
"
|
|
6878
|
-
"rule": "repeated",
|
|
6879
|
-
"type": "string",
|
|
6880
|
-
"id": 1
|
|
6881
|
-
},
|
|
6882
|
-
"pin": {
|
|
6883
|
-
"type": "string",
|
|
6884
|
-
"id": 3
|
|
6885
|
-
},
|
|
6886
|
-
"passphrase_protection": {
|
|
6887
|
-
"type": "bool",
|
|
6888
|
-
"id": 4
|
|
6889
|
-
},
|
|
6890
|
-
"language": {
|
|
6891
|
-
"type": "string",
|
|
6892
|
-
"id": 5,
|
|
6893
|
-
"options": {
|
|
6894
|
-
"default": "en-US"
|
|
6895
|
-
}
|
|
6896
|
-
},
|
|
6897
|
-
"label": {
|
|
6898
|
-
"type": "string",
|
|
6899
|
-
"id": 6
|
|
6900
|
-
},
|
|
6901
|
-
"skip_checksum": {
|
|
6902
|
-
"type": "bool",
|
|
6903
|
-
"id": 7
|
|
6904
|
-
},
|
|
6905
|
-
"u2f_counter": {
|
|
6906
|
-
"type": "uint32",
|
|
6907
|
-
"id": 8
|
|
6908
|
-
},
|
|
6909
|
-
"needs_backup": {
|
|
6910
|
-
"type": "bool",
|
|
6911
|
-
"id": 9
|
|
6912
|
-
},
|
|
6913
|
-
"no_backup": {
|
|
6914
|
-
"type": "bool",
|
|
6915
|
-
"id": 10
|
|
6916
|
-
}
|
|
6917
|
-
}
|
|
6918
|
-
},
|
|
6919
|
-
"ResetDevice": {
|
|
6920
|
-
"fields": {
|
|
6921
|
-
"display_random": {
|
|
6922
|
-
"type": "bool",
|
|
6923
|
-
"id": 1
|
|
6924
|
-
},
|
|
6925
|
-
"strength": {
|
|
6926
|
-
"type": "uint32",
|
|
6927
|
-
"id": 2,
|
|
6928
|
-
"options": {
|
|
6929
|
-
"default": 256
|
|
6930
|
-
}
|
|
6931
|
-
},
|
|
6932
|
-
"passphrase_protection": {
|
|
6933
|
-
"type": "bool",
|
|
6934
|
-
"id": 3
|
|
6935
|
-
},
|
|
6936
|
-
"pin_protection": {
|
|
6937
|
-
"type": "bool",
|
|
6938
|
-
"id": 4
|
|
6939
|
-
},
|
|
6940
|
-
"language": {
|
|
6941
|
-
"type": "string",
|
|
6942
|
-
"id": 5,
|
|
6943
|
-
"options": {
|
|
6944
|
-
"default": "en-US"
|
|
6945
|
-
}
|
|
6946
|
-
},
|
|
6947
|
-
"label": {
|
|
6948
|
-
"type": "string",
|
|
6949
|
-
"id": 6
|
|
6950
|
-
},
|
|
6951
|
-
"u2f_counter": {
|
|
6952
|
-
"type": "uint32",
|
|
6953
|
-
"id": 7
|
|
6954
|
-
},
|
|
6955
|
-
"skip_backup": {
|
|
6956
|
-
"type": "bool",
|
|
6957
|
-
"id": 8
|
|
6958
|
-
},
|
|
6959
|
-
"no_backup": {
|
|
6960
|
-
"type": "bool",
|
|
6961
|
-
"id": 9
|
|
6962
|
-
},
|
|
6963
|
-
"backup_type": {
|
|
6964
|
-
"type": "BackupType",
|
|
6965
|
-
"id": 10,
|
|
6966
|
-
"options": {
|
|
6967
|
-
"default": "Bip39"
|
|
6968
|
-
}
|
|
6969
|
-
}
|
|
6970
|
-
}
|
|
6971
|
-
},
|
|
6972
|
-
"BackupDevice": {
|
|
6973
|
-
"fields": {}
|
|
6974
|
-
},
|
|
6975
|
-
"EntropyRequest": {
|
|
6976
|
-
"fields": {}
|
|
6977
|
-
},
|
|
6978
|
-
"EntropyAck": {
|
|
6979
|
-
"fields": {
|
|
6980
|
-
"entropy": {
|
|
6775
|
+
"signature": {
|
|
6981
6776
|
"rule": "required",
|
|
6982
6777
|
"type": "bytes",
|
|
6983
6778
|
"id": 1
|
|
6984
6779
|
}
|
|
6985
6780
|
}
|
|
6986
6781
|
},
|
|
6987
|
-
"
|
|
6782
|
+
"ResourceUpload": {
|
|
6988
6783
|
"fields": {
|
|
6989
|
-
"
|
|
6990
|
-
"
|
|
6784
|
+
"extension": {
|
|
6785
|
+
"rule": "required",
|
|
6786
|
+
"type": "string",
|
|
6991
6787
|
"id": 1
|
|
6992
6788
|
},
|
|
6993
|
-
"
|
|
6994
|
-
"
|
|
6789
|
+
"data_length": {
|
|
6790
|
+
"rule": "required",
|
|
6791
|
+
"type": "uint32",
|
|
6995
6792
|
"id": 2
|
|
6996
6793
|
},
|
|
6997
|
-
"
|
|
6998
|
-
"
|
|
6794
|
+
"res_type": {
|
|
6795
|
+
"rule": "required",
|
|
6796
|
+
"type": "ResourceType",
|
|
6999
6797
|
"id": 3
|
|
7000
6798
|
},
|
|
7001
|
-
"
|
|
7002
|
-
"type": "
|
|
6799
|
+
"nft_meta_data": {
|
|
6800
|
+
"type": "bytes",
|
|
7003
6801
|
"id": 4
|
|
7004
6802
|
},
|
|
7005
|
-
"
|
|
7006
|
-
"
|
|
6803
|
+
"zoom_data_length": {
|
|
6804
|
+
"rule": "required",
|
|
6805
|
+
"type": "uint32",
|
|
7007
6806
|
"id": 5
|
|
7008
6807
|
},
|
|
7009
|
-
"
|
|
7010
|
-
"type": "
|
|
6808
|
+
"file_name_no_ext": {
|
|
6809
|
+
"type": "string",
|
|
7011
6810
|
"id": 6
|
|
7012
6811
|
},
|
|
7013
|
-
"
|
|
7014
|
-
"type": "RecoveryDeviceType",
|
|
7015
|
-
"id": 8
|
|
7016
|
-
},
|
|
7017
|
-
"u2f_counter": {
|
|
6812
|
+
"blur_data_length": {
|
|
7018
6813
|
"type": "uint32",
|
|
7019
|
-
"id":
|
|
7020
|
-
},
|
|
7021
|
-
"dry_run": {
|
|
7022
|
-
"type": "bool",
|
|
7023
|
-
"id": 10
|
|
6814
|
+
"id": 7
|
|
7024
6815
|
}
|
|
7025
6816
|
},
|
|
7026
6817
|
"nested": {
|
|
7027
|
-
"
|
|
6818
|
+
"ResourceType": {
|
|
7028
6819
|
"values": {
|
|
7029
|
-
"
|
|
7030
|
-
"
|
|
6820
|
+
"WallPaper": 0,
|
|
6821
|
+
"Nft": 1
|
|
7031
6822
|
}
|
|
7032
6823
|
}
|
|
7033
6824
|
}
|
|
7034
6825
|
},
|
|
7035
|
-
"
|
|
6826
|
+
"ZoomRequest": {
|
|
7036
6827
|
"fields": {
|
|
7037
|
-
"
|
|
7038
|
-
"
|
|
7039
|
-
"type": "WordRequestType",
|
|
6828
|
+
"offset": {
|
|
6829
|
+
"type": "uint32",
|
|
7040
6830
|
"id": 1
|
|
7041
|
-
}
|
|
7042
|
-
|
|
7043
|
-
|
|
7044
|
-
|
|
7045
|
-
"
|
|
7046
|
-
"WordRequestType_Plain": 0,
|
|
7047
|
-
"WordRequestType_Matrix9": 1,
|
|
7048
|
-
"WordRequestType_Matrix6": 2
|
|
7049
|
-
}
|
|
6831
|
+
},
|
|
6832
|
+
"data_length": {
|
|
6833
|
+
"rule": "required",
|
|
6834
|
+
"type": "uint32",
|
|
6835
|
+
"id": 2
|
|
7050
6836
|
}
|
|
7051
6837
|
}
|
|
7052
6838
|
},
|
|
7053
|
-
"
|
|
6839
|
+
"BlurRequest": {
|
|
7054
6840
|
"fields": {
|
|
7055
|
-
"
|
|
7056
|
-
"
|
|
7057
|
-
"type": "string",
|
|
6841
|
+
"offset": {
|
|
6842
|
+
"type": "uint32",
|
|
7058
6843
|
"id": 1
|
|
6844
|
+
},
|
|
6845
|
+
"data_length": {
|
|
6846
|
+
"rule": "required",
|
|
6847
|
+
"type": "uint32",
|
|
6848
|
+
"id": 2
|
|
7059
6849
|
}
|
|
7060
6850
|
}
|
|
7061
6851
|
},
|
|
7062
|
-
"
|
|
6852
|
+
"ResourceRequest": {
|
|
7063
6853
|
"fields": {
|
|
7064
|
-
"
|
|
7065
|
-
"rule": "required",
|
|
6854
|
+
"offset": {
|
|
7066
6855
|
"type": "uint32",
|
|
7067
6856
|
"id": 1
|
|
6857
|
+
},
|
|
6858
|
+
"data_length": {
|
|
6859
|
+
"rule": "required",
|
|
6860
|
+
"type": "uint32",
|
|
6861
|
+
"id": 2
|
|
7068
6862
|
}
|
|
7069
6863
|
}
|
|
7070
6864
|
},
|
|
7071
|
-
"
|
|
7072
|
-
"fields": {}
|
|
7073
|
-
},
|
|
7074
|
-
"NextU2FCounter": {
|
|
6865
|
+
"ResourceAck": {
|
|
7075
6866
|
"fields": {
|
|
7076
|
-
"
|
|
6867
|
+
"data_chunk": {
|
|
7077
6868
|
"rule": "required",
|
|
7078
|
-
"type": "
|
|
6869
|
+
"type": "bytes",
|
|
7079
6870
|
"id": 1
|
|
6871
|
+
},
|
|
6872
|
+
"hash": {
|
|
6873
|
+
"type": "bytes",
|
|
6874
|
+
"id": 2
|
|
7080
6875
|
}
|
|
7081
6876
|
}
|
|
7082
6877
|
},
|
|
7083
|
-
"
|
|
7084
|
-
"
|
|
7085
|
-
|
|
7086
|
-
|
|
7087
|
-
|
|
7088
|
-
},
|
|
7089
|
-
"CancelAuthorization": {
|
|
7090
|
-
"fields": {}
|
|
7091
|
-
},
|
|
7092
|
-
"GetNonce": {
|
|
7093
|
-
"options": {
|
|
7094
|
-
"(experimental_message)": true
|
|
7095
|
-
},
|
|
7096
|
-
"fields": {}
|
|
6878
|
+
"WallpaperTarget": {
|
|
6879
|
+
"values": {
|
|
6880
|
+
"Home": 0,
|
|
6881
|
+
"Lock": 1
|
|
6882
|
+
}
|
|
7097
6883
|
},
|
|
7098
|
-
"
|
|
7099
|
-
"options": {
|
|
7100
|
-
"(experimental_message)": true
|
|
7101
|
-
},
|
|
6884
|
+
"SetWallpaper": {
|
|
7102
6885
|
"fields": {
|
|
7103
|
-
"
|
|
6886
|
+
"target": {
|
|
7104
6887
|
"rule": "required",
|
|
7105
|
-
"type": "
|
|
6888
|
+
"type": "WallpaperTarget",
|
|
7106
6889
|
"id": 1
|
|
6890
|
+
},
|
|
6891
|
+
"path": {
|
|
6892
|
+
"rule": "required",
|
|
6893
|
+
"type": "string",
|
|
6894
|
+
"id": 2
|
|
7107
6895
|
}
|
|
7108
6896
|
}
|
|
7109
6897
|
},
|
|
7110
|
-
"
|
|
6898
|
+
"GetWallpaper": {
|
|
7111
6899
|
"fields": {
|
|
7112
|
-
"
|
|
6900
|
+
"target": {
|
|
7113
6901
|
"rule": "required",
|
|
7114
|
-
"type": "
|
|
6902
|
+
"type": "WallpaperTarget",
|
|
7115
6903
|
"id": 1
|
|
7116
6904
|
}
|
|
7117
6905
|
}
|
|
7118
6906
|
},
|
|
7119
|
-
"
|
|
7120
|
-
"fields": {}
|
|
7121
|
-
},
|
|
7122
|
-
"SEPublicKey": {
|
|
6907
|
+
"Wallpaper": {
|
|
7123
6908
|
"fields": {
|
|
7124
|
-
"
|
|
6909
|
+
"target": {
|
|
7125
6910
|
"rule": "required",
|
|
7126
|
-
"type": "
|
|
6911
|
+
"type": "WallpaperTarget",
|
|
7127
6912
|
"id": 1
|
|
6913
|
+
},
|
|
6914
|
+
"path": {
|
|
6915
|
+
"rule": "required",
|
|
6916
|
+
"type": "string",
|
|
6917
|
+
"id": 2
|
|
7128
6918
|
}
|
|
7129
6919
|
}
|
|
7130
6920
|
},
|
|
7131
|
-
"
|
|
6921
|
+
"ResourceUpdate": {
|
|
7132
6922
|
"fields": {
|
|
7133
|
-
"
|
|
6923
|
+
"file_name": {
|
|
7134
6924
|
"rule": "required",
|
|
7135
|
-
"type": "
|
|
7136
|
-
"id": 1
|
|
7137
|
-
}
|
|
7138
|
-
}
|
|
7139
|
-
},
|
|
7140
|
-
"ReadSEPublicCert": {
|
|
7141
|
-
"fields": {}
|
|
7142
|
-
},
|
|
7143
|
-
"SEPublicCert": {
|
|
7144
|
-
"fields": {
|
|
7145
|
-
"public_cert": {
|
|
7146
|
-
"rule": "required",
|
|
7147
|
-
"type": "bytes",
|
|
7148
|
-
"id": 1
|
|
7149
|
-
}
|
|
7150
|
-
}
|
|
7151
|
-
},
|
|
7152
|
-
"SESignMessage": {
|
|
7153
|
-
"fields": {
|
|
7154
|
-
"message": {
|
|
7155
|
-
"rule": "required",
|
|
7156
|
-
"type": "bytes",
|
|
7157
|
-
"id": 1
|
|
7158
|
-
}
|
|
7159
|
-
}
|
|
7160
|
-
},
|
|
7161
|
-
"SEMessageSignature": {
|
|
7162
|
-
"fields": {
|
|
7163
|
-
"signature": {
|
|
7164
|
-
"rule": "required",
|
|
7165
|
-
"type": "bytes",
|
|
7166
|
-
"id": 1
|
|
7167
|
-
}
|
|
7168
|
-
}
|
|
7169
|
-
},
|
|
7170
|
-
"ResourceUpload": {
|
|
7171
|
-
"fields": {
|
|
7172
|
-
"extension": {
|
|
7173
|
-
"rule": "required",
|
|
7174
|
-
"type": "string",
|
|
7175
|
-
"id": 1
|
|
7176
|
-
},
|
|
7177
|
-
"data_length": {
|
|
7178
|
-
"rule": "required",
|
|
7179
|
-
"type": "uint32",
|
|
7180
|
-
"id": 2
|
|
7181
|
-
},
|
|
7182
|
-
"res_type": {
|
|
7183
|
-
"rule": "required",
|
|
7184
|
-
"type": "ResourceType",
|
|
7185
|
-
"id": 3
|
|
7186
|
-
},
|
|
7187
|
-
"nft_meta_data": {
|
|
7188
|
-
"type": "bytes",
|
|
7189
|
-
"id": 4
|
|
7190
|
-
},
|
|
7191
|
-
"zoom_data_length": {
|
|
7192
|
-
"rule": "required",
|
|
7193
|
-
"type": "uint32",
|
|
7194
|
-
"id": 5
|
|
7195
|
-
},
|
|
7196
|
-
"file_name_no_ext": {
|
|
7197
|
-
"type": "string",
|
|
7198
|
-
"id": 6
|
|
7199
|
-
},
|
|
7200
|
-
"blur_data_length": {
|
|
7201
|
-
"type": "uint32",
|
|
7202
|
-
"id": 7
|
|
7203
|
-
}
|
|
7204
|
-
},
|
|
7205
|
-
"nested": {
|
|
7206
|
-
"ResourceType": {
|
|
7207
|
-
"values": {
|
|
7208
|
-
"WallPaper": 0,
|
|
7209
|
-
"Nft": 1
|
|
7210
|
-
}
|
|
7211
|
-
}
|
|
7212
|
-
}
|
|
7213
|
-
},
|
|
7214
|
-
"ZoomRequest": {
|
|
7215
|
-
"fields": {
|
|
7216
|
-
"offset": {
|
|
7217
|
-
"type": "uint32",
|
|
7218
|
-
"id": 1
|
|
7219
|
-
},
|
|
7220
|
-
"data_length": {
|
|
7221
|
-
"rule": "required",
|
|
7222
|
-
"type": "uint32",
|
|
7223
|
-
"id": 2
|
|
7224
|
-
}
|
|
7225
|
-
}
|
|
7226
|
-
},
|
|
7227
|
-
"BlurRequest": {
|
|
7228
|
-
"fields": {
|
|
7229
|
-
"offset": {
|
|
7230
|
-
"type": "uint32",
|
|
7231
|
-
"id": 1
|
|
7232
|
-
},
|
|
7233
|
-
"data_length": {
|
|
7234
|
-
"rule": "required",
|
|
7235
|
-
"type": "uint32",
|
|
7236
|
-
"id": 2
|
|
7237
|
-
}
|
|
7238
|
-
}
|
|
7239
|
-
},
|
|
7240
|
-
"ResourceRequest": {
|
|
7241
|
-
"fields": {
|
|
7242
|
-
"offset": {
|
|
7243
|
-
"type": "uint32",
|
|
7244
|
-
"id": 1
|
|
7245
|
-
},
|
|
7246
|
-
"data_length": {
|
|
7247
|
-
"rule": "required",
|
|
7248
|
-
"type": "uint32",
|
|
7249
|
-
"id": 2
|
|
7250
|
-
}
|
|
7251
|
-
}
|
|
7252
|
-
},
|
|
7253
|
-
"ResourceAck": {
|
|
7254
|
-
"fields": {
|
|
7255
|
-
"data_chunk": {
|
|
7256
|
-
"rule": "required",
|
|
7257
|
-
"type": "bytes",
|
|
7258
|
-
"id": 1
|
|
7259
|
-
},
|
|
7260
|
-
"hash": {
|
|
7261
|
-
"type": "bytes",
|
|
7262
|
-
"id": 2
|
|
7263
|
-
}
|
|
7264
|
-
}
|
|
7265
|
-
},
|
|
7266
|
-
"ResourceUpdate": {
|
|
7267
|
-
"fields": {
|
|
7268
|
-
"file_name": {
|
|
7269
|
-
"rule": "required",
|
|
7270
|
-
"type": "string",
|
|
6925
|
+
"type": "string",
|
|
7271
6926
|
"id": 1
|
|
7272
6927
|
},
|
|
7273
6928
|
"data_length": {
|
|
@@ -9437,7 +9092,18 @@
|
|
|
9437
9092
|
}
|
|
9438
9093
|
}
|
|
9439
9094
|
},
|
|
9440
|
-
"
|
|
9095
|
+
"SolanaOffChainMessageVersion": {
|
|
9096
|
+
"values": {
|
|
9097
|
+
"MESSAGE_VERSION_0": 0
|
|
9098
|
+
}
|
|
9099
|
+
},
|
|
9100
|
+
"SolanaOffChainMessageFormat": {
|
|
9101
|
+
"values": {
|
|
9102
|
+
"V0_RESTRICTED_ASCII": 0,
|
|
9103
|
+
"V0_LIMITED_UTF8": 1
|
|
9104
|
+
}
|
|
9105
|
+
},
|
|
9106
|
+
"SolanaGetAddress": {
|
|
9441
9107
|
"fields": {
|
|
9442
9108
|
"address_n": {
|
|
9443
9109
|
"rule": "repeated",
|
|
@@ -9453,7 +9119,7 @@
|
|
|
9453
9119
|
}
|
|
9454
9120
|
}
|
|
9455
9121
|
},
|
|
9456
|
-
"
|
|
9122
|
+
"SolanaAddress": {
|
|
9457
9123
|
"fields": {
|
|
9458
9124
|
"address": {
|
|
9459
9125
|
"rule": "required",
|
|
@@ -9462,7 +9128,7 @@
|
|
|
9462
9128
|
}
|
|
9463
9129
|
}
|
|
9464
9130
|
},
|
|
9465
|
-
"
|
|
9131
|
+
"SolanaSignTx": {
|
|
9466
9132
|
"fields": {
|
|
9467
9133
|
"address_n": {
|
|
9468
9134
|
"rule": "repeated",
|
|
@@ -9472,80 +9138,58 @@
|
|
|
9472
9138
|
"packed": false
|
|
9473
9139
|
}
|
|
9474
9140
|
},
|
|
9475
|
-
"
|
|
9141
|
+
"raw_tx": {
|
|
9476
9142
|
"rule": "required",
|
|
9477
9143
|
"type": "bytes",
|
|
9478
9144
|
"id": 2
|
|
9479
|
-
}
|
|
9480
|
-
|
|
9481
|
-
|
|
9482
|
-
|
|
9483
|
-
|
|
9484
|
-
|
|
9485
|
-
"gas_limit": {
|
|
9486
|
-
"rule": "required",
|
|
9487
|
-
"type": "bytes",
|
|
9488
|
-
"id": 4
|
|
9489
|
-
},
|
|
9490
|
-
"to": {
|
|
9491
|
-
"rule": "required",
|
|
9492
|
-
"type": "string",
|
|
9493
|
-
"id": 5
|
|
9494
|
-
},
|
|
9495
|
-
"value": {
|
|
9145
|
+
}
|
|
9146
|
+
}
|
|
9147
|
+
},
|
|
9148
|
+
"SolanaSignedTx": {
|
|
9149
|
+
"fields": {
|
|
9150
|
+
"signature": {
|
|
9496
9151
|
"rule": "required",
|
|
9497
9152
|
"type": "bytes",
|
|
9498
|
-
"id":
|
|
9153
|
+
"id": 1
|
|
9154
|
+
}
|
|
9155
|
+
}
|
|
9156
|
+
},
|
|
9157
|
+
"SolanaSignOffChainMessage": {
|
|
9158
|
+
"fields": {
|
|
9159
|
+
"address_n": {
|
|
9160
|
+
"rule": "repeated",
|
|
9161
|
+
"type": "uint32",
|
|
9162
|
+
"id": 1,
|
|
9163
|
+
"options": {
|
|
9164
|
+
"packed": false
|
|
9165
|
+
}
|
|
9499
9166
|
},
|
|
9500
|
-
"
|
|
9167
|
+
"message": {
|
|
9501
9168
|
"rule": "required",
|
|
9502
9169
|
"type": "bytes",
|
|
9503
|
-
"id":
|
|
9504
|
-
},
|
|
9505
|
-
"data_initial_chunk": {
|
|
9506
|
-
"type": "bytes",
|
|
9507
|
-
"id": 8,
|
|
9508
|
-
"options": {
|
|
9509
|
-
"default": ""
|
|
9510
|
-
}
|
|
9170
|
+
"id": 2
|
|
9511
9171
|
},
|
|
9512
|
-
"
|
|
9513
|
-
"type": "
|
|
9514
|
-
"id":
|
|
9172
|
+
"message_version": {
|
|
9173
|
+
"type": "SolanaOffChainMessageVersion",
|
|
9174
|
+
"id": 3,
|
|
9515
9175
|
"options": {
|
|
9516
|
-
"default":
|
|
9176
|
+
"default": "MESSAGE_VERSION_0"
|
|
9517
9177
|
}
|
|
9518
9178
|
},
|
|
9519
|
-
"
|
|
9520
|
-
"type": "
|
|
9521
|
-
"id":
|
|
9179
|
+
"message_format": {
|
|
9180
|
+
"type": "SolanaOffChainMessageFormat",
|
|
9181
|
+
"id": 4,
|
|
9522
9182
|
"options": {
|
|
9523
|
-
"default":
|
|
9183
|
+
"default": "V0_RESTRICTED_ASCII"
|
|
9524
9184
|
}
|
|
9525
|
-
}
|
|
9526
|
-
}
|
|
9527
|
-
},
|
|
9528
|
-
"ScdoSignedTx": {
|
|
9529
|
-
"fields": {
|
|
9530
|
-
"data_length": {
|
|
9531
|
-
"type": "uint32",
|
|
9532
|
-
"id": 1
|
|
9533
9185
|
},
|
|
9534
|
-
"
|
|
9535
|
-
"type": "bytes",
|
|
9536
|
-
"id": 2
|
|
9537
|
-
}
|
|
9538
|
-
}
|
|
9539
|
-
},
|
|
9540
|
-
"ScdoTxAck": {
|
|
9541
|
-
"fields": {
|
|
9542
|
-
"data_chunk": {
|
|
9186
|
+
"application_domain": {
|
|
9543
9187
|
"type": "bytes",
|
|
9544
|
-
"id":
|
|
9188
|
+
"id": 5
|
|
9545
9189
|
}
|
|
9546
9190
|
}
|
|
9547
9191
|
},
|
|
9548
|
-
"
|
|
9192
|
+
"SolanaSignUnsafeMessage": {
|
|
9549
9193
|
"fields": {
|
|
9550
9194
|
"address_n": {
|
|
9551
9195
|
"rule": "repeated",
|
|
@@ -9556,35 +9200,26 @@
|
|
|
9556
9200
|
}
|
|
9557
9201
|
},
|
|
9558
9202
|
"message": {
|
|
9203
|
+
"rule": "required",
|
|
9559
9204
|
"type": "bytes",
|
|
9560
9205
|
"id": 2
|
|
9561
9206
|
}
|
|
9562
9207
|
}
|
|
9563
9208
|
},
|
|
9564
|
-
"
|
|
9209
|
+
"SolanaMessageSignature": {
|
|
9565
9210
|
"fields": {
|
|
9566
9211
|
"signature": {
|
|
9212
|
+
"rule": "required",
|
|
9567
9213
|
"type": "bytes",
|
|
9568
9214
|
"id": 1
|
|
9569
9215
|
},
|
|
9570
|
-
"
|
|
9571
|
-
"type": "
|
|
9216
|
+
"public_key": {
|
|
9217
|
+
"type": "bytes",
|
|
9572
9218
|
"id": 2
|
|
9573
9219
|
}
|
|
9574
9220
|
}
|
|
9575
9221
|
},
|
|
9576
|
-
"
|
|
9577
|
-
"values": {
|
|
9578
|
-
"MESSAGE_VERSION_0": 0
|
|
9579
|
-
}
|
|
9580
|
-
},
|
|
9581
|
-
"SolanaOffChainMessageFormat": {
|
|
9582
|
-
"values": {
|
|
9583
|
-
"V0_RESTRICTED_ASCII": 0,
|
|
9584
|
-
"V0_LIMITED_UTF8": 1
|
|
9585
|
-
}
|
|
9586
|
-
},
|
|
9587
|
-
"SolanaGetAddress": {
|
|
9222
|
+
"StarcoinGetAddress": {
|
|
9588
9223
|
"fields": {
|
|
9589
9224
|
"address_n": {
|
|
9590
9225
|
"rule": "repeated",
|
|
@@ -9600,123 +9235,7 @@
|
|
|
9600
9235
|
}
|
|
9601
9236
|
}
|
|
9602
9237
|
},
|
|
9603
|
-
"
|
|
9604
|
-
"fields": {
|
|
9605
|
-
"address": {
|
|
9606
|
-
"rule": "required",
|
|
9607
|
-
"type": "string",
|
|
9608
|
-
"id": 1
|
|
9609
|
-
}
|
|
9610
|
-
}
|
|
9611
|
-
},
|
|
9612
|
-
"SolanaSignTx": {
|
|
9613
|
-
"fields": {
|
|
9614
|
-
"address_n": {
|
|
9615
|
-
"rule": "repeated",
|
|
9616
|
-
"type": "uint32",
|
|
9617
|
-
"id": 1,
|
|
9618
|
-
"options": {
|
|
9619
|
-
"packed": false
|
|
9620
|
-
}
|
|
9621
|
-
},
|
|
9622
|
-
"raw_tx": {
|
|
9623
|
-
"rule": "required",
|
|
9624
|
-
"type": "bytes",
|
|
9625
|
-
"id": 2
|
|
9626
|
-
}
|
|
9627
|
-
}
|
|
9628
|
-
},
|
|
9629
|
-
"SolanaSignedTx": {
|
|
9630
|
-
"fields": {
|
|
9631
|
-
"signature": {
|
|
9632
|
-
"rule": "required",
|
|
9633
|
-
"type": "bytes",
|
|
9634
|
-
"id": 1
|
|
9635
|
-
}
|
|
9636
|
-
}
|
|
9637
|
-
},
|
|
9638
|
-
"SolanaSignOffChainMessage": {
|
|
9639
|
-
"fields": {
|
|
9640
|
-
"address_n": {
|
|
9641
|
-
"rule": "repeated",
|
|
9642
|
-
"type": "uint32",
|
|
9643
|
-
"id": 1,
|
|
9644
|
-
"options": {
|
|
9645
|
-
"packed": false
|
|
9646
|
-
}
|
|
9647
|
-
},
|
|
9648
|
-
"message": {
|
|
9649
|
-
"rule": "required",
|
|
9650
|
-
"type": "bytes",
|
|
9651
|
-
"id": 2
|
|
9652
|
-
},
|
|
9653
|
-
"message_version": {
|
|
9654
|
-
"type": "SolanaOffChainMessageVersion",
|
|
9655
|
-
"id": 3,
|
|
9656
|
-
"options": {
|
|
9657
|
-
"default": "MESSAGE_VERSION_0"
|
|
9658
|
-
}
|
|
9659
|
-
},
|
|
9660
|
-
"message_format": {
|
|
9661
|
-
"type": "SolanaOffChainMessageFormat",
|
|
9662
|
-
"id": 4,
|
|
9663
|
-
"options": {
|
|
9664
|
-
"default": "V0_RESTRICTED_ASCII"
|
|
9665
|
-
}
|
|
9666
|
-
},
|
|
9667
|
-
"application_domain": {
|
|
9668
|
-
"type": "bytes",
|
|
9669
|
-
"id": 5
|
|
9670
|
-
}
|
|
9671
|
-
}
|
|
9672
|
-
},
|
|
9673
|
-
"SolanaSignUnsafeMessage": {
|
|
9674
|
-
"fields": {
|
|
9675
|
-
"address_n": {
|
|
9676
|
-
"rule": "repeated",
|
|
9677
|
-
"type": "uint32",
|
|
9678
|
-
"id": 1,
|
|
9679
|
-
"options": {
|
|
9680
|
-
"packed": false
|
|
9681
|
-
}
|
|
9682
|
-
},
|
|
9683
|
-
"message": {
|
|
9684
|
-
"rule": "required",
|
|
9685
|
-
"type": "bytes",
|
|
9686
|
-
"id": 2
|
|
9687
|
-
}
|
|
9688
|
-
}
|
|
9689
|
-
},
|
|
9690
|
-
"SolanaMessageSignature": {
|
|
9691
|
-
"fields": {
|
|
9692
|
-
"signature": {
|
|
9693
|
-
"rule": "required",
|
|
9694
|
-
"type": "bytes",
|
|
9695
|
-
"id": 1
|
|
9696
|
-
},
|
|
9697
|
-
"public_key": {
|
|
9698
|
-
"type": "bytes",
|
|
9699
|
-
"id": 2
|
|
9700
|
-
}
|
|
9701
|
-
}
|
|
9702
|
-
},
|
|
9703
|
-
"StarcoinGetAddress": {
|
|
9704
|
-
"fields": {
|
|
9705
|
-
"address_n": {
|
|
9706
|
-
"rule": "repeated",
|
|
9707
|
-
"type": "uint32",
|
|
9708
|
-
"id": 1,
|
|
9709
|
-
"options": {
|
|
9710
|
-
"packed": false
|
|
9711
|
-
}
|
|
9712
|
-
},
|
|
9713
|
-
"show_display": {
|
|
9714
|
-
"type": "bool",
|
|
9715
|
-
"id": 2
|
|
9716
|
-
}
|
|
9717
|
-
}
|
|
9718
|
-
},
|
|
9719
|
-
"StarcoinAddress": {
|
|
9238
|
+
"StarcoinAddress": {
|
|
9720
9239
|
"fields": {
|
|
9721
9240
|
"address": {
|
|
9722
9241
|
"type": "string",
|
|
@@ -11390,522 +10909,701 @@
|
|
|
11390
10909
|
}
|
|
11391
10910
|
}
|
|
11392
10911
|
},
|
|
11393
|
-
"TronUnfreezeBalanceV2Contract": {
|
|
11394
|
-
"fields": {
|
|
11395
|
-
"unfreeze_balance": {
|
|
11396
|
-
"type": "uint64",
|
|
11397
|
-
"id": 2
|
|
11398
|
-
},
|
|
11399
|
-
"resource": {
|
|
11400
|
-
"type": "TronResourceCode",
|
|
11401
|
-
"id": 3
|
|
11402
|
-
}
|
|
11403
|
-
}
|
|
10912
|
+
"TronUnfreezeBalanceV2Contract": {
|
|
10913
|
+
"fields": {
|
|
10914
|
+
"unfreeze_balance": {
|
|
10915
|
+
"type": "uint64",
|
|
10916
|
+
"id": 2
|
|
10917
|
+
},
|
|
10918
|
+
"resource": {
|
|
10919
|
+
"type": "TronResourceCode",
|
|
10920
|
+
"id": 3
|
|
10921
|
+
}
|
|
10922
|
+
}
|
|
10923
|
+
},
|
|
10924
|
+
"TronWithdrawExpireUnfreezeContract": {
|
|
10925
|
+
"fields": {}
|
|
10926
|
+
},
|
|
10927
|
+
"TronDelegateResourceContract": {
|
|
10928
|
+
"fields": {
|
|
10929
|
+
"resource": {
|
|
10930
|
+
"type": "TronResourceCode",
|
|
10931
|
+
"id": 2
|
|
10932
|
+
},
|
|
10933
|
+
"balance": {
|
|
10934
|
+
"type": "uint64",
|
|
10935
|
+
"id": 3
|
|
10936
|
+
},
|
|
10937
|
+
"receiver_address": {
|
|
10938
|
+
"type": "string",
|
|
10939
|
+
"id": 4
|
|
10940
|
+
},
|
|
10941
|
+
"lock": {
|
|
10942
|
+
"type": "bool",
|
|
10943
|
+
"id": 5
|
|
10944
|
+
},
|
|
10945
|
+
"lock_period": {
|
|
10946
|
+
"type": "uint64",
|
|
10947
|
+
"id": 6
|
|
10948
|
+
}
|
|
10949
|
+
}
|
|
10950
|
+
},
|
|
10951
|
+
"TronUnDelegateResourceContract": {
|
|
10952
|
+
"fields": {
|
|
10953
|
+
"resource": {
|
|
10954
|
+
"type": "TronResourceCode",
|
|
10955
|
+
"id": 2
|
|
10956
|
+
},
|
|
10957
|
+
"balance": {
|
|
10958
|
+
"type": "uint64",
|
|
10959
|
+
"id": 3
|
|
10960
|
+
},
|
|
10961
|
+
"receiver_address": {
|
|
10962
|
+
"type": "string",
|
|
10963
|
+
"id": 4
|
|
10964
|
+
}
|
|
10965
|
+
}
|
|
10966
|
+
},
|
|
10967
|
+
"TronCancelAllUnfreezeV2Contract": {
|
|
10968
|
+
"fields": {}
|
|
10969
|
+
},
|
|
10970
|
+
"TronVoteWitnessContract": {
|
|
10971
|
+
"fields": {
|
|
10972
|
+
"votes": {
|
|
10973
|
+
"rule": "repeated",
|
|
10974
|
+
"type": "Vote",
|
|
10975
|
+
"id": 2
|
|
10976
|
+
},
|
|
10977
|
+
"support": {
|
|
10978
|
+
"type": "bool",
|
|
10979
|
+
"id": 3
|
|
10980
|
+
}
|
|
10981
|
+
},
|
|
10982
|
+
"nested": {
|
|
10983
|
+
"Vote": {
|
|
10984
|
+
"fields": {
|
|
10985
|
+
"vote_address": {
|
|
10986
|
+
"rule": "required",
|
|
10987
|
+
"type": "string",
|
|
10988
|
+
"id": 1
|
|
10989
|
+
},
|
|
10990
|
+
"vote_count": {
|
|
10991
|
+
"rule": "required",
|
|
10992
|
+
"type": "uint32",
|
|
10993
|
+
"id": 2
|
|
10994
|
+
}
|
|
10995
|
+
}
|
|
10996
|
+
}
|
|
10997
|
+
}
|
|
10998
|
+
}
|
|
10999
|
+
}
|
|
11000
|
+
}
|
|
11001
|
+
}
|
|
11002
|
+
},
|
|
11003
|
+
"TronSignedTx": {
|
|
11004
|
+
"fields": {
|
|
11005
|
+
"signature": {
|
|
11006
|
+
"rule": "required",
|
|
11007
|
+
"type": "bytes",
|
|
11008
|
+
"id": 1
|
|
11009
|
+
},
|
|
11010
|
+
"serialized_tx": {
|
|
11011
|
+
"type": "bytes",
|
|
11012
|
+
"id": 2
|
|
11013
|
+
}
|
|
11014
|
+
}
|
|
11015
|
+
},
|
|
11016
|
+
"TronMessageType": {
|
|
11017
|
+
"values": {
|
|
11018
|
+
"V1": 1,
|
|
11019
|
+
"V2": 2
|
|
11020
|
+
}
|
|
11021
|
+
},
|
|
11022
|
+
"TronSignMessage": {
|
|
11023
|
+
"fields": {
|
|
11024
|
+
"address_n": {
|
|
11025
|
+
"rule": "repeated",
|
|
11026
|
+
"type": "uint32",
|
|
11027
|
+
"id": 1,
|
|
11028
|
+
"options": {
|
|
11029
|
+
"packed": false
|
|
11030
|
+
}
|
|
11031
|
+
},
|
|
11032
|
+
"message": {
|
|
11033
|
+
"rule": "required",
|
|
11034
|
+
"type": "bytes",
|
|
11035
|
+
"id": 2
|
|
11036
|
+
},
|
|
11037
|
+
"message_type": {
|
|
11038
|
+
"type": "TronMessageType",
|
|
11039
|
+
"id": 3,
|
|
11040
|
+
"options": {
|
|
11041
|
+
"default": "V1"
|
|
11042
|
+
}
|
|
11043
|
+
}
|
|
11044
|
+
}
|
|
11045
|
+
},
|
|
11046
|
+
"TronMessageSignature": {
|
|
11047
|
+
"fields": {
|
|
11048
|
+
"address": {
|
|
11049
|
+
"rule": "required",
|
|
11050
|
+
"type": "bytes",
|
|
11051
|
+
"id": 1
|
|
11052
|
+
},
|
|
11053
|
+
"signature": {
|
|
11054
|
+
"rule": "required",
|
|
11055
|
+
"type": "bytes",
|
|
11056
|
+
"id": 2
|
|
11057
|
+
}
|
|
11058
|
+
}
|
|
11059
|
+
},
|
|
11060
|
+
"ViewAmount": {
|
|
11061
|
+
"fields": {
|
|
11062
|
+
"is_unlimited": {
|
|
11063
|
+
"rule": "required",
|
|
11064
|
+
"type": "bool",
|
|
11065
|
+
"id": 1
|
|
11066
|
+
},
|
|
11067
|
+
"num": {
|
|
11068
|
+
"rule": "required",
|
|
11069
|
+
"type": "string",
|
|
11070
|
+
"id": 2
|
|
11071
|
+
}
|
|
11072
|
+
}
|
|
11073
|
+
},
|
|
11074
|
+
"ViewDetail": {
|
|
11075
|
+
"fields": {
|
|
11076
|
+
"key": {
|
|
11077
|
+
"rule": "required",
|
|
11078
|
+
"type": "uint32",
|
|
11079
|
+
"id": 1
|
|
11080
|
+
},
|
|
11081
|
+
"value": {
|
|
11082
|
+
"rule": "required",
|
|
11083
|
+
"type": "string",
|
|
11084
|
+
"id": 2
|
|
11085
|
+
},
|
|
11086
|
+
"is_overview": {
|
|
11087
|
+
"rule": "required",
|
|
11088
|
+
"type": "bool",
|
|
11089
|
+
"id": 3
|
|
11090
|
+
},
|
|
11091
|
+
"has_icon": {
|
|
11092
|
+
"rule": "required",
|
|
11093
|
+
"type": "bool",
|
|
11094
|
+
"id": 4
|
|
11095
|
+
}
|
|
11096
|
+
}
|
|
11097
|
+
},
|
|
11098
|
+
"ViewTipType": {
|
|
11099
|
+
"values": {
|
|
11100
|
+
"Default": 0,
|
|
11101
|
+
"Highlight": 1,
|
|
11102
|
+
"Recommend": 2,
|
|
11103
|
+
"Warning": 3,
|
|
11104
|
+
"Danger": 4
|
|
11105
|
+
}
|
|
11106
|
+
},
|
|
11107
|
+
"ViewTip": {
|
|
11108
|
+
"fields": {
|
|
11109
|
+
"type": {
|
|
11110
|
+
"rule": "required",
|
|
11111
|
+
"type": "ViewTipType",
|
|
11112
|
+
"id": 1
|
|
11113
|
+
},
|
|
11114
|
+
"text": {
|
|
11115
|
+
"rule": "required",
|
|
11116
|
+
"type": "string",
|
|
11117
|
+
"id": 2
|
|
11118
|
+
}
|
|
11119
|
+
}
|
|
11120
|
+
},
|
|
11121
|
+
"ViewSignPage": {
|
|
11122
|
+
"fields": {
|
|
11123
|
+
"title": {
|
|
11124
|
+
"rule": "required",
|
|
11125
|
+
"type": "string",
|
|
11126
|
+
"id": 1
|
|
11127
|
+
},
|
|
11128
|
+
"amount": {
|
|
11129
|
+
"type": "ViewAmount",
|
|
11130
|
+
"id": 2
|
|
11131
|
+
},
|
|
11132
|
+
"general": {
|
|
11133
|
+
"rule": "repeated",
|
|
11134
|
+
"type": "ViewDetail",
|
|
11135
|
+
"id": 3
|
|
11136
|
+
},
|
|
11137
|
+
"tip": {
|
|
11138
|
+
"type": "ViewTip",
|
|
11139
|
+
"id": 4
|
|
11140
|
+
}
|
|
11141
|
+
}
|
|
11142
|
+
},
|
|
11143
|
+
"ViewVerifyPage": {
|
|
11144
|
+
"fields": {
|
|
11145
|
+
"title": {
|
|
11146
|
+
"rule": "required",
|
|
11147
|
+
"type": "string",
|
|
11148
|
+
"id": 1
|
|
11149
|
+
},
|
|
11150
|
+
"address": {
|
|
11151
|
+
"rule": "required",
|
|
11152
|
+
"type": "string",
|
|
11153
|
+
"id": 2
|
|
11154
|
+
},
|
|
11155
|
+
"path": {
|
|
11156
|
+
"rule": "required",
|
|
11157
|
+
"type": "string",
|
|
11158
|
+
"id": 3
|
|
11159
|
+
}
|
|
11160
|
+
}
|
|
11161
|
+
},
|
|
11162
|
+
"WebAuthnListResidentCredentials": {
|
|
11163
|
+
"fields": {}
|
|
11164
|
+
},
|
|
11165
|
+
"WebAuthnAddResidentCredential": {
|
|
11166
|
+
"fields": {
|
|
11167
|
+
"credential_id": {
|
|
11168
|
+
"type": "bytes",
|
|
11169
|
+
"id": 1
|
|
11170
|
+
}
|
|
11171
|
+
}
|
|
11172
|
+
},
|
|
11173
|
+
"WebAuthnRemoveResidentCredential": {
|
|
11174
|
+
"fields": {
|
|
11175
|
+
"index": {
|
|
11176
|
+
"type": "uint32",
|
|
11177
|
+
"id": 1
|
|
11178
|
+
}
|
|
11179
|
+
}
|
|
11180
|
+
},
|
|
11181
|
+
"WebAuthnCredentials": {
|
|
11182
|
+
"fields": {
|
|
11183
|
+
"credentials": {
|
|
11184
|
+
"rule": "repeated",
|
|
11185
|
+
"type": "WebAuthnCredential",
|
|
11186
|
+
"id": 1
|
|
11187
|
+
}
|
|
11188
|
+
},
|
|
11189
|
+
"nested": {
|
|
11190
|
+
"WebAuthnCredential": {
|
|
11191
|
+
"fields": {
|
|
11192
|
+
"index": {
|
|
11193
|
+
"type": "uint32",
|
|
11194
|
+
"id": 1
|
|
11195
|
+
},
|
|
11196
|
+
"id": {
|
|
11197
|
+
"type": "bytes",
|
|
11198
|
+
"id": 2
|
|
11199
|
+
},
|
|
11200
|
+
"rp_id": {
|
|
11201
|
+
"type": "string",
|
|
11202
|
+
"id": 3
|
|
11203
|
+
},
|
|
11204
|
+
"rp_name": {
|
|
11205
|
+
"type": "string",
|
|
11206
|
+
"id": 4
|
|
11404
11207
|
},
|
|
11405
|
-
"
|
|
11406
|
-
"
|
|
11208
|
+
"user_id": {
|
|
11209
|
+
"type": "bytes",
|
|
11210
|
+
"id": 5
|
|
11407
11211
|
},
|
|
11408
|
-
"
|
|
11409
|
-
"
|
|
11410
|
-
|
|
11411
|
-
"type": "TronResourceCode",
|
|
11412
|
-
"id": 2
|
|
11413
|
-
},
|
|
11414
|
-
"balance": {
|
|
11415
|
-
"type": "uint64",
|
|
11416
|
-
"id": 3
|
|
11417
|
-
},
|
|
11418
|
-
"receiver_address": {
|
|
11419
|
-
"type": "string",
|
|
11420
|
-
"id": 4
|
|
11421
|
-
},
|
|
11422
|
-
"lock": {
|
|
11423
|
-
"type": "bool",
|
|
11424
|
-
"id": 5
|
|
11425
|
-
},
|
|
11426
|
-
"lock_period": {
|
|
11427
|
-
"type": "uint64",
|
|
11428
|
-
"id": 6
|
|
11429
|
-
}
|
|
11430
|
-
}
|
|
11212
|
+
"user_name": {
|
|
11213
|
+
"type": "string",
|
|
11214
|
+
"id": 6
|
|
11431
11215
|
},
|
|
11432
|
-
"
|
|
11433
|
-
"
|
|
11434
|
-
|
|
11435
|
-
"type": "TronResourceCode",
|
|
11436
|
-
"id": 2
|
|
11437
|
-
},
|
|
11438
|
-
"balance": {
|
|
11439
|
-
"type": "uint64",
|
|
11440
|
-
"id": 3
|
|
11441
|
-
},
|
|
11442
|
-
"receiver_address": {
|
|
11443
|
-
"type": "string",
|
|
11444
|
-
"id": 4
|
|
11445
|
-
}
|
|
11446
|
-
}
|
|
11216
|
+
"user_display_name": {
|
|
11217
|
+
"type": "string",
|
|
11218
|
+
"id": 7
|
|
11447
11219
|
},
|
|
11448
|
-
"
|
|
11449
|
-
"
|
|
11220
|
+
"creation_time": {
|
|
11221
|
+
"type": "uint32",
|
|
11222
|
+
"id": 8
|
|
11450
11223
|
},
|
|
11451
|
-
"
|
|
11452
|
-
"
|
|
11453
|
-
|
|
11454
|
-
|
|
11455
|
-
|
|
11456
|
-
|
|
11457
|
-
|
|
11458
|
-
|
|
11459
|
-
|
|
11460
|
-
|
|
11461
|
-
|
|
11462
|
-
|
|
11463
|
-
|
|
11464
|
-
|
|
11465
|
-
|
|
11466
|
-
"vote_address": {
|
|
11467
|
-
"rule": "required",
|
|
11468
|
-
"type": "string",
|
|
11469
|
-
"id": 1
|
|
11470
|
-
},
|
|
11471
|
-
"vote_count": {
|
|
11472
|
-
"rule": "required",
|
|
11473
|
-
"type": "uint32",
|
|
11474
|
-
"id": 2
|
|
11475
|
-
}
|
|
11476
|
-
}
|
|
11477
|
-
}
|
|
11478
|
-
}
|
|
11224
|
+
"hmac_secret": {
|
|
11225
|
+
"type": "bool",
|
|
11226
|
+
"id": 9
|
|
11227
|
+
},
|
|
11228
|
+
"use_sign_count": {
|
|
11229
|
+
"type": "bool",
|
|
11230
|
+
"id": 10
|
|
11231
|
+
},
|
|
11232
|
+
"algorithm": {
|
|
11233
|
+
"type": "sint32",
|
|
11234
|
+
"id": 11
|
|
11235
|
+
},
|
|
11236
|
+
"curve": {
|
|
11237
|
+
"type": "sint32",
|
|
11238
|
+
"id": 12
|
|
11479
11239
|
}
|
|
11480
11240
|
}
|
|
11481
11241
|
}
|
|
11482
11242
|
}
|
|
11483
11243
|
},
|
|
11484
|
-
"
|
|
11244
|
+
"ProtocolInfoRequest": {
|
|
11245
|
+
"fields": {}
|
|
11246
|
+
},
|
|
11247
|
+
"ProtocolInfo": {
|
|
11485
11248
|
"fields": {
|
|
11486
|
-
"
|
|
11249
|
+
"version": {
|
|
11487
11250
|
"rule": "required",
|
|
11488
|
-
"type": "
|
|
11251
|
+
"type": "uint32",
|
|
11489
11252
|
"id": 1
|
|
11490
11253
|
},
|
|
11491
|
-
"
|
|
11492
|
-
"type": "bytes",
|
|
11493
|
-
"id": 2
|
|
11494
|
-
}
|
|
11495
|
-
}
|
|
11496
|
-
},
|
|
11497
|
-
"TronMessageType": {
|
|
11498
|
-
"values": {
|
|
11499
|
-
"V1": 1,
|
|
11500
|
-
"V2": 2
|
|
11501
|
-
}
|
|
11502
|
-
},
|
|
11503
|
-
"TronSignMessage": {
|
|
11504
|
-
"fields": {
|
|
11505
|
-
"address_n": {
|
|
11254
|
+
"supported_messages": {
|
|
11506
11255
|
"rule": "repeated",
|
|
11507
11256
|
"type": "uint32",
|
|
11508
|
-
"id":
|
|
11257
|
+
"id": 2,
|
|
11509
11258
|
"options": {
|
|
11510
11259
|
"packed": false
|
|
11511
11260
|
}
|
|
11512
11261
|
},
|
|
11262
|
+
"protobuf_definition": {
|
|
11263
|
+
"type": "string",
|
|
11264
|
+
"id": 3
|
|
11265
|
+
}
|
|
11266
|
+
}
|
|
11267
|
+
},
|
|
11268
|
+
"Ping": {
|
|
11269
|
+
"fields": {
|
|
11513
11270
|
"message": {
|
|
11514
|
-
"
|
|
11515
|
-
"
|
|
11516
|
-
"id": 2
|
|
11517
|
-
},
|
|
11518
|
-
"message_type": {
|
|
11519
|
-
"type": "TronMessageType",
|
|
11520
|
-
"id": 3,
|
|
11271
|
+
"type": "string",
|
|
11272
|
+
"id": 1,
|
|
11521
11273
|
"options": {
|
|
11522
|
-
"default": "
|
|
11274
|
+
"default": ""
|
|
11523
11275
|
}
|
|
11524
11276
|
}
|
|
11525
11277
|
}
|
|
11526
11278
|
},
|
|
11527
|
-
"
|
|
11279
|
+
"Success": {
|
|
11528
11280
|
"fields": {
|
|
11529
|
-
"
|
|
11530
|
-
"
|
|
11531
|
-
"
|
|
11532
|
-
"
|
|
11533
|
-
|
|
11534
|
-
|
|
11535
|
-
"rule": "required",
|
|
11536
|
-
"type": "bytes",
|
|
11537
|
-
"id": 2
|
|
11281
|
+
"message": {
|
|
11282
|
+
"type": "string",
|
|
11283
|
+
"id": 1,
|
|
11284
|
+
"options": {
|
|
11285
|
+
"default": ""
|
|
11286
|
+
}
|
|
11538
11287
|
}
|
|
11539
11288
|
}
|
|
11540
11289
|
},
|
|
11541
|
-
"
|
|
11290
|
+
"Failure": {
|
|
11542
11291
|
"fields": {
|
|
11543
|
-
"
|
|
11292
|
+
"code": {
|
|
11544
11293
|
"rule": "required",
|
|
11545
|
-
"type": "
|
|
11294
|
+
"type": "FailureType",
|
|
11546
11295
|
"id": 1
|
|
11547
11296
|
},
|
|
11548
|
-
"
|
|
11549
|
-
"rule": "required",
|
|
11297
|
+
"subcode": {
|
|
11550
11298
|
"type": "uint32",
|
|
11551
11299
|
"id": 2
|
|
11552
11300
|
},
|
|
11553
|
-
"
|
|
11554
|
-
"rule": "required",
|
|
11301
|
+
"message": {
|
|
11555
11302
|
"type": "string",
|
|
11556
11303
|
"id": 3
|
|
11557
11304
|
}
|
|
11305
|
+
},
|
|
11306
|
+
"nested": {
|
|
11307
|
+
"FailureType": {
|
|
11308
|
+
"values": {
|
|
11309
|
+
"Failure_InvalidMessage": 1,
|
|
11310
|
+
"Failure_UndefinedError": 2,
|
|
11311
|
+
"Failure_UsageError": 3,
|
|
11312
|
+
"Failure_DataError": 4,
|
|
11313
|
+
"Failure_ProcessError": 5
|
|
11314
|
+
}
|
|
11315
|
+
}
|
|
11316
|
+
}
|
|
11317
|
+
},
|
|
11318
|
+
"DeviceRebootType": {
|
|
11319
|
+
"values": {
|
|
11320
|
+
"Normal": 0,
|
|
11321
|
+
"Romloader": 1,
|
|
11322
|
+
"Bootloader": 2
|
|
11558
11323
|
}
|
|
11559
11324
|
},
|
|
11560
|
-
"
|
|
11325
|
+
"DeviceReboot": {
|
|
11561
11326
|
"fields": {
|
|
11562
|
-
"
|
|
11327
|
+
"reboot_type": {
|
|
11563
11328
|
"rule": "required",
|
|
11564
|
-
"type": "
|
|
11329
|
+
"type": "DeviceRebootType",
|
|
11565
11330
|
"id": 1
|
|
11566
|
-
}
|
|
11567
|
-
|
|
11568
|
-
|
|
11331
|
+
}
|
|
11332
|
+
}
|
|
11333
|
+
},
|
|
11334
|
+
"DeviceSettings": {
|
|
11335
|
+
"fields": {
|
|
11336
|
+
"label": {
|
|
11569
11337
|
"type": "string",
|
|
11338
|
+
"id": 1
|
|
11339
|
+
},
|
|
11340
|
+
"bt_enable": {
|
|
11341
|
+
"type": "bool",
|
|
11570
11342
|
"id": 2
|
|
11571
11343
|
},
|
|
11572
|
-
"
|
|
11344
|
+
"language": {
|
|
11573
11345
|
"type": "string",
|
|
11574
11346
|
"id": 3
|
|
11575
|
-
},
|
|
11576
|
-
"icon": {
|
|
11577
|
-
"type": "string",
|
|
11578
|
-
"id": 4
|
|
11579
11347
|
}
|
|
11580
11348
|
}
|
|
11581
11349
|
},
|
|
11582
|
-
"
|
|
11350
|
+
"DeviceSettingsGet": {
|
|
11351
|
+
"fields": {}
|
|
11352
|
+
},
|
|
11353
|
+
"DeviceSettingsSet": {
|
|
11583
11354
|
"fields": {
|
|
11584
|
-
"
|
|
11355
|
+
"settings": {
|
|
11585
11356
|
"rule": "required",
|
|
11586
|
-
"type": "
|
|
11357
|
+
"type": "DeviceSettings",
|
|
11358
|
+
"id": 1
|
|
11359
|
+
}
|
|
11360
|
+
}
|
|
11361
|
+
},
|
|
11362
|
+
"DeviceCertificate": {
|
|
11363
|
+
"fields": {
|
|
11364
|
+
"cert_and_pubkey": {
|
|
11365
|
+
"rule": "required",
|
|
11366
|
+
"type": "bytes",
|
|
11587
11367
|
"id": 1
|
|
11588
11368
|
},
|
|
11589
|
-
"
|
|
11590
|
-
"type": "
|
|
11369
|
+
"private_key": {
|
|
11370
|
+
"type": "bytes",
|
|
11591
11371
|
"id": 2
|
|
11592
11372
|
}
|
|
11593
11373
|
}
|
|
11594
11374
|
},
|
|
11595
|
-
"
|
|
11375
|
+
"DeviceCertificateWrite": {
|
|
11376
|
+
"fields": {
|
|
11377
|
+
"cert": {
|
|
11378
|
+
"rule": "required",
|
|
11379
|
+
"type": "DeviceCertificate",
|
|
11380
|
+
"id": 1
|
|
11381
|
+
}
|
|
11382
|
+
}
|
|
11383
|
+
},
|
|
11384
|
+
"DeviceCertificateRead": {
|
|
11385
|
+
"fields": {}
|
|
11386
|
+
},
|
|
11387
|
+
"DeviceCertificateSignature": {
|
|
11388
|
+
"fields": {
|
|
11389
|
+
"data": {
|
|
11390
|
+
"rule": "required",
|
|
11391
|
+
"type": "bytes",
|
|
11392
|
+
"id": 1
|
|
11393
|
+
}
|
|
11394
|
+
}
|
|
11395
|
+
},
|
|
11396
|
+
"DeviceCertificateSign": {
|
|
11397
|
+
"fields": {
|
|
11398
|
+
"data": {
|
|
11399
|
+
"rule": "required",
|
|
11400
|
+
"type": "bytes",
|
|
11401
|
+
"id": 1
|
|
11402
|
+
}
|
|
11403
|
+
}
|
|
11404
|
+
},
|
|
11405
|
+
"DeviceFirmwareTargetType": {
|
|
11406
|
+
"values": {
|
|
11407
|
+
"FW_MGMT_TARGET_INVALID": 0,
|
|
11408
|
+
"FW_MGMT_TARGET_CRATE": 1,
|
|
11409
|
+
"FW_MGMT_TARGET_ROMLOADER": 2,
|
|
11410
|
+
"FW_MGMT_TARGET_BOOTLOADER": 3,
|
|
11411
|
+
"FW_MGMT_TARGET_APPLICATION_P1": 4,
|
|
11412
|
+
"FW_MGMT_TARGET_APPLICATION_P2": 5,
|
|
11413
|
+
"FW_MGMT_TARGET_COPROCESSOR": 6,
|
|
11414
|
+
"FW_MGMT_TARGET_SE01": 7,
|
|
11415
|
+
"FW_MGMT_TARGET_SE02": 8,
|
|
11416
|
+
"FW_MGMT_TARGET_SE03": 9,
|
|
11417
|
+
"FW_MGMT_TARGET_SE04": 10
|
|
11418
|
+
}
|
|
11419
|
+
},
|
|
11420
|
+
"DeviceFirmwareUpdateTaskStatus": {
|
|
11421
|
+
"values": {
|
|
11422
|
+
"FW_MGMT_UPDATER_TASK_STATUS_PENDING": 0,
|
|
11423
|
+
"FW_MGMT_UPDATER_TASK_STATUS_IN_PROGRESS": 1,
|
|
11424
|
+
"FW_MGMT_UPDATER_TASK_STATUS_FINISHED": 2,
|
|
11425
|
+
"FW_MGMT_UPDATER_TASK_STATUS_FAILED_FILE_NOT_FOUND": 3,
|
|
11426
|
+
"FW_MGMT_UPDATER_TASK_STATUS_FAILED_FILE_READ": 4,
|
|
11427
|
+
"FW_MGMT_UPDATER_TASK_STATUS_FAILED_FILE_WRITE": 5,
|
|
11428
|
+
"FW_MGMT_UPDATER_TASK_STATUS_FAILED_VERIFY": 6,
|
|
11429
|
+
"FW_MGMT_UPDATER_TASK_STATUS_FAILED_INSTALL": 7,
|
|
11430
|
+
"FW_MGMT_UPDATER_TASK_STATUS_FAILED_ABORT": 8,
|
|
11431
|
+
"FW_MGMT_UPDATER_TASK_STATUS_FAILED_BUSY": 9,
|
|
11432
|
+
"FW_MGMT_UPDATER_TASK_STATUS_FAILED_ENTRY_OUT_OF_BOUNDS": 10
|
|
11433
|
+
}
|
|
11434
|
+
},
|
|
11435
|
+
"DeviceFirmwareTarget": {
|
|
11596
11436
|
"fields": {
|
|
11597
|
-
"
|
|
11437
|
+
"target_id": {
|
|
11598
11438
|
"rule": "required",
|
|
11599
|
-
"type": "
|
|
11439
|
+
"type": "DeviceFirmwareTargetType",
|
|
11600
11440
|
"id": 1
|
|
11601
11441
|
},
|
|
11602
|
-
"
|
|
11442
|
+
"path": {
|
|
11603
11443
|
"rule": "required",
|
|
11604
11444
|
"type": "string",
|
|
11605
11445
|
"id": 2
|
|
11606
|
-
},
|
|
11607
|
-
"is_overview": {
|
|
11608
|
-
"rule": "required",
|
|
11609
|
-
"type": "bool",
|
|
11610
|
-
"id": 3
|
|
11611
11446
|
}
|
|
11612
11447
|
}
|
|
11613
11448
|
},
|
|
11614
|
-
"
|
|
11615
|
-
"
|
|
11616
|
-
"
|
|
11617
|
-
|
|
11449
|
+
"DeviceFirmwareUpdateRequest": {
|
|
11450
|
+
"fields": {
|
|
11451
|
+
"targets": {
|
|
11452
|
+
"rule": "repeated",
|
|
11453
|
+
"type": "DeviceFirmwareTarget",
|
|
11454
|
+
"id": 1
|
|
11455
|
+
}
|
|
11618
11456
|
}
|
|
11619
11457
|
},
|
|
11620
|
-
"
|
|
11458
|
+
"DeviceFirmwareUpdateRecord": {
|
|
11621
11459
|
"fields": {
|
|
11622
|
-
"
|
|
11460
|
+
"target_id": {
|
|
11623
11461
|
"rule": "required",
|
|
11624
|
-
"type": "
|
|
11462
|
+
"type": "DeviceFirmwareTargetType",
|
|
11625
11463
|
"id": 1
|
|
11626
11464
|
},
|
|
11627
|
-
"
|
|
11628
|
-
"
|
|
11629
|
-
"
|
|
11630
|
-
"id": 2
|
|
11631
|
-
},
|
|
11632
|
-
"amount": {
|
|
11633
|
-
"type": "TxDetailsAmount",
|
|
11634
|
-
"id": 3
|
|
11635
|
-
},
|
|
11636
|
-
"network": {
|
|
11637
|
-
"type": "TxDetailsNetwork",
|
|
11638
|
-
"id": 4
|
|
11465
|
+
"status": {
|
|
11466
|
+
"type": "DeviceFirmwareUpdateTaskStatus",
|
|
11467
|
+
"id": 10
|
|
11639
11468
|
},
|
|
11640
|
-
"
|
|
11641
|
-
"
|
|
11642
|
-
"
|
|
11643
|
-
"id": 5
|
|
11469
|
+
"payload_version": {
|
|
11470
|
+
"type": "uint32",
|
|
11471
|
+
"id": 20
|
|
11644
11472
|
},
|
|
11645
|
-
"
|
|
11646
|
-
"
|
|
11647
|
-
"
|
|
11648
|
-
"id": 6
|
|
11473
|
+
"path": {
|
|
11474
|
+
"type": "string",
|
|
11475
|
+
"id": 30
|
|
11649
11476
|
}
|
|
11650
11477
|
}
|
|
11651
11478
|
},
|
|
11652
|
-
"
|
|
11653
|
-
"fields": {}
|
|
11654
|
-
},
|
|
11655
|
-
"WebAuthnAddResidentCredential": {
|
|
11479
|
+
"DeviceFirmwareUpdateRecordFields": {
|
|
11656
11480
|
"fields": {
|
|
11657
|
-
"
|
|
11658
|
-
"type": "
|
|
11659
|
-
"id":
|
|
11481
|
+
"status": {
|
|
11482
|
+
"type": "bool",
|
|
11483
|
+
"id": 10
|
|
11484
|
+
},
|
|
11485
|
+
"payload_version": {
|
|
11486
|
+
"type": "bool",
|
|
11487
|
+
"id": 20
|
|
11488
|
+
},
|
|
11489
|
+
"path": {
|
|
11490
|
+
"type": "bool",
|
|
11491
|
+
"id": 30
|
|
11660
11492
|
}
|
|
11661
11493
|
}
|
|
11662
11494
|
},
|
|
11663
|
-
"
|
|
11495
|
+
"DeviceFirmwareUpdateStatusGet": {
|
|
11664
11496
|
"fields": {
|
|
11665
|
-
"
|
|
11666
|
-
"type": "
|
|
11497
|
+
"fields": {
|
|
11498
|
+
"type": "DeviceFirmwareUpdateRecordFields",
|
|
11667
11499
|
"id": 1
|
|
11668
11500
|
}
|
|
11669
11501
|
}
|
|
11670
11502
|
},
|
|
11671
|
-
"
|
|
11503
|
+
"DeviceFirmwareUpdateStatus": {
|
|
11672
11504
|
"fields": {
|
|
11673
|
-
"
|
|
11505
|
+
"records": {
|
|
11674
11506
|
"rule": "repeated",
|
|
11675
|
-
"type": "
|
|
11507
|
+
"type": "DeviceFirmwareUpdateRecord",
|
|
11676
11508
|
"id": 1
|
|
11677
11509
|
}
|
|
11678
|
-
},
|
|
11679
|
-
"nested": {
|
|
11680
|
-
"WebAuthnCredential": {
|
|
11681
|
-
"fields": {
|
|
11682
|
-
"index": {
|
|
11683
|
-
"type": "uint32",
|
|
11684
|
-
"id": 1
|
|
11685
|
-
},
|
|
11686
|
-
"id": {
|
|
11687
|
-
"type": "bytes",
|
|
11688
|
-
"id": 2
|
|
11689
|
-
},
|
|
11690
|
-
"rp_id": {
|
|
11691
|
-
"type": "string",
|
|
11692
|
-
"id": 3
|
|
11693
|
-
},
|
|
11694
|
-
"rp_name": {
|
|
11695
|
-
"type": "string",
|
|
11696
|
-
"id": 4
|
|
11697
|
-
},
|
|
11698
|
-
"user_id": {
|
|
11699
|
-
"type": "bytes",
|
|
11700
|
-
"id": 5
|
|
11701
|
-
},
|
|
11702
|
-
"user_name": {
|
|
11703
|
-
"type": "string",
|
|
11704
|
-
"id": 6
|
|
11705
|
-
},
|
|
11706
|
-
"user_display_name": {
|
|
11707
|
-
"type": "string",
|
|
11708
|
-
"id": 7
|
|
11709
|
-
},
|
|
11710
|
-
"creation_time": {
|
|
11711
|
-
"type": "uint32",
|
|
11712
|
-
"id": 8
|
|
11713
|
-
},
|
|
11714
|
-
"hmac_secret": {
|
|
11715
|
-
"type": "bool",
|
|
11716
|
-
"id": 9
|
|
11717
|
-
},
|
|
11718
|
-
"use_sign_count": {
|
|
11719
|
-
"type": "bool",
|
|
11720
|
-
"id": 10
|
|
11721
|
-
},
|
|
11722
|
-
"algorithm": {
|
|
11723
|
-
"type": "sint32",
|
|
11724
|
-
"id": 11
|
|
11725
|
-
},
|
|
11726
|
-
"curve": {
|
|
11727
|
-
"type": "sint32",
|
|
11728
|
-
"id": 12
|
|
11729
|
-
}
|
|
11730
|
-
}
|
|
11731
|
-
}
|
|
11732
11510
|
}
|
|
11733
11511
|
},
|
|
11734
|
-
"
|
|
11512
|
+
"DeviceFactoryAck": {
|
|
11513
|
+
"values": {
|
|
11514
|
+
"FACTORY_ACK_SUCCESS": 0,
|
|
11515
|
+
"FACTORY_ACK_FAIL": 1
|
|
11516
|
+
}
|
|
11517
|
+
},
|
|
11518
|
+
"DeviceFactoryInfoManufactureTime": {
|
|
11735
11519
|
"fields": {
|
|
11736
|
-
"
|
|
11737
|
-
"rule": "
|
|
11520
|
+
"year": {
|
|
11521
|
+
"rule": "required",
|
|
11738
11522
|
"type": "uint32",
|
|
11739
|
-
"id": 1
|
|
11740
|
-
"options": {
|
|
11741
|
-
"packed": false
|
|
11742
|
-
}
|
|
11523
|
+
"id": 1
|
|
11743
11524
|
},
|
|
11744
|
-
"
|
|
11525
|
+
"month": {
|
|
11745
11526
|
"rule": "required",
|
|
11746
|
-
"type": "
|
|
11527
|
+
"type": "uint32",
|
|
11747
11528
|
"id": 2
|
|
11748
11529
|
},
|
|
11749
|
-
"
|
|
11530
|
+
"day": {
|
|
11750
11531
|
"rule": "required",
|
|
11751
|
-
"type": "
|
|
11532
|
+
"type": "uint32",
|
|
11752
11533
|
"id": 3
|
|
11753
11534
|
},
|
|
11754
|
-
"
|
|
11755
|
-
"
|
|
11535
|
+
"hour": {
|
|
11536
|
+
"rule": "required",
|
|
11537
|
+
"type": "uint32",
|
|
11756
11538
|
"id": 4
|
|
11757
11539
|
},
|
|
11758
|
-
"
|
|
11540
|
+
"minute": {
|
|
11759
11541
|
"rule": "required",
|
|
11760
|
-
"type": "
|
|
11542
|
+
"type": "uint32",
|
|
11761
11543
|
"id": 5
|
|
11762
11544
|
},
|
|
11763
|
-
"
|
|
11545
|
+
"second": {
|
|
11764
11546
|
"rule": "required",
|
|
11765
|
-
"type": "uint64",
|
|
11766
|
-
"id": 6
|
|
11767
|
-
},
|
|
11768
|
-
"from_address": {
|
|
11769
|
-
"type": "string",
|
|
11770
|
-
"id": 7
|
|
11771
|
-
},
|
|
11772
|
-
"wallet_version": {
|
|
11773
|
-
"type": "TonWalletVersion",
|
|
11774
|
-
"id": 8,
|
|
11775
|
-
"options": {
|
|
11776
|
-
"default": "V4R2"
|
|
11777
|
-
}
|
|
11778
|
-
},
|
|
11779
|
-
"wallet_id": {
|
|
11780
11547
|
"type": "uint32",
|
|
11781
|
-
"id":
|
|
11782
|
-
"options": {
|
|
11783
|
-
"default": 698983191
|
|
11784
|
-
}
|
|
11785
|
-
},
|
|
11786
|
-
"workchain": {
|
|
11787
|
-
"type": "TonWorkChain",
|
|
11788
|
-
"id": 10,
|
|
11789
|
-
"options": {
|
|
11790
|
-
"default": "BASECHAIN"
|
|
11791
|
-
}
|
|
11792
|
-
},
|
|
11793
|
-
"is_bounceable": {
|
|
11794
|
-
"type": "bool",
|
|
11795
|
-
"id": 11,
|
|
11796
|
-
"options": {
|
|
11797
|
-
"default": false
|
|
11798
|
-
}
|
|
11799
|
-
},
|
|
11800
|
-
"is_testnet_only": {
|
|
11801
|
-
"type": "bool",
|
|
11802
|
-
"id": 12,
|
|
11803
|
-
"options": {
|
|
11804
|
-
"default": false
|
|
11805
|
-
}
|
|
11806
|
-
}
|
|
11807
|
-
},
|
|
11808
|
-
"nested": {
|
|
11809
|
-
"TonSignDataType": {
|
|
11810
|
-
"values": {
|
|
11811
|
-
"TEXT": 0,
|
|
11812
|
-
"BINARY": 1,
|
|
11813
|
-
"CELL": 2
|
|
11814
|
-
}
|
|
11548
|
+
"id": 6
|
|
11815
11549
|
}
|
|
11816
11550
|
}
|
|
11817
11551
|
},
|
|
11818
|
-
"
|
|
11552
|
+
"DeviceFactoryInfo": {
|
|
11819
11553
|
"fields": {
|
|
11820
|
-
"
|
|
11821
|
-
"type": "
|
|
11554
|
+
"version": {
|
|
11555
|
+
"type": "uint32",
|
|
11822
11556
|
"id": 1
|
|
11823
11557
|
},
|
|
11824
|
-
"
|
|
11825
|
-
"type": "
|
|
11558
|
+
"serial_number": {
|
|
11559
|
+
"type": "string",
|
|
11826
11560
|
"id": 2
|
|
11561
|
+
},
|
|
11562
|
+
"burn_in_completed": {
|
|
11563
|
+
"type": "bool",
|
|
11564
|
+
"id": 3
|
|
11565
|
+
},
|
|
11566
|
+
"factory_test_completed": {
|
|
11567
|
+
"type": "bool",
|
|
11568
|
+
"id": 4
|
|
11569
|
+
},
|
|
11570
|
+
"manufacture_time": {
|
|
11571
|
+
"type": "DeviceFactoryInfoManufactureTime",
|
|
11572
|
+
"id": 5
|
|
11827
11573
|
}
|
|
11828
11574
|
}
|
|
11829
11575
|
},
|
|
11830
|
-
"
|
|
11831
|
-
"fields": {}
|
|
11832
|
-
},
|
|
11833
|
-
"ProtoVersion": {
|
|
11576
|
+
"DeviceFactoryInfoSet": {
|
|
11834
11577
|
"fields": {
|
|
11835
|
-
"
|
|
11578
|
+
"info": {
|
|
11836
11579
|
"rule": "required",
|
|
11837
|
-
"type": "
|
|
11580
|
+
"type": "DeviceFactoryInfo",
|
|
11838
11581
|
"id": 1
|
|
11839
11582
|
}
|
|
11840
11583
|
}
|
|
11841
11584
|
},
|
|
11842
|
-
"
|
|
11843
|
-
"fields": {
|
|
11844
|
-
"message": {
|
|
11845
|
-
"type": "string",
|
|
11846
|
-
"id": 1,
|
|
11847
|
-
"options": {
|
|
11848
|
-
"default": ""
|
|
11849
|
-
}
|
|
11850
|
-
}
|
|
11851
|
-
}
|
|
11852
|
-
},
|
|
11853
|
-
"Success": {
|
|
11854
|
-
"fields": {
|
|
11855
|
-
"message": {
|
|
11856
|
-
"type": "string",
|
|
11857
|
-
"id": 1,
|
|
11858
|
-
"options": {
|
|
11859
|
-
"default": ""
|
|
11860
|
-
}
|
|
11861
|
-
}
|
|
11862
|
-
}
|
|
11585
|
+
"DeviceFactoryInfoGet": {
|
|
11586
|
+
"fields": {}
|
|
11863
11587
|
},
|
|
11864
|
-
"
|
|
11588
|
+
"DeviceFactoryPermanentLock": {
|
|
11865
11589
|
"fields": {
|
|
11866
|
-
"
|
|
11867
|
-
"
|
|
11590
|
+
"check_a": {
|
|
11591
|
+
"rule": "required",
|
|
11592
|
+
"type": "bytes",
|
|
11868
11593
|
"id": 1
|
|
11869
11594
|
},
|
|
11870
|
-
"
|
|
11871
|
-
"
|
|
11872
|
-
"
|
|
11873
|
-
|
|
11874
|
-
|
|
11875
|
-
"nested": {
|
|
11876
|
-
"FailureType": {
|
|
11877
|
-
"values": {
|
|
11878
|
-
"Failure_UnexpectedMessage": 1,
|
|
11879
|
-
"Failure_ButtonExpected": 2,
|
|
11880
|
-
"Failure_DataError": 3,
|
|
11881
|
-
"Failure_ActionCancelled": 4,
|
|
11882
|
-
"Failure_PinExpected": 5,
|
|
11883
|
-
"Failure_PinCancelled": 6,
|
|
11884
|
-
"Failure_PinInvalid": 7,
|
|
11885
|
-
"Failure_InvalidSignature": 8,
|
|
11886
|
-
"Failure_ProcessError": 9,
|
|
11887
|
-
"Failure_NotEnoughFunds": 10,
|
|
11888
|
-
"Failure_NotInitialized": 11,
|
|
11889
|
-
"Failure_PinMismatch": 12,
|
|
11890
|
-
"Failure_WipeCodeMismatch": 13,
|
|
11891
|
-
"Failure_InvalidSession": 14,
|
|
11892
|
-
"Failure_FirmwareError": 99
|
|
11893
|
-
}
|
|
11894
|
-
}
|
|
11895
|
-
}
|
|
11896
|
-
},
|
|
11897
|
-
"DevRebootType": {
|
|
11898
|
-
"values": {
|
|
11899
|
-
"Normal": 0,
|
|
11900
|
-
"Boardloader": 1,
|
|
11901
|
-
"Bootloader": 2
|
|
11595
|
+
"check_b": {
|
|
11596
|
+
"rule": "required",
|
|
11597
|
+
"type": "bytes",
|
|
11598
|
+
"id": 2
|
|
11599
|
+
}
|
|
11902
11600
|
}
|
|
11903
11601
|
},
|
|
11904
|
-
"
|
|
11602
|
+
"DeviceFactoryTest": {
|
|
11905
11603
|
"fields": {
|
|
11906
|
-
"
|
|
11604
|
+
"burn_in_test": {
|
|
11907
11605
|
"rule": "required",
|
|
11908
|
-
"type": "
|
|
11606
|
+
"type": "bool",
|
|
11909
11607
|
"id": 1
|
|
11910
11608
|
}
|
|
11911
11609
|
}
|
|
@@ -11917,23 +11615,25 @@
|
|
|
11917
11615
|
"MINI": 2,
|
|
11918
11616
|
"TOUCH": 3,
|
|
11919
11617
|
"PRO": 5,
|
|
11920
|
-
"CLASSIC1S_PURE": 6
|
|
11618
|
+
"CLASSIC1S_PURE": 6,
|
|
11619
|
+
"PRO2": 7,
|
|
11620
|
+
"NEO": 8
|
|
11921
11621
|
}
|
|
11922
11622
|
},
|
|
11923
|
-
"
|
|
11623
|
+
"DeviceSeType": {
|
|
11924
11624
|
"values": {
|
|
11925
11625
|
"THD89": 0,
|
|
11926
11626
|
"SE608A": 1
|
|
11927
11627
|
}
|
|
11928
11628
|
},
|
|
11929
|
-
"
|
|
11629
|
+
"DeviceSEState": {
|
|
11930
11630
|
"values": {
|
|
11931
11631
|
"BOOT": 0,
|
|
11932
11632
|
"APP_FACTORY": 51,
|
|
11933
11633
|
"APP": 85
|
|
11934
11634
|
}
|
|
11935
11635
|
},
|
|
11936
|
-
"
|
|
11636
|
+
"DeviceFirmwareImageInfo": {
|
|
11937
11637
|
"fields": {
|
|
11938
11638
|
"version": {
|
|
11939
11639
|
"type": "string",
|
|
@@ -11949,15 +11649,15 @@
|
|
|
11949
11649
|
}
|
|
11950
11650
|
}
|
|
11951
11651
|
},
|
|
11952
|
-
"
|
|
11652
|
+
"DeviceHardwareInfo": {
|
|
11953
11653
|
"fields": {
|
|
11954
|
-
"
|
|
11654
|
+
"Device_type": {
|
|
11955
11655
|
"type": "DeviceType",
|
|
11956
11656
|
"id": 10
|
|
11957
11657
|
},
|
|
11958
11658
|
"serial_no": {
|
|
11959
11659
|
"type": "string",
|
|
11960
|
-
"id":
|
|
11660
|
+
"id": 20
|
|
11961
11661
|
},
|
|
11962
11662
|
"hardware_version": {
|
|
11963
11663
|
"type": "string",
|
|
@@ -11965,67 +11665,71 @@
|
|
|
11965
11665
|
},
|
|
11966
11666
|
"hardware_version_raw_adc": {
|
|
11967
11667
|
"type": "uint32",
|
|
11968
|
-
"id":
|
|
11668
|
+
"id": 110
|
|
11969
11669
|
}
|
|
11970
11670
|
}
|
|
11971
11671
|
},
|
|
11972
|
-
"
|
|
11672
|
+
"DeviceMainMcuInfo": {
|
|
11973
11673
|
"fields": {
|
|
11974
|
-
"
|
|
11975
|
-
"type": "
|
|
11674
|
+
"romloader": {
|
|
11675
|
+
"type": "DeviceFirmwareImageInfo",
|
|
11976
11676
|
"id": 10
|
|
11977
11677
|
},
|
|
11978
|
-
"
|
|
11979
|
-
"type": "
|
|
11678
|
+
"bootloader": {
|
|
11679
|
+
"type": "DeviceFirmwareImageInfo",
|
|
11980
11680
|
"id": 20
|
|
11981
11681
|
},
|
|
11982
|
-
"
|
|
11983
|
-
"type": "
|
|
11682
|
+
"application": {
|
|
11683
|
+
"type": "DeviceFirmwareImageInfo",
|
|
11984
11684
|
"id": 30
|
|
11685
|
+
},
|
|
11686
|
+
"application_data": {
|
|
11687
|
+
"type": "DeviceFirmwareImageInfo",
|
|
11688
|
+
"id": 40
|
|
11985
11689
|
}
|
|
11986
11690
|
}
|
|
11987
11691
|
},
|
|
11988
|
-
"
|
|
11692
|
+
"DeviceCoprocessorInfo": {
|
|
11989
11693
|
"fields": {
|
|
11990
|
-
"
|
|
11991
|
-
"type": "
|
|
11694
|
+
"bootloader": {
|
|
11695
|
+
"type": "DeviceFirmwareImageInfo",
|
|
11992
11696
|
"id": 20
|
|
11993
11697
|
},
|
|
11994
|
-
"
|
|
11995
|
-
"type": "
|
|
11698
|
+
"application": {
|
|
11699
|
+
"type": "DeviceFirmwareImageInfo",
|
|
11996
11700
|
"id": 30
|
|
11997
11701
|
},
|
|
11998
|
-
"
|
|
11702
|
+
"bt_adv_name": {
|
|
11999
11703
|
"type": "string",
|
|
12000
11704
|
"id": 100
|
|
12001
11705
|
},
|
|
12002
|
-
"
|
|
11706
|
+
"bt_mac": {
|
|
12003
11707
|
"type": "bytes",
|
|
12004
11708
|
"id": 110
|
|
12005
11709
|
}
|
|
12006
11710
|
}
|
|
12007
11711
|
},
|
|
12008
|
-
"
|
|
11712
|
+
"DeviceSEInfo": {
|
|
12009
11713
|
"fields": {
|
|
12010
|
-
"
|
|
12011
|
-
"type": "
|
|
11714
|
+
"bootloader": {
|
|
11715
|
+
"type": "DeviceFirmwareImageInfo",
|
|
12012
11716
|
"id": 20
|
|
12013
11717
|
},
|
|
12014
|
-
"
|
|
12015
|
-
"type": "
|
|
11718
|
+
"application": {
|
|
11719
|
+
"type": "DeviceFirmwareImageInfo",
|
|
12016
11720
|
"id": 30
|
|
12017
11721
|
},
|
|
12018
11722
|
"type": {
|
|
12019
|
-
"type": "
|
|
11723
|
+
"type": "DeviceSeType",
|
|
12020
11724
|
"id": 100
|
|
12021
11725
|
},
|
|
12022
11726
|
"state": {
|
|
12023
|
-
"type": "
|
|
11727
|
+
"type": "DeviceSEState",
|
|
12024
11728
|
"id": 110
|
|
12025
11729
|
}
|
|
12026
11730
|
}
|
|
12027
11731
|
},
|
|
12028
|
-
"
|
|
11732
|
+
"DeviceInfoTargets": {
|
|
12029
11733
|
"fields": {
|
|
12030
11734
|
"hw": {
|
|
12031
11735
|
"type": "bool",
|
|
@@ -12035,7 +11739,7 @@
|
|
|
12035
11739
|
"type": "bool",
|
|
12036
11740
|
"id": 200
|
|
12037
11741
|
},
|
|
12038
|
-
"
|
|
11742
|
+
"coprocessor": {
|
|
12039
11743
|
"type": "bool",
|
|
12040
11744
|
"id": 300
|
|
12041
11745
|
},
|
|
@@ -12061,7 +11765,7 @@
|
|
|
12061
11765
|
}
|
|
12062
11766
|
}
|
|
12063
11767
|
},
|
|
12064
|
-
"
|
|
11768
|
+
"DeviceInfoTypes": {
|
|
12065
11769
|
"fields": {
|
|
12066
11770
|
"version": {
|
|
12067
11771
|
"type": "bool",
|
|
@@ -12081,42 +11785,14 @@
|
|
|
12081
11785
|
}
|
|
12082
11786
|
}
|
|
12083
11787
|
},
|
|
12084
|
-
"
|
|
12085
|
-
"fields": {
|
|
12086
|
-
"language": {
|
|
12087
|
-
"type": "string",
|
|
12088
|
-
"id": 100
|
|
12089
|
-
},
|
|
12090
|
-
"bt_enable": {
|
|
12091
|
-
"type": "bool",
|
|
12092
|
-
"id": 101
|
|
12093
|
-
},
|
|
12094
|
-
"init_states": {
|
|
12095
|
-
"type": "bool",
|
|
12096
|
-
"id": 102
|
|
12097
|
-
},
|
|
12098
|
-
"backup_required": {
|
|
12099
|
-
"type": "bool",
|
|
12100
|
-
"id": 200
|
|
12101
|
-
},
|
|
12102
|
-
"passphrase_protection": {
|
|
12103
|
-
"type": "bool",
|
|
12104
|
-
"id": 201
|
|
12105
|
-
},
|
|
12106
|
-
"label": {
|
|
12107
|
-
"type": "string",
|
|
12108
|
-
"id": 300
|
|
12109
|
-
}
|
|
12110
|
-
}
|
|
12111
|
-
},
|
|
12112
|
-
"DevGetDeviceInfo": {
|
|
11788
|
+
"DeviceInfoGet": {
|
|
12113
11789
|
"fields": {
|
|
12114
11790
|
"targets": {
|
|
12115
|
-
"type": "
|
|
11791
|
+
"type": "DeviceInfoTargets",
|
|
12116
11792
|
"id": 1
|
|
12117
11793
|
},
|
|
12118
11794
|
"types": {
|
|
12119
|
-
"type": "
|
|
11795
|
+
"type": "DeviceInfoTypes",
|
|
12120
11796
|
"id": 2
|
|
12121
11797
|
}
|
|
12122
11798
|
}
|
|
@@ -12129,169 +11805,92 @@
|
|
|
12129
11805
|
"id": 1
|
|
12130
11806
|
},
|
|
12131
11807
|
"hw": {
|
|
12132
|
-
"type": "
|
|
11808
|
+
"type": "DeviceHardwareInfo",
|
|
12133
11809
|
"id": 100
|
|
12134
11810
|
},
|
|
12135
11811
|
"fw": {
|
|
12136
|
-
"type": "
|
|
11812
|
+
"type": "DeviceMainMcuInfo",
|
|
12137
11813
|
"id": 200
|
|
12138
11814
|
},
|
|
12139
|
-
"
|
|
12140
|
-
"type": "
|
|
11815
|
+
"coprocessor": {
|
|
11816
|
+
"type": "DeviceCoprocessorInfo",
|
|
12141
11817
|
"id": 300
|
|
12142
11818
|
},
|
|
12143
11819
|
"se1": {
|
|
12144
|
-
"type": "
|
|
11820
|
+
"type": "DeviceSEInfo",
|
|
12145
11821
|
"id": 400
|
|
12146
11822
|
},
|
|
12147
11823
|
"se2": {
|
|
12148
|
-
"type": "
|
|
11824
|
+
"type": "DeviceSEInfo",
|
|
12149
11825
|
"id": 410
|
|
12150
11826
|
},
|
|
12151
11827
|
"se3": {
|
|
12152
|
-
"type": "
|
|
11828
|
+
"type": "DeviceSEInfo",
|
|
12153
11829
|
"id": 420
|
|
12154
11830
|
},
|
|
12155
11831
|
"se4": {
|
|
12156
|
-
"type": "
|
|
11832
|
+
"type": "DeviceSEInfo",
|
|
12157
11833
|
"id": 430
|
|
12158
11834
|
},
|
|
12159
11835
|
"status": {
|
|
12160
|
-
"type": "
|
|
11836
|
+
"type": "DeviceStatus",
|
|
12161
11837
|
"id": 10000
|
|
12162
11838
|
}
|
|
12163
11839
|
}
|
|
12164
11840
|
},
|
|
12165
|
-
"
|
|
12166
|
-
"values": {
|
|
12167
|
-
"TARGET_INVALID": 0,
|
|
12168
|
-
"TARGET_ROMLOADER": 1,
|
|
12169
|
-
"TARGET_BOOTLOADER": 2,
|
|
12170
|
-
"TARGET_APPLICATION_P1": 3,
|
|
12171
|
-
"TARGET_APPLICATION_P2": 4,
|
|
12172
|
-
"TARGET_COPROCESSOR": 5,
|
|
12173
|
-
"TARGET_SE01": 6,
|
|
12174
|
-
"TARGET_SE02": 7,
|
|
12175
|
-
"TARGET_SE03": 8,
|
|
12176
|
-
"TARGET_SE04": 9,
|
|
12177
|
-
"TARGET_RESOURCE": 10
|
|
12178
|
-
}
|
|
12179
|
-
},
|
|
12180
|
-
"DevFirmwareTarget": {
|
|
12181
|
-
"fields": {
|
|
12182
|
-
"target_id": {
|
|
12183
|
-
"rule": "required",
|
|
12184
|
-
"type": "DevFirmwareTargetType",
|
|
12185
|
-
"id": 1
|
|
12186
|
-
},
|
|
12187
|
-
"path": {
|
|
12188
|
-
"rule": "required",
|
|
12189
|
-
"type": "string",
|
|
12190
|
-
"id": 2
|
|
12191
|
-
}
|
|
12192
|
-
}
|
|
12193
|
-
},
|
|
12194
|
-
"DevFirmwareUpdate": {
|
|
12195
|
-
"fields": {
|
|
12196
|
-
"targets": {
|
|
12197
|
-
"rule": "repeated",
|
|
12198
|
-
"type": "DevFirmwareTarget",
|
|
12199
|
-
"id": 1
|
|
12200
|
-
}
|
|
12201
|
-
}
|
|
12202
|
-
},
|
|
12203
|
-
"DevFirmwareInstallProgress": {
|
|
12204
|
-
"fields": {
|
|
12205
|
-
"target_id": {
|
|
12206
|
-
"rule": "required",
|
|
12207
|
-
"type": "DevFirmwareTargetType",
|
|
12208
|
-
"id": 1
|
|
12209
|
-
},
|
|
12210
|
-
"progress": {
|
|
12211
|
-
"rule": "required",
|
|
12212
|
-
"type": "uint32",
|
|
12213
|
-
"id": 2
|
|
12214
|
-
},
|
|
12215
|
-
"stage": {
|
|
12216
|
-
"type": "string",
|
|
12217
|
-
"id": 3
|
|
12218
|
-
}
|
|
12219
|
-
}
|
|
12220
|
-
},
|
|
12221
|
-
"DevFirmwareUpdateStatusEntry": {
|
|
12222
|
-
"fields": {
|
|
12223
|
-
"target_id": {
|
|
12224
|
-
"rule": "required",
|
|
12225
|
-
"type": "DevFirmwareTargetType",
|
|
12226
|
-
"id": 1
|
|
12227
|
-
},
|
|
12228
|
-
"status": {
|
|
12229
|
-
"rule": "required",
|
|
12230
|
-
"type": "uint32",
|
|
12231
|
-
"id": 2
|
|
12232
|
-
}
|
|
12233
|
-
}
|
|
12234
|
-
},
|
|
12235
|
-
"DevGetFirmwareUpdateStatus": {
|
|
12236
|
-
"fields": {}
|
|
12237
|
-
},
|
|
12238
|
-
"DevFirmwareUpdateStatus": {
|
|
11841
|
+
"DeviceSessionGet": {
|
|
12239
11842
|
"fields": {
|
|
12240
|
-
"
|
|
12241
|
-
"
|
|
12242
|
-
"type": "DevFirmwareUpdateStatusEntry",
|
|
11843
|
+
"session_id": {
|
|
11844
|
+
"type": "bytes",
|
|
12243
11845
|
"id": 1
|
|
12244
11846
|
}
|
|
12245
11847
|
}
|
|
12246
11848
|
},
|
|
12247
|
-
"
|
|
11849
|
+
"DeviceSession": {
|
|
12248
11850
|
"fields": {
|
|
12249
|
-
"
|
|
12250
|
-
"type": "
|
|
11851
|
+
"session_id": {
|
|
11852
|
+
"type": "bytes",
|
|
12251
11853
|
"id": 1
|
|
12252
11854
|
},
|
|
12253
|
-
"
|
|
11855
|
+
"btc_test_address": {
|
|
12254
11856
|
"type": "string",
|
|
12255
11857
|
"id": 2
|
|
12256
|
-
},
|
|
12257
|
-
"pre_firmware": {
|
|
12258
|
-
"type": "string",
|
|
12259
|
-
"id": 3
|
|
12260
11858
|
}
|
|
12261
11859
|
}
|
|
12262
11860
|
},
|
|
12263
|
-
"
|
|
12264
|
-
"fields": {}
|
|
12265
|
-
},
|
|
12266
|
-
"FactoryDeviceInfo": {
|
|
11861
|
+
"DeviceStatus": {
|
|
12267
11862
|
"fields": {
|
|
12268
|
-
"
|
|
11863
|
+
"device_id": {
|
|
12269
11864
|
"type": "string",
|
|
12270
11865
|
"id": 1
|
|
12271
11866
|
},
|
|
12272
|
-
"
|
|
12273
|
-
"type": "
|
|
11867
|
+
"unlocked": {
|
|
11868
|
+
"type": "bool",
|
|
12274
11869
|
"id": 2
|
|
12275
11870
|
},
|
|
12276
|
-
"
|
|
12277
|
-
"type": "
|
|
11871
|
+
"init_states": {
|
|
11872
|
+
"type": "bool",
|
|
12278
11873
|
"id": 3
|
|
12279
11874
|
},
|
|
12280
|
-
"
|
|
12281
|
-
"type": "
|
|
11875
|
+
"backup_required": {
|
|
11876
|
+
"type": "bool",
|
|
12282
11877
|
"id": 4
|
|
12283
11878
|
},
|
|
12284
|
-
"
|
|
12285
|
-
"type": "
|
|
12286
|
-
"id":
|
|
11879
|
+
"passphrase_enabled": {
|
|
11880
|
+
"type": "bool",
|
|
11881
|
+
"id": 10
|
|
12287
11882
|
},
|
|
12288
|
-
"
|
|
12289
|
-
"type": "
|
|
12290
|
-
"id":
|
|
11883
|
+
"attach_to_pin_enabled": {
|
|
11884
|
+
"type": "bool",
|
|
11885
|
+
"id": 11
|
|
11886
|
+
},
|
|
11887
|
+
"unlocked_by_attach_to_pin": {
|
|
11888
|
+
"type": "bool",
|
|
11889
|
+
"id": 12
|
|
12291
11890
|
}
|
|
12292
11891
|
}
|
|
12293
11892
|
},
|
|
12294
|
-
"
|
|
11893
|
+
"FilesystemPermissionFix": {
|
|
12295
11894
|
"fields": {}
|
|
12296
11895
|
},
|
|
12297
11896
|
"FilesystemPathInfo": {
|
|
@@ -12506,75 +12105,6 @@
|
|
|
12506
12105
|
"FilesystemFormat": {
|
|
12507
12106
|
"fields": {}
|
|
12508
12107
|
},
|
|
12509
|
-
"OnboardingStep": {
|
|
12510
|
-
"values": {
|
|
12511
|
-
"ONBOARDING_STEP_UNKNOWN": 0,
|
|
12512
|
-
"ONBOARDING_STEP_DEVICE_VERIFICATION": 1,
|
|
12513
|
-
"ONBOARDING_STEP_PERSONALIZATION": 2,
|
|
12514
|
-
"ONBOARDING_STEP_SETUP": 3,
|
|
12515
|
-
"ONBOARDING_STEP_FIRMWARE": 4
|
|
12516
|
-
}
|
|
12517
|
-
},
|
|
12518
|
-
"GetOnboardingStatus": {
|
|
12519
|
-
"fields": {}
|
|
12520
|
-
},
|
|
12521
|
-
"OnboardingStatus": {
|
|
12522
|
-
"fields": {
|
|
12523
|
-
"step": {
|
|
12524
|
-
"rule": "required",
|
|
12525
|
-
"type": "OnboardingStep",
|
|
12526
|
-
"id": 1
|
|
12527
|
-
},
|
|
12528
|
-
"setup": {
|
|
12529
|
-
"type": "Setup",
|
|
12530
|
-
"id": 2
|
|
12531
|
-
},
|
|
12532
|
-
"detail_code": {
|
|
12533
|
-
"type": "uint32",
|
|
12534
|
-
"id": 3
|
|
12535
|
-
},
|
|
12536
|
-
"detail_str": {
|
|
12537
|
-
"type": "string",
|
|
12538
|
-
"id": 4
|
|
12539
|
-
}
|
|
12540
|
-
},
|
|
12541
|
-
"nested": {
|
|
12542
|
-
"Setup": {
|
|
12543
|
-
"fields": {
|
|
12544
|
-
"new_device": {
|
|
12545
|
-
"type": "NewDevice",
|
|
12546
|
-
"id": 1
|
|
12547
|
-
},
|
|
12548
|
-
"restore": {
|
|
12549
|
-
"type": "Restore",
|
|
12550
|
-
"id": 2
|
|
12551
|
-
}
|
|
12552
|
-
},
|
|
12553
|
-
"nested": {
|
|
12554
|
-
"NewDevice": {
|
|
12555
|
-
"fields": {
|
|
12556
|
-
"seedcard_backup": {
|
|
12557
|
-
"type": "bool",
|
|
12558
|
-
"id": 1
|
|
12559
|
-
}
|
|
12560
|
-
}
|
|
12561
|
-
},
|
|
12562
|
-
"Restore": {
|
|
12563
|
-
"fields": {
|
|
12564
|
-
"mnemonic": {
|
|
12565
|
-
"type": "bool",
|
|
12566
|
-
"id": 1
|
|
12567
|
-
},
|
|
12568
|
-
"seedcard": {
|
|
12569
|
-
"type": "bool",
|
|
12570
|
-
"id": 2
|
|
12571
|
-
}
|
|
12572
|
-
}
|
|
12573
|
-
}
|
|
12574
|
-
}
|
|
12575
|
-
}
|
|
12576
|
-
}
|
|
12577
|
-
},
|
|
12578
12108
|
"google": {
|
|
12579
12109
|
"nested": {
|
|
12580
12110
|
"protobuf": {
|
|
@@ -13254,116 +12784,6 @@
|
|
|
13254
12784
|
}
|
|
13255
12785
|
}
|
|
13256
12786
|
}
|
|
13257
|
-
},
|
|
13258
|
-
"DeviceRebootType": {
|
|
13259
|
-
"values": {
|
|
13260
|
-
"Normal": 0,
|
|
13261
|
-
"Romloader": 1,
|
|
13262
|
-
"Bootloader": 2
|
|
13263
|
-
}
|
|
13264
|
-
},
|
|
13265
|
-
"DeviceReboot": {
|
|
13266
|
-
"fields": {
|
|
13267
|
-
"reboot_type": {
|
|
13268
|
-
"rule": "required",
|
|
13269
|
-
"type": "DeviceRebootType",
|
|
13270
|
-
"id": 1
|
|
13271
|
-
}
|
|
13272
|
-
}
|
|
13273
|
-
},
|
|
13274
|
-
"DeviceGetDeviceInfo": {
|
|
13275
|
-
"fields": {
|
|
13276
|
-
"targets": {
|
|
13277
|
-
"type": "DevInfoTargets",
|
|
13278
|
-
"id": 1
|
|
13279
|
-
},
|
|
13280
|
-
"types": {
|
|
13281
|
-
"type": "DevInfoTypes",
|
|
13282
|
-
"id": 2
|
|
13283
|
-
}
|
|
13284
|
-
}
|
|
13285
|
-
},
|
|
13286
|
-
"DeviceFirmwareTargetType": {
|
|
13287
|
-
"values": {
|
|
13288
|
-
"TARGET_INVALID": 0,
|
|
13289
|
-
"TARGET_ROMLOADER": 1,
|
|
13290
|
-
"TARGET_BOOTLOADER": 2,
|
|
13291
|
-
"TARGET_APPLICATION_P1": 3,
|
|
13292
|
-
"TARGET_APPLICATION_P2": 4,
|
|
13293
|
-
"TARGET_COPROCESSOR": 5,
|
|
13294
|
-
"TARGET_SE01": 6,
|
|
13295
|
-
"TARGET_SE02": 7,
|
|
13296
|
-
"TARGET_SE03": 8,
|
|
13297
|
-
"TARGET_SE04": 9,
|
|
13298
|
-
"TARGET_RESOURCE": 10
|
|
13299
|
-
}
|
|
13300
|
-
},
|
|
13301
|
-
"DeviceFirmwareTarget": {
|
|
13302
|
-
"fields": {
|
|
13303
|
-
"target_id": {
|
|
13304
|
-
"rule": "required",
|
|
13305
|
-
"type": "DeviceFirmwareTargetType",
|
|
13306
|
-
"id": 1
|
|
13307
|
-
},
|
|
13308
|
-
"path": {
|
|
13309
|
-
"rule": "required",
|
|
13310
|
-
"type": "string",
|
|
13311
|
-
"id": 2
|
|
13312
|
-
}
|
|
13313
|
-
}
|
|
13314
|
-
},
|
|
13315
|
-
"DeviceFirmwareUpdate": {
|
|
13316
|
-
"fields": {
|
|
13317
|
-
"targets": {
|
|
13318
|
-
"rule": "repeated",
|
|
13319
|
-
"type": "DeviceFirmwareTarget",
|
|
13320
|
-
"id": 1
|
|
13321
|
-
}
|
|
13322
|
-
}
|
|
13323
|
-
},
|
|
13324
|
-
"DeviceFirmwareInstallProgress": {
|
|
13325
|
-
"fields": {
|
|
13326
|
-
"target_id": {
|
|
13327
|
-
"rule": "required",
|
|
13328
|
-
"type": "DeviceFirmwareTargetType",
|
|
13329
|
-
"id": 1
|
|
13330
|
-
},
|
|
13331
|
-
"progress": {
|
|
13332
|
-
"rule": "required",
|
|
13333
|
-
"type": "uint32",
|
|
13334
|
-
"id": 2
|
|
13335
|
-
},
|
|
13336
|
-
"stage": {
|
|
13337
|
-
"type": "string",
|
|
13338
|
-
"id": 3
|
|
13339
|
-
}
|
|
13340
|
-
}
|
|
13341
|
-
},
|
|
13342
|
-
"DeviceFirmwareUpdateStatusEntry": {
|
|
13343
|
-
"fields": {
|
|
13344
|
-
"target_id": {
|
|
13345
|
-
"rule": "required",
|
|
13346
|
-
"type": "DeviceFirmwareTargetType",
|
|
13347
|
-
"id": 1
|
|
13348
|
-
},
|
|
13349
|
-
"status": {
|
|
13350
|
-
"rule": "required",
|
|
13351
|
-
"type": "uint32",
|
|
13352
|
-
"id": 2
|
|
13353
|
-
}
|
|
13354
|
-
}
|
|
13355
|
-
},
|
|
13356
|
-
"DeviceGetFirmwareUpdateStatus": {
|
|
13357
|
-
"fields": {}
|
|
13358
|
-
},
|
|
13359
|
-
"DeviceFirmwareUpdateStatus": {
|
|
13360
|
-
"fields": {
|
|
13361
|
-
"targets": {
|
|
13362
|
-
"rule": "repeated",
|
|
13363
|
-
"type": "DeviceFirmwareUpdateStatusEntry",
|
|
13364
|
-
"id": 1
|
|
13365
|
-
}
|
|
13366
|
-
}
|
|
13367
12787
|
}
|
|
13368
12788
|
}
|
|
13369
12789
|
}
|