impermax-sdk 1.2.135 → 1.2.137
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/lib/config/subgraphs.js
CHANGED
|
@@ -199,8 +199,8 @@ exports.IMPERMAX_CHEF_SUBGRAPH_URL = {
|
|
|
199
199
|
exports.LENDING_VAULT_SUBGRAPH_URL = {
|
|
200
200
|
[types_1.Networks.Ropsten]: '',
|
|
201
201
|
[types_1.Networks.Mainnet]: '',
|
|
202
|
-
[types_1.Networks.Polygon]: 'https://gateway.thegraph.com/api/
|
|
203
|
-
[types_1.Networks.Arbitrum]: 'https://gateway.thegraph.com/api/
|
|
202
|
+
[types_1.Networks.Polygon]: 'https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/BNWJQpKBT24mYzLYZ7hdBiJpvfBoEwjSemNkQ1Rryknp',
|
|
203
|
+
[types_1.Networks.Arbitrum]: 'https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/BhmcL1CZmw9hftXPviiTeMY7kghbbkpHZtpiHXWVhNNN',
|
|
204
204
|
[types_1.Networks.Avalanche]: '',
|
|
205
205
|
[types_1.Networks.Moonriver]: '',
|
|
206
206
|
[types_1.Networks.Fantom]: '',
|
|
@@ -211,13 +211,13 @@ exports.LENDING_VAULT_SUBGRAPH_URL = {
|
|
|
211
211
|
[types_1.Networks.Sxnetwork]: '',
|
|
212
212
|
[types_1.Networks.Canto]: '',
|
|
213
213
|
[types_1.Networks.ZksyncEra]: '',
|
|
214
|
-
[types_1.Networks.Blast]: 'https://gateway.thegraph.com/api/
|
|
215
|
-
[types_1.Networks.Base]: 'https://gateway.thegraph.com/api/
|
|
214
|
+
[types_1.Networks.Blast]: 'https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/8UbzkWkh1zqWhkgkomcVAVR7tmvDNq9LUtfmvRwtDQTh',
|
|
215
|
+
[types_1.Networks.Base]: 'https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/2TdbQKGWPRHUwuHJgxQzh8kZ7FVpBgZaFtnbjTS6iYng',
|
|
216
216
|
[types_1.Networks.Mantle]: '',
|
|
217
217
|
[types_1.Networks.Optimism]: '',
|
|
218
218
|
[types_1.Networks.Real]: '',
|
|
219
|
-
[types_1.Networks.Scroll]: 'https://gateway.thegraph.com/api/
|
|
220
|
-
[types_1.Networks.Sonic]: 'https://gateway.thegraph.com/api/
|
|
219
|
+
[types_1.Networks.Scroll]: 'https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/BaPMX2ubiRZ4ujqTFmWyrk72fPo6yFLQ7A5Z4BLXCTFU',
|
|
220
|
+
[types_1.Networks.Sonic]: 'https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/AHj91C4xwYSfyHAnZiMa1pC4ZwRtzqG3QGVyJchEsJAC',
|
|
221
221
|
[types_1.Networks.Linea]: '',
|
|
222
222
|
};
|
|
223
223
|
exports.BLOCKS_SUBGRAPH_URL = {
|
|
@@ -248,25 +248,25 @@ exports.XIMX_SUBGRAPH_URL = "https://api.thegraph.com/subgraphs/name/impermax-fi
|
|
|
248
248
|
exports.CONFIG_MANAGER_SUBGRAPH_URL = {
|
|
249
249
|
[types_1.Networks.Ropsten]: '',
|
|
250
250
|
[types_1.Networks.Mainnet]: '',
|
|
251
|
-
[types_1.Networks.Polygon]: 'https://gateway.thegraph.com/api/
|
|
251
|
+
[types_1.Networks.Polygon]: 'https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/42W3457WecJ4foXk3tBeVpmX8MUHS3L8qXvUvhDSE6p2',
|
|
252
252
|
[types_1.Networks.Arbitrum]: '',
|
|
253
253
|
[types_1.Networks.Avalanche]: '',
|
|
254
254
|
[types_1.Networks.Moonriver]: '',
|
|
255
255
|
[types_1.Networks.Aurora]: '',
|
|
256
256
|
[types_1.Networks.Cronos]: '',
|
|
257
|
-
[types_1.Networks.Fantom]: 'https://gateway.thegraph.com/api/
|
|
257
|
+
[types_1.Networks.Fantom]: 'https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/D6WHTfFEaUkHyLavPQM5BcivWYMe41Aj6PbdaKhKdfUm',
|
|
258
258
|
[types_1.Networks.Canto]: '',
|
|
259
259
|
[types_1.Networks.ZksyncEra]: '',
|
|
260
260
|
[types_1.Networks.Harmony]: '',
|
|
261
261
|
[types_1.Networks.Moonbeam]: '',
|
|
262
262
|
[types_1.Networks.Sxnetwork]: '',
|
|
263
|
-
[types_1.Networks.Blast]: 'https://gateway.thegraph.com/api/
|
|
264
|
-
[types_1.Networks.Scroll]: 'https://gateway.thegraph.com/api/
|
|
265
|
-
[types_1.Networks.Base]: 'https://gateway.thegraph.com/api/
|
|
266
|
-
[types_1.Networks.Optimism]: 'https://gateway.thegraph.com/api/
|
|
263
|
+
[types_1.Networks.Blast]: 'https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/2ARmGYURb2DAHxfJeA1fhVUDeJpHSvCoJTDiBfmTvESN',
|
|
264
|
+
[types_1.Networks.Scroll]: 'https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/9vmJatgwfrm7MMWXy3MhAZ2bsbrbbHzik9q9f5hfzZE9',
|
|
265
|
+
[types_1.Networks.Base]: 'https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/6y4Bb2KSFsqyjbARM8EpKkqFRt62ELasVCVckg2bv7jB',
|
|
266
|
+
[types_1.Networks.Optimism]: 'https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/GWFrv8MNg5fpD19fxdu32G1Wt6om8qb1wbacpgHDyvC8',
|
|
267
267
|
[types_1.Networks.Real]: 'https://api.goldsky.com/api/public/project_cm2d5q4l4w31601vz4swb3vmi/subgraphs/impermax-config-manager-real/1.0/gn',
|
|
268
|
-
[types_1.Networks.Sonic]: 'https://gateway.thegraph.com/api/
|
|
269
|
-
[types_1.Networks.Linea]: 'https://gateway.thegraph.com/api/
|
|
268
|
+
[types_1.Networks.Sonic]: 'https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/DqzQAecRNGsoRgwVre16Fha9XTPFf9QBo8iZxubysy2x',
|
|
269
|
+
[types_1.Networks.Linea]: 'https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/subgraphs/id/CKu5kt4M1p2ELhn7cef9ZjE9igMH2icv3mzBepEdNPRz',
|
|
270
270
|
};
|
|
271
271
|
exports.WHITELIST_SUBGRAPH_URL = {
|
|
272
272
|
[types_1.Networks.Ropsten]: '',
|
|
@@ -162,6 +162,7 @@ class OffchainPriceHelper {
|
|
|
162
162
|
offchainTokenPrice["0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83"] = 0;
|
|
163
163
|
offchainTokenPrice["0xc19669a405067927865b40ea045a2baabbbe57f5"] = 0;
|
|
164
164
|
offchainTokenPrice["0x3fd3a0c85b70754efc07ac9ac0cbbdce664865a6"] = 0;
|
|
165
|
+
offchainTokenPrice["0xd4aa386bfceeedd9de0875b3ba07f51808592e22"] = 0; // temp fix for eliteRingsUSDC, fetch from dexscreener
|
|
165
166
|
//offchainTokenPrice["0xad531012c0651a85a212f10fc97b3ec15684548a"] = 0;
|
|
166
167
|
return offchainTokenPrice;
|
|
167
168
|
}
|