galacticcouncil / hydration-ui

8 stars 12 forks source link

Add Total 24H Volume to Top of LIQUIDITY page [Basilisk & Hydra] #195

Closed lolmcshizz closed 1 year ago

lolmcshizz commented 1 year ago

Next to the TVL at the top of the LIQUIDITY page, we should also see the total 24h volume for all pools. 24h volume for platform, should represent sum of 24h volumes of all pools.(We already have correct 24h volume calculation for single pool(Basilisk) and asset(Hydra)

Added on design: https://www.figma.com/file/eqzR2azTracqA8Vv0y4GUv/🖥--Hydra-%7C-Desktop-Library?node-id=6948%3A112914&t=B4yAQ7EfeBumFpFj-0

image
DuriSK commented 1 year ago

24h volume should be sum of all 24volumes for asssets in omnipool We are already calculating this on asset basis, should be enough to sum up these values

Refer to design in : https://www.figma.com/file/eqzR2azTracqA8Vv0y4GUv/%F0%9F%96%A5--Hydra-%7C-Desktop-Library?node-id=6948%3A112914&t=l7Rbexl63h0FV1pb-4

vkulinich-cl commented 1 year ago

It has been implemented