Storage.Vote
module Pred_period_kind :
Storage_sigs.Single_data_storage
with type value = Voting_period_repr.kind
and type t := Raw_context.t
module Current_period :
Storage_sigs.Single_data_storage
with type value = Voting_period_repr.t
and type t := Raw_context.t
module Participation_ema :
Storage_sigs.Single_data_storage
with type value = int32
and type t := Raw_context.t
Participation exponential moving average, in centile of percentage
module Current_proposal :
Storage_sigs.Single_data_storage
with type value = Mavryk_protocol_environment_001_PtAtLas.Protocol_hash.t
and type t := Raw_context.t
module Voting_power_in_listings :
Storage_sigs.Single_data_storage
with type value = int64
and type t := Raw_context.t
Sum of voting weights of all delegates.
module Listings :
Storage_sigs.Indexed_data_storage
with type key =
Mavryk_protocol_environment_001_PtAtLas.Signature.Public_key_hash.t
and type value = int64
and type t := Raw_context.t
Contains all delegates with their assigned voting weight.
module Proposals :
Storage_sigs.Data_set_storage
with type elt =
Mavryk_protocol_environment_001_PtAtLas.Protocol_hash.t
* Mavryk_protocol_environment_001_PtAtLas.Signature.Public_key_hash.t
and type t := Raw_context.t
Set of protocol proposal with corresponding proposer delegate
module Proposals_count :
Storage_sigs.Indexed_data_storage
with type key =
Mavryk_protocol_environment_001_PtAtLas.Signature.Public_key_hash.t
and type value = int
and type t := Raw_context.t
Keeps for each delegate the number of proposed protocols
module Ballots :
Storage_sigs.Indexed_data_storage
with type key =
Mavryk_protocol_environment_001_PtAtLas.Signature.Public_key_hash.t
and type value = Vote_repr.ballot
and type t := Raw_context.t
Contains for each delegate its ballot