Assessment reports>Omron>Threat Model>stopDeposits

Function: stopDeposits()

This function is used to end the deposit period. If this function is called, the deposit stop time will be set to the current block time.

Branches and code coverage

Intended branches

  • Updates the depositStopTime variable as the current block time.

Negative behavior

  • Reverts if the deposit stop time has already been set.

  • Reverts if the caller is not the owner.

Zellic © 2025Back to top ↑