Skip to content
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

Uniswap V3: how to update local state? #541

Open
olegggatttor opened this issue Oct 22, 2023 · 0 comments
Open

Uniswap V3: how to update local state? #541

olegggatttor opened this issue Oct 22, 2023 · 0 comments

Comments

@olegggatttor
Copy link

Hi! I need to fetch current state on chain and perform swaps locally (mutable and immutable ones). As I understood, I can perform immutable ones using uniswapV3Math.queryOutputs, but how can I perform mutable ones? uniswapV3Math contains _modifyPosition method, but how can I calculate ModifyPositionParams params for it if I know only params for uniswapV3Math.queryOutputs? Thank you in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant