impermax-sdk 1.2.119 → 1.2.121
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
|
@@ -47,7 +47,8 @@ export declare enum Amms {
|
|
|
47
47
|
equalizer = "equalizer",
|
|
48
48
|
wigoswap = "wigoswap",
|
|
49
49
|
velodrome = "velodrome",
|
|
50
|
-
alien = "alien"
|
|
50
|
+
alien = "alien",
|
|
51
|
+
shadow = "shadow"
|
|
51
52
|
}
|
|
52
53
|
export declare const hrAmms: {
|
|
53
54
|
uniswap: string;
|
|
@@ -98,6 +99,7 @@ export declare const hrAmms: {
|
|
|
98
99
|
wigoswap: string;
|
|
99
100
|
velodrome: string;
|
|
100
101
|
alien: string;
|
|
102
|
+
shadow: string;
|
|
101
103
|
};
|
|
102
104
|
export declare const AMM_FACTORY: AmmIndex;
|
|
103
105
|
export declare function getAmmByFactory(network: Networks, address: Address): Amms | null;
|
package/lib/config/amms.js
CHANGED
|
@@ -52,6 +52,7 @@ var Amms;
|
|
|
52
52
|
Amms["wigoswap"] = "wigoswap";
|
|
53
53
|
Amms["velodrome"] = "velodrome";
|
|
54
54
|
Amms["alien"] = "alien";
|
|
55
|
+
Amms["shadow"] = "shadow";
|
|
55
56
|
})(Amms = exports.Amms || (exports.Amms = {}));
|
|
56
57
|
exports.hrAmms = {
|
|
57
58
|
[Amms.uniswap]: 'Uniswap',
|
|
@@ -102,6 +103,7 @@ exports.hrAmms = {
|
|
|
102
103
|
[Amms.wigoswap]: 'Wigoswap',
|
|
103
104
|
[Amms.velodrome]: 'Velodrome',
|
|
104
105
|
[Amms.alien]: 'AlienBase',
|
|
106
|
+
[Amms.shadow]: 'Shadow',
|
|
105
107
|
};
|
|
106
108
|
exports.AMM_FACTORY = {
|
|
107
109
|
[types_1.Networks.Ropsten]: {
|
|
@@ -195,6 +197,7 @@ exports.AMM_FACTORY = {
|
|
|
195
197
|
},
|
|
196
198
|
[types_1.Networks.Sonic]: {
|
|
197
199
|
[Amms.equalizer]: '0xDDD9845Ba0D8f38d3045f804f67A1a8B9A528FcC',
|
|
200
|
+
[Amms.shadow]: '0x2dA25E7446A70D7be65fd4c053948BEcAA6374c8',
|
|
198
201
|
}
|
|
199
202
|
};
|
|
200
203
|
function getAmmByFactory(network, address) {
|
|
@@ -356,7 +359,8 @@ exports.ADD_LIQUIDITY_URLS = {
|
|
|
356
359
|
[Amms.pearl]: 'https://www.pearl.exchange/supply-liquidity/v2/',
|
|
357
360
|
},
|
|
358
361
|
[types_1.Networks.Sonic]: {
|
|
359
|
-
[Amms.equalizer]: 'https://equalizer.exchange/liquidity/'
|
|
362
|
+
[Amms.equalizer]: 'https://equalizer.exchange/liquidity/',
|
|
363
|
+
[Amms.shadow]: 'https://www.shadow.so/liquidity/'
|
|
360
364
|
}
|
|
361
365
|
};
|
|
362
366
|
exports.AMM_LP_FEE = {
|
|
@@ -445,6 +449,7 @@ exports.AMM_LP_FEE = {
|
|
|
445
449
|
[Amms.pearl]: 0,
|
|
446
450
|
},
|
|
447
451
|
[types_1.Networks.Sonic]: {
|
|
448
|
-
[Amms.equalizer]: 0
|
|
452
|
+
[Amms.equalizer]: 0,
|
|
453
|
+
[Amms.shadow]: 0
|
|
449
454
|
}
|
|
450
455
|
};
|
|
@@ -23,5 +23,5 @@ exports.LENDING_VAULT_WATCHER = {
|
|
|
23
23
|
[types_1.Networks.Scroll]: '0x0774eBA9e1b20B0f191AbC59a5798838F4bd938c',
|
|
24
24
|
[types_1.Networks.Optimism]: '',
|
|
25
25
|
[types_1.Networks.Real]: '',
|
|
26
|
-
[types_1.Networks.Sonic]: '',
|
|
26
|
+
[types_1.Networks.Sonic]: '0x0680AD510475844a0555914FD38979B31FdA3b2f',
|
|
27
27
|
};
|
package/lib/config/subgraphs.js
CHANGED
|
@@ -130,7 +130,7 @@ exports.LENDING_VAULT_SUBGRAPH_URL = {
|
|
|
130
130
|
[types_1.Networks.Optimism]: '',
|
|
131
131
|
[types_1.Networks.Real]: '',
|
|
132
132
|
[types_1.Networks.Scroll]: 'https://gateway.thegraph.com/api/1350441d268f171aeb0934412dfadf3b/subgraphs/id/BaPMX2ubiRZ4ujqTFmWyrk72fPo6yFLQ7A5Z4BLXCTFU',
|
|
133
|
-
[types_1.Networks.Sonic]: '',
|
|
133
|
+
[types_1.Networks.Sonic]: 'https://gateway.thegraph.com/api/1350441d268f171aeb0934412dfadf3b/subgraphs/id/AHj91C4xwYSfyHAnZiMa1pC4ZwRtzqG3QGVyJchEsJAC',
|
|
134
134
|
};
|
|
135
135
|
exports.BLOCKS_SUBGRAPH_URL = {
|
|
136
136
|
[types_1.Networks.Ropsten]: '',
|
|
@@ -67,6 +67,8 @@ const coingecko_ids = {
|
|
|
67
67
|
"0xce1581d7b4ba40176f0e219b2cac30088ad50c7a": "pearl",
|
|
68
68
|
// blast
|
|
69
69
|
"0x52f847356b38720b55ee18cb3e094ca11c85a192": "fenix",
|
|
70
|
+
// sonic
|
|
71
|
+
"0x3333b97138d4b086720b5ae8a7844b1345a33333": "shadow-2"
|
|
70
72
|
};
|
|
71
73
|
const dexscreener_ids = {
|
|
72
74
|
// ibex on scroll
|