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

feat: implement solana market data #7802

Closed
wants to merge 2 commits into from

Conversation

NeOMakinG
Copy link
Collaborator

@NeOMakinG NeOMakinG commented Sep 24, 2024

Description

Implement market data for solana assets:

  • Basically add the adapters generation logic for Solana
  • Remove a toLower from assetIdToCoingecko which is breaking for solana (this is risky)
  • Then add the new solana json adapter to the system!

Issue (if applicable)

closes #7800

Risk

High Risk PRs Require 2 approvals

What protocols, transaction types, wallets or contract interactions might be affected by this PR?

Testing

  • Verify that solana assets market data is working as expected
  • Smoke tests all the other market datas for other assets

Engineering

n/a

Operations

n/a

  • 🏁 My feature is behind a flag and doesn't require operations testing (yet)

Screenshots (if applicable)

image
image
image
image
image
image
image
image
image
image

@@ -44,7 +43,7 @@ export const coingeckoToAssetIds = (id: CoinGeckoId): AssetId[] =>
generatedCoingeckoToAssetIdsMap[id]

export const assetIdToCoingecko = (assetId: AssetId): CoinGeckoId | undefined =>
generatedAssetIdToCoingeckoMap[toLower(assetId)]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't see any problems with this, assetIdToCoingecko is consumed 3 time and seems ok as it is without lower case

It was breaking for the solana part

@NeOMakinG NeOMakinG closed this Sep 25, 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

Successfully merging this pull request may close these issues.

1 participant