impermax-sdk 1.2.37 → 1.2.39
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.js
CHANGED
|
@@ -137,7 +137,7 @@ exports.AMM_FACTORY = {
|
|
|
137
137
|
[types_1.Networks.Moonbeam]: {},
|
|
138
138
|
[types_1.Networks.Sxnetwork]: {},
|
|
139
139
|
[types_1.Networks.Mantle]: {
|
|
140
|
-
[Amms.merchantmoe]: "
|
|
140
|
+
[Amms.merchantmoe]: "0x5bEf015CA9424A7C07B68490616a4C1F094BEdEc"
|
|
141
141
|
},
|
|
142
142
|
[types_1.Networks.Base]: {
|
|
143
143
|
[Amms.aerodrome]: '0x2a32215Ba106039f5A96b6366338BDb9FB0b62E8', //NOTICE: this is actually the staked LP factory
|
|
@@ -272,13 +272,13 @@ exports.ADD_LIQUIDITY_URLS = {
|
|
|
272
272
|
[types_1.Networks.Moonbeam]: {},
|
|
273
273
|
[types_1.Networks.Sxnetwork]: {},
|
|
274
274
|
[types_1.Networks.Base]: {
|
|
275
|
-
[Amms.aerodrome]: 'https://aerodrome.finance/deposit',
|
|
275
|
+
[Amms.aerodrome]: 'https://aerodrome.finance/deposit/',
|
|
276
276
|
},
|
|
277
277
|
[types_1.Networks.Mantle]: {
|
|
278
|
-
[Amms.merchantmoe]: 'https://merchantmoe.com/pool',
|
|
278
|
+
[Amms.merchantmoe]: 'https://merchantmoe.com/pool/',
|
|
279
279
|
},
|
|
280
280
|
[types_1.Networks.Scroll]: {
|
|
281
|
-
[Amms.tokan]: 'https://app.tokan.exchange/liquidity',
|
|
281
|
+
[Amms.tokan]: 'https://app.tokan.exchange/liquidity/',
|
|
282
282
|
},
|
|
283
283
|
};
|
|
284
284
|
exports.AMM_LP_FEE = {
|
package/lib/config/eth.js
CHANGED
|
@@ -19,7 +19,7 @@ exports.ETH_NAME = {
|
|
|
19
19
|
[types_1.Networks.ZksyncEra]: 'Ethereum',
|
|
20
20
|
[types_1.Networks.Base]: 'Base',
|
|
21
21
|
[types_1.Networks.Mantle]: 'Mantle',
|
|
22
|
-
[types_1.Networks.Scroll]: '
|
|
22
|
+
[types_1.Networks.Scroll]: 'Ethereum',
|
|
23
23
|
};
|
|
24
24
|
exports.ETH_SYMBOL = {
|
|
25
25
|
[types_1.Networks.Ropsten]: 'ETH',
|
package/lib/config/subgraphs.js
CHANGED
|
@@ -124,6 +124,7 @@ exports.CONFIG_MANAGER_SUBGRAPH_URL = {
|
|
|
124
124
|
[types_1.Networks.Harmony]: '',
|
|
125
125
|
[types_1.Networks.Moonbeam]: '',
|
|
126
126
|
[types_1.Networks.Sxnetwork]: '',
|
|
127
|
+
[types_1.Networks.Scroll]: 'https://api.studio.thegraph.com/query/46041/impermax-config-manager-scroll/v0.0.1',
|
|
127
128
|
[types_1.Networks.Base]: 'https://api.studio.thegraph.com/query/46041/impermax-config-manager-base/v0.0.1',
|
|
128
129
|
};
|
|
129
130
|
exports.WHITELIST_SUBGRAPH_URL = {
|
|
@@ -35,6 +35,8 @@ const coingecko_ids = {
|
|
|
35
35
|
"0x85d84c774cf8e9ff85342684b0e795df72a24908": "velocore",
|
|
36
36
|
"0x5756a28e2aae01f600fc2c01358395f5c1f8ad3a": "vesync",
|
|
37
37
|
"0x160e07e42adbc1fce92d505b579bcd8a3fbea77d": "dracula-fi",
|
|
38
|
+
// Scroll
|
|
39
|
+
"0x1a2fCB585b327fAdec91f55D45829472B15f17a4": "tokan"
|
|
38
40
|
};
|
|
39
41
|
class OffchainPriceHelper {
|
|
40
42
|
constructor(offchain) {
|