Skip to content

Commit

Permalink
ether-fi: add vaults #11357
Browse files Browse the repository at this point in the history
  • Loading branch information
g1nt0ki committed Aug 21, 2024
1 parent 77f2170 commit 18e2c08
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions projects/etherfi-lrt/index.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
const ADDRESSES = require('../helper/coreAssets.json');
const sdk = require('@defillama/sdk');

async function tvl(api) {
const balETH2 = await api.call({
abi: "uint256:totalSupply",
target: '0x917ceE801a67f933F2e6b33fC0cD1ED2d5909D88',
});
api.add(ADDRESSES.ethereum.EETH, BigInt(balETH2));
}
const { sumTokensExport } = require('../helper/unwrapLPs');
const vaults = [
'0x917ceE801a67f933F2e6b33fC0cD1ED2d5909D88',
'0x7223442cad8e9cA474fC40109ab981608F8c4273',
'0x657e8C867D8B37dCC18fA4Caead9C45EB088C642',
]

module.exports = {
doublecounted: true,
ethereum: {
tvl,
tvl: sumTokensExport({ owners: vaults, fetchCoValentTokens: true, tokenConfig: {
onlyWhitelisted: false,
}}),
},
};
}

0 comments on commit 18e2c08

Please sign in to comment.