Skip to content

Commit 660a52d

Browse files
0xCatalystnoateden
andauthored
feat: add Neverland protocol adapter (#17018)
Co-authored-by: Eden <[email protected]>
1 parent a20fa18 commit 660a52d

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

projects/neverland/index.js

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
const { aaveV3Export } = require("../helper/aave");
2+
const { sumTokens2 } = require("../helper/unwrapLPs");
3+
4+
// Neverland Money - Aave V3-based lending protocol on Monad with vote-escrow tokenomics
5+
// Docs: https://docs.neverland.money
6+
7+
const CONTRACTS = {
8+
monad: {
9+
poolDataProvider: '0xfd0b6b6F736376F7B99ee989c749007c7757fDba',
10+
dust: '0xAD96C3dffCD6374294e2573A7fBBA96097CC8d7c',
11+
dustLock: '0xBB4738D05AD1b3Da57a4881baE62Ce9bb1eEeD6C',
12+
},
13+
};
14+
15+
const aaveConfig = {
16+
monad: [CONTRACTS.monad.poolDataProvider],
17+
};
18+
19+
const aaveExports = aaveV3Export(aaveConfig);
20+
21+
async function staking(api) {
22+
const chain = api.chain;
23+
const contracts = CONTRACTS[chain];
24+
25+
if (!contracts) return {};
26+
27+
return sumTokens2({
28+
api,
29+
owner: contracts.dustLock,
30+
tokens: [contracts.dust],
31+
});
32+
}
33+
34+
module.exports = {
35+
methodology: "TVL includes Aave V3 lending pools. Staking tracks DUST locked in veDUST for governance and incentives. Borrowed amounts track debt across all lending markets.",
36+
monad: {
37+
tvl: aaveExports.monad.tvl,
38+
borrowed: aaveExports.monad.borrowed,
39+
staking,
40+
},
41+
};

0 commit comments

Comments
 (0)