package tezos-alpha-test-helpers

  1. Overview
  2. Docs
include module type of struct include Tezos_protocol_alpha.Protocol.Alpha_context.Tez end
include Tezos_raw_protocol_alpha.Alpha_context.BASIC_DATA
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 encoding : t Data_encoding.t
val pp : Stdlib.Format.formatter -> t -> unit
type tez = t
val zero : tez
val one_mutez : tez
val one_cent : tez
val fifty_cents : tez
val one : tez
val of_string : string -> tez option
val to_string : tez -> string
val of_mutez : int64 -> tez option
val to_mutez : tez -> int64
val mul_exn : t -> int -> t
val (+?) : tez -> tez -> (tez, Tezos_error_monad.TzCore.error list) Stdlib.result
val (-?) : tez -> tez -> (tez, Tezos_error_monad.TzCore.error list) Stdlib.result
val (*?) : tez -> int64 -> (tez, Tezos_error_monad.TzCore.error list) Stdlib.result
val (/?) : tez -> int64 -> (tez, Tezos_error_monad.TzCore.error list) Stdlib.result
val (+) : tez -> tez -> tez
OCaml

Innovation. Community. Security.