Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

works well using trade to swap token0 to token1 but error with swap from token1 to token0 #155

Open
James1847 opened this issue Nov 10, 2022 · 1 comment

Comments

@James1847
Copy link

Just use the uniswap v3 pool -> USDT-WETH pool as an example,
If I want to know the WETH-> USDT price impact and amoutOut I can use the sdk to work it out, but If I want to know USDT-> WETH, I get wrong messages

@Florian-S-A-W
Copy link

Hi @James1847

What exactly is the wrong message you are getting from the SDK? How did you initialize the Pool?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants