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 & use endpoint(s) for chains & tokens #86

Open
cristinalare opened this issue Apr 24, 2024 · 0 comments
Open

Create & use endpoint(s) for chains & tokens #86

cristinalare opened this issue Apr 24, 2024 · 0 comments
Assignees

Comments

@cristinalare
Copy link
Collaborator

values that we need to update & maintain:

  1. payoutTokens - needs an endpoint

context:

  • we currently have 2 arrays for the hardcoded tokens in /functions/utils.ts : votingTokens and payoutTokens (which are the equal atm)
  • we're currently using both: one of them in a file, the other one in another file but this is not needed, we only need to use a single payoutTokens array - we'll have to get that from the indexer probably
  1. CHAINS - needs an endpoint
  • currently we have a hardcoded array in /functions/utils.ts
  1. chain logos - we need to make sure we add the images here that corresponds to a new chain's logo property
  • currently located in /public/logos and used like this CHAINS[chainId]?.logo
@cristinalare cristinalare changed the title Create & use endpoints for chains & tokens Create & use endpoint(s) for chains & tokens Apr 24, 2024
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