impermax-sdk 1.0.6 → 1.0.7

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,6 +16,7 @@ exports.IMPERMAX_SUBGRAPH_URL = {
16
16
  [types_1.Networks.Arbitrum]: {
17
17
  [types_1.Factory.V2V1_1]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-x-uniswap-v2-arbitrum',
18
18
  [types_1.Factory.V2V2]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-arbitrum-v2',
19
+ [types_1.Factory.SOLV2]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-arbitrum-solv2',
19
20
  //[F.V2V1_1]: 'https://api.impermax.finance/subgraphs/name/impermax-finance/impermax-x-uniswap-v2-arbitrum02'
20
21
  },
21
22
  [types_1.Networks.Avalanche]: {
@@ -287,6 +287,7 @@ function initializeLendingPoolsData() {
287
287
  const ETH_gGOHM = '0x6d94f7e67c6ae0b0257c35754e059fdfb249d998';
288
288
  const ETH_MAGIC = '0x88a0b00bbe918ee00e3482f71962070dc052984b';
289
289
  const ETH_RDNT = '0xfb468ad210d427d65c9a765a480649d5754ca325';
290
+ const LIZ_ETH_USDC = '0x1229aAC120Ae75301aB1c3A2A04ec14183493584';
290
291
  if (lendingPoolsData[types_1.Factory.V2V1_1][ETH_gGOHM]) {
291
292
  //lendingPoolsData[Factory.V2V1_1][ETH_SPELL].pair.rewards[0].rewardRate = '8.44';
292
293
  //lendingPoolsData[Factory.V2V1_1][ETH_MIM].pair.rewards[0].rewardRate = '30.64';
@@ -296,6 +297,15 @@ function initializeLendingPoolsData() {
296
297
  if (lendingPoolsData[types_1.Factory.V2V2][ETH_RDNT]) {
297
298
  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();
298
299
  }
300
+ console.log("debug", lendingPoolsData[types_1.Factory.V2V1_1][LIZ_ETH_USDC].pair.rewards);
301
+ /*if (lendingPoolsData[Factory.SOLV2][LIZ_ETH_USDC]) {
302
+ lendingPoolsData[Factory.V2V1_1][LIZ_ETH_USDC].pair.rewards = [{
303
+ id: '',
304
+ rewardsToken: LIZ,
305
+ rewardRate: '0.00608',
306
+ periodFinish: '0',
307
+ }];
308
+ }*/
299
309
  }
300
310
  if (this.network === types_1.Networks.Polygon) {
301
311
  const GNS_DAI = '0xf9221c5edc736d26ffc4ddccddfa15a4b958862e';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impermax-sdk",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",