@steerprotocol/sdk 3.0.27 → 3.1.0-test-archived-subgraph-support.2

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.
@@ -255,16 +255,9 @@ let MultiPositionManagers = /* @__PURE__ */ function(MultiPositionManagers) {
255
255
  MultiPositionManagers["MultiPositionHydrex"] = "MultiPositionHydrex";
256
256
  MultiPositionManagers["MultiPositionBittensorUniV3"] = "MultiPositionBittensorUniV3";
257
257
  MultiPositionManagers["MultiPositionReserveV4"] = "MultiPositionReserveV4";
258
- MultiPositionManagers["TestCypherAlgebraIntegralHook"] = "TestCypherAlgebraIntegralHook";
259
- MultiPositionManagers["TestQuickswapAlgebraIntegralHook"] = "TestQuickswapAlgebraIntegralHook";
260
258
  return MultiPositionManagers;
261
259
  }({});
262
- const AlgebgraHookBeacons = [
263
- MultiPositionManagers.MultiPositionHenjinAlgebraHook,
264
- MultiPositionManagers.AlgebraHook,
265
- MultiPositionManagers.TestCypherAlgebraIntegralHook,
266
- MultiPositionManagers.TestQuickswapAlgebraIntegralHook
267
- ];
260
+ const AlgebgraHookBeacons = [MultiPositionManagers.MultiPositionHenjinAlgebraHook, MultiPositionManagers.AlgebraHook];
268
261
  const UniswapHookBeacons = [
269
262
  MultiPositionManagers.MultiPositionUniswapV4Hook,
270
263
  MultiPositionManagers.MultiPositionUniswapV4HookOld,
@@ -9150,54 +9143,56 @@ const deprecatedBundlesURL = "https://api.steer.finance/deprecated-bundles";
9150
9143
  * Each chain has a dedicated subgraph URL for querying protocol data.
9151
9144
  * Updated each chains for ormi and thegraph
9152
9145
  */
9146
+ const offlineSubgraphBaseUrl = "https://subgraph-archive.steer.finance/graphql";
9147
+ const offlineSubgraphUrl = (chain) => `${offlineSubgraphBaseUrl}/${chain}`;
9153
9148
  const steerSubgraphConfig = {
9154
9149
  [Chain.Polygon]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-polygon/prod/gn",
9155
9150
  [Chain.BSC]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-bsc-beta/prod/gn",
9156
9151
  [Chain.Optimism]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/GgW1EwNARL3dyo3acQ3VhraQQ66MHT7QnYuGcQc5geDG",
9157
9152
  [Chain.Arbitrum]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-arbitrum/prod/gn",
9158
- [Chain.Evmos]: "https://subgraph.satsuma-prod.com/769a117cc018/steer/steer-protocol-evmos/api",
9159
- [Chain.Thundercore]: "https://subgraph.steer.finance/thundercore/subgraphs/name/steerprotocol/steer-thundercore",
9160
- [Chain.Metis]: "https://api.metis.0xgraph.xyz/api/public/b88b5696-b69d-46be-b212-5c55a9b1492f/subgraphs/steer-protocol-metis/prod/gn",
9153
+ [Chain.Evmos]: offlineSubgraphUrl("evmos"),
9154
+ [Chain.Thundercore]: offlineSubgraphUrl("thundercore"),
9155
+ [Chain.Metis]: offlineSubgraphUrl("metis"),
9161
9156
  [Chain.Base]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-base/beta/gn",
9162
9157
  [Chain.Avalanche]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/GZotTj3rQJ8ZqVyodtK8TcnKcUxMgeF7mCJHGPYbu8dA",
9163
- [Chain.PolygonzkEVM]: "https://api.goldsky.com/api/public/project_clohj3ta78ok12nzs5m8yag0b/subgraphs/steer-protocol-polygon-zkevm/prod/gn",
9158
+ [Chain.PolygonzkEVM]: offlineSubgraphUrl("zkevm"),
9164
9159
  [Chain.Celo]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/BPaFHyfVrhv3pdjGodpQcWggAg1Bcrvc9SFc2t2BXeho",
9165
- [Chain.Kava]: "https://api.goldsky.com/api/public/project_clohj3ta78ok12nzs5m8yag0b/subgraphs/steer-protocol-kava/prod/gn",
9160
+ [Chain.Kava]: offlineSubgraphUrl("kava"),
9166
9161
  [Chain.Linea]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-linea/prod/gn",
9167
- [Chain.Scroll]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/822PfgbgBzC98Huwf37uxvF9YGZMA5nDeETpstkR55Sn",
9168
- [Chain.Manta]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-manta/prod/gn",
9169
- [Chain.Astar]: "https://api.goldsky.com/api/public/project_clohj3ta78ok12nzs5m8yag0b/subgraphs/steer-protocol-astar/prod/gn",
9170
- [Chain.Fantom]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/9uyX2WDuaxmcYh11ehUhU68M9uSCp5FXVQV2w4LqbpbV",
9162
+ [Chain.Scroll]: offlineSubgraphUrl("scroll"),
9163
+ [Chain.Manta]: offlineSubgraphUrl("manta"),
9164
+ [Chain.Astar]: offlineSubgraphUrl("astar"),
9165
+ [Chain.Fantom]: offlineSubgraphUrl("fantom"),
9171
9166
  [Chain.OkxTestnet]: "https://subgraph.steer.finance/steer-x1-testnet/subgraphs/name/steerprotocol/steer-okxtestnet",
9172
- [Chain.Mantle]: "https://subgraph-api.mantle.xyz/subgraphs/name/steerprotocol/steer-protocol-mantle",
9173
- [Chain.AstarZkevm]: "https://api.goldsky.com/api/public/project_clohj3ta78ok12nzs5m8yag0b/subgraphs/steer-protocol-astar-zkevm/1.1.1/gn",
9174
- [Chain.Blast]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-blast/prod/gn",
9175
- [Chain.Mode]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-mode/prod/gn",
9176
- [Chain.Telos]: "https://telos.api.ormilabs.com/api/public/39892398-bfdd-48ac-b776-77ad8a5b4b9e/subgraphs/steer-protocol-telos/prod/gn",
9177
- [Chain.XLayer]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/8gCrUHrVS9rHwvDPLTn4Wz6od68ULb7azYuQz25JjRK3",
9178
- [Chain.Taiko]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-taiko/prod/gn",
9167
+ [Chain.Mantle]: offlineSubgraphUrl("mantle"),
9168
+ [Chain.AstarZkevm]: offlineSubgraphUrl("astarzkevm"),
9169
+ [Chain.Blast]: offlineSubgraphUrl("blast"),
9170
+ [Chain.Mode]: offlineSubgraphUrl("mode"),
9171
+ [Chain.Telos]: offlineSubgraphUrl("telos"),
9172
+ [Chain.XLayer]: offlineSubgraphUrl("xlayer"),
9173
+ [Chain.Taiko]: offlineSubgraphUrl("taiko"),
9179
9174
  [Chain.Rootstock]: "https://api.goldsky.com/api/public/project_cm2k9xbkz4qg901vs51bm5uau/subgraphs/steer-protocol-rootstock/prod/gn",
9180
- [Chain.ZklinkNova]: "https://api.goldsky.com/api/public/project_cmmz9rcn2gc0j01w36xbo3wcn/subgraphs/steer-protocol-zklink-nova/prod/gn",
9175
+ [Chain.ZklinkNova]: offlineSubgraphUrl("zklinknova"),
9181
9176
  [Chain.Flare]: "https://api.goldsky.com/api/public/project_cm2k9xbkz4qg901vs51bm5uau/subgraphs/steer-protocol-flare/prod/gn",
9182
- [Chain.BeraChainBartio]: "https://api.goldsky.com/api/public/project_clohj3ta78ok12nzs5m8yag0b/subgraphs/steer-protocol-berachain-bartio/prod/gn",
9183
- [Chain.Filecoin]: "https://api.goldsky.com/api/public/project_cmmz8w4e274al01vsa0wa7cj3/subgraphs/steer-protocol-filecoin/prod/gn",
9184
- [Chain.Apechain]: "https://apeapi.0xgraph.xyz/api/public/4ea21b03-9850-4796-8068-ec71bbe022db/subgraphs/steer-protocol-apechain/prod/gn",
9185
- [Chain.Zircuit]: "https://app.sentio.xyz/api/v1/graphql/rakesh/steer-protocol-zircuit?version=3",
9186
- [Chain.Moonbeam]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/4D2pLLQuGsAkdZAUgqxxnk4Mcu3aMjEV1HJ2F63kC7w6",
9187
- [Chain.Sei]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/6uQm26z2NM2eV56sjZmVezUjBAC8jMx683B1cUencDwt",
9188
- [Chain.Sonic]: "https://api.0xgraph.xyz/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-sonic/prod/gn",
9189
- [Chain.Zeta]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/HFH41DyzAXxYmT5eszVWn2T7UxViMroPJ4XJV8vhDGNN",
9177
+ [Chain.BeraChainBartio]: offlineSubgraphUrl("berabarito"),
9178
+ [Chain.Filecoin]: offlineSubgraphUrl("filecoin"),
9179
+ [Chain.Apechain]: offlineSubgraphUrl("apechain"),
9180
+ [Chain.Zircuit]: offlineSubgraphUrl("zircuit"),
9181
+ [Chain.Moonbeam]: offlineSubgraphUrl("moonbeam"),
9182
+ [Chain.Sei]: offlineSubgraphUrl("sei"),
9183
+ [Chain.Sonic]: offlineSubgraphUrl("sonic"),
9184
+ [Chain.Zeta]: offlineSubgraphUrl("zeta"),
9190
9185
  [Chain.Mainnet]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-mainnet/prod/gn",
9191
- [Chain.Soneium]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/8gCrUHrVS9rHwvDPLTn4Wz6od68ULb7azYuQz25JjRK3",
9186
+ [Chain.Soneium]: offlineSubgraphUrl("soneium"),
9192
9187
  [Chain.Bera]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-bera/prod/gn",
9193
9188
  [Chain.Unichain]: "https://api.goldsky.com/api/public/project_cmnrgd4exaie801sa45a1609h/subgraphs/steer-protocol-unichain/prod/gn",
9194
- [Chain.Hemi]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/2eACJtEGuELqN5roUiHG1jqmCpXt5aimcc8xZdvtMv4z",
9195
- [Chain.TataraTestnet]: "https://api.studio.thegraph.com/query/78728/steer-protocol-tatara-testnet/version/latest",
9196
- [Chain.Core]: "https://thegraph.coredao.org/subgraphs/name/steer-protocol-core",
9197
- [Chain.Peaq]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/45pjWAnAXULpS6UDajzCtLcZYuohwuMm4UuSDjegMKAT",
9189
+ [Chain.Hemi]: offlineSubgraphUrl("hemi"),
9190
+ [Chain.TataraTestnet]: offlineSubgraphUrl("tataratestnet"),
9191
+ [Chain.Core]: offlineSubgraphUrl("core"),
9192
+ [Chain.Peaq]: offlineSubgraphUrl("peaq"),
9198
9193
  [Chain.Katana]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-katana/prod/gn",
9199
- [Chain.Ronin]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/793Lz5oiK51wdm9kCLtHqunkAPk2qjg7denpCrHqrLcA",
9200
- [Chain.Saga]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-saga/prod/gn",
9194
+ [Chain.Ronin]: offlineSubgraphUrl("ronin"),
9195
+ [Chain.Saga]: offlineSubgraphUrl("saga"),
9201
9196
  [Chain.Nibiru]: "https://app.sentio.xyz//api/v1/graphql/rakesh/steer-protocol-nibiru",
9202
9197
  [Chain.Hyperevm]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-hyperevm/prod/gn",
9203
9198
  [Chain.Bittensor]: "https://subgraph.35-247-158-26.sslip.io/subgraphs/name/steer-subgraph"
@@ -14435,11 +14430,7 @@ const quickSwapAlgebraConfig = () => ({
14435
14430
  const quickSwapIntegralConfig = (theGraphApiKey) => ({
14436
14431
  beaconContract: MultiPositionManagers.MultiPositionQuickSwapIntegral,
14437
14432
  beaconAlgebraHook: MultiPositionManagers.AlgebraHook,
14438
- algebraHookSupportedChains: [Chain.Base, Chain.Polygon],
14439
- algebraHookBeaconsByChain: {
14440
- [Chain.Base]: [MultiPositionManagers.AlgebraHook],
14441
- [Chain.Polygon]: [MultiPositionManagers.TestQuickswapAlgebraIntegralHook]
14442
- },
14433
+ algebraHookSupportedChains: [Chain.Base],
14443
14434
  subgraph: {
14444
14435
  [Chain.Soneium]: getTheGraphResolverUrl("3GsT6AiuDiSzh2fXbFxUKtBxT8rBEGVdQCgHSsKMPHiu", false, theGraphApiKey),
14445
14436
  [Chain.Base]: getTheGraphResolverUrl("U65NKb6BsDPGqugPAda58ebMLa1RqeMFT76fndB77oe", false, theGraphApiKey),
@@ -14983,14 +14974,10 @@ const aerodromeV2Config = (theGraphApiKey) => ({
14983
14974
  //#region src/const/amm/configs/protocols/cypher.ts
14984
14975
  const cypherConfig = (theGraphApiKey) => ({
14985
14976
  beaconContract: MultiPositionManagers.MultiPositionCypher,
14986
- algebraHookSupportedChains: [Chain.Mainnet],
14987
- beaconAlgebraHook: MultiPositionManagers.TestCypherAlgebraIntegralHook,
14988
- algebraHookBeaconsByChain: { [Chain.Mainnet]: [MultiPositionManagers.TestCypherAlgebraIntegralHook] },
14989
14977
  subgraph: { [Chain.Mainnet]: getTheGraphResolverUrl("8knsFRJjoEtsRECVSdxhfbvidipCMdBjXx1hQmMRujHx", false, theGraphApiKey) },
14990
14978
  factoryAddress: { [Chain.Mainnet]: "0xfb8Ed3485EfA29a0e4bed93351dD51B59fC4b0f0" },
14991
14979
  TickLensAddress: { [Chain.Mainnet]: "0x4DA465E96E586B127ac0c8d02871Aa73F226cCC4" },
14992
- Quoter: { [Chain.Mainnet]: "0xeae871C4a8dD267146558C362c86805FB7e3Fd2F" },
14993
- EntryPointAddress: { [Chain.Mainnet]: "0x79616564DB0294ecBa5912f1cE985FD1c11eeF51" }
14980
+ Quoter: { [Chain.Mainnet]: "0xeae871C4a8dD267146558C362c86805FB7e3Fd2F" }
14994
14981
  });
14995
14982
  //#endregion
14996
14983
  //#region src/const/amm/configs/protocols/spark-integral.ts
@@ -15300,11 +15287,8 @@ const CUSTOM_BEACON_TO_PROTOCOL_MAP = {
15300
15287
  [MultiPositionManagers.MultiPositionHenjinAlgebraHook]: Protocol.Henjin,
15301
15288
  [MultiPositionManagers.MultiPositionBittensorUniV3]: Protocol.BittensorUniV3,
15302
15289
  [MultiPositionManagers.MultiPositionAerodromeV3]: Protocol.AerodromeV3,
15303
- [MultiPositionManagers.MultiPositionReserveV4]: Protocol.UniswapV4,
15304
- [MultiPositionManagers.TestCypherAlgebraIntegralHook]: Protocol.Cypher,
15305
- [MultiPositionManagers.TestQuickswapAlgebraIntegralHook]: Protocol.QuickSwapIntegral
15290
+ [MultiPositionManagers.MultiPositionReserveV4]: Protocol.UniswapV4
15306
15291
  };
15307
- const getCustomProtocolByBeacon = (beacon) => CUSTOM_BEACON_TO_PROTOCOL_MAP[beacon] || Object.entries(CUSTOM_BEACON_TO_PROTOCOL_MAP).find(([customBeacon]) => customBeacon.toLowerCase() === beacon.toLowerCase())?.[1];
15308
15292
  /**`
15309
15293
  * Retrieves the beacon name associated with a given protocol.
15310
15294
  *
@@ -15332,13 +15316,10 @@ function getBeaconNameByProtocol(protocol) {
15332
15316
  */
15333
15317
  const getProtocolConfigByBeacon = (beacon, theGraphApiKey) => {
15334
15318
  if (!beacon) return null;
15335
- const protocolConfig = getAmmConfig(theGraphApiKey);
15336
- const customProtocol = getCustomProtocolByBeacon(beacon);
15337
- if (customProtocol) return protocolConfig[customProtocol];
15338
15319
  const beaconLower = beacon.toLowerCase();
15339
15320
  const matchedProtocol = Object.entries(BEACON_TO_PROTOCOL_MAP).find(([key]) => beaconLower.includes(key));
15340
15321
  if (!matchedProtocol) return null;
15341
- return protocolConfig[matchedProtocol[1]];
15322
+ return getAmmConfig(theGraphApiKey)[matchedProtocol[1]];
15342
15323
  };
15343
15324
  /**
15344
15325
  * Determines the protocol type from a given beacon identifier.
@@ -15353,8 +15334,7 @@ const getProtocolConfigByBeacon = (beacon, theGraphApiKey) => {
15353
15334
  */
15354
15335
  function getProtocolTypeByBeacon(beacon) {
15355
15336
  if (!beacon) return null;
15356
- const customProtocol = getCustomProtocolByBeacon(beacon);
15357
- if (customProtocol) return customProtocol;
15337
+ if (CUSTOM_BEACON_TO_PROTOCOL_MAP[beacon]) return CUSTOM_BEACON_TO_PROTOCOL_MAP[beacon];
15358
15338
  const beaconLower = beacon.toLowerCase();
15359
15339
  const matchedProtocol = Object.entries(BEACON_TO_SUPPORTED_PROTOCOL_MAP).sort(([a], [b]) => b.length - a.length).find(([key]) => beaconLower.includes(key));
15360
15340
  return matchedProtocol ? matchedProtocol[1] : null;
@@ -19639,18 +19619,14 @@ var VaultClient = class extends SubgraphClient {
19639
19619
  const normalizedProtocol = this.normalizeProtocolValue(protocol);
19640
19620
  return Object.values(Protocol).find((protocolValue) => this.normalizeProtocolValue(protocolValue) === normalizedProtocol) || null;
19641
19621
  }
19642
- getProtocolBeaconNames(protocol, chainId) {
19622
+ getProtocolBeaconNames(protocol) {
19643
19623
  const resolvedProtocol = this.resolveProtocolEnum(protocol);
19644
19624
  if (!resolvedProtocol) return [];
19645
19625
  const protocolConfig = getAmmConfig(this.subgraphStudioKey)[resolvedProtocol];
19646
19626
  const beaconNames = [];
19647
- const chain = chainId ? chainIdToName(chainId) : void 0;
19648
19627
  if (protocolConfig?.beaconContract) beaconNames.push(protocolConfig.beaconContract);
19649
19628
  if (protocolConfig?.additionalBeaconContracts?.length) beaconNames.push(...protocolConfig.additionalBeaconContracts);
19650
19629
  if (protocolConfig?.beaconContractSushiManaged) beaconNames.push(protocolConfig.beaconContractSushiManaged);
19651
- if (protocolConfig?.algebraHookBeaconsByChain) if (chain) beaconNames.push(...protocolConfig.algebraHookBeaconsByChain[chain] || []);
19652
- else beaconNames.push(...Object.values(protocolConfig.algebraHookBeaconsByChain).flat());
19653
- if (protocolConfig?.beaconAlgebraHook && (!chain || protocolConfig.algebraHookSupportedChains?.includes(chain) && !protocolConfig.algebraHookBeaconsByChain?.[chain]?.length)) beaconNames.push(protocolConfig.beaconAlgebraHook);
19654
19630
  if (resolvedProtocol === Protocol.Blackhole) beaconNames.push(MultiPositionManagers.MultiPositionBlackholeOld);
19655
19631
  const beaconAlias = getBeaconNameByProtocol(resolvedProtocol);
19656
19632
  if (beaconAlias) beaconNames.push(beaconAlias);
@@ -19692,7 +19668,7 @@ var VaultClient = class extends SubgraphClient {
19692
19668
  const normalizedExpectedBeacon = this.normalizeProtocolValue(expectedBeacon);
19693
19669
  if (normalizedExpectedBeacon.length > 0 && normalizedBeaconName.includes(normalizedExpectedBeacon)) return true;
19694
19670
  if (!resolvedProtocol) return false;
19695
- return this.getProtocolBeaconNames(resolvedProtocol, vault.chainId).some((beacon) => {
19671
+ return this.getProtocolBeaconNames(resolvedProtocol).some((beacon) => {
19696
19672
  const normalizedBeacon = this.normalizeProtocolValue(beacon);
19697
19673
  return normalizedBeacon.length > 0 && normalizedBeaconName === normalizedBeacon;
19698
19674
  });
@@ -19996,7 +19972,7 @@ var VaultClient = class extends SubgraphClient {
19996
19972
  if (!chain) throw new Error(`Unsupported chainId: ${chainId}`);
19997
19973
  const subgraphUrl = steerSubgraphConfig[chain];
19998
19974
  if (!subgraphUrl) throw new Error(`No subgraph configured for chain: ${chain}`);
19999
- const beaconNames = this.getProtocolBeaconNames(filter?.protocol, chainId);
19975
+ const beaconNames = this.getProtocolBeaconNames(filter?.protocol);
20000
19976
  if (filter?.beaconName) beaconNames.push(filter.beaconName);
20001
19977
  const uniqueBeaconNames = [...new Set(beaconNames.filter((name) => name.length > 0))];
20002
19978
  const subgraphVaults = await this.subgraphVaultClient.getAllVaultsFromSubgraph({
@@ -20116,7 +20092,7 @@ var VaultClient = class extends SubgraphClient {
20116
20092
  if (!chain) throw new Error(`Unsupported chainId: ${chainId}`);
20117
20093
  const subgraphUrl = steerSubgraphConfig[chain];
20118
20094
  if (!subgraphUrl) throw new Error(`No subgraph configured for chain: ${chain}`);
20119
- const beaconNames = this.getProtocolBeaconNames(filter?.protocol, chainId);
20095
+ const beaconNames = this.getProtocolBeaconNames(filter?.protocol);
20120
20096
  if (filter?.beaconName) beaconNames.push(filter.beaconName);
20121
20097
  const uniqueBeaconNames = [...new Set(beaconNames.filter((name) => name.length > 0))];
20122
20098
  const subgraphVaults = await this.subgraphVaultClient.getAllVaultsFromSubgraph({