@berachain/config 0.1.18-beta.1 → 0.1.18
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 -8
- package/dist/bepolia.mjs +1 -8
- package/dist/chunk-276AZYTL.cjs +1 -0
- package/dist/chunk-2HIIMZE4.cjs +1 -0
- package/dist/chunk-2OLL4MUY.cjs +1 -0
- package/dist/chunk-3KQLFIHT.cjs +2 -0
- package/dist/chunk-3WZ7JUD6.cjs +1 -0
- package/dist/chunk-4EBBM3AH.mjs +1 -0
- package/dist/chunk-4EBC3WWP.mjs +1 -0
- package/dist/chunk-4VDLQK6F.cjs +1 -0
- package/dist/chunk-BWV5APOW.cjs +1 -0
- package/dist/chunk-DL645PXT.mjs +1 -0
- package/dist/chunk-DUO7UEQD.cjs +1 -0
- package/dist/chunk-DVULZ7ID.cjs +1 -0
- package/dist/chunk-FVNATITS.mjs +1 -0
- package/dist/chunk-FZ23S6ID.mjs +1 -0
- package/dist/chunk-JYSZ2GU3.cjs +1 -0
- package/dist/chunk-JZXLCA2E.mjs +1 -0
- package/dist/chunk-LCQFSMRO.mjs +1 -0
- package/dist/chunk-MB5HZZ3S.mjs +1 -0
- package/dist/chunk-MS6UGFXI.mjs +1 -0
- package/dist/chunk-O243TIHY.mjs +1 -0
- package/dist/chunk-S2A3Z34I.mjs +2 -0
- package/dist/chunk-S5CMEFTY.cjs +1 -0
- package/dist/chunk-VPOS7FPU.cjs +1 -0
- package/dist/chunk-XO2H4NRK.mjs +1 -0
- package/dist/index.cjs +1 -11
- package/dist/index.mjs +1 -11
- package/dist/internal/edge-config/index.cjs +1 -37
- package/dist/internal/edge-config/index.d.cts +0 -30
- package/dist/internal/edge-config/index.d.ts +0 -30
- package/dist/internal/edge-config/index.mjs +1 -37
- package/dist/internal/flags/index.cjs +1 -199
- package/dist/internal/flags/index.mjs +1 -199
- package/dist/internal/header-sources.cjs +11 -283
- package/dist/internal/header-sources.mjs +11 -283
- package/dist/internal/index.cjs +1 -40
- package/dist/internal/index.d.cts +8 -2
- package/dist/internal/index.d.ts +8 -2
- package/dist/internal/index.mjs +1 -40
- package/dist/internal/maintenance.cjs +1 -26
- package/dist/internal/maintenance.mjs +1 -26
- package/dist/internal/nextjs/index.cjs +1 -85
- package/dist/internal/nextjs/index.mjs +1 -85
- package/dist/internal/nextjs/utils/index.cjs +1 -39
- package/dist/internal/nextjs/utils/index.mjs +1 -39
- package/dist/internal/sentry/index.cjs +1 -11
- package/dist/internal/sentry/index.mjs +1 -11
- package/dist/internal/sentry/sentry.client.config.cjs +1 -67
- package/dist/internal/sentry/sentry.client.config.mjs +1 -67
- package/dist/internal/tailwind/index.cjs +1 -239
- package/dist/internal/tailwind/index.mjs +1 -239
- package/dist/internal/tsup/index.cjs +1 -73
- package/dist/internal/tsup/index.mjs +1 -73
- package/dist/internal/wagmi/index.cjs +1 -60
- package/dist/internal/wagmi/index.mjs +1 -60
- package/dist/mainnet.cjs +1 -10
- package/dist/mainnet.d.cts +4 -1
- package/dist/mainnet.d.ts +4 -1
- package/dist/mainnet.mjs +1 -10
- package/dist/sentry.edge.config-DS2KE3CX.cjs +1 -0
- package/dist/sentry.edge.config-OEQTPQ2L.mjs +1 -0
- package/dist/sentry.server.config-KRS7OUMO.mjs +1 -0
- package/dist/sentry.server.config-RNY6FTJT.cjs +1 -0
- package/package.json +1 -1
- package/dist/chunk-2BJ55Y5U.cjs +0 -166
- package/dist/chunk-2JZ7QJEW.cjs +0 -84
- package/dist/chunk-2XYRGOX3.mjs +0 -64
- package/dist/chunk-3K6IUX3G.mjs +0 -25
- package/dist/chunk-4H4HDUCC.mjs +0 -179
- package/dist/chunk-6TL5ZQOM.cjs +0 -75
- package/dist/chunk-75ZPJI57.cjs +0 -9
- package/dist/chunk-7P6ASYW6.mjs +0 -9
- package/dist/chunk-ADH7F47T.cjs +0 -26
- package/dist/chunk-AP2XG6GJ.mjs +0 -84
- package/dist/chunk-BM46XQJA.mjs +0 -55
- package/dist/chunk-CAOMAWN5.mjs +0 -26
- package/dist/chunk-EYYJ2UZT.cjs +0 -10
- package/dist/chunk-FNTZIXS7.cjs +0 -179
- package/dist/chunk-FOUI63VD.mjs +0 -138
- package/dist/chunk-HJXRHQST.mjs +0 -166
- package/dist/chunk-KJXYSGNH.mjs +0 -10
- package/dist/chunk-LALEUPWL.mjs +0 -8
- package/dist/chunk-NQ3UKQHW.mjs +0 -75
- package/dist/chunk-NX4FI7G3.cjs +0 -64
- package/dist/chunk-ONKAV4AG.cjs +0 -25
- package/dist/chunk-REBIMTSJ.cjs +0 -138
- package/dist/chunk-WRTYGXJM.cjs +0 -55
- package/dist/chunk-YT7WZDGI.cjs +0 -8
- package/dist/sentry.edge.config-F4334LEP.cjs +0 -24
- package/dist/sentry.edge.config-JU55FF2U.mjs +0 -24
- package/dist/sentry.server.config-KFRT37Q3.cjs +0 -24
- package/dist/sentry.server.config-M77KFJ6J.mjs +0 -24
package/dist/bepolia.cjs
CHANGED
|
@@ -1,8 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
var _chunkFNTZIXS7cjs = require('./chunk-FNTZIXS7.cjs');
|
|
4
|
-
require('./chunk-EYYJ2UZT.cjs');
|
|
5
|
-
require('./chunk-75ZPJI57.cjs');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
exports.bepolia = _chunkFNTZIXS7cjs.bepolia;
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkS5CMEFTYcjs = require('./chunk-S5CMEFTY.cjs');require('./chunk-2OLL4MUY.cjs');require('./chunk-4VDLQK6F.cjs');exports.bepolia = _chunkS5CMEFTYcjs.a;
|
package/dist/bepolia.mjs
CHANGED
|
@@ -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 _chunk3KQLFIHTcjs = require('./chunk-3KQLFIHT.cjs');if(_chunk3KQLFIHTcjs.a!==80094&&_chunk3KQLFIHTcjs.a!==80069)throw new Error(`Invalid chainId: ${_chunk3KQLFIHTcjs.a}`);var _=_chunk3KQLFIHTcjs.a,l= exports.a ="https://imagedelivery.net/qNj7Q3MCke89zoKzav7eDQ",R= exports.b ="https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/";function p(e=_){if(e===80069&&process.env.NEXT_PUBLIC_80069_ANVIL_RPC_URL||e===80094&&process.env.NEXT_PUBLIC_80094_ANVIL_RPC_URL){let s=e===80069?process.env.NEXT_PUBLIC_80069_ANVIL_RPC_URL:process.env.NEXT_PUBLIC_80094_ANVIL_RPC_URL;return process.env.VITEST_WORKER_ID?s=`${s}/${_nullishCoalesce(process.env.VITEST_WORKER_ID, () => (1))}`:console.log("Using anvil RPC for bepolia",s),{publicJsonRpcUrl:s,jsonRpcUrl:s,alchemyJsonRpcUrl:void 0,privateRcpUrl:void 0,isAnvil:!0}}return{publicJsonRpcUrl:e===80069?_nullishCoalesce(process.env.NEXT_PUBLIC_80069_PUBLIC_JSON_RPC_URL, () => ("https://bepolia.rpc.berachain.com")):_nullishCoalesce(process.env.NEXT_PUBLIC_80094_PUBLIC_JSON_RPC_URL, () => ("https://rpc.berachain.com")),jsonRpcUrl:e===80069?_nullishCoalesce(process.env.NEXT_PUBLIC_80069_JSON_RPC_URL, () => ("https://bepolia.rpc.berachain.com")):_nullishCoalesce(process.env.NEXT_PUBLIC_80094_JSON_RPC_URL, () => ("https://rpc.berachain.com")),alchemyJsonRpcUrl:e===80069?process.env.NEXT_PUBLIC_80069_ALCHEMY_JSON_RPC_URL:process.env.NEXT_PUBLIC_80094_ALCHEMY_JSON_RPC_URL,privateRcpUrl:e===80069?process.env.PRIVATE_80069_JSON_RPC_URL:process.env.PRIVATE_80094_JSON_RPC_URL,isAnvil:!1}}var{publicJsonRpcUrl:t,jsonRpcUrl:i,alchemyJsonRpcUrl:U,privateRcpUrl:L}=p(_chunk3KQLFIHTcjs.a);exports.a = l; exports.b = R; exports.c = p; exports.d = t; exports.e = i; exports.f = U; exports.g = L;
|
|
@@ -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: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, () => ("https://api.subgraph.ormilabs.com/api/private/948207bc-bbb5-47e7-969a-06f9a6f35af3/subgraphs/pol-subgraph/mainnet-v1.7.3/gn")),headers:process.env.ORMI_API_KEY?{Authorization:`Bearer ${process.env.ORMI_API_KEY}`}:void 0},bribeBoostApi:process.env.NEXT_PUBLIC_80094_INCENTIVES_API||"https://api-claim.berachain.com",supplyMonitor:{name:"supply-monitor",uri:_nullishCoalesce(process.env.NEXT_PUBLIC_SUPPLY_MONITOR_API, () => ("https://supply-api.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"))},beep:process.env.NEXT_PUBLIC_80094_BEEP_API_URL?{uri:process.env.NEXT_PUBLIC_80094_BEEP_API_URL||"https://beep.berachain.com",name:"Berachain Beep"}:null,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,0xB5f473c4b7F402d8f7bED42b6D516f5ff3306B01"))).split(",").filter(Boolean),curatorVaults:(_nullishCoalesce(process.env.NEXT_PUBLIC_80094_BEND_PRODUCTION_CURATOR_VAULTS, () => ("0xB5f473c4b7F402d8f7bED42b6D516f5ff3306B01"))).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),curatorVaults:(_nullishCoalesce(process.env.NEXT_PUBLIC_80094_BEND_STAGING_CURATOR_VAULTS, () => (""))).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 = s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var r=(e=>(e[e.MAINNET=80094]="MAINNET",e[e.BEPOLIA=80069]="BEPOLIA",e))(r||{});exports.a = r;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk2OLL4MUYcjs = require('./chunk-2OLL4MUY.cjs');var n=process.env.NEXT_PUBLIC_CHAIN_ID?Number(process.env.NEXT_PUBLIC_CHAIN_ID):80094;if(!Object.values(_chunk2OLL4MUYcjs.a).includes(n))throw new Error(`process.env.NEXT_PUBLIC_CHAIN_ID is invalid: ${n}.
|
|
2
|
+
This value must be one of the following: ${Object.values(_chunk2OLL4MUYcjs.a).filter(Number).join(", ")} when using @berachain/config/internal.`);var r=process.env.VERCEL_TARGET_ENV==="production",o= exports.c =process.env.NODE_ENV==="development",i= exports.d =process.env.VERCEL_TARGET_ENV==="preview"||o,t= exports.e =process.env.VERCEL_TARGET_ENV==="staging",p= exports.f =process.env.NEXT_PUBLIC_BERA_APP_NAME;exports.a = n; exports.b = r; exports.c = o; exports.d = i; exports.e = t; exports.f = p;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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 _nextjs = require('@sentry/nextjs'); var t = _interopRequireWildcard(_nextjs);async function s(e={}){if(process.env.NEXT_RUNTIME==="edge"){let{initSentryEdge:r}=await Promise.resolve().then(() => _interopRequireWildcard(require("./sentry.edge.config-DS2KE3CX.cjs")));r(t,e)}else if(process.env.NEXT_RUNTIME==="nodejs"){let{initSentryServer:r}=await Promise.resolve().then(() => _interopRequireWildcard(require("./sentry.server.config-RNY6FTJT.cjs")));r(t,e)}}function i(e){let r={...e,env:{...e.env,VERCEL_TARGET_ENV:process.env.VERCEL_TARGET_ENV},webpack:(n,o)=>(o.isServer&&!o.dev&&process.env.UPLOAD_SOURCEMAPS==="true"&&(n.devtool="source-map"),_nullishCoalesce(_optionalChain([e, 'access', _ => _.webpack, 'optionalCall', _2 => _2(n,o)]), () => (n)))};return t.withSentryConfig(r,{org:process.env.SENTRY_ORG,project:process.env.SENTRY_PROJECT,telemetry:!1,reactComponentAnnotation:{enabled:process.env.UPLOAD_SOURCEMAPS==="true"},widenClientFileUpload:process.env.UPLOAD_SOURCEMAPS==="true",sourcemaps:{disable:process.env.UPLOAD_SOURCEMAPS!=="true"},debug:process.env.UPLOAD_SOURCEMAPS==="true",tunnelRoute:"/monitoring-tunnel",automaticVercelMonitors:!0})}var c=t.captureRequestError;exports.a = s; exports.b = i; exports.c = c;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"./chunk-S2A3Z34I.mjs";if(r!==80094&&r!==80069)throw new Error(`Invalid chainId: ${r}`);var _=r,l="https://imagedelivery.net/qNj7Q3MCke89zoKzav7eDQ",R="https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/";function p(e=_){if(e===80069&&process.env.NEXT_PUBLIC_80069_ANVIL_RPC_URL||e===80094&&process.env.NEXT_PUBLIC_80094_ANVIL_RPC_URL){let s=e===80069?process.env.NEXT_PUBLIC_80069_ANVIL_RPC_URL:process.env.NEXT_PUBLIC_80094_ANVIL_RPC_URL;return process.env.VITEST_WORKER_ID?s=`${s}/${process.env.VITEST_WORKER_ID??1}`:console.log("Using anvil RPC for bepolia",s),{publicJsonRpcUrl:s,jsonRpcUrl:s,alchemyJsonRpcUrl:void 0,privateRcpUrl:void 0,isAnvil:!0}}return{publicJsonRpcUrl:e===80069?process.env.NEXT_PUBLIC_80069_PUBLIC_JSON_RPC_URL??"https://bepolia.rpc.berachain.com":process.env.NEXT_PUBLIC_80094_PUBLIC_JSON_RPC_URL??"https://rpc.berachain.com",jsonRpcUrl:e===80069?process.env.NEXT_PUBLIC_80069_JSON_RPC_URL??"https://bepolia.rpc.berachain.com":process.env.NEXT_PUBLIC_80094_JSON_RPC_URL??"https://rpc.berachain.com",alchemyJsonRpcUrl:e===80069?process.env.NEXT_PUBLIC_80069_ALCHEMY_JSON_RPC_URL:process.env.NEXT_PUBLIC_80094_ALCHEMY_JSON_RPC_URL,privateRcpUrl:e===80069?process.env.PRIVATE_80069_JSON_RPC_URL:process.env.PRIVATE_80094_JSON_RPC_URL,isAnvil:!1}}var{publicJsonRpcUrl:t,jsonRpcUrl:i,alchemyJsonRpcUrl:U,privateRcpUrl:L}=p(r);export{l as a,R as b,p as c,t as d,i as e,U as f,L as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as e}from"./chunk-4EBBM3AH.mjs";var s={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??"https://api.subgraph.ormilabs.com/api/private/948207bc-bbb5-47e7-969a-06f9a6f35af3/subgraphs/pol-subgraph/mainnet-v1.7.3/gn",headers:process.env.ORMI_API_KEY?{Authorization:`Bearer ${process.env.ORMI_API_KEY}`}:void 0},bribeBoostApi:process.env.NEXT_PUBLIC_80094_INCENTIVES_API||"https://api-claim.berachain.com",supplyMonitor:{name:"supply-monitor",uri:process.env.NEXT_PUBLIC_SUPPLY_MONITOR_API??"https://supply-api.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"},beep:process.env.NEXT_PUBLIC_80094_BEEP_API_URL?{uri:process.env.NEXT_PUBLIC_80094_BEEP_API_URL||"https://beep.berachain.com",name:"Berachain Beep"}:null,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,0xB5f473c4b7F402d8f7bED42b6D516f5ff3306B01").split(",").filter(Boolean),curatorVaults:(process.env.NEXT_PUBLIC_80094_BEND_PRODUCTION_CURATOR_VAULTS??"0xB5f473c4b7F402d8f7bED42b6D516f5ff3306B01").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),curatorVaults:(process.env.NEXT_PUBLIC_80094_BEND_STAGING_CURATOR_VAULTS??"").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{s as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var d=Object.defineProperty;var e=(c,a)=>{for(var b in a)d(c,b,{get:a[b],enumerable:!0})};exports.a = e;
|
|
@@ -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 _chunkS5CMEFTYcjs = require('./chunk-S5CMEFTY.cjs');var _chunk2HIIMZE4cjs = require('./chunk-2HIIMZE4.cjs');var _chunk3KQLFIHTcjs = require('./chunk-3KQLFIHT.cjs');var _={80094:_chunk2HIIMZE4cjs.a,80069:_chunkS5CMEFTYcjs.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{a as t,b as e,c as r}from"./chunk-S2A3Z34I.mjs";var o=t===80094?"mainnet-":"bepolia-";e?o+="production":r?o+="development":o+="preview";var c=e?.1:1,m=process.env.VERCEL_GIT_COMMIT_SHA,a=process.env.NEXT_PUBLIC_SENTRY_DEBUG==="true";export{o as a,c as b,m as c,a as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});function r(t){return typeof t=="string"?t:t.uri}exports.a = r;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunk3KQLFIHTcjs = require('./chunk-3KQLFIHT.cjs');function c(e,n,t){return _optionalChain([e, 'access', _ => _.chain, 'optionalAccess', _2 => _2.length])?e.chain.includes(n===80094?"mainnet":"bepolia"):t}function u(e,n,t){if(!n)return t;let r=n==="development"?"preview":n;return _optionalChain([e, 'access', _3 => _3.branch, 'optionalAccess', _4 => _4.length])?e.branch.includes(r):t}function d(e,n,t){return _optionalChain([e, 'access', _5 => _5.app, 'optionalAccess', _6 => _6.length])&&n?e.app.includes(n):t}function i(e,n,t){let r=e[n];return r?n==="startAt"?r?new Date(r)<=new Date:t:r?new Date(r)>=new Date:t:t}function s(e,{chain:n=_chunk3KQLFIHTcjs.a,environment:t=process.env.VERCEL_TARGET_ENV,app:r=_chunk3KQLFIHTcjs.f}={}){return e?typeof e=="boolean"?e:e.condition==="OR"?c(e,n,!1)||u(e,t,!1)||d(e,r,!1)||i(e,"startAt",!1)||i(e,"endAt",!1):c(e,n,!0)&&u(e,t,!0)&&d(e,r,!0)&&i(e,"startAt",!0)&&i(e,"endAt",!0):!1}exports.a = s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o,f as a}from"./chunk-S2A3Z34I.mjs";function c(e,n,t){return e.chain?.length?e.chain.includes(n===80094?"mainnet":"bepolia"):t}function u(e,n,t){if(!n)return t;let r=n==="development"?"preview":n;return e.branch?.length?e.branch.includes(r):t}function d(e,n,t){return e.app?.length&&n?e.app.includes(n):t}function i(e,n,t){let r=e[n];return r?n==="startAt"?r?new Date(r)<=new Date:t:r?new Date(r)>=new Date:t:t}function s(e,{chain:n=o,environment:t=process.env.VERCEL_TARGET_ENV,app:r=a}={}){return e?typeof e=="boolean"?e:e.condition==="OR"?c(e,n,!1)||u(e,t,!1)||d(e,r,!1)||i(e,"startAt",!1)||i(e,"endAt",!1):c(e,n,!0)&&u(e,t,!0)&&d(e,r,!0)&&i(e,"startAt",!0)&&i(e,"endAt",!0):!1}export{s as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=[{protocol:"https",hostname:"cdn.morpho.org",port:"",pathname:"**"},{protocol:"https",hostname:"raw.githubusercontent.com",port:"",pathname:"/trustwallet/assets/**"},{protocol:"https",hostname:"static.debank.com",port:"",pathname:"/image/*/logo_url/**"},{protocol:"https",hostname:"cdn.whisk.so",port:"",pathname:"**"},{protocol:"https",hostname:"raw.githubusercontent.com",port:"",pathname:"/berachain/**"},{protocol:"https",hostname:"assets.coingecko.com",port:"",pathname:"/coins/images/**"},{protocol:"https",hostname:"coin-images.coingecko.com",port:"",pathname:"/coins/images/**"},{protocol:"https",hostname:"beranames-assets-berachain.s3.eu-central-003.backblazeb2.com",port:"",pathname:"/**"},{protocol:"https",hostname:"icons.llama.fi",port:"",pathname:"/**"},{protocol:"https",hostname:"icons.llamao.fi",port:"",pathname:"/**"},{protocol:"https",hostname:"coin-images.coingecko.com",port:"",pathname:"/asset_platforms/images/**"},{protocol:"https",hostname:"imagedelivery.net",port:"",pathname:"/qNj7Q3MCke89zoKzav7eDQ/**"},{protocol:"https",hostname:"www.clearstar.xyz",port:"",pathname:"/logo.png"}];export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk3KQLFIHTcjs = require('./chunk-3KQLFIHT.cjs');var o=_chunk3KQLFIHTcjs.a===80094?"mainnet-":"bepolia-";_chunk3KQLFIHTcjs.b?o = exports.a+="production":_chunk3KQLFIHTcjs.c?o = exports.a+="development":o = exports.a+="preview";var c=_chunk3KQLFIHTcjs.b?.1:1,m= exports.c =process.env.VERCEL_GIT_COMMIT_SHA,a= exports.d =process.env.NEXT_PUBLIC_SENTRY_DEBUG==="true";exports.a = o; exports.b = c; exports.c = m; exports.d = a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var d=Object.defineProperty;var e=(c,a)=>{for(var b in a)d(c,b,{get:a[b],enumerable:!0})};export{e as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var r={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??"https://api.subgraph.ormilabs.com/api/private/948207bc-bbb5-47e7-969a-06f9a6f35af3/subgraphs/pol-subgraph/bepolia-v1.7.3/gn",headers:process.env.ORMI_API_KEY?{Authorization:`Bearer ${process.env.ORMI_API_KEY}`}:void 0},bribeBoostApi:process.env.NEXT_PUBLIC_80069_INCENTIVES_API||"https://bepolia.api-claim.berachain.com",supplyMonitor:{name:"supply-monitor",uri:process.env.NEXT_PUBLIC_SUPPLY_MONITOR_API??"https://supply-api.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"},beep:{name:"Berachain Beep",uri:process.env.NEXT_PUBLIC_80069_BEEP_API_URL??"https://beep.testnet.berachain.com"},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:[],curatorVaults:[]},staging:{morpho:null,adaptiveCurveIrm:null,metaMorphoFactory:null,publicAllocator:null,bundler3:null,generalAdapter1:null,supportedVaults:[],curatorVaults:[]}},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{r as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-LCQFSMRO.mjs";import{a as c}from"./chunk-4EBC3WWP.mjs";import{a as s,b as o,c as i,d as r,e as n}from"./chunk-S2A3Z34I.mjs";var _={80094:c,80069:a},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:i,isPreview:r,isStaging:n}},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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var r=(e=>(e[e.MAINNET=80094]="MAINNET",e[e.BEPOLIA=80069]="BEPOLIA",e))(r||{});export{r as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function r(t){return typeof t=="string"?t:t.uri}export{r as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as e}from"./chunk-MS6UGFXI.mjs";var n=process.env.NEXT_PUBLIC_CHAIN_ID?Number(process.env.NEXT_PUBLIC_CHAIN_ID):80094;if(!Object.values(e).includes(n))throw new Error(`process.env.NEXT_PUBLIC_CHAIN_ID is invalid: ${n}.
|
|
2
|
+
This value must be one of the following: ${Object.values(e).filter(Number).join(", ")} when using @berachain/config/internal.`);var r=process.env.VERCEL_TARGET_ENV==="production",o=process.env.NODE_ENV==="development",i=process.env.VERCEL_TARGET_ENV==="preview"||o,t=process.env.VERCEL_TARGET_ENV==="staging",p=process.env.NEXT_PUBLIC_BERA_APP_NAME;export{n as a,r as b,o as c,i as d,t as e,p as f};
|
|
@@ -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 r={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, () => ("https://api.subgraph.ormilabs.com/api/private/948207bc-bbb5-47e7-969a-06f9a6f35af3/subgraphs/pol-subgraph/bepolia-v1.7.3/gn")),headers:process.env.ORMI_API_KEY?{Authorization:`Bearer ${process.env.ORMI_API_KEY}`}:void 0},bribeBoostApi:process.env.NEXT_PUBLIC_80069_INCENTIVES_API||"https://bepolia.api-claim.berachain.com",supplyMonitor:{name:"supply-monitor",uri:_nullishCoalesce(process.env.NEXT_PUBLIC_SUPPLY_MONITOR_API, () => ("https://supply-api.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"))},beep:{name:"Berachain Beep",uri:_nullishCoalesce(process.env.NEXT_PUBLIC_80069_BEEP_API_URL, () => ("https://beep.testnet.berachain.com"))},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:[],curatorVaults:[]},staging:{morpho:null,adaptiveCurveIrm:null,metaMorphoFactory:null,publicAllocator:null,bundler3:null,generalAdapter1:null,supportedVaults:[],curatorVaults:[]}},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 = r;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var t=[{protocol:"https",hostname:"cdn.morpho.org",port:"",pathname:"**"},{protocol:"https",hostname:"raw.githubusercontent.com",port:"",pathname:"/trustwallet/assets/**"},{protocol:"https",hostname:"static.debank.com",port:"",pathname:"/image/*/logo_url/**"},{protocol:"https",hostname:"cdn.whisk.so",port:"",pathname:"**"},{protocol:"https",hostname:"raw.githubusercontent.com",port:"",pathname:"/berachain/**"},{protocol:"https",hostname:"assets.coingecko.com",port:"",pathname:"/coins/images/**"},{protocol:"https",hostname:"coin-images.coingecko.com",port:"",pathname:"/coins/images/**"},{protocol:"https",hostname:"beranames-assets-berachain.s3.eu-central-003.backblazeb2.com",port:"",pathname:"/**"},{protocol:"https",hostname:"icons.llama.fi",port:"",pathname:"/**"},{protocol:"https",hostname:"icons.llamao.fi",port:"",pathname:"/**"},{protocol:"https",hostname:"coin-images.coingecko.com",port:"",pathname:"/asset_platforms/images/**"},{protocol:"https",hostname:"imagedelivery.net",port:"",pathname:"/qNj7Q3MCke89zoKzav7eDQ/**"},{protocol:"https",hostname:"www.clearstar.xyz",port:"",pathname:"/logo.png"}];exports.a = t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as t from"@sentry/nextjs";async function s(e={}){if(process.env.NEXT_RUNTIME==="edge"){let{initSentryEdge:r}=await import("./sentry.edge.config-OEQTPQ2L.mjs");r(t,e)}else if(process.env.NEXT_RUNTIME==="nodejs"){let{initSentryServer:r}=await import("./sentry.server.config-KRS7OUMO.mjs");r(t,e)}}function i(e){let r={...e,env:{...e.env,VERCEL_TARGET_ENV:process.env.VERCEL_TARGET_ENV},webpack:(n,o)=>(o.isServer&&!o.dev&&process.env.UPLOAD_SOURCEMAPS==="true"&&(n.devtool="source-map"),e.webpack?.(n,o)??n)};return t.withSentryConfig(r,{org:process.env.SENTRY_ORG,project:process.env.SENTRY_PROJECT,telemetry:!1,reactComponentAnnotation:{enabled:process.env.UPLOAD_SOURCEMAPS==="true"},widenClientFileUpload:process.env.UPLOAD_SOURCEMAPS==="true",sourcemaps:{disable:process.env.UPLOAD_SOURCEMAPS!=="true"},debug:process.env.UPLOAD_SOURCEMAPS==="true",tunnelRoute:"/monitoring-tunnel",automaticVercelMonitors:!0})}var c=t.captureRequestError;export{s as a,i as b,c};
|
package/dist/index.cjs
CHANGED
|
@@ -1,11 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
var _chunkYT7WZDGIcjs = require('./chunk-YT7WZDGI.cjs');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _chunkEYYJ2UZTcjs = require('./chunk-EYYJ2UZT.cjs');
|
|
7
|
-
require('./chunk-75ZPJI57.cjs');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
exports.ChainId = _chunkEYYJ2UZTcjs.ChainId; exports.getUriFromLink = _chunkYT7WZDGIcjs.getUriFromLink;
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkDUO7UEQDcjs = require('./chunk-DUO7UEQD.cjs');var _chunk2OLL4MUYcjs = require('./chunk-2OLL4MUY.cjs');require('./chunk-4VDLQK6F.cjs');exports.ChainId = _chunk2OLL4MUYcjs.a; exports.getUriFromLink = _chunkDUO7UEQDcjs.a;
|
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getUriFromLink
|
|
3
|
-
} from "./chunk-LALEUPWL.mjs";
|
|
4
|
-
import {
|
|
5
|
-
ChainId
|
|
6
|
-
} from "./chunk-KJXYSGNH.mjs";
|
|
7
|
-
import "./chunk-7P6ASYW6.mjs";
|
|
8
|
-
export {
|
|
9
|
-
ChainId,
|
|
10
|
-
getUriFromLink
|
|
11
|
-
};
|
|
1
|
+
import{a as r}from"./chunk-O243TIHY.mjs";import{a as o}from"./chunk-MS6UGFXI.mjs";import"./chunk-JZXLCA2E.mjs";export{o as ChainId,r as getUriFromLink};
|
|
@@ -1,37 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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; }
|
|
2
|
-
|
|
3
|
-
var _chunkNX4FI7G3cjs = require('../../chunk-NX4FI7G3.cjs');
|
|
4
|
-
require('../../chunk-ADH7F47T.cjs');
|
|
5
|
-
require('../../chunk-EYYJ2UZT.cjs');
|
|
6
|
-
require('../../chunk-75ZPJI57.cjs');
|
|
7
|
-
|
|
8
|
-
// src/internal/edge-config/safeGetAll.ts
|
|
9
|
-
var _edgeconfig = require('@vercel/edge-config');
|
|
10
|
-
async function safeGetAll({
|
|
11
|
-
onError
|
|
12
|
-
} = {}) {
|
|
13
|
-
try {
|
|
14
|
-
return await _edgeconfig.getAll.call(void 0, );
|
|
15
|
-
} catch (e) {
|
|
16
|
-
_optionalChain([onError, 'optionalCall', _ => _(e)]);
|
|
17
|
-
return void 0;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
// src/internal/edge-config/safeGetConfig.ts
|
|
22
|
-
|
|
23
|
-
async function safeGetConfig(flagName, {
|
|
24
|
-
onError
|
|
25
|
-
} = {}) {
|
|
26
|
-
try {
|
|
27
|
-
return await _edgeconfig.get.call(void 0, flagName);
|
|
28
|
-
} catch (e) {
|
|
29
|
-
_optionalChain([onError, 'optionalCall', _2 => _2(e)]);
|
|
30
|
-
return void 0;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
exports.isFlagEnabled = _chunkNX4FI7G3cjs.isFlagEnabled; exports.safeGetAll = safeGetAll; exports.safeGetConfig = safeGetConfig;
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkDVULZ7IDcjs = require('../../chunk-DVULZ7ID.cjs');require('../../chunk-3KQLFIHT.cjs');require('../../chunk-2OLL4MUY.cjs');require('../../chunk-4VDLQK6F.cjs');var _edgeconfig = require('@vercel/edge-config');async function d({onError:e}={}){try{return await _edgeconfig.getAll.call(void 0, )}catch(o){_optionalChain([e, 'optionalCall', _ => _(o)]);return}}async function a(e,{onError:o}={}){try{return await _edgeconfig.get.call(void 0, e)}catch(r){_optionalChain([o, 'optionalCall', _2 => _2(r)]);return}}exports.isFlagEnabled = _chunkDVULZ7IDcjs.a; exports.safeGetAll = d; exports.safeGetConfig = a;
|
|
@@ -114,36 +114,6 @@ interface EdgeConfigSchema {
|
|
|
114
114
|
redeemBGT?: BgtMigrationStep;
|
|
115
115
|
stakeBERA?: BgtMigrationStep;
|
|
116
116
|
};
|
|
117
|
-
/**
|
|
118
|
-
* Copy for the site-wide nudge banner shown when a user has un-migrated BGT positions.
|
|
119
|
-
*/
|
|
120
|
-
banner?: {
|
|
121
|
-
/**
|
|
122
|
-
* Banner text; the whole strip links to the portfolio migration widget.
|
|
123
|
-
*/
|
|
124
|
-
text?: string;
|
|
125
|
-
};
|
|
126
|
-
/**
|
|
127
|
-
* Copy for the persistent 'migration completed' alert shown at the top of the portfolio page after migration.
|
|
128
|
-
*/
|
|
129
|
-
successAlert?: {
|
|
130
|
-
/**
|
|
131
|
-
* Alert title.
|
|
132
|
-
*/
|
|
133
|
-
title?: string;
|
|
134
|
-
/**
|
|
135
|
-
* Alert body describing the successful migration.
|
|
136
|
-
*/
|
|
137
|
-
description?: string;
|
|
138
|
-
/**
|
|
139
|
-
* Secondary line shown when the user still has unclaimed incentives after migrating.
|
|
140
|
-
*/
|
|
141
|
-
incentivesPending?: string;
|
|
142
|
-
/**
|
|
143
|
-
* Label for the button that resumes the incentive-claim step.
|
|
144
|
-
*/
|
|
145
|
-
resumeCta?: string;
|
|
146
|
-
};
|
|
147
117
|
};
|
|
148
118
|
};
|
|
149
119
|
honey: {
|
|
@@ -114,36 +114,6 @@ interface EdgeConfigSchema {
|
|
|
114
114
|
redeemBGT?: BgtMigrationStep;
|
|
115
115
|
stakeBERA?: BgtMigrationStep;
|
|
116
116
|
};
|
|
117
|
-
/**
|
|
118
|
-
* Copy for the site-wide nudge banner shown when a user has un-migrated BGT positions.
|
|
119
|
-
*/
|
|
120
|
-
banner?: {
|
|
121
|
-
/**
|
|
122
|
-
* Banner text; the whole strip links to the portfolio migration widget.
|
|
123
|
-
*/
|
|
124
|
-
text?: string;
|
|
125
|
-
};
|
|
126
|
-
/**
|
|
127
|
-
* Copy for the persistent 'migration completed' alert shown at the top of the portfolio page after migration.
|
|
128
|
-
*/
|
|
129
|
-
successAlert?: {
|
|
130
|
-
/**
|
|
131
|
-
* Alert title.
|
|
132
|
-
*/
|
|
133
|
-
title?: string;
|
|
134
|
-
/**
|
|
135
|
-
* Alert body describing the successful migration.
|
|
136
|
-
*/
|
|
137
|
-
description?: string;
|
|
138
|
-
/**
|
|
139
|
-
* Secondary line shown when the user still has unclaimed incentives after migrating.
|
|
140
|
-
*/
|
|
141
|
-
incentivesPending?: string;
|
|
142
|
-
/**
|
|
143
|
-
* Label for the button that resumes the incentive-claim step.
|
|
144
|
-
*/
|
|
145
|
-
resumeCta?: string;
|
|
146
|
-
};
|
|
147
117
|
};
|
|
148
118
|
};
|
|
149
119
|
honey: {
|
|
@@ -1,37 +1 @@
|
|
|
1
|
-
import {
|
|
2
|
-
isFlagEnabled
|
|
3
|
-
} from "../../chunk-2XYRGOX3.mjs";
|
|
4
|
-
import "../../chunk-CAOMAWN5.mjs";
|
|
5
|
-
import "../../chunk-KJXYSGNH.mjs";
|
|
6
|
-
import "../../chunk-7P6ASYW6.mjs";
|
|
7
|
-
|
|
8
|
-
// src/internal/edge-config/safeGetAll.ts
|
|
9
|
-
import { getAll } from "@vercel/edge-config";
|
|
10
|
-
async function safeGetAll({
|
|
11
|
-
onError
|
|
12
|
-
} = {}) {
|
|
13
|
-
try {
|
|
14
|
-
return await getAll();
|
|
15
|
-
} catch (e) {
|
|
16
|
-
onError?.(e);
|
|
17
|
-
return void 0;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
// src/internal/edge-config/safeGetConfig.ts
|
|
22
|
-
import { get } from "@vercel/edge-config";
|
|
23
|
-
async function safeGetConfig(flagName, {
|
|
24
|
-
onError
|
|
25
|
-
} = {}) {
|
|
26
|
-
try {
|
|
27
|
-
return await get(flagName);
|
|
28
|
-
} catch (e) {
|
|
29
|
-
onError?.(e);
|
|
30
|
-
return void 0;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
export {
|
|
34
|
-
isFlagEnabled,
|
|
35
|
-
safeGetAll,
|
|
36
|
-
safeGetConfig
|
|
37
|
-
};
|
|
1
|
+
import{a as i}from"../../chunk-FVNATITS.mjs";import"../../chunk-S2A3Z34I.mjs";import"../../chunk-MS6UGFXI.mjs";import"../../chunk-JZXLCA2E.mjs";import{getAll as n}from"@vercel/edge-config";async function d({onError:e}={}){try{return await n()}catch(o){e?.(o);return}}import{get as t}from"@vercel/edge-config";async function a(e,{onError:o}={}){try{return await t(e)}catch(r){o?.(r);return}}export{i as isFlagEnabled,d as safeGetAll,a as safeGetConfig};
|
|
@@ -1,199 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
var _chunkNX4FI7G3cjs = require('../../chunk-NX4FI7G3.cjs');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _chunkADH7F47Tcjs = require('../../chunk-ADH7F47T.cjs');
|
|
7
|
-
require('../../chunk-EYYJ2UZT.cjs');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var _chunk75ZPJI57cjs = require('../../chunk-75ZPJI57.cjs');
|
|
11
|
-
|
|
12
|
-
// src/internal/flags/flags.ts
|
|
13
|
-
var flags_exports = {};
|
|
14
|
-
_chunk75ZPJI57cjs.__export.call(void 0, flags_exports, {
|
|
15
|
-
enableBexFundsRecovery: () => enableBexFundsRecovery,
|
|
16
|
-
enableEip5792: () => enableEip5792,
|
|
17
|
-
enableSimulateCalls: () => enableSimulateCalls,
|
|
18
|
-
hideStakeForSingleHolderVaults: () => hideStakeForSingleHolderVaults,
|
|
19
|
-
isAirdropLive: () => isAirdropLive,
|
|
20
|
-
isBendLoopingEnabled: () => isBendLoopingEnabled,
|
|
21
|
-
isBendNew: () => isBendNew,
|
|
22
|
-
isBendVaultDataHourly: () => isBendVaultDataHourly,
|
|
23
|
-
isBgtPolRewardToken: () => isBgtPolRewardToken,
|
|
24
|
-
isDefaultStakingPoolEnabled: () => isDefaultStakingPoolEnabled,
|
|
25
|
-
isEmbeddedWalletsEnabled: () => isEmbeddedWalletsEnabled,
|
|
26
|
-
isGovernanceEnabled: () => isGovernanceEnabled,
|
|
27
|
-
isHoneyPythWrapperEnabled: () => isHoneyPythWrapperEnabled,
|
|
28
|
-
isMultiChainZapBendEnabled: () => isMultiChainZapBendEnabled,
|
|
29
|
-
isPoolsMerged: () => isPoolsMerged,
|
|
30
|
-
isRefundInExplorer: () => isRefundInExplorer,
|
|
31
|
-
isZapStakeBeraEnabled: () => isZapStakeBeraEnabled,
|
|
32
|
-
mockIncentiveManager: () => mockIncentiveManager,
|
|
33
|
-
mockRewardDurationManager: () => mockRewardDurationManager,
|
|
34
|
-
mockValidatorOperator: () => mockValidatorOperator,
|
|
35
|
-
mockValidatorRewardAllocator: () => mockValidatorRewardAllocator,
|
|
36
|
-
proxyAggregatorsThroughVercel: () => proxyAggregatorsThroughVercel,
|
|
37
|
-
sponsorGas: () => sponsorGas
|
|
38
|
-
});
|
|
39
|
-
var _next = require('flags/next');
|
|
40
|
-
|
|
41
|
-
// src/internal/flags/beraEdgeConfigAdapter.ts
|
|
42
|
-
var _edgeconfig = require('@flags-sdk/edge-config');
|
|
43
|
-
function beraEdgeConfigAdapter({ adapter } = {
|
|
44
|
-
adapter: _edgeconfig.edgeConfigAdapter.call(void 0, )
|
|
45
|
-
}) {
|
|
46
|
-
return {
|
|
47
|
-
...adapter,
|
|
48
|
-
async decide(params) {
|
|
49
|
-
if (_chunkADH7F47Tcjs.isProduction && params.key.startsWith("mock")) {
|
|
50
|
-
return false;
|
|
51
|
-
}
|
|
52
|
-
const value = await adapter.decide(params);
|
|
53
|
-
return _chunkNX4FI7G3cjs.isFlagEnabled.call(void 0, value);
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
// src/internal/flags/flags.ts
|
|
59
|
-
var isGovernanceEnabled = _next.flag.call(void 0, {
|
|
60
|
-
key: "isGovernanceEnabled",
|
|
61
|
-
description: "Enable Governance proposals",
|
|
62
|
-
defaultValue: true,
|
|
63
|
-
adapter: beraEdgeConfigAdapter()
|
|
64
|
-
});
|
|
65
|
-
var hideStakeForSingleHolderVaults = _next.flag.call(void 0, {
|
|
66
|
-
key: "hideStakeForSingleHolderVaults",
|
|
67
|
-
description: "Hide stake for single holder vaults",
|
|
68
|
-
defaultValue: true,
|
|
69
|
-
adapter: beraEdgeConfigAdapter()
|
|
70
|
-
});
|
|
71
|
-
var enableSimulateCalls = _next.flag.call(void 0, {
|
|
72
|
-
key: "enableSimulateCalls",
|
|
73
|
-
description: "Controls the support of eth_simulateV1 from bera-reth/bera-geth",
|
|
74
|
-
defaultValue: false,
|
|
75
|
-
adapter: beraEdgeConfigAdapter()
|
|
76
|
-
});
|
|
77
|
-
var enableBexFundsRecovery = _next.flag.call(void 0, {
|
|
78
|
-
key: "enableBexFundsRecovery",
|
|
79
|
-
description: "Enable BEX funds recovery",
|
|
80
|
-
defaultValue: true,
|
|
81
|
-
adapter: beraEdgeConfigAdapter()
|
|
82
|
-
});
|
|
83
|
-
var isRefundInExplorer = _next.flag.call(void 0, {
|
|
84
|
-
key: "isRefundInExplorer",
|
|
85
|
-
description: "Show Refund link in the Explorer dropdown",
|
|
86
|
-
defaultValue: false,
|
|
87
|
-
adapter: beraEdgeConfigAdapter()
|
|
88
|
-
});
|
|
89
|
-
var isAirdropLive = _next.flag.call(void 0, {
|
|
90
|
-
key: "isAirdropLive",
|
|
91
|
-
description: "Show Airdrop link in the Explorer dropdown",
|
|
92
|
-
defaultValue: false,
|
|
93
|
-
adapter: beraEdgeConfigAdapter()
|
|
94
|
-
});
|
|
95
|
-
var isEmbeddedWalletsEnabled = _next.flag.call(void 0, {
|
|
96
|
-
key: "isEmbeddedWalletsEnabled",
|
|
97
|
-
description: "Enable embedded wallets",
|
|
98
|
-
defaultValue: true,
|
|
99
|
-
adapter: beraEdgeConfigAdapter()
|
|
100
|
-
});
|
|
101
|
-
var sponsorGas = _next.flag.call(void 0, {
|
|
102
|
-
key: "sponsorGas",
|
|
103
|
-
description: "Enable gasless transactions for embedded wallets",
|
|
104
|
-
defaultValue: false,
|
|
105
|
-
adapter: beraEdgeConfigAdapter()
|
|
106
|
-
});
|
|
107
|
-
var enableEip5792 = _next.flag.call(void 0, {
|
|
108
|
-
key: "enableEip5792",
|
|
109
|
-
description: "Enable EIP-5792 to allow batch transactions if wallet supports it",
|
|
110
|
-
defaultValue: true,
|
|
111
|
-
adapter: beraEdgeConfigAdapter()
|
|
112
|
-
});
|
|
113
|
-
var proxyAggregatorsThroughVercel = _next.flag.call(void 0, {
|
|
114
|
-
key: "proxyAggregatorsThroughVercel",
|
|
115
|
-
description: "Proxy aggregators quotes through Vercel instead of proxy gateway",
|
|
116
|
-
defaultValue: false,
|
|
117
|
-
adapter: beraEdgeConfigAdapter()
|
|
118
|
-
});
|
|
119
|
-
var isDefaultStakingPoolEnabled = _next.flag.call(void 0, {
|
|
120
|
-
key: "isDefaultStakingPoolEnabled",
|
|
121
|
-
description: "Enable default staking pools",
|
|
122
|
-
defaultValue: true,
|
|
123
|
-
adapter: beraEdgeConfigAdapter()
|
|
124
|
-
});
|
|
125
|
-
var isBendVaultDataHourly = _next.flag.call(void 0, {
|
|
126
|
-
key: "isBendVaultDataHourly",
|
|
127
|
-
description: "Enable bend vault data to be fetched hourly",
|
|
128
|
-
defaultValue: true,
|
|
129
|
-
adapter: beraEdgeConfigAdapter()
|
|
130
|
-
});
|
|
131
|
-
var isHoneyPythWrapperEnabled = _next.flag.call(void 0, {
|
|
132
|
-
key: "isHoneyPythWrapperEnabled",
|
|
133
|
-
description: "Update pyth prices when minting or redeeming Honey",
|
|
134
|
-
defaultValue: false,
|
|
135
|
-
adapter: beraEdgeConfigAdapter()
|
|
136
|
-
});
|
|
137
|
-
var isBendNew = _next.flag.call(void 0, {
|
|
138
|
-
key: "isBendNew",
|
|
139
|
-
description: "Enable Bend live",
|
|
140
|
-
defaultValue: false,
|
|
141
|
-
adapter: beraEdgeConfigAdapter()
|
|
142
|
-
});
|
|
143
|
-
var isPoolsMerged = _next.flag.call(void 0, {
|
|
144
|
-
key: "isPoolsMerged",
|
|
145
|
-
description: "Enable Pools merged",
|
|
146
|
-
defaultValue: true,
|
|
147
|
-
adapter: beraEdgeConfigAdapter()
|
|
148
|
-
});
|
|
149
|
-
var isBendLoopingEnabled = _next.flag.call(void 0, {
|
|
150
|
-
key: "isBendLoopingEnabled",
|
|
151
|
-
description: "Enable multiply/demultiply looping in Bend markets",
|
|
152
|
-
defaultValue: false,
|
|
153
|
-
adapter: beraEdgeConfigAdapter()
|
|
154
|
-
});
|
|
155
|
-
var isMultiChainZapBendEnabled = _next.flag.call(void 0, {
|
|
156
|
-
key: "isMultiChainZapBendEnabled",
|
|
157
|
-
description: "Enable multi chain zap for Bend",
|
|
158
|
-
defaultValue: false,
|
|
159
|
-
adapter: beraEdgeConfigAdapter()
|
|
160
|
-
});
|
|
161
|
-
var isZapStakeBeraEnabled = _next.flag.call(void 0, {
|
|
162
|
-
key: "isZapStakeBeraEnabled",
|
|
163
|
-
description: "Enable multi chain zap for Staking BERA",
|
|
164
|
-
defaultValue: false,
|
|
165
|
-
adapter: beraEdgeConfigAdapter()
|
|
166
|
-
});
|
|
167
|
-
var isBgtPolRewardToken = _next.flag.call(void 0, {
|
|
168
|
-
key: "isBgtPolRewardToken",
|
|
169
|
-
description: "Whether the BGT reward token is the POL reward token",
|
|
170
|
-
defaultValue: true,
|
|
171
|
-
adapter: beraEdgeConfigAdapter()
|
|
172
|
-
});
|
|
173
|
-
var mockValidatorOperator = _next.flag.call(void 0, {
|
|
174
|
-
key: "mockValidatorOperator",
|
|
175
|
-
description: "Mock validator role",
|
|
176
|
-
defaultValue: false,
|
|
177
|
-
adapter: beraEdgeConfigAdapter()
|
|
178
|
-
});
|
|
179
|
-
var mockValidatorRewardAllocator = _next.flag.call(void 0, {
|
|
180
|
-
key: "mockValidatorRewardAllocator",
|
|
181
|
-
description: "Mock validator reward allocator",
|
|
182
|
-
defaultValue: false,
|
|
183
|
-
adapter: beraEdgeConfigAdapter()
|
|
184
|
-
});
|
|
185
|
-
var mockRewardDurationManager = _next.flag.call(void 0, {
|
|
186
|
-
key: "mockRewardDurationManager",
|
|
187
|
-
description: "Mock reward duration manager",
|
|
188
|
-
defaultValue: false,
|
|
189
|
-
adapter: beraEdgeConfigAdapter()
|
|
190
|
-
});
|
|
191
|
-
var mockIncentiveManager = _next.flag.call(void 0, {
|
|
192
|
-
key: "mockIncentiveManager",
|
|
193
|
-
description: "Mock incentive manager",
|
|
194
|
-
defaultValue: false,
|
|
195
|
-
adapter: beraEdgeConfigAdapter()
|
|
196
|
-
});
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
exports.flags = flags_exports;
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkDVULZ7IDcjs = require('../../chunk-DVULZ7ID.cjs');var _chunk3KQLFIHTcjs = require('../../chunk-3KQLFIHT.cjs');require('../../chunk-2OLL4MUY.cjs');var _chunk4VDLQK6Fcjs = require('../../chunk-4VDLQK6F.cjs');var n={};_chunk4VDLQK6Fcjs.a.call(void 0, n,{enableBexFundsRecovery:()=>f,enableEip5792:()=>m,enableSimulateCalls:()=>c,hideStakeForSingleHolderVaults:()=>u,isAirdropLive:()=>g,isBendLoopingEnabled:()=>v,isBendNew:()=>w,isBendVaultDataHourly:()=>x,isBgtPolRewardToken:()=>C,isDefaultStakingPoolEnabled:()=>h,isEmbeddedWalletsEnabled:()=>k,isGovernanceEnabled:()=>p,isHoneyPythWrapperEnabled:()=>V,isMultiChainZapBendEnabled:()=>S,isPoolsMerged:()=>B,isRefundInExplorer:()=>b,isZapStakeBeraEnabled:()=>A,mockIncentiveManager:()=>H,mockRewardDurationManager:()=>R,mockValidatorOperator:()=>P,mockValidatorRewardAllocator:()=>M,proxyAggregatorsThroughVercel:()=>E,sponsorGas:()=>y});var _next = require('flags/next');var _edgeconfig = require('@flags-sdk/edge-config');function e({adapter:o}={adapter:_edgeconfig.edgeConfigAdapter.call(void 0, )}){return{...o,async decide(t){if(_chunk3KQLFIHTcjs.b&&t.key.startsWith("mock"))return!1;let d=await o.decide(t);return _chunkDVULZ7IDcjs.a.call(void 0, d)}}}var p=_next.flag.call(void 0, {key:"isGovernanceEnabled",description:"Enable Governance proposals",defaultValue:!0,adapter:e()}),u=_next.flag.call(void 0, {key:"hideStakeForSingleHolderVaults",description:"Hide stake for single holder vaults",defaultValue:!0,adapter:e()}),c=_next.flag.call(void 0, {key:"enableSimulateCalls",description:"Controls the support of eth_simulateV1 from bera-reth/bera-geth",defaultValue:!1,adapter:e()}),f=_next.flag.call(void 0, {key:"enableBexFundsRecovery",description:"Enable BEX funds recovery",defaultValue:!0,adapter:e()}),b=_next.flag.call(void 0, {key:"isRefundInExplorer",description:"Show Refund link in the Explorer dropdown",defaultValue:!1,adapter:e()}),g=_next.flag.call(void 0, {key:"isAirdropLive",description:"Show Airdrop link in the Explorer dropdown",defaultValue:!1,adapter:e()}),k=_next.flag.call(void 0, {key:"isEmbeddedWalletsEnabled",description:"Enable embedded wallets",defaultValue:!0,adapter:e()}),y=_next.flag.call(void 0, {key:"sponsorGas",description:"Enable gasless transactions for embedded wallets",defaultValue:!1,adapter:e()}),m=_next.flag.call(void 0, {key:"enableEip5792",description:"Enable EIP-5792 to allow batch transactions if wallet supports it",defaultValue:!0,adapter:e()}),E=_next.flag.call(void 0, {key:"proxyAggregatorsThroughVercel",description:"Proxy aggregators quotes through Vercel instead of proxy gateway",defaultValue:!1,adapter:e()}),h=_next.flag.call(void 0, {key:"isDefaultStakingPoolEnabled",description:"Enable default staking pools",defaultValue:!0,adapter:e()}),x=_next.flag.call(void 0, {key:"isBendVaultDataHourly",description:"Enable bend vault data to be fetched hourly",defaultValue:!0,adapter:e()}),V=_next.flag.call(void 0, {key:"isHoneyPythWrapperEnabled",description:"Update pyth prices when minting or redeeming Honey",defaultValue:!1,adapter:e()}),w=_next.flag.call(void 0, {key:"isBendNew",description:"Enable Bend live",defaultValue:!1,adapter:e()}),B=_next.flag.call(void 0, {key:"isPoolsMerged",description:"Enable Pools merged",defaultValue:!0,adapter:e()}),v=_next.flag.call(void 0, {key:"isBendLoopingEnabled",description:"Enable multiply/demultiply looping in Bend markets",defaultValue:!1,adapter:e()}),S=_next.flag.call(void 0, {key:"isMultiChainZapBendEnabled",description:"Enable multi chain zap for Bend",defaultValue:!1,adapter:e()}),A=_next.flag.call(void 0, {key:"isZapStakeBeraEnabled",description:"Enable multi chain zap for Staking BERA",defaultValue:!1,adapter:e()}),C=_next.flag.call(void 0, {key:"isBgtPolRewardToken",description:"Whether the BGT reward token is the POL reward token",defaultValue:!0,adapter:e()}),P=_next.flag.call(void 0, {key:"mockValidatorOperator",description:"Mock validator role",defaultValue:!1,adapter:e()}),M=_next.flag.call(void 0, {key:"mockValidatorRewardAllocator",description:"Mock validator reward allocator",defaultValue:!1,adapter:e()}),R=_next.flag.call(void 0, {key:"mockRewardDurationManager",description:"Mock reward duration manager",defaultValue:!1,adapter:e()}),H=_next.flag.call(void 0, {key:"mockIncentiveManager",description:"Mock incentive manager",defaultValue:!1,adapter:e()});exports.flags = n;
|