@evergonlabs/tmi-protocol-api 0.11.0-rc.0 → 0.11.0-rc.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 (790) hide show
  1. package/dist/app.d.ts +253 -878
  2. package/dist/app.d.ts.map +1 -1
  3. package/dist/app.js +1 -10
  4. package/dist/apps.d.ts +0 -6
  5. package/dist/apps.d.ts.map +1 -1
  6. package/dist/apps.js +0 -3
  7. package/dist/client.d.ts +260 -927
  8. package/dist/client.d.ts.map +1 -1
  9. package/dist/client.js +1 -9
  10. package/dist/common/blockchain.d.ts +173 -173
  11. package/dist/common/blockchain.d.ts.map +1 -1
  12. package/dist/common/config.d.ts +1 -1
  13. package/dist/common/config.d.ts.map +1 -1
  14. package/dist/common/config.js +1 -1
  15. package/dist/common/models/asset.d.ts +2 -2
  16. package/dist/common/models/asset.d.ts.map +1 -1
  17. package/dist/common/models/asset.js +2 -2
  18. package/dist/common/models/chainId.d.ts +6 -9
  19. package/dist/common/models/chainId.d.ts.map +1 -1
  20. package/dist/common/models/chainId.js +7 -17
  21. package/dist/common/models/deployTransaction.d.ts +1 -1
  22. package/dist/common/models/deployTransaction.d.ts.map +1 -1
  23. package/dist/common/models/deployTransaction.js +2 -2
  24. package/dist/common/models/erc721.d.ts +1 -1
  25. package/dist/common/models/erc721.d.ts.map +1 -1
  26. package/dist/common/models/erc721.js +1 -1
  27. package/dist/common/models/exports.d.ts +5 -5
  28. package/dist/common/models/exports.d.ts.map +1 -1
  29. package/dist/common/models/exports.js +5 -5
  30. package/dist/common/models/index.d.ts +1 -4
  31. package/dist/common/models/index.d.ts.map +1 -1
  32. package/dist/common/models/index.js +1 -4
  33. package/dist/common/models/page.d.ts +1 -1
  34. package/dist/common/models/page.d.ts.map +1 -1
  35. package/dist/common/models/page.js +1 -1
  36. package/dist/common/models/platform.d.ts +5 -5
  37. package/dist/common/models/platform.d.ts.map +1 -1
  38. package/dist/common/models/platform.js +6 -6
  39. package/dist/common/models/routes.d.ts +1 -1
  40. package/dist/common/models/routes.d.ts.map +1 -1
  41. package/dist/common/models/routes.js +1 -1
  42. package/dist/common/models/transaction.d.ts +2 -2
  43. package/dist/common/models/transaction.d.ts.map +1 -1
  44. package/dist/common/models/transaction.js +2 -2
  45. package/dist/fractions/index.d.ts +159 -111
  46. package/dist/fractions/index.d.ts.map +1 -1
  47. package/dist/fractions/index.js +0 -2
  48. package/dist/fractions/markets/{deployMarket.routes.d.ts → deployMarket.d.ts} +11 -11
  49. package/dist/fractions/markets/deployMarket.d.ts.map +1 -0
  50. package/dist/fractions/markets/{deployMarket.routes.js → deployMarket.js} +3 -2
  51. package/dist/fractions/markets/getDeployEvent.d.ts +2 -2
  52. package/dist/fractions/markets/getDeployEvent.d.ts.map +1 -1
  53. package/dist/fractions/markets/getDeployEvent.js +3 -2
  54. package/dist/fractions/markets/{getMarket/getMarket.d.ts → getMarket.d.ts} +8 -8
  55. package/dist/fractions/markets/getMarket.d.ts.map +1 -0
  56. package/dist/fractions/markets/{getMarket/getMarket.js → getMarket.js} +6 -8
  57. package/dist/fractions/markets/index.d.ts +187 -16
  58. package/dist/fractions/markets/index.d.ts.map +1 -1
  59. package/dist/fractions/markets/index.js +13 -6
  60. package/dist/fractions/markets/initCompilot.d.ts +28 -0
  61. package/dist/fractions/markets/initCompilot.d.ts.map +1 -0
  62. package/dist/fractions/markets/{initCompilot.routes.js → initCompilot.js} +7 -13
  63. package/dist/fractions/markets/{searchMarkets/searchMarkets.d.ts → searchMarkets.d.ts} +4 -4
  64. package/dist/fractions/markets/searchMarkets.d.ts.map +1 -0
  65. package/dist/fractions/markets/{searchMarkets/searchMarkets.js → searchMarkets.js} +7 -9
  66. package/dist/fractions/markets/{common/platform.d.ts → utils.d.ts} +10 -7
  67. package/dist/fractions/markets/utils.d.ts.map +1 -0
  68. package/dist/fractions/markets/{common/platform.js → utils.js} +7 -5
  69. package/dist/fractions/roles/getRoles.d.ts +1 -1
  70. package/dist/fractions/roles/getRoles.d.ts.map +1 -1
  71. package/dist/fractions/roles/getRoles.js +1 -1
  72. package/dist/fractions/roles/{grantRole.route.d.ts → grantRole.d.ts} +1 -2
  73. package/dist/fractions/roles/grantRole.d.ts.map +1 -0
  74. package/dist/fractions/roles/{grantRole.route.js → grantRole.js} +1 -1
  75. package/dist/fractions/roles/index.d.ts +0 -1
  76. package/dist/fractions/roles/index.d.ts.map +1 -1
  77. package/dist/fractions/roles/index.js +2 -2
  78. package/dist/fractions/sales/activityUtils.d.ts +4 -4
  79. package/dist/fractions/sales/activityUtils.d.ts.map +1 -1
  80. package/dist/fractions/sales/activityUtils.js +2 -2
  81. package/dist/fractions/sales/approveSale.route.d.ts +4 -7
  82. package/dist/fractions/sales/approveSale.route.d.ts.map +1 -1
  83. package/dist/fractions/sales/approveSale.route.js +4 -9
  84. package/dist/fractions/sales/approveWrapper.route.d.ts +2 -7
  85. package/dist/fractions/sales/approveWrapper.route.d.ts.map +1 -1
  86. package/dist/fractions/sales/approveWrapper.route.js +5 -9
  87. package/dist/fractions/sales/common/fractionsSale.d.ts +11 -11
  88. package/dist/fractions/sales/common/fractionsSale.d.ts.map +1 -1
  89. package/dist/fractions/sales/common/fractionsSale.js +3 -3
  90. package/dist/fractions/sales/completeSale.route.d.ts +4 -7
  91. package/dist/fractions/sales/completeSale.route.d.ts.map +1 -1
  92. package/dist/fractions/sales/completeSale.route.js +5 -10
  93. package/dist/fractions/sales/createFractions.route.d.ts +2 -3
  94. package/dist/fractions/sales/createFractions.route.d.ts.map +1 -1
  95. package/dist/fractions/sales/createFractions.route.js +2 -3
  96. package/dist/fractions/sales/getFractionSaleStatistics.route.d.ts +5 -5
  97. package/dist/fractions/sales/getFractionSaleStatistics.route.d.ts.map +1 -1
  98. package/dist/fractions/sales/getFractionSaleStatistics.route.js +1 -1
  99. package/dist/fractions/sales/getVaultAddress.d.ts +8 -8
  100. package/dist/fractions/sales/getVaultAddress.d.ts.map +1 -1
  101. package/dist/fractions/sales/getVaultAddress.js +3 -3
  102. package/dist/fractions/sales/getWithdrawEvent.d.ts +3 -3
  103. package/dist/fractions/sales/getWithdrawEvent.d.ts.map +1 -1
  104. package/dist/fractions/sales/getWithdrawEvent.js +1 -1
  105. package/dist/fractions/sales/index.d.ts +119 -70
  106. package/dist/fractions/sales/index.d.ts.map +1 -1
  107. package/dist/fractions/sales/index.js +5 -4
  108. package/dist/fractions/sales/parseFractionsCreatedEvent.d.ts +3 -3
  109. package/dist/fractions/sales/parseFractionsCreatedEvent.d.ts.map +1 -1
  110. package/dist/fractions/sales/parseFractionsCreatedEvent.js +1 -1
  111. package/dist/fractions/sales/purchase.route.d.ts +7 -12
  112. package/dist/fractions/sales/purchase.route.d.ts.map +1 -1
  113. package/dist/fractions/sales/purchase.route.js +4 -16
  114. package/dist/fractions/sales/purchaseStatistics.route.d.ts +2 -2
  115. package/dist/fractions/sales/purchaseStatistics.route.d.ts.map +1 -1
  116. package/dist/fractions/sales/purchaseStatistics.route.js +2 -2
  117. package/dist/fractions/sales/receiveFundsAfterNonFunded.route.d.ts +36 -14
  118. package/dist/fractions/sales/receiveFundsAfterNonFunded.route.d.ts.map +1 -1
  119. package/dist/fractions/sales/receiveFundsAfterNonFunded.route.js +35 -20
  120. package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts +5 -3
  121. package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts.map +1 -1
  122. package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.js +6 -5
  123. package/dist/fractions/sales/recoverFractions.d.ts +12 -15
  124. package/dist/fractions/sales/recoverFractions.d.ts.map +1 -1
  125. package/dist/fractions/sales/recoverFractions.js +5 -16
  126. package/dist/fractions/sales/rejectFractions.d.ts +3 -8
  127. package/dist/fractions/sales/rejectFractions.d.ts.map +1 -1
  128. package/dist/fractions/sales/rejectFractions.js +5 -10
  129. package/dist/fractions/sales/searchActivity.route.d.ts +5 -5
  130. package/dist/fractions/sales/searchActivity.route.d.ts.map +1 -1
  131. package/dist/fractions/sales/searchActivity.route.js +2 -2
  132. package/dist/fractions/sales/searchSales/searchSales.d.ts +6 -6
  133. package/dist/fractions/sales/searchSales/searchSales.d.ts.map +1 -1
  134. package/dist/fractions/sales/searchSales/searchSales.js +2 -2
  135. package/dist/fractions/sales/searchWithdrawal.route.d.ts +1 -1
  136. package/dist/fractions/sales/searchWithdrawal.route.d.ts.map +1 -1
  137. package/dist/fractions/sales/searchWithdrawal.route.js +2 -2
  138. package/dist/fractions/sales/setFeeCapLimit.d.ts +4 -8
  139. package/dist/fractions/sales/setFeeCapLimit.d.ts.map +1 -1
  140. package/dist/fractions/sales/setFeeCapLimit.js +5 -11
  141. package/dist/fractions/sales/unlockWrappedAssets.route.d.ts +4 -6
  142. package/dist/fractions/sales/unlockWrappedAssets.route.d.ts.map +1 -1
  143. package/dist/fractions/sales/unlockWrappedAssets.route.js +5 -5
  144. package/dist/fractions/sales/vesting/claimStatistics.route.d.ts +8 -8
  145. package/dist/fractions/sales/vesting/claimStatistics.route.d.ts.map +1 -1
  146. package/dist/fractions/sales/vesting/claimStatistics.route.js +2 -2
  147. package/dist/fractions/sales/vesting/claimVestedTokens.route.d.ts +1 -8
  148. package/dist/fractions/sales/vesting/claimVestedTokens.route.d.ts.map +1 -1
  149. package/dist/fractions/sales/vesting/claimVestedTokens.route.js +2 -10
  150. package/dist/fractions/sales/vesting/editCliff.route.d.ts +4 -10
  151. package/dist/fractions/sales/vesting/editCliff.route.d.ts.map +1 -1
  152. package/dist/fractions/sales/vesting/editCliff.route.js +5 -12
  153. package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.d.ts +3 -3
  154. package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.d.ts.map +1 -1
  155. package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.js +1 -1
  156. package/dist/fractions/sales/withdraw.route.d.ts +4 -6
  157. package/dist/fractions/sales/withdraw.route.d.ts.map +1 -1
  158. package/dist/fractions/sales/withdraw.route.js +5 -5
  159. package/dist/fractions/schemas.d.ts +6 -0
  160. package/dist/fractions/schemas.d.ts.map +1 -0
  161. package/dist/fractions/schemas.js +6 -0
  162. package/dist/fractions/sig/getAuthData.d.ts +6 -6
  163. package/dist/fractions/sig/getAuthData.d.ts.map +1 -1
  164. package/dist/fractions/sig/getAuthData.js +4 -5
  165. package/dist/fractions/sig/getNonce.route.d.ts +4 -4
  166. package/dist/fractions/sig/getNonce.route.d.ts.map +1 -1
  167. package/dist/fractions/sig/getNonce.route.js +1 -1
  168. package/dist/fractions/sig/index.d.ts +2 -2
  169. package/dist/fractions/sig/index.d.ts.map +1 -1
  170. package/dist/fractions/sig/index.js +1 -1
  171. package/dist/fractions/statistics/index.d.ts +12 -12
  172. package/dist/fractions/statistics/index.d.ts.map +1 -1
  173. package/dist/fractions/statistics/index.js +1 -1
  174. package/dist/fractions/statistics/networkStatistics.route.d.ts +13 -13
  175. package/dist/fractions/statistics/networkStatistics.route.d.ts.map +1 -1
  176. package/dist/fractions/statistics/networkStatistics.route.js +6 -6
  177. package/dist/general/balanceClient.d.ts +1 -1
  178. package/dist/general/balanceClient.d.ts.map +1 -1
  179. package/dist/general/balanceClient.js +1 -1
  180. package/dist/general/common.d.ts +1 -1
  181. package/dist/general/common.d.ts.map +1 -1
  182. package/dist/general/common.js +1 -1
  183. package/dist/general/estimateGas.d.ts +1 -1
  184. package/dist/general/estimateGas.d.ts.map +1 -1
  185. package/dist/general/estimateGas.js +2 -3
  186. package/dist/general/getBalance.d.ts +2 -2
  187. package/dist/general/getBalance.d.ts.map +1 -1
  188. package/dist/general/getBalance.js +2 -3
  189. package/dist/general/getBalancesBatch.d.ts +1 -1
  190. package/dist/general/getBalancesBatch.d.ts.map +1 -1
  191. package/dist/general/getBalancesBatch.js +6 -5
  192. package/dist/general/index.d.ts +5 -5
  193. package/dist/general/searchBalances.d.ts +2 -2
  194. package/dist/general/searchBalances.d.ts.map +1 -1
  195. package/dist/general/searchBalances.js +6 -5
  196. package/dist/general/tag.d.ts +4 -0
  197. package/dist/general/tag.d.ts.map +1 -0
  198. package/dist/general/tag.js +2 -0
  199. package/dist/general/utils/tokenBalance/tokenBalance.d.ts +1 -1
  200. package/dist/general/utils/tokenBalance/tokenBalance.d.ts.map +1 -1
  201. package/dist/general/utils/tokenBalance/tokenBalance.js +1 -1
  202. package/dist/issuance/common/factories.base.d.ts +17 -23
  203. package/dist/issuance/common/factories.base.d.ts.map +1 -1
  204. package/dist/issuance/common/factories.base.js +3 -2
  205. package/dist/issuance/common/factories.d.ts +2 -1
  206. package/dist/issuance/common/factories.d.ts.map +1 -1
  207. package/dist/issuance/common/factories.js +8 -2
  208. package/dist/issuance/erc1155/burn.d.ts +3 -3
  209. package/dist/issuance/erc1155/burn.d.ts.map +1 -1
  210. package/dist/issuance/erc1155/burn.js +5 -5
  211. package/dist/issuance/erc1155/default/deploy.d.ts +3 -3
  212. package/dist/issuance/erc1155/default/deploy.d.ts.map +1 -1
  213. package/dist/issuance/erc1155/default/deploy.js +3 -3
  214. package/dist/issuance/erc1155/default/initialize.d.ts +1 -1
  215. package/dist/issuance/erc1155/default/initialize.d.ts.map +1 -1
  216. package/dist/issuance/erc1155/default/initialize.js +2 -2
  217. package/dist/issuance/erc1155/default/parseDeployEvent.d.ts +2 -2
  218. package/dist/issuance/erc1155/default/parseDeployEvent.d.ts.map +1 -1
  219. package/dist/issuance/erc1155/default/parseDeployEvent.js +5 -15
  220. package/dist/issuance/erc1155/gated/deploy.d.ts +3 -3
  221. package/dist/issuance/erc1155/gated/deploy.d.ts.map +1 -1
  222. package/dist/issuance/erc1155/gated/deploy.js +3 -3
  223. package/dist/issuance/erc1155/gated/initialize.d.ts +1 -1
  224. package/dist/issuance/erc1155/gated/initialize.d.ts.map +1 -1
  225. package/dist/issuance/erc1155/gated/initialize.js +2 -2
  226. package/dist/issuance/erc1155/gated/parseDeployEvent.d.ts +2 -2
  227. package/dist/issuance/erc1155/gated/parseDeployEvent.d.ts.map +1 -1
  228. package/dist/issuance/erc1155/gated/parseDeployEvent.js +5 -15
  229. package/dist/issuance/erc1155/getMintedTokenId.d.ts +2 -2
  230. package/dist/issuance/erc1155/getMintedTokenId.d.ts.map +1 -1
  231. package/dist/issuance/erc1155/getMintedTokenId.js +5 -15
  232. package/dist/issuance/erc1155/grantRole.d.ts +1 -1
  233. package/dist/issuance/erc1155/grantRole.d.ts.map +1 -1
  234. package/dist/issuance/erc1155/grantRole.js +2 -2
  235. package/dist/issuance/erc1155/index.d.ts +8 -8
  236. package/dist/issuance/erc1155/index.d.ts.map +1 -1
  237. package/dist/issuance/erc1155/index.js +1 -1
  238. package/dist/issuance/erc1155/mint.d.ts +2 -2
  239. package/dist/issuance/erc1155/mint.d.ts.map +1 -1
  240. package/dist/issuance/erc1155/mint.js +4 -4
  241. package/dist/issuance/erc1155/recover.d.ts +3 -3
  242. package/dist/issuance/erc1155/recover.d.ts.map +1 -1
  243. package/dist/issuance/erc1155/recover.js +5 -5
  244. package/dist/issuance/erc1155/renounceRole.d.ts +1 -1
  245. package/dist/issuance/erc1155/renounceRole.d.ts.map +1 -1
  246. package/dist/issuance/erc1155/renounceRole.js +2 -2
  247. package/dist/issuance/erc1155/revokeRole.d.ts +1 -1
  248. package/dist/issuance/erc1155/revokeRole.d.ts.map +1 -1
  249. package/dist/issuance/erc1155/revokeRole.js +2 -2
  250. package/dist/issuance/erc1155/setApprovalForAll.d.ts +1 -1
  251. package/dist/issuance/erc1155/setApprovalForAll.d.ts.map +1 -1
  252. package/dist/issuance/erc1155/setApprovalForAll.js +2 -2
  253. package/dist/issuance/erc1155/setBaseURI.d.ts +1 -1
  254. package/dist/issuance/erc1155/setBaseURI.d.ts.map +1 -1
  255. package/dist/issuance/erc1155/setBaseURI.js +2 -2
  256. package/dist/issuance/erc1155/setTokenURI.d.ts +2 -2
  257. package/dist/issuance/erc1155/setTokenURI.d.ts.map +1 -1
  258. package/dist/issuance/erc1155/setTokenURI.js +4 -4
  259. package/dist/issuance/erc20/approve.d.ts +2 -2
  260. package/dist/issuance/erc20/approve.d.ts.map +1 -1
  261. package/dist/issuance/erc20/approve.js +4 -4
  262. package/dist/issuance/erc20/burn.d.ts +2 -2
  263. package/dist/issuance/erc20/burn.d.ts.map +1 -1
  264. package/dist/issuance/erc20/burn.js +4 -4
  265. package/dist/issuance/erc20/default/deploy.d.ts +4 -4
  266. package/dist/issuance/erc20/default/deploy.d.ts.map +1 -1
  267. package/dist/issuance/erc20/default/deploy.js +5 -5
  268. package/dist/issuance/erc20/default/initialize.d.ts +2 -2
  269. package/dist/issuance/erc20/default/initialize.d.ts.map +1 -1
  270. package/dist/issuance/erc20/default/initialize.js +4 -4
  271. package/dist/issuance/erc20/default/parseDeployEvent.d.ts +2 -2
  272. package/dist/issuance/erc20/default/parseDeployEvent.d.ts.map +1 -1
  273. package/dist/issuance/erc20/default/parseDeployEvent.js +5 -15
  274. package/dist/issuance/erc20/gated/deploy.d.ts +4 -4
  275. package/dist/issuance/erc20/gated/deploy.d.ts.map +1 -1
  276. package/dist/issuance/erc20/gated/deploy.js +5 -5
  277. package/dist/issuance/erc20/gated/initialize.d.ts +2 -2
  278. package/dist/issuance/erc20/gated/initialize.d.ts.map +1 -1
  279. package/dist/issuance/erc20/gated/initialize.js +4 -4
  280. package/dist/issuance/erc20/gated/parseDeployEvent.d.ts +2 -2
  281. package/dist/issuance/erc20/gated/parseDeployEvent.d.ts.map +1 -1
  282. package/dist/issuance/erc20/gated/parseDeployEvent.js +5 -15
  283. package/dist/issuance/erc20/gatedSimple/deploy.d.ts.map +1 -1
  284. package/dist/issuance/erc20/gatedSimple/deploy.js +1 -1
  285. package/dist/issuance/erc20/gatedSimple/getInitData.d.ts +2 -2
  286. package/dist/issuance/erc20/gatedSimple/getInitData.d.ts.map +1 -1
  287. package/dist/issuance/erc20/gatedSimple/getInitData.js +4 -4
  288. package/dist/issuance/erc20/gatedSimple/parseDeployEvent.d.ts +2 -2
  289. package/dist/issuance/erc20/gatedSimple/parseDeployEvent.d.ts.map +1 -1
  290. package/dist/issuance/erc20/gatedSimple/parseDeployEvent.js +5 -15
  291. package/dist/issuance/erc20/grantRole.d.ts +1 -1
  292. package/dist/issuance/erc20/grantRole.d.ts.map +1 -1
  293. package/dist/issuance/erc20/grantRole.js +2 -2
  294. package/dist/issuance/erc20/index.d.ts +8 -8
  295. package/dist/issuance/erc20/index.d.ts.map +1 -1
  296. package/dist/issuance/erc20/index.js +1 -1
  297. package/dist/issuance/erc20/mint.d.ts +2 -2
  298. package/dist/issuance/erc20/mint.d.ts.map +1 -1
  299. package/dist/issuance/erc20/mint.js +4 -4
  300. package/dist/issuance/erc20/recover.d.ts +2 -2
  301. package/dist/issuance/erc20/recover.d.ts.map +1 -1
  302. package/dist/issuance/erc20/recover.js +4 -4
  303. package/dist/issuance/erc20/renounceRole.d.ts +1 -1
  304. package/dist/issuance/erc20/renounceRole.d.ts.map +1 -1
  305. package/dist/issuance/erc20/renounceRole.js +2 -2
  306. package/dist/issuance/erc20/revokeRole.d.ts +1 -1
  307. package/dist/issuance/erc20/revokeRole.d.ts.map +1 -1
  308. package/dist/issuance/erc20/revokeRole.js +2 -2
  309. package/dist/issuance/erc20/transfer.d.ts +2 -2
  310. package/dist/issuance/erc20/transfer.d.ts.map +1 -1
  311. package/dist/issuance/erc20/transfer.js +4 -4
  312. package/dist/issuance/erc20/transferFrom.d.ts +2 -2
  313. package/dist/issuance/erc20/transferFrom.d.ts.map +1 -1
  314. package/dist/issuance/erc20/transferFrom.js +4 -4
  315. package/dist/issuance/erc721/approve.d.ts +2 -2
  316. package/dist/issuance/erc721/approve.d.ts.map +1 -1
  317. package/dist/issuance/erc721/approve.js +4 -4
  318. package/dist/issuance/erc721/burn.d.ts +2 -2
  319. package/dist/issuance/erc721/burn.d.ts.map +1 -1
  320. package/dist/issuance/erc721/burn.js +4 -4
  321. package/dist/issuance/erc721/default/deploy.d.ts +3 -3
  322. package/dist/issuance/erc721/default/deploy.d.ts.map +1 -1
  323. package/dist/issuance/erc721/default/deploy.js +3 -3
  324. package/dist/issuance/erc721/default/initialize.d.ts +1 -1
  325. package/dist/issuance/erc721/default/initialize.d.ts.map +1 -1
  326. package/dist/issuance/erc721/default/initialize.js +2 -2
  327. package/dist/issuance/erc721/default/parseDeployEvent.d.ts +2 -2
  328. package/dist/issuance/erc721/default/parseDeployEvent.d.ts.map +1 -1
  329. package/dist/issuance/erc721/default/parseDeployEvent.js +5 -15
  330. package/dist/issuance/erc721/gated/deploy.d.ts +3 -3
  331. package/dist/issuance/erc721/gated/deploy.d.ts.map +1 -1
  332. package/dist/issuance/erc721/gated/deploy.js +3 -3
  333. package/dist/issuance/erc721/gated/initialize.d.ts +1 -1
  334. package/dist/issuance/erc721/gated/initialize.d.ts.map +1 -1
  335. package/dist/issuance/erc721/gated/initialize.js +2 -2
  336. package/dist/issuance/erc721/gated/parseDeployEvent.d.ts +2 -2
  337. package/dist/issuance/erc721/gated/parseDeployEvent.d.ts.map +1 -1
  338. package/dist/issuance/erc721/gated/parseDeployEvent.js +5 -15
  339. package/dist/issuance/erc721/getMintedTokenId.d.ts +2 -2
  340. package/dist/issuance/erc721/getMintedTokenId.d.ts.map +1 -1
  341. package/dist/issuance/erc721/getMintedTokenId.js +5 -15
  342. package/dist/issuance/erc721/grantRole.d.ts +1 -1
  343. package/dist/issuance/erc721/grantRole.d.ts.map +1 -1
  344. package/dist/issuance/erc721/grantRole.js +2 -2
  345. package/dist/issuance/erc721/index.d.ts +8 -8
  346. package/dist/issuance/erc721/index.d.ts.map +1 -1
  347. package/dist/issuance/erc721/index.js +1 -1
  348. package/dist/issuance/erc721/mint.d.ts +1 -1
  349. package/dist/issuance/erc721/mint.d.ts.map +1 -1
  350. package/dist/issuance/erc721/mint.js +2 -2
  351. package/dist/issuance/erc721/recover.d.ts +2 -2
  352. package/dist/issuance/erc721/recover.d.ts.map +1 -1
  353. package/dist/issuance/erc721/recover.js +4 -4
  354. package/dist/issuance/erc721/renounceRole.d.ts +1 -1
  355. package/dist/issuance/erc721/renounceRole.d.ts.map +1 -1
  356. package/dist/issuance/erc721/renounceRole.js +2 -2
  357. package/dist/issuance/erc721/revokeRole.d.ts +1 -1
  358. package/dist/issuance/erc721/revokeRole.d.ts.map +1 -1
  359. package/dist/issuance/erc721/revokeRole.js +2 -2
  360. package/dist/issuance/erc721/setBaseURI.d.ts +1 -1
  361. package/dist/issuance/erc721/setBaseURI.d.ts.map +1 -1
  362. package/dist/issuance/erc721/setBaseURI.js +2 -2
  363. package/dist/issuance/erc721/setTokenURI.d.ts +2 -2
  364. package/dist/issuance/erc721/setTokenURI.d.ts.map +1 -1
  365. package/dist/issuance/erc721/setTokenURI.js +4 -4
  366. package/dist/issuance/erc721/transferFrom.d.ts +2 -2
  367. package/dist/issuance/erc721/transferFrom.d.ts.map +1 -1
  368. package/dist/issuance/erc721/transferFrom.js +4 -4
  369. package/dist/issuance/index.d.ts +24 -24
  370. package/dist/issuance/proxy/deploy.d.ts +1 -1
  371. package/dist/issuance/proxy/deploy.d.ts.map +1 -1
  372. package/dist/issuance/proxy/deploy.js +2 -2
  373. package/dist/issuance/proxy/index.d.ts.map +1 -1
  374. package/dist/issuance/proxy/index.js +1 -1
  375. package/dist/issuance/proxy/upgrade.d.ts +1 -1
  376. package/dist/issuance/proxy/upgrade.d.ts.map +1 -1
  377. package/dist/issuance/proxy/upgrade.js +2 -2
  378. package/dist/issuance/schemas.d.ts +43 -0
  379. package/dist/issuance/schemas.d.ts.map +1 -0
  380. package/dist/issuance/schemas.js +46 -0
  381. package/dist/next/app.d.ts +708 -0
  382. package/dist/next/{fractions/index.d.ts.map → app.d.ts.map} +1 -1
  383. package/dist/next/app.js +33 -0
  384. package/dist/next/apps.d.ts +18 -0
  385. package/dist/next/apps.d.ts.map +1 -0
  386. package/dist/next/apps.js +11 -0
  387. package/dist/next/client.d.ts +704 -0
  388. package/dist/next/client.d.ts.map +1 -0
  389. package/dist/next/client.js +13 -0
  390. package/dist/next/lending/buyback.d.ts +28 -0
  391. package/dist/next/lending/buyback.d.ts.map +1 -0
  392. package/dist/next/{fractions/lending/buyback/buyback.routes.js → lending/buyback.js} +8 -7
  393. package/dist/next/lending/createSale.d.ts +71 -0
  394. package/dist/next/lending/createSale.d.ts.map +1 -0
  395. package/dist/next/lending/createSale.js +31 -0
  396. package/dist/next/{fractions/lending/deployMarket/lending.routes.d.ts → lending/deployMarket.d.ts} +4 -4
  397. package/dist/next/lending/deployMarket.d.ts.map +1 -0
  398. package/dist/next/{fractions/lending/deployMarket/lending.routes.js → lending/deployMarket.js} +8 -5
  399. package/dist/next/{fractions/lending → lending}/index.d.ts +23 -18
  400. package/dist/next/{fractions/lending → lending}/index.d.ts.map +1 -1
  401. package/dist/next/lending/index.js +17 -0
  402. package/dist/next/lending/schemas.d.ts +2 -0
  403. package/dist/next/lending/schemas.d.ts.map +1 -0
  404. package/dist/next/lending/schemas.js +3 -0
  405. package/dist/next/{fractions/vestingRedemptionDynamic/approveCampaign.routes.d.ts → lending/setCollateralPrice.d.ts} +7 -4
  406. package/dist/next/lending/setCollateralPrice.d.ts.map +1 -0
  407. package/dist/next/{fractions/lending/setCollateralPrice/setCollateralPrice.routes.js → lending/setCollateralPrice.js} +10 -7
  408. package/dist/next/lending/tag.d.ts +4 -0
  409. package/dist/next/lending/tag.d.ts.map +1 -0
  410. package/dist/next/lending/tag.js +2 -0
  411. package/dist/next/{fractions/sales/createNftFractions.routes.d.ts → nftFractions/createNftFractions.d.ts} +3 -3
  412. package/dist/next/nftFractions/createNftFractions.d.ts.map +1 -0
  413. package/dist/next/{fractions/sales/createNftFractions.routes.js → nftFractions/createNftFractions.js} +8 -18
  414. package/dist/next/{fractions/platforms/default/deployNftFractionsMarket.routes.d.ts → nftFractions/deployNftFractionsMarket.d.ts} +4 -4
  415. package/dist/next/nftFractions/deployNftFractionsMarket.d.ts.map +1 -0
  416. package/dist/next/{fractions/platforms/default/deployNftFractionsMarket.routes.js → nftFractions/deployNftFractionsMarket.js} +5 -4
  417. package/dist/next/{fractions/platforms/gated/deployNftFractionsMarket.routes.d.ts → nftFractions/deployNftFractionsMarketGated.d.ts} +5 -5
  418. package/dist/next/nftFractions/deployNftFractionsMarketGated.d.ts.map +1 -0
  419. package/dist/next/{fractions/platforms/gated/deployNftFractionsMarket.routes.js → nftFractions/deployNftFractionsMarketGated.js} +5 -4
  420. package/dist/next/nftFractions/index.d.ts +182 -0
  421. package/dist/{fractions/platforms → next/nftFractions}/index.d.ts.map +1 -1
  422. package/dist/next/nftFractions/index.js +17 -0
  423. package/dist/next/nftFractions/parseNftFractionsCreatedEvent.d.ts +23 -0
  424. package/dist/next/nftFractions/parseNftFractionsCreatedEvent.d.ts.map +1 -0
  425. package/dist/next/{fractions/sales/parseFractionsCreatedEvent.js → nftFractions/parseNftFractionsCreatedEvent.js} +15 -18
  426. package/dist/next/nftFractions/schemas.d.ts +2 -0
  427. package/dist/next/nftFractions/schemas.d.ts.map +1 -0
  428. package/dist/next/nftFractions/schemas.js +1 -0
  429. package/dist/next/nftFractions/tag.d.ts +4 -0
  430. package/dist/next/nftFractions/tag.d.ts.map +1 -0
  431. package/dist/next/nftFractions/tag.js +2 -0
  432. package/dist/next/schemas.d.ts +4 -0
  433. package/dist/next/schemas.d.ts.map +1 -0
  434. package/dist/next/schemas.js +3 -0
  435. package/dist/next/{fractions/vestingRedemptionDynamic/setEpochPrice.routes.d.ts → vestingRedemptionDynamic/approveCampaign.d.ts} +6 -5
  436. package/dist/next/vestingRedemptionDynamic/approveCampaign.d.ts.map +1 -0
  437. package/dist/next/{fractions/vestingRedemptionDynamic/approveCampaign.routes.js → vestingRedemptionDynamic/approveCampaign.js} +10 -14
  438. package/dist/next/{fractions/vestingRedemptionDynamic/createCampaign.routes.d.ts → vestingRedemptionDynamic/createCampaign.d.ts} +3 -3
  439. package/dist/next/vestingRedemptionDynamic/createCampaign.d.ts.map +1 -0
  440. package/dist/next/{fractions/vestingRedemptionDynamic/createCampaign.routes.js → vestingRedemptionDynamic/createCampaign.js} +8 -25
  441. package/dist/next/{fractions/vestingRedemptionDynamic/deployMarket.routes.d.ts → vestingRedemptionDynamic/deployMarket.d.ts} +3 -3
  442. package/dist/next/vestingRedemptionDynamic/deployMarket.d.ts.map +1 -0
  443. package/dist/next/{fractions/vestingRedemptionDynamic/deployMarket.routes.js → vestingRedemptionDynamic/deployMarket.js} +9 -13
  444. package/dist/next/vestingRedemptionDynamic/epochPurchase.d.ts +28 -0
  445. package/dist/next/vestingRedemptionDynamic/epochPurchase.d.ts.map +1 -0
  446. package/dist/next/vestingRedemptionDynamic/epochPurchase.js +34 -0
  447. package/dist/next/vestingRedemptionDynamic/exchangeNftForFractions.d.ts +28 -0
  448. package/dist/next/vestingRedemptionDynamic/exchangeNftForFractions.d.ts.map +1 -0
  449. package/dist/next/vestingRedemptionDynamic/exchangeNftForFractions.js +34 -0
  450. package/dist/next/vestingRedemptionDynamic/getCurrentEpoch.d.ts +21 -0
  451. package/dist/next/vestingRedemptionDynamic/getCurrentEpoch.d.ts.map +1 -0
  452. package/dist/next/{fractions/vestingRedemptionDynamic/getCurrentEpoch.routes.js → vestingRedemptionDynamic/getCurrentEpoch.js} +16 -25
  453. package/dist/next/vestingRedemptionDynamic/getEpochPurchaseEvent.d.ts +24 -0
  454. package/dist/next/vestingRedemptionDynamic/getEpochPurchaseEvent.d.ts.map +1 -0
  455. package/dist/next/{fractions/vestingRedemptionDynamic/getEpochPurchaseEvent.routes.js → vestingRedemptionDynamic/getEpochPurchaseEvent.js} +23 -24
  456. package/dist/next/vestingRedemptionDynamic/getPurchasePriceForEpoch.d.ts +22 -0
  457. package/dist/next/vestingRedemptionDynamic/getPurchasePriceForEpoch.d.ts.map +1 -0
  458. package/dist/next/vestingRedemptionDynamic/getPurchasePriceForEpoch.js +45 -0
  459. package/dist/next/vestingRedemptionDynamic/getWithdrawalRequestedEvent.d.ts +22 -0
  460. package/dist/next/vestingRedemptionDynamic/getWithdrawalRequestedEvent.d.ts.map +1 -0
  461. package/dist/next/{fractions/vestingRedemptionDynamic/getWithdrawalRequestedEvent.routes.js → vestingRedemptionDynamic/getWithdrawalRequestedEvent.js} +21 -22
  462. package/dist/next/{fractions/vestingRedemptionDynamic → vestingRedemptionDynamic}/index.d.ts +62 -46
  463. package/dist/next/{fractions/vestingRedemptionDynamic → vestingRedemptionDynamic}/index.d.ts.map +1 -1
  464. package/dist/next/{fractions/vestingRedemptionDynamic → vestingRedemptionDynamic}/index.js +16 -12
  465. package/dist/next/vestingRedemptionDynamic/requestWithdrawal.d.ts +28 -0
  466. package/dist/next/vestingRedemptionDynamic/requestWithdrawal.d.ts.map +1 -0
  467. package/dist/next/vestingRedemptionDynamic/requestWithdrawal.js +33 -0
  468. package/dist/next/vestingRedemptionDynamic/schemas.d.ts +2 -0
  469. package/dist/next/vestingRedemptionDynamic/schemas.d.ts.map +1 -0
  470. package/dist/next/vestingRedemptionDynamic/schemas.js +1 -0
  471. package/dist/next/{fractions/lending/buyback/buyback.routes.d.ts → vestingRedemptionDynamic/setEpochPrice.d.ts} +7 -6
  472. package/dist/next/vestingRedemptionDynamic/setEpochPrice.d.ts.map +1 -0
  473. package/dist/next/vestingRedemptionDynamic/setEpochPrice.js +34 -0
  474. package/dist/next/vestingRedemptionDynamic/tag.d.ts +4 -0
  475. package/dist/next/vestingRedemptionDynamic/tag.d.ts.map +1 -0
  476. package/dist/next/vestingRedemptionDynamic/tag.js +2 -0
  477. package/dist/next/{fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts → vestingRedemptionDynamic/withdrawFunds.d.ts} +7 -5
  478. package/dist/next/vestingRedemptionDynamic/withdrawFunds.d.ts.map +1 -0
  479. package/dist/next/vestingRedemptionDynamic/withdrawFunds.js +34 -0
  480. package/dist/schemas.d.ts +3 -0
  481. package/dist/schemas.d.ts.map +1 -0
  482. package/dist/schemas.js +2 -0
  483. package/dist/staking/index.d.ts +38 -38
  484. package/dist/staking/platforms/common/platform.d.ts +4 -4
  485. package/dist/staking/platforms/common/platform.d.ts.map +1 -1
  486. package/dist/staking/platforms/common/platform.js +3 -3
  487. package/dist/staking/platforms/getPlatform/index.d.ts +5 -5
  488. package/dist/staking/platforms/getPlatform/index.d.ts.map +1 -1
  489. package/dist/staking/platforms/getPlatform/index.js +1 -1
  490. package/dist/staking/platforms/getPlatform/v0/getPlatform.d.ts +7 -7
  491. package/dist/staking/platforms/getPlatform/v0/getPlatform.d.ts.map +1 -1
  492. package/dist/staking/platforms/getPlatform/v0/getPlatform.js +2 -2
  493. package/dist/staking/platforms/index.d.ts +9 -9
  494. package/dist/staking/platforms/index.d.ts.map +1 -1
  495. package/dist/staking/platforms/index.js +1 -1
  496. package/dist/staking/platforms/searchPlatforms/index.d.ts +4 -4
  497. package/dist/staking/platforms/searchPlatforms/index.d.ts.map +1 -1
  498. package/dist/staking/platforms/searchPlatforms/index.js +1 -1
  499. package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts +6 -6
  500. package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts.map +1 -1
  501. package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.js +2 -2
  502. package/dist/staking/pools/common/pool.d.ts +4 -4
  503. package/dist/staking/pools/common/pool.d.ts.map +1 -1
  504. package/dist/staking/pools/common/pool.js +6 -5
  505. package/dist/staking/pools/getPool/index.d.ts +6 -6
  506. package/dist/staking/pools/getPool/index.d.ts.map +1 -1
  507. package/dist/staking/pools/getPool/index.js +1 -1
  508. package/dist/staking/pools/getPool/v0/getPool.d.ts +8 -8
  509. package/dist/staking/pools/getPool/v0/getPool.d.ts.map +1 -1
  510. package/dist/staking/pools/getPool/v0/getPool.js +3 -3
  511. package/dist/staking/pools/index.d.ts +10 -10
  512. package/dist/staking/pools/index.d.ts.map +1 -1
  513. package/dist/staking/pools/index.js +1 -1
  514. package/dist/staking/pools/searchPools/index.d.ts +4 -4
  515. package/dist/staking/pools/searchPools/index.d.ts.map +1 -1
  516. package/dist/staking/pools/searchPools/index.js +1 -1
  517. package/dist/staking/pools/searchPools/v0/searchPools.d.ts +6 -6
  518. package/dist/staking/pools/searchPools/v0/searchPools.d.ts.map +1 -1
  519. package/dist/staking/pools/searchPools/v0/searchPools.js +2 -2
  520. package/dist/staking/roles/common/role.d.ts +1 -1
  521. package/dist/staking/roles/common/role.d.ts.map +1 -1
  522. package/dist/staking/roles/common/role.js +1 -1
  523. package/dist/staking/roles/common/roleAssignment.d.ts +5 -5
  524. package/dist/staking/roles/common/roleAssignment.d.ts.map +1 -1
  525. package/dist/staking/roles/common/roleAssignment.js +3 -3
  526. package/dist/staking/roles/common/roleEvent.d.ts +3 -3
  527. package/dist/staking/roles/common/roleEvent.d.ts.map +1 -1
  528. package/dist/staking/roles/common/roleEvent.js +2 -2
  529. package/dist/staking/roles/getRoles/index.d.ts.map +1 -1
  530. package/dist/staking/roles/getRoles/index.js +1 -1
  531. package/dist/staking/roles/getRoles/v0/getRoles.d.ts +1 -1
  532. package/dist/staking/roles/getRoles/v0/getRoles.d.ts.map +1 -1
  533. package/dist/staking/roles/getRoles/v0/getRoles.js +2 -2
  534. package/dist/staking/roles/grantRole/index.d.ts.map +1 -1
  535. package/dist/staking/roles/grantRole/index.js +1 -1
  536. package/dist/staking/roles/grantRole/v0/grantRole.d.ts +1 -1
  537. package/dist/staking/roles/grantRole/v0/grantRole.d.ts.map +1 -1
  538. package/dist/staking/roles/grantRole/v0/grantRole.js +1 -1
  539. package/dist/staking/roles/index.d.ts +8 -8
  540. package/dist/staking/roles/index.d.ts.map +1 -1
  541. package/dist/staking/roles/index.js +1 -1
  542. package/dist/staking/roles/searchRoleEvents/index.d.ts +3 -3
  543. package/dist/staking/roles/searchRoleEvents/index.d.ts.map +1 -1
  544. package/dist/staking/roles/searchRoleEvents/index.js +1 -1
  545. package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts +5 -4
  546. package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts.map +1 -1
  547. package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.js +2 -2
  548. package/dist/staking/roles/searchRoles/index.d.ts +5 -5
  549. package/dist/staking/roles/searchRoles/index.d.ts.map +1 -1
  550. package/dist/staking/roles/searchRoles/index.js +1 -1
  551. package/dist/staking/roles/searchRoles/v0/searchRoles.d.ts +7 -7
  552. package/dist/staking/roles/searchRoles/v0/searchRoles.d.ts.map +1 -1
  553. package/dist/staking/roles/searchRoles/v0/searchRoles.js +3 -3
  554. package/dist/staking/stakes/common/stake.d.ts +8 -8
  555. package/dist/staking/stakes/common/stake.d.ts.map +1 -1
  556. package/dist/staking/stakes/common/stake.js +5 -5
  557. package/dist/staking/stakes/common/stakeEvent.d.ts +5 -5
  558. package/dist/staking/stakes/common/stakeEvent.d.ts.map +1 -1
  559. package/dist/staking/stakes/common/stakeEvent.js +2 -2
  560. package/dist/staking/stakes/getStake/index.d.ts +4 -4
  561. package/dist/staking/stakes/getStake/index.d.ts.map +1 -1
  562. package/dist/staking/stakes/getStake/index.js +1 -1
  563. package/dist/staking/stakes/getStake/v0/getStake.d.ts +5 -5
  564. package/dist/staking/stakes/getStake/v0/getStake.d.ts.map +1 -1
  565. package/dist/staking/stakes/getStake/v0/getStake.js +3 -3
  566. package/dist/staking/stakes/index.d.ts +11 -11
  567. package/dist/staking/stakes/index.d.ts.map +1 -1
  568. package/dist/staking/stakes/index.js +1 -1
  569. package/dist/staking/stakes/searchStakeEvents/index.d.ts +5 -5
  570. package/dist/staking/stakes/searchStakeEvents/index.d.ts.map +1 -1
  571. package/dist/staking/stakes/searchStakeEvents/index.js +1 -1
  572. package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts +7 -7
  573. package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts.map +1 -1
  574. package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.js +6 -5
  575. package/dist/staking/stakes/searchStakes/index.d.ts +2 -2
  576. package/dist/staking/stakes/searchStakes/index.d.ts.map +1 -1
  577. package/dist/staking/stakes/searchStakes/index.js +1 -1
  578. package/dist/staking/stakes/searchStakes/v0/searchStakes.d.ts +3 -3
  579. package/dist/staking/stakes/searchStakes/v0/searchStakes.d.ts.map +1 -1
  580. package/dist/staking/stakes/searchStakes/v0/searchStakes.js +2 -2
  581. package/dist/stakingTemplates/index.d.ts +27 -27
  582. package/dist/stakingTemplates/templates/common/amount.d.ts +4 -4
  583. package/dist/stakingTemplates/templates/common/amount.d.ts.map +1 -1
  584. package/dist/stakingTemplates/templates/common/amount.js +5 -5
  585. package/dist/stakingTemplates/templates/common/amountMult.d.ts +2 -2
  586. package/dist/stakingTemplates/templates/common/amountMult.d.ts.map +1 -1
  587. package/dist/stakingTemplates/templates/common/amountMult.js +3 -5
  588. package/dist/stakingTemplates/templates/common/erc20Input.d.ts +2 -2
  589. package/dist/stakingTemplates/templates/common/erc20Input.d.ts.map +1 -1
  590. package/dist/stakingTemplates/templates/common/erc20Input.js +3 -3
  591. package/dist/stakingTemplates/templates/common/erc20Reward.d.ts +2 -2
  592. package/dist/stakingTemplates/templates/common/erc20Reward.d.ts.map +1 -1
  593. package/dist/stakingTemplates/templates/common/erc20Reward.js +3 -3
  594. package/dist/stakingTemplates/templates/common/getCreatePoolEvent.d.ts +3 -3
  595. package/dist/stakingTemplates/templates/common/getCreatePoolEvent.d.ts.map +1 -1
  596. package/dist/stakingTemplates/templates/common/getCreatePoolEvent.js +2 -2
  597. package/dist/stakingTemplates/templates/common/getPlatformDeployEvent.d.ts +3 -3
  598. package/dist/stakingTemplates/templates/common/getPlatformDeployEvent.d.ts.map +1 -1
  599. package/dist/stakingTemplates/templates/common/getPlatformDeployEvent.js +2 -2
  600. package/dist/stakingTemplates/templates/common/getReward.d.ts.map +1 -1
  601. package/dist/stakingTemplates/templates/common/getReward.js +3 -2
  602. package/dist/stakingTemplates/templates/common/getStakeEvent.d.ts +2 -2
  603. package/dist/stakingTemplates/templates/common/getStakeEvent.d.ts.map +1 -1
  604. package/dist/stakingTemplates/templates/common/getStakeEvent.js +1 -1
  605. package/dist/stakingTemplates/templates/common/lock.d.ts +3 -3
  606. package/dist/stakingTemplates/templates/common/lock.d.ts.map +1 -1
  607. package/dist/stakingTemplates/templates/common/lock.js +6 -6
  608. package/dist/stakingTemplates/templates/common/lockMult.d.ts +2 -2
  609. package/dist/stakingTemplates/templates/common/lockMult.d.ts.map +1 -1
  610. package/dist/stakingTemplates/templates/common/lockMult.js +3 -5
  611. package/dist/stakingTemplates/templates/common/partialUnstake.d.ts.map +1 -1
  612. package/dist/stakingTemplates/templates/common/partialUnstake.js +3 -3
  613. package/dist/stakingTemplates/templates/common/rewardDistribution.d.ts +3 -3
  614. package/dist/stakingTemplates/templates/common/rewardDistribution.d.ts.map +1 -1
  615. package/dist/stakingTemplates/templates/common/rewardDistribution.js +4 -4
  616. package/dist/stakingTemplates/templates/common/templates.d.ts.map +1 -1
  617. package/dist/stakingTemplates/templates/common/time.d.ts +1 -1
  618. package/dist/stakingTemplates/templates/common/time.d.ts.map +1 -1
  619. package/dist/stakingTemplates/templates/common/time.js +1 -1
  620. package/dist/stakingTemplates/templates/common/unstake.d.ts.map +1 -1
  621. package/dist/stakingTemplates/templates/common/unstake.js +1 -1
  622. package/dist/stakingTemplates/templates/reputation/index.d.ts +9 -9
  623. package/dist/stakingTemplates/templates/reputation/index.d.ts.map +1 -1
  624. package/dist/stakingTemplates/templates/reputation/index.js +1 -1
  625. package/dist/stakingTemplates/templates/reputation/v0/createPlatform.d.ts +1 -1
  626. package/dist/stakingTemplates/templates/reputation/v0/createPlatform.d.ts.map +1 -1
  627. package/dist/stakingTemplates/templates/reputation/v0/createPlatform.js +2 -2
  628. package/dist/stakingTemplates/templates/reputation/v0/createPool.d.ts.map +1 -1
  629. package/dist/stakingTemplates/templates/reputation/v0/createPool.js +8 -8
  630. package/dist/stakingTemplates/templates/reputation/v0/index.d.ts +9 -9
  631. package/dist/stakingTemplates/templates/reputation/v0/index.d.ts.map +1 -1
  632. package/dist/stakingTemplates/templates/reputation/v0/index.js +7 -7
  633. package/dist/stakingTemplates/templates/reputation/v0/restake.d.ts.map +1 -1
  634. package/dist/stakingTemplates/templates/reputation/v0/restake.js +4 -4
  635. package/dist/stakingTemplates/templates/reputation/v0/stake.d.ts.map +1 -1
  636. package/dist/stakingTemplates/templates/reputation/v0/stake.js +4 -4
  637. package/dist/stakingTemplates/templates/reputationLock/index.d.ts +9 -9
  638. package/dist/stakingTemplates/templates/reputationLock/index.d.ts.map +1 -1
  639. package/dist/stakingTemplates/templates/reputationLock/index.js +1 -1
  640. package/dist/stakingTemplates/templates/reputationLock/v0/createPlatform.d.ts +1 -1
  641. package/dist/stakingTemplates/templates/reputationLock/v0/createPlatform.d.ts.map +1 -1
  642. package/dist/stakingTemplates/templates/reputationLock/v0/createPlatform.js +2 -2
  643. package/dist/stakingTemplates/templates/reputationLock/v0/createPool.d.ts.map +1 -1
  644. package/dist/stakingTemplates/templates/reputationLock/v0/createPool.js +10 -10
  645. package/dist/stakingTemplates/templates/reputationLock/v0/index.d.ts +9 -9
  646. package/dist/stakingTemplates/templates/reputationLock/v0/index.d.ts.map +1 -1
  647. package/dist/stakingTemplates/templates/reputationLock/v0/index.js +7 -7
  648. package/dist/stakingTemplates/templates/reputationLock/v0/restake.d.ts.map +1 -1
  649. package/dist/stakingTemplates/templates/reputationLock/v0/restake.js +5 -5
  650. package/dist/stakingTemplates/templates/reputationLock/v0/stake.d.ts.map +1 -1
  651. package/dist/stakingTemplates/templates/reputationLock/v0/stake.js +5 -5
  652. package/dist/stakingTemplates/templates/rwa/index.d.ts +9 -9
  653. package/dist/stakingTemplates/templates/rwa/index.d.ts.map +1 -1
  654. package/dist/stakingTemplates/templates/rwa/index.js +1 -1
  655. package/dist/stakingTemplates/templates/rwa/v0/createPlatform.d.ts +1 -1
  656. package/dist/stakingTemplates/templates/rwa/v0/createPlatform.d.ts.map +1 -1
  657. package/dist/stakingTemplates/templates/rwa/v0/createPlatform.js +2 -2
  658. package/dist/stakingTemplates/templates/rwa/v0/createPool.d.ts.map +1 -1
  659. package/dist/stakingTemplates/templates/rwa/v0/createPool.js +7 -7
  660. package/dist/stakingTemplates/templates/rwa/v0/distributeRewards.d.ts.map +1 -1
  661. package/dist/stakingTemplates/templates/rwa/v0/distributeRewards.js +4 -4
  662. package/dist/stakingTemplates/templates/rwa/v0/index.d.ts +9 -9
  663. package/dist/stakingTemplates/templates/rwa/v0/index.d.ts.map +1 -1
  664. package/dist/stakingTemplates/templates/rwa/v0/index.js +7 -7
  665. package/dist/stakingTemplates/templates/rwa/v0/restake.d.ts.map +1 -1
  666. package/dist/stakingTemplates/templates/rwa/v0/restake.js +4 -4
  667. package/dist/stakingTemplates/templates/rwa/v0/stake.d.ts.map +1 -1
  668. package/dist/stakingTemplates/templates/rwa/v0/stake.js +4 -4
  669. package/package.json +32 -13
  670. package/dist/common/int256.d.ts +0 -3
  671. package/dist/common/int256.d.ts.map +0 -1
  672. package/dist/common/int256.js +0 -12
  673. package/dist/common/models/base/chainId.d.ts +0 -8
  674. package/dist/common/models/base/chainId.d.ts.map +0 -1
  675. package/dist/common/models/base/chainId.js +0 -11
  676. package/dist/common/models/base/date.d.ts +0 -6
  677. package/dist/common/models/base/date.d.ts.map +0 -1
  678. package/dist/common/models/base/date.js +0 -13
  679. package/dist/common/models/base/deployTransaction.d.ts +0 -8
  680. package/dist/common/models/base/deployTransaction.d.ts.map +0 -1
  681. package/dist/common/models/base/deployTransaction.js +0 -7
  682. package/dist/common/models/base/page.d.ts +0 -7
  683. package/dist/common/models/base/page.d.ts.map +0 -1
  684. package/dist/common/models/base/page.js +0 -5
  685. package/dist/common/models/base/transaction.d.ts +0 -13
  686. package/dist/common/models/base/transaction.d.ts.map +0 -1
  687. package/dist/common/models/base/transaction.js +0 -12
  688. package/dist/common/models/base/viem.d.ts +0 -6
  689. package/dist/common/models/base/viem.d.ts.map +0 -1
  690. package/dist/common/models/base/viem.js +0 -5
  691. package/dist/common/models/date.d.ts +0 -2
  692. package/dist/common/models/date.d.ts.map +0 -1
  693. package/dist/common/models/date.js +0 -4
  694. package/dist/common/models/percent.d.ts +0 -3
  695. package/dist/common/models/percent.d.ts.map +0 -1
  696. package/dist/common/models/percent.js +0 -6
  697. package/dist/common/models/saleId.d.ts +0 -6
  698. package/dist/common/models/saleId.d.ts.map +0 -1
  699. package/dist/common/models/saleId.js +0 -7
  700. package/dist/common/models/viem.d.ts +0 -6
  701. package/dist/common/models/viem.d.ts.map +0 -1
  702. package/dist/common/models/viem.js +0 -22
  703. package/dist/fractions/markets/common/platform.d.ts.map +0 -1
  704. package/dist/fractions/markets/deployMarket.routes.d.ts.map +0 -1
  705. package/dist/fractions/markets/deployMarket.schema.d.ts +0 -33
  706. package/dist/fractions/markets/deployMarket.schema.d.ts.map +0 -1
  707. package/dist/fractions/markets/deployMarket.schema.js +0 -28
  708. package/dist/fractions/markets/getMarket/getMarket.d.ts.map +0 -1
  709. package/dist/fractions/markets/getMarket/index.d.ts +0 -50
  710. package/dist/fractions/markets/getMarket/index.d.ts.map +0 -1
  711. package/dist/fractions/markets/getMarket/index.js +0 -5
  712. package/dist/fractions/markets/initCompilot.routes.d.ts +0 -36
  713. package/dist/fractions/markets/initCompilot.routes.d.ts.map +0 -1
  714. package/dist/fractions/markets/searchMarkets/index.d.ts +0 -42
  715. package/dist/fractions/markets/searchMarkets/index.d.ts.map +0 -1
  716. package/dist/fractions/markets/searchMarkets/index.js +0 -5
  717. package/dist/fractions/markets/searchMarkets/searchMarkets.d.ts.map +0 -1
  718. package/dist/fractions/platforms/index.d.ts +0 -174
  719. package/dist/fractions/platforms/index.js +0 -13
  720. package/dist/fractions/roles/grantRole.route.d.ts.map +0 -1
  721. package/dist/fractions/roles/grantRole.schema.d.ts +0 -16
  722. package/dist/fractions/roles/grantRole.schema.d.ts.map +0 -1
  723. package/dist/fractions/roles/grantRole.schema.js +0 -14
  724. package/dist/fractions/sales/createFractions.schema.d.ts +0 -123
  725. package/dist/fractions/sales/createFractions.schema.d.ts.map +0 -1
  726. package/dist/fractions/sales/createFractions.schema.js +0 -80
  727. package/dist/next/fractions/index.d.ts +0 -671
  728. package/dist/next/fractions/index.js +0 -15
  729. package/dist/next/fractions/lending/buyback/buyback.routes.d.ts.map +0 -1
  730. package/dist/next/fractions/lending/buyback/buyback.schema.d.ts +0 -8
  731. package/dist/next/fractions/lending/buyback/buyback.schema.d.ts.map +0 -1
  732. package/dist/next/fractions/lending/buyback/buyback.schema.js +0 -13
  733. package/dist/next/fractions/lending/createLendingSale.d.ts +0 -130
  734. package/dist/next/fractions/lending/createLendingSale.d.ts.map +0 -1
  735. package/dist/next/fractions/lending/createLendingSale.js +0 -82
  736. package/dist/next/fractions/lending/deployMarket/lending.routes.d.ts.map +0 -1
  737. package/dist/next/fractions/lending/index.js +0 -15
  738. package/dist/next/fractions/lending/schemas.d.ts +0 -25
  739. package/dist/next/fractions/lending/schemas.d.ts.map +0 -1
  740. package/dist/next/fractions/lending/schemas.js +0 -21
  741. package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts.map +0 -1
  742. package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts +0 -7
  743. package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts.map +0 -1
  744. package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.schema.js +0 -11
  745. package/dist/next/fractions/platforms/default/deployNftFractionsMarket.routes.d.ts.map +0 -1
  746. package/dist/next/fractions/platforms/default/deployNftFractionsMarket.schema.d.ts +0 -25
  747. package/dist/next/fractions/platforms/default/deployNftFractionsMarket.schema.d.ts.map +0 -1
  748. package/dist/next/fractions/platforms/default/deployNftFractionsMarket.schema.js +0 -23
  749. package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.routes.d.ts.map +0 -1
  750. package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.schema.d.ts +0 -26
  751. package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.schema.d.ts.map +0 -1
  752. package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.schema.js +0 -24
  753. package/dist/next/fractions/platforms/index.d.ts +0 -69
  754. package/dist/next/fractions/platforms/index.d.ts.map +0 -1
  755. package/dist/next/fractions/platforms/index.js +0 -9
  756. package/dist/next/fractions/sales/createNftFractions.routes.d.ts.map +0 -1
  757. package/dist/next/fractions/sales/createNftFractions.schema.d.ts +0 -88
  758. package/dist/next/fractions/sales/createNftFractions.schema.d.ts.map +0 -1
  759. package/dist/next/fractions/sales/createNftFractions.schema.js +0 -61
  760. package/dist/next/fractions/sales/index.d.ts +0 -112
  761. package/dist/next/fractions/sales/index.d.ts.map +0 -1
  762. package/dist/next/fractions/sales/index.js +0 -11
  763. package/dist/next/fractions/sales/parseFractionsCreatedEvent.d.ts +0 -23
  764. package/dist/next/fractions/sales/parseFractionsCreatedEvent.d.ts.map +0 -1
  765. package/dist/next/fractions/vestingRedemptionDynamic/approveCampaign.routes.d.ts.map +0 -1
  766. package/dist/next/fractions/vestingRedemptionDynamic/createCampaign.routes.d.ts.map +0 -1
  767. package/dist/next/fractions/vestingRedemptionDynamic/createCampaign.schema.d.ts +0 -43
  768. package/dist/next/fractions/vestingRedemptionDynamic/createCampaign.schema.d.ts.map +0 -1
  769. package/dist/next/fractions/vestingRedemptionDynamic/createCampaign.schema.js +0 -48
  770. package/dist/next/fractions/vestingRedemptionDynamic/deployMarket.routes.d.ts.map +0 -1
  771. package/dist/next/fractions/vestingRedemptionDynamic/deployMarket.schema.d.ts +0 -23
  772. package/dist/next/fractions/vestingRedemptionDynamic/deployMarket.schema.d.ts.map +0 -1
  773. package/dist/next/fractions/vestingRedemptionDynamic/deployMarket.schema.js +0 -29
  774. package/dist/next/fractions/vestingRedemptionDynamic/epochPurchase.routes.d.ts +0 -51
  775. package/dist/next/fractions/vestingRedemptionDynamic/epochPurchase.routes.d.ts.map +0 -1
  776. package/dist/next/fractions/vestingRedemptionDynamic/epochPurchase.routes.js +0 -74
  777. package/dist/next/fractions/vestingRedemptionDynamic/epochWithdrawal.routes.d.ts +0 -51
  778. package/dist/next/fractions/vestingRedemptionDynamic/epochWithdrawal.routes.d.ts.map +0 -1
  779. package/dist/next/fractions/vestingRedemptionDynamic/epochWithdrawal.routes.js +0 -75
  780. package/dist/next/fractions/vestingRedemptionDynamic/getCurrentEpoch.routes.d.ts +0 -19
  781. package/dist/next/fractions/vestingRedemptionDynamic/getCurrentEpoch.routes.d.ts.map +0 -1
  782. package/dist/next/fractions/vestingRedemptionDynamic/getEpochPurchaseEvent.routes.d.ts +0 -23
  783. package/dist/next/fractions/vestingRedemptionDynamic/getEpochPurchaseEvent.routes.d.ts.map +0 -1
  784. package/dist/next/fractions/vestingRedemptionDynamic/getPurchasePriceForEpoch.routes.d.ts +0 -20
  785. package/dist/next/fractions/vestingRedemptionDynamic/getPurchasePriceForEpoch.routes.d.ts.map +0 -1
  786. package/dist/next/fractions/vestingRedemptionDynamic/getPurchasePriceForEpoch.routes.js +0 -59
  787. package/dist/next/fractions/vestingRedemptionDynamic/getWithdrawalRequestedEvent.routes.d.ts +0 -21
  788. package/dist/next/fractions/vestingRedemptionDynamic/getWithdrawalRequestedEvent.routes.d.ts.map +0 -1
  789. package/dist/next/fractions/vestingRedemptionDynamic/setEpochPrice.routes.d.ts.map +0 -1
  790. package/dist/next/fractions/vestingRedemptionDynamic/setEpochPrice.routes.js +0 -41
package/dist/client.d.ts CHANGED
@@ -7,17 +7,17 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
7
7
  $get: {
8
8
  input: {
9
9
  query: {
10
- chainId: string | string[];
11
- address: string | string[];
10
+ chainId: "31337" | "11155111" | "84532";
11
+ address: string;
12
12
  };
13
13
  };
14
14
  output: {
15
- chainId: 11155111 | 31337 | 84532;
15
+ chainId: "31337" | "11155111" | "84532";
16
16
  transactionHash: `0x${string}`;
17
- createdAt: string & import("zod").$brand<"ISO">;
17
+ createdAt: string & import("zod").$brand<"IsoDateString">;
18
18
  contractAddress: `0x${string}`;
19
19
  adminAddress: `0x${string}`;
20
- updatedAt: string & import("zod").$brand<"ISO">;
20
+ updatedAt: string & import("zod").$brand<"IsoDateString">;
21
21
  };
22
22
  outputFormat: "json";
23
23
  status: 200;
@@ -37,18 +37,18 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
37
37
  limit: number;
38
38
  };
39
39
  filter: {
40
- chainId?: unknown;
40
+ chainId?: "31337" | "11155111" | "84532" | undefined;
41
41
  owner?: string | undefined;
42
42
  };
43
43
  };
44
44
  };
