Module Mavryk_raw_protocol_alpha.Unstaked_frozen_staker_repr

type t =
  1. | Single of Contract_repr.t * Mavryk_protocol_environment_alpha.Signature.public_key_hash
    (*

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

    *)
  2. | Shared of Mavryk_protocol_environment_alpha.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