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/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.