1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 11:28:14 +00:00

protob: Add NEMImportanceTransfer

This commit is contained in:
Saleem Rashid 2017-10-07 21:32:36 +01:00
parent b2ce773f80
commit b9a2a9c3de
2 changed files with 19 additions and 0 deletions

View File

@ -858,6 +858,7 @@ message NEMSignTx {
optional NEMMosaicCreation mosaic_creation = 6; // Mosaic definition creation part
optional NEMMosaicSupplyChange supply_change = 7; // Mosaic supply change part
optional NEMAggregateModification aggregate_modification = 8; // Aggregate modification part
optional NEMImportanceTransfer importance_transfer = 9; // Importance transfer part
}
/**

View File

@ -404,3 +404,21 @@ enum NEMModificationType {
CosignatoryModification_Add = 1;
CosignatoryModification_Delete = 2;
}
/**
* Structure representing the importance transfer part for NEM transactions
* @used_in NEMSignTx
*/
message NEMImportanceTransfer {
optional NEMImportanceTransferMode mode = 1; // Mode of importance transfer
optional bytes public_key = 2; // Public key of the remote account
}
/**
* Mode of importance transfer
* @used_in NEMModificationType
*/
enum NEMImportanceTransferMode {
ImportanceTransfer_Activate = 1;
ImportanceTransfer_Deactivate = 2;
}