Function: claim(address to)

This claims all pending rewards for msg.sender.

Inputs

  • to

    • Control: Completely controlled by the caller.

    • Constraints: None.

    • Impact: Recipient of the claimed rewards.

Branches and code coverage

Intended branches

  • Reward details are updated after claim.

  • Expired rewards are not claimed.

Negative behavior

  • Revert if rewards for the current epoch have already been claimed.

Zellic © 2025Back to top ↑