Mavryk_raw_protocol_001_PtAtLas.Stake_repr
Stake of a delegate.
val zero : t
val make : frozen:Tez_repr.t -> weighted_delegated:Tez_repr.t -> t
val encoding : t Mavryk_protocol_environment_001_PtAtLas.Data_encoding.t
val get_frozen : t -> Tez_repr.t
Returns only the frozen part of a stake
val (+?) :
t ->
t ->
t Mavryk_protocol_environment_001_PtAtLas.Error_monad.tzresult
val staking_weight : t -> int64
The 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.