> For the complete documentation index, see [llms.txt](https://witty.gitbook.io/wittydocs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://witty.gitbook.io/wittydocs/witty-staking-general-2.md).

# Witty Staking General 2

These are the general functions external users can interact with part 2

### 11. Function Name: getRewards

Get all user staked rewards for both arbitrage and non-arbitrage trade

#### Expected Parameter

1. address user

#### Return Value

Returns the users reward for both arbitrage and non-abitrage staking

### 12. Function Name: getIncentivePeriods

Get incentive periods

#### Expected Parameter

1. uint id

#### Return Value

Return incentivePeriods by their id

### 13. Function Name: getPlanId

Get plan Id

#### Expected Parameter

\-

#### Return Value

Returns static data for plan id

### 14. Function Name: getTradingProfitPercent

Get trading profit percent

#### Expected Parameter

\-

#### Return Value

Returns static data for trading profit percent

### 15. Function Name: getIncentiveId

Get incentivePeriods Id

#### Expected Parameter

\-

#### Return Value

Returns static data for incentivePeriods Id

### 16. Function Name: getReferrals

Get all user referral&#x20;

#### Expected Parameter

1. address user

#### Return Value

Returns the list of all users referrals&#x20;

### 17. Function Name: isQualifiedStaker

Check if the user is a qualified staker

#### Expected Parameter

1. address user

#### Return Value

Returns the true if a user is a qualified staker
