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: Global token price provider #2495

Merged
merged 10 commits into from
Feb 6, 2025
Merged

feat: Global token price provider #2495

merged 10 commits into from
Feb 6, 2025

Conversation

rossbulat
Copy link
Collaborator

@rossbulat rossbulat commented Feb 6, 2025

This PR adds a global TokenPricesProvider that provides a token price if the Staking API is enabled. Components are no longer required to wrap useTokenPrice components and implement their own refetch logic.

This will streamline the implementation of #2482.

@rossbulat rossbulat merged commit 1839d8f into main Feb 6, 2025
7 checks passed
@rossbulat rossbulat deleted the rb-global-token-price branch February 6, 2025 08:15
@rossbulat rossbulat mentioned this pull request Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

1 participant