Skip to content

Commit

Permalink
Merge pull request DefiLlama#3483 from hubble-exchange/main
Browse files Browse the repository at this point in the history
Hubble Exchange TVL
  • Loading branch information
g1nt0ki authored Aug 8, 2022
2 parents 33c8c97 + a0f1af1 commit 68783f8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions projects/hubble-exchange/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
const { sumTokens2 } = require('../helper/unwrapLPs')
const chain = 'avax'
const toa = [
['0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e', '0x5c6fc0aaf35a55e7a43fff45575380bcedb5cbc2'], // USDC used for HUSD minting
['0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7', '0x7648675ca85dfb9e2f9c764ebc5e9661ef46055d'], // AVAX used as collateral
]

module.exports = {
avax: {
tvl: async (_, _b, { [chain]: block }) => sumTokens2({ tokensAndOwners: toa, chain, block, })
}
}

0 comments on commit 68783f8

Please sign in to comment.