package tezos-protocol-alpha

  1. Overview
  2. Docs
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/Stake_repr/index.html

Module Tezos_raw_protocol_alpha.Stake_reprSource

Sourcetype t = private {
  1. frozen : Tez_repr.t;
  2. weighted_delegated : Tez_repr.t;
}

Stake of a delegate.

Sourceval zero : t
Sourceval make : frozen:Tez_repr.t -> weighted_delegated:Tez_repr.t -> t
Sourceval get_frozen : t -> Tez_repr.t

Returns only the frozen part of a stake

Sourceval staking_weight : t -> int64

The weight of a staker or a set of stakers. Since this function is applied on a Stake_repr.t, the limits should already have been applied using apply_limits if necessary.

Sourceval compare : t -> t -> int
OCaml

Innovation. Community. Security.