@berachain/berajs 0.2.10 → 0.2.12

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 (166) hide show
  1. package/dist/{HoneyConfigProvider-Dkj-_a5x.d.ts → HoneyConfigProvider-COOuDNra.d.ts} +1 -1
  2. package/dist/actions/clients/exports.d.ts +5 -21
  3. package/dist/actions/clients/exports.mjs +5 -7
  4. package/dist/actions/exports.d.ts +117 -31
  5. package/dist/actions/exports.mjs +36 -25
  6. package/dist/actions/governance/exports.d.ts +3 -11
  7. package/dist/actions/server/exports.mjs +2 -2
  8. package/dist/chunk-4ML4Y6UN.mjs +46 -0
  9. package/dist/{chunk-7YVNSDXG.mjs → chunk-FGION6F6.mjs} +1 -1
  10. package/dist/{chunk-3JJLQ2JX.mjs → chunk-MKSFQIKC.mjs} +1 -4
  11. package/dist/{chunk-ZLTMIFCZ.mjs → chunk-RFJGL4MF.mjs} +3 -3
  12. package/dist/{chunk-Y6THHG77.mjs → chunk-T43JPYQS.mjs} +1 -1
  13. package/dist/{chunk-WNBWX23Q.mjs → chunk-W2VODV76.mjs} +7 -10
  14. package/dist/{chunk-QBBOWFMH.mjs → chunk-XDG26EG6.mjs} +115 -162
  15. package/dist/{chunk-P5WXXULM.mjs → chunk-YLTWPFCJ.mjs} +3 -18
  16. package/dist/contexts/exports.d.ts +2 -2
  17. package/dist/contexts/exports.mjs +6 -4
  18. package/dist/enum/exports.d.ts +8 -2
  19. package/dist/errors/exports.mjs +2 -2
  20. package/dist/{getApolloClient-BcUTGFUb.d.ts → getApolloClient-MWm_iq4u.d.ts} +4 -5
  21. package/dist/getProposalVotes-DAUrdX2n.d.ts +12 -0
  22. package/dist/{getValidatorQueuedOperatorAddress-DphU3qhE.d.ts → getValidatorQueuedOperatorAddress-Cc05dlO3.d.ts} +8 -59
  23. package/dist/{global.d-BuGDKh4k.d.ts → global.d-CR3zicga.d.ts} +3 -10
  24. package/dist/hooks/exports.d.ts +145 -403
  25. package/dist/hooks/exports.mjs +496 -755
  26. package/dist/hooks/governance/exports.d.ts +24 -19
  27. package/dist/hooks/governance/exports.mjs +43 -53
  28. package/dist/{pol.d-Dw5SQcRX.d.ts → pol.d-CeRgXBL8.d.ts} +18 -4
  29. package/dist/types/exports.d.ts +5 -5
  30. package/dist/{useHoneySwapState-vFmuFF0g.d.ts → useHoneySwapState-twi7NTaO.d.ts} +1 -1
  31. package/dist/utils/exports.d.ts +2 -2
  32. package/dist/utils/exports.mjs +6 -2
  33. package/package.json +8 -7
  34. package/src/actions/bend/getMaxDeposit.ts +28 -2
  35. package/src/actions/clients/exports.ts +0 -1
  36. package/src/actions/clients/fetchBeep.ts +0 -7
  37. package/src/actions/clients/fetchOpenApi.ts +10 -6
  38. package/src/actions/clients/fetchOpenApi.unit.test.ts +20 -14
  39. package/src/actions/clients/getApolloClient.ts +4 -9
  40. package/src/actions/exports.ts +1 -1
  41. package/src/actions/honey/getChartData.ts +14 -14
  42. package/src/actions/honey/getHoney24hVolume.ts +17 -8
  43. package/src/actions/honey/getHoneyTxns.ts +45 -0
  44. package/src/actions/pol/__tests__/rewardVaults.integration.test.ts +3 -3
  45. package/src/actions/pol/getEarnedStakedBeraVault.ts +0 -15
  46. package/src/actions/pol/getGlobalData.ts +10 -29
  47. package/src/actions/pol/getRewardVaults.ts +4 -4
  48. package/src/actions/pol/getSWBeraVaultMetadata.ts +0 -7
  49. package/src/actions/pol/getStakingDailyAssets.ts +0 -14
  50. package/src/actions/validators/getApiEnrichedAllocation.ts +1 -1
  51. package/src/actions/validators/getValidatorIncentiveDistribution.ts +43 -13
  52. package/src/contexts/SwrFallback.tsx +2 -1
  53. package/src/data/contracts.ts +4 -0
  54. package/src/errors/RequestError.ts +3 -3
  55. package/src/errors/getRevertReason.integration.test.ts +5 -1
  56. package/src/hooks/bend/useGetConvertToAssets.ts +3 -11
  57. package/src/hooks/dex/useAggregatorsQuotes.ts +13 -11
  58. package/src/hooks/dex/useAggregatorsRouterFeeBps.ts +2 -7
  59. package/src/hooks/dex/useAllUserPools.ts +8 -13
  60. package/src/hooks/dex/useApiPool.ts +2 -9
  61. package/src/hooks/dex/useGlobalLiquidityAndSwapVolume.ts +1 -2
  62. package/src/hooks/dex/useOnChainPoolData.ts +3 -4
  63. package/src/hooks/dex/usePollPoolCreationRelayerApproval.ts +3 -9
  64. package/src/hooks/dex/usePoolEvents.ts +1 -2
  65. package/src/hooks/dex/usePoolHistoricalData.ts +3 -9
  66. package/src/hooks/dex/usePools.ts +6 -4
  67. package/src/hooks/dex/useSingleAggregatorQuote.ts +6 -18
  68. package/src/hooks/enso/useBendDemultiply.ts +3 -4
  69. package/src/hooks/enso/useBendMultiply.ts +3 -4
  70. package/src/hooks/enso/useBendZapSupply.ts +4 -5
  71. package/src/hooks/enso/useEnsoSwapBundle.ts +2 -2
  72. package/src/hooks/enso/useEnsoUserTokensWithBalances.ts +4 -10
  73. package/src/hooks/enso/useEnsoWalletV2Address.ts +1 -1
  74. package/src/hooks/enso/useIsBendAuthorized.ts +1 -1
  75. package/src/hooks/enso/useZapStakeBera.ts +2 -5
  76. package/src/hooks/exports.ts +1 -0
  77. package/src/hooks/governance/useGetPastVotes.ts +1 -1
  78. package/src/hooks/governance/useHasVoted.ts +1 -1
  79. package/src/hooks/governance/useIsCanceller.ts +1 -1
  80. package/src/hooks/governance/usePollAllProposals.ts +13 -12
  81. package/src/hooks/governance/usePollProposal.ts +7 -10
  82. package/src/hooks/governance/usePollProposalThreshold.ts +2 -7
  83. package/src/hooks/governance/usePollProposalVotes.ts +23 -5
  84. package/src/hooks/governance/usePollUserDelegates.ts +4 -9
  85. package/src/hooks/governance/useProposalFromTx.ts +4 -5
  86. package/src/hooks/governance/useProposalSnapshot.ts +3 -4
  87. package/src/hooks/governance/useProposalState.ts +3 -3
  88. package/src/hooks/governance/useProposalTimelockState.ts +3 -2
  89. package/src/hooks/governance/useQuorum.ts +1 -2
  90. package/src/hooks/honey/useCappedGlobally.ts +4 -12
  91. package/src/hooks/honey/useCappedRelatively.ts +3 -8
  92. package/src/hooks/honey/useCollateralWeights.ts +4 -9
  93. package/src/hooks/honey/useHoney24hVolume.ts +2 -6
  94. package/src/hooks/honey/useHoneyBalances.ts +2 -7
  95. package/src/hooks/honey/useHoneyChartData.ts +4 -12
  96. package/src/hooks/honey/useHoneyVaultsBalance.ts +3 -9
  97. package/src/hooks/honey/useIsBadCollateralAsset.ts +5 -13
  98. package/src/hooks/honey/useIsBasketModeEnabled.ts +5 -13
  99. package/src/hooks/honey/usePythLatestPrices.ts +15 -13
  100. package/src/hooks/perps/usePythUpdateFee.ts +13 -11
  101. package/src/hooks/pol/useAutoclaimedIncentives.ts +2 -8
  102. package/src/hooks/pol/useAutoclaimedIncentivesTxHash.ts +2 -8
  103. package/src/hooks/pol/useBgtIncentiveDistributorPaused.ts +34 -0
  104. package/src/hooks/pol/useBgtUnstakedBalance.ts +3 -8
  105. package/src/hooks/pol/useClaimableFees.ts +2 -6
  106. package/src/hooks/pol/useHighestVaultsAPR.ts +6 -11
  107. package/src/hooks/pol/useOnChainRewardVault.ts +77 -72
  108. package/src/hooks/pol/usePollGlobalData.ts +3 -9
  109. package/src/hooks/pol/usePollMarkets.ts +3 -8
  110. package/src/hooks/pol/useQueuedBeraUnlock.ts +3 -12
  111. package/src/hooks/pol/useRewardTokenToBeraRate.ts +2 -2
  112. package/src/hooks/pol/useRewardVault.ts +9 -8
  113. package/src/hooks/pol/useRewardVaultBalanceFromStakingToken.ts +6 -6
  114. package/src/hooks/pol/useRewardVaultFromToken.ts +24 -30
  115. package/src/hooks/pol/useRewardVaultIncentives.ts +2 -7
  116. package/src/hooks/pol/useRewardVaultRewards.ts +3 -8
  117. package/src/hooks/pol/useRewardVaults.ts +4 -12
  118. package/src/hooks/pol/useStakedAPR.ts +2 -8
  119. package/src/hooks/pol/useStakedData.ts +90 -41
  120. package/src/hooks/pol/useStakedSnapshots.ts +4 -9
  121. package/src/hooks/pol/useStakingVaultsMetadata.ts +1 -1
  122. package/src/hooks/pol/useTotalStakedAmount.ts +2 -8
  123. package/src/hooks/pol/useUserVaultInfo.ts +3 -8
  124. package/src/hooks/pol/useUserVaults.ts +3 -8
  125. package/src/hooks/pol/useVaultAddress.ts +1 -1
  126. package/src/hooks/pol/useVaultHistory.ts +2 -8
  127. package/src/hooks/pol/useVaultValidators.ts +3 -8
  128. package/src/hooks/tokens/useMultipleTokenInformation.ts +3 -8
  129. package/src/hooks/tokens/usePollAllowances.ts +4 -11
  130. package/src/hooks/tokens/usePollBalance.ts +2 -5
  131. package/src/hooks/tokens/usePollWalletBalances.ts +3 -3
  132. package/src/hooks/tokens/useStakingTokenInformation.ts +3 -12
  133. package/src/hooks/tokens/useTokenCurrentPrices.ts +11 -13
  134. package/src/hooks/tokens/useTokenInformation.ts +3 -8
  135. package/src/hooks/tokens/useTokenPrice.ts +2 -1
  136. package/src/hooks/tokens/useTokenPrices.ts +3 -4
  137. package/src/hooks/tokens/useTotalSupply.ts +1 -1
  138. package/src/hooks/tokens/useUnderlyingAsset.ts +1 -2
  139. package/src/hooks/useBlockToTimestamp.ts +1 -2
  140. package/src/hooks/useGetVerifiedAbi.ts +2 -1
  141. package/src/hooks/validators/useAllValidators.ts +3 -9
  142. package/src/hooks/validators/useApiEnrichedAllocation.ts +1 -1
  143. package/src/hooks/validators/useApiValidator.ts +4 -12
  144. package/src/hooks/validators/useBaselineRewardAllocation.ts +1 -2
  145. package/src/hooks/validators/useDailyValidatorBlockStats.ts +2 -4
  146. package/src/hooks/validators/useDefaultRewardAllocation.ts +3 -9
  147. package/src/hooks/validators/useManagedValidatorRole.ts +2 -3
  148. package/src/hooks/validators/useOnChainValidator.ts +4 -11
  149. package/src/hooks/validators/useStakingPoolBatch.ts +4 -10
  150. package/src/hooks/validators/useUserActiveValidators.ts +3 -9
  151. package/src/hooks/validators/useUserBoostsOnValidator.ts +2 -4
  152. package/src/hooks/validators/useUserClaimableIncentives.ts +3 -3
  153. package/src/hooks/validators/useUserStakingPositions.ts +3 -9
  154. package/src/hooks/validators/useValidatorAnalytics.ts +2 -4
  155. package/src/hooks/validators/useValidatorCommission.ts +3 -8
  156. package/src/hooks/validators/useValidatorIncentiveDistribution.ts +4 -6
  157. package/src/hooks/validators/useValidatorQueuedCommission.ts +3 -8
  158. package/src/hooks/validators/useValidatorQueuedOperatorAddress.ts +3 -8
  159. package/src/hooks/validators/useValidatorQueuedRewardAllocation.ts +3 -8
  160. package/src/hooks/validators/useValidatorRewardAllocation.ts +3 -8
  161. package/src/types/global.d.ts +7 -10
  162. package/src/types/pol.d.ts +17 -3
  163. package/dist/polling-BKnyavLI.d.ts +0 -8
  164. package/src/actions/clients/fetchRailwayBackend.ts +0 -34
  165. package/src/actions/pol/getGlobalCuttingBoard.ts +0 -25
  166. package/src/actions/pol/getIncentiveFeeClaimStats.ts +0 -24
