Skip to content

feat: add TVL adapter for Ethereum (ETH) token #14521

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from

Conversation

ethdropverse
Copy link

This PR adds a TVL adapter for the custom Ethereum (ETH) token.

✅ Verified on Etherscan
✅ Paired with WETH in Uniswap V3
✅ Active liquidity

Thank you!

This commit adds a TVL adapter for the custom Ethereum (ETH) token, verified on Etherscan and paired with WETH in a Uniswap V3 pool.

module.exports = {
ethereum: {
tvl: sumTokensExport({
Copy link
Collaborator

Choose a reason for hiding this comment

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

please use tvl: () => ({}) and export this TVL function as pool2

Copy link
Author

Choose a reason for hiding this comment

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

✅ Switched tvl to pool2 as requested. Let me know if there’s anything else needed. Thanks again for reviewing!

Copy link
Collaborator

Choose a reason for hiding this comment

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

will also require a tvl: () => ({}) export

Copy link
Author

Choose a reason for hiding this comment

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

Updated as requested: renamed tvl to pool2 and added the empty tvl: () => ({}) export. Let me know if there's anything else. Thanks again!

@waynebruce0x waynebruce0x self-assigned this May 5, 2025
@llamabutler
Copy link

Error while running adapter at projects/projects:

Error: Cannot find module '/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/projects/projects'
Require stack:
- /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js
Truncated error stack:

    at /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:127:12
    at Object.<anonymous> (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:265:3)
Error saving cache: Error: ENOENT: no such file or directory, open '/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/node_modules/@defillama/sdk/build/util/local_cache/zlib-1.0/BlockCache.json'

@waynebruce0x
Copy link
Collaborator

could you change the file path to projects/[name]/index.js please

@noateden
Copy link
Contributor

This token is reported scam on Etherscan, I will close it now.

@noateden noateden closed this May 31, 2025
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.

4 participants