package tezos-protocol-020-PsParisC

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t =
  1. | Single of Contract_repr.t * Tezos_protocol_environment_020_PsParisC.Signature.public_key_hash
    (*

    A single staker, either the delegate itself or one of its staker.

    *)
  2. | Shared of Tezos_protocol_environment_020_PsParisC.Signature.public_key_hash
    (*

    The delegate and all its stakers simultaneously.

    *)

Adding and removing unstaked frozen stake can be done from/toward a delegate, one of its staker, or both the delegate and all its stakers at once. We need to distinguish these cases to enforce the staking over baking limit.

val compare : t -> t -> int
OCaml

Innovation. Community. Security.