impermax-sdk 1.2.49 → 1.2.50
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 +2 -0
- package/lib/config/amms.js +6 -2
- package/lib/config/contracts/impermax-factories.js +1 -0
- package/lib/config/contracts/routers.js +1 -0
- package/lib/config/farms.d.ts +5 -1
- package/lib/config/farms.js +6 -0
- package/lib/config/subgraphs.js +3 -2
- package/package.json +1 -1
package/lib/config/amms.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ export declare enum Amms {
|
|
|
33
33
|
pearl = "pearl",
|
|
34
34
|
pearlStable = "pearlStable",
|
|
35
35
|
aerodrome = "aerodrome",
|
|
36
|
+
aeroStable = "aeroStable",
|
|
36
37
|
merchantmoe = "merchantmoe",
|
|
37
38
|
tokan = "tokan",
|
|
38
39
|
tokanStable = "tokanStable",
|
|
@@ -72,6 +73,7 @@ export declare const hrAmms: {
|
|
|
72
73
|
vesync: string;
|
|
73
74
|
solunea: string;
|
|
74
75
|
aerodrome: string;
|
|
76
|
+
aeroStable: string;
|
|
75
77
|
scale: string;
|
|
76
78
|
merchantmoe: string;
|
|
77
79
|
tokan: string;
|
package/lib/config/amms.js
CHANGED
|
@@ -37,6 +37,7 @@ var Amms;
|
|
|
37
37
|
Amms["pearl"] = "pearl";
|
|
38
38
|
Amms["pearlStable"] = "pearlStable";
|
|
39
39
|
Amms["aerodrome"] = "aerodrome";
|
|
40
|
+
Amms["aeroStable"] = "aeroStable";
|
|
40
41
|
Amms["merchantmoe"] = "merchantmoe";
|
|
41
42
|
Amms["tokan"] = "tokan";
|
|
42
43
|
Amms["tokanStable"] = "tokanStable";
|
|
@@ -76,10 +77,11 @@ exports.hrAmms = {
|
|
|
76
77
|
[Amms.vesync]: 'VeSync',
|
|
77
78
|
[Amms.solunea]: 'Solunea',
|
|
78
79
|
[Amms.aerodrome]: 'Aerodrome',
|
|
80
|
+
[Amms.aeroStable]: 'Aerodrome Stable',
|
|
79
81
|
[Amms.scale]: 'Scale',
|
|
80
82
|
[Amms.merchantmoe]: 'MerchantMoe',
|
|
81
83
|
[Amms.tokan]: 'Tokan',
|
|
82
|
-
[Amms.tokanStable]: 'Tokan',
|
|
84
|
+
[Amms.tokanStable]: 'Tokan Stable',
|
|
83
85
|
};
|
|
84
86
|
exports.AMM_FACTORY = {
|
|
85
87
|
[types_1.Networks.Ropsten]: {
|
|
@@ -144,8 +146,8 @@ exports.AMM_FACTORY = {
|
|
|
144
146
|
[Amms.merchantmoe]: "0x5bEf015CA9424A7C07B68490616a4C1F094BEdEc"
|
|
145
147
|
},
|
|
146
148
|
[types_1.Networks.Base]: {
|
|
147
|
-
// [Amms.aerodrome]: '0x2a32215Ba106039f5A96b6366338BDb9FB0b62E8', //NOTICE: this is actually the staked LP factory,
|
|
148
149
|
[Amms.aerodrome]: '0x420DD381b31aEf6683db6B902084cB0FFECe40Da',
|
|
150
|
+
[Amms.aeroStable]: '0x8f50a6d5ea6715f878E2984569975e8875eeBafB',
|
|
149
151
|
[Amms.scale]: '0xEd8db60aCc29e14bC867a497D94ca6e3CeB5eC04',
|
|
150
152
|
[Amms.uniswap]: '0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6'
|
|
151
153
|
},
|
|
@@ -282,6 +284,7 @@ exports.ADD_LIQUIDITY_URLS = {
|
|
|
282
284
|
[types_1.Networks.Sxnetwork]: {},
|
|
283
285
|
[types_1.Networks.Base]: {
|
|
284
286
|
[Amms.aerodrome]: 'https://aerodrome.finance/deposit/',
|
|
287
|
+
[Amms.aeroStable]: 'https://aerodrome.finance/deposit/',
|
|
285
288
|
[Amms.scale]: 'https://base.equalizer.exchange/liquidity/',
|
|
286
289
|
[Amms.uniswap]: 'https://app.uniswap.org/#/add/V2/',
|
|
287
290
|
},
|
|
@@ -354,6 +357,7 @@ exports.AMM_LP_FEE = {
|
|
|
354
357
|
[types_1.Networks.Sxnetwork]: {},
|
|
355
358
|
[types_1.Networks.Base]: {
|
|
356
359
|
[Amms.aerodrome]: 0,
|
|
360
|
+
[Amms.aeroStable]: 0,
|
|
357
361
|
[Amms.scale]: 0,
|
|
358
362
|
[Amms.uniswap]: 0.003,
|
|
359
363
|
},
|
|
@@ -43,6 +43,7 @@ exports.IMPERMAX_FACTORY = {
|
|
|
43
43
|
[types_1.Networks.Sxnetwork]: {},
|
|
44
44
|
[types_1.Networks.Base]: {
|
|
45
45
|
[types_1.Factory.SOLV2]: '0x66ca66E002a9CEE8dEfE25dB6f0c6225117C2d9f',
|
|
46
|
+
[types_1.Factory.SOL_STABLE]: '0x8aDc5F73e63b3Af3fd0648281fE451738D8B9D86',
|
|
46
47
|
[types_1.Factory.V2V2]: '0x47183bB55AD0F891887E099Cec3570d3C667cD00',
|
|
47
48
|
},
|
|
48
49
|
[types_1.Networks.Scroll]: {
|
|
@@ -47,6 +47,7 @@ exports.ROUTER = {
|
|
|
47
47
|
[types_1.Networks.Sxnetwork]: {},
|
|
48
48
|
[types_1.Networks.Base]: {
|
|
49
49
|
[types_1.Factory.SOLV2]: '0x1EBC3b5911B99aDdE07944c75D9E03958abdB49f',
|
|
50
|
+
[types_1.Factory.SOL_STABLE]: '0xC5d6CB2205349Cc94684E7acF012751344bc58F7',
|
|
50
51
|
[types_1.Factory.V2V2]: '0x21D9d4d17255d427A5F77D23fb9Eb3c5Cd281ebf'
|
|
51
52
|
},
|
|
52
53
|
[types_1.Networks.Scroll]: {
|
package/lib/config/farms.d.ts
CHANGED
|
@@ -40,8 +40,10 @@ export declare enum Farms {
|
|
|
40
40
|
solidexUSDCB = "solidexUSDCB",
|
|
41
41
|
oxdao = "oxdao",
|
|
42
42
|
aerodrome = "aerodrome",
|
|
43
|
+
aeroStable = "aeroStable",
|
|
43
44
|
merchantmoe = "merchantmoe",
|
|
44
|
-
tokan = "tokan"
|
|
45
|
+
tokan = "tokan",
|
|
46
|
+
tokanStable = "tokanStable"
|
|
45
47
|
}
|
|
46
48
|
export declare const hrFarms: {
|
|
47
49
|
quickswapOld: string;
|
|
@@ -84,7 +86,9 @@ export declare const hrFarms: {
|
|
|
84
86
|
solidexUSDCB: string;
|
|
85
87
|
oxdao: string;
|
|
86
88
|
aerodrome: string;
|
|
89
|
+
aeroStable: string;
|
|
87
90
|
tokan: string;
|
|
91
|
+
tokanStable: string;
|
|
88
92
|
};
|
|
89
93
|
export type FarmIndex = {
|
|
90
94
|
[key in Networks]: {
|
package/lib/config/farms.js
CHANGED
|
@@ -44,8 +44,10 @@ var Farms;
|
|
|
44
44
|
Farms["solidexUSDCB"] = "solidexUSDCB";
|
|
45
45
|
Farms["oxdao"] = "oxdao";
|
|
46
46
|
Farms["aerodrome"] = "aerodrome";
|
|
47
|
+
Farms["aeroStable"] = "aeroStable";
|
|
47
48
|
Farms["merchantmoe"] = "merchantmoe";
|
|
48
49
|
Farms["tokan"] = "tokan";
|
|
50
|
+
Farms["tokanStable"] = "tokanStable";
|
|
49
51
|
})(Farms = exports.Farms || (exports.Farms = {}));
|
|
50
52
|
exports.hrFarms = {
|
|
51
53
|
[Farms.quickswapOld]: 'QuickSwap',
|
|
@@ -88,7 +90,9 @@ exports.hrFarms = {
|
|
|
88
90
|
[Farms.solidexUSDCB]: 'Solidex',
|
|
89
91
|
[Farms.oxdao]: '0xDAO',
|
|
90
92
|
[Farms.aerodrome]: 'Aerodrome',
|
|
93
|
+
[Farms.aeroStable]: 'Aerodrome Stable',
|
|
91
94
|
[Farms.tokan]: 'Tokan',
|
|
95
|
+
[Farms.tokanStable]: 'Tokan Stable',
|
|
92
96
|
};
|
|
93
97
|
exports.STAKED_LP_FACTORY = {
|
|
94
98
|
[types_1.Networks.Ropsten]: {},
|
|
@@ -156,12 +160,14 @@ exports.STAKED_LP_FACTORY = {
|
|
|
156
160
|
[types_1.Networks.Sxnetwork]: {},
|
|
157
161
|
[types_1.Networks.Base]: {
|
|
158
162
|
[Farms.aerodrome]: '0x2a32215Ba106039f5A96b6366338BDb9FB0b62E8',
|
|
163
|
+
[Farms.aeroStable]: '0x8f50a6d5ea6715f878E2984569975e8875eeBafB',
|
|
159
164
|
},
|
|
160
165
|
[types_1.Networks.Mantle]: {
|
|
161
166
|
[Farms.merchantmoe]: '0x49bfE341232caE3CCB55ab99b11631CDE0AC9289',
|
|
162
167
|
},
|
|
163
168
|
[types_1.Networks.Scroll]: {
|
|
164
169
|
[Farms.tokan]: '0x074568F090e93194289c2C2BF285eE7f60b485a9',
|
|
170
|
+
[Farms.tokanStable]: '0x6c041ff2d25310a2751C57555265F2364CaCA195',
|
|
165
171
|
}
|
|
166
172
|
};
|
|
167
173
|
function getFarmByStakedLPFactory(network, address) {
|
package/lib/config/subgraphs.js
CHANGED
|
@@ -45,6 +45,7 @@ exports.IMPERMAX_SUBGRAPH_URL = {
|
|
|
45
45
|
[types_1.Networks.Sxnetwork]: {},
|
|
46
46
|
[types_1.Networks.Base]: {
|
|
47
47
|
[types_1.Factory.SOLV2]: 'https://api.studio.thegraph.com/query/46041/impermax-base-solv2/v0.0.2',
|
|
48
|
+
[types_1.Factory.SOL_STABLE]: 'https://api.studio.thegraph.com/query/46041/impermax-base-solv2-stable/v0.0.1',
|
|
48
49
|
[types_1.Factory.V2V2]: 'https://api.studio.thegraph.com/query/46041/impermax-base-v2/v0.0.1',
|
|
49
50
|
},
|
|
50
51
|
[types_1.Networks.Scroll]: {
|
|
@@ -87,9 +88,9 @@ exports.LENDING_VAULT_SUBGRAPH_URL = {
|
|
|
87
88
|
[types_1.Networks.Sxnetwork]: '',
|
|
88
89
|
[types_1.Networks.Canto]: '',
|
|
89
90
|
[types_1.Networks.ZksyncEra]: '',
|
|
90
|
-
[types_1.Networks.Base]: '',
|
|
91
|
+
[types_1.Networks.Base]: 'https://api.studio.thegraph.com/query/46041/lending-vault-base/v0.0.1',
|
|
91
92
|
[types_1.Networks.Mantle]: '',
|
|
92
|
-
[types_1.Networks.Scroll]: '',
|
|
93
|
+
[types_1.Networks.Scroll]: 'https://api.studio.thegraph.com/query/46041/lending-vault-scroll/v0.0.1',
|
|
93
94
|
};
|
|
94
95
|
exports.BLOCKS_SUBGRAPH_URL = {
|
|
95
96
|
[types_1.Networks.Ropsten]: '',
|