@berachain/config 0.0.3-beta.8 → 0.0.4

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.
Files changed (117) hide show
  1. package/dist/bepolia.cjs +1 -1
  2. package/dist/bepolia.d.cts +29 -10
  3. package/dist/bepolia.d.ts +29 -10
  4. package/dist/bepolia.mjs +1 -0
  5. package/dist/chunk-2OLL4MUY.cjs +1 -0
  6. package/dist/chunk-3LFM4QG6.cjs +1 -0
  7. package/dist/chunk-5Q5FZIMO.cjs +2 -0
  8. package/dist/chunk-6CMG5CBG.cjs +1 -0
  9. package/dist/chunk-BQFHWAJZ.mjs +1 -0
  10. package/dist/chunk-CENF5RZA.mjs +1 -0
  11. package/dist/chunk-CM7FGHYU.mjs +2 -0
  12. package/dist/chunk-D2FG64PF.mjs +1 -0
  13. package/dist/chunk-DMFHUBNY.cjs +1 -0
  14. package/dist/chunk-FFCLEC63.mjs +1 -0
  15. package/dist/chunk-G2LROWQ2.mjs +1 -0
  16. package/dist/chunk-G3P5QJ2Y.cjs +1 -0
  17. package/dist/chunk-IV4GOAZB.cjs +1 -0
  18. package/dist/chunk-JVJKB7V7.mjs +1 -0
  19. package/dist/chunk-LJCOMNTL.cjs +1 -0
  20. package/dist/chunk-MS6UGFXI.mjs +1 -0
  21. package/dist/chunk-OQFLFE3X.cjs +1 -0
  22. package/dist/chunk-XTBMK2TL.mjs +1 -0
  23. package/dist/chunk-YUUHPTW6.mjs +1 -0
  24. package/dist/chunk-ZYHYMHGN.cjs +1 -0
  25. package/dist/index.cjs +1 -1
  26. package/dist/index.d.cts +35 -7
  27. package/dist/index.d.ts +35 -7
  28. package/dist/index.mjs +1 -0
  29. package/dist/internal/edge-config/index.cjs +1 -1
  30. package/dist/internal/edge-config/index.d.cts +81 -28
  31. package/dist/internal/edge-config/index.d.ts +81 -28
  32. package/dist/internal/edge-config/index.mjs +1 -0
  33. package/dist/internal/flags/index.cjs +1 -1
  34. package/dist/internal/flags/index.d.cts +17 -7
  35. package/dist/internal/flags/index.d.ts +17 -7
  36. package/dist/internal/flags/index.mjs +1 -0
  37. package/dist/internal/header-sources.cjs +11 -8
  38. package/dist/internal/header-sources.d.cts +9 -2
  39. package/dist/internal/header-sources.d.ts +9 -2
  40. package/dist/internal/header-sources.mjs +16 -0
  41. package/dist/internal/index.cjs +1 -1
  42. package/dist/internal/index.d.cts +206 -69
  43. package/dist/internal/index.d.ts +206 -69
  44. package/dist/internal/index.mjs +1 -0
  45. package/dist/internal/maintenance.cjs +1 -1
  46. package/dist/internal/maintenance.mjs +1 -0
  47. package/dist/internal/nextjs/index.cjs +1 -1
  48. package/dist/internal/nextjs/index.d.cts +21 -1
  49. package/dist/internal/nextjs/index.d.ts +21 -1
  50. package/dist/internal/nextjs/index.mjs +1 -0
  51. package/dist/internal/nextjs/utils/index.cjs +1 -0
  52. package/dist/internal/nextjs/utils/index.d.cts +9 -0
  53. package/dist/internal/nextjs/utils/index.d.ts +9 -0
  54. package/dist/internal/nextjs/utils/index.mjs +1 -0
  55. package/dist/internal/sentry/index.cjs +1 -1
  56. package/dist/internal/sentry/index.d.cts +4 -2
  57. package/dist/internal/sentry/index.d.ts +4 -2
  58. package/dist/internal/sentry/index.mjs +1 -0
  59. package/dist/internal/sentry/sentry.client.config.cjs +1 -1
  60. package/dist/internal/sentry/sentry.client.config.d.cts +5 -1
  61. package/dist/internal/sentry/sentry.client.config.d.ts +5 -1
  62. package/dist/internal/sentry/sentry.client.config.mjs +1 -0
  63. package/dist/internal/tailwind/index.cjs +1 -1
  64. package/dist/internal/tailwind/index.d.cts +3 -3
  65. package/dist/internal/tailwind/index.d.ts +3 -3
  66. package/dist/internal/tailwind/index.mjs +1 -0
  67. package/dist/internal/tsup/index.cjs +1 -1
  68. package/dist/internal/tsup/index.mjs +1 -0
  69. package/dist/mainnet.cjs +1 -1
  70. package/dist/mainnet.d.cts +29 -10
  71. package/dist/mainnet.d.ts +29 -10
  72. package/dist/mainnet.mjs +1 -0
  73. package/dist/sentry.edge.config-M3L3XSD6.cjs +1 -0
  74. package/dist/sentry.edge.config-XKXCGZO7.mjs +1 -0
  75. package/dist/sentry.server.config-535N36OR.cjs +1 -0
  76. package/dist/sentry.server.config-HGGCJWT2.mjs +1 -0
  77. package/package.json +29 -26
  78. package/dist/bepolia.js +0 -1
  79. package/dist/chunk-3IPYHDYK.cjs +0 -1
  80. package/dist/chunk-4XX7D27F.cjs +0 -1
  81. package/dist/chunk-4ZZXDAVS.js +0 -1
  82. package/dist/chunk-6RLCJYH2.cjs +0 -1
  83. package/dist/chunk-BGHO3T7U.js +0 -1
  84. package/dist/chunk-BJUR72F2.js +0 -1
  85. package/dist/chunk-BLIYP7AF.cjs +0 -1
  86. package/dist/chunk-DC57JNAC.js +0 -1
  87. package/dist/chunk-E3O7UH5M.js +0 -1
  88. package/dist/chunk-EG5OHLHP.js +0 -1
  89. package/dist/chunk-GTGNP2XV.cjs +0 -1
  90. package/dist/chunk-HC2ORLQ3.cjs +0 -1
  91. package/dist/chunk-HNEK54FE.cjs +0 -2
  92. package/dist/chunk-K62SDMWX.cjs +0 -1
  93. package/dist/chunk-NDMUG2ND.js +0 -2
  94. package/dist/chunk-RS6KOT3C.js +0 -1
  95. package/dist/chunk-WL6PVJKK.js +0 -1
  96. package/dist/chunk-X73HWW5T.cjs +0 -1
  97. package/dist/index.js +0 -1
  98. package/dist/internal/edge-config/index.js +0 -1
  99. package/dist/internal/flags/index.js +0 -1
  100. package/dist/internal/header-sources.js +0 -13
  101. package/dist/internal/index.js +0 -1
  102. package/dist/internal/maintenance.js +0 -1
  103. package/dist/internal/nextjs/index.js +0 -1
  104. package/dist/internal/sentry/esbuild.plugin.cjs +0 -1
  105. package/dist/internal/sentry/esbuild.plugin.d.cts +0 -3
  106. package/dist/internal/sentry/esbuild.plugin.d.ts +0 -3
  107. package/dist/internal/sentry/esbuild.plugin.js +0 -1
  108. package/dist/internal/sentry/index.js +0 -1
  109. package/dist/internal/sentry/sentry.client.config.js +0 -1
  110. package/dist/internal/tailwind/index.js +0 -1
  111. package/dist/internal/tsup/index.js +0 -1
  112. package/dist/mainnet.js +0 -1
  113. package/dist/sentry.edge.config-UQQHM7RP.cjs +0 -1
  114. package/dist/sentry.edge.config-V6Q3YAS2.js +0 -1
  115. package/dist/sentry.server.config-45GGQXOQ.js +0 -1
  116. package/dist/sentry.server.config-7JEUQ6QA.cjs +0 -1
  117. /package/dist/{chunk-WOT6VMZA.js → chunk-JZXLCA2E.mjs} +0 -0
package/dist/bepolia.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkK62SDMWXcjs = require('./chunk-K62SDMWX.cjs');require('./chunk-4VDLQK6F.cjs');exports.bepolia = _chunkK62SDMWXcjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkG3P5QJ2Ycjs = require('./chunk-G3P5QJ2Y.cjs');require('./chunk-ZYHYMHGN.cjs');require('./chunk-5Q5FZIMO.cjs');require('./chunk-2OLL4MUY.cjs');require('./chunk-4VDLQK6F.cjs');exports.bepolia = _chunkG3P5QJ2Ycjs.a;
@@ -10,10 +10,11 @@ declare const bepolia: {
10
10
  };
