Skip to content

Commit

Permalink
Add DotDot Adapter
Browse files Browse the repository at this point in the history
Will need to be move to a proper adapter but difficult as a lot of missing prices
  • Loading branch information
Llama0x authored Apr 24, 2022
1 parent ed413ae commit aad53ee
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions projects/dotdot/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
const utils = require('../helper/utils');
const {toUSDTBalances} = require('../helper/balances');
const sdk = require('@defillama/sdk')

async function tvl() {
var totalTvl = await utils.fetchURL('https://api.dotdot.finance/api/tvl')
return toUSDTBalances(totalTvl.data.data.dddLpTvl);
}


module.exports = {
timetravel: false,
misrepresentedTokens: true,
bsc:{
tvl
}
}

0 comments on commit aad53ee

Please sign in to comment.