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

Investigate aggregate pool stats #803

Open
franzns opened this issue Aug 16, 2024 · 1 comment
Open

Investigate aggregate pool stats #803

franzns opened this issue Aug 16, 2024 · 1 comment

Comments

@franzns
Copy link
Collaborator

franzns commented Aug 16, 2024

We have been asked to provide aggregate data per pool type.

Specifically, if we can show all pool data such as TVL, 24h volume, 24h fee, etc aggregated for all cow pools.

We should at least try a generalized approach that would let us do aggregagtes over any pool type (or even any set of pool ids?)

@gmbronco
Copy link
Collaborator

It’s not an issue for the database itself, but it could potentially be for Prisma. However, we can create queries to expose that data with minimal overhead, as long as that the queried columns are properly indexed.

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

2 participants