Skip to content

Swapping between an ERC20 token and ETH leaves the result in WETH #154

Open
@romanbsd

Description

@romanbsd

The official uniswap v3 SDK unwraps the result using the unwrapWETH9 contract method.
The current behaviour is unexpected, since the output token is specified as ETH (address 0x0...0).
What's your position on this? I can probably make a patch that uses the multicall to swap and unwrap as I already have the code for it in my project. I think that for very least the uniswap-python should issue a warning log message at the moment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy