package tezos-protocol-004-Pt24m4xi
 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-004-Pt24m4xi.raw/Tezos_raw_protocol_004_Pt24m4xi/Vote_storage/index.html
Module Tezos_raw_protocol_004_Pt24m4xi.Vote_storageSource
Manages all the voting related storage in Storage.Vote.
Source
val record_proposal : 
  Raw_context.t ->
  Tezos_protocol_environment_004_Pt24m4xi.Protocol_hash.t ->
  Tezos_protocol_environment_004_Pt24m4xi.Signature.Public_key_hash.t ->
  Raw_context.t Tezos_protocol_environment_004_Pt24m4xi.Error_monad.tzresult
    Tezos_protocol_environment_004_Pt24m4xi.Lwt.tRecords a protocol proposal with the delegate that proposed it.
Source
val recorded_proposal_count_for_delegate : 
  Raw_context.t ->
  Tezos_protocol_environment_004_Pt24m4xi.Signature.Public_key_hash.t ->
  int Tezos_protocol_environment_004_Pt24m4xi.Error_monad.tzresult
    Tezos_protocol_environment_004_Pt24m4xi.Lwt.tSource
val get_proposals : 
  Raw_context.t ->
  int32 Tezos_protocol_environment_004_Pt24m4xi.Protocol_hash.Map.t
    Tezos_protocol_environment_004_Pt24m4xi.Error_monad.tzresult
    Tezos_protocol_environment_004_Pt24m4xi.Lwt.tComputes for each proposal how many delegates proposed it.
Source
val clear_proposals : 
  Raw_context.t ->
  Raw_context.t Tezos_protocol_environment_004_Pt24m4xi.Lwt.tCounts of the votes
Source
val has_recorded_ballot : 
  Raw_context.t ->
  Tezos_protocol_environment_004_Pt24m4xi.Signature.Public_key_hash.t ->
  bool Tezos_protocol_environment_004_Pt24m4xi.Lwt.tSource
val record_ballot : 
  Raw_context.t ->
  Tezos_protocol_environment_004_Pt24m4xi.Signature.Public_key_hash.t ->
  Vote_repr.ballot ->
  Raw_context.t Tezos_protocol_environment_004_Pt24m4xi.Error_monad.tzresult
    Tezos_protocol_environment_004_Pt24m4xi.Lwt.tRecords a vote for a delegate, returns a Storage_errorExisting_key if the vote was already registered
Source
val get_ballots : 
  Raw_context.t ->
  ballots Tezos_protocol_environment_004_Pt24m4xi.Error_monad.tzresult
    Tezos_protocol_environment_004_Pt24m4xi.Lwt.tComputes the sum of the current ballots weighted by stake.
Source
val get_ballot_list : 
  Raw_context.t ->
  (Tezos_protocol_environment_004_Pt24m4xi.Signature.Public_key_hash.t
   * Vote_repr.ballot)
    list
    Tezos_protocol_environment_004_Pt24m4xi.Lwt.tSource
val clear_ballots : 
  Raw_context.t ->
  Raw_context.t Tezos_protocol_environment_004_Pt24m4xi.Lwt.tSource
val listings_encoding : 
  (Tezos_protocol_environment_004_Pt24m4xi.Signature.Public_key_hash.t * int32)
    list
    Tezos_protocol_environment_004_Pt24m4xi.Data_encoding.tSource
val freeze_listings : 
  Raw_context.t ->
  Raw_context.t Tezos_protocol_environment_004_Pt24m4xi.Error_monad.tzresult
    Tezos_protocol_environment_004_Pt24m4xi.Lwt.tPopulates !Storage.Vote.Listings using the currently existing rolls and sets Listings_size. Delegates without rolls are not included in the listing.
Source
val listing_size : 
  Raw_context.t ->
  int32 Tezos_protocol_environment_004_Pt24m4xi.Error_monad.tzresult
    Tezos_protocol_environment_004_Pt24m4xi.Lwt.tReturns the sum of all rolls of all delegates.
Source
val in_listings : 
  Raw_context.t ->
  Tezos_protocol_environment_004_Pt24m4xi.Signature.Public_key_hash.t ->
  bool Tezos_protocol_environment_004_Pt24m4xi.Lwt.tVerifies the presence of a delegate in the listing.
Source
val get_listings : 
  Raw_context.t ->
  (Tezos_protocol_environment_004_Pt24m4xi.Signature.Public_key_hash.t * int32)
    list
    Tezos_protocol_environment_004_Pt24m4xi.Lwt.tSource
val get_current_quorum : 
  Raw_context.t ->
  int32 Tezos_protocol_environment_004_Pt24m4xi.Error_monad.tzresult
    Tezos_protocol_environment_004_Pt24m4xi.Lwt.tSource
val set_current_quorum : 
  Raw_context.t ->
  int32 ->
  Raw_context.t Tezos_protocol_environment_004_Pt24m4xi.Error_monad.tzresult
    Tezos_protocol_environment_004_Pt24m4xi.Lwt.tSource
val set_current_period_kind : 
  Raw_context.t ->
  Voting_period_repr.kind ->
  Raw_context.t Tezos_protocol_environment_004_Pt24m4xi.Error_monad.tzresult
    Tezos_protocol_environment_004_Pt24m4xi.Lwt.tSource
val clear_current_proposal : 
  Raw_context.t ->
  Raw_context.t Tezos_protocol_environment_004_Pt24m4xi.Error_monad.tzresult
    Tezos_protocol_environment_004_Pt24m4xi.Lwt.tSource
val init : 
  Raw_context.t ->
  Raw_context.t Tezos_protocol_environment_004_Pt24m4xi.Error_monad.tzresult
    Tezos_protocol_environment_004_Pt24m4xi.Lwt.tSets the initial quorum to 80% and period kind to proposal.
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >