Assessment reports>Lido Gateway>Threat Model>enableWithdrawals

Function: enableWithdrawals()

Function that enables the withdrawals.

Branches and code coverage (including function calls)

Intended branches

  • Set the isWithdrawalsEnabled to true.

Negative behavior

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

  • Should not allow anyone other than the withdrawalsEnabler to enable withdrawals.

Zellic © 2024Back to top ↑