You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've created a fork of the v3 staker contract that adds a new minWidth parameter to the IncentiveKey. That way, new LM incentives may require that LP tokens have a minimum width (in ticks) in order to be staked. The goal is to limit whales from deploying 1-tick liquidity and collect an outsized portion of all LM rewards.
I'm no solidity dev and I don't want to do a pull request because it fails with I do yarn test (although the issues are not related to the smart contract per se). Just throwing this out there in case someone wants to create a proper fork/pull request.
The text was updated successfully, but these errors were encountered:
I've updated the existing test suites to pass without issues following your code additions. Also included few more tests checking for the new require statements added in.
Do you suggest any additional implementations along with the minWidth parameter?
This is related to this post on the Uniswap governance forum about incentivizing liquidity on L2's: https://gov.uniswap.org/t/consensus-check-should-uniswap-incentivize-liquidity-on-optimism-and-arbitrum/15288
I've created a fork of the v3 staker contract that adds a new minWidth parameter to the IncentiveKey. That way, new LM incentives may require that LP tokens have a minimum width (in ticks) in order to be staked. The goal is to limit whales from deploying 1-tick liquidity and collect an outsized portion of all LM rewards.
Here's the link to my fork: https://github.com/guil-lambert/v3-staker-fixed-range.
I'm no solidity dev and I don't want to do a pull request because it fails with I do
yarn test
(although the issues are not related to the smart contract per se). Just throwing this out there in case someone wants to create a proper fork/pull request.The text was updated successfully, but these errors were encountered: