package tezos-protocol-alpha
Tezos protocol alpha package
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-18.1.tar.gz
sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a
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)"
>