Skip to content

Conversation

@AntipasBen23
Copy link
Contributor

Problem
The DeFi Llama price API endpoint was returning empty results for the nDEPS token (Native Decentralized Euro Protocol Share):

Token address: 0xc71104001a3ccda1bef1177d765831bd1bfe8ee6 (Ethereum)
API response: {"coins":{}}
This was causing incorrect TVL calculations for the dEURO protocol

Solution
Added nDEPS to the manualInput adapter with a redirect to its CoinGecko listing. This allows the price API to fetch current price data from CoinGecko.
Changes

File: coins/src/adapters/other/manualInput.ts
Change: Added nDEPS token entry to the ethereum array with:

Symbol: nDEPS
Address: 0xc71104001a3ccda1bef1177d765831bd1bfe8ee6
Decimals: 18
Redirect: coingecko#native-decentralized-euro-protocol-share

Verification

  • Token exists and is active on CoinGecko
  • Contract verified on Etherscan
  • Token has 18 decimals (standard ERC-20)
  • Follows the same pattern used for other tokens in the file (GHO, eETH, etc.)
  • TypeScript compilation shows no syntax errors in the modified file

Note
The established pattern used successfully for 20+ other tokens in the same adapter file, making it a low-risk configuration change.
Impact
This fix will restore price data for the nDEPS token and resolve the TVL calculation issues for the dEURO protocol adapter.
Fixes #9832

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.

Price API no longer returns data for nDEPS token

1 participant