Skip to content

Add XOXNO Lending yield adapter#2753

Open
mihaieremia wants to merge 1 commit into
DefiLlama:masterfrom
mihaieremia:codex/xoxno-lending-yields
Open

Add XOXNO Lending yield adapter#2753
mihaieremia wants to merge 1 commit into
DefiLlama:masterfrom
mihaieremia:codex/xoxno-lending-yields

Conversation

@mihaieremia

@mihaieremia mihaieremia commented Jun 22, 2026

Copy link
Copy Markdown

Summary

Adds XOXNO Lending Stellar markets to the DefiLlama yield server.

The adapter emits one pool per XOXNO Stellar lending market, including supply APY, borrow APY, utilization, TVL, total supplied, and total borrowed.

Data Source

  • Endpoint: https://api.xoxno.com/integrations/lending/stellar
  • Header: User-Agent: dune-analytics
  • Chain: Stellar
  • Project: xoxno-lending

The API export is built from the XOXNO Stellar lending indexer and current market state. It includes the listed markets, current balances, APYs, utilization, and token metadata.

Methodology

  • One yield-server pool is emitted per listed lending market.
  • tvlUsd uses pool reserves / net deposits from the market export.
  • totalSupplyUsd uses total supplied market balance.
  • totalBorrowUsd uses outstanding borrowed balance.
  • apyBase uses the market supply APY from the XOXNO export.
  • apyBaseBorrow uses the market borrow APY from the XOXNO export.
  • APY and utilization values are normalized from decimal fractions to percentage points for DefiLlama display.

The adapter is structured so a future MultiversX lending deployment can be added with the same response shape.

Validation

  • node --check src/adaptors/xoxno-lending/index.js
  • Manual adapter run returned 6 Stellar pools.

Summary by CodeRabbit

  • New Features
    • Integrated XOXNO lending protocol with support for the Stellar blockchain network
    • Provides comprehensive lending market data including APY base and borrow rates, total supply and borrow values, underlying tokens, and market details
    • Includes automatic validation to ensure data accuracy and reliability

@coderabbitai

coderabbitai Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@mihaieremia, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 12 minutes and 31 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 00779692-2fd9-4719-b43b-73bc8e04317e

📥 Commits

Reviewing files that changed from the base of the PR and between 909e58d and 7e7d2a4.

📒 Files selected for processing (1)
  • src/adaptors/xoxno-lending/index.js
📝 Walkthrough

Walkthrough

A new XOXNO lending adaptor is added at src/adaptors/xoxno-lending/index.js. It defines Stellar chain configuration, fetches lending markets from the XOXNO API with a fixed User-Agent header and 5-second request timeout, normalizes market fields into DeFiLlama pool objects (APY as percentages, USD totals), filters pools with non-finite numeric values, and exports the standard apy/timetravel/url interface.

Changes

XOXNO Lending Adaptor

Layer / File(s) Summary
Constants, config, and market fetch
src/adaptors/xoxno-lending/index.js
Defines API_BASE, HEADERS, and CHAIN_CONFIGS for Stellar, a getApiUrl helper, and getMarkets which fetches from the configured export path with timeout enforcement, throws on non-OK responses, and returns data.markets.
Pool normalization, filtering, and module export
src/adaptors/xoxno-lending/index.js
Adds keepFinite to validate numeric pool fields (tvlUsd, apyBase, apyBaseBorrow, totalSupplyUsd, totalBorrowUsd), decimalToPercent for nullable decimal-to-percentage conversion, the apy() function that maps raw markets to pool objects, and the module.exports wiring with timetravel: false and url.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested reviewers

  • 0xkr3p

Poem

A rabbit hops through Stellar skies,
Fetching markets, no surprise,
Decimals turned to percents bright,
Non-finite pools filtered right,
🐇 XOXNO yields now shine tonight!

🚥 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 'Add XOXNO Lending yield adapter' directly and clearly matches the main change in the changeset: adding a new XOXNO lending adaptor at src/adaptors/xoxno-lending/index.js for Stellar markets.
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

Error while running xoxno-lending adapter:

