Module Context.Delegate

type info = Tezos_protocol_plugin_023_PtSeouLo.Delegate_services.info = {
  1. full_balance : Tezos_protocol_023_PtSeouLo.Protocol.Alpha_context.Tez.t;
  2. current_frozen_deposits : Tezos_protocol_023_PtSeouLo.Protocol.Alpha_context.Tez.t;
  3. frozen_deposits : Tezos_protocol_023_PtSeouLo.Protocol.Alpha_context.Tez.t;
  4. staking_balance : Tezos_protocol_023_PtSeouLo.Protocol.Alpha_context.Tez.t;
  5. frozen_deposits_limit : Tezos_protocol_023_PtSeouLo.Protocol.Alpha_context.Tez.t option;
  6. delegated_contracts : Tezos_protocol_023_PtSeouLo.Protocol.Alpha_context.Contract.t list;
  7. delegated_balance : Tezos_protocol_023_PtSeouLo.Protocol.Alpha_context.Tez.t;
  8. min_delegated_in_current_cycle : Tezos_protocol_023_PtSeouLo.Protocol.Alpha_context.Tez.t * Tezos_protocol_023_PtSeouLo.Protocol.Level_repr.t option;
  9. total_delegated_stake : Tezos_protocol_023_PtSeouLo.Protocol.Alpha_context.Tez.t;
  10. staking_denominator : Tezos_protocol_023_PtSeouLo.Protocol.Alpha_context.Staking_pseudotoken.t;
  11. deactivated : bool;
  12. grace_period : Tezos_protocol_023_PtSeouLo.Protocol.Alpha_context.Cycle.t;
  13. pending_denunciations : bool;
  14. voting_info : Vote.delegate_info;
  15. active_consensus_key : Tezos_023_PtSeouLo_test_helpers.Signature.Public_key_hash.t;
  16. pending_consensus_keys : (Tezos_protocol_023_PtSeouLo.Protocol.Alpha_context.Cycle.t * Tezos_023_PtSeouLo_test_helpers.Signature.Public_key_hash.t) list;
  17. active_companion_key : Tezos_023_PtSeouLo_test_helpers.Signature.Bls.Public_key_hash.t option;
  18. pending_companion_keys : (Tezos_protocol_023_PtSeouLo.Protocol.Alpha_context.Cycle.t * Tezos_023_PtSeouLo_test_helpers.Signature.Bls.Public_key_hash.t) list;
}

Calls RPCs /chains/<chain_id>/blocks/<blocsk_id>/contracts/<Implicit pkh>/full_balance and /chains/<chain_id>/blocks/<block_id>/delegates/<pkh>/own_full_balance, checks that both RPCs output the same value, then returns this value.

calls the RPC frozen_deposits: we're using a different name to be more easily distinguishable from current_frozen_deposits