-
Notifications
You must be signed in to change notification settings - Fork 495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Full range hook #22
Full range hook #22
Conversation
100 ether, | ||
99 ether, | ||
99 ether, | ||
address(this), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ohhh i see this all ends up being one position that's taken out
|
||
UniswapV4ERC20(pool.liquidityToken).mint(params.to, liquidity); | ||
|
||
require( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: seems more appropriate on line 140?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the issue is, if it's the first LP, then i'll mint them the liquidity without subtracting the amount of liquidity they are supposed to lock
No description provided.