Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why am I getting incorrect WBTC when swapping it with DAI? #18

Open
vinayprolitus opened this issue Aug 8, 2022 · 0 comments
Open

Why am I getting incorrect WBTC when swapping it with DAI? #18

vinayprolitus opened this issue Aug 8, 2022 · 0 comments

Comments

@vinayprolitus
Copy link

vinayprolitus commented Aug 8, 2022

Hi I created a smart contract but when I swapped 1 Million DAI token I am getting only ~3379786784 WEI (~34 WBTC) but when I am checking its value on UNISWAP website it is showing 43 WBTC.

https://stackoverflow.com/questions/73275302/why-am-i-getting-incorrect-wbtc-when-swapping-it-with-dai-using-uniswap

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

No branches or pull requests

1 participant