Mavryk_alpha_test_helpers.Tez_helpers
This module wraps the errors from the protocol and provides some helpful functions manipulating Tez.
val zero : t
val one_mumav : t
val one_cent : t
val fifty_cents : t
val one : t
val max_tez : t
val (-?) : t -> t -> t Mavryk_base.TzPervasives.tzresult
val (+?) : t -> t -> t Mavryk_base.TzPervasives.tzresult
val (*?) : t -> int64 -> t Mavryk_base.TzPervasives.tzresult
val (/?) : t -> int64 -> t Mavryk_base.TzPervasives.tzresult
val to_mumav : t -> int64
val of_mumav : int64 -> t
module Compare : Mavryk_base.TzPervasives.Compare.S with type t := t
val pp : Stdlib.Format.formatter -> t -> unit
val to_string : t -> string
val mul_q : t -> Q.t -> Q.t
val of_int : int -> t
val of_q : round:[ `Down | `Up ] -> Q.t -> t
val of_z : Z.t -> t
val to_z : t -> Z.t
module Ez_tez : sig ... end
Functions to manipulate Tez in a high level way