tezos-protocol-alpha.raw
Tezos_raw_protocol_alpha.Voting_services
This module provides RPC services that return voting-related information.
tezos-protocol-alpha
tezos-protocol-alpha.environment
tezos-protocol-alpha.parameters
val ballots : 'a Tezos_protocol_environment_alpha.RPC_context.simple -> 'a -> Alpha_context.Vote.ballots Tezos_protocol_environment_alpha.Error_monad.shell_tzresult Tezos_protocol_environment_alpha.Lwt.t
val ballot_list : 'a Tezos_protocol_environment_alpha.RPC_context.simple -> 'a -> (Tezos_protocol_environment_alpha.Signature.Public_key_hash.t * Alpha_context.Vote.ballot) list Tezos_protocol_environment_alpha.Error_monad.shell_tzresult Tezos_protocol_environment_alpha.Lwt.t
val current_period : 'a Tezos_protocol_environment_alpha.RPC_context.simple -> 'a -> Alpha_context.Voting_period.info Tezos_protocol_environment_alpha.Error_monad.shell_tzresult Tezos_protocol_environment_alpha.Lwt.t
val successor_period : 'a Tezos_protocol_environment_alpha.RPC_context.simple -> 'a -> Alpha_context.Voting_period.info Tezos_protocol_environment_alpha.Error_monad.shell_tzresult Tezos_protocol_environment_alpha.Lwt.t
val current_quorum : 'a Tezos_protocol_environment_alpha.RPC_context.simple -> 'a -> Tezos_protocol_environment_alpha.Int32.t Tezos_protocol_environment_alpha.Error_monad.shell_tzresult Tezos_protocol_environment_alpha.Lwt.t
val listings : 'a Tezos_protocol_environment_alpha.RPC_context.simple -> 'a -> (Tezos_protocol_environment_alpha.Signature.Public_key_hash.t * int64) list Tezos_protocol_environment_alpha.Error_monad.shell_tzresult Tezos_protocol_environment_alpha.Lwt.t
val proposals : 'a Tezos_protocol_environment_alpha.RPC_context.simple -> 'a -> Tezos_protocol_environment_alpha.Int64.t Tezos_protocol_environment_alpha.Protocol_hash.Map.t Tezos_protocol_environment_alpha.Error_monad.shell_tzresult Tezos_protocol_environment_alpha.Lwt.t
val current_proposal : 'a Tezos_protocol_environment_alpha.RPC_context.simple -> 'a -> Tezos_protocol_environment_alpha.Protocol_hash.t option Tezos_protocol_environment_alpha.Error_monad.shell_tzresult Tezos_protocol_environment_alpha.Lwt.t
val register : unit -> unit
val total_voting_power : 'a Tezos_protocol_environment_alpha.RPC_context.simple -> 'a -> Tezos_protocol_environment_alpha.Int64.t Tezos_protocol_environment_alpha.Error_monad.shell_tzresult Tezos_protocol_environment_alpha.Lwt.t