# @uniswap/v3-staker

> Canonical liquidity mining contract for Uniswap V3

Latest version **1.0.2** (published 2021-11-29) · GPL-3.0-or-later license · 0 weekly downloads

## Install

```sh
npm install @uniswap/v3-staker
pnpm add @uniswap/v3-staker
yarn add @uniswap/v3-staker
bun add @uniswap/v3-staker
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2021-11-29 |
| First published | 2021-06-23 |
| Weekly downloads | 0 |
| License | GPL-3.0-or-later |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=10 |
| Dependencies | 3 |
| Unpacked size | 162.5 KB |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 380 |
| Maintainers | justindomingue, sarareynolds, noahwz, moodysalem, ianlapham, callil, haydenadams, towering-elsie, emag3m, willpote |
| Keywords | uniswap, liquidity mining, v3 |

## Links

- npm: https://www.npmjs.com/package/@uniswap/v3-staker
- Repository: https://github.com/Uniswap/uniswap-v3-staker
- Homepage: https://uniswap.org
- Issues: https://github.com/Uniswap/uniswap-v3-staker/issues
- npm.io page: https://npm.io/package/@uniswap/v3-staker

## Dependencies (3)

- [@uniswap/v3-core](https://npm.io/package/@uniswap/v3-core.md) 1.0.0
- [@uniswap/v3-periphery](https://npm.io/package/@uniswap/v3-periphery.md) ^1.0.1
- [@openzeppelin/contracts](https://npm.io/package/@openzeppelin/contracts.md) 3.4.1-solc-0.7-2

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2021-11-29
- 1.0.1 — 2021-11-23
- 1.0.0 — 2021-06-26
- 1.0.0-rc.0 — 2021-06-23

## README

# uniswap-v3-staker

This is the canonical staking contract designed for [Uniswap V3](https://github.com/Uniswap/uniswap-v3-core).

## Deployments

Note that the v1.0.0 release is susceptible to a [high-difficulty, never-exploited vulnerability](https://github.com/Uniswap/v3-staker/issues/219). For this reason, please use the v1.0.1 release, deployed at the following addresses:

| Network          | Explorer                                                                                 |
| ---------------- | ---------------------------------------------------------------------------------------- |
| Mainnet          | https://etherscan.io/address/0xA9bf398e74Da1Ac6F5c4CB67Ab8937c10a1e454d                  |
| Rinkeby          | https://rinkeby.etherscan.io/address/0xa9bf398e74da1ac6f5c4cb67ab8937c10a1e454d          |
| Kovan            | https://kovan.etherscan.io/address/0xa9bf398e74da1ac6f5c4cb67ab8937c10a1e454d            |
| Ropsten          | https://ropsten.etherscan.io/address/0xa9bf398e74da1ac6f5c4cb67ab8937c10a1e454d          |
| Goerli           | https://goerli.etherscan.io/address/0xa9bf398e74da1ac6f5c4cb67ab8937c10a1e454d           |
| Arbitrum Rinkeby | https://testnet.arbiscan.io/address/0xA9bf398e74Da1Ac6F5c4CB67Ab8937c10a1e454d           |
| Arbitrum One     | https://arbiscan.io/address/0xA9bf398e74Da1Ac6F5c4CB67Ab8937c10a1e454d                   |
| Optimism         | https://optimistic.etherscan.io/address/0x62094CdA36dd8945a2c158A4c6c8865c5B34FEf9       |
| Optimism Kovan   | https://kovan-optimistic.etherscan.io/address/0xA5644E29708357803b5A882D272c41cC0dF92B34 |

DEPRECATED: For historical verification, the staker at tag v1.0.0 is deployed and verified on Etherscan for on all networks at the address: `0x1f98407aaB862CdDeF78Ed252D6f557aA5b0f00d`

| Network          | Explorer                                                                             |
| ---------------- | ------------------------------------------------------------------------------------ |
| Mainnet          | https://etherscan.io/address/0x1f98407aaB862CdDeF78Ed252D6f557aA5b0f00d#code         |
| Rinkeby          | https://rinkeby.etherscan.io/address/0x1f98407aaB862CdDeF78Ed252D6f557aA5b0f00d#code |
| Kovan            | https://kovan.etherscan.io/address/0x1f98407aaB862CdDeF78Ed252D6f557aA5b0f00d#code   |
| Ropsten          | https://ropsten.etherscan.io/address/0x1f98407aaB862CdDeF78Ed252D6f557aA5b0f00d#code |
| Goerli           | https://goerli.etherscan.io/address/0x1f98407aaB862CdDeF78Ed252D6f557aA5b0f00d#code  |
| Arbitrum Rinkeby | https://testnet.arbiscan.io/address/0x1f98407aab862cddef78ed252d6f557aa5b0f00d       |
| Arbitrum One     | https://arbiscan.io/address/0x1f98407aab862cddef78ed252d6f557aa5b0f00d               |

## Links:

- [Contract Design](docs/Design.md)

## Development and Testing

```sh
$ yarn
$ yarn test
```

## Gas Snapshots

```sh
# if gas snapshots need to be updated
$ UPDATE_SNAPSHOT=1 yarn test
```

## Contract Sizing

```sh
$ yarn size-contracts
```

---
_Source: https://npm.io/package/@uniswap/v3-staker · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
