impermax-sdk 2.1.379 → 2.1.381

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.
@@ -2,6 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WHITELIST_SUBGRAPH_URL = exports.CONFIG_MANAGER_SUBGRAPH_URL = exports.XIBEX_SUBGRAPH_URL = exports.BLOCKS_SUBGRAPH_URL = exports.IMPERMAX_CHEF_SUBGRAPH_URL = exports.VAULT_SUBGRAPH_URL = exports.IMPERMAX_SUBGRAPH_URL = void 0;
4
4
  const types_1 = require("./types");
5
+ // NOTE: Disabled railway endpoints on May 22 2025 to reduce costs. Redundancy only on these:
6
+ // - FactoryV2: Sonic/Base/Optimism
7
+ // - FactoryV3: Arbitrum/Base
8
+ // - LendingVaults: Polygon/Arbitrum/Blast/Sonic/Base/Scroll
5
9
  // @ts-ignore
6
10
  exports.IMPERMAX_SUBGRAPH_URL = {
7
11
  [types_1.Networks.Ropsten]: {},
@@ -13,37 +17,26 @@ exports.IMPERMAX_SUBGRAPH_URL = {
13
17
  [types_1.Networks.Polygon]: {
14
18
  [types_1.Factory.V2V1_1]: [
15
19
  "https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/F3BfecWo2by5QKrwhkXwuXjyLZnQqJ1wqoejwe67KuyG",
16
- // Temp fix
17
- //"https://polygon-factory-production.up.railway.app/"
18
20
  ],
19
21
  [types_1.Factory.V2V2]: [
20
22
  "https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/5JbuAaWwyRm78yWpRCJJS217hXXft59g9MbsjTTZnYQa",
21
- // Temp fix
22
- //"https://polygon-factory-production.up.railway.app/"
23
23
  ],
24
24
  [types_1.Factory.SOLV2]: [
25
25
  "https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/Giwg5N4SCehmUzNwXtAQZnZvUuTjcp7cr3nzUZosRDFU",
26
- "https://polygon-factory-production.up.railway.app/"
27
26
  ],
28
27
  [types_1.Factory.SOL_STABLE]: [
29
28
  "https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/EWckMdMiZeDSGHxq2V8gZBDF549Xjr9iKkPvisqckF11",
30
- "https://polygon-factory-production.up.railway.app/"
31
29
  ],
32
30
  },
33
31
  [types_1.Networks.Arbitrum]: {
34
32
  [types_1.Factory.V2V1_1]: [
35
33
  "https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/3PMyaq269mDMwhJ7E285RYD1r43x996b6xZmJSCGvtkm",
36
- // Temp fix for arbitrum v1 subgraph
37
- //"https://arbitrum-factory-production.up.railway.app/"
38
34
  ],
39
35
  [types_1.Factory.V2V2]: [
40
36
  "https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/BkMRb8mR5zgCbjFSgau6s27pnANhR6k64RGVKUbWaZdY",
41
- // Temp fix for arbitrum v2 subgraph
42
- //"https://arbitrum-factory-production.up.railway.app/"
43
37
  ],
44
38
  [types_1.Factory.SOLV2]: [
45
39
  "https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/AdLbcSfG6JnpZ7RDdHNHq3bJ21waGnRi7AJ5x3YFGYFo",
46
- "https://arbitrum-factory-production.up.railway.app/"
47
40
  ],
48
41
  [types_1.Factory.V3]: [
49
42
  "https://arbitrum-factory-v3-production.up.railway.app/",
@@ -52,17 +45,12 @@ exports.IMPERMAX_SUBGRAPH_URL = {
52
45
  [types_1.Networks.Avalanche]: {
53
46
  [types_1.Factory.V2V1_2]: [
54
47
  "https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/HXhHppWXhFqgLfdmTahFj2x7F5Xq8BwADxGY3nbCUAwr",
55
- // Temp fix
56
- //"https://avalanche-factory-production.up.railway.app/"
57
48
  ],
58
49
  [types_1.Factory.V2V2]: [
59
50
  "https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/8Gz5ZGyRkSA7WBrSteeyez39AgZQsoEbtXe8GtHD7JMQ",
60
- // Temp fix
61
- //"https://avalanche-factory-production.up.railway.app/"
62
51
  ],
63
52
  [types_1.Factory.SOLV2]: [
64
53
  "https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/78e6cZp11r2coLx8YYo5y4AqzEhQXYT6sw3Bg5Tiy5XU",
65
- "https://avalanche-factory-production.up.railway.app/"
66
54
  ],
67
55
  },
68
56
  [types_1.Networks.Mantle]: {
@@ -96,7 +84,6 @@ exports.IMPERMAX_SUBGRAPH_URL = {
96
84
  [types_1.Networks.ZksyncEra]: {
97
85
  [types_1.Factory.SOLV2]: [
98
86
  "https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/8YSS88X8ChDw1QvuAMtxjezSXNiYer9k9d3Uu8XFLHzX",
99
- "https://zksync-factory-production.up.railway.app/"
100
87
  ],
101
88
  },
102
89
  [types_1.Networks.Harmony]: {},
@@ -105,11 +92,9 @@ exports.IMPERMAX_SUBGRAPH_URL = {
105
92
  [types_1.Networks.Blast]: {
106
93
  [types_1.Factory.SOLV2]: [
107
94
  "https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/4FDikpVjE2XnDJ5QcpQ1YJXWcUDiAgE7x8ErtsHh33UB",
108
- "https://blast-factory-production.up.railway.app/"
109
95
  ],
110
96
  [types_1.Factory.V2V2]: [
111
97
  "https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/6xkrXFPJ4wqh9cy9ayP19WGr2wZVSMP3FniMjcW2LUG4",
112
- "https://blast-factory-production.up.railway.app/"
113
98
  ],
114
99
  },
115
100
  [types_1.Networks.Base]: {
@@ -132,11 +117,9 @@ exports.IMPERMAX_SUBGRAPH_URL = {
132
117
  [types_1.Networks.Scroll]: {
133
118
  [types_1.Factory.SOLV2]: [
134
119
  "https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/9HL6kLRt3AbQsprTvk7KZdaHunJ5GGsLdYWd27nNfCFC",
135
- "https://scroll-factory-production.up.railway.app/"
136
120
  ],
137
121
  [types_1.Factory.SOL_STABLE]: [
138
122
  "https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/C42ymmkDArE1T5wdYKwao6mntqNSjP2E34TeGusiF3sk",
139
- "https://scroll-factory-production.up.railway.app/"
140
123
  ],
141
124
  },
142
125
  [types_1.Networks.Optimism]: {
@@ -169,11 +152,9 @@ exports.IMPERMAX_SUBGRAPH_URL = {
169
152
  [types_1.Networks.Linea]: {
170
153
  [types_1.Factory.SOLV2]: [
171
154
  'https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/AyFSeFRAtUm4aY3cb1zTJqoMjcgSNrRipucuSxkEZ1v9',
172
- 'https://linea-factory-production.up.railway.app/'
173
155
  ],
174
156
  [types_1.Factory.SOL_STABLE]: [
175
157
  'https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/Ah5k6hzS9YicNHWuA4Uts9MQQQGbPLDtwD8tYjKaX8Ls',
176
- 'https://linea-factory-production.up.railway.app/'
177
158
  ]
178
159
  }
179
160
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impermax-sdk",
3
- "version": "2.1.379",
3
+ "version": "2.1.381",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",