Test Suites: 1 failed, 1 total
Tests: 8 failed, 45 passed, 53 total
Snapshots: 0 total
Time: 0.358 s
Ran all test suites.

Nb of pools: 6
 

Sample pools:
┌─────────┬──────────────────────────────────────────────────────────────────────────────────┬───────────┬─────────────────┬────────┬────────────────────┬───────────────────────┬────────────────────┬────────────────────┬────────────────────┬─────────────────────┬────────────────────────────────────────────────────────────────┬─────────────────────────────┐
│ (index) │ pool                                                                             │ chain     │ project         │ symbol │ tvlUsd             │ apyBase               │ apyBaseBorrow      │ totalSupplyUsd     │ totalBorrowUsd     │ utilization         │ underlyingTokens                                               │ url                         │
├─────────┼──────────────────────────────────────────────────────────────────────────────────┼───────────┼─────────────────┼────────┼────────────────────┼───────────────────────┼────────────────────┼────────────────────┼────────────────────┼─────────────────────┼────────────────────────────────────────────────────────────────┼─────────────────────────────┤
│ 0       │ 'xoxno-lending-stellar-CBK3FNAM3C54674OSOCQLDNW4EXMNUY6ZO3C3ZI5S5DGBIIPX4GJ7WHW' │ 'Stellar' │ 'xoxno-lending' │ 'BTC'  │ 179668.0646344433  │ 0.03737978906072048   │ 1.2831666760744744 │ 186085.01864704455 │ 6416.954012601242  │ 3.448402140134979   │ [ 'CBK3FNAM3C54674OSOCQLDNW4EXMNUY6ZO3C3ZI5S5DGBIIPX4GJ7WHW' ] │ 'https://xoxno.com/lending' │
│ 1       │ 'xoxno-lending-stellar-CBFNIHC2B7WMAH2CKNKQJOB3CWBUXXNNRQXYISJ7VZONM77YBMHCOULJ' │ 'Stellar' │ 'xoxno-lending' │ 'ETH'  │ 3296.2595974263795 │ 0.05948166159582619   │ 1.4088957158499005 │ 3469.7550985646667 │ 173.4955011382873  │ 5.000227749442014   │ [ 'CBFNIHC2B7WMAH2CKNKQJOB3CWBUXXNNRQXYISJ7VZONM77YBMHCOULJ' ] │ 'https://xoxno.com/lending' │
│ 2       │ 'xoxno-lending-stellar-CBIELTK6YBZJU5UP2WWQEUCYKLPU6AUNZ2BQ4WWFEIE3USCIHMXQDAMA' │ 'Stellar' │ 'xoxno-lending' │ 'USDC' │ 1010.296836148092  │ 0.0009094486988471988 │ 1.012433350250536  │ 1011.3112971092938 │ 1.0144610612619946 │ 0.10031145834459561 │ [ 'CBIELTK6YBZJU5UP2WWQEUCYKLPU6AUNZ2BQ4WWFEIE3USCIHMXQDAMA' ] │ 'https://xoxno.com/lending' │
│ 3       │ 'xoxno-lending-stellar-CAQCFVLOBK5GIULPNZRGATJJMIZL5BSP7X5YJVMGCPTUEPFM4AVSRCJU' │ 'Stellar' │ 'xoxno-lending' │ 'USDC' │ 555.4285171687268  │ 0                     │ 1.0043331094768297 │ 555.4285168684955  │ 0                  │ 0                   │ [ 'CAQCFVLOBK5GIULPNZRGATJJMIZL5BSP7X5YJVMGCPTUEPFM4AVSRCJU' ] │ 'https://xoxno.com/lending' │
│ 4       │ 'xoxno-lending-stellar-CDLZFC3SYJYDZT7K67VZ75HPJVIEUVNIXF47ZG2FB2RMQQVU2HHGCYSC' │ 'Stellar' │ 'xoxno-lending' │ 'XLM'  │ 380.6966703865482  │ 0.4174872561422485    │ 2.573761443722812  │ 471.668019293942   │ 90.97134901512798  │ 19.287156497171388  │ [ 'CDLZFC3SYJYDZT7K67VZ75HPJVIEUVNIXF47ZG2FB2RMQQVU2HHGCYSC' ] │ 'https://xoxno.com/lending' │
│ 5       │ 'xoxno-lending-stellar-CCUUDM434BMZMYWYDITHFXHDMIVTGGD6T2I5UKNX5BSLXLW7HVR4MCGZ' │ 'Stellar' │ 'xoxno-lending' │ 'EURC' │ 18.366261849559535 │ 0.6240241568756009    │ 2.9453630462717033 │ 24.106115239368958 │ 5.739853504598918  │ 23.81077832784871   │ [ 'CCUUDM434BMZMYWYDITHFXHDMIVTGGD6T2I5UKNX5BSLXLW7HVR4MCGZ' ] │ 'https://xoxno.com/lending' │
└─────────┴──────────────────────────────────────────────────────────────────────────────────┴───────────┴─────────────────┴────────┴────────────────────┴───────────────────────┴────────────────────┴────────────────────┴────────────────────┴─────────────────────┴────────────────────────────────────────────────────────────────┴─────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🧹 Nitpick comments (1)
src/adaptors/xoxno-lending/index.js (1)

