Skip to content

Commit

Permalink
Change apy to apyBase (#1063)
Browse files Browse the repository at this point in the history
  • Loading branch information
behrang authored Nov 3, 2023
1 parent 268f9c7 commit 275cd3b
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 275cd3b

Please sign in to comment.