Assessment reports>Stable Predeposit>Threat Model>transitionToYieldMode

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.

Branches and code coverage

Intended branches

  • Update the _mode to OperationalMode.Yield.

Negative behavior

  • Non-admin callers, or calls outside Deposit mode or after the deposit window ends, revert.

Function call analysis

  • None.

Zellic © 2025Back to top ↑