Skip to content

yield-yak-aggregator: add yiUSD Milk vault on Base#2820

Merged
slasher125 merged 1 commit into
DefiLlama:masterfrom
BlockchainCake:add-yiusd-base
Jul 15, 2026
Merged

yield-yak-aggregator: add yiUSD Milk vault on Base#2820
slasher125 merged 1 commit into
DefiLlama:masterfrom
BlockchainCake:add-yiusd-base

Conversation

@BlockchainCake

@BlockchainCake BlockchainCake commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Adds the newly launched yiUSD Milk vault (BoringVault architecture) on Base.

  • Added Base (8453) to CHAIN_CONFIG with a noFarms flag (no classic farms on Base)
  • Added yiUSD to the VAULTS array; APY/TVL computed on-chain like the existing Milk vaults

Contracts (Base):

Summary by CodeRabbit

  • New Features
    • Added support for Yield Yak vault data on the Base network.
  • Bug Fixes
    • Improved farm data collection by skipping networks without supported farm information.

@coderabbitai

coderabbitai Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: a9b50854-ea5e-4e66-954c-491af87758c2

📥 Commits

Reviewing files that changed from the base of the PR and between ad40107 and c743898.

📒 Files selected for processing (1)
  • src/adaptors/yield-yak-aggregator/index.js

📝 Walkthrough

Walkthrough

Yield Yak now configures Base (chain 8453), adds its yiUSD vault, and excludes Base from farm data aggregation.

Changes

Yield Yak Base integration

Layer / File(s) Summary
Base vault configuration and farm filtering
src/adaptors/yield-yak-aggregator/index.js
Adds Base with noFarms: true, registers the Base yiUSD vault, and filters no-farm chains from farm aggregation.

Estimated code review effort: 2 (Simple) | ~5 minutes

Suggested reviewers: 0xkr3p, slasher125

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely summarizes the main change: adding the yiUSD Milk vault on Base.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install timed out. The project may have too many dependencies for the sandbox.


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 yield-yak-aggregator adapter:

Test Suites: 1 failed, 1 total
Tests: 3 failed, 288 passed, 291 total
Snapshots: 0 total
Time: 0.377 s
Ran all test suites.

Nb of pools: 45
 

Sample pools:
┌─────────┬──────────────────────────────────────────────┬─────────────┬────────────────────────┬───────────┬──────────────┬───────────────────────┬───────────────────────┬────────────────────┬──────────────────────────────────────────────────┬────────────────────┐
│ (index) │ pool                                         │ chain       │ project                │ symbol    │ poolMeta     │ apyBase               │ apyBase7d             │ pricePerShare      │ underlyingTokens                                 │ tvlUsd             │
├─────────┼──────────────────────────────────────────────┼─────────────┼────────────────────────┼───────────┼──────────────┼───────────────────────┼───────────────────────┼────────────────────┼──────────────────────────────────────────────────┼────────────────────┤
│ 0       │ '0xa845Cbe370B99AdDaB67AfE442F2cF5784d4dC29' │ 'Avalanche' │ 'yield-yak-aggregator' │ 'aiAVAX'  │ 'Milk Vault' │ 14.371310940196057    │ 2.824333807549295     │ 1.111657684694462  │ [ '0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7' ] │ 1452069.8556402682 │
│ 1       │ '0xdC038cFf8E55416a5189e37F382879c19217a4CB' │ 'Avalanche' │ 'yield-yak-aggregator' │ 'aiUSD'   │ 'Milk Vault' │ 3.368892240857213     │ 3.108858919986268     │ 1.090625           │ [ '0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E' ] │ 934479.2318428485  │
│ 2       │ '0x0FB51627a4D9E01B24C427BB62Ed8d5C9018f8F6' │ 'Avalanche' │ 'yield-yak-aggregator' │ 'aiBTC'   │ 'Milk Vault' │ 2.6686601749497996    │ 2.61804614528387      │ 0.4903482          │ [ '0x152b9d0FdC40C096757F570A51E494bd4b943E50' ] │ 487219.4908350324  │
│ 3       │ '0xDf788AD40181894dA035B827cDF55C523bf52F67' │ 'Avalanche' │ 'yield-yak-aggregator' │ 'rsAVAX'  │ 'Milk Vault' │ 0.0010197172437331758 │ 0.0010799167739605764 │ 1.0047444683130144 │ [ '0x2b2C81e08f1Af8835a78Bb2A90AE924ACE0eA4bE' ] │ 365783.72857420077 │
│ 4       │ '0xFB692D03BBEA21D8665035779dd3082c2B1622d0' │ 'Avalanche' │ 'yield-yak-aggregator' │ 'USDC'    │ 'benqi'      │ 4.09                  │                       │                    │ [ '0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E' ] │ 328211.003015      │
│ 5       │ '0x0C4684086914D5B1525bf16c62a0FF8010AB991A' │ 'Avalanche' │ 'yield-yak-aggregator' │ 'YAK'     │ 'yak'        │ 0.55                  │                       │                    │ [ '0x59414b3089ce2AF0010e7523Dea7E2b35d776ec7' ] │ 245902.40462263543 │
│ 6       │ '0xB5803023B8fa8BFe7d64E373297dFaA24e3B5962' │ 'Base'      │ 'yield-yak-aggregator' │ 'yiUSD'   │ 'Milk Vault' │ 3.3312385762611196    │ 3.1986311718606775    │ 1.0025             │ [ '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913' ] │ 40159.39469291224  │
│ 7       │ '0xe684F692bdf5B3B0DB7E8e31a276DE8A2E9F0025' │ 'Avalanche' │ 'yield-yak-aggregator' │ 'rBTC.b'  │ 'Milk Vault' │ 1.072996207627508     │ 1.038075002286143     │ 1.01641125         │ [ '0x152b9d0FdC40C096757F570A51E494bd4b943E50' ] │ 38982.786000551074 │
│ 8       │ '0x714e06410B4960D3C1FC033bCd53ad9EB2d1f874' │ 'Avalanche' │ 'yield-yak-aggregator' │ 'sJOE'    │ 'traderjoe'  │ 3.89                  │                       │                    │ [ '0x6e84a6216eA6dACC71eE8E6b0a5B7322EEbC0fDd' ] │ 34201.355960827525 │
│ 9       │ '0x9D15A28fCB96AF5e26dd0EF546D6a777C0ec34cd' │ 'Avalanche' │ 'yield-yak-aggregator' │ 'rstAVAX' │ 'Milk Vault' │ 0                     │ 0                     │ 1                  │ [ '0xA25EaF2906FA1a3a13EdAc9B9657108Af7B703e3' ] │ 29825.478221835936 │
└─────────┴──────────────────────────────────────────────┴─────────────┴────────────────────────┴───────────┴──────────────┴───────────────────────┴───────────────────────┴────────────────────┴──────────────────────────────────────────────────┴────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@slasher125
slasher125 merged commit 83b5c40 into DefiLlama:master Jul 15, 2026
1 of 2 checks passed
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.

2 participants