Assessment reports>Lido Gateway>Threat Model>updateDepositsEnabler

Function: updateDepositsEnabler(address _newEnabler)

Allows owner to update the address of the deposits enabler.

Inputs

  • _newEnabler

    • Control: Fully controlled by the caller.

    • Constraints: None.

    • Impact: The address of the new deposits enabler.

Branches and code coverage (including function calls)

Intended branches

  • Set the depositsEnabler to _newEnabler. Currently not tested.

Negative behavior

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

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

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

Zellic © 2024Back to top ↑