tezos-base

Tezos: meta-package and pervasive type definitions for Tezos
Library tezos-base
Module Tezos_base . Protocol
type t = {
expected_env : env_version;
components : component list;
}
and component = {
name : string;
interface : string option;
implementation : string;
}
and env_version =
| V0
val component_encoding : component Data_encoding.t
val env_version_encoding : env_version Data_encoding.t
val pp_ocaml : 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 : Format.formatter -> t -> unit
val encoding : t Data_encoding.t
val to_bytes : t -> Bytes.t
val of_bytes : Bytes.t -> t option
val of_bytes_exn : 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