11
11
  readonly depositContract: "0x4242424242424242424242424242424242424242";
12
12
  readonly pol: {
13
+ readonly rewardVaultHelper: "0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2";
13
14
  readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
14
15
  readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
15
16
  readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
16
- readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-v1.6.1/gn";
17
+ readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-1.7.0/gn";
17
18
  readonly bribeBoostApi: string;
18
19
  readonly bribeBoostApiKey: string;
19
20
  readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
@@ -35,18 +36,18 @@ declare const bepolia: {
35
36
  readonly aggregatorsRouter: "0x0000000000000000000000000000000000000000";
36
37
  readonly aggregatorsRouterExecutor: "0x0000000000000000000000000000000000000000";
37
38
  readonly aggregatorsProxyUrl: string;
39
+ readonly recoverFundsApi: "https://t3stbe4i5d40p.testnet.berachain.com";
40
+ readonly recoverFundsContract: "0x0eFeC4379805fAFA7269Ec599a6921f388C8841a";
38
41
  };
39
42
  readonly honey: {
40
43
  readonly name: "Honey";
41
44
  readonly url: "https://bepolia.honey.berachain.com";
42
- readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/bepolia-v1.1.1/gn";
45
+ readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/bepolia-v1.2.1/gn";
43
46
  readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
47
+ readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
44
48
  readonly pythWrapper: "0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606";
45
- readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
46
49
  readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
47
50
  readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
48
- readonly isPythWrapperEnabled: boolean;
49
- readonly isCustodyEnabled: boolean;
50
51
  };
51
52
  readonly hub: {
52
53
  readonly name: "BeraHub";
@@ -66,6 +67,9 @@ declare const bepolia: {
66
67
  readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/bepolia.json";
67
68
  readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/bepolia.json";
68
69
  };
70
+ readonly external: {
71
+ readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
72
+ };
69
73
  readonly averageBlockTime: 2;
70
74
  readonly beApiKey: string;
71
75
  readonly bridge: {
@@ -85,11 +89,26 @@ declare const bepolia: {
85
89
  readonly bend: {
86
90
  readonly name: "Bend";
87
91
  readonly url: "https://bepolia.bend.berachain.com";
88
- readonly supportedVaults: Address[];
89
- };
90
- readonly berps: {
91
- readonly name: "Berps";
92
- readonly url: "#";
92
+ readonly whiskApiUrl: null;
93
+ readonly whiskApiKey: null;
94
+ readonly production: {
95
+ readonly morpho: null;
96
+ readonly adaptiveCurveIrm: null;
97
+ readonly metaMorphoFactory: null;
98
+ readonly publicAllocator: null;
99
+ readonly bundler3: null;
100
+ readonly generalAdapter1: null;
101
+ readonly supportedVaults: Address[];
102
+ };
103
+ readonly staging: {
104
+ readonly morpho: null;
105
+ readonly adaptiveCurveIrm: null;
106
+ readonly metaMorphoFactory: null;
107
+ readonly publicAllocator: null;
108
+ readonly bundler3: null;
109
+ readonly generalAdapter1: null;
110
+ readonly supportedVaults: Address[];
111
+ };
93
112
  };
94
113
  readonly explore: {
95
114
  readonly name: "Explore";
package/dist/bepolia.d.ts CHANGED
@@ -10,10 +10,11 @@ declare const bepolia: {
10
10
  };
11
11
  readonly depositContract: "0x4242424242424242424242424242424242424242";
12
12
  readonly pol: {
13
+ readonly rewardVaultHelper: "0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2";
13
14
  readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
14
15
  readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
15
16
  readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
16
- readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-v1.6.1/gn";
17
+ readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/pol-subgraph/bepolia-1.7.0/gn";
17
18
  readonly bribeBoostApi: string;
18
19
  readonly bribeBoostApiKey: string;
19
20
  readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
@@ -35,18 +36,18 @@ declare const bepolia: {
35
36
  readonly aggregatorsRouter: "0x0000000000000000000000000000000000000000";
36
37
  readonly aggregatorsRouterExecutor: "0x0000000000000000000000000000000000000000";
37
38
  readonly aggregatorsProxyUrl: string;
39
+ readonly recoverFundsApi: "https://t3stbe4i5d40p.testnet.berachain.com";
40
+ readonly recoverFundsContract: "0x0eFeC4379805fAFA7269Ec599a6921f388C8841a";
38
41
  };
39
42
  readonly honey: {
40
43
  readonly name: "Honey";
41
44
  readonly url: "https://bepolia.honey.berachain.com";
42
- readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/bepolia-v1.1.1/gn";
45
+ readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/bepolia-v1.2.1/gn";
43
46
  readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
47
+ readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
44
48
  readonly pythWrapper: "0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606";
45
- readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
46
49
  readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
47
50
  readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
48
- readonly isPythWrapperEnabled: boolean;
49
- readonly isCustodyEnabled: boolean;
50
51
  };
51
52
  readonly hub: {
52
53
  readonly name: "BeraHub";
@@ -66,6 +67,9 @@ declare const bepolia: {
66
67
  readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/bepolia.json";
67
68
  readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/bepolia.json";
68
69
  };
70
+ readonly external: {
71
+ readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
72
+ };
69
73
  readonly averageBlockTime: 2;
70
74
  readonly beApiKey: string;
71
75
  readonly bridge: {
@@ -85,11 +89,26 @@ declare const bepolia: {
85
89
  readonly bend: {
86
90
  readonly name: "Bend";
87
91
  readonly url: "https://bepolia.bend.berachain.com";
88
- readonly supportedVaults: Address[];
89
- };
90
- readonly berps: {
91
- readonly name: "Berps";
92
- readonly url: "#";
92
+ readonly whiskApiUrl: null;
93
+ readonly whiskApiKey: null;
94
+ readonly production: {
95
+ readonly morpho: null;
96
+ readonly adaptiveCurveIrm: null;
97
+ readonly metaMorphoFactory: null;
98
+ readonly publicAllocator: null;
99
+ readonly bundler3: null;
100
+ readonly generalAdapter1: null;
101
+ readonly supportedVaults: Address[];
102
+ };
103
+ readonly staging: {
104
+ readonly morpho: null;
105
+ readonly adaptiveCurveIrm: null;
106
+ readonly metaMorphoFactory: null;
107
+ readonly publicAllocator: null;
108
+ readonly bundler3: null;
109
+ readonly generalAdapter1: null;
110
+ readonly supportedVaults: Address[];
111
+ };
93
112
  };
94
113
  readonly explore: {
95
114
  readonly name: "Explore";
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-FFCLEC63.mjs";import"./chunk-YUUHPTW6.mjs";import"./chunk-CM7FGHYU.mjs";import"./chunk-MS6UGFXI.mjs";import"./chunk-JZXLCA2E.mjs";export{a as bepolia};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var r=(e=>(e[e.MAINNET=80094]="MAINNET",e[e.BEPOLIA=80069]="BEPOLIA",e))(r||{});exports.a = r;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk5Q5FZIMOcjs = require('./chunk-5Q5FZIMO.cjs');var e=_chunk5Q5FZIMOcjs.a===80094?"mainnet-":"bepolia-";process.env.VERCEL_TARGET_ENV==="production"?e = exports.a+="production":process.env.NODE_ENV==="development"?e = exports.a+="development":e = exports.a+="preview";var s=process.env.VERCEL_TARGET_ENV==="production"?.1:1,p= exports.c =process.env.VERCEL_GIT_COMMIT_SHA,E= exports.d =process.env.NEXT_PUBLIC_SENTRY_DEBUG==="true";exports.a = e; exports.b = s; exports.c = p; exports.d = E;
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk2OLL4MUYcjs = require('./chunk-2OLL4MUY.cjs');var n=process.env.NEXT_PUBLIC_CHAIN_ID?Number(process.env.NEXT_PUBLIC_CHAIN_ID):80094;if(!Object.values(_chunk2OLL4MUYcjs.a).includes(n))throw new Error(`process.env.NEXT_PUBLIC_CHAIN_ID is invalid: ${n}.
2
+ This value must be one of the following: ${Object.values(_chunk2OLL4MUYcjs.a).filter(Number).join(", ")} when using @berachain/config/internal.`);var r=process.env.NEXT_PUBLIC_BERA_APP_NAME;exports.a = n; exports.b = r;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunkZYHYMHGNcjs = require('./chunk-ZYHYMHGN.cjs');var a={tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x0555E30da8f98308EdB960aa94C0Db47230d2B9c",weth:"0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590"},depositContract:"0x4242424242424242424242424242424242424242",pol:{rewardVaultHelper:"0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2",beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_POL_SUBGRAPH, () => (`${_chunkZYHYMHGNcjs.b}pol-subgraph/mainnet-1.7.0/gn`)),bribeBoostApi:process.env.NEXT_PUBLIC_80094_INCENTIVES_API||"https://api-claim.berachain.com",bribeBoostApiKey:_nullishCoalesce(process.env.PRIVATE_80094_INCENTIVES_API_KEY, () => ("")),bgtIncentiveDistributor:"0x77DA09bC82652f9A14d1b170a001e759640298e6"},api:_nullishCoalesce(_nullishCoalesce(process.env.PRIVATE_80094_BEX_API_URL, () => (process.env.NEXT_PUBLIC_80094_BEX_API_URL)), () => ("https://api.berachain.com")),blocksSubgraph:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_BLOCKS_SUBGRAPH, () => (`${_chunkZYHYMHGNcjs.b}blocks-subgraph/mainnet-v1.1.0/gn`)),bex:{chainName:"BERACHAIN",vault:"0x4Be03f781C497A489E3cB0287833452cA9B9E80B",helper:"0x5083737EC75a728c265BE578C9d0d5333a2c5951",queries:"0x3C612e132624f4Bd500eE1495F54565F0bcc9b59",relayer:"0x6044f181aB5E9C05A4ed9Ce295f3B178d2492EE7",factories:{composableStable:"0xDfA30BDa0375d4763711AB0CC8D91B20bfCC87E1",weighted:"0xa966fA8F2d5B087FFFA499C0C1240589371Af409"},poolCreationHelper:"0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2",subgraph:`${_chunkZYHYMHGNcjs.b}bex-subgraph/mainnet-v1.0.2/gn`,aggregatorsRouter:"0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58",aggregatorsRouterExecutor:"0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8",aggregatorsProxyUrl:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_AGGREGATORS_PROXY_URL, () => ("https://gateway.mainnet.berachain.com/proxy")),recoverFundsApi:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_RECOVER_FUNDS_API, () => ("https://be4i5d40pr3f00n4c441n.mainnet.berachain.com")),recoverFundsContract:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_RECOVER_FUNDS_CONTRACT, () => ("0xB5787B8f7b07a00229b617c4B7a616185857C147"))},honey:{name:"Honey",url:"https://honey.berachain.com",subgraph:_nullishCoalesce(process.env.NEXT_PUBLIC_80094_HONEY_SUBGRAPH, () => (`${_chunkZYHYMHGNcjs.b}honey-subgraph/mainnet-v1.2.1/gn`)),factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythOracle:"0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943",pythWrapper:"0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce"},hub:{name:"BeraHub",url:"https://hub.berachain.com"},foundation:{name:"Berachain Foundation",url:"https://www.berachain.com"},governance:{governor:"0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5",timelock:"0xb5f2000b5744f207c931526cAE2134cAa8b6862a",subgraph:`${_chunkZYHYMHGNcjs.b}governance-subgraph/mainnet-v1.1.1/gn`},lists:{rewardVaultList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/mainnet.json",tokenList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/mainnet.json",validatorList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/mainnet.json"},external:{pyth:"0x2880aB155794e7179c9eE2e38200202908C17B43"},averageBlockTime:2,beApiKey:process.env.PRIVATE_80094_BEX_API_KEY,bridge:{name:"BeraBridge",url:"https://bridge.berachain.com",nft:{name:"BeraBridge NFT",url:"https://nftbridge.berachain.com",eth:{subgraph:`${_chunkZYHYMHGNcjs.b}nft-bridge-subgraph/eth-v1.0.0-beta1/gn`},berachain:{subgraph:`${_chunkZYHYMHGNcjs.b}nft-bridge-subgraph/mainnet-v1.0.0-beta1/gn`}}},bend:{name:"Bend",url:"https://bend.berachain.com",whiskApiUrl:_nullishCoalesce(process.env.WHISK_API_URL, () => ("https://berachain.whisk.so/graphql")),whiskApiKey:_nullishCoalesce(process.env.WHISK_API_KEY, () => ("")),production:{morpho:"0x24147243f9c08d835C218Cda1e135f8dFD0517D0",adaptiveCurveIrm:"0xcf247Df3A2322Dea0D408f011c194906E77a6f62",metaMorphoFactory:"0x5EDd48C6ACBd565Eeb31702FD9fa9Cbc86fbE616",publicAllocator:"0xB62F34Ab315eaDeAc698e8EaEB6Fc2650951BFe7",bundler3:"0xF920140A65D0f412f2AB3e76C4fEAB5Eef0657ae",generalAdapter1:"0xd2B9667F5214115E27937C410cAeE83E3a901Df7",supportedVaults:(_nullishCoalesce(process.env.NEXT_PUBLIC_80094_BEND_PRODUCTION_SUPPORTED_VAULTS, () => ("0x30BbA9CD9Eb8c95824aa42Faa1Bb397b07545bc1"))).split(",").filter(Boolean)},staging:{morpho:"0xC5FabF3a7E98a2ed89f5d5057Ab010634Ca7e71f",adaptiveCurveIrm:"0x1d5376e532CcF25b740270624111D665830E5dB9",metaMorphoFactory:"0x524061B659380a5e4576d76F0951303B20B5932f",publicAllocator:"0xFD6e68bC20be2a01Ec1Df687c83f927087D52811",bundler3:"0x56811e1BFfF951B98c7940d3aCe0e549Ec4fDee8",generalAdapter1:"0x257a41E20BBfe90D750646C2e00bA700D55958C5",supportedVaults:(_nullishCoalesce(process.env.NEXT_PUBLIC_80094_BEND_STAGING_SUPPORTED_VAULTS, () => ("0x19DcFf4e8Ff0B554D8a1f22d289A449fd4FbddBa,0xC0808A144CE2ea85bF84EBD1dDF5D59429f59dDE"))).split(",").filter(Boolean)}},explore:{name:"Explore",url:"https://explore.berachain.com"},explorer:{name:"Berascan",url:"https://berascan.com"},chain:{name:_nullishCoalesce(process.env.NEXT_PUBLIC_CHAIN_NAME, () => ("Berachain"))}},t= exports.b =a;exports.a = a; exports.b = t;
@@ -0,0 +1 @@
1
+ import{b as e}from"./chunk-YUUHPTW6.mjs";var a={tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x0555E30da8f98308EdB960aa94C0Db47230d2B9c",weth:"0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590"},depositContract:"0x4242424242424242424242424242424242424242",pol:{rewardVaultHelper:"0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2",beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:process.env.NEXT_PUBLIC_80094_POL_SUBGRAPH??`${e}pol-subgraph/mainnet-1.7.0/gn`,bribeBoostApi:process.env.NEXT_PUBLIC_80094_INCENTIVES_API||"https://api-claim.berachain.com",bribeBoostApiKey:process.env.PRIVATE_80094_INCENTIVES_API_KEY??"",bgtIncentiveDistributor:"0x77DA09bC82652f9A14d1b170a001e759640298e6"},api:process.env.PRIVATE_80094_BEX_API_URL??process.env.NEXT_PUBLIC_80094_BEX_API_URL??"https://api.berachain.com",blocksSubgraph:process.env.NEXT_PUBLIC_80094_BLOCKS_SUBGRAPH??`${e}blocks-subgraph/mainnet-v1.1.0/gn`,bex:{chainName:"BERACHAIN",vault:"0x4Be03f781C497A489E3cB0287833452cA9B9E80B",helper:"0x5083737EC75a728c265BE578C9d0d5333a2c5951",queries:"0x3C612e132624f4Bd500eE1495F54565F0bcc9b59",relayer:"0x6044f181aB5E9C05A4ed9Ce295f3B178d2492EE7",factories:{composableStable:"0xDfA30BDa0375d4763711AB0CC8D91B20bfCC87E1",weighted:"0xa966fA8F2d5B087FFFA499C0C1240589371Af409"},poolCreationHelper:"0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2",subgraph:`${e}bex-subgraph/mainnet-v1.0.2/gn`,aggregatorsRouter:"0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58",aggregatorsRouterExecutor:"0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8",aggregatorsProxyUrl:process.env.NEXT_PUBLIC_80094_AGGREGATORS_PROXY_URL??"https://gateway.mainnet.berachain.com/proxy",recoverFundsApi:process.env.NEXT_PUBLIC_80094_RECOVER_FUNDS_API??"https://be4i5d40pr3f00n4c441n.mainnet.berachain.com",recoverFundsContract:process.env.NEXT_PUBLIC_80094_RECOVER_FUNDS_CONTRACT??"0xB5787B8f7b07a00229b617c4B7a616185857C147"},honey:{name:"Honey",url:"https://honey.berachain.com",subgraph:process.env.NEXT_PUBLIC_80094_HONEY_SUBGRAPH??`${e}honey-subgraph/mainnet-v1.2.1/gn`,factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythOracle:"0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943",pythWrapper:"0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce"},hub:{name:"BeraHub",url:"https://hub.berachain.com"},foundation:{name:"Berachain Foundation",url:"https://www.berachain.com"},governance:{governor:"0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5",timelock:"0xb5f2000b5744f207c931526cAE2134cAa8b6862a",subgraph:`${e}governance-subgraph/mainnet-v1.1.1/gn`},lists:{rewardVaultList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/mainnet.json",tokenList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/mainnet.json",validatorList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/mainnet.json"},external:{pyth:"0x2880aB155794e7179c9eE2e38200202908C17B43"},averageBlockTime:2,beApiKey:process.env.PRIVATE_80094_BEX_API_KEY,bridge:{name:"BeraBridge",url:"https://bridge.berachain.com",nft:{name:"BeraBridge NFT",url:"https://nftbridge.berachain.com",eth:{subgraph:`${e}nft-bridge-subgraph/eth-v1.0.0-beta1/gn`},berachain:{subgraph:`${e}nft-bridge-subgraph/mainnet-v1.0.0-beta1/gn`}}},bend:{name:"Bend",url:"https://bend.berachain.com",whiskApiUrl:process.env.WHISK_API_URL??"https://berachain.whisk.so/graphql",whiskApiKey:process.env.WHISK_API_KEY??"",production:{morpho:"0x24147243f9c08d835C218Cda1e135f8dFD0517D0",adaptiveCurveIrm:"0xcf247Df3A2322Dea0D408f011c194906E77a6f62",metaMorphoFactory:"0x5EDd48C6ACBd565Eeb31702FD9fa9Cbc86fbE616",publicAllocator:"0xB62F34Ab315eaDeAc698e8EaEB6Fc2650951BFe7",bundler3:"0xF920140A65D0f412f2AB3e76C4fEAB5Eef0657ae",generalAdapter1:"0xd2B9667F5214115E27937C410cAeE83E3a901Df7",supportedVaults:(process.env.NEXT_PUBLIC_80094_BEND_PRODUCTION_SUPPORTED_VAULTS??"0x30BbA9CD9Eb8c95824aa42Faa1Bb397b07545bc1").split(",").filter(Boolean)},staging:{morpho:"0xC5FabF3a7E98a2ed89f5d5057Ab010634Ca7e71f",adaptiveCurveIrm:"0x1d5376e532CcF25b740270624111D665830E5dB9",metaMorphoFactory:"0x524061B659380a5e4576d76F0951303B20B5932f",publicAllocator:"0xFD6e68bC20be2a01Ec1Df687c83f927087D52811",bundler3:"0x56811e1BFfF951B98c7940d3aCe0e549Ec4fDee8",generalAdapter1:"0x257a41E20BBfe90D750646C2e00bA700D55958C5",supportedVaults:(process.env.NEXT_PUBLIC_80094_BEND_STAGING_SUPPORTED_VAULTS??"0x19DcFf4e8Ff0B554D8a1f22d289A449fd4FbddBa,0xC0808A144CE2ea85bF84EBD1dDF5D59429f59dDE").split(",").filter(Boolean)}},explore:{name:"Explore",url:"https://explore.berachain.com"},explorer:{name:"Berascan",url:"https://berascan.com"},chain:{name:process.env.NEXT_PUBLIC_CHAIN_NAME??"Berachain"}},t=a;export{a,t as b};
@@ -0,0 +1 @@
1
+ import*as t from"@sentry/nextjs";async function s(e={}){if(process.env.NEXT_RUNTIME==="edge"){let{initSentryEdge:r}=await import("./sentry.edge.config-XKXCGZO7.mjs");r(t,e)}else if(process.env.NEXT_RUNTIME==="nodejs"){let{initSentryServer:r}=await import("./sentry.server.config-HGGCJWT2.mjs");r(t,e)}}function i(e){let r={...e,env:{...e.env,VERCEL_TARGET_ENV:process.env.VERCEL_TARGET_ENV},webpack:(n,o)=>(o.isServer&&!o.dev&&process.env.UPLOAD_SOURCEMAPS==="true"&&(n.devtool="source-map"),e.webpack?.(n,o)??n)};return t.withSentryConfig(r,{org:process.env.SENTRY_ORG,project:process.env.SENTRY_PROJECT,telemetry:!1,reactComponentAnnotation:{enabled:process.env.UPLOAD_SOURCEMAPS==="true"},widenClientFileUpload:process.env.UPLOAD_SOURCEMAPS==="true",sourcemaps:{disable:process.env.UPLOAD_SOURCEMAPS!=="true"},debug:process.env.UPLOAD_SOURCEMAPS==="true",tunnelRoute:"/monitoring-tunnel",automaticVercelMonitors:!0})}var c=t.captureRequestError;export{s as a,i as b,c};
@@ -0,0 +1,2 @@
1
+ import{a as e}from"./chunk-MS6UGFXI.mjs";var n=process.env.NEXT_PUBLIC_CHAIN_ID?Number(process.env.NEXT_PUBLIC_CHAIN_ID):80094;if(!Object.values(e).includes(n))throw new Error(`process.env.NEXT_PUBLIC_CHAIN_ID is invalid: ${n}.
2
+ This value must be one of the following: ${Object.values(e).filter(Number).join(", ")} when using @berachain/config/internal.`);var r=process.env.NEXT_PUBLIC_BERA_APP_NAME;export{n as a,r as b};
@@ -0,0 +1 @@
1
+ import{a,b as o}from"./chunk-CM7FGHYU.mjs";function c(e,n,t){return e.chain?.length?e.chain.includes(n===80094?"mainnet":"bepolia"):t}function u(e,n,t){return n&&e.branch?.length?e.branch.includes(n):t}function d(e,n,t){return e.app?.length&&n?e.app.includes(n):t}function i(e,n,t){let r=e[n];return r?n==="startAt"?r?new Date(r)<=new Date:t:r?new Date(r)>=new Date:t:t}function s(e,{chain:n=a,environment:t=process.env.VERCEL_TARGET_ENV,app:r=o}={}){return e?typeof e=="boolean"?e:e.condition==="OR"?c(e,n,!1)||u(e,t,!1)||d(e,r,!1)||i(e,"startAt",!1)||i(e,"endAt",!1):c(e,n,!0)&&u(e,t,!0)&&d(e,r,!0)&&i(e,"startAt",!0)&&i(e,"endAt",!0):!1}export{s as a};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunk5Q5FZIMOcjs = require('./chunk-5Q5FZIMO.cjs');function c(e,n,t){return _optionalChain([e, 'access', _ => _.chain, 'optionalAccess', _2 => _2.length])?e.chain.includes(n===80094?"mainnet":"bepolia"):t}function u(e,n,t){return n&&_optionalChain([e, 'access', _3 => _3.branch, 'optionalAccess', _4 => _4.length])?e.branch.includes(n):t}function d(e,n,t){return _optionalChain([e, 'access', _5 => _5.app, 'optionalAccess', _6 => _6.length])&&n?e.app.includes(n):t}function i(e,n,t){let r=e[n];return r?n==="startAt"?r?new Date(r)<=new Date:t:r?new Date(r)>=new Date:t:t}function s(e,{chain:n=_chunk5Q5FZIMOcjs.a,environment:t=process.env.VERCEL_TARGET_ENV,app:r=_chunk5Q5FZIMOcjs.b}={}){return e?typeof e=="boolean"?e:e.condition==="OR"?c(e,n,!1)||u(e,t,!1)||d(e,r,!1)||i(e,"startAt",!1)||i(e,"endAt",!1):c(e,n,!0)&&u(e,t,!0)&&d(e,r,!0)&&i(e,"startAt",!0)&&i(e,"endAt",!0):!1}exports.a = s;
@@ -0,0 +1 @@
1
+ import{b as e}from"./chunk-YUUHPTW6.mjs";var r={tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x",weth:"0x"},depositContract:"0x4242424242424242424242424242424242424242",pol:{rewardVaultHelper:"0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2",beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:`${e}pol-subgraph/bepolia-1.7.0/gn`,bribeBoostApi:process.env.NEXT_PUBLIC_80069_INCENTIVES_API||"https://bepolia.api-claim.berachain.com",bribeBoostApiKey:process.env.PRIVATE_80069_INCENTIVES_API_KEY??"",bgtIncentiveDistributor:"0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3"},api:process.env.PRIVATE_80069_BEX_API_URL??process.env.NEXT_PUBLIC_80069_BEX_API_URL??"https://bepolia-api.berachain.com",blocksSubgraph:`${e}blocks-subgraph/bepolia-v1.1.0/gn`,bex:{chainName:"BEPOLIA",vault:"0x708cA656b68A6b7384a488A36aD33505a77241FE",helper:"0xC7c981ADcDC5d48fed0CD52807fb2bAB22676C8f",queries:"0xE3723383a0EA73D5c0dE424BAA97F97f86f6cF92",relayer:"0x343215E156Ff586711a5B8C49Fe3099BAF22624C",factories:{composableStable:"0xB60DbBaCEaeC23486a64d12089F467ef949f1bb1",weighted:"0xf1d23276C7b271B2aC595C78977b2312E9954D57"},poolCreationHelper:"0x0dC9964F6CA33d9EF38DEB4925234766127C6B36",subgraph:`${e}bex-subgraph/bepolia-v1.0.2-rc1/gn`,aggregatorsRouter:"0x0000000000000000000000000000000000000000",aggregatorsRouterExecutor:"0x0000000000000000000000000000000000000000",aggregatorsProxyUrl:process.env.NEXT_PUBLIC_80069_AGGREGATORS_PROXY_URL??"",recoverFundsApi:"https://t3stbe4i5d40p.testnet.berachain.com",recoverFundsContract:"0x0eFeC4379805fAFA7269Ec599a6921f388C8841a"},honey:{name:"Honey",url:"https://bepolia.honey.berachain.com",subgraph:`${e}honey-subgraph/bepolia-v1.2.1/gn`,factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythOracle:"0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943",pythWrapper:"0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce"},hub:{name:"BeraHub",url:"https://bepolia.hub.berachain.com"},foundation:{name:"Berachain Foundation",url:"https://www.berachain.com"},governance:{governor:process.env.NEXT_PUBLIC_80069_GOVERNANCE_ADDRESS??"0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5",timelock:process.env.NEXT_PUBLIC_80069_GOVERNANCE_TIMELOCK??"0xb5f2000b5744f207c931526cAE2134cAa8b6862a",subgraph:process.env.NEXT_PUBLIC_80069_GOVERNANCE_SUBGRAPH??`${e}governance-subgraph/bepolia-v1.1.1/gn`},lists:{rewardVaultList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/bepolia.json",tokenList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/bepolia.json",validatorList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/bepolia.json"},external:{pyth:"0x2880aB155794e7179c9eE2e38200202908C17B43"},averageBlockTime:2,beApiKey:process.env.PRIVATE_80069_BEX_API_KEY,bridge:{name:"BeraBridge",url:"https://bepolia.bridge.berachain.com",nft:{name:"BeraBridge NFT",url:"#",eth:{subgraph:"#"},berachain:{subgraph:"#"}}},bend:{name:"Bend",url:"https://bepolia.bend.berachain.com",whiskApiUrl:null,whiskApiKey:null,production:{morpho:null,adaptiveCurveIrm:null,metaMorphoFactory:null,publicAllocator:null,bundler3:null,generalAdapter1:null,supportedVaults:[]},staging:{morpho:null,adaptiveCurveIrm:null,metaMorphoFactory:null,publicAllocator:null,bundler3:null,generalAdapter1:null,supportedVaults:[]}},explore:{name:"Explore",url:"https://explore.berachain.com"},explorer:{name:"Berascan",url:"https://testnet.berascan.com"},chain:{name:process.env.NEXT_PUBLIC_CHAIN_NAME??"Berachain Bepolia"}};export{r as a};
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-FFCLEC63.mjs";import{a as o}from"./chunk-BQFHWAJZ.mjs";import{a as e}from"./chunk-CM7FGHYU.mjs";var n={80094:o,80069:a},r=n[e],s={apiKeys:{public:{dynamicWallet:process.env.NEXT_PUBLIC_DYNAMIC_API_KEY??"b8a5104d-47e0-4965-b56a-0bcc31cf56f4",postHogProjectKey:"phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax",cookie3SiteId:process.env.NEXT_PUBLIC_COOKIE3_SITE_ID},private:{dummyInternalApiKey:process.env.DUMMY_INTERNAL_API_KEY,luma:process.env.LUMA_API_KEY,clickup:process.env.CLICKUP_API_KEY,ghostContent:process.env.GHOST_CONTENT_API_KEY,ghostAdmin:process.env.GHOST_ADMIN_API_KEY,oogabooga:process.env.OOGABOOGA_API_KEY,haiku:process.env.HAIKU_API_KEY,kyberswap:process.env.KYBERSWAP_CLIENT_ID,enso:process.env.ENSO_API_KEY??process.env.NEXT_PUBLIC_ENSO_API_KEY??"3c1f3c7a-7ff7-4c5a-9a2b-79f50b5bfb4f",etherscan:process.env.ETHERSCAN_API_KEY}},addresses:{balancerDelegatedOwnership:"0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b",multicall:"0xcA11bde05977b3631167028862bE2a173976CA11"},faucet:{name:"Faucet",url:"https://bepolia.faucet.berachain.com",dripAmount:1,timeGap:8,cloudflareKey:process.env.CLOUDFLARE_KEY||"0x4AAAAAAARdAuciFArKhVwt",endpoint:"https://faucet-api.testnet.berachain.com"},urls:{postHogApiHost:"https://eu.i.posthog.com",ghost:"https://berachain.ghost.io",cloudinary:"https://res.cloudinary.com/duv0g402y/image/upload/f_auto,q_auto/v1",homepage:process.env.NEXT_PUBLIC_HOMEPAGE_URL??"https://www.berachain.com",ecosystem:"https://ecosystem.berachain.com/",ecojobs:"https://ecojobs.berachain.com/",docs:"https://docs.berachain.com",careers:"https://careers.berachain.com/",mediaKit:"https://drive.google.com/drive/folders/12t_a4Rci2txC3uVj9JyXXsSRCqWfd4GG/",blog:"https://blog.berachain.com/",news:"https://news.berachain.com/",honeypaper:"https://honeypaper.berachain.com/",airdrop:"https://airdrop.berachain.com/",twitter:"https://x.com/berachain",telegram:"https://t.me/BerachainPortal",discord:"https://discord.com/invite/berachain",github:"https://github.com/berachain",buildabera:"https://buildabera.xyz/"},bend:{...r.bend,liquidationWarningLtvMargin:.05,maxBorrowLtvMargin:.05,publicAllocatorSupplyTargetUtilizationWad:BigInt(9e17),useProductionContracts:process.env.VERCEL_TARGET_ENV==="production"||process.env.NEXT_PUBLIC_BEND_USE_PRODUCTION_CONTRACTS==="true"}},t=process.env.NODE_ENV!=="development"||process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS!=="0"&&!!process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS,c={isPosthogEnabled:s.apiKeys.public.postHogProjectKey&&t,isCookie3Enabled:s.apiKeys.public.cookie3SiteId&&t,disallowIndexing:e!==80094&&e!==80069,hideCurator:!1},d={...r,...s,flags:c};export{n as a,d as b};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunkZYHYMHGNcjs = require('./chunk-ZYHYMHGN.cjs');var r={tokens:{wbera:"0x6969696969696969696969696969696969696969",swbera:"0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a",bgt:"0x656b95E550C07a9ffe548bd4085c72418Ceb1dba",wbtc:"0x",weth:"0x"},depositContract:"0x4242424242424242424242424242424242424242",pol:{rewardVaultHelper:"0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2",beraChef:"0xdf960E8F3F19C481dDE769edEDD439ea1a63426a",factory:"0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8",staker:"0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6",subgraph:`${_chunkZYHYMHGNcjs.b}pol-subgraph/bepolia-1.7.0/gn`,bribeBoostApi:process.env.NEXT_PUBLIC_80069_INCENTIVES_API||"https://bepolia.api-claim.berachain.com",bribeBoostApiKey:_nullishCoalesce(process.env.PRIVATE_80069_INCENTIVES_API_KEY, () => ("")),bgtIncentiveDistributor:"0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3"},api:_nullishCoalesce(_nullishCoalesce(process.env.PRIVATE_80069_BEX_API_URL, () => (process.env.NEXT_PUBLIC_80069_BEX_API_URL)), () => ("https://bepolia-api.berachain.com")),blocksSubgraph:`${_chunkZYHYMHGNcjs.b}blocks-subgraph/bepolia-v1.1.0/gn`,bex:{chainName:"BEPOLIA",vault:"0x708cA656b68A6b7384a488A36aD33505a77241FE",helper:"0xC7c981ADcDC5d48fed0CD52807fb2bAB22676C8f",queries:"0xE3723383a0EA73D5c0dE424BAA97F97f86f6cF92",relayer:"0x343215E156Ff586711a5B8C49Fe3099BAF22624C",factories:{composableStable:"0xB60DbBaCEaeC23486a64d12089F467ef949f1bb1",weighted:"0xf1d23276C7b271B2aC595C78977b2312E9954D57"},poolCreationHelper:"0x0dC9964F6CA33d9EF38DEB4925234766127C6B36",subgraph:`${_chunkZYHYMHGNcjs.b}bex-subgraph/bepolia-v1.0.2-rc1/gn`,aggregatorsRouter:"0x0000000000000000000000000000000000000000",aggregatorsRouterExecutor:"0x0000000000000000000000000000000000000000",aggregatorsProxyUrl:_nullishCoalesce(process.env.NEXT_PUBLIC_80069_AGGREGATORS_PROXY_URL, () => ("")),recoverFundsApi:"https://t3stbe4i5d40p.testnet.berachain.com",recoverFundsContract:"0x0eFeC4379805fAFA7269Ec599a6921f388C8841a"},honey:{name:"Honey",url:"https://bepolia.honey.berachain.com",subgraph:`${_chunkZYHYMHGNcjs.b}honey-subgraph/bepolia-v1.2.1/gn`,factory:"0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",pythOracle:"0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943",pythWrapper:"0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606",reader:"0x285e147060CDc5ba902786d3A471224ee6cE0F91",token:"0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce"},hub:{name:"BeraHub",url:"https://bepolia.hub.berachain.com"},foundation:{name:"Berachain Foundation",url:"https://www.berachain.com"},governance:{governor:_nullishCoalesce(process.env.NEXT_PUBLIC_80069_GOVERNANCE_ADDRESS, () => ("0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5")),timelock:_nullishCoalesce(process.env.NEXT_PUBLIC_80069_GOVERNANCE_TIMELOCK, () => ("0xb5f2000b5744f207c931526cAE2134cAa8b6862a")),subgraph:_nullishCoalesce(process.env.NEXT_PUBLIC_80069_GOVERNANCE_SUBGRAPH, () => (`${_chunkZYHYMHGNcjs.b}governance-subgraph/bepolia-v1.1.1/gn`))},lists:{rewardVaultList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/bepolia.json",tokenList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/bepolia.json",validatorList:"https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/bepolia.json"},external:{pyth:"0x2880aB155794e7179c9eE2e38200202908C17B43"},averageBlockTime:2,beApiKey:process.env.PRIVATE_80069_BEX_API_KEY,bridge:{name:"BeraBridge",url:"https://bepolia.bridge.berachain.com",nft:{name:"BeraBridge NFT",url:"#",eth:{subgraph:"#"},berachain:{subgraph:"#"}}},bend:{name:"Bend",url:"https://bepolia.bend.berachain.com",whiskApiUrl:null,whiskApiKey:null,production:{morpho:null,adaptiveCurveIrm:null,metaMorphoFactory:null,publicAllocator:null,bundler3:null,generalAdapter1:null,supportedVaults:[]},staging:{morpho:null,adaptiveCurveIrm:null,metaMorphoFactory:null,publicAllocator:null,bundler3:null,generalAdapter1:null,supportedVaults:[]}},explore:{name:"Explore",url:"https://explore.berachain.com"},explorer:{name:"Berascan",url:"https://testnet.berascan.com"},chain:{name:_nullishCoalesce(process.env.NEXT_PUBLIC_CHAIN_NAME, () => ("Berachain Bepolia"))}};exports.a = r;
@@ -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 _chunkG3P5QJ2Ycjs = require('./chunk-G3P5QJ2Y.cjs');var _chunk6CMG5CBGcjs = require('./chunk-6CMG5CBG.cjs');var _chunk5Q5FZIMOcjs = require('./chunk-5Q5FZIMO.cjs');var n={80094:_chunk6CMG5CBGcjs.a,80069:_chunkG3P5QJ2Ycjs.a},r=n[_chunk5Q5FZIMOcjs.a],s={apiKeys:{public:{dynamicWallet:_nullishCoalesce(process.env.NEXT_PUBLIC_DYNAMIC_API_KEY, () => ("b8a5104d-47e0-4965-b56a-0bcc31cf56f4")),postHogProjectKey:"phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax",cookie3SiteId:process.env.NEXT_PUBLIC_COOKIE3_SITE_ID},private:{dummyInternalApiKey:process.env.DUMMY_INTERNAL_API_KEY,luma:process.env.LUMA_API_KEY,clickup:process.env.CLICKUP_API_KEY,ghostContent:process.env.GHOST_CONTENT_API_KEY,ghostAdmin:process.env.GHOST_ADMIN_API_KEY,oogabooga:process.env.OOGABOOGA_API_KEY,haiku:process.env.HAIKU_API_KEY,kyberswap:process.env.KYBERSWAP_CLIENT_ID,enso:_nullishCoalesce(_nullishCoalesce(process.env.ENSO_API_KEY, () => (process.env.NEXT_PUBLIC_ENSO_API_KEY)), () => ("3c1f3c7a-7ff7-4c5a-9a2b-79f50b5bfb4f")),etherscan:process.env.ETHERSCAN_API_KEY}},addresses:{balancerDelegatedOwnership:"0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b",multicall:"0xcA11bde05977b3631167028862bE2a173976CA11"},faucet:{name:"Faucet",url:"https://bepolia.faucet.berachain.com",dripAmount:1,timeGap:8,cloudflareKey:process.env.CLOUDFLARE_KEY||"0x4AAAAAAARdAuciFArKhVwt",endpoint:"https://faucet-api.testnet.berachain.com"},urls:{postHogApiHost:"https://eu.i.posthog.com",ghost:"https://berachain.ghost.io",cloudinary:"https://res.cloudinary.com/duv0g402y/image/upload/f_auto,q_auto/v1",homepage:_nullishCoalesce(process.env.NEXT_PUBLIC_HOMEPAGE_URL, () => ("https://www.berachain.com")),ecosystem:"https://ecosystem.berachain.com/",ecojobs:"https://ecojobs.berachain.com/",docs:"https://docs.berachain.com",careers:"https://careers.berachain.com/",mediaKit:"https://drive.google.com/drive/folders/12t_a4Rci2txC3uVj9JyXXsSRCqWfd4GG/",blog:"https://blog.berachain.com/",news:"https://news.berachain.com/",honeypaper:"https://honeypaper.berachain.com/",airdrop:"https://airdrop.berachain.com/",twitter:"https://x.com/berachain",telegram:"https://t.me/BerachainPortal",discord:"https://discord.com/invite/berachain",github:"https://github.com/berachain",buildabera:"https://buildabera.xyz/"},bend:{...r.bend,liquidationWarningLtvMargin:.05,maxBorrowLtvMargin:.05,publicAllocatorSupplyTargetUtilizationWad:BigInt(9e17),useProductionContracts:process.env.VERCEL_TARGET_ENV==="production"||process.env.NEXT_PUBLIC_BEND_USE_PRODUCTION_CONTRACTS==="true"}},t=process.env.NODE_ENV!=="development"||process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS!=="0"&&!!process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS,c={isPosthogEnabled:s.apiKeys.public.postHogProjectKey&&t,isCookie3Enabled:s.apiKeys.public.cookie3SiteId&&t,disallowIndexing:_chunk5Q5FZIMOcjs.a!==80094&&_chunk5Q5FZIMOcjs.a!==80069,hideCurator:!1},d= exports.b ={...r,...s,flags:c};exports.a = n; exports.b = d;
@@ -0,0 +1 @@
1
+ var o=[{protocol:"https",hostname:"cdn.morpho.org",port:"",pathname:"**"},{protocol:"https",hostname:"raw.githubusercontent.com",port:"",pathname:"/trustwallet/assets/**"},{protocol:"https",hostname:"static.debank.com",port:"",pathname:"/image/*/logo_url/**"},{protocol:"https",hostname:"cdn.whisk.so",port:"",pathname:"**"},{protocol:"https",hostname:"res.cloudinary.com",port:"",pathname:"/duv0g402y/**"},{protocol:"https",hostname:"raw.githubusercontent.com",port:"",pathname:"/berachain/**"},{protocol:"https",hostname:"assets.coingecko.com",port:"",pathname:"/coins/images/**"},{protocol:"https",hostname:"coin-images.coingecko.com",port:"",pathname:"/coins/images/**"},{protocol:"https",hostname:"beranames-assets-berachain.s3.eu-central-003.backblazeb2.com",port:"",pathname:"/**"},{protocol:"https",hostname:"icons.llama.fi",port:"",pathname:"/**"},{protocol:"https",hostname:"icons.llamao.fi",port:"",pathname:"/**"},{protocol:"https",hostname:"coin-images.coingecko.com",port:"",pathname:"/asset_platforms/images/**"}];export{o as a};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _nextjs = require('@sentry/nextjs'); var t = _interopRequireWildcard(_nextjs);async function s(e={}){if(process.env.NEXT_RUNTIME==="edge"){let{initSentryEdge:r}=await Promise.resolve().then(() => _interopRequireWildcard(require("./sentry.edge.config-M3L3XSD6.cjs")));r(t,e)}else if(process.env.NEXT_RUNTIME==="nodejs"){let{initSentryServer:r}=await Promise.resolve().then(() => _interopRequireWildcard(require("./sentry.server.config-535N36OR.cjs")));r(t,e)}}function i(e){let r={...e,env:{...e.env,VERCEL_TARGET_ENV:process.env.VERCEL_TARGET_ENV},webpack:(n,o)=>(o.isServer&&!o.dev&&process.env.UPLOAD_SOURCEMAPS==="true"&&(n.devtool="source-map"),_nullishCoalesce(_optionalChain([e, 'access', _ => _.webpack, 'optionalCall', _2 => _2(n,o)]), () => (n)))};return t.withSentryConfig(r,{org:process.env.SENTRY_ORG,project:process.env.SENTRY_PROJECT,telemetry:!1,reactComponentAnnotation:{enabled:process.env.UPLOAD_SOURCEMAPS==="true"},widenClientFileUpload:process.env.UPLOAD_SOURCEMAPS==="true",sourcemaps:{disable:process.env.UPLOAD_SOURCEMAPS!=="true"},debug:process.env.UPLOAD_SOURCEMAPS==="true",tunnelRoute:"/monitoring-tunnel",automaticVercelMonitors:!0})}var c=t.captureRequestError;exports.a = s; exports.b = i; exports.c = c;
@@ -0,0 +1 @@
1
+ var r=(e=>(e[e.MAINNET=80094]="MAINNET",e[e.BEPOLIA=80069]="BEPOLIA",e))(r||{});export{r as a};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var o=[{protocol:"https",hostname:"cdn.morpho.org",port:"",pathname:"**"},{protocol:"https",hostname:"raw.githubusercontent.com",port:"",pathname:"/trustwallet/assets/**"},{protocol:"https",hostname:"static.debank.com",port:"",pathname:"/image/*/logo_url/**"},{protocol:"https",hostname:"cdn.whisk.so",port:"",pathname:"**"},{protocol:"https",hostname:"res.cloudinary.com",port:"",pathname:"/duv0g402y/**"},{protocol:"https",hostname:"raw.githubusercontent.com",port:"",pathname:"/berachain/**"},{protocol:"https",hostname:"assets.coingecko.com",port:"",pathname:"/coins/images/**"},{protocol:"https",hostname:"coin-images.coingecko.com",port:"",pathname:"/coins/images/**"},{protocol:"https",hostname:"beranames-assets-berachain.s3.eu-central-003.backblazeb2.com",port:"",pathname:"/**"},{protocol:"https",hostname:"icons.llama.fi",port:"",pathname:"/**"},{protocol:"https",hostname:"icons.llamao.fi",port:"",pathname:"/**"},{protocol:"https",hostname:"coin-images.coingecko.com",port:"",pathname:"/asset_platforms/images/**"}];exports.a = o;
@@ -0,0 +1 @@
1
+ import{a as o}from"./chunk-CM7FGHYU.mjs";var e=o===80094?"mainnet-":"bepolia-";process.env.VERCEL_TARGET_ENV==="production"?e+="production":process.env.NODE_ENV==="development"?e+="development":e+="preview";var s=process.env.VERCEL_TARGET_ENV==="production"?.1:1,p=process.env.VERCEL_GIT_COMMIT_SHA,E=process.env.NEXT_PUBLIC_SENTRY_DEBUG==="true";export{e as a,s as b,p as c,E as d};
@@ -0,0 +1 @@
1
+ import{a as e}from"./chunk-CM7FGHYU.mjs";if(e!==80094&&e!==80069)throw new Error(`Invalid chainId: ${e}`);var _=e,l="https://res.cloudinary.com/duv0g402y/",R="https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/";function o(r=_){if(r===80069&&process.env.NEXT_PUBLIC_80069_ANVIL_RPC_URL||r===80094&&process.env.NEXT_PUBLIC_80094_ANVIL_RPC_URL){let s=r===80069?process.env.NEXT_PUBLIC_80069_ANVIL_RPC_URL:process.env.NEXT_PUBLIC_80094_ANVIL_RPC_URL;return process.env.VITEST_WORKER_ID?s=`${s}/${process.env.VITEST_WORKER_ID??1}`:console.log("Using anvil RPC for bepolia",s),{publicJsonRpcUrl:s,jsonRpcUrl:s,alchemyJsonRpcUrl:void 0,privateRcpUrl:void 0,isAnvil:!0}}return{publicJsonRpcUrl:r===80069?process.env.NEXT_PUBLIC_80069_PUBLIC_JSON_RPC_URL??"https://bepolia.rpc.berachain.com":process.env.NEXT_PUBLIC_80094_PUBLIC_JSON_RPC_URL??"https://rpc.berachain.com",jsonRpcUrl:r===80069?process.env.NEXT_PUBLIC_80069_JSON_RPC_URL??"https://bepolia.rpc.berachain.com":process.env.NEXT_PUBLIC_80094_JSON_RPC_URL??"https://rpc.berachain.com",alchemyJsonRpcUrl:r===80069?process.env.NEXT_PUBLIC_80069_ALCHEMY_JSON_RPC_URL:process.env.NEXT_PUBLIC_80094_ALCHEMY_JSON_RPC_URL,privateRcpUrl:r===80069?process.env.PRIVATE_80069_JSON_RPC_URL:process.env.PRIVATE_80094_JSON_RPC_URL,isAnvil:!1}}var{publicJsonRpcUrl:t,jsonRpcUrl:U,alchemyJsonRpcUrl:i,privateRcpUrl:L}=o(e);export{l as a,R as b,o as c,t as d,U as e,i as f,L as g};
@@ -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 _chunk5Q5FZIMOcjs = require('./chunk-5Q5FZIMO.cjs');if(_chunk5Q5FZIMOcjs.a!==80094&&_chunk5Q5FZIMOcjs.a!==80069)throw new Error(`Invalid chainId: ${_chunk5Q5FZIMOcjs.a}`);var _=_chunk5Q5FZIMOcjs.a,l= exports.a ="https://res.cloudinary.com/duv0g402y/",R= exports.b ="https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/";function o(r=_){if(r===80069&&process.env.NEXT_PUBLIC_80069_ANVIL_RPC_URL||r===80094&&process.env.NEXT_PUBLIC_80094_ANVIL_RPC_URL){let s=r===80069?process.env.NEXT_PUBLIC_80069_ANVIL_RPC_URL:process.env.NEXT_PUBLIC_80094_ANVIL_RPC_URL;return process.env.VITEST_WORKER_ID?s=`${s}/${_nullishCoalesce(process.env.VITEST_WORKER_ID, () => (1))}`:console.log("Using anvil RPC for bepolia",s),{publicJsonRpcUrl:s,jsonRpcUrl:s,alchemyJsonRpcUrl:void 0,privateRcpUrl:void 0,isAnvil:!0}}return{publicJsonRpcUrl:r===80069?_nullishCoalesce(process.env.NEXT_PUBLIC_80069_PUBLIC_JSON_RPC_URL, () => ("https://bepolia.rpc.berachain.com")):_nullishCoalesce(process.env.NEXT_PUBLIC_80094_PUBLIC_JSON_RPC_URL, () => ("https://rpc.berachain.com")),jsonRpcUrl:r===80069?_nullishCoalesce(process.env.NEXT_PUBLIC_80069_JSON_RPC_URL, () => ("https://bepolia.rpc.berachain.com")):_nullishCoalesce(process.env.NEXT_PUBLIC_80094_JSON_RPC_URL, () => ("https://rpc.berachain.com")),alchemyJsonRpcUrl:r===80069?process.env.NEXT_PUBLIC_80069_ALCHEMY_JSON_RPC_URL:process.env.NEXT_PUBLIC_80094_ALCHEMY_JSON_RPC_URL,privateRcpUrl:r===80069?process.env.PRIVATE_80069_JSON_RPC_URL:process.env.PRIVATE_80094_JSON_RPC_URL,isAnvil:!1}}var{publicJsonRpcUrl:t,jsonRpcUrl:U,alchemyJsonRpcUrl:i,privateRcpUrl:L}=o(_chunk5Q5FZIMOcjs.a);exports.a = l; exports.b = R; exports.c = o; exports.d = t; exports.e = U; exports.f = i; exports.g = L;
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk3IPYHDYKcjs = require('./chunk-3IPYHDYK.cjs');require('./chunk-4VDLQK6F.cjs');exports.ChainId = _chunk3IPYHDYKcjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk2OLL4MUYcjs = require('./chunk-2OLL4MUY.cjs');require('./chunk-4VDLQK6F.cjs');exports.ChainId = _chunk2OLL4MUYcjs.a;
package/dist/index.d.cts CHANGED
@@ -1,4 +1,14 @@
1
1
  type Address = `0x${string}`;
2
+ /**
3
+ * List of app names in monobera. For a broader list of project names, see ProjectNames.
4
+ *
5
+ * All of these projects have a nextjs set up with `withBeraConfig` and have access to edge config.
6
+ */
7
+ type AppName = "BeraHub" | "Honey" | "Bend";
8
+ /**
9
+ * List of projects.
10
+ */
11
+ type ProjectName = AppName | "BeraBridge" | "BeraBridge NFT" | "Berachain Foundation" | "Explore" | "Berascan";
2
12
  /**
3
13
  * A shared interface for all projects.
4
14
  */
@@ -6,12 +16,21 @@ type Project = {
6
16
  /**
7
17
  * The name of the project.
8
18
  */
9
- name: string;
19
+ name: ProjectName;
10
20
  /**
11
21
  * The URL of the project.
12
22
  */
13
23
  url: string;
14
24
  };
25
+ type BendAddresses = {
26
+ morpho: Address | null;
27
+ adaptiveCurveIrm: Address | null;
28
+ metaMorphoFactory: Address | null;
29
+ publicAllocator: Address | null;
30
+ bundler3: Address | null;
31
+ generalAdapter1: Address | null;
32
+ supportedVaults: Array<Address>;
33
+ };
15
34
  interface BeraConfig {
16
35
  /**
17
36
  * Some common token addresses available on the chain.
@@ -67,6 +86,8 @@ interface BeraConfig {
67
86
  * Added here to keep ReadmeGenerator script clean while having this endpoint in the dependency
68
87
  */
69
88
  aggregatorsProxyUrl: string;
89
+ recoverFundsApi: string;
90
+ recoverFundsContract: Address;
70
91
  };
71
92
  pol: {
72
93
  factory: Address;
@@ -74,6 +95,7 @@ interface BeraConfig {
74
95
  beraChef: Address;
75
96
  subgraph: string;
76
97
  bribeBoostApi: string;
98
+ rewardVaultHelper: Address;
77
99
  /**
78
100
  * If an API key is provided, no rate limit will be applied to requests.
79
101
  */
@@ -84,11 +106,12 @@ interface BeraConfig {
84
106
  factory: Address;
85
107
  reader: Address;
86
108
  pythWrapper: Address;
87
- pyth: Address;
109
+ /**
110
+ * The contract that proxies pyth prices for Honey factory.
111
+ */
112
+ pythOracle: Address;
88
113
  token: Address;
89
114
  subgraph: string;
90
- isPythWrapperEnabled: boolean;
91
- isCustodyEnabled: boolean;
92
115
  };
93
116
  governance: {
94
117
  timelock: Address;
@@ -105,12 +128,17 @@ interface BeraConfig {
105
128
  };
106
129
  };
107
130
  };
131
+ external: {
132
+ pyth: Address;
133
+ };
108
134
  foundation: Project;
109
135
  hub: Project;
110
136
  bend: Project & {
111
- supportedVaults: Array<Address>;
137
+ whiskApiUrl: string | null;
138
+ whiskApiKey: string | null;
139
+ production: BendAddresses;
140
+ staging: BendAddresses;
112
141
  };
113
- berps: Project;
114
142
  explore: Project;
115
143
  explorer: Project;
116
144
  averageBlockTime: number;
@@ -127,4 +155,4 @@ declare enum ChainId {
127
155
  BEPOLIA = 80069
128
156
  }
129
157
 
130
- export { type Address, type BeraConfig, ChainId };
158
+ export { type Address, type AppName, type BeraConfig, ChainId, type ProjectName };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,14 @@
1
1
  type Address = `0x${string}`;
2
+ /**
3
+ * List of app names in monobera. For a broader list of project names, see ProjectNames.
4
+ *
5
+ * All of these projects have a nextjs set up with `withBeraConfig` and have access to edge config.
6
+ */
7
+ type AppName = "BeraHub" | "Honey" | "Bend";
8
+ /**
9
+ * List of projects.
10
+ */
11
+ type ProjectName = AppName | "BeraBridge" | "BeraBridge NFT" | "Berachain Foundation" | "Explore" | "Berascan";
2
12
  /**
3
13
  * A shared interface for all projects.
4
14
  */
@@ -6,12 +16,21 @@ type Project = {
6
16
  /**
7
17
  * The name of the project.
8
18
  */
9
- name: string;
19
+ name: ProjectName;
10
20
  /**
11
21
  * The URL of the project.
12
22
  */
13
23
  url: string;
14
24
  };
25
+ type BendAddresses = {
26
+ morpho: Address | null;
27
+ adaptiveCurveIrm: Address | null;
28
+ metaMorphoFactory: Address | null;
29
+ publicAllocator: Address | null;
30
+ bundler3: Address | null;
31
+ generalAdapter1: Address | null;
32
+ supportedVaults: Array<Address>;
33
+ };
15
34
  interface BeraConfig {
16
35
  /**
17
36
  * Some common token addresses available on the chain.
@@ -67,6 +86,8 @@ interface BeraConfig {
67
86
  * Added here to keep ReadmeGenerator script clean while having this endpoint in the dependency
68
87
  */
69
88
  aggregatorsProxyUrl: string;
89
+ recoverFundsApi: string;
90
+ recoverFundsContract: Address;
70
91
  };
71
92
  pol: {
72
93
  factory: Address;
@@ -74,6 +95,7 @@ interface BeraConfig {
74
95
  beraChef: Address;
75
96
  subgraph: string;
76
97
  bribeBoostApi: string;
98
+ rewardVaultHelper: Address;
77
99
  /**
78
100
  * If an API key is provided, no rate limit will be applied to requests.
79
101
  */
@@ -84,11 +106,12 @@ interface BeraConfig {
84
106
  factory: Address;
85
107
  reader: Address;
86
108
  pythWrapper: Address;
87
- pyth: Address;
109
+ /**
110
+ * The contract that proxies pyth prices for Honey factory.
111
+ */
112
+ pythOracle: Address;
88
113
  token: Address;
89
114
  subgraph: string;
90
- isPythWrapperEnabled: boolean;
91
- isCustodyEnabled: boolean;
92
115
  };
93
116
  governance: {
94
117
  timelock: Address;
@@ -105,12 +128,17 @@ interface BeraConfig {
105
128
  };
106
129
  };
107
130
  };
131
+ external: {
132
+ pyth: Address;
133
+ };
108
134
  foundation: Project;
109
135
  hub: Project;
110
136
  bend: Project & {
111
- supportedVaults: Array<Address>;
137
+ whiskApiUrl: string | null;
138
+ whiskApiKey: string | null;
139
+ production: BendAddresses;
140
+ staging: BendAddresses;
112
141
  };
113
- berps: Project;
114
142
  explore: Project;
115
143
  explorer: Project;
116
144
  averageBlockTime: number;
@@ -127,4 +155,4 @@ declare enum ChainId {
127
155
  BEPOLIA = 80069
128
156
  }
129
157
 
130
- export { type Address, type BeraConfig, ChainId };
158
+ export { type Address, type AppName, type BeraConfig, ChainId, type ProjectName };
package/dist/index.mjs ADDED
@@ -0,0 +1 @@
1
+ import{a as o}from"./chunk-MS6UGFXI.mjs";import"./chunk-JZXLCA2E.mjs";export{o as ChainId};
@@ -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; }var _chunkHC2ORLQ3cjs = require('../../chunk-HC2ORLQ3.cjs');require('../../chunk-HNEK54FE.cjs');require('../../chunk-3IPYHDYK.cjs');require('../../chunk-4VDLQK6F.cjs');var _edgeconfig = require('@vercel/edge-config');async function m(e,{onError:r}={}){try{return await _edgeconfig.get.call(void 0, e)}catch(o){_optionalChain([r, 'optionalCall', _ => _(o)]);return}}async function g({onError:e}={}){try{return await _edgeconfig.getAll.call(void 0, )}catch(r){_optionalChain([e, 'optionalCall', _2 => _2(r)]);return}}exports.isFlagEnabled = _chunkHC2ORLQ3cjs.a; exports.safeGetAll = g; exports.safeGetConfig = m;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkDMFHUBNYcjs = require('../../chunk-DMFHUBNY.cjs');require('../../chunk-5Q5FZIMO.cjs');require('../../chunk-2OLL4MUY.cjs');require('../../chunk-4VDLQK6F.cjs');var _edgeconfig = require('@vercel/edge-config');async function d({onError:e}={}){try{return await _edgeconfig.getAll.call(void 0, )}catch(o){_optionalChain([e, 'optionalCall', _ => _(o)]);return}}async function a(e,{onError:o}={}){try{return await _edgeconfig.get.call(void 0, e)}catch(r){_optionalChain([o, 'optionalCall', _2 => _2(r)]);return}}exports.isFlagEnabled = _chunkDMFHUBNYcjs.a; exports.safeGetAll = d; exports.safeGetConfig = a;