From 6f4e9af1facfc93b40db23975ef47b5660ae2b4e Mon Sep 17 00:00:00 2001 From: Adrian Nagy Date: Fri, 15 Mar 2019 10:53:25 +0100 Subject: [PATCH] Add support for tezos voting (proposal and ballot operations) --- protob/messages-tezos.proto | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/protob/messages-tezos.proto b/protob/messages-tezos.proto index e429ce8b86..1bc37b8a00 100644 --- a/protob/messages-tezos.proto +++ b/protob/messages-tezos.proto @@ -55,6 +55,8 @@ message TezosSignTx { optional TezosTransactionOp transaction = 4; // Tezos transaction operation optional TezosOriginationOp origination = 5; // Tezos origination operation optional TezosDelegationOp delegation = 6; // Tezos delegation operation + optional TezosProposalOp proposal = 7; // Tezos proposal operation + optional TezosBallotOp ballot = 8; // Tezos ballot operation /* * Tezos contract ID */ @@ -120,6 +122,24 @@ message TezosSignTx { optional uint64 storage_limit = 5; optional bytes delegate = 6; } + /** + * Structure representing information for proposal + */ + message TezosProposalOp { + optional bytes source = 1; + optional uint64 period = 2; + optional uint64 bytes_in_next_field = 3; + optional bytes proposals = 4; + } + /** + * Structure representing information for ballot + */ + message TezosBallotOp { + optional bytes source = 1; + optional uint64 period = 2; + optional bytes proposal = 3; + optional bytes ballot = 4; + } } /**