@berachain/config 0.0.4 → 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 (73) hide show
  1. package/dist/bepolia.cjs +1 -1
  2. package/dist/bepolia.d.cts +36 -11
  3. package/dist/bepolia.d.ts +36 -11
  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 +31 -19
  29. package/dist/internal/edge-config/index.d.ts +31 -19
  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 +11 -1
  33. package/dist/internal/flags/index.d.ts +11 -1
  34. package/dist/internal/flags/index.mjs +1 -1
  35. package/dist/internal/header-sources.cjs +10 -10
  36. package/dist/internal/header-sources.mjs +10 -10
  37. package/dist/internal/index.cjs +1 -1
  38. package/dist/internal/index.d.cts +131 -312
  39. package/dist/internal/index.d.ts +131 -312
  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/nextjs/utils/index.cjs +1 -1
  46. package/dist/internal/nextjs/utils/index.mjs +1 -1
  47. package/dist/internal/sentry/index.cjs +1 -1
  48. package/dist/internal/sentry/index.mjs +1 -1
  49. package/dist/internal/sentry/sentry.client.config.cjs +1 -1
  50. package/dist/internal/sentry/sentry.client.config.mjs +1 -1
  51. package/dist/mainnet.cjs +1 -1
  52. package/dist/mainnet.d.cts +21 -10
  53. package/dist/mainnet.d.ts +21 -10
  54. package/dist/mainnet.mjs +1 -1
  55. package/dist/sentry.edge.config-34TBZ2J6.cjs +1 -0
  56. package/dist/{sentry.edge.config-XKXCGZO7.mjs → sentry.edge.config-3QO3DLYV.mjs} +1 -1
  57. package/dist/{sentry.server.config-HGGCJWT2.mjs → sentry.server.config-S53O6JTA.mjs} +1 -1
  58. package/dist/sentry.server.config-WQX4KCNG.cjs +1 -0
  59. package/dist/types-ChwOSOu9.d.cts +198 -0
  60. package/dist/types-ChwOSOu9.d.ts +198 -0
  61. package/package.json +3 -3
  62. package/dist/chunk-3LFM4QG6.cjs +0 -1
  63. package/dist/chunk-6CMG5CBG.cjs +0 -1
  64. package/dist/chunk-BQFHWAJZ.mjs +0 -1
  65. package/dist/chunk-D2FG64PF.mjs +0 -1
  66. package/dist/chunk-DMFHUBNY.cjs +0 -1
  67. package/dist/chunk-FFCLEC63.mjs +0 -1
  68. package/dist/chunk-G2LROWQ2.mjs +0 -1
  69. package/dist/chunk-G3P5QJ2Y.cjs +0 -1
  70. package/dist/chunk-IV4GOAZB.cjs +0 -1
  71. package/dist/chunk-XTBMK2TL.mjs +0 -1
  72. package/dist/sentry.edge.config-M3L3XSD6.cjs +0 -1
  73. 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
- readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-v1.0.2/gn";
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";
@@ -192,12 +207,15 @@ declare const chainConfigs: {
192
207
  readonly weighted: "0xf1d23276C7b271B2aC595C78977b2312E9954D57";
193
208
  };
194
209
  readonly poolCreationHelper: "0x0dC9964F6CA33d9EF38DEB4925234766127C6B36";
195
- readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-v1.0.2-rc1/gn";
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 | "";
@@ -299,9 +319,10 @@ declare const config: {
299
319
  * This is only going to work on whitelisted domains.
300
320
  * Please create your own API key and add it to your .env.local file
301
321
  */
302
- readonly dynamicWallet: string;
322
+ readonly thirdweb: string;
303
323
  readonly postHogProjectKey: "phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax";
304
324
  readonly cookie3SiteId: string;
325
+ readonly enso: string;
305
326
  };
