@berachain/berajs 0.2.8-beta.9 → 0.2.9

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 (237) hide show
  1. package/dist/{BeraError-_mQdkanr.d.cts → BeraError-7-A5JYy_.d.ts} +31 -2
  2. package/dist/{HoneyConfigProvider-DVP_9KZn.d.ts → HoneyConfigProvider-Dkj-_a5x.d.ts} +1 -1
  3. package/dist/{RequestError-BRIiJgHk.d.ts → RequestError-DBOIV65x.d.ts} +1 -1
  4. package/dist/abi/exports.mjs +4452 -2
  5. package/dist/actions/clients/exports.d.ts +2 -0
  6. package/dist/actions/clients/exports.mjs +12 -0
  7. package/dist/actions/exports.d.ts +104 -189
  8. package/dist/actions/exports.mjs +853 -2
  9. package/dist/actions/governance/exports.d.ts +140 -0
  10. package/dist/actions/governance/exports.mjs +226 -0
  11. package/dist/actions/server/exports.d.ts +13 -0
  12. package/dist/actions/server/exports.mjs +27 -0
  13. package/dist/chunk-3EARVV7K.mjs +414 -0
  14. package/dist/chunk-4Z4AK6SH.mjs +211 -0
  15. package/dist/chunk-75M6TF7M.mjs +25 -0
  16. package/dist/chunk-AFN4CVD3.mjs +326 -0
  17. package/dist/chunk-BGMRHTBQ.mjs +23 -0
  18. package/dist/chunk-CDFWPU2R.mjs +473 -0
  19. package/dist/chunk-CDK4YV3D.mjs +571 -0
  20. package/dist/chunk-DKMAIU74.mjs +62 -0
  21. package/dist/chunk-EXIUPSFN.mjs +86 -0
  22. package/dist/chunk-FFB5LFDW.mjs +35 -0
  23. package/dist/chunk-HQCOU6GY.mjs +243 -0
  24. package/dist/chunk-HSSJKHZ4.mjs +135 -0
  25. package/dist/chunk-J5I45WGQ.mjs +1769 -0
  26. package/dist/chunk-KQUMKB66.mjs +89 -0
  27. package/dist/chunk-NBYLMO2L.mjs +14 -0
  28. package/dist/chunk-NPBQLVL3.mjs +80 -0
  29. package/dist/chunk-O2NQFKJK.mjs +170 -0
  30. package/dist/chunk-QJIXTYTZ.mjs +4054 -0
  31. package/dist/chunk-SGIJVHZO.mjs +12 -0
  32. package/dist/chunk-SZ5C44L5.mjs +35 -0
  33. package/dist/chunk-WXXOISTU.mjs +96 -0
  34. package/dist/chunk-XIYN6AL6.mjs +160 -0
  35. package/dist/contexts/exports.d.ts +2 -2
  36. package/dist/contexts/exports.mjs +85 -2
  37. package/dist/enum/exports.d.ts +1 -1
  38. package/dist/enum/exports.mjs +46 -2
  39. package/dist/enum/governance/exports.d.ts +60 -0
  40. package/dist/enum/governance/exports.mjs +14 -0
  41. package/dist/errors/exports.d.ts +4 -3
  42. package/dist/errors/exports.mjs +48 -2
  43. package/dist/exports-BcUTGFUb.d.ts +40 -0
  44. package/dist/{getValidatorQueuedOperatorAddress-BcyxE9uw.d.ts → getValidatorQueuedOperatorAddress-Dw5KN5sh.d.ts} +2 -2
  45. package/dist/{global.d-5w_lvl2J.d.ts → global.d-BuGDKh4k.d.ts} +4 -240
  46. package/dist/hooks/exports.d.ts +69 -211
  47. package/dist/hooks/exports.mjs +7434 -4
  48. package/dist/hooks/governance/exports.d.ts +181 -0
  49. package/dist/hooks/governance/exports.mjs +888 -0
  50. package/dist/pol.d-CqPA9K6m.d.ts +142 -0
  51. package/dist/{txnEnum-7_o92X3N.d.cts → txnEnum-ByI5dtDi.d.ts} +2 -60
  52. package/dist/types/exports.d.ts +9 -9
  53. package/dist/types/exports.mjs +0 -1
  54. package/dist/types/governance/exports.d.ts +109 -0
  55. package/dist/types/governance/exports.mjs +0 -0
  56. package/dist/{useHoneySwapState-B494PQDl.d.ts → useHoneySwapState-vFmuFF0g.d.ts} +1 -1
  57. package/dist/utils/exports.d.ts +15 -6
  58. package/dist/utils/exports.mjs +825 -2
  59. package/package.json +49 -13
  60. package/src/actions/__test/transports.ts +61 -0
  61. package/src/actions/clients/exports.ts +4 -0
  62. package/src/actions/clients/getApolloClient.ts +58 -23
  63. package/src/actions/clients/getEnsoClient.ts +20 -9
  64. package/src/actions/dex/aggregators/enso/enso.ts +27 -17
  65. package/src/actions/dex/aggregators/enso/ensoErc4626.ts +2 -2
  66. package/src/actions/dex/aggregators/kyberswap.ts +18 -23
  67. package/src/actions/enso/__tests__/getEnsoUserTokensWithBalances.debug.test.ts +3 -6
  68. package/src/actions/exports.ts +4 -9
  69. package/src/actions/governance/exports.ts +9 -0
  70. package/src/actions/governance/getAllProposals.ts +10 -65
  71. package/src/actions/governance/getProposalDetails.ts +6 -33
  72. package/src/actions/governance/getProposalVotes.ts +8 -15
  73. package/src/actions/honey/getChartData.ts +27 -21
  74. package/src/actions/honey/getHoney24hVolume.ts +19 -22
  75. package/src/actions/pol/getAutoclaimedIncentives.ts +30 -0
  76. package/src/actions/pol/getBeraTokenTotalSupply.ts +45 -0
  77. package/src/actions/pol/getBgtIncentiveDistributorPaused.ts +35 -0
  78. package/src/actions/pol/getEarnedStakedBeraVault.ts +7 -11
  79. package/src/actions/pol/getGlobalData.ts +1 -0
  80. package/src/actions/pol/getHeroEarnVaults.ts +62 -0
  81. package/src/actions/pol/getIncentiveFeeClaimStats.ts +19 -38
  82. package/src/actions/pol/getSWBeraVaultMetadata.ts +1 -1
  83. package/src/actions/pol/getStakingDailyAssets.ts +7 -10
  84. package/src/actions/server/exports.ts +1 -0
  85. package/src/actions/server/getDailyValidatorBlockStats.ts +33 -0
  86. package/src/actions/tokens/getWalletBalances.integration.test.ts +3 -6
  87. package/src/actions/transactions/beraWriteContract.integration.test.ts +3 -6
  88. package/src/actions/validators/getDailyValidatorBlockStats.ts +25 -24
  89. package/src/actions/validators/getValidatorAnalytics.ts +20 -21
  90. package/src/actions/validators/getValidatorIncentiveDistribution.ts +33 -0
  91. package/src/enum/contracts.ts +1 -0
  92. package/src/enum/exports.ts +0 -1
  93. package/src/enum/governance/exports.ts +1 -0
  94. package/src/errors/BeraError.ts +47 -7
  95. package/src/errors/BeraTracing.unit.test.ts +65 -0
  96. package/src/errors/RequestError.ts +13 -1
  97. package/src/errors/exports.ts +5 -0
  98. package/src/errors/getRevertReason.integration.test.ts +3 -3
  99. package/src/errors/spanStatus.ts +78 -0
  100. package/src/errors/spanStatus.unit.test.ts +62 -0
  101. package/src/hooks/dex/useCreatePool.ts +1 -88
  102. package/src/hooks/dex/useOnChainPoolData.ts +27 -2
  103. package/src/hooks/dex/usePriceImpact.ts +12 -5
  104. package/src/hooks/enso/useBendDemultiply.ts +9 -1
  105. package/src/hooks/enso/useBendMultiply.ts +9 -1
  106. package/src/hooks/enso/useBendZapSupply.ts +26 -7
  107. package/src/hooks/enso/useEnsoSwapBundle.ts +17 -3
  108. package/src/hooks/enso/useEnsoUserTokensWithBalances.ts +13 -2
  109. package/src/hooks/exports.ts +2 -15
  110. package/src/hooks/governance/exports.ts +14 -0
  111. package/src/hooks/pol/useAutoclaimedIncentives.ts +49 -0
  112. package/src/hooks/pol/useStakedAPR.ts +2 -2
  113. package/src/hooks/pol/useStakedSnapshots.ts +5 -9
  114. package/src/hooks/validators/useValidator.ts +2 -0
  115. package/src/hooks/validators/useValidatorIncentiveDistribution.ts +39 -0
  116. package/src/types/bribe-boost.d.ts +8 -0
  117. package/src/types/exports.ts +0 -1
  118. package/src/types/governance/exports.ts +1 -0
  119. package/src/utils/beraFetch.ts +9 -3
  120. package/src/utils/exports.ts +1 -0
  121. package/src/utils/getServerSideClient.ts +4 -2
  122. package/src/utils/sanitizeRpcUrl.ts +22 -0
  123. package/src/utils/tracedTransport.ts +35 -0
  124. package/dist/BeraError-_mQdkanr.d.ts +0 -94
  125. package/dist/BexStatusProvider-DRymVlQf.d.cts +0 -70
  126. package/dist/HoneyConfigProvider-DfkjmzEf.d.cts +0 -390
  127. package/dist/RequestError-DSUzJ1Iy.d.cts +0 -144
  128. package/dist/abi/exports.cjs +0 -2
  129. package/dist/abi/exports.cjs.map +0 -1
  130. package/dist/abi/exports.d.cts +0 -6574
  131. package/dist/abi/exports.mjs.map +0 -1
  132. package/dist/actions/exports.cjs +0 -2
  133. package/dist/actions/exports.cjs.map +0 -1
  134. package/dist/actions/exports.d.cts +0 -1650
  135. package/dist/actions/exports.mjs.map +0 -1
  136. package/dist/chunk-45HIEVNI.cjs +0 -4
  137. package/dist/chunk-45HIEVNI.cjs.map +0 -1
  138. package/dist/chunk-47ILYVHC.mjs +0 -2
  139. package/dist/chunk-47ILYVHC.mjs.map +0 -1
  140. package/dist/chunk-575OK77P.mjs +0 -2
  141. package/dist/chunk-575OK77P.mjs.map +0 -1
  142. package/dist/chunk-5NVZG5N6.mjs +0 -2
  143. package/dist/chunk-5NVZG5N6.mjs.map +0 -1
  144. package/dist/chunk-6DIA6PXV.cjs +0 -2
  145. package/dist/chunk-6DIA6PXV.cjs.map +0 -1
  146. package/dist/chunk-6JJIZCVY.cjs +0 -2
  147. package/dist/chunk-6JJIZCVY.cjs.map +0 -1
  148. package/dist/chunk-7F72ZH4Q.mjs +0 -2
  149. package/dist/chunk-7F72ZH4Q.mjs.map +0 -1
  150. package/dist/chunk-AUA42YIG.mjs +0 -4
  151. package/dist/chunk-AUA42YIG.mjs.map +0 -1
  152. package/dist/chunk-BC2WX6O6.cjs +0 -2
  153. package/dist/chunk-BC2WX6O6.cjs.map +0 -1
  154. package/dist/chunk-CJOZC5Z2.cjs +0 -2
  155. package/dist/chunk-CJOZC5Z2.cjs.map +0 -1
  156. package/dist/chunk-D6L7LTA2.cjs +0 -2
  157. package/dist/chunk-D6L7LTA2.cjs.map +0 -1
  158. package/dist/chunk-DDEQFR3M.cjs +0 -2
  159. package/dist/chunk-DDEQFR3M.cjs.map +0 -1
  160. package/dist/chunk-GXV2JA36.mjs +0 -2
  161. package/dist/chunk-GXV2JA36.mjs.map +0 -1
  162. package/dist/chunk-ISYNEDET.mjs +0 -2
  163. package/dist/chunk-ISYNEDET.mjs.map +0 -1
  164. package/dist/chunk-JDDRTHFG.mjs +0 -2
  165. package/dist/chunk-JDDRTHFG.mjs.map +0 -1
  166. package/dist/chunk-JDZGYU5T.mjs +0 -2
  167. package/dist/chunk-JDZGYU5T.mjs.map +0 -1
  168. package/dist/chunk-LVOXBZMA.cjs +0 -2
  169. package/dist/chunk-LVOXBZMA.cjs.map +0 -1
  170. package/dist/chunk-MK5NS5B5.mjs +0 -2
  171. package/dist/chunk-MK5NS5B5.mjs.map +0 -1
  172. package/dist/chunk-NAXAZJJY.mjs +0 -2
  173. package/dist/chunk-NAXAZJJY.mjs.map +0 -1
  174. package/dist/chunk-NLVWRMGD.mjs +0 -2
  175. package/dist/chunk-NLVWRMGD.mjs.map +0 -1
  176. package/dist/chunk-OGBD5YOG.mjs +0 -2
  177. package/dist/chunk-OGBD5YOG.mjs.map +0 -1
  178. package/dist/chunk-OGJMSGB2.mjs +0 -2
  179. package/dist/chunk-OGJMSGB2.mjs.map +0 -1
  180. package/dist/chunk-OIYXOKTT.cjs +0 -2
  181. package/dist/chunk-OIYXOKTT.cjs.map +0 -1
  182. package/dist/chunk-OUD27MU7.cjs +0 -2
  183. package/dist/chunk-OUD27MU7.cjs.map +0 -1
  184. package/dist/chunk-PRLVZIKD.mjs +0 -2
  185. package/dist/chunk-PRLVZIKD.mjs.map +0 -1
  186. package/dist/chunk-Q2SNRLW3.cjs +0 -2
  187. package/dist/chunk-Q2SNRLW3.cjs.map +0 -1
  188. package/dist/chunk-REWME3FY.cjs +0 -2
  189. package/dist/chunk-REWME3FY.cjs.map +0 -1
  190. package/dist/chunk-RJN36GBU.mjs +0 -2
  191. package/dist/chunk-RJN36GBU.mjs.map +0 -1
  192. package/dist/chunk-RWOICHRW.cjs +0 -2
  193. package/dist/chunk-RWOICHRW.cjs.map +0 -1
  194. package/dist/chunk-S4CDSVLK.cjs +0 -2
  195. package/dist/chunk-S4CDSVLK.cjs.map +0 -1
  196. package/dist/chunk-SFEULGSX.cjs +0 -2
  197. package/dist/chunk-SFEULGSX.cjs.map +0 -1
  198. package/dist/chunk-WBTS6KFG.mjs +0 -2
  199. package/dist/chunk-WBTS6KFG.mjs.map +0 -1
  200. package/dist/chunk-WRFDB3QJ.cjs +0 -2
  201. package/dist/chunk-WRFDB3QJ.cjs.map +0 -1
  202. package/dist/chunk-XNJLSA6P.cjs +0 -2
  203. package/dist/chunk-XNJLSA6P.cjs.map +0 -1
  204. package/dist/contexts/exports.cjs +0 -2
  205. package/dist/contexts/exports.cjs.map +0 -1
  206. package/dist/contexts/exports.d.cts +0 -66
  207. package/dist/contexts/exports.mjs.map +0 -1
  208. package/dist/defaultFlags-D6KfkTZx.d.cts +0 -10
  209. package/dist/dex-C_BB0b0O.d.cts +0 -37
  210. package/dist/enum/exports.cjs +0 -2
  211. package/dist/enum/exports.cjs.map +0 -1
  212. package/dist/enum/exports.d.cts +0 -23
  213. package/dist/enum/exports.mjs.map +0 -1
  214. package/dist/errors/exports.cjs +0 -2
  215. package/dist/errors/exports.cjs.map +0 -1
  216. package/dist/errors/exports.d.cts +0 -327
  217. package/dist/errors/exports.mjs.map +0 -1
  218. package/dist/getValidatorQueuedOperatorAddress-Cql_D50j.d.cts +0 -562
  219. package/dist/global.d-B7IeayVX.d.cts +0 -474
  220. package/dist/honey-CYm0RWf4.d.cts +0 -14
  221. package/dist/hooks/exports.cjs +0 -4
  222. package/dist/hooks/exports.cjs.map +0 -1
  223. package/dist/hooks/exports.d.cts +0 -1734
  224. package/dist/hooks/exports.mjs.map +0 -1
  225. package/dist/polling-BKnyavLI.d.cts +0 -8
  226. package/dist/txnEnum-7_o92X3N.d.ts +0 -164
  227. package/dist/types/exports.cjs +0 -1
  228. package/dist/types/exports.cjs.map +0 -1
  229. package/dist/types/exports.d.cts +0 -90
  230. package/dist/types/exports.mjs.map +0 -1
  231. package/dist/useHoneySwapState-D6vpv19r.d.cts +0 -32
  232. package/dist/utils/exports.cjs +0 -2
  233. package/dist/utils/exports.cjs.map +0 -1
  234. package/dist/utils/exports.d.cts +0 -420
  235. package/dist/utils/exports.mjs.map +0 -1
  236. package/src/actions/dex/getIsTokenExploited.ts +0 -63
  237. package/src/hooks/dex/useExploitedTokens.ts +0 -57
