@berachain/config 0.0.5 → 0.0.6

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 (71) hide show
  1. package/dist/bepolia.cjs +1 -1
  2. package/dist/bepolia.d.cts +35 -10
  3. package/dist/bepolia.d.ts +35 -10
  4. package/dist/bepolia.mjs +1 -1
  5. package/dist/{chunk-5Q5FZIMO.cjs → chunk-3KQLFIHT.cjs} +1 -1
  6. package/dist/{chunk-ZYHYMHGN.cjs → chunk-DFPDQR4M.cjs} +1 -1
  7. package/dist/chunk-DL645PXT.mjs +1 -0
  8. package/dist/chunk-DTPRW4VP.mjs +1 -0
  9. package/dist/chunk-DUO7UEQD.cjs +1 -0
  10. package/dist/chunk-DVULZ7ID.cjs +1 -0
  11. package/dist/{chunk-LJCOMNTL.cjs → chunk-EJBC2CPD.cjs} +1 -1
  12. package/dist/chunk-FVNATITS.mjs +1 -0
  13. package/dist/chunk-GAUBQIRH.cjs +1 -0
  14. package/dist/chunk-JYSZ2GU3.cjs +1 -0
  15. package/dist/chunk-KB66GOT2.cjs +1 -0
  16. package/dist/chunk-O243TIHY.mjs +1 -0
  17. package/dist/{chunk-YUUHPTW6.mjs → chunk-O5LUKC6Z.mjs} +1 -1
  18. package/dist/chunk-PGBQCBTM.mjs +1 -0
  19. package/dist/{chunk-CM7FGHYU.mjs → chunk-S2A3Z34I.mjs} +1 -1
  20. package/dist/{chunk-CENF5RZA.mjs → chunk-TLFLY32O.mjs} +1 -1
  21. package/dist/chunk-V2GJ33GF.mjs +1 -0
  22. package/dist/chunk-ZJDKWYPH.cjs +1 -0
  23. package/dist/index.cjs +1 -1
  24. package/dist/index.d.cts +5 -157
  25. package/dist/index.d.ts +5 -157
  26. package/dist/index.mjs +1 -1
  27. package/dist/internal/edge-config/index.cjs +1 -1
  28. package/dist/internal/edge-config/index.d.cts +5 -1
  29. package/dist/internal/edge-config/index.d.ts +5 -1
  30. package/dist/internal/edge-config/index.mjs +1 -1
  31. package/dist/internal/flags/index.cjs +1 -1
  32. package/dist/internal/flags/index.d.cts +9 -1
  33. package/dist/internal/flags/index.d.ts +9 -1
  34. package/dist/internal/flags/index.mjs +1 -1
  35. package/dist/internal/header-sources.cjs +9 -9
  36. package/dist/internal/header-sources.mjs +9 -9
  37. package/dist/internal/index.cjs +1 -1
  38. package/dist/internal/index.d.cts +126 -317
  39. package/dist/internal/index.d.ts +126 -317
  40. package/dist/internal/index.mjs +1 -1
  41. package/dist/internal/nextjs/index.cjs +1 -1
  42. package/dist/internal/nextjs/index.d.cts +1 -1
  43. package/dist/internal/nextjs/index.d.ts +1 -1
  44. package/dist/internal/nextjs/index.mjs +1 -1
  45. package/dist/internal/sentry/index.cjs +1 -1
  46. package/dist/internal/sentry/index.mjs +1 -1
  47. package/dist/internal/sentry/sentry.client.config.cjs +1 -1
  48. package/dist/internal/sentry/sentry.client.config.mjs +1 -1
  49. package/dist/mainnet.cjs +1 -1
  50. package/dist/mainnet.d.cts +20 -9
  51. package/dist/mainnet.d.ts +20 -9
  52. package/dist/mainnet.mjs +1 -1
  53. package/dist/sentry.edge.config-34TBZ2J6.cjs +1 -0
  54. package/dist/{sentry.edge.config-XKXCGZO7.mjs → sentry.edge.config-3QO3DLYV.mjs} +1 -1
  55. package/dist/{sentry.server.config-HGGCJWT2.mjs → sentry.server.config-S53O6JTA.mjs} +1 -1
  56. package/dist/sentry.server.config-WQX4KCNG.cjs +1 -0
  57. package/dist/types-ChwOSOu9.d.cts +198 -0
  58. package/dist/types-ChwOSOu9.d.ts +198 -0
  59. package/package.json +2 -2
  60. package/dist/chunk-2X5W4YR4.mjs +0 -1
  61. package/dist/chunk-32CWUFQY.cjs +0 -1
  62. package/dist/chunk-3LFM4QG6.cjs +0 -1
  63. package/dist/chunk-D2FG64PF.mjs +0 -1
  64. package/dist/chunk-DMFHUBNY.cjs +0 -1
  65. package/dist/chunk-MHNEK2A2.cjs +0 -1
  66. package/dist/chunk-TSH4FNVH.mjs +0 -1
  67. package/dist/chunk-WKOAF2ML.mjs +0 -1
  68. package/dist/chunk-WNGB3G3V.cjs +0 -1
  69. package/dist/chunk-XTBMK2TL.mjs +0 -1
  70. package/dist/sentry.edge.config-M3L3XSD6.cjs +0 -1
  71. package/dist/sentry.server.config-535N36OR.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { ChainId, AppName, Address } from '../index.cjs';
