From e111cb42346c64db8bc7fbc8769935e8ff087b08 Mon Sep 17 00:00:00 2001 From: William Liu Date: Mon, 22 Jul 2024 07:58:32 +0000 Subject: [PATCH] fix: reactor fusion reward token update --- src/vaults/apys/implementations/reactorfusion-fold.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vaults/apys/implementations/reactorfusion-fold.js b/src/vaults/apys/implementations/reactorfusion-fold.js index 9657b13..3df2f9e 100644 --- a/src/vaults/apys/implementations/reactorfusion-fold.js +++ b/src/vaults/apys/implementations/reactorfusion-fold.js @@ -28,7 +28,7 @@ const getApy = async (underlying, cTokenAddr, strategyAddr, reduction) => { methods: strategyMethods, } = lodestarStrategy - const RF = '0x5f7CBcb391d33988DAD74D6Fd683AadDA1123E4D' + const ZK = '0x5A7d6b2F92C77FAD6CCaBd7EE0624E64907Eaf3E' const blocksPerYear = 3600 * 24 * 365 const strategyInstance = new web3.eth.Contract(strategyAbi, strategyAddr) const invested = new BigNumber(await strategyMethods.getInvestedBalance(strategyInstance)) @@ -75,7 +75,7 @@ const getApy = async (underlying, cTokenAddr, strategyAddr, reduction) => { .div(10 ** (18 - underlyingDecimals)) const underlyingPrice = await getTokenPrice(underlying, CHAIN_IDS.ZKSYNC) - const rewardPrice = await getTokenPrice(RF, CHAIN_IDS.ZKSYNC) + const rewardPrice = await getTokenPrice(ZK, CHAIN_IDS.ZKSYNC) const rewardAPRSupply = rewardPerYearSupply .times(rewardPrice)