impermax-sdk 2.1.119 → 2.1.120

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.
@@ -46,7 +46,10 @@ export declare enum Amms {
46
46
  wigoswap = "wigoswap",
47
47
  velodrome = "velodrome",
48
48
  alien = "alien",
49
- uniswapv3 = "uniswapv3"
49
+ uniswapv3 = "uniswapv3",
50
+ shadow = "shadow",
51
+ nile = "nile",
52
+ nileStable = "nileStable"
50
53
  }
51
54
  export declare const hrAmms: {
52
55
  uniswap: string;
@@ -96,6 +99,9 @@ export declare const hrAmms: {
96
99
  wigoswap: string;
97
100
  velodrome: string;
98
101
  alien: string;
102
+ shadow: string;
103
+ nile: string;
104
+ nileStable: string;
99
105
  };
100
106
  export declare const AMM_FACTORY: AmmIndex;
101
107
  export declare function getAmmByFactory(network: Networks, address: Address): Amms | null;
@@ -51,6 +51,9 @@ var Amms;
51
51
  Amms["velodrome"] = "velodrome";
52
52
  Amms["alien"] = "alien";
53
53
  Amms["uniswapv3"] = "uniswapv3";
54
+ Amms["shadow"] = "shadow";
55
+ Amms["nile"] = "nile";
56
+ Amms["nileStable"] = "nileStable";
54
57
  })(Amms = exports.Amms || (exports.Amms = {}));