34-43: 🧹 Nitpick | 🔵 Trivial | ⚡ Quick win

Consider reusing shared utils.keepFinite to avoid over-filtering.

This local filter is stricter than the repository’s shared contract and can exclude valid pools when optional fields are missing.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/adaptors/xoxno-lending/index.js` around lines 34 - 43, The local
keepFinite function is unnecessarily strict and filters out valid pools. Instead
of checking all seven fields with every(), use the shared utils.keepFinite
utility that already exists in the repository. Replace the local keepFinite
function implementation with a call to the shared utils.keepFinite function to
align with the repository's standard filtering logic and avoid excluding valid
pools when optional fields are missing.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/adaptors/xoxno-lending/index.js`:
- Around line 30-31: The return statement that returns data.markets ?? [] does
not properly validate that markets is actually an array before returning it,
which allows non-array values to be passed through and causes runtime errors
when the result is iterated at line 55. Replace the return statement with a
guard that explicitly checks if data.markets is an array using Array.isArray,
returning the markets array if it passes the check or an empty array otherwise,
to ensure the function always returns a valid array for iteration.
- Around line 21-24: The getMarkets function's fetch call lacks a timeout
mechanism, which can cause the adaptor to hang if upstream services are slow or
unresponsive. Add an AbortSignal with a 5000 millisecond timeout to the fetch
options by including a signal property that uses AbortSignal.timeout(5000) in
the fetch configuration object, similar to the pattern used in
evaa-protocol/getPrices.js.

---

Nitpick comments:
In `@src/adaptors/xoxno-lending/index.js`:
- Around line 34-43: The local keepFinite function is unnecessarily strict and
filters out valid pools. Instead of checking all seven fields with every(), use
the shared utils.keepFinite utility that already exists in the repository.
Replace the local keepFinite function implementation with a call to the shared
utils.keepFinite function to align with the repository's standard filtering
logic and avoid excluding valid pools when optional fields are missing.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 5c9847ba-c602-47ce-a631-4829e1dc30ea

📥 Commits

Reviewing files that changed from the base of the PR and between a371b67 and d5aa68c.

📒 Files selected for processing (1)
  • src/adaptors/xoxno-lending/index.js

Comment thread src/adaptors/xoxno-lending/index.js
Comment thread src/adaptors/xoxno-lending/index.js Outdated
@mihaieremia mihaieremia force-pushed the codex/xoxno-lending-yields branch from d5aa68c to 906795d Compare June 22, 2026 02:34
@github-actions

Copy link
Copy Markdown

Error while running xoxno-lending adapter:

Test Suites: 1 failed, 1 total
Tests: 8 failed, 45 passed, 53 total
Snapshots: 0 total
Time: 0.354 s
Ran all test suites.

Nb of pools: 6
 

