@berachain/config 0.0.2 → 0.0.3-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bepolia.cjs +1 -1
- package/dist/bepolia.d.cts +0 -4
- package/dist/bepolia.d.ts +0 -4
- package/dist/bepolia.js +1 -1
- package/dist/{chunk-LI4NSLBM.js → chunk-4ZZXDAVS.js} +1 -1
- package/dist/chunk-6RLCJYH2.cjs +1 -0
- package/dist/chunk-BJUR72F2.js +1 -0
- package/dist/chunk-G5WS7P3Y.js +1 -0
- package/dist/{chunk-C6MUJXOP.cjs → chunk-K62SDMWX.cjs} +1 -1
- package/dist/chunk-YC3A5DT2.cjs +1 -0
- package/dist/index.d.cts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/internal/header-sources.cjs +7 -5
- package/dist/internal/header-sources.d.cts +5 -1
- package/dist/internal/header-sources.d.ts +5 -1
- package/dist/internal/header-sources.js +7 -5
- package/dist/internal/index.cjs +1 -1
- package/dist/internal/index.d.cts +255 -9
- package/dist/internal/index.d.ts +255 -9
- package/dist/internal/index.js +1 -1
- package/dist/internal/tailwind/index.cjs +1 -1
- package/dist/internal/tailwind/index.d.cts +2 -2
- package/dist/internal/tailwind/index.d.ts +2 -2
- package/dist/internal/tailwind/index.js +1 -1
- package/dist/internal/tsup/index.cjs +1 -1
- package/dist/internal/tsup/index.d.cts +3 -2
- package/dist/internal/tsup/index.d.ts +3 -2
- package/dist/internal/tsup/index.js +1 -1
- package/dist/mainnet.cjs +1 -1
- package/dist/mainnet.d.cts +0 -4
- package/dist/mainnet.d.ts +0 -4
- package/dist/mainnet.js +1 -1
- package/package.json +13 -3
- package/dist/chunk-DILGFNLD.js +0 -1
- package/dist/chunk-TQ3O2NSK.cjs +0 -1
- package/dist/chunk-V24JGYF7.cjs +0 -1
- package/dist/chunk-ZBFETLTJ.js +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 _chunkK62SDMWXcjs = require('./chunk-K62SDMWX.cjs');require('./chunk-4VDLQK6F.cjs');exports.bepolia = _chunkK62SDMWXcjs.a;
|
package/dist/bepolia.d.cts
CHANGED
|
@@ -91,10 +91,6 @@ declare const bepolia: {
|
|
|
91
91
|
readonly name: "Berps";
|
|
92
92
|
readonly url: "#";
|
|
93
93
|
};
|
|
94
|
-
readonly faucet: {
|
|
95
|
-
readonly name: "Faucet";
|
|
96
|
-
readonly url: "https://bepolia.faucet.berachain.com";
|
|
97
|
-
};
|
|
98
94
|
readonly explore: {
|
|
99
95
|
readonly name: "Explore";
|
|
100
96
|
readonly url: "https://explore.berachain.com";
|
package/dist/bepolia.d.ts
CHANGED
|
@@ -91,10 +91,6 @@ declare const bepolia: {
|
|
|
91
91
|
readonly name: "Berps";
|
|
92
92
|
readonly url: "#";
|
|
93
93
|
};
|
|
94
|
-
readonly faucet: {
|
|
95
|
-
readonly name: "Faucet";
|
|
96
|
-
readonly url: "https://bepolia.faucet.berachain.com";
|
|
97
|
-
};
|
|
98
94
|
readonly explore: {
|
|
99
95
|
readonly name: "Explore";
|
|
100
96
|
readonly url: "https://explore.berachain.com";
|
package/dist/bepolia.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-4ZZXDAVS.js";import"./chunk-WOT6VMZA.js";export{a as bepolia};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var e={tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x",weth:"0x"},depositContract:"0x4242424242424242424242424242424242424242",pol:{beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-v1.6.1/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:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/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:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-v1.0.2-rc1/gn",aggregatorsRouter:"0x0000000000000000000000000000000000000000",aggregatorsRouterExecutor:"0x0000000000000000000000000000000000000000",aggregatorsProxyUrl:process.env.NEXT_PUBLIC_80069_AGGREGATORS_PROXY_URL??""},honey:{name:"Honey",url:"https://bepolia.honey.berachain.com",subgraph:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/bepolia-v1.1.1/gn",factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythWrapper:"0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606",pyth:"0x2880aB155794e7179c9eE2e38200202908C17B43",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce",isPythWrapperEnabled:process.env.NEXT_PUBLIC_80069_HONEY_PYTH_STATUS==="active",isCustodyEnabled:process.env.NEXT_PUBLIC_80069_HONEY_COINBASE_CUSTODY_ENABLED==="true"||process.env.NEXT_PUBLIC_80069_HONEY_COINBASE_CUSTODY_ENABLED===void 0},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??"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/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"},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",supportedVaults:[]},berps:{name:"Berps",url:"#"},
|
|
1
|
+
var e={tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x",weth:"0x"},depositContract:"0x4242424242424242424242424242424242424242",pol:{beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-v1.6.1/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:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/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:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-v1.0.2-rc1/gn",aggregatorsRouter:"0x0000000000000000000000000000000000000000",aggregatorsRouterExecutor:"0x0000000000000000000000000000000000000000",aggregatorsProxyUrl:process.env.NEXT_PUBLIC_80069_AGGREGATORS_PROXY_URL??""},honey:{name:"Honey",url:"https://bepolia.honey.berachain.com",subgraph:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/bepolia-v1.1.1/gn",factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythWrapper:"0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606",pyth:"0x2880aB155794e7179c9eE2e38200202908C17B43",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce",isPythWrapperEnabled:process.env.NEXT_PUBLIC_80069_HONEY_PYTH_STATUS==="active",isCustodyEnabled:process.env.NEXT_PUBLIC_80069_HONEY_COINBASE_CUSTODY_ENABLED==="true"||process.env.NEXT_PUBLIC_80069_HONEY_COINBASE_CUSTODY_ENABLED===void 0},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??"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/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"},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",supportedVaults:[]},berps:{name:"Berps",url:"#"},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{e 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 e={tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x0555E30da8f98308EdB960aa94C0Db47230d2B9c",weth:"0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590"},depositContract:"0x4242424242424242424242424242424242424242",pol:{beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_POL_SUBGRAPH, () => ("https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/mainnet-v1.6.1/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(process.env.PRIVATE_80094_BEX_API_URL, () => ("https://api.berachain.com")),blocksSubgraph:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_BLOCKS_SUBGRAPH, () => ("https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/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:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-v1.0.2/gn",aggregatorsRouter:"0x1cAF3c98cE58207D21f2090164cB56a4cEf8e487",aggregatorsRouterExecutor:"0x5699789588384DEc3662bd71BC5C6c7f7D615c66",aggregatorsProxyUrl:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_AGGREGATORS_PROXY_URL, () => ("https://gateway.mainnet.berachain.com/proxy"))},honey:{name:"Honey",url:"https://honey.berachain.com",subgraph:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_HONEY_SUBGRAPH, () => ("https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/mainnet-v1.1.1/gn")),factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythWrapper:"0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606",pyth:"0x2880aB155794e7179c9eE2e38200202908C17B43",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce",isPythWrapperEnabled:process.env.NEXT_PUBLIC_80094_HONEY_PYTH_STATUS==="active",isCustodyEnabled:process.env.NEXT_PUBLIC_80094_HONEY_COINBASE_CUSTODY_ENABLED==="true"||process.env.NEXT_PUBLIC_80094_HONEY_COINBASE_CUSTODY_ENABLED===void 0},hub:{name:"BeraHub",url:"https://hub.berachain.com"},foundation:{name:"Berachain Foundation",url:"https://www.berachain.com"},governance:{governor:"0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5",timelock:"0xb5f2000b5744f207c931526cAE2134cAa8b6862a",subgraph:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/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"},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:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/nft-bridge-subgraph/eth-v1.0.0-beta1/gn"},berachain:{subgraph:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/nft-bridge-subgraph/mainnet-v1.0.0-beta1/gn"}}},bend:{name:"Bend",url:"https://bend.berachain.com",supportedVaults:(_nullishCoalesce(process.env.NEXT_PUBLIC_80094_BEND_SUPPORTED_VAULTS, () => ("0x19DcFf4e8Ff0B554D8a1f22d289A449fd4FbddBa,0xC0808A144CE2ea85bF84EBD1dDF5D59429f59dDE"))).split(",").filter(Boolean)},berps:{name:"Berps",url:"#"},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"))}},a= exports.b =e;exports.a = e; exports.b = a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x0555E30da8f98308EdB960aa94C0Db47230d2B9c",weth:"0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590"},depositContract:"0x4242424242424242424242424242424242424242",pol:{beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:process.env.NEXT_PUBLIC_80094_POL_SUBGRAPH??"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/mainnet-v1.6.1/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??"https://api.berachain.com",blocksSubgraph:process.env.NEXT_PUBLIC_80094_BLOCKS_SUBGRAPH??"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/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:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-v1.0.2/gn",aggregatorsRouter:"0x1cAF3c98cE58207D21f2090164cB56a4cEf8e487",aggregatorsRouterExecutor:"0x5699789588384DEc3662bd71BC5C6c7f7D615c66",aggregatorsProxyUrl:process.env.NEXT_PUBLIC_80094_AGGREGATORS_PROXY_URL??"https://gateway.mainnet.berachain.com/proxy"},honey:{name:"Honey",url:"https://honey.berachain.com",subgraph:process.env.NEXT_PUBLIC_80094_HONEY_SUBGRAPH??"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/mainnet-v1.1.1/gn",factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythWrapper:"0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606",pyth:"0x2880aB155794e7179c9eE2e38200202908C17B43",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce",isPythWrapperEnabled:process.env.NEXT_PUBLIC_80094_HONEY_PYTH_STATUS==="active",isCustodyEnabled:process.env.NEXT_PUBLIC_80094_HONEY_COINBASE_CUSTODY_ENABLED==="true"||process.env.NEXT_PUBLIC_80094_HONEY_COINBASE_CUSTODY_ENABLED===void 0},hub:{name:"BeraHub",url:"https://hub.berachain.com"},foundation:{name:"Berachain Foundation",url:"https://www.berachain.com"},governance:{governor:"0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5",timelock:"0xb5f2000b5744f207c931526cAE2134cAa8b6862a",subgraph:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/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"},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:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/nft-bridge-subgraph/eth-v1.0.0-beta1/gn"},berachain:{subgraph:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/nft-bridge-subgraph/mainnet-v1.0.0-beta1/gn"}}},bend:{name:"Bend",url:"https://bend.berachain.com",supportedVaults:(process.env.NEXT_PUBLIC_80094_BEND_SUPPORTED_VAULTS??"0x19DcFf4e8Ff0B554D8a1f22d289A449fd4FbddBa,0xC0808A144CE2ea85bF84EBD1dDF5D59429f59dDE").split(",").filter(Boolean)},berps:{name:"Berps",url:"#"},explore:{name:"Explore",url:"https://explore.berachain.com"},explorer:{name:"Berascan",url:"https://berascan.com"},chain:{name:process.env.NEXT_PUBLIC_CHAIN_NAME??"Berachain"}},a=e;export{e as a,a as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./chunk-4ZZXDAVS.js";import{a as t}from"./chunk-BJUR72F2.js";import{a}from"./chunk-7P77HD6A.js";var s={80094:t,80069:e},o=s[a],i={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:{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",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/",docs:"https://docs.berachain.com",careers:"https://careers.berachain.com/",mediaKit:"https://drive.google.com/drive/folders/1r658Px_VhjiUEC4AQAhHRCBeVKjcRWU6",blog:"https://blog.berachain.com/",twitter:"https://x.com/berachain",telegram:"https://t.me/BerachainPortal",discord:"https://discord.com/invite/berachain",github:"https://github.com/berachain"},flags:{developmentAnalyticsEnabled:process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS!=="0"&&!!process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS,disallowIndexing:a!==80094&&a!==80069,hideCurator:!1},bend:{...o.bend,liquidationWarningLtvMargin:.05,maxBorrowLtvMargin:1e-4,publicAllocatorSupplyTargetUtilizationWad:BigInt(9e17)}},h={...o,...i};export{s as a,h as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var e={tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x",weth:"0x"},depositContract:"0x4242424242424242424242424242424242424242",pol:{beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-v1.6.1/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:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/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:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-v1.0.2-rc1/gn",aggregatorsRouter:"0x0000000000000000000000000000000000000000",aggregatorsRouterExecutor:"0x0000000000000000000000000000000000000000",aggregatorsProxyUrl:_nullishCoalesce(process.env.NEXT_PUBLIC_80069_AGGREGATORS_PROXY_URL, () => (""))},honey:{name:"Honey",url:"https://bepolia.honey.berachain.com",subgraph:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/bepolia-v1.1.1/gn",factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythWrapper:"0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606",pyth:"0x2880aB155794e7179c9eE2e38200202908C17B43",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce",isPythWrapperEnabled:process.env.NEXT_PUBLIC_80069_HONEY_PYTH_STATUS==="active",isCustodyEnabled:process.env.NEXT_PUBLIC_80069_HONEY_COINBASE_CUSTODY_ENABLED==="true"||process.env.NEXT_PUBLIC_80069_HONEY_COINBASE_CUSTODY_ENABLED===void 0},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, () => ("https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/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"},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",supportedVaults:[]},berps:{name:"Berps",url:"#"},
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var e={tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x",weth:"0x"},depositContract:"0x4242424242424242424242424242424242424242",pol:{beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-v1.6.1/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:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/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:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-v1.0.2-rc1/gn",aggregatorsRouter:"0x0000000000000000000000000000000000000000",aggregatorsRouterExecutor:"0x0000000000000000000000000000000000000000",aggregatorsProxyUrl:_nullishCoalesce(process.env.NEXT_PUBLIC_80069_AGGREGATORS_PROXY_URL, () => (""))},honey:{name:"Honey",url:"https://bepolia.honey.berachain.com",subgraph:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/bepolia-v1.1.1/gn",factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythWrapper:"0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606",pyth:"0x2880aB155794e7179c9eE2e38200202908C17B43",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce",isPythWrapperEnabled:process.env.NEXT_PUBLIC_80069_HONEY_PYTH_STATUS==="active",isCustodyEnabled:process.env.NEXT_PUBLIC_80069_HONEY_COINBASE_CUSTODY_ENABLED==="true"||process.env.NEXT_PUBLIC_80069_HONEY_COINBASE_CUSTODY_ENABLED===void 0},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, () => ("https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/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"},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",supportedVaults:[]},berps:{name:"Berps",url:"#"},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 = e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunkK62SDMWXcjs = require('./chunk-K62SDMWX.cjs');var _chunk6RLCJYH2cjs = require('./chunk-6RLCJYH2.cjs');var _chunkAEEJBUVNcjs = require('./chunk-AEEJBUVN.cjs');var s={80094:_chunk6RLCJYH2cjs.a,80069:_chunkK62SDMWXcjs.a},o=s[_chunkAEEJBUVNcjs.a],i={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:{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",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/",docs:"https://docs.berachain.com",careers:"https://careers.berachain.com/",mediaKit:"https://drive.google.com/drive/folders/1r658Px_VhjiUEC4AQAhHRCBeVKjcRWU6",blog:"https://blog.berachain.com/",twitter:"https://x.com/berachain",telegram:"https://t.me/BerachainPortal",discord:"https://discord.com/invite/berachain",github:"https://github.com/berachain"},flags:{developmentAnalyticsEnabled:process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS!=="0"&&!!process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS,disallowIndexing:_chunkAEEJBUVNcjs.a!==80094&&_chunkAEEJBUVNcjs.a!==80069,hideCurator:!1},bend:{...o.bend,liquidationWarningLtvMargin:.05,maxBorrowLtvMargin:1e-4,publicAllocatorSupplyTargetUtilizationWad:BigInt(9e17)}},h= exports.b ={...o,...i};exports.a = s; exports.b = h;
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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 _chunkYC3A5DT2cjs = require('../chunk-YC3A5DT2.cjs');var _chunkRJW7M2BAcjs = require('../chunk-RJW7M2BA.cjs');require('../chunk-K62SDMWX.cjs');require('../chunk-6RLCJYH2.cjs');require('../chunk-AEEJBUVN.cjs');require('../chunk-3IPYHDYK.cjs');require('../chunk-4VDLQK6F.cjs');function b({isDevelopment:o,nonce:a,...s}){let i=["https://*.berachain.com/","https://*.berachain-staging.com/","wss://www.walletlink.org/rpc",`https://*.dynamicauth.com/api/v0/sdk/${_chunkYC3A5DT2cjs.b.apiKeys.public.dynamicWallet}/`,`https://logs.dynamicauth.com/api/v1/${_chunkYC3A5DT2cjs.b.apiKeys.public.dynamicWallet}`,"https://dynamic-static-assets.com/wallet-book/v1/stable/wallet-book.json","https://raw.githubusercontent.com/berachain/metadata/","https://*.bera-network.quiknode.pro","https://*.bepolia-network.quiknode.pro",_chunkYC3A5DT2cjs.b.governance.subgraph,_chunkYC3A5DT2cjs.b.honey.subgraph,_chunkYC3A5DT2cjs.b.pol.subgraph,_chunkYC3A5DT2cjs.b.pol.bribeBoostApi,_chunkYC3A5DT2cjs.b.bex.subgraph,_chunkYC3A5DT2cjs.b.api,_chunkYC3A5DT2cjs.b.blocksSubgraph,_chunkRJW7M2BAcjs.c,_chunkRJW7M2BAcjs.b,_chunkRJW7M2BAcjs.d,"https://open-api.openocean.finance/","https://api.haiku.trade/","https://api.magpiefi.xyz/",`${_chunkYC3A5DT2cjs.b.bex.aggregatorsProxyUrl}/`,"wss://relay.walletconnect.com/","wss://relay.walletconnect.org/","https://api.routescan.io/v2/network/","wss://metamask-sdk.api.cx.metamask.io/socket.io/","https://*.posthog.com","https://vercel.live","wss://ws-us3.pusher.com","https://cdn.markfi.xyz/scripts/analytics/","https://a.markfi.xyz/"].concat(_nullishCoalesce(s.connectionSources, () => ([]))).filter((e,u)=>!e||e.trim()===""?(process.env.NODE_ENV==="production"&&console.warn("One of connectionSources is empty or undefined. Idx:",u),!1):!0),p=["https://res.cloudinary.com/duv0g402y/","https://raw.githubusercontent.com/berachain/default-lists/","https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://coin-images.coingecko.com/coins/images/","https://iconic.dynamic-static-assets.com/","https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/","https://icons.llama.fi/","https://icons.llamao.fi/","https://cdn.whisk.so/","https://cdn.morpho.org/","https://raw.githubusercontent.com/trustwallet/assets/","https://*.posthog.com","https://vercel.live","https://vercel.com"].concat(_nullishCoalesce(s.pictureSources, () => ([]))).filter(e=>!e||e.trim()===""?(process.env.NODE_ENV==="production"&&console.warn("One of pictureSources is empty or undefined"),!1):!0),l=["https://verify.walletconnect.com/","https://verify.walletconnect.org/","https://*.posthog.com","https://vercel.live/"].concat(_nullishCoalesce(s.frameSources, () => ([]))),h=["https://cdn.jsdelivr.net/npm/@fontsource/","https://*.posthog.com","https://vercel.live","https://assets.vercel.com"].concat(_nullishCoalesce(s.fontSources, () => ([]))),m=["https://*.posthog.com","https://vercel.live"].concat(_nullishCoalesce(s.styleSources, () => ([])));return`
|
|
2
2
|
default-src 'self';
|
|
3
3
|
base-uri 'self';
|
|
4
4
|
frame-src 'self' ${l.join(" ")};
|
|
5
|
-
frame-ancestors 'self';
|
|
6
|
-
script-src 'self' 'sha256-k2HGvaYkGyYZxOwKGxgE1mr06tZEDcEXNZ5mdcldK0o=' 'nonce-${a}' 'strict-dynamic' ${
|
|
7
|
-
|
|
5
|
+
frame-ancestors 'self' https://*.posthog.com;
|
|
6
|
+
script-src 'self' 'sha256-k2HGvaYkGyYZxOwKGxgE1mr06tZEDcEXNZ5mdcldK0o=' 'nonce-${a}' https://*.posthog.com 'strict-dynamic' ${o?"'unsafe-eval'":""};
|
|
7
|
+
worker-src 'self' blob: data:;
|
|
8
|
+
font-src 'self' ${h.join(" ")};
|
|
8
9
|
style-src 'self' ${m.join(" ")} 'unsafe-inline';
|
|
9
10
|
img-src 'self' data: ${p.join(" ")};
|
|
10
11
|
connect-src 'self' ${i.join(" ")};
|
|
11
|
-
|
|
12
|
+
media-src https://*.posthog.com;
|
|
13
|
+
`.replace(/\s{2,}/g," ").trim()}var y=[_nullishCoalesce((_optionalChain([_chunkYC3A5DT2cjs.b, 'access', _ => _.urls, 'access', _2 => _2.cloudinary, 'optionalAccess', _3 => _3.split, 'call', _4 => _4("image"), 'access', _5 => _5[0]])||_optionalChain([_chunkYC3A5DT2cjs.b, 'access', _6 => _6.urls, 'access', _7 => _7.cloudinary, 'optionalAccess', _8 => _8.split, 'call', _9 => _9("raw"), 'access', _10 => _10[0]])), () => ("")),"https://raw.githubusercontent.com/berachain/default-lists/","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(o=>!o||o.trim()===""?(console.warn("One of pictureSources is empty or undefined"),!1):!0);exports.getContentSecurityPolicy = b; exports.staticPictureSources = y;
|
|
@@ -7,5 +7,9 @@ declare function getContentSecurityPolicy({ isDevelopment, nonce, ...args }: {
|
|
|
7
7
|
connectionSources?: string[];
|
|
8
8
|
styleSources?: string[];
|
|
9
9
|
}): string;
|
|
10
|
+
/**
|
|
11
|
+
* Static picture sources that are used in static-monobera.
|
|
12
|
+
*/
|
|
13
|
+
declare const staticPictureSources: string[];
|
|
10
14
|
|
|
11
|
-
export { getContentSecurityPolicy };
|
|
15
|
+
export { getContentSecurityPolicy, staticPictureSources };
|
|
@@ -7,5 +7,9 @@ declare function getContentSecurityPolicy({ isDevelopment, nonce, ...args }: {
|
|
|
7
7
|
connectionSources?: string[];
|
|
8
8
|
styleSources?: string[];
|
|
9
9
|
}): string;
|
|
10
|
+
/**
|
|
11
|
+
* Static picture sources that are used in static-monobera.
|
|
12
|
+
*/
|
|
13
|
+
declare const staticPictureSources: string[];
|
|
10
14
|
|
|
11
|
-
export { getContentSecurityPolicy };
|
|
15
|
+
export { getContentSecurityPolicy, staticPictureSources };
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{b as t}from"../chunk-G5WS7P3Y.js";import{b as c,c as n,d as r}from"../chunk-TB4XRJLK.js";import"../chunk-4ZZXDAVS.js";import"../chunk-BJUR72F2.js";import"../chunk-7P77HD6A.js";import"../chunk-E3O7UH5M.js";import"../chunk-WOT6VMZA.js";function b({isDevelopment:o,nonce:a,...s}){let i=["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/stable/wallet-book.json","https://raw.githubusercontent.com/berachain/metadata/","https://*.bera-network.quiknode.pro","https://*.bepolia-network.quiknode.pro",t.governance.subgraph,t.honey.subgraph,t.pol.subgraph,t.pol.bribeBoostApi,t.bex.subgraph,t.api,t.blocksSubgraph,n,c,r,"https://open-api.openocean.finance/","https://api.haiku.trade/","https://api.magpiefi.xyz/",`${t.bex.aggregatorsProxyUrl}/`,"wss://relay.walletconnect.com/","wss://relay.walletconnect.org/","https://api.routescan.io/v2/network/","wss://metamask-sdk.api.cx.metamask.io/socket.io/","https://*.posthog.com","https://vercel.live","wss://ws-us3.pusher.com","https://cdn.markfi.xyz/scripts/analytics/","https://a.markfi.xyz/"].concat(s.connectionSources??[]).filter((e,u)=>!e||e.trim()===""?(process.env.NODE_ENV==="production"&&console.warn("One of connectionSources is empty or undefined. Idx:",u),!1):!0),p=["https://res.cloudinary.com/duv0g402y/","https://raw.githubusercontent.com/berachain/default-lists/","https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://coin-images.coingecko.com/coins/images/","https://iconic.dynamic-static-assets.com/","https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/","https://icons.llama.fi/","https://icons.llamao.fi/","https://cdn.whisk.so/","https://cdn.morpho.org/","https://raw.githubusercontent.com/trustwallet/assets/","https://*.posthog.com","https://vercel.live","https://vercel.com"].concat(s.pictureSources??[]).filter(e=>!e||e.trim()===""?(process.env.NODE_ENV==="production"&&console.warn("One of pictureSources is empty or undefined"),!1):!0),l=["https://verify.walletconnect.com/","https://verify.walletconnect.org/","https://*.posthog.com","https://vercel.live/"].concat(s.frameSources??[]),h=["https://cdn.jsdelivr.net/npm/@fontsource/","https://*.posthog.com","https://vercel.live","https://assets.vercel.com"].concat(s.fontSources??[]),m=["https://*.posthog.com","https://vercel.live"].concat(s.styleSources??[]);return`
|
|
2
2
|
default-src 'self';
|
|
3
3
|
base-uri 'self';
|
|
4
4
|
frame-src 'self' ${l.join(" ")};
|
|
5
|
-
frame-ancestors 'self';
|
|
6
|
-
script-src 'self' 'sha256-k2HGvaYkGyYZxOwKGxgE1mr06tZEDcEXNZ5mdcldK0o=' 'nonce-${a}' 'strict-dynamic' ${
|
|
7
|
-
|
|
5
|
+
frame-ancestors 'self' https://*.posthog.com;
|
|
6
|
+
script-src 'self' 'sha256-k2HGvaYkGyYZxOwKGxgE1mr06tZEDcEXNZ5mdcldK0o=' 'nonce-${a}' https://*.posthog.com 'strict-dynamic' ${o?"'unsafe-eval'":""};
|
|
7
|
+
worker-src 'self' blob: data:;
|
|
8
|
+
font-src 'self' ${h.join(" ")};
|
|
8
9
|
style-src 'self' ${m.join(" ")} 'unsafe-inline';
|
|
9
10
|
img-src 'self' data: ${p.join(" ")};
|
|
10
11
|
connect-src 'self' ${i.join(" ")};
|
|
11
|
-
|
|
12
|
+
media-src https://*.posthog.com;
|
|
13
|
+
`.replace(/\s{2,}/g," ").trim()}var y=[(t.urls.cloudinary?.split("image")[0]||t.urls.cloudinary?.split("raw")[0])??"","https://raw.githubusercontent.com/berachain/default-lists/","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(o=>!o||o.trim()===""?(console.warn("One of pictureSources is empty or undefined"),!1):!0);export{b as getContentSecurityPolicy,y 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 _chunkYC3A5DT2cjs = require('../chunk-YC3A5DT2.cjs');var _chunkRJW7M2BAcjs = require('../chunk-RJW7M2BA.cjs');require('../chunk-K62SDMWX.cjs');require('../chunk-6RLCJYH2.cjs');var _chunkAEEJBUVNcjs = require('../chunk-AEEJBUVN.cjs');var _chunk3IPYHDYKcjs = require('../chunk-3IPYHDYK.cjs');require('../chunk-4VDLQK6F.cjs');exports.ChainId = _chunk3IPYHDYKcjs.a; exports.alchemyJsonRpcUrl = _chunkRJW7M2BAcjs.d; exports.chainConfigs = _chunkYC3A5DT2cjs.a; exports.chainId = _chunkAEEJBUVNcjs.a; exports.config = _chunkYC3A5DT2cjs.b; exports.defaultChainId = _chunkAEEJBUVNcjs.a; exports.getRpcUrls = _chunkRJW7M2BAcjs.a; exports.jsonRpcUrl = _chunkRJW7M2BAcjs.c; exports.privateRcpUrl = _chunkRJW7M2BAcjs.e; exports.publicJsonRpcUrl = _chunkRJW7M2BAcjs.b;
|
|
@@ -30,6 +30,214 @@ declare const /**
|
|
|
30
30
|
*/
|
|
31
31
|
privateRcpUrl: string | undefined;
|
|
32
32
|
|
|
33
|
+
declare const chainConfigs: {
|
|
34
|
+
readonly 80094: {
|
|
35
|
+
readonly tokens: {
|
|
36
|
+
readonly wbera: "0x6969696969696969696969696969696969696969";
|
|
37
|
+
readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
|
|
38
|
+
readonly bgt: "0x656b95E550C07a9ffe548bd4085c72418Ceb1dba";
|
|
39
|
+
readonly wbtc: "0x0555E30da8f98308EdB960aa94C0Db47230d2B9c";
|
|
40
|
+
readonly weth: "0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590";
|
|
41
|
+
};
|
|
42
|
+
readonly depositContract: "0x4242424242424242424242424242424242424242";
|
|
43
|
+
readonly pol: {
|
|
44
|
+
readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
|
|
45
|
+
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
46
|
+
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
47
|
+
readonly subgraph: string;
|
|
48
|
+
readonly bribeBoostApi: string;
|
|
49
|
+
readonly bribeBoostApiKey: string;
|
|
50
|
+
readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
|
|
51
|
+
};
|
|
52
|
+
readonly api: string;
|
|
53
|
+
readonly blocksSubgraph: string;
|
|
54
|
+
readonly bex: {
|
|
55
|
+
readonly chainName: "BERACHAIN";
|
|
56
|
+
readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
|
|
57
|
+
readonly helper: "0x5083737EC75a728c265BE578C9d0d5333a2c5951";
|
|
58
|
+
readonly queries: "0x3C612e132624f4Bd500eE1495F54565F0bcc9b59";
|
|
59
|
+
readonly relayer: "0x6044f181aB5E9C05A4ed9Ce295f3B178d2492EE7";
|
|
60
|
+
readonly factories: {
|
|
61
|
+
readonly composableStable: "0xDfA30BDa0375d4763711AB0CC8D91B20bfCC87E1";
|
|
62
|
+
readonly weighted: "0xa966fA8F2d5B087FFFA499C0C1240589371Af409";
|
|
63
|
+
};
|
|
64
|
+
readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
|
|
65
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-v1.0.2/gn";
|
|
66
|
+
readonly aggregatorsRouter: "0x1cAF3c98cE58207D21f2090164cB56a4cEf8e487";
|
|
67
|
+
readonly aggregatorsRouterExecutor: "0x5699789588384DEc3662bd71BC5C6c7f7D615c66";
|
|
68
|
+
readonly aggregatorsProxyUrl: string;
|
|
69
|
+
};
|
|
70
|
+
readonly honey: {
|
|
71
|
+
readonly name: "Honey";
|
|
72
|
+
readonly url: "https://honey.berachain.com";
|
|
73
|
+
readonly subgraph: string;
|
|
74
|
+
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
75
|
+
readonly pythWrapper: "0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606";
|
|
76
|
+
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
77
|
+
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
78
|
+
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
79
|
+
readonly isPythWrapperEnabled: boolean;
|
|
80
|
+
readonly isCustodyEnabled: boolean;
|
|
81
|
+
};
|
|
82
|
+
readonly hub: {
|
|
83
|
+
readonly name: "BeraHub";
|
|
84
|
+
readonly url: "https://hub.berachain.com";
|
|
85
|
+
};
|
|
86
|
+
readonly foundation: {
|
|
87
|
+
readonly name: "Berachain Foundation";
|
|
88
|
+
readonly url: "https://www.berachain.com";
|
|
89
|
+
};
|
|
90
|
+
readonly governance: {
|
|
91
|
+
readonly governor: "0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5";
|
|
92
|
+
readonly timelock: "0xb5f2000b5744f207c931526cAE2134cAa8b6862a";
|
|
93
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/governance-subgraph/mainnet-v1.1.1/gn";
|
|
94
|
+
};
|
|
95
|
+
readonly lists: {
|
|
96
|
+
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/mainnet.json";
|
|
97
|
+
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/mainnet.json";
|
|
98
|
+
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/mainnet.json";
|
|
99
|
+
};
|
|
100
|
+
readonly averageBlockTime: 2;
|
|
101
|
+
readonly beApiKey: string;
|
|
102
|
+
readonly bridge: {
|
|
103
|
+
readonly name: "BeraBridge";
|
|
104
|
+
readonly url: "https://bridge.berachain.com";
|
|
105
|
+
readonly nft: {
|
|
106
|
+
readonly name: "BeraBridge NFT";
|
|
107
|
+
readonly url: "https://nftbridge.berachain.com";
|
|
108
|
+
readonly eth: {
|
|
109
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/nft-bridge-subgraph/eth-v1.0.0-beta1/gn";
|
|
110
|
+
};
|
|
111
|
+
readonly berachain: {
|
|
112
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/nft-bridge-subgraph/mainnet-v1.0.0-beta1/gn";
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
readonly bend: {
|
|
117
|
+
readonly name: "Bend";
|
|
118
|
+
readonly url: "https://bend.berachain.com";
|
|
119
|
+
readonly supportedVaults: `0x${string}`[];
|
|
120
|
+
};
|
|
121
|
+
readonly berps: {
|
|
122
|
+
readonly name: "Berps";
|
|
123
|
+
readonly url: "#";
|
|
124
|
+
};
|
|
125
|
+
readonly explore: {
|
|
126
|
+
readonly name: "Explore";
|
|
127
|
+
readonly url: "https://explore.berachain.com";
|
|
128
|
+
};
|
|
129
|
+
readonly explorer: {
|
|
130
|
+
readonly name: "Berascan";
|
|
131
|
+
readonly url: "https://berascan.com";
|
|
132
|
+
};
|
|
133
|
+
readonly chain: {
|
|
134
|
+
readonly name: string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
readonly 80069: {
|
|
138
|
+
readonly tokens: {
|
|
139
|
+
readonly wbera: "0x6969696969696969696969696969696969696969";
|
|
140
|
+
readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
|
|
141
|
+
readonly bgt: "0x656b95E550C07a9ffe548bd4085c72418Ceb1dba";
|
|
142
|
+
readonly wbtc: "0x";
|
|
143
|
+
readonly weth: "0x";
|
|
144
|
+
};
|
|
145
|
+
readonly depositContract: "0x4242424242424242424242424242424242424242";
|
|
146
|
+
readonly pol: {
|
|
147
|
+
readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
|
|
148
|
+
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
149
|
+
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
150
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-v1.6.1/gn";
|
|
151
|
+
readonly bribeBoostApi: string;
|
|
152
|
+
readonly bribeBoostApiKey: string;
|
|
153
|
+
readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
|
|
154
|
+
};
|
|
155
|
+
readonly api: string;
|
|
156
|
+
readonly blocksSubgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/blocks-subgraph/bepolia-v1.1.0/gn";
|
|
157
|
+
readonly bex: {
|
|
158
|
+
readonly chainName: "BEPOLIA";
|
|
159
|
+
readonly vault: "0x708cA656b68A6b7384a488A36aD33505a77241FE";
|
|
160
|
+
readonly helper: "0xC7c981ADcDC5d48fed0CD52807fb2bAB22676C8f";
|
|
161
|
+
readonly queries: "0xE3723383a0EA73D5c0dE424BAA97F97f86f6cF92";
|
|
162
|
+
readonly relayer: "0x343215E156Ff586711a5B8C49Fe3099BAF22624C";
|
|
163
|
+
readonly factories: {
|
|
164
|
+
readonly composableStable: "0xB60DbBaCEaeC23486a64d12089F467ef949f1bb1";
|
|
165
|
+
readonly weighted: "0xf1d23276C7b271B2aC595C78977b2312E9954D57";
|
|
166
|
+
};
|
|
167
|
+
readonly poolCreationHelper: "0x0dC9964F6CA33d9EF38DEB4925234766127C6B36";
|
|
168
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-v1.0.2-rc1/gn";
|
|
169
|
+
readonly aggregatorsRouter: "0x0000000000000000000000000000000000000000";
|
|
170
|
+
readonly aggregatorsRouterExecutor: "0x0000000000000000000000000000000000000000";
|
|
171
|
+
readonly aggregatorsProxyUrl: string;
|
|
172
|
+
};
|
|
173
|
+
readonly honey: {
|
|
174
|
+
readonly name: "Honey";
|
|
175
|
+
readonly url: "https://bepolia.honey.berachain.com";
|
|
176
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/bepolia-v1.1.1/gn";
|
|
177
|
+
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
178
|
+
readonly pythWrapper: "0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606";
|
|
179
|
+
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
180
|
+
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
181
|
+
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
182
|
+
readonly isPythWrapperEnabled: boolean;
|
|
183
|
+
readonly isCustodyEnabled: boolean;
|
|
184
|
+
};
|
|
185
|
+
readonly hub: {
|
|
186
|
+
readonly name: "BeraHub";
|
|
187
|
+
readonly url: "https://bepolia.hub.berachain.com";
|
|
188
|
+
};
|
|
189
|
+
readonly foundation: {
|
|
190
|
+
readonly name: "Berachain Foundation";
|
|
191
|
+
readonly url: "https://www.berachain.com";
|
|
192
|
+
};
|
|
193
|
+
readonly governance: {
|
|
194
|
+
readonly governor: `0x${string}`;
|
|
195
|
+
readonly timelock: `0x${string}`;
|
|
196
|
+
readonly subgraph: string;
|
|
197
|
+
};
|
|
198
|
+
readonly lists: {
|
|
199
|
+
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/bepolia.json";
|
|
200
|
+
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/bepolia.json";
|
|
201
|
+
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/bepolia.json";
|
|
202
|
+
};
|
|
203
|
+
readonly averageBlockTime: 2;
|
|
204
|
+
readonly beApiKey: string;
|
|
205
|
+
readonly bridge: {
|
|
206
|
+
readonly name: "BeraBridge";
|
|
207
|
+
readonly url: "https://bepolia.bridge.berachain.com";
|
|
208
|
+
readonly nft: {
|
|
209
|
+
readonly name: "BeraBridge NFT";
|
|
210
|
+
readonly url: "#";
|
|
211
|
+
readonly eth: {
|
|
212
|
+
readonly subgraph: "#";
|
|
213
|
+
};
|
|
214
|
+
readonly berachain: {
|
|
215
|
+
readonly subgraph: "#";
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
readonly bend: {
|
|
220
|
+
readonly name: "Bend";
|
|
221
|
+
readonly url: "https://bepolia.bend.berachain.com";
|
|
222
|
+
readonly supportedVaults: Address[];
|
|
223
|
+
};
|
|
224
|
+
readonly berps: {
|
|
225
|
+
readonly name: "Berps";
|
|
226
|
+
readonly url: "#";
|
|
227
|
+
};
|
|
228
|
+
readonly explore: {
|
|
229
|
+
readonly name: "Explore";
|
|
230
|
+
readonly url: "https://explore.berachain.com";
|
|
231
|
+
};
|
|
232
|
+
readonly explorer: {
|
|
233
|
+
readonly name: "Berascan";
|
|
234
|
+
readonly url: "https://testnet.berascan.com";
|
|
235
|
+
};
|
|
236
|
+
readonly chain: {
|
|
237
|
+
readonly name: string;
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
};
|
|
33
241
|
declare const config: {
|
|
34
242
|
readonly apiKeys: {
|
|
35
243
|
readonly public: {
|
|
@@ -62,8 +270,31 @@ declare const config: {
|
|
|
62
270
|
*/
|
|
63
271
|
readonly multicall: `0x${string}`;
|
|
64
272
|
};
|
|
273
|
+
/**
|
|
274
|
+
* Public faucet configuration.
|
|
275
|
+
*
|
|
276
|
+
* Mainly used in static-monobera.
|
|
277
|
+
*/
|
|
278
|
+
readonly faucet: {
|
|
279
|
+
readonly name: "Faucet";
|
|
280
|
+
readonly url: "https://bepolia.faucet.berachain.com";
|
|
281
|
+
/**
|
|
282
|
+
* Amount of BERA the user will receive when using the faucet
|
|
283
|
+
*/
|
|
284
|
+
readonly dripAmount: 1;
|
|
285
|
+
/**
|
|
286
|
+
* Time in hours between each drip
|
|
287
|
+
*/
|
|
288
|
+
readonly timeGap: 8;
|
|
289
|
+
readonly cloudflareKey: string;
|
|
290
|
+
/**
|
|
291
|
+
* API endpoint to send the request to the faucet
|
|
292
|
+
*/
|
|
293
|
+
readonly endpoint: "https://faucet-api.testnet.berachain.com";
|
|
294
|
+
};
|
|
65
295
|
readonly urls: {
|
|
66
296
|
readonly postHogApiHost: "https://eu.i.posthog.com";
|
|
297
|
+
readonly cloudinary: "https://res.cloudinary.com/duv0g402y/image/upload/f_auto,q_auto/v1";
|
|
67
298
|
readonly homepage: string;
|
|
68
299
|
readonly ecosystem: "https://ecosystem.berachain.com/";
|
|
69
300
|
readonly docs: "https://docs.berachain.com";
|
|
@@ -207,10 +438,6 @@ declare const config: {
|
|
|
207
438
|
readonly name: "Berps";
|
|
208
439
|
readonly url: "#";
|
|
209
440
|
};
|
|
210
|
-
readonly faucet: {
|
|
211
|
-
readonly name: "Faucet";
|
|
212
|
-
readonly url: "#";
|
|
213
|
-
};
|
|
214
441
|
readonly explore: {
|
|
215
442
|
readonly name: "Explore";
|
|
216
443
|
readonly url: "https://explore.berachain.com";
|
|
@@ -254,8 +481,31 @@ declare const config: {
|
|
|
254
481
|
*/
|
|
255
482
|
readonly multicall: `0x${string}`;
|
|
256
483
|
};
|
|
484
|
+
/**
|
|
485
|
+
* Public faucet configuration.
|
|
486
|
+
*
|
|
487
|
+
* Mainly used in static-monobera.
|
|
488
|
+
*/
|
|
489
|
+
readonly faucet: {
|
|
490
|
+
readonly name: "Faucet";
|
|
491
|
+
readonly url: "https://bepolia.faucet.berachain.com";
|
|
492
|
+
/**
|
|
493
|
+
* Amount of BERA the user will receive when using the faucet
|
|
494
|
+
*/
|
|
495
|
+
readonly dripAmount: 1;
|
|
496
|
+
/**
|
|
497
|
+
* Time in hours between each drip
|
|
498
|
+
*/
|
|
499
|
+
readonly timeGap: 8;
|
|
500
|
+
readonly cloudflareKey: string;
|
|
501
|
+
/**
|
|
502
|
+
* API endpoint to send the request to the faucet
|
|
503
|
+
*/
|
|
504
|
+
readonly endpoint: "https://faucet-api.testnet.berachain.com";
|
|
505
|
+
};
|
|
257
506
|
readonly urls: {
|
|
258
507
|
readonly postHogApiHost: "https://eu.i.posthog.com";
|
|
508
|
+
readonly cloudinary: "https://res.cloudinary.com/duv0g402y/image/upload/f_auto,q_auto/v1";
|
|
259
509
|
readonly homepage: string;
|
|
260
510
|
readonly ecosystem: "https://ecosystem.berachain.com/";
|
|
261
511
|
readonly docs: "https://docs.berachain.com";
|
|
@@ -399,10 +649,6 @@ declare const config: {
|
|
|
399
649
|
readonly name: "Berps";
|
|
400
650
|
readonly url: "#";
|
|
401
651
|
};
|
|
402
|
-
readonly faucet: {
|
|
403
|
-
readonly name: "Faucet";
|
|
404
|
-
readonly url: "https://bepolia.faucet.berachain.com";
|
|
405
|
-
};
|
|
406
652
|
readonly explore: {
|
|
407
653
|
readonly name: "Explore";
|
|
408
654
|
readonly url: "https://explore.berachain.com";
|
|
@@ -416,4 +662,4 @@ declare const config: {
|
|
|
416
662
|
};
|
|
417
663
|
};
|
|
418
664
|
|
|
419
|
-
export { Address, ChainId, alchemyJsonRpcUrl, defaultChainId as chainId, config, getRpcUrls, jsonRpcUrl, privateRcpUrl, publicJsonRpcUrl };
|
|
665
|
+
export { Address, ChainId, alchemyJsonRpcUrl, chainConfigs, defaultChainId as chainId, config, defaultChainId, getRpcUrls, jsonRpcUrl, privateRcpUrl, publicJsonRpcUrl };
|
package/dist/internal/index.d.ts
CHANGED
|
@@ -30,6 +30,214 @@ declare const /**
|
|
|
30
30
|
*/
|
|
31
31
|
privateRcpUrl: string | undefined;
|
|
32
32
|
|
|
33
|
+
declare const chainConfigs: {
|
|
34
|
+
readonly 80094: {
|
|
35
|
+
readonly tokens: {
|
|
36
|
+
readonly wbera: "0x6969696969696969696969696969696969696969";
|
|
37
|
+
readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
|
|
38
|
+
readonly bgt: "0x656b95E550C07a9ffe548bd4085c72418Ceb1dba";
|
|
39
|
+
readonly wbtc: "0x0555E30da8f98308EdB960aa94C0Db47230d2B9c";
|
|
40
|
+
readonly weth: "0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590";
|
|
41
|
+
};
|
|
42
|
+
readonly depositContract: "0x4242424242424242424242424242424242424242";
|
|
43
|
+
readonly pol: {
|
|
44
|
+
readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
|
|
45
|
+
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
46
|
+
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
47
|
+
readonly subgraph: string;
|
|
48
|
+
readonly bribeBoostApi: string;
|
|
49
|
+
readonly bribeBoostApiKey: string;
|
|
50
|
+
readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
|
|
51
|
+
};
|
|
52
|
+
readonly api: string;
|
|
53
|
+
readonly blocksSubgraph: string;
|
|
54
|
+
readonly bex: {
|
|
55
|
+
readonly chainName: "BERACHAIN";
|
|
56
|
+
readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
|
|
57
|
+
readonly helper: "0x5083737EC75a728c265BE578C9d0d5333a2c5951";
|
|
58
|
+
readonly queries: "0x3C612e132624f4Bd500eE1495F54565F0bcc9b59";
|
|
59
|
+
readonly relayer: "0x6044f181aB5E9C05A4ed9Ce295f3B178d2492EE7";
|
|
60
|
+
readonly factories: {
|
|
61
|
+
readonly composableStable: "0xDfA30BDa0375d4763711AB0CC8D91B20bfCC87E1";
|
|
62
|
+
readonly weighted: "0xa966fA8F2d5B087FFFA499C0C1240589371Af409";
|
|
63
|
+
};
|
|
64
|
+
readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
|
|
65
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-v1.0.2/gn";
|
|
66
|
+
readonly aggregatorsRouter: "0x1cAF3c98cE58207D21f2090164cB56a4cEf8e487";
|
|
67
|
+
readonly aggregatorsRouterExecutor: "0x5699789588384DEc3662bd71BC5C6c7f7D615c66";
|
|
68
|
+
readonly aggregatorsProxyUrl: string;
|
|
69
|
+
};
|
|
70
|
+
readonly honey: {
|
|
71
|
+
readonly name: "Honey";
|
|
72
|
+
readonly url: "https://honey.berachain.com";
|
|
73
|
+
readonly subgraph: string;
|
|
74
|
+
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
75
|
+
readonly pythWrapper: "0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606";
|
|
76
|
+
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
77
|
+
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
78
|
+
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
79
|
+
readonly isPythWrapperEnabled: boolean;
|
|
80
|
+
readonly isCustodyEnabled: boolean;
|
|
81
|
+
};
|
|
82
|
+
readonly hub: {
|
|
83
|
+
readonly name: "BeraHub";
|
|
84
|
+
readonly url: "https://hub.berachain.com";
|
|
85
|
+
};
|
|
86
|
+
readonly foundation: {
|
|
87
|
+
readonly name: "Berachain Foundation";
|
|
88
|
+
readonly url: "https://www.berachain.com";
|
|
89
|
+
};
|
|
90
|
+
readonly governance: {
|
|
91
|
+
readonly governor: "0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5";
|
|
92
|
+
readonly timelock: "0xb5f2000b5744f207c931526cAE2134cAa8b6862a";
|
|
93
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/governance-subgraph/mainnet-v1.1.1/gn";
|
|
94
|
+
};
|
|
95
|
+
readonly lists: {
|
|
96
|
+
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/mainnet.json";
|
|
97
|
+
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/mainnet.json";
|
|
98
|
+
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/mainnet.json";
|
|
99
|
+
};
|
|
100
|
+
readonly averageBlockTime: 2;
|
|
101
|
+
readonly beApiKey: string;
|
|
102
|
+
readonly bridge: {
|
|
103
|
+
readonly name: "BeraBridge";
|
|
104
|
+
readonly url: "https://bridge.berachain.com";
|
|
105
|
+
readonly nft: {
|
|
106
|
+
readonly name: "BeraBridge NFT";
|
|
107
|
+
readonly url: "https://nftbridge.berachain.com";
|
|
108
|
+
readonly eth: {
|
|
109
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/nft-bridge-subgraph/eth-v1.0.0-beta1/gn";
|
|
110
|
+
};
|
|
111
|
+
readonly berachain: {
|
|
112
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/nft-bridge-subgraph/mainnet-v1.0.0-beta1/gn";
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
readonly bend: {
|
|
117
|
+
readonly name: "Bend";
|
|
118
|
+
readonly url: "https://bend.berachain.com";
|
|
119
|
+
readonly supportedVaults: `0x${string}`[];
|
|
120
|
+
};
|
|
121
|
+
readonly berps: {
|
|
122
|
+
readonly name: "Berps";
|
|
123
|
+
readonly url: "#";
|
|
124
|
+
};
|
|
125
|
+
readonly explore: {
|
|
126
|
+
readonly name: "Explore";
|
|
127
|
+
readonly url: "https://explore.berachain.com";
|
|
128
|
+
};
|
|
129
|
+
readonly explorer: {
|
|
130
|
+
readonly name: "Berascan";
|
|
131
|
+
readonly url: "https://berascan.com";
|
|
132
|
+
};
|
|
133
|
+
readonly chain: {
|
|
134
|
+
readonly name: string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
readonly 80069: {
|
|
138
|
+
readonly tokens: {
|
|
139
|
+
readonly wbera: "0x6969696969696969696969696969696969696969";
|
|
140
|
+
readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
|
|
141
|
+
readonly bgt: "0x656b95E550C07a9ffe548bd4085c72418Ceb1dba";
|
|
142
|
+
readonly wbtc: "0x";
|
|
143
|
+
readonly weth: "0x";
|
|
144
|
+
};
|
|
145
|
+
readonly depositContract: "0x4242424242424242424242424242424242424242";
|
|
146
|
+
readonly pol: {
|
|
147
|
+
readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
|
|
148
|
+
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
149
|
+
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
150
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-v1.6.1/gn";
|
|
151
|
+
readonly bribeBoostApi: string;
|
|
152
|
+
readonly bribeBoostApiKey: string;
|
|
153
|
+
readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
|
|
154
|
+
};
|
|
155
|
+
readonly api: string;
|
|
156
|
+
readonly blocksSubgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/blocks-subgraph/bepolia-v1.1.0/gn";
|
|
157
|
+
readonly bex: {
|
|
158
|
+
readonly chainName: "BEPOLIA";
|
|
159
|
+
readonly vault: "0x708cA656b68A6b7384a488A36aD33505a77241FE";
|
|
160
|
+
readonly helper: "0xC7c981ADcDC5d48fed0CD52807fb2bAB22676C8f";
|
|
161
|
+
readonly queries: "0xE3723383a0EA73D5c0dE424BAA97F97f86f6cF92";
|
|
162
|
+
readonly relayer: "0x343215E156Ff586711a5B8C49Fe3099BAF22624C";
|
|
163
|
+
readonly factories: {
|
|
164
|
+
readonly composableStable: "0xB60DbBaCEaeC23486a64d12089F467ef949f1bb1";
|
|
165
|
+
readonly weighted: "0xf1d23276C7b271B2aC595C78977b2312E9954D57";
|
|
166
|
+
};
|
|
167
|
+
readonly poolCreationHelper: "0x0dC9964F6CA33d9EF38DEB4925234766127C6B36";
|
|
168
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-v1.0.2-rc1/gn";
|
|
169
|
+
readonly aggregatorsRouter: "0x0000000000000000000000000000000000000000";
|
|
170
|
+
readonly aggregatorsRouterExecutor: "0x0000000000000000000000000000000000000000";
|
|
171
|
+
readonly aggregatorsProxyUrl: string;
|
|
172
|
+
};
|
|
173
|
+
readonly honey: {
|
|
174
|
+
readonly name: "Honey";
|
|
175
|
+
readonly url: "https://bepolia.honey.berachain.com";
|
|
176
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/bepolia-v1.1.1/gn";
|
|
177
|
+
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
178
|
+
readonly pythWrapper: "0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606";
|
|
179
|
+
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
180
|
+
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
181
|
+
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
182
|
+
readonly isPythWrapperEnabled: boolean;
|
|
183
|
+
readonly isCustodyEnabled: boolean;
|
|
184
|
+
};
|
|
185
|
+
readonly hub: {
|
|
186
|
+
readonly name: "BeraHub";
|
|
187
|
+
readonly url: "https://bepolia.hub.berachain.com";
|
|
188
|
+
};
|
|
189
|
+
readonly foundation: {
|
|
190
|
+
readonly name: "Berachain Foundation";
|
|
191
|
+
readonly url: "https://www.berachain.com";
|
|
192
|
+
};
|
|
193
|
+
readonly governance: {
|
|
194
|
+
readonly governor: `0x${string}`;
|
|
195
|
+
readonly timelock: `0x${string}`;
|
|
196
|
+
readonly subgraph: string;
|
|
197
|
+
};
|
|
198
|
+
readonly lists: {
|
|
199
|
+
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/bepolia.json";
|
|
200
|
+
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/bepolia.json";
|
|
201
|
+
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/bepolia.json";
|
|
202
|
+
};
|
|
203
|
+
readonly averageBlockTime: 2;
|
|
204
|
+
readonly beApiKey: string;
|
|
205
|
+
readonly bridge: {
|
|
206
|
+
readonly name: "BeraBridge";
|
|
207
|
+
readonly url: "https://bepolia.bridge.berachain.com";
|
|
208
|
+
readonly nft: {
|
|
209
|
+
readonly name: "BeraBridge NFT";
|
|
210
|
+
readonly url: "#";
|
|
211
|
+
readonly eth: {
|
|
212
|
+
readonly subgraph: "#";
|
|
213
|
+
};
|
|
214
|
+
readonly berachain: {
|
|
215
|
+
readonly subgraph: "#";
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
readonly bend: {
|
|
220
|
+
readonly name: "Bend";
|
|
221
|
+
readonly url: "https://bepolia.bend.berachain.com";
|
|
222
|
+
readonly supportedVaults: Address[];
|
|
223
|
+
};
|
|
224
|
+
readonly berps: {
|
|
225
|
+
readonly name: "Berps";
|
|
226
|
+
readonly url: "#";
|
|
227
|
+
};
|
|
228
|
+
readonly explore: {
|
|
229
|
+
readonly name: "Explore";
|
|
230
|
+
readonly url: "https://explore.berachain.com";
|
|
231
|
+
};
|
|
232
|
+
readonly explorer: {
|
|
233
|
+
readonly name: "Berascan";
|
|
234
|
+
readonly url: "https://testnet.berascan.com";
|
|
235
|
+
};
|
|
236
|
+
readonly chain: {
|
|
237
|
+
readonly name: string;
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
};
|
|
33
241
|
declare const config: {
|
|
34
242
|
readonly apiKeys: {
|
|
35
243
|
readonly public: {
|
|
@@ -62,8 +270,31 @@ declare const config: {
|
|
|
62
270
|
*/
|
|
63
271
|
readonly multicall: `0x${string}`;
|
|
64
272
|
};
|
|
273
|
+
/**
|
|
274
|
+
* Public faucet configuration.
|
|
275
|
+
*
|
|
276
|
+
* Mainly used in static-monobera.
|
|
277
|
+
*/
|
|
278
|
+
readonly faucet: {
|
|
279
|
+
readonly name: "Faucet";
|
|
280
|
+
readonly url: "https://bepolia.faucet.berachain.com";
|
|
281
|
+
/**
|
|
282
|
+
* Amount of BERA the user will receive when using the faucet
|
|
283
|
+
*/
|
|
284
|
+
readonly dripAmount: 1;
|
|
285
|
+
/**
|
|
286
|
+
* Time in hours between each drip
|
|
287
|
+
*/
|
|
288
|
+
readonly timeGap: 8;
|
|
289
|
+
readonly cloudflareKey: string;
|
|
290
|
+
/**
|
|
291
|
+
* API endpoint to send the request to the faucet
|
|
292
|
+
*/
|
|
293
|
+
readonly endpoint: "https://faucet-api.testnet.berachain.com";
|
|
294
|
+
};
|
|
65
295
|
readonly urls: {
|
|
66
296
|
readonly postHogApiHost: "https://eu.i.posthog.com";
|
|
297
|
+
readonly cloudinary: "https://res.cloudinary.com/duv0g402y/image/upload/f_auto,q_auto/v1";
|
|
67
298
|
readonly homepage: string;
|
|
68
299
|
readonly ecosystem: "https://ecosystem.berachain.com/";
|
|
69
300
|
readonly docs: "https://docs.berachain.com";
|
|
@@ -207,10 +438,6 @@ declare const config: {
|
|
|
207
438
|
readonly name: "Berps";
|
|
208
439
|
readonly url: "#";
|
|
209
440
|
};
|
|
210
|
-
readonly faucet: {
|
|
211
|
-
readonly name: "Faucet";
|
|
212
|
-
readonly url: "#";
|
|
213
|
-
};
|
|
214
441
|
readonly explore: {
|
|
215
442
|
readonly name: "Explore";
|
|
216
443
|
readonly url: "https://explore.berachain.com";
|
|
@@ -254,8 +481,31 @@ declare const config: {
|
|
|
254
481
|
*/
|
|
255
482
|
readonly multicall: `0x${string}`;
|
|
256
483
|
};
|
|
484
|
+
/**
|
|
485
|
+
* Public faucet configuration.
|
|
486
|
+
*
|
|
487
|
+
* Mainly used in static-monobera.
|
|
488
|
+
*/
|
|
489
|
+
readonly faucet: {
|
|
490
|
+
readonly name: "Faucet";
|
|
491
|
+
readonly url: "https://bepolia.faucet.berachain.com";
|
|
492
|
+
/**
|
|
493
|
+
* Amount of BERA the user will receive when using the faucet
|
|
494
|
+
*/
|
|
495
|
+
readonly dripAmount: 1;
|
|
496
|
+
/**
|
|
497
|
+
* Time in hours between each drip
|
|
498
|
+
*/
|
|
499
|
+
readonly timeGap: 8;
|
|
500
|
+
readonly cloudflareKey: string;
|
|
501
|
+
/**
|
|
502
|
+
* API endpoint to send the request to the faucet
|
|
503
|
+
*/
|
|
504
|
+
readonly endpoint: "https://faucet-api.testnet.berachain.com";
|
|
505
|
+
};
|
|
257
506
|
readonly urls: {
|
|
258
507
|
readonly postHogApiHost: "https://eu.i.posthog.com";
|
|
508
|
+
readonly cloudinary: "https://res.cloudinary.com/duv0g402y/image/upload/f_auto,q_auto/v1";
|
|
259
509
|
readonly homepage: string;
|
|
260
510
|
readonly ecosystem: "https://ecosystem.berachain.com/";
|
|
261
511
|
readonly docs: "https://docs.berachain.com";
|
|
@@ -399,10 +649,6 @@ declare const config: {
|
|
|
399
649
|
readonly name: "Berps";
|
|
400
650
|
readonly url: "#";
|
|
401
651
|
};
|
|
402
|
-
readonly faucet: {
|
|
403
|
-
readonly name: "Faucet";
|
|
404
|
-
readonly url: "https://bepolia.faucet.berachain.com";
|
|
405
|
-
};
|
|
406
652
|
readonly explore: {
|
|
407
653
|
readonly name: "Explore";
|
|
408
654
|
readonly url: "https://explore.berachain.com";
|
|
@@ -416,4 +662,4 @@ declare const config: {
|
|
|
416
662
|
};
|
|
417
663
|
};
|
|
418
664
|
|
|
419
|
-
export { Address, ChainId, alchemyJsonRpcUrl, defaultChainId as chainId, config, getRpcUrls, jsonRpcUrl, privateRcpUrl, publicJsonRpcUrl };
|
|
665
|
+
export { Address, ChainId, alchemyJsonRpcUrl, chainConfigs, defaultChainId as chainId, config, defaultChainId, getRpcUrls, jsonRpcUrl, privateRcpUrl, publicJsonRpcUrl };
|
package/dist/internal/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as h}from"../chunk-
|
|
1
|
+
import{a as h,b as i}from"../chunk-G5WS7P3Y.js";import{a as c,b as d,c as e,d as f,e as g}from"../chunk-TB4XRJLK.js";import"../chunk-4ZZXDAVS.js";import"../chunk-BJUR72F2.js";import{a as b}from"../chunk-7P77HD6A.js";import{a}from"../chunk-E3O7UH5M.js";import"../chunk-WOT6VMZA.js";export{a as ChainId,f as alchemyJsonRpcUrl,h as chainConfigs,b as chainId,i as config,b as defaultChainId,c as getRpcUrls,e as jsonRpcUrl,g as privateRcpUrl,d as publicJsonRpcUrl};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }require('../../chunk-4VDLQK6F.cjs');var _defaultTheme = require('tailwindcss/defaultTheme');var _colors = require('tailwindcss/colors'); var _colors2 = _interopRequireDefault(_colors);var a={darkMode:["class"],safelist:["dark","light"],content:["src/**/*.{js,ts,jsx,tsx,mdx}","../../packages/ui/src/*.{ts,tsx}","../../packages/ui/src/**/*.{ts,tsx}","../../packages/shared-ui/src/*.{ts,tsx}","../../packages/shared-ui/src/**/*.{ts,tsx}"],theme:{fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.5rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"2rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["2rem",{lineHeight:"3rem"}],"4xl":["2.5rem",{lineHeight:"3rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}],"v2-h1":["3rem",{lineHeight:"3.5rem"}],"v2-h2":["2rem",{lineHeight:"2.5rem"}],"v2-h3":["1.5rem",{lineHeight:"2rem"}],"v2-h4":["1.25rem",{lineHeight:"1.5rem"}],"v2-base":["0.875rem",{lineHeight:"1.25rem"}],"v2-small":["0.75rem",{lineHeight:"1rem"}]},spacing:{0:"0px","2xs":"0.25rem",xs:"0.5rem",sm:"0.75rem",md:"1rem",base:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"3.5rem","4xl":"4rem","5xl":"6rem","6xl":"8rem"},borderRadius:{none:"0px","2xs":"0.125rem",xs:"0.25rem",sm:"0.5rem",md:"0.75rem",lg:"1rem",xl:"1.5rem","2xl":"2rem",full:"9999px"},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",14:"14",15:"15",16:"16"},container:{center:!0,padding:{DEFAULT:"1rem",md:"2rem",lg:"4rem"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"}},colors:{hover:"hsl(var(--hover) / <alpha-value>)",background:{DEFAULT:"hsl(var(--background) / <alpha-value>)",secondary:"hsl(var(--background-secondary) / <alpha-value>)"},foreground:"hsl(var(--foreground) / <alpha-value>)",muted:{DEFAULT:"hsl(var(--muted) / <alpha-value>)",foreground:"hsl(var(--muted-foreground) / <alpha-value>)"},primary:{DEFAULT:"hsl(var(--primary) / <alpha-value>)",foreground:"hsl(var(--primary-foreground) / <alpha-value>)"},accent:{DEFAULT:"hsl(var(--accent) / <alpha-value>)",foreground:"hsl(var(--accent-foreground) / <alpha-value>)",faucet:"#326FE5",beratrail:"#96532C",berps:"#41D6E0",bend:"#8C7FEB",honey:"#EC8A19",hub:"#FEDB71"},border:{DEFAULT:"hsl(var(--border) / <alpha-value>)",hover:"hsl(var(--border-hover) / <alpha-value>)"},input:"hsl(var(--input) / <alpha-value>)",destructive:{DEFAULT:"hsl(var(--destructive) / <alpha-value>)",foreground:"hsl(var(--destructive-foreground) / <alpha-value>)"},warning:{DEFAULT:"hsl(var(--warning) / <alpha-value>)",foreground:"hsl(var(--warning-foreground) / <alpha-value>)"},info:{DEFAULT:"hsl(var(--info) / <alpha-value>)",foreground:"hsl(var(--info-foreground) / <alpha-value>)"},success:{DEFAULT:"hsl(var(--success) / <alpha-value>)",foreground:"hsl(var(--success-foreground) / <alpha-value>)"},ring:"hsl(var(--ring) / <alpha-value>)",white:_colors2.default.white,black:_colors2.default.black,inherit:_colors2.default.inherit,transparent:_colors2.default.transparent,current:_colors2.default.current},extend:{letterSpacing:{tight1:"-0.03125rem",tight2:"-0.0625rem"},minHeight:{minimum:"calc(100vh - 191px)","screen-250":"calc(100vh - 214px)"},maxWidth:{1280:"1280px"},borderColor:{DEFAULT:"hsl(var(--border) / <alpha-value>)"},padding:{start:"106px","start-lg":"154px"},fontFamily:{sans:["var(--font-sans)",..._defaultTheme.fontFamily.sans],honey:["var(--font-honey)",..._defaultTheme.fontFamily.sans]},keyframes:{"fade-in":{from:{opacity:"0"},to:{opacity:"1"}},"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}}},animation:{"fade-in":"fade-in 0.5s linear forwards","accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"}}}};var _tailwindcssanimate = require('tailwindcss-animate'); var _tailwindcssanimate2 = _interopRequireDefault(_tailwindcssanimate);var _containerqueries = require('@tailwindcss/container-queries'); var _containerqueries2 = _interopRequireDefault(_containerqueries);var _typography = require('@tailwindcss/typography'); var _typography2 = _interopRequireDefault(_typography);var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }require('../../chunk-4VDLQK6F.cjs');var _defaultTheme = require('tailwindcss/defaultTheme');var _colors = require('tailwindcss/colors'); var _colors2 = _interopRequireDefault(_colors);var a={darkMode:["class"],safelist:["dark","light"],content:["src/**/*.{js,ts,jsx,tsx,mdx}","../../packages/ui/src/*.{ts,tsx}","../../packages/ui/src/**/*.{ts,tsx}","../../packages/shared-ui/src/*.{ts,tsx}","../../packages/shared-ui/src/**/*.{ts,tsx}"],theme:{fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.5rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"2rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["2rem",{lineHeight:"3rem"}],"4xl":["2.5rem",{lineHeight:"3rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}],"v2-h1":["3rem",{lineHeight:"3.5rem"}],"v2-h2":["2rem",{lineHeight:"2.5rem"}],"v2-h3":["1.5rem",{lineHeight:"2rem"}],"v2-h4":["1.25rem",{lineHeight:"1.5rem"}],"v2-base":["0.875rem",{lineHeight:"1.25rem"}],"v2-small":["0.75rem",{lineHeight:"1rem"}]},spacing:{0:"0px","2xs":"0.25rem",xs:"0.5rem",sm:"0.75rem",md:"1rem",base:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"3.5rem","4xl":"4rem","5xl":"6rem","6xl":"8rem"},borderRadius:{none:"0px","2xs":"0.125rem",xs:"0.25rem",sm:"0.5rem",md:"0.75rem",lg:"1rem",xl:"1.5rem","2xl":"2rem",full:"9999px"},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",14:"14",15:"15",16:"16"},container:{center:!0,padding:{DEFAULT:"1rem",md:"2rem",lg:"4rem"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"}},colors:{hover:"hsl(var(--hover) / <alpha-value>)",background:{DEFAULT:"hsl(var(--background) / <alpha-value>)",secondary:"hsl(var(--background-secondary) / <alpha-value>)"},foreground:"hsl(var(--foreground) / <alpha-value>)",muted:{DEFAULT:"hsl(var(--muted) / <alpha-value>)",foreground:"hsl(var(--muted-foreground) / <alpha-value>)"},primary:{DEFAULT:"hsl(var(--primary) / <alpha-value>)",foreground:"hsl(var(--primary-foreground) / <alpha-value>)"},accent:{DEFAULT:"hsl(var(--accent) / <alpha-value>)",foreground:"hsl(var(--accent-foreground) / <alpha-value>)",faucet:"#326FE5",beratrail:"#96532C",berps:"#41D6E0",bend:"#8C7FEB",honey:"#EC8A19",hub:"#FEDB71"},border:{DEFAULT:"hsl(var(--border) / <alpha-value>)",hover:"hsl(var(--border-hover) / <alpha-value>)"},input:"hsl(var(--input) / <alpha-value>)",destructive:{DEFAULT:"hsl(var(--destructive) / <alpha-value>)",foreground:"hsl(var(--destructive-foreground) / <alpha-value>)"},warning:{DEFAULT:"hsl(var(--warning) / <alpha-value>)",foreground:"hsl(var(--warning-foreground) / <alpha-value>)"},info:{DEFAULT:"hsl(var(--info) / <alpha-value>)",foreground:"hsl(var(--info-foreground) / <alpha-value>)"},success:{DEFAULT:"hsl(var(--success) / <alpha-value>)",foreground:"hsl(var(--success-foreground) / <alpha-value>)"},ring:"hsl(var(--ring) / <alpha-value>)",white:_colors2.default.white,black:_colors2.default.black,inherit:_colors2.default.inherit,transparent:_colors2.default.transparent,current:_colors2.default.current},extend:{letterSpacing:{tight1:"-0.03125rem",tight2:"-0.0625rem"},minHeight:{minimum:"calc(100vh - 191px)","screen-250":"calc(100vh - 214px)"},maxWidth:{1280:"1280px"},borderColor:{DEFAULT:"hsl(var(--border) / <alpha-value>)"},padding:{start:"106px","start-lg":"154px"},fontFamily:{sans:["var(--font-sans)",..._defaultTheme.fontFamily.sans],honey:["var(--font-honey)",..._defaultTheme.fontFamily.sans]},keyframes:{"fade-in":{from:{opacity:"0"},to:{opacity:"1"}},"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}}},animation:{"fade-in":"fade-in 0.5s linear forwards","accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"}}}};var _tailwindcssanimate = require('tailwindcss-animate'); var _tailwindcssanimate2 = _interopRequireDefault(_tailwindcssanimate);var _containerqueries = require('@tailwindcss/container-queries'); var _containerqueries2 = _interopRequireDefault(_containerqueries);var _typography = require('@tailwindcss/typography'); var _typography2 = _interopRequireDefault(_typography);var n={...a,plugins:[_tailwindcssanimate2.default,_containerqueries2.default,_typography2.default]},p= exports.default =n;exports.config = n; exports.default = p;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as tailwindcss_types_config from 'tailwindcss/types/config';
|
|
2
2
|
import typography from '@tailwindcss/typography';
|
|
3
3
|
|
|
4
|
-
declare const
|
|
4
|
+
declare const config: {
|
|
5
5
|
plugins: ({
|
|
6
6
|
handler: () => void;
|
|
7
7
|
} | {
|
|
@@ -244,4 +244,4 @@ declare const _default: {
|
|
|
244
244
|
};
|
|
245
245
|
};
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { config, config as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as tailwindcss_types_config from 'tailwindcss/types/config';
|
|
2
2
|
import typography from '@tailwindcss/typography';
|
|
3
3
|
|
|
4
|
-
declare const
|
|
4
|
+
declare const config: {
|
|
5
5
|
plugins: ({
|
|
6
6
|
handler: () => void;
|
|
7
7
|
} | {
|
|
@@ -244,4 +244,4 @@ declare const _default: {
|
|
|
244
244
|
};
|
|
245
245
|
};
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { config, config as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../chunk-WOT6VMZA.js";import{fontFamily as r}from"tailwindcss/defaultTheme";import e from"tailwindcss/colors";var a={darkMode:["class"],safelist:["dark","light"],content:["src/**/*.{js,ts,jsx,tsx,mdx}","../../packages/ui/src/*.{ts,tsx}","../../packages/ui/src/**/*.{ts,tsx}","../../packages/shared-ui/src/*.{ts,tsx}","../../packages/shared-ui/src/**/*.{ts,tsx}"],theme:{fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.5rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"2rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["2rem",{lineHeight:"3rem"}],"4xl":["2.5rem",{lineHeight:"3rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}],"v2-h1":["3rem",{lineHeight:"3.5rem"}],"v2-h2":["2rem",{lineHeight:"2.5rem"}],"v2-h3":["1.5rem",{lineHeight:"2rem"}],"v2-h4":["1.25rem",{lineHeight:"1.5rem"}],"v2-base":["0.875rem",{lineHeight:"1.25rem"}],"v2-small":["0.75rem",{lineHeight:"1rem"}]},spacing:{0:"0px","2xs":"0.25rem",xs:"0.5rem",sm:"0.75rem",md:"1rem",base:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"3.5rem","4xl":"4rem","5xl":"6rem","6xl":"8rem"},borderRadius:{none:"0px","2xs":"0.125rem",xs:"0.25rem",sm:"0.5rem",md:"0.75rem",lg:"1rem",xl:"1.5rem","2xl":"2rem",full:"9999px"},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",14:"14",15:"15",16:"16"},container:{center:!0,padding:{DEFAULT:"1rem",md:"2rem",lg:"4rem"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"}},colors:{hover:"hsl(var(--hover) / <alpha-value>)",background:{DEFAULT:"hsl(var(--background) / <alpha-value>)",secondary:"hsl(var(--background-secondary) / <alpha-value>)"},foreground:"hsl(var(--foreground) / <alpha-value>)",muted:{DEFAULT:"hsl(var(--muted) / <alpha-value>)",foreground:"hsl(var(--muted-foreground) / <alpha-value>)"},primary:{DEFAULT:"hsl(var(--primary) / <alpha-value>)",foreground:"hsl(var(--primary-foreground) / <alpha-value>)"},accent:{DEFAULT:"hsl(var(--accent) / <alpha-value>)",foreground:"hsl(var(--accent-foreground) / <alpha-value>)",faucet:"#326FE5",beratrail:"#96532C",berps:"#41D6E0",bend:"#8C7FEB",honey:"#EC8A19",hub:"#FEDB71"},border:{DEFAULT:"hsl(var(--border) / <alpha-value>)",hover:"hsl(var(--border-hover) / <alpha-value>)"},input:"hsl(var(--input) / <alpha-value>)",destructive:{DEFAULT:"hsl(var(--destructive) / <alpha-value>)",foreground:"hsl(var(--destructive-foreground) / <alpha-value>)"},warning:{DEFAULT:"hsl(var(--warning) / <alpha-value>)",foreground:"hsl(var(--warning-foreground) / <alpha-value>)"},info:{DEFAULT:"hsl(var(--info) / <alpha-value>)",foreground:"hsl(var(--info-foreground) / <alpha-value>)"},success:{DEFAULT:"hsl(var(--success) / <alpha-value>)",foreground:"hsl(var(--success-foreground) / <alpha-value>)"},ring:"hsl(var(--ring) / <alpha-value>)",white:e.white,black:e.black,inherit:e.inherit,transparent:e.transparent,current:e.current},extend:{letterSpacing:{tight1:"-0.03125rem",tight2:"-0.0625rem"},minHeight:{minimum:"calc(100vh - 191px)","screen-250":"calc(100vh - 214px)"},maxWidth:{1280:"1280px"},borderColor:{DEFAULT:"hsl(var(--border) / <alpha-value>)"},padding:{start:"106px","start-lg":"154px"},fontFamily:{sans:["var(--font-sans)",...r.sans],honey:["var(--font-honey)",...r.sans]},keyframes:{"fade-in":{from:{opacity:"0"},to:{opacity:"1"}},"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}}},animation:{"fade-in":"fade-in 0.5s linear forwards","accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"}}}};import i from"tailwindcss-animate";import l from"@tailwindcss/container-queries";import o from"@tailwindcss/typography";var
|
|
1
|
+
import"../../chunk-WOT6VMZA.js";import{fontFamily as r}from"tailwindcss/defaultTheme";import e from"tailwindcss/colors";var a={darkMode:["class"],safelist:["dark","light"],content:["src/**/*.{js,ts,jsx,tsx,mdx}","../../packages/ui/src/*.{ts,tsx}","../../packages/ui/src/**/*.{ts,tsx}","../../packages/shared-ui/src/*.{ts,tsx}","../../packages/shared-ui/src/**/*.{ts,tsx}"],theme:{fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.5rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"2rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["2rem",{lineHeight:"3rem"}],"4xl":["2.5rem",{lineHeight:"3rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}],"v2-h1":["3rem",{lineHeight:"3.5rem"}],"v2-h2":["2rem",{lineHeight:"2.5rem"}],"v2-h3":["1.5rem",{lineHeight:"2rem"}],"v2-h4":["1.25rem",{lineHeight:"1.5rem"}],"v2-base":["0.875rem",{lineHeight:"1.25rem"}],"v2-small":["0.75rem",{lineHeight:"1rem"}]},spacing:{0:"0px","2xs":"0.25rem",xs:"0.5rem",sm:"0.75rem",md:"1rem",base:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"3.5rem","4xl":"4rem","5xl":"6rem","6xl":"8rem"},borderRadius:{none:"0px","2xs":"0.125rem",xs:"0.25rem",sm:"0.5rem",md:"0.75rem",lg:"1rem",xl:"1.5rem","2xl":"2rem",full:"9999px"},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",14:"14",15:"15",16:"16"},container:{center:!0,padding:{DEFAULT:"1rem",md:"2rem",lg:"4rem"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"}},colors:{hover:"hsl(var(--hover) / <alpha-value>)",background:{DEFAULT:"hsl(var(--background) / <alpha-value>)",secondary:"hsl(var(--background-secondary) / <alpha-value>)"},foreground:"hsl(var(--foreground) / <alpha-value>)",muted:{DEFAULT:"hsl(var(--muted) / <alpha-value>)",foreground:"hsl(var(--muted-foreground) / <alpha-value>)"},primary:{DEFAULT:"hsl(var(--primary) / <alpha-value>)",foreground:"hsl(var(--primary-foreground) / <alpha-value>)"},accent:{DEFAULT:"hsl(var(--accent) / <alpha-value>)",foreground:"hsl(var(--accent-foreground) / <alpha-value>)",faucet:"#326FE5",beratrail:"#96532C",berps:"#41D6E0",bend:"#8C7FEB",honey:"#EC8A19",hub:"#FEDB71"},border:{DEFAULT:"hsl(var(--border) / <alpha-value>)",hover:"hsl(var(--border-hover) / <alpha-value>)"},input:"hsl(var(--input) / <alpha-value>)",destructive:{DEFAULT:"hsl(var(--destructive) / <alpha-value>)",foreground:"hsl(var(--destructive-foreground) / <alpha-value>)"},warning:{DEFAULT:"hsl(var(--warning) / <alpha-value>)",foreground:"hsl(var(--warning-foreground) / <alpha-value>)"},info:{DEFAULT:"hsl(var(--info) / <alpha-value>)",foreground:"hsl(var(--info-foreground) / <alpha-value>)"},success:{DEFAULT:"hsl(var(--success) / <alpha-value>)",foreground:"hsl(var(--success-foreground) / <alpha-value>)"},ring:"hsl(var(--ring) / <alpha-value>)",white:e.white,black:e.black,inherit:e.inherit,transparent:e.transparent,current:e.current},extend:{letterSpacing:{tight1:"-0.03125rem",tight2:"-0.0625rem"},minHeight:{minimum:"calc(100vh - 191px)","screen-250":"calc(100vh - 214px)"},maxWidth:{1280:"1280px"},borderColor:{DEFAULT:"hsl(var(--border) / <alpha-value>)"},padding:{start:"106px","start-lg":"154px"},fontFamily:{sans:["var(--font-sans)",...r.sans],honey:["var(--font-honey)",...r.sans]},keyframes:{"fade-in":{from:{opacity:"0"},to:{opacity:"1"}},"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}}},animation:{"fade-in":"fade-in 0.5s linear forwards","accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"}}}};import i from"tailwindcss-animate";import l from"@tailwindcss/container-queries";import o from"@tailwindcss/typography";var n={...a,plugins:[i,l,o]},p=n;export{n as config,p as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }require('../../chunk-4VDLQK6F.cjs');var _tsup = require('tsup');function
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }require('../../chunk-4VDLQK6F.cjs');var _tsup = require('tsup');function n(t,i){return Array.isArray(t)?t.map(s=>n(s,i)):{...{format:["esm"],clean:!i.watch,splitting:!0,outDir:"dist",skipNodeModulesBundle:!0,minify:!i.watch,sourcemap:process.env.UPLOAD_SOURCEMAPS==="true",dts:process.env.VERCEL!=="1",plugins:[],esbuildOptions:(s,o)=>{s.jsx="automatic",_optionalChain([t, 'access', _ => _.esbuildOptions, 'optionalCall', _2 => _2(s,o)])}},...t}}var p=t=>_tsup.defineConfig.call(void 0, async i=>{let e;return typeof t=="function"?e=await t(i):e=t,Array.isArray(e)?e.map(s=>n(s,i)):n(e,i)}),u= exports.default =p;exports.beraTsupConfig = p; exports.default = u;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Options } from 'tsup';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
type MaybePromise<T> = T | Promise<T>;
|
|
4
|
+
declare const beraTsupConfig: (config: Options | Options[] | ((overrideOptions: Options) => MaybePromise<Options | Options[]>)) => Options | Options[] | ((overrideOptions: Options) => MaybePromise<Options | Options[]>);
|
|
4
5
|
|
|
5
6
|
export { beraTsupConfig, beraTsupConfig as default };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Options } from 'tsup';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
type MaybePromise<T> = T | Promise<T>;
|
|
4
|
+
declare const beraTsupConfig: (config: Options | Options[] | ((overrideOptions: Options) => MaybePromise<Options | Options[]>)) => Options | Options[] | ((overrideOptions: Options) => MaybePromise<Options | Options[]>);
|
|
4
5
|
|
|
5
6
|
export { beraTsupConfig, beraTsupConfig as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../chunk-WOT6VMZA.js";import{defineConfig as
|
|
1
|
+
import"../../chunk-WOT6VMZA.js";import{defineConfig as r}from"tsup";function n(t,i){return Array.isArray(t)?t.map(s=>n(s,i)):{...{format:["esm"],clean:!i.watch,splitting:!0,outDir:"dist",skipNodeModulesBundle:!0,minify:!i.watch,sourcemap:process.env.UPLOAD_SOURCEMAPS==="true",dts:process.env.VERCEL!=="1",plugins:[],esbuildOptions:(s,o)=>{s.jsx="automatic",t.esbuildOptions?.(s,o)}},...t}}var p=t=>r(async i=>{let e;return typeof t=="function"?e=await t(i):e=t,Array.isArray(e)?e.map(s=>n(s,i)):n(e,i)}),u=p;export{p as beraTsupConfig,u as default};
|
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 _chunk6RLCJYH2cjs = require('./chunk-6RLCJYH2.cjs');require('./chunk-4VDLQK6F.cjs');exports.default = _chunk6RLCJYH2cjs.b; exports.mainnet = _chunk6RLCJYH2cjs.a;
|
package/dist/mainnet.d.cts
CHANGED
|
@@ -89,10 +89,6 @@ declare const mainnet: {
|
|
|
89
89
|
readonly name: "Berps";
|
|
90
90
|
readonly url: "#";
|
|
91
91
|
};
|
|
92
|
-
readonly faucet: {
|
|
93
|
-
readonly name: "Faucet";
|
|
94
|
-
readonly url: "#";
|
|
95
|
-
};
|
|
96
92
|
readonly explore: {
|
|
97
93
|
readonly name: "Explore";
|
|
98
94
|
readonly url: "https://explore.berachain.com";
|
package/dist/mainnet.d.ts
CHANGED
|
@@ -89,10 +89,6 @@ declare const mainnet: {
|
|
|
89
89
|
readonly name: "Berps";
|
|
90
90
|
readonly url: "#";
|
|
91
91
|
};
|
|
92
|
-
readonly faucet: {
|
|
93
|
-
readonly name: "Faucet";
|
|
94
|
-
readonly url: "#";
|
|
95
|
-
};
|
|
96
92
|
readonly explore: {
|
|
97
93
|
readonly name: "Explore";
|
|
98
94
|
readonly url: "https://explore.berachain.com";
|
package/dist/mainnet.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"./chunk-
|
|
1
|
+
import{a,b}from"./chunk-BJUR72F2.js";import"./chunk-WOT6VMZA.js";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.3-beta.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@sentry/esbuild-plugin": "3.3.1",
|
|
12
|
+
"tailwindcss": "3.4.17",
|
|
12
13
|
"@tailwindcss/aspect-ratio": "0.4.2",
|
|
13
14
|
"@tailwindcss/container-queries": "0.1.1",
|
|
14
15
|
"@tailwindcss/typography": "0.5.16",
|
|
@@ -22,20 +23,25 @@
|
|
|
22
23
|
},
|
|
23
24
|
"peerDependencies": {
|
|
24
25
|
"@flags-sdk/edge-config": "0.1.0",
|
|
26
|
+
"@vercel/edge-config": "1.4.0",
|
|
25
27
|
"@sentry/esbuild-plugin": "^3.3.0",
|
|
26
28
|
"@sentry/nextjs": "^8.52.1",
|
|
27
29
|
"@tailwindcss/aspect-ratio": "~0.4.2",
|
|
28
30
|
"@tailwindcss/container-queries": "~0.4.1",
|
|
29
31
|
"@tailwindcss/typography": "~0.5.15",
|
|
30
|
-
"next": "^
|
|
32
|
+
"next": "^15.5",
|
|
31
33
|
"flags": "4.0.1",
|
|
32
|
-
"
|
|
34
|
+
"dotenv": "16.6.1",
|
|
35
|
+
"tailwindcss-animate": "1.0.7",
|
|
33
36
|
"tsup": "^8.4.0"
|
|
34
37
|
},
|
|
35
38
|
"peerDependenciesMeta": {
|
|
36
39
|
"@flags-sdk/edge-config": {
|
|
37
40
|
"optional": true
|
|
38
41
|
},
|
|
42
|
+
"@vercel/edge-config": {
|
|
43
|
+
"optional": true
|
|
44
|
+
},
|
|
39
45
|
"@sentry/nextjs": {
|
|
40
46
|
"optional": true
|
|
41
47
|
},
|
|
@@ -45,6 +51,9 @@
|
|
|
45
51
|
"flags": {
|
|
46
52
|
"optional": true
|
|
47
53
|
},
|
|
54
|
+
"dotenv": {
|
|
55
|
+
"optional": true
|
|
56
|
+
},
|
|
48
57
|
"next": {
|
|
49
58
|
"optional": true
|
|
50
59
|
},
|
|
@@ -142,6 +151,7 @@
|
|
|
142
151
|
"build": "tsup",
|
|
143
152
|
"clean": "git clean -xdf dist .turbo node_modules",
|
|
144
153
|
"dev": "tsup --watch",
|
|
154
|
+
"lint": "biome lint",
|
|
145
155
|
"postinstall": "pnpm generate:edge-config",
|
|
146
156
|
"generate:edge-config": "pnpm dlx json-schema-to-typescript ./src/internal/edge-config/edgeConfig.schema.json -o src/internal/edge-config/edgeConfig.codegen.ts",
|
|
147
157
|
"test": "vitest",
|
package/dist/chunk-DILGFNLD.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{getAddress as a}from"viem";var t={tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x0555E30da8f98308EdB960aa94C0Db47230d2B9c",weth:"0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590"},depositContract:"0x4242424242424242424242424242424242424242",pol:{beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:process.env.NEXT_PUBLIC_80094_POL_SUBGRAPH??"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/mainnet-v1.6.1/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??"https://api.berachain.com",blocksSubgraph:process.env.NEXT_PUBLIC_80094_BLOCKS_SUBGRAPH??"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/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:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-v1.0.2/gn",aggregatorsRouter:"0x1cAF3c98cE58207D21f2090164cB56a4cEf8e487",aggregatorsRouterExecutor:"0x5699789588384DEc3662bd71BC5C6c7f7D615c66",aggregatorsProxyUrl:process.env.NEXT_PUBLIC_80094_AGGREGATORS_PROXY_URL??"https://gateway.mainnet.berachain.com/proxy"},honey:{name:"Honey",url:"https://honey.berachain.com",subgraph:process.env.NEXT_PUBLIC_80094_HONEY_SUBGRAPH??"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/mainnet-v1.1.1/gn",factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythWrapper:"0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606",pyth:"0x2880aB155794e7179c9eE2e38200202908C17B43",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce",isPythWrapperEnabled:process.env.NEXT_PUBLIC_80094_HONEY_PYTH_STATUS==="active",isCustodyEnabled:process.env.NEXT_PUBLIC_80094_HONEY_COINBASE_CUSTODY_ENABLED==="true"||process.env.NEXT_PUBLIC_80094_HONEY_COINBASE_CUSTODY_ENABLED===void 0},hub:{name:"BeraHub",url:"https://hub.berachain.com"},foundation:{name:"Berachain Foundation",url:"https://www.berachain.com"},governance:{governor:"0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5",timelock:"0xb5f2000b5744f207c931526cAE2134cAa8b6862a",subgraph:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/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"},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:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/nft-bridge-subgraph/eth-v1.0.0-beta1/gn"},berachain:{subgraph:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/nft-bridge-subgraph/mainnet-v1.0.0-beta1/gn"}}},bend:{name:"Bend",url:"https://bend.berachain.com",supportedVaults:(process.env.NEXT_PUBLIC_80094_BEND_SUPPORTED_VAULTS??"0xdd69bF9bDe6687576f24aDFd5d7062e3B1cbe468,0x49113227c71f4E2279ad75e4d508a0f9BB6c6108").split(",").filter(Boolean).map(e=>a(e))},berps:{name:"Berps",url:"#"},faucet:{name:"Faucet",url:"#"},explore:{name:"Explore",url:"https://explore.berachain.com"},explorer:{name:"Berascan",url:"https://berascan.com"},chain:{name:process.env.NEXT_PUBLIC_CHAIN_NAME??"Berachain"}},c=t;export{t as a,c as b};
|
package/dist/chunk-TQ3O2NSK.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 _viem = require('viem');var t={tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x0555E30da8f98308EdB960aa94C0Db47230d2B9c",weth:"0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590"},depositContract:"0x4242424242424242424242424242424242424242",pol:{beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_POL_SUBGRAPH, () => ("https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/mainnet-v1.6.1/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(process.env.PRIVATE_80094_BEX_API_URL, () => ("https://api.berachain.com")),blocksSubgraph:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_BLOCKS_SUBGRAPH, () => ("https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/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:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-v1.0.2/gn",aggregatorsRouter:"0x1cAF3c98cE58207D21f2090164cB56a4cEf8e487",aggregatorsRouterExecutor:"0x5699789588384DEc3662bd71BC5C6c7f7D615c66",aggregatorsProxyUrl:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_AGGREGATORS_PROXY_URL, () => ("https://gateway.mainnet.berachain.com/proxy"))},honey:{name:"Honey",url:"https://honey.berachain.com",subgraph:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_HONEY_SUBGRAPH, () => ("https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/mainnet-v1.1.1/gn")),factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythWrapper:"0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606",pyth:"0x2880aB155794e7179c9eE2e38200202908C17B43",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce",isPythWrapperEnabled:process.env.NEXT_PUBLIC_80094_HONEY_PYTH_STATUS==="active",isCustodyEnabled:process.env.NEXT_PUBLIC_80094_HONEY_COINBASE_CUSTODY_ENABLED==="true"||process.env.NEXT_PUBLIC_80094_HONEY_COINBASE_CUSTODY_ENABLED===void 0},hub:{name:"BeraHub",url:"https://hub.berachain.com"},foundation:{name:"Berachain Foundation",url:"https://www.berachain.com"},governance:{governor:"0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5",timelock:"0xb5f2000b5744f207c931526cAE2134cAa8b6862a",subgraph:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/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"},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:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/nft-bridge-subgraph/eth-v1.0.0-beta1/gn"},berachain:{subgraph:"https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/nft-bridge-subgraph/mainnet-v1.0.0-beta1/gn"}}},bend:{name:"Bend",url:"https://bend.berachain.com",supportedVaults:(_nullishCoalesce(process.env.NEXT_PUBLIC_80094_BEND_SUPPORTED_VAULTS, () => ("0xdd69bF9bDe6687576f24aDFd5d7062e3B1cbe468,0x49113227c71f4E2279ad75e4d508a0f9BB6c6108"))).split(",").filter(Boolean).map(e=>_viem.getAddress.call(void 0, e))},berps:{name:"Berps",url:"#"},faucet:{name:"Faucet",url:"#"},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"))}},c= exports.b =t;exports.a = t; exports.b = c;
|
package/dist/chunk-V24JGYF7.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 _chunkC6MUJXOPcjs = require('./chunk-C6MUJXOP.cjs');var _chunkTQ3O2NSKcjs = require('./chunk-TQ3O2NSK.cjs');var _chunkAEEJBUVNcjs = require('./chunk-AEEJBUVN.cjs');var o=_chunkAEEJBUVNcjs.a===80094?_chunkTQ3O2NSKcjs.a:_chunkC6MUJXOPcjs.a,t={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:{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"},urls:{postHogApiHost:"https://eu.i.posthog.com",homepage:_nullishCoalesce(process.env.NEXT_PUBLIC_HOMEPAGE_URL, () => ("https://www.berachain.com")),ecosystem:"https://ecosystem.berachain.com/",docs:"https://docs.berachain.com",careers:"https://careers.berachain.com/",mediaKit:"https://drive.google.com/drive/folders/1r658Px_VhjiUEC4AQAhHRCBeVKjcRWU6",blog:"https://blog.berachain.com/",twitter:"https://x.com/berachain",telegram:"https://t.me/BerachainPortal",discord:"https://discord.com/invite/berachain",github:"https://github.com/berachain"},flags:{developmentAnalyticsEnabled:process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS!=="0"&&!!process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS,disallowIndexing:_chunkAEEJBUVNcjs.a!==80094&&_chunkAEEJBUVNcjs.a!==80069,hideCurator:!1},bend:{...o.bend,liquidationWarningLtvMargin:.05,maxBorrowLtvMargin:1e-4,publicAllocatorSupplyTargetUtilizationWad:BigInt(9e17)}},p= exports.a ={...o,...t};exports.a = p;
|
package/dist/chunk-ZBFETLTJ.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk-LI4NSLBM.js";import{a as s}from"./chunk-DILGFNLD.js";import{a}from"./chunk-7P77HD6A.js";var o=a===80094?s:e,t={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:{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"},urls:{postHogApiHost:"https://eu.i.posthog.com",homepage:process.env.NEXT_PUBLIC_HOMEPAGE_URL??"https://www.berachain.com",ecosystem:"https://ecosystem.berachain.com/",docs:"https://docs.berachain.com",careers:"https://careers.berachain.com/",mediaKit:"https://drive.google.com/drive/folders/1r658Px_VhjiUEC4AQAhHRCBeVKjcRWU6",blog:"https://blog.berachain.com/",twitter:"https://x.com/berachain",telegram:"https://t.me/BerachainPortal",discord:"https://discord.com/invite/berachain",github:"https://github.com/berachain"},flags:{developmentAnalyticsEnabled:process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS!=="0"&&!!process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS,disallowIndexing:a!==80094&&a!==80069,hideCurator:!1},bend:{...o.bend,liquidationWarningLtvMargin:.05,maxBorrowLtvMargin:1e-4,publicAllocatorSupplyTargetUtilizationWad:BigInt(9e17)}},p={...o,...t};export{p as a};
|