@dodoex/widgets 3.0.4-ve33.1 → 3.0.4-ve33.11

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 (185) hide show
  1. package/dist/cjs/locales/en-US.js +1 -1
  2. package/dist/cjs/locales/zh-CN.js +1 -1
  3. package/dist/{helper-C3H6B4Oy.cjs → helper-BASM7Iwr.cjs} +1 -1
  4. package/dist/{helper-0RKQSgE1.js → helper-BASXTlaZ.js} +1 -1
  5. package/dist/{index-8b78r-JT.js → index-BPaBKoXS.js} +1 -1
  6. package/dist/index-CjO6DZLb.js +32 -0
  7. package/dist/index-DH1Xhcg6.cjs +32 -0
  8. package/dist/{index-DdE6aa-k.cjs → index-mk0U3yyv.cjs} +1 -1
  9. package/dist/{index-D9uctpVh.js → index-r9aOMH8w.js} +1 -1
  10. package/dist/{index-CsquFrM1.cjs → index-zX4IFul3.cjs} +1 -1
  11. package/dist/index.cjs +1 -1
  12. package/dist/index.js +1 -1
  13. package/dist/locales/en-US.js +1 -1
  14. package/dist/locales/zh-CN.js +1 -1
  15. package/dist/types/components/AddressWithLinkAndCopy.d.ts +3 -1
  16. package/dist/types/components/CardWidgets.d.ts +2 -1
  17. package/dist/types/components/SimpleItemInfo.d.ts +4 -0
  18. package/dist/types/components/Swap/components/Dialog.d.ts +3 -0
  19. package/dist/types/components/Swap/components/ReviewDialog.d.ts +1 -2
  20. package/dist/types/components/Swap/components/SwapSettingsDialog/index.d.ts +1 -4
  21. package/dist/types/components/Swap/components/TokenCard/NumberInput.d.ts +1 -0
  22. package/dist/types/components/Swap/components/TokenCard/TokenLpCard.d.ts +32 -0
  23. package/dist/types/components/Swap/components/TokenCard/index.d.ts +2 -1
  24. package/dist/types/components/Swap/index.d.ts +1 -4
  25. package/dist/types/components/Token/TokenItem.d.ts +2 -1
  26. package/dist/types/components/TokenSelect.d.ts +5 -2
  27. package/dist/types/components/TokenStatusButton.d.ts +1 -1
  28. package/dist/types/components/Widget/index.d.ts +1 -0
  29. package/dist/types/components/WidgetContainer.d.ts +1 -1
  30. package/dist/types/constants/api.d.ts +1 -1
  31. package/dist/types/constants/swap.d.ts +3 -0
  32. package/dist/types/hooks/Submission/types.d.ts +21 -1
  33. package/dist/types/hooks/Swap/useFetchRoutePrice.d.ts +1 -3
  34. package/dist/types/hooks/Swap/useSlippageLimit.d.ts +1 -1
  35. package/dist/types/hooks/Swap/useSwapSettingStore.d.ts +1 -0
  36. package/dist/types/hooks/Token/usePoolTokenSort.d.ts +24 -0
  37. package/dist/types/hooks/useGraphQLRequests.d.ts +0 -1
  38. package/dist/types/index.d.ts +40 -23
  39. package/dist/types/utils/formatter.d.ts +2 -2
  40. package/dist/types/utils/fractions/fraction.d.ts +24 -0
  41. package/dist/types/utils/fractions/index.d.ts +3 -0
  42. package/dist/types/utils/fractions/percent.d.ts +14 -0
  43. package/dist/types/utils/fractions/price.d.ts +29 -0
  44. package/dist/types/utils/fractions/types.d.ts +7 -0
  45. package/dist/types/widgets/PoolWidget/utils.d.ts +2 -0
  46. package/dist/types/widgets/ve33/Ve33IncentiveDetail/AddIncentiveDialog.d.ts +13 -0
  47. package/dist/types/widgets/ve33/Ve33IncentiveDetail/Dashboard.d.ts +1 -0
  48. package/dist/types/widgets/ve33/Ve33IncentiveDetail/PoolInfo.d.ts +5 -0
  49. package/dist/types/widgets/ve33/Ve33IncentiveDetail/index.d.ts +7 -0
  50. package/dist/types/widgets/ve33/Ve33IncentiveList/CardList.d.ts +10 -0
  51. package/dist/types/widgets/ve33/Ve33IncentiveList/TableList.d.ts +11 -0
  52. package/dist/types/widgets/ve33/Ve33IncentiveList/index.d.ts +7 -0
  53. package/dist/types/widgets/ve33/Ve33LockList/CardList.d.ts +11 -0
  54. package/dist/types/widgets/ve33/Ve33LockList/ClaimLockDialog.d.ts +6 -0
  55. package/dist/types/widgets/ve33/Ve33LockList/LockManageDialog.d.ts +7 -0
  56. package/dist/types/widgets/ve33/Ve33LockList/MergeDialog.d.ts +7 -0
  57. package/dist/types/widgets/ve33/Ve33LockList/TableList.d.ts +10 -0
  58. package/dist/types/widgets/ve33/Ve33LockList/hooks/useClaimBribes.d.ts +7 -0
  59. package/dist/types/widgets/ve33/Ve33LockList/hooks/useClaimRebases.d.ts +5 -0
  60. package/dist/types/widgets/ve33/Ve33LockList/hooks/useExtendLock.d.ts +6 -0
  61. package/dist/types/widgets/ve33/Ve33LockList/hooks/useFetchUserLocks.d.ts +282 -0
  62. package/dist/types/widgets/ve33/Ve33LockList/hooks/useIncreaseLock.d.ts +6 -0
  63. package/dist/types/widgets/ve33/Ve33LockList/hooks/useMergeLock.d.ts +5 -0
  64. package/dist/types/widgets/ve33/Ve33LockList/hooks/useTransferLock.d.ts +7 -0
  65. package/dist/types/widgets/ve33/Ve33LockList/index.d.ts +1 -0
  66. package/dist/types/widgets/ve33/Ve33LockOperate/hooks/useCreateLock.d.ts +7 -0
  67. package/dist/types/widgets/ve33/Ve33LockOperate/hooks/useFetchUserTotalVeNFT.d.ts +8 -0
  68. package/dist/types/widgets/ve33/Ve33LockOperate/index.d.ts +4 -0
  69. package/dist/types/widgets/ve33/Ve33LockOperate/utils.d.ts +21 -0
  70. package/dist/types/widgets/ve33/Ve33PoolDetail/MyAssets.d.ts +5 -0
  71. package/dist/types/widgets/ve33/Ve33PoolDetail/MyPosition.d.ts +5 -0
  72. package/dist/types/widgets/ve33/Ve33PoolDetail/PoolInfo.d.ts +5 -0
  73. package/dist/types/widgets/ve33/Ve33PoolDetail/index.d.ts +7 -0
  74. package/dist/types/widgets/ve33/Ve33PoolDetail/useVe33V3Positions.d.ts +79 -0
  75. package/dist/types/widgets/ve33/Ve33PoolList/CardList.d.ts +13 -0
  76. package/dist/types/widgets/ve33/Ve33PoolList/TableList.d.ts +14 -0
  77. package/dist/types/widgets/ve33/Ve33PoolList/index.d.ts +5 -0
  78. package/dist/types/widgets/ve33/Ve33PoolOperate.d.ts +2 -0
  79. package/dist/types/widgets/ve33/Ve33StakeDialog.d.ts +11 -0
  80. package/dist/types/widgets/ve33/Ve33V2PoolOperate/AddPoolOperate.d.ts +6 -0
  81. package/dist/types/widgets/ve33/Ve33V2PoolOperate/RemovePoolOperate.d.ts +5 -0
  82. package/dist/types/widgets/ve33/Ve33V2PoolOperate/components/ComparePrice.d.ts +8 -0
  83. package/dist/types/widgets/ve33/Ve33V2PoolOperate/components/OperateBtn.d.ts +6 -0
  84. package/dist/types/widgets/ve33/Ve33V2PoolOperate/components/SliderPercentageCard.d.ts +8 -0
  85. package/dist/types/widgets/ve33/Ve33V2PoolOperate/components/SlippageSetting.d.ts +18 -0
  86. package/dist/types/widgets/ve33/Ve33V2PoolOperate/components/V2ConfirmDialog.d.ts +19 -0
  87. package/dist/types/widgets/ve33/Ve33V2PoolOperate/hooks/useComparePrice.d.ts +19 -0
  88. package/dist/types/widgets/ve33/Ve33V2PoolOperate/hooks/useLiquidityOperateAmount.d.ts +86 -0
  89. package/dist/types/widgets/ve33/Ve33V2PoolOperate/hooks/usePercentageRemove.d.ts +25 -0
  90. package/dist/types/widgets/ve33/Ve33V2PoolOperate/hooks/usePoolOperateTabs.d.ts +12 -0
  91. package/dist/types/widgets/ve33/Ve33V2PoolOperate/hooks/useVe33V2AddLiquidity.d.ts +12 -0
  92. package/dist/types/widgets/ve33/Ve33V2PoolOperate/hooks/useVe33V2BalanceInfo.d.ts +36 -0
  93. package/dist/types/widgets/ve33/Ve33V2PoolOperate/hooks/useVe33V2RemoveLiquidity.d.ts +12 -0
  94. package/dist/types/widgets/ve33/Ve33V2PoolOperate/hooks/useWithdrawInfo.d.ts +25 -0
  95. package/dist/types/widgets/ve33/Ve33V2PoolOperate/index.d.ts +15 -0
  96. package/dist/types/widgets/ve33/Ve33V2PoolOperate/types.d.ts +22 -0
  97. package/dist/types/widgets/ve33/Ve33V3PoolOperate/Ve33V3AddLiquidity.d.ts +4 -0
  98. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/Badge/RangeBadge.d.ts +4 -0
  99. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/ClaimButton.d.ts +9 -0
  100. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/InRangeDot.d.ts +4 -0
  101. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/InputStepCounter.d.ts +17 -0
  102. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/LiquidityChartRangeInput/Area.d.ts +10 -0
  103. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/LiquidityChartRangeInput/AxisBottom.d.ts +6 -0
  104. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/LiquidityChartRangeInput/Brush.d.ts +13 -0
  105. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/LiquidityChartRangeInput/Chart.d.ts +2 -0
  106. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/LiquidityChartRangeInput/Line.d.ts +6 -0
  107. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/LiquidityChartRangeInput/Zoom.d.ts +12 -0
  108. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/LiquidityChartRangeInput/index.d.ts +19 -0
  109. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/LiquidityChartRangeInput/svg.d.ts +22 -0
  110. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/LiquidityChartRangeInput/types.d.ts +50 -0
  111. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/LiquidityChartRangeInput/usePrevious.d.ts +1 -0
  112. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/LiquidityChartRangeInput/utils.d.ts +14 -0
  113. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/MyLiquidity.d.ts +10 -0
  114. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/PositionManage.d.ts +8 -0
  115. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/PositionPreview.d.ts +14 -0
  116. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/PositionSelectedRangePreview.d.ts +11 -0
  117. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/RangeRatioSelect.d.ts +2 -0
  118. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/RangeSelector.d.ts +21 -0
  119. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/RateToggle.d.ts +9 -0
  120. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/RemoveButton.d.ts +12 -0
  121. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/ReviewModal.d.ts +18 -0
  122. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/TokenAndEtherscan.d.ts +4 -0
  123. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/TokenPairSelect.d.ts +7 -0
  124. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/shared.d.ts +4 -0
  125. package/dist/types/widgets/ve33/Ve33V3PoolOperate/components/widgets.d.ts +56 -0
  126. package/dist/types/widgets/ve33/Ve33V3PoolOperate/constants/misc.d.ts +17 -0
  127. package/dist/types/widgets/ve33/Ve33V3PoolOperate/hooks/useAddVe33V3Liquidity.d.ts +15 -0
  128. package/dist/types/widgets/ve33/Ve33V3PoolOperate/hooks/usePoolActiveLiquidityChartData.d.ts +37 -0
  129. package/dist/types/widgets/ve33/Ve33V3PoolOperate/hooks/usePriceRangeRatioSelect.d.ts +28 -0
  130. package/dist/types/widgets/ve33/Ve33V3PoolOperate/hooks/useRemoveVe33V3Liquidity.d.ts +14 -0
  131. package/dist/types/widgets/ve33/Ve33V3PoolOperate/hooks/useSetRange.d.ts +36 -0
  132. package/dist/types/widgets/ve33/Ve33V3PoolOperate/hooks/useVe33V3Amounts.d.ts +19 -0
  133. package/dist/types/widgets/ve33/Ve33V3PoolOperate/hooks/useVe33V3Pair.d.ts +58 -0
  134. package/dist/types/widgets/ve33/Ve33V3PoolOperate/index.d.ts +5 -0
  135. package/dist/types/widgets/ve33/Ve33V3PoolOperate/types.d.ts +10 -0
  136. package/dist/types/widgets/ve33/Ve33V3PoolOperate/utils/calldata.d.ts +7 -0
  137. package/dist/types/widgets/ve33/Ve33V3PoolOperate/utils/computeSurroundingTicks.d.ts +4 -0
  138. package/dist/types/widgets/ve33/Ve33V3PoolOperate/utils/constants.d.ts +7 -0
  139. package/dist/types/widgets/ve33/Ve33V3PoolOperate/utils/encodeSqrtRatioX96.d.ts +9 -0
  140. package/dist/types/widgets/ve33/Ve33V3PoolOperate/utils/formatTickPrice.d.ts +1 -0
  141. package/dist/types/widgets/ve33/Ve33V3PoolOperate/utils/fullMath.d.ts +8 -0
  142. package/dist/types/widgets/ve33/Ve33V3PoolOperate/utils/getPositionAmount.d.ts +39 -0
  143. package/dist/types/widgets/ve33/Ve33V3PoolOperate/utils/getPositionAmountWithSlippage.d.ts +23 -0
  144. package/dist/types/widgets/ve33/Ve33V3PoolOperate/utils/getTickToPrice.d.ts +10 -0
  145. package/dist/types/widgets/ve33/Ve33V3PoolOperate/utils/maxLiquidityForAmounts.d.ts +22 -0
  146. package/dist/types/widgets/ve33/Ve33V3PoolOperate/utils/mostSignificantBit.d.ts +2 -0
  147. package/dist/types/widgets/ve33/Ve33V3PoolOperate/utils/nearestUsableTick.d.ts +6 -0
  148. package/dist/types/widgets/ve33/Ve33V3PoolOperate/utils/slippage.d.ts +3 -0
  149. package/dist/types/widgets/ve33/Ve33V3PoolOperate/utils/sqrt.d.ts +7 -0
  150. package/dist/types/widgets/ve33/Ve33V3PoolOperate/utils/sqrtPriceMath.d.ts +13 -0
  151. package/dist/types/widgets/ve33/Ve33V3PoolOperate/utils/tickMath.d.ts +34 -0
  152. package/dist/types/widgets/ve33/Ve33V3PoolOperate/utils/tryParseTick.d.ts +4 -0
  153. package/dist/types/widgets/ve33/VotePoolList/CardList.d.ts +12 -0
  154. package/dist/types/widgets/ve33/VotePoolList/SetVotePowerDialog.d.ts +12 -0
  155. package/dist/types/widgets/ve33/VotePoolList/TableList.d.ts +12 -0
  156. package/dist/types/widgets/ve33/VotePoolList/hooks/useVoteVe33.d.ts +7 -0
  157. package/dist/types/widgets/ve33/VotePoolList/index.d.ts +1 -0
  158. package/dist/types/widgets/ve33/VotePoolList/widgets.d.ts +35 -0
  159. package/dist/types/widgets/ve33/components/GoBack.d.ts +4 -0
  160. package/dist/types/widgets/ve33/components/LockSlider.d.ts +5 -0
  161. package/dist/types/widgets/ve33/components/PoolHead.d.ts +8 -0
  162. package/dist/types/widgets/ve33/components/PoolTokenInfo.d.ts +11 -0
  163. package/dist/types/widgets/ve33/components/PoolTypeTag.d.ts +8 -0
  164. package/dist/types/widgets/ve33/components/widgets.d.ts +5 -0
  165. package/dist/types/widgets/ve33/config.d.ts +62 -0
  166. package/dist/types/widgets/ve33/constants.d.ts +21 -0
  167. package/dist/types/widgets/ve33/hooks/usePoolColors.d.ts +11 -0
  168. package/dist/types/widgets/ve33/hooks/useVe33PositionAmounts.d.ts +17 -0
  169. package/dist/types/widgets/ve33/hooks/useVe33V2ClaimEmissions.d.ts +4 -0
  170. package/dist/types/widgets/ve33/hooks/useVe33V2ClaimTradingFees.d.ts +4 -0
  171. package/dist/types/widgets/ve33/hooks/useVe33V2Stake.d.ts +5 -0
  172. package/dist/types/widgets/ve33/hooks/useVe33V2UnStake.d.ts +5 -0
  173. package/dist/types/widgets/ve33/hooks/useVe33V3ClaimEmissions.d.ts +5 -0
  174. package/dist/types/widgets/ve33/hooks/useVe33V3ClaimTradingFees.d.ts +4 -0
  175. package/dist/types/widgets/ve33/hooks/useVe33V3Stake.d.ts +5 -0
  176. package/dist/types/widgets/ve33/hooks/useVe33V3StakeApproveStatus.d.ts +17 -0
  177. package/dist/types/widgets/ve33/hooks/useVe33V3UnStake.d.ts +5 -0
  178. package/dist/types/widgets/ve33/hooks/useVotePoolFilters.d.ts +13 -0
  179. package/dist/types/widgets/ve33/hooks/useVoteTabs.d.ts +12 -0
  180. package/dist/types/widgets/ve33/types.d.ts +38 -0
  181. package/dist/types/widgets/ve33/utils.d.ts +9 -0
  182. package/package.json +10 -10
  183. package/dist/index-CHBBNnLK.cjs +0 -31
  184. package/dist/index-a6XIfxp-.js +0 -31
  185. package/dist/types/hooks/Swap/useFetchRoutePrice.test.d.ts +0 -1

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.