impermax-sdk 2.1.433 → 2.1.435
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
|
@@ -51,7 +51,9 @@ export declare enum Amms {
|
|
|
51
51
|
nile = "nile",
|
|
52
52
|
nileStable = "nileStable",
|
|
53
53
|
swapx = "swapx",
|
|
54
|
-
velodromeStable = "velodromeStable"
|
|
54
|
+
velodromeStable = "velodromeStable",
|
|
55
|
+
blackhole = "blackhole",
|
|
56
|
+
blackhole1 = "blackhole1"
|
|
55
57
|
}
|
|
56
58
|
export declare const hrAmms: {
|
|
57
59
|
uniswap: string;
|
|
@@ -106,6 +108,8 @@ export declare const hrAmms: {
|
|
|
106
108
|
nileStable: string;
|
|
107
109
|
swapx: string;
|
|
108
110
|
velodromeStable: string;
|
|
111
|
+
blackhole: string;
|
|
112
|
+
blackhole1: string;
|
|
109
113
|
};
|
|
110
114
|
export declare const AMM_FACTORY: AmmIndex;
|
|
111
115
|
export declare function getAmmByFactory(network: Networks, address: Address): Amms | null;
|
package/lib/config/amms.js
CHANGED
|
@@ -56,6 +56,8 @@ var Amms;
|
|
|
56
56
|
Amms["nileStable"] = "nileStable";
|
|
57
57
|
Amms["swapx"] = "swapx";
|
|
58
58
|
Amms["velodromeStable"] = "velodromeStable";
|
|
59
|
+
Amms["blackhole"] = "blackhole";
|
|
60
|
+
Amms["blackhole1"] = "blackhole1";
|
|
59
61
|
})(Amms = exports.Amms || (exports.Amms = {}));
|
|
60
62
|
exports.hrAmms = {
|
|
61
63
|
[Amms.uniswap]: 'UniswapV2',
|
|
@@ -109,7 +111,9 @@ exports.hrAmms = {
|
|
|
109
111
|
[Amms.nile]: 'Nile',
|
|
110
112
|
[Amms.nileStable]: 'Nile Stable',
|
|
111
113
|
[Amms.swapx]: 'SwapX',
|
|
112
|
-
[Amms.velodromeStable]: 'Velodrome Stable'
|
|
114
|
+
[Amms.velodromeStable]: 'Velodrome Stable',
|
|
115
|
+
[Amms.blackhole]: 'Blackhole',
|
|
116
|
+
[Amms.blackhole1]: 'Blackhole'
|
|
113
117
|
};
|
|
114
118
|
exports.AMM_FACTORY = {
|
|
115
119
|
[types_1.Networks.Ropsten]: {
|
|
@@ -145,6 +149,8 @@ exports.AMM_FACTORY = {
|
|
|
145
149
|
[Amms.flair]: '0x634e02EB048eb1B5bDDc0CFdC20D34503E9B362d',
|
|
146
150
|
[Amms.glacier]: '0xaC7B7EaC8310170109301034b8FdB75eCa4CC491',
|
|
147
151
|
[Amms.thorus]: '0xa98ea6356A316b44Bf710D5f9b6b4eA0081409Ef',
|
|
152
|
+
[Amms.blackhole]: '0x48168439ca4ef9e95975e3e2488bfcbd8fb1a80c',
|
|
153
|
+
[Amms.blackhole1]: '0x1899d3b1e62a1e52cab440ef065d6a6cdfcf1125'
|
|
148
154
|
},
|
|
149
155
|
[types_1.Networks.Moonriver]: {
|
|
150
156
|
[Amms.sushiswap]: '0xc35DADB65012eC5796536bD9864eD8773aBc74C4',
|
|
@@ -322,6 +328,8 @@ exports.ADD_LIQUIDITY_URLS = {
|
|
|
322
328
|
[Amms.flair]: 'https://app.flairdex.xyz/liquidity/',
|
|
323
329
|
[Amms.glacier]: 'https://www.glacier.exchange/liquidity/',
|
|
324
330
|
[Amms.thorus]: 'https://app.thorus.fi/add/',
|
|
331
|
+
[Amms.blackhole]: 'https://blackhole.xyz/liquidity',
|
|
332
|
+
[Amms.blackhole1]: 'https://blackhole.xyz/liquidity',
|
|
325
333
|
},
|
|
326
334
|
[types_1.Networks.Moonriver]: {
|
|
327
335
|
[Amms.sushiswap]: 'https://app.sushi.com/legacy/add/',
|
|
@@ -7,7 +7,7 @@ exports.IMPERMAX_CONFIG_MANAGER = {
|
|
|
7
7
|
[types_1.Networks.Mainnet]: '',
|
|
8
8
|
[types_1.Networks.Polygon]: '0xB72A79979D9CDbBB5BA6FF7d8E99D5e274154794',
|
|
9
9
|
[types_1.Networks.Arbitrum]: '',
|
|
10
|
-
[types_1.Networks.Avalanche]: '',
|
|
10
|
+
[types_1.Networks.Avalanche]: '0xDC2037D10f3A10F02B8Cf8d3e373c0924b300f7D',
|
|
11
11
|
[types_1.Networks.Moonriver]: '',
|
|
12
12
|
[types_1.Networks.Aurora]: '',
|
|
13
13
|
[types_1.Networks.Cronos]: '',
|
package/lib/config/subgraphs.js
CHANGED
|
@@ -297,7 +297,7 @@ exports.CONFIG_MANAGER_SUBGRAPH_URL = {
|
|
|
297
297
|
[types_1.Networks.Mainnet]: "",
|
|
298
298
|
[types_1.Networks.Polygon]: "https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/deployments/id/QmaCLvTgR15D9sFbA644CtovUpAzwX9EQn43ADe2ojkfn4",
|
|
299
299
|
[types_1.Networks.Arbitrum]: "",
|
|
300
|
-
[types_1.Networks.Avalanche]: "",
|
|
300
|
+
[types_1.Networks.Avalanche]: "https://gateway.thegraph.com/api/e9bbf185bbf657f7ea313387cdf0e5ce/deployments/id/QmWVUV4KUrgHQG4cw1iyE6YgiyUMNz56umVusdAYJkdAhY",
|
|
301
301
|
[types_1.Networks.Moonriver]: "",
|
|
302
302
|
[types_1.Networks.Aurora]: "",
|
|
303
303
|
[types_1.Networks.Cronos]: "",
|
package/lib/config/whitelist.js
CHANGED
|
@@ -22,7 +22,18 @@ exports.WHITELISTED_PAIRS = {
|
|
|
22
22
|
[types_1.Networks.Avalanche]: {
|
|
23
23
|
[types_1.Factory.V2V1_2]: [],
|
|
24
24
|
[types_1.Factory.V2V2]: [],
|
|
25
|
-
[types_1.Factory.SOLV2]: [
|
|
25
|
+
[types_1.Factory.SOLV2]: [
|
|
26
|
+
"0x05dc8e14a5779f27ddd1adcafc0acb19b65a71d1",
|
|
27
|
+
"0x62ad2d9c575fe1dad4833c1f8dcdda9ce37e59f4",
|
|
28
|
+
"0x4b6d205c81c392defad31965019a26c37063f3a7",
|
|
29
|
+
"0xeec03faa348776a921cb75f764c6217b61d2276a",
|
|
30
|
+
"0x5c42e92ab5d3b4864caf1bdcaf388dc88cc0bd16",
|
|
31
|
+
"0x410a91adf62172e832ccb5c653e7ea4369639b77",
|
|
32
|
+
//"0xc061b9f143325767439603dd861d7df1ac9f5300", // weth/avax -> redeployed in v2
|
|
33
|
+
//"0x8b48bc4bd0d9568bb39b38e652d20352e170f9ac" // weth/fbomb -> redeployed in v2
|
|
34
|
+
"0x0b96755241DeAccc83BF8b4eda314d81905Cd7Bd",
|
|
35
|
+
"0x4f667a0220EF7c1284C763c33eD86f9413a177B3" // weth/fbom
|
|
36
|
+
],
|
|
26
37
|
},
|
|
27
38
|
[types_1.Networks.Moonriver]: {
|
|
28
39
|
[types_1.Factory.V2V1_2]: [],
|