Skip to content

Commit

Permalink
Refac STRKFarm domain (#1685)
Browse files Browse the repository at this point in the history
* [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 <[email protected]>
  • Loading branch information
0x-minato and ariyan-hashstack authored Jan 10, 2025
1 parent 8d360c1 commit 1999e93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/adaptors/strkfarm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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,
};
})
Expand All @@ -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',
};

0 comments on commit 1999e93

Please sign in to comment.