diff --git a/projects/stader/index.js b/projects/stader/index.js index 8a57468974..6592e6af25 100644 --- a/projects/stader/index.js +++ b/projects/stader/index.js @@ -7,21 +7,13 @@ async function getData() { return _res; } -async function hbarTvl(timestamp) { +async function hbarTvl() { const res = await get("https://universe.staderlabs.com/common/tvl"); return { "hedera-hashgraph": res.hedera.native, }; } -async function fantomTvl() { - const res = await getData(); - return { - "fantom": res.fantom.native, - }; -} - - async function maticTvl() { const res = await getData(); return { @@ -29,13 +21,6 @@ async function maticTvl() { }; } -async function terra2Tvl() { - const res = await getData(); - return { - "terra-luna-2": res.terra.native || 0, - }; -} - async function bscTvl() { const res = await getData(); return { @@ -43,13 +28,6 @@ async function bscTvl() { }; } -async function nearTvl() { - const res = await getData(); - return { - near: res.near.native, - }; -} - async function ethTvl(api) { return await api.call({ abi: "uint256:totalAssets", @@ -61,28 +39,16 @@ module.exports = { timetravel: false, methodology: "We aggregated the assets staked across Stader staking protocols", - /*terra: { - tvl, - },*/ hedera: { tvl: hbarTvl, }, // its on ethereum because funds are locked there - /* ethereum: { - tvl: maticTvl - }, */ - fantom: { - tvl: () => ({}), - }, - terra2: { - tvl: terra2Tvl, - }, + // ethereum: { + // tvl: maticTvl + // }, bsc: { tvl: bscTvl, }, - near: { - tvl: nearTvl, - }, ethereum: { tvl: async (api) => { const res = await getData();