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

V3 Subgraph: Define entities to be indexed by the subgraph. #42

Closed
kkennis opened this issue Mar 31, 2021 · 1 comment
Closed

V3 Subgraph: Define entities to be indexed by the subgraph. #42

kkennis opened this issue Mar 31, 2021 · 1 comment

Comments

@kkennis
Copy link
Contributor

kkennis commented Mar 31, 2021

Issue #41 will enumerate the events that can are relevant to our data model - this task should actually do the work of defining that data model. This will require looking at prior art - the Uniswap V2 Subgraph, and defining the tables to be stored in our database.

Things to think about:

  • At least data parity with V2 - may need additional columns to represent e.g. discrete liquidity concepts
  • Possible time intervals - V2 supported daily and hourly. We may want to index intervals as tight at 1 minute.
  • Should make sure that all entity columns are either directly reflected by or can be derived from the payload of our relevant events.

Acceptance Criteria:

  • File schema.graphql defined in PeggyJV/uniswap-v3-subgraph representing the defined entities
@jackzampolin
Copy link

Closing as complete

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

No branches or pull requests

2 participants