Assessment reports>Lido Gateway>Threat Model>disableWithdrawals

Function: disableWithdrawals()

Function that disables the withdrawals.

Branches and code coverage (including function calls)

Intended branches

  • Set the isWithdrawalsEnabled to false.

Negative behavior

  • Should not allow to disable withdrawals if they are already disabled. Performed in whenWithdrawalsEnabled modifier.

  • Should not allow anyone other than the withdrawalsDisabler to disable withdrawals.

Zellic © 2024Back to top ↑