@berachain/config 0.0.3-beta.1 → 0.0.3-beta.3
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/chunk-CPGCQL6H.cjs +1 -0
- package/dist/chunk-JTPDAOC4.js +1 -0
- package/dist/internal/header-sources.cjs +8 -8
- package/dist/internal/header-sources.js +8 -8
- package/dist/internal/index.cjs +1 -1
- package/dist/internal/index.d.cts +30 -138
- package/dist/internal/index.d.ts +30 -138
- package/dist/internal/index.js +1 -1
- package/package.json +1 -2
- package/dist/chunk-G5WS7P3Y.js +0 -1
- package/dist/chunk-YC3A5DT2.cjs +0 -1
|
@@ -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 e={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:{liquidationWarningLtvMargin:.05,maxBorrowLtvMargin:1e-4,publicAllocatorSupplyTargetUtilizationWad:BigInt(9e17)}};var i={80094:_chunk6RLCJYH2cjs.a,80069:_chunkK62SDMWXcjs.a},s=i[_chunkAEEJBUVNcjs.a],g= exports.c ={...s,...e,bend:{...s.bend,...e.bend}};exports.a = e; exports.b = i; exports.c = g;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"./chunk-4ZZXDAVS.js";import{a as t}from"./chunk-BJUR72F2.js";import{a}from"./chunk-7P77HD6A.js";var e={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:{liquidationWarningLtvMargin:.05,maxBorrowLtvMargin:1e-4,publicAllocatorSupplyTargetUtilizationWad:BigInt(9e17)}};var i={80094:t,80069:o},s=i[a],g={...s,...e,bend:{...s.bend,...e.bend}};export{e as a,i as b,g as c};
|
|
@@ -1,13 +1,13 @@
|
|
|
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
|
|
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 _chunkCPGCQL6Hcjs = require('../chunk-CPGCQL6H.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 w({isDevelopment:o,nonce:i,...s}){let p=["https://*.berachain.com/","https://*.berachain-staging.com/","wss://www.walletlink.org/rpc",`https://*.dynamicauth.com/api/v0/sdk/${_chunkCPGCQL6Hcjs.c.apiKeys.public.dynamicWallet}/`,`https://logs.dynamicauth.com/api/v1/${_chunkCPGCQL6Hcjs.c.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",_chunkCPGCQL6Hcjs.c.governance.subgraph,_chunkCPGCQL6Hcjs.c.honey.subgraph,_chunkCPGCQL6Hcjs.c.pol.subgraph,_chunkCPGCQL6Hcjs.c.pol.bribeBoostApi,_chunkCPGCQL6Hcjs.c.bex.subgraph,_chunkCPGCQL6Hcjs.c.api,_chunkCPGCQL6Hcjs.c.blocksSubgraph,_chunkRJW7M2BAcjs.c,_chunkRJW7M2BAcjs.b,_chunkRJW7M2BAcjs.d,"https://open-api.openocean.finance/","https://api.haiku.trade/","https://api.magpiefi.xyz/",`${_chunkCPGCQL6Hcjs.c.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,f)=>!e||e.trim()===""?(process.env.NODE_ENV==="production"&&console.warn("One of connectionSources is empty or undefined. Idx:",f),!1):!0),l=["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),h=["https://verify.walletconnect.com/","https://verify.walletconnect.org/","https://*.posthog.com","https://vercel.live/"].concat(_nullishCoalesce(s.frameSources, () => ([]))),m=["https://cdn.jsdelivr.net/npm/@fontsource/","https://*.posthog.com","https://vercel.live","https://assets.vercel.com"].concat(_nullishCoalesce(s.fontSources, () => ([]))),u=["https://*.posthog.com","https://vercel.live"].concat(_nullishCoalesce(s.styleSources, () => ([])));return`
|
|
2
2
|
default-src 'self';
|
|
3
3
|
base-uri 'self';
|
|
4
|
-
frame-src 'self' ${
|
|
4
|
+
frame-src 'self' ${h.join(" ")};
|
|
5
5
|
frame-ancestors 'self' https://*.posthog.com;
|
|
6
|
-
script-src 'self' 'sha256-k2HGvaYkGyYZxOwKGxgE1mr06tZEDcEXNZ5mdcldK0o=' 'nonce-${
|
|
6
|
+
script-src 'self' 'sha256-k2HGvaYkGyYZxOwKGxgE1mr06tZEDcEXNZ5mdcldK0o=' 'nonce-${i}' https://*.posthog.com 'strict-dynamic' ${o?"'unsafe-eval'":""};
|
|
7
7
|
worker-src 'self' blob: data:;
|
|
8
|
-
font-src 'self' ${
|
|
9
|
-
style-src 'self' ${
|
|
10
|
-
img-src 'self' data: ${
|
|
11
|
-
connect-src 'self' ${
|
|
8
|
+
font-src 'self' ${m.join(" ")};
|
|
9
|
+
style-src 'self' ${u.join(" ")} 'unsafe-inline';
|
|
10
|
+
img-src 'self' data: ${l.join(" ")};
|
|
11
|
+
connect-src 'self' ${p.join(" ")};
|
|
12
12
|
media-src https://*.posthog.com;
|
|
13
|
-
`.replace(/\s{2,}/g," ").trim()}var
|
|
13
|
+
`.replace(/\s{2,}/g," ").trim()}var v=[_nullishCoalesce((_optionalChain([_chunkCPGCQL6Hcjs.a, 'access', _ => _.urls, 'access', _2 => _2.cloudinary, 'optionalAccess', _3 => _3.split, 'call', _4 => _4("image"), 'access', _5 => _5[0]])||_optionalChain([_chunkCPGCQL6Hcjs.a, '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 = w; exports.staticPictureSources = v;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a as c,c as t}from"../chunk-JTPDAOC4.js";import{b as n,c as r,d as a}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 w({isDevelopment:o,nonce:i,...s}){let p=["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,r,n,a,"https://open-api.openocean.finance/","https://api.haiku.trade/","https://api.magpiefi.xyz/",`${t.bex.aggregatorsProxyUrl}/`,"wss://relay.walletconnect.com/","wss://relay.walletconnect.org/","https://api.routescan.io/v2/network/","wss://metamask-sdk.api.cx.metamask.io/socket.io/","https://*.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,f)=>!e||e.trim()===""?(process.env.NODE_ENV==="production"&&console.warn("One of connectionSources is empty or undefined. Idx:",f),!1):!0),l=["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),h=["https://verify.walletconnect.com/","https://verify.walletconnect.org/","https://*.posthog.com","https://vercel.live/"].concat(s.frameSources??[]),m=["https://cdn.jsdelivr.net/npm/@fontsource/","https://*.posthog.com","https://vercel.live","https://assets.vercel.com"].concat(s.fontSources??[]),u=["https://*.posthog.com","https://vercel.live"].concat(s.styleSources??[]);return`
|
|
2
2
|
default-src 'self';
|
|
3
3
|
base-uri 'self';
|
|
4
|
-
frame-src 'self' ${
|
|
4
|
+
frame-src 'self' ${h.join(" ")};
|
|
5
5
|
frame-ancestors 'self' https://*.posthog.com;
|
|
6
|
-
script-src 'self' 'sha256-k2HGvaYkGyYZxOwKGxgE1mr06tZEDcEXNZ5mdcldK0o=' 'nonce-${
|
|
6
|
+
script-src 'self' 'sha256-k2HGvaYkGyYZxOwKGxgE1mr06tZEDcEXNZ5mdcldK0o=' 'nonce-${i}' https://*.posthog.com 'strict-dynamic' ${o?"'unsafe-eval'":""};
|
|
7
7
|
worker-src 'self' blob: data:;
|
|
8
|
-
font-src 'self' ${
|
|
9
|
-
style-src 'self' ${
|
|
10
|
-
img-src 'self' data: ${
|
|
11
|
-
connect-src 'self' ${
|
|
8
|
+
font-src 'self' ${m.join(" ")};
|
|
9
|
+
style-src 'self' ${u.join(" ")} 'unsafe-inline';
|
|
10
|
+
img-src 'self' data: ${l.join(" ")};
|
|
11
|
+
connect-src 'self' ${p.join(" ")};
|
|
12
12
|
media-src https://*.posthog.com;
|
|
13
|
-
`.replace(/\s{2,}/g," ").trim()}var
|
|
13
|
+
`.replace(/\s{2,}/g," ").trim()}var v=[(c.urls.cloudinary?.split("image")[0]||c.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{w as getContentSecurityPolicy,v 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 _chunkCPGCQL6Hcjs = require('../chunk-CPGCQL6H.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 = _chunkCPGCQL6Hcjs.b; exports.chainId = _chunkAEEJBUVNcjs.a; exports.config = _chunkCPGCQL6Hcjs.c; exports.defaultChainId = _chunkAEEJBUVNcjs.a; exports.getRpcUrls = _chunkRJW7M2BAcjs.a; exports.jsonRpcUrl = _chunkRJW7M2BAcjs.c; exports.privateRcpUrl = _chunkRJW7M2BAcjs.e; exports.publicJsonRpcUrl = _chunkRJW7M2BAcjs.b;
|
|
@@ -239,12 +239,23 @@ declare const chainConfigs: {
|
|
|
239
239
|
};
|
|
240
240
|
};
|
|
241
241
|
declare const config: {
|
|
242
|
+
readonly bend: {
|
|
243
|
+
readonly liquidationWarningLtvMargin: 0.05;
|
|
244
|
+
readonly maxBorrowLtvMargin: 0.0001;
|
|
245
|
+
readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
|
|
246
|
+
readonly name: "Bend";
|
|
247
|
+
readonly url: "https://bend.berachain.com";
|
|
248
|
+
readonly supportedVaults: `0x${string}`[];
|
|
249
|
+
} | {
|
|
250
|
+
readonly liquidationWarningLtvMargin: 0.05;
|
|
251
|
+
readonly maxBorrowLtvMargin: 0.0001;
|
|
252
|
+
readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
|
|
253
|
+
readonly name: "Bend";
|
|
254
|
+
readonly url: "https://bepolia.bend.berachain.com";
|
|
255
|
+
readonly supportedVaults: Address[];
|
|
256
|
+
};
|
|
242
257
|
readonly apiKeys: {
|
|
243
258
|
readonly public: {
|
|
244
|
-
/**
|
|
245
|
-
* This is only going to work on whitelisted domains.
|
|
246
|
-
* Please create your own API key and add it to your .env.local file
|
|
247
|
-
*/
|
|
248
259
|
readonly dynamicWallet: string;
|
|
249
260
|
readonly postHogProjectKey: "phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax";
|
|
250
261
|
readonly cookie3SiteId: string;
|
|
@@ -258,38 +269,15 @@ declare const config: {
|
|
|
258
269
|
};
|
|
259
270
|
};
|
|
260
271
|
readonly addresses: {
|
|
261
|
-
/**
|
|
262
|
-
* This is an hardcoded value in contracts to detected wheter governance can
|
|
263
|
-
* change pool fees and amplification parameter.
|
|
264
|
-
*
|
|
265
|
-
* @see https://docs.balancer.fi/concepts/pools/more/configuration.html#fees
|
|
266
|
-
*/
|
|
267
272
|
readonly balancerDelegatedOwnership: `0x${string}`;
|
|
268
|
-
/**
|
|
269
|
-
* This is on genesis for Berachain
|
|
270
|
-
*/
|
|
271
273
|
readonly multicall: `0x${string}`;
|
|
272
274
|
};
|
|
273
|
-
/**
|
|
274
|
-
* Public faucet configuration.
|
|
275
|
-
*
|
|
276
|
-
* Mainly used in static-monobera.
|
|
277
|
-
*/
|
|
278
275
|
readonly faucet: {
|
|
279
276
|
readonly name: "Faucet";
|
|
280
277
|
readonly url: "https://bepolia.faucet.berachain.com";
|
|
281
|
-
/**
|
|
282
|
-
* Amount of BERA the user will receive when using the faucet
|
|
283
|
-
*/
|
|
284
278
|
readonly dripAmount: 1;
|
|
285
|
-
/**
|
|
286
|
-
* Time in hours between each drip
|
|
287
|
-
*/
|
|
288
279
|
readonly timeGap: 8;
|
|
289
280
|
readonly cloudflareKey: string;
|
|
290
|
-
/**
|
|
291
|
-
* API endpoint to send the request to the faucet
|
|
292
|
-
*/
|
|
293
281
|
readonly endpoint: "https://faucet-api.testnet.berachain.com";
|
|
294
282
|
};
|
|
295
283
|
readonly urls: {
|
|
@@ -308,51 +296,9 @@ declare const config: {
|
|
|
308
296
|
};
|
|
309
297
|
readonly flags: {
|
|
310
298
|
readonly developmentAnalyticsEnabled: boolean;
|
|
311
|
-
/**
|
|
312
|
-
* Disallow SEO indexing for non-mainnet deployments
|
|
313
|
-
*/
|
|
314
299
|
readonly disallowIndexing: boolean;
|
|
315
300
|
readonly hideCurator: false;
|
|
316
301
|
};
|
|
317
|
-
readonly bend: {
|
|
318
|
-
/**
|
|
319
|
-
* Margin from max LTV where warning will be shown about liquidation risk.
|
|
320
|
-
* e.g. if max LTV is 0.8, warning will show at 0.75
|
|
321
|
-
*/
|
|
322
|
-
readonly liquidationWarningLtvMargin: 0.05;
|
|
323
|
-
/**
|
|
324
|
-
* Safety margin subtracted from max LTV to determine borrow limit.
|
|
325
|
-
* e.g. if max LTV is 0.945, borrow limit will be 0.9449
|
|
326
|
-
*/
|
|
327
|
-
readonly maxBorrowLtvMargin: 0.0001;
|
|
328
|
-
/**
|
|
329
|
-
* Target utilization rate for public allocator supply in WAD format (18 decimals).
|
|
330
|
-
* Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
|
|
331
|
-
*/
|
|
332
|
-
readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
|
|
333
|
-
readonly name: "Bend";
|
|
334
|
-
readonly url: "https://bend.berachain.com";
|
|
335
|
-
readonly supportedVaults: `0x${string}`[];
|
|
336
|
-
} | {
|
|
337
|
-
/**
|
|
338
|
-
* Margin from max LTV where warning will be shown about liquidation risk.
|
|
339
|
-
* e.g. if max LTV is 0.8, warning will show at 0.75
|
|
340
|
-
*/
|
|
341
|
-
readonly liquidationWarningLtvMargin: 0.05;
|
|
342
|
-
/**
|
|
343
|
-
* Safety margin subtracted from max LTV to determine borrow limit.
|
|
344
|
-
* e.g. if max LTV is 0.945, borrow limit will be 0.9449
|
|
345
|
-
*/
|
|
346
|
-
readonly maxBorrowLtvMargin: 0.0001;
|
|
347
|
-
/**
|
|
348
|
-
* Target utilization rate for public allocator supply in WAD format (18 decimals).
|
|
349
|
-
* Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
|
|
350
|
-
*/
|
|
351
|
-
readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
|
|
352
|
-
readonly name: "Bend";
|
|
353
|
-
readonly url: "https://bepolia.bend.berachain.com";
|
|
354
|
-
readonly supportedVaults: Address[];
|
|
355
|
-
};
|
|
356
302
|
readonly tokens: {
|
|
357
303
|
readonly wbera: "0x6969696969696969696969696969696969696969";
|
|
358
304
|
readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
|
|
@@ -450,12 +396,23 @@ declare const config: {
|
|
|
450
396
|
readonly name: string;
|
|
451
397
|
};
|
|
452
398
|
} | {
|
|
399
|
+
readonly bend: {
|
|
400
|
+
readonly liquidationWarningLtvMargin: 0.05;
|
|
401
|
+
readonly maxBorrowLtvMargin: 0.0001;
|
|
402
|
+
readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
|
|
403
|
+
readonly name: "Bend";
|
|
404
|
+
readonly url: "https://bend.berachain.com";
|
|
405
|
+
readonly supportedVaults: `0x${string}`[];
|
|
406
|
+
} | {
|
|
407
|
+
readonly liquidationWarningLtvMargin: 0.05;
|
|
408
|
+
readonly maxBorrowLtvMargin: 0.0001;
|
|
409
|
+
readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
|
|
410
|
+
readonly name: "Bend";
|
|
411
|
+
readonly url: "https://bepolia.bend.berachain.com";
|
|
412
|
+
readonly supportedVaults: Address[];
|
|
413
|
+
};
|
|
453
414
|
readonly apiKeys: {
|
|
454
415
|
readonly public: {
|
|
455
|
-
/**
|
|
456
|
-
* This is only going to work on whitelisted domains.
|
|
457
|
-
* Please create your own API key and add it to your .env.local file
|
|
458
|
-
*/
|
|
459
416
|
readonly dynamicWallet: string;
|
|
460
417
|
readonly postHogProjectKey: "phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax";
|
|
461
418
|
readonly cookie3SiteId: string;
|
|
@@ -469,38 +426,15 @@ declare const config: {
|
|
|
469
426
|
};
|
|
470
427
|
};
|
|
471
428
|
readonly addresses: {
|
|
472
|
-
/**
|
|
473
|
-
* This is an hardcoded value in contracts to detected wheter governance can
|
|
474
|
-
* change pool fees and amplification parameter.
|
|
475
|
-
*
|
|
476
|
-
* @see https://docs.balancer.fi/concepts/pools/more/configuration.html#fees
|
|
477
|
-
*/
|
|
478
429
|
readonly balancerDelegatedOwnership: `0x${string}`;
|
|
479
|
-
/**
|
|
480
|
-
* This is on genesis for Berachain
|
|
481
|
-
*/
|
|
482
430
|
readonly multicall: `0x${string}`;
|
|
483
431
|
};
|
|
484
|
-
/**
|
|
485
|
-
* Public faucet configuration.
|
|
486
|
-
*
|
|
487
|
-
* Mainly used in static-monobera.
|
|
488
|
-
*/
|
|
489
432
|
readonly faucet: {
|
|
490
433
|
readonly name: "Faucet";
|
|
491
434
|
readonly url: "https://bepolia.faucet.berachain.com";
|
|
492
|
-
/**
|
|
493
|
-
* Amount of BERA the user will receive when using the faucet
|
|
494
|
-
*/
|
|
495
435
|
readonly dripAmount: 1;
|
|
496
|
-
/**
|
|
497
|
-
* Time in hours between each drip
|
|
498
|
-
*/
|
|
499
436
|
readonly timeGap: 8;
|
|
500
437
|
readonly cloudflareKey: string;
|
|
501
|
-
/**
|
|
502
|
-
* API endpoint to send the request to the faucet
|
|
503
|
-
*/
|
|
504
438
|
readonly endpoint: "https://faucet-api.testnet.berachain.com";
|
|
505
439
|
};
|
|
506
440
|
readonly urls: {
|
|
@@ -519,51 +453,9 @@ declare const config: {
|
|
|
519
453
|
};
|
|
520
454
|
readonly flags: {
|
|
521
455
|
readonly developmentAnalyticsEnabled: boolean;
|
|
522
|
-
/**
|
|
523
|
-
* Disallow SEO indexing for non-mainnet deployments
|
|
524
|
-
*/
|
|
525
456
|
readonly disallowIndexing: boolean;
|
|
526
457
|
readonly hideCurator: false;
|
|
527
458
|
};
|
|
528
|
-
readonly bend: {
|
|
529
|
-
/**
|
|
530
|
-
* Margin from max LTV where warning will be shown about liquidation risk.
|
|
531
|
-
* e.g. if max LTV is 0.8, warning will show at 0.75
|
|
532
|
-
*/
|
|
533
|
-
readonly liquidationWarningLtvMargin: 0.05;
|
|
534
|
-
/**
|
|
535
|
-
* Safety margin subtracted from max LTV to determine borrow limit.
|
|
536
|
-
* e.g. if max LTV is 0.945, borrow limit will be 0.9449
|
|
537
|
-
*/
|
|
538
|
-
readonly maxBorrowLtvMargin: 0.0001;
|
|
539
|
-
/**
|
|
540
|
-
* Target utilization rate for public allocator supply in WAD format (18 decimals).
|
|
541
|
-
* Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
|
|
542
|
-
*/
|
|
543
|
-
readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
|
|
544
|
-
readonly name: "Bend";
|
|
545
|
-
readonly url: "https://bend.berachain.com";
|
|
546
|
-
readonly supportedVaults: `0x${string}`[];
|
|
547
|
-
} | {
|
|
548
|
-
/**
|
|
549
|
-
* Margin from max LTV where warning will be shown about liquidation risk.
|
|
550
|
-
* e.g. if max LTV is 0.8, warning will show at 0.75
|
|
551
|
-
*/
|
|
552
|
-
readonly liquidationWarningLtvMargin: 0.05;
|
|
553
|
-
/**
|
|
554
|
-
* Safety margin subtracted from max LTV to determine borrow limit.
|
|
555
|
-
* e.g. if max LTV is 0.945, borrow limit will be 0.9449
|
|
556
|
-
*/
|
|
557
|
-
readonly maxBorrowLtvMargin: 0.0001;
|
|
558
|
-
/**
|
|
559
|
-
* Target utilization rate for public allocator supply in WAD format (18 decimals).
|
|
560
|
-
* Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
|
|
561
|
-
*/
|
|
562
|
-
readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
|
|
563
|
-
readonly name: "Bend";
|
|
564
|
-
readonly url: "https://bepolia.bend.berachain.com";
|
|
565
|
-
readonly supportedVaults: Address[];
|
|
566
|
-
};
|
|
567
459
|
readonly tokens: {
|
|
568
460
|
readonly wbera: "0x6969696969696969696969696969696969696969";
|
|
569
461
|
readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
|
package/dist/internal/index.d.ts
CHANGED
|
@@ -239,12 +239,23 @@ declare const chainConfigs: {
|
|
|
239
239
|
};
|
|
240
240
|
};
|
|
241
241
|
declare const config: {
|
|
242
|
+
readonly bend: {
|
|
243
|
+
readonly liquidationWarningLtvMargin: 0.05;
|
|
244
|
+
readonly maxBorrowLtvMargin: 0.0001;
|
|
245
|
+
readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
|
|
246
|
+
readonly name: "Bend";
|
|
247
|
+
readonly url: "https://bend.berachain.com";
|
|
248
|
+
readonly supportedVaults: `0x${string}`[];
|
|
249
|
+
} | {
|
|
250
|
+
readonly liquidationWarningLtvMargin: 0.05;
|
|
251
|
+
readonly maxBorrowLtvMargin: 0.0001;
|
|
252
|
+
readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
|
|
253
|
+
readonly name: "Bend";
|
|
254
|
+
readonly url: "https://bepolia.bend.berachain.com";
|
|
255
|
+
readonly supportedVaults: Address[];
|
|
256
|
+
};
|
|
242
257
|
readonly apiKeys: {
|
|
243
258
|
readonly public: {
|
|
244
|
-
/**
|
|
245
|
-
* This is only going to work on whitelisted domains.
|
|
246
|
-
* Please create your own API key and add it to your .env.local file
|
|
247
|
-
*/
|
|
248
259
|
readonly dynamicWallet: string;
|
|
249
260
|
readonly postHogProjectKey: "phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax";
|
|
250
261
|
readonly cookie3SiteId: string;
|
|
@@ -258,38 +269,15 @@ declare const config: {
|
|
|
258
269
|
};
|
|
259
270
|
};
|
|
260
271
|
readonly addresses: {
|
|
261
|
-
/**
|
|
262
|
-
* This is an hardcoded value in contracts to detected wheter governance can
|
|
263
|
-
* change pool fees and amplification parameter.
|
|
264
|
-
*
|
|
265
|
-
* @see https://docs.balancer.fi/concepts/pools/more/configuration.html#fees
|
|
266
|
-
*/
|
|
267
272
|
readonly balancerDelegatedOwnership: `0x${string}`;
|
|
268
|
-
/**
|
|
269
|
-
* This is on genesis for Berachain
|
|
270
|
-
*/
|
|
271
273
|
readonly multicall: `0x${string}`;
|
|
272
274
|
};
|
|
273
|
-
/**
|
|
274
|
-
* Public faucet configuration.
|
|
275
|
-
*
|
|
276
|
-
* Mainly used in static-monobera.
|
|
277
|
-
*/
|
|
278
275
|
readonly faucet: {
|
|
279
276
|
readonly name: "Faucet";
|
|
280
277
|
readonly url: "https://bepolia.faucet.berachain.com";
|
|
281
|
-
/**
|
|
282
|
-
* Amount of BERA the user will receive when using the faucet
|
|
283
|
-
*/
|
|
284
278
|
readonly dripAmount: 1;
|
|
285
|
-
/**
|
|
286
|
-
* Time in hours between each drip
|
|
287
|
-
*/
|
|
288
279
|
readonly timeGap: 8;
|
|
289
280
|
readonly cloudflareKey: string;
|
|
290
|
-
/**
|
|
291
|
-
* API endpoint to send the request to the faucet
|
|
292
|
-
*/
|
|
293
281
|
readonly endpoint: "https://faucet-api.testnet.berachain.com";
|
|
294
282
|
};
|
|
295
283
|
readonly urls: {
|
|
@@ -308,51 +296,9 @@ declare const config: {
|
|
|
308
296
|
};
|
|
309
297
|
readonly flags: {
|
|
310
298
|
readonly developmentAnalyticsEnabled: boolean;
|
|
311
|
-
/**
|
|
312
|
-
* Disallow SEO indexing for non-mainnet deployments
|
|
313
|
-
*/
|
|
314
299
|
readonly disallowIndexing: boolean;
|
|
315
300
|
readonly hideCurator: false;
|
|
316
301
|
};
|
|
317
|
-
readonly bend: {
|
|
318
|
-
/**
|
|
319
|
-
* Margin from max LTV where warning will be shown about liquidation risk.
|
|
320
|
-
* e.g. if max LTV is 0.8, warning will show at 0.75
|
|
321
|
-
*/
|
|
322
|
-
readonly liquidationWarningLtvMargin: 0.05;
|
|
323
|
-
/**
|
|
324
|
-
* Safety margin subtracted from max LTV to determine borrow limit.
|
|
325
|
-
* e.g. if max LTV is 0.945, borrow limit will be 0.9449
|
|
326
|
-
*/
|
|
327
|
-
readonly maxBorrowLtvMargin: 0.0001;
|
|
328
|
-
/**
|
|
329
|
-
* Target utilization rate for public allocator supply in WAD format (18 decimals).
|
|
330
|
-
* Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
|
|
331
|
-
*/
|
|
332
|
-
readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
|
|
333
|
-
readonly name: "Bend";
|
|
334
|
-
readonly url: "https://bend.berachain.com";
|
|
335
|
-
readonly supportedVaults: `0x${string}`[];
|
|
336
|
-
} | {
|
|
337
|
-
/**
|
|
338
|
-
* Margin from max LTV where warning will be shown about liquidation risk.
|
|
339
|
-
* e.g. if max LTV is 0.8, warning will show at 0.75
|
|
340
|
-
*/
|
|
341
|
-
readonly liquidationWarningLtvMargin: 0.05;
|
|
342
|
-
/**
|
|
343
|
-
* Safety margin subtracted from max LTV to determine borrow limit.
|
|
344
|
-
* e.g. if max LTV is 0.945, borrow limit will be 0.9449
|
|
345
|
-
*/
|
|
346
|
-
readonly maxBorrowLtvMargin: 0.0001;
|
|
347
|
-
/**
|
|
348
|
-
* Target utilization rate for public allocator supply in WAD format (18 decimals).
|
|
349
|
-
* Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
|
|
350
|
-
*/
|
|
351
|
-
readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
|
|
352
|
-
readonly name: "Bend";
|
|
353
|
-
readonly url: "https://bepolia.bend.berachain.com";
|
|
354
|
-
readonly supportedVaults: Address[];
|
|
355
|
-
};
|
|
356
302
|
readonly tokens: {
|
|
357
303
|
readonly wbera: "0x6969696969696969696969696969696969696969";
|
|
358
304
|
readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
|
|
@@ -450,12 +396,23 @@ declare const config: {
|
|
|
450
396
|
readonly name: string;
|
|
451
397
|
};
|
|
452
398
|
} | {
|
|
399
|
+
readonly bend: {
|
|
400
|
+
readonly liquidationWarningLtvMargin: 0.05;
|
|
401
|
+
readonly maxBorrowLtvMargin: 0.0001;
|
|
402
|
+
readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
|
|
403
|
+
readonly name: "Bend";
|
|
404
|
+
readonly url: "https://bend.berachain.com";
|
|
405
|
+
readonly supportedVaults: `0x${string}`[];
|
|
406
|
+
} | {
|
|
407
|
+
readonly liquidationWarningLtvMargin: 0.05;
|
|
408
|
+
readonly maxBorrowLtvMargin: 0.0001;
|
|
409
|
+
readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
|
|
410
|
+
readonly name: "Bend";
|
|
411
|
+
readonly url: "https://bepolia.bend.berachain.com";
|
|
412
|
+
readonly supportedVaults: Address[];
|
|
413
|
+
};
|
|
453
414
|
readonly apiKeys: {
|
|
454
415
|
readonly public: {
|
|
455
|
-
/**
|
|
456
|
-
* This is only going to work on whitelisted domains.
|
|
457
|
-
* Please create your own API key and add it to your .env.local file
|
|
458
|
-
*/
|
|
459
416
|
readonly dynamicWallet: string;
|
|
460
417
|
readonly postHogProjectKey: "phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax";
|
|
461
418
|
readonly cookie3SiteId: string;
|
|
@@ -469,38 +426,15 @@ declare const config: {
|
|
|
469
426
|
};
|
|
470
427
|
};
|
|
471
428
|
readonly addresses: {
|
|
472
|
-
/**
|
|
473
|
-
* This is an hardcoded value in contracts to detected wheter governance can
|
|
474
|
-
* change pool fees and amplification parameter.
|
|
475
|
-
*
|
|
476
|
-
* @see https://docs.balancer.fi/concepts/pools/more/configuration.html#fees
|
|
477
|
-
*/
|
|
478
429
|
readonly balancerDelegatedOwnership: `0x${string}`;
|
|
479
|
-
/**
|
|
480
|
-
* This is on genesis for Berachain
|
|
481
|
-
*/
|
|
482
430
|
readonly multicall: `0x${string}`;
|
|
483
431
|
};
|
|
484
|
-
/**
|
|
485
|
-
* Public faucet configuration.
|
|
486
|
-
*
|
|
487
|
-
* Mainly used in static-monobera.
|
|
488
|
-
*/
|
|
489
432
|
readonly faucet: {
|
|
490
433
|
readonly name: "Faucet";
|
|
491
434
|
readonly url: "https://bepolia.faucet.berachain.com";
|
|
492
|
-
/**
|
|
493
|
-
* Amount of BERA the user will receive when using the faucet
|
|
494
|
-
*/
|
|
495
435
|
readonly dripAmount: 1;
|
|
496
|
-
/**
|
|
497
|
-
* Time in hours between each drip
|
|
498
|
-
*/
|
|
499
436
|
readonly timeGap: 8;
|
|
500
437
|
readonly cloudflareKey: string;
|
|
501
|
-
/**
|
|
502
|
-
* API endpoint to send the request to the faucet
|
|
503
|
-
*/
|
|
504
438
|
readonly endpoint: "https://faucet-api.testnet.berachain.com";
|
|
505
439
|
};
|
|
506
440
|
readonly urls: {
|
|
@@ -519,51 +453,9 @@ declare const config: {
|
|
|
519
453
|
};
|
|
520
454
|
readonly flags: {
|
|
521
455
|
readonly developmentAnalyticsEnabled: boolean;
|
|
522
|
-
/**
|
|
523
|
-
* Disallow SEO indexing for non-mainnet deployments
|
|
524
|
-
*/
|
|
525
456
|
readonly disallowIndexing: boolean;
|
|
526
457
|
readonly hideCurator: false;
|
|
527
458
|
};
|
|
528
|
-
readonly bend: {
|
|
529
|
-
/**
|
|
530
|
-
* Margin from max LTV where warning will be shown about liquidation risk.
|
|
531
|
-
* e.g. if max LTV is 0.8, warning will show at 0.75
|
|
532
|
-
*/
|
|
533
|
-
readonly liquidationWarningLtvMargin: 0.05;
|
|
534
|
-
/**
|
|
535
|
-
* Safety margin subtracted from max LTV to determine borrow limit.
|
|
536
|
-
* e.g. if max LTV is 0.945, borrow limit will be 0.9449
|
|
537
|
-
*/
|
|
538
|
-
readonly maxBorrowLtvMargin: 0.0001;
|
|
539
|
-
/**
|
|
540
|
-
* Target utilization rate for public allocator supply in WAD format (18 decimals).
|
|
541
|
-
* Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
|
|
542
|
-
*/
|
|
543
|
-
readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
|
|
544
|
-
readonly name: "Bend";
|
|
545
|
-
readonly url: "https://bend.berachain.com";
|
|
546
|
-
readonly supportedVaults: `0x${string}`[];
|
|
547
|
-
} | {
|
|
548
|
-
/**
|
|
549
|
-
* Margin from max LTV where warning will be shown about liquidation risk.
|
|
550
|
-
* e.g. if max LTV is 0.8, warning will show at 0.75
|
|
551
|
-
*/
|
|
552
|
-
readonly liquidationWarningLtvMargin: 0.05;
|
|
553
|
-
/**
|
|
554
|
-
* Safety margin subtracted from max LTV to determine borrow limit.
|
|
555
|
-
* e.g. if max LTV is 0.945, borrow limit will be 0.9449
|
|
556
|
-
*/
|
|
557
|
-
readonly maxBorrowLtvMargin: 0.0001;
|
|
558
|
-
/**
|
|
559
|
-
* Target utilization rate for public allocator supply in WAD format (18 decimals).
|
|
560
|
-
* Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
|
|
561
|
-
*/
|
|
562
|
-
readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
|
|
563
|
-
readonly name: "Bend";
|
|
564
|
-
readonly url: "https://bepolia.bend.berachain.com";
|
|
565
|
-
readonly supportedVaults: Address[];
|
|
566
|
-
};
|
|
567
459
|
readonly tokens: {
|
|
568
460
|
readonly wbera: "0x6969696969696969696969696969696969696969";
|
|
569
461
|
readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
|
package/dist/internal/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{b as h,c as i}from"../chunk-JTPDAOC4.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};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@berachain/config",
|
|
3
|
-
"version": "0.0.3-beta.
|
|
3
|
+
"version": "0.0.3-beta.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -152,7 +152,6 @@
|
|
|
152
152
|
"clean": "git clean -xdf dist .turbo node_modules",
|
|
153
153
|
"dev": "tsup --watch",
|
|
154
154
|
"lint": "biome lint",
|
|
155
|
-
"postinstall": "pnpm generate:edge-config",
|
|
156
155
|
"generate:edge-config": "pnpm dlx json-schema-to-typescript ./src/internal/edge-config/edgeConfig.schema.json -o src/internal/edge-config/edgeConfig.codegen.ts",
|
|
157
156
|
"test": "vitest",
|
|
158
157
|
"postbuild": "node ../../.scripts/commands.mjs postbuild:config"
|
package/dist/chunk-G5WS7P3Y.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
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};
|
package/dist/chunk-YC3A5DT2.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 _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;
|