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

Add swap volume, consume volume to subgraph #64

Merged
merged 3 commits into from
Jul 30, 2021

Conversation

lacoop6tu
Copy link
Contributor

Fixes #10 Add swap volume, consume volume to subgraph.

Changes proposed in this PR:

@lacoop6tu
Copy link
Contributor Author

Fixes #10 Add swap volume, consume volume to subgraph.

Changes proposed in this PR:

  • Swap volume at pool level, denominated in OCEAN (required for Add volume chart per pool market#334)
  • Swap volume for all datatokens across all pools, denominated in OCEAN
  • Consume volume for a datatoken (denominated in datatokens)
  • Consume volume for all datatokens (denominated in datatokens)
  • #consumes for a datatoken
  • #consumes across all datatokens

After chatting with @alexcos20 on Friday after the call, I also added a Global object in the schema and filled it with global values, even if for now is similar to PoolFactory in terms of stats, we could probably add more stats from uniswap/bancor etc. (or keep on using PoolFactory as source for global stats)

@lacoop6tu lacoop6tu marked this pull request as ready for review March 29, 2021 20:57
@mihaisc
Copy link
Contributor

mihaisc commented Jul 29, 2021

Swap volume at pool level, denominated in OCEAN is usefull but it will not help for that issue

@mihaisc mihaisc self-requested a review July 30, 2021 07:36
@mihaisc mihaisc merged commit dac1856 into main Jul 30, 2021
@mihaisc mihaisc deleted the fix/#10-add-swap-and-consume-volume branch July 30, 2021 07:36
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

Successfully merging this pull request may close these issues.

Add swap volume, consume volume to subgraph
2 participants