Skip to content

Commit

Permalink
Add dtx vault address and minor fix (#9677)
Browse files Browse the repository at this point in the history
* chore: add dtx vault address

* minor fix

---------

Co-authored-by: dtx-devs <[email protected]>
  • Loading branch information
g1nt0ki and dtx-devs authored Apr 3, 2024
1 parent ae98796 commit bcad826
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions projects/dtx/index.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
const { sumERC4626VaultsExport } = require("../helper/erc4626")
const sdk = require('@defillama/sdk')
const { sumTokensExport } = require('../helper/unwrapLPs')
const ADDRESSES = require('../helper/coreAssets.json')

const vaultTvl = sumERC4626VaultsExport({
vaults: [
"0x56e0f6DF03883611C9762e78d4091E39aD9c420E",
"0x3D4621fa5ff784dfB2fcDFd5B293224167F239db",
"0xe97D34E531E1b299047A94Fc6854289830362d8f",
"0xBa95FCe6c2683C29bD963dd201CA8ee8f3605801",
"0x037A168876d3027b1384FD1752fEAa52407726dB",
"0x3031F6c8958Cf093377c11b3871BD23AEA5e5865",
],
isOG4626: true,
})

const otherTvl = sumTokensExport({ tokens: [ADDRESSES.blast.USDB, ADDRESSES.blast.WETH], owners: ['0x9AdF2b330697C6816176491E1fd5503BB746d1d8', '0x0E5b7DDbF37d92B21512Ae5A6CE66aEfA7A7828F']})

module.exports = {
blast: {
tvl: sumERC4626VaultsExport({
vaults: [
"0x56e0f6DF03883611C9762e78d4091E39aD9c420E",
"0x3D4621fa5ff784dfB2fcDFd5B293224167F239db",
"0xe97D34E531E1b299047A94Fc6854289830362d8f",
"0xBa95FCe6c2683C29bD963dd201CA8ee8f3605801",
"0x037A168876d3027b1384FD1752fEAa52407726dB",
],
isOG4626: true,
}),
tvl: sdk.util.sumChainTvls([vaultTvl, otherTvl]),
},
}

0 comments on commit bcad826

Please sign in to comment.