Skip to content

adding yHLP vault#2459

Open
neelra8n wants to merge 1 commit intoDefiLlama:masterfrom
neelra8n:master
Open

adding yHLP vault#2459
neelra8n wants to merge 1 commit intoDefiLlama:masterfrom
neelra8n:master

Conversation

@neelra8n
Copy link
Contributor

@neelra8n neelra8n commented Mar 6, 2026

In this PR, we have added newly launched yHLP vault: https://etherscan.io/address/0x386e0983d0e05f5239fd029793ef3ba37b468e9c

Please update the price feed for this vault,
Thanks

Summary by CodeRabbit

  • New Features

    • Added support for yHLP token in Ethereum pool operations alongside existing yield tokens.
  • Updates

    • Updated module service endpoint URL.

@coderabbitai
Copy link

coderabbitai bot commented Mar 6, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 5f89c315-a390-4d44-9860-0c5ebb7c8f36

📥 Commits

Reviewing files that changed from the base of the PR and between 33c5ecd and 8a463fd.

📒 Files selected for processing (1)
  • src/adaptors/yieldfi/index.js

📝 Walkthrough

Walkthrough

Introduces YHLP_CONTRACTS and extends Ethereum pool generation to process yHLP token yields alongside existing Prism-like tokens. Updates the module's external URL from a Prism-specific vault path to the root domain.

Changes

Cohort / File(s) Summary
YieldFi Adapter Configuration
src/adaptors/yieldfi/index.js
Adds YHLP_CONTRACTS configuration set and extends Ethereum pool generation to include yHLP token processing; updates external module URL from /vaults/yprism to /.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 A new token hops into the fold,
yHLP brings riches yet untold,
Pools expand with yields so bright,
From vaults vast to a simpler height! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'adding yHLP vault' directly corresponds to the main change in the pull request, which adds support for the new yHLP vault to the Ethereum pool processing.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


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 and usage tips.

@llamatester
Copy link

The yieldfi adapter exports pools:

Test Suites: 1 passed, 1 total
Tests: 189 passed, 189 total
Snapshots: 0 total
Time: 0.33 s
Ran all test suites.

Nb of pools: 31
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────────┬───────────┬──────────┬─────────────┬─────────┬──────────────────────────────────────────────────┐
│ (index) │ pool                                                  │ chain      │ project   │ symbol   │ tvlUsd      │ apyBase │ underlyingTokens                                 │
├─────────┼───────────────────────────────────────────────────────┼────────────┼───────────┼──────────┼─────────────┼─────────┼──────────────────────────────────────────────────┤
│ 0       │ '0x19Ebd191f7A24ECE672ba13A302212b5eF7F35cb-ethereum' │ 'ethereum' │ 'yieldfi' │ 'YUSD'   │ 10696297.29 │ -0.01   │ [ '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' ] │
│ 1       │ '0x839e7e610108Cf3DCc9b40329db33b6E6bc9baCE-saga'     │ 'saga'     │ 'yieldfi' │ 'YUSD'   │ 9285345.06  │ -0.01   │ [ 'coingecko:usd-coin' ]                         │
│ 2       │ '0xdd5eff0756db08bad0ff16b66f88f506e7318894-ethereum' │ 'ethereum' │ 'yieldfi' │ 'YPRISM' │ 9205696.44  │ 1.24    │ [ '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' ] │
│ 3       │ '0x2e3C5e514EEf46727DE1FE44618027A9b70D92FC-ethereum' │ 'ethereum' │ 'yieldfi' │ 'VYUSD'  │ 2779711.48  │ -0.01   │ [ '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' ] │
│ 4       │ '0xa01200b2e74DE6489cF56864E3d76BBc06fc6C43-ethereum' │ 'ethereum' │ 'yieldfi' │ 'YBTC'   │ 1123303.23  │ 0.43    │ [ '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599' ] │
│ 5       │ '0x704a58f888f18506C9Fc199e53AE220B5fdCaEd8-saga'     │ 'saga'     │ 'yieldfi' │ 'VYUSD'  │ 1101128.25  │ -0.01   │ [ 'coingecko:usd-coin' ]                         │
│ 6       │ '0x1e2a5622178f93EFd4349E2eB3DbDF2761749e1B-ethereum' │ 'ethereum' │ 'yieldfi' │ 'VYBTC'  │ 381796.15   │ 0.37    │ [ '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599' ] │
│ 7       │ '0xF4F447E6AFa04c9D11Ef0e2fC0d7f19C24Ee55de-arbitrum' │ 'arbitrum' │ 'yieldfi' │ 'VYUSD'  │ 165879.37   │ -0.01   │ [ '0xaf88d065e77c8cC2239327C5EDb3A432268e5831' ] │
│ 8       │ '0x4772D2e014F9fC3a820C444e3313968e9a5C8121-base'     │ 'base'     │ 'yieldfi' │ 'YUSD'   │ 113874.79   │ -0.01   │ [ '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913' ] │
│ 9       │ '0xF4F447E6AFa04c9D11Ef0e2fC0d7f19C24Ee55de-base'     │ 'base'     │ 'yieldfi' │ 'VYUSD'  │ 91128.85    │ -0.01   │ [ '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913' ] │
└─────────┴───────────────────────────────────────────────────────┴────────────┴───────────┴──────────┴─────────────┴─────────┴──────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

timetravel: false,
apy: poolsFunction,
url: 'https://yield.fi/vaults/yprism',
url: 'https://yield.fi/',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add vault specific urls to the pools pls?

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.

3 participants