@berachain/config 0.1.0 → 0.1.1-5.beta-1

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.
Files changed (107) hide show
  1. package/dist/bepolia.cjs +8 -1
  2. package/dist/bepolia.d.cts +25 -7
  3. package/dist/bepolia.d.ts +25 -7
  4. package/dist/bepolia.mjs +8 -1
  5. package/dist/chunk-2JZ7QJEW.cjs +84 -0
  6. package/dist/chunk-2XYRGOX3.mjs +64 -0
  7. package/dist/chunk-3K6IUX3G.mjs +25 -0
  8. package/dist/chunk-3XMRQ4AF.cjs +169 -0
  9. package/dist/chunk-6TL5ZQOM.cjs +75 -0
  10. package/dist/chunk-75ZPJI57.cjs +9 -0
  11. package/dist/chunk-7P6ASYW6.mjs +9 -0
  12. package/dist/chunk-ADH7F47T.cjs +26 -0
  13. package/dist/chunk-AMUU2OH4.cjs +158 -0
  14. package/dist/chunk-AP2XG6GJ.mjs +84 -0
  15. package/dist/chunk-BM46XQJA.mjs +55 -0
  16. package/dist/chunk-CAOMAWN5.mjs +26 -0
  17. package/dist/chunk-EYYJ2UZT.cjs +10 -0
  18. package/dist/chunk-JHPXZOPW.mjs +158 -0
  19. package/dist/chunk-JZA34W4G.cjs +138 -0
  20. package/dist/chunk-KJXYSGNH.mjs +10 -0
  21. package/dist/chunk-KYJQS3T5.mjs +138 -0
  22. package/dist/chunk-LALEUPWL.mjs +8 -0
  23. package/dist/chunk-NQ3UKQHW.mjs +75 -0
  24. package/dist/chunk-NX4FI7G3.cjs +64 -0
  25. package/dist/chunk-ONKAV4AG.cjs +25 -0
  26. package/dist/chunk-SWEAJ6OD.mjs +169 -0
  27. package/dist/chunk-WRTYGXJM.cjs +55 -0
  28. package/dist/chunk-YT7WZDGI.cjs +8 -0
  29. package/dist/index.cjs +11 -1
  30. package/dist/index.d.cts +2 -2
  31. package/dist/index.d.ts +2 -2
  32. package/dist/index.mjs +11 -1
  33. package/dist/internal/edge-config/index.cjs +37 -1
  34. package/dist/internal/edge-config/index.d.cts +1 -1
  35. package/dist/internal/edge-config/index.d.ts +1 -1
  36. package/dist/internal/edge-config/index.mjs +37 -1
  37. package/dist/internal/flags/index.cjs +206 -1
  38. package/dist/internal/flags/index.d.cts +7 -1
  39. package/dist/internal/flags/index.d.ts +7 -1
  40. package/dist/internal/flags/index.mjs +206 -1
  41. package/dist/internal/header-sources.cjs +283 -11
  42. package/dist/internal/header-sources.mjs +283 -11
  43. package/dist/internal/index.cjs +40 -1
  44. package/dist/internal/index.d.cts +105 -31
  45. package/dist/internal/index.d.ts +105 -31
  46. package/dist/internal/index.mjs +40 -1
  47. package/dist/internal/maintenance.cjs +26 -1
  48. package/dist/internal/maintenance.mjs +26 -1
  49. package/dist/internal/nextjs/index.cjs +85 -1
  50. package/dist/internal/nextjs/index.d.cts +1 -1
  51. package/dist/internal/nextjs/index.d.ts +1 -1
  52. package/dist/internal/nextjs/index.mjs +85 -1
  53. package/dist/internal/nextjs/utils/index.cjs +39 -1
  54. package/dist/internal/nextjs/utils/index.mjs +39 -1
  55. package/dist/internal/sentry/index.cjs +11 -1
  56. package/dist/internal/sentry/index.mjs +11 -1
  57. package/dist/internal/sentry/sentry.client.config.cjs +59 -1
  58. package/dist/internal/sentry/sentry.client.config.mjs +59 -1
  59. package/dist/internal/tailwind/index.cjs +239 -1
  60. package/dist/internal/tailwind/index.mjs +239 -1
  61. package/dist/internal/tsup/index.cjs +73 -1
  62. package/dist/internal/tsup/index.mjs +73 -1
  63. package/dist/internal/wagmi/index.cjs +60 -1
  64. package/dist/internal/wagmi/index.d.cts +1 -18
  65. package/dist/internal/wagmi/index.d.ts +1 -18
  66. package/dist/internal/wagmi/index.mjs +60 -1
  67. package/dist/mainnet.cjs +10 -1
  68. package/dist/mainnet.d.cts +27 -8
  69. package/dist/mainnet.d.ts +27 -8
  70. package/dist/mainnet.mjs +10 -1
  71. package/dist/sentry.edge.config-F4334LEP.cjs +24 -0
  72. package/dist/sentry.edge.config-JU55FF2U.mjs +24 -0
  73. package/dist/sentry.server.config-KFRT37Q3.cjs +24 -0
  74. package/dist/sentry.server.config-M77KFJ6J.mjs +24 -0
  75. package/dist/{types-BU1W-0Vo.d.cts → types-ClIxAUdh.d.cts} +21 -8
  76. package/dist/{types-BU1W-0Vo.d.ts → types-ClIxAUdh.d.ts} +21 -8
  77. package/package.json +38 -40
  78. package/postcss.json +6 -0
  79. package/LICENSE +0 -21
  80. package/dist/chunk-2OLL4MUY.cjs +0 -1
  81. package/dist/chunk-3KQLFIHT.cjs +0 -2
  82. package/dist/chunk-3PKORKPM.mjs +0 -1
  83. package/dist/chunk-4VDLQK6F.cjs +0 -1
  84. package/dist/chunk-DFPDQR4M.cjs +0 -1
  85. package/dist/chunk-DL645PXT.mjs +0 -1
  86. package/dist/chunk-DUO7UEQD.cjs +0 -1
  87. package/dist/chunk-DVULZ7ID.cjs +0 -1
  88. package/dist/chunk-E6JOUU2U.mjs +0 -1
  89. package/dist/chunk-FVNATITS.mjs +0 -1
  90. package/dist/chunk-H6BDBYQ5.cjs +0 -1
  91. package/dist/chunk-HLI3RPDQ.cjs +0 -1
  92. package/dist/chunk-JVJKB7V7.mjs +0 -1
  93. package/dist/chunk-JYSZ2GU3.cjs +0 -1
  94. package/dist/chunk-JZXLCA2E.mjs +0 -1
  95. package/dist/chunk-MS6UGFXI.mjs +0 -1
  96. package/dist/chunk-O243TIHY.mjs +0 -1
  97. package/dist/chunk-O5LUKC6Z.mjs +0 -1
  98. package/dist/chunk-OQFLFE3X.cjs +0 -1
  99. package/dist/chunk-S2A3Z34I.mjs +0 -2
  100. package/dist/chunk-U2GGNVRS.cjs +0 -1
  101. package/dist/chunk-UNNCJ44D.mjs +0 -1
  102. package/dist/chunk-WDALG65T.mjs +0 -1
  103. package/dist/chunk-WU7DCIYT.cjs +0 -1
  104. package/dist/sentry.edge.config-34TBZ2J6.cjs +0 -1
  105. package/dist/sentry.edge.config-3QO3DLYV.mjs +0 -1
  106. package/dist/sentry.server.config-S53O6JTA.mjs +0 -1
  107. package/dist/sentry.server.config-WQX4KCNG.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import { C as ChainId } from './types-BU1W-0Vo.cjs';