45
45
  output: {
46
- chainId: 11155111 | 31337 | 84532;
46
+ chainId: "31337" | "11155111" | "84532";
47
47
  transactionHash: `0x${string}`;
48
- createdAt: string & import("zod").$brand<"ISO">;
48
+ createdAt: string & import("zod").$brand<"IsoDateString">;
49
49
  contractAddress: `0x${string}`;
50
50
  adminAddress: `0x${string}`;
51
- updatedAt: string & import("zod").$brand<"ISO">;
51
+ updatedAt: string & import("zod").$brand<"IsoDateString">;
52
52
  }[];
53
53
  outputFormat: "json";
54
54
  status: 200;
@@ -68,19 +68,19 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
68
68
  limit: number;
69
69
  };
70
70
  filter: {
71
- chainId?: unknown;
71
+ chainId?: "31337" | "11155111" | "84532" | undefined;
72
72
  platform?: string | undefined;
73
73
  };
74
74
  };
75
75
  };
76
76
  output: {
77
- chainId: 11155111 | 31337 | 84532;
77
+ chainId: "31337" | "11155111" | "84532";
78
78
  platform: `0x${string}`;
79
79
  rewardsHandler: `0x${string}`;
80
80
  assetHandler: `0x${string}`;
81
81
  txHash: `0x${string}`;
82
- poolId: never;
83
- createdAt: string & import("zod").$brand<"ISO">;
82
+ poolId: string & import("zod").$brand<"Int256">;
83
+ createdAt: string & import("zod").$brand<"IsoDateString">;
84
84
  }[];
85
85
  outputFormat: "json";
86
86
  status: 200;
@@ -95,19 +95,19 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
95
95
  $get: {
96
96
  input: {
97
97
  query: {
98
- chainId: string | string[];
99
- poolId: string | string[];
100
- platform: string | string[];
98
+ chainId: "31337" | "11155111" | "84532";
99
+ poolId: string;
100
+ platform: string;
101
101
  };
102
102
  };
103
103
  output: {
104
- chainId: 11155111 | 31337 | 84532;
104
+ chainId: "31337" | "11155111" | "84532";
105
105
  platform: `0x${string}`;
106
106
  rewardsHandler: `0x${string}`;
107
107
  assetHandler: `0x${string}`;
108
108
  txHash: `0x${string}`;
109
- poolId: never;
110
- createdAt: string & import("zod").$brand<"ISO">;
109
+ poolId: string & import("zod").$brand<"Int256">;
110
+ createdAt: string & import("zod").$brand<"IsoDateString">;
111
111
  };
112
112
  outputFormat: "json";
113
113
  status: 200;
@@ -127,7 +127,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
127
127
  limit: number;
128
128
  };
129
129
  filter: {
130
- chainId?: unknown;
130
+ chainId?: "31337" | "11155111" | "84532" | undefined;
131
131
  owner?: string | undefined;
132
132
  platform?: string | undefined;
133
133
  poolId?: string | undefined;
@@ -135,7 +135,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
135
135
  };
136
136
  };
137
137
  output: {
138
- chainId: import("hono/utils/types").JSONValue;
138
+ chainId: "31337" | "11155111" | "84532";
139
139
  platform: string;
140
140
  owner: string;
141
141
  stakeId: string;
@@ -166,7 +166,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
166
166
  limit: number;
167
167
  };
168
168
  filter: {
169
- chainId?: unknown;
169
+ chainId?: "31337" | "11155111" | "84532" | undefined;
170
170
  owner?: string | undefined;
171
171
  platform?: string | undefined;
172
172
  poolId?: string | undefined;
@@ -175,13 +175,13 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
175
175
  };
176
176
  output: {
177
177
  id: string;
178
- chainId: 11155111 | 31337 | 84532;
178
+ chainId: "31337" | "11155111" | "84532";
179
179
  platform: `0x${string}`;
180
180
  owner: `0x${string}`;
181
- stakeId: never;
182
- createdAt: string & import("zod").$brand<"ISO">;
181
+ stakeId: string & import("zod").$brand<"Int256">;
182
+ createdAt: string & import("zod").$brand<"IsoDateString">;
183
183
  txHash: `0x${string}`;
184
- poolId?: undefined;
184
+ poolId?: (string & import("zod").$brand<"Int256">) | undefined;
185
185
  }[];
186
186
  outputFormat: "json";
187
187
  status: 200;
@@ -196,13 +196,13 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
196
196
  $get: {
197
197
  input: {
198
198
  query: {
199
- chainId: string | string[];
200
- platform: string | string[];
201
- stakeId: string | string[];
199
+ chainId: "31337" | "11155111" | "84532";
200
+ platform: string;
201
+ stakeId: string;
202
202
  };
203
203
  };
204
204
  output: {
205
- chainId: import("hono/utils/types").JSONValue;
205
+ chainId: "31337" | "11155111" | "84532";
206
206
  platform: string;
207
207
  owner: string;
208
208
  stakeId: string;
@@ -286,7 +286,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
286
286
  limit: number;
287
287
  };
288
288
  filter: {
289
- chainId?: unknown;
289
+ chainId?: "31337" | "11155111" | "84532" | undefined;
290
290
  owner?: string | undefined;
291
291
  platform?: string | undefined;
292
292
  poolId?: string | undefined;
@@ -294,13 +294,13 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
294
294
  };
295
295
  };
296
296
  output: {
297
- chainId: 11155111 | 31337 | 84532;
297
+ chainId: "31337" | "11155111" | "84532";
298
298
  platform: `0x${string}`;
299
299
  roleId: `0x${string}`;
300
300
  owner: `0x${string}`;
301
- createdAt: string & import("zod").$brand<"ISO">;
302
- updatedAt: string & import("zod").$brand<"ISO">;
303
- poolId?: undefined;
301
+ createdAt: string & import("zod").$brand<"IsoDateString">;
302
+ updatedAt: string & import("zod").$brand<"IsoDateString">;
303
+ poolId?: (string & import("zod").$brand<"Int256">) | undefined;
304
304
  }[];
305
305
  outputFormat: "json";
306
306
  status: 200;
@@ -320,7 +320,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
320
320
  limit: number;
321
321
  };
322
322
  filter: {
323
- chainId?: unknown;
323
+ chainId?: "31337" | "11155111" | "84532" | undefined;
324
324
  owner?: string | undefined;
325
325
  platform?: string | undefined;
326
326
  poolId?: string | undefined;
@@ -330,12 +330,12 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
330
330
  output: {
331
331
  id: string;
332
332
  roleId: `0x${string}`;
333
- chainId: 11155111 | 31337 | 84532;
333
+ chainId: "31337" | "11155111" | "84532";
334
334
  platform: `0x${string}`;
335
335
  txHash: `0x${string}`;
336
336
  owner: `0x${string}`;
337
337
  isRevoked: boolean;
338
- poolId?: undefined;
338
+ poolId?: (string & import("zod").$brand<"Int256">) | undefined;
339
339
  }[];
340
340
  outputFormat: "json";
341
341
  status: 200;
@@ -351,8 +351,8 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
351
351
  $get: {
352
352
  input: {
353
353
  query: {
354
- chainId: string | string[];
355
- hash: string | string[];
354
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
355
+ hash: string;
356
356
  };
357
357
  };
358
358
  output: {
@@ -360,7 +360,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
360
360
  admin: `0x${string}`;
361
361
  };
362
362
  outputFormat: "json";
363
- status: 200;
363
+ status: import("hono/utils/http-status").ContentfulStatusCode;
364
364
  };
365
365
  }>;
366
366
  };
@@ -372,8 +372,8 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
372
372
  $get: {
373
373
  input: {
374
374
  query: {
375
- chainId: string | string[];
376
- hash: string | string[];
375
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
376
+ hash: string;
377
377
  };
378
378
  };
379
379
  output: {
@@ -398,8 +398,8 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
398
398
  $get: {
399
399
  input: {
400
400
  query: {
401
- chainId: string | string[];
402
- hash: string | string[];
401
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
402
+ hash: string;
403
403
  };
404
404
  };
405
405
  output: {
@@ -408,7 +408,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
408
408
  rewardAssetHandler: `0x${string}`;
409
409
  };
410
410
  outputFormat: "json";
411
- status: 200;
411
+ status: import("hono/utils/http-status").ContentfulStatusCode;
412
412
  };
413
413
  }>;
414
414
  };
@@ -599,7 +599,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
599
599
  $post: {
600
600
  input: {
601
601
  json: {
602
- chainId: unknown;
602
+ chainId: "31337" | "11155111" | "84532";
603
603
  erc721: {
604
604
  symbol: string;
605
605
  name: string;
@@ -632,8 +632,8 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
632
632
  $get: {
633
633
  input: {
634
634
  query: {
635
- chainId: string | string[];
636
- hash: string | string[];
635
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
636
+ hash: string;
637
637
  };
638
638
  };
639
639
  output: {
@@ -641,7 +641,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
641
641
  admin: `0x${string}`;
642
642
  };
643
643
  outputFormat: "json";
644
- status: 200;
644
+ status: import("hono/utils/http-status").ContentfulStatusCode;
645
645
  };
646
646
  }>;
647
647
  };
@@ -653,8 +653,8 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
653
653
  $get: {
654
654
  input: {
655
655
  query: {
656
- chainId: string | string[];
657
- hash: string | string[];
656
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
657
+ hash: string;
658
658
  };
659
659
  };
660
660
  output: {
@@ -679,8 +679,8 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
679
679
  $get: {
680
680
  input: {
681
681
  query: {
682
- chainId: string | string[];
683
- hash: string | string[];
682
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
683
+ hash: string;
684
684
  };
685
685
  };
686
686
  output: {
@@ -689,7 +689,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
689
689
  rewardAssetHandler: `0x${string}`;
690
690
  };
691
691
  outputFormat: "json";
692
- status: 200;
692
+ status: import("hono/utils/http-status").ContentfulStatusCode;
693
693
  };
694
694
  }>;
695
695
  };
@@ -891,7 +891,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
891
891
  $post: {
892
892
  input: {
893
893
  json: {
894
- chainId: unknown;
894
+ chainId: "31337" | "11155111" | "84532";
895
895
  erc721: {
896
896
  symbol: string;
897
897
  name: string;
@@ -924,8 +924,8 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
924
924
  $get: {
925
925
  input: {
926
926
  query: {
927
- chainId: string | string[];
928
- hash: string | string[];
927
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
928
+ hash: string;
929
929
  };
930
930
  };
931
931
  output: {
@@ -933,7 +933,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
933
933
  admin: `0x${string}`;
934
934
  };
935
935
  outputFormat: "json";
936
- status: 200;
936
+ status: import("hono/utils/http-status").ContentfulStatusCode;
937
937
  };
938
938
  }>;
939
939
  };
@@ -945,8 +945,8 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
945
945
  $get: {
946
946
  input: {
947
947
  query: {
948
- chainId: string | string[];
949
- hash: string | string[];
948
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
949
+ hash: string;
950
950
  };
951
951
  };
952
952
  output: {
@@ -971,8 +971,8 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
971
971
  $get: {
972
972
  input: {
973
973
  query: {
974
- chainId: string | string[];
975
- hash: string | string[];
974
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
975
+ hash: string;
976
976
  };
977
977
  };
978
978
  output: {
@@ -981,7 +981,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
981
981
  rewardAssetHandler: `0x${string}`;
982
982
  };
983
983
  outputFormat: "json";
984
- status: 200;
984
+ status: import("hono/utils/http-status").ContentfulStatusCode;
985
985
  };
986
986
  }>;
987
987
  };
@@ -1171,7 +1171,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1171
1171
  $post: {
1172
1172
  input: {
1173
1173
  json: {
1174
- chainId: unknown;
1174
+ chainId: "31337" | "11155111" | "84532";
1175
1175
  erc721: {
1176
1176
  symbol: string;
1177
1177
  name: string;
@@ -1232,13 +1232,13 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1232
1232
  $get: {
1233
1233
  input: {
1234
1234
  query: {
1235
- chainId: string | string[];
1236
- address: string | string[];
1235
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
1236
+ address: string;
1237
1237
  };
1238
1238
  };
1239
1239
  output: {
1240
1240
  error: string;
1241
- chainId: 1 | 11155111 | 31337 | 84532 | 72080;
1241
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
1242
1242
  market: `0x${string}`;
1243
1243
  };
1244
1244
  outputFormat: "json";
@@ -1246,19 +1246,19 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1246
1246
  } | {
1247
1247
  input: {
1248
1248
  query: {
1249
- chainId: string | string[];
1250
- address: string | string[];
1249
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
1250
+ address: string;
1251
1251
  };
1252
1252
  };
1253
1253
  output: {
1254
- chainId: import("hono/utils/types").JSONValue;
1254
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
1255
1255
  transactionHash: string;
1256
1256
  template: "unknown" | "default" | "compilot" | "continuous-withdrawal" | "continuous-withdrawal-nid" | "lending";
1257
1257
  contractAddress: string;
1258
1258
  adminAddress: string;
1259
1259
  wrapperAddress: string | null;
1260
1260
  burnAsset: {
1261
- chainId: import("hono/utils/types").JSONValue;
1261
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
1262
1262
  address: string;
1263
1263
  type: string;
1264
1264
  symbol: string;
@@ -1287,20 +1287,20 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1287
1287
  limit: number;
1288
1288
  };
1289
1289
  filter: {
1290
- chainId?: unknown;
1290
+ chainId?: "1" | "31337" | "11155111" | "84532" | "72080" | undefined;
1291
1291
  owner?: string | undefined;
1292
1292
  };
1293
1293
  };
1294
1294
  };
1295
1295
  output: {
1296
- chainId: import("hono/utils/types").JSONValue;
1296
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
1297
1297
  transactionHash: string;
1298
1298
  template: "unknown" | "default" | "compilot" | "continuous-withdrawal" | "continuous-withdrawal-nid" | "lending";
1299
1299
  contractAddress: string;
1300
1300
  adminAddress: string;
1301
1301
  wrapperAddress: string | null;
1302
1302
  burnAsset: {
1303
- chainId: import("hono/utils/types").JSONValue;
1303
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
1304
1304
  address: string;
1305
1305
  type: string;
1306
1306
  symbol: string;
@@ -1324,8 +1324,8 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1324
1324
  $get: {
1325
1325
  input: {
1326
1326
  query: {
1327
- chainId: string | string[];
1328
- hash: string | string[];
1327
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
1328
+ hash: string;
1329
1329
  };
1330
1330
  };
1331
1331
  output: {
@@ -1339,12 +1339,12 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1339
1339
  }>;
1340
1340
  };
1341
1341
  } & {
1342
- platforms: {
1343
- deploy: import("hono/client").ClientRequest<string, "/platforms/deploy", {
1342
+ markets: {
1343
+ deploy: import("hono/client").ClientRequest<string, "/markets/deploy", {
1344
1344
  $post: {
1345
1345
  input: {
1346
1346
  json: {
1347
- chainId: unknown;
1347
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
1348
1348
  adminAddress: string;
1349
1349
  ownerAddress?: string | undefined;
1350
1350
  discount?: {
@@ -1356,7 +1356,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1356
1356
  maxHardCap: string;
1357
1357
  } | undefined;
1358
1358
  fee?: {
1359
- percent: number;
1359
+ percent: string;
1360
1360
  collectorAddress: string;
1361
1361
  feeAdmin: string;
1362
1362
  } | undefined;
@@ -1378,12 +1378,12 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1378
1378
  }>;
1379
1379
  };
1380
1380
  } & {
1381
- platforms: {
1382
- deployNid: import("hono/client").ClientRequest<string, "/platforms/deployNid", {
1381
+ markets: {
1382
+ deployNid: import("hono/client").ClientRequest<string, "/markets/deployNid", {
1383
1383
  $post: {
1384
1384
  input: {
1385
1385
  json: {
1386
- chainId: unknown;
1386
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
1387
1387
  adminAddress: string;
1388
1388
  ownerAddress?: string | undefined;
1389
1389
  discount?: {
@@ -1395,7 +1395,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1395
1395
  maxHardCap: string;
1396
1396
  } | undefined;
1397
1397
  fee?: {
1398
- percent: number;
1398
+ percent: string;
1399
1399
  collectorAddress: string;
1400
1400
  feeAdmin: string;
1401
1401
  } | undefined;
@@ -1417,12 +1417,12 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1417
1417
  }>;
1418
1418
  };
1419
1419
  } & {
1420
- platforms: {
1421
- deployContinuousWithdraw: import("hono/client").ClientRequest<string, "/platforms/deployContinuousWithdraw", {
1420
+ markets: {
1421
+ deployContinuousWithdraw: import("hono/client").ClientRequest<string, "/markets/deployContinuousWithdraw", {
1422
1422
  $post: {
1423
1423
  input: {
1424
1424
  json: {
1425
- chainId: unknown;
1425
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
1426
1426
  adminAddress: string;
1427
1427
  ownerAddress?: string | undefined;
1428
1428
  discount?: {
@@ -1434,7 +1434,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1434
1434
  maxHardCap: string;
1435
1435
  } | undefined;
1436
1436
  fee?: {
1437
- percent: number;
1437
+ percent: string;
1438
1438
  collectorAddress: string;
1439
1439
  feeAdmin: string;
1440
1440
  } | undefined;
@@ -1456,12 +1456,12 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1456
1456
  }>;
1457
1457
  };
1458
1458
  } & {
1459
- platforms: {
1460
- deployContinuousWithdrawNid: import("hono/client").ClientRequest<string, "/platforms/deployContinuousWithdrawNid", {
1459
+ markets: {
1460
+ deployContinuousWithdrawNid: import("hono/client").ClientRequest<string, "/markets/deployContinuousWithdrawNid", {
1461
1461
  $post: {
1462
1462
  input: {
1463
1463
  json: {
1464
- chainId: unknown;
1464
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
1465
1465
  adminAddress: string;
1466
1466
  ownerAddress?: string | undefined;
1467
1467
  discount?: {
@@ -1473,7 +1473,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1473
1473
  maxHardCap: string;
1474
1474
  } | undefined;
1475
1475
  fee?: {
1476
- percent: number;
1476
+ percent: string;
1477
1477
  collectorAddress: string;
1478
1478
  feeAdmin: string;
1479
1479
  } | undefined;
@@ -1495,13 +1495,13 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1495
1495
  }>;
1496
1496
  };
1497
1497
  } & {
1498
- platforms: {
1499
- initCompilot: import("hono/client").ClientRequest<string, "/platforms/initCompilot", {
1498
+ markets: {
1499
+ initCompilot: import("hono/client").ClientRequest<string, "/markets/initCompilot", {
1500
1500
  $get: {
1501
1501
  input: {
1502
1502
  query: {
1503
1503
  market: string;
1504
- signerAddress?: string | undefined;
1504
+ compilotSigner?: string | undefined;
1505
1505
  };
1506
1506
  };
1507
1507
  output: {
@@ -1546,7 +1546,6 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1546
1546
  $post: {
1547
1547
  input: {
1548
1548
  json: {
1549
- chainId: unknown;
1550
1549
  marketAddress: string;
1551
1550
  users: string[];
1552
1551
  role: import("@evergonlabs/tmi-protocol-fractions-sdk").RoleTypeEnum;
@@ -1573,13 +1572,12 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1573
1572
  $post: {
1574
1573
  input: {
1575
1574
  json: {
1576
- chainId: unknown;
1575
+ chainId: number;
1577
1576
  market: string;
1578
1577
  fractions: {
1579
1578
  symbol: string;
1580
1579
  name: string;
1581
1580
  amount: string;
1582
- token?: string | undefined;
1583
1581
  };
1584
1582
  timeBoundary: {
1585
1583
  start: string;
@@ -1614,7 +1612,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1614
1612
  discounts?: {
1615
1613
  burnableTokenAddress: string;
1616
1614
  amountToBurn: string;
1617
- percentDiscount: number;
1615
+ percentDiscount: string;
1618
1616
  } | undefined;
1619
1617
  vesting?: {
1620
1618
  cliff: string;
@@ -1644,8 +1642,8 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1644
1642
  $get: {
1645
1643
  input: {
1646
1644
  query: {
1647
- chainId: string | string[];
1648
- hash: string | string[];
1645
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
1646
+ hash: string;
1649
1647
  };
1650
1648
  };
1651
1649
  output: {
@@ -1667,8 +1665,10 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1667
1665
  $post: {
1668
1666
  input: {
1669
1667
  json: {
1670
- marketAddress: string;
1671
- campaignId: string;
1668
+ campaign: {
1669
+ market: string;
1670
+ campaignId: string;
1671
+ };
1672
1672
  };
1673
1673
  };
1674
1674
  output: {
@@ -1692,7 +1692,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1692
1692
  $post: {
1693
1693
  input: {
1694
1694
  json: {
1695
- marketAddress: string;
1695
+ market: string;
1696
1696
  saleId: string;
1697
1697
  };
1698
1698
  };
@@ -1711,7 +1711,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1711
1711
  } | {
1712
1712
  input: {
1713
1713
  json: {
1714
- marketAddress: string;
1714
+ market: string;
1715
1715
  saleId: string;
1716
1716
  };
1717
1717
  };
@@ -1723,7 +1723,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1723
1723
  } | {
1724
1724
  input: {
1725
1725
  json: {
1726
- marketAddress: string;
1726
+ market: string;
1727
1727
  saleId: string;
1728
1728
  };
1729
1729
  };
@@ -1741,8 +1741,10 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1741
1741
  $post: {
1742
1742
  input: {
1743
1743
  json: {
1744
- marketAddress: string;
1745
- campaignId: string;
1744
+ campaign: {
1745
+ market: string;
1746
+ campaignId: string;
1747
+ };
1746
1748
  lostAccount: string;
1747
1749
  recoveryAddress: string;
1748
1750
  amountOfFractions: string;
@@ -1764,8 +1766,10 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1764
1766
  } | {
1765
1767
  input: {
1766
1768
  json: {
1767
- marketAddress: string;
1768
- campaignId: string;
1769
+ campaign: {
1770
+ market: string;
1771
+ campaignId: string;
1772
+ };
1769
1773
  lostAccount: string;
1770
1774
  recoveryAddress: string;
1771
1775
  amountOfFractions: string;
@@ -1780,8 +1784,10 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1780
1784
  } | {
1781
1785
  input: {
1782
1786
  json: {
1783
- marketAddress: string;
1784
- campaignId: string;
1787
+ campaign: {
1788
+ market: string;
1789
+ campaignId: string;
1790
+ };
1785
1791
  lostAccount: string;
1786
1792
  recoveryAddress: string;
1787
1793
  amountOfFractions: string;
@@ -1802,8 +1808,10 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1802
1808
  $post: {
1803
1809
  input: {
1804
1810
  json: {
1805
- marketAddress: string;
1806
- campaignId: string;
1811
+ campaign: {
1812
+ market: string;
1813
+ campaignId: string;
1814
+ };
1807
1815
  };
1808
1816
  };
1809
1817
  output: {
@@ -1827,8 +1835,10 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1827
1835
  $post: {
1828
1836
  input: {
1829
1837
  json: {
1830
- market: string;
1831
- campaignId: string;
1838
+ campaign: {
1839
+ market: string;
1840
+ campaignId: string;
1841
+ };
1832
1842
  };
1833
1843
  };
1834
1844
  output: {
@@ -1852,11 +1862,14 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1852
1862
  $post: {
1853
1863
  input: {
1854
1864
  json: {
1855
- market: string;
1856
- campaignId: string;
1857
- chainId: unknown;
1865
+ campaign: {
1866
+ market: string;
1867
+ campaignId: string;
1868
+ };
1869
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
1858
1870
  amountToBuy: string;
1859
- applyDiscount: boolean;
1871
+ tokenId?: string | undefined;
1872
+ burnForDiscount?: string | undefined;
1860
1873
  };
1861
1874
  };
1862
1875
  output: {
@@ -1884,11 +1897,11 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1884
1897
  platform: string;
1885
1898
  campaignId: string;
1886
1899
  walletAddress: string;
1887
- chainId?: unknown;
1900
+ chainId?: "1" | "31337" | "11155111" | "84532" | "72080" | undefined;
1888
1901
  };
1889
1902
  };
1890
1903
  output: {
1891
- chainId: 1 | 11155111 | 31337 | 84532 | 72080;
1904
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
1892
1905
  platform: `0x${string}`;
1893
1906
  campaignId: string;
1894
1907
  statistics: {
@@ -1915,7 +1928,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1915
1928
  limit: number;
1916
1929
  };
1917
1930
  filter: {
1918
- chainId?: unknown;
1931
+ chainId?: "1" | "31337" | "11155111" | "84532" | "72080" | undefined;
1919
1932
  platform?: string | undefined;
1920
1933
  campaignId?: string | undefined;
1921
1934
  };
@@ -1967,8 +1980,10 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1967
1980
  $post: {
1968
1981
  input: {
1969
1982
  json: {
1970
- market: string;
1971
- campaignId: string;
1983
+ campaign: {
1984
+ market: string;
1985
+ campaignId: string;
1986
+ };
1972
1987
  };
1973
1988
  };
1974
1989
  output: {
@@ -1992,11 +2007,40 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1992
2007
  $post: {
1993
2008
  input: {
1994
2009
  json: {
2010
+ campaign: {
2011
+ market: string;
2012
+ campaignId: string;
2013
+ };
2014
+ amountOfFractions: string;
2015
+ };
2016
+ };
2017
+ output: {
2018
+ data: `0x${string}`;
2019
+ to: `0x${string}`;
2020
+ details: {
2021
+ functionName: string;
2022
+ address: `0x${string}`;
2023
+ abi: any[];
2024
+ args: any[];
2025
+ };
2026
+ };
2027
+ outputFormat: "json";
2028
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2029
+ };
2030
+ }>;
2031
+ };
2032
+ } & {
2033
+ sales: {
2034
+ receiveFundsAfterNonFundedDiscount: import("hono/client").ClientRequest<string, "/sales/receiveFundsAfterNonFundedDiscount", {
2035
+ $post: {
2036
+ input: {
2037
+ json: {
2038
+ campaign: {
2039
+ market: string;
2040
+ campaignId: string;
2041
+ };
2042
+ upperGenesisId: string;
1995
2043
  amountOfFractions: string;
1996
- isDiscounted: boolean;
1997
- market: string;
1998
- campaignId: string;
1999
- upperGenesisId?: string | undefined;
2000
2044
  };
2001
2045
  };
2002
2046
  output: {
@@ -2020,8 +2064,10 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2020
2064
  $post: {
2021
2065
  input: {
2022
2066
  json: {
2023
- market: string;
2024
- campaignId: string;
2067
+ campaign: {
2068
+ market: string;
2069
+ campaignId: string;
2070
+ };
2025
2071
  };
2026
2072
  };
2027
2073
  output: {
@@ -2045,8 +2091,10 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2045
2091
  $post: {
2046
2092
  input: {
2047
2093
  json: {
2048
- market: string;
2049
- campaignId: string;
2094
+ campaign: {
2095
+ market: string;
2096
+ campaignId: string;
2097
+ };
2050
2098
  };
2051
2099
  };
2052
2100
  output: {
@@ -2071,7 +2119,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2071
2119
  $post: {
2072
2120
  input: {
2073
2121
  json: {
2074
- marketAddress: string;
2122
+ market: string;
2075
2123
  saleId: string;
2076
2124
  newCliffDate: string;
2077
2125
  };
@@ -2091,7 +2139,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2091
2139
  } | {
2092
2140
  input: {
2093
2141
  json: {
2094
- marketAddress: string;
2142
+ market: string;
2095
2143
  saleId: string;
2096
2144
  newCliffDate: string;
2097
2145
  };
@@ -2104,7 +2152,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2104
2152
  } | {
2105
2153
  input: {
2106
2154
  json: {
2107
- marketAddress: string;
2155
+ market: string;
2108
2156
  saleId: string;
2109
2157
  newCliffDate: string;
2110
2158
  };
@@ -2183,16 +2231,16 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2183
2231
  $post: {
2184
2232
  input: {
2185
2233
  json: {
2186
- chainId: unknown;
2234
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
2187
2235
  platform: string;
2188
2236
  campaignId: string;
2189
2237
  walletAddress: string;
2190
2238
  };
2191
2239
  };
2192
2240
  output: {
2193
- chainId: 1 | 11155111 | 31337 | 84532 | 72080;
2241
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
2194
2242
  platform: `0x${string}`;
2195
- campaignId: never;
2243
+ campaignId: string & import("zod").$brand<"Int256">;
2196
2244
  totalClaims: number;
2197
2245
  lastClaimId: null;
2198
2246
  totalClaimed: {
@@ -2214,8 +2262,8 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2214
2262
  $get: {
2215
2263
  input: {
2216
2264
  query: {
2217
- chainId: string | string[];
2218
- hash: string | string[];
2265
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
2266
+ hash: string;
2219
2267
  };
2220
2268
  };
2221
2269
  output: {
@@ -2242,7 +2290,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2242
2290
  limit: number;
2243
2291
  };
2244
2292
  filter: {
2245
- chainId?: unknown;
2293
+ chainId?: "1" | "31337" | "11155111" | "84532" | "72080" | undefined;
2246
2294
  owner?: string | undefined;
2247
2295
  platform?: string | undefined;
2248
2296
  campaignId?: string | undefined;
@@ -2250,15 +2298,15 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2250
2298
  };
2251
2299
  };
2252
2300
  output: {
2253
- chainId: import("hono/utils/types").JSONValue;
2301
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
2254
2302
  platform: string;
2255
2303
  campaignId: string;
2256
2304
  nftId: string;
2257
- status: "finalized" | "created" | "approved" | "rejected" | "refunded";
2305
+ status: "created" | "approved" | "rejected" | "finalized" | "refunded";
2258
2306
  owner: string;
2259
2307
  fractions: {
2260
2308
  asset: {
2261
- chainId: import("hono/utils/types").JSONValue;
2309
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
2262
2310
  address: string;
2263
2311
  type: string;
2264
2312
  symbol: string;
@@ -2287,7 +2335,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2287
2335
  } | null;
2288
2336
  wrappedAssets: {
2289
2337
  asset: {
2290
- chainId: import("hono/utils/types").JSONValue;
2338
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
2291
2339
  address: string;
2292
2340
  type: string;
2293
2341
  symbol: string;
@@ -2300,7 +2348,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2300
2348
  }[];
2301
2349
  fundingAssets: {
2302
2350
  asset: {
2303
- chainId: import("hono/utils/types").JSONValue;
2351
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
2304
2352
  address: string;
2305
2353
  type: string;
2306
2354
  symbol: string;
@@ -2331,7 +2379,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2331
2379
  limit: number;
2332
2380
  };
2333
2381
  filter: {
2334
- chainId?: unknown;
2382
+ chainId?: "1" | "31337" | "11155111" | "84532" | "72080" | undefined;
2335
2383
  platform?: string | undefined;
2336
2384
  campaignId?: string | undefined;
2337
2385
  operationType?: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum | undefined;
@@ -2339,13 +2387,13 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2339
2387
  };
2340
2388
  };
2341
2389
  output: {
2342
- chainId: 1 | 11155111 | 31337 | 84532 | 72080;
2390
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
2343
2391
  platform: `0x${string}`;
2344
2392
  campaignId: string & import("zod").$brand<"Int256">;
2345
2393
  transactionHash: `0x${string}`;
2346
2394
  from: `0x${string}`;
2347
- createdAt: string & import("zod").$brand<"ISO">;
2348
- updatedAt: string & import("zod").$brand<"ISO">;
2395
+ createdAt: string & import("zod").$brand<"IsoDateString">;
2396
+ updatedAt: string & import("zod").$brand<"IsoDateString">;
2349
2397
  metadata: {
2350
2398
  type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.CREATED;
2351
2399
  } | {
@@ -2395,13 +2443,13 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2395
2443
  $post: {
2396
2444
  input: {
2397
2445
  json: {
2398
- chainId: unknown;
2446
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
2399
2447
  platform: string;
2400
2448
  campaignId: string;
2401
2449
  };
2402
2450
  };
2403
2451
  output: {
2404
- chainId: 1 | 11155111 | 31337 | 84532 | 72080;
2452
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
2405
2453
  platform: `0x${string}`;
2406
2454
  campaignId: string;
2407
2455
  statistics: {
@@ -2421,8 +2469,10 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2421
2469
  $post: {
2422
2470
  input: {
2423
2471
  json: {
2424
- marketAddress: string;
2425
- campaignId: string;
2472
+ campaign: {
2473
+ market: string;
2474
+ campaignId: string;
2475
+ };
2426
2476
  packetsLimit: string;
2427
2477
  };
2428
2478
  };
@@ -2447,8 +2497,8 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2447
2497
  $get: {
2448
2498
  input: {
2449
2499
  query: {
2450
- chainId: string | string[];
2451
- hash: string | string[];
2500
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
2501
+ hash: string;
2452
2502
  };
2453
2503
  };
2454
2504
  output: {
@@ -2467,14 +2517,14 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2467
2517
  $get: {
2468
2518
  input: {
2469
2519
  query: {
2470
- chainId: string | string[];
2471
- platform: string | string[];
2472
- campaign: string | string[];
2520
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
2521
+ platform: string;
2522
+ campaign: string;
2473
2523
  };
2474
2524
  };
2475
2525
  output: {
2476
2526
  error: string;
2477
- chainId: 1 | 11155111 | 31337 | 84532 | 72080;
2527
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
2478
2528
  market: `0x${string}`;
2479
2529
  };
2480
2530
  outputFormat: "json";
@@ -2482,9 +2532,9 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2482
2532
  } | {
2483
2533
  input: {
2484
2534
  query: {
2485
- chainId: string | string[];
2486
- platform: string | string[];
2487
- campaign: string | string[];
2535
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
2536
+ platform: string;
2537
+ campaign: string;
2488
2538
  };
2489
2539
  };
2490
2540
  output: {
@@ -2501,8 +2551,8 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2501
2551
  $post: {
2502
2552
  input: {
2503
2553
  json: {
2504
- marketAddress: string;
2505
- wrapperAddress: string;
2554
+ market: string;
2555
+ wrapper: string;
2506
2556
  };
2507
2557
  };
2508
2558
  output: {
@@ -2528,7 +2578,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2528
2578
  json: {
2529
2579
  marketAddress: string;
2530
2580
  userAddress: string;
2531
- chainId: unknown;
2581
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
2532
2582
  };
2533
2583
  };
2534
2584
  output: {
@@ -2547,7 +2597,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2547
2597
  json: {
2548
2598
  marketAddress: string;
2549
2599
  userAddress: string;
2550
- chainId: unknown;
2600
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
2551
2601
  nonce: string;
2552
2602
  blockExpiration: string;
2553
2603
  callData: string;
@@ -2568,17 +2618,17 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2568
2618
  $post: {
2569
2619
  input: {
2570
2620
  json: {
2571
- chainId?: unknown;
2621
+ chainId?: "1" | "31337" | "11155111" | "84532" | "72080" | undefined;
2572
2622
  };
2573
2623
  };
2574
2624
  output: {
2575
- [x: number]: string & import("zod").$brand<"Int256">;
2625
+ [x: string]: string & import("zod").$brand<"Int256">;
2576
2626
  total: string & import("zod").$brand<"Int256">;
2577
2627
  } | {
2578
2628
  total: string & import("zod").$brand<"Int256">;
2579
2629
  1: string & import("zod").$brand<"Int256">;
2580
- 11155111: string & import("zod").$brand<"Int256">;
2581
2630
  31337: string & import("zod").$brand<"Int256">;
2631
+ 11155111: string & import("zod").$brand<"Int256">;
2582
2632
  84532: string & import("zod").$brand<"Int256">;
2583
2633
  72080: string & import("zod").$brand<"Int256">;
2584
2634
  };
@@ -2593,17 +2643,17 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2593
2643
  $post: {
2594
2644
  input: {
2595
2645
  json: {
2596
- chainId?: unknown;
2646
+ chainId?: "1" | "31337" | "11155111" | "84532" | "72080" | undefined;
2597
2647
  };
2598
2648
  };
2599
2649
  output: {
2600
- [x: number]: string & import("zod").$brand<"Int256">;
2650
+ [x: string]: string & import("zod").$brand<"Int256">;
2601
2651
  total: string & import("zod").$brand<"Int256">;
2602
2652
  } | {
2603
2653
  total: string & import("zod").$brand<"Int256">;
2604
2654
  1: string & import("zod").$brand<"Int256">;
2605
- 11155111: string & import("zod").$brand<"Int256">;
2606
2655
  31337: string & import("zod").$brand<"Int256">;
2656
+ 11155111: string & import("zod").$brand<"Int256">;
2607
2657
  84532: string & import("zod").$brand<"Int256">;
2608
2658
  72080: string & import("zod").$brand<"Int256">;
2609
2659
  };
@@ -2618,17 +2668,17 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2618
2668
  $post: {
2619
2669
  input: {
2620
2670
  json: {
2621
- chainId?: unknown;
2671
+ chainId?: "1" | "31337" | "11155111" | "84532" | "72080" | undefined;
2622
2672
  };
2623
2673
  };
2624
2674
  output: {
2625
- [x: number]: string & import("zod").$brand<"Int256">;
2675
+ [x: string]: string & import("zod").$brand<"Int256">;
2626
2676
  total: string & import("zod").$brand<"Int256">;
2627
2677
  } | {
2628
2678
  total: string & import("zod").$brand<"Int256">;
2629
2679
  1: string & import("zod").$brand<"Int256">;
2630
- 11155111: string & import("zod").$brand<"Int256">;
2631
2680
  31337: string & import("zod").$brand<"Int256">;
2681
+ 11155111: string & import("zod").$brand<"Int256">;
2632
2682
  84532: string & import("zod").$brand<"Int256">;
2633
2683
  72080: string & import("zod").$brand<"Int256">;
2634
2684
  };
@@ -2642,7 +2692,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2642
2692
  $post: {
2643
2693
  input: {
2644
2694
  json: {
2645
- chainId?: unknown;
2695
+ chainId?: "1" | "31337" | "11155111" | "84532" | "72080" | undefined;
2646
2696
  };
2647
2697
  };
2648
2698
  output: {
@@ -2656,12 +2706,12 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2656
2706
  sales: string & import("zod").$brand<"Int256">;
2657
2707
  ttv: string & import("zod").$brand<"Int256">;
2658
2708
  };
2659
- 11155111: {
2709
+ 31337: {
2660
2710
  holders: string & import("zod").$brand<"Int256">;
2661
2711
  sales: string & import("zod").$brand<"Int256">;
2662
2712
  ttv: string & import("zod").$brand<"Int256">;
2663
2713
  };
2664
- 31337: {
2714
+ 11155111: {
2665
2715
  holders: string & import("zod").$brand<"Int256">;
2666
2716
  sales: string & import("zod").$brand<"Int256">;
2667
2717
  ttv: string & import("zod").$brand<"Int256">;
@@ -2687,7 +2737,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2687
2737
  $post: {
2688
2738
  input: {
2689
2739
  json: {
2690
- chainId: unknown;
2740
+ chainId: "31337" | "11155111" | "84532";
2691
2741
  data: string;
2692
2742
  from: string;
2693
2743
  to: string;
@@ -2706,8 +2756,8 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2706
2756
  $get: {
2707
2757
  input: {
2708
2758
  query: {
2709
- chainId: string | string[];
2710
- address: string | string[];
2759
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
2760
+ address: string;
2711
2761
  };
2712
2762
  };
2713
2763
  output: {
@@ -2723,7 +2773,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2723
2773
  $post: {
2724
2774
  input: {
2725
2775
  json: {
2726
- chainId: unknown;
2776
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
2727
2777
  address: string;
2728
2778
  contracts: string[];
2729
2779
  };
@@ -2746,7 +2796,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2746
2796
  $post: {
2747
2797
  input: {
2748
2798
  json: {
2749
- chainId: unknown;
2799
+ chainId: "1" | "31337" | "11155111" | "84532" | "72080";
2750
2800
  address: string;
2751
2801
  };
2752
2802
  };
@@ -2775,7 +2825,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2775
2825
  $post: {
2776
2826
  input: {
2777
2827
  json: {
2778
- chainId: 11155111 | 84532 | 72080;
2828
+ chainId: "11155111" | "84532" | "72080";
2779
2829
  tokenName: string;
2780
2830
  tokenSymbol: string;
2781
2831
  supplyCap: string;
@@ -2833,8 +2883,8 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2833
2883
  $get: {
2834
2884
  input: {
2835
2885
  query: {
2836
- chainId: string | string[];
2837
- hash: string | string[];
2886
+ chainId: "11155111" | "84532" | "72080";
2887
+ hash: string;
2838
2888
  };
2839
2889
  };
2840
2890
  output: {
@@ -2856,7 +2906,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2856
2906
  $post: {
2857
2907
  input: {
2858
2908
  json: {
2859
- chainId: 11155111 | 84532 | 72080;
2909
+ chainId: "11155111" | "84532" | "72080";
2860
2910
  tokenName: string;
2861
2911
  tokenSymbol: string;
2862
2912
  supplyCap: string;
@@ -2916,8 +2966,8 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2916
2966
  $get: {
2917
2967
  input: {
2918
2968
  query: {
2919
- chainId: string | string[];
2920
- hash: string | string[];
2969
+ chainId: "11155111" | "84532" | "72080";
2970
+ hash: string;
2921
2971
  };
2922
2972
  };
2923
2973
  output: {
@@ -2975,8 +3025,8 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2975
3025
  $get: {
2976
3026
  input: {
2977
3027
  query: {
2978
- chainId: string | string[];
2979
- hash: string | string[];
3028
+ chainId: "11155111" | "84532" | "72080";
3029
+ hash: string;
2980
3030
  };
2981
3031
  };
2982
3032
  output: {
@@ -3229,7 +3279,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
3229
3279
  $post: {
3230
3280
  input: {
3231
3281
  json: {
3232
- chainId: 11155111 | 84532 | 72080;
3282
+ chainId: "11155111" | "84532" | "72080";
3233
3283
  tokenName: string;
3234
3284
  tokenSymbol: string;
3235
3285
  baseURI: string;
@@ -3287,8 +3337,8 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
3287
3337
  $get: {
3288
3338
  input: {
3289
3339
  query: {
3290
- chainId: string | string[];
3291
- hash: string | string[];
3340
+ chainId: "11155111" | "84532" | "72080";
3341
+ hash: string;
3292
3342
  };
3293
3343
  };
3294
3344
  output: {
@@ -3310,7 +3360,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
3310
3360
  $post: {
3311
3361
  input: {
3312
3362
  json: {
3313
- chainId: 11155111 | 84532 | 72080;
3363
+ chainId: "11155111" | "84532" | "72080";
3314
3364
  tokenName: string;
3315
3365
  tokenSymbol: string;
3316
3366
  baseURI: string;
@@ -3370,8 +3420,8 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
3370
3420
  $get: {
3371
3421
  input: {
3372
3422
  query: {
3373
- chainId: string | string[];
3374
- hash: string | string[];
3423
+ chainId: "11155111" | "84532" | "72080";
3424
+ hash: string;
3375
3425
  };
3376
3426
  };
3377
3427
  output: {
@@ -3652,8 +3702,8 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
3652
3702
  $get: {
3653
3703
  input: {
3654
3704
  query: {
3655
- chainId: string | string[];
3656
- hash: string | string[];
3705
+ chainId: "11155111" | "84532" | "72080";
3706
+ hash: string;
3657
3707
  };
3658
3708
  };
3659
3709
  output: {
@@ -3670,7 +3720,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
3670
3720
  $post: {
3671
3721
  input: {
3672
3722
  json: {
3673
- chainId: 11155111 | 84532 | 72080;
3723
+ chainId: "11155111" | "84532" | "72080";
3674
3724
  baseURI: string;
3675
3725
  defaultTokenAdmin: string;
3676
3726
  minter: string;
@@ -3724,8 +3774,8 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
3724
3774
  $get: {
3725
3775
  input: {
3726
3776
  query: {
3727
- chainId: string | string[];
3728
- hash: string | string[];
3777
+ chainId: "11155111" | "84532" | "72080";
3778
+ hash: string;
3729
3779
  };
3730
3780
  };
3731
3781
  output: {
@@ -3745,7 +3795,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
3745
3795
  $post: {
3746
3796
  input: {
3747
3797
  json: {
3748
- chainId: 11155111 | 84532 | 72080;
3798
+ chainId: "11155111" | "84532" | "72080";
3749
3799
  baseURI: string;
3750
3800
  defaultTokenAdmin: string;
3751
3801
  minter: string;
@@ -3801,8 +3851,8 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
3801
3851
  $get: {
3802
3852
  input: {
3803
3853
  query: {
3804
- chainId: string | string[];
3805
- hash: string | string[];
3854
+ chainId: "11155111" | "84532" | "72080";
3855
+ hash: string;
3806
3856
  };
3807
3857
  };
3808
3858
  output: {
@@ -4059,8 +4109,8 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
4059
4109
  $get: {
4060
4110
  input: {
4061
4111
  query: {
4062
- chainId: string | string[];
4063
- hash: string | string[];
4112
+ chainId: "11155111" | "84532" | "72080";
4113
+ hash: string;
4064
4114
  };
4065
4115
  };
4066
4116
  output: {
@@ -4136,724 +4186,7 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
4136
4186
  };
4137
4187
  };
4138
4188
  };
4139
- export declare function buildNextClients(basePath: string, options?: ClientRequestOptions): {
4140
- fractions: {
4141
- sales: {
4142
- purchase: import("hono/client").ClientRequest<string, "/sales/purchase", {
4143
- $post: {
4144
- input: {
4145
- json: {
4146
- market: string;
4147
- campaignId: string;
4148
- chainId: unknown;
4149
- amountToBuy: string;
4150
- applyDiscount: boolean;
4151
- };
4152
- };
4153
- output: {
4154
- data: `0x${string}`;
4155
- to: `0x${string}`;
4156
- details: {
4157
- functionName: string;
4158
- address: `0x${string}`;
4159
- abi: any[];
4160
- args: any[];
4161
- };
4162
- };
4163
- outputFormat: "json";
4164
- status: import("hono/utils/http-status").ContentfulStatusCode;
4165
- };
4166
- }>;
4167
- };
4168
- } & {
4169
- platforms: {
4170
- deployNftFractions: import("hono/client").ClientRequest<string, "/platforms/deployNftFractions", {
4171
- $post: {
4172
- input: {
4173
- json: {
4174
- chainId: unknown;
4175
- adminAddress: string;
4176
- acceptedFundingTokens: string[];
4177
- ownerAddress?: string | undefined;
4178
- cap?: {
4179
- maxHardCap: string;
4180
- } | undefined;
4181
- fee?: {
4182
- percent: number;
4183
- collectorAddress: string;
4184
- feeAdmin: string;
4185
- } | undefined;
4186
- };
4187
- };
4188
- output: {
4189
- data: `0x${string}`;
4190
- to: `0x${string}`;
4191
- details: {
4192
- functionName: string;
4193
- address: `0x${string}`;
4194
- abi: any[];
4195
- args: any[];
4196
- };
4197
- };
4198
- outputFormat: "json";
4199
- status: import("hono/utils/http-status").ContentfulStatusCode;
4200
- };
4201
- }>;
4202
- };
4203
- } & {
4204
- platforms: {
4205
- deployNftFractionsGated: import("hono/client").ClientRequest<string, "/platforms/deployNftFractionsGated", {
4206
- $post: {
4207
- input: {
4208
- json: {
4209
- chainId: unknown;
4210
- adminAddress: string;
4211
- acceptedFundingTokens: string[];
4212
- ownerAddress?: string | undefined;
4213
- compilotSignerAddress?: string | undefined;
4214
- cap?: {
4215
- maxHardCap: string;
4216
- } | undefined;
4217
- fee?: {
4218
- percent: number;
4219
- collectorAddress: string;
4220
- feeAdmin: string;
4221
- } | undefined;
4222
- };
4223
- };
4224
- output: {
4225
- data: `0x${string}`;
4226
- to: `0x${string}`;
4227
- details: {
4228
- functionName: string;
4229
- address: `0x${string}`;
4230
- abi: any[];
4231
- args: any[];
4232
- };
4233
- };
4234
- outputFormat: "json";
4235
- status: import("hono/utils/http-status").ContentfulStatusCode;
4236
- };
4237
- }>;
4238
- };
4239
- } & {
4240
- sales: {
4241
- nftFractions: import("hono/client").ClientRequest<string, "/sales/nftFractions", {
4242
- $post: {
4243
- input: {
4244
- json: {
4245
- chainId: unknown;
4246
- market: string;
4247
- wrapped: ({
4248
- type: "ERC20";
4249
- address: string;
4250
- values: string[];
4251
- } | {
4252
- type: "ERC721";
4253
- address: string;
4254
- tokenIds: string[];
4255
- } | {
4256
- type: "ERC1155";
4257
- address: string;
4258
- tokenIds: string[];
4259
- values: string[];
4260
- })[];
4261
- fractions: {
4262
- name: string;
4263
- symbol: string;
4264
- amount: string;
4265
- };
4266
- timeBoundary: {
4267
- start: string;
4268
- end: string;
4269
- };
4270
- cap: {
4271
- soft: string;
4272
- hard: string;
4273
- softPerAccount?: string | undefined;
4274
- hardPerAccount?: string | undefined;
4275
- };
4276
- funding: {
4277
- token: string;
4278
- amountPerPacket: string;
4279
- }[];
4280
- amountOfPacketsPerFraction: string;
4281
- refundAddress: string;
4282
- vesting?: {
4283
- cliff: string;
4284
- totalVestingPeriod: number;
4285
- portionPeriod: number;
4286
- } | undefined;
4287
- };
4288
- };
4289
- output: {
4290
- data: `0x${string}`;
4291
- to: `0x${string}`;
4292
- details: {
4293
- functionName: string;
4294
- address: `0x${string}`;
4295
- abi: any[];
4296
- args: any[];
4297
- };
4298
- };
4299
- outputFormat: "json";
4300
- status: import("hono/utils/http-status").ContentfulStatusCode;
4301
- };
4302
- }>;
4303
- };
4304
- } & {
4305
- sales: {
4306
- getFractionsCreatedEvent: import("hono/client").ClientRequest<string, "/sales/getFractionsCreatedEvent", {
4307
- $get: {
4308
- input: {
4309
- query: {
4310
- chainId: string | string[];
4311
- hash: string | string[];
4312
- };
4313
- };
4314
- output: {
4315
- campaignId: string;
4316
- creator: `0x${string}`;
4317
- nftId: string;
4318
- fractionsCreated: string;
4319
- fractionsAddress: `0x${string}`;
4320
- vaultAddress: `0x${string}` | undefined;
4321
- };
4322
- outputFormat: "json";
4323
- status: 200;
4324
- };
4325
- }>;
4326
- };
4327
- } & {
4328
- lending: {
4329
- purchase: import("hono/client").ClientRequest<string, "/lending/purchase", {
4330
- $post: {
4331
- input: {
4332
- json: {
4333
- market: string;
4334
- campaignId: string;
4335
- chainId: unknown;
4336
- amountToBuy: string;
4337
- applyDiscount: boolean;
4338
- };
4339
- };
4340
- output: {
4341
- data: `0x${string}`;
4342
- to: `0x${string}`;
4343
- details: {
4344
- functionName: string;
4345
- address: `0x${string}`;
4346
- abi: any[];
4347
- args: any[];
4348
- };
4349
- };
4350
- outputFormat: "json";
4351
- status: import("hono/utils/http-status").ContentfulStatusCode;
4352
- };
4353
- }>;
4354
- };
4355
- } & {
4356
- lending: {
4357
- deploy: import("hono/client").ClientRequest<string, "/lending/deploy", {
4358
- $post: {
4359
- input: {
4360
- json: {
4361
- chainId: unknown;
4362
- adminAddress: string;
4363
- minInterest: number;
4364
- maxInterest: number;
4365
- minDuration: string;
4366
- maxDuration: string;
4367
- minimumProportionOverObligation: string;
4368
- ownerAddress?: string | undefined;
4369
- discount?: {
4370
- burnForDiscount: {
4371
- burnableTokenAddress: string;
4372
- };
4373
- } | undefined;
4374
- cap?: {
4375
- maxHardCap: string;
4376
- } | undefined;
4377
- fee?: {
4378
- percent: number;
4379
- collectorAddress: string;
4380
- feeAdmin: string;
4381
- } | undefined;
4382
- };
4383
- };
4384
- output: {
4385
- data: `0x${string}`;
4386
- to: `0x${string}`;
4387
- details: {
4388
- functionName: string;
4389
- address: `0x${string}`;
4390
- abi: any[];
4391
- args: any[];
4392
- };
4393
- };
4394
- outputFormat: "json";
4395
- status: import("hono/utils/http-status").ContentfulStatusCode;
4396
- };
4397
- }>;
4398
- };
4399
- } & {
4400
- lending: {
4401
- createSale: import("hono/client").ClientRequest<string, "/lending/createSale", {
4402
- $post: {
4403
- input: {
4404
- json: {
4405
- chainId: unknown;
4406
- market: string;
4407
- fractions: {
4408
- symbol: string;
4409
- name: string;
4410
- amount: string;
4411
- token?: string | undefined;
4412
- };
4413
- timeBoundary: {
4414
- start: string;
4415
- end: string;
4416
- };
4417
- cap: {
4418
- soft: string;
4419
- hard: string;
4420
- softPerAccount?: string | undefined;
4421
- hardPerAccount?: string | undefined;
4422
- };
4423
- wrapped: ({
4424
- type: "ERC20";
4425
- address: string;
4426
- values: string[];
4427
- } | {
4428
- type: "ERC721";
4429
- address: string;
4430
- tokenIds: string[];
4431
- } | {
4432
- type: "ERC1155";
4433
- address: string;
4434
- tokenIds: string[];
4435
- values: string[];
4436
- })[];
4437
- funding: {
4438
- token: string;
4439
- amountPerPacket: string;
4440
- }[];
4441
- refundAddress: string;
4442
- amountOfPacketsPerFraction: string;
4443
- buyback: {
4444
- durationSeconds: number;
4445
- interestPercentage: number;
4446
- liquidationLimitPercentage: number;
4447
- marginCallLimitPercentage: number;
4448
- };
4449
- discounts?: {
4450
- burnableTokenAddress: string;
4451
- amountToBurn: string;
4452
- percentDiscount: number;
4453
- } | undefined;
4454
- };
4455
- };
4456
- output: {
4457
- data: `0x${string}`;
4458
- to: `0x${string}`;
4459
- details: {
4460
- functionName: string;
4461
- address: `0x${string}`;
4462
- abi: any[];
4463
- args: any[];
4464
- };
4465
- };
4466
- outputFormat: "json";
4467
- status: import("hono/utils/http-status").ContentfulStatusCode;
4468
- };
4469
- }>;
4470
- };
4471
- } & {
4472
- lending: {
4473
- setCollateralPrice: import("hono/client").ClientRequest<string, "/lending/setCollateralPrice", {
4474
- $post: {
4475
- input: {
4476
- json: {
4477
- collateralPriceInFundingPackets: string;
4478
- market: string;
4479
- campaignId: string;
4480
- };
4481
- };
4482
- output: {
4483
- data: `0x${string}`;
4484
- to: `0x${string}`;
4485
- details: {
4486
- functionName: string;
4487
- address: `0x${string}`;
4488
- abi: any[];
4489
- args: any[];
4490
- };
4491
- };
4492
- outputFormat: "json";
4493
- status: import("hono/utils/http-status").ContentfulStatusCode;
4494
- };
4495
- }>;
4496
- };
4497
- } & {
4498
- lending: {
4499
- buyback: import("hono/client").ClientRequest<string, "/lending/buyback", {
4500
- $post: {
4501
- input: {
4502
- json: {
4503
- chainId: unknown;
4504
- buybackPacketsAmount: string;
4505
- market: string;
4506
- campaignId: string;
4507
- };
4508
- };
4509
- output: {
4510
- data: `0x${string}`;
4511
- to: `0x${string}`;
4512
- details: {
4513
- functionName: string;
4514
- address: `0x${string}`;
4515
- abi: any[];
4516
- args: any[];
4517
- };
4518
- };
4519
- outputFormat: "json";
4520
- status: import("hono/utils/http-status").ContentfulStatusCode;
4521
- };
4522
- }>;
4523
- };
4524
- } & {
4525
- vestingRedemptionDynamic: {
4526
- deployMarket: import("hono/client").ClientRequest<string, "/vestingRedemptionDynamic/deployMarket", {
4527
- $post: {
4528
- input: {
4529
- json: {
4530
- chainId: unknown;
4531
- adminAddress: string;
4532
- acceptedFundingTokens: string[];
4533
- ownerAddress?: string | undefined;
4534
- platformEntryFee?: {
4535
- collectorAddress: string;
4536
- basisPoints: number;
4537
- } | undefined;
4538
- platformExitFee?: {
4539
- collectorAddress: string;
4540
- basisPoints: number;
4541
- } | undefined;
4542
- receiptNft?: {
4543
- baseName: string;
4544
- baseSymbol: string;
4545
- } | undefined;
4546
- };
4547
- };
4548
- output: {
4549
- data: `0x${string}`;
4550
- to: `0x${string}`;
4551
- details: {
4552
- functionName: string;
4553
- address: `0x${string}`;
4554
- abi: any[];
4555
- args: any[];
4556
- };
4557
- };
4558
- outputFormat: "json";
4559
- status: import("hono/utils/http-status").ContentfulStatusCode;
4560
- };
4561
- }>;
4562
- };
4563
- } & {
4564
- vestingRedemptionDynamic: {
4565
- createCampaign: import("hono/client").ClientRequest<string, "/vestingRedemptionDynamic/createCampaign", {
4566
- $post: {
4567
- input: {
4568
- json: {
4569
- chainId: unknown;
4570
- market: string;
4571
- nft: {
4572
- contractAddress: string;
4573
- tokenId: string;
4574
- };
4575
- fractions: {
4576
- name: string;
4577
- symbol: string;
4578
- };
4579
- refundAddress: string;
4580
- funding: {
4581
- token: string;
4582
- amountPerPacket: string;
4583
- };
4584
- startDate: string;
4585
- softCapPerPurchase: string;
4586
- hardCapPerAccount: string;
4587
- fundsReceiver: string;
4588
- priceSetter: string;
4589
- fundsProvider: string;
4590
- issuerEntryFee?: {
4591
- collectorAddress: string;
4592
- proportion: string;
4593
- } | undefined;
4594
- issuerExitFee?: {
4595
- collectorAddress: string;
4596
- proportion: string;
4597
- } | undefined;
4598
- };
4599
- };
4600
- output: {
4601
- data: `0x${string}`;
4602
- to: `0x${string}`;
4603
- details: {
4604
- functionName: string;
4605
- address: `0x${string}`;
4606
- abi: any[];
4607
- args: any[];
4608
- };
4609
- };
4610
- outputFormat: "json";
4611
- status: import("hono/utils/http-status").ContentfulStatusCode;
4612
- };
4613
- }>;
4614
- };
4615
- } & {
4616
- vestingRedemptionDynamic: {
4617
- approveCampaign: import("hono/client").ClientRequest<string, "/vestingRedemptionDynamic/approveCampaign", {
4618
- $post: {
4619
- input: {
4620
- json: {
4621
- market: string;
4622
- campaignId: string;
4623
- };
4624
- };
4625
- output: {
4626
- data: `0x${string}`;
4627
- to: `0x${string}`;
4628
- details: {
4629
- functionName: string;
4630
- address: `0x${string}`;
4631
- abi: any[];
4632
- args: any[];
4633
- };
4634
- };
4635
- outputFormat: "json";
4636
- status: import("hono/utils/http-status").ContentfulStatusCode;
4637
- };
4638
- }>;
4639
- };
4640
- } & {
4641
- vestingRedemptionDynamic: {
4642
- setEpochPrice: import("hono/client").ClientRequest<string, "/vestingRedemptionDynamic/setEpochPrice", {
4643
- $post: {
4644
- input: {
4645
- json: {
4646
- market: string;
4647
- campaignId: string;
4648
- price: string;
4649
- };
4650
- };
4651
- output: {
4652
- data: `0x${string}`;
4653
- to: `0x${string}`;
4654
- details: {
4655
- functionName: string;
4656
- address: `0x${string}`;
4657
- abi: any[];
4658
- args: any[];
4659
- };
4660
- };
4661
- outputFormat: "json";
4662
- status: import("hono/utils/http-status").ContentfulStatusCode;
4663
- };
4664
- }>;
4665
- };
4666
- } & {
4667
- vestingRedemptionDynamic: {
4668
- getCurrentEpoch: import("hono/client").ClientRequest<string, "/vestingRedemptionDynamic/getCurrentEpoch", {
4669
- $get: {
4670
- input: {
4671
- query: {
4672
- chainId: string | string[];
4673
- market: string | string[];
4674
- campaignId: string | string[];
4675
- };
4676
- };
4677
- output: {
4678
- currentEpoch: string;
4679
- };
4680
- outputFormat: "json";
4681
- status: 200;
4682
- };
4683
- }>;
4684
- };
4685
- } & {
4686
- vestingRedemptionDynamic: {
4687
- getPurchasePriceForEpoch: import("hono/client").ClientRequest<string, "/vestingRedemptionDynamic/getPurchasePriceForEpoch", {
4688
- $get: {
4689
- input: {
4690
- query: {
4691
- chainId: string | string[];
4692
- market: string | string[];
4693
- campaignId: string | string[];
4694
- epoch: string | string[];
4695
- };
4696
- };
4697
- output: {
4698
- price: string;
4699
- };
4700
- outputFormat: "json";
4701
- status: 200;
4702
- };
4703
- }>;
4704
- };
4705
- } & {
4706
- vestingRedemptionDynamic: {
4707
- purchase: import("hono/client").ClientRequest<string, "/vestingRedemptionDynamic/purchase", {
4708
- $post: {
4709
- input: {
4710
- json: {
4711
- market: string;
4712
- campaignId: string;
4713
- amountToProvide: string;
4714
- };
4715
- };
4716
- output: {
4717
- data: `0x${string}`;
4718
- to: `0x${string}`;
4719
- details: {
4720
- functionName: string;
4721
- address: `0x${string}`;
4722
- abi: any[];
4723
- args: any[];
4724
- };
4725
- };
4726
- outputFormat: "json";
4727
- status: import("hono/utils/http-status").ContentfulStatusCode;
4728
- };
4729
- }>;
4730
- };
4731
- } & {
4732
- vestingRedemptionDynamic: {
4733
- getEpochPurchaseEvent: import("hono/client").ClientRequest<string, "/vestingRedemptionDynamic/getEpochPurchaseEvent", {
4734
- $get: {
4735
- input: {
4736
- query: {
4737
- chainId: string | string[];
4738
- hash: string | string[];
4739
- };
4740
- };
4741
- output: {
4742
- campaignId: string;
4743
- nftId: string;
4744
- purchaser: `0x${string}`;
4745
- amountProvided: string;
4746
- amountAfterFees: string;
4747
- epochPurchased: string;
4748
- };
4749
- outputFormat: "json";
4750
- status: 200;
4751
- };
4752
- }>;
4753
- };
4754
- } & {
4755
- vestingRedemptionDynamic: {
4756
- exchangeNftForFractions: import("hono/client").ClientRequest<string, "/vestingRedemptionDynamic/exchangeNftForFractions", {
4757
- $post: {
4758
- input: {
4759
- json: {
4760
- market: string;
4761
- campaignId: string;
4762
- nftId: string;
4763
- };
4764
- };
4765
- output: {
4766
- data: `0x${string}`;
4767
- to: `0x${string}`;
4768
- details: {
4769
- functionName: string;
4770
- address: `0x${string}`;
4771
- abi: any[];
4772
- args: any[];
4773
- };
4774
- };
4775
- outputFormat: "json";
4776
- status: import("hono/utils/http-status").ContentfulStatusCode;
4777
- };
4778
- }>;
4779
- };
4780
- } & {
4781
- vestingRedemptionDynamic: {
4782
- requestWithdrawal: import("hono/client").ClientRequest<string, "/vestingRedemptionDynamic/requestWithdrawal", {
4783
- $post: {
4784
- input: {
4785
- json: {
4786
- market: string;
4787
- campaignId: string;
4788
- amountOfFractions: string;
4789
- };
4790
- };
4791
- output: {
4792
- data: `0x${string}`;
4793
- to: `0x${string}`;
4794
- details: {
4795
- functionName: string;
4796
- address: `0x${string}`;
4797
- abi: any[];
4798
- args: any[];
4799
- };
4800
- };
4801
- outputFormat: "json";
4802
- status: import("hono/utils/http-status").ContentfulStatusCode;
4803
- };
4804
- }>;
4805
- };
4806
- } & {
4807
- vestingRedemptionDynamic: {
4808
- getWithdrawalRequestedEvent: import("hono/client").ClientRequest<string, "/vestingRedemptionDynamic/getWithdrawalRequestedEvent", {
4809
- $get: {
4810
- input: {
4811
- query: {
4812
- chainId: string | string[];
4813
- hash: string | string[];
4814
- };
4815
- };
4816
- output: {
4817
- campaignId: string;
4818
- nftId: string;
4819
- requester: `0x${string}`;
4820
- amountOfFractions: string;
4821
- };
4822
- outputFormat: "json";
4823
- status: 200;
4824
- };
4825
- }>;
4826
- };
4827
- } & {
4828
- vestingRedemptionDynamic: {
4829
- withdraw: import("hono/client").ClientRequest<string, "/vestingRedemptionDynamic/withdraw", {
4830
- $post: {
4831
- input: {
4832
- json: {
4833
- market: string;
4834
- campaignId: string;
4835
- nftId: string;
4836
- };
4837
- };
4838
- output: {
4839
- data: `0x${string}`;
4840
- to: `0x${string}`;
4841
- details: {
4842
- functionName: string;
4843
- address: `0x${string}`;
4844
- abi: any[];
4845
- args: any[];
4846
- };
4847
- };
4848
- outputFormat: "json";
4849
- status: import("hono/utils/http-status").ContentfulStatusCode;
4850
- };
4851
- }>;
4852
- };
4853
- };
4854
- };
4855
4189
  export type IApi = ReturnType<typeof buildClients>;
4856
- export type INextApi = ReturnType<typeof buildNextClients>;
4857
4190
  export * from "./common/exports.js";
4858
4191
  export * from "./issuance/exports.js";
4859
4192
  export type { InferRequestType, InferResponseType } from "hono/client";