@onekeyfe/hd-transport 1.2.0-alpha.0 → 1.2.0-alpha.10
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 +76 -0
- package/__tests__/protocol-v2-link-manager.test.js +326 -0
- package/__tests__/protocol-v2-usb-transport-base.test.js +296 -0
- package/__tests__/protocol-v2.test.js +252 -84
- package/dist/constants.d.ts +4 -2
- package/dist/constants.d.ts.map +1 -1
- package/dist/index.d.ts +564 -326
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +434 -102
- package/dist/protocols/index.d.ts +2 -0
- package/dist/protocols/index.d.ts.map +1 -1
- package/dist/protocols/v2/constants.d.ts +1 -0
- package/dist/protocols/v2/constants.d.ts.map +1 -1
- package/dist/protocols/v2/decode.d.ts +1 -0
- package/dist/protocols/v2/decode.d.ts.map +1 -1
- package/dist/protocols/v2/link-manager.d.ts +35 -0
- package/dist/protocols/v2/link-manager.d.ts.map +1 -0
- package/dist/protocols/v2/sequence-cursor.d.ts +5 -0
- package/dist/protocols/v2/sequence-cursor.d.ts.map +1 -0
- package/dist/protocols/v2/session.d.ts +16 -4
- package/dist/protocols/v2/session.d.ts.map +1 -1
- package/dist/protocols/v2/usb-transport-base.d.ts +31 -0
- package/dist/protocols/v2/usb-transport-base.d.ts.map +1 -0
- package/dist/serialization/protobuf/messages.d.ts.map +1 -1
- package/dist/types/messages.d.ts +337 -221
- package/dist/types/messages.d.ts.map +1 -1
- package/dist/types/transport.d.ts +1 -1
- package/dist/types/transport.d.ts.map +1 -1
- package/messages-protocol-v2.json +992 -1420
- package/package.json +2 -2
- package/scripts/protobuf-build.sh +60 -142
- package/src/constants.ts +8 -2
- package/src/index.ts +8 -0
- package/src/protocols/index.ts +4 -1
- package/src/protocols/v2/constants.ts +1 -0
- package/src/protocols/v2/decode.ts +36 -17
- package/src/protocols/v2/link-manager.ts +160 -0
- package/src/protocols/v2/sequence-cursor.ts +10 -0
- package/src/protocols/v2/session.ts +86 -51
- package/src/protocols/v2/usb-transport-base.ts +194 -0
- package/src/serialization/protobuf/messages.ts +6 -1
- package/src/types/messages.ts +419 -272
- package/src/types/transport.ts +1 -1
|
@@ -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,
|
|
@@ -196,6 +195,7 @@
|
|
|
196
195
|
"MessageType_EthereumGnosisSafeTxAck": 20118,
|
|
197
196
|
"MessageType_EthereumGnosisSafeTxRequest": 20119,
|
|
198
197
|
"MessageType_EthereumSignTxEIP7702OneKey": 20120,
|
|
198
|
+
"MessageType_EthereumSignTypedDataQR": 20121,
|
|
199
199
|
"MessageType_NEMGetAddress": 67,
|
|
200
200
|
"MessageType_NEMAddress": 68,
|
|
201
201
|
"MessageType_NEMSignTx": 69,
|
|
@@ -419,8 +419,6 @@
|
|
|
419
419
|
"MessageType_TonSignProof": 11905,
|
|
420
420
|
"MessageType_TonSignedProof": 11906,
|
|
421
421
|
"MessageType_TonTxAck": 11907,
|
|
422
|
-
"MessageType_TonSignData": 11908,
|
|
423
|
-
"MessageType_TonSignedData": 11909,
|
|
424
422
|
"MessageType_ScdoGetAddress": 12001,
|
|
425
423
|
"MessageType_ScdoAddress": 12002,
|
|
426
424
|
"MessageType_ScdoSignTx": 12003,
|
|
@@ -455,43 +453,39 @@
|
|
|
455
453
|
"MessageType_UiviewConfirmTxRequest": 30202,
|
|
456
454
|
"MessageType_UiviewConfirmSignMessageRequest": 30203,
|
|
457
455
|
"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,
|
|
456
|
+
"MessageType_DeviceFactoryInfoSet": 60000,
|
|
457
|
+
"MessageType_DeviceFactoryInfoGet": 60001,
|
|
458
|
+
"MessageType_DeviceFactoryInfo": 60002,
|
|
459
|
+
"MessageType_DeviceFactoryPermanentLock": 60003,
|
|
460
|
+
"MessageType_DeviceFactoryTest": 60004,
|
|
461
|
+
"MessageType_ProtocolInfoRequest": 60200,
|
|
462
|
+
"MessageType_ProtocolInfo": 60201,
|
|
486
463
|
"MessageType_Ping": 60206,
|
|
487
464
|
"MessageType_Success": 60207,
|
|
488
465
|
"MessageType_Failure": 60208,
|
|
489
|
-
"
|
|
490
|
-
"
|
|
466
|
+
"MessageType_DeviceReboot": 60400,
|
|
467
|
+
"MessageType_DeviceSettings": 60410,
|
|
468
|
+
"MessageType_DeviceSettingsGet": 60411,
|
|
469
|
+
"MessageType_DeviceSettingsSet": 60412,
|
|
470
|
+
"MessageType_DeviceCertificate": 60420,
|
|
471
|
+
"MessageType_DeviceCertificateWrite": 60421,
|
|
472
|
+
"MessageType_DeviceCertificateRead": 60422,
|
|
473
|
+
"MessageType_DeviceCertificateSignature": 60423,
|
|
474
|
+
"MessageType_DeviceCertificateSign": 60424,
|
|
475
|
+
"MessageType_SetWallpaper": 60430,
|
|
476
|
+
"MessageType_GetWallpaper": 60431,
|
|
477
|
+
"MessageType_Wallpaper": 60432,
|
|
478
|
+
"MessageType_DeviceInfoGet": 60600,
|
|
491
479
|
"MessageType_DeviceInfo": 60601,
|
|
492
|
-
"
|
|
493
|
-
"
|
|
494
|
-
"
|
|
480
|
+
"MessageType_DeviceStatusGet": 60602,
|
|
481
|
+
"MessageType_DeviceStatus": 60603,
|
|
482
|
+
"MessageType_DevGetOnboardingStatus": 60604,
|
|
483
|
+
"MessageType_DevOnboardingStatus": 60605,
|
|
484
|
+
"MessageType_DeviceSessionGet": 60606,
|
|
485
|
+
"MessageType_DeviceSession": 60607,
|
|
486
|
+
"MessageType_DeviceSessionAskPin": 60608,
|
|
487
|
+
"MessageType_DeviceSessionPinResult": 60609,
|
|
488
|
+
"MessageType_FilesystemPermissionFix": 60800,
|
|
495
489
|
"MessageType_FilesystemPathInfo": 60801,
|
|
496
490
|
"MessageType_FilesystemPathInfoQuery": 60802,
|
|
497
491
|
"MessageType_FilesystemFile": 60803,
|
|
@@ -503,17 +497,17 @@
|
|
|
503
497
|
"MessageType_FilesystemDirMake": 60809,
|
|
504
498
|
"MessageType_FilesystemDirRemove": 60810,
|
|
505
499
|
"MessageType_FilesystemFormat": 60811,
|
|
506
|
-
"
|
|
507
|
-
"
|
|
508
|
-
"
|
|
509
|
-
"
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
500
|
+
"MessageType_DeviceFirmwareUpdateRequest": 61000,
|
|
501
|
+
"MessageType_DeviceFirmwareUpdateStatusGet": 61001,
|
|
502
|
+
"MessageType_DeviceFirmwareUpdateStatus": 61002,
|
|
503
|
+
"MessageType_PortfolioUpdate": 61200
|
|
504
|
+
},
|
|
505
|
+
"reserved": [
|
|
506
|
+
[90, 92],
|
|
507
|
+
[114, 122],
|
|
508
|
+
[300, 304],
|
|
509
|
+
[309, 312]
|
|
510
|
+
]
|
|
517
511
|
},
|
|
518
512
|
"AlephiumGetAddress": {
|
|
519
513
|
"fields": {
|
|
@@ -5409,6 +5403,37 @@
|
|
|
5409
5403
|
}
|
|
5410
5404
|
}
|
|
5411
5405
|
},
|
|
5406
|
+
"EthereumSignTypedDataQR": {
|
|
5407
|
+
"fields": {
|
|
5408
|
+
"address_n": {
|
|
5409
|
+
"rule": "repeated",
|
|
5410
|
+
"type": "uint32",
|
|
5411
|
+
"id": 1,
|
|
5412
|
+
"options": {
|
|
5413
|
+
"packed": false
|
|
5414
|
+
}
|
|
5415
|
+
},
|
|
5416
|
+
"json_data": {
|
|
5417
|
+
"type": "bytes",
|
|
5418
|
+
"id": 2
|
|
5419
|
+
},
|
|
5420
|
+
"chain_id": {
|
|
5421
|
+
"type": "uint64",
|
|
5422
|
+
"id": 3
|
|
5423
|
+
},
|
|
5424
|
+
"metamask_v4_compat": {
|
|
5425
|
+
"type": "bool",
|
|
5426
|
+
"id": 4,
|
|
5427
|
+
"options": {
|
|
5428
|
+
"default": true
|
|
5429
|
+
}
|
|
5430
|
+
},
|
|
5431
|
+
"request_id": {
|
|
5432
|
+
"type": "bytes",
|
|
5433
|
+
"id": 5
|
|
5434
|
+
}
|
|
5435
|
+
}
|
|
5436
|
+
},
|
|
5412
5437
|
"EthereumGetPublicKeyOneKey": {
|
|
5413
5438
|
"fields": {
|
|
5414
5439
|
"address_n": {
|
|
@@ -5934,6 +5959,30 @@
|
|
|
5934
5959
|
}
|
|
5935
5960
|
}
|
|
5936
5961
|
},
|
|
5962
|
+
"InternalMyAddressRequest": {
|
|
5963
|
+
"fields": {
|
|
5964
|
+
"coin_type": {
|
|
5965
|
+
"rule": "required",
|
|
5966
|
+
"type": "uint32",
|
|
5967
|
+
"id": 1
|
|
5968
|
+
},
|
|
5969
|
+
"chain_id": {
|
|
5970
|
+
"rule": "required",
|
|
5971
|
+
"type": "uint32",
|
|
5972
|
+
"id": 2
|
|
5973
|
+
},
|
|
5974
|
+
"account_index": {
|
|
5975
|
+
"rule": "required",
|
|
5976
|
+
"type": "uint32",
|
|
5977
|
+
"id": 3
|
|
5978
|
+
},
|
|
5979
|
+
"derive_type": {
|
|
5980
|
+
"rule": "required",
|
|
5981
|
+
"type": "uint32",
|
|
5982
|
+
"id": 4
|
|
5983
|
+
}
|
|
5984
|
+
}
|
|
5985
|
+
},
|
|
5937
5986
|
"KaspaGetAddress": {
|
|
5938
5987
|
"fields": {
|
|
5939
5988
|
"address_n": {
|
|
@@ -6111,7 +6160,7 @@
|
|
|
6111
6160
|
"PromptTemporarily": 2
|
|
6112
6161
|
}
|
|
6113
6162
|
},
|
|
6114
|
-
"
|
|
6163
|
+
"StartSession": {
|
|
6115
6164
|
"fields": {
|
|
6116
6165
|
"session_id": {
|
|
6117
6166
|
"type": "bytes",
|
|
@@ -6127,21 +6176,10 @@
|
|
|
6127
6176
|
"derive_cardano": {
|
|
6128
6177
|
"type": "bool",
|
|
6129
6178
|
"id": 3
|
|
6130
|
-
},
|
|
6131
|
-
"passphrase_state": {
|
|
6132
|
-
"type": "string",
|
|
6133
|
-
"id": 8000
|
|
6134
|
-
},
|
|
6135
|
-
"is_contains_attach": {
|
|
6136
|
-
"type": "bool",
|
|
6137
|
-
"id": 8001
|
|
6138
6179
|
}
|
|
6139
6180
|
}
|
|
6140
6181
|
},
|
|
6141
|
-
"
|
|
6142
|
-
"fields": {}
|
|
6143
|
-
},
|
|
6144
|
-
"OnekeyGetFeatures": {
|
|
6182
|
+
"EndSession": {
|
|
6145
6183
|
"fields": {}
|
|
6146
6184
|
},
|
|
6147
6185
|
"OneKeyDeviceType": {
|
|
@@ -6165,618 +6203,233 @@
|
|
|
6165
6203
|
"APP": 1
|
|
6166
6204
|
}
|
|
6167
6205
|
},
|
|
6168
|
-
"
|
|
6206
|
+
"OnekeyFeatures": {
|
|
6169
6207
|
"fields": {
|
|
6170
|
-
"
|
|
6171
|
-
"type": "
|
|
6208
|
+
"onekey_device_type": {
|
|
6209
|
+
"type": "OneKeyDeviceType",
|
|
6172
6210
|
"id": 1
|
|
6173
6211
|
},
|
|
6174
|
-
"
|
|
6175
|
-
"
|
|
6176
|
-
"type": "uint32",
|
|
6212
|
+
"onekey_romloader_version": {
|
|
6213
|
+
"type": "string",
|
|
6177
6214
|
"id": 2
|
|
6178
6215
|
},
|
|
6179
|
-
"
|
|
6180
|
-
"
|
|
6181
|
-
"type": "uint32",
|
|
6216
|
+
"onekey_bootloader_version": {
|
|
6217
|
+
"type": "string",
|
|
6182
6218
|
"id": 3
|
|
6183
6219
|
},
|
|
6184
|
-
"
|
|
6185
|
-
"
|
|
6186
|
-
"type": "uint32",
|
|
6220
|
+
"onekey_firmware_version": {
|
|
6221
|
+
"type": "string",
|
|
6187
6222
|
"id": 4
|
|
6188
6223
|
},
|
|
6189
|
-
"
|
|
6190
|
-
"type": "
|
|
6224
|
+
"onekey_romloader_hash": {
|
|
6225
|
+
"type": "bytes",
|
|
6191
6226
|
"id": 5
|
|
6192
6227
|
},
|
|
6193
|
-
"
|
|
6194
|
-
"type": "
|
|
6228
|
+
"onekey_bootloader_hash": {
|
|
6229
|
+
"type": "bytes",
|
|
6195
6230
|
"id": 6
|
|
6196
6231
|
},
|
|
6197
|
-
"
|
|
6198
|
-
"type": "
|
|
6232
|
+
"onekey_firmware_hash": {
|
|
6233
|
+
"type": "bytes",
|
|
6199
6234
|
"id": 7
|
|
6200
6235
|
},
|
|
6201
|
-
"
|
|
6202
|
-
"type": "
|
|
6236
|
+
"onekey_romloader_build_id": {
|
|
6237
|
+
"type": "string",
|
|
6203
6238
|
"id": 8
|
|
6204
6239
|
},
|
|
6205
|
-
"
|
|
6240
|
+
"onekey_bootloader_build_id": {
|
|
6206
6241
|
"type": "string",
|
|
6207
6242
|
"id": 9
|
|
6208
6243
|
},
|
|
6209
|
-
"
|
|
6244
|
+
"onekey_firmware_build_id": {
|
|
6210
6245
|
"type": "string",
|
|
6211
6246
|
"id": 10
|
|
6212
6247
|
},
|
|
6213
|
-
"
|
|
6214
|
-
"type": "
|
|
6248
|
+
"onekey_serial_no": {
|
|
6249
|
+
"type": "string",
|
|
6250
|
+
"id": 11
|
|
6251
|
+
},
|
|
6252
|
+
"onekey_coprocessor_bt_name": {
|
|
6253
|
+
"type": "string",
|
|
6215
6254
|
"id": 12
|
|
6216
6255
|
},
|
|
6217
|
-
"
|
|
6218
|
-
"type": "
|
|
6256
|
+
"onekey_coprocessor_version": {
|
|
6257
|
+
"type": "string",
|
|
6219
6258
|
"id": 13
|
|
6220
6259
|
},
|
|
6221
|
-
"
|
|
6222
|
-
"type": "
|
|
6260
|
+
"onekey_coprocessor_build_id": {
|
|
6261
|
+
"type": "string",
|
|
6223
6262
|
"id": 14
|
|
6224
6263
|
},
|
|
6225
|
-
"
|
|
6226
|
-
"type": "
|
|
6264
|
+
"onekey_coprocessor_hash": {
|
|
6265
|
+
"type": "bytes",
|
|
6227
6266
|
"id": 15
|
|
6228
6267
|
},
|
|
6229
|
-
"
|
|
6230
|
-
"type": "
|
|
6268
|
+
"onekey_se_type": {
|
|
6269
|
+
"type": "OneKeySeType",
|
|
6231
6270
|
"id": 16
|
|
6232
6271
|
},
|
|
6233
|
-
"
|
|
6234
|
-
"type": "
|
|
6235
|
-
"id": 17
|
|
6236
|
-
"options": {
|
|
6237
|
-
"deprecated": true
|
|
6238
|
-
}
|
|
6272
|
+
"onekey_se01_state": {
|
|
6273
|
+
"type": "OneKeySEState",
|
|
6274
|
+
"id": 17
|
|
6239
6275
|
},
|
|
6240
|
-
"
|
|
6241
|
-
"type": "
|
|
6276
|
+
"onekey_se02_state": {
|
|
6277
|
+
"type": "OneKeySEState",
|
|
6242
6278
|
"id": 18
|
|
6243
6279
|
},
|
|
6244
|
-
"
|
|
6245
|
-
"type": "
|
|
6280
|
+
"onekey_se03_state": {
|
|
6281
|
+
"type": "OneKeySEState",
|
|
6246
6282
|
"id": 19
|
|
6247
6283
|
},
|
|
6248
|
-
"
|
|
6249
|
-
"type": "
|
|
6284
|
+
"onekey_se04_state": {
|
|
6285
|
+
"type": "OneKeySEState",
|
|
6250
6286
|
"id": 20
|
|
6251
6287
|
},
|
|
6252
|
-
"
|
|
6288
|
+
"onekey_se01_version": {
|
|
6253
6289
|
"type": "string",
|
|
6254
6290
|
"id": 21
|
|
6255
6291
|
},
|
|
6256
|
-
"
|
|
6257
|
-
"type": "
|
|
6292
|
+
"onekey_se02_version": {
|
|
6293
|
+
"type": "string",
|
|
6258
6294
|
"id": 22
|
|
6259
6295
|
},
|
|
6260
|
-
"
|
|
6261
|
-
"type": "
|
|
6296
|
+
"onekey_se03_version": {
|
|
6297
|
+
"type": "string",
|
|
6262
6298
|
"id": 23
|
|
6263
6299
|
},
|
|
6264
|
-
"
|
|
6265
|
-
"type": "
|
|
6300
|
+
"onekey_se04_version": {
|
|
6301
|
+
"type": "string",
|
|
6266
6302
|
"id": 24
|
|
6267
6303
|
},
|
|
6268
|
-
"
|
|
6269
|
-
"type": "
|
|
6304
|
+
"onekey_se01_hash": {
|
|
6305
|
+
"type": "bytes",
|
|
6270
6306
|
"id": 25
|
|
6271
6307
|
},
|
|
6272
|
-
"
|
|
6273
|
-
"type": "
|
|
6308
|
+
"onekey_se02_hash": {
|
|
6309
|
+
"type": "bytes",
|
|
6310
|
+
"id": 26
|
|
6311
|
+
},
|
|
6312
|
+
"onekey_se03_hash": {
|
|
6313
|
+
"type": "bytes",
|
|
6274
6314
|
"id": 27
|
|
6275
6315
|
},
|
|
6276
|
-
"
|
|
6277
|
-
"type": "
|
|
6316
|
+
"onekey_se04_hash": {
|
|
6317
|
+
"type": "bytes",
|
|
6278
6318
|
"id": 28
|
|
6279
6319
|
},
|
|
6280
|
-
"
|
|
6281
|
-
"type": "
|
|
6320
|
+
"onekey_se01_build_id": {
|
|
6321
|
+
"type": "string",
|
|
6282
6322
|
"id": 29
|
|
6283
6323
|
},
|
|
6284
|
-
"
|
|
6285
|
-
"
|
|
6286
|
-
"
|
|
6287
|
-
"id": 30,
|
|
6288
|
-
"options": {
|
|
6289
|
-
"packed": false
|
|
6290
|
-
}
|
|
6324
|
+
"onekey_se02_build_id": {
|
|
6325
|
+
"type": "string",
|
|
6326
|
+
"id": 30
|
|
6291
6327
|
},
|
|
6292
|
-
"
|
|
6293
|
-
"type": "
|
|
6328
|
+
"onekey_se03_build_id": {
|
|
6329
|
+
"type": "string",
|
|
6294
6330
|
"id": 31
|
|
6295
6331
|
},
|
|
6296
|
-
"
|
|
6297
|
-
"type": "
|
|
6332
|
+
"onekey_se04_build_id": {
|
|
6333
|
+
"type": "string",
|
|
6298
6334
|
"id": 32
|
|
6299
6335
|
},
|
|
6300
|
-
"
|
|
6301
|
-
"type": "
|
|
6336
|
+
"onekey_se01_bootloader_version": {
|
|
6337
|
+
"type": "string",
|
|
6302
6338
|
"id": 33
|
|
6303
6339
|
},
|
|
6304
|
-
"
|
|
6305
|
-
"type": "
|
|
6340
|
+
"onekey_se02_bootloader_version": {
|
|
6341
|
+
"type": "string",
|
|
6306
6342
|
"id": 34
|
|
6307
6343
|
},
|
|
6308
|
-
"
|
|
6309
|
-
"type": "
|
|
6344
|
+
"onekey_se03_bootloader_version": {
|
|
6345
|
+
"type": "string",
|
|
6310
6346
|
"id": 35
|
|
6311
6347
|
},
|
|
6312
|
-
"
|
|
6313
|
-
"type": "
|
|
6348
|
+
"onekey_se04_bootloader_version": {
|
|
6349
|
+
"type": "string",
|
|
6314
6350
|
"id": 36
|
|
6315
6351
|
},
|
|
6316
|
-
"
|
|
6317
|
-
"type": "
|
|
6352
|
+
"onekey_se01_bootloader_hash": {
|
|
6353
|
+
"type": "bytes",
|
|
6318
6354
|
"id": 37
|
|
6319
6355
|
},
|
|
6320
|
-
"
|
|
6321
|
-
"type": "
|
|
6356
|
+
"onekey_se02_bootloader_hash": {
|
|
6357
|
+
"type": "bytes",
|
|
6322
6358
|
"id": 38
|
|
6323
6359
|
},
|
|
6324
|
-
"
|
|
6325
|
-
"type": "
|
|
6360
|
+
"onekey_se03_bootloader_hash": {
|
|
6361
|
+
"type": "bytes",
|
|
6326
6362
|
"id": 39
|
|
6327
6363
|
},
|
|
6328
|
-
"
|
|
6329
|
-
"type": "
|
|
6364
|
+
"onekey_se04_bootloader_hash": {
|
|
6365
|
+
"type": "bytes",
|
|
6330
6366
|
"id": 40
|
|
6331
6367
|
},
|
|
6332
|
-
"
|
|
6333
|
-
"type": "uint32",
|
|
6334
|
-
"id": 500
|
|
6335
|
-
},
|
|
6336
|
-
"ble_name": {
|
|
6368
|
+
"onekey_se01_bootloader_build_id": {
|
|
6337
6369
|
"type": "string",
|
|
6338
|
-
"id":
|
|
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
|
|
6370
|
+
"id": 41
|
|
6359
6371
|
},
|
|
6360
|
-
"
|
|
6372
|
+
"onekey_se02_bootloader_build_id": {
|
|
6361
6373
|
"type": "string",
|
|
6362
|
-
"id":
|
|
6374
|
+
"id": 42
|
|
6363
6375
|
},
|
|
6364
|
-
"
|
|
6376
|
+
"onekey_se03_bootloader_build_id": {
|
|
6365
6377
|
"type": "string",
|
|
6366
|
-
"id":
|
|
6378
|
+
"id": 43
|
|
6367
6379
|
},
|
|
6368
|
-
"
|
|
6380
|
+
"onekey_se04_bootloader_build_id": {
|
|
6369
6381
|
"type": "string",
|
|
6370
|
-
"id":
|
|
6371
|
-
}
|
|
6372
|
-
|
|
6382
|
+
"id": 44
|
|
6383
|
+
}
|
|
6384
|
+
}
|
|
6385
|
+
},
|
|
6386
|
+
"LockDevice": {
|
|
6387
|
+
"fields": {}
|
|
6388
|
+
},
|
|
6389
|
+
"SetBusy": {
|
|
6390
|
+
"fields": {
|
|
6391
|
+
"expiry_ms": {
|
|
6392
|
+
"type": "uint32",
|
|
6393
|
+
"id": 1
|
|
6394
|
+
}
|
|
6395
|
+
}
|
|
6396
|
+
},
|
|
6397
|
+
"ApplySettings": {
|
|
6398
|
+
"fields": {
|
|
6399
|
+
"language": {
|
|
6373
6400
|
"type": "string",
|
|
6374
|
-
"id":
|
|
6401
|
+
"id": 1
|
|
6375
6402
|
},
|
|
6376
|
-
"
|
|
6403
|
+
"label": {
|
|
6377
6404
|
"type": "string",
|
|
6378
|
-
"id":
|
|
6405
|
+
"id": 2
|
|
6379
6406
|
},
|
|
6380
|
-
"
|
|
6381
|
-
"type": "
|
|
6382
|
-
"id":
|
|
6407
|
+
"use_passphrase": {
|
|
6408
|
+
"type": "bool",
|
|
6409
|
+
"id": 3
|
|
6383
6410
|
},
|
|
6384
|
-
"
|
|
6411
|
+
"homescreen": {
|
|
6385
6412
|
"type": "bytes",
|
|
6386
|
-
"id":
|
|
6387
|
-
},
|
|
6388
|
-
"cpu_info": {
|
|
6389
|
-
"type": "string",
|
|
6390
|
-
"id": 515
|
|
6391
|
-
},
|
|
6392
|
-
"pre_firmware": {
|
|
6393
|
-
"type": "string",
|
|
6394
|
-
"id": 516
|
|
6413
|
+
"id": 4
|
|
6395
6414
|
},
|
|
6396
|
-
"
|
|
6415
|
+
"_passphrase_source": {
|
|
6397
6416
|
"type": "uint32",
|
|
6398
|
-
"id":
|
|
6417
|
+
"id": 5,
|
|
6418
|
+
"options": {
|
|
6419
|
+
"deprecated": true
|
|
6420
|
+
}
|
|
6399
6421
|
},
|
|
6400
|
-
"
|
|
6401
|
-
"type": "
|
|
6402
|
-
"id":
|
|
6422
|
+
"auto_lock_delay_ms": {
|
|
6423
|
+
"type": "uint32",
|
|
6424
|
+
"id": 6
|
|
6403
6425
|
},
|
|
6404
|
-
"
|
|
6405
|
-
"type": "
|
|
6406
|
-
"id":
|
|
6426
|
+
"display_rotation": {
|
|
6427
|
+
"type": "uint32",
|
|
6428
|
+
"id": 7
|
|
6407
6429
|
},
|
|
6408
|
-
"
|
|
6430
|
+
"passphrase_always_on_device": {
|
|
6409
6431
|
"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
|
|
6423
|
-
},
|
|
6424
|
-
"onekey_board_hash": {
|
|
6425
|
-
"type": "bytes",
|
|
6426
|
-
"id": 603
|
|
6427
|
-
},
|
|
6428
|
-
"onekey_boot_version": {
|
|
6429
|
-
"type": "string",
|
|
6430
|
-
"id": 604
|
|
6431
|
-
},
|
|
6432
|
-
"onekey_boot_hash": {
|
|
6433
|
-
"type": "bytes",
|
|
6434
|
-
"id": 605
|
|
6435
|
-
},
|
|
6436
|
-
"onekey_se01_version": {
|
|
6437
|
-
"type": "string",
|
|
6438
|
-
"id": 606
|
|
6439
|
-
},
|
|
6440
|
-
"onekey_se01_hash": {
|
|
6441
|
-
"type": "bytes",
|
|
6442
|
-
"id": 607
|
|
6443
|
-
},
|
|
6444
|
-
"onekey_se01_build_id": {
|
|
6445
|
-
"type": "string",
|
|
6446
|
-
"id": 608
|
|
6447
|
-
},
|
|
6448
|
-
"onekey_firmware_version": {
|
|
6449
|
-
"type": "string",
|
|
6450
|
-
"id": 609
|
|
6451
|
-
},
|
|
6452
|
-
"onekey_firmware_hash": {
|
|
6453
|
-
"type": "bytes",
|
|
6454
|
-
"id": 610
|
|
6455
|
-
},
|
|
6456
|
-
"onekey_firmware_build_id": {
|
|
6457
|
-
"type": "string",
|
|
6458
|
-
"id": 611
|
|
6459
|
-
},
|
|
6460
|
-
"onekey_serial_no": {
|
|
6461
|
-
"type": "string",
|
|
6462
|
-
"id": 612
|
|
6463
|
-
},
|
|
6464
|
-
"onekey_boot_build_id": {
|
|
6465
|
-
"type": "string",
|
|
6466
|
-
"id": 613
|
|
6467
|
-
},
|
|
6468
|
-
"onekey_ble_name": {
|
|
6469
|
-
"type": "string",
|
|
6470
|
-
"id": 614
|
|
6471
|
-
},
|
|
6472
|
-
"onekey_ble_version": {
|
|
6473
|
-
"type": "string",
|
|
6474
|
-
"id": 615
|
|
6475
|
-
},
|
|
6476
|
-
"onekey_ble_build_id": {
|
|
6477
|
-
"type": "string",
|
|
6478
|
-
"id": 616
|
|
6479
|
-
},
|
|
6480
|
-
"onekey_ble_hash": {
|
|
6481
|
-
"type": "bytes",
|
|
6482
|
-
"id": 617
|
|
6483
|
-
},
|
|
6484
|
-
"onekey_se02_version": {
|
|
6485
|
-
"type": "string",
|
|
6486
|
-
"id": 618
|
|
6487
|
-
},
|
|
6488
|
-
"onekey_se03_version": {
|
|
6489
|
-
"type": "string",
|
|
6490
|
-
"id": 619
|
|
6491
|
-
},
|
|
6492
|
-
"onekey_se04_version": {
|
|
6493
|
-
"type": "string",
|
|
6494
|
-
"id": 620
|
|
6495
|
-
},
|
|
6496
|
-
"onekey_se01_state": {
|
|
6497
|
-
"type": "OneKeySEState",
|
|
6498
|
-
"id": 621
|
|
6499
|
-
},
|
|
6500
|
-
"onekey_se02_state": {
|
|
6501
|
-
"type": "OneKeySEState",
|
|
6502
|
-
"id": 622
|
|
6503
|
-
},
|
|
6504
|
-
"onekey_se03_state": {
|
|
6505
|
-
"type": "OneKeySEState",
|
|
6506
|
-
"id": 623
|
|
6507
|
-
},
|
|
6508
|
-
"onekey_se04_state": {
|
|
6509
|
-
"type": "OneKeySEState",
|
|
6510
|
-
"id": 624
|
|
6511
|
-
},
|
|
6512
|
-
"attach_to_pin_user": {
|
|
6513
|
-
"type": "bool",
|
|
6514
|
-
"id": 625
|
|
6515
|
-
},
|
|
6516
|
-
"unlocked_attach_pin": {
|
|
6517
|
-
"type": "bool",
|
|
6518
|
-
"id": 626
|
|
6519
|
-
}
|
|
6520
|
-
},
|
|
6521
|
-
"nested": {
|
|
6522
|
-
"Capability": {
|
|
6523
|
-
"options": {
|
|
6524
|
-
"(has_bitcoin_only_values)": true
|
|
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
|
|
6546
|
-
}
|
|
6547
|
-
}
|
|
6548
|
-
}
|
|
6549
|
-
},
|
|
6550
|
-
"OnekeyFeatures": {
|
|
6551
|
-
"fields": {
|
|
6552
|
-
"onekey_device_type": {
|
|
6553
|
-
"type": "OneKeyDeviceType",
|
|
6554
|
-
"id": 1
|
|
6555
|
-
},
|
|
6556
|
-
"onekey_board_version": {
|
|
6557
|
-
"type": "string",
|
|
6558
|
-
"id": 2
|
|
6559
|
-
},
|
|
6560
|
-
"onekey_boot_version": {
|
|
6561
|
-
"type": "string",
|
|
6562
|
-
"id": 3
|
|
6563
|
-
},
|
|
6564
|
-
"onekey_firmware_version": {
|
|
6565
|
-
"type": "string",
|
|
6566
|
-
"id": 4
|
|
6567
|
-
},
|
|
6568
|
-
"onekey_board_hash": {
|
|
6569
|
-
"type": "bytes",
|
|
6570
|
-
"id": 5
|
|
6571
|
-
},
|
|
6572
|
-
"onekey_boot_hash": {
|
|
6573
|
-
"type": "bytes",
|
|
6574
|
-
"id": 6
|
|
6575
|
-
},
|
|
6576
|
-
"onekey_firmware_hash": {
|
|
6577
|
-
"type": "bytes",
|
|
6578
|
-
"id": 7
|
|
6579
|
-
},
|
|
6580
|
-
"onekey_board_build_id": {
|
|
6581
|
-
"type": "string",
|
|
6582
|
-
"id": 8
|
|
6583
|
-
},
|
|
6584
|
-
"onekey_boot_build_id": {
|
|
6585
|
-
"type": "string",
|
|
6586
|
-
"id": 9
|
|
6587
|
-
},
|
|
6588
|
-
"onekey_firmware_build_id": {
|
|
6589
|
-
"type": "string",
|
|
6590
|
-
"id": 10
|
|
6591
|
-
},
|
|
6592
|
-
"onekey_serial_no": {
|
|
6593
|
-
"type": "string",
|
|
6594
|
-
"id": 11
|
|
6595
|
-
},
|
|
6596
|
-
"onekey_ble_name": {
|
|
6597
|
-
"type": "string",
|
|
6598
|
-
"id": 12
|
|
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
|
|
6727
|
-
}
|
|
6728
|
-
}
|
|
6729
|
-
},
|
|
6730
|
-
"LockDevice": {
|
|
6731
|
-
"fields": {}
|
|
6732
|
-
},
|
|
6733
|
-
"SetBusy": {
|
|
6734
|
-
"fields": {
|
|
6735
|
-
"expiry_ms": {
|
|
6736
|
-
"type": "uint32",
|
|
6737
|
-
"id": 1
|
|
6738
|
-
}
|
|
6739
|
-
}
|
|
6740
|
-
},
|
|
6741
|
-
"EndSession": {
|
|
6742
|
-
"fields": {}
|
|
6743
|
-
},
|
|
6744
|
-
"ApplySettings": {
|
|
6745
|
-
"fields": {
|
|
6746
|
-
"language": {
|
|
6747
|
-
"type": "string",
|
|
6748
|
-
"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
|
|
6432
|
+
"id": 8
|
|
6780
6433
|
},
|
|
6781
6434
|
"safety_checks": {
|
|
6782
6435
|
"type": "SafetyCheckLevel",
|
|
@@ -7263,6 +6916,49 @@
|
|
|
7263
6916
|
}
|
|
7264
6917
|
}
|
|
7265
6918
|
},
|
|
6919
|
+
"WallpaperTarget": {
|
|
6920
|
+
"values": {
|
|
6921
|
+
"Home": 0,
|
|
6922
|
+
"Lock": 1
|
|
6923
|
+
}
|
|
6924
|
+
},
|
|
6925
|
+
"SetWallpaper": {
|
|
6926
|
+
"fields": {
|
|
6927
|
+
"target": {
|
|
6928
|
+
"rule": "required",
|
|
6929
|
+
"type": "WallpaperTarget",
|
|
6930
|
+
"id": 1
|
|
6931
|
+
},
|
|
6932
|
+
"path": {
|
|
6933
|
+
"rule": "required",
|
|
6934
|
+
"type": "string",
|
|
6935
|
+
"id": 2
|
|
6936
|
+
}
|
|
6937
|
+
}
|
|
6938
|
+
},
|
|
6939
|
+
"GetWallpaper": {
|
|
6940
|
+
"fields": {
|
|
6941
|
+
"target": {
|
|
6942
|
+
"rule": "required",
|
|
6943
|
+
"type": "WallpaperTarget",
|
|
6944
|
+
"id": 1
|
|
6945
|
+
}
|
|
6946
|
+
}
|
|
6947
|
+
},
|
|
6948
|
+
"Wallpaper": {
|
|
6949
|
+
"fields": {
|
|
6950
|
+
"target": {
|
|
6951
|
+
"rule": "required",
|
|
6952
|
+
"type": "WallpaperTarget",
|
|
6953
|
+
"id": 1
|
|
6954
|
+
},
|
|
6955
|
+
"path": {
|
|
6956
|
+
"rule": "required",
|
|
6957
|
+
"type": "string",
|
|
6958
|
+
"id": 2
|
|
6959
|
+
}
|
|
6960
|
+
}
|
|
6961
|
+
},
|
|
7266
6962
|
"ResourceUpdate": {
|
|
7267
6963
|
"fields": {
|
|
7268
6964
|
"file_name": {
|
|
@@ -9317,235 +9013,55 @@
|
|
|
9317
9013
|
"id": 1,
|
|
9318
9014
|
"options": {
|
|
9319
9015
|
"packed": false
|
|
9320
|
-
}
|
|
9321
|
-
},
|
|
9322
|
-
"raw_tx": {
|
|
9323
|
-
"rule": "required",
|
|
9324
|
-
"type": "bytes",
|
|
9325
|
-
"id": 2
|
|
9326
|
-
},
|
|
9327
|
-
"network": {
|
|
9328
|
-
"rule": "required",
|
|
9329
|
-
"type": "string",
|
|
9330
|
-
"id": 3
|
|
9331
|
-
}
|
|
9332
|
-
}
|
|
9333
|
-
},
|
|
9334
|
-
"PolkadotSignedTx": {
|
|
9335
|
-
"fields": {
|
|
9336
|
-
"signature": {
|
|
9337
|
-
"rule": "required",
|
|
9338
|
-
"type": "bytes",
|
|
9339
|
-
"id": 1
|
|
9340
|
-
}
|
|
9341
|
-
}
|
|
9342
|
-
},
|
|
9343
|
-
"RippleGetAddress": {
|
|
9344
|
-
"fields": {
|
|
9345
|
-
"address_n": {
|
|
9346
|
-
"rule": "repeated",
|
|
9347
|
-
"type": "uint32",
|
|
9348
|
-
"id": 1,
|
|
9349
|
-
"options": {
|
|
9350
|
-
"packed": false
|
|
9351
|
-
}
|
|
9352
|
-
},
|
|
9353
|
-
"show_display": {
|
|
9354
|
-
"type": "bool",
|
|
9355
|
-
"id": 2
|
|
9356
|
-
}
|
|
9357
|
-
}
|
|
9358
|
-
},
|
|
9359
|
-
"RippleAddress": {
|
|
9360
|
-
"fields": {
|
|
9361
|
-
"address": {
|
|
9362
|
-
"rule": "required",
|
|
9363
|
-
"type": "string",
|
|
9364
|
-
"id": 1
|
|
9365
|
-
}
|
|
9366
|
-
}
|
|
9367
|
-
},
|
|
9368
|
-
"RippleSignTx": {
|
|
9369
|
-
"fields": {
|
|
9370
|
-
"address_n": {
|
|
9371
|
-
"rule": "repeated",
|
|
9372
|
-
"type": "uint32",
|
|
9373
|
-
"id": 1,
|
|
9374
|
-
"options": {
|
|
9375
|
-
"packed": false
|
|
9376
|
-
}
|
|
9377
|
-
},
|
|
9378
|
-
"fee": {
|
|
9379
|
-
"rule": "required",
|
|
9380
|
-
"type": "uint64",
|
|
9381
|
-
"id": 2
|
|
9382
|
-
},
|
|
9383
|
-
"flags": {
|
|
9384
|
-
"type": "uint32",
|
|
9385
|
-
"id": 3,
|
|
9386
|
-
"options": {
|
|
9387
|
-
"default": 0
|
|
9388
|
-
}
|
|
9389
|
-
},
|
|
9390
|
-
"sequence": {
|
|
9391
|
-
"rule": "required",
|
|
9392
|
-
"type": "uint32",
|
|
9393
|
-
"id": 4
|
|
9394
|
-
},
|
|
9395
|
-
"last_ledger_sequence": {
|
|
9396
|
-
"type": "uint32",
|
|
9397
|
-
"id": 5
|
|
9398
|
-
},
|
|
9399
|
-
"payment": {
|
|
9400
|
-
"rule": "required",
|
|
9401
|
-
"type": "RipplePayment",
|
|
9402
|
-
"id": 6
|
|
9403
|
-
}
|
|
9404
|
-
},
|
|
9405
|
-
"nested": {
|
|
9406
|
-
"RipplePayment": {
|
|
9407
|
-
"fields": {
|
|
9408
|
-
"amount": {
|
|
9409
|
-
"rule": "required",
|
|
9410
|
-
"type": "uint64",
|
|
9411
|
-
"id": 1
|
|
9412
|
-
},
|
|
9413
|
-
"destination": {
|
|
9414
|
-
"rule": "required",
|
|
9415
|
-
"type": "string",
|
|
9416
|
-
"id": 2
|
|
9417
|
-
},
|
|
9418
|
-
"destination_tag": {
|
|
9419
|
-
"type": "uint32",
|
|
9420
|
-
"id": 3
|
|
9421
|
-
}
|
|
9422
|
-
}
|
|
9423
|
-
}
|
|
9424
|
-
}
|
|
9425
|
-
},
|
|
9426
|
-
"RippleSignedTx": {
|
|
9427
|
-
"fields": {
|
|
9428
|
-
"signature": {
|
|
9429
|
-
"rule": "required",
|
|
9430
|
-
"type": "bytes",
|
|
9431
|
-
"id": 1
|
|
9432
|
-
},
|
|
9433
|
-
"serialized_tx": {
|
|
9434
|
-
"rule": "required",
|
|
9435
|
-
"type": "bytes",
|
|
9436
|
-
"id": 2
|
|
9437
|
-
}
|
|
9438
|
-
}
|
|
9439
|
-
},
|
|
9440
|
-
"ScdoGetAddress": {
|
|
9441
|
-
"fields": {
|
|
9442
|
-
"address_n": {
|
|
9443
|
-
"rule": "repeated",
|
|
9444
|
-
"type": "uint32",
|
|
9445
|
-
"id": 1,
|
|
9446
|
-
"options": {
|
|
9447
|
-
"packed": false
|
|
9448
|
-
}
|
|
9449
|
-
},
|
|
9450
|
-
"show_display": {
|
|
9451
|
-
"type": "bool",
|
|
9452
|
-
"id": 2
|
|
9453
|
-
}
|
|
9454
|
-
}
|
|
9455
|
-
},
|
|
9456
|
-
"ScdoAddress": {
|
|
9457
|
-
"fields": {
|
|
9458
|
-
"address": {
|
|
9459
|
-
"rule": "required",
|
|
9460
|
-
"type": "string",
|
|
9461
|
-
"id": 1
|
|
9462
|
-
}
|
|
9463
|
-
}
|
|
9464
|
-
},
|
|
9465
|
-
"ScdoSignTx": {
|
|
9466
|
-
"fields": {
|
|
9467
|
-
"address_n": {
|
|
9468
|
-
"rule": "repeated",
|
|
9469
|
-
"type": "uint32",
|
|
9470
|
-
"id": 1,
|
|
9471
|
-
"options": {
|
|
9472
|
-
"packed": false
|
|
9473
|
-
}
|
|
9474
|
-
},
|
|
9475
|
-
"nonce": {
|
|
9476
|
-
"rule": "required",
|
|
9477
|
-
"type": "bytes",
|
|
9478
|
-
"id": 2
|
|
9479
|
-
},
|
|
9480
|
-
"gas_price": {
|
|
9481
|
-
"rule": "required",
|
|
9482
|
-
"type": "bytes",
|
|
9483
|
-
"id": 3
|
|
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": {
|
|
9496
|
-
"rule": "required",
|
|
9497
|
-
"type": "bytes",
|
|
9498
|
-
"id": 6
|
|
9016
|
+
}
|
|
9499
9017
|
},
|
|
9500
|
-
"
|
|
9018
|
+
"raw_tx": {
|
|
9501
9019
|
"rule": "required",
|
|
9502
9020
|
"type": "bytes",
|
|
9503
|
-
"id":
|
|
9021
|
+
"id": 2
|
|
9504
9022
|
},
|
|
9505
|
-
"
|
|
9023
|
+
"network": {
|
|
9024
|
+
"rule": "required",
|
|
9025
|
+
"type": "string",
|
|
9026
|
+
"id": 3
|
|
9027
|
+
}
|
|
9028
|
+
}
|
|
9029
|
+
},
|
|
9030
|
+
"PolkadotSignedTx": {
|
|
9031
|
+
"fields": {
|
|
9032
|
+
"signature": {
|
|
9033
|
+
"rule": "required",
|
|
9506
9034
|
"type": "bytes",
|
|
9507
|
-
"id":
|
|
9508
|
-
"options": {
|
|
9509
|
-
"default": ""
|
|
9510
|
-
}
|
|
9511
|
-
},
|
|
9512
|
-
"data_length": {
|
|
9513
|
-
"type": "uint32",
|
|
9514
|
-
"id": 9,
|
|
9515
|
-
"options": {
|
|
9516
|
-
"default": 0
|
|
9517
|
-
}
|
|
9518
|
-
},
|
|
9519
|
-
"tx_type": {
|
|
9520
|
-
"type": "uint32",
|
|
9521
|
-
"id": 10,
|
|
9522
|
-
"options": {
|
|
9523
|
-
"default": 0
|
|
9524
|
-
}
|
|
9035
|
+
"id": 1
|
|
9525
9036
|
}
|
|
9526
9037
|
}
|
|
9527
9038
|
},
|
|
9528
|
-
"
|
|
9039
|
+
"RippleGetAddress": {
|
|
9529
9040
|
"fields": {
|
|
9530
|
-
"
|
|
9041
|
+
"address_n": {
|
|
9042
|
+
"rule": "repeated",
|
|
9531
9043
|
"type": "uint32",
|
|
9532
|
-
"id": 1
|
|
9044
|
+
"id": 1,
|
|
9045
|
+
"options": {
|
|
9046
|
+
"packed": false
|
|
9047
|
+
}
|
|
9533
9048
|
},
|
|
9534
|
-
"
|
|
9535
|
-
"type": "
|
|
9049
|
+
"show_display": {
|
|
9050
|
+
"type": "bool",
|
|
9536
9051
|
"id": 2
|
|
9537
9052
|
}
|
|
9538
9053
|
}
|
|
9539
9054
|
},
|
|
9540
|
-
"
|
|
9055
|
+
"RippleAddress": {
|
|
9541
9056
|
"fields": {
|
|
9542
|
-
"
|
|
9543
|
-
"
|
|
9057
|
+
"address": {
|
|
9058
|
+
"rule": "required",
|
|
9059
|
+
"type": "string",
|
|
9544
9060
|
"id": 1
|
|
9545
9061
|
}
|
|
9546
9062
|
}
|
|
9547
9063
|
},
|
|
9548
|
-
"
|
|
9064
|
+
"RippleSignTx": {
|
|
9549
9065
|
"fields": {
|
|
9550
9066
|
"address_n": {
|
|
9551
9067
|
"rule": "repeated",
|
|
@@ -9555,20 +9071,64 @@
|
|
|
9555
9071
|
"packed": false
|
|
9556
9072
|
}
|
|
9557
9073
|
},
|
|
9558
|
-
"
|
|
9559
|
-
"
|
|
9074
|
+
"fee": {
|
|
9075
|
+
"rule": "required",
|
|
9076
|
+
"type": "uint64",
|
|
9560
9077
|
"id": 2
|
|
9078
|
+
},
|
|
9079
|
+
"flags": {
|
|
9080
|
+
"type": "uint32",
|
|
9081
|
+
"id": 3,
|
|
9082
|
+
"options": {
|
|
9083
|
+
"default": 0
|
|
9084
|
+
}
|
|
9085
|
+
},
|
|
9086
|
+
"sequence": {
|
|
9087
|
+
"rule": "required",
|
|
9088
|
+
"type": "uint32",
|
|
9089
|
+
"id": 4
|
|
9090
|
+
},
|
|
9091
|
+
"last_ledger_sequence": {
|
|
9092
|
+
"type": "uint32",
|
|
9093
|
+
"id": 5
|
|
9094
|
+
},
|
|
9095
|
+
"payment": {
|
|
9096
|
+
"rule": "required",
|
|
9097
|
+
"type": "RipplePayment",
|
|
9098
|
+
"id": 6
|
|
9099
|
+
}
|
|
9100
|
+
},
|
|
9101
|
+
"nested": {
|
|
9102
|
+
"RipplePayment": {
|
|
9103
|
+
"fields": {
|
|
9104
|
+
"amount": {
|
|
9105
|
+
"rule": "required",
|
|
9106
|
+
"type": "uint64",
|
|
9107
|
+
"id": 1
|
|
9108
|
+
},
|
|
9109
|
+
"destination": {
|
|
9110
|
+
"rule": "required",
|
|
9111
|
+
"type": "string",
|
|
9112
|
+
"id": 2
|
|
9113
|
+
},
|
|
9114
|
+
"destination_tag": {
|
|
9115
|
+
"type": "uint32",
|
|
9116
|
+
"id": 3
|
|
9117
|
+
}
|
|
9118
|
+
}
|
|
9561
9119
|
}
|
|
9562
9120
|
}
|
|
9563
9121
|
},
|
|
9564
|
-
"
|
|
9122
|
+
"RippleSignedTx": {
|
|
9565
9123
|
"fields": {
|
|
9566
9124
|
"signature": {
|
|
9125
|
+
"rule": "required",
|
|
9567
9126
|
"type": "bytes",
|
|
9568
9127
|
"id": 1
|
|
9569
9128
|
},
|
|
9570
|
-
"
|
|
9571
|
-
"
|
|
9129
|
+
"serialized_tx": {
|
|
9130
|
+
"rule": "required",
|
|
9131
|
+
"type": "bytes",
|
|
9572
9132
|
"id": 2
|
|
9573
9133
|
}
|
|
9574
9134
|
}
|
|
@@ -11481,431 +11041,648 @@
|
|
|
11481
11041
|
}
|
|
11482
11042
|
}
|
|
11483
11043
|
},
|
|
11484
|
-
"TronSignedTx": {
|
|
11044
|
+
"TronSignedTx": {
|
|
11045
|
+
"fields": {
|
|
11046
|
+
"signature": {
|
|
11047
|
+
"rule": "required",
|
|
11048
|
+
"type": "bytes",
|
|
11049
|
+
"id": 1
|
|
11050
|
+
},
|
|
11051
|
+
"serialized_tx": {
|
|
11052
|
+
"type": "bytes",
|
|
11053
|
+
"id": 2
|
|
11054
|
+
}
|
|
11055
|
+
}
|
|
11056
|
+
},
|
|
11057
|
+
"TronMessageType": {
|
|
11058
|
+
"values": {
|
|
11059
|
+
"V1": 1,
|
|
11060
|
+
"V2": 2
|
|
11061
|
+
}
|
|
11062
|
+
},
|
|
11063
|
+
"TronSignMessage": {
|
|
11064
|
+
"fields": {
|
|
11065
|
+
"address_n": {
|
|
11066
|
+
"rule": "repeated",
|
|
11067
|
+
"type": "uint32",
|
|
11068
|
+
"id": 1,
|
|
11069
|
+
"options": {
|
|
11070
|
+
"packed": false
|
|
11071
|
+
}
|
|
11072
|
+
},
|
|
11073
|
+
"message": {
|
|
11074
|
+
"rule": "required",
|
|
11075
|
+
"type": "bytes",
|
|
11076
|
+
"id": 2
|
|
11077
|
+
},
|
|
11078
|
+
"message_type": {
|
|
11079
|
+
"type": "TronMessageType",
|
|
11080
|
+
"id": 3,
|
|
11081
|
+
"options": {
|
|
11082
|
+
"default": "V1"
|
|
11083
|
+
}
|
|
11084
|
+
}
|
|
11085
|
+
}
|
|
11086
|
+
},
|
|
11087
|
+
"TronMessageSignature": {
|
|
11088
|
+
"fields": {
|
|
11089
|
+
"address": {
|
|
11090
|
+
"rule": "required",
|
|
11091
|
+
"type": "bytes",
|
|
11092
|
+
"id": 1
|
|
11093
|
+
},
|
|
11094
|
+
"signature": {
|
|
11095
|
+
"rule": "required",
|
|
11096
|
+
"type": "bytes",
|
|
11097
|
+
"id": 2
|
|
11098
|
+
}
|
|
11099
|
+
}
|
|
11100
|
+
},
|
|
11101
|
+
"ViewAmount": {
|
|
11102
|
+
"fields": {
|
|
11103
|
+
"is_unlimited": {
|
|
11104
|
+
"rule": "required",
|
|
11105
|
+
"type": "bool",
|
|
11106
|
+
"id": 1
|
|
11107
|
+
},
|
|
11108
|
+
"num": {
|
|
11109
|
+
"rule": "required",
|
|
11110
|
+
"type": "string",
|
|
11111
|
+
"id": 2
|
|
11112
|
+
}
|
|
11113
|
+
}
|
|
11114
|
+
},
|
|
11115
|
+
"ViewDetail": {
|
|
11116
|
+
"fields": {
|
|
11117
|
+
"key": {
|
|
11118
|
+
"rule": "required",
|
|
11119
|
+
"type": "uint32",
|
|
11120
|
+
"id": 1
|
|
11121
|
+
},
|
|
11122
|
+
"value": {
|
|
11123
|
+
"rule": "required",
|
|
11124
|
+
"type": "string",
|
|
11125
|
+
"id": 2
|
|
11126
|
+
},
|
|
11127
|
+
"is_overview": {
|
|
11128
|
+
"rule": "required",
|
|
11129
|
+
"type": "bool",
|
|
11130
|
+
"id": 3
|
|
11131
|
+
},
|
|
11132
|
+
"has_icon": {
|
|
11133
|
+
"rule": "required",
|
|
11134
|
+
"type": "bool",
|
|
11135
|
+
"id": 4
|
|
11136
|
+
}
|
|
11137
|
+
}
|
|
11138
|
+
},
|
|
11139
|
+
"ViewTipType": {
|
|
11140
|
+
"values": {
|
|
11141
|
+
"Default": 0,
|
|
11142
|
+
"Highlight": 1,
|
|
11143
|
+
"Recommend": 2,
|
|
11144
|
+
"Warning": 3,
|
|
11145
|
+
"Danger": 4
|
|
11146
|
+
}
|
|
11147
|
+
},
|
|
11148
|
+
"ViewTip": {
|
|
11149
|
+
"fields": {
|
|
11150
|
+
"type": {
|
|
11151
|
+
"rule": "required",
|
|
11152
|
+
"type": "ViewTipType",
|
|
11153
|
+
"id": 1
|
|
11154
|
+
},
|
|
11155
|
+
"text": {
|
|
11156
|
+
"rule": "required",
|
|
11157
|
+
"type": "string",
|
|
11158
|
+
"id": 2
|
|
11159
|
+
}
|
|
11160
|
+
}
|
|
11161
|
+
},
|
|
11162
|
+
"ViewRawData": {
|
|
11163
|
+
"fields": {
|
|
11164
|
+
"initial_data": {
|
|
11165
|
+
"rule": "required",
|
|
11166
|
+
"type": "string",
|
|
11167
|
+
"id": 1
|
|
11168
|
+
},
|
|
11169
|
+
"placeholder": {
|
|
11170
|
+
"rule": "required",
|
|
11171
|
+
"type": "uint32",
|
|
11172
|
+
"id": 2
|
|
11173
|
+
}
|
|
11174
|
+
}
|
|
11175
|
+
},
|
|
11176
|
+
"ViewSignLayout": {
|
|
11177
|
+
"values": {
|
|
11178
|
+
"LayoutDefault": 0,
|
|
11179
|
+
"LayoutSafeTxCreate": 1
|
|
11180
|
+
}
|
|
11181
|
+
},
|
|
11182
|
+
"ViewSignPage": {
|
|
11183
|
+
"fields": {
|
|
11184
|
+
"title": {
|
|
11185
|
+
"rule": "required",
|
|
11186
|
+
"type": "string",
|
|
11187
|
+
"id": 1
|
|
11188
|
+
},
|
|
11189
|
+
"amount": {
|
|
11190
|
+
"type": "ViewAmount",
|
|
11191
|
+
"id": 2
|
|
11192
|
+
},
|
|
11193
|
+
"general": {
|
|
11194
|
+
"rule": "repeated",
|
|
11195
|
+
"type": "ViewDetail",
|
|
11196
|
+
"id": 3
|
|
11197
|
+
},
|
|
11198
|
+
"tip": {
|
|
11199
|
+
"type": "ViewTip",
|
|
11200
|
+
"id": 4
|
|
11201
|
+
},
|
|
11202
|
+
"raw_data": {
|
|
11203
|
+
"type": "ViewRawData",
|
|
11204
|
+
"id": 5
|
|
11205
|
+
},
|
|
11206
|
+
"slide_to_confirm": {
|
|
11207
|
+
"type": "bool",
|
|
11208
|
+
"id": 6,
|
|
11209
|
+
"options": {
|
|
11210
|
+
"default": true
|
|
11211
|
+
}
|
|
11212
|
+
},
|
|
11213
|
+
"layout": {
|
|
11214
|
+
"type": "ViewSignLayout",
|
|
11215
|
+
"id": 7,
|
|
11216
|
+
"options": {
|
|
11217
|
+
"default": "LayoutDefault"
|
|
11218
|
+
}
|
|
11219
|
+
}
|
|
11220
|
+
}
|
|
11221
|
+
},
|
|
11222
|
+
"ViewVerifyPage": {
|
|
11485
11223
|
"fields": {
|
|
11486
|
-
"
|
|
11224
|
+
"title": {
|
|
11487
11225
|
"rule": "required",
|
|
11488
|
-
"type": "
|
|
11226
|
+
"type": "string",
|
|
11489
11227
|
"id": 1
|
|
11490
11228
|
},
|
|
11491
|
-
"
|
|
11492
|
-
"
|
|
11229
|
+
"address": {
|
|
11230
|
+
"rule": "required",
|
|
11231
|
+
"type": "string",
|
|
11493
11232
|
"id": 2
|
|
11233
|
+
},
|
|
11234
|
+
"path": {
|
|
11235
|
+
"rule": "required",
|
|
11236
|
+
"type": "string",
|
|
11237
|
+
"id": 3
|
|
11494
11238
|
}
|
|
11495
11239
|
}
|
|
11496
11240
|
},
|
|
11497
|
-
"
|
|
11498
|
-
"
|
|
11499
|
-
|
|
11500
|
-
|
|
11241
|
+
"WebAuthnListResidentCredentials": {
|
|
11242
|
+
"fields": {}
|
|
11243
|
+
},
|
|
11244
|
+
"WebAuthnAddResidentCredential": {
|
|
11245
|
+
"fields": {
|
|
11246
|
+
"credential_id": {
|
|
11247
|
+
"type": "bytes",
|
|
11248
|
+
"id": 1
|
|
11249
|
+
}
|
|
11501
11250
|
}
|
|
11502
11251
|
},
|
|
11503
|
-
"
|
|
11252
|
+
"WebAuthnRemoveResidentCredential": {
|
|
11504
11253
|
"fields": {
|
|
11505
|
-
"
|
|
11254
|
+
"index": {
|
|
11255
|
+
"type": "uint32",
|
|
11256
|
+
"id": 1
|
|
11257
|
+
}
|
|
11258
|
+
}
|
|
11259
|
+
},
|
|
11260
|
+
"WebAuthnCredentials": {
|
|
11261
|
+
"fields": {
|
|
11262
|
+
"credentials": {
|
|
11263
|
+
"rule": "repeated",
|
|
11264
|
+
"type": "WebAuthnCredential",
|
|
11265
|
+
"id": 1
|
|
11266
|
+
}
|
|
11267
|
+
},
|
|
11268
|
+
"nested": {
|
|
11269
|
+
"WebAuthnCredential": {
|
|
11270
|
+
"fields": {
|
|
11271
|
+
"index": {
|
|
11272
|
+
"type": "uint32",
|
|
11273
|
+
"id": 1
|
|
11274
|
+
},
|
|
11275
|
+
"id": {
|
|
11276
|
+
"type": "bytes",
|
|
11277
|
+
"id": 2
|
|
11278
|
+
},
|
|
11279
|
+
"rp_id": {
|
|
11280
|
+
"type": "string",
|
|
11281
|
+
"id": 3
|
|
11282
|
+
},
|
|
11283
|
+
"rp_name": {
|
|
11284
|
+
"type": "string",
|
|
11285
|
+
"id": 4
|
|
11286
|
+
},
|
|
11287
|
+
"user_id": {
|
|
11288
|
+
"type": "bytes",
|
|
11289
|
+
"id": 5
|
|
11290
|
+
},
|
|
11291
|
+
"user_name": {
|
|
11292
|
+
"type": "string",
|
|
11293
|
+
"id": 6
|
|
11294
|
+
},
|
|
11295
|
+
"user_display_name": {
|
|
11296
|
+
"type": "string",
|
|
11297
|
+
"id": 7
|
|
11298
|
+
},
|
|
11299
|
+
"creation_time": {
|
|
11300
|
+
"type": "uint32",
|
|
11301
|
+
"id": 8
|
|
11302
|
+
},
|
|
11303
|
+
"hmac_secret": {
|
|
11304
|
+
"type": "bool",
|
|
11305
|
+
"id": 9
|
|
11306
|
+
},
|
|
11307
|
+
"use_sign_count": {
|
|
11308
|
+
"type": "bool",
|
|
11309
|
+
"id": 10
|
|
11310
|
+
},
|
|
11311
|
+
"algorithm": {
|
|
11312
|
+
"type": "sint32",
|
|
11313
|
+
"id": 11
|
|
11314
|
+
},
|
|
11315
|
+
"curve": {
|
|
11316
|
+
"type": "sint32",
|
|
11317
|
+
"id": 12
|
|
11318
|
+
}
|
|
11319
|
+
}
|
|
11320
|
+
}
|
|
11321
|
+
}
|
|
11322
|
+
},
|
|
11323
|
+
"ProtocolInfoRequest": {
|
|
11324
|
+
"fields": {}
|
|
11325
|
+
},
|
|
11326
|
+
"ProtocolInfo": {
|
|
11327
|
+
"fields": {
|
|
11328
|
+
"version": {
|
|
11329
|
+
"rule": "required",
|
|
11330
|
+
"type": "uint32",
|
|
11331
|
+
"id": 1
|
|
11332
|
+
},
|
|
11333
|
+
"supported_messages": {
|
|
11506
11334
|
"rule": "repeated",
|
|
11507
11335
|
"type": "uint32",
|
|
11508
|
-
"id":
|
|
11336
|
+
"id": 2,
|
|
11509
11337
|
"options": {
|
|
11510
11338
|
"packed": false
|
|
11511
11339
|
}
|
|
11512
11340
|
},
|
|
11341
|
+
"protobuf_definition": {
|
|
11342
|
+
"type": "string",
|
|
11343
|
+
"id": 3
|
|
11344
|
+
}
|
|
11345
|
+
}
|
|
11346
|
+
},
|
|
11347
|
+
"Ping": {
|
|
11348
|
+
"fields": {
|
|
11513
11349
|
"message": {
|
|
11514
|
-
"
|
|
11515
|
-
"
|
|
11516
|
-
"id": 2
|
|
11517
|
-
},
|
|
11518
|
-
"message_type": {
|
|
11519
|
-
"type": "TronMessageType",
|
|
11520
|
-
"id": 3,
|
|
11350
|
+
"type": "string",
|
|
11351
|
+
"id": 1,
|
|
11521
11352
|
"options": {
|
|
11522
|
-
"default": "
|
|
11353
|
+
"default": ""
|
|
11523
11354
|
}
|
|
11524
11355
|
}
|
|
11525
11356
|
}
|
|
11526
11357
|
},
|
|
11527
|
-
"
|
|
11358
|
+
"Success": {
|
|
11528
11359
|
"fields": {
|
|
11529
|
-
"
|
|
11530
|
-
"
|
|
11531
|
-
"
|
|
11532
|
-
"
|
|
11533
|
-
|
|
11534
|
-
|
|
11535
|
-
"rule": "required",
|
|
11536
|
-
"type": "bytes",
|
|
11537
|
-
"id": 2
|
|
11360
|
+
"message": {
|
|
11361
|
+
"type": "string",
|
|
11362
|
+
"id": 1,
|
|
11363
|
+
"options": {
|
|
11364
|
+
"default": ""
|
|
11365
|
+
}
|
|
11538
11366
|
}
|
|
11539
11367
|
}
|
|
11540
11368
|
},
|
|
11541
|
-
"
|
|
11369
|
+
"Failure": {
|
|
11542
11370
|
"fields": {
|
|
11543
|
-
"
|
|
11371
|
+
"code": {
|
|
11544
11372
|
"rule": "required",
|
|
11545
|
-
"type": "
|
|
11373
|
+
"type": "FailureType",
|
|
11546
11374
|
"id": 1
|
|
11547
11375
|
},
|
|
11548
|
-
"
|
|
11549
|
-
"rule": "required",
|
|
11376
|
+
"subcode": {
|
|
11550
11377
|
"type": "uint32",
|
|
11551
11378
|
"id": 2
|
|
11552
11379
|
},
|
|
11553
|
-
"
|
|
11554
|
-
"rule": "required",
|
|
11380
|
+
"message": {
|
|
11555
11381
|
"type": "string",
|
|
11556
11382
|
"id": 3
|
|
11557
11383
|
}
|
|
11384
|
+
},
|
|
11385
|
+
"nested": {
|
|
11386
|
+
"FailureType": {
|
|
11387
|
+
"values": {
|
|
11388
|
+
"Failure_InvalidMessage": 1,
|
|
11389
|
+
"Failure_UndefinedError": 2,
|
|
11390
|
+
"Failure_UsageError": 3,
|
|
11391
|
+
"Failure_DataError": 4,
|
|
11392
|
+
"Failure_ProcessError": 5
|
|
11393
|
+
}
|
|
11394
|
+
}
|
|
11395
|
+
}
|
|
11396
|
+
},
|
|
11397
|
+
"DeviceRebootType": {
|
|
11398
|
+
"values": {
|
|
11399
|
+
"Normal": 0,
|
|
11400
|
+
"Romloader": 1,
|
|
11401
|
+
"Bootloader": 2
|
|
11558
11402
|
}
|
|
11559
11403
|
},
|
|
11560
|
-
"
|
|
11404
|
+
"DeviceReboot": {
|
|
11561
11405
|
"fields": {
|
|
11562
|
-
"
|
|
11406
|
+
"reboot_type": {
|
|
11563
11407
|
"rule": "required",
|
|
11564
|
-
"type": "
|
|
11408
|
+
"type": "DeviceRebootType",
|
|
11565
11409
|
"id": 1
|
|
11566
|
-
}
|
|
11567
|
-
|
|
11568
|
-
|
|
11410
|
+
}
|
|
11411
|
+
}
|
|
11412
|
+
},
|
|
11413
|
+
"DeviceSettings": {
|
|
11414
|
+
"fields": {
|
|
11415
|
+
"label": {
|
|
11569
11416
|
"type": "string",
|
|
11417
|
+
"id": 1
|
|
11418
|
+
},
|
|
11419
|
+
"bt_enable": {
|
|
11420
|
+
"type": "bool",
|
|
11570
11421
|
"id": 2
|
|
11571
11422
|
},
|
|
11572
|
-
"
|
|
11423
|
+
"language": {
|
|
11573
11424
|
"type": "string",
|
|
11574
11425
|
"id": 3
|
|
11575
|
-
},
|
|
11576
|
-
"icon": {
|
|
11577
|
-
"type": "string",
|
|
11578
|
-
"id": 4
|
|
11579
11426
|
}
|
|
11580
11427
|
}
|
|
11581
11428
|
},
|
|
11582
|
-
"
|
|
11429
|
+
"DeviceSettingsGet": {
|
|
11430
|
+
"fields": {}
|
|
11431
|
+
},
|
|
11432
|
+
"DeviceSettingsSet": {
|
|
11433
|
+
"fields": {
|
|
11434
|
+
"settings": {
|
|
11435
|
+
"rule": "required",
|
|
11436
|
+
"type": "DeviceSettings",
|
|
11437
|
+
"id": 1
|
|
11438
|
+
}
|
|
11439
|
+
}
|
|
11440
|
+
},
|
|
11441
|
+
"DeviceCertificate": {
|
|
11583
11442
|
"fields": {
|
|
11584
|
-
"
|
|
11443
|
+
"cert_and_pubkey": {
|
|
11585
11444
|
"rule": "required",
|
|
11586
|
-
"type": "
|
|
11445
|
+
"type": "bytes",
|
|
11587
11446
|
"id": 1
|
|
11588
11447
|
},
|
|
11589
|
-
"
|
|
11590
|
-
"type": "
|
|
11448
|
+
"private_key": {
|
|
11449
|
+
"type": "bytes",
|
|
11591
11450
|
"id": 2
|
|
11592
11451
|
}
|
|
11593
11452
|
}
|
|
11594
11453
|
},
|
|
11595
|
-
"
|
|
11454
|
+
"DeviceCertificateWrite": {
|
|
11596
11455
|
"fields": {
|
|
11597
|
-
"
|
|
11456
|
+
"cert": {
|
|
11598
11457
|
"rule": "required",
|
|
11599
|
-
"type": "
|
|
11458
|
+
"type": "DeviceCertificate",
|
|
11600
11459
|
"id": 1
|
|
11601
|
-
}
|
|
11602
|
-
|
|
11460
|
+
}
|
|
11461
|
+
}
|
|
11462
|
+
},
|
|
11463
|
+
"DeviceCertificateRead": {
|
|
11464
|
+
"fields": {}
|
|
11465
|
+
},
|
|
11466
|
+
"DeviceCertificateSignature": {
|
|
11467
|
+
"fields": {
|
|
11468
|
+
"data": {
|
|
11603
11469
|
"rule": "required",
|
|
11604
|
-
"type": "
|
|
11605
|
-
"id":
|
|
11606
|
-
}
|
|
11607
|
-
|
|
11470
|
+
"type": "bytes",
|
|
11471
|
+
"id": 1
|
|
11472
|
+
}
|
|
11473
|
+
}
|
|
11474
|
+
},
|
|
11475
|
+
"DeviceCertificateSign": {
|
|
11476
|
+
"fields": {
|
|
11477
|
+
"data": {
|
|
11608
11478
|
"rule": "required",
|
|
11609
|
-
"type": "
|
|
11610
|
-
"id":
|
|
11479
|
+
"type": "bytes",
|
|
11480
|
+
"id": 1
|
|
11611
11481
|
}
|
|
11612
11482
|
}
|
|
11613
11483
|
},
|
|
11614
|
-
"
|
|
11484
|
+
"DeviceFirmwareTargetType": {
|
|
11485
|
+
"values": {
|
|
11486
|
+
"FW_MGMT_TARGET_INVALID": 0,
|
|
11487
|
+
"FW_MGMT_TARGET_CRATE": 1,
|
|
11488
|
+
"FW_MGMT_TARGET_ROMLOADER": 2,
|
|
11489
|
+
"FW_MGMT_TARGET_BOOTLOADER": 3,
|
|
11490
|
+
"FW_MGMT_TARGET_APPLICATION_P1": 4,
|
|
11491
|
+
"FW_MGMT_TARGET_APPLICATION_P2": 5,
|
|
11492
|
+
"FW_MGMT_TARGET_COPROCESSOR": 6,
|
|
11493
|
+
"FW_MGMT_TARGET_SE01": 7,
|
|
11494
|
+
"FW_MGMT_TARGET_SE02": 8,
|
|
11495
|
+
"FW_MGMT_TARGET_SE03": 9,
|
|
11496
|
+
"FW_MGMT_TARGET_SE04": 10
|
|
11497
|
+
}
|
|
11498
|
+
},
|
|
11499
|
+
"DeviceFirmwareUpdateTaskStatus": {
|
|
11615
11500
|
"values": {
|
|
11616
|
-
"
|
|
11617
|
-
"
|
|
11501
|
+
"FW_MGMT_UPDATER_TASK_STATUS_PENDING": 0,
|
|
11502
|
+
"FW_MGMT_UPDATER_TASK_STATUS_IN_PROGRESS": 1,
|
|
11503
|
+
"FW_MGMT_UPDATER_TASK_STATUS_FINISHED": 2,
|
|
11504
|
+
"FW_MGMT_UPDATER_TASK_STATUS_FAILED_FILE_NOT_FOUND": 3,
|
|
11505
|
+
"FW_MGMT_UPDATER_TASK_STATUS_FAILED_FILE_READ": 4,
|
|
11506
|
+
"FW_MGMT_UPDATER_TASK_STATUS_FAILED_FILE_WRITE": 5,
|
|
11507
|
+
"FW_MGMT_UPDATER_TASK_STATUS_FAILED_VERIFY": 6,
|
|
11508
|
+
"FW_MGMT_UPDATER_TASK_STATUS_FAILED_INSTALL": 7,
|
|
11509
|
+
"FW_MGMT_UPDATER_TASK_STATUS_FAILED_ABORT": 8,
|
|
11510
|
+
"FW_MGMT_UPDATER_TASK_STATUS_FAILED_BUSY": 9,
|
|
11511
|
+
"FW_MGMT_UPDATER_TASK_STATUS_FAILED_ENTRY_OUT_OF_BOUNDS": 10
|
|
11618
11512
|
}
|
|
11619
11513
|
},
|
|
11620
|
-
"
|
|
11514
|
+
"DeviceFirmwareTarget": {
|
|
11621
11515
|
"fields": {
|
|
11622
|
-
"
|
|
11516
|
+
"target_id": {
|
|
11623
11517
|
"rule": "required",
|
|
11624
|
-
"type": "
|
|
11518
|
+
"type": "DeviceFirmwareTargetType",
|
|
11625
11519
|
"id": 1
|
|
11626
11520
|
},
|
|
11627
|
-
"
|
|
11521
|
+
"path": {
|
|
11522
|
+
"rule": "required",
|
|
11523
|
+
"type": "string",
|
|
11524
|
+
"id": 2
|
|
11525
|
+
}
|
|
11526
|
+
}
|
|
11527
|
+
},
|
|
11528
|
+
"DeviceFirmwareUpdateRequest": {
|
|
11529
|
+
"fields": {
|
|
11530
|
+
"targets": {
|
|
11531
|
+
"rule": "repeated",
|
|
11532
|
+
"type": "DeviceFirmwareTarget",
|
|
11533
|
+
"id": 1
|
|
11534
|
+
}
|
|
11535
|
+
}
|
|
11536
|
+
},
|
|
11537
|
+
"DeviceFirmwareUpdateRecord": {
|
|
11538
|
+
"fields": {
|
|
11539
|
+
"target_id": {
|
|
11628
11540
|
"rule": "required",
|
|
11629
|
-
"type": "
|
|
11630
|
-
"id":
|
|
11631
|
-
},
|
|
11632
|
-
"amount": {
|
|
11633
|
-
"type": "TxDetailsAmount",
|
|
11634
|
-
"id": 3
|
|
11541
|
+
"type": "DeviceFirmwareTargetType",
|
|
11542
|
+
"id": 1
|
|
11635
11543
|
},
|
|
11636
|
-
"
|
|
11637
|
-
"type": "
|
|
11638
|
-
"id":
|
|
11544
|
+
"status": {
|
|
11545
|
+
"type": "DeviceFirmwareUpdateTaskStatus",
|
|
11546
|
+
"id": 10
|
|
11639
11547
|
},
|
|
11640
|
-
"
|
|
11641
|
-
"
|
|
11642
|
-
"
|
|
11643
|
-
"id": 5
|
|
11548
|
+
"payload_version": {
|
|
11549
|
+
"type": "uint32",
|
|
11550
|
+
"id": 20
|
|
11644
11551
|
},
|
|
11645
|
-
"
|
|
11646
|
-
"
|
|
11647
|
-
"
|
|
11648
|
-
"id": 6
|
|
11552
|
+
"path": {
|
|
11553
|
+
"type": "string",
|
|
11554
|
+
"id": 30
|
|
11649
11555
|
}
|
|
11650
11556
|
}
|
|
11651
11557
|
},
|
|
11652
|
-
"
|
|
11653
|
-
"fields": {}
|
|
11654
|
-
},
|
|
11655
|
-
"WebAuthnAddResidentCredential": {
|
|
11558
|
+
"DeviceFirmwareUpdateRecordFields": {
|
|
11656
11559
|
"fields": {
|
|
11657
|
-
"
|
|
11658
|
-
"type": "
|
|
11659
|
-
"id":
|
|
11560
|
+
"status": {
|
|
11561
|
+
"type": "bool",
|
|
11562
|
+
"id": 10
|
|
11563
|
+
},
|
|
11564
|
+
"payload_version": {
|
|
11565
|
+
"type": "bool",
|
|
11566
|
+
"id": 20
|
|
11567
|
+
},
|
|
11568
|
+
"path": {
|
|
11569
|
+
"type": "bool",
|
|
11570
|
+
"id": 30
|
|
11660
11571
|
}
|
|
11661
11572
|
}
|
|
11662
11573
|
},
|
|
11663
|
-
"
|
|
11574
|
+
"DeviceFirmwareUpdateStatusGet": {
|
|
11664
11575
|
"fields": {
|
|
11665
|
-
"
|
|
11666
|
-
"type": "
|
|
11576
|
+
"fields": {
|
|
11577
|
+
"type": "DeviceFirmwareUpdateRecordFields",
|
|
11667
11578
|
"id": 1
|
|
11668
11579
|
}
|
|
11669
11580
|
}
|
|
11670
11581
|
},
|
|
11671
|
-
"
|
|
11582
|
+
"DeviceFirmwareUpdateStatus": {
|
|
11672
11583
|
"fields": {
|
|
11673
|
-
"
|
|
11584
|
+
"records": {
|
|
11674
11585
|
"rule": "repeated",
|
|
11675
|
-
"type": "
|
|
11586
|
+
"type": "DeviceFirmwareUpdateRecord",
|
|
11676
11587
|
"id": 1
|
|
11677
11588
|
}
|
|
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
11589
|
}
|
|
11733
11590
|
},
|
|
11734
|
-
"
|
|
11591
|
+
"DeviceFactoryAck": {
|
|
11592
|
+
"values": {
|
|
11593
|
+
"FACTORY_ACK_SUCCESS": 0,
|
|
11594
|
+
"FACTORY_ACK_FAIL": 1
|
|
11595
|
+
}
|
|
11596
|
+
},
|
|
11597
|
+
"DeviceFactoryInfoManufactureTime": {
|
|
11735
11598
|
"fields": {
|
|
11736
|
-
"
|
|
11737
|
-
"rule": "
|
|
11599
|
+
"year": {
|
|
11600
|
+
"rule": "required",
|
|
11738
11601
|
"type": "uint32",
|
|
11739
|
-
"id": 1
|
|
11740
|
-
"options": {
|
|
11741
|
-
"packed": false
|
|
11742
|
-
}
|
|
11602
|
+
"id": 1
|
|
11743
11603
|
},
|
|
11744
|
-
"
|
|
11604
|
+
"month": {
|
|
11745
11605
|
"rule": "required",
|
|
11746
|
-
"type": "
|
|
11606
|
+
"type": "uint32",
|
|
11747
11607
|
"id": 2
|
|
11748
11608
|
},
|
|
11749
|
-
"
|
|
11609
|
+
"day": {
|
|
11750
11610
|
"rule": "required",
|
|
11751
|
-
"type": "
|
|
11611
|
+
"type": "uint32",
|
|
11752
11612
|
"id": 3
|
|
11753
11613
|
},
|
|
11754
|
-
"
|
|
11755
|
-
"
|
|
11614
|
+
"hour": {
|
|
11615
|
+
"rule": "required",
|
|
11616
|
+
"type": "uint32",
|
|
11756
11617
|
"id": 4
|
|
11757
11618
|
},
|
|
11758
|
-
"
|
|
11619
|
+
"minute": {
|
|
11759
11620
|
"rule": "required",
|
|
11760
|
-
"type": "
|
|
11621
|
+
"type": "uint32",
|
|
11761
11622
|
"id": 5
|
|
11762
11623
|
},
|
|
11763
|
-
"
|
|
11624
|
+
"second": {
|
|
11764
11625
|
"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
11626
|
"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
|
-
}
|
|
11627
|
+
"id": 6
|
|
11815
11628
|
}
|
|
11816
11629
|
}
|
|
11817
11630
|
},
|
|
11818
|
-
"
|
|
11631
|
+
"DeviceFactoryInfo": {
|
|
11819
11632
|
"fields": {
|
|
11820
|
-
"
|
|
11821
|
-
"type": "
|
|
11633
|
+
"version": {
|
|
11634
|
+
"type": "uint32",
|
|
11822
11635
|
"id": 1
|
|
11823
11636
|
},
|
|
11824
|
-
"
|
|
11825
|
-
"type": "
|
|
11637
|
+
"serial_number": {
|
|
11638
|
+
"type": "string",
|
|
11826
11639
|
"id": 2
|
|
11640
|
+
},
|
|
11641
|
+
"burn_in_completed": {
|
|
11642
|
+
"type": "bool",
|
|
11643
|
+
"id": 3
|
|
11644
|
+
},
|
|
11645
|
+
"factory_test_completed": {
|
|
11646
|
+
"type": "bool",
|
|
11647
|
+
"id": 4
|
|
11648
|
+
},
|
|
11649
|
+
"manufacture_time": {
|
|
11650
|
+
"type": "DeviceFactoryInfoManufactureTime",
|
|
11651
|
+
"id": 5
|
|
11827
11652
|
}
|
|
11828
11653
|
}
|
|
11829
11654
|
},
|
|
11830
|
-
"
|
|
11831
|
-
"fields": {}
|
|
11832
|
-
},
|
|
11833
|
-
"ProtoVersion": {
|
|
11655
|
+
"DeviceFactoryInfoSet": {
|
|
11834
11656
|
"fields": {
|
|
11835
|
-
"
|
|
11657
|
+
"info": {
|
|
11836
11658
|
"rule": "required",
|
|
11837
|
-
"type": "
|
|
11659
|
+
"type": "DeviceFactoryInfo",
|
|
11838
11660
|
"id": 1
|
|
11839
11661
|
}
|
|
11840
11662
|
}
|
|
11841
11663
|
},
|
|
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
|
-
}
|
|
11664
|
+
"DeviceFactoryInfoGet": {
|
|
11665
|
+
"fields": {}
|
|
11863
11666
|
},
|
|
11864
|
-
"
|
|
11667
|
+
"DeviceFactoryPermanentLock": {
|
|
11865
11668
|
"fields": {
|
|
11866
|
-
"
|
|
11867
|
-
"
|
|
11669
|
+
"check_a": {
|
|
11670
|
+
"rule": "required",
|
|
11671
|
+
"type": "bytes",
|
|
11868
11672
|
"id": 1
|
|
11869
11673
|
},
|
|
11870
|
-
"
|
|
11871
|
-
"
|
|
11674
|
+
"check_b": {
|
|
11675
|
+
"rule": "required",
|
|
11676
|
+
"type": "bytes",
|
|
11872
11677
|
"id": 2
|
|
11873
11678
|
}
|
|
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
|
|
11902
11679
|
}
|
|
11903
11680
|
},
|
|
11904
|
-
"
|
|
11681
|
+
"DeviceFactoryTest": {
|
|
11905
11682
|
"fields": {
|
|
11906
|
-
"
|
|
11683
|
+
"burn_in_test": {
|
|
11907
11684
|
"rule": "required",
|
|
11908
|
-
"type": "
|
|
11685
|
+
"type": "bool",
|
|
11909
11686
|
"id": 1
|
|
11910
11687
|
}
|
|
11911
11688
|
}
|
|
@@ -11917,23 +11694,25 @@
|
|
|
11917
11694
|
"MINI": 2,
|
|
11918
11695
|
"TOUCH": 3,
|
|
11919
11696
|
"PRO": 5,
|
|
11920
|
-
"CLASSIC1S_PURE": 6
|
|
11697
|
+
"CLASSIC1S_PURE": 6,
|
|
11698
|
+
"PRO2": 7,
|
|
11699
|
+
"NEO": 8
|
|
11921
11700
|
}
|
|
11922
11701
|
},
|
|
11923
|
-
"
|
|
11702
|
+
"DeviceSeType": {
|
|
11924
11703
|
"values": {
|
|
11925
11704
|
"THD89": 0,
|
|
11926
11705
|
"SE608A": 1
|
|
11927
11706
|
}
|
|
11928
11707
|
},
|
|
11929
|
-
"
|
|
11708
|
+
"DeviceSEState": {
|
|
11930
11709
|
"values": {
|
|
11931
11710
|
"BOOT": 0,
|
|
11932
11711
|
"APP_FACTORY": 51,
|
|
11933
11712
|
"APP": 85
|
|
11934
11713
|
}
|
|
11935
11714
|
},
|
|
11936
|
-
"
|
|
11715
|
+
"DeviceFirmwareImageInfo": {
|
|
11937
11716
|
"fields": {
|
|
11938
11717
|
"version": {
|
|
11939
11718
|
"type": "string",
|
|
@@ -11949,15 +11728,15 @@
|
|
|
11949
11728
|
}
|
|
11950
11729
|
}
|
|
11951
11730
|
},
|
|
11952
|
-
"
|
|
11731
|
+
"DeviceHardwareInfo": {
|
|
11953
11732
|
"fields": {
|
|
11954
|
-
"
|
|
11733
|
+
"Device_type": {
|
|
11955
11734
|
"type": "DeviceType",
|
|
11956
11735
|
"id": 10
|
|
11957
11736
|
},
|
|
11958
11737
|
"serial_no": {
|
|
11959
11738
|
"type": "string",
|
|
11960
|
-
"id":
|
|
11739
|
+
"id": 20
|
|
11961
11740
|
},
|
|
11962
11741
|
"hardware_version": {
|
|
11963
11742
|
"type": "string",
|
|
@@ -11965,67 +11744,71 @@
|
|
|
11965
11744
|
},
|
|
11966
11745
|
"hardware_version_raw_adc": {
|
|
11967
11746
|
"type": "uint32",
|
|
11968
|
-
"id":
|
|
11747
|
+
"id": 110
|
|
11969
11748
|
}
|
|
11970
11749
|
}
|
|
11971
11750
|
},
|
|
11972
|
-
"
|
|
11751
|
+
"DeviceMainMcuInfo": {
|
|
11973
11752
|
"fields": {
|
|
11974
|
-
"
|
|
11975
|
-
"type": "
|
|
11753
|
+
"romloader": {
|
|
11754
|
+
"type": "DeviceFirmwareImageInfo",
|
|
11976
11755
|
"id": 10
|
|
11977
11756
|
},
|
|
11978
|
-
"
|
|
11979
|
-
"type": "
|
|
11757
|
+
"bootloader": {
|
|
11758
|
+
"type": "DeviceFirmwareImageInfo",
|
|
11980
11759
|
"id": 20
|
|
11981
11760
|
},
|
|
11982
|
-
"
|
|
11983
|
-
"type": "
|
|
11761
|
+
"application": {
|
|
11762
|
+
"type": "DeviceFirmwareImageInfo",
|
|
11984
11763
|
"id": 30
|
|
11764
|
+
},
|
|
11765
|
+
"application_data": {
|
|
11766
|
+
"type": "DeviceFirmwareImageInfo",
|
|
11767
|
+
"id": 40
|
|
11985
11768
|
}
|
|
11986
11769
|
}
|
|
11987
11770
|
},
|
|
11988
|
-
"
|
|
11771
|
+
"DeviceCoprocessorInfo": {
|
|
11989
11772
|
"fields": {
|
|
11990
|
-
"
|
|
11991
|
-
"type": "
|
|
11773
|
+
"bootloader": {
|
|
11774
|
+
"type": "DeviceFirmwareImageInfo",
|
|
11992
11775
|
"id": 20
|
|
11993
11776
|
},
|
|
11994
|
-
"
|
|
11995
|
-
"type": "
|
|
11777
|
+
"application": {
|
|
11778
|
+
"type": "DeviceFirmwareImageInfo",
|
|
11996
11779
|
"id": 30
|
|
11997
11780
|
},
|
|
11998
|
-
"
|
|
11781
|
+
"bt_adv_name": {
|
|
11999
11782
|
"type": "string",
|
|
12000
11783
|
"id": 100
|
|
12001
11784
|
},
|
|
12002
|
-
"
|
|
11785
|
+
"bt_mac": {
|
|
12003
11786
|
"type": "bytes",
|
|
12004
11787
|
"id": 110
|
|
12005
11788
|
}
|
|
12006
11789
|
}
|
|
12007
11790
|
},
|
|
12008
|
-
"
|
|
11791
|
+
"DeviceSEInfo": {
|
|
12009
11792
|
"fields": {
|
|
12010
|
-
"
|
|
12011
|
-
"type": "
|
|
11793
|
+
"bootloader": {
|
|
11794
|
+
"type": "DeviceFirmwareImageInfo",
|
|
12012
11795
|
"id": 20
|
|
12013
11796
|
},
|
|
12014
|
-
"
|
|
12015
|
-
"type": "
|
|
11797
|
+
"application": {
|
|
11798
|
+
"type": "DeviceFirmwareImageInfo",
|
|
12016
11799
|
"id": 30
|
|
12017
11800
|
},
|
|
12018
11801
|
"type": {
|
|
12019
|
-
"type": "
|
|
11802
|
+
"type": "DeviceSeType",
|
|
12020
11803
|
"id": 100
|
|
12021
11804
|
},
|
|
12022
11805
|
"state": {
|
|
12023
|
-
"type": "
|
|
11806
|
+
"type": "DeviceSEState",
|
|
12024
11807
|
"id": 110
|
|
12025
11808
|
}
|
|
12026
11809
|
}
|
|
12027
11810
|
},
|
|
12028
|
-
"
|
|
11811
|
+
"DeviceInfoTargets": {
|
|
12029
11812
|
"fields": {
|
|
12030
11813
|
"hw": {
|
|
12031
11814
|
"type": "bool",
|
|
@@ -12035,7 +11818,7 @@
|
|
|
12035
11818
|
"type": "bool",
|
|
12036
11819
|
"id": 200
|
|
12037
11820
|
},
|
|
12038
|
-
"
|
|
11821
|
+
"coprocessor": {
|
|
12039
11822
|
"type": "bool",
|
|
12040
11823
|
"id": 300
|
|
12041
11824
|
},
|
|
@@ -12057,66 +11840,38 @@
|
|
|
12057
11840
|
},
|
|
12058
11841
|
"status": {
|
|
12059
11842
|
"type": "bool",
|
|
12060
|
-
"id": 10000
|
|
12061
|
-
}
|
|
12062
|
-
}
|
|
12063
|
-
},
|
|
12064
|
-
"DevInfoTypes": {
|
|
12065
|
-
"fields": {
|
|
12066
|
-
"version": {
|
|
12067
|
-
"type": "bool",
|
|
12068
|
-
"id": 10
|
|
12069
|
-
},
|
|
12070
|
-
"build_id": {
|
|
12071
|
-
"type": "bool",
|
|
12072
|
-
"id": 20
|
|
12073
|
-
},
|
|
12074
|
-
"hash": {
|
|
12075
|
-
"type": "bool",
|
|
12076
|
-
"id": 30
|
|
12077
|
-
},
|
|
12078
|
-
"specific": {
|
|
12079
|
-
"type": "bool",
|
|
12080
|
-
"id": 40
|
|
11843
|
+
"id": 10000
|
|
12081
11844
|
}
|
|
12082
11845
|
}
|
|
12083
11846
|
},
|
|
12084
|
-
"
|
|
11847
|
+
"DeviceInfoTypes": {
|
|
12085
11848
|
"fields": {
|
|
12086
|
-
"
|
|
12087
|
-
"type": "string",
|
|
12088
|
-
"id": 100
|
|
12089
|
-
},
|
|
12090
|
-
"bt_enable": {
|
|
11849
|
+
"version": {
|
|
12091
11850
|
"type": "bool",
|
|
12092
|
-
"id":
|
|
11851
|
+
"id": 10
|
|
12093
11852
|
},
|
|
12094
|
-
"
|
|
11853
|
+
"build_id": {
|
|
12095
11854
|
"type": "bool",
|
|
12096
|
-
"id":
|
|
11855
|
+
"id": 20
|
|
12097
11856
|
},
|
|
12098
|
-
"
|
|
11857
|
+
"hash": {
|
|
12099
11858
|
"type": "bool",
|
|
12100
|
-
"id":
|
|
11859
|
+
"id": 30
|
|
12101
11860
|
},
|
|
12102
|
-
"
|
|
11861
|
+
"specific": {
|
|
12103
11862
|
"type": "bool",
|
|
12104
|
-
"id":
|
|
12105
|
-
},
|
|
12106
|
-
"label": {
|
|
12107
|
-
"type": "string",
|
|
12108
|
-
"id": 300
|
|
11863
|
+
"id": 40
|
|
12109
11864
|
}
|
|
12110
11865
|
}
|
|
12111
11866
|
},
|
|
12112
|
-
"
|
|
11867
|
+
"DeviceInfoGet": {
|
|
12113
11868
|
"fields": {
|
|
12114
11869
|
"targets": {
|
|
12115
|
-
"type": "
|
|
11870
|
+
"type": "DeviceInfoTargets",
|
|
12116
11871
|
"id": 1
|
|
12117
11872
|
},
|
|
12118
11873
|
"types": {
|
|
12119
|
-
"type": "
|
|
11874
|
+
"type": "DeviceInfoTypes",
|
|
12120
11875
|
"id": 2
|
|
12121
11876
|
}
|
|
12122
11877
|
}
|
|
@@ -12129,169 +11884,151 @@
|
|
|
12129
11884
|
"id": 1
|
|
12130
11885
|
},
|
|
12131
11886
|
"hw": {
|
|
12132
|
-
"type": "
|
|
11887
|
+
"type": "DeviceHardwareInfo",
|
|
12133
11888
|
"id": 100
|
|
12134
11889
|
},
|
|
12135
11890
|
"fw": {
|
|
12136
|
-
"type": "
|
|
11891
|
+
"type": "DeviceMainMcuInfo",
|
|
12137
11892
|
"id": 200
|
|
12138
11893
|
},
|
|
12139
|
-
"
|
|
12140
|
-
"type": "
|
|
11894
|
+
"coprocessor": {
|
|
11895
|
+
"type": "DeviceCoprocessorInfo",
|
|
12141
11896
|
"id": 300
|
|
12142
11897
|
},
|
|
12143
11898
|
"se1": {
|
|
12144
|
-
"type": "
|
|
11899
|
+
"type": "DeviceSEInfo",
|
|
12145
11900
|
"id": 400
|
|
12146
11901
|
},
|
|
12147
11902
|
"se2": {
|
|
12148
|
-
"type": "
|
|
11903
|
+
"type": "DeviceSEInfo",
|
|
12149
11904
|
"id": 410
|
|
12150
11905
|
},
|
|
12151
11906
|
"se3": {
|
|
12152
|
-
"type": "
|
|
11907
|
+
"type": "DeviceSEInfo",
|
|
12153
11908
|
"id": 420
|
|
12154
11909
|
},
|
|
12155
11910
|
"se4": {
|
|
12156
|
-
"type": "
|
|
11911
|
+
"type": "DeviceSEInfo",
|
|
12157
11912
|
"id": 430
|
|
12158
11913
|
},
|
|
12159
11914
|
"status": {
|
|
12160
|
-
"type": "
|
|
11915
|
+
"type": "DeviceStatus",
|
|
12161
11916
|
"id": 10000
|
|
12162
11917
|
}
|
|
12163
11918
|
}
|
|
12164
11919
|
},
|
|
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": {
|
|
11920
|
+
"DeviceSessionGet": {
|
|
12195
11921
|
"fields": {
|
|
12196
|
-
"
|
|
12197
|
-
"
|
|
12198
|
-
"type": "DevFirmwareTarget",
|
|
11922
|
+
"session_id": {
|
|
11923
|
+
"type": "bytes",
|
|
12199
11924
|
"id": 1
|
|
12200
11925
|
}
|
|
12201
11926
|
}
|
|
12202
11927
|
},
|
|
12203
|
-
"
|
|
11928
|
+
"DeviceSession": {
|
|
12204
11929
|
"fields": {
|
|
12205
|
-
"
|
|
12206
|
-
"
|
|
12207
|
-
"type": "DevFirmwareTargetType",
|
|
11930
|
+
"session_id": {
|
|
11931
|
+
"type": "bytes",
|
|
12208
11932
|
"id": 1
|
|
12209
11933
|
},
|
|
12210
|
-
"
|
|
12211
|
-
"rule": "required",
|
|
12212
|
-
"type": "uint32",
|
|
12213
|
-
"id": 2
|
|
12214
|
-
},
|
|
12215
|
-
"stage": {
|
|
11934
|
+
"btc_test_address": {
|
|
12216
11935
|
"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
11936
|
"id": 2
|
|
12232
11937
|
}
|
|
12233
11938
|
}
|
|
12234
11939
|
},
|
|
12235
|
-
"
|
|
11940
|
+
"DeviceSessionAskPin": {
|
|
12236
11941
|
"fields": {}
|
|
12237
11942
|
},
|
|
12238
|
-
"
|
|
11943
|
+
"DeviceSessionPinResult": {
|
|
12239
11944
|
"fields": {
|
|
12240
|
-
"
|
|
12241
|
-
"
|
|
12242
|
-
"type": "DevFirmwareUpdateStatusEntry",
|
|
11945
|
+
"unlocked": {
|
|
11946
|
+
"type": "bool",
|
|
12243
11947
|
"id": 1
|
|
11948
|
+
},
|
|
11949
|
+
"unlocked_attach_pin": {
|
|
11950
|
+
"type": "bool",
|
|
11951
|
+
"id": 2
|
|
11952
|
+
},
|
|
11953
|
+
"passphrase_protection": {
|
|
11954
|
+
"type": "bool",
|
|
11955
|
+
"id": 3
|
|
12244
11956
|
}
|
|
12245
11957
|
}
|
|
12246
11958
|
},
|
|
12247
|
-
"
|
|
11959
|
+
"DeviceStatus": {
|
|
12248
11960
|
"fields": {
|
|
12249
|
-
"
|
|
11961
|
+
"device_id": {
|
|
12250
11962
|
"type": "string",
|
|
12251
11963
|
"id": 1
|
|
12252
11964
|
},
|
|
12253
|
-
"
|
|
12254
|
-
"type": "
|
|
11965
|
+
"unlocked": {
|
|
11966
|
+
"type": "bool",
|
|
12255
11967
|
"id": 2
|
|
12256
11968
|
},
|
|
12257
|
-
"
|
|
12258
|
-
"type": "
|
|
11969
|
+
"init_states": {
|
|
11970
|
+
"type": "bool",
|
|
12259
11971
|
"id": 3
|
|
11972
|
+
},
|
|
11973
|
+
"backup_required": {
|
|
11974
|
+
"type": "bool",
|
|
11975
|
+
"id": 4
|
|
11976
|
+
},
|
|
11977
|
+
"passphrase_enabled": {
|
|
11978
|
+
"type": "bool",
|
|
11979
|
+
"id": 10
|
|
11980
|
+
},
|
|
11981
|
+
"attach_to_pin_enabled": {
|
|
11982
|
+
"type": "bool",
|
|
11983
|
+
"id": 11
|
|
11984
|
+
},
|
|
11985
|
+
"unlocked_by_attach_to_pin": {
|
|
11986
|
+
"type": "bool",
|
|
11987
|
+
"id": 12
|
|
12260
11988
|
}
|
|
12261
11989
|
}
|
|
12262
11990
|
},
|
|
12263
|
-
"
|
|
11991
|
+
"DeviceStatusGet": {
|
|
11992
|
+
"fields": {}
|
|
11993
|
+
},
|
|
11994
|
+
"DevOnboardingStage": {
|
|
11995
|
+
"values": {
|
|
11996
|
+
"DEV_ONBOARDING_STAGE_UNKNOWN": 0,
|
|
11997
|
+
"DEV_ONBOARDING_STAGE_SAFETY_CHECK": 1,
|
|
11998
|
+
"DEV_ONBOARDING_STAGE_PERSONALIZATION": 2,
|
|
11999
|
+
"DEV_ONBOARDING_STAGE_SELECT_SETUP_METHOD": 3,
|
|
12000
|
+
"DEV_ONBOARDING_STAGE_NEW_DEVICE": 4,
|
|
12001
|
+
"DEV_ONBOARDING_STAGE_SELECT_RESTORE_METHOD": 5,
|
|
12002
|
+
"DEV_ONBOARDING_STAGE_RESTORE_MNEMONIC": 6,
|
|
12003
|
+
"DEV_ONBOARDING_STAGE_RESTORE_SEEDCARD": 7,
|
|
12004
|
+
"DEV_ONBOARDING_STAGE_WALLET_READY": 8,
|
|
12005
|
+
"DEV_ONBOARDING_STAGE_SEEDCARD_BACKUP_PROMPT": 9,
|
|
12006
|
+
"DEV_ONBOARDING_STAGE_SELECT_SEEDCARD_BACKUP_METHOD": 10,
|
|
12007
|
+
"DEV_ONBOARDING_STAGE_SEEDCARD_BACKUP": 11,
|
|
12008
|
+
"DEV_ONBOARDING_STAGE_DONE": 12
|
|
12009
|
+
}
|
|
12010
|
+
},
|
|
12011
|
+
"DevGetOnboardingStatus": {
|
|
12264
12012
|
"fields": {}
|
|
12265
12013
|
},
|
|
12266
|
-
"
|
|
12014
|
+
"DevOnboardingStatus": {
|
|
12267
12015
|
"fields": {
|
|
12268
|
-
"
|
|
12269
|
-
"
|
|
12016
|
+
"stage": {
|
|
12017
|
+
"rule": "required",
|
|
12018
|
+
"type": "DevOnboardingStage",
|
|
12270
12019
|
"id": 1
|
|
12271
12020
|
},
|
|
12272
|
-
"
|
|
12273
|
-
"type": "
|
|
12021
|
+
"status_code": {
|
|
12022
|
+
"type": "uint32",
|
|
12274
12023
|
"id": 2
|
|
12275
12024
|
},
|
|
12276
|
-
"
|
|
12277
|
-
"type": "
|
|
12025
|
+
"detail_code": {
|
|
12026
|
+
"type": "uint32",
|
|
12278
12027
|
"id": 3
|
|
12279
|
-
},
|
|
12280
|
-
"nft_voucher": {
|
|
12281
|
-
"type": "bytes",
|
|
12282
|
-
"id": 4
|
|
12283
|
-
},
|
|
12284
|
-
"cpu_info": {
|
|
12285
|
-
"type": "string",
|
|
12286
|
-
"id": 5
|
|
12287
|
-
},
|
|
12288
|
-
"pre_firmware": {
|
|
12289
|
-
"type": "string",
|
|
12290
|
-
"id": 6
|
|
12291
12028
|
}
|
|
12292
12029
|
}
|
|
12293
12030
|
},
|
|
12294
|
-
"
|
|
12031
|
+
"FilesystemPermissionFix": {
|
|
12295
12032
|
"fields": {}
|
|
12296
12033
|
},
|
|
12297
12034
|
"FilesystemPathInfo": {
|
|
@@ -12504,77 +12241,22 @@
|
|
|
12504
12241
|
}
|
|
12505
12242
|
},
|
|
12506
12243
|
"FilesystemFormat": {
|
|
12507
|
-
"fields": {}
|
|
12508
|
-
},
|
|
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
12244
|
"fields": {
|
|
12523
|
-
"
|
|
12245
|
+
"data": {
|
|
12524
12246
|
"rule": "required",
|
|
12525
|
-
"type": "
|
|
12247
|
+
"type": "bool",
|
|
12526
12248
|
"id": 1
|
|
12527
12249
|
},
|
|
12528
|
-
"
|
|
12529
|
-
"
|
|
12250
|
+
"user": {
|
|
12251
|
+
"rule": "required",
|
|
12252
|
+
"type": "bool",
|
|
12530
12253
|
"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
12254
|
}
|
|
12576
12255
|
}
|
|
12577
12256
|
},
|
|
12257
|
+
"PortfolioUpdate": {
|
|
12258
|
+
"fields": {}
|
|
12259
|
+
},
|
|
12578
12260
|
"google": {
|
|
12579
12261
|
"nested": {
|
|
12580
12262
|
"protobuf": {
|
|
@@ -13254,116 +12936,6 @@
|
|
|
13254
12936
|
}
|
|
13255
12937
|
}
|
|
13256
12938
|
}
|
|
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
12939
|
}
|
|
13368
12940
|
}
|
|
13369
12941
|
}
|