# MockVerifier v0.2.6 API Reference
Source: https://docs.chain.link/chainlink-local/api-reference/v0.2.6/mock-verifier

> 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.6
> ```
>
> ### 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.6
> ```
>
> ### foundry
>
> If you use [Foundry](https://book.getfoundry.sh/):
>
> ```shell
> forge install smartcontractkit/chainlink-local@v0.2.6
> ```
>
> 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.6/src/ccip/CCIPLocalSimulator.sol";
> ```

## MockVerifier

Mock Data Streams verifier.

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

## Variables

### i\_verifierProxy

```solidity
address i_verifierProxy
```

### MOCK\_DATA\_STREAM\_DON\_ADDRESS

```solidity
address MOCK_DATA_STREAM_DON_ADDRESS
```

### N\_2

```solidity
uint256 N_2
```

### s\_inactiveDigests

```solidity
mapping(bytes32 => mapping(bytes32 => bool)) s_inactiveDigests
```

### s\_inactiveFeeds

```solidity
mapping(bytes32 => bool) s_inactiveFeeds
```

### s\_verifiedSignatures

```solidity
mapping(bytes => bool) s_verifiedSignatures
```

## Errors

### AccessForbidden

```solidity
error AccessForbidden()
```

### AlreadyUsedSignature

```solidity
error AlreadyUsedSignature()
```

### BadVerification

```solidity
error BadVerification()
```

### DigestInactive

```solidity
error DigestInactive(bytes32 feedId, bytes32 configDigest)
```

### InactiveFeed

```solidity
error InactiveFeed(bytes32 feedId)
```

### InvalidS

```solidity
error InvalidS()
```

### InvalidSignatureLength

```solidity
error InvalidSignatureLength()
```

### InvalidV

```solidity
error InvalidV()
```

## Events

### ReportVerified

```solidity
event ReportVerified(bytes32 feedId, address sender)
```

## Functions

### activateConfig

```solidity
function activateConfig(bytes32 feedId, bytes32 configDigest) external
```

### activateFeed

```solidity
function activateFeed(bytes32 feedId) external
```

### constructor

```solidity
constructor(address verifierProxy) public
```

### deactivateConfig

```solidity
function deactivateConfig(bytes32 feedId, bytes32 configDigest) external
```

### deactivateFeed

```solidity
function deactivateFeed(bytes32 feedId) 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.\_

### verify

```solidity
function verify(bytes signedReport, address sender) external returns (bytes verifierResponse)
```