Module Tezos_raw_protocol_alpha.Attesting_power_repr

Internal representation of attestation power.

type t = {
  1. slots : int;
  2. baking_power : int64;
}
type result
val to_result : abaab_activated:bool -> t -> result
val zero : t
val make : slots:int -> baking_power:int64 -> t
val add : t -> t -> t
val get_slots_from_result : result -> int
module Internal_for_tests : sig ... end