package tezos-protocol-007-PsDELPH1

  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
val rpc_arg : voting_period Tezos_protocol_environment_007_PsDELPH1__Environment.RPC_arg.t
val pp : Format.formatter -> voting_period -> unit
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

    *)
val kind_encoding : kind Data_encoding.t