package tezos-protocol-alpha

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

This module re-exports definitions from Voting_period_repr and Voting_period_storage.

type kind =
  1. | Proposal
  2. | Exploration
  3. | Cooldown
  4. | Promotion
  5. | Adoption
type voting_period = private {
  1. index : int32;
  2. kind : kind;
  3. start_position : int32;
}
type t = voting_period
include BASIC_DATA with type t := t
include Tezos_protocol_environment_alpha.Compare.S with type t := t
val (=) : t -> t -> bool
val (<>) : t -> t -> bool
val (<) : t -> t -> bool
val (<=) : t -> t -> bool
val (>=) : t -> t -> bool
val (>) : t -> t -> bool
val compare : t -> t -> int
val equal : t -> t -> bool
val max : t -> t -> t
val min : t -> t -> t
type info = {
  1. voting_period : t;
  2. position : int32;
  3. remaining : int32;
}
module Testnet_dictator : sig ... end