Skip to content

Commit 17d0f4d

Browse files
authored
fiux my repo (DefiLlama#12900)
2 parents 65047ed + 5c28303 commit 17d0f4d

File tree

1 file changed

+7
-21
lines changed

1 file changed

+7
-21
lines changed

projects/zeebu/index.js

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,12 @@ const ZBU_ADDRESSES = {
1313
bsc: '0x4D3dc895a9EDb234DfA3e303A196c009dC918f84',
1414
};
1515

16-
const lpTokens = [
17-
'0xC3889F9764d68BDF2e16f237206746344172A147'
18-
];
1916

20-
const stackingcontract = [
21-
'0x45dd22aCe398002b34cB37b363B2F02C7dd47842'
22-
];
17+
Object.keys(VOTING_ESCROW_ADDRESSES).forEach(chain => {
18+
module.exports[chain] = {
19+
tvl: () => ({}),
20+
staking: staking(VOTING_ESCROW_ADDRESSES[chain], ZBU_ADDRESSES[chain])
21+
}
22+
})
2323

24-
module.exports = {
25-
ethereum: {
26-
staking: stakings([VOTING_ESCROW_ADDRESSES["ethereum"]], ZBU_ADDRESSES["ethereum"]),
27-
tvl: () => ({})
28-
},
29-
base: {
30-
staking: stakings([VOTING_ESCROW_ADDRESSES["base"]], ZBU_ADDRESSES["base"]),
31-
pool2: pool2s(stackingcontract, lpTokens),
32-
},
33-
bsc: {
34-
staking: stakings([VOTING_ESCROW_ADDRESSES["bsc"]], ZBU_ADDRESSES["bsc"]),
35-
},
36-
methodology:
37-
'Counts ZBU tokens locked in Voting Escrow contracts across Ethereum, Base, and BSC.',
38-
};
24+
module.exports.base.pool2 = staking('0x45dd22aCe398002b34cB37b363B2F02C7dd47842', '0xC3889F9764d68BDF2e16f237206746344172A147')

0 commit comments

Comments
 (0)