@berachain/config 0.0.3 → 0.0.5
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 +30 -11
- package/dist/bepolia.d.ts +30 -11
- package/dist/bepolia.mjs +1 -0
- package/dist/chunk-2OLL4MUY.cjs +1 -0
- package/dist/chunk-2X5W4YR4.mjs +1 -0
- package/dist/chunk-32CWUFQY.cjs +1 -0
- package/dist/chunk-3LFM4QG6.cjs +1 -0
- package/dist/chunk-5Q5FZIMO.cjs +2 -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-JVJKB7V7.mjs +1 -0
- package/dist/chunk-LJCOMNTL.cjs +1 -0
- package/dist/chunk-MHNEK2A2.cjs +1 -0
- package/dist/chunk-MS6UGFXI.mjs +1 -0
- package/dist/chunk-OQFLFE3X.cjs +1 -0
- package/dist/chunk-TSH4FNVH.mjs +1 -0
- package/dist/chunk-WKOAF2ML.mjs +1 -0
- package/dist/chunk-WNGB3G3V.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 +93 -32
- package/dist/internal/edge-config/index.d.ts +93 -32
- package/dist/internal/edge-config/index.mjs +1 -0
- package/dist/internal/flags/index.cjs +1 -1
- package/dist/internal/flags/index.d.cts +19 -7
- package/dist/internal/flags/index.d.ts +19 -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 +278 -131
- package/dist/internal/index.d.ts +278 -131
- 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 +30 -11
- package/dist/mainnet.d.ts +30 -11
- 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
package/dist/internal/index.d.ts
CHANGED
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
import { ChainId, Address } from '../index.js';
|
|
2
|
-
export { BeraConfig } from '../index.js';
|
|
1
|
+
import { ChainId, AppName, Address } from '../index.js';
|
|
2
|
+
export { BeraConfig, ProjectName } from '../index.js';
|
|
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";
|
|
@@ -62,22 +70,22 @@ declare const chainConfigs: {
|
|
|
62
70
|
readonly weighted: "0xa966fA8F2d5B087FFFA499C0C1240589371Af409";
|
|
63
71
|
};
|
|
64
72
|
readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
|
|
65
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-
|
|
66
|
-
readonly aggregatorsRouter: "
|
|
67
|
-
readonly aggregatorsRouterExecutor: "
|
|
73
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-1.0.3/gn";
|
|
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";
|
|
@@ -165,22 +192,22 @@ declare const chainConfigs: {
|
|
|
165
192
|
readonly weighted: "0xf1d23276C7b271B2aC595C78977b2312E9954D57";
|
|
166
193
|
};
|
|
167
194
|
readonly poolCreationHelper: "0x0dC9964F6CA33d9EF38DEB4925234766127C6B36";
|
|
168
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-
|
|
195
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-1.0.3/gn";
|
|
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
|
/**
|
|
@@ -246,10 +300,20 @@ declare const config: {
|
|
|
246
300
|
* Please create your own API key and add it to your .env.local file
|
|
247
301
|
*/
|
|
248
302
|
readonly dynamicWallet: string;
|
|
303
|
+
/**
|
|
304
|
+
* This is only going to work on whitelisted domains.
|
|
305
|
+
* Please create your own API key and add it to your .env.local file
|
|
306
|
+
*/
|
|
307
|
+
readonly thirdweb: string;
|
|
249
308
|
readonly postHogProjectKey: "phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax";
|
|
250
309
|
readonly cookie3SiteId: string;
|
|
251
310
|
};
|
|
252
311
|
readonly private: {
|
|
312
|
+
/**
|
|
313
|
+
* This is a low-security API key that is used to access internal API endpoints that do not
|
|
314
|
+
* expose any sensitive information. It's just used to avoid public access to these endpoints.
|
|
315
|
+
*/
|
|
316
|
+
readonly dummyInternalApiKey: string;
|
|
253
317
|
/**
|
|
254
318
|
* API key for events on Luma.
|
|
255
319
|
*
|
|
@@ -331,14 +395,6 @@ declare const config: {
|
|
|
331
395
|
readonly github: "https://github.com/berachain";
|
|
332
396
|
readonly buildabera: "https://buildabera.xyz/";
|
|
333
397
|
};
|
|
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
398
|
readonly bend: {
|
|
343
399
|
/**
|
|
344
400
|
* Margin from max LTV where warning will be shown about liquidation risk.
|
|
@@ -347,17 +403,37 @@ declare const config: {
|
|
|
347
403
|
readonly liquidationWarningLtvMargin: 0.05;
|
|
348
404
|
/**
|
|
349
405
|
* Safety margin subtracted from max LTV to determine borrow limit.
|
|
350
|
-
* e.g. if max LTV is 0.945, borrow limit will be 0.
|
|
406
|
+
* e.g. if max LTV is 0.945, borrow limit will be 0.895
|
|
351
407
|
*/
|
|
352
|
-
readonly maxBorrowLtvMargin: 0.
|
|
408
|
+
readonly maxBorrowLtvMargin: 0.05;
|
|
353
409
|
/**
|
|
354
410
|
* Target utilization rate for public allocator supply in WAD format (18 decimals).
|
|
355
411
|
* Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
|
|
356
412
|
*/
|
|
357
413
|
readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
|
|
414
|
+
readonly useProductionContracts: boolean;
|
|
358
415
|
readonly name: "Bend";
|
|
359
|
-
readonly url: "https://
|
|
360
|
-
readonly
|
|
416
|
+
readonly url: "https://bend.berachain.com";
|
|
417
|
+
readonly whiskApiUrl: string;
|
|
418
|
+
readonly whiskApiKey: string;
|
|
419
|
+
readonly production: {
|
|
420
|
+
readonly morpho: "0x24147243f9c08d835C218Cda1e135f8dFD0517D0";
|
|
421
|
+
readonly adaptiveCurveIrm: "0xcf247Df3A2322Dea0D408f011c194906E77a6f62";
|
|
422
|
+
readonly metaMorphoFactory: "0x5EDd48C6ACBd565Eeb31702FD9fa9Cbc86fbE616";
|
|
423
|
+
readonly publicAllocator: "0xB62F34Ab315eaDeAc698e8EaEB6Fc2650951BFe7";
|
|
424
|
+
readonly bundler3: "0xF920140A65D0f412f2AB3e76C4fEAB5Eef0657ae";
|
|
425
|
+
readonly generalAdapter1: "0xd2B9667F5214115E27937C410cAeE83E3a901Df7";
|
|
426
|
+
readonly supportedVaults: `0x${string}`[];
|
|
427
|
+
};
|
|
428
|
+
readonly staging: {
|
|
429
|
+
readonly morpho: "0xC5FabF3a7E98a2ed89f5d5057Ab010634Ca7e71f";
|
|
430
|
+
readonly adaptiveCurveIrm: "0x1d5376e532CcF25b740270624111D665830E5dB9";
|
|
431
|
+
readonly metaMorphoFactory: "0x524061B659380a5e4576d76F0951303B20B5932f";
|
|
432
|
+
readonly publicAllocator: "0xFD6e68bC20be2a01Ec1Df687c83f927087D52811";
|
|
433
|
+
readonly bundler3: "0x56811e1BFfF951B98c7940d3aCe0e549Ec4fDee8";
|
|
434
|
+
readonly generalAdapter1: "0x257a41E20BBfe90D750646C2e00bA700D55958C5";
|
|
435
|
+
readonly supportedVaults: `0x${string}`[];
|
|
436
|
+
};
|
|
361
437
|
} | {
|
|
362
438
|
/**
|
|
363
439
|
* Margin from max LTV where warning will be shown about liquidation risk.
|
|
@@ -366,115 +442,144 @@ declare const config: {
|
|
|
366
442
|
readonly liquidationWarningLtvMargin: 0.05;
|
|
367
443
|
/**
|
|
368
444
|
* Safety margin subtracted from max LTV to determine borrow limit.
|
|
369
|
-
* e.g. if max LTV is 0.945, borrow limit will be 0.
|
|
445
|
+
* e.g. if max LTV is 0.945, borrow limit will be 0.895
|
|
370
446
|
*/
|
|
371
|
-
readonly maxBorrowLtvMargin: 0.
|
|
447
|
+
readonly maxBorrowLtvMargin: 0.05;
|
|
372
448
|
/**
|
|
373
449
|
* Target utilization rate for public allocator supply in WAD format (18 decimals).
|
|
374
450
|
* Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
|
|
375
451
|
*/
|
|
376
452
|
readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
|
|
453
|
+
readonly useProductionContracts: boolean;
|
|
377
454
|
readonly name: "Bend";
|
|
378
|
-
readonly url: "https://bend.berachain.com";
|
|
379
|
-
readonly
|
|
455
|
+
readonly url: "https://bepolia.bend.berachain.com";
|
|
456
|
+
readonly whiskApiUrl: null;
|
|
457
|
+
readonly whiskApiKey: null;
|
|
458
|
+
readonly production: {
|
|
459
|
+
readonly morpho: null;
|
|
460
|
+
readonly adaptiveCurveIrm: null;
|
|
461
|
+
readonly metaMorphoFactory: null;
|
|
462
|
+
readonly publicAllocator: null;
|
|
463
|
+
readonly bundler3: null;
|
|
464
|
+
readonly generalAdapter1: null;
|
|
465
|
+
readonly supportedVaults: Address[];
|
|
466
|
+
};
|
|
467
|
+
readonly staging: {
|
|
468
|
+
readonly morpho: null;
|
|
469
|
+
readonly adaptiveCurveIrm: null;
|
|
470
|
+
readonly metaMorphoFactory: null;
|
|
471
|
+
readonly publicAllocator: null;
|
|
472
|
+
readonly bundler3: null;
|
|
473
|
+
readonly generalAdapter1: null;
|
|
474
|
+
readonly supportedVaults: Address[];
|
|
475
|
+
};
|
|
380
476
|
};
|
|
381
477
|
readonly tokens: {
|
|
382
478
|
readonly wbera: "0x6969696969696969696969696969696969696969";
|
|
383
479
|
readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
|
|
384
480
|
readonly bgt: "0x656b95E550C07a9ffe548bd4085c72418Ceb1dba";
|
|
385
|
-
readonly wbtc: "
|
|
386
|
-
readonly weth: "
|
|
481
|
+
readonly wbtc: "0x0555E30da8f98308EdB960aa94C0Db47230d2B9c";
|
|
482
|
+
readonly weth: "0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590";
|
|
387
483
|
};
|
|
388
484
|
readonly depositContract: "0x4242424242424242424242424242424242424242";
|
|
389
485
|
readonly pol: {
|
|
486
|
+
readonly rewardVaultHelper: "0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2";
|
|
390
487
|
readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
|
|
391
488
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
392
489
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
393
|
-
readonly subgraph:
|
|
490
|
+
readonly subgraph: string;
|
|
394
491
|
readonly bribeBoostApi: string;
|
|
395
492
|
readonly bribeBoostApiKey: string;
|
|
396
|
-
readonly bgtIncentiveDistributor: "
|
|
493
|
+
readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
|
|
397
494
|
};
|
|
398
495
|
readonly api: string;
|
|
399
|
-
readonly blocksSubgraph:
|
|
496
|
+
readonly blocksSubgraph: string;
|
|
400
497
|
readonly bex: {
|
|
401
|
-
readonly chainName: "
|
|
402
|
-
readonly vault: "
|
|
403
|
-
readonly helper: "
|
|
404
|
-
readonly queries: "
|
|
405
|
-
readonly relayer: "
|
|
498
|
+
readonly chainName: "BERACHAIN";
|
|
499
|
+
readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
|
|
500
|
+
readonly helper: "0x5083737EC75a728c265BE578C9d0d5333a2c5951";
|
|
501
|
+
readonly queries: "0x3C612e132624f4Bd500eE1495F54565F0bcc9b59";
|
|
502
|
+
readonly relayer: "0x6044f181aB5E9C05A4ed9Ce295f3B178d2492EE7";
|
|
406
503
|
readonly factories: {
|
|
407
|
-
readonly composableStable: "
|
|
408
|
-
readonly weighted: "
|
|
504
|
+
readonly composableStable: "0xDfA30BDa0375d4763711AB0CC8D91B20bfCC87E1";
|
|
505
|
+
readonly weighted: "0xa966fA8F2d5B087FFFA499C0C1240589371Af409";
|
|
409
506
|
};
|
|
410
|
-
readonly poolCreationHelper: "
|
|
411
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/
|
|
412
|
-
readonly aggregatorsRouter: "
|
|
413
|
-
readonly aggregatorsRouterExecutor: "
|
|
507
|
+
readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
|
|
508
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-1.0.3/gn";
|
|
509
|
+
readonly aggregatorsRouter: "0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58";
|
|
510
|
+
readonly aggregatorsRouterExecutor: "0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8";
|
|
414
511
|
readonly aggregatorsProxyUrl: string;
|
|
512
|
+
readonly recoverFundsApi: string;
|
|
513
|
+
readonly recoverFundsContract: `0x${string}`;
|
|
415
514
|
};
|
|
416
515
|
readonly honey: {
|
|
417
516
|
readonly name: "Honey";
|
|
418
|
-
readonly url: "https://
|
|
419
|
-
readonly subgraph:
|
|
517
|
+
readonly url: "https://honey.berachain.com";
|
|
518
|
+
readonly subgraph: string;
|
|
420
519
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
520
|
+
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
421
521
|
readonly pythWrapper: "0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606";
|
|
422
|
-
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
423
522
|
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
424
523
|
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
425
|
-
readonly isPythWrapperEnabled: boolean;
|
|
426
|
-
readonly isCustodyEnabled: boolean;
|
|
427
524
|
};
|
|
428
525
|
readonly hub: {
|
|
429
526
|
readonly name: "BeraHub";
|
|
430
|
-
readonly url: "https://
|
|
527
|
+
readonly url: "https://hub.berachain.com";
|
|
431
528
|
};
|
|
432
529
|
readonly foundation: {
|
|
433
530
|
readonly name: "Berachain Foundation";
|
|
434
531
|
readonly url: "https://www.berachain.com";
|
|
435
532
|
};
|
|
436
533
|
readonly governance: {
|
|
437
|
-
readonly governor:
|
|
438
|
-
readonly timelock:
|
|
439
|
-
readonly subgraph:
|
|
534
|
+
readonly governor: "0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5";
|
|
535
|
+
readonly timelock: "0xb5f2000b5744f207c931526cAE2134cAa8b6862a";
|
|
536
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/governance-subgraph/mainnet-v1.1.1/gn";
|
|
440
537
|
};
|
|
441
538
|
readonly lists: {
|
|
442
|
-
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/
|
|
443
|
-
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/
|
|
444
|
-
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/
|
|
539
|
+
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/mainnet.json";
|
|
540
|
+
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/mainnet.json";
|
|
541
|
+
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/mainnet.json";
|
|
542
|
+
};
|
|
543
|
+
readonly external: {
|
|
544
|
+
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
445
545
|
};
|
|
446
546
|
readonly averageBlockTime: 2;
|
|
447
547
|
readonly beApiKey: string;
|
|
448
548
|
readonly bridge: {
|
|
449
549
|
readonly name: "BeraBridge";
|
|
450
|
-
readonly url: "https://
|
|
550
|
+
readonly url: "https://bridge.berachain.com";
|
|
451
551
|
readonly nft: {
|
|
452
552
|
readonly name: "BeraBridge NFT";
|
|
453
|
-
readonly url: "
|
|
553
|
+
readonly url: "https://nftbridge.berachain.com";
|
|
454
554
|
readonly eth: {
|
|
455
|
-
readonly subgraph: "
|
|
555
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/nft-bridge-subgraph/eth-v1.0.0-beta1/gn";
|
|
456
556
|
};
|
|
457
557
|
readonly berachain: {
|
|
458
|
-
readonly subgraph: "
|
|
558
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/nft-bridge-subgraph/mainnet-v1.0.0-beta1/gn";
|
|
459
559
|
};
|
|
460
560
|
};
|
|
461
561
|
};
|
|
462
|
-
readonly berps: {
|
|
463
|
-
readonly name: "Berps";
|
|
464
|
-
readonly url: "#";
|
|
465
|
-
};
|
|
466
562
|
readonly explore: {
|
|
467
563
|
readonly name: "Explore";
|
|
468
564
|
readonly url: "https://explore.berachain.com";
|
|
469
565
|
};
|
|
470
566
|
readonly explorer: {
|
|
471
567
|
readonly name: "Berascan";
|
|
472
|
-
readonly url: "https://
|
|
568
|
+
readonly url: "https://berascan.com";
|
|
473
569
|
};
|
|
474
570
|
readonly chain: {
|
|
475
571
|
readonly name: string;
|
|
476
572
|
};
|
|
477
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
|
+
};
|
|
478
583
|
readonly apiKeys: {
|
|
479
584
|
readonly public: {
|
|
480
585
|
/**
|
|
@@ -482,10 +587,20 @@ declare const config: {
|
|
|
482
587
|
* Please create your own API key and add it to your .env.local file
|
|
483
588
|
*/
|
|
484
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;
|
|
485
595
|
readonly postHogProjectKey: "phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax";
|
|
486
596
|
readonly cookie3SiteId: string;
|
|
487
597
|
};
|
|
488
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;
|
|
489
604
|
/**
|
|
490
605
|
* API key for events on Luma.
|
|
491
606
|
*
|
|
@@ -567,14 +682,6 @@ declare const config: {
|
|
|
567
682
|
readonly github: "https://github.com/berachain";
|
|
568
683
|
readonly buildabera: "https://buildabera.xyz/";
|
|
569
684
|
};
|
|
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
685
|
readonly bend: {
|
|
579
686
|
/**
|
|
580
687
|
* Margin from max LTV where warning will be shown about liquidation risk.
|
|
@@ -583,17 +690,37 @@ declare const config: {
|
|
|
583
690
|
readonly liquidationWarningLtvMargin: 0.05;
|
|
584
691
|
/**
|
|
585
692
|
* Safety margin subtracted from max LTV to determine borrow limit.
|
|
586
|
-
* e.g. if max LTV is 0.945, borrow limit will be 0.
|
|
693
|
+
* e.g. if max LTV is 0.945, borrow limit will be 0.895
|
|
587
694
|
*/
|
|
588
|
-
readonly maxBorrowLtvMargin: 0.
|
|
695
|
+
readonly maxBorrowLtvMargin: 0.05;
|
|
589
696
|
/**
|
|
590
697
|
* Target utilization rate for public allocator supply in WAD format (18 decimals).
|
|
591
698
|
* Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
|
|
592
699
|
*/
|
|
593
700
|
readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
|
|
701
|
+
readonly useProductionContracts: boolean;
|
|
594
702
|
readonly name: "Bend";
|
|
595
|
-
readonly url: "https://
|
|
596
|
-
readonly
|
|
703
|
+
readonly url: "https://bend.berachain.com";
|
|
704
|
+
readonly whiskApiUrl: string;
|
|
705
|
+
readonly whiskApiKey: string;
|
|
706
|
+
readonly production: {
|
|
707
|
+
readonly morpho: "0x24147243f9c08d835C218Cda1e135f8dFD0517D0";
|
|
708
|
+
readonly adaptiveCurveIrm: "0xcf247Df3A2322Dea0D408f011c194906E77a6f62";
|
|
709
|
+
readonly metaMorphoFactory: "0x5EDd48C6ACBd565Eeb31702FD9fa9Cbc86fbE616";
|
|
710
|
+
readonly publicAllocator: "0xB62F34Ab315eaDeAc698e8EaEB6Fc2650951BFe7";
|
|
711
|
+
readonly bundler3: "0xF920140A65D0f412f2AB3e76C4fEAB5Eef0657ae";
|
|
712
|
+
readonly generalAdapter1: "0xd2B9667F5214115E27937C410cAeE83E3a901Df7";
|
|
713
|
+
readonly supportedVaults: `0x${string}`[];
|
|
714
|
+
};
|
|
715
|
+
readonly staging: {
|
|
716
|
+
readonly morpho: "0xC5FabF3a7E98a2ed89f5d5057Ab010634Ca7e71f";
|
|
717
|
+
readonly adaptiveCurveIrm: "0x1d5376e532CcF25b740270624111D665830E5dB9";
|
|
718
|
+
readonly metaMorphoFactory: "0x524061B659380a5e4576d76F0951303B20B5932f";
|
|
719
|
+
readonly publicAllocator: "0xFD6e68bC20be2a01Ec1Df687c83f927087D52811";
|
|
720
|
+
readonly bundler3: "0x56811e1BFfF951B98c7940d3aCe0e549Ec4fDee8";
|
|
721
|
+
readonly generalAdapter1: "0x257a41E20BBfe90D750646C2e00bA700D55958C5";
|
|
722
|
+
readonly supportedVaults: `0x${string}`[];
|
|
723
|
+
};
|
|
597
724
|
} | {
|
|
598
725
|
/**
|
|
599
726
|
* Margin from max LTV where warning will be shown about liquidation risk.
|
|
@@ -602,114 +729,134 @@ declare const config: {
|
|
|
602
729
|
readonly liquidationWarningLtvMargin: 0.05;
|
|
603
730
|
/**
|
|
604
731
|
* Safety margin subtracted from max LTV to determine borrow limit.
|
|
605
|
-
* e.g. if max LTV is 0.945, borrow limit will be 0.
|
|
732
|
+
* e.g. if max LTV is 0.945, borrow limit will be 0.895
|
|
606
733
|
*/
|
|
607
|
-
readonly maxBorrowLtvMargin: 0.
|
|
734
|
+
readonly maxBorrowLtvMargin: 0.05;
|
|
608
735
|
/**
|
|
609
736
|
* Target utilization rate for public allocator supply in WAD format (18 decimals).
|
|
610
737
|
* Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
|
|
611
738
|
*/
|
|
612
739
|
readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
|
|
740
|
+
readonly useProductionContracts: boolean;
|
|
613
741
|
readonly name: "Bend";
|
|
614
|
-
readonly url: "https://bend.berachain.com";
|
|
615
|
-
readonly
|
|
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
|
+
};
|
|
616
763
|
};
|
|
617
764
|
readonly tokens: {
|
|
618
765
|
readonly wbera: "0x6969696969696969696969696969696969696969";
|
|
619
766
|
readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
|
|
620
767
|
readonly bgt: "0x656b95E550C07a9ffe548bd4085c72418Ceb1dba";
|
|
621
|
-
readonly wbtc: "
|
|
622
|
-
readonly weth: "
|
|
768
|
+
readonly wbtc: "0x";
|
|
769
|
+
readonly weth: "0x";
|
|
623
770
|
};
|
|
624
771
|
readonly depositContract: "0x4242424242424242424242424242424242424242";
|
|
625
772
|
readonly pol: {
|
|
773
|
+
readonly rewardVaultHelper: "0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2";
|
|
626
774
|
readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
|
|
627
775
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
628
776
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
629
|
-
readonly subgraph:
|
|
777
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-1.7.0/gn";
|
|
630
778
|
readonly bribeBoostApi: string;
|
|
631
779
|
readonly bribeBoostApiKey: string;
|
|
632
|
-
readonly bgtIncentiveDistributor: "
|
|
780
|
+
readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
|
|
633
781
|
};
|
|
634
782
|
readonly api: string;
|
|
635
|
-
readonly blocksSubgraph:
|
|
783
|
+
readonly blocksSubgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/blocks-subgraph/bepolia-v1.1.0/gn";
|
|
636
784
|
readonly bex: {
|
|
637
|
-
readonly chainName: "
|
|
638
|
-
readonly vault: "
|
|
639
|
-
readonly helper: "
|
|
640
|
-
readonly queries: "
|
|
641
|
-
readonly relayer: "
|
|
785
|
+
readonly chainName: "BEPOLIA";
|
|
786
|
+
readonly vault: "0x708cA656b68A6b7384a488A36aD33505a77241FE";
|
|
787
|
+
readonly helper: "0xC7c981ADcDC5d48fed0CD52807fb2bAB22676C8f";
|
|
788
|
+
readonly queries: "0xE3723383a0EA73D5c0dE424BAA97F97f86f6cF92";
|
|
789
|
+
readonly relayer: "0x343215E156Ff586711a5B8C49Fe3099BAF22624C";
|
|
642
790
|
readonly factories: {
|
|
643
|
-
readonly composableStable: "
|
|
644
|
-
readonly weighted: "
|
|
791
|
+
readonly composableStable: "0xB60DbBaCEaeC23486a64d12089F467ef949f1bb1";
|
|
792
|
+
readonly weighted: "0xf1d23276C7b271B2aC595C78977b2312E9954D57";
|
|
645
793
|
};
|
|
646
|
-
readonly poolCreationHelper: "
|
|
647
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/
|
|
648
|
-
readonly aggregatorsRouter: "
|
|
649
|
-
readonly aggregatorsRouterExecutor: "
|
|
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";
|
|
650
798
|
readonly aggregatorsProxyUrl: string;
|
|
799
|
+
readonly recoverFundsApi: "https://t3stbe4i5d40p.testnet.berachain.com";
|
|
800
|
+
readonly recoverFundsContract: "0x0eFeC4379805fAFA7269Ec599a6921f388C8841a";
|
|
651
801
|
};
|
|
652
802
|
readonly honey: {
|
|
653
803
|
readonly name: "Honey";
|
|
654
|
-
readonly url: "https://honey.berachain.com";
|
|
655
|
-
readonly subgraph:
|
|
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";
|
|
656
806
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
807
|
+
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
657
808
|
readonly pythWrapper: "0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606";
|
|
658
|
-
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
659
809
|
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
660
810
|
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
661
|
-
readonly isPythWrapperEnabled: boolean;
|
|
662
|
-
readonly isCustodyEnabled: boolean;
|
|
663
811
|
};
|
|
664
812
|
readonly hub: {
|
|
665
813
|
readonly name: "BeraHub";
|
|
666
|
-
readonly url: "https://hub.berachain.com";
|
|
814
|
+
readonly url: "https://bepolia.hub.berachain.com";
|
|
667
815
|
};
|
|
668
816
|
readonly foundation: {
|
|
669
817
|
readonly name: "Berachain Foundation";
|
|
670
818
|
readonly url: "https://www.berachain.com";
|
|
671
819
|
};
|
|
672
820
|
readonly governance: {
|
|
673
|
-
readonly governor:
|
|
674
|
-
readonly timelock:
|
|
675
|
-
readonly subgraph:
|
|
821
|
+
readonly governor: `0x${string}`;
|
|
822
|
+
readonly timelock: `0x${string}`;
|
|
823
|
+
readonly subgraph: string;
|
|
676
824
|
};
|
|
677
825
|
readonly lists: {
|
|
678
|
-
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/
|
|
679
|
-
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/
|
|
680
|
-
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/
|
|
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";
|
|
681
832
|
};
|
|
682
833
|
readonly averageBlockTime: 2;
|
|
683
834
|
readonly beApiKey: string;
|
|
684
835
|
readonly bridge: {
|
|
685
836
|
readonly name: "BeraBridge";
|
|
686
|
-
readonly url: "https://bridge.berachain.com";
|
|
837
|
+
readonly url: "https://bepolia.bridge.berachain.com";
|
|
687
838
|
readonly nft: {
|
|
688
839
|
readonly name: "BeraBridge NFT";
|
|
689
|
-
readonly url: "
|
|
840
|
+
readonly url: "#";
|
|
690
841
|
readonly eth: {
|
|
691
|
-
readonly subgraph: "
|
|
842
|
+
readonly subgraph: "#";
|
|
692
843
|
};
|
|
693
844
|
readonly berachain: {
|
|
694
|
-
readonly subgraph: "
|
|
845
|
+
readonly subgraph: "#";
|
|
695
846
|
};
|
|
696
847
|
};
|
|
697
848
|
};
|
|
698
|
-
readonly berps: {
|
|
699
|
-
readonly name: "Berps";
|
|
700
|
-
readonly url: "#";
|
|
701
|
-
};
|
|
702
849
|
readonly explore: {
|
|
703
850
|
readonly name: "Explore";
|
|
704
851
|
readonly url: "https://explore.berachain.com";
|
|
705
852
|
};
|
|
706
853
|
readonly explorer: {
|
|
707
854
|
readonly name: "Berascan";
|
|
708
|
-
readonly url: "https://berascan.com";
|
|
855
|
+
readonly url: "https://testnet.berascan.com";
|
|
709
856
|
};
|
|
710
857
|
readonly chain: {
|
|
711
858
|
readonly name: string;
|
|
712
859
|
};
|
|
713
860
|
};
|
|
714
861
|
|
|
715
|
-
export { Address, ChainId, alchemyJsonRpcUrl, chainConfigs, defaultChainId as chainId, config, defaultChainId, getRpcUrls, jsonRpcUrl, privateRcpUrl, publicJsonRpcUrl };
|
|
862
|
+
export { Address, AppName, ChainId, alchemyJsonRpcUrl, chainConfigs, defaultChainId as chainId, cloudinaryBaseUrl, config, currentDapp, defaultChainId, getRpcUrls, goldskyBaseUrl, jsonRpcUrl, privateRcpUrl, publicJsonRpcUrl };
|