Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Uniswap/v3-staker
Canonical liquidity mining contract for Uniswap V3
https://github.com/Uniswap/v3-staker
staker staking uniswap
Last synced: 3 months ago
JSON representation
Canonical liquidity mining contract for Uniswap V3
- Host: GitHub
- URL: https://github.com/Uniswap/v3-staker
- Owner: Uniswap
- License: gpl-3.0
- Created: 2021-05-04T21:55:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-02T05:06:57.000Z (4 months ago)
- Last Synced: 2024-07-28T09:19:20.450Z (3 months ago)
- Topics: staker, staking, uniswap
- Language: TypeScript
- Homepage: https://uniswap.org
- Size: 775 KB
- Stars: 349
- Watchers: 25
- Forks: 196
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- best-of-crypto - GitHub - 17% open · ⏱️ 26.01.2024): (Automated Market Maker (AMM))
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.2 release, deployed and verified on Etherscan:
| Network | Explorer |
| ---------------- | ---------------------------------------------------------------------------------------- |
| Mainnet | |
| Arbitrum One | |
| Optimism | |
| Base | |⚠️DEPRECATED⚠️: For historical verification purposes only, the staker at tag v1.0.0 was deployed at the 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
```