306
327
  readonly private: {
307
328
  /**
@@ -335,41 +356,6 @@ declare const config: {
335
356
  readonly etherscan: string;
336
357
  };
337
358
  };
338
- readonly addresses: {
339
- /**
340
- * This is an hardcoded value in contracts to detected wheter governance can
341
- * change pool fees and amplification parameter.
342
- *
343
- * @see https://docs.balancer.fi/concepts/pools/more/configuration.html#fees
344
- */
345
- readonly balancerDelegatedOwnership: `0x${string}`;
346
- /**
347
- * This is on genesis for Berachain
348
- */
349
- readonly multicall: `0x${string}`;
350
- };
351
- /**
352
- * Public faucet configuration.
353
- *
354
- * Mainly used in static-monobera.
355
- */
356
- readonly faucet: {
357
- readonly name: "Faucet";
358
- readonly url: "https://bepolia.faucet.berachain.com";
359
- /**
360
- * Amount of BERA the user will receive when using the faucet
361
- */
362
- readonly dripAmount: 1;
363
- /**
364
- * Time in hours between each drip
365
- */
366
- readonly timeGap: 8;
367
- readonly cloudflareKey: string;
368
- /**
369
- * API endpoint to send the request to the faucet
370
- */
371
- readonly endpoint: "https://faucet-api.testnet.berachain.com";
372
- };
373
359
  readonly urls: {
374
360
  readonly postHogApiHost: "https://eu.i.posthog.com";
375
361
  readonly ghost: "https://berachain.ghost.io";
@@ -407,68 +393,19 @@ declare const config: {
407
393
  */
408
394
  readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
409
395
  readonly useProductionContracts: boolean;
410
- readonly name: "Bend";
411
- readonly url: "https://bend.berachain.com";
412
- readonly whiskApiUrl: string;
413
- readonly whiskApiKey: string;
414
- readonly production: {
415
- readonly morpho: "0x24147243f9c08d835C218Cda1e135f8dFD0517D0";
416
- readonly adaptiveCurveIrm: "0xcf247Df3A2322Dea0D408f011c194906E77a6f62";
417
- readonly metaMorphoFactory: "0x5EDd48C6ACBd565Eeb31702FD9fa9Cbc86fbE616";
418
- readonly publicAllocator: "0xB62F34Ab315eaDeAc698e8EaEB6Fc2650951BFe7";
419
- readonly bundler3: "0xF920140A65D0f412f2AB3e76C4fEAB5Eef0657ae";
420
- readonly generalAdapter1: "0xd2B9667F5214115E27937C410cAeE83E3a901Df7";
421
- readonly supportedVaults: `0x${string}`[];
422
- };
423
- readonly staging: {
424
- readonly morpho: "0xC5FabF3a7E98a2ed89f5d5057Ab010634Ca7e71f";
425
- readonly adaptiveCurveIrm: "0x1d5376e532CcF25b740270624111D665830E5dB9";
426
- readonly metaMorphoFactory: "0x524061B659380a5e4576d76F0951303B20B5932f";
427
- readonly publicAllocator: "0xFD6e68bC20be2a01Ec1Df687c83f927087D52811";
428
- readonly bundler3: "0x56811e1BFfF951B98c7940d3aCe0e549Ec4fDee8";
429
- readonly generalAdapter1: "0x257a41E20BBfe90D750646C2e00bA700D55958C5";
430
- readonly supportedVaults: `0x${string}`[];
431
- };
432
- } | {
433
- /**
434
- * Margin from max LTV where warning will be shown about liquidation risk.
435
- * e.g. if max LTV is 0.8, warning will show at 0.75
436
- */
437
- readonly liquidationWarningLtvMargin: 0.05;
438
- /**
439
- * Safety margin subtracted from max LTV to determine borrow limit.
440
- * e.g. if max LTV is 0.945, borrow limit will be 0.895
441
- */
442
- readonly maxBorrowLtvMargin: 0.05;
443
- /**
444
- * Target utilization rate for public allocator supply in WAD format (18 decimals).
445
- * Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
446
- */
447
- readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
448
- readonly useProductionContracts: boolean;
449
- readonly name: "Bend";
450
- readonly url: "https://bepolia.bend.berachain.com";
451
- readonly whiskApiUrl: null;
452
- readonly whiskApiKey: null;
453
- readonly production: {
454
- readonly morpho: null;
455
- readonly adaptiveCurveIrm: null;
456
- readonly metaMorphoFactory: null;
457
- readonly publicAllocator: null;
458
- readonly bundler3: null;
459
- readonly generalAdapter1: null;
460
- readonly supportedVaults: Address[];
461
- };
462
- readonly staging: {
463
- readonly morpho: null;
464
- readonly adaptiveCurveIrm: null;
465
- readonly metaMorphoFactory: null;
466
- readonly publicAllocator: null;
467
- readonly bundler3: null;
468
- readonly generalAdapter1: null;
469
- readonly supportedVaults: Address[];
470
- };
471
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;
472
409
  readonly tokens: {
473
410
  readonly wbera: "0x6969696969696969696969696969696969696969";
474
411
  readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
@@ -480,14 +417,19 @@ declare const config: {
480
417
  readonly pol: {
481
418
  readonly rewardVaultHelper: "0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2";
482
419
  readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
420
+ readonly rewardAllocationFactory: "0xc8FD9a3fB3Dad4C22c9F8Cfa7cecC318A667A791";
483
421
  readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
484
422
  readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
485
423
  readonly subgraph: string;
486
424
  readonly bribeBoostApi: string;
487
- readonly bribeBoostApiKey: string;
488
425
  readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
489
426
  };
490
- readonly api: string;
427
+ readonly api: {
428
+ readonly uri: string;
429
+ readonly headers: {
430
+ "x-api-key": string;
431
+ } | undefined;
432
+ };
491
433
  readonly blocksSubgraph: string;
492
434
  readonly bex: {
493
435
  readonly chainName: "BERACHAIN";
@@ -499,10 +441,13 @@ declare const config: {
499
441
  readonly composableStable: "0xDfA30BDa0375d4763711AB0CC8D91B20bfCC87E1";
500
442
  readonly weighted: "0xa966fA8F2d5B087FFFA499C0C1240589371Af409";
501
443
  };
444
+ readonly balancerDelegatedOwnership: "0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b";
502
445
  readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
503
- readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-v1.0.2/gn";
446
+ readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-1.0.3/gn";
504
447
  readonly aggregatorsRouter: "0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58";
505
448
  readonly aggregatorsRouterExecutor: "0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8";
449
+ readonly haikuRouter: "0x24aC999FF132B32c5b3956973b6213B0d07eB2C7";
450
+ readonly haikuAgentAddress: "0x69495273D6Dc572A830A4D6e00400a1e9d5B8f71";
506
451
  readonly aggregatorsProxyUrl: string;
507
452
  readonly recoverFundsApi: string;
508
453
  readonly recoverFundsContract: `0x${string}`;
@@ -521,10 +466,6 @@ declare const config: {
521
466
  readonly name: "BeraHub";
522
467
  readonly url: "https://hub.berachain.com";
523
468
  };
524
- readonly foundation: {
525
- readonly name: "Berachain Foundation";
526
- readonly url: "https://www.berachain.com";
527
- };
528
469
  readonly governance: {
529
470
  readonly governor: "0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5";
530
471
  readonly timelock: "0xb5f2000b5744f207c931526cAE2134cAa8b6862a";
@@ -539,7 +480,6 @@ declare const config: {
539
480
  readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
540
481
  };
541
482
  readonly averageBlockTime: 2;
542
- readonly beApiKey: string;
543
483
  readonly bridge: {
544
484
  readonly name: "BeraBridge";
545
485
  readonly url: "https://bridge.berachain.com";
@@ -554,145 +494,15 @@ declare const config: {
554
494
  };
555
495
  };
556
496
  };
557
- readonly explore: {
558
- readonly name: "Explore";
559
- readonly url: "https://explore.berachain.com";
560
- };
561
- readonly explorer: {
562
- readonly name: "Berascan";
563
- readonly url: "https://berascan.com";
564
- };
565
- readonly chain: {
566
- readonly name: string;
567
- };
568
- } | {
569
- readonly flags: {
570
- readonly isPosthogEnabled: boolean;
571
- readonly isCookie3Enabled: boolean | "";
572
- /**
573
- * Disallow SEO indexing for non-mainnet deployments
574
- */
575
- readonly disallowIndexing: boolean;
576
- readonly hideCurator: false;
577
- };
578
- readonly apiKeys: {
579
- readonly public: {
580
- /**
581
- * This is only going to work on whitelisted domains.
582
- * Please create your own API key and add it to your .env.local file
583
- */
584
- readonly dynamicWallet: string;
585
- readonly postHogProjectKey: "phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax";
586
- readonly cookie3SiteId: string;
587
- };
588
- readonly private: {
589
- /**
590
- * This is a low-security API key that is used to access internal API endpoints that do not
591
- * expose any sensitive information. It's just used to avoid public access to these endpoints.
592
- */
593
- readonly dummyInternalApiKey: string;
594
- /**
595
- * API key for events on Luma.
596
- *
597
- * Used by ecosystem.berachain.com/events page
598
- */
599
- readonly luma: string;
600
- readonly clickup: string;
601
- /**
602
- * API key for Ghost content.
603
- *
604
- * Used by blog.berachain.com
605
- */
606
- readonly ghostContent: string;
607
- /**
608
- * API key for Ghost admin.
609
- *
610
- * Used by blog.berachain.com
611
- */
612
- readonly ghostAdmin: string;
613
- readonly oogabooga: string;
614
- readonly haiku: string;
615
- readonly kyberswap: string;
616
- readonly enso: string;
617
- readonly etherscan: string;
618
- };
619
- };
620
- readonly addresses: {
621
- /**
622
- * This is an hardcoded value in contracts to detected wheter governance can
623
- * change pool fees and amplification parameter.
624
- *
625
- * @see https://docs.balancer.fi/concepts/pools/more/configuration.html#fees
626
- */
627
- readonly balancerDelegatedOwnership: `0x${string}`;
628
- /**
629
- * This is on genesis for Berachain
630
- */
631
- readonly multicall: `0x${string}`;
632
- };
633
- /**
634
- * Public faucet configuration.
635
- *
636
- * Mainly used in static-monobera.
637
- */
638
- readonly faucet: {
639
- readonly name: "Faucet";
640
- readonly url: "https://bepolia.faucet.berachain.com";
641
- /**
642
- * Amount of BERA the user will receive when using the faucet
643
- */
644
- readonly dripAmount: 1;
645
- /**
646
- * Time in hours between each drip
647
- */
648
- readonly timeGap: 8;
649
- readonly cloudflareKey: string;
650
- /**
651
- * API endpoint to send the request to the faucet
652
- */
653
- readonly endpoint: "https://faucet-api.testnet.berachain.com";
654
- };
655
- readonly urls: {
656
- readonly postHogApiHost: "https://eu.i.posthog.com";
657
- readonly ghost: "https://berachain.ghost.io";
658
- readonly cloudinary: "https://res.cloudinary.com/duv0g402y/image/upload/f_auto,q_auto/v1";
659
- readonly homepage: string;
660
- readonly ecosystem: "https://ecosystem.berachain.com/";
661
- readonly ecojobs: "https://ecojobs.berachain.com/";
662
- readonly docs: "https://docs.berachain.com";
663
- readonly careers: "https://careers.berachain.com/";
664
- readonly mediaKit: "https://drive.google.com/drive/folders/12t_a4Rci2txC3uVj9JyXXsSRCqWfd4GG/";
665
- readonly blog: "https://blog.berachain.com/";
666
- readonly news: "https://news.berachain.com/";
667
- readonly honeypaper: "https://honeypaper.berachain.com/";
668
- readonly airdrop: "https://airdrop.berachain.com/";
669
- readonly twitter: "https://x.com/berachain";
670
- readonly telegram: "https://t.me/BerachainPortal";
671
- readonly discord: "https://discord.com/invite/berachain";
672
- readonly github: "https://github.com/berachain";
673
- readonly buildabera: "https://buildabera.xyz/";
674
- };
675
497
  readonly bend: {
676
- /**
677
- * Margin from max LTV where warning will be shown about liquidation risk.
678
- * e.g. if max LTV is 0.8, warning will show at 0.75
679
- */
680
- readonly liquidationWarningLtvMargin: 0.05;
681
- /**
682
- * Safety margin subtracted from max LTV to determine borrow limit.
683
- * e.g. if max LTV is 0.945, borrow limit will be 0.895
684
- */
685
- readonly maxBorrowLtvMargin: 0.05;
686
- /**
687
- * Target utilization rate for public allocator supply in WAD format (18 decimals).
688
- * Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
689
- */
690
- readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
691
- readonly useProductionContracts: boolean;
692
498
  readonly name: "Bend";
693
499
  readonly url: "https://bend.berachain.com";
694
- readonly whiskApiUrl: string;
695
- readonly whiskApiKey: string;
500
+ readonly whiskApi: {
501
+ readonly uri: string;
502
+ readonly headers: {
503
+ Authorization: string;
504
+ } | undefined;
505
+ };
696
506
  readonly production: {
697
507
  readonly morpho: "0x24147243f9c08d835C218Cda1e135f8dFD0517D0";
698
508
  readonly adaptiveCurveIrm: "0xcf247Df3A2322Dea0D408f011c194906E77a6f62";
@@ -711,46 +521,21 @@ declare const config: {
711
521
  readonly generalAdapter1: "0x257a41E20BBfe90D750646C2e00bA700D55958C5";
712
522
  readonly supportedVaults: `0x${string}`[];
713
523
  };
714
- } | {
715
- /**
716
- * Margin from max LTV where warning will be shown about liquidation risk.
717
- * e.g. if max LTV is 0.8, warning will show at 0.75
718
- */
719
- readonly liquidationWarningLtvMargin: 0.05;
720
- /**
721
- * Safety margin subtracted from max LTV to determine borrow limit.
722
- * e.g. if max LTV is 0.945, borrow limit will be 0.895
723
- */
724
- readonly maxBorrowLtvMargin: 0.05;
725
- /**
726
- * Target utilization rate for public allocator supply in WAD format (18 decimals).
727
- * Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
728
- */
729
- readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
730
- readonly useProductionContracts: boolean;
731
- readonly name: "Bend";
732
- readonly url: "https://bepolia.bend.berachain.com";
733
- readonly whiskApiUrl: null;
734
- readonly whiskApiKey: null;
735
- readonly production: {
736
- readonly morpho: null;
737
- readonly adaptiveCurveIrm: null;
738
- readonly metaMorphoFactory: null;
739
- readonly publicAllocator: null;
740
- readonly bundler3: null;
741
- readonly generalAdapter1: null;
742
- readonly supportedVaults: Address[];
743
- };
744
- readonly staging: {
745
- readonly morpho: null;
746
- readonly adaptiveCurveIrm: null;
747
- readonly metaMorphoFactory: null;
748
- readonly publicAllocator: null;
749
- readonly bundler3: null;
750
- readonly generalAdapter1: null;
751
- readonly supportedVaults: Address[];
752
- };
753
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;
754
539
  readonly tokens: {
755
540
  readonly wbera: "0x6969696969696969696969696969696969696969";
756
541
  readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
@@ -763,13 +548,18 @@ declare const config: {
763
548
  readonly rewardVaultHelper: "0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2";
764
549
  readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
765
550
  readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
551
+ readonly rewardAllocationFactory: "0x7f09Cf6958631513aF0400488F65c7B5c0313F52";
766
552
  readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
767
553
  readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-1.7.0/gn";
768
554
  readonly bribeBoostApi: string;
769
- readonly bribeBoostApiKey: string;
770
555
  readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
771
556
  };
772
- readonly api: string;
557
+ readonly api: {
558
+ readonly uri: string;
559
+ readonly headers: {
560
+ "x-api-key": string;
561
+ } | undefined;
562
+ };
773
563
  readonly blocksSubgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/blocks-subgraph/bepolia-v1.1.0/gn";
774
564
  readonly bex: {
775
565
  readonly chainName: "BEPOLIA";
@@ -782,12 +572,15 @@ declare const config: {
782
572
  readonly weighted: "0xf1d23276C7b271B2aC595C78977b2312E9954D57";
783
573
  };
784
574
  readonly poolCreationHelper: "0x0dC9964F6CA33d9EF38DEB4925234766127C6B36";
785
- readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-v1.0.2-rc1/gn";
575
+ readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-1.0.3/gn";
786
576
  readonly aggregatorsRouter: "0x0000000000000000000000000000000000000000";
787
577
  readonly aggregatorsRouterExecutor: "0x0000000000000000000000000000000000000000";
578
+ readonly haikuRouter: null;
579
+ readonly haikuAgentAddress: null;
788
580
  readonly aggregatorsProxyUrl: string;
789
581
  readonly recoverFundsApi: "https://t3stbe4i5d40p.testnet.berachain.com";
790
582
  readonly recoverFundsContract: "0x0eFeC4379805fAFA7269Ec599a6921f388C8841a";
583
+ readonly balancerDelegatedOwnership: "0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b";
791
584
  };
792
585
  readonly honey: {
793
586
  readonly name: "Honey";
@@ -803,10 +596,6 @@ declare const config: {
803
596
  readonly name: "BeraHub";
804
597
  readonly url: "https://bepolia.hub.berachain.com";
805
598
  };
806
- readonly foundation: {
807
- readonly name: "Berachain Foundation";
808
- readonly url: "https://www.berachain.com";
809
- };
810
599
  readonly governance: {
811
600
  readonly governor: `0x${string}`;
812
601
  readonly timelock: `0x${string}`;
@@ -821,7 +610,6 @@ declare const config: {
821
610
  readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
822
611
  };
823
612
  readonly averageBlockTime: 2;
824
- readonly beApiKey: string;
825
613
  readonly bridge: {
826
614
  readonly name: "BeraBridge";
827
615
  readonly url: "https://bepolia.bridge.berachain.com";
@@ -836,6 +624,29 @@ declare const config: {
836
624
  };
837
625
  };
838
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
+ };
839
650
  readonly explore: {
840
651
  readonly name: "Explore";
841
652
  readonly url: "https://explore.berachain.com";
@@ -847,6 +658,14 @@ declare const config: {
847
658
  readonly chain: {
848
659
  readonly name: string;
849
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
+ };
850
669
  };
851
670
 
852
- 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 };