impermax-sdk 1.2.84 → 1.2.85
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
|
@@ -83,7 +83,7 @@ exports.hrAmms = {
|
|
|
83
83
|
[Amms.aerodrome]: 'Aerodrome',
|
|
84
84
|
[Amms.aeroStable]: 'Aerodrome Stable',
|
|
85
85
|
[Amms.aeroStable1]: 'Aerodrome Stable',
|
|
86
|
-
[Amms.scale]: 'Scale',
|
|
86
|
+
[Amms.scale]: 'Equalizer Scale',
|
|
87
87
|
[Amms.merchantmoe]: 'MerchantMoe',
|
|
88
88
|
[Amms.tokan]: 'Tokan',
|
|
89
89
|
[Amms.tokan1]: 'Tokan',
|
|
@@ -170,6 +170,7 @@ exports.AMM_FACTORY = {
|
|
|
170
170
|
[Amms.velodrome]: '0xF1046053aa5682b4F9a81b5481394DA16BE5FF5a',
|
|
171
171
|
},
|
|
172
172
|
[types_1.Networks.Real]: {
|
|
173
|
+
[Amms.pearl]: '0x2B965fDf04f9e9bEEf1659464Ef3A0094A68D923',
|
|
173
174
|
[Amms.pearlStable]: '0x28E22D8c807b6E6c0ECa4373fC3B9920453cEEEe',
|
|
174
175
|
}
|
|
175
176
|
};
|
|
@@ -320,6 +321,7 @@ exports.ADD_LIQUIDITY_URLS = {
|
|
|
320
321
|
},
|
|
321
322
|
[types_1.Networks.Real]: {
|
|
322
323
|
[Amms.pearlStable]: 'https://www.pearl.exchange/supply-liquidity/v2/',
|
|
324
|
+
[Amms.pearl]: 'https://www.pearl.exchange/supply-liquidity/v2/',
|
|
323
325
|
}
|
|
324
326
|
};
|
|
325
327
|
exports.AMM_LP_FEE = {
|
|
@@ -400,5 +402,6 @@ exports.AMM_LP_FEE = {
|
|
|
400
402
|
},
|
|
401
403
|
[types_1.Networks.Real]: {
|
|
402
404
|
[Amms.pearlStable]: 0,
|
|
405
|
+
[Amms.pearl]: 0,
|
|
403
406
|
}
|
|
404
407
|
};
|
|
@@ -51,6 +51,7 @@ exports.IMPERMAX_FACTORY = {
|
|
|
51
51
|
[types_1.Factory.SOL_STABLE]: '0xFBD17F3AA7d6506601D2bF7e15a6C96081296a01',
|
|
52
52
|
},
|
|
53
53
|
[types_1.Networks.Real]: {
|
|
54
|
+
[types_1.Factory.SOLV2]: '0x2944e1544cE201ae19e6385490bBA13DaA5f44e4',
|
|
54
55
|
[types_1.Factory.SOL_STABLE]: '0x3B1f3a48A70e372144307A4b126A5cDA46E169AD',
|
|
55
56
|
},
|
|
56
57
|
[types_1.Networks.Mantle]: {
|
|
@@ -61,6 +61,7 @@ exports.ROUTER = {
|
|
|
61
61
|
[types_1.Factory.V2V2]: '0xF4A9dda025e65945E7A3F873D6146A12c8110A19'
|
|
62
62
|
},
|
|
63
63
|
[types_1.Networks.Real]: {
|
|
64
|
+
[types_1.Factory.SOLV2]: '0x64515b2f866Ac9B1297f03329d82a8507332fEf5',
|
|
64
65
|
[types_1.Factory.SOL_STABLE]: '0x3784D354863fe8862d60E446E3f29A08c21D1Ea9'
|
|
65
66
|
},
|
|
66
67
|
};
|
package/lib/config/farms.js
CHANGED
|
@@ -181,6 +181,7 @@ exports.STAKED_LP_FACTORY = {
|
|
|
181
181
|
[Farms.velodrome]: '0x47183bB55AD0F891887E099Cec3570d3C667cD00',
|
|
182
182
|
},
|
|
183
183
|
[types_1.Networks.Real]: {
|
|
184
|
+
[Farms.pearl]: '0x2B965fDf04f9e9bEEf1659464Ef3A0094A68D923',
|
|
184
185
|
[Farms.pearlStable]: '0x28E22D8c807b6E6c0ECa4373fC3B9920453cEEEe',
|
|
185
186
|
}
|
|
186
187
|
};
|
package/lib/config/subgraphs.js
CHANGED
|
@@ -57,7 +57,8 @@ exports.IMPERMAX_SUBGRAPH_URL = {
|
|
|
57
57
|
[types_1.Factory.SOLV2]: 'https://api.studio.thegraph.com/query/46041/impermax-optimism-solv2/v0.0.1'
|
|
58
58
|
},
|
|
59
59
|
[types_1.Networks.Real]: {
|
|
60
|
-
[types_1.Factory.SOL_STABLE]: 'https://api.goldsky.com/api/public/project_cm2d5q4l4w31601vz4swb3vmi/subgraphs/impermax-finance/impermax-real-v2-stable/gn'
|
|
60
|
+
[types_1.Factory.SOL_STABLE]: 'https://api.goldsky.com/api/public/project_cm2d5q4l4w31601vz4swb3vmi/subgraphs/impermax-finance/impermax-real-v2-stable/gn',
|
|
61
|
+
[types_1.Factory.SOLV2]: 'https://api.goldsky.com/api/public/project_cm2rhb30ot9wu01to8c9h9e37/subgraphs/impermax-real-solv2/3.0/gn'
|
|
61
62
|
},
|
|
62
63
|
};
|
|
63
64
|
exports.IMPERMAX_CHEF_SUBGRAPH_URL = {
|
|
@@ -43,6 +43,7 @@ const coingecko_ids = {
|
|
|
43
43
|
"0x2b6a85cd35d15691357eea61d88cb3f401a92fc3": "surveyor-dao",
|
|
44
44
|
"0x7dbd14115baf4240aab8c4ef31bf71f76c708420": "uk-real-estate",
|
|
45
45
|
"0x25ea98ac87a38142561ea70143fd44c4772a16b6": "stack-2",
|
|
46
|
+
"0xd29687c813d741e2f938f4ac377128810e217b1b": "scroll",
|
|
46
47
|
// base
|
|
47
48
|
"0x940181a94a35a4569e4529a3cdfb74e38fd98631": "aerodrome-finance",
|
|
48
49
|
"0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed": "degen-base",
|
|
@@ -291,6 +292,9 @@ class OffchainPriceHelper {
|
|
|
291
292
|
if (tokenAddress.toLowerCase() === '0xc518a88c67ceca8b3f24c4562cb71deeb2af86b7') { // TEMPORARY fix for re.al usdc
|
|
292
293
|
return 1;
|
|
293
294
|
}
|
|
295
|
+
if (tokenAddress.toLowerCase() === '0xaec9e50e3397f9ddc635c6c429c8c7eca418a143') { // TEMPORARY fix for re.al arcUSD
|
|
296
|
+
return 1;
|
|
297
|
+
}
|
|
294
298
|
if (tokenAddress.toLowerCase() === '0xc71aaf8e486e3f33841bb56ca3fd2ac3fa8d29a8') { // TEMPORARY fix for WSTETH Canto
|
|
295
299
|
return (yield this.getDebankTokenPrice('0x5fd55a1b9fc24967c4db09c513c3ba0dfa7ff687')) * 1.12;
|
|
296
300
|
}
|