Skip to content

Uniswap V3 Factory commands #9

@drinkcoffee

Description

@drinkcoffee

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions