package tezos-protocol-004-Pt24m4xi

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

A voting period can be of 4 kinds and is uniquely identified as a counter since the root.

type t
type voting_period = t
include Tezos_protocol_environment_004_Pt24m4xi.Compare.S with type t := voting_period
val (=) : voting_period -> voting_period -> bool
val (<>) : voting_period -> voting_period -> bool
val (<) : voting_period -> voting_period -> bool
val (<=) : voting_period -> voting_period -> bool
val (>=) : voting_period -> voting_period -> bool
val (>) : voting_period -> voting_period -> bool
val compare : voting_period -> voting_period -> int
val equal : voting_period -> voting_period -> bool
val to_int32 : voting_period -> int32
val of_int32_exn : int32 -> voting_period
val root : voting_period
type kind =
  1. | Proposal
    (*

    protocols can be proposed

    *)
  2. | Testing_vote
    (*

    a proposal can be voted

    *)
  3. | Testing
    (*

    winning proposal is forked on a testnet

    *)
  4. | Promotion_vote
    (*

    activation can be voted

    *)
OCaml

Innovation. Community. Security.