@steerprotocol/sdk 3.0.6 → 3.0.7

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.
@@ -170,6 +170,7 @@ let Protocol = /* @__PURE__ */ function(Protocol) {
170
170
  Protocol["Cypher"] = "Cypher";
171
171
  Protocol["SparkIntegral"] = "SparkIntegral";
172
172
  Protocol["UniswapV4"] = "UniswapV4";
173
+ Protocol["Hydrex"] = "Hydrex";
173
174
  return Protocol;
174
175
  }({});
175
176
  let StrykePositionManagers = /* @__PURE__ */ function(StrykePositionManagers) {
@@ -246,6 +247,7 @@ let MultiPositionManagers = /* @__PURE__ */ function(MultiPositionManagers) {
246
247
  MultiPositionManagers["MultiPositionSushiManaged"] = "MultiPositionSushiManaged";
247
248
  MultiPositionManagers["MultiPositionSparkIntegral"] = "MultiPositionSparkIntegral";
248
249
  MultiPositionManagers["MultiPositionHenjinAlgebraHook"] = "HenjinIntegralHook";
250
+ MultiPositionManagers["MultiPositionHydrex"] = "MultiPositionHydrex";
249
251
  return MultiPositionManagers;
250
252
  }({});
251
253
  const AlgebgraHookBeacons = [MultiPositionManagers.MultiPositionHenjinAlgebraHook, MultiPositionManagers.AlgebraHook];
@@ -8947,7 +8949,8 @@ const ALGEBRA_PROTOCOLS = [
8947
8949
  Protocol.Blackhole,
8948
8950
  Protocol.Nest,
8949
8951
  Protocol.Cypher,
8950
- Protocol.SparkIntegral
8952
+ Protocol.SparkIntegral,
8953
+ Protocol.Hydrex
8951
8954
  ];
8952
8955
  const SHADOW_PROTOCOLS = [Protocol.Shadow, Protocol.MachineX];
8953
8956
  /**
@@ -8975,7 +8978,8 @@ const ALGEBRA_INTEGRAL_PROTOCOLS = [
8975
8978
  Protocol.Blackhole,
8976
8979
  Protocol.Nest,
8977
8980
  Protocol.Cypher,
8978
- Protocol.SparkIntegral
8981
+ Protocol.SparkIntegral,
8982
+ Protocol.Hydrex
8979
8983
  ];
8980
8984
  const AERODROME_PROTOCOLS = [
8981
8985
  Protocol.Aerodrome,
@@ -8988,7 +8992,8 @@ const ALGEBRA_INTEGRAL_V_2_0_PROTOCOLS = [
8988
8992
  Protocol.KatanaIntegral,
8989
8993
  Protocol.Blackhole,
8990
8994
  Protocol.Cypher,
8991
- Protocol.SparkIntegral
8995
+ Protocol.SparkIntegral,
8996
+ Protocol.Hydrex
8992
8997
  ];
8993
8998
  /**
8994
8999
  * List of protocols that implement the Thick interface
@@ -14910,6 +14915,17 @@ const uniswapV4Config = (theGraphApiKey) => ({
14910
14915
  Permit2: { [Chain.Unichain]: "0x000000000022D473030F116dDEE9F6B43aC78BA3" }
14911
14916
  });
14912
14917
  //#endregion
14918
+ //#region src/const/amm/configs/protocols/hydrex.ts
14919
+ const hydrexConfig = () => ({
14920
+ beaconContract: MultiPositionManagers.MultiPositionHydrex,
14921
+ beaconAlgebraHook: MultiPositionManagers.AlgebraHook,
14922
+ algebraHookSupportedChains: [Chain.Base],
14923
+ subgraph: { [Chain.Base]: "https://analytics-subgraph.hydrex.fi/" },
14924
+ factoryAddress: { [Chain.Base]: "0x36077D39cdC65E1e3FB65810430E5b2c4D5fA29E" },
14925
+ TickLensAddress: { [Chain.Base]: "0x0044e9642381607Eee1CCF06bae2378C3cB9B863" },
14926
+ QuoterV2Address: { [Chain.Base]: "0x08b46265643a5389529D6f6616FA4a0d66F13Fdb" }
14927
+ });
14928
+ //#endregion
14913
14929
  //#region src/const/amm/configs/ammConfig.ts
14914
14930
  const getAmmConfig = (theGraphApiKey) => {
14915
14931
  return {
@@ -14974,7 +14990,8 @@ const getAmmConfig = (theGraphApiKey) => {
14974
14990
  Nest: nestVaultConfig(),
14975
14991
  Cypher: cypherConfig(theGraphApiKey),
14976
14992
  SparkIntegral: sparkIntegralConfig(),
14977
- UniswapV4: uniswapV4Config(theGraphApiKey)
14993
+ UniswapV4: uniswapV4Config(theGraphApiKey),
14994
+ Hydrex: hydrexConfig()
14978
14995
  };
14979
14996
  };
14980
14997
  //#endregion
@@ -15039,7 +15056,8 @@ const BEACON_TO_SUPPORTED_PROTOCOL_MAP = {
15039
15056
  multiPositionAerodrome: "Aerodrome",
15040
15057
  aerodromeStakedPositionManager: "AerodromeV2",
15041
15058
  nest: "Nest",
15042
- cypher: "Cypher"
15059
+ cypher: "Cypher",
15060
+ hydrex: "Hydrex"
15043
15061
  };
15044
15062
  const BEACON_TO_PROTOCOL_MAP = {
15045
15063
  retro: Protocol.Retro,
@@ -15097,7 +15115,8 @@ const BEACON_TO_PROTOCOL_MAP = {
15097
15115
  aerodromeStakedPositionManager: Protocol.AerodromeV2,
15098
15116
  nest: Protocol.Nest,
15099
15117
  cypher: Protocol.Cypher,
15100
- sparkintegral: Protocol.SparkIntegral
15118
+ sparkintegral: Protocol.SparkIntegral,
15119
+ hydrex: Protocol.Hydrex
15101
15120
  };
15102
15121
  const PROTOCOL_TO_BEACON_MAP = Object.fromEntries(Object.entries(BEACON_TO_SUPPORTED_PROTOCOL_MAP).map(([beacon, protocol]) => [protocol, beacon]));
15103
15122
  const CUSTOM_BEACON_TO_PROTOCOL_MAP = {