Skip to content

fix: re-enable jones-dao adapter (deposits resumed)#2632

Open
0xIvan wants to merge 1 commit into
DefiLlama:masterfrom
0xIvan:fix/jones-dao-resurrect
Open

fix: re-enable jones-dao adapter (deposits resumed)#2632
0xIvan wants to merge 1 commit into
DefiLlama:masterfrom
0xIvan:fix/jones-dao-resurrect

Conversation

@0xIvan
Copy link
Copy Markdown
Contributor

@0xIvan 0xIvan commented Apr 27, 2026

Summary

The jones-dao adapter was excluded in #2348 (Feb 2026) with the reason //disabled deposits. That's no longer accurate — Jones vaults are open, accruing TVL, and the adapter is producing valid pool data. This PR re-enables it and ensures jGLP's historical chart stays visible while that vault winds down.

Live state pulled from Jones APIs at PR time:

Pool Chain TVL APY
jAURA Ethereum ~$18k ~66%
jUSDC Arbitrum ~$749k ~1.6%
jGLP Arbitrum $0 ~3.2%
smart-lp 7 chains hundreds of strategies w/ active TVL

Running the adapter locally now emits 167 pools, all of which were silently dropped at the enrichment layer because of the project-level exclusion.

Changes

  1. src/utils/exclude.js — remove 'jones-dao', //disabled deposits. The reason no longer applies; deposits are open across jAURA, jUSDC, and smart-lp.
  2. src/adaptors/jones-dao/index.js — remove the vault.tvl > 0 guard on jGLP. The vault is winding down so live TVL is 0, but the upstream API still reports a valid APY for residual positions, and we want DefiLlama's historical chart for jGLP to remain visible rather than disappearing once the project is un-excluded.

Test plan

  • node -e "require('./src/adaptors/jones-dao').apy().then(p => console.log(p.length))" — returns 167 pools
  • jAURA, jUSDC, jGLP each emit one pool with sensible tvlUsd / apyBase
  • No duplicate pool IDs across the smart-lp set
  • Reviewer to confirm enrichment pipeline picks up the project once exclusion is removed

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • Expanded jGLP vault pool availability - all pools now displayed instead of filtered selection
  • Updates

    • Removed hardcoded exclusion of jones-dao adaptor, enabling broader vault integration and access

jones-dao was excluded in DefiLlama#2348 with reason "disabled deposits".
That's no longer accurate — vaults are open and accruing TVL:

- jAURA: ~$18k TVL, ~66% APY (lsdVault)
- jUSDC: ~$749k TVL, ~1.6% APY
- smart-lp: 164 active strategies across 7 chains
- jGLP: 0 TVL (winding down) but APY still reported by API

Two changes:
1. Drop 'jones-dao' from src/utils/exclude.js so the project's
   pools surface again.
2. In src/adaptors/jones-dao/index.js, remove the `vault.tvl > 0`
   guard on jGLP so the pool keeps emitting at 0 TVL. This
   preserves the historical chart on DefiLlama while jGLP winds
   down; the API still returns a valid APY for legacy positions.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 27, 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: 6a8d4735-7fe0-45f8-a4f6-64bc7348a395

📥 Commits

Reviewing files that changed from the base of the PR and between 093b82a and 63c5f08.

📒 Files selected for processing (2)
  • src/adaptors/jones-dao/index.js
  • src/utils/exclude.js
💤 Files with no reviewable changes (1)
  • src/utils/exclude.js

📝 Walkthrough

Walkthrough

The jones-dao adapter is re-enabled by removing it from the hardcoded exclusion list. Its vault pool logic is modified to include all leveraged vaults regardless of TVL value, whereas previously only vaults with tvl > 0 were included.

Changes

Cohort / File(s) Summary
Jones DAO Adapter
src/adaptors/jones-dao/index.js
Removed TVL filter condition—now includes all leveraged vault pools instead of only those with vault.tvl > 0. Pool construction logic remains unchanged.
Adapter Exclusion List
src/utils/exclude.js
Removed 'jones-dao' from the hardcoded excludeAdaptors array, re-enabling the adapter for production use.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Poem

🐰 A vault's worth is more than just its weight,
Jones DAO returns, no TVL gate!
From the exclusion list it hops away,
All pools now shine, come what may! ✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'fix: re-enable jones-dao adapter (deposits resumed)' directly and accurately summarizes the main change: re-enabling the previously excluded jones-dao adapter due to resumed deposits.
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.

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

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

@github-actions
Copy link
Copy Markdown

The jones-dao adapter exports pools:

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

Nb of pools: 167
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────────┬─────────────┬──────────────┬────────────────────────────────────────────────────────────────────────────────────────────────┬────────────────────┬────────────────────┬──────────────────────────────────────┬───────────┬──────────────────────────────────────────────────┐
│ (index) │ pool                                                  │ chain      │ project     │ symbol       │ underlyingTokens                                                                               │ tvlUsd             │ apyBase            │ poolMeta                             │ apyReward │ rewardTokens                                     │
├─────────┼───────────────────────────────────────────────────────┼────────────┼─────────────┼──────────────┼────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────┼────────────────────┼──────────────────────────────────────┼───────────┼──────────────────────────────────────────────────┤
│ 0       │ '0xb0bde111812eac913b392d80d51966ec977be3a2-arbitrum' │ 'Arbitrum' │ 'jones-dao' │ 'jUSDC'      │ [ '0xaf88d065e77c8cC2239327C5EDb3A432268e5831' ]                                               │ 749337.1422947661  │ 1.5910154534304555 │ '1 day lock'                         │           │                                                  │
│ 1       │ '0x0818e49e7b553924d239a107928d1275ddf5705d-arbitrum' │ 'Arbitrum' │ 'jones-dao' │ 'weETH-WETH' │ [ '0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe', '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1' ] │ 59302.32026712472  │ 0                  │ 'CRUISE CONTROL strategy on CAMELOT' │ 15.47     │ [ '0x912CE59144191C1204E64559FE8253a0e49E6548' ] │
│ 2       │ '0x7629fc134e5a7febef6340438d96881c8d121f2c-ethereum' │ 'Ethereum' │ 'jones-dao' │ 'jAURA'      │ [ '0xC0c293ce456fF0ED870ADd98a0828Dd4d2903DBF' ]                                               │ 17935.076108996673 │ 66.35519610576338  │ '2 week lock'                        │           │                                                  │
│ 3       │ '0x174a7cec21994fca7a60e8d0e2c856363a26f33e-arbitrum' │ 'Arbitrum' │ 'jones-dao' │ 'ETH-USDC'   │ [ '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1', '0xaf88d065e77c8cC2239327C5EDb3A432268e5831' ] │ 9508.716642695617  │ 0                  │ 'BULL strategy on UNISWAP'           │ null      │ []                                               │
│ 4       │ '0x939f56325968f692ec25ff943d56848ef9538cf0-arbitrum' │ 'Arbitrum' │ 'jones-dao' │ 'BTC-ETH'    │ [ '0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f', '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1' ] │ 7801.629244034464  │ 0                  │ 'NARROW strategy on UNISWAP'         │ null      │ []                                               │
│ 5       │ '0xb4d6d206682c5c526995f864ba24d460a652e190-arbitrum' │ 'Arbitrum' │ 'jones-dao' │ 'ezETH-ETH'  │ [ '0x2416092f143378750bb29b79eD961ab195CcEea5', '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1' ] │ 6943.38559227202   │ 0                  │ 'CRUISE CONTROL strategy on CAMELOT' │ 74.22     │ [ '0x912CE59144191C1204E64559FE8253a0e49E6548' ] │
│ 6       │ '0x5458d3a904069153e3282550e017965de8989a51-arbitrum' │ 'Arbitrum' │ 'jones-dao' │ 'BTC-ETH'    │ [ '0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f', '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1' ] │ 4250.647649197274  │ 0                  │ 'WIDE strategy on CAMELOT'           │ 23.26     │ [ '0x912CE59144191C1204E64559FE8253a0e49E6548' ] │
│ 7       │ '0x1b149c3963b9b70dacbe2255e815f69b107d467c-arbitrum' │ 'Arbitrum' │ 'jones-dao' │ 'ETH-ARB'    │ [ '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1', '0x912CE59144191C1204E64559FE8253a0e49E6548' ] │ 3378.3183314671787 │ 0                  │ 'NARROW strategy on CAMELOT'         │ null      │ []                                               │
│ 8       │ '0xa7adfa283d994397102fa7f56e08d48d24bfcbfb-arbitrum' │ 'Arbitrum' │ 'jones-dao' │ 'PENDLE-ETH' │ [ '0x0c880f6761F1af8d9Aa9C466984b80DAb9a8c9e8', '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1' ] │ 3267.5814067821757 │ 0                  │ 'NARROW strategy on CAMELOT'         │ null      │ []                                               │
│ 9       │ '0x1b53d23c0ab582ecbcafeb839358fee3f69a4a6a-arbitrum' │ 'Arbitrum' │ 'jones-dao' │ 'ETH-GMX'    │ [ '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1', '0xfc5A1A6EB076a2C7aD06eD22C90d7E710E35ad0a' ] │ 2402.8567766383526 │ 0                  │ 'NARROW strategy on CAMELOT'         │ 15.94     │ [ '0x912CE59144191C1204E64559FE8253a0e49E6548' ] │
└─────────┴───────────────────────────────────────────────────────┴────────────┴─────────────┴──────────────┴────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────┴────────────────────┴──────────────────────────────────────┴───────────┴──────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

Copy link
Copy Markdown
Contributor

@0xkr3p 0xkr3p left a comment

Choose a reason for hiding this comment

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

hi @0xIvan, thanks for your PR. After looking at https://app.jonesdao.io/vaults it appears jUSDC and jGLP are still disabled. Are you re-enabling deposits for these vaults? otherwise they will have to be excluded at a pool level (see here: https://github.com/DefiLlama/yield-server/blob/master/src/utils/exclude.js#L2242). Please add the pool values to the above list.

After excluding the disabled pools, the adapter can be included and serve with the active pools: jAURA and Smart LPs

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