impermax-sdk 1.2.53 → 1.2.55

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.
@@ -37,7 +37,8 @@ export declare enum Amms {
37
37
  merchantmoe = "merchantmoe",
38
38
  tokan = "tokan",
39
39
  tokanStable = "tokanStable",
40
- scale = "scale"
40
+ scale = "scale",
41
+ equalizer = "equalizer"
41
42
  }
42
43
  export declare const hrAmms: {
43
44
  uniswap: string;
@@ -78,6 +79,7 @@ export declare const hrAmms: {
78
79
  merchantmoe: string;
79
80
  tokan: string;
80
81
  tokanStable: string;
82
+ equalizer: string;
81
83
  };
82
84
  export declare const AMM_FACTORY: AmmIndex;
83
85
  export declare function getAmmByFactory(network: Networks, address: Address): Amms | null;
@@ -42,6 +42,7 @@ var Amms;
42
42
  Amms["tokan"] = "tokan";
43
43
  Amms["tokanStable"] = "tokanStable";
44
44
  Amms["scale"] = "scale";
45
+ Amms["equalizer"] = "equalizer";
45
46
  })(Amms = exports.Amms || (exports.Amms = {}));
46
47
  exports.hrAmms = {
47
48
  [Amms.uniswap]: 'Uniswap',
@@ -82,6 +83,7 @@ exports.hrAmms = {
82
83
  [Amms.merchantmoe]: 'MerchantMoe',
83
84
  [Amms.tokan]: 'Tokan',
84
85
  [Amms.tokanStable]: 'Tokan Stable',
86
+ [Amms.equalizer]: 'Equalizer',
85
87
  };
86
88
  exports.AMM_FACTORY = {
87
89
  [types_1.Networks.Ropsten]: {
@@ -129,7 +131,8 @@ exports.AMM_FACTORY = {
129
131
  [Amms.solidlyUSDC]: '0xF14f98E6F34C12Bd74fcEAC1668aF749fc269cFf',
130
132
  [Amms.solidlyUSDCB]: '0x9B1434a02Ee86302d463bB6B365EbdFAc56e067A',
131
133
  [Amms.solidly091]: '0xdc4baf3b4b1df79083eedf3e46ec2c4ec1296f60',
132
- [Amms.solidlyOxd]: '0xB83D21F60B73B21506c69DEcdBcF7Ab5AB737eB2', //NOTICE: this is actually the staked LP factory
134
+ [Amms.solidlyOxd]: '0xB83D21F60B73B21506c69DEcdBcF7Ab5AB737eB2',
135
+ [Amms.equalizer]: '0xc6366efd0af1d09171fe0ebf32c7943bb310832a',
133
136
  },
134
137
  [types_1.Networks.Canto]: {
135
138
  [Amms.velocimeter]: '0x1c813cdd6daece2cb83c52f0798504e42816e9c5', //NOTICE: this is actually the staked LP factory
@@ -270,6 +273,7 @@ exports.ADD_LIQUIDITY_URLS = {
270
273
  [Amms.solidlyUSDCB]: 'https://solidly.exchange/liquidity/',
271
274
  [Amms.solidly091]: 'https://solidly.exchange/liquidity/',
272
275
  [Amms.solidlyOxd]: 'https://solidly.exchange/liquidity/',
276
+ [Amms.equalizer]: 'https://equalizer.exchange/liquidity/',
273
277
  },
274
278
  [types_1.Networks.Canto]: {
275
279
  [Amms.velocimeter]: 'https://www.velocimeter.xyz/liquidity/',
@@ -343,6 +347,7 @@ exports.AMM_LP_FEE = {
343
347
  [Amms.solidlyUSDCB]: 0,
344
348
  [Amms.solidly091]: 0,
345
349
  [Amms.solidlyOxd]: 0,
350
+ [Amms.equalizer]: 0,
346
351
  },
347
352
  [types_1.Networks.Canto]: {
348
353
  [Amms.velocimeter]: 0,
@@ -33,6 +33,7 @@ exports.IMPERMAX_SUBGRAPH_URL = {
33
33
  [types_1.Networks.Cronos]: {},
34
34
  [types_1.Networks.Fantom]: {
35
35
  [types_1.Factory.SOLV1_2]: 'https://api.studio.thegraph.com/query/46041/impermax-fantom-solv1/v0.0.1',
36
+ [types_1.Factory.SOLV2]: 'https://api.studio.thegraph.com/query/46041/impermax-fantom-solv2/v0.0.1',
36
37
  },
37
38
  [types_1.Networks.Canto]: {
38
39
  [types_1.Factory.SOLV2]: 'https://api.impermax.finance/subgraphs/name/impermax-finance/impermax-canto-solv2',
@@ -45,7 +45,10 @@ const coingecko_ids = {
45
45
  "0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed": "degen-base",
46
46
  "0x4200000000000000000000000000000000000006": "ethereum",
47
47
  "0x54016a4848a38f257b6e96331f7404073fd9c32c": "equalizer-base",
48
- "0xa3d1a8deb97b111454b294e2324efad13a9d8396": "overnight-finance"
48
+ "0xa3d1a8deb97b111454b294e2324efad13a9d8396": "overnight-finance",
49
+ // fantom
50
+ "0x3fd3a0c85b70754efc07ac9ac0cbbdce664865a6": "equalizer-dex",
51
+ "0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83": "wrapped-fantom"
49
52
  };
50
53
  const dexscreener_ids = {
51
54
  // ibex on scroll
@@ -59,7 +62,25 @@ const dexscreener_ids = {
59
62
  // fantom-bomb on scroll
60
63
  "0x74ccbe53f77b08632ce0cb91d3a545bf6b8e0979": "scroll",
61
64
  // axlOP on base
62
- "0x994ac01750047B9d35431a7Ae4Ed312ee955E030": "base"
65
+ "0x994ac01750047B9d35431a7Ae4Ed312ee955E030": "base",
66
+ // uponly on ftm
67
+ "0x28f1d1c509495e5afc23fb47acf6cc5b217ab598": "fantom",
68
+ // plus-bet on ftm
69
+ "0x39551b1c26ce03714e4661833b0fa730174bd7e9": "fantom",
70
+ // tango on ftm
71
+ "0xee9ff3efd508741492b5bd45269aa45a43be59c8": "fantom",
72
+ // fantomsonicinu
73
+ "0x05e31a691405d06708a355c029599c12d5da8b28": "fantom",
74
+ //sonic goat
75
+ "0x43f9a13675e352154f745d6402e853fecc388aa5": "fantom",
76
+ // fantom eco
77
+ "0xb8a32897016c1b2ee0797090162eafe58f032795": "fantom",
78
+ // hoops
79
+ "0x431516e478d73cfab034229c4d7a94a2cbf5787f": "fantom",
80
+ // moon bay on ftm
81
+ "0xd361474bb19c8b98870bb67f5759cdf277dee7f9": "fantom",
82
+ // thc on fantom
83
+ "0x479673391b3818f5e3ed2fa69a58e13d685becf6": "fantom",
63
84
  };
64
85
  class OffchainPriceHelper {
65
86
  constructor(offchain) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impermax-sdk",
3
- "version": "1.2.53",
3
+ "version": "1.2.55",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",