Skip to content

Commit

Permalink
liquid restaking vaults
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwi0401 committed Jun 28, 2024
1 parent c5a872c commit 1366e52
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions projects/affine-defi-liquid/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
const ADDRESSES = require('../helper/coreAssets.json')

async function tvl(api) {
const balETHSymbioticVault = await api.call({
abi: "uint256:totalAssets",
target: '0x0D53bc2BA508dFdf47084d511F13Bb2eb3f8317B',
});

api.add(ADDRESSES.ethereum.WSTETH, balETHSymbioticVault)


const balETHEigenLayerVault = await api.call({
abi: "uint256:totalAssets",
target: '0x47657094e3AF11c47d5eF4D3598A1536B394EEc4',
});

api.add(ADDRESSES.ethereum.WSTETH, balETHEigenLayerVault)
}

module.exports = {
doublecounted: true,
ethereum: {
tvl,
},
};

0 comments on commit 1366e52

Please sign in to comment.