duality-labs / duality-web-app

2 stars 2 forks source link

feat: reduce tick liquidity fetching on Pools page #480

Closed dib542 closed 11 months ago

dib542 commented 11 months ago

Previously the reserves of the top 10 pool on the Pools page were calculated by fetching and summing the tick liquidity of the pairs in the Pools page, however this is very inefficient and the new indexer /liquidity/pairs endpoint now returns the total reserves for each pool, so this number can be used directly instead of being calculated.

github-actions[bot] commented 11 months ago

Preview URL: https://54825305-807df5a6--duality-xyz.netlify.app Logs: https://app.netlify.com/sites/duality-xyz/deploys/6561f5ec09319d2f9240ac06

dib542 commented 11 months ago

:tada: This PR is included in version 0.3.36 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: