Context.Vote
val get_current_quorum :
t ->
int32 Mavryk_base.TzPervasives.tzresult
Mavryk_protocol_alpha.Environment.Lwt.t
val get_participation_ema :
Block.t ->
int32 Mavryk_base.TzPervasives.tzresult
Mavryk_protocol_alpha.Environment.Lwt.t
val get_listings :
t ->
(Mavryk_protocol_alpha.Environment.Signature.Public_key_hash.t * int64) list
Mavryk_base.TzPervasives.tzresult
Mavryk_protocol_alpha.Environment.Lwt.t
val get_proposals :
t ->
int64 Mavryk_protocol_alpha.Environment.Protocol_hash.Map.t
Mavryk_base.TzPervasives.tzresult
Mavryk_protocol_alpha.Environment.Lwt.t
val get_current_proposal :
t ->
Mavryk_protocol_alpha.Environment.Protocol_hash.t option
Mavryk_base.TzPervasives.tzresult
Mavryk_protocol_alpha.Environment.Lwt.t
val get_protocol :
Block.t ->
Mavryk_protocol_alpha.Environment.Protocol_hash.t
Mavryk_protocol_alpha.Environment.Lwt.t
val set_participation_ema :
Block.t ->
int32 ->
Block.t Mavryk_protocol_alpha.Environment.Lwt.t
type delegate_info =
Mavryk_protocol_alpha.Protocol.Alpha_context.Vote.delegate_info =
{
voting_power : Mavryk_protocol_alpha.Environment.Int64.t option;
current_ballot : Mavryk_protocol_alpha.Protocol.Alpha_context.Vote.ballot
option;
current_proposals : Mavryk_protocol_alpha.Environment.Protocol_hash.t list;
remaining_proposals : int;
}
val get_delegate_proposal_count :
t ->
Mavryk_protocol_alpha.Protocol.Alpha_context.public_key_hash ->
int Mavryk_base.TzPervasives.tzresult Mavryk_protocol_alpha.Environment.Lwt.t
See Vote_storage
.get_delegate_proposal_count.
Note that unlike most functions in the current module, this one does not call an RPC.