# MockRewardManager v0.2.9 API Reference
Source: https://docs.chain.link/chainlink-local/api-reference/v0.2.9/mock-reward-manager

> For the complete documentation index, see [llms.txt](/llms.txt).

> **NOTE: Integrate Chainlink Local into your project**
>
> ### npm
>
> If you use [NPM](https://www.npmjs.com/), install the [@chainlink/local NPM
> package](https://www.npmjs.com/package/@chainlink/local):
>
> ```shell
> npm install @chainlink/local@0.2.9
> ```
>
> ### yarn
>
> If you use [Yarn](https://yarnpkg.com/), install the [@chainlink/local NPM
> package](https://www.npmjs.com/package/@chainlink/local):
>
> ```shell
> yarn add @chainlink/local@0.2.9
> ```
>
> ### foundry
>
> If you use [Foundry](https://book.getfoundry.sh/):
>
> ```shell
> forge install smartcontractkit/chainlink-local@v0.2.9
> ```
>
> and then set remappings to: `@chainlink/local/=lib/chainlink-local/` in either `remappings.txt` or `foundry.toml` file
>
> ### RemixIDE
>
> Import the `CCIPLocalSimulator` contract from the `@chainlink/local` package:
>
> ```solidity
> import {CCIPLocalSimulator} from "@chainlink/local@0.2.9/src/ccip/CCIPLocalSimulator.sol";
> ```

## MockRewardManager

Mock reward manager.

[MockRewardManager](https://github.com/smartcontractkit/chainlink-local/blob/v0.2.9/src/data-streams/MockRewardManager.sol)

## Variables

### i\_linkAddress

```solidity
address i_linkAddress
```

### s\_feeManagerAddress

```solidity
address s_feeManagerAddress
```

## Errors

### Unauthorized

```solidity
error Unauthorized()
```

## Events

### FeePaid

```solidity
event FeePaid(struct IRewardManager.FeePayment[] payments, address payer)
```

## Functions

### claimRewards

```solidity
function claimRewards(bytes32[]) external pure
```

### constructor

```solidity
constructor(address linkAddress) public
```

### onFeePaid

```solidity
function onFeePaid(struct IRewardManager.FeePayment[] payments, address payer) external
```

### setFeeManager

```solidity
function setFeeManager(address newFeeManager) external
```

### supportsInterface

```solidity
function supportsInterface(bytes4 interfaceId) external pure returns (bool)
```

\_Returns true if this contract implements the interface defined by
`interfaceId`. See the corresponding
[https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified\[EIP](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified\[EIP)
section] to learn more about how these ids are created.

This function call must use less than 30 000 gas.\_