@berachain/config 0.1.6 → 0.1.8-beta.0
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkJYSZ2GU3cjs = require('../chunk-JYSZ2GU3.cjs');var _chunkDUO7UEQDcjs = require('../chunk-DUO7UEQD.cjs');var _chunk3SHJUJFRcjs = require('../chunk-3SHJUJFR.cjs');require('../chunk-MFNDSHQO.cjs');require('../chunk-SLJR3R5F.cjs');var _chunk276AZYTLcjs = require('../chunk-276AZYTL.cjs');var _chunk3KQLFIHTcjs = require('../chunk-3KQLFIHT.cjs');require('../chunk-2OLL4MUY.cjs');require('../chunk-4VDLQK6F.cjs');function v({dsn:e=process.env.NEXT_PUBLIC_SENTRY_DSN}={}){if(!e)return;let r=/^(?:https:\/\/)([A-z0-9]{32})(?::{0,1})([A-z0-9]*)(?:@)(o[a-z0-9]+)(?:\.ingest\.us\.sentry\.io)\/([0-9]{16})/i,s=_optionalChain([e, 'optionalAccess', _ => _.match, 'call', _2 => _2(r)]);if(!s)return;let[,o,n,t,a]=s,c=new URL(`https://${t}.ingest.us.sentry.io/api/${a}/security/?sentry_key=${o}`);return c.searchParams.set("sentry_key",o),c.searchParams.set("sentry_env",_chunkJYSZ2GU3cjs.a),c.searchParams.set("sentry_release",_chunkJYSZ2GU3cjs.c),{dsn:s[0],projectId:a,deprecatedSecret:n||void 0,cspEndpoint:c,org:t,publicKey:s[1]}}function
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkJYSZ2GU3cjs = require('../chunk-JYSZ2GU3.cjs');var _chunkDUO7UEQDcjs = require('../chunk-DUO7UEQD.cjs');var _chunk3SHJUJFRcjs = require('../chunk-3SHJUJFR.cjs');require('../chunk-MFNDSHQO.cjs');require('../chunk-SLJR3R5F.cjs');var _chunk276AZYTLcjs = require('../chunk-276AZYTL.cjs');var _chunk3KQLFIHTcjs = require('../chunk-3KQLFIHT.cjs');require('../chunk-2OLL4MUY.cjs');require('../chunk-4VDLQK6F.cjs');function v({dsn:e=process.env.NEXT_PUBLIC_SENTRY_DSN}={}){if(!e)return;let r=/^(?:https:\/\/)([A-z0-9]{32})(?::{0,1})([A-z0-9]*)(?:@)(o[a-z0-9]+)(?:\.ingest\.us\.sentry\.io)\/([0-9]{16})/i,s=_optionalChain([e, 'optionalAccess', _ => _.match, 'call', _2 => _2(r)]);if(!s)return;let[,o,n,t,a]=s,c=new URL(`https://${t}.ingest.us.sentry.io/api/${a}/security/?sentry_key=${o}`);return c.searchParams.set("sentry_key",o),c.searchParams.set("sentry_env",_chunkJYSZ2GU3cjs.a),c.searchParams.set("sentry_release",_chunkJYSZ2GU3cjs.c),{dsn:s[0],projectId:a,deprecatedSecret:n||void 0,cspEndpoint:c,org:t,publicKey:s[1]}}function N({isDevelopment:e,nonce:r,cspReporting:s,...o}){let n=[],t=_chunk3SHJUJFRcjs.a[_chunk3KQLFIHTcjs.a],a=["https://*.sentry.io/","https://*.berachain.com/","https://*.berachain-staging.com/","wss://www.walletlink.org/rpc","https://*.thirdweb.com/","https://raw.githubusercontent.com/berachain/metadata/",_chunk276AZYTLcjs.a,"https://*.quiknode.pro","https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/",_chunk276AZYTLcjs.b,t.governance.subgraph,t.honey.subgraph,t.pol.subgraph,t.pol.bribeBoostApi,t.bex.subgraph,_chunkDUO7UEQDcjs.a.call(void 0, t.api),_chunk276AZYTLcjs.e,_chunk276AZYTLcjs.d,_chunk276AZYTLcjs.f,"https://open-api.openocean.finance/","https://api.haiku.trade/","https://api.fly.trade/",`${t.bex.aggregatorsProxyUrl}/`,"wss://relay.walletconnect.com/","wss://relay.walletconnect.org/","https://verify.walletconnect.org/v3/public-key","https://api.routescan.io/v2/network/","wss://metamask-sdk.api.cx.metamask.io/socket.io/","https://metamask-sdk.api.cx.metamask.io","https://app.dynamicauth.com/api","https://www.walletlink.org/events","https://api.trongrid.io/","https://api-mainnet.layerzero-scan.com/","https://api-testnet.layerzero-scan.com/","https://chain-proxy.wallet.coinbase.com/","https://wallet.binance.com/tonbridge/","https://*.thirdweb.com/","https://eth.merkle.io/","https://cdn.whisk.so/","https://*.posthog.com","https://vercel.live","wss://ws-us3.pusher.com","https://cdn.markfi.xyz/scripts/analytics/","https://a.markfi.xyz/","https://hermes.pyth.network/v2/","https://rpc.porto.sh","https://api.avax.network/ext/bc/C/rpc","https://polygon-rpc.com","https://mainnet.optimism.io/","https://arb1.arbitrum.io/rpc","wss://www.walletlink.org/rpc","https://eth.merkle.io","https://mainnet.base.org/","https://api.enso.finance/","wss://www.walletlink.org/rpc",_chunkDUO7UEQDcjs.a.call(void 0, t.staking)].concat(_nullishCoalesce(o.connectionSources, () => ([]))).filter(i=>{if(!i)return!1;let p=_chunkDUO7UEQDcjs.a.call(void 0, i);return!(!p||p.trim()===""||p.startsWith(_chunk276AZYTLcjs.b)&&p!==_chunk276AZYTLcjs.b)}),c=[_chunk276AZYTLcjs.a,"https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://coin-images.coingecko.com/coins/images/","https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/","https://icons.llama.fi/","https://icons.llamao.fi/","https://static.debank.com/","https://cdn.whisk.so/","https://cdn.morpho.org/","https://raw.githubusercontent.com/trustwallet/assets/","https://pelaguswallet.io/docs/img","https://*.posthog.com","https://vercel.live","https://vercel.com"].concat(_nullishCoalesce(o.pictureSources, () => ([]))).filter(i=>!(!i||i.trim()==="")),S=["https://verify.walletconnect.com/","https://verify.walletconnect.org/","https://embedded-wallet.thirdweb.com/","https://*.posthog.com","https://vercel.live/","https://id.porto.sh"].concat(_nullishCoalesce(o.frameSources, () => ([]))),x=["https://cdn.jsdelivr.net/npm/@fontsource/","https://*.posthog.com","https://vercel.live","https://assets.vercel.com","https://fonts.gstatic.com","https://use.typekit.net/"].concat(_nullishCoalesce(o.fontSources, () => ([]))),$=["https://*.posthog.com","https://vercel.live"].concat(_nullishCoalesce(o.styleSources, () => ([]))),u=`
|
|
2
2
|
default-src 'self' ${n.join(" ")};
|
|
3
3
|
base-uri 'self';
|
|
4
4
|
frame-src 'self' ${S.join(" ")};
|
|
@@ -13,4 +13,4 @@
|
|
|
13
13
|
`;return s&&(u+=`
|
|
14
14
|
report-uri ${s};
|
|
15
15
|
report-to csp-endpoint;
|
|
16
|
-
`),u.replace(/\s{2,}/g," ").trim()}var C=[_chunk276AZYTLcjs.a,"https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://berachain.ghost.io/content/images/"].filter(e=>!(!e||e.trim()===""));function P({response:e}){let r=_optionalChain([v, 'call', _3 => _3(), 'optionalAccess', _4 => _4.cspEndpoint]),s=Buffer.from(crypto.randomUUID()).toString("base64"),o=process.env.NODE_ENV==="development",n=[{key:"Content-Security-Policy",value:
|
|
16
|
+
`),u.replace(/\s{2,}/g," ").trim()}var C=[_chunk276AZYTLcjs.a,"https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://berachain.ghost.io/content/images/"].filter(e=>!(!e||e.trim()===""));function P({response:e}){let r=_optionalChain([v, 'call', _3 => _3(), 'optionalAccess', _4 => _4.cspEndpoint]),s=Buffer.from(crypto.randomUUID()).toString("base64"),o=process.env.NODE_ENV==="development",n=[{key:"Content-Security-Policy",value:N({isDevelopment:o,cspReporting:_optionalChain([r, 'optionalAccess', _5 => _5.toString, 'call', _6 => _6()]),nonce:s})},{key:"X-Frame-Options",value:"DENY"},{key:"X-Content-Type-Options",value:"nosniff"},{key:"X-Nonce",value:s}];r&&(n.push({key:"Reporting-To",value:`{"group":"csp-endpoint","max_age":10886400,"endpoints":[{"url":"${r}"}],"include_subdomains":true}"`}),n.push({key:"Reporting-Endpoints",value:`csp-endpoint="${r}"`}));for(let t of n)e.headers.set(t.key,t.value);return e}exports.cspMiddleware = P; exports.getContentSecurityPolicy = N; exports.staticPictureSources = C;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as w,c as k}from"../chunk-DL645PXT.mjs";import{a as m}from"../chunk-O243TIHY.mjs";import{a as b}from"../chunk-2CM7IPKQ.mjs";import"../chunk-P6GLSFGR.mjs";import"../chunk-WALAZZI6.mjs";import{a as h,b as l,d as f,e as d,f as y}from"../chunk-4EBBM3AH.mjs";import{a as g}from"../chunk-S2A3Z34I.mjs";import"../chunk-MS6UGFXI.mjs";import"../chunk-JZXLCA2E.mjs";function v({dsn:e=process.env.NEXT_PUBLIC_SENTRY_DSN}={}){if(!e)return;let r=/^(?:https:\/\/)([A-z0-9]{32})(?::{0,1})([A-z0-9]*)(?:@)(o[a-z0-9]+)(?:\.ingest\.us\.sentry\.io)\/([0-9]{16})/i,s=e?.match(r);if(!s)return;let[,o,n,t,a]=s,c=new URL(`https://${t}.ingest.us.sentry.io/api/${a}/security/?sentry_key=${o}`);return c.searchParams.set("sentry_key",o),c.searchParams.set("sentry_env",w),c.searchParams.set("sentry_release",k),{dsn:s[0],projectId:a,deprecatedSecret:n||void 0,cspEndpoint:c,org:t,publicKey:s[1]}}function N({isDevelopment:e,nonce:r,cspReporting:s,...o}){let n=[],t=b[g],a=["https://*.sentry.io/","https://*.berachain.com/","https://*.berachain-staging.com/","wss://www.walletlink.org/rpc","https://*.thirdweb.com/","https://raw.githubusercontent.com/berachain/metadata/",h,"https://*.quiknode.pro","https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/",l,t.governance.subgraph,t.honey.subgraph,t.pol.subgraph,t.pol.bribeBoostApi,t.bex.subgraph,m(t.api),d,f,y,"https://open-api.openocean.finance/","https://api.haiku.trade/","https://api.fly.trade/",`${t.bex.aggregatorsProxyUrl}/`,"wss://relay.walletconnect.com/","wss://relay.walletconnect.org/","https://verify.walletconnect.org/v3/public-key","https://api.routescan.io/v2/network/","wss://metamask-sdk.api.cx.metamask.io/socket.io/","https://metamask-sdk.api.cx.metamask.io","https://app.dynamicauth.com/api","https://www.walletlink.org/events","https://api.trongrid.io/","https://api-mainnet.layerzero-scan.com/","https://api-testnet.layerzero-scan.com/","https://chain-proxy.wallet.coinbase.com/","https://wallet.binance.com/tonbridge/","https://*.thirdweb.com/","https://eth.merkle.io/","https://cdn.whisk.so/","https://*.posthog.com","https://vercel.live","wss://ws-us3.pusher.com","https://cdn.markfi.xyz/scripts/analytics/","https://a.markfi.xyz/","https://hermes.pyth.network/v2/","https://rpc.porto.sh","https://api.avax.network/ext/bc/C/rpc","https://polygon-rpc.com","https://mainnet.optimism.io/","https://arb1.arbitrum.io/rpc","wss://www.walletlink.org/rpc","https://eth.merkle.io","https://mainnet.base.org/","https://api.enso.finance/","wss://www.walletlink.org/rpc",m(t.staking)].concat(o.connectionSources??[]).filter(i=>{if(!i)return!1;let p=m(i);return!(!p||p.trim()===""||p.startsWith(l)&&p!==l)}),c=[h,"https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://coin-images.coingecko.com/coins/images/","https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/","https://icons.llama.fi/","https://icons.llamao.fi/","https://static.debank.com/","https://cdn.whisk.so/","https://cdn.morpho.org/","https://raw.githubusercontent.com/trustwallet/assets/","https://pelaguswallet.io/docs/img","https://*.posthog.com","https://vercel.live","https://vercel.com"].concat(o.pictureSources??[]).filter(i=>!(!i||i.trim()==="")),S=["https://verify.walletconnect.com/","https://verify.walletconnect.org/","https://embedded-wallet.thirdweb.com/","https://*.posthog.com","https://vercel.live/","https://id.porto.sh"].concat(o.frameSources??[]),x=["https://cdn.jsdelivr.net/npm/@fontsource/","https://*.posthog.com","https://vercel.live","https://assets.vercel.com","https://fonts.gstatic.com","https://use.typekit.net/"].concat(o.fontSources??[]),$=["https://*.posthog.com","https://vercel.live"].concat(o.styleSources??[]),u=`
|
|
2
2
|
default-src 'self' ${n.join(" ")};
|
|
3
3
|
base-uri 'self';
|
|
4
4
|
frame-src 'self' ${S.join(" ")};
|
|
@@ -13,4 +13,4 @@ import{a as b,c as k}from"../chunk-DL645PXT.mjs";import{a as m}from"../chunk-O24
|
|
|
13
13
|
`;return s&&(u+=`
|
|
14
14
|
report-uri ${s};
|
|
15
15
|
report-to csp-endpoint;
|
|
16
|
-
`),u.replace(/\s{2,}/g," ").trim()}var C=[h,"https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://berachain.ghost.io/content/images/"].filter(e=>!(!e||e.trim()===""));function P({response:e}){let r=v()?.cspEndpoint,s=Buffer.from(crypto.randomUUID()).toString("base64"),o=process.env.NODE_ENV==="development",n=[{key:"Content-Security-Policy",value:
|
|
16
|
+
`),u.replace(/\s{2,}/g," ").trim()}var C=[h,"https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://berachain.ghost.io/content/images/"].filter(e=>!(!e||e.trim()===""));function P({response:e}){let r=v()?.cspEndpoint,s=Buffer.from(crypto.randomUUID()).toString("base64"),o=process.env.NODE_ENV==="development",n=[{key:"Content-Security-Policy",value:N({isDevelopment:o,cspReporting:r?.toString(),nonce:s})},{key:"X-Frame-Options",value:"DENY"},{key:"X-Content-Type-Options",value:"nosniff"},{key:"X-Nonce",value:s}];r&&(n.push({key:"Reporting-To",value:`{"group":"csp-endpoint","max_age":10886400,"endpoints":[{"url":"${r}"}],"include_subdomains":true}"`}),n.push({key:"Reporting-Endpoints",value:`csp-endpoint="${r}"`}));for(let t of n)e.headers.set(t.key,t.value);return e}export{P as cspMiddleware,N as getContentSecurityPolicy,C as staticPictureSources};
|
|
@@ -428,25 +428,25 @@ declare const appConfig: {
|
|
|
428
428
|
* @deprecated use chainConfigs and appConfig instead. chainId should always be read from the app state.
|
|
429
429
|
*/
|
|
430
430
|
declare const config: {
|
|
431
|
-
readonly chainId: ChainId.
|
|
431
|
+
readonly chainId: ChainId.MAINNET;
|
|
432
432
|
readonly tokens: {
|
|
433
433
|
readonly wbera: "0x6969696969696969696969696969696969696969";
|
|
434
434
|
readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
|
|
435
435
|
readonly bgt: "0x656b95E550C07a9ffe548bd4085c72418Ceb1dba";
|
|
436
|
-
readonly wbtc: "
|
|
437
|
-
readonly weth: "
|
|
436
|
+
readonly wbtc: "0x0555E30da8f98308EdB960aa94C0Db47230d2B9c";
|
|
437
|
+
readonly weth: "0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590";
|
|
438
438
|
};
|
|
439
439
|
readonly depositContract: "0x4242424242424242424242424242424242424242";
|
|
440
440
|
readonly pol: {
|
|
441
441
|
readonly rewardVaultHelper: "0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2";
|
|
442
442
|
readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
|
|
443
|
+
readonly rewardAllocationFactory: "0xc8FD9a3fB3Dad4C22c9F8Cfa7cecC318A667A791";
|
|
443
444
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
444
|
-
readonly rewardAllocationFactory: "0x7f09Cf6958631513aF0400488F65c7B5c0313F52";
|
|
445
445
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
446
|
-
readonly subgraph:
|
|
447
|
-
readonly feesSubgraph:
|
|
446
|
+
readonly subgraph: string;
|
|
447
|
+
readonly feesSubgraph: string;
|
|
448
448
|
readonly bribeBoostApi: string;
|
|
449
|
-
readonly bgtIncentiveDistributor: "
|
|
449
|
+
readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
|
|
450
450
|
};
|
|
451
451
|
readonly api: {
|
|
452
452
|
readonly name: "Berachain API";
|
|
@@ -460,49 +460,49 @@ declare const config: {
|
|
|
460
460
|
readonly uri: "https://backend-production-351b.up.railway.app";
|
|
461
461
|
};
|
|
462
462
|
readonly bex: {
|
|
463
|
-
readonly chainName: "
|
|
464
|
-
readonly vault: "
|
|
465
|
-
readonly helper: "
|
|
466
|
-
readonly queries: "
|
|
467
|
-
readonly relayer: "
|
|
463
|
+
readonly chainName: "BERACHAIN";
|
|
464
|
+
readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
|
|
465
|
+
readonly helper: "0x5083737EC75a728c265BE578C9d0d5333a2c5951";
|
|
466
|
+
readonly queries: "0x3C612e132624f4Bd500eE1495F54565F0bcc9b59";
|
|
467
|
+
readonly relayer: "0x6044f181aB5E9C05A4ed9Ce295f3B178d2492EE7";
|
|
468
468
|
readonly factories: {
|
|
469
|
-
readonly composableStable: "
|
|
470
|
-
readonly weighted: "
|
|
469
|
+
readonly composableStable: "0xDfA30BDa0375d4763711AB0CC8D91B20bfCC87E1";
|
|
470
|
+
readonly weighted: "0xa966fA8F2d5B087FFFA499C0C1240589371Af409";
|
|
471
471
|
};
|
|
472
|
-
readonly poolCreationHelper: "0x0dC9964F6CA33d9EF38DEB4925234766127C6B36";
|
|
473
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-1.0.3/gn";
|
|
474
|
-
readonly aggregatorsRouter: "0x0000000000000000000000000000000000000000";
|
|
475
|
-
readonly aggregatorsRouterExecutor: "0x0000000000000000000000000000000000000000";
|
|
476
|
-
readonly haikuRouter: null;
|
|
477
|
-
readonly haikuAgentAddress: null;
|
|
478
|
-
readonly aggregatorsProxyUrl: string;
|
|
479
|
-
readonly recoverFundsApi: "https://t3stbe4i5d40p.testnet.berachain.com";
|
|
480
|
-
readonly recoverFundsContract: "0x0eFeC4379805fAFA7269Ec599a6921f388C8841a";
|
|
481
472
|
readonly balancerDelegatedOwnership: "0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b";
|
|
473
|
+
readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
|
|
474
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-1.0.3/gn";
|
|
475
|
+
readonly aggregatorsRouter: "0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58";
|
|
476
|
+
readonly aggregatorsRouterExecutor: "0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8";
|
|
477
|
+
readonly haikuRouter: "0x24aC999FF132B32c5b3956973b6213B0d07eB2C7";
|
|
478
|
+
readonly haikuAgentAddress: "0x69495273D6Dc572A830A4D6e00400a1e9d5B8f71";
|
|
479
|
+
readonly aggregatorsProxyUrl: string;
|
|
480
|
+
readonly recoverFundsApi: string;
|
|
481
|
+
readonly recoverFundsContract: `0x${string}`;
|
|
482
482
|
};
|
|
483
483
|
readonly honey: {
|
|
484
484
|
readonly name: "Honey";
|
|
485
|
-
readonly url: "https://
|
|
486
|
-
readonly subgraph:
|
|
485
|
+
readonly url: "https://honey.berachain.com";
|
|
486
|
+
readonly subgraph: string;
|
|
487
487
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
488
488
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
489
|
-
readonly pythWrapper: "
|
|
489
|
+
readonly pythWrapper: "0xF5686e448BE103beA465105bEb9d284a34ae7e95";
|
|
490
490
|
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
491
491
|
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
492
492
|
};
|
|
493
493
|
readonly hub: {
|
|
494
494
|
readonly name: "BeraHub";
|
|
495
|
-
readonly url: "https://
|
|
495
|
+
readonly url: "https://hub.berachain.com";
|
|
496
496
|
};
|
|
497
497
|
readonly governance: {
|
|
498
|
-
readonly governor:
|
|
499
|
-
readonly timelock:
|
|
500
|
-
readonly subgraph:
|
|
498
|
+
readonly governor: "0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5";
|
|
499
|
+
readonly timelock: "0xb5f2000b5744f207c931526cAE2134cAa8b6862a";
|
|
500
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/governance-subgraph/mainnet-v1.1.1/gn";
|
|
501
501
|
};
|
|
502
502
|
readonly lists: {
|
|
503
|
-
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/
|
|
504
|
-
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/
|
|
505
|
-
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/
|
|
503
|
+
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/mainnet.json";
|
|
504
|
+
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/mainnet.json";
|
|
505
|
+
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/mainnet.json";
|
|
506
506
|
};
|
|
507
507
|
readonly external: {
|
|
508
508
|
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
@@ -510,44 +510,50 @@ declare const config: {
|
|
|
510
510
|
readonly averageBlockTime: 2;
|
|
511
511
|
readonly bridge: {
|
|
512
512
|
readonly name: "BeraBridge";
|
|
513
|
-
readonly url: "https://
|
|
513
|
+
readonly url: "https://bridge.berachain.com";
|
|
514
514
|
readonly nft: {
|
|
515
515
|
readonly name: "BeraBridge NFT";
|
|
516
|
-
readonly url: "
|
|
516
|
+
readonly url: "https://nftbridge.berachain.com";
|
|
517
517
|
readonly eth: {
|
|
518
|
-
readonly subgraph: "
|
|
518
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/nft-bridge-subgraph/eth-v1.0.0-beta1/gn";
|
|
519
519
|
};
|
|
520
520
|
readonly berachain: {
|
|
521
|
-
readonly subgraph: "
|
|
521
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/nft-bridge-subgraph/mainnet-v1.0.0-beta1/gn";
|
|
522
522
|
};
|
|
523
523
|
};
|
|
524
524
|
};
|
|
525
525
|
readonly bend: {
|
|
526
526
|
readonly name: "Bend";
|
|
527
|
-
readonly url: "https://
|
|
528
|
-
readonly whiskApi:
|
|
527
|
+
readonly url: "https://bend.berachain.com";
|
|
528
|
+
readonly whiskApi: {
|
|
529
|
+
readonly name: "Bend Whisk";
|
|
530
|
+
readonly uri: string;
|
|
531
|
+
readonly headers: {
|
|
532
|
+
Authorization: string;
|
|
533
|
+
} | undefined;
|
|
534
|
+
};
|
|
529
535
|
readonly production: {
|
|
530
|
-
readonly morpho:
|
|
531
|
-
readonly adaptiveCurveIrm:
|
|
532
|
-
readonly metaMorphoFactory:
|
|
533
|
-
readonly publicAllocator:
|
|
534
|
-
readonly bundler3:
|
|
535
|
-
readonly generalAdapter1:
|
|
536
|
-
readonly supportedVaults:
|
|
536
|
+
readonly morpho: "0x24147243f9c08d835C218Cda1e135f8dFD0517D0";
|
|
537
|
+
readonly adaptiveCurveIrm: "0xcf247Df3A2322Dea0D408f011c194906E77a6f62";
|
|
538
|
+
readonly metaMorphoFactory: "0x5EDd48C6ACBd565Eeb31702FD9fa9Cbc86fbE616";
|
|
539
|
+
readonly publicAllocator: "0xB62F34Ab315eaDeAc698e8EaEB6Fc2650951BFe7";
|
|
540
|
+
readonly bundler3: "0xF920140A65D0f412f2AB3e76C4fEAB5Eef0657ae";
|
|
541
|
+
readonly generalAdapter1: "0xd2B9667F5214115E27937C410cAeE83E3a901Df7";
|
|
542
|
+
readonly supportedVaults: `0x${string}`[];
|
|
537
543
|
};
|
|
538
544
|
readonly staging: {
|
|
539
|
-
readonly morpho:
|
|
540
|
-
readonly adaptiveCurveIrm:
|
|
541
|
-
readonly metaMorphoFactory:
|
|
542
|
-
readonly publicAllocator:
|
|
543
|
-
readonly bundler3:
|
|
544
|
-
readonly generalAdapter1:
|
|
545
|
-
readonly supportedVaults:
|
|
545
|
+
readonly morpho: "0xC5FabF3a7E98a2ed89f5d5057Ab010634Ca7e71f";
|
|
546
|
+
readonly adaptiveCurveIrm: "0x1d5376e532CcF25b740270624111D665830E5dB9";
|
|
547
|
+
readonly metaMorphoFactory: "0x524061B659380a5e4576d76F0951303B20B5932f";
|
|
548
|
+
readonly publicAllocator: "0xFD6e68bC20be2a01Ec1Df687c83f927087D52811";
|
|
549
|
+
readonly bundler3: "0x56811e1BFfF951B98c7940d3aCe0e549Ec4fDee8";
|
|
550
|
+
readonly generalAdapter1: "0x257a41E20BBfe90D750646C2e00bA700D55958C5";
|
|
551
|
+
readonly supportedVaults: `0x${string}`[];
|
|
546
552
|
};
|
|
547
553
|
};
|
|
548
554
|
readonly enso: {
|
|
549
|
-
readonly walletV2Factory:
|
|
550
|
-
readonly walletFlashloanAdapter:
|
|
555
|
+
readonly walletV2Factory: "0xc914a663837eb21c5a650716e015659686597e55";
|
|
556
|
+
readonly walletFlashloanAdapter: "0x5dE09823D9143886896507107590d9859F3E390b";
|
|
551
557
|
};
|
|
552
558
|
readonly explore: {
|
|
553
559
|
readonly name: "Explore";
|
|
@@ -555,39 +561,32 @@ declare const config: {
|
|
|
555
561
|
};
|
|
556
562
|
readonly explorer: {
|
|
557
563
|
readonly name: "Berascan";
|
|
558
|
-
readonly url: "https://
|
|
564
|
+
readonly url: "https://berascan.com";
|
|
559
565
|
};
|
|
560
566
|
readonly chain: {
|
|
561
567
|
readonly name: string;
|
|
562
568
|
};
|
|
563
|
-
readonly faucet:
|
|
564
|
-
readonly name: "Faucet";
|
|
565
|
-
readonly url: "https://bepolia.faucet.berachain.com";
|
|
566
|
-
readonly dripAmount: 1;
|
|
567
|
-
readonly timeGap: 8;
|
|
568
|
-
readonly cloudflareKey: string;
|
|
569
|
-
readonly endpoint: "https://faucet-api.testnet.berachain.com";
|
|
570
|
-
};
|
|
569
|
+
readonly faucet: null;
|
|
571
570
|
} | {
|
|
572
|
-
readonly chainId: ChainId.
|
|
571
|
+
readonly chainId: ChainId.BEPOLIA;
|
|
573
572
|
readonly tokens: {
|
|
574
573
|
readonly wbera: "0x6969696969696969696969696969696969696969";
|
|
575
574
|
readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
|
|
576
575
|
readonly bgt: "0x656b95E550C07a9ffe548bd4085c72418Ceb1dba";
|
|
577
|
-
readonly wbtc: "
|
|
578
|
-
readonly weth: "
|
|
576
|
+
readonly wbtc: "0x";
|
|
577
|
+
readonly weth: "0x";
|
|
579
578
|
};
|
|
580
579
|
readonly depositContract: "0x4242424242424242424242424242424242424242";
|
|
581
580
|
readonly pol: {
|
|
582
581
|
readonly rewardVaultHelper: "0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2";
|
|
583
582
|
readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
|
|
584
|
-
readonly rewardAllocationFactory: "0xc8FD9a3fB3Dad4C22c9F8Cfa7cecC318A667A791";
|
|
585
583
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
584
|
+
readonly rewardAllocationFactory: "0x7f09Cf6958631513aF0400488F65c7B5c0313F52";
|
|
586
585
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
587
|
-
readonly subgraph:
|
|
588
|
-
readonly feesSubgraph:
|
|
586
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-v1.7.2/gn";
|
|
587
|
+
readonly feesSubgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-fees-subgraph/bepolia-v1.0.0/gn";
|
|
589
588
|
readonly bribeBoostApi: string;
|
|
590
|
-
readonly bgtIncentiveDistributor: "
|
|
589
|
+
readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
|
|
591
590
|
};
|
|
592
591
|
readonly api: {
|
|
593
592
|
readonly name: "Berachain API";
|
|
@@ -601,49 +600,49 @@ declare const config: {
|
|
|
601
600
|
readonly uri: "https://backend-production-351b.up.railway.app";
|
|
602
601
|
};
|
|
603
602
|
readonly bex: {
|
|
604
|
-
readonly chainName: "
|
|
605
|
-
readonly vault: "
|
|
606
|
-
readonly helper: "
|
|
607
|
-
readonly queries: "
|
|
608
|
-
readonly relayer: "
|
|
603
|
+
readonly chainName: "BEPOLIA";
|
|
604
|
+
readonly vault: "0x708cA656b68A6b7384a488A36aD33505a77241FE";
|
|
605
|
+
readonly helper: "0xC7c981ADcDC5d48fed0CD52807fb2bAB22676C8f";
|
|
606
|
+
readonly queries: "0xE3723383a0EA73D5c0dE424BAA97F97f86f6cF92";
|
|
607
|
+
readonly relayer: "0x343215E156Ff586711a5B8C49Fe3099BAF22624C";
|
|
609
608
|
readonly factories: {
|
|
610
|
-
readonly composableStable: "
|
|
611
|
-
readonly weighted: "
|
|
609
|
+
readonly composableStable: "0xB60DbBaCEaeC23486a64d12089F467ef949f1bb1";
|
|
610
|
+
readonly weighted: "0xf1d23276C7b271B2aC595C78977b2312E9954D57";
|
|
612
611
|
};
|
|
613
|
-
readonly
|
|
614
|
-
readonly
|
|
615
|
-
readonly
|
|
616
|
-
readonly
|
|
617
|
-
readonly
|
|
618
|
-
readonly
|
|
619
|
-
readonly haikuAgentAddress: "0x69495273D6Dc572A830A4D6e00400a1e9d5B8f71";
|
|
612
|
+
readonly poolCreationHelper: "0x0dC9964F6CA33d9EF38DEB4925234766127C6B36";
|
|
613
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-1.0.3/gn";
|
|
614
|
+
readonly aggregatorsRouter: "0x0000000000000000000000000000000000000000";
|
|
615
|
+
readonly aggregatorsRouterExecutor: "0x0000000000000000000000000000000000000000";
|
|
616
|
+
readonly haikuRouter: null;
|
|
617
|
+
readonly haikuAgentAddress: null;
|
|
620
618
|
readonly aggregatorsProxyUrl: string;
|
|
621
|
-
readonly recoverFundsApi:
|
|
622
|
-
readonly recoverFundsContract:
|
|
619
|
+
readonly recoverFundsApi: "https://t3stbe4i5d40p.testnet.berachain.com";
|
|
620
|
+
readonly recoverFundsContract: "0x0eFeC4379805fAFA7269Ec599a6921f388C8841a";
|
|
621
|
+
readonly balancerDelegatedOwnership: "0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b";
|
|
623
622
|
};
|
|
624
623
|
readonly honey: {
|
|
625
624
|
readonly name: "Honey";
|
|
626
|
-
readonly url: "https://honey.berachain.com";
|
|
627
|
-
readonly subgraph:
|
|
625
|
+
readonly url: "https://bepolia.honey.berachain.com";
|
|
626
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/bepolia-v1.2.1/gn";
|
|
628
627
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
629
628
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
630
|
-
readonly pythWrapper: "
|
|
629
|
+
readonly pythWrapper: "0xE5Ad9BA751714ec8cdd554b5a9f12BFcA13980cB";
|
|
631
630
|
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
632
631
|
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
633
632
|
};
|
|
634
633
|
readonly hub: {
|
|
635
634
|
readonly name: "BeraHub";
|
|
636
|
-
readonly url: "https://hub.berachain.com";
|
|
635
|
+
readonly url: "https://bepolia.hub.berachain.com";
|
|
637
636
|
};
|
|
638
637
|
readonly governance: {
|
|
639
|
-
readonly governor:
|
|
640
|
-
readonly timelock:
|
|
641
|
-
readonly subgraph:
|
|
638
|
+
readonly governor: `0x${string}`;
|
|
639
|
+
readonly timelock: `0x${string}`;
|
|
640
|
+
readonly subgraph: string;
|
|
642
641
|
};
|
|
643
642
|
readonly lists: {
|
|
644
|
-
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/
|
|
645
|
-
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/
|
|
646
|
-
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/
|
|
643
|
+
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/bepolia.json";
|
|
644
|
+
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/bepolia.json";
|
|
645
|
+
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/bepolia.json";
|
|
647
646
|
};
|
|
648
647
|
readonly external: {
|
|
649
648
|
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
@@ -651,50 +650,44 @@ declare const config: {
|
|
|
651
650
|
readonly averageBlockTime: 2;
|
|
652
651
|
readonly bridge: {
|
|
653
652
|
readonly name: "BeraBridge";
|
|
654
|
-
readonly url: "https://bridge.berachain.com";
|
|
653
|
+
readonly url: "https://bepolia.bridge.berachain.com";
|
|
655
654
|
readonly nft: {
|
|
656
655
|
readonly name: "BeraBridge NFT";
|
|
657
|
-
readonly url: "
|
|
656
|
+
readonly url: "#";
|
|
658
657
|
readonly eth: {
|
|
659
|
-
readonly subgraph: "
|
|
658
|
+
readonly subgraph: "#";
|
|
660
659
|
};
|
|
661
660
|
readonly berachain: {
|
|
662
|
-
readonly subgraph: "
|
|
661
|
+
readonly subgraph: "#";
|
|
663
662
|
};
|
|
664
663
|
};
|
|
665
664
|
};
|
|
666
665
|
readonly bend: {
|
|
667
666
|
readonly name: "Bend";
|
|
668
|
-
readonly url: "https://bend.berachain.com";
|
|
669
|
-
readonly whiskApi:
|
|
670
|
-
readonly name: "Bend Whisk";
|
|
671
|
-
readonly uri: string;
|
|
672
|
-
readonly headers: {
|
|
673
|
-
Authorization: string;
|
|
674
|
-
} | undefined;
|
|
675
|
-
};
|
|
667
|
+
readonly url: "https://bepolia.bend.berachain.com";
|
|
668
|
+
readonly whiskApi: null;
|
|
676
669
|
readonly production: {
|
|
677
|
-
readonly morpho:
|
|
678
|
-
readonly adaptiveCurveIrm:
|
|
679
|
-
readonly metaMorphoFactory:
|
|
680
|
-
readonly publicAllocator:
|
|
681
|
-
readonly bundler3:
|
|
682
|
-
readonly generalAdapter1:
|
|
683
|
-
readonly supportedVaults:
|
|
670
|
+
readonly morpho: null;
|
|
671
|
+
readonly adaptiveCurveIrm: null;
|
|
672
|
+
readonly metaMorphoFactory: null;
|
|
673
|
+
readonly publicAllocator: null;
|
|
674
|
+
readonly bundler3: null;
|
|
675
|
+
readonly generalAdapter1: null;
|
|
676
|
+
readonly supportedVaults: Address[];
|
|
684
677
|
};
|
|
685
678
|
readonly staging: {
|
|
686
|
-
readonly morpho:
|
|
687
|
-
readonly adaptiveCurveIrm:
|
|
688
|
-
readonly metaMorphoFactory:
|
|
689
|
-
readonly publicAllocator:
|
|
690
|
-
readonly bundler3:
|
|
691
|
-
readonly generalAdapter1:
|
|
692
|
-
readonly supportedVaults:
|
|
679
|
+
readonly morpho: null;
|
|
680
|
+
readonly adaptiveCurveIrm: null;
|
|
681
|
+
readonly metaMorphoFactory: null;
|
|
682
|
+
readonly publicAllocator: null;
|
|
683
|
+
readonly bundler3: null;
|
|
684
|
+
readonly generalAdapter1: null;
|
|
685
|
+
readonly supportedVaults: Address[];
|
|
693
686
|
};
|
|
694
687
|
};
|
|
695
688
|
readonly enso: {
|
|
696
|
-
readonly walletV2Factory:
|
|
697
|
-
readonly walletFlashloanAdapter:
|
|
689
|
+
readonly walletV2Factory: null;
|
|
690
|
+
readonly walletFlashloanAdapter: null;
|
|
698
691
|
};
|
|
699
692
|
readonly explore: {
|
|
700
693
|
readonly name: "Explore";
|
|
@@ -702,12 +695,19 @@ declare const config: {
|
|
|
702
695
|
};
|
|
703
696
|
readonly explorer: {
|
|
704
697
|
readonly name: "Berascan";
|
|
705
|
-
readonly url: "https://berascan.com";
|
|
698
|
+
readonly url: "https://testnet.berascan.com";
|
|
706
699
|
};
|
|
707
700
|
readonly chain: {
|
|
708
701
|
readonly name: string;
|
|
709
702
|
};
|
|
710
|
-
readonly faucet:
|
|
703
|
+
readonly faucet: {
|
|
704
|
+
readonly name: "Faucet";
|
|
705
|
+
readonly url: "https://bepolia.faucet.berachain.com";
|
|
706
|
+
readonly dripAmount: 1;
|
|
707
|
+
readonly timeGap: 8;
|
|
708
|
+
readonly cloudflareKey: string;
|
|
709
|
+
readonly endpoint: "https://faucet-api.testnet.berachain.com";
|
|
710
|
+
};
|
|
711
711
|
};
|
|
712
712
|
|
|
713
713
|
export { Address, AppName, ChainId, alchemyJsonRpcUrl, appConfig, chainConfigs, defaultChainId as chainId, config, currentDapp, defaultChainId, getRpcUrls, goldskyBaseUrl, imageBaseUrl, jsonRpcUrl, privateRcpUrl, publicJsonRpcUrl };
|
package/dist/internal/index.d.ts
CHANGED
|
@@ -428,25 +428,25 @@ declare const appConfig: {
|
|
|
428
428
|
* @deprecated use chainConfigs and appConfig instead. chainId should always be read from the app state.
|
|
429
429
|
*/
|
|
430
430
|
declare const config: {
|
|
431
|
-
readonly chainId: ChainId.
|
|
431
|
+
readonly chainId: ChainId.MAINNET;
|
|
432
432
|
readonly tokens: {
|
|
433
433
|
readonly wbera: "0x6969696969696969696969696969696969696969";
|
|
434
434
|
readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
|
|
435
435
|
readonly bgt: "0x656b95E550C07a9ffe548bd4085c72418Ceb1dba";
|
|
436
|
-
readonly wbtc: "
|
|
437
|
-
readonly weth: "
|
|
436
|
+
readonly wbtc: "0x0555E30da8f98308EdB960aa94C0Db47230d2B9c";
|
|
437
|
+
readonly weth: "0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590";
|
|
438
438
|
};
|
|
439
439
|
readonly depositContract: "0x4242424242424242424242424242424242424242";
|
|
440
440
|
readonly pol: {
|
|
441
441
|
readonly rewardVaultHelper: "0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2";
|
|
442
442
|
readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
|
|
443
|
+
readonly rewardAllocationFactory: "0xc8FD9a3fB3Dad4C22c9F8Cfa7cecC318A667A791";
|
|
443
444
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
444
|
-
readonly rewardAllocationFactory: "0x7f09Cf6958631513aF0400488F65c7B5c0313F52";
|
|
445
445
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
446
|
-
readonly subgraph:
|
|
447
|
-
readonly feesSubgraph:
|
|
446
|
+
readonly subgraph: string;
|
|
447
|
+
readonly feesSubgraph: string;
|
|
448
448
|
readonly bribeBoostApi: string;
|
|
449
|
-
readonly bgtIncentiveDistributor: "
|
|
449
|
+
readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
|
|
450
450
|
};
|
|
451
451
|
readonly api: {
|
|
452
452
|
readonly name: "Berachain API";
|
|
@@ -460,49 +460,49 @@ declare const config: {
|
|
|
460
460
|
readonly uri: "https://backend-production-351b.up.railway.app";
|
|
461
461
|
};
|
|
462
462
|
readonly bex: {
|
|
463
|
-
readonly chainName: "
|
|
464
|
-
readonly vault: "
|
|
465
|
-
readonly helper: "
|
|
466
|
-
readonly queries: "
|
|
467
|
-
readonly relayer: "
|
|
463
|
+
readonly chainName: "BERACHAIN";
|
|
464
|
+
readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
|
|
465
|
+
readonly helper: "0x5083737EC75a728c265BE578C9d0d5333a2c5951";
|
|
466
|
+
readonly queries: "0x3C612e132624f4Bd500eE1495F54565F0bcc9b59";
|
|
467
|
+
readonly relayer: "0x6044f181aB5E9C05A4ed9Ce295f3B178d2492EE7";
|
|
468
468
|
readonly factories: {
|
|
469
|
-
readonly composableStable: "
|
|
470
|
-
readonly weighted: "
|
|
469
|
+
readonly composableStable: "0xDfA30BDa0375d4763711AB0CC8D91B20bfCC87E1";
|
|
470
|
+
readonly weighted: "0xa966fA8F2d5B087FFFA499C0C1240589371Af409";
|
|
471
471
|
};
|
|
472
|
-
readonly poolCreationHelper: "0x0dC9964F6CA33d9EF38DEB4925234766127C6B36";
|
|
473
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-1.0.3/gn";
|
|
474
|
-
readonly aggregatorsRouter: "0x0000000000000000000000000000000000000000";
|
|
475
|
-
readonly aggregatorsRouterExecutor: "0x0000000000000000000000000000000000000000";
|
|
476
|
-
readonly haikuRouter: null;
|
|
477
|
-
readonly haikuAgentAddress: null;
|
|
478
|
-
readonly aggregatorsProxyUrl: string;
|
|
479
|
-
readonly recoverFundsApi: "https://t3stbe4i5d40p.testnet.berachain.com";
|
|
480
|
-
readonly recoverFundsContract: "0x0eFeC4379805fAFA7269Ec599a6921f388C8841a";
|
|
481
472
|
readonly balancerDelegatedOwnership: "0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b";
|
|
473
|
+
readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
|
|
474
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-1.0.3/gn";
|
|
475
|
+
readonly aggregatorsRouter: "0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58";
|
|
476
|
+
readonly aggregatorsRouterExecutor: "0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8";
|
|
477
|
+
readonly haikuRouter: "0x24aC999FF132B32c5b3956973b6213B0d07eB2C7";
|
|
478
|
+
readonly haikuAgentAddress: "0x69495273D6Dc572A830A4D6e00400a1e9d5B8f71";
|
|
479
|
+
readonly aggregatorsProxyUrl: string;
|
|
480
|
+
readonly recoverFundsApi: string;
|
|
481
|
+
readonly recoverFundsContract: `0x${string}`;
|
|
482
482
|
};
|
|
483
483
|
readonly honey: {
|
|
484
484
|
readonly name: "Honey";
|
|
485
|
-
readonly url: "https://
|
|
486
|
-
readonly subgraph:
|
|
485
|
+
readonly url: "https://honey.berachain.com";
|
|
486
|
+
readonly subgraph: string;
|
|
487
487
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
488
488
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
489
|
-
readonly pythWrapper: "
|
|
489
|
+
readonly pythWrapper: "0xF5686e448BE103beA465105bEb9d284a34ae7e95";
|
|
490
490
|
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
491
491
|
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
492
492
|
};
|
|
493
493
|
readonly hub: {
|
|
494
494
|
readonly name: "BeraHub";
|
|
495
|
-
readonly url: "https://
|
|
495
|
+
readonly url: "https://hub.berachain.com";
|
|
496
496
|
};
|
|
497
497
|
readonly governance: {
|
|
498
|
-
readonly governor:
|
|
499
|
-
readonly timelock:
|
|
500
|
-
readonly subgraph:
|
|
498
|
+
readonly governor: "0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5";
|
|
499
|
+
readonly timelock: "0xb5f2000b5744f207c931526cAE2134cAa8b6862a";
|
|
500
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/governance-subgraph/mainnet-v1.1.1/gn";
|
|
501
501
|
};
|
|
502
502
|
readonly lists: {
|
|
503
|
-
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/
|
|
504
|
-
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/
|
|
505
|
-
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/
|
|
503
|
+
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/mainnet.json";
|
|
504
|
+
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/mainnet.json";
|
|
505
|
+
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/mainnet.json";
|
|
506
506
|
};
|
|
507
507
|
readonly external: {
|
|
508
508
|
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
@@ -510,44 +510,50 @@ declare const config: {
|
|
|
510
510
|
readonly averageBlockTime: 2;
|
|
511
511
|
readonly bridge: {
|
|
512
512
|
readonly name: "BeraBridge";
|
|
513
|
-
readonly url: "https://
|
|
513
|
+
readonly url: "https://bridge.berachain.com";
|
|
514
514
|
readonly nft: {
|
|
515
515
|
readonly name: "BeraBridge NFT";
|
|
516
|
-
readonly url: "
|
|
516
|
+
readonly url: "https://nftbridge.berachain.com";
|
|
517
517
|
readonly eth: {
|
|
518
|
-
readonly subgraph: "
|
|
518
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/nft-bridge-subgraph/eth-v1.0.0-beta1/gn";
|
|
519
519
|
};
|
|
520
520
|
readonly berachain: {
|
|
521
|
-
readonly subgraph: "
|
|
521
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/nft-bridge-subgraph/mainnet-v1.0.0-beta1/gn";
|
|
522
522
|
};
|
|
523
523
|
};
|
|
524
524
|
};
|
|
525
525
|
readonly bend: {
|
|
526
526
|
readonly name: "Bend";
|
|
527
|
-
readonly url: "https://
|
|
528
|
-
readonly whiskApi:
|
|
527
|
+
readonly url: "https://bend.berachain.com";
|
|
528
|
+
readonly whiskApi: {
|
|
529
|
+
readonly name: "Bend Whisk";
|
|
530
|
+
readonly uri: string;
|
|
531
|
+
readonly headers: {
|
|
532
|
+
Authorization: string;
|
|
533
|
+
} | undefined;
|
|
534
|
+
};
|
|
529
535
|
readonly production: {
|
|
530
|
-
readonly morpho:
|
|
531
|
-
readonly adaptiveCurveIrm:
|
|
532
|
-
readonly metaMorphoFactory:
|
|
533
|
-
readonly publicAllocator:
|
|
534
|
-
readonly bundler3:
|
|
535
|
-
readonly generalAdapter1:
|
|
536
|
-
readonly supportedVaults:
|
|
536
|
+
readonly morpho: "0x24147243f9c08d835C218Cda1e135f8dFD0517D0";
|
|
537
|
+
readonly adaptiveCurveIrm: "0xcf247Df3A2322Dea0D408f011c194906E77a6f62";
|
|
538
|
+
readonly metaMorphoFactory: "0x5EDd48C6ACBd565Eeb31702FD9fa9Cbc86fbE616";
|
|
539
|
+
readonly publicAllocator: "0xB62F34Ab315eaDeAc698e8EaEB6Fc2650951BFe7";
|
|
540
|
+
readonly bundler3: "0xF920140A65D0f412f2AB3e76C4fEAB5Eef0657ae";
|
|
541
|
+
readonly generalAdapter1: "0xd2B9667F5214115E27937C410cAeE83E3a901Df7";
|
|
542
|
+
readonly supportedVaults: `0x${string}`[];
|
|
537
543
|
};
|
|
538
544
|
readonly staging: {
|
|
539
|
-
readonly morpho:
|
|
540
|
-
readonly adaptiveCurveIrm:
|
|
541
|
-
readonly metaMorphoFactory:
|
|
542
|
-
readonly publicAllocator:
|
|
543
|
-
readonly bundler3:
|
|
544
|
-
readonly generalAdapter1:
|
|
545
|
-
readonly supportedVaults:
|
|
545
|
+
readonly morpho: "0xC5FabF3a7E98a2ed89f5d5057Ab010634Ca7e71f";
|
|
546
|
+
readonly adaptiveCurveIrm: "0x1d5376e532CcF25b740270624111D665830E5dB9";
|
|
547
|
+
readonly metaMorphoFactory: "0x524061B659380a5e4576d76F0951303B20B5932f";
|
|
548
|
+
readonly publicAllocator: "0xFD6e68bC20be2a01Ec1Df687c83f927087D52811";
|
|
549
|
+
readonly bundler3: "0x56811e1BFfF951B98c7940d3aCe0e549Ec4fDee8";
|
|
550
|
+
readonly generalAdapter1: "0x257a41E20BBfe90D750646C2e00bA700D55958C5";
|
|
551
|
+
readonly supportedVaults: `0x${string}`[];
|
|
546
552
|
};
|
|
547
553
|
};
|
|
548
554
|
readonly enso: {
|
|
549
|
-
readonly walletV2Factory:
|
|
550
|
-
readonly walletFlashloanAdapter:
|
|
555
|
+
readonly walletV2Factory: "0xc914a663837eb21c5a650716e015659686597e55";
|
|
556
|
+
readonly walletFlashloanAdapter: "0x5dE09823D9143886896507107590d9859F3E390b";
|
|
551
557
|
};
|
|
552
558
|
readonly explore: {
|
|
553
559
|
readonly name: "Explore";
|
|
@@ -555,39 +561,32 @@ declare const config: {
|
|
|
555
561
|
};
|
|
556
562
|
readonly explorer: {
|
|
557
563
|
readonly name: "Berascan";
|
|
558
|
-
readonly url: "https://
|
|
564
|
+
readonly url: "https://berascan.com";
|
|
559
565
|
};
|
|
560
566
|
readonly chain: {
|
|
561
567
|
readonly name: string;
|
|
562
568
|
};
|
|
563
|
-
readonly faucet:
|
|
564
|
-
readonly name: "Faucet";
|
|
565
|
-
readonly url: "https://bepolia.faucet.berachain.com";
|
|
566
|
-
readonly dripAmount: 1;
|
|
567
|
-
readonly timeGap: 8;
|
|
568
|
-
readonly cloudflareKey: string;
|
|
569
|
-
readonly endpoint: "https://faucet-api.testnet.berachain.com";
|
|
570
|
-
};
|
|
569
|
+
readonly faucet: null;
|
|
571
570
|
} | {
|
|
572
|
-
readonly chainId: ChainId.
|
|
571
|
+
readonly chainId: ChainId.BEPOLIA;
|
|
573
572
|
readonly tokens: {
|
|
574
573
|
readonly wbera: "0x6969696969696969696969696969696969696969";
|
|
575
574
|
readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
|
|
576
575
|
readonly bgt: "0x656b95E550C07a9ffe548bd4085c72418Ceb1dba";
|
|
577
|
-
readonly wbtc: "
|
|
578
|
-
readonly weth: "
|
|
576
|
+
readonly wbtc: "0x";
|
|
577
|
+
readonly weth: "0x";
|
|
579
578
|
};
|
|
580
579
|
readonly depositContract: "0x4242424242424242424242424242424242424242";
|
|
581
580
|
readonly pol: {
|
|
582
581
|
readonly rewardVaultHelper: "0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2";
|
|
583
582
|
readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
|
|
584
|
-
readonly rewardAllocationFactory: "0xc8FD9a3fB3Dad4C22c9F8Cfa7cecC318A667A791";
|
|
585
583
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
584
|
+
readonly rewardAllocationFactory: "0x7f09Cf6958631513aF0400488F65c7B5c0313F52";
|
|
586
585
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
587
|
-
readonly subgraph:
|
|
588
|
-
readonly feesSubgraph:
|
|
586
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-v1.7.2/gn";
|
|
587
|
+
readonly feesSubgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-fees-subgraph/bepolia-v1.0.0/gn";
|
|
589
588
|
readonly bribeBoostApi: string;
|
|
590
|
-
readonly bgtIncentiveDistributor: "
|
|
589
|
+
readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
|
|
591
590
|
};
|
|
592
591
|
readonly api: {
|
|
593
592
|
readonly name: "Berachain API";
|
|
@@ -601,49 +600,49 @@ declare const config: {
|
|
|
601
600
|
readonly uri: "https://backend-production-351b.up.railway.app";
|
|
602
601
|
};
|
|
603
602
|
readonly bex: {
|
|
604
|
-
readonly chainName: "
|
|
605
|
-
readonly vault: "
|
|
606
|
-
readonly helper: "
|
|
607
|
-
readonly queries: "
|
|
608
|
-
readonly relayer: "
|
|
603
|
+
readonly chainName: "BEPOLIA";
|
|
604
|
+
readonly vault: "0x708cA656b68A6b7384a488A36aD33505a77241FE";
|
|
605
|
+
readonly helper: "0xC7c981ADcDC5d48fed0CD52807fb2bAB22676C8f";
|
|
606
|
+
readonly queries: "0xE3723383a0EA73D5c0dE424BAA97F97f86f6cF92";
|
|
607
|
+
readonly relayer: "0x343215E156Ff586711a5B8C49Fe3099BAF22624C";
|
|
609
608
|
readonly factories: {
|
|
610
|
-
readonly composableStable: "
|
|
611
|
-
readonly weighted: "
|
|
609
|
+
readonly composableStable: "0xB60DbBaCEaeC23486a64d12089F467ef949f1bb1";
|
|
610
|
+
readonly weighted: "0xf1d23276C7b271B2aC595C78977b2312E9954D57";
|
|
612
611
|
};
|
|
613
|
-
readonly
|
|
614
|
-
readonly
|
|
615
|
-
readonly
|
|
616
|
-
readonly
|
|
617
|
-
readonly
|
|
618
|
-
readonly
|
|
619
|
-
readonly haikuAgentAddress: "0x69495273D6Dc572A830A4D6e00400a1e9d5B8f71";
|
|
612
|
+
readonly poolCreationHelper: "0x0dC9964F6CA33d9EF38DEB4925234766127C6B36";
|
|
613
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/bepolia-1.0.3/gn";
|
|
614
|
+
readonly aggregatorsRouter: "0x0000000000000000000000000000000000000000";
|
|
615
|
+
readonly aggregatorsRouterExecutor: "0x0000000000000000000000000000000000000000";
|
|
616
|
+
readonly haikuRouter: null;
|
|
617
|
+
readonly haikuAgentAddress: null;
|
|
620
618
|
readonly aggregatorsProxyUrl: string;
|
|
621
|
-
readonly recoverFundsApi:
|
|
622
|
-
readonly recoverFundsContract:
|
|
619
|
+
readonly recoverFundsApi: "https://t3stbe4i5d40p.testnet.berachain.com";
|
|
620
|
+
readonly recoverFundsContract: "0x0eFeC4379805fAFA7269Ec599a6921f388C8841a";
|
|
621
|
+
readonly balancerDelegatedOwnership: "0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b";
|
|
623
622
|
};
|
|
624
623
|
readonly honey: {
|
|
625
624
|
readonly name: "Honey";
|
|
626
|
-
readonly url: "https://honey.berachain.com";
|
|
627
|
-
readonly subgraph:
|
|
625
|
+
readonly url: "https://bepolia.honey.berachain.com";
|
|
626
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/bepolia-v1.2.1/gn";
|
|
628
627
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
629
628
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
630
|
-
readonly pythWrapper: "
|
|
629
|
+
readonly pythWrapper: "0xE5Ad9BA751714ec8cdd554b5a9f12BFcA13980cB";
|
|
631
630
|
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
632
631
|
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
633
632
|
};
|
|
634
633
|
readonly hub: {
|
|
635
634
|
readonly name: "BeraHub";
|
|
636
|
-
readonly url: "https://hub.berachain.com";
|
|
635
|
+
readonly url: "https://bepolia.hub.berachain.com";
|
|
637
636
|
};
|
|
638
637
|
readonly governance: {
|
|
639
|
-
readonly governor:
|
|
640
|
-
readonly timelock:
|
|
641
|
-
readonly subgraph:
|
|
638
|
+
readonly governor: `0x${string}`;
|
|
639
|
+
readonly timelock: `0x${string}`;
|
|
640
|
+
readonly subgraph: string;
|
|
642
641
|
};
|
|
643
642
|
readonly lists: {
|
|
644
|
-
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/
|
|
645
|
-
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/
|
|
646
|
-
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/
|
|
643
|
+
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/bepolia.json";
|
|
644
|
+
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/bepolia.json";
|
|
645
|
+
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/bepolia.json";
|
|
647
646
|
};
|
|
648
647
|
readonly external: {
|
|
649
648
|
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
@@ -651,50 +650,44 @@ declare const config: {
|
|
|
651
650
|
readonly averageBlockTime: 2;
|
|
652
651
|
readonly bridge: {
|
|
653
652
|
readonly name: "BeraBridge";
|
|
654
|
-
readonly url: "https://bridge.berachain.com";
|
|
653
|
+
readonly url: "https://bepolia.bridge.berachain.com";
|
|
655
654
|
readonly nft: {
|
|
656
655
|
readonly name: "BeraBridge NFT";
|
|
657
|
-
readonly url: "
|
|
656
|
+
readonly url: "#";
|
|
658
657
|
readonly eth: {
|
|
659
|
-
readonly subgraph: "
|
|
658
|
+
readonly subgraph: "#";
|
|
660
659
|
};
|
|
661
660
|
readonly berachain: {
|
|
662
|
-
readonly subgraph: "
|
|
661
|
+
readonly subgraph: "#";
|
|
663
662
|
};
|
|
664
663
|
};
|
|
665
664
|
};
|
|
666
665
|
readonly bend: {
|
|
667
666
|
readonly name: "Bend";
|
|
668
|
-
readonly url: "https://bend.berachain.com";
|
|
669
|
-
readonly whiskApi:
|
|
670
|
-
readonly name: "Bend Whisk";
|
|
671
|
-
readonly uri: string;
|
|
672
|
-
readonly headers: {
|
|
673
|
-
Authorization: string;
|
|
674
|
-
} | undefined;
|
|
675
|
-
};
|
|
667
|
+
readonly url: "https://bepolia.bend.berachain.com";
|
|
668
|
+
readonly whiskApi: null;
|
|
676
669
|
readonly production: {
|
|
677
|
-
readonly morpho:
|
|
678
|
-
readonly adaptiveCurveIrm:
|
|
679
|
-
readonly metaMorphoFactory:
|
|
680
|
-
readonly publicAllocator:
|
|
681
|
-
readonly bundler3:
|
|
682
|
-
readonly generalAdapter1:
|
|
683
|
-
readonly supportedVaults:
|
|
670
|
+
readonly morpho: null;
|
|
671
|
+
readonly adaptiveCurveIrm: null;
|
|
672
|
+
readonly metaMorphoFactory: null;
|
|
673
|
+
readonly publicAllocator: null;
|
|
674
|
+
readonly bundler3: null;
|
|
675
|
+
readonly generalAdapter1: null;
|
|
676
|
+
readonly supportedVaults: Address[];
|
|
684
677
|
};
|
|
685
678
|
readonly staging: {
|
|
686
|
-
readonly morpho:
|
|
687
|
-
readonly adaptiveCurveIrm:
|
|
688
|
-
readonly metaMorphoFactory:
|
|
689
|
-
readonly publicAllocator:
|
|
690
|
-
readonly bundler3:
|
|
691
|
-
readonly generalAdapter1:
|
|
692
|
-
readonly supportedVaults:
|
|
679
|
+
readonly morpho: null;
|
|
680
|
+
readonly adaptiveCurveIrm: null;
|
|
681
|
+
readonly metaMorphoFactory: null;
|
|
682
|
+
readonly publicAllocator: null;
|
|
683
|
+
readonly bundler3: null;
|
|
684
|
+
readonly generalAdapter1: null;
|
|
685
|
+
readonly supportedVaults: Address[];
|
|
693
686
|
};
|
|
694
687
|
};
|
|
695
688
|
readonly enso: {
|
|
696
|
-
readonly walletV2Factory:
|
|
697
|
-
readonly walletFlashloanAdapter:
|
|
689
|
+
readonly walletV2Factory: null;
|
|
690
|
+
readonly walletFlashloanAdapter: null;
|
|
698
691
|
};
|
|
699
692
|
readonly explore: {
|
|
700
693
|
readonly name: "Explore";
|
|
@@ -702,12 +695,19 @@ declare const config: {
|
|
|
702
695
|
};
|
|
703
696
|
readonly explorer: {
|
|
704
697
|
readonly name: "Berascan";
|
|
705
|
-
readonly url: "https://berascan.com";
|
|
698
|
+
readonly url: "https://testnet.berascan.com";
|
|
706
699
|
};
|
|
707
700
|
readonly chain: {
|
|
708
701
|
readonly name: string;
|
|
709
702
|
};
|
|
710
|
-
readonly faucet:
|
|
703
|
+
readonly faucet: {
|
|
704
|
+
readonly name: "Faucet";
|
|
705
|
+
readonly url: "https://bepolia.faucet.berachain.com";
|
|
706
|
+
readonly dripAmount: 1;
|
|
707
|
+
readonly timeGap: 8;
|
|
708
|
+
readonly cloudflareKey: string;
|
|
709
|
+
readonly endpoint: "https://faucet-api.testnet.berachain.com";
|
|
710
|
+
};
|
|
711
711
|
};
|
|
712
712
|
|
|
713
713
|
export { Address, AppName, ChainId, alchemyJsonRpcUrl, appConfig, chainConfigs, defaultChainId as chainId, config, currentDapp, defaultChainId, getRpcUrls, goldskyBaseUrl, imageBaseUrl, jsonRpcUrl, privateRcpUrl, publicJsonRpcUrl };
|
|
@@ -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 r(e,t){if(Array.isArray(e))return e.map(i=>r(i,t));let s=process.argv.includes("--prepublish"),
|
|
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 _child_process = require('child_process');var _tsup = require('tsup');function r(e,t){if(Array.isArray(e))return e.map(i=>r(i,t));let s=process.argv.includes("--prepublish"),n=process.argv.includes("--sourcemap"),a=s||process.argv.includes("--cjs"),p=s||!a||process.argv.includes("--esm"),o=[];p&&o.push("esm"),a&&o.push("cjs");let c=s||process.argv.includes("--minify"),u=typeof t.dts=="object"&&t.dts.only;return{...{format:o,clean:!t.watch&&!u,splitting:!0,outExtension({format:i}){return{js:i==="esm"?".mjs":".cjs"}},outDir:"dist",skipNodeModulesBundle:!0,noExternal:["@berachain/utils"],minify:c,sourcemap:process.env.UPLOAD_SOURCEMAPS==="true"||n,dts:process.env.VERCEL!=="1",async onSuccess(){_child_process.execSync.call(void 0, `find dist -name "*.cjs" -exec perl -pi -e 's/return await /return await /g' {} +`)},esbuildOptions:(i,m)=>{i.jsx="automatic",i.sourceRoot="",_optionalChain([e, 'access', _ => _.esbuildOptions, 'optionalCall', _2 => _2(i,m)])}},...e}}var j=e=>_tsup.defineConfig.call(void 0, async t=>{let s;return typeof e=="function"?s=await e(t):s=e,Array.isArray(s)?s.map(n=>r(n,t)):r(s,t)});exports.beraTsupConfig = j;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../chunk-JZXLCA2E.mjs";import{defineConfig as
|
|
1
|
+
import"../../chunk-JZXLCA2E.mjs";import{execSync as l}from"child_process";import{defineConfig as O}from"tsup";function r(e,t){if(Array.isArray(e))return e.map(i=>r(i,t));let s=process.argv.includes("--prepublish"),n=process.argv.includes("--sourcemap"),a=s||process.argv.includes("--cjs"),p=s||!a||process.argv.includes("--esm"),o=[];p&&o.push("esm"),a&&o.push("cjs");let c=s||process.argv.includes("--minify"),u=typeof t.dts=="object"&&t.dts.only;return{...{format:o,clean:!t.watch&&!u,splitting:!0,outExtension({format:i}){return{js:i==="esm"?".mjs":".cjs"}},outDir:"dist",skipNodeModulesBundle:!0,noExternal:["@berachain/utils"],minify:c,sourcemap:process.env.UPLOAD_SOURCEMAPS==="true"||n,dts:process.env.VERCEL!=="1",async onSuccess(){l(`find dist -name "*.cjs" -exec perl -pi -e 's/returnawait /return await /g' {} +`)},esbuildOptions:(i,m)=>{i.jsx="automatic",i.sourceRoot="",e.esbuildOptions?.(i,m)}},...e}}var j=e=>O(async t=>{let s;return typeof e=="function"?s=await e(t):s=e,Array.isArray(s)?s.map(n=>r(n,t)):r(s,t)});export{j as beraTsupConfig};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@berachain/config",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8-beta.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"@tailwindcss/container-queries": "0.1.1",
|
|
16
16
|
"@tailwindcss/typography": "0.5.16",
|
|
17
17
|
"@types/node": "24.1.0",
|
|
18
|
-
"next": "16.
|
|
18
|
+
"next": "16.2.0",
|
|
19
19
|
"json-schema-to-typescript": "15.0.4",
|
|
20
20
|
"tailwindcss": "3.4.17",
|
|
21
21
|
"tailwindcss-animate": "1.0.7",
|
|
22
|
-
"tsup": "8.
|
|
22
|
+
"tsup": "8.5.1",
|
|
23
23
|
"typescript": "5.5.4",
|
|
24
24
|
"vitest": "3.2.4"
|
|
25
25
|
},
|