@berachain/berajs 0.2.12 → 0.2.13

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 (1035) hide show
  1. package/dist/{RequestError-DBOIV65x.d.ts → RequestError-DkUbo3ro.d.ts} +1 -0
  2. package/dist/abi/bend/bundler.d.ts +100 -0
  3. package/dist/abi/bend/bundler.d.ts.map +1 -0
  4. package/dist/abi/bend/generalAdapter.d.ts +651 -0
  5. package/dist/abi/bend/generalAdapter.d.ts.map +1 -0
  6. package/dist/abi/bend/morphoVault.d.ts +1991 -0
  7. package/dist/abi/bend/morphoVault.d.ts.map +1 -0
  8. package/dist/abi/bend/publicAllocator.d.ts +448 -0
  9. package/dist/abi/bend/publicAllocator.d.ts.map +1 -0
  10. package/dist/abi/enso/ensoRouterAbi.d.ts +215 -0
  11. package/dist/abi/enso/ensoRouterAbi.d.ts.map +1 -0
  12. package/dist/abi/enso/ensoWalletV2Factory.d.ts +16 -0
  13. package/dist/abi/enso/ensoWalletV2Factory.d.ts.map +1 -0
  14. package/dist/abi/exports.d.ts +13 -6574
  15. package/dist/abi/exports.d.ts.map +1 -0
  16. package/dist/abi/exports.mjs +4 -3
  17. package/dist/abi/exports.mjs.map +1 -0
  18. package/dist/abi/pyth/pyth.d.ts +434 -0
  19. package/dist/abi/pyth/pyth.d.ts.map +1 -0
  20. package/dist/abi/pyth/pythErrors.d.ts +58 -0
  21. package/dist/abi/pyth/pythErrors.d.ts.map +1 -0
  22. package/dist/abi/utils/EIP7702StatelessDelegator.d.ts +799 -0
  23. package/dist/abi/utils/EIP7702StatelessDelegator.d.ts.map +1 -0
  24. package/dist/abi/utils/bundler3errors.d.ts +18 -0
  25. package/dist/abi/utils/bundler3errors.d.ts.map +1 -0
  26. package/dist/abi/utils/commonAbiErrors.d.ts +302 -0
  27. package/dist/abi/utils/commonAbiErrors.d.ts.map +1 -0
  28. package/dist/abi/utils/erc20errors.d.ts +167 -0
  29. package/dist/abi/utils/erc20errors.d.ts.map +1 -0
  30. package/dist/abi/utils/merkleDistributor.d.ts +655 -0
  31. package/dist/abi/utils/merkleDistributor.d.ts.map +1 -0
  32. package/dist/abi/utils/multicall3.d.ts +337 -0
  33. package/dist/abi/utils/multicall3.d.ts.map +1 -0
  34. package/dist/abi/utils/openChainErrors.d.ts +126 -0
  35. package/dist/abi/utils/openChainErrors.d.ts.map +1 -0
  36. package/dist/abi/utils/thirdwebMinimalAccount.d.ts +869 -0
  37. package/dist/abi/utils/thirdwebMinimalAccount.d.ts.map +1 -0
  38. package/dist/abi/utils/upgradableBeacon.d.ts +97 -0
  39. package/dist/abi/utils/upgradableBeacon.d.ts.map +1 -0
  40. package/dist/actions/__test/transports.d.ts +18 -0
  41. package/dist/actions/__test/transports.d.ts.map +1 -0
  42. package/dist/actions/bend/getConvertToAssets.d.ts +11 -0
  43. package/dist/actions/bend/getConvertToAssets.d.ts.map +1 -0
  44. package/dist/actions/bend/getMaxDeposit.d.ts +26 -0
  45. package/dist/actions/bend/getMaxDeposit.d.ts.map +1 -0
  46. package/dist/actions/clients/BeraApolloClient.d.ts +28 -0
  47. package/dist/actions/clients/BeraApolloClient.d.ts.map +1 -0
  48. package/dist/actions/clients/exports.d.ts +4 -62
  49. package/dist/actions/clients/exports.d.ts.map +1 -0
  50. package/dist/actions/clients/exports.mjs +11 -10
  51. package/dist/actions/clients/exports.mjs.map +1 -0
  52. package/dist/actions/clients/fetchBeep.d.ts +12 -0
  53. package/dist/actions/clients/fetchBeep.d.ts.map +1 -0
  54. package/dist/actions/clients/fetchOpenApi.d.ts +48 -0
  55. package/dist/actions/clients/fetchOpenApi.d.ts.map +1 -0
  56. package/dist/actions/clients/fetchOpenApi.unit.test.d.ts +2 -0
  57. package/dist/actions/clients/fetchOpenApi.unit.test.d.ts.map +1 -0
  58. package/dist/actions/clients/getApolloClient.d.ts +11 -0
  59. package/dist/actions/clients/getApolloClient.d.ts.map +1 -0
  60. package/dist/actions/clients/getEnsoClient.d.ts +11 -0
  61. package/dist/actions/clients/getEnsoClient.d.ts.map +1 -0
  62. package/dist/actions/dex/__tests__/aggregators.unit.test.d.ts +2 -0
  63. package/dist/actions/dex/__tests__/aggregators.unit.test.d.ts.map +1 -0
  64. package/dist/actions/dex/__tests__/allPools.integration.test.d.ts +2 -0
  65. package/dist/actions/dex/__tests__/allPools.integration.test.d.ts.map +1 -0
  66. package/dist/actions/dex/__tests__/getOnChainPool.unit.test.d.ts +2 -0
  67. package/dist/actions/dex/__tests__/getOnChainPool.unit.test.d.ts.map +1 -0
  68. package/dist/actions/dex/aggregators/base.d.ts +89 -0
  69. package/dist/actions/dex/aggregators/base.d.ts.map +1 -0
  70. package/dist/actions/dex/aggregators/bex.d.ts +26 -0
  71. package/dist/actions/dex/aggregators/bex.d.ts.map +1 -0
  72. package/dist/actions/dex/aggregators/bgt.d.ts +17 -0
  73. package/dist/actions/dex/aggregators/bgt.d.ts.map +1 -0
  74. package/dist/actions/dex/aggregators/enso/enso.d.ts +15 -0
  75. package/dist/actions/dex/aggregators/enso/enso.d.ts.map +1 -0
  76. package/dist/actions/dex/aggregators/enso/ensoErc4626.d.ts +14 -0
  77. package/dist/actions/dex/aggregators/enso/ensoErc4626.d.ts.map +1 -0
  78. package/dist/actions/dex/aggregators/enso/ensoErc4626.debug.test.d.ts +2 -0
  79. package/dist/actions/dex/aggregators/enso/ensoErc4626.debug.test.d.ts.map +1 -0
  80. package/dist/actions/dex/aggregators/erc4626.d.ts +32 -0
  81. package/dist/actions/dex/aggregators/erc4626.d.ts.map +1 -0
  82. package/dist/actions/dex/aggregators/fly.d.ts +14 -0
  83. package/dist/actions/dex/aggregators/fly.d.ts.map +1 -0
  84. package/dist/actions/dex/aggregators/haiku.d.ts +14 -0
  85. package/dist/actions/dex/aggregators/haiku.d.ts.map +1 -0
  86. package/dist/actions/dex/aggregators/haiku.integration.test.d.ts +2 -0
  87. package/dist/actions/dex/aggregators/haiku.integration.test.d.ts.map +1 -0
  88. package/dist/actions/dex/aggregators/honey.d.ts +32 -0
  89. package/dist/actions/dex/aggregators/honey.d.ts.map +1 -0
  90. package/dist/actions/dex/aggregators/kyberswap.d.ts +14 -0
  91. package/dist/actions/dex/aggregators/kyberswap.d.ts.map +1 -0
  92. package/dist/actions/dex/aggregators/oogabooga.d.ts +13 -0
  93. package/dist/actions/dex/aggregators/oogabooga.d.ts.map +1 -0
  94. package/dist/actions/dex/aggregators/openOcean.d.ts +15 -0
  95. package/dist/actions/dex/aggregators/openOcean.d.ts.map +1 -0
  96. package/dist/actions/dex/aggregators/wbera.d.ts +17 -0
  97. package/dist/actions/dex/aggregators/wbera.d.ts.map +1 -0
  98. package/dist/actions/dex/b-sdk.d.ts +3 -0
  99. package/dist/actions/dex/bSdk.d.ts +3 -0
  100. package/dist/actions/dex/bSdk.d.ts.map +1 -0
  101. package/dist/actions/dex/getAllPools.d.ts +58 -0
  102. package/dist/actions/dex/getAllPools.d.ts.map +1 -0
  103. package/dist/actions/dex/getApiPool.d.ts +390 -0
  104. package/dist/actions/dex/getApiPool.d.ts.map +1 -0
  105. package/dist/actions/dex/getGlobalLiquidityAndSwapVolume.d.ts +3 -0
  106. package/dist/actions/dex/getGlobalLiquidityAndSwapVolume.d.ts.map +1 -0
  107. package/dist/actions/dex/getOnChainPool.d.ts +42 -0
  108. package/dist/actions/dex/getOnChainPool.d.ts.map +1 -0
  109. package/dist/actions/dex/getPoolEvents.d.ts +7 -0
  110. package/dist/actions/dex/getPoolEvents.d.ts.map +1 -0
  111. package/dist/actions/dex/getPoolHistoricalData.d.ts +15 -0
  112. package/dist/actions/dex/getPoolHistoricalData.d.ts.map +1 -0
  113. package/dist/actions/dex/getPoolPausedState.d.ts +10 -0
  114. package/dist/actions/dex/getPoolPausedState.d.ts.map +1 -0
  115. package/dist/actions/dex/getPoolWithState.d.ts +4 -0
  116. package/dist/actions/dex/getPoolWithState.d.ts.map +1 -0
  117. package/dist/actions/dex/getVaultPausedState.d.ts +5 -0
  118. package/dist/actions/dex/getVaultPausedState.d.ts.map +1 -0
  119. package/dist/actions/enso/__tests__/getBendDemultiplyBundle.action.unit.test.d.ts +2 -0
  120. package/dist/actions/enso/__tests__/getBendDemultiplyBundle.action.unit.test.d.ts.map +1 -0
  121. package/dist/actions/enso/__tests__/getBendDemultiplyBundle.unit.test.d.ts +2 -0
  122. package/dist/actions/enso/__tests__/getBendDemultiplyBundle.unit.test.d.ts.map +1 -0
  123. package/dist/actions/enso/__tests__/getBendMultiplyBundle.action.unit.test.d.ts +2 -0
  124. package/dist/actions/enso/__tests__/getBendMultiplyBundle.action.unit.test.d.ts.map +1 -0
  125. package/dist/actions/enso/__tests__/getBendMultiplyBundle.unit.test.d.ts +2 -0
  126. package/dist/actions/enso/__tests__/getBendMultiplyBundle.unit.test.d.ts.map +1 -0
  127. package/dist/actions/enso/__tests__/getEnsoUserTokensWithBalances.debug.test.d.ts +2 -0
  128. package/dist/actions/enso/__tests__/getEnsoUserTokensWithBalances.debug.test.d.ts.map +1 -0
  129. package/dist/actions/enso/__tests__/helpers.d.ts +24 -0
  130. package/dist/actions/enso/__tests__/helpers.d.ts.map +1 -0
  131. package/dist/actions/enso/__tests__/util.unit.test.d.ts +2 -0
  132. package/dist/actions/enso/__tests__/util.unit.test.d.ts.map +1 -0
  133. package/dist/actions/enso/flashloan.d.ts +41 -0
  134. package/dist/actions/enso/flashloan.d.ts.map +1 -0
  135. package/dist/actions/enso/getBendDemultiplyBundle.d.ts +55 -0
  136. package/dist/actions/enso/getBendDemultiplyBundle.d.ts.map +1 -0
  137. package/dist/actions/enso/getBendMultiplyBundle.d.ts +70 -0
  138. package/dist/actions/enso/getBendMultiplyBundle.d.ts.map +1 -0
  139. package/dist/actions/enso/getEnsoSwapBundle.d.ts +3 -0
  140. package/dist/actions/enso/getEnsoSwapBundle.d.ts.map +1 -0
  141. package/dist/actions/enso/getEnsoUserTokensWithBalances.d.ts +16 -0
  142. package/dist/actions/enso/getEnsoUserTokensWithBalances.d.ts.map +1 -0
  143. package/dist/actions/enso/util.d.ts +40 -0
  144. package/dist/actions/enso/util.d.ts.map +1 -0
  145. package/dist/actions/exports.d.ts +100 -1682
  146. package/dist/actions/exports.d.ts.map +1 -0
  147. package/dist/actions/exports.mjs +45 -26
  148. package/dist/actions/exports.mjs.map +1 -0
  149. package/dist/actions/governance/__tests__/checkProposalField.unit.test.d.ts +2 -0
  150. package/dist/actions/governance/__tests__/checkProposalField.unit.test.d.ts.map +1 -0
  151. package/dist/actions/governance/__tests__/getDecodedFunctionData.integration.test.d.ts +2 -0
  152. package/dist/actions/governance/__tests__/getDecodedFunctionData.integration.test.d.ts.map +1 -0
  153. package/dist/actions/governance/__tests__/getQuorum.integration.test.d.ts +2 -0
  154. package/dist/actions/governance/__tests__/getQuorum.integration.test.d.ts.map +1 -0
  155. package/dist/actions/governance/checkProposalField.d.ts +27 -0
  156. package/dist/actions/governance/checkProposalField.d.ts.map +1 -0
  157. package/dist/actions/governance/computeActualStatus.d.ts +14 -0
  158. package/dist/actions/governance/computeActualStatus.d.ts.map +1 -0
  159. package/dist/actions/governance/constants.d.ts +7 -0
  160. package/dist/actions/governance/constants.d.ts.map +1 -0
  161. package/dist/actions/governance/exports.d.ts +10 -132
  162. package/dist/actions/governance/exports.d.ts.map +1 -0
  163. package/dist/actions/governance/exports.mjs +5 -4
  164. package/dist/actions/governance/exports.mjs.map +1 -0
  165. package/dist/actions/governance/getAllProposals.d.ts +16 -0
  166. package/dist/actions/governance/getAllProposals.d.ts.map +1 -0
  167. package/dist/actions/governance/getBodyErrors.d.ts +10 -0
  168. package/dist/actions/governance/getBodyErrors.d.ts.map +1 -0
  169. package/dist/actions/governance/getDecodedFunctionData.d.ts +30 -0
  170. package/dist/actions/governance/getDecodedFunctionData.d.ts.map +1 -0
  171. package/dist/actions/governance/getProposalDetails.d.ts +10 -0
  172. package/dist/actions/governance/getProposalDetails.d.ts.map +1 -0
  173. package/dist/actions/governance/getProposalFromTx.d.ts +18 -0
  174. package/dist/actions/governance/getProposalFromTx.d.ts.map +1 -0
  175. package/dist/actions/governance/getProposalParams.d.ts +15 -0
  176. package/dist/actions/governance/getProposalParams.d.ts.map +1 -0
  177. package/dist/actions/governance/getProposalVotes.d.ts +10 -0
  178. package/dist/actions/governance/getProposalVotes.d.ts.map +1 -0
  179. package/dist/actions/governance/getQuorum.d.ts +13 -0
  180. package/dist/actions/governance/getQuorum.d.ts.map +1 -0
  181. package/dist/actions/governance/parseProposalBody.d.ts +13 -0
  182. package/dist/actions/governance/parseProposalBody.d.ts.map +1 -0
  183. package/dist/actions/honey/getChartData.d.ts +13 -0
  184. package/dist/actions/honey/getChartData.d.ts.map +1 -0
  185. package/dist/actions/honey/getCollateralWeights.d.ts +19 -0
  186. package/dist/actions/honey/getCollateralWeights.d.ts.map +1 -0
  187. package/dist/actions/honey/getGlobalCapLimit.d.ts +24 -0
  188. package/dist/actions/honey/getGlobalCapLimit.d.ts.map +1 -0
  189. package/dist/actions/honey/getHoney24hVolume.d.ts +9 -0
  190. package/dist/actions/honey/getHoney24hVolume.d.ts.map +1 -0
  191. package/dist/actions/honey/getHoneyCollaterals.d.ts +33 -0
  192. package/dist/actions/honey/getHoneyCollaterals.d.ts.map +1 -0
  193. package/dist/actions/honey/getHoneyFees.d.ts +24 -0
  194. package/dist/actions/honey/getHoneyFees.d.ts.map +1 -0
  195. package/dist/actions/honey/getHoneyPausedState.d.ts +9 -0
  196. package/dist/actions/honey/getHoneyPausedState.d.ts.map +1 -0
  197. package/dist/actions/honey/getHoneyPreview.d.ts +52 -0
  198. package/dist/actions/honey/getHoneyPreview.d.ts.map +1 -0
  199. package/dist/actions/honey/getHoneyPythPriceOracle.d.ts +10 -0
  200. package/dist/actions/honey/getHoneyPythPriceOracle.d.ts.map +1 -0
  201. package/dist/actions/honey/getHoneyRootPriceOracle.d.ts +9 -0
  202. package/dist/actions/honey/getHoneyRootPriceOracle.d.ts.map +1 -0
  203. package/dist/actions/honey/getHoneyTxns.d.ts +21 -0
  204. package/dist/actions/honey/getHoneyTxns.d.ts.map +1 -0
  205. package/dist/actions/honey/getHoneyVaultsBalance.d.ts +13 -0
  206. package/dist/actions/honey/getHoneyVaultsBalance.d.ts.map +1 -0
  207. package/dist/actions/honey/getPythLatestPrices.d.ts +26 -0
  208. package/dist/actions/honey/getPythLatestPrices.d.ts.map +1 -0
  209. package/dist/actions/honey/getRelativeCapLimit.d.ts +23 -0
  210. package/dist/actions/honey/getRelativeCapLimit.d.ts.map +1 -0
  211. package/dist/actions/honey/getSharesWithoutFees.d.ts +25 -0
  212. package/dist/actions/honey/getSharesWithoutFees.d.ts.map +1 -0
  213. package/dist/actions/honey/getSwapPayload.d.ts +24 -0
  214. package/dist/actions/honey/getSwapPayload.d.ts.map +1 -0
  215. package/dist/actions/honey/isBadCollateralAsset.d.ts +24 -0
  216. package/dist/actions/honey/isBadCollateralAsset.d.ts.map +1 -0
  217. package/dist/actions/honey/isBasketModeEnabled.d.ts +11 -0
  218. package/dist/actions/honey/isBasketModeEnabled.d.ts.map +1 -0
  219. package/dist/actions/honey/tests/pyth.integration.test.d.ts +2 -0
  220. package/dist/actions/honey/tests/pyth.integration.test.d.ts.map +1 -0
  221. package/dist/actions/misc/getBlockTimestamp.d.ts +14 -0
  222. package/dist/actions/misc/getBlockTimestamp.d.ts.map +1 -0
  223. package/dist/actions/pol/__tests__/getAllValidators.integration.test.d.ts +2 -0
  224. package/dist/actions/pol/__tests__/getAllValidators.integration.test.d.ts.map +1 -0
  225. package/dist/actions/pol/__tests__/getValidator.integration.test.d.ts +2 -0
  226. package/dist/actions/pol/__tests__/getValidator.integration.test.d.ts.map +1 -0
  227. package/dist/actions/pol/__tests__/rewardVaults.integration.test.d.ts +2 -0
  228. package/dist/actions/pol/__tests__/rewardVaults.integration.test.d.ts.map +1 -0
  229. package/dist/actions/pol/getAutoclaimedIncentives.d.ts +14 -0
  230. package/dist/actions/pol/getAutoclaimedIncentives.d.ts.map +1 -0
  231. package/dist/actions/pol/getAutoclaimedIncentivesTxHash.d.ts +14 -0
  232. package/dist/actions/pol/getAutoclaimedIncentivesTxHash.d.ts.map +1 -0
  233. package/dist/actions/pol/getBGTGlobalInfo.d.ts +10 -0
  234. package/dist/actions/pol/getBGTGlobalInfo.d.ts.map +1 -0
  235. package/dist/actions/pol/getBeraTokenTotalSupply.d.ts +7 -0
  236. package/dist/actions/pol/getBeraTokenTotalSupply.d.ts.map +1 -0
  237. package/dist/actions/pol/getBgtAprSimulation.d.ts +88 -0
  238. package/dist/actions/pol/getBgtAprSimulation.d.ts.map +1 -0
  239. package/dist/actions/pol/getBgtAprSimultaion.unit.test.d.ts +2 -0
  240. package/dist/actions/pol/getBgtAprSimultaion.unit.test.d.ts.map +1 -0
  241. package/dist/actions/pol/getBgtIncentiveDistributorPaused.d.ts +10 -0
  242. package/dist/actions/pol/getBgtIncentiveDistributorPaused.d.ts.map +1 -0
  243. package/dist/actions/pol/getBgtTokenTotalBoosts.d.ts +6 -0
  244. package/dist/actions/pol/getBgtTokenTotalBoosts.d.ts.map +1 -0
  245. package/dist/actions/pol/getBgtTokenTotalSupply.d.ts +6 -0
  246. package/dist/actions/pol/getBgtTokenTotalSupply.d.ts.map +1 -0
  247. package/dist/actions/pol/getBlockTime.d.ts +7 -0
  248. package/dist/actions/pol/getBlockTime.d.ts.map +1 -0
  249. package/dist/actions/pol/getBlockTime.debug.test.d.ts +2 -0
  250. package/dist/actions/pol/getBlockTime.debug.test.d.ts.map +1 -0
  251. package/dist/actions/pol/getEarnedStakedBeraVault.d.ts +42 -0
  252. package/dist/actions/pol/getEarnedStakedBeraVault.d.ts.map +1 -0
  253. package/dist/actions/pol/getGlobalData.d.ts +8 -0
  254. package/dist/actions/pol/getGlobalData.d.ts.map +1 -0
  255. package/dist/actions/pol/getHeroEarnVaults.d.ts +35 -0
  256. package/dist/actions/pol/getHeroEarnVaults.d.ts.map +1 -0
  257. package/dist/actions/pol/getLSTStakeConfig.d.ts +13 -0
  258. package/dist/actions/pol/getLSTStakeConfig.d.ts.map +1 -0
  259. package/dist/actions/pol/getMarkets.d.ts +9 -0
  260. package/dist/actions/pol/getMarkets.d.ts.map +1 -0
  261. package/dist/actions/pol/getRewardProofsByValidator.d.ts +9 -0
  262. package/dist/actions/pol/getRewardProofsByValidator.d.ts.map +1 -0
  263. package/dist/actions/pol/getRewardTokenToBeraRate.d.ts +12 -0
  264. package/dist/actions/pol/getRewardTokenToBeraRate.d.ts.map +1 -0
  265. package/dist/actions/pol/getRewardVault.d.ts +13 -0
  266. package/dist/actions/pol/getRewardVault.d.ts.map +1 -0
  267. package/dist/actions/pol/getRewardVaultBeaconImplementation.d.ts +8 -0
  268. package/dist/actions/pol/getRewardVaultBeaconImplementation.d.ts.map +1 -0
  269. package/dist/actions/pol/getRewardVaultBeaconImplementation.integration.test.d.ts +2 -0
  270. package/dist/actions/pol/getRewardVaultBeaconImplementation.integration.test.d.ts.map +1 -0
  271. package/dist/actions/pol/getRewardVaultDurationConstants.d.ts +12 -0
  272. package/dist/actions/pol/getRewardVaultDurationConstants.d.ts.map +1 -0
  273. package/dist/actions/pol/getRewardVaultDurationConstants.integration.test.d.ts +2 -0
  274. package/dist/actions/pol/getRewardVaultDurationConstants.integration.test.d.ts.map +1 -0
  275. package/dist/actions/pol/getRewardVaultEarnedRewards.d.ts +14 -0
  276. package/dist/actions/pol/getRewardVaultEarnedRewards.d.ts.map +1 -0
  277. package/dist/actions/pol/getRewardVaultFromToken.d.ts +7 -0
  278. package/dist/actions/pol/getRewardVaultFromToken.d.ts.map +1 -0
  279. package/dist/actions/pol/getRewardVaultIncentives.d.ts +23 -0
  280. package/dist/actions/pol/getRewardVaultIncentives.d.ts.map +1 -0
  281. package/dist/actions/pol/getRewardVaultRewards.d.ts +38 -0
  282. package/dist/actions/pol/getRewardVaultRewards.d.ts.map +1 -0
  283. package/dist/actions/pol/getRewardVaultStakingToken.d.ts +6 -0
  284. package/dist/actions/pol/getRewardVaultStakingToken.d.ts.map +1 -0
  285. package/dist/actions/pol/getRewardVaults.d.ts +14 -0
  286. package/dist/actions/pol/getRewardVaults.d.ts.map +1 -0
  287. package/dist/actions/pol/getSWBeraVaultMetadata.d.ts +32 -0
  288. package/dist/actions/pol/getSWBeraVaultMetadata.d.ts.map +1 -0
  289. package/dist/actions/pol/getSWBeraWithdrawal.d.ts +30 -0
  290. package/dist/actions/pol/getSWBeraWithdrawal.d.ts.map +1 -0
  291. package/dist/actions/pol/getStakeWithdrawalCooldown.d.ts +6 -0
  292. package/dist/actions/pol/getStakeWithdrawalCooldown.d.ts.map +1 -0
  293. package/dist/actions/pol/getStakedBeraAPR.d.ts +12 -0
  294. package/dist/actions/pol/getStakedBeraAPR.d.ts.map +1 -0
  295. package/dist/actions/pol/getStakedBeraSnapshots.d.ts +12 -0
  296. package/dist/actions/pol/getStakedBeraSnapshots.d.ts.map +1 -0
  297. package/dist/actions/pol/getStakingDailyAssets.d.ts +10 -0
  298. package/dist/actions/pol/getStakingDailyAssets.d.ts.map +1 -0
  299. package/dist/actions/pol/getStakingTokenInformation.d.ts +9 -0
  300. package/dist/actions/pol/getStakingTokenInformation.d.ts.map +1 -0
  301. package/dist/actions/pol/getTotalStakedAmount.d.ts +13 -0
  302. package/dist/actions/pol/getTotalStakedAmount.d.ts.map +1 -0
  303. package/dist/actions/pol/getUserClaimableIncentives.d.ts +9 -0
  304. package/dist/actions/pol/getUserClaimableIncentives.d.ts.map +1 -0
  305. package/dist/actions/pol/getUserVaultInfo.d.ts +9 -0
  306. package/dist/actions/pol/getUserVaultInfo.d.ts.map +1 -0
  307. package/dist/actions/pol/getUserVaults.d.ts +18 -0
  308. package/dist/actions/pol/getUserVaults.d.ts.map +1 -0
  309. package/dist/actions/pol/getUserVaultsBalance.d.ts +11 -0
  310. package/dist/actions/pol/getUserVaultsBalance.d.ts.map +1 -0
  311. package/dist/actions/pol/getVaultHistory.d.ts +8 -0
  312. package/dist/actions/pol/getVaultHistory.d.ts.map +1 -0
  313. package/dist/actions/pol/getVaultValidators.d.ts +7 -0
  314. package/dist/actions/pol/getVaultValidators.d.ts.map +1 -0
  315. package/dist/actions/pol/getVaultsSupply.d.ts +7 -0
  316. package/dist/actions/pol/getVaultsSupply.d.ts.map +1 -0
  317. package/dist/actions/prices/__tests__/prices.integration.test.d.ts +2 -0
  318. package/dist/actions/prices/__tests__/prices.integration.test.d.ts.map +1 -0
  319. package/dist/actions/prices/getTokenCurrentPrices.d.ts +5 -0
  320. package/dist/actions/prices/getTokenCurrentPrices.d.ts.map +1 -0
  321. package/dist/actions/pyth/getHoneyPythFeeds.d.ts +12 -0
  322. package/dist/actions/pyth/getHoneyPythFeeds.d.ts.map +1 -0
  323. package/dist/actions/pyth/getUpdateFee.d.ts +6 -0
  324. package/dist/actions/pyth/getUpdateFee.d.ts.map +1 -0
  325. package/dist/actions/server/exports.d.ts +2 -13
  326. package/dist/actions/server/exports.d.ts.map +1 -0
  327. package/dist/actions/server/exports.mjs +28 -17
  328. package/dist/actions/server/exports.mjs.map +1 -0
  329. package/dist/actions/server/getDailyValidatorBlockStats.d.ts +14 -0
  330. package/dist/actions/server/getDailyValidatorBlockStats.d.ts.map +1 -0
  331. package/dist/actions/tokens/getAllowances.d.ts +10 -0
  332. package/dist/actions/tokens/getAllowances.d.ts.map +1 -0
  333. package/dist/actions/tokens/getTokenInformation.d.ts +11 -0
  334. package/dist/actions/tokens/getTokenInformation.d.ts.map +1 -0
  335. package/dist/actions/tokens/getTokens.d.ts +5 -0
  336. package/dist/actions/tokens/getTokens.d.ts.map +1 -0
  337. package/dist/actions/tokens/getUnderlyingToken.d.ts +12 -0
  338. package/dist/actions/tokens/getUnderlyingToken.d.ts.map +1 -0
  339. package/dist/actions/tokens/getWalletBalances.d.ts +499 -0
  340. package/dist/actions/tokens/getWalletBalances.d.ts.map +1 -0
  341. package/dist/actions/tokens/getWalletBalances.integration.test.d.ts +2 -0
  342. package/dist/actions/tokens/getWalletBalances.integration.test.d.ts.map +1 -0
  343. package/dist/actions/transactions/beraWriteContract.d.ts +19 -0
  344. package/dist/actions/transactions/beraWriteContract.d.ts.map +1 -0
  345. package/dist/actions/transactions/beraWriteContract.integration.test.d.ts +2 -0
  346. package/dist/actions/transactions/beraWriteContract.integration.test.d.ts.map +1 -0
  347. package/dist/actions/validators/getActiveBoostAndCommissionChangeDelay.d.ts +30 -0
  348. package/dist/actions/validators/getActiveBoostAndCommissionChangeDelay.d.ts.map +1 -0
  349. package/dist/actions/validators/getActiveBoostAndCommissionChangeDelay.integration.test.d.ts +2 -0
  350. package/dist/actions/validators/getActiveBoostAndCommissionChangeDelay.integration.test.d.ts.map +1 -0
  351. package/dist/actions/validators/getAllValidators.d.ts +5 -0
  352. package/dist/actions/validators/getAllValidators.d.ts.map +1 -0
  353. package/dist/actions/validators/getApiEnrichedAllocation.d.ts +6 -0
  354. package/dist/actions/validators/getApiEnrichedAllocation.d.ts.map +1 -0
  355. package/dist/actions/validators/getApiValidator.d.ts +9 -0
  356. package/dist/actions/validators/getApiValidator.d.ts.map +1 -0
  357. package/dist/actions/validators/getBaselineRewardAllocation.d.ts +5 -0
  358. package/dist/actions/validators/getBaselineRewardAllocation.d.ts.map +1 -0
  359. package/dist/actions/validators/getDefaultRewardAllocation.d.ts +7 -0
  360. package/dist/actions/validators/getDefaultRewardAllocation.d.ts.map +1 -0
  361. package/dist/actions/validators/getStakingPoolBatch.d.ts +13 -0
  362. package/dist/actions/validators/getStakingPoolBatch.d.ts.map +1 -0
  363. package/dist/actions/validators/getUserActiveValidators.d.ts +12 -0
  364. package/dist/actions/validators/getUserActiveValidators.d.ts.map +1 -0
  365. package/dist/actions/validators/getUserBoosts.d.ts +7 -0
  366. package/dist/actions/validators/getUserBoosts.d.ts.map +1 -0
  367. package/dist/actions/validators/getUserBoostsOnValidator.d.ts +25 -0
  368. package/dist/actions/validators/getUserBoostsOnValidator.d.ts.map +1 -0
  369. package/dist/actions/validators/getUserStakingPositions.d.ts +20 -0
  370. package/dist/actions/validators/getUserStakingPositions.d.ts.map +1 -0
  371. package/dist/actions/validators/getValidatorAnalytics.d.ts +12 -0
  372. package/dist/actions/validators/getValidatorAnalytics.d.ts.map +1 -0
  373. package/dist/actions/validators/getValidatorCommission.d.ts +6 -0
  374. package/dist/actions/validators/getValidatorCommission.d.ts.map +1 -0
  375. package/dist/actions/validators/getValidatorEstimatedBgtPerYear.d.ts +3 -0
  376. package/dist/actions/validators/getValidatorEstimatedBgtPerYear.d.ts.map +1 -0
  377. package/dist/actions/validators/getValidatorIncentiveDistribution.d.ts +8 -0
  378. package/dist/actions/validators/getValidatorIncentiveDistribution.d.ts.map +1 -0
  379. package/dist/actions/validators/getValidatorOperatorAddress.d.ts +6 -0
  380. package/dist/actions/validators/getValidatorOperatorAddress.d.ts.map +1 -0
  381. package/dist/actions/validators/getValidatorQueuedCommission.d.ts +10 -0
  382. package/dist/actions/validators/getValidatorQueuedCommission.d.ts.map +1 -0
  383. package/dist/actions/validators/getValidatorQueuedOperatorAddress.d.ts +7 -0
  384. package/dist/actions/validators/getValidatorQueuedOperatorAddress.d.ts.map +1 -0
  385. package/dist/actions/validators/getValidatorQueuedRewardAllocation.d.ts +7 -0
  386. package/dist/actions/validators/getValidatorQueuedRewardAllocation.d.ts.map +1 -0
  387. package/dist/actions/validators/getValidatorRewardAllocation.d.ts +52 -0
  388. package/dist/actions/validators/getValidatorRewardAllocation.d.ts.map +1 -0
  389. package/dist/actions/validators/getValidatorRewardAllocatorAddress.d.ts +12 -0
  390. package/dist/actions/validators/getValidatorRewardAllocatorAddress.d.ts.map +1 -0
  391. package/dist/actions/validators/utils/__tests__/validatorUtils.integration.test.d.ts +2 -0
  392. package/dist/actions/validators/utils/__tests__/validatorUtils.integration.test.d.ts.map +1 -0
  393. package/dist/actions/validators/utils/aggregateValidatorIncentives.d.ts +6 -0
  394. package/dist/actions/validators/utils/aggregateValidatorIncentives.d.ts.map +1 -0
  395. package/dist/actions/validators/utils/aggregateValidatorIncentives.unit.test.d.ts +2 -0
  396. package/dist/actions/validators/utils/aggregateValidatorIncentives.unit.test.d.ts.map +1 -0
  397. package/dist/actions/validators/utils/getValidatorBoostApy.d.ts +7 -0
  398. package/dist/actions/validators/utils/getValidatorBoostApy.d.ts.map +1 -0
  399. package/dist/{chunk-E7YFXBBQ.mjs → chunk-35RACQD4.mjs} +7 -6
  400. package/dist/chunk-35RACQD4.mjs.map +1 -0
  401. package/dist/{chunk-BGMRHTBQ.mjs → chunk-7TFV6UKF.mjs} +1 -0
  402. package/dist/chunk-7TFV6UKF.mjs.map +1 -0
  403. package/dist/{chunk-QVHEM4BG.mjs → chunk-AEN6IJFU.mjs} +10 -4
  404. package/dist/chunk-AEN6IJFU.mjs.map +1 -0
  405. package/dist/{chunk-SZ5C44L5.mjs → chunk-BMNEN4OK.mjs} +1 -0
  406. package/dist/chunk-BMNEN4OK.mjs.map +1 -0
  407. package/dist/{chunk-YLTWPFCJ.mjs → chunk-BSOWLS3W.mjs} +3 -2
  408. package/dist/chunk-BSOWLS3W.mjs.map +1 -0
  409. package/dist/{chunk-XDG26EG6.mjs → chunk-DOZJB6IJ.mjs} +70 -118
  410. package/dist/chunk-DOZJB6IJ.mjs.map +1 -0
  411. package/dist/{chunk-GUURQAME.mjs → chunk-EGAB6NFQ.mjs} +2 -1
  412. package/dist/chunk-EGAB6NFQ.mjs.map +1 -0
  413. package/dist/{chunk-AUOPN6NK.mjs → chunk-EJIGERYM.mjs} +2 -1
  414. package/dist/chunk-EJIGERYM.mjs.map +1 -0
  415. package/dist/{chunk-SGIJVHZO.mjs → chunk-GLWPRM33.mjs} +1 -0
  416. package/dist/chunk-GLWPRM33.mjs.map +1 -0
  417. package/dist/{chunk-CDK4YV3D.mjs → chunk-GWSTVITN.mjs} +1 -0
  418. package/dist/chunk-GWSTVITN.mjs.map +1 -0
  419. package/dist/{chunk-O2NQFKJK.mjs → chunk-IFNIPVTZ.mjs} +1 -0
  420. package/dist/chunk-IFNIPVTZ.mjs.map +1 -0
  421. package/dist/{chunk-HYDP32P6.mjs → chunk-J3LTASDE.mjs} +6 -6
  422. package/dist/chunk-J3LTASDE.mjs.map +1 -0
  423. package/dist/{chunk-NBYLMO2L.mjs → chunk-JA4DHMTG.mjs} +1 -0
  424. package/dist/chunk-JA4DHMTG.mjs.map +1 -0
  425. package/dist/{chunk-DKMAIU74.mjs → chunk-KL6YZ5VR.mjs} +1 -0
  426. package/dist/chunk-KL6YZ5VR.mjs.map +1 -0
  427. package/dist/{chunk-FGION6F6.mjs → chunk-LE4CYW7S.mjs} +3 -2
  428. package/dist/chunk-LE4CYW7S.mjs.map +1 -0
  429. package/dist/{chunk-KHXJDYA4.mjs → chunk-NZAH3SGT.mjs} +26 -0
  430. package/dist/chunk-NZAH3SGT.mjs.map +1 -0
  431. package/dist/{chunk-RFJGL4MF.mjs → chunk-P3YZ7F22.mjs} +9 -2
  432. package/dist/chunk-P3YZ7F22.mjs.map +1 -0
  433. package/dist/{chunk-MKSFQIKC.mjs → chunk-PHYZRH4I.mjs} +10 -7
  434. package/dist/chunk-PHYZRH4I.mjs.map +1 -0
  435. package/dist/{chunk-IXIBY5FP.mjs → chunk-PJRLHTGC.mjs} +3 -2
  436. package/dist/chunk-PJRLHTGC.mjs.map +1 -0
  437. package/dist/{chunk-GY6B3PD5.mjs → chunk-QQASX4LJ.mjs} +12 -1
  438. package/dist/chunk-QQASX4LJ.mjs.map +1 -0
  439. package/dist/{chunk-4ML4Y6UN.mjs → chunk-RM227WHI.mjs} +1 -0
  440. package/dist/chunk-RM227WHI.mjs.map +1 -0
  441. package/dist/{chunk-DQRH5VE3.mjs → chunk-TGN55GKE.mjs} +2 -1
  442. package/dist/chunk-TGN55GKE.mjs.map +1 -0
  443. package/dist/{chunk-W2VODV76.mjs → chunk-UA3Z47LT.mjs} +9 -8
  444. package/dist/chunk-UA3Z47LT.mjs.map +1 -0
  445. package/dist/{chunk-HQCOU6GY.mjs → chunk-ZCEFC2TK.mjs} +1 -0
  446. package/dist/chunk-ZCEFC2TK.mjs.map +1 -0
  447. package/dist/{chunk-T43JPYQS.mjs → chunk-ZWTGVIPJ.mjs} +3 -2
  448. package/dist/chunk-ZWTGVIPJ.mjs.map +1 -0
  449. package/dist/contexts/BeraFlags/BeraFlags.d.ts +19 -0
  450. package/dist/contexts/BeraFlags/BeraFlags.d.ts.map +1 -0
  451. package/dist/contexts/BeraFlags/defaultFlags.d.ts +9 -0
  452. package/dist/contexts/BeraFlags/defaultFlags.d.ts.map +1 -0
  453. package/dist/contexts/BexStatusProvider.d.ts +67 -0
  454. package/dist/contexts/BexStatusProvider.d.ts.map +1 -0
  455. package/dist/contexts/BlockTimeProvider.d.ts +10 -0
  456. package/dist/contexts/BlockTimeProvider.d.ts.map +1 -0
  457. package/dist/contexts/HoneyConfigProvider.d.ts +50 -0
  458. package/dist/contexts/HoneyConfigProvider.d.ts.map +1 -0
  459. package/dist/contexts/SwrFallback.d.ts +6 -0
  460. package/dist/contexts/SwrFallback.d.ts.map +1 -0
  461. package/dist/contexts/TokensProvider.d.ts +24 -0
  462. package/dist/contexts/TokensProvider.d.ts.map +1 -0
  463. package/dist/contexts/block-time-provider.d.ts +10 -0
  464. package/dist/contexts/exports.d.ts +7 -66
  465. package/dist/contexts/exports.d.ts.map +1 -0
  466. package/dist/contexts/exports.mjs +13 -12
  467. package/dist/contexts/exports.mjs.map +1 -0
  468. package/dist/data/contracts.d.ts +345 -0
  469. package/dist/data/contracts.d.ts.map +1 -0
  470. package/dist/enum/contracts.d.ts +15 -0
  471. package/dist/enum/contracts.d.ts.map +1 -0
  472. package/dist/enum/dex.d.ts +36 -0
  473. package/dist/enum/dex.d.ts.map +1 -0
  474. package/dist/enum/exports.d.ts +7 -29
  475. package/dist/enum/exports.d.ts.map +1 -0
  476. package/dist/enum/exports.mjs +3 -2
  477. package/dist/enum/exports.mjs.map +1 -0
  478. package/dist/enum/governance/exports.d.ts +2 -60
  479. package/dist/enum/governance/exports.d.ts.map +1 -0
  480. package/dist/enum/governance/exports.mjs +2 -1
  481. package/dist/enum/governance/exports.mjs.map +1 -0
  482. package/dist/enum/governance.d.ts +59 -0
  483. package/dist/enum/governance.d.ts.map +1 -0
  484. package/dist/enum/honey.d.ts +13 -0
  485. package/dist/enum/honey.d.ts.map +1 -0
  486. package/dist/enum/polling.d.ts +8 -0
  487. package/dist/enum/polling.d.ts.map +1 -0
  488. package/dist/enum/slippage.d.ts +17 -0
  489. package/dist/enum/slippage.d.ts.map +1 -0
  490. package/dist/enum/txnEnum.d.ts +90 -0
  491. package/dist/enum/txnEnum.d.ts.map +1 -0
  492. package/dist/errors/BeraError.d.ts +99 -0
  493. package/dist/errors/BeraError.d.ts.map +1 -0
  494. package/dist/errors/BeraError.unit.test.d.ts +2 -0
  495. package/dist/errors/BeraError.unit.test.d.ts.map +1 -0
  496. package/dist/errors/BeraMonitoring.d.ts +46 -0
  497. package/dist/errors/BeraMonitoring.d.ts.map +1 -0
  498. package/dist/errors/BeraTracing.d.ts +58 -0
  499. package/dist/errors/BeraTracing.d.ts.map +1 -0
  500. package/dist/errors/BeraTracing.unit.test.d.ts +2 -0
  501. package/dist/errors/BeraTracing.unit.test.d.ts.map +1 -0
  502. package/dist/errors/InvalidArgumentError.d.ts +59 -0
  503. package/dist/errors/InvalidArgumentError.d.ts.map +1 -0
  504. package/dist/errors/NotFoundError.d.ts +25 -0
  505. package/dist/errors/NotFoundError.d.ts.map +1 -0
  506. package/dist/errors/RequestError.d.ts +56 -0
  507. package/dist/errors/RequestError.d.ts.map +1 -0
  508. package/dist/errors/RequestError.unit.test.d.ts +2 -0
  509. package/dist/errors/RequestError.unit.test.d.ts.map +1 -0
  510. package/dist/errors/TransactionFailedError.d.ts +49 -0
  511. package/dist/errors/TransactionFailedError.d.ts.map +1 -0
  512. package/dist/errors/assert.d.ts +82 -0
  513. package/dist/errors/assert.d.ts.map +1 -0
  514. package/dist/errors/assert.unit.test.d.ts +2 -0
  515. package/dist/errors/assert.unit.test.d.ts.map +1 -0
  516. package/dist/errors/errorMap.d.ts +1083 -0
  517. package/dist/errors/errorMap.d.ts.map +1 -0
  518. package/dist/errors/exports.d.ts +13 -328
  519. package/dist/errors/exports.d.ts.map +1 -0
  520. package/dist/errors/exports.mjs +9 -6
  521. package/dist/errors/exports.mjs.map +1 -0
  522. package/dist/errors/getErrorMessage.d.ts +46 -0
  523. package/dist/errors/getErrorMessage.d.ts.map +1 -0
  524. package/dist/errors/getRevertReason.d.ts +53 -0
  525. package/dist/errors/getRevertReason.d.ts.map +1 -0
  526. package/dist/errors/getRevertReason.integration.test.d.ts +2 -0
  527. package/dist/errors/getRevertReason.integration.test.d.ts.map +1 -0
  528. package/dist/errors/initBeraError.d.ts +44 -0
  529. package/dist/errors/initBeraError.d.ts.map +1 -0
  530. package/dist/errors/parseViemError.d.ts +88 -0
  531. package/dist/errors/parseViemError.d.ts.map +1 -0
  532. package/dist/errors/severity.d.ts +7 -0
  533. package/dist/errors/severity.d.ts.map +1 -0
  534. package/dist/errors/spanStatus.d.ts +18 -0
  535. package/dist/errors/spanStatus.d.ts.map +1 -0
  536. package/dist/errors/spanStatus.unit.test.d.ts +2 -0
  537. package/dist/errors/spanStatus.unit.test.d.ts.map +1 -0
  538. package/dist/{getValidatorQueuedOperatorAddress-Cc05dlO3.d.ts → getValidatorQueuedOperatorAddress-N2I7wHd6.d.ts} +1 -1
  539. package/dist/global.d-CiZJ2eHz.d.ts +231 -0
  540. package/dist/hooks/bend/useGetConvertToAssets.d.ts +9 -0
  541. package/dist/hooks/bend/useGetConvertToAssets.d.ts.map +1 -0
  542. package/dist/hooks/dex/useAggregatorsQuotes.d.ts +29 -0
  543. package/dist/hooks/dex/useAggregatorsQuotes.d.ts.map +1 -0
  544. package/dist/hooks/dex/useAggregatorsRouterFeeBps.d.ts +2 -0
  545. package/dist/hooks/dex/useAggregatorsRouterFeeBps.d.ts.map +1 -0
  546. package/dist/hooks/dex/useAllUserPools.d.ts +68 -0
  547. package/dist/hooks/dex/useAllUserPools.d.ts.map +1 -0
  548. package/dist/hooks/dex/useApiPool.d.ts +11 -0
  549. package/dist/hooks/dex/useApiPool.d.ts.map +1 -0
  550. package/dist/hooks/dex/useBexStatus.d.ts +2 -0
  551. package/dist/hooks/dex/useBexStatus.d.ts.map +1 -0
  552. package/dist/hooks/dex/useCreatePool.d.ts +32 -0
  553. package/dist/hooks/dex/useCreatePool.d.ts.map +1 -0
  554. package/dist/hooks/dex/useGlobalLiquidityAndSwapVolume.d.ts +11 -0
  555. package/dist/hooks/dex/useGlobalLiquidityAndSwapVolume.d.ts.map +1 -0
  556. package/dist/hooks/dex/useLiquidityMismatch.d.ts +36 -0
  557. package/dist/hooks/dex/useLiquidityMismatch.d.ts.map +1 -0
  558. package/dist/hooks/dex/useLpPosition.d.ts +14 -0
  559. package/dist/hooks/dex/useLpPosition.d.ts.map +1 -0
  560. package/dist/hooks/dex/useMultipleTokenApprovalsWithSlippage.d.ts +13 -0
  561. package/dist/hooks/dex/useMultipleTokenApprovalsWithSlippage.d.ts.map +1 -0
  562. package/dist/hooks/dex/useOnChainPoolData.d.ts +49 -0
  563. package/dist/hooks/dex/useOnChainPoolData.d.ts.map +1 -0
  564. package/dist/hooks/dex/usePollPoolCreationRelayerApproval.d.ts +8 -0
  565. package/dist/hooks/dex/usePollPoolCreationRelayerApproval.d.ts.map +1 -0
  566. package/dist/hooks/dex/usePool.d.ts +10 -0
  567. package/dist/hooks/dex/usePool.d.ts.map +1 -0
  568. package/dist/hooks/dex/usePoolEvents.d.ts +6 -0
  569. package/dist/hooks/dex/usePoolEvents.d.ts.map +1 -0
  570. package/dist/hooks/dex/usePoolHistoricalData.d.ts +8 -0
  571. package/dist/hooks/dex/usePoolHistoricalData.d.ts.map +1 -0
  572. package/dist/hooks/dex/usePools.d.ts +129 -0
  573. package/dist/hooks/dex/usePools.d.ts.map +1 -0
  574. package/dist/hooks/dex/usePriceImpact.d.ts +11 -0
  575. package/dist/hooks/dex/usePriceImpact.d.ts.map +1 -0
  576. package/dist/hooks/dex/useSingleAggregatorQuote.d.ts +53 -0
  577. package/dist/hooks/dex/useSingleAggregatorQuote.d.ts.map +1 -0
  578. package/dist/hooks/enso/useBendDemultiply.d.ts +18 -0
  579. package/dist/hooks/enso/useBendDemultiply.d.ts.map +1 -0
  580. package/dist/hooks/enso/useBendMultiply.d.ts +19 -0
  581. package/dist/hooks/enso/useBendMultiply.d.ts.map +1 -0
  582. package/dist/hooks/enso/useBendZapSupply.d.ts +40 -0
  583. package/dist/hooks/enso/useBendZapSupply.d.ts.map +1 -0
  584. package/dist/hooks/enso/useEnsoSwapBundle.d.ts +26 -0
  585. package/dist/hooks/enso/useEnsoSwapBundle.d.ts.map +1 -0
  586. package/dist/hooks/enso/useEnsoUserTokensWithBalances.d.ts +6 -0
  587. package/dist/hooks/enso/useEnsoUserTokensWithBalances.d.ts.map +1 -0
  588. package/dist/hooks/enso/useEnsoWalletV2Address.d.ts +4 -0
  589. package/dist/hooks/enso/useEnsoWalletV2Address.d.ts.map +1 -0
  590. package/dist/hooks/enso/useIsBendAuthorized.d.ts +7 -0
  591. package/dist/hooks/enso/useIsBendAuthorized.d.ts.map +1 -0
  592. package/dist/hooks/enso/useZapStakeBera.d.ts +23 -0
  593. package/dist/hooks/enso/useZapStakeBera.d.ts.map +1 -0
  594. package/dist/hooks/exports.d.ts +109 -1332
  595. package/dist/hooks/exports.d.ts.map +1 -0
  596. package/dist/hooks/exports.mjs +357 -421
  597. package/dist/hooks/exports.mjs.map +1 -0
  598. package/dist/hooks/governance/exports.d.ts +15 -186
  599. package/dist/hooks/governance/exports.d.ts.map +1 -0
  600. package/dist/hooks/governance/exports.mjs +63 -61
  601. package/dist/hooks/governance/exports.mjs.map +1 -0
  602. package/dist/hooks/governance/useCreateProposal.d.ts +13 -0
  603. package/dist/hooks/governance/useCreateProposal.d.ts.map +1 -0
  604. package/dist/hooks/governance/useGetPastVotes.d.ts +15 -0
  605. package/dist/hooks/governance/useGetPastVotes.d.ts.map +1 -0
  606. package/dist/hooks/governance/useHasVoted.d.ts +6 -0
  607. package/dist/hooks/governance/useHasVoted.d.ts.map +1 -0
  608. package/dist/hooks/governance/useIsCanceller.d.ts +5 -0
  609. package/dist/hooks/governance/useIsCanceller.d.ts.map +1 -0
  610. package/dist/hooks/governance/usePollAllProposals.d.ts +37 -0
  611. package/dist/hooks/governance/usePollAllProposals.d.ts.map +1 -0
  612. package/dist/hooks/governance/usePollProposal.d.ts +23 -0
  613. package/dist/hooks/governance/usePollProposal.d.ts.map +1 -0
  614. package/dist/hooks/governance/usePollProposalThreshold.d.ts +6 -0
  615. package/dist/hooks/governance/usePollProposalThreshold.d.ts.map +1 -0
  616. package/dist/hooks/governance/usePollProposalVotes.d.ts +23 -0
  617. package/dist/hooks/governance/usePollProposalVotes.d.ts.map +1 -0
  618. package/dist/hooks/governance/usePollUserDelegates.d.ts +7 -0
  619. package/dist/hooks/governance/usePollUserDelegates.d.ts.map +1 -0
  620. package/dist/hooks/governance/useProposalFromTx.d.ts +5 -0
  621. package/dist/hooks/governance/useProposalFromTx.d.ts.map +1 -0
  622. package/dist/hooks/governance/useProposalSnapshot.d.ts +12 -0
  623. package/dist/hooks/governance/useProposalSnapshot.d.ts.map +1 -0
  624. package/dist/hooks/governance/useProposalState.d.ts +7 -0
  625. package/dist/hooks/governance/useProposalState.d.ts.map +1 -0
  626. package/dist/hooks/governance/useProposalTimelockState.d.ts +18 -0
  627. package/dist/hooks/governance/useProposalTimelockState.d.ts.map +1 -0
  628. package/dist/hooks/governance/useQuorum.d.ts +17 -0
  629. package/dist/hooks/governance/useQuorum.d.ts.map +1 -0
  630. package/dist/hooks/honey/useCappedGlobally.d.ts +11 -0
  631. package/dist/hooks/honey/useCappedGlobally.d.ts.map +1 -0
  632. package/dist/hooks/honey/useCappedRelatively.d.ts +11 -0
  633. package/dist/hooks/honey/useCappedRelatively.d.ts.map +1 -0
  634. package/dist/hooks/honey/useCollateralWeights.d.ts +9 -0
  635. package/dist/hooks/honey/useCollateralWeights.d.ts.map +1 -0
  636. package/dist/hooks/honey/useHoney24hVolume.d.ts +2 -0
  637. package/dist/hooks/honey/useHoney24hVolume.d.ts.map +1 -0
  638. package/dist/hooks/honey/useHoneyAlerts.d.ts +47 -0
  639. package/dist/hooks/honey/useHoneyAlerts.d.ts.map +1 -0
  640. package/dist/hooks/honey/useHoneyBalances.d.ts +26 -0
  641. package/dist/hooks/honey/useHoneyBalances.d.ts.map +1 -0
  642. package/dist/hooks/honey/useHoneyChartData.d.ts +10 -0
  643. package/dist/hooks/honey/useHoneyChartData.d.ts.map +1 -0
  644. package/dist/hooks/honey/useHoneySwapState.d.ts +30 -0
  645. package/dist/hooks/honey/useHoneySwapState.d.ts.map +1 -0
  646. package/dist/hooks/honey/useHoneyVaultsBalance.d.ts +4 -0
  647. package/dist/hooks/honey/useHoneyVaultsBalance.d.ts.map +1 -0
  648. package/dist/hooks/honey/useIsBadCollateralAsset.d.ts +9 -0
  649. package/dist/hooks/honey/useIsBadCollateralAsset.d.ts.map +1 -0
  650. package/dist/hooks/honey/useIsBasketModeEnabled.d.ts +6 -0
  651. package/dist/hooks/honey/useIsBasketModeEnabled.d.ts.map +1 -0
  652. package/dist/hooks/honey/usePythLatestPrices.d.ts +20 -0
  653. package/dist/hooks/honey/usePythLatestPrices.d.ts.map +1 -0
  654. package/dist/hooks/perps/usePythUpdateFee.d.ts +11 -0
  655. package/dist/hooks/perps/usePythUpdateFee.d.ts.map +1 -0
  656. package/dist/hooks/pol/useAutoclaimedIncentives.d.ts +8 -0
  657. package/dist/hooks/pol/useAutoclaimedIncentives.d.ts.map +1 -0
  658. package/dist/hooks/pol/useAutoclaimedIncentivesTxHash.d.ts +8 -0
  659. package/dist/hooks/pol/useAutoclaimedIncentivesTxHash.d.ts.map +1 -0
  660. package/dist/hooks/pol/useBgtAprSimulation.d.ts +7 -0
  661. package/dist/hooks/pol/useBgtAprSimulation.d.ts.map +1 -0
  662. package/dist/hooks/pol/useBgtIncentiveDistributorPaused.d.ts +8 -0
  663. package/dist/hooks/pol/useBgtIncentiveDistributorPaused.d.ts.map +1 -0
  664. package/dist/hooks/pol/useBgtUnstakedBalance.d.ts +3 -0
  665. package/dist/hooks/pol/useBgtUnstakedBalance.d.ts.map +1 -0
  666. package/dist/hooks/pol/useClaimableFees.d.ts +2 -0
  667. package/dist/hooks/pol/useClaimableFees.d.ts.map +1 -0
  668. package/dist/hooks/pol/useHighestVaultsAPR.d.ts +23 -0
  669. package/dist/hooks/pol/useHighestVaultsAPR.d.ts.map +1 -0
  670. package/dist/hooks/pol/useOnChainRewardVault.d.ts +7 -0
  671. package/dist/hooks/pol/useOnChainRewardVault.d.ts.map +1 -0
  672. package/dist/hooks/pol/usePollGlobalData.d.ts +4 -0
  673. package/dist/hooks/pol/usePollGlobalData.d.ts.map +1 -0
  674. package/dist/hooks/pol/usePollMarkets.d.ts +7 -0
  675. package/dist/hooks/pol/usePollMarkets.d.ts.map +1 -0
  676. package/dist/hooks/pol/useQueuedBeraUnlock.d.ts +9 -0
  677. package/dist/hooks/pol/useQueuedBeraUnlock.d.ts.map +1 -0
  678. package/dist/hooks/pol/useRewardTokenToBeraRate.d.ts +6 -0
  679. package/dist/hooks/pol/useRewardTokenToBeraRate.d.ts.map +1 -0
  680. package/dist/hooks/pol/useRewardVault.d.ts +8 -0
  681. package/dist/hooks/pol/useRewardVault.d.ts.map +1 -0
  682. package/dist/hooks/pol/useRewardVaultBalanceFromStakingToken.d.ts +16 -0
  683. package/dist/hooks/pol/useRewardVaultBalanceFromStakingToken.d.ts.map +1 -0
  684. package/dist/hooks/pol/useRewardVaultFromToken.d.ts +7 -0
  685. package/dist/hooks/pol/useRewardVaultFromToken.d.ts.map +1 -0
  686. package/dist/hooks/pol/useRewardVaultIncentives.d.ts +6 -0
  687. package/dist/hooks/pol/useRewardVaultIncentives.d.ts.map +1 -0
  688. package/dist/hooks/pol/useRewardVaultRewards.d.ts +4 -0
  689. package/dist/hooks/pol/useRewardVaultRewards.d.ts.map +1 -0
  690. package/dist/hooks/pol/useRewardVaults.d.ts +15 -0
  691. package/dist/hooks/pol/useRewardVaults.d.ts.map +1 -0
  692. package/dist/hooks/pol/useStakedAPR.d.ts +11 -0
  693. package/dist/hooks/pol/useStakedAPR.d.ts.map +1 -0
  694. package/dist/hooks/pol/useStakedData.d.ts +41 -0
  695. package/dist/hooks/pol/useStakedData.d.ts.map +1 -0
  696. package/dist/hooks/pol/useStakedSnapshots.d.ts +10 -0
  697. package/dist/hooks/pol/useStakedSnapshots.d.ts.map +1 -0
  698. package/dist/hooks/pol/useStakingVaultsMetadata.d.ts +7 -0
  699. package/dist/hooks/pol/useStakingVaultsMetadata.d.ts.map +1 -0
  700. package/dist/hooks/pol/useTotalStakedAmount.d.ts +6 -0
  701. package/dist/hooks/pol/useTotalStakedAmount.d.ts.map +1 -0
  702. package/dist/hooks/pol/useUserVaultInfo.d.ts +7 -0
  703. package/dist/hooks/pol/useUserVaultInfo.d.ts.map +1 -0
  704. package/dist/hooks/pol/useUserVaults.d.ts +4 -0
  705. package/dist/hooks/pol/useUserVaults.d.ts.map +1 -0
  706. package/dist/hooks/pol/useVaultAddress.d.ts +10 -0
  707. package/dist/hooks/pol/useVaultAddress.d.ts.map +1 -0
  708. package/dist/hooks/pol/useVaultHistory.d.ts +5 -0
  709. package/dist/hooks/pol/useVaultHistory.d.ts.map +1 -0
  710. package/dist/hooks/pol/useVaultValidators.d.ts +7 -0
  711. package/dist/hooks/pol/useVaultValidators.d.ts.map +1 -0
  712. package/dist/hooks/tokens/useBeraCurrentPrice.d.ts +11 -0
  713. package/dist/hooks/tokens/useBeraCurrentPrice.d.ts.map +1 -0
  714. package/dist/hooks/tokens/useMultipleTokenInformation.d.ts +9 -0
  715. package/dist/hooks/tokens/useMultipleTokenInformation.d.ts.map +1 -0
  716. package/dist/hooks/tokens/usePollAllowances.d.ts +17 -0
  717. package/dist/hooks/tokens/usePollAllowances.d.ts.map +1 -0
  718. package/dist/hooks/tokens/usePollBalance.d.ts +12 -0
  719. package/dist/hooks/tokens/usePollBalance.d.ts.map +1 -0
  720. package/dist/hooks/tokens/usePollWalletBalances.d.ts +14 -0
  721. package/dist/hooks/tokens/usePollWalletBalances.d.ts.map +1 -0
  722. package/dist/hooks/tokens/useStakingTokenInformation.d.ts +8 -0
  723. package/dist/hooks/tokens/useStakingTokenInformation.d.ts.map +1 -0
  724. package/dist/hooks/tokens/useTokenCurrentPrices.d.ts +16 -0
  725. package/dist/hooks/tokens/useTokenCurrentPrices.d.ts.map +1 -0
  726. package/dist/hooks/tokens/useTokenInformation.d.ts +9 -0
  727. package/dist/hooks/tokens/useTokenInformation.d.ts.map +1 -0
  728. package/dist/hooks/tokens/useTokenPrice.d.ts +10 -0
  729. package/dist/hooks/tokens/useTokenPrice.d.ts.map +1 -0
  730. package/dist/hooks/tokens/useTokenPrices.d.ts +18 -0
  731. package/dist/hooks/tokens/useTokenPrices.d.ts.map +1 -0
  732. package/dist/hooks/tokens/useTokens.d.ts +18 -0
  733. package/dist/hooks/tokens/useTokens.d.ts.map +1 -0
  734. package/dist/hooks/tokens/useTotalSupply.d.ts +5 -0
  735. package/dist/hooks/tokens/useTotalSupply.d.ts.map +1 -0
  736. package/dist/hooks/tokens/useUnderlyingAsset.d.ts +10 -0
  737. package/dist/hooks/tokens/useUnderlyingAsset.d.ts.map +1 -0
  738. package/dist/hooks/useBlockToTimestamp.d.ts +6 -0
  739. package/dist/hooks/useBlockToTimestamp.d.ts.map +1 -0
  740. package/dist/hooks/useContractWrite/index.d.ts +3 -0
  741. package/dist/hooks/useContractWrite/index.d.ts.map +1 -0
  742. package/dist/hooks/useContractWrite/stateReducer.d.ts +28 -0
  743. package/dist/hooks/useContractWrite/stateReducer.d.ts.map +1 -0
  744. package/dist/hooks/useContractWrite/types.d.ts +54 -0
  745. package/dist/hooks/useContractWrite/types.d.ts.map +1 -0
  746. package/dist/hooks/useContractWrite/useBeraContractWrite.d.ts +10 -0
  747. package/dist/hooks/useContractWrite/useBeraContractWrite.d.ts.map +1 -0
  748. package/dist/hooks/useGetVerifiedAbi.d.ts +2 -0
  749. package/dist/hooks/useGetVerifiedAbi.d.ts.map +1 -0
  750. package/dist/hooks/useHistoryState.d.ts +17 -0
  751. package/dist/hooks/useHistoryState.d.ts.map +1 -0
  752. package/dist/hooks/usePrevious.d.ts +6 -0
  753. package/dist/hooks/usePrevious.d.ts.map +1 -0
  754. package/dist/hooks/validators/useAllValidators.d.ts +7 -0
  755. package/dist/hooks/validators/useAllValidators.d.ts.map +1 -0
  756. package/dist/hooks/validators/useApiEnrichedAllocation.d.ts +5 -0
  757. package/dist/hooks/validators/useApiEnrichedAllocation.d.ts.map +1 -0
  758. package/dist/hooks/validators/useApiValidator.d.ts +8 -0
  759. package/dist/hooks/validators/useApiValidator.d.ts.map +1 -0
  760. package/dist/hooks/validators/useBaselineRewardAllocation.d.ts +2 -0
  761. package/dist/hooks/validators/useBaselineRewardAllocation.d.ts.map +1 -0
  762. package/dist/hooks/validators/useManagedValidatorRole.d.ts +13 -0
  763. package/dist/hooks/validators/useManagedValidatorRole.d.ts.map +1 -0
  764. package/dist/hooks/validators/useOnChainValidator.d.ts +7 -0
  765. package/dist/hooks/validators/useOnChainValidator.d.ts.map +1 -0
  766. package/dist/hooks/validators/useStakingPoolBatch.d.ts +7 -0
  767. package/dist/hooks/validators/useStakingPoolBatch.d.ts.map +1 -0
  768. package/dist/hooks/validators/useUserActiveValidators.d.ts +7 -0
  769. package/dist/hooks/validators/useUserActiveValidators.d.ts.map +1 -0
  770. package/dist/hooks/validators/useUserBoostsOnValidator.d.ts +8 -0
  771. package/dist/hooks/validators/useUserBoostsOnValidator.d.ts.map +1 -0
  772. package/dist/hooks/validators/useUserClaimableIncentives.d.ts +8 -0
  773. package/dist/hooks/validators/useUserClaimableIncentives.d.ts.map +1 -0
  774. package/dist/hooks/validators/useUserStakingPositions.d.ts +31 -0
  775. package/dist/hooks/validators/useUserStakingPositions.d.ts.map +1 -0
  776. package/dist/hooks/validators/useValidator.d.ts +112 -0
  777. package/dist/hooks/validators/useValidator.d.ts.map +1 -0
  778. package/dist/hooks/validators/useValidatorAnalytics.d.ts +11 -0
  779. package/dist/hooks/validators/useValidatorAnalytics.d.ts.map +1 -0
  780. package/dist/hooks/validators/useValidatorCommission.d.ts +4 -0
  781. package/dist/hooks/validators/useValidatorCommission.d.ts.map +1 -0
  782. package/dist/hooks/validators/useValidatorEstimatedBgtPerYear.d.ts +6 -0
  783. package/dist/hooks/validators/useValidatorEstimatedBgtPerYear.d.ts.map +1 -0
  784. package/dist/hooks/validators/useValidatorIncentiveDistribution.d.ts +14 -0
  785. package/dist/hooks/validators/useValidatorIncentiveDistribution.d.ts.map +1 -0
  786. package/dist/hooks/validators/useValidatorQueuedCommission.d.ts +5 -0
  787. package/dist/hooks/validators/useValidatorQueuedCommission.d.ts.map +1 -0
  788. package/dist/hooks/validators/useValidatorQueuedOperatorAddress.d.ts +5 -0
  789. package/dist/hooks/validators/useValidatorQueuedOperatorAddress.d.ts.map +1 -0
  790. package/dist/hooks/validators/useValidatorQueuedRewardAllocation.d.ts +5 -0
  791. package/dist/hooks/validators/useValidatorQueuedRewardAllocation.d.ts.map +1 -0
  792. package/dist/hooks/validators/useValidatorRewardAllocation.d.ts +9 -0
  793. package/dist/hooks/validators/useValidatorRewardAllocation.d.ts.map +1 -0
  794. package/dist/types/bribeBoost.d.ts +69 -0
  795. package/dist/types/dex.d.ts +225 -0
  796. package/dist/types/enso.d.ts +76 -0
  797. package/dist/types/exports.d.ts +8 -90
  798. package/dist/types/exports.d.ts.map +1 -0
  799. package/dist/types/exports.mjs +1 -0
  800. package/dist/types/exports.mjs.map +1 -0
  801. package/dist/types/global.d.ts +198 -0
  802. package/dist/types/governance/exports.d.ts +2 -109
  803. package/dist/types/governance/exports.d.ts.map +1 -0
  804. package/dist/types/governance/exports.mjs +1 -0
  805. package/dist/types/governance/exports.mjs.map +1 -0
  806. package/dist/types/governance.d.ts +112 -0
  807. package/dist/types/honeySwap.d.ts +23 -0
  808. package/dist/types/pol.d.ts +78 -0
  809. package/dist/types/staking.d.ts +22 -0
  810. package/dist/useHoneySwapState-CXVWAThr.d.ts +32 -0
  811. package/dist/utils/beraFetch.d.ts +15 -0
  812. package/dist/utils/beraFetch.d.ts.map +1 -0
  813. package/dist/utils/constants.d.ts +27 -0
  814. package/dist/utils/constants.d.ts.map +1 -0
  815. package/dist/utils/createEmitter.d.ts +88 -0
  816. package/dist/utils/createEmitter.d.ts.map +1 -0
  817. package/dist/utils/createEmitter.unit.test.d.ts +2 -0
  818. package/dist/utils/createEmitter.unit.test.d.ts.map +1 -0
  819. package/dist/utils/exports.d.ts +25 -429
  820. package/dist/utils/exports.d.ts.map +1 -0
  821. package/dist/utils/exports.mjs +33 -22
  822. package/dist/utils/exports.mjs.map +1 -0
  823. package/dist/utils/filter.d.ts +10 -0
  824. package/dist/utils/filter.d.ts.map +1 -0
  825. package/dist/utils/formatIncentivesTokenMap.d.ts +3 -0
  826. package/dist/utils/formatIncentivesTokenMap.d.ts.map +1 -0
  827. package/dist/utils/formatInputTokenValue.d.ts +2 -0
  828. package/dist/utils/formatInputTokenValue.d.ts.map +1 -0
  829. package/dist/utils/formatNumber.d.ts +32 -0
  830. package/dist/utils/formatNumber.d.ts.map +1 -0
  831. package/dist/utils/formatNumber.unit.test.d.ts +2 -0
  832. package/dist/utils/formatNumber.unit.test.d.ts.map +1 -0
  833. package/dist/utils/formatTimestamps.d.ts +20 -0
  834. package/dist/utils/formatTimestamps.d.ts.map +1 -0
  835. package/dist/utils/formatTimestamps.unit.test.d.ts +2 -0
  836. package/dist/utils/formatTimestamps.unit.test.d.ts.map +1 -0
  837. package/dist/utils/formatTokenList.d.ts +21 -0
  838. package/dist/utils/formatTokenList.d.ts.map +1 -0
  839. package/dist/utils/formatUsd.d.ts +5 -0
  840. package/dist/utils/formatUsd.d.ts.map +1 -0
  841. package/dist/utils/getContractName.d.ts +10 -0
  842. package/dist/utils/getContractName.d.ts.map +1 -0
  843. package/dist/utils/getContractName.unit.test.d.ts +2 -0
  844. package/dist/utils/getContractName.unit.test.d.ts.map +1 -0
  845. package/dist/utils/getErrorResponse.d.ts +5 -0
  846. package/dist/utils/getErrorResponse.d.ts.map +1 -0
  847. package/dist/utils/getHoneySwapMessage.d.ts +7 -0
  848. package/dist/utils/getHoneySwapMessage.d.ts.map +1 -0
  849. package/dist/utils/getHoneySwapMessage.test.d.ts +2 -0
  850. package/dist/utils/getHoneySwapMessage.test.d.ts.map +1 -0
  851. package/dist/utils/getServerSideClient.d.ts +6 -0
  852. package/dist/utils/getServerSideClient.d.ts.map +1 -0
  853. package/dist/utils/getTestClient.d.ts +73 -0
  854. package/dist/utils/getTestClient.d.ts.map +1 -0
  855. package/dist/utils/hasAnyTruthyValues.d.ts +2 -0
  856. package/dist/utils/hasAnyTruthyValues.d.ts.map +1 -0
  857. package/dist/utils/isDifferenceExceedingThreshold.d.ts +6 -0
  858. package/dist/utils/isDifferenceExceedingThreshold.d.ts.map +1 -0
  859. package/dist/utils/isSubgraphStale.d.ts +5 -0
  860. package/dist/utils/isSubgraphStale.d.ts.map +1 -0
  861. package/dist/utils/layerZeroScan.d.ts +39 -0
  862. package/dist/utils/layerZeroScan.d.ts.map +1 -0
  863. package/dist/utils/math.d.ts +15 -0
  864. package/dist/utils/math.d.ts.map +1 -0
  865. package/dist/utils/math.unit.test.d.ts +2 -0
  866. package/dist/utils/math.unit.test.d.ts.map +1 -0
  867. package/dist/utils/parseBaseArgs.d.ts +6 -0
  868. package/dist/utils/parseBaseArgs.d.ts.map +1 -0
  869. package/dist/utils/parseBaseArgs.unit.test.d.ts +2 -0
  870. package/dist/utils/parseBaseArgs.unit.test.d.ts.map +1 -0
  871. package/dist/utils/parseWhiskToken.d.ts +21 -0
  872. package/dist/utils/parseWhiskToken.d.ts.map +1 -0
  873. package/dist/utils/polyfillAbortSignalAny.d.ts +14 -0
  874. package/dist/utils/polyfillAbortSignalAny.d.ts.map +1 -0
  875. package/dist/utils/polyfillAbortSignalAny.unit.test.d.ts +2 -0
  876. package/dist/utils/polyfillAbortSignalAny.unit.test.d.ts.map +1 -0
  877. package/dist/utils/poolNamings.d.ts +9 -0
  878. package/dist/utils/poolNamings.d.ts.map +1 -0
  879. package/dist/utils/pythHoneyUtils.d.ts +2 -0
  880. package/dist/utils/pythHoneyUtils.d.ts.map +1 -0
  881. package/dist/utils/sanitizeRpcUrl.d.ts +10 -0
  882. package/dist/utils/sanitizeRpcUrl.d.ts.map +1 -0
  883. package/dist/utils/test-utils.d.ts +2 -0
  884. package/dist/utils/test-utils.d.ts.map +1 -0
  885. package/dist/utils/time.d.ts +65 -0
  886. package/dist/utils/time.d.ts.map +1 -0
  887. package/dist/utils/time.unit.test.d.ts +2 -0
  888. package/dist/utils/time.unit.test.d.ts.map +1 -0
  889. package/dist/utils/tokenWrapping.d.ts +7 -0
  890. package/dist/utils/tokenWrapping.d.ts.map +1 -0
  891. package/dist/utils/tokens.d.ts +37 -0
  892. package/dist/utils/tokens.d.ts.map +1 -0
  893. package/dist/utils/tokens.unit.test.d.ts +2 -0
  894. package/dist/utils/tokens.unit.test.d.ts.map +1 -0
  895. package/dist/utils/tracedTransport.d.ts +10 -0
  896. package/dist/utils/tracedTransport.d.ts.map +1 -0
  897. package/dist/utils/truncateHash.d.ts +5 -0
  898. package/dist/utils/truncateHash.d.ts.map +1 -0
  899. package/dist/utils/truncateHash.unit.test.d.ts +2 -0
  900. package/dist/utils/truncateHash.unit.test.d.ts.map +1 -0
  901. package/dist/utils/validatorUptimeStatus.d.ts +19 -0
  902. package/dist/utils/validatorUptimeStatus.d.ts.map +1 -0
  903. package/package.json +5 -3
  904. package/src/actions/clients/BeraApolloClient.ts +4 -2
  905. package/src/actions/clients/fetchOpenApi.unit.test.ts +9 -9
  906. package/src/actions/dex/aggregators/base.ts +3 -1
  907. package/src/actions/dex/aggregators/bex.ts +3 -10
  908. package/src/actions/dex/getPoolWithState.ts +2 -2
  909. package/src/actions/enso/__tests__/helpers.ts +15 -10
  910. package/src/actions/enso/getEnsoSwapBundle.ts +3 -8
  911. package/src/actions/exports.ts +2 -3
  912. package/src/actions/governance/getDecodedFunctionData.ts +5 -1
  913. package/src/actions/honey/getSwapPayload.ts +4 -4
  914. package/src/actions/pol/getAutoclaimedIncentives.ts +1 -1
  915. package/src/actions/pol/getAutoclaimedIncentivesTxHash.ts +1 -1
  916. package/src/actions/pol/getRewardProofsByValidator.ts +1 -1
  917. package/src/actions/pol/{getUserVaultsReward.ts → getRewardVaultEarnedRewards.ts} +6 -4
  918. package/src/actions/pol/getUserClaimableIncentives.ts +1 -1
  919. package/src/actions/pol/getUserVaultInfo.ts +2 -2
  920. package/src/actions/pol/getVaultsSupply.ts +5 -2
  921. package/src/actions/server/getDailyValidatorBlockStats.ts +28 -17
  922. package/src/actions/tokens/getWalletBalances.ts +1 -3
  923. package/src/actions/transactions/beraWriteContract.integration.test.ts +16 -3
  924. package/src/actions/transactions/beraWriteContract.ts +2 -2
  925. package/src/actions/validators/getUserBoostsOnValidator.ts +6 -9
  926. package/src/actions/validators/getValidatorAnalytics.ts +5 -1
  927. package/src/actions/validators/getValidatorEstimatedBgtPerYear.ts +3 -3
  928. package/src/contexts/exports.ts +1 -1
  929. package/src/errors/BeraError.ts +51 -1
  930. package/src/errors/BeraError.unit.test.ts +71 -0
  931. package/src/errors/BeraTracing.unit.test.ts +17 -18
  932. package/src/errors/RequestError.ts +15 -1
  933. package/src/errors/RequestError.unit.test.ts +47 -0
  934. package/src/errors/assert.ts +29 -0
  935. package/src/hooks/bend/useGetConvertToAssets.ts +3 -3
  936. package/src/hooks/dex/useAggregatorsRouterFeeBps.ts +2 -2
  937. package/src/hooks/dex/useAllUserPools.ts +6 -6
  938. package/src/hooks/dex/useApiPool.ts +3 -3
  939. package/src/hooks/dex/useCreatePool.ts +13 -13
  940. package/src/hooks/dex/useGlobalLiquidityAndSwapVolume.ts +2 -2
  941. package/src/hooks/dex/useLiquidityMismatch.ts +3 -3
  942. package/src/hooks/dex/useLpPosition.ts +3 -3
  943. package/src/hooks/dex/usePollPoolCreationRelayerApproval.ts +3 -3
  944. package/src/hooks/dex/usePoolEvents.ts +3 -3
  945. package/src/hooks/dex/usePoolHistoricalData.ts +3 -3
  946. package/src/hooks/dex/usePools.ts +6 -6
  947. package/src/hooks/dex/usePriceImpact.ts +6 -6
  948. package/src/hooks/exports.ts +0 -4
  949. package/src/hooks/governance/useCreateProposal.ts +4 -4
  950. package/src/hooks/governance/useGetPastVotes.ts +11 -7
  951. package/src/hooks/governance/useHasVoted.ts +3 -3
  952. package/src/hooks/governance/useIsCanceller.ts +3 -3
  953. package/src/hooks/governance/usePollAllProposals.ts +3 -3
  954. package/src/hooks/governance/usePollProposal.ts +3 -3
  955. package/src/hooks/governance/usePollProposalThreshold.ts +3 -3
  956. package/src/hooks/governance/usePollProposalVotes.ts +12 -12
  957. package/src/hooks/governance/usePollUserDelegates.ts +18 -14
  958. package/src/hooks/governance/useProposalFromTx.ts +3 -3
  959. package/src/hooks/governance/useProposalSnapshot.ts +3 -3
  960. package/src/hooks/governance/useProposalState.ts +3 -3
  961. package/src/hooks/honey/useCappedGlobally.ts +3 -3
  962. package/src/hooks/honey/useCappedRelatively.ts +3 -3
  963. package/src/hooks/honey/useCollateralWeights.ts +3 -3
  964. package/src/hooks/honey/useHoneyAlerts.ts +9 -9
  965. package/src/hooks/honey/useHoneyBalances.ts +3 -3
  966. package/src/hooks/honey/useHoneySwapState.ts +2 -2
  967. package/src/hooks/honey/useHoneyVaultsBalance.ts +3 -3
  968. package/src/hooks/honey/useIsBadCollateralAsset.ts +3 -3
  969. package/src/hooks/perps/usePythUpdateFee.ts +3 -3
  970. package/src/hooks/pol/useAutoclaimedIncentives.ts +1 -1
  971. package/src/hooks/pol/useAutoclaimedIncentivesTxHash.ts +1 -1
  972. package/src/hooks/pol/useBgtUnstakedBalance.ts +3 -3
  973. package/src/hooks/pol/useClaimableFees.ts +4 -4
  974. package/src/hooks/pol/useHighestVaultsAPR.ts +3 -3
  975. package/src/hooks/pol/useOnChainRewardVault.ts +6 -5
  976. package/src/hooks/pol/usePollGlobalData.ts +3 -3
  977. package/src/hooks/pol/usePollMarkets.ts +5 -5
  978. package/src/hooks/pol/useRewardTokenToBeraRate.ts +6 -14
  979. package/src/hooks/pol/useRewardVault.ts +6 -5
  980. package/src/hooks/pol/useRewardVaultBalanceFromStakingToken.ts +3 -3
  981. package/src/hooks/pol/useRewardVaultFromToken.ts +3 -3
  982. package/src/hooks/pol/useRewardVaultRewards.ts +3 -3
  983. package/src/hooks/pol/useRewardVaults.ts +6 -6
  984. package/src/hooks/pol/useStakedData.ts +2 -2
  985. package/src/hooks/pol/useStakingVaultsMetadata.ts +3 -3
  986. package/src/hooks/pol/useUserVaultInfo.ts +3 -3
  987. package/src/hooks/pol/useUserVaults.ts +3 -3
  988. package/src/hooks/pol/useVaultAddress.ts +2 -2
  989. package/src/hooks/pol/useVaultHistory.ts +3 -3
  990. package/src/hooks/pol/useVaultValidators.ts +3 -3
  991. package/src/hooks/tokens/useBeraCurrentPrice.ts +8 -4
  992. package/src/hooks/tokens/useStakingTokenInformation.ts +3 -3
  993. package/src/hooks/useBlockToTimestamp.ts +1 -1
  994. package/src/hooks/useContractWrite/index.ts +1 -1
  995. package/src/hooks/useContractWrite/stateReducer.ts +2 -2
  996. package/src/hooks/useContractWrite/useBeraContractWrite.ts +1 -3
  997. package/src/hooks/useGetVerifiedAbi.ts +2 -2
  998. package/src/hooks/validators/useAllValidators.ts +6 -6
  999. package/src/hooks/validators/useApiValidator.ts +6 -5
  1000. package/src/hooks/validators/useOnChainValidator.ts +3 -3
  1001. package/src/hooks/validators/useStakingPoolBatch.ts +3 -3
  1002. package/src/hooks/validators/useUserActiveValidators.ts +3 -3
  1003. package/src/hooks/validators/useUserBoostsOnValidator.ts +3 -3
  1004. package/src/hooks/validators/useUserClaimableIncentives.ts +116 -117
  1005. package/src/hooks/validators/useUserStakingPositions.ts +3 -3
  1006. package/src/hooks/validators/useValidatorAnalytics.ts +3 -0
  1007. package/src/hooks/validators/useValidatorCommission.ts +3 -3
  1008. package/src/hooks/validators/useValidatorEstimatedBgtPerYear.ts +4 -4
  1009. package/src/hooks/validators/useValidatorQueuedOperatorAddress.ts +3 -3
  1010. package/src/hooks/validators/useValidatorQueuedRewardAllocation.ts +3 -3
  1011. package/src/types/bribeBoost.d.ts +69 -0
  1012. package/src/types/exports.ts +1 -1
  1013. package/src/utils/filter.ts +3 -5
  1014. package/src/utils/formatIncentivesTokenMap.ts +8 -8
  1015. package/src/utils/formatInputTokenValue.ts +2 -2
  1016. package/src/utils/formatNumber.ts +5 -5
  1017. package/src/utils/formatTimestamps.unit.test.ts +6 -3
  1018. package/src/utils/formatUsd.ts +6 -4
  1019. package/src/utils/getServerSideClient.ts +3 -3
  1020. package/src/utils/isDifferenceExceedingThreshold.ts +10 -6
  1021. package/src/utils/layerZeroScan.ts +3 -1
  1022. package/src/utils/math.ts +12 -7
  1023. package/src/utils/math.unit.test.ts +114 -15
  1024. package/src/utils/polyfillAbortSignalAny.ts +4 -4
  1025. package/src/utils/polyfillAbortSignalAny.unit.test.ts +3 -1
  1026. package/src/utils/poolNamings.ts +14 -10
  1027. package/src/utils/pythHoneyUtils.ts +2 -2
  1028. package/src/utils/truncateHash.ts +3 -3
  1029. package/src/actions/validators/getDailyValidatorBlockStats.ts +0 -38
  1030. package/src/hooks/tokens/useTokenCurrentPrice.ts +0 -21
  1031. package/src/hooks/validators/useDailyValidatorBlockStats.ts +0 -33
  1032. package/src/hooks/validators/useDefaultRewardAllocation.ts +0 -26
  1033. /package/{src → dist}/types/bribe-boost.d.ts +0 -0
  1034. /package/src/actions/dex/{b-sdk.ts → bSdk.ts} +0 -0
  1035. /package/src/contexts/{block-time-provider.tsx → BlockTimeProvider.tsx} +0 -0
