@berachain/config 0.0.5 → 0.0.7

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 +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 +183 -374
  39. package/dist/internal/index.d.ts +183 -374
  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/internal/tsup/index.cjs +1 -1
  50. package/dist/internal/tsup/index.mjs +1 -1
  51. package/dist/mainnet.cjs +1 -1
  52. package/dist/mainnet.d.cts +20 -9
  53. package/dist/mainnet.d.ts +20 -9
  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 +2 -2
  62. package/dist/chunk-2X5W4YR4.mjs +0 -1
  63. package/dist/chunk-32CWUFQY.cjs +0 -1
  64. package/dist/chunk-3LFM4QG6.cjs +0 -1
  65. package/dist/chunk-D2FG64PF.mjs +0 -1
  66. package/dist/chunk-DMFHUBNY.cjs +0 -1
  67. package/dist/chunk-MHNEK2A2.cjs +0 -1
  68. package/dist/chunk-TSH4FNVH.mjs +0 -1
  69. package/dist/chunk-WKOAF2ML.mjs +0 -1
  70. package/dist/chunk-WNGB3G3V.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.js';
2
- export { BeraConfig, ProjectName } from '../index.js';
1
+ import { C as ChainId, a as AppName, A as Address } from '../types-ChwOSOu9.js';
2
+ export { B as BeraConfig, H as HttpLink, P as ProjectName } from '../types-ChwOSOu9.js';
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,49 +393,111 @@ 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}`[];
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.BEPOLIA;
409
+ readonly tokens: {
410
+ readonly wbera: "0x6969696969696969696969696969696969696969";
411
+ readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
412
+ readonly bgt: "0x656b95E550C07a9ffe548bd4085c72418Ceb1dba";
413
+ readonly wbtc: "0x";
414
+ readonly weth: "0x";
415
+ };
416
+ readonly depositContract: "0x4242424242424242424242424242424242424242";
417
+ readonly pol: {
418
+ readonly rewardVaultHelper: "0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2";
419
+ readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
420
+ readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
421
+ readonly rewardAllocationFactory: "0x7f09Cf6958631513aF0400488F65c7B5c0313F52";
422
+ readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
423
+ readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-1.7.0/gn";
424
+ readonly bribeBoostApi: string;
425
+ readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
426
+ };
427
+ readonly api: {
428
+ readonly uri: string;
429
+ readonly headers: {
430
+ "x-api-key": string;
431
+ } | undefined;
432
+ };
433
+ readonly blocksSubgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/blocks-subgraph/bepolia-v1.1.0/gn";
434
+ readonly bex: {
435
+ readonly chainName: "BEPOLIA";
436
+ readonly vault: "0x708cA656b68A6b7384a488A36aD33505a77241FE";
437
+ readonly helper: "0xC7c981ADcDC5d48fed0CD52807fb2bAB22676C8f";
438
+ readonly queries: "0xE3723383a0EA73D5c0dE424BAA97F97f86f6cF92";
439
+ readonly relayer: "0x343215E156Ff586711a5B8C49Fe3099BAF22624C";
440
+ readonly factories: {
441
+ readonly composableStable: "0xB60DbBaCEaeC23486a64d12089F467ef949f1bb1";
442
+ readonly weighted: "0xf1d23276C7b271B2aC595C78977b2312E9954D57";
427
443
  };
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}`[];
444
+ readonly poolCreationHelper: "0x0dC9964F6CA33d9EF38DEB4925234766127C6B36";
445
+ readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-1.0.3/gn";
446
+ readonly aggregatorsRouter: "0x0000000000000000000000000000000000000000";
447
+ readonly aggregatorsRouterExecutor: "0x0000000000000000000000000000000000000000";
448
+ readonly haikuRouter: null;
449
+ readonly haikuAgentAddress: null;
450
+ readonly aggregatorsProxyUrl: string;
451
+ readonly recoverFundsApi: "https://t3stbe4i5d40p.testnet.berachain.com";
452
+ readonly recoverFundsContract: "0x0eFeC4379805fAFA7269Ec599a6921f388C8841a";
453
+ readonly balancerDelegatedOwnership: "0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b";
454
+ };
455
+ readonly honey: {
456
+ readonly name: "Honey";
457
+ readonly url: "https://bepolia.honey.berachain.com";
458
+ readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/bepolia-v1.2.1/gn";
459
+ readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
460
+ readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
461
+ readonly pythWrapper: "0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606";
462
+ readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
463
+ readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
464
+ };
465
+ readonly hub: {
466
+ readonly name: "BeraHub";
467
+ readonly url: "https://bepolia.hub.berachain.com";
468
+ };
469
+ readonly governance: {
470
+ readonly governor: `0x${string}`;
471
+ readonly timelock: `0x${string}`;
472
+ readonly subgraph: string;
473
+ };
474
+ readonly lists: {
475
+ readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/bepolia.json";
476
+ readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/bepolia.json";
477
+ readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/bepolia.json";
478
+ };
479
+ readonly external: {
480
+ readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
481
+ };
482
+ readonly averageBlockTime: 2;
483
+ readonly bridge: {
484
+ readonly name: "BeraBridge";
485
+ readonly url: "https://bepolia.bridge.berachain.com";
486
+ readonly nft: {
487
+ readonly name: "BeraBridge NFT";
488
+ readonly url: "#";
489
+ readonly eth: {
490
+ readonly subgraph: "#";
491
+ };
492
+ readonly berachain: {
493
+ readonly subgraph: "#";
494
+ };
436
495
  };
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;
496
+ };
497
+ readonly bend: {
454
498
  readonly name: "Bend";
455
499
  readonly url: "https://bepolia.bend.berachain.com";
456
- readonly whiskApiUrl: null;
457
- readonly whiskApiKey: null;
500
+ readonly whiskApi: null;
458
501
  readonly production: {
459
502
  readonly morpho: null;
460
503
  readonly adaptiveCurveIrm: null;
@@ -474,6 +517,27 @@ declare const config: {
474
517
  readonly supportedVaults: Address[];
475
518
  };
476
519
  };
520
+ readonly explore: {
521
+ readonly name: "Explore";
522
+ readonly url: "https://explore.berachain.com";
523
+ };
524
+ readonly explorer: {
525
+ readonly name: "Berascan";
526
+ readonly url: "https://testnet.berascan.com";
527
+ };
528
+ readonly chain: {
529
+ readonly name: string;
530
+ };
531
+ readonly faucet: {
532
+ readonly name: "Faucet";
533
+ readonly url: "https://bepolia.faucet.berachain.com";
534
+ readonly dripAmount: 1;
535
+ readonly timeGap: 8;
536
+ readonly cloudflareKey: string;
537
+ readonly endpoint: "https://faucet-api.testnet.berachain.com";
538
+ };
539
+ } | {
540
+ readonly chainId: ChainId.MAINNET;
477
541
  readonly tokens: {
478
542
  readonly wbera: "0x6969696969696969696969696969696969696969";
479
543
  readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
@@ -485,14 +549,19 @@ declare const config: {
485
549
  readonly pol: {
486
550
  readonly rewardVaultHelper: "0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2";
487
551
  readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
552
+ readonly rewardAllocationFactory: "0xc8FD9a3fB3Dad4C22c9F8Cfa7cecC318A667A791";
488
553
  readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
489
554
  readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
490
555
  readonly subgraph: string;
491
556
  readonly bribeBoostApi: string;
492
- readonly bribeBoostApiKey: string;
493
557
  readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
494
558
  };
495
- readonly api: string;
559
+ readonly api: {
560
+ readonly uri: string;
561
+ readonly headers: {
562
+ "x-api-key": string;
563
+ } | undefined;
564
+ };
496
565
  readonly blocksSubgraph: string;
497
566
  readonly bex: {
498
567
  readonly chainName: "BERACHAIN";
@@ -504,10 +573,13 @@ declare const config: {
504
573
  readonly composableStable: "0xDfA30BDa0375d4763711AB0CC8D91B20bfCC87E1";
505
574
  readonly weighted: "0xa966fA8F2d5B087FFFA499C0C1240589371Af409";
506
575
  };
576
+ readonly balancerDelegatedOwnership: "0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b";
507
577
  readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
508
578
  readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-1.0.3/gn";
509
579
  readonly aggregatorsRouter: "0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58";
510
580
  readonly aggregatorsRouterExecutor: "0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8";
581
+ readonly haikuRouter: "0x24aC999FF132B32c5b3956973b6213B0d07eB2C7";
582
+ readonly haikuAgentAddress: "0x69495273D6Dc572A830A4D6e00400a1e9d5B8f71";
511
583
  readonly aggregatorsProxyUrl: string;
512
584
  readonly recoverFundsApi: string;
513
585
  readonly recoverFundsContract: `0x${string}`;
@@ -526,10 +598,6 @@ declare const config: {
526
598
  readonly name: "BeraHub";
527
599
  readonly url: "https://hub.berachain.com";
528
600
  };
529
- readonly foundation: {
530
- readonly name: "Berachain Foundation";
531
- readonly url: "https://www.berachain.com";
532
- };
533
601
  readonly governance: {
534
602
  readonly governor: "0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5";
535
603
  readonly timelock: "0xb5f2000b5744f207c931526cAE2134cAa8b6862a";
@@ -544,7 +612,6 @@ declare const config: {
544
612
  readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
545
613
  };
546
614
  readonly averageBlockTime: 2;
547
- readonly beApiKey: string;
548
615
  readonly bridge: {
549
616
  readonly name: "BeraBridge";
550
617
  readonly url: "https://bridge.berachain.com";
@@ -559,150 +626,15 @@ declare const config: {
559
626
  };
560
627
  };
561
628
  };
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
629
  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
630
  readonly name: "Bend";
703
631
  readonly url: "https://bend.berachain.com";
704
- readonly whiskApiUrl: string;
705
- readonly whiskApiKey: string;
632
+ readonly whiskApi: {
633
+ readonly uri: string;
634
+ readonly headers: {
635
+ Authorization: string;
636
+ } | undefined;
637
+ };
706
638
  readonly production: {
707
639
  readonly morpho: "0x24147243f9c08d835C218Cda1e135f8dFD0517D0";
708
640
  readonly adaptiveCurveIrm: "0xcf247Df3A2322Dea0D408f011c194906E77a6f62";
@@ -721,130 +653,6 @@ declare const config: {
721
653
  readonly generalAdapter1: "0x257a41E20BBfe90D750646C2e00bA700D55958C5";
722
654
  readonly supportedVaults: `0x${string}`[];
723
655
  };
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
- };
764
- readonly tokens: {
765
- readonly wbera: "0x6969696969696969696969696969696969696969";
766
- readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
767
- readonly bgt: "0x656b95E550C07a9ffe548bd4085c72418Ceb1dba";
768
- readonly wbtc: "0x";
769
- readonly weth: "0x";
770
- };
771
- readonly depositContract: "0x4242424242424242424242424242424242424242";
772
- readonly pol: {
773
- readonly rewardVaultHelper: "0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2";
774
- readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
775
- readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
776
- readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
777
- readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-1.7.0/gn";
778
- readonly bribeBoostApi: string;
779
- readonly bribeBoostApiKey: string;
780
- readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
781
- };
782
- readonly api: string;
783
- readonly blocksSubgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/blocks-subgraph/bepolia-v1.1.0/gn";
784
- readonly bex: {
785
- readonly chainName: "BEPOLIA";
786
- readonly vault: "0x708cA656b68A6b7384a488A36aD33505a77241FE";
787
- readonly helper: "0xC7c981ADcDC5d48fed0CD52807fb2bAB22676C8f";
788
- readonly queries: "0xE3723383a0EA73D5c0dE424BAA97F97f86f6cF92";
789
- readonly relayer: "0x343215E156Ff586711a5B8C49Fe3099BAF22624C";
790
- readonly factories: {
791
- readonly composableStable: "0xB60DbBaCEaeC23486a64d12089F467ef949f1bb1";
792
- readonly weighted: "0xf1d23276C7b271B2aC595C78977b2312E9954D57";
793
- };
794
- readonly poolCreationHelper: "0x0dC9964F6CA33d9EF38DEB4925234766127C6B36";
795
- readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-1.0.3/gn";
796
- readonly aggregatorsRouter: "0x0000000000000000000000000000000000000000";
797
- readonly aggregatorsRouterExecutor: "0x0000000000000000000000000000000000000000";
798
- readonly aggregatorsProxyUrl: string;
799
- readonly recoverFundsApi: "https://t3stbe4i5d40p.testnet.berachain.com";
800
- readonly recoverFundsContract: "0x0eFeC4379805fAFA7269Ec599a6921f388C8841a";
801
- };
802
- readonly honey: {
803
- readonly name: "Honey";
804
- readonly url: "https://bepolia.honey.berachain.com";
805
- readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/bepolia-v1.2.1/gn";
806
- readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
807
- readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
808
- readonly pythWrapper: "0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606";
809
- readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
810
- readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
811
- };
812
- readonly hub: {
813
- readonly name: "BeraHub";
814
- readonly url: "https://bepolia.hub.berachain.com";
815
- };
816
- readonly foundation: {
817
- readonly name: "Berachain Foundation";
818
- readonly url: "https://www.berachain.com";
819
- };
820
- readonly governance: {
821
- readonly governor: `0x${string}`;
822
- readonly timelock: `0x${string}`;
823
- readonly subgraph: string;
824
- };
825
- readonly lists: {
826
- readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/bepolia.json";
827
- readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/bepolia.json";
828
- readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/bepolia.json";
829
- };
830
- readonly external: {
831
- readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
832
- };
833
- readonly averageBlockTime: 2;
834
- readonly beApiKey: string;
835
- readonly bridge: {
836
- readonly name: "BeraBridge";
837
- readonly url: "https://bepolia.bridge.berachain.com";
838
- readonly nft: {
839
- readonly name: "BeraBridge NFT";
840
- readonly url: "#";
841
- readonly eth: {
842
- readonly subgraph: "#";
843
- };
844
- readonly berachain: {
845
- readonly subgraph: "#";
846
- };
847
- };
848
656
  };
849
657
  readonly explore: {
850
658
  readonly name: "Explore";
@@ -852,11 +660,12 @@ declare const config: {
852
660
  };
853
661
  readonly explorer: {
854
662
  readonly name: "Berascan";
855
- readonly url: "https://testnet.berascan.com";
663
+ readonly url: "https://berascan.com";
856
664
  };
857
665
  readonly chain: {
858
666
  readonly name: string;
859
667
  };
668
+ readonly faucet: null;
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 };