Mavryk_raw_protocol_alpha.Stake_reprStake of a delegate.
It has the invariants enforced by Stake_context.apply_limits: frozen excludes any overstaked tez, and weighted_delegated includes overstaked tez but excludes overdelegated tez.
val zero : tval make : frozen:Tez_repr.t -> weighted_delegated:Tez_repr.t -> tBuilds a t. Should only be called in Stake_context.apply_limits to enforce the invariants.
val encoding : t Mavryk_protocol_environment_alpha.Data_encoding.tval get_frozen : t -> Tez_repr.tReturns only the frozen part of a stake. This includes the frozen balances from the delegate and any stakers, but excludes any overstaked tez.
val (+?) : t -> t -> t Mavryk_protocol_environment_alpha.Error_monad.tzresultval staking_weight : t -> int64The 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.
val has_minimal_stake_to_participate : minimal_stake:Tez_repr.t -> t -> bool