diff --git a/utils/contractInfos.ts b/utils/contractInfos.ts index dfbc0a4..09695c4 100644 --- a/utils/contractInfos.ts +++ b/utils/contractInfos.ts @@ -238,7 +238,7 @@ export const getPHXV2PoolInfos = async ( let apr = await contract.poolAPR(); apr = Number(apr) / 1000_000_000; - const PERIOD = 365 * 24 * 2; // 1 year period (in half hours) + const PERIOD = 365 * 24; // 1 year period (in one hours) let apy = (Math.pow(1 + apr, PERIOD) - 1) * 100; apy = Number(apy.toFixed(2));