@berachain/config 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bepolia.cjs +1 -1
- package/dist/bepolia.d.cts +1 -1
- package/dist/bepolia.d.ts +1 -1
- package/dist/bepolia.mjs +1 -1
- package/dist/chunk-2X5W4YR4.mjs +1 -0
- package/dist/chunk-32CWUFQY.cjs +1 -0
- package/dist/chunk-MHNEK2A2.cjs +1 -0
- package/dist/chunk-TSH4FNVH.mjs +1 -0
- package/dist/chunk-WKOAF2ML.mjs +1 -0
- package/dist/chunk-WNGB3G3V.cjs +1 -0
- package/dist/internal/edge-config/index.d.cts +27 -19
- package/dist/internal/edge-config/index.d.ts +27 -19
- package/dist/internal/flags/index.cjs +1 -1
- package/dist/internal/flags/index.d.cts +3 -1
- package/dist/internal/flags/index.d.ts +3 -1
- package/dist/internal/flags/index.mjs +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 +14 -4
- package/dist/internal/index.d.ts +14 -4
- package/dist/internal/index.mjs +1 -1
- package/dist/internal/nextjs/utils/index.cjs +1 -1
- package/dist/internal/nextjs/utils/index.mjs +1 -1
- package/dist/mainnet.cjs +1 -1
- package/dist/mainnet.d.cts +1 -1
- package/dist/mainnet.d.ts +1 -1
- package/dist/mainnet.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-6CMG5CBG.cjs +0 -1
- package/dist/chunk-BQFHWAJZ.mjs +0 -1
- package/dist/chunk-FFCLEC63.mjs +0 -1
- package/dist/chunk-G2LROWQ2.mjs +0 -1
- package/dist/chunk-G3P5QJ2Y.cjs +0 -1
- package/dist/chunk-IV4GOAZB.cjs +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 _chunkMHNEK2A2cjs = require('./chunk-MHNEK2A2.cjs');require('./chunk-ZYHYMHGN.cjs');require('./chunk-5Q5FZIMO.cjs');require('./chunk-2OLL4MUY.cjs');require('./chunk-4VDLQK6F.cjs');exports.bepolia = _chunkMHNEK2A2cjs.a;
|
package/dist/bepolia.d.cts
CHANGED
|
@@ -32,7 +32,7 @@ declare const bepolia: {
|
|
|
32
32
|
readonly weighted: "0xf1d23276C7b271B2aC595C78977b2312E9954D57";
|
|
33
33
|
};
|
|
34
34
|
readonly poolCreationHelper: "0x0dC9964F6CA33d9EF38DEB4925234766127C6B36";
|
|
35
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-
|
|
35
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-1.0.3/gn";
|
|
36
36
|
readonly aggregatorsRouter: "0x0000000000000000000000000000000000000000";
|
|
37
37
|
readonly aggregatorsRouterExecutor: "0x0000000000000000000000000000000000000000";
|
|
38
38
|
readonly aggregatorsProxyUrl: string;
|
package/dist/bepolia.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ declare const bepolia: {
|
|
|
32
32
|
readonly weighted: "0xf1d23276C7b271B2aC595C78977b2312E9954D57";
|
|
33
33
|
};
|
|
34
34
|
readonly poolCreationHelper: "0x0dC9964F6CA33d9EF38DEB4925234766127C6B36";
|
|
35
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-
|
|
35
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-1.0.3/gn";
|
|
36
36
|
readonly aggregatorsRouter: "0x0000000000000000000000000000000000000000";
|
|
37
37
|
readonly aggregatorsRouterExecutor: "0x0000000000000000000000000000000000000000";
|
|
38
38
|
readonly aggregatorsProxyUrl: string;
|
package/dist/bepolia.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-2X5W4YR4.mjs";import"./chunk-YUUHPTW6.mjs";import"./chunk-CM7FGHYU.mjs";import"./chunk-MS6UGFXI.mjs";import"./chunk-JZXLCA2E.mjs";export{a as bepolia};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as e}from"./chunk-YUUHPTW6.mjs";var r={tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x",weth:"0x"},depositContract:"0x4242424242424242424242424242424242424242",pol:{rewardVaultHelper:"0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2",beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:`${e}pol-subgraph/bepolia-1.7.0/gn`,bribeBoostApi:process.env.NEXT_PUBLIC_80069_INCENTIVES_API||"https://bepolia.api-claim.berachain.com",bribeBoostApiKey:process.env.PRIVATE_80069_INCENTIVES_API_KEY??"",bgtIncentiveDistributor:"0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3"},api:process.env.PRIVATE_80069_BEX_API_URL??process.env.NEXT_PUBLIC_80069_BEX_API_URL??"https://bepolia-api.berachain.com",blocksSubgraph:`${e}blocks-subgraph/bepolia-v1.1.0/gn`,bex:{chainName:"BEPOLIA",vault:"0x708cA656b68A6b7384a488A36aD33505a77241FE",helper:"0xC7c981ADcDC5d48fed0CD52807fb2bAB22676C8f",queries:"0xE3723383a0EA73D5c0dE424BAA97F97f86f6cF92",relayer:"0x343215E156Ff586711a5B8C49Fe3099BAF22624C",factories:{composableStable:"0xB60DbBaCEaeC23486a64d12089F467ef949f1bb1",weighted:"0xf1d23276C7b271B2aC595C78977b2312E9954D57"},poolCreationHelper:"0x0dC9964F6CA33d9EF38DEB4925234766127C6B36",subgraph:`${e}bex-subgraph/bepolia-1.0.3/gn`,aggregatorsRouter:"0x0000000000000000000000000000000000000000",aggregatorsRouterExecutor:"0x0000000000000000000000000000000000000000",aggregatorsProxyUrl:process.env.NEXT_PUBLIC_80069_AGGREGATORS_PROXY_URL??"",recoverFundsApi:"https://t3stbe4i5d40p.testnet.berachain.com",recoverFundsContract:"0x0eFeC4379805fAFA7269Ec599a6921f388C8841a"},honey:{name:"Honey",url:"https://bepolia.honey.berachain.com",subgraph:`${e}honey-subgraph/bepolia-v1.2.1/gn`,factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythOracle:"0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943",pythWrapper:"0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce"},hub:{name:"BeraHub",url:"https://bepolia.hub.berachain.com"},foundation:{name:"Berachain Foundation",url:"https://www.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,beApiKey:process.env.PRIVATE_80069_BEX_API_KEY,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",whiskApiUrl:null,whiskApiKey: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:[]}},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"}};export{r 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 _chunkZYHYMHGNcjs = require('./chunk-ZYHYMHGN.cjs');var a={tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x0555E30da8f98308EdB960aa94C0Db47230d2B9c",weth:"0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590"},depositContract:"0x4242424242424242424242424242424242424242",pol:{rewardVaultHelper:"0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2",beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_POL_SUBGRAPH, () => (`${_chunkZYHYMHGNcjs.b}pol-subgraph/mainnet-1.7.0/gn`)),bribeBoostApi:process.env.NEXT_PUBLIC_80094_INCENTIVES_API||"https://api-claim.berachain.com",bribeBoostApiKey:_nullishCoalesce(process.env.PRIVATE_80094_INCENTIVES_API_KEY, () => ("")),bgtIncentiveDistributor:"0x77DA09bC82652f9A14d1b170a001e759640298e6"},api:_nullishCoalesce(_nullishCoalesce(process.env.PRIVATE_80094_BEX_API_URL, () => (process.env.NEXT_PUBLIC_80094_BEX_API_URL)), () => ("https://api.berachain.com")),blocksSubgraph:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_BLOCKS_SUBGRAPH, () => (`${_chunkZYHYMHGNcjs.b}blocks-subgraph/mainnet-v1.1.0/gn`)),bex:{chainName:"BERACHAIN",vault:"0x4Be03f781C497A489E3cB0287833452cA9B9E80B",helper:"0x5083737EC75a728c265BE578C9d0d5333a2c5951",queries:"0x3C612e132624f4Bd500eE1495F54565F0bcc9b59",relayer:"0x6044f181aB5E9C05A4ed9Ce295f3B178d2492EE7",factories:{composableStable:"0xDfA30BDa0375d4763711AB0CC8D91B20bfCC87E1",weighted:"0xa966fA8F2d5B087FFFA499C0C1240589371Af409"},poolCreationHelper:"0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2",subgraph:`${_chunkZYHYMHGNcjs.b}bex-subgraph/mainnet-1.0.3/gn`,aggregatorsRouter:"0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58",aggregatorsRouterExecutor:"0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8",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, () => (`${_chunkZYHYMHGNcjs.b}honey-subgraph/mainnet-v1.2.1/gn`)),factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythOracle:"0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943",pythWrapper:"0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce"},hub:{name:"BeraHub",url:"https://hub.berachain.com"},foundation:{name:"Berachain Foundation",url:"https://www.berachain.com"},governance:{governor:"0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5",timelock:"0xb5f2000b5744f207c931526cAE2134cAa8b6862a",subgraph:`${_chunkZYHYMHGNcjs.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,beApiKey:process.env.PRIVATE_80094_BEX_API_KEY,bridge:{name:"BeraBridge",url:"https://bridge.berachain.com",nft:{name:"BeraBridge NFT",url:"https://nftbridge.berachain.com",eth:{subgraph:`${_chunkZYHYMHGNcjs.b}nft-bridge-subgraph/eth-v1.0.0-beta1/gn`},berachain:{subgraph:`${_chunkZYHYMHGNcjs.b}nft-bridge-subgraph/mainnet-v1.0.0-beta1/gn`}}},bend:{name:"Bend",url:"https://bend.berachain.com",whiskApiUrl:_nullishCoalesce(process.env.WHISK_API_URL, () => ("https://berachain.whisk.so/graphql")),whiskApiKey:_nullishCoalesce(process.env.WHISK_API_KEY, () => ("")),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)}},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"))}},t= exports.b =a;exports.a = a; exports.b = t;
|
|
@@ -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 _chunkZYHYMHGNcjs = require('./chunk-ZYHYMHGN.cjs');var r={tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x",weth:"0x"},depositContract:"0x4242424242424242424242424242424242424242",pol:{rewardVaultHelper:"0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2",beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:`${_chunkZYHYMHGNcjs.b}pol-subgraph/bepolia-1.7.0/gn`,bribeBoostApi:process.env.NEXT_PUBLIC_80069_INCENTIVES_API||"https://bepolia.api-claim.berachain.com",bribeBoostApiKey:_nullishCoalesce(process.env.PRIVATE_80069_INCENTIVES_API_KEY, () => ("")),bgtIncentiveDistributor:"0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3"},api:_nullishCoalesce(_nullishCoalesce(process.env.PRIVATE_80069_BEX_API_URL, () => (process.env.NEXT_PUBLIC_80069_BEX_API_URL)), () => ("https://bepolia-api.berachain.com")),blocksSubgraph:`${_chunkZYHYMHGNcjs.b}blocks-subgraph/bepolia-v1.1.0/gn`,bex:{chainName:"BEPOLIA",vault:"0x708cA656b68A6b7384a488A36aD33505a77241FE",helper:"0xC7c981ADcDC5d48fed0CD52807fb2bAB22676C8f",queries:"0xE3723383a0EA73D5c0dE424BAA97F97f86f6cF92",relayer:"0x343215E156Ff586711a5B8C49Fe3099BAF22624C",factories:{composableStable:"0xB60DbBaCEaeC23486a64d12089F467ef949f1bb1",weighted:"0xf1d23276C7b271B2aC595C78977b2312E9954D57"},poolCreationHelper:"0x0dC9964F6CA33d9EF38DEB4925234766127C6B36",subgraph:`${_chunkZYHYMHGNcjs.b}bex-subgraph/bepolia-1.0.3/gn`,aggregatorsRouter:"0x0000000000000000000000000000000000000000",aggregatorsRouterExecutor:"0x0000000000000000000000000000000000000000",aggregatorsProxyUrl:_nullishCoalesce(process.env.NEXT_PUBLIC_80069_AGGREGATORS_PROXY_URL, () => ("")),recoverFundsApi:"https://t3stbe4i5d40p.testnet.berachain.com",recoverFundsContract:"0x0eFeC4379805fAFA7269Ec599a6921f388C8841a"},honey:{name:"Honey",url:"https://bepolia.honey.berachain.com",subgraph:`${_chunkZYHYMHGNcjs.b}honey-subgraph/bepolia-v1.2.1/gn`,factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythOracle:"0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943",pythWrapper:"0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce"},hub:{name:"BeraHub",url:"https://bepolia.hub.berachain.com"},foundation:{name:"Berachain Foundation",url:"https://www.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, () => (`${_chunkZYHYMHGNcjs.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,beApiKey:process.env.PRIVATE_80069_BEX_API_KEY,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",whiskApiUrl:null,whiskApiKey: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:[]}},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"))}};exports.a = r;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as e}from"./chunk-YUUHPTW6.mjs";var a={tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x0555E30da8f98308EdB960aa94C0Db47230d2B9c",weth:"0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590"},depositContract:"0x4242424242424242424242424242424242424242",pol:{rewardVaultHelper:"0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2",beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:process.env.NEXT_PUBLIC_80094_POL_SUBGRAPH??`${e}pol-subgraph/mainnet-1.7.0/gn`,bribeBoostApi:process.env.NEXT_PUBLIC_80094_INCENTIVES_API||"https://api-claim.berachain.com",bribeBoostApiKey:process.env.PRIVATE_80094_INCENTIVES_API_KEY??"",bgtIncentiveDistributor:"0x77DA09bC82652f9A14d1b170a001e759640298e6"},api:process.env.PRIVATE_80094_BEX_API_URL??process.env.NEXT_PUBLIC_80094_BEX_API_URL??"https://api.berachain.com",blocksSubgraph:process.env.NEXT_PUBLIC_80094_BLOCKS_SUBGRAPH??`${e}blocks-subgraph/mainnet-v1.1.0/gn`,bex:{chainName:"BERACHAIN",vault:"0x4Be03f781C497A489E3cB0287833452cA9B9E80B",helper:"0x5083737EC75a728c265BE578C9d0d5333a2c5951",queries:"0x3C612e132624f4Bd500eE1495F54565F0bcc9b59",relayer:"0x6044f181aB5E9C05A4ed9Ce295f3B178d2492EE7",factories:{composableStable:"0xDfA30BDa0375d4763711AB0CC8D91B20bfCC87E1",weighted:"0xa966fA8F2d5B087FFFA499C0C1240589371Af409"},poolCreationHelper:"0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2",subgraph:`${e}bex-subgraph/mainnet-1.0.3/gn`,aggregatorsRouter:"0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58",aggregatorsRouterExecutor:"0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8",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:"0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce"},hub:{name:"BeraHub",url:"https://hub.berachain.com"},foundation:{name:"Berachain Foundation",url:"https://www.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,beApiKey:process.env.PRIVATE_80094_BEX_API_KEY,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",whiskApiUrl:process.env.WHISK_API_URL??"https://berachain.whisk.so/graphql",whiskApiKey:process.env.WHISK_API_KEY??"",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)}},explore:{name:"Explore",url:"https://explore.berachain.com"},explorer:{name:"Berascan",url:"https://berascan.com"},chain:{name:process.env.NEXT_PUBLIC_CHAIN_NAME??"Berachain"}},t=a;export{a,t as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-2X5W4YR4.mjs";import{a as o}from"./chunk-TSH4FNVH.mjs";import{a as e}from"./chunk-CM7FGHYU.mjs";var c={80094:o,80069:a},r=c[e],s={apiKeys:{public:{dynamicWallet:process.env.NEXT_PUBLIC_DYNAMIC_API_KEY??"b8a5104d-47e0-4965-b56a-0bcc31cf56f4",thirdweb:process.env.NEXT_PUBLIC_THIRDWEB_CLIENT_ID??"fc597da15a06f1a6b42fae42112dd770",postHogProjectKey:"phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax",cookie3SiteId:process.env.NEXT_PUBLIC_COOKIE3_SITE_ID},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??process.env.NEXT_PUBLIC_ENSO_API_KEY??"3c1f3c7a-7ff7-4c5a-9a2b-79f50b5bfb4f",etherscan:process.env.ETHERSCAN_API_KEY}},addresses:{balancerDelegatedOwnership:"0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b",multicall:"0xcA11bde05977b3631167028862bE2a173976CA11"},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"},urls:{postHogApiHost:"https://eu.i.posthog.com",ghost:"https://berachain.ghost.io",cloudinary:"https://res.cloudinary.com/duv0g402y/image/upload/f_auto,q_auto/v1",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:{...r.bend,liquidationWarningLtvMargin:.05,maxBorrowLtvMargin:.05,publicAllocatorSupplyTargetUtilizationWad:BigInt(9e17),useProductionContracts:process.env.VERCEL_TARGET_ENV==="production"||process.env.NEXT_PUBLIC_BEND_USE_PRODUCTION_CONTRACTS==="true"}},t=process.env.NODE_ENV!=="development"||process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS!=="0"&&!!process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS,n={isPosthogEnabled:s.apiKeys.public.postHogProjectKey&&t,isCookie3Enabled:s.apiKeys.public.cookie3SiteId&&t,disallowIndexing:e!==80094&&e!==80069,hideCurator:!1},d={...r,...s,flags:n};export{c as a,d as b};
|
|
@@ -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 _chunkMHNEK2A2cjs = require('./chunk-MHNEK2A2.cjs');var _chunk32CWUFQYcjs = require('./chunk-32CWUFQY.cjs');var _chunk5Q5FZIMOcjs = require('./chunk-5Q5FZIMO.cjs');var c={80094:_chunk32CWUFQYcjs.a,80069:_chunkMHNEK2A2cjs.a},r=c[_chunk5Q5FZIMOcjs.a],s={apiKeys:{public:{dynamicWallet:_nullishCoalesce(process.env.NEXT_PUBLIC_DYNAMIC_API_KEY, () => ("b8a5104d-47e0-4965-b56a-0bcc31cf56f4")),thirdweb:_nullishCoalesce(process.env.NEXT_PUBLIC_THIRDWEB_CLIENT_ID, () => ("fc597da15a06f1a6b42fae42112dd770")),postHogProjectKey:"phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax",cookie3SiteId:process.env.NEXT_PUBLIC_COOKIE3_SITE_ID},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:_nullishCoalesce(_nullishCoalesce(process.env.ENSO_API_KEY, () => (process.env.NEXT_PUBLIC_ENSO_API_KEY)), () => ("3c1f3c7a-7ff7-4c5a-9a2b-79f50b5bfb4f")),etherscan:process.env.ETHERSCAN_API_KEY}},addresses:{balancerDelegatedOwnership:"0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b",multicall:"0xcA11bde05977b3631167028862bE2a173976CA11"},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"},urls:{postHogApiHost:"https://eu.i.posthog.com",ghost:"https://berachain.ghost.io",cloudinary:"https://res.cloudinary.com/duv0g402y/image/upload/f_auto,q_auto/v1",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:{...r.bend,liquidationWarningLtvMargin:.05,maxBorrowLtvMargin:.05,publicAllocatorSupplyTargetUtilizationWad:BigInt(9e17),useProductionContracts:process.env.VERCEL_TARGET_ENV==="production"||process.env.NEXT_PUBLIC_BEND_USE_PRODUCTION_CONTRACTS==="true"}},t=process.env.NODE_ENV!=="development"||process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS!=="0"&&!!process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS,n={isPosthogEnabled:s.apiKeys.public.postHogProjectKey&&t,isCookie3Enabled:s.apiKeys.public.cookie3SiteId&&t,disallowIndexing:_chunk5Q5FZIMOcjs.a!==80094&&_chunk5Q5FZIMOcjs.a!==80069,hideCurator:!1},d= exports.b ={...r,...s,flags:n};exports.a = c; exports.b = d;
|
|
@@ -30,10 +30,17 @@ type MixedBannerItem = BannerItemV2 | StandardBannerItem;
|
|
|
30
30
|
* Edge config schema. Please update this in the @berachain/config package first and keep it stored there.
|
|
31
31
|
*/
|
|
32
32
|
interface EdgeConfigSchema {
|
|
33
|
+
$schema?: string;
|
|
33
34
|
flags: {
|
|
34
35
|
[k: string]: DynamicEnabled;
|
|
35
36
|
};
|
|
36
|
-
bex
|
|
37
|
+
bex: {
|
|
38
|
+
/**
|
|
39
|
+
* An object of aggregators and their enabled status. The key is the aggregator name in lowercase and without spaces and must be in the Aggregators enum.
|
|
40
|
+
*/
|
|
41
|
+
aggregators?: {
|
|
42
|
+
[k: string]: DynamicEnabled;
|
|
43
|
+
};
|
|
37
44
|
/**
|
|
38
45
|
* Labels for the emergency messages and banners. (e.g. pool or vaults are paused)
|
|
39
46
|
*/
|
|
@@ -48,7 +55,10 @@ interface EdgeConfigSchema {
|
|
|
48
55
|
banner?: string;
|
|
49
56
|
};
|
|
50
57
|
};
|
|
51
|
-
|
|
58
|
+
/**
|
|
59
|
+
* If true, weighted pool creation will be disabled.
|
|
60
|
+
*/
|
|
61
|
+
disableWeightedPoolCreation?: boolean;
|
|
52
62
|
};
|
|
53
63
|
pol: {
|
|
54
64
|
/**
|
|
@@ -75,14 +85,6 @@ interface EdgeConfigSchema {
|
|
|
75
85
|
*/
|
|
76
86
|
swberaAprWindow?: "DAY" | "WEEK";
|
|
77
87
|
};
|
|
78
|
-
dex: {
|
|
79
|
-
/**
|
|
80
|
-
* An object of aggregators and their enabled status. The key is the aggregator name in lowercase and without spaces and must be in the Aggregators enum.
|
|
81
|
-
*/
|
|
82
|
-
aggregators?: {
|
|
83
|
-
[k: string]: DynamicEnabled;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
88
|
honey: {
|
|
87
89
|
/**
|
|
88
90
|
* Object containing the collateral order for mainnet & bepolia.
|
|
@@ -97,8 +99,12 @@ interface EdgeConfigSchema {
|
|
|
97
99
|
_label?: string;
|
|
98
100
|
}[];
|
|
99
101
|
};
|
|
102
|
+
/**
|
|
103
|
+
* The label for the Honey protocol paused message.
|
|
104
|
+
*/
|
|
105
|
+
pausedBannerLabel?: string;
|
|
100
106
|
};
|
|
101
|
-
|
|
107
|
+
banners: MixedBannerItem[];
|
|
102
108
|
maintenance?: {
|
|
103
109
|
/**
|
|
104
110
|
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
@@ -109,14 +115,16 @@ interface EdgeConfigSchema {
|
|
|
109
115
|
[k: string]: unknown;
|
|
110
116
|
};
|
|
111
117
|
};
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
wagmi: {
|
|
119
|
+
/**
|
|
120
|
+
* The list of external chains that are approved for multi chain zapping.
|
|
121
|
+
*/
|
|
122
|
+
externalChainList: {
|
|
123
|
+
chainId: number;
|
|
124
|
+
_name?: string;
|
|
125
|
+
enabled: DynamicEnabled;
|
|
126
|
+
}[];
|
|
127
|
+
};
|
|
120
128
|
}
|
|
121
129
|
interface VaultItem {
|
|
122
130
|
address: Address;
|
|
@@ -30,10 +30,17 @@ type MixedBannerItem = BannerItemV2 | StandardBannerItem;
|
|
|
30
30
|
* Edge config schema. Please update this in the @berachain/config package first and keep it stored there.
|
|
31
31
|
*/
|
|
32
32
|
interface EdgeConfigSchema {
|
|
33
|
+
$schema?: string;
|
|
33
34
|
flags: {
|
|
34
35
|
[k: string]: DynamicEnabled;
|
|
35
36
|
};
|
|
36
|
-
bex
|
|
37
|
+
bex: {
|
|
38
|
+
/**
|
|
39
|
+
* An object of aggregators and their enabled status. The key is the aggregator name in lowercase and without spaces and must be in the Aggregators enum.
|
|
40
|
+
*/
|
|
41
|
+
aggregators?: {
|
|
42
|
+
[k: string]: DynamicEnabled;
|
|
43
|
+
};
|
|
37
44
|
/**
|
|
38
45
|
* Labels for the emergency messages and banners. (e.g. pool or vaults are paused)
|
|
39
46
|
*/
|
|
@@ -48,7 +55,10 @@ interface EdgeConfigSchema {
|
|
|
48
55
|
banner?: string;
|
|
49
56
|
};
|
|
50
57
|
};
|
|
51
|
-
|
|
58
|
+
/**
|
|
59
|
+
* If true, weighted pool creation will be disabled.
|
|
60
|
+
*/
|
|
61
|
+
disableWeightedPoolCreation?: boolean;
|
|
52
62
|
};
|
|
53
63
|
pol: {
|
|
54
64
|
/**
|
|
@@ -75,14 +85,6 @@ interface EdgeConfigSchema {
|
|
|
75
85
|
*/
|
|
76
86
|
swberaAprWindow?: "DAY" | "WEEK";
|
|
77
87
|
};
|
|
78
|
-
dex: {
|
|
79
|
-
/**
|
|
80
|
-
* An object of aggregators and their enabled status. The key is the aggregator name in lowercase and without spaces and must be in the Aggregators enum.
|
|
81
|
-
*/
|
|
82
|
-
aggregators?: {
|
|
83
|
-
[k: string]: DynamicEnabled;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
88
|
honey: {
|
|
87
89
|
/**
|
|
88
90
|
* Object containing the collateral order for mainnet & bepolia.
|
|
@@ -97,8 +99,12 @@ interface EdgeConfigSchema {
|
|
|
97
99
|
_label?: string;
|
|
98
100
|
}[];
|
|
99
101
|
};
|
|
102
|
+
/**
|
|
103
|
+
* The label for the Honey protocol paused message.
|
|
104
|
+
*/
|
|
105
|
+
pausedBannerLabel?: string;
|
|
100
106
|
};
|
|
101
|
-
|
|
107
|
+
banners: MixedBannerItem[];
|
|
102
108
|
maintenance?: {
|
|
103
109
|
/**
|
|
104
110
|
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
@@ -109,14 +115,16 @@ interface EdgeConfigSchema {
|
|
|
109
115
|
[k: string]: unknown;
|
|
110
116
|
};
|
|
111
117
|
};
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
wagmi: {
|
|
119
|
+
/**
|
|
120
|
+
* The list of external chains that are approved for multi chain zapping.
|
|
121
|
+
*/
|
|
122
|
+
externalChainList: {
|
|
123
|
+
chainId: number;
|
|
124
|
+
_name?: string;
|
|
125
|
+
enabled: DynamicEnabled;
|
|
126
|
+
}[];
|
|
127
|
+
};
|
|
120
128
|
}
|
|
121
129
|
interface VaultItem {
|
|
122
130
|
address: Address;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkDMFHUBNYcjs = require('../../chunk-DMFHUBNY.cjs');require('../../chunk-5Q5FZIMO.cjs');require('../../chunk-2OLL4MUY.cjs');var _chunk4VDLQK6Fcjs = require('../../chunk-4VDLQK6F.cjs');var r={};_chunk4VDLQK6Fcjs.a.call(void 0, r,{enableBexFundsRecovery:()=>c,enableEip5792:()=>g,enableSimulateCalls:()=>u,hideStakeForSingleHolderVaults:()=>p,isBendNew:()=>x,isBendVaultDataHourly:()=>
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkDMFHUBNYcjs = require('../../chunk-DMFHUBNY.cjs');require('../../chunk-5Q5FZIMO.cjs');require('../../chunk-2OLL4MUY.cjs');var _chunk4VDLQK6Fcjs = require('../../chunk-4VDLQK6F.cjs');var r={};_chunk4VDLQK6Fcjs.a.call(void 0, r,{enableBexFundsRecovery:()=>c,enableEip5792:()=>g,enableSimulateCalls:()=>u,hideStakeForSingleHolderVaults:()=>p,isBendNew:()=>x,isBendVaultDataHourly:()=>h,isDefaultStakingPoolEnabled:()=>E,isEmbeddedWalletsEnabled:()=>f,isGovernanceEnabled:()=>s,isHoneyPythWrapperEnabled:()=>m,isMultiChainZapBendEnabled:()=>k,isPoolsMerged:()=>V,isRefundInExplorer:()=>b,proxyAggregatorsThroughVercel:()=>y});var _next = require('flags/next');var _edgeconfig = require('@flags-sdk/edge-config');function e(){let o=_edgeconfig.edgeConfigAdapter.call(void 0, );return{...o,async decide(l){let n=await o.decide(l);return _chunkDMFHUBNYcjs.a.call(void 0, n)}}}var s=_next.flag.call(void 0, {key:"isGovernanceEnabled",description:"Enable Governance proposals",defaultValue:!0,adapter:e()}),p=_next.flag.call(void 0, {key:"hideStakeForSingleHolderVaults",description:"Hide stake for single holder vaults",defaultValue:!0,adapter:e()}),u=_next.flag.call(void 0, {key:"enableSimulateCalls",description:"Controls the support of eth_simulateV1 from bera-reth/bera-geth",defaultValue:!1,adapter:e()}),c=_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()}),f=_next.flag.call(void 0, {key:"isEmbeddedWalletsEnabled",description:"Enable embedded wallets",defaultValue:!0,adapter:e()}),g=_next.flag.call(void 0, {key:"enableEip5792",description:"Enable EIP-5792 to allow batch transactions if wallet supports it",defaultValue:!0,adapter:e()}),y=_next.flag.call(void 0, {key:"proxyAggregatorsThroughVercel",description:"Proxy aggregators quotes through Vercel instead of proxy gateway",defaultValue:!1,adapter:e()}),E=_next.flag.call(void 0, {key:"isDefaultStakingPoolEnabled",description:"Enable default staking pools",defaultValue:!0,adapter:e()}),h=_next.flag.call(void 0, {key:"isBendVaultDataHourly",description:"Enable bend vault data to be fetched hourly",defaultValue:!0,adapter:e()}),m=_next.flag.call(void 0, {key:"isHoneyPythWrapperEnabled",description:"Update pyth prices when minting or redeeming Honey",defaultValue:!0,adapter:e()}),x=_next.flag.call(void 0, {key:"isBendNew",description:"Enable Bend live",defaultValue:!1,adapter:e()}),V=_next.flag.call(void 0, {key:"isPoolsMerged",description:"Enable Pools merged",defaultValue:!0,adapter:e()}),k=_next.flag.call(void 0, {key:"isMultiChainZapBendEnabled",description:"Enable multi chain zap for Bend",defaultValue:!1,adapter:e()});exports.flags = r;
|
|
@@ -17,6 +17,7 @@ declare const isBendVaultDataHourly: flags_next.Flag<boolean, any>;
|
|
|
17
17
|
declare const isHoneyPythWrapperEnabled: flags_next.Flag<boolean, any>;
|
|
18
18
|
declare const isBendNew: flags_next.Flag<boolean, any>;
|
|
19
19
|
declare const isPoolsMerged: flags_next.Flag<boolean, any>;
|
|
20
|
+
declare const isMultiChainZapBendEnabled: flags_next.Flag<boolean, any>;
|
|
20
21
|
|
|
21
22
|
declare const flags_enableBexFundsRecovery: typeof enableBexFundsRecovery;
|
|
22
23
|
declare const flags_enableEip5792: typeof enableEip5792;
|
|
@@ -28,11 +29,12 @@ declare const flags_isDefaultStakingPoolEnabled: typeof isDefaultStakingPoolEnab
|
|
|
28
29
|
declare const flags_isEmbeddedWalletsEnabled: typeof isEmbeddedWalletsEnabled;
|
|
29
30
|
declare const flags_isGovernanceEnabled: typeof isGovernanceEnabled;
|
|
30
31
|
declare const flags_isHoneyPythWrapperEnabled: typeof isHoneyPythWrapperEnabled;
|
|
32
|
+
declare const flags_isMultiChainZapBendEnabled: typeof isMultiChainZapBendEnabled;
|
|
31
33
|
declare const flags_isPoolsMerged: typeof isPoolsMerged;
|
|
32
34
|
declare const flags_isRefundInExplorer: typeof isRefundInExplorer;
|
|
33
35
|
declare const flags_proxyAggregatorsThroughVercel: typeof proxyAggregatorsThroughVercel;
|
|
34
36
|
declare namespace flags {
|
|
35
|
-
export { flags_enableBexFundsRecovery as enableBexFundsRecovery, flags_enableEip5792 as enableEip5792, flags_enableSimulateCalls as enableSimulateCalls, flags_hideStakeForSingleHolderVaults as hideStakeForSingleHolderVaults, flags_isBendNew as isBendNew, flags_isBendVaultDataHourly as isBendVaultDataHourly, flags_isDefaultStakingPoolEnabled as isDefaultStakingPoolEnabled, flags_isEmbeddedWalletsEnabled as isEmbeddedWalletsEnabled, flags_isGovernanceEnabled as isGovernanceEnabled, flags_isHoneyPythWrapperEnabled as isHoneyPythWrapperEnabled, flags_isPoolsMerged as isPoolsMerged, flags_isRefundInExplorer as isRefundInExplorer, flags_proxyAggregatorsThroughVercel as proxyAggregatorsThroughVercel };
|
|
37
|
+
export { flags_enableBexFundsRecovery as enableBexFundsRecovery, flags_enableEip5792 as enableEip5792, flags_enableSimulateCalls as enableSimulateCalls, flags_hideStakeForSingleHolderVaults as hideStakeForSingleHolderVaults, flags_isBendNew as isBendNew, flags_isBendVaultDataHourly as isBendVaultDataHourly, flags_isDefaultStakingPoolEnabled as isDefaultStakingPoolEnabled, flags_isEmbeddedWalletsEnabled as isEmbeddedWalletsEnabled, flags_isGovernanceEnabled as isGovernanceEnabled, flags_isHoneyPythWrapperEnabled as isHoneyPythWrapperEnabled, flags_isMultiChainZapBendEnabled as isMultiChainZapBendEnabled, flags_isPoolsMerged as isPoolsMerged, flags_isRefundInExplorer as isRefundInExplorer, flags_proxyAggregatorsThroughVercel as proxyAggregatorsThroughVercel };
|
|
36
38
|
}
|
|
37
39
|
|
|
38
40
|
export { flags };
|
|
@@ -17,6 +17,7 @@ declare const isBendVaultDataHourly: flags_next.Flag<boolean, any>;
|
|
|
17
17
|
declare const isHoneyPythWrapperEnabled: flags_next.Flag<boolean, any>;
|
|
18
18
|
declare const isBendNew: flags_next.Flag<boolean, any>;
|
|
19
19
|
declare const isPoolsMerged: flags_next.Flag<boolean, any>;
|
|
20
|
+
declare const isMultiChainZapBendEnabled: flags_next.Flag<boolean, any>;
|
|
20
21
|
|
|
21
22
|
declare const flags_enableBexFundsRecovery: typeof enableBexFundsRecovery;
|
|
22
23
|
declare const flags_enableEip5792: typeof enableEip5792;
|
|
@@ -28,11 +29,12 @@ declare const flags_isDefaultStakingPoolEnabled: typeof isDefaultStakingPoolEnab
|
|
|
28
29
|
declare const flags_isEmbeddedWalletsEnabled: typeof isEmbeddedWalletsEnabled;
|
|
29
30
|
declare const flags_isGovernanceEnabled: typeof isGovernanceEnabled;
|
|
30
31
|
declare const flags_isHoneyPythWrapperEnabled: typeof isHoneyPythWrapperEnabled;
|
|
32
|
+
declare const flags_isMultiChainZapBendEnabled: typeof isMultiChainZapBendEnabled;
|
|
31
33
|
declare const flags_isPoolsMerged: typeof isPoolsMerged;
|
|
32
34
|
declare const flags_isRefundInExplorer: typeof isRefundInExplorer;
|
|
33
35
|
declare const flags_proxyAggregatorsThroughVercel: typeof proxyAggregatorsThroughVercel;
|
|
34
36
|
declare namespace flags {
|
|
35
|
-
export { flags_enableBexFundsRecovery as enableBexFundsRecovery, flags_enableEip5792 as enableEip5792, flags_enableSimulateCalls as enableSimulateCalls, flags_hideStakeForSingleHolderVaults as hideStakeForSingleHolderVaults, flags_isBendNew as isBendNew, flags_isBendVaultDataHourly as isBendVaultDataHourly, flags_isDefaultStakingPoolEnabled as isDefaultStakingPoolEnabled, flags_isEmbeddedWalletsEnabled as isEmbeddedWalletsEnabled, flags_isGovernanceEnabled as isGovernanceEnabled, flags_isHoneyPythWrapperEnabled as isHoneyPythWrapperEnabled, flags_isPoolsMerged as isPoolsMerged, flags_isRefundInExplorer as isRefundInExplorer, flags_proxyAggregatorsThroughVercel as proxyAggregatorsThroughVercel };
|
|
37
|
+
export { flags_enableBexFundsRecovery as enableBexFundsRecovery, flags_enableEip5792 as enableEip5792, flags_enableSimulateCalls as enableSimulateCalls, flags_hideStakeForSingleHolderVaults as hideStakeForSingleHolderVaults, flags_isBendNew as isBendNew, flags_isBendVaultDataHourly as isBendVaultDataHourly, flags_isDefaultStakingPoolEnabled as isDefaultStakingPoolEnabled, flags_isEmbeddedWalletsEnabled as isEmbeddedWalletsEnabled, flags_isGovernanceEnabled as isGovernanceEnabled, flags_isHoneyPythWrapperEnabled as isHoneyPythWrapperEnabled, flags_isMultiChainZapBendEnabled as isMultiChainZapBendEnabled, flags_isPoolsMerged as isPoolsMerged, flags_isRefundInExplorer as isRefundInExplorer, flags_proxyAggregatorsThroughVercel as proxyAggregatorsThroughVercel };
|
|
36
38
|
}
|
|
37
39
|
|
|
38
40
|
export { flags };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t}from"../../chunk-D2FG64PF.mjs";import"../../chunk-CM7FGHYU.mjs";import"../../chunk-MS6UGFXI.mjs";import{a as d}from"../../chunk-JZXLCA2E.mjs";var r={};d(r,{enableBexFundsRecovery:()=>c,enableEip5792:()=>g,enableSimulateCalls:()=>u,hideStakeForSingleHolderVaults:()=>p,isBendNew:()=>x,isBendVaultDataHourly:()=>
|
|
1
|
+
import{a as t}from"../../chunk-D2FG64PF.mjs";import"../../chunk-CM7FGHYU.mjs";import"../../chunk-MS6UGFXI.mjs";import{a as d}from"../../chunk-JZXLCA2E.mjs";var r={};d(r,{enableBexFundsRecovery:()=>c,enableEip5792:()=>g,enableSimulateCalls:()=>u,hideStakeForSingleHolderVaults:()=>p,isBendNew:()=>x,isBendVaultDataHourly:()=>h,isDefaultStakingPoolEnabled:()=>E,isEmbeddedWalletsEnabled:()=>f,isGovernanceEnabled:()=>s,isHoneyPythWrapperEnabled:()=>m,isMultiChainZapBendEnabled:()=>k,isPoolsMerged:()=>V,isRefundInExplorer:()=>b,proxyAggregatorsThroughVercel:()=>y});import{flag as a}from"flags/next";import{edgeConfigAdapter as i}from"@flags-sdk/edge-config";function e(){let o=i();return{...o,async decide(l){let n=await o.decide(l);return t(n)}}}var s=a({key:"isGovernanceEnabled",description:"Enable Governance proposals",defaultValue:!0,adapter:e()}),p=a({key:"hideStakeForSingleHolderVaults",description:"Hide stake for single holder vaults",defaultValue:!0,adapter:e()}),u=a({key:"enableSimulateCalls",description:"Controls the support of eth_simulateV1 from bera-reth/bera-geth",defaultValue:!1,adapter:e()}),c=a({key:"enableBexFundsRecovery",description:"Enable BEX funds recovery",defaultValue:!0,adapter:e()}),b=a({key:"isRefundInExplorer",description:"Show Refund link in the Explorer dropdown",defaultValue:!1,adapter:e()}),f=a({key:"isEmbeddedWalletsEnabled",description:"Enable embedded wallets",defaultValue:!0,adapter:e()}),g=a({key:"enableEip5792",description:"Enable EIP-5792 to allow batch transactions if wallet supports it",defaultValue:!0,adapter:e()}),y=a({key:"proxyAggregatorsThroughVercel",description:"Proxy aggregators quotes through Vercel instead of proxy gateway",defaultValue:!1,adapter:e()}),E=a({key:"isDefaultStakingPoolEnabled",description:"Enable default staking pools",defaultValue:!0,adapter:e()}),h=a({key:"isBendVaultDataHourly",description:"Enable bend vault data to be fetched hourly",defaultValue:!0,adapter:e()}),m=a({key:"isHoneyPythWrapperEnabled",description:"Update pyth prices when minting or redeeming Honey",defaultValue:!0,adapter:e()}),x=a({key:"isBendNew",description:"Enable Bend live",defaultValue:!1,adapter:e()}),V=a({key:"isPoolsMerged",description:"Enable Pools merged",defaultValue:!0,adapter:e()}),k=a({key:"isMultiChainZapBendEnabled",description:"Enable multi chain zap for Bend",defaultValue:!1,adapter:e()});export{r as flags};
|
|
@@ -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 _chunk3LFM4QG6cjs = require('../chunk-3LFM4QG6.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 _chunk3LFM4QG6cjs = require('../chunk-3LFM4QG6.cjs');var _chunkWNGB3G3Vcjs = require('../chunk-WNGB3G3V.cjs');require('../chunk-MHNEK2A2.cjs');require('../chunk-32CWUFQY.cjs');var _chunkZYHYMHGNcjs = require('../chunk-ZYHYMHGN.cjs');require('../chunk-5Q5FZIMO.cjs');require('../chunk-2OLL4MUY.cjs');require('../chunk-4VDLQK6F.cjs');function b({dsn:e=process.env.NEXT_PUBLIC_SENTRY_DSN}={}){if(!e)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,s=_optionalChain([e, 'optionalAccess', _ => _.match, 'call', _2 => _2(n)]);if(!s)return;let[,o,c,r,p]=s,i=new URL(`https://${r}.ingest.us.sentry.io/api/${p}/security/?sentry_key=${o}`);return i.searchParams.set("sentry_key",o),i.searchParams.set("sentry_env",_chunk3LFM4QG6cjs.a),i.searchParams.set("sentry_release",_chunk3LFM4QG6cjs.c),{dsn:s[0],projectId:p,deprecatedSecret:c||void 0,cspEndpoint:i,org:r,publicKey:s[1]}}function v({isDevelopment:e,nonce:n,cspReporting:s,...o}){let c=["https://*.dynamic-static-assets.com/","https://app.dynamicauth.com/api/"],r=["https://*.sentry.io/","https://*.berachain.com/","https://*.berachain-staging.com/","wss://www.walletlink.org/rpc",`https://*.dynamicauth.com/api/v0/sdk/${_chunkWNGB3G3Vcjs.b.apiKeys.public.dynamicWallet}/`,`https://logs.dynamicauth.com/api/v1/${_chunkWNGB3G3Vcjs.b.apiKeys.public.dynamicWallet}`,"https://dynamic-static-assets.com/wallet-book/v1/","https://*.thirdweb.com/","https://raw.githubusercontent.com/berachain/metadata/",_chunkZYHYMHGNcjs.a,"https://*.bera-network.quiknode.pro","https://*.bepolia-network.quiknode.pro","https://*.bera-mainnet.quiknode.pro","https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/",_chunkZYHYMHGNcjs.b,_chunkWNGB3G3Vcjs.b.governance.subgraph,_chunkWNGB3G3Vcjs.b.honey.subgraph,_chunkWNGB3G3Vcjs.b.pol.subgraph,_chunkWNGB3G3Vcjs.b.pol.bribeBoostApi,_chunkWNGB3G3Vcjs.b.bex.subgraph,_chunkWNGB3G3Vcjs.b.api,_chunkWNGB3G3Vcjs.b.blocksSubgraph,_chunkZYHYMHGNcjs.e,_chunkZYHYMHGNcjs.d,_chunkZYHYMHGNcjs.f,"https://open-api.openocean.finance/","https://api.haiku.trade/","https://api.magpiefi.xyz/",`${_chunkWNGB3G3Vcjs.b.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"].concat(_nullishCoalesce(o.connectionSources, () => ([]))).filter(a=>!(!a||a.trim()===""||a.startsWith(_chunkZYHYMHGNcjs.b)&&a!==_chunkZYHYMHGNcjs.b)),p=[_chunkZYHYMHGNcjs.a,"https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://coin-images.coingecko.com/coins/images/","https://iconic.dynamic-static-assets.com/","https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/","https://icons.llama.fi/","https://icons.llamao.fi/","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(o.pictureSources, () => ([]))).filter(a=>!(!a||a.trim()==="")),i=["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(o.frameSources, () => ([]))),w=["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(o.fontSources, () => ([]))),k=["https://*.posthog.com","https://vercel.live"].concat(_nullishCoalesce(o.styleSources, () => ([]))),m=`
|
|
2
2
|
default-src 'self' ${c.join(" ")};
|
|
3
3
|
base-uri 'self';
|
|
4
4
|
frame-src 'self' ${i.join(" ")};
|
|
5
5
|
frame-ancestors 'self' https://*.posthog.com;
|
|
6
6
|
script-src 'self' 'sha256-k2HGvaYkGyYZxOwKGxgE1mr06tZEDcEXNZ5mdcldK0o=' 'nonce-${n}' https://*.posthog.com 'strict-dynamic' ${e?"'unsafe-eval'":""};
|
|
7
7
|
worker-src 'self' blob: data:;
|
|
8
|
-
font-src 'self' ${
|
|
9
|
-
style-src 'self' ${
|
|
8
|
+
font-src 'self' ${w.join(" ")};
|
|
9
|
+
style-src 'self' ${k.join(" ")} 'unsafe-inline';
|
|
10
10
|
img-src 'self' data: ${p.join(" ")};
|
|
11
11
|
connect-src 'self' ${r.join(" ")};
|
|
12
12
|
media-src https://*.posthog.com;
|
|
13
|
-
`;return s&&(
|
|
13
|
+
`;return s&&(m+=`
|
|
14
14
|
report-uri ${s};
|
|
15
15
|
report-to csp-endpoint;
|
|
16
|
-
`),
|
|
16
|
+
`),m.replace(/\s{2,}/g," ").trim()}var N=[_chunkZYHYMHGNcjs.a,"https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://iconic.dynamic-static-assets.com/","https://berachain.ghost.io/content/images/"].filter(e=>!(!e||e.trim()===""));function z({response:e}){let n=_optionalChain([b, 'call', _3 => _3(), 'optionalAccess', _4 => _4.cspEndpoint]),s=Buffer.from(crypto.randomUUID()).toString("base64"),o=process.env.NODE_ENV==="development",c=[{key:"Content-Security-Policy",value:v({isDevelopment:o,cspReporting:_optionalChain([n, 'optionalAccess', _5 => _5.toString, 'call', _6 => _6()]),nonce:s})},{key:"X-Frame-Options",value:"DENY"},{key:"X-Content-Type-Options",value:"nosniff"},{key:"X-Nonce",value:s}];n&&(c.push({key:"Reporting-To",value:`{"group":"csp-endpoint","max_age":10886400,"endpoints":[{"url":"${n}"}],"include_subdomains":true}"`}),c.push({key:"Reporting-Endpoints",value:`csp-endpoint="${n}"`}));for(let r of c)e.headers.set(r.key,r.value);return e}exports.cspMiddleware = z; exports.getContentSecurityPolicy = v; exports.staticPictureSources = N;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as y,c as f}from"../chunk-XTBMK2TL.mjs";import{b as t}from"../chunk-WKOAF2ML.mjs";import"../chunk-2X5W4YR4.mjs";import"../chunk-TSH4FNVH.mjs";import{a as h,b as l,d as u,e as d,f as g}from"../chunk-YUUHPTW6.mjs";import"../chunk-CM7FGHYU.mjs";import"../chunk-MS6UGFXI.mjs";import"../chunk-JZXLCA2E.mjs";function b({dsn:e=process.env.NEXT_PUBLIC_SENTRY_DSN}={}){if(!e)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,s=e?.match(n);if(!s)return;let[,o,c,r,p]=s,i=new URL(`https://${r}.ingest.us.sentry.io/api/${p}/security/?sentry_key=${o}`);return i.searchParams.set("sentry_key",o),i.searchParams.set("sentry_env",y),i.searchParams.set("sentry_release",f),{dsn:s[0],projectId:p,deprecatedSecret:c||void 0,cspEndpoint:i,org:r,publicKey:s[1]}}function v({isDevelopment:e,nonce:n,cspReporting:s,...o}){let c=["https://*.dynamic-static-assets.com/","https://app.dynamicauth.com/api/"],r=["https://*.sentry.io/","https://*.berachain.com/","https://*.berachain-staging.com/","wss://www.walletlink.org/rpc",`https://*.dynamicauth.com/api/v0/sdk/${t.apiKeys.public.dynamicWallet}/`,`https://logs.dynamicauth.com/api/v1/${t.apiKeys.public.dynamicWallet}`,"https://dynamic-static-assets.com/wallet-book/v1/","https://*.thirdweb.com/","https://raw.githubusercontent.com/berachain/metadata/",h,"https://*.bera-network.quiknode.pro","https://*.bepolia-network.quiknode.pro","https://*.bera-mainnet.quiknode.pro","https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/",l,t.governance.subgraph,t.honey.subgraph,t.pol.subgraph,t.pol.bribeBoostApi,t.bex.subgraph,t.api,t.blocksSubgraph,d,u,g,"https://open-api.openocean.finance/","https://api.haiku.trade/","https://api.magpiefi.xyz/",`${t.bex.aggregatorsProxyUrl}/`,"wss://relay.walletconnect.com/","wss://relay.walletconnect.org/","https://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"].concat(o.connectionSources??[]).filter(a=>!(!a||a.trim()===""||a.startsWith(l)&&a!==l)),p=[h,"https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://coin-images.coingecko.com/coins/images/","https://iconic.dynamic-static-assets.com/","https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/","https://icons.llama.fi/","https://icons.llamao.fi/","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(o.pictureSources??[]).filter(a=>!(!a||a.trim()==="")),i=["https://verify.walletconnect.com/","https://verify.walletconnect.org/","https://embedded-wallet.thirdweb.com/","https://*.posthog.com","https://vercel.live/","https://id.porto.sh"].concat(o.frameSources??[]),w=["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(o.fontSources??[]),k=["https://*.posthog.com","https://vercel.live"].concat(o.styleSources??[]),m=`
|
|
2
2
|
default-src 'self' ${c.join(" ")};
|
|
3
3
|
base-uri 'self';
|
|
4
4
|
frame-src 'self' ${i.join(" ")};
|
|
5
5
|
frame-ancestors 'self' https://*.posthog.com;
|
|
6
6
|
script-src 'self' 'sha256-k2HGvaYkGyYZxOwKGxgE1mr06tZEDcEXNZ5mdcldK0o=' 'nonce-${n}' https://*.posthog.com 'strict-dynamic' ${e?"'unsafe-eval'":""};
|
|
7
7
|
worker-src 'self' blob: data:;
|
|
8
|
-
font-src 'self' ${
|
|
9
|
-
style-src 'self' ${
|
|
8
|
+
font-src 'self' ${w.join(" ")};
|
|
9
|
+
style-src 'self' ${k.join(" ")} 'unsafe-inline';
|
|
10
10
|
img-src 'self' data: ${p.join(" ")};
|
|
11
11
|
connect-src 'self' ${r.join(" ")};
|
|
12
12
|
media-src https://*.posthog.com;
|
|
13
|
-
`;return s&&(
|
|
13
|
+
`;return s&&(m+=`
|
|
14
14
|
report-uri ${s};
|
|
15
15
|
report-to csp-endpoint;
|
|
16
|
-
`),
|
|
16
|
+
`),m.replace(/\s{2,}/g," ").trim()}var N=[h,"https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://iconic.dynamic-static-assets.com/","https://berachain.ghost.io/content/images/"].filter(e=>!(!e||e.trim()===""));function z({response:e}){let n=b()?.cspEndpoint,s=Buffer.from(crypto.randomUUID()).toString("base64"),o=process.env.NODE_ENV==="development",c=[{key:"Content-Security-Policy",value:v({isDevelopment:o,cspReporting:n?.toString(),nonce:s})},{key:"X-Frame-Options",value:"DENY"},{key:"X-Content-Type-Options",value:"nosniff"},{key:"X-Nonce",value:s}];n&&(c.push({key:"Reporting-To",value:`{"group":"csp-endpoint","max_age":10886400,"endpoints":[{"url":"${n}"}],"include_subdomains":true}"`}),c.push({key:"Reporting-Endpoints",value:`csp-endpoint="${n}"`}));for(let r of c)e.headers.set(r.key,r.value);return e}export{z as cspMiddleware,v as getContentSecurityPolicy,N 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 _chunkWNGB3G3Vcjs = require('../chunk-WNGB3G3V.cjs');require('../chunk-MHNEK2A2.cjs');require('../chunk-32CWUFQY.cjs');var _chunkZYHYMHGNcjs = require('../chunk-ZYHYMHGN.cjs');var _chunk5Q5FZIMOcjs = require('../chunk-5Q5FZIMO.cjs');var _chunk2OLL4MUYcjs = require('../chunk-2OLL4MUY.cjs');require('../chunk-4VDLQK6F.cjs');exports.ChainId = _chunk2OLL4MUYcjs.a; exports.alchemyJsonRpcUrl = _chunkZYHYMHGNcjs.f; exports.chainConfigs = _chunkWNGB3G3Vcjs.a; exports.chainId = _chunk5Q5FZIMOcjs.a; exports.cloudinaryBaseUrl = _chunkZYHYMHGNcjs.a; exports.config = _chunkWNGB3G3Vcjs.b; exports.currentDapp = _chunk5Q5FZIMOcjs.b; exports.defaultChainId = _chunk5Q5FZIMOcjs.a; exports.getRpcUrls = _chunkZYHYMHGNcjs.c; exports.goldskyBaseUrl = _chunkZYHYMHGNcjs.b; exports.jsonRpcUrl = _chunkZYHYMHGNcjs.e; exports.privateRcpUrl = _chunkZYHYMHGNcjs.g; exports.publicJsonRpcUrl = _chunkZYHYMHGNcjs.d;
|
|
@@ -70,7 +70,7 @@ declare const chainConfigs: {
|
|
|
70
70
|
readonly weighted: "0xa966fA8F2d5B087FFFA499C0C1240589371Af409";
|
|
71
71
|
};
|
|
72
72
|
readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
|
|
73
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-
|
|
73
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-1.0.3/gn";
|
|
74
74
|
readonly aggregatorsRouter: "0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58";
|
|
75
75
|
readonly aggregatorsRouterExecutor: "0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8";
|
|
76
76
|
readonly aggregatorsProxyUrl: string;
|
|
@@ -192,7 +192,7 @@ declare const chainConfigs: {
|
|
|
192
192
|
readonly weighted: "0xf1d23276C7b271B2aC595C78977b2312E9954D57";
|
|
193
193
|
};
|
|
194
194
|
readonly poolCreationHelper: "0x0dC9964F6CA33d9EF38DEB4925234766127C6B36";
|
|
195
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-
|
|
195
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-1.0.3/gn";
|
|
196
196
|
readonly aggregatorsRouter: "0x0000000000000000000000000000000000000000";
|
|
197
197
|
readonly aggregatorsRouterExecutor: "0x0000000000000000000000000000000000000000";
|
|
198
198
|
readonly aggregatorsProxyUrl: string;
|
|
@@ -300,6 +300,11 @@ declare const config: {
|
|
|
300
300
|
* Please create your own API key and add it to your .env.local file
|
|
301
301
|
*/
|
|
302
302
|
readonly dynamicWallet: string;
|
|
303
|
+
/**
|
|
304
|
+
* This is only going to work on whitelisted domains.
|
|
305
|
+
* Please create your own API key and add it to your .env.local file
|
|
306
|
+
*/
|
|
307
|
+
readonly thirdweb: string;
|
|
303
308
|
readonly postHogProjectKey: "phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax";
|
|
304
309
|
readonly cookie3SiteId: string;
|
|
305
310
|
};
|
|
@@ -500,7 +505,7 @@ declare const config: {
|
|
|
500
505
|
readonly weighted: "0xa966fA8F2d5B087FFFA499C0C1240589371Af409";
|
|
501
506
|
};
|
|
502
507
|
readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
|
|
503
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-
|
|
508
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-1.0.3/gn";
|
|
504
509
|
readonly aggregatorsRouter: "0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58";
|
|
505
510
|
readonly aggregatorsRouterExecutor: "0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8";
|
|
506
511
|
readonly aggregatorsProxyUrl: string;
|
|
@@ -582,6 +587,11 @@ declare const config: {
|
|
|
582
587
|
* Please create your own API key and add it to your .env.local file
|
|
583
588
|
*/
|
|
584
589
|
readonly dynamicWallet: string;
|
|
590
|
+
/**
|
|
591
|
+
* This is only going to work on whitelisted domains.
|
|
592
|
+
* Please create your own API key and add it to your .env.local file
|
|
593
|
+
*/
|
|
594
|
+
readonly thirdweb: string;
|
|
585
595
|
readonly postHogProjectKey: "phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax";
|
|
586
596
|
readonly cookie3SiteId: string;
|
|
587
597
|
};
|
|
@@ -782,7 +792,7 @@ declare const config: {
|
|
|
782
792
|
readonly weighted: "0xf1d23276C7b271B2aC595C78977b2312E9954D57";
|
|
783
793
|
};
|
|
784
794
|
readonly poolCreationHelper: "0x0dC9964F6CA33d9EF38DEB4925234766127C6B36";
|
|
785
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-
|
|
795
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-1.0.3/gn";
|
|
786
796
|
readonly aggregatorsRouter: "0x0000000000000000000000000000000000000000";
|
|
787
797
|
readonly aggregatorsRouterExecutor: "0x0000000000000000000000000000000000000000";
|
|
788
798
|
readonly aggregatorsProxyUrl: string;
|
package/dist/internal/index.d.ts
CHANGED
|
@@ -70,7 +70,7 @@ declare const chainConfigs: {
|
|
|
70
70
|
readonly weighted: "0xa966fA8F2d5B087FFFA499C0C1240589371Af409";
|
|
71
71
|
};
|
|
72
72
|
readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
|
|
73
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-
|
|
73
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-1.0.3/gn";
|
|
74
74
|
readonly aggregatorsRouter: "0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58";
|
|
75
75
|
readonly aggregatorsRouterExecutor: "0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8";
|
|
76
76
|
readonly aggregatorsProxyUrl: string;
|
|
@@ -192,7 +192,7 @@ declare const chainConfigs: {
|
|
|
192
192
|
readonly weighted: "0xf1d23276C7b271B2aC595C78977b2312E9954D57";
|
|
193
193
|
};
|
|
194
194
|
readonly poolCreationHelper: "0x0dC9964F6CA33d9EF38DEB4925234766127C6B36";
|
|
195
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-
|
|
195
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-1.0.3/gn";
|
|
196
196
|
readonly aggregatorsRouter: "0x0000000000000000000000000000000000000000";
|
|
197
197
|
readonly aggregatorsRouterExecutor: "0x0000000000000000000000000000000000000000";
|
|
198
198
|
readonly aggregatorsProxyUrl: string;
|
|
@@ -300,6 +300,11 @@ declare const config: {
|
|
|
300
300
|
* Please create your own API key and add it to your .env.local file
|
|
301
301
|
*/
|
|
302
302
|
readonly dynamicWallet: string;
|
|
303
|
+
/**
|
|
304
|
+
* This is only going to work on whitelisted domains.
|
|
305
|
+
* Please create your own API key and add it to your .env.local file
|
|
306
|
+
*/
|
|
307
|
+
readonly thirdweb: string;
|
|
303
308
|
readonly postHogProjectKey: "phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax";
|
|
304
309
|
readonly cookie3SiteId: string;
|
|
305
310
|
};
|
|
@@ -500,7 +505,7 @@ declare const config: {
|
|
|
500
505
|
readonly weighted: "0xa966fA8F2d5B087FFFA499C0C1240589371Af409";
|
|
501
506
|
};
|
|
502
507
|
readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
|
|
503
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-
|
|
508
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-1.0.3/gn";
|
|
504
509
|
readonly aggregatorsRouter: "0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58";
|
|
505
510
|
readonly aggregatorsRouterExecutor: "0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8";
|
|
506
511
|
readonly aggregatorsProxyUrl: string;
|
|
@@ -582,6 +587,11 @@ declare const config: {
|
|
|
582
587
|
* Please create your own API key and add it to your .env.local file
|
|
583
588
|
*/
|
|
584
589
|
readonly dynamicWallet: string;
|
|
590
|
+
/**
|
|
591
|
+
* This is only going to work on whitelisted domains.
|
|
592
|
+
* Please create your own API key and add it to your .env.local file
|
|
593
|
+
*/
|
|
594
|
+
readonly thirdweb: string;
|
|
585
595
|
readonly postHogProjectKey: "phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax";
|
|
586
596
|
readonly cookie3SiteId: string;
|
|
587
597
|
};
|
|
@@ -782,7 +792,7 @@ declare const config: {
|
|
|
782
792
|
readonly weighted: "0xf1d23276C7b271B2aC595C78977b2312E9954D57";
|
|
783
793
|
};
|
|
784
794
|
readonly poolCreationHelper: "0x0dC9964F6CA33d9EF38DEB4925234766127C6B36";
|
|
785
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-
|
|
795
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-1.0.3/gn";
|
|
786
796
|
readonly aggregatorsRouter: "0x0000000000000000000000000000000000000000";
|
|
787
797
|
readonly aggregatorsRouterExecutor: "0x0000000000000000000000000000000000000000";
|
|
788
798
|
readonly aggregatorsProxyUrl: string;
|
package/dist/internal/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as k,b as l}from"../chunk-
|
|
1
|
+
import{a as k,b as l}from"../chunk-WKOAF2ML.mjs";import"../chunk-2X5W4YR4.mjs";import"../chunk-TSH4FNVH.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-YUUHPTW6.mjs";import{a as b,b as c}from"../chunk-CM7FGHYU.mjs";import{a}from"../chunk-MS6UGFXI.mjs";import"../chunk-JZXLCA2E.mjs";export{a as ChainId,i as alchemyJsonRpcUrl,k as chainConfigs,b as chainId,d as cloudinaryBaseUrl,l as config,c as currentDapp,b as defaultChainId,f as getRpcUrls,e as goldskyBaseUrl,h as jsonRpcUrl,j as privateRcpUrl,g as publicJsonRpcUrl};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkOQFLFE3Xcjs = require('../../../chunk-OQFLFE3X.cjs');require('../../../chunk-4VDLQK6F.cjs');function a(t){let e=t.replace(/([.+?^=!:${}()|[\]/\\])/g,"\\$1");return e=e.replace(/\*\*/g,"___DOUBLE_STAR___"),e=e.replace(/\*/g,"[^/]+"),e=e.replace(/___DOUBLE_STAR___/g,".*"),e.startsWith("^")||(e
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkOQFLFE3Xcjs = require('../../../chunk-OQFLFE3X.cjs');require('../../../chunk-4VDLQK6F.cjs');function a(t){let e=t.replace(/([.+?^=!:${}()|[\]/\\])/g,"\\$1");return e=e.replace(/\*\*/g,"___DOUBLE_STAR___"),e=e.replace(/\*/g,"[^/]+"),e=e.replace(/___DOUBLE_STAR___/g,".*"),e.startsWith("^")||(e=`^${e}`),e.endsWith("$")||(e=`${e}$`),new RegExp(e)}var o=t=>t.replace(/^https?:\/\//,"");function i(t){try{if(!t)return!1;let e=new URL(t);for(let n of _chunkOQFLFE3Xcjs.a){if(n.protocol&&e.protocol.replace(":","")!==n.protocol||o(e.hostname)!==o(n.hostname))continue;if(!n.pathname||a(n.pathname).test(e.pathname))return!0}return!1}catch (e2){return!1}}exports.isAllowedImageUrl = i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"../../../chunk-JVJKB7V7.mjs";import"../../../chunk-JZXLCA2E.mjs";function a(t){let e=t.replace(/([.+?^=!:${}()|[\]/\\])/g,"\\$1");return e=e.replace(/\*\*/g,"___DOUBLE_STAR___"),e=e.replace(/\*/g,"[^/]+"),e=e.replace(/___DOUBLE_STAR___/g,".*"),e.startsWith("^")||(e
|
|
1
|
+
import{a as r}from"../../../chunk-JVJKB7V7.mjs";import"../../../chunk-JZXLCA2E.mjs";function a(t){let e=t.replace(/([.+?^=!:${}()|[\]/\\])/g,"\\$1");return e=e.replace(/\*\*/g,"___DOUBLE_STAR___"),e=e.replace(/\*/g,"[^/]+"),e=e.replace(/___DOUBLE_STAR___/g,".*"),e.startsWith("^")||(e=`^${e}`),e.endsWith("$")||(e=`${e}$`),new RegExp(e)}var o=t=>t.replace(/^https?:\/\//,"");function i(t){try{if(!t)return!1;let e=new URL(t);for(let n of r){if(n.protocol&&e.protocol.replace(":","")!==n.protocol||o(e.hostname)!==o(n.hostname))continue;if(!n.pathname||a(n.pathname).test(e.pathname))return!0}return!1}catch{return!1}}export{i as isAllowedImageUrl};
|
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 _chunk32CWUFQYcjs = require('./chunk-32CWUFQY.cjs');require('./chunk-ZYHYMHGN.cjs');require('./chunk-5Q5FZIMO.cjs');require('./chunk-2OLL4MUY.cjs');require('./chunk-4VDLQK6F.cjs');exports.default = _chunk32CWUFQYcjs.b; exports.mainnet = _chunk32CWUFQYcjs.a;
|
package/dist/mainnet.d.cts
CHANGED
|
@@ -30,7 +30,7 @@ declare const mainnet: {
|
|
|
30
30
|
readonly weighted: "0xa966fA8F2d5B087FFFA499C0C1240589371Af409";
|
|
31
31
|
};
|
|
32
32
|
readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
|
|
33
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-
|
|
33
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-1.0.3/gn";
|
|
34
34
|
readonly aggregatorsRouter: "0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58";
|
|
35
35
|
readonly aggregatorsRouterExecutor: "0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8";
|
|
36
36
|
readonly aggregatorsProxyUrl: string;
|
package/dist/mainnet.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ declare const mainnet: {
|
|
|
30
30
|
readonly weighted: "0xa966fA8F2d5B087FFFA499C0C1240589371Af409";
|
|
31
31
|
};
|
|
32
32
|
readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
|
|
33
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-
|
|
33
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-1.0.3/gn";
|
|
34
34
|
readonly aggregatorsRouter: "0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58";
|
|
35
35
|
readonly aggregatorsRouterExecutor: "0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8";
|
|
36
36
|
readonly aggregatorsProxyUrl: string;
|
package/dist/mainnet.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"./chunk-
|
|
1
|
+
import{a,b}from"./chunk-TSH4FNVH.mjs";import"./chunk-YUUHPTW6.mjs";import"./chunk-CM7FGHYU.mjs";import"./chunk-MS6UGFXI.mjs";import"./chunk-JZXLCA2E.mjs";export{b as default,a as mainnet};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@berachain/config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@flags-sdk/edge-config": "0.1.0",
|
|
12
|
-
"@sentry/nextjs": "10.
|
|
12
|
+
"@sentry/nextjs": "10.27.0",
|
|
13
13
|
"@tailwindcss/aspect-ratio": "0.4.2",
|
|
14
14
|
"@tailwindcss/container-queries": "0.1.1",
|
|
15
15
|
"@tailwindcss/typography": "0.5.16",
|
package/dist/chunk-6CMG5CBG.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 _chunkZYHYMHGNcjs = require('./chunk-ZYHYMHGN.cjs');var a={tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x0555E30da8f98308EdB960aa94C0Db47230d2B9c",weth:"0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590"},depositContract:"0x4242424242424242424242424242424242424242",pol:{rewardVaultHelper:"0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2",beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_POL_SUBGRAPH, () => (`${_chunkZYHYMHGNcjs.b}pol-subgraph/mainnet-1.7.0/gn`)),bribeBoostApi:process.env.NEXT_PUBLIC_80094_INCENTIVES_API||"https://api-claim.berachain.com",bribeBoostApiKey:_nullishCoalesce(process.env.PRIVATE_80094_INCENTIVES_API_KEY, () => ("")),bgtIncentiveDistributor:"0x77DA09bC82652f9A14d1b170a001e759640298e6"},api:_nullishCoalesce(_nullishCoalesce(process.env.PRIVATE_80094_BEX_API_URL, () => (process.env.NEXT_PUBLIC_80094_BEX_API_URL)), () => ("https://api.berachain.com")),blocksSubgraph:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_BLOCKS_SUBGRAPH, () => (`${_chunkZYHYMHGNcjs.b}blocks-subgraph/mainnet-v1.1.0/gn`)),bex:{chainName:"BERACHAIN",vault:"0x4Be03f781C497A489E3cB0287833452cA9B9E80B",helper:"0x5083737EC75a728c265BE578C9d0d5333a2c5951",queries:"0x3C612e132624f4Bd500eE1495F54565F0bcc9b59",relayer:"0x6044f181aB5E9C05A4ed9Ce295f3B178d2492EE7",factories:{composableStable:"0xDfA30BDa0375d4763711AB0CC8D91B20bfCC87E1",weighted:"0xa966fA8F2d5B087FFFA499C0C1240589371Af409"},poolCreationHelper:"0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2",subgraph:`${_chunkZYHYMHGNcjs.b}bex-subgraph/mainnet-v1.0.2/gn`,aggregatorsRouter:"0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58",aggregatorsRouterExecutor:"0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8",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, () => (`${_chunkZYHYMHGNcjs.b}honey-subgraph/mainnet-v1.2.1/gn`)),factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythOracle:"0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943",pythWrapper:"0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce"},hub:{name:"BeraHub",url:"https://hub.berachain.com"},foundation:{name:"Berachain Foundation",url:"https://www.berachain.com"},governance:{governor:"0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5",timelock:"0xb5f2000b5744f207c931526cAE2134cAa8b6862a",subgraph:`${_chunkZYHYMHGNcjs.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,beApiKey:process.env.PRIVATE_80094_BEX_API_KEY,bridge:{name:"BeraBridge",url:"https://bridge.berachain.com",nft:{name:"BeraBridge NFT",url:"https://nftbridge.berachain.com",eth:{subgraph:`${_chunkZYHYMHGNcjs.b}nft-bridge-subgraph/eth-v1.0.0-beta1/gn`},berachain:{subgraph:`${_chunkZYHYMHGNcjs.b}nft-bridge-subgraph/mainnet-v1.0.0-beta1/gn`}}},bend:{name:"Bend",url:"https://bend.berachain.com",whiskApiUrl:_nullishCoalesce(process.env.WHISK_API_URL, () => ("https://berachain.whisk.so/graphql")),whiskApiKey:_nullishCoalesce(process.env.WHISK_API_KEY, () => ("")),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)}},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"))}},t= exports.b =a;exports.a = a; exports.b = t;
|
package/dist/chunk-BQFHWAJZ.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e}from"./chunk-YUUHPTW6.mjs";var a={tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x0555E30da8f98308EdB960aa94C0Db47230d2B9c",weth:"0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590"},depositContract:"0x4242424242424242424242424242424242424242",pol:{rewardVaultHelper:"0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2",beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:process.env.NEXT_PUBLIC_80094_POL_SUBGRAPH??`${e}pol-subgraph/mainnet-1.7.0/gn`,bribeBoostApi:process.env.NEXT_PUBLIC_80094_INCENTIVES_API||"https://api-claim.berachain.com",bribeBoostApiKey:process.env.PRIVATE_80094_INCENTIVES_API_KEY??"",bgtIncentiveDistributor:"0x77DA09bC82652f9A14d1b170a001e759640298e6"},api:process.env.PRIVATE_80094_BEX_API_URL??process.env.NEXT_PUBLIC_80094_BEX_API_URL??"https://api.berachain.com",blocksSubgraph:process.env.NEXT_PUBLIC_80094_BLOCKS_SUBGRAPH??`${e}blocks-subgraph/mainnet-v1.1.0/gn`,bex:{chainName:"BERACHAIN",vault:"0x4Be03f781C497A489E3cB0287833452cA9B9E80B",helper:"0x5083737EC75a728c265BE578C9d0d5333a2c5951",queries:"0x3C612e132624f4Bd500eE1495F54565F0bcc9b59",relayer:"0x6044f181aB5E9C05A4ed9Ce295f3B178d2492EE7",factories:{composableStable:"0xDfA30BDa0375d4763711AB0CC8D91B20bfCC87E1",weighted:"0xa966fA8F2d5B087FFFA499C0C1240589371Af409"},poolCreationHelper:"0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2",subgraph:`${e}bex-subgraph/mainnet-v1.0.2/gn`,aggregatorsRouter:"0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58",aggregatorsRouterExecutor:"0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8",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:"0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce"},hub:{name:"BeraHub",url:"https://hub.berachain.com"},foundation:{name:"Berachain Foundation",url:"https://www.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,beApiKey:process.env.PRIVATE_80094_BEX_API_KEY,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",whiskApiUrl:process.env.WHISK_API_URL??"https://berachain.whisk.so/graphql",whiskApiKey:process.env.WHISK_API_KEY??"",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)}},explore:{name:"Explore",url:"https://explore.berachain.com"},explorer:{name:"Berascan",url:"https://berascan.com"},chain:{name:process.env.NEXT_PUBLIC_CHAIN_NAME??"Berachain"}},t=a;export{a,t as b};
|
package/dist/chunk-FFCLEC63.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e}from"./chunk-YUUHPTW6.mjs";var r={tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x",weth:"0x"},depositContract:"0x4242424242424242424242424242424242424242",pol:{rewardVaultHelper:"0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2",beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:`${e}pol-subgraph/bepolia-1.7.0/gn`,bribeBoostApi:process.env.NEXT_PUBLIC_80069_INCENTIVES_API||"https://bepolia.api-claim.berachain.com",bribeBoostApiKey:process.env.PRIVATE_80069_INCENTIVES_API_KEY??"",bgtIncentiveDistributor:"0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3"},api:process.env.PRIVATE_80069_BEX_API_URL??process.env.NEXT_PUBLIC_80069_BEX_API_URL??"https://bepolia-api.berachain.com",blocksSubgraph:`${e}blocks-subgraph/bepolia-v1.1.0/gn`,bex:{chainName:"BEPOLIA",vault:"0x708cA656b68A6b7384a488A36aD33505a77241FE",helper:"0xC7c981ADcDC5d48fed0CD52807fb2bAB22676C8f",queries:"0xE3723383a0EA73D5c0dE424BAA97F97f86f6cF92",relayer:"0x343215E156Ff586711a5B8C49Fe3099BAF22624C",factories:{composableStable:"0xB60DbBaCEaeC23486a64d12089F467ef949f1bb1",weighted:"0xf1d23276C7b271B2aC595C78977b2312E9954D57"},poolCreationHelper:"0x0dC9964F6CA33d9EF38DEB4925234766127C6B36",subgraph:`${e}bex-subgraph/bepolia-v1.0.2-rc1/gn`,aggregatorsRouter:"0x0000000000000000000000000000000000000000",aggregatorsRouterExecutor:"0x0000000000000000000000000000000000000000",aggregatorsProxyUrl:process.env.NEXT_PUBLIC_80069_AGGREGATORS_PROXY_URL??"",recoverFundsApi:"https://t3stbe4i5d40p.testnet.berachain.com",recoverFundsContract:"0x0eFeC4379805fAFA7269Ec599a6921f388C8841a"},honey:{name:"Honey",url:"https://bepolia.honey.berachain.com",subgraph:`${e}honey-subgraph/bepolia-v1.2.1/gn`,factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythOracle:"0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943",pythWrapper:"0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce"},hub:{name:"BeraHub",url:"https://bepolia.hub.berachain.com"},foundation:{name:"Berachain Foundation",url:"https://www.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,beApiKey:process.env.PRIVATE_80069_BEX_API_KEY,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",whiskApiUrl:null,whiskApiKey: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:[]}},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"}};export{r as a};
|
package/dist/chunk-G2LROWQ2.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-FFCLEC63.mjs";import{a as o}from"./chunk-BQFHWAJZ.mjs";import{a as e}from"./chunk-CM7FGHYU.mjs";var n={80094:o,80069:a},r=n[e],s={apiKeys:{public:{dynamicWallet:process.env.NEXT_PUBLIC_DYNAMIC_API_KEY??"b8a5104d-47e0-4965-b56a-0bcc31cf56f4",postHogProjectKey:"phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax",cookie3SiteId:process.env.NEXT_PUBLIC_COOKIE3_SITE_ID},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??process.env.NEXT_PUBLIC_ENSO_API_KEY??"3c1f3c7a-7ff7-4c5a-9a2b-79f50b5bfb4f",etherscan:process.env.ETHERSCAN_API_KEY}},addresses:{balancerDelegatedOwnership:"0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b",multicall:"0xcA11bde05977b3631167028862bE2a173976CA11"},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"},urls:{postHogApiHost:"https://eu.i.posthog.com",ghost:"https://berachain.ghost.io",cloudinary:"https://res.cloudinary.com/duv0g402y/image/upload/f_auto,q_auto/v1",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:{...r.bend,liquidationWarningLtvMargin:.05,maxBorrowLtvMargin:.05,publicAllocatorSupplyTargetUtilizationWad:BigInt(9e17),useProductionContracts:process.env.VERCEL_TARGET_ENV==="production"||process.env.NEXT_PUBLIC_BEND_USE_PRODUCTION_CONTRACTS==="true"}},t=process.env.NODE_ENV!=="development"||process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS!=="0"&&!!process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS,c={isPosthogEnabled:s.apiKeys.public.postHogProjectKey&&t,isCookie3Enabled:s.apiKeys.public.cookie3SiteId&&t,disallowIndexing:e!==80094&&e!==80069,hideCurator:!1},d={...r,...s,flags:c};export{n as a,d as b};
|
package/dist/chunk-G3P5QJ2Y.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 _chunkZYHYMHGNcjs = require('./chunk-ZYHYMHGN.cjs');var r={tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x",weth:"0x"},depositContract:"0x4242424242424242424242424242424242424242",pol:{rewardVaultHelper:"0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2",beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:`${_chunkZYHYMHGNcjs.b}pol-subgraph/bepolia-1.7.0/gn`,bribeBoostApi:process.env.NEXT_PUBLIC_80069_INCENTIVES_API||"https://bepolia.api-claim.berachain.com",bribeBoostApiKey:_nullishCoalesce(process.env.PRIVATE_80069_INCENTIVES_API_KEY, () => ("")),bgtIncentiveDistributor:"0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3"},api:_nullishCoalesce(_nullishCoalesce(process.env.PRIVATE_80069_BEX_API_URL, () => (process.env.NEXT_PUBLIC_80069_BEX_API_URL)), () => ("https://bepolia-api.berachain.com")),blocksSubgraph:`${_chunkZYHYMHGNcjs.b}blocks-subgraph/bepolia-v1.1.0/gn`,bex:{chainName:"BEPOLIA",vault:"0x708cA656b68A6b7384a488A36aD33505a77241FE",helper:"0xC7c981ADcDC5d48fed0CD52807fb2bAB22676C8f",queries:"0xE3723383a0EA73D5c0dE424BAA97F97f86f6cF92",relayer:"0x343215E156Ff586711a5B8C49Fe3099BAF22624C",factories:{composableStable:"0xB60DbBaCEaeC23486a64d12089F467ef949f1bb1",weighted:"0xf1d23276C7b271B2aC595C78977b2312E9954D57"},poolCreationHelper:"0x0dC9964F6CA33d9EF38DEB4925234766127C6B36",subgraph:`${_chunkZYHYMHGNcjs.b}bex-subgraph/bepolia-v1.0.2-rc1/gn`,aggregatorsRouter:"0x0000000000000000000000000000000000000000",aggregatorsRouterExecutor:"0x0000000000000000000000000000000000000000",aggregatorsProxyUrl:_nullishCoalesce(process.env.NEXT_PUBLIC_80069_AGGREGATORS_PROXY_URL, () => ("")),recoverFundsApi:"https://t3stbe4i5d40p.testnet.berachain.com",recoverFundsContract:"0x0eFeC4379805fAFA7269Ec599a6921f388C8841a"},honey:{name:"Honey",url:"https://bepolia.honey.berachain.com",subgraph:`${_chunkZYHYMHGNcjs.b}honey-subgraph/bepolia-v1.2.1/gn`,factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythOracle:"0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943",pythWrapper:"0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce"},hub:{name:"BeraHub",url:"https://bepolia.hub.berachain.com"},foundation:{name:"Berachain Foundation",url:"https://www.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, () => (`${_chunkZYHYMHGNcjs.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,beApiKey:process.env.PRIVATE_80069_BEX_API_KEY,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",whiskApiUrl:null,whiskApiKey: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:[]}},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"))}};exports.a = r;
|
package/dist/chunk-IV4GOAZB.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 _chunkG3P5QJ2Ycjs = require('./chunk-G3P5QJ2Y.cjs');var _chunk6CMG5CBGcjs = require('./chunk-6CMG5CBG.cjs');var _chunk5Q5FZIMOcjs = require('./chunk-5Q5FZIMO.cjs');var n={80094:_chunk6CMG5CBGcjs.a,80069:_chunkG3P5QJ2Ycjs.a},r=n[_chunk5Q5FZIMOcjs.a],s={apiKeys:{public:{dynamicWallet:_nullishCoalesce(process.env.NEXT_PUBLIC_DYNAMIC_API_KEY, () => ("b8a5104d-47e0-4965-b56a-0bcc31cf56f4")),postHogProjectKey:"phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax",cookie3SiteId:process.env.NEXT_PUBLIC_COOKIE3_SITE_ID},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:_nullishCoalesce(_nullishCoalesce(process.env.ENSO_API_KEY, () => (process.env.NEXT_PUBLIC_ENSO_API_KEY)), () => ("3c1f3c7a-7ff7-4c5a-9a2b-79f50b5bfb4f")),etherscan:process.env.ETHERSCAN_API_KEY}},addresses:{balancerDelegatedOwnership:"0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b",multicall:"0xcA11bde05977b3631167028862bE2a173976CA11"},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"},urls:{postHogApiHost:"https://eu.i.posthog.com",ghost:"https://berachain.ghost.io",cloudinary:"https://res.cloudinary.com/duv0g402y/image/upload/f_auto,q_auto/v1",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:{...r.bend,liquidationWarningLtvMargin:.05,maxBorrowLtvMargin:.05,publicAllocatorSupplyTargetUtilizationWad:BigInt(9e17),useProductionContracts:process.env.VERCEL_TARGET_ENV==="production"||process.env.NEXT_PUBLIC_BEND_USE_PRODUCTION_CONTRACTS==="true"}},t=process.env.NODE_ENV!=="development"||process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS!=="0"&&!!process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS,c={isPosthogEnabled:s.apiKeys.public.postHogProjectKey&&t,isCookie3Enabled:s.apiKeys.public.cookie3SiteId&&t,disallowIndexing:_chunk5Q5FZIMOcjs.a!==80094&&_chunk5Q5FZIMOcjs.a!==80069,hideCurator:!1},d= exports.b ={...r,...s,flags:c};exports.a = n; exports.b = d;
|