RPC.Delegates
type info = {
full_balance : Mavryk_protocol_alpha.Protocol.Alpha_context.Tez.t;
current_frozen_deposits : Mavryk_protocol_alpha.Protocol.Alpha_context.Tez.t;
frozen_deposits : Mavryk_protocol_alpha.Protocol.Alpha_context.Tez.t;
staking_balance : Mavryk_protocol_alpha.Protocol.Alpha_context.Tez.t;
frozen_deposits_limit : Mavryk_protocol_alpha.Protocol.Alpha_context.Tez.t
option;
delegated_contracts : Mavryk_protocol_alpha.Protocol.Alpha_context.Contract.t
list;
delegated_balance : Mavryk_protocol_alpha.Protocol.Alpha_context.Tez.t;
min_delegated_in_current_cycle : Mavryk_protocol_alpha.Protocol.Alpha_context.Tez.t
* Mavryk_protocol_alpha.Protocol.Level_repr.t
option;
total_delegated_stake : Mavryk_protocol_alpha.Protocol.Alpha_context.Tez.t;
staking_denominator : Mavryk_protocol_alpha.Protocol.Alpha_context.Staking_pseudotoken.t;
deactivated : bool;
grace_period : Mavryk_protocol_alpha.Protocol.Alpha_context.Cycle.t;
pending_denunciations : bool;
voting_info : Mavryk_protocol_alpha.Protocol.Alpha_context.Vote.delegate_info;
active_consensus_key : Mavryk_protocol_alpha.Environment.Signature.Public_key_hash.t;
pending_consensus_keys : (Mavryk_protocol_alpha.Protocol.Alpha_context.Cycle.t
* Mavryk_protocol_alpha.Environment.Signature.Public_key_hash.t)
list;
}
val info_encoding :
info Mavryk_protocol_alpha.Environment.Data_encoding.encoding
val check_delegate_registered :
Mavryk_raw_protocol_alpha__Alpha_context.t ->
Mavryk_protocol_environment_alpha.Signature.Public_key_hash.t ->
(unit,
Mavryk_protocol_environment_alpha.Error_monad.error
Mavryk_protocol_alpha.Environment.Error_monad.trace)
Mavryk_protocol_environment_alpha.Pervasives.result
Lwt.t
module S : sig ... end
val unstake_requests :
Mavryk_raw_protocol_alpha__Alpha_context.t ->
Mavryk_raw_protocol_alpha__Alpha_context.Contract.t ->
(Mavryk_protocol_alpha.Protocol.Alpha_context.Unstake_requests.prepared_finalize_unstake
option,
Mavryk_protocol_environment_alpha.Error_monad.error
Mavryk_protocol_environment_alpha.Error_monad.trace)
Stdlib.result
Lwt.t
val delegated_balance :
'a Mavryk_protocol_alpha.Environment.RPC_context.simple ->
'b ->
Mavryk_protocol_alpha.Environment.Signature.Public_key_hash.t ->
Mavryk_protocol_alpha.Protocol.Alpha_context.Tez.t
Mavryk_protocol_environment_alpha.Error_monad.shell_tzresult
Mavryk_protocol_environment_alpha.Lwt.t
val min_delegated_in_current_cycle_encoding :
'a Mavryk_protocol_alpha.Environment.RPC_context.simple ->
'b ->
Mavryk_protocol_alpha.Environment.Signature.Public_key_hash.t ->
(Mavryk_protocol_alpha.Protocol.Alpha_context.Tez.t
* Mavryk_protocol_alpha.Protocol.Level_repr.level option)
Mavryk_protocol_environment_alpha.Error_monad.shell_tzresult
Mavryk_protocol_environment_alpha.Lwt.t