Sample pools:
┌─────────┬──────────────────────────────────────────────────────────────────────────────────┬───────────┬─────────────────┬────────┬────────────────────┬───────────────────────┬────────────────────┬────────────────────┬────────────────────┬─────────────────────┬────────────────────────────────────────────────────────────────┬─────────────────────────────┐
│ (index) │ pool                                                                             │ chain     │ project         │ symbol │ tvlUsd             │ apyBase               │ apyBaseBorrow      │ totalSupplyUsd     │ totalBorrowUsd     │ utilization         │ underlyingTokens                                               │ url                         │
├─────────┼──────────────────────────────────────────────────────────────────────────────────┼───────────┼─────────────────┼────────┼────────────────────┼───────────────────────┼────────────────────┼────────────────────┼────────────────────┼─────────────────────┼────────────────────────────────────────────────────────────────┼─────────────────────────────┤
│ 0       │ 'xoxno-lending-stellar-CBK3FNAM3C54674OSOCQLDNW4EXMNUY6ZO3C3ZI5S5DGBIIPX4GJ7WHW' │ 'Stellar' │ 'xoxno-lending' │ 'BTC'  │ 179668.0646344433  │ 0.03737978906072048   │ 1.2831666760744744 │ 186085.01864704455 │ 6416.954012601242  │ 3.448402140134979   │ [ 'CBK3FNAM3C54674OSOCQLDNW4EXMNUY6ZO3C3ZI5S5DGBIIPX4GJ7WHW' ] │ 'https://xoxno.com/lending' │
│ 1       │ 'xoxno-lending-stellar-CBFNIHC2B7WMAH2CKNKQJOB3CWBUXXNNRQXYISJ7VZONM77YBMHCOULJ' │ 'Stellar' │ 'xoxno-lending' │ 'ETH'  │ 3296.2595974263795 │ 0.05948166159582619   │ 1.4088957158499005 │ 3469.7550985646667 │ 173.4955011382873  │ 5.000227749442014   │ [ 'CBFNIHC2B7WMAH2CKNKQJOB3CWBUXXNNRQXYISJ7VZONM77YBMHCOULJ' ] │ 'https://xoxno.com/lending' │
│ 2       │ 'xoxno-lending-stellar-CBIELTK6YBZJU5UP2WWQEUCYKLPU6AUNZ2BQ4WWFEIE3USCIHMXQDAMA' │ 'Stellar' │ 'xoxno-lending' │ 'USDC' │ 1010.296836148092  │ 0.0009094486988471988 │ 1.012433350250536  │ 1011.3112971092938 │ 1.0144610612619946 │ 0.10031145834459561 │ [ 'CBIELTK6YBZJU5UP2WWQEUCYKLPU6AUNZ2BQ4WWFEIE3USCIHMXQDAMA' ] │ 'https://xoxno.com/lending' │
│ 3       │ 'xoxno-lending-stellar-CAQCFVLOBK5GIULPNZRGATJJMIZL5BSP7X5YJVMGCPTUEPFM4AVSRCJU' │ 'Stellar' │ 'xoxno-lending' │ 'USDC' │ 555.4285171687268  │ 0                     │ 1.0043331094768297 │ 555.4285168684955  │ 0                  │ 0                   │ [ 'CAQCFVLOBK5GIULPNZRGATJJMIZL5BSP7X5YJVMGCPTUEPFM4AVSRCJU' ] │ 'https://xoxno.com/lending' │
│ 4       │ 'xoxno-lending-stellar-CDLZFC3SYJYDZT7K67VZ75HPJVIEUVNIXF47ZG2FB2RMQQVU2HHGCYSC' │ 'Stellar' │ 'xoxno-lending' │ 'XLM'  │ 380.6966703865482  │ 0.4174872561422485    │ 2.573761443722812  │ 471.668019293942   │ 90.97134901512798  │ 19.287156497171388  │ [ 'CDLZFC3SYJYDZT7K67VZ75HPJVIEUVNIXF47ZG2FB2RMQQVU2HHGCYSC' ] │ 'https://xoxno.com/lending' │
│ 5       │ 'xoxno-lending-stellar-CCUUDM434BMZMYWYDITHFXHDMIVTGGD6T2I5UKNX5BSLXLW7HVR4MCGZ' │ 'Stellar' │ 'xoxno-lending' │ 'EURC' │ 18.366261849559535 │ 0.6240241568756009    │ 2.9453630462717033 │ 24.106115239368958 │ 5.739853504598918  │ 23.81077832784871   │ [ 'CCUUDM434BMZMYWYDITHFXHDMIVTGGD6T2I5UKNX5BSLXLW7HVR4MCGZ' ] │ 'https://xoxno.com/lending' │
└─────────┴──────────────────────────────────────────────────────────────────────────────────┴───────────┴─────────────────┴────────┴────────────────────┴───────────────────────┴────────────────────┴────────────────────┴────────────────────┴─────────────────────┴────────────────────────────────────────────────────────────────┴─────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@mihaieremia mihaieremia force-pushed the codex/xoxno-lending-yields branch from 906795d to 18b20e9 Compare June 22, 2026 02:39
@github-actions

