This is the canonical staking contract designed for Uniswap V3.
v1.0.3
The main change compared to v1.0.2 is the addition of a new configuration value called vestingPeriod, which defines the minimal time a staked position needs to be in range to recieve the full reward.
Network | Explorer |
---|---|
Polygon | https://polygonscan.com/address/0x8c696deF6Db3104DF72F7843730784460795659a |
v1.0.2
0x1f98407aaB862CdDeF78Ed252D6f557aA5b0f00d
$ yarn
$ yarn test
# if gas snapshots need to be updated
$ UPDATE_SNAPSHOT=1 yarn test
$ yarn size-contracts