@onekeyfe/hd-core 1.2.2-alpha.1 → 1.2.2-alpha.2
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/__tests__/open-wallet-session.test.ts +21 -40
- package/__tests__/protocol-v2.test.ts +10 -24
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1504 -1395
- package/dist/protocols/protocol-v2/walletSession.d.ts.map +1 -1
- package/dist/utils/patch.d.ts +1 -1
- package/dist/utils/patch.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/data/messages/messages-protocol-v2.json +1468 -1369
- package/src/protocols/protocol-v2/walletSession.ts +25 -30
package/dist/index.js
CHANGED
|
@@ -27030,716 +27030,219 @@ var MessagesLegacyV1JSON = {
|
|
|
27030
27030
|
};
|
|
27031
27031
|
|
|
27032
27032
|
var nested = {
|
|
27033
|
-
|
|
27034
|
-
|
|
27035
|
-
|
|
27036
|
-
|
|
27033
|
+
AlephiumGetAddress: {
|
|
27034
|
+
fields: {
|
|
27035
|
+
address_n: {
|
|
27036
|
+
rule: "repeated",
|
|
27037
|
+
type: "uint32",
|
|
27038
|
+
id: 1,
|
|
27039
|
+
options: {
|
|
27040
|
+
packed: false
|
|
27041
|
+
}
|
|
27042
|
+
},
|
|
27043
|
+
show_display: {
|
|
27044
|
+
type: "bool",
|
|
27045
|
+
id: 2
|
|
27046
|
+
},
|
|
27047
|
+
include_public_key: {
|
|
27048
|
+
type: "bool",
|
|
27049
|
+
id: 3
|
|
27050
|
+
},
|
|
27051
|
+
target_group: {
|
|
27052
|
+
type: "uint32",
|
|
27053
|
+
id: 4
|
|
27054
|
+
}
|
|
27055
|
+
}
|
|
27037
27056
|
},
|
|
27038
|
-
|
|
27039
|
-
|
|
27040
|
-
|
|
27041
|
-
|
|
27057
|
+
AlephiumAddress: {
|
|
27058
|
+
fields: {
|
|
27059
|
+
address: {
|
|
27060
|
+
rule: "required",
|
|
27061
|
+
type: "string",
|
|
27062
|
+
id: 1
|
|
27063
|
+
},
|
|
27064
|
+
public_key: {
|
|
27065
|
+
type: "bytes",
|
|
27066
|
+
id: 2
|
|
27067
|
+
},
|
|
27068
|
+
derived_path: {
|
|
27069
|
+
rule: "repeated",
|
|
27070
|
+
type: "uint32",
|
|
27071
|
+
id: 3,
|
|
27072
|
+
options: {
|
|
27073
|
+
packed: false
|
|
27074
|
+
}
|
|
27075
|
+
}
|
|
27076
|
+
}
|
|
27042
27077
|
},
|
|
27043
|
-
|
|
27044
|
-
|
|
27045
|
-
|
|
27046
|
-
|
|
27078
|
+
AlephiumSignTx: {
|
|
27079
|
+
fields: {
|
|
27080
|
+
address_n: {
|
|
27081
|
+
rule: "repeated",
|
|
27082
|
+
type: "uint32",
|
|
27083
|
+
id: 1,
|
|
27084
|
+
options: {
|
|
27085
|
+
packed: false
|
|
27086
|
+
}
|
|
27087
|
+
},
|
|
27088
|
+
data_initial_chunk: {
|
|
27089
|
+
rule: "required",
|
|
27090
|
+
type: "bytes",
|
|
27091
|
+
id: 2
|
|
27092
|
+
},
|
|
27093
|
+
data_length: {
|
|
27094
|
+
type: "uint32",
|
|
27095
|
+
id: 3
|
|
27096
|
+
}
|
|
27097
|
+
}
|
|
27047
27098
|
},
|
|
27048
|
-
|
|
27049
|
-
|
|
27050
|
-
|
|
27051
|
-
|
|
27099
|
+
AlephiumSignedTx: {
|
|
27100
|
+
fields: {
|
|
27101
|
+
signature: {
|
|
27102
|
+
rule: "required",
|
|
27103
|
+
type: "bytes",
|
|
27104
|
+
id: 1
|
|
27105
|
+
},
|
|
27106
|
+
address: {
|
|
27107
|
+
rule: "required",
|
|
27108
|
+
type: "string",
|
|
27109
|
+
id: 2
|
|
27110
|
+
}
|
|
27111
|
+
}
|
|
27052
27112
|
},
|
|
27053
|
-
|
|
27054
|
-
|
|
27055
|
-
|
|
27056
|
-
|
|
27113
|
+
AlephiumTxRequest: {
|
|
27114
|
+
fields: {
|
|
27115
|
+
data_length: {
|
|
27116
|
+
type: "uint32",
|
|
27117
|
+
id: 1
|
|
27118
|
+
},
|
|
27119
|
+
public_key: {
|
|
27120
|
+
type: "bytes",
|
|
27121
|
+
id: 2
|
|
27122
|
+
},
|
|
27123
|
+
signature: {
|
|
27124
|
+
type: "bytes",
|
|
27125
|
+
id: 3
|
|
27126
|
+
}
|
|
27127
|
+
}
|
|
27057
27128
|
},
|
|
27058
|
-
|
|
27059
|
-
|
|
27060
|
-
|
|
27061
|
-
|
|
27129
|
+
AlephiumTxAck: {
|
|
27130
|
+
fields: {
|
|
27131
|
+
data_chunk: {
|
|
27132
|
+
rule: "required",
|
|
27133
|
+
type: "bytes",
|
|
27134
|
+
id: 1
|
|
27135
|
+
}
|
|
27136
|
+
}
|
|
27062
27137
|
},
|
|
27063
|
-
|
|
27064
|
-
|
|
27065
|
-
|
|
27066
|
-
|
|
27138
|
+
AlephiumBytecodeRequest: {
|
|
27139
|
+
fields: {
|
|
27140
|
+
data_length: {
|
|
27141
|
+
type: "uint32",
|
|
27142
|
+
id: 1
|
|
27143
|
+
},
|
|
27144
|
+
public_key: {
|
|
27145
|
+
type: "bytes",
|
|
27146
|
+
id: 2
|
|
27147
|
+
},
|
|
27148
|
+
signature: {
|
|
27149
|
+
type: "bytes",
|
|
27150
|
+
id: 3
|
|
27151
|
+
}
|
|
27152
|
+
}
|
|
27067
27153
|
},
|
|
27068
|
-
|
|
27069
|
-
|
|
27070
|
-
|
|
27071
|
-
|
|
27154
|
+
AlephiumBytecodeAck: {
|
|
27155
|
+
fields: {
|
|
27156
|
+
bytecode_data: {
|
|
27157
|
+
rule: "required",
|
|
27158
|
+
type: "bytes",
|
|
27159
|
+
id: 1
|
|
27160
|
+
}
|
|
27161
|
+
}
|
|
27072
27162
|
},
|
|
27073
|
-
|
|
27074
|
-
|
|
27075
|
-
|
|
27076
|
-
|
|
27163
|
+
AlephiumSignMessage: {
|
|
27164
|
+
fields: {
|
|
27165
|
+
address_n: {
|
|
27166
|
+
rule: "repeated",
|
|
27167
|
+
type: "uint32",
|
|
27168
|
+
id: 1,
|
|
27169
|
+
options: {
|
|
27170
|
+
packed: false
|
|
27171
|
+
}
|
|
27172
|
+
},
|
|
27173
|
+
message: {
|
|
27174
|
+
type: "bytes",
|
|
27175
|
+
id: 2
|
|
27176
|
+
},
|
|
27177
|
+
message_type: {
|
|
27178
|
+
type: "bytes",
|
|
27179
|
+
id: 3
|
|
27180
|
+
}
|
|
27181
|
+
}
|
|
27077
27182
|
},
|
|
27078
|
-
|
|
27079
|
-
|
|
27080
|
-
|
|
27081
|
-
|
|
27183
|
+
AlephiumMessageSignature: {
|
|
27184
|
+
fields: {
|
|
27185
|
+
signature: {
|
|
27186
|
+
type: "bytes",
|
|
27187
|
+
id: 1
|
|
27188
|
+
},
|
|
27189
|
+
address: {
|
|
27190
|
+
type: "string",
|
|
27191
|
+
id: 2
|
|
27192
|
+
}
|
|
27193
|
+
}
|
|
27082
27194
|
},
|
|
27083
|
-
|
|
27084
|
-
|
|
27085
|
-
|
|
27086
|
-
|
|
27195
|
+
AlgorandGetAddress: {
|
|
27196
|
+
fields: {
|
|
27197
|
+
address_n: {
|
|
27198
|
+
rule: "repeated",
|
|
27199
|
+
type: "uint32",
|
|
27200
|
+
id: 1,
|
|
27201
|
+
options: {
|
|
27202
|
+
packed: false
|
|
27203
|
+
}
|
|
27204
|
+
},
|
|
27205
|
+
show_display: {
|
|
27206
|
+
type: "bool",
|
|
27207
|
+
id: 3
|
|
27208
|
+
}
|
|
27209
|
+
}
|
|
27087
27210
|
},
|
|
27088
|
-
|
|
27089
|
-
|
|
27090
|
-
|
|
27091
|
-
|
|
27211
|
+
AlgorandAddress: {
|
|
27212
|
+
fields: {
|
|
27213
|
+
address: {
|
|
27214
|
+
type: "string",
|
|
27215
|
+
id: 1
|
|
27216
|
+
}
|
|
27217
|
+
}
|
|
27092
27218
|
},
|
|
27093
|
-
|
|
27094
|
-
|
|
27095
|
-
|
|
27096
|
-
|
|
27219
|
+
AlgorandSignTx: {
|
|
27220
|
+
fields: {
|
|
27221
|
+
address_n: {
|
|
27222
|
+
rule: "repeated",
|
|
27223
|
+
type: "uint32",
|
|
27224
|
+
id: 1,
|
|
27225
|
+
options: {
|
|
27226
|
+
packed: false
|
|
27227
|
+
}
|
|
27228
|
+
},
|
|
27229
|
+
raw_tx: {
|
|
27230
|
+
rule: "required",
|
|
27231
|
+
type: "bytes",
|
|
27232
|
+
id: 2
|
|
27233
|
+
}
|
|
27234
|
+
}
|
|
27097
27235
|
},
|
|
27098
|
-
|
|
27099
|
-
|
|
27100
|
-
|
|
27101
|
-
|
|
27102
|
-
|
|
27103
|
-
|
|
27104
|
-
|
|
27105
|
-
|
|
27106
|
-
|
|
27107
|
-
|
|
27108
|
-
MessageType_LoadDevice: 13,
|
|
27109
|
-
MessageType_ResetDevice: 14,
|
|
27110
|
-
MessageType_SetBusy: 16,
|
|
27111
|
-
MessageType_Features: 17,
|
|
27112
|
-
MessageType_Cancel: 20,
|
|
27113
|
-
MessageType_LockDevice: 24,
|
|
27114
|
-
MessageType_ApplySettings: 25,
|
|
27115
|
-
MessageType_ButtonRequest: 26,
|
|
27116
|
-
MessageType_ButtonAck: 27,
|
|
27117
|
-
MessageType_ApplyFlags: 28,
|
|
27118
|
-
MessageType_GetNonce: 31,
|
|
27119
|
-
MessageType_Nonce: 33,
|
|
27120
|
-
MessageType_BackupDevice: 34,
|
|
27121
|
-
MessageType_EntropyRequest: 35,
|
|
27122
|
-
MessageType_EntropyAck: 36,
|
|
27123
|
-
MessageType_PassphraseRequest: 41,
|
|
27124
|
-
MessageType_PassphraseAck: 42,
|
|
27125
|
-
MessageType_RecoveryDevice: 45,
|
|
27126
|
-
MessageType_WordRequest: 46,
|
|
27127
|
-
MessageType_WordAck: 47,
|
|
27128
|
-
MessageType_GetFeatures: 55,
|
|
27129
|
-
MessageType_SdProtect: 79,
|
|
27130
|
-
MessageType_ChangeWipeCode: 82,
|
|
27131
|
-
MessageType_DoPreauthorized: 84,
|
|
27132
|
-
MessageType_PreauthorizedRequest: 85,
|
|
27133
|
-
MessageType_CancelAuthorization: 86,
|
|
27134
|
-
MessageType_GetFirmwareHash: 88,
|
|
27135
|
-
MessageType_FirmwareHash: 89,
|
|
27136
|
-
MessageType_UnlockPath: 93,
|
|
27137
|
-
MessageType_UnlockedPathRequest: 94,
|
|
27138
|
-
MessageType_SetU2FCounter: 63,
|
|
27139
|
-
MessageType_GetNextU2FCounter: 80,
|
|
27140
|
-
MessageType_NextU2FCounter: 81,
|
|
27141
|
-
MessageType_Deprecated_PassphraseStateRequest: 77,
|
|
27142
|
-
MessageType_Deprecated_PassphraseStateAck: 78,
|
|
27143
|
-
MessageType_GetPublicKey: 11,
|
|
27144
|
-
MessageType_PublicKey: 12,
|
|
27145
|
-
MessageType_SignTx: 15,
|
|
27146
|
-
MessageType_TxRequest: 21,
|
|
27147
|
-
MessageType_TxAck: 22,
|
|
27148
|
-
MessageType_GetAddress: 29,
|
|
27149
|
-
MessageType_Address: 30,
|
|
27150
|
-
MessageType_TxAckPaymentRequest: 37,
|
|
27151
|
-
MessageType_SignMessage: 38,
|
|
27152
|
-
MessageType_VerifyMessage: 39,
|
|
27153
|
-
MessageType_MessageSignature: 40,
|
|
27154
|
-
MessageType_GetOwnershipId: 43,
|
|
27155
|
-
MessageType_OwnershipId: 44,
|
|
27156
|
-
MessageType_GetOwnershipProof: 49,
|
|
27157
|
-
MessageType_OwnershipProof: 50,
|
|
27158
|
-
MessageType_AuthorizeCoinJoin: 51,
|
|
27159
|
-
MessageType_SignPsbt: 10052,
|
|
27160
|
-
MessageType_SignedPsbt: 10053,
|
|
27161
|
-
MessageType_CipherKeyValue: 23,
|
|
27162
|
-
MessageType_CipheredKeyValue: 48,
|
|
27163
|
-
MessageType_SignIdentity: 53,
|
|
27164
|
-
MessageType_SignedIdentity: 54,
|
|
27165
|
-
MessageType_GetECDHSessionKey: 61,
|
|
27166
|
-
MessageType_ECDHSessionKey: 62,
|
|
27167
|
-
MessageType_CosiCommit: 71,
|
|
27168
|
-
MessageType_CosiCommitment: 72,
|
|
27169
|
-
MessageType_CosiSign: 73,
|
|
27170
|
-
MessageType_CosiSignature: 74,
|
|
27171
|
-
MessageType_BatchGetPublickeys: 10016,
|
|
27172
|
-
MessageType_EcdsaPublicKeys: 10017,
|
|
27173
|
-
MessageType_EthereumGetPublicKey: 450,
|
|
27174
|
-
MessageType_EthereumPublicKey: 451,
|
|
27175
|
-
MessageType_EthereumGetAddress: 56,
|
|
27176
|
-
MessageType_EthereumAddress: 57,
|
|
27177
|
-
MessageType_EthereumSignTx: 58,
|
|
27178
|
-
MessageType_EthereumSignTxEIP1559: 452,
|
|
27179
|
-
MessageType_EthereumTxRequest: 59,
|
|
27180
|
-
MessageType_EthereumTxAck: 60,
|
|
27181
|
-
MessageType_EthereumSignMessage: 64,
|
|
27182
|
-
MessageType_EthereumVerifyMessage: 65,
|
|
27183
|
-
MessageType_EthereumMessageSignature: 66,
|
|
27184
|
-
MessageType_EthereumSignTypedData: 464,
|
|
27185
|
-
MessageType_EthereumTypedDataStructRequest: 465,
|
|
27186
|
-
MessageType_EthereumTypedDataStructAck: 466,
|
|
27187
|
-
MessageType_EthereumTypedDataValueRequest: 467,
|
|
27188
|
-
MessageType_EthereumTypedDataValueAck: 468,
|
|
27189
|
-
MessageType_EthereumTypedDataSignature: 469,
|
|
27190
|
-
MessageType_EthereumSignTypedHash: 470,
|
|
27191
|
-
MessageType_EthereumGetPublicKeyOneKey: 20100,
|
|
27192
|
-
MessageType_EthereumPublicKeyOneKey: 20101,
|
|
27193
|
-
MessageType_EthereumGetAddressOneKey: 20102,
|
|
27194
|
-
MessageType_EthereumAddressOneKey: 20103,
|
|
27195
|
-
MessageType_EthereumSignTxOneKey: 20104,
|
|
27196
|
-
MessageType_EthereumSignTxEIP1559OneKey: 20105,
|
|
27197
|
-
MessageType_EthereumTxRequestOneKey: 20106,
|
|
27198
|
-
MessageType_EthereumTxAckOneKey: 20107,
|
|
27199
|
-
MessageType_EthereumSignMessageOneKey: 20108,
|
|
27200
|
-
MessageType_EthereumVerifyMessageOneKey: 20109,
|
|
27201
|
-
MessageType_EthereumMessageSignatureOneKey: 20110,
|
|
27202
|
-
MessageType_EthereumSignTypedDataOneKey: 20111,
|
|
27203
|
-
MessageType_EthereumTypedDataStructRequestOneKey: 20112,
|
|
27204
|
-
MessageType_EthereumTypedDataStructAckOneKey: 20113,
|
|
27205
|
-
MessageType_EthereumTypedDataValueRequestOneKey: 20114,
|
|
27206
|
-
MessageType_EthereumTypedDataValueAckOneKey: 20115,
|
|
27207
|
-
MessageType_EthereumTypedDataSignatureOneKey: 20116,
|
|
27208
|
-
MessageType_EthereumSignTypedHashOneKey: 20117,
|
|
27209
|
-
MessageType_EthereumGnosisSafeTxAck: 20118,
|
|
27210
|
-
MessageType_EthereumGnosisSafeTxRequest: 20119,
|
|
27211
|
-
MessageType_EthereumSignTxEIP7702OneKey: 20120,
|
|
27212
|
-
MessageType_EthereumSignTypedDataQR: 20121,
|
|
27213
|
-
MessageType_NEMGetAddress: 67,
|
|
27214
|
-
MessageType_NEMAddress: 68,
|
|
27215
|
-
MessageType_NEMSignTx: 69,
|
|
27216
|
-
MessageType_NEMSignedTx: 70,
|
|
27217
|
-
MessageType_NEMDecryptMessage: 75,
|
|
27218
|
-
MessageType_NEMDecryptedMessage: 76,
|
|
27219
|
-
MessageType_TezosGetAddress: 150,
|
|
27220
|
-
MessageType_TezosAddress: 151,
|
|
27221
|
-
MessageType_TezosSignTx: 152,
|
|
27222
|
-
MessageType_TezosSignedTx: 153,
|
|
27223
|
-
MessageType_TezosGetPublicKey: 154,
|
|
27224
|
-
MessageType_TezosPublicKey: 155,
|
|
27225
|
-
MessageType_StellarSignTx: 202,
|
|
27226
|
-
MessageType_StellarTxOpRequest: 203,
|
|
27227
|
-
MessageType_StellarGetAddress: 207,
|
|
27228
|
-
MessageType_StellarAddress: 208,
|
|
27229
|
-
MessageType_StellarCreateAccountOp: 210,
|
|
27230
|
-
MessageType_StellarPaymentOp: 211,
|
|
27231
|
-
MessageType_StellarPathPaymentStrictReceiveOp: 212,
|
|
27232
|
-
MessageType_StellarManageSellOfferOp: 213,
|
|
27233
|
-
MessageType_StellarCreatePassiveSellOfferOp: 214,
|
|
27234
|
-
MessageType_StellarSetOptionsOp: 215,
|
|
27235
|
-
MessageType_StellarChangeTrustOp: 216,
|
|
27236
|
-
MessageType_StellarAllowTrustOp: 217,
|
|
27237
|
-
MessageType_StellarAccountMergeOp: 218,
|
|
27238
|
-
MessageType_StellarManageDataOp: 220,
|
|
27239
|
-
MessageType_StellarBumpSequenceOp: 221,
|
|
27240
|
-
MessageType_StellarManageBuyOfferOp: 222,
|
|
27241
|
-
MessageType_StellarPathPaymentStrictSendOp: 223,
|
|
27242
|
-
MessageType_StellarSignedTx: 230,
|
|
27243
|
-
MessageType_CardanoGetPublicKey: 305,
|
|
27244
|
-
MessageType_CardanoPublicKey: 306,
|
|
27245
|
-
MessageType_CardanoGetAddress: 307,
|
|
27246
|
-
MessageType_CardanoAddress: 308,
|
|
27247
|
-
MessageType_CardanoTxItemAck: 313,
|
|
27248
|
-
MessageType_CardanoTxAuxiliaryDataSupplement: 314,
|
|
27249
|
-
MessageType_CardanoTxWitnessRequest: 315,
|
|
27250
|
-
MessageType_CardanoTxWitnessResponse: 316,
|
|
27251
|
-
MessageType_CardanoTxHostAck: 317,
|
|
27252
|
-
MessageType_CardanoTxBodyHash: 318,
|
|
27253
|
-
MessageType_CardanoSignTxFinished: 319,
|
|
27254
|
-
MessageType_CardanoSignTxInit: 320,
|
|
27255
|
-
MessageType_CardanoTxInput: 321,
|
|
27256
|
-
MessageType_CardanoTxOutput: 322,
|
|
27257
|
-
MessageType_CardanoAssetGroup: 323,
|
|
27258
|
-
MessageType_CardanoToken: 324,
|
|
27259
|
-
MessageType_CardanoTxCertificate: 325,
|
|
27260
|
-
MessageType_CardanoTxWithdrawal: 326,
|
|
27261
|
-
MessageType_CardanoTxAuxiliaryData: 327,
|
|
27262
|
-
MessageType_CardanoPoolOwner: 328,
|
|
27263
|
-
MessageType_CardanoPoolRelayParameters: 329,
|
|
27264
|
-
MessageType_CardanoGetNativeScriptHash: 330,
|
|
27265
|
-
MessageType_CardanoNativeScriptHash: 331,
|
|
27266
|
-
MessageType_CardanoTxMint: 332,
|
|
27267
|
-
MessageType_CardanoTxCollateralInput: 333,
|
|
27268
|
-
MessageType_CardanoTxRequiredSigner: 334,
|
|
27269
|
-
MessageType_CardanoTxInlineDatumChunk: 335,
|
|
27270
|
-
MessageType_CardanoTxReferenceScriptChunk: 336,
|
|
27271
|
-
MessageType_CardanoTxReferenceInput: 337,
|
|
27272
|
-
MessageType_CardanoSignMessage: 350,
|
|
27273
|
-
MessageType_CardanoMessageSignature: 351,
|
|
27274
|
-
MessageType_RippleGetAddress: 400,
|
|
27275
|
-
MessageType_RippleAddress: 401,
|
|
27276
|
-
MessageType_RippleSignTx: 402,
|
|
27277
|
-
MessageType_RippleSignedTx: 403,
|
|
27278
|
-
MessageType_MoneroTransactionInitRequest: 501,
|
|
27279
|
-
MessageType_MoneroTransactionInitAck: 502,
|
|
27280
|
-
MessageType_MoneroTransactionSetInputRequest: 503,
|
|
27281
|
-
MessageType_MoneroTransactionSetInputAck: 504,
|
|
27282
|
-
MessageType_MoneroTransactionInputViniRequest: 507,
|
|
27283
|
-
MessageType_MoneroTransactionInputViniAck: 508,
|
|
27284
|
-
MessageType_MoneroTransactionAllInputsSetRequest: 509,
|
|
27285
|
-
MessageType_MoneroTransactionAllInputsSetAck: 510,
|
|
27286
|
-
MessageType_MoneroTransactionSetOutputRequest: 511,
|
|
27287
|
-
MessageType_MoneroTransactionSetOutputAck: 512,
|
|
27288
|
-
MessageType_MoneroTransactionAllOutSetRequest: 513,
|
|
27289
|
-
MessageType_MoneroTransactionAllOutSetAck: 514,
|
|
27290
|
-
MessageType_MoneroTransactionSignInputRequest: 515,
|
|
27291
|
-
MessageType_MoneroTransactionSignInputAck: 516,
|
|
27292
|
-
MessageType_MoneroTransactionFinalRequest: 517,
|
|
27293
|
-
MessageType_MoneroTransactionFinalAck: 518,
|
|
27294
|
-
MessageType_MoneroKeyImageExportInitRequest: 530,
|
|
27295
|
-
MessageType_MoneroKeyImageExportInitAck: 531,
|
|
27296
|
-
MessageType_MoneroKeyImageSyncStepRequest: 532,
|
|
27297
|
-
MessageType_MoneroKeyImageSyncStepAck: 533,
|
|
27298
|
-
MessageType_MoneroKeyImageSyncFinalRequest: 534,
|
|
27299
|
-
MessageType_MoneroKeyImageSyncFinalAck: 535,
|
|
27300
|
-
MessageType_MoneroGetAddress: 540,
|
|
27301
|
-
MessageType_MoneroAddress: 541,
|
|
27302
|
-
MessageType_MoneroGetWatchKey: 542,
|
|
27303
|
-
MessageType_MoneroWatchKey: 543,
|
|
27304
|
-
MessageType_DebugMoneroDiagRequest: 546,
|
|
27305
|
-
MessageType_DebugMoneroDiagAck: 547,
|
|
27306
|
-
MessageType_MoneroGetTxKeyRequest: 550,
|
|
27307
|
-
MessageType_MoneroGetTxKeyAck: 551,
|
|
27308
|
-
MessageType_MoneroLiveRefreshStartRequest: 552,
|
|
27309
|
-
MessageType_MoneroLiveRefreshStartAck: 553,
|
|
27310
|
-
MessageType_MoneroLiveRefreshStepRequest: 554,
|
|
27311
|
-
MessageType_MoneroLiveRefreshStepAck: 555,
|
|
27312
|
-
MessageType_MoneroLiveRefreshFinalRequest: 556,
|
|
27313
|
-
MessageType_MoneroLiveRefreshFinalAck: 557,
|
|
27314
|
-
MessageType_EosGetPublicKey: 600,
|
|
27315
|
-
MessageType_EosPublicKey: 601,
|
|
27316
|
-
MessageType_EosSignTx: 602,
|
|
27317
|
-
MessageType_EosTxActionRequest: 603,
|
|
27318
|
-
MessageType_EosTxActionAck: 604,
|
|
27319
|
-
MessageType_EosSignedTx: 605,
|
|
27320
|
-
MessageType_BinanceGetAddress: 700,
|
|
27321
|
-
MessageType_BinanceAddress: 701,
|
|
27322
|
-
MessageType_BinanceGetPublicKey: 702,
|
|
27323
|
-
MessageType_BinancePublicKey: 703,
|
|
27324
|
-
MessageType_BinanceSignTx: 704,
|
|
27325
|
-
MessageType_BinanceTxRequest: 705,
|
|
27326
|
-
MessageType_BinanceTransferMsg: 706,
|
|
27327
|
-
MessageType_BinanceOrderMsg: 707,
|
|
27328
|
-
MessageType_BinanceCancelMsg: 708,
|
|
27329
|
-
MessageType_BinanceSignedTx: 709,
|
|
27330
|
-
MessageType_StarcoinGetAddress: 10300,
|
|
27331
|
-
MessageType_StarcoinAddress: 10301,
|
|
27332
|
-
MessageType_StarcoinGetPublicKey: 10302,
|
|
27333
|
-
MessageType_StarcoinPublicKey: 10303,
|
|
27334
|
-
MessageType_StarcoinSignTx: 10304,
|
|
27335
|
-
MessageType_StarcoinSignedTx: 10305,
|
|
27336
|
-
MessageType_StarcoinSignMessage: 10306,
|
|
27337
|
-
MessageType_StarcoinMessageSignature: 10307,
|
|
27338
|
-
MessageType_StarcoinVerifyMessage: 10308,
|
|
27339
|
-
MessageType_ConfluxGetAddress: 10112,
|
|
27340
|
-
MessageType_ConfluxAddress: 10113,
|
|
27341
|
-
MessageType_ConfluxSignTx: 10114,
|
|
27342
|
-
MessageType_ConfluxTxRequest: 10115,
|
|
27343
|
-
MessageType_ConfluxTxAck: 10116,
|
|
27344
|
-
MessageType_ConfluxSignMessage: 10117,
|
|
27345
|
-
MessageType_ConfluxSignMessageCIP23: 10118,
|
|
27346
|
-
MessageType_ConfluxMessageSignature: 10119,
|
|
27347
|
-
MessageType_TronGetAddress: 10501,
|
|
27348
|
-
MessageType_TronAddress: 10502,
|
|
27349
|
-
MessageType_TronSignTx: 10503,
|
|
27350
|
-
MessageType_TronSignedTx: 10504,
|
|
27351
|
-
MessageType_TronSignMessage: 10505,
|
|
27352
|
-
MessageType_TronMessageSignature: 10506,
|
|
27353
|
-
MessageType_NearGetAddress: 10701,
|
|
27354
|
-
MessageType_NearAddress: 10702,
|
|
27355
|
-
MessageType_NearSignTx: 10703,
|
|
27356
|
-
MessageType_NearSignedTx: 10704,
|
|
27357
|
-
MessageType_AptosGetAddress: 10600,
|
|
27358
|
-
MessageType_AptosAddress: 10601,
|
|
27359
|
-
MessageType_AptosSignTx: 10602,
|
|
27360
|
-
MessageType_AptosSignedTx: 10603,
|
|
27361
|
-
MessageType_AptosSignMessage: 10604,
|
|
27362
|
-
MessageType_AptosMessageSignature: 10605,
|
|
27363
|
-
MessageType_AptosSignSIWAMessage: 10606,
|
|
27364
|
-
MessageType_WebAuthnListResidentCredentials: 800,
|
|
27365
|
-
MessageType_WebAuthnCredentials: 801,
|
|
27366
|
-
MessageType_WebAuthnAddResidentCredential: 802,
|
|
27367
|
-
MessageType_WebAuthnRemoveResidentCredential: 803,
|
|
27368
|
-
MessageType_SolanaGetAddress: 10100,
|
|
27369
|
-
MessageType_SolanaAddress: 10101,
|
|
27370
|
-
MessageType_SolanaSignTx: 10102,
|
|
27371
|
-
MessageType_SolanaSignedTx: 10103,
|
|
27372
|
-
MessageType_SolanaSignOffChainMessage: 10104,
|
|
27373
|
-
MessageType_SolanaMessageSignature: 10105,
|
|
27374
|
-
MessageType_SolanaSignUnsafeMessage: 10106,
|
|
27375
|
-
MessageType_CosmosGetAddress: 10800,
|
|
27376
|
-
MessageType_CosmosAddress: 10801,
|
|
27377
|
-
MessageType_CosmosSignTx: 10802,
|
|
27378
|
-
MessageType_CosmosSignedTx: 10803,
|
|
27379
|
-
MessageType_AlgorandGetAddress: 10900,
|
|
27380
|
-
MessageType_AlgorandAddress: 10901,
|
|
27381
|
-
MessageType_AlgorandSignTx: 10902,
|
|
27382
|
-
MessageType_AlgorandSignedTx: 10903,
|
|
27383
|
-
MessageType_PolkadotGetAddress: 11000,
|
|
27384
|
-
MessageType_PolkadotAddress: 11001,
|
|
27385
|
-
MessageType_PolkadotSignTx: 11002,
|
|
27386
|
-
MessageType_PolkadotSignedTx: 11003,
|
|
27387
|
-
MessageType_SuiGetAddress: 11100,
|
|
27388
|
-
MessageType_SuiAddress: 11101,
|
|
27389
|
-
MessageType_SuiSignTx: 11102,
|
|
27390
|
-
MessageType_SuiSignedTx: 11103,
|
|
27391
|
-
MessageType_SuiSignMessage: 11104,
|
|
27392
|
-
MessageType_SuiMessageSignature: 11105,
|
|
27393
|
-
MessageType_SuiTxRequest: 11106,
|
|
27394
|
-
MessageType_SuiTxAck: 11107,
|
|
27395
|
-
MessageType_FilecoinGetAddress: 11200,
|
|
27396
|
-
MessageType_FilecoinAddress: 11201,
|
|
27397
|
-
MessageType_FilecoinSignTx: 11202,
|
|
27398
|
-
MessageType_FilecoinSignedTx: 11203,
|
|
27399
|
-
MessageType_KaspaGetAddress: 11300,
|
|
27400
|
-
MessageType_KaspaAddress: 11301,
|
|
27401
|
-
MessageType_KaspaSignTx: 11302,
|
|
27402
|
-
MessageType_KaspaSignedTx: 11303,
|
|
27403
|
-
MessageType_KaspaTxInputRequest: 11304,
|
|
27404
|
-
MessageType_KaspaTxInputAck: 11305,
|
|
27405
|
-
MessageType_NexaGetAddress: 11400,
|
|
27406
|
-
MessageType_NexaAddress: 11401,
|
|
27407
|
-
MessageType_NexaSignTx: 11402,
|
|
27408
|
-
MessageType_NexaSignedTx: 11403,
|
|
27409
|
-
MessageType_NexaTxInputRequest: 11404,
|
|
27410
|
-
MessageType_NexaTxInputAck: 11405,
|
|
27411
|
-
MessageType_NostrGetPublicKey: 11500,
|
|
27412
|
-
MessageType_NostrPublicKey: 11501,
|
|
27413
|
-
MessageType_NostrSignEvent: 11502,
|
|
27414
|
-
MessageType_NostrSignedEvent: 11503,
|
|
27415
|
-
MessageType_NostrEncryptMessage: 11504,
|
|
27416
|
-
MessageType_NostrEncryptedMessage: 11505,
|
|
27417
|
-
MessageType_NostrDecryptMessage: 11506,
|
|
27418
|
-
MessageType_NostrDecryptedMessage: 11507,
|
|
27419
|
-
MessageType_NostrSignSchnorr: 11508,
|
|
27420
|
-
MessageType_NostrSignedSchnorr: 11509,
|
|
27421
|
-
MessageType_LnurlAuth: 11600,
|
|
27422
|
-
MessageType_LnurlAuthResp: 11601,
|
|
27423
|
-
MessageType_NervosGetAddress: 11701,
|
|
27424
|
-
MessageType_NervosAddress: 11702,
|
|
27425
|
-
MessageType_NervosSignTx: 11703,
|
|
27426
|
-
MessageType_NervosSignedTx: 11704,
|
|
27427
|
-
MessageType_NervosTxRequest: 11705,
|
|
27428
|
-
MessageType_NervosTxAck: 11706,
|
|
27429
|
-
MessageType_TonGetAddress: 11901,
|
|
27430
|
-
MessageType_TonAddress: 11902,
|
|
27431
|
-
MessageType_TonSignMessage: 11903,
|
|
27432
|
-
MessageType_TonSignedMessage: 11904,
|
|
27433
|
-
MessageType_TonSignProof: 11905,
|
|
27434
|
-
MessageType_TonSignedProof: 11906,
|
|
27435
|
-
MessageType_TonTxAck: 11907,
|
|
27436
|
-
MessageType_AlephiumGetAddress: 12101,
|
|
27437
|
-
MessageType_AlephiumAddress: 12102,
|
|
27438
|
-
MessageType_AlephiumSignTx: 12103,
|
|
27439
|
-
MessageType_AlephiumSignedTx: 12104,
|
|
27440
|
-
MessageType_AlephiumTxRequest: 12105,
|
|
27441
|
-
MessageType_AlephiumTxAck: 12106,
|
|
27442
|
-
MessageType_AlephiumBytecodeRequest: 12107,
|
|
27443
|
-
MessageType_AlephiumBytecodeAck: 12108,
|
|
27444
|
-
MessageType_AlephiumSignMessage: 12109,
|
|
27445
|
-
MessageType_AlephiumMessageSignature: 12110,
|
|
27446
|
-
MessageType_BenfenGetAddress: 12201,
|
|
27447
|
-
MessageType_BenfenAddress: 12202,
|
|
27448
|
-
MessageType_BenfenSignTx: 12203,
|
|
27449
|
-
MessageType_BenfenSignedTx: 12204,
|
|
27450
|
-
MessageType_BenfenSignMessage: 12205,
|
|
27451
|
-
MessageType_BenfenMessageSignature: 12206,
|
|
27452
|
-
MessageType_BenfenTxRequest: 12207,
|
|
27453
|
-
MessageType_BenfenTxAck: 12208,
|
|
27454
|
-
MessageType_NeoGetAddress: 12301,
|
|
27455
|
-
MessageType_NeoAddress: 12302,
|
|
27456
|
-
MessageType_NeoSignTx: 12303,
|
|
27457
|
-
MessageType_NeoSignedTx: 12304,
|
|
27458
|
-
MessageType_DeviceFactoryInfoSet: 60000,
|
|
27459
|
-
MessageType_DeviceFactoryInfoGet: 60001,
|
|
27460
|
-
MessageType_DeviceFactoryInfo: 60002,
|
|
27461
|
-
MessageType_DeviceFactoryPermanentLock: 60003,
|
|
27462
|
-
MessageType_DeviceFactoryTest: 60004,
|
|
27463
|
-
MessageType_ProtocolInfoRequest: 60200,
|
|
27464
|
-
MessageType_ProtocolInfo: 60201,
|
|
27465
|
-
MessageType_Ping: 60206,
|
|
27466
|
-
MessageType_Success: 60207,
|
|
27467
|
-
MessageType_Failure: 60208,
|
|
27468
|
-
MessageType_DeviceReboot: 60400,
|
|
27469
|
-
MessageType_DeviceSettings: 60410,
|
|
27470
|
-
MessageType_DeviceSettingsGet: 60411,
|
|
27471
|
-
MessageType_DeviceSettingsSet: 60412,
|
|
27472
|
-
MessageType_DeviceSettingsPageShow: 60413,
|
|
27473
|
-
MessageType_DeviceCertificate: 60420,
|
|
27474
|
-
MessageType_DeviceCertificateWrite: 60421,
|
|
27475
|
-
MessageType_DeviceCertificateRead: 60422,
|
|
27476
|
-
MessageType_DeviceCertificateSignature: 60423,
|
|
27477
|
-
MessageType_DeviceCertificateSign: 60424,
|
|
27478
|
-
MessageType_DeviceMiscUsbMscControl: 60440,
|
|
27479
|
-
MessageType_DeviceFindMyTokenState: 60450,
|
|
27480
|
-
MessageType_DeviceFindMyTokenUpdate: 60451,
|
|
27481
|
-
MessageType_DeviceFindMyTokenStateGet: 60452,
|
|
27482
|
-
MessageType_DeviceInfoGet: 60600,
|
|
27483
|
-
MessageType_DeviceInfo: 60601,
|
|
27484
|
-
MessageType_DeviceStatusGet: 60602,
|
|
27485
|
-
MessageType_DeviceStatus: 60603,
|
|
27486
|
-
MessageType_FilesystemPermissionFix: 60800,
|
|
27487
|
-
MessageType_FilesystemPathInfo: 60801,
|
|
27488
|
-
MessageType_FilesystemPathInfoQuery: 60802,
|
|
27489
|
-
MessageType_FilesystemFile: 60803,
|
|
27490
|
-
MessageType_FilesystemFileRead: 60804,
|
|
27491
|
-
MessageType_FilesystemFileWrite: 60805,
|
|
27492
|
-
MessageType_FilesystemFileDelete: 60806,
|
|
27493
|
-
MessageType_FilesystemDir: 60807,
|
|
27494
|
-
MessageType_FilesystemDirList: 60808,
|
|
27495
|
-
MessageType_FilesystemDirMake: 60809,
|
|
27496
|
-
MessageType_FilesystemDirRemove: 60810,
|
|
27497
|
-
MessageType_FilesystemFormat: 60811,
|
|
27498
|
-
MessageType_DeviceFirmwareUpdateStage: 61000,
|
|
27499
|
-
MessageType_DeviceFirmwareUpdateRequest: 61001,
|
|
27500
|
-
MessageType_DeviceFirmwareUpdateStatusGet: 61002,
|
|
27501
|
-
MessageType_DeviceFirmwareUpdateStatus: 61003,
|
|
27502
|
-
MessageType_DeviceSessionGet: 61200,
|
|
27503
|
-
MessageType_DeviceSession: 61201,
|
|
27504
|
-
MessageType_DeviceSessionAskPin: 61202,
|
|
27505
|
-
MessageType_DeviceSessionAskPassphrase: 61203,
|
|
27506
|
-
MessageType_PortfolioUpdate: 61400,
|
|
27507
|
-
MessageType_NftUpdate: 61500,
|
|
27508
|
-
MessageType_OnboardingStatusGet: 61600,
|
|
27509
|
-
MessageType_OnboardingStatus: 61601
|
|
27510
|
-
},
|
|
27511
|
-
reserved: [
|
|
27512
|
-
[
|
|
27513
|
-
90,
|
|
27514
|
-
92
|
|
27515
|
-
],
|
|
27516
|
-
[
|
|
27517
|
-
114,
|
|
27518
|
-
122
|
|
27519
|
-
],
|
|
27520
|
-
[
|
|
27521
|
-
300,
|
|
27522
|
-
304
|
|
27523
|
-
],
|
|
27524
|
-
[
|
|
27525
|
-
309,
|
|
27526
|
-
312
|
|
27527
|
-
]
|
|
27528
|
-
]
|
|
27529
|
-
},
|
|
27530
|
-
AlephiumGetAddress: {
|
|
27531
|
-
fields: {
|
|
27532
|
-
address_n: {
|
|
27533
|
-
rule: "repeated",
|
|
27534
|
-
type: "uint32",
|
|
27535
|
-
id: 1,
|
|
27536
|
-
options: {
|
|
27537
|
-
packed: false
|
|
27538
|
-
}
|
|
27539
|
-
},
|
|
27540
|
-
show_display: {
|
|
27541
|
-
type: "bool",
|
|
27542
|
-
id: 2
|
|
27543
|
-
},
|
|
27544
|
-
include_public_key: {
|
|
27545
|
-
type: "bool",
|
|
27546
|
-
id: 3
|
|
27547
|
-
},
|
|
27548
|
-
target_group: {
|
|
27549
|
-
type: "uint32",
|
|
27550
|
-
id: 4
|
|
27551
|
-
}
|
|
27552
|
-
}
|
|
27553
|
-
},
|
|
27554
|
-
AlephiumAddress: {
|
|
27555
|
-
fields: {
|
|
27556
|
-
address: {
|
|
27557
|
-
rule: "required",
|
|
27558
|
-
type: "string",
|
|
27559
|
-
id: 1
|
|
27560
|
-
},
|
|
27561
|
-
public_key: {
|
|
27562
|
-
type: "bytes",
|
|
27563
|
-
id: 2
|
|
27564
|
-
},
|
|
27565
|
-
derived_path: {
|
|
27566
|
-
rule: "repeated",
|
|
27567
|
-
type: "uint32",
|
|
27568
|
-
id: 3,
|
|
27569
|
-
options: {
|
|
27570
|
-
packed: false
|
|
27571
|
-
}
|
|
27572
|
-
}
|
|
27573
|
-
}
|
|
27574
|
-
},
|
|
27575
|
-
AlephiumSignTx: {
|
|
27576
|
-
fields: {
|
|
27577
|
-
address_n: {
|
|
27578
|
-
rule: "repeated",
|
|
27579
|
-
type: "uint32",
|
|
27580
|
-
id: 1,
|
|
27581
|
-
options: {
|
|
27582
|
-
packed: false
|
|
27583
|
-
}
|
|
27584
|
-
},
|
|
27585
|
-
data_initial_chunk: {
|
|
27586
|
-
rule: "required",
|
|
27587
|
-
type: "bytes",
|
|
27588
|
-
id: 2
|
|
27589
|
-
},
|
|
27590
|
-
data_length: {
|
|
27591
|
-
type: "uint32",
|
|
27592
|
-
id: 3
|
|
27593
|
-
}
|
|
27594
|
-
}
|
|
27595
|
-
},
|
|
27596
|
-
AlephiumSignedTx: {
|
|
27597
|
-
fields: {
|
|
27598
|
-
signature: {
|
|
27599
|
-
rule: "required",
|
|
27600
|
-
type: "bytes",
|
|
27601
|
-
id: 1
|
|
27602
|
-
},
|
|
27603
|
-
address: {
|
|
27604
|
-
rule: "required",
|
|
27605
|
-
type: "string",
|
|
27606
|
-
id: 2
|
|
27607
|
-
}
|
|
27608
|
-
}
|
|
27609
|
-
},
|
|
27610
|
-
AlephiumTxRequest: {
|
|
27611
|
-
fields: {
|
|
27612
|
-
data_length: {
|
|
27613
|
-
type: "uint32",
|
|
27614
|
-
id: 1
|
|
27615
|
-
},
|
|
27616
|
-
public_key: {
|
|
27617
|
-
type: "bytes",
|
|
27618
|
-
id: 2
|
|
27619
|
-
},
|
|
27620
|
-
signature: {
|
|
27621
|
-
type: "bytes",
|
|
27622
|
-
id: 3
|
|
27623
|
-
}
|
|
27624
|
-
}
|
|
27625
|
-
},
|
|
27626
|
-
AlephiumTxAck: {
|
|
27627
|
-
fields: {
|
|
27628
|
-
data_chunk: {
|
|
27629
|
-
rule: "required",
|
|
27630
|
-
type: "bytes",
|
|
27631
|
-
id: 1
|
|
27632
|
-
}
|
|
27633
|
-
}
|
|
27634
|
-
},
|
|
27635
|
-
AlephiumBytecodeRequest: {
|
|
27636
|
-
fields: {
|
|
27637
|
-
data_length: {
|
|
27638
|
-
type: "uint32",
|
|
27639
|
-
id: 1
|
|
27640
|
-
},
|
|
27641
|
-
public_key: {
|
|
27642
|
-
type: "bytes",
|
|
27643
|
-
id: 2
|
|
27644
|
-
},
|
|
27645
|
-
signature: {
|
|
27646
|
-
type: "bytes",
|
|
27647
|
-
id: 3
|
|
27648
|
-
}
|
|
27649
|
-
}
|
|
27650
|
-
},
|
|
27651
|
-
AlephiumBytecodeAck: {
|
|
27652
|
-
fields: {
|
|
27653
|
-
bytecode_data: {
|
|
27654
|
-
rule: "required",
|
|
27655
|
-
type: "bytes",
|
|
27656
|
-
id: 1
|
|
27657
|
-
}
|
|
27658
|
-
}
|
|
27659
|
-
},
|
|
27660
|
-
AlephiumSignMessage: {
|
|
27661
|
-
fields: {
|
|
27662
|
-
address_n: {
|
|
27663
|
-
rule: "repeated",
|
|
27664
|
-
type: "uint32",
|
|
27665
|
-
id: 1,
|
|
27666
|
-
options: {
|
|
27667
|
-
packed: false
|
|
27668
|
-
}
|
|
27669
|
-
},
|
|
27670
|
-
message: {
|
|
27671
|
-
type: "bytes",
|
|
27672
|
-
id: 2
|
|
27673
|
-
},
|
|
27674
|
-
message_type: {
|
|
27675
|
-
type: "bytes",
|
|
27676
|
-
id: 3
|
|
27677
|
-
}
|
|
27678
|
-
}
|
|
27679
|
-
},
|
|
27680
|
-
AlephiumMessageSignature: {
|
|
27681
|
-
fields: {
|
|
27682
|
-
signature: {
|
|
27683
|
-
type: "bytes",
|
|
27684
|
-
id: 1
|
|
27685
|
-
},
|
|
27686
|
-
address: {
|
|
27687
|
-
type: "string",
|
|
27688
|
-
id: 2
|
|
27689
|
-
}
|
|
27690
|
-
}
|
|
27691
|
-
},
|
|
27692
|
-
AlgorandGetAddress: {
|
|
27693
|
-
fields: {
|
|
27694
|
-
address_n: {
|
|
27695
|
-
rule: "repeated",
|
|
27696
|
-
type: "uint32",
|
|
27697
|
-
id: 1,
|
|
27698
|
-
options: {
|
|
27699
|
-
packed: false
|
|
27700
|
-
}
|
|
27701
|
-
},
|
|
27702
|
-
show_display: {
|
|
27703
|
-
type: "bool",
|
|
27704
|
-
id: 3
|
|
27705
|
-
}
|
|
27706
|
-
}
|
|
27707
|
-
},
|
|
27708
|
-
AlgorandAddress: {
|
|
27709
|
-
fields: {
|
|
27710
|
-
address: {
|
|
27711
|
-
type: "string",
|
|
27712
|
-
id: 1
|
|
27713
|
-
}
|
|
27714
|
-
}
|
|
27715
|
-
},
|
|
27716
|
-
AlgorandSignTx: {
|
|
27717
|
-
fields: {
|
|
27718
|
-
address_n: {
|
|
27719
|
-
rule: "repeated",
|
|
27720
|
-
type: "uint32",
|
|
27721
|
-
id: 1,
|
|
27722
|
-
options: {
|
|
27723
|
-
packed: false
|
|
27724
|
-
}
|
|
27725
|
-
},
|
|
27726
|
-
raw_tx: {
|
|
27727
|
-
rule: "required",
|
|
27728
|
-
type: "bytes",
|
|
27729
|
-
id: 2
|
|
27730
|
-
}
|
|
27731
|
-
}
|
|
27732
|
-
},
|
|
27733
|
-
AlgorandSignedTx: {
|
|
27734
|
-
fields: {
|
|
27735
|
-
signature: {
|
|
27736
|
-
rule: "required",
|
|
27737
|
-
type: "bytes",
|
|
27738
|
-
id: 1
|
|
27739
|
-
}
|
|
27740
|
-
}
|
|
27741
|
-
},
|
|
27742
|
-
AptosTransactionType: {
|
|
27236
|
+
AlgorandSignedTx: {
|
|
27237
|
+
fields: {
|
|
27238
|
+
signature: {
|
|
27239
|
+
rule: "required",
|
|
27240
|
+
type: "bytes",
|
|
27241
|
+
id: 1
|
|
27242
|
+
}
|
|
27243
|
+
}
|
|
27244
|
+
},
|
|
27245
|
+
AptosTransactionType: {
|
|
27743
27246
|
values: {
|
|
27744
27247
|
STANDARD: 0,
|
|
27745
27248
|
WITH_DATA: 1
|
|
@@ -31693,264 +31196,93 @@ var nested = {
|
|
|
31693
31196
|
},
|
|
31694
31197
|
EosSignedTx: {
|
|
31695
31198
|
fields: {
|
|
31696
|
-
signature: {
|
|
31697
|
-
rule: "required",
|
|
31698
|
-
type: "string",
|
|
31699
|
-
id: 1
|
|
31700
|
-
}
|
|
31701
|
-
}
|
|
31702
|
-
},
|
|
31703
|
-
EthereumGetPublicKey: {
|
|
31704
|
-
fields: {
|
|
31705
|
-
address_n: {
|
|
31706
|
-
rule: "repeated",
|
|
31707
|
-
type: "uint32",
|
|
31708
|
-
id: 1,
|
|
31709
|
-
options: {
|
|
31710
|
-
packed: false
|
|
31711
|
-
}
|
|
31712
|
-
},
|
|
31713
|
-
show_display: {
|
|
31714
|
-
type: "bool",
|
|
31715
|
-
id: 2
|
|
31716
|
-
}
|
|
31717
|
-
}
|
|
31718
|
-
},
|
|
31719
|
-
EthereumPublicKey: {
|
|
31720
|
-
fields: {
|
|
31721
|
-
node: {
|
|
31722
|
-
rule: "required",
|
|
31723
|
-
type: "HDNodeType",
|
|
31724
|
-
id: 1
|
|
31725
|
-
},
|
|
31726
|
-
xpub: {
|
|
31727
|
-
rule: "required",
|
|
31728
|
-
type: "string",
|
|
31729
|
-
id: 2
|
|
31730
|
-
}
|
|
31731
|
-
}
|
|
31732
|
-
},
|
|
31733
|
-
EthereumGetAddress: {
|
|
31734
|
-
fields: {
|
|
31735
|
-
address_n: {
|
|
31736
|
-
rule: "repeated",
|
|
31737
|
-
type: "uint32",
|
|
31738
|
-
id: 1,
|
|
31739
|
-
options: {
|
|
31740
|
-
packed: false
|
|
31741
|
-
}
|
|
31742
|
-
},
|
|
31743
|
-
show_display: {
|
|
31744
|
-
type: "bool",
|
|
31745
|
-
id: 2
|
|
31746
|
-
},
|
|
31747
|
-
encoded_network: {
|
|
31748
|
-
type: "bytes",
|
|
31749
|
-
id: 3
|
|
31750
|
-
}
|
|
31751
|
-
}
|
|
31752
|
-
},
|
|
31753
|
-
EthereumAddress: {
|
|
31754
|
-
fields: {
|
|
31755
|
-
_old_address: {
|
|
31756
|
-
type: "bytes",
|
|
31757
|
-
id: 1,
|
|
31758
|
-
options: {
|
|
31759
|
-
deprecated: true
|
|
31760
|
-
}
|
|
31761
|
-
},
|
|
31762
|
-
address: {
|
|
31763
|
-
type: "string",
|
|
31764
|
-
id: 2
|
|
31765
|
-
}
|
|
31766
|
-
}
|
|
31767
|
-
},
|
|
31768
|
-
EthereumSignTx: {
|
|
31769
|
-
fields: {
|
|
31770
|
-
address_n: {
|
|
31771
|
-
rule: "repeated",
|
|
31772
|
-
type: "uint32",
|
|
31773
|
-
id: 1,
|
|
31774
|
-
options: {
|
|
31775
|
-
packed: false
|
|
31776
|
-
}
|
|
31777
|
-
},
|
|
31778
|
-
nonce: {
|
|
31779
|
-
type: "bytes",
|
|
31780
|
-
id: 2,
|
|
31781
|
-
options: {
|
|
31782
|
-
"default": ""
|
|
31783
|
-
}
|
|
31784
|
-
},
|
|
31785
|
-
gas_price: {
|
|
31786
|
-
rule: "required",
|
|
31787
|
-
type: "bytes",
|
|
31788
|
-
id: 3
|
|
31789
|
-
},
|
|
31790
|
-
gas_limit: {
|
|
31791
|
-
rule: "required",
|
|
31792
|
-
type: "bytes",
|
|
31793
|
-
id: 4
|
|
31794
|
-
},
|
|
31795
|
-
to: {
|
|
31796
|
-
type: "string",
|
|
31797
|
-
id: 11,
|
|
31798
|
-
options: {
|
|
31799
|
-
"default": ""
|
|
31800
|
-
}
|
|
31801
|
-
},
|
|
31802
|
-
value: {
|
|
31803
|
-
type: "bytes",
|
|
31804
|
-
id: 6,
|
|
31805
|
-
options: {
|
|
31806
|
-
"default": ""
|
|
31807
|
-
}
|
|
31808
|
-
},
|
|
31809
|
-
data_initial_chunk: {
|
|
31810
|
-
type: "bytes",
|
|
31811
|
-
id: 7,
|
|
31812
|
-
options: {
|
|
31813
|
-
"default": ""
|
|
31814
|
-
}
|
|
31815
|
-
},
|
|
31816
|
-
data_length: {
|
|
31817
|
-
type: "uint32",
|
|
31818
|
-
id: 8,
|
|
31819
|
-
options: {
|
|
31820
|
-
"default": 0
|
|
31821
|
-
}
|
|
31822
|
-
},
|
|
31823
|
-
chain_id: {
|
|
31824
|
-
rule: "required",
|
|
31825
|
-
type: "uint64",
|
|
31826
|
-
id: 9
|
|
31827
|
-
},
|
|
31828
|
-
tx_type: {
|
|
31829
|
-
type: "uint32",
|
|
31830
|
-
id: 10
|
|
31831
|
-
},
|
|
31832
|
-
definitions: {
|
|
31833
|
-
type: "EthereumDefinitions",
|
|
31834
|
-
id: 12
|
|
31199
|
+
signature: {
|
|
31200
|
+
rule: "required",
|
|
31201
|
+
type: "string",
|
|
31202
|
+
id: 1
|
|
31835
31203
|
}
|
|
31836
31204
|
}
|
|
31837
31205
|
},
|
|
31838
|
-
|
|
31206
|
+
EthereumDefinitionType: {
|
|
31207
|
+
values: {
|
|
31208
|
+
NETWORK: 0,
|
|
31209
|
+
TOKEN: 1
|
|
31210
|
+
}
|
|
31211
|
+
},
|
|
31212
|
+
EthereumNetworkInfo: {
|
|
31839
31213
|
fields: {
|
|
31840
|
-
|
|
31841
|
-
rule: "
|
|
31842
|
-
type: "
|
|
31843
|
-
id: 1
|
|
31844
|
-
options: {
|
|
31845
|
-
packed: false
|
|
31846
|
-
}
|
|
31214
|
+
chain_id: {
|
|
31215
|
+
rule: "required",
|
|
31216
|
+
type: "uint64",
|
|
31217
|
+
id: 1
|
|
31847
31218
|
},
|
|
31848
|
-
|
|
31219
|
+
symbol: {
|
|
31849
31220
|
rule: "required",
|
|
31850
|
-
type: "
|
|
31221
|
+
type: "string",
|
|
31851
31222
|
id: 2
|
|
31852
31223
|
},
|
|
31853
|
-
|
|
31224
|
+
slip44: {
|
|
31854
31225
|
rule: "required",
|
|
31855
|
-
type: "
|
|
31226
|
+
type: "uint32",
|
|
31856
31227
|
id: 3
|
|
31857
31228
|
},
|
|
31858
|
-
|
|
31229
|
+
name: {
|
|
31859
31230
|
rule: "required",
|
|
31860
|
-
type: "
|
|
31231
|
+
type: "string",
|
|
31861
31232
|
id: 4
|
|
31862
31233
|
},
|
|
31863
|
-
|
|
31864
|
-
rule: "required",
|
|
31865
|
-
type: "bytes",
|
|
31866
|
-
id: 5
|
|
31867
|
-
},
|
|
31868
|
-
to: {
|
|
31234
|
+
icon: {
|
|
31869
31235
|
type: "string",
|
|
31870
|
-
id:
|
|
31871
|
-
options: {
|
|
31872
|
-
"default": ""
|
|
31873
|
-
}
|
|
31874
|
-
},
|
|
31875
|
-
value: {
|
|
31876
|
-
rule: "required",
|
|
31877
|
-
type: "bytes",
|
|
31878
|
-
id: 7
|
|
31879
|
-
},
|
|
31880
|
-
data_initial_chunk: {
|
|
31881
|
-
type: "bytes",
|
|
31882
|
-
id: 8,
|
|
31883
|
-
options: {
|
|
31884
|
-
"default": ""
|
|
31885
|
-
}
|
|
31886
|
-
},
|
|
31887
|
-
data_length: {
|
|
31888
|
-
rule: "required",
|
|
31889
|
-
type: "uint32",
|
|
31890
|
-
id: 9
|
|
31236
|
+
id: 101
|
|
31891
31237
|
},
|
|
31892
|
-
|
|
31893
|
-
rule: "required",
|
|
31238
|
+
primary_color: {
|
|
31894
31239
|
type: "uint64",
|
|
31895
|
-
id:
|
|
31896
|
-
},
|
|
31897
|
-
access_list: {
|
|
31898
|
-
rule: "repeated",
|
|
31899
|
-
type: "EthereumAccessList",
|
|
31900
|
-
id: 11
|
|
31901
|
-
},
|
|
31902
|
-
definitions: {
|
|
31903
|
-
type: "EthereumDefinitions",
|
|
31904
|
-
id: 12
|
|
31905
|
-
}
|
|
31906
|
-
},
|
|
31907
|
-
nested: {
|
|
31908
|
-
EthereumAccessList: {
|
|
31909
|
-
fields: {
|
|
31910
|
-
address: {
|
|
31911
|
-
rule: "required",
|
|
31912
|
-
type: "string",
|
|
31913
|
-
id: 1
|
|
31914
|
-
},
|
|
31915
|
-
storage_keys: {
|
|
31916
|
-
rule: "repeated",
|
|
31917
|
-
type: "bytes",
|
|
31918
|
-
id: 2
|
|
31919
|
-
}
|
|
31920
|
-
}
|
|
31240
|
+
id: 102
|
|
31921
31241
|
}
|
|
31922
31242
|
}
|
|
31923
31243
|
},
|
|
31924
|
-
|
|
31244
|
+
EthereumTokenInfo: {
|
|
31925
31245
|
fields: {
|
|
31926
|
-
|
|
31927
|
-
|
|
31246
|
+
address: {
|
|
31247
|
+
rule: "required",
|
|
31248
|
+
type: "bytes",
|
|
31928
31249
|
id: 1
|
|
31929
31250
|
},
|
|
31930
|
-
|
|
31931
|
-
|
|
31251
|
+
chain_id: {
|
|
31252
|
+
rule: "required",
|
|
31253
|
+
type: "uint64",
|
|
31932
31254
|
id: 2
|
|
31933
31255
|
},
|
|
31934
|
-
|
|
31935
|
-
|
|
31256
|
+
symbol: {
|
|
31257
|
+
rule: "required",
|
|
31258
|
+
type: "string",
|
|
31936
31259
|
id: 3
|
|
31937
31260
|
},
|
|
31938
|
-
|
|
31939
|
-
|
|
31261
|
+
decimals: {
|
|
31262
|
+
rule: "required",
|
|
31263
|
+
type: "uint32",
|
|
31940
31264
|
id: 4
|
|
31265
|
+
},
|
|
31266
|
+
name: {
|
|
31267
|
+
rule: "required",
|
|
31268
|
+
type: "string",
|
|
31269
|
+
id: 5
|
|
31941
31270
|
}
|
|
31942
31271
|
}
|
|
31943
31272
|
},
|
|
31944
|
-
|
|
31273
|
+
EthereumDefinitions: {
|
|
31945
31274
|
fields: {
|
|
31946
|
-
|
|
31947
|
-
rule: "required",
|
|
31275
|
+
encoded_network: {
|
|
31948
31276
|
type: "bytes",
|
|
31949
31277
|
id: 1
|
|
31278
|
+
},
|
|
31279
|
+
encoded_token: {
|
|
31280
|
+
type: "bytes",
|
|
31281
|
+
id: 2
|
|
31950
31282
|
}
|
|
31951
31283
|
}
|
|
31952
31284
|
},
|
|
31953
|
-
|
|
31285
|
+
EthereumSignTypedDataOneKey: {
|
|
31954
31286
|
fields: {
|
|
31955
31287
|
address_n: {
|
|
31956
31288
|
rule: "repeated",
|
|
@@ -31960,165 +31292,217 @@ var nested = {
|
|
|
31960
31292
|
packed: false
|
|
31961
31293
|
}
|
|
31962
31294
|
},
|
|
31963
|
-
|
|
31295
|
+
primary_type: {
|
|
31964
31296
|
rule: "required",
|
|
31965
|
-
type: "
|
|
31297
|
+
type: "string",
|
|
31966
31298
|
id: 2
|
|
31967
31299
|
},
|
|
31968
|
-
|
|
31969
|
-
type: "
|
|
31970
|
-
id: 3
|
|
31300
|
+
metamask_v4_compat: {
|
|
31301
|
+
type: "bool",
|
|
31302
|
+
id: 3,
|
|
31303
|
+
options: {
|
|
31304
|
+
"default": true
|
|
31305
|
+
}
|
|
31306
|
+
},
|
|
31307
|
+
chain_id: {
|
|
31308
|
+
type: "uint64",
|
|
31309
|
+
id: 4
|
|
31971
31310
|
}
|
|
31972
31311
|
}
|
|
31973
31312
|
},
|
|
31974
|
-
|
|
31313
|
+
EthereumTypedDataStructRequestOneKey: {
|
|
31975
31314
|
fields: {
|
|
31976
|
-
|
|
31977
|
-
rule: "required",
|
|
31978
|
-
type: "bytes",
|
|
31979
|
-
id: 2
|
|
31980
|
-
},
|
|
31981
|
-
address: {
|
|
31315
|
+
name: {
|
|
31982
31316
|
rule: "required",
|
|
31983
31317
|
type: "string",
|
|
31984
|
-
id:
|
|
31318
|
+
id: 1
|
|
31985
31319
|
}
|
|
31986
31320
|
}
|
|
31987
31321
|
},
|
|
31988
|
-
|
|
31322
|
+
EthereumTypedDataStructAckOneKey: {
|
|
31989
31323
|
fields: {
|
|
31990
|
-
|
|
31991
|
-
rule: "
|
|
31992
|
-
type: "
|
|
31993
|
-
id:
|
|
31324
|
+
members: {
|
|
31325
|
+
rule: "repeated",
|
|
31326
|
+
type: "EthereumStructMemberOneKey",
|
|
31327
|
+
id: 1
|
|
31328
|
+
}
|
|
31329
|
+
},
|
|
31330
|
+
nested: {
|
|
31331
|
+
EthereumStructMemberOneKey: {
|
|
31332
|
+
fields: {
|
|
31333
|
+
type: {
|
|
31334
|
+
rule: "required",
|
|
31335
|
+
type: "EthereumFieldTypeOneKey",
|
|
31336
|
+
id: 1
|
|
31337
|
+
},
|
|
31338
|
+
name: {
|
|
31339
|
+
rule: "required",
|
|
31340
|
+
type: "string",
|
|
31341
|
+
id: 2
|
|
31342
|
+
}
|
|
31343
|
+
}
|
|
31994
31344
|
},
|
|
31995
|
-
|
|
31996
|
-
|
|
31997
|
-
|
|
31998
|
-
|
|
31345
|
+
EthereumFieldTypeOneKey: {
|
|
31346
|
+
fields: {
|
|
31347
|
+
data_type: {
|
|
31348
|
+
rule: "required",
|
|
31349
|
+
type: "EthereumDataTypeOneKey",
|
|
31350
|
+
id: 1
|
|
31351
|
+
},
|
|
31352
|
+
size: {
|
|
31353
|
+
type: "uint32",
|
|
31354
|
+
id: 2
|
|
31355
|
+
},
|
|
31356
|
+
entry_type: {
|
|
31357
|
+
type: "EthereumFieldTypeOneKey",
|
|
31358
|
+
id: 3
|
|
31359
|
+
},
|
|
31360
|
+
struct_name: {
|
|
31361
|
+
type: "string",
|
|
31362
|
+
id: 4
|
|
31363
|
+
}
|
|
31364
|
+
}
|
|
31999
31365
|
},
|
|
32000
|
-
|
|
32001
|
-
|
|
32002
|
-
|
|
32003
|
-
|
|
31366
|
+
EthereumDataTypeOneKey: {
|
|
31367
|
+
values: {
|
|
31368
|
+
UINT: 1,
|
|
31369
|
+
INT: 2,
|
|
31370
|
+
BYTES: 3,
|
|
31371
|
+
STRING: 4,
|
|
31372
|
+
BOOL: 5,
|
|
31373
|
+
ADDRESS: 6,
|
|
31374
|
+
ARRAY: 7,
|
|
31375
|
+
STRUCT: 8
|
|
31376
|
+
}
|
|
32004
31377
|
}
|
|
32005
31378
|
}
|
|
32006
31379
|
},
|
|
32007
|
-
|
|
31380
|
+
EthereumTypedDataValueRequestOneKey: {
|
|
32008
31381
|
fields: {
|
|
32009
|
-
|
|
31382
|
+
member_path: {
|
|
32010
31383
|
rule: "repeated",
|
|
32011
31384
|
type: "uint32",
|
|
32012
31385
|
id: 1,
|
|
32013
31386
|
options: {
|
|
32014
31387
|
packed: false
|
|
32015
31388
|
}
|
|
32016
|
-
},
|
|
32017
|
-
domain_separator_hash: {
|
|
32018
|
-
rule: "required",
|
|
32019
|
-
type: "bytes",
|
|
32020
|
-
id: 2
|
|
32021
|
-
},
|
|
32022
|
-
message_hash: {
|
|
32023
|
-
type: "bytes",
|
|
32024
|
-
id: 3
|
|
32025
|
-
},
|
|
32026
|
-
encoded_network: {
|
|
32027
|
-
type: "bytes",
|
|
32028
|
-
id: 4
|
|
32029
31389
|
}
|
|
32030
31390
|
}
|
|
32031
31391
|
},
|
|
32032
|
-
|
|
31392
|
+
EthereumTypedDataValueAckOneKey: {
|
|
32033
31393
|
fields: {
|
|
32034
|
-
|
|
31394
|
+
value: {
|
|
32035
31395
|
rule: "required",
|
|
32036
31396
|
type: "bytes",
|
|
32037
31397
|
id: 1
|
|
32038
|
-
},
|
|
32039
|
-
address: {
|
|
32040
|
-
rule: "required",
|
|
32041
|
-
type: "string",
|
|
32042
|
-
id: 2
|
|
32043
31398
|
}
|
|
32044
31399
|
}
|
|
32045
31400
|
},
|
|
32046
|
-
|
|
31401
|
+
EthereumGnosisSafeTxOperation: {
|
|
32047
31402
|
values: {
|
|
32048
|
-
|
|
32049
|
-
|
|
31403
|
+
CALL: 0,
|
|
31404
|
+
DELEGATE_CALL: 1
|
|
32050
31405
|
}
|
|
32051
31406
|
},
|
|
32052
|
-
|
|
31407
|
+
EthereumGnosisSafeTxRequest: {
|
|
32053
31408
|
fields: {
|
|
32054
|
-
|
|
31409
|
+
}
|
|
31410
|
+
},
|
|
31411
|
+
EthereumGnosisSafeTxAck: {
|
|
31412
|
+
fields: {
|
|
31413
|
+
to: {
|
|
32055
31414
|
rule: "required",
|
|
32056
|
-
type: "
|
|
31415
|
+
type: "string",
|
|
32057
31416
|
id: 1
|
|
32058
31417
|
},
|
|
32059
|
-
|
|
31418
|
+
value: {
|
|
32060
31419
|
rule: "required",
|
|
32061
|
-
type: "
|
|
31420
|
+
type: "bytes",
|
|
32062
31421
|
id: 2
|
|
32063
31422
|
},
|
|
32064
|
-
|
|
32065
|
-
|
|
32066
|
-
type: "uint32",
|
|
31423
|
+
data: {
|
|
31424
|
+
type: "bytes",
|
|
32067
31425
|
id: 3
|
|
32068
31426
|
},
|
|
32069
|
-
|
|
31427
|
+
operation: {
|
|
32070
31428
|
rule: "required",
|
|
32071
|
-
type: "
|
|
31429
|
+
type: "EthereumGnosisSafeTxOperation",
|
|
32072
31430
|
id: 4
|
|
32073
31431
|
},
|
|
32074
|
-
|
|
32075
|
-
|
|
32076
|
-
|
|
31432
|
+
safeTxGas: {
|
|
31433
|
+
rule: "required",
|
|
31434
|
+
type: "bytes",
|
|
31435
|
+
id: 5
|
|
32077
31436
|
},
|
|
32078
|
-
|
|
32079
|
-
type: "uint64",
|
|
32080
|
-
id: 102
|
|
32081
|
-
}
|
|
32082
|
-
}
|
|
32083
|
-
},
|
|
32084
|
-
EthereumTokenInfo: {
|
|
32085
|
-
fields: {
|
|
32086
|
-
address: {
|
|
31437
|
+
baseGas: {
|
|
32087
31438
|
rule: "required",
|
|
32088
31439
|
type: "bytes",
|
|
32089
|
-
id:
|
|
31440
|
+
id: 6
|
|
32090
31441
|
},
|
|
32091
|
-
|
|
31442
|
+
gasPrice: {
|
|
32092
31443
|
rule: "required",
|
|
32093
|
-
type: "
|
|
32094
|
-
id:
|
|
31444
|
+
type: "bytes",
|
|
31445
|
+
id: 7
|
|
32095
31446
|
},
|
|
32096
|
-
|
|
31447
|
+
gasToken: {
|
|
32097
31448
|
rule: "required",
|
|
32098
31449
|
type: "string",
|
|
32099
|
-
id:
|
|
31450
|
+
id: 8
|
|
32100
31451
|
},
|
|
32101
|
-
|
|
31452
|
+
refundReceiver: {
|
|
32102
31453
|
rule: "required",
|
|
32103
|
-
type: "
|
|
32104
|
-
id:
|
|
31454
|
+
type: "string",
|
|
31455
|
+
id: 9
|
|
32105
31456
|
},
|
|
32106
|
-
|
|
31457
|
+
nonce: {
|
|
31458
|
+
rule: "required",
|
|
31459
|
+
type: "bytes",
|
|
31460
|
+
id: 10
|
|
31461
|
+
},
|
|
31462
|
+
chain_id: {
|
|
31463
|
+
rule: "required",
|
|
31464
|
+
type: "uint64",
|
|
31465
|
+
id: 11
|
|
31466
|
+
},
|
|
31467
|
+
verifyingContract: {
|
|
32107
31468
|
rule: "required",
|
|
32108
31469
|
type: "string",
|
|
32109
|
-
id:
|
|
31470
|
+
id: 12
|
|
32110
31471
|
}
|
|
32111
31472
|
}
|
|
32112
31473
|
},
|
|
32113
|
-
|
|
31474
|
+
EthereumSignTypedDataQR: {
|
|
32114
31475
|
fields: {
|
|
32115
|
-
|
|
32116
|
-
|
|
32117
|
-
|
|
31476
|
+
address_n: {
|
|
31477
|
+
rule: "repeated",
|
|
31478
|
+
type: "uint32",
|
|
31479
|
+
id: 1,
|
|
31480
|
+
options: {
|
|
31481
|
+
packed: false
|
|
31482
|
+
}
|
|
32118
31483
|
},
|
|
32119
|
-
|
|
31484
|
+
json_data: {
|
|
32120
31485
|
type: "bytes",
|
|
32121
31486
|
id: 2
|
|
31487
|
+
},
|
|
31488
|
+
chain_id: {
|
|
31489
|
+
type: "uint64",
|
|
31490
|
+
id: 3
|
|
31491
|
+
},
|
|
31492
|
+
metamask_v4_compat: {
|
|
31493
|
+
type: "bool",
|
|
31494
|
+
id: 4,
|
|
31495
|
+
options: {
|
|
31496
|
+
"default": true
|
|
31497
|
+
}
|
|
31498
|
+
},
|
|
31499
|
+
request_id: {
|
|
31500
|
+
type: "bytes",
|
|
31501
|
+
id: 5
|
|
31502
|
+
},
|
|
31503
|
+
source_fingerprint: {
|
|
31504
|
+
type: "uint32",
|
|
31505
|
+
id: 6
|
|
32122
31506
|
}
|
|
32123
31507
|
}
|
|
32124
31508
|
},
|
|
@@ -32229,16 +31613,173 @@ var nested = {
|
|
|
32229
31613
|
}
|
|
32230
31614
|
}
|
|
32231
31615
|
},
|
|
32232
|
-
EthereumTypedDataValueAck: {
|
|
31616
|
+
EthereumTypedDataValueAck: {
|
|
31617
|
+
fields: {
|
|
31618
|
+
value: {
|
|
31619
|
+
rule: "required",
|
|
31620
|
+
type: "bytes",
|
|
31621
|
+
id: 1
|
|
31622
|
+
}
|
|
31623
|
+
}
|
|
31624
|
+
},
|
|
31625
|
+
EthereumGetPublicKeyOneKey: {
|
|
31626
|
+
fields: {
|
|
31627
|
+
address_n: {
|
|
31628
|
+
rule: "repeated",
|
|
31629
|
+
type: "uint32",
|
|
31630
|
+
id: 1,
|
|
31631
|
+
options: {
|
|
31632
|
+
packed: false
|
|
31633
|
+
}
|
|
31634
|
+
},
|
|
31635
|
+
show_display: {
|
|
31636
|
+
type: "bool",
|
|
31637
|
+
id: 2
|
|
31638
|
+
},
|
|
31639
|
+
chain_id: {
|
|
31640
|
+
type: "uint64",
|
|
31641
|
+
id: 3
|
|
31642
|
+
}
|
|
31643
|
+
}
|
|
31644
|
+
},
|
|
31645
|
+
EthereumPublicKeyOneKey: {
|
|
31646
|
+
fields: {
|
|
31647
|
+
node: {
|
|
31648
|
+
rule: "required",
|
|
31649
|
+
type: "HDNodeType",
|
|
31650
|
+
id: 1
|
|
31651
|
+
},
|
|
31652
|
+
xpub: {
|
|
31653
|
+
rule: "required",
|
|
31654
|
+
type: "string",
|
|
31655
|
+
id: 2
|
|
31656
|
+
}
|
|
31657
|
+
}
|
|
31658
|
+
},
|
|
31659
|
+
EthereumGetAddressOneKey: {
|
|
31660
|
+
fields: {
|
|
31661
|
+
address_n: {
|
|
31662
|
+
rule: "repeated",
|
|
31663
|
+
type: "uint32",
|
|
31664
|
+
id: 1,
|
|
31665
|
+
options: {
|
|
31666
|
+
packed: false
|
|
31667
|
+
}
|
|
31668
|
+
},
|
|
31669
|
+
show_display: {
|
|
31670
|
+
type: "bool",
|
|
31671
|
+
id: 2
|
|
31672
|
+
},
|
|
31673
|
+
chain_id: {
|
|
31674
|
+
type: "uint64",
|
|
31675
|
+
id: 3
|
|
31676
|
+
}
|
|
31677
|
+
}
|
|
31678
|
+
},
|
|
31679
|
+
EthereumAddressOneKey: {
|
|
31680
|
+
fields: {
|
|
31681
|
+
_old_address: {
|
|
31682
|
+
type: "bytes",
|
|
31683
|
+
id: 1,
|
|
31684
|
+
options: {
|
|
31685
|
+
deprecated: true
|
|
31686
|
+
}
|
|
31687
|
+
},
|
|
31688
|
+
address: {
|
|
31689
|
+
type: "string",
|
|
31690
|
+
id: 2
|
|
31691
|
+
}
|
|
31692
|
+
}
|
|
31693
|
+
},
|
|
31694
|
+
EthereumSignTxOneKey: {
|
|
31695
|
+
fields: {
|
|
31696
|
+
address_n: {
|
|
31697
|
+
rule: "repeated",
|
|
31698
|
+
type: "uint32",
|
|
31699
|
+
id: 1,
|
|
31700
|
+
options: {
|
|
31701
|
+
packed: false
|
|
31702
|
+
}
|
|
31703
|
+
},
|
|
31704
|
+
nonce: {
|
|
31705
|
+
type: "bytes",
|
|
31706
|
+
id: 2,
|
|
31707
|
+
options: {
|
|
31708
|
+
"default": ""
|
|
31709
|
+
}
|
|
31710
|
+
},
|
|
31711
|
+
gas_price: {
|
|
31712
|
+
rule: "required",
|
|
31713
|
+
type: "bytes",
|
|
31714
|
+
id: 3
|
|
31715
|
+
},
|
|
31716
|
+
gas_limit: {
|
|
31717
|
+
rule: "required",
|
|
31718
|
+
type: "bytes",
|
|
31719
|
+
id: 4
|
|
31720
|
+
},
|
|
31721
|
+
to: {
|
|
31722
|
+
type: "string",
|
|
31723
|
+
id: 11,
|
|
31724
|
+
options: {
|
|
31725
|
+
"default": ""
|
|
31726
|
+
}
|
|
31727
|
+
},
|
|
31728
|
+
value: {
|
|
31729
|
+
type: "bytes",
|
|
31730
|
+
id: 6,
|
|
31731
|
+
options: {
|
|
31732
|
+
"default": ""
|
|
31733
|
+
}
|
|
31734
|
+
},
|
|
31735
|
+
data_initial_chunk: {
|
|
31736
|
+
type: "bytes",
|
|
31737
|
+
id: 7,
|
|
31738
|
+
options: {
|
|
31739
|
+
"default": ""
|
|
31740
|
+
}
|
|
31741
|
+
},
|
|
31742
|
+
data_length: {
|
|
31743
|
+
type: "uint32",
|
|
31744
|
+
id: 8,
|
|
31745
|
+
options: {
|
|
31746
|
+
"default": 0
|
|
31747
|
+
}
|
|
31748
|
+
},
|
|
31749
|
+
chain_id: {
|
|
31750
|
+
rule: "required",
|
|
31751
|
+
type: "uint64",
|
|
31752
|
+
id: 9
|
|
31753
|
+
},
|
|
31754
|
+
tx_type: {
|
|
31755
|
+
type: "uint32",
|
|
31756
|
+
id: 10
|
|
31757
|
+
},
|
|
31758
|
+
expected_address: {
|
|
31759
|
+
type: "bytes",
|
|
31760
|
+
id: 12
|
|
31761
|
+
},
|
|
31762
|
+
source_fingerprint: {
|
|
31763
|
+
type: "uint32",
|
|
31764
|
+
id: 13
|
|
31765
|
+
}
|
|
31766
|
+
}
|
|
31767
|
+
},
|
|
31768
|
+
EthereumAccessListOneKey: {
|
|
32233
31769
|
fields: {
|
|
32234
|
-
|
|
31770
|
+
address: {
|
|
32235
31771
|
rule: "required",
|
|
32236
|
-
type: "
|
|
31772
|
+
type: "string",
|
|
32237
31773
|
id: 1
|
|
31774
|
+
},
|
|
31775
|
+
storage_keys: {
|
|
31776
|
+
rule: "repeated",
|
|
31777
|
+
type: "bytes",
|
|
31778
|
+
id: 2
|
|
32238
31779
|
}
|
|
32239
31780
|
}
|
|
32240
31781
|
},
|
|
32241
|
-
|
|
31782
|
+
EthereumSignTxEIP1559OneKey: {
|
|
32242
31783
|
fields: {
|
|
32243
31784
|
address_n: {
|
|
32244
31785
|
rule: "repeated",
|
|
@@ -32248,186 +31789,288 @@ var nested = {
|
|
|
32248
31789
|
packed: false
|
|
32249
31790
|
}
|
|
32250
31791
|
},
|
|
32251
|
-
|
|
31792
|
+
nonce: {
|
|
32252
31793
|
rule: "required",
|
|
32253
|
-
type: "
|
|
31794
|
+
type: "bytes",
|
|
32254
31795
|
id: 2
|
|
32255
31796
|
},
|
|
32256
|
-
|
|
32257
|
-
|
|
32258
|
-
|
|
31797
|
+
max_gas_fee: {
|
|
31798
|
+
rule: "required",
|
|
31799
|
+
type: "bytes",
|
|
31800
|
+
id: 3
|
|
31801
|
+
},
|
|
31802
|
+
max_priority_fee: {
|
|
31803
|
+
rule: "required",
|
|
31804
|
+
type: "bytes",
|
|
31805
|
+
id: 4
|
|
31806
|
+
},
|
|
31807
|
+
gas_limit: {
|
|
31808
|
+
rule: "required",
|
|
31809
|
+
type: "bytes",
|
|
31810
|
+
id: 5
|
|
31811
|
+
},
|
|
31812
|
+
to: {
|
|
31813
|
+
type: "string",
|
|
31814
|
+
id: 6,
|
|
32259
31815
|
options: {
|
|
32260
|
-
"default":
|
|
31816
|
+
"default": ""
|
|
31817
|
+
}
|
|
31818
|
+
},
|
|
31819
|
+
value: {
|
|
31820
|
+
rule: "required",
|
|
31821
|
+
type: "bytes",
|
|
31822
|
+
id: 7
|
|
31823
|
+
},
|
|
31824
|
+
data_initial_chunk: {
|
|
31825
|
+
type: "bytes",
|
|
31826
|
+
id: 8,
|
|
31827
|
+
options: {
|
|
31828
|
+
"default": ""
|
|
32261
31829
|
}
|
|
32262
31830
|
},
|
|
31831
|
+
data_length: {
|
|
31832
|
+
rule: "required",
|
|
31833
|
+
type: "uint32",
|
|
31834
|
+
id: 9
|
|
31835
|
+
},
|
|
32263
31836
|
chain_id: {
|
|
31837
|
+
rule: "required",
|
|
32264
31838
|
type: "uint64",
|
|
32265
|
-
id:
|
|
31839
|
+
id: 10
|
|
31840
|
+
},
|
|
31841
|
+
access_list: {
|
|
31842
|
+
rule: "repeated",
|
|
31843
|
+
type: "EthereumAccessListOneKey",
|
|
31844
|
+
id: 11
|
|
31845
|
+
},
|
|
31846
|
+
expected_address: {
|
|
31847
|
+
type: "bytes",
|
|
31848
|
+
id: 12
|
|
31849
|
+
},
|
|
31850
|
+
source_fingerprint: {
|
|
31851
|
+
type: "uint32",
|
|
31852
|
+
id: 13
|
|
32266
31853
|
}
|
|
32267
31854
|
}
|
|
32268
31855
|
},
|
|
32269
|
-
|
|
31856
|
+
EthereumAuthorizationSignature: {
|
|
32270
31857
|
fields: {
|
|
32271
|
-
|
|
31858
|
+
y_parity: {
|
|
32272
31859
|
rule: "required",
|
|
32273
|
-
type: "
|
|
31860
|
+
type: "uint32",
|
|
32274
31861
|
id: 1
|
|
31862
|
+
},
|
|
31863
|
+
r: {
|
|
31864
|
+
rule: "required",
|
|
31865
|
+
type: "bytes",
|
|
31866
|
+
id: 2
|
|
31867
|
+
},
|
|
31868
|
+
s: {
|
|
31869
|
+
rule: "required",
|
|
31870
|
+
type: "bytes",
|
|
31871
|
+
id: 3
|
|
32275
31872
|
}
|
|
32276
31873
|
}
|
|
32277
31874
|
},
|
|
32278
|
-
|
|
31875
|
+
EthereumSignTxEIP7702OneKey: {
|
|
32279
31876
|
fields: {
|
|
32280
|
-
|
|
31877
|
+
address_n: {
|
|
32281
31878
|
rule: "repeated",
|
|
32282
|
-
type: "
|
|
32283
|
-
id: 1
|
|
31879
|
+
type: "uint32",
|
|
31880
|
+
id: 1,
|
|
31881
|
+
options: {
|
|
31882
|
+
packed: false
|
|
31883
|
+
}
|
|
31884
|
+
},
|
|
31885
|
+
nonce: {
|
|
31886
|
+
rule: "required",
|
|
31887
|
+
type: "bytes",
|
|
31888
|
+
id: 2
|
|
31889
|
+
},
|
|
31890
|
+
max_gas_fee: {
|
|
31891
|
+
rule: "required",
|
|
31892
|
+
type: "bytes",
|
|
31893
|
+
id: 3
|
|
31894
|
+
},
|
|
31895
|
+
max_priority_fee: {
|
|
31896
|
+
rule: "required",
|
|
31897
|
+
type: "bytes",
|
|
31898
|
+
id: 4
|
|
31899
|
+
},
|
|
31900
|
+
gas_limit: {
|
|
31901
|
+
rule: "required",
|
|
31902
|
+
type: "bytes",
|
|
31903
|
+
id: 5
|
|
31904
|
+
},
|
|
31905
|
+
to: {
|
|
31906
|
+
rule: "required",
|
|
31907
|
+
type: "string",
|
|
31908
|
+
id: 6
|
|
31909
|
+
},
|
|
31910
|
+
value: {
|
|
31911
|
+
rule: "required",
|
|
31912
|
+
type: "bytes",
|
|
31913
|
+
id: 7
|
|
31914
|
+
},
|
|
31915
|
+
data_initial_chunk: {
|
|
31916
|
+
type: "bytes",
|
|
31917
|
+
id: 8,
|
|
31918
|
+
options: {
|
|
31919
|
+
"default": ""
|
|
31920
|
+
}
|
|
31921
|
+
},
|
|
31922
|
+
data_length: {
|
|
31923
|
+
rule: "required",
|
|
31924
|
+
type: "uint32",
|
|
31925
|
+
id: 9
|
|
31926
|
+
},
|
|
31927
|
+
chain_id: {
|
|
31928
|
+
rule: "required",
|
|
31929
|
+
type: "uint64",
|
|
31930
|
+
id: 10
|
|
31931
|
+
},
|
|
31932
|
+
access_list: {
|
|
31933
|
+
rule: "repeated",
|
|
31934
|
+
type: "EthereumAccessListOneKey",
|
|
31935
|
+
id: 11
|
|
31936
|
+
},
|
|
31937
|
+
authorization_list: {
|
|
31938
|
+
rule: "repeated",
|
|
31939
|
+
type: "EthereumAuthorizationOneKey",
|
|
31940
|
+
id: 12
|
|
32284
31941
|
}
|
|
32285
31942
|
},
|
|
32286
31943
|
nested: {
|
|
32287
|
-
|
|
31944
|
+
EthereumAuthorizationOneKey: {
|
|
32288
31945
|
fields: {
|
|
32289
|
-
|
|
32290
|
-
rule: "
|
|
32291
|
-
type: "
|
|
32292
|
-
id: 1
|
|
31946
|
+
address_n: {
|
|
31947
|
+
rule: "repeated",
|
|
31948
|
+
type: "uint32",
|
|
31949
|
+
id: 1,
|
|
31950
|
+
options: {
|
|
31951
|
+
packed: false
|
|
31952
|
+
}
|
|
32293
31953
|
},
|
|
32294
|
-
|
|
32295
|
-
rule: "required",
|
|
32296
|
-
type: "string",
|
|
32297
|
-
id: 2
|
|
32298
|
-
}
|
|
32299
|
-
}
|
|
32300
|
-
},
|
|
32301
|
-
EthereumFieldTypeOneKey: {
|
|
32302
|
-
fields: {
|
|
32303
|
-
data_type: {
|
|
31954
|
+
chain_id: {
|
|
32304
31955
|
rule: "required",
|
|
32305
|
-
type: "
|
|
32306
|
-
id: 1
|
|
32307
|
-
},
|
|
32308
|
-
size: {
|
|
32309
|
-
type: "uint32",
|
|
31956
|
+
type: "uint64",
|
|
32310
31957
|
id: 2
|
|
32311
31958
|
},
|
|
32312
|
-
|
|
32313
|
-
|
|
31959
|
+
address: {
|
|
31960
|
+
rule: "required",
|
|
31961
|
+
type: "string",
|
|
32314
31962
|
id: 3
|
|
32315
31963
|
},
|
|
32316
|
-
|
|
32317
|
-
|
|
31964
|
+
nonce: {
|
|
31965
|
+
rule: "required",
|
|
31966
|
+
type: "bytes",
|
|
32318
31967
|
id: 4
|
|
31968
|
+
},
|
|
31969
|
+
signature: {
|
|
31970
|
+
type: "EthereumAuthorizationSignature",
|
|
31971
|
+
id: 5
|
|
32319
31972
|
}
|
|
32320
31973
|
}
|
|
32321
|
-
},
|
|
32322
|
-
EthereumDataTypeOneKey: {
|
|
32323
|
-
values: {
|
|
32324
|
-
UINT: 1,
|
|
32325
|
-
INT: 2,
|
|
32326
|
-
BYTES: 3,
|
|
32327
|
-
STRING: 4,
|
|
32328
|
-
BOOL: 5,
|
|
32329
|
-
ADDRESS: 6,
|
|
32330
|
-
ARRAY: 7,
|
|
32331
|
-
STRUCT: 8
|
|
32332
|
-
}
|
|
32333
31974
|
}
|
|
32334
31975
|
}
|
|
32335
31976
|
},
|
|
32336
|
-
|
|
31977
|
+
EthereumTxRequestOneKey: {
|
|
32337
31978
|
fields: {
|
|
32338
|
-
|
|
32339
|
-
rule: "repeated",
|
|
31979
|
+
data_length: {
|
|
32340
31980
|
type: "uint32",
|
|
32341
|
-
id: 1,
|
|
32342
|
-
options: {
|
|
32343
|
-
packed: false
|
|
32344
|
-
}
|
|
32345
|
-
}
|
|
32346
|
-
}
|
|
32347
|
-
},
|
|
32348
|
-
EthereumTypedDataValueAckOneKey: {
|
|
32349
|
-
fields: {
|
|
32350
|
-
value: {
|
|
32351
|
-
rule: "required",
|
|
32352
|
-
type: "bytes",
|
|
32353
31981
|
id: 1
|
|
32354
|
-
}
|
|
32355
|
-
|
|
32356
|
-
|
|
32357
|
-
|
|
32358
|
-
|
|
32359
|
-
|
|
32360
|
-
|
|
31982
|
+
},
|
|
31983
|
+
signature_v: {
|
|
31984
|
+
type: "uint32",
|
|
31985
|
+
id: 2
|
|
31986
|
+
},
|
|
31987
|
+
signature_r: {
|
|
31988
|
+
type: "bytes",
|
|
31989
|
+
id: 3
|
|
31990
|
+
},
|
|
31991
|
+
signature_s: {
|
|
31992
|
+
type: "bytes",
|
|
31993
|
+
id: 4
|
|
31994
|
+
},
|
|
31995
|
+
authorization_signatures: {
|
|
31996
|
+
rule: "repeated",
|
|
31997
|
+
type: "EthereumAuthorizationSignature",
|
|
31998
|
+
id: 10
|
|
31999
|
+
}
|
|
32361
32000
|
}
|
|
32362
32001
|
},
|
|
32363
|
-
|
|
32002
|
+
EthereumTxAckOneKey: {
|
|
32364
32003
|
fields: {
|
|
32004
|
+
data_chunk: {
|
|
32005
|
+
rule: "required",
|
|
32006
|
+
type: "bytes",
|
|
32007
|
+
id: 1
|
|
32008
|
+
}
|
|
32365
32009
|
}
|
|
32366
32010
|
},
|
|
32367
|
-
|
|
32011
|
+
EthereumSignMessageOneKey: {
|
|
32368
32012
|
fields: {
|
|
32369
|
-
|
|
32370
|
-
rule: "
|
|
32371
|
-
type: "
|
|
32372
|
-
id: 1
|
|
32013
|
+
address_n: {
|
|
32014
|
+
rule: "repeated",
|
|
32015
|
+
type: "uint32",
|
|
32016
|
+
id: 1,
|
|
32017
|
+
options: {
|
|
32018
|
+
packed: false
|
|
32019
|
+
}
|
|
32373
32020
|
},
|
|
32374
|
-
|
|
32021
|
+
message: {
|
|
32375
32022
|
rule: "required",
|
|
32376
32023
|
type: "bytes",
|
|
32377
32024
|
id: 2
|
|
32378
32025
|
},
|
|
32379
|
-
|
|
32380
|
-
type: "
|
|
32026
|
+
chain_id: {
|
|
32027
|
+
type: "uint64",
|
|
32381
32028
|
id: 3
|
|
32382
32029
|
},
|
|
32383
|
-
|
|
32384
|
-
|
|
32385
|
-
type: "EthereumGnosisSafeTxOperation",
|
|
32030
|
+
source_fingerprint: {
|
|
32031
|
+
type: "uint32",
|
|
32386
32032
|
id: 4
|
|
32387
|
-
}
|
|
32388
|
-
|
|
32033
|
+
}
|
|
32034
|
+
}
|
|
32035
|
+
},
|
|
32036
|
+
EthereumMessageSignatureOneKey: {
|
|
32037
|
+
fields: {
|
|
32038
|
+
signature: {
|
|
32389
32039
|
rule: "required",
|
|
32390
32040
|
type: "bytes",
|
|
32391
|
-
id:
|
|
32041
|
+
id: 2
|
|
32392
32042
|
},
|
|
32393
|
-
|
|
32043
|
+
address: {
|
|
32394
32044
|
rule: "required",
|
|
32395
|
-
type: "
|
|
32396
|
-
id:
|
|
32397
|
-
}
|
|
32398
|
-
|
|
32045
|
+
type: "string",
|
|
32046
|
+
id: 3
|
|
32047
|
+
}
|
|
32048
|
+
}
|
|
32049
|
+
},
|
|
32050
|
+
EthereumVerifyMessageOneKey: {
|
|
32051
|
+
fields: {
|
|
32052
|
+
signature: {
|
|
32399
32053
|
rule: "required",
|
|
32400
32054
|
type: "bytes",
|
|
32401
|
-
id:
|
|
32055
|
+
id: 2
|
|
32402
32056
|
},
|
|
32403
|
-
|
|
32057
|
+
message: {
|
|
32404
32058
|
rule: "required",
|
|
32405
|
-
type: "
|
|
32406
|
-
id:
|
|
32059
|
+
type: "bytes",
|
|
32060
|
+
id: 3
|
|
32407
32061
|
},
|
|
32408
|
-
|
|
32062
|
+
address: {
|
|
32409
32063
|
rule: "required",
|
|
32410
32064
|
type: "string",
|
|
32411
|
-
id:
|
|
32412
|
-
},
|
|
32413
|
-
nonce: {
|
|
32414
|
-
rule: "required",
|
|
32415
|
-
type: "bytes",
|
|
32416
|
-
id: 10
|
|
32065
|
+
id: 4
|
|
32417
32066
|
},
|
|
32418
32067
|
chain_id: {
|
|
32419
|
-
rule: "required",
|
|
32420
32068
|
type: "uint64",
|
|
32421
|
-
id:
|
|
32422
|
-
},
|
|
32423
|
-
verifyingContract: {
|
|
32424
|
-
rule: "required",
|
|
32425
|
-
type: "string",
|
|
32426
|
-
id: 12
|
|
32069
|
+
id: 5
|
|
32427
32070
|
}
|
|
32428
32071
|
}
|
|
32429
32072
|
},
|
|
32430
|
-
|
|
32073
|
+
EthereumSignTypedHashOneKey: {
|
|
32431
32074
|
fields: {
|
|
32432
32075
|
address_n: {
|
|
32433
32076
|
rule: "repeated",
|
|
@@ -32437,32 +32080,36 @@ var nested = {
|
|
|
32437
32080
|
packed: false
|
|
32438
32081
|
}
|
|
32439
32082
|
},
|
|
32440
|
-
|
|
32083
|
+
domain_separator_hash: {
|
|
32084
|
+
rule: "required",
|
|
32441
32085
|
type: "bytes",
|
|
32442
32086
|
id: 2
|
|
32443
32087
|
},
|
|
32444
|
-
|
|
32445
|
-
type: "
|
|
32088
|
+
message_hash: {
|
|
32089
|
+
type: "bytes",
|
|
32446
32090
|
id: 3
|
|
32447
32091
|
},
|
|
32448
|
-
|
|
32449
|
-
type: "
|
|
32450
|
-
id: 4
|
|
32451
|
-
|
|
32452
|
-
|
|
32453
|
-
|
|
32454
|
-
|
|
32455
|
-
|
|
32092
|
+
chain_id: {
|
|
32093
|
+
type: "uint64",
|
|
32094
|
+
id: 4
|
|
32095
|
+
}
|
|
32096
|
+
}
|
|
32097
|
+
},
|
|
32098
|
+
EthereumTypedDataSignatureOneKey: {
|
|
32099
|
+
fields: {
|
|
32100
|
+
signature: {
|
|
32101
|
+
rule: "required",
|
|
32456
32102
|
type: "bytes",
|
|
32457
|
-
id:
|
|
32103
|
+
id: 1
|
|
32458
32104
|
},
|
|
32459
|
-
|
|
32460
|
-
|
|
32461
|
-
|
|
32105
|
+
address: {
|
|
32106
|
+
rule: "required",
|
|
32107
|
+
type: "string",
|
|
32108
|
+
id: 2
|
|
32462
32109
|
}
|
|
32463
32110
|
}
|
|
32464
32111
|
},
|
|
32465
|
-
|
|
32112
|
+
EthereumGetPublicKey: {
|
|
32466
32113
|
fields: {
|
|
32467
32114
|
address_n: {
|
|
32468
32115
|
rule: "repeated",
|
|
@@ -32475,14 +32122,10 @@ var nested = {
|
|
|
32475
32122
|
show_display: {
|
|
32476
32123
|
type: "bool",
|
|
32477
32124
|
id: 2
|
|
32478
|
-
},
|
|
32479
|
-
chain_id: {
|
|
32480
|
-
type: "uint64",
|
|
32481
|
-
id: 3
|
|
32482
32125
|
}
|
|
32483
32126
|
}
|
|
32484
32127
|
},
|
|
32485
|
-
|
|
32128
|
+
EthereumPublicKey: {
|
|
32486
32129
|
fields: {
|
|
32487
32130
|
node: {
|
|
32488
32131
|
rule: "required",
|
|
@@ -32496,7 +32139,7 @@ var nested = {
|
|
|
32496
32139
|
}
|
|
32497
32140
|
}
|
|
32498
32141
|
},
|
|
32499
|
-
|
|
32142
|
+
EthereumGetAddress: {
|
|
32500
32143
|
fields: {
|
|
32501
32144
|
address_n: {
|
|
32502
32145
|
rule: "repeated",
|
|
@@ -32510,13 +32153,13 @@ var nested = {
|
|
|
32510
32153
|
type: "bool",
|
|
32511
32154
|
id: 2
|
|
32512
32155
|
},
|
|
32513
|
-
|
|
32514
|
-
type: "
|
|
32156
|
+
encoded_network: {
|
|
32157
|
+
type: "bytes",
|
|
32515
32158
|
id: 3
|
|
32516
32159
|
}
|
|
32517
32160
|
}
|
|
32518
32161
|
},
|
|
32519
|
-
|
|
32162
|
+
EthereumAddress: {
|
|
32520
32163
|
fields: {
|
|
32521
32164
|
_old_address: {
|
|
32522
32165
|
type: "bytes",
|
|
@@ -32531,7 +32174,7 @@ var nested = {
|
|
|
32531
32174
|
}
|
|
32532
32175
|
}
|
|
32533
32176
|
},
|
|
32534
|
-
|
|
32177
|
+
EthereumSignTx: {
|
|
32535
32178
|
fields: {
|
|
32536
32179
|
address_n: {
|
|
32537
32180
|
rule: "repeated",
|
|
@@ -32595,31 +32238,13 @@ var nested = {
|
|
|
32595
32238
|
type: "uint32",
|
|
32596
32239
|
id: 10
|
|
32597
32240
|
},
|
|
32598
|
-
|
|
32599
|
-
type: "
|
|
32241
|
+
definitions: {
|
|
32242
|
+
type: "EthereumDefinitions",
|
|
32600
32243
|
id: 12
|
|
32601
|
-
},
|
|
32602
|
-
source_fingerprint: {
|
|
32603
|
-
type: "uint32",
|
|
32604
|
-
id: 13
|
|
32605
|
-
}
|
|
32606
|
-
}
|
|
32607
|
-
},
|
|
32608
|
-
EthereumAccessListOneKey: {
|
|
32609
|
-
fields: {
|
|
32610
|
-
address: {
|
|
32611
|
-
rule: "required",
|
|
32612
|
-
type: "string",
|
|
32613
|
-
id: 1
|
|
32614
|
-
},
|
|
32615
|
-
storage_keys: {
|
|
32616
|
-
rule: "repeated",
|
|
32617
|
-
type: "bytes",
|
|
32618
|
-
id: 2
|
|
32619
32244
|
}
|
|
32620
32245
|
}
|
|
32621
32246
|
},
|
|
32622
|
-
|
|
32247
|
+
EthereumSignTxEIP1559: {
|
|
32623
32248
|
fields: {
|
|
32624
32249
|
address_n: {
|
|
32625
32250
|
rule: "repeated",
|
|
@@ -32680,141 +32305,32 @@ var nested = {
|
|
|
32680
32305
|
},
|
|
32681
32306
|
access_list: {
|
|
32682
32307
|
rule: "repeated",
|
|
32683
|
-
type: "
|
|
32684
|
-
id: 11
|
|
32685
|
-
},
|
|
32686
|
-
expected_address: {
|
|
32687
|
-
type: "bytes",
|
|
32688
|
-
id: 12
|
|
32689
|
-
},
|
|
32690
|
-
source_fingerprint: {
|
|
32691
|
-
type: "uint32",
|
|
32692
|
-
id: 13
|
|
32693
|
-
}
|
|
32694
|
-
}
|
|
32695
|
-
},
|
|
32696
|
-
EthereumAuthorizationSignature: {
|
|
32697
|
-
fields: {
|
|
32698
|
-
y_parity: {
|
|
32699
|
-
rule: "required",
|
|
32700
|
-
type: "uint32",
|
|
32701
|
-
id: 1
|
|
32702
|
-
},
|
|
32703
|
-
r: {
|
|
32704
|
-
rule: "required",
|
|
32705
|
-
type: "bytes",
|
|
32706
|
-
id: 2
|
|
32707
|
-
},
|
|
32708
|
-
s: {
|
|
32709
|
-
rule: "required",
|
|
32710
|
-
type: "bytes",
|
|
32711
|
-
id: 3
|
|
32712
|
-
}
|
|
32713
|
-
}
|
|
32714
|
-
},
|
|
32715
|
-
EthereumSignTxEIP7702OneKey: {
|
|
32716
|
-
fields: {
|
|
32717
|
-
address_n: {
|
|
32718
|
-
rule: "repeated",
|
|
32719
|
-
type: "uint32",
|
|
32720
|
-
id: 1,
|
|
32721
|
-
options: {
|
|
32722
|
-
packed: false
|
|
32723
|
-
}
|
|
32724
|
-
},
|
|
32725
|
-
nonce: {
|
|
32726
|
-
rule: "required",
|
|
32727
|
-
type: "bytes",
|
|
32728
|
-
id: 2
|
|
32729
|
-
},
|
|
32730
|
-
max_gas_fee: {
|
|
32731
|
-
rule: "required",
|
|
32732
|
-
type: "bytes",
|
|
32733
|
-
id: 3
|
|
32734
|
-
},
|
|
32735
|
-
max_priority_fee: {
|
|
32736
|
-
rule: "required",
|
|
32737
|
-
type: "bytes",
|
|
32738
|
-
id: 4
|
|
32739
|
-
},
|
|
32740
|
-
gas_limit: {
|
|
32741
|
-
rule: "required",
|
|
32742
|
-
type: "bytes",
|
|
32743
|
-
id: 5
|
|
32744
|
-
},
|
|
32745
|
-
to: {
|
|
32746
|
-
rule: "required",
|
|
32747
|
-
type: "string",
|
|
32748
|
-
id: 6
|
|
32749
|
-
},
|
|
32750
|
-
value: {
|
|
32751
|
-
rule: "required",
|
|
32752
|
-
type: "bytes",
|
|
32753
|
-
id: 7
|
|
32754
|
-
},
|
|
32755
|
-
data_initial_chunk: {
|
|
32756
|
-
type: "bytes",
|
|
32757
|
-
id: 8,
|
|
32758
|
-
options: {
|
|
32759
|
-
"default": ""
|
|
32760
|
-
}
|
|
32761
|
-
},
|
|
32762
|
-
data_length: {
|
|
32763
|
-
rule: "required",
|
|
32764
|
-
type: "uint32",
|
|
32765
|
-
id: 9
|
|
32766
|
-
},
|
|
32767
|
-
chain_id: {
|
|
32768
|
-
rule: "required",
|
|
32769
|
-
type: "uint64",
|
|
32770
|
-
id: 10
|
|
32771
|
-
},
|
|
32772
|
-
access_list: {
|
|
32773
|
-
rule: "repeated",
|
|
32774
|
-
type: "EthereumAccessListOneKey",
|
|
32308
|
+
type: "EthereumAccessList",
|
|
32775
32309
|
id: 11
|
|
32776
|
-
},
|
|
32777
|
-
|
|
32778
|
-
|
|
32779
|
-
type: "EthereumAuthorizationOneKey",
|
|
32310
|
+
},
|
|
32311
|
+
definitions: {
|
|
32312
|
+
type: "EthereumDefinitions",
|
|
32780
32313
|
id: 12
|
|
32781
32314
|
}
|
|
32782
32315
|
},
|
|
32783
32316
|
nested: {
|
|
32784
|
-
|
|
32317
|
+
EthereumAccessList: {
|
|
32785
32318
|
fields: {
|
|
32786
|
-
address_n: {
|
|
32787
|
-
rule: "repeated",
|
|
32788
|
-
type: "uint32",
|
|
32789
|
-
id: 1,
|
|
32790
|
-
options: {
|
|
32791
|
-
packed: false
|
|
32792
|
-
}
|
|
32793
|
-
},
|
|
32794
|
-
chain_id: {
|
|
32795
|
-
rule: "required",
|
|
32796
|
-
type: "uint64",
|
|
32797
|
-
id: 2
|
|
32798
|
-
},
|
|
32799
32319
|
address: {
|
|
32800
32320
|
rule: "required",
|
|
32801
32321
|
type: "string",
|
|
32802
|
-
id:
|
|
32322
|
+
id: 1
|
|
32803
32323
|
},
|
|
32804
|
-
|
|
32805
|
-
rule: "
|
|
32324
|
+
storage_keys: {
|
|
32325
|
+
rule: "repeated",
|
|
32806
32326
|
type: "bytes",
|
|
32807
|
-
id:
|
|
32808
|
-
},
|
|
32809
|
-
signature: {
|
|
32810
|
-
type: "EthereumAuthorizationSignature",
|
|
32811
|
-
id: 5
|
|
32327
|
+
id: 2
|
|
32812
32328
|
}
|
|
32813
32329
|
}
|
|
32814
32330
|
}
|
|
32815
32331
|
}
|
|
32816
32332
|
},
|
|
32817
|
-
|
|
32333
|
+
EthereumTxRequest: {
|
|
32818
32334
|
fields: {
|
|
32819
32335
|
data_length: {
|
|
32820
32336
|
type: "uint32",
|
|
@@ -32831,15 +32347,10 @@ var nested = {
|
|
|
32831
32347
|
signature_s: {
|
|
32832
32348
|
type: "bytes",
|
|
32833
32349
|
id: 4
|
|
32834
|
-
},
|
|
32835
|
-
authorization_signatures: {
|
|
32836
|
-
rule: "repeated",
|
|
32837
|
-
type: "EthereumAuthorizationSignature",
|
|
32838
|
-
id: 10
|
|
32839
32350
|
}
|
|
32840
32351
|
}
|
|
32841
32352
|
},
|
|
32842
|
-
|
|
32353
|
+
EthereumTxAck: {
|
|
32843
32354
|
fields: {
|
|
32844
32355
|
data_chunk: {
|
|
32845
32356
|
rule: "required",
|
|
@@ -32848,7 +32359,7 @@ var nested = {
|
|
|
32848
32359
|
}
|
|
32849
32360
|
}
|
|
32850
32361
|
},
|
|
32851
|
-
|
|
32362
|
+
EthereumSignMessage: {
|
|
32852
32363
|
fields: {
|
|
32853
32364
|
address_n: {
|
|
32854
32365
|
rule: "repeated",
|
|
@@ -32863,17 +32374,13 @@ var nested = {
|
|
|
32863
32374
|
type: "bytes",
|
|
32864
32375
|
id: 2
|
|
32865
32376
|
},
|
|
32866
|
-
|
|
32867
|
-
type: "
|
|
32377
|
+
encoded_network: {
|
|
32378
|
+
type: "bytes",
|
|
32868
32379
|
id: 3
|
|
32869
|
-
},
|
|
32870
|
-
source_fingerprint: {
|
|
32871
|
-
type: "uint32",
|
|
32872
|
-
id: 4
|
|
32873
32380
|
}
|
|
32874
32381
|
}
|
|
32875
32382
|
},
|
|
32876
|
-
|
|
32383
|
+
EthereumMessageSignature: {
|
|
32877
32384
|
fields: {
|
|
32878
32385
|
signature: {
|
|
32879
32386
|
rule: "required",
|
|
@@ -32887,7 +32394,7 @@ var nested = {
|
|
|
32887
32394
|
}
|
|
32888
32395
|
}
|
|
32889
32396
|
},
|
|
32890
|
-
|
|
32397
|
+
EthereumVerifyMessage: {
|
|
32891
32398
|
fields: {
|
|
32892
32399
|
signature: {
|
|
32893
32400
|
rule: "required",
|
|
@@ -32903,14 +32410,10 @@ var nested = {
|
|
|
32903
32410
|
rule: "required",
|
|
32904
32411
|
type: "string",
|
|
32905
32412
|
id: 4
|
|
32906
|
-
},
|
|
32907
|
-
chain_id: {
|
|
32908
|
-
type: "uint64",
|
|
32909
|
-
id: 5
|
|
32910
32413
|
}
|
|
32911
32414
|
}
|
|
32912
32415
|
},
|
|
32913
|
-
|
|
32416
|
+
EthereumSignTypedHash: {
|
|
32914
32417
|
fields: {
|
|
32915
32418
|
address_n: {
|
|
32916
32419
|
rule: "repeated",
|
|
@@ -32929,13 +32432,13 @@ var nested = {
|
|
|
32929
32432
|
type: "bytes",
|
|
32930
32433
|
id: 3
|
|
32931
32434
|
},
|
|
32932
|
-
|
|
32933
|
-
type: "
|
|
32435
|
+
encoded_network: {
|
|
32436
|
+
type: "bytes",
|
|
32934
32437
|
id: 4
|
|
32935
32438
|
}
|
|
32936
32439
|
}
|
|
32937
32440
|
},
|
|
32938
|
-
|
|
32441
|
+
EthereumTypedDataSignature: {
|
|
32939
32442
|
fields: {
|
|
32940
32443
|
signature: {
|
|
32941
32444
|
rule: "required",
|
|
@@ -38557,60 +38060,557 @@ var nested = {
|
|
|
38557
38060
|
id: 1
|
|
38558
38061
|
}
|
|
38559
38062
|
},
|
|
38560
|
-
nested: {
|
|
38561
|
-
WebAuthnCredential: {
|
|
38562
|
-
fields: {
|
|
38563
|
-
index: {
|
|
38564
|
-
type: "uint32",
|
|
38565
|
-
id: 1
|
|
38566
|
-
},
|
|
38567
|
-
id: {
|
|
38568
|
-
type: "bytes",
|
|
38569
|
-
id: 2
|
|
38570
|
-
},
|
|
38571
|
-
rp_id: {
|
|
38572
|
-
type: "string",
|
|
38573
|
-
id: 3
|
|
38574
|
-
},
|
|
38575
|
-
rp_name: {
|
|
38576
|
-
type: "string",
|
|
38577
|
-
id: 4
|
|
38578
|
-
},
|
|
38579
|
-
user_id: {
|
|
38580
|
-
type: "bytes",
|
|
38581
|
-
id: 5
|
|
38582
|
-
},
|
|
38583
|
-
user_name: {
|
|
38584
|
-
type: "string",
|
|
38585
|
-
id: 6
|
|
38586
|
-
},
|
|
38587
|
-
user_display_name: {
|
|
38588
|
-
type: "string",
|
|
38589
|
-
id: 7
|
|
38590
|
-
},
|
|
38591
|
-
creation_time: {
|
|
38592
|
-
type: "uint32",
|
|
38593
|
-
id: 8
|
|
38594
|
-
},
|
|
38595
|
-
hmac_secret: {
|
|
38596
|
-
type: "bool",
|
|
38597
|
-
id: 9
|
|
38598
|
-
},
|
|
38599
|
-
use_sign_count: {
|
|
38600
|
-
type: "bool",
|
|
38601
|
-
id: 10
|
|
38602
|
-
},
|
|
38603
|
-
algorithm: {
|
|
38604
|
-
type: "sint32",
|
|
38605
|
-
id: 11
|
|
38606
|
-
},
|
|
38607
|
-
curve: {
|
|
38608
|
-
type: "sint32",
|
|
38609
|
-
id: 12
|
|
38610
|
-
}
|
|
38611
|
-
}
|
|
38612
|
-
}
|
|
38613
|
-
}
|
|
38063
|
+
nested: {
|
|
38064
|
+
WebAuthnCredential: {
|
|
38065
|
+
fields: {
|
|
38066
|
+
index: {
|
|
38067
|
+
type: "uint32",
|
|
38068
|
+
id: 1
|
|
38069
|
+
},
|
|
38070
|
+
id: {
|
|
38071
|
+
type: "bytes",
|
|
38072
|
+
id: 2
|
|
38073
|
+
},
|
|
38074
|
+
rp_id: {
|
|
38075
|
+
type: "string",
|
|
38076
|
+
id: 3
|
|
38077
|
+
},
|
|
38078
|
+
rp_name: {
|
|
38079
|
+
type: "string",
|
|
38080
|
+
id: 4
|
|
38081
|
+
},
|
|
38082
|
+
user_id: {
|
|
38083
|
+
type: "bytes",
|
|
38084
|
+
id: 5
|
|
38085
|
+
},
|
|
38086
|
+
user_name: {
|
|
38087
|
+
type: "string",
|
|
38088
|
+
id: 6
|
|
38089
|
+
},
|
|
38090
|
+
user_display_name: {
|
|
38091
|
+
type: "string",
|
|
38092
|
+
id: 7
|
|
38093
|
+
},
|
|
38094
|
+
creation_time: {
|
|
38095
|
+
type: "uint32",
|
|
38096
|
+
id: 8
|
|
38097
|
+
},
|
|
38098
|
+
hmac_secret: {
|
|
38099
|
+
type: "bool",
|
|
38100
|
+
id: 9
|
|
38101
|
+
},
|
|
38102
|
+
use_sign_count: {
|
|
38103
|
+
type: "bool",
|
|
38104
|
+
id: 10
|
|
38105
|
+
},
|
|
38106
|
+
algorithm: {
|
|
38107
|
+
type: "sint32",
|
|
38108
|
+
id: 11
|
|
38109
|
+
},
|
|
38110
|
+
curve: {
|
|
38111
|
+
type: "sint32",
|
|
38112
|
+
id: 12
|
|
38113
|
+
}
|
|
38114
|
+
}
|
|
38115
|
+
}
|
|
38116
|
+
}
|
|
38117
|
+
},
|
|
38118
|
+
wire_in: {
|
|
38119
|
+
type: "bool",
|
|
38120
|
+
id: 50002,
|
|
38121
|
+
extend: "google.protobuf.EnumValueOptions"
|
|
38122
|
+
},
|
|
38123
|
+
wire_out: {
|
|
38124
|
+
type: "bool",
|
|
38125
|
+
id: 50003,
|
|
38126
|
+
extend: "google.protobuf.EnumValueOptions"
|
|
38127
|
+
},
|
|
38128
|
+
wire_debug_in: {
|
|
38129
|
+
type: "bool",
|
|
38130
|
+
id: 50004,
|
|
38131
|
+
extend: "google.protobuf.EnumValueOptions"
|
|
38132
|
+
},
|
|
38133
|
+
wire_debug_out: {
|
|
38134
|
+
type: "bool",
|
|
38135
|
+
id: 50005,
|
|
38136
|
+
extend: "google.protobuf.EnumValueOptions"
|
|
38137
|
+
},
|
|
38138
|
+
wire_tiny: {
|
|
38139
|
+
type: "bool",
|
|
38140
|
+
id: 50006,
|
|
38141
|
+
extend: "google.protobuf.EnumValueOptions"
|
|
38142
|
+
},
|
|
38143
|
+
wire_bootloader: {
|
|
38144
|
+
type: "bool",
|
|
38145
|
+
id: 50007,
|
|
38146
|
+
extend: "google.protobuf.EnumValueOptions"
|
|
38147
|
+
},
|
|
38148
|
+
wire_no_fsm: {
|
|
38149
|
+
type: "bool",
|
|
38150
|
+
id: 50008,
|
|
38151
|
+
extend: "google.protobuf.EnumValueOptions"
|
|
38152
|
+
},
|
|
38153
|
+
bitcoin_only: {
|
|
38154
|
+
type: "bool",
|
|
38155
|
+
id: 60000,
|
|
38156
|
+
extend: "google.protobuf.EnumValueOptions"
|
|
38157
|
+
},
|
|
38158
|
+
has_bitcoin_only_values: {
|
|
38159
|
+
type: "bool",
|
|
38160
|
+
id: 51001,
|
|
38161
|
+
extend: "google.protobuf.EnumOptions"
|
|
38162
|
+
},
|
|
38163
|
+
experimental_message: {
|
|
38164
|
+
type: "bool",
|
|
38165
|
+
id: 52001,
|
|
38166
|
+
extend: "google.protobuf.MessageOptions"
|
|
38167
|
+
},
|
|
38168
|
+
wire_type: {
|
|
38169
|
+
type: "uint32",
|
|
38170
|
+
id: 52002,
|
|
38171
|
+
extend: "google.protobuf.MessageOptions"
|
|
38172
|
+
},
|
|
38173
|
+
experimental_field: {
|
|
38174
|
+
type: "bool",
|
|
38175
|
+
id: 53001,
|
|
38176
|
+
extend: "google.protobuf.FieldOptions"
|
|
38177
|
+
},
|
|
38178
|
+
include_in_bitcoin_only: {
|
|
38179
|
+
type: "bool",
|
|
38180
|
+
id: 60000,
|
|
38181
|
+
extend: "google.protobuf.FileOptions"
|
|
38182
|
+
},
|
|
38183
|
+
MessageType: {
|
|
38184
|
+
options: {
|
|
38185
|
+
"(has_bitcoin_only_values)": true
|
|
38186
|
+
},
|
|
38187
|
+
values: {
|
|
38188
|
+
MessageType_Initialize: 0,
|
|
38189
|
+
MessageType_ChangePin: 4,
|
|
38190
|
+
MessageType_WipeDevice: 5,
|
|
38191
|
+
MessageType_GetEntropy: 9,
|
|
38192
|
+
MessageType_Entropy: 10,
|
|
38193
|
+
MessageType_LoadDevice: 13,
|
|
38194
|
+
MessageType_ResetDevice: 14,
|
|
38195
|
+
MessageType_SetBusy: 16,
|
|
38196
|
+
MessageType_Features: 17,
|
|
38197
|
+
MessageType_Cancel: 20,
|
|
38198
|
+
MessageType_LockDevice: 24,
|
|
38199
|
+
MessageType_ApplySettings: 25,
|
|
38200
|
+
MessageType_ButtonRequest: 26,
|
|
38201
|
+
MessageType_ButtonAck: 27,
|
|
38202
|
+
MessageType_ApplyFlags: 28,
|
|
38203
|
+
MessageType_GetNonce: 31,
|
|
38204
|
+
MessageType_Nonce: 33,
|
|
38205
|
+
MessageType_BackupDevice: 34,
|
|
38206
|
+
MessageType_EntropyRequest: 35,
|
|
38207
|
+
MessageType_EntropyAck: 36,
|
|
38208
|
+
MessageType_PassphraseRequest: 41,
|
|
38209
|
+
MessageType_PassphraseAck: 42,
|
|
38210
|
+
MessageType_RecoveryDevice: 45,
|
|
38211
|
+
MessageType_WordRequest: 46,
|
|
38212
|
+
MessageType_WordAck: 47,
|
|
38213
|
+
MessageType_GetFeatures: 55,
|
|
38214
|
+
MessageType_SdProtect: 79,
|
|
38215
|
+
MessageType_ChangeWipeCode: 82,
|
|
38216
|
+
MessageType_DoPreauthorized: 84,
|
|
38217
|
+
MessageType_PreauthorizedRequest: 85,
|
|
38218
|
+
MessageType_CancelAuthorization: 86,
|
|
38219
|
+
MessageType_GetFirmwareHash: 88,
|
|
38220
|
+
MessageType_FirmwareHash: 89,
|
|
38221
|
+
MessageType_UnlockPath: 93,
|
|
38222
|
+
MessageType_UnlockedPathRequest: 94,
|
|
38223
|
+
MessageType_SetU2FCounter: 63,
|
|
38224
|
+
MessageType_GetNextU2FCounter: 80,
|
|
38225
|
+
MessageType_NextU2FCounter: 81,
|
|
38226
|
+
MessageType_Deprecated_PassphraseStateRequest: 77,
|
|
38227
|
+
MessageType_Deprecated_PassphraseStateAck: 78,
|
|
38228
|
+
MessageType_GetPublicKey: 11,
|
|
38229
|
+
MessageType_PublicKey: 12,
|
|
38230
|
+
MessageType_SignTx: 15,
|
|
38231
|
+
MessageType_TxRequest: 21,
|
|
38232
|
+
MessageType_TxAck: 22,
|
|
38233
|
+
MessageType_GetAddress: 29,
|
|
38234
|
+
MessageType_Address: 30,
|
|
38235
|
+
MessageType_TxAckPaymentRequest: 37,
|
|
38236
|
+
MessageType_SignMessage: 38,
|
|
38237
|
+
MessageType_VerifyMessage: 39,
|
|
38238
|
+
MessageType_MessageSignature: 40,
|
|
38239
|
+
MessageType_GetOwnershipId: 43,
|
|
38240
|
+
MessageType_OwnershipId: 44,
|
|
38241
|
+
MessageType_GetOwnershipProof: 49,
|
|
38242
|
+
MessageType_OwnershipProof: 50,
|
|
38243
|
+
MessageType_AuthorizeCoinJoin: 51,
|
|
38244
|
+
MessageType_SignPsbt: 10052,
|
|
38245
|
+
MessageType_SignedPsbt: 10053,
|
|
38246
|
+
MessageType_CipherKeyValue: 23,
|
|
38247
|
+
MessageType_CipheredKeyValue: 48,
|
|
38248
|
+
MessageType_SignIdentity: 53,
|
|
38249
|
+
MessageType_SignedIdentity: 54,
|
|
38250
|
+
MessageType_GetECDHSessionKey: 61,
|
|
38251
|
+
MessageType_ECDHSessionKey: 62,
|
|
38252
|
+
MessageType_CosiCommit: 71,
|
|
38253
|
+
MessageType_CosiCommitment: 72,
|
|
38254
|
+
MessageType_CosiSign: 73,
|
|
38255
|
+
MessageType_CosiSignature: 74,
|
|
38256
|
+
MessageType_BatchGetPublickeys: 10016,
|
|
38257
|
+
MessageType_EcdsaPublicKeys: 10017,
|
|
38258
|
+
MessageType_EthereumGetPublicKey: 450,
|
|
38259
|
+
MessageType_EthereumPublicKey: 451,
|
|
38260
|
+
MessageType_EthereumGetAddress: 56,
|
|
38261
|
+
MessageType_EthereumAddress: 57,
|
|
38262
|
+
MessageType_EthereumSignTx: 58,
|
|
38263
|
+
MessageType_EthereumSignTxEIP1559: 452,
|
|
38264
|
+
MessageType_EthereumTxRequest: 59,
|
|
38265
|
+
MessageType_EthereumTxAck: 60,
|
|
38266
|
+
MessageType_EthereumSignMessage: 64,
|
|
38267
|
+
MessageType_EthereumVerifyMessage: 65,
|
|
38268
|
+
MessageType_EthereumMessageSignature: 66,
|
|
38269
|
+
MessageType_EthereumSignTypedData: 464,
|
|
38270
|
+
MessageType_EthereumTypedDataStructRequest: 465,
|
|
38271
|
+
MessageType_EthereumTypedDataStructAck: 466,
|
|
38272
|
+
MessageType_EthereumTypedDataValueRequest: 467,
|
|
38273
|
+
MessageType_EthereumTypedDataValueAck: 468,
|
|
38274
|
+
MessageType_EthereumTypedDataSignature: 469,
|
|
38275
|
+
MessageType_EthereumSignTypedHash: 470,
|
|
38276
|
+
MessageType_EthereumGetPublicKeyOneKey: 20100,
|
|
38277
|
+
MessageType_EthereumPublicKeyOneKey: 20101,
|
|
38278
|
+
MessageType_EthereumGetAddressOneKey: 20102,
|
|
38279
|
+
MessageType_EthereumAddressOneKey: 20103,
|
|
38280
|
+
MessageType_EthereumSignTxOneKey: 20104,
|
|
38281
|
+
MessageType_EthereumSignTxEIP1559OneKey: 20105,
|
|
38282
|
+
MessageType_EthereumTxRequestOneKey: 20106,
|
|
38283
|
+
MessageType_EthereumTxAckOneKey: 20107,
|
|
38284
|
+
MessageType_EthereumSignMessageOneKey: 20108,
|
|
38285
|
+
MessageType_EthereumVerifyMessageOneKey: 20109,
|
|
38286
|
+
MessageType_EthereumMessageSignatureOneKey: 20110,
|
|
38287
|
+
MessageType_EthereumSignTypedDataOneKey: 20111,
|
|
38288
|
+
MessageType_EthereumTypedDataStructRequestOneKey: 20112,
|
|
38289
|
+
MessageType_EthereumTypedDataStructAckOneKey: 20113,
|
|
38290
|
+
MessageType_EthereumTypedDataValueRequestOneKey: 20114,
|
|
38291
|
+
MessageType_EthereumTypedDataValueAckOneKey: 20115,
|
|
38292
|
+
MessageType_EthereumTypedDataSignatureOneKey: 20116,
|
|
38293
|
+
MessageType_EthereumSignTypedHashOneKey: 20117,
|
|
38294
|
+
MessageType_EthereumGnosisSafeTxAck: 20118,
|
|
38295
|
+
MessageType_EthereumGnosisSafeTxRequest: 20119,
|
|
38296
|
+
MessageType_EthereumSignTxEIP7702OneKey: 20120,
|
|
38297
|
+
MessageType_EthereumSignTypedDataQR: 20121,
|
|
38298
|
+
MessageType_NEMGetAddress: 67,
|
|
38299
|
+
MessageType_NEMAddress: 68,
|
|
38300
|
+
MessageType_NEMSignTx: 69,
|
|
38301
|
+
MessageType_NEMSignedTx: 70,
|
|
38302
|
+
MessageType_NEMDecryptMessage: 75,
|
|
38303
|
+
MessageType_NEMDecryptedMessage: 76,
|
|
38304
|
+
MessageType_TezosGetAddress: 150,
|
|
38305
|
+
MessageType_TezosAddress: 151,
|
|
38306
|
+
MessageType_TezosSignTx: 152,
|
|
38307
|
+
MessageType_TezosSignedTx: 153,
|
|
38308
|
+
MessageType_TezosGetPublicKey: 154,
|
|
38309
|
+
MessageType_TezosPublicKey: 155,
|
|
38310
|
+
MessageType_StellarSignTx: 202,
|
|
38311
|
+
MessageType_StellarTxOpRequest: 203,
|
|
38312
|
+
MessageType_StellarGetAddress: 207,
|
|
38313
|
+
MessageType_StellarAddress: 208,
|
|
38314
|
+
MessageType_StellarCreateAccountOp: 210,
|
|
38315
|
+
MessageType_StellarPaymentOp: 211,
|
|
38316
|
+
MessageType_StellarPathPaymentStrictReceiveOp: 212,
|
|
38317
|
+
MessageType_StellarManageSellOfferOp: 213,
|
|
38318
|
+
MessageType_StellarCreatePassiveSellOfferOp: 214,
|
|
38319
|
+
MessageType_StellarSetOptionsOp: 215,
|
|
38320
|
+
MessageType_StellarChangeTrustOp: 216,
|
|
38321
|
+
MessageType_StellarAllowTrustOp: 217,
|
|
38322
|
+
MessageType_StellarAccountMergeOp: 218,
|
|
38323
|
+
MessageType_StellarManageDataOp: 220,
|
|
38324
|
+
MessageType_StellarBumpSequenceOp: 221,
|
|
38325
|
+
MessageType_StellarManageBuyOfferOp: 222,
|
|
38326
|
+
MessageType_StellarPathPaymentStrictSendOp: 223,
|
|
38327
|
+
MessageType_StellarSignedTx: 230,
|
|
38328
|
+
MessageType_CardanoGetPublicKey: 305,
|
|
38329
|
+
MessageType_CardanoPublicKey: 306,
|
|
38330
|
+
MessageType_CardanoGetAddress: 307,
|
|
38331
|
+
MessageType_CardanoAddress: 308,
|
|
38332
|
+
MessageType_CardanoTxItemAck: 313,
|
|
38333
|
+
MessageType_CardanoTxAuxiliaryDataSupplement: 314,
|
|
38334
|
+
MessageType_CardanoTxWitnessRequest: 315,
|
|
38335
|
+
MessageType_CardanoTxWitnessResponse: 316,
|
|
38336
|
+
MessageType_CardanoTxHostAck: 317,
|
|
38337
|
+
MessageType_CardanoTxBodyHash: 318,
|
|
38338
|
+
MessageType_CardanoSignTxFinished: 319,
|
|
38339
|
+
MessageType_CardanoSignTxInit: 320,
|
|
38340
|
+
MessageType_CardanoTxInput: 321,
|
|
38341
|
+
MessageType_CardanoTxOutput: 322,
|
|
38342
|
+
MessageType_CardanoAssetGroup: 323,
|
|
38343
|
+
MessageType_CardanoToken: 324,
|
|
38344
|
+
MessageType_CardanoTxCertificate: 325,
|
|
38345
|
+
MessageType_CardanoTxWithdrawal: 326,
|
|
38346
|
+
MessageType_CardanoTxAuxiliaryData: 327,
|
|
38347
|
+
MessageType_CardanoPoolOwner: 328,
|
|
38348
|
+
MessageType_CardanoPoolRelayParameters: 329,
|
|
38349
|
+
MessageType_CardanoGetNativeScriptHash: 330,
|
|
38350
|
+
MessageType_CardanoNativeScriptHash: 331,
|
|
38351
|
+
MessageType_CardanoTxMint: 332,
|
|
38352
|
+
MessageType_CardanoTxCollateralInput: 333,
|
|
38353
|
+
MessageType_CardanoTxRequiredSigner: 334,
|
|
38354
|
+
MessageType_CardanoTxInlineDatumChunk: 335,
|
|
38355
|
+
MessageType_CardanoTxReferenceScriptChunk: 336,
|
|
38356
|
+
MessageType_CardanoTxReferenceInput: 337,
|
|
38357
|
+
MessageType_CardanoSignMessage: 350,
|
|
38358
|
+
MessageType_CardanoMessageSignature: 351,
|
|
38359
|
+
MessageType_RippleGetAddress: 400,
|
|
38360
|
+
MessageType_RippleAddress: 401,
|
|
38361
|
+
MessageType_RippleSignTx: 402,
|
|
38362
|
+
MessageType_RippleSignedTx: 403,
|
|
38363
|
+
MessageType_MoneroTransactionInitRequest: 501,
|
|
38364
|
+
MessageType_MoneroTransactionInitAck: 502,
|
|
38365
|
+
MessageType_MoneroTransactionSetInputRequest: 503,
|
|
38366
|
+
MessageType_MoneroTransactionSetInputAck: 504,
|
|
38367
|
+
MessageType_MoneroTransactionInputViniRequest: 507,
|
|
38368
|
+
MessageType_MoneroTransactionInputViniAck: 508,
|
|
38369
|
+
MessageType_MoneroTransactionAllInputsSetRequest: 509,
|
|
38370
|
+
MessageType_MoneroTransactionAllInputsSetAck: 510,
|
|
38371
|
+
MessageType_MoneroTransactionSetOutputRequest: 511,
|
|
38372
|
+
MessageType_MoneroTransactionSetOutputAck: 512,
|
|
38373
|
+
MessageType_MoneroTransactionAllOutSetRequest: 513,
|
|
38374
|
+
MessageType_MoneroTransactionAllOutSetAck: 514,
|
|
38375
|
+
MessageType_MoneroTransactionSignInputRequest: 515,
|
|
38376
|
+
MessageType_MoneroTransactionSignInputAck: 516,
|
|
38377
|
+
MessageType_MoneroTransactionFinalRequest: 517,
|
|
38378
|
+
MessageType_MoneroTransactionFinalAck: 518,
|
|
38379
|
+
MessageType_MoneroKeyImageExportInitRequest: 530,
|
|
38380
|
+
MessageType_MoneroKeyImageExportInitAck: 531,
|
|
38381
|
+
MessageType_MoneroKeyImageSyncStepRequest: 532,
|
|
38382
|
+
MessageType_MoneroKeyImageSyncStepAck: 533,
|
|
38383
|
+
MessageType_MoneroKeyImageSyncFinalRequest: 534,
|
|
38384
|
+
MessageType_MoneroKeyImageSyncFinalAck: 535,
|
|
38385
|
+
MessageType_MoneroGetAddress: 540,
|
|
38386
|
+
MessageType_MoneroAddress: 541,
|
|
38387
|
+
MessageType_MoneroGetWatchKey: 542,
|
|
38388
|
+
MessageType_MoneroWatchKey: 543,
|
|
38389
|
+
MessageType_DebugMoneroDiagRequest: 546,
|
|
38390
|
+
MessageType_DebugMoneroDiagAck: 547,
|
|
38391
|
+
MessageType_MoneroGetTxKeyRequest: 550,
|
|
38392
|
+
MessageType_MoneroGetTxKeyAck: 551,
|
|
38393
|
+
MessageType_MoneroLiveRefreshStartRequest: 552,
|
|
38394
|
+
MessageType_MoneroLiveRefreshStartAck: 553,
|
|
38395
|
+
MessageType_MoneroLiveRefreshStepRequest: 554,
|
|
38396
|
+
MessageType_MoneroLiveRefreshStepAck: 555,
|
|
38397
|
+
MessageType_MoneroLiveRefreshFinalRequest: 556,
|
|
38398
|
+
MessageType_MoneroLiveRefreshFinalAck: 557,
|
|
38399
|
+
MessageType_EosGetPublicKey: 600,
|
|
38400
|
+
MessageType_EosPublicKey: 601,
|
|
38401
|
+
MessageType_EosSignTx: 602,
|
|
38402
|
+
MessageType_EosTxActionRequest: 603,
|
|
38403
|
+
MessageType_EosTxActionAck: 604,
|
|
38404
|
+
MessageType_EosSignedTx: 605,
|
|
38405
|
+
MessageType_BinanceGetAddress: 700,
|
|
38406
|
+
MessageType_BinanceAddress: 701,
|
|
38407
|
+
MessageType_BinanceGetPublicKey: 702,
|
|
38408
|
+
MessageType_BinancePublicKey: 703,
|
|
38409
|
+
MessageType_BinanceSignTx: 704,
|
|
38410
|
+
MessageType_BinanceTxRequest: 705,
|
|
38411
|
+
MessageType_BinanceTransferMsg: 706,
|
|
38412
|
+
MessageType_BinanceOrderMsg: 707,
|
|
38413
|
+
MessageType_BinanceCancelMsg: 708,
|
|
38414
|
+
MessageType_BinanceSignedTx: 709,
|
|
38415
|
+
MessageType_StarcoinGetAddress: 10300,
|
|
38416
|
+
MessageType_StarcoinAddress: 10301,
|
|
38417
|
+
MessageType_StarcoinGetPublicKey: 10302,
|
|
38418
|
+
MessageType_StarcoinPublicKey: 10303,
|
|
38419
|
+
MessageType_StarcoinSignTx: 10304,
|
|
38420
|
+
MessageType_StarcoinSignedTx: 10305,
|
|
38421
|
+
MessageType_StarcoinSignMessage: 10306,
|
|
38422
|
+
MessageType_StarcoinMessageSignature: 10307,
|
|
38423
|
+
MessageType_StarcoinVerifyMessage: 10308,
|
|
38424
|
+
MessageType_ConfluxGetAddress: 10112,
|
|
38425
|
+
MessageType_ConfluxAddress: 10113,
|
|
38426
|
+
MessageType_ConfluxSignTx: 10114,
|
|
38427
|
+
MessageType_ConfluxTxRequest: 10115,
|
|
38428
|
+
MessageType_ConfluxTxAck: 10116,
|
|
38429
|
+
MessageType_ConfluxSignMessage: 10117,
|
|
38430
|
+
MessageType_ConfluxSignMessageCIP23: 10118,
|
|
38431
|
+
MessageType_ConfluxMessageSignature: 10119,
|
|
38432
|
+
MessageType_TronGetAddress: 10501,
|
|
38433
|
+
MessageType_TronAddress: 10502,
|
|
38434
|
+
MessageType_TronSignTx: 10503,
|
|
38435
|
+
MessageType_TronSignedTx: 10504,
|
|
38436
|
+
MessageType_TronSignMessage: 10505,
|
|
38437
|
+
MessageType_TronMessageSignature: 10506,
|
|
38438
|
+
MessageType_NearGetAddress: 10701,
|
|
38439
|
+
MessageType_NearAddress: 10702,
|
|
38440
|
+
MessageType_NearSignTx: 10703,
|
|
38441
|
+
MessageType_NearSignedTx: 10704,
|
|
38442
|
+
MessageType_AptosGetAddress: 10600,
|
|
38443
|
+
MessageType_AptosAddress: 10601,
|
|
38444
|
+
MessageType_AptosSignTx: 10602,
|
|
38445
|
+
MessageType_AptosSignedTx: 10603,
|
|
38446
|
+
MessageType_AptosSignMessage: 10604,
|
|
38447
|
+
MessageType_AptosMessageSignature: 10605,
|
|
38448
|
+
MessageType_AptosSignSIWAMessage: 10606,
|
|
38449
|
+
MessageType_WebAuthnListResidentCredentials: 800,
|
|
38450
|
+
MessageType_WebAuthnCredentials: 801,
|
|
38451
|
+
MessageType_WebAuthnAddResidentCredential: 802,
|
|
38452
|
+
MessageType_WebAuthnRemoveResidentCredential: 803,
|
|
38453
|
+
MessageType_SolanaGetAddress: 10100,
|
|
38454
|
+
MessageType_SolanaAddress: 10101,
|
|
38455
|
+
MessageType_SolanaSignTx: 10102,
|
|
38456
|
+
MessageType_SolanaSignedTx: 10103,
|
|
38457
|
+
MessageType_SolanaSignOffChainMessage: 10104,
|
|
38458
|
+
MessageType_SolanaMessageSignature: 10105,
|
|
38459
|
+
MessageType_SolanaSignUnsafeMessage: 10106,
|
|
38460
|
+
MessageType_CosmosGetAddress: 10800,
|
|
38461
|
+
MessageType_CosmosAddress: 10801,
|
|
38462
|
+
MessageType_CosmosSignTx: 10802,
|
|
38463
|
+
MessageType_CosmosSignedTx: 10803,
|
|
38464
|
+
MessageType_AlgorandGetAddress: 10900,
|
|
38465
|
+
MessageType_AlgorandAddress: 10901,
|
|
38466
|
+
MessageType_AlgorandSignTx: 10902,
|
|
38467
|
+
MessageType_AlgorandSignedTx: 10903,
|
|
38468
|
+
MessageType_PolkadotGetAddress: 11000,
|
|
38469
|
+
MessageType_PolkadotAddress: 11001,
|
|
38470
|
+
MessageType_PolkadotSignTx: 11002,
|
|
38471
|
+
MessageType_PolkadotSignedTx: 11003,
|
|
38472
|
+
MessageType_SuiGetAddress: 11100,
|
|
38473
|
+
MessageType_SuiAddress: 11101,
|
|
38474
|
+
MessageType_SuiSignTx: 11102,
|
|
38475
|
+
MessageType_SuiSignedTx: 11103,
|
|
38476
|
+
MessageType_SuiSignMessage: 11104,
|
|
38477
|
+
MessageType_SuiMessageSignature: 11105,
|
|
38478
|
+
MessageType_SuiTxRequest: 11106,
|
|
38479
|
+
MessageType_SuiTxAck: 11107,
|
|
38480
|
+
MessageType_FilecoinGetAddress: 11200,
|
|
38481
|
+
MessageType_FilecoinAddress: 11201,
|
|
38482
|
+
MessageType_FilecoinSignTx: 11202,
|
|
38483
|
+
MessageType_FilecoinSignedTx: 11203,
|
|
38484
|
+
MessageType_KaspaGetAddress: 11300,
|
|
38485
|
+
MessageType_KaspaAddress: 11301,
|
|
38486
|
+
MessageType_KaspaSignTx: 11302,
|
|
38487
|
+
MessageType_KaspaSignedTx: 11303,
|
|
38488
|
+
MessageType_KaspaTxInputRequest: 11304,
|
|
38489
|
+
MessageType_KaspaTxInputAck: 11305,
|
|
38490
|
+
MessageType_NexaGetAddress: 11400,
|
|
38491
|
+
MessageType_NexaAddress: 11401,
|
|
38492
|
+
MessageType_NexaSignTx: 11402,
|
|
38493
|
+
MessageType_NexaSignedTx: 11403,
|
|
38494
|
+
MessageType_NexaTxInputRequest: 11404,
|
|
38495
|
+
MessageType_NexaTxInputAck: 11405,
|
|
38496
|
+
MessageType_NostrGetPublicKey: 11500,
|
|
38497
|
+
MessageType_NostrPublicKey: 11501,
|
|
38498
|
+
MessageType_NostrSignEvent: 11502,
|
|
38499
|
+
MessageType_NostrSignedEvent: 11503,
|
|
38500
|
+
MessageType_NostrEncryptMessage: 11504,
|
|
38501
|
+
MessageType_NostrEncryptedMessage: 11505,
|
|
38502
|
+
MessageType_NostrDecryptMessage: 11506,
|
|
38503
|
+
MessageType_NostrDecryptedMessage: 11507,
|
|
38504
|
+
MessageType_NostrSignSchnorr: 11508,
|
|
38505
|
+
MessageType_NostrSignedSchnorr: 11509,
|
|
38506
|
+
MessageType_LnurlAuth: 11600,
|
|
38507
|
+
MessageType_LnurlAuthResp: 11601,
|
|
38508
|
+
MessageType_NervosGetAddress: 11701,
|
|
38509
|
+
MessageType_NervosAddress: 11702,
|
|
38510
|
+
MessageType_NervosSignTx: 11703,
|
|
38511
|
+
MessageType_NervosSignedTx: 11704,
|
|
38512
|
+
MessageType_NervosTxRequest: 11705,
|
|
38513
|
+
MessageType_NervosTxAck: 11706,
|
|
38514
|
+
MessageType_TonGetAddress: 11901,
|
|
38515
|
+
MessageType_TonAddress: 11902,
|
|
38516
|
+
MessageType_TonSignMessage: 11903,
|
|
38517
|
+
MessageType_TonSignedMessage: 11904,
|
|
38518
|
+
MessageType_TonSignProof: 11905,
|
|
38519
|
+
MessageType_TonSignedProof: 11906,
|
|
38520
|
+
MessageType_TonTxAck: 11907,
|
|
38521
|
+
MessageType_AlephiumGetAddress: 12101,
|
|
38522
|
+
MessageType_AlephiumAddress: 12102,
|
|
38523
|
+
MessageType_AlephiumSignTx: 12103,
|
|
38524
|
+
MessageType_AlephiumSignedTx: 12104,
|
|
38525
|
+
MessageType_AlephiumTxRequest: 12105,
|
|
38526
|
+
MessageType_AlephiumTxAck: 12106,
|
|
38527
|
+
MessageType_AlephiumBytecodeRequest: 12107,
|
|
38528
|
+
MessageType_AlephiumBytecodeAck: 12108,
|
|
38529
|
+
MessageType_AlephiumSignMessage: 12109,
|
|
38530
|
+
MessageType_AlephiumMessageSignature: 12110,
|
|
38531
|
+
MessageType_BenfenGetAddress: 12201,
|
|
38532
|
+
MessageType_BenfenAddress: 12202,
|
|
38533
|
+
MessageType_BenfenSignTx: 12203,
|
|
38534
|
+
MessageType_BenfenSignedTx: 12204,
|
|
38535
|
+
MessageType_BenfenSignMessage: 12205,
|
|
38536
|
+
MessageType_BenfenMessageSignature: 12206,
|
|
38537
|
+
MessageType_BenfenTxRequest: 12207,
|
|
38538
|
+
MessageType_BenfenTxAck: 12208,
|
|
38539
|
+
MessageType_NeoGetAddress: 12301,
|
|
38540
|
+
MessageType_NeoAddress: 12302,
|
|
38541
|
+
MessageType_NeoSignTx: 12303,
|
|
38542
|
+
MessageType_NeoSignedTx: 12304,
|
|
38543
|
+
MessageType_DeviceFactoryInfoSet: 60000,
|
|
38544
|
+
MessageType_DeviceFactoryInfoGet: 60001,
|
|
38545
|
+
MessageType_DeviceFactoryInfo: 60002,
|
|
38546
|
+
MessageType_DeviceFactoryPermanentLock: 60003,
|
|
38547
|
+
MessageType_DeviceFactoryTest: 60004,
|
|
38548
|
+
MessageType_ProtocolInfoRequest: 60200,
|
|
38549
|
+
MessageType_ProtocolInfo: 60201,
|
|
38550
|
+
MessageType_Ping: 60206,
|
|
38551
|
+
MessageType_Success: 60207,
|
|
38552
|
+
MessageType_Failure: 60208,
|
|
38553
|
+
MessageType_DeviceReboot: 60400,
|
|
38554
|
+
MessageType_DeviceSettings: 60410,
|
|
38555
|
+
MessageType_DeviceSettingsGet: 60411,
|
|
38556
|
+
MessageType_DeviceSettingsSet: 60412,
|
|
38557
|
+
MessageType_DeviceSettingsPageShow: 60413,
|
|
38558
|
+
MessageType_DeviceCertificate: 60420,
|
|
38559
|
+
MessageType_DeviceCertificateWrite: 60421,
|
|
38560
|
+
MessageType_DeviceCertificateRead: 60422,
|
|
38561
|
+
MessageType_DeviceCertificateSignature: 60423,
|
|
38562
|
+
MessageType_DeviceCertificateSign: 60424,
|
|
38563
|
+
MessageType_DeviceMiscUsbMscControl: 60440,
|
|
38564
|
+
MessageType_DeviceFindMyTokenState: 60450,
|
|
38565
|
+
MessageType_DeviceFindMyTokenUpdate: 60451,
|
|
38566
|
+
MessageType_DeviceFindMyTokenStateGet: 60452,
|
|
38567
|
+
MessageType_DeviceInfoGet: 60600,
|
|
38568
|
+
MessageType_DeviceInfo: 60601,
|
|
38569
|
+
MessageType_DeviceStatusGet: 60602,
|
|
38570
|
+
MessageType_DeviceStatus: 60603,
|
|
38571
|
+
MessageType_FilesystemPermissionFix: 60800,
|
|
38572
|
+
MessageType_FilesystemPathInfo: 60801,
|
|
38573
|
+
MessageType_FilesystemPathInfoQuery: 60802,
|
|
38574
|
+
MessageType_FilesystemFile: 60803,
|
|
38575
|
+
MessageType_FilesystemFileRead: 60804,
|
|
38576
|
+
MessageType_FilesystemFileWrite: 60805,
|
|
38577
|
+
MessageType_FilesystemFileDelete: 60806,
|
|
38578
|
+
MessageType_FilesystemDir: 60807,
|
|
38579
|
+
MessageType_FilesystemDirList: 60808,
|
|
38580
|
+
MessageType_FilesystemDirMake: 60809,
|
|
38581
|
+
MessageType_FilesystemDirRemove: 60810,
|
|
38582
|
+
MessageType_FilesystemFormat: 60811,
|
|
38583
|
+
MessageType_DeviceFirmwareUpdateStage: 61000,
|
|
38584
|
+
MessageType_DeviceFirmwareUpdateRequest: 61001,
|
|
38585
|
+
MessageType_DeviceFirmwareUpdateStatusGet: 61002,
|
|
38586
|
+
MessageType_DeviceFirmwareUpdateStatus: 61003,
|
|
38587
|
+
MessageType_DeviceSessionGet: 61200,
|
|
38588
|
+
MessageType_DeviceSession: 61201,
|
|
38589
|
+
MessageType_DeviceSessionAskPin: 61202,
|
|
38590
|
+
MessageType_DeviceSessionAskPassphrase: 61203,
|
|
38591
|
+
MessageType_PortfolioUpdate: 61400,
|
|
38592
|
+
MessageType_NftUpdate: 61500,
|
|
38593
|
+
MessageType_OnboardingStatusGet: 61600,
|
|
38594
|
+
MessageType_OnboardingStatus: 61601
|
|
38595
|
+
},
|
|
38596
|
+
reserved: [
|
|
38597
|
+
[
|
|
38598
|
+
90,
|
|
38599
|
+
92
|
|
38600
|
+
],
|
|
38601
|
+
[
|
|
38602
|
+
114,
|
|
38603
|
+
122
|
|
38604
|
+
],
|
|
38605
|
+
[
|
|
38606
|
+
300,
|
|
38607
|
+
304
|
|
38608
|
+
],
|
|
38609
|
+
[
|
|
38610
|
+
309,
|
|
38611
|
+
312
|
|
38612
|
+
]
|
|
38613
|
+
]
|
|
38614
38614
|
},
|
|
38615
38615
|
ProtocolInfoRequest: {
|
|
38616
38616
|
fields: {
|
|
@@ -39401,11 +39401,6 @@ var nested = {
|
|
|
39401
39401
|
btc_test_address: {
|
|
39402
39402
|
type: "string",
|
|
39403
39403
|
id: 2
|
|
39404
|
-
},
|
|
39405
|
-
seed_domains: {
|
|
39406
|
-
rule: "repeated",
|
|
39407
|
-
type: "DeviceSessionSeedDomain",
|
|
39408
|
-
id: 3
|
|
39409
39404
|
}
|
|
39410
39405
|
}
|
|
39411
39406
|
},
|
|
@@ -39446,6 +39441,11 @@ var nested = {
|
|
|
39446
39441
|
rule: "required",
|
|
39447
39442
|
type: "bool",
|
|
39448
39443
|
id: 2
|
|
39444
|
+
},
|
|
39445
|
+
seed_domains: {
|
|
39446
|
+
rule: "repeated",
|
|
39447
|
+
type: "DeviceSessionSeedDomain",
|
|
39448
|
+
id: 3
|
|
39449
39449
|
}
|
|
39450
39450
|
}
|
|
39451
39451
|
},
|
|
@@ -39849,7 +39849,14 @@ var nested = {
|
|
|
39849
39849
|
type: "string",
|
|
39850
39850
|
id: 2
|
|
39851
39851
|
}
|
|
39852
|
-
}
|
|
39852
|
+
},
|
|
39853
|
+
reserved: [
|
|
39854
|
+
[
|
|
39855
|
+
3,
|
|
39856
|
+
3
|
|
39857
|
+
],
|
|
39858
|
+
"symbol"
|
|
39859
|
+
]
|
|
39853
39860
|
},
|
|
39854
39861
|
ViewDetail: {
|
|
39855
39862
|
fields: {
|
|
@@ -39875,6 +39882,20 @@ var nested = {
|
|
|
39875
39882
|
}
|
|
39876
39883
|
}
|
|
39877
39884
|
},
|
|
39885
|
+
ViewCustomField: {
|
|
39886
|
+
fields: {
|
|
39887
|
+
key: {
|
|
39888
|
+
rule: "required",
|
|
39889
|
+
type: "string",
|
|
39890
|
+
id: 1
|
|
39891
|
+
},
|
|
39892
|
+
value: {
|
|
39893
|
+
rule: "required",
|
|
39894
|
+
type: "string",
|
|
39895
|
+
id: 2
|
|
39896
|
+
}
|
|
39897
|
+
}
|
|
39898
|
+
},
|
|
39878
39899
|
ViewTipType: {
|
|
39879
39900
|
values: {
|
|
39880
39901
|
Default: 0,
|
|
@@ -39905,17 +39926,73 @@ var nested = {
|
|
|
39905
39926
|
}
|
|
39906
39927
|
}
|
|
39907
39928
|
},
|
|
39908
|
-
|
|
39929
|
+
ViewActionCard: {
|
|
39909
39930
|
fields: {
|
|
39910
39931
|
initial_data: {
|
|
39911
39932
|
rule: "required",
|
|
39912
39933
|
type: "string",
|
|
39913
39934
|
id: 1
|
|
39935
|
+
}
|
|
39936
|
+
},
|
|
39937
|
+
reserved: [
|
|
39938
|
+
[
|
|
39939
|
+
2,
|
|
39940
|
+
2
|
|
39941
|
+
],
|
|
39942
|
+
"placeholder"
|
|
39943
|
+
]
|
|
39944
|
+
},
|
|
39945
|
+
ViewContentPreview: {
|
|
39946
|
+
fields: {
|
|
39947
|
+
content_key: {
|
|
39948
|
+
rule: "required",
|
|
39949
|
+
type: "uint32",
|
|
39950
|
+
id: 1
|
|
39951
|
+
},
|
|
39952
|
+
preview: {
|
|
39953
|
+
rule: "required",
|
|
39954
|
+
type: "bytes",
|
|
39955
|
+
id: 2
|
|
39956
|
+
},
|
|
39957
|
+
total_bytes: {
|
|
39958
|
+
type: "uint32",
|
|
39959
|
+
id: 3
|
|
39960
|
+
}
|
|
39961
|
+
}
|
|
39962
|
+
},
|
|
39963
|
+
ViewContentEntry: {
|
|
39964
|
+
fields: {
|
|
39965
|
+
entry_key: {
|
|
39966
|
+
rule: "required",
|
|
39967
|
+
type: "uint32",
|
|
39968
|
+
id: 1
|
|
39969
|
+
},
|
|
39970
|
+
value: {
|
|
39971
|
+
rule: "required",
|
|
39972
|
+
type: "bytes",
|
|
39973
|
+
id: 2
|
|
39974
|
+
}
|
|
39975
|
+
}
|
|
39976
|
+
},
|
|
39977
|
+
ViewContentPage: {
|
|
39978
|
+
fields: {
|
|
39979
|
+
page_index: {
|
|
39980
|
+
rule: "required",
|
|
39981
|
+
type: "uint32",
|
|
39982
|
+
id: 1
|
|
39914
39983
|
},
|
|
39915
|
-
|
|
39984
|
+
page_count: {
|
|
39916
39985
|
rule: "required",
|
|
39917
39986
|
type: "uint32",
|
|
39918
39987
|
id: 2
|
|
39988
|
+
},
|
|
39989
|
+
chunk: {
|
|
39990
|
+
type: "bytes",
|
|
39991
|
+
id: 3
|
|
39992
|
+
},
|
|
39993
|
+
entry: {
|
|
39994
|
+
type: "ViewContentEntry",
|
|
39995
|
+
id: 4
|
|
39919
39996
|
}
|
|
39920
39997
|
}
|
|
39921
39998
|
},
|
|
@@ -39948,8 +40025,8 @@ var nested = {
|
|
|
39948
40025
|
type: "ViewTip",
|
|
39949
40026
|
id: 4
|
|
39950
40027
|
},
|
|
39951
|
-
|
|
39952
|
-
type: "
|
|
40028
|
+
action_card: {
|
|
40029
|
+
type: "ViewActionCard",
|
|
39953
40030
|
id: 5
|
|
39954
40031
|
},
|
|
39955
40032
|
slide_to_confirm: {
|
|
@@ -39973,6 +40050,36 @@ var nested = {
|
|
|
39973
40050
|
title_arg: {
|
|
39974
40051
|
type: "string",
|
|
39975
40052
|
id: 9
|
|
40053
|
+
},
|
|
40054
|
+
content: {
|
|
40055
|
+
type: "ViewContentPreview",
|
|
40056
|
+
id: 10
|
|
40057
|
+
},
|
|
40058
|
+
custom_field: {
|
|
40059
|
+
type: "ViewCustomField",
|
|
40060
|
+
id: 11
|
|
40061
|
+
}
|
|
40062
|
+
}
|
|
40063
|
+
},
|
|
40064
|
+
ViewWarningPage: {
|
|
40065
|
+
fields: {
|
|
40066
|
+
title_id: {
|
|
40067
|
+
rule: "required",
|
|
40068
|
+
type: "uint32",
|
|
40069
|
+
id: 1
|
|
40070
|
+
},
|
|
40071
|
+
text_id: {
|
|
40072
|
+
rule: "required",
|
|
40073
|
+
type: "uint32",
|
|
40074
|
+
id: 2
|
|
40075
|
+
},
|
|
40076
|
+
text_arg: {
|
|
40077
|
+
type: "string",
|
|
40078
|
+
id: 3
|
|
40079
|
+
},
|
|
40080
|
+
cancellable: {
|
|
40081
|
+
type: "bool",
|
|
40082
|
+
id: 4
|
|
39976
40083
|
}
|
|
39977
40084
|
}
|
|
39978
40085
|
},
|
|
@@ -40011,6 +40118,10 @@ var nested = {
|
|
|
40011
40118
|
chain_id: {
|
|
40012
40119
|
type: "uint32",
|
|
40013
40120
|
id: 8
|
|
40121
|
+
},
|
|
40122
|
+
content: {
|
|
40123
|
+
type: "ViewContentPreview",
|
|
40124
|
+
id: 9
|
|
40014
40125
|
}
|
|
40015
40126
|
}
|
|
40016
40127
|
},
|
|
@@ -41683,14 +41794,15 @@ const negotiateEventlessWalletSession = (device) => __awaiter(void 0, void 0, vo
|
|
|
41683
41794
|
yield device.ensureProtocolV2RuntimeContext();
|
|
41684
41795
|
});
|
|
41685
41796
|
const getDeviceSession = (device, request) => __awaiter(void 0, void 0, void 0, function* () { return device.commands.typedCall('DeviceSessionGet', 'DeviceSession', request); });
|
|
41686
|
-
const
|
|
41687
|
-
|
|
41688
|
-
|
|
41689
|
-
|
|
41690
|
-
|
|
41691
|
-
|
|
41692
|
-
const
|
|
41693
|
-
|
|
41797
|
+
const buildDeviceSessionSeedDomains = (deriveCardano) => deriveCardano === undefined
|
|
41798
|
+
? []
|
|
41799
|
+
: [
|
|
41800
|
+
hdTransport.DeviceSessionSeedDomain.SeedDomain_Standard,
|
|
41801
|
+
...(deriveCardano ? [hdTransport.DeviceSessionSeedDomain.SeedDomain_Cardano] : []),
|
|
41802
|
+
];
|
|
41803
|
+
const buildDeviceSessionGetRequest = ({ sessionId, expectedPassphraseState, } = {}) => (Object.assign(Object.assign({}, (sessionId ? { session_id: sessionId } : {})), (expectedPassphraseState ? { btc_test_address: expectedPassphraseState } : {})));
|
|
41804
|
+
const askDevicePassphrase = (device, requestPayload, deriveCardano, onStatusRefreshed) => __awaiter(void 0, void 0, void 0, function* () {
|
|
41805
|
+
yield device.commands.typedCall('DeviceSessionAskPassphrase', 'Success', Object.assign(Object.assign({}, requestPayload), { seed_domains: buildDeviceSessionSeedDomains(deriveCardano) }));
|
|
41694
41806
|
yield refreshProtocolV2DeviceStatus(device);
|
|
41695
41807
|
onStatusRefreshed === null || onStatusRefreshed === void 0 ? void 0 : onStatusRefreshed();
|
|
41696
41808
|
});
|
|
@@ -41728,19 +41840,19 @@ const selectDeviceSession = (device, expectedPassphraseState, deriveCardano, onS
|
|
|
41728
41840
|
interaction: attachPinInteraction,
|
|
41729
41841
|
});
|
|
41730
41842
|
onStatusRefreshed === null || onStatusRefreshed === void 0 ? void 0 : onStatusRefreshed();
|
|
41731
|
-
return getDeviceSession(device, buildDeviceSessionGetRequest(
|
|
41843
|
+
return getDeviceSession(device, buildDeviceSessionGetRequest());
|
|
41732
41844
|
}
|
|
41733
41845
|
if (hasHostPassphrase) {
|
|
41734
41846
|
yield askDevicePassphrase(device, {
|
|
41735
41847
|
passphrase: hostPassphrase,
|
|
41736
41848
|
on_device: false,
|
|
41737
|
-
}, onStatusRefreshed);
|
|
41738
|
-
return getDeviceSession(device, buildDeviceSessionGetRequest(
|
|
41849
|
+
}, deriveCardano, onStatusRefreshed);
|
|
41850
|
+
return getDeviceSession(device, buildDeviceSessionGetRequest());
|
|
41739
41851
|
}
|
|
41740
41852
|
const passphraseOnDeviceInteraction = (_d = device.createProtocolV2UiPhaseMetadata) === null || _d === void 0 ? void 0 : _d.call(device, 'passphrase-on-device', 'start');
|
|
41741
41853
|
device.emit(DEVICE.PASSPHRASE_ON_DEVICE, device, Object.assign(Object.assign({}, metadata), (passphraseOnDeviceInteraction ? { interaction: passphraseOnDeviceInteraction } : {})));
|
|
41742
|
-
yield askDevicePassphrase(device, { on_device: true }, onStatusRefreshed);
|
|
41743
|
-
return getDeviceSession(device, buildDeviceSessionGetRequest(
|
|
41854
|
+
yield askDevicePassphrase(device, { on_device: true }, deriveCardano, onStatusRefreshed);
|
|
41855
|
+
return getDeviceSession(device, buildDeviceSessionGetRequest());
|
|
41744
41856
|
});
|
|
41745
41857
|
function getProtocolV2WalletSession(device, options) {
|
|
41746
41858
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
@@ -41834,7 +41946,7 @@ function getProtocolV2WalletSession(device, options) {
|
|
|
41834
41946
|
yield askDevicePassphrase(device, {
|
|
41835
41947
|
passphrase: '',
|
|
41836
41948
|
on_device: false,
|
|
41837
|
-
}, markWalletStatusRefreshed);
|
|
41949
|
+
}, options === null || options === void 0 ? void 0 : options.deriveCardano, markWalletStatusRefreshed);
|
|
41838
41950
|
standardWalletSelected = true;
|
|
41839
41951
|
}
|
|
41840
41952
|
else if (!standardWalletSelected) {
|
|
@@ -41851,7 +41963,7 @@ function getProtocolV2WalletSession(device, options) {
|
|
|
41851
41963
|
device.clearInternalState();
|
|
41852
41964
|
throw hdShared.ERRORS.TypedError(hdShared.HardwareErrorCode.DeviceCheckUnlockTypeError);
|
|
41853
41965
|
}
|
|
41854
|
-
response = yield getDeviceSession(device, buildDeviceSessionGetRequest(
|
|
41966
|
+
response = yield getDeviceSession(device, buildDeviceSessionGetRequest());
|
|
41855
41967
|
}
|
|
41856
41968
|
else if (options === null || options === void 0 ? void 0 : options.onlyMainPin) {
|
|
41857
41969
|
expectedPassphraseState = cachedStandardSession === null || cachedStandardSession === void 0 ? void 0 : cachedStandardSession.passphraseState;
|
|
@@ -41863,7 +41975,6 @@ function getProtocolV2WalletSession(device, options) {
|
|
|
41863
41975
|
response = yield getDeviceSession(device, buildDeviceSessionGetRequest({
|
|
41864
41976
|
sessionId: cachedStandardSession.sessionId,
|
|
41865
41977
|
expectedPassphraseState,
|
|
41866
|
-
deriveCardano: options === null || options === void 0 ? void 0 : options.deriveCardano,
|
|
41867
41978
|
}));
|
|
41868
41979
|
resumed = true;
|
|
41869
41980
|
}
|
|
@@ -41877,7 +41988,7 @@ function getProtocolV2WalletSession(device, options) {
|
|
|
41877
41988
|
}
|
|
41878
41989
|
if (!response) {
|
|
41879
41990
|
yield selectStandardWallet();
|
|
41880
|
-
response = yield getDeviceSession(device, buildDeviceSessionGetRequest(
|
|
41991
|
+
response = yield getDeviceSession(device, buildDeviceSessionGetRequest());
|
|
41881
41992
|
}
|
|
41882
41993
|
}
|
|
41883
41994
|
else if (cachedSessionId && expectedPassphraseState) {
|
|
@@ -41885,7 +41996,6 @@ function getProtocolV2WalletSession(device, options) {
|
|
|
41885
41996
|
response = yield getDeviceSession(device, buildDeviceSessionGetRequest({
|
|
41886
41997
|
sessionId: cachedSessionId,
|
|
41887
41998
|
expectedPassphraseState,
|
|
41888
|
-
deriveCardano: options === null || options === void 0 ? void 0 : options.deriveCardano,
|
|
41889
41999
|
}));
|
|
41890
42000
|
resumed = true;
|
|
41891
42001
|
}
|
|
@@ -41901,7 +42011,6 @@ function getProtocolV2WalletSession(device, options) {
|
|
|
41901
42011
|
try {
|
|
41902
42012
|
response = yield getDeviceSession(device, buildDeviceSessionGetRequest({
|
|
41903
42013
|
expectedPassphraseState,
|
|
41904
|
-
deriveCardano: options === null || options === void 0 ? void 0 : options.deriveCardano,
|
|
41905
42014
|
}));
|
|
41906
42015
|
}
|
|
41907
42016
|
catch (error) {
|
|
@@ -41940,7 +42049,7 @@ function getProtocolV2WalletSession(device, options) {
|
|
|
41940
42049
|
if (options === null || options === void 0 ? void 0 : options.onlyMainPin) {
|
|
41941
42050
|
(_h = device.clearStandardInternalState) === null || _h === void 0 ? void 0 : _h.call(device);
|
|
41942
42051
|
yield selectStandardWallet();
|
|
41943
|
-
response = yield getDeviceSession(device, buildDeviceSessionGetRequest(
|
|
42052
|
+
response = yield getDeviceSession(device, buildDeviceSessionGetRequest());
|
|
41944
42053
|
}
|
|
41945
42054
|
else {
|
|
41946
42055
|
device.clearInternalState();
|