package octez-protocol-019-PtParisB-libs

  1. Overview
  2. Docs
Octez protocol 019-PtParisB libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65

doc/octez-protocol-019-PtParisB-libs.test-helpers/Tezos_019_PtParisB_test_helpers/Context/Delegate/index.html

Module Context.DelegateSource

Sourcetype info = Tezos_protocol_019_PtParisB.Protocol.Delegate_services.info = {
  1. full_balance : Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Tez.t;
  2. current_frozen_deposits : Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Tez.t;
  3. frozen_deposits : Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Tez.t;
  4. staking_balance : Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Tez.t;
  5. frozen_deposits_limit : Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Tez.t option;
  6. delegated_contracts : Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Contract.t list;
  7. delegated_balance : Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Tez.t;
  8. min_delegated_in_current_cycle : Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Tez.t * Tezos_protocol_019_PtParisB.Protocol.Level_repr.t option;
  9. total_delegated_stake : Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Tez.t;
  10. staking_denominator : Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Staking_pseudotoken.t;
  11. deactivated : bool;
  12. grace_period : Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Cycle.t;
  13. pending_denunciations : bool;
  14. voting_info : Vote.delegate_info;
  15. active_consensus_key : Tezos_protocol_019_PtParisB.Environment.Signature.Public_key_hash.t;
  16. pending_consensus_keys : (Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Cycle.t * Tezos_protocol_019_PtParisB.Environment.Signature.Public_key_hash.t) list;
}
Sourcetype stake = {
  1. frozen : Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Tez.t;
  2. weighted_delegated : Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Tez.t;
}
Sourceval info : t -> Tezos_protocol_019_PtParisB.Protocol.Alpha_context.public_key_hash -> Tezos_protocol_019_PtParisB.Protocol.Delegate_services.info Tezos_base.TzPervasives.tzresult Tezos_protocol_019_PtParisB.Environment.Lwt.t
Sourceval full_balance : t -> Tezos_protocol_019_PtParisB.Protocol.Alpha_context.public_key_hash -> Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Tez.t Tezos_base.TzPervasives.tzresult Tezos_protocol_019_PtParisB.Environment.Lwt.t
Sourceval current_frozen_deposits : t -> Tezos_protocol_019_PtParisB.Protocol.Alpha_context.public_key_hash -> Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Tez.t Tezos_base.TzPervasives.tzresult Tezos_protocol_019_PtParisB.Environment.Lwt.t
Sourceval initial_frozen_deposits : t -> Tezos_protocol_019_PtParisB.Protocol.Alpha_context.public_key_hash -> Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Tez.t Tezos_base.TzPervasives.tzresult Tezos_protocol_019_PtParisB.Environment.Lwt.t

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

Sourceval staking_balance : t -> Tezos_protocol_019_PtParisB.Protocol.Alpha_context.public_key_hash -> Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Tez.t Tezos_base.TzPervasives.tzresult Tezos_protocol_019_PtParisB.Environment.Lwt.t
Sourceval staking_denominator : t -> Tezos_protocol_019_PtParisB.Protocol.Alpha_context.public_key_hash -> Tezos_protocol_019_PtParisB.Environment.Z.t Tezos_base.TzPervasives.tzresult Tezos_protocol_019_PtParisB.Environment.Lwt.t
Sourceval frozen_deposits_limit : t -> Tezos_protocol_019_PtParisB.Protocol.Alpha_context.public_key_hash -> Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Tez.t option Tezos_base.TzPervasives.tzresult Tezos_protocol_019_PtParisB.Environment.Lwt.t
Sourceval deactivated : t -> Tezos_protocol_019_PtParisB.Protocol.Alpha_context.public_key_hash -> bool Tezos_base.TzPervasives.tzresult Tezos_protocol_019_PtParisB.Environment.Lwt.t
Sourceval voting_info : t -> Tezos_protocol_019_PtParisB.Protocol.Alpha_context.public_key_hash -> Vote.delegate_info Tezos_base.TzPervasives.tzresult Tezos_protocol_019_PtParisB.Environment.Lwt.t
Sourceval consensus_key : t -> Tezos_protocol_019_PtParisB.Protocol.Alpha_context.public_key_hash -> Tezos_protocol_019_PtParisB.Protocol.Delegate_services.consensus_keys_info Tezos_base.TzPervasives.tzresult Tezos_protocol_019_PtParisB.Environment.Lwt.t
Sourceval participation : t -> Tezos_protocol_019_PtParisB.Protocol.Alpha_context.public_key_hash -> Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Delegate.For_RPC.participation_info Tezos_base.TzPervasives.tzresult Tezos_protocol_019_PtParisB.Environment.Lwt.t
Sourceval is_forbidden : ?policy:Block.baker_policy -> t -> Tezos_protocol_019_PtParisB.Protocol.Alpha_context.public_key_hash -> bool Tezos_base.TzPervasives.tzresult Tezos_protocol_019_PtParisB.Environment.Lwt.t

This function might begin constructing a block. Use policy to specify a valid baker for the new block (default By_round 0)

Sourceval stake_for_cycle : ?policy:Block.baker_policy -> t -> Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Cycle.t -> Tezos_protocol_019_PtParisB.Protocol.Alpha_context.public_key_hash -> stake Tezos_base.TzPervasives.tzresult Tezos_protocol_019_PtParisB.Environment.Lwt.t
OCaml

Innovation. Community. Security.