impermax-sdk 1.0.41 → 1.0.43
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
|
@@ -11,6 +11,7 @@ export declare enum Amms {
|
|
|
11
11
|
ramses = "ramses",
|
|
12
12
|
pangolin = "pangolin",
|
|
13
13
|
traderJoe = "traderJoe",
|
|
14
|
+
flair = "flair",
|
|
14
15
|
solarbeam = "solarbeam",
|
|
15
16
|
thorus = "thorus",
|
|
16
17
|
tetuswap = "tetuswap",
|
|
@@ -34,6 +35,7 @@ export declare const hrAmms: {
|
|
|
34
35
|
ramses: string;
|
|
35
36
|
pangolin: string;
|
|
36
37
|
traderJoe: string;
|
|
38
|
+
flair: string;
|
|
37
39
|
solarbeam: string;
|
|
38
40
|
thorus: string;
|
|
39
41
|
tetuswap: string;
|
package/lib/config/amms.js
CHANGED
|
@@ -15,6 +15,7 @@ var Amms;
|
|
|
15
15
|
Amms["ramses"] = "ramses";
|
|
16
16
|
Amms["pangolin"] = "pangolin";
|
|
17
17
|
Amms["traderJoe"] = "traderJoe";
|
|
18
|
+
Amms["flair"] = "flair";
|
|
18
19
|
Amms["solarbeam"] = "solarbeam";
|
|
19
20
|
Amms["thorus"] = "thorus";
|
|
20
21
|
Amms["tetuswap"] = "tetuswap";
|
|
@@ -38,6 +39,7 @@ exports.hrAmms = {
|
|
|
38
39
|
[Amms.ramses]: 'Ramses',
|
|
39
40
|
[Amms.pangolin]: 'Pangolin',
|
|
40
41
|
[Amms.traderJoe]: 'TraderJoe',
|
|
42
|
+
[Amms.flair]: 'Flair',
|
|
41
43
|
[Amms.solarbeam]: 'Solarbeam',
|
|
42
44
|
[Amms.thorus]: 'Thorus',
|
|
43
45
|
[Amms.tetuswap]: 'TetuSwap',
|
|
@@ -73,6 +75,7 @@ exports.AMM_FACTORY = {
|
|
|
73
75
|
[types_1.Networks.Avalanche]: {
|
|
74
76
|
[Amms.pangolin]: '0xefa94DE7a4656D787667C749f7E1223D71E9FD88',
|
|
75
77
|
[Amms.traderJoe]: '0x9Ad6C38BE94206cA50bb0d90783181662f0Cfa10',
|
|
78
|
+
[Amms.flair]: '0x634e02EB048eb1B5bDDc0CFdC20D34503E9B362d',
|
|
76
79
|
[Amms.thorus]: '0xa98ea6356A316b44Bf710D5f9b6b4eA0081409Ef',
|
|
77
80
|
},
|
|
78
81
|
[types_1.Networks.Moonriver]: {
|
|
@@ -90,7 +93,7 @@ exports.AMM_FACTORY = {
|
|
|
90
93
|
[Amms.solidlyOxd]: '0xB83D21F60B73B21506c69DEcdBcF7Ab5AB737eB2', //NOTICE: this is actually the staked LP factory
|
|
91
94
|
},
|
|
92
95
|
[types_1.Networks.Canto]: {
|
|
93
|
-
[Amms.velocimeter]: '
|
|
96
|
+
[Amms.velocimeter]: '0x1c813cdd6daece2cb83c52f0798504e42816e9c5', //NOTICE: this is actually the staked LP factory
|
|
94
97
|
},
|
|
95
98
|
[types_1.Networks.Harmony]: {},
|
|
96
99
|
[types_1.Networks.Moonbeam]: {},
|
|
@@ -129,6 +132,7 @@ exports.AMM_SUBGRAPH_URLS = {
|
|
|
129
132
|
[types_1.Networks.Avalanche]: {
|
|
130
133
|
[Amms.pangolin]: 'https://api.thegraph.com/subgraphs/name/dasconnor/pangolin-dex',
|
|
131
134
|
[Amms.traderJoe]: 'https://api.thegraph.com/subgraphs/name/traderjoe-xyz/exchange',
|
|
135
|
+
[Amms.flair]: '',
|
|
132
136
|
[Amms.thorus]: '',
|
|
133
137
|
},
|
|
134
138
|
[types_1.Networks.Moonriver]: {
|
|
@@ -174,6 +178,7 @@ exports.ADD_LIQUIDITY_URLS = {
|
|
|
174
178
|
[types_1.Networks.Avalanche]: {
|
|
175
179
|
[Amms.pangolin]: 'https://app.pangolin.exchange/#/add/',
|
|
176
180
|
[Amms.traderJoe]: 'https://www.traderjoexyz.com/#/pool/',
|
|
181
|
+
[Amms.flair]: 'https://app.flairdex.xyz/liquidity/',
|
|
177
182
|
[Amms.thorus]: 'https://app.thorus.fi/add/',
|
|
178
183
|
},
|
|
179
184
|
[types_1.Networks.Moonriver]: {
|
|
@@ -221,6 +226,7 @@ exports.AMM_LP_FEE = {
|
|
|
221
226
|
[types_1.Networks.Avalanche]: {
|
|
222
227
|
[Amms.pangolin]: 0.0025,
|
|
223
228
|
[Amms.traderJoe]: 0.0025,
|
|
229
|
+
[Amms.flair]: 0,
|
|
224
230
|
[Amms.thorus]: 0,
|
|
225
231
|
},
|
|
226
232
|
[types_1.Networks.Moonriver]: {
|
|
@@ -21,6 +21,7 @@ exports.ROUTER = {
|
|
|
21
21
|
[types_1.Networks.Avalanche]: {
|
|
22
22
|
[types_1.Factory.V2V1_2]: '0x3039C26F9126833bAca8EdBF61c761CD909F461f',
|
|
23
23
|
[types_1.Factory.V2V2]: '0xaf82ee9246a608484e8567fadbef64ac1b8a87ab',
|
|
24
|
+
[types_1.Factory.SOLV2]: '0x8B07b0d9F4470635546Ef39CD3C5D00673864D0a',
|
|
24
25
|
},
|
|
25
26
|
[types_1.Networks.Moonriver]: {
|
|
26
27
|
[types_1.Factory.V2V1_2]: '0x3271cc175577465691e48196955e09d638fa05d5',
|
package/lib/config/farms.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export declare enum Farms {
|
|
|
19
19
|
traderJoeV2 = "traderJoeV2",
|
|
20
20
|
traderJoeV3 = "traderJoeV3",
|
|
21
21
|
traderJoeV4 = "traderJoeV4",
|
|
22
|
+
flair = "flair",
|
|
22
23
|
solarbeam = "solarbeam",
|
|
23
24
|
solarbeam2 = "solarbeam2",
|
|
24
25
|
thorus = "thorus",
|
|
@@ -48,6 +49,7 @@ export declare const hrFarms: {
|
|
|
48
49
|
traderJoeV2: string;
|
|
49
50
|
traderJoeV3: string;
|
|
50
51
|
traderJoeV4: string;
|
|
52
|
+
flair: string;
|
|
51
53
|
solarbeam: string;
|
|
52
54
|
solarbeam2: string;
|
|
53
55
|
thorus: string;
|
package/lib/config/farms.js
CHANGED
|
@@ -23,6 +23,7 @@ var Farms;
|
|
|
23
23
|
Farms["traderJoeV2"] = "traderJoeV2";
|
|
24
24
|
Farms["traderJoeV3"] = "traderJoeV3";
|
|
25
25
|
Farms["traderJoeV4"] = "traderJoeV4";
|
|
26
|
+
Farms["flair"] = "flair";
|
|
26
27
|
Farms["solarbeam"] = "solarbeam";
|
|
27
28
|
Farms["solarbeam2"] = "solarbeam2";
|
|
28
29
|
Farms["thorus"] = "thorus";
|
|
@@ -53,6 +54,7 @@ exports.hrFarms = {
|
|
|
53
54
|
[Farms.traderJoeV2]: 'TraderJoe',
|
|
54
55
|
[Farms.traderJoeV3]: 'TraderJoe',
|
|
55
56
|
[Farms.traderJoeV4]: 'TraderJoe',
|
|
57
|
+
[Farms.flair]: 'Flair',
|
|
56
58
|
[Farms.solarbeam]: 'Solarbeam',
|
|
57
59
|
[Farms.solarbeam2]: 'Solarbeam',
|
|
58
60
|
[Farms.thorus]: 'Thorus',
|
|
@@ -93,6 +95,7 @@ exports.STAKED_LP_FACTORY = {
|
|
|
93
95
|
[Farms.traderJoeV3]: '0x58Fde5bdB2C6Bd828Bc41c12a68189C7cd93dCE2',
|
|
94
96
|
[Farms.traderJoeV4]: '0xbc1bb900e34adbb99957672361433c6ad62a0cac',
|
|
95
97
|
[Farms.thorus]: '0x9141B3d02443a84793794f661Ae1e6607A03A201',
|
|
98
|
+
[Farms.flair]: '0x30d7ef0d94b43BFa4Ff5935DBC608D7fc0116BB7',
|
|
96
99
|
},
|
|
97
100
|
[types_1.Networks.Moonriver]: {
|
|
98
101
|
[Farms.sushiswap]: '0xBB92270716C8c424849F17cCc12F4F24AD4064D6',
|
package/lib/config/subgraphs.js
CHANGED
|
@@ -22,6 +22,7 @@ exports.IMPERMAX_SUBGRAPH_URL = {
|
|
|
22
22
|
[types_1.Networks.Avalanche]: {
|
|
23
23
|
[types_1.Factory.V2V1_2]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-x-uniswap-v2-avalanche1',
|
|
24
24
|
[types_1.Factory.V2V2]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-avalanche-v2',
|
|
25
|
+
[types_1.Factory.SOLV2]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-avalanche-solv2',
|
|
25
26
|
},
|
|
26
27
|
[types_1.Networks.Moonriver]: {
|
|
27
28
|
[types_1.Factory.V2V1_2]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-x-uniswap-v2-moonriver'
|