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