Skip to content

Commit 2523ed3

Browse files
refactor: restructure module exports for hits4fun adapter
1 parent 20ae167 commit 2523ed3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

projects/hits4fun/index.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ const ADDRESSES = require('../helper/coreAssets.json')
44

55
const VAULT_ADDRESS = '0xDcC2BDbEE24813a4000Afd58252a462ff226bFA1'
66

7-
module.exports.base = {
8-
tvl: async (api) => {
7+
module.exports = {
8+
methodology: 'Counts the number of ETH in the vault',
9+
start: 1751443965, // Wed Jul 02 2025 08:12:45 GMT+0000
10+
bsc: {
11+
tvl: async (api) => {
912
return sumTokens2({
1013
api,
1114
tokens: [
@@ -16,4 +19,5 @@ module.exports.base = {
1619
]
1720
})
1821
}
22+
}
1923
}

0 commit comments

Comments
 (0)