Assessment reports>Staking>Threat Model>claim

Function: claim()

Allows msg.sender to claim all rewards.

Branches and code coverage (including function calls)

Intended branches

  • Allows msg.sender to claim all rewards.

  • All underlying claim functions are called (feeTracker, rewardTracker, loanRewardTracker, vester, and loanVester).

  • Assumes all other relevant checks are performed in each claimForAccount function.

  • The bonusTracker is not called.

Zellic © 2024Back to top ↑