Context.Vote
val get_current_quorum :
t ->
int32 Mavryk_base.TzPervasives.tzresult
Mavryk_protocol_001_PtAtLas.Environment.Lwt.t
val get_participation_ema :
Block.t ->
int32 Mavryk_base.TzPervasives.tzresult
Mavryk_protocol_001_PtAtLas.Environment.Lwt.t
val get_listings :
t ->
(Mavryk_protocol_001_PtAtLas.Environment.Signature.Public_key_hash.t * int64)
list
Mavryk_base.TzPervasives.tzresult
Mavryk_protocol_001_PtAtLas.Environment.Lwt.t
val get_current_proposal :
t ->
Mavryk_protocol_001_PtAtLas.Environment.Protocol_hash.t option
Mavryk_base.TzPervasives.tzresult
Mavryk_protocol_001_PtAtLas.Environment.Lwt.t
val set_participation_ema :
Block.t ->
int32 ->
Block.t Mavryk_protocol_001_PtAtLas.Environment.Lwt.t
type delegate_info =
Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Vote.delegate_info =
{
voting_power : Mavryk_protocol_001_PtAtLas.Environment.Int64.t option;
current_ballot : Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Vote.ballot
option;
current_proposals : Mavryk_protocol_001_PtAtLas.Environment.Protocol_hash.t
list;
remaining_proposals : int;
}
val get_delegate_proposal_count :
t ->
Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.public_key_hash ->
int Mavryk_base.TzPervasives.tzresult
Mavryk_protocol_001_PtAtLas.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.