impermax-sdk 1.0.34 → 1.0.36
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 -0
- package/lib/config/farms.d.ts +2 -0
- package/lib/config/farms.js +3 -0
- package/lib/config/subgraphs.js +1 -1
- package/package.json +1 -1
package/lib/config/amms.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export declare enum Amms {
|
|
|
6
6
|
swapr = "swapr",
|
|
7
7
|
swapfish = "swapfish",
|
|
8
8
|
zyberswap = "zyberswap",
|
|
9
|
+
arbidex = "arbidex",
|
|
9
10
|
solidlizard = "solidlizard",
|
|
10
11
|
ramses = "ramses",
|
|
11
12
|
pangolin = "pangolin",
|
|
@@ -28,6 +29,7 @@ export declare const hrAmms: {
|
|
|
28
29
|
swapr: string;
|
|
29
30
|
swapfish: string;
|
|
30
31
|
zyberswap: string;
|
|
32
|
+
arbidex: string;
|
|
31
33
|
solidlizard: string;
|
|
32
34
|
ramses: string;
|
|
33
35
|
pangolin: string;
|
package/lib/config/amms.js
CHANGED
|
@@ -10,6 +10,7 @@ var Amms;
|
|
|
10
10
|
Amms["swapr"] = "swapr";
|
|
11
11
|
Amms["swapfish"] = "swapfish";
|
|
12
12
|
Amms["zyberswap"] = "zyberswap";
|
|
13
|
+
Amms["arbidex"] = "arbidex";
|
|
13
14
|
Amms["solidlizard"] = "solidlizard";
|
|
14
15
|
Amms["ramses"] = "ramses";
|
|
15
16
|
Amms["pangolin"] = "pangolin";
|
|
@@ -32,6 +33,7 @@ exports.hrAmms = {
|
|
|
32
33
|
[Amms.swapr]: 'Swapr',
|
|
33
34
|
[Amms.swapfish]: 'SwapFish',
|
|
34
35
|
[Amms.zyberswap]: 'ZyberSwap',
|
|
36
|
+
[Amms.arbidex]: 'Arbidex',
|
|
35
37
|
[Amms.solidlizard]: 'SolidLizard',
|
|
36
38
|
[Amms.ramses]: 'Ramses',
|
|
37
39
|
[Amms.pangolin]: 'Pangolin',
|
|
@@ -64,6 +66,7 @@ exports.AMM_FACTORY = {
|
|
|
64
66
|
[Amms.swapr]: '0x359F20Ad0F42D75a5077e65F30274cABe6f4F01a',
|
|
65
67
|
[Amms.swapfish]: '0x71539D09D3890195dDa87A6198B98B75211b72F3',
|
|
66
68
|
[Amms.zyberswap]: '0xac2ee06a14c52570ef3b9812ed240bce359772e7',
|
|
69
|
+
[Amms.arbidex]: '0x1c6e968f2e6c9dec61db874e28589fd5ce3e1f2c',
|
|
67
70
|
[Amms.solidlizard]: '0x734d84631f00dc0d3fcd18b04b6cf42bfd407074',
|
|
68
71
|
[Amms.ramses]: '0x78a2251f1aaeaa8fc1eafcc379663cca3f894708', //NOTICE: this is actually the staked LP factory
|
|
69
72
|
},
|
|
@@ -118,6 +121,7 @@ exports.AMM_SUBGRAPH_URLS = {
|
|
|
118
121
|
[Amms.sushiswap]: 'https://api.thegraph.com/subgraphs/name/sushiswap/arbitrum-exchange',
|
|
119
122
|
[Amms.swapr]: 'https://api.thegraph.com/subgraphs/name/luzzif/swapr-arbitrum-one-v2',
|
|
120
123
|
[Amms.zyberswap]: 'https://api.thegraph.com/subgraphs/name/zyberswap-arbitrum/zyber-amm',
|
|
124
|
+
//[Amms.arbidex]: '',
|
|
121
125
|
[Amms.solidlizard]: 'https://api.thegraph.com/subgraphs/name/solidlizardfinance/sliz',
|
|
122
126
|
//[Amms.ramses]: '',
|
|
123
127
|
//[Amms.swapfish]: 'https://bsc.streamingfast.io/subgraphs/name/pancakeswap/exchange-v2',
|
|
@@ -163,6 +167,7 @@ exports.ADD_LIQUIDITY_URLS = {
|
|
|
163
167
|
[Amms.swapr]: 'https://swapr.eth.link/#/add/',
|
|
164
168
|
[Amms.swapfish]: 'https://swapfish.fi/add/',
|
|
165
169
|
[Amms.zyberswap]: 'https://app.zyberswap.io/exchange/add/',
|
|
170
|
+
[Amms.arbidex]: 'https://arbidex.fi/add/',
|
|
166
171
|
[Amms.solidlizard]: 'https://solidlizard.finance/liquidity/',
|
|
167
172
|
[Amms.ramses]: 'https://app.ramses.exchange/liquidity/',
|
|
168
173
|
},
|
|
@@ -209,6 +214,7 @@ exports.AMM_LP_FEE = {
|
|
|
209
214
|
[Amms.swapr]: 0.00225,
|
|
210
215
|
[Amms.swapfish]: 0.0017,
|
|
211
216
|
[Amms.zyberswap]: 0.0015,
|
|
217
|
+
[Amms.arbidex]: 0,
|
|
212
218
|
[Amms.solidlizard]: 0,
|
|
213
219
|
[Amms.ramses]: 0,
|
|
214
220
|
},
|
package/lib/config/farms.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export declare enum Farms {
|
|
|
8
8
|
swapr = "swapr",
|
|
9
9
|
swapfish = "swapfish",
|
|
10
10
|
zyberswap = "zyberswap",
|
|
11
|
+
arbidex = "arbidex",
|
|
11
12
|
solidlizard = "solidlizard",
|
|
12
13
|
ramses = "ramses",
|
|
13
14
|
velocimeter = "velocimeter",
|
|
@@ -37,6 +38,7 @@ export declare const hrFarms: {
|
|
|
37
38
|
swapr: string;
|
|
38
39
|
swapfish: string;
|
|
39
40
|
zyberswap: string;
|
|
41
|
+
arbidex: string;
|
|
40
42
|
solidlizard: string;
|
|
41
43
|
ramses: string;
|
|
42
44
|
velocimeter: string;
|
package/lib/config/farms.js
CHANGED
|
@@ -12,6 +12,7 @@ var Farms;
|
|
|
12
12
|
Farms["swapr"] = "swapr";
|
|
13
13
|
Farms["swapfish"] = "swapfish";
|
|
14
14
|
Farms["zyberswap"] = "zyberswap";
|
|
15
|
+
Farms["arbidex"] = "arbidex";
|
|
15
16
|
Farms["solidlizard"] = "solidlizard";
|
|
16
17
|
Farms["ramses"] = "ramses";
|
|
17
18
|
Farms["velocimeter"] = "velocimeter";
|
|
@@ -41,6 +42,7 @@ exports.hrFarms = {
|
|
|
41
42
|
[Farms.swapr]: 'Swapr',
|
|
42
43
|
[Farms.swapfish]: 'SwapFish',
|
|
43
44
|
[Farms.zyberswap]: 'ZyberSwap',
|
|
45
|
+
[Farms.arbidex]: 'Arbidex',
|
|
44
46
|
[Farms.solidlizard]: 'SolidLizard',
|
|
45
47
|
[Farms.ramses]: 'Ramses',
|
|
46
48
|
[Farms.velocimeter]: 'Velocimeter',
|
|
@@ -78,6 +80,7 @@ exports.STAKED_LP_FACTORY = {
|
|
|
78
80
|
//[Farms.swapfish]: '0xcDAeC65495Fa5c0545c5a405224214e3594f30d8',
|
|
79
81
|
[Farms.swapfish]: '0x3bE7B59Ab6558845FfA1f026Dff40b305dd47b37',
|
|
80
82
|
[Farms.zyberswap]: '0xBCE93e2D822CfDD70F106e32FCB266457cece45F',
|
|
83
|
+
[Farms.arbidex]: '0x02f5ccD72351bbc4463A9a4b78708532a6BaDFef',
|
|
81
84
|
[Farms.solidlizard]: '0x30d7ef0d94b43BFa4Ff5935DBC608D7fc0116BB7',
|
|
82
85
|
[Farms.ramses]: '0x78a2251F1AAEaA8Fc1EaFcC379663cCa3F894708',
|
|
83
86
|
[Farms.radiant]: '0x4aE11dC7D7e70eE16d7eaE32851302e55f6CA85e',
|
package/lib/config/subgraphs.js
CHANGED
|
@@ -15,7 +15,7 @@ exports.IMPERMAX_SUBGRAPH_URL = {
|
|
|
15
15
|
},
|
|
16
16
|
[types_1.Networks.Arbitrum]: {
|
|
17
17
|
[types_1.Factory.V2V1_1]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-x-uniswap-v2-arbitrum',
|
|
18
|
-
[types_1.Factory.V2V2]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-arbitrum-v2',
|
|
18
|
+
[types_1.Factory.V2V2]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-arbitrum-v2-1',
|
|
19
19
|
[types_1.Factory.SOLV2]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-arbitrum-solv2',
|
|
20
20
|
//[F.V2V1_1]: 'https://api.impermax.finance/subgraphs/name/impermax-finance/impermax-x-uniswap-v2-arbitrum02'
|
|
21
21
|
},
|