Tezos_023_PtSeouLo_test_helpers.Tez_helpersThis module wraps the errors from the protocol and provides some helpful functions manipulating Tez.
val zero : tval one_mutez : tval one_cent : tval fifty_cents : tval one : tval max_tez : tval (-?) : t -> t -> t Tezos_base.TzPervasives.tzresultval (+?) : t -> t -> t Tezos_base.TzPervasives.tzresultval (*?) : t -> int64 -> t Tezos_base.TzPervasives.tzresultval (/?) : t -> int64 -> t Tezos_base.TzPervasives.tzresultval to_mutez : t -> int64val of_mutez : int64 -> tval to_repr : t -> Tezos_protocol_023_PtSeouLo.Protocol.Tez_repr.tval of_repr : Tezos_protocol_023_PtSeouLo.Protocol.Tez_repr.t -> tmodule Compare : Tezos_base.TzPervasives.Compare.S with type t := tval pp : Stdlib.Format.formatter -> t -> unitval to_string : t -> stringval mul_percentage :
rounding:[ `Down | `Up ] ->
t ->
Tezos_protocol_023_PtSeouLo.Protocol.Percentage.t ->
tSee Protocol.Tez_repr.mul_percentage.
val 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 : sig ... endFunctions to manipulate Tez in a high level way