impermax-sdk 1.2.134 → 1.2.136
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
|
@@ -48,6 +48,7 @@ export declare enum Amms {
|
|
|
48
48
|
equalizerStable = "equalizerStable",
|
|
49
49
|
wigoswap = "wigoswap",
|
|
50
50
|
velodrome = "velodrome",
|
|
51
|
+
velodromeStable = "velodromeStable",
|
|
51
52
|
alien = "alien",
|
|
52
53
|
shadow = "shadow",
|
|
53
54
|
nile = "nile",
|
|
@@ -103,6 +104,7 @@ export declare const hrAmms: {
|
|
|
103
104
|
equalizerStable: string;
|
|
104
105
|
wigoswap: string;
|
|
105
106
|
velodrome: string;
|
|
107
|
+
velodromeStable: string;
|
|
106
108
|
alien: string;
|
|
107
109
|
shadow: string;
|
|
108
110
|
nile: string;
|
package/lib/config/amms.js
CHANGED
|
@@ -52,6 +52,7 @@ var Amms;
|
|
|
52
52
|
Amms["equalizerStable"] = "equalizerStable";
|
|
53
53
|
Amms["wigoswap"] = "wigoswap";
|
|
54
54
|
Amms["velodrome"] = "velodrome";
|
|
55
|
+
Amms["velodromeStable"] = "velodromeStable";
|
|
55
56
|
Amms["alien"] = "alien";
|
|
56
57
|
Amms["shadow"] = "shadow";
|
|
57
58
|
Amms["nile"] = "nile";
|
|
@@ -107,6 +108,7 @@ exports.hrAmms = {
|
|
|
107
108
|
[Amms.equalizerStable]: 'Equalizer',
|
|
108
109
|
[Amms.wigoswap]: 'Wigoswap',
|
|
109
110
|
[Amms.velodrome]: 'Velodrome',
|
|
111
|
+
[Amms.velodromeStable]: 'Velodrome Stable',
|
|
110
112
|
[Amms.alien]: 'AlienBase',
|
|
111
113
|
[Amms.shadow]: 'Shadow',
|
|
112
114
|
[Amms.nile]: 'Nile',
|
|
@@ -198,6 +200,7 @@ exports.AMM_FACTORY = {
|
|
|
198
200
|
},
|
|
199
201
|
[types_1.Networks.Optimism]: {
|
|
200
202
|
[Amms.velodrome]: '0xF1046053aa5682b4F9a81b5481394DA16BE5FF5a',
|
|
203
|
+
[Amms.velodromeStable]: '0xF1046053aa5682b4F9a81b5481394DA16BE5FF5a',
|
|
201
204
|
},
|
|
202
205
|
[types_1.Networks.Real]: {
|
|
203
206
|
[Amms.pearl]: '0x2B965fDf04f9e9bEEf1659464Ef3A0094A68D923',
|
|
@@ -368,6 +371,7 @@ exports.ADD_LIQUIDITY_URLS = {
|
|
|
368
371
|
},
|
|
369
372
|
[types_1.Networks.Optimism]: {
|
|
370
373
|
[Amms.velodrome]: 'https://velodrome.finance/deposit/',
|
|
374
|
+
[Amms.velodromeStable]: 'https://velodrome.finance/deposit/',
|
|
371
375
|
},
|
|
372
376
|
[types_1.Networks.Real]: {
|
|
373
377
|
[Amms.pearlStable]: 'https://www.pearl.exchange/supply-liquidity/v2/',
|
|
@@ -464,6 +468,7 @@ exports.AMM_LP_FEE = {
|
|
|
464
468
|
},
|
|
465
469
|
[types_1.Networks.Optimism]: {
|
|
466
470
|
[Amms.velodrome]: 0,
|
|
471
|
+
[Amms.velodromeStable]: 0,
|
|
467
472
|
},
|
|
468
473
|
[types_1.Networks.Real]: {
|
|
469
474
|
[Amms.pearlStable]: 0,
|
|
@@ -62,6 +62,7 @@ exports.ROUTER = {
|
|
|
62
62
|
},
|
|
63
63
|
[types_1.Networks.Optimism]: {
|
|
64
64
|
[types_1.Factory.SOLV2]: '0xb5657FA5ba87CaD11b9150c319069625d423aaD4',
|
|
65
|
+
[types_1.Factory.SOL_STABLE]: '0x6C21983B79d97d7789872CDC08dC90E0153B776a',
|
|
65
66
|
},
|
|
66
67
|
[types_1.Networks.Mantle]: {
|
|
67
68
|
[types_1.Factory.V2V2]: '0xF4A9dda025e65945E7A3F873D6146A12c8110A19'
|
package/lib/config/farms.d.ts
CHANGED
|
@@ -53,7 +53,8 @@ export declare enum Farms {
|
|
|
53
53
|
nileStable = "nileStable",
|
|
54
54
|
equalizerStable = "equalizerStable",
|
|
55
55
|
velodrome = "velodrome",
|
|
56
|
-
alien = "alien"
|
|
56
|
+
alien = "alien",
|
|
57
|
+
velodromeStable = "velodromeStable"
|
|
57
58
|
}
|
|
58
59
|
export declare const hrFarms: {
|
|
59
60
|
quickswapOld: string;
|
|
@@ -107,6 +108,7 @@ export declare const hrFarms: {
|
|
|
107
108
|
nileStable: string;
|
|
108
109
|
equalizerStable: string;
|
|
109
110
|
velodrome: string;
|
|
111
|
+
velodromeStable: string;
|
|
110
112
|
alien: string;
|
|
111
113
|
};
|
|
112
114
|
export type FarmIndex = {
|
package/lib/config/farms.js
CHANGED
|
@@ -58,6 +58,7 @@ var Farms;
|
|
|
58
58
|
Farms["equalizerStable"] = "equalizerStable";
|
|
59
59
|
Farms["velodrome"] = "velodrome";
|
|
60
60
|
Farms["alien"] = "alien";
|
|
61
|
+
Farms["velodromeStable"] = "velodromeStable";
|
|
61
62
|
})(Farms = exports.Farms || (exports.Farms = {}));
|
|
62
63
|
exports.hrFarms = {
|
|
63
64
|
[Farms.quickswapOld]: 'QuickSwap',
|
|
@@ -111,6 +112,7 @@ exports.hrFarms = {
|
|
|
111
112
|
[Farms.nileStable]: 'Nile Stable',
|
|
112
113
|
[Farms.equalizerStable]: 'Equalizer Stable',
|
|
113
114
|
[Farms.velodrome]: 'Velodrome',
|
|
115
|
+
[Farms.velodromeStable]: 'Velodrome Stable',
|
|
114
116
|
[Farms.alien]: 'AlienBase',
|
|
115
117
|
};
|
|
116
118
|
exports.STAKED_LP_FACTORY = {
|
|
@@ -198,6 +200,7 @@ exports.STAKED_LP_FACTORY = {
|
|
|
198
200
|
},
|
|
199
201
|
[types_1.Networks.Optimism]: {
|
|
200
202
|
[Farms.velodrome]: '0x47183bB55AD0F891887E099Cec3570d3C667cD00',
|
|
203
|
+
[Farms.velodromeStable]: '0xaea67e5ccc89d69cbabbe9d7811c3c6b36407055',
|
|
201
204
|
},
|
|
202
205
|
[types_1.Networks.Real]: {
|
|
203
206
|
[Farms.pearl]: '0x2B965fDf04f9e9bEEf1659464Ef3A0094A68D923',
|
|
@@ -162,6 +162,7 @@ class OffchainPriceHelper {
|
|
|
162
162
|
offchainTokenPrice["0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83"] = 0;
|
|
163
163
|
offchainTokenPrice["0xc19669a405067927865b40ea045a2baabbbe57f5"] = 0;
|
|
164
164
|
offchainTokenPrice["0x3fd3a0c85b70754efc07ac9ac0cbbdce664865a6"] = 0;
|
|
165
|
+
offchainTokenPrice["0xd4aa386bfceeedd9de0875b3ba07f51808592e22"] = 0; // temp fix for eliteRingsUSDC, fetch from dexscreener
|
|
165
166
|
//offchainTokenPrice["0xad531012c0651a85a212f10fc97b3ec15684548a"] = 0;
|
|
166
167
|
return offchainTokenPrice;
|
|
167
168
|
}
|