Skip to content

Conversation

therealemjy
Copy link
Member

@therealemjy therealemjy commented Oct 10, 2025

Jira ticket(s)

VPD-190

Changes

  • update Node version specified in .nvmrc file to 22.12.0

evm app

  • rename asset property of Token type to iconSrc
  • rename useGetChainMetadata hook to useGetChain
  • use chains package to retrieve token and chain records

landing app

  • use chains package to retrieve token records

chains package

  • add tokens records
  • transform package into an external package that gets automatically published to npm through the CD pipeline

Copy link

changeset-bot bot commented Oct 10, 2025

🦋 Changeset detected

Latest commit: 62de713

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

This PR includes changesets to release 3 packages
Name Type
@venusprotocol/chains Minor
@venusprotocol/landing Minor
@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

Copy link

vercel bot commented Oct 10, 2025

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

Project Deployment Preview Updated (UTC)
app.venus.io Ready Ready Preview Oct 10, 2025 3:28pm
dapp-preview Ready Ready Preview Oct 10, 2025 3:28pm
dapp-testnet Ready Ready Preview Oct 10, 2025 3:28pm
venus.io Ready Ready Preview Oct 10, 2025 3:28pm

@therealemjy therealemjy force-pushed the feat/tokens-package branch 2 times, most recently from d8f30c1 to 10ecc51 Compare October 10, 2025 09:04
@therealemjy therealemjy force-pushed the feat/tokens-package branch 4 times, most recently from f363a38 to 8bff846 Compare October 10, 2025 09:52
Copy link
Contributor

github-actions bot commented Oct 10, 2025

Coverage Report for ./apps/evm

