package tezos-protocol-alpha

  1. Overview
  2. Docs
Tezos protocol alpha package

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

doc/tezos_raw_protocol_alpha/Tezos_raw_protocol_alpha/Shared_stake/index.html

Module Tezos_raw_protocol_alpha.Shared_stakeSource

Sourcetype shared = {
  1. baker_part : Tez_repr.t;
  2. stakers_part : Tez_repr.t;
}

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.

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.

OCaml

Innovation. Community. Security.