impermax-sdk 1.2.137 → 1.2.138

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.XIMX_SUBGRAPH_URL = exports.BLOCKS_SUBGRAPH_URL = exports.LENDING_VAULT_SUBGRAPH_URL = exports.IMPERMAX_CHEF_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,53 +17,37 @@ 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
  },
49
42
  [types_1.Networks.Avalanche]: {
50
43
  [types_1.Factory.V2V1_2]: [
51
44
  "https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/HXhHppWXhFqgLfdmTahFj2x7F5Xq8BwADxGY3nbCUAwr",
52
- // Temp fix
53
- //"https://avalanche-factory-production.up.railway.app/"
54
45
  ],
55
46
  [types_1.Factory.V2V2]: [
56
47
  "https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/8Gz5ZGyRkSA7WBrSteeyez39AgZQsoEbtXe8GtHD7JMQ",
57
- // Temp fix
58
- //"https://avalanche-factory-production.up.railway.app/"
59
48
  ],
60
49
  [types_1.Factory.SOLV2]: [
61
50
  "https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/78e6cZp11r2coLx8YYo5y4AqzEhQXYT6sw3Bg5Tiy5XU",
62
- "https://avalanche-factory-production.up.railway.app/"
63
51
  ],
64
52
  },
65
53
  [types_1.Networks.Mantle]: {
@@ -93,7 +81,6 @@ exports.IMPERMAX_SUBGRAPH_URL = {
93
81
  [types_1.Networks.ZksyncEra]: {
94
82
  [types_1.Factory.SOLV2]: [
95
83
  "https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/8YSS88X8ChDw1QvuAMtxjezSXNiYer9k9d3Uu8XFLHzX",
96
- "https://zksync-factory-production.up.railway.app/"
97
84
  ],
98
85
  },
99
86
  [types_1.Networks.Harmony]: {},
@@ -102,11 +89,9 @@ exports.IMPERMAX_SUBGRAPH_URL = {
102
89
  [types_1.Networks.Blast]: {
103
90
  [types_1.Factory.SOLV2]: [
104
91
  "https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/4FDikpVjE2XnDJ5QcpQ1YJXWcUDiAgE7x8ErtsHh33UB",
105
- "https://blast-factory-production.up.railway.app/"
106
92
  ],
107
93
  [types_1.Factory.V2V2]: [
108
94
  "https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/6xkrXFPJ4wqh9cy9ayP19WGr2wZVSMP3FniMjcW2LUG4",
109
- "https://blast-factory-production.up.railway.app/"
110
95
  ],
111
96
  },
112
97
  [types_1.Networks.Base]: {
@@ -126,11 +111,9 @@ exports.IMPERMAX_SUBGRAPH_URL = {
126
111
  [types_1.Networks.Scroll]: {
127
112
  [types_1.Factory.SOLV2]: [
128
113
  "https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/9HL6kLRt3AbQsprTvk7KZdaHunJ5GGsLdYWd27nNfCFC",
129
- "https://scroll-factory-production.up.railway.app/"
130
114
  ],
131
115
  [types_1.Factory.SOL_STABLE]: [
132
116
  "https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/C42ymmkDArE1T5wdYKwao6mntqNSjP2E34TeGusiF3sk",
133
- "https://scroll-factory-production.up.railway.app/"
134
117
  ],
135
118
  },
136
119
  [types_1.Networks.Optimism]: {
@@ -152,22 +135,20 @@ exports.IMPERMAX_SUBGRAPH_URL = {
152
135
  },
153
136
  [types_1.Networks.Sonic]: {
154
137
  [types_1.Factory.SOLV2]: [
138
+ 'https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/HK9BA4oFp1xaoQW7YVP4m2nbxX7q2bQCZWNPKBtudtZR',
155
139
  'https://sonic-factory-production.up.railway.app/',
156
- 'https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/HK9BA4oFp1xaoQW7YVP4m2nbxX7q2bQCZWNPKBtudtZR'
157
140
  ],
158
141
  [types_1.Factory.SOL_STABLE]: [
142
+ 'https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/61ZJXkM5uRGntP1HZkmH4iaKRzsf1BBhQdZYi9euLkpM',
159
143
  'https://sonic-factory-production.up.railway.app/',
160
- 'https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/61ZJXkM5uRGntP1HZkmH4iaKRzsf1BBhQdZYi9euLkpM'
161
144
  ]
162
145
  },
163
146
  [types_1.Networks.Linea]: {
164
147
  [types_1.Factory.SOLV2]: [
165
148
  'https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/AyFSeFRAtUm4aY3cb1zTJqoMjcgSNrRipucuSxkEZ1v9',
166
- 'https://linea-factory-production.up.railway.app/'
167
149
  ],
168
150
  [types_1.Factory.SOL_STABLE]: [
169
151
  'https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/Ah5k6hzS9YicNHWuA4Uts9MQQQGbPLDtwD8tYjKaX8Ls',
170
- 'https://linea-factory-production.up.railway.app/'
171
152
  ]
172
153
  }
173
154
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impermax-sdk",
3
- "version": "1.2.137",
3
+ "version": "1.2.138",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",