Skip to content

Commit 1e58918

Browse files
calebryancalebryan
andauthored
track LinqAI tvl (DefiLlama#12418)
Co-authored-by: calebryan <[email protected]>
1 parent a914c79 commit 1e58918

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

projects/linqai/index.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
const stakingPools = [
2+
"0x786d0536B63f3638bcD17897A98B066D901C27b8",
3+
"0xCB5Dc61Cc672761Ec049dd9349745b418580BC83",
4+
];
5+
6+
const rewardToken = "0xD4F4D0a10BcaE123bB6655E8Fe93a30d01eEbD04"; // LNQ
7+
8+
module.exports = {
9+
ethereum: {
10+
tvl: async () => ({}),
11+
staking: async (api) => {
12+
const stakingData = stakingPools.map((poolAddress) => [rewardToken, poolAddress]);
13+
return api.sumTokens({
14+
tokensAndOwners: stakingData,
15+
});
16+
},
17+
},
18+
};
19+

0 commit comments

Comments
 (0)