@merkl/api 0.10.379 → 0.10.381

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1009,7 +1009,7 @@ export const extractOpportunities = {
1009
1009
  status: getStatus(all),
1010
1010
  tags: getTags(campaigns.all),
1011
1011
  dailyrewards: getDailyRewards(active, prices),
1012
- tokenIcons: [params.symbolTargetToken],
1012
+ tokenIcons: ["HYPERDRIVE"],
1013
1013
  campaigns: { ...campaigns, type: Campaign.HYPERDRIVELOGFIXPROCESSOR, ids: campaigns.all.map(c => c.campaignId) },
1014
1014
  rewardTokenIcons: getRewardTokenIcons(campaigns.active),
1015
1015
  dailyRewardTokens: getRewardTokens(campaigns.active),
@@ -1044,7 +1044,7 @@ export const extractOpportunities = {
1044
1044
  status: getStatus(all),
1045
1045
  tags: getTags(campaigns.all),
1046
1046
  dailyrewards: getDailyRewards(active, prices),
1047
- tokenIcons: [params.symbolTargetToken],
1047
+ tokenIcons: ["HYPERDRIVE"],
1048
1048
  campaigns: { ...campaigns, type: Campaign.HYPERDRIVELOGPROCESSOR, ids: campaigns.all.map(c => c.campaignId) },
1049
1049
  rewardTokenIcons: getRewardTokenIcons(campaigns.active),
1050
1050
  dailyRewardTokens: getRewardTokens(campaigns.active),
@@ -6,8 +6,8 @@ export const getCompoundMetadata = (chainId, campaignSubType, params) => {
6
6
  name: [
7
7
  CompFork[params.compFork],
8
8
  params.subCampaignType === CompoundSubCampaignType.supply
9
- ? `Supply ${params.symbolTargetToken}`
10
- : `Borrow ${params.symbolTargetToken}`,
9
+ ? `Supply ${params.symbolUnderlyingToken}`
10
+ : `Borrow ${params.symbolUnderlyingToken}`,
11
11
  ].join(" "),
12
12
  tokens: [
13
13
  { chainId, address: params.underlyingToken },