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

Better Uniswap Querying #10

Open
bonedaddy opened this issue Dec 31, 2020 · 1 comment
Open

Better Uniswap Querying #10

bonedaddy opened this issue Dec 31, 2020 · 1 comment

Comments

@bonedaddy
Copy link
Owner

Right now uniswap querying is pretty basic, and swap queries dont take in price slippage, etc.. It would be great to have the reply to take in these factors into account.

@bonedaddy bonedaddy reopened this Jan 1, 2021
@bonedaddy
Copy link
Owner Author

Backdating uniswap prices:

I think you could just look for all the sync events for each pair contract, it'll give the reserves which you can calculate the price from

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