Skip to content

Conversation

DVendy
Copy link
Contributor

@DVendy DVendy commented Oct 19, 2025

We want to add TVL for our new token eU to our existing Escher project

@llamabutler
Copy link

The adapter at projects/escher exports TVL:

ethereum                  3.80 M
babylon                   2.05 M

total                    5.85 M 

@llamabutler
Copy link

The adapter at projects/escher exports TVL:

ethereum                  3.80 M
babylon                   2.05 M

total                    5.85 M 

@DVendy DVendy marked this pull request as ready for review October 19, 2025 10:44
}

async function eUTVL(api) {
const lcd = 'https://rest.union.build';
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 our SDK for EVM TVLs. Maybe use staking() from our helpers. Also since this is your own token, please export this as staking rather than tvl and use tvl: () => ({})

Copy link
Contributor Author

@DVendy DVendy Oct 21, 2025

Choose a reason for hiding this comment

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

hi @waynebruce0x thanks for the response. As for this initially we wanted to list it under union chain but it's not there yet so we listed under ethereum since our token currently only lives in ethereum.
Can you add the union chain? that way we can query using cosmos helper just like our eBABY
https://union.build/

Copy link
Collaborator

Choose a reason for hiding this comment

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

you should add 'union' to chains.json and then export a balance of either ethereum:0xba5ed44733953d79717f6269357c77718c8ba5ed or coingecko:union-2 under tvl.union

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hi @waynebruce0x I've updated the code with :

  • added union chain to chain.js
  • tvl now uses cosmos sdk rather than fetching to rest
  • use union coingecko string as balance

I noticed that the build is failing, but it's not from our project folder

@waynebruce0x waynebruce0x self-assigned this Oct 20, 2025
@DVendy DVendy marked this pull request as draft October 20, 2025 13:30
@llamabutler
Copy link

The adapter at projects/escher exports TVL:

ethereum                  3.38 M
babylon                   2.01 M

total                    5.39 M 

@llamabutler
Copy link

The adapter at projects/escher exports TVL:

union                     3.36 M
babylon                   2.00 M

total                    5.35 M 

@llamabutler
Copy link

The adapter at projects/escher exports TVL:

union                     3.36 M
babylon                   2.00 M

total                    5.35 M 

@DVendy DVendy marked this pull request as ready for review October 22, 2025 09:26
@waynebruce0x
Copy link
Collaborator

oh yeah good catch

@waynebruce0x
Copy link
Collaborator

https://lite-api.jup.ag/tokens/v2/tag?query=verified

has 0 price for this asset

@DVendy
Copy link
Contributor Author

DVendy commented Oct 22, 2025

@waynebruce0x is there anything else I need to change?

@waynebruce0x
Copy link
Collaborator

Is there any other way we can price it?

@DVendy
Copy link
Contributor Author

DVendy commented Oct 22, 2025

oh you mean the price of eU? this is a liquidstaking token and it's not listed yet on coingecko.
But the TVL is calculated by the amount of delegated U token in each validator. As for eBABY, it is calculated by the amount of staked BABY. So that the price is based on it's native (union & baby)

cc @ohadbachner

@waynebruce0x
Copy link
Collaborator

sorry those comments above were confusing

@llamabutler
Copy link

The adapter at projects/escher exports TVL:

union                     3.33 M
babylon                   2.03 M

total                    5.36 M 

@waynebruce0x waynebruce0x merged commit 1ab3acd into DefiLlama:main Oct 22, 2025
0 of 2 checks passed
@DVendy
Copy link
Contributor Author

DVendy commented Oct 23, 2025

thanks @waynebruce0x !

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.

3 participants