Skip to content

feat: connect Liquidity Hub feature to API - #5757

Draft
therealemjy wants to merge 1 commit into
mainfrom
feat/liquidity-hub-api
Draft

feat: connect Liquidity Hub feature to API#5757
therealemjy wants to merge 1 commit into
mainfrom
feat/liquidity-hub-api

Conversation

@therealemjy

Copy link
Copy Markdown
Member

Jira ticket(s)

VPD-1564

Changes

  • connect Liquidity Hub feature to API

@vercel

vercel Bot commented Jul 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dapp-preview Ready Ready Preview Aug 3, 2026 4:16pm
dapp-testnet Ready Ready Preview Aug 3, 2026 4:16pm
venus.io Ready Ready Preview Aug 3, 2026 4:16pm

Request Review

@changeset-bot

changeset-bot Bot commented Jul 30, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 65d5a5d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@venusprotocol/evm Minor

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

@therealemjy
therealemjy force-pushed the feat/liquidity-hub-api branch from 84c5ae5 to 306bc8c Compare July 30, 2026 16:09
@therealemjy
therealemjy force-pushed the feat/liquidity-hub-api branch from 306bc8c to bcd63ab Compare July 30, 2026 16:33
@therealemjy
therealemjy force-pushed the feat/liquidity-hub-api branch from bcd63ab to 77ad3a3 Compare July 30, 2026 17:02
@therealemjy
therealemjy force-pushed the feat/liquidity-hub-api branch from 77ad3a3 to 5d46684 Compare July 30, 2026 17:20
@therealemjy
therealemjy force-pushed the feat/liquidity-hub-api branch from 5d46684 to 9a40087 Compare July 31, 2026 07:46
@therealemjy
therealemjy force-pushed the feat/liquidity-hub-api branch from 9a40087 to afe4de8 Compare July 31, 2026 08:45
@therealemjy
therealemjy force-pushed the feat/liquidity-hub-api branch from afe4de8 to cd9ac1d Compare July 31, 2026 12:53
@github-actions

Copy link
Copy Markdown
Contributor

Coverage Report for ./apps/evm