Copy link
Copy Markdown

Error while running xoxno-lending adapter:

Test Suites: 1 failed, 1 total
Tests: 2 failed, 51 passed, 53 total
Snapshots: 0 total
Time: 0.31 s
Ran all test suites.

Nb of pools: 6
 

Sample pools:
┌─────────┬──────────────────────────────────────────────────────────────────────────────────┬───────────┬─────────────────┬────────┬────────────────────┬─────────────────────┬────────────────────┬────────────────────┬───────────────────┬────────────────────────────────────────────────────────────────┬─────────────────────────────┐
│ (index) │ pool                                                                             │ chain     │ project         │ symbol │ tvlUsd             │ apyBase             │ apyBaseBorrow      │ totalSupplyUsd     │ totalBorrowUsd    │ underlyingTokens                                               │ url                         │
├─────────┼──────────────────────────────────────────────────────────────────────────────────┼───────────┼─────────────────┼────────┼────────────────────┼─────────────────────┼────────────────────┼────────────────────┼───────────────────┼────────────────────────────────────────────────────────────────┼─────────────────────────────┤
│ 0       │ 'xoxno-lending-stellar-CBK3FNAM3C54674OSOCQLDNW4EXMNUY6ZO3C3ZI5S5DGBIIPX4GJ7WHW' │ 'Stellar' │ 'xoxno-lending' │ 'BTC'  │ 187031.929192607   │ 0                   │ 1.0043331094768297 │ 187031.92274324637 │ 0                 │ [ 'CBK3FNAM3C54674OSOCQLDNW4EXMNUY6ZO3C3ZI5S5DGBIIPX4GJ7WHW' ] │ 'https://xoxno.com/lending' │
│ 1       │ 'xoxno-lending-stellar-CBFNIHC2B7WMAH2CKNKQJOB3CWBUXXNNRQXYISJ7VZONM77YBMHCOULJ' │ 'Stellar' │ 'xoxno-lending' │ 'ETH'  │ 3478.943904400585  │ 0                   │ 1.0043331094768297 │ 3478.943904400585  │ 0                 │ [ 'CBFNIHC2B7WMAH2CKNKQJOB3CWBUXXNNRQXYISJ7VZONM77YBMHCOULJ' ] │ 'https://xoxno.com/lending' │
│ 2       │ 'xoxno-lending-stellar-CBIELTK6YBZJU5UP2WWQEUCYKLPU6AUNZ2BQ4WWFEIE3USCIHMXQDAMA' │ 'Stellar' │ 'xoxno-lending' │ 'USDC' │ 1011.4012997695211 │ 0                   │ 1.0043331094768297 │ 1011.4012995693831 │ 0                 │ [ 'CBIELTK6YBZJU5UP2WWQEUCYKLPU6AUNZ2BQ4WWFEIE3USCIHMXQDAMA' ] │ 'https://xoxno.com/lending' │
│ 3       │ 'xoxno-lending-stellar-CDLZFC3SYJYDZT7K67VZ75HPJVIEUVNIXF47ZG2FB2RMQQVU2HHGCYSC' │ 'Stellar' │ 'xoxno-lending' │ 'XLM'  │ 556.9500119458722  │ 0.06676865042602805 │ 1.4467304473968157 │ 589.1583058020623  │ 32.20829398501221 │ [ 'CDLZFC3SYJYDZT7K67VZ75HPJVIEUVNIXF47ZG2FB2RMQQVU2HHGCYSC' ] │ 'https://xoxno.com/lending' │
│ 4       │ 'xoxno-lending-stellar-CAQCFVLOBK5GIULPNZRGATJJMIZL5BSP7X5YJVMGCPTUEPFM4AVSRCJU' │ 'Stellar' │ 'xoxno-lending' │ 'USDC' │ 555.4285171687268  │ 0                   │ 1.0043331094768297 │ 555.4285168684955  │ 0                 │ [ 'CAQCFVLOBK5GIULPNZRGATJJMIZL5BSP7X5YJVMGCPTUEPFM4AVSRCJU' ] │ 'https://xoxno.com/lending' │
│ 5       │ 'xoxno-lending-stellar-CCUUDM434BMZMYWYDITHFXHDMIVTGGD6T2I5UKNX5BSLXLW7HVR4MCGZ' │ 'Stellar' │ 'xoxno-lending' │ 'EURC' │ 24.099986731414695 │ 0                   │ 1.0043331094768297 │ 24.099986501898393 │ 0                 │ [ 'CCUUDM434BMZMYWYDITHFXHDMIVTGGD6T2I5UKNX5BSLXLW7HVR4MCGZ' ] │ 'https://xoxno.com/lending' │
└─────────┴──────────────────────────────────────────────────────────────────────────────────┴───────────┴─────────────────┴────────┴────────────────────┴─────────────────────┴────────────────────┴────────────────────┴───────────────────┴────────────────────────────────────────────────────────────────┴─────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@mihaieremia mihaieremia force-pushed the codex/xoxno-lending-yields branch from 18b20e9 to 909e58d Compare June 22, 2026 02:47
@mihaieremia

