You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Swapping between an ERC20 token and ETH leaves the result in WETH #154
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.
I've run into the same issue. If WETh is specified as input token, ETH is taken from wallet instead. Similarly, if ETH is specified as the output token, WETH is sent to the recipient address.
Activity
nimcon commentedon Aug 16, 2021
I've run into the same issue. If WETh is specified as input token, ETH is taken from wallet instead. Similarly, if ETH is specified as the output token, WETH is sent to the recipient address.
jhb10c commentedon Sep 13, 2021
If this is still open, I can fix this!
romanbsd commentedon Sep 14, 2021
There's a pending PR #159