@berachain/config 0.0.1-alpha.2 → 0.0.3-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 (82) hide show
  1. package/README.md +1 -1
  2. package/dist/bepolia.cjs +1 -1
  3. package/dist/bepolia.d.cts +18 -17
  4. package/dist/bepolia.d.ts +18 -17
  5. package/dist/bepolia.js +1 -1
  6. package/dist/chunk-4VDLQK6F.cjs +1 -0
  7. package/dist/chunk-4ZZXDAVS.js +1 -0
  8. package/dist/chunk-6RLCJYH2.cjs +1 -0
  9. package/dist/chunk-7P77HD6A.js +1 -0
  10. package/dist/chunk-AEEJBUVN.cjs +1 -0
  11. package/dist/chunk-BJUR72F2.js +1 -0
  12. package/dist/chunk-DHNVZCPX.js +1 -0
  13. package/dist/{chunk-XZQVP4AU.cjs → chunk-FFISDQSR.cjs} +1 -1
  14. package/dist/chunk-G5WS7P3Y.js +1 -0
  15. package/dist/chunk-K62SDMWX.cjs +1 -0
  16. package/dist/{chunk-G56N5MYU.js → chunk-KWQ2WHU4.js} +1 -1
  17. package/dist/{chunk-4ZIGP2PE.js → chunk-L2DF5H5Q.js} +1 -1
  18. package/dist/chunk-RJW7M2BA.cjs +1 -0
  19. package/dist/chunk-TB4XRJLK.js +1 -0
  20. package/dist/{chunk-RPCNZQO2.cjs → chunk-WCV4WTHG.cjs} +1 -1
  21. package/dist/chunk-WOT6VMZA.js +1 -0
  22. package/dist/chunk-YC3A5DT2.cjs +1 -0
  23. package/dist/chunk-YYLX4CBV.cjs +1 -0
  24. package/dist/index.cjs +1 -1
  25. package/dist/index.d.cts +13 -11
  26. package/dist/index.d.ts +13 -11
  27. package/dist/index.js +1 -1
  28. package/dist/internal/edge-config/index.cjs +1 -0
  29. package/dist/internal/edge-config/index.d.cts +134 -0
  30. package/dist/internal/edge-config/index.d.ts +134 -0
  31. package/dist/internal/edge-config/index.js +1 -0
  32. package/dist/internal/flags/index.cjs +1 -0
  33. package/dist/internal/flags/index.d.cts +28 -0
  34. package/dist/internal/flags/index.d.ts +28 -0
  35. package/dist/internal/flags/index.js +1 -0
  36. package/dist/internal/header-sources.cjs +11 -9
  37. package/dist/internal/header-sources.d.cts +6 -1
  38. package/dist/internal/header-sources.d.ts +6 -1
  39. package/dist/internal/header-sources.js +11 -9
  40. package/dist/internal/index.cjs +1 -1
  41. package/dist/internal/index.d.cts +472 -176
  42. package/dist/internal/index.d.ts +472 -176
  43. package/dist/internal/index.js +1 -1
  44. package/dist/internal/maintenance.cjs +1 -1
  45. package/dist/internal/maintenance.js +1 -1
  46. package/dist/internal/nextjs/index.cjs +1 -1
  47. package/dist/internal/nextjs/index.js +1 -1
  48. package/dist/internal/sentry/esbuild.plugin.cjs +1 -1
  49. package/dist/internal/sentry/esbuild.plugin.js +1 -1
  50. package/dist/internal/sentry/index.cjs +1 -1
  51. package/dist/internal/sentry/index.js +1 -1
  52. package/dist/internal/sentry/sentry.client.config.cjs +1 -1
  53. package/dist/internal/sentry/sentry.client.config.js +1 -1
  54. package/dist/internal/tailwind/index.cjs +1 -0
  55. package/dist/internal/tailwind/index.d.cts +247 -0
  56. package/dist/internal/tailwind/index.d.ts +247 -0
  57. package/dist/internal/tailwind/index.js +1 -0
  58. package/dist/internal/tsup/index.cjs +1 -1
  59. package/dist/internal/tsup/index.d.cts +3 -2
  60. package/dist/internal/tsup/index.d.ts +3 -2
  61. package/dist/internal/tsup/index.js +1 -1
  62. package/dist/mainnet.cjs +1 -1
  63. package/dist/mainnet.d.cts +22 -23
  64. package/dist/mainnet.d.ts +22 -23
  65. package/dist/mainnet.js +1 -1
  66. package/dist/sentry.edge.config-HYRGDPSL.cjs +1 -0
  67. package/dist/sentry.edge.config-MSL7GELX.js +1 -0
  68. package/dist/sentry.server.config-JQJQDRDO.cjs +1 -0
  69. package/dist/sentry.server.config-MN4FIAPC.js +1 -0
  70. package/package.json +47 -7
  71. package/dist/chunk-5F62JDHS.js +0 -1
  72. package/dist/chunk-CJ6TCEOL.js +0 -1
  73. package/dist/chunk-GQ2VIAGM.cjs +0 -1
  74. package/dist/chunk-J5ZJIOVM.cjs +0 -1
  75. package/dist/chunk-LJRHN532.js +0 -1
  76. package/dist/chunk-PWMV5FZC.cjs +0 -1
  77. package/dist/chunk-QQWAFQ4G.js +0 -1
  78. package/dist/chunk-WW7TSLXR.cjs +0 -1
  79. package/dist/sentry.edge.config-HELM2ESO.js +0 -1
  80. package/dist/sentry.edge.config-PX7MX352.cjs +0 -1
  81. package/dist/sentry.server.config-SLGLNXCE.cjs +0 -1
  82. package/dist/sentry.server.config-Y6L22PFM.js +0 -1
