package tezos-protocol-016-PtMumbai

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
type level = t
include Tezos_protocol_environment_016_PtMumbai.Compare.S with type t := level
val (=) : level -> level -> bool
val (<>) : level -> level -> bool
val (<) : level -> level -> bool
val (<=) : level -> level -> bool
val (>=) : level -> level -> bool
val (>) : level -> level -> bool
val compare : level -> level -> int
val equal : level -> level -> bool
val max : level -> level -> level
val min : level -> level -> level
val to_int32 : level -> int32
val of_int32_exn : int32 -> level

Can trigger Unexpected_level error when the level to encode is negative

val diff : level -> level -> int32
val root : level
val succ : level -> level
val pred : level -> level option
val add : level -> int -> level

add l i i must be positive

val sub : level -> int -> level option

sub l i i must be positive

module Index : Storage_description.INDEX with type t = level
OCaml

Innovation. Community. Security.