package tezos-protocol-005-PsBABY5H

  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 encoding : voting_period Tezos_base__TzPervasives.Data_encoding.t
val rpc_arg : voting_period Tezos_protocol_environment_005_PsBABY5H__Environment.RPC_arg.t
val pp : Stdlib.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 Tezos_base__TzPervasives.Data_encoding.t
OCaml

Innovation. Community. Security.