@tokemak/config 0.3.1 → 0.5.0
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/dist/index.d.mts +22 -1
- package/dist/index.d.ts +22 -1
- package/dist/index.js +30 -0
- package/dist/index.mjs +24 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -4,6 +4,17 @@ declare const SupportedNetworks: Record<string, number>;
|
|
|
4
4
|
declare const SUPPORTED_DEV_NETWORKS_IDS: (1 | 8453 | 146 | 42161 | 9745 | 59144 | 143)[];
|
|
5
5
|
declare const SUPPORTED_PROD_NETWORKS_IDS: (1 | 8453 | 146 | 42161 | 9745 | 59144 | 143)[];
|
|
6
6
|
declare const SUPPORTED_NETWORKS_IDS: (1 | 8453 | 146 | 42161 | 9745 | 59144 | 143)[];
|
|
7
|
+
/** True when a chain is sunset (deprecated). */
|
|
8
|
+
declare const isSunsetChain: (chainId: number) => boolean;
|
|
9
|
+
/** True when a chain is supported and not sunset. */
|
|
10
|
+
declare const isActiveChain: (chainId: number) => boolean;
|
|
11
|
+
/** Prod chains still fully active — main autopool fan-out + main backup. */
|
|
12
|
+
declare const ACTIVE_PROD_NETWORKS_IDS: (1 | 8453 | 146 | 42161 | 9745 | 59144 | 143)[];
|
|
13
|
+
/** Prod chains that are sunset — deprecated autopool path + separate backup. */
|
|
14
|
+
declare const SUNSET_PROD_NETWORKS_IDS: (1 | 8453 | 146 | 42161 | 9745 | 59144 | 143)[];
|
|
15
|
+
/** Dev/testnet equivalents of the active/sunset split. */
|
|
16
|
+
declare const ACTIVE_DEV_NETWORKS_IDS: (1 | 8453 | 146 | 42161 | 9745 | 59144 | 143)[];
|
|
17
|
+
declare const SUNSET_DEV_NETWORKS_IDS: (1 | 8453 | 146 | 42161 | 9745 | 59144 | 143)[];
|
|
7
18
|
|
|
8
19
|
type SupportedNetworkNames = keyof typeof SupportedNetworks;
|
|
9
20
|
type SupportedChainIds = (typeof SupportedNetworks)[number];
|
|
@@ -13,6 +24,15 @@ type SupportedNetwork = {
|
|
|
13
24
|
};
|
|
14
25
|
type SupportedNetworkNamesLowercased = Lowercase<SupportedNetworkNames>;
|
|
15
26
|
|
|
27
|
+
/**
|
|
28
|
+
* Lifecycle status of a chain.
|
|
29
|
+
* - "active" (default when omitted): fully supported — live in the main
|
|
30
|
+
* autopool fan-out, deposits/staking enabled.
|
|
31
|
+
* - "sunset": deprecated/read-only-historical — pulled out of the main live
|
|
32
|
+
* query into the separate `getDeprecatedAutopools` path; deposits + staking
|
|
33
|
+
* disabled, withdrawals + unstaking stay enabled.
|
|
34
|
+
*/
|
|
35
|
+
type ChainStatus = "active" | "sunset";
|
|
16
36
|
interface CoreNetworkConfig {
|
|
17
37
|
name: SupportedNetwork["name"];
|
|
18
38
|
shortName: string;
|
|
@@ -26,6 +46,7 @@ interface CoreNetworkConfig {
|
|
|
26
46
|
stokeVote: Address;
|
|
27
47
|
stokeExtend: Address;
|
|
28
48
|
testnet?: boolean;
|
|
49
|
+
status?: ChainStatus;
|
|
29
50
|
explorerUrl: string;
|
|
30
51
|
subgraphEndpoint: string;
|
|
31
52
|
rootPriceOracle: Address;
|
|
@@ -93,4 +114,4 @@ declare const DEPOSIT_ADDRESS_WHITELIST: {
|
|
|
93
114
|
infinifiUSD: string[];
|
|
94
115
|
};
|
|
95
116
|
|
|
96
|
-
export { AUTOPOOLS_WHITELIST_PROD, type AutopoolRpcSlug, type CoreNetworkConfig, DEPOSIT_ADDRESS_WHITELIST, type MainnetNetworkConfig, type NetworkConfig, STOKE_VOTE_WHITELIST, SUBGRAPH_BASE_URL, SUPPORTED_DEV_NETWORKS_IDS, SUPPORTED_NETWORKS_IDS, SUPPORTED_PROD_NETWORKS_IDS, type SupportedChainIds, type SupportedNetwork, type SupportedNetworkNames, type SupportedNetworkNamesLowercased, SupportedNetworks, coreArbitrumConfig, coreBaseConfig, coreLineaConfig, coreMainnetConfig, coreMonadConfig, coreNetworkConfigs, corePlasmaConfig, coreSonicConfig, getAutopoolRpcUrl, getCoreConfig, getMainnetConfig, getSubgraphUrl, isSupportedChainId, mainnetConfig };
|
|
117
|
+
export { ACTIVE_DEV_NETWORKS_IDS, ACTIVE_PROD_NETWORKS_IDS, AUTOPOOLS_WHITELIST_PROD, type AutopoolRpcSlug, type ChainStatus, type CoreNetworkConfig, DEPOSIT_ADDRESS_WHITELIST, type MainnetNetworkConfig, type NetworkConfig, STOKE_VOTE_WHITELIST, SUBGRAPH_BASE_URL, SUNSET_DEV_NETWORKS_IDS, SUNSET_PROD_NETWORKS_IDS, SUPPORTED_DEV_NETWORKS_IDS, SUPPORTED_NETWORKS_IDS, SUPPORTED_PROD_NETWORKS_IDS, type SupportedChainIds, type SupportedNetwork, type SupportedNetworkNames, type SupportedNetworkNamesLowercased, SupportedNetworks, coreArbitrumConfig, coreBaseConfig, coreLineaConfig, coreMainnetConfig, coreMonadConfig, coreNetworkConfigs, corePlasmaConfig, coreSonicConfig, getAutopoolRpcUrl, getCoreConfig, getMainnetConfig, getSubgraphUrl, isActiveChain, isSunsetChain, isSupportedChainId, mainnetConfig };
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,17 @@ declare const SupportedNetworks: Record<string, number>;
|
|
|
4
4
|
declare const SUPPORTED_DEV_NETWORKS_IDS: (1 | 8453 | 146 | 42161 | 9745 | 59144 | 143)[];
|
|
5
5
|
declare const SUPPORTED_PROD_NETWORKS_IDS: (1 | 8453 | 146 | 42161 | 9745 | 59144 | 143)[];
|
|
6
6
|
declare const SUPPORTED_NETWORKS_IDS: (1 | 8453 | 146 | 42161 | 9745 | 59144 | 143)[];
|
|
7
|
+
/** True when a chain is sunset (deprecated). */
|
|
8
|
+
declare const isSunsetChain: (chainId: number) => boolean;
|
|
9
|
+
/** True when a chain is supported and not sunset. */
|
|
10
|
+
declare const isActiveChain: (chainId: number) => boolean;
|
|
11
|
+
/** Prod chains still fully active — main autopool fan-out + main backup. */
|
|
12
|
+
declare const ACTIVE_PROD_NETWORKS_IDS: (1 | 8453 | 146 | 42161 | 9745 | 59144 | 143)[];
|
|
13
|
+
/** Prod chains that are sunset — deprecated autopool path + separate backup. */
|
|
14
|
+
declare const SUNSET_PROD_NETWORKS_IDS: (1 | 8453 | 146 | 42161 | 9745 | 59144 | 143)[];
|
|
15
|
+
/** Dev/testnet equivalents of the active/sunset split. */
|
|
16
|
+
declare const ACTIVE_DEV_NETWORKS_IDS: (1 | 8453 | 146 | 42161 | 9745 | 59144 | 143)[];
|
|
17
|
+
declare const SUNSET_DEV_NETWORKS_IDS: (1 | 8453 | 146 | 42161 | 9745 | 59144 | 143)[];
|
|
7
18
|
|
|
8
19
|
type SupportedNetworkNames = keyof typeof SupportedNetworks;
|
|
9
20
|
type SupportedChainIds = (typeof SupportedNetworks)[number];
|
|
@@ -13,6 +24,15 @@ type SupportedNetwork = {
|
|
|
13
24
|
};
|
|
14
25
|
type SupportedNetworkNamesLowercased = Lowercase<SupportedNetworkNames>;
|
|
15
26
|
|
|
27
|
+
/**
|
|
28
|
+
* Lifecycle status of a chain.
|
|
29
|
+
* - "active" (default when omitted): fully supported — live in the main
|
|
30
|
+
* autopool fan-out, deposits/staking enabled.
|
|
31
|
+
* - "sunset": deprecated/read-only-historical — pulled out of the main live
|
|
32
|
+
* query into the separate `getDeprecatedAutopools` path; deposits + staking
|
|
33
|
+
* disabled, withdrawals + unstaking stay enabled.
|
|
34
|
+
*/
|
|
35
|
+
type ChainStatus = "active" | "sunset";
|
|
16
36
|
interface CoreNetworkConfig {
|
|
17
37
|
name: SupportedNetwork["name"];
|
|
18
38
|
shortName: string;
|
|
@@ -26,6 +46,7 @@ interface CoreNetworkConfig {
|
|
|
26
46
|
stokeVote: Address;
|
|
27
47
|
stokeExtend: Address;
|
|
28
48
|
testnet?: boolean;
|
|
49
|
+
status?: ChainStatus;
|
|
29
50
|
explorerUrl: string;
|
|
30
51
|
subgraphEndpoint: string;
|
|
31
52
|
rootPriceOracle: Address;
|
|
@@ -93,4 +114,4 @@ declare const DEPOSIT_ADDRESS_WHITELIST: {
|
|
|
93
114
|
infinifiUSD: string[];
|
|
94
115
|
};
|
|
95
116
|
|
|
96
|
-
export { AUTOPOOLS_WHITELIST_PROD, type AutopoolRpcSlug, type CoreNetworkConfig, DEPOSIT_ADDRESS_WHITELIST, type MainnetNetworkConfig, type NetworkConfig, STOKE_VOTE_WHITELIST, SUBGRAPH_BASE_URL, SUPPORTED_DEV_NETWORKS_IDS, SUPPORTED_NETWORKS_IDS, SUPPORTED_PROD_NETWORKS_IDS, type SupportedChainIds, type SupportedNetwork, type SupportedNetworkNames, type SupportedNetworkNamesLowercased, SupportedNetworks, coreArbitrumConfig, coreBaseConfig, coreLineaConfig, coreMainnetConfig, coreMonadConfig, coreNetworkConfigs, corePlasmaConfig, coreSonicConfig, getAutopoolRpcUrl, getCoreConfig, getMainnetConfig, getSubgraphUrl, isSupportedChainId, mainnetConfig };
|
|
117
|
+
export { ACTIVE_DEV_NETWORKS_IDS, ACTIVE_PROD_NETWORKS_IDS, AUTOPOOLS_WHITELIST_PROD, type AutopoolRpcSlug, type ChainStatus, type CoreNetworkConfig, DEPOSIT_ADDRESS_WHITELIST, type MainnetNetworkConfig, type NetworkConfig, STOKE_VOTE_WHITELIST, SUBGRAPH_BASE_URL, SUNSET_DEV_NETWORKS_IDS, SUNSET_PROD_NETWORKS_IDS, SUPPORTED_DEV_NETWORKS_IDS, SUPPORTED_NETWORKS_IDS, SUPPORTED_PROD_NETWORKS_IDS, type SupportedChainIds, type SupportedNetwork, type SupportedNetworkNames, type SupportedNetworkNamesLowercased, SupportedNetworks, coreArbitrumConfig, coreBaseConfig, coreLineaConfig, coreMainnetConfig, coreMonadConfig, coreNetworkConfigs, corePlasmaConfig, coreSonicConfig, getAutopoolRpcUrl, getCoreConfig, getMainnetConfig, getSubgraphUrl, isActiveChain, isSunsetChain, isSupportedChainId, mainnetConfig };
|
package/dist/index.js
CHANGED
|
@@ -20,10 +20,14 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// index.ts
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
|
+
ACTIVE_DEV_NETWORKS_IDS: () => ACTIVE_DEV_NETWORKS_IDS,
|
|
24
|
+
ACTIVE_PROD_NETWORKS_IDS: () => ACTIVE_PROD_NETWORKS_IDS,
|
|
23
25
|
AUTOPOOLS_WHITELIST_PROD: () => AUTOPOOLS_WHITELIST_PROD,
|
|
24
26
|
DEPOSIT_ADDRESS_WHITELIST: () => DEPOSIT_ADDRESS_WHITELIST,
|
|
25
27
|
STOKE_VOTE_WHITELIST: () => STOKE_VOTE_WHITELIST,
|
|
26
28
|
SUBGRAPH_BASE_URL: () => SUBGRAPH_BASE_URL,
|
|
29
|
+
SUNSET_DEV_NETWORKS_IDS: () => SUNSET_DEV_NETWORKS_IDS,
|
|
30
|
+
SUNSET_PROD_NETWORKS_IDS: () => SUNSET_PROD_NETWORKS_IDS,
|
|
27
31
|
SUPPORTED_DEV_NETWORKS_IDS: () => SUPPORTED_DEV_NETWORKS_IDS,
|
|
28
32
|
SUPPORTED_NETWORKS_IDS: () => SUPPORTED_NETWORKS_IDS,
|
|
29
33
|
SUPPORTED_PROD_NETWORKS_IDS: () => SUPPORTED_PROD_NETWORKS_IDS,
|
|
@@ -40,6 +44,8 @@ __export(index_exports, {
|
|
|
40
44
|
getCoreConfig: () => getCoreConfig,
|
|
41
45
|
getMainnetConfig: () => getMainnetConfig,
|
|
42
46
|
getSubgraphUrl: () => getSubgraphUrl,
|
|
47
|
+
isActiveChain: () => isActiveChain,
|
|
48
|
+
isSunsetChain: () => isSunsetChain,
|
|
43
49
|
isSupportedChainId: () => isSupportedChainId,
|
|
44
50
|
mainnetConfig: () => mainnetConfig
|
|
45
51
|
});
|
|
@@ -137,6 +143,7 @@ var coreSonicConfig = {
|
|
|
137
143
|
name: import_chains3.sonic.name,
|
|
138
144
|
id: import_chains3.sonic.id,
|
|
139
145
|
shortName: "sonic",
|
|
146
|
+
status: "sunset",
|
|
140
147
|
systemRegistry: "0x1a912EB51D3cF8364eBAEE5A982cA37f25aD8848",
|
|
141
148
|
weth: "0x50c42deacd8fc9773493ed674b675be577f2634b",
|
|
142
149
|
toke: "0x223c0d94dbc8c0e5df1f6b2c75f06c0229c91950",
|
|
@@ -156,6 +163,7 @@ var corePlasmaConfig = {
|
|
|
156
163
|
name: import_chains4.plasma.name,
|
|
157
164
|
id: import_chains4.plasma.id,
|
|
158
165
|
shortName: "plasma",
|
|
166
|
+
status: "sunset",
|
|
159
167
|
systemRegistry: "0x9065C0E33Bc8FB31A21874f399985e39bC187D48",
|
|
160
168
|
weth: "0x9895D81bB462A195b4922ED7De0e3ACD007c32CB",
|
|
161
169
|
toke: "0x223C0d94dbc8c0E5df1f6B2C75F06c0229c91950",
|
|
@@ -194,6 +202,7 @@ var coreLineaConfig = {
|
|
|
194
202
|
name: import_chains6.linea.name,
|
|
195
203
|
id: import_chains6.linea.id,
|
|
196
204
|
shortName: "linea",
|
|
205
|
+
status: "sunset",
|
|
197
206
|
systemRegistry: "0x25f26Ec2e764c63F8D191dFE7f88c6646ca9F980",
|
|
198
207
|
weth: "0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f",
|
|
199
208
|
toke: "0x223c0d94dbc8c0e5df1f6b2c75f06c0229c91950",
|
|
@@ -270,6 +279,21 @@ var SUPPORTED_NETWORKS_IDS = [
|
|
|
270
279
|
...SUPPORTED_DEV_NETWORKS_IDS,
|
|
271
280
|
...SUPPORTED_PROD_NETWORKS_IDS
|
|
272
281
|
];
|
|
282
|
+
var SUNSET_NETWORK_IDS = coreNetworkConfigs.filter((config) => config.status === "sunset").map((config) => config.id);
|
|
283
|
+
var isSunsetChain = (chainId) => SUNSET_NETWORK_IDS.includes(chainId);
|
|
284
|
+
var isActiveChain = (chainId) => SUPPORTED_NETWORKS_IDS.some((id) => id === chainId) && !isSunsetChain(chainId);
|
|
285
|
+
var ACTIVE_PROD_NETWORKS_IDS = SUPPORTED_PROD_NETWORKS_IDS.filter(
|
|
286
|
+
(id) => !isSunsetChain(id)
|
|
287
|
+
);
|
|
288
|
+
var SUNSET_PROD_NETWORKS_IDS = SUPPORTED_PROD_NETWORKS_IDS.filter(
|
|
289
|
+
(id) => isSunsetChain(id)
|
|
290
|
+
);
|
|
291
|
+
var ACTIVE_DEV_NETWORKS_IDS = SUPPORTED_DEV_NETWORKS_IDS.filter(
|
|
292
|
+
(id) => !isSunsetChain(id)
|
|
293
|
+
);
|
|
294
|
+
var SUNSET_DEV_NETWORKS_IDS = SUPPORTED_DEV_NETWORKS_IDS.filter(
|
|
295
|
+
(id) => isSunsetChain(id)
|
|
296
|
+
);
|
|
273
297
|
|
|
274
298
|
// helpers/isSupportedChainId.ts
|
|
275
299
|
var isSupportedChainId = (chainId) => {
|
|
@@ -338,10 +362,14 @@ var DEPOSIT_ADDRESS_WHITELIST = {
|
|
|
338
362
|
};
|
|
339
363
|
// Annotate the CommonJS export names for ESM import in node:
|
|
340
364
|
0 && (module.exports = {
|
|
365
|
+
ACTIVE_DEV_NETWORKS_IDS,
|
|
366
|
+
ACTIVE_PROD_NETWORKS_IDS,
|
|
341
367
|
AUTOPOOLS_WHITELIST_PROD,
|
|
342
368
|
DEPOSIT_ADDRESS_WHITELIST,
|
|
343
369
|
STOKE_VOTE_WHITELIST,
|
|
344
370
|
SUBGRAPH_BASE_URL,
|
|
371
|
+
SUNSET_DEV_NETWORKS_IDS,
|
|
372
|
+
SUNSET_PROD_NETWORKS_IDS,
|
|
345
373
|
SUPPORTED_DEV_NETWORKS_IDS,
|
|
346
374
|
SUPPORTED_NETWORKS_IDS,
|
|
347
375
|
SUPPORTED_PROD_NETWORKS_IDS,
|
|
@@ -358,6 +386,8 @@ var DEPOSIT_ADDRESS_WHITELIST = {
|
|
|
358
386
|
getCoreConfig,
|
|
359
387
|
getMainnetConfig,
|
|
360
388
|
getSubgraphUrl,
|
|
389
|
+
isActiveChain,
|
|
390
|
+
isSunsetChain,
|
|
361
391
|
isSupportedChainId,
|
|
362
392
|
mainnetConfig
|
|
363
393
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -96,6 +96,7 @@ var coreSonicConfig = {
|
|
|
96
96
|
name: sonic.name,
|
|
97
97
|
id: sonic.id,
|
|
98
98
|
shortName: "sonic",
|
|
99
|
+
status: "sunset",
|
|
99
100
|
systemRegistry: "0x1a912EB51D3cF8364eBAEE5A982cA37f25aD8848",
|
|
100
101
|
weth: "0x50c42deacd8fc9773493ed674b675be577f2634b",
|
|
101
102
|
toke: "0x223c0d94dbc8c0e5df1f6b2c75f06c0229c91950",
|
|
@@ -115,6 +116,7 @@ var corePlasmaConfig = {
|
|
|
115
116
|
name: plasma.name,
|
|
116
117
|
id: plasma.id,
|
|
117
118
|
shortName: "plasma",
|
|
119
|
+
status: "sunset",
|
|
118
120
|
systemRegistry: "0x9065C0E33Bc8FB31A21874f399985e39bC187D48",
|
|
119
121
|
weth: "0x9895D81bB462A195b4922ED7De0e3ACD007c32CB",
|
|
120
122
|
toke: "0x223C0d94dbc8c0E5df1f6B2C75F06c0229c91950",
|
|
@@ -153,6 +155,7 @@ var coreLineaConfig = {
|
|
|
153
155
|
name: linea.name,
|
|
154
156
|
id: linea.id,
|
|
155
157
|
shortName: "linea",
|
|
158
|
+
status: "sunset",
|
|
156
159
|
systemRegistry: "0x25f26Ec2e764c63F8D191dFE7f88c6646ca9F980",
|
|
157
160
|
weth: "0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f",
|
|
158
161
|
toke: "0x223c0d94dbc8c0e5df1f6b2c75f06c0229c91950",
|
|
@@ -237,6 +240,21 @@ var SUPPORTED_NETWORKS_IDS = [
|
|
|
237
240
|
...SUPPORTED_DEV_NETWORKS_IDS,
|
|
238
241
|
...SUPPORTED_PROD_NETWORKS_IDS
|
|
239
242
|
];
|
|
243
|
+
var SUNSET_NETWORK_IDS = coreNetworkConfigs.filter((config) => config.status === "sunset").map((config) => config.id);
|
|
244
|
+
var isSunsetChain = (chainId) => SUNSET_NETWORK_IDS.includes(chainId);
|
|
245
|
+
var isActiveChain = (chainId) => SUPPORTED_NETWORKS_IDS.some((id) => id === chainId) && !isSunsetChain(chainId);
|
|
246
|
+
var ACTIVE_PROD_NETWORKS_IDS = SUPPORTED_PROD_NETWORKS_IDS.filter(
|
|
247
|
+
(id) => !isSunsetChain(id)
|
|
248
|
+
);
|
|
249
|
+
var SUNSET_PROD_NETWORKS_IDS = SUPPORTED_PROD_NETWORKS_IDS.filter(
|
|
250
|
+
(id) => isSunsetChain(id)
|
|
251
|
+
);
|
|
252
|
+
var ACTIVE_DEV_NETWORKS_IDS = SUPPORTED_DEV_NETWORKS_IDS.filter(
|
|
253
|
+
(id) => !isSunsetChain(id)
|
|
254
|
+
);
|
|
255
|
+
var SUNSET_DEV_NETWORKS_IDS = SUPPORTED_DEV_NETWORKS_IDS.filter(
|
|
256
|
+
(id) => isSunsetChain(id)
|
|
257
|
+
);
|
|
240
258
|
|
|
241
259
|
// helpers/isSupportedChainId.ts
|
|
242
260
|
var isSupportedChainId = (chainId) => {
|
|
@@ -304,10 +322,14 @@ var DEPOSIT_ADDRESS_WHITELIST = {
|
|
|
304
322
|
infinifiUSD: ["0x09618943342c016A85aC0F98Fd005479b3cec571"]
|
|
305
323
|
};
|
|
306
324
|
export {
|
|
325
|
+
ACTIVE_DEV_NETWORKS_IDS,
|
|
326
|
+
ACTIVE_PROD_NETWORKS_IDS,
|
|
307
327
|
AUTOPOOLS_WHITELIST_PROD,
|
|
308
328
|
DEPOSIT_ADDRESS_WHITELIST,
|
|
309
329
|
STOKE_VOTE_WHITELIST,
|
|
310
330
|
SUBGRAPH_BASE_URL,
|
|
331
|
+
SUNSET_DEV_NETWORKS_IDS,
|
|
332
|
+
SUNSET_PROD_NETWORKS_IDS,
|
|
311
333
|
SUPPORTED_DEV_NETWORKS_IDS,
|
|
312
334
|
SUPPORTED_NETWORKS_IDS,
|
|
313
335
|
SUPPORTED_PROD_NETWORKS_IDS,
|
|
@@ -324,6 +346,8 @@ export {
|
|
|
324
346
|
getCoreConfig,
|
|
325
347
|
getMainnetConfig,
|
|
326
348
|
getSubgraphUrl,
|
|
349
|
+
isActiveChain,
|
|
350
|
+
isSunsetChain,
|
|
327
351
|
isSupportedChainId,
|
|
328
352
|
mainnetConfig
|
|
329
353
|
};
|