From 6bb30414de780f1cb5ae1bf8c3bc2601ba7133a3 Mon Sep 17 00:00:00 2001 From: slasher125 Date: Tue, 7 Jan 2025 16:00:18 +0400 Subject: [PATCH] fluid-lending fix 1 --- src/adaptors/fluid-lending/index.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/adaptors/fluid-lending/index.js b/src/adaptors/fluid-lending/index.js index c1bea2302f..3aec14ed39 100644 --- a/src/adaptors/fluid-lending/index.js +++ b/src/adaptors/fluid-lending/index.js @@ -67,19 +67,12 @@ const getLendingApy = async (chain) => { tvlUsd: (token.totalAssets * prices[`${chain}:${underlying[i]}`].price) / 10 ** decimals.output[i].output, - totalSupplyUsd: - (token.totalAssets * prices[`${chain}:${underlying[i]}`].price) / - 10 ** decimals.output[i].output, - totalBorrowUsd: 0, symbol: symbol.output[i].output, underlyingTokens: [token.asset], rewardTokens: [token.asset], chain, - ltv: 0, apyBase: Number((token.supplyRate / 1e2).toFixed(2)), - apyBaseBorrow: 0, apyReward: Number((token.rewardsRate / 1e12).toFixed(2)), - apyRewardBorrow: 0, })) .filter((i) => utils.keepFinite(i)); } catch (error) {