@dodoex/widgets 3.0.0-beta.2 → 3.0.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (763) hide show
  1. package/dist/cjs/components/Widget/index.d.ts +4 -2
  2. package/dist/cjs/{helper-CT7gzva6.cjs → helper-B2-rZVIE.cjs} +1 -1
  3. package/dist/cjs/hooks/Widget/useInitPropsToRedux.d.ts +1 -1
  4. package/dist/cjs/{index-Dvm2UvHH.cjs → index-CwNxbpQG.cjs} +1 -1
  5. package/dist/cjs/{index-Btn_JJqA.cjs → index-DcTfgD7l.cjs} +1 -1
  6. package/dist/cjs/{index-385J8FnP.cjs → index-GmVuq-HG.cjs} +3 -3
  7. package/dist/cjs/index.cjs +1 -1
  8. package/dist/cjs/index.d.ts +1 -1
  9. package/dist/cjs/{lottie-bG8uL7Ic.cjs → lottie-Br_vIGRH.cjs} +1 -1
  10. package/dist/components/Widget/index.d.ts +4 -2
  11. package/dist/{helper-7cc29594.js → helper-DNb0C46N.js} +1 -1
  12. package/dist/hooks/Widget/useInitPropsToRedux.d.ts +1 -1
  13. package/dist/{index-DhQe6anS.js → index-5b4GvkIX.js} +1 -1
  14. package/dist/{index-Ch7GewG2.js → index-BnI0cbY9.js} +3 -3
  15. package/dist/{index-DksR3nfe.js → index-DVDdzCO4.js} +1 -1
  16. package/dist/index.d.ts +1 -1
  17. package/dist/index.js +1 -1
  18. package/dist/{lottie-CvNBrPAN.js → lottie-CFAC9m8a.js} +1 -1
  19. package/package.json +4 -4
  20. package/dist/cjs/e2e/connect.test.d.ts +0 -6
  21. package/dist/cjs/e2e/constants.d.ts +0 -87
  22. package/dist/cjs/e2e/default.test.d.ts +0 -6
  23. package/dist/cjs/e2e/setup.d.ts +0 -4
  24. package/dist/cjs/failed-list-e6c1e563-7122998d.cjs +0 -1
  25. package/dist/cjs/helper-889c5e9a.cjs +0 -1
  26. package/dist/cjs/index-183743c8.cjs +0 -45
  27. package/dist/cjs/index-1904ef51.cjs +0 -50
  28. package/dist/cjs/index-19cf4c6e.cjs +0 -50
  29. package/dist/cjs/index-1a21b21a.cjs +0 -45
  30. package/dist/cjs/index-246a9973.cjs +0 -50
  31. package/dist/cjs/index-256d5f78.cjs +0 -12
  32. package/dist/cjs/index-39149ce7.cjs +0 -45
  33. package/dist/cjs/index-4190bae6.cjs +0 -58
  34. package/dist/cjs/index-457c65f3.cjs +0 -78
  35. package/dist/cjs/index-5eca89d2.cjs +0 -50
  36. package/dist/cjs/index-64af8ffd.cjs +0 -45
  37. package/dist/cjs/index-f2a80623.cjs +0 -45
  38. package/dist/cjs/locales/en-US.js +0 -5
  39. package/dist/cjs/locales/zh-CN.js +0 -5
  40. package/dist/cjs/lottie-01f67a00.cjs +0 -1
  41. package/dist/cjs/lottie-09dbe581.cjs +0 -1
  42. package/dist/cjs/lottie-2035df95.cjs +0 -1
  43. package/dist/cjs/lottie-7e742196.cjs +0 -1
  44. package/dist/cjs/lottie-924a2436.cjs +0 -1
  45. package/dist/cjs/lottie-b9cf6aee.cjs +0 -1
  46. package/dist/cjs/lottie-c4b6404b.cjs +0 -1
  47. package/dist/cjs/lottie-ed4f1473.cjs +0 -1
  48. package/dist/cjs/lottie-edc8e0b8.cjs +0 -1
  49. package/dist/cjs/lottie-f516f300.cjs +0 -1
  50. package/dist/cjs/no-found-89a3b4af-9c7e1488.cjs +0 -1
  51. package/dist/cjs/no-result-01c60834-3e379801.cjs +0 -1
  52. package/dist/cjs/src/components/AddressWithLinkAndCopy.d.ts +0 -22
  53. package/dist/cjs/src/components/AutoButton.d.ts +0 -7
  54. package/dist/cjs/src/components/Bridge/BridgeRouteShortCard.d.ts +0 -6
  55. package/dist/cjs/src/components/Bridge/BridgeSummaryDialog/BridgeSummaryDetail.d.ts +0 -5
  56. package/dist/cjs/src/components/Bridge/BridgeSummaryDialog/index.d.ts +0 -18
  57. package/dist/cjs/src/components/Bridge/BridgeSummaryDialog/orderInfoModal/CrossStep.d.ts +0 -16
  58. package/dist/cjs/src/components/Bridge/BridgeSummaryDialog/orderInfoModal/EtherscanLinkButton.d.ts +0 -6
  59. package/dist/cjs/src/components/Bridge/BridgeSummaryDialog/orderInfoModal/RouteSteps.d.ts +0 -6
  60. package/dist/cjs/src/components/Bridge/BridgeSummaryDialog/orderInfoModal/SwapStep.d.ts +0 -14
  61. package/dist/cjs/src/components/Bridge/SelectBridgeDialog/BridgeLogo.d.ts +0 -10
  62. package/dist/cjs/src/components/Bridge/SelectBridgeDialog/DirectionLine.d.ts +0 -4
  63. package/dist/cjs/src/components/Bridge/SelectBridgeDialog/RouteCard.d.ts +0 -20
  64. package/dist/cjs/src/components/Bridge/SelectBridgeDialog/RouteTagList.d.ts +0 -12
  65. package/dist/cjs/src/components/Bridge/SelectBridgeDialog/TokenWithChain.d.ts +0 -11
  66. package/dist/cjs/src/components/Bridge/SelectBridgeDialog/index.d.ts +0 -9
  67. package/dist/cjs/src/components/Bridge/SelectBridgeDialog/productList.d.ts +0 -8
  68. package/dist/cjs/src/components/Confirm.d.ts +0 -15
  69. package/dist/cjs/src/components/ConnectWallet/ConnectWalletDialog.d.ts +0 -5
  70. package/dist/cjs/src/components/ConnectWallet/NeedConnectButton.d.ts +0 -8
  71. package/dist/cjs/src/components/ConnectWallet/OpenConnectWalletInfo.d.ts +0 -2
  72. package/dist/cjs/src/components/CopyTooltipToast.d.ts +0 -9
  73. package/dist/cjs/src/components/DataCard/DataCardGroup.d.ts +0 -9
  74. package/dist/cjs/src/components/Dialog.d.ts +0 -1
  75. package/dist/cjs/src/components/ErrorMessageDialog.d.ts +0 -5
  76. package/dist/cjs/src/components/GoBack.d.ts +0 -6
  77. package/dist/cjs/src/components/HowItWorks.d.ts +0 -11
  78. package/dist/cjs/src/components/List/EmptyList.d.ts +0 -7
  79. package/dist/cjs/src/components/List/FailedList.d.ts +0 -6
  80. package/dist/cjs/src/components/RiskDialog.d.ts +0 -7
  81. package/dist/cjs/src/components/SelectChain.d.ts +0 -12
  82. package/dist/cjs/src/components/Swap/components/ConnectWallet/ConnectWalletDialog.d.ts +0 -5
  83. package/dist/cjs/src/components/Swap/components/ConnectWallet/index.d.ts +0 -6
  84. package/dist/cjs/src/components/Swap/components/Dialog.d.ts +0 -15
  85. package/dist/cjs/src/components/Swap/components/ReviewDialog.d.ts +0 -21
  86. package/dist/cjs/src/components/Swap/components/SettingsDialog/NumberInput.d.ts +0 -8
  87. package/dist/cjs/src/components/Swap/components/SettingsDialog/index.d.ts +0 -7
  88. package/dist/cjs/src/components/Swap/components/SwitchBox.d.ts +0 -5
  89. package/dist/cjs/src/components/Swap/components/TokenCard/BalanceText.d.ts +0 -11
  90. package/dist/cjs/src/components/Swap/components/TokenCard/NumberInput.d.ts +0 -16
  91. package/dist/cjs/src/components/Swap/components/TokenCard/PercentageSelectButtonGroup.d.ts +0 -7
  92. package/dist/cjs/src/components/Swap/components/TokenCard/TokenLogoCollapse.d.ts +0 -8
  93. package/dist/cjs/src/components/Swap/components/TokenCard/TokenPickerDialog.d.ts +0 -18
  94. package/dist/cjs/src/components/Swap/components/TokenCard/index.d.ts +0 -36
  95. package/dist/cjs/src/components/Swap/components/TokenPairPriceWithToggle.d.ts +0 -10
  96. package/dist/cjs/src/components/Swap/index.d.ts +0 -7
  97. package/dist/cjs/src/components/SwitchChainDialog/index.d.ts +0 -7
  98. package/dist/cjs/src/components/Token/TokenItem.d.ts +0 -9
  99. package/dist/cjs/src/components/TokenLogo.d.ts +0 -18
  100. package/dist/cjs/src/components/TokenLogoPair.d.ts +0 -17
  101. package/dist/cjs/src/components/TokenLogoSimple.d.ts +0 -13
  102. package/dist/cjs/src/components/TokenPicker/PopularToken.d.ts +0 -7
  103. package/dist/cjs/src/components/TokenPicker/SelectChainItem.d.ts +0 -7
  104. package/dist/cjs/src/components/TokenPicker/TokenItem.d.ts +0 -10
  105. package/dist/cjs/src/components/TokenPicker/TokenSearchLoadingSkelton.d.ts +0 -2
  106. package/dist/cjs/src/components/TokenPicker/index.d.ts +0 -24
  107. package/dist/cjs/src/components/TokenStatusButton.d.ts +0 -7
  108. package/dist/cjs/src/components/Tooltip/QuestionTooltip.d.ts +0 -3
  109. package/dist/cjs/src/components/Tooltip/index.d.ts +0 -1
  110. package/dist/cjs/src/components/Widget/i18n.d.ts +0 -9
  111. package/dist/cjs/src/components/Widget/index.d.ts +0 -33
  112. package/dist/cjs/src/components/WidgetConfirm.d.ts +0 -15
  113. package/dist/cjs/src/components/WidgetContainer.d.ts +0 -3
  114. package/dist/cjs/src/components/WidgetDialog.d.ts +0 -15
  115. package/dist/cjs/src/components/WithExecutionDialog/index.d.ts +0 -5
  116. package/dist/cjs/src/components/chart/components/BaseButton.d.ts +0 -5
  117. package/dist/cjs/src/components/chart/components/Display.d.ts +0 -9
  118. package/dist/cjs/src/components/chart/components/Input.d.ts +0 -7
  119. package/dist/cjs/src/components/chart/components/NumberInput.d.ts +0 -6
  120. package/dist/cjs/src/components/chart/components/TogglePriceIcon.d.ts +0 -8
  121. package/dist/cjs/src/components/chart/components/TokenLogo.d.ts +0 -5
  122. package/dist/cjs/src/components/chart/depth-chart/DepthChartKonva.d.ts +0 -30
  123. package/dist/cjs/src/components/chart/depth-chart/__tests__/utils.test.d.ts +0 -1
  124. package/dist/cjs/src/components/chart/depth-chart/helper.d.ts +0 -125
  125. package/dist/cjs/src/components/chart/depth-chart/index.d.ts +0 -18
  126. package/dist/cjs/src/components/chart/depth-chart/index.styled.d.ts +0 -29
  127. package/dist/cjs/src/components/chart/depth-chart/useDepthLinePoints.d.ts +0 -21
  128. package/dist/cjs/src/components/chart/depth-chart/useGridLinePoints.d.ts +0 -9
  129. package/dist/cjs/src/components/chart/depth-chart/useHorizontalLabelPoints.d.ts +0 -15
  130. package/dist/cjs/src/components/chart/depth-chart/utils.d.ts +0 -19
  131. package/dist/cjs/src/components/chart/depth-chart-v2/index.d.ts +0 -10
  132. package/dist/cjs/src/components/chart/depth-chart-v2/index.styled.d.ts +0 -15
  133. package/dist/cjs/src/components/chart/hooks/usePreventWheel.d.ts +0 -9
  134. package/dist/cjs/src/components/chart/i18n.d.ts +0 -1
  135. package/dist/cjs/src/components/chart/liquidity-chart/LiquidityChartKonva.d.ts +0 -28
  136. package/dist/cjs/src/components/chart/liquidity-chart/__tests__/helper.test.d.ts +0 -1
  137. package/dist/cjs/src/components/chart/liquidity-chart/helper.d.ts +0 -47
  138. package/dist/cjs/src/components/chart/liquidity-chart/index.d.ts +0 -17
  139. package/dist/cjs/src/components/chart/liquidity-chart/index.styled.d.ts +0 -9
  140. package/dist/cjs/src/components/chart/liquidity-chart/useGridLine.d.ts +0 -8
  141. package/dist/cjs/src/components/chart/liquidity-chart/useHorizontalLabel.d.ts +0 -10
  142. package/dist/cjs/src/components/chart/liquidity-chart/useLiquidityLine.d.ts +0 -18
  143. package/dist/cjs/src/components/chart/liquidity-chart/useMiddleLine.d.ts +0 -6
  144. package/dist/cjs/src/components/chart/liquidity-chart/usePoints.d.ts +0 -39
  145. package/dist/cjs/src/components/chart/utils.d.ts +0 -3
  146. package/dist/cjs/src/constants/address.d.ts +0 -1
  147. package/dist/cjs/src/constants/api.d.ts +0 -20
  148. package/dist/cjs/src/constants/chainList.d.ts +0 -10
  149. package/dist/cjs/src/constants/chains.d.ts +0 -34
  150. package/dist/cjs/src/constants/locales.d.ts +0 -3
  151. package/dist/cjs/src/constants/localstorage.d.ts +0 -14
  152. package/dist/cjs/src/constants/pool.d.ts +0 -7
  153. package/dist/cjs/src/constants/sessionStorage.d.ts +0 -2
  154. package/dist/cjs/src/constants/swap.d.ts +0 -7
  155. package/dist/cjs/src/constants/testId.d.ts +0 -10
  156. package/dist/cjs/src/constants/token.d.ts +0 -2
  157. package/dist/cjs/src/constants/tokenList.d.ts +0 -9
  158. package/dist/cjs/src/constants/wallet.d.ts +0 -23
  159. package/dist/cjs/src/hooks/Bridge/createBridgeOrder.d.ts +0 -28
  160. package/dist/cjs/src/hooks/Bridge/index.d.ts +0 -4
  161. package/dist/cjs/src/hooks/Bridge/useExecuteBridgeRoute.d.ts +0 -7
  162. package/dist/cjs/src/hooks/Bridge/useFetchRoutePriceBridge.d.ts +0 -102
  163. package/dist/cjs/src/hooks/Bridge/useFetchRoutePriceBridge.test.d.ts +0 -1
  164. package/dist/cjs/src/hooks/Bridge/useSendRoute.d.ts +0 -16
  165. package/dist/cjs/src/hooks/Bridge/useSwitchBridgeOrSwapSlippage.d.ts +0 -1
  166. package/dist/cjs/src/hooks/Chain/useChainList.d.ts +0 -2
  167. package/dist/cjs/src/hooks/Chain/useChainList.test.d.ts +0 -1
  168. package/dist/cjs/src/hooks/ConnectWallet/Connectors/JsonRpcConnector.d.ts +0 -9
  169. package/dist/cjs/src/hooks/ConnectWallet/index.d.ts +0 -3
  170. package/dist/cjs/src/hooks/ConnectWallet/useCurrentChainId.d.ts +0 -2
  171. package/dist/cjs/src/hooks/ConnectWallet/useSwitchChain.d.ts +0 -10
  172. package/dist/cjs/src/hooks/ConnectWallet/useWalletInfo.d.ts +0 -6
  173. package/dist/cjs/src/hooks/ConnectWallet/useWeb3Connectors.d.ts +0 -17
  174. package/dist/cjs/src/hooks/ConnectWallet/web3.d.ts +0 -10
  175. package/dist/cjs/src/hooks/Submission/getExecutionErrorMsg.d.ts +0 -2
  176. package/dist/cjs/src/hooks/Submission/index.d.ts +0 -10
  177. package/dist/cjs/src/hooks/Submission/spec.d.ts +0 -56
  178. package/dist/cjs/src/hooks/Submission/types.d.ts +0 -79
  179. package/dist/cjs/src/hooks/Submission/useBalanceUpdateLoading.d.ts +0 -15
  180. package/dist/cjs/src/hooks/Submission/useExecution.d.ts +0 -32
  181. package/dist/cjs/src/hooks/Submission/useInflights.d.ts +0 -5
  182. package/dist/cjs/src/hooks/Swap/index.d.ts +0 -5
  183. package/dist/cjs/src/hooks/Swap/useExecuteSwap.d.ts +0 -12
  184. package/dist/cjs/src/hooks/Swap/useFetchFiatPrice.d.ts +0 -13
  185. package/dist/cjs/src/hooks/Swap/useFetchFiatPrice.test.d.ts +0 -1
  186. package/dist/cjs/src/hooks/Swap/useFetchRoutePrice.d.ts +0 -37
  187. package/dist/cjs/src/hooks/Swap/useFetchRoutePrice.test.d.ts +0 -1
  188. package/dist/cjs/src/hooks/Swap/useInitDefaultToken.d.ts +0 -10
  189. package/dist/cjs/src/hooks/Swap/useMarginAmount.d.ts +0 -8
  190. package/dist/cjs/src/hooks/Swap/useMarginAmount.test.d.ts +0 -1
  191. package/dist/cjs/src/hooks/Swap/usePriceTimer.d.ts +0 -5
  192. package/dist/cjs/src/hooks/Swap/useSlippageLimit.d.ts +0 -2
  193. package/dist/cjs/src/hooks/Token/index.d.ts +0 -4
  194. package/dist/cjs/src/hooks/Token/type.d.ts +0 -25
  195. package/dist/cjs/src/hooks/Token/useDisabledTokenSwitch.d.ts +0 -5
  196. package/dist/cjs/src/hooks/Token/useFetchTokenAllowance.d.ts +0 -13
  197. package/dist/cjs/src/hooks/Token/useFindTokenByAddress.d.ts +0 -1
  198. package/dist/cjs/src/hooks/Token/useFindTokenByAddress.test.d.ts +0 -1
  199. package/dist/cjs/src/hooks/Token/useGetAllowance.d.ts +0 -3
  200. package/dist/cjs/src/hooks/Token/useGetAllowance.test.d.ts +0 -1
  201. package/dist/cjs/src/hooks/Token/useGetBalance.d.ts +0 -2
  202. package/dist/cjs/src/hooks/Token/useGetBalance.test.d.ts +0 -1
  203. package/dist/cjs/src/hooks/Token/useGetCGTokenList.d.ts +0 -15
  204. package/dist/cjs/src/hooks/Token/useGetTokenStatus.d.ts +0 -13
  205. package/dist/cjs/src/hooks/Token/useGetTokenStatus.test.d.ts +0 -1
  206. package/dist/cjs/src/hooks/Token/useInitTokenList.d.ts +0 -6
  207. package/dist/cjs/src/hooks/Token/useSelectChainList.d.ts +0 -7
  208. package/dist/cjs/src/hooks/Token/useSelectChainList.test.d.ts +0 -1
  209. package/dist/cjs/src/hooks/Token/useTokenList.d.ts +0 -36
  210. package/dist/cjs/src/hooks/Token/useTokenList.test.d.ts +0 -1
  211. package/dist/cjs/src/hooks/Token/useTokenListDefaultToken.d.ts +0 -30
  212. package/dist/cjs/src/hooks/Token/useTokenListFetchBalance.d.ts +0 -12
  213. package/dist/cjs/src/hooks/Token/useTokenStatus.d.ts +0 -20
  214. package/dist/cjs/src/hooks/Token/useTokenStatus.test.d.ts +0 -1
  215. package/dist/cjs/src/hooks/Widget/useInitPropsToRedux.d.ts +0 -2
  216. package/dist/cjs/src/hooks/contract/abis/erc20ABI.d.ts +0 -30
  217. package/dist/cjs/src/hooks/contract/abis/erc20Helper.d.ts +0 -16
  218. package/dist/cjs/src/hooks/contract/abis/multicallABI.d.ts +0 -34
  219. package/dist/cjs/src/hooks/contract/batch.d.ts +0 -18
  220. package/dist/cjs/src/hooks/contract/contractConfig.d.ts +0 -9
  221. package/dist/cjs/src/hooks/contract/index.d.ts +0 -3
  222. package/dist/cjs/src/hooks/contract/provider.d.ts +0 -2
  223. package/dist/cjs/src/hooks/contract/token.d.ts +0 -10
  224. package/dist/cjs/src/hooks/contract/useFetchBlockNumber.d.ts +0 -3
  225. package/dist/cjs/src/hooks/contract/useFetchETHBalance.d.ts +0 -21
  226. package/dist/cjs/src/hooks/contract/useFetchTokens.d.ts +0 -14
  227. package/dist/cjs/src/hooks/contract/useMultiContract.d.ts +0 -14
  228. package/dist/cjs/src/hooks/contract/wallet.d.ts +0 -16
  229. package/dist/cjs/src/hooks/setting/useDefaultSlippage.d.ts +0 -4
  230. package/dist/cjs/src/hooks/setting/useGetAPIService.d.ts +0 -2
  231. package/dist/cjs/src/hooks/setting/useSetAutoSlippage.d.ts +0 -13
  232. package/dist/cjs/src/hooks/style/useWidgetDevice.d.ts +0 -6
  233. package/dist/cjs/src/hooks/usePrevious.d.ts +0 -1
  234. package/dist/cjs/src/index.d.ts +0 -12
  235. package/dist/cjs/src/providers/GlobalConfigContext.d.ts +0 -21
  236. package/dist/cjs/src/providers/i18n.d.ts +0 -9
  237. package/dist/cjs/src/providers/queryClient/index.d.ts +0 -2
  238. package/dist/cjs/src/providers/queryClient.d.ts +0 -2
  239. package/dist/cjs/src/router/index.d.ts +0 -9
  240. package/dist/cjs/src/router/types.d.ts +0 -35
  241. package/dist/cjs/src/store/actions/globals.d.ts +0 -9
  242. package/dist/cjs/src/store/actions/index.d.ts +0 -4
  243. package/dist/cjs/src/store/actions/settings.d.ts +0 -6
  244. package/dist/cjs/src/store/actions/token.d.ts +0 -8
  245. package/dist/cjs/src/store/actions/wallet.d.ts +0 -7
  246. package/dist/cjs/src/store/index.d.ts +0 -12
  247. package/dist/cjs/src/store/reducers/globals.d.ts +0 -23
  248. package/dist/cjs/src/store/reducers/index.d.ts +0 -17
  249. package/dist/cjs/src/store/reducers/settings.d.ts +0 -13
  250. package/dist/cjs/src/store/reducers/token.d.ts +0 -24
  251. package/dist/cjs/src/store/reducers/wallet.d.ts +0 -14
  252. package/dist/cjs/src/store/selectors/globals.d.ts +0 -7
  253. package/dist/cjs/src/store/selectors/settings.d.ts +0 -4
  254. package/dist/cjs/src/store/selectors/token.d.ts +0 -9
  255. package/dist/cjs/src/store/selectors/wallet.d.ts +0 -7
  256. package/dist/cjs/src/utils/address.d.ts +0 -15
  257. package/dist/cjs/src/utils/address.test.d.ts +0 -1
  258. package/dist/cjs/src/utils/bytes.d.ts +0 -3
  259. package/dist/cjs/src/utils/chains.d.ts +0 -2
  260. package/dist/cjs/src/utils/chains.test.d.ts +0 -1
  261. package/dist/cjs/src/utils/formatter.d.ts +0 -48
  262. package/dist/cjs/src/utils/formatter.test.d.ts +0 -1
  263. package/dist/cjs/src/utils/index.d.ts +0 -5
  264. package/dist/cjs/src/utils/time.d.ts +0 -9
  265. package/dist/cjs/src/utils/time.test.d.ts +0 -1
  266. package/dist/cjs/src/utils/token.d.ts +0 -30
  267. package/dist/cjs/src/utils/token.test.d.ts +0 -1
  268. package/dist/cjs/src/utils/utils.d.ts +0 -1
  269. package/dist/cjs/src/utils/wallet.d.ts +0 -8
  270. package/dist/cjs/src/utils/wallet.test.d.ts +0 -1
  271. package/dist/cjs/src/widgets/MiningWidget/LpTokenMiningOperate/index.d.ts +0 -7
  272. package/dist/cjs/src/widgets/MiningWidget/OperateArea/AssociateMine.d.ts +0 -20
  273. package/dist/cjs/src/widgets/MiningWidget/OperateArea/ClaimButton.d.ts +0 -5
  274. package/dist/cjs/src/widgets/MiningWidget/OperateArea/GetLpLink.d.ts +0 -5
  275. package/dist/cjs/src/widgets/MiningWidget/OperateArea/RewardListCard.d.ts +0 -8
  276. package/dist/cjs/src/widgets/MiningWidget/OperateArea/StakeButton.d.ts +0 -9
  277. package/dist/cjs/src/widgets/MiningWidget/OperateArea/UnstakeButton.d.ts +0 -8
  278. package/dist/cjs/src/widgets/MiningWidget/OperateArea/index.d.ts +0 -13
  279. package/dist/cjs/src/widgets/MiningWidget/helper.d.ts +0 -2
  280. package/dist/cjs/src/widgets/MiningWidget/hooks/useClaimMiningSubmit.d.ts +0 -4
  281. package/dist/cjs/src/widgets/MiningWidget/hooks/useRewardListAmount.d.ts +0 -17
  282. package/dist/cjs/src/widgets/MiningWidget/hooks/useStakeMiningSubmit.d.ts +0 -5
  283. package/dist/cjs/src/widgets/MiningWidget/hooks/useStatusAndStartBlockNumber.d.ts +0 -13
  284. package/dist/cjs/src/widgets/MiningWidget/hooks/useUnstakeMiningSubmit.d.ts +0 -5
  285. package/dist/cjs/src/widgets/MiningWidget/types.d.ts +0 -58
  286. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/components/ConfirmInfoDialog.d.ts +0 -10
  287. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/components/DepthAndLiquidityChart.d.ts +0 -11
  288. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/components/DepthChartWrapper.d.ts +0 -11
  289. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/components/EmptyChart.d.ts +0 -5
  290. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/components/FeeRateCard.d.ts +0 -6
  291. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/components/FixedInitPriceConfirm.d.ts +0 -6
  292. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/components/LqSettingsShow.d.ts +0 -13
  293. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/components/RadioButton.d.ts +0 -12
  294. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/components/RadioButtonIcon.d.ts +0 -4
  295. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/components/RadioButtonTag.d.ts +0 -6
  296. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/components/SectionTitle.d.ts +0 -7
  297. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/components/SelectAndInput.d.ts +0 -8
  298. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/components/StepTitle.d.ts +0 -5
  299. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/components/VersionChartExample.d.ts +0 -6
  300. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/hooks/contract/useCreatePoolSubmit.d.ts +0 -14
  301. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/hooks/useCreatePmm.d.ts +0 -26
  302. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/hooks/useDefaultTokens.d.ts +0 -6
  303. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/hooks/useFeeRateList.d.ts +0 -13
  304. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/hooks/useSlippageCoefficientList.d.ts +0 -8
  305. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/hooks/useValidation.d.ts +0 -4
  306. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/hooks/useVersionList.d.ts +0 -5
  307. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/index.d.ts +0 -2
  308. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/operate-widgets/BottomButtonGroup.d.ts +0 -6
  309. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/operate-widgets/FeeRateSetting.d.ts +0 -7
  310. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/operate-widgets/InitPriceSetting.d.ts +0 -12
  311. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/operate-widgets/SlippageCoefficientSetting.d.ts +0 -8
  312. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/operate-widgets/VersionSelect.d.ts +0 -6
  313. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/reducer.d.ts +0 -78
  314. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/types.d.ts +0 -35
  315. package/dist/cjs/src/widgets/PoolWidget/PoolCreate/utils.d.ts +0 -18
  316. package/dist/cjs/src/widgets/PoolWidget/PoolDetail/components/BaseQuotePie.d.ts +0 -24
  317. package/dist/cjs/src/widgets/PoolWidget/PoolDetail/components/ChartInfo.d.ts +0 -6
  318. package/dist/cjs/src/widgets/PoolWidget/PoolDetail/components/MoreDetail/LiquidityProvidersTable.d.ts +0 -5
  319. package/dist/cjs/src/widgets/PoolWidget/PoolDetail/components/MoreDetail/ParametersTable.d.ts +0 -15
  320. package/dist/cjs/src/widgets/PoolWidget/PoolDetail/components/MoreDetail/SwapsTable.d.ts +0 -6
  321. package/dist/cjs/src/widgets/PoolWidget/PoolDetail/components/MoreDetail/index.d.ts +0 -5
  322. package/dist/cjs/src/widgets/PoolWidget/PoolDetail/components/Overview.d.ts +0 -5
  323. package/dist/cjs/src/widgets/PoolWidget/PoolDetail/components/StatBarChart.d.ts +0 -10
  324. package/dist/cjs/src/widgets/PoolWidget/PoolDetail/components/TitleInfo.d.ts +0 -6
  325. package/dist/cjs/src/widgets/PoolWidget/PoolDetail/components/TotalLiquidity.d.ts +0 -5
  326. package/dist/cjs/src/widgets/PoolWidget/PoolDetail/hooks/useLiquidityProviders.d.ts +0 -159
  327. package/dist/cjs/src/widgets/PoolWidget/PoolDetail/hooks/usePoolDashboard.d.ts +0 -290
  328. package/dist/cjs/src/widgets/PoolWidget/PoolDetail/hooks/usePoolDayData.d.ts +0 -166
  329. package/dist/cjs/src/widgets/PoolWidget/PoolDetail/hooks/usePoolSwapList.d.ts +0 -245
  330. package/dist/cjs/src/widgets/PoolWidget/PoolDetail/index.d.ts +0 -2
  331. package/dist/cjs/src/widgets/PoolWidget/PoolList/AddLiquidity.d.ts +0 -12
  332. package/dist/cjs/src/widgets/PoolWidget/PoolList/MyCreated.d.ts +0 -11
  333. package/dist/cjs/src/widgets/PoolWidget/PoolList/MyLiquidity.d.ts +0 -11
  334. package/dist/cjs/src/widgets/PoolWidget/PoolList/components/AddingOrRemovingBtn.d.ts +0 -5
  335. package/dist/cjs/src/widgets/PoolWidget/PoolList/components/FilterAddressTags.d.ts +0 -8
  336. package/dist/cjs/src/widgets/PoolWidget/PoolList/components/FilterTokenTags.d.ts +0 -8
  337. package/dist/cjs/src/widgets/PoolWidget/PoolList/components/LiquidityTable.d.ts +0 -3
  338. package/dist/cjs/src/widgets/PoolWidget/PoolList/components/LoadingCard.d.ts +0 -5
  339. package/dist/cjs/src/widgets/PoolWidget/PoolList/components/PoolApyTooltip.d.ts +0 -18
  340. package/dist/cjs/src/widgets/PoolWidget/PoolList/components/TokenAndPoolFilter.d.ts +0 -9
  341. package/dist/cjs/src/widgets/PoolWidget/PoolList/components/TokenListPoolItem.d.ts +0 -6
  342. package/dist/cjs/src/widgets/PoolWidget/PoolList/hooks/usePoolListFilterChainId.d.ts +0 -6
  343. package/dist/cjs/src/widgets/PoolWidget/PoolList/hooks/usePoolListFilterTokenAndPool.d.ts +0 -48
  344. package/dist/cjs/src/widgets/PoolWidget/PoolList/hooks/usePoolListTabs.d.ts +0 -15
  345. package/dist/cjs/src/widgets/PoolWidget/PoolList/index.d.ts +0 -2
  346. package/dist/cjs/src/widgets/PoolWidget/PoolModify/SectionTitle.d.ts +0 -4
  347. package/dist/cjs/src/widgets/PoolWidget/PoolModify/index.d.ts +0 -2
  348. package/dist/cjs/src/widgets/PoolWidget/PoolModify/operate-widgets/BottomButtonGroup.d.ts +0 -8
  349. package/dist/cjs/src/widgets/PoolWidget/PoolModify/operate-widgets/FeeRateSetting.d.ts +0 -7
  350. package/dist/cjs/src/widgets/PoolWidget/PoolOperate/AddPoolOperate.d.ts +0 -9
  351. package/dist/cjs/src/widgets/PoolWidget/PoolOperate/Footer.d.ts +0 -18
  352. package/dist/cjs/src/widgets/PoolWidget/PoolOperate/LiquidityInfo.d.ts +0 -8
  353. package/dist/cjs/src/widgets/PoolWidget/PoolOperate/PoolOperateInner.d.ts +0 -9
  354. package/dist/cjs/src/widgets/PoolWidget/PoolOperate/Ratio.d.ts +0 -8
  355. package/dist/cjs/src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.d.ts +0 -9
  356. package/dist/cjs/src/widgets/PoolWidget/PoolOperate/SlippageSetting.d.ts +0 -18
  357. package/dist/cjs/src/widgets/PoolWidget/PoolOperate/components/ComparePrice.d.ts +0 -9
  358. package/dist/cjs/src/widgets/PoolWidget/PoolOperate/components/LiquidityInfo.d.ts +0 -10
  359. package/dist/cjs/src/widgets/PoolWidget/PoolOperate/components/OperateBtn.d.ts +0 -6
  360. package/dist/cjs/src/widgets/PoolWidget/PoolOperate/components/Ratio.d.ts +0 -8
  361. package/dist/cjs/src/widgets/PoolWidget/PoolOperate/components/SliderPercentageCard.d.ts +0 -8
  362. package/dist/cjs/src/widgets/PoolWidget/PoolOperate/components/SlippageSetting.d.ts +0 -18
  363. package/dist/cjs/src/widgets/PoolWidget/PoolOperate/components/TokenList.d.ts +0 -12
  364. package/dist/cjs/src/widgets/PoolWidget/PoolOperate/hooks/useCheckToken.d.ts +0 -13
  365. package/dist/cjs/src/widgets/PoolWidget/PoolOperate/hooks/useComparePrice.d.ts +0 -19
  366. package/dist/cjs/src/widgets/PoolWidget/PoolOperate/hooks/useLiquidityOperateAmount.d.ts +0 -46
  367. package/dist/cjs/src/widgets/PoolWidget/PoolOperate/hooks/usePercentageRemove.d.ts +0 -26
  368. package/dist/cjs/src/widgets/PoolWidget/PoolOperate/hooks/usePoolOperateTabs.d.ts +0 -12
  369. package/dist/cjs/src/widgets/PoolWidget/PoolOperate/hooks/usePoolOrMiningTabs.d.ts +0 -14
  370. package/dist/cjs/src/widgets/PoolWidget/PoolOperate/hooks/useRemoveLiquidityTokenStatus.d.ts +0 -33
  371. package/dist/cjs/src/widgets/PoolWidget/PoolOperate/index.d.ts +0 -14
  372. package/dist/cjs/src/widgets/PoolWidget/PoolOperate/types.d.ts +0 -17
  373. package/dist/cjs/src/widgets/PoolWidget/hooks/contract/getModifyDPPPoolParams.d.ts +0 -86
  374. package/dist/cjs/src/widgets/PoolWidget/hooks/contract/useModifyDppPool.d.ts +0 -22
  375. package/dist/cjs/src/widgets/PoolWidget/hooks/contract/useOperateLiquidity.d.ts +0 -36
  376. package/dist/cjs/src/widgets/PoolWidget/hooks/contract/useWithdrawInfo.d.ts +0 -33
  377. package/dist/cjs/src/widgets/PoolWidget/hooks/usePoolBalanceInfo.d.ts +0 -48
  378. package/dist/cjs/src/widgets/PoolWidget/hooks/usePoolDetail.d.ts +0 -341
  379. package/dist/cjs/src/widgets/PoolWidget/hooks/usePoolTypeTag.d.ts +0 -16
  380. package/dist/cjs/src/widgets/PoolWidget/index.d.ts +0 -2
  381. package/dist/cjs/src/widgets/PoolWidget/list/AddLiquidity.d.ts +0 -9
  382. package/dist/cjs/src/widgets/PoolWidget/list/components/FilterAddressTags.d.ts +0 -8
  383. package/dist/cjs/src/widgets/PoolWidget/list/components/FilterTokenTags.d.ts +0 -8
  384. package/dist/cjs/src/widgets/PoolWidget/list/components/LoadingCard.d.ts +0 -5
  385. package/dist/cjs/src/widgets/PoolWidget/list/components/PoolApyTooltip.d.ts +0 -17
  386. package/dist/cjs/src/widgets/PoolWidget/list/components/TokenAndPoolFilter.d.ts +0 -9
  387. package/dist/cjs/src/widgets/PoolWidget/list/components/TokenListPoolItem.d.ts +0 -6
  388. package/dist/cjs/src/widgets/PoolWidget/list/hooks/usePoolListFilterChainId.d.ts +0 -6
  389. package/dist/cjs/src/widgets/PoolWidget/list/hooks/usePoolListFilterTokenAndPool.d.ts +0 -58
  390. package/dist/cjs/src/widgets/PoolWidget/list/hooks/usePoolListTabs.d.ts +0 -15
  391. package/dist/cjs/src/widgets/PoolWidget/utils.d.ts +0 -17
  392. package/dist/e2e/connect.test.d.ts +0 -6
  393. package/dist/e2e/constants.d.ts +0 -87
  394. package/dist/e2e/default.test.d.ts +0 -6
  395. package/dist/e2e/setup.d.ts +0 -4
  396. package/dist/failed-list-e6c1e563-478d73e0.js +0 -1
  397. package/dist/helper-BpKL-WX0.js +0 -1
  398. package/dist/index-0e954ab8.js +0 -45
  399. package/dist/index-41db7f0e.js +0 -45
  400. package/dist/index-ae19eed4.js +0 -12
  401. package/dist/index-b07aac90.js +0 -45
  402. package/dist/index-c1a581ca.js +0 -50
  403. package/dist/index-c9dbe645.js +0 -50
  404. package/dist/index-cdf23d80.js +0 -50
  405. package/dist/index-d9d9a2cd.js +0 -78
  406. package/dist/index-db2c9b8f.js +0 -58
  407. package/dist/index-e58d24e5.js +0 -50
  408. package/dist/index-ee546021.js +0 -45
  409. package/dist/index-f055c418.js +0 -45
  410. package/dist/locales/en-US.js +0 -5
  411. package/dist/locales/zh-CN.js +0 -5
  412. package/dist/lottie-0a7cf033.js +0 -1
  413. package/dist/lottie-449d7c9a.js +0 -1
  414. package/dist/lottie-48250155.js +0 -1
  415. package/dist/lottie-9678ebc9.js +0 -1
  416. package/dist/lottie-9b618308.js +0 -1
  417. package/dist/lottie-b4708423.js +0 -1
  418. package/dist/lottie-baaed8fa.js +0 -1
  419. package/dist/lottie-d6631244.js +0 -1
  420. package/dist/lottie-ed5a9dfd.js +0 -1
  421. package/dist/lottie-f76894b7.js +0 -1
  422. package/dist/no-found-89a3b4af-763d58f5.js +0 -1
  423. package/dist/no-result-01c60834-7921d2fa.js +0 -1
  424. package/dist/src/components/AddressWithLinkAndCopy.d.ts +0 -22
  425. package/dist/src/components/AutoButton.d.ts +0 -7
  426. package/dist/src/components/Bridge/BridgeRouteShortCard.d.ts +0 -6
  427. package/dist/src/components/Bridge/BridgeSummaryDialog/BridgeSummaryDetail.d.ts +0 -5
  428. package/dist/src/components/Bridge/BridgeSummaryDialog/index.d.ts +0 -18
  429. package/dist/src/components/Bridge/BridgeSummaryDialog/orderInfoModal/CrossStep.d.ts +0 -16
  430. package/dist/src/components/Bridge/BridgeSummaryDialog/orderInfoModal/EtherscanLinkButton.d.ts +0 -6
  431. package/dist/src/components/Bridge/BridgeSummaryDialog/orderInfoModal/RouteSteps.d.ts +0 -6
  432. package/dist/src/components/Bridge/BridgeSummaryDialog/orderInfoModal/SwapStep.d.ts +0 -14
  433. package/dist/src/components/Bridge/SelectBridgeDialog/BridgeLogo.d.ts +0 -10
  434. package/dist/src/components/Bridge/SelectBridgeDialog/DirectionLine.d.ts +0 -4
  435. package/dist/src/components/Bridge/SelectBridgeDialog/RouteCard.d.ts +0 -20
  436. package/dist/src/components/Bridge/SelectBridgeDialog/RouteTagList.d.ts +0 -12
  437. package/dist/src/components/Bridge/SelectBridgeDialog/TokenWithChain.d.ts +0 -11
  438. package/dist/src/components/Bridge/SelectBridgeDialog/index.d.ts +0 -9
  439. package/dist/src/components/Bridge/SelectBridgeDialog/productList.d.ts +0 -8
  440. package/dist/src/components/Confirm.d.ts +0 -15
  441. package/dist/src/components/ConnectWallet/ConnectWalletDialog.d.ts +0 -5
  442. package/dist/src/components/ConnectWallet/NeedConnectButton.d.ts +0 -8
  443. package/dist/src/components/ConnectWallet/OpenConnectWalletInfo.d.ts +0 -2
  444. package/dist/src/components/CopyTooltipToast.d.ts +0 -9
  445. package/dist/src/components/DataCard/DataCardGroup.d.ts +0 -9
  446. package/dist/src/components/Dialog.d.ts +0 -1
  447. package/dist/src/components/ErrorMessageDialog.d.ts +0 -5
  448. package/dist/src/components/GoBack.d.ts +0 -6
  449. package/dist/src/components/HowItWorks.d.ts +0 -11
  450. package/dist/src/components/List/EmptyList.d.ts +0 -7
  451. package/dist/src/components/List/FailedList.d.ts +0 -6
  452. package/dist/src/components/RiskDialog.d.ts +0 -7
  453. package/dist/src/components/SelectChain.d.ts +0 -12
  454. package/dist/src/components/Swap/components/ConnectWallet/ConnectWalletDialog.d.ts +0 -5
  455. package/dist/src/components/Swap/components/ConnectWallet/index.d.ts +0 -6
  456. package/dist/src/components/Swap/components/Dialog.d.ts +0 -15
  457. package/dist/src/components/Swap/components/ReviewDialog.d.ts +0 -21
  458. package/dist/src/components/Swap/components/SettingsDialog/NumberInput.d.ts +0 -8
  459. package/dist/src/components/Swap/components/SettingsDialog/index.d.ts +0 -7
  460. package/dist/src/components/Swap/components/SwitchBox.d.ts +0 -5
  461. package/dist/src/components/Swap/components/TokenCard/BalanceText.d.ts +0 -11
  462. package/dist/src/components/Swap/components/TokenCard/NumberInput.d.ts +0 -16
  463. package/dist/src/components/Swap/components/TokenCard/PercentageSelectButtonGroup.d.ts +0 -7
  464. package/dist/src/components/Swap/components/TokenCard/TokenLogoCollapse.d.ts +0 -8
  465. package/dist/src/components/Swap/components/TokenCard/TokenPickerDialog.d.ts +0 -18
  466. package/dist/src/components/Swap/components/TokenCard/index.d.ts +0 -36
  467. package/dist/src/components/Swap/components/TokenPairPriceWithToggle.d.ts +0 -10
  468. package/dist/src/components/Swap/index.d.ts +0 -7
  469. package/dist/src/components/SwitchChainDialog/index.d.ts +0 -7
  470. package/dist/src/components/Token/TokenItem.d.ts +0 -9
  471. package/dist/src/components/TokenLogo.d.ts +0 -18
  472. package/dist/src/components/TokenLogoPair.d.ts +0 -17
  473. package/dist/src/components/TokenLogoSimple.d.ts +0 -13
  474. package/dist/src/components/TokenPicker/PopularToken.d.ts +0 -7
  475. package/dist/src/components/TokenPicker/SelectChainItem.d.ts +0 -7
  476. package/dist/src/components/TokenPicker/TokenItem.d.ts +0 -10
  477. package/dist/src/components/TokenPicker/TokenSearchLoadingSkelton.d.ts +0 -2
  478. package/dist/src/components/TokenPicker/index.d.ts +0 -24
  479. package/dist/src/components/TokenStatusButton.d.ts +0 -7
  480. package/dist/src/components/Tooltip/QuestionTooltip.d.ts +0 -3
  481. package/dist/src/components/Tooltip/index.d.ts +0 -1
  482. package/dist/src/components/Widget/i18n.d.ts +0 -9
  483. package/dist/src/components/Widget/index.d.ts +0 -33
  484. package/dist/src/components/WidgetConfirm.d.ts +0 -15
  485. package/dist/src/components/WidgetContainer.d.ts +0 -3
  486. package/dist/src/components/WidgetDialog.d.ts +0 -15
  487. package/dist/src/components/WithExecutionDialog/index.d.ts +0 -5
  488. package/dist/src/components/chart/components/BaseButton.d.ts +0 -5
  489. package/dist/src/components/chart/components/Display.d.ts +0 -9
  490. package/dist/src/components/chart/components/Input.d.ts +0 -7
  491. package/dist/src/components/chart/components/NumberInput.d.ts +0 -6
  492. package/dist/src/components/chart/components/TogglePriceIcon.d.ts +0 -8
  493. package/dist/src/components/chart/components/TokenLogo.d.ts +0 -5
  494. package/dist/src/components/chart/depth-chart/DepthChartKonva.d.ts +0 -30
  495. package/dist/src/components/chart/depth-chart/__tests__/utils.test.d.ts +0 -1
  496. package/dist/src/components/chart/depth-chart/helper.d.ts +0 -125
  497. package/dist/src/components/chart/depth-chart/index.d.ts +0 -18
  498. package/dist/src/components/chart/depth-chart/index.styled.d.ts +0 -29
  499. package/dist/src/components/chart/depth-chart/useDepthLinePoints.d.ts +0 -21
  500. package/dist/src/components/chart/depth-chart/useGridLinePoints.d.ts +0 -9
  501. package/dist/src/components/chart/depth-chart/useHorizontalLabelPoints.d.ts +0 -15
  502. package/dist/src/components/chart/depth-chart/utils.d.ts +0 -19
  503. package/dist/src/components/chart/depth-chart-v2/index.d.ts +0 -10
  504. package/dist/src/components/chart/depth-chart-v2/index.styled.d.ts +0 -15
  505. package/dist/src/components/chart/hooks/usePreventWheel.d.ts +0 -9
  506. package/dist/src/components/chart/i18n.d.ts +0 -1
  507. package/dist/src/components/chart/liquidity-chart/LiquidityChartKonva.d.ts +0 -28
  508. package/dist/src/components/chart/liquidity-chart/__tests__/helper.test.d.ts +0 -1
  509. package/dist/src/components/chart/liquidity-chart/helper.d.ts +0 -47
  510. package/dist/src/components/chart/liquidity-chart/index.d.ts +0 -17
  511. package/dist/src/components/chart/liquidity-chart/index.styled.d.ts +0 -9
  512. package/dist/src/components/chart/liquidity-chart/useGridLine.d.ts +0 -8
  513. package/dist/src/components/chart/liquidity-chart/useHorizontalLabel.d.ts +0 -10
  514. package/dist/src/components/chart/liquidity-chart/useLiquidityLine.d.ts +0 -18
  515. package/dist/src/components/chart/liquidity-chart/useMiddleLine.d.ts +0 -6
  516. package/dist/src/components/chart/liquidity-chart/usePoints.d.ts +0 -39
  517. package/dist/src/components/chart/utils.d.ts +0 -3
  518. package/dist/src/constants/address.d.ts +0 -1
  519. package/dist/src/constants/api.d.ts +0 -20
  520. package/dist/src/constants/chainList.d.ts +0 -10
  521. package/dist/src/constants/chains.d.ts +0 -34
  522. package/dist/src/constants/locales.d.ts +0 -3
  523. package/dist/src/constants/localstorage.d.ts +0 -14
  524. package/dist/src/constants/pool.d.ts +0 -7
  525. package/dist/src/constants/sessionStorage.d.ts +0 -2
  526. package/dist/src/constants/swap.d.ts +0 -7
  527. package/dist/src/constants/testId.d.ts +0 -10
  528. package/dist/src/constants/token.d.ts +0 -2
  529. package/dist/src/constants/tokenList.d.ts +0 -9
  530. package/dist/src/constants/wallet.d.ts +0 -23
  531. package/dist/src/hooks/Bridge/createBridgeOrder.d.ts +0 -28
  532. package/dist/src/hooks/Bridge/index.d.ts +0 -4
  533. package/dist/src/hooks/Bridge/useExecuteBridgeRoute.d.ts +0 -7
  534. package/dist/src/hooks/Bridge/useFetchRoutePriceBridge.d.ts +0 -102
  535. package/dist/src/hooks/Bridge/useFetchRoutePriceBridge.test.d.ts +0 -1
  536. package/dist/src/hooks/Bridge/useSendRoute.d.ts +0 -16
  537. package/dist/src/hooks/Bridge/useSwitchBridgeOrSwapSlippage.d.ts +0 -1
  538. package/dist/src/hooks/Chain/useChainList.d.ts +0 -2
  539. package/dist/src/hooks/Chain/useChainList.test.d.ts +0 -1
  540. package/dist/src/hooks/ConnectWallet/Connectors/JsonRpcConnector.d.ts +0 -9
  541. package/dist/src/hooks/ConnectWallet/index.d.ts +0 -3
  542. package/dist/src/hooks/ConnectWallet/useCurrentChainId.d.ts +0 -2
  543. package/dist/src/hooks/ConnectWallet/useSwitchChain.d.ts +0 -10
  544. package/dist/src/hooks/ConnectWallet/useWalletInfo.d.ts +0 -6
  545. package/dist/src/hooks/ConnectWallet/useWeb3Connectors.d.ts +0 -17
  546. package/dist/src/hooks/ConnectWallet/web3.d.ts +0 -10
  547. package/dist/src/hooks/Submission/getExecutionErrorMsg.d.ts +0 -2
  548. package/dist/src/hooks/Submission/index.d.ts +0 -10
  549. package/dist/src/hooks/Submission/spec.d.ts +0 -56
  550. package/dist/src/hooks/Submission/types.d.ts +0 -79
  551. package/dist/src/hooks/Submission/useBalanceUpdateLoading.d.ts +0 -15
  552. package/dist/src/hooks/Submission/useExecution.d.ts +0 -32
  553. package/dist/src/hooks/Submission/useInflights.d.ts +0 -5
  554. package/dist/src/hooks/Swap/index.d.ts +0 -5
  555. package/dist/src/hooks/Swap/useExecuteSwap.d.ts +0 -12
  556. package/dist/src/hooks/Swap/useFetchFiatPrice.d.ts +0 -13
  557. package/dist/src/hooks/Swap/useFetchFiatPrice.test.d.ts +0 -1
  558. package/dist/src/hooks/Swap/useFetchRoutePrice.d.ts +0 -37
  559. package/dist/src/hooks/Swap/useFetchRoutePrice.test.d.ts +0 -1
  560. package/dist/src/hooks/Swap/useInitDefaultToken.d.ts +0 -10
  561. package/dist/src/hooks/Swap/useMarginAmount.d.ts +0 -8
  562. package/dist/src/hooks/Swap/useMarginAmount.test.d.ts +0 -1
  563. package/dist/src/hooks/Swap/usePriceTimer.d.ts +0 -5
  564. package/dist/src/hooks/Swap/useSlippageLimit.d.ts +0 -2
  565. package/dist/src/hooks/Token/index.d.ts +0 -4
  566. package/dist/src/hooks/Token/type.d.ts +0 -25
  567. package/dist/src/hooks/Token/useDisabledTokenSwitch.d.ts +0 -5
  568. package/dist/src/hooks/Token/useFetchTokenAllowance.d.ts +0 -13
  569. package/dist/src/hooks/Token/useFindTokenByAddress.d.ts +0 -1
  570. package/dist/src/hooks/Token/useFindTokenByAddress.test.d.ts +0 -1
  571. package/dist/src/hooks/Token/useGetAllowance.d.ts +0 -3
  572. package/dist/src/hooks/Token/useGetAllowance.test.d.ts +0 -1
  573. package/dist/src/hooks/Token/useGetBalance.d.ts +0 -2
  574. package/dist/src/hooks/Token/useGetBalance.test.d.ts +0 -1
  575. package/dist/src/hooks/Token/useGetCGTokenList.d.ts +0 -15
  576. package/dist/src/hooks/Token/useGetTokenStatus.d.ts +0 -13
  577. package/dist/src/hooks/Token/useGetTokenStatus.test.d.ts +0 -1
  578. package/dist/src/hooks/Token/useInitTokenList.d.ts +0 -6
  579. package/dist/src/hooks/Token/useSelectChainList.d.ts +0 -7
  580. package/dist/src/hooks/Token/useSelectChainList.test.d.ts +0 -1
  581. package/dist/src/hooks/Token/useTokenList.d.ts +0 -36
  582. package/dist/src/hooks/Token/useTokenList.test.d.ts +0 -1
  583. package/dist/src/hooks/Token/useTokenListDefaultToken.d.ts +0 -30
  584. package/dist/src/hooks/Token/useTokenListFetchBalance.d.ts +0 -12
  585. package/dist/src/hooks/Token/useTokenStatus.d.ts +0 -20
  586. package/dist/src/hooks/Token/useTokenStatus.test.d.ts +0 -1
  587. package/dist/src/hooks/Widget/useInitPropsToRedux.d.ts +0 -2
  588. package/dist/src/hooks/contract/abis/erc20ABI.d.ts +0 -30
  589. package/dist/src/hooks/contract/abis/erc20Helper.d.ts +0 -16
  590. package/dist/src/hooks/contract/abis/multicallABI.d.ts +0 -34
  591. package/dist/src/hooks/contract/batch.d.ts +0 -18
  592. package/dist/src/hooks/contract/contractConfig.d.ts +0 -9
  593. package/dist/src/hooks/contract/index.d.ts +0 -3
  594. package/dist/src/hooks/contract/provider.d.ts +0 -2
  595. package/dist/src/hooks/contract/token.d.ts +0 -10
  596. package/dist/src/hooks/contract/useFetchBlockNumber.d.ts +0 -3
  597. package/dist/src/hooks/contract/useFetchETHBalance.d.ts +0 -21
  598. package/dist/src/hooks/contract/useFetchTokens.d.ts +0 -14
  599. package/dist/src/hooks/contract/useMultiContract.d.ts +0 -14
  600. package/dist/src/hooks/contract/wallet.d.ts +0 -16
  601. package/dist/src/hooks/setting/useDefaultSlippage.d.ts +0 -4
  602. package/dist/src/hooks/setting/useGetAPIService.d.ts +0 -2
  603. package/dist/src/hooks/setting/useSetAutoSlippage.d.ts +0 -13
  604. package/dist/src/hooks/style/useWidgetDevice.d.ts +0 -6
  605. package/dist/src/hooks/usePrevious.d.ts +0 -1
  606. package/dist/src/index.d.ts +0 -12
  607. package/dist/src/providers/GlobalConfigContext.d.ts +0 -21
  608. package/dist/src/providers/i18n.d.ts +0 -9
  609. package/dist/src/providers/queryClient/index.d.ts +0 -2
  610. package/dist/src/providers/queryClient.d.ts +0 -2
  611. package/dist/src/router/index.d.ts +0 -9
  612. package/dist/src/router/types.d.ts +0 -35
  613. package/dist/src/store/actions/globals.d.ts +0 -9
  614. package/dist/src/store/actions/index.d.ts +0 -4
  615. package/dist/src/store/actions/settings.d.ts +0 -6
  616. package/dist/src/store/actions/token.d.ts +0 -8
  617. package/dist/src/store/actions/wallet.d.ts +0 -7
  618. package/dist/src/store/index.d.ts +0 -12
  619. package/dist/src/store/reducers/globals.d.ts +0 -23
  620. package/dist/src/store/reducers/index.d.ts +0 -17
  621. package/dist/src/store/reducers/settings.d.ts +0 -13
  622. package/dist/src/store/reducers/token.d.ts +0 -24
  623. package/dist/src/store/reducers/wallet.d.ts +0 -14
  624. package/dist/src/store/selectors/globals.d.ts +0 -7
  625. package/dist/src/store/selectors/settings.d.ts +0 -4
  626. package/dist/src/store/selectors/token.d.ts +0 -9
  627. package/dist/src/store/selectors/wallet.d.ts +0 -7
  628. package/dist/src/utils/address.d.ts +0 -15
  629. package/dist/src/utils/address.test.d.ts +0 -1
  630. package/dist/src/utils/bytes.d.ts +0 -3
  631. package/dist/src/utils/chains.d.ts +0 -2
  632. package/dist/src/utils/chains.test.d.ts +0 -1
  633. package/dist/src/utils/formatter.d.ts +0 -48
  634. package/dist/src/utils/formatter.test.d.ts +0 -1
  635. package/dist/src/utils/index.d.ts +0 -5
  636. package/dist/src/utils/time.d.ts +0 -9
  637. package/dist/src/utils/time.test.d.ts +0 -1
  638. package/dist/src/utils/token.d.ts +0 -30
  639. package/dist/src/utils/token.test.d.ts +0 -1
  640. package/dist/src/utils/utils.d.ts +0 -1
  641. package/dist/src/utils/wallet.d.ts +0 -8
  642. package/dist/src/utils/wallet.test.d.ts +0 -1
  643. package/dist/src/widgets/MiningWidget/LpTokenMiningOperate/index.d.ts +0 -7
  644. package/dist/src/widgets/MiningWidget/OperateArea/AssociateMine.d.ts +0 -20
  645. package/dist/src/widgets/MiningWidget/OperateArea/ClaimButton.d.ts +0 -5
  646. package/dist/src/widgets/MiningWidget/OperateArea/GetLpLink.d.ts +0 -5
  647. package/dist/src/widgets/MiningWidget/OperateArea/RewardListCard.d.ts +0 -8
  648. package/dist/src/widgets/MiningWidget/OperateArea/StakeButton.d.ts +0 -9
  649. package/dist/src/widgets/MiningWidget/OperateArea/UnstakeButton.d.ts +0 -8
  650. package/dist/src/widgets/MiningWidget/OperateArea/index.d.ts +0 -13
  651. package/dist/src/widgets/MiningWidget/helper.d.ts +0 -2
  652. package/dist/src/widgets/MiningWidget/hooks/useClaimMiningSubmit.d.ts +0 -4
  653. package/dist/src/widgets/MiningWidget/hooks/useRewardListAmount.d.ts +0 -17
  654. package/dist/src/widgets/MiningWidget/hooks/useStakeMiningSubmit.d.ts +0 -5
  655. package/dist/src/widgets/MiningWidget/hooks/useStatusAndStartBlockNumber.d.ts +0 -13
  656. package/dist/src/widgets/MiningWidget/hooks/useUnstakeMiningSubmit.d.ts +0 -5
  657. package/dist/src/widgets/MiningWidget/types.d.ts +0 -58
  658. package/dist/src/widgets/PoolWidget/PoolCreate/components/ConfirmInfoDialog.d.ts +0 -10
  659. package/dist/src/widgets/PoolWidget/PoolCreate/components/DepthAndLiquidityChart.d.ts +0 -11
  660. package/dist/src/widgets/PoolWidget/PoolCreate/components/DepthChartWrapper.d.ts +0 -11
  661. package/dist/src/widgets/PoolWidget/PoolCreate/components/EmptyChart.d.ts +0 -5
  662. package/dist/src/widgets/PoolWidget/PoolCreate/components/FeeRateCard.d.ts +0 -6
  663. package/dist/src/widgets/PoolWidget/PoolCreate/components/FixedInitPriceConfirm.d.ts +0 -6
  664. package/dist/src/widgets/PoolWidget/PoolCreate/components/LqSettingsShow.d.ts +0 -13
  665. package/dist/src/widgets/PoolWidget/PoolCreate/components/RadioButton.d.ts +0 -12
  666. package/dist/src/widgets/PoolWidget/PoolCreate/components/RadioButtonIcon.d.ts +0 -4
  667. package/dist/src/widgets/PoolWidget/PoolCreate/components/RadioButtonTag.d.ts +0 -6
  668. package/dist/src/widgets/PoolWidget/PoolCreate/components/SectionTitle.d.ts +0 -7
  669. package/dist/src/widgets/PoolWidget/PoolCreate/components/SelectAndInput.d.ts +0 -8
  670. package/dist/src/widgets/PoolWidget/PoolCreate/components/StepTitle.d.ts +0 -5
  671. package/dist/src/widgets/PoolWidget/PoolCreate/components/VersionChartExample.d.ts +0 -6
  672. package/dist/src/widgets/PoolWidget/PoolCreate/hooks/contract/useCreatePoolSubmit.d.ts +0 -14
  673. package/dist/src/widgets/PoolWidget/PoolCreate/hooks/useCreatePmm.d.ts +0 -26
  674. package/dist/src/widgets/PoolWidget/PoolCreate/hooks/useDefaultTokens.d.ts +0 -6
  675. package/dist/src/widgets/PoolWidget/PoolCreate/hooks/useFeeRateList.d.ts +0 -13
  676. package/dist/src/widgets/PoolWidget/PoolCreate/hooks/useSlippageCoefficientList.d.ts +0 -8
  677. package/dist/src/widgets/PoolWidget/PoolCreate/hooks/useValidation.d.ts +0 -4
  678. package/dist/src/widgets/PoolWidget/PoolCreate/hooks/useVersionList.d.ts +0 -5
  679. package/dist/src/widgets/PoolWidget/PoolCreate/index.d.ts +0 -2
  680. package/dist/src/widgets/PoolWidget/PoolCreate/operate-widgets/BottomButtonGroup.d.ts +0 -6
  681. package/dist/src/widgets/PoolWidget/PoolCreate/operate-widgets/FeeRateSetting.d.ts +0 -7
  682. package/dist/src/widgets/PoolWidget/PoolCreate/operate-widgets/InitPriceSetting.d.ts +0 -12
  683. package/dist/src/widgets/PoolWidget/PoolCreate/operate-widgets/SlippageCoefficientSetting.d.ts +0 -8
  684. package/dist/src/widgets/PoolWidget/PoolCreate/operate-widgets/VersionSelect.d.ts +0 -6
  685. package/dist/src/widgets/PoolWidget/PoolCreate/reducer.d.ts +0 -78
  686. package/dist/src/widgets/PoolWidget/PoolCreate/types.d.ts +0 -35
  687. package/dist/src/widgets/PoolWidget/PoolCreate/utils.d.ts +0 -18
  688. package/dist/src/widgets/PoolWidget/PoolDetail/components/BaseQuotePie.d.ts +0 -24
  689. package/dist/src/widgets/PoolWidget/PoolDetail/components/ChartInfo.d.ts +0 -6
  690. package/dist/src/widgets/PoolWidget/PoolDetail/components/MoreDetail/LiquidityProvidersTable.d.ts +0 -5
  691. package/dist/src/widgets/PoolWidget/PoolDetail/components/MoreDetail/ParametersTable.d.ts +0 -15
  692. package/dist/src/widgets/PoolWidget/PoolDetail/components/MoreDetail/SwapsTable.d.ts +0 -6
  693. package/dist/src/widgets/PoolWidget/PoolDetail/components/MoreDetail/index.d.ts +0 -5
  694. package/dist/src/widgets/PoolWidget/PoolDetail/components/Overview.d.ts +0 -5
  695. package/dist/src/widgets/PoolWidget/PoolDetail/components/StatBarChart.d.ts +0 -10
  696. package/dist/src/widgets/PoolWidget/PoolDetail/components/TitleInfo.d.ts +0 -6
  697. package/dist/src/widgets/PoolWidget/PoolDetail/components/TotalLiquidity.d.ts +0 -5
  698. package/dist/src/widgets/PoolWidget/PoolDetail/hooks/useLiquidityProviders.d.ts +0 -159
  699. package/dist/src/widgets/PoolWidget/PoolDetail/hooks/usePoolDashboard.d.ts +0 -290
  700. package/dist/src/widgets/PoolWidget/PoolDetail/hooks/usePoolDayData.d.ts +0 -166
  701. package/dist/src/widgets/PoolWidget/PoolDetail/hooks/usePoolSwapList.d.ts +0 -245
  702. package/dist/src/widgets/PoolWidget/PoolDetail/index.d.ts +0 -2
  703. package/dist/src/widgets/PoolWidget/PoolList/AddLiquidity.d.ts +0 -12
  704. package/dist/src/widgets/PoolWidget/PoolList/MyCreated.d.ts +0 -11
  705. package/dist/src/widgets/PoolWidget/PoolList/MyLiquidity.d.ts +0 -11
  706. package/dist/src/widgets/PoolWidget/PoolList/components/AddingOrRemovingBtn.d.ts +0 -5
  707. package/dist/src/widgets/PoolWidget/PoolList/components/FilterAddressTags.d.ts +0 -8
  708. package/dist/src/widgets/PoolWidget/PoolList/components/FilterTokenTags.d.ts +0 -8
  709. package/dist/src/widgets/PoolWidget/PoolList/components/LiquidityTable.d.ts +0 -3
  710. package/dist/src/widgets/PoolWidget/PoolList/components/LoadingCard.d.ts +0 -5
  711. package/dist/src/widgets/PoolWidget/PoolList/components/PoolApyTooltip.d.ts +0 -18
  712. package/dist/src/widgets/PoolWidget/PoolList/components/TokenAndPoolFilter.d.ts +0 -9
  713. package/dist/src/widgets/PoolWidget/PoolList/components/TokenListPoolItem.d.ts +0 -6
  714. package/dist/src/widgets/PoolWidget/PoolList/hooks/usePoolListFilterChainId.d.ts +0 -6
  715. package/dist/src/widgets/PoolWidget/PoolList/hooks/usePoolListFilterTokenAndPool.d.ts +0 -48
  716. package/dist/src/widgets/PoolWidget/PoolList/hooks/usePoolListTabs.d.ts +0 -15
  717. package/dist/src/widgets/PoolWidget/PoolList/index.d.ts +0 -2
  718. package/dist/src/widgets/PoolWidget/PoolModify/SectionTitle.d.ts +0 -4
  719. package/dist/src/widgets/PoolWidget/PoolModify/index.d.ts +0 -2
  720. package/dist/src/widgets/PoolWidget/PoolModify/operate-widgets/BottomButtonGroup.d.ts +0 -8
  721. package/dist/src/widgets/PoolWidget/PoolModify/operate-widgets/FeeRateSetting.d.ts +0 -7
  722. package/dist/src/widgets/PoolWidget/PoolOperate/AddPoolOperate.d.ts +0 -9
  723. package/dist/src/widgets/PoolWidget/PoolOperate/Footer.d.ts +0 -18
  724. package/dist/src/widgets/PoolWidget/PoolOperate/LiquidityInfo.d.ts +0 -8
  725. package/dist/src/widgets/PoolWidget/PoolOperate/PoolOperateInner.d.ts +0 -9
  726. package/dist/src/widgets/PoolWidget/PoolOperate/Ratio.d.ts +0 -8
  727. package/dist/src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.d.ts +0 -9
  728. package/dist/src/widgets/PoolWidget/PoolOperate/SlippageSetting.d.ts +0 -18
  729. package/dist/src/widgets/PoolWidget/PoolOperate/components/ComparePrice.d.ts +0 -9
  730. package/dist/src/widgets/PoolWidget/PoolOperate/components/LiquidityInfo.d.ts +0 -10
  731. package/dist/src/widgets/PoolWidget/PoolOperate/components/OperateBtn.d.ts +0 -6
  732. package/dist/src/widgets/PoolWidget/PoolOperate/components/Ratio.d.ts +0 -8
  733. package/dist/src/widgets/PoolWidget/PoolOperate/components/SliderPercentageCard.d.ts +0 -8
  734. package/dist/src/widgets/PoolWidget/PoolOperate/components/SlippageSetting.d.ts +0 -18
  735. package/dist/src/widgets/PoolWidget/PoolOperate/components/TokenList.d.ts +0 -12
  736. package/dist/src/widgets/PoolWidget/PoolOperate/hooks/useCheckToken.d.ts +0 -13
  737. package/dist/src/widgets/PoolWidget/PoolOperate/hooks/useComparePrice.d.ts +0 -19
  738. package/dist/src/widgets/PoolWidget/PoolOperate/hooks/useLiquidityOperateAmount.d.ts +0 -46
  739. package/dist/src/widgets/PoolWidget/PoolOperate/hooks/usePercentageRemove.d.ts +0 -26
  740. package/dist/src/widgets/PoolWidget/PoolOperate/hooks/usePoolOperateTabs.d.ts +0 -12
  741. package/dist/src/widgets/PoolWidget/PoolOperate/hooks/usePoolOrMiningTabs.d.ts +0 -14
  742. package/dist/src/widgets/PoolWidget/PoolOperate/hooks/useRemoveLiquidityTokenStatus.d.ts +0 -33
  743. package/dist/src/widgets/PoolWidget/PoolOperate/index.d.ts +0 -14
  744. package/dist/src/widgets/PoolWidget/PoolOperate/types.d.ts +0 -17
  745. package/dist/src/widgets/PoolWidget/hooks/contract/getModifyDPPPoolParams.d.ts +0 -86
  746. package/dist/src/widgets/PoolWidget/hooks/contract/useModifyDppPool.d.ts +0 -22
  747. package/dist/src/widgets/PoolWidget/hooks/contract/useOperateLiquidity.d.ts +0 -36
  748. package/dist/src/widgets/PoolWidget/hooks/contract/useWithdrawInfo.d.ts +0 -33
  749. package/dist/src/widgets/PoolWidget/hooks/usePoolBalanceInfo.d.ts +0 -48
  750. package/dist/src/widgets/PoolWidget/hooks/usePoolDetail.d.ts +0 -341
  751. package/dist/src/widgets/PoolWidget/hooks/usePoolTypeTag.d.ts +0 -16
  752. package/dist/src/widgets/PoolWidget/index.d.ts +0 -2
  753. package/dist/src/widgets/PoolWidget/list/AddLiquidity.d.ts +0 -9
  754. package/dist/src/widgets/PoolWidget/list/components/FilterAddressTags.d.ts +0 -8
  755. package/dist/src/widgets/PoolWidget/list/components/FilterTokenTags.d.ts +0 -8
  756. package/dist/src/widgets/PoolWidget/list/components/LoadingCard.d.ts +0 -5
  757. package/dist/src/widgets/PoolWidget/list/components/PoolApyTooltip.d.ts +0 -17
  758. package/dist/src/widgets/PoolWidget/list/components/TokenAndPoolFilter.d.ts +0 -9
  759. package/dist/src/widgets/PoolWidget/list/components/TokenListPoolItem.d.ts +0 -6
  760. package/dist/src/widgets/PoolWidget/list/hooks/usePoolListFilterChainId.d.ts +0 -6
  761. package/dist/src/widgets/PoolWidget/list/hooks/usePoolListFilterTokenAndPool.d.ts +0 -58
  762. package/dist/src/widgets/PoolWidget/list/hooks/usePoolListTabs.d.ts +0 -15
  763. package/dist/src/widgets/PoolWidget/utils.d.ts +0 -17
