Module 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 set_frozen_deposits_limit : context -> public_key_hash -> Tez.t option -> context Mavryk_protocol_environment_alpha.Lwt.t
val fold : context -> order:[ `Sorted | `Undefined ] -> init:'a -> f:(public_key_hash -> 'a -> 'a Mavryk_protocol_environment_alpha.Lwt.t) -> 'a Mavryk_protocol_environment_alpha.Lwt.t
type reward_and_burn = {
  1. reward : Tez.t;
  2. amount_to_burn : Tez.t;
}
type punishing_amounts = {
  1. staked : reward_and_burn;
  2. unstaked : (Cycle.t * reward_and_burn) list;
}
type level_participation =
  1. | Participated
  2. | Didn't_participate
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_alpha.Error_monad.tzresult Mavryk_protocol_environment_alpha.Lwt.t
val record_attesting_participation : context -> delegate:public_key_hash -> participation:level_participation -> attesting_power:int -> context Mavryk_protocol_environment_alpha.Error_monad.tzresult Mavryk_protocol_environment_alpha.Lwt.t
val is_forbidden_delegate : t -> public_key_hash -> bool
module Consensus_key : sig ... end
module Rewards : sig ... end
module Staking_parameters : sig ... end
module Shared_stake : 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.