impermax-sdk 1.2.126 → 1.2.128

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.
@@ -45,12 +45,14 @@ export declare enum Amms {
45
45
  scale = "scale",
46
46
  scaleStable = "scaleStable",
47
47
  equalizer = "equalizer",
48
+ equalizerStable = "equalizerStable",
48
49
  wigoswap = "wigoswap",
49
50
  velodrome = "velodrome",
50
51
  alien = "alien",
51
52
  shadow = "shadow",
52
53
  nile = "nile",
53
- nileStable = "nileStable"
54
+ nileStable = "nileStable",
55
+ swapx = "swapx"
54
56
  }
55
57
  export declare const hrAmms: {
56
58
  uniswap: string;
@@ -98,12 +100,14 @@ export declare const hrAmms: {
98
100
  tokan1: string;
99
101
  tokanStable: string;
100
102
  equalizer: string;
103
+ equalizerStable: string;
101
104
  wigoswap: string;
102
105
  velodrome: string;
103
106
  alien: string;
104
107
  shadow: string;
105
108
  nile: string;
106
109
  nileStable: string;
110
+ swapx: string;
107
111
  };
108
112
  export declare const AMM_FACTORY: AmmIndex;
109
113
  export declare function getAmmByFactory(network: Networks, address: Address): Amms | null;
@@ -49,12 +49,14 @@ var Amms;
49
49
  Amms["scale"] = "scale";
50
50
  Amms["scaleStable"] = "scaleStable";
51
51
  Amms["equalizer"] = "equalizer";
52
+ Amms["equalizerStable"] = "equalizerStable";
52
53
  Amms["wigoswap"] = "wigoswap";
53
54
  Amms["velodrome"] = "velodrome";
54
55
  Amms["alien"] = "alien";
55
56
  Amms["shadow"] = "shadow";
56
57
  Amms["nile"] = "nile";
57
58
  Amms["nileStable"] = "nileStable";
59
+ Amms["swapx"] = "swapx";
58
60
  })(Amms = exports.Amms || (exports.Amms = {}));
59
61
  exports.hrAmms = {
60
62
  [Amms.uniswap]: 'Uniswap',
@@ -102,12 +104,14 @@ exports.hrAmms = {
102
104
  [Amms.tokan1]: 'Tokan',
103
105
  [Amms.tokanStable]: 'Tokan Stable',
104
106
  [Amms.equalizer]: 'Equalizer',
107
+ [Amms.equalizerStable]: 'Equalizer',
105
108
  [Amms.wigoswap]: 'Wigoswap',
106
109
  [Amms.velodrome]: 'Velodrome',
107
110
  [Amms.alien]: 'AlienBase',
108
111
  [Amms.shadow]: 'Shadow',
109
112
  [Amms.nile]: 'Nile',
110
113
  [Amms.nileStable]: 'Nile Stable',
114
+ [Amms.swapx]: 'SwapX',
111
115
  };
112
116
  exports.AMM_FACTORY = {
113
117
  [types_1.Networks.Ropsten]: {
@@ -201,7 +205,9 @@ exports.AMM_FACTORY = {
201
205
  },
202
206
  [types_1.Networks.Sonic]: {
203
207
  [Amms.equalizer]: '0xDDD9845Ba0D8f38d3045f804f67A1a8B9A528FcC',
208
+ [Amms.equalizerStable]: '0xDDD9845Ba0D8f38d3045f804f67A1a8B9A528FcC',
204
209
  [Amms.shadow]: '0x2dA25E7446A70D7be65fd4c053948BEcAA6374c8',
210
+ [Amms.swapx]: '0xB84bbA16A3a332Ac2e66Aa4508db1eFD300CdE2b',
205
211
  },
206
212
  [types_1.Networks.Linea]: {
207
213
  [Amms.nile]: '0xcbdf792456367a91708c0036e0678ecfb1f09654',
@@ -369,7 +375,9 @@ exports.ADD_LIQUIDITY_URLS = {
369
375
  },
370
376
  [types_1.Networks.Sonic]: {
371
377
  [Amms.equalizer]: 'https://equalizer.exchange/liquidity/',
372
- [Amms.shadow]: 'https://www.shadow.so/liquidity/'
378
+ [Amms.equalizerStable]: 'https://equalizer.exchange/liquidity/',
379
+ [Amms.shadow]: 'https://www.shadow.so/liquidity/',
380
+ [Amms.swapx]: 'https://swapx.fi/earn/'
373
381
  },
374
382
  [types_1.Networks.Linea]: {
375
383
  [Amms.nile]: 'https://www.nile.build/manage/v1/',
@@ -463,7 +471,9 @@ exports.AMM_LP_FEE = {
463
471
  },
464
472
  [types_1.Networks.Sonic]: {
465
473
  [Amms.equalizer]: 0,
466
- [Amms.shadow]: 0
474
+ [Amms.equalizerStable]: 0,
475
+ [Amms.shadow]: 0,
476
+ [Amms.swapx]: 0
467
477
  },
468
478
  [types_1.Networks.Linea]: {
469
479
  [Amms.nile]: 0,
@@ -68,6 +68,7 @@ exports.IMPERMAX_FACTORY = {
68
68
  },
69
69
  [types_1.Networks.Sonic]: {
70
70
  [types_1.Factory.SOLV2]: '0x26fca5916c20D252feEF7A58E39886d3d3112b91',
71
+ [types_1.Factory.SOL_STABLE]: '0x6e1E988D828D0102BF93434774cd1a2246062564',
71
72
  },
72
73
  [types_1.Networks.Linea]: {
73
74
  [types_1.Factory.SOLV2]: '0x7A9212D34DD283e952f8f15f084832e9b48ee746',
@@ -72,6 +72,7 @@ exports.ROUTER = {
72
72
  },
73
73
  [types_1.Networks.Sonic]: {
74
74
  [types_1.Factory.SOLV2]: '0xcBdf792456367a91708C0036E0678eCFB1f09654',
75
+ [types_1.Factory.SOL_STABLE]: '0xac72B40A14375C4B11Fa469a0616aF9bb2Cc87C8',
75
76
  },
76
77
  [types_1.Networks.Linea]: {
77
78
  [types_1.Factory.SOLV2]: '0xEB81da0cAC9D3efc4bf3270080936C6a5758926f',
@@ -50,6 +50,8 @@ export declare enum Farms {
50
50
  tokan = "tokan",
51
51
  tokan1 = "tokan1",
52
52
  tokanStable = "tokanStable",
53
+ nileStable = "nileStable",
54
+ equalizerStable = "equalizerStable",
53
55
  velodrome = "velodrome",
54
56
  alien = "alien"
55
57
  }
@@ -102,6 +104,8 @@ export declare const hrFarms: {
102
104
  tokan: string;
103
105
  tokan1: string;
104
106
  tokanStable: string;
107
+ nileStable: string;
108
+ equalizerStable: string;
105
109
  velodrome: string;
106
110
  alien: string;
107
111
  };
@@ -54,6 +54,8 @@ var Farms;
54
54
  Farms["tokan"] = "tokan";
55
55
  Farms["tokan1"] = "tokan1";
56
56
  Farms["tokanStable"] = "tokanStable";
57
+ Farms["nileStable"] = "nileStable";
58
+ Farms["equalizerStable"] = "equalizerStable";
57
59
  Farms["velodrome"] = "velodrome";
58
60
  Farms["alien"] = "alien";
59
61
  })(Farms = exports.Farms || (exports.Farms = {}));
@@ -106,6 +108,8 @@ exports.hrFarms = {
106
108
  [Farms.tokan]: 'Tokan',
107
109
  [Farms.tokan1]: 'Tokan',
108
110
  [Farms.tokanStable]: 'Tokan Stable',
111
+ [Farms.nileStable]: 'Nile Stable',
112
+ [Farms.equalizerStable]: 'Equalizer Stable',
109
113
  [Farms.velodrome]: 'Velodrome',
110
114
  [Farms.alien]: 'AlienBase',
111
115
  };
@@ -199,8 +203,12 @@ exports.STAKED_LP_FACTORY = {
199
203
  [Farms.pearl]: '0x2B965fDf04f9e9bEEf1659464Ef3A0094A68D923',
200
204
  [Farms.pearlStable]: '0x28E22D8c807b6E6c0ECa4373fC3B9920453cEEEe',
201
205
  },
202
- [types_1.Networks.Sonic]: {},
203
- [types_1.Networks.Linea]: {}
206
+ [types_1.Networks.Sonic]: {
207
+ [Farms.equalizerStable]: '0x0E5F23675aBAB707D9f17da2EE883a77E13FE70f',
208
+ },
209
+ [types_1.Networks.Linea]: {
210
+ [Farms.nileStable]: '0xB037874dE77E7b4505261301d2F3CE2fb9036cA7',
211
+ }
204
212
  };
205
213
  function getFarmByStakedLPFactory(network, address) {
206
214
  if (!address)
@@ -82,6 +82,9 @@ exports.IMPERMAX_SUBGRAPH_URL = {
82
82
  [types_1.Factory.SOLV2]: [
83
83
  'https://sonic-factory-production.up.railway.app/',
84
84
  'https://gateway.thegraph.com/api/1350441d268f171aeb0934412dfadf3b/subgraphs/id/HK9BA4oFp1xaoQW7YVP4m2nbxX7q2bQCZWNPKBtudtZR'
85
+ ],
86
+ [types_1.Factory.SOL_STABLE]: [
87
+ 'https://gateway.thegraph.com/api/1350441d268f171aeb0934412dfadf3b/subgraphs/id/61ZJXkM5uRGntP1HZkmH4iaKRzsf1BBhQdZYi9euLkpM'
85
88
  ]
86
89
  },
87
90
  [types_1.Networks.Linea]: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impermax-sdk",
3
- "version": "1.2.126",
3
+ "version": "1.2.128",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",