package tezos-protocol-alpha

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

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.