Function: setPause(bool pause)

This function is used to set the pause status for deposits. It is only callable by the owner.

Inputs

  • pause

    • Control: True to pause — false to unpause.

    • Constraints: None.

    • Impact: Pause status for deposits.

Branches and code coverage

Intended branches

  • Pause/unpause the contract.

  • Emit the PauseStatusUpdated event.

Negative behavior

  • Revert if the caller is not the owner.

Zellic © 2025Back to top ↑