Skip to content

Add Hyperlynx yield adapter#2763

Draft
isagieth wants to merge 2 commits into
DefiLlama:masterfrom
isagieth:add-hyperlynx-yields
Draft

Add Hyperlynx yield adapter#2763
isagieth wants to merge 2 commits into
DefiLlama:masterfrom
isagieth:add-hyperlynx-yields

Conversation

@isagieth

Copy link
Copy Markdown

Adds a yields adapter for Hyperlynx, a Uniswap V3 fork DEX on HyperEVM. Per-pool base APY is computed from swap fees (feesUSD × 365 / tvlUsd) using the project subgraph, modeled on the existing hyperswap-v3 adapter. V3 concentrated-liquidity pools only (V2 pools are below the $10k display threshold).

⚠️ Draft — blocked on TVL listing

This is intentionally a draft. yield-server requires protocolId to match Hyperlynx's id in https://api.llama.fi/protocols, which is only assigned once the TVL adapter merges. protocolId is currently a TODO placeholder and will be filled in (and this PR marked ready) as soon as the TVL PR lands.

Related PRs (same protocol)

Details

  • Project / slug: hyperlynx
  • Chain: hyperevm
  • Source: Goldsky subgraph (uniswap-v3-hyperevm)
  • apyBase: from latest-day pool fees; apyBase7d from the trailing 7-day average
  • Pools shown today: 1 (WHYPE-USDC 0.3%, ~$30k TVL); expands automatically as more pools cross $10k TVL

Website: https://hyperlynx.fi · Docs: https://hyperlynx.gitbook.io/hyperlynx-docs/

@coderabbitai

coderabbitai Bot commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 4fe09d91-c217-446b-aa51-75e88f5466a5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

Error while running hyperlynx adapter:

Test Suites: 1 failed, 1 total
Tests: 2 failed, 9 passed, 11 total
Snapshots: 0 total
Time: 0.304 s
Ran all test suites.

Nb of pools: 1
 

Sample pools:
┌─────────┬──────────────────────────────────────────────┬──────────────────┬─────────────┬──────────────┬────────────────────┬────────────────────┬───────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────┬──────────┬──────────────────────────────────┬───────────────────┬────────────────────┐
│ (index) │ pool                                         │ chain            │ project     │ symbol       │ tvlUsd             │ apyBase            │ apyBase7d         │ underlyingTokens                                                                               │ poolMeta │ url                              │ volumeUsd1d       │ volumeUsd7d        │
├─────────┼──────────────────────────────────────────────┼──────────────────┼─────────────┼──────────────┼────────────────────┼────────────────────┼───────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────┼──────────┼──────────────────────────────────┼───────────────────┼────────────────────┤
│ 0       │ '0xe45326a0fd9a4fd5989fd3ce79b5b5ad737f34c7' │ 'Hyperliquid L1' │ 'hyperlynx' │ 'WHYPE-USDC' │ 30081.361971334605 │ 3.1843960947498315 │ 6.227189951410667 │ [ '0x5555555555555555555555555555555555555555', '0xb88339cb7199b77e23db6e890353e22632ba630f' ] │ '0.3%'   │ 'https://hyperlynx.fi/liquidity' │ 874.8033934819543 │ 11974.945068022767 │
└─────────┴──────────────────────────────────────────────┴──────────────────┴─────────────┴──────────────┴────────────────────┴────────────────────┴───────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────┴──────────┴──────────────────────────────────┴───────────────────┴────────────────────┘

@isagieth isagieth changed the title Add Hyperlynx yield adapter (HyperEVM V3 pools) Add Hyperlynx yield adapter Jun 28, 2026
@github-actions

Copy link
Copy Markdown

Error while running hyperlynx adapter:

Test Suites: 1 failed, 1 total
Tests: 2 failed, 9 passed, 11 total
Snapshots: 0 total
Time: 0.274 s
Ran all test suites.

Nb of pools: 1
 

Sample pools:
┌─────────┬──────────────────────────────────────────────┬──────────────────┬─────────────┬──────────────┬────────────────────┬────────────────────┬───────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────┬─────────────┬──────────────────────────────────┬───────────────────┬────────────────────┐
│ (index) │ pool                                         │ chain            │ project     │ symbol       │ tvlUsd             │ apyBase            │ apyBase7d         │ underlyingTokens                                                                               │ poolMeta    │ url                              │ volumeUsd1d       │ volumeUsd7d        │
├─────────┼──────────────────────────────────────────────┼──────────────────┼─────────────┼──────────────┼────────────────────┼────────────────────┼───────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────┼─────────────┼──────────────────────────────────┼───────────────────┼────────────────────┤
│ 0       │ '0xe45326a0fd9a4fd5989fd3ce79b5b5ad737f34c7' │ 'Hyperliquid L1' │ 'hyperlynx' │ 'WHYPE-USDC' │ 30081.361971334605 │ 3.1843960947498315 │ 6.227189951410667 │ [ '0x5555555555555555555555555555555555555555', '0xb88339cb7199b77e23db6e890353e22632ba630f' ] │ '0.3% (V3)' │ 'https://hyperlynx.fi/liquidity' │ 874.8033934819543 │ 11974.945068022767 │
└─────────┴──────────────────────────────────────────────┴──────────────────┴─────────────┴──────────────┴────────────────────┴────────────────────┴───────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────┴─────────────┴──────────────────────────────────┴───────────────────┴────────────────────┘

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