Skip to content

Commit 49d29fa

Browse files
authored
feat(silo-v2): ethereum deployment support (DefiLlama#15174)
1 parent d67784b commit 49d29fa

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

projects/silo-v2/index.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,15 @@ const configV2 = {
2424
SILO_FACTORY: '0x384DC7759d35313F0b567D42bf2f611B285B657C', // Silo V2 Arbitrum (Main)
2525
}
2626
]
27-
}
27+
},
28+
ethereum: {
29+
factories: [
30+
{
31+
START_BLOCK: 22616413,
32+
SILO_FACTORY: '0x22a3cF6149bFa611bAFc89Fd721918EC3Cf7b581', // Silo V2 Ethereum (Main)
33+
}
34+
]
35+
},
2836
}
2937

3038
async function tvl(api) {
@@ -101,8 +109,8 @@ async function getSilosV2(api) {
101109

102110
module.exports = {
103111
methodology: `We calculate TVL by interacting with Silo Factory smart contracts on Ethereum, Arbitrum, Base & Optimism. For Ethereum, it queries Silo(Main-V2)(0xa42001d6d2237d2c74108fe360403c4b796b7170). On Arbitrum, we query the Silo Arbitrum factory (Main-V2)(0xf7dc975C96B434D436b9bF45E7a45c95F0521442), we query the factories to obtain the addresses of Silos, retrieve the assets of each Silo, and then calculate the sum of the deposited tokens, borrowed amounts are calculated separately from TVL.`,
104-
// ethereum: { tvl, borrowed, },
105112
arbitrum: { tvl, borrowed, },
113+
ethereum: { tvl, borrowed, },
106114
// optimism: { tvl, borrowed, },
107115
// base: { tvl, borrowed, },
108116
sonic: { tvl, borrowed, },

0 commit comments

Comments
 (0)