package tezos-shell

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = store
type key = int
type value = Tezos_crypto.Protocol_hash.t * Stdlib.Int32.t
val known : t -> key -> bool Lwt.t
val read : t -> key -> (value, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val read_opt : t -> key -> value option Lwt.t
val store : t -> key -> value -> unit Lwt.t
val remove : t -> key -> unit Lwt.t
val keys : t -> key list Lwt.t
val bindings : t -> (key * value) list Lwt.t
val remove_all : t -> unit Lwt.t
val iter : t -> f:(key -> value -> unit Lwt.t) -> unit Lwt.t
val iter_keys : t -> f:(key -> unit Lwt.t) -> unit Lwt.t
val fold : t -> init:'a -> f:(key -> value -> 'a -> 'a Lwt.t) -> 'a Lwt.t
val fold_keys : t -> init:'a -> f:(key -> 'a -> 'a Lwt.t) -> 'a Lwt.t
OCaml

Innovation. Community. Security.