Function: transitionToWithdrawMode()
This function is an admin-controlled state change that closes the Yield phase and enables the Withdraw phase. It requires that at least the deposited amount has been redeemed from SparkLend.
Branches and code coverage
Intended branches
Update the
_modetoOperationalMode.Withdraw.
Negative behavior
Non-admin callers or calls outside Yield mode revert.
Function call analysis
None.