@merkl/api 0.21.18 → 0.21.19

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.
@@ -30,6 +30,7 @@ const factoryAddresses = {
30
30
  "0xA5961898870943c68037F6848d2D866Ed2016bcB": Erc20SubType.curveNPool, // Curve Base
31
31
  "0xB255D6A720BB7c39fee173cE22113397119cB930": Erc20SubType.katana, // Katana Ronin
32
32
  "0x29372c22459a4e373851798bFd6808e71EA34A71": Erc20SubType.punchswap, // Punchswap Flow EVM
33
+ "0x724412C00059bf7d6ee7d4a1d0D5cd4de3ea1C48": Erc20SubType.hyperswap, // Hyperswap Factory HyperEVM
33
34
  };
34
35
  export function getTypeFromFactoryAddress(address) {
35
36
  if (factoryAddresses[address]) {
@@ -152,4 +152,5 @@ export const processorMapping = {
152
152
  [Erc20SubType.gamma]: GammaALMProcessor,
153
153
  [Erc20SubType.stability]: StabilityProcessor,
154
154
  [Erc20SubType.stability_lending]: AaveProcessor,
155
+ [Erc20SubType.hyperswap]: UniswapProcessor,
155
156
  };
@@ -138,4 +138,8 @@ export const tokenTypeToProtocolAndAction = {
138
138
  protocol: "gamma",
139
139
  action: OpportunityAction.POOL,
140
140
  },
141
+ [Erc20SubType.hyperswap]: {
142
+ protocol: "hyperswap",
143
+ action: OpportunityAction.POOL,
144
+ },
141
145
  };
@@ -110,5 +110,6 @@ export declare enum Erc20SubType {
110
110
  stability = "stability",
111
111
  stability_lending = "stability_lending",
112
112
  lendle_vaults = "lendle_vaults",
113
- termmax = "termmax"
113
+ termmax = "termmax",
114
+ hyperswap = "hyperswap"
114
115
  }
@@ -110,4 +110,5 @@ export var Erc20SubType;
110
110
  Erc20SubType["stability_lending"] = "stability_lending";
111
111
  Erc20SubType["lendle_vaults"] = "lendle_vaults";
112
112
  Erc20SubType["termmax"] = "termmax";
113
+ Erc20SubType["hyperswap"] = "hyperswap";
113
114
  })(Erc20SubType || (Erc20SubType = {}));
@@ -40,6 +40,7 @@ export function generateCardName(type, typeInfo, campaign, symbols = [""], displ
40
40
  case Erc20SubType.traderJoe:
41
41
  case Erc20SubType.katana:
42
42
  case Erc20SubType.punchswap:
43
+ case Erc20SubType.hyperswap:
43
44
  return `Provide liquidity to ${capitalize(typeInfo.protocol)} ${typeInfo.symbolToken0}-${typeInfo.symbolToken1}`;
44
45
  case Erc20SubType.pendleYT:
45
46
  return `Hold ${capitalize(typeInfo.protocol)} ${typeInfo.name}`;