package tezos-protocol-alpha

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Set of all the delegates with frozen rewards/deposits/fees for a given cycle. Deprecated: This is now only used for stitching while migrating from an emmy protocol. This is to be removed in the next version.

This table must be cleaned after migration.

type context = t

The type of elements.

val mem : context -> elt -> bool Lwt.t

Tells if a elt is a member of the set

val add : context -> elt -> Raw_context.t Lwt.t

Adds a elt is a member of the set

val remove : context -> elt -> Raw_context.t Lwt.t

Removes a elt of the set ; does nothing if not a member

val elements : context -> elt list Lwt.t

Returns the elements of the set, deserialized in a list in no particular order.

val fold : context -> order:[ `Sorted | `Undefined ] -> init:'a -> f:(elt -> 'a -> 'a Lwt.t) -> 'a Lwt.t

Iterates over the elements of the set.

val clear : context -> Raw_context.t Lwt.t

Removes all elements in the set