package tezos-protocol-alpha

  1. Overview
  2. Docs
Tezos protocol alpha package

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

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.