Copy link
Copy Markdown
Author

Update: the adapter now exports protocolId 8049, matching the XOXNO Lending listing branch. The remaining protocol-slug CI check depends on merging the DefiLlama server listing for xoxno-lending; until https://api.llama.fi/protocols includes that slug, yield-server CI will keep failing at the protocol registry assertion.

@github-actions

Copy link
Copy Markdown

Error while running xoxno-lending adapter:

Test Suites: 1 failed, 1 total
Tests: 2 failed, 51 passed, 53 total
Snapshots: 0 total
Time: 0.333 s
Ran all test suites.

Nb of pools: 6
 

Sample pools:
┌─────────┬──────────────────────────────────────────────────────────────────────────────────┬───────────┬─────────────────┬────────┬────────────────────────┬────────────────────┬────────────────────┬────────────────────────┬───────────────────┬────────────────────────────────────────────────────────────────┬─────────────────────────────┐
│ (index) │ pool                                                                             │ chain     │ project         │ symbol │ tvlUsd                 │ apyBase            │ apyBaseBorrow      │ totalSupplyUsd         │ totalBorrowUsd    │ underlyingTokens                                               │ url                         │
├─────────┼──────────────────────────────────────────────────────────────────────────────────┼───────────┼─────────────────┼────────┼────────────────────────┼────────────────────┼────────────────────┼────────────────────────┼───────────────────┼────────────────────────────────────────────────────────────────┼─────────────────────────────┤
│ 0       │ 'xoxno-lending-stellar-CDLZFC3SYJYDZT7K67VZ75HPJVIEUVNIXF47ZG2FB2RMQQVU2HHGCYSC' │ 'Stellar' │ 'xoxno-lending' │ 'XLM'  │ 193.2535369438418      │ 0.2603948820809201 │ 2.164540883403616  │ 225.46489419404696     │ 32.21135740051198 │ [ 'CDLZFC3SYJYDZT7K67VZ75HPJVIEUVNIXF47ZG2FB2RMQQVU2HHGCYSC' ] │ 'https://xoxno.com/lending' │
│ 1       │ 'xoxno-lending-stellar-CBK3FNAM3C54674OSOCQLDNW4EXMNUY6ZO3C3ZI5S5DGBIIPX4GJ7WHW' │ 'Stellar' │ 'xoxno-lending' │ 'BTC'  │ 0.07736263729552484    │ 0                  │ 1.0043331094768297 │ 0.07091575085423112    │ 0                 │ [ 'CBK3FNAM3C54674OSOCQLDNW4EXMNUY6ZO3C3ZI5S5DGBIIPX4GJ7WHW' ] │ 'https://xoxno.com/lending' │
│ 2       │ 'xoxno-lending-stellar-CBIELTK6YBZJU5UP2WWQEUCYKLPU6AUNZ2BQ4WWFEIE3USCIHMXQDAMA' │ 'Stellar' │ 'xoxno-lending' │ 'USDC' │ 0.05341697461281471    │ 0                  │ 1.0043331094768297 │ 0.05341667447642183    │ 0                 │ [ 'CBIELTK6YBZJU5UP2WWQEUCYKLPU6AUNZ2BQ4WWFEIE3USCIHMXQDAMA' ] │ 'https://xoxno.com/lending' │
│ 3       │ 'xoxno-lending-stellar-CBFNIHC2B7WMAH2CKNKQJOB3CWBUXXNNRQXYISJ7VZONM77YBMHCOULJ' │ 'Stellar' │ 'xoxno-lending' │ 'ETH'  │ 0.0024363588216484403  │ 0                  │ 1.0043331094768297 │ 0.002262333191530695   │ 0                 │ [ 'CBFNIHC2B7WMAH2CKNKQJOB3CWBUXXNNRQXYISJ7VZONM77YBMHCOULJ' ] │ 'https://xoxno.com/lending' │
│ 4       │ 'xoxno-lending-stellar-CAQCFVLOBK5GIULPNZRGATJJMIZL5BSP7X5YJVMGCPTUEPFM4AVSRCJU' │ 'Stellar' │ 'xoxno-lending' │ 'USDC' │ 0.0003230468041975377  │ 0                  │ 1.0043331094768297 │ 0.00032274666780466286 │ 0                 │ [ 'CAQCFVLOBK5GIULPNZRGATJJMIZL5BSP7X5YJVMGCPTUEPFM4AVSRCJU' ] │ 'https://xoxno.com/lending' │
│ 5       │ 'xoxno-lending-stellar-CCUUDM434BMZMYWYDITHFXHDMIVTGGD6T2I5UKNX5BSLXLW7HVR4MCGZ' │ 'Stellar' │ 'xoxno-lending' │ 'EURC' │ 0.00008412875953033795 │ 0                  │ 1.0043331094768297 │ 0.00008389921311961396 │ 0                 │ [ 'CCUUDM434BMZMYWYDITHFXHDMIVTGGD6T2I5UKNX5BSLXLW7HVR4MCGZ' ] │ 'https://xoxno.com/lending' │
└─────────┴──────────────────────────────────────────────────────────────────────────────────┴───────────┴─────────────────┴────────┴────────────────────────┴────────────────────┴────────────────────┴────────────────────────┴───────────────────┴────────────────────────────────────────────────────────────────┴─────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@mihaieremia mihaieremia force-pushed the codex/xoxno-lending-yields branch from 909e58d to 7e7d2a4 Compare June 22, 2026 03:00
@github-actions