@@ -0,0 +1,2 @@
1
+ export { g as getApolloClient } from '../../exports-BcUTGFUb.js';
2
+ export { gql } from '@apollo/client';
@@ -0,0 +1,12 @@
1
+ import {
2
+ getApolloClient,
3
+ gql
4
+ } from "../../chunk-4Z4AK6SH.mjs";
5
+ import "../../chunk-75M6TF7M.mjs";
6
+ import "../../chunk-SZ5C44L5.mjs";
7
+ import "../../chunk-XIYN6AL6.mjs";
8
+ import "../../chunk-J5I45WGQ.mjs";
9
+ export {
10
+ getApolloClient,
11
+ gql
12
+ };
@@ -1,36 +1,37 @@
1
- import { V as ValidatorRewardAllocation } from '../getValidatorQueuedOperatorAddress-BcyxE9uw.js';
2
- export { B as BaseAggregator, G as GetBgtAprSimulationArgs, a as GetBgtAprSimulationResult, b as GetConvertToAssetsProps, c as GetGaugeData, d as GetHoneyVaultsBalanceResponse, e as GetMarkets, f as GetRewardVaultRewardsReturn, g as GetUserVaultsResponse, h as GetVaultHistoryArgs, i as GlobalData, I as IsBadCollateralArgs, j as IsBadCollateralResponse, O as OnChainPool, P as PoolStatus, R as RewardVaultDistributionMode, k as RewardVaultIncentive, S as StakedBeraWithdrawal, U as UserBoostsOnValidator, l as UserStakingPoolPosition, m as UserVault, n as ValidatorQueuedCommission, o as ValidatorQueuedOperatorAddress, p as ValidatorRewardAllocationRaw, q as ValidatorRewardAllocationUpdate, r as ValidatorRewardAllocationUpdateWithExpiration, s as ValidatorWithUserBoost, t as VaultMetadata, u as formatValidatorRewardAllocation, v as getBgtAprSimulation, w as getConvertToAssets, x as getGlobalData, y as getHoneyVaultsBalance, z as getMarkets, A as getOnChainPool, C as getPoolPausedState, D as getRewardVaultIncentives, E as getRewardVaultRewards, F as getRewardVaults, H as getSWBeraVaultMetadata, J as getSWBeraWithdrawal, K as getUserActiveValidators, L as getUserBoostsOnValidator, M as getUserStakingPositions, N as getUserVaults, Q as getValidatorQueuedCommission, T as getValidatorQueuedOperatorAddress, W as getValidatorRewardAllocation, X as getVaultHistory, Y as isBadCollateralAsset, Z as isSameRewardAllocation } from '../getValidatorQueuedOperatorAddress-BcyxE9uw.js';
3
- import { Address, PublicClient, AbiParameter, AbiFunction, TransactionReceipt, Abi, ContractFunctionArgs, ContractFunctionName, WalletCallReceipt } from 'viem';
4
- import { ApolloClient, OperationVariables, FetchPolicy } from '@apollo/client';
5
- export { gql } from '@apollo/client';
1
+ import { V as ValidatorRewardAllocation } from '../getValidatorQueuedOperatorAddress-Dw5KN5sh.js';
2
+ export { B as BaseAggregator, G as GetBgtAprSimulationArgs, a as GetBgtAprSimulationResult, b as GetConvertToAssetsProps, c as GetGaugeData, d as GetHoneyVaultsBalanceResponse, e as GetMarkets, f as GetRewardVaultRewardsReturn, g as GetUserVaultsResponse, h as GetVaultHistoryArgs, i as GlobalData, I as IsBadCollateralArgs, j as IsBadCollateralResponse, O as OnChainPool, P as PoolStatus, R as RewardVaultDistributionMode, k as RewardVaultIncentive, S as StakedBeraWithdrawal, U as UserBoostsOnValidator, l as UserStakingPoolPosition, m as UserVault, n as ValidatorQueuedCommission, o as ValidatorQueuedOperatorAddress, p as ValidatorRewardAllocationRaw, q as ValidatorRewardAllocationUpdate, r as ValidatorRewardAllocationUpdateWithExpiration, s as ValidatorWithUserBoost, t as VaultMetadata, u as formatValidatorRewardAllocation, v as getBgtAprSimulation, w as getConvertToAssets, x as getGlobalData, y as getHoneyVaultsBalance, z as getMarkets, A as getOnChainPool, C as getPoolPausedState, D as getRewardVaultIncentives, E as getRewardVaultRewards, F as getRewardVaults, H as getSWBeraVaultMetadata, J as getSWBeraWithdrawal, K as getUserActiveValidators, L as getUserBoostsOnValidator, M as getUserStakingPositions, N as getUserVaults, Q as getValidatorQueuedCommission, T as getValidatorQueuedOperatorAddress, W as getValidatorRewardAllocation, X as getVaultHistory, Y as isBadCollateralAsset, Z as isSameRewardAllocation } from '../getValidatorQueuedOperatorAddress-Dw5KN5sh.js';
3
+ import { Address, PublicClient, Abi, ContractFunctionArgs, ContractFunctionName, TransactionReceipt, WalletCallReceipt } from 'viem';
4
+ export { B as BeraApolloClient, g as getApolloClient } from '../exports-BcUTGFUb.js';
6
5
  import { EnsoClient } from '@ensofinance/sdk';
7
6
  import { PoolState } from '@berachain-foundation/berancer-sdk';
8
7
  export { BalancerApi } from '@berachain-foundation/berancer-sdk';
9
8
  import * as _berachain_graphql_dex_api from '@berachain/graphql/dex/api';
10
9
  import { GetPoolsQueryVariables, GetGlobalLiquidityAndSwapVolumeQuery, GetPoolEventsQuery, GqlChain, PoolHistoricalDataFragment, MinimalPoolFragment } from '@berachain/graphql/dex/api';
11
- import { GqlPoolEventType, GqlChain as GqlChain$1, ApiVaultFragment, GqlVaultSnapshotDataRange, GetSWberaVaultSnapshotsQuery, ApiValidatorFragment, GetValidatorsQueryVariables, GetValidatorsQuery, ApiRewardAllocationWeightFragment, GetValidatorQuery, ApiValidatorMinimalFragment, ApiValidatorRewardAllocationWeightFragment, ApiMinimalVaultIncentiveFragment } from '@berachain/graphql/pol/api';
12
- import { P as ProposalErrorCodes, a as ProposalState } from '../txnEnum-7_o92X3N.js';
13
- import { ProposalStatus, ProposalSelectionFragment, Proposal_Filter, Proposal_OrderBy, OrderDirection, ProposalWithVotesFragment, GetProposalVotesQueryVariables, GetProposalVotesQuery } from '@berachain/graphql/governance';
14
- import { C as CustomProposal, G as GovernanceTopic, a as CustomProposalErrors, S as StakingConfig, B as BribeBoostRewardProof, b as BribeBoostRewardItem, U as UserVaultInfo, I as IContractWrite } from '../global.d-5w_lvl2J.js';
15
- import graymatter from 'gray-matter';
10
+ import { FetchPolicy } from '@apollo/client';
11
+ export { gql } from '@apollo/client';
12
+ import { GqlPoolEventType, ApiVaultFragment, GetHeroEarnVaultsQuery, GqlChain as GqlChain$1, GqlVaultSnapshotDataRange, GetSWberaVaultSnapshotsQuery, ApiValidatorFragment, GetValidatorsQueryVariables, GetValidatorsQuery, ApiRewardAllocationWeightFragment, GetValidatorQuery, ApiValidatorMinimalFragment, ApiValidatorRewardAllocationWeightFragment, ApiMinimalVaultIncentiveFragment } from '@berachain/graphql/pol/api';
16
13
  import { GetSnapshotsQuery } from '@berachain/graphql/honey';
