diff --git a/src/adaptors/openleverage/index.js b/src/adaptors/openleverage/index.js index 504b4189d8..68a991929c 100644 --- a/src/adaptors/openleverage/index.js +++ b/src/adaptors/openleverage/index.js @@ -122,7 +122,7 @@ const main = async () => { chain: utils.formatChain(llama_chain_name[chain]), project: 'openleverage', symbol: utils.formatSymbol(poolDetails.name), - tvlUsd: (new BigNumber(poolBalance).plus(new BigNumber(totalBorrow))).multipliedBy(new BigNumber(tokenPriceInUsdt)).dividedBy(new BigNumber(10).pow(poolDetails.tokenDecimal)).toNumber(), + tvlUsd: (new BigNumber(poolBalance)).multipliedBy(new BigNumber(tokenPriceInUsdt)).dividedBy(new BigNumber(10).pow(poolDetails.tokenDecimal)).toNumber(), apyBase: new BigNumber(poolAPYPerBlock).multipliedBy(new BigNumber(block_of_year[chain])).dividedBy(new BigNumber(10).pow(16)).toNumber(), // in % format url: `https://${opl_chain_name[chain]}.openleverage.finance/app/pool/${pool}`, apyReward: poolDetails.lendOleRewardApy * 100,