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