Module Mavryk_alpha_test_helpers.Adaptive_issuance_helpers

type staking_parameters = {
  1. limit_of_staking_over_baking : Q.t;
  2. edge_of_baking_over_staking : Q.t;
}

Abstraction of the staking parameters for tests

val default_params : staking_parameters
val get_launch_cycle : loc:string -> Block.t -> (Mavryk_protocol_alpha.Protocol.Alpha_context.Cycle.t, Mavryk_base.TzPervasives.tztrace) Stdlib.result Lwt.t

AI operations

val portion_of_rewards_to_liquid_for_cycle : ?policy:Block.baker_policy -> Mavryk_alpha_test_helpers__Context.t -> Mavryk_protocol_alpha.Protocol.Alpha_context.Cycle.t -> Mavryk_protocol_alpha.Protocol.Alpha_context.public_key_hash -> Tez_helpers.t -> (Tez_helpers.t, Mavryk_base.TzPervasives.tztrace) Stdlib.result Lwt.t