package tezos-protocol-005-PsBABY5H

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
type nonce = t
val encoding : nonce Data_encoding.t
type unrevealed = {
  1. nonce_hash : Nonce_hash.t;
  2. delegate : public_key_hash;
  3. rewards : Tez.t;
  4. fees : Tez.t;
}
val record_hash : context -> unrevealed -> (context, Tezos_protocol_environment_005_PsBABY5H__Environment.Error_monad.error list) Stdlib.result Lwt.t
val reveal : context -> Level.t -> nonce -> (context, Tezos_protocol_environment_005_PsBABY5H__Environment.Error_monad.error list) Stdlib.result Lwt.t
type status =
  1. | Unrevealed of unrevealed
  2. | Revealed of nonce
val get : context -> Level.t -> (status, Tezos_protocol_environment_005_PsBABY5H__Environment.Error_monad.error list) Stdlib.result Lwt.t
val of_bytes : Tezos_protocol_environment_structs.V0.M.MBytes.t -> (nonce, Tezos_protocol_environment_005_PsBABY5H__Environment.Error_monad.error list) Stdlib.result
val hash : nonce -> Nonce_hash.t
val check_hash : nonce -> Nonce_hash.t -> bool
OCaml

Innovation. Community. Security.