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