backend icon indicating copy to clipboard operation
backend copied to clipboard

Investigate aggregate pool stats

Open franzns opened this issue 2 years ago • 1 comments

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?)

franzns avatar Aug 16 '24 07:08 franzns

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.

gmbronco avatar Aug 16 '24 14:08 gmbronco