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

Create token pairs endpoint #17

Closed
dib542 opened this issue Sep 30, 2023 · 0 comments · Fixed by #36, #45 or #51
Closed

Create token pairs endpoint #17

dib542 opened this issue Sep 30, 2023 · 0 comments · Fixed by #36, #45 or #51
Assignees

Comments

@dib542
Copy link
Contributor

dib542 commented Sep 30, 2023

Related to

The new Token Pair endpoint should

  • pass reserve0 and reserve1 totals (the web app can calculate TVL correctly using live CoinGecko data)
  • sort the pairs by approximate TVL (count reserve volumes without price data)
    • so that they can be paginated in descending TVL order

The new Token Pair endpoint could (but is not required to):

  • calculate TVL for each pair accurately using CoinGecko data (per second data not crucial, per minute/hour/day may be ok)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant