Function: disableWithdrawals()
Function that disables the withdrawals.
Branches and code coverage (including function calls)
Intended branches
Set the
isWithdrawalsEnabledtofalse.
Negative behavior
Should not allow to disable withdrawals if they are already disabled. Performed in
whenWithdrawalsEnabledmodifier.Should not allow anyone other than the
withdrawalsDisablerto disable withdrawals.