Assessment reports>Lido Gateway>Threat Model>enableDeposits

Function: enableDeposits()

Function that enables the deposits.

Branches and code coverage (including function calls)

Intended branches

  • Set the isDepositsEnabled to true.

Negative behavior

  • Should not allow to enable deposits if they are already enabled.

  • Should not allow anyone other than the depositsEnabler to enable deposits.

Zellic © 2024Back to top ↑