impermax-sdk 1.2.141 → 1.2.142

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.
@@ -53,7 +53,9 @@ export declare enum Amms {
53
53
  shadow = "shadow",
54
54
  nile = "nile",
55
55
  nileStable = "nileStable",
56
- swapx = "swapx"
56
+ swapx = "swapx",
57
+ blackhole = "blackhole",
58
+ blackhole1 = "blackhole1"
57
59
  }
58
60
  export declare const hrAmms: {
59
61
  uniswap: string;
@@ -110,6 +112,8 @@ export declare const hrAmms: {
110
112
  nile: string;
111
113
  nileStable: string;
112
114
  swapx: string;
115
+ blackhole: string;
116
+ blackhole1: string;
113
117
  };
114
118
  export declare const AMM_FACTORY: AmmIndex;
115
119
  export declare function getAmmByFactory(network: Networks, address: Address): Amms | null;
@@ -58,6 +58,8 @@ var Amms;
58
58
  Amms["nile"] = "nile";
59
59
  Amms["nileStable"] = "nileStable";
60
60
  Amms["swapx"] = "swapx";
61
+ Amms["blackhole"] = "blackhole";
62
+ Amms["blackhole1"] = "blackhole1";
61
63
  })(Amms = exports.Amms || (exports.Amms = {}));