@@ -1,5 +1,5 @@
1
- import { ChainId } from '../index.cjs';
2
- export { Address, BeraConfig } from '../index.cjs';
1
+ import { ChainId, Address } from '../index.cjs';
2
+ export { BeraConfig } from '../index.cjs';
3
3
 
4
4
  declare const defaultChainId: ChainId;
5
5
 
@@ -8,15 +8,6 @@ declare const defaultChainId: ChainId;
8
8
  * Avoids circular dependency with the config object.
9
9
  */
10
10
 
11
- declare const isIPFS: boolean;
12
- declare const etherscanApiKey: string;
13
- declare const cookie3SiteId: string | undefined;
14
- /**
15
- * This is only going to work on whitelisted domains.
16
- * Please create your own API key and add it to your .env.local file
17
- */
18
- declare const dynamicWalletKey: string;
19
- declare const beApiKey: string | undefined;
20
11
  /**
21
12
  * Returns the RPC URLs for the given chain ID. If anvil is set, it will just return the anvil RPC URLs.
22
13
  */
@@ -39,26 +30,348 @@ declare const /**
39
30
  */
40
31
  privateRcpUrl: string | undefined;
41
32
 
33
+ declare const chainConfigs: {
34
+ readonly 80094: {
35
+ readonly tokens: {
36
+ readonly wbera: "0x6969696969696969696969696969696969696969";
37
+ readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
38
+ readonly bgt: "0x656b95E550C07a9ffe548bd4085c72418Ceb1dba";
39
+ readonly wbtc: "0x0555E30da8f98308EdB960aa94C0Db47230d2B9c";
40
+ readonly weth: "0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590";
41
+ };
42
+ readonly depositContract: "0x4242424242424242424242424242424242424242";
43
+ readonly pol: {
44
+ readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
45
+ readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
46
+ readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
47
+ readonly subgraph: string;
48
+ readonly bribeBoostApi: string;
49
+ readonly bribeBoostApiKey: string;
50
+ readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
51
+ };
52
+ readonly api: string;
53
+ readonly blocksSubgraph: string;
54
+ readonly bex: {
55
+ readonly chainName: "BERACHAIN";
56
+ readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
57
+ readonly helper: "0x5083737EC75a728c265BE578C9d0d5333a2c5951";
58
+ readonly queries: "0x3C612e132624f4Bd500eE1495F54565F0bcc9b59";
59
+ readonly relayer: "0x6044f181aB5E9C05A4ed9Ce295f3B178d2492EE7";
60
+ readonly factories: {
61
+ readonly composableStable: "0xDfA30BDa0375d4763711AB0CC8D91B20bfCC87E1";
62
+ readonly weighted: "0xa966fA8F2d5B087FFFA499C0C1240589371Af409";
63
+ };
64
+ readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
65
+ readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-v1.0.2/gn";
66
+ readonly aggregatorsRouter: "0x1cAF3c98cE58207D21f2090164cB56a4cEf8e487";
67
+ readonly aggregatorsRouterExecutor: "0x5699789588384DEc3662bd71BC5C6c7f7D615c66";
68
+ readonly aggregatorsProxyUrl: string;
69
+ };
70
+ readonly honey: {
71
+ readonly name: "Honey";
72
+ readonly url: "https://honey.berachain.com";
73
+ readonly subgraph: string;
74
+ readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
75
+ readonly pythWrapper: "0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606";
76
+ readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
77
+ readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
78
+ readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
79
+ readonly isPythWrapperEnabled: boolean;
80
+ readonly isCustodyEnabled: boolean;
81
+ };
82
+ readonly hub: {
83
+ readonly name: "BeraHub";
84
+ readonly url: "https://hub.berachain.com";
85
+ };
86
+ readonly foundation: {
87
+ readonly name: "Berachain Foundation";
88
+ readonly url: "https://www.berachain.com";
89
+ };
90
+ readonly governance: {
91
+ readonly governor: "0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5";
92
+ readonly timelock: "0xb5f2000b5744f207c931526cAE2134cAa8b6862a";
93
+ readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/governance-subgraph/mainnet-v1.1.1/gn";
94
+ };
95
+ readonly lists: {
96
+ readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/mainnet.json";
97
+ readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/mainnet.json";
98
+ readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/mainnet.json";
99
+ };
100
+ readonly averageBlockTime: 2;
101
+ readonly beApiKey: string;
102
+ readonly bridge: {
103
+ readonly name: "BeraBridge";
104
+ readonly url: "https://bridge.berachain.com";
105
+ readonly nft: {
106
+ readonly name: "BeraBridge NFT";
107
+ readonly url: "https://nftbridge.berachain.com";
108
+ readonly eth: {
109
+ readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/nft-bridge-subgraph/eth-v1.0.0-beta1/gn";
110
+ };
111
+ readonly berachain: {
112
+ readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/nft-bridge-subgraph/mainnet-v1.0.0-beta1/gn";
113
+ };
114
+ };
115
+ };
116
+ readonly bend: {
117
+ readonly name: "Bend";
118
+ readonly url: "https://bend.berachain.com";
119
+ readonly supportedVaults: `0x${string}`[];
120
+ };
121
+ readonly berps: {
122
+ readonly name: "Berps";
123
+ readonly url: "#";
124
+ };
125
+ readonly explore: {
126
+ readonly name: "Explore";
127
+ readonly url: "https://explore.berachain.com";
128
+ };
129
+ readonly explorer: {
130
+ readonly name: "Berascan";
131
+ readonly url: "https://berascan.com";
132
+ };
133
+ readonly chain: {
134
+ readonly name: string;
135
+ };
136
+ };
137
+ readonly 80069: {
138
+ readonly tokens: {
139
+ readonly wbera: "0x6969696969696969696969696969696969696969";
140
+ readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
141
+ readonly bgt: "0x656b95E550C07a9ffe548bd4085c72418Ceb1dba";
142
+ readonly wbtc: "0x";
143
+ readonly weth: "0x";
144
+ };
145
+ readonly depositContract: "0x4242424242424242424242424242424242424242";
146
+ readonly pol: {
147
+ readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
148
+ readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
149
+ readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
150
+ readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-v1.6.1/gn";
151
+ readonly bribeBoostApi: string;
152
+ readonly bribeBoostApiKey: string;
153
+ readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
154
+ };
155
+ readonly api: string;
156
+ readonly blocksSubgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/blocks-subgraph/bepolia-v1.1.0/gn";
157
+ readonly bex: {
158
+ readonly chainName: "BEPOLIA";
159
+ readonly vault: "0x708cA656b68A6b7384a488A36aD33505a77241FE";
160
+ readonly helper: "0xC7c981ADcDC5d48fed0CD52807fb2bAB22676C8f";
161
+ readonly queries: "0xE3723383a0EA73D5c0dE424BAA97F97f86f6cF92";
162
+ readonly relayer: "0x343215E156Ff586711a5B8C49Fe3099BAF22624C";
163
+ readonly factories: {
164
+ readonly composableStable: "0xB60DbBaCEaeC23486a64d12089F467ef949f1bb1";
165
+ readonly weighted: "0xf1d23276C7b271B2aC595C78977b2312E9954D57";
166
+ };
167
+ readonly poolCreationHelper: "0x0dC9964F6CA33d9EF38DEB4925234766127C6B36";
168
+ readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-v1.0.2-rc1/gn";
169
+ readonly aggregatorsRouter: "0x0000000000000000000000000000000000000000";
170
+ readonly aggregatorsRouterExecutor: "0x0000000000000000000000000000000000000000";
171
+ readonly aggregatorsProxyUrl: string;
172
+ };
173
+ readonly honey: {
174
+ readonly name: "Honey";
175
+ readonly url: "https://bepolia.honey.berachain.com";
176
+ readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/bepolia-v1.1.1/gn";
177
+ readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
178
+ readonly pythWrapper: "0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606";
179
+ readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
180
+ readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
181
+ readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
182
+ readonly isPythWrapperEnabled: boolean;
183
+ readonly isCustodyEnabled: boolean;
184
+ };
185
+ readonly hub: {
186
+ readonly name: "BeraHub";
187
+ readonly url: "https://bepolia.hub.berachain.com";
188
+ };
189
+ readonly foundation: {
190
+ readonly name: "Berachain Foundation";
191
+ readonly url: "https://www.berachain.com";
192
+ };
193
+ readonly governance: {
194
+ readonly governor: `0x${string}`;
195
+ readonly timelock: `0x${string}`;
196
+ readonly subgraph: string;
197
+ };
198
+ readonly lists: {
199
+ readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/bepolia.json";
200
+ readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/bepolia.json";
201
+ readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/bepolia.json";
202
+ };
203
+ readonly averageBlockTime: 2;
204
+ readonly beApiKey: string;
205
+ readonly bridge: {
206
+ readonly name: "BeraBridge";
207
+ readonly url: "https://bepolia.bridge.berachain.com";
208
+ readonly nft: {
209
+ readonly name: "BeraBridge NFT";
210
+ readonly url: "#";
211
+ readonly eth: {
212
+ readonly subgraph: "#";
213
+ };
214
+ readonly berachain: {
215
+ readonly subgraph: "#";
216
+ };
217
+ };
218
+ };
219
+ readonly bend: {
220
+ readonly name: "Bend";
221
+ readonly url: "https://bepolia.bend.berachain.com";
222
+ readonly supportedVaults: Address[];
223
+ };
224
+ readonly berps: {
225
+ readonly name: "Berps";
226
+ readonly url: "#";
227
+ };
228
+ readonly explore: {
229
+ readonly name: "Explore";
230
+ readonly url: "https://explore.berachain.com";
231
+ };
232
+ readonly explorer: {
233
+ readonly name: "Berascan";
234
+ readonly url: "https://testnet.berascan.com";
235
+ };
236
+ readonly chain: {
237
+ readonly name: string;
238
+ };
239
+ };
240
+ };
42
241
  declare const config: {
242
+ readonly apiKeys: {
243
+ readonly public: {
244
+ /**
245
+ * This is only going to work on whitelisted domains.
246
+ * Please create your own API key and add it to your .env.local file
247
+ */
248
+ readonly dynamicWallet: string;
249
+ readonly postHogProjectKey: "phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax";
250
+ readonly cookie3SiteId: string;
251
+ };
252
+ readonly private: {
253
+ readonly oogabooga: string;
254
+ readonly haiku: string;
255
+ readonly kyberswap: string;
256
+ readonly enso: string;
257
+ readonly etherscan: string;
258
+ };
259
+ };
260
+ readonly addresses: {
261
+ /**
262
+ * This is an hardcoded value in contracts to detected wheter governance can
263
+ * change pool fees and amplification parameter.
264
+ *
265
+ * @see https://docs.balancer.fi/concepts/pools/more/configuration.html#fees
266
+ */
267
+ readonly balancerDelegatedOwnership: `0x${string}`;
268
+ /**
269
+ * This is on genesis for Berachain
270
+ */
271
+ readonly multicall: `0x${string}`;
272
+ };
273
+ /**
274
+ * Public faucet configuration.
275
+ *
276
+ * Mainly used in static-monobera.
277
+ */
278
+ readonly faucet: {
279
+ readonly name: "Faucet";
280
+ readonly url: "https://bepolia.faucet.berachain.com";
281
+ /**
282
+ * Amount of BERA the user will receive when using the faucet
283
+ */
284
+ readonly dripAmount: 1;
285
+ /**
286
+ * Time in hours between each drip
287
+ */
288
+ readonly timeGap: 8;
289
+ readonly cloudflareKey: string;
290
+ /**
291
+ * API endpoint to send the request to the faucet
292
+ */
293
+ readonly endpoint: "https://faucet-api.testnet.berachain.com";
294
+ };
295
+ readonly urls: {
296
+ readonly postHogApiHost: "https://eu.i.posthog.com";
297
+ readonly cloudinary: "https://res.cloudinary.com/duv0g402y/image/upload/f_auto,q_auto/v1";
298
+ readonly homepage: string;
299
+ readonly ecosystem: "https://ecosystem.berachain.com/";
300
+ readonly docs: "https://docs.berachain.com";
301
+ readonly careers: "https://careers.berachain.com/";
302
+ readonly mediaKit: "https://drive.google.com/drive/folders/1r658Px_VhjiUEC4AQAhHRCBeVKjcRWU6";
303
+ readonly blog: "https://blog.berachain.com/";
304
+ readonly twitter: "https://x.com/berachain";
305
+ readonly telegram: "https://t.me/BerachainPortal";
306
+ readonly discord: "https://discord.com/invite/berachain";
307
+ readonly github: "https://github.com/berachain";
308
+ };
309
+ readonly flags: {
310
+ readonly developmentAnalyticsEnabled: boolean;
311
+ /**
312
+ * Disallow SEO indexing for non-mainnet deployments
313
+ */
314
+ readonly disallowIndexing: boolean;
315
+ readonly hideCurator: false;
316
+ };
317
+ readonly bend: {
318
+ /**
319
+ * Margin from max LTV where warning will be shown about liquidation risk.
320
+ * e.g. if max LTV is 0.8, warning will show at 0.75
321
+ */
322
+ readonly liquidationWarningLtvMargin: 0.05;
323
+ /**
324
+ * Safety margin subtracted from max LTV to determine borrow limit.
325
+ * e.g. if max LTV is 0.945, borrow limit will be 0.9449
326
+ */
327
+ readonly maxBorrowLtvMargin: 0.0001;
328
+ /**
329
+ * Target utilization rate for public allocator supply in WAD format (18 decimals).
330
+ * Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
331
+ */
332
+ readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
333
+ readonly name: "Bend";
334
+ readonly url: "https://bend.berachain.com";
335
+ readonly supportedVaults: `0x${string}`[];
336
+ } | {
337
+ /**
338
+ * Margin from max LTV where warning will be shown about liquidation risk.
339
+ * e.g. if max LTV is 0.8, warning will show at 0.75
340
+ */
341
+ readonly liquidationWarningLtvMargin: 0.05;
342
+ /**
343
+ * Safety margin subtracted from max LTV to determine borrow limit.
344
+ * e.g. if max LTV is 0.945, borrow limit will be 0.9449
345
+ */
346
+ readonly maxBorrowLtvMargin: 0.0001;
347
+ /**
348
+ * Target utilization rate for public allocator supply in WAD format (18 decimals).
349
+ * Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
350
+ */
351
+ readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
352
+ readonly name: "Bend";
353
+ readonly url: "https://bepolia.bend.berachain.com";
354
+ readonly supportedVaults: Address[];
355
+ };
43
356
  readonly tokens: {
44
357
  readonly wbera: "0x6969696969696969696969696969696969696969";
358
+ readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
45
359
  readonly bgt: "0x656b95E550C07a9ffe548bd4085c72418Ceb1dba";
46
360
  readonly wbtc: "0x0555E30da8f98308EdB960aa94C0Db47230d2B9c";
47
361
  readonly weth: "0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590";
48
362
  };
49
363
  readonly depositContract: "0x4242424242424242424242424242424242424242";
50
364
  readonly pol: {
51
- readonly version: "1.0.4";
52
365
  readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
53
366
  readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
54
367
  readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
55
- readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/mainnet-v1.5.2/gn";
368
+ readonly subgraph: string;
56
369
  readonly bribeBoostApi: string;
57
370
  readonly bribeBoostApiKey: string;
58
- readonly bgtIncentiveDistributor: "0xBDDba144482049382eC79CadfA02f0fa0F462dE3";
371
+ readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
59
372
  };
60
373
  readonly api: string;
61
- readonly blocksSubgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/blocks-subgraph/mainnet-v1.1.0/gn";
374
+ readonly blocksSubgraph: string;
62
375
  readonly bex: {
63
376
  readonly chainName: "BERACHAIN";
64
377
  readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
@@ -71,16 +384,16 @@ declare const config: {
71
384
  };
72
385
  readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
73
386
  readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-v1.0.2/gn";
74
- readonly aggregatorsRouter: "0xa83739c179e639442A3a4f830745de2824d28153";
75
- readonly aggregatorsRouterExecutor: "0xb9c391f4BAaC4244f482020eaB434048882bFBA2";
387
+ readonly aggregatorsRouter: "0x1cAF3c98cE58207D21f2090164cB56a4cEf8e487";
388
+ readonly aggregatorsRouterExecutor: "0x5699789588384DEc3662bd71BC5C6c7f7D615c66";
76
389
  readonly aggregatorsProxyUrl: string;
77
390
  };
78
391
  readonly honey: {
79
392
  readonly name: "Honey";
80
393
  readonly url: "https://honey.berachain.com";
81
- readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/mainnet-v1.1.1/gn";
394
+ readonly subgraph: string;
82
395
  readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
83
- readonly pythWrapper: "0x0000000000000000000000000000000000000000";
396
+ readonly pythWrapper: "0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606";
84
397
  readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
85
398
  readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
86
399
  readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
@@ -105,17 +418,8 @@ declare const config: {
105
418
  readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/mainnet.json";
106
419
  readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/mainnet.json";
107
420
  };
108
- readonly averageBlockTime: 1.9;
109
- readonly boyco: {
110
- readonly name: "Boyco";
111
- readonly url: "https://boyco.berachain.com";
112
- readonly originUrl: string;
113
- readonly originKey: string;
114
- readonly originId: string;
115
- readonly airdropApi: string;
116
- readonly merkleId: `0x${string}`;
117
- readonly airdropAddress: `0x${string}`;
118
- };
421
+ readonly averageBlockTime: 2;
422
+ readonly beApiKey: string;
119
423
  readonly bridge: {
120
424
  readonly name: "BeraBridge";
121
425
  readonly url: "https://bridge.berachain.com";
@@ -130,32 +434,149 @@ declare const config: {
130
434
  };
131
435
  };
132
436
  };
133
- readonly bend: {
134
- readonly name: "Bend";
135
- readonly url: "#";
136
- };
137
437
  readonly berps: {
138
438
  readonly name: "Berps";
139
439
  readonly url: "#";
140
440
  };
441
+ readonly explore: {
442
+ readonly name: "Explore";
443
+ readonly url: "https://explore.berachain.com";
444
+ };
445
+ readonly explorer: {
446
+ readonly name: "Berascan";
447
+ readonly url: "https://berascan.com";
448
+ };
449
+ readonly chain: {
450
+ readonly name: string;
451
+ };
452
+ } | {
453
+ readonly apiKeys: {
454
+ readonly public: {
455
+ /**
456
+ * This is only going to work on whitelisted domains.
457
+ * Please create your own API key and add it to your .env.local file
458
+ */
459
+ readonly dynamicWallet: string;
460
+ readonly postHogProjectKey: "phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax";
461
+ readonly cookie3SiteId: string;
462
+ };
463
+ readonly private: {
464
+ readonly oogabooga: string;
465
+ readonly haiku: string;
466
+ readonly kyberswap: string;
467
+ readonly enso: string;
468
+ readonly etherscan: string;
469
+ };
470
+ };
471
+ readonly addresses: {
472
+ /**
473
+ * This is an hardcoded value in contracts to detected wheter governance can
474
+ * change pool fees and amplification parameter.
475
+ *
476
+ * @see https://docs.balancer.fi/concepts/pools/more/configuration.html#fees
477
+ */
478
+ readonly balancerDelegatedOwnership: `0x${string}`;
479
+ /**
480
+ * This is on genesis for Berachain
481
+ */
482
+ readonly multicall: `0x${string}`;
483
+ };
484
+ /**
485
+ * Public faucet configuration.
486
+ *
487
+ * Mainly used in static-monobera.
488
+ */
141
489
  readonly faucet: {
142
490
  readonly name: "Faucet";
143
- readonly url: "#";
491
+ readonly url: "https://bepolia.faucet.berachain.com";
492
+ /**
493
+ * Amount of BERA the user will receive when using the faucet
494
+ */
495
+ readonly dripAmount: 1;
496
+ /**
497
+ * Time in hours between each drip
498
+ */
499
+ readonly timeGap: 8;
500
+ readonly cloudflareKey: string;
501
+ /**
502
+ * API endpoint to send the request to the faucet
503
+ */
504
+ readonly endpoint: "https://faucet-api.testnet.berachain.com";
505
+ };
506
+ readonly urls: {
507
+ readonly postHogApiHost: "https://eu.i.posthog.com";
508
+ readonly cloudinary: "https://res.cloudinary.com/duv0g402y/image/upload/f_auto,q_auto/v1";
509
+ readonly homepage: string;
510
+ readonly ecosystem: "https://ecosystem.berachain.com/";
511
+ readonly docs: "https://docs.berachain.com";
512
+ readonly careers: "https://careers.berachain.com/";
513
+ readonly mediaKit: "https://drive.google.com/drive/folders/1r658Px_VhjiUEC4AQAhHRCBeVKjcRWU6";
514
+ readonly blog: "https://blog.berachain.com/";
515
+ readonly twitter: "https://x.com/berachain";
516
+ readonly telegram: "https://t.me/BerachainPortal";
517
+ readonly discord: "https://discord.com/invite/berachain";
518
+ readonly github: "https://github.com/berachain";
519
+ };
520
+ readonly flags: {
521
+ readonly developmentAnalyticsEnabled: boolean;
522
+ /**
523
+ * Disallow SEO indexing for non-mainnet deployments
524
+ */
525
+ readonly disallowIndexing: boolean;
526
+ readonly hideCurator: false;
527
+ };
528
+ readonly bend: {
529
+ /**
530
+ * Margin from max LTV where warning will be shown about liquidation risk.
531
+ * e.g. if max LTV is 0.8, warning will show at 0.75
532
+ */
533
+ readonly liquidationWarningLtvMargin: 0.05;
534
+ /**
535
+ * Safety margin subtracted from max LTV to determine borrow limit.
536
+ * e.g. if max LTV is 0.945, borrow limit will be 0.9449
537
+ */
538
+ readonly maxBorrowLtvMargin: 0.0001;
539
+ /**
540
+ * Target utilization rate for public allocator supply in WAD format (18 decimals).
541
+ * Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
542
+ */
543
+ readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
544
+ readonly name: "Bend";
545
+ readonly url: "https://bend.berachain.com";
546
+ readonly supportedVaults: `0x${string}`[];
547
+ } | {
548
+ /**
549
+ * Margin from max LTV where warning will be shown about liquidation risk.
550
+ * e.g. if max LTV is 0.8, warning will show at 0.75
551
+ */
552
+ readonly liquidationWarningLtvMargin: 0.05;
553
+ /**
554
+ * Safety margin subtracted from max LTV to determine borrow limit.
555
+ * e.g. if max LTV is 0.945, borrow limit will be 0.9449
556
+ */
557
+ readonly maxBorrowLtvMargin: 0.0001;
558
+ /**
559
+ * Target utilization rate for public allocator supply in WAD format (18 decimals).
560
+ * Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
561
+ */
562
+ readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
563
+ readonly name: "Bend";
564
+ readonly url: "https://bepolia.bend.berachain.com";
565
+ readonly supportedVaults: Address[];
144
566
  };
145
- } | {
146
567
  readonly tokens: {
147
568
  readonly wbera: "0x6969696969696969696969696969696969696969";
569
+ readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
148
570
  readonly bgt: "0x656b95E550C07a9ffe548bd4085c72418Ceb1dba";
149
571
  readonly wbtc: "0x";
150
572
  readonly weth: "0x";
151
573
  };
152
574
  readonly depositContract: "0x4242424242424242424242424242424242424242";
153
575
  readonly pol: {
154
- readonly version: "1.0.4";
155
576
  readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
156
577
  readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
157
578
  readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
158
- readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-v1.5.2/gn";
579
+ readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-v1.6.1/gn";
159
580
  readonly bribeBoostApi: string;
160
581
  readonly bribeBoostApiKey: string;
161
582
  readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
@@ -208,17 +629,8 @@ declare const config: {
208
629
  readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/bepolia.json";
209
630
  readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/bepolia.json";
210
631
  };
211
- readonly averageBlockTime: 1.9;
212
- readonly boyco: {
213
- readonly name: "Boyco";
214
- readonly url: "https://bepolia.boyco.berachain.com";
215
- readonly originUrl: string;
216
- readonly originKey: string;
217
- readonly originId: string;
218
- readonly airdropApi: string;
219
- readonly merkleId: `0x${string}`;
220
- readonly airdropAddress: `0x${string}`;
221
- };
632
+ readonly averageBlockTime: 2;
633
+ readonly beApiKey: string;
222
634
  readonly bridge: {
223
635
  readonly name: "BeraBridge";
224
636
  readonly url: "https://bepolia.bridge.berachain.com";
@@ -233,137 +645,21 @@ declare const config: {
233
645
  };
234
646
  };
235
647
  };
236
- readonly bend: {
237
- readonly name: "Bend";
238
- readonly url: "#";
239
- };
240
648
  readonly berps: {
241
649
  readonly name: "Berps";
242
650
  readonly url: "#";
243
651
  };
244
- readonly faucet: {
245
- readonly name: "Faucet";
246
- readonly url: "https://bepolia.faucet.berachain.com";
652
+ readonly explore: {
653
+ readonly name: "Explore";
654
+ readonly url: "https://explore.berachain.com";
655
+ };
656
+ readonly explorer: {
657
+ readonly name: "Berascan";
658
+ readonly url: "https://testnet.berascan.com";
659
+ };
660
+ readonly chain: {
661
+ readonly name: string;
247
662
  };
248
663
  };
249
- declare const developmentAnalytics: boolean;
250
- declare const postHogProjectKey = "phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax";
251
- declare const postHogHostAddress = "https://eu.i.posthog.com";
252
- /**
253
- * Disallow SEO indexing for non-mainnet deployments
254
- */
255
- declare const disallowIndexing: boolean;
256
- declare const openseaApiKey: string;
257
- declare const ensoApiUrl = "https://api.enso.finance/api";
258
- declare const publicEnsoApiKey: string;
259
- declare const ensoApiKey: string;
260
- declare const oogaboogaApiKey: string;
261
- declare const useMetaAggregatorVercelProxy: boolean;
262
- declare const haikuApiKey: string;
263
- declare const kyberswapClientId: string;
264
- declare const homepageUrl: string;
265
- declare const ecosystemUrl = "https://ecosystem.berachain.com/";
266
- declare const docsUrl = "https://docs.berachain.com";
267
- declare const careersUrl = "https://careers.berachain.com/";
268
- declare const pressKit = "https://medium.com/berachain-foundation/the-bera-era-has-begun-49a18c6d77c0";
269
- declare const mediaKitUrl = "https://drive.google.com/drive/folders/1r658Px_VhjiUEC4AQAhHRCBeVKjcRWU6";
270
- declare const blogUrl = "https://blog.berachain.com/";
271
- declare const disableProposals: boolean;
272
- /**
273
- * If true, governance is successful if quorum was reached despite the voting period
274
- */
275
- declare const governanceAccelerateProposal = false;
276
- /**
277
- * Testnet specific feature flags pre-production
278
- */
279
- declare const disableRewardVaultDuration: boolean;
280
- declare const gasTokenIconUrl = "https://res.cloudinary.com/duv0g402y/image/upload/v1738720154/brand/berachain-chain-logo.png.png";
281
- declare const gasTokenSymbol = "BERA";
282
- declare const gasTokenName = "Bera";
283
- declare const gasTokenDecimals = 18;
284
- declare const twitter = "https://x.com/berachain";
285
- declare const telegram = "https://t.me/BerachainPortal";
286
- declare const discord = "https://discord.com/invite/berachain";
287
- declare const github = "https://github.com/berachain";
288
- /**
289
- * This is an hardcoded value in contracts to detected wheter governance can
290
- * change pool fees and amplification parameter.
291
- *
292
- * @see https://docs.balancer.fi/concepts/pools/more/configuration.html#fees
293
- */
294
- declare const balancerDelegatedOwnershipAddress = "0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b";
295
- /**
296
- * This is on genesis for Berachain
297
- */
298
- declare const multicallAddress = "0xcA11bde05977b3631167028862bE2a173976CA11";
299
- declare const multicallCreationBlock: number;
300
- /**
301
- * This will be used by wallet providers to display the chain name
302
- */
303
- declare const chainName: string;
304
- /**
305
- * @deprecated read `config` object instead
306
- */
307
- declare const tokenListUrl: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/mainnet.json" | "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/bepolia.json"; /**
308
- * @deprecated read `config` object instead
309
- */
310
- declare const gaugeListUrl: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/mainnet.json" | "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/bepolia.json";
311
- /**
312
- * @deprecated read `config` object instead
313
- */
314
- declare const blockExplorerUrl: string;
315
- /**
316
- * @deprecated read `config` object instead
317
- */
318
- declare const blockExplorerName = "Berascan";
319
- /**
320
- * @deprecated read `config` object instead
321
- */
322
- declare const homepageName = "Berachain Foundation";
323
- /**
324
- * @deprecated read `config` object instead
325
- */
326
- declare const honeyUrl: "https://honey.berachain.com" | "https://bepolia.honey.berachain.com";
327
- /**
328
- * @deprecated read `config` object instead
329
- */
330
- declare const honeyName: "Honey";
331
- /**
332
- * @deprecated read `config` object instead
333
- */
334
- declare const hubUrl: "https://hub.berachain.com" | "https://bepolia.hub.berachain.com";
335
- /**
336
- * @deprecated read `config` object instead
337
- */
338
- declare const hubName: "BeraHub";
339
- /**
340
- * @deprecated read `config` object instead
341
- */
342
- declare const faucetName: "Faucet";
343
- /**
344
- * @deprecated read `config` object instead
345
- */
346
- declare const faucetUrl: "#" | "https://bepolia.faucet.berachain.com";
347
- /**
348
- * @deprecated read `config` object instead
349
- */
350
- declare const bridgeNftUrl: "https://nftbridge.berachain.com" | "#";
351
- /**
352
- * @deprecated read `config` object instead
353
- */
354
- declare const tokenBridgeUrl: "https://bridge.berachain.com" | "https://bepolia.bridge.berachain.com";
355
- /**
356
- * Default block time in seconds, in case the dynamic block time is not available
357
- */
358
- declare const FALLBACK_BLOCK_TIME: 1.9;
359
- declare const pythContractAddress: `0x${string}`;
360
- /**
361
- * @deprecated use zero address instead
362
- */
363
- declare const nativeTokenAddress = "0x0000000000000000000000000000000000000000";
364
- /**
365
- * @deprecated read `config.tokens.wbera` instead
366
- */
367
- declare const wBeraAddress: "0x6969696969696969696969696969696969696969";
368
664
 
369
- export { ChainId, FALLBACK_BLOCK_TIME, alchemyJsonRpcUrl, balancerDelegatedOwnershipAddress, beApiKey, blockExplorerName, blockExplorerUrl, blogUrl, bridgeNftUrl, careersUrl, defaultChainId as chainId, chainName, config, cookie3SiteId, developmentAnalytics, disableProposals, disableRewardVaultDuration, disallowIndexing, discord, docsUrl, dynamicWalletKey, ecosystemUrl, ensoApiKey, ensoApiUrl, etherscanApiKey, faucetName, faucetUrl, gasTokenDecimals, gasTokenIconUrl, gasTokenName, gasTokenSymbol, gaugeListUrl, getRpcUrls, github, governanceAccelerateProposal, haikuApiKey, homepageName, homepageUrl, honeyName, honeyUrl, hubName, hubUrl, isIPFS, jsonRpcUrl, kyberswapClientId, mediaKitUrl, multicallAddress, multicallCreationBlock, nativeTokenAddress, oogaboogaApiKey, openseaApiKey, postHogHostAddress, postHogProjectKey, pressKit, privateRcpUrl, publicEnsoApiKey, publicJsonRpcUrl, pythContractAddress, telegram, tokenBridgeUrl, tokenListUrl, twitter, useMetaAggregatorVercelProxy, wBeraAddress };
665
+ export { Address, ChainId, alchemyJsonRpcUrl, chainConfigs, defaultChainId as chainId, config, defaultChainId, getRpcUrls, jsonRpcUrl, privateRcpUrl, publicJsonRpcUrl };