> For the complete documentation index, see [llms.txt](https://contracts.synapseprotocol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://contracts.synapseprotocol.com/bridge/interfaces/irewarder.md).

# IRewarder

## Methods

### onSynapseReward

```solidity
function onSynapseReward(uint256 pid, address user, address recipient, uint256 synapseAmount, uint256 newLpAmount) external nonpayable
```

#### Parameters

| Name          | Type    | Description |
| ------------- | ------- | ----------- |
| pid           | uint256 | undefined   |
| user          | address | undefined   |
| recipient     | address | undefined   |
| synapseAmount | uint256 | undefined   |
| newLpAmount   | uint256 | undefined   |

### pendingTokens

```solidity
function pendingTokens(uint256 pid, address user, uint256 synapseAmount) external view returns (contract IERC20[], uint256[])
```

#### Parameters

| Name          | Type    | Description |
| ------------- | ------- | ----------- |
| pid           | uint256 | undefined   |
| user          | address | undefined   |
| synapseAmount | uint256 | undefined   |

#### Returns

| Name | Type               | Description |
| ---- | ------------------ | ----------- |
| \_0  | contract IERC20\[] | undefined   |
| \_1  | uint256\[]         | undefined   |
