Tezos_raw_protocol_020_PsParisC.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 Tezos_protocol_environment_020_PsParisC.RPC_context.simple ->
'a ->
?active:bool ->
?inactive:bool ->
?with_minimal_stake:bool ->
?without_minimal_stake:bool ->
unit ->
Tezos_protocol_environment_020_PsParisC.Signature.Public_key_hash.t list
Tezos_protocol_environment_020_PsParisC.Error_monad.shell_tzresult
Tezos_protocol_environment_020_PsParisC.Lwt.ttype consensus_key = {consensus_key_pkh : Tezos_protocol_environment_020_PsParisC.Signature.Public_key_hash.t;consensus_key_pk : Tezos_protocol_environment_020_PsParisC.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;min_delegated_in_current_cycle : Alpha_context.Tez.t * Level_repr.t option;total_delegated_stake : Alpha_context.Tez.t;staking_denominator : Alpha_context.Staking_pseudotoken.t;deactivated : bool;grace_period : Alpha_context.Cycle.t;pending_denunciations : bool;voting_info : Alpha_context.Vote.delegate_info;active_consensus_key : Tezos_protocol_environment_020_PsParisC.Signature.Public_key_hash.t;pending_consensus_keys : (Alpha_context.Cycle.t
* Tezos_protocol_environment_020_PsParisC.Signature.Public_key_hash.t)
list;}val deposit_per_cycle_encoding :
deposit_per_cycle Tezos_protocol_environment_020_PsParisC.Data_encoding.tval info_encoding :
info Tezos_protocol_environment_020_PsParisC.Data_encoding.tval current_frozen_deposits :
'a Tezos_protocol_environment_020_PsParisC.RPC_context.simple ->
'a ->
Tezos_protocol_environment_020_PsParisC.Signature.Public_key_hash.t ->
Alpha_context.Tez.t
Tezos_protocol_environment_020_PsParisC.Error_monad.shell_tzresult
Tezos_protocol_environment_020_PsParisC.Lwt.tval unstaked_frozen_deposits :
'a Tezos_protocol_environment_020_PsParisC.RPC_context.simple ->
'a ->
Tezos_protocol_environment_020_PsParisC.Signature.Public_key_hash.t ->
deposit_per_cycle list
Tezos_protocol_environment_020_PsParisC.Error_monad.shell_tzresult
Tezos_protocol_environment_020_PsParisC.Lwt.tval frozen_deposits_limit :
'a Tezos_protocol_environment_020_PsParisC.RPC_context.simple ->
'a ->
Tezos_protocol_environment_020_PsParisC.Signature.Public_key_hash.t ->
Alpha_context.Tez.t option
Tezos_protocol_environment_020_PsParisC.Error_monad.shell_tzresult
Tezos_protocol_environment_020_PsParisC.Lwt.tval delegated_contracts :
'a Tezos_protocol_environment_020_PsParisC.RPC_context.simple ->
'a ->
Tezos_protocol_environment_020_PsParisC.Signature.Public_key_hash.t ->
Alpha_context.Contract.t list
Tezos_protocol_environment_020_PsParisC.Error_monad.shell_tzresult
Tezos_protocol_environment_020_PsParisC.Lwt.tval current_voting_power :
'a Tezos_protocol_environment_020_PsParisC.RPC_context.simple ->
'a ->
Alpha_context.public_key_hash ->
int64 Tezos_protocol_environment_020_PsParisC.Error_monad.shell_tzresult
Tezos_protocol_environment_020_PsParisC.Lwt.tval current_baking_power :
'a Tezos_protocol_environment_020_PsParisC.RPC_context.simple ->
'a ->
Alpha_context.public_key_hash ->
int64 Tezos_protocol_environment_020_PsParisC.Error_monad.shell_tzresult
Tezos_protocol_environment_020_PsParisC.Lwt.tval pending_staking_parameters :
'a Tezos_protocol_environment_020_PsParisC.RPC_context.simple ->
'a ->
Alpha_context.public_key_hash ->
(Alpha_context.Cycle.t * Staking_parameters_repr.t) list
Tezos_protocol_environment_020_PsParisC.Error_monad.shell_tzresult
Tezos_protocol_environment_020_PsParisC.Lwt.t