Assessment reports>Yeet>Threat Model>claim

Function: claim()

The function allows the winner to claim the reward. If msg.sender does not have any reward, the function will be reverted.

Branches and code coverage

Intended branches

  • The caller owns the reward and receives it successfully.

Negative behavior

  • Caller does not have a reward.

  • After a successful claim, the next double-claim call is failed.

Zellic © 2024Back to top ↑