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

Instantiate Uniswap with all pairs #15

Closed
gakonst opened this issue Nov 19, 2020 · 0 comments · Fixed by #38
Closed

Instantiate Uniswap with all pairs #15

gakonst opened this issue Nov 19, 2020 · 0 comments · Fixed by #38
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@gakonst
Copy link
Collaborator

gakonst commented Nov 19, 2020

It'd be nice if Uniswap was aware of all pairs generated from the factory. We could do that by getting all PairCreated events since the factory was deployed at block 10000835. We could then cache these in a file, and check only for new events after the last time the binary was run

An example of fetching events from a known ABI can be found here

@gakonst gakonst added enhancement New feature or request good first issue Good for newcomers labels Nov 19, 2020
@gakonst gakonst mentioned this issue Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant