From 575af4d724eade23a98c192e263122c2912beee6 Mon Sep 17 00:00:00 2001 From: Behrang Norouzinia Date: Thu, 2 Nov 2023 17:40:42 +0330 Subject: [PATCH] Change apy to apyBase --- src/adaptors/hipo/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/adaptors/hipo/index.js b/src/adaptors/hipo/index.js index 0093e2d42f..951747b25e 100644 --- a/src/adaptors/hipo/index.js +++ b/src/adaptors/hipo/index.js @@ -58,7 +58,7 @@ module.exports = { const duration = 2 * (nextRoundSince - currentRoundSince); const year = 365 * 24 * 60 * 60; const compoundingFrequency = year / duration; - const apy = + const apyBase = (Math.pow( Number(lastRecovered) / Number(lastStaked) || 1, compoundingFrequency @@ -73,7 +73,7 @@ module.exports = { project: 'hipo', symbol: utils.formatSymbol('hTON'), tvlUsd, - apy, + apyBase, }, ]; },