Assessment reports>EtherFi>Threat Models>claim

Function: claim()

Used to claim user funds.

Branches and code coverage (including function calls)

Intended branches

  • Allows user to claim rewarded funds successfully.

Negative behavior

  • Should fail if claiming is not open.

  • Should fail if the claimReceiverContract is not set.

  • Should fail if the claimDeadline has been reached.

  • Should fail if the user has not deposited anything.

Zellic © 2024Back to top ↑