@steerprotocol/sdk 3.6.0 → 3.7.0

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.
package/dist/index.cjs CHANGED
@@ -7,6 +7,7 @@ let decimal_js = require("decimal.js");
7
7
  //#region src/const/chain.ts
8
8
  let Chain = /* @__PURE__ */ function(Chain) {
9
9
  Chain["Polygon"] = "Polygon";
10
+ Chain["Arc"] = "Arc";
10
11
  Chain["Arbitrum"] = "Arbitrum";
11
12
  Chain["Optimism"] = "Optimism";
12
13
  Chain["BSC"] = "BSC";
@@ -61,6 +62,7 @@ let Chain = /* @__PURE__ */ function(Chain) {
61
62
  }({});
62
63
  const ChainId = {
63
64
  Polygon: 137,
65
+ Arc: 5042,
64
66
  Arbitrum: 42161,
65
67
  Optimism: 10,
66
68
  BSC: 56,
@@ -6412,6 +6414,54 @@ const apechainAddresses = {
6412
6414
  }
6413
6415
  };
6414
6416
  //#endregion
6417
+ //#region src/const/deployments/arc.ts
6418
+ const arcAddresses = {
6419
+ KeeperRegistry: {
6420
+ address: "0xE463a4A82881EF599fe8310f23ba8766Dcc448A3",
6421
+ startBlock: 21326564
6422
+ },
6423
+ Orchestrator: {
6424
+ address: "0x8725f2f77508EDd583C6f3840F88Db6A2d0Cf009",
6425
+ startBlock: 21326605
6426
+ },
6427
+ StrategyRegistry: {
6428
+ address: "0x08857cb7B2a481DB85984E32BdC03e95c0662eb6",
6429
+ startBlock: 21326585
6430
+ },
6431
+ VaultRegistry: {
6432
+ address: "0x52Db9bcb9EFdBAaa8E1D2326E0b69c57Bf14c333",
6433
+ startBlock: 21326644
6434
+ },
6435
+ BundleRegistry: {
6436
+ address: "0x6511080422911D210681f5618DBd50DEC3e954de",
6437
+ startBlock: 21326748
6438
+ },
6439
+ GasVault: {
6440
+ address: "0x0a271fc23BA4c6A4a668E7Ceef9aDE60C59f5Ec5",
6441
+ startBlock: 21326697
6442
+ },
6443
+ WhitelistRegistry: {
6444
+ address: "0x20B895F7C02e754AdC461e80b39a9e85f02e2bE3",
6445
+ startBlock: 21326621
6446
+ },
6447
+ SteerPeriphery: {
6448
+ address: "0x3e2135a491CD90Ed1e7313Bd8Efd51aba8018F69",
6449
+ startBlock: 21326728
6450
+ },
6451
+ StakingRewards: {
6452
+ address: "0xfdC6A32f2622be7Bf1481BFAC8bC6e35C42fD665",
6453
+ startBlock: 21326676
6454
+ },
6455
+ Helper: {
6456
+ address: "0xCD31EbF762A5d1F88399E692316903767DA06Cf9",
6457
+ startBlock: 21326630
6458
+ },
6459
+ FeeManager: {
6460
+ address: "0x83966243D6055b1A1157f800cBC9f5084162b871",
6461
+ startBlock: 21326767
6462
+ }
6463
+ };
6464
+ //#endregion
6415
6465
  //#region src/const/deployments/arbitrum.ts
6416
6466
  const arbitrumAddresses = {
6417
6467
  "BundleRegistry": {
@@ -8443,6 +8493,10 @@ const feeManagerContractsByChainId = {
8443
8493
  30: { address: "0xAa4448AeF5f5967693751BFB67197946BB6D1dC0" },
8444
8494
  40: { address: "0xE431A1dE6F37cD08AAA8821F83bD2157857E8172" },
8445
8495
  146: { address: "0x51aC65B177F084455750131A81706C32b466101D" },
8496
+ 5042: {
8497
+ address: "0x83966243D6055b1A1157f800cBC9f5084162b871",
8498
+ startBlock: 21326767
8499
+ },
8446
8500
  199: { address: "0xdca3251Ebe8f85458E8d95813bCb816460e4bef1" },
8447
8501
  314: { address: "0x0C5c5BEB833fD382b04e039f151942DC3D9A60ce" },
8448
8502
  1284: { address: "0xfF42cD42d8a5812CB38fb3C0720Dfc490912f48B" },
@@ -8483,6 +8537,15 @@ const networks = {
8483
8537
  wrappedNativeToken: "WETH",
8484
8538
  transactionType: 0
8485
8539
  },
8540
+ [Chain.Arc]: {
8541
+ address: "0x3600000000000000000000000000000000000000",
8542
+ name: Chain.Arc,
8543
+ wrappedNativeToken: "USDC",
8544
+ isWrappingEnabled: false,
8545
+ ...arcAddresses,
8546
+ chainId: ChainId.Arc,
8547
+ transactionType: 0
8548
+ },
8486
8549
  [Chain.Arbitrum]: {
8487
8550
  address: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
8488
8551
  name: Chain.Arbitrum,
@@ -9226,6 +9289,7 @@ const steerSubgraphConfig = {
9226
9289
  [Chain.Polygon]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-polygon/prod/gn",
9227
9290
  [Chain.BSC]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-bsc-beta/prod/gn",
9228
9291
  [Chain.Optimism]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/GgW1EwNARL3dyo3acQ3VhraQQ66MHT7QnYuGcQc5geDG",
9292
+ [Chain.Arc]: "https://api.goldsky.com/api/public/project_cm2k9xbkz4qg901vs51bm5uau/subgraphs/steer-protocol-arc-mainnet/prod/gn",
9229
9293
  [Chain.Arbitrum]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-arbitrum/prod/gn",
9230
9294
  [Chain.Evmos]: offlineSubgraphUrl("evmos"),
9231
9295
  [Chain.Thundercore]: offlineSubgraphUrl("thundercore"),
@@ -9272,7 +9336,7 @@ const steerSubgraphConfig = {
9272
9336
  [Chain.Saga]: offlineSubgraphUrl("saga"),
9273
9337
  [Chain.Nibiru]: offlineSubgraphUrl("nibiru"),
9274
9338
  [Chain.Hyperevm]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-hyperevm/prod/gn",
9275
- [Chain.Bittensor]: "https://subgraph.35-247-158-26.sslip.io/subgraphs/name/steer-subgraph",
9339
+ [Chain.Bittensor]: "https://subgraphs.steer.finance/subgraphs/name/steer-subgraph/graphql",
9276
9340
  [Chain.Robinhood]: "https://api.goldsky.com/api/public/project_cm2k9xbkz4qg901vs51bm5uau/subgraphs/steer-protocol-robinhood/prod/gn"
9277
9341
  };
9278
9342
  /**
@@ -14918,7 +14982,7 @@ const nestVaultConfig = () => ({
14918
14982
  //#region src/const/amm/configs/protocols/bittensor-univ3.ts
14919
14983
  const bittensorUniV3Config = () => ({
14920
14984
  beaconContract: MultiPositionManagers.MultiPositionBittensorUniV3,
14921
- subgraph: { [Chain.Bittensor]: "https://subgraph.35-247-158-26.sslip.io/subgraphs/name/uniswap-v3-bittensor" },
14985
+ subgraph: { [Chain.Bittensor]: "https://subgraphs.steer.finance/subgraphs/name/uniswap-v3-bittensor/graphql" },
14922
14986
  factoryAddress: { [Chain.Bittensor]: "0xfB30AE7542a5E8A5BC134128c0c9dEb4646a2508" },
14923
14987
  NFTManagerAddress: { [Chain.Bittensor]: "0x32aF22F550bB1E9dd1382BEaBb0E3e6bb12fA549" },
14924
14988
  swapRouterAddress: { [Chain.Bittensor]: "0xa0a90ebB2A57083d06146D86d99a2eED3378359d" },
@@ -15089,8 +15153,14 @@ const katanaIntegralConfig = () => ({
15089
15153
  const aerodromeConfig = (theGraphApiKey) => ({
15090
15154
  beaconContract: MultiPositionManagers.MultiPositionAerodrome,
15091
15155
  subgraph: { [Chain.Base]: getTheGraphResolverUrl("GENunSHWLBXm59mBSgPzQ8metBEp9YDfdqwFr91Av1UM", false, theGraphApiKey) },
15092
- factoryAddress: { [Chain.Base]: "0x5e7BB104d84c7CB9B682AaC2F3d509f5F406809A" },
15093
- TickLensAddress: { [Chain.Base]: "0x49a3A5cf91DE1b78c43Dc1adD03E8A71f1Ea2e30" },
15156
+ factoryAddress: {
15157
+ [Chain.Arc]: "0xb89Df768aF2CFE637ceB352c587Fe8edAf491d03",
15158
+ [Chain.Base]: "0x5e7BB104d84c7CB9B682AaC2F3d509f5F406809A"
15159
+ },
15160
+ TickLensAddress: {
15161
+ [Chain.Base]: "0x49a3A5cf91DE1b78c43Dc1adD03E8A71f1Ea2e30",
15162
+ [Chain.Arc]: "0xC6679cC98acC7C7Da0E3cb1766FB6cafC2110Bfb"
15163
+ },
15094
15164
  QuoterV2Address: { [Chain.Base]: "0x254cF9E1E6e233aa1AC962CB9B05b2cfeAaE15b0" }
15095
15165
  });
15096
15166
  //#endregion
@@ -28919,6 +28989,7 @@ exports.algebraPoolBaseAbi = algebraPoolBaseAbi;
28919
28989
  exports.apechainAddresses = apechainAddresses;
28920
28990
  exports.arbitrumAddresses = arbitrumAddresses;
28921
28991
  exports.arbitrumgoerliAddresses = arbitrumgoerliAddresses;
28992
+ exports.arcAddresses = arcAddresses;
28922
28993
  exports.arthswapConfig = arthswapConfig;
28923
28994
  exports.assertAerodromeSlipstreamInitialPrice = assertAerodromeSlipstreamInitialPrice;
28924
28995
  exports.assertAlgebraInitialPrice = assertAlgebraInitialPrice;