17
- import { b as Token, P as PythLatestUpdates, a as TokenWithMetadata, T as TokenWithOrder, h as PythPriceFeedMap, i as TokenCurrentPriceMap, A as AllowanceQueryItem, j as AllowanceToken, M as MinimalERC20, B as BalanceToken } from '../HoneyConfigProvider-DVP_9KZn.js';
18
- export { C as CollateralRates, k as CollateralRatesArgs, l as HoneyFeeMap, m as HoneyPreviewArgs, n as HoneyPreviewMethod, o as HoneyPreviewReadResult, p as HoneyPreviewResult, q as getHoneyFees, r as getHoneyPreview, s as getPythLatestPrices } from '../HoneyConfigProvider-DVP_9KZn.js';
14
+ import { b as Token, P as PythLatestUpdates, a as TokenWithMetadata, T as TokenWithOrder, h as PythPriceFeedMap, i as TokenCurrentPriceMap, A as AllowanceQueryItem, j as AllowanceToken, M as MinimalERC20, B as BalanceToken } from '../HoneyConfigProvider-Dkj-_a5x.js';
15
+ export { C as CollateralRates, k as CollateralRatesArgs, l as HoneyFeeMap, m as HoneyPreviewArgs, n as HoneyPreviewMethod, o as HoneyPreviewReadResult, p as HoneyPreviewResult, q as getHoneyFees, r as getHoneyPreview, s as getPythLatestPrices } from '../HoneyConfigProvider-Dkj-_a5x.js';
19
16
  import BigNumber from '@berachain/utils/pkg/bignumber.js';
