Skip to content

Commit

Permalink
track new protocols DefiLlama#11772
Browse files Browse the repository at this point in the history
  • Loading branch information
g1nt0ki authored and tlatkdgus1 committed Nov 25, 2024
1 parent 1e0e51e commit a6fe979
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
7 changes: 7 additions & 0 deletions projects/metavault-amm-v2/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

const { uniTvlExports } = require("../helper/unknownTokens");

module.exports = uniTvlExports({
scroll: '0xCc570Ec20eCB62cd9589FA33724514BDBc98DC7E',
linea: '0xCc570Ec20eCB62cd9589FA33724514BDBc98DC7E',
})
14 changes: 14 additions & 0 deletions projects/quickswap-hydra/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const config = {
polygon_zkevm: '0x14c8FEA10fdc2d1357410f473e2CAa035a872517',
manta: '0x443Cf165B72e4b4331C0101A10553269972Ed4B8'
}

Object.keys(config).forEach(chain => {
const target = config[chain]
module.exports[chain] = {
tvl: async (api) => {
const tokens= await api.call({ abi: 'address[]:getAssetList', target})
return api.sumTokens({ owner: target, tokens })
}
}
})

0 comments on commit a6fe979

Please sign in to comment.