> For the complete documentation index, see [llms.txt](https://dev.spectra.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.spectra.finance/technical-reference/contract-functions/votingreward/feesvotingreward.md).

# FeesVotingReward

## Overview

The `FeesVotingReward` contract allows to distribute pool fees rewards to users, earned through voting for the pool in question.

## FeesVotingReward Methods

### notifyRewardAmount

Add rewards for voters to earn.

```solidity
function notifyRewardAmount(
    address _token,
    uint256 _amount
) external
```

<table><thead><tr><th width="246.33333333333331">Input Parameter</th><th width="188">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>_token</code></td><td>address</td><td>The address of token to reward.</td></tr><tr><td><code>_amount</code></td><td>uint256</td><td>The amount of token to transfer to rewards</td></tr></tbody></table>

{% hint style="info" %}
Only callable with `FEES_VOTING_REWARDS_DISTRIBUTOR_ROLE` role.
{% endhint %}

### notifyRewardAmountETH

Add ETH rewards for voters to earn.

```solidity
function notifyRewardAmountETH() external
```

{% hint style="info" %}
msg.value should be set the desired amount to add.
{% endhint %}

{% hint style="info" %}
Only callable with `FEES_VOTING_REWARDS_DISTRIBUTOR_ROLE` role.
{% endhint %}