20
17
  import { EdgeConfigSchema } from '@berachain/config/internal/edge-config';
21
18
  import { honeyFactoryAbi } from '@berachain/abis/honey/honeyFactory';
22
19
  import { honeyFactoryPythWrapperAbi } from '@berachain/abis/honey/honeyFactoryPythWrapper';
23
- import { I as IHoneySwapState } from '../useHoneySwapState-B494PQDl.js';
20
+ import { I as IHoneySwapState } from '../useHoneySwapState-vFmuFF0g.js';
21
+ import { A as AutoclaimedIncentivesResponse, S as StakingConfig, B as BribeBoostRewardProof, a as BribeBoostRewardItem, U as UserVaultInfo } from '../pol.d-CqPA9K6m.js';
22
+ import { VaultEarningResponse } from '@berachain/graphql/api';
24
23
  import { Address as Address$1, ChainId } from '@berachain/config';
25
24
  import { Config } from '@wagmi/core';
25
+ import { I as IContractWrite } from '../global.d-BuGDKh4k.js';
26
26
  import { GetValidatorBlockStatsQuery, GetValidatorAnalyticsQuery } from '@berachain/graphql/pol/subgraph';
27
27
  import '@berachain/config/internal';
28
28
  import '../dex-C_BB0b0O.js';
29
- import 'swr';
30
- import '../BeraError-_mQdkanr.js';
31
29
  import 'react/jsx-runtime';
32
30
  import 'react';
33
31
  import '../honey-CYm0RWf4.js';
32
+ import 'swr';
33
+ import '../txnEnum-ByI5dtDi.js';
34
+ import '../BeraError-7-A5JYy_.js';
34
35
 
