impermax-sdk 1.2.79 → 1.2.80

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.
@@ -22,6 +22,7 @@ export declare const CONFIG_MANAGER_SUBGRAPH_URL: {
22
22
  scroll: string;
23
23
  base: string;
24
24
  optimism: string;
25
+ "re.al": string;
25
26
  };
26
27
  export declare const WHITELIST_SUBGRAPH_URL: {
27
28
  ropsten: string;
@@ -143,6 +143,7 @@ exports.CONFIG_MANAGER_SUBGRAPH_URL = {
143
143
  [types_1.Networks.Scroll]: 'https://api.studio.thegraph.com/query/46041/impermax-config-manager-scroll/v0.0.1',
144
144
  [types_1.Networks.Base]: 'https://api.studio.thegraph.com/query/46041/impermax-config-manager-base/v0.0.1',
145
145
  [types_1.Networks.Optimism]: 'https://api.studio.thegraph.com/query/46041/impermax-config-manager-op/v0.0.1',
146
+ [types_1.Networks.Real]: 'https://api.goldsky.com/api/public/project_cm2d5q4l4w31601vz4swb3vmi/subgraphs/impermax-config-manager-real/1.0/gn',
146
147
  };
147
148
  exports.WHITELIST_SUBGRAPH_URL = {
148
149
  [types_1.Networks.Ropsten]: '',
@@ -286,6 +286,9 @@ class OffchainPriceHelper {
286
286
  if (tokenAddress.toLowerCase() === '0xb79dd08ea68a908a97220c76d19a6aa9cbde4376') { // TEMPORARY fix for usd+
287
287
  return 1;
288
288
  }
289
+ if (tokenAddress.toLowerCase() === '0xc518a88c67ceca8b3f24c4562cb71deeb2af86b7') { // TEMPORARY fix for re.al usdc
290
+ return 1;
291
+ }
289
292
  if (tokenAddress.toLowerCase() === '0xc71aaf8e486e3f33841bb56ca3fd2ac3fa8d29a8') { // TEMPORARY fix for WSTETH Canto
290
293
  return (yield this.getDebankTokenPrice('0x5fd55a1b9fc24967c4db09c513c3ba0dfa7ff687')) * 1.12;
291
294
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impermax-sdk",
3
- "version": "1.2.79",
3
+ "version": "1.2.80",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",