Skip to content

Commit

Permalink
fluid-lending fix 1
Browse files Browse the repository at this point in the history
  • Loading branch information
slasher125 committed Jan 7, 2025
1 parent 7d57224 commit 6bb3041
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/adaptors/fluid-lending/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6bb3041

Please sign in to comment.