35
36
  interface GetMaxDepositProps {
36
37
  vaultAddress: Address;
@@ -38,38 +39,14 @@ interface GetMaxDepositProps {
38
39
  }
39
40
  declare function getMaxDeposit({ vaultAddress, publicClient, }: GetMaxDepositProps): Promise<string>;
40
41
 
41
- /**
42
- * This is a wrapper around the ApolloClient that throws a BeraError if the query returns an error or no data.
43
- *
44
- * It's mostly a typescript helper that keeps data always defined since we use errorPolicy: "none" by default.
45
- * Such setting will throw an error if the query returns an error, rather than returning an object with undefined data and an error property.
46
- */
47
- declare class BeraApolloClient extends ApolloClient {
42
+ declare function getEnsoClient({ baseURL, ...args }?: BeraJS.BaseFunctionArgs & {
48
43
  /**
49
- * The URL of the endpoint. Used for error reporting only.
44
+ * Override the Enso API base URL.
45
+ *
46
+ * - Omit (or pass `undefined`) → external proxy in production, direct in dev/test
47
+ * - Pass a URL string (e.g. `"/api/enso"`) → route through that proxy
50
48
  */
51
- protected url: string;
52
- protected serviceName: string;
53
- constructor(options: ApolloClient.Options & {
54
- /**
55
- * The URL of the endpoint. Used for error reporting only.
56
- */
57
- url: string;
58
- /**
59
- * The name of the graphql service. Used for error reporting only.
60
- */
61
- name: string;
62
- });
63
- query<TData = unknown, TVariables extends OperationVariables = OperationVariables>(options: Omit<ApolloClient.QueryOptions<TData, TVariables>, "errorPolicy">): Promise<{
64
- data: TData;
65
- }>;
66
- }
67
-
68
- type GraphqlClient = "honey.subgraph" | "pol.subgraph" | "pol.fees" | "governance.subgraph" | "bex.subgraph" | "api" | "bend.whisk";
69
- declare function getApolloClient(clientName: GraphqlClient, { ...args }: BeraJS.BaseFunctionArgs): BeraApolloClient;
70
-
71
- declare function getEnsoClient({ useProxy, ...args }?: BeraJS.BaseFunctionArgs & {
72
- useProxy?: boolean;
49
+ baseURL?: string;
73
50
  }): EnsoClient;
74
51
 
75
52
  declare function getAllPools({ textSearch, chain, first, orderBy, orderDirection, skip, fetchPolicy, userAddress, blacklistedPoolIds, ...args }?: Partial<GetPoolsQueryVariables & {
@@ -552,140 +529,12 @@ declare function getVaultPausedState({ publicClient, ...args }: BeraJS.BaseFunct
552
529
  publicClient: PublicClient;
553
530
  }): Promise<boolean>;
554
531
 
555
- type CheckProposalFieldResultMinimal = ProposalErrorCodes | null;
556
- type CheckProposalFieldResult = ProposalErrorCodes | null | CheckProposalFieldResultMinimal[] | Record<string, CheckProposalFieldResultMinimal>;
557
- /**
558
- * Validates a single proposal field or ABI-typed value.
559
- * Returns `null` if valid, or a `ProposalErrorCodes` value describing the problem.
560
- */
561
- declare function checkProposalField(arg: {
562
- fieldOrType: "address" | "hex" | "abi" | "string" | "bool" | `uint${string}` | `int${string}` | "action" | "title" | "forumLink" | "description" | "logoURI" | "url";
563
- value: unknown;
564
- required?: boolean;
565
- baseUrl?: string;
566
- components?: readonly (AbiParameter | readonly AbiParameter[])[];
567
- }): CheckProposalFieldResultMinimal;
568
532
  /**
569
- * For tuple/tuple[] types, may return nested error structures.
533
+ * Browser-only. Hits the typed `/api/honey/snapshots` endpoint.
534
+ * Server callers must compose the upstream query directly (this action is
535
+ * not server-safe — `fetch` against a relative URL has no origin off-browser).
570
536
  */
571
- declare function checkProposalField(arg: {
572
- fieldOrType: "tuple[]" | "tuple";
573
- value: unknown;
574
- required?: boolean;
575
- baseUrl?: string;
576
- components?: readonly (AbiParameter | readonly AbiParameter[])[];
577
- }): CheckProposalFieldResult;
578
-
579
- declare const MOCKED_PROPOSAL_STATUSES: readonly ProposalStatus[];
580
- /**
581
- * Derives the effective `ProposalStatus` by reconciling subgraph data with the
582
- * on-chain contract state. Falls back to subgraph timestamps when the on-chain
583
- * state is unavailable.
584
- */
585
- declare function computeActualStatus(
586
- /** Subgraph proposal data */
587
- proposal: ProposalSelectionFragment,
588
- /** Value returned by the `state` function of the governance contract */
589
- proposalOnChainState?: ProposalState): ProposalStatus;
590
-
591
- type GetAllProposalsArgs = BeraJS.BaseFunctionArgs & {
592
- /** Subgraph filter applied to the proposals query */
593
- where: Proposal_Filter;
594
- /** Number of proposals to skip (for pagination) */
595
- offset?: number;
596
- /** Maximum proposals per page; must be ≤ 1000 */
597
- perPage?: number;
598
- orderBy?: Proposal_OrderBy;
599
- orderDirection?: OrderDirection;
600
- /** Full-text search query; switches to the search endpoint when provided */
601
- text?: string;
602
- };
603
- /** Fetches a paginated list of governance proposals from the subgraph */
604
- declare function getAllProposals({ where, orderBy, orderDirection, offset, perPage, text, ...args }: GetAllProposalsArgs): Promise<ProposalSelectionFragment[] | undefined>;
605
-
606
- interface GetBodyErrorsArgs {
607
- /** The proposal to validate */
608
- proposal: CustomProposal;
609
- /** The current governance topic, used for forum link base URL validation */
610
- currentTopic: GovernanceTopic;
611
- }
612
- /** Validates the body fields (title, description, forum link) of a proposal */
613
- declare function getBodyErrors({ proposal, currentTopic, }: GetBodyErrorsArgs): CustomProposalErrors;
614
-
615
- interface GetDecodedFunctionDataArgs {
616
- /** Contract address that emitted the calldata */
617
- address: Address;
618
- /** Raw calldata to decode */
619
- callData: `0x${string}`;
620
- /** @default defaultChainId */
621
- chainId?: number;
622
- publicClient: PublicClient;
623
- }
624
- /**
625
- * Decodes the function data from a given contract address and calldata.
626
- *
627
- * Attempts to decode using a known set of ABIs first, then falls back to
628
- * fetching the ABI from the block-explorer API.
629
- *
630
- * @returns An object with the decoded ABI item, function signature, function name, and arguments.
631
- */
632
- declare function getDecodedFunctionData({ address, callData, chainId, publicClient, }: GetDecodedFunctionDataArgs): Promise<{
633
- args: never[];
634
- abiItem?: undefined;
635
- functionSignature?: undefined;
636
- functionName?: undefined;
637
- } | {
638
- abiItem: AbiFunction | undefined;
639
- functionSignature: string | undefined;
640
- functionName: string;
641
- args: unknown[];
642
- }>;
643
-
644
- type GetProposalDetailsArgs = BeraJS.BaseFunctionArgs & {
645
- /** On-chain proposal ID */
646
- proposalId: string;
647
- client?: PublicClient;
648
- };
649
- /** Fetches a single proposal with its vote data from the subgraph */
650
- declare function getProposalDetails({ proposalId, ...args }: GetProposalDetailsArgs): Promise<ProposalWithVotesFragment | undefined>;
651
-
652
- type GetProposalFromTxArgs = {
653
- /** Viem public client used to fetch block and receipt data */
654
- publicClient: PublicClient | undefined;
655
- } & ({
656
- /** Pre-fetched transaction receipt */
657
- tx: TransactionReceipt;
658
- } | {
659
- /** Transaction hash to look up */
660
- txHash: Address;
661
- });
662
- /**
663
- * Reconstructs a `ProposalWithVotesFragment` from the `ProposalCreated` event
664
- * emitted in a given transaction. Returns `null` if the event is not found.
665
- */
666
- declare function getProposalFromTx(args: GetProposalFromTxArgs): Promise<ProposalWithVotesFragment | null>;
667
-
668
- type GetProposalVotesArgs = BeraJS.BaseFunctionArgs & {
669
- /** GraphQL variables forwarded to the GetProposalVotes query */
670
- variables: GetProposalVotesQueryVariables;
671
- };
672
- /** Fetches the votes for a proposal from the subgraph */
673
- declare function getProposalVotes({ variables, ...args }: GetProposalVotesArgs): Promise<{
674
- data: GetProposalVotesQuery;
675
- }>;
676
-
677
- type ParseProposalBodyResult = graymatter.GrayMatterFile<string> & {
678
- /** Whether the body uses YAML front-matter (true) or legacy heading format (false) */
679
- isFrontMatter: boolean;
680
- };
681
- /**
682
- * Parses the body of a governance proposal into structured front-matter and content.
683
- * Supports YAML front-matter format and a legacy heading-based format.
684
- * Falls back to raw description on parse failure.
685
- */
686
- declare function parseProposalBody(proposal?: Pick<ProposalSelectionFragment, "description">): ParseProposalBodyResult;
687
-
688
- declare function getChartData({ days, ...args }: BeraJS.BaseFunctionArgs & {
537
+ declare function getChartData({ days, }: {
689
538
  days: number;
690
539
  }): Promise<GetSnapshotsQuery>;
691
540
 
@@ -725,7 +574,8 @@ interface GetGlobalCapLimitArgs extends BeraJS.BaseFunctionArgs {
725
574
  */
726
575
  declare function getGlobalCapLimit({ client, asset, amount, isMint, isPythWrapperEnabled, latestPrices, ...args }: GetGlobalCapLimitArgs): Promise<boolean | undefined>;
727
576
 
728
- declare function getHoney24hVolume({ ...args }?: BeraJS.BaseFunctionArgs): Promise<BigNumber>;
577
+ /** Browser-only. Hits `/api/honey/snapshots?interval=hour&first=24` and reduces. */
578
+ declare function getHoney24hVolume(): Promise<BigNumber | undefined>;
729
579
 
730
580
  interface GetHoneyCollateralsArgs extends BeraJS.BaseFunctionArgs {
731
581
  /**
@@ -838,17 +688,39 @@ declare function getBlockTimestamp({ block, currentBlock, blockTime, publicClien
838
688
  timestamp: number;
839
689
  }>;
840
690
 
691
+ /**
692
+ * Server-side function to fetch the incentives the bot autoclaimed on behalf
693
+ * of a wallet during the BGT → BERA cutover. Only valid to call once the
694
+ * bgtIncentiveDistributor contract is paused.
695
+ */
696
+ declare function getAutoclaimedIncentives({ account, ...args }: {
697
+ account: Address;
698
+ } & BeraJS.BaseFunctionArgs): Promise<AutoclaimedIncentivesResponse | null>;
699
+
700
+ type GetBeraTokenTotalSupplyArgs = BeraJS.BaseFunctionArgs;
701
+ /**
702
+ * Fetches the native BERA total supply (in whole BERA units) from the
703
+ * Berachain supply-monitor service.
704
+ */
705
+ declare function getBeraTokenTotalSupply(args?: GetBeraTokenTotalSupplyArgs): Promise<string>;
706
+
707
+ /**
708
+ * Reads `paused()` on the BGT incentive distributor. Used to gate the
709
+ * autoclaim banner — when `true`, users can no longer self-claim and the
710
+ * bot is responsible for distributing incentives on their behalf.
711
+ *
712
+ * Fails closed: any read error returns `false` so the banner stays hidden.
713
+ */
714
+ declare function getBgtIncentiveDistributorPaused({ publicClient, ...args }: {
715
+ publicClient: PublicClient | undefined;
716
+ } & BeraJS.BaseFunctionArgs): Promise<boolean>;
717
+
841
718
  declare function getBlockTime({ defaultBlockTime, publicClient, blocksSpan, ...args }: {
842
719
  defaultBlockTime?: number;
843
720
  blocksSpan?: number;
844
721
  publicClient: PublicClient | undefined;
845
722
  } & BeraJS.BaseFunctionArgs): Promise<number>;
846
723
 
847
- type StakingHistoryData = {
848
- currentDepositRate: string;
849
- earningsRealized: string;
850
- earningsTotal: string;
851
- };
852
724
  type GetEarnedStakedBeraVaultArgs = {
853
725
  /**
854
726
  * The token that the user has staked
@@ -859,12 +731,48 @@ type GetEarnedStakedBeraVaultArgs = {
859
731
  */
860
732
  account: Address;
861
733
  };
862
- declare function getEarnedStakedBeraVault({ address, account, ...args }: BeraJS.BaseFunctionArgs & GetEarnedStakedBeraVaultArgs): Promise<StakingHistoryData>;
734
+ declare function getEarnedStakedBeraVault({ address, account, ...args }: BeraJS.BaseFunctionArgs & GetEarnedStakedBeraVaultArgs): Promise<VaultEarningResponse>;
735
+
736
+ interface HeroEarnVaults {
737
+ /**
738
+ * Top-APR PoL reward vaults, ordered by APR descending. Callers typically
739
+ * read `[0]` for the "Earn with PoL" hero subtitle. `bestAprExcludedAddresses`
740
+ * lets callers filter out non-incentivized earn actions whose APR figures
741
+ * would otherwise dominate the listing and mislead users.
742
+ */
743
+ bestApr: ApiVaultFragment[];
744
+ /**
745
+ * Highest-APR PoL reward vault among vaults whose protocol is "bend".
746
+ * Its `stakingToken.address` is a Bend vault share token — match it back
747
+ * against `bendVaults` to combine the PoL reward APR with the underlying
748
+ * Bend native supply APY.
749
+ */
750
+ bendRewardVault: ApiVaultFragment[];
751
+ /**
752
+ * Minimal Bend native vault data (address + `totalApy`) used to look up the
753
+ * underlying Bend supply APY for whichever Bend vault `bendRewardVault`
754
+ * resolves to.
755
+ */
756
+ bendVaults: GetHeroEarnVaultsQuery["bendVaults"];
757
+ }
758
+ /**
759
+ * Batched fetch for the hub home page hero cards. Issues a single GraphQL
760
+ * request to the BEX API that returns:
761
+ * - the top-APR PoL reward vaults (for the "Earn with PoL" card)
762
+ * - the highest-APR Bend-protocol PoL reward vault (for the "Lend" card)
763
+ * - minimal Bend native vault data, so callers can add the Bend supply APY
764
+ * on top of the PoL reward APR when displaying the combined Lend APY
765
+ */
766
+ declare function getHeroEarnVaults({ bestAprExcludedAddresses, ...args }?: {
767
+ bestAprExcludedAddresses?: string[];
768
+ } & BeraJS.BaseFunctionArgs): Promise<HeroEarnVaults>;
863
769
 
864
- declare function getIncentiveFeeClaimStats({ ...args }: BeraJS.BaseFunctionArgs): Promise<{
770
+ type IncentiveFeeClaimStats = {
865
771
  sumAllClaims: number;
866
772
  sumClaimsInLast24Hours: number;
867
- }>;
773
+ };
774
+ /** Browser-only. Hits `/api/pol/incentive-fee-claims` (server computes totals). */
775
+ declare function getIncentiveFeeClaimStats(): Promise<IncentiveFeeClaimStats>;
868
776
 
869
777
  type GetLSTStakeConfigArgs = {
870
778
  tokenList: TokenWithMetadata[];
@@ -1592,7 +1500,13 @@ declare function getApiValidator({ id, ...args }: {
1592
1500
  id: Address;
1593
1501
  } & BeraJS.BaseFunctionArgs): Promise<GetValidatorQuery>;
1594
1502
 
1595
- declare function getDailyValidatorBlockStats({ pubKey, first, ...args }: BeraJS.BaseFunctionArgs & {
1503
+ /**
1504
+ * Browser-only. Hits `/api/pol/validator-block-stats`. Server callers (RSC)
1505
+ * should import from `@berachain/berajs/actions/server` instead — that path
1506
+ * has the static Apollo + GraphQL imports and does not pass through the
1507
+ * browser endpoint.
1508
+ */
1509
+ declare function getDailyValidatorBlockStats({ pubKey, first, }: {
1596
1510
  pubKey: Address;
1597
1511
  first?: number;
1598
1512
  }): Promise<GetValidatorBlockStatsQuery | undefined>;
@@ -1614,7 +1528,8 @@ declare function getStakingPoolBatch({ client, valPubKey, }: {
1614
1528
  valPubKey: `0x${string}`;
1615
1529
  }): Promise<number>;
1616
1530
 
1617
- declare function getValidatorAnalytics({ pubkey, dayRange, ...args }: BeraJS.BaseFunctionArgs & {
1531
+ /** Browser-only. Hits `/api/pol/validator-analytics`. */
1532
+ declare function getValidatorAnalytics({ pubkey, dayRange, }: {
1618
1533
  pubkey: Address;
1619
1534
  dayRange: number;
1620
1535
  }): Promise<GetValidatorAnalyticsQuery | undefined>;
@@ -1647,4 +1562,4 @@ declare function getValidatorBoostApy({ validator, bgtPrice, }: {
1647
1562
  bgtPrice: number;
1648
1563
  }): number;
1649
1564
 
1650
- export { type ActiveBoostAndCommissionChangeDelay, BeraApolloClient, type GetAllProposalsArgs, type GetAllowances, type GetAllowancesResponse, type GetBodyErrorsArgs, type GetDecodedFunctionDataArgs, type GetLSTStakeConfigArgs, type GetProposalDetailsArgs, type GetProposalFromTxArgs, type GetProposalVotesArgs, type GetStakedBeraSnapshotsArgs, type GetTokenInformation, type GetTokenInformationResponse, type GetUserVaultInfoParams, type GetUserVaultsInfo, type GetWalletBalances, MOCKED_PROPOSAL_STATUSES, type ParseProposalBodyResult, type PoolDayData, PythLatestUpdates, type RewardVaultDurationConstants, ValidatorRewardAllocation, aggregateValidatorIncentives, beraWriteContract, checkProposalField, computeActualStatus, getActiveBoostAndCommissionChangeDelay, getAllPools, getAllProposals, getAllValidators, getAllowances, getApiEnrichedAllocation, getApiPool, getApiValidator, getApolloClient, getBalanceCall, getBlockTime, getBlockTimestamp, getBodyErrors, getChartData, getCollateralWeights, getDailyValidatorBlockStats, getDecodedFunctionData, getDefaultRewardAllocation, getEarnedStakedBeraVault, getEnsoClient, getGlobalCapLimit, getGlobalLiquidityAndSwapVolume, getHoney24hVolume, getHoneyCollaterals, getHoneyPausedState, getHoneyPythFeeds, getHoneyPythOracle, getHoneyRootPriceOracle, getIncentiveFeeClaimStats, getLSTStakeConfig, getMaxDeposit, getPoolEvents, getPoolHistoricalData, getPoolState, getProposalDetails, getProposalFromTx, getProposalVotes, getPythUpdateFee, getRelativeCapLimit, getRewardProofsByValidator, getRewardTokenToBeraRate, getRewardVault, getRewardVaultDurationConstants, getRewardVaultFromToken, getRewardVaultStakingToken, getStakeWithdrawalCooldown, getStakedBeraAPR, getStakedBeraSnapshots, getStakingPoolBatch, getSwapPayload, getTokenCurrentPrices, getTokenInformation, getTokens, getTotalStakedAmount, getUserClaimableIncentives, getUserVaultInfo, getUserVaultsReward, getValidatorAnalytics, getValidatorBoostApy, getValidatorCommission, getValidatorEstimatedBgtPerYear, getValidatorOperatorAddress, getValidatorQueuedRewardAllocation, getValidatorReturnPerBgt, getVaultPausedState, getVaultValidators, getWalletBalances, isBasketModeEnabled, isDefaultRewardAllocation, isImpersonateAccount, parseProposalBody };
1565
+ export { type ActiveBoostAndCommissionChangeDelay, type GetAllowances, type GetAllowancesResponse, type GetBeraTokenTotalSupplyArgs, type GetLSTStakeConfigArgs, type GetStakedBeraSnapshotsArgs, type GetTokenInformation, type GetTokenInformationResponse, type GetUserVaultInfoParams, type GetUserVaultsInfo, type GetWalletBalances, type HeroEarnVaults, type IncentiveFeeClaimStats, type PoolDayData, PythLatestUpdates, type RewardVaultDurationConstants, ValidatorRewardAllocation, aggregateValidatorIncentives, beraWriteContract, getActiveBoostAndCommissionChangeDelay, getAllPools, getAllValidators, getAllowances, getApiEnrichedAllocation, getApiPool, getApiValidator, getAutoclaimedIncentives, getBalanceCall, getBeraTokenTotalSupply, getBgtIncentiveDistributorPaused, getBlockTime, getBlockTimestamp, getChartData, getCollateralWeights, getDailyValidatorBlockStats, getDefaultRewardAllocation, getEarnedStakedBeraVault, getEnsoClient, getGlobalCapLimit, getGlobalLiquidityAndSwapVolume, getHeroEarnVaults, getHoney24hVolume, getHoneyCollaterals, getHoneyPausedState, getHoneyPythFeeds, getHoneyPythOracle, getHoneyRootPriceOracle, getIncentiveFeeClaimStats, getLSTStakeConfig, getMaxDeposit, getPoolEvents, getPoolHistoricalData, getPoolState, getPythUpdateFee, getRelativeCapLimit, getRewardProofsByValidator, getRewardTokenToBeraRate, getRewardVault, getRewardVaultDurationConstants, getRewardVaultFromToken, getRewardVaultStakingToken, getStakeWithdrawalCooldown, getStakedBeraAPR, getStakedBeraSnapshots, getStakingPoolBatch, getSwapPayload, getTokenCurrentPrices, getTokenInformation, getTokens, getTotalStakedAmount, getUserClaimableIncentives, getUserVaultInfo, getUserVaultsReward, getValidatorAnalytics, getValidatorBoostApy, getValidatorCommission, getValidatorEstimatedBgtPerYear, getValidatorOperatorAddress, getValidatorQueuedRewardAllocation, getValidatorReturnPerBgt, getVaultPausedState, getVaultValidators, getWalletBalances, isBasketModeEnabled, isDefaultRewardAllocation, isImpersonateAccount };