impermax-sdk 1.2.50 → 1.2.52

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.
@@ -17,7 +17,7 @@ exports.LENDING_VAULT_WATCHER = {
17
17
  [types_1.Networks.Sxnetwork]: '',
18
18
  [types_1.Networks.Canto]: '',
19
19
  [types_1.Networks.ZksyncEra]: '',
20
- [types_1.Networks.Base]: '',
20
+ [types_1.Networks.Base]: '0x1c79103cEc595b8af673Cd41271861FFA3B2BEDA',
21
21
  [types_1.Networks.Mantle]: '',
22
- [types_1.Networks.Scroll]: '',
22
+ [types_1.Networks.Scroll]: '0x0774eBA9e1b20B0f191AbC59a5798838F4bd938c',
23
23
  };
@@ -44,7 +44,8 @@ const coingecko_ids = {
44
44
  "0x940181a94a35a4569e4529a3cdfb74e38fd98631": "aerodrome-finance",
45
45
  "0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed": "degen-base",
46
46
  "0x4200000000000000000000000000000000000006": "ethereum",
47
- "0x54016a4848a38f257b6e96331f7404073fd9c32c": "equalizer-base"
47
+ "0x54016a4848a38f257b6e96331f7404073fd9c32c": "equalizer-base",
48
+ "0xa3d1a8deb97b111454b294e2324efad13a9d8396": "overnight-finance"
48
49
  };
49
50
  const dexscreener_ids = {
50
51
  // ibex on scroll
@@ -193,6 +194,9 @@ class OffchainPriceHelper {
193
194
  if (tokenAddress.toLowerCase() === '0x2fc5cf65fd0a660801f119832b2158756968266d') { // TEMPORARY fix for CHI
194
195
  return 1;
195
196
  }
197
+ if (tokenAddress.toLowerCase() === '0xb79dd08ea68a908a97220c76d19a6aa9cbde4376') { // TEMPORARY fix for usd+
198
+ return 1;
199
+ }
196
200
  if (tokenAddress.toLowerCase() === '0xc71aaf8e486e3f33841bb56ca3fd2ac3fa8d29a8') { // TEMPORARY fix for WSTETH Canto
197
201
  return (yield this.getDebankTokenPrice('0x5fd55a1b9fc24967c4db09c513c3ba0dfa7ff687')) * 1.12;
198
202
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impermax-sdk",
3
- "version": "1.2.50",
3
+ "version": "1.2.52",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",