Skip to content

Commit

Permalink
Change apy to apyBase
Browse files Browse the repository at this point in the history
  • Loading branch information
behrang committed Nov 2, 2023
1 parent c13958c commit 575af4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/adaptors/hipo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -73,7 +73,7 @@ module.exports = {
project: 'hipo',
symbol: utils.formatSymbol('hTON'),
tvlUsd,
apy,
apyBase,
},
];
},
Expand Down

0 comments on commit 575af4d

Please sign in to comment.