package tezos-protocol-alpha
Tezos protocol alpha package
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a
doc/tezos_raw_protocol_alpha/Tezos_raw_protocol_alpha/Stake_context/index.html
Module Tezos_raw_protocol_alpha.Stake_context
Source
Functions on stake and depending on the context.
Source
val apply_limits :
Raw_context.t ->
Staking_parameters_repr.t ->
Stake_repr.Full.t ->
Stake_repr.t Tezos_protocol_environment_alpha.Error_monad.tzresult
Apply the delegation_over_baking and staking_over_baking limits of a delegate. Overstaked tez count as delegated, overdelegated tez do not count at all.
The weight of a staker or a set of stakers. When adaptive issuance is active, the delegated tez weight edge_of_staking_over_delegation less than frozen ones. Since this function is applied on a Stake_repr.t
, the limits should already have been applied using apply_limits
if necessary.
Source
val voting_weight :
Raw_context.t ->
Stake_repr.Full.t ->
int64 Tezos_protocol_environment_alpha.Error_monad.tzresult
The weight of a delegate used for voting rights.
Source
val baking_weight :
Raw_context.t ->
Staking_parameters_repr.t ->
Stake_repr.Full.t ->
int64 Tezos_protocol_environment_alpha.Error_monad.tzresult
The weight of a baker used for baking and attesting rights.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>