@@ -89,6 +89,8 @@ enum ButtonRequestType {
8989 ButtonRequest_FirmwareCheck = 9 ;
9090 ButtonRequest_Address = 10 ;
9191 ButtonRequest_FirmwareErase = 11 ;
92+ ButtonRequest_ConfirmTransferToAccount = 12 ;
93+ ButtonRequest_ConfirmTransferToNodePath = 13 ;
9294}
9395
9496/**
@@ -101,6 +103,16 @@ enum PinMatrixRequestType {
101103 PinMatrixRequestType_NewSecond = 3 ;
102104}
103105
106+ /**
107+ * Type of ouput address specify in transaction
108+ * @used_in TxOutputType
109+ */
110+ enum OutputAddressType {
111+ OutputAddressType_spend = 1 ;
112+ OutputAddressType_transfer = 2 ;
113+ OutputAddressType_change = 3 ;
114+ }
115+
104116/**
105117 * Structure representing BIP32 (hierarchical deterministic) node
106118 * Used for imports of private key into the device and exporting public key out of device
@@ -172,6 +184,7 @@ message TxOutputType {
172184 required OutputScriptType script_type = 4 ; // output script type
173185 optional MultisigRedeemScriptType multisig = 5 ; // defines multisig address; script_type must be PAYTOMULTISIG
174186 optional bytes op_return_data = 6 ; // defines op_return data; script_type must be PAYTOOPRETURN, amount must be 0
187+ optional OutputAddressType address_type = 7 ; // output address type specify in the output
175188}
176189
177190/**
@@ -227,4 +240,4 @@ message IdentityType {
227240 optional string port = 4 ; // port part of URI
228241 optional string path = 5 ; // path part of URI
229242 optional uint32 index = 6 [default =0 ]; // identity index
230- }
243+ }
0 commit comments