-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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: add live staking data with geo-blocking support #11891
Open
amitabh94
wants to merge
34
commits into
main
Choose a base branch
from
STAKE-806--fe-integrate-stake-and-vault-data
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+895
−384
Commits on Oct 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7f76045 - Browse repository at this point
Copy the full SHA 7f76045View commit details -
Configuration menu - View commit details
-
Copy full SHA for f123963 - Browse repository at this point
Copy the full SHA f123963View commit details -
feat: update stakeSdkProvider to use new stakingApiService
The stakeSdkProvider component has been updated to use the new stakingApiService from the @metamask/stake-sdk library.
Configuration menu - View commit details
-
Copy full SHA for 6725584 - Browse repository at this point
Copy the full SHA 6725584View commit details -
Configuration menu - View commit details
-
Copy full SHA for 112b24a - Browse repository at this point
Copy the full SHA 112b24aView commit details -
feat: add new hooks for staking functionality
- Added usePooledStakes hook to fetch pooled stakes data from the staking API service - Added useStakingChain hook to check if the current chain is supported for staking - Added useStakingEligibility hook to fetch staking eligibility data from the staking API service - Added useVaultData hook to fetch vault data from the staking API service These hooks provide the necessary functionality for staking operations and data retrieval in the UI.
Configuration menu - View commit details
-
Copy full SHA for acc9cd3 - Browse repository at this point
Copy the full SHA acc9cd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e590c39 - Browse repository at this point
Copy the full SHA e590c39View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa222f8 - Browse repository at this point
Copy the full SHA fa222f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 998a252 - Browse repository at this point
Copy the full SHA 998a252View commit details -
Configuration menu - View commit details
-
Copy full SHA for 308a0ad - Browse repository at this point
Copy the full SHA 308a0adView commit details -
Configuration menu - View commit details
-
Copy full SHA for de7c77e - Browse repository at this point
Copy the full SHA de7c77eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9402a3 - Browse repository at this point
Copy the full SHA f9402a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9facb0b - Browse repository at this point
Copy the full SHA 9facb0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a97dd45 - Browse repository at this point
Copy the full SHA a97dd45View commit details -
Configuration menu - View commit details
-
Copy full SHA for e36243c - Browse repository at this point
Copy the full SHA e36243cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0e6eeb - Browse repository at this point
Copy the full SHA a0e6eebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06e3b21 - Browse repository at this point
Copy the full SHA 06e3b21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39a258a - Browse repository at this point
Copy the full SHA 39a258aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb5e82c - Browse repository at this point
Copy the full SHA fb5e82cView commit details -
feat: create useStakingEarnings hook for calculating staking earnings
This commit adds a new hook called useStakingEarnings to calculate staking earnings. The hook utilizes the useVaultData, useBalance, and usePooledStakes hooks to fetch necessary data and perform calculations. It calculates the lifetime rewards in ETH and fiat, as well as the estimated annual earnings in ETH and fiat.
Configuration menu - View commit details
-
Copy full SHA for b01efbe - Browse repository at this point
Copy the full SHA b01efbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a475de - Browse repository at this point
Copy the full SHA 4a475deView commit details -
Configuration menu - View commit details
-
Copy full SHA for b648ff3 - Browse repository at this point
Copy the full SHA b648ff3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c79eea3 - Browse repository at this point
Copy the full SHA c79eea3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d160de - Browse repository at this point
Copy the full SHA 3d160deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0904fc1 - Browse repository at this point
Copy the full SHA 0904fc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4b131c - Browse repository at this point
Copy the full SHA f4b131cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43efac4 - Browse repository at this point
Copy the full SHA 43efac4View commit details -
Configuration menu - View commit details
-
Copy full SHA for be16874 - Browse repository at this point
Copy the full SHA be16874View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d3d7ce - Browse repository at this point
Copy the full SHA 3d3d7ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a7cf99 - Browse repository at this point
Copy the full SHA 7a7cf99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 999619b - Browse repository at this point
Copy the full SHA 999619bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 83b601a - Browse repository at this point
Copy the full SHA 83b601aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a25906a - Browse repository at this point
Copy the full SHA a25906aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2499275 - Browse repository at this point
Copy the full SHA 2499275View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57dc357 - Browse repository at this point
Copy the full SHA 57dc357View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.