|
|
|
@ -1,5 +1,7 @@
|
|
|
|
|
# Automatically generated by pb2py
|
|
|
|
|
# fmt: off
|
|
|
|
|
from trezor import utils
|
|
|
|
|
|
|
|
|
|
Initialize = 0
|
|
|
|
|
Ping = 1
|
|
|
|
|
Success = 2
|
|
|
|
@ -64,116 +66,117 @@ DebugLinkMemoryRead = 110
|
|
|
|
|
DebugLinkMemory = 111
|
|
|
|
|
DebugLinkMemoryWrite = 112
|
|
|
|
|
DebugLinkFlashErase = 113
|
|
|
|
|
EthereumGetPublicKey = 450
|
|
|
|
|
EthereumPublicKey = 451
|
|
|
|
|
EthereumGetAddress = 56
|
|
|
|
|
EthereumAddress = 57
|
|
|
|
|
EthereumSignTx = 58
|
|
|
|
|
EthereumTxRequest = 59
|
|
|
|
|
EthereumTxAck = 60
|
|
|
|
|
EthereumSignMessage = 64
|
|
|
|
|
EthereumVerifyMessage = 65
|
|
|
|
|
EthereumMessageSignature = 66
|
|
|
|
|
NEMGetAddress = 67
|
|
|
|
|
NEMAddress = 68
|
|
|
|
|
NEMSignTx = 69
|
|
|
|
|
NEMSignedTx = 70
|
|
|
|
|
NEMDecryptMessage = 75
|
|
|
|
|
NEMDecryptedMessage = 76
|
|
|
|
|
LiskGetAddress = 114
|
|
|
|
|
LiskAddress = 115
|
|
|
|
|
LiskSignTx = 116
|
|
|
|
|
LiskSignedTx = 117
|
|
|
|
|
LiskSignMessage = 118
|
|
|
|
|
LiskMessageSignature = 119
|
|
|
|
|
LiskVerifyMessage = 120
|
|
|
|
|
LiskGetPublicKey = 121
|
|
|
|
|
LiskPublicKey = 122
|
|
|
|
|
TezosGetAddress = 150
|
|
|
|
|
TezosAddress = 151
|
|
|
|
|
TezosSignTx = 152
|
|
|
|
|
TezosSignedTx = 153
|
|
|
|
|
TezosGetPublicKey = 154
|
|
|
|
|
TezosPublicKey = 155
|
|
|
|
|
StellarSignTx = 202
|
|
|
|
|
StellarTxOpRequest = 203
|
|
|
|
|
StellarGetAddress = 207
|
|
|
|
|
StellarAddress = 208
|
|
|
|
|
StellarCreateAccountOp = 210
|
|
|
|
|
StellarPaymentOp = 211
|
|
|
|
|
StellarPathPaymentOp = 212
|
|
|
|
|
StellarManageOfferOp = 213
|
|
|
|
|
StellarCreatePassiveOfferOp = 214
|
|
|
|
|
StellarSetOptionsOp = 215
|
|
|
|
|
StellarChangeTrustOp = 216
|
|
|
|
|
StellarAllowTrustOp = 217
|
|
|
|
|
StellarAccountMergeOp = 218
|
|
|
|
|
StellarManageDataOp = 220
|
|
|
|
|
StellarBumpSequenceOp = 221
|
|
|
|
|
StellarSignedTx = 230
|
|
|
|
|
CardanoSignTx = 303
|
|
|
|
|
CardanoTxRequest = 304
|
|
|
|
|
CardanoGetPublicKey = 305
|
|
|
|
|
CardanoPublicKey = 306
|
|
|
|
|
CardanoGetAddress = 307
|
|
|
|
|
CardanoAddress = 308
|
|
|
|
|
CardanoTxAck = 309
|
|
|
|
|
CardanoSignedTx = 310
|
|
|
|
|
RippleGetAddress = 400
|
|
|
|
|
RippleAddress = 401
|
|
|
|
|
RippleSignTx = 402
|
|
|
|
|
RippleSignedTx = 403
|
|
|
|
|
MoneroTransactionInitRequest = 501
|
|
|
|
|
MoneroTransactionInitAck = 502
|
|
|
|
|
MoneroTransactionSetInputRequest = 503
|
|
|
|
|
MoneroTransactionSetInputAck = 504
|
|
|
|
|
MoneroTransactionInputsPermutationRequest = 505
|
|
|
|
|
MoneroTransactionInputsPermutationAck = 506
|
|
|
|
|
MoneroTransactionInputViniRequest = 507
|
|
|
|
|
MoneroTransactionInputViniAck = 508
|
|
|
|
|
MoneroTransactionAllInputsSetRequest = 509
|
|
|
|
|
MoneroTransactionAllInputsSetAck = 510
|
|
|
|
|
MoneroTransactionSetOutputRequest = 511
|
|
|
|
|
MoneroTransactionSetOutputAck = 512
|
|
|
|
|
MoneroTransactionAllOutSetRequest = 513
|
|
|
|
|
MoneroTransactionAllOutSetAck = 514
|
|
|
|
|
MoneroTransactionSignInputRequest = 515
|
|
|
|
|
MoneroTransactionSignInputAck = 516
|
|
|
|
|
MoneroTransactionFinalRequest = 517
|
|
|
|
|
MoneroTransactionFinalAck = 518
|
|
|
|
|
MoneroKeyImageExportInitRequest = 530
|
|
|
|
|
MoneroKeyImageExportInitAck = 531
|
|
|
|
|
MoneroKeyImageSyncStepRequest = 532
|
|
|
|
|
MoneroKeyImageSyncStepAck = 533
|
|
|
|
|
MoneroKeyImageSyncFinalRequest = 534
|
|
|
|
|
MoneroKeyImageSyncFinalAck = 535
|
|
|
|
|
MoneroGetAddress = 540
|
|
|
|
|
MoneroAddress = 541
|
|
|
|
|
MoneroGetWatchKey = 542
|
|
|
|
|
MoneroWatchKey = 543
|
|
|
|
|
DebugMoneroDiagRequest = 546
|
|
|
|
|
DebugMoneroDiagAck = 547
|
|
|
|
|
MoneroGetTxKeyRequest = 550
|
|
|
|
|
MoneroGetTxKeyAck = 551
|
|
|
|
|
MoneroLiveRefreshStartRequest = 552
|
|
|
|
|
MoneroLiveRefreshStartAck = 553
|
|
|
|
|
MoneroLiveRefreshStepRequest = 554
|
|
|
|
|
MoneroLiveRefreshStepAck = 555
|
|
|
|
|
MoneroLiveRefreshFinalRequest = 556
|
|
|
|
|
MoneroLiveRefreshFinalAck = 557
|
|
|
|
|
EosGetPublicKey = 600
|
|
|
|
|
EosPublicKey = 601
|
|
|
|
|
EosSignTx = 602
|
|
|
|
|
EosTxActionRequest = 603
|
|
|
|
|
EosTxActionAck = 604
|
|
|
|
|
EosSignedTx = 605
|
|
|
|
|
BinanceGetAddress = 700
|
|
|
|
|
BinanceAddress = 701
|
|
|
|
|
BinanceGetPublicKey = 702
|
|
|
|
|
BinancePublicKey = 703
|
|
|
|
|
BinanceSignTx = 704
|
|
|
|
|
BinanceTxRequest = 705
|
|
|
|
|
BinanceTransferMsg = 706
|
|
|
|
|
BinanceOrderMsg = 707
|
|
|
|
|
BinanceCancelMsg = 708
|
|
|
|
|
BinanceSignedTx = 709
|
|
|
|
|
if not utils.BITCOIN_ONLY:
|
|
|
|
|
EthereumGetPublicKey = 450
|
|
|
|
|
EthereumPublicKey = 451
|
|
|
|
|
EthereumGetAddress = 56
|
|
|
|
|
EthereumAddress = 57
|
|
|
|
|
EthereumSignTx = 58
|
|
|
|
|
EthereumTxRequest = 59
|
|
|
|
|
EthereumTxAck = 60
|
|
|
|
|
EthereumSignMessage = 64
|
|
|
|
|
EthereumVerifyMessage = 65
|
|
|
|
|
EthereumMessageSignature = 66
|
|
|
|
|
NEMGetAddress = 67
|
|
|
|
|
NEMAddress = 68
|
|
|
|
|
NEMSignTx = 69
|
|
|
|
|
NEMSignedTx = 70
|
|
|
|
|
NEMDecryptMessage = 75
|
|
|
|
|
NEMDecryptedMessage = 76
|
|
|
|
|
LiskGetAddress = 114
|
|
|
|
|
LiskAddress = 115
|
|
|
|
|
LiskSignTx = 116
|
|
|
|
|
LiskSignedTx = 117
|
|
|
|
|
LiskSignMessage = 118
|
|
|
|
|
LiskMessageSignature = 119
|
|
|
|
|
LiskVerifyMessage = 120
|
|
|
|
|
LiskGetPublicKey = 121
|
|
|
|
|
LiskPublicKey = 122
|
|
|
|
|
TezosGetAddress = 150
|
|
|
|
|
TezosAddress = 151
|
|
|
|
|
TezosSignTx = 152
|
|
|
|
|
TezosSignedTx = 153
|
|
|
|
|
TezosGetPublicKey = 154
|
|
|
|
|
TezosPublicKey = 155
|
|
|
|
|
StellarSignTx = 202
|
|
|
|
|
StellarTxOpRequest = 203
|
|
|
|
|
StellarGetAddress = 207
|
|
|
|
|
StellarAddress = 208
|
|
|
|
|
StellarCreateAccountOp = 210
|
|
|
|
|
StellarPaymentOp = 211
|
|
|
|
|
StellarPathPaymentOp = 212
|
|
|
|
|
StellarManageOfferOp = 213
|
|
|
|
|
StellarCreatePassiveOfferOp = 214
|
|
|
|
|
StellarSetOptionsOp = 215
|
|
|
|
|
StellarChangeTrustOp = 216
|
|
|
|
|
StellarAllowTrustOp = 217
|
|
|
|
|
StellarAccountMergeOp = 218
|
|
|
|
|
StellarManageDataOp = 220
|
|
|
|
|
StellarBumpSequenceOp = 221
|
|
|
|
|
StellarSignedTx = 230
|
|
|
|
|
CardanoSignTx = 303
|
|
|
|
|
CardanoTxRequest = 304
|
|
|
|
|
CardanoGetPublicKey = 305
|
|
|
|
|
CardanoPublicKey = 306
|
|
|
|
|
CardanoGetAddress = 307
|
|
|
|
|
CardanoAddress = 308
|
|
|
|
|
CardanoTxAck = 309
|
|
|
|
|
CardanoSignedTx = 310
|
|
|
|
|
RippleGetAddress = 400
|
|
|
|
|
RippleAddress = 401
|
|
|
|
|
RippleSignTx = 402
|
|
|
|
|
RippleSignedTx = 403
|
|
|
|
|
MoneroTransactionInitRequest = 501
|
|
|
|
|
MoneroTransactionInitAck = 502
|
|
|
|
|
MoneroTransactionSetInputRequest = 503
|
|
|
|
|
MoneroTransactionSetInputAck = 504
|
|
|
|
|
MoneroTransactionInputsPermutationRequest = 505
|
|
|
|
|
MoneroTransactionInputsPermutationAck = 506
|
|
|
|
|
MoneroTransactionInputViniRequest = 507
|
|
|
|
|
MoneroTransactionInputViniAck = 508
|
|
|
|
|
MoneroTransactionAllInputsSetRequest = 509
|
|
|
|
|
MoneroTransactionAllInputsSetAck = 510
|
|
|
|
|
MoneroTransactionSetOutputRequest = 511
|
|
|
|
|
MoneroTransactionSetOutputAck = 512
|
|
|
|
|
MoneroTransactionAllOutSetRequest = 513
|
|
|
|
|
MoneroTransactionAllOutSetAck = 514
|
|
|
|
|
MoneroTransactionSignInputRequest = 515
|
|
|
|
|
MoneroTransactionSignInputAck = 516
|
|
|
|
|
MoneroTransactionFinalRequest = 517
|
|
|
|
|
MoneroTransactionFinalAck = 518
|
|
|
|
|
MoneroKeyImageExportInitRequest = 530
|
|
|
|
|
MoneroKeyImageExportInitAck = 531
|
|
|
|
|
MoneroKeyImageSyncStepRequest = 532
|
|
|
|
|
MoneroKeyImageSyncStepAck = 533
|
|
|
|
|
MoneroKeyImageSyncFinalRequest = 534
|
|
|
|
|
MoneroKeyImageSyncFinalAck = 535
|
|
|
|
|
MoneroGetAddress = 540
|
|
|
|
|
MoneroAddress = 541
|
|
|
|
|
MoneroGetWatchKey = 542
|
|
|
|
|
MoneroWatchKey = 543
|
|
|
|
|
DebugMoneroDiagRequest = 546
|
|
|
|
|
DebugMoneroDiagAck = 547
|
|
|
|
|
MoneroGetTxKeyRequest = 550
|
|
|
|
|
MoneroGetTxKeyAck = 551
|
|
|
|
|
MoneroLiveRefreshStartRequest = 552
|
|
|
|
|
MoneroLiveRefreshStartAck = 553
|
|
|
|
|
MoneroLiveRefreshStepRequest = 554
|
|
|
|
|
MoneroLiveRefreshStepAck = 555
|
|
|
|
|
MoneroLiveRefreshFinalRequest = 556
|
|
|
|
|
MoneroLiveRefreshFinalAck = 557
|
|
|
|
|
EosGetPublicKey = 600
|
|
|
|
|
EosPublicKey = 601
|
|
|
|
|
EosSignTx = 602
|
|
|
|
|
EosTxActionRequest = 603
|
|
|
|
|
EosTxActionAck = 604
|
|
|
|
|
EosSignedTx = 605
|
|
|
|
|
BinanceGetAddress = 700
|
|
|
|
|
BinanceAddress = 701
|
|
|
|
|
BinanceGetPublicKey = 702
|
|
|
|
|
BinancePublicKey = 703
|
|
|
|
|
BinanceSignTx = 704
|
|
|
|
|
BinanceTxRequest = 705
|
|
|
|
|
BinanceTransferMsg = 706
|
|
|
|
|
BinanceOrderMsg = 707
|
|
|
|
|
BinanceCancelMsg = 708
|
|
|
|
|
BinanceSignedTx = 709
|
|
|
|
|