Assessment reports>WOOFI Stake>Threat Model>claimRewards

Function: claimRewards(address _user)

This manually claims rewards on behalf of a user address. It bypasses restrictions if autocompounding is enabled. Admin only.

Inputs

  • _user

    • Control: Fully controlled by the caller.

    • Constraints: None.

    • Impact: The address that will get its rewards claimed.

Branches and code coverage

Intended branches

  • Called by admin.

Negative behavior

  • Called by non-admin.

Zellic © 2024Back to top ↑