const { get } = require('../helper/http')

async function tvl() {
  const data = await get('https://vite-info-api.xvite.workers.dev/')
  return {
    tether: data.tvlRankings.filter(i => i.name == 'Viva')[0].amount
  }
}

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