GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Uniswap v3 support · Issue #95 · uniswap-python/uniswap-python

Uniswap v3 support #95

New issue
Copy link
New issue
Copy link
Open
Open
Uniswap v3 support#95
Copy link
Labels
enhancementNew feature or requestNew feature or request

Description

@ErikBjare
ErikBjare
opened on May 4, 2021
Issue body actions

Uniswap V3 launches tomorrow (May 5th).

Whitepaper: https://uniswap.org/whitepaper-v3.pdf

Contracts

The new router contract is SwapRouter.sol:

  • Impl: https://github.com/Uniswap/uniswap-v3-periphery/blob/main/contracts/SwapRouter.sol
  • Interface: https://github.com/Uniswap/uniswap-v3-periphery/blob/main/contracts/interfaces/ISwapRouter.sol

The new way to quote prices is with Quoter.sol.

  • Impl: https://github.com/Uniswap/uniswap-v3-periphery/blob/main/contracts/Quoter.sol
  • Interface: https://github.com/Uniswap/uniswap-v3-periphery/blob/main/contracts/interfaces/IQuoter.sol

Feature parity

  • Get price
    • Single pair
    • Multihop route (feat: started working on multihop swaps for v3 #221)
  • Make trade
    • Single pair
    • Multihop route (feat: started working on multihop swaps for v3 #221)
  • Liquidity provision
    • Create position
    • Close position
    • Query underlying tokens amounts (Fetching live liquidity positions #116)
    • Create pool

Funding

We are in the process of applying for a Uniswap grant to implement support for Uniswap V3. We have received a grant from the Uniswap Grants Program to implement support for V3. If you want to help contribute to V3 and beyond, get in touch!

Reacted by Shane Fontaine, Ivan Kaplun, hzqandy123, rmurray2 and James Marsh

Activity

  1. ErikBjare
    added
    enhancementNew feature or requestNew feature or request
    on May 4, 2021
  2. ErikBjare commented on May 5, 2021

    @ErikBjare
    ErikBjare
    on May 5, 2021
    MemberAuthor
    More actions

    V3 is live! Contract addresses: https://github.com/Uniswap/uniswap-v3-periphery/blob/main/deploys.md

    I'll get started on it tomorrow.

  3. AlexanderFreihaut commented on May 14, 2021

    @AlexanderFreihaut
    AlexanderFreihaut
    on May 14, 2021
    More actions

    Any one knows, when v3 support comes?

  4. ErikBjare commented on May 15, 2021

    @ErikBjare
    ErikBjare
    on May 15, 2021
    MemberAuthor
    More actions

    @AlexanderFreihaut V3 support is being worked on in #106, but there are a few blockers that I need to get through.

  5. ErikBjare commented on May 17, 2021

    @ErikBjare
    ErikBjare
    on May 17, 2021
    MemberAuthor
    More actions

    Tests for V3 are now passing on master! https://github.com/shanefontaine/uniswap-python/runs/2601585038

    V1 and V2 tests still have a few failures though, so we might wait with a new release until at least the V2 tests are passing as well.

    Reacted by Shane Fontaine
  6. ErikBjare commented on Jun 13, 2021

    @ErikBjare
    ErikBjare
    on Jun 13, 2021
    MemberAuthor
    More actions

    @alexskliu Answered in #116

  7. rmurray2 commented on Jul 21, 2021

    @rmurray2
    rmurray2
    on Jul 21, 2021
    More actions

    Any idea when Creating/Closing liquidity positions on v3 will be implemented? Very much looking forward to that!

  8. romanbsd commented on Aug 3, 2021

    @romanbsd
    romanbsd
    on Aug 3, 2021
    Contributor
    More actions

    @rmurray2 I'm working on that, although the code is not based upon uniswap-python, but rather tries to follow the official uniswap-v3-sdk (javascript). If anyone is interested to participate in this project, I'll be more than happy. Creating/Closing position is almost ready.

    Reacted by rmurray2, James Marsh, David C, floong and Antonín Hoskovec
  9. antb123 commented on Aug 18, 2021

    @antb123
    antb123
    on Aug 18, 2021
    More actions

    Is there plans to support uniswap v3 and optimism L2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.