Skip to content

Commit d12c704

Browse files
g1nt0kiskords
andauthored
Avantis (DefiLlama#8875)
* add avantis * add avantis tvl * Refactor TVL calculation in AvantisFi index.js --------- Co-authored-by: skords <[email protected]>
1 parent f4ab5b2 commit d12c704

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

projects/avantisfi/index.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
const { sumTokensExport } = require('../helper/unwrapLPs')
2+
const ADDRESSES = require('../helper/coreAssets.json')
3+
const owners = [
4+
"0xe9fB8C70aF1b99F2Baaa07Aa926FCf3d237348DD", // vault manager
5+
"0x83084cb182162473d6feffcd3aa48ba55a7b66f7", // senior tranche
6+
"0x944766f715b51967e56afde5f0aa76ceacc9e7f9", // junior tranche
7+
]
8+
9+
module.exports = {
10+
methodology: 'counts the number of USDC tokens in the Avantis contract.',
11+
base: {
12+
tvl: sumTokensExport({ owners, tokens: [ADDRESSES.base.USDC] })
13+
}
14+
};

0 commit comments

Comments
 (0)