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

update StakeStone Berachain Vault #13005

Merged
merged 4 commits into from
Jan 8, 2025
Merged

Conversation

stakestone-scdev
Copy link
Contributor

@llamabutler
Copy link

The adapter at projects/stakestone-berastone exports TVL:

ethereum                  388.85 M

total                    388.85 M 

@llamabutler
Copy link

The adapter at projects/stakestone-berastone exports TVL:

ethereum                  368.16 M

total                    368.16 M 

@llamabutler
Copy link

The adapter at projects/stakestone-berastone exports TVL:

ethereum                  368.56 M

total                    368.56 M 

const usedTVL = await api.call({ abi: vaultABI.assetsBorrowed, target: Vault })
const tvl = async (api) => {
// to include assets moved to boyco vault
const usedTVL = await api.call({ abi: vaultABI.assetsBorrowed, target: ETHVault })
Copy link
Member

Choose a reason for hiding this comment

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

I see that the vault has WETH & STONE, which asset will be moved to boyco vault?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Both. When weth and stone are moved to boyco, assetsBorrowed will increase, and stone is calculated according to the exchange rate

Copy link
Member

Choose a reason for hiding this comment

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

hmm, counting it as stone to be safe. We are excluding STONE & SBTC value here from parent tvl (as backing of these are already counted as tvl under other sublistings)

@g1nt0ki g1nt0ki self-assigned this Jan 7, 2025
@llamabutler
Copy link

The adapter at projects/stakestone-berastone exports TVL:

ethereum                  365.05 M

total                    365.05 M 

@g1nt0ki g1nt0ki merged commit a88f5c1 into DefiLlama:main Jan 8, 2025
1 check passed
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