package tezos-protocol-alpha

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

Module Tezos_raw_protocol_alpha.Stake_reprSource

Adding and removing stake can be done from/toward a delegate, one of its staker, or both the delegate and all its stakers at once. We need to distinguish these cases to enforce the staking over baking limit.

Sourceval compare_staker : staker -> staker -> int
Sourcetype t = private {
  1. frozen : Tez_repr.t;
  2. delegated : Tez_repr.t;
}

Stake of a delegate.

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

Returns only the frozen part of a stake

Sourcemodule Full : sig ... end
OCaml

Innovation. Community. Security.