Function: transitionToYieldMode()
This function is an admin-controlled state change that closes the Deposit phase and enables the Yield phase. It requires the configured deposit window to have ended.
Inputs
None.
Branches and code coverage
Intended branches
Update the
_modetoOperationalMode.Yield.
Negative behavior
Non-admin callers, or calls outside the Deposit phase or after the deposit window ends, revert.
Function call analysis
None.