Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type t = {
level : Tezos_protocol_alpha.Protocol.Alpha_context.Raw_level.t;
delegate : Tezos_protocol_alpha.Protocol.Environment.Signature.Public_key_hash.t;
round : int;
timestamp : Tezos_protocol_alpha.Protocol.Alpha_context.Timestamp.t option;
}
module S : sig ... end
val baking_rights_at_level :
Tezos_raw_protocol_alpha.Alpha_context.context ->
Tezos_protocol_alpha.Protocol.Environment.Compare.Int.t ->
Tezos_raw_protocol_alpha.Alpha_context.Level.t ->
(t list,
Tezos_protocol_environment_alpha__Environment.Error_monad.error
Tezos_protocol_environment_alpha__Environment.Error_monad.trace)
Stdlib.result
Lwt.t
val get :
'a Tezos_protocol_alpha.Protocol.Environment.RPC_context.simple ->
?levels:Tezos_protocol_alpha.Protocol.Alpha_context.Raw_level.t list ->
?cycle:Tezos_protocol_alpha.Protocol.Alpha_context.Cycle.t ->
?delegates:
Tezos_protocol_alpha.Protocol.Environment.Signature.Public_key_hash.t list ->
?all:bool ->
?max_round:int ->
'a ->
(t list,
Tezos_error_monad.TzCore.error Tezos_error_monad.Error_monad.TzTrace.trace)
Stdlib.result
Lwt.t