Tez_staking_helpers.Tezinclude module type of struct include Tez_helpers endThis module wraps the errors from the protocol and provides some helpful functions manipulating Tez.
val zero : tval one_mumav : tval one_cent : tval fifty_cents : tval one : tval max_tez : tval (-?) : t -> t -> t Mavryk_base.TzPervasives.tzresultval (+?) : t -> t -> t Mavryk_base.TzPervasives.tzresultval (*?) : t -> int64 -> t Mavryk_base.TzPervasives.tzresultval (/?) : t -> int64 -> t Mavryk_base.TzPervasives.tzresultval to_mumav : t -> int64val of_mumav : int64 -> tmodule Compare = Tez_helpers.Compareval pp : Stdlib.Format.formatter -> t -> unitval to_string : t -> stringval mul_q : t -> Q.t -> Q.tval of_int : int -> tval of_q : round:[ `Down | `Up ] -> Q.t -> tval of_z : Z.t -> tval to_z : t -> Z.tmodule Ez_tez = Tez_helpers.Ez_tezFunctions to manipulate Tez in a high level way
include module type of struct include Tez_helpers.Compare endval (=) : Tez_helpers.t -> Tez_helpers.t -> boolx = y iff compare x y = 0
val (<>) : Tez_helpers.t -> Tez_helpers.t -> boolx <> y iff compare x y <> 0
val (<) : Tez_helpers.t -> Tez_helpers.t -> boolx < y iff compare x y < 0
val (<=) : Tez_helpers.t -> Tez_helpers.t -> boolx <= y iff compare x y <= 0
val (>=) : Tez_helpers.t -> Tez_helpers.t -> boolx >= y iff compare x y >= 0
val (>) : Tez_helpers.t -> Tez_helpers.t -> boolx > y iff compare x y > 0
val compare : Tez_helpers.t -> Tez_helpers.t -> intcompare an alias for the functor parameter's compare function
val equal : Tez_helpers.t -> Tez_helpers.t -> boolequal x y iff compare x y = 0
val max : Tez_helpers.t -> Tez_helpers.t -> Tez_helpers.tmax x y is x if x >= y otherwise it is y
val min : Tez_helpers.t -> Tez_helpers.t -> Tez_helpers.tmin x y is x if x <= y otherwise it is y