Mavryk_raw_protocol_001_PtAtLas.Delegate_servicesThis module defines RPC services to access the information associated to delegates (who they are, their delegators, their different kinds of balances, their activity, etc.).
val list :
'a Mavryk_protocol_environment_001_PtAtLas.RPC_context.simple ->
'a ->
?active:bool ->
?inactive:bool ->
?with_minimal_stake:bool ->
?without_minimal_stake:bool ->
unit ->
Mavryk_protocol_environment_001_PtAtLas.Signature.Public_key_hash.t list
Mavryk_protocol_environment_001_PtAtLas.Error_monad.shell_tzresult
Mavryk_protocol_environment_001_PtAtLas.Lwt.ttype consensus_key = {consensus_key_pkh : Mavryk_protocol_environment_001_PtAtLas.Signature.Public_key_hash.t;consensus_key_pk : Mavryk_protocol_environment_001_PtAtLas.Signature.Public_key.t;}type consensus_keys_info = {active : consensus_key;pendings : (Alpha_context.Cycle.t * consensus_key) list;}type info = {full_balance : Alpha_context.Tez.t;Balance + Frozen balance
*)current_frozen_deposits : Alpha_context.Tez.t;frozen_deposits : Alpha_context.Tez.t;staking_balance : Alpha_context.Tez.t;frozen_deposits_limit : Alpha_context.Tez.t option;delegated_contracts : Alpha_context.Contract.t list;delegated_balance : Alpha_context.Tez.t;total_delegated_stake : Alpha_context.Tez.t;staking_denominator : Alpha_context.Staking_pseudotoken.t;deactivated : bool;grace_period : Alpha_context.Cycle.t;voting_info : Alpha_context.Vote.delegate_info;active_consensus_key : Mavryk_protocol_environment_001_PtAtLas.Signature.Public_key_hash.t;pending_consensus_keys : (Alpha_context.Cycle.t
* Mavryk_protocol_environment_001_PtAtLas.Signature.Public_key_hash.t)
list;}val deposit_per_cycle_encoding :
deposit_per_cycle Mavryk_protocol_environment_001_PtAtLas.Data_encoding.tval info_encoding :
info Mavryk_protocol_environment_001_PtAtLas.Data_encoding.tval current_frozen_deposits :
'a Mavryk_protocol_environment_001_PtAtLas.RPC_context.simple ->
'a ->
Mavryk_protocol_environment_001_PtAtLas.Signature.Public_key_hash.t ->
Alpha_context.Tez.t
Mavryk_protocol_environment_001_PtAtLas.Error_monad.shell_tzresult
Mavryk_protocol_environment_001_PtAtLas.Lwt.tval unstaked_frozen_deposits :
'a Mavryk_protocol_environment_001_PtAtLas.RPC_context.simple ->
'a ->
Mavryk_protocol_environment_001_PtAtLas.Signature.Public_key_hash.t ->
deposit_per_cycle list
Mavryk_protocol_environment_001_PtAtLas.Error_monad.shell_tzresult
Mavryk_protocol_environment_001_PtAtLas.Lwt.tval frozen_deposits_limit :
'a Mavryk_protocol_environment_001_PtAtLas.RPC_context.simple ->
'a ->
Mavryk_protocol_environment_001_PtAtLas.Signature.Public_key_hash.t ->
Alpha_context.Tez.t option
Mavryk_protocol_environment_001_PtAtLas.Error_monad.shell_tzresult
Mavryk_protocol_environment_001_PtAtLas.Lwt.tval delegated_contracts :
'a Mavryk_protocol_environment_001_PtAtLas.RPC_context.simple ->
'a ->
Mavryk_protocol_environment_001_PtAtLas.Signature.Public_key_hash.t ->
Alpha_context.Contract.t list
Mavryk_protocol_environment_001_PtAtLas.Error_monad.shell_tzresult
Mavryk_protocol_environment_001_PtAtLas.Lwt.tval current_voting_power :
'a Mavryk_protocol_environment_001_PtAtLas.RPC_context.simple ->
'a ->
Alpha_context.public_key_hash ->
int64 Mavryk_protocol_environment_001_PtAtLas.Error_monad.shell_tzresult
Mavryk_protocol_environment_001_PtAtLas.Lwt.tval current_baking_power :
'a Mavryk_protocol_environment_001_PtAtLas.RPC_context.simple ->
'a ->
Alpha_context.public_key_hash ->
int64 Mavryk_protocol_environment_001_PtAtLas.Error_monad.shell_tzresult
Mavryk_protocol_environment_001_PtAtLas.Lwt.tval pending_staking_parameters :
'a Mavryk_protocol_environment_001_PtAtLas.RPC_context.simple ->
'a ->
Alpha_context.public_key_hash ->
(Alpha_context.Cycle.t * Staking_parameters_repr.t) list
Mavryk_protocol_environment_001_PtAtLas.Error_monad.shell_tzresult
Mavryk_protocol_environment_001_PtAtLas.Lwt.t