package tezos-base

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. expected_env : env_version;
  2. components : component list;
}
and component = {
  1. name : string;
  2. interface : string option;
  3. implementation : string;
}
and env_version =
  1. | V0
  2. | V1
  3. | V2
val component_encoding : component Data_encoding.t
val env_version_encoding : env_version Data_encoding.t
val pp_ocaml : Stdlib.Format.formatter -> t -> unit
include S.HASHABLE with type t := t and type hash := Tezos_crypto.Protocol_hash.t
include S.T with type t := t
include Tezos_stdlib.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
val pp : Stdlib.Format.formatter -> t -> unit
val encoding : t Data_encoding.t
val to_bytes : t -> Stdlib.Bytes.t
val of_bytes : Stdlib.Bytes.t -> t option
val hash_raw : Stdlib.Bytes.t -> Tezos_crypto.Protocol_hash.t
val of_bytes_exn : Stdlib.Bytes.t -> t
val bounded_encoding : ?max_size:int -> unit -> t Data_encoding.t
val module_name_of_env_version : env_version -> string
module Meta : sig ... end
OCaml

Innovation. Community. Security.