From 1999e93623776f1786431529a5179211ceebfb6b Mon Sep 17 00:00:00 2001 From: minato <100826289+0x-minato@users.noreply.github.com> Date: Fri, 10 Jan 2025 16:21:17 +0530 Subject: [PATCH] Refac STRKFarm domain (#1685) * [STRKFarm/index] added yield api * [STRKFarm/index] refac tvl condition * [STRKFarm/index] added underlying tokens * [STRKFarm/index] refac return data * [STRKFarm/index] refac types * [STRKFarm/index] refac tvl condition * [STRKFarm/index] added tvl condition * [strkfarm/index] refac project name * refac project * [strkfarm] proj refac * [strkfarm/index] refac apy * package revert * refac package-lock * [adaptors/endur] added endur apy data * [adaptors/endur] refac tvl data * [adaptors/endur] minor refac * [adaptors/endur] added exports * minor refac * [adaptors/endur] minor refac * changes * [strkfarm/index.js] refac strkfarm domain --------- Co-authored-by: ariyan-hashstack --- src/adaptors/strkfarm/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/adaptors/strkfarm/index.js b/src/adaptors/strkfarm/index.js index d0b635e744..fa4c448333 100644 --- a/src/adaptors/strkfarm/index.js +++ b/src/adaptors/strkfarm/index.js @@ -2,7 +2,7 @@ const utils = require('../utils'); const apy = async () => { const apyData = await utils.getData( - 'https://app.strkfarm.xyz/api/strategies' + 'https://app.strkfarm.com/api/strategies' ); const tokenAddressToSymbolMap = { "0x4718f5a0fc34cc1af16a1cdee98ffb20c31f5cd61d6ab07201858f4287c938d": "STRK", @@ -26,7 +26,7 @@ const apy = async () => { underlyingTokens: [currUnderlyingTokens], tvlUsd: parseFloat(currTvlUsd), apy: parseFloat(currApy), - url: `https://app.strkfarm.xyz/strategy/${currPoolId}`, + url: `https://app.strkfarm.com/strategy/${currPoolId}`, poolMeta: currPool, }; }) @@ -35,5 +35,5 @@ const apy = async () => { module.exports = { timetravel: false, apy: apy, - url: 'https://app.strkfarm.xyz/?tab=strategies', + url: 'https://app.strkfarm.com/?tab=strategies', }; \ No newline at end of file