Function: disableDeposits()
Function that disables the deposits.
Branches and code coverage (including function calls)
Intended branches
Set the
isDepositsEnabledtofalse.
Negative behavior
Should not allow to disable deposits if they are already disabled. Performed in
whenDepositsEnabledmodifier.Should not allow anyone other than the
depositsDisablerto disable deposits.