package tezos-protocol-alpha

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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.

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

Stake of a delegate.

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

Returns only the frozen part of a stake

module Full : sig ... end
OCaml

Innovation. Community. Security.