Home

Awesome

uniswap-v3-staker

This is the canonical staking contract designed for Uniswap V3.

Deployments

Note that the v1.0.0 release is susceptible to a high-difficulty, never-exploited vulnerability. For this reason, please use the v1.0.2 release, deployed and verified on Etherscan:

NetworkExplorer
Mainnethttps://etherscan.io/address/0xe34139463bA50bD61336E0c446Bd8C0867c6fE65
Arbitrum Onehttps://arbiscan.io/address/0xe34139463bA50bD61336E0c446Bd8C0867c6fE65
Optimismhttps://optimistic.etherscan.io/address/0xe34139463bA50bD61336E0c446Bd8C0867c6fE65
Basehttps://basescan.org/address/0x42be4d6527829fefa1493e1fb9f3676d2425c3c1

⚠️DEPRECATED⚠️: For historical verification purposes only, the staker at tag v1.0.0 was deployed at the address: 0x1f98407aaB862CdDeF78Ed252D6f557aA5b0f00d

Links

Development and Testing

yarn
yarn test

Gas Snapshots

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

Contract Sizing

yarn size-contracts