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

dev: abstract TheGraphFetcher #48

Open
EvolveArt opened this issue Nov 4, 2023 · 0 comments
Open

dev: abstract TheGraphFetcher #48

EvolveArt opened this issue Nov 4, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@EvolveArt
Copy link
Contributor

Feature Request

Current Behavior

Currently TheGraphFetcher only queries SpotEntry from Uniswap V3.

Expected Behavior

TheGraph should be abstracted away and we should be able to create fetchers that inherit from a base TheGraphFetcher class and easily decide what data to fetch Spot/Future/Generic, which subgraph to use, which data to query..

A PR that solves this issue should create a UniswapV2Fetcher and UniswapV3Fetcher to demonstrate the work.

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

No branches or pull requests

1 participant