package tezos-protocol-alpha
Tezos protocol alpha package
Install
Dune Dependency
Authors
Maintainers
Sources
octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053
doc/tezos_raw_protocol_alpha/Tezos_raw_protocol_alpha/Shared_stake/index.html
Module Tezos_raw_protocol_alpha.Shared_stake
Source
share ~rounding ctxt delegate amount
shares amount
between a baker_part
and a stakers_part
proportionally to their shares in delegate
's frozen deposits. rounding
controls where the extra mutez goes in case the split doesn't fall on integer values.
Source
val pay_rewards :
Raw_context.t ->
?active_stake:Stake_repr.t ->
source:[< Token.giver ] ->
delegate:Tezos_protocol_environment_alpha.Signature.public_key_hash ->
Tez_repr.t ->
(Raw_context.t * Receipt_repr.balance_updates)
Tezos_protocol_environment_alpha.Error_monad.tzresult
Tezos_protocol_environment_alpha.Lwt.t
pay_rewards ctxt ?active_stake source delegate
transfers the rewards to the delegate
spendable balance and frozen balance.
The distribution is based on the baker's staking parameters.
If adaptive issuance is enabled, it also accounts for the repartition of the delegate's active_stake
between delegated token and frozen deposits. If active_stake
is not provided, it will be retrieved from the context.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>