@@ -1,28 +1,26 @@
1
- import * as swr__internal from 'swr/_internal';
2
- import * as swr from 'swr';
3
- import { SWRResponse } from 'swr';
4
- import { b as GetConvertToAssetsProps, O as OnChainPool, B as BaseAggregator, d as GetHoneyVaultsBalanceResponse, j as IsBadCollateralResponse, G as GetBgtAprSimulationArgs, a as GetBgtAprSimulationResult, i as GlobalData, e as GetMarkets, S as StakedBeraWithdrawal, k as RewardVaultIncentive, f as GetRewardVaultRewardsReturn, c as GetGaugeData, t as VaultMetadata, g as GetUserVaultsResponse, h as GetVaultHistoryArgs, V as ValidatorRewardAllocation, s as ValidatorWithUserBoost, U as UserBoostsOnValidator, l as UserStakingPoolPosition, n as ValidatorQueuedCommission, o as ValidatorQueuedOperatorAddress } from '../getValidatorQueuedOperatorAddress-DphU3qhE.js';
5
- import { D as DefaultHookOptions, a as DefaultHookReturnType, b as IUseContractWriteArgs, U as UseContractWriteApi } from '../global.d-BuGDKh4k.js';
6
- export { T as TxnEventKeys } from '../global.d-BuGDKh4k.js';
1
+ import * as _berachain_utils_pkg_swr from '@berachain/utils/pkg/swr';
2
+ import { BeraSwrResponse } from '@berachain/utils/pkg/swr';
3
+ import { b as GetConvertToAssetsProps, B as BaseAggregator, c as GetHoneyVaultsBalanceResponse, j as IsBadCollateralResponse, G as GetBgtAprSimulationArgs, a as GetBgtAprSimulationResult, i as GlobalData, d as GetMarkets, S as StakedBeraWithdrawal, k as RewardVaultIncentive, f as GetRewardVaultRewardsReturn, e as GetRewardVaultData, t as VaultMetadata, g as GetUserVaultsResponse, h as GetVaultHistoryArgs, V as ValidatorRewardAllocation, s as ValidatorWithUserBoost, U as UserBoostsOnValidator, l as UserStakingPoolPosition, n as ValidatorQueuedCommission, o as ValidatorQueuedOperatorAddress } from '../getValidatorQueuedOperatorAddress-Cc05dlO3.js';
4
+ import { D as DefaultHookOptions, a as DefaultHookReturnType, b as IUseContractWriteArgs, U as UseContractWriteApi } from '../global.d-CR3zicga.js';
5
+ export { T as TxnEventKeys } from '../global.d-CR3zicga.js';
7
6
  import { S as SwapReferrer, A as Aggregators, a as PoolCreationStep } from '../dex-C_BB0b0O.js';
8
- import * as viem from 'viem';
9
7
  import { Address, Hex } from 'viem';
10
- import { M as MinimalERC20, d as HoneyConfigContextReturn, g as IRawAggregatorQuote, b as Token, t as TokenWithAmount, i as TokenCurrentPriceMap, v as IUserPosition, A as AllowanceQueryItem, j as AllowanceToken, w as TokenPriceInfo, B as BalanceToken, x as Calldata, h as PythPriceFeedMap, P as PythLatestUpdates, a as TokenWithMetadata } from '../HoneyConfigProvider-Dkj-_a5x.js';
8
+ import { M as MinimalERC20, d as HoneyConfigContextReturn, g as IRawAggregatorQuote, b as Token, t as TokenWithAmount, i as TokenCurrentPriceMap, v as IUserPosition, A as AllowanceQueryItem, j as AllowanceToken, w as TokenPriceInfo, B as BalanceToken, h as PythPriceFeedMap, P as PythLatestUpdates, a as TokenWithMetadata } from '../HoneyConfigProvider-COOuDNra.js';
11
9
  import * as _berachain_graphql_dex_api from '@berachain/graphql/dex/api';
12
10
  import { GetPoolsQueryVariables, MinimalPoolFragment, GqlPoolEventType, PoolHistoricalDataFragment, GqlRewardVaultDynamicData, GqlVaultSnapshotDataRange, GqlValidatorDynamicData } from '@berachain/graphql/dex/api';
13
11
  export { u as useBexStatus } from '../BexStatusProvider-DRymVlQf.js';
14
12
  import { PoolType } from '@berachain-foundation/berancer-sdk';
15
- import { P as POLLING } from '../polling-BKnyavLI.js';
13
+ import * as swr__internal from 'swr/_internal';
16
14
  import { BendDemultiplyBundleResponse, BendMultiplyBundleResponse, GetZapTransactionResponse } from '../types/exports.js';
17
- import { I as IHoneySwapState } from '../useHoneySwapState-vFmuFF0g.js';
18
- export { r as reducer, u as useHoneySwapState } from '../useHoneySwapState-vFmuFF0g.js';
19
- import * as _berachain_graphql_honey from '@berachain/graphql/honey';
20
- import { A as AutoclaimedIncentivesResponse, a as AutoclaimedIncentivesTxHashResponse, S as StakingConfig, c as StakedBeraAsset, U as UserVaultInfo, B as BribeBoostRewardProof } from '../pol.d-Dw5SQcRX.js';
15
+ import { I as IHoneySwapState } from '../useHoneySwapState-twi7NTaO.js';
16
+ export { r as reducer, u as useHoneySwapState } from '../useHoneySwapState-twi7NTaO.js';
17
+ import * as _berachain_graphql_beep from '@berachain/graphql/beep';
18
+ import { StakeStatsByDayResponse, ValidatorIncentivesResponse } from '@berachain/graphql/beep';
19
+ import { A as AutoclaimedIncentivesResponse, a as AutoclaimedIncentivesTxHashResponse, S as StakingConfig, c as StakedBeraAsset, U as UserVaultInfo, B as BribeBoostRewardProof } from '../pol.d-CeRgXBL8.js';
21
20
  import * as _berachain_graphql_pol_api from '@berachain/graphql/pol/api';
