Skip to content

Commit 777101c

Browse files
authored
feat(fluid): support weETHs balance deposited to Zircuit (DefiLlama#11465)
1 parent cdc97b1 commit 777101c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

projects/fluid/index.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const config = {
1818
},
1919
weETH: "0xcd5fe23c85820f7b72d0926fc9b05b43e359b7ee",
2020
zircuit: "0xF047ab4c75cebf0eB9ed34Ae2c186f3611aEAfa6",
21+
weETHs: "0x917ceE801a67f933F2e6b33fC0cD1ED2d5909D88",
2122
},
2223
arbitrum: {
2324
liquidityResolver: (block) => "0x46859d33E662d4bF18eEED88f74C36256E606e44",
@@ -48,6 +49,15 @@ async function tvl(api) {
4849
params: [config.ethereum.weETH, config.liquidity],
4950
})
5051
);
52+
// add WeETHs deployed to Zircuit
53+
api.add(
54+
config.ethereum.weETHs,
55+
await api.call({
56+
target: config.ethereum.zircuit,
57+
abi: "function balance(address, address) public view returns (uint256 balance)",
58+
params: [config.ethereum.weETHs, config.liquidity],
59+
})
60+
);
5161
}
5262

5363
return api.sumTokens({

0 commit comments

Comments
 (0)