Module Alpha_context.Vote

This module re-exports definitions from Vote_repr and Vote_storage.

val set_delegate_proposal_count : context -> public_key_hash -> int -> context Mavryk_protocol_environment_alpha.Lwt.t
type ballot =
  1. | Yay
  2. | Nay
  3. | Pass
val equal_ballot : ballot -> ballot -> bool
type delegate_info = {
  1. voting_power : Mavryk_protocol_environment_alpha.Int64.t option;
  2. current_ballot : ballot option;
  3. current_proposals : Mavryk_protocol_environment_alpha.Protocol_hash.t list;
  4. remaining_proposals : int;
}
type ballots = {
  1. yay : int64;
  2. nay : int64;
  3. pass : int64;
}
val ballots_zero : ballots
val equal_ballots : ballots -> ballots -> bool
val current_proposal_exists : context -> bool Mavryk_protocol_environment_alpha.Lwt.t