@bze/bze-ui-kit 0.2.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -40,9 +40,10 @@ import * as _bze_bzejs_cosmos_base_v1beta1_coin from '@bze/bzejs/cosmos/base/v1b
40
40
  import { Coin } from '@bze/bzejs/cosmos/base/v1beta1/coin';
41
41
  import { ParamsSDKType } from '@bze/bzejs/bze/burner/params';
42
42
  import { QueryAllBurnedCoinsResponseSDKType } from '@bze/bzejs/bze/burner/query';
43
+ import { GetBlockByHeightResponseSDKType } from '@bze/bzejs/cosmos/base/tendermint/v1beta1/query';
44
+ import { RaffleWinnerSDKType, RaffleSDKType } from '@bze/bzejs/bze/burner/raffle';
43
45
  import * as _bze_bzejs_cosmos_bank_v1beta1_bank from '@bze/bzejs/cosmos/bank/v1beta1/bank';
44
46
  import { QueryEpochsInfoResponseSDKType } from '@bze/bzejs/bze/epochs/query';
45
- import * as _bze_bzejs_bze_epochs_epoch from '@bze/bzejs/bze/epochs/epoch';
46
47
  import { EpochInfoSDKType } from '@bze/bzejs/bze/epochs/epoch';
47
48
  import { QueryUserMarketOrdersResponseSDKType, QueryMarketAggregatedOrdersResponseSDKType, QueryMarketHistoryResponseSDKType, QueryMarketOrderResponseSDKType } from '@bze/bzejs/bze/tradebin/query';
48
49
  import { QueryAllPendingUnlockParticipantsResponseSDKType, QueryStakingRewardParticipantResponseSDKType, QueryAllStakingRewardsResponseSDKType } from '@bze/bzejs/bze/rewards/query';
@@ -274,6 +275,22 @@ interface AddressValidationResult {
274
275
  message: string;
275
276
  }
276
277
 
278
+ interface BurnHistoryItem {
279
+ denom: string;
280
+ amount: BigNumber;
281
+ usdValue: BigNumber;
282
+ blockHeight: string;
283
+ timestamp: string;
284
+ date?: Date;
285
+ }
286
+ interface NextBurn {
287
+ coins: {
288
+ denom: string;
289
+ amount: string;
290
+ }[];
291
+ date: Date;
292
+ }
293
+
277
294
  interface Attribute {
278
295
  key: string;
279
296
  value: string;
@@ -298,6 +315,12 @@ declare const RAFFLE_CHANGED_EVENT = "raffle_changed";
298
315
  declare const LOCK_CHANGED_EVENT = "lock_changed";
299
316
  declare const EPOCH_START_EVENT = "epoch_start";
300
317
 
318
+ interface BlockResults {
319
+ result: {
320
+ finalize_block_events: TendermintEvent[];
321
+ };
322
+ }
323
+
301
324
  declare function toBigNumber(amount: string | number | BigNumber | bigint): BigNumber;
302
325
  declare function uAmountToAmount(amount: string | number | BigNumber | bigint | undefined, noOfDecimals: number): string;
303
326
  declare function uAmountToBigNumberAmount(amount: string | number | BigNumber | bigint | undefined, noOfDecimals: number): BigNumber;
@@ -861,6 +884,26 @@ declare function getLockedBalances(): Promise<Coin[]>;
861
884
  declare const getBurnerParams: () => Promise<ParamsSDKType | undefined>;
862
885
  declare const getBurnerParamsWithClient: (client: Awaited<ReturnType<typeof getRestClient>>) => Promise<ParamsSDKType | undefined>;
863
886
  declare function getAllBurnedCoins(): Promise<QueryAllBurnedCoinsResponseSDKType>;
887
+ declare function getNextBurning(): Promise<NextBurn | undefined>;
888
+
889
+ declare function getBlockDetailsByHeight(height: BigNumber): Promise<GetBlockByHeightResponseSDKType>;
890
+ declare function getBlockTimeByHeight(height: BigNumber): Promise<Date | undefined>;
891
+ declare function getBlockResults(height: number): Promise<BlockResults | undefined>;
892
+
893
+ declare function getHardcodedLockAddress(): string;
894
+ declare function getBurnerModuleAddress(): string;
895
+ declare function getRaffleModuleAddress(): string;
896
+ declare function getModuleAddress(module: string): Promise<string>;
897
+
898
+ declare function getRaffles(): Promise<RaffleSDKType[]>;
899
+ declare function getRaffleWinners(denom: string): Promise<RaffleWinnerSDKType[]>;
900
+ interface RaffleResult {
901
+ hasWon: boolean;
902
+ amount: string;
903
+ denom: string;
904
+ address: string;
905
+ }
906
+ declare function checkAddressWonRaffle(address: string, denom: string, height: number): Promise<RaffleResult | undefined>;
864
907
 
865
908
  declare const getAllSupply: () => Promise<_bze_bzejs_cosmos_base_v1beta1_coin.CoinSDKType[] | undefined>;
866
909
  declare const getAllSupplyMetadata: () => Promise<_bze_bzejs_cosmos_bank_v1beta1_bank.MetadataSDKType[] | undefined>;
@@ -1025,12 +1068,24 @@ declare function useBalance(denom: string): {
1025
1068
  };
1026
1069
 
1027
1070
  declare function useEpochs(): {
1028
- epochs: Map<string, _bze_bzejs_bze_epochs_epoch.EpochInfoSDKType>;
1029
- hourEpochInfo: _bze_bzejs_bze_epochs_epoch.EpochInfoSDKType | undefined;
1030
- dayEpochInfo: _bze_bzejs_bze_epochs_epoch.EpochInfoSDKType | undefined;
1031
- weekEpochInfo: _bze_bzejs_bze_epochs_epoch.EpochInfoSDKType | undefined;
1071
+ epochs: EpochInfoSDKType[];
1072
+ epochsMap: Map<string, EpochInfoSDKType>;
1073
+ hourEpochInfo: EpochInfoSDKType | undefined;
1074
+ dayEpochInfo: EpochInfoSDKType | undefined;
1075
+ weekEpochInfo: EpochInfoSDKType | undefined;
1032
1076
  isLoading: boolean;
1033
1077
  updateEpochs: () => void;
1078
+ getCurrentEpoch: (identifier: string) => EpochInfoSDKType | undefined;
1079
+ getHourEpochInfo: () => EpochInfoSDKType | undefined;
1080
+ getDayEpochInfo: () => EpochInfoSDKType | undefined;
1081
+ getWeekEpochInfo: () => EpochInfoSDKType | undefined;
1082
+ getCurrentWeekEpochEndTime: () => Date | undefined;
1083
+ getPeriodicWeekEpochEndTime: (modWeek?: number) => Date | undefined;
1084
+ getPeriodicEpochEndTime: (identifier: string, modWeek?: number) => Date | undefined;
1085
+ };
1086
+ declare function useEpochsManager(): {
1087
+ updateEpochs: () => void;
1088
+ isLoading: boolean;
1034
1089
  };
1035
1090
 
1036
1091
  declare function useLiquidityPools(): {
@@ -1203,4 +1258,4 @@ interface SettingsToggleProps {
1203
1258
  }
1204
1259
  declare function SettingsToggle({ accentColor }: SettingsToggleProps): react_jsx_runtime.JSX.Element;
1205
1260
 
1206
- export { ASSET_TYPE_FACTORY, ASSET_TYPE_IBC, ASSET_TYPE_LP, ASSET_TYPE_NATIVE, type ActiveOrders, type AddressRewardsStaking, type AddressValidationResult, type AppSettings, type Asset, type AssetBalance, AssetsContext, type AssetsContextType, type Attribute, BZE_CIRCLE_LOGO, BZE_TESTNET_2_SUGGEST_CHAIN, BZE_TESTNET_NETWORK, type Balance, type BeeZeeEndpoints, CHART_1D, CHART_1Y, CHART_30D, CHART_4H, CHART_7D, CONNECTION_TYPE_NONE, CONNECTION_TYPE_POLLING, CONNECTION_TYPE_WS, CURRENT_WALLET_BALANCE_EVENT, type ChainAssets, type ConnectionType, type CounterpartyChainForChannel, DEFAULT_SETTINGS, DEFAULT_TX_MEMO, type DenomTrace, ECOSYSTEM_MENU_LABEL, EPOCH_START_EVENT, EXCLUDED_ASSETS, EXCLUDED_MARKETS, type EcosystemApp, type EndpointValidationResults, type EventCallback, type ExtendedPendingUnlockParticipantSDKType, HighlightText, type HistoryOrder, type IBCCounterparty, type IBCData, type IbcTransitionMock, type InternalEvent, LOCK_CHANGED_EVENT, LP_ASSETS_DECIMALS, type LiquidityPoolData, MAINNET_CHAIN_INFO_FALLBACK, type Market, type MarketData, NEXT_BURN_CHANGED_EVENT, type NativeStakingData, type NativeUnbondingSummary, ORDER_BOOK_CHANGED_EVENT, ORDER_EXECUTED_EVENT, ORDER_TYPE_BUY, ORDER_TYPE_SELL, type PrettyBalance, type PriceApiResponse, RAFFLE_CHANGED_EVENT, SETTINGS_STORAGE_KEY, STABLE_COINS, SUPPLY_CHANGED_EVENT, SWAP_EXECUTED_EVENT, SettingsSidebarContent, SettingsToggle, Sidebar, type SwapHistory, type SwapRouteResult, TESTNET_CHAIN_INFO_FALLBACK, TOKEN_LOGO_PLACEHOLDER, TTL_NO_EXPIRY, type TendermintEvent, Toaster, type TradeViewChart, type TxOptions, TxStatus, type UserNativeStakingData, type UserNativeStakingRewards, type UserPoolData, VALIDATION_ERRORS, VERIFIED_ASSETS, type ValidationResult, WalletSidebarContent, addDebounce, addMultipleDebounce, ammRouter, amountToBigNumberUAmount, amountToUAmount, blockchainEventManager, calcNativeStakingApr, calculateAmountFromPrice, calculatePoolOppositeAmount, calculatePoolPrice, calculatePricePerUnit, calculateRewardsStakingApr, calculateRewardsStakingPendingRewards, calculateTotalAmount, calculateUserPoolData, canDepositFromIBC, canSendToIBC, cancelDebounce, convertToWebSocketUrl, counterpartyChainForChannel, createMarketId, createPoolId, createRestClient, denomOnFirstHopChainFromTrace, formatDate, formatTimeRemaining, formatTimeRemainingFromEpochs, formatUsdAmount, getAddressBalances, getAddressDelegations, getAddressFullMarketOrders, getAddressHistory, getAddressMarketOrders, getAddressNativeDelegatedBalance, getAddressNativeTotalRewards, getAddressPendingUnlock, getAddressRewards, getAddressStakingRewards, getAddressSwapHistory, getAddressUnbondingDelegations, getAddressUnbondingDelegationsSummary, getAggregatorHost, getAllBurnedCoins, getAllSupply, getAllSupplyMetadata, getAllTickers, getAnnualProvisions, getAppName, getArchwayRestURL, getArchwayRpcURL, getAssetLists, getAtomOneRestURL, getAtomOneRpcUrl, getBZEUSDPrice, getBurnerParams, getBurnerParamsWithClient, getChainAddressPrefix, getChainAssets, getChainByChainId, getChainByName, getChainExplorerURL, getChainId, getChainName, getChainNativeAssetDenom, getChains, getChartIntervalsLimit, getChartMinutes, getCurrentEpoch, getCurrentWeekEpochEndTime, getDefaultTxMemo, getDenomType, getDistributionParams, getEcosystemApps, getEpochDurationByIdentifier, getEpochsInfo, getFactoryDenomAdminAddress, getFromLocalStorage, getHashIBCTrace, getHourEpochInfo, getIBCAssetList, getIBCTraces, getIbcTransferTimeout, getJackalRestURL, getJackalRpcUrl, getKeyExpiry, getLiquidityPool, getLiquidityPools, getLockedBalances, getLockerAddress, getMarketBuyOrders, getMarketEventKey, getMarketHistory, getMarketOrder, getMarketOrderBookChangedEvent, getMarketOrders, getMarketOrdersHistory, getMarketSellOrders, getMarkets, getMinAmount, getNoOfIntervalsNeeded, getNobleRestURL, getNobleRpcUrl, getOmniFlixRestURL, getOmniFlixRpcUrl, getOsmosisRestURL, getOsmosisRpcUrl, getPageRequestWithLimit, getPendingUnlockParticipants, getPeriodicEpochEndTime, getPeriodicWeekEpochEndTime, getRestClient, getRestURL, getRpcURL, getSettings, getStakingParams, getStakingPool, getStakingRewardParticipantByAddress, getStakingRewards, getTradingViewIntervals, getUSDCDenom, getValidatorPageUrl, getValidatorSupportedDenoms, getWalletChainsNames, getWeekEpochInfo, intlDateFormat, isFactoryDenom, isIbcAsset, isIbcDenom, isLpDenom, isNativeDenom, isPoolSupportedByValidator, isTestnetChain, keplrSuggestChain, mapEventAttributes, openExternalLink, parseUnbondingDays, poolIdFromPoolDenom, prettyAmount, prettyError, priceToBigNumberUPrice, priceToUPrice, removeFromLocalStorage, removeLeadingZeros, sanitizeIntegerInput, sanitizeNumberInput, setDefaultTxMemo, setInLocalStorage, setKeyExpiry, setSettings, setStorageKeyVersion, shortNumberFormat, sleep, stringTruncateFromCenter, toBigNumber, toPercentage, truncateAddress, truncateDenom, uAmountToAmount, uAmountToBigNumberAmount, uPriceToBigNumberPrice, uPriceToPrice, useAsset, useAssetLiquidityPools, useAssetMarkets, useAssetPrice, useAssets, useAssetsContext, useAssetsManager, useAssetsValue, useBZETx, useBalance, useBalances, useConnectionType, useEpochs, useFeeTokens, useIBCChains, useIBCTx, useLiquidityPool, useLiquidityPools, useMarket, useMarkets, useMarketsManager, useSDKTx, useSettings, useSigningClient, useToast, validateBZEBech32Address, validateBech32Address, validateEndpoints, validateRestEndpoint, validateRpcEndpoint };
1261
+ export { ASSET_TYPE_FACTORY, ASSET_TYPE_IBC, ASSET_TYPE_LP, ASSET_TYPE_NATIVE, type ActiveOrders, type AddressRewardsStaking, type AddressValidationResult, type AppSettings, type Asset, type AssetBalance, AssetsContext, type AssetsContextType, type Attribute, BZE_CIRCLE_LOGO, BZE_TESTNET_2_SUGGEST_CHAIN, BZE_TESTNET_NETWORK, type Balance, type BeeZeeEndpoints, type BlockResults, type BurnHistoryItem, CHART_1D, CHART_1Y, CHART_30D, CHART_4H, CHART_7D, CONNECTION_TYPE_NONE, CONNECTION_TYPE_POLLING, CONNECTION_TYPE_WS, CURRENT_WALLET_BALANCE_EVENT, type ChainAssets, type ConnectionType, type CounterpartyChainForChannel, DEFAULT_SETTINGS, DEFAULT_TX_MEMO, type DenomTrace, ECOSYSTEM_MENU_LABEL, EPOCH_START_EVENT, EXCLUDED_ASSETS, EXCLUDED_MARKETS, type EcosystemApp, type EndpointValidationResults, type EventCallback, type ExtendedPendingUnlockParticipantSDKType, HighlightText, type HistoryOrder, type IBCCounterparty, type IBCData, type IbcTransitionMock, type InternalEvent, LOCK_CHANGED_EVENT, LP_ASSETS_DECIMALS, type LiquidityPoolData, MAINNET_CHAIN_INFO_FALLBACK, type Market, type MarketData, NEXT_BURN_CHANGED_EVENT, type NativeStakingData, type NativeUnbondingSummary, type NextBurn, ORDER_BOOK_CHANGED_EVENT, ORDER_EXECUTED_EVENT, ORDER_TYPE_BUY, ORDER_TYPE_SELL, type PrettyBalance, type PriceApiResponse, RAFFLE_CHANGED_EVENT, SETTINGS_STORAGE_KEY, STABLE_COINS, SUPPLY_CHANGED_EVENT, SWAP_EXECUTED_EVENT, SettingsSidebarContent, SettingsToggle, Sidebar, type SwapHistory, type SwapRouteResult, TESTNET_CHAIN_INFO_FALLBACK, TOKEN_LOGO_PLACEHOLDER, TTL_NO_EXPIRY, type TendermintEvent, Toaster, type TradeViewChart, type TxOptions, TxStatus, type UserNativeStakingData, type UserNativeStakingRewards, type UserPoolData, VALIDATION_ERRORS, VERIFIED_ASSETS, type ValidationResult, WalletSidebarContent, addDebounce, addMultipleDebounce, ammRouter, amountToBigNumberUAmount, amountToUAmount, blockchainEventManager, calcNativeStakingApr, calculateAmountFromPrice, calculatePoolOppositeAmount, calculatePoolPrice, calculatePricePerUnit, calculateRewardsStakingApr, calculateRewardsStakingPendingRewards, calculateTotalAmount, calculateUserPoolData, canDepositFromIBC, canSendToIBC, cancelDebounce, checkAddressWonRaffle, convertToWebSocketUrl, counterpartyChainForChannel, createMarketId, createPoolId, createRestClient, denomOnFirstHopChainFromTrace, formatDate, formatTimeRemaining, formatTimeRemainingFromEpochs, formatUsdAmount, getAddressBalances, getAddressDelegations, getAddressFullMarketOrders, getAddressHistory, getAddressMarketOrders, getAddressNativeDelegatedBalance, getAddressNativeTotalRewards, getAddressPendingUnlock, getAddressRewards, getAddressStakingRewards, getAddressSwapHistory, getAddressUnbondingDelegations, getAddressUnbondingDelegationsSummary, getAggregatorHost, getAllBurnedCoins, getAllSupply, getAllSupplyMetadata, getAllTickers, getAnnualProvisions, getAppName, getArchwayRestURL, getArchwayRpcURL, getAssetLists, getAtomOneRestURL, getAtomOneRpcUrl, getBZEUSDPrice, getBlockDetailsByHeight, getBlockResults, getBlockTimeByHeight, getBurnerModuleAddress, getBurnerParams, getBurnerParamsWithClient, getChainAddressPrefix, getChainAssets, getChainByChainId, getChainByName, getChainExplorerURL, getChainId, getChainName, getChainNativeAssetDenom, getChains, getChartIntervalsLimit, getChartMinutes, getCurrentEpoch, getCurrentWeekEpochEndTime, getDefaultTxMemo, getDenomType, getDistributionParams, getEcosystemApps, getEpochDurationByIdentifier, getEpochsInfo, getFactoryDenomAdminAddress, getFromLocalStorage, getHardcodedLockAddress, getHashIBCTrace, getHourEpochInfo, getIBCAssetList, getIBCTraces, getIbcTransferTimeout, getJackalRestURL, getJackalRpcUrl, getKeyExpiry, getLiquidityPool, getLiquidityPools, getLockedBalances, getLockerAddress, getMarketBuyOrders, getMarketEventKey, getMarketHistory, getMarketOrder, getMarketOrderBookChangedEvent, getMarketOrders, getMarketOrdersHistory, getMarketSellOrders, getMarkets, getMinAmount, getModuleAddress, getNextBurning, getNoOfIntervalsNeeded, getNobleRestURL, getNobleRpcUrl, getOmniFlixRestURL, getOmniFlixRpcUrl, getOsmosisRestURL, getOsmosisRpcUrl, getPageRequestWithLimit, getPendingUnlockParticipants, getPeriodicEpochEndTime, getPeriodicWeekEpochEndTime, getRaffleModuleAddress, getRaffleWinners, getRaffles, getRestClient, getRestURL, getRpcURL, getSettings, getStakingParams, getStakingPool, getStakingRewardParticipantByAddress, getStakingRewards, getTradingViewIntervals, getUSDCDenom, getValidatorPageUrl, getValidatorSupportedDenoms, getWalletChainsNames, getWeekEpochInfo, intlDateFormat, isFactoryDenom, isIbcAsset, isIbcDenom, isLpDenom, isNativeDenom, isPoolSupportedByValidator, isTestnetChain, keplrSuggestChain, mapEventAttributes, openExternalLink, parseUnbondingDays, poolIdFromPoolDenom, prettyAmount, prettyError, priceToBigNumberUPrice, priceToUPrice, removeFromLocalStorage, removeLeadingZeros, sanitizeIntegerInput, sanitizeNumberInput, setDefaultTxMemo, setInLocalStorage, setKeyExpiry, setSettings, setStorageKeyVersion, shortNumberFormat, sleep, stringTruncateFromCenter, toBigNumber, toPercentage, truncateAddress, truncateDenom, uAmountToAmount, uAmountToBigNumberAmount, uPriceToBigNumberPrice, uPriceToPrice, useAsset, useAssetLiquidityPools, useAssetMarkets, useAssetPrice, useAssets, useAssetsContext, useAssetsManager, useAssetsValue, useBZETx, useBalance, useBalances, useConnectionType, useEpochs, useEpochsManager, useFeeTokens, useIBCChains, useIBCTx, useLiquidityPool, useLiquidityPools, useMarket, useMarkets, useMarketsManager, useSDKTx, useSettings, useSigningClient, useToast, validateBZEBech32Address, validateBech32Address, validateEndpoints, validateRestEndpoint, validateRpcEndpoint };
package/dist/index.d.ts CHANGED
@@ -40,9 +40,10 @@ import * as _bze_bzejs_cosmos_base_v1beta1_coin from '@bze/bzejs/cosmos/base/v1b
40
40
  import { Coin } from '@bze/bzejs/cosmos/base/v1beta1/coin';
41
41
  import { ParamsSDKType } from '@bze/bzejs/bze/burner/params';
42
42
  import { QueryAllBurnedCoinsResponseSDKType } from '@bze/bzejs/bze/burner/query';
43
+ import { GetBlockByHeightResponseSDKType } from '@bze/bzejs/cosmos/base/tendermint/v1beta1/query';
44
+ import { RaffleWinnerSDKType, RaffleSDKType } from '@bze/bzejs/bze/burner/raffle';
43
45
  import * as _bze_bzejs_cosmos_bank_v1beta1_bank from '@bze/bzejs/cosmos/bank/v1beta1/bank';
44
46
  import { QueryEpochsInfoResponseSDKType } from '@bze/bzejs/bze/epochs/query';
45
- import * as _bze_bzejs_bze_epochs_epoch from '@bze/bzejs/bze/epochs/epoch';
46
47
  import { EpochInfoSDKType } from '@bze/bzejs/bze/epochs/epoch';
47
48
  import { QueryUserMarketOrdersResponseSDKType, QueryMarketAggregatedOrdersResponseSDKType, QueryMarketHistoryResponseSDKType, QueryMarketOrderResponseSDKType } from '@bze/bzejs/bze/tradebin/query';
48
49
  import { QueryAllPendingUnlockParticipantsResponseSDKType, QueryStakingRewardParticipantResponseSDKType, QueryAllStakingRewardsResponseSDKType } from '@bze/bzejs/bze/rewards/query';
@@ -274,6 +275,22 @@ interface AddressValidationResult {
274
275
  message: string;
275
276
  }
276
277
 
278
+ interface BurnHistoryItem {
279
+ denom: string;
280
+ amount: BigNumber;
281
+ usdValue: BigNumber;
282
+ blockHeight: string;
283
+ timestamp: string;
284
+ date?: Date;
285
+ }
286
+ interface NextBurn {
287
+ coins: {
288
+ denom: string;
289
+ amount: string;
290
+ }[];
291
+ date: Date;
292
+ }
293
+
277
294
  interface Attribute {
278
295
  key: string;
279
296
  value: string;
@@ -298,6 +315,12 @@ declare const RAFFLE_CHANGED_EVENT = "raffle_changed";
298
315
  declare const LOCK_CHANGED_EVENT = "lock_changed";
299
316
  declare const EPOCH_START_EVENT = "epoch_start";
300
317
 
318
+ interface BlockResults {
319
+ result: {
320
+ finalize_block_events: TendermintEvent[];
321
+ };
322
+ }
323
+
301
324
  declare function toBigNumber(amount: string | number | BigNumber | bigint): BigNumber;
302
325
  declare function uAmountToAmount(amount: string | number | BigNumber | bigint | undefined, noOfDecimals: number): string;
303
326
  declare function uAmountToBigNumberAmount(amount: string | number | BigNumber | bigint | undefined, noOfDecimals: number): BigNumber;
@@ -861,6 +884,26 @@ declare function getLockedBalances(): Promise<Coin[]>;
861
884
  declare const getBurnerParams: () => Promise<ParamsSDKType | undefined>;
862
885
  declare const getBurnerParamsWithClient: (client: Awaited<ReturnType<typeof getRestClient>>) => Promise<ParamsSDKType | undefined>;
863
886
  declare function getAllBurnedCoins(): Promise<QueryAllBurnedCoinsResponseSDKType>;
887
+ declare function getNextBurning(): Promise<NextBurn | undefined>;
888
+
889
+ declare function getBlockDetailsByHeight(height: BigNumber): Promise<GetBlockByHeightResponseSDKType>;
890
+ declare function getBlockTimeByHeight(height: BigNumber): Promise<Date | undefined>;
891
+ declare function getBlockResults(height: number): Promise<BlockResults | undefined>;
892
+
893
+ declare function getHardcodedLockAddress(): string;
894
+ declare function getBurnerModuleAddress(): string;
895
+ declare function getRaffleModuleAddress(): string;
896
+ declare function getModuleAddress(module: string): Promise<string>;
897
+
898
+ declare function getRaffles(): Promise<RaffleSDKType[]>;
899
+ declare function getRaffleWinners(denom: string): Promise<RaffleWinnerSDKType[]>;
900
+ interface RaffleResult {
901
+ hasWon: boolean;
902
+ amount: string;
903
+ denom: string;
904
+ address: string;
905
+ }
906
+ declare function checkAddressWonRaffle(address: string, denom: string, height: number): Promise<RaffleResult | undefined>;
864
907
 
865
908
  declare const getAllSupply: () => Promise<_bze_bzejs_cosmos_base_v1beta1_coin.CoinSDKType[] | undefined>;
866
909
  declare const getAllSupplyMetadata: () => Promise<_bze_bzejs_cosmos_bank_v1beta1_bank.MetadataSDKType[] | undefined>;
@@ -1025,12 +1068,24 @@ declare function useBalance(denom: string): {
1025
1068
  };
1026
1069
 
1027
1070
  declare function useEpochs(): {
1028
- epochs: Map<string, _bze_bzejs_bze_epochs_epoch.EpochInfoSDKType>;
1029
- hourEpochInfo: _bze_bzejs_bze_epochs_epoch.EpochInfoSDKType | undefined;
1030
- dayEpochInfo: _bze_bzejs_bze_epochs_epoch.EpochInfoSDKType | undefined;
1031
- weekEpochInfo: _bze_bzejs_bze_epochs_epoch.EpochInfoSDKType | undefined;
1071
+ epochs: EpochInfoSDKType[];
1072
+ epochsMap: Map<string, EpochInfoSDKType>;
1073
+ hourEpochInfo: EpochInfoSDKType | undefined;
1074
+ dayEpochInfo: EpochInfoSDKType | undefined;
1075
+ weekEpochInfo: EpochInfoSDKType | undefined;
1032
1076
  isLoading: boolean;
1033
1077
  updateEpochs: () => void;
1078
+ getCurrentEpoch: (identifier: string) => EpochInfoSDKType | undefined;
1079
+ getHourEpochInfo: () => EpochInfoSDKType | undefined;
1080
+ getDayEpochInfo: () => EpochInfoSDKType | undefined;
1081
+ getWeekEpochInfo: () => EpochInfoSDKType | undefined;
1082
+ getCurrentWeekEpochEndTime: () => Date | undefined;
1083
+ getPeriodicWeekEpochEndTime: (modWeek?: number) => Date | undefined;
1084
+ getPeriodicEpochEndTime: (identifier: string, modWeek?: number) => Date | undefined;
1085
+ };
1086
+ declare function useEpochsManager(): {
1087
+ updateEpochs: () => void;
1088
+ isLoading: boolean;
1034
1089
  };
1035
1090
 
1036
1091
  declare function useLiquidityPools(): {
@@ -1203,4 +1258,4 @@ interface SettingsToggleProps {
1203
1258
  }
1204
1259
  declare function SettingsToggle({ accentColor }: SettingsToggleProps): react_jsx_runtime.JSX.Element;
1205
1260
 
1206
- export { ASSET_TYPE_FACTORY, ASSET_TYPE_IBC, ASSET_TYPE_LP, ASSET_TYPE_NATIVE, type ActiveOrders, type AddressRewardsStaking, type AddressValidationResult, type AppSettings, type Asset, type AssetBalance, AssetsContext, type AssetsContextType, type Attribute, BZE_CIRCLE_LOGO, BZE_TESTNET_2_SUGGEST_CHAIN, BZE_TESTNET_NETWORK, type Balance, type BeeZeeEndpoints, CHART_1D, CHART_1Y, CHART_30D, CHART_4H, CHART_7D, CONNECTION_TYPE_NONE, CONNECTION_TYPE_POLLING, CONNECTION_TYPE_WS, CURRENT_WALLET_BALANCE_EVENT, type ChainAssets, type ConnectionType, type CounterpartyChainForChannel, DEFAULT_SETTINGS, DEFAULT_TX_MEMO, type DenomTrace, ECOSYSTEM_MENU_LABEL, EPOCH_START_EVENT, EXCLUDED_ASSETS, EXCLUDED_MARKETS, type EcosystemApp, type EndpointValidationResults, type EventCallback, type ExtendedPendingUnlockParticipantSDKType, HighlightText, type HistoryOrder, type IBCCounterparty, type IBCData, type IbcTransitionMock, type InternalEvent, LOCK_CHANGED_EVENT, LP_ASSETS_DECIMALS, type LiquidityPoolData, MAINNET_CHAIN_INFO_FALLBACK, type Market, type MarketData, NEXT_BURN_CHANGED_EVENT, type NativeStakingData, type NativeUnbondingSummary, ORDER_BOOK_CHANGED_EVENT, ORDER_EXECUTED_EVENT, ORDER_TYPE_BUY, ORDER_TYPE_SELL, type PrettyBalance, type PriceApiResponse, RAFFLE_CHANGED_EVENT, SETTINGS_STORAGE_KEY, STABLE_COINS, SUPPLY_CHANGED_EVENT, SWAP_EXECUTED_EVENT, SettingsSidebarContent, SettingsToggle, Sidebar, type SwapHistory, type SwapRouteResult, TESTNET_CHAIN_INFO_FALLBACK, TOKEN_LOGO_PLACEHOLDER, TTL_NO_EXPIRY, type TendermintEvent, Toaster, type TradeViewChart, type TxOptions, TxStatus, type UserNativeStakingData, type UserNativeStakingRewards, type UserPoolData, VALIDATION_ERRORS, VERIFIED_ASSETS, type ValidationResult, WalletSidebarContent, addDebounce, addMultipleDebounce, ammRouter, amountToBigNumberUAmount, amountToUAmount, blockchainEventManager, calcNativeStakingApr, calculateAmountFromPrice, calculatePoolOppositeAmount, calculatePoolPrice, calculatePricePerUnit, calculateRewardsStakingApr, calculateRewardsStakingPendingRewards, calculateTotalAmount, calculateUserPoolData, canDepositFromIBC, canSendToIBC, cancelDebounce, convertToWebSocketUrl, counterpartyChainForChannel, createMarketId, createPoolId, createRestClient, denomOnFirstHopChainFromTrace, formatDate, formatTimeRemaining, formatTimeRemainingFromEpochs, formatUsdAmount, getAddressBalances, getAddressDelegations, getAddressFullMarketOrders, getAddressHistory, getAddressMarketOrders, getAddressNativeDelegatedBalance, getAddressNativeTotalRewards, getAddressPendingUnlock, getAddressRewards, getAddressStakingRewards, getAddressSwapHistory, getAddressUnbondingDelegations, getAddressUnbondingDelegationsSummary, getAggregatorHost, getAllBurnedCoins, getAllSupply, getAllSupplyMetadata, getAllTickers, getAnnualProvisions, getAppName, getArchwayRestURL, getArchwayRpcURL, getAssetLists, getAtomOneRestURL, getAtomOneRpcUrl, getBZEUSDPrice, getBurnerParams, getBurnerParamsWithClient, getChainAddressPrefix, getChainAssets, getChainByChainId, getChainByName, getChainExplorerURL, getChainId, getChainName, getChainNativeAssetDenom, getChains, getChartIntervalsLimit, getChartMinutes, getCurrentEpoch, getCurrentWeekEpochEndTime, getDefaultTxMemo, getDenomType, getDistributionParams, getEcosystemApps, getEpochDurationByIdentifier, getEpochsInfo, getFactoryDenomAdminAddress, getFromLocalStorage, getHashIBCTrace, getHourEpochInfo, getIBCAssetList, getIBCTraces, getIbcTransferTimeout, getJackalRestURL, getJackalRpcUrl, getKeyExpiry, getLiquidityPool, getLiquidityPools, getLockedBalances, getLockerAddress, getMarketBuyOrders, getMarketEventKey, getMarketHistory, getMarketOrder, getMarketOrderBookChangedEvent, getMarketOrders, getMarketOrdersHistory, getMarketSellOrders, getMarkets, getMinAmount, getNoOfIntervalsNeeded, getNobleRestURL, getNobleRpcUrl, getOmniFlixRestURL, getOmniFlixRpcUrl, getOsmosisRestURL, getOsmosisRpcUrl, getPageRequestWithLimit, getPendingUnlockParticipants, getPeriodicEpochEndTime, getPeriodicWeekEpochEndTime, getRestClient, getRestURL, getRpcURL, getSettings, getStakingParams, getStakingPool, getStakingRewardParticipantByAddress, getStakingRewards, getTradingViewIntervals, getUSDCDenom, getValidatorPageUrl, getValidatorSupportedDenoms, getWalletChainsNames, getWeekEpochInfo, intlDateFormat, isFactoryDenom, isIbcAsset, isIbcDenom, isLpDenom, isNativeDenom, isPoolSupportedByValidator, isTestnetChain, keplrSuggestChain, mapEventAttributes, openExternalLink, parseUnbondingDays, poolIdFromPoolDenom, prettyAmount, prettyError, priceToBigNumberUPrice, priceToUPrice, removeFromLocalStorage, removeLeadingZeros, sanitizeIntegerInput, sanitizeNumberInput, setDefaultTxMemo, setInLocalStorage, setKeyExpiry, setSettings, setStorageKeyVersion, shortNumberFormat, sleep, stringTruncateFromCenter, toBigNumber, toPercentage, truncateAddress, truncateDenom, uAmountToAmount, uAmountToBigNumberAmount, uPriceToBigNumberPrice, uPriceToPrice, useAsset, useAssetLiquidityPools, useAssetMarkets, useAssetPrice, useAssets, useAssetsContext, useAssetsManager, useAssetsValue, useBZETx, useBalance, useBalances, useConnectionType, useEpochs, useFeeTokens, useIBCChains, useIBCTx, useLiquidityPool, useLiquidityPools, useMarket, useMarkets, useMarketsManager, useSDKTx, useSettings, useSigningClient, useToast, validateBZEBech32Address, validateBech32Address, validateEndpoints, validateRestEndpoint, validateRpcEndpoint };
1261
+ export { ASSET_TYPE_FACTORY, ASSET_TYPE_IBC, ASSET_TYPE_LP, ASSET_TYPE_NATIVE, type ActiveOrders, type AddressRewardsStaking, type AddressValidationResult, type AppSettings, type Asset, type AssetBalance, AssetsContext, type AssetsContextType, type Attribute, BZE_CIRCLE_LOGO, BZE_TESTNET_2_SUGGEST_CHAIN, BZE_TESTNET_NETWORK, type Balance, type BeeZeeEndpoints, type BlockResults, type BurnHistoryItem, CHART_1D, CHART_1Y, CHART_30D, CHART_4H, CHART_7D, CONNECTION_TYPE_NONE, CONNECTION_TYPE_POLLING, CONNECTION_TYPE_WS, CURRENT_WALLET_BALANCE_EVENT, type ChainAssets, type ConnectionType, type CounterpartyChainForChannel, DEFAULT_SETTINGS, DEFAULT_TX_MEMO, type DenomTrace, ECOSYSTEM_MENU_LABEL, EPOCH_START_EVENT, EXCLUDED_ASSETS, EXCLUDED_MARKETS, type EcosystemApp, type EndpointValidationResults, type EventCallback, type ExtendedPendingUnlockParticipantSDKType, HighlightText, type HistoryOrder, type IBCCounterparty, type IBCData, type IbcTransitionMock, type InternalEvent, LOCK_CHANGED_EVENT, LP_ASSETS_DECIMALS, type LiquidityPoolData, MAINNET_CHAIN_INFO_FALLBACK, type Market, type MarketData, NEXT_BURN_CHANGED_EVENT, type NativeStakingData, type NativeUnbondingSummary, type NextBurn, ORDER_BOOK_CHANGED_EVENT, ORDER_EXECUTED_EVENT, ORDER_TYPE_BUY, ORDER_TYPE_SELL, type PrettyBalance, type PriceApiResponse, RAFFLE_CHANGED_EVENT, SETTINGS_STORAGE_KEY, STABLE_COINS, SUPPLY_CHANGED_EVENT, SWAP_EXECUTED_EVENT, SettingsSidebarContent, SettingsToggle, Sidebar, type SwapHistory, type SwapRouteResult, TESTNET_CHAIN_INFO_FALLBACK, TOKEN_LOGO_PLACEHOLDER, TTL_NO_EXPIRY, type TendermintEvent, Toaster, type TradeViewChart, type TxOptions, TxStatus, type UserNativeStakingData, type UserNativeStakingRewards, type UserPoolData, VALIDATION_ERRORS, VERIFIED_ASSETS, type ValidationResult, WalletSidebarContent, addDebounce, addMultipleDebounce, ammRouter, amountToBigNumberUAmount, amountToUAmount, blockchainEventManager, calcNativeStakingApr, calculateAmountFromPrice, calculatePoolOppositeAmount, calculatePoolPrice, calculatePricePerUnit, calculateRewardsStakingApr, calculateRewardsStakingPendingRewards, calculateTotalAmount, calculateUserPoolData, canDepositFromIBC, canSendToIBC, cancelDebounce, checkAddressWonRaffle, convertToWebSocketUrl, counterpartyChainForChannel, createMarketId, createPoolId, createRestClient, denomOnFirstHopChainFromTrace, formatDate, formatTimeRemaining, formatTimeRemainingFromEpochs, formatUsdAmount, getAddressBalances, getAddressDelegations, getAddressFullMarketOrders, getAddressHistory, getAddressMarketOrders, getAddressNativeDelegatedBalance, getAddressNativeTotalRewards, getAddressPendingUnlock, getAddressRewards, getAddressStakingRewards, getAddressSwapHistory, getAddressUnbondingDelegations, getAddressUnbondingDelegationsSummary, getAggregatorHost, getAllBurnedCoins, getAllSupply, getAllSupplyMetadata, getAllTickers, getAnnualProvisions, getAppName, getArchwayRestURL, getArchwayRpcURL, getAssetLists, getAtomOneRestURL, getAtomOneRpcUrl, getBZEUSDPrice, getBlockDetailsByHeight, getBlockResults, getBlockTimeByHeight, getBurnerModuleAddress, getBurnerParams, getBurnerParamsWithClient, getChainAddressPrefix, getChainAssets, getChainByChainId, getChainByName, getChainExplorerURL, getChainId, getChainName, getChainNativeAssetDenom, getChains, getChartIntervalsLimit, getChartMinutes, getCurrentEpoch, getCurrentWeekEpochEndTime, getDefaultTxMemo, getDenomType, getDistributionParams, getEcosystemApps, getEpochDurationByIdentifier, getEpochsInfo, getFactoryDenomAdminAddress, getFromLocalStorage, getHardcodedLockAddress, getHashIBCTrace, getHourEpochInfo, getIBCAssetList, getIBCTraces, getIbcTransferTimeout, getJackalRestURL, getJackalRpcUrl, getKeyExpiry, getLiquidityPool, getLiquidityPools, getLockedBalances, getLockerAddress, getMarketBuyOrders, getMarketEventKey, getMarketHistory, getMarketOrder, getMarketOrderBookChangedEvent, getMarketOrders, getMarketOrdersHistory, getMarketSellOrders, getMarkets, getMinAmount, getModuleAddress, getNextBurning, getNoOfIntervalsNeeded, getNobleRestURL, getNobleRpcUrl, getOmniFlixRestURL, getOmniFlixRpcUrl, getOsmosisRestURL, getOsmosisRpcUrl, getPageRequestWithLimit, getPendingUnlockParticipants, getPeriodicEpochEndTime, getPeriodicWeekEpochEndTime, getRaffleModuleAddress, getRaffleWinners, getRaffles, getRestClient, getRestURL, getRpcURL, getSettings, getStakingParams, getStakingPool, getStakingRewardParticipantByAddress, getStakingRewards, getTradingViewIntervals, getUSDCDenom, getValidatorPageUrl, getValidatorSupportedDenoms, getWalletChainsNames, getWeekEpochInfo, intlDateFormat, isFactoryDenom, isIbcAsset, isIbcDenom, isLpDenom, isNativeDenom, isPoolSupportedByValidator, isTestnetChain, keplrSuggestChain, mapEventAttributes, openExternalLink, parseUnbondingDays, poolIdFromPoolDenom, prettyAmount, prettyError, priceToBigNumberUPrice, priceToUPrice, removeFromLocalStorage, removeLeadingZeros, sanitizeIntegerInput, sanitizeNumberInput, setDefaultTxMemo, setInLocalStorage, setKeyExpiry, setSettings, setStorageKeyVersion, shortNumberFormat, sleep, stringTruncateFromCenter, toBigNumber, toPercentage, truncateAddress, truncateDenom, uAmountToAmount, uAmountToBigNumberAmount, uPriceToBigNumberPrice, uPriceToPrice, useAsset, useAssetLiquidityPools, useAssetMarkets, useAssetPrice, useAssets, useAssetsContext, useAssetsManager, useAssetsValue, useBZETx, useBalance, useBalances, useConnectionType, useEpochs, useEpochsManager, useFeeTokens, useIBCChains, useIBCTx, useLiquidityPool, useLiquidityPools, useMarket, useMarkets, useMarketsManager, useSDKTx, useSettings, useSigningClient, useToast, validateBZEBech32Address, validateBech32Address, validateEndpoints, validateRestEndpoint, validateRpcEndpoint };