-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Conversation
The adapter at projects/stakestone-berastone exports TVL:
|
The adapter at projects/stakestone-berastone exports TVL:
|
The adapter at projects/stakestone-berastone exports TVL:
|
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 }) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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)
The adapter at projects/stakestone-berastone exports TVL:
|
Update StakeStone Berachain Vault (add BTC Vault)
References: