package tezos-protocol-008-PtEdoTez

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
type period = 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
val encoding : period Tezos_base__TzPervasives.Data_encoding.t
val rpc_arg : period Tezos_protocol_environment_008_PtEdoTez__Environment.RPC_arg.t
val pp : Stdlib.Format.formatter -> period -> unit
val to_seconds : period -> int64
val of_seconds : int64 -> (period, Tezos_protocol_environment_008_PtEdoTez__Environment.Error_monad.error list) Stdlib.result

of_second period fails if period is not positive

val of_seconds_exn : int64 -> period

of_second period fails if period is not positive. It should only be used at toplevel for constants.

val mult : int32 -> period -> (period, Tezos_protocol_environment_008_PtEdoTez__Environment.Error_monad.error list) Stdlib.result
val zero : period
val one_second : period
val one_minute : period
val one_hour : period
OCaml

Innovation. Community. Security.