package tezos-protocol-alpha

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

This module re-exports definitions from Tez_repr.

type repr
type t =
  1. | Tez_tag of repr
include BASIC_DATA with type t := t
include Tezos_protocol_environment_alpha.Compare.S with type t := 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
type tez = t
val zero : tez
val one_mutez : tez
val one_cent : tez
val fifty_cents : tez
val one : tez
val sub_opt : tez -> tez -> tez option
val of_string : string -> tez option
val to_string : tez -> string
val of_mutez : int64 -> tez option
val to_mutez : tez -> int64
val of_mutez_exn : int64 -> t
val mul_exn : t -> int -> t
val div_exn : t -> int -> t
OCaml

Innovation. Community. Security.