Module Mavryk_raw_protocol_alpha.Staking_pseudotoken_repr

Pseudotoken used in staking. It represents a share of the total frozen deposits of a baker.

include Mavryk_protocol_environment_alpha.Compare.S
type t
val (=) : t -> t -> bool
val (<>) : t -> t -> bool
val (<) : t -> t -> bool
val (<=) : t -> t -> bool
val (>=) : t -> t -> bool
val (>) : t -> t -> bool
val compare : t -> t -> int
val equal : t -> t -> bool
val max : t -> t -> t
val min : t -> t -> t
val balance_update_encoding : [ `Credited of t | `Debited of t ] Mavryk_protocol_environment_alpha.Data_encoding.t
val zero : t
val init_of_tez : Tez_repr.t -> t
val pred : t -> t option
val mul_ratio : rounding:[ `Down | `Up ] -> t -> num:int64 -> den:int64 -> t Mavryk_protocol_environment_alpha.Error_monad.tzresult