Module Mavryk_raw_protocol_001_PtAtLas.Delegate_services

This module defines RPC services to access the information associated to delegates (who they are, their delegators, their different kinds of balances, their activity, etc.).

type consensus_keys_info = {
  1. active : consensus_key;
  2. pendings : (Alpha_context.Cycle.t * consensus_key) list;
}
type info = {
  1. full_balance : Alpha_context.Tez.t;
    (*

    Balance + Frozen balance

    *)
  2. current_frozen_deposits : Alpha_context.Tez.t;
  3. frozen_deposits : Alpha_context.Tez.t;
  4. staking_balance : Alpha_context.Tez.t;
  5. frozen_deposits_limit : Alpha_context.Tez.t option;
  6. delegated_contracts : Alpha_context.Contract.t list;
  7. delegated_balance : Alpha_context.Tez.t;
  8. total_delegated_stake : Alpha_context.Tez.t;
  9. staking_denominator : Alpha_context.Staking_pseudotoken.t;
  10. deactivated : bool;
  11. grace_period : Alpha_context.Cycle.t;
  12. voting_info : Alpha_context.Vote.delegate_info;
  13. active_consensus_key : Mavryk_protocol_environment_001_PtAtLas.Signature.Public_key_hash.t;
  14. pending_consensus_keys : (Alpha_context.Cycle.t * Mavryk_protocol_environment_001_PtAtLas.Signature.Public_key_hash.t) list;
}
type deposit_per_cycle = {
  1. cycle : Alpha_context.Cycle.t;
  2. deposit : Alpha_context.Tez.t;
}
val register : unit -> unit