Assessment reports>Lido Gateway>Threat Model>updateWithdrawalsDisabler

Function: updateWithdrawalsDisabler(address _newDisabler)

Allows owner to update the address of the withdrawals disabler.

Inputs

  • _newDisabler

    • Control: Fully controlled by the caller.

    • Constraints: None.

    • Impact: The address of the new withdrawals disabler.

Branches and code coverage (including function calls)

Intended branches

  • Set the withdrawalsDisabler to _newDisabler. Currently not tested.

Negative behavior

  • Should not allow anyone other than the owner to update the address of the withdrawals disabler. Not tested.

  • Should not allow setting the same address as the current withdrawals disabler. Not tested and not enforced.

  • Should not allow changing the address of the withdrawals disabler should the withdrawals be disabled at the moment. Not tested and not enforced.

Zellic © 2024Back to top ↑