package tezos-protocol-008-PtEdo2Zk
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  Tezos/Protocol: economic-protocol definition
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      tezos-16.0.tar.gz
    
    
        
    
  
  
  
    
  
  
    
  
        sha256=ad9e08819871c75ba6f4530b125f7d157799398e4d77a1e6bfea9d91ff37ff55
    
    
  sha512=c5dc4d40cc09bc6980fbbdb5c2e105bf4252cf9cfcb2b49660b0ebe4dc789f6709ec3b3bf2f87d81580d3eed9521eeb1c960f24d9b14eb0285aaba1f84d10a9b
    
    
  doc/tezos-protocol-008-PtEdo2Zk.raw/Tezos_raw_protocol_008_PtEdo2Zk/Voting_period_repr/index.html
Module Tezos_raw_protocol_008_PtEdo2Zk.Voting_period_reprSource
The voting period kinds are ordered as follows: Proposal -> Testing_vote -> Testing -> Promotion_vote -> Adoption. This order is the one used be the function succ below.
Source
type voting_period = {- index : Tezos_protocol_environment_008_PtEdo2Zk.Int32.t;
- kind : kind;
- start_position : Tezos_protocol_environment_008_PtEdo2Zk.Int32.t;
}A voting period can be of 5 kinds and is uniquely identified by a counter since the root.
Source
type info = {- voting_period : t;
- position : Tezos_protocol_environment_008_PtEdo2Zk.Int32.t;
- remaining : Tezos_protocol_environment_008_PtEdo2Zk.Int32.t;
}include Tezos_protocol_environment_008_PtEdo2Zk.Compare.S
  with type t := voting_period
val (=) : voting_period -> voting_period -> boolval (<>) : voting_period -> voting_period -> boolval (<) : voting_period -> voting_period -> boolval (<=) : voting_period -> voting_period -> boolval (>=) : voting_period -> voting_period -> boolval (>) : voting_period -> voting_period -> boolval compare : voting_period -> voting_period -> intval equal : voting_period -> voting_period -> boolval max : voting_period -> voting_period -> voting_periodval min : voting_period -> voting_period -> voting_periodreset period ~start_position increment the index by one and set the kind to Proposal which is the period kind that start the voting process. start_position is the level at wich this voting_period started.
succ period ~start_position increment the index by one and set the kind to its successor. start_position is the level at which this voting_period started.
Source
val remaining_blocks : 
  Level_repr.t ->
  t ->
  blocks_per_voting_period:Tezos_protocol_environment_008_PtEdo2Zk.Int32.t ->
  Tezos_protocol_environment_008_PtEdo2Zk.Int32.t sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >