@berachain/config 0.1.11 → 0.1.13
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 +16 -5
- package/dist/bepolia.d.ts +16 -5
- package/dist/bepolia.mjs +1 -1
- package/dist/{chunk-PKJED4QY.cjs → chunk-7BJPOGJ3.cjs} +1 -1
- package/dist/chunk-JW76KOHH.mjs +1 -0
- package/dist/chunk-TQ67UFXV.cjs +1 -0
- package/dist/chunk-VWV244JK.mjs +1 -0
- package/dist/chunk-XBV7BAIE.cjs +1 -0
- package/dist/{chunk-R63CTLVD.mjs → chunk-ZA2X4K7Z.mjs} +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/internal/edge-config/index.d.cts +1 -1
- package/dist/internal/edge-config/index.d.ts +1 -1
- package/dist/internal/header-sources.cjs +5 -5
- package/dist/internal/header-sources.mjs +5 -5
- package/dist/internal/index.cjs +1 -1
- package/dist/internal/index.d.cts +62 -18
- package/dist/internal/index.d.ts +62 -18
- package/dist/internal/index.mjs +1 -1
- package/dist/internal/nextjs/index.cjs +1 -1
- package/dist/internal/nextjs/index.d.cts +1 -1
- package/dist/internal/nextjs/index.d.ts +1 -1
- package/dist/internal/nextjs/index.mjs +1 -1
- package/dist/internal/wagmi/index.cjs +1 -1
- package/dist/internal/wagmi/index.mjs +1 -1
- package/dist/mainnet.cjs +1 -1
- package/dist/mainnet.d.cts +16 -5
- package/dist/mainnet.d.ts +16 -5
- package/dist/mainnet.mjs +1 -1
- package/dist/{types-DKI78H_o.d.cts → types-MT3NuQb7.d.cts} +14 -1
- package/dist/{types-DKI78H_o.d.ts → types-MT3NuQb7.d.ts} +14 -1
- package/package.json +1 -6
- package/dist/chunk-54I7MXEF.cjs +0 -1
- package/dist/chunk-M6NXAU3R.cjs +0 -1
- package/dist/chunk-SDYKKFPM.mjs +0 -1
- package/dist/chunk-WUYSD6C6.mjs +0 -1
package/dist/bepolia.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkXBV7BAIEcjs = require('./chunk-XBV7BAIE.cjs');require('./chunk-276AZYTL.cjs');require('./chunk-3KQLFIHT.cjs');require('./chunk-2OLL4MUY.cjs');require('./chunk-4VDLQK6F.cjs');exports.bepolia = _chunkXBV7BAIEcjs.a;
|
package/dist/bepolia.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ChainId, A as Address } from './types-
|
|
1
|
+
import { C as ChainId, A as Address } from './types-MT3NuQb7.cjs';
|
|
2
2
|
|
|
3
3
|
declare const bepolia: {
|
|
4
4
|
readonly chainId: ChainId.BEPOLIA;
|
|
@@ -16,8 +16,14 @@ declare const bepolia: {
|
|
|
16
16
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
17
17
|
readonly rewardAllocationFactory: "0x7f09Cf6958631513aF0400488F65c7B5c0313F52";
|
|
18
18
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
19
|
-
readonly subgraph:
|
|
20
|
-
|
|
19
|
+
readonly subgraph: {
|
|
20
|
+
readonly name: "pol-subgraph";
|
|
21
|
+
readonly uri: string;
|
|
22
|
+
};
|
|
23
|
+
readonly feesSubgraph: {
|
|
24
|
+
readonly name: "pol-fees-subgraph";
|
|
25
|
+
readonly uri: string;
|
|
26
|
+
};
|
|
21
27
|
readonly bribeBoostApi: string;
|
|
22
28
|
readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
|
|
23
29
|
readonly lstStakerVaultFactory: "0xAf10B532cCC25B26a8e28913D5C4056a77e7a178";
|
|
@@ -56,7 +62,13 @@ declare const bepolia: {
|
|
|
56
62
|
readonly honey: {
|
|
57
63
|
readonly name: "Honey";
|
|
58
64
|
readonly url: "https://bepolia.honey.berachain.com";
|
|
59
|
-
readonly subgraph:
|
|
65
|
+
readonly subgraph: {
|
|
66
|
+
readonly name: "honey-subgraph";
|
|
67
|
+
readonly uri: string;
|
|
68
|
+
readonly headers: {
|
|
69
|
+
Authorization: string;
|
|
70
|
+
} | undefined;
|
|
71
|
+
};
|
|
60
72
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
61
73
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
62
74
|
readonly pythWrapper: "0xE5Ad9BA751714ec8cdd554b5a9f12BFcA13980cB";
|
|
@@ -70,7 +82,6 @@ declare const bepolia: {
|
|
|
70
82
|
readonly governance: {
|
|
71
83
|
readonly governor: `0x${string}`;
|
|
72
84
|
readonly timelock: `0x${string}`;
|
|
73
|
-
readonly subgraph: string;
|
|
74
85
|
};
|
|
75
86
|
readonly lists: {
|
|
76
87
|
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/bepolia.json";
|
package/dist/bepolia.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ChainId, A as Address } from './types-
|
|
1
|
+
import { C as ChainId, A as Address } from './types-MT3NuQb7.js';
|
|
2
2
|
|
|
3
3
|
declare const bepolia: {
|
|
4
4
|
readonly chainId: ChainId.BEPOLIA;
|
|
@@ -16,8 +16,14 @@ declare const bepolia: {
|
|
|
16
16
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
17
17
|
readonly rewardAllocationFactory: "0x7f09Cf6958631513aF0400488F65c7B5c0313F52";
|
|
18
18
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
19
|
-
readonly subgraph:
|
|
20
|
-
|
|
19
|
+
readonly subgraph: {
|
|
20
|
+
readonly name: "pol-subgraph";
|
|
21
|
+
readonly uri: string;
|
|
22
|
+
};
|
|
23
|
+
readonly feesSubgraph: {
|
|
24
|
+
readonly name: "pol-fees-subgraph";
|
|
25
|
+
readonly uri: string;
|
|
26
|
+
};
|
|
21
27
|
readonly bribeBoostApi: string;
|
|
22
28
|
readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
|
|
23
29
|
readonly lstStakerVaultFactory: "0xAf10B532cCC25B26a8e28913D5C4056a77e7a178";
|
|
@@ -56,7 +62,13 @@ declare const bepolia: {
|
|
|
56
62
|
readonly honey: {
|
|
57
63
|
readonly name: "Honey";
|
|
58
64
|
readonly url: "https://bepolia.honey.berachain.com";
|
|
59
|
-
readonly subgraph:
|
|
65
|
+
readonly subgraph: {
|
|
66
|
+
readonly name: "honey-subgraph";
|
|
67
|
+
readonly uri: string;
|
|
68
|
+
readonly headers: {
|
|
69
|
+
Authorization: string;
|
|
70
|
+
} | undefined;
|
|
71
|
+
};
|
|
60
72
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
61
73
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
62
74
|
readonly pythWrapper: "0xE5Ad9BA751714ec8cdd554b5a9f12BFcA13980cB";
|
|
@@ -70,7 +82,6 @@ declare const bepolia: {
|
|
|
70
82
|
readonly governance: {
|
|
71
83
|
readonly governor: `0x${string}`;
|
|
72
84
|
readonly timelock: `0x${string}`;
|
|
73
|
-
readonly subgraph: string;
|
|
74
85
|
};
|
|
75
86
|
readonly lists: {
|
|
76
87
|
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/bepolia.json";
|
package/dist/bepolia.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-JW76KOHH.mjs";import"./chunk-4EBBM3AH.mjs";import"./chunk-S2A3Z34I.mjs";import"./chunk-MS6UGFXI.mjs";import"./chunk-JZXLCA2E.mjs";export{a as bepolia};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunkXBV7BAIEcjs = require('./chunk-XBV7BAIE.cjs');var _chunkTQ67UFXVcjs = require('./chunk-TQ67UFXV.cjs');var _chunk3KQLFIHTcjs = require('./chunk-3KQLFIHT.cjs');var _={80094:_chunkTQ67UFXVcjs.a,80069:_chunkXBV7BAIEcjs.a},E=_[_chunk3KQLFIHTcjs.a],e=_nullishCoalesce(process.env.NEXT_PUBLIC_PH_DATA_CENTER, () => ("eu")),t={apiKeys:{public:{thirdweb:_nullishCoalesce(process.env.NEXT_PUBLIC_THIRDWEB_CLIENT_ID, () => ("fc597da15a06f1a6b42fae42112dd770")),postHogProjectKey:"phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax",cookie3SiteId:process.env.NEXT_PUBLIC_COOKIE3_SITE_ID,enso:_nullishCoalesce(process.env.NEXT_PUBLIC_ENSO_API_KEY, () => ("3c1f3c7a-7ff7-4c5a-9a2b-79f50b5bfb4f"))},private:{dummyInternalApiKey:process.env.DUMMY_INTERNAL_API_KEY,luma:process.env.LUMA_API_KEY,clickup:process.env.CLICKUP_API_KEY,ghostContent:process.env.GHOST_CONTENT_API_KEY,ghostAdmin:process.env.GHOST_ADMIN_API_KEY,oogabooga:process.env.OOGABOOGA_API_KEY,haiku:process.env.HAIKU_API_KEY,kyberswap:process.env.KYBERSWAP_CLIENT_ID,enso:process.env.ENSO_API_KEY,etherscan:process.env.ETHERSCAN_API_KEY}},urls:{postHog:{region:e,apiHost:_nullishCoalesce(process.env.NEXT_PUBLIC_PH_REVERSE_PROXY_PATH, () => (`https://${e}.i.posthog.com`)),uiHost:`https://${e}.posthog.com`},ghost:"https://berachain.ghost.io",imageDelivery:"https://imagedelivery.net/qNj7Q3MCke89zoKzav7eDQ",homepage:_nullishCoalesce(process.env.NEXT_PUBLIC_HOMEPAGE_URL, () => ("https://www.berachain.com")),ecosystem:"https://ecosystem.berachain.com/",ecojobs:"https://ecojobs.berachain.com/",docs:"https://docs.berachain.com",careers:"https://careers.berachain.com/",mediaKit:"https://drive.google.com/drive/folders/12t_a4Rci2txC3uVj9JyXXsSRCqWfd4GG/",blog:"https://blog.berachain.com/",news:"https://news.berachain.com/",honeypaper:"https://honeypaper.berachain.com/",airdrop:"https://airdrop.berachain.com/",twitter:"https://x.com/berachain",telegram:"https://t.me/BerachainPortal",discord:"https://discord.com/invite/berachain",github:"https://github.com/berachain",buildabera:"https://buildabera.xyz/"},bend:{liquidationWarningLtvMargin:.05,maxBorrowLtvMargin:.05,publicAllocatorSupplyTargetUtilizationWad:BigInt(9e17),useProductionContracts:_chunk3KQLFIHTcjs.b||process.env.NEXT_PUBLIC_BEND_USE_PRODUCTION_CONTRACTS==="true"||process.env.NODE_ENV==="test"},env:{isProduction:_chunk3KQLFIHTcjs.b,isLocalHost:_chunk3KQLFIHTcjs.c,isPreview:_chunk3KQLFIHTcjs.d,isStaging:_chunk3KQLFIHTcjs.e}},p=process.env.NODE_ENV!=="development"||process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS!=="0"&&!!process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS,h={isPosthogEnabled:t.apiKeys.public.postHogProjectKey&&p,isCookie3Enabled:t.apiKeys.public.cookie3SiteId&&p,disallowIndexing:_chunk3KQLFIHTcjs.a!==80094&&_chunk3KQLFIHTcjs.a!==80069,hideCurator:!1},A= exports.b ={...t,flags:h},N= exports.c ={...E};exports.a = _; exports.b = A; exports.c = N;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as e}from"./chunk-4EBBM3AH.mjs";var s={chainId:80069,tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x",weth:"0x"},depositContract:"0x4242424242424242424242424242424242424242",pol:{rewardVaultHelper:"0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2",beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",rewardAllocationFactory:"0x7f09Cf6958631513aF0400488F65c7B5c0313F52",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:{name:"pol-subgraph",uri:process.env.PRIVATE_80069_POL_SUBGRAPH_UPSTREAM??`${e}pol-subgraph/bepolia-latest/gn`},feesSubgraph:{name:"pol-fees-subgraph",uri:process.env.PRIVATE_80069_POL_FEES_SUBGRAPH_UPSTREAM??`${e}pol-fees-subgraph/bepolia-v1.0.0/gn`},bribeBoostApi:process.env.NEXT_PUBLIC_80069_INCENTIVES_API||"https://bepolia.api-claim.berachain.com",bgtIncentiveDistributor:"0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3",lstStakerVaultFactory:"0xAf10B532cCC25B26a8e28913D5C4056a77e7a178"},api:{name:"Berachain API",uri:process.env.PRIVATE_80069_BEX_API_URL??process.env.NEXT_PUBLIC_80069_BEX_API_URL??"https://bepolia-api.berachain.com",headers:process.env.PRIVATE_80069_BEX_API_KEY?{"x-api-key":process.env.PRIVATE_80069_BEX_API_KEY}:void 0},backend:{name:"Berachain Backend",uri:process.env.NEXT_PUBLIC_80069_BACKEND_API_URL??"https://backend-production-351b.up.railway.app"},bex:{chainName:"BEPOLIA",vault:"0x708cA656b68A6b7384a488A36aD33505a77241FE",helper:"0xC7c981ADcDC5d48fed0CD52807fb2bAB22676C8f",queries:"0xE3723383a0EA73D5c0dE424BAA97F97f86f6cF92",relayer:"0x343215E156Ff586711a5B8C49Fe3099BAF22624C",factories:{composableStable:"0xB60DbBaCEaeC23486a64d12089F467ef949f1bb1",weighted:"0xf1d23276C7b271B2aC595C78977b2312E9954D57"},poolCreationHelper:"0x0dC9964F6CA33d9EF38DEB4925234766127C6B36",aggregatorsRouter:"0x0000000000000000000000000000000000000000",aggregatorsRouterExecutor:"0x0000000000000000000000000000000000000000",haikuRouter:null,haikuAgentAddress:null,aggregatorsProxyUrl:process.env.NEXT_PUBLIC_80069_AGGREGATORS_PROXY_URL??"",recoverFundsApi:"https://t3stbe4i5d40p.testnet.berachain.com",recoverFundsContract:"0x0eFeC4379805fAFA7269Ec599a6921f388C8841a",balancerDelegatedOwnership:"0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b"},honey:{name:"Honey",url:"https://bepolia.honey.berachain.com",subgraph:{name:"honey-subgraph",uri:process.env.PRIVATE_80069_HONEY_SUBGRAPH_UPSTREAM??"https://api.subgraph.ormilabs.com/api/private/948207bc-bbb5-47e7-969a-06f9a6f35af3/subgraphs/honey-subgraph/bepolia-v1.2.1/gn",headers:process.env.ORMI_API_KEY?{Authorization:`Bearer ${process.env.ORMI_API_KEY}`}:void 0},factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythOracle:"0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943",pythWrapper:"0xE5Ad9BA751714ec8cdd554b5a9f12BFcA13980cB",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce"},hub:{name:"BeraHub",url:"https://bepolia.hub.berachain.com"},governance:{governor:process.env.NEXT_PUBLIC_80069_GOVERNANCE_ADDRESS??"0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5",timelock:process.env.NEXT_PUBLIC_80069_GOVERNANCE_TIMELOCK??"0xb5f2000b5744f207c931526cAE2134cAa8b6862a"},lists:{rewardVaultList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/bepolia.json",tokenList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/bepolia.json",validatorList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/bepolia.json"},external:{pyth:"0x2880aB155794e7179c9eE2e38200202908C17B43"},averageBlockTime:2,bridge:{name:"BeraBridge",url:"https://bepolia.bridge.berachain.com",nft:{name:"BeraBridge NFT",url:"#",eth:{subgraph:"#"},berachain:{subgraph:"#"}}},bend:{name:"Bend",url:"https://bepolia.bend.berachain.com",whiskApi:null,production:{morpho:null,adaptiveCurveIrm:null,metaMorphoFactory:null,publicAllocator:null,bundler3:null,generalAdapter1:null,supportedVaults:[]},staging:{morpho:null,adaptiveCurveIrm:null,metaMorphoFactory:null,publicAllocator:null,bundler3:null,generalAdapter1:null,supportedVaults:[]}},enso:{walletV2Factory:null,walletFlashloanAdapter:null},explore:{name:"Explore",url:"https://explore.berachain.com"},explorer:{name:"Berascan",url:"https://testnet.berascan.com"},chain:{name:process.env.NEXT_PUBLIC_CHAIN_NAME??"Berachain Bepolia"},faucet:{name:"Faucet",url:"https://bepolia.faucet.berachain.com",dripAmount:1,timeGap:8,cloudflareKey:process.env.CLOUDFLARE_KEY||"0x4AAAAAAARdAuciFArKhVwt",endpoint:"https://faucet-api.testnet.berachain.com"}};export{s as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunk276AZYTLcjs = require('./chunk-276AZYTL.cjs');var c={chainId:80094,tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x0555E30da8f98308EdB960aa94C0Db47230d2B9c",weth:"0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590"},depositContract:"0x4242424242424242424242424242424242424242",pol:{rewardVaultHelper:"0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2",beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",rewardAllocationFactory:"0xc8FD9a3fB3Dad4C22c9F8Cfa7cecC318A667A791",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:{name:"pol-subgraph",uri:_nullishCoalesce(process.env.PRIVATE_80094_POL_SUBGRAPH_UPSTREAM, () => (`${_chunk276AZYTLcjs.b}pol-subgraph/mainnet-latest/gn`))},feesSubgraph:{name:"pol-fees-subgraph",uri:_nullishCoalesce(process.env.PRIVATE_80094_POL_FEES_SUBGRAPH_UPSTREAM, () => (`${_chunk276AZYTLcjs.b}pol-fees-subgraph/mainnet-v1.0.0/gn`))},bribeBoostApi:process.env.NEXT_PUBLIC_80094_INCENTIVES_API||"https://api-claim.berachain.com",bgtIncentiveDistributor:"0x77DA09bC82652f9A14d1b170a001e759640298e6",lstStakerVaultFactory:"0xc41bbD6695AB6bdc6D04701b15f4CE5EbA2e2500"},api:{name:"Berachain API",uri:_nullishCoalesce(_nullishCoalesce(process.env.PRIVATE_80094_BEX_API_URL, () => (process.env.NEXT_PUBLIC_80094_BEX_API_URL)), () => ("https://api.berachain.com")),headers:process.env.PRIVATE_80094_BEX_API_KEY?{"x-api-key":process.env.PRIVATE_80094_BEX_API_KEY}:void 0},backend:{name:"Berachain Backend",uri:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_BACKEND_API_URL, () => ("https://api-prod-ff16.up.railway.app"))},bex:{chainName:"BERACHAIN",vault:"0x4Be03f781C497A489E3cB0287833452cA9B9E80B",helper:"0x5083737EC75a728c265BE578C9d0d5333a2c5951",queries:"0x3C612e132624f4Bd500eE1495F54565F0bcc9b59",relayer:"0x6044f181aB5E9C05A4ed9Ce295f3B178d2492EE7",factories:{composableStable:"0xDfA30BDa0375d4763711AB0CC8D91B20bfCC87E1",weighted:"0xa966fA8F2d5B087FFFA499C0C1240589371Af409"},balancerDelegatedOwnership:"0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b",poolCreationHelper:"0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2",aggregatorsRouter:"0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58",aggregatorsRouterExecutor:"0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8",haikuRouter:"0x24aC999FF132B32c5b3956973b6213B0d07eB2C7",haikuAgentAddress:"0x69495273D6Dc572A830A4D6e00400a1e9d5B8f71",aggregatorsProxyUrl:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_AGGREGATORS_PROXY_URL, () => ("https://gateway.mainnet.berachain.com/proxy")),recoverFundsApi:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_RECOVER_FUNDS_API, () => ("https://be4i5d40pr3f00n4c441n.mainnet.berachain.com")),recoverFundsContract:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_RECOVER_FUNDS_CONTRACT, () => ("0xB5787B8f7b07a00229b617c4B7a616185857C147"))},honey:{name:"Honey",url:"https://honey.berachain.com",subgraph:{name:"honey-subgraph",uri:_nullishCoalesce(process.env.PRIVATE_80094_HONEY_SUBGRAPH_UPSTREAM, () => ("https://api.subgraph.ormilabs.com/api/private/948207bc-bbb5-47e7-969a-06f9a6f35af3/subgraphs/honey-subgraph/mainnet-v1.2.1/gn")),headers:process.env.ORMI_API_KEY?{Authorization:`Bearer ${process.env.ORMI_API_KEY}`}:void 0},factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythOracle:"0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943",pythWrapper:"0xF5686e448BE103beA465105bEb9d284a34ae7e95",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce"},hub:{name:"BeraHub",url:"https://hub.berachain.com"},governance:{governor:"0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5",timelock:"0xb5f2000b5744f207c931526cAE2134cAa8b6862a"},lists:{rewardVaultList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/mainnet.json",tokenList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/mainnet.json",validatorList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/mainnet.json"},external:{pyth:"0x2880aB155794e7179c9eE2e38200202908C17B43"},averageBlockTime:2,bridge:{name:"BeraBridge",url:"https://bridge.berachain.com",nft:{name:"BeraBridge NFT",url:"https://nftbridge.berachain.com",eth:{subgraph:`${_chunk276AZYTLcjs.b}nft-bridge-subgraph/eth-v1.0.0-beta1/gn`},berachain:{subgraph:`${_chunk276AZYTLcjs.b}nft-bridge-subgraph/mainnet-v1.0.0-beta1/gn`}}},bend:{name:"Bend",url:"https://bend.berachain.com",whiskApi:{name:"Bend Whisk",uri:_nullishCoalesce(process.env.WHISK_API_URL, () => ("https://berachain.whisk.so/graphql")),headers:process.env.WHISK_API_KEY?{Authorization:`Bearer ${process.env.WHISK_API_KEY}`}:void 0},production:{morpho:"0x24147243f9c08d835C218Cda1e135f8dFD0517D0",adaptiveCurveIrm:"0xcf247Df3A2322Dea0D408f011c194906E77a6f62",metaMorphoFactory:"0x5EDd48C6ACBd565Eeb31702FD9fa9Cbc86fbE616",publicAllocator:"0xB62F34Ab315eaDeAc698e8EaEB6Fc2650951BFe7",bundler3:"0xF920140A65D0f412f2AB3e76C4fEAB5Eef0657ae",generalAdapter1:"0xd2B9667F5214115E27937C410cAeE83E3a901Df7",supportedVaults:(_nullishCoalesce(process.env.NEXT_PUBLIC_80094_BEND_PRODUCTION_SUPPORTED_VAULTS, () => ("0x30BbA9CD9Eb8c95824aa42Faa1Bb397b07545bc1"))).split(",").filter(Boolean)},staging:{morpho:"0xC5FabF3a7E98a2ed89f5d5057Ab010634Ca7e71f",adaptiveCurveIrm:"0x1d5376e532CcF25b740270624111D665830E5dB9",metaMorphoFactory:"0x524061B659380a5e4576d76F0951303B20B5932f",publicAllocator:"0xFD6e68bC20be2a01Ec1Df687c83f927087D52811",bundler3:"0x56811e1BFfF951B98c7940d3aCe0e549Ec4fDee8",generalAdapter1:"0x257a41E20BBfe90D750646C2e00bA700D55958C5",supportedVaults:(_nullishCoalesce(process.env.NEXT_PUBLIC_80094_BEND_STAGING_SUPPORTED_VAULTS, () => ("0x19DcFf4e8Ff0B554D8a1f22d289A449fd4FbddBa,0xC0808A144CE2ea85bF84EBD1dDF5D59429f59dDE"))).split(",").filter(Boolean)}},enso:{walletV2Factory:"0xc914a663837eb21c5a650716e015659686597e55",walletFlashloanAdapter:"0x5dE09823D9143886896507107590d9859F3E390b"},explore:{name:"Explore",url:"https://explore.berachain.com"},explorer:{name:"Berascan",url:"https://berascan.com"},chain:{name:_nullishCoalesce(process.env.NEXT_PUBLIC_CHAIN_NAME, () => ("Berachain"))},faucet:null};exports.a = c;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as e}from"./chunk-4EBBM3AH.mjs";var c={chainId:80094,tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x0555E30da8f98308EdB960aa94C0Db47230d2B9c",weth:"0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590"},depositContract:"0x4242424242424242424242424242424242424242",pol:{rewardVaultHelper:"0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2",beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",rewardAllocationFactory:"0xc8FD9a3fB3Dad4C22c9F8Cfa7cecC318A667A791",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:{name:"pol-subgraph",uri:process.env.PRIVATE_80094_POL_SUBGRAPH_UPSTREAM??`${e}pol-subgraph/mainnet-latest/gn`},feesSubgraph:{name:"pol-fees-subgraph",uri:process.env.PRIVATE_80094_POL_FEES_SUBGRAPH_UPSTREAM??`${e}pol-fees-subgraph/mainnet-v1.0.0/gn`},bribeBoostApi:process.env.NEXT_PUBLIC_80094_INCENTIVES_API||"https://api-claim.berachain.com",bgtIncentiveDistributor:"0x77DA09bC82652f9A14d1b170a001e759640298e6",lstStakerVaultFactory:"0xc41bbD6695AB6bdc6D04701b15f4CE5EbA2e2500"},api:{name:"Berachain API",uri:process.env.PRIVATE_80094_BEX_API_URL??process.env.NEXT_PUBLIC_80094_BEX_API_URL??"https://api.berachain.com",headers:process.env.PRIVATE_80094_BEX_API_KEY?{"x-api-key":process.env.PRIVATE_80094_BEX_API_KEY}:void 0},backend:{name:"Berachain Backend",uri:process.env.NEXT_PUBLIC_80094_BACKEND_API_URL??"https://api-prod-ff16.up.railway.app"},bex:{chainName:"BERACHAIN",vault:"0x4Be03f781C497A489E3cB0287833452cA9B9E80B",helper:"0x5083737EC75a728c265BE578C9d0d5333a2c5951",queries:"0x3C612e132624f4Bd500eE1495F54565F0bcc9b59",relayer:"0x6044f181aB5E9C05A4ed9Ce295f3B178d2492EE7",factories:{composableStable:"0xDfA30BDa0375d4763711AB0CC8D91B20bfCC87E1",weighted:"0xa966fA8F2d5B087FFFA499C0C1240589371Af409"},balancerDelegatedOwnership:"0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b",poolCreationHelper:"0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2",aggregatorsRouter:"0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58",aggregatorsRouterExecutor:"0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8",haikuRouter:"0x24aC999FF132B32c5b3956973b6213B0d07eB2C7",haikuAgentAddress:"0x69495273D6Dc572A830A4D6e00400a1e9d5B8f71",aggregatorsProxyUrl:process.env.NEXT_PUBLIC_80094_AGGREGATORS_PROXY_URL??"https://gateway.mainnet.berachain.com/proxy",recoverFundsApi:process.env.NEXT_PUBLIC_80094_RECOVER_FUNDS_API??"https://be4i5d40pr3f00n4c441n.mainnet.berachain.com",recoverFundsContract:process.env.NEXT_PUBLIC_80094_RECOVER_FUNDS_CONTRACT??"0xB5787B8f7b07a00229b617c4B7a616185857C147"},honey:{name:"Honey",url:"https://honey.berachain.com",subgraph:{name:"honey-subgraph",uri:process.env.PRIVATE_80094_HONEY_SUBGRAPH_UPSTREAM??"https://api.subgraph.ormilabs.com/api/private/948207bc-bbb5-47e7-969a-06f9a6f35af3/subgraphs/honey-subgraph/mainnet-v1.2.1/gn",headers:process.env.ORMI_API_KEY?{Authorization:`Bearer ${process.env.ORMI_API_KEY}`}:void 0},factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythOracle:"0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943",pythWrapper:"0xF5686e448BE103beA465105bEb9d284a34ae7e95",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce"},hub:{name:"BeraHub",url:"https://hub.berachain.com"},governance:{governor:"0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5",timelock:"0xb5f2000b5744f207c931526cAE2134cAa8b6862a"},lists:{rewardVaultList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/mainnet.json",tokenList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/mainnet.json",validatorList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/mainnet.json"},external:{pyth:"0x2880aB155794e7179c9eE2e38200202908C17B43"},averageBlockTime:2,bridge:{name:"BeraBridge",url:"https://bridge.berachain.com",nft:{name:"BeraBridge NFT",url:"https://nftbridge.berachain.com",eth:{subgraph:`${e}nft-bridge-subgraph/eth-v1.0.0-beta1/gn`},berachain:{subgraph:`${e}nft-bridge-subgraph/mainnet-v1.0.0-beta1/gn`}}},bend:{name:"Bend",url:"https://bend.berachain.com",whiskApi:{name:"Bend Whisk",uri:process.env.WHISK_API_URL??"https://berachain.whisk.so/graphql",headers:process.env.WHISK_API_KEY?{Authorization:`Bearer ${process.env.WHISK_API_KEY}`}:void 0},production:{morpho:"0x24147243f9c08d835C218Cda1e135f8dFD0517D0",adaptiveCurveIrm:"0xcf247Df3A2322Dea0D408f011c194906E77a6f62",metaMorphoFactory:"0x5EDd48C6ACBd565Eeb31702FD9fa9Cbc86fbE616",publicAllocator:"0xB62F34Ab315eaDeAc698e8EaEB6Fc2650951BFe7",bundler3:"0xF920140A65D0f412f2AB3e76C4fEAB5Eef0657ae",generalAdapter1:"0xd2B9667F5214115E27937C410cAeE83E3a901Df7",supportedVaults:(process.env.NEXT_PUBLIC_80094_BEND_PRODUCTION_SUPPORTED_VAULTS??"0x30BbA9CD9Eb8c95824aa42Faa1Bb397b07545bc1").split(",").filter(Boolean)},staging:{morpho:"0xC5FabF3a7E98a2ed89f5d5057Ab010634Ca7e71f",adaptiveCurveIrm:"0x1d5376e532CcF25b740270624111D665830E5dB9",metaMorphoFactory:"0x524061B659380a5e4576d76F0951303B20B5932f",publicAllocator:"0xFD6e68bC20be2a01Ec1Df687c83f927087D52811",bundler3:"0x56811e1BFfF951B98c7940d3aCe0e549Ec4fDee8",generalAdapter1:"0x257a41E20BBfe90D750646C2e00bA700D55958C5",supportedVaults:(process.env.NEXT_PUBLIC_80094_BEND_STAGING_SUPPORTED_VAULTS??"0x19DcFf4e8Ff0B554D8a1f22d289A449fd4FbddBa,0xC0808A144CE2ea85bF84EBD1dDF5D59429f59dDE").split(",").filter(Boolean)}},enso:{walletV2Factory:"0xc914a663837eb21c5a650716e015659686597e55",walletFlashloanAdapter:"0x5dE09823D9143886896507107590d9859F3E390b"},explore:{name:"Explore",url:"https://explore.berachain.com"},explorer:{name:"Berascan",url:"https://berascan.com"},chain:{name:process.env.NEXT_PUBLIC_CHAIN_NAME??"Berachain"},faucet:null};export{c as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunk276AZYTLcjs = require('./chunk-276AZYTL.cjs');var s={chainId:80069,tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x",weth:"0x"},depositContract:"0x4242424242424242424242424242424242424242",pol:{rewardVaultHelper:"0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2",beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",rewardAllocationFactory:"0x7f09Cf6958631513aF0400488F65c7B5c0313F52",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:{name:"pol-subgraph",uri:_nullishCoalesce(process.env.PRIVATE_80069_POL_SUBGRAPH_UPSTREAM, () => (`${_chunk276AZYTLcjs.b}pol-subgraph/bepolia-latest/gn`))},feesSubgraph:{name:"pol-fees-subgraph",uri:_nullishCoalesce(process.env.PRIVATE_80069_POL_FEES_SUBGRAPH_UPSTREAM, () => (`${_chunk276AZYTLcjs.b}pol-fees-subgraph/bepolia-v1.0.0/gn`))},bribeBoostApi:process.env.NEXT_PUBLIC_80069_INCENTIVES_API||"https://bepolia.api-claim.berachain.com",bgtIncentiveDistributor:"0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3",lstStakerVaultFactory:"0xAf10B532cCC25B26a8e28913D5C4056a77e7a178"},api:{name:"Berachain API",uri:_nullishCoalesce(_nullishCoalesce(process.env.PRIVATE_80069_BEX_API_URL, () => (process.env.NEXT_PUBLIC_80069_BEX_API_URL)), () => ("https://bepolia-api.berachain.com")),headers:process.env.PRIVATE_80069_BEX_API_KEY?{"x-api-key":process.env.PRIVATE_80069_BEX_API_KEY}:void 0},backend:{name:"Berachain Backend",uri:_nullishCoalesce(process.env.NEXT_PUBLIC_80069_BACKEND_API_URL, () => ("https://backend-production-351b.up.railway.app"))},bex:{chainName:"BEPOLIA",vault:"0x708cA656b68A6b7384a488A36aD33505a77241FE",helper:"0xC7c981ADcDC5d48fed0CD52807fb2bAB22676C8f",queries:"0xE3723383a0EA73D5c0dE424BAA97F97f86f6cF92",relayer:"0x343215E156Ff586711a5B8C49Fe3099BAF22624C",factories:{composableStable:"0xB60DbBaCEaeC23486a64d12089F467ef949f1bb1",weighted:"0xf1d23276C7b271B2aC595C78977b2312E9954D57"},poolCreationHelper:"0x0dC9964F6CA33d9EF38DEB4925234766127C6B36",aggregatorsRouter:"0x0000000000000000000000000000000000000000",aggregatorsRouterExecutor:"0x0000000000000000000000000000000000000000",haikuRouter:null,haikuAgentAddress:null,aggregatorsProxyUrl:_nullishCoalesce(process.env.NEXT_PUBLIC_80069_AGGREGATORS_PROXY_URL, () => ("")),recoverFundsApi:"https://t3stbe4i5d40p.testnet.berachain.com",recoverFundsContract:"0x0eFeC4379805fAFA7269Ec599a6921f388C8841a",balancerDelegatedOwnership:"0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b"},honey:{name:"Honey",url:"https://bepolia.honey.berachain.com",subgraph:{name:"honey-subgraph",uri:_nullishCoalesce(process.env.PRIVATE_80069_HONEY_SUBGRAPH_UPSTREAM, () => ("https://api.subgraph.ormilabs.com/api/private/948207bc-bbb5-47e7-969a-06f9a6f35af3/subgraphs/honey-subgraph/bepolia-v1.2.1/gn")),headers:process.env.ORMI_API_KEY?{Authorization:`Bearer ${process.env.ORMI_API_KEY}`}:void 0},factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythOracle:"0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943",pythWrapper:"0xE5Ad9BA751714ec8cdd554b5a9f12BFcA13980cB",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce"},hub:{name:"BeraHub",url:"https://bepolia.hub.berachain.com"},governance:{governor:_nullishCoalesce(process.env.NEXT_PUBLIC_80069_GOVERNANCE_ADDRESS, () => ("0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5")),timelock:_nullishCoalesce(process.env.NEXT_PUBLIC_80069_GOVERNANCE_TIMELOCK, () => ("0xb5f2000b5744f207c931526cAE2134cAa8b6862a"))},lists:{rewardVaultList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/bepolia.json",tokenList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/bepolia.json",validatorList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/bepolia.json"},external:{pyth:"0x2880aB155794e7179c9eE2e38200202908C17B43"},averageBlockTime:2,bridge:{name:"BeraBridge",url:"https://bepolia.bridge.berachain.com",nft:{name:"BeraBridge NFT",url:"#",eth:{subgraph:"#"},berachain:{subgraph:"#"}}},bend:{name:"Bend",url:"https://bepolia.bend.berachain.com",whiskApi:null,production:{morpho:null,adaptiveCurveIrm:null,metaMorphoFactory:null,publicAllocator:null,bundler3:null,generalAdapter1:null,supportedVaults:[]},staging:{morpho:null,adaptiveCurveIrm:null,metaMorphoFactory:null,publicAllocator:null,bundler3:null,generalAdapter1:null,supportedVaults:[]}},enso:{walletV2Factory:null,walletFlashloanAdapter:null},explore:{name:"Explore",url:"https://explore.berachain.com"},explorer:{name:"Berascan",url:"https://testnet.berascan.com"},chain:{name:_nullishCoalesce(process.env.NEXT_PUBLIC_CHAIN_NAME, () => ("Berachain Bepolia"))},faucet:{name:"Faucet",url:"https://bepolia.faucet.berachain.com",dripAmount:1,timeGap:8,cloudflareKey:process.env.CLOUDFLARE_KEY||"0x4AAAAAAARdAuciFArKhVwt",endpoint:"https://faucet-api.testnet.berachain.com"}};exports.a = s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./chunk-
|
|
1
|
+
import{a as n}from"./chunk-JW76KOHH.mjs";import{a as c}from"./chunk-VWV244JK.mjs";import{a as s,b as o,c as a,d as i,e as r}from"./chunk-S2A3Z34I.mjs";var _={80094:c,80069:n},E=_[s],e=process.env.NEXT_PUBLIC_PH_DATA_CENTER??"eu",t={apiKeys:{public:{thirdweb:process.env.NEXT_PUBLIC_THIRDWEB_CLIENT_ID??"fc597da15a06f1a6b42fae42112dd770",postHogProjectKey:"phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax",cookie3SiteId:process.env.NEXT_PUBLIC_COOKIE3_SITE_ID,enso:process.env.NEXT_PUBLIC_ENSO_API_KEY??"3c1f3c7a-7ff7-4c5a-9a2b-79f50b5bfb4f"},private:{dummyInternalApiKey:process.env.DUMMY_INTERNAL_API_KEY,luma:process.env.LUMA_API_KEY,clickup:process.env.CLICKUP_API_KEY,ghostContent:process.env.GHOST_CONTENT_API_KEY,ghostAdmin:process.env.GHOST_ADMIN_API_KEY,oogabooga:process.env.OOGABOOGA_API_KEY,haiku:process.env.HAIKU_API_KEY,kyberswap:process.env.KYBERSWAP_CLIENT_ID,enso:process.env.ENSO_API_KEY,etherscan:process.env.ETHERSCAN_API_KEY}},urls:{postHog:{region:e,apiHost:process.env.NEXT_PUBLIC_PH_REVERSE_PROXY_PATH??`https://${e}.i.posthog.com`,uiHost:`https://${e}.posthog.com`},ghost:"https://berachain.ghost.io",imageDelivery:"https://imagedelivery.net/qNj7Q3MCke89zoKzav7eDQ",homepage:process.env.NEXT_PUBLIC_HOMEPAGE_URL??"https://www.berachain.com",ecosystem:"https://ecosystem.berachain.com/",ecojobs:"https://ecojobs.berachain.com/",docs:"https://docs.berachain.com",careers:"https://careers.berachain.com/",mediaKit:"https://drive.google.com/drive/folders/12t_a4Rci2txC3uVj9JyXXsSRCqWfd4GG/",blog:"https://blog.berachain.com/",news:"https://news.berachain.com/",honeypaper:"https://honeypaper.berachain.com/",airdrop:"https://airdrop.berachain.com/",twitter:"https://x.com/berachain",telegram:"https://t.me/BerachainPortal",discord:"https://discord.com/invite/berachain",github:"https://github.com/berachain",buildabera:"https://buildabera.xyz/"},bend:{liquidationWarningLtvMargin:.05,maxBorrowLtvMargin:.05,publicAllocatorSupplyTargetUtilizationWad:BigInt(9e17),useProductionContracts:o||process.env.NEXT_PUBLIC_BEND_USE_PRODUCTION_CONTRACTS==="true"||process.env.NODE_ENV==="test"},env:{isProduction:o,isLocalHost:a,isPreview:i,isStaging:r}},p=process.env.NODE_ENV!=="development"||process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS!=="0"&&!!process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS,h={isPosthogEnabled:t.apiKeys.public.postHogProjectKey&&p,isCookie3Enabled:t.apiKeys.public.cookie3SiteId&&p,disallowIndexing:s!==80094&&s!==80069,hideCurator:!1},A={...t,flags:h},N={...E};export{_ as a,A as b,N as c};
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as HttpLink } from './types-
|
|
2
|
-
export { A as Address, a as AppName, B as BeraConfig, C as ChainId, P as ProjectName } from './types-
|
|
1
|
+
import { H as HttpLink } from './types-MT3NuQb7.cjs';
|
|
2
|
+
export { A as Address, a as AppName, B as BeraConfig, C as ChainId, P as ProjectName } from './types-MT3NuQb7.cjs';
|
|
3
3
|
|
|
4
4
|
declare function getUriFromLink(link: HttpLink): string;
|
|
5
5
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as HttpLink } from './types-
|
|
2
|
-
export { A as Address, a as AppName, B as BeraConfig, C as ChainId, P as ProjectName } from './types-
|
|
1
|
+
import { H as HttpLink } from './types-MT3NuQb7.js';
|
|
2
|
+
export { A as Address, a as AppName, B as BeraConfig, C as ChainId, P as ProjectName } from './types-MT3NuQb7.js';
|
|
3
3
|
|
|
4
4
|
declare function getUriFromLink(link: HttpLink): string;
|
|
5
5
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkJYSZ2GU3cjs = require('../chunk-JYSZ2GU3.cjs');var _chunkDUO7UEQDcjs = require('../chunk-DUO7UEQD.cjs');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkJYSZ2GU3cjs = require('../chunk-JYSZ2GU3.cjs');var _chunkDUO7UEQDcjs = require('../chunk-DUO7UEQD.cjs');var _chunk7BJPOGJ3cjs = require('../chunk-7BJPOGJ3.cjs');require('../chunk-XBV7BAIE.cjs');require('../chunk-TQ67UFXV.cjs');var _chunk276AZYTLcjs = require('../chunk-276AZYTL.cjs');var _chunk3KQLFIHTcjs = require('../chunk-3KQLFIHT.cjs');require('../chunk-2OLL4MUY.cjs');require('../chunk-4VDLQK6F.cjs');function v({dsn:t=process.env.NEXT_PUBLIC_SENTRY_DSN}={}){if(!t)return;let n=/^(?:https:\/\/)([A-z0-9]{32})(?::{0,1})([A-z0-9]*)(?:@)(o[a-z0-9]+)(?:\.ingest\.us\.sentry\.io)\/([0-9]{16})/i,e=_optionalChain([t, 'optionalAccess', _ => _.match, 'call', _2 => _2(n)]);if(!e)return;let[,s,r,o,a]=e,c=new URL(`https://${o}.ingest.us.sentry.io/api/${a}/security/?sentry_key=${s}`);return c.searchParams.set("sentry_key",s),c.searchParams.set("sentry_env",_chunkJYSZ2GU3cjs.a),c.searchParams.set("sentry_release",_chunkJYSZ2GU3cjs.c),{dsn:e[0],projectId:a,deprecatedSecret:r||void 0,cspEndpoint:c,org:o,publicKey:e[1]}}function N({isDevelopment:t,nonce:n,cspReporting:e,...s}){let r=[],o=_chunk7BJPOGJ3cjs.a[_chunk3KQLFIHTcjs.a],a=["https://*.sentry.io/","https://*.berachain.com/","https://*.berachain-staging.com/","wss://www.walletlink.org/rpc","https://*.thirdweb.com/","https://raw.githubusercontent.com/berachain/metadata/",_chunk276AZYTLcjs.a,"https://*.quiknode.pro","https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/",_chunk276AZYTLcjs.b,o.pol.bribeBoostApi,_chunkDUO7UEQDcjs.a.call(void 0, o.api),_chunk276AZYTLcjs.e,_chunk276AZYTLcjs.d,_chunk276AZYTLcjs.f,"https://open-api.openocean.finance/","https://api.haiku.trade/","https://api.fly.trade/",`${o.bex.aggregatorsProxyUrl}/`,"wss://relay.walletconnect.com/","wss://relay.walletconnect.org/","https://verify.walletconnect.org/v3/public-key","https://api.routescan.io/v2/network/","wss://metamask-sdk.api.cx.metamask.io/socket.io/","https://metamask-sdk.api.cx.metamask.io","https://app.dynamicauth.com/api","https://www.walletlink.org/events","https://api.trongrid.io/","https://api-mainnet.layerzero-scan.com/","https://api-testnet.layerzero-scan.com/","https://chain-proxy.wallet.coinbase.com/","https://wallet.binance.com/tonbridge/","https://*.thirdweb.com/","https://eth.merkle.io/","https://cdn.whisk.so/","https://*.posthog.com","https://vercel.live","wss://ws-us3.pusher.com","https://cdn.markfi.xyz/scripts/analytics/","https://a.markfi.xyz/","https://hermes.pyth.network/v2/","https://rpc.porto.sh","https://api.avax.network/ext/bc/C/rpc","https://polygon-rpc.com","https://mainnet.optimism.io/","https://arb1.arbitrum.io/rpc","wss://www.walletlink.org/rpc","https://eth.merkle.io","https://mainnet.base.org/","https://api.enso.finance/","wss://www.walletlink.org/rpc",_chunkDUO7UEQDcjs.a.call(void 0, o.backend)].concat(_nullishCoalesce(s.connectionSources, () => ([]))).filter(i=>{if(!i)return!1;let p=_chunkDUO7UEQDcjs.a.call(void 0, i);return!(!p||p.trim()===""||p.startsWith(_chunk276AZYTLcjs.b)&&p!==_chunk276AZYTLcjs.b)}),c=[_chunk276AZYTLcjs.a,"https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://coin-images.coingecko.com/coins/images/","https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/","https://icons.llama.fi/","https://icons.llamao.fi/","https://static.debank.com/","https://cdn.whisk.so/","https://cdn.morpho.org/","https://raw.githubusercontent.com/trustwallet/assets/","https://pelaguswallet.io/docs/img","https://*.posthog.com","https://vercel.live","https://vercel.com"].concat(_nullishCoalesce(s.pictureSources, () => ([]))).filter(i=>!(!i||i.trim()==="")),S=["https://verify.walletconnect.com/","https://verify.walletconnect.org/","https://embedded-wallet.thirdweb.com/","https://*.posthog.com","https://vercel.live/","https://id.porto.sh"].concat(_nullishCoalesce(s.frameSources, () => ([]))),x=["https://cdn.jsdelivr.net/npm/@fontsource/","https://*.posthog.com","https://vercel.live","https://assets.vercel.com","https://fonts.gstatic.com","https://use.typekit.net/"].concat(_nullishCoalesce(s.fontSources, () => ([]))),$=["https://*.posthog.com","https://vercel.live"].concat(_nullishCoalesce(s.styleSources, () => ([]))),u=`
|
|
2
2
|
default-src 'self' ${r.join(" ")};
|
|
3
3
|
base-uri 'self';
|
|
4
4
|
frame-src 'self' ${S.join(" ")};
|
|
5
5
|
frame-ancestors 'self' https://*.posthog.com;
|
|
6
|
-
script-src 'self' 'sha256-k2HGvaYkGyYZxOwKGxgE1mr06tZEDcEXNZ5mdcldK0o=' 'nonce-${n}' https://*.posthog.com 'strict-dynamic' ${
|
|
6
|
+
script-src 'self' 'sha256-k2HGvaYkGyYZxOwKGxgE1mr06tZEDcEXNZ5mdcldK0o=' 'nonce-${n}' https://*.posthog.com 'strict-dynamic' ${t?"'unsafe-eval'":""};
|
|
7
7
|
worker-src 'self' blob: data:;
|
|
8
8
|
font-src 'self' ${x.join(" ")};
|
|
9
9
|
style-src 'self' ${$.join(" ")} 'unsafe-inline';
|
|
10
10
|
img-src 'self' data: ${c.join(" ")};
|
|
11
11
|
connect-src 'self' ${a.join(" ")};
|
|
12
12
|
media-src https://*.posthog.com;
|
|
13
|
-
`;return
|
|
14
|
-
report-uri ${
|
|
13
|
+
`;return e&&(u+=`
|
|
14
|
+
report-uri ${e};
|
|
15
15
|
report-to csp-endpoint;
|
|
16
|
-
`),u.replace(/\s{2,}/g," ").trim()}var C=[_chunk276AZYTLcjs.a,"https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://berachain.ghost.io/content/images/"].filter(
|
|
16
|
+
`),u.replace(/\s{2,}/g," ").trim()}var C=[_chunk276AZYTLcjs.a,"https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://berachain.ghost.io/content/images/"].filter(t=>!(!t||t.trim()===""));function P({response:t}){let n=_optionalChain([v, 'call', _3 => _3(), 'optionalAccess', _4 => _4.cspEndpoint]),e=Buffer.from(crypto.randomUUID()).toString("base64"),s=process.env.NODE_ENV==="development",r=[{key:"Content-Security-Policy",value:N({isDevelopment:s,cspReporting:_optionalChain([n, 'optionalAccess', _5 => _5.toString, 'call', _6 => _6()]),nonce:e})},{key:"X-Frame-Options",value:"DENY"},{key:"X-Content-Type-Options",value:"nosniff"},{key:"X-Nonce",value:e}];n&&(r.push({key:"Reporting-To",value:`{"group":"csp-endpoint","max_age":10886400,"endpoints":[{"url":"${n}"}],"include_subdomains":true}"`}),r.push({key:"Reporting-Endpoints",value:`csp-endpoint="${n}"`}));for(let o of r)t.headers.set(o.key,o.value);return t}exports.cspMiddleware = P; exports.getContentSecurityPolicy = N; exports.staticPictureSources = C;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as k,c as b}from"../chunk-DL645PXT.mjs";import{a as m}from"../chunk-O243TIHY.mjs";import{a as w}from"../chunk-ZA2X4K7Z.mjs";import"../chunk-JW76KOHH.mjs";import"../chunk-VWV244JK.mjs";import{a as l,b as h,d as g,e as d,f as y}from"../chunk-4EBBM3AH.mjs";import{a as f}from"../chunk-S2A3Z34I.mjs";import"../chunk-MS6UGFXI.mjs";import"../chunk-JZXLCA2E.mjs";function v({dsn:t=process.env.NEXT_PUBLIC_SENTRY_DSN}={}){if(!t)return;let n=/^(?:https:\/\/)([A-z0-9]{32})(?::{0,1})([A-z0-9]*)(?:@)(o[a-z0-9]+)(?:\.ingest\.us\.sentry\.io)\/([0-9]{16})/i,e=t?.match(n);if(!e)return;let[,s,r,o,a]=e,c=new URL(`https://${o}.ingest.us.sentry.io/api/${a}/security/?sentry_key=${s}`);return c.searchParams.set("sentry_key",s),c.searchParams.set("sentry_env",k),c.searchParams.set("sentry_release",b),{dsn:e[0],projectId:a,deprecatedSecret:r||void 0,cspEndpoint:c,org:o,publicKey:e[1]}}function N({isDevelopment:t,nonce:n,cspReporting:e,...s}){let r=[],o=w[f],a=["https://*.sentry.io/","https://*.berachain.com/","https://*.berachain-staging.com/","wss://www.walletlink.org/rpc","https://*.thirdweb.com/","https://raw.githubusercontent.com/berachain/metadata/",l,"https://*.quiknode.pro","https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/",h,o.pol.bribeBoostApi,m(o.api),d,g,y,"https://open-api.openocean.finance/","https://api.haiku.trade/","https://api.fly.trade/",`${o.bex.aggregatorsProxyUrl}/`,"wss://relay.walletconnect.com/","wss://relay.walletconnect.org/","https://verify.walletconnect.org/v3/public-key","https://api.routescan.io/v2/network/","wss://metamask-sdk.api.cx.metamask.io/socket.io/","https://metamask-sdk.api.cx.metamask.io","https://app.dynamicauth.com/api","https://www.walletlink.org/events","https://api.trongrid.io/","https://api-mainnet.layerzero-scan.com/","https://api-testnet.layerzero-scan.com/","https://chain-proxy.wallet.coinbase.com/","https://wallet.binance.com/tonbridge/","https://*.thirdweb.com/","https://eth.merkle.io/","https://cdn.whisk.so/","https://*.posthog.com","https://vercel.live","wss://ws-us3.pusher.com","https://cdn.markfi.xyz/scripts/analytics/","https://a.markfi.xyz/","https://hermes.pyth.network/v2/","https://rpc.porto.sh","https://api.avax.network/ext/bc/C/rpc","https://polygon-rpc.com","https://mainnet.optimism.io/","https://arb1.arbitrum.io/rpc","wss://www.walletlink.org/rpc","https://eth.merkle.io","https://mainnet.base.org/","https://api.enso.finance/","wss://www.walletlink.org/rpc",m(o.backend)].concat(s.connectionSources??[]).filter(i=>{if(!i)return!1;let p=m(i);return!(!p||p.trim()===""||p.startsWith(h)&&p!==h)}),c=[l,"https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://coin-images.coingecko.com/coins/images/","https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/","https://icons.llama.fi/","https://icons.llamao.fi/","https://static.debank.com/","https://cdn.whisk.so/","https://cdn.morpho.org/","https://raw.githubusercontent.com/trustwallet/assets/","https://pelaguswallet.io/docs/img","https://*.posthog.com","https://vercel.live","https://vercel.com"].concat(s.pictureSources??[]).filter(i=>!(!i||i.trim()==="")),S=["https://verify.walletconnect.com/","https://verify.walletconnect.org/","https://embedded-wallet.thirdweb.com/","https://*.posthog.com","https://vercel.live/","https://id.porto.sh"].concat(s.frameSources??[]),x=["https://cdn.jsdelivr.net/npm/@fontsource/","https://*.posthog.com","https://vercel.live","https://assets.vercel.com","https://fonts.gstatic.com","https://use.typekit.net/"].concat(s.fontSources??[]),$=["https://*.posthog.com","https://vercel.live"].concat(s.styleSources??[]),u=`
|
|
2
2
|
default-src 'self' ${r.join(" ")};
|
|
3
3
|
base-uri 'self';
|
|
4
4
|
frame-src 'self' ${S.join(" ")};
|
|
5
5
|
frame-ancestors 'self' https://*.posthog.com;
|
|
6
|
-
script-src 'self' 'sha256-k2HGvaYkGyYZxOwKGxgE1mr06tZEDcEXNZ5mdcldK0o=' 'nonce-${n}' https://*.posthog.com 'strict-dynamic' ${
|
|
6
|
+
script-src 'self' 'sha256-k2HGvaYkGyYZxOwKGxgE1mr06tZEDcEXNZ5mdcldK0o=' 'nonce-${n}' https://*.posthog.com 'strict-dynamic' ${t?"'unsafe-eval'":""};
|
|
7
7
|
worker-src 'self' blob: data:;
|
|
8
8
|
font-src 'self' ${x.join(" ")};
|
|
9
9
|
style-src 'self' ${$.join(" ")} 'unsafe-inline';
|
|
10
10
|
img-src 'self' data: ${c.join(" ")};
|
|
11
11
|
connect-src 'self' ${a.join(" ")};
|
|
12
12
|
media-src https://*.posthog.com;
|
|
13
|
-
`;return
|
|
14
|
-
report-uri ${
|
|
13
|
+
`;return e&&(u+=`
|
|
14
|
+
report-uri ${e};
|
|
15
15
|
report-to csp-endpoint;
|
|
16
|
-
`),u.replace(/\s{2,}/g," ").trim()}var C=[
|
|
16
|
+
`),u.replace(/\s{2,}/g," ").trim()}var C=[l,"https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://berachain.ghost.io/content/images/"].filter(t=>!(!t||t.trim()===""));function P({response:t}){let n=v()?.cspEndpoint,e=Buffer.from(crypto.randomUUID()).toString("base64"),s=process.env.NODE_ENV==="development",r=[{key:"Content-Security-Policy",value:N({isDevelopment:s,cspReporting:n?.toString(),nonce:e})},{key:"X-Frame-Options",value:"DENY"},{key:"X-Content-Type-Options",value:"nosniff"},{key:"X-Nonce",value:e}];n&&(r.push({key:"Reporting-To",value:`{"group":"csp-endpoint","max_age":10886400,"endpoints":[{"url":"${n}"}],"include_subdomains":true}"`}),r.push({key:"Reporting-Endpoints",value:`csp-endpoint="${n}"`}));for(let o of r)t.headers.set(o.key,o.value);return t}export{P as cspMiddleware,N as getContentSecurityPolicy,C as staticPictureSources};
|
package/dist/internal/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk7BJPOGJ3cjs = require('../chunk-7BJPOGJ3.cjs');require('../chunk-XBV7BAIE.cjs');require('../chunk-TQ67UFXV.cjs');var _chunk276AZYTLcjs = require('../chunk-276AZYTL.cjs');var _chunk3KQLFIHTcjs = require('../chunk-3KQLFIHT.cjs');var _chunk2OLL4MUYcjs = require('../chunk-2OLL4MUY.cjs');require('../chunk-4VDLQK6F.cjs');exports.ChainId = _chunk2OLL4MUYcjs.a; exports.alchemyJsonRpcUrl = _chunk276AZYTLcjs.f; exports.appConfig = _chunk7BJPOGJ3cjs.b; exports.chainConfigs = _chunk7BJPOGJ3cjs.a; exports.chainId = _chunk3KQLFIHTcjs.a; exports.config = _chunk7BJPOGJ3cjs.c; exports.currentDapp = _chunk3KQLFIHTcjs.f; exports.defaultChainId = _chunk3KQLFIHTcjs.a; exports.getRpcUrls = _chunk276AZYTLcjs.c; exports.goldskyBaseUrl = _chunk276AZYTLcjs.b; exports.imageBaseUrl = _chunk276AZYTLcjs.a; exports.jsonRpcUrl = _chunk276AZYTLcjs.e; exports.privateRcpUrl = _chunk276AZYTLcjs.g; exports.publicJsonRpcUrl = _chunk276AZYTLcjs.d;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ChainId, a as AppName, A as Address } from '../types-
|
|
2
|
-
export { B as BeraConfig, H as HttpLink, P as ProjectName } from '../types-
|
|
1
|
+
import { C as ChainId, a as AppName, A as Address } from '../types-MT3NuQb7.cjs';
|
|
2
|
+
export { B as BeraConfig, H as HttpLink, P as ProjectName } from '../types-MT3NuQb7.cjs';
|
|
3
3
|
|
|
4
4
|
declare const defaultChainId: ChainId;
|
|
5
5
|
|
|
@@ -54,8 +54,14 @@ declare const chainConfigs: {
|
|
|
54
54
|
readonly rewardAllocationFactory: "0xc8FD9a3fB3Dad4C22c9F8Cfa7cecC318A667A791";
|
|
55
55
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
56
56
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
57
|
-
readonly subgraph:
|
|
58
|
-
|
|
57
|
+
readonly subgraph: {
|
|
58
|
+
readonly name: "pol-subgraph";
|
|
59
|
+
readonly uri: string;
|
|
60
|
+
};
|
|
61
|
+
readonly feesSubgraph: {
|
|
62
|
+
readonly name: "pol-fees-subgraph";
|
|
63
|
+
readonly uri: string;
|
|
64
|
+
};
|
|
59
65
|
readonly bribeBoostApi: string;
|
|
60
66
|
readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
|
|
61
67
|
readonly lstStakerVaultFactory: "0xc41bbD6695AB6bdc6D04701b15f4CE5EbA2e2500";
|
|
@@ -94,7 +100,13 @@ declare const chainConfigs: {
|
|
|
94
100
|
readonly honey: {
|
|
95
101
|
readonly name: "Honey";
|
|
96
102
|
readonly url: "https://honey.berachain.com";
|
|
97
|
-
readonly subgraph:
|
|
103
|
+
readonly subgraph: {
|
|
104
|
+
readonly name: "honey-subgraph";
|
|
105
|
+
readonly uri: string;
|
|
106
|
+
readonly headers: {
|
|
107
|
+
Authorization: string;
|
|
108
|
+
} | undefined;
|
|
109
|
+
};
|
|
98
110
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
99
111
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
100
112
|
readonly pythWrapper: "0xF5686e448BE103beA465105bEb9d284a34ae7e95";
|
|
@@ -108,7 +120,6 @@ declare const chainConfigs: {
|
|
|
108
120
|
readonly governance: {
|
|
109
121
|
readonly governor: "0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5";
|
|
110
122
|
readonly timelock: "0xb5f2000b5744f207c931526cAE2134cAa8b6862a";
|
|
111
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/governance-subgraph/mainnet-v1.1.1/gn";
|
|
112
123
|
};
|
|
113
124
|
readonly lists: {
|
|
114
125
|
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/mainnet.json";
|
|
@@ -195,8 +206,14 @@ declare const chainConfigs: {
|
|
|
195
206
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
196
207
|
readonly rewardAllocationFactory: "0x7f09Cf6958631513aF0400488F65c7B5c0313F52";
|
|
197
208
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
198
|
-
readonly subgraph:
|
|
199
|
-
|
|
209
|
+
readonly subgraph: {
|
|
210
|
+
readonly name: "pol-subgraph";
|
|
211
|
+
readonly uri: string;
|
|
212
|
+
};
|
|
213
|
+
readonly feesSubgraph: {
|
|
214
|
+
readonly name: "pol-fees-subgraph";
|
|
215
|
+
readonly uri: string;
|
|
216
|
+
};
|
|
200
217
|
readonly bribeBoostApi: string;
|
|
201
218
|
readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
|
|
202
219
|
readonly lstStakerVaultFactory: "0xAf10B532cCC25B26a8e28913D5C4056a77e7a178";
|
|
@@ -235,7 +252,13 @@ declare const chainConfigs: {
|
|
|
235
252
|
readonly honey: {
|
|
236
253
|
readonly name: "Honey";
|
|
237
254
|
readonly url: "https://bepolia.honey.berachain.com";
|
|
238
|
-
readonly subgraph:
|
|
255
|
+
readonly subgraph: {
|
|
256
|
+
readonly name: "honey-subgraph";
|
|
257
|
+
readonly uri: string;
|
|
258
|
+
readonly headers: {
|
|
259
|
+
Authorization: string;
|
|
260
|
+
} | undefined;
|
|
261
|
+
};
|
|
239
262
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
240
263
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
241
264
|
readonly pythWrapper: "0xE5Ad9BA751714ec8cdd554b5a9f12BFcA13980cB";
|
|
@@ -249,7 +272,6 @@ declare const chainConfigs: {
|
|
|
249
272
|
readonly governance: {
|
|
250
273
|
readonly governor: `0x${string}`;
|
|
251
274
|
readonly timelock: `0x${string}`;
|
|
252
|
-
readonly subgraph: string;
|
|
253
275
|
};
|
|
254
276
|
readonly lists: {
|
|
255
277
|
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/bepolia.json";
|
|
@@ -443,8 +465,14 @@ declare const config: {
|
|
|
443
465
|
readonly rewardAllocationFactory: "0xc8FD9a3fB3Dad4C22c9F8Cfa7cecC318A667A791";
|
|
444
466
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
445
467
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
446
|
-
readonly subgraph:
|
|
447
|
-
|
|
468
|
+
readonly subgraph: {
|
|
469
|
+
readonly name: "pol-subgraph";
|
|
470
|
+
readonly uri: string;
|
|
471
|
+
};
|
|
472
|
+
readonly feesSubgraph: {
|
|
473
|
+
readonly name: "pol-fees-subgraph";
|
|
474
|
+
readonly uri: string;
|
|
475
|
+
};
|
|
448
476
|
readonly bribeBoostApi: string;
|
|
449
477
|
readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
|
|
450
478
|
readonly lstStakerVaultFactory: "0xc41bbD6695AB6bdc6D04701b15f4CE5EbA2e2500";
|
|
@@ -483,7 +511,13 @@ declare const config: {
|
|
|
483
511
|
readonly honey: {
|
|
484
512
|
readonly name: "Honey";
|
|
485
513
|
readonly url: "https://honey.berachain.com";
|
|
486
|
-
readonly subgraph:
|
|
514
|
+
readonly subgraph: {
|
|
515
|
+
readonly name: "honey-subgraph";
|
|
516
|
+
readonly uri: string;
|
|
517
|
+
readonly headers: {
|
|
518
|
+
Authorization: string;
|
|
519
|
+
} | undefined;
|
|
520
|
+
};
|
|
487
521
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
488
522
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
489
523
|
readonly pythWrapper: "0xF5686e448BE103beA465105bEb9d284a34ae7e95";
|
|
@@ -497,7 +531,6 @@ declare const config: {
|
|
|
497
531
|
readonly governance: {
|
|
498
532
|
readonly governor: "0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5";
|
|
499
533
|
readonly timelock: "0xb5f2000b5744f207c931526cAE2134cAa8b6862a";
|
|
500
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/governance-subgraph/mainnet-v1.1.1/gn";
|
|
501
534
|
};
|
|
502
535
|
readonly lists: {
|
|
503
536
|
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/mainnet.json";
|
|
@@ -583,8 +616,14 @@ declare const config: {
|
|
|
583
616
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
584
617
|
readonly rewardAllocationFactory: "0x7f09Cf6958631513aF0400488F65c7B5c0313F52";
|
|
585
618
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
586
|
-
readonly subgraph:
|
|
587
|
-
|
|
619
|
+
readonly subgraph: {
|
|
620
|
+
readonly name: "pol-subgraph";
|
|
621
|
+
readonly uri: string;
|
|
622
|
+
};
|
|
623
|
+
readonly feesSubgraph: {
|
|
624
|
+
readonly name: "pol-fees-subgraph";
|
|
625
|
+
readonly uri: string;
|
|
626
|
+
};
|
|
588
627
|
readonly bribeBoostApi: string;
|
|
589
628
|
readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
|
|
590
629
|
readonly lstStakerVaultFactory: "0xAf10B532cCC25B26a8e28913D5C4056a77e7a178";
|
|
@@ -623,7 +662,13 @@ declare const config: {
|
|
|
623
662
|
readonly honey: {
|
|
624
663
|
readonly name: "Honey";
|
|
625
664
|
readonly url: "https://bepolia.honey.berachain.com";
|
|
626
|
-
readonly subgraph:
|
|
665
|
+
readonly subgraph: {
|
|
666
|
+
readonly name: "honey-subgraph";
|
|
667
|
+
readonly uri: string;
|
|
668
|
+
readonly headers: {
|
|
669
|
+
Authorization: string;
|
|
670
|
+
} | undefined;
|
|
671
|
+
};
|
|
627
672
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
628
673
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
629
674
|
readonly pythWrapper: "0xE5Ad9BA751714ec8cdd554b5a9f12BFcA13980cB";
|
|
@@ -637,7 +682,6 @@ declare const config: {
|
|
|
637
682
|
readonly governance: {
|
|
638
683
|
readonly governor: `0x${string}`;
|
|
639
684
|
readonly timelock: `0x${string}`;
|
|
640
|
-
readonly subgraph: string;
|
|
641
685
|
};
|
|
642
686
|
readonly lists: {
|
|
643
687
|
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/bepolia.json";
|
package/dist/internal/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ChainId, a as AppName, A as Address } from '../types-
|
|
2
|
-
export { B as BeraConfig, H as HttpLink, P as ProjectName } from '../types-
|
|
1
|
+
import { C as ChainId, a as AppName, A as Address } from '../types-MT3NuQb7.js';
|
|
2
|
+
export { B as BeraConfig, H as HttpLink, P as ProjectName } from '../types-MT3NuQb7.js';
|
|
3
3
|
|
|
4
4
|
declare const defaultChainId: ChainId;
|
|
5
5
|
|
|
@@ -54,8 +54,14 @@ declare const chainConfigs: {
|
|
|
54
54
|
readonly rewardAllocationFactory: "0xc8FD9a3fB3Dad4C22c9F8Cfa7cecC318A667A791";
|
|
55
55
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
56
56
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
57
|
-
readonly subgraph:
|
|
58
|
-
|
|
57
|
+
readonly subgraph: {
|
|
58
|
+
readonly name: "pol-subgraph";
|
|
59
|
+
readonly uri: string;
|
|
60
|
+
};
|
|
61
|
+
readonly feesSubgraph: {
|
|
62
|
+
readonly name: "pol-fees-subgraph";
|
|
63
|
+
readonly uri: string;
|
|
64
|
+
};
|
|
59
65
|
readonly bribeBoostApi: string;
|
|
60
66
|
readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
|
|
61
67
|
readonly lstStakerVaultFactory: "0xc41bbD6695AB6bdc6D04701b15f4CE5EbA2e2500";
|
|
@@ -94,7 +100,13 @@ declare const chainConfigs: {
|
|
|
94
100
|
readonly honey: {
|
|
95
101
|
readonly name: "Honey";
|
|
96
102
|
readonly url: "https://honey.berachain.com";
|
|
97
|
-
readonly subgraph:
|
|
103
|
+
readonly subgraph: {
|
|
104
|
+
readonly name: "honey-subgraph";
|
|
105
|
+
readonly uri: string;
|
|
106
|
+
readonly headers: {
|
|
107
|
+
Authorization: string;
|
|
108
|
+
} | undefined;
|
|
109
|
+
};
|
|
98
110
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
99
111
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
100
112
|
readonly pythWrapper: "0xF5686e448BE103beA465105bEb9d284a34ae7e95";
|
|
@@ -108,7 +120,6 @@ declare const chainConfigs: {
|
|
|
108
120
|
readonly governance: {
|
|
109
121
|
readonly governor: "0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5";
|
|
110
122
|
readonly timelock: "0xb5f2000b5744f207c931526cAE2134cAa8b6862a";
|
|
111
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/governance-subgraph/mainnet-v1.1.1/gn";
|
|
112
123
|
};
|
|
113
124
|
readonly lists: {
|
|
114
125
|
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/mainnet.json";
|
|
@@ -195,8 +206,14 @@ declare const chainConfigs: {
|
|
|
195
206
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
196
207
|
readonly rewardAllocationFactory: "0x7f09Cf6958631513aF0400488F65c7B5c0313F52";
|
|
197
208
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
198
|
-
readonly subgraph:
|
|
199
|
-
|
|
209
|
+
readonly subgraph: {
|
|
210
|
+
readonly name: "pol-subgraph";
|
|
211
|
+
readonly uri: string;
|
|
212
|
+
};
|
|
213
|
+
readonly feesSubgraph: {
|
|
214
|
+
readonly name: "pol-fees-subgraph";
|
|
215
|
+
readonly uri: string;
|
|
216
|
+
};
|
|
200
217
|
readonly bribeBoostApi: string;
|
|
201
218
|
readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
|
|
202
219
|
readonly lstStakerVaultFactory: "0xAf10B532cCC25B26a8e28913D5C4056a77e7a178";
|
|
@@ -235,7 +252,13 @@ declare const chainConfigs: {
|
|
|
235
252
|
readonly honey: {
|
|
236
253
|
readonly name: "Honey";
|
|
237
254
|
readonly url: "https://bepolia.honey.berachain.com";
|
|
238
|
-
readonly subgraph:
|
|
255
|
+
readonly subgraph: {
|
|
256
|
+
readonly name: "honey-subgraph";
|
|
257
|
+
readonly uri: string;
|
|
258
|
+
readonly headers: {
|
|
259
|
+
Authorization: string;
|
|
260
|
+
} | undefined;
|
|
261
|
+
};
|
|
239
262
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
240
263
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
241
264
|
readonly pythWrapper: "0xE5Ad9BA751714ec8cdd554b5a9f12BFcA13980cB";
|
|
@@ -249,7 +272,6 @@ declare const chainConfigs: {
|
|
|
249
272
|
readonly governance: {
|
|
250
273
|
readonly governor: `0x${string}`;
|
|
251
274
|
readonly timelock: `0x${string}`;
|
|
252
|
-
readonly subgraph: string;
|
|
253
275
|
};
|
|
254
276
|
readonly lists: {
|
|
255
277
|
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/bepolia.json";
|
|
@@ -443,8 +465,14 @@ declare const config: {
|
|
|
443
465
|
readonly rewardAllocationFactory: "0xc8FD9a3fB3Dad4C22c9F8Cfa7cecC318A667A791";
|
|
444
466
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
445
467
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
446
|
-
readonly subgraph:
|
|
447
|
-
|
|
468
|
+
readonly subgraph: {
|
|
469
|
+
readonly name: "pol-subgraph";
|
|
470
|
+
readonly uri: string;
|
|
471
|
+
};
|
|
472
|
+
readonly feesSubgraph: {
|
|
473
|
+
readonly name: "pol-fees-subgraph";
|
|
474
|
+
readonly uri: string;
|
|
475
|
+
};
|
|
448
476
|
readonly bribeBoostApi: string;
|
|
449
477
|
readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
|
|
450
478
|
readonly lstStakerVaultFactory: "0xc41bbD6695AB6bdc6D04701b15f4CE5EbA2e2500";
|
|
@@ -483,7 +511,13 @@ declare const config: {
|
|
|
483
511
|
readonly honey: {
|
|
484
512
|
readonly name: "Honey";
|
|
485
513
|
readonly url: "https://honey.berachain.com";
|
|
486
|
-
readonly subgraph:
|
|
514
|
+
readonly subgraph: {
|
|
515
|
+
readonly name: "honey-subgraph";
|
|
516
|
+
readonly uri: string;
|
|
517
|
+
readonly headers: {
|
|
518
|
+
Authorization: string;
|
|
519
|
+
} | undefined;
|
|
520
|
+
};
|
|
487
521
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
488
522
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
489
523
|
readonly pythWrapper: "0xF5686e448BE103beA465105bEb9d284a34ae7e95";
|
|
@@ -497,7 +531,6 @@ declare const config: {
|
|
|
497
531
|
readonly governance: {
|
|
498
532
|
readonly governor: "0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5";
|
|
499
533
|
readonly timelock: "0xb5f2000b5744f207c931526cAE2134cAa8b6862a";
|
|
500
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/governance-subgraph/mainnet-v1.1.1/gn";
|
|
501
534
|
};
|
|
502
535
|
readonly lists: {
|
|
503
536
|
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/mainnet.json";
|
|
@@ -583,8 +616,14 @@ declare const config: {
|
|
|
583
616
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
584
617
|
readonly rewardAllocationFactory: "0x7f09Cf6958631513aF0400488F65c7B5c0313F52";
|
|
585
618
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
586
|
-
readonly subgraph:
|
|
587
|
-
|
|
619
|
+
readonly subgraph: {
|
|
620
|
+
readonly name: "pol-subgraph";
|
|
621
|
+
readonly uri: string;
|
|
622
|
+
};
|
|
623
|
+
readonly feesSubgraph: {
|
|
624
|
+
readonly name: "pol-fees-subgraph";
|
|
625
|
+
readonly uri: string;
|
|
626
|
+
};
|
|
588
627
|
readonly bribeBoostApi: string;
|
|
589
628
|
readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
|
|
590
629
|
readonly lstStakerVaultFactory: "0xAf10B532cCC25B26a8e28913D5C4056a77e7a178";
|
|
@@ -623,7 +662,13 @@ declare const config: {
|
|
|
623
662
|
readonly honey: {
|
|
624
663
|
readonly name: "Honey";
|
|
625
664
|
readonly url: "https://bepolia.honey.berachain.com";
|
|
626
|
-
readonly subgraph:
|
|
665
|
+
readonly subgraph: {
|
|
666
|
+
readonly name: "honey-subgraph";
|
|
667
|
+
readonly uri: string;
|
|
668
|
+
readonly headers: {
|
|
669
|
+
Authorization: string;
|
|
670
|
+
} | undefined;
|
|
671
|
+
};
|
|
627
672
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
628
673
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
629
674
|
readonly pythWrapper: "0xE5Ad9BA751714ec8cdd554b5a9f12BFcA13980cB";
|
|
@@ -637,7 +682,6 @@ declare const config: {
|
|
|
637
682
|
readonly governance: {
|
|
638
683
|
readonly governor: `0x${string}`;
|
|
639
684
|
readonly timelock: `0x${string}`;
|
|
640
|
-
readonly subgraph: string;
|
|
641
685
|
};
|
|
642
686
|
readonly lists: {
|
|
643
687
|
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/bepolia.json";
|
package/dist/internal/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as k,b as l,c as m}from"../chunk-
|
|
1
|
+
import{a as k,b as l,c as m}from"../chunk-ZA2X4K7Z.mjs";import"../chunk-JW76KOHH.mjs";import"../chunk-VWV244JK.mjs";import{a as d,b as e,c as f,d as g,e as h,f as i,g as j}from"../chunk-4EBBM3AH.mjs";import{a as b,f as c}from"../chunk-S2A3Z34I.mjs";import{a}from"../chunk-MS6UGFXI.mjs";import"../chunk-JZXLCA2E.mjs";export{a as ChainId,i as alchemyJsonRpcUrl,l as appConfig,k as chainConfigs,b as chainId,m as config,c as currentDapp,b as defaultChainId,f as getRpcUrls,e as goldskyBaseUrl,d as imageBaseUrl,h as jsonRpcUrl,j as privateRcpUrl,g as publicJsonRpcUrl};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunk3WZ7JUD6cjs = require('../../chunk-3WZ7JUD6.cjs');var _chunkYQK5O5ZLcjs = require('../../chunk-YQK5O5ZL.cjs');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunk3WZ7JUD6cjs = require('../../chunk-3WZ7JUD6.cjs');var _chunkYQK5O5ZLcjs = require('../../chunk-YQK5O5ZL.cjs');var _chunk7BJPOGJ3cjs = require('../../chunk-7BJPOGJ3.cjs');require('../../chunk-XBV7BAIE.cjs');require('../../chunk-TQ67UFXV.cjs');require('../../chunk-276AZYTL.cjs');require('../../chunk-3KQLFIHT.cjs');require('../../chunk-2OLL4MUY.cjs');require('../../chunk-4VDLQK6F.cjs');var _dotenv = require('dotenv'); var _dotenv2 = _interopRequireDefault(_dotenv);_dotenv2.default.config({path:["../../.env.local","../../.env"]});function c(r,{withSentry:a=!0,withPostHogReverseProxy:o=!0,appName:s}){let t={reactStrictMode:!0,trailingSlash:!0,pageExtensions:["ts","tsx"],env:{NEXT_PUBLIC_IS_NEXTJS:"true",NEXT_PUBLIC_BERA_APP_NAME:s},turbopack:{rules:{"*.svg":{as:"*.js",loaders:["@svgr/webpack"]}}},experimental:{webpackBuildWorker:!0},typescript:{ignoreBuildErrors:!0},...r,images:{...r.images,remotePatterns:[..._chunkYQK5O5ZLcjs.a]},async rewrites(){return o?[{source:"/ph/static/:path*",destination:`https://${_chunk7BJPOGJ3cjs.b.urls.postHog.region}-assets.i.posthog.com/static/:path*`},{source:"/ph/:path*",destination:`https://${_chunk7BJPOGJ3cjs.b.urls.postHog.region}.i.posthog.com/:path*`}]:[]}};return o&&(t.env.NEXT_PUBLIC_PH_REVERSE_PROXY_PATH="/ph",t.skipTrailingSlashRedirect=!0),a?_chunk3WZ7JUD6cjs.b.call(void 0, t):t}exports.withBeraConfig = c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as i}from"../../chunk-XO2H4NRK.mjs";import{a as n}from"../../chunk-SU5YRBAA.mjs";import{b as e}from"../../chunk-
|
|
1
|
+
import{b as i}from"../../chunk-XO2H4NRK.mjs";import{a as n}from"../../chunk-SU5YRBAA.mjs";import{b as e}from"../../chunk-ZA2X4K7Z.mjs";import"../../chunk-JW76KOHH.mjs";import"../../chunk-VWV244JK.mjs";import"../../chunk-4EBBM3AH.mjs";import"../../chunk-S2A3Z34I.mjs";import"../../chunk-MS6UGFXI.mjs";import"../../chunk-JZXLCA2E.mjs";import p from"dotenv";p.config({path:["../../.env.local","../../.env"]});function c(r,{withSentry:a=!0,withPostHogReverseProxy:o=!0,appName:s}){let t={reactStrictMode:!0,trailingSlash:!0,pageExtensions:["ts","tsx"],env:{NEXT_PUBLIC_IS_NEXTJS:"true",NEXT_PUBLIC_BERA_APP_NAME:s},turbopack:{rules:{"*.svg":{as:"*.js",loaders:["@svgr/webpack"]}}},experimental:{webpackBuildWorker:!0},typescript:{ignoreBuildErrors:!0},...r,images:{...r.images,remotePatterns:[...n]},async rewrites(){return o?[{source:"/ph/static/:path*",destination:`https://${e.urls.postHog.region}-assets.i.posthog.com/static/:path*`},{source:"/ph/:path*",destination:`https://${e.urls.postHog.region}.i.posthog.com/:path*`}]:[]}};return o&&(t.env.NEXT_PUBLIC_PH_REVERSE_PROXY_PATH="/ph",t.skipTrailingSlashRedirect=!0),a?i(t):t}export{c as withBeraConfig};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-7BJPOGJ3.cjs');require('../../chunk-XBV7BAIE.cjs');require('../../chunk-TQ67UFXV.cjs');var _chunk276AZYTLcjs = require('../../chunk-276AZYTL.cjs');var _chunk3KQLFIHTcjs = require('../../chunk-3KQLFIHT.cjs');require('../../chunk-2OLL4MUY.cjs');require('../../chunk-4VDLQK6F.cjs');var _chains = require('viem/chains');var x=_chunk3KQLFIHTcjs.a===_chains.berachain.id?_chains.berachain:_chains.berachainBepolia,g= exports.urls =[_chunk276AZYTLcjs.g,_chunk276AZYTLcjs.e,_chunk276AZYTLcjs.f,_chunk276AZYTLcjs.d].filter(Boolean),b= exports.externalChains =[_chains.mainnet,_chains.polygon,_chains.optimism,_chains.base,_chains.bsc,_chains.avalanche,_chains.arbitrum],U= exports.chainIdToName =[...b,_chains.berachain,_chains.berachainBepolia].reduce((n,r)=>(n[r.id]=r.name,n),{});exports.chainIdToName = U; exports.defaultChain = x; exports.externalChains = b; exports.urls = g;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../chunk-
|
|
1
|
+
import"../../chunk-ZA2X4K7Z.mjs";import"../../chunk-JW76KOHH.mjs";import"../../chunk-VWV244JK.mjs";import{d as e,e as o,f as t,g as s}from"../../chunk-4EBBM3AH.mjs";import{a as i}from"../../chunk-S2A3Z34I.mjs";import"../../chunk-MS6UGFXI.mjs";import"../../chunk-JZXLCA2E.mjs";import{arbitrum as c,avalanche as l,base as h,berachain as a,berachainBepolia as p,bsc as d,mainnet as m,optimism as C,polygon as u}from"viem/chains";var x=i===a.id?a:p,g=[s,o,t,e].filter(Boolean),b=[m,u,C,h,d,l,c],U=[...b,a,p].reduce((n,r)=>(n[r.id]=r.name,n),{});export{U as chainIdToName,x as defaultChain,b as externalChains,g as urls};
|
package/dist/mainnet.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkTQ67UFXVcjs = require('./chunk-TQ67UFXV.cjs');require('./chunk-276AZYTL.cjs');require('./chunk-3KQLFIHT.cjs');require('./chunk-2OLL4MUY.cjs');require('./chunk-4VDLQK6F.cjs');exports.mainnet = _chunkTQ67UFXVcjs.a;
|
package/dist/mainnet.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ChainId } from './types-
|
|
1
|
+
import { C as ChainId } from './types-MT3NuQb7.cjs';
|
|
2
2
|
|
|
3
3
|
declare const mainnet: {
|
|
4
4
|
readonly chainId: ChainId.MAINNET;
|
|
@@ -16,8 +16,14 @@ declare const mainnet: {
|
|
|
16
16
|
readonly rewardAllocationFactory: "0xc8FD9a3fB3Dad4C22c9F8Cfa7cecC318A667A791";
|
|
17
17
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
18
18
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
19
|
-
readonly subgraph:
|
|
20
|
-
|
|
19
|
+
readonly subgraph: {
|
|
20
|
+
readonly name: "pol-subgraph";
|
|
21
|
+
readonly uri: string;
|
|
22
|
+
};
|
|
23
|
+
readonly feesSubgraph: {
|
|
24
|
+
readonly name: "pol-fees-subgraph";
|
|
25
|
+
readonly uri: string;
|
|
26
|
+
};
|
|
21
27
|
readonly bribeBoostApi: string;
|
|
22
28
|
readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
|
|
23
29
|
readonly lstStakerVaultFactory: "0xc41bbD6695AB6bdc6D04701b15f4CE5EbA2e2500";
|
|
@@ -56,7 +62,13 @@ declare const mainnet: {
|
|
|
56
62
|
readonly honey: {
|
|
57
63
|
readonly name: "Honey";
|
|
58
64
|
readonly url: "https://honey.berachain.com";
|
|
59
|
-
readonly subgraph:
|
|
65
|
+
readonly subgraph: {
|
|
66
|
+
readonly name: "honey-subgraph";
|
|
67
|
+
readonly uri: string;
|
|
68
|
+
readonly headers: {
|
|
69
|
+
Authorization: string;
|
|
70
|
+
} | undefined;
|
|
71
|
+
};
|
|
60
72
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
61
73
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
62
74
|
readonly pythWrapper: "0xF5686e448BE103beA465105bEb9d284a34ae7e95";
|
|
@@ -70,7 +82,6 @@ declare const mainnet: {
|
|
|
70
82
|
readonly governance: {
|
|
71
83
|
readonly governor: "0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5";
|
|
72
84
|
readonly timelock: "0xb5f2000b5744f207c931526cAE2134cAa8b6862a";
|
|
73
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/governance-subgraph/mainnet-v1.1.1/gn";
|
|
74
85
|
};
|
|
75
86
|
readonly lists: {
|
|
76
87
|
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/mainnet.json";
|
package/dist/mainnet.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ChainId } from './types-
|
|
1
|
+
import { C as ChainId } from './types-MT3NuQb7.js';
|
|
2
2
|
|
|
3
3
|
declare const mainnet: {
|
|
4
4
|
readonly chainId: ChainId.MAINNET;
|
|
@@ -16,8 +16,14 @@ declare const mainnet: {
|
|
|
16
16
|
readonly rewardAllocationFactory: "0xc8FD9a3fB3Dad4C22c9F8Cfa7cecC318A667A791";
|
|
17
17
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
18
18
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
19
|
-
readonly subgraph:
|
|
20
|
-
|
|
19
|
+
readonly subgraph: {
|
|
20
|
+
readonly name: "pol-subgraph";
|
|
21
|
+
readonly uri: string;
|
|
22
|
+
};
|
|
23
|
+
readonly feesSubgraph: {
|
|
24
|
+
readonly name: "pol-fees-subgraph";
|
|
25
|
+
readonly uri: string;
|
|
26
|
+
};
|
|
21
27
|
readonly bribeBoostApi: string;
|
|
22
28
|
readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
|
|
23
29
|
readonly lstStakerVaultFactory: "0xc41bbD6695AB6bdc6D04701b15f4CE5EbA2e2500";
|
|
@@ -56,7 +62,13 @@ declare const mainnet: {
|
|
|
56
62
|
readonly honey: {
|
|
57
63
|
readonly name: "Honey";
|
|
58
64
|
readonly url: "https://honey.berachain.com";
|
|
59
|
-
readonly subgraph:
|
|
65
|
+
readonly subgraph: {
|
|
66
|
+
readonly name: "honey-subgraph";
|
|
67
|
+
readonly uri: string;
|
|
68
|
+
readonly headers: {
|
|
69
|
+
Authorization: string;
|
|
70
|
+
} | undefined;
|
|
71
|
+
};
|
|
60
72
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
61
73
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
62
74
|
readonly pythWrapper: "0xF5686e448BE103beA465105bEb9d284a34ae7e95";
|
|
@@ -70,7 +82,6 @@ declare const mainnet: {
|
|
|
70
82
|
readonly governance: {
|
|
71
83
|
readonly governor: "0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5";
|
|
72
84
|
readonly timelock: "0xb5f2000b5744f207c931526cAE2134cAa8b6862a";
|
|
73
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/governance-subgraph/mainnet-v1.1.1/gn";
|
|
74
85
|
};
|
|
75
86
|
readonly lists: {
|
|
76
87
|
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/mainnet.json";
|
package/dist/mainnet.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-VWV244JK.mjs";import"./chunk-4EBBM3AH.mjs";import"./chunk-S2A3Z34I.mjs";import"./chunk-MS6UGFXI.mjs";import"./chunk-JZXLCA2E.mjs";export{a as mainnet};
|
|
@@ -126,7 +126,16 @@ interface BeraConfig {
|
|
|
126
126
|
staker: Address;
|
|
127
127
|
rewardAllocationFactory: Address;
|
|
128
128
|
beraChef: Address;
|
|
129
|
+
/**
|
|
130
|
+
* Upstream link (uri + name) for server Apollo and typed `/api/pol/*`
|
|
131
|
+
* endpoints. Browser data access should still use the typed same-origin
|
|
132
|
+
* endpoints.
|
|
133
|
+
*/
|
|
129
134
|
subgraph: HttpLink;
|
|
135
|
+
/**
|
|
136
|
+
* Upstream link (uri + name) for server Apollo and
|
|
137
|
+
* `/api/pol/incentive-fee-claims`.
|
|
138
|
+
*/
|
|
130
139
|
feesSubgraph: HttpLink;
|
|
131
140
|
bribeBoostApi: string;
|
|
132
141
|
rewardVaultHelper: Address;
|
|
@@ -142,12 +151,16 @@ interface BeraConfig {
|
|
|
142
151
|
*/
|
|
143
152
|
pythOracle: Address;
|
|
144
153
|
token: Address;
|
|
154
|
+
/**
|
|
155
|
+
* ORMI upstream link (uri + name + headers) for codegen, server Apollo,
|
|
156
|
+
* and typed `/api/honey/*` endpoints. Same pattern as `bend.whiskApi`:
|
|
157
|
+
* non-public env values resolve to `undefined` in browser builds.
|
|
158
|
+
*/
|
|
145
159
|
subgraph: HttpLink;
|
|
146
160
|
};
|
|
147
161
|
governance: {
|
|
148
162
|
timelock: Address;
|
|
149
163
|
governor: Address;
|
|
150
|
-
subgraph: HttpLink;
|
|
151
164
|
};
|
|
152
165
|
bridge: Project & {
|
|
153
166
|
nft: Project & {
|
|
@@ -126,7 +126,16 @@ interface BeraConfig {
|
|
|
126
126
|
staker: Address;
|
|
127
127
|
rewardAllocationFactory: Address;
|
|
128
128
|
beraChef: Address;
|
|
129
|
+
/**
|
|
130
|
+
* Upstream link (uri + name) for server Apollo and typed `/api/pol/*`
|
|
131
|
+
* endpoints. Browser data access should still use the typed same-origin
|
|
132
|
+
* endpoints.
|
|
133
|
+
*/
|
|
129
134
|
subgraph: HttpLink;
|
|
135
|
+
/**
|
|
136
|
+
* Upstream link (uri + name) for server Apollo and
|
|
137
|
+
* `/api/pol/incentive-fee-claims`.
|
|
138
|
+
*/
|
|
130
139
|
feesSubgraph: HttpLink;
|
|
131
140
|
bribeBoostApi: string;
|
|
132
141
|
rewardVaultHelper: Address;
|
|
@@ -142,12 +151,16 @@ interface BeraConfig {
|
|
|
142
151
|
*/
|
|
143
152
|
pythOracle: Address;
|
|
144
153
|
token: Address;
|
|
154
|
+
/**
|
|
155
|
+
* ORMI upstream link (uri + name + headers) for codegen, server Apollo,
|
|
156
|
+
* and typed `/api/honey/*` endpoints. Same pattern as `bend.whiskApi`:
|
|
157
|
+
* non-public env values resolve to `undefined` in browser builds.
|
|
158
|
+
*/
|
|
145
159
|
subgraph: HttpLink;
|
|
146
160
|
};
|
|
147
161
|
governance: {
|
|
148
162
|
timelock: Address;
|
|
149
163
|
governor: Address;
|
|
150
|
-
subgraph: HttpLink;
|
|
151
164
|
};
|
|
152
165
|
bridge: Project & {
|
|
153
166
|
nft: Project & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@berachain/config",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -141,11 +141,6 @@
|
|
|
141
141
|
"require": "./dist/internal/wagmi/index.cjs",
|
|
142
142
|
"default": "./dist/internal/wagmi/index.mjs"
|
|
143
143
|
},
|
|
144
|
-
"./internal/sentry/esbuild.plugin": {
|
|
145
|
-
"types": "./dist/internal/sentry/esbuild.plugin.d.ts",
|
|
146
|
-
"require": "./dist/internal/sentry/esbuild.plugin.cjs",
|
|
147
|
-
"default": "./dist/internal/sentry/esbuild.plugin.mjs"
|
|
148
|
-
},
|
|
149
144
|
"./internal/tailwind": {
|
|
150
145
|
"types": "./dist/internal/tailwind/index.d.ts",
|
|
151
146
|
"require": "./dist/internal/tailwind/index.cjs",
|
package/dist/chunk-54I7MXEF.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunk276AZYTLcjs = require('./chunk-276AZYTL.cjs');var c={chainId:80094,tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x0555E30da8f98308EdB960aa94C0Db47230d2B9c",weth:"0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590"},depositContract:"0x4242424242424242424242424242424242424242",pol:{rewardVaultHelper:"0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2",beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",rewardAllocationFactory:"0xc8FD9a3fB3Dad4C22c9F8Cfa7cecC318A667A791",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_POL_SUBGRAPH, () => (`${_chunk276AZYTLcjs.b}pol-subgraph/mainnet-latest/gn`)),feesSubgraph:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_POL_FEES_SUBGRAPH, () => (`${_chunk276AZYTLcjs.b}pol-fees-subgraph/mainnet-v1.0.0/gn`)),bribeBoostApi:process.env.NEXT_PUBLIC_80094_INCENTIVES_API||"https://api-claim.berachain.com",bgtIncentiveDistributor:"0x77DA09bC82652f9A14d1b170a001e759640298e6",lstStakerVaultFactory:"0xc41bbD6695AB6bdc6D04701b15f4CE5EbA2e2500"},api:{name:"Berachain API",uri:_nullishCoalesce(_nullishCoalesce(process.env.PRIVATE_80094_BEX_API_URL, () => (process.env.NEXT_PUBLIC_80094_BEX_API_URL)), () => ("https://api.berachain.com")),headers:process.env.PRIVATE_80094_BEX_API_KEY?{"x-api-key":process.env.PRIVATE_80094_BEX_API_KEY}:void 0},backend:{name:"Berachain Backend",uri:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_BACKEND_API_URL, () => ("https://api-prod-ff16.up.railway.app"))},bex:{chainName:"BERACHAIN",vault:"0x4Be03f781C497A489E3cB0287833452cA9B9E80B",helper:"0x5083737EC75a728c265BE578C9d0d5333a2c5951",queries:"0x3C612e132624f4Bd500eE1495F54565F0bcc9b59",relayer:"0x6044f181aB5E9C05A4ed9Ce295f3B178d2492EE7",factories:{composableStable:"0xDfA30BDa0375d4763711AB0CC8D91B20bfCC87E1",weighted:"0xa966fA8F2d5B087FFFA499C0C1240589371Af409"},balancerDelegatedOwnership:"0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b",poolCreationHelper:"0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2",aggregatorsRouter:"0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58",aggregatorsRouterExecutor:"0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8",haikuRouter:"0x24aC999FF132B32c5b3956973b6213B0d07eB2C7",haikuAgentAddress:"0x69495273D6Dc572A830A4D6e00400a1e9d5B8f71",aggregatorsProxyUrl:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_AGGREGATORS_PROXY_URL, () => ("https://gateway.mainnet.berachain.com/proxy")),recoverFundsApi:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_RECOVER_FUNDS_API, () => ("https://be4i5d40pr3f00n4c441n.mainnet.berachain.com")),recoverFundsContract:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_RECOVER_FUNDS_CONTRACT, () => ("0xB5787B8f7b07a00229b617c4B7a616185857C147"))},honey:{name:"Honey",url:"https://honey.berachain.com",subgraph:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_HONEY_SUBGRAPH, () => (`${_chunk276AZYTLcjs.b}honey-subgraph/mainnet-v1.2.1/gn`)),factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythOracle:"0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943",pythWrapper:"0xF5686e448BE103beA465105bEb9d284a34ae7e95",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce"},hub:{name:"BeraHub",url:"https://hub.berachain.com"},governance:{governor:"0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5",timelock:"0xb5f2000b5744f207c931526cAE2134cAa8b6862a",subgraph:`${_chunk276AZYTLcjs.b}governance-subgraph/mainnet-v1.1.1/gn`},lists:{rewardVaultList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/mainnet.json",tokenList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/mainnet.json",validatorList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/mainnet.json"},external:{pyth:"0x2880aB155794e7179c9eE2e38200202908C17B43"},averageBlockTime:2,bridge:{name:"BeraBridge",url:"https://bridge.berachain.com",nft:{name:"BeraBridge NFT",url:"https://nftbridge.berachain.com",eth:{subgraph:`${_chunk276AZYTLcjs.b}nft-bridge-subgraph/eth-v1.0.0-beta1/gn`},berachain:{subgraph:`${_chunk276AZYTLcjs.b}nft-bridge-subgraph/mainnet-v1.0.0-beta1/gn`}}},bend:{name:"Bend",url:"https://bend.berachain.com",whiskApi:{name:"Bend Whisk",uri:_nullishCoalesce(process.env.WHISK_API_URL, () => ("https://berachain.whisk.so/graphql")),headers:process.env.WHISK_API_KEY?{Authorization:`Bearer ${process.env.WHISK_API_KEY}`}:void 0},production:{morpho:"0x24147243f9c08d835C218Cda1e135f8dFD0517D0",adaptiveCurveIrm:"0xcf247Df3A2322Dea0D408f011c194906E77a6f62",metaMorphoFactory:"0x5EDd48C6ACBd565Eeb31702FD9fa9Cbc86fbE616",publicAllocator:"0xB62F34Ab315eaDeAc698e8EaEB6Fc2650951BFe7",bundler3:"0xF920140A65D0f412f2AB3e76C4fEAB5Eef0657ae",generalAdapter1:"0xd2B9667F5214115E27937C410cAeE83E3a901Df7",supportedVaults:(_nullishCoalesce(process.env.NEXT_PUBLIC_80094_BEND_PRODUCTION_SUPPORTED_VAULTS, () => ("0x30BbA9CD9Eb8c95824aa42Faa1Bb397b07545bc1"))).split(",").filter(Boolean)},staging:{morpho:"0xC5FabF3a7E98a2ed89f5d5057Ab010634Ca7e71f",adaptiveCurveIrm:"0x1d5376e532CcF25b740270624111D665830E5dB9",metaMorphoFactory:"0x524061B659380a5e4576d76F0951303B20B5932f",publicAllocator:"0xFD6e68bC20be2a01Ec1Df687c83f927087D52811",bundler3:"0x56811e1BFfF951B98c7940d3aCe0e549Ec4fDee8",generalAdapter1:"0x257a41E20BBfe90D750646C2e00bA700D55958C5",supportedVaults:(_nullishCoalesce(process.env.NEXT_PUBLIC_80094_BEND_STAGING_SUPPORTED_VAULTS, () => ("0x19DcFf4e8Ff0B554D8a1f22d289A449fd4FbddBa,0xC0808A144CE2ea85bF84EBD1dDF5D59429f59dDE"))).split(",").filter(Boolean)}},enso:{walletV2Factory:"0xc914a663837eb21c5a650716e015659686597e55",walletFlashloanAdapter:"0x5dE09823D9143886896507107590d9859F3E390b"},explore:{name:"Explore",url:"https://explore.berachain.com"},explorer:{name:"Berascan",url:"https://berascan.com"},chain:{name:_nullishCoalesce(process.env.NEXT_PUBLIC_CHAIN_NAME, () => ("Berachain"))},faucet:null};exports.a = c;
|
package/dist/chunk-M6NXAU3R.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunk276AZYTLcjs = require('./chunk-276AZYTL.cjs');var o={chainId:80069,tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x",weth:"0x"},depositContract:"0x4242424242424242424242424242424242424242",pol:{rewardVaultHelper:"0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2",beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",rewardAllocationFactory:"0x7f09Cf6958631513aF0400488F65c7B5c0313F52",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:`${_chunk276AZYTLcjs.b}pol-subgraph/bepolia-latest/gn`,feesSubgraph:`${_chunk276AZYTLcjs.b}pol-fees-subgraph/bepolia-v1.0.0/gn`,bribeBoostApi:process.env.NEXT_PUBLIC_80069_INCENTIVES_API||"https://bepolia.api-claim.berachain.com",bgtIncentiveDistributor:"0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3",lstStakerVaultFactory:"0xAf10B532cCC25B26a8e28913D5C4056a77e7a178"},api:{name:"Berachain API",uri:_nullishCoalesce(_nullishCoalesce(process.env.PRIVATE_80069_BEX_API_URL, () => (process.env.NEXT_PUBLIC_80069_BEX_API_URL)), () => ("https://bepolia-api.berachain.com")),headers:process.env.PRIVATE_80069_BEX_API_KEY?{"x-api-key":process.env.PRIVATE_80069_BEX_API_KEY}:void 0},backend:{name:"Berachain Backend",uri:_nullishCoalesce(process.env.NEXT_PUBLIC_80069_BACKEND_API_URL, () => ("https://backend-production-351b.up.railway.app"))},bex:{chainName:"BEPOLIA",vault:"0x708cA656b68A6b7384a488A36aD33505a77241FE",helper:"0xC7c981ADcDC5d48fed0CD52807fb2bAB22676C8f",queries:"0xE3723383a0EA73D5c0dE424BAA97F97f86f6cF92",relayer:"0x343215E156Ff586711a5B8C49Fe3099BAF22624C",factories:{composableStable:"0xB60DbBaCEaeC23486a64d12089F467ef949f1bb1",weighted:"0xf1d23276C7b271B2aC595C78977b2312E9954D57"},poolCreationHelper:"0x0dC9964F6CA33d9EF38DEB4925234766127C6B36",aggregatorsRouter:"0x0000000000000000000000000000000000000000",aggregatorsRouterExecutor:"0x0000000000000000000000000000000000000000",haikuRouter:null,haikuAgentAddress:null,aggregatorsProxyUrl:_nullishCoalesce(process.env.NEXT_PUBLIC_80069_AGGREGATORS_PROXY_URL, () => ("")),recoverFundsApi:"https://t3stbe4i5d40p.testnet.berachain.com",recoverFundsContract:"0x0eFeC4379805fAFA7269Ec599a6921f388C8841a",balancerDelegatedOwnership:"0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b"},honey:{name:"Honey",url:"https://bepolia.honey.berachain.com",subgraph:`${_chunk276AZYTLcjs.b}honey-subgraph/bepolia-v1.2.1/gn`,factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythOracle:"0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943",pythWrapper:"0xE5Ad9BA751714ec8cdd554b5a9f12BFcA13980cB",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce"},hub:{name:"BeraHub",url:"https://bepolia.hub.berachain.com"},governance:{governor:_nullishCoalesce(process.env.NEXT_PUBLIC_80069_GOVERNANCE_ADDRESS, () => ("0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5")),timelock:_nullishCoalesce(process.env.NEXT_PUBLIC_80069_GOVERNANCE_TIMELOCK, () => ("0xb5f2000b5744f207c931526cAE2134cAa8b6862a")),subgraph:_nullishCoalesce(process.env.NEXT_PUBLIC_80069_GOVERNANCE_SUBGRAPH, () => (`${_chunk276AZYTLcjs.b}governance-subgraph/bepolia-v1.1.1/gn`))},lists:{rewardVaultList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/bepolia.json",tokenList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/bepolia.json",validatorList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/bepolia.json"},external:{pyth:"0x2880aB155794e7179c9eE2e38200202908C17B43"},averageBlockTime:2,bridge:{name:"BeraBridge",url:"https://bepolia.bridge.berachain.com",nft:{name:"BeraBridge NFT",url:"#",eth:{subgraph:"#"},berachain:{subgraph:"#"}}},bend:{name:"Bend",url:"https://bepolia.bend.berachain.com",whiskApi:null,production:{morpho:null,adaptiveCurveIrm:null,metaMorphoFactory:null,publicAllocator:null,bundler3:null,generalAdapter1:null,supportedVaults:[]},staging:{morpho:null,adaptiveCurveIrm:null,metaMorphoFactory:null,publicAllocator:null,bundler3:null,generalAdapter1:null,supportedVaults:[]}},enso:{walletV2Factory:null,walletFlashloanAdapter:null},explore:{name:"Explore",url:"https://explore.berachain.com"},explorer:{name:"Berascan",url:"https://testnet.berascan.com"},chain:{name:_nullishCoalesce(process.env.NEXT_PUBLIC_CHAIN_NAME, () => ("Berachain Bepolia"))},faucet:{name:"Faucet",url:"https://bepolia.faucet.berachain.com",dripAmount:1,timeGap:8,cloudflareKey:process.env.CLOUDFLARE_KEY||"0x4AAAAAAARdAuciFArKhVwt",endpoint:"https://faucet-api.testnet.berachain.com"}};exports.a = o;
|
package/dist/chunk-SDYKKFPM.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e}from"./chunk-4EBBM3AH.mjs";var c={chainId:80094,tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x0555E30da8f98308EdB960aa94C0Db47230d2B9c",weth:"0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590"},depositContract:"0x4242424242424242424242424242424242424242",pol:{rewardVaultHelper:"0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2",beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",rewardAllocationFactory:"0xc8FD9a3fB3Dad4C22c9F8Cfa7cecC318A667A791",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:process.env.NEXT_PUBLIC_80094_POL_SUBGRAPH??`${e}pol-subgraph/mainnet-latest/gn`,feesSubgraph:process.env.NEXT_PUBLIC_80094_POL_FEES_SUBGRAPH??`${e}pol-fees-subgraph/mainnet-v1.0.0/gn`,bribeBoostApi:process.env.NEXT_PUBLIC_80094_INCENTIVES_API||"https://api-claim.berachain.com",bgtIncentiveDistributor:"0x77DA09bC82652f9A14d1b170a001e759640298e6",lstStakerVaultFactory:"0xc41bbD6695AB6bdc6D04701b15f4CE5EbA2e2500"},api:{name:"Berachain API",uri:process.env.PRIVATE_80094_BEX_API_URL??process.env.NEXT_PUBLIC_80094_BEX_API_URL??"https://api.berachain.com",headers:process.env.PRIVATE_80094_BEX_API_KEY?{"x-api-key":process.env.PRIVATE_80094_BEX_API_KEY}:void 0},backend:{name:"Berachain Backend",uri:process.env.NEXT_PUBLIC_80094_BACKEND_API_URL??"https://api-prod-ff16.up.railway.app"},bex:{chainName:"BERACHAIN",vault:"0x4Be03f781C497A489E3cB0287833452cA9B9E80B",helper:"0x5083737EC75a728c265BE578C9d0d5333a2c5951",queries:"0x3C612e132624f4Bd500eE1495F54565F0bcc9b59",relayer:"0x6044f181aB5E9C05A4ed9Ce295f3B178d2492EE7",factories:{composableStable:"0xDfA30BDa0375d4763711AB0CC8D91B20bfCC87E1",weighted:"0xa966fA8F2d5B087FFFA499C0C1240589371Af409"},balancerDelegatedOwnership:"0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b",poolCreationHelper:"0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2",aggregatorsRouter:"0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58",aggregatorsRouterExecutor:"0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8",haikuRouter:"0x24aC999FF132B32c5b3956973b6213B0d07eB2C7",haikuAgentAddress:"0x69495273D6Dc572A830A4D6e00400a1e9d5B8f71",aggregatorsProxyUrl:process.env.NEXT_PUBLIC_80094_AGGREGATORS_PROXY_URL??"https://gateway.mainnet.berachain.com/proxy",recoverFundsApi:process.env.NEXT_PUBLIC_80094_RECOVER_FUNDS_API??"https://be4i5d40pr3f00n4c441n.mainnet.berachain.com",recoverFundsContract:process.env.NEXT_PUBLIC_80094_RECOVER_FUNDS_CONTRACT??"0xB5787B8f7b07a00229b617c4B7a616185857C147"},honey:{name:"Honey",url:"https://honey.berachain.com",subgraph:process.env.NEXT_PUBLIC_80094_HONEY_SUBGRAPH??`${e}honey-subgraph/mainnet-v1.2.1/gn`,factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythOracle:"0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943",pythWrapper:"0xF5686e448BE103beA465105bEb9d284a34ae7e95",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce"},hub:{name:"BeraHub",url:"https://hub.berachain.com"},governance:{governor:"0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5",timelock:"0xb5f2000b5744f207c931526cAE2134cAa8b6862a",subgraph:`${e}governance-subgraph/mainnet-v1.1.1/gn`},lists:{rewardVaultList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/mainnet.json",tokenList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/mainnet.json",validatorList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/mainnet.json"},external:{pyth:"0x2880aB155794e7179c9eE2e38200202908C17B43"},averageBlockTime:2,bridge:{name:"BeraBridge",url:"https://bridge.berachain.com",nft:{name:"BeraBridge NFT",url:"https://nftbridge.berachain.com",eth:{subgraph:`${e}nft-bridge-subgraph/eth-v1.0.0-beta1/gn`},berachain:{subgraph:`${e}nft-bridge-subgraph/mainnet-v1.0.0-beta1/gn`}}},bend:{name:"Bend",url:"https://bend.berachain.com",whiskApi:{name:"Bend Whisk",uri:process.env.WHISK_API_URL??"https://berachain.whisk.so/graphql",headers:process.env.WHISK_API_KEY?{Authorization:`Bearer ${process.env.WHISK_API_KEY}`}:void 0},production:{morpho:"0x24147243f9c08d835C218Cda1e135f8dFD0517D0",adaptiveCurveIrm:"0xcf247Df3A2322Dea0D408f011c194906E77a6f62",metaMorphoFactory:"0x5EDd48C6ACBd565Eeb31702FD9fa9Cbc86fbE616",publicAllocator:"0xB62F34Ab315eaDeAc698e8EaEB6Fc2650951BFe7",bundler3:"0xF920140A65D0f412f2AB3e76C4fEAB5Eef0657ae",generalAdapter1:"0xd2B9667F5214115E27937C410cAeE83E3a901Df7",supportedVaults:(process.env.NEXT_PUBLIC_80094_BEND_PRODUCTION_SUPPORTED_VAULTS??"0x30BbA9CD9Eb8c95824aa42Faa1Bb397b07545bc1").split(",").filter(Boolean)},staging:{morpho:"0xC5FabF3a7E98a2ed89f5d5057Ab010634Ca7e71f",adaptiveCurveIrm:"0x1d5376e532CcF25b740270624111D665830E5dB9",metaMorphoFactory:"0x524061B659380a5e4576d76F0951303B20B5932f",publicAllocator:"0xFD6e68bC20be2a01Ec1Df687c83f927087D52811",bundler3:"0x56811e1BFfF951B98c7940d3aCe0e549Ec4fDee8",generalAdapter1:"0x257a41E20BBfe90D750646C2e00bA700D55958C5",supportedVaults:(process.env.NEXT_PUBLIC_80094_BEND_STAGING_SUPPORTED_VAULTS??"0x19DcFf4e8Ff0B554D8a1f22d289A449fd4FbddBa,0xC0808A144CE2ea85bF84EBD1dDF5D59429f59dDE").split(",").filter(Boolean)}},enso:{walletV2Factory:"0xc914a663837eb21c5a650716e015659686597e55",walletFlashloanAdapter:"0x5dE09823D9143886896507107590d9859F3E390b"},explore:{name:"Explore",url:"https://explore.berachain.com"},explorer:{name:"Berascan",url:"https://berascan.com"},chain:{name:process.env.NEXT_PUBLIC_CHAIN_NAME??"Berachain"},faucet:null};export{c as a};
|
package/dist/chunk-WUYSD6C6.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e}from"./chunk-4EBBM3AH.mjs";var o={chainId:80069,tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x",weth:"0x"},depositContract:"0x4242424242424242424242424242424242424242",pol:{rewardVaultHelper:"0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2",beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",rewardAllocationFactory:"0x7f09Cf6958631513aF0400488F65c7B5c0313F52",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:`${e}pol-subgraph/bepolia-latest/gn`,feesSubgraph:`${e}pol-fees-subgraph/bepolia-v1.0.0/gn`,bribeBoostApi:process.env.NEXT_PUBLIC_80069_INCENTIVES_API||"https://bepolia.api-claim.berachain.com",bgtIncentiveDistributor:"0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3",lstStakerVaultFactory:"0xAf10B532cCC25B26a8e28913D5C4056a77e7a178"},api:{name:"Berachain API",uri:process.env.PRIVATE_80069_BEX_API_URL??process.env.NEXT_PUBLIC_80069_BEX_API_URL??"https://bepolia-api.berachain.com",headers:process.env.PRIVATE_80069_BEX_API_KEY?{"x-api-key":process.env.PRIVATE_80069_BEX_API_KEY}:void 0},backend:{name:"Berachain Backend",uri:process.env.NEXT_PUBLIC_80069_BACKEND_API_URL??"https://backend-production-351b.up.railway.app"},bex:{chainName:"BEPOLIA",vault:"0x708cA656b68A6b7384a488A36aD33505a77241FE",helper:"0xC7c981ADcDC5d48fed0CD52807fb2bAB22676C8f",queries:"0xE3723383a0EA73D5c0dE424BAA97F97f86f6cF92",relayer:"0x343215E156Ff586711a5B8C49Fe3099BAF22624C",factories:{composableStable:"0xB60DbBaCEaeC23486a64d12089F467ef949f1bb1",weighted:"0xf1d23276C7b271B2aC595C78977b2312E9954D57"},poolCreationHelper:"0x0dC9964F6CA33d9EF38DEB4925234766127C6B36",aggregatorsRouter:"0x0000000000000000000000000000000000000000",aggregatorsRouterExecutor:"0x0000000000000000000000000000000000000000",haikuRouter:null,haikuAgentAddress:null,aggregatorsProxyUrl:process.env.NEXT_PUBLIC_80069_AGGREGATORS_PROXY_URL??"",recoverFundsApi:"https://t3stbe4i5d40p.testnet.berachain.com",recoverFundsContract:"0x0eFeC4379805fAFA7269Ec599a6921f388C8841a",balancerDelegatedOwnership:"0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b"},honey:{name:"Honey",url:"https://bepolia.honey.berachain.com",subgraph:`${e}honey-subgraph/bepolia-v1.2.1/gn`,factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythOracle:"0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943",pythWrapper:"0xE5Ad9BA751714ec8cdd554b5a9f12BFcA13980cB",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce"},hub:{name:"BeraHub",url:"https://bepolia.hub.berachain.com"},governance:{governor:process.env.NEXT_PUBLIC_80069_GOVERNANCE_ADDRESS??"0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5",timelock:process.env.NEXT_PUBLIC_80069_GOVERNANCE_TIMELOCK??"0xb5f2000b5744f207c931526cAE2134cAa8b6862a",subgraph:process.env.NEXT_PUBLIC_80069_GOVERNANCE_SUBGRAPH??`${e}governance-subgraph/bepolia-v1.1.1/gn`},lists:{rewardVaultList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/bepolia.json",tokenList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/bepolia.json",validatorList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/bepolia.json"},external:{pyth:"0x2880aB155794e7179c9eE2e38200202908C17B43"},averageBlockTime:2,bridge:{name:"BeraBridge",url:"https://bepolia.bridge.berachain.com",nft:{name:"BeraBridge NFT",url:"#",eth:{subgraph:"#"},berachain:{subgraph:"#"}}},bend:{name:"Bend",url:"https://bepolia.bend.berachain.com",whiskApi:null,production:{morpho:null,adaptiveCurveIrm:null,metaMorphoFactory:null,publicAllocator:null,bundler3:null,generalAdapter1:null,supportedVaults:[]},staging:{morpho:null,adaptiveCurveIrm:null,metaMorphoFactory:null,publicAllocator:null,bundler3:null,generalAdapter1:null,supportedVaults:[]}},enso:{walletV2Factory:null,walletFlashloanAdapter:null},explore:{name:"Explore",url:"https://explore.berachain.com"},explorer:{name:"Berascan",url:"https://testnet.berascan.com"},chain:{name:process.env.NEXT_PUBLIC_CHAIN_NAME??"Berachain Bepolia"},faucet:{name:"Faucet",url:"https://bepolia.faucet.berachain.com",dripAmount:1,timeGap:8,cloudflareKey:process.env.CLOUDFLARE_KEY||"0x4AAAAAAARdAuciFArKhVwt",endpoint:"https://faucet-api.testnet.berachain.com"}};export{o as a};
|