Skip to content

Commit 20ae167

Browse files
feat: add initial implementation for hits4fun adapter
1 parent 6836381 commit 20ae167

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

projects/hits4fun/index.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
const { sumTokens2 } = require('../helper/unwrapLPs')
2+
3+
const ADDRESSES = require('../helper/coreAssets.json')
4+
5+
const VAULT_ADDRESS = '0xDcC2BDbEE24813a4000Afd58252a462ff226bFA1'
6+
7+
module.exports.base = {
8+
tvl: async (api) => {
9+
return sumTokens2({
10+
api,
11+
tokens: [
12+
ADDRESSES.null, // Native token
13+
],
14+
owners: [
15+
VAULT_ADDRESS,
16+
]
17+
})
18+
}
19+
}

0 commit comments

Comments
 (0)