Assessment reports>Lido Gateway>Threat Model>updateDepositsDisabler

Function: updateDepositsDisabler(address _newDisabler)

Allows owner to update the address of the deposits disabler.

Inputs

  • _newDisabler

    • Control: Fully controlled by the caller.

    • Constraints: None.

    • Impact: The address of the new deposits disabler.

Branches and code coverage (including function calls)

Intended branches

  • Set the depositsDisabler to _newDisabler. Currently not tested.

Negative behavior

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

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

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

Zellic © 2024Back to top ↑