Status Category Percentage Covered / Total
🔵 Lines 79.06% 32621 / 41256
🔵 Statements 79.06% 32621 / 41256
🔵 Functions 61.75% 549 / 889
🔵 Branches 72.58% 3964 / 5461
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
apps/evm/src/clients/api/queries/getAccountTransactionHistory/formatApiTransaction.ts 93.33% 0% 100% 93.33% 1, 44-45, 69
apps/evm/src/clients/api/queries/getBlockNumber/useGetBlockNumber.ts 0% 0% 0% 0% 1-36
apps/evm/src/clients/api/queries/getBurnedWBnb/index.ts 97.43% 83.33% 100% 97.43% 1
apps/evm/src/clients/api/queries/getLatestProposalIdByProposer/useGetLatestProposalIdByProposer.ts 0% 0% 0% 0% 1-56
apps/evm/src/clients/api/queries/getPancakeSwapPairs/useGetPancakeSwapPairs.ts 0% 0% 0% 0% 1-52
apps/evm/src/clients/api/queries/getProposal/useGetProposal.ts 0% 0% 0% 0% 1-82
apps/evm/src/clients/api/queries/getProposalState/useGetProposalState.ts 0% 0% 0% 0% 1-51
apps/evm/src/clients/api/queries/getProposals/useGetProposals.ts 0% 0% 0% 0% 1-92
apps/evm/src/clients/api/queries/getVTokenApySimulations/useGetVTokenApySimulations.ts 0% 0% 0% 0% 1-60
apps/evm/src/clients/api/queries/getVTokens/index.ts 97.14% 84.61% 100% 97.14% 1, 84
apps/evm/src/clients/api/queries/getVenusVaiVaultDailyRate/useGetVenusVaiVaultDailyRate.ts 0% 0% 0% 0% 1-42
apps/evm/src/clients/api/queries/getXvsVaultsTotalDailyDistributedXvs/useGetXvsVaultsTotalDailyDistributedXvs.ts 0% 0% 0% 0% 1-59
apps/evm/src/clients/api/queries/useGetPools/getPools/formatOutput/index.ts 98.52% 88.63% 100% 98.52% 1, 80, 93, 331
apps/evm/src/clients/api/queries/useGetPools/getPools/formatOutput/formatVToken/index.ts 91.3% 33.33% 100% 91.3% 1, 15
apps/evm/src/clients/api/queries/useGetPools/getPools/getUserTokenBalances/index.ts 97.77% 63.63% 100% 97.77% 1, 52
apps/evm/src/clients/subgraph/utilities/formatToProposal/index.ts 90.21% 31.57% 100% 90.21% 1, 70, 97-102, 106-108, 145-147, 164, 183, 187, 190, 218
apps/evm/src/components/Apy/BoostTooltip/index.tsx 76.78% 70.58% 0% 76.78% 54-74, 89-97
apps/evm/src/components/TokenIcon/index.tsx 100% 0% 100% 100%
apps/evm/src/config/rpcUrls.ts 98.3% 0% 100% 98.3% 1
apps/evm/src/config/subgraphUrls.ts 96.42% 0% 100% 96.42% 1
apps/evm/src/constants/address.ts 100% 0% 100% 100%
apps/evm/src/containers/Layout/ClaimRewardButton/index.tsx 96.05% 81.48% 100% 96.05% 100-101, 150, 177-179
apps/evm/src/containers/Layout/ClaimRewardButton/useGetGroups.ts 98.75% 91.89% 100% 98.75% 1, 120
apps/evm/src/containers/Layout/Header/index.tsx 0% 0% 0% 0% 1-62
apps/evm/src/containers/Layout/Header/MarketInfo/TokenDropdownOption/index.tsx 0% 0% 0% 0% 1-61
apps/evm/src/containers/Layout/Header/TopBar/Breadcrumbs/index.tsx 90.44% 69.69% 100% 90.44% 65-71, 81-84, 143-147
apps/evm/src/containers/Layout/Header/TopBar/ChainSelect/index.tsx 100% 85.71% 100% 100%
apps/evm/src/containers/SwitchChain/index.tsx 100% 83.33% 100% 100%
apps/evm/src/containers/SwitchChainNotice/index.tsx 100% 80% 100% 100%
apps/evm/src/hooks/useGetChain/index.tsx 83.33% 0% 100% 83.33% 1
apps/evm/src/hooks/useGetHomePagePath/index.tsx 90% 0% 100% 90% 1
apps/evm/src/hooks/useSendTransaction/useTrackTransaction/waitForTransaction/waitForSafeWalletTransaction/getSafeWalletTransaction/index.ts 97.61% 85.71% 100% 97.61% 1
apps/evm/src/libs/contracts/scripts/generateContractRecords/generateContracts/index.ts 95.65% 0% 100% 95.65% 3
apps/evm/src/libs/tokens/index.ts 0% 0% 0% 0% 1-6
apps/evm/src/libs/tokens/hooks/useGetToken/index.ts 85.71% 50% 100% 85.71% 1
apps/evm/src/libs/tokens/hooks/useGetTokens/index.ts 85.71% 66.66% 100% 85.71% 1
apps/evm/src/libs/tokens/infos/index.ts 100% 100% 100% 100%
apps/evm/src/libs/tokens/infos/disabledTokenActions/bscMainnet.ts 0% 0% 0% 0% 1-120
apps/evm/src/libs/tokens/infos/disabledTokenActions/bscTestnet.ts 0% 0% 0% 0% 1-11
apps/evm/src/libs/tokens/infos/pancakeSwapTokens/bscTestnet.ts 50% 0% 100% 50% 1
apps/evm/src/libs/tokens/infos/pancakeSwapTokens/index.tsx 97.22% 0% 100% 97.22% 1
apps/evm/src/libs/tokens/utilities/getSwapTokens/index.ts 93.75% 66.66% 100% 93.75% 1
apps/evm/src/libs/wallet/hooks/useAddTokenToWallet/index.ts 0% 100% 100% 0% 3-23
apps/evm/src/pages/Account/Settings/index.tsx 100% 0% 100% 100%
apps/evm/src/pages/Account/Transactions/index.tsx 93.12% 76.92% 16.66% 93.12% 52-54, 58-62, 64-66, 80
apps/evm/src/pages/Bridge/index.tsx 91.88% 84.28% 81.81% 91.88% 79, 134-135, 166-168, 174-186, 212-214, 240-242, 249-251, 281, 344-346
apps/evm/src/pages/Bridge/useBridgeForm.ts 94.16% 75.6% 100% 94.16% 1, 90, 215-224, 290-291
apps/evm/src/pages/Bridge/ChainSelect/index.tsx 100% 66.66% 100% 100%
apps/evm/src/pages/IsolatedPools/index.tsx 84.87% 60% 66.66% 84.87% 53-60, 66-68, 82, 95-98, 103-105, 109
apps/evm/src/pages/Market/OperationForm/BorrowForm/index.tsx 97.11% 91.52% 80% 97.11% 82-87, 255-258, 451
apps/evm/src/pages/Market/OperationForm/WithdrawForm/index.tsx 97.01% 92.53% 88.88% 97.01% 80-83, 157, 268, 439-444
apps/evm/src/pages/Proposal/Commands/BscCommand/index.tsx 92.5% 78.94% 100% 92.5% 55-59, 68
apps/evm/src/pages/Proposal/Commands/Command/index.tsx 98.07% 50% 0% 98.07% 30
apps/evm/src/pages/Proposal/Commands/NonBscCommand/index.tsx 100% 95.45% 100% 100%
apps/evm/src/pages/Vai/AccountVaiData/index.tsx 99.09% 86.66% 100% 99.09% 38
apps/evm/src/pages/Vai/Borrow/index.tsx 95.84% 89.23% 100% 95.84% 66, 100-101, 126, 235-239, 256-257
apps/evm/src/pages/Vai/Repay/index.tsx 94.44% 70.83% 100% 94.44% 68-69, 141-145, 168-169, 177-179
apps/evm/src/types/index.ts 97.36% 83.33% 100% 97.36% 6
apps/evm/src/utilities/generateExplorerUrl.ts 76% 25% 33.33% 76% 14-16, 20, 31, 35
apps/evm/src/utilities/index.ts 98.24% 0% 100% 98.24% 1
apps/evm/src/utilities/isPoolIsolated/index.tsx 91.66% 50% 100% 91.66% 1
Generated in workflow #11629 for commit 62de713 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