@berachain/config 0.1.0 → 0.1.2
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/bepolia.cjs +1 -1
- package/dist/bepolia.d.cts +8 -4
- package/dist/bepolia.d.ts +8 -4
- package/dist/bepolia.mjs +1 -1
- package/dist/chunk-276AZYTL.cjs +1 -0
- package/dist/{chunk-WU7DCIYT.cjs → chunk-3WZ7JUD6.cjs} +1 -1
- package/dist/chunk-4EBBM3AH.mjs +1 -0
- package/dist/chunk-GMCXYF2Y.cjs +1 -0
- package/dist/chunk-RMPYYDGQ.mjs +1 -0
- package/dist/chunk-SU5YRBAA.mjs +1 -0
- package/dist/chunk-VKKV5GF6.mjs +1 -0
- package/dist/chunk-WOMXQLBK.cjs +1 -0
- package/dist/{chunk-UNNCJ44D.mjs → chunk-XO2H4NRK.mjs} +1 -1
- package/dist/chunk-YFRDKFCV.cjs +1 -0
- package/dist/chunk-YQK5O5ZL.cjs +1 -0
- package/dist/chunk-ZKMVPHR5.mjs +1 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/internal/edge-config/index.d.cts +1 -1
- package/dist/internal/edge-config/index.d.ts +1 -1
- package/dist/internal/flags/index.cjs +1 -1
- package/dist/internal/flags/index.d.cts +5 -1
- package/dist/internal/flags/index.d.ts +5 -1
- package/dist/internal/flags/index.mjs +1 -1
- package/dist/internal/header-sources.cjs +2 -2
- package/dist/internal/header-sources.mjs +1 -1
- package/dist/internal/index.cjs +1 -1
- package/dist/internal/index.d.cts +33 -17
- package/dist/internal/index.d.ts +33 -17
- package/dist/internal/index.mjs +1 -1
- package/dist/internal/nextjs/index.cjs +1 -1
- package/dist/internal/nextjs/index.d.cts +1 -1
- package/dist/internal/nextjs/index.d.ts +1 -1
- package/dist/internal/nextjs/index.mjs +1 -1
- package/dist/internal/nextjs/utils/index.cjs +1 -1
- package/dist/internal/nextjs/utils/index.mjs +1 -1
- package/dist/internal/sentry/index.cjs +1 -1
- package/dist/internal/sentry/index.mjs +1 -1
- package/dist/internal/sentry/sentry.client.config.cjs +1 -1
- package/dist/internal/sentry/sentry.client.config.mjs +1 -1
- package/dist/internal/tsup/index.cjs +1 -1
- package/dist/internal/tsup/index.mjs +1 -1
- package/dist/internal/wagmi/index.cjs +1 -1
- package/dist/internal/wagmi/index.mjs +1 -1
- package/dist/mainnet.cjs +1 -1
- package/dist/mainnet.d.cts +8 -4
- package/dist/mainnet.d.ts +8 -4
- package/dist/mainnet.mjs +1 -1
- package/dist/{sentry.edge.config-34TBZ2J6.cjs → sentry.edge.config-DS2KE3CX.cjs} +1 -1
- package/dist/{sentry.edge.config-3QO3DLYV.mjs → sentry.edge.config-OEQTPQ2L.mjs} +1 -1
- package/dist/{sentry.server.config-S53O6JTA.mjs → sentry.server.config-KRS7OUMO.mjs} +1 -1
- package/dist/{sentry.server.config-WQX4KCNG.cjs → sentry.server.config-RNY6FTJT.cjs} +1 -1
- package/dist/{types-BU1W-0Vo.d.cts → types-CpAPoaiH.d.cts} +7 -6
- package/dist/{types-BU1W-0Vo.d.ts → types-CpAPoaiH.d.ts} +7 -6
- package/package.json +4 -4
- package/dist/chunk-3PKORKPM.mjs +0 -1
- package/dist/chunk-DFPDQR4M.cjs +0 -1
- package/dist/chunk-E6JOUU2U.mjs +0 -1
- package/dist/chunk-H6BDBYQ5.cjs +0 -1
- package/dist/chunk-HLI3RPDQ.cjs +0 -1
- package/dist/chunk-JVJKB7V7.mjs +0 -1
- package/dist/chunk-O5LUKC6Z.mjs +0 -1
- package/dist/chunk-OQFLFE3X.cjs +0 -1
- package/dist/chunk-U2GGNVRS.cjs +0 -1
- package/dist/chunk-WDALG65T.mjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ChainId, a as AppName, A as Address } from '../types-
|
|
2
|
-
export { B as BeraConfig, H as HttpLink, P as ProjectName } from '../types-
|
|
1
|
+
import { C as ChainId, a as AppName, A as Address } from '../types-CpAPoaiH.cjs';
|
|
2
|
+
export { B as BeraConfig, H as HttpLink, P as ProjectName } from '../types-CpAPoaiH.cjs';
|
|
3
3
|
|
|
4
4
|
declare const defaultChainId: ChainId;
|
|
5
5
|
|
|
@@ -13,7 +13,7 @@ declare const currentDapp: AppName | undefined;
|
|
|
13
13
|
* Avoids circular dependency with the config object.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
-
declare const
|
|
16
|
+
declare const imageBaseUrl = "https://imagedelivery.net/qNj7Q3MCke89zoKzav7eDQ";
|
|
17
17
|
declare const goldskyBaseUrl = "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/";
|
|
18
18
|
/**
|
|
19
19
|
* Returns the RPC URLs for the given chain ID. If anvil is set, it will just return the anvil RPC URLs.
|
|
@@ -55,6 +55,7 @@ declare const chainConfigs: {
|
|
|
55
55
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
56
56
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
57
57
|
readonly subgraph: string;
|
|
58
|
+
readonly feesSubgraph: string;
|
|
58
59
|
readonly bribeBoostApi: string;
|
|
59
60
|
readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
|
|
60
61
|
};
|
|
@@ -64,8 +65,7 @@ declare const chainConfigs: {
|
|
|
64
65
|
"x-api-key": string;
|
|
65
66
|
} | undefined;
|
|
66
67
|
};
|
|
67
|
-
readonly
|
|
68
|
-
readonly blocksSubgraph: string;
|
|
68
|
+
readonly staking: "https://backend-production-351b.up.railway.app";
|
|
69
69
|
readonly bex: {
|
|
70
70
|
readonly chainName: "BERACHAIN";
|
|
71
71
|
readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
|
|
@@ -93,7 +93,7 @@ declare const chainConfigs: {
|
|
|
93
93
|
readonly subgraph: string;
|
|
94
94
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
95
95
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
96
|
-
readonly pythWrapper: "
|
|
96
|
+
readonly pythWrapper: "0xF5686e448BE103beA465105bEb9d284a34ae7e95";
|
|
97
97
|
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
98
98
|
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
99
99
|
};
|
|
@@ -157,6 +157,10 @@ declare const chainConfigs: {
|
|
|
157
157
|
readonly supportedVaults: `0x${string}`[];
|
|
158
158
|
};
|
|
159
159
|
};
|
|
160
|
+
readonly enso: {
|
|
161
|
+
readonly walletV2Factory: "0xc914a663837eb21c5a650716e015659686597e55";
|
|
162
|
+
readonly walletFlashloanAdapter: "0x5dE09823D9143886896507107590d9859F3E390b";
|
|
163
|
+
};
|
|
160
164
|
readonly explore: {
|
|
161
165
|
readonly name: "Explore";
|
|
162
166
|
readonly url: "https://explore.berachain.com";
|
|
@@ -186,7 +190,8 @@ declare const chainConfigs: {
|
|
|
186
190
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
187
191
|
readonly rewardAllocationFactory: "0x7f09Cf6958631513aF0400488F65c7B5c0313F52";
|
|
188
192
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
189
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-
|
|
193
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-v1.7.2/gn";
|
|
194
|
+
readonly feesSubgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-fees-subgraph/bepolia-v1.0.0/gn";
|
|
190
195
|
readonly bribeBoostApi: string;
|
|
191
196
|
readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
|
|
192
197
|
};
|
|
@@ -196,8 +201,7 @@ declare const chainConfigs: {
|
|
|
196
201
|
"x-api-key": string;
|
|
197
202
|
} | undefined;
|
|
198
203
|
};
|
|
199
|
-
readonly
|
|
200
|
-
readonly blocksSubgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/blocks-subgraph/bepolia-v1.1.0/gn";
|
|
204
|
+
readonly staking: "https://backend-production-351b.up.railway.app";
|
|
201
205
|
readonly bex: {
|
|
202
206
|
readonly chainName: "BEPOLIA";
|
|
203
207
|
readonly vault: "0x708cA656b68A6b7384a488A36aD33505a77241FE";
|
|
@@ -284,6 +288,10 @@ declare const chainConfigs: {
|
|
|
284
288
|
readonly supportedVaults: Address[];
|
|
285
289
|
};
|
|
286
290
|
};
|
|
291
|
+
readonly enso: {
|
|
292
|
+
readonly walletV2Factory: null;
|
|
293
|
+
readonly walletFlashloanAdapter: null;
|
|
294
|
+
};
|
|
287
295
|
readonly explore: {
|
|
288
296
|
readonly name: "Explore";
|
|
289
297
|
readonly url: "https://explore.berachain.com";
|
|
@@ -365,7 +373,7 @@ declare const appConfig: {
|
|
|
365
373
|
readonly uiHost: "https://eu.posthog.com" | "https://us.posthog.com";
|
|
366
374
|
};
|
|
367
375
|
readonly ghost: "https://berachain.ghost.io";
|
|
368
|
-
readonly
|
|
376
|
+
readonly imageDelivery: "https://imagedelivery.net/qNj7Q3MCke89zoKzav7eDQ";
|
|
369
377
|
readonly homepage: string;
|
|
370
378
|
readonly ecosystem: "https://ecosystem.berachain.com/";
|
|
371
379
|
readonly ecojobs: "https://ecojobs.berachain.com/";
|
|
@@ -427,6 +435,7 @@ declare const config: {
|
|
|
427
435
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
428
436
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
429
437
|
readonly subgraph: string;
|
|
438
|
+
readonly feesSubgraph: string;
|
|
430
439
|
readonly bribeBoostApi: string;
|
|
431
440
|
readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
|
|
432
441
|
};
|
|
@@ -436,8 +445,7 @@ declare const config: {
|
|
|
436
445
|
"x-api-key": string;
|
|
437
446
|
} | undefined;
|
|
438
447
|
};
|
|
439
|
-
readonly
|
|
440
|
-
readonly blocksSubgraph: string;
|
|
448
|
+
readonly staking: "https://backend-production-351b.up.railway.app";
|
|
441
449
|
readonly bex: {
|
|
442
450
|
readonly chainName: "BERACHAIN";
|
|
443
451
|
readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
|
|
@@ -465,7 +473,7 @@ declare const config: {
|
|
|
465
473
|
readonly subgraph: string;
|
|
466
474
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
467
475
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
468
|
-
readonly pythWrapper: "
|
|
476
|
+
readonly pythWrapper: "0xF5686e448BE103beA465105bEb9d284a34ae7e95";
|
|
469
477
|
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
470
478
|
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
471
479
|
};
|
|
@@ -529,6 +537,10 @@ declare const config: {
|
|
|
529
537
|
readonly supportedVaults: `0x${string}`[];
|
|
530
538
|
};
|
|
531
539
|
};
|
|
540
|
+
readonly enso: {
|
|
541
|
+
readonly walletV2Factory: "0xc914a663837eb21c5a650716e015659686597e55";
|
|
542
|
+
readonly walletFlashloanAdapter: "0x5dE09823D9143886896507107590d9859F3E390b";
|
|
543
|
+
};
|
|
532
544
|
readonly explore: {
|
|
533
545
|
readonly name: "Explore";
|
|
534
546
|
readonly url: "https://explore.berachain.com";
|
|
@@ -557,7 +569,8 @@ declare const config: {
|
|
|
557
569
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
558
570
|
readonly rewardAllocationFactory: "0x7f09Cf6958631513aF0400488F65c7B5c0313F52";
|
|
559
571
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
560
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-
|
|
572
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-v1.7.2/gn";
|
|
573
|
+
readonly feesSubgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-fees-subgraph/bepolia-v1.0.0/gn";
|
|
561
574
|
readonly bribeBoostApi: string;
|
|
562
575
|
readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
|
|
563
576
|
};
|
|
@@ -567,8 +580,7 @@ declare const config: {
|
|
|
567
580
|
"x-api-key": string;
|
|
568
581
|
} | undefined;
|
|
569
582
|
};
|
|
570
|
-
readonly
|
|
571
|
-
readonly blocksSubgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/blocks-subgraph/bepolia-v1.1.0/gn";
|
|
583
|
+
readonly staking: "https://backend-production-351b.up.railway.app";
|
|
572
584
|
readonly bex: {
|
|
573
585
|
readonly chainName: "BEPOLIA";
|
|
574
586
|
readonly vault: "0x708cA656b68A6b7384a488A36aD33505a77241FE";
|
|
@@ -655,6 +667,10 @@ declare const config: {
|
|
|
655
667
|
readonly supportedVaults: Address[];
|
|
656
668
|
};
|
|
657
669
|
};
|
|
670
|
+
readonly enso: {
|
|
671
|
+
readonly walletV2Factory: null;
|
|
672
|
+
readonly walletFlashloanAdapter: null;
|
|
673
|
+
};
|
|
658
674
|
readonly explore: {
|
|
659
675
|
readonly name: "Explore";
|
|
660
676
|
readonly url: "https://explore.berachain.com";
|
|
@@ -676,4 +692,4 @@ declare const config: {
|
|
|
676
692
|
};
|
|
677
693
|
};
|
|
678
694
|
|
|
679
|
-
export { Address, AppName, ChainId, alchemyJsonRpcUrl, appConfig, chainConfigs, defaultChainId as chainId,
|
|
695
|
+
export { Address, AppName, ChainId, alchemyJsonRpcUrl, appConfig, chainConfigs, defaultChainId as chainId, config, currentDapp, defaultChainId, getRpcUrls, goldskyBaseUrl, imageBaseUrl, jsonRpcUrl, privateRcpUrl, publicJsonRpcUrl };
|
package/dist/internal/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ChainId, a as AppName, A as Address } from '../types-
|
|
2
|
-
export { B as BeraConfig, H as HttpLink, P as ProjectName } from '../types-
|
|
1
|
+
import { C as ChainId, a as AppName, A as Address } from '../types-CpAPoaiH.js';
|
|
2
|
+
export { B as BeraConfig, H as HttpLink, P as ProjectName } from '../types-CpAPoaiH.js';
|
|
3
3
|
|
|
4
4
|
declare const defaultChainId: ChainId;
|
|
5
5
|
|
|
@@ -13,7 +13,7 @@ declare const currentDapp: AppName | undefined;
|
|
|
13
13
|
* Avoids circular dependency with the config object.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
-
declare const
|
|
16
|
+
declare const imageBaseUrl = "https://imagedelivery.net/qNj7Q3MCke89zoKzav7eDQ";
|
|
17
17
|
declare const goldskyBaseUrl = "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/";
|
|
18
18
|
/**
|
|
19
19
|
* Returns the RPC URLs for the given chain ID. If anvil is set, it will just return the anvil RPC URLs.
|
|
@@ -55,6 +55,7 @@ declare const chainConfigs: {
|
|
|
55
55
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
56
56
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
57
57
|
readonly subgraph: string;
|
|
58
|
+
readonly feesSubgraph: string;
|
|
58
59
|
readonly bribeBoostApi: string;
|
|
59
60
|
readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
|
|
60
61
|
};
|
|
@@ -64,8 +65,7 @@ declare const chainConfigs: {
|
|
|
64
65
|
"x-api-key": string;
|
|
65
66
|
} | undefined;
|
|
66
67
|
};
|
|
67
|
-
readonly
|
|
68
|
-
readonly blocksSubgraph: string;
|
|
68
|
+
readonly staking: "https://backend-production-351b.up.railway.app";
|
|
69
69
|
readonly bex: {
|
|
70
70
|
readonly chainName: "BERACHAIN";
|
|
71
71
|
readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
|
|
@@ -93,7 +93,7 @@ declare const chainConfigs: {
|
|
|
93
93
|
readonly subgraph: string;
|
|
94
94
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
95
95
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
96
|
-
readonly pythWrapper: "
|
|
96
|
+
readonly pythWrapper: "0xF5686e448BE103beA465105bEb9d284a34ae7e95";
|
|
97
97
|
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
98
98
|
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
99
99
|
};
|
|
@@ -157,6 +157,10 @@ declare const chainConfigs: {
|
|
|
157
157
|
readonly supportedVaults: `0x${string}`[];
|
|
158
158
|
};
|
|
159
159
|
};
|
|
160
|
+
readonly enso: {
|
|
161
|
+
readonly walletV2Factory: "0xc914a663837eb21c5a650716e015659686597e55";
|
|
162
|
+
readonly walletFlashloanAdapter: "0x5dE09823D9143886896507107590d9859F3E390b";
|
|
163
|
+
};
|
|
160
164
|
readonly explore: {
|
|
161
165
|
readonly name: "Explore";
|
|
162
166
|
readonly url: "https://explore.berachain.com";
|
|
@@ -186,7 +190,8 @@ declare const chainConfigs: {
|
|
|
186
190
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
187
191
|
readonly rewardAllocationFactory: "0x7f09Cf6958631513aF0400488F65c7B5c0313F52";
|
|
188
192
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
189
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-
|
|
193
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-v1.7.2/gn";
|
|
194
|
+
readonly feesSubgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-fees-subgraph/bepolia-v1.0.0/gn";
|
|
190
195
|
readonly bribeBoostApi: string;
|
|
191
196
|
readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
|
|
192
197
|
};
|
|
@@ -196,8 +201,7 @@ declare const chainConfigs: {
|
|
|
196
201
|
"x-api-key": string;
|
|
197
202
|
} | undefined;
|
|
198
203
|
};
|
|
199
|
-
readonly
|
|
200
|
-
readonly blocksSubgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/blocks-subgraph/bepolia-v1.1.0/gn";
|
|
204
|
+
readonly staking: "https://backend-production-351b.up.railway.app";
|
|
201
205
|
readonly bex: {
|
|
202
206
|
readonly chainName: "BEPOLIA";
|
|
203
207
|
readonly vault: "0x708cA656b68A6b7384a488A36aD33505a77241FE";
|
|
@@ -284,6 +288,10 @@ declare const chainConfigs: {
|
|
|
284
288
|
readonly supportedVaults: Address[];
|
|
285
289
|
};
|
|
286
290
|
};
|
|
291
|
+
readonly enso: {
|
|
292
|
+
readonly walletV2Factory: null;
|
|
293
|
+
readonly walletFlashloanAdapter: null;
|
|
294
|
+
};
|
|
287
295
|
readonly explore: {
|
|
288
296
|
readonly name: "Explore";
|
|
289
297
|
readonly url: "https://explore.berachain.com";
|
|
@@ -365,7 +373,7 @@ declare const appConfig: {
|
|
|
365
373
|
readonly uiHost: "https://eu.posthog.com" | "https://us.posthog.com";
|
|
366
374
|
};
|
|
367
375
|
readonly ghost: "https://berachain.ghost.io";
|
|
368
|
-
readonly
|
|
376
|
+
readonly imageDelivery: "https://imagedelivery.net/qNj7Q3MCke89zoKzav7eDQ";
|
|
369
377
|
readonly homepage: string;
|
|
370
378
|
readonly ecosystem: "https://ecosystem.berachain.com/";
|
|
371
379
|
readonly ecojobs: "https://ecojobs.berachain.com/";
|
|
@@ -427,6 +435,7 @@ declare const config: {
|
|
|
427
435
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
428
436
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
429
437
|
readonly subgraph: string;
|
|
438
|
+
readonly feesSubgraph: string;
|
|
430
439
|
readonly bribeBoostApi: string;
|
|
431
440
|
readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
|
|
432
441
|
};
|
|
@@ -436,8 +445,7 @@ declare const config: {
|
|
|
436
445
|
"x-api-key": string;
|
|
437
446
|
} | undefined;
|
|
438
447
|
};
|
|
439
|
-
readonly
|
|
440
|
-
readonly blocksSubgraph: string;
|
|
448
|
+
readonly staking: "https://backend-production-351b.up.railway.app";
|
|
441
449
|
readonly bex: {
|
|
442
450
|
readonly chainName: "BERACHAIN";
|
|
443
451
|
readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
|
|
@@ -465,7 +473,7 @@ declare const config: {
|
|
|
465
473
|
readonly subgraph: string;
|
|
466
474
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
467
475
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
468
|
-
readonly pythWrapper: "
|
|
476
|
+
readonly pythWrapper: "0xF5686e448BE103beA465105bEb9d284a34ae7e95";
|
|
469
477
|
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
470
478
|
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
471
479
|
};
|
|
@@ -529,6 +537,10 @@ declare const config: {
|
|
|
529
537
|
readonly supportedVaults: `0x${string}`[];
|
|
530
538
|
};
|
|
531
539
|
};
|
|
540
|
+
readonly enso: {
|
|
541
|
+
readonly walletV2Factory: "0xc914a663837eb21c5a650716e015659686597e55";
|
|
542
|
+
readonly walletFlashloanAdapter: "0x5dE09823D9143886896507107590d9859F3E390b";
|
|
543
|
+
};
|
|
532
544
|
readonly explore: {
|
|
533
545
|
readonly name: "Explore";
|
|
534
546
|
readonly url: "https://explore.berachain.com";
|
|
@@ -557,7 +569,8 @@ declare const config: {
|
|
|
557
569
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
558
570
|
readonly rewardAllocationFactory: "0x7f09Cf6958631513aF0400488F65c7B5c0313F52";
|
|
559
571
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
560
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-
|
|
572
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-v1.7.2/gn";
|
|
573
|
+
readonly feesSubgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-fees-subgraph/bepolia-v1.0.0/gn";
|
|
561
574
|
readonly bribeBoostApi: string;
|
|
562
575
|
readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
|
|
563
576
|
};
|
|
@@ -567,8 +580,7 @@ declare const config: {
|
|
|
567
580
|
"x-api-key": string;
|
|
568
581
|
} | undefined;
|
|
569
582
|
};
|
|
570
|
-
readonly
|
|
571
|
-
readonly blocksSubgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/blocks-subgraph/bepolia-v1.1.0/gn";
|
|
583
|
+
readonly staking: "https://backend-production-351b.up.railway.app";
|
|
572
584
|
readonly bex: {
|
|
573
585
|
readonly chainName: "BEPOLIA";
|
|
574
586
|
readonly vault: "0x708cA656b68A6b7384a488A36aD33505a77241FE";
|
|
@@ -655,6 +667,10 @@ declare const config: {
|
|
|
655
667
|
readonly supportedVaults: Address[];
|
|
656
668
|
};
|
|
657
669
|
};
|
|
670
|
+
readonly enso: {
|
|
671
|
+
readonly walletV2Factory: null;
|
|
672
|
+
readonly walletFlashloanAdapter: null;
|
|
673
|
+
};
|
|
658
674
|
readonly explore: {
|
|
659
675
|
readonly name: "Explore";
|
|
660
676
|
readonly url: "https://explore.berachain.com";
|
|
@@ -676,4 +692,4 @@ declare const config: {
|
|
|
676
692
|
};
|
|
677
693
|
};
|
|
678
694
|
|
|
679
|
-
export { Address, AppName, ChainId, alchemyJsonRpcUrl, appConfig, chainConfigs, defaultChainId as chainId,
|
|
695
|
+
export { Address, AppName, ChainId, alchemyJsonRpcUrl, appConfig, chainConfigs, defaultChainId as chainId, config, currentDapp, defaultChainId, getRpcUrls, goldskyBaseUrl, imageBaseUrl, jsonRpcUrl, privateRcpUrl, publicJsonRpcUrl };
|
package/dist/internal/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as k,b as l,c as m}from"../chunk-
|
|
1
|
+
import{a as k,b as l,c as m}from"../chunk-VKKV5GF6.mjs";import"../chunk-ZKMVPHR5.mjs";import"../chunk-RMPYYDGQ.mjs";import{a as d,b as e,c as f,d as g,e as h,f as i,g as j}from"../chunk-4EBBM3AH.mjs";import{a as b,f as c}from"../chunk-S2A3Z34I.mjs";import{a}from"../chunk-MS6UGFXI.mjs";import"../chunk-JZXLCA2E.mjs";export{a as ChainId,i as alchemyJsonRpcUrl,l as appConfig,k as chainConfigs,b as chainId,m as config,c as currentDapp,b as defaultChainId,f as getRpcUrls,e as goldskyBaseUrl,d as imageBaseUrl,h as jsonRpcUrl,j as privateRcpUrl,g as publicJsonRpcUrl};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunk3WZ7JUD6cjs = require('../../chunk-3WZ7JUD6.cjs');var _chunkYQK5O5ZLcjs = require('../../chunk-YQK5O5ZL.cjs');var _chunkWOMXQLBKcjs = require('../../chunk-WOMXQLBK.cjs');require('../../chunk-YFRDKFCV.cjs');require('../../chunk-GMCXYF2Y.cjs');require('../../chunk-276AZYTL.cjs');require('../../chunk-3KQLFIHT.cjs');require('../../chunk-2OLL4MUY.cjs');require('../../chunk-4VDLQK6F.cjs');var _dotenv = require('dotenv'); var _dotenv2 = _interopRequireDefault(_dotenv);_dotenv2.default.config({path:["../../.env.local","../../.env"]});function c(r,{withSentry:a=!0,withPostHogReverseProxy:o=!0,appName:s}){let t={reactStrictMode:!0,trailingSlash:!0,pageExtensions:["ts","tsx"],env:{NEXT_PUBLIC_IS_NEXTJS:"true",NEXT_PUBLIC_BERA_APP_NAME:s},turbopack:{rules:{"*.svg":{as:"*.js",loaders:["@svgr/webpack"]}}},experimental:{webpackBuildWorker:!0},typescript:{ignoreBuildErrors:!0},...r,images:{...r.images,remotePatterns:[..._chunkYQK5O5ZLcjs.a]},async rewrites(){return o?[{source:"/ph/static/:path*",destination:`https://${_chunkWOMXQLBKcjs.b.urls.postHog.region}-assets.i.posthog.com/static/:path*`},{source:"/ph/:path*",destination:`https://${_chunkWOMXQLBKcjs.b.urls.postHog.region}.i.posthog.com/:path*`}]:[]}};return o&&(t.env.NEXT_PUBLIC_PH_REVERSE_PROXY_PATH="/ph",t.skipTrailingSlashRedirect=!0),a?_chunk3WZ7JUD6cjs.b.call(void 0, t):t}exports.withBeraConfig = c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as i}from"../../chunk-
|
|
1
|
+
import{b as i}from"../../chunk-XO2H4NRK.mjs";import{a as n}from"../../chunk-SU5YRBAA.mjs";import{b as e}from"../../chunk-VKKV5GF6.mjs";import"../../chunk-ZKMVPHR5.mjs";import"../../chunk-RMPYYDGQ.mjs";import"../../chunk-4EBBM3AH.mjs";import"../../chunk-S2A3Z34I.mjs";import"../../chunk-MS6UGFXI.mjs";import"../../chunk-JZXLCA2E.mjs";import p from"dotenv";p.config({path:["../../.env.local","../../.env"]});function c(r,{withSentry:a=!0,withPostHogReverseProxy:o=!0,appName:s}){let t={reactStrictMode:!0,trailingSlash:!0,pageExtensions:["ts","tsx"],env:{NEXT_PUBLIC_IS_NEXTJS:"true",NEXT_PUBLIC_BERA_APP_NAME:s},turbopack:{rules:{"*.svg":{as:"*.js",loaders:["@svgr/webpack"]}}},experimental:{webpackBuildWorker:!0},typescript:{ignoreBuildErrors:!0},...r,images:{...r.images,remotePatterns:[...n]},async rewrites(){return o?[{source:"/ph/static/:path*",destination:`https://${e.urls.postHog.region}-assets.i.posthog.com/static/:path*`},{source:"/ph/:path*",destination:`https://${e.urls.postHog.region}.i.posthog.com/:path*`}]:[]}};return o&&(t.env.NEXT_PUBLIC_PH_REVERSE_PROXY_PATH="/ph",t.skipTrailingSlashRedirect=!0),a?i(t):t}export{c as withBeraConfig};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkYQK5O5ZLcjs = require('../../../chunk-YQK5O5ZL.cjs');require('../../../chunk-4VDLQK6F.cjs');function a(t){let e=t.replace(/([.+?^=!:${}()|[\]/\\])/g,"\\$1");return e=e.replace(/\*\*/g,"___DOUBLE_STAR___"),e=e.replace(/\*/g,"[^/]+"),e=e.replace(/___DOUBLE_STAR___/g,".*"),e.startsWith("^")||(e=`^${e}`),e.endsWith("$")||(e=`${e}$`),new RegExp(e)}var o=t=>t.replace(/^https?:\/\//,"");function i(t){try{if(!t)return!1;let e=new URL(t);for(let n of _chunkYQK5O5ZLcjs.a){if(n.protocol&&e.protocol.replace(":","")!==n.protocol||o(e.hostname)!==o(n.hostname))continue;if(!n.pathname||a(n.pathname).test(e.pathname))return!0}return!1}catch (e2){return!1}}exports.isAllowedImageUrl = i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"../../../chunk-
|
|
1
|
+
import{a as r}from"../../../chunk-SU5YRBAA.mjs";import"../../../chunk-JZXLCA2E.mjs";function a(t){let e=t.replace(/([.+?^=!:${}()|[\]/\\])/g,"\\$1");return e=e.replace(/\*\*/g,"___DOUBLE_STAR___"),e=e.replace(/\*/g,"[^/]+"),e=e.replace(/___DOUBLE_STAR___/g,".*"),e.startsWith("^")||(e=`^${e}`),e.endsWith("$")||(e=`${e}$`),new RegExp(e)}var o=t=>t.replace(/^https?:\/\//,"");function i(t){try{if(!t)return!1;let e=new URL(t);for(let n of r){if(n.protocol&&e.protocol.replace(":","")!==n.protocol||o(e.hostname)!==o(n.hostname))continue;if(!n.pathname||a(n.pathname).test(e.pathname))return!0}return!1}catch{return!1}}export{i as isAllowedImageUrl};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk3WZ7JUD6cjs = require('../../chunk-3WZ7JUD6.cjs');require('../../chunk-4VDLQK6F.cjs');exports.onRequestError = _chunk3WZ7JUD6cjs.c; exports.registerSentry = _chunk3WZ7JUD6cjs.a; exports.withSentryConfig = _chunk3WZ7JUD6cjs.b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c}from"../../chunk-
|
|
1
|
+
import{a,b,c}from"../../chunk-XO2H4NRK.mjs";import"../../chunk-JZXLCA2E.mjs";export{c as onRequestError,a as registerSentry,b as withSentryConfig};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunkJYSZ2GU3cjs = require('../../chunk-JYSZ2GU3.cjs');require('../../chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunkJYSZ2GU3cjs = require('../../chunk-JYSZ2GU3.cjs');require('../../chunk-276AZYTL.cjs');require('../../chunk-3KQLFIHT.cjs');require('../../chunk-2OLL4MUY.cjs');require('../../chunk-4VDLQK6F.cjs');_chunkJYSZ2GU3cjs.d&&console.log("[@berachain/config] sentryDebug init",process.env.NEXT_PUBLIC_SENTRY_DSN);function s(r,n={}){return r.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tunnel:"/monitoring-tunnel",tracesSampleRate:_chunkJYSZ2GU3cjs.b,debug:_chunkJYSZ2GU3cjs.d,environment:_chunkJYSZ2GU3cjs.a,...n,ignoreErrors:[..._nullishCoalesce(n.ignoreErrors, () => ([])),/Cannot (set|assign to read only) property .+ of (object )?'?#<Window>/,/'set' on proxy: trap returned falsish for property/,/Invalid property descriptor\. Cannot both specify accessors and a value or writable attribute/,/chrome\.runtime\.sendMessage\(\) called from a webpage/,"Could not establish connection. Receiving end does not exist.","Attempting to use a disconnected port object",/The source .+ has not been authorized yet/,/No matching key\. session topic doesn't exist/,/Failed to connect to MetaMask/,"not found rainbowkit","Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.","The provider is disconnected from all chains.","Cannot destructure property 'register' of 'undefined' as it is undefined."]})}exports.initSentryClient = s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t,b as
|
|
1
|
+
import{a as t,b as o,d as e}from"../../chunk-DL645PXT.mjs";import"../../chunk-4EBBM3AH.mjs";import"../../chunk-S2A3Z34I.mjs";import"../../chunk-MS6UGFXI.mjs";import"../../chunk-JZXLCA2E.mjs";e&&console.log("[@berachain/config] sentryDebug init",process.env.NEXT_PUBLIC_SENTRY_DSN);function s(r,n={}){return r.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tunnel:"/monitoring-tunnel",tracesSampleRate:o,debug:e,environment:t,...n,ignoreErrors:[...n.ignoreErrors??[],/Cannot (set|assign to read only) property .+ of (object )?'?#<Window>/,/'set' on proxy: trap returned falsish for property/,/Invalid property descriptor\. Cannot both specify accessors and a value or writable attribute/,/chrome\.runtime\.sendMessage\(\) called from a webpage/,"Could not establish connection. Receiving end does not exist.","Attempting to use a disconnected port object",/The source .+ has not been authorized yet/,/No matching key\. session topic doesn't exist/,/Failed to connect to MetaMask/,"not found rainbowkit","Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.","The provider is disconnected from all chains.","Cannot destructure property 'register' of 'undefined' as it is undefined."]})}export{s as initSentryClient};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }require('../../chunk-4VDLQK6F.cjs');var _tsup = require('tsup');function r(e,t){if(Array.isArray(e))return e.map(
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }require('../../chunk-4VDLQK6F.cjs');var _tsup = require('tsup');function r(e,t){if(Array.isArray(e))return e.map(i=>r(i,t));let s=process.argv.includes("--prepublish"),o=process.argv.includes("--sourcemap"),p=s||process.argv.includes("--cjs"),a=s||!p||process.argv.includes("--esm"),n=[];a&&n.push("esm"),p&&n.push("cjs");let c=s||process.argv.includes("--minify"),u=typeof t.dts=="object"&&t.dts.only;return{...{format:n,clean:!t.watch&&!u,splitting:!0,outExtension({format:i}){return{js:i==="esm"?".mjs":".cjs"}},outDir:"dist",skipNodeModulesBundle:!0,noExternal:["@berachain/utils"],minify:c,sourcemap:process.env.UPLOAD_SOURCEMAPS==="true"||o,dts:process.env.VERCEL!=="1",esbuildOptions:(i,l)=>{i.jsx="automatic",i.sourceRoot="",_optionalChain([e, 'access', _ => _.esbuildOptions, 'optionalCall', _2 => _2(i,l)])}},...e}}var d=e=>_tsup.defineConfig.call(void 0, async t=>{let s;return typeof e=="function"?s=await e(t):s=e,Array.isArray(s)?s.map(o=>r(o,t)):r(s,t)});exports.beraTsupConfig = d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../chunk-JZXLCA2E.mjs";import{defineConfig as
|
|
1
|
+
import"../../chunk-JZXLCA2E.mjs";import{defineConfig as m}from"tsup";function r(e,t){if(Array.isArray(e))return e.map(i=>r(i,t));let s=process.argv.includes("--prepublish"),o=process.argv.includes("--sourcemap"),p=s||process.argv.includes("--cjs"),a=s||!p||process.argv.includes("--esm"),n=[];a&&n.push("esm"),p&&n.push("cjs");let c=s||process.argv.includes("--minify"),u=typeof t.dts=="object"&&t.dts.only;return{...{format:n,clean:!t.watch&&!u,splitting:!0,outExtension({format:i}){return{js:i==="esm"?".mjs":".cjs"}},outDir:"dist",skipNodeModulesBundle:!0,noExternal:["@berachain/utils"],minify:c,sourcemap:process.env.UPLOAD_SOURCEMAPS==="true"||o,dts:process.env.VERCEL!=="1",esbuildOptions:(i,l)=>{i.jsx="automatic",i.sourceRoot="",e.esbuildOptions?.(i,l)}},...e}}var d=e=>m(async t=>{let s;return typeof e=="function"?s=await e(t):s=e,Array.isArray(s)?s.map(o=>r(o,t)):r(s,t)});export{d as beraTsupConfig};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-WOMXQLBK.cjs');require('../../chunk-YFRDKFCV.cjs');require('../../chunk-GMCXYF2Y.cjs');var _chunk276AZYTLcjs = require('../../chunk-276AZYTL.cjs');var _chunk3KQLFIHTcjs = require('../../chunk-3KQLFIHT.cjs');require('../../chunk-2OLL4MUY.cjs');require('../../chunk-4VDLQK6F.cjs');var _viem = require('viem');var _chains = require('viem/chains');var C=_chunk3KQLFIHTcjs.a===_chains.berachain.id?_chains.berachain:_chains.berachainBepolia,q= exports.urls =[_chunk276AZYTLcjs.g,_chunk276AZYTLcjs.e,_chunk276AZYTLcjs.f,_chunk276AZYTLcjs.d].filter(Boolean),x= exports.externalChains =[_chains.mainnet,_chains.polygon,_chains.optimism,_chains.base,_chains.bsc,_chains.avalanche,_chains.arbitrum],U= exports.chainIdToName =[...x,_chains.berachain,_chains.berachainBepolia].reduce((i,r)=>(i[r.id]=r.name,i),{}),R={batch:{wait:35}},e={batch:{wait:15}},B= exports.transports ={[C.id]:_viem.fallback.call(void 0, q.map(i=>_viem.http.call(void 0, i,R))),[_chains.mainnet.id]:_viem.fallback.call(void 0, [_viem.http.call(void 0, "https://1.rpc.thirdweb.com/",e),_viem.http.call(void 0, "https://ultra-sleek-pond.quiknode.pro/08ab7832de196248b7ba7dcffad268c9b3747f48/",e),_viem.http.call(void 0, )]),[_chains.polygon.id]:_viem.fallback.call(void 0, [_viem.http.call(void 0, "https://137.rpc.thirdweb.com/",e),_viem.http.call(void 0, "https://sleek-thrilling-orb.matic.quiknode.pro/592d9950044bf173c232f5ecf79a2725c43f517b/",e),_viem.http.call(void 0, )]),[_chains.optimism.id]:_viem.fallback.call(void 0, [_viem.http.call(void 0, "https://10.rpc.thirdweb.com/",e),_viem.http.call(void 0, "https://blue-neat-liquid.optimism.quiknode.pro/26ca3fe255f687652124050450faada988023979/",e),_viem.http.call(void 0, )]),[_chains.base.id]:_viem.fallback.call(void 0, [_viem.http.call(void 0, "https://8453.rpc.thirdweb.com/",e),_viem.http.call(void 0, "https://soft-empty-sailboat.base-mainnet.quiknode.pro/bb9300074b062c5e0a1e93e0a8ebd53501c32fe7/",e),_viem.http.call(void 0, )]),[_chains.bsc.id]:_viem.fallback.call(void 0, [_viem.http.call(void 0, "https://56.rpc.thirdweb.com/",e),_viem.http.call(void 0, "https://chaotic-floral-brook.bsc.quiknode.pro/6f0e5a9791285c6b59f2a6a907a62ec9d581d7bd/",e),_viem.http.call(void 0, )]),[_chains.avalanche.id]:_viem.fallback.call(void 0, [_viem.http.call(void 0, "https://43114.rpc.thirdweb.com/",e),_viem.http.call(void 0, "https://shy-special-mansion.avalanche-mainnet.quiknode.pro/efa880845032c2ef4049637d779d2ae58acf0f65/ext/bc/C/rpc/",e),_viem.http.call(void 0, )]),[_chains.arbitrum.id]:_viem.fallback.call(void 0, [_viem.http.call(void 0, "https://42161.rpc.thirdweb.com/",e),_viem.http.call(void 0, "https://fluent-broken-violet.arbitrum-mainnet.quiknode.pro/445b20e9ed10e22fffee6498a40c4f83f83f4ec7/",e),_viem.http.call(void 0, )])};exports.chainIdToName = U; exports.defaultChain = C; exports.externalChains = x; exports.transports = B; exports.urls = q;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../chunk-
|
|
1
|
+
import"../../chunk-VKKV5GF6.mjs";import"../../chunk-ZKMVPHR5.mjs";import"../../chunk-RMPYYDGQ.mjs";import{d as p,e as c,f as s,g as d}from"../../chunk-4EBBM3AH.mjs";import{a as n}from"../../chunk-S2A3Z34I.mjs";import"../../chunk-MS6UGFXI.mjs";import"../../chunk-JZXLCA2E.mjs";import{fallback as a,http as t}from"viem";import{arbitrum as h,avalanche as b,base as f,berachain as o,berachainBepolia as l,bsc as m,mainnet as u,optimism as k,polygon as w}from"viem/chains";var C=n===o.id?o:l,q=[d,c,s,p].filter(Boolean),x=[u,w,k,f,m,b,h],U=[...x,o,l].reduce((i,r)=>(i[r.id]=r.name,i),{}),R={batch:{wait:35}},e={batch:{wait:15}},B={[C.id]:a(q.map(i=>t(i,R))),[u.id]:a([t("https://1.rpc.thirdweb.com/",e),t("https://ultra-sleek-pond.quiknode.pro/08ab7832de196248b7ba7dcffad268c9b3747f48/",e),t()]),[w.id]:a([t("https://137.rpc.thirdweb.com/",e),t("https://sleek-thrilling-orb.matic.quiknode.pro/592d9950044bf173c232f5ecf79a2725c43f517b/",e),t()]),[k.id]:a([t("https://10.rpc.thirdweb.com/",e),t("https://blue-neat-liquid.optimism.quiknode.pro/26ca3fe255f687652124050450faada988023979/",e),t()]),[f.id]:a([t("https://8453.rpc.thirdweb.com/",e),t("https://soft-empty-sailboat.base-mainnet.quiknode.pro/bb9300074b062c5e0a1e93e0a8ebd53501c32fe7/",e),t()]),[m.id]:a([t("https://56.rpc.thirdweb.com/",e),t("https://chaotic-floral-brook.bsc.quiknode.pro/6f0e5a9791285c6b59f2a6a907a62ec9d581d7bd/",e),t()]),[b.id]:a([t("https://43114.rpc.thirdweb.com/",e),t("https://shy-special-mansion.avalanche-mainnet.quiknode.pro/efa880845032c2ef4049637d779d2ae58acf0f65/ext/bc/C/rpc/",e),t()]),[h.id]:a([t("https://42161.rpc.thirdweb.com/",e),t("https://fluent-broken-violet.arbitrum-mainnet.quiknode.pro/445b20e9ed10e22fffee6498a40c4f83f83f4ec7/",e),t()])};export{U as chainIdToName,C as defaultChain,x as externalChains,B as transports,q as urls};
|
package/dist/mainnet.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkGMCXYF2Ycjs = require('./chunk-GMCXYF2Y.cjs');require('./chunk-276AZYTL.cjs');require('./chunk-3KQLFIHT.cjs');require('./chunk-2OLL4MUY.cjs');require('./chunk-4VDLQK6F.cjs');exports.mainnet = _chunkGMCXYF2Ycjs.a;
|
package/dist/mainnet.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ChainId } from './types-
|
|
1
|
+
import { C as ChainId } from './types-CpAPoaiH.cjs';
|
|
2
2
|
|
|
3
3
|
declare const mainnet: {
|
|
4
4
|
readonly chainId: ChainId.MAINNET;
|
|
@@ -17,6 +17,7 @@ declare const mainnet: {
|
|
|
17
17
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
18
18
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
19
19
|
readonly subgraph: string;
|
|
20
|
+
readonly feesSubgraph: string;
|
|
20
21
|
readonly bribeBoostApi: string;
|
|
21
22
|
readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
|
|
22
23
|
};
|
|
@@ -26,8 +27,7 @@ declare const mainnet: {
|
|
|
26
27
|
"x-api-key": string;
|
|
27
28
|
} | undefined;
|
|
28
29
|
};
|
|
29
|
-
readonly
|
|
30
|
-
readonly blocksSubgraph: string;
|
|
30
|
+
readonly staking: "https://backend-production-351b.up.railway.app";
|
|
31
31
|
readonly bex: {
|
|
32
32
|
readonly chainName: "BERACHAIN";
|
|
33
33
|
readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
|
|
@@ -55,7 +55,7 @@ declare const mainnet: {
|
|
|
55
55
|
readonly subgraph: string;
|
|
56
56
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
57
57
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
58
|
-
readonly pythWrapper: "
|
|
58
|
+
readonly pythWrapper: "0xF5686e448BE103beA465105bEb9d284a34ae7e95";
|
|
59
59
|
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
60
60
|
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
61
61
|
};
|
|
@@ -119,6 +119,10 @@ declare const mainnet: {
|
|
|
119
119
|
readonly supportedVaults: `0x${string}`[];
|
|
120
120
|
};
|
|
121
121
|
};
|
|
122
|
+
readonly enso: {
|
|
123
|
+
readonly walletV2Factory: "0xc914a663837eb21c5a650716e015659686597e55";
|
|
124
|
+
readonly walletFlashloanAdapter: "0x5dE09823D9143886896507107590d9859F3E390b";
|
|
125
|
+
};
|
|
122
126
|
readonly explore: {
|
|
123
127
|
readonly name: "Explore";
|
|
124
128
|
readonly url: "https://explore.berachain.com";
|
package/dist/mainnet.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ChainId } from './types-
|
|
1
|
+
import { C as ChainId } from './types-CpAPoaiH.js';
|
|
2
2
|
|
|
3
3
|
declare const mainnet: {
|
|
4
4
|
readonly chainId: ChainId.MAINNET;
|
|
@@ -17,6 +17,7 @@ declare const mainnet: {
|
|
|
17
17
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
18
18
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
19
19
|
readonly subgraph: string;
|
|
20
|
+
readonly feesSubgraph: string;
|
|
20
21
|
readonly bribeBoostApi: string;
|
|
21
22
|
readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
|
|
22
23
|
};
|
|
@@ -26,8 +27,7 @@ declare const mainnet: {
|
|
|
26
27
|
"x-api-key": string;
|
|
27
28
|
} | undefined;
|
|
28
29
|
};
|
|
29
|
-
readonly
|
|
30
|
-
readonly blocksSubgraph: string;
|
|
30
|
+
readonly staking: "https://backend-production-351b.up.railway.app";
|
|
31
31
|
readonly bex: {
|
|
32
32
|
readonly chainName: "BERACHAIN";
|
|
33
33
|
readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
|
|
@@ -55,7 +55,7 @@ declare const mainnet: {
|
|
|
55
55
|
readonly subgraph: string;
|
|
56
56
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
57
57
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
58
|
-
readonly pythWrapper: "
|
|
58
|
+
readonly pythWrapper: "0xF5686e448BE103beA465105bEb9d284a34ae7e95";
|
|
59
59
|
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
60
60
|
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
61
61
|
};
|
|
@@ -119,6 +119,10 @@ declare const mainnet: {
|
|
|
119
119
|
readonly supportedVaults: `0x${string}`[];
|
|
120
120
|
};
|
|
121
121
|
};
|
|
122
|
+
readonly enso: {
|
|
123
|
+
readonly walletV2Factory: "0xc914a663837eb21c5a650716e015659686597e55";
|
|
124
|
+
readonly walletFlashloanAdapter: "0x5dE09823D9143886896507107590d9859F3E390b";
|
|
125
|
+
};
|
|
122
126
|
readonly explore: {
|
|
123
127
|
readonly name: "Explore";
|
|
124
128
|
readonly url: "https://explore.berachain.com";
|
package/dist/mainnet.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-RMPYYDGQ.mjs";import"./chunk-4EBBM3AH.mjs";import"./chunk-S2A3Z34I.mjs";import"./chunk-MS6UGFXI.mjs";import"./chunk-JZXLCA2E.mjs";export{a as mainnet};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkJYSZ2GU3cjs = require('./chunk-JYSZ2GU3.cjs');require('./chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkJYSZ2GU3cjs = require('./chunk-JYSZ2GU3.cjs');require('./chunk-276AZYTL.cjs');require('./chunk-3KQLFIHT.cjs');require('./chunk-2OLL4MUY.cjs');require('./chunk-4VDLQK6F.cjs');function p(t,r={}){return t.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tracesSampleRate:_chunkJYSZ2GU3cjs.b,environment:_chunkJYSZ2GU3cjs.a,debug:!1,...r})}exports.initSentryEdge = p;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,b as n}from"./chunk-DL645PXT.mjs";import"./chunk-
|
|
1
|
+
import{a as e,b as n}from"./chunk-DL645PXT.mjs";import"./chunk-4EBBM3AH.mjs";import"./chunk-S2A3Z34I.mjs";import"./chunk-MS6UGFXI.mjs";import"./chunk-JZXLCA2E.mjs";function p(t,r={}){return t.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tracesSampleRate:n,environment:e,debug:!1,...r})}export{p as initSentryEdge};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,b as n}from"./chunk-DL645PXT.mjs";import"./chunk-
|
|
1
|
+
import{a as e,b as n}from"./chunk-DL645PXT.mjs";import"./chunk-4EBBM3AH.mjs";import"./chunk-S2A3Z34I.mjs";import"./chunk-MS6UGFXI.mjs";import"./chunk-JZXLCA2E.mjs";function p(t,r={}){return t.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tracesSampleRate:n,environment:e,debug:!1,...r})}export{p as initSentryServer};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkJYSZ2GU3cjs = require('./chunk-JYSZ2GU3.cjs');require('./chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkJYSZ2GU3cjs = require('./chunk-JYSZ2GU3.cjs');require('./chunk-276AZYTL.cjs');require('./chunk-3KQLFIHT.cjs');require('./chunk-2OLL4MUY.cjs');require('./chunk-4VDLQK6F.cjs');function p(t,r={}){return t.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tracesSampleRate:_chunkJYSZ2GU3cjs.b,environment:_chunkJYSZ2GU3cjs.a,debug:!1,...r})}exports.initSentryServer = p;
|