@@ -1,341 +0,0 @@
1
- import { ChainId, PoolType } from '@dodoex/api';
2
- import { TokenInfo } from '../../../hooks/Token';
3
- export declare function usePoolDetail({ id, chainId, }: {
4
- id: string | undefined;
5
- chainId: ChainId | undefined;
6
- }): {
7
- poolDetail: {
8
- address: string;
9
- type: PoolType;
10
- chainId: ChainId;
11
- baseToken: TokenInfo;
12
- quoteToken: TokenInfo;
13
- miningAddress: string;
14
- baseApy: string | undefined;
15
- quoteApy: string | undefined;
16
- isCpPool: boolean;
17
- cpAddress: string | undefined;
18
- cpLiquidator: string | undefined;
19
- cpCreator: string | undefined;
20
- cpCreatedAtTimestamp: string | undefined;
21
- id: string;
22
- creator: any;
23
- owner?: any;
24
- traderCount: any;
25
- volumeBaseToken: any;
26
- volumeQuoteToken: any;
27
- volumeUSD: any;
28
- feeBase: any;
29
- feeQuote: any;
30
- mtFeeRate: any;
31
- lpFeeRate: any;
32
- i?: any;
33
- k?: any;
34
- baseReserve: any;
35
- quoteReserve: any;
36
- createdAtTimestamp: any;
37
- lastTradePrice: any;
38
- baseLpToken?: {
39
- id: string;
40
- symbol: string;
41
- name: string;
42
- } | null | undefined;
43
- quoteLpToken?: {
44
- id: string;
45
- symbol: string;
46
- name: string;
47
- } | null | undefined;
48
- } | null;
49
- data: import("@dodoex/api/dist/gql/graphql").FetchPoolQuery;
50
- error: Error;
51
- isError: true;
52
- isPending: false;
53
- isLoading: false;
54
- isLoadingError: false;
55
- isRefetchError: true;
56
- isSuccess: false;
57
- status: "error";
58
- dataUpdatedAt: number;
59
- errorUpdatedAt: number;
60
- failureCount: number;
61
- failureReason: Error | null;
62
- errorUpdateCount: number;
63
- isFetched: boolean;
64
- isFetchedAfterMount: boolean;
65
- isFetching: boolean;
66
- isInitialLoading: boolean;
67
- isPaused: boolean;
68
- isPlaceholderData: boolean;
69
- isRefetching: boolean;
70
- isStale: boolean;
71
- refetch: (options?: import("@tanstack/query-core/build/legacy/queryClient-MRqjmcFa")._ | undefined) => Promise<import("@tanstack/query-core/build/legacy/queryClient-MRqjmcFa").ae<import("@dodoex/api/dist/gql/graphql").FetchPoolQuery, Error>>;
72
- fetchStatus: import("@tanstack/query-core/build/legacy/queryClient-MRqjmcFa").a6;
73
- } | {
74
- poolDetail: {
75
- address: string;
76
- type: PoolType;
77
- chainId: ChainId;
78
- baseToken: TokenInfo;
79
- quoteToken: TokenInfo;
80
- miningAddress: string;
81
- baseApy: string | undefined;
82
- quoteApy: string | undefined;
83
- isCpPool: boolean;
84
- cpAddress: string | undefined;
85
- cpLiquidator: string | undefined;
86
- cpCreator: string | undefined;
87
- cpCreatedAtTimestamp: string | undefined;
88
- id: string;
89
- creator: any;
90
- owner?: any;
91
- traderCount: any;
92
- volumeBaseToken: any;
93
- volumeQuoteToken: any;
94
- volumeUSD: any;
95
- feeBase: any;
96
- feeQuote: any;
97
- mtFeeRate: any;
98
- lpFeeRate: any;
99
- i?: any;
100
- k?: any;
101
- baseReserve: any;
102
- quoteReserve: any;
103
- createdAtTimestamp: any;
104
- lastTradePrice: any;
105
- baseLpToken?: {
106
- id: string;
107
- symbol: string;
108
- name: string;
109
- } | null | undefined;
110
- quoteLpToken?: {
111
- id: string;
112
- symbol: string;
113
- name: string;
114
- } | null | undefined;
115
- } | null;
116
- data: import("@dodoex/api/dist/gql/graphql").FetchPoolQuery;
117
- error: null;
118
- isError: false;
119
- isPending: false;
120
- isLoading: false;
121
- isLoadingError: false;
122
- isRefetchError: false;
123
- isSuccess: true;
124
- status: "success";
125
- dataUpdatedAt: number;
126
- errorUpdatedAt: number;
127
- failureCount: number;
128
- failureReason: Error | null;
129
- errorUpdateCount: number;
130
- isFetched: boolean;
131
- isFetchedAfterMount: boolean;
132
- isFetching: boolean;
133
- isInitialLoading: boolean;
134
- isPaused: boolean;
135
- isPlaceholderData: boolean;
136
- isRefetching: boolean;
137
- isStale: boolean;
138
- refetch: (options?: import("@tanstack/query-core/build/legacy/queryClient-MRqjmcFa")._ | undefined) => Promise<import("@tanstack/query-core/build/legacy/queryClient-MRqjmcFa").ae<import("@dodoex/api/dist/gql/graphql").FetchPoolQuery, Error>>;
139
- fetchStatus: import("@tanstack/query-core/build/legacy/queryClient-MRqjmcFa").a6;
140
- } | {
141
- poolDetail: {
142
- address: string;
143
- type: PoolType;
144
- chainId: ChainId;
145
- baseToken: TokenInfo;
146
- quoteToken: TokenInfo;
147
- miningAddress: string;
148
- baseApy: string | undefined;
149
- quoteApy: string | undefined;
150
- isCpPool: boolean;
151
- cpAddress: string | undefined;
152
- cpLiquidator: string | undefined;
153
- cpCreator: string | undefined;
154
- cpCreatedAtTimestamp: string | undefined;
155
- id: string;
156
- creator: any;
157
- owner?: any;
158
- traderCount: any;
159
- volumeBaseToken: any;
160
- volumeQuoteToken: any;
161
- volumeUSD: any;
162
- feeBase: any;
163
- feeQuote: any;
164
- mtFeeRate: any;
165
- lpFeeRate: any;
166
- i?: any;
167
- k?: any;
168
- baseReserve: any;
169
- quoteReserve: any;
170
- createdAtTimestamp: any;
171
- lastTradePrice: any;
172
- baseLpToken?: {
173
- id: string;
174
- symbol: string;
175
- name: string;
176
- } | null | undefined;
177
- quoteLpToken?: {
178
- id: string;
179
- symbol: string;
180
- name: string;
181
- } | null | undefined;
182
- } | null;
183
- data: undefined;
184
- error: Error;
185
- isError: true;
186
- isPending: false;
187
- isLoading: false;
188
- isLoadingError: true;
189
- isRefetchError: false;
190
- isSuccess: false;
191
- status: "error";
192
- dataUpdatedAt: number;
193
- errorUpdatedAt: number;
194
- failureCount: number;
195
- failureReason: Error | null;
196
- errorUpdateCount: number;
197
- isFetched: boolean;
198
- isFetchedAfterMount: boolean;
199
- isFetching: boolean;
200
- isInitialLoading: boolean;
201
- isPaused: boolean;
202
- isPlaceholderData: boolean;
203
- isRefetching: boolean;
204
- isStale: boolean;
205
- refetch: (options?: import("@tanstack/query-core/build/legacy/queryClient-MRqjmcFa")._ | undefined) => Promise<import("@tanstack/query-core/build/legacy/queryClient-MRqjmcFa").ae<import("@dodoex/api/dist/gql/graphql").FetchPoolQuery, Error>>;
206
- fetchStatus: import("@tanstack/query-core/build/legacy/queryClient-MRqjmcFa").a6;
207
- } | {
208
- poolDetail: {
209
- address: string;
210
- type: PoolType;
211
- chainId: ChainId;
212
- baseToken: TokenInfo;
213
- quoteToken: TokenInfo;
214
- miningAddress: string;
215
- baseApy: string | undefined;
216
- quoteApy: string | undefined;
217
- isCpPool: boolean;
218
- cpAddress: string | undefined;
219
- cpLiquidator: string | undefined;
220
- cpCreator: string | undefined;
221
- cpCreatedAtTimestamp: string | undefined;
222
- id: string;
223
- creator: any;
224
- owner?: any;
225
- traderCount: any;
226
- volumeBaseToken: any;
227
- volumeQuoteToken: any;
228
- volumeUSD: any;
229
- feeBase: any;
230
- feeQuote: any;
231
- mtFeeRate: any;
232
- lpFeeRate: any;
233
- i?: any;
234
- k?: any;
235
- baseReserve: any;
236
- quoteReserve: any;
237
- createdAtTimestamp: any;
238
- lastTradePrice: any;
239
- baseLpToken?: {
240
- id: string;
241
- symbol: string;
242
- name: string;
243
- } | null | undefined;
244
- quoteLpToken?: {
245
- id: string;
246
- symbol: string;
247
- name: string;
248
- } | null | undefined;
249
- } | null;
250
- data: undefined;
251
- error: null;
252
- isError: false;
253
- isPending: true;
254
- isLoading: true;
255
- isLoadingError: false;
256
- isRefetchError: false;
257
- isSuccess: false;
258
- status: "pending";
259
- dataUpdatedAt: number;
260
- errorUpdatedAt: number;
261
- failureCount: number;
262
- failureReason: Error | null;
263
- errorUpdateCount: number;
264
- isFetched: boolean;
265
- isFetchedAfterMount: boolean;
266
- isFetching: boolean;
267
- isInitialLoading: boolean;
268
- isPaused: boolean;
269
- isPlaceholderData: boolean;
270
- isRefetching: boolean;
271
- isStale: boolean;
272
- refetch: (options?: import("@tanstack/query-core/build/legacy/queryClient-MRqjmcFa")._ | undefined) => Promise<import("@tanstack/query-core/build/legacy/queryClient-MRqjmcFa").ae<import("@dodoex/api/dist/gql/graphql").FetchPoolQuery, Error>>;
273
- fetchStatus: import("@tanstack/query-core/build/legacy/queryClient-MRqjmcFa").a6;
274
- } | {
275
- poolDetail: {
276
- address: string;
277
- type: PoolType;
278
- chainId: ChainId;
279
- baseToken: TokenInfo;
280
- quoteToken: TokenInfo;
281
- miningAddress: string;
282
- baseApy: string | undefined;
283
- quoteApy: string | undefined;
284
- isCpPool: boolean;
285
- cpAddress: string | undefined;
286
- cpLiquidator: string | undefined;
287
- cpCreator: string | undefined;
288
- cpCreatedAtTimestamp: string | undefined;
289
- id: string;
290
- creator: any;
291
- owner?: any;
292
- traderCount: any;
293
- volumeBaseToken: any;
294
- volumeQuoteToken: any;
295
- volumeUSD: any;
296
- feeBase: any;
297
- feeQuote: any;
298
- mtFeeRate: any;
299
- lpFeeRate: any;
300
- i?: any;
301
- k?: any;
302
- baseReserve: any;
303
- quoteReserve: any;
304
- createdAtTimestamp: any;
305
- lastTradePrice: any;
306
- baseLpToken?: {
307
- id: string;
308
- symbol: string;
309
- name: string;
310
- } | null | undefined;
311
- quoteLpToken?: {
312
- id: string;
313
- symbol: string;
314
- name: string;
315
- } | null | undefined;
316
- } | null;
317
- data: undefined;
318
- error: null;
319
- isError: false;
320
- isPending: true;
321
- isLoadingError: false;
322
- isRefetchError: false;
323
- isSuccess: false;
324
- status: "pending";
325
- dataUpdatedAt: number;
326
- errorUpdatedAt: number;
327
- failureCount: number;
328
- failureReason: Error | null;
329
- errorUpdateCount: number;
330
- isFetched: boolean;
331
- isFetchedAfterMount: boolean;
332
- isFetching: boolean;
333
- isLoading: boolean;
334
- isInitialLoading: boolean;
335
- isPaused: boolean;
336
- isPlaceholderData: boolean;
337
- isRefetching: boolean;
338
- isStale: boolean;
339
- refetch: (options?: import("@tanstack/query-core/build/legacy/queryClient-MRqjmcFa")._ | undefined) => Promise<import("@tanstack/query-core/build/legacy/queryClient-MRqjmcFa").ae<import("@dodoex/api/dist/gql/graphql").FetchPoolQuery, Error>>;
340
- fetchStatus: import("@tanstack/query-core/build/legacy/queryClient-MRqjmcFa").a6;
341
- };
@@ -1,16 +0,0 @@
1
- import { PoolType } from '@dodoex/api';
2
- import { Theme } from '@dodoex/components';
3
- import BigNumber from 'bignumber.js';
4
- export declare const getPoolTypeTag: (type: PoolType, quoteReserve: BigNumber | undefined | null, theme: Theme) => {
5
- typeLabel: string;
6
- typeColor: any;
7
- typeBgColor: string;
8
- };
9
- export declare const usePoolTypeTag: ({ type, quoteReserve, }: {
10
- type: PoolType;
11
- quoteReserve: BigNumber | undefined | null;
12
- }) => {
13
- typeLabel: string;
14
- typeColor: any;
15
- typeBgColor: string;
16
- };
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare function Pool(): JSX.Element;
@@ -1,9 +0,0 @@
1
- import { ChainId } from '../../../constants/chains';
2
- import React from 'react';
3
- export default function AddLiquidityList({ scrollParentRef, account, filterChainIds, activeChainId, handleChangeActiveChainId, }: {
4
- scrollParentRef: React.MutableRefObject<HTMLDivElement | undefined>;
5
- account?: string;
6
- filterChainIds?: ChainId[];
7
- activeChainId: ChainId | undefined;
8
- handleChangeActiveChainId: (chainId: number | undefined) => void;
9
- }): JSX.Element;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { BoxProps } from '@dodoex/components';
3
- import { FetchLiquidityListLqList } from '../../utils';
4
- export default function FilterAddressTags({ lqList, onDeleteTag, sx, }: {
5
- lqList: FetchLiquidityListLqList;
6
- onDeleteTag: () => void;
7
- sx?: BoxProps['sx'];
8
- }): JSX.Element | null;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { BoxProps } from '@dodoex/components';
3
- import { TokenInfo } from '../../../../hooks/Token';
4
- export default function FilterTokenTags({ tags, onDeleteTag, sx, }: {
5
- tags: TokenInfo[];
6
- onDeleteTag: (tag: TokenInfo) => void;
7
- sx?: BoxProps['sx'];
8
- }): JSX.Element | null;
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import { BoxProps } from '@dodoex/components';
3
- export default function LoadingCard({ sx }: {
4
- sx?: BoxProps['sx'];
5
- }): JSX.Element;
@@ -1,17 +0,0 @@
1
- /// <reference types="react" />
2
- import { BoxProps } from '@dodoex/components';
3
- import { TokenInfo } from '../../../../hooks/Token';
4
- export default function PoolApyTooltip({ chainId, baseToken, quoteToken, apy, hasQuote, hasMining, sx, }: {
5
- chainId: number;
6
- baseToken: TokenInfo | undefined;
7
- quoteToken: TokenInfo | undefined;
8
- apy: {
9
- transactionBaseApy?: string | null;
10
- transactionQuoteApy?: string | null;
11
- miningBaseApy?: string | null;
12
- miningQuoteApy?: string | null;
13
- } | undefined | null;
14
- hasQuote: boolean;
15
- hasMining: boolean;
16
- sx?: BoxProps['sx'];
17
- }): JSX.Element | null;
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { BoxProps } from '@dodoex/components';
3
- import { TokenInfo } from '../../../../hooks/Token';
4
- export default function TokenAndPoolFilter({ sx, value, onChange, searchAddress, }: {
5
- sx?: BoxProps['sx'];
6
- value: Array<TokenInfo>;
7
- onChange: (v: Array<TokenInfo>) => void;
8
- searchAddress: (address: string, onClose: () => void) => Promise<JSX.Element | null>;
9
- }): JSX.Element;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { FetchLiquidityListLqList } from '../../utils';
3
- export default function TokenListPoolItem({ list, onClick, }: {
4
- list: FetchLiquidityListLqList;
5
- onClick: () => void;
6
- }): JSX.Element;
@@ -1,6 +0,0 @@
1
- import { ChainId } from '../../../../constants/chains';
2
- export declare function usePoolListFilterChainId(): {
3
- activeChainId: ChainId | undefined;
4
- filterChainIds: ChainId[] | undefined;
5
- handleChangeActiveChainId: (chainId: number | undefined) => void;
6
- };
@@ -1,58 +0,0 @@
1
- import { TokenInfo } from '../../../../hooks/Token';
2
- import { FetchLiquidityListLqList } from '../../utils';
3
- export declare function usePoolListFilterTokenAndPool(): {
4
- filterTokens: TokenInfo[];
5
- filterASymbol: string;
6
- filterBSymbol: string;
7
- filterAddressLqList: ({
8
- id?: string | null | undefined;
9
- isPrivatePool?: boolean | null | undefined;
10
- isMyLiquidity?: boolean | null | undefined;
11
- pair?: {
12
- id: string;
13
- chainId: number;
14
- type: string;
15
- baseReserve: any;
16
- quoteReserve: any;
17
- lastTradePrice: any;
18
- lpFeeRate: any;
19
- i?: any;
20
- creator: any;
21
- tvl?: any;
22
- miningAddress?: (string | null)[] | null | undefined;
23
- baseLpToken?: {
24
- id: string;
25
- decimals: any;
26
- } | null | undefined;
27
- quoteLpToken?: {
28
- id: string;
29
- decimals: any;
30
- } | null | undefined;
31
- baseToken: {
32
- id: string;
33
- symbol: string;
34
- name: string;
35
- decimals: any;
36
- usdPrice: any;
37
- logoImg?: string | null | undefined;
38
- };
39
- quoteToken: {
40
- id: string;
41
- symbol: string;
42
- name: string;
43
- decimals: any;
44
- usdPrice: any;
45
- logoImg?: string | null | undefined;
46
- };
47
- apy?: {
48
- miningBaseApy?: any;
49
- miningQuoteApy?: any;
50
- transactionBaseApy?: any;
51
- transactionQuoteApy?: any;
52
- } | null | undefined;
53
- } | null | undefined;
54
- } | null)[] | null | undefined;
55
- handleDeleteToken: (token: TokenInfo) => void;
56
- handleChangeFilterTokens: (tokens: Array<TokenInfo>) => void;
57
- handleChangeFilterAddress: (lqList: FetchLiquidityListLqList) => void;
58
- };
@@ -1,15 +0,0 @@
1
- export declare enum PoolTab {
2
- addLiquidity = "add-liquidity",
3
- myLiquidity = "my-liquidity",
4
- myCreated = "my-created"
5
- }
6
- export declare function usePoolListTabs({ account }: {
7
- account?: string;
8
- }): {
9
- poolTab: PoolTab;
10
- tabs: {
11
- key: PoolTab;
12
- value: string;
13
- }[];
14
- handleChangePoolTab: (poolTab: PoolTab) => void;
15
- };
@@ -1,17 +0,0 @@
1
- import { PoolApi, ExcludeNone } from '@dodoex/api';
2
- import { ChainId } from '@dodoex/api';
3
- import { TokenInfo } from '../../hooks/Token';
4
- import { OperatePool } from './PoolOperate/types';
5
- export declare const poolApi: PoolApi;
6
- export declare type FetchLiquidityListLqList = ExcludeNone<ReturnType<Exclude<typeof PoolApi.graphql.fetchLiquidityList['__apiType'], undefined>>['liquidity_list']>['lqList'];
7
- export declare type FetchMyLiquidityListLqList = ExcludeNone<ReturnType<Exclude<typeof PoolApi.graphql.fetchMyLiquidityList['__apiType'], undefined>>['liquidity_list']>['lqList'];
8
- export declare type FetchPoolList = ExcludeNone<ReturnType<Exclude<typeof PoolApi.graphql.fetchPoolList['__apiType'], undefined>>['pairs']>;
9
- export declare function convertLiquidityTokenToTokenInfo(token: {
10
- id: string;
11
- symbol: string;
12
- name: string;
13
- decimals: number;
14
- logoImg?: string | null;
15
- } | undefined, chainId: ChainId | number): TokenInfo | undefined;
16
- export declare function convertFetchLiquidityToOperateData(lqData: ExcludeNone<FetchLiquidityListLqList>[0]): OperatePool;
17
- export declare function convertFetchPoolToOperateData(pool: FetchPoolList[0], chainId: number): OperatePool;
@@ -1,6 +0,0 @@
1
- /**
2
- * @jest-environment hardhat/dist/jsdom
3
- */
4
- import '@ethersproject/providers';
5
- import 'jest-environment-hardhat/dist/jsdom';
6
- import '@testing-library/jest-dom';
@@ -1,87 +0,0 @@
1
- export declare const tokenListMap: {
2
- ETH: {
3
- chainId: number;
4
- address: string;
5
- name: string;
6
- decimals: number;
7
- symbol: string;
8
- logoURI: string;
9
- };
10
- DODO: {
11
- chainId: number;
12
- address: string;
13
- name: string;
14
- decimals: number;
15
- symbol: string;
16
- logoURI: string;
17
- };
18
- USDC: {
19
- chainId: number;
20
- address: string;
21
- name: string;
22
- decimals: number;
23
- symbol: string;
24
- logoURI: string;
25
- };
26
- };
27
- export declare const tokenList: ({
28
- chainId: number;
29
- address: string;
30
- name: string;
31
- decimals: number;
32
- symbol: string;
33
- logoURI: string;
34
- } | {
35
- chainId: number;
36
- address: string;
37
- name: string;
38
- decimals: number;
39
- symbol: string;
40
- logoURI: string;
41
- } | {
42
- chainId: number;
43
- address: string;
44
- name: string;
45
- decimals: number;
46
- symbol: string;
47
- logoURI: string;
48
- })[];
49
- export declare const routeRes: {
50
- data: {
51
- resAmount: number;
52
- resPricePerToToken: number;
53
- resPricePerFromToken: number;
54
- priceImpact: number;
55
- useSource: string;
56
- targetDecimals: number;
57
- targetApproveAddr: string;
58
- to: string;
59
- data: string;
60
- value: string;
61
- resCostGas: number;
62
- duration: number;
63
- networkDelay: number;
64
- routeData: string;
65
- msgError: string;
66
- totalDuration: number;
67
- };
68
- };
69
- export declare const tokenListRes: {
70
- keywords: string[];
71
- logoURI: string;
72
- name: string;
73
- timestamp: string;
74
- tokens: never[];
75
- message: string;
76
- };
77
- export declare const fiatPriceBatchRes: {
78
- code: number;
79
- data: {
80
- network: string;
81
- address: string;
82
- symbol: string;
83
- price: string;
84
- serial: number;
85
- }[];
86
- message: string;
87
- };
@@ -1,6 +0,0 @@
1
- /**
2
- * @jest-environment hardhat/jsdom
3
- */
4
- import '@ethersproject/providers';
5
- import 'jest-environment-hardhat/dist/jsdom';
6
- import '@testing-library/jest-dom';
@@ -1,4 +0,0 @@
1
- declare const error: {
2
- (...data: any[]): void;
3
- (message?: any, ...optionalParams: any[]): void;
4
- };