62
64
  exports.hrAmms = {
63
65
  [Amms.uniswap]: 'Uniswap',
@@ -114,6 +116,8 @@ exports.hrAmms = {
114
116
  [Amms.nile]: 'Nile',
115
117
  [Amms.nileStable]: 'Nile Stable',
116
118
  [Amms.swapx]: 'SwapX',
119
+ [Amms.blackhole]: 'Blackhole',
120
+ [Amms.blackhole1]: 'Blackhole'
117
121
  };
118
122
  exports.AMM_FACTORY = {
119
123
  [types_1.Networks.Ropsten]: {
@@ -148,6 +152,8 @@ exports.AMM_FACTORY = {
148
152
  [Amms.flair]: '0x634e02EB048eb1B5bDDc0CFdC20D34503E9B362d',
149
153
  [Amms.glacier]: '0xaC7B7EaC8310170109301034b8FdB75eCa4CC491',
150
154
  [Amms.thorus]: '0xa98ea6356A316b44Bf710D5f9b6b4eA0081409Ef',
155
+ [Amms.blackhole]: '0x48168439ca4ef9e95975e3e2488bfcbd8fb1a80c',
156
+ [Amms.blackhole1]: '0x1899d3b1e62a1e52cab440ef065d6a6cdfcf1125' // Redeployed for fbomb/weth.e and avax/weth.e
151
157
  },
152
158
  [types_1.Networks.Moonriver]: {
153
159
  [Amms.sushiswap]: '0xc35DADB65012eC5796536bD9864eD8773aBc74C4',
@@ -252,11 +258,13 @@ exports.AMM_SUBGRAPH_URLS = {
252
258
  //[Amms.swapfish]: 'https://bsc.streamingfast.io/subgraphs/name/pancakeswap/exchange-v2',
253
259
  },
254
260
  [types_1.Networks.Avalanche]: {
255
- [Amms.pangolin]: 'https://api.thegraph.com/subgraphs/name/dasconnor/pangolin-dex',
256
- [Amms.traderJoe]: 'https://api.thegraph.com/subgraphs/name/traderjoe-xyz/exchange',
261
+ [Amms.pangolin]: '',
262
+ [Amms.traderJoe]: '',
257
263
  [Amms.flair]: '',
258
264
  [Amms.glacier]: '',
259
265
  [Amms.thorus]: '',
266
+ [Amms.blackhole]: '',
267
+ [Amms.blackhole1]: '',
260
268
  },
261
269
  [types_1.Networks.Moonriver]: {
262
270
  [Amms.sushiswap]: 'https://api.thegraph.com/subgraphs/name/sushiswap/moonriver-exchange',
@@ -323,6 +331,8 @@ exports.ADD_LIQUIDITY_URLS = {
323
331
  [Amms.flair]: 'https://app.flairdex.xyz/liquidity/',
324
332
  [Amms.glacier]: 'https://www.glacier.exchange/liquidity/',
325
333
  [Amms.thorus]: 'https://app.thorus.fi/add/',
334
+ [Amms.blackhole]: 'https://blackhole.xyz/liquidity/',
335
+ [Amms.blackhole1]: 'https://blackhole.xyz/liquidity/',
326
336
  },
327
337
  [types_1.Networks.Moonriver]: {
328
338
  [Amms.sushiswap]: 'https://app.sushi.com/legacy/add/',
@@ -421,6 +431,8 @@ exports.AMM_LP_FEE = {
421
431
  [Amms.flair]: 0,
422
432
  [Amms.glacier]: 0,
423
433
  [Amms.thorus]: 0,
434
+ [Amms.blackhole]: 0,
435
+ [Amms.blackhole1]: 0
424
436
  },
425
437
  [types_1.Networks.Moonriver]: {
426
438
  [Amms.sushiswap]: 0.0025,
@@ -7,7 +7,7 @@ exports.IMPERMAX_CONFIG_MANAGER = {
7
7
  [types_1.Networks.Mainnet]: '',
8
8
  [types_1.Networks.Polygon]: '0xB72A79979D9CDbBB5BA6FF7d8E99D5e274154794',
9
9
  [types_1.Networks.Arbitrum]: '',
10
- [types_1.Networks.Avalanche]: '',
10
+ [types_1.Networks.Avalanche]: '0xDC2037D10f3A10F02B8Cf8d3e373c0924b300f7D',
11
11
  [types_1.Networks.Moonriver]: '',
12
12
  [types_1.Networks.Aurora]: '',
13
13
  [types_1.Networks.Cronos]: '',
@@ -206,7 +206,7 @@ exports.BLOCKS_SUBGRAPH_URL = {
206
206
  [types_1.Networks.Mainnet]: 'https://api.thegraph.com/subgraphs/name/blocklytics/ethereum-blocks',
207
207
  [types_1.Networks.Polygon]: 'https://api.thegraph.com/subgraphs/name/matthewlilley/polygon-blocks',
208
208
  [types_1.Networks.Arbitrum]: 'https://api.thegraph.com/subgraphs/name/sushiswap/arbitrum-blocks',
209
- [types_1.Networks.Avalanche]: 'https://api.thegraph.com/subgraphs/name/dasconnor/avalanche-blocks',
209
+ [types_1.Networks.Avalanche]: '',
210
210
  [types_1.Networks.Moonriver]: 'https://api.thegraph.com/subgraphs/name/sushiswap/moonriver-blocks',
211
211
  [types_1.Networks.Aurora]: '',
212
212
  [types_1.Networks.Cronos]: '',
@@ -84,7 +84,15 @@ const dexscreener_ids = {
84
84
  // fantom-bomb on scroll (removed from coingecko)
85
85
  "0x6b6882f7642ee1c15f12b51f1a4988b3e7e29f5c": "scroll",
86
86
  // EliteringssUSDC
87
- "0xd4aa386bfceeedd9de0875b3ba07f51808592e22": "sonic"
87
+ "0xd4aa386bfceeedd9de0875b3ba07f51808592e22": "sonic",
88
+ // Super on avalanche
89
+ "0x09fa58228bb791ea355c90da1e4783452b9bd8c3": "avalanche",
90
+ // Black on avalanche
91
+ "0xcd94a87696fac69edae3a70fe5725307ae1c43f6": "avalanche",
92
+ // KET on avalanche
93
+ "0xffff003a6bad9b743d658048742935fffe2b6ed7": "avalanche",
94
+ // CHAMP on avalanche
95
+ "0x6aa38edd7f32a28b7b2c2dc86fc5b0bf2ae61579": "avalanche"
88
96
  };
89
97
  const fantom_ids = {
90
98
  // uponly on ftm
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impermax-sdk",
3
- "version": "1.2.141",
3
+ "version": "1.2.142",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",