package tezos-protocol-005-PsBabyM1

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

Module Tezos_raw_protocol_005_PsBabyM1.Voting_period_reprSource

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

Sourcetype t
Sourcetype voting_period = t
include Tezos_protocol_environment_005_PsBabyM1.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
Sourceval to_int32 : voting_period -> int32
Sourceval of_int32_exn : int32 -> voting_period
Sourcetype 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.