2
- export { BeraConfig, ProjectName } from '../index.cjs';
1
+ import { C as ChainId, a as AppName, A as Address } from '../types-ChwOSOu9.cjs';
2
+ export { B as BeraConfig, H as HttpLink, P as ProjectName } from '../types-ChwOSOu9.cjs';
3
3
 
4
4
  declare const defaultChainId: ChainId;
5
5
 
@@ -39,6 +39,7 @@ privateRcpUrl: string | undefined;
39
39
 
40
40
  declare const chainConfigs: {
41
41
  readonly 80094: {
42
+ readonly chainId: ChainId.MAINNET;
42
43
  readonly tokens: {
43
44
  readonly wbera: "0x6969696969696969696969696969696969696969";
44
45
  readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
@@ -50,14 +51,19 @@ declare const chainConfigs: {
50
51
  readonly pol: {
51
52
  readonly rewardVaultHelper: "0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2";
52
53
  readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
54
+ readonly rewardAllocationFactory: "0xc8FD9a3fB3Dad4C22c9F8Cfa7cecC318A667A791";
53
55
  readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
54
56
  readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
55
57
  readonly subgraph: string;
56
58
  readonly bribeBoostApi: string;
57
- readonly bribeBoostApiKey: string;
58
59
  readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
59
60
  };
60
- readonly api: string;
61
+ readonly api: {
62
+ readonly uri: string;
63
+ readonly headers: {
64
+ "x-api-key": string;
65
+ } | undefined;
66
+ };
61
67
  readonly blocksSubgraph: string;
62
68
  readonly bex: {
63
69
  readonly chainName: "BERACHAIN";
@@ -69,10 +75,13 @@ declare const chainConfigs: {
69
75
  readonly composableStable: "0xDfA30BDa0375d4763711AB0CC8D91B20bfCC87E1";
70
76
  readonly weighted: "0xa966fA8F2d5B087FFFA499C0C1240589371Af409";
71
77
  };
78
+ readonly balancerDelegatedOwnership: "0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b";
72
79
  readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
73
80
  readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-1.0.3/gn";
74
81
  readonly aggregatorsRouter: "0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58";
75
82
  readonly aggregatorsRouterExecutor: "0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8";
83
+ readonly haikuRouter: "0x24aC999FF132B32c5b3956973b6213B0d07eB2C7";
84
+ readonly haikuAgentAddress: "0x69495273D6Dc572A830A4D6e00400a1e9d5B8f71";
76
85
  readonly aggregatorsProxyUrl: string;
77
86
  readonly recoverFundsApi: string;
78
87
  readonly recoverFundsContract: `0x${string}`;
@@ -91,10 +100,6 @@ declare const chainConfigs: {
91
100
  readonly name: "BeraHub";
92
101
  readonly url: "https://hub.berachain.com";
93
102
  };
94
- readonly foundation: {
95
- readonly name: "Berachain Foundation";
96
- readonly url: "https://www.berachain.com";
97
- };
98
103
  readonly governance: {
99
104
  readonly governor: "0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5";
100
105
  readonly timelock: "0xb5f2000b5744f207c931526cAE2134cAa8b6862a";
@@ -109,7 +114,6 @@ declare const chainConfigs: {
109
114
  readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
110
115
  };
111
116
  readonly averageBlockTime: 2;
112
- readonly beApiKey: string;
113
117
  readonly bridge: {
114
118
  readonly name: "BeraBridge";
115
119
  readonly url: "https://bridge.berachain.com";
@@ -127,8 +131,12 @@ declare const chainConfigs: {
127
131
  readonly bend: {
128
132
  readonly name: "Bend";
129
133
  readonly url: "https://bend.berachain.com";
130
- readonly whiskApiUrl: string;
131
- readonly whiskApiKey: string;
134
+ readonly whiskApi: {
135
+ readonly uri: string;
136
+ readonly headers: {
137
+ Authorization: string;
138
+ } | undefined;
139
+ };
132
140
  readonly production: {
133
141
  readonly morpho: "0x24147243f9c08d835C218Cda1e135f8dFD0517D0";
134
142
  readonly adaptiveCurveIrm: "0xcf247Df3A2322Dea0D408f011c194906E77a6f62";
@@ -159,8 +167,10 @@ declare const chainConfigs: {
159
167
  readonly chain: {
160
168
  readonly name: string;
161
169
  };
170
+ readonly faucet: null;
162
171
  };
163
172
  readonly 80069: {
173
+ readonly chainId: ChainId.BEPOLIA;
164
174
  readonly tokens: {
165
175
  readonly wbera: "0x6969696969696969696969696969696969696969";
166
176
  readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
@@ -173,13 +183,18 @@ declare const chainConfigs: {
173
183
  readonly rewardVaultHelper: "0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2";
174
184
  readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
175
185
  readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
186
+ readonly rewardAllocationFactory: "0x7f09Cf6958631513aF0400488F65c7B5c0313F52";
176
187
  readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
177
188
  readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-1.7.0/gn";
178
189
  readonly bribeBoostApi: string;
179
- readonly bribeBoostApiKey: string;
180
190
  readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
181
191
  };
182
- readonly api: string;
192
+ readonly api: {
193
+ readonly uri: string;
194
+ readonly headers: {
195
+ "x-api-key": string;
196
+ } | undefined;
197
+ };
183
198
  readonly blocksSubgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/blocks-subgraph/bepolia-v1.1.0/gn";
184
199
  readonly bex: {
185
200
  readonly chainName: "BEPOLIA";
@@ -195,9 +210,12 @@ declare const chainConfigs: {
195
210
  readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-1.0.3/gn";
196
211
  readonly aggregatorsRouter: "0x0000000000000000000000000000000000000000";
197
212
  readonly aggregatorsRouterExecutor: "0x0000000000000000000000000000000000000000";
213
+ readonly haikuRouter: null;
214
+ readonly haikuAgentAddress: null;
198
215
  readonly aggregatorsProxyUrl: string;
199
216
  readonly recoverFundsApi: "https://t3stbe4i5d40p.testnet.berachain.com";
200
217
  readonly recoverFundsContract: "0x0eFeC4379805fAFA7269Ec599a6921f388C8841a";
218
+ readonly balancerDelegatedOwnership: "0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b";
201
219
  };
202
220
  readonly honey: {
203
221
  readonly name: "Honey";
@@ -213,10 +231,6 @@ declare const chainConfigs: {
213
231
  readonly name: "BeraHub";
214
232
  readonly url: "https://bepolia.hub.berachain.com";
215
233
  };
216
- readonly foundation: {
217
- readonly name: "Berachain Foundation";
218
- readonly url: "https://www.berachain.com";
219
- };
220
234
  readonly governance: {
221
235
  readonly governor: `0x${string}`;
222
236
  readonly timelock: `0x${string}`;
@@ -231,7 +245,6 @@ declare const chainConfigs: {
231
245
  readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
232
246
  };
233
247
  readonly averageBlockTime: 2;
234
- readonly beApiKey: string;
235
248
  readonly bridge: {
236
249
  readonly name: "BeraBridge";
237
250
  readonly url: "https://bepolia.bridge.berachain.com";
@@ -249,8 +262,7 @@ declare const chainConfigs: {
249
262
  readonly bend: {
250
263
  readonly name: "Bend";
251
264
  readonly url: "https://bepolia.bend.berachain.com";
252
- readonly whiskApiUrl: null;
253
- readonly whiskApiKey: null;
265
+ readonly whiskApi: null;
254
266
  readonly production: {
255
267
  readonly morpho: null;
256
268
  readonly adaptiveCurveIrm: null;
@@ -281,9 +293,17 @@ declare const chainConfigs: {
281
293
  readonly chain: {
282
294
  readonly name: string;
283
295
  };
296
+ readonly faucet: {
297
+ readonly name: "Faucet";
298
+ readonly url: "https://bepolia.faucet.berachain.com";
299
+ readonly dripAmount: 1;
300
+ readonly timeGap: 8;
301
+ readonly cloudflareKey: string;
302
+ readonly endpoint: "https://faucet-api.testnet.berachain.com";
303
+ };
284
304
  };
285
305
  };
286
- declare const config: {
306
+ declare const appConfig: {
287
307
  readonly flags: {
288
308
  readonly isPosthogEnabled: boolean;
289
309
  readonly isCookie3Enabled: boolean | "";
@@ -295,11 +315,6 @@ declare const config: {
295
315
  };
296
316
  readonly apiKeys: {
297
317
  readonly public: {
298
- /**
299
- * This is only going to work on whitelisted domains.
300
- * Please create your own API key and add it to your .env.local file
301
- */
302
- readonly dynamicWallet: string;
303
318
  /**
304
319
  * This is only going to work on whitelisted domains.
305
320
  * Please create your own API key and add it to your .env.local file
@@ -307,6 +322,7 @@ declare const config: {
307
322
  readonly thirdweb: string;
308
323
  readonly postHogProjectKey: "phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax";
309
324
  readonly cookie3SiteId: string;
325
+ readonly enso: string;
310
326
  };
311
327
  readonly private: {
312
328
  /**
@@ -340,41 +356,6 @@ declare const config: {
340
356
  readonly etherscan: string;
341
357
  };
342
358
  };
343
- readonly addresses: {
344
- /**
345
- * This is an hardcoded value in contracts to detected wheter governance can
346
- * change pool fees and amplification parameter.
347
- *
348
- * @see https://docs.balancer.fi/concepts/pools/more/configuration.html#fees
349
- */
350
- readonly balancerDelegatedOwnership: `0x${string}`;
351
- /**
352
- * This is on genesis for Berachain
353
- */
354
- readonly multicall: `0x${string}`;
355
- };
356
- /**
357
- * Public faucet configuration.
358
- *
359
- * Mainly used in static-monobera.
360
- */
361
- readonly faucet: {
362
- readonly name: "Faucet";
363
- readonly url: "https://bepolia.faucet.berachain.com";
364
- /**
365
- * Amount of BERA the user will receive when using the faucet
366
- */
367
- readonly dripAmount: 1;
368
- /**
369
- * Time in hours between each drip
370
- */
371
- readonly timeGap: 8;
372
- readonly cloudflareKey: string;
373
- /**
374
- * API endpoint to send the request to the faucet
375
- */
376
- readonly endpoint: "https://faucet-api.testnet.berachain.com";
377
- };
378
359
  readonly urls: {
379
360
  readonly postHogApiHost: "https://eu.i.posthog.com";
380
361
  readonly ghost: "https://berachain.ghost.io";
@@ -412,68 +393,19 @@ declare const config: {
412
393
  */
413
394
  readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
414
395
  readonly useProductionContracts: boolean;
415
- readonly name: "Bend";
416
- readonly url: "https://bend.berachain.com";
417
- readonly whiskApiUrl: string;
418
- readonly whiskApiKey: string;
419
- readonly production: {
420
- readonly morpho: "0x24147243f9c08d835C218Cda1e135f8dFD0517D0";
421
- readonly adaptiveCurveIrm: "0xcf247Df3A2322Dea0D408f011c194906E77a6f62";
422
- readonly metaMorphoFactory: "0x5EDd48C6ACBd565Eeb31702FD9fa9Cbc86fbE616";
423
- readonly publicAllocator: "0xB62F34Ab315eaDeAc698e8EaEB6Fc2650951BFe7";
424
- readonly bundler3: "0xF920140A65D0f412f2AB3e76C4fEAB5Eef0657ae";
425
- readonly generalAdapter1: "0xd2B9667F5214115E27937C410cAeE83E3a901Df7";
426
- readonly supportedVaults: `0x${string}`[];
427
- };
428
- readonly staging: {
429
- readonly morpho: "0xC5FabF3a7E98a2ed89f5d5057Ab010634Ca7e71f";
430
- readonly adaptiveCurveIrm: "0x1d5376e532CcF25b740270624111D665830E5dB9";
431
- readonly metaMorphoFactory: "0x524061B659380a5e4576d76F0951303B20B5932f";
432
- readonly publicAllocator: "0xFD6e68bC20be2a01Ec1Df687c83f927087D52811";
433
- readonly bundler3: "0x56811e1BFfF951B98c7940d3aCe0e549Ec4fDee8";
434
- readonly generalAdapter1: "0x257a41E20BBfe90D750646C2e00bA700D55958C5";
435
- readonly supportedVaults: `0x${string}`[];
436
- };
437
- } | {
438
- /**
439
- * Margin from max LTV where warning will be shown about liquidation risk.
440
- * e.g. if max LTV is 0.8, warning will show at 0.75
441
- */
442
- readonly liquidationWarningLtvMargin: 0.05;
443
- /**
444
- * Safety margin subtracted from max LTV to determine borrow limit.
445
- * e.g. if max LTV is 0.945, borrow limit will be 0.895
446
- */
447
- readonly maxBorrowLtvMargin: 0.05;
448
- /**
449
- * Target utilization rate for public allocator supply in WAD format (18 decimals).
450
- * Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
451
- */
452
- readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
453
- readonly useProductionContracts: boolean;
454
- readonly name: "Bend";
455
- readonly url: "https://bepolia.bend.berachain.com";
456
- readonly whiskApiUrl: null;
457
- readonly whiskApiKey: null;
458
- readonly production: {
459
- readonly morpho: null;
460
- readonly adaptiveCurveIrm: null;
461
- readonly metaMorphoFactory: null;
462
- readonly publicAllocator: null;
463
- readonly bundler3: null;
464
- readonly generalAdapter1: null;
465
- readonly supportedVaults: Address[];
466
- };
467
- readonly staging: {
468
- readonly morpho: null;
469
- readonly adaptiveCurveIrm: null;
470
- readonly metaMorphoFactory: null;
471
- readonly publicAllocator: null;
472
- readonly bundler3: null;
473
- readonly generalAdapter1: null;
474
- readonly supportedVaults: Address[];
475
- };
476
396
  };
397
+ readonly env: {
398
+ readonly isProduction: boolean;
399
+ readonly isLocalHost: boolean;
400
+ readonly isPreview: boolean;
401
+ readonly isStaging: boolean;
402
+ };
403
+ };
404
+ /**
405
+ * @deprecated use chainConfigs and appConfig instead. chainId should always be read from the app state.
406
+ */
407
+ declare const config: {
408
+ readonly chainId: ChainId.MAINNET;
477
409
  readonly tokens: {
478
410
  readonly wbera: "0x6969696969696969696969696969696969696969";
479
411
  readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
@@ -485,14 +417,19 @@ declare const config: {
485
417
  readonly pol: {
486
418
  readonly rewardVaultHelper: "0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2";
487
419
  readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
420
+ readonly rewardAllocationFactory: "0xc8FD9a3fB3Dad4C22c9F8Cfa7cecC318A667A791";
488
421
  readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
489
422
  readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
490
423
  readonly subgraph: string;
491
424
  readonly bribeBoostApi: string;
492
- readonly bribeBoostApiKey: string;
493
425
  readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
494
426
  };
495
- readonly api: string;
427
+ readonly api: {
428
+ readonly uri: string;
429
+ readonly headers: {
430
+ "x-api-key": string;
431
+ } | undefined;
432
+ };
496
433
  readonly blocksSubgraph: string;
497
434
  readonly bex: {
498
435
  readonly chainName: "BERACHAIN";
@@ -504,10 +441,13 @@ declare const config: {
504
441
  readonly composableStable: "0xDfA30BDa0375d4763711AB0CC8D91B20bfCC87E1";
505
442
  readonly weighted: "0xa966fA8F2d5B087FFFA499C0C1240589371Af409";
506
443
  };
444
+ readonly balancerDelegatedOwnership: "0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b";
507
445
  readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
508
446
  readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-1.0.3/gn";
509
447
  readonly aggregatorsRouter: "0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58";
510
448
  readonly aggregatorsRouterExecutor: "0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8";
449
+ readonly haikuRouter: "0x24aC999FF132B32c5b3956973b6213B0d07eB2C7";
450
+ readonly haikuAgentAddress: "0x69495273D6Dc572A830A4D6e00400a1e9d5B8f71";
511
451
  readonly aggregatorsProxyUrl: string;
512
452
  readonly recoverFundsApi: string;
513
453
  readonly recoverFundsContract: `0x${string}`;
@@ -526,10 +466,6 @@ declare const config: {
526
466
  readonly name: "BeraHub";
527
467
  readonly url: "https://hub.berachain.com";
528
468
  };
529
- readonly foundation: {
530
- readonly name: "Berachain Foundation";
531
- readonly url: "https://www.berachain.com";
532
- };
533
469
  readonly governance: {
534
470
  readonly governor: "0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5";
535
471
  readonly timelock: "0xb5f2000b5744f207c931526cAE2134cAa8b6862a";
@@ -544,7 +480,6 @@ declare const config: {
544
480
  readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
545
481
  };
546
482
  readonly averageBlockTime: 2;
547
- readonly beApiKey: string;
548
483
  readonly bridge: {
549
484
  readonly name: "BeraBridge";
550
485
  readonly url: "https://bridge.berachain.com";
@@ -559,150 +494,15 @@ declare const config: {
559
494
  };
560
495
  };
561
496
  };
562
- readonly explore: {
563
- readonly name: "Explore";
564
- readonly url: "https://explore.berachain.com";
565
- };
566
- readonly explorer: {
567
- readonly name: "Berascan";
568
- readonly url: "https://berascan.com";
569
- };
570
- readonly chain: {
571
- readonly name: string;
572
- };
573
- } | {
574
- readonly flags: {
575
- readonly isPosthogEnabled: boolean;
576
- readonly isCookie3Enabled: boolean | "";
577
- /**
578
- * Disallow SEO indexing for non-mainnet deployments
579
- */
580
- readonly disallowIndexing: boolean;
581
- readonly hideCurator: false;
582
- };
583
- readonly apiKeys: {
584
- readonly public: {
585
- /**
586
- * This is only going to work on whitelisted domains.
587
- * Please create your own API key and add it to your .env.local file
588
- */
589
- readonly dynamicWallet: string;
590
- /**
591
- * This is only going to work on whitelisted domains.
592
- * Please create your own API key and add it to your .env.local file
593
- */
594
- readonly thirdweb: string;
595
- readonly postHogProjectKey: "phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax";
596
- readonly cookie3SiteId: string;
597
- };
598
- readonly private: {
599
- /**
600
- * This is a low-security API key that is used to access internal API endpoints that do not
601
- * expose any sensitive information. It's just used to avoid public access to these endpoints.
602
- */
603
- readonly dummyInternalApiKey: string;
604
- /**
605
- * API key for events on Luma.
606
- *
607
- * Used by ecosystem.berachain.com/events page
608
- */
609
- readonly luma: string;
610
- readonly clickup: string;
611
- /**
612
- * API key for Ghost content.
613
- *
614
- * Used by blog.berachain.com
615
- */
616
- readonly ghostContent: string;
617
- /**
618
- * API key for Ghost admin.
619
- *
620
- * Used by blog.berachain.com
621
- */
622
- readonly ghostAdmin: string;
623
- readonly oogabooga: string;
624
- readonly haiku: string;
625
- readonly kyberswap: string;
626
- readonly enso: string;
627
- readonly etherscan: string;
628
- };
629
- };
630
- readonly addresses: {
631
- /**
632
- * This is an hardcoded value in contracts to detected wheter governance can
633
- * change pool fees and amplification parameter.
634
- *
635
- * @see https://docs.balancer.fi/concepts/pools/more/configuration.html#fees
636
- */
637
- readonly balancerDelegatedOwnership: `0x${string}`;
638
- /**
639
- * This is on genesis for Berachain
640
- */
641
- readonly multicall: `0x${string}`;
642
- };
643
- /**
644
- * Public faucet configuration.
645
- *
646
- * Mainly used in static-monobera.
647
- */
648
- readonly faucet: {
649
- readonly name: "Faucet";
650
- readonly url: "https://bepolia.faucet.berachain.com";
651
- /**
652
- * Amount of BERA the user will receive when using the faucet
653
- */
654
- readonly dripAmount: 1;
655
- /**
656
- * Time in hours between each drip
657
- */
658
- readonly timeGap: 8;
659
- readonly cloudflareKey: string;
660
- /**
661
- * API endpoint to send the request to the faucet
662
- */
663
- readonly endpoint: "https://faucet-api.testnet.berachain.com";
664
- };
665
- readonly urls: {
666
- readonly postHogApiHost: "https://eu.i.posthog.com";
667
- readonly ghost: "https://berachain.ghost.io";
668
- readonly cloudinary: "https://res.cloudinary.com/duv0g402y/image/upload/f_auto,q_auto/v1";
669
- readonly homepage: string;
670
- readonly ecosystem: "https://ecosystem.berachain.com/";
671
- readonly ecojobs: "https://ecojobs.berachain.com/";
672
- readonly docs: "https://docs.berachain.com";
673
- readonly careers: "https://careers.berachain.com/";
674
- readonly mediaKit: "https://drive.google.com/drive/folders/12t_a4Rci2txC3uVj9JyXXsSRCqWfd4GG/";
675
- readonly blog: "https://blog.berachain.com/";
676
- readonly news: "https://news.berachain.com/";
677
- readonly honeypaper: "https://honeypaper.berachain.com/";
678
- readonly airdrop: "https://airdrop.berachain.com/";
679
- readonly twitter: "https://x.com/berachain";
680
- readonly telegram: "https://t.me/BerachainPortal";
681
- readonly discord: "https://discord.com/invite/berachain";
682
- readonly github: "https://github.com/berachain";
683
- readonly buildabera: "https://buildabera.xyz/";
684
- };
685
497
  readonly bend: {
686
- /**
687
- * Margin from max LTV where warning will be shown about liquidation risk.
688
- * e.g. if max LTV is 0.8, warning will show at 0.75
689
- */
690
- readonly liquidationWarningLtvMargin: 0.05;
691
- /**
692
- * Safety margin subtracted from max LTV to determine borrow limit.
693
- * e.g. if max LTV is 0.945, borrow limit will be 0.895
694
- */
695
- readonly maxBorrowLtvMargin: 0.05;
696
- /**
697
- * Target utilization rate for public allocator supply in WAD format (18 decimals).
698
- * Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
699
- */
700
- readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
701
- readonly useProductionContracts: boolean;
702
498
  readonly name: "Bend";
703
499
  readonly url: "https://bend.berachain.com";
704
- readonly whiskApiUrl: string;
705
- readonly whiskApiKey: string;
500
+ readonly whiskApi: {
501
+ readonly uri: string;
502
+ readonly headers: {
503
+ Authorization: string;
504
+ } | undefined;
505
+ };
706
506
  readonly production: {
707
507
  readonly morpho: "0x24147243f9c08d835C218Cda1e135f8dFD0517D0";
708
508
  readonly adaptiveCurveIrm: "0xcf247Df3A2322Dea0D408f011c194906E77a6f62";
@@ -721,46 +521,21 @@ declare const config: {
721
521
  readonly generalAdapter1: "0x257a41E20BBfe90D750646C2e00bA700D55958C5";
722
522
  readonly supportedVaults: `0x${string}`[];
723
523
  };
724
- } | {
725
- /**
726
- * Margin from max LTV where warning will be shown about liquidation risk.
727
- * e.g. if max LTV is 0.8, warning will show at 0.75
728
- */
729
- readonly liquidationWarningLtvMargin: 0.05;
730
- /**
731
- * Safety margin subtracted from max LTV to determine borrow limit.
732
- * e.g. if max LTV is 0.945, borrow limit will be 0.895
733
- */
734
- readonly maxBorrowLtvMargin: 0.05;
735
- /**
736
- * Target utilization rate for public allocator supply in WAD format (18 decimals).
737
- * Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
738
- */
739
- readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
740
- readonly useProductionContracts: boolean;
741
- readonly name: "Bend";
742
- readonly url: "https://bepolia.bend.berachain.com";
743
- readonly whiskApiUrl: null;
744
- readonly whiskApiKey: null;
745
- readonly production: {
746
- readonly morpho: null;
747
- readonly adaptiveCurveIrm: null;
748
- readonly metaMorphoFactory: null;
749
- readonly publicAllocator: null;
750
- readonly bundler3: null;
751
- readonly generalAdapter1: null;
752
- readonly supportedVaults: Address[];
753
- };
754
- readonly staging: {
755
- readonly morpho: null;
756
- readonly adaptiveCurveIrm: null;
757
- readonly metaMorphoFactory: null;
758
- readonly publicAllocator: null;
759
- readonly bundler3: null;
760
- readonly generalAdapter1: null;
761
- readonly supportedVaults: Address[];
762
- };
763
524
  };
525
+ readonly explore: {
526
+ readonly name: "Explore";
527
+ readonly url: "https://explore.berachain.com";
528
+ };
529
+ readonly explorer: {
530
+ readonly name: "Berascan";
531
+ readonly url: "https://berascan.com";
532
+ };
533
+ readonly chain: {
534
+ readonly name: string;
535
+ };
536
+ readonly faucet: null;
537
+ } | {
538
+ readonly chainId: ChainId.BEPOLIA;
764
539
  readonly tokens: {
765
540
  readonly wbera: "0x6969696969696969696969696969696969696969";
766
541
  readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
@@ -773,13 +548,18 @@ declare const config: {
773
548
  readonly rewardVaultHelper: "0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2";
774
549
  readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
775
550
  readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
551
+ readonly rewardAllocationFactory: "0x7f09Cf6958631513aF0400488F65c7B5c0313F52";
776
552
  readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
777
553
  readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-1.7.0/gn";
778
554
  readonly bribeBoostApi: string;
779
- readonly bribeBoostApiKey: string;
780
555
  readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
781
556
  };
782
- readonly api: string;
557
+ readonly api: {
558
+ readonly uri: string;
559
+ readonly headers: {
560
+ "x-api-key": string;
561
+ } | undefined;
562
+ };
783
563
  readonly blocksSubgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/blocks-subgraph/bepolia-v1.1.0/gn";
784
564
  readonly bex: {
785
565
  readonly chainName: "BEPOLIA";
@@ -795,9 +575,12 @@ declare const config: {
795
575
  readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-1.0.3/gn";
796
576
  readonly aggregatorsRouter: "0x0000000000000000000000000000000000000000";
797
577
  readonly aggregatorsRouterExecutor: "0x0000000000000000000000000000000000000000";
578
+ readonly haikuRouter: null;
579
+ readonly haikuAgentAddress: null;
798
580
  readonly aggregatorsProxyUrl: string;
799
581
  readonly recoverFundsApi: "https://t3stbe4i5d40p.testnet.berachain.com";
800
582
  readonly recoverFundsContract: "0x0eFeC4379805fAFA7269Ec599a6921f388C8841a";
583
+ readonly balancerDelegatedOwnership: "0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b";
801
584
  };
802
585
  readonly honey: {
803
586
  readonly name: "Honey";
@@ -813,10 +596,6 @@ declare const config: {
813
596
  readonly name: "BeraHub";
814
597
  readonly url: "https://bepolia.hub.berachain.com";
815
598
  };
816
- readonly foundation: {
817
- readonly name: "Berachain Foundation";
818
- readonly url: "https://www.berachain.com";
819
- };
820
599
  readonly governance: {
821
600
  readonly governor: `0x${string}`;
822
601
  readonly timelock: `0x${string}`;
@@ -831,7 +610,6 @@ declare const config: {
831
610
  readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
832
611
  };
833
612
  readonly averageBlockTime: 2;
834
- readonly beApiKey: string;
835
613
  readonly bridge: {
836
614
  readonly name: "BeraBridge";
837
615
  readonly url: "https://bepolia.bridge.berachain.com";
@@ -846,6 +624,29 @@ declare const config: {
846
624
  };
847
625
  };
848
626
  };
627
+ readonly bend: {
628
+ readonly name: "Bend";
629
+ readonly url: "https://bepolia.bend.berachain.com";
630
+ readonly whiskApi: null;
631
+ readonly production: {
632
+ readonly morpho: null;
633
+ readonly adaptiveCurveIrm: null;
634
+ readonly metaMorphoFactory: null;
635
+ readonly publicAllocator: null;
636
+ readonly bundler3: null;
637
+ readonly generalAdapter1: null;
638
+ readonly supportedVaults: Address[];
639
+ };
640
+ readonly staging: {
641
+ readonly morpho: null;
642
+ readonly adaptiveCurveIrm: null;
643
+ readonly metaMorphoFactory: null;
644
+ readonly publicAllocator: null;
645
+ readonly bundler3: null;
646
+ readonly generalAdapter1: null;
647
+ readonly supportedVaults: Address[];
648
+ };
649
+ };
849
650
  readonly explore: {
850
651
  readonly name: "Explore";
851
652
  readonly url: "https://explore.berachain.com";
@@ -857,6 +658,14 @@ declare const config: {
857
658
  readonly chain: {
858
659
  readonly name: string;
859
660
  };
661
+ readonly faucet: {
662
+ readonly name: "Faucet";
663
+ readonly url: "https://bepolia.faucet.berachain.com";
664
+ readonly dripAmount: 1;
665
+ readonly timeGap: 8;
666
+ readonly cloudflareKey: string;
667
+ readonly endpoint: "https://faucet-api.testnet.berachain.com";
668
+ };
860
669
  };
861
670
 
862
- export { Address, AppName, ChainId, alchemyJsonRpcUrl, chainConfigs, defaultChainId as chainId, cloudinaryBaseUrl, config, currentDapp, defaultChainId, getRpcUrls, goldskyBaseUrl, jsonRpcUrl, privateRcpUrl, publicJsonRpcUrl };
671
+ export { Address, AppName, ChainId, alchemyJsonRpcUrl, appConfig, chainConfigs, defaultChainId as chainId, cloudinaryBaseUrl, config, currentDapp, defaultChainId, getRpcUrls, goldskyBaseUrl, jsonRpcUrl, privateRcpUrl, publicJsonRpcUrl };