impermax-sdk 1.2.45 → 1.2.47
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.
package/lib/config/amms.d.ts
CHANGED
|
@@ -34,7 +34,8 @@ export declare enum Amms {
|
|
|
34
34
|
pearlStable = "pearlStable",
|
|
35
35
|
aerodrome = "aerodrome",
|
|
36
36
|
merchantmoe = "merchantmoe",
|
|
37
|
-
tokan = "tokan"
|
|
37
|
+
tokan = "tokan",
|
|
38
|
+
tokanStable = "tokanStable"
|
|
38
39
|
}
|
|
39
40
|
export declare const hrAmms: {
|
|
40
41
|
uniswap: string;
|
|
@@ -72,6 +73,7 @@ export declare const hrAmms: {
|
|
|
72
73
|
aerodrome: string;
|
|
73
74
|
merchantmoe: string;
|
|
74
75
|
tokan: string;
|
|
76
|
+
tokanStable: string;
|
|
75
77
|
};
|
|
76
78
|
export declare const AMM_FACTORY: AmmIndex;
|
|
77
79
|
export declare function getAmmByFactory(network: Networks, address: Address): Amms | null;
|
package/lib/config/amms.js
CHANGED
|
@@ -39,6 +39,7 @@ var Amms;
|
|
|
39
39
|
Amms["aerodrome"] = "aerodrome";
|
|
40
40
|
Amms["merchantmoe"] = "merchantmoe";
|
|
41
41
|
Amms["tokan"] = "tokan";
|
|
42
|
+
Amms["tokanStable"] = "tokanStable";
|
|
42
43
|
})(Amms = exports.Amms || (exports.Amms = {}));
|
|
43
44
|
exports.hrAmms = {
|
|
44
45
|
[Amms.uniswap]: 'Uniswap',
|
|
@@ -76,6 +77,7 @@ exports.hrAmms = {
|
|
|
76
77
|
[Amms.aerodrome]: 'Aerodrome',
|
|
77
78
|
[Amms.merchantmoe]: 'MerchantMoe',
|
|
78
79
|
[Amms.tokan]: 'Tokan',
|
|
80
|
+
[Amms.tokanStable]: 'Tokan',
|
|
79
81
|
};
|
|
80
82
|
exports.AMM_FACTORY = {
|
|
81
83
|
[types_1.Networks.Ropsten]: {
|
|
@@ -145,7 +147,8 @@ exports.AMM_FACTORY = {
|
|
|
145
147
|
[Amms.uniswap]: '0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6'
|
|
146
148
|
},
|
|
147
149
|
[types_1.Networks.Scroll]: {
|
|
148
|
-
[Amms.tokan]: '0x074568F090e93194289c2C2BF285eE7f60b485a9',
|
|
150
|
+
[Amms.tokan]: '0x074568F090e93194289c2C2BF285eE7f60b485a9',
|
|
151
|
+
[Amms.tokanStable]: '0x6c041ff2d25310a2751C57555265F2364CaCA195', //NOTICE: this is actually the staked LP factory
|
|
149
152
|
}
|
|
150
153
|
};
|
|
151
154
|
function getAmmByFactory(network, address) {
|
|
@@ -283,6 +286,7 @@ exports.ADD_LIQUIDITY_URLS = {
|
|
|
283
286
|
},
|
|
284
287
|
[types_1.Networks.Scroll]: {
|
|
285
288
|
[Amms.tokan]: 'https://app.tokan.exchange/liquidity/',
|
|
289
|
+
[Amms.tokanStable]: 'https://app.tokan.exchange/liquidity/',
|
|
286
290
|
},
|
|
287
291
|
};
|
|
288
292
|
exports.AMM_LP_FEE = {
|
|
@@ -350,6 +354,7 @@ exports.AMM_LP_FEE = {
|
|
|
350
354
|
},
|
|
351
355
|
[types_1.Networks.Scroll]: {
|
|
352
356
|
[Amms.tokan]: 0,
|
|
357
|
+
[Amms.tokanStable]: 0,
|
|
353
358
|
},
|
|
354
359
|
[types_1.Networks.Mantle]: {
|
|
355
360
|
[Amms.merchantmoe]: 0.003,
|
|
@@ -47,6 +47,7 @@ exports.IMPERMAX_FACTORY = {
|
|
|
47
47
|
},
|
|
48
48
|
[types_1.Networks.Scroll]: {
|
|
49
49
|
[types_1.Factory.SOLV2]: '0x02Ff7B4d96EeBF8c9B34Fae0418E591e11da3099',
|
|
50
|
+
[types_1.Factory.SOL_STABLE]: '0xFBD17F3AA7d6506601D2bF7e15a6C96081296a01',
|
|
50
51
|
},
|
|
51
52
|
[types_1.Networks.Mantle]: {
|
|
52
53
|
[types_1.Factory.V2V2]: '0x3047523D5ed0df1545B1C440BdAaB095f1f3cf5C'
|
|
@@ -50,7 +50,8 @@ exports.ROUTER = {
|
|
|
50
50
|
[types_1.Factory.V2V2]: '0x21D9d4d17255d427A5F77D23fb9Eb3c5Cd281ebf'
|
|
51
51
|
},
|
|
52
52
|
[types_1.Networks.Scroll]: {
|
|
53
|
-
[types_1.Factory.SOLV2]: '0xFF8D0CDC9C857c7fA265121394558B26e1eAAffE'
|
|
53
|
+
[types_1.Factory.SOLV2]: '0xFF8D0CDC9C857c7fA265121394558B26e1eAAffE',
|
|
54
|
+
[types_1.Factory.SOL_STABLE]: '0x736176788edef99D2FAbfAa0f5e13BCb3b46bE17'
|
|
54
55
|
},
|
|
55
56
|
[types_1.Networks.Mantle]: {
|
|
56
57
|
[types_1.Factory.V2V2]: '0xF4A9dda025e65945E7A3F873D6146A12c8110A19'
|
package/lib/config/subgraphs.js
CHANGED
|
@@ -49,6 +49,7 @@ exports.IMPERMAX_SUBGRAPH_URL = {
|
|
|
49
49
|
},
|
|
50
50
|
[types_1.Networks.Scroll]: {
|
|
51
51
|
[types_1.Factory.SOLV2]: 'https://api.studio.thegraph.com/query/46041/impermax-scroll-solv2/v0.0.1',
|
|
52
|
+
[types_1.Factory.SOL_STABLE]: 'https://api.studio.thegraph.com/query/46041/impermax-scroll-solv2-stable/v0.0.3'
|
|
52
53
|
},
|
|
53
54
|
};
|
|
54
55
|
exports.IMPERMAX_CHEF_SUBGRAPH_URL = {
|
|
@@ -38,6 +38,8 @@ const coingecko_ids = {
|
|
|
38
38
|
"0x1a2fcb585b327fadec91f55d45829472b15f17a4": "tokan",
|
|
39
39
|
"0xf610a9dfb7c89644979b4a0f27063e9e7d7cda32": "wrapped-steth",
|
|
40
40
|
"0x74ccbe53f77b08632ce0cb91d3a545bf6b8e0979": "fantom-bomb",
|
|
41
|
+
"0xa25b25548b4c98b0c7d3d27dca5d5ca743d68b7f": "wrapped-rseth",
|
|
42
|
+
"0x80137510979822322193fc997d400d5a6c747bf7": "stakestone-ether",
|
|
41
43
|
// base
|
|
42
44
|
"0x940181a94a35a4569e4529a3cdfb74e38fd98631": "aerodrome-finance",
|
|
43
45
|
"0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed": "degen-base",
|