Skip to content
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

add staking TVL to zunami #10660

Merged
merged 2 commits into from
Jun 15, 2024
Merged

Conversation

fextr
Copy link
Contributor

@fextr fextr commented Jun 15, 2024

No description provided.

@llamatester
Copy link

The adapter at projects/zunami exports TVL:

ethereum                  2.48 M

total                    2.48 M 

api.add(ADDRESSES.ethereum.WETH, await api.call({ abi: poolAbi.totalHoldings, target: zunETH, }))
api.add(ADDRESSES.ethereum.WETH, await api.call({ abi: poolAbi.totalHoldings, target: zunETHAps, }))
api.add(ZUN, await api.call({ abi: stakingAbi.totalSupply, target: zunStaking, }))
api.add(ADDRESSES.ethereum.DAI, await getApsStakingTvl(api, zunUSDApsStaking, zunUSDApsController))
Copy link
Member

Choose a reason for hiding this comment

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

we are already counting of tokens backing these tokens as tvl right?

Copy link
Contributor Author

@fextr fextr Jun 16, 2024

Choose a reason for hiding this comment

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

@g1nt0ki Yes. Can we take them into account in TVL?
At least in staking section

@llamatester
Copy link

The adapter at projects/zunami exports TVL:

ethereum                  1.99 M
ethereum-staking          185.58 k
staking                   185.58 k

total                    1.99 M 

@g1nt0ki g1nt0ki merged commit 5e39ab7 into DefiLlama:main Jun 15, 2024
1 check passed
@fextr fextr deleted the add-staking-tvl-to-zunami branch June 19, 2024 12:18
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