Skip to content

Commit

Permalink
track bitgenie dex
Browse files Browse the repository at this point in the history
  • Loading branch information
g1nt0ki committed May 8, 2024
1 parent 1dae981 commit 0391ece
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions projects/bitgenie-dex/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
const { uniTvlExport } = require('../helper/unknownTokens')

module.exports = uniTvlExport('merlin', '0xEa51E2E458aE7Cb921d47fC463Ac4fED7ae65a41')
7 changes: 3 additions & 4 deletions projects/bitgenie/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const stakingContracts = [
"0x63C8860e93697dB85716C9ee7F15D09EAC62136C",
"0x19a0D0b1734bdB167D393e7BB7a57418e3a8cCA8",
"0x1DBa95577DFe76d8e86af00aEB614479cb7917D2",
"0xC795A8D5f83F5A172f606AC2516276Ee7DF63407"
"0xC795A8D5f83F5A172f606AC2516276Ee7DF63407",
];


Expand All @@ -18,7 +18,6 @@ module.exports = {
}

async function tvl(api) {
const tokens = await api.multiCall({ abi: 'address:stakeToken', calls: stakingContracts})
return api.sumTokens({ tokensAndOwners2: [tokens, stakingContracts]})

const tokens = await api.multiCall({ abi: 'address:stakeToken', calls: stakingContracts })
return api.sumTokens({ tokensAndOwners2: [tokens, stakingContracts] })
}

0 comments on commit 0391ece

Please sign in to comment.