1
+ import { C as ChainId } from './types-ClIxAUdh.cjs';
2
2
 
3
3
  declare const mainnet: {
4
4
  readonly chainId: ChainId.MAINNET;
@@ -16,18 +16,28 @@ declare const mainnet: {
16
16
  readonly rewardAllocationFactory: "0xc8FD9a3fB3Dad4C22c9F8Cfa7cecC318A667A791";
17
17
  readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
18
18
  readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
19
- readonly subgraph: string;
19
+ readonly subgraph: {
20
+ readonly name: "pol-subgraph";
21
+ readonly uri: string;
22
+ readonly headers: {
23
+ Authorization: string;
24
+ } | undefined;
25
+ };
20
26
  readonly bribeBoostApi: string;
21
27
  readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
28
+ readonly lstStakerVaultFactory: "0xc41bbD6695AB6bdc6D04701b15f4CE5EbA2e2500";
22
29
  };
23
30
  readonly api: {
31
+ readonly name: "Berachain API";
24
32
  readonly uri: string;
25
33
  readonly headers: {
26
34
  "x-api-key": string;
27
35
  } | undefined;
28
36
  };
29
- readonly bonder: "https://bonder-lsts.marble.live";
30
- readonly blocksSubgraph: string;
37
+ readonly backend: {
38
+ readonly name: "Berachain Backend";
39
+ readonly uri: string;
40
+ };
31
41
  readonly bex: {
32
42
  readonly chainName: "BERACHAIN";
33
43
  readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
@@ -40,7 +50,6 @@ declare const mainnet: {
40
50
  };
41
51
  readonly balancerDelegatedOwnership: "0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b";
42
52
  readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
43
- readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-1.0.3/gn";
44
53
  readonly aggregatorsRouter: "0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58";
45
54
  readonly aggregatorsRouterExecutor: "0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8";
46
55
  readonly haikuRouter: "0x24aC999FF132B32c5b3956973b6213B0d07eB2C7";
@@ -52,10 +61,16 @@ declare const mainnet: {
52
61
  readonly honey: {
53
62
  readonly name: "Honey";
54
63
  readonly url: "https://honey.berachain.com";
55
- readonly subgraph: string;
64
+ readonly subgraph: {
65
+ readonly name: "honey-subgraph";
66
+ readonly uri: string;
67
+ readonly headers: {
68
+ Authorization: string;
69
+ } | undefined;
70
+ };
56
71
  readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
57
72
  readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
58
- readonly pythWrapper: "0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606";
73
+ readonly pythWrapper: "0xF5686e448BE103beA465105bEb9d284a34ae7e95";
59
74
  readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
60
75
  readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
61
76
  };
@@ -66,7 +81,6 @@ declare const mainnet: {
66
81
  readonly governance: {
67
82
  readonly governor: "0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5";
68
83
  readonly timelock: "0xb5f2000b5744f207c931526cAE2134cAa8b6862a";
69
- readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/governance-subgraph/mainnet-v1.1.1/gn";
70
84
  };
71
85
  readonly lists: {
72
86
  readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/mainnet.json";
@@ -95,6 +109,7 @@ declare const mainnet: {
95
109
  readonly name: "Bend";
96
110
  readonly url: "https://bend.berachain.com";
97
111
  readonly whiskApi: {
112
+ readonly name: "Bend Whisk";
98
113
  readonly uri: string;
99
114
  readonly headers: {
100
115
  Authorization: string;
@@ -119,6 +134,10 @@ declare const mainnet: {
119
134
  readonly supportedVaults: `0x${string}`[];
120
135
  };
121
136
  };
137
+ readonly enso: {
138
+ readonly walletV2Factory: "0xc914a663837eb21c5a650716e015659686597e55";
139
+ readonly walletFlashloanAdapter: "0x5dE09823D9143886896507107590d9859F3E390b";
140
+ };
122
141
  readonly explore: {
123
142
  readonly name: "Explore";
124
143
  readonly url: "https://explore.berachain.com";
package/dist/mainnet.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as ChainId } from './types-BU1W-0Vo.js';
1
+ import { C as ChainId } from './types-ClIxAUdh.js';
2
2
 
3
3
  declare const mainnet: {
4
4
  readonly chainId: ChainId.MAINNET;
@@ -16,18 +16,28 @@ declare const mainnet: {
16
16
  readonly rewardAllocationFactory: "0xc8FD9a3fB3Dad4C22c9F8Cfa7cecC318A667A791";
17
17
  readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
18
18
  readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
19
- readonly subgraph: string;
19
+ readonly subgraph: {
20
+ readonly name: "pol-subgraph";
21
+ readonly uri: string;
22
+ readonly headers: {
23
+ Authorization: string;
24
+ } | undefined;
25
+ };
20
26
  readonly bribeBoostApi: string;
21
27
  readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
28
+ readonly lstStakerVaultFactory: "0xc41bbD6695AB6bdc6D04701b15f4CE5EbA2e2500";
22
29
  };
23
30
  readonly api: {
31
+ readonly name: "Berachain API";
24
32
  readonly uri: string;
25
33
  readonly headers: {
26
34
  "x-api-key": string;
27
35
  } | undefined;
28
36
  };
29
- readonly bonder: "https://bonder-lsts.marble.live";
30
- readonly blocksSubgraph: string;
37
+ readonly backend: {
38
+ readonly name: "Berachain Backend";
39
+ readonly uri: string;
40
+ };
31
41
  readonly bex: {
32
42
  readonly chainName: "BERACHAIN";
33
43
  readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
@@ -40,7 +50,6 @@ declare const mainnet: {
40
50
  };
41
51
  readonly balancerDelegatedOwnership: "0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b";
42
52
  readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
43
- readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-1.0.3/gn";
44
53
  readonly aggregatorsRouter: "0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58";
45
54
  readonly aggregatorsRouterExecutor: "0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8";
46
55
  readonly haikuRouter: "0x24aC999FF132B32c5b3956973b6213B0d07eB2C7";
@@ -52,10 +61,16 @@ declare const mainnet: {
52
61
  readonly honey: {
53
62
  readonly name: "Honey";
54
63
  readonly url: "https://honey.berachain.com";
55
- readonly subgraph: string;
64
+ readonly subgraph: {
65
+ readonly name: "honey-subgraph";
66
+ readonly uri: string;
67
+ readonly headers: {
68
+ Authorization: string;
69
+ } | undefined;
70
+ };
56
71
  readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
57
72
  readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
58
- readonly pythWrapper: "0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606";
73
+ readonly pythWrapper: "0xF5686e448BE103beA465105bEb9d284a34ae7e95";
59
74
  readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
60
75
  readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
61
76
  };
@@ -66,7 +81,6 @@ declare const mainnet: {
66
81
  readonly governance: {
67
82
  readonly governor: "0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5";
68
83
  readonly timelock: "0xb5f2000b5744f207c931526cAE2134cAa8b6862a";
69
- readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/governance-subgraph/mainnet-v1.1.1/gn";
70
84
  };
71
85
  readonly lists: {
72
86
  readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/mainnet.json";
@@ -95,6 +109,7 @@ declare const mainnet: {
95
109
  readonly name: "Bend";
96
110
  readonly url: "https://bend.berachain.com";
97
111
  readonly whiskApi: {
112
+ readonly name: "Bend Whisk";
98
113
  readonly uri: string;
99
114
  readonly headers: {
100
115
  Authorization: string;
@@ -119,6 +134,10 @@ declare const mainnet: {
119
134
  readonly supportedVaults: `0x${string}`[];
120
135
  };
121
136
  };
137
+ readonly enso: {
138
+ readonly walletV2Factory: "0xc914a663837eb21c5a650716e015659686597e55";
139
+ readonly walletFlashloanAdapter: "0x5dE09823D9143886896507107590d9859F3E390b";
140
+ };
122
141
  readonly explore: {
123
142
  readonly name: "Explore";
124
143
  readonly url: "https://explore.berachain.com";
package/dist/mainnet.mjs CHANGED
@@ -1 +1,10 @@
1
- import{a}from"./chunk-E6JOUU2U.mjs";import"./chunk-O5LUKC6Z.mjs";import"./chunk-S2A3Z34I.mjs";import"./chunk-MS6UGFXI.mjs";import"./chunk-JZXLCA2E.mjs";export{a as mainnet};
1
+ import {
2
+ mainnet
3
+ } from "./chunk-JHPXZOPW.mjs";
4
+ import "./chunk-BM46XQJA.mjs";
5
+ import "./chunk-CAOMAWN5.mjs";
6
+ import "./chunk-KJXYSGNH.mjs";
7
+ import "./chunk-7P6ASYW6.mjs";
8
+ export {
9
+ mainnet
10
+ };
@@ -0,0 +1,24 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkONKAV4AGcjs = require('./chunk-ONKAV4AG.cjs');
5
+ require('./chunk-WRTYGXJM.cjs');
6
+ require('./chunk-ADH7F47T.cjs');
7
+ require('./chunk-EYYJ2UZT.cjs');
8
+ require('./chunk-75ZPJI57.cjs');
9
+
10
+ // src/internal/sentry/sentry.edge.config.ts
11
+ function initSentryEdge(Sentry, opt = {}) {
12
+ return Sentry.init({
13
+ dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
14
+ // Adjust this value in production, or use tracesSampler for greater control
15
+ tracesSampleRate: _chunkONKAV4AGcjs.tracesSampleRate,
16
+ environment: _chunkONKAV4AGcjs.sentryEnvironment,
17
+ // Setting this option to true will print useful information to the console while you're setting up Sentry.
18
+ debug: false,
19
+ ...opt
20
+ });
21
+ }
22
+
23
+
24
+ exports.initSentryEdge = initSentryEdge;
@@ -0,0 +1,24 @@
1
+ import {
2
+ sentryEnvironment,
3
+ tracesSampleRate
4
+ } from "./chunk-3K6IUX3G.mjs";
5
+ import "./chunk-BM46XQJA.mjs";
6
+ import "./chunk-CAOMAWN5.mjs";
7
+ import "./chunk-KJXYSGNH.mjs";
8
+ import "./chunk-7P6ASYW6.mjs";
9
+
10
+ // src/internal/sentry/sentry.edge.config.ts
11
+ function initSentryEdge(Sentry, opt = {}) {
12
+ return Sentry.init({
13
+ dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
14
+ // Adjust this value in production, or use tracesSampler for greater control
15
+ tracesSampleRate,
16
+ environment: sentryEnvironment,
17
+ // Setting this option to true will print useful information to the console while you're setting up Sentry.
18
+ debug: false,
19
+ ...opt
20
+ });
21
+ }
22
+ export {
23
+ initSentryEdge
24
+ };
@@ -0,0 +1,24 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkONKAV4AGcjs = require('./chunk-ONKAV4AG.cjs');
5
+ require('./chunk-WRTYGXJM.cjs');
6
+ require('./chunk-ADH7F47T.cjs');
7
+ require('./chunk-EYYJ2UZT.cjs');
8
+ require('./chunk-75ZPJI57.cjs');
9
+
10
+ // src/internal/sentry/sentry.server.config.ts
11
+ function initSentryServer(Sentry, opt = {}) {
12
+ return Sentry.init({
13
+ dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
14
+ // Adjust this value in production, or use tracesSampler for greater control
15
+ tracesSampleRate: _chunkONKAV4AGcjs.tracesSampleRate,
16
+ environment: _chunkONKAV4AGcjs.sentryEnvironment,
17
+ // Setting this option to true will print useful information to the console while you're setting up Sentry.
18
+ debug: false,
19
+ ...opt
20
+ });
21
+ }
22
+
23
+
24
+ exports.initSentryServer = initSentryServer;
@@ -0,0 +1,24 @@
1
+ import {
2
+ sentryEnvironment,
3
+ tracesSampleRate
4
+ } from "./chunk-3K6IUX3G.mjs";
5
+ import "./chunk-BM46XQJA.mjs";
6
+ import "./chunk-CAOMAWN5.mjs";
7
+ import "./chunk-KJXYSGNH.mjs";
8
+ import "./chunk-7P6ASYW6.mjs";
9
+
10
+ // src/internal/sentry/sentry.server.config.ts
11
+ function initSentryServer(Sentry, opt = {}) {
12
+ return Sentry.init({
13
+ dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
14
+ // Adjust this value in production, or use tracesSampler for greater control
15
+ tracesSampleRate,
16
+ environment: sentryEnvironment,
17
+ // Setting this option to true will print useful information to the console while you're setting up Sentry.
18
+ debug: false,
19
+ ...opt
20
+ });
21
+ }
22
+ export {
23
+ initSentryServer
24
+ };
@@ -12,6 +12,10 @@ type ProjectName = AppName | "BeraBridge" | "Faucet" | "BeraBridge NFT" | "Berac
12
12
  type HttpLink = string | {
13
13
  uri: string;
14
14
  headers?: Record<string, string>;
15
+ /**
16
+ * The name of the graphql service. Used for monitoring only.
17
+ */
18
+ name: string;
15
19
  };
16
20
  /**
17
21
  * A shared interface for all projects.
@@ -58,13 +62,9 @@ interface BeraConfig {
58
62
  */
59
63
  api: HttpLink;
60
64
  /**
61
- * The Bonder endpoint for the chain. Used to fetch staked data.
62
- */
63
- bonder: HttpLink;
64
- /**
65
- * The subgraph endpoint for the chain. Mainly used to fetch last 24h average block time.
65
+ * The backend endpoint for the chain. Used to fetch data from backend services.
66
66
  */
67
- blocksSubgraph: HttpLink;
67
+ backend: HttpLink;
68
68
  /**
69
69
  * The address of the deposit contract for the chain.
70
70
  */
@@ -92,7 +92,6 @@ interface BeraConfig {
92
92
  weighted: Address;
93
93
  };
94
94
  poolCreationHelper: Address;
95
- subgraph: HttpLink;
96
95
  chainName: string;
97
96
  aggregatorsRouter: Address;
98
97
  aggregatorsRouterExecutor: Address;
@@ -127,10 +126,16 @@ interface BeraConfig {
127
126
  staker: Address;
128
127
  rewardAllocationFactory: Address;
129
128
  beraChef: Address;
129
+ /**
130
+ * Upstream link (uri + name) for server Apollo and typed `/api/pol/*`
131
+ * endpoints. Browser data access should still use the typed same-origin
132
+ * endpoints.
133
+ */
130
134
  subgraph: HttpLink;
131
135
  bribeBoostApi: string;
132
136
  rewardVaultHelper: Address;
133
137
  bgtIncentiveDistributor: Address;
138
+ lstStakerVaultFactory: Address;
134
139
  };
135
140
  honey: Project & {
136
141
  factory: Address;
@@ -141,12 +146,16 @@ interface BeraConfig {
141
146
  */
142
147
  pythOracle: Address;
143
148
  token: Address;
149
+ /**
150
+ * ORMI upstream link (uri + name + headers) for codegen, server Apollo,
151
+ * and typed `/api/honey/*` endpoints. Same pattern as `bend.whiskApi`:
152
+ * non-public env values resolve to `undefined` in browser builds.
153
+ */
144
154
  subgraph: HttpLink;
145
155
  };
146
156
  governance: {
147
157
  timelock: Address;
148
158
  governor: Address;
149
- subgraph: HttpLink;
150
159
  };
151
160
  bridge: Project & {
152
161
  nft: Project & {
@@ -167,6 +176,10 @@ interface BeraConfig {
167
176
  production: BendAddresses;
168
177
  staging: BendAddresses;
169
178
  };
179
+ enso: {
180
+ walletV2Factory: Address | null;
181
+ walletFlashloanAdapter: Address | null;
182
+ };
170
183
  explore: Project;
171
184
  explorer: Project;
172
185
  averageBlockTime: number;
@@ -12,6 +12,10 @@ type ProjectName = AppName | "BeraBridge" | "Faucet" | "BeraBridge NFT" | "Berac
12
12
  type HttpLink = string | {
13
13
  uri: string;
14
14
  headers?: Record<string, string>;
15
+ /**
16
+ * The name of the graphql service. Used for monitoring only.
17
+ */
18
+ name: string;
15
19
  };
16
20
  /**
17
21
  * A shared interface for all projects.
@@ -58,13 +62,9 @@ interface BeraConfig {
58
62
  */
59
63
  api: HttpLink;
60
64
  /**
61
- * The Bonder endpoint for the chain. Used to fetch staked data.
62
- */
63
- bonder: HttpLink;
64
- /**
65
- * The subgraph endpoint for the chain. Mainly used to fetch last 24h average block time.
65
+ * The backend endpoint for the chain. Used to fetch data from backend services.
66
66
  */
67
- blocksSubgraph: HttpLink;
67
+ backend: HttpLink;
68
68
  /**
69
69
  * The address of the deposit contract for the chain.
70
70
  */
@@ -92,7 +92,6 @@ interface BeraConfig {
92
92
  weighted: Address;
93
93
  };
94
94
  poolCreationHelper: Address;
95
- subgraph: HttpLink;
96
95
  chainName: string;
97
96
  aggregatorsRouter: Address;
98
97
  aggregatorsRouterExecutor: Address;
@@ -127,10 +126,16 @@ interface BeraConfig {
127
126
  staker: Address;
128
127
  rewardAllocationFactory: Address;
129
128
  beraChef: Address;
129
+ /**
130
+ * Upstream link (uri + name) for server Apollo and typed `/api/pol/*`
131
+ * endpoints. Browser data access should still use the typed same-origin
132
+ * endpoints.
133
+ */
130
134
  subgraph: HttpLink;
131
135
  bribeBoostApi: string;
132
136
  rewardVaultHelper: Address;
133
137
  bgtIncentiveDistributor: Address;
138
+ lstStakerVaultFactory: Address;
134
139
  };
135
140
  honey: Project & {
136
141
  factory: Address;
@@ -141,12 +146,16 @@ interface BeraConfig {
141
146
  */
142
147
  pythOracle: Address;
143
148
  token: Address;
149
+ /**
150
+ * ORMI upstream link (uri + name + headers) for codegen, server Apollo,
151
+ * and typed `/api/honey/*` endpoints. Same pattern as `bend.whiskApi`:
152
+ * non-public env values resolve to `undefined` in browser builds.
153
+ */
144
154
  subgraph: HttpLink;
145
155
  };
146
156
  governance: {
147
157
  timelock: Address;
148
158
  governor: Address;
149
- subgraph: HttpLink;
150
159
  };
151
160
  bridge: Project & {
152
161
  nft: Project & {
@@ -167,6 +176,10 @@ interface BeraConfig {
167
176
  production: BendAddresses;
168
177
  staging: BendAddresses;
169
178
  };
179
+ enso: {
180
+ walletV2Factory: Address | null;
181
+ walletFlashloanAdapter: Address | null;
182
+ };
170
183
  explore: Project;
171
184
  explorer: Project;
172
185
  averageBlockTime: number;
package/package.json CHANGED
@@ -1,39 +1,53 @@
1
1
  {
2
2
  "name": "@berachain/config",
3
- "version": "0.1.0",
3
+ "version": "0.1.15.beta-1",
4
4
  "type": "module",
5
5
  "files": [
6
- "dist"
6
+ "dist",
7
+ "./postcss.json"
7
8
  ],
8
9
  "author": "Berachain",
9
10
  "license": "MIT",
11
+ "scripts": {
12
+ "prebuild": "pnpm generate:edge-config",
13
+ "build": "tsup -- --cjs --esm",
14
+ "clean": "git clean -xdf dist .turbo node_modules",
15
+ "check-types": "pnpm turbo build",
16
+ "dev": "tsup --watch",
17
+ "lint": "biome lint",
18
+ "prepublishOnly": "pnpm run build -- --minify",
19
+ "prepare": "pnpm generate:edge-config",
20
+ "generate:edge-config": "pnpm dlx json-schema-to-typescript ./src/internal/edge-config/edgeConfig.schema.json -o src/internal/edge-config/edgeConfig.codegen.ts",
21
+ "test": "vitest",
22
+ "postbuild": "node ../../.scripts/commands.mjs postbuild:config"
23
+ },
10
24
  "devDependencies": {
11
- "@flags-sdk/edge-config": "0.1.0",
12
- "@sentry/nextjs": "10.27.0",
13
- "@tailwindcss/aspect-ratio": "0.4.2",
14
- "@tailwindcss/container-queries": "0.1.1",
15
- "@tailwindcss/typography": "0.5.16",
16
- "@types/node": "24.1.0",
17
- "next": "16.1.5",
18
- "json-schema-to-typescript": "15.0.4",
19
- "tailwindcss": "3.4.17",
20
- "tailwindcss-animate": "1.0.7",
21
- "tsup": "8.4.0",
22
- "typescript": "5.5.4",
23
- "vitest": "3.2.4"
25
+ "@flags-sdk/edge-config": "catalog:",
26
+ "@sentry/nextjs": "catalog:",
27
+ "@tailwindcss/aspect-ratio": "catalog:",
28
+ "@tailwindcss/container-queries": "catalog:",
29
+ "@tailwindcss/typography": "catalog:",
30
+ "@types/node": "catalog:",
31
+ "next": "catalog:",
32
+ "json-schema-to-typescript": "catalog:",
33
+ "tailwindcss": "catalog:",
34
+ "tailwindcss-animate": "catalog:",
35
+ "tsup": "catalog:",
36
+ "typescript": "catalog:",
37
+ "vitest": "catalog:"
24
38
  },
25
39
  "peerDependencies": {
26
- "@flags-sdk/edge-config": "0.1.0",
27
- "@vercel/edge-config": "1.4.0",
28
- "@sentry/nextjs": "^10.16",
40
+ "@flags-sdk/edge-config": "catalog:",
41
+ "@vercel/edge-config": "catalog:",
42
+ "@sentry/nextjs": "catalog:peer",
29
43
  "@tailwindcss/aspect-ratio": "~0.4.2",
30
44
  "@tailwindcss/container-queries": "~0.4.1",
31
45
  "@tailwindcss/typography": "~0.5.15",
32
- "next": "^16.1",
33
- "viem": "^2.41.2",
34
- "flags": "4.0.1",
35
- "dotenv": "16.6.1",
36
- "tailwindcss-animate": "1.0.7",
46
+ "next": "catalog:peer",
47
+ "viem": "catalog:peer",
48
+ "flags": "catalog:",
49
+ "dotenv": "catalog:",
50
+ "tailwindcss-animate": "catalog:",
37
51
  "tsup": "^8.4.0"
38
52
  },
39
53
  "peerDependenciesMeta": {
@@ -140,11 +154,6 @@
140
154
  "require": "./dist/internal/wagmi/index.cjs",
141
155
  "default": "./dist/internal/wagmi/index.mjs"
142
156
  },
143
- "./internal/sentry/esbuild.plugin": {
144
- "types": "./dist/internal/sentry/esbuild.plugin.d.ts",
145
- "require": "./dist/internal/sentry/esbuild.plugin.cjs",
146
- "default": "./dist/internal/sentry/esbuild.plugin.mjs"
147
- },
148
157
  "./internal/tailwind": {
149
158
  "types": "./dist/internal/tailwind/index.d.ts",
150
159
  "require": "./dist/internal/tailwind/index.cjs",
@@ -156,16 +165,5 @@
156
165
  "default": "./dist/internal/sentry/sentry.client.config.mjs"
157
166
  },
158
167
  "./internal/postcss": "./postcss.json"
159
- },
160
- "scripts": {
161
- "prebuild": "pnpm generate:edge-config",
162
- "build": "tsup -- --cjs --esm",
163
- "clean": "git clean -xdf dist .turbo node_modules",
164
- "check-types": "pnpm turbo build",
165
- "dev": "tsup --watch",
166
- "lint": "biome lint",
167
- "generate:edge-config": "pnpm dlx json-schema-to-typescript ./src/internal/edge-config/edgeConfig.schema.json -o src/internal/edge-config/edgeConfig.codegen.ts",
168
- "test": "vitest",
169
- "postbuild": "node ../../.scripts/commands.mjs postbuild:config"
170
168
  }
171
- }
169
+ }
package/postcss.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "plugins": {
3
+ "tailwindcss": {},
4
+ "autoprefixer": {}
5
+ }
6
+ }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) Berachain Foundation
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var r=(e=>(e[e.MAINNET=80094]="MAINNET",e[e.BEPOLIA=80069]="BEPOLIA",e))(r||{});exports.a = r;
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk2OLL4MUYcjs = require('./chunk-2OLL4MUY.cjs');var n=process.env.NEXT_PUBLIC_CHAIN_ID?Number(process.env.NEXT_PUBLIC_CHAIN_ID):80094;if(!Object.values(_chunk2OLL4MUYcjs.a).includes(n))throw new Error(`process.env.NEXT_PUBLIC_CHAIN_ID is invalid: ${n}.
2
- This value must be one of the following: ${Object.values(_chunk2OLL4MUYcjs.a).filter(Number).join(", ")} when using @berachain/config/internal.`);var r=process.env.VERCEL_TARGET_ENV==="production",o= exports.c =process.env.NODE_ENV==="development",i= exports.d =process.env.VERCEL_TARGET_ENV==="preview"||o,t= exports.e =process.env.VERCEL_TARGET_ENV==="staging",p= exports.f =process.env.NEXT_PUBLIC_BERA_APP_NAME;exports.a = n; exports.b = r; exports.c = o; exports.d = i; exports.e = t; exports.f = p;
@@ -1 +0,0 @@
1
- import{b as e}from"./chunk-O5LUKC6Z.mjs";var o={chainId:80069,tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x",weth:"0x"},depositContract:"0x4242424242424242424242424242424242424242",pol:{rewardVaultHelper:"0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2",beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",rewardAllocationFactory:"0x7f09Cf6958631513aF0400488F65c7B5c0313F52",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:`${e}pol-subgraph/bepolia-1.7.0/gn`,bribeBoostApi:process.env.NEXT_PUBLIC_80069_INCENTIVES_API||"https://bepolia.api-claim.berachain.com",bgtIncentiveDistributor:"0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3"},api:{uri:process.env.PRIVATE_80069_BEX_API_URL??process.env.NEXT_PUBLIC_80069_BEX_API_URL??"https://bepolia-api.berachain.com",headers:process.env.PRIVATE_80069_BEX_API_KEY?{"x-api-key":process.env.PRIVATE_80069_BEX_API_KEY}:void 0},bonder:"https://bonder-lsts.marble.live",blocksSubgraph:`${e}blocks-subgraph/bepolia-v1.1.0/gn`,bex:{chainName:"BEPOLIA",vault:"0x708cA656b68A6b7384a488A36aD33505a77241FE",helper:"0xC7c981ADcDC5d48fed0CD52807fb2bAB22676C8f",queries:"0xE3723383a0EA73D5c0dE424BAA97F97f86f6cF92",relayer:"0x343215E156Ff586711a5B8C49Fe3099BAF22624C",factories:{composableStable:"0xB60DbBaCEaeC23486a64d12089F467ef949f1bb1",weighted:"0xf1d23276C7b271B2aC595C78977b2312E9954D57"},poolCreationHelper:"0x0dC9964F6CA33d9EF38DEB4925234766127C6B36",subgraph:`${e}bex-subgraph/bepolia-1.0.3/gn`,aggregatorsRouter:"0x0000000000000000000000000000000000000000",aggregatorsRouterExecutor:"0x0000000000000000000000000000000000000000",haikuRouter:null,haikuAgentAddress:null,aggregatorsProxyUrl:process.env.NEXT_PUBLIC_80069_AGGREGATORS_PROXY_URL??"",recoverFundsApi:"https://t3stbe4i5d40p.testnet.berachain.com",recoverFundsContract:"0x0eFeC4379805fAFA7269Ec599a6921f388C8841a",balancerDelegatedOwnership:"0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b"},honey:{name:"Honey",url:"https://bepolia.honey.berachain.com",subgraph:`${e}honey-subgraph/bepolia-v1.2.1/gn`,factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythOracle:"0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943",pythWrapper:"0xE5Ad9BA751714ec8cdd554b5a9f12BFcA13980cB",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce"},hub:{name:"BeraHub",url:"https://bepolia.hub.berachain.com"},governance:{governor:process.env.NEXT_PUBLIC_80069_GOVERNANCE_ADDRESS??"0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5",timelock:process.env.NEXT_PUBLIC_80069_GOVERNANCE_TIMELOCK??"0xb5f2000b5744f207c931526cAE2134cAa8b6862a",subgraph:process.env.NEXT_PUBLIC_80069_GOVERNANCE_SUBGRAPH??`${e}governance-subgraph/bepolia-v1.1.1/gn`},lists:{rewardVaultList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/bepolia.json",tokenList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/bepolia.json",validatorList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/bepolia.json"},external:{pyth:"0x2880aB155794e7179c9eE2e38200202908C17B43"},averageBlockTime:2,bridge:{name:"BeraBridge",url:"https://bepolia.bridge.berachain.com",nft:{name:"BeraBridge NFT",url:"#",eth:{subgraph:"#"},berachain:{subgraph:"#"}}},bend:{name:"Bend",url:"https://bepolia.bend.berachain.com",whiskApi:null,production:{morpho:null,adaptiveCurveIrm:null,metaMorphoFactory:null,publicAllocator:null,bundler3:null,generalAdapter1:null,supportedVaults:[]},staging:{morpho:null,adaptiveCurveIrm:null,metaMorphoFactory:null,publicAllocator:null,bundler3:null,generalAdapter1:null,supportedVaults:[]}},explore:{name:"Explore",url:"https://explore.berachain.com"},explorer:{name:"Berascan",url:"https://testnet.berascan.com"},chain:{name:process.env.NEXT_PUBLIC_CHAIN_NAME??"Berachain Bepolia"},faucet:{name:"Faucet",url:"https://bepolia.faucet.berachain.com",dripAmount:1,timeGap:8,cloudflareKey:process.env.CLOUDFLARE_KEY||"0x4AAAAAAARdAuciFArKhVwt",endpoint:"https://faucet-api.testnet.berachain.com"}};export{o as a};
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var d=Object.defineProperty;var e=(c,a)=>{for(var b in a)d(c,b,{get:a[b],enumerable:!0})};exports.a = e;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunk3KQLFIHTcjs = require('./chunk-3KQLFIHT.cjs');if(_chunk3KQLFIHTcjs.a!==80094&&_chunk3KQLFIHTcjs.a!==80069)throw new Error(`Invalid chainId: ${_chunk3KQLFIHTcjs.a}`);var _=_chunk3KQLFIHTcjs.a,l= exports.a ="https://res.cloudinary.com/duv0g402y/",R= exports.b ="https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/";function o(r=_){if(r===80069&&process.env.NEXT_PUBLIC_80069_ANVIL_RPC_URL||r===80094&&process.env.NEXT_PUBLIC_80094_ANVIL_RPC_URL){let s=r===80069?process.env.NEXT_PUBLIC_80069_ANVIL_RPC_URL:process.env.NEXT_PUBLIC_80094_ANVIL_RPC_URL;return process.env.VITEST_WORKER_ID?s=`${s}/${_nullishCoalesce(process.env.VITEST_WORKER_ID, () => (1))}`:console.log("Using anvil RPC for bepolia",s),{publicJsonRpcUrl:s,jsonRpcUrl:s,alchemyJsonRpcUrl:void 0,privateRcpUrl:void 0,isAnvil:!0}}return{publicJsonRpcUrl:r===80069?_nullishCoalesce(process.env.NEXT_PUBLIC_80069_PUBLIC_JSON_RPC_URL, () => ("https://bepolia.rpc.berachain.com")):_nullishCoalesce(process.env.NEXT_PUBLIC_80094_PUBLIC_JSON_RPC_URL, () => ("https://rpc.berachain.com")),jsonRpcUrl:r===80069?_nullishCoalesce(process.env.NEXT_PUBLIC_80069_JSON_RPC_URL, () => ("https://bepolia.rpc.berachain.com")):_nullishCoalesce(process.env.NEXT_PUBLIC_80094_JSON_RPC_URL, () => ("https://rpc.berachain.com")),alchemyJsonRpcUrl:r===80069?process.env.NEXT_PUBLIC_80069_ALCHEMY_JSON_RPC_URL:process.env.NEXT_PUBLIC_80094_ALCHEMY_JSON_RPC_URL,privateRcpUrl:r===80069?process.env.PRIVATE_80069_JSON_RPC_URL:process.env.PRIVATE_80094_JSON_RPC_URL,isAnvil:!1}}var{publicJsonRpcUrl:t,jsonRpcUrl:U,alchemyJsonRpcUrl:i,privateRcpUrl:L}=o(_chunk3KQLFIHTcjs.a);exports.a = l; exports.b = R; exports.c = o; exports.d = t; exports.e = U; exports.f = i; exports.g = L;
@@ -1 +0,0 @@
1
- import{a as t,b as e,c as r}from"./chunk-S2A3Z34I.mjs";var o=t===80094?"mainnet-":"bepolia-";e?o+="production":r?o+="development":o+="preview";var c=e?.1:1,m=process.env.VERCEL_GIT_COMMIT_SHA,a=process.env.NEXT_PUBLIC_SENTRY_DEBUG==="true";export{o as a,c as b,m as c,a as d};
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});function r(t){return typeof t=="string"?t:t.uri}exports.a = r;
@@ -1 +0,0 @@
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; }var _chunk3KQLFIHTcjs = require('./chunk-3KQLFIHT.cjs');function c(e,n,t){return _optionalChain([e, 'access', _ => _.chain, 'optionalAccess', _2 => _2.length])?e.chain.includes(n===80094?"mainnet":"bepolia"):t}function u(e,n,t){if(!n)return t;let r=n==="development"?"preview":n;return _optionalChain([e, 'access', _3 => _3.branch, 'optionalAccess', _4 => _4.length])?e.branch.includes(r):t}function d(e,n,t){return _optionalChain([e, 'access', _5 => _5.app, 'optionalAccess', _6 => _6.length])&&n?e.app.includes(n):t}function i(e,n,t){let r=e[n];return r?n==="startAt"?r?new Date(r)<=new Date:t:r?new Date(r)>=new Date:t:t}function s(e,{chain:n=_chunk3KQLFIHTcjs.a,environment:t=process.env.VERCEL_TARGET_ENV,app:r=_chunk3KQLFIHTcjs.f}={}){return e?typeof e=="boolean"?e:e.condition==="OR"?c(e,n,!1)||u(e,t,!1)||d(e,r,!1)||i(e,"startAt",!1)||i(e,"endAt",!1):c(e,n,!0)&&u(e,t,!0)&&d(e,r,!0)&&i(e,"startAt",!0)&&i(e,"endAt",!0):!1}exports.a = s;
@@ -1 +0,0 @@
1
- import{b as e}from"./chunk-O5LUKC6Z.mjs";var c={chainId:80094,tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x0555E30da8f98308EdB960aa94C0Db47230d2B9c",weth:"0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590"},depositContract:"0x4242424242424242424242424242424242424242",pol:{rewardVaultHelper:"0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2",beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",rewardAllocationFactory:"0xc8FD9a3fB3Dad4C22c9F8Cfa7cecC318A667A791",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:process.env.NEXT_PUBLIC_80094_POL_SUBGRAPH??`${e}pol-subgraph/mainnet-1.7.0/gn`,bribeBoostApi:process.env.NEXT_PUBLIC_80094_INCENTIVES_API||"https://api-claim.berachain.com",bgtIncentiveDistributor:"0x77DA09bC82652f9A14d1b170a001e759640298e6"},api:{uri:process.env.PRIVATE_80094_BEX_API_URL??process.env.NEXT_PUBLIC_80094_BEX_API_URL??"https://api.berachain.com",headers:process.env.PRIVATE_80094_BEX_API_KEY?{"x-api-key":process.env.PRIVATE_80094_BEX_API_KEY}:void 0},bonder:"https://bonder-lsts.marble.live",blocksSubgraph:process.env.NEXT_PUBLIC_80094_BLOCKS_SUBGRAPH??`${e}blocks-subgraph/mainnet-v1.1.0/gn`,bex:{chainName:"BERACHAIN",vault:"0x4Be03f781C497A489E3cB0287833452cA9B9E80B",helper:"0x5083737EC75a728c265BE578C9d0d5333a2c5951",queries:"0x3C612e132624f4Bd500eE1495F54565F0bcc9b59",relayer:"0x6044f181aB5E9C05A4ed9Ce295f3B178d2492EE7",factories:{composableStable:"0xDfA30BDa0375d4763711AB0CC8D91B20bfCC87E1",weighted:"0xa966fA8F2d5B087FFFA499C0C1240589371Af409"},balancerDelegatedOwnership:"0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b",poolCreationHelper:"0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2",subgraph:`${e}bex-subgraph/mainnet-1.0.3/gn`,aggregatorsRouter:"0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58",aggregatorsRouterExecutor:"0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8",haikuRouter:"0x24aC999FF132B32c5b3956973b6213B0d07eB2C7",haikuAgentAddress:"0x69495273D6Dc572A830A4D6e00400a1e9d5B8f71",aggregatorsProxyUrl:process.env.NEXT_PUBLIC_80094_AGGREGATORS_PROXY_URL??"https://gateway.mainnet.berachain.com/proxy",recoverFundsApi:process.env.NEXT_PUBLIC_80094_RECOVER_FUNDS_API??"https://be4i5d40pr3f00n4c441n.mainnet.berachain.com",recoverFundsContract:process.env.NEXT_PUBLIC_80094_RECOVER_FUNDS_CONTRACT??"0xB5787B8f7b07a00229b617c4B7a616185857C147"},honey:{name:"Honey",url:"https://honey.berachain.com",subgraph:process.env.NEXT_PUBLIC_80094_HONEY_SUBGRAPH??`${e}honey-subgraph/mainnet-v1.2.1/gn`,factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythOracle:"0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943",pythWrapper:"0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce"},hub:{name:"BeraHub",url:"https://hub.berachain.com"},governance:{governor:"0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5",timelock:"0xb5f2000b5744f207c931526cAE2134cAa8b6862a",subgraph:`${e}governance-subgraph/mainnet-v1.1.1/gn`},lists:{rewardVaultList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/mainnet.json",tokenList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/mainnet.json",validatorList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/mainnet.json"},external:{pyth:"0x2880aB155794e7179c9eE2e38200202908C17B43"},averageBlockTime:2,bridge:{name:"BeraBridge",url:"https://bridge.berachain.com",nft:{name:"BeraBridge NFT",url:"https://nftbridge.berachain.com",eth:{subgraph:`${e}nft-bridge-subgraph/eth-v1.0.0-beta1/gn`},berachain:{subgraph:`${e}nft-bridge-subgraph/mainnet-v1.0.0-beta1/gn`}}},bend:{name:"Bend",url:"https://bend.berachain.com",whiskApi:{uri:process.env.WHISK_API_URL??"https://berachain.whisk.so/graphql",headers:process.env.WHISK_API_KEY?{Authorization:`Bearer ${process.env.WHISK_API_KEY}`}:void 0},production:{morpho:"0x24147243f9c08d835C218Cda1e135f8dFD0517D0",adaptiveCurveIrm:"0xcf247Df3A2322Dea0D408f011c194906E77a6f62",metaMorphoFactory:"0x5EDd48C6ACBd565Eeb31702FD9fa9Cbc86fbE616",publicAllocator:"0xB62F34Ab315eaDeAc698e8EaEB6Fc2650951BFe7",bundler3:"0xF920140A65D0f412f2AB3e76C4fEAB5Eef0657ae",generalAdapter1:"0xd2B9667F5214115E27937C410cAeE83E3a901Df7",supportedVaults:(process.env.NEXT_PUBLIC_80094_BEND_PRODUCTION_SUPPORTED_VAULTS??"0x30BbA9CD9Eb8c95824aa42Faa1Bb397b07545bc1").split(",").filter(Boolean)},staging:{morpho:"0xC5FabF3a7E98a2ed89f5d5057Ab010634Ca7e71f",adaptiveCurveIrm:"0x1d5376e532CcF25b740270624111D665830E5dB9",metaMorphoFactory:"0x524061B659380a5e4576d76F0951303B20B5932f",publicAllocator:"0xFD6e68bC20be2a01Ec1Df687c83f927087D52811",bundler3:"0x56811e1BFfF951B98c7940d3aCe0e549Ec4fDee8",generalAdapter1:"0x257a41E20BBfe90D750646C2e00bA700D55958C5",supportedVaults:(process.env.NEXT_PUBLIC_80094_BEND_STAGING_SUPPORTED_VAULTS??"0x19DcFf4e8Ff0B554D8a1f22d289A449fd4FbddBa,0xC0808A144CE2ea85bF84EBD1dDF5D59429f59dDE").split(",").filter(Boolean)}},explore:{name:"Explore",url:"https://explore.berachain.com"},explorer:{name:"Berascan",url:"https://berascan.com"},chain:{name:process.env.NEXT_PUBLIC_CHAIN_NAME??"Berachain"},faucet:null};export{c as a};