55
58
  exports.hrAmms = {
56
59
  [Amms.uniswap]: 'UniswapV2',
@@ -100,6 +103,9 @@ exports.hrAmms = {
100
103
  [Amms.wigoswap]: 'Wigoswap',
101
104
  [Amms.velodrome]: 'Velodrome',
102
105
  [Amms.alien]: 'AlienBase',
106
+ [Amms.shadow]: 'Shadow',
107
+ [Amms.nile]: 'Nile',
108
+ [Amms.nileStable]: 'Nile Stable',
103
109
  };
104
110
  exports.AMM_FACTORY = {
105
111
  [types_1.Networks.Ropsten]: {
@@ -192,6 +198,10 @@ exports.AMM_FACTORY = {
192
198
  },
193
199
  [types_1.Networks.Sonic]: {
194
200
  [Amms.equalizer]: '0xDDD9845Ba0D8f38d3045f804f67A1a8B9A528FcC',
201
+ },
202
+ [types_1.Networks.Linea]: {
203
+ [Amms.nile]: '0xcbdf792456367a91708c0036e0678ecfb1f09654',
204
+ [Amms.nileStable]: '0xb037874de77e7b4505261301d2f3ce2fb9036ca7',
195
205
  }
196
206
  };
197
207
  function getAmmByFactory(network, address) {
@@ -265,6 +275,7 @@ exports.AMM_SUBGRAPH_URLS = {
265
275
  [types_1.Networks.Real]: {},
266
276
  [types_1.Networks.Optimism]: {},
267
277
  [types_1.Networks.Sonic]: {},
278
+ [types_1.Networks.Linea]: {},
268
279
  };
269
280
  exports.ADD_LIQUIDITY_URLS = {
270
281
  [types_1.Networks.Ropsten]: {
@@ -354,7 +365,11 @@ exports.ADD_LIQUIDITY_URLS = {
354
365
  [types_1.Networks.Sonic]: {
355
366
  [Amms.pearlStable]: 'https://www.pearl.exchange/supply-liquidity/v2/',
356
367
  [Amms.pearl]: 'https://www.pearl.exchange/supply-liquidity/v2/',
357
- }
368
+ },
369
+ [types_1.Networks.Linea]: {
370
+ [Amms.nile]: 'https://www.nile.build/manage/v1/',
371
+ [Amms.nileStable]: 'https://www.nile.build/manage/v1/'
372
+ },
358
373
  };
359
374
  exports.AMM_LP_FEE = {
360
375
  [types_1.Networks.Ropsten]: {
@@ -443,5 +458,9 @@ exports.AMM_LP_FEE = {
443
458
  },
444
459
  [types_1.Networks.Sonic]: {
445
460
  [Amms.equalizer]: 0
446
- }
461
+ },
462
+ [types_1.Networks.Linea]: {
463
+ [Amms.nile]: 0,
464
+ [Amms.nileStable]: 0
465
+ },
447
466
  };
@@ -23,5 +23,6 @@ exports.CHAIN_IDS = {
23
23
  [types_1.Networks.Blast]: 81457,
24
24
  [types_1.Networks.Real]: 111188,
25
25
  [types_1.Networks.Optimism]: 10,
26
- [types_1.Networks.Sonic]: 146
26
+ [types_1.Networks.Sonic]: 146,
27
+ [types_1.Networks.Linea]: 59144
27
28
  };
@@ -24,4 +24,5 @@ exports.CLAIM_AGGREGATOR = {
24
24
  [types_1.Networks.Optimism]: '',
25
25
  [types_1.Networks.Real]: '',
26
26
  [types_1.Networks.Sonic]: '',
27
+ [types_1.Networks.Linea]: ''
27
28
  };
@@ -25,4 +25,5 @@ exports.IMPERMAX_CHEF = {
25
25
  [types_1.Networks.Optimism]: '',
26
26
  [types_1.Networks.Real]: '',
27
27
  [types_1.Networks.Sonic]: '',
28
+ [types_1.Networks.Linea]: ''
28
29
  };
@@ -24,4 +24,5 @@ exports.IMPERMAX_CONFIG_MANAGER = {
24
24
  [types_1.Networks.Optimism]: '0xC8301bD3f86e642904aeD9b588cA9d9350b3B160',
25
25
  [types_1.Networks.Real]: '0x274C36c461C02B39a110A0801EbB218eC076B79B',
26
26
  [types_1.Networks.Sonic]: '0x1A3e33E38D2e70D43f65772f63c5B3f52073b37E',
27
+ [types_1.Networks.Linea]: '0x3A65E736b534B3A3703Eb081b93118852Bf1796a',
27
28
  };
@@ -69,6 +69,10 @@ exports.IMPERMAX_FACTORY = {
69
69
  [types_1.Networks.Sonic]: {
70
70
  [types_1.Factory.SOLV2]: '0x26fca5916c20D252feEF7A58E39886d3d3112b91',
71
71
  },
72
+ [types_1.Networks.Linea]: {
73
+ [types_1.Factory.SOLV2]: '0x7A9212D34DD283e952f8f15f084832e9b48ee746',
74
+ [types_1.Factory.SOL_STABLE]: '0x0D5433FEe91fb2DB9dd6A74267Dd900EC2130675'
75
+ },
72
76
  };
73
77
  function getFactoryByAddress(network, address) {
74
78
  if (!address)
@@ -23,5 +23,6 @@ exports.IMX = {
23
23
  [types_1.Networks.Scroll]: '',
24
24
  [types_1.Networks.Optimism]: '',
25
25
  [types_1.Networks.Real]: '',
26
- [types_1.Networks.Sonic]: ''
26
+ [types_1.Networks.Sonic]: '',
27
+ [types_1.Networks.Linea]: ''
27
28
  };
@@ -24,4 +24,5 @@ exports.LENDING_VAULT_WATCHER = {
24
24
  [types_1.Networks.Optimism]: '',
25
25
  [types_1.Networks.Real]: '',
26
26
  [types_1.Networks.Sonic]: '0x0680AD510475844a0555914FD38979B31FdA3b2f',
27
+ [types_1.Networks.Linea]: '0x0680AD510475844a0555914FD38979B31FdA3b2f',
27
28
  };
@@ -24,6 +24,7 @@ exports.MERKLE_DISTRIBUTOR_IBEX = {
24
24
  [types_1.Networks.Optimism]: '',
25
25
  [types_1.Networks.Real]: '',
26
26
  [types_1.Networks.Sonic]: '',
27
+ [types_1.Networks.Linea]: '',
27
28
  };
28
29
  exports.MERKLE_DISTRIBUTOR_IBEX_2 = {
29
30
  [types_1.Networks.Polygon]: '0x1c813cDd6dAecE2CB83C52F0798504e42816E9C5',
@@ -47,6 +48,7 @@ exports.MERKLE_DISTRIBUTOR_IBEX_2 = {
47
48
  [types_1.Networks.Optimism]: '',
48
49
  [types_1.Networks.Real]: '',
49
50
  [types_1.Networks.Sonic]: '',
51
+ [types_1.Networks.Linea]: '',
50
52
  };
51
53
  exports.MERKLE_DISTRIBUTOR_ETH = {
52
54
  [types_1.Networks.Polygon]: '0x7ce2f634f0698ecdca051ef1dc4be96ef3d05a62',
@@ -70,4 +72,5 @@ exports.MERKLE_DISTRIBUTOR_ETH = {
70
72
  [types_1.Networks.Optimism]: '',
71
73
  [types_1.Networks.Real]: '',
72
74
  [types_1.Networks.Sonic]: '',
75
+ [types_1.Networks.Linea]: '',
73
76
  };
@@ -23,7 +23,8 @@ exports.POOL_TOKEN_ROUTER = {
23
23
  [types_1.Networks.Real]: '0x3784D354863fe8862d60E446E3f29A08c21D1Ea9',
24
24
  [types_1.Networks.Mantle]: '0xF4A9dda025e65945E7A3F873D6146A12c8110A19',
25
25
  [types_1.Networks.Optimism]: '0xb5657FA5ba87CaD11b9150c319069625d423aaD4',
26
- [types_1.Networks.Sonic]: '0x35A0e3C5adbddF6D917353f9b468C5cdE80ee380' // '0xcBdf792456367a91708C0036E0678eCFB1f09654',
26
+ [types_1.Networks.Sonic]: '0x35A0e3C5adbddF6D917353f9b468C5cdE80ee380',
27
+ [types_1.Networks.Linea]: '',
27
28
  };
28
29
  exports.ROUTER = {
29
30
  [types_1.Networks.Ropsten]: {
@@ -94,7 +95,11 @@ exports.ROUTER = {
94
95
  },
95
96
  [types_1.Networks.Sonic]: {
96
97
  [types_1.Factory.SOLV2]: '0xcBdf792456367a91708C0036E0678eCFB1f09654',
97
- }
98
+ },
99
+ [types_1.Networks.Linea]: {
100
+ [types_1.Factory.SOLV2]: '0xEB81da0cAC9D3efc4bf3270080936C6a5758926f',
101
+ [types_1.Factory.SOL_STABLE]: '0xC8BBC42B546d25c411b9BD42cDDDa12c00B468bc',
102
+ },
98
103
  };
99
104
  exports.ACTIONS_GETTER = {
100
105
  [types_1.Networks.Ropsten]: '',
@@ -118,6 +123,7 @@ exports.ACTIONS_GETTER = {
118
123
  [types_1.Networks.Mantle]: '',
119
124
  [types_1.Networks.Optimism]: '',
120
125
  [types_1.Networks.Sonic]: '',
126
+ [types_1.Networks.Linea]: '',
121
127
  };
122
128
  exports.ROUTER_V3 = {
123
129
  [types_1.Networks.Ropsten]: {},
@@ -142,5 +148,6 @@ exports.ROUTER_V3 = {
142
148
  [types_1.Networks.Optimism]: {},
143
149
  [types_1.Networks.Mantle]: {},
144
150
  [types_1.Networks.Real]: {},
145
- [types_1.Networks.Sonic]: {}
151
+ [types_1.Networks.Sonic]: {},
152
+ [types_1.Networks.Linea]: {},
146
153
  };
@@ -47,4 +47,5 @@ exports.SIMPLE_UNISWAP_ORACLE = {
47
47
  [types_1.Factory.V2V2]: '0x936c30E14daED88fd29bf4FCe2965EbEDe633846'
48
48
  },
49
49
  [types_1.Networks.Sonic]: {},
50
+ [types_1.Networks.Linea]: {},
50
51
  };
@@ -24,5 +24,6 @@ exports.WETH = {
24
24
  [types_1.Networks.Scroll]: '0x5300000000000000000000000000000000000004',
25
25
  [types_1.Networks.Optimism]: '0x4200000000000000000000000000000000000006',
26
26
  [types_1.Networks.Real]: '0x90c6E93849E06EC7478ba24522329d14A5954Df4',
27
- [types_1.Networks.Sonic]: '0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38', // ws
27
+ [types_1.Networks.Sonic]: '0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38',
28
+ [types_1.Networks.Linea]: '0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f', // weth
28
29
  };
@@ -23,5 +23,6 @@ exports.DEBANK_IDS = {
23
23
  [types_1.Networks.Scroll]: 'scrl',
24
24
  [types_1.Networks.Optimism]: 'op',
25
25
  [types_1.Networks.Real]: 'real',
26
- [types_1.Networks.Sonic]: 'sonic'
26
+ [types_1.Networks.Sonic]: 'sonic',
27
+ [types_1.Networks.Linea]: 'linea',
27
28
  };
@@ -24,6 +24,7 @@ exports.MERKLE_URL_IBEX = {
24
24
  [types_1.Networks.Optimism]: '',
25
25
  [types_1.Networks.Real]: '',
26
26
  [types_1.Networks.Sonic]: '',
27
+ [types_1.Networks.Linea]: '',
27
28
  };
28
29
  exports.MERKLE_URL_IBEX_2 = {
29
30
  [types_1.Networks.Polygon]: 'https://misty-rice-9880.impermax.workers.dev',
@@ -47,6 +48,7 @@ exports.MERKLE_URL_IBEX_2 = {
47
48
  [types_1.Networks.Optimism]: '',
48
49
  [types_1.Networks.Real]: '',
49
50
  [types_1.Networks.Sonic]: '',
51
+ [types_1.Networks.Linea]: '',
50
52
  };
51
53
  exports.MERKLE_URL_ETH = {
52
54
  [types_1.Networks.Polygon]: 'https://damp-hill-13d0.impermax.workers.dev',
@@ -70,4 +72,5 @@ exports.MERKLE_URL_ETH = {
70
72
  [types_1.Networks.Optimism]: '',
71
73
  [types_1.Networks.Real]: '',
72
74
  [types_1.Networks.Sonic]: '',
75
+ [types_1.Networks.Linea]: '',
73
76
  };
package/lib/config/eth.js CHANGED
@@ -23,7 +23,8 @@ exports.ETH_NAME = {
23
23
  [types_1.Networks.Scroll]: 'Ethereum',
24
24
  [types_1.Networks.Optimism]: 'Ethereum',
25
25
  [types_1.Networks.Real]: 'Ethereum',
26
- [types_1.Networks.Sonic]: 'S'
26
+ [types_1.Networks.Sonic]: 'S',
27
+ [types_1.Networks.Linea]: 'Ethereum',
27
28
  };
28
29
  exports.ETH_SYMBOL = {
29
30
  [types_1.Networks.Ropsten]: 'ETH',
@@ -46,5 +47,6 @@ exports.ETH_SYMBOL = {
46
47
  [types_1.Networks.Scroll]: 'ETH',
47
48
  [types_1.Networks.Optimism]: 'ETH',
48
49
  [types_1.Networks.Real]: 'reETH',
49
- [types_1.Networks.Sonic]: 'S'
50
+ [types_1.Networks.Sonic]: 'S',
51
+ [types_1.Networks.Linea]: 'ETH',
50
52
  };
@@ -49,7 +49,9 @@ export declare enum Farms {
49
49
  tokan1 = "tokan1",
50
50
  tokanStable = "tokanStable",
51
51
  velodrome = "velodrome",
52
- alien = "alien"
52
+ alien = "alien",
53
+ nileStable = "nileStable",
54
+ equalizerStable = "equalizerStable"
53
55
  }
54
56
  export declare const hrFarms: {
55
57
  quickswapOld: string;
@@ -99,6 +101,8 @@ export declare const hrFarms: {
99
101
  tokanStable: string;
100
102
  velodrome: string;
101
103
  alien: string;
104
+ nileStable: string;
105
+ equalizerStable: string;
102
106
  };
103
107
  export type FarmIndex = {
104
108
  [key in Networks]: {
@@ -54,6 +54,8 @@ var Farms;
54
54
  Farms["tokanStable"] = "tokanStable";
55
55
  Farms["velodrome"] = "velodrome";
56
56
  Farms["alien"] = "alien";
57
+ Farms["nileStable"] = "nileStable";
58
+ Farms["equalizerStable"] = "equalizerStable";
57
59
  })(Farms = exports.Farms || (exports.Farms = {}));
58
60
  exports.hrFarms = {
59
61
  [Farms.quickswapOld]: 'QuickSwap',
@@ -103,6 +105,8 @@ exports.hrFarms = {
103
105
  [Farms.tokanStable]: 'Tokan Stable',
104
106
  [Farms.velodrome]: 'Velodrome',
105
107
  [Farms.alien]: 'AlienBase',
108
+ [Farms.nileStable]: 'Nile Stable',
109
+ [Farms.equalizerStable]: 'Equalizer Stable',
106
110
  };
107
111
  exports.STAKED_LP_FACTORY = {
108
112
  [types_1.Networks.Ropsten]: {},
@@ -193,7 +197,12 @@ exports.STAKED_LP_FACTORY = {
193
197
  [Farms.pearl]: '0x2B965fDf04f9e9bEEf1659464Ef3A0094A68D923',
194
198
  [Farms.pearlStable]: '0x28E22D8c807b6E6c0ECa4373fC3B9920453cEEEe',
195
199
  },
196
- [types_1.Networks.Sonic]: {}
200
+ [types_1.Networks.Sonic]: {
201
+ [Farms.equalizerStable]: '0x0E5F23675aBAB707D9f17da2EE883a77E13FE70f',
202
+ },
203
+ [types_1.Networks.Linea]: {
204
+ [Farms.nileStable]: '0xB037874dE77E7b4505261301d2F3CE2fb9036cA7',
205
+ }
197
206
  };
198
207
  function getFarmByStakedLPFactory(network, address) {
199
208
  if (!address)
@@ -38,6 +38,7 @@ exports.NFTLP_SUBGRAPH_URL = {
38
38
  [types_1.Networks.Optimism]: {},
39
39
  [types_1.Networks.Real]: {},
40
40
  [types_1.Networks.Sonic]: {},
41
+ [types_1.Networks.Linea]: {},
41
42
  };
42
43
  // NFTLP Factory addresses for each network
43
44
  exports.NFTLP_FACTORY = {
@@ -64,6 +65,7 @@ exports.NFTLP_FACTORY = {
64
65
  [types_1.Networks.Optimism]: {},
65
66
  [types_1.Networks.Real]: {},
66
67
  [types_1.Networks.Sonic]: {},
68
+ [types_1.Networks.Linea]: {},
67
69
  };
68
70
  // Helper to get subgraph endpoints
69
71
  function getNftlpSubgraph(network, dex) {
@@ -30,6 +30,7 @@ exports.IMPERMAX_POOLS_API = {
30
30
  [types_1.Networks.Real]: {},
31
31
  [types_1.Networks.Blast]: {},
32
32
  [types_1.Networks.Sonic]: {},
33
+ [types_1.Networks.Linea]: {},
33
34
  };
34
35
  // For lending pools
35
36
  exports.IMPERMAX_VAULT_API = {
@@ -62,5 +63,6 @@ exports.IMPERMAX_VAULT_API = {
62
63
  [types_1.Networks.Sonic]: {
63
64
  [types_1.VaultType.LENDING]: "https://sonic-lendingvaults-production.up.railway.app/vaults/"
64
65
  },
66
+ [types_1.Networks.Linea]: {},
65
67
  };
66
68
  // Add more here
@@ -25,6 +25,7 @@ export declare const CONFIG_MANAGER_SUBGRAPH_URL: {
25
25
  optimism: string;
26
26
  "re.al": string;
27
27
  sonic: string;
28
+ linea: string;
28
29
  };
29
30
  export declare const WHITELIST_SUBGRAPH_URL: {
30
31
  ropsten: string;
@@ -133,6 +133,17 @@ exports.IMPERMAX_SUBGRAPH_URL = {
133
133
  [types_1.Factory.SOLV2]: [
134
134
  'https://sonic-factory-production.up.railway.app/',
135
135
  'https://gateway.thegraph.com/api/1350441d268f171aeb0934412dfadf3b/subgraphs/id/HK9BA4oFp1xaoQW7YVP4m2nbxX7q2bQCZWNPKBtudtZR'
136
+ ],
137
+ [types_1.Factory.SOL_STABLE]: [
138
+ 'https://gateway.thegraph.com/api/1350441d268f171aeb0934412dfadf3b/subgraphs/id/61ZJXkM5uRGntP1HZkmH4iaKRzsf1BBhQdZYi9euLkpM'
139
+ ]
140
+ },
141
+ [types_1.Networks.Linea]: {
142
+ [types_1.Factory.SOLV2]: [
143
+ 'https://gateway.thegraph.com/api/1350441d268f171aeb0934412dfadf3b/subgraphs/id/AyFSeFRAtUm4aY3cb1zTJqoMjcgSNrRipucuSxkEZ1v9'
144
+ ],
145
+ [types_1.Factory.SOL_STABLE]: [
146
+ 'https://gateway.thegraph.com/api/1350441d268f171aeb0934412dfadf3b/subgraphs/id/Ah5k6hzS9YicNHWuA4Uts9MQQQGbPLDtwD8tYjKaX8Ls'
136
147
  ]
137
148
  }
138
149
  };
@@ -195,7 +206,8 @@ exports.VAULT_SUBGRAPH_URL = {
195
206
  [types_1.VaultType.LENDING]: [
196
207
  "https://gateway.thegraph.com/api/1350441d268f171aeb0934412dfadf3b/subgraphs/id/AHj91C4xwYSfyHAnZiMa1pC4ZwRtzqG3QGVyJchEsJAC"
197
208
  ]
198
- }
209
+ },
210
+ [types_1.Networks.Linea]: {},
199
211
  };
200
212
  exports.IMPERMAX_CHEF_SUBGRAPH_URL = {
201
213
  [types_1.Networks.Ropsten]: "",
@@ -220,6 +232,7 @@ exports.IMPERMAX_CHEF_SUBGRAPH_URL = {
220
232
  [types_1.Networks.Optimism]: "",
221
233
  [types_1.Networks.Real]: "",
222
234
  [types_1.Networks.Sonic]: "",
235
+ [types_1.Networks.Linea]: "",
223
236
  };
224
237
  exports.BLOCKS_SUBGRAPH_URL = {
225
238
  [types_1.Networks.Ropsten]: "",
@@ -243,6 +256,7 @@ exports.BLOCKS_SUBGRAPH_URL = {
243
256
  [types_1.Networks.Real]: "",
244
257
  [types_1.Networks.Optimism]: "",
245
258
  [types_1.Networks.Sonic]: "",
259
+ [types_1.Networks.Linea]: "",
246
260
  };
247
261
  exports.XIMX_SUBGRAPH_URL = "https://api.thegraph.com/subgraphs/name/impermax-finance/imx-staking";
248
262
  exports.CONFIG_MANAGER_SUBGRAPH_URL = {
@@ -265,7 +279,8 @@ exports.CONFIG_MANAGER_SUBGRAPH_URL = {
265
279
  [types_1.Networks.Base]: "https://gateway.thegraph.com/api/1350441d268f171aeb0934412dfadf3b/subgraphs/id/6y4Bb2KSFsqyjbARM8EpKkqFRt62ELasVCVckg2bv7jB",
266
280
  [types_1.Networks.Optimism]: "https://gateway.thegraph.com/api/1350441d268f171aeb0934412dfadf3b/subgraphs/id/GWFrv8MNg5fpD19fxdu32G1Wt6om8qb1wbacpgHDyvC8",
267
281
  [types_1.Networks.Real]: "https://api.goldsky.com/api/public/project_cm2d5q4l4w31601vz4swb3vmi/subgraphs/impermax-config-manager-real/1.0/gn",
268
- [types_1.Networks.Sonic]: "https://gateway.thegraph.com/api/1350441d268f171aeb0934412dfadf3b/subgraphs/id/DqzQAecRNGsoRgwVre16Fha9XTPFf9QBo8iZxubysy2x"
282
+ [types_1.Networks.Sonic]: "https://gateway.thegraph.com/api/1350441d268f171aeb0934412dfadf3b/subgraphs/id/DqzQAecRNGsoRgwVre16Fha9XTPFf9QBo8iZxubysy2x",
283
+ [types_1.Networks.Linea]: 'https://gateway.thegraph.com/api/1350441d268f171aeb0934412dfadf3b/subgraphs/id/CKu5kt4M1p2ELhn7cef9ZjE9igMH2icv3mzBepEdNPRz',
269
284
  };
270
285
  exports.WHITELIST_SUBGRAPH_URL = {
271
286
  [types_1.Networks.Ropsten]: "",
@@ -20,7 +20,8 @@ export declare enum Networks {
20
20
  Scroll = "scroll",
21
21
  Optimism = "optimism",
22
22
  Real = "re.al",
23
- Sonic = "sonic"
23
+ Sonic = "sonic",
24
+ Linea = "linea"
24
25
  }
25
26
  export declare enum Factory {
26
27
  V2V1 = "1",
@@ -24,6 +24,7 @@ var Networks;
24
24
  Networks["Optimism"] = "optimism";
25
25
  Networks["Real"] = "re.al";
26
26
  Networks["Sonic"] = "sonic";
27
+ Networks["Linea"] = "linea";
27
28
  })(Networks = exports.Networks || (exports.Networks = {}));
28
29
  // FACTORIES
29
30
  var Factory;
@@ -32,6 +32,7 @@ const LlamaChains = {
32
32
  [types_1.Networks.Real]: "re.al",
33
33
  [types_1.Networks.Blast]: "blast",
34
34
  [types_1.Networks.Sonic]: "sonic",
35
+ [types_1.Networks.Linea]: "linea",
35
36
  };
36
37
  // Class to get the APR from DefiLlama directly, only makes 1 call to api and caches all pools
37
38
  class OffchainAPRHelper {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impermax-sdk",
3
- "version": "2.1.119",
3
+ "version": "2.1.120",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",