Copy link
Copy Markdown

Error while running xoxno-lending adapter:

Test Suites: 1 failed, 1 total
Tests: 2 failed, 51 passed, 53 total
Snapshots: 0 total
Time: 0.343 s
Ran all test suites.

Nb of pools: 6
 

Sample pools:
┌─────────┬──────────────────────────────────────────────────────────────────────────────────┬───────────┬─────────────────┬────────┬────────────────────────┬─────────┬────────────────────┬────────────────────────┬────────────────┬────────────────────────────────────────────────────────────────┬──────────────────────────────────┐
│ (index) │ pool                                                                             │ chain     │ project         │ symbol │ tvlUsd                 │ apyBase │ apyBaseBorrow      │ totalSupplyUsd         │ totalBorrowUsd │ underlyingTokens                                               │ url                              │
├─────────┼──────────────────────────────────────────────────────────────────────────────────┼───────────┼─────────────────┼────────┼────────────────────────┼─────────┼────────────────────┼────────────────────────┼────────────────┼────────────────────────────────────────────────────────────────┼──────────────────────────────────┤
│ 0       │ 'xoxno-lending-stellar-CBK3FNAM3C54674OSOCQLDNW4EXMNUY6ZO3C3ZI5S5DGBIIPX4GJ7WHW' │ 'Stellar' │ 'xoxno-lending' │ 'BTC'  │ 0.006444179389484271   │ 0       │ 1.0043331094768297 │ 0                      │ 0              │ [ 'CBK3FNAM3C54674OSOCQLDNW4EXMNUY6ZO3C3ZI5S5DGBIIPX4GJ7WHW' ] │ 'https://xoxno.com/defi/lending' │
│ 1       │ 'xoxno-lending-stellar-CAQCFVLOBK5GIULPNZRGATJJMIZL5BSP7X5YJVMGCPTUEPFM4AVSRCJU' │ 'Stellar' │ 'xoxno-lending' │ 'USDC' │ 0.0003230468041975377  │ 0       │ 1.0043331094768297 │ 0.00032274666780466286 │ 0              │ [ 'CAQCFVLOBK5GIULPNZRGATJJMIZL5BSP7X5YJVMGCPTUEPFM4AVSRCJU' ] │ 'https://xoxno.com/defi/lending' │
│ 2       │ 'xoxno-lending-stellar-CBFNIHC2B7WMAH2CKNKQJOB3CWBUXXNNRQXYISJ7VZONM77YBMHCOULJ' │ 'Stellar' │ 'xoxno-lending' │ 'ETH'  │ 0.00017403410429247404 │ 0       │ 1.0043331094768297 │ 0                      │ 0              │ [ 'CBFNIHC2B7WMAH2CKNKQJOB3CWBUXXNNRQXYISJ7VZONM77YBMHCOULJ' ] │ 'https://xoxno.com/defi/lending' │
│ 3       │ 'xoxno-lending-stellar-CBIELTK6YBZJU5UP2WWQEUCYKLPU6AUNZ2BQ4WWFEIE3USCIHMXQDAMA' │ 'Stellar' │ 'xoxno-lending' │ 'USDC' │ 3.00135650165172e-7    │ 0       │ 1.0043331094768297 │ 0                      │ 0              │ [ 'CBIELTK6YBZJU5UP2WWQEUCYKLPU6AUNZ2BQ4WWFEIE3USCIHMXQDAMA' ] │ 'https://xoxno.com/defi/lending' │
│ 4       │ 'xoxno-lending-stellar-CCUUDM434BMZMYWYDITHFXHDMIVTGGD6T2I5UKNX5BSLXLW7HVR4MCGZ' │ 'Stellar' │ 'xoxno-lending' │ 'EURC' │ 2.29555070040178e-7    │ 0       │ 1.0043331094768297 │ 0                      │ 0              │ [ 'CCUUDM434BMZMYWYDITHFXHDMIVTGGD6T2I5UKNX5BSLXLW7HVR4MCGZ' ] │ 'https://xoxno.com/defi/lending' │
│ 5       │ 'xoxno-lending-stellar-CDLZFC3SYJYDZT7K67VZ75HPJVIEUVNIXF47ZG2FB2RMQQVU2HHGCYSC' │ 'Stellar' │ 'xoxno-lending' │ 'XLM'  │ 2.1448880249541997e-7  │ 0       │ 1.0043331094768297 │ 2.1448880249541998e-8  │ 0              │ [ 'CDLZFC3SYJYDZT7K67VZ75HPJVIEUVNIXF47ZG2FB2RMQQVU2HHGCYSC' ] │ 'https://xoxno.com/defi/lending' │
└─────────┴──────────────────────────────────────────────────────────────────────────────────┴───────────┴─────────────────┴────────┴────────────────────────┴─────────┴────────────────────┴────────────────────────┴────────────────┴────────────────────────────────────────────────────────────────┴──────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

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