State_ai_flags.Autostake
This module takes care of autostaking when it is enabled
Autostaking is enabled iff the flag autostaking_enable
is true and AI is not activated (AI.enabled = false
).
val run_at_cycle_end :
Block.t ->
State.t ->
State.t Mavryk_base.TzPervasives.tzresult
Runs the autostake operations at cycle end. Does nothing if enabled = false
.