mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 15:38:11 +00:00
Add support for tezos voting (proposal and ballot operations)
This commit is contained in:
parent
4c56cb6ea1
commit
6f4e9af1fa
@ -55,6 +55,8 @@ message TezosSignTx {
|
|||||||
optional TezosTransactionOp transaction = 4; // Tezos transaction operation
|
optional TezosTransactionOp transaction = 4; // Tezos transaction operation
|
||||||
optional TezosOriginationOp origination = 5; // Tezos origination operation
|
optional TezosOriginationOp origination = 5; // Tezos origination operation
|
||||||
optional TezosDelegationOp delegation = 6; // Tezos delegation 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
|
* Tezos contract ID
|
||||||
*/
|
*/
|
||||||
@ -120,6 +122,24 @@ message TezosSignTx {
|
|||||||
optional uint64 storage_limit = 5;
|
optional uint64 storage_limit = 5;
|
||||||
optional bytes delegate = 6;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user