22
21
  import { GqlRewardVaultFilter, ApiVaultFragment, GetVaultsQueryVariables, GetVaultHistoryQuery, ApiValidatorFragment, GetValidatorsQueryVariables, GetValidatorsQuery, GqlChain, GetValidatorQuery, ApiValidatorMinimalFragment } from '@berachain/graphql/pol/api';
23
- import { VaultStatsByDayResponse } from '@berachain/graphql/api';
24
22
  import { Address as Address$1 } from '@berachain/config';
25
- import { GetValidatorBlockStatsQuery, GetValidatorAnalyticsQuery, GetValidatorIncentiveDistributionQuery } from '@berachain/graphql/pol/subgraph';
23
+ import { GetValidatorBlockStatsQuery, GetValidatorAnalyticsQuery } from '@berachain/graphql/pol/subgraph';
26
24
  import '@berachain/config/internal';
27
25
  import '@wagmi/core';
28
26
  import '../txnEnum-ByI5dtDi.js';
@@ -35,20 +33,10 @@ import '@ensofinance/sdk';
35
33
 
36
34
  declare const useGetConvertToAssets: ({ sharesAmount, vaultAddress, vaultChainId, }: Omit<GetConvertToAssetsProps, "publicClient"> & {
37
35
  vaultChainId?: number;
38
- }, options?: DefaultHookOptions) => {
39
- refresh: () => void;
40
- data: {
41
- raw: bigint;
42
- formatted: string;
43
- } | undefined;
44
- error: any;
45
- mutate: swr.KeyedMutator<{
46
- raw: bigint;
47
- formatted: string;
48
- }>;
49
- isValidating: boolean;
50
- isLoading: swr__internal.IsLoadingResponse<Data, Config>;
51
- };
36
+ }, options?: DefaultHookOptions) => _berachain_utils_pkg_swr.BeraSwrResponse<{
37
+ raw: bigint;
38
+ formatted: string;
39
+ }, any>;
52
40
 