@@ -1,1683 +1,101 @@
1
- import { V as ValidatorRewardAllocation } from '../getValidatorQueuedOperatorAddress-Cc05dlO3.js';
2
- export { B as BaseAggregator, G as GetBgtAprSimulationArgs, a as GetBgtAprSimulationResult, b as GetConvertToAssetsProps, c as GetHoneyVaultsBalanceResponse, d as GetMarkets, e as GetRewardVaultData, f as GetRewardVaultRewardsReturn, g as GetUserVaultsResponse, h as GetVaultHistoryArgs, i as GlobalData, I as IsBadCollateralArgs, j as IsBadCollateralResponse, 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 getRewardVaultIncentives, C as getRewardVaultRewards, D as getRewardVaults, E as getSWBeraVaultMetadata, F as getSWBeraWithdrawal, H as getUserActiveValidators, J as getUserBoostsOnValidator, K as getUserStakingPositions, L as getUserVaults, M as getValidatorQueuedCommission, N as getValidatorQueuedOperatorAddress, O as getValidatorRewardAllocation, P as getVaultHistory, Q as isBadCollateralAsset, T as isSameRewardAllocation } from '../getValidatorQueuedOperatorAddress-Cc05dlO3.js';
3
- import { Address, PublicClient, Hex, Abi, ContractFunctionArgs, ContractFunctionName, TransactionReceipt, WalletCallReceipt } from 'viem';
4
- export { B as BeraApolloClient, g as getApolloClient } from '../getApolloClient-MWm_iq4u.js';
5
- import { EnsoClient } from '@ensofinance/sdk';
6
- import { PoolState } from '@berachain-foundation/berancer-sdk';
7
- export { BalancerApi } from '@berachain-foundation/berancer-sdk';
8
- import * as _berachain_graphql_dex_api from '@berachain/graphql/dex/api';
9
- import { GetPoolsQueryVariables, GetGlobalLiquidityAndSwapVolumeQuery, GetPoolEventsQuery, GqlChain, PoolHistoricalDataFragment, MinimalPoolFragment } from '@berachain/graphql/dex/api';
10
- import { FetchPolicy } from '@apollo/client';
11
- export { gql } from '@apollo/client';
12
- import { GqlPoolType, GqlPoolEventType, ApiVaultFragment, GetHeroEarnVaultsQuery, GqlChain as GqlChain$1, GqlVaultSnapshotDataRange, GetSWberaVaultSnapshotsQuery, ApiValidatorFragment, GetValidatorsQueryVariables, GetValidatorsQuery, ApiRewardAllocationWeightFragment, GetValidatorQuery, ApiValidatorMinimalFragment, ApiValidatorRewardAllocationWeightFragment, ApiMinimalVaultIncentiveFragment } from '@berachain/graphql/pol/api';
13
- import * as _berachain_graphql_beep from '@berachain/graphql/beep';
14
- import { HoneySnapshotResponse, HoneyTransactionsLatestResponse } from '@berachain/graphql/beep';
15
- 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-COOuDNra.js';
16
- 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-COOuDNra.js';
17
- import BigNumber from '@berachain/utils/pkg/bignumber.js';
18
- import { EdgeConfigSchema } from '@berachain/config/internal/edge-config';
19
- import { honeyFactoryAbi } from '@berachain/abis/honey/honeyFactory';
20
- import { honeyFactoryPythWrapperAbi } from '@berachain/abis/honey/honeyFactoryPythWrapper';
21
- import { I as IHoneySwapState } from '../useHoneySwapState-twi7NTaO.js';
22
- import { A as AutoclaimedIncentivesResponse, a as AutoclaimedIncentivesTxHashResponse, S as StakingConfig, B as BribeBoostRewardProof, b as BribeBoostRewardItem, U as UserVaultInfo } from '../pol.d-CeRgXBL8.js';
23
- import { Address as Address$1, ChainId } from '@berachain/config';
24
- import { Config } from '@wagmi/core';
25
- import { I as IContractWrite } from '../global.d-CR3zicga.js';
26
- import { GetValidatorBlockStatsQuery, GetValidatorAnalyticsQuery } from '@berachain/graphql/pol/subgraph';
27
- import '@berachain/config/internal';
28
- import '../dex-C_BB0b0O.js';
29
- import 'react/jsx-runtime';
30
- import 'react';
31
- import '../honey-CYm0RWf4.js';
32
- import '@berachain/utils/pkg/swr';
33
- import '../txnEnum-ByI5dtDi.js';
34
- import '../BeraError-7-A5JYy_.js';
35
-
36
- interface GetMaxDepositProps {
37
- vaultAddress: Address;
38
- publicClient: PublicClient;
39
- }
40
- interface MaxDeposit {
41
- /** `maxDeposit` formatted as an ether-denominated decimal string. */
42
- formatted: string;
43
- /**
44
- * True when the vault has no real deposit cap. MetaMorpho's `maxDeposit` sums
45
- * each enabled market's remaining capacity (its supply cap minus current
46
- * supply); an uncapped market stores `type(uint184).max` as its cap, so the
47
- * sum lands at ~uint184.max (≈2.45e55) — not uint256.max. `formatted` turns
48
- * that into an astronomical number, so callers must key off this flag, not
49
- * the formatted value, to detect "unlimited".
50
- *
51
- * A genuine cap is many orders of magnitude smaller (e.g. Re7 HONEY's ~92M =
52
- * ~9.2e25), so the uint184-based threshold cleanly separates the two. The sum
53
- * can exceed uint184.max when several markets are uncapped, so we compare with
54
- * `>=` rather than testing for the exact sentinel.
55
- */
56
- isUncapped: boolean;
57
- }
58
- declare function getMaxDeposit({ vaultAddress, publicClient, }: GetMaxDepositProps): Promise<MaxDeposit>;
59
-
60
- declare function getEnsoClient({ baseURL, ...args }?: BeraJS.BaseFunctionArgs & {
61
- /**
62
- * Override the Enso API base URL.
63
- *
64
- * - Omit (or pass `undefined`) → external proxy in production, direct in dev/test
65
- * - Pass a URL string (e.g. `"/api/enso"`) → route through that proxy
66
- */
67
- baseURL?: string;
68
- }): EnsoClient;
69
-
70
- declare function getAllPools({ textSearch, chain, first, orderBy, orderDirection, skip, fetchPolicy, userAddress, blacklistedPoolIds, ...args }?: Partial<GetPoolsQueryVariables & {
71
- fetchPolicy: FetchPolicy;
72
- }> & BeraJS.BaseFunctionArgs): Promise<{
73
- pools: {
74
- __typename?: "GqlPoolMinimal";
75
- id: string;
76
- name: string;
77
- address: `0x${string}`;
78
- factory?: `0x${string}` | null;
79
- protocolVersion: number;
80
- type: _berachain_graphql_dex_api.GqlPoolType;
81
- tokens: Array<{
82
- __typename?: "GqlPoolTokenExpanded";
83
- address: `0x${string}`;
84
- symbol: string;
85
- name: string;
86
- decimals: number;
87
- }>;
88
- dynamicData: {
89
- __typename?: "GqlPoolDynamicData";
90
- totalShares: string;
91
- fees24h: string;
92
- volume24h: string;
93
- swapFee: string;
94
- isInRecoveryMode: boolean;
95
- isPaused: boolean;
96
- totalLiquidity: string;
97
- aprItems: Array<{
98
- __typename?: "GqlPoolAprItem";
99
- apr: number;
100
- type: _berachain_graphql_dex_api.GqlPoolAprItemType;
101
- id: string;
102
- }>;
103
- };
104
- userBalance?: {
105
- __typename?: "GqlPoolUserBalance";
106
- totalBalanceUsd: number;
107
- walletBalance: any;
108
- walletBalanceUsd: number;
109
- } | null;
110
- rewardVault?: {
111
- __typename?: "GqlRewardVault";
112
- isVaultWhitelisted: boolean;
113
- vaultAddress: `0x${string}`;
114
- stakingTokenAddress: `0x${string}`;
115
- dynamicData?: {
116
- __typename?: "GqlRewardVaultDynamicData";
117
- activeIncentivesValueUsd: string;
118
- apr?: number | null;
119
- rewardCapturePercentage: number;
120
- } | null;
121
- } | null;
122
- }[];
123
- count: number;
124
- }>;
125
-
126
- declare function getApiPool({ poolId, account, ...args }: {
127
- poolId: string;
128
- account?: Address | undefined;
129
- } & BeraJS.BaseFunctionArgs): Promise<{
130
- __typename?: "GqlPoolComposableStable";
131
- id: string;
132
- name: string;
133
- address: `0x${string}`;
134
- factory?: `0x${string}` | null;
135
- protocolVersion: number;
136
- type: _berachain_graphql_dex_api.GqlPoolType;
137
- createTime: number;
138
- tokens: Array<{
139
- __typename?: "GqlPoolTokenDetail";
140
- index: number;
141
- address: `0x${string}`;
142
- symbol: string;
143
- name: string;
144
- decimals: number;
145
- weight?: string | null;
146
- balance: string;
147
- balanceUSD: string;
148
- }>;
149
- dynamicData: {
150
- __typename?: "GqlPoolDynamicData";
151
- totalShares: string;
152
- fees24h: string;
153
- volume24h: string;
154
- swapFee: string;
155
- isInRecoveryMode: boolean;
156
- isPaused: boolean;
157
- totalLiquidity: string;
158
- aprItems: Array<{
159
- __typename?: "GqlPoolAprItem";
160
- apr: number;
161
- type: _berachain_graphql_dex_api.GqlPoolAprItemType;
162
- id: string;
163
- }>;
164
- };
165
- rewardVault?: {
166
- __typename?: "GqlRewardVault";
167
- isVaultWhitelisted: boolean;
168
- vaultAddress: `0x${string}`;
169
- stakingTokenAddress: `0x${string}`;
170
- dynamicData?: {
171
- __typename?: "GqlRewardVaultDynamicData";
172
- activeIncentivesValueUsd: string;
173
- apr?: number | null;
174
- rewardCapturePercentage: number;
175
- } | null;
176
- } | null;
177
- } | {
178
- __typename?: "GqlPoolElement";
179
- id: string;
180
- name: string;
181
- address: `0x${string}`;
182
- factory?: `0x${string}` | null;
183
- protocolVersion: number;
184
- type: _berachain_graphql_dex_api.GqlPoolType;
185
- createTime: number;
186
- tokens: Array<{
187
- __typename?: "GqlPoolTokenDetail";
188
- index: number;
189
- address: `0x${string}`;
190
- symbol: string;
191
- name: string;
192
- decimals: number;
193
- weight?: string | null;
194
- balance: string;
195
- balanceUSD: string;
196
- }>;
197
- dynamicData: {
198
- __typename?: "GqlPoolDynamicData";
199
- totalShares: string;
200
- fees24h: string;
201
- volume24h: string;
202
- swapFee: string;
203
- isInRecoveryMode: boolean;
204
- isPaused: boolean;
205
- totalLiquidity: string;
206
- aprItems: Array<{
207
- __typename?: "GqlPoolAprItem";
208
- apr: number;
209
- type: _berachain_graphql_dex_api.GqlPoolAprItemType;
210
- id: string;
211
- }>;
212
- };
213
- rewardVault?: {
214
- __typename?: "GqlRewardVault";
215
- isVaultWhitelisted: boolean;
216
- vaultAddress: `0x${string}`;
217
- stakingTokenAddress: `0x${string}`;
218
- dynamicData?: {
219
- __typename?: "GqlRewardVaultDynamicData";
220
- activeIncentivesValueUsd: string;
221
- apr?: number | null;
222
- rewardCapturePercentage: number;
223
- } | null;
224
- } | null;
225
- } | {
226
- __typename?: "GqlPoolFx";
227
- id: string;
228
- name: string;
229
- address: `0x${string}`;
230
- factory?: `0x${string}` | null;
231
- protocolVersion: number;
232
- type: _berachain_graphql_dex_api.GqlPoolType;
233
- createTime: number;
234
- tokens: Array<{
235
- __typename?: "GqlPoolTokenDetail";
236
- index: number;
237
- address: `0x${string}`;
238
- symbol: string;
239
- name: string;
240
- decimals: number;
241
- weight?: string | null;
242
- balance: string;
243
- balanceUSD: string;
244
- }>;
245
- dynamicData: {
246
- __typename?: "GqlPoolDynamicData";
247
- totalShares: string;
248
- fees24h: string;
249
- volume24h: string;
250
- swapFee: string;
251
- isInRecoveryMode: boolean;
252
- isPaused: boolean;
253
- totalLiquidity: string;
254
- aprItems: Array<{
255
- __typename?: "GqlPoolAprItem";
256
- apr: number;
257
- type: _berachain_graphql_dex_api.GqlPoolAprItemType;
258
- id: string;
259
- }>;
260
- };
261
- rewardVault?: {
262
- __typename?: "GqlRewardVault";
263
- isVaultWhitelisted: boolean;
264
- vaultAddress: `0x${string}`;
265
- stakingTokenAddress: `0x${string}`;
266
- dynamicData?: {
267
- __typename?: "GqlRewardVaultDynamicData";
268
- activeIncentivesValueUsd: string;
269
- apr?: number | null;
270
- rewardCapturePercentage: number;
271
- } | null;
272
- } | null;
273
- } | {
274
- __typename?: "GqlPoolGyro";
275
- id: string;
276
- name: string;
277
- address: `0x${string}`;
278
- factory?: `0x${string}` | null;
279
- protocolVersion: number;
280
- type: _berachain_graphql_dex_api.GqlPoolType;
281
- createTime: number;
282
- tokens: Array<{
283
- __typename?: "GqlPoolTokenDetail";
284
- index: number;
285
- address: `0x${string}`;
286
- symbol: string;
287
- name: string;
288
- decimals: number;
289
- weight?: string | null;
290
- balance: string;
291
- balanceUSD: string;
292
- }>;
293
- dynamicData: {
294
- __typename?: "GqlPoolDynamicData";
295
- totalShares: string;
296
- fees24h: string;
297
- volume24h: string;
298
- swapFee: string;
299
- isInRecoveryMode: boolean;
300
- isPaused: boolean;
301
- totalLiquidity: string;
302
- aprItems: Array<{
303
- __typename?: "GqlPoolAprItem";
304
- apr: number;
305
- type: _berachain_graphql_dex_api.GqlPoolAprItemType;
306
- id: string;
307
- }>;
308
- };
309
- rewardVault?: {
310
- __typename?: "GqlRewardVault";
311
- isVaultWhitelisted: boolean;
312
- vaultAddress: `0x${string}`;
313
- stakingTokenAddress: `0x${string}`;
314
- dynamicData?: {
315
- __typename?: "GqlRewardVaultDynamicData";
316
- activeIncentivesValueUsd: string;
317
- apr?: number | null;
318
- rewardCapturePercentage: number;
319
- } | null;
320
- } | null;
321
- } | {
322
- __typename?: "GqlPoolLiquidityBootstrapping";
323
- id: string;
324
- name: string;
325
- address: `0x${string}`;
326
- factory?: `0x${string}` | null;
327
- protocolVersion: number;
328
- type: _berachain_graphql_dex_api.GqlPoolType;
329
- createTime: number;
330
- tokens: Array<{
331
- __typename?: "GqlPoolTokenDetail";
332
- index: number;
333
- address: `0x${string}`;
334
- symbol: string;
335
- name: string;
336
- decimals: number;
337
- weight?: string | null;
338
- balance: string;
339
- balanceUSD: string;
340
- }>;
341
- dynamicData: {
342
- __typename?: "GqlPoolDynamicData";
343
- totalShares: string;
344
- fees24h: string;
345
- volume24h: string;
346
- swapFee: string;
347
- isInRecoveryMode: boolean;
348
- isPaused: boolean;
349
- totalLiquidity: string;
350
- aprItems: Array<{
351
- __typename?: "GqlPoolAprItem";
352
- apr: number;
353
- type: _berachain_graphql_dex_api.GqlPoolAprItemType;
354
- id: string;
355
- }>;
356
- };
357
- rewardVault?: {
358
- __typename?: "GqlRewardVault";
359
- isVaultWhitelisted: boolean;
360
- vaultAddress: `0x${string}`;
361
- stakingTokenAddress: `0x${string}`;
362
- dynamicData?: {
363
- __typename?: "GqlRewardVaultDynamicData";
364
- activeIncentivesValueUsd: string;
365
- apr?: number | null;
366
- rewardCapturePercentage: number;
367
- } | null;
368
- } | null;
369
- } | {
370
- __typename?: "GqlPoolMetaStable";
371
- id: string;
372
- name: string;
373
- address: `0x${string}`;
374
- factory?: `0x${string}` | null;
375
- protocolVersion: number;
376
- type: _berachain_graphql_dex_api.GqlPoolType;
377
- createTime: number;
378
- tokens: Array<{
379
- __typename?: "GqlPoolTokenDetail";
380
- index: number;
381
- address: `0x${string}`;
382
- symbol: string;
383
- name: string;
384
- decimals: number;
385
- weight?: string | null;
386
- balance: string;
387
- balanceUSD: string;
388
- }>;
389
- dynamicData: {
390
- __typename?: "GqlPoolDynamicData";
391
- totalShares: string;
392
- fees24h: string;
393
- volume24h: string;
394
- swapFee: string;
395
- isInRecoveryMode: boolean;
396
- isPaused: boolean;
397
- totalLiquidity: string;
398
- aprItems: Array<{
399
- __typename?: "GqlPoolAprItem";
400
- apr: number;
401
- type: _berachain_graphql_dex_api.GqlPoolAprItemType;
402
- id: string;
403
- }>;
404
- };
405
- rewardVault?: {
406
- __typename?: "GqlRewardVault";
407
- isVaultWhitelisted: boolean;
408
- vaultAddress: `0x${string}`;
409
- stakingTokenAddress: `0x${string}`;
410
- dynamicData?: {
411
- __typename?: "GqlRewardVaultDynamicData";
412
- activeIncentivesValueUsd: string;
413
- apr?: number | null;
414
- rewardCapturePercentage: number;
415
- } | null;
416
- } | null;
417
- } | {
418
- __typename?: "GqlPoolStable";
419
- id: string;
420
- name: string;
421
- address: `0x${string}`;
422
- factory?: `0x${string}` | null;
423
- protocolVersion: number;
424
- type: _berachain_graphql_dex_api.GqlPoolType;
425
- createTime: number;
426
- tokens: Array<{
427
- __typename?: "GqlPoolTokenDetail";
428
- index: number;
429
- address: `0x${string}`;
430
- symbol: string;
431
- name: string;
432
- decimals: number;
433
- weight?: string | null;
434
- balance: string;
435
- balanceUSD: string;
436
- }>;
437
- dynamicData: {
438
- __typename?: "GqlPoolDynamicData";
439
- totalShares: string;
440
- fees24h: string;
441
- volume24h: string;
442
- swapFee: string;
443
- isInRecoveryMode: boolean;
444
- isPaused: boolean;
445
- totalLiquidity: string;
446
- aprItems: Array<{
447
- __typename?: "GqlPoolAprItem";
448
- apr: number;
449
- type: _berachain_graphql_dex_api.GqlPoolAprItemType;
450
- id: string;
451
- }>;
452
- };
453
- rewardVault?: {
454
- __typename?: "GqlRewardVault";
455
- isVaultWhitelisted: boolean;
456
- vaultAddress: `0x${string}`;
457
- stakingTokenAddress: `0x${string}`;
458
- dynamicData?: {
459
- __typename?: "GqlRewardVaultDynamicData";
460
- activeIncentivesValueUsd: string;
461
- apr?: number | null;
462
- rewardCapturePercentage: number;
463
- } | null;
464
- } | null;
465
- } | {
466
- __typename?: "GqlPoolWeighted";
467
- id: string;
468
- name: string;
469
- address: `0x${string}`;
470
- factory?: `0x${string}` | null;
471
- protocolVersion: number;
472
- type: _berachain_graphql_dex_api.GqlPoolType;
473
- createTime: number;
474
- tokens: Array<{
475
- __typename?: "GqlPoolTokenDetail";
476
- index: number;
477
- address: `0x${string}`;
478
- symbol: string;
479
- name: string;
480
- decimals: number;
481
- weight?: string | null;
482
- balance: string;
483
- balanceUSD: string;
484
- }>;
485
- dynamicData: {
486
- __typename?: "GqlPoolDynamicData";
487
- totalShares: string;
488
- fees24h: string;
489
- volume24h: string;
490
- swapFee: string;
491
- isInRecoveryMode: boolean;
492
- isPaused: boolean;
493
- totalLiquidity: string;
494
- aprItems: Array<{
495
- __typename?: "GqlPoolAprItem";
496
- apr: number;
497
- type: _berachain_graphql_dex_api.GqlPoolAprItemType;
498
- id: string;
499
- }>;
500
- };
501
- rewardVault?: {
502
- __typename?: "GqlRewardVault";
503
- isVaultWhitelisted: boolean;
504
- vaultAddress: `0x${string}`;
505
- stakingTokenAddress: `0x${string}`;
506
- dynamicData?: {
507
- __typename?: "GqlRewardVaultDynamicData";
508
- activeIncentivesValueUsd: string;
509
- apr?: number | null;
510
- rewardCapturePercentage: number;
511
- } | null;
512
- } | null;
513
- }>;
514
-
515
- declare function getGlobalLiquidityAndSwapVolume(args?: BeraJS.BaseFunctionArgs): Promise<GetGlobalLiquidityAndSwapVolumeQuery>;
516
-
517
- interface PoolStatus {
518
- isPoolInRecoveryMode: boolean;
519
- isPoolPaused: boolean;
520
- }
521
- declare function getPoolPausedState({ publicClient, poolAddress, }: {
522
- publicClient: PublicClient;
523
- poolAddress: Address;
524
- }): Promise<PoolStatus>;
525
-
526
- interface OnChainPool {
527
- pausedState: PoolStatus;
528
- address: Address;
529
- id: Hex;
530
- name: string;
531
- poolTokens: [
532
- /**
533
- * The addresses of the tokens in the pool
534
- */
535
- readonly Address[],
536
- /**
537
- * The balances of the tokens in the pool
538
- */
539
- string[],
540
- /**
541
- * The last change block of the pool
542
- */
543
- number
544
- ];
545
- totalSupply: string;
546
- swapFee: string;
547
- decimals: number;
548
- weights: readonly string[] | undefined;
549
- version: unknown;
550
- factory: Address;
551
- type: GqlPoolType;
552
- /**
553
- * For example, if value is 300000n and precision is 1000n, the user-set amplification parameter would be 300000n / 1000n = 300n.
554
- *
555
- * The first number is the raw value, the second number is a boolean indicating if the amplification parameter is being updated, and the third number is the precision factor.
556
- * @see https://github.com/balancer/docs-developers/blob/main/references/valuing-balancer-lp-tokens/pools/stablepools.md#getamplificationparameter
557
- */
558
- amplificationParameter: readonly [number, boolean, number] | undefined;
559
- }
560
- declare function getOnChainPool({ poolId, publicClient, ...args }: {
561
- poolId: string;
562
- publicClient: PublicClient;
563
- } & BeraJS.BaseFunctionArgs): Promise<OnChainPool>;
564
-
565
- declare function getPoolEvents({ poolId, typeInArray, ...args }: {
566
- poolId: string;
567
- typeInArray: GqlPoolEventType[];
568
- } & BeraJS.BaseFunctionArgs): Promise<GetPoolEventsQuery>;
569
-
570
- /** @deprecated */
571
- type PoolDayData = {
572
- date: number;
573
- tvlUsd: string;
574
- volumeUsd: string;
575
- feesUsd: string;
576
- };
577
- interface GetPoolHistoricalDataProps {
578
- poolId: string;
579
- chain: GqlChain;
580
- }
581
- declare function getPoolHistoricalData({ poolId, chain, ...args }: GetPoolHistoricalDataProps & BeraJS.BaseFunctionArgs): Promise<PoolHistoricalDataFragment[] | undefined>;
582
-
583
- declare const getPoolState: (apiPool: MinimalPoolFragment) => PoolState;
584
-
585
- declare function getVaultPausedState({ publicClient, ...args }: BeraJS.BaseFunctionArgs & {
586
- publicClient: PublicClient;
587
- }): Promise<boolean>;
588
-
589
1
  /**
590
- * Browser-only. Returns daily honey snapshots in the `beep` response shape
591
- * (`HoneySnapshotResponse`) the chart consumes.
592
- *
593
- * Reads from the `beep` backend (`fetchBeep`). Server callers must compose the
594
- * upstream query directly (this action is not server-safe — `fetch` against a
595
- * relative URL has no origin off-browser).
596
- */
597
- declare function getChartData({ days, }: {
598
- days: number;
599
- }): Promise<HoneySnapshotResponse>;
600
-
601
- /**
602
- * Arguments for the getCollateralWeights function.
603
- */
604
- interface GetCollateralWeightsArgs extends BeraJS.BaseFunctionArgs {
605
- client: PublicClient;
606
- collateralList: Token[];
607
- }
608
- /**
609
- * Fetches the weights of collaterals from the honey factory contract.
610
- * and returns a record of collateral addresses and their weights.
611
- *
612
- * @param {getCollateralWeightsArgs} args - The arguments for the function.
613
- * @returns {Promise<Record<Address, bigint> | undefined>} A promise that resolves to a record of collateral addresses and their weights, or undefined if an error occurs.
614
- */
615
- declare function getCollateralWeights({ client, collateralList, ...args }: GetCollateralWeightsArgs): Promise<Record<Address, bigint> | undefined>;
616
-
617
- interface GetGlobalCapLimitArgs extends BeraJS.BaseFunctionArgs {
618
- client: PublicClient;
619
- asset: Token;
620
- amount: string;
621
- isMint: boolean;
622
- latestPrices: PythLatestUpdates | undefined;
623
- isPythWrapperEnabled: boolean;
624
- }
625
- /**
626
- * Get the global cap limit for the Honey protocol.
627
- *
628
- * @param {Object} args - The arguments object.
629
- * @param {PublicClient} args.client - The client used to interact with the blockchain.
630
- * @param {Token} args.asset - The asset that is being provided for the exchange.
631
- * @param {string} args.amount - The amount of the asset.
632
- *
633
- * @returns {Promise<boolean | undefined>} If the exchange will trigger the global cap limit or get close to it.
634
- */
635
- declare function getGlobalCapLimit({ client, asset, amount, isMint, isPythWrapperEnabled, latestPrices, ...args }: GetGlobalCapLimitArgs): Promise<boolean | undefined>;
636
-
637
- /**
638
- * Browser-only. Sums the last 24 hourly honey snapshots into a 24h volume.
639
- *
640
- * Reads from the `beep` backend (`fetchBeep`), which exposes `totalVolume` per
641
- * snapshot.
642
- */
643
- declare function getHoney24hVolume(): Promise<BigNumber | undefined>;
644
-
645
- interface GetHoneyCollateralsArgs extends BeraJS.BaseFunctionArgs {
646
- /**
647
- * The public client for blockchain interactions
648
- */
649
- client: PublicClient;
650
- /**
651
- * Optional pre-fetched token data to avoid redundant contract calls
652
- */
653
- tokenData?: TokenWithMetadata[];
654
- /**
655
- * preferred collateral order coming from edge config
656
- */
657
- preferredCollateralOrder?: NonNullable<NonNullable<EdgeConfigSchema["honey"]>["preferredCollateralOrder"]>["mainnet"];
658
- }
659
- /**
660
- * Retrieves and processes collateral tokens for the Honey factory contract.
661
- * Fetches registered collateral assets from the contract, enriches them with token metadata,
662
- * and applies configurable ordering overrides.
663
- *
664
- * @returns
665
- * - `collaterals`: Array of collateral tokens with metadata, sorted by contract order and any overrides
666
- * - `referenceCollateral`: The reference collateral token used for relative & global cap limit
667
- */
668
- declare function getHoneyCollaterals({ client, tokenData, preferredCollateralOrder, ...args }: GetHoneyCollateralsArgs): Promise<{
669
- collaterals: TokenWithOrder[];
670
- referenceCollateral: TokenWithOrder;
671
- }>;
672
-
673
- /**
674
- * Gets the pause state of the Honey protocol
675
- * @returns boolean
676
- */
677
- declare function getHoneyPausedState({ client, ...args }: BeraJS.BaseFunctionArgs & {
678
- client: PublicClient;
679
- }): Promise<boolean>;
680
-
681
- /**
682
- * Gets the address of the Honey Pyth Oracle, which is called by the Honey Root Price Oracle to get the price of the collaterals
683
- * @returns
684
- */
685
- declare function getHoneyPythOracle({ pythOracle, publicClient, }: {
686
- publicClient: PublicClient;
687
- pythOracle: Address;
688
- }): Promise<`0x${string}`>;
689
-
690
- /**
691
- * Gets the address of the Honey Root Price Oracle, which keeps the logic to price the collaterals
692
- */
693
- declare function getHoneyRootPriceOracle({ publicClient, factory, ...args }: BeraJS.BaseFunctionArgs & {
694
- publicClient: PublicClient;
695
- factory?: Address;
696
- }): Promise<Address>;
697
-
698
- type HoneyTxn = HoneyTransactionsLatestResponse[number];
699
- /** beep's transaction type discriminator (`"MINT" | "REDEEM"`). */
700
- type HoneyTxnType = HoneyTxn["type"];
701
- interface GetHoneyTxnsArgs {
702
- /** Zero-based page index (the page size is applied internally). */
703
- index: number;
704
- /** Page size. */
705
- limit: number;
706
- /** Optional MINT/REDEEM filter; omit for all transactions. */
707
- txnType?: HoneyTxnType;
708
- }
709
- /**
710
- * Browser-only. Returns a page of honey transactions in the `beep` response
711
- * shape (`HoneyTransactionsLatestResponse`) the transactions table consumes.
712
- *
713
- * Reads from the `beep` backend (`fetchBeep`).
714
- */
715
- declare function getHoneyTxns({ index, limit, txnType, }: GetHoneyTxnsArgs): Promise<HoneyTransactionsLatestResponse>;
716
-
717
- interface GetRelativeCapLimitArgs extends BeraJS.BaseFunctionArgs {
718
- client: PublicClient;
719
- asset: Address;
720
- amount: string;
721
- isMint: boolean;
722
- referenceCollateral: TokenWithOrder;
723
- }
724
- /**
725
- * Get the relative cap limit for a given asset.
726
- *
727
- * @param {Object} args - The arguments object.
728
- * @param {PublicClient} args.client - The client used to interact with the blockchain.
729
- * @param {Address} args.asset - The address of the asset to get the relative cap limit for.
730
- * @param {string} args.amount - The amount of the asset to get the relative cap limit for.
731
- * @param {boolean} args.isMint - Whether the transaction is a mint or a redeem.
732
- *
733
- * @returns {Promise<boolean | undefined>} If the asset is relatively capped.
734
- */
735
- declare function getRelativeCapLimit({ client, asset, amount, isMint, referenceCollateral, ...args }: GetRelativeCapLimitArgs): Promise<boolean | undefined>;
736
-
737
- interface GetSwapPayloadReturn {
738
- address: Address;
739
- abi: Abi;
740
- functionName: "mint" | "redeem";
741
- params: ContractFunctionArgs<typeof honeyFactoryPythWrapperAbi, "payable", "mint" | "redeem"> | ContractFunctionArgs<typeof honeyFactoryAbi, "nonpayable", "mint" | "redeem">;
742
- value: bigint;
743
- }
744
- declare const getSwapPayload: ({ state, publicClient, priceFeedMap, collateralList, isPythWrapperEnabled, ...args }: BeraJS.BaseFunctionArgs & {
745
- state: Pick<IHoneySwapState, "actionType" | "fromAmount" | "collaterals" | "isBasketModeEnabled">;
746
- collateralList: TokenWithMetadata[];
747
- publicClient: PublicClient | undefined;
748
- priceFeedMap?: PythPriceFeedMap;
749
- isPythWrapperEnabled: boolean;
750
- }) => Promise<({ account }: {
751
- account: Address;
752
- }) => GetSwapPayloadReturn>;
753
-
754
- declare function isBasketModeEnabled({ client, isMint, collateralList, latestPrices, isPythWrapperEnabled, ...args }: {
755
- client: PublicClient;
756
- isMint: boolean;
757
- collateralList: Token[];
758
- latestPrices: PythLatestUpdates | undefined;
759
- isPythWrapperEnabled: boolean;
760
- } & BeraJS.BaseFunctionArgs): Promise<boolean | undefined>;
761
-
762
- /**
763
- * Gets the timestamp of a block or an estimated timestamp if the block is in the future.
764
- * @returns
765
- */
766
- declare function getBlockTimestamp({ block, currentBlock, blockTime, publicClient, }: {
767
- block: number | bigint | string;
768
- currentBlock: number | bigint | string;
769
- blockTime: number;
770
- publicClient: PublicClient;
771
- }): Promise<{
772
- timestamp: number;
773
- }>;
774
-
775
- /**
776
- * Server-side function to fetch the incentives the bot autoclaimed on behalf
777
- * of a wallet during the BGT → BERA cutover. Only valid to call once the
778
- * bgtIncentiveDistributor contract is paused.
779
- *
780
- * Returns `null` on 404 — the endpoint 404s when the bot has not yet processed
781
- * the wallet, which is a normal "no data yet" state rather than an error.
782
- */
783
- declare function getAutoclaimedIncentives({ account, ...args }: {
784
- account: Address;
785
- } & BeraJS.BaseFunctionArgs): Promise<AutoclaimedIncentivesResponse | null>;
786
-
787
- /**
788
- * Companion to `getAutoclaimedIncentives` that fetches the on-chain tx hash
789
- * for each autoclaimed token. Same nested shape as `/autoclaimed`, but each
790
- * token leaf is `{ txhash }` where the hash may be absent or empty while the
791
- * bot is still in flight.
792
- *
793
- * Returns `null` on 404 (bot has not run yet for this wallet).
794
- */
795
- declare function getAutoclaimedIncentivesTxHash({ account, ...args }: {
796
- account: Address;
797
- } & BeraJS.BaseFunctionArgs): Promise<AutoclaimedIncentivesTxHashResponse | null>;
798
-
799
- type GetBeraTokenTotalSupplyArgs = BeraJS.BaseFunctionArgs;
800
- /**
801
- * Fetches the native BERA total supply (in whole BERA units) from the
802
- * Berachain supply-monitor service.
803
- */
804
- declare function getBeraTokenTotalSupply(args?: GetBeraTokenTotalSupplyArgs): Promise<string>;
805
-
806
- /**
807
- * Reads `paused()` on the BGT incentive distributor. Used to gate the
808
- * autoclaim banner — when `true`, users can no longer self-claim and the
809
- * bot is responsible for distributing incentives on their behalf.
810
- */
811
- declare function getBgtIncentiveDistributorPaused({ publicClient, ...args }: {
812
- publicClient: PublicClient | undefined;
813
- } & BeraJS.BaseFunctionArgs): Promise<boolean>;
814
-
815
- declare function getBlockTime({ defaultBlockTime, publicClient, blocksSpan, ...args }: {
816
- defaultBlockTime?: number;
817
- blocksSpan?: number;
818
- publicClient: PublicClient | undefined;
819
- } & BeraJS.BaseFunctionArgs): Promise<number>;
820
-
821
- type GetEarnedStakedBeraVaultArgs = {
822
- /**
823
- * The token that the user has staked
824
- */
825
- address: Address;
826
- /**
827
- * The account that the user has staked
828
- */
829
- account: Address;
830
- };
831
- declare function getEarnedStakedBeraVault({ address, account, ...args }: BeraJS.BaseFunctionArgs & GetEarnedStakedBeraVaultArgs): Promise<{
832
- currentDepositRate: _berachain_graphql_beep.components["schemas"]["BigIntStr"];
833
- earningsTotal: _berachain_graphql_beep.components["schemas"]["BigIntStr"];
834
- earningsRealized: _berachain_graphql_beep.components["schemas"]["BigIntStr"];
835
- earningsUnrealized: _berachain_graphql_beep.components["schemas"]["BigIntStr"];
836
- shareLots: {
837
- shares: _berachain_graphql_beep.components["schemas"]["BigIntStr"];
838
- depositRate: _berachain_graphql_beep.components["schemas"]["DecimalStr"];
839
- }[];
840
- sortedEvents: ({
841
- _height: _berachain_graphql_beep.components["schemas"]["BigIntStr"];
842
- _log_index: number;
843
- assets: _berachain_graphql_beep.components["schemas"]["BigIntStr"];
844
- shares: _berachain_graphql_beep.components["schemas"]["BigIntStr"];
845
- _type: "deposit" | "withdrawal";
846
- sender: _berachain_graphql_beep.components["schemas"]["EvmAddress"];
847
- owner: _berachain_graphql_beep.components["schemas"]["EvmAddress"];
848
- total_assets: _berachain_graphql_beep.components["schemas"]["BigIntStr"];
849
- } | {
850
- _height: _berachain_graphql_beep.components["schemas"]["BigIntStr"];
851
- _log_index: number;
852
- assets: _berachain_graphql_beep.components["schemas"]["BigIntStr"];
853
- shares: _berachain_graphql_beep.components["schemas"]["BigIntStr"];
854
- _type: "transfer";
855
- from: _berachain_graphql_beep.components["schemas"]["EvmAddress"];
856
- to: _berachain_graphql_beep.components["schemas"]["EvmAddress"];
857
- value: _berachain_graphql_beep.components["schemas"]["BigIntStr"];
858
- })[];
859
- }>;
860
-
861
- interface HeroEarnVaults {
862
- /**
863
- * Top-APR PoL reward vaults, ordered by APR descending. Callers typically
864
- * read `[0]` for the "Earn with PoL" hero subtitle. `bestAprExcludedAddresses`
865
- * lets callers filter out non-incentivized earn actions whose APR figures
866
- * would otherwise dominate the listing and mislead users.
867
- */
868
- bestApr: ApiVaultFragment[];
869
- /**
870
- * Highest-APR PoL reward vault among vaults whose protocol is "bend".
871
- * Its `stakingToken.address` is a Bend vault share token — match it back
872
- * against `bendVaults` to combine the PoL reward APR with the underlying
873
- * Bend native supply APY.
874
- */
875
- bendRewardVault: ApiVaultFragment[];
876
- /**
877
- * Minimal Bend native vault data (address + `totalApy`) used to look up the
878
- * underlying Bend supply APY for whichever Bend vault `bendRewardVault`
879
- * resolves to.
880
- */
881
- bendVaults: GetHeroEarnVaultsQuery["bendVaults"];
882
- }
883
- /**
884
- * Batched fetch for the hub home page hero cards. Issues a single GraphQL
885
- * request to the BEX API that returns:
886
- * - the top-APR PoL reward vaults (for the "Earn with PoL" card)
887
- * - the highest-APR Bend-protocol PoL reward vault (for the "Lend" card)
888
- * - minimal Bend native vault data, so callers can add the Bend supply APY
889
- * on top of the PoL reward APR when displaying the combined Lend APY
890
- */
891
- declare function getHeroEarnVaults({ bestAprExcludedAddresses, ...args }?: {
892
- bestAprExcludedAddresses?: string[];
893
- } & BeraJS.BaseFunctionArgs): Promise<HeroEarnVaults>;
894
-
895
- type GetLSTStakeConfigArgs = {
896
- tokenList: TokenWithMetadata[];
897
- publicClient?: PublicClient;
898
- lstStakingVaults: Address[];
899
- } & BeraJS.BaseFunctionArgs;
900
- /**
901
- * Builds staking configs from on-chain LST vaults and optional native configs.
902
- */
903
- declare function getLSTStakeConfig({ tokenList, publicClient, lstStakingVaults, ...args }: GetLSTStakeConfigArgs): Promise<StakingConfig[]>;
904
-
905
- declare function getRewardProofsByValidator({ account, validator, page, perPage, ...args }: {
906
- account: Address;
907
- validator: Address;
908
- page?: number;
909
- perPage?: number;
910
- } & BeraJS.BaseFunctionArgs): Promise<BribeBoostRewardProof>;
911
-
912
- /**
913
- *
914
- * @param address - The address of the vault
915
- * @throws {Error} If the vault is not found
916
- * @returns
917
- */
918
- declare function getRewardTokenToBeraRate({ address, publicClient, }: {
919
- address: Address;
920
- publicClient?: PublicClient;
921
- }): Promise<number>;
922
-
923
- /**
924
- *
925
- * @param address - The address of the vault
926
- * @throws {Error} If the vault is not found
927
- * @returns
928
- */
929
- declare function getRewardVault({ address, chainName, ...args }: {
930
- address: Address;
931
- chainName?: GqlChain$1;
932
- } & BeraJS.BaseFunctionArgs): Promise<ApiVaultFragment>;
933
-
934
- interface RewardVaultDurationConstants {
935
- minRewardDuration: number;
936
- maxRewardDuration: number;
937
- }
938
- /**
939
- * Returns the minimum and maximum reward duration constants for all reward vaults.
940
- */
941
- declare function getRewardVaultDurationConstants({ publicClient, ...baseArgs }: BeraJS.BaseFunctionArgs & {
942
- publicClient: PublicClient;
943
- }): Promise<RewardVaultDurationConstants>;
944
-
945
- declare function getRewardVaultFromToken({ tokenAddress, publicClient, factoryAddress, ...args }: {
946
- tokenAddress: Address;
947
- publicClient: PublicClient;
948
- factoryAddress?: Address;
949
- } & BeraJS.BaseFunctionArgs): Promise<`0x${string}` | null>;
950
-
951
- declare function getRewardVaultStakingToken({ address, publicClient, }: {
952
- address: Address;
953
- publicClient: NonNullable<PublicClient>;
954
- }): Promise<`0x${string}`>;
955
-
956
- /**
957
- *
958
- * @throws {Error} If the vault is not found
959
- * @returns
960
- */
961
- declare function getStakedBeraAPR({ window, ...args }: {
962
- /**
963
- * APR might vary depending on the annualized time window (day or week)
964
- */
965
- window: "DAY" | "WEEK";
966
- } & BeraJS.BaseFunctionArgs): Promise<number>;
967
-
968
- type GetStakedBeraSnapshotsArgs = {
969
- chain?: GqlChain$1;
970
- range?: GqlVaultSnapshotDataRange;
971
- } & BeraJS.BaseFunctionArgs;
972
- /**
973
- *
974
- * @throws {Error} If the vault is not found
975
- * @returns
976
- */
977
- declare function getStakedBeraSnapshots({ chain, range, ...args }?: GetStakedBeraSnapshotsArgs): Promise<GetSWberaVaultSnapshotsQuery["polGetSWberaVaultSnapshots"]>;
978
-
979
- declare function getStakeWithdrawalCooldown({ publicClient, address, }: {
980
- publicClient: PublicClient;
981
- address: Address;
982
- }): Promise<number>;
983
-
984
- /**
985
- * Get the total staked amount for a given vault address
986
- * @param vaultAddresses - The addresses of the vaults to get the total staked amount for
987
- * @param publicClient - The public client to use to get the total staked amount
988
- * @returns The total staked amount for the given vault addresses
989
- */
990
- declare function getTotalStakedAmount({ vaultAddresses, publicClient, }: {
991
- vaultAddresses: Address$1[];
992
- publicClient?: PublicClient;
993
- } & BeraJS.BaseFunctionArgs): Promise<Record<Address$1, bigint>>;
994
-
995
- /**
996
- * Server-side function to get user claimable incentives grouped by validator
997
- */
998
- declare function getUserClaimableIncentives({ account, ...args }: {
999
- account: Address;
1000
- } & BeraJS.BaseFunctionArgs): Promise<BribeBoostRewardItem[] | null>;
1001
-
1002
- interface GetUserVaultInfoParams {
1003
- account: Address;
1004
- vaultAddress: Address;
1005
- publicClient: PublicClient | undefined;
1006
- }
1007
- declare function getUserVaultInfo({ account, vaultAddress, publicClient, }: GetUserVaultInfoParams): Promise<UserVaultInfo>;
1008
-
1009
- interface GetUserVaultsInfo {
1010
- account: string | undefined;
1011
- vaultAddress: Address;
1012
- publicClient: PublicClient | undefined;
1013
- }
1014
- /**
1015
- * Gets claimable rewards for a user's vault.
1016
- *
1017
- * It can also be used to get the claimable fees from the BGT staker
1018
- * @returns
1019
- */
1020
- declare function getUserVaultsReward({ account, vaultAddress, publicClient, }: GetUserVaultsInfo): Promise<bigint>;
1021
-
1022
- declare function getVaultValidators({ address, onlyActiveValidators, ...args }: {
1023
- address: Address;
1024
- onlyActiveValidators?: boolean;
1025
- } & BeraJS.BaseFunctionArgs): Promise<ApiValidatorFragment[]>;
1026
-
1027
- declare function getTokenCurrentPrices({ addressIn: _addressIn, ...args }: {
1028
- addressIn: string[];
1029
- } & BeraJS.BaseFunctionArgs): Promise<TokenCurrentPriceMap>;
1030
-
1031
- /**
1032
- * Given a list of tokens, it will return the price feed ids for each token according to honey priceOracle
1033
- * @returns
1034
- */
1035
- declare function getHoneyPythFeeds({ tokenList, publicClient, ...args }: {
1036
- tokenList: readonly Address$1[];
1037
- publicClient: PublicClient;
1038
- } & BeraJS.BaseFunctionArgs): Promise<PythPriceFeedMap>;
1039
-
1040
- declare function getPythUpdateFee({ client, priceFeedId, ...args }: {
1041
- client: PublicClient;
1042
- priceFeedId: Address[];
1043
- } & BeraJS.BaseFunctionArgs): Promise<bigint>;
1044
-
1045
- interface GetAllowances {
1046
- items: AllowanceQueryItem[] | undefined;
1047
- account: `0x${string}` | undefined;
1048
- config: Config | undefined;
1049
- }
1050
- type GetAllowancesResponse = AllowanceToken[] | undefined;
1051
- declare function getAllowances({ items: itemsList, account, config, }: GetAllowances): Promise<GetAllowancesResponse>;
1052
-
1053
- interface GetTokenInformation {
1054
- address: Address;
1055
- publicClient: PublicClient;
1056
- chainId: ChainId;
1057
- }
1058
- type GetTokenInformationResponse = MinimalERC20;
1059
- declare function getTokenInformation({ address, publicClient, chainId, }: GetTokenInformation): Promise<GetTokenInformationResponse>;
1060
-
1061
- declare function getTokens({ url, ...args }?: BeraJS.BaseFunctionArgs & {
1062
- url?: string;
1063
- }): Promise<TokenWithMetadata[]>;
1064
-
1065
- interface GetWalletBalances {
1066
- account: string | undefined;
1067
- tokenList: Token[] | undefined;
1068
- wagmiConfig: Config | undefined;
1069
- }
1070
- /**
1071
- * Returns the payload for the balanceOf call for a given token and account.
1072
- *
1073
- * @internal
1074
- * @returns
1075
- */
1076
- declare function getBalanceCall({ token, account, multicallAddress, }: {
1077
- token: Token;
1078
- account: Address;
1079
- multicallAddress: Address;
1080
- }): {
1081
- readonly address: `0x${string}`;
1082
- readonly abi: readonly [{
1083
- readonly inputs: readonly [{
1084
- readonly components: readonly [{
1085
- readonly internalType: "address";
1086
- readonly name: "target";
1087
- readonly type: "address";
1088
- }, {
1089
- readonly internalType: "bytes";
1090
- readonly name: "callData";
1091
- readonly type: "bytes";
1092
- }];
1093
- readonly internalType: "struct Multicall3.Call[]";
1094
- readonly name: "calls";
1095
- readonly type: "tuple[]";
1096
- }];
1097
- readonly name: "aggregate";
1098
- readonly outputs: readonly [{
1099
- readonly internalType: "uint256";
1100
- readonly name: "blockNumber";
1101
- readonly type: "uint256";
1102
- }, {
1103
- readonly internalType: "bytes[]";
1104
- readonly name: "returnData";
1105
- readonly type: "bytes[]";
1106
- }];
1107
- readonly stateMutability: "payable";
1108
- readonly type: "function";
1109
- }, {
1110
- readonly inputs: readonly [{
1111
- readonly components: readonly [{
1112
- readonly internalType: "address";
1113
- readonly name: "target";
1114
- readonly type: "address";
1115
- }, {
1116
- readonly internalType: "bool";
1117
- readonly name: "allowFailure";
1118
- readonly type: "bool";
1119
- }, {
1120
- readonly internalType: "bytes";
1121
- readonly name: "callData";
1122
- readonly type: "bytes";
1123
- }];
1124
- readonly internalType: "struct Multicall3.Call3[]";
1125
- readonly name: "calls";
1126
- readonly type: "tuple[]";
1127
- }];
1128
- readonly name: "aggregate3";
1129
- readonly outputs: readonly [{
1130
- readonly components: readonly [{
1131
- readonly internalType: "bool";
1132
- readonly name: "success";
1133
- readonly type: "bool";
1134
- }, {
1135
- readonly internalType: "bytes";
1136
- readonly name: "returnData";
1137
- readonly type: "bytes";
1138
- }];
1139
- readonly internalType: "struct Multicall3.Result[]";
1140
- readonly name: "returnData";
1141
- readonly type: "tuple[]";
1142
- }];
1143
- readonly stateMutability: "payable";
1144
- readonly type: "function";
1145
- }, {
1146
- readonly inputs: readonly [{
1147
- readonly components: readonly [{
1148
- readonly internalType: "address";
1149
- readonly name: "target";
1150
- readonly type: "address";
1151
- }, {
1152
- readonly internalType: "bool";
1153
- readonly name: "allowFailure";
1154
- readonly type: "bool";
1155
- }, {
1156
- readonly internalType: "uint256";
1157
- readonly name: "value";
1158
- readonly type: "uint256";
1159
- }, {
1160
- readonly internalType: "bytes";
1161
- readonly name: "callData";
1162
- readonly type: "bytes";
1163
- }];
1164
- readonly internalType: "struct Multicall3.Call3Value[]";
1165
- readonly name: "calls";
1166
- readonly type: "tuple[]";
1167
- }];
1168
- readonly name: "aggregate3Value";
1169
- readonly outputs: readonly [{
1170
- readonly components: readonly [{
1171
- readonly internalType: "bool";
1172
- readonly name: "success";
1173
- readonly type: "bool";
1174
- }, {
1175
- readonly internalType: "bytes";
1176
- readonly name: "returnData";
1177
- readonly type: "bytes";
1178
- }];
1179
- readonly internalType: "struct Multicall3.Result[]";
1180
- readonly name: "returnData";
1181
- readonly type: "tuple[]";
1182
- }];
1183
- readonly stateMutability: "payable";
1184
- readonly type: "function";
1185
- }, {
1186
- readonly inputs: readonly [{
1187
- readonly components: readonly [{
1188
- readonly internalType: "address";
1189
- readonly name: "target";
1190
- readonly type: "address";
1191
- }, {
1192
- readonly internalType: "bytes";
1193
- readonly name: "callData";
1194
- readonly type: "bytes";
1195
- }];
1196
- readonly internalType: "struct Multicall3.Call[]";
1197
- readonly name: "calls";
1198
- readonly type: "tuple[]";
1199
- }];
1200
- readonly name: "blockAndAggregate";
1201
- readonly outputs: readonly [{
1202
- readonly internalType: "uint256";
1203
- readonly name: "blockNumber";
1204
- readonly type: "uint256";
1205
- }, {
1206
- readonly internalType: "bytes32";
1207
- readonly name: "blockHash";
1208
- readonly type: "bytes32";
1209
- }, {
1210
- readonly components: readonly [{
1211
- readonly internalType: "bool";
1212
- readonly name: "success";
1213
- readonly type: "bool";
1214
- }, {
1215
- readonly internalType: "bytes";
1216
- readonly name: "returnData";
1217
- readonly type: "bytes";
1218
- }];
1219
- readonly internalType: "struct Multicall3.Result[]";
1220
- readonly name: "returnData";
1221
- readonly type: "tuple[]";
1222
- }];
1223
- readonly stateMutability: "payable";
1224
- readonly type: "function";
1225
- }, {
1226
- readonly inputs: readonly [];
1227
- readonly name: "getBasefee";
1228
- readonly outputs: readonly [{
1229
- readonly internalType: "uint256";
1230
- readonly name: "basefee";
1231
- readonly type: "uint256";
1232
- }];
1233
- readonly stateMutability: "view";
1234
- readonly type: "function";
1235
- }, {
1236
- readonly inputs: readonly [{
1237
- readonly internalType: "uint256";
1238
- readonly name: "blockNumber";
1239
- readonly type: "uint256";
1240
- }];
1241
- readonly name: "getBlockHash";
1242
- readonly outputs: readonly [{
1243
- readonly internalType: "bytes32";
1244
- readonly name: "blockHash";
1245
- readonly type: "bytes32";
1246
- }];
1247
- readonly stateMutability: "view";
1248
- readonly type: "function";
1249
- }, {
1250
- readonly inputs: readonly [];
1251
- readonly name: "getBlockNumber";
1252
- readonly outputs: readonly [{
1253
- readonly internalType: "uint256";
1254
- readonly name: "blockNumber";
1255
- readonly type: "uint256";
1256
- }];
1257
- readonly stateMutability: "view";
1258
- readonly type: "function";
1259
- }, {
1260
- readonly inputs: readonly [];
1261
- readonly name: "getChainId";
1262
- readonly outputs: readonly [{
1263
- readonly internalType: "uint256";
1264
- readonly name: "chainid";
1265
- readonly type: "uint256";
1266
- }];
1267
- readonly stateMutability: "view";
1268
- readonly type: "function";
1269
- }, {
1270
- readonly inputs: readonly [];
1271
- readonly name: "getCurrentBlockCoinbase";
1272
- readonly outputs: readonly [{
1273
- readonly internalType: "address";
1274
- readonly name: "coinbase";
1275
- readonly type: "address";
1276
- }];
1277
- readonly stateMutability: "view";
1278
- readonly type: "function";
1279
- }, {
1280
- readonly inputs: readonly [];
1281
- readonly name: "getCurrentBlockDifficulty";
1282
- readonly outputs: readonly [{
1283
- readonly internalType: "uint256";
1284
- readonly name: "difficulty";
1285
- readonly type: "uint256";
1286
- }];
1287
- readonly stateMutability: "view";
1288
- readonly type: "function";
1289
- }, {
1290
- readonly inputs: readonly [];
1291
- readonly name: "getCurrentBlockGasLimit";
1292
- readonly outputs: readonly [{
1293
- readonly internalType: "uint256";
1294
- readonly name: "gaslimit";
1295
- readonly type: "uint256";
1296
- }];
1297
- readonly stateMutability: "view";
1298
- readonly type: "function";
1299
- }, {
1300
- readonly inputs: readonly [];
1301
- readonly name: "getCurrentBlockTimestamp";
1302
- readonly outputs: readonly [{
1303
- readonly internalType: "uint256";
1304
- readonly name: "timestamp";
1305
- readonly type: "uint256";
1306
- }];
1307
- readonly stateMutability: "view";
1308
- readonly type: "function";
1309
- }, {
1310
- readonly inputs: readonly [{
1311
- readonly internalType: "address";
1312
- readonly name: "addr";
1313
- readonly type: "address";
1314
- }];
1315
- readonly name: "getEthBalance";
1316
- readonly outputs: readonly [{
1317
- readonly internalType: "uint256";
1318
- readonly name: "balance";
1319
- readonly type: "uint256";
1320
- }];
1321
- readonly stateMutability: "view";
1322
- readonly type: "function";
1323
- }, {
1324
- readonly inputs: readonly [];
1325
- readonly name: "getLastBlockHash";
1326
- readonly outputs: readonly [{
1327
- readonly internalType: "bytes32";
1328
- readonly name: "blockHash";
1329
- readonly type: "bytes32";
1330
- }];
1331
- readonly stateMutability: "view";
1332
- readonly type: "function";
1333
- }, {
1334
- readonly inputs: readonly [{
1335
- readonly internalType: "bool";
1336
- readonly name: "requireSuccess";
1337
- readonly type: "bool";
1338
- }, {
1339
- readonly components: readonly [{
1340
- readonly internalType: "address";
1341
- readonly name: "target";
1342
- readonly type: "address";
1343
- }, {
1344
- readonly internalType: "bytes";
1345
- readonly name: "callData";
1346
- readonly type: "bytes";
1347
- }];
1348
- readonly internalType: "struct Multicall3.Call[]";
1349
- readonly name: "calls";
1350
- readonly type: "tuple[]";
1351
- }];
1352
- readonly name: "tryAggregate";
1353
- readonly outputs: readonly [{
1354
- readonly components: readonly [{
1355
- readonly internalType: "bool";
1356
- readonly name: "success";
1357
- readonly type: "bool";
1358
- }, {
1359
- readonly internalType: "bytes";
1360
- readonly name: "returnData";
1361
- readonly type: "bytes";
1362
- }];
1363
- readonly internalType: "struct Multicall3.Result[]";
1364
- readonly name: "returnData";
1365
- readonly type: "tuple[]";
1366
- }];
1367
- readonly stateMutability: "payable";
1368
- readonly type: "function";
1369
- }, {
1370
- readonly inputs: readonly [{
1371
- readonly internalType: "bool";
1372
- readonly name: "requireSuccess";
1373
- readonly type: "bool";
1374
- }, {
1375
- readonly components: readonly [{
1376
- readonly internalType: "address";
1377
- readonly name: "target";
1378
- readonly type: "address";
1379
- }, {
1380
- readonly internalType: "bytes";
1381
- readonly name: "callData";
1382
- readonly type: "bytes";
1383
- }];
1384
- readonly internalType: "struct Multicall3.Call[]";
1385
- readonly name: "calls";
1386
- readonly type: "tuple[]";
1387
- }];
1388
- readonly name: "tryBlockAndAggregate";
1389
- readonly outputs: readonly [{
1390
- readonly internalType: "uint256";
1391
- readonly name: "blockNumber";
1392
- readonly type: "uint256";
1393
- }, {
1394
- readonly internalType: "bytes32";
1395
- readonly name: "blockHash";
1396
- readonly type: "bytes32";
1397
- }, {
1398
- readonly components: readonly [{
1399
- readonly internalType: "bool";
1400
- readonly name: "success";
1401
- readonly type: "bool";
1402
- }, {
1403
- readonly internalType: "bytes";
1404
- readonly name: "returnData";
1405
- readonly type: "bytes";
1406
- }];
1407
- readonly internalType: "struct Multicall3.Result[]";
1408
- readonly name: "returnData";
1409
- readonly type: "tuple[]";
1410
- }];
1411
- readonly stateMutability: "payable";
1412
- readonly type: "function";
1413
- }];
1414
- readonly functionName: "getEthBalance";
1415
- readonly args: readonly [`0x${string}`];
1416
- } | {
1417
- readonly address: Address;
1418
- readonly abi: readonly [{
1419
- readonly type: "event";
1420
- readonly name: "Approval";
1421
- readonly inputs: readonly [{
1422
- readonly indexed: true;
1423
- readonly name: "owner";
1424
- readonly type: "address";
1425
- }, {
1426
- readonly indexed: true;
1427
- readonly name: "spender";
1428
- readonly type: "address";
1429
- }, {
1430
- readonly indexed: false;
1431
- readonly name: "value";
1432
- readonly type: "uint256";
1433
- }];
1434
- }, {
1435
- readonly type: "event";
1436
- readonly name: "Transfer";
1437
- readonly inputs: readonly [{
1438
- readonly indexed: true;
1439
- readonly name: "from";
1440
- readonly type: "address";
1441
- }, {
1442
- readonly indexed: true;
1443
- readonly name: "to";
1444
- readonly type: "address";
1445
- }, {
1446
- readonly indexed: false;
1447
- readonly name: "value";
1448
- readonly type: "uint256";
1449
- }];
1450
- }, {
1451
- readonly type: "function";
1452
- readonly name: "allowance";
1453
- readonly stateMutability: "view";
1454
- readonly inputs: readonly [{
1455
- readonly name: "owner";
1456
- readonly type: "address";
1457
- }, {
1458
- readonly name: "spender";
1459
- readonly type: "address";
1460
- }];
1461
- readonly outputs: readonly [{
1462
- readonly type: "uint256";
1463
- }];
1464
- }, {
1465
- readonly type: "function";
1466
- readonly name: "approve";
1467
- readonly stateMutability: "nonpayable";
1468
- readonly inputs: readonly [{
1469
- readonly name: "spender";
1470
- readonly type: "address";
1471
- }, {
1472
- readonly name: "amount";
1473
- readonly type: "uint256";
1474
- }];
1475
- readonly outputs: readonly [{
1476
- readonly type: "bool";
1477
- }];
1478
- }, {
1479
- readonly type: "function";
1480
- readonly name: "balanceOf";
1481
- readonly stateMutability: "view";
1482
- readonly inputs: readonly [{
1483
- readonly name: "account";
1484
- readonly type: "address";
1485
- }];
1486
- readonly outputs: readonly [{
1487
- readonly type: "uint256";
1488
- }];
1489
- }, {
1490
- readonly type: "function";
1491
- readonly name: "decimals";
1492
- readonly stateMutability: "view";
1493
- readonly inputs: readonly [];
1494
- readonly outputs: readonly [{
1495
- readonly type: "uint8";
1496
- }];
1497
- }, {
1498
- readonly type: "function";
1499
- readonly name: "name";
1500
- readonly stateMutability: "view";
1501
- readonly inputs: readonly [];
1502
- readonly outputs: readonly [{
1503
- readonly type: "string";
1504
- }];
1505
- }, {
1506
- readonly type: "function";
1507
- readonly name: "symbol";
1508
- readonly stateMutability: "view";
1509
- readonly inputs: readonly [];
1510
- readonly outputs: readonly [{
1511
- readonly type: "string";
1512
- }];
1513
- }, {
1514
- readonly type: "function";
1515
- readonly name: "totalSupply";
1516
- readonly stateMutability: "view";
1517
- readonly inputs: readonly [];
1518
- readonly outputs: readonly [{
1519
- readonly type: "uint256";
1520
- }];
1521
- }, {
1522
- readonly type: "function";
1523
- readonly name: "transfer";
1524
- readonly stateMutability: "nonpayable";
1525
- readonly inputs: readonly [{
1526
- readonly name: "recipient";
1527
- readonly type: "address";
1528
- }, {
1529
- readonly name: "amount";
1530
- readonly type: "uint256";
1531
- }];
1532
- readonly outputs: readonly [{
1533
- readonly type: "bool";
1534
- }];
1535
- }, {
1536
- readonly type: "function";
1537
- readonly name: "transferFrom";
1538
- readonly stateMutability: "nonpayable";
1539
- readonly inputs: readonly [{
1540
- readonly name: "sender";
1541
- readonly type: "address";
1542
- }, {
1543
- readonly name: "recipient";
1544
- readonly type: "address";
1545
- }, {
1546
- readonly name: "amount";
1547
- readonly type: "uint256";
1548
- }];
1549
- readonly outputs: readonly [{
1550
- readonly type: "bool";
1551
- }];
1552
- }];
1553
- readonly functionName: "balanceOf";
1554
- readonly args: readonly [`0x${string}`];
1555
- };
1556
- /**
1557
- * fetch the balances of a given wallet address
1558
- */
1559
- declare function getWalletBalances({ account, tokenList, wagmiConfig: config, }: GetWalletBalances): Promise<BalanceToken[] | undefined>;
1560
-
1561
- declare function isImpersonateAccount(chainId?: number): boolean;
1562
- declare function beraWriteContract<abi extends Abi | undefined = undefined, functionName extends abi extends Abi ? ContractFunctionName<abi> : never = abi extends Abi ? ContractFunctionName<abi> : never, params extends abi extends Abi ? ContractFunctionArgs<abi, "payable" | "nonpayable", functionName> : never = abi extends Abi ? ContractFunctionArgs<abi, "payable" | "nonpayable", functionName> : never>(args: IContractWrite<abi, functionName, params> & {
1563
- enableSimulateCalls?: boolean;
1564
- chainId?: number;
1565
- impersonateAccount?: boolean;
1566
- /**
1567
- * The polling interval in milliseconds to fetch the on-chain transaction status
1568
- * @default 1000 (1 second)
1569
- */
1570
- pollingInterval?: number;
1571
- /**
1572
- * The timeout in milliseconds to wait for the transaction to be confirmed.
1573
- * @default 120_000 (2 minutes)
1574
- */
1575
- txConfirmationTimeout?: number;
1576
- }): Promise<TransactionReceipt | WalletCallReceipt<bigint, "success" | "reverted"> | undefined>;
1577
-
1578
- interface ActiveBoostAndCommissionChangeDelay {
1579
- boostDelay: number;
1580
- unboostDelay: number;
1581
- commissionChangeDelay: number;
1582
- rewardAllocationBlockDelay: number;
1583
- maxWeightPerVault: number;
1584
- maxNumWeightsPerRewardAllocation: number;
1585
- /**
1586
- * Percentage of the validator's commission rate that can be changed at once.
1587
- *
1588
- * @example 1 => 100%
1589
- */
1590
- maxCommissionRate: number;
1591
- /**
1592
- * The number of blocks after which a reward allocation is considered stale and will fallback
1593
- * to baseline reward allocation.
1594
- *
1595
- */
1596
- rewardAllocationInactivityBlockSpan: number;
1597
- /**
1598
- * The number of hours in advance to warn the operator that the reward allocation is expiring.
1599
- */
1600
- ui: EdgeConfigSchema["pol"]["automatedRewardAllocation"];
1601
- }
1602
- declare function getActiveBoostAndCommissionChangeDelay({ publicClient, ui, ...args }: BeraJS.BaseFunctionArgs & Pick<ActiveBoostAndCommissionChangeDelay, "ui"> & {
1603
- publicClient: PublicClient;
1604
- }): Promise<ActiveBoostAndCommissionChangeDelay>;
1605
-
1606
- declare function getAllValidators({ variables, ...args }?: {
1607
- variables?: GetValidatorsQueryVariables;
1608
- } & BeraJS.BaseFunctionArgs): Promise<GetValidatorsQuery | undefined>;
1609
-
1610
- declare function getApiEnrichedAllocation({ allocation, }: {
1611
- allocation: ValidatorRewardAllocation;
1612
- }): Promise<ApiRewardAllocationWeightFragment[]>;
1613
-
1614
- declare function getApiValidator({ id, ...args }: {
1615
- /**
1616
- * The validator keccak256 pubkey
1617
- */
1618
- id: Address;
1619
- } & BeraJS.BaseFunctionArgs): Promise<GetValidatorQuery>;
1620
-
1621
- /**
1622
- * Browser-only. Hits `/api/pol/validator-block-stats`. Server callers (RSC)
1623
- * should import from `@berachain/berajs/actions/server` instead — that path
1624
- * has the static Apollo + GraphQL imports and does not pass through the
1625
- * browser endpoint.
1626
- */
1627
- declare function getDailyValidatorBlockStats({ pubKey, first, }: {
1628
- pubKey: Address;
1629
- first?: number;
1630
- }): Promise<GetValidatorBlockStatsQuery | undefined>;
1631
-
1632
- declare function isDefaultRewardAllocation(rewardAllocation: ValidatorRewardAllocation): boolean;
1633
- declare function getDefaultRewardAllocation({ client, ...args }: {
1634
- client: PublicClient;
1635
- }): Promise<ValidatorRewardAllocation>;
1636
-
1637
- /**
1638
- * Get the current number of BERA in the batch for a validator's staking pool
1639
- * The batch can contain at most 10K BERA, then the batch will be sent to the contract
1640
- * @param client - The public client
1641
- * @param valPubKey - The public key of the validator
1642
- * @returns The current batch number
1643
- */
1644
- declare function getStakingPoolBatch({ client, valPubKey, }: {
1645
- client: PublicClient;
1646
- valPubKey: `0x${string}`;
1647
- }): Promise<number>;
1648
-
1649
- /** Browser-only. Hits `/api/pol/validator-analytics`. */
1650
- declare function getValidatorAnalytics({ pubkey, dayRange, }: {
1651
- pubkey: Address;
1652
- dayRange: number;
1653
- }): Promise<GetValidatorAnalyticsQuery | undefined>;
1654
-
1655
- declare function getValidatorCommission({ client, pubKey, ...args }: {
1656
- client: PublicClient;
1657
- pubKey: Address;
1658
- } & BeraJS.BaseFunctionArgs): Promise<number | undefined | null>;
1659
-
1660
- declare const getValidatorEstimatedBgtPerYear: (validator: ApiValidatorMinimalFragment, totalStakedBeraAmount: number, blockTime: number) => number;
1661
-
1662
- declare function getValidatorOperatorAddress({ client, pubKey, ...args }: BeraJS.BaseFunctionArgs & {
1663
- client: PublicClient;
1664
- pubKey: Address;
1665
- }): Promise<Address | undefined>;
1666
-
1667
- declare function getValidatorQueuedRewardAllocation({ client, pubKey, ...args }: BeraJS.BaseFunctionArgs & {
1668
- client: PublicClient;
1669
- pubKey: Address;
1670
- }): Promise<ValidatorRewardAllocation | undefined>;
1671
-
1672
- declare function aggregateValidatorIncentives({ rewardAllocationWeights, activeOnly, }: {
1673
- rewardAllocationWeights: ApiValidatorRewardAllocationWeightFragment[];
1674
- activeOnly?: boolean;
1675
- }): ApiMinimalVaultIncentiveFragment[];
1676
-
1677
- declare function getValidatorReturnPerBgt(validator: Pick<ApiValidatorFragment, "dynamicData" | "rewardAllocationWeights">): number;
1678
- declare function getValidatorBoostApy({ validator, bgtPrice, }: {
1679
- validator: Pick<ApiValidatorFragment, "dynamicData" | "rewardAllocationWeights">;
1680
- bgtPrice: number;
1681
- }): number;
1682
-
1683
- 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 MaxDeposit, type OnChainPool, type PoolDayData, type PoolStatus, PythLatestUpdates, type RewardVaultDurationConstants, ValidatorRewardAllocation, aggregateValidatorIncentives, beraWriteContract, getActiveBoostAndCommissionChangeDelay, getAllPools, getAllValidators, getAllowances, getApiEnrichedAllocation, getApiPool, getApiValidator, getAutoclaimedIncentives, getAutoclaimedIncentivesTxHash, getBalanceCall, getBeraTokenTotalSupply, getBgtIncentiveDistributorPaused, getBlockTime, getBlockTimestamp, getChartData, getCollateralWeights, getDailyValidatorBlockStats, getDefaultRewardAllocation, getEarnedStakedBeraVault, getEnsoClient, getGlobalCapLimit, getGlobalLiquidityAndSwapVolume, getHeroEarnVaults, getHoney24hVolume, getHoneyCollaterals, getHoneyPausedState, getHoneyPythFeeds, getHoneyPythOracle, getHoneyRootPriceOracle, getHoneyTxns, getLSTStakeConfig, getMaxDeposit, getOnChainPool, getPoolEvents, getPoolHistoricalData, getPoolPausedState, 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 };
2
+ * This file avoids more barrel files.
3
+ *
4
+ * It's used to speed up the build process.
5
+ *
6
+ * @see {@link https://marvinh.dev/blog/speeding-up-javascript-ecosystem-part-7/}
7
+ */
8
+ export * from "./bend/getConvertToAssets";
9
+ export * from "./bend/getMaxDeposit";
10
+ export { BeraApolloClient } from "./clients/BeraApolloClient";
11
+ export { getApolloClient, gql, } from "./clients/getApolloClient";
12
+ export * from "./clients/getEnsoClient";
13
+ export * from "./dex/aggregators/base";
14
+ export * from "./dex/bSdk";
15
+ export * from "./dex/getAllPools";
16
+ export * from "./dex/getApiPool";
17
+ export * from "./dex/getGlobalLiquidityAndSwapVolume";
18
+ export * from "./dex/getOnChainPool";
19
+ export * from "./dex/getPoolEvents";
20
+ export * from "./dex/getPoolHistoricalData";
21
+ export * from "./dex/getPoolPausedState";
22
+ export * from "./dex/getPoolWithState";
23
+ export * from "./dex/getVaultPausedState";
24
+ export * from "./honey/getChartData";
25
+ export * from "./honey/getCollateralWeights";
26
+ export * from "./honey/getGlobalCapLimit";
27
+ export * from "./honey/getHoney24hVolume";
28
+ export * from "./honey/getHoneyCollaterals";
29
+ export * from "./honey/getHoneyFees";
30
+ export * from "./honey/getHoneyPausedState";
31
+ export * from "./honey/getHoneyPreview";
32
+ export * from "./honey/getHoneyPythPriceOracle";
33
+ export * from "./honey/getHoneyRootPriceOracle";
34
+ export * from "./honey/getHoneyTxns";
35
+ export * from "./honey/getHoneyVaultsBalance";
36
+ export * from "./honey/getPythLatestPrices";
37
+ export * from "./honey/getRelativeCapLimit";
38
+ export * from "./honey/getSwapPayload";
39
+ export * from "./honey/isBadCollateralAsset";
40
+ export * from "./honey/isBasketModeEnabled";
41
+ export * from "./misc/getBlockTimestamp";
42
+ export * from "./pol/getAutoclaimedIncentives";
43
+ export * from "./pol/getAutoclaimedIncentivesTxHash";
44
+ export * from "./pol/getBeraTokenTotalSupply";
45
+ export * from "./pol/getBgtAprSimulation";
46
+ export * from "./pol/getBgtIncentiveDistributorPaused";
47
+ export * from "./pol/getBlockTime";
48
+ export * from "./pol/getEarnedStakedBeraVault";
49
+ export * from "./pol/getGlobalData";
50
+ export * from "./pol/getHeroEarnVaults";
51
+ export * from "./pol/getLSTStakeConfig";
52
+ export * from "./pol/getMarkets";
53
+ export * from "./pol/getRewardProofsByValidator";
54
+ export * from "./pol/getRewardTokenToBeraRate";
55
+ export * from "./pol/getRewardVault";
56
+ export * from "./pol/getRewardVaultDurationConstants";
57
+ export * from "./pol/getRewardVaultEarnedRewards";
58
+ export * from "./pol/getRewardVaultFromToken";
59
+ export * from "./pol/getRewardVaultIncentives";
60
+ export * from "./pol/getRewardVaultRewards";
61
+ export * from "./pol/getRewardVaultStakingToken";
62
+ export * from "./pol/getRewardVaults";
63
+ export * from "./pol/getStakedBeraAPR";
64
+ export * from "./pol/getStakedBeraSnapshots";
65
+ export * from "./pol/getStakeWithdrawalCooldown";
66
+ export * from "./pol/getSWBeraVaultMetadata";
67
+ export * from "./pol/getSWBeraWithdrawal";
68
+ export * from "./pol/getTotalStakedAmount";
69
+ export * from "./pol/getUserClaimableIncentives";
70
+ export * from "./pol/getUserVaultInfo";
71
+ export * from "./pol/getUserVaults";
72
+ export * from "./pol/getVaultHistory";
73
+ export * from "./pol/getVaultValidators";
74
+ export * from "./prices/getTokenCurrentPrices";
75
+ export * from "./pyth/getHoneyPythFeeds";
76
+ export * from "./pyth/getUpdateFee";
77
+ export * from "./tokens/getAllowances";
78
+ export * from "./tokens/getTokenInformation";
79
+ export * from "./tokens/getTokens";
80
+ export * from "./tokens/getWalletBalances";
81
+ export * from "./transactions/beraWriteContract";
82
+ export * from "./validators/getActiveBoostAndCommissionChangeDelay";
83
+ export * from "./validators/getAllValidators";
84
+ export * from "./validators/getApiEnrichedAllocation";
85
+ export * from "./validators/getApiValidator";
86
+ export * from "./validators/getDefaultRewardAllocation";
87
+ export * from "./validators/getStakingPoolBatch";
88
+ export * from "./validators/getUserActiveValidators";
89
+ export * from "./validators/getUserBoostsOnValidator";
90
+ export * from "./validators/getUserStakingPositions";
91
+ export * from "./validators/getValidatorAnalytics";
92
+ export * from "./validators/getValidatorCommission";
93
+ export * from "./validators/getValidatorEstimatedBgtPerYear";
94
+ export * from "./validators/getValidatorOperatorAddress";
95
+ export * from "./validators/getValidatorQueuedCommission";
96
+ export * from "./validators/getValidatorQueuedOperatorAddress";
97
+ export * from "./validators/getValidatorQueuedRewardAllocation";
98
+ export * from "./validators/getValidatorRewardAllocation";
99
+ export * from "./validators/utils/aggregateValidatorIncentives";
100
+ export * from "./validators/utils/getValidatorBoostApy";
101
+ //# sourceMappingURL=exports.d.ts.map