Assessment reports>Lido Gateway>Threat Model>disableDeposits

Function: disableDeposits()

Function that disables the deposits.

Branches and code coverage (including function calls)

Intended branches

  • Set the isDepositsEnabled to false.

Negative behavior

  • Should not allow to disable deposits if they are already disabled. Performed in whenDepositsEnabled modifier.

  • Should not allow anyone other than the depositsDisabler to disable deposits.

Zellic © 2024Back to top ↑