53
41
  type IUseAggregatorsQuotesArgs$1 = BeraJS.BaseFunctionArgs & {
54
42
  tokenIn: MinimalERC20;
@@ -66,21 +54,14 @@ type IUseAggregatorsQuotesArgs$1 = BeraJS.BaseFunctionArgs & {
66
54
  honeyNativeState?: Pick<HoneyConfigContextReturn, "collateralList" | "protocol">;
67
55
  };
68
56
  declare function useAggregatorsQuotes(args: IUseAggregatorsQuotesArgs$1, options?: DefaultHookOptions): {
69
- refresh: () => Promise<IRawAggregatorQuote | undefined>[];
57
+ refresh: () => void;
70
58
  quotes: IRawAggregatorQuote[];
71
59
  loadingAggregatorsNames: (Aggregators | null)[];
72
60
  isLoading: boolean;
73
61
  error: any;
74
62
  };
75
63
 
76
- declare const useAggregatorsRouterFeeBps: () => {
77
- refresh: swr.KeyedMutator<number>;
78
- data: number | undefined;
79
- error: any;
80
- mutate: swr.KeyedMutator<number>;
81
- isValidating: boolean;
82
- isLoading: swr__internal.IsLoadingResponse<Data, Config>;
83
- };
64
+ declare const useAggregatorsRouterFeeBps: () => _berachain_utils_pkg_swr.BeraSwrResponse<number, any>;
84
65
 
85
66
  declare const useAllUserPoolsQueryKey: ({ query, }?: {
86
67
  query?: GetPoolsQueryVariables;
@@ -94,118 +75,59 @@ declare const useAllUserPoolsQueryKey: ({ query, }?: {
94
75
  orderDirection?: _berachain_graphql_dex_api.InputMaybe<_berachain_graphql_dex_api.GqlPoolOrderDirection>;
95
76
  blacklistedPoolIds?: _berachain_graphql_dex_api.InputMaybe<Array<_berachain_graphql_dex_api.Scalars["String"]["input"]> | _berachain_graphql_dex_api.Scalars["String"]["input"]>;
96
77
  }> | undefined)[];
97
- declare const useAllUserPools: (query: GetPoolsQueryVariables, options?: DefaultHookOptions) => {
98
- refresh: () => void;
99
- data: {
100
- pools: {
101
- __typename?: "GqlPoolMinimal";
102
- id: string;
103
- name: string;
78
+ declare const useAllUserPools: (query: GetPoolsQueryVariables, options?: DefaultHookOptions) => _berachain_utils_pkg_swr.BeraSwrResponse<{
79
+ pools: {
80
+ __typename?: "GqlPoolMinimal";
81
+ id: string;
82
+ name: string;
83
+ address: `0x${string}`;
84
+ factory?: `0x${string}` | null;
85
+ protocolVersion: number;
86
+ type: _berachain_graphql_dex_api.GqlPoolType;
87
+ tokens: Array<{
88
+ __typename?: "GqlPoolTokenExpanded";
104
89
  address: `0x${string}`;
105
- factory?: `0x${string}` | null;
106
- protocolVersion: number;
107
- type: _berachain_graphql_dex_api.GqlPoolType;
108
- tokens: Array<{
109
- __typename?: "GqlPoolTokenExpanded";
110
- address: `0x${string}`;
111
- symbol: string;
112
- name: string;
113
- decimals: number;
114
- }>;
115
- dynamicData: {
116
- __typename?: "GqlPoolDynamicData";
117
- totalShares: string;
118
- fees24h: string;
119
- volume24h: string;
120
- swapFee: string;
121
- isInRecoveryMode: boolean;
122
- isPaused: boolean;
123
- totalLiquidity: string;
124
- aprItems: Array<{
125
- __typename?: "GqlPoolAprItem";
126
- apr: number;
127
- type: _berachain_graphql_dex_api.GqlPoolAprItemType;
128
- id: string;
129
- }>;
130
- };
131
- userBalance?: {
132
- __typename?: "GqlPoolUserBalance";
133
- totalBalanceUsd: number;
134
- walletBalance: any;
135
- walletBalanceUsd: number;
136
- } | null;
137
- rewardVault?: {
138
- __typename?: "GqlRewardVault";
139
- isVaultWhitelisted: boolean;
140
- vaultAddress: `0x${string}`;
141
- stakingTokenAddress: `0x${string}`;
142
- dynamicData?: {
143
- __typename?: "GqlRewardVaultDynamicData";
144
- activeIncentivesValueUsd: string;
145
- apr?: number | null;
146
- rewardCapturePercentage: number;
147
- } | null;
148
- } | null;
149
- }[];
150
- count: number;
151
- } | undefined;
152
- error: any;
153
- mutate: swr.KeyedMutator<{
154
- pools: {
155
- __typename?: "GqlPoolMinimal";
156
- id: string;
90
+ symbol: string;
157
91
  name: string;
158
- address: `0x${string}`;
159
- factory?: `0x${string}` | null;
160
- protocolVersion: number;
161
- type: _berachain_graphql_dex_api.GqlPoolType;
162
- tokens: Array<{
163
- __typename?: "GqlPoolTokenExpanded";
164
- address: `0x${string}`;
165
- symbol: string;
166
- name: string;
167
- decimals: number;
92
+ decimals: number;
93
+ }>;
94
+ dynamicData: {
95
+ __typename?: "GqlPoolDynamicData";
96
+ totalShares: string;
97
+ fees24h: string;
98
+ volume24h: string;
99
+ swapFee: string;
100
+ isInRecoveryMode: boolean;
101
+ isPaused: boolean;
102
+ totalLiquidity: string;
103
+ aprItems: Array<{
104
+ __typename?: "GqlPoolAprItem";
105
+ apr: number;
106
+ type: _berachain_graphql_dex_api.GqlPoolAprItemType;
107
+ id: string;
168
108
  }>;
169
- dynamicData: {
170
- __typename?: "GqlPoolDynamicData";
171
- totalShares: string;
172
- fees24h: string;
173
- volume24h: string;
174
- swapFee: string;
175
- isInRecoveryMode: boolean;
176
- isPaused: boolean;
177
- totalLiquidity: string;
178
- aprItems: Array<{
179
- __typename?: "GqlPoolAprItem";
180
- apr: number;
181
- type: _berachain_graphql_dex_api.GqlPoolAprItemType;
182
- id: string;
183
- }>;
184
- };
185
- userBalance?: {
186
- __typename?: "GqlPoolUserBalance";
187
- totalBalanceUsd: number;
188
- walletBalance: any;
189
- walletBalanceUsd: number;
190
- } | null;
191
- rewardVault?: {
192
- __typename?: "GqlRewardVault";
193
- isVaultWhitelisted: boolean;
194
- vaultAddress: `0x${string}`;
195
- stakingTokenAddress: `0x${string}`;
196
- dynamicData?: {
197
- __typename?: "GqlRewardVaultDynamicData";
198
- activeIncentivesValueUsd: string;
199
- apr?: number | null;
200
- rewardCapturePercentage: number;
201
- } | null;
109
+ };
110
+ userBalance?: {
111
+ __typename?: "GqlPoolUserBalance";
112
+ totalBalanceUsd: number;
113
+ walletBalance: any;
114
+ walletBalanceUsd: number;
115
+ } | null;
116
+ rewardVault?: {
117
+ __typename?: "GqlRewardVault";
118
+ isVaultWhitelisted: boolean;
119
+ vaultAddress: `0x${string}`;
120
+ stakingTokenAddress: `0x${string}`;
121
+ dynamicData?: {
122
+ __typename?: "GqlRewardVaultDynamicData";
123
+ activeIncentivesValueUsd: string;
124
+ apr?: number | null;
125
+ rewardCapturePercentage: number;
202
126
  } | null;
203
- }[];
204
- count: number;
205
- }>;
206
- isValidating: boolean;
207
- isLoading: swr__internal.IsLoadingResponse<Data, Config>;
208
- };
127
+ } | null;
128
+ }[];
129
+ count: number;
130
+ }, any>;
209
131
 
210
132
  declare const useApiPoolQueryKey: ({ poolId, account, }: {
211
133
  poolId: Hex;
@@ -214,14 +136,7 @@ declare const useApiPoolQueryKey: ({ poolId, account, }: {
214
136
  declare function useApiPool({ poolId, account, }: {
215
137
  poolId: Hex;
216
138
  account?: Address;
217
- }): {
218
- refresh: () => void;
219
- data: MinimalPoolFragment | undefined;
220
- error: any;
221
- mutate: swr.KeyedMutator<MinimalPoolFragment>;
222
- isValidating: boolean;
223
- isLoading: swr__internal.IsLoadingResponse<Data, Config>;
224
- };
139
+ }): _berachain_utils_pkg_swr.BeraSwrResponse<MinimalPoolFragment, any>;
225
140
 
226
141
  interface UseCreatePoolProps extends BeraJS.BaseFunctionArgs {
227
142
  poolCreateTokens: Token[];
@@ -257,11 +172,10 @@ declare const useGlobalLiquidityAndSwapVolume: () => {
257
172
  totalLiquidity: number;
258
173
  swapVolume24h: number;
259
174
  };
260
- refresh: () => Promise<_berachain_graphql_dex_api.GetGlobalLiquidityAndSwapVolumeQuery | undefined>;
261
175
  error: any;
262
- mutate: swr.KeyedMutator<_berachain_graphql_dex_api.GetGlobalLiquidityAndSwapVolumeQuery>;
263
176
  isValidating: boolean;
264
177
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
178
+ refresh: () => void;
265
179
  };
266
180
 
267
181
  type LiquidityMismatchInfo = {
@@ -358,8 +272,7 @@ declare function useOnChainPoolData(poolId: string): {
358
272
  data: OnChainPoolFragment | undefined;
359
273
  error: any;
360
274
  isLoading: boolean;
361
- mutate: swr.KeyedMutator<OnChainPool>;
362
- refresh: () => Promise<OnChainPool | undefined>;
275
+ refresh: () => void;
363
276
  };
364
277
 
365
278
  /**
@@ -367,14 +280,7 @@ declare function useOnChainPoolData(poolId: string): {
367
280
  *
368
281
  * @returns SWR data spread and refresh function
369
282
  */
370
- declare const usePollPoolCreationRelayerApproval: (options?: DefaultHookOptions) => {
371
- refreshPoolCreationApproval: () => void;
372
- data: boolean | undefined;
373
- error: any;
374
- mutate: swr.KeyedMutator<boolean>;
375
- isValidating: boolean;
376
- isLoading: swr__internal.IsLoadingResponse<Data, Config>;
377
- };
283
+ declare const usePollPoolCreationRelayerApproval: (options?: DefaultHookOptions) => _berachain_utils_pkg_swr.BeraSwrResponse<boolean, any>;
378
284
 
379
285
  declare function usePool({ poolId }: {
380
286
  poolId: Hex;
@@ -388,9 +294,7 @@ declare function usePool({ poolId }: {
388
294
  declare const usePoolEvents: ({ poolId, typeInArray, }: {
389
295
  poolId: string | undefined;
390
296
  typeInArray: GqlPoolEventType[];
391
- }) => swr.SWRResponse<_berachain_graphql_dex_api.GetPoolEventsQuery, any, {
392
- refreshInterval: POLLING;
393
- }>;
297
+ }) => _berachain_utils_pkg_swr.BeraSwrResponse<_berachain_graphql_dex_api.GetPoolEventsQuery, any>;
394
298
 
395
299
  type UsePoolHistoricalDataArgs = {
396
300
  poolId: string | undefined;
@@ -515,6 +419,7 @@ declare const usePools: (query: GetPoolsQueryVariables, options?: DefaultHookOpt
515
419
  } | null;
516
420
  }[];
517
421
  isLoading: boolean;
422
+ error: any;
518
423
  refresh: () => void;
519
424
  pagination: {
520
425
  page: number;
@@ -557,11 +462,7 @@ declare const USE_AGGREGATORS_QUOTES_QUERY_KEY = "useAggregatorsQuotes";
557
462
  */
558
463
  declare function useSingleAggregatorQuote(args: IUseAggregatorsQuotesArgs & {
559
464
  aggregator: BaseAggregator;
560
- }, options?: DefaultHookOptions): swr.SWRResponse<IRawAggregatorQuote | undefined, any, (Partial<swr__internal.PublicConfiguration<any, any, swr.BareFetcher<any>>> & Partial<swr__internal.ProviderConfiguration> & {
561
- provider?: (cache: Readonly<swr.Cache>) => swr.Cache;
562
- } & {
563
- isEnabled?: boolean;
564
- }) | undefined> | null;
465
+ }, options?: DefaultHookOptions): _berachain_utils_pkg_swr.BeraSwrResponse<IRawAggregatorQuote | undefined, any> | null;
565
466
 
566
467
  type UseBendDemultiply = {
567
468
  collateralToken?: Token;
@@ -575,7 +476,7 @@ type UseBendDemultiply = {
575
476
  currentCollateral?: string;
576
477
  currentDebt?: string;
577
478
  };
578
- declare function useBendDemultiply({ collateralToken, loanToken, marketId, primaryAddress, repayAmount, slippage, chainId, collateralPriceInLoanAsset, currentCollateral, currentDebt, }: UseBendDemultiply, options?: DefaultHookOptions): swr.SWRResponse<BendDemultiplyBundleResponse, unknown, swr.SWRConfiguration<BendDemultiplyBundleResponse, unknown, (arg: readonly ["useBendDemultiply", `0x${string}`, Token, Token, `0x${string}`, `0x${string}`, number, string, number, string, string, string, `0x${string}`, boolean, boolean]) => swr__internal.FetcherResponse<BendDemultiplyBundleResponse>> | undefined>;
479
+ declare function useBendDemultiply({ collateralToken, loanToken, marketId, primaryAddress, repayAmount, slippage, chainId, collateralPriceInLoanAsset, currentCollateral, currentDebt, }: UseBendDemultiply, options?: DefaultHookOptions): _berachain_utils_pkg_swr.BeraSwrResponse<BendDemultiplyBundleResponse, unknown>;
579
480
 
580
481
  type UseBendMultiply = {
581
482
  collateralToken?: Token;
@@ -590,7 +491,7 @@ type UseBendMultiply = {
590
491
  chainId?: number;
591
492
  formattedCollateralPriceInLoanAsset?: string;
592
493
  };
593
- declare function useBendMultiply({ collateralToken, loanToken, marketId, primaryAddress, formattedSupplyCollateralAmount, formattedCurrentCollateralAmount, formattedCurrentBorrowAmount, leverageMultiplier, slippage, chainId, formattedCollateralPriceInLoanAsset, }: UseBendMultiply, options?: DefaultHookOptions): swr.SWRResponse<BendMultiplyBundleResponse, unknown, swr.SWRConfiguration<BendMultiplyBundleResponse, unknown, (arg: readonly ["useBendMultiply", `0x${string}`, Token, Token, `0x${string}`, `0x${string}`, number, string, string, string, number, number, string, `0x${string}`, boolean, boolean]) => swr__internal.FetcherResponse<BendMultiplyBundleResponse>> | undefined>;
494
+ declare function useBendMultiply({ collateralToken, loanToken, marketId, primaryAddress, formattedSupplyCollateralAmount, formattedCurrentCollateralAmount, formattedCurrentBorrowAmount, leverageMultiplier, slippage, chainId, formattedCollateralPriceInLoanAsset, }: UseBendMultiply, options?: DefaultHookOptions): _berachain_utils_pkg_swr.BeraSwrResponse<BendMultiplyBundleResponse, unknown>;
594
495
 
595
496
  type UseBendZapSupplyArgs = {
596
497
  tokenIn?: BalanceToken;
@@ -621,49 +522,12 @@ declare function useBendZapSupply({ tokenIn, loanToken, bendVault, rewardVault,
621
522
  isCrossChain: boolean | 0 | undefined;
622
523
  nativeFee: string | undefined;
623
524
  refresh: () => void;
624
- data: IRawAggregatorQuote | undefined;
525
+ data: any;
625
526
  error: any;
626
- mutate: swr.KeyedMutator<IRawAggregatorQuote>;
627
527
  isValidating: boolean;
628
528
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
629
529
  };
630
- declare function useBendZapSupplyHelper({ tokenIn, loanToken, bendVault, rewardVault, amount, slippage, }: UseBendZapSupplyArgs, options?: DefaultHookOptions): swr.SWRResponse<IRawAggregatorQuote, any, {
631
- refreshInterval: POLLING;
632
- errorRetryInterval?: number | undefined;
633
- errorRetryCount?: number;
634
- loadingTimeout?: number | undefined;
635
- focusThrottleInterval?: number | undefined;
636
- dedupingInterval?: number | undefined;
637
- refreshWhenHidden?: boolean;
638
- refreshWhenOffline?: boolean;
639
- revalidateOnFocus?: boolean | undefined;
640
- revalidateOnReconnect?: boolean | undefined;
641
- revalidateOnMount?: boolean;
642
- revalidateIfStale?: boolean | undefined;
643
- shouldRetryOnError?: boolean | ((err: any) => boolean) | undefined;
644
- keepPreviousData?: boolean;
645
- suspense?: boolean;
646
- fallbackData?: any;
647
- strictServerPrefetchWarning?: boolean;
648
- fetcher?: swr.BareFetcher<any> | undefined;
649
- use?: swr.Middleware[];
650
- fallback?: {
651
- [key: string]: any;
652
- } | undefined;
653
- isPaused?: (() => boolean) | undefined;
654
- onLoadingSlow?: ((key: string, config: Readonly<swr__internal.PublicConfiguration<any, any, swr.BareFetcher<any>>>) => void) | undefined;
655
- onSuccess?: ((data: any, key: string, config: Readonly<swr__internal.PublicConfiguration<any, any, swr.BareFetcher<any>>>) => void) | undefined;
656
- onError?: ((err: any, key: string, config: Readonly<swr__internal.PublicConfiguration<any, any, swr.BareFetcher<any>>>) => void) | undefined;
657
- onErrorRetry?: ((err: any, key: string, config: Readonly<swr__internal.PublicConfiguration<any, any, swr.BareFetcher<any>>>, revalidate: swr.Revalidator, revalidateOpts: Required<swr.RevalidatorOptions>) => void) | undefined;
658
- onDiscarded?: ((key: string) => void) | undefined;
659
- compare?: ((a: any, b: any) => boolean) | undefined;
660
- isOnline?: (() => boolean) | undefined;
661
- isVisible?: (() => boolean) | undefined;
662
- initFocus?: ((callback: () => void) => (() => void) | void) | undefined;
663
- initReconnect?: ((callback: () => void) => (() => void) | void) | undefined;
664
- provider?: (cache: Readonly<swr.Cache>) => swr.Cache;
665
- isEnabled?: boolean;
666
- }>;
530
+ declare function useBendZapSupplyHelper({ tokenIn, loanToken, bendVault, rewardVault, amount, slippage, }: UseBendZapSupplyArgs, options?: DefaultHookOptions): _berachain_utils_pkg_swr.BeraSwrResponse<any, any>;
667
531
 
668
532
  /**
669
533
  * Get the swap bundle for swapping tokens using Enso.
@@ -685,21 +549,13 @@ declare function useEnsoSwapBundle({ tokenIn, tokenOut, amount, slippage, }: {
685
549
  refresh: () => void;
686
550
  data: GetZapTransactionResponse | undefined;
687
551
  error: any;
688
- mutate: swr.KeyedMutator<GetZapTransactionResponse>;
689
552
  isValidating: boolean;
690
553
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
691
554
  };
692
555
 
693
556
  declare function useEnsoUserTokensWithBalances({ chainId }?: {
694
557
  chainId?: number;
695
- }, options?: DefaultHookOptions): {
696
- refresh: () => Promise<BalanceToken[] | undefined>;
697
- data: BalanceToken[] | undefined;
698
- error: any;
699
- mutate: swr.KeyedMutator<BalanceToken[]>;
700
- isValidating: boolean;
701
- isLoading: swr__internal.IsLoadingResponse<Data, Config>;
702
- };
558
+ }, options?: DefaultHookOptions): _berachain_utils_pkg_swr.BeraSwrResponse<BalanceToken[], any>;
703
559
 
704
560
  type UseZapStakeBeraArgs = {
705
561
  inputToken: MinimalERC20 | undefined;
@@ -714,24 +570,11 @@ type UseZapStakeBeraArgs = {
714
570
  * supports cross-chain zaps from any chain to berachain staking.
715
571
  */
716
572
  declare function useZapStakeBera({ inputToken, amount, underlyingToken, slippage, tokenOut, }: UseZapStakeBeraArgs, options?: DefaultHookOptions): {
717
- data: {
718
- priceImpactPercentage: number | null | undefined;
719
- isCrossChain: boolean | undefined;
720
- amountOut?: string | undefined;
721
- amountIn?: string | undefined;
722
- name?: any;
723
- allowanceRequirements?: AllowanceQueryItem[] | undefined;
724
- isNativeSwap?: boolean;
725
- swapFeeBps?: number | undefined;
726
- getCalldata?: ({ account }: {
727
- account: viem.Address;
728
- }) => Calldata;
729
- };
730
- refresh: () => void;
573
+ data: any;
731
574
  error: any;
732
- mutate: swr.KeyedMutator<IRawAggregatorQuote>;
733
575
  isValidating: boolean;
734
576
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
577
+ refresh: () => void;
735
578
  };
736
579
 
737
580
  interface UseCappedGloballyResponse extends DefaultHookReturnType<boolean | undefined> {
@@ -758,14 +601,7 @@ declare const useCollateralWeights: ({ collateralList, }: {
758
601
  collateralList: Token[] | undefined;
759
602
  }, options?: DefaultHookOptions) => UseCollateralWeightsResponse;
760
603
 
761
- declare function useHoney24hVolume(): {
762
- refresh: () => Promise<BigNumber | undefined>;
763
- data: BigNumber | undefined;
764
- error: any;
765
- mutate: swr.KeyedMutator<BigNumber | undefined>;
766
- isValidating: boolean;
767
- isLoading: swr__internal.IsLoadingResponse<Data, Config>;
768
- };
604
+ declare function useHoney24hVolume(): _berachain_utils_pkg_swr.BeraSwrResponse<BigNumber | undefined, any>;
769
605
 
770
606
  /**
771
607
  * Interface defining the state props that we need without the entire IHoneySwapState
@@ -836,14 +672,13 @@ declare const useHoneyBalances: () => DefaultHookReturnType<Record<Address, Bala
836
672
 
837
673
  declare function useHoneyChartData({ days }: {
838
674
  days: number;
839
- }): {
840
- refresh: () => Promise<_berachain_graphql_honey.GetSnapshotsQuery | undefined>;
841
- data: _berachain_graphql_honey.GetSnapshotsQuery | undefined;
842
- error: any;
843
- mutate: swr.KeyedMutator<_berachain_graphql_honey.GetSnapshotsQuery>;
844
- isValidating: boolean;
845
- isLoading: swr__internal.IsLoadingResponse<Data, Config>;
846
- };
675
+ }): _berachain_utils_pkg_swr.BeraSwrResponse<{
676
+ timestamp: number;
677
+ mintVolume: _berachain_graphql_beep.components["schemas"]["DecimalStr"];
678
+ redeemVolume: _berachain_graphql_beep.components["schemas"]["DecimalStr"];
679
+ totalVolume: _berachain_graphql_beep.components["schemas"]["DecimalStr"];
680
+ totalSupply: _berachain_graphql_beep.components["schemas"]["DecimalStr"];
681
+ }[], any>;
847
682
 
848
683
  declare const useHoneyVaultsBalance: (options?: DefaultHookOptions) => DefaultHookReturnType<GetHoneyVaultsBalanceResponse[]>;
849
684
 
@@ -861,7 +696,7 @@ declare function useIsBasketModeEnabled({ state }: {
861
696
  * Hook to fetch the latest Pyth price updates for specified pair addresses
862
697
  * @param {Object} params - The parameters object
863
698
  * @param {Address[] | undefined} params.pairMainAddress - Array of pair addresses to fetch price updates for
864
- * @returns {SWRResponse<PythLatestUpdates>} SWR response containing the latest Pyth price updates
699
+ * @returns {BeraSwrResponse<PythLatestUpdates>} SWR response containing the latest Pyth price updates
865
700
  * @example
866
701
  * ```ts
867
702
  * const { data, error } = usePythLatestPrices({
@@ -871,7 +706,7 @@ declare function useIsBasketModeEnabled({ state }: {
871
706
  */
872
707
  declare function usePythLatestPrices({ priceFeedMap, }: {
873
708
  priceFeedMap: PythPriceFeedMap | undefined;
874
- }, options?: DefaultHookOptions): SWRResponse<PythLatestUpdates>;
709
+ }, options?: DefaultHookOptions): BeraSwrResponse<PythLatestUpdates>;
875
710
 
876
711
  declare const usePythUpdateFee: ({ pythPriceFeedCalldata, tokenListLength, }: {
877
712
  pythPriceFeedCalldata: Address[] | undefined;
@@ -898,16 +733,16 @@ declare function useBgtAprSimulation(args: GetBgtAprSimulationArgs | undefined):
898
733
  */
899
734
  | undefined;
900
735
 
736
+ /**
737
+ * Client hook around `getBgtIncentiveDistributorPaused`. When `paused()` is
738
+ * true, users can no longer self-claim incentives and the bot distributes them
739
+ * on their behalf. Fails closed (`false`) so a read error never blocks the UI.
740
+ */
741
+ declare function useBgtIncentiveDistributorPaused(options?: DefaultHookOptions): DefaultHookReturnType<boolean>;
742
+
901
743
  declare const useBgtUnstakedBalance: (options?: DefaultHookOptions) => DefaultHookReturnType<string | undefined>;
902
744
 
903
- declare const useClaimableFees: () => {
904
- refresh: () => Promise<string | undefined>;
905
- data: string | undefined;
906
- error: any;
907
- mutate: swr.KeyedMutator<string>;
908
- isValidating: boolean;
909
- isLoading: swr__internal.IsLoadingResponse<Data, Config>;
910
- };
745
+ declare const useClaimableFees: () => _berachain_utils_pkg_swr.BeraSwrResponse<string, any>;
911
746
 
912
747
  /**
913
748
  * Hook that fetches and returns the highest APR (Annual Percentage Rate) from reward vaults.
@@ -916,8 +751,7 @@ declare const useClaimableFees: () => {
916
751
  *
917
752
  * @returns {Object} An object containing:
918
753
  * - highestApr: The highest APR value from the reward vaults
919
- * - refresh: Function to manually refresh the data
920
- * - ...swrResponse: All properties from the underlying SWR response
754
+ * - isLoading: Loading state
921
755
  *
922
756
  * @example
923
757
  * const { highestApr } = useHighestVaultsAPR({
@@ -929,7 +763,6 @@ declare const useHighestVaultsAPR: (where?: GqlRewardVaultFilter, { isEnabled }?
929
763
  }) => {
930
764
  highestApr: GqlRewardVaultDynamicData["apr"] | undefined;
931
765
  isLoading: boolean;
932
- refresh: () => void;
933
766
  };
934
767
 
935
768
  declare const usePollGlobalData: (options?: DefaultHookOptions) => DefaultHookReturnType<GlobalData>;
@@ -943,54 +776,11 @@ declare function useQueuedBeraUnlock({ receiptTokenAddresses, account, version,
943
776
  receiptTokenAddresses: Address[];
944
777
  account?: Address | string;
945
778
  version: "V1" | "V2";
946
- }, options?: DefaultHookOptions): {
947
- refresh: () => Promise<StakedBeraWithdrawal[] | undefined>;
948
- data: StakedBeraWithdrawal[] | undefined;
949
- error: any;
950
- mutate: swr.KeyedMutator<StakedBeraWithdrawal[]>;
951
- isValidating: boolean;
952
- isLoading: swr__internal.IsLoadingResponse<Data, Config>;
953
- };
779
+ }, options?: DefaultHookOptions): _berachain_utils_pkg_swr.BeraSwrResponse<StakedBeraWithdrawal[], any>;
954
780
 
955
781
  declare const useRewardTokenToBeraRate: ({ address, }: {
956
782
  address: Address | undefined;
957
- }, opt?: DefaultHookOptions) => swr.SWRResponse<number, any, {
958
- errorRetryInterval?: number | undefined;
959
- errorRetryCount?: number;
960
- loadingTimeout?: number | undefined;
961
- focusThrottleInterval?: number | undefined;
962
- dedupingInterval?: number | undefined;
963
- refreshInterval?: number | ((latestData: any) => number) | undefined;
964
- refreshWhenHidden?: boolean;
965
- refreshWhenOffline?: boolean;
966
- revalidateOnFocus?: boolean | undefined;
967
- revalidateOnReconnect?: boolean | undefined;
968
- revalidateOnMount?: boolean;
969
- revalidateIfStale?: boolean | undefined;
970
- shouldRetryOnError?: boolean | ((err: any) => boolean) | undefined;
971
- keepPreviousData?: boolean;
972
- suspense?: boolean;
973
- fallbackData?: any;
974
- strictServerPrefetchWarning?: boolean;
975
- fetcher?: swr.BareFetcher<any> | undefined;
976
- use?: swr.Middleware[];
977
- fallback?: {
978
- [key: string]: any;
979
- } | undefined;
980
- isPaused?: (() => boolean) | undefined;
981
- onLoadingSlow?: ((key: string, config: Readonly<swr__internal.PublicConfiguration<any, any, swr.BareFetcher<any>>>) => void) | undefined;
982
- onSuccess?: ((data: any, key: string, config: Readonly<swr__internal.PublicConfiguration<any, any, swr.BareFetcher<any>>>) => void) | undefined;
983
- onError?: ((err: any, key: string, config: Readonly<swr__internal.PublicConfiguration<any, any, swr.BareFetcher<any>>>) => void) | undefined;
984
- onErrorRetry?: ((err: any, key: string, config: Readonly<swr__internal.PublicConfiguration<any, any, swr.BareFetcher<any>>>, revalidate: swr.Revalidator, revalidateOpts: Required<swr.RevalidatorOptions>) => void) | undefined;
985
- onDiscarded?: ((key: string) => void) | undefined;
986
- compare?: ((a: any, b: any) => boolean) | undefined;
987
- isOnline?: (() => boolean) | undefined;
988
- isVisible?: (() => boolean) | undefined;
989
- initFocus?: ((callback: () => void) => (() => void) | void) | undefined;
990
- initReconnect?: ((callback: () => void) => (() => void) | void) | undefined;
991
- provider?: (cache: Readonly<swr.Cache>) => swr.Cache;
992
- isEnabled?: boolean;
993
- }>;
783
+ }, opt?: DefaultHookOptions) => _berachain_utils_pkg_swr.BeraSwrResponse<number, any>;
994
784
 
995
785
  interface UseRewardVaultResponse extends DefaultHookReturnType<ApiVaultFragment> {
996
786
  }
@@ -1008,10 +798,6 @@ declare const useRewardVaultBalanceFromStakingToken: ({ stakingToken, rewardVaul
1008
798
  balance: bigint;
1009
799
  } | undefined;
1010
800
  error: any;
1011
- mutate: swr.KeyedMutator<{
1012
- address: `0x${string}`;
1013
- balance: bigint;
1014
- }>;
1015
801
  isValidating: boolean;
1016
802
  };
1017
803
 
@@ -1019,35 +805,14 @@ declare const useRewardVaultFromToken: ({ tokenAddress, }: {
1019
805
  tokenAddress: Address | string | undefined;
1020
806
  }, { isEnabled, }?: {
1021
807
  isEnabled?: boolean;
1022
- }) => {
1023
- refresh: () => Promise<`0x${string}` | undefined>;
1024
- data: `0x${string}` | undefined;
1025
- error: any;
1026
- mutate: swr.KeyedMutator<`0x${string}` | undefined>;
1027
- isValidating: boolean;
1028
- isLoading: swr__internal.IsLoadingResponse<Data, Config>;
1029
- };
808
+ }) => _berachain_utils_pkg_swr.BeraSwrResponse<`0x${string}` | undefined, any>;
1030
809
 
1031
810
  declare function useRewardVaultIncentives({ address, stakingToken, }: {
1032
811
  address: Address | undefined;
1033
812
  stakingToken: Address | undefined;
1034
- }): {
1035
- refresh: () => Promise<RewardVaultIncentive[] | undefined>;
1036
- data: RewardVaultIncentive[] | undefined;
1037
- error: any;
1038
- mutate: swr.KeyedMutator<RewardVaultIncentive[]>;
1039
- isValidating: boolean;
1040
- isLoading: swr__internal.IsLoadingResponse<Data, Config>;
1041
- };
813
+ }): _berachain_utils_pkg_swr.BeraSwrResponse<RewardVaultIncentive[], any>;
1042
814
 
1043
- declare const useRewardVaultRewards: (address: Address, options?: DefaultHookOptions) => {
1044
- refresh: () => Promise<GetRewardVaultRewardsReturn | undefined>;
1045
- data: GetRewardVaultRewardsReturn | undefined;
1046
- error: any;
1047
- mutate: swr.KeyedMutator<GetRewardVaultRewardsReturn>;
1048
- isValidating: boolean;
1049
- isLoading: swr__internal.IsLoadingResponse<Data, Config>;
1050
- };
815
+ declare const useRewardVaultRewards: (address: Address, options?: DefaultHookOptions) => _berachain_utils_pkg_swr.BeraSwrResponse<GetRewardVaultRewardsReturn, any>;
1051
816
 
1052
817
  declare const useRewardVaultsQueryKey: (filter?: GetVaultsQueryVariables, onChainIncentives?: boolean) => readonly ["useRewardVaults", _berachain_graphql_pol_api.Exact<{
1053
818
  where?: _berachain_graphql_pol_api.InputMaybe<_berachain_graphql_pol_api.GqlRewardVaultFilter>;
@@ -1060,14 +825,7 @@ declare const useRewardVaultsQueryKey: (filter?: GetVaultsQueryVariables, onChai
1060
825
  declare const useRewardVaults: (args: {
1061
826
  filter?: GetVaultsQueryVariables;
1062
827
  onChainIncentives?: boolean;
1063
- }, options?: DefaultHookOptions) => {
1064
- refresh: swr.KeyedMutator<GetGaugeData>;
1065
- data: GetGaugeData | undefined;
1066
- error: any;
1067
- mutate: swr.KeyedMutator<GetGaugeData>;
1068
- isValidating: boolean;
1069
- isLoading: swr__internal.IsLoadingResponse<Data, Config>;
1070
- };
828
+ }, options?: DefaultHookOptions) => _berachain_utils_pkg_swr.BeraSwrResponse<GetRewardVaultData, any>;
1071
829
 
1072
830
  type UseStakedAPR = {
1073
831
  timestamp: number;
@@ -1099,9 +857,24 @@ declare const useStakedData: (stakingConfigs: StakingConfig[]) => {
1099
857
  isLoadingBalances: boolean;
1100
858
  isLoadingPositions: boolean;
1101
859
  isValidatingPositions: boolean;
860
+ /**
861
+ * Hard error: the RPC fast-path could not produce staked balances (wallet
862
+ * balances or exchange-rate reads failed). Price and earnings backend
863
+ * failures are intentionally excluded — those degrade gracefully (USD/APR
864
+ * render as "—", earnings stop loading) so RPC-derived amounts still show.
865
+ */
866
+ error: any;
867
+ /** Set when the earnings (slow path) request failed. */
868
+ positionsError: any;
869
+ /**
870
+ * True once the earnings (slow path) request has settled — resolved or
871
+ * errored. Consumers should stop showing an earnings loading state once
872
+ * this is true, even if `data` never arrives (backend outage).
873
+ */
874
+ earningsSettled: boolean;
1102
875
  };
1103
876
 
1104
- type UseStakedBeraSnapshot = Record<Address, VaultStatsByDayResponse>;
877
+ type UseStakedBeraSnapshot = Record<Address, StakeStatsByDayResponse>;
1105
878
  declare function useStakedSnapshots({ range, addresses, }: {
1106
879
  addresses: Address[];
1107
880
  range: 30 | 60 | 90;
@@ -1111,9 +884,7 @@ type StakingVaultEntry = {
1111
884
  address: Address;
1112
885
  underlyingAsset: Address;
1113
886
  };
1114
- declare const useStakingVaultsMetadata: (vaults?: StakingVaultEntry[]) => swr.SWRResponse<VaultMetadata[], any, {
1115
- refreshInterval: POLLING;
1116
- }>;
887
+ declare const useStakingVaultsMetadata: (vaults?: StakingVaultEntry[]) => _berachain_utils_pkg_swr.BeraSwrResponse<VaultMetadata[], any>;
1117
888
 
1118
889
  declare function useTotalStakedAmount({ vaultAddresses, }: {
1119
890
  vaultAddresses: Address$1[];
@@ -1129,10 +900,10 @@ interface RewardVault {
1129
900
  stakeToken: Address;
1130
901
  address: Address;
1131
902
  }
1132
- declare const useVaultAddress: (vaultAddress: Address) => swr.SWRResponse<{
903
+ declare const useVaultAddress: (vaultAddress: Address) => _berachain_utils_pkg_swr.BeraSwrResponse<{
1133
904
  stakeToken: `0x${string}`;
1134
905
  address: `0x${string}`;
1135
- }, any, any>;
906
+ }, any>;
1136
907
 
1137
908
  declare const useVaultHistory: ({ vault, range, resolution, }: GetVaultHistoryArgs) => DefaultHookReturnType<GetVaultHistoryQuery["polGetRewardVaultSnapshots"]>;
1138
909
 
@@ -1147,9 +918,9 @@ declare const useVaultValidators: (id: Address, options?: DefaultHookOptions) =>
1147
918
  declare function useBeraCurrentPrice(opts?: DefaultHookOptions): {
1148
919
  data: TokenPriceInfo | undefined;
1149
920
  error: any;
1150
- mutate: swr.KeyedMutator<TokenCurrentPriceMap>;
1151
921
  isValidating: boolean;
1152
922
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
923
+ refresh: () => void;
1153
924
  };
1154
925
 
1155
926
  type UseMultipleTokenInformationResponse = DefaultHookReturnType<Token[]>;
@@ -1208,9 +979,9 @@ declare function useTokenCurrentPrice({ address }: {
1208
979
  }, options?: DefaultHookOptions): {
1209
980
  data: TokenPriceInfo | undefined;
1210
981
  error: any;
1211
- mutate: swr.KeyedMutator<TokenCurrentPriceMap>;
1212
982
  isValidating: boolean;
1213
983
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
984
+ refresh: () => void;
1214
985
  };
1215
986
 
1216
987
  /**
@@ -1223,9 +994,9 @@ declare function useTokenCurrentPrices({ addressIn, }?: {
1223
994
  [x: string]: TokenPriceInfo | undefined;
1224
995
  };
1225
996
  error: any;
1226
- mutate: swr.KeyedMutator<TokenCurrentPriceMap>;
1227
997
  isValidating: boolean;
1228
998
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
999
+ refresh: () => void;
1229
1000
  };
1230
1001
 
1231
1002
  type UseTokenInformationResponse = DefaultHookReturnType<Token | undefined>;
@@ -1244,6 +1015,7 @@ declare function useTokenPrices({ tokens, }?: {
1244
1015
  tokens?: TokenPriceInput[];
1245
1016
  }, options?: DefaultHookOptions): {
1246
1017
  isLoading: boolean;
1018
+ error: any;
1247
1019
  data: TokenPriceOutput[];
1248
1020
  priceMap: TokenPriceMap;
1249
1021
  getTokenPrice: (token?: TokenPriceInput) => number | undefined;
@@ -1254,6 +1026,7 @@ declare function useTokenPrice({ token }: {
1254
1026
  }, options?: DefaultHookOptions): {
1255
1027
  data: number | undefined;
1256
1028
  isLoading: boolean;
1029
+ error: any;
1257
1030
  };
1258
1031
 
1259
1032
  declare function useTokens(): {
@@ -1276,7 +1049,7 @@ declare function useTokens(): {
1276
1049
 
1277
1050
  declare function useTotalSupply({ address }: {
1278
1051
  address: Address | undefined;
1279
- }): swr.SWRResponse<bigint, any, any>;
1052
+ }): _berachain_utils_pkg_swr.BeraSwrResponse<bigint, any>;
1280
1053
 
1281
1054
  /**
1282
1055
  *
@@ -1293,7 +1066,7 @@ declare function useBeraContractWrite({ onlyPermissionless, onSuccess, onError,
1293
1066
  onlyPermissionless?: boolean;
1294
1067
  }): UseContractWriteApi;
1295
1068
 
1296
- declare const useGetVerifiedAbi: (address?: string) => swr.SWRResponse<string, any, swr.SWRConfiguration<string, any, ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<string>) | ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<string>)> | undefined>;
1069
+ declare const useGetVerifiedAbi: (address?: string) => _berachain_utils_pkg_swr.BeraSwrResponse<string, any>;
1297
1070
 
1298
1071
  type UseHistoryStateOptions<T> = {
1299
1072
  key: string;
@@ -1332,28 +1105,21 @@ declare const useAllValidators: (variables: GetValidatorsQueryVariables & BeraJS
1332
1105
 
1333
1106
  declare function useApiEnrichedAllocation({ allocation, }: {
1334
1107
  allocation: ValidatorRewardAllocation | undefined;
1335
- }): swr.SWRResponse<_berachain_graphql_pol_api.ApiRewardAllocationWeightFragment[], any, any>;
1108
+ }): _berachain_utils_pkg_swr.BeraSwrResponse<_berachain_graphql_pol_api.ApiRewardAllocationWeightFragment[], any>;
1336
1109
 
1337
1110
  interface UsePollValidatorInfoResponse extends DefaultHookReturnType<GetValidatorQuery> {
1338
1111
  }
1339
1112
  declare const useApiValidatorQueryKey: (id: Address) => readonly ["useApiValidator", `0x${string}`] | null;
1340
1113
  declare const useApiValidator: (id: Address, options?: DefaultHookOptions) => UsePollValidatorInfoResponse;
1341
1114
 
1342
- declare function useBaselineRewardAllocation(): swr.SWRResponse<ValidatorRewardAllocation, any, any>;
1115
+ declare function useBaselineRewardAllocation(): _berachain_utils_pkg_swr.BeraSwrResponse<ValidatorRewardAllocation, any>;
1343
1116
 
1344
1117
  declare const useDailyValidatorBlockStats: ({ pubKey, first, }: {
1345
1118
  pubKey: Address | undefined;
1346
1119
  first?: number;
1347
1120
  }) => DefaultHookReturnType<GetValidatorBlockStatsQuery>;
1348
1121
 
1349
- declare function useDefaultRewardAllocation(options?: DefaultHookOptions): {
1350
- refresh: () => Promise<ValidatorRewardAllocation | undefined>;
1351
- data: ValidatorRewardAllocation | undefined;
1352
- error: any;
1353
- mutate: swr.KeyedMutator<ValidatorRewardAllocation | undefined>;
1354
- isValidating: boolean;
1355
- isLoading: swr__internal.IsLoadingResponse<Data, Config>;
1356
- };
1122
+ declare function useDefaultRewardAllocation(options?: DefaultHookOptions): _berachain_utils_pkg_swr.BeraSwrResponse<ValidatorRewardAllocation | undefined, any>;
1357
1123
 
1358
1124
  type ManagedValidatorRole = {
1359
1125
  operator: Address | null;
@@ -1417,14 +1183,7 @@ declare const useUserClaimableIncentives: () => UseUserClaimableIncentivesReturn
1417
1183
  declare const useUserStakingPositions: ({ account, validatorAddress, }: {
1418
1184
  account: Address | undefined;
1419
1185
  validatorAddress?: Address;
1420
- }) => {
1421
- refresh: () => void;
1422
- data: UserStakingPoolPosition[] | undefined;
1423
- error: any;
1424
- mutate: swr.KeyedMutator<UserStakingPoolPosition[]>;
1425
- isValidating: boolean;
1426
- isLoading: swr__internal.IsLoadingResponse<Data, Config>;
1427
- };
1186
+ }) => _berachain_utils_pkg_swr.BeraSwrResponse<UserStakingPoolPosition[], any>;
1428
1187
 
1429
1188
  declare function useValidator({ pubkey }: {
1430
1189
  pubkey: Address;
@@ -1556,7 +1315,7 @@ declare const useValidatorEstimatedBgtPerYear: (validator: ApiValidatorMinimalFr
1556
1315
  declare function useValidatorIncentiveDistribution({ pubkey, dayRange, }: {
1557
1316
  pubkey: Address | undefined;
1558
1317
  dayRange: number;
1559
- }): DefaultHookReturnType<GetValidatorIncentiveDistributionQuery>;
1318
+ }): DefaultHookReturnType<ValidatorIncentivesResponse>;
1560
1319
 
1561
1320
  declare function useValidatorQueuedCommission(pubKey: Address, options?: DefaultHookOptions): DefaultHookReturnType<ValidatorQueuedCommission | undefined | null>;
1562
1321
 
@@ -1564,28 +1323,11 @@ declare const useValidatorQueuedOperatorAddress: (pubKey: Address, options?: Def
1564
1323
 
1565
1324
  declare const useValidatorQueuedRewardAllocation: (pubKey: Address, options?: DefaultHookOptions) => DefaultHookReturnType<ValidatorRewardAllocation | undefined>;
1566
1325
 
1567
- declare function useValidatorRewardAllocation(pubKey: Address, options?: DefaultHookOptions): {
1568
- refresh: () => Promise<{
1569
- activeRewardAllocation: ValidatorRewardAllocation;
1570
- setRewardAllocation: ValidatorRewardAllocation;
1571
- isBaseline: boolean;
1572
- isNeverSet: boolean;
1573
- } | undefined>;
1574
- data: {
1575
- activeRewardAllocation: ValidatorRewardAllocation;
1576
- setRewardAllocation: ValidatorRewardAllocation;
1577
- isBaseline: boolean;
1578
- isNeverSet: boolean;
1579
- } | undefined;
1580
- error: any;
1581
- mutate: swr.KeyedMutator<{
1582
- activeRewardAllocation: ValidatorRewardAllocation;
1583
- setRewardAllocation: ValidatorRewardAllocation;
1584
- isBaseline: boolean;
1585
- isNeverSet: boolean;
1586
- }>;
1587
- isValidating: boolean;
1588
- isLoading: swr__internal.IsLoadingResponse<Data, Config>;
1589
- };
1326
+ declare function useValidatorRewardAllocation(pubKey: Address, options?: DefaultHookOptions): _berachain_utils_pkg_swr.BeraSwrResponse<{
1327
+ activeRewardAllocation: ValidatorRewardAllocation;
1328
+ setRewardAllocation: ValidatorRewardAllocation;
1329
+ isBaseline: boolean;
1330
+ isNeverSet: boolean;
1331
+ }, any>;
1590
1332
 
1591
- export { IHoneySwapState, IUseContractWriteArgs, type LiquidityMismatchInfo, type ManagedValidatorRole, type OnChainPoolFragment, type Oracle, OracleMode, type RewardVault, type StakingVaultEntry, type TokenPriceInput, type TokenPriceMap, type TokenPriceOutput, USE_AGGREGATORS_QUOTES_QUERY_KEY, type UseBendDemultiply, type UseBendMultiply, type UseCappedGloballyResponse, type UseCappedRelativelyResponse, type UseCollateralWeightsResponse, UseContractWriteApi, type UseIsBadCollateralResponse, type UseMultipleTokenInformationResponse, type UsePollAllowancesArgs, type UsePollAllowancesResponse, type UsePollBalancesResponse, type UsePollMarketsResponse, type UsePollValidatorInfoResponse, type UsePollWalletBalancesArgs, type UseRewardVaultResponse, type UseStakingTokenInformationResponse, type UseTokenInformationArgs, type UseTokenInformationResponse, useAggregatorsQuotes, useAggregatorsRouterFeeBps, useAllUserPools, useAllUserPoolsQueryKey, useAllValidators, useAllValidatorsQueryKey, useApiEnrichedAllocation, useApiPool, useApiPoolQueryKey, useApiValidator, useApiValidatorQueryKey, useAutoclaimedIncentives, useAutoclaimedIncentivesTxHash, useBaselineRewardAllocation, useBendDemultiply, useBendMultiply, useBendZapSupply, useBendZapSupplyHelper, useBeraContractWrite, useBeraCurrentPrice, useBgtAprSimulation, useBgtUnstakedBalance, useBlockToTimestamp, useCappedGlobally, useCappedRelatively, useClaimableFees, useCollateralWeights, useCreatePool, useDailyValidatorBlockStats, useDefaultRewardAllocation, useEnsoSwapBundle, useEnsoUserTokensWithBalances, useGetConvertToAssets, useGetVerifiedAbi, useGlobalLiquidityAndSwapVolume, useHighestVaultsAPR, useHistoryState, useHoney24hVolume, useHoneyAlerts, useHoneyBalances, useHoneyChartData, useHoneyVaultsBalance, useIsBadCollateralAsset, useIsBasketModeEnabled, useLiquidityMismatch, useLpPosition, useManagedValidatorRole, useMultipleTokenApprovalsWithSlippage, useMultipleTokenInformation, type useMultipleTokenInformationArgs, useOnChainPoolData, useOnChainPoolDataQueryKey, useOnChainValidator, usePollAllowances, usePollBalance, usePollGlobalData, usePollMarkets, usePollMarketsQueryKey, usePollPoolCreationRelayerApproval, usePollWalletBalances, usePool, usePoolEvents, usePoolHistoricalData, usePools, usePoolsQueryKey, usePrevious, usePriceImpact, usePythLatestPrices, usePythUpdateFee, useQueuedBeraUnlock, useRewardTokenToBeraRate, useRewardVault, useRewardVaultBalanceFromStakingToken, useRewardVaultFromToken, useRewardVaultIncentives, useRewardVaultQueryKey, useRewardVaultRewards, useRewardVaults, useRewardVaultsQueryKey, useSingleAggregatorQuote, useStakedAPR, useStakedData, useStakedSnapshots, useStakingPoolBatch, useStakingTokenInformation, type useStakingTokenInformationArgs, useStakingVaultsMetadata, useTokenCurrentPrice, useTokenCurrentPrices, useTokenInformation, useTokenPrice, useTokenPrices, useTokens, useTotalStakedAmount, useTotalSupply, useUserActiveValidators, useUserBoostsOnValidator, useUserClaimableIncentives, useUserStakingPositions, useUserVaultInfo, useUserVaults, useValidator, useValidatorAnalytics, useValidatorCommission, useValidatorEstimatedBgtPerYear, useValidatorIncentiveDistribution, useValidatorQueuedCommission, useValidatorQueuedOperatorAddress, useValidatorQueuedRewardAllocation, useValidatorRewardAllocation, useVaultAddress, useVaultHistory, useVaultValidators, useZapStakeBera };
1333
+ export { IHoneySwapState, IUseContractWriteArgs, type LiquidityMismatchInfo, type ManagedValidatorRole, type OnChainPoolFragment, type Oracle, OracleMode, type RewardVault, type StakingVaultEntry, type TokenPriceInput, type TokenPriceMap, type TokenPriceOutput, USE_AGGREGATORS_QUOTES_QUERY_KEY, type UseBendDemultiply, type UseBendMultiply, type UseCappedGloballyResponse, type UseCappedRelativelyResponse, type UseCollateralWeightsResponse, UseContractWriteApi, type UseIsBadCollateralResponse, type UseMultipleTokenInformationResponse, type UsePollAllowancesArgs, type UsePollAllowancesResponse, type UsePollBalancesResponse, type UsePollMarketsResponse, type UsePollValidatorInfoResponse, type UsePollWalletBalancesArgs, type UseRewardVaultResponse, type UseStakingTokenInformationResponse, type UseTokenInformationArgs, type UseTokenInformationResponse, useAggregatorsQuotes, useAggregatorsRouterFeeBps, useAllUserPools, useAllUserPoolsQueryKey, useAllValidators, useAllValidatorsQueryKey, useApiEnrichedAllocation, useApiPool, useApiPoolQueryKey, useApiValidator, useApiValidatorQueryKey, useAutoclaimedIncentives, useAutoclaimedIncentivesTxHash, useBaselineRewardAllocation, useBendDemultiply, useBendMultiply, useBendZapSupply, useBendZapSupplyHelper, useBeraContractWrite, useBeraCurrentPrice, useBgtAprSimulation, useBgtIncentiveDistributorPaused, useBgtUnstakedBalance, useBlockToTimestamp, useCappedGlobally, useCappedRelatively, useClaimableFees, useCollateralWeights, useCreatePool, useDailyValidatorBlockStats, useDefaultRewardAllocation, useEnsoSwapBundle, useEnsoUserTokensWithBalances, useGetConvertToAssets, useGetVerifiedAbi, useGlobalLiquidityAndSwapVolume, useHighestVaultsAPR, useHistoryState, useHoney24hVolume, useHoneyAlerts, useHoneyBalances, useHoneyChartData, useHoneyVaultsBalance, useIsBadCollateralAsset, useIsBasketModeEnabled, useLiquidityMismatch, useLpPosition, useManagedValidatorRole, useMultipleTokenApprovalsWithSlippage, useMultipleTokenInformation, type useMultipleTokenInformationArgs, useOnChainPoolData, useOnChainPoolDataQueryKey, useOnChainValidator, usePollAllowances, usePollBalance, usePollGlobalData, usePollMarkets, usePollMarketsQueryKey, usePollPoolCreationRelayerApproval, usePollWalletBalances, usePool, usePoolEvents, usePoolHistoricalData, usePools, usePoolsQueryKey, usePrevious, usePriceImpact, usePythLatestPrices, usePythUpdateFee, useQueuedBeraUnlock, useRewardTokenToBeraRate, useRewardVault, useRewardVaultBalanceFromStakingToken, useRewardVaultFromToken, useRewardVaultIncentives, useRewardVaultQueryKey, useRewardVaultRewards, useRewardVaults, useRewardVaultsQueryKey, useSingleAggregatorQuote, useStakedAPR, useStakedData, useStakedSnapshots, useStakingPoolBatch, useStakingTokenInformation, type useStakingTokenInformationArgs, useStakingVaultsMetadata, useTokenCurrentPrice, useTokenCurrentPrices, useTokenInformation, useTokenPrice, useTokenPrices, useTokens, useTotalStakedAmount, useTotalSupply, useUserActiveValidators, useUserBoostsOnValidator, useUserClaimableIncentives, useUserStakingPositions, useUserVaultInfo, useUserVaults, useValidator, useValidatorAnalytics, useValidatorCommission, useValidatorEstimatedBgtPerYear, useValidatorIncentiveDistribution, useValidatorQueuedCommission, useValidatorQueuedOperatorAddress, useValidatorQueuedRewardAllocation, useValidatorRewardAllocation, useVaultAddress, useVaultHistory, useVaultValidators, useZapStakeBera };