@berachain/config 0.0.1-alpha.1
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/LICENSE +21 -0
- package/README.md +20 -0
- package/dist/bepolia.cjs +1 -0
- package/dist/bepolia.d.cts +106 -0
- package/dist/bepolia.d.ts +106 -0
- package/dist/bepolia.js +1 -0
- package/dist/chunk-3IPYHDYK.cjs +1 -0
- package/dist/chunk-4ZIGP2PE.js +1 -0
- package/dist/chunk-5F62JDHS.js +1 -0
- package/dist/chunk-CJ6TCEOL.js +1 -0
- package/dist/chunk-E3O7UH5M.js +1 -0
- package/dist/chunk-G56N5MYU.js +1 -0
- package/dist/chunk-GQ2VIAGM.cjs +1 -0
- package/dist/chunk-J5ZJIOVM.cjs +1 -0
- package/dist/chunk-LJRHN532.js +1 -0
- package/dist/chunk-PWMV5FZC.cjs +1 -0
- package/dist/chunk-QQWAFQ4G.js +1 -0
- package/dist/chunk-RPCNZQO2.cjs +1 -0
- package/dist/chunk-WW7TSLXR.cjs +1 -0
- package/dist/chunk-XZQVP4AU.cjs +1 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +128 -0
- package/dist/index.d.ts +128 -0
- package/dist/index.js +1 -0
- package/dist/internal/header-sources.cjs +11 -0
- package/dist/internal/header-sources.d.cts +10 -0
- package/dist/internal/header-sources.d.ts +10 -0
- package/dist/internal/header-sources.js +11 -0
- package/dist/internal/index.cjs +1 -0
- package/dist/internal/index.d.cts +369 -0
- package/dist/internal/index.d.ts +369 -0
- package/dist/internal/index.js +1 -0
- package/dist/internal/maintenance.cjs +1 -0
- package/dist/internal/maintenance.d.cts +11 -0
- package/dist/internal/maintenance.d.ts +11 -0
- package/dist/internal/maintenance.js +1 -0
- package/dist/internal/nextjs/index.cjs +1 -0
- package/dist/internal/nextjs/index.d.cts +7 -0
- package/dist/internal/nextjs/index.d.ts +7 -0
- package/dist/internal/nextjs/index.js +1 -0
- package/dist/internal/sentry/esbuild.plugin.cjs +1 -0
- package/dist/internal/sentry/esbuild.plugin.d.cts +3 -0
- package/dist/internal/sentry/esbuild.plugin.d.ts +3 -0
- package/dist/internal/sentry/esbuild.plugin.js +1 -0
- package/dist/internal/sentry/index.cjs +1 -0
- package/dist/internal/sentry/index.d.cts +11 -0
- package/dist/internal/sentry/index.d.ts +11 -0
- package/dist/internal/sentry/index.js +1 -0
- package/dist/internal/sentry/sentry.client.config.cjs +1 -0
- package/dist/internal/sentry/sentry.client.config.d.cts +2 -0
- package/dist/internal/sentry/sentry.client.config.d.ts +2 -0
- package/dist/internal/sentry/sentry.client.config.js +1 -0
- package/dist/internal/tsup/index.cjs +1 -0
- package/dist/internal/tsup/index.d.cts +5 -0
- package/dist/internal/tsup/index.d.ts +5 -0
- package/dist/internal/tsup/index.js +1 -0
- package/dist/mainnet.cjs +1 -0
- package/dist/mainnet.d.cts +106 -0
- package/dist/mainnet.d.ts +106 -0
- package/dist/mainnet.js +1 -0
- package/dist/sentry.edge.config-HELM2ESO.js +1 -0
- package/dist/sentry.edge.config-PX7MX352.cjs +1 -0
- package/dist/sentry.server.config-SLGLNXCE.cjs +1 -0
- package/dist/sentry.server.config-Y6L22PFM.js +1 -0
- package/package.json +90 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunkWW7TSLXRcjs = require('../chunk-WW7TSLXR.cjs');var _chunkGQ2VIAGMcjs = require('../chunk-GQ2VIAGM.cjs');require('../chunk-PWMV5FZC.cjs');require('../chunk-3IPYHDYK.cjs');require('../chunk-J5ZJIOVM.cjs');function y({isDevelopment:i,nonce:p,...s}){let l=["https://*.berachain.com/","https://*.berachain-staging.com/","wss://www.walletlink.org/rpc",`https://*.dynamicauth.com/api/v0/sdk/${_chunkGQ2VIAGMcjs.e}/`,`https://logs.dynamicauth.com/api/v1/${_chunkGQ2VIAGMcjs.e}`,"https://dynamic-static-assets.com/wallet-book/v1/stable/wallet-book.json","https://raw.githubusercontent.com/berachain/metadata/","https://*.bera-network.quiknode.pro","https://*.bepolia-network.quiknode.pro",_chunkWW7TSLXRcjs.a.governance.subgraph,_chunkWW7TSLXRcjs.a.honey.subgraph,_chunkWW7TSLXRcjs.a.pol.subgraph,_chunkWW7TSLXRcjs.a.pol.bribeBoostApi,_chunkWW7TSLXRcjs.a.bex.subgraph,_chunkWW7TSLXRcjs.a.api,_chunkWW7TSLXRcjs.a.blocksSubgraph,_chunkGQ2VIAGMcjs.i,_chunkGQ2VIAGMcjs.h,_chunkGQ2VIAGMcjs.j,_chunkWW7TSLXRcjs.d,"https://open-api.openocean.finance/","https://api.haiku.trade/","https://api.magpiefi.xyz/",`${_chunkWW7TSLXRcjs.a.bex.aggregatorsProxyUrl}/`,"wss://relay.walletconnect.com/","wss://relay.walletconnect.org/","https://api.routescan.io/v2/network/","wss://metamask-sdk.api.cx.metamask.io/socket.io/","https://cdn.markfi.xyz/scripts/analytics/","https://a.markfi.xyz/"].concat(_nullishCoalesce(s.connectionSources, () => ([]))).filter((e,h)=>!e||e.trim()===""?(process.env.NODE_ENV==="production"&&console.warn("One of connectionSources is empty or undefined. Idx:",h),!1):!0),m=["https://res.cloudinary.com/duv0g402y/","https://raw.githubusercontent.com/berachain/default-lists/","https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://coin-images.coingecko.com/coins/images/","https://iconic.dynamic-static-assets.com/","https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/","https://icons.llama.fi/","https://icons.llamao.fi/"].concat(_nullishCoalesce(s.pictureSources, () => ([]))).filter(e=>!e||e.trim()===""?(process.env.NODE_ENV==="production"&&console.warn("One of pictureSources is empty or undefined"),!1):!0),u=["https://verify.walletconnect.com/","https://verify.walletconnect.org/"].concat(_nullishCoalesce(s.frameSources, () => ([]))),f=["https://cdn.jsdelivr.net/npm/@fontsource/"].concat(_nullishCoalesce(s.fontSources, () => ([])));return`
|
|
2
|
+
default-src 'self';
|
|
3
|
+
base-uri 'self';
|
|
4
|
+
frame-src 'self' ${u.join(" ")};
|
|
5
|
+
frame-ancestors 'self';
|
|
6
|
+
script-src 'self' 'sha256-k2HGvaYkGyYZxOwKGxgE1mr06tZEDcEXNZ5mdcldK0o=' 'nonce-${p}' 'strict-dynamic' ${i?"'unsafe-eval'":""};
|
|
7
|
+
font-src 'self' ${f.join(" ")};
|
|
8
|
+
style-src 'self' 'unsafe-inline';
|
|
9
|
+
img-src 'self' data: ${m.join(" ")};
|
|
10
|
+
connect-src 'self' ${l.join(" ")};
|
|
11
|
+
`.replace(/\s{2,}/g," ").trim()}exports.getContentSecurityPolicy = y;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare function getContentSecurityPolicy({ isDevelopment, nonce, ...args }: {
|
|
2
|
+
isDevelopment: boolean;
|
|
3
|
+
nonce: string;
|
|
4
|
+
frameSources?: string[];
|
|
5
|
+
fontSources?: string[];
|
|
6
|
+
pictureSources?: string[];
|
|
7
|
+
connectionSources?: string[];
|
|
8
|
+
}): string;
|
|
9
|
+
|
|
10
|
+
export { getContentSecurityPolicy };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare function getContentSecurityPolicy({ isDevelopment, nonce, ...args }: {
|
|
2
|
+
isDevelopment: boolean;
|
|
3
|
+
nonce: string;
|
|
4
|
+
frameSources?: string[];
|
|
5
|
+
fontSources?: string[];
|
|
6
|
+
pictureSources?: string[];
|
|
7
|
+
connectionSources?: string[];
|
|
8
|
+
}): string;
|
|
9
|
+
|
|
10
|
+
export { getContentSecurityPolicy };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import{a as t,d as a}from"../chunk-5F62JDHS.js";import{e as o,h as c,i as n,j as r}from"../chunk-QQWAFQ4G.js";import"../chunk-CJ6TCEOL.js";import"../chunk-E3O7UH5M.js";import"../chunk-LJRHN532.js";function y({isDevelopment:i,nonce:p,...s}){let l=["https://*.berachain.com/","https://*.berachain-staging.com/","wss://www.walletlink.org/rpc",`https://*.dynamicauth.com/api/v0/sdk/${o}/`,`https://logs.dynamicauth.com/api/v1/${o}`,"https://dynamic-static-assets.com/wallet-book/v1/stable/wallet-book.json","https://raw.githubusercontent.com/berachain/metadata/","https://*.bera-network.quiknode.pro","https://*.bepolia-network.quiknode.pro",t.governance.subgraph,t.honey.subgraph,t.pol.subgraph,t.pol.bribeBoostApi,t.bex.subgraph,t.api,t.blocksSubgraph,n,c,r,a,"https://open-api.openocean.finance/","https://api.haiku.trade/","https://api.magpiefi.xyz/",`${t.bex.aggregatorsProxyUrl}/`,"wss://relay.walletconnect.com/","wss://relay.walletconnect.org/","https://api.routescan.io/v2/network/","wss://metamask-sdk.api.cx.metamask.io/socket.io/","https://cdn.markfi.xyz/scripts/analytics/","https://a.markfi.xyz/"].concat(s.connectionSources??[]).filter((e,h)=>!e||e.trim()===""?(process.env.NODE_ENV==="production"&&console.warn("One of connectionSources is empty or undefined. Idx:",h),!1):!0),m=["https://res.cloudinary.com/duv0g402y/","https://raw.githubusercontent.com/berachain/default-lists/","https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://coin-images.coingecko.com/coins/images/","https://iconic.dynamic-static-assets.com/","https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/","https://icons.llama.fi/","https://icons.llamao.fi/"].concat(s.pictureSources??[]).filter(e=>!e||e.trim()===""?(process.env.NODE_ENV==="production"&&console.warn("One of pictureSources is empty or undefined"),!1):!0),u=["https://verify.walletconnect.com/","https://verify.walletconnect.org/"].concat(s.frameSources??[]),f=["https://cdn.jsdelivr.net/npm/@fontsource/"].concat(s.fontSources??[]);return`
|
|
2
|
+
default-src 'self';
|
|
3
|
+
base-uri 'self';
|
|
4
|
+
frame-src 'self' ${u.join(" ")};
|
|
5
|
+
frame-ancestors 'self';
|
|
6
|
+
script-src 'self' 'sha256-k2HGvaYkGyYZxOwKGxgE1mr06tZEDcEXNZ5mdcldK0o=' 'nonce-${p}' 'strict-dynamic' ${i?"'unsafe-eval'":""};
|
|
7
|
+
font-src 'self' ${f.join(" ")};
|
|
8
|
+
style-src 'self' 'unsafe-inline';
|
|
9
|
+
img-src 'self' data: ${m.join(" ")};
|
|
10
|
+
connect-src 'self' ${l.join(" ")};
|
|
11
|
+
`.replace(/\s{2,}/g," ").trim()}export{y as getContentSecurityPolicy};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWW7TSLXRcjs = require('../chunk-WW7TSLXR.cjs');var _chunkGQ2VIAGMcjs = require('../chunk-GQ2VIAGM.cjs');require('../chunk-PWMV5FZC.cjs');var _chunk3IPYHDYKcjs = require('../chunk-3IPYHDYK.cjs');require('../chunk-J5ZJIOVM.cjs');exports.ChainId = _chunk3IPYHDYKcjs.a; exports.FALLBACK_BLOCK_TIME = _chunkWW7TSLXRcjs.W; exports.alchemyJsonRpcUrl = _chunkGQ2VIAGMcjs.j; exports.balancerDelegatedOwnershipAddress = _chunkWW7TSLXRcjs.F; exports.beApiKey = _chunkGQ2VIAGMcjs.f; exports.blockExplorerName = _chunkWW7TSLXRcjs.M; exports.blockExplorerUrl = _chunkWW7TSLXRcjs.L; exports.blogUrl = _chunkWW7TSLXRcjs.t; exports.bridgeNftUrl = _chunkWW7TSLXRcjs.U; exports.careersUrl = _chunkWW7TSLXRcjs.q; exports.chainId = _chunkGQ2VIAGMcjs.a; exports.chainName = _chunkWW7TSLXRcjs.I; exports.config = _chunkWW7TSLXRcjs.a; exports.cookie3SiteId = _chunkGQ2VIAGMcjs.d; exports.developmentAnalytics = _chunkWW7TSLXRcjs.b; exports.disableProposals = _chunkWW7TSLXRcjs.u; exports.disableRewardVaultDuration = _chunkWW7TSLXRcjs.w; exports.disallowIndexing = _chunkWW7TSLXRcjs.e; exports.discord = _chunkWW7TSLXRcjs.D; exports.docsUrl = _chunkWW7TSLXRcjs.p; exports.dynamicWalletKey = _chunkGQ2VIAGMcjs.e; exports.ecosystemUrl = _chunkWW7TSLXRcjs.o; exports.ensoApiKey = _chunkWW7TSLXRcjs.i; exports.ensoApiUrl = _chunkWW7TSLXRcjs.g; exports.etherscanApiKey = _chunkGQ2VIAGMcjs.c; exports.faucetName = _chunkWW7TSLXRcjs.S; exports.faucetUrl = _chunkWW7TSLXRcjs.T; exports.gasTokenDecimals = _chunkWW7TSLXRcjs.A; exports.gasTokenIconUrl = _chunkWW7TSLXRcjs.x; exports.gasTokenName = _chunkWW7TSLXRcjs.z; exports.gasTokenSymbol = _chunkWW7TSLXRcjs.y; exports.gaugeListUrl = _chunkWW7TSLXRcjs.K; exports.getRpcUrls = _chunkGQ2VIAGMcjs.g; exports.github = _chunkWW7TSLXRcjs.E; exports.governanceAccelerateProposal = _chunkWW7TSLXRcjs.v; exports.haikuApiKey = _chunkWW7TSLXRcjs.l; exports.homepageName = _chunkWW7TSLXRcjs.N; exports.homepageUrl = _chunkWW7TSLXRcjs.n; exports.honeyName = _chunkWW7TSLXRcjs.P; exports.honeyUrl = _chunkWW7TSLXRcjs.O; exports.hubName = _chunkWW7TSLXRcjs.R; exports.hubUrl = _chunkWW7TSLXRcjs.Q; exports.isIPFS = _chunkGQ2VIAGMcjs.b; exports.jsonRpcUrl = _chunkGQ2VIAGMcjs.i; exports.kyberswapClientId = _chunkWW7TSLXRcjs.m; exports.mediaKitUrl = _chunkWW7TSLXRcjs.s; exports.multicallAddress = _chunkWW7TSLXRcjs.G; exports.multicallCreationBlock = _chunkWW7TSLXRcjs.H; exports.nativeTokenAddress = _chunkWW7TSLXRcjs.Y; exports.oogaboogaApiKey = _chunkWW7TSLXRcjs.j; exports.openseaApiKey = _chunkWW7TSLXRcjs.f; exports.postHogHostAddress = _chunkWW7TSLXRcjs.d; exports.postHogProjectKey = _chunkWW7TSLXRcjs.c; exports.pressKit = _chunkWW7TSLXRcjs.r; exports.privateRcpUrl = _chunkGQ2VIAGMcjs.k; exports.publicEnsoApiKey = _chunkWW7TSLXRcjs.h; exports.publicJsonRpcUrl = _chunkGQ2VIAGMcjs.h; exports.pythContractAddress = _chunkWW7TSLXRcjs.X; exports.telegram = _chunkWW7TSLXRcjs.C; exports.tokenBridgeUrl = _chunkWW7TSLXRcjs.V; exports.tokenListUrl = _chunkWW7TSLXRcjs.J; exports.twitter = _chunkWW7TSLXRcjs.B; exports.useMetaAggregatorVercelProxy = _chunkWW7TSLXRcjs.k; exports.wBeraAddress = _chunkWW7TSLXRcjs.Z;
|
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
import { ChainId } from '../index.cjs';
|
|
2
|
+
export { Address, BeraConfig } from '../index.cjs';
|
|
3
|
+
|
|
4
|
+
declare const defaultChainId: ChainId;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Exporting here all variables that are used in the frontend.
|
|
8
|
+
* Avoids circular dependency with the config object.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
declare const isIPFS: boolean;
|
|
12
|
+
declare const etherscanApiKey: string;
|
|
13
|
+
declare const cookie3SiteId: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* This is only going to work on whitelisted domains.
|
|
16
|
+
* Please create your own API key and add it to your .env.local file
|
|
17
|
+
*/
|
|
18
|
+
declare const dynamicWalletKey: string;
|
|
19
|
+
declare const beApiKey: string | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Returns the RPC URLs for the given chain ID. If anvil is set, it will just return the anvil RPC URLs.
|
|
22
|
+
*/
|
|
23
|
+
declare function getRpcUrls(chainId?: ChainId): {
|
|
24
|
+
publicJsonRpcUrl: string;
|
|
25
|
+
jsonRpcUrl: string;
|
|
26
|
+
alchemyJsonRpcUrl: string | undefined;
|
|
27
|
+
privateRcpUrl: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Whether the RPC URLs are for anvil.
|
|
30
|
+
*/
|
|
31
|
+
isAnvil: boolean;
|
|
32
|
+
};
|
|
33
|
+
declare const publicJsonRpcUrl: string;
|
|
34
|
+
declare const jsonRpcUrl: string;
|
|
35
|
+
declare const alchemyJsonRpcUrl: string | undefined;
|
|
36
|
+
declare const /**
|
|
37
|
+
* Dedicated private RPC URL for server side with higher rate limits.
|
|
38
|
+
* Not available on client side.
|
|
39
|
+
*/
|
|
40
|
+
privateRcpUrl: string | undefined;
|
|
41
|
+
|
|
42
|
+
declare const config: {
|
|
43
|
+
readonly tokens: {
|
|
44
|
+
readonly wbera: "0x6969696969696969696969696969696969696969";
|
|
45
|
+
readonly bgt: "0x656b95E550C07a9ffe548bd4085c72418Ceb1dba";
|
|
46
|
+
readonly wbtc: "0x0555E30da8f98308EdB960aa94C0Db47230d2B9c";
|
|
47
|
+
readonly weth: "0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590";
|
|
48
|
+
};
|
|
49
|
+
readonly depositContract: "0x4242424242424242424242424242424242424242";
|
|
50
|
+
readonly pol: {
|
|
51
|
+
readonly version: "1.0.4";
|
|
52
|
+
readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
|
|
53
|
+
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
54
|
+
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
55
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/mainnet-v1.5.2/gn";
|
|
56
|
+
readonly bribeBoostApi: string;
|
|
57
|
+
readonly bribeBoostApiKey: string;
|
|
58
|
+
readonly bgtIncentiveDistributor: "0xBDDba144482049382eC79CadfA02f0fa0F462dE3";
|
|
59
|
+
};
|
|
60
|
+
readonly api: string;
|
|
61
|
+
readonly blocksSubgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/blocks-subgraph/mainnet-v1.1.0/gn";
|
|
62
|
+
readonly bex: {
|
|
63
|
+
readonly chainName: "BERACHAIN";
|
|
64
|
+
readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
|
|
65
|
+
readonly helper: "0x5083737EC75a728c265BE578C9d0d5333a2c5951";
|
|
66
|
+
readonly queries: "0x3C612e132624f4Bd500eE1495F54565F0bcc9b59";
|
|
67
|
+
readonly relayer: "0x6044f181aB5E9C05A4ed9Ce295f3B178d2492EE7";
|
|
68
|
+
readonly factories: {
|
|
69
|
+
readonly composableStable: "0xDfA30BDa0375d4763711AB0CC8D91B20bfCC87E1";
|
|
70
|
+
readonly weighted: "0xa966fA8F2d5B087FFFA499C0C1240589371Af409";
|
|
71
|
+
};
|
|
72
|
+
readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
|
|
73
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-v1.0.2/gn";
|
|
74
|
+
readonly aggregatorsRouter: "0xa83739c179e639442A3a4f830745de2824d28153";
|
|
75
|
+
readonly aggregatorsRouterExecutor: "0xb9c391f4BAaC4244f482020eaB434048882bFBA2";
|
|
76
|
+
readonly aggregatorsProxyUrl: string;
|
|
77
|
+
};
|
|
78
|
+
readonly honey: {
|
|
79
|
+
readonly name: "Honey";
|
|
80
|
+
readonly url: "https://honey.berachain.com";
|
|
81
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/mainnet-v1.1.1/gn";
|
|
82
|
+
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
83
|
+
readonly pythWrapper: "0x0000000000000000000000000000000000000000";
|
|
84
|
+
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
85
|
+
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
86
|
+
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
87
|
+
readonly isPythWrapperEnabled: boolean;
|
|
88
|
+
readonly isCustodyEnabled: boolean;
|
|
89
|
+
};
|
|
90
|
+
readonly hub: {
|
|
91
|
+
readonly name: "BeraHub";
|
|
92
|
+
readonly url: "https://hub.berachain.com";
|
|
93
|
+
};
|
|
94
|
+
readonly foundation: {
|
|
95
|
+
readonly name: "Berachain Foundation";
|
|
96
|
+
readonly url: "https://www.berachain.com";
|
|
97
|
+
};
|
|
98
|
+
readonly governance: {
|
|
99
|
+
readonly governor: "0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5";
|
|
100
|
+
readonly timelock: "0xb5f2000b5744f207c931526cAE2134cAa8b6862a";
|
|
101
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/governance-subgraph/mainnet-v1.1.1/gn";
|
|
102
|
+
};
|
|
103
|
+
readonly lists: {
|
|
104
|
+
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/mainnet.json";
|
|
105
|
+
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/mainnet.json";
|
|
106
|
+
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/mainnet.json";
|
|
107
|
+
};
|
|
108
|
+
readonly averageBlockTime: 1.9;
|
|
109
|
+
readonly boyco: {
|
|
110
|
+
readonly name: "Boyco";
|
|
111
|
+
readonly url: "https://boyco.berachain.com";
|
|
112
|
+
readonly originUrl: string;
|
|
113
|
+
readonly originKey: string;
|
|
114
|
+
readonly originId: string;
|
|
115
|
+
readonly airdropApi: string;
|
|
116
|
+
readonly merkleId: `0x${string}`;
|
|
117
|
+
readonly airdropAddress: `0x${string}`;
|
|
118
|
+
};
|
|
119
|
+
readonly bridge: {
|
|
120
|
+
readonly name: "BeraBridge";
|
|
121
|
+
readonly url: "https://bridge.berachain.com";
|
|
122
|
+
readonly nft: {
|
|
123
|
+
readonly name: "BeraBridge NFT";
|
|
124
|
+
readonly url: "https://nftbridge.berachain.com";
|
|
125
|
+
readonly eth: {
|
|
126
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/nft-bridge-subgraph/eth-v1.0.0-beta1/gn";
|
|
127
|
+
};
|
|
128
|
+
readonly berachain: {
|
|
129
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/nft-bridge-subgraph/mainnet-v1.0.0-beta1/gn";
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
readonly bend: {
|
|
134
|
+
readonly name: "Bend";
|
|
135
|
+
readonly url: "#";
|
|
136
|
+
};
|
|
137
|
+
readonly berps: {
|
|
138
|
+
readonly name: "Berps";
|
|
139
|
+
readonly url: "#";
|
|
140
|
+
};
|
|
141
|
+
readonly faucet: {
|
|
142
|
+
readonly name: "Faucet";
|
|
143
|
+
readonly url: "#";
|
|
144
|
+
};
|
|
145
|
+
} | {
|
|
146
|
+
readonly tokens: {
|
|
147
|
+
readonly wbera: "0x6969696969696969696969696969696969696969";
|
|
148
|
+
readonly bgt: "0x656b95E550C07a9ffe548bd4085c72418Ceb1dba";
|
|
149
|
+
readonly wbtc: "0x";
|
|
150
|
+
readonly weth: "0x";
|
|
151
|
+
};
|
|
152
|
+
readonly depositContract: "0x4242424242424242424242424242424242424242";
|
|
153
|
+
readonly pol: {
|
|
154
|
+
readonly version: "1.0.4";
|
|
155
|
+
readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
|
|
156
|
+
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
157
|
+
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
158
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-v1.5.2/gn";
|
|
159
|
+
readonly bribeBoostApi: string;
|
|
160
|
+
readonly bribeBoostApiKey: string;
|
|
161
|
+
readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
|
|
162
|
+
};
|
|
163
|
+
readonly api: string;
|
|
164
|
+
readonly blocksSubgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/blocks-subgraph/bepolia-v1.1.0/gn";
|
|
165
|
+
readonly bex: {
|
|
166
|
+
readonly chainName: "BEPOLIA";
|
|
167
|
+
readonly vault: "0x708cA656b68A6b7384a488A36aD33505a77241FE";
|
|
168
|
+
readonly helper: "0xC7c981ADcDC5d48fed0CD52807fb2bAB22676C8f";
|
|
169
|
+
readonly queries: "0xE3723383a0EA73D5c0dE424BAA97F97f86f6cF92";
|
|
170
|
+
readonly relayer: "0x343215E156Ff586711a5B8C49Fe3099BAF22624C";
|
|
171
|
+
readonly factories: {
|
|
172
|
+
readonly composableStable: "0xB60DbBaCEaeC23486a64d12089F467ef949f1bb1";
|
|
173
|
+
readonly weighted: "0xf1d23276C7b271B2aC595C78977b2312E9954D57";
|
|
174
|
+
};
|
|
175
|
+
readonly poolCreationHelper: "0x0dC9964F6CA33d9EF38DEB4925234766127C6B36";
|
|
176
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-v1.0.2-rc1/gn";
|
|
177
|
+
readonly aggregatorsRouter: "0x0000000000000000000000000000000000000000";
|
|
178
|
+
readonly aggregatorsRouterExecutor: "0x0000000000000000000000000000000000000000";
|
|
179
|
+
readonly aggregatorsProxyUrl: string;
|
|
180
|
+
};
|
|
181
|
+
readonly honey: {
|
|
182
|
+
readonly name: "Honey";
|
|
183
|
+
readonly url: "https://bepolia.honey.berachain.com";
|
|
184
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/bepolia-v1.1.1/gn";
|
|
185
|
+
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
186
|
+
readonly pythWrapper: "0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606";
|
|
187
|
+
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
188
|
+
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
189
|
+
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
190
|
+
readonly isPythWrapperEnabled: boolean;
|
|
191
|
+
readonly isCustodyEnabled: boolean;
|
|
192
|
+
};
|
|
193
|
+
readonly hub: {
|
|
194
|
+
readonly name: "BeraHub";
|
|
195
|
+
readonly url: "https://bepolia.hub.berachain.com";
|
|
196
|
+
};
|
|
197
|
+
readonly foundation: {
|
|
198
|
+
readonly name: "Berachain Foundation";
|
|
199
|
+
readonly url: "https://www.berachain.com";
|
|
200
|
+
};
|
|
201
|
+
readonly governance: {
|
|
202
|
+
readonly governor: `0x${string}`;
|
|
203
|
+
readonly timelock: `0x${string}`;
|
|
204
|
+
readonly subgraph: string;
|
|
205
|
+
};
|
|
206
|
+
readonly lists: {
|
|
207
|
+
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/bepolia.json";
|
|
208
|
+
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/bepolia.json";
|
|
209
|
+
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/bepolia.json";
|
|
210
|
+
};
|
|
211
|
+
readonly averageBlockTime: 1.9;
|
|
212
|
+
readonly boyco: {
|
|
213
|
+
readonly name: "Boyco";
|
|
214
|
+
readonly url: "https://bepolia.boyco.berachain.com";
|
|
215
|
+
readonly originUrl: string;
|
|
216
|
+
readonly originKey: string;
|
|
217
|
+
readonly originId: string;
|
|
218
|
+
readonly airdropApi: string;
|
|
219
|
+
readonly merkleId: `0x${string}`;
|
|
220
|
+
readonly airdropAddress: `0x${string}`;
|
|
221
|
+
};
|
|
222
|
+
readonly bridge: {
|
|
223
|
+
readonly name: "BeraBridge";
|
|
224
|
+
readonly url: "https://bepolia.bridge.berachain.com";
|
|
225
|
+
readonly nft: {
|
|
226
|
+
readonly name: "BeraBridge NFT";
|
|
227
|
+
readonly url: "#";
|
|
228
|
+
readonly eth: {
|
|
229
|
+
readonly subgraph: "#";
|
|
230
|
+
};
|
|
231
|
+
readonly berachain: {
|
|
232
|
+
readonly subgraph: "#";
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
readonly bend: {
|
|
237
|
+
readonly name: "Bend";
|
|
238
|
+
readonly url: "#";
|
|
239
|
+
};
|
|
240
|
+
readonly berps: {
|
|
241
|
+
readonly name: "Berps";
|
|
242
|
+
readonly url: "#";
|
|
243
|
+
};
|
|
244
|
+
readonly faucet: {
|
|
245
|
+
readonly name: "Faucet";
|
|
246
|
+
readonly url: "https://bepolia.faucet.berachain.com";
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
declare const developmentAnalytics: boolean;
|
|
250
|
+
declare const postHogProjectKey = "phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax";
|
|
251
|
+
declare const postHogHostAddress = "https://eu.i.posthog.com";
|
|
252
|
+
/**
|
|
253
|
+
* Disallow SEO indexing for non-mainnet deployments
|
|
254
|
+
*/
|
|
255
|
+
declare const disallowIndexing: boolean;
|
|
256
|
+
declare const openseaApiKey: string;
|
|
257
|
+
declare const ensoApiUrl = "https://api.enso.finance/api";
|
|
258
|
+
declare const publicEnsoApiKey: string;
|
|
259
|
+
declare const ensoApiKey: string;
|
|
260
|
+
declare const oogaboogaApiKey: string;
|
|
261
|
+
declare const useMetaAggregatorVercelProxy: boolean;
|
|
262
|
+
declare const haikuApiKey: string;
|
|
263
|
+
declare const kyberswapClientId: string;
|
|
264
|
+
declare const homepageUrl: string;
|
|
265
|
+
declare const ecosystemUrl = "https://ecosystem.berachain.com/";
|
|
266
|
+
declare const docsUrl = "https://docs.berachain.com";
|
|
267
|
+
declare const careersUrl = "https://careers.berachain.com/";
|
|
268
|
+
declare const pressKit = "https://medium.com/berachain-foundation/the-bera-era-has-begun-49a18c6d77c0";
|
|
269
|
+
declare const mediaKitUrl = "https://drive.google.com/drive/folders/1r658Px_VhjiUEC4AQAhHRCBeVKjcRWU6";
|
|
270
|
+
declare const blogUrl = "https://blog.berachain.com/";
|
|
271
|
+
declare const disableProposals: boolean;
|
|
272
|
+
/**
|
|
273
|
+
* If true, governance is successful if quorum was reached despite the voting period
|
|
274
|
+
*/
|
|
275
|
+
declare const governanceAccelerateProposal = false;
|
|
276
|
+
/**
|
|
277
|
+
* Testnet specific feature flags pre-production
|
|
278
|
+
*/
|
|
279
|
+
declare const disableRewardVaultDuration: boolean;
|
|
280
|
+
declare const gasTokenIconUrl = "https://res.cloudinary.com/duv0g402y/image/upload/v1738720154/brand/berachain-chain-logo.png.png";
|
|
281
|
+
declare const gasTokenSymbol = "BERA";
|
|
282
|
+
declare const gasTokenName = "Bera";
|
|
283
|
+
declare const gasTokenDecimals = 18;
|
|
284
|
+
declare const twitter = "https://x.com/berachain";
|
|
285
|
+
declare const telegram = "https://t.me/BerachainPortal";
|
|
286
|
+
declare const discord = "https://discord.com/invite/berachain";
|
|
287
|
+
declare const github = "https://github.com/berachain";
|
|
288
|
+
/**
|
|
289
|
+
* This is an hardcoded value in contracts to detected wheter governance can
|
|
290
|
+
* change pool fees and amplification parameter.
|
|
291
|
+
*
|
|
292
|
+
* @see https://docs.balancer.fi/concepts/pools/more/configuration.html#fees
|
|
293
|
+
*/
|
|
294
|
+
declare const balancerDelegatedOwnershipAddress = "0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b";
|
|
295
|
+
/**
|
|
296
|
+
* This is on genesis for Berachain
|
|
297
|
+
*/
|
|
298
|
+
declare const multicallAddress = "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
299
|
+
declare const multicallCreationBlock: number;
|
|
300
|
+
/**
|
|
301
|
+
* This will be used by wallet providers to display the chain name
|
|
302
|
+
*/
|
|
303
|
+
declare const chainName: string;
|
|
304
|
+
/**
|
|
305
|
+
* @deprecated read `config` object instead
|
|
306
|
+
*/
|
|
307
|
+
declare const tokenListUrl: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/mainnet.json" | "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/bepolia.json"; /**
|
|
308
|
+
* @deprecated read `config` object instead
|
|
309
|
+
*/
|
|
310
|
+
declare const gaugeListUrl: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/mainnet.json" | "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/bepolia.json";
|
|
311
|
+
/**
|
|
312
|
+
* @deprecated read `config` object instead
|
|
313
|
+
*/
|
|
314
|
+
declare const blockExplorerUrl: string;
|
|
315
|
+
/**
|
|
316
|
+
* @deprecated read `config` object instead
|
|
317
|
+
*/
|
|
318
|
+
declare const blockExplorerName = "Berascan";
|
|
319
|
+
/**
|
|
320
|
+
* @deprecated read `config` object instead
|
|
321
|
+
*/
|
|
322
|
+
declare const homepageName = "Berachain Foundation";
|
|
323
|
+
/**
|
|
324
|
+
* @deprecated read `config` object instead
|
|
325
|
+
*/
|
|
326
|
+
declare const honeyUrl: "https://honey.berachain.com" | "https://bepolia.honey.berachain.com";
|
|
327
|
+
/**
|
|
328
|
+
* @deprecated read `config` object instead
|
|
329
|
+
*/
|
|
330
|
+
declare const honeyName: "Honey";
|
|
331
|
+
/**
|
|
332
|
+
* @deprecated read `config` object instead
|
|
333
|
+
*/
|
|
334
|
+
declare const hubUrl: "https://hub.berachain.com" | "https://bepolia.hub.berachain.com";
|
|
335
|
+
/**
|
|
336
|
+
* @deprecated read `config` object instead
|
|
337
|
+
*/
|
|
338
|
+
declare const hubName: "BeraHub";
|
|
339
|
+
/**
|
|
340
|
+
* @deprecated read `config` object instead
|
|
341
|
+
*/
|
|
342
|
+
declare const faucetName: "Faucet";
|
|
343
|
+
/**
|
|
344
|
+
* @deprecated read `config` object instead
|
|
345
|
+
*/
|
|
346
|
+
declare const faucetUrl: "#" | "https://bepolia.faucet.berachain.com";
|
|
347
|
+
/**
|
|
348
|
+
* @deprecated read `config` object instead
|
|
349
|
+
*/
|
|
350
|
+
declare const bridgeNftUrl: "https://nftbridge.berachain.com" | "#";
|
|
351
|
+
/**
|
|
352
|
+
* @deprecated read `config` object instead
|
|
353
|
+
*/
|
|
354
|
+
declare const tokenBridgeUrl: "https://bridge.berachain.com" | "https://bepolia.bridge.berachain.com";
|
|
355
|
+
/**
|
|
356
|
+
* Default block time in seconds, in case the dynamic block time is not available
|
|
357
|
+
*/
|
|
358
|
+
declare const FALLBACK_BLOCK_TIME: 1.9;
|
|
359
|
+
declare const pythContractAddress: `0x${string}`;
|
|
360
|
+
/**
|
|
361
|
+
* @deprecated use zero address instead
|
|
362
|
+
*/
|
|
363
|
+
declare const nativeTokenAddress = "0x0000000000000000000000000000000000000000";
|
|
364
|
+
/**
|
|
365
|
+
* @deprecated read `config.tokens.wbera` instead
|
|
366
|
+
*/
|
|
367
|
+
declare const wBeraAddress: "0x6969696969696969696969696969696969696969";
|
|
368
|
+
|
|
369
|
+
export { ChainId, FALLBACK_BLOCK_TIME, alchemyJsonRpcUrl, balancerDelegatedOwnershipAddress, beApiKey, blockExplorerName, blockExplorerUrl, blogUrl, bridgeNftUrl, careersUrl, defaultChainId as chainId, chainName, config, cookie3SiteId, developmentAnalytics, disableProposals, disableRewardVaultDuration, disallowIndexing, discord, docsUrl, dynamicWalletKey, ecosystemUrl, ensoApiKey, ensoApiUrl, etherscanApiKey, faucetName, faucetUrl, gasTokenDecimals, gasTokenIconUrl, gasTokenName, gasTokenSymbol, gaugeListUrl, getRpcUrls, github, governanceAccelerateProposal, haikuApiKey, homepageName, homepageUrl, honeyName, honeyUrl, hubName, hubUrl, isIPFS, jsonRpcUrl, kyberswapClientId, mediaKitUrl, multicallAddress, multicallCreationBlock, nativeTokenAddress, oogaboogaApiKey, openseaApiKey, postHogHostAddress, postHogProjectKey, pressKit, privateRcpUrl, publicEnsoApiKey, publicJsonRpcUrl, pythContractAddress, telegram, tokenBridgeUrl, tokenListUrl, twitter, useMetaAggregatorVercelProxy, wBeraAddress };
|