Alpha_context.Delegate
This module re-exports definitions from Delegate_storage
, Delegate_consensus_key
, Delegate_missed_attestations_storage
, Delegate_slashed_deposits_storage
, Delegate_cycles
, Delegate_rewards
, and Forbidden_delegates_storage
.
val frozen_deposits_limit :
context ->
public_key_hash ->
Tez.t option Mavryk_protocol_environment_001_PtAtLas.Error_monad.tzresult
Mavryk_protocol_environment_001_PtAtLas.Lwt.t
val set_frozen_deposits_limit :
context ->
public_key_hash ->
Tez.t option ->
context Mavryk_protocol_environment_001_PtAtLas.Lwt.t
val fold :
context ->
order:[ `Sorted | `Undefined ] ->
init:'a ->
f:(public_key_hash -> 'a -> 'a Mavryk_protocol_environment_001_PtAtLas.Lwt.t) ->
'a Mavryk_protocol_environment_001_PtAtLas.Lwt.t
val list :
context ->
public_key_hash list Mavryk_protocol_environment_001_PtAtLas.Lwt.t
val drain :
context ->
delegate:public_key_hash ->
destination:public_key_hash ->
(context * bool * Tez.t * Receipt.balance_updates)
Mavryk_protocol_environment_001_PtAtLas.Error_monad.tzresult
Mavryk_protocol_environment_001_PtAtLas.Lwt.t
type participation_info = {
expected_cycle_activity : int;
minimal_cycle_activity : int;
missed_slots : int;
missed_levels : int;
remaining_allowed_missed_slots : int;
expected_attesting_rewards : Tez.t;
}
val already_slashed_for_double_attesting :
context ->
public_key_hash ->
Level.t ->
bool Mavryk_protocol_environment_001_PtAtLas.Error_monad.tzresult
Mavryk_protocol_environment_001_PtAtLas.Lwt.t
val already_slashed_for_double_baking :
context ->
public_key_hash ->
Level.t ->
bool Mavryk_protocol_environment_001_PtAtLas.Error_monad.tzresult
Mavryk_protocol_environment_001_PtAtLas.Lwt.t
val punish_double_signing :
context ->
operation_hash:Mavryk_protocol_environment_001_PtAtLas.Operation_hash.t ->
Misbehaviour.t ->
public_key_hash ->
Level.t ->
rewarded:public_key_hash ->
(context * bool) Mavryk_protocol_environment_001_PtAtLas.Error_monad.tzresult
Mavryk_protocol_environment_001_PtAtLas.Lwt.t
val record_baking_activity_and_pay_rewards_and_fees :
context ->
payload_producer:public_key_hash ->
block_producer:public_key_hash ->
baking_reward:Tez.t ->
reward_bonus:Tez.t option ->
(context * Receipt.balance_updates)
Mavryk_protocol_environment_001_PtAtLas.Error_monad.tzresult
Mavryk_protocol_environment_001_PtAtLas.Lwt.t
val record_attesting_participation :
context ->
delegate:public_key_hash ->
participation:level_participation ->
attesting_power:int ->
context Mavryk_protocol_environment_001_PtAtLas.Error_monad.tzresult
Mavryk_protocol_environment_001_PtAtLas.Lwt.t
val current_frozen_deposits :
context ->
public_key_hash ->
Tez.t Mavryk_protocol_environment_001_PtAtLas.Error_monad.tzresult
Mavryk_protocol_environment_001_PtAtLas.Lwt.t
val initial_frozen_deposits :
context ->
public_key_hash ->
Tez.t Mavryk_protocol_environment_001_PtAtLas.Error_monad.tzresult
Mavryk_protocol_environment_001_PtAtLas.Lwt.t
val delegated_contracts :
context ->
public_key_hash ->
Contract.t list Mavryk_protocol_environment_001_PtAtLas.Lwt.t
val registered :
context ->
public_key_hash ->
bool Mavryk_protocol_environment_001_PtAtLas.Lwt.t
val deactivated :
context ->
public_key_hash ->
bool Mavryk_protocol_environment_001_PtAtLas.Error_monad.tzresult
Mavryk_protocol_environment_001_PtAtLas.Lwt.t
val is_forbidden_delegate : t -> public_key_hash -> bool
val last_cycle_before_deactivation :
context ->
public_key_hash ->
Cycle.t Mavryk_protocol_environment_001_PtAtLas.Error_monad.tzresult
Mavryk_protocol_environment_001_PtAtLas.Lwt.t
module Consensus_key : sig ... end
val prepare_stake_distribution :
context ->
context Mavryk_protocol_environment_001_PtAtLas.Error_monad.tzresult
Mavryk_protocol_environment_001_PtAtLas.Lwt.t
module Rewards : sig ... end
module Staking_parameters : sig ... end
module For_RPC : sig ... end
The functions in this module are considered too costly to be used in the protocol. They are meant to be used only to answer RPC calls.