Status Category Percentage Covered / Total
🔵 Lines 77.93% 50749 / 65121
🔵 Statements 77.93% 50749 / 65121
🔵 Functions 72.71% 1546 / 2126
🔵 Branches 84.78% 7352 / 8671
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
apps/evm/src/clients/api/index.ts 100% 100% 100% 100%
apps/evm/src/clients/api/mutations/useSupplyToLiquidityHub/index.ts 100% 100% 100% 100%
apps/evm/src/clients/api/mutations/useWithdrawFromLiquidityHub/index.ts 93.82% 87.5% 100% 93.82% 38-42
apps/evm/src/clients/api/queries/getAccountTransactionHistory/index.ts 100% 81.25% 100% 100%
apps/evm/src/clients/api/queries/getAccountTransactionHistory/useGetAccountTransactionHistory.ts 17.94% 100% 0% 17.94% 36-72
apps/evm/src/clients/api/queries/getAccountTransactionHistory/formatApiTransaction/index.ts 95% 90% 100% 95% 23-24
apps/evm/src/clients/api/queries/getAccountTransactionHistory/formatApiTransaction/convertToTxType/index.ts 95.65% 50% 100% 95.65% 27
apps/evm/src/clients/api/queries/getAccountTransactionHistory/formatApiTransaction/formatToLiquidityHubTransaction/index.ts 91.22% 16.66% 100% 91.22% 33-34, 42, 49, 61
apps/evm/src/clients/api/queries/getLiquidityHub/index.ts 74.28% 25% 100% 74.28% 42-47, 50-51, 55
apps/evm/src/clients/api/queries/getLiquidityHub/useGetCachedLiquidityHub/index.ts 100% 80% 100% 100%
apps/evm/src/clients/api/queries/getLiquidityHub/useGetLiquidityHub/index.ts 28.12% 100% 0% 28.12% 32-58
apps/evm/src/clients/api/queries/getLiquidityHubHistory/index.ts 74.19% 33.33% 100% 74.19% 51-56, 59-60
apps/evm/src/clients/api/queries/getLiquidityHubHistory/formatApiLiquidityHubHistory/index.ts 100% 66.66% 100% 100%
apps/evm/src/clients/api/queries/getLiquidityHubHistory/getApiLiquidityHubSnapshotArray/index.ts 45% 20% 100% 45% 7-8, 11-12, 19-27
apps/evm/src/clients/api/queries/getLiquidityHubHistory/useGetLiquidityHubHistory/index.ts 33.33% 100% 0% 33.33% 34-44
apps/evm/src/clients/api/queries/getLiquidityHubs/index.ts 79.48% 57.14% 100% 79.48% 38-43, 46-47
apps/evm/src/clients/api/queries/getLiquidityHubs/useGetLiquidityHubs/index.ts 100% 100% 100% 100%
apps/evm/src/clients/api/queries/getPendingRewards/useGetPendingRewards.ts 75.51% 40% 50% 75.51% 84, 119-140, 147
apps/evm/src/clients/api/queries/getPendingRewards/getMerklCampaigns/index.ts 87.75% 62.5% 100% 87.75% 31-32, 43-44, 59-60
apps/evm/src/clients/api/queries/getProposal/useGetProposal.ts 18.64% 100% 0% 18.64% 31-82
apps/evm/src/clients/api/queries/useGetPools/useGetPoolsQuery/getPools/formatOutput/index.ts 94.75% 86.66% 100% 94.75% 81-82, 94-95, 116-121, 126-131
apps/evm/src/clients/api/queries/useGetPools/useGetPoolsQuery/getPools/formatOutput/formatDistributions/index.ts 94.02% 42.85% 100% 94.02% 80-81, 86-87
apps/evm/src/clients/api/queries/useGetPools/useGetPoolsQuery/getPools/getApiPools/index.ts 69.81% 66.66% 100% 69.81% 113-120, 123-130
apps/evm/src/clients/api/queries/useGetPools/useGetPoolsQuery/getPools/getApiPools/pointDistributions/index.ts 84.61% 33.33% 100% 84.61% 11, 13, 15, 19
apps/evm/src/components/index.ts 100% 100% 100% 100%
apps/evm/src/components/BalanceUpdates/getLiquidityHubBalanceUpdate/index.ts 84.61% 66.66% 100% 84.61% 21-22, 29-30
apps/evm/src/components/ImgGroup/index.tsx 95.65% 50% 100% 95.65% 31
apps/evm/src/components/MarketHistoryCard/index.tsx 92.18% 90.47% 50% 92.18% 96-101
apps/evm/src/components/MarketHistoryCard/ApyChart/index.tsx 48% 33.33% 33.33% 48% 26-30, 46-66
apps/evm/src/components/Table/index.tsx 93.43% 84.9% 50% 93.43% 55-56, 66-71, 74-81
apps/evm/src/components/TransactionsList/TransactionRow/getTransactionIcon/index.ts 100% 100% 100% 100%
apps/evm/src/constants/functionKey.ts 100% 100% 100% 100%
apps/evm/src/constants/marketTxTypes.ts 100% 100% 100% 100%
apps/evm/src/containers/Layout/Header/index.tsx 100% 100% 100% 100%
apps/evm/src/containers/Layout/Header/LiquidityHubInfo/index.tsx 0% 0% 0% 0% 1-77
apps/evm/src/containers/Layout/Header/usePathNodes/LiquidityHubName/index.tsx 27.27% 100% 0% 27.27% 13-31
apps/evm/src/containers/Layout/NavBar/useMenuItems/index.tsx 97.08% 66.66% 100% 97.08% 70-73
apps/evm/src/containers/LiquidityHubAccessor/index.tsx 100% 100% 100% 100%
apps/evm/src/containers/LiquidityHubForm/Form/index.tsx 97.53% 96% 75% 97.53% 131-134
apps/evm/src/containers/LiquidityHubForm/SupplyTabs/SupplyWithWalletForm/index.tsx 100% 93.33% 100% 100%
apps/evm/src/containers/LiquidityHubLoader/index.tsx 87.09% 25% 100% 87.09% 39-40, 43-44
apps/evm/src/pages/Dashboard/index.tsx 82.6% 37.5% 100% 82.6% 29-34, 96-101, 104-109, 114-115
apps/evm/src/pages/Dashboard/Hubs/index.tsx 100% 76.92% 100% 100%
apps/evm/src/pages/Dashboard/Hubs/LiquidityHubCard/index.tsx 100% 76.92% 66.66% 100%
apps/evm/src/pages/Dashboard/Transactions/index.tsx 83.87% 65.62% 12.5% 83.87% 49-54, 57-62, 65-68, 73-80, 87-95, 210-215
apps/evm/src/pages/LiquidityHub/AllocationDetails/index.tsx 100% 100% 100% 100%
apps/evm/src/pages/LiquidityHub/AllocationDetails/YieldGroupList/index.tsx 100% 100% 80% 100%
apps/evm/src/pages/LiquidityHub/AllocationDetails/YieldGroupList/RowFooter/useColumns/index.tsx 97.91% 81.81% 100% 97.91% 18, 95
apps/evm/src/pages/LiquidityHub/AllocationDetails/YieldGroupList/useColumns/index.tsx 90.42% 90% 66.66% 90.42% 48, 60-64, 74, 90, 100
apps/evm/src/pages/LiquidityHub/LiquidityHubHistory/index.tsx 99.25% 76.92% 100% 99.25% 83
apps/evm/src/pages/LiquidityHub/LiquidityHubHistory/UnitPriceChart/index.tsx 100% 100% 100% 100%
apps/evm/src/pages/LiquidityHub/LiquidityHubInfo/index.tsx 100% 100% 100% 100%
apps/evm/src/pages/LiquidityHubs/index.tsx 0% 0% 0% 0% 1-72
apps/evm/src/pages/LiquidityHubs/LiquidityHubTable/index.tsx 0% 0% 0% 0% 1-221
apps/evm/src/pages/Market/MarketHistory/index.tsx 100% 33.33% 100% 100%
apps/evm/src/types/index.ts 100% 100% 100% 100%
apps/evm/src/utilities/convertUsdMantissaToCents.ts 100% 100% 100% 100%
apps/evm/src/utilities/index.ts 100% 100% 100% 100%
apps/evm/src/utilities/formatApiRewardDistributors/index.ts 100% 100% 100% 100%
apps/evm/src/utilities/formatApiRewardDistributors/formatRewardTokenDistribution/index.ts 100% 100% 100% 100%
apps/evm/src/utilities/formatToLiquidityHub/index.ts 82.24% 17.64% 100% 82.24% 22-23, 41, 46, 59, 62-65, 69-72, 76-79, 83, 87
apps/evm/src/utilities/formatToLiquidityHub/formatToLiquidityHubYieldGroup/index.ts 96.92% 28.57% 100% 96.92% 43, 55
apps/evm/src/utilities/formatToLiquidityHub/formatToLiquidityHubYieldGroup/constants/index.ts 100% 100% 100% 100%
apps/evm/src/utilities/formatToLiquidityHub/formatToLiquidityHubYieldGroup/formatToLiquidityHubResource/index.ts 94.91% 30% 100% 94.91% 25, 36, 53
apps/evm/src/utilities/formatToReadableDate/index.ts 100% 87.5% 100% 100%
apps/evm/src/utilities/getTransactionName/index.ts 78.04% 60.86% 100% 78.04% 32, 34, 36, 38, 40, 42, 44, 46, 48
Generated in workflow #14009 for commit 07af613 by the Vitest Coverage Report Action

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