@tokemak/config 0.4.0 → 0.6.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 +31 -0
- package/dist/index.mjs +25 -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",
|
|
@@ -213,6 +222,7 @@ var coreMonadConfig = {
|
|
|
213
222
|
name: import_chains7.monad.name,
|
|
214
223
|
id: import_chains7.monad.id,
|
|
215
224
|
shortName: "monad",
|
|
225
|
+
status: "sunset",
|
|
216
226
|
systemRegistry: "0x92872Ba7775aA1d7bcF48Ef4486468aBF4367057",
|
|
217
227
|
weth: "0xee8c0e9f1bffb4eb878d8f15f368a02a35481242",
|
|
218
228
|
toke: "0x223C0d94dbc8c0E5df1f6B2C75F06c0229c91950",
|
|
@@ -270,6 +280,21 @@ var SUPPORTED_NETWORKS_IDS = [
|
|
|
270
280
|
...SUPPORTED_DEV_NETWORKS_IDS,
|
|
271
281
|
...SUPPORTED_PROD_NETWORKS_IDS
|
|
272
282
|
];
|
|
283
|
+
var SUNSET_NETWORK_IDS = coreNetworkConfigs.filter((config) => config.status === "sunset").map((config) => config.id);
|
|
284
|
+
var isSunsetChain = (chainId) => SUNSET_NETWORK_IDS.includes(chainId);
|
|
285
|
+
var isActiveChain = (chainId) => SUPPORTED_NETWORKS_IDS.some((id) => id === chainId) && !isSunsetChain(chainId);
|
|
286
|
+
var ACTIVE_PROD_NETWORKS_IDS = SUPPORTED_PROD_NETWORKS_IDS.filter(
|
|
287
|
+
(id) => !isSunsetChain(id)
|
|
288
|
+
);
|
|
289
|
+
var SUNSET_PROD_NETWORKS_IDS = SUPPORTED_PROD_NETWORKS_IDS.filter(
|
|
290
|
+
(id) => isSunsetChain(id)
|
|
291
|
+
);
|
|
292
|
+
var ACTIVE_DEV_NETWORKS_IDS = SUPPORTED_DEV_NETWORKS_IDS.filter(
|
|
293
|
+
(id) => !isSunsetChain(id)
|
|
294
|
+
);
|
|
295
|
+
var SUNSET_DEV_NETWORKS_IDS = SUPPORTED_DEV_NETWORKS_IDS.filter(
|
|
296
|
+
(id) => isSunsetChain(id)
|
|
297
|
+
);
|
|
273
298
|
|
|
274
299
|
// helpers/isSupportedChainId.ts
|
|
275
300
|
var isSupportedChainId = (chainId) => {
|
|
@@ -338,10 +363,14 @@ var DEPOSIT_ADDRESS_WHITELIST = {
|
|
|
338
363
|
};
|
|
339
364
|
// Annotate the CommonJS export names for ESM import in node:
|
|
340
365
|
0 && (module.exports = {
|
|
366
|
+
ACTIVE_DEV_NETWORKS_IDS,
|
|
367
|
+
ACTIVE_PROD_NETWORKS_IDS,
|
|
341
368
|
AUTOPOOLS_WHITELIST_PROD,
|
|
342
369
|
DEPOSIT_ADDRESS_WHITELIST,
|
|
343
370
|
STOKE_VOTE_WHITELIST,
|
|
344
371
|
SUBGRAPH_BASE_URL,
|
|
372
|
+
SUNSET_DEV_NETWORKS_IDS,
|
|
373
|
+
SUNSET_PROD_NETWORKS_IDS,
|
|
345
374
|
SUPPORTED_DEV_NETWORKS_IDS,
|
|
346
375
|
SUPPORTED_NETWORKS_IDS,
|
|
347
376
|
SUPPORTED_PROD_NETWORKS_IDS,
|
|
@@ -358,6 +387,8 @@ var DEPOSIT_ADDRESS_WHITELIST = {
|
|
|
358
387
|
getCoreConfig,
|
|
359
388
|
getMainnetConfig,
|
|
360
389
|
getSubgraphUrl,
|
|
390
|
+
isActiveChain,
|
|
391
|
+
isSunsetChain,
|
|
361
392
|
isSupportedChainId,
|
|
362
393
|
mainnetConfig
|
|
363
394
|
});
|
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",
|
|
@@ -172,6 +175,7 @@ var coreMonadConfig = {
|
|
|
172
175
|
name: monad.name,
|
|
173
176
|
id: monad.id,
|
|
174
177
|
shortName: "monad",
|
|
178
|
+
status: "sunset",
|
|
175
179
|
systemRegistry: "0x92872Ba7775aA1d7bcF48Ef4486468aBF4367057",
|
|
176
180
|
weth: "0xee8c0e9f1bffb4eb878d8f15f368a02a35481242",
|
|
177
181
|
toke: "0x223C0d94dbc8c0E5df1f6B2C75F06c0229c91950",
|
|
@@ -237,6 +241,21 @@ var SUPPORTED_NETWORKS_IDS = [
|
|
|
237
241
|
...SUPPORTED_DEV_NETWORKS_IDS,
|
|
238
242
|
...SUPPORTED_PROD_NETWORKS_IDS
|
|
239
243
|
];
|
|
244
|
+
var SUNSET_NETWORK_IDS = coreNetworkConfigs.filter((config) => config.status === "sunset").map((config) => config.id);
|
|
245
|
+
var isSunsetChain = (chainId) => SUNSET_NETWORK_IDS.includes(chainId);
|
|
246
|
+
var isActiveChain = (chainId) => SUPPORTED_NETWORKS_IDS.some((id) => id === chainId) && !isSunsetChain(chainId);
|
|
247
|
+
var ACTIVE_PROD_NETWORKS_IDS = SUPPORTED_PROD_NETWORKS_IDS.filter(
|
|
248
|
+
(id) => !isSunsetChain(id)
|
|
249
|
+
);
|
|
250
|
+
var SUNSET_PROD_NETWORKS_IDS = SUPPORTED_PROD_NETWORKS_IDS.filter(
|
|
251
|
+
(id) => isSunsetChain(id)
|
|
252
|
+
);
|
|
253
|
+
var ACTIVE_DEV_NETWORKS_IDS = SUPPORTED_DEV_NETWORKS_IDS.filter(
|
|
254
|
+
(id) => !isSunsetChain(id)
|
|
255
|
+
);
|
|
256
|
+
var SUNSET_DEV_NETWORKS_IDS = SUPPORTED_DEV_NETWORKS_IDS.filter(
|
|
257
|
+
(id) => isSunsetChain(id)
|
|
258
|
+
);
|
|
240
259
|
|
|
241
260
|
// helpers/isSupportedChainId.ts
|
|
242
261
|
var isSupportedChainId = (chainId) => {
|
|
@@ -304,10 +323,14 @@ var DEPOSIT_ADDRESS_WHITELIST = {
|
|
|
304
323
|
infinifiUSD: ["0x09618943342c016A85aC0F98Fd005479b3cec571"]
|
|
305
324
|
};
|
|
306
325
|
export {
|
|
326
|
+
ACTIVE_DEV_NETWORKS_IDS,
|
|
327
|
+
ACTIVE_PROD_NETWORKS_IDS,
|
|
307
328
|
AUTOPOOLS_WHITELIST_PROD,
|
|
308
329
|
DEPOSIT_ADDRESS_WHITELIST,
|
|
309
330
|
STOKE_VOTE_WHITELIST,
|
|
310
331
|
SUBGRAPH_BASE_URL,
|
|
332
|
+
SUNSET_DEV_NETWORKS_IDS,
|
|
333
|
+
SUNSET_PROD_NETWORKS_IDS,
|
|
311
334
|
SUPPORTED_DEV_NETWORKS_IDS,
|
|
312
335
|
SUPPORTED_NETWORKS_IDS,
|
|
313
336
|
SUPPORTED_PROD_NETWORKS_IDS,
|
|
@@ -324,6 +347,8 @@ export {
|
|
|
324
347
|
getCoreConfig,
|
|
325
348
|
getMainnetConfig,
|
|
326
349
|
getSubgraphUrl,
|
|
350
|
+
isActiveChain,
|
|
351
|
+
isSunsetChain,
|
|
327
352
|
isSupportedChainId,
|
|
328
353
|
mainnetConfig
|
|
329
354
|
};
|