@berachain/config 0.0.3-beta.8 → 0.0.4
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.
- package/dist/bepolia.cjs +1 -1
- package/dist/bepolia.d.cts +29 -10
- package/dist/bepolia.d.ts +29 -10
- package/dist/bepolia.mjs +1 -0
- package/dist/chunk-2OLL4MUY.cjs +1 -0
- package/dist/chunk-3LFM4QG6.cjs +1 -0
- package/dist/chunk-5Q5FZIMO.cjs +2 -0
- package/dist/chunk-6CMG5CBG.cjs +1 -0
- package/dist/chunk-BQFHWAJZ.mjs +1 -0
- package/dist/chunk-CENF5RZA.mjs +1 -0
- package/dist/chunk-CM7FGHYU.mjs +2 -0
- package/dist/chunk-D2FG64PF.mjs +1 -0
- package/dist/chunk-DMFHUBNY.cjs +1 -0
- package/dist/chunk-FFCLEC63.mjs +1 -0
- package/dist/chunk-G2LROWQ2.mjs +1 -0
- package/dist/chunk-G3P5QJ2Y.cjs +1 -0
- package/dist/chunk-IV4GOAZB.cjs +1 -0
- package/dist/chunk-JVJKB7V7.mjs +1 -0
- package/dist/chunk-LJCOMNTL.cjs +1 -0
- package/dist/chunk-MS6UGFXI.mjs +1 -0
- package/dist/chunk-OQFLFE3X.cjs +1 -0
- package/dist/chunk-XTBMK2TL.mjs +1 -0
- package/dist/chunk-YUUHPTW6.mjs +1 -0
- package/dist/chunk-ZYHYMHGN.cjs +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +35 -7
- package/dist/index.d.ts +35 -7
- package/dist/index.mjs +1 -0
- package/dist/internal/edge-config/index.cjs +1 -1
- package/dist/internal/edge-config/index.d.cts +81 -28
- package/dist/internal/edge-config/index.d.ts +81 -28
- package/dist/internal/edge-config/index.mjs +1 -0
- package/dist/internal/flags/index.cjs +1 -1
- package/dist/internal/flags/index.d.cts +17 -7
- package/dist/internal/flags/index.d.ts +17 -7
- package/dist/internal/flags/index.mjs +1 -0
- package/dist/internal/header-sources.cjs +11 -8
- package/dist/internal/header-sources.d.cts +9 -2
- package/dist/internal/header-sources.d.ts +9 -2
- package/dist/internal/header-sources.mjs +16 -0
- package/dist/internal/index.cjs +1 -1
- package/dist/internal/index.d.cts +206 -69
- package/dist/internal/index.d.ts +206 -69
- package/dist/internal/index.mjs +1 -0
- package/dist/internal/maintenance.cjs +1 -1
- package/dist/internal/maintenance.mjs +1 -0
- package/dist/internal/nextjs/index.cjs +1 -1
- package/dist/internal/nextjs/index.d.cts +21 -1
- package/dist/internal/nextjs/index.d.ts +21 -1
- package/dist/internal/nextjs/index.mjs +1 -0
- package/dist/internal/nextjs/utils/index.cjs +1 -0
- package/dist/internal/nextjs/utils/index.d.cts +9 -0
- package/dist/internal/nextjs/utils/index.d.ts +9 -0
- package/dist/internal/nextjs/utils/index.mjs +1 -0
- package/dist/internal/sentry/index.cjs +1 -1
- package/dist/internal/sentry/index.d.cts +4 -2
- package/dist/internal/sentry/index.d.ts +4 -2
- package/dist/internal/sentry/index.mjs +1 -0
- package/dist/internal/sentry/sentry.client.config.cjs +1 -1
- package/dist/internal/sentry/sentry.client.config.d.cts +5 -1
- package/dist/internal/sentry/sentry.client.config.d.ts +5 -1
- package/dist/internal/sentry/sentry.client.config.mjs +1 -0
- package/dist/internal/tailwind/index.cjs +1 -1
- package/dist/internal/tailwind/index.d.cts +3 -3
- package/dist/internal/tailwind/index.d.ts +3 -3
- package/dist/internal/tailwind/index.mjs +1 -0
- package/dist/internal/tsup/index.cjs +1 -1
- package/dist/internal/tsup/index.mjs +1 -0
- package/dist/mainnet.cjs +1 -1
- package/dist/mainnet.d.cts +29 -10
- package/dist/mainnet.d.ts +29 -10
- package/dist/mainnet.mjs +1 -0
- package/dist/sentry.edge.config-M3L3XSD6.cjs +1 -0
- package/dist/sentry.edge.config-XKXCGZO7.mjs +1 -0
- package/dist/sentry.server.config-535N36OR.cjs +1 -0
- package/dist/sentry.server.config-HGGCJWT2.mjs +1 -0
- package/package.json +29 -26
- package/dist/bepolia.js +0 -1
- package/dist/chunk-3IPYHDYK.cjs +0 -1
- package/dist/chunk-4XX7D27F.cjs +0 -1
- package/dist/chunk-4ZZXDAVS.js +0 -1
- package/dist/chunk-6RLCJYH2.cjs +0 -1
- package/dist/chunk-BGHO3T7U.js +0 -1
- package/dist/chunk-BJUR72F2.js +0 -1
- package/dist/chunk-BLIYP7AF.cjs +0 -1
- package/dist/chunk-DC57JNAC.js +0 -1
- package/dist/chunk-E3O7UH5M.js +0 -1
- package/dist/chunk-EG5OHLHP.js +0 -1
- package/dist/chunk-GTGNP2XV.cjs +0 -1
- package/dist/chunk-HC2ORLQ3.cjs +0 -1
- package/dist/chunk-HNEK54FE.cjs +0 -2
- package/dist/chunk-K62SDMWX.cjs +0 -1
- package/dist/chunk-NDMUG2ND.js +0 -2
- package/dist/chunk-RS6KOT3C.js +0 -1
- package/dist/chunk-WL6PVJKK.js +0 -1
- package/dist/chunk-X73HWW5T.cjs +0 -1
- package/dist/index.js +0 -1
- package/dist/internal/edge-config/index.js +0 -1
- package/dist/internal/flags/index.js +0 -1
- package/dist/internal/header-sources.js +0 -13
- package/dist/internal/index.js +0 -1
- package/dist/internal/maintenance.js +0 -1
- package/dist/internal/nextjs/index.js +0 -1
- package/dist/internal/sentry/esbuild.plugin.cjs +0 -1
- package/dist/internal/sentry/esbuild.plugin.d.cts +0 -3
- package/dist/internal/sentry/esbuild.plugin.d.ts +0 -3
- package/dist/internal/sentry/esbuild.plugin.js +0 -1
- package/dist/internal/sentry/index.js +0 -1
- package/dist/internal/sentry/sentry.client.config.js +0 -1
- package/dist/internal/tailwind/index.js +0 -1
- package/dist/internal/tsup/index.js +0 -1
- package/dist/mainnet.js +0 -1
- package/dist/sentry.edge.config-UQQHM7RP.cjs +0 -1
- package/dist/sentry.edge.config-V6Q3YAS2.js +0 -1
- package/dist/sentry.server.config-45GGQXOQ.js +0 -1
- package/dist/sentry.server.config-7JEUQ6QA.cjs +0 -1
- /package/dist/{chunk-WOT6VMZA.js → chunk-JZXLCA2E.mjs} +0 -0
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
import { ChainId, Address } from '../index.cjs';
|
|
2
|
-
export { BeraConfig } from '../index.cjs';
|
|
1
|
+
import { ChainId, AppName, Address } from '../index.cjs';
|
|
2
|
+
export { BeraConfig, ProjectName } from '../index.cjs';
|
|
3
3
|
|
|
4
4
|
declare const defaultChainId: ChainId;
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* Name of the current dapp. Available only if using `withBeraConfig` from @berachain/config/internal/nextjs.
|
|
8
|
+
*/
|
|
9
|
+
declare const currentDapp: AppName | undefined;
|
|
10
|
+
|
|
6
11
|
/**
|
|
7
12
|
* Exporting here all variables that are used in the frontend.
|
|
8
13
|
* Avoids circular dependency with the config object.
|
|
9
14
|
*/
|
|
10
15
|
|
|
16
|
+
declare const cloudinaryBaseUrl = "https://res.cloudinary.com/duv0g402y/";
|
|
17
|
+
declare const goldskyBaseUrl = "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/";
|
|
11
18
|
/**
|
|
12
19
|
* Returns the RPC URLs for the given chain ID. If anvil is set, it will just return the anvil RPC URLs.
|
|
13
20
|
*/
|
|
@@ -41,6 +48,7 @@ declare const chainConfigs: {
|
|
|
41
48
|
};
|
|
42
49
|
readonly depositContract: "0x4242424242424242424242424242424242424242";
|
|
43
50
|
readonly pol: {
|
|
51
|
+
readonly rewardVaultHelper: "0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2";
|
|
44
52
|
readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
|
|
45
53
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
46
54
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
@@ -63,21 +71,21 @@ declare const chainConfigs: {
|
|
|
63
71
|
};
|
|
64
72
|
readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
|
|
65
73
|
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-v1.0.2/gn";
|
|
66
|
-
readonly aggregatorsRouter: "
|
|
67
|
-
readonly aggregatorsRouterExecutor: "
|
|
74
|
+
readonly aggregatorsRouter: "0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58";
|
|
75
|
+
readonly aggregatorsRouterExecutor: "0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8";
|
|
68
76
|
readonly aggregatorsProxyUrl: string;
|
|
77
|
+
readonly recoverFundsApi: string;
|
|
78
|
+
readonly recoverFundsContract: `0x${string}`;
|
|
69
79
|
};
|
|
70
80
|
readonly honey: {
|
|
71
81
|
readonly name: "Honey";
|
|
72
82
|
readonly url: "https://honey.berachain.com";
|
|
73
83
|
readonly subgraph: string;
|
|
74
84
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
85
|
+
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
75
86
|
readonly pythWrapper: "0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606";
|
|
76
|
-
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
77
87
|
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
78
88
|
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
79
|
-
readonly isPythWrapperEnabled: boolean;
|
|
80
|
-
readonly isCustodyEnabled: boolean;
|
|
81
89
|
};
|
|
82
90
|
readonly hub: {
|
|
83
91
|
readonly name: "BeraHub";
|
|
@@ -97,6 +105,9 @@ declare const chainConfigs: {
|
|
|
97
105
|
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/mainnet.json";
|
|
98
106
|
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/mainnet.json";
|
|
99
107
|
};
|
|
108
|
+
readonly external: {
|
|
109
|
+
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
110
|
+
};
|
|
100
111
|
readonly averageBlockTime: 2;
|
|
101
112
|
readonly beApiKey: string;
|
|
102
113
|
readonly bridge: {
|
|
@@ -116,11 +127,26 @@ declare const chainConfigs: {
|
|
|
116
127
|
readonly bend: {
|
|
117
128
|
readonly name: "Bend";
|
|
118
129
|
readonly url: "https://bend.berachain.com";
|
|
119
|
-
readonly
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
130
|
+
readonly whiskApiUrl: string;
|
|
131
|
+
readonly whiskApiKey: string;
|
|
132
|
+
readonly production: {
|
|
133
|
+
readonly morpho: "0x24147243f9c08d835C218Cda1e135f8dFD0517D0";
|
|
134
|
+
readonly adaptiveCurveIrm: "0xcf247Df3A2322Dea0D408f011c194906E77a6f62";
|
|
135
|
+
readonly metaMorphoFactory: "0x5EDd48C6ACBd565Eeb31702FD9fa9Cbc86fbE616";
|
|
136
|
+
readonly publicAllocator: "0xB62F34Ab315eaDeAc698e8EaEB6Fc2650951BFe7";
|
|
137
|
+
readonly bundler3: "0xF920140A65D0f412f2AB3e76C4fEAB5Eef0657ae";
|
|
138
|
+
readonly generalAdapter1: "0xd2B9667F5214115E27937C410cAeE83E3a901Df7";
|
|
139
|
+
readonly supportedVaults: `0x${string}`[];
|
|
140
|
+
};
|
|
141
|
+
readonly staging: {
|
|
142
|
+
readonly morpho: "0xC5FabF3a7E98a2ed89f5d5057Ab010634Ca7e71f";
|
|
143
|
+
readonly adaptiveCurveIrm: "0x1d5376e532CcF25b740270624111D665830E5dB9";
|
|
144
|
+
readonly metaMorphoFactory: "0x524061B659380a5e4576d76F0951303B20B5932f";
|
|
145
|
+
readonly publicAllocator: "0xFD6e68bC20be2a01Ec1Df687c83f927087D52811";
|
|
146
|
+
readonly bundler3: "0x56811e1BFfF951B98c7940d3aCe0e549Ec4fDee8";
|
|
147
|
+
readonly generalAdapter1: "0x257a41E20BBfe90D750646C2e00bA700D55958C5";
|
|
148
|
+
readonly supportedVaults: `0x${string}`[];
|
|
149
|
+
};
|
|
124
150
|
};
|
|
125
151
|
readonly explore: {
|
|
126
152
|
readonly name: "Explore";
|
|
@@ -144,10 +170,11 @@ declare const chainConfigs: {
|
|
|
144
170
|
};
|
|
145
171
|
readonly depositContract: "0x4242424242424242424242424242424242424242";
|
|
146
172
|
readonly pol: {
|
|
173
|
+
readonly rewardVaultHelper: "0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2";
|
|
147
174
|
readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
|
|
148
175
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
149
176
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
150
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-
|
|
177
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-1.7.0/gn";
|
|
151
178
|
readonly bribeBoostApi: string;
|
|
152
179
|
readonly bribeBoostApiKey: string;
|
|
153
180
|
readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
|
|
@@ -169,18 +196,18 @@ declare const chainConfigs: {
|
|
|
169
196
|
readonly aggregatorsRouter: "0x0000000000000000000000000000000000000000";
|
|
170
197
|
readonly aggregatorsRouterExecutor: "0x0000000000000000000000000000000000000000";
|
|
171
198
|
readonly aggregatorsProxyUrl: string;
|
|
199
|
+
readonly recoverFundsApi: "https://t3stbe4i5d40p.testnet.berachain.com";
|
|
200
|
+
readonly recoverFundsContract: "0x0eFeC4379805fAFA7269Ec599a6921f388C8841a";
|
|
172
201
|
};
|
|
173
202
|
readonly honey: {
|
|
174
203
|
readonly name: "Honey";
|
|
175
204
|
readonly url: "https://bepolia.honey.berachain.com";
|
|
176
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/bepolia-v1.
|
|
205
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/bepolia-v1.2.1/gn";
|
|
177
206
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
207
|
+
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
178
208
|
readonly pythWrapper: "0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606";
|
|
179
|
-
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
180
209
|
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
181
210
|
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
182
|
-
readonly isPythWrapperEnabled: boolean;
|
|
183
|
-
readonly isCustodyEnabled: boolean;
|
|
184
211
|
};
|
|
185
212
|
readonly hub: {
|
|
186
213
|
readonly name: "BeraHub";
|
|
@@ -200,6 +227,9 @@ declare const chainConfigs: {
|
|
|
200
227
|
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/bepolia.json";
|
|
201
228
|
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/bepolia.json";
|
|
202
229
|
};
|
|
230
|
+
readonly external: {
|
|
231
|
+
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
232
|
+
};
|
|
203
233
|
readonly averageBlockTime: 2;
|
|
204
234
|
readonly beApiKey: string;
|
|
205
235
|
readonly bridge: {
|
|
@@ -219,11 +249,26 @@ declare const chainConfigs: {
|
|
|
219
249
|
readonly bend: {
|
|
220
250
|
readonly name: "Bend";
|
|
221
251
|
readonly url: "https://bepolia.bend.berachain.com";
|
|
222
|
-
readonly
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
252
|
+
readonly whiskApiUrl: null;
|
|
253
|
+
readonly whiskApiKey: null;
|
|
254
|
+
readonly production: {
|
|
255
|
+
readonly morpho: null;
|
|
256
|
+
readonly adaptiveCurveIrm: null;
|
|
257
|
+
readonly metaMorphoFactory: null;
|
|
258
|
+
readonly publicAllocator: null;
|
|
259
|
+
readonly bundler3: null;
|
|
260
|
+
readonly generalAdapter1: null;
|
|
261
|
+
readonly supportedVaults: Address[];
|
|
262
|
+
};
|
|
263
|
+
readonly staging: {
|
|
264
|
+
readonly morpho: null;
|
|
265
|
+
readonly adaptiveCurveIrm: null;
|
|
266
|
+
readonly metaMorphoFactory: null;
|
|
267
|
+
readonly publicAllocator: null;
|
|
268
|
+
readonly bundler3: null;
|
|
269
|
+
readonly generalAdapter1: null;
|
|
270
|
+
readonly supportedVaults: Address[];
|
|
271
|
+
};
|
|
227
272
|
};
|
|
228
273
|
readonly explore: {
|
|
229
274
|
readonly name: "Explore";
|
|
@@ -239,6 +284,15 @@ declare const chainConfigs: {
|
|
|
239
284
|
};
|
|
240
285
|
};
|
|
241
286
|
declare const config: {
|
|
287
|
+
readonly flags: {
|
|
288
|
+
readonly isPosthogEnabled: boolean;
|
|
289
|
+
readonly isCookie3Enabled: boolean | "";
|
|
290
|
+
/**
|
|
291
|
+
* Disallow SEO indexing for non-mainnet deployments
|
|
292
|
+
*/
|
|
293
|
+
readonly disallowIndexing: boolean;
|
|
294
|
+
readonly hideCurator: false;
|
|
295
|
+
};
|
|
242
296
|
readonly apiKeys: {
|
|
243
297
|
readonly public: {
|
|
244
298
|
/**
|
|
@@ -250,6 +304,11 @@ declare const config: {
|
|
|
250
304
|
readonly cookie3SiteId: string;
|
|
251
305
|
};
|
|
252
306
|
readonly private: {
|
|
307
|
+
/**
|
|
308
|
+
* This is a low-security API key that is used to access internal API endpoints that do not
|
|
309
|
+
* expose any sensitive information. It's just used to avoid public access to these endpoints.
|
|
310
|
+
*/
|
|
311
|
+
readonly dummyInternalApiKey: string;
|
|
253
312
|
/**
|
|
254
313
|
* API key for events on Luma.
|
|
255
314
|
*
|
|
@@ -331,14 +390,6 @@ declare const config: {
|
|
|
331
390
|
readonly github: "https://github.com/berachain";
|
|
332
391
|
readonly buildabera: "https://buildabera.xyz/";
|
|
333
392
|
};
|
|
334
|
-
readonly flags: {
|
|
335
|
-
readonly developmentAnalyticsEnabled: boolean;
|
|
336
|
-
/**
|
|
337
|
-
* Disallow SEO indexing for non-mainnet deployments
|
|
338
|
-
*/
|
|
339
|
-
readonly disallowIndexing: boolean;
|
|
340
|
-
readonly hideCurator: false;
|
|
341
|
-
};
|
|
342
393
|
readonly bend: {
|
|
343
394
|
/**
|
|
344
395
|
* Margin from max LTV where warning will be shown about liquidation risk.
|
|
@@ -347,17 +398,37 @@ declare const config: {
|
|
|
347
398
|
readonly liquidationWarningLtvMargin: 0.05;
|
|
348
399
|
/**
|
|
349
400
|
* Safety margin subtracted from max LTV to determine borrow limit.
|
|
350
|
-
* e.g. if max LTV is 0.945, borrow limit will be 0.
|
|
401
|
+
* e.g. if max LTV is 0.945, borrow limit will be 0.895
|
|
351
402
|
*/
|
|
352
|
-
readonly maxBorrowLtvMargin: 0.
|
|
403
|
+
readonly maxBorrowLtvMargin: 0.05;
|
|
353
404
|
/**
|
|
354
405
|
* Target utilization rate for public allocator supply in WAD format (18 decimals).
|
|
355
406
|
* Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
|
|
356
407
|
*/
|
|
357
408
|
readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
|
|
409
|
+
readonly useProductionContracts: boolean;
|
|
358
410
|
readonly name: "Bend";
|
|
359
411
|
readonly url: "https://bend.berachain.com";
|
|
360
|
-
readonly
|
|
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
|
+
};
|
|
361
432
|
} | {
|
|
362
433
|
/**
|
|
363
434
|
* Margin from max LTV where warning will be shown about liquidation risk.
|
|
@@ -366,17 +437,37 @@ declare const config: {
|
|
|
366
437
|
readonly liquidationWarningLtvMargin: 0.05;
|
|
367
438
|
/**
|
|
368
439
|
* Safety margin subtracted from max LTV to determine borrow limit.
|
|
369
|
-
* e.g. if max LTV is 0.945, borrow limit will be 0.
|
|
440
|
+
* e.g. if max LTV is 0.945, borrow limit will be 0.895
|
|
370
441
|
*/
|
|
371
|
-
readonly maxBorrowLtvMargin: 0.
|
|
442
|
+
readonly maxBorrowLtvMargin: 0.05;
|
|
372
443
|
/**
|
|
373
444
|
* Target utilization rate for public allocator supply in WAD format (18 decimals).
|
|
374
445
|
* Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
|
|
375
446
|
*/
|
|
376
447
|
readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
|
|
448
|
+
readonly useProductionContracts: boolean;
|
|
377
449
|
readonly name: "Bend";
|
|
378
450
|
readonly url: "https://bepolia.bend.berachain.com";
|
|
379
|
-
readonly
|
|
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
|
+
};
|
|
380
471
|
};
|
|
381
472
|
readonly tokens: {
|
|
382
473
|
readonly wbera: "0x6969696969696969696969696969696969696969";
|
|
@@ -387,6 +478,7 @@ declare const config: {
|
|
|
387
478
|
};
|
|
388
479
|
readonly depositContract: "0x4242424242424242424242424242424242424242";
|
|
389
480
|
readonly pol: {
|
|
481
|
+
readonly rewardVaultHelper: "0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2";
|
|
390
482
|
readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
|
|
391
483
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
392
484
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
@@ -409,21 +501,21 @@ declare const config: {
|
|
|
409
501
|
};
|
|
410
502
|
readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
|
|
411
503
|
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-v1.0.2/gn";
|
|
412
|
-
readonly aggregatorsRouter: "
|
|
413
|
-
readonly aggregatorsRouterExecutor: "
|
|
504
|
+
readonly aggregatorsRouter: "0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58";
|
|
505
|
+
readonly aggregatorsRouterExecutor: "0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8";
|
|
414
506
|
readonly aggregatorsProxyUrl: string;
|
|
507
|
+
readonly recoverFundsApi: string;
|
|
508
|
+
readonly recoverFundsContract: `0x${string}`;
|
|
415
509
|
};
|
|
416
510
|
readonly honey: {
|
|
417
511
|
readonly name: "Honey";
|
|
418
512
|
readonly url: "https://honey.berachain.com";
|
|
419
513
|
readonly subgraph: string;
|
|
420
514
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
515
|
+
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
421
516
|
readonly pythWrapper: "0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606";
|
|
422
|
-
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
423
517
|
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
424
518
|
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
425
|
-
readonly isPythWrapperEnabled: boolean;
|
|
426
|
-
readonly isCustodyEnabled: boolean;
|
|
427
519
|
};
|
|
428
520
|
readonly hub: {
|
|
429
521
|
readonly name: "BeraHub";
|
|
@@ -443,6 +535,9 @@ declare const config: {
|
|
|
443
535
|
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/mainnet.json";
|
|
444
536
|
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/mainnet.json";
|
|
445
537
|
};
|
|
538
|
+
readonly external: {
|
|
539
|
+
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
540
|
+
};
|
|
446
541
|
readonly averageBlockTime: 2;
|
|
447
542
|
readonly beApiKey: string;
|
|
448
543
|
readonly bridge: {
|
|
@@ -459,10 +554,6 @@ declare const config: {
|
|
|
459
554
|
};
|
|
460
555
|
};
|
|
461
556
|
};
|
|
462
|
-
readonly berps: {
|
|
463
|
-
readonly name: "Berps";
|
|
464
|
-
readonly url: "#";
|
|
465
|
-
};
|
|
466
557
|
readonly explore: {
|
|
467
558
|
readonly name: "Explore";
|
|
468
559
|
readonly url: "https://explore.berachain.com";
|
|
@@ -475,6 +566,15 @@ declare const config: {
|
|
|
475
566
|
readonly name: string;
|
|
476
567
|
};
|
|
477
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
|
+
};
|
|
478
578
|
readonly apiKeys: {
|
|
479
579
|
readonly public: {
|
|
480
580
|
/**
|
|
@@ -486,6 +586,11 @@ declare const config: {
|
|
|
486
586
|
readonly cookie3SiteId: string;
|
|
487
587
|
};
|
|
488
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;
|
|
489
594
|
/**
|
|
490
595
|
* API key for events on Luma.
|
|
491
596
|
*
|
|
@@ -567,14 +672,6 @@ declare const config: {
|
|
|
567
672
|
readonly github: "https://github.com/berachain";
|
|
568
673
|
readonly buildabera: "https://buildabera.xyz/";
|
|
569
674
|
};
|
|
570
|
-
readonly flags: {
|
|
571
|
-
readonly developmentAnalyticsEnabled: boolean;
|
|
572
|
-
/**
|
|
573
|
-
* Disallow SEO indexing for non-mainnet deployments
|
|
574
|
-
*/
|
|
575
|
-
readonly disallowIndexing: boolean;
|
|
576
|
-
readonly hideCurator: false;
|
|
577
|
-
};
|
|
578
675
|
readonly bend: {
|
|
579
676
|
/**
|
|
580
677
|
* Margin from max LTV where warning will be shown about liquidation risk.
|
|
@@ -583,17 +680,37 @@ declare const config: {
|
|
|
583
680
|
readonly liquidationWarningLtvMargin: 0.05;
|
|
584
681
|
/**
|
|
585
682
|
* Safety margin subtracted from max LTV to determine borrow limit.
|
|
586
|
-
* e.g. if max LTV is 0.945, borrow limit will be 0.
|
|
683
|
+
* e.g. if max LTV is 0.945, borrow limit will be 0.895
|
|
587
684
|
*/
|
|
588
|
-
readonly maxBorrowLtvMargin: 0.
|
|
685
|
+
readonly maxBorrowLtvMargin: 0.05;
|
|
589
686
|
/**
|
|
590
687
|
* Target utilization rate for public allocator supply in WAD format (18 decimals).
|
|
591
688
|
* Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
|
|
592
689
|
*/
|
|
593
690
|
readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
|
|
691
|
+
readonly useProductionContracts: boolean;
|
|
594
692
|
readonly name: "Bend";
|
|
595
693
|
readonly url: "https://bend.berachain.com";
|
|
596
|
-
readonly
|
|
694
|
+
readonly whiskApiUrl: string;
|
|
695
|
+
readonly whiskApiKey: string;
|
|
696
|
+
readonly production: {
|
|
697
|
+
readonly morpho: "0x24147243f9c08d835C218Cda1e135f8dFD0517D0";
|
|
698
|
+
readonly adaptiveCurveIrm: "0xcf247Df3A2322Dea0D408f011c194906E77a6f62";
|
|
699
|
+
readonly metaMorphoFactory: "0x5EDd48C6ACBd565Eeb31702FD9fa9Cbc86fbE616";
|
|
700
|
+
readonly publicAllocator: "0xB62F34Ab315eaDeAc698e8EaEB6Fc2650951BFe7";
|
|
701
|
+
readonly bundler3: "0xF920140A65D0f412f2AB3e76C4fEAB5Eef0657ae";
|
|
702
|
+
readonly generalAdapter1: "0xd2B9667F5214115E27937C410cAeE83E3a901Df7";
|
|
703
|
+
readonly supportedVaults: `0x${string}`[];
|
|
704
|
+
};
|
|
705
|
+
readonly staging: {
|
|
706
|
+
readonly morpho: "0xC5FabF3a7E98a2ed89f5d5057Ab010634Ca7e71f";
|
|
707
|
+
readonly adaptiveCurveIrm: "0x1d5376e532CcF25b740270624111D665830E5dB9";
|
|
708
|
+
readonly metaMorphoFactory: "0x524061B659380a5e4576d76F0951303B20B5932f";
|
|
709
|
+
readonly publicAllocator: "0xFD6e68bC20be2a01Ec1Df687c83f927087D52811";
|
|
710
|
+
readonly bundler3: "0x56811e1BFfF951B98c7940d3aCe0e549Ec4fDee8";
|
|
711
|
+
readonly generalAdapter1: "0x257a41E20BBfe90D750646C2e00bA700D55958C5";
|
|
712
|
+
readonly supportedVaults: `0x${string}`[];
|
|
713
|
+
};
|
|
597
714
|
} | {
|
|
598
715
|
/**
|
|
599
716
|
* Margin from max LTV where warning will be shown about liquidation risk.
|
|
@@ -602,17 +719,37 @@ declare const config: {
|
|
|
602
719
|
readonly liquidationWarningLtvMargin: 0.05;
|
|
603
720
|
/**
|
|
604
721
|
* Safety margin subtracted from max LTV to determine borrow limit.
|
|
605
|
-
* e.g. if max LTV is 0.945, borrow limit will be 0.
|
|
722
|
+
* e.g. if max LTV is 0.945, borrow limit will be 0.895
|
|
606
723
|
*/
|
|
607
|
-
readonly maxBorrowLtvMargin: 0.
|
|
724
|
+
readonly maxBorrowLtvMargin: 0.05;
|
|
608
725
|
/**
|
|
609
726
|
* Target utilization rate for public allocator supply in WAD format (18 decimals).
|
|
610
727
|
* Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
|
|
611
728
|
*/
|
|
612
729
|
readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
|
|
730
|
+
readonly useProductionContracts: boolean;
|
|
613
731
|
readonly name: "Bend";
|
|
614
732
|
readonly url: "https://bepolia.bend.berachain.com";
|
|
615
|
-
readonly
|
|
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
|
+
};
|
|
616
753
|
};
|
|
617
754
|
readonly tokens: {
|
|
618
755
|
readonly wbera: "0x6969696969696969696969696969696969696969";
|
|
@@ -623,10 +760,11 @@ declare const config: {
|
|
|
623
760
|
};
|
|
624
761
|
readonly depositContract: "0x4242424242424242424242424242424242424242";
|
|
625
762
|
readonly pol: {
|
|
763
|
+
readonly rewardVaultHelper: "0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2";
|
|
626
764
|
readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
|
|
627
765
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
628
766
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
629
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-
|
|
767
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-1.7.0/gn";
|
|
630
768
|
readonly bribeBoostApi: string;
|
|
631
769
|
readonly bribeBoostApiKey: string;
|
|
632
770
|
readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
|
|
@@ -648,18 +786,18 @@ declare const config: {
|
|
|
648
786
|
readonly aggregatorsRouter: "0x0000000000000000000000000000000000000000";
|
|
649
787
|
readonly aggregatorsRouterExecutor: "0x0000000000000000000000000000000000000000";
|
|
650
788
|
readonly aggregatorsProxyUrl: string;
|
|
789
|
+
readonly recoverFundsApi: "https://t3stbe4i5d40p.testnet.berachain.com";
|
|
790
|
+
readonly recoverFundsContract: "0x0eFeC4379805fAFA7269Ec599a6921f388C8841a";
|
|
651
791
|
};
|
|
652
792
|
readonly honey: {
|
|
653
793
|
readonly name: "Honey";
|
|
654
794
|
readonly url: "https://bepolia.honey.berachain.com";
|
|
655
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/bepolia-v1.
|
|
795
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/bepolia-v1.2.1/gn";
|
|
656
796
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
797
|
+
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
657
798
|
readonly pythWrapper: "0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606";
|
|
658
|
-
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
659
799
|
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
660
800
|
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
661
|
-
readonly isPythWrapperEnabled: boolean;
|
|
662
|
-
readonly isCustodyEnabled: boolean;
|
|
663
801
|
};
|
|
664
802
|
readonly hub: {
|
|
665
803
|
readonly name: "BeraHub";
|
|
@@ -679,6 +817,9 @@ declare const config: {
|
|
|
679
817
|
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/bepolia.json";
|
|
680
818
|
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/bepolia.json";
|
|
681
819
|
};
|
|
820
|
+
readonly external: {
|
|
821
|
+
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
822
|
+
};
|
|
682
823
|
readonly averageBlockTime: 2;
|
|
683
824
|
readonly beApiKey: string;
|
|
684
825
|
readonly bridge: {
|
|
@@ -695,10 +836,6 @@ declare const config: {
|
|
|
695
836
|
};
|
|
696
837
|
};
|
|
697
838
|
};
|
|
698
|
-
readonly berps: {
|
|
699
|
-
readonly name: "Berps";
|
|
700
|
-
readonly url: "#";
|
|
701
|
-
};
|
|
702
839
|
readonly explore: {
|
|
703
840
|
readonly name: "Explore";
|
|
704
841
|
readonly url: "https://explore.berachain.com";
|
|
@@ -712,4 +849,4 @@ declare const config: {
|
|
|
712
849
|
};
|
|
713
850
|
};
|
|
714
851
|
|
|
715
|
-
export { Address, ChainId, alchemyJsonRpcUrl, chainConfigs, defaultChainId as chainId, config, defaultChainId, getRpcUrls, jsonRpcUrl, privateRcpUrl, publicJsonRpcUrl };
|
|
852
|
+
export { Address, AppName, ChainId, alchemyJsonRpcUrl, chainConfigs, defaultChainId as chainId, cloudinaryBaseUrl, config, currentDapp, defaultChainId, getRpcUrls, goldskyBaseUrl, jsonRpcUrl, privateRcpUrl, publicJsonRpcUrl };
|