feat: connect Liquidity Hub feature to API - #5757
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 8ed234b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
84c5ae5 to
306bc8c
Compare
306bc8c to
bcd63ab
Compare
bcd63ab to
77ad3a3
Compare
77ad3a3 to
5d46684
Compare
5d46684 to
9a40087
Compare
9a40087 to
afe4de8
Compare
afe4de8 to
cd9ac1d
Compare
a55ec83 to
65d5a5d
Compare
65d5a5d to
699f293
Compare
699f293 to
2981156
Compare
2981156 to
f4ce242
Compare
Greptile SummaryThe PR replaces mock-backed Liquidity Hub reads with REST API queries and integrates API data into hub pages, history, rewards, and account transactions.
Confidence Score: 5/5The PR appears safe to merge based on the currently established evidence. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| apps/evm/src/clients/api/queries/getLiquidityHubs/index.ts | Adds the REST query and formatting pipeline for the Liquidity Hub collection. |
| apps/evm/src/clients/api/queries/getLiquidityHub/index.ts | Replaces the mock-backed single-hub lookup with an account-aware REST query. |
| apps/evm/src/clients/api/queries/getLiquidityHubHistory/index.ts | Adds historical Liquidity Hub snapshot retrieval and normalization. |
| apps/evm/src/clients/api/queries/getAccountTransactionHistory/formatApiTransaction/formatToLiquidityHubTransaction/index.ts | Adds migration debit and credit legs, but the prior migration-source concern cannot be conclusively reclassified from the available API semantics. |
| apps/evm/src/utilities/formatToLiquidityHub/index.ts | Converts API Liquidity Hub records into the application’s display and transaction model. |
| apps/evm/src/containers/LiquidityHubForm/Form/index.tsx | Connects form simulation and related-hub state to fetched Liquidity Hub data. |
Reviews (2): Last reviewed commit: "feat: connect Liquidity Hub to API" | Re-trigger Greptile
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 39418ecbba
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "higherThanWalletSpendingLimit": "Girdiğiniz miktar, bu varlık için harcama limitinizi aşıyor. Bu işleme devam etmek için lütfen mevcut harcama limitinizi iptal edin ve ardından yeni bir limit belirleyin.", | ||
| "smallerThanMinimumAmount": "{{minimumAmount}} değerinden daha azını taşıyamazsınız", | ||
| "smallerThanMinimumAmount": "TRANSLATION NEEDED", | ||
| "supplyCapReached": "Bu likidite merkezi için arz limiti {{supplyCap}} değerine ulaştı. Çekimler yapılana veya arz limiti artırılana kadar artık sağlayamazsınız." |
feat: add analytics to Liquidity Hub
This reverts commit 76168ee. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Jira ticket(s)
VPD-1564
Changes