mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-05-09 10:28:46 +00:00
protob: Add NEMImportanceTransfer
This commit is contained in:
parent
b2ce773f80
commit
b9a2a9c3de
@ -858,6 +858,7 @@ message NEMSignTx {
|
|||||||
optional NEMMosaicCreation mosaic_creation = 6; // Mosaic definition creation part
|
optional NEMMosaicCreation mosaic_creation = 6; // Mosaic definition creation part
|
||||||
optional NEMMosaicSupplyChange supply_change = 7; // Mosaic supply change part
|
optional NEMMosaicSupplyChange supply_change = 7; // Mosaic supply change part
|
||||||
optional NEMAggregateModification aggregate_modification = 8; // Aggregate modification part
|
optional NEMAggregateModification aggregate_modification = 8; // Aggregate modification part
|
||||||
|
optional NEMImportanceTransfer importance_transfer = 9; // Importance transfer part
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -404,3 +404,21 @@ enum NEMModificationType {
|
|||||||
CosignatoryModification_Add = 1;
|
CosignatoryModification_Add = 1;
|
||||||
CosignatoryModification_Delete = 2;
|
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;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user