Module Mina_base.Stake_delegation

module Stable : sig ... end
type t = Stable.Latest.t =
| Set_delegate of {
delegator : Signature_lib.Public_key.Compressed.t;
new_delegate : Signature_lib.Public_key.Compressed.t;
}
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val _ : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val compare : t -> t -> int
val equal : t -> t -> bool
val t_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> t
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val hash_fold_t : Ppx_hash_lib.Std.Hash.state -> t -> Ppx_hash_lib.Std.Hash.state
val hash : t -> Ppx_hash_lib.Std.Hash.hash_value
val receiver : t -> Account_id.t
val source : t -> Account_id.t
val gen_with_delegator : Signature_lib.Public_key.Compressed.t -> t Core_kernel.Quickcheck.Generator.t
val gen : t Core_kernel.Quickcheck.Generator.t
val to_input_legacy : t -> ( Snark_params.Tick.Field.t, bool ) Random_oracle.Input.Legacy.t