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 Factory commands #9

Open
drinkcoffee opened this issue Oct 28, 2024 · 0 comments
Open

Uniswap V3 Factory commands #9

drinkcoffee opened this issue Oct 28, 2024 · 0 comments

Comments

@drinkcoffee
Copy link
Owner

We should have a crate that represents a uniswap v3 factory. Similar to the pool create, it might have capabilities directly using the uniswap v3 factory contract and via the Uniswap SDK. Some initial commands / capabilities:

  • Given two tokens and a fee, return the address of the uniswap v3 pool contract. Return an error if the contract doesn't exist. Optionally, return an error if the pool has zero liquidity.
  • Given two tokens, return a structure containing: the addresses of deployed pool contracts, the fee tier, and amount of liquidity.
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