@dhedge/trading-widget 0.0.1 → 0.0.2

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 (312) hide show
  1. package/BPGFTGZB-348a28e3.cjs +1101 -0
  2. package/BPGFTGZB-3ace16f5.js +9284 -0
  3. package/core-kit/abi/aave-lending-pool.d.ts +846 -0
  4. package/core-kit/abi/dhedge-easy-swapper.d.ts +231 -0
  5. package/core-kit/abi/dhedge-staking-v2.d.ts +127 -0
  6. package/core-kit/abi/erc20.d.ts +1 -0
  7. package/core-kit/abi/index.d.ts +9 -0
  8. package/core-kit/abi/pool-factory.d.ts +57 -0
  9. package/core-kit/abi/pool-logic.d.ts +823 -0
  10. package/core-kit/abi/pool-manager-logic.d.ts +70 -0
  11. package/core-kit/abi/reward-distribution.d.ts +121 -0
  12. package/core-kit/abi/synthetix-v3/i-trusted-multicall-forwarder.d.ts +41 -0
  13. package/core-kit/abi/synthetix-v3/ierc-2771-context.d.ts +15 -0
  14. package/core-kit/abi/synthetix-v3/ierc-7412.d.ts +41 -0
  15. package/core-kit/abi/synthetix-v3/index.d.ts +6 -0
  16. package/core-kit/abi/synthetix-v3/synthetix-v3-asset-guard.d.ts +37 -0
  17. package/core-kit/abi/synthetix-v3/synthetix-v3-contract-guard.d.ts +45 -0
  18. package/core-kit/abi/synthetix-v3/synthetix-v3-core.d.ts +41 -0
  19. package/core-kit/const/config.d.ts +10 -0
  20. package/core-kit/const/contracts/arbitrum.d.ts +3 -0
  21. package/core-kit/const/contracts/base.d.ts +2 -0
  22. package/core-kit/const/contracts/index.d.ts +4 -0
  23. package/core-kit/const/contracts/optimism.d.ts +5 -0
  24. package/core-kit/const/contracts/polygon.d.ts +4 -0
  25. package/core-kit/const/currency.d.ts +2 -0
  26. package/core-kit/const/default-data.d.ts +23 -0
  27. package/core-kit/const/error.d.ts +4 -0
  28. package/core-kit/const/index.d.ts +11 -0
  29. package/core-kit/const/links.d.ts +1 -0
  30. package/core-kit/const/logger.d.ts +38 -0
  31. package/core-kit/const/network.d.ts +2232 -0
  32. package/core-kit/const/synthetix.d.ts +4 -0
  33. package/core-kit/const/tokens/arbitrum.d.ts +5 -0
  34. package/core-kit/const/tokens/base.d.ts +5 -0
  35. package/core-kit/const/tokens/index.d.ts +8 -0
  36. package/core-kit/const/tokens/optimism.d.ts +10 -0
  37. package/core-kit/const/tokens/polygon.d.ts +9 -0
  38. package/core-kit/const/web3.d.ts +4 -0
  39. package/core-kit/hooks/component/index.d.ts +2 -0
  40. package/core-kit/hooks/component/panel.d.ts +1 -0
  41. package/core-kit/hooks/component/tab.d.ts +2 -0
  42. package/core-kit/hooks/pool/index.d.ts +14 -0
  43. package/core-kit/hooks/pool/multicall/index.d.ts +4 -0
  44. package/core-kit/hooks/pool/multicall/use-pool-manager.dynamic.d.ts +910 -0
  45. package/core-kit/hooks/pool/multicall/use-pool-manager.static.d.ts +153 -0
  46. package/core-kit/hooks/pool/multicall/use-pool.static.d.ts +2432 -0
  47. package/core-kit/hooks/pool/multicall/use-pools.dynamic.d.ts +2489 -0
  48. package/core-kit/hooks/pool/synthetixV3/use-pool-token-price-mutable.d.ts +8 -0
  49. package/core-kit/hooks/pool/synthetixV3/use-synthetix-v3-asset-balance.d.ts +8 -0
  50. package/core-kit/hooks/pool/synthetixV3/use-total-funds-value-mutable.d.ts +8 -0
  51. package/core-kit/hooks/pool/use-check-whitelist.d.ts +2 -0
  52. package/core-kit/hooks/pool/use-contract-pool-composition.d.ts +3 -0
  53. package/core-kit/hooks/pool/use-invalidate-pool-contract-data.d.ts +1 -0
  54. package/core-kit/hooks/pool/use-is-dhedge-pool.d.ts +5 -0
  55. package/core-kit/hooks/pool/use-manager-logic-address.d.ts +2 -0
  56. package/core-kit/hooks/pool/use-pool-composition-with-fraction.d.ts +14 -0
  57. package/core-kit/hooks/pool/use-pool-composition.d.ts +3 -0
  58. package/core-kit/hooks/pool/use-pool-dynamic-contract-data.d.ts +19 -0
  59. package/core-kit/hooks/pool/use-pool-fees.d.ts +12 -0
  60. package/core-kit/hooks/pool/use-pool-manager-logic-data.d.ts +14 -0
  61. package/core-kit/hooks/pool/use-pool-token-price.d.ts +9 -0
  62. package/core-kit/hooks/referral/index.d.ts +1 -0
  63. package/core-kit/hooks/referral/use-referral-program.d.ts +2 -0
  64. package/core-kit/hooks/state/action.d.ts +23 -0
  65. package/core-kit/hooks/state/context.d.ts +2 -0
  66. package/core-kit/hooks/state/index.d.ts +9 -0
  67. package/core-kit/hooks/state/input.d.ts +13 -0
  68. package/core-kit/hooks/state/meta.d.ts +8 -0
  69. package/core-kit/hooks/state/modal.d.ts +5 -0
  70. package/core-kit/hooks/state/pool.d.ts +16 -0
  71. package/core-kit/hooks/state/settings.d.ts +5 -0
  72. package/core-kit/hooks/state/transaction.d.ts +5 -0
  73. package/core-kit/hooks/state/type.d.ts +6 -0
  74. package/core-kit/hooks/trading/allowance/index.d.ts +3 -0
  75. package/core-kit/hooks/trading/allowance/use-approve.d.ts +9 -0
  76. package/core-kit/hooks/trading/allowance/use-can-spend.d.ts +11 -0
  77. package/core-kit/hooks/trading/allowance/use-token-allowance-handler.d.ts +1 -0
  78. package/core-kit/hooks/trading/deposit/index.d.ts +9 -0
  79. package/core-kit/hooks/trading/deposit/use-deposit-allowance.d.ts +4 -0
  80. package/core-kit/hooks/trading/deposit/use-deposit-method-handler.d.ts +2 -0
  81. package/core-kit/hooks/trading/deposit/use-deposit-quote.d.ts +2 -0
  82. package/core-kit/hooks/trading/deposit/use-deposit-slippage.d.ts +1 -0
  83. package/core-kit/hooks/trading/deposit/use-deposit.d.ts +2 -0
  84. package/core-kit/hooks/trading/deposit/use-handle-pool-deposit-data.d.ts +1 -0
  85. package/core-kit/hooks/trading/deposit/use-pool-deposit-asset-address.d.ts +9 -0
  86. package/core-kit/hooks/trading/deposit/use-pool-deposit-tokens.d.ts +2 -0
  87. package/core-kit/hooks/trading/deposit/use-should-be-whitelisted.d.ts +4 -0
  88. package/core-kit/hooks/trading/index.d.ts +15 -0
  89. package/core-kit/hooks/trading/projected-earnings/use-deposit-projected-earnings.d.ts +2 -0
  90. package/core-kit/hooks/trading/projected-earnings/use-projected-earnings-core.d.ts +10 -0
  91. package/core-kit/hooks/trading/use-asset-price.d.ts +8 -0
  92. package/core-kit/hooks/trading/use-exchange-rate.d.ts +5 -0
  93. package/core-kit/hooks/trading/use-handle-pool-swap-info.d.ts +1 -0
  94. package/core-kit/hooks/trading/use-handle-trade.d.ts +6 -0
  95. package/core-kit/hooks/trading/use-is-easy-swapper-trading.d.ts +1 -0
  96. package/core-kit/hooks/trading/use-is-trading-enabled.d.ts +1 -0
  97. package/core-kit/hooks/trading/use-max-slippage-placeholder.d.ts +1 -0
  98. package/core-kit/hooks/trading/use-min-receive-text.d.ts +4 -0
  99. package/core-kit/hooks/trading/use-raw-asset-price.d.ts +8 -0
  100. package/core-kit/hooks/trading/use-synthetix-v3-oracles-update.d.ts +10 -0
  101. package/core-kit/hooks/trading/use-trading-params.d.ts +2 -0
  102. package/core-kit/hooks/trading/use-trading-price-diff.d.ts +8 -0
  103. package/core-kit/hooks/trading/use-trading-result-handling.d.ts +1 -0
  104. package/core-kit/hooks/trading/use-trading-settle-handler.d.ts +3 -0
  105. package/core-kit/hooks/trading/withdraw/index.d.ts +6 -0
  106. package/core-kit/hooks/trading/withdraw/use-is-multi-asset-withdraw.d.ts +1 -0
  107. package/core-kit/hooks/trading/withdraw/use-withdraw-allowance.d.ts +4 -0
  108. package/core-kit/hooks/trading/withdraw/use-withdraw-quote.d.ts +2 -0
  109. package/core-kit/hooks/trading/withdraw/use-withdraw-slippage.d.ts +9 -0
  110. package/core-kit/hooks/trading/withdraw/use-withdraw-type-handler.d.ts +1 -0
  111. package/core-kit/hooks/trading/withdraw/use-withdraw.d.ts +2 -0
  112. package/core-kit/hooks/user/index.d.ts +3 -0
  113. package/core-kit/hooks/user/use-is-insufficient-balance.d.ts +1 -0
  114. package/core-kit/hooks/user/use-is-pool-manager-account.d.ts +1 -0
  115. package/core-kit/hooks/user/use-user-token-balance.d.ts +8 -0
  116. package/core-kit/hooks/utils/index.d.ts +2 -0
  117. package/core-kit/hooks/utils/use-browser-storage.d.ts +1 -0
  118. package/core-kit/hooks/utils/use-debounce.d.ts +1 -0
  119. package/core-kit/hooks/web3/index.d.ts +13 -0
  120. package/core-kit/hooks/web3/use-account.d.ts +7 -0
  121. package/core-kit/hooks/web3/use-balance.d.ts +2 -0
  122. package/core-kit/hooks/web3/use-contract-function.d.ts +17 -0
  123. package/core-kit/hooks/web3/use-contract-read-error-logging.d.ts +6 -0
  124. package/core-kit/hooks/web3/use-contract-reads-error-logging.d.ts +5 -0
  125. package/core-kit/hooks/web3/use-gas-price.d.ts +2 -0
  126. package/core-kit/hooks/web3/use-invalidate-on-block.d.ts +6 -0
  127. package/core-kit/hooks/web3/use-invalidate-trading-queries.d.ts +4 -0
  128. package/core-kit/hooks/web3/use-is-wallet-connected.d.ts +1 -0
  129. package/core-kit/hooks/web3/use-network.d.ts +13 -0
  130. package/core-kit/hooks/web3/use-static-call-query.d.ts +12 -0
  131. package/core-kit/hooks/web3/use-token-allowance.d.ts +3 -0
  132. package/core-kit/index.d.ts +1 -0
  133. package/core-kit/models/buying-with-easyswapper-args.d.ts +18 -0
  134. package/core-kit/models/buying-with-native-asset-args.d.ts +16 -0
  135. package/core-kit/models/buying-with-pool-logic-args.d.ts +14 -0
  136. package/core-kit/models/default-selling-params.d.ts +18 -0
  137. package/core-kit/models/estimation-error.d.ts +20 -0
  138. package/core-kit/models/index.d.ts +5 -0
  139. package/core-kit/providers/index.d.ts +6 -0
  140. package/core-kit/providers/wagmi-provider.d.ts +2 -0
  141. package/core-kit/types/config.types.d.ts +29 -0
  142. package/core-kit/types/index.d.ts +8 -0
  143. package/core-kit/types/pool.types.d.ts +16 -0
  144. package/core-kit/types/referral.types.d.ts +12 -0
  145. package/core-kit/types/state.types.d.ts +113 -0
  146. package/core-kit/types/synthetix-v3.types.d.ts +9 -0
  147. package/core-kit/types/trading-panel.types.d.ts +49 -0
  148. package/core-kit/types/trading.types.d.ts +21 -0
  149. package/core-kit/types/web3.types.d.ts +51 -0
  150. package/core-kit/utils/error.d.ts +10 -0
  151. package/core-kit/utils/formatter.d.ts +16 -0
  152. package/core-kit/utils/index.d.ts +9 -0
  153. package/core-kit/utils/number.d.ts +8 -0
  154. package/core-kit/utils/synthetix-v3/eip-7412.d.ts +10 -0
  155. package/core-kit/utils/synthetix-v3/multicall-forwarder-batcher.d.ts +8 -0
  156. package/core-kit/utils/synthetix-v3/parse-error.d.ts +3 -0
  157. package/core-kit/utils/synthetix-v3/pyth-adapter.d.ts +12 -0
  158. package/core-kit/utils/synthetix.d.ts +10 -0
  159. package/core-kit/utils/token.d.ts +4 -0
  160. package/core-kit/utils/transaction.d.ts +4 -0
  161. package/core-kit/utils/ua.d.ts +1 -0
  162. package/core-kit/utils/url.d.ts +3 -0
  163. package/core-kit/utils/web3.d.ts +11 -0
  164. package/index-09acee2a.js +42963 -0
  165. package/index-d35b75f0.cjs +227 -0
  166. package/index.cjs +1 -0
  167. package/index.d.ts +18 -1
  168. package/index.js +264 -337
  169. package/package.json +19 -11
  170. package/style.css +1 -1
  171. package/{components → trading-widget/components}/common/badge/token-badge/token-badge.d.ts +1 -1
  172. package/{components → trading-widget/components}/common/icon/token-icon/token-icon.d.ts +1 -1
  173. package/trading-widget/components/common/layout/overlay/overlay.d.ts +7 -0
  174. package/{components → trading-widget/components}/common/meta/transaction-disclosure/transaction-disclosure-item/transaction-disclosure-item.d.ts +1 -1
  175. package/{components → trading-widget/components}/common/meta/transaction-disclosure/transaction-disclosure.d.ts +1 -1
  176. package/{components → trading-widget/components}/common/spinner/spinner.d.ts +1 -1
  177. package/{components → trading-widget/components}/common/tab/tab-button/tab-button.d.ts +1 -1
  178. package/trading-widget/components/default-examples/image/image.d.ts +3 -0
  179. package/trading-widget/components/deposit/button/trade-button/trade-button.hooks.d.ts +5 -0
  180. package/{components → trading-widget/components}/deposit/input-group/input-group.hooks.d.ts +1 -1
  181. package/{components → trading-widget/components}/deposit/meta/transaction-disclosure/transaction-disclosure.hooks.d.ts +2 -2
  182. package/{components → trading-widget/components}/index.d.ts +1 -1
  183. package/{components → trading-widget/components}/widget/widget-input/asset-composition-table/asset-composition-table.hooks.d.ts +2 -2
  184. package/{components → trading-widget/components}/widget/widget-input/token-selector/token-selector.d.ts +1 -1
  185. package/{components → trading-widget/components}/widget/widget-input/widget-input.hooks.d.ts +1 -1
  186. package/trading-widget/components/widget/widget-overlay/high-slippage-overlay/high-slippage-overlay.d.ts +3 -0
  187. package/trading-widget/components/widget/widget-overlay/index.d.ts +4 -0
  188. package/trading-widget/components/widget/widget-overlay/overlay-switch/overlay-switch.d.ts +2 -0
  189. package/trading-widget/components/widget/widget-overlay/terms-of-use-overlay/terms-of-use-overlay.d.ts +3 -0
  190. package/{components → trading-widget/components}/widget/widget-settings/slippage-selector/slippage-selector.hooks.d.ts +1 -1
  191. package/{components → trading-widget/components}/widget/widget-settings/widget-settings.d.ts +1 -1
  192. package/{components → trading-widget/components}/widget/widget.hooks.d.ts +1 -1
  193. package/{components → trading-widget/components}/withdraw/button/valid-withdraw-button/valid-withdraw-button.hooks.d.ts +1 -1
  194. package/{components → trading-widget/components}/withdraw/input-group/input-group.hooks.d.ts +1 -1
  195. package/{components → trading-widget/components}/withdraw/meta/transaction-disclosure/transaction-disclosure.hooks.d.ts +1 -1
  196. package/{constants → trading-widget/constants}/synthetix-v3.d.ts +1 -1
  197. package/{hooks → trading-widget/hooks}/use-get-slippage-placeholder.d.ts +1 -1
  198. package/{hooks → trading-widget/hooks}/use-get-theme-type-by-slippage.d.ts +1 -1
  199. package/{hooks → trading-widget/hooks}/use-trading-type-name.d.ts +1 -1
  200. package/{hooks → trading-widget/hooks}/use-user-staked-pools.d.ts +1 -1
  201. package/trading-widget/hooks/use-user-vault-balance.d.ts +3 -0
  202. package/{hooks → trading-widget/hooks}/use-user-vaults-balances.d.ts +1 -1
  203. package/{providers → trading-widget/providers}/component-provider/component-provider.d.ts +1 -0
  204. package/{providers → trading-widget/providers}/component-provider/component-provider.hooks.d.ts +1 -0
  205. package/{providers → trading-widget/providers}/component-provider/component-provider.types.d.ts +2 -0
  206. package/{providers → trading-widget/providers}/config-provider/config-provider.types.d.ts +3 -1
  207. package/trading-widget/providers/overlay-provider/index.d.ts +2 -0
  208. package/trading-widget/providers/overlay-provider/overlay-provider.d.ts +2 -0
  209. package/trading-widget/providers/overlay-provider/overlay-provider.hooks.d.ts +12 -0
  210. package/trading-widget/providers/overlay-provider/overlay-provider.types.d.ts +12 -0
  211. package/{providers → trading-widget/providers}/theme-provider/theme-provider.types.d.ts +3 -3
  212. package/{providers → trading-widget/providers}/translation-provider/translation-provider.types.d.ts +14 -0
  213. package/{types → trading-widget/types}/index.d.ts +1 -0
  214. package/trading-widget/types/overlay.types.d.ts +8 -0
  215. package/{types → trading-widget/types}/staking.types.d.ts +1 -1
  216. package/{utils → trading-widget/utils}/format.d.ts +1 -1
  217. package/{utils → trading-widget/utils}/synthetix-v3.d.ts +3 -3
  218. package/components/common/layout/overlay/overlay.d.ts +0 -2
  219. package/components/default-examples/image/image.d.ts +0 -3
  220. package/components/widget/widget-overlay/index.d.ts +0 -1
  221. package/hooks/use-user-vault-balance.d.ts +0 -3
  222. package/index.mjs +0 -54443
  223. package/native-15074a2a.mjs +0 -15
  224. package/native-243c3d4c.js +0 -1
  225. /package/{components → trading-widget/components}/common/balance/balance.d.ts +0 -0
  226. /package/{components → trading-widget/components}/common/button/action-button/action-button.d.ts +0 -0
  227. /package/{components → trading-widget/components}/common/button/disabled-button-with-prompt/disabled-button-with-prompt.d.ts +0 -0
  228. /package/{components → trading-widget/components}/common/button/icon-button/icon-button.d.ts +0 -0
  229. /package/{components → trading-widget/components}/common/button/max-balance-button/max-balance-button.d.ts +0 -0
  230. /package/{components → trading-widget/components}/common/index.d.ts +0 -0
  231. /package/{components → trading-widget/components}/common/layout/balance/balance.d.ts +0 -0
  232. /package/{components → trading-widget/components}/common/layout/index.d.ts +0 -0
  233. /package/{components → trading-widget/components}/common/layout/input-group/input-group.d.ts +0 -0
  234. /package/{components → trading-widget/components}/common/layout/meta/meta.d.ts +0 -0
  235. /package/{components → trading-widget/components}/common/layout/panel/panel.d.ts +0 -0
  236. /package/{components → trading-widget/components}/common/layout/settings/settings-popover/settings-popover.d.ts +0 -0
  237. /package/{components → trading-widget/components}/common/layout/settings/settings.d.ts +0 -0
  238. /package/{components → trading-widget/components}/common/overlay/pending-overlay/pending-overlay.d.ts +0 -0
  239. /package/{components → trading-widget/components}/common/settings/settings-option/settings-option.d.ts +0 -0
  240. /package/{components → trading-widget/components}/common/skeleton/skeleton.d.ts +0 -0
  241. /package/{components → trading-widget/components}/common/switch/switch.d.ts +0 -0
  242. /package/{components → trading-widget/components}/common/tooltip/info-tooltip/info-tooltip.d.ts +0 -0
  243. /package/{components → trading-widget/components}/common/tooltip/tooltip-icon/tooltip-icon.d.ts +0 -0
  244. /package/{components → trading-widget/components}/common/tooltip/tooltip-wrapper/tooltip-wrapper.d.ts +0 -0
  245. /package/{components → trading-widget/components}/deposit/balance/balance.d.ts +0 -0
  246. /package/{components → trading-widget/components}/deposit/balance/balance.hooks.d.ts +0 -0
  247. /package/{components → trading-widget/components}/deposit/button/trade-button/trade-button.d.ts +0 -0
  248. /package/{components → trading-widget/components}/deposit/button/valid-deposit-button/valid-deposit-button.d.ts +0 -0
  249. /package/{components → trading-widget/components}/deposit/button/valid-deposit-button/valid-deposit-button.hooks.d.ts +0 -0
  250. /package/{components → trading-widget/components}/deposit/index.d.ts +0 -0
  251. /package/{components → trading-widget/components}/deposit/input-group/input-group.d.ts +0 -0
  252. /package/{components → trading-widget/components}/deposit/meta/meta.d.ts +0 -0
  253. /package/{components → trading-widget/components}/deposit/meta/transaction-disclosure/transaction-disclosure.d.ts +0 -0
  254. /package/{components → trading-widget/components}/deposit/settings/deposit-fee-switch/deposit-fee-switch.d.ts +0 -0
  255. /package/{components → trading-widget/components}/deposit/settings/deposit-fee-switch/deposit-fee-switch.hooks.d.ts +0 -0
  256. /package/{components → trading-widget/components}/deposit/settings/deposit-settings/deposit-settings.d.ts +0 -0
  257. /package/{components → trading-widget/components}/deposit/settings/deposit-settings/deposit-settings.hooks.d.ts +0 -0
  258. /package/{components → trading-widget/components}/deposit/tab-panel/tab-panel.d.ts +0 -0
  259. /package/{components → trading-widget/components}/deposit/tab-panel/tab-panel.hooks.d.ts +0 -0
  260. /package/{components → trading-widget/components}/widget/widget-buttons/approve-button/approve-button.d.ts +0 -0
  261. /package/{components → trading-widget/components}/widget/widget-buttons/approve-button/approve-button.hooks.d.ts +0 -0
  262. /package/{components → trading-widget/components}/widget/widget-buttons/connect-wallet-button/connect-wallet-button.d.ts +0 -0
  263. /package/{components → trading-widget/components}/widget/widget-buttons/index.d.ts +0 -0
  264. /package/{components → trading-widget/components}/widget/widget-buttons/switch-network-button/switch-network-button.d.ts +0 -0
  265. /package/{components → trading-widget/components}/widget/widget-buttons/valid-network-button/valid-network-button.d.ts +0 -0
  266. /package/{components → trading-widget/components}/widget/widget-buttons/valid-network-button/valid-network-button.hooks.d.ts +0 -0
  267. /package/{components → trading-widget/components}/widget/widget-input/asset-composition-table/asset-composition-table.d.ts +0 -0
  268. /package/{components → trading-widget/components}/widget/widget-input/index.d.ts +0 -0
  269. /package/{components → trading-widget/components}/widget/widget-input/token-selector/token-selector.hooks.d.ts +0 -0
  270. /package/{components → trading-widget/components}/widget/widget-input/widget-input.d.ts +0 -0
  271. /package/{components → trading-widget/components}/widget/widget-input/widget-input.utils.d.ts +0 -0
  272. /package/{components → trading-widget/components}/widget/widget-meta/exchange-rate/exchange-rate.d.ts +0 -0
  273. /package/{components → trading-widget/components}/widget/widget-meta/index.d.ts +0 -0
  274. /package/{components → trading-widget/components}/widget/widget-overlay/pending-approval-overlay/pending-approval-overlay.d.ts +0 -0
  275. /package/{components → trading-widget/components}/widget/widget-overlay/pending-approval-overlay/pending-approval-overlay.hooks.d.ts +0 -0
  276. /package/{components → trading-widget/components}/widget/widget-settings/index.d.ts +0 -0
  277. /package/{components → trading-widget/components}/widget/widget-settings/slippage-selector/slippage-selector.d.ts +0 -0
  278. /package/{components → trading-widget/components}/widget/widget-settings/token-allowance-switch/token-allowance-switch.d.ts +0 -0
  279. /package/{components → trading-widget/components}/widget/widget-tabs/widget-tabs.d.ts +0 -0
  280. /package/{components → trading-widget/components}/widget/widget.d.ts +0 -0
  281. /package/{components → trading-widget/components}/withdraw/balance/balance.d.ts +0 -0
  282. /package/{components → trading-widget/components}/withdraw/balance/balance.hooks.d.ts +0 -0
  283. /package/{components → trading-widget/components}/withdraw/button/trade-button/trade-button.d.ts +0 -0
  284. /package/{components → trading-widget/components}/withdraw/button/valid-withdraw-button/valid-withdraw-button.d.ts +0 -0
  285. /package/{components → trading-widget/components}/withdraw/index.d.ts +0 -0
  286. /package/{components → trading-widget/components}/withdraw/input-group/input-group.d.ts +0 -0
  287. /package/{components → trading-widget/components}/withdraw/meta/meta.d.ts +0 -0
  288. /package/{components → trading-widget/components}/withdraw/meta/transaction-disclosure/transaction-disclosure.d.ts +0 -0
  289. /package/{components → trading-widget/components}/withdraw/settings/withdraw-settings/withdraw-settings.d.ts +0 -0
  290. /package/{components → trading-widget/components}/withdraw/tab-panel/tab-panel.d.ts +0 -0
  291. /package/{components → trading-widget/components}/withdraw/tab-panel/tab-panel.hooks.d.ts +0 -0
  292. /package/{constants → trading-widget/constants}/tab.d.ts +0 -0
  293. /package/{hooks → trading-widget/hooks}/index.d.ts +0 -0
  294. /package/{hooks → trading-widget/hooks}/use-crypto-icon.d.ts +0 -0
  295. /package/{hooks → trading-widget/hooks}/use-high-slippage-check.d.ts +0 -0
  296. /package/{hooks → trading-widget/hooks}/use-synthetix-withdrawal-window.d.ts +0 -0
  297. /package/{providers → trading-widget/providers}/component-provider/index.d.ts +0 -0
  298. /package/{providers → trading-widget/providers}/config-provider/config-provider.d.ts +0 -0
  299. /package/{providers → trading-widget/providers}/config-provider/config-provider.defaults.d.ts +0 -0
  300. /package/{providers → trading-widget/providers}/config-provider/config-provider.hooks.d.ts +0 -0
  301. /package/{providers → trading-widget/providers}/config-provider/index.d.ts +0 -0
  302. /package/{providers → trading-widget/providers}/index.d.ts +0 -0
  303. /package/{providers → trading-widget/providers}/theme-provider/index.d.ts +0 -0
  304. /package/{providers → trading-widget/providers}/theme-provider/theme-provider.d.ts +0 -0
  305. /package/{providers → trading-widget/providers}/translation-provider/index.d.ts +0 -0
  306. /package/{providers → trading-widget/providers}/translation-provider/translation-provider.d.ts +0 -0
  307. /package/{providers → trading-widget/providers}/translation-provider/translation-provider.defaults.d.ts +0 -0
  308. /package/{providers → trading-widget/providers}/translation-provider/translation-provider.hooks.d.ts +0 -0
  309. /package/{types → trading-widget/types}/balance.types.d.ts +0 -0
  310. /package/{types → trading-widget/types}/synthetix-v3.types.d.ts +0 -0
  311. /package/{types → trading-widget/types}/theme.types.d.ts +0 -0
  312. /package/{utils → trading-widget/utils}/icon.d.ts +0 -0
@@ -0,0 +1,910 @@
1
+ import type { PoolContractCallParams } from 'core-kit/types';
2
+ export declare const usePoolManagerDynamic: ({ address, chainId, }: PoolContractCallParams) => import("wagmi").UseReadContractsReturnType<readonly [{
3
+ readonly address: `0x${string}`;
4
+ readonly abi: readonly [{
5
+ readonly inputs: readonly [];
6
+ readonly name: "getFundComposition";
7
+ readonly outputs: readonly [{
8
+ readonly components: readonly [{
9
+ readonly internalType: "address";
10
+ readonly name: "asset";
11
+ readonly type: "address";
12
+ }, {
13
+ readonly internalType: "bool";
14
+ readonly name: "isDeposit";
15
+ readonly type: "bool";
16
+ }];
17
+ readonly internalType: "struct IHasSupportedAsset.Asset[]";
18
+ readonly name: "assets";
19
+ readonly type: "tuple[]";
20
+ }, {
21
+ readonly internalType: "uint256[]";
22
+ readonly name: "balances";
23
+ readonly type: "uint256[]";
24
+ }, {
25
+ readonly internalType: "uint256[]";
26
+ readonly name: "rates";
27
+ readonly type: "uint256[]";
28
+ }];
29
+ readonly stateMutability: "view";
30
+ readonly type: "function";
31
+ }, {
32
+ readonly inputs: readonly [];
33
+ readonly name: "getFeeIncreaseInfo";
34
+ readonly outputs: readonly [{
35
+ readonly internalType: "uint256";
36
+ readonly name: "";
37
+ readonly type: "uint256";
38
+ }, {
39
+ readonly internalType: "uint256";
40
+ readonly name: "";
41
+ readonly type: "uint256";
42
+ }, {
43
+ readonly internalType: "uint256";
44
+ readonly name: "";
45
+ readonly type: "uint256";
46
+ }, {
47
+ readonly internalType: "uint256";
48
+ readonly name: "";
49
+ readonly type: "uint256";
50
+ }];
51
+ readonly stateMutability: "view";
52
+ readonly type: "function";
53
+ }, {
54
+ readonly inputs: readonly [];
55
+ readonly name: "minDepositUSD";
56
+ readonly outputs: readonly [{
57
+ readonly internalType: "uint256";
58
+ readonly name: "";
59
+ readonly type: "uint256";
60
+ }];
61
+ readonly stateMutability: "view";
62
+ readonly type: "function";
63
+ }, {
64
+ readonly inputs: readonly [];
65
+ readonly name: "totalFundValueMutable";
66
+ readonly outputs: readonly [{
67
+ readonly internalType: "uint256";
68
+ readonly name: "";
69
+ readonly type: "uint256";
70
+ }];
71
+ readonly stateMutability: "nonpayable";
72
+ readonly type: "function";
73
+ }];
74
+ readonly functionName: "getFundComposition";
75
+ readonly chainId: number;
76
+ }, {
77
+ readonly address: `0x${string}`;
78
+ readonly abi: readonly [{
79
+ readonly anonymous: false;
80
+ readonly inputs: readonly [{
81
+ readonly indexed: true;
82
+ readonly internalType: "address";
83
+ readonly name: "owner";
84
+ readonly type: "address";
85
+ }, {
86
+ readonly indexed: true;
87
+ readonly internalType: "address";
88
+ readonly name: "spender";
89
+ readonly type: "address";
90
+ }, {
91
+ readonly indexed: false;
92
+ readonly internalType: "uint256";
93
+ readonly name: "value";
94
+ readonly type: "uint256";
95
+ }];
96
+ readonly name: "Approval";
97
+ readonly type: "event";
98
+ }, {
99
+ readonly anonymous: false;
100
+ readonly inputs: readonly [{
101
+ readonly indexed: false;
102
+ readonly internalType: "address";
103
+ readonly name: "fundAddress";
104
+ readonly type: "address";
105
+ }, {
106
+ readonly indexed: false;
107
+ readonly internalType: "address";
108
+ readonly name: "investor";
109
+ readonly type: "address";
110
+ }, {
111
+ readonly indexed: false;
112
+ readonly internalType: "address";
113
+ readonly name: "assetDeposited";
114
+ readonly type: "address";
115
+ }, {
116
+ readonly indexed: false;
117
+ readonly internalType: "uint256";
118
+ readonly name: "amountDeposited";
119
+ readonly type: "uint256";
120
+ }, {
121
+ readonly indexed: false;
122
+ readonly internalType: "uint256";
123
+ readonly name: "valueDeposited";
124
+ readonly type: "uint256";
125
+ }, {
126
+ readonly indexed: false;
127
+ readonly internalType: "uint256";
128
+ readonly name: "fundTokensReceived";
129
+ readonly type: "uint256";
130
+ }, {
131
+ readonly indexed: false;
132
+ readonly internalType: "uint256";
133
+ readonly name: "totalInvestorFundTokens";
134
+ readonly type: "uint256";
135
+ }, {
136
+ readonly indexed: false;
137
+ readonly internalType: "uint256";
138
+ readonly name: "fundValue";
139
+ readonly type: "uint256";
140
+ }, {
141
+ readonly indexed: false;
142
+ readonly internalType: "uint256";
143
+ readonly name: "totalSupply";
144
+ readonly type: "uint256";
145
+ }, {
146
+ readonly indexed: false;
147
+ readonly internalType: "uint256";
148
+ readonly name: "time";
149
+ readonly type: "uint256";
150
+ }];
151
+ readonly name: "Deposit";
152
+ readonly type: "event";
153
+ }, {
154
+ readonly anonymous: false;
155
+ readonly inputs: readonly [{
156
+ readonly indexed: false;
157
+ readonly internalType: "address";
158
+ readonly name: "pool";
159
+ readonly type: "address";
160
+ }, {
161
+ readonly indexed: false;
162
+ readonly internalType: "address";
163
+ readonly name: "manager";
164
+ readonly type: "address";
165
+ }, {
166
+ readonly indexed: false;
167
+ readonly internalType: "uint256";
168
+ readonly name: "available";
169
+ readonly type: "uint256";
170
+ }, {
171
+ readonly indexed: false;
172
+ readonly internalType: "uint256";
173
+ readonly name: "daoFee";
174
+ readonly type: "uint256";
175
+ }, {
176
+ readonly indexed: false;
177
+ readonly internalType: "uint256";
178
+ readonly name: "managerFee";
179
+ readonly type: "uint256";
180
+ }, {
181
+ readonly indexed: false;
182
+ readonly internalType: "uint256";
183
+ readonly name: "tokenPriceAtLastFeeMint";
184
+ readonly type: "uint256";
185
+ }];
186
+ readonly name: "ManagerFeeMinted";
187
+ readonly type: "event";
188
+ }, {
189
+ readonly anonymous: false;
190
+ readonly inputs: readonly [{
191
+ readonly indexed: false;
192
+ readonly internalType: "address";
193
+ readonly name: "poolManagerLogic";
194
+ readonly type: "address";
195
+ }, {
196
+ readonly indexed: false;
197
+ readonly internalType: "address";
198
+ readonly name: "from";
199
+ readonly type: "address";
200
+ }];
201
+ readonly name: "PoolManagerLogicSet";
202
+ readonly type: "event";
203
+ }, {
204
+ readonly anonymous: false;
205
+ readonly inputs: readonly [{
206
+ readonly indexed: false;
207
+ readonly internalType: "bool";
208
+ readonly name: "isPoolPrivate";
209
+ readonly type: "bool";
210
+ }];
211
+ readonly name: "PoolPrivacyUpdated";
212
+ readonly type: "event";
213
+ }, {
214
+ readonly anonymous: false;
215
+ readonly inputs: readonly [{
216
+ readonly indexed: false;
217
+ readonly internalType: "address";
218
+ readonly name: "pool";
219
+ readonly type: "address";
220
+ }, {
221
+ readonly indexed: false;
222
+ readonly internalType: "address";
223
+ readonly name: "manager";
224
+ readonly type: "address";
225
+ }, {
226
+ readonly indexed: false;
227
+ readonly internalType: "uint16";
228
+ readonly name: "transactionType";
229
+ readonly type: "uint16";
230
+ }, {
231
+ readonly indexed: false;
232
+ readonly internalType: "uint256";
233
+ readonly name: "time";
234
+ readonly type: "uint256";
235
+ }];
236
+ readonly name: "TransactionExecuted";
237
+ readonly type: "event";
238
+ }, {
239
+ readonly anonymous: false;
240
+ readonly inputs: readonly [{
241
+ readonly indexed: true;
242
+ readonly internalType: "address";
243
+ readonly name: "from";
244
+ readonly type: "address";
245
+ }, {
246
+ readonly indexed: true;
247
+ readonly internalType: "address";
248
+ readonly name: "to";
249
+ readonly type: "address";
250
+ }, {
251
+ readonly indexed: false;
252
+ readonly internalType: "uint256";
253
+ readonly name: "value";
254
+ readonly type: "uint256";
255
+ }];
256
+ readonly name: "Transfer";
257
+ readonly type: "event";
258
+ }, {
259
+ readonly anonymous: false;
260
+ readonly inputs: readonly [{
261
+ readonly indexed: false;
262
+ readonly internalType: "address";
263
+ readonly name: "fundAddress";
264
+ readonly type: "address";
265
+ }, {
266
+ readonly indexed: false;
267
+ readonly internalType: "address";
268
+ readonly name: "investor";
269
+ readonly type: "address";
270
+ }, {
271
+ readonly indexed: false;
272
+ readonly internalType: "uint256";
273
+ readonly name: "valueWithdrawn";
274
+ readonly type: "uint256";
275
+ }, {
276
+ readonly indexed: false;
277
+ readonly internalType: "uint256";
278
+ readonly name: "fundTokensWithdrawn";
279
+ readonly type: "uint256";
280
+ }, {
281
+ readonly indexed: false;
282
+ readonly internalType: "uint256";
283
+ readonly name: "totalInvestorFundTokens";
284
+ readonly type: "uint256";
285
+ }, {
286
+ readonly indexed: false;
287
+ readonly internalType: "uint256";
288
+ readonly name: "fundValue";
289
+ readonly type: "uint256";
290
+ }, {
291
+ readonly indexed: false;
292
+ readonly internalType: "uint256";
293
+ readonly name: "totalSupply";
294
+ readonly type: "uint256";
295
+ }, {
296
+ readonly components: readonly [{
297
+ readonly internalType: "address";
298
+ readonly name: "asset";
299
+ readonly type: "address";
300
+ }, {
301
+ readonly internalType: "uint256";
302
+ readonly name: "amount";
303
+ readonly type: "uint256";
304
+ }, {
305
+ readonly internalType: "bool";
306
+ readonly name: "externalWithdrawProcessed";
307
+ readonly type: "bool";
308
+ }];
309
+ readonly indexed: false;
310
+ readonly internalType: "struct PoolLogic.WithdrawnAsset[]";
311
+ readonly name: "withdrawnAssets";
312
+ readonly type: "tuple[]";
313
+ }, {
314
+ readonly indexed: false;
315
+ readonly internalType: "uint256";
316
+ readonly name: "time";
317
+ readonly type: "uint256";
318
+ }];
319
+ readonly name: "Withdrawal";
320
+ readonly type: "event";
321
+ }, {
322
+ readonly inputs: readonly [{
323
+ readonly internalType: "address";
324
+ readonly name: "owner";
325
+ readonly type: "address";
326
+ }, {
327
+ readonly internalType: "address";
328
+ readonly name: "spender";
329
+ readonly type: "address";
330
+ }];
331
+ readonly name: "allowance";
332
+ readonly outputs: readonly [{
333
+ readonly internalType: "uint256";
334
+ readonly name: "";
335
+ readonly type: "uint256";
336
+ }];
337
+ readonly stateMutability: "view";
338
+ readonly type: "function";
339
+ }, {
340
+ readonly inputs: readonly [{
341
+ readonly internalType: "address";
342
+ readonly name: "spender";
343
+ readonly type: "address";
344
+ }, {
345
+ readonly internalType: "uint256";
346
+ readonly name: "amount";
347
+ readonly type: "uint256";
348
+ }];
349
+ readonly name: "approve";
350
+ readonly outputs: readonly [{
351
+ readonly internalType: "bool";
352
+ readonly name: "";
353
+ readonly type: "bool";
354
+ }];
355
+ readonly stateMutability: "nonpayable";
356
+ readonly type: "function";
357
+ }, {
358
+ readonly inputs: readonly [];
359
+ readonly name: "availableManagerFee";
360
+ readonly outputs: readonly [{
361
+ readonly internalType: "uint256";
362
+ readonly name: "fee";
363
+ readonly type: "uint256";
364
+ }];
365
+ readonly stateMutability: "view";
366
+ readonly type: "function";
367
+ }, {
368
+ readonly inputs: readonly [];
369
+ readonly name: "availableManagerFeeAndTotalFundValue";
370
+ readonly outputs: readonly [{
371
+ readonly internalType: "uint256";
372
+ readonly name: "fee";
373
+ readonly type: "uint256";
374
+ }, {
375
+ readonly internalType: "uint256";
376
+ readonly name: "fundValue";
377
+ readonly type: "uint256";
378
+ }];
379
+ readonly stateMutability: "view";
380
+ readonly type: "function";
381
+ }, {
382
+ readonly inputs: readonly [{
383
+ readonly internalType: "address";
384
+ readonly name: "account";
385
+ readonly type: "address";
386
+ }];
387
+ readonly name: "balanceOf";
388
+ readonly outputs: readonly [{
389
+ readonly internalType: "uint256";
390
+ readonly name: "";
391
+ readonly type: "uint256";
392
+ }];
393
+ readonly stateMutability: "view";
394
+ readonly type: "function";
395
+ }, {
396
+ readonly inputs: readonly [];
397
+ readonly name: "creationTime";
398
+ readonly outputs: readonly [{
399
+ readonly internalType: "uint256";
400
+ readonly name: "";
401
+ readonly type: "uint256";
402
+ }];
403
+ readonly stateMutability: "view";
404
+ readonly type: "function";
405
+ }, {
406
+ readonly inputs: readonly [];
407
+ readonly name: "creator";
408
+ readonly outputs: readonly [{
409
+ readonly internalType: "address";
410
+ readonly name: "";
411
+ readonly type: "address";
412
+ }];
413
+ readonly stateMutability: "view";
414
+ readonly type: "function";
415
+ }, {
416
+ readonly inputs: readonly [];
417
+ readonly name: "decimals";
418
+ readonly outputs: readonly [{
419
+ readonly internalType: "uint8";
420
+ readonly name: "";
421
+ readonly type: "uint8";
422
+ }];
423
+ readonly stateMutability: "view";
424
+ readonly type: "function";
425
+ }, {
426
+ readonly inputs: readonly [{
427
+ readonly internalType: "address";
428
+ readonly name: "spender";
429
+ readonly type: "address";
430
+ }, {
431
+ readonly internalType: "uint256";
432
+ readonly name: "subtractedValue";
433
+ readonly type: "uint256";
434
+ }];
435
+ readonly name: "decreaseAllowance";
436
+ readonly outputs: readonly [{
437
+ readonly internalType: "bool";
438
+ readonly name: "";
439
+ readonly type: "bool";
440
+ }];
441
+ readonly stateMutability: "nonpayable";
442
+ readonly type: "function";
443
+ }, {
444
+ readonly inputs: readonly [{
445
+ readonly internalType: "address";
446
+ readonly name: "_asset";
447
+ readonly type: "address";
448
+ }, {
449
+ readonly internalType: "uint256";
450
+ readonly name: "_amount";
451
+ readonly type: "uint256";
452
+ }];
453
+ readonly name: "deposit";
454
+ readonly outputs: readonly [{
455
+ readonly internalType: "uint256";
456
+ readonly name: "liquidityMinted";
457
+ readonly type: "uint256";
458
+ }];
459
+ readonly stateMutability: "nonpayable";
460
+ readonly type: "function";
461
+ }, {
462
+ readonly inputs: readonly [{
463
+ readonly internalType: "address";
464
+ readonly name: "to";
465
+ readonly type: "address";
466
+ }, {
467
+ readonly internalType: "bytes";
468
+ readonly name: "data";
469
+ readonly type: "bytes";
470
+ }];
471
+ readonly name: "execTransaction";
472
+ readonly outputs: readonly [{
473
+ readonly internalType: "bool";
474
+ readonly name: "success";
475
+ readonly type: "bool";
476
+ }];
477
+ readonly stateMutability: "nonpayable";
478
+ readonly type: "function";
479
+ }, {
480
+ readonly inputs: readonly [{
481
+ readonly internalType: "address[]";
482
+ readonly name: "assets";
483
+ readonly type: "address[]";
484
+ }, {
485
+ readonly internalType: "uint256[]";
486
+ readonly name: "amounts";
487
+ readonly type: "uint256[]";
488
+ }, {
489
+ readonly internalType: "uint256[]";
490
+ readonly name: "premiums";
491
+ readonly type: "uint256[]";
492
+ }, {
493
+ readonly internalType: "address";
494
+ readonly name: "originator";
495
+ readonly type: "address";
496
+ }, {
497
+ readonly internalType: "bytes";
498
+ readonly name: "params";
499
+ readonly type: "bytes";
500
+ }];
501
+ readonly name: "executeOperation";
502
+ readonly outputs: readonly [{
503
+ readonly internalType: "bool";
504
+ readonly name: "success";
505
+ readonly type: "bool";
506
+ }];
507
+ readonly stateMutability: "nonpayable";
508
+ readonly type: "function";
509
+ }, {
510
+ readonly inputs: readonly [];
511
+ readonly name: "factory";
512
+ readonly outputs: readonly [{
513
+ readonly internalType: "address";
514
+ readonly name: "";
515
+ readonly type: "address";
516
+ }];
517
+ readonly stateMutability: "view";
518
+ readonly type: "function";
519
+ }, {
520
+ readonly inputs: readonly [];
521
+ readonly name: "getExitCooldown";
522
+ readonly outputs: readonly [{
523
+ readonly internalType: "uint256";
524
+ readonly name: "exitCooldown";
525
+ readonly type: "uint256";
526
+ }];
527
+ readonly stateMutability: "view";
528
+ readonly type: "function";
529
+ }, {
530
+ readonly inputs: readonly [{
531
+ readonly internalType: "address";
532
+ readonly name: "sender";
533
+ readonly type: "address";
534
+ }];
535
+ readonly name: "getExitRemainingCooldown";
536
+ readonly outputs: readonly [{
537
+ readonly internalType: "uint256";
538
+ readonly name: "remaining";
539
+ readonly type: "uint256";
540
+ }];
541
+ readonly stateMutability: "view";
542
+ readonly type: "function";
543
+ }, {
544
+ readonly inputs: readonly [];
545
+ readonly name: "getFundSummary";
546
+ readonly outputs: readonly [{
547
+ readonly components: readonly [{
548
+ readonly internalType: "string";
549
+ readonly name: "name";
550
+ readonly type: "string";
551
+ }, {
552
+ readonly internalType: "uint256";
553
+ readonly name: "totalSupply";
554
+ readonly type: "uint256";
555
+ }, {
556
+ readonly internalType: "uint256";
557
+ readonly name: "totalFundValue";
558
+ readonly type: "uint256";
559
+ }, {
560
+ readonly internalType: "address";
561
+ readonly name: "manager";
562
+ readonly type: "address";
563
+ }, {
564
+ readonly internalType: "string";
565
+ readonly name: "managerName";
566
+ readonly type: "string";
567
+ }, {
568
+ readonly internalType: "uint256";
569
+ readonly name: "creationTime";
570
+ readonly type: "uint256";
571
+ }, {
572
+ readonly internalType: "bool";
573
+ readonly name: "privatePool";
574
+ readonly type: "bool";
575
+ }, {
576
+ readonly internalType: "uint256";
577
+ readonly name: "performanceFeeNumerator";
578
+ readonly type: "uint256";
579
+ }, {
580
+ readonly internalType: "uint256";
581
+ readonly name: "managerFeeNumerator";
582
+ readonly type: "uint256";
583
+ }, {
584
+ readonly internalType: "uint256";
585
+ readonly name: "managerFeeDenominator";
586
+ readonly type: "uint256";
587
+ }, {
588
+ readonly internalType: "uint256";
589
+ readonly name: "exitFeeNumerator";
590
+ readonly type: "uint256";
591
+ }, {
592
+ readonly internalType: "uint256";
593
+ readonly name: "exitFeeDenominator";
594
+ readonly type: "uint256";
595
+ }, {
596
+ readonly internalType: "uint256";
597
+ readonly name: "entryFeeNumerator";
598
+ readonly type: "uint256";
599
+ }];
600
+ readonly internalType: "struct PoolLogic.FundSummary";
601
+ readonly name: "";
602
+ readonly type: "tuple";
603
+ }];
604
+ readonly stateMutability: "view";
605
+ readonly type: "function";
606
+ }, {
607
+ readonly inputs: readonly [{
608
+ readonly internalType: "address";
609
+ readonly name: "_asset";
610
+ readonly type: "address";
611
+ }];
612
+ readonly name: "getWithdrawSingleMax";
613
+ readonly outputs: readonly [{
614
+ readonly internalType: "uint256";
615
+ readonly name: "fundTokenAmount";
616
+ readonly type: "uint256";
617
+ }];
618
+ readonly stateMutability: "view";
619
+ readonly type: "function";
620
+ }, {
621
+ readonly inputs: readonly [{
622
+ readonly internalType: "address";
623
+ readonly name: "spender";
624
+ readonly type: "address";
625
+ }, {
626
+ readonly internalType: "uint256";
627
+ readonly name: "addedValue";
628
+ readonly type: "uint256";
629
+ }];
630
+ readonly name: "increaseAllowance";
631
+ readonly outputs: readonly [{
632
+ readonly internalType: "bool";
633
+ readonly name: "";
634
+ readonly type: "bool";
635
+ }];
636
+ readonly stateMutability: "nonpayable";
637
+ readonly type: "function";
638
+ }, {
639
+ readonly inputs: readonly [{
640
+ readonly internalType: "address";
641
+ readonly name: "_factory";
642
+ readonly type: "address";
643
+ }, {
644
+ readonly internalType: "bool";
645
+ readonly name: "_privatePool";
646
+ readonly type: "bool";
647
+ }, {
648
+ readonly internalType: "string";
649
+ readonly name: "_fundName";
650
+ readonly type: "string";
651
+ }, {
652
+ readonly internalType: "string";
653
+ readonly name: "_fundSymbol";
654
+ readonly type: "string";
655
+ }];
656
+ readonly name: "initialize";
657
+ readonly outputs: readonly [];
658
+ readonly stateMutability: "nonpayable";
659
+ readonly type: "function";
660
+ }, {
661
+ readonly inputs: readonly [{
662
+ readonly internalType: "address";
663
+ readonly name: "member";
664
+ readonly type: "address";
665
+ }];
666
+ readonly name: "isMemberAllowed";
667
+ readonly outputs: readonly [{
668
+ readonly internalType: "bool";
669
+ readonly name: "";
670
+ readonly type: "bool";
671
+ }];
672
+ readonly stateMutability: "view";
673
+ readonly type: "function";
674
+ }, {
675
+ readonly inputs: readonly [{
676
+ readonly internalType: "address";
677
+ readonly name: "";
678
+ readonly type: "address";
679
+ }];
680
+ readonly name: "lastDeposit";
681
+ readonly outputs: readonly [{
682
+ readonly internalType: "uint256";
683
+ readonly name: "";
684
+ readonly type: "uint256";
685
+ }];
686
+ readonly stateMutability: "view";
687
+ readonly type: "function";
688
+ }, {
689
+ readonly inputs: readonly [{
690
+ readonly internalType: "address";
691
+ readonly name: "";
692
+ readonly type: "address";
693
+ }];
694
+ readonly name: "lastWhitelistTransfer";
695
+ readonly outputs: readonly [{
696
+ readonly internalType: "uint256";
697
+ readonly name: "";
698
+ readonly type: "uint256";
699
+ }];
700
+ readonly stateMutability: "view";
701
+ readonly type: "function";
702
+ }, {
703
+ readonly inputs: readonly [];
704
+ readonly name: "managerName";
705
+ readonly outputs: readonly [{
706
+ readonly internalType: "string";
707
+ readonly name: "_managerName";
708
+ readonly type: "string";
709
+ }];
710
+ readonly stateMutability: "view";
711
+ readonly type: "function";
712
+ }, {
713
+ readonly inputs: readonly [];
714
+ readonly name: "mintManagerFee";
715
+ readonly outputs: readonly [];
716
+ readonly stateMutability: "nonpayable";
717
+ readonly type: "function";
718
+ }, {
719
+ readonly inputs: readonly [];
720
+ readonly name: "name";
721
+ readonly outputs: readonly [{
722
+ readonly internalType: "string";
723
+ readonly name: "";
724
+ readonly type: "string";
725
+ }];
726
+ readonly stateMutability: "view";
727
+ readonly type: "function";
728
+ }, {
729
+ readonly inputs: readonly [];
730
+ readonly name: "poolManagerLogic";
731
+ readonly outputs: readonly [{
732
+ readonly internalType: "address";
733
+ readonly name: "";
734
+ readonly type: "address";
735
+ }];
736
+ readonly stateMutability: "view";
737
+ readonly type: "function";
738
+ }, {
739
+ readonly inputs: readonly [];
740
+ readonly name: "privatePool";
741
+ readonly outputs: readonly [{
742
+ readonly internalType: "bool";
743
+ readonly name: "";
744
+ readonly type: "bool";
745
+ }];
746
+ readonly stateMutability: "view";
747
+ readonly type: "function";
748
+ }, {
749
+ readonly inputs: readonly [{
750
+ readonly internalType: "address";
751
+ readonly name: "_poolManagerLogic";
752
+ readonly type: "address";
753
+ }];
754
+ readonly name: "setPoolManagerLogic";
755
+ readonly outputs: readonly [{
756
+ readonly internalType: "bool";
757
+ readonly name: "";
758
+ readonly type: "bool";
759
+ }];
760
+ readonly stateMutability: "nonpayable";
761
+ readonly type: "function";
762
+ }, {
763
+ readonly inputs: readonly [{
764
+ readonly internalType: "bool";
765
+ readonly name: "_privatePool";
766
+ readonly type: "bool";
767
+ }];
768
+ readonly name: "setPoolPrivate";
769
+ readonly outputs: readonly [];
770
+ readonly stateMutability: "nonpayable";
771
+ readonly type: "function";
772
+ }, {
773
+ readonly inputs: readonly [];
774
+ readonly name: "symbol";
775
+ readonly outputs: readonly [{
776
+ readonly internalType: "string";
777
+ readonly name: "";
778
+ readonly type: "string";
779
+ }];
780
+ readonly stateMutability: "view";
781
+ readonly type: "function";
782
+ }, {
783
+ readonly inputs: readonly [];
784
+ readonly name: "tokenPrice";
785
+ readonly outputs: readonly [{
786
+ readonly internalType: "uint256";
787
+ readonly name: "price";
788
+ readonly type: "uint256";
789
+ }];
790
+ readonly stateMutability: "view";
791
+ readonly type: "function";
792
+ }, {
793
+ readonly inputs: readonly [];
794
+ readonly name: "tokenPriceAtLastFeeMint";
795
+ readonly outputs: readonly [{
796
+ readonly internalType: "uint256";
797
+ readonly name: "";
798
+ readonly type: "uint256";
799
+ }];
800
+ readonly stateMutability: "view";
801
+ readonly type: "function";
802
+ }, {
803
+ readonly inputs: readonly [];
804
+ readonly name: "tokenPriceWithoutManagerFee";
805
+ readonly outputs: readonly [{
806
+ readonly internalType: "uint256";
807
+ readonly name: "price";
808
+ readonly type: "uint256";
809
+ }];
810
+ readonly stateMutability: "view";
811
+ readonly type: "function";
812
+ }, {
813
+ readonly inputs: readonly [];
814
+ readonly name: "totalSupply";
815
+ readonly outputs: readonly [{
816
+ readonly internalType: "uint256";
817
+ readonly name: "";
818
+ readonly type: "uint256";
819
+ }];
820
+ readonly stateMutability: "view";
821
+ readonly type: "function";
822
+ }, {
823
+ readonly inputs: readonly [{
824
+ readonly internalType: "address";
825
+ readonly name: "recipient";
826
+ readonly type: "address";
827
+ }, {
828
+ readonly internalType: "uint256";
829
+ readonly name: "amount";
830
+ readonly type: "uint256";
831
+ }];
832
+ readonly name: "transfer";
833
+ readonly outputs: readonly [{
834
+ readonly internalType: "bool";
835
+ readonly name: "";
836
+ readonly type: "bool";
837
+ }];
838
+ readonly stateMutability: "nonpayable";
839
+ readonly type: "function";
840
+ }, {
841
+ readonly inputs: readonly [{
842
+ readonly internalType: "address";
843
+ readonly name: "sender";
844
+ readonly type: "address";
845
+ }, {
846
+ readonly internalType: "address";
847
+ readonly name: "recipient";
848
+ readonly type: "address";
849
+ }, {
850
+ readonly internalType: "uint256";
851
+ readonly name: "amount";
852
+ readonly type: "uint256";
853
+ }];
854
+ readonly name: "transferFrom";
855
+ readonly outputs: readonly [{
856
+ readonly internalType: "bool";
857
+ readonly name: "";
858
+ readonly type: "bool";
859
+ }];
860
+ readonly stateMutability: "nonpayable";
861
+ readonly type: "function";
862
+ }, {
863
+ readonly inputs: readonly [{
864
+ readonly internalType: "uint256";
865
+ readonly name: "_fundTokenAmount";
866
+ readonly type: "uint256";
867
+ }];
868
+ readonly name: "withdraw";
869
+ readonly outputs: readonly [];
870
+ readonly stateMutability: "nonpayable";
871
+ readonly type: "function";
872
+ }, {
873
+ readonly inputs: readonly [{
874
+ readonly internalType: "uint256";
875
+ readonly name: "_fundTokenAmount";
876
+ readonly type: "uint256";
877
+ }, {
878
+ readonly internalType: "address";
879
+ readonly name: "_asset";
880
+ readonly type: "address";
881
+ }];
882
+ readonly name: "withdrawSingle";
883
+ readonly outputs: readonly [];
884
+ readonly stateMutability: "nonpayable";
885
+ readonly type: "function";
886
+ }, {
887
+ readonly inputs: readonly [{
888
+ readonly internalType: "uint256";
889
+ readonly name: "fundValue";
890
+ readonly type: "uint256";
891
+ }];
892
+ readonly name: "calculateAvailableManagerFee";
893
+ readonly outputs: readonly [{
894
+ readonly internalType: "uint256";
895
+ readonly name: "fee";
896
+ readonly type: "uint256";
897
+ }];
898
+ readonly stateMutability: "view";
899
+ readonly type: "function";
900
+ }];
901
+ readonly functionName: "getExitRemainingCooldown";
902
+ readonly chainId: number;
903
+ readonly args: readonly [`0x${string}`];
904
+ }], true, {
905
+ getFundComposition: readonly [readonly {
906
+ asset: `0x${string}`;
907
+ isDeposit: boolean;
908
+ }[], readonly bigint[], readonly bigint[]] | undefined;
909
+ getExitRemainingCooldown: bigint | undefined;
910
+ }>;