impermax-sdk 1.0.10 → 1.0.11

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.
@@ -16,7 +16,7 @@ const coingecko_ids = {
16
16
  // Arbitrum
17
17
  "0xb348b87b23d5977e2948e6f36ca07e1ec94d7328": "swapfish",
18
18
  "0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f": "wrapped-bitcoin",
19
- "0x463913D3a3D3D291667D53B8325c598Eb88D3B0e": "solidlizard",
19
+ "0x463913d3a3d3d291667d53b8325c598eb88d3b0e": "solidlizard",
20
20
  };
21
21
  class PriceHelper {
22
22
  constructor(subgraph) {
@@ -287,7 +287,10 @@ function initializeLendingPoolsData() {
287
287
  const ETH_gGOHM = '0x6d94f7e67c6ae0b0257c35754e059fdfb249d998';
288
288
  const ETH_MAGIC = '0x88a0b00bbe918ee00e3482f71962070dc052984b';
289
289
  const ETH_RDNT = '0xfb468ad210d427d65c9a765a480649d5754ca325';
290
+ const LIZ_LIZ_ETH = '0x699c5e23357aB1BF658bD0B38070d746E37671f3';
290
291
  const LIZ_ETH_USDC = '0x1229aac120ae75301ab1c3a2a04ec14183493584';
292
+ const LIZ_ETH_BTC = '0xce009C44E1645BC6D19C90BA440C618a42AE581D';
293
+ const LIZ_LIZ_USDC = '0x463Ec151258370a07431068BB3BdC98B5a6bA18f';
291
294
  if (lendingPoolsData[types_1.Factory.V2V1_1][ETH_gGOHM]) {
292
295
  //lendingPoolsData[Factory.V2V1_1][ETH_SPELL].pair.rewards[0].rewardRate = '8.44';
293
296
  //lendingPoolsData[Factory.V2V1_1][ETH_MIM].pair.rewards[0].rewardRate = '30.64';
@@ -297,14 +300,33 @@ function initializeLendingPoolsData() {
297
300
  if (lendingPoolsData[types_1.Factory.V2V2][ETH_RDNT]) {
298
301
  lendingPoolsData[types_1.Factory.V2V2][ETH_RDNT].pair.rewards[0].rewardRate = (parseFloat(lendingPoolsData[types_1.Factory.V2V2][ETH_RDNT].pair.rewards[0].rewardRate) / 2).toString();
299
302
  }
300
- /*if (lendingPoolsData[Factory.SOLV2][LIZ_ETH_USDC]) {
301
- lendingPoolsData[Factory.SOLV2][LIZ_ETH_USDC].pair.rewards = [{
302
- id: '',
303
- rewardsToken: LIZ,
304
- rewardRate: '0.00608',
305
- periodFinish: '0',
306
- }];
307
- }*/
303
+ if (lendingPoolsData[types_1.Factory.SOLV2][LIZ_LIZ_ETH]) {
304
+ const LIZ = lendingPoolsData[types_1.Factory.V2V2][LIZ_LIZ_ETH].borrowable0.underlying;
305
+ lendingPoolsData[types_1.Factory.SOLV2][LIZ_LIZ_ETH].pair.rewards = [{
306
+ id: '',
307
+ rewardsToken: LIZ,
308
+ rewardRate: '3.724',
309
+ periodFinish: '0',
310
+ }];
311
+ lendingPoolsData[types_1.Factory.SOLV2][LIZ_ETH_USDC].pair.rewards = [{
312
+ id: '',
313
+ rewardsToken: LIZ,
314
+ rewardRate: '1.284',
315
+ periodFinish: '0',
316
+ }];
317
+ lendingPoolsData[types_1.Factory.SOLV2][LIZ_ETH_BTC].pair.rewards = [{
318
+ id: '',
319
+ rewardsToken: LIZ,
320
+ rewardRate: '0.159',
321
+ periodFinish: '0',
322
+ }];
323
+ lendingPoolsData[types_1.Factory.SOLV2][LIZ_LIZ_USDC].pair.rewards = [{
324
+ id: '',
325
+ rewardsToken: LIZ,
326
+ rewardRate: '1.566',
327
+ periodFinish: '0',
328
+ }];
329
+ }
308
330
  }
309
331
  if (this.network === types_1.Networks.Polygon) {
310
332
  const GNS_DAI = '0xf9221c5edc736d26ffc4ddccddfa15a4b958862e';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impermax-sdk",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",