@steerprotocol/sdk 3.0.25 → 3.1.0-test-archived-subgraph-support.1

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,7 +255,6 @@ 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
258
  return MultiPositionManagers;
260
259
  }({});
261
260
  const AlgebgraHookBeacons = [MultiPositionManagers.MultiPositionHenjinAlgebraHook, MultiPositionManagers.AlgebraHook];
@@ -9144,54 +9143,56 @@ const deprecatedBundlesURL = "https://api.steer.finance/deprecated-bundles";
9144
9143
  * Each chain has a dedicated subgraph URL for querying protocol data.
9145
9144
  * Updated each chains for ormi and thegraph
9146
9145
  */
9146
+ const offlineSubgraphBaseUrl = "https://steer-subgraph-archive.shine-lamb.workers.dev/graphql";
9147
+ const offlineSubgraphUrl = (chain) => `${offlineSubgraphBaseUrl}/${chain}`;
9147
9148
  const steerSubgraphConfig = {
9148
9149
  [Chain.Polygon]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-polygon/prod/gn",
9149
9150
  [Chain.BSC]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-bsc-beta/prod/gn",
9150
9151
  [Chain.Optimism]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/GgW1EwNARL3dyo3acQ3VhraQQ66MHT7QnYuGcQc5geDG",
9151
9152
  [Chain.Arbitrum]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-arbitrum/prod/gn",
9152
- [Chain.Evmos]: "https://subgraph.satsuma-prod.com/769a117cc018/steer/steer-protocol-evmos/api",
9153
- [Chain.Thundercore]: "https://subgraph.steer.finance/thundercore/subgraphs/name/steerprotocol/steer-thundercore",
9154
- [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"),
9155
9156
  [Chain.Base]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-base/beta/gn",
9156
9157
  [Chain.Avalanche]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/GZotTj3rQJ8ZqVyodtK8TcnKcUxMgeF7mCJHGPYbu8dA",
9157
- [Chain.PolygonzkEVM]: "https://api.goldsky.com/api/public/project_clohj3ta78ok12nzs5m8yag0b/subgraphs/steer-protocol-polygon-zkevm/prod/gn",
9158
+ [Chain.PolygonzkEVM]: offlineSubgraphUrl("zkevm"),
9158
9159
  [Chain.Celo]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/BPaFHyfVrhv3pdjGodpQcWggAg1Bcrvc9SFc2t2BXeho",
9159
- [Chain.Kava]: "https://api.goldsky.com/api/public/project_clohj3ta78ok12nzs5m8yag0b/subgraphs/steer-protocol-kava/prod/gn",
9160
+ [Chain.Kava]: offlineSubgraphUrl("kava"),
9160
9161
  [Chain.Linea]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-linea/prod/gn",
9161
- [Chain.Scroll]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/822PfgbgBzC98Huwf37uxvF9YGZMA5nDeETpstkR55Sn",
9162
- [Chain.Manta]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-manta/prod/gn",
9163
- [Chain.Astar]: "https://api.goldsky.com/api/public/project_clohj3ta78ok12nzs5m8yag0b/subgraphs/steer-protocol-astar/prod/gn",
9164
- [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"),
9165
9166
  [Chain.OkxTestnet]: "https://subgraph.steer.finance/steer-x1-testnet/subgraphs/name/steerprotocol/steer-okxtestnet",
9166
- [Chain.Mantle]: "https://subgraph-api.mantle.xyz/subgraphs/name/steerprotocol/steer-protocol-mantle",
9167
- [Chain.AstarZkevm]: "https://api.goldsky.com/api/public/project_clohj3ta78ok12nzs5m8yag0b/subgraphs/steer-protocol-astar-zkevm/1.1.1/gn",
9168
- [Chain.Blast]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-blast/prod/gn",
9169
- [Chain.Mode]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-mode/prod/gn",
9170
- [Chain.Telos]: "https://telos.api.ormilabs.com/api/public/39892398-bfdd-48ac-b776-77ad8a5b4b9e/subgraphs/steer-protocol-telos/prod/gn",
9171
- [Chain.XLayer]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/8gCrUHrVS9rHwvDPLTn4Wz6od68ULb7azYuQz25JjRK3",
9172
- [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"),
9173
9174
  [Chain.Rootstock]: "https://api.goldsky.com/api/public/project_cm2k9xbkz4qg901vs51bm5uau/subgraphs/steer-protocol-rootstock/prod/gn",
9174
- [Chain.ZklinkNova]: "https://api.goldsky.com/api/public/project_cmmz9rcn2gc0j01w36xbo3wcn/subgraphs/steer-protocol-zklink-nova/prod/gn",
9175
+ [Chain.ZklinkNova]: offlineSubgraphUrl("zklinknova"),
9175
9176
  [Chain.Flare]: "https://api.goldsky.com/api/public/project_cm2k9xbkz4qg901vs51bm5uau/subgraphs/steer-protocol-flare/prod/gn",
9176
- [Chain.BeraChainBartio]: "https://api.goldsky.com/api/public/project_clohj3ta78ok12nzs5m8yag0b/subgraphs/steer-protocol-berachain-bartio/prod/gn",
9177
- [Chain.Filecoin]: "https://api.goldsky.com/api/public/project_cmmz8w4e274al01vsa0wa7cj3/subgraphs/steer-protocol-filecoin/prod/gn",
9178
- [Chain.Apechain]: "https://apeapi.0xgraph.xyz/api/public/4ea21b03-9850-4796-8068-ec71bbe022db/subgraphs/steer-protocol-apechain/prod/gn",
9179
- [Chain.Zircuit]: "https://app.sentio.xyz/api/v1/graphql/rakesh/steer-protocol-zircuit?version=3",
9180
- [Chain.Moonbeam]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/4D2pLLQuGsAkdZAUgqxxnk4Mcu3aMjEV1HJ2F63kC7w6",
9181
- [Chain.Sei]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/6uQm26z2NM2eV56sjZmVezUjBAC8jMx683B1cUencDwt",
9182
- [Chain.Sonic]: "https://api.0xgraph.xyz/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-sonic/prod/gn",
9183
- [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"),
9184
9185
  [Chain.Mainnet]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-mainnet/prod/gn",
9185
- [Chain.Soneium]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/8gCrUHrVS9rHwvDPLTn4Wz6od68ULb7azYuQz25JjRK3",
9186
+ [Chain.Soneium]: offlineSubgraphUrl("soneium"),
9186
9187
  [Chain.Bera]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-bera/prod/gn",
9187
9188
  [Chain.Unichain]: "https://api.goldsky.com/api/public/project_cmnrgd4exaie801sa45a1609h/subgraphs/steer-protocol-unichain/prod/gn",
9188
- [Chain.Hemi]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/2eACJtEGuELqN5roUiHG1jqmCpXt5aimcc8xZdvtMv4z",
9189
- [Chain.TataraTestnet]: "https://api.studio.thegraph.com/query/78728/steer-protocol-tatara-testnet/version/latest",
9190
- [Chain.Core]: "https://thegraph.coredao.org/subgraphs/name/steer-protocol-core",
9191
- [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"),
9192
9193
  [Chain.Katana]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-katana/prod/gn",
9193
- [Chain.Ronin]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/793Lz5oiK51wdm9kCLtHqunkAPk2qjg7denpCrHqrLcA",
9194
- [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"),
9195
9196
  [Chain.Nibiru]: "https://app.sentio.xyz//api/v1/graphql/rakesh/steer-protocol-nibiru",
9196
9197
  [Chain.Hyperevm]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-hyperevm/prod/gn",
9197
9198
  [Chain.Bittensor]: "https://subgraph.35-247-158-26.sslip.io/subgraphs/name/steer-subgraph"
@@ -14973,13 +14974,10 @@ const aerodromeV2Config = (theGraphApiKey) => ({
14973
14974
  //#region src/const/amm/configs/protocols/cypher.ts
14974
14975
  const cypherConfig = (theGraphApiKey) => ({
14975
14976
  beaconContract: MultiPositionManagers.MultiPositionCypher,
14976
- algebraHookSupportedChains: [Chain.Mainnet],
14977
- beaconAlgebraHook: MultiPositionManagers.TestCypherAlgebraIntegralHook,
14978
14977
  subgraph: { [Chain.Mainnet]: getTheGraphResolverUrl("8knsFRJjoEtsRECVSdxhfbvidipCMdBjXx1hQmMRujHx", false, theGraphApiKey) },
14979
14978
  factoryAddress: { [Chain.Mainnet]: "0xfb8Ed3485EfA29a0e4bed93351dD51B59fC4b0f0" },
14980
14979
  TickLensAddress: { [Chain.Mainnet]: "0x4DA465E96E586B127ac0c8d02871Aa73F226cCC4" },
14981
- Quoter: { [Chain.Mainnet]: "0xeae871C4a8dD267146558C362c86805FB7e3Fd2F" },
14982
- EntryPointAddress: { [Chain.Mainnet]: "0x79616564DB0294ecBa5912f1cE985FD1c11eeF51" }
14980
+ Quoter: { [Chain.Mainnet]: "0xeae871C4a8dD267146558C362c86805FB7e3Fd2F" }
14983
14981
  });
14984
14982
  //#endregion
14985
14983
  //#region src/const/amm/configs/protocols/spark-integral.ts
@@ -15289,8 +15287,7 @@ const CUSTOM_BEACON_TO_PROTOCOL_MAP = {
15289
15287
  [MultiPositionManagers.MultiPositionHenjinAlgebraHook]: Protocol.Henjin,
15290
15288
  [MultiPositionManagers.MultiPositionBittensorUniV3]: Protocol.BittensorUniV3,
15291
15289
  [MultiPositionManagers.MultiPositionAerodromeV3]: Protocol.AerodromeV3,
15292
- [MultiPositionManagers.MultiPositionReserveV4]: Protocol.UniswapV4,
15293
- [MultiPositionManagers.TestCypherAlgebraIntegralHook]: Protocol.Cypher
15290
+ [MultiPositionManagers.MultiPositionReserveV4]: Protocol.UniswapV4
15294
15291
  };
15295
15292
  /**`
15296
15293
  * Retrieves the beacon name associated with a given protocol.