Function: updateWithdrawalsEnabler(address _newEnabler)
Allows owner to update the address of the withdrawals enabler.
Inputs
_newEnablerControl: Fully controlled by the caller.
Constraints: None.
Impact: The address of the new withdrawals enabler.
Branches and code coverage (including function calls)
Intended branches
Set the
withdrawalsEnablerto_newEnabler. Currently not tested.
Negative behavior
Should not allow anyone other than the owner to update the address of the withdrawals enabler. Not tested.
Should not allow setting the same address as the current withdrawals enabler. Not tested and not enforced.
Should not allow changing the address of the withdrawals enabler should the withdrawals be enabled at the moment. Not tested and not enforced.