package tezos-protocol-alpha

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

This module re-exports definitions from Delegate_storage, Delegate_consensus_key, Delegate_missed_endorsements_storage, Delegate_slashed_deposits_storage, Delegate_cycles.

val set_frozen_deposits_limit : context -> public_key_hash -> Tez.t option -> context Tezos_protocol_environment_alpha.Lwt.t
val fold : context -> order:[ `Sorted | `Undefined ] -> init:'a -> f:(public_key_hash -> 'a -> 'a Tezos_protocol_environment_alpha.Lwt.t) -> 'a Tezos_protocol_environment_alpha.Lwt.t
type participation_info = {
  1. expected_cycle_activity : int;
  2. minimal_cycle_activity : int;
  3. missed_slots : int;
  4. missed_levels : int;
  5. remaining_allowed_missed_slots : int;
  6. expected_endorsing_rewards : Tez.t;
}
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) Tezos_protocol_environment_alpha.Error_monad.tzresult Tezos_protocol_environment_alpha.Lwt.t
val record_endorsing_participation : context -> delegate:public_key_hash -> participation:level_participation -> endorsing_power:int -> context Tezos_protocol_environment_alpha.Error_monad.tzresult Tezos_protocol_environment_alpha.Lwt.t
type deposits = {
  1. initial_amount : Tez.t;
  2. current_amount : Tez.t;
}
module Consensus_key : sig ... end
OCaml

Innovation. Community. Security.