package tezos-protocol-001-PtCJ7pwo

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val get_proposals : Raw_context.t -> int32 Tezos_protocol_environment_001_PtCJ7pwo__Environment.Protocol_hash.Map.t Lwt.t
val clear_proposals : Raw_context.t -> Raw_context.t Lwt.t
type ballots = {
  1. yay : int32;
  2. nay : int32;
  3. pass : int32;
}
val get_ballots : Raw_context.t -> (ballots, Tezos_protocol_environment_001_PtCJ7pwo__Environment.Error_monad.error list) Stdlib.result Lwt.t
val clear_ballots : Raw_context.t -> Raw_context.t Lwt.t
val freeze_listings : Raw_context.t -> (Raw_context.t, Tezos_protocol_environment_001_PtCJ7pwo__Environment.Error_monad.error list) Stdlib.result Lwt.t
val clear_listings : Raw_context.t -> (Raw_context.t, Tezos_protocol_environment_001_PtCJ7pwo__Environment.Error_monad.error list) Stdlib.result Lwt.t
val listing_size : Raw_context.t -> (int32, Tezos_protocol_environment_001_PtCJ7pwo__Environment.Error_monad.error list) Stdlib.result Lwt.t
val get_current_quorum : Raw_context.t -> (int32, Tezos_protocol_environment_001_PtCJ7pwo__Environment.Error_monad.error list) Stdlib.result Lwt.t
val set_current_quorum : Raw_context.t -> int32 -> (Raw_context.t, Tezos_protocol_environment_001_PtCJ7pwo__Environment.Error_monad.error list) Stdlib.result Lwt.t
val get_current_period_kind : Raw_context.t -> (Voting_period_repr.kind, Tezos_protocol_environment_001_PtCJ7pwo__Environment.Error_monad.error list) Stdlib.result Lwt.t
val set_current_period_kind : Raw_context.t -> Voting_period_repr.kind -> (Raw_context.t, Tezos_protocol_environment_001_PtCJ7pwo__Environment.Error_monad.error list) Stdlib.result Lwt.t
val get_current_proposal : Raw_context.t -> (Tezos_crypto.Protocol_hash.t, Tezos_protocol_environment_001_PtCJ7pwo__Environment.Error_monad.error list) Stdlib.result Lwt.t
val init_current_proposal : Raw_context.t -> Tezos_crypto.Protocol_hash.t -> (Raw_context.t, Tezos_protocol_environment_001_PtCJ7pwo__Environment.Error_monad.error list) Stdlib.result Lwt.t
val clear_current_proposal : Raw_context.t -> (Raw_context.t, Tezos_protocol_environment_001_PtCJ7pwo__Environment.Error_monad.error list) Stdlib.result Lwt.t
val init : Raw_context.t -> (Raw_context.t, Tezos_protocol_environment_001_PtCJ7pwo__Environment.Error_monad.error list) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.