package tezos-protocol-007-PsDELPH1
Tezos/Protocol: economic-protocol definition
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-16.0.tar.gz
sha256=ad9e08819871c75ba6f4530b125f7d157799398e4d77a1e6bfea9d91ff37ff55
sha512=c5dc4d40cc09bc6980fbbdb5c2e105bf4252cf9cfcb2b49660b0ebe4dc789f6709ec3b3bf2f87d81580d3eed9521eeb1c960f24d9b14eb0285aaba1f84d10a9b
doc/tezos-protocol-007-PsDELPH1.raw/Tezos_raw_protocol_007_PsDELPH1/Vote_storage/index.html
Module Tezos_raw_protocol_007_PsDELPH1.Vote_storage
Source
Manages all the voting related storage in Storage.Vote.
Source
val record_proposal :
Raw_context.t ->
Tezos_protocol_environment_007_PsDELPH1.Protocol_hash.t ->
Tezos_protocol_environment_007_PsDELPH1.Signature.Public_key_hash.t ->
Raw_context.t Tezos_protocol_environment_007_PsDELPH1.Error_monad.tzresult
Tezos_protocol_environment_007_PsDELPH1.Lwt.t
Records a protocol proposal with the delegate that proposed it.
Source
val recorded_proposal_count_for_delegate :
Raw_context.t ->
Tezos_protocol_environment_007_PsDELPH1.Signature.Public_key_hash.t ->
int Tezos_protocol_environment_007_PsDELPH1.Error_monad.tzresult
Tezos_protocol_environment_007_PsDELPH1.Lwt.t
Source
val get_proposals :
Raw_context.t ->
int32 Tezos_protocol_environment_007_PsDELPH1.Protocol_hash.Map.t
Tezos_protocol_environment_007_PsDELPH1.Error_monad.tzresult
Tezos_protocol_environment_007_PsDELPH1.Lwt.t
Computes for each proposal how many delegates proposed it.
Source
val clear_proposals :
Raw_context.t ->
Raw_context.t Tezos_protocol_environment_007_PsDELPH1.Lwt.t
Counts of the votes
Source
val has_recorded_ballot :
Raw_context.t ->
Tezos_protocol_environment_007_PsDELPH1.Signature.Public_key_hash.t ->
bool Tezos_protocol_environment_007_PsDELPH1.Lwt.t
Source
val record_ballot :
Raw_context.t ->
Tezos_protocol_environment_007_PsDELPH1.Signature.Public_key_hash.t ->
Vote_repr.ballot ->
Raw_context.t Tezos_protocol_environment_007_PsDELPH1.Error_monad.tzresult
Tezos_protocol_environment_007_PsDELPH1.Lwt.t
Records 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_007_PsDELPH1.Error_monad.tzresult
Tezos_protocol_environment_007_PsDELPH1.Lwt.t
Computes the sum of the current ballots weighted by stake.
Source
val get_ballot_list :
Raw_context.t ->
(Tezos_protocol_environment_007_PsDELPH1.Signature.Public_key_hash.t
* Vote_repr.ballot)
list
Tezos_protocol_environment_007_PsDELPH1.Lwt.t
Source
val clear_ballots :
Raw_context.t ->
Raw_context.t Tezos_protocol_environment_007_PsDELPH1.Lwt.t
Source
val listings_encoding :
(Tezos_protocol_environment_007_PsDELPH1.Signature.Public_key_hash.t * int32)
list
Tezos_protocol_environment_007_PsDELPH1.Data_encoding.t
Source
val freeze_listings :
Raw_context.t ->
Raw_context.t Tezos_protocol_environment_007_PsDELPH1.Error_monad.tzresult
Tezos_protocol_environment_007_PsDELPH1.Lwt.t
Populates !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_007_PsDELPH1.Error_monad.tzresult
Tezos_protocol_environment_007_PsDELPH1.Lwt.t
Returns the sum of all rolls of all delegates.
Source
val in_listings :
Raw_context.t ->
Tezos_protocol_environment_007_PsDELPH1.Signature.Public_key_hash.t ->
bool Tezos_protocol_environment_007_PsDELPH1.Lwt.t
Verifies the presence of a delegate in the listing.
Source
val get_listings :
Raw_context.t ->
(Tezos_protocol_environment_007_PsDELPH1.Signature.Public_key_hash.t * int32)
list
Tezos_protocol_environment_007_PsDELPH1.Lwt.t
Source
val get_current_quorum :
Raw_context.t ->
int32 Tezos_protocol_environment_007_PsDELPH1.Error_monad.tzresult
Tezos_protocol_environment_007_PsDELPH1.Lwt.t
Source
val get_participation_ema :
Raw_context.t ->
int32 Tezos_protocol_environment_007_PsDELPH1.Error_monad.tzresult
Tezos_protocol_environment_007_PsDELPH1.Lwt.t
Source
val set_participation_ema :
Raw_context.t ->
int32 ->
Raw_context.t Tezos_protocol_environment_007_PsDELPH1.Error_monad.tzresult
Tezos_protocol_environment_007_PsDELPH1.Lwt.t
Source
val set_current_period_kind :
Raw_context.t ->
Voting_period_repr.kind ->
Raw_context.t Tezos_protocol_environment_007_PsDELPH1.Error_monad.tzresult
Tezos_protocol_environment_007_PsDELPH1.Lwt.t
Source
val clear_current_proposal :
Raw_context.t ->
Raw_context.t Tezos_protocol_environment_007_PsDELPH1.Error_monad.tzresult
Tezos_protocol_environment_007_PsDELPH1.Lwt.t
Source
val init :
Raw_context.t ->
Raw_context.t Tezos_protocol_environment_007_PsDELPH1.Error_monad.tzresult
Tezos_protocol_environment_007_PsDELPH1.Lwt.t
Sets the initial quorum to 80% and period kind to proposal.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>