Assessment reports>EtherFi>Threat Models>depositEther

Function: depositEther()

Used to deposit Ether into the contract.

Branches and code coverage (including function calls)

Intended branches

  • User is able to deposit Ether successfully.

  • The correct events are successfully emitted.

Negative behavior

  • Deposit should fail if claiming is open (i.e., depositing is closed).

Zellic © 2024Back to top ↑