package octez-protocol-alpha-libs

  1. Overview
  2. Docs
Octez protocol alpha libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

doc/octez-protocol-alpha-libs.test-helpers/Tezos_alpha_test_helpers/Adaptive_issuance_helpers/Unstaked_frozen/index.html

Module Adaptive_issuance_helpers.Unstaked_frozenSource

Representation of Unstaked frozen deposits

Sourcetype r = {
  1. cycle : Cycle.t;
  2. initial : Tez.t;
  3. current : Tez.t;
  4. requests : Tez.t Tezos_base.TzPervasives.String.Map.t;
  5. slash_pct : int;
}
Sourcetype t = r list
Sourcetype get_info = {
  1. cycle : Cycle.t;
  2. request : Tez.t;
  3. current : Tez.t;
}
Sourcetype get_info_list = get_info list
Sourcetype finalizable_info = {
  1. amount : Tez.t;
  2. slashed_requests : Tez.t Tezos_base.TzPervasives.String.Map.t;
}
Sourceval zero : 'a list
Sourceval apply_slash_to_request : int -> Tez.t -> Tez.t
Sourceval apply_slash_to_current : int -> Tez.t -> Tez.t -> Tez.t
Sourceval remove_zeros : t -> t
Sourceval sum_current : r list -> Tez.t
Sourceval add_unstake : Cycle.t -> Tez.t -> Tezos_base.TzPervasives.String.Map.key -> t -> t
Sourceval pop_cycle : Cycle.t -> t -> finalizable_info * t
Sourceval slash : preserved_cycles:int -> Cycle.t -> int -> t -> r list * Tez.t list
OCaml

Innovation. Community. Security.