@dodoex/widgets 3.19.0-mint.2 → 3.19.0-rise.1
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/cjs/locales/en-US.js +1 -1
- package/dist/cjs/locales/zh-CN.js +1 -1
- package/dist/helper-BceQYAUX.js +1 -0
- package/dist/helper-DRvnFVbl.cjs +1 -0
- package/dist/index-BDeMH7EJ.js +14 -0
- package/dist/index-BleJojR8.cjs +78 -0
- package/dist/index-BoAZU9FR.cjs +12 -0
- package/dist/index-Bq3v7WHE.js +78 -0
- package/dist/index-CoToNT1y.cjs +14 -0
- package/dist/index-IOIH8P4B.js +12 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/zh-CN.js +1 -1
- package/dist/types/components/AddTokenToMetamask.d.ts +1 -1
- package/dist/types/components/AddressWithLinkAndCopy.d.ts +1 -1
- package/dist/types/components/AutoButton.d.ts +1 -1
- package/dist/types/components/Bridge/BridgeRouteShortCard.d.ts +2 -1
- package/dist/types/components/Bridge/BridgeSummaryDialog/BridgeSummaryDetail.d.ts +1 -1
- package/dist/types/components/Bridge/BridgeSummaryDialog/index.d.ts +1 -1
- package/dist/types/components/Bridge/BridgeSummaryDialog/orderInfoModal/CrossStep.d.ts +1 -1
- package/dist/types/components/Bridge/BridgeSummaryDialog/orderInfoModal/EtherscanLinkButton.d.ts +1 -1
- package/dist/types/components/Bridge/BridgeSummaryDialog/orderInfoModal/RouteSteps.d.ts +1 -1
- package/dist/types/components/Bridge/BridgeSummaryDialog/orderInfoModal/SwapStep.d.ts +1 -1
- package/dist/types/components/Bridge/SelectBridgeDialog/BridgeLogo.d.ts +1 -1
- package/dist/types/components/Bridge/SelectBridgeDialog/DirectionLine.d.ts +1 -1
- package/dist/types/components/Bridge/SelectBridgeDialog/RouteCard.d.ts +1 -1
- package/dist/types/components/Bridge/SelectBridgeDialog/RouteTagList.d.ts +1 -1
- package/dist/types/components/Bridge/SelectBridgeDialog/TokenWithChain.d.ts +1 -1
- package/dist/types/components/Bridge/SelectBridgeDialog/index.d.ts +1 -1
- package/dist/types/components/CardWidgets.d.ts +8 -8
- package/dist/types/components/Confirm.d.ts +1 -1
- package/dist/types/components/ConnectWallet/ConnectWalletDialog.d.ts +1 -1
- package/dist/types/components/ConnectWallet/NeedConnectButton.d.ts +2 -1
- package/dist/types/components/ConnectWallet/OpenConnectWalletInfo.d.ts +2 -1
- package/dist/types/components/CopyTooltipToast.d.ts +1 -1
- package/dist/types/components/DataCard/DataCardGroup.d.ts +1 -1
- package/dist/types/components/ErrorMessageDialog.d.ts +1 -1
- package/dist/types/components/GoBack.d.ts +1 -1
- package/dist/types/components/HowItWorks.d.ts +1 -1
- package/dist/types/components/LiquidityLpPartnerReward.d.ts +1 -1
- package/dist/types/components/List/EmptyList.d.ts +2 -2
- package/dist/types/components/List/FailedList.d.ts +1 -1
- package/dist/types/components/LoadMore.d.ts +1 -1
- package/dist/types/components/LoadingRotation.d.ts +1 -1
- package/dist/types/components/Message/Countdown.d.ts +1 -1
- package/dist/types/components/RiskDialog.d.ts +1 -1
- package/dist/types/components/Select.d.ts +1 -1
- package/dist/types/components/SelectChain.d.ts +2 -1
- package/dist/types/components/SpaceBetweenItem.d.ts +1 -1
- package/dist/types/components/SubmittedDialog.d.ts +2 -1
- package/dist/types/components/Swap/SwapOrderHistory/PriceWithToggle.d.ts +1 -1
- package/dist/types/components/Swap/SwapOrderHistory/RoutingCard.d.ts +2 -1
- package/dist/types/components/Swap/SwapOrderHistory/RoutingVision.d.ts +6 -5
- package/dist/types/components/Swap/SwapOrderHistory/SameOrderCard.d.ts +2 -1
- package/dist/types/components/Swap/SwapOrderHistory/index.d.ts +2 -1
- package/dist/types/components/Swap/components/ConnectWallet/index.d.ts +1 -1
- package/dist/types/components/Swap/components/Dialog.d.ts +1 -1
- package/dist/types/components/Swap/components/ReviewDialog.d.ts +1 -1
- package/dist/types/components/Swap/components/SettingsDialog/NumberInput.d.ts +1 -1
- package/dist/types/components/Swap/components/SettingsDialog/index.d.ts +1 -1
- package/dist/types/components/Swap/components/SwapPreviewInfoCard.d.ts +1 -1
- package/dist/types/components/Swap/components/SwapSettingsDialog/MoreTradeSetting.d.ts +1 -1
- package/dist/types/components/Swap/components/SwapSettingsDialog/SlippageCurveChart/CurveChart.d.ts +1 -1
- package/dist/types/components/Swap/components/SwapSettingsDialog/SlippageCurveChart/SlippageSlider.d.ts +1 -1
- package/dist/types/components/Swap/components/SwapSettingsDialog/SlippageCurveChart/index.d.ts +1 -1
- package/dist/types/components/Swap/components/SwapSettingsDialog/SlippageSetting.d.ts +2 -1
- package/dist/types/components/Swap/components/SwapSettingsDialog/SlippageWarning.d.ts +1 -1
- package/dist/types/components/Swap/components/SwapSettingsDialog/index.d.ts +2 -1
- package/dist/types/components/Swap/components/SwitchBox.d.ts +1 -1
- package/dist/types/components/Swap/components/TokenCard/BalanceText.d.ts +1 -1
- package/dist/types/components/Swap/components/TokenCard/PercentageSelectButtonGroup.d.ts +1 -1
- package/dist/types/components/Swap/components/TokenCard/TokenLogoCollapse.d.ts +1 -1
- package/dist/types/components/Swap/components/TokenCard/TokenPickerDialog.d.ts +1 -1
- package/dist/types/components/Swap/components/TokenCard/index.d.ts +3 -3
- package/dist/types/components/Swap/components/TokenPairPriceWithToggle.d.ts +1 -1
- package/dist/types/components/Swap/index.d.ts +1 -1
- package/dist/types/components/SwitchChainDialog/index.d.ts +1 -1
- package/dist/types/components/Table.d.ts +1 -1
- package/dist/types/components/TextSwitch.d.ts +1 -1
- package/dist/types/components/Token/TokenItem.d.ts +1 -1
- package/dist/types/components/TokenLogoPair.d.ts +1 -1
- package/dist/types/components/TokenLogoSimple.d.ts +2 -1
- package/dist/types/components/TokenPairStatusButton.d.ts +1 -1
- package/dist/types/components/TokenPicker/ImportToken.d.ts +2 -1
- package/dist/types/components/TokenPicker/PopularToken.d.ts +1 -1
- package/dist/types/components/TokenPicker/SelectChainItem.d.ts +1 -1
- package/dist/types/components/TokenPicker/TokenDetailInfo.d.ts +2 -1
- package/dist/types/components/TokenPicker/TokenItem.d.ts +1 -1
- package/dist/types/components/TokenPicker/TokenSearchLoadingSkelton.d.ts +1 -1
- package/dist/types/components/TokenPicker/index.d.ts +2 -1
- package/dist/types/components/TokenSelect.d.ts +2 -1
- package/dist/types/components/TokenStatusButton.d.ts +1 -1
- package/dist/types/components/Tooltip/QuestionTooltip.d.ts +1 -1
- package/dist/types/components/UserOptionsProvider.d.ts +1 -1
- package/dist/types/components/Widget/index.d.ts +2 -2
- package/dist/types/components/WidgetConfirm.d.ts +1 -1
- package/dist/types/components/WidgetContainer.d.ts +1 -1
- package/dist/types/components/WidgetDialog.d.ts +1 -1
- package/dist/types/components/WithExecutionDialog/index.d.ts +1 -1
- package/dist/types/components/chart/components/Display.d.ts +1 -1
- package/dist/types/components/chart/components/NumberInput.d.ts +1 -1
- package/dist/types/components/chart/components/TogglePriceIcon.d.ts +2 -2
- package/dist/types/components/chart/components/TokenLogo.d.ts +1 -1
- package/dist/types/components/chart/depth-chart/DepthChartKonva.d.ts +1 -1
- package/dist/types/components/chart/depth-chart-v2/index.d.ts +1 -1
- package/dist/types/components/chart/liquidity-chart/LiquidityChartKonva.d.ts +1 -1
- package/dist/types/components/chart/liquidity-chart/useGridLine.d.ts +1 -1
- package/dist/types/components/chart/liquidity-chart/useHorizontalLabel.d.ts +1 -1
- package/dist/types/components/chart/liquidity-chart/useLiquidityLine.d.ts +2 -2
- package/dist/types/components/chart/liquidity-chart/useMiddleLine.d.ts +1 -1
- package/dist/types/hooks/ConnectWallet/Connectors/EIP1193.d.ts +21 -0
- package/dist/types/hooks/Submission/spec.d.ts +0 -1
- package/dist/types/hooks/Submission/types.d.ts +1 -2
- package/dist/types/hooks/Swap/useForecastSlippageList.d.ts +49 -5
- package/dist/types/hooks/Swap/useSwapSettingStore.d.ts +5 -3
- package/dist/types/hooks/Swap/useSwapSlippage.d.ts +49 -5
- package/dist/types/hooks/Swap/useTradeSwapOrderList.d.ts +76 -5
- package/dist/types/hooks/Token/useTokenListFetchBalance.d.ts +2 -2
- package/dist/types/hooks/contract/useFetchETHBalance.d.ts +4 -4
- package/dist/types/hooks/useTokenState.d.ts +5 -3
- package/dist/types/index.d.ts +2 -2
- package/dist/types/providers/i18n.d.ts +1 -1
- package/dist/types/utils/formatter.d.ts +0 -1
- package/dist/types/widgets/MiningWidget/LpTokenMiningOperate/index.d.ts +2 -1
- package/dist/types/widgets/MiningWidget/MiningCreate/components/PoolCard.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningCreate/components/PoolPicker.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningCreate/components/RewardDetailList.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningCreate/components/RewardTokenSelect.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningCreate/components/SectionTitle.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningCreate/components/StakingRules.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningCreate/components/StepTitle.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningCreate/hooks/useCreateMining.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningCreate/hooks/useDexList.d.ts +2 -1
- package/dist/types/widgets/MiningWidget/MiningCreate/hooks/useRewardsStatus.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningCreate/index.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningCreate/operate-widgets/BottomButtonGroup.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningCreate/operate-widgets/CreateMiningTypeSelect.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningCreate/operate-widgets/RewardForm.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningCreate/operate-widgets/SingleTokenSelect.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningCreate/operate-widgets/TokenPairSelect.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningDetail/MiningInfo.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningDetail/RewardCard.d.ts +2 -1
- package/dist/types/widgets/MiningWidget/MiningDetail/index.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningDetail/widgets.d.ts +4 -4
- package/dist/types/widgets/MiningWidget/MiningList/components/APRSection.d.ts +2 -2
- package/dist/types/widgets/MiningWidget/MiningList/components/CloseButton.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/components/GoBack.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/components/ManageButtonList.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/components/MiningCardLayout.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/components/MiningListEmpty.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/components/MiningListLoading.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/components/MiningStatusTabSelect.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/components/MiningTags.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/components/MiningTitle.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/components/MyStakedSection.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/components/OperateButtonList.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/components/RewardsSection.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/components/SearchComponents.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/components/ShareModeSelect.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/components/TVLSection.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/components/TokenAmountPopover.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/components/UnknownUSDPopover.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/components/UsersIcon.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/components/widgets.d.ts +5 -5
- package/dist/types/widgets/MiningWidget/MiningList/dom.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/hooks/useRewardTokenTrigger.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/hooks/useStatusAndStartBlockNumber.d.ts +3 -3
- package/dist/types/widgets/MiningWidget/MiningList/index.d.ts +2 -1
- package/dist/types/widgets/MiningWidget/MiningList/my-created/MyCreatedMining.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/my-created/OperateArea.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/my-created/RewardCard.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/my-created/index.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/operate-area/AssociatedMine.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/operate-area/ClaimButton.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/operate-area/ClaimTips.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/operate-area/GetLpLink.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/operate-area/InputArea.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/operate-area/PercentageSelectButtonGroup.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/operate-area/RewardListCard.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/operate-area/RewardTokenTable.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/operate-area/StakeButton.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/operate-area/StakeTokenSelect.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/operate-area/UnstakeButton.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/operate-area/index.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/OperateArea/AssociateMine.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/OperateArea/ClaimButton.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/OperateArea/GetLpLink.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/OperateArea/RewardListCard.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/OperateArea/StakeButton.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/OperateArea/UnstakeButton.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/OperateArea/Widgets.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/OperateArea/index.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/hooks/usePrevious.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/hooks/useStatusAndStartBlockNumber.d.ts +3 -3
- package/dist/types/widgets/PoolWidget/AMMV2Create/ConfirmDialog.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV2Create/CreateItem.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV2Create/FeeEdit.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/AMMV2Create/MyLiqidity.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV2Create/Ratio.d.ts +2 -2
- package/dist/types/widgets/PoolWidget/AMMV2Create/index.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/AMMV3/AMMV3PositionManage.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/AMMV3PositionsView.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/AddLiquidityV3.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/Badge/AMMV3.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/Badge/RangeBadge.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/Buttons.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/ClaimButton.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/CurrencyInputPanel.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/FeeSelector.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/InRangeDot.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/InputStepCounter.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/LiquidityChartRangeInput/Area.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/LiquidityChartRangeInput/AxisBottom.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/LiquidityChartRangeInput/Brush.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/LiquidityChartRangeInput/Chart.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/LiquidityChartRangeInput/Line.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/LiquidityChartRangeInput/Zoom.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/LiquidityChartRangeInput/index.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/LiquidityChartRangeInput/svg.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/LiquidityChartRangeInput/usePrevious.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/PositionAmountPreview.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/PositionPreview.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/PositionSelectedRangePreview.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/PositionViewCard.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/RangeSelector.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/RateToggle.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/RemoveButton.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/ReviewModal.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/TokenPairSelect.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/components/widgets.d.ts +9 -9
- package/dist/types/widgets/PoolWidget/PoolCreate/components/BaseInfoCardList.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/components/ConfirmInfoDialog.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/components/DepthAndLiquidityChart.d.ts +2 -2
- package/dist/types/widgets/PoolWidget/PoolCreate/components/DepthChartWrapper.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/components/EmptyChart.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/components/FeeRateCard.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/components/FixedInitPriceConfirm.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/components/GasWrapGasTokenError.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/components/LqRatioSet.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/components/LqSettingsShow.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/components/PriceModeCard.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/components/RadioButton.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/components/RadioButtonIcon.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/components/RadioButtonTag.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/components/SectionTitle.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/components/SelectAndInput.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/components/StepTitle.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/components/VersionChartExample.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/components/widgets.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/hooks/useCreatePmm.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/index.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/operate-widgets/BottomButtonGroup.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/operate-widgets/FeeRateSetting.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/operate-widgets/InitPriceSetting.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/operate-widgets/PriceModeSetting.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/operate-widgets/RatioSetting.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/operate-widgets/SlippageCoefficientSetting.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/operate-widgets/TokenPairSelect.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/operate-widgets/VersionSelect.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/operate-widgets/widgets.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolDetail/components/BaseQuotePie.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolDetail/components/ChartInfo.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolDetail/components/MoreDetail/LiquidityProvidersTable.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolDetail/components/MoreDetail/ParametersTable.d.ts +3 -2
- package/dist/types/widgets/PoolWidget/PoolDetail/components/MoreDetail/SwapsTable.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolDetail/components/MoreDetail/index.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolDetail/components/Overview.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolDetail/components/StatBarChart.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolDetail/components/TitleInfo.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolDetail/components/TotalLiquidity.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolDetail/hooks/useLiquidityProviders.d.ts +44 -5
- package/dist/types/widgets/PoolWidget/PoolDetail/hooks/usePoolDashboard.d.ts +79 -5
- package/dist/types/widgets/PoolWidget/PoolDetail/hooks/usePoolDayData.d.ts +49 -5
- package/dist/types/widgets/PoolWidget/PoolDetail/hooks/usePoolSwapList.d.ts +65 -5
- package/dist/types/widgets/PoolWidget/PoolDetail/index.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolList/AddLiquidity.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolList/MyCreated.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolList/MyLiquidity.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolList/components/AddingOrRemovingBtn.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolList/components/CreatePoolBtn.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolList/components/FilterAddressTags.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolList/components/FilterTokenTags.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolList/components/GoPoolDetailBtn.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolList/components/LiquidityTable.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolList/components/LoadingCard.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolList/components/OnlyV3Toggle.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolList/components/PoolApyTooltip.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolList/components/SkeletonTable.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolList/components/TokenAndPoolFilter.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolList/components/TokenListPoolItem.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolList/components/migationWidget.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolList/index.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolModify/SectionTitle.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolModify/index.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolModify/operate-widgets/BottomButtonGroup.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolModify/operate-widgets/FeeRateSetting.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolOperate/AddPoolOperate.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolOperate/PoolOperateInner.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolOperate/RemovePoolOperate.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolOperate/components/ComparePrice.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolOperate/components/GSPPairRiskWarning.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolOperate/components/LiquidityInfo.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolOperate/components/OperateBtn.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolOperate/components/Ratio.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolOperate/components/SliderPercentageCard.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolOperate/components/SlippageSetting.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolOperate/components/TokenList.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolOperate/index.d.ts +3 -2
- package/dist/types/widgets/PoolWidget/hooks/usePoolBalanceInfo.d.ts +0 -1
- package/dist/types/widgets/PoolWidget/hooks/usePoolDetail.d.ts +93 -5
- package/dist/types/widgets/PoolWidget/hooks/useUniV2CreatePairs.d.ts +3 -3
- package/dist/types/widgets/PoolWidget/index.d.ts +1 -1
- package/package.json +3 -3
- package/dist/helper-CV5XZBS1.cjs +0 -1
- package/dist/helper-D3kq2qeV.js +0 -1
- package/dist/index-BzHqobnS.js +0 -78
- package/dist/index-CV2VWaQU.js +0 -14
- package/dist/index-CVTOL4CN.cjs +0 -78
- package/dist/index-CaHGdR5D.cjs +0 -12
- package/dist/index-CrNMhgS-.js +0 -12
- package/dist/index-EAur28N8.cjs +0 -14
- package/dist/types/widgets/PoolWidget/PoolDetail/components/BifrostMint/BifrostMintDialog.d.ts +0 -8
- package/dist/types/widgets/PoolWidget/PoolDetail/components/BifrostMint/BifrostMintPanel.d.ts +0 -6
- package/dist/types/widgets/PoolWidget/PoolDetail/components/BifrostMint/config.d.ts +0 -7
- package/dist/types/widgets/PoolWidget/PoolDetail/components/BifrostMint/index.d.ts +0 -3
- package/dist/types/widgets/PoolWidget/PoolDetail/components/BifrostMint/types.d.ts +0 -9
- package/dist/types/widgets/PoolWidget/PoolDetail/components/BifrostMint/useBifrostApy.d.ts +0 -11
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BoxProps } from '@dodoex/components';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import { ChainId } from '@dodoex/api';
|
|
3
4
|
import { usePoolDetail } from '../../../hooks/usePoolDetail';
|
|
4
5
|
export declare function formatDateTimeStr(timestamp?: number, short?: boolean): string;
|
|
@@ -8,7 +9,7 @@ export declare function TokenWithSymbolRtL({ chainId, address, symbol, amount, s
|
|
|
8
9
|
symbol: string;
|
|
9
10
|
amount: string;
|
|
10
11
|
sx?: BoxProps['sx'];
|
|
11
|
-
}): JSX.Element;
|
|
12
|
+
}): React.JSX.Element;
|
|
12
13
|
export default function ParametersTable({ detail, }: {
|
|
13
14
|
detail: ReturnType<typeof usePoolDetail>['poolDetail'];
|
|
14
|
-
}): JSX.Element;
|
|
15
|
+
}): React.JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { usePoolDetail } from '../../../hooks/usePoolDetail';
|
|
2
3
|
export declare function formatDateTimeStr(timestamp?: number, short?: boolean): string;
|
|
3
4
|
export default function SwapsTable({ poolDetail, }: {
|
|
4
5
|
poolDetail: ReturnType<typeof usePoolDetail>['poolDetail'];
|
|
5
|
-
}): JSX.Element;
|
|
6
|
+
}): React.JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { usePoolDetail } from '../../../hooks/usePoolDetail';
|
|
2
3
|
export default function MoreDetail({ poolDetail, cardBg, }: {
|
|
3
4
|
poolDetail: ReturnType<typeof usePoolDetail>['poolDetail'];
|
|
4
5
|
cardBg: string;
|
|
5
|
-
}): JSX.Element;
|
|
6
|
+
}): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { usePoolDayData } from '../hooks/usePoolDayData';
|
|
2
3
|
type DayData = ReturnType<typeof usePoolDayData>['dayDataList']['0'];
|
|
3
4
|
export default function StatBarChart({ unit, data, masterKey, sumKey, }: {
|
|
@@ -5,5 +6,5 @@ export default function StatBarChart({ unit, data, masterKey, sumKey, }: {
|
|
|
5
6
|
data: DayData[];
|
|
6
7
|
masterKey: keyof DayData;
|
|
7
8
|
sumKey: keyof DayData;
|
|
8
|
-
}): JSX.Element;
|
|
9
|
+
}): React.JSX.Element;
|
|
9
10
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { usePoolDetail } from '../../hooks/usePoolDetail';
|
|
2
3
|
export default function TitleInfo({ poolDetail, loading, }: {
|
|
3
4
|
poolDetail?: ReturnType<typeof usePoolDetail>['poolDetail'];
|
|
4
5
|
loading: boolean;
|
|
5
|
-
}): JSX.Element;
|
|
6
|
+
}): React.JSX.Element;
|
|
@@ -32,6 +32,7 @@ export declare function useLiquidityProviders({ pool, }: {
|
|
|
32
32
|
isLoadingError: false;
|
|
33
33
|
isRefetchError: true;
|
|
34
34
|
isSuccess: false;
|
|
35
|
+
isPlaceholderData: false;
|
|
35
36
|
status: "error";
|
|
36
37
|
dataUpdatedAt: number;
|
|
37
38
|
errorUpdatedAt: number;
|
|
@@ -43,11 +44,12 @@ export declare function useLiquidityProviders({ pool, }: {
|
|
|
43
44
|
isFetching: boolean;
|
|
44
45
|
isInitialLoading: boolean;
|
|
45
46
|
isPaused: boolean;
|
|
46
|
-
isPlaceholderData: boolean;
|
|
47
47
|
isRefetching: boolean;
|
|
48
48
|
isStale: boolean;
|
|
49
|
+
isEnabled: boolean;
|
|
49
50
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchLiquidityPositionsQuery, Error>>;
|
|
50
51
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
52
|
+
promise: Promise<import("@dodoex/api/dist/types/gql/graphql").FetchLiquidityPositionsQuery>;
|
|
51
53
|
} | {
|
|
52
54
|
isLoading: boolean;
|
|
53
55
|
errorRefetch: (() => void) | undefined;
|
|
@@ -59,6 +61,7 @@ export declare function useLiquidityProviders({ pool, }: {
|
|
|
59
61
|
isLoadingError: false;
|
|
60
62
|
isRefetchError: false;
|
|
61
63
|
isSuccess: true;
|
|
64
|
+
isPlaceholderData: false;
|
|
62
65
|
status: "success";
|
|
63
66
|
dataUpdatedAt: number;
|
|
64
67
|
errorUpdatedAt: number;
|
|
@@ -70,11 +73,12 @@ export declare function useLiquidityProviders({ pool, }: {
|
|
|
70
73
|
isFetching: boolean;
|
|
71
74
|
isInitialLoading: boolean;
|
|
72
75
|
isPaused: boolean;
|
|
73
|
-
isPlaceholderData: boolean;
|
|
74
76
|
isRefetching: boolean;
|
|
75
77
|
isStale: boolean;
|
|
78
|
+
isEnabled: boolean;
|
|
76
79
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchLiquidityPositionsQuery, Error>>;
|
|
77
80
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
81
|
+
promise: Promise<import("@dodoex/api/dist/types/gql/graphql").FetchLiquidityPositionsQuery>;
|
|
78
82
|
} | {
|
|
79
83
|
isLoading: boolean;
|
|
80
84
|
errorRefetch: (() => void) | undefined;
|
|
@@ -86,6 +90,7 @@ export declare function useLiquidityProviders({ pool, }: {
|
|
|
86
90
|
isLoadingError: true;
|
|
87
91
|
isRefetchError: false;
|
|
88
92
|
isSuccess: false;
|
|
93
|
+
isPlaceholderData: false;
|
|
89
94
|
status: "error";
|
|
90
95
|
dataUpdatedAt: number;
|
|
91
96
|
errorUpdatedAt: number;
|
|
@@ -97,11 +102,12 @@ export declare function useLiquidityProviders({ pool, }: {
|
|
|
97
102
|
isFetching: boolean;
|
|
98
103
|
isInitialLoading: boolean;
|
|
99
104
|
isPaused: boolean;
|
|
100
|
-
isPlaceholderData: boolean;
|
|
101
105
|
isRefetching: boolean;
|
|
102
106
|
isStale: boolean;
|
|
107
|
+
isEnabled: boolean;
|
|
103
108
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchLiquidityPositionsQuery, Error>>;
|
|
104
109
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
110
|
+
promise: Promise<import("@dodoex/api/dist/types/gql/graphql").FetchLiquidityPositionsQuery>;
|
|
105
111
|
} | {
|
|
106
112
|
isLoading: boolean;
|
|
107
113
|
errorRefetch: (() => void) | undefined;
|
|
@@ -113,6 +119,7 @@ export declare function useLiquidityProviders({ pool, }: {
|
|
|
113
119
|
isLoadingError: false;
|
|
114
120
|
isRefetchError: false;
|
|
115
121
|
isSuccess: false;
|
|
122
|
+
isPlaceholderData: false;
|
|
116
123
|
status: "pending";
|
|
117
124
|
dataUpdatedAt: number;
|
|
118
125
|
errorUpdatedAt: number;
|
|
@@ -124,11 +131,12 @@ export declare function useLiquidityProviders({ pool, }: {
|
|
|
124
131
|
isFetching: boolean;
|
|
125
132
|
isInitialLoading: boolean;
|
|
126
133
|
isPaused: boolean;
|
|
127
|
-
isPlaceholderData: boolean;
|
|
128
134
|
isRefetching: boolean;
|
|
129
135
|
isStale: boolean;
|
|
136
|
+
isEnabled: boolean;
|
|
130
137
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchLiquidityPositionsQuery, Error>>;
|
|
131
138
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
139
|
+
promise: Promise<import("@dodoex/api/dist/types/gql/graphql").FetchLiquidityPositionsQuery>;
|
|
132
140
|
} | {
|
|
133
141
|
isLoading: boolean;
|
|
134
142
|
errorRefetch: (() => void) | undefined;
|
|
@@ -140,6 +148,7 @@ export declare function useLiquidityProviders({ pool, }: {
|
|
|
140
148
|
isLoadingError: false;
|
|
141
149
|
isRefetchError: false;
|
|
142
150
|
isSuccess: false;
|
|
151
|
+
isPlaceholderData: false;
|
|
143
152
|
status: "pending";
|
|
144
153
|
dataUpdatedAt: number;
|
|
145
154
|
errorUpdatedAt: number;
|
|
@@ -151,9 +160,39 @@ export declare function useLiquidityProviders({ pool, }: {
|
|
|
151
160
|
isFetching: boolean;
|
|
152
161
|
isInitialLoading: boolean;
|
|
153
162
|
isPaused: boolean;
|
|
154
|
-
isPlaceholderData: boolean;
|
|
155
163
|
isRefetching: boolean;
|
|
156
164
|
isStale: boolean;
|
|
165
|
+
isEnabled: boolean;
|
|
157
166
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchLiquidityPositionsQuery, Error>>;
|
|
158
167
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
168
|
+
promise: Promise<import("@dodoex/api/dist/types/gql/graphql").FetchLiquidityPositionsQuery>;
|
|
169
|
+
} | {
|
|
170
|
+
isLoading: boolean;
|
|
171
|
+
errorRefetch: (() => void) | undefined;
|
|
172
|
+
list: LpItem[];
|
|
173
|
+
data: import("@dodoex/api/dist/types/gql/graphql").FetchLiquidityPositionsQuery;
|
|
174
|
+
isError: false;
|
|
175
|
+
error: null;
|
|
176
|
+
isPending: false;
|
|
177
|
+
isLoadingError: false;
|
|
178
|
+
isRefetchError: false;
|
|
179
|
+
isSuccess: true;
|
|
180
|
+
isPlaceholderData: true;
|
|
181
|
+
status: "success";
|
|
182
|
+
dataUpdatedAt: number;
|
|
183
|
+
errorUpdatedAt: number;
|
|
184
|
+
failureCount: number;
|
|
185
|
+
failureReason: Error | null;
|
|
186
|
+
errorUpdateCount: number;
|
|
187
|
+
isFetched: boolean;
|
|
188
|
+
isFetchedAfterMount: boolean;
|
|
189
|
+
isFetching: boolean;
|
|
190
|
+
isInitialLoading: boolean;
|
|
191
|
+
isPaused: boolean;
|
|
192
|
+
isRefetching: boolean;
|
|
193
|
+
isStale: boolean;
|
|
194
|
+
isEnabled: boolean;
|
|
195
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchLiquidityPositionsQuery, Error>>;
|
|
196
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
197
|
+
promise: Promise<import("@dodoex/api/dist/types/gql/graphql").FetchLiquidityPositionsQuery>;
|
|
159
198
|
};
|
|
@@ -48,6 +48,7 @@ export declare function usePoolDashboard({ address, chainId, }: {
|
|
|
48
48
|
isLoadingError: false;
|
|
49
49
|
isRefetchError: true;
|
|
50
50
|
isSuccess: false;
|
|
51
|
+
isPlaceholderData: false;
|
|
51
52
|
status: "error";
|
|
52
53
|
dataUpdatedAt: number;
|
|
53
54
|
errorUpdatedAt: number;
|
|
@@ -59,11 +60,12 @@ export declare function usePoolDashboard({ address, chainId, }: {
|
|
|
59
60
|
isFetching: boolean;
|
|
60
61
|
isInitialLoading: boolean;
|
|
61
62
|
isPaused: boolean;
|
|
62
|
-
isPlaceholderData: boolean;
|
|
63
63
|
isRefetching: boolean;
|
|
64
64
|
isStale: boolean;
|
|
65
|
+
isEnabled: boolean;
|
|
65
66
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchPoolDashboardQuery, Error>>;
|
|
66
67
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
68
|
+
promise: Promise<import("@dodoex/api/dist/types/gql/graphql").FetchPoolDashboardQuery>;
|
|
67
69
|
} | {
|
|
68
70
|
dashboard: {
|
|
69
71
|
fee?: string | null;
|
|
@@ -110,6 +112,7 @@ export declare function usePoolDashboard({ address, chainId, }: {
|
|
|
110
112
|
isLoadingError: false;
|
|
111
113
|
isRefetchError: false;
|
|
112
114
|
isSuccess: true;
|
|
115
|
+
isPlaceholderData: false;
|
|
113
116
|
status: "success";
|
|
114
117
|
dataUpdatedAt: number;
|
|
115
118
|
errorUpdatedAt: number;
|
|
@@ -121,11 +124,12 @@ export declare function usePoolDashboard({ address, chainId, }: {
|
|
|
121
124
|
isFetching: boolean;
|
|
122
125
|
isInitialLoading: boolean;
|
|
123
126
|
isPaused: boolean;
|
|
124
|
-
isPlaceholderData: boolean;
|
|
125
127
|
isRefetching: boolean;
|
|
126
128
|
isStale: boolean;
|
|
129
|
+
isEnabled: boolean;
|
|
127
130
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchPoolDashboardQuery, Error>>;
|
|
128
131
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
132
|
+
promise: Promise<import("@dodoex/api/dist/types/gql/graphql").FetchPoolDashboardQuery>;
|
|
129
133
|
} | {
|
|
130
134
|
dashboard: {
|
|
131
135
|
fee?: string | null;
|
|
@@ -172,6 +176,7 @@ export declare function usePoolDashboard({ address, chainId, }: {
|
|
|
172
176
|
isLoadingError: true;
|
|
173
177
|
isRefetchError: false;
|
|
174
178
|
isSuccess: false;
|
|
179
|
+
isPlaceholderData: false;
|
|
175
180
|
status: "error";
|
|
176
181
|
dataUpdatedAt: number;
|
|
177
182
|
errorUpdatedAt: number;
|
|
@@ -183,11 +188,12 @@ export declare function usePoolDashboard({ address, chainId, }: {
|
|
|
183
188
|
isFetching: boolean;
|
|
184
189
|
isInitialLoading: boolean;
|
|
185
190
|
isPaused: boolean;
|
|
186
|
-
isPlaceholderData: boolean;
|
|
187
191
|
isRefetching: boolean;
|
|
188
192
|
isStale: boolean;
|
|
193
|
+
isEnabled: boolean;
|
|
189
194
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchPoolDashboardQuery, Error>>;
|
|
190
195
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
196
|
+
promise: Promise<import("@dodoex/api/dist/types/gql/graphql").FetchPoolDashboardQuery>;
|
|
191
197
|
} | {
|
|
192
198
|
dashboard: {
|
|
193
199
|
fee?: string | null;
|
|
@@ -234,6 +240,7 @@ export declare function usePoolDashboard({ address, chainId, }: {
|
|
|
234
240
|
isLoadingError: false;
|
|
235
241
|
isRefetchError: false;
|
|
236
242
|
isSuccess: false;
|
|
243
|
+
isPlaceholderData: false;
|
|
237
244
|
status: "pending";
|
|
238
245
|
dataUpdatedAt: number;
|
|
239
246
|
errorUpdatedAt: number;
|
|
@@ -245,11 +252,12 @@ export declare function usePoolDashboard({ address, chainId, }: {
|
|
|
245
252
|
isFetching: boolean;
|
|
246
253
|
isInitialLoading: boolean;
|
|
247
254
|
isPaused: boolean;
|
|
248
|
-
isPlaceholderData: boolean;
|
|
249
255
|
isRefetching: boolean;
|
|
250
256
|
isStale: boolean;
|
|
257
|
+
isEnabled: boolean;
|
|
251
258
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchPoolDashboardQuery, Error>>;
|
|
252
259
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
260
|
+
promise: Promise<import("@dodoex/api/dist/types/gql/graphql").FetchPoolDashboardQuery>;
|
|
253
261
|
} | {
|
|
254
262
|
dashboard: {
|
|
255
263
|
fee?: string | null;
|
|
@@ -295,6 +303,7 @@ export declare function usePoolDashboard({ address, chainId, }: {
|
|
|
295
303
|
isLoadingError: false;
|
|
296
304
|
isRefetchError: false;
|
|
297
305
|
isSuccess: false;
|
|
306
|
+
isPlaceholderData: false;
|
|
298
307
|
status: "pending";
|
|
299
308
|
dataUpdatedAt: number;
|
|
300
309
|
errorUpdatedAt: number;
|
|
@@ -307,9 +316,74 @@ export declare function usePoolDashboard({ address, chainId, }: {
|
|
|
307
316
|
isLoading: boolean;
|
|
308
317
|
isInitialLoading: boolean;
|
|
309
318
|
isPaused: boolean;
|
|
310
|
-
isPlaceholderData: boolean;
|
|
311
319
|
isRefetching: boolean;
|
|
312
320
|
isStale: boolean;
|
|
321
|
+
isEnabled: boolean;
|
|
313
322
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchPoolDashboardQuery, Error>>;
|
|
314
323
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
324
|
+
promise: Promise<import("@dodoex/api/dist/types/gql/graphql").FetchPoolDashboardQuery>;
|
|
325
|
+
} | {
|
|
326
|
+
dashboard: {
|
|
327
|
+
fee?: string | null;
|
|
328
|
+
volume?: string | null;
|
|
329
|
+
totalFee?: string | null;
|
|
330
|
+
totalMtFee?: string | null;
|
|
331
|
+
totalVolume?: string | null;
|
|
332
|
+
tvl?: string | null;
|
|
333
|
+
turnover?: string | null;
|
|
334
|
+
liquidity?: string | null;
|
|
335
|
+
baseReserve?: string | null;
|
|
336
|
+
quoteReserve?: string | null;
|
|
337
|
+
baseVolume?: string | null;
|
|
338
|
+
quoteVolume?: string | null;
|
|
339
|
+
basePrice?: string | null;
|
|
340
|
+
quotePrice?: string | null;
|
|
341
|
+
price?: string | null;
|
|
342
|
+
baseFee?: string | null;
|
|
343
|
+
quoteFee?: string | null;
|
|
344
|
+
baseMtFee?: string | null;
|
|
345
|
+
quoteMtFee?: string | null;
|
|
346
|
+
pair?: string | null;
|
|
347
|
+
poolType?: string | null;
|
|
348
|
+
baseVolumeCumulative?: string | null;
|
|
349
|
+
quoteVolumeCumulative?: string | null;
|
|
350
|
+
baseAddress?: string | null;
|
|
351
|
+
baseSymbol?: string | null;
|
|
352
|
+
quoteAddress?: string | null;
|
|
353
|
+
quoteSymbol?: string | null;
|
|
354
|
+
network?: string | null;
|
|
355
|
+
pairAddress?: string | null;
|
|
356
|
+
txes?: number | null;
|
|
357
|
+
txesNear24h?: number | null;
|
|
358
|
+
txUsers?: number | null;
|
|
359
|
+
txUserNear24h?: number | null;
|
|
360
|
+
mtFeeNear24h?: string | null;
|
|
361
|
+
feeNear24h?: string | null;
|
|
362
|
+
} | null | undefined;
|
|
363
|
+
data: import("@dodoex/api/dist/types/gql/graphql").FetchPoolDashboardQuery;
|
|
364
|
+
isError: false;
|
|
365
|
+
error: null;
|
|
366
|
+
isPending: false;
|
|
367
|
+
isLoading: false;
|
|
368
|
+
isLoadingError: false;
|
|
369
|
+
isRefetchError: false;
|
|
370
|
+
isSuccess: true;
|
|
371
|
+
isPlaceholderData: true;
|
|
372
|
+
status: "success";
|
|
373
|
+
dataUpdatedAt: number;
|
|
374
|
+
errorUpdatedAt: number;
|
|
375
|
+
failureCount: number;
|
|
376
|
+
failureReason: Error | null;
|
|
377
|
+
errorUpdateCount: number;
|
|
378
|
+
isFetched: boolean;
|
|
379
|
+
isFetchedAfterMount: boolean;
|
|
380
|
+
isFetching: boolean;
|
|
381
|
+
isInitialLoading: boolean;
|
|
382
|
+
isPaused: boolean;
|
|
383
|
+
isRefetching: boolean;
|
|
384
|
+
isStale: boolean;
|
|
385
|
+
isEnabled: boolean;
|
|
386
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchPoolDashboardQuery, Error>>;
|
|
387
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
388
|
+
promise: Promise<import("@dodoex/api/dist/types/gql/graphql").FetchPoolDashboardQuery>;
|
|
315
389
|
};
|
|
@@ -19,6 +19,7 @@ export declare function usePoolDayData({ address, chainId, day, }: {
|
|
|
19
19
|
isLoadingError: false;
|
|
20
20
|
isRefetchError: true;
|
|
21
21
|
isSuccess: false;
|
|
22
|
+
isPlaceholderData: false;
|
|
22
23
|
status: "error";
|
|
23
24
|
dataUpdatedAt: number;
|
|
24
25
|
errorUpdatedAt: number;
|
|
@@ -30,11 +31,12 @@ export declare function usePoolDayData({ address, chainId, day, }: {
|
|
|
30
31
|
isFetching: boolean;
|
|
31
32
|
isInitialLoading: boolean;
|
|
32
33
|
isPaused: boolean;
|
|
33
|
-
isPlaceholderData: boolean;
|
|
34
34
|
isRefetching: boolean;
|
|
35
35
|
isStale: boolean;
|
|
36
|
+
isEnabled: boolean;
|
|
36
37
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchPoolDayDataQuery, Error>>;
|
|
37
38
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
39
|
+
promise: Promise<import("@dodoex/api/dist/types/gql/graphql").FetchPoolDayDataQuery>;
|
|
38
40
|
} | {
|
|
39
41
|
dayDataList: {
|
|
40
42
|
volume: number;
|
|
@@ -51,6 +53,7 @@ export declare function usePoolDayData({ address, chainId, day, }: {
|
|
|
51
53
|
isLoadingError: false;
|
|
52
54
|
isRefetchError: false;
|
|
53
55
|
isSuccess: true;
|
|
56
|
+
isPlaceholderData: false;
|
|
54
57
|
status: "success";
|
|
55
58
|
dataUpdatedAt: number;
|
|
56
59
|
errorUpdatedAt: number;
|
|
@@ -62,11 +65,12 @@ export declare function usePoolDayData({ address, chainId, day, }: {
|
|
|
62
65
|
isFetching: boolean;
|
|
63
66
|
isInitialLoading: boolean;
|
|
64
67
|
isPaused: boolean;
|
|
65
|
-
isPlaceholderData: boolean;
|
|
66
68
|
isRefetching: boolean;
|
|
67
69
|
isStale: boolean;
|
|
70
|
+
isEnabled: boolean;
|
|
68
71
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchPoolDayDataQuery, Error>>;
|
|
69
72
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
73
|
+
promise: Promise<import("@dodoex/api/dist/types/gql/graphql").FetchPoolDayDataQuery>;
|
|
70
74
|
} | {
|
|
71
75
|
dayDataList: {
|
|
72
76
|
volume: number;
|
|
@@ -83,6 +87,7 @@ export declare function usePoolDayData({ address, chainId, day, }: {
|
|
|
83
87
|
isLoadingError: true;
|
|
84
88
|
isRefetchError: false;
|
|
85
89
|
isSuccess: false;
|
|
90
|
+
isPlaceholderData: false;
|
|
86
91
|
status: "error";
|
|
87
92
|
dataUpdatedAt: number;
|
|
88
93
|
errorUpdatedAt: number;
|
|
@@ -94,11 +99,12 @@ export declare function usePoolDayData({ address, chainId, day, }: {
|
|
|
94
99
|
isFetching: boolean;
|
|
95
100
|
isInitialLoading: boolean;
|
|
96
101
|
isPaused: boolean;
|
|
97
|
-
isPlaceholderData: boolean;
|
|
98
102
|
isRefetching: boolean;
|
|
99
103
|
isStale: boolean;
|
|
104
|
+
isEnabled: boolean;
|
|
100
105
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchPoolDayDataQuery, Error>>;
|
|
101
106
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
107
|
+
promise: Promise<import("@dodoex/api/dist/types/gql/graphql").FetchPoolDayDataQuery>;
|
|
102
108
|
} | {
|
|
103
109
|
dayDataList: {
|
|
104
110
|
volume: number;
|
|
@@ -115,6 +121,7 @@ export declare function usePoolDayData({ address, chainId, day, }: {
|
|
|
115
121
|
isLoadingError: false;
|
|
116
122
|
isRefetchError: false;
|
|
117
123
|
isSuccess: false;
|
|
124
|
+
isPlaceholderData: false;
|
|
118
125
|
status: "pending";
|
|
119
126
|
dataUpdatedAt: number;
|
|
120
127
|
errorUpdatedAt: number;
|
|
@@ -126,11 +133,12 @@ export declare function usePoolDayData({ address, chainId, day, }: {
|
|
|
126
133
|
isFetching: boolean;
|
|
127
134
|
isInitialLoading: boolean;
|
|
128
135
|
isPaused: boolean;
|
|
129
|
-
isPlaceholderData: boolean;
|
|
130
136
|
isRefetching: boolean;
|
|
131
137
|
isStale: boolean;
|
|
138
|
+
isEnabled: boolean;
|
|
132
139
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchPoolDayDataQuery, Error>>;
|
|
133
140
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
141
|
+
promise: Promise<import("@dodoex/api/dist/types/gql/graphql").FetchPoolDayDataQuery>;
|
|
134
142
|
} | {
|
|
135
143
|
dayDataList: {
|
|
136
144
|
volume: number;
|
|
@@ -146,6 +154,7 @@ export declare function usePoolDayData({ address, chainId, day, }: {
|
|
|
146
154
|
isLoadingError: false;
|
|
147
155
|
isRefetchError: false;
|
|
148
156
|
isSuccess: false;
|
|
157
|
+
isPlaceholderData: false;
|
|
149
158
|
status: "pending";
|
|
150
159
|
dataUpdatedAt: number;
|
|
151
160
|
errorUpdatedAt: number;
|
|
@@ -158,9 +167,44 @@ export declare function usePoolDayData({ address, chainId, day, }: {
|
|
|
158
167
|
isLoading: boolean;
|
|
159
168
|
isInitialLoading: boolean;
|
|
160
169
|
isPaused: boolean;
|
|
161
|
-
isPlaceholderData: boolean;
|
|
162
170
|
isRefetching: boolean;
|
|
163
171
|
isStale: boolean;
|
|
172
|
+
isEnabled: boolean;
|
|
164
173
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchPoolDayDataQuery, Error>>;
|
|
165
174
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
175
|
+
promise: Promise<import("@dodoex/api/dist/types/gql/graphql").FetchPoolDayDataQuery>;
|
|
176
|
+
} | {
|
|
177
|
+
dayDataList: {
|
|
178
|
+
volume: number;
|
|
179
|
+
fee: number;
|
|
180
|
+
traders: number;
|
|
181
|
+
date: number;
|
|
182
|
+
tvl: number;
|
|
183
|
+
}[];
|
|
184
|
+
data: import("@dodoex/api/dist/types/gql/graphql").FetchPoolDayDataQuery;
|
|
185
|
+
isError: false;
|
|
186
|
+
error: null;
|
|
187
|
+
isPending: false;
|
|
188
|
+
isLoading: false;
|
|
189
|
+
isLoadingError: false;
|
|
190
|
+
isRefetchError: false;
|
|
191
|
+
isSuccess: true;
|
|
192
|
+
isPlaceholderData: true;
|
|
193
|
+
status: "success";
|
|
194
|
+
dataUpdatedAt: number;
|
|
195
|
+
errorUpdatedAt: number;
|
|
196
|
+
failureCount: number;
|
|
197
|
+
failureReason: Error | null;
|
|
198
|
+
errorUpdateCount: number;
|
|
199
|
+
isFetched: boolean;
|
|
200
|
+
isFetchedAfterMount: boolean;
|
|
201
|
+
isFetching: boolean;
|
|
202
|
+
isInitialLoading: boolean;
|
|
203
|
+
isPaused: boolean;
|
|
204
|
+
isRefetching: boolean;
|
|
205
|
+
isStale: boolean;
|
|
206
|
+
isEnabled: boolean;
|
|
207
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchPoolDayDataQuery, Error>>;
|
|
208
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
209
|
+
promise: Promise<import("@dodoex/api/dist/types/gql/graphql").FetchPoolDayDataQuery>;
|
|
166
210
|
};
|
|
@@ -34,6 +34,7 @@ export declare function usePoolSwapList({ chainId, address, first, }: {
|
|
|
34
34
|
isLoadingError: false;
|
|
35
35
|
isRefetchError: true;
|
|
36
36
|
isSuccess: false;
|
|
37
|
+
isPlaceholderData: false;
|
|
37
38
|
status: "error";
|
|
38
39
|
dataUpdatedAt: number;
|
|
39
40
|
errorUpdatedAt: number;
|
|
@@ -45,11 +46,12 @@ export declare function usePoolSwapList({ chainId, address, first, }: {
|
|
|
45
46
|
isFetching: boolean;
|
|
46
47
|
isInitialLoading: boolean;
|
|
47
48
|
isPaused: boolean;
|
|
48
|
-
isPlaceholderData: boolean;
|
|
49
49
|
isRefetching: boolean;
|
|
50
50
|
isStale: boolean;
|
|
51
|
+
isEnabled: boolean;
|
|
51
52
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchPoolSwapListQuery, Error>>;
|
|
52
53
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
54
|
+
promise: Promise<import("@dodoex/api/dist/types/gql/graphql").FetchPoolSwapListQuery>;
|
|
53
55
|
} | {
|
|
54
56
|
swapList: {
|
|
55
57
|
id: string;
|
|
@@ -82,6 +84,7 @@ export declare function usePoolSwapList({ chainId, address, first, }: {
|
|
|
82
84
|
isLoadingError: false;
|
|
83
85
|
isRefetchError: false;
|
|
84
86
|
isSuccess: true;
|
|
87
|
+
isPlaceholderData: false;
|
|
85
88
|
status: "success";
|
|
86
89
|
dataUpdatedAt: number;
|
|
87
90
|
errorUpdatedAt: number;
|
|
@@ -93,11 +96,12 @@ export declare function usePoolSwapList({ chainId, address, first, }: {
|
|
|
93
96
|
isFetching: boolean;
|
|
94
97
|
isInitialLoading: boolean;
|
|
95
98
|
isPaused: boolean;
|
|
96
|
-
isPlaceholderData: boolean;
|
|
97
99
|
isRefetching: boolean;
|
|
98
100
|
isStale: boolean;
|
|
101
|
+
isEnabled: boolean;
|
|
99
102
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchPoolSwapListQuery, Error>>;
|
|
100
103
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
104
|
+
promise: Promise<import("@dodoex/api/dist/types/gql/graphql").FetchPoolSwapListQuery>;
|
|
101
105
|
} | {
|
|
102
106
|
swapList: {
|
|
103
107
|
id: string;
|
|
@@ -130,6 +134,7 @@ export declare function usePoolSwapList({ chainId, address, first, }: {
|
|
|
130
134
|
isLoadingError: true;
|
|
131
135
|
isRefetchError: false;
|
|
132
136
|
isSuccess: false;
|
|
137
|
+
isPlaceholderData: false;
|
|
133
138
|
status: "error";
|
|
134
139
|
dataUpdatedAt: number;
|
|
135
140
|
errorUpdatedAt: number;
|
|
@@ -141,11 +146,12 @@ export declare function usePoolSwapList({ chainId, address, first, }: {
|
|
|
141
146
|
isFetching: boolean;
|
|
142
147
|
isInitialLoading: boolean;
|
|
143
148
|
isPaused: boolean;
|
|
144
|
-
isPlaceholderData: boolean;
|
|
145
149
|
isRefetching: boolean;
|
|
146
150
|
isStale: boolean;
|
|
151
|
+
isEnabled: boolean;
|
|
147
152
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchPoolSwapListQuery, Error>>;
|
|
148
153
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
154
|
+
promise: Promise<import("@dodoex/api/dist/types/gql/graphql").FetchPoolSwapListQuery>;
|
|
149
155
|
} | {
|
|
150
156
|
swapList: {
|
|
151
157
|
id: string;
|
|
@@ -178,6 +184,7 @@ export declare function usePoolSwapList({ chainId, address, first, }: {
|
|
|
178
184
|
isLoadingError: false;
|
|
179
185
|
isRefetchError: false;
|
|
180
186
|
isSuccess: false;
|
|
187
|
+
isPlaceholderData: false;
|
|
181
188
|
status: "pending";
|
|
182
189
|
dataUpdatedAt: number;
|
|
183
190
|
errorUpdatedAt: number;
|
|
@@ -189,11 +196,12 @@ export declare function usePoolSwapList({ chainId, address, first, }: {
|
|
|
189
196
|
isFetching: boolean;
|
|
190
197
|
isInitialLoading: boolean;
|
|
191
198
|
isPaused: boolean;
|
|
192
|
-
isPlaceholderData: boolean;
|
|
193
199
|
isRefetching: boolean;
|
|
194
200
|
isStale: boolean;
|
|
201
|
+
isEnabled: boolean;
|
|
195
202
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchPoolSwapListQuery, Error>>;
|
|
196
203
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
204
|
+
promise: Promise<import("@dodoex/api/dist/types/gql/graphql").FetchPoolSwapListQuery>;
|
|
197
205
|
} | {
|
|
198
206
|
swapList: {
|
|
199
207
|
id: string;
|
|
@@ -225,6 +233,7 @@ export declare function usePoolSwapList({ chainId, address, first, }: {
|
|
|
225
233
|
isLoadingError: false;
|
|
226
234
|
isRefetchError: false;
|
|
227
235
|
isSuccess: false;
|
|
236
|
+
isPlaceholderData: false;
|
|
228
237
|
status: "pending";
|
|
229
238
|
dataUpdatedAt: number;
|
|
230
239
|
errorUpdatedAt: number;
|
|
@@ -237,9 +246,60 @@ export declare function usePoolSwapList({ chainId, address, first, }: {
|
|
|
237
246
|
isLoading: boolean;
|
|
238
247
|
isInitialLoading: boolean;
|
|
239
248
|
isPaused: boolean;
|
|
240
|
-
isPlaceholderData: boolean;
|
|
241
249
|
isRefetching: boolean;
|
|
242
250
|
isStale: boolean;
|
|
251
|
+
isEnabled: boolean;
|
|
243
252
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchPoolSwapListQuery, Error>>;
|
|
244
253
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
254
|
+
promise: Promise<import("@dodoex/api/dist/types/gql/graphql").FetchPoolSwapListQuery>;
|
|
255
|
+
} | {
|
|
256
|
+
swapList: {
|
|
257
|
+
id: string;
|
|
258
|
+
timestamp: any;
|
|
259
|
+
from: any;
|
|
260
|
+
baseVolume: any;
|
|
261
|
+
quoteVolume: any;
|
|
262
|
+
feeBase: any;
|
|
263
|
+
feeQuote: any;
|
|
264
|
+
amountIn: any;
|
|
265
|
+
amountOut: any;
|
|
266
|
+
fromToken: {
|
|
267
|
+
id: string;
|
|
268
|
+
symbol: string;
|
|
269
|
+
name: string;
|
|
270
|
+
decimals: any;
|
|
271
|
+
};
|
|
272
|
+
toToken: {
|
|
273
|
+
id: string;
|
|
274
|
+
symbol: string;
|
|
275
|
+
name: string;
|
|
276
|
+
decimals: any;
|
|
277
|
+
};
|
|
278
|
+
}[] | undefined;
|
|
279
|
+
data: import("@dodoex/api/dist/types/gql/graphql").FetchPoolSwapListQuery;
|
|
280
|
+
isError: false;
|
|
281
|
+
error: null;
|
|
282
|
+
isPending: false;
|
|
283
|
+
isLoading: false;
|
|
284
|
+
isLoadingError: false;
|
|
285
|
+
isRefetchError: false;
|
|
286
|
+
isSuccess: true;
|
|
287
|
+
isPlaceholderData: true;
|
|
288
|
+
status: "success";
|
|
289
|
+
dataUpdatedAt: number;
|
|
290
|
+
errorUpdatedAt: number;
|
|
291
|
+
failureCount: number;
|
|
292
|
+
failureReason: Error | null;
|
|
293
|
+
errorUpdateCount: number;
|
|
294
|
+
isFetched: boolean;
|
|
295
|
+
isFetchedAfterMount: boolean;
|
|
296
|
+
isFetching: boolean;
|
|
297
|
+
isInitialLoading: boolean;
|
|
298
|
+
isPaused: boolean;
|
|
299
|
+
isRefetching: boolean;
|
|
300
|
+
isStale: boolean;
|
|
301
|
+
isEnabled: boolean;
|
|
302
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchPoolSwapListQuery, Error>>;
|
|
303
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
304
|
+
promise: Promise<import("@dodoex/api/dist/types/gql/graphql").FetchPoolSwapListQuery>;
|
|
245
305
|
};
|