impermax-sdk 1.2.124 → 1.2.126
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
|
@@ -49,7 +49,8 @@ export declare enum Amms {
|
|
|
49
49
|
velodrome = "velodrome",
|
|
50
50
|
alien = "alien",
|
|
51
51
|
shadow = "shadow",
|
|
52
|
-
nile = "nile"
|
|
52
|
+
nile = "nile",
|
|
53
|
+
nileStable = "nileStable"
|
|
53
54
|
}
|
|
54
55
|
export declare const hrAmms: {
|
|
55
56
|
uniswap: string;
|
|
@@ -102,6 +103,7 @@ export declare const hrAmms: {
|
|
|
102
103
|
alien: string;
|
|
103
104
|
shadow: string;
|
|
104
105
|
nile: string;
|
|
106
|
+
nileStable: string;
|
|
105
107
|
};
|
|
106
108
|
export declare const AMM_FACTORY: AmmIndex;
|
|
107
109
|
export declare function getAmmByFactory(network: Networks, address: Address): Amms | null;
|
package/lib/config/amms.js
CHANGED
|
@@ -54,6 +54,7 @@ var Amms;
|
|
|
54
54
|
Amms["alien"] = "alien";
|
|
55
55
|
Amms["shadow"] = "shadow";
|
|
56
56
|
Amms["nile"] = "nile";
|
|
57
|
+
Amms["nileStable"] = "nileStable";
|
|
57
58
|
})(Amms = exports.Amms || (exports.Amms = {}));
|
|
58
59
|
exports.hrAmms = {
|
|
59
60
|
[Amms.uniswap]: 'Uniswap',
|
|
@@ -106,6 +107,7 @@ exports.hrAmms = {
|
|
|
106
107
|
[Amms.alien]: 'AlienBase',
|
|
107
108
|
[Amms.shadow]: 'Shadow',
|
|
108
109
|
[Amms.nile]: 'Nile',
|
|
110
|
+
[Amms.nileStable]: 'Nile Stable',
|
|
109
111
|
};
|
|
110
112
|
exports.AMM_FACTORY = {
|
|
111
113
|
[types_1.Networks.Ropsten]: {
|
|
@@ -203,6 +205,7 @@ exports.AMM_FACTORY = {
|
|
|
203
205
|
},
|
|
204
206
|
[types_1.Networks.Linea]: {
|
|
205
207
|
[Amms.nile]: '0xcbdf792456367a91708c0036e0678ecfb1f09654',
|
|
208
|
+
[Amms.nileStable]: '0xb037874de77e7b4505261301d2f3ce2fb9036ca7',
|
|
206
209
|
}
|
|
207
210
|
};
|
|
208
211
|
function getAmmByFactory(network, address) {
|
|
@@ -369,7 +372,8 @@ exports.ADD_LIQUIDITY_URLS = {
|
|
|
369
372
|
[Amms.shadow]: 'https://www.shadow.so/liquidity/'
|
|
370
373
|
},
|
|
371
374
|
[types_1.Networks.Linea]: {
|
|
372
|
-
[Amms.nile]: 'https://www.nile.build/manage/v1/'
|
|
375
|
+
[Amms.nile]: 'https://www.nile.build/manage/v1/',
|
|
376
|
+
[Amms.nileStable]: 'https://www.nile.build/manage/v1/'
|
|
373
377
|
},
|
|
374
378
|
};
|
|
375
379
|
exports.AMM_LP_FEE = {
|
|
@@ -462,6 +466,7 @@ exports.AMM_LP_FEE = {
|
|
|
462
466
|
[Amms.shadow]: 0
|
|
463
467
|
},
|
|
464
468
|
[types_1.Networks.Linea]: {
|
|
465
|
-
[Amms.nile]: 0
|
|
469
|
+
[Amms.nile]: 0,
|
|
470
|
+
[Amms.nileStable]: 0
|
|
466
471
|
},
|
|
467
472
|
};
|
|
@@ -71,6 +71,7 @@ exports.IMPERMAX_FACTORY = {
|
|
|
71
71
|
},
|
|
72
72
|
[types_1.Networks.Linea]: {
|
|
73
73
|
[types_1.Factory.SOLV2]: '0x7A9212D34DD283e952f8f15f084832e9b48ee746',
|
|
74
|
+
[types_1.Factory.SOL_STABLE]: '0x0D5433FEe91fb2DB9dd6A74267Dd900EC2130675'
|
|
74
75
|
},
|
|
75
76
|
};
|
|
76
77
|
function getFactoryByAddress(network, address) {
|
package/lib/config/subgraphs.js
CHANGED
|
@@ -87,6 +87,9 @@ exports.IMPERMAX_SUBGRAPH_URL = {
|
|
|
87
87
|
[types_1.Networks.Linea]: {
|
|
88
88
|
[types_1.Factory.SOLV2]: [
|
|
89
89
|
'https://gateway.thegraph.com/api/1350441d268f171aeb0934412dfadf3b/subgraphs/id/AyFSeFRAtUm4aY3cb1zTJqoMjcgSNrRipucuSxkEZ1v9'
|
|
90
|
+
],
|
|
91
|
+
[types_1.Factory.SOL_STABLE]: [
|
|
92
|
+
'https://gateway.thegraph.com/api/1350441d268f171aeb0934412dfadf3b/subgraphs/id/Ah5k6hzS9YicNHWuA4Uts9MQQQGbPLDtwD8tYjKaX8Ls'
|
|
90
93
|
]
|
|
91
94
|
}
|
|
92
95
|
};
|
|
@@ -65,10 +65,13 @@ const coingecko_ids = {
|
|
|
65
65
|
"0x55027a5b06f4340cc4c82dcc74c90ca93dcb173e": "tadpole",
|
|
66
66
|
// re.al
|
|
67
67
|
"0xce1581d7b4ba40176f0e219b2cac30088ad50c7a": "pearl",
|
|
68
|
+
"0xb785ee8752b8bf3b0c8d9857f24b491e8c0a3d92": "coinbase-wrapped-btc",
|
|
68
69
|
// blast
|
|
69
70
|
"0x52f847356b38720b55ee18cb3e094ca11c85a192": "fenix",
|
|
70
71
|
// sonic
|
|
71
|
-
"0x3333b97138d4b086720b5ae8a7844b1345a33333": "shadow-2"
|
|
72
|
+
"0x3333b97138d4b086720b5ae8a7844b1345a33333": "shadow-2",
|
|
73
|
+
// linea
|
|
74
|
+
"0x894134a25a5fac1c2c26f1d8fbf05111a3cb9487": "grai"
|
|
72
75
|
};
|
|
73
76
|
const dexscreener_ids = {
|
|
74
77
|
// ibex on scroll
|