@evergonlabs/tmi-protocol-api 0.5.0 → 0.8.0

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 (854) hide show
  1. package/README.md +169 -0
  2. package/dist/app.d.ts +3301 -2851
  3. package/dist/app.d.ts.map +1 -1
  4. package/dist/app.js +36 -23
  5. package/dist/apps.d.ts +30 -0
  6. package/dist/apps.d.ts.map +1 -0
  7. package/dist/apps.js +16 -0
  8. package/dist/client.d.ts +2170 -1996
  9. package/dist/client.d.ts.map +1 -1
  10. package/dist/client.js +23 -2
  11. package/dist/common/blockchain.d.ts +26 -26
  12. package/dist/common/blockchain.d.ts.map +1 -1
  13. package/dist/common/blockchain.js +6 -10
  14. package/dist/common/config.d.ts +6 -27
  15. package/dist/common/config.d.ts.map +1 -1
  16. package/dist/common/config.js +2 -11
  17. package/dist/common/context.d.ts +2 -2
  18. package/dist/common/context.d.ts.map +1 -1
  19. package/dist/common/controller.d.ts +12 -0
  20. package/dist/common/controller.d.ts.map +1 -0
  21. package/dist/common/controller.js +6 -0
  22. package/dist/common/exports.d.ts +3 -0
  23. package/dist/common/exports.d.ts.map +1 -0
  24. package/dist/common/exports.js +2 -0
  25. package/dist/common/http-error.d.ts +1 -1
  26. package/dist/common/http-error.d.ts.map +1 -1
  27. package/dist/common/indexer/client.d.ts +138 -2
  28. package/dist/common/indexer/client.d.ts.map +1 -1
  29. package/dist/common/indexer/schemas.d.ts +69 -1
  30. package/dist/common/indexer/schemas.d.ts.map +1 -1
  31. package/dist/common/indexer/schemas.js +1 -1
  32. package/dist/common/int256.d.ts +3 -0
  33. package/dist/common/int256.d.ts.map +1 -0
  34. package/dist/common/int256.js +12 -0
  35. package/dist/common/models/asset.d.ts +5 -23
  36. package/dist/common/models/asset.d.ts.map +1 -1
  37. package/dist/common/models/asset.js +4 -6
  38. package/dist/common/models/base/chainId.d.ts +8 -0
  39. package/dist/common/models/base/chainId.d.ts.map +1 -0
  40. package/dist/common/models/base/chainId.js +11 -0
  41. package/dist/common/models/base/deployTransaction.d.ts +8 -0
  42. package/dist/common/models/base/deployTransaction.d.ts.map +1 -0
  43. package/dist/common/models/base/deployTransaction.js +7 -0
  44. package/dist/common/models/base/page.d.ts +7 -0
  45. package/dist/common/models/base/page.d.ts.map +1 -0
  46. package/dist/common/models/base/page.js +5 -0
  47. package/dist/common/models/base/transaction.d.ts +13 -0
  48. package/dist/common/models/base/transaction.d.ts.map +1 -0
  49. package/dist/common/models/base/transaction.js +12 -0
  50. package/dist/common/models/base/viem.d.ts +6 -0
  51. package/dist/common/models/base/viem.d.ts.map +1 -0
  52. package/dist/common/models/base/viem.js +5 -0
  53. package/dist/common/models/chainId.d.ts +7 -7
  54. package/dist/common/models/chainId.d.ts.map +1 -1
  55. package/dist/common/models/chainId.js +27 -12
  56. package/dist/common/models/compilot.d.ts +3 -0
  57. package/dist/common/models/compilot.d.ts.map +1 -0
  58. package/dist/common/models/compilot.js +1 -0
  59. package/dist/common/models/date.d.ts +5 -2
  60. package/dist/common/models/date.d.ts.map +1 -1
  61. package/dist/common/models/date.js +13 -5
  62. package/dist/common/models/deployTransaction.d.ts +8 -0
  63. package/dist/common/models/deployTransaction.d.ts.map +1 -0
  64. package/dist/common/models/deployTransaction.js +12 -0
  65. package/dist/common/models/erc721.d.ts +3 -11
  66. package/dist/common/models/erc721.d.ts.map +1 -1
  67. package/dist/common/models/erc721.js +2 -4
  68. package/dist/common/models/exports.d.ts +5 -0
  69. package/dist/common/models/exports.d.ts.map +1 -0
  70. package/dist/common/models/exports.js +4 -0
  71. package/dist/common/models/index.d.ts +7 -4
  72. package/dist/common/models/index.d.ts.map +1 -1
  73. package/dist/common/models/index.js +7 -4
  74. package/dist/common/models/page.d.ts +3 -8
  75. package/dist/common/models/page.d.ts.map +1 -1
  76. package/dist/common/models/page.js +2 -5
  77. package/dist/common/models/platform.d.ts +19 -6
  78. package/dist/common/models/platform.d.ts.map +1 -1
  79. package/dist/common/models/platform.js +6 -6
  80. package/dist/common/models/routes.d.ts +2 -10
  81. package/dist/common/models/routes.d.ts.map +1 -1
  82. package/dist/common/models/routes.js +1 -1
  83. package/dist/common/models/saleId.d.ts +3 -9
  84. package/dist/common/models/saleId.d.ts.map +1 -1
  85. package/dist/common/models/saleId.js +2 -1
  86. package/dist/common/models/transaction.d.ts +20 -81
  87. package/dist/common/models/transaction.d.ts.map +1 -1
  88. package/dist/common/models/transaction.js +13 -21
  89. package/dist/common/models/viem.d.ts +5 -3
  90. package/dist/common/models/viem.d.ts.map +1 -1
  91. package/dist/common/models/viem.js +6 -1
  92. package/dist/common/roles/erc20-gated-roles.d.ts +4 -2
  93. package/dist/common/roles/erc20-gated-roles.d.ts.map +1 -1
  94. package/dist/common/roles/erc20-gated-roles.js +3 -1
  95. package/dist/common/roles/erc721-factory-roles.d.ts +8 -0
  96. package/dist/common/roles/erc721-factory-roles.d.ts.map +1 -0
  97. package/dist/common/roles/erc721-factory-roles.js +13 -0
  98. package/dist/common/roles/exports.d.ts +3 -0
  99. package/dist/common/roles/exports.d.ts.map +1 -0
  100. package/dist/common/roles/exports.js +2 -0
  101. package/dist/factory.d.ts +11 -0
  102. package/dist/factory.d.ts.map +1 -0
  103. package/dist/factory.js +19 -0
  104. package/dist/fractions/activity/searchActivity.route.d.ts +7 -7
  105. package/dist/fractions/activity/searchActivity.route.js +2 -2
  106. package/dist/fractions/activity/utils.d.ts +3 -3
  107. package/dist/fractions/activity/utils.js +2 -2
  108. package/dist/fractions/createFractions/v0/createFractions.route.d.ts +4 -4
  109. package/dist/fractions/createFractions/v0/createFractions.route.d.ts.map +1 -1
  110. package/dist/fractions/createFractions/v0/createFractions.route.js +3 -16
  111. package/dist/fractions/createFractions/v0/createFractions.schema.d.ts +14 -3
  112. package/dist/fractions/createFractions/v0/createFractions.schema.d.ts.map +1 -1
  113. package/dist/fractions/createFractions/v0/createFractions.schema.js +13 -2
  114. package/dist/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts +2 -2
  115. package/dist/fractions/deployMarket/v0/deployMarket.routes.d.ts +36 -22
  116. package/dist/fractions/deployMarket/v0/deployMarket.routes.d.ts.map +1 -1
  117. package/dist/fractions/deployMarket/v0/deployMarket.routes.js +30 -32
  118. package/dist/fractions/deployMarket/v0/deployMarket.schema.d.ts +6 -3
  119. package/dist/fractions/deployMarket/v0/deployMarket.schema.d.ts.map +1 -1
  120. package/dist/fractions/deployMarket/v0/deployMarket.schema.js +5 -2
  121. package/dist/fractions/fractions/approveWrapper.route.d.ts +88 -0
  122. package/dist/fractions/fractions/approveWrapper.route.d.ts.map +1 -0
  123. package/dist/fractions/fractions/approveWrapper.route.js +92 -0
  124. package/dist/fractions/fractions/index.d.ts +72 -0
  125. package/dist/fractions/fractions/index.d.ts.map +1 -0
  126. package/dist/fractions/fractions/index.js +9 -0
  127. package/dist/fractions/gating/v0/getAuthData.d.ts +7 -7
  128. package/dist/fractions/gating/v0/getAuthData.js +2 -2
  129. package/dist/fractions/gating/v0/getNonce.route.d.ts +7 -7
  130. package/dist/fractions/gating/v0/getNonce.route.js +2 -2
  131. package/dist/fractions/grantRole/v0/grantRole.route.d.ts +4 -4
  132. package/dist/fractions/grantRole/v0/grantRole.schema.d.ts +3 -3
  133. package/dist/fractions/grantRole/v0/grantRole.schema.js +2 -2
  134. package/dist/fractions/index.d.ts +1106 -1148
  135. package/dist/fractions/index.d.ts.map +1 -1
  136. package/dist/fractions/index.js +20 -105
  137. package/dist/fractions/markets/common/platform.d.ts +23 -75
  138. package/dist/fractions/markets/common/platform.d.ts.map +1 -1
  139. package/dist/fractions/markets/common/platform.js +11 -13
  140. package/dist/fractions/markets/getDeployEvent.d.ts +17 -39
  141. package/dist/fractions/markets/getDeployEvent.d.ts.map +1 -1
  142. package/dist/fractions/markets/getDeployEvent.js +10 -9
  143. package/dist/fractions/markets/getMarket/getMarket.d.ts +30 -0
  144. package/dist/fractions/markets/getMarket/getMarket.d.ts.map +1 -0
  145. package/dist/fractions/markets/getMarket/getMarket.js +65 -0
  146. package/dist/fractions/markets/getMarket/index.d.ts +4 -27
  147. package/dist/fractions/markets/getMarket/index.d.ts.map +1 -1
  148. package/dist/fractions/markets/getMarket/index.js +5 -4
  149. package/dist/fractions/markets/getMarket/v0/getMarket.d.ts +14 -14
  150. package/dist/fractions/markets/getMarket/v0/getMarket.js +2 -2
  151. package/dist/fractions/markets/index.d.ts +12 -54
  152. package/dist/fractions/markets/index.d.ts.map +1 -1
  153. package/dist/fractions/markets/index.js +10 -11
  154. package/dist/fractions/markets/searchMarkets/index.d.ts +7 -30
  155. package/dist/fractions/markets/searchMarkets/index.d.ts.map +1 -1
  156. package/dist/fractions/markets/searchMarkets/index.js +5 -4
  157. package/dist/fractions/markets/searchMarkets/searchMarkets.d.ts +22 -0
  158. package/dist/fractions/markets/searchMarkets/searchMarkets.d.ts.map +1 -0
  159. package/dist/fractions/markets/searchMarkets/searchMarkets.js +45 -0
  160. package/dist/fractions/markets/searchMarkets/v0/searchMarkets.d.ts +13 -13
  161. package/dist/fractions/markets/searchMarkets/v0/searchMarkets.js +2 -2
  162. package/dist/fractions/nftfractions/index.d.ts +6 -0
  163. package/dist/fractions/nftfractions/index.d.ts.map +1 -0
  164. package/dist/fractions/nftfractions/index.js +5 -0
  165. package/dist/fractions/nftfractions/v0/createNftFractions.routes.d.ts +192 -0
  166. package/dist/fractions/nftfractions/v0/createNftFractions.routes.d.ts.map +1 -0
  167. package/dist/fractions/nftfractions/v0/createNftFractions.routes.js +58 -0
  168. package/dist/fractions/nftfractions/v0/createNftFractions.schema.d.ts +245 -0
  169. package/dist/fractions/nftfractions/v0/createNftFractions.schema.d.ts.map +1 -0
  170. package/dist/fractions/nftfractions/v0/createNftFractions.schema.js +65 -0
  171. package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.routes.d.ts +96 -0
  172. package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.routes.d.ts.map +1 -0
  173. package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.routes.js +52 -0
  174. package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.schema.d.ts +70 -0
  175. package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.schema.d.ts.map +1 -0
  176. package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.schema.js +28 -0
  177. package/dist/fractions/nftfractions/v0/initCompilot.routes.d.ts +74 -0
  178. package/dist/fractions/nftfractions/v0/initCompilot.routes.d.ts.map +1 -0
  179. package/dist/fractions/nftfractions/v0/initCompilot.routes.js +41 -0
  180. package/dist/fractions/platforms/deployMarket.routes.d.ts +158 -0
  181. package/dist/fractions/platforms/deployMarket.routes.d.ts.map +1 -0
  182. package/dist/fractions/platforms/deployMarket.routes.js +131 -0
  183. package/dist/fractions/platforms/deployMarket.schema.d.ts +33 -0
  184. package/dist/fractions/platforms/deployMarket.schema.d.ts.map +1 -0
  185. package/dist/fractions/platforms/deployMarket.schema.js +28 -0
  186. package/dist/fractions/platforms/deployNftFractionsMarket.routes.d.ts +96 -0
  187. package/dist/fractions/platforms/deployNftFractionsMarket.routes.d.ts.map +1 -0
  188. package/dist/fractions/platforms/deployNftFractionsMarket.routes.js +52 -0
  189. package/dist/fractions/platforms/deployNftFractionsMarket.schema.d.ts +30 -0
  190. package/dist/fractions/platforms/deployNftFractionsMarket.schema.d.ts.map +1 -0
  191. package/dist/fractions/platforms/deployNftFractionsMarket.schema.js +29 -0
  192. package/dist/fractions/platforms/index.d.ts +196 -0
  193. package/dist/fractions/platforms/index.d.ts.map +1 -0
  194. package/dist/fractions/platforms/index.js +15 -0
  195. package/dist/fractions/platforms/initCompilot.routes.d.ts +36 -0
  196. package/dist/fractions/platforms/initCompilot.routes.d.ts.map +1 -0
  197. package/dist/fractions/platforms/initCompilot.routes.js +40 -0
  198. package/dist/fractions/platforms/initNid.route.d.ts +28 -0
  199. package/dist/fractions/platforms/initNid.route.d.ts.map +1 -0
  200. package/dist/fractions/platforms/initNid.route.js +32 -0
  201. package/dist/fractions/purchase/v0/purchase.route.d.ts +7 -7
  202. package/dist/fractions/purchase/v0/purchase.route.js +2 -2
  203. package/dist/fractions/purchase/v0/statistics.route.d.ts +7 -7
  204. package/dist/fractions/purchase/v0/statistics.route.js +2 -2
  205. package/dist/fractions/roles/getRoles.d.ts +23 -0
  206. package/dist/fractions/roles/getRoles.d.ts.map +1 -0
  207. package/dist/fractions/roles/getRoles.js +42 -0
  208. package/dist/fractions/roles/grantRole.route.d.ts +27 -0
  209. package/dist/fractions/roles/grantRole.route.d.ts.map +1 -0
  210. package/dist/fractions/roles/grantRole.route.js +34 -0
  211. package/dist/fractions/roles/grantRole.schema.d.ts +16 -0
  212. package/dist/fractions/roles/grantRole.schema.d.ts.map +1 -0
  213. package/dist/fractions/roles/grantRole.schema.js +14 -0
  214. package/dist/fractions/roles/index.d.ts +48 -0
  215. package/dist/fractions/roles/index.d.ts.map +1 -0
  216. package/dist/fractions/roles/index.js +9 -0
  217. package/dist/fractions/sales/activityUtils.d.ts +49 -0
  218. package/dist/fractions/sales/activityUtils.d.ts.map +1 -0
  219. package/dist/fractions/sales/activityUtils.js +68 -0
  220. package/dist/fractions/sales/approveSale.route.d.ts +30 -0
  221. package/dist/fractions/sales/approveSale.route.d.ts.map +1 -0
  222. package/dist/fractions/sales/approveSale.route.js +35 -0
  223. package/dist/fractions/sales/common/fractionsSale.d.ts +50 -326
  224. package/dist/fractions/sales/common/fractionsSale.d.ts.map +1 -1
  225. package/dist/fractions/sales/common/fractionsSale.js +64 -79
  226. package/dist/fractions/sales/completeSale.route.d.ts +30 -0
  227. package/dist/fractions/sales/completeSale.route.d.ts.map +1 -0
  228. package/dist/fractions/sales/completeSale.route.js +35 -0
  229. package/dist/fractions/sales/createFractions.route.d.ts +71 -0
  230. package/dist/fractions/sales/createFractions.route.d.ts.map +1 -0
  231. package/dist/fractions/sales/createFractions.route.js +51 -0
  232. package/dist/fractions/sales/createFractions.schema.d.ts +123 -0
  233. package/dist/fractions/sales/createFractions.schema.d.ts.map +1 -0
  234. package/dist/fractions/sales/createFractions.schema.js +80 -0
  235. package/dist/fractions/sales/createNftFractions.routes.d.ts +180 -0
  236. package/dist/fractions/sales/createNftFractions.routes.d.ts.map +1 -0
  237. package/dist/fractions/sales/createNftFractions.routes.js +58 -0
  238. package/dist/fractions/sales/createNftFractions.schema.d.ts +85 -0
  239. package/dist/fractions/sales/createNftFractions.schema.d.ts.map +1 -0
  240. package/dist/fractions/sales/createNftFractions.schema.js +67 -0
  241. package/dist/fractions/sales/getFractionSaleStatistics.route.d.ts +31 -92
  242. package/dist/fractions/sales/getFractionSaleStatistics.route.d.ts.map +1 -1
  243. package/dist/fractions/sales/getFractionSaleStatistics.route.js +12 -13
  244. package/dist/fractions/sales/getVaultAddress.d.ts +31 -49
  245. package/dist/fractions/sales/getVaultAddress.d.ts.map +1 -1
  246. package/dist/fractions/sales/getVaultAddress.js +11 -10
  247. package/dist/fractions/sales/getWithdrawEvent.d.ts +17 -39
  248. package/dist/fractions/sales/getWithdrawEvent.d.ts.map +1 -1
  249. package/dist/fractions/sales/getWithdrawEvent.js +13 -11
  250. package/dist/fractions/sales/index.d.ts +760 -0
  251. package/dist/fractions/sales/index.d.ts.map +1 -0
  252. package/dist/fractions/sales/index.js +52 -0
  253. package/dist/fractions/sales/parseFractionsCreatedEvent.d.ts +23 -0
  254. package/dist/fractions/sales/parseFractionsCreatedEvent.d.ts.map +1 -0
  255. package/dist/fractions/sales/parseFractionsCreatedEvent.js +59 -0
  256. package/dist/fractions/sales/purchase.route.d.ts +36 -0
  257. package/dist/fractions/sales/purchase.route.d.ts.map +1 -0
  258. package/dist/fractions/sales/purchase.route.js +42 -0
  259. package/dist/fractions/sales/purchaseStatistics.route.d.ts +27 -0
  260. package/dist/fractions/sales/purchaseStatistics.route.d.ts.map +1 -0
  261. package/dist/fractions/sales/purchaseStatistics.route.js +53 -0
  262. package/dist/fractions/sales/receiveFundsAfterNonFunded.route.d.ts +56 -140
  263. package/dist/fractions/sales/receiveFundsAfterNonFunded.route.d.ts.map +1 -1
  264. package/dist/fractions/sales/receiveFundsAfterNonFunded.route.js +19 -15
  265. package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts +22 -54
  266. package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts.map +1 -1
  267. package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.js +6 -5
  268. package/dist/fractions/sales/recoverFractions.d.ts +65 -103
  269. package/dist/fractions/sales/recoverFractions.d.ts.map +1 -1
  270. package/dist/fractions/sales/recoverFractions.js +13 -11
  271. package/dist/fractions/sales/rejectFractions.d.ts +49 -75
  272. package/dist/fractions/sales/rejectFractions.d.ts.map +1 -1
  273. package/dist/fractions/sales/rejectFractions.js +12 -8
  274. package/dist/fractions/sales/searchActivity.route.d.ts +67 -86
  275. package/dist/fractions/sales/searchActivity.route.d.ts.map +1 -1
  276. package/dist/fractions/sales/searchActivity.route.js +27 -37
  277. package/dist/fractions/sales/searchSales/searchSales.d.ts +24 -0
  278. package/dist/fractions/sales/searchSales/searchSales.d.ts.map +1 -0
  279. package/dist/fractions/sales/searchSales/searchSales.js +50 -0
  280. package/dist/fractions/sales/searchSales/v0/searchSales.d.ts +16 -16
  281. package/dist/fractions/sales/searchSales/v0/searchSales.js +2 -2
  282. package/dist/fractions/sales/searchWithdrawal.route.d.ts +20 -55
  283. package/dist/fractions/sales/searchWithdrawal.route.d.ts.map +1 -1
  284. package/dist/fractions/sales/searchWithdrawal.route.js +10 -9
  285. package/dist/fractions/sales/setFeeCapLimit.d.ts +27 -70
  286. package/dist/fractions/sales/setFeeCapLimit.d.ts.map +1 -1
  287. package/dist/fractions/sales/setFeeCapLimit.js +12 -8
  288. package/dist/fractions/sales/unlockWrappedAssets.route.d.ts +26 -65
  289. package/dist/fractions/sales/unlockWrappedAssets.route.d.ts.map +1 -1
  290. package/dist/fractions/sales/unlockWrappedAssets.route.js +10 -11
  291. package/dist/fractions/sales/vesting/claimStatistics.route.d.ts +36 -0
  292. package/dist/fractions/sales/vesting/claimStatistics.route.d.ts.map +1 -0
  293. package/dist/fractions/sales/vesting/claimStatistics.route.js +87 -0
  294. package/dist/fractions/sales/vesting/claimVestedTokens.route.d.ts +62 -0
  295. package/dist/fractions/sales/vesting/claimVestedTokens.route.d.ts.map +1 -0
  296. package/dist/fractions/sales/vesting/claimVestedTokens.route.js +45 -0
  297. package/dist/fractions/sales/vesting/editCliff.route.d.ts +58 -0
  298. package/dist/fractions/sales/vesting/editCliff.route.d.ts.map +1 -0
  299. package/dist/fractions/sales/vesting/editCliff.route.js +45 -0
  300. package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.d.ts +22 -0
  301. package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.d.ts.map +1 -0
  302. package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.js +58 -0
  303. package/dist/fractions/sales/vesting/v0/claimStatistics.route.d.ts +10 -10
  304. package/dist/fractions/sales/vesting/v0/claimStatistics.route.js +3 -3
  305. package/dist/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts +2 -2
  306. package/dist/fractions/sales/withdraw.route.d.ts +29 -0
  307. package/dist/fractions/sales/withdraw.route.d.ts.map +1 -0
  308. package/dist/fractions/sales/withdraw.route.js +30 -0
  309. package/dist/fractions/sig/getAuthData.d.ts +40 -0
  310. package/dist/fractions/sig/getAuthData.d.ts.map +1 -0
  311. package/dist/fractions/sig/getAuthData.js +52 -0
  312. package/dist/fractions/sig/getNonce.route.d.ts +25 -0
  313. package/dist/fractions/sig/getNonce.route.d.ts.map +1 -0
  314. package/dist/fractions/sig/getNonce.route.js +43 -0
  315. package/dist/fractions/sig/index.d.ts +40 -0
  316. package/dist/fractions/sig/index.d.ts.map +1 -0
  317. package/dist/fractions/sig/index.js +6 -0
  318. package/dist/fractions/statistics/index.d.ts +107 -0
  319. package/dist/fractions/statistics/index.d.ts.map +1 -0
  320. package/dist/fractions/statistics/index.js +10 -0
  321. package/dist/fractions/statistics/networkStatistics.route.d.ts +121 -0
  322. package/dist/fractions/statistics/networkStatistics.route.d.ts.map +1 -0
  323. package/dist/fractions/statistics/networkStatistics.route.js +222 -0
  324. package/dist/general/balanceClient.d.ts +19 -58
  325. package/dist/general/balanceClient.d.ts.map +1 -1
  326. package/dist/general/balanceClient.js +3 -3
  327. package/dist/general/common.d.ts +11 -74
  328. package/dist/general/common.d.ts.map +1 -1
  329. package/dist/general/common.js +7 -11
  330. package/dist/general/estimateGas.d.ts +18 -45
  331. package/dist/general/estimateGas.d.ts.map +1 -1
  332. package/dist/general/estimateGas.js +32 -30
  333. package/dist/general/getBalance.d.ts +16 -37
  334. package/dist/general/getBalance.d.ts.map +1 -1
  335. package/dist/general/getBalance.js +30 -26
  336. package/dist/general/getBalancesBatch.d.ts +22 -56
  337. package/dist/general/getBalancesBatch.d.ts.map +1 -1
  338. package/dist/general/getBalancesBatch.js +24 -20
  339. package/dist/general/index.d.ts +74 -83
  340. package/dist/general/index.d.ts.map +1 -1
  341. package/dist/general/index.js +14 -19
  342. package/dist/general/searchBalances.d.ts +27 -67
  343. package/dist/general/searchBalances.d.ts.map +1 -1
  344. package/dist/general/searchBalances.js +25 -21
  345. package/dist/general/utils/tokenBalance/tokenBalance.d.ts +17 -33
  346. package/dist/general/utils/tokenBalance/tokenBalance.d.ts.map +1 -1
  347. package/dist/general/utils/tokenBalance/tokenBalance.js +5 -5
  348. package/dist/issuance/approve.js +1 -1
  349. package/dist/issuance/burn.js +1 -1
  350. package/dist/issuance/common/exports.d.ts +2 -0
  351. package/dist/issuance/common/exports.d.ts.map +1 -0
  352. package/dist/issuance/common/exports.js +1 -0
  353. package/dist/issuance/common/factories.d.ts +167 -0
  354. package/dist/issuance/common/factories.d.ts.map +1 -0
  355. package/dist/issuance/common/factories.js +15 -0
  356. package/dist/issuance/deploy.d.ts +12 -12
  357. package/dist/issuance/deploy.d.ts.map +1 -1
  358. package/dist/issuance/deploy.js +21 -8
  359. package/dist/issuance/erc20/approve.d.ts +32 -0
  360. package/dist/issuance/erc20/approve.d.ts.map +1 -0
  361. package/dist/issuance/erc20/approve.js +38 -0
  362. package/dist/issuance/erc20/burn.d.ts +32 -0
  363. package/dist/issuance/erc20/burn.d.ts.map +1 -0
  364. package/dist/issuance/erc20/burn.js +38 -0
  365. package/dist/issuance/erc20/deploy.d.ts +38 -0
  366. package/dist/issuance/erc20/deploy.d.ts.map +1 -0
  367. package/dist/issuance/erc20/deploy.js +52 -0
  368. package/dist/issuance/erc20/deployGated.d.ts +40 -0
  369. package/dist/issuance/erc20/deployGated.d.ts.map +1 -0
  370. package/dist/issuance/erc20/deployGated.js +58 -0
  371. package/dist/issuance/erc20/getInitData.d.ts +59 -0
  372. package/dist/issuance/erc20/getInitData.d.ts.map +1 -0
  373. package/dist/issuance/erc20/getInitData.js +49 -0
  374. package/dist/issuance/erc20/grantRole.d.ts +33 -0
  375. package/dist/issuance/erc20/grantRole.d.ts.map +1 -0
  376. package/dist/issuance/erc20/grantRole.js +41 -0
  377. package/dist/issuance/erc20/index.d.ts +324 -0
  378. package/dist/issuance/erc20/index.d.ts.map +1 -0
  379. package/dist/issuance/erc20/index.js +31 -0
  380. package/dist/issuance/erc20/initialize.d.ts +40 -0
  381. package/dist/issuance/erc20/initialize.d.ts.map +1 -0
  382. package/dist/issuance/erc20/initialize.js +45 -0
  383. package/dist/issuance/erc20/mint.d.ts +32 -0
  384. package/dist/issuance/erc20/mint.d.ts.map +1 -0
  385. package/dist/issuance/erc20/mint.js +38 -0
  386. package/dist/issuance/erc20/parseErc20DeployEvent.d.ts +23 -0
  387. package/dist/issuance/erc20/parseErc20DeployEvent.d.ts.map +1 -0
  388. package/dist/issuance/erc20/parseErc20DeployEvent.js +79 -0
  389. package/dist/issuance/erc20/recover.d.ts +34 -0
  390. package/dist/issuance/erc20/recover.d.ts.map +1 -0
  391. package/dist/issuance/erc20/recover.js +39 -0
  392. package/dist/issuance/erc20/renounceRole.d.ts +33 -0
  393. package/dist/issuance/erc20/renounceRole.d.ts.map +1 -0
  394. package/dist/issuance/erc20/renounceRole.js +41 -0
  395. package/dist/issuance/erc20/revokeRole.d.ts +33 -0
  396. package/dist/issuance/erc20/revokeRole.d.ts.map +1 -0
  397. package/dist/issuance/erc20/revokeRole.js +41 -0
  398. package/dist/issuance/erc20/transfer.d.ts +32 -0
  399. package/dist/issuance/erc20/transfer.d.ts.map +1 -0
  400. package/dist/issuance/erc20/transfer.js +38 -0
  401. package/dist/issuance/erc20/transferFrom.d.ts +34 -0
  402. package/dist/issuance/erc20/transferFrom.d.ts.map +1 -0
  403. package/dist/issuance/erc20/transferFrom.js +39 -0
  404. package/dist/issuance/erc721/approve.d.ts +32 -0
  405. package/dist/issuance/erc721/approve.d.ts.map +1 -0
  406. package/dist/issuance/erc721/approve.js +38 -0
  407. package/dist/issuance/erc721/burn.d.ts +30 -0
  408. package/dist/issuance/erc721/burn.d.ts.map +1 -0
  409. package/dist/issuance/erc721/burn.js +37 -0
  410. package/dist/issuance/erc721/deploy.d.ts +38 -0
  411. package/dist/issuance/erc721/deploy.d.ts.map +1 -0
  412. package/dist/issuance/erc721/deploy.js +51 -0
  413. package/dist/issuance/erc721/deployGated.d.ts +40 -0
  414. package/dist/issuance/erc721/deployGated.d.ts.map +1 -0
  415. package/dist/issuance/erc721/deployGated.js +58 -0
  416. package/dist/issuance/erc721/getInitData.d.ts +49 -0
  417. package/dist/issuance/erc721/getInitData.d.ts.map +1 -0
  418. package/dist/issuance/erc721/getInitData.js +51 -0
  419. package/dist/issuance/erc721/grantRole.d.ts +33 -0
  420. package/dist/issuance/erc721/grantRole.d.ts.map +1 -0
  421. package/dist/issuance/erc721/grantRole.js +41 -0
  422. package/dist/issuance/erc721/index.d.ts +345 -0
  423. package/dist/issuance/erc721/index.d.ts.map +1 -0
  424. package/dist/issuance/erc721/index.js +33 -0
  425. package/dist/issuance/erc721/initialize.d.ts +38 -0
  426. package/dist/issuance/erc721/initialize.d.ts.map +1 -0
  427. package/dist/issuance/erc721/initialize.js +40 -0
  428. package/dist/issuance/erc721/mint.d.ts +32 -0
  429. package/dist/issuance/erc721/mint.d.ts.map +1 -0
  430. package/dist/issuance/erc721/mint.js +38 -0
  431. package/dist/issuance/erc721/parseErc721DeployEvent.d.ts +23 -0
  432. package/dist/issuance/erc721/parseErc721DeployEvent.d.ts.map +1 -0
  433. package/dist/issuance/erc721/parseErc721DeployEvent.js +78 -0
  434. package/dist/issuance/erc721/recover.d.ts +34 -0
  435. package/dist/issuance/erc721/recover.d.ts.map +1 -0
  436. package/dist/issuance/erc721/recover.js +39 -0
  437. package/dist/issuance/erc721/renounceRole.d.ts +33 -0
  438. package/dist/issuance/erc721/renounceRole.d.ts.map +1 -0
  439. package/dist/issuance/erc721/renounceRole.js +41 -0
  440. package/dist/issuance/erc721/revokeRole.d.ts +33 -0
  441. package/dist/issuance/erc721/revokeRole.d.ts.map +1 -0
  442. package/dist/issuance/erc721/revokeRole.js +41 -0
  443. package/dist/issuance/erc721/setBaseURI.d.ts +30 -0
  444. package/dist/issuance/erc721/setBaseURI.d.ts.map +1 -0
  445. package/dist/issuance/erc721/setBaseURI.js +36 -0
  446. package/dist/issuance/erc721/setTokenURI.d.ts +32 -0
  447. package/dist/issuance/erc721/setTokenURI.d.ts.map +1 -0
  448. package/dist/issuance/erc721/setTokenURI.js +38 -0
  449. package/dist/issuance/erc721/transferFrom.d.ts +34 -0
  450. package/dist/issuance/erc721/transferFrom.d.ts.map +1 -0
  451. package/dist/issuance/erc721/transferFrom.js +39 -0
  452. package/dist/issuance/exports.d.ts +2 -0
  453. package/dist/issuance/exports.d.ts.map +1 -0
  454. package/dist/issuance/exports.js +1 -0
  455. package/dist/issuance/getInitData.d.ts +67 -10
  456. package/dist/issuance/getInitData.d.ts.map +1 -1
  457. package/dist/issuance/getInitData.js +52 -1
  458. package/dist/issuance/grantRole.js +1 -1
  459. package/dist/issuance/index.d.ts +682 -259
  460. package/dist/issuance/index.d.ts.map +1 -1
  461. package/dist/issuance/index.js +12 -33
  462. package/dist/issuance/mint.js +1 -1
  463. package/dist/issuance/proxy/deploy.d.ts +41 -0
  464. package/dist/issuance/proxy/deploy.d.ts.map +1 -0
  465. package/dist/issuance/proxy/deploy.js +68 -0
  466. package/dist/issuance/proxy/index.d.ts +59 -0
  467. package/dist/issuance/proxy/index.d.ts.map +1 -0
  468. package/dist/issuance/proxy/index.js +10 -0
  469. package/dist/issuance/proxy/upgrade.d.ts +34 -0
  470. package/dist/issuance/proxy/upgrade.d.ts.map +1 -0
  471. package/dist/issuance/proxy/upgrade.js +46 -0
  472. package/dist/issuance/recover.js +1 -1
  473. package/dist/issuance/renounceRole.js +1 -1
  474. package/dist/issuance/transfer.js +1 -1
  475. package/dist/next/fractions/index.d.ts +275 -0
  476. package/dist/next/fractions/index.d.ts.map +1 -0
  477. package/dist/next/fractions/index.js +13 -0
  478. package/dist/next/fractions/lending/buyback/buyback.routes.d.ts +27 -0
  479. package/dist/next/fractions/lending/buyback/buyback.routes.d.ts.map +1 -0
  480. package/dist/next/fractions/lending/buyback/buyback.routes.js +28 -0
  481. package/dist/next/fractions/lending/buyback/buyback.schema.d.ts +8 -0
  482. package/dist/next/fractions/lending/buyback/buyback.schema.d.ts.map +1 -0
  483. package/dist/next/fractions/lending/buyback/buyback.schema.js +13 -0
  484. package/dist/next/fractions/lending/createLendingSale.d.ts +130 -0
  485. package/dist/next/fractions/lending/createLendingSale.d.ts.map +1 -0
  486. package/dist/next/fractions/lending/createLendingSale.js +82 -0
  487. package/dist/next/fractions/lending/deployMarket/lending.routes.d.ts +44 -0
  488. package/dist/next/fractions/lending/deployMarket/lending.routes.d.ts.map +1 -0
  489. package/dist/next/fractions/lending/deployMarket/lending.routes.js +40 -0
  490. package/dist/next/fractions/lending/index.d.ts +188 -0
  491. package/dist/next/fractions/lending/index.d.ts.map +1 -0
  492. package/dist/next/fractions/lending/index.js +15 -0
  493. package/dist/next/fractions/lending/purchase/directPurchase.route.d.ts +33 -0
  494. package/dist/next/fractions/lending/purchase/directPurchase.route.d.ts.map +1 -0
  495. package/dist/next/fractions/lending/purchase/directPurchase.route.js +34 -0
  496. package/dist/next/fractions/lending/schemas.d.ts +25 -0
  497. package/dist/next/fractions/lending/schemas.d.ts.map +1 -0
  498. package/dist/next/fractions/lending/schemas.js +21 -0
  499. package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts +26 -0
  500. package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts.map +1 -0
  501. package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.routes.js +28 -0
  502. package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts +7 -0
  503. package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts.map +1 -0
  504. package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.schema.js +11 -0
  505. package/dist/next/fractions/platforms/deployNftFractionsMarket.routes.d.ts +39 -0
  506. package/dist/next/fractions/platforms/deployNftFractionsMarket.routes.d.ts.map +1 -0
  507. package/dist/next/fractions/platforms/deployNftFractionsMarket.routes.js +40 -0
  508. package/dist/next/fractions/platforms/deployNftFractionsMarket.schema.d.ts +26 -0
  509. package/dist/next/fractions/platforms/deployNftFractionsMarket.schema.d.ts.map +1 -0
  510. package/dist/next/fractions/platforms/deployNftFractionsMarket.schema.js +24 -0
  511. package/dist/next/fractions/platforms/index.d.ts +36 -0
  512. package/dist/next/fractions/platforms/index.d.ts.map +1 -0
  513. package/dist/next/fractions/platforms/index.js +5 -0
  514. package/dist/next/fractions/sales/createNftFractions.routes.d.ts +58 -0
  515. package/dist/next/fractions/sales/createNftFractions.routes.d.ts.map +1 -0
  516. package/dist/next/fractions/sales/createNftFractions.routes.js +59 -0
  517. package/dist/next/fractions/sales/createNftFractions.schema.d.ts +85 -0
  518. package/dist/next/fractions/sales/createNftFractions.schema.d.ts.map +1 -0
  519. package/dist/next/fractions/sales/createNftFractions.schema.js +67 -0
  520. package/dist/next/fractions/sales/index.d.ts +55 -0
  521. package/dist/next/fractions/sales/index.d.ts.map +1 -0
  522. package/dist/next/fractions/sales/index.js +5 -0
  523. package/dist/staking/index.d.ts +193 -202
  524. package/dist/staking/index.d.ts.map +1 -1
  525. package/dist/staking/index.js +14 -19
  526. package/dist/staking/platforms/common/platform.d.ts +7 -21
  527. package/dist/staking/platforms/common/platform.d.ts.map +1 -1
  528. package/dist/staking/platforms/common/platform.js +6 -8
  529. package/dist/staking/platforms/getPlatform/index.d.ts +9 -12
  530. package/dist/staking/platforms/getPlatform/index.d.ts.map +1 -1
  531. package/dist/staking/platforms/getPlatform/index.js +5 -4
  532. package/dist/staking/platforms/getPlatform/v0/getPlatform.d.ts +21 -49
  533. package/dist/staking/platforms/getPlatform/v0/getPlatform.d.ts.map +1 -1
  534. package/dist/staking/platforms/getPlatform/v0/getPlatform.js +20 -10
  535. package/dist/staking/platforms/index.d.ts +19 -21
  536. package/dist/staking/platforms/index.d.ts.map +1 -1
  537. package/dist/staking/platforms/index.js +8 -9
  538. package/dist/staking/platforms/searchPlatforms/index.d.ts +11 -14
  539. package/dist/staking/platforms/searchPlatforms/index.d.ts.map +1 -1
  540. package/dist/staking/platforms/searchPlatforms/index.js +5 -4
  541. package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts +27 -73
  542. package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts.map +1 -1
  543. package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.js +12 -9
  544. package/dist/staking/pools/common/pool.d.ts +9 -25
  545. package/dist/staking/pools/common/pool.d.ts.map +1 -1
  546. package/dist/staking/pools/common/pool.js +5 -7
  547. package/dist/staking/pools/getPool/index.d.ts +4 -7
  548. package/dist/staking/pools/getPool/index.d.ts.map +1 -1
  549. package/dist/staking/pools/getPool/index.js +5 -4
  550. package/dist/staking/pools/getPool/v0/getPool.d.ts +14 -32
  551. package/dist/staking/pools/getPool/v0/getPool.d.ts.map +1 -1
  552. package/dist/staking/pools/getPool/v0/getPool.js +20 -9
  553. package/dist/staking/pools/index.d.ts +10 -12
  554. package/dist/staking/pools/index.d.ts.map +1 -1
  555. package/dist/staking/pools/index.js +8 -9
  556. package/dist/staking/pools/searchPools/index.d.ts +7 -10
  557. package/dist/staking/pools/searchPools/index.d.ts.map +1 -1
  558. package/dist/staking/pools/searchPools/index.js +5 -4
  559. package/dist/staking/pools/searchPools/v0/searchPools.d.ts +19 -52
  560. package/dist/staking/pools/searchPools/v0/searchPools.d.ts.map +1 -1
  561. package/dist/staking/pools/searchPools/v0/searchPools.js +11 -8
  562. package/dist/staking/roles/common/role.d.ts +4 -10
  563. package/dist/staking/roles/common/role.d.ts.map +1 -1
  564. package/dist/staking/roles/common/role.js +2 -4
  565. package/dist/staking/roles/common/roleAssignment.d.ts +9 -25
  566. package/dist/staking/roles/common/roleAssignment.d.ts.map +1 -1
  567. package/dist/staking/roles/common/roleAssignment.js +5 -7
  568. package/dist/staking/roles/common/roleEvent.d.ts +8 -26
  569. package/dist/staking/roles/common/roleEvent.d.ts.map +1 -1
  570. package/dist/staking/roles/common/roleEvent.js +3 -5
  571. package/dist/staking/roles/getRoles/index.d.ts +3 -6
  572. package/dist/staking/roles/getRoles/index.d.ts.map +1 -1
  573. package/dist/staking/roles/getRoles/index.js +5 -4
  574. package/dist/staking/roles/getRoles/v0/getRoles.d.ts +22 -28
  575. package/dist/staking/roles/getRoles/v0/getRoles.d.ts.map +1 -1
  576. package/dist/staking/roles/getRoles/v0/getRoles.js +9 -6
  577. package/dist/staking/roles/grantRole/index.d.ts +7 -10
  578. package/dist/staking/roles/grantRole/index.d.ts.map +1 -1
  579. package/dist/staking/roles/grantRole/index.js +5 -4
  580. package/dist/staking/roles/grantRole/v0/grantRole.d.ts +23 -60
  581. package/dist/staking/roles/grantRole/v0/grantRole.d.ts.map +1 -1
  582. package/dist/staking/roles/grantRole/v0/grantRole.js +9 -6
  583. package/dist/staking/roles/index.d.ts +25 -27
  584. package/dist/staking/roles/index.d.ts.map +1 -1
  585. package/dist/staking/roles/index.js +12 -13
  586. package/dist/staking/roles/searchRoleEvents/index.d.ts +9 -12
  587. package/dist/staking/roles/searchRoleEvents/index.d.ts.map +1 -1
  588. package/dist/staking/roles/searchRoleEvents/index.js +5 -4
  589. package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts +21 -60
  590. package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts.map +1 -1
  591. package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.js +11 -8
  592. package/dist/staking/roles/searchRoles/index.d.ts +9 -12
  593. package/dist/staking/roles/searchRoles/index.d.ts.map +1 -1
  594. package/dist/staking/roles/searchRoles/index.js +5 -4
  595. package/dist/staking/roles/searchRoles/v0/searchRoles.d.ts +21 -60
  596. package/dist/staking/roles/searchRoles/v0/searchRoles.d.ts.map +1 -1
  597. package/dist/staking/roles/searchRoles/v0/searchRoles.js +17 -11
  598. package/dist/staking/stakes/common/stake.d.ts +14 -40
  599. package/dist/staking/stakes/common/stake.d.ts.map +1 -1
  600. package/dist/staking/stakes/common/stake.js +18 -20
  601. package/dist/staking/stakes/common/stakeEvent.d.ts +9 -27
  602. package/dist/staking/stakes/common/stakeEvent.d.ts.map +1 -1
  603. package/dist/staking/stakes/common/stakeEvent.js +4 -6
  604. package/dist/staking/stakes/getStake/index.d.ts +4 -7
  605. package/dist/staking/stakes/getStake/index.d.ts.map +1 -1
  606. package/dist/staking/stakes/getStake/index.js +5 -4
  607. package/dist/staking/stakes/getStake/v0/getStake.d.ts +14 -32
  608. package/dist/staking/stakes/getStake/v0/getStake.d.ts.map +1 -1
  609. package/dist/staking/stakes/getStake/v0/getStake.js +19 -9
  610. package/dist/staking/stakes/index.d.ts +20 -22
  611. package/dist/staking/stakes/index.d.ts.map +1 -1
  612. package/dist/staking/stakes/index.js +10 -11
  613. package/dist/staking/stakes/searchStakeEvents/index.d.ts +9 -12
  614. package/dist/staking/stakes/searchStakeEvents/index.d.ts.map +1 -1
  615. package/dist/staking/stakes/searchStakeEvents/index.js +5 -4
  616. package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts +21 -60
  617. package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts.map +1 -1
  618. package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.js +13 -9
  619. package/dist/staking/stakes/searchStakes/index.d.ts +9 -12
  620. package/dist/staking/stakes/searchStakes/index.d.ts.map +1 -1
  621. package/dist/staking/stakes/searchStakes/index.js +5 -4
  622. package/dist/staking/stakes/searchStakes/v0/searchStakes.d.ts +21 -60
  623. package/dist/staking/stakes/searchStakes/v0/searchStakes.d.ts.map +1 -1
  624. package/dist/staking/stakes/searchStakes/v0/searchStakes.js +13 -27
  625. package/dist/staking-templates/index.d.ts +100 -100
  626. package/dist/staking-templates/index.js +1 -1
  627. package/dist/staking-templates/templates/common/amount.d.ts +5 -11
  628. package/dist/staking-templates/templates/common/amount.d.ts.map +1 -1
  629. package/dist/staking-templates/templates/common/amount.js +6 -8
  630. package/dist/staking-templates/templates/common/amountMult.d.ts +2 -2
  631. package/dist/staking-templates/templates/common/amountMult.d.ts.map +1 -1
  632. package/dist/staking-templates/templates/common/amountMult.js +3 -4
  633. package/dist/staking-templates/templates/common/erc20Input.d.ts +4 -10
  634. package/dist/staking-templates/templates/common/erc20Input.d.ts.map +1 -1
  635. package/dist/staking-templates/templates/common/erc20Input.js +4 -6
  636. package/dist/staking-templates/templates/common/erc20Reward.d.ts +4 -10
  637. package/dist/staking-templates/templates/common/erc20Reward.d.ts.map +1 -1
  638. package/dist/staking-templates/templates/common/erc20Reward.js +4 -7
  639. package/dist/staking-templates/templates/common/getCreatePoolEvent.d.ts +2 -2
  640. package/dist/staking-templates/templates/common/getCreatePoolEvent.d.ts.map +1 -1
  641. package/dist/staking-templates/templates/common/getCreatePoolEvent.js +3 -3
  642. package/dist/staking-templates/templates/common/getPlatformDeployEvent.d.ts +2 -2
  643. package/dist/staking-templates/templates/common/getPlatformDeployEvent.js +4 -4
  644. package/dist/staking-templates/templates/common/getReward.d.ts +10 -10
  645. package/dist/staking-templates/templates/common/getReward.d.ts.map +1 -1
  646. package/dist/staking-templates/templates/common/getReward.js +2 -2
  647. package/dist/staking-templates/templates/common/getStakeEvent.d.ts +3 -3
  648. package/dist/staking-templates/templates/common/getStakeEvent.d.ts.map +1 -1
  649. package/dist/staking-templates/templates/common/getStakeEvent.js +4 -4
  650. package/dist/staking-templates/templates/common/lock.d.ts +4 -10
  651. package/dist/staking-templates/templates/common/lock.d.ts.map +1 -1
  652. package/dist/staking-templates/templates/common/lock.js +5 -7
  653. package/dist/staking-templates/templates/common/lockMult.d.ts +2 -2
  654. package/dist/staking-templates/templates/common/lockMult.d.ts.map +1 -1
  655. package/dist/staking-templates/templates/common/lockMult.js +3 -4
  656. package/dist/staking-templates/templates/common/partialUnstake.d.ts +12 -12
  657. package/dist/staking-templates/templates/common/partialUnstake.d.ts.map +1 -1
  658. package/dist/staking-templates/templates/common/partialUnstake.js +4 -4
  659. package/dist/staking-templates/templates/common/rewardDistribution.d.ts +5 -11
  660. package/dist/staking-templates/templates/common/rewardDistribution.d.ts.map +1 -1
  661. package/dist/staking-templates/templates/common/rewardDistribution.js +5 -8
  662. package/dist/staking-templates/templates/common/time.d.ts +1 -1
  663. package/dist/staking-templates/templates/common/time.d.ts.map +1 -1
  664. package/dist/staking-templates/templates/common/time.js +2 -2
  665. package/dist/staking-templates/templates/common/unstake.d.ts +10 -10
  666. package/dist/staking-templates/templates/common/unstake.d.ts.map +1 -1
  667. package/dist/staking-templates/templates/common/unstake.js +2 -2
  668. package/dist/staking-templates/templates/reputation/index.d.ts +30 -30
  669. package/dist/staking-templates/templates/reputation/v0/createPlatform.d.ts +11 -11
  670. package/dist/staking-templates/templates/reputation/v0/createPlatform.js +3 -3
  671. package/dist/staking-templates/templates/reputation/v0/createPool.d.ts +24 -24
  672. package/dist/staking-templates/templates/reputation/v0/createPool.d.ts.map +1 -1
  673. package/dist/staking-templates/templates/reputation/v0/createPool.js +6 -6
  674. package/dist/staking-templates/templates/reputation/v0/index.d.ts +30 -30
  675. package/dist/staking-templates/templates/reputation/v0/index.js +5 -5
  676. package/dist/staking-templates/templates/reputation/v0/restake.d.ts +11 -11
  677. package/dist/staking-templates/templates/reputation/v0/restake.js +4 -4
  678. package/dist/staking-templates/templates/reputation/v0/stake.d.ts +12 -12
  679. package/dist/staking-templates/templates/reputation/v0/stake.d.ts.map +1 -1
  680. package/dist/staking-templates/templates/reputation/v0/stake.js +5 -5
  681. package/dist/staking-templates/templates/reputationLock/index.d.ts +37 -37
  682. package/dist/staking-templates/templates/reputationLock/v0/createPlatform.d.ts +11 -11
  683. package/dist/staking-templates/templates/reputationLock/v0/createPlatform.js +3 -3
  684. package/dist/staking-templates/templates/reputationLock/v0/createPool.d.ts +36 -36
  685. package/dist/staking-templates/templates/reputationLock/v0/createPool.d.ts.map +1 -1
  686. package/dist/staking-templates/templates/reputationLock/v0/createPool.js +7 -7
  687. package/dist/staking-templates/templates/reputationLock/v0/index.d.ts +37 -37
  688. package/dist/staking-templates/templates/reputationLock/v0/index.js +5 -5
  689. package/dist/staking-templates/templates/reputationLock/v0/restake.d.ts +13 -13
  690. package/dist/staking-templates/templates/reputationLock/v0/restake.js +5 -5
  691. package/dist/staking-templates/templates/reputationLock/v0/stake.d.ts +14 -14
  692. package/dist/staking-templates/templates/reputationLock/v0/stake.d.ts.map +1 -1
  693. package/dist/staking-templates/templates/reputationLock/v0/stake.js +5 -5
  694. package/dist/staking-templates/templates/rwa/index.d.ts +33 -33
  695. package/dist/staking-templates/templates/rwa/v0/createPlatform.d.ts +11 -11
  696. package/dist/staking-templates/templates/rwa/v0/createPlatform.js +3 -3
  697. package/dist/staking-templates/templates/rwa/v0/createPool.d.ts +20 -20
  698. package/dist/staking-templates/templates/rwa/v0/createPool.d.ts.map +1 -1
  699. package/dist/staking-templates/templates/rwa/v0/createPool.js +4 -4
  700. package/dist/staking-templates/templates/rwa/v0/distributeRewards.d.ts +12 -12
  701. package/dist/staking-templates/templates/rwa/v0/distributeRewards.d.ts.map +1 -1
  702. package/dist/staking-templates/templates/rwa/v0/distributeRewards.js +4 -4
  703. package/dist/staking-templates/templates/rwa/v0/index.d.ts +33 -33
  704. package/dist/staking-templates/templates/rwa/v0/index.js +5 -5
  705. package/dist/staking-templates/templates/rwa/v0/restake.d.ts +11 -11
  706. package/dist/staking-templates/templates/rwa/v0/restake.js +4 -4
  707. package/dist/staking-templates/templates/rwa/v0/stake.d.ts +12 -12
  708. package/dist/staking-templates/templates/rwa/v0/stake.d.ts.map +1 -1
  709. package/dist/staking-templates/templates/rwa/v0/stake.js +5 -5
  710. package/dist/stakingTemplates/index.d.ts +723 -0
  711. package/dist/stakingTemplates/index.d.ts.map +1 -0
  712. package/dist/stakingTemplates/index.js +13 -0
  713. package/dist/stakingTemplates/templates/common/amount.d.ts +7 -0
  714. package/dist/stakingTemplates/templates/common/amount.d.ts.map +1 -0
  715. package/dist/stakingTemplates/templates/common/amount.js +15 -0
  716. package/dist/stakingTemplates/templates/common/amountMult.d.ts +3 -0
  717. package/dist/stakingTemplates/templates/common/amountMult.d.ts.map +1 -0
  718. package/dist/stakingTemplates/templates/common/amountMult.js +24 -0
  719. package/dist/stakingTemplates/templates/common/erc20Input.d.ts +6 -0
  720. package/dist/stakingTemplates/templates/common/erc20Input.d.ts.map +1 -0
  721. package/dist/stakingTemplates/templates/common/erc20Input.js +16 -0
  722. package/dist/stakingTemplates/templates/common/erc20Reward.d.ts +6 -0
  723. package/dist/stakingTemplates/templates/common/erc20Reward.d.ts.map +1 -0
  724. package/dist/stakingTemplates/templates/common/erc20Reward.js +15 -0
  725. package/dist/stakingTemplates/templates/common/getCreatePoolEvent.d.ts +17 -0
  726. package/dist/stakingTemplates/templates/common/getCreatePoolEvent.d.ts.map +1 -0
  727. package/dist/stakingTemplates/templates/common/getCreatePoolEvent.js +51 -0
  728. package/dist/stakingTemplates/templates/common/getPlatformDeployEvent.d.ts +20 -0
  729. package/dist/stakingTemplates/templates/common/getPlatformDeployEvent.d.ts.map +1 -0
  730. package/dist/stakingTemplates/templates/common/getPlatformDeployEvent.js +49 -0
  731. package/dist/stakingTemplates/templates/common/getReward.d.ts +26 -0
  732. package/dist/stakingTemplates/templates/common/getReward.d.ts.map +1 -0
  733. package/dist/stakingTemplates/templates/common/getReward.js +37 -0
  734. package/dist/stakingTemplates/templates/common/getStakeEvent.d.ts +17 -0
  735. package/dist/stakingTemplates/templates/common/getStakeEvent.d.ts.map +1 -0
  736. package/dist/stakingTemplates/templates/common/getStakeEvent.js +55 -0
  737. package/dist/stakingTemplates/templates/common/lock.d.ts +6 -0
  738. package/dist/stakingTemplates/templates/common/lock.d.ts.map +1 -0
  739. package/dist/stakingTemplates/templates/common/lock.js +18 -0
  740. package/dist/stakingTemplates/templates/common/lockMult.d.ts +3 -0
  741. package/dist/stakingTemplates/templates/common/lockMult.d.ts.map +1 -0
  742. package/dist/stakingTemplates/templates/common/lockMult.js +16 -0
  743. package/dist/stakingTemplates/templates/common/partialUnstake.d.ts +27 -0
  744. package/dist/stakingTemplates/templates/common/partialUnstake.d.ts.map +1 -0
  745. package/dist/stakingTemplates/templates/common/partialUnstake.js +42 -0
  746. package/dist/stakingTemplates/templates/common/rewardDistribution.d.ts +7 -0
  747. package/dist/stakingTemplates/templates/common/rewardDistribution.d.ts.map +1 -0
  748. package/dist/stakingTemplates/templates/common/rewardDistribution.js +16 -0
  749. package/dist/stakingTemplates/templates/common/templates.d.ts +61 -0
  750. package/dist/stakingTemplates/templates/common/templates.d.ts.map +1 -0
  751. package/dist/stakingTemplates/templates/common/templates.js +8 -0
  752. package/dist/stakingTemplates/templates/common/time.d.ts +2 -0
  753. package/dist/stakingTemplates/templates/common/time.d.ts.map +1 -0
  754. package/dist/stakingTemplates/templates/common/time.js +4 -0
  755. package/dist/stakingTemplates/templates/common/unstake.d.ts +26 -0
  756. package/dist/stakingTemplates/templates/common/unstake.d.ts.map +1 -0
  757. package/dist/stakingTemplates/templates/common/unstake.js +37 -0
  758. package/dist/stakingTemplates/templates/reputation/common.d.ts +23 -0
  759. package/dist/stakingTemplates/templates/reputation/common.d.ts.map +1 -0
  760. package/dist/stakingTemplates/templates/reputation/common.js +3 -0
  761. package/dist/stakingTemplates/templates/reputation/index.d.ts +231 -0
  762. package/dist/stakingTemplates/templates/reputation/index.d.ts.map +1 -0
  763. package/dist/stakingTemplates/templates/reputation/index.js +5 -0
  764. package/dist/stakingTemplates/templates/reputation/v0/createPlatform.d.ts +31 -0
  765. package/dist/stakingTemplates/templates/reputation/v0/createPlatform.d.ts.map +1 -0
  766. package/dist/stakingTemplates/templates/reputation/v0/createPlatform.js +57 -0
  767. package/dist/stakingTemplates/templates/reputation/v0/createPool.d.ts +39 -0
  768. package/dist/stakingTemplates/templates/reputation/v0/createPool.d.ts.map +1 -0
  769. package/dist/stakingTemplates/templates/reputation/v0/createPool.js +86 -0
  770. package/dist/stakingTemplates/templates/reputation/v0/index.d.ts +231 -0
  771. package/dist/stakingTemplates/templates/reputation/v0/index.d.ts.map +1 -0
  772. package/dist/stakingTemplates/templates/reputation/v0/index.js +26 -0
  773. package/dist/stakingTemplates/templates/reputation/v0/restake.d.ts +26 -0
  774. package/dist/stakingTemplates/templates/reputation/v0/restake.d.ts.map +1 -0
  775. package/dist/stakingTemplates/templates/reputation/v0/restake.js +41 -0
  776. package/dist/stakingTemplates/templates/reputation/v0/stake.d.ts +26 -0
  777. package/dist/stakingTemplates/templates/reputation/v0/stake.d.ts.map +1 -0
  778. package/dist/stakingTemplates/templates/reputation/v0/stake.js +46 -0
  779. package/dist/stakingTemplates/templates/reputationLock/common.d.ts +23 -0
  780. package/dist/stakingTemplates/templates/reputationLock/common.d.ts.map +1 -0
  781. package/dist/stakingTemplates/templates/reputationLock/common.js +3 -0
  782. package/dist/stakingTemplates/templates/reputationLock/index.d.ts +242 -0
  783. package/dist/stakingTemplates/templates/reputationLock/index.d.ts.map +1 -0
  784. package/dist/stakingTemplates/templates/reputationLock/index.js +5 -0
  785. package/dist/stakingTemplates/templates/reputationLock/v0/createPlatform.d.ts +31 -0
  786. package/dist/stakingTemplates/templates/reputationLock/v0/createPlatform.d.ts.map +1 -0
  787. package/dist/stakingTemplates/templates/reputationLock/v0/createPlatform.js +57 -0
  788. package/dist/stakingTemplates/templates/reputationLock/v0/createPool.d.ts +48 -0
  789. package/dist/stakingTemplates/templates/reputationLock/v0/createPool.d.ts.map +1 -0
  790. package/dist/stakingTemplates/templates/reputationLock/v0/createPool.js +100 -0
  791. package/dist/stakingTemplates/templates/reputationLock/v0/index.d.ts +242 -0
  792. package/dist/stakingTemplates/templates/reputationLock/v0/index.d.ts.map +1 -0
  793. package/dist/stakingTemplates/templates/reputationLock/v0/index.js +26 -0
  794. package/dist/stakingTemplates/templates/reputationLock/v0/restake.d.ts +27 -0
  795. package/dist/stakingTemplates/templates/reputationLock/v0/restake.d.ts.map +1 -0
  796. package/dist/stakingTemplates/templates/reputationLock/v0/restake.js +45 -0
  797. package/dist/stakingTemplates/templates/reputationLock/v0/stake.d.ts +27 -0
  798. package/dist/stakingTemplates/templates/reputationLock/v0/stake.d.ts.map +1 -0
  799. package/dist/stakingTemplates/templates/reputationLock/v0/stake.js +47 -0
  800. package/dist/stakingTemplates/templates/rwa/common.d.ts +23 -0
  801. package/dist/stakingTemplates/templates/rwa/common.d.ts.map +1 -0
  802. package/dist/stakingTemplates/templates/rwa/common.js +3 -0
  803. package/dist/stakingTemplates/templates/rwa/index.d.ts +254 -0
  804. package/dist/stakingTemplates/templates/rwa/index.d.ts.map +1 -0
  805. package/dist/stakingTemplates/templates/rwa/index.js +5 -0
  806. package/dist/stakingTemplates/templates/rwa/v0/createPlatform.d.ts +31 -0
  807. package/dist/stakingTemplates/templates/rwa/v0/createPlatform.d.ts.map +1 -0
  808. package/dist/stakingTemplates/templates/rwa/v0/createPlatform.js +57 -0
  809. package/dist/stakingTemplates/templates/rwa/v0/createPool.d.ts +38 -0
  810. package/dist/stakingTemplates/templates/rwa/v0/createPool.d.ts.map +1 -0
  811. package/dist/stakingTemplates/templates/rwa/v0/createPool.js +80 -0
  812. package/dist/stakingTemplates/templates/rwa/v0/distributeRewards.d.ts +26 -0
  813. package/dist/stakingTemplates/templates/rwa/v0/distributeRewards.d.ts.map +1 -0
  814. package/dist/stakingTemplates/templates/rwa/v0/distributeRewards.js +42 -0
  815. package/dist/stakingTemplates/templates/rwa/v0/index.d.ts +254 -0
  816. package/dist/stakingTemplates/templates/rwa/v0/index.d.ts.map +1 -0
  817. package/dist/stakingTemplates/templates/rwa/v0/index.js +28 -0
  818. package/dist/stakingTemplates/templates/rwa/v0/restake.d.ts +26 -0
  819. package/dist/stakingTemplates/templates/rwa/v0/restake.d.ts.map +1 -0
  820. package/dist/stakingTemplates/templates/rwa/v0/restake.js +41 -0
  821. package/dist/stakingTemplates/templates/rwa/v0/stake.d.ts +26 -0
  822. package/dist/stakingTemplates/templates/rwa/v0/stake.d.ts.map +1 -0
  823. package/dist/stakingTemplates/templates/rwa/v0/stake.js +46 -0
  824. package/dist/v0/fractions/index.d.ts +76 -15
  825. package/dist/v0/fractions/index.d.ts.map +1 -1
  826. package/dist/v0/fractions/networkStatistics.route.d.ts +208 -87
  827. package/dist/v0/fractions/networkStatistics.route.d.ts.map +1 -1
  828. package/dist/v0/fractions/networkStatistics.route.js +99 -228
  829. package/dist/v1/fractions/lending/buyback/buyback.routes.d.ts +17 -17
  830. package/dist/v1/fractions/lending/buyback/buyback.routes.js +2 -2
  831. package/dist/v1/fractions/lending/buyback/buyback.schema.d.ts +5 -16
  832. package/dist/v1/fractions/lending/buyback/buyback.schema.d.ts.map +1 -1
  833. package/dist/v1/fractions/lending/buyback/buyback.schema.js +5 -4
  834. package/dist/v1/fractions/lending/createLendingSale.d.ts +124 -406
  835. package/dist/v1/fractions/lending/createLendingSale.d.ts.map +1 -1
  836. package/dist/v1/fractions/lending/createLendingSale.js +20 -22
  837. package/dist/v1/fractions/lending/deployMarket/lending.routes.d.ts +37 -41
  838. package/dist/v1/fractions/lending/deployMarket/lending.routes.d.ts.map +1 -1
  839. package/dist/v1/fractions/lending/deployMarket/lending.routes.js +13 -7
  840. package/dist/v1/fractions/lending/index.d.ts +55 -72
  841. package/dist/v1/fractions/lending/index.d.ts.map +1 -1
  842. package/dist/v1/fractions/lending/index.js +2 -2
  843. package/dist/v1/fractions/lending/purchase/directPurchase.route.d.ts +23 -34
  844. package/dist/v1/fractions/lending/purchase/directPurchase.route.d.ts.map +1 -1
  845. package/dist/v1/fractions/lending/purchase/directPurchase.route.js +9 -12
  846. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts +13 -13
  847. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.routes.js +2 -2
  848. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts +4 -13
  849. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts.map +1 -1
  850. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.js +3 -2
  851. package/dist/v1/fractions/schemas.d.ts +14 -102
  852. package/dist/v1/fractions/schemas.d.ts.map +1 -1
  853. package/dist/v1/fractions/schemas.js +13 -28
  854. package/package.json +23 -19
@@ -1,1320 +1,1278 @@
1
- import { Factory } from "hono/factory";
2
- import type { AppContext } from "../common/context.js";
3
- export declare const fractionsApi: {
4
- name: string;
5
- createApp: (factory: Factory<AppContext>) => import("hono/hono-base").HonoBase<AppContext, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<(import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
6
- "/": {
7
- $get: {
8
- input: {
9
- query: {
10
- chainId: string | string[];
11
- address: string | string[];
12
- };
1
+ export declare const FractionsApi: import("../common/controller.js").IApi<import("hono/hono-base").HonoBase<import("../common/context.js").AppContext, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
2
+ "/": {
3
+ $get: {
4
+ input: {
5
+ query: {
6
+ chainId: string | string[];
7
+ address: string | string[];
13
8
  };
14
- output: {
15
- error: string;
16
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
17
- market: `0x${string}`;
9
+ };
10
+ output: {
11
+ error: string;
12
+ chainId: 1 | 11155111 | 31337 | 72080;
13
+ market: `0x${string}`;
14
+ };
15
+ outputFormat: "json";
16
+ status: 404;
17
+ } | {
18
+ input: {
19
+ query: {
20
+ chainId: string | string[];
21
+ address: string | string[];
18
22
  };
19
- outputFormat: "json";
20
- status: 404;
21
- } | {
22
- input: {
23
- query: {
24
- chainId: string | string[];
25
- address: string | string[];
23
+ };
24
+ output: never;
25
+ outputFormat: "json";
26
+ status: 200;
27
+ };
28
+ };
29
+ }, "/">, "/get"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
30
+ "/": {
31
+ $post: {
32
+ input: {
33
+ json: {
34
+ page: {
35
+ skip: number;
36
+ limit: number;
37
+ };
38
+ filter: {
39
+ chainId?: unknown;
40
+ owner?: string | undefined;
26
41
  };
27
42
  };
28
- output: {
29
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
30
- createdAt: string;
31
- contractAddress: `0x${string}`;
32
- adminAddress: `0x${string}`;
33
- updatedAt: string;
34
- template: "default" | "compilot" | "continuous-withdrawal" | "continuous-withdrawal-nid" | "lending";
35
- wrapperAddress: `0x${string}` | null;
36
- transactionHash: `0x${string}`;
37
- feesBps: number | null;
38
- burnAsset: {
39
- symbol: string;
40
- type: string;
41
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
42
- address: `0x${string}`;
43
- name: string;
44
- tokenId: string | null;
45
- decimals: number;
46
- burnable: boolean;
47
- } | null;
48
- };
49
- outputFormat: "json";
50
- status: 200;
51
43
  };
44
+ output: never;
45
+ outputFormat: "json";
46
+ status: 200;
52
47
  };
53
- }, "/get"> | import("hono/types").MergeSchemaPath<{
54
- "/": {
55
- $post: {
56
- input: {
57
- json: {
58
- filter: {
59
- chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
60
- owner?: `0x${string}` | undefined;
61
- };
62
- page: {
63
- skip: number;
64
- limit: number;
65
- };
66
- };
48
+ };
49
+ }, "/">, "/search"> | import("hono/types").MergeSchemaPath<{
50
+ "/": {
51
+ $get: {
52
+ input: {
53
+ query: {
54
+ chainId: string | string[];
55
+ hash: string | string[];
67
56
  };
68
- output: {
69
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
70
- createdAt: string;
71
- contractAddress: `0x${string}`;
72
- adminAddress: `0x${string}`;
73
- updatedAt: string;
74
- template: "default" | "compilot" | "continuous-withdrawal" | "continuous-withdrawal-nid" | "lending";
75
- wrapperAddress: `0x${string}` | null;
76
- transactionHash: `0x${string}`;
77
- feesBps: number | null;
78
- burnAsset: {
79
- symbol: string;
80
- type: string;
81
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
82
- address: `0x${string}`;
83
- name: string;
84
- tokenId: string | null;
85
- decimals: number;
86
- burnable: boolean;
87
- } | null;
88
- }[];
89
- outputFormat: "json";
90
- status: 200;
91
57
  };
58
+ output: {
59
+ diamondAddress: `0x${string}`;
60
+ admin: `0x${string}`;
61
+ wrapperAddress: `0x${string}` | null;
62
+ };
63
+ outputFormat: "json";
64
+ status: 200;
92
65
  };
93
- }, "/search">) & {
94
- "/deployEvent": {
95
- $get: {
96
- input: {
97
- query: {
98
- chainId: string | string[];
99
- hash: string | string[];
100
- };
66
+ };
67
+ }, "/deployEvent">, "/markets"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
68
+ "/": {
69
+ $post: {
70
+ input: {
71
+ json: {
72
+ chainId: unknown;
73
+ adminAddress: string;
74
+ ownerAddress?: string | undefined;
75
+ discount?: {
76
+ burnForDiscount: {
77
+ burnableTokenAddress: string;
78
+ };
79
+ } | undefined;
80
+ cap?: {
81
+ maxHardCap: string;
82
+ } | undefined;
83
+ fee?: {
84
+ percent: number;
85
+ collectorAddress: string;
86
+ feeAdmin: string;
87
+ } | undefined;
101
88
  };
102
- output: {
103
- diamondAddress: `0x${string}`;
104
- admin: `0x${string}`;
105
- wrapperAddress: `0x${string}` | null;
89
+ };
90
+ output: {
91
+ data: `0x${string}`;
92
+ to: `0x${string}`;
93
+ details: {
94
+ functionName: string;
95
+ address: `0x${string}`;
96
+ abi: any[];
97
+ args: any[];
106
98
  };
107
- outputFormat: "json";
108
- status: 200;
109
99
  };
100
+ outputFormat: "json";
101
+ status: import("hono/utils/http-status").ContentfulStatusCode;
110
102
  };
111
- }, "/markets"> | import("hono/types").MergeSchemaPath<{
112
- "/deploy": {
113
- $post: {
114
- input: {
115
- json: {
116
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
117
- adminAddress: `0x${string}`;
118
- discount?: {
119
- burnForDiscount: {
120
- burnableTokenAddress: `0x${string}`;
121
- };
122
- } | undefined;
123
- cap?: {
124
- maxHardCap: bigint;
125
- } | undefined;
126
- };
103
+ };
104
+ }, "/deploy"> | import("hono/types").MergeSchemaPath<{
105
+ "/": {
106
+ $post: {
107
+ input: {
108
+ json: {
109
+ chainId: unknown;
110
+ adminAddress: string;
111
+ ownerAddress?: string | undefined;
112
+ discount?: {
113
+ burnForDiscount: {
114
+ burnableTokenAddress: string;
115
+ };
116
+ } | undefined;
117
+ cap?: {
118
+ maxHardCap: string;
119
+ } | undefined;
120
+ fee?: {
121
+ percent: number;
122
+ collectorAddress: string;
123
+ feeAdmin: string;
124
+ } | undefined;
127
125
  };
128
- output: {
129
- data: `0x${string}`;
130
- to: `0x${string}`;
131
- details: {
132
- address: `0x${string}`;
133
- functionName: string;
134
- abi: any[];
135
- args: any[];
136
- };
126
+ };
127
+ output: {
128
+ data: `0x${string}`;
129
+ to: `0x${string}`;
130
+ details: {
131
+ functionName: string;
132
+ address: `0x${string}`;
133
+ abi: any[];
134
+ args: any[];
137
135
  };
138
- outputFormat: "json";
139
- status: import("hono/utils/http-status").ContentfulStatusCode;
140
136
  };
137
+ outputFormat: "json";
138
+ status: import("hono/utils/http-status").ContentfulStatusCode;
141
139
  };
142
- } & {
143
- "/deployContinuousWithdraw": {
144
- $post: {
145
- input: {
146
- json: {
147
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
148
- adminAddress: `0x${string}`;
149
- discount?: {
150
- burnForDiscount: {
151
- burnableTokenAddress: `0x${string}`;
152
- };
153
- } | undefined;
154
- cap?: {
155
- maxHardCap: bigint;
156
- } | undefined;
157
- };
140
+ };
141
+ }, "/deployContinuousWithdraw"> | import("hono/types").MergeSchemaPath<{
142
+ "/": {
143
+ $post: {
144
+ input: {
145
+ json: {
146
+ chainId: unknown;
147
+ adminAddress: string;
148
+ ownerAddress?: string | undefined;
149
+ discount?: {
150
+ burnForDiscount: {
151
+ burnableTokenAddress: string;
152
+ };
153
+ } | undefined;
154
+ cap?: {
155
+ maxHardCap: string;
156
+ } | undefined;
157
+ fee?: {
158
+ percent: number;
159
+ collectorAddress: string;
160
+ feeAdmin: string;
161
+ } | undefined;
158
162
  };
159
- output: {
160
- data: `0x${string}`;
161
- to: `0x${string}`;
162
- details: {
163
- address: `0x${string}`;
164
- functionName: string;
165
- abi: any[];
166
- args: any[];
167
- };
163
+ };
164
+ output: {
165
+ data: `0x${string}`;
166
+ to: `0x${string}`;
167
+ details: {
168
+ functionName: string;
169
+ address: `0x${string}`;
170
+ abi: any[];
171
+ args: any[];
168
172
  };
169
- outputFormat: "json";
170
- status: import("hono/utils/http-status").ContentfulStatusCode;
171
173
  };
174
+ outputFormat: "json";
175
+ status: import("hono/utils/http-status").ContentfulStatusCode;
172
176
  };
173
- } & {
174
- "/deployContinuousWithdrawNid": {
175
- $post: {
176
- input: {
177
- json: {
178
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
179
- adminAddress: `0x${string}`;
180
- discount?: {
181
- burnForDiscount: {
182
- burnableTokenAddress: `0x${string}`;
183
- };
184
- } | undefined;
185
- cap?: {
186
- maxHardCap: bigint;
187
- } | undefined;
188
- };
177
+ };
178
+ }, "/deployContinuousWithdrawNid"> | import("hono/types").MergeSchemaPath<{
179
+ "/": {
180
+ $post: {
181
+ input: {
182
+ json: {
183
+ chainId: unknown;
184
+ adminAddress: string;
185
+ ownerAddress?: string | undefined;
186
+ discount?: {
187
+ burnForDiscount: {
188
+ burnableTokenAddress: string;
189
+ };
190
+ } | undefined;
191
+ cap?: {
192
+ maxHardCap: string;
193
+ } | undefined;
194
+ fee?: {
195
+ percent: number;
196
+ collectorAddress: string;
197
+ feeAdmin: string;
198
+ } | undefined;
189
199
  };
190
- output: {
191
- data: `0x${string}`;
192
- to: `0x${string}`;
193
- details: {
194
- address: `0x${string}`;
195
- functionName: string;
196
- abi: any[];
197
- args: any[];
198
- };
200
+ };
201
+ output: {
202
+ data: `0x${string}`;
203
+ to: `0x${string}`;
204
+ details: {
205
+ functionName: string;
206
+ address: `0x${string}`;
207
+ abi: any[];
208
+ args: any[];
199
209
  };
200
- outputFormat: "json";
201
- status: import("hono/utils/http-status").ContentfulStatusCode;
202
210
  };
211
+ outputFormat: "json";
212
+ status: import("hono/utils/http-status").ContentfulStatusCode;
203
213
  };
204
- } & {
205
- "/deployNid": {
206
- $post: {
207
- input: {
208
- json: {
209
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
210
- adminAddress: `0x${string}`;
211
- discount?: {
212
- burnForDiscount: {
213
- burnableTokenAddress: `0x${string}`;
214
- };
215
- } | undefined;
216
- cap?: {
217
- maxHardCap: bigint;
218
- } | undefined;
219
- };
214
+ };
215
+ }, "/deployNid"> | import("hono/types").MergeSchemaPath<{
216
+ "/": {
217
+ $get: {
218
+ input: {
219
+ query: {
220
+ market: string;
220
221
  };
221
- output: {
222
- data: `0x${string}`;
223
- to: `0x${string}`;
224
- details: {
225
- address: `0x${string}`;
226
- functionName: string;
227
- abi: any[];
228
- args: any[];
229
- };
222
+ };
223
+ output: {
224
+ data: `0x${string}`;
225
+ to: `0x${string}`;
226
+ details: {
227
+ functionName: string;
228
+ address: `0x${string}`;
229
+ abi: any[];
230
+ args: any[];
230
231
  };
231
- outputFormat: "json";
232
- status: import("hono/utils/http-status").ContentfulStatusCode;
233
232
  };
233
+ outputFormat: "json";
234
+ status: import("hono/utils/http-status").ContentfulStatusCode;
234
235
  };
235
- } & {
236
- "/initCompilot": {
237
- $get: {
238
- input: {
239
- query: {
240
- market: `0x${string}`;
241
- };
236
+ };
237
+ }, "/initCompilot"> | import("hono/types").MergeSchemaPath<{
238
+ "/": {
239
+ $get: {
240
+ input: {
241
+ query: {
242
+ market: string;
243
+ signerAddress?: string | undefined;
242
244
  };
243
- output: {
244
- data: `0x${string}`;
245
- to: `0x${string}`;
246
- details: {
247
- address: `0x${string}`;
248
- functionName: string;
249
- abi: any[];
250
- args: any[];
251
- };
245
+ };
246
+ output: {
247
+ data: `0x${string}`;
248
+ to: `0x${string}`;
249
+ details: {
250
+ functionName: string;
251
+ address: `0x${string}`;
252
+ abi: any[];
253
+ args: any[];
252
254
  };
253
- outputFormat: "json";
254
- status: import("hono/utils/http-status").ContentfulStatusCode;
255
255
  };
256
+ outputFormat: "json";
257
+ status: import("hono/utils/http-status").ContentfulStatusCode;
256
258
  };
257
- }, "/platforms"> | import("hono/types").MergeSchemaPath<{
258
- "/approveWrapper": {
259
- $post: {
260
- input: {
261
- json: {
262
- wrapperAddress: `0x${string}`;
263
- marketAddress: `0x${string}`;
264
- };
259
+ };
260
+ }, "/initNftFractionsCompilot">, "/platforms"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
261
+ "/": {
262
+ $post: {
263
+ input: {
264
+ json: {
265
+ marketAddress: string;
266
+ wrapperAddress: string;
265
267
  };
266
- output: {
267
- data: `0x${string}`;
268
- to: `0x${string}`;
269
- details: {
270
- address: `0x${string}`;
271
- functionName: string;
272
- abi: any[];
273
- args: any[];
274
- };
268
+ };
269
+ output: {
270
+ data: `0x${string}`;
271
+ to: `0x${string}`;
272
+ details: {
273
+ functionName: string;
274
+ address: `0x${string}`;
275
+ abi: any[];
276
+ args: any[];
275
277
  };
276
- outputFormat: "json";
277
- status: import("hono/utils/http-status").ContentfulStatusCode;
278
278
  };
279
+ outputFormat: "json";
280
+ status: import("hono/utils/http-status").ContentfulStatusCode;
279
281
  };
280
- } & {
281
- "/approveWrapperAsErc20Spender": {
282
- $post: {
283
- input: {
284
- json: {
285
- wrapperAddress: `0x${string}`;
286
- amount: bigint;
287
- erc20Address: `0x${string}`;
288
- };
282
+ };
283
+ }, "/approveWrapper"> | import("hono/types").MergeSchemaPath<{
284
+ "/": {
285
+ $post: {
286
+ input: {
287
+ json: {
288
+ wrapperAddress: string;
289
+ erc20Address: string;
290
+ amount: string;
289
291
  };
290
- output: {
291
- data: `0x${string}`;
292
- to: `0x${string}`;
293
- details: {
294
- address: `0x${string}`;
295
- functionName: string;
296
- abi: any[];
297
- args: any[];
298
- };
292
+ };
293
+ output: {
294
+ data: `0x${string}`;
295
+ to: `0x${string}`;
296
+ details: {
297
+ functionName: string;
298
+ address: `0x${string}`;
299
+ abi: any[];
300
+ args: any[];
299
301
  };
300
- outputFormat: "json";
301
- status: import("hono/utils/http-status").ContentfulStatusCode;
302
302
  };
303
+ outputFormat: "json";
304
+ status: import("hono/utils/http-status").ContentfulStatusCode;
303
305
  };
304
- } & {
305
- "/approveWrapperAsErc721Spender": {
306
- $post: {
307
- input: {
308
- json: {
309
- wrapperAddress: `0x${string}`;
310
- erc721Address: `0x${string}`;
311
- };
306
+ };
307
+ }, "/approveWrapperAsErc20Spender"> | import("hono/types").MergeSchemaPath<{
308
+ "/": {
309
+ $post: {
310
+ input: {
311
+ json: {
312
+ wrapperAddress: string;
313
+ erc721Address: string;
312
314
  };
313
- output: {
314
- data: `0x${string}`;
315
- to: `0x${string}`;
316
- details: {
317
- address: `0x${string}`;
318
- functionName: string;
319
- abi: any[];
320
- args: any[];
321
- };
315
+ };
316
+ output: {
317
+ data: `0x${string}`;
318
+ to: `0x${string}`;
319
+ details: {
320
+ functionName: string;
321
+ address: `0x${string}`;
322
+ abi: any[];
323
+ args: any[];
322
324
  };
323
- outputFormat: "json";
324
- status: import("hono/utils/http-status").ContentfulStatusCode;
325
325
  };
326
+ outputFormat: "json";
327
+ status: import("hono/utils/http-status").ContentfulStatusCode;
326
328
  };
327
- }, "/fractions"> | import("hono/types").MergeSchemaPath<{
328
- "/": {
329
- $get: {
330
- input: {};
331
- output: ({
332
- name: string;
333
- value: `0x${string}`;
334
- } | {
335
- name: string;
336
- value: `0x${string}`;
337
- } | {
338
- name: string;
339
- value: `0x${string}`;
340
- } | {
341
- name: string;
342
- value: `0x${string}`;
343
- })[];
344
- outputFormat: "json";
345
- status: 200;
346
- };
329
+ };
330
+ }, "/approveWrapperAsErc721Spender">, "/fractions"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
331
+ "/": {
332
+ $get: {
333
+ input: {};
334
+ output: ({
335
+ name: string;
336
+ value: `0x${string}`;
337
+ } | {
338
+ name: string;
339
+ value: `0x${string}`;
340
+ } | {
341
+ name: string;
342
+ value: `0x${string}`;
343
+ } | {
344
+ name: string;
345
+ value: `0x${string}`;
346
+ })[];
347
+ outputFormat: "json";
348
+ status: 200;
347
349
  };
348
- } & {
349
- "/grant": {
350
- $post: {
351
- input: {
352
- json: {
353
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
354
- role: import("@evergonlabs/tmi-protocol-fractions-sdk").RoleTypeEnum;
355
- marketAddress: `0x${string}`;
356
- users: `0x${string}`[];
357
- };
350
+ };
351
+ }, "/"> | import("hono/types").MergeSchemaPath<{
352
+ "/": {
353
+ $post: {
354
+ input: {
355
+ json: {
356
+ chainId: unknown;
357
+ marketAddress: string;
358
+ users: string[];
359
+ role: import("@evergonlabs/tmi-protocol-fractions-sdk").RoleTypeEnum;
358
360
  };
359
- output: {
360
- data: `0x${string}`;
361
- to: `0x${string}`;
362
- details: {
363
- address: `0x${string}`;
364
- functionName: string;
365
- abi: any[];
366
- args: any[];
367
- };
361
+ };
362
+ output: {
363
+ data: `0x${string}`;
364
+ to: `0x${string}`;
365
+ details: {
366
+ functionName: string;
367
+ address: `0x${string}`;
368
+ abi: any[];
369
+ args: any[];
368
370
  };
369
- outputFormat: "json";
370
- status: import("hono/utils/http-status").ContentfulStatusCode;
371
371
  };
372
+ outputFormat: "json";
373
+ status: import("hono/utils/http-status").ContentfulStatusCode;
372
374
  };
373
- }, "/roles"> | import("hono/types").MergeSchemaPath<{
374
- "/fractions": {
375
- $post: {
376
- input: {
377
- json: {
378
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
379
- fractions: {
380
- symbol: string;
381
- name: string;
382
- amount: bigint;
383
- token?: `0x${string}` | undefined;
384
- };
385
- cap: {
386
- soft: bigint;
387
- hard: bigint;
388
- softPerAccount?: bigint | undefined;
389
- hardPerAccount?: bigint | undefined;
390
- };
391
- market: `0x${string}`;
392
- timeBoundary: {
393
- start: Date;
394
- end: Date;
395
- };
396
- wrapped: [{
397
- type: "ERC20";
398
- values: [bigint, ...bigint[]];
399
- address: `0x${string}`;
400
- } | {
401
- type: "ERC721";
402
- address: `0x${string}`;
403
- tokenIds: [bigint, ...bigint[]];
404
- } | {
405
- type: "ERC1155";
406
- values: [bigint, ...bigint[]];
407
- address: `0x${string}`;
408
- tokenIds: [bigint, ...bigint[]];
409
- }, ...({
410
- type: "ERC20";
411
- values: [bigint, ...bigint[]];
412
- address: `0x${string}`;
413
- } | {
414
- type: "ERC721";
415
- address: `0x${string}`;
416
- tokenIds: [bigint, ...bigint[]];
417
- } | {
418
- type: "ERC1155";
419
- values: [bigint, ...bigint[]];
420
- address: `0x${string}`;
421
- tokenIds: [bigint, ...bigint[]];
422
- })[]];
423
- funding: [{
424
- amountPerPacket: bigint;
425
- token: `0x${string}`;
426
- }, ...{
427
- amountPerPacket: bigint;
428
- token: `0x${string}`;
429
- }[]];
430
- refundAddress: `0x${string}`;
431
- amountOfPacketsPerFraction: bigint;
432
- discounts?: {
433
- burnableTokenAddress: `0x${string}`;
434
- amountToBurn: bigint;
435
- percentDiscount: number;
436
- } | undefined;
437
- vesting?: {
438
- totalVestingPeriod: number;
439
- portionPeriod: number;
440
- cliff: Date;
441
- } | undefined;
442
- };
375
+ };
376
+ }, "/grant">, "/roles"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
377
+ "/": {
378
+ $post: {
379
+ input: {
380
+ json: {
381
+ chainId: unknown;
382
+ market: string;
383
+ fractions: {
384
+ symbol: string;
385
+ name: string;
386
+ amount: string;
387
+ token?: string | undefined;
388
+ };
389
+ timeBoundary: {
390
+ start: string;
391
+ end: string;
392
+ };
393
+ cap: {
394
+ soft: string;
395
+ hard: string;
396
+ softPerAccount?: string | undefined;
397
+ hardPerAccount?: string | undefined;
398
+ };
399
+ wrapped: ({
400
+ type: "ERC20";
401
+ address: string;
402
+ values: string[];
403
+ } | {
404
+ type: "ERC721";
405
+ address: string;
406
+ tokenIds: string[];
407
+ } | {
408
+ type: "ERC1155";
409
+ address: string;
410
+ tokenIds: string[];
411
+ values: string[];
412
+ })[];
413
+ funding: {
414
+ token: string;
415
+ amountPerPacket: string;
416
+ }[];
417
+ refundAddress: string;
418
+ amountOfPacketsPerFraction: string;
419
+ discounts?: {
420
+ burnableTokenAddress: string;
421
+ amountToBurn: string;
422
+ percentDiscount: number;
423
+ } | undefined;
424
+ vesting?: {
425
+ cliff: string;
426
+ totalVestingPeriod: number;
427
+ portionPeriod: number;
428
+ } | undefined;
443
429
  };
444
- output: {
445
- data: `0x${string}`;
446
- to: `0x${string}`;
447
- details: {
448
- address: `0x${string}`;
449
- functionName: string;
450
- abi: any[];
451
- args: any[];
452
- };
430
+ };
431
+ output: {
432
+ data: `0x${string}`;
433
+ to: `0x${string}`;
434
+ details: {
435
+ functionName: string;
436
+ address: `0x${string}`;
437
+ abi: any[];
438
+ args: any[];
453
439
  };
454
- outputFormat: "json";
455
- status: import("hono/utils/http-status").ContentfulStatusCode;
456
440
  };
441
+ outputFormat: "json";
442
+ status: import("hono/utils/http-status").ContentfulStatusCode;
457
443
  };
458
- } & {
459
- "/getFractionsCreatedEvent": {
460
- $get: {
461
- input: {
462
- query: {
463
- chainId: string | string[];
464
- hash: string | string[];
465
- };
466
- };
467
- output: {
468
- campaignId: string;
469
- creator: `0x${string}`;
470
- nftId: string;
471
- fractionsCreated: string;
472
- fractionsAddress: `0x${string}`;
473
- vaultAddress: `0x${string}` | undefined;
444
+ };
445
+ }, "/fractions"> | import("hono/types").MergeSchemaPath<{
446
+ "/": {
447
+ $get: {
448
+ input: {
449
+ query: {
450
+ chainId: string | string[];
451
+ hash: string | string[];
474
452
  };
475
- outputFormat: "json";
476
- status: 200;
477
453
  };
454
+ output: {
455
+ campaignId: string;
456
+ creator: `0x${string}`;
457
+ nftId: string;
458
+ fractionsCreated: string;
459
+ fractionsAddress: `0x${string}`;
460
+ vaultAddress: `0x${string}` | undefined;
461
+ };
462
+ outputFormat: "json";
463
+ status: 200;
478
464
  };
479
- } & {
480
- "/approve": {
481
- $post: {
482
- input: {
483
- json: {
484
- campaignId: bigint;
485
- marketAddress: `0x${string}`;
486
- };
465
+ };
466
+ }, "/getFractionsCreatedEvent"> | import("hono/types").MergeSchemaPath<{
467
+ "/": {
468
+ $post: {
469
+ input: {
470
+ json: {
471
+ marketAddress: string;
472
+ campaignId: string;
487
473
  };
488
- output: {
489
- data: `0x${string}`;
490
- to: `0x${string}`;
491
- details: {
492
- address: `0x${string}`;
493
- functionName: string;
494
- abi: any[];
495
- args: any[];
496
- };
474
+ };
475
+ output: {
476
+ data: `0x${string}`;
477
+ to: `0x${string}`;
478
+ details: {
479
+ functionName: string;
480
+ address: `0x${string}`;
481
+ abi: any[];
482
+ args: any[];
497
483
  };
498
- outputFormat: "json";
499
- status: import("hono/utils/http-status").ContentfulStatusCode;
500
484
  };
485
+ outputFormat: "json";
486
+ status: import("hono/utils/http-status").ContentfulStatusCode;
501
487
  };
502
- } & {
503
- "/reject": {
504
- $post: {
505
- input: {
506
- json: {
507
- saleId: bigint;
508
- marketAddress: `0x${string}`;
509
- };
510
- };
511
- output: {
512
- data: `0x${string}`;
513
- to: `0x${string}`;
514
- details: {
515
- address: `0x${string}`;
516
- functionName: string;
517
- abi: any[];
518
- args: any[];
519
- };
520
- };
521
- outputFormat: "json";
522
- status: import("hono/utils/http-status").ContentfulStatusCode;
523
- } | {
524
- input: {
525
- json: {
526
- saleId: bigint;
527
- marketAddress: `0x${string}`;
528
- };
488
+ };
489
+ }, "/approve"> | import("hono/types").MergeSchemaPath<{
490
+ "/": {
491
+ $post: {
492
+ input: {
493
+ json: {
494
+ marketAddress: string;
495
+ saleId: string;
529
496
  };
530
- output: {
531
- error: string;
497
+ };
498
+ output: {
499
+ data: `0x${string}`;
500
+ to: `0x${string}`;
501
+ details: {
502
+ functionName: string;
503
+ address: `0x${string}`;
504
+ abi: any[];
505
+ args: any[];
532
506
  };
533
- outputFormat: "json";
534
- status: 400;
535
- } | {
536
- input: {
537
- json: {
538
- saleId: bigint;
539
- marketAddress: `0x${string}`;
540
- };
507
+ };
508
+ outputFormat: "json";
509
+ status: import("hono/utils/http-status").ContentfulStatusCode;
510
+ } | {
511
+ input: {
512
+ json: {
513
+ marketAddress: string;
514
+ saleId: string;
541
515
  };
542
- output: {
543
- error: string;
516
+ };
517
+ output: {
518
+ error: string;
519
+ };
520
+ outputFormat: "json";
521
+ status: 400;
522
+ } | {
523
+ input: {
524
+ json: {
525
+ marketAddress: string;
526
+ saleId: string;
544
527
  };
545
- outputFormat: "json";
546
- status: 500;
547
528
  };
529
+ output: {
530
+ error: string;
531
+ };
532
+ outputFormat: "json";
533
+ status: 500;
548
534
  };
549
- } & {
550
- "/recover": {
551
- $post: {
552
- input: {
553
- json: {
554
- campaignId: bigint;
555
- amountOfFractions: bigint;
556
- marketAddress: `0x${string}`;
557
- lostAccount: `0x${string}`;
558
- recoveryAddress: `0x${string}`;
559
- fractionId: bigint;
560
- };
561
- };
562
- output: {
563
- data: `0x${string}`;
564
- to: `0x${string}`;
565
- details: {
566
- address: `0x${string}`;
567
- functionName: string;
568
- abi: any[];
569
- args: any[];
570
- };
571
- };
572
- outputFormat: "json";
573
- status: import("hono/utils/http-status").ContentfulStatusCode;
574
- } | {
575
- input: {
576
- json: {
577
- campaignId: bigint;
578
- amountOfFractions: bigint;
579
- marketAddress: `0x${string}`;
580
- lostAccount: `0x${string}`;
581
- recoveryAddress: `0x${string}`;
582
- fractionId: bigint;
583
- };
535
+ };
536
+ }, "/reject"> | import("hono/types").MergeSchemaPath<{
537
+ "/": {
538
+ $post: {
539
+ input: {
540
+ json: {
541
+ marketAddress: string;
542
+ campaignId: string;
543
+ lostAccount: string;
544
+ recoveryAddress: string;
545
+ amountOfFractions: string;
546
+ fractionId: string;
584
547
  };
585
- output: {
586
- error: string;
548
+ };
549
+ output: {
550
+ data: `0x${string}`;
551
+ to: `0x${string}`;
552
+ details: {
553
+ functionName: string;
554
+ address: `0x${string}`;
555
+ abi: any[];
556
+ args: any[];
587
557
  };
588
- outputFormat: "json";
589
- status: 400;
590
- } | {
591
- input: {
592
- json: {
593
- campaignId: bigint;
594
- amountOfFractions: bigint;
595
- marketAddress: `0x${string}`;
596
- lostAccount: `0x${string}`;
597
- recoveryAddress: `0x${string}`;
598
- fractionId: bigint;
599
- };
558
+ };
559
+ outputFormat: "json";
560
+ status: import("hono/utils/http-status").ContentfulStatusCode;
561
+ } | {
562
+ input: {
563
+ json: {
564
+ marketAddress: string;
565
+ campaignId: string;
566
+ lostAccount: string;
567
+ recoveryAddress: string;
568
+ amountOfFractions: string;
569
+ fractionId: string;
600
570
  };
601
- output: {
602
- error: string;
571
+ };
572
+ output: {
573
+ error: string;
574
+ };
575
+ outputFormat: "json";
576
+ status: 400;
577
+ } | {
578
+ input: {
579
+ json: {
580
+ marketAddress: string;
581
+ campaignId: string;
582
+ lostAccount: string;
583
+ recoveryAddress: string;
584
+ amountOfFractions: string;
585
+ fractionId: string;
603
586
  };
604
- outputFormat: "json";
605
- status: 500;
606
587
  };
588
+ output: {
589
+ error: string;
590
+ };
591
+ outputFormat: "json";
592
+ status: 500;
607
593
  };
608
- } & {
609
- "/complete": {
610
- $post: {
611
- input: {
612
- json: {
613
- campaignId: bigint;
614
- marketAddress: `0x${string}`;
615
- };
594
+ };
595
+ }, "/recover"> | import("hono/types").MergeSchemaPath<{
596
+ "/": {
597
+ $post: {
598
+ input: {
599
+ json: {
600
+ marketAddress: string;
601
+ campaignId: string;
616
602
  };
617
- output: {
618
- data: `0x${string}`;
619
- to: `0x${string}`;
620
- details: {
621
- address: `0x${string}`;
622
- functionName: string;
623
- abi: any[];
624
- args: any[];
625
- };
603
+ };
604
+ output: {
605
+ data: `0x${string}`;
606
+ to: `0x${string}`;
607
+ details: {
608
+ functionName: string;
609
+ address: `0x${string}`;
610
+ abi: any[];
611
+ args: any[];
626
612
  };
627
- outputFormat: "json";
628
- status: import("hono/utils/http-status").ContentfulStatusCode;
629
613
  };
614
+ outputFormat: "json";
615
+ status: import("hono/utils/http-status").ContentfulStatusCode;
630
616
  };
631
- } & {
632
- "/unlockWrappedAssets": {
633
- $post: {
634
- input: {
635
- json: {
636
- campaignId: bigint;
637
- market: `0x${string}`;
638
- };
617
+ };
618
+ }, "/complete"> | import("hono/types").MergeSchemaPath<{
619
+ "/": {
620
+ $post: {
621
+ input: {
622
+ json: {
623
+ market: string;
624
+ campaignId: string;
639
625
  };
640
- output: {
641
- data: `0x${string}`;
642
- to: `0x${string}`;
643
- details: {
644
- address: `0x${string}`;
645
- functionName: string;
646
- abi: any[];
647
- args: any[];
648
- };
626
+ };
627
+ output: {
628
+ data: `0x${string}`;
629
+ to: `0x${string}`;
630
+ details: {
631
+ functionName: string;
632
+ address: `0x${string}`;
633
+ abi: any[];
634
+ args: any[];
649
635
  };
650
- outputFormat: "json";
651
- status: import("hono/utils/http-status").ContentfulStatusCode;
652
636
  };
637
+ outputFormat: "json";
638
+ status: import("hono/utils/http-status").ContentfulStatusCode;
653
639
  };
654
- } & {
655
- "/purchase": {
656
- $post: {
657
- input: {
658
- json: {
659
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
660
- campaignId: bigint;
661
- market: `0x${string}`;
662
- amountToBuy: bigint;
663
- applyDiscount: boolean;
664
- };
640
+ };
641
+ }, "/unlockWrappedAssets"> | import("hono/types").MergeSchemaPath<{
642
+ "/": {
643
+ $post: {
644
+ input: {
645
+ json: {
646
+ market: string;
647
+ campaignId: string;
648
+ chainId: unknown;
649
+ amountToBuy: string;
650
+ applyDiscount: boolean;
665
651
  };
666
- output: {
667
- data: `0x${string}`;
668
- to: `0x${string}`;
669
- details: {
670
- address: `0x${string}`;
671
- functionName: string;
672
- abi: any[];
673
- args: any[];
674
- };
652
+ };
653
+ output: {
654
+ data: `0x${string}`;
655
+ to: `0x${string}`;
656
+ details: {
657
+ functionName: string;
658
+ address: `0x${string}`;
659
+ abi: any[];
660
+ args: any[];
675
661
  };
676
- outputFormat: "json";
677
- status: import("hono/utils/http-status").ContentfulStatusCode;
678
662
  };
663
+ outputFormat: "json";
664
+ status: import("hono/utils/http-status").ContentfulStatusCode;
679
665
  };
680
- } & {
681
- "/purchase/statistics": {
682
- $post: {
683
- input: {
684
- json: {
685
- walletAddress: `0x${string}`;
686
- campaignId: string | number | bigint;
687
- platform: `0x${string}`;
688
- chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
689
- };
690
- };
691
- output: {
692
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
666
+ };
667
+ }, "/purchase"> | import("hono/types").MergeSchemaPath<{
668
+ "/": {
669
+ $post: {
670
+ input: {
671
+ json: {
672
+ platform: string;
693
673
  campaignId: string;
694
- platform: `0x${string}`;
695
- statistics: {
696
- priceId: string;
697
- purchases: number;
698
- fractionsSold: string;
699
- }[];
674
+ walletAddress: string;
675
+ chainId?: unknown;
700
676
  };
701
- outputFormat: "json";
702
- status: 200;
703
677
  };
704
- };
705
- } & {
706
- "/withdraw/search": {
707
- $post: {
708
- input: {
709
- json: {
710
- filter: {
711
- chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
712
- campaignId?: string | number | bigint | undefined;
713
- platform?: `0x${string}` | undefined;
714
- };
715
- page: {
716
- skip: number;
717
- limit: number;
718
- };
719
- };
720
- };
721
- output: never;
722
- outputFormat: "json";
723
- status: 200;
678
+ output: {
679
+ chainId: 1 | 11155111 | 31337 | 72080;
680
+ platform: `0x${string}`;
681
+ campaignId: string;
682
+ statistics: {
683
+ priceId: string;
684
+ fractionsSold: string;
685
+ purchases: number;
686
+ }[];
724
687
  };
688
+ outputFormat: "json";
689
+ status: 200;
725
690
  };
726
- } & {
727
- "/withdrawPaymentToken": {
728
- $post: {
729
- input: {
730
- json: {
731
- campaignId: bigint;
732
- market: `0x${string}`;
691
+ };
692
+ }, "/purchase/statistics"> | import("hono/types").MergeSchemaPath<{
693
+ "/": {
694
+ $post: {
695
+ input: {
696
+ json: {
697
+ page: {
698
+ skip: number;
699
+ limit: number;
733
700
  };
734
- };
735
- output: {
736
- data: `0x${string}`;
737
- to: `0x${string}`;
738
- details: {
739
- address: `0x${string}`;
740
- functionName: string;
741
- abi: any[];
742
- args: any[];
701
+ filter: {
702
+ chainId?: unknown;
703
+ platform?: string | undefined;
704
+ campaignId?: string | undefined;
743
705
  };
744
706
  };
745
- outputFormat: "json";
746
- status: import("hono/utils/http-status").ContentfulStatusCode;
747
707
  };
708
+ output: never;
709
+ outputFormat: "json";
710
+ status: 200;
748
711
  };
749
- } & {
750
- "/receiveFundsAfterNonFunded": {
751
- $post: {
752
- input: {
753
- json: {
754
- campaignId: bigint;
755
- amountOfFractions: bigint;
756
- market: `0x${string}`;
757
- isDiscounted: boolean;
758
- upperGenesisId?: bigint | undefined;
759
- };
712
+ };
713
+ }, "/withdraw/search"> | import("hono/types").MergeSchemaPath<{
714
+ "/": {
715
+ $post: {
716
+ input: {
717
+ json: {
718
+ market: string;
719
+ campaignId: string;
760
720
  };
761
- output: {
762
- data: `0x${string}`;
763
- to: `0x${string}`;
764
- details: {
765
- address: `0x${string}`;
766
- functionName: string;
767
- abi: any[];
768
- args: any[];
769
- };
721
+ };
722
+ output: {
723
+ data: `0x${string}`;
724
+ to: `0x${string}`;
725
+ details: {
726
+ functionName: string;
727
+ address: `0x${string}`;
728
+ abi: any[];
729
+ args: any[];
770
730
  };
771
- outputFormat: "json";
772
- status: import("hono/utils/http-status").ContentfulStatusCode;
773
731
  };
732
+ outputFormat: "json";
733
+ status: import("hono/utils/http-status").ContentfulStatusCode;
774
734
  };
775
- } & {
776
- "/checkAndJumpToNonFunded": {
777
- $post: {
778
- input: {
779
- json: {
780
- campaignId: bigint;
781
- market: `0x${string}`;
782
- };
735
+ };
736
+ }, "/withdrawPaymentToken"> | import("hono/types").MergeSchemaPath<{
737
+ "/": {
738
+ $post: {
739
+ input: {
740
+ json: {
741
+ amountOfFractions: string;
742
+ isDiscounted: boolean;
743
+ market: string;
744
+ campaignId: string;
745
+ upperGenesisId?: string | undefined;
783
746
  };
784
- output: {
785
- data: `0x${string}`;
786
- to: `0x${string}`;
787
- details: {
788
- address: `0x${string}`;
789
- functionName: string;
790
- abi: any[];
791
- args: any[];
792
- };
747
+ };
748
+ output: {
749
+ data: `0x${string}`;
750
+ to: `0x${string}`;
751
+ details: {
752
+ functionName: string;
753
+ address: `0x${string}`;
754
+ abi: any[];
755
+ args: any[];
793
756
  };
794
- outputFormat: "json";
795
- status: import("hono/utils/http-status").ContentfulStatusCode;
796
757
  };
758
+ outputFormat: "json";
759
+ status: import("hono/utils/http-status").ContentfulStatusCode;
797
760
  };
798
- } & {
799
- "/receiveNonPurchasedWrappedAssets": {
800
- $post: {
801
- input: {
802
- json: {
803
- campaignId: bigint;
804
- market: `0x${string}`;
805
- };
761
+ };
762
+ }, "/receiveFundsAfterNonFunded"> | import("hono/types").MergeSchemaPath<{
763
+ "/": {
764
+ $post: {
765
+ input: {
766
+ json: {
767
+ market: string;
768
+ campaignId: string;
806
769
  };
807
- output: {
808
- data: `0x${string}`;
809
- to: `0x${string}`;
810
- details: {
811
- address: `0x${string}`;
812
- functionName: string;
813
- abi: any[];
814
- args: any[];
815
- };
770
+ };
771
+ output: {
772
+ data: `0x${string}`;
773
+ to: `0x${string}`;
774
+ details: {
775
+ functionName: string;
776
+ address: `0x${string}`;
777
+ abi: any[];
778
+ args: any[];
816
779
  };
817
- outputFormat: "json";
818
- status: import("hono/utils/http-status").ContentfulStatusCode;
819
780
  };
781
+ outputFormat: "json";
782
+ status: import("hono/utils/http-status").ContentfulStatusCode;
820
783
  };
821
- } & {
822
- "/vesting/editCliff": {
823
- $post: {
824
- input: {
825
- json: {
826
- saleId: bigint;
827
- marketAddress: `0x${string}`;
828
- newCliffDate: Date;
829
- };
784
+ };
785
+ }, "/checkAndJumpToNonFunded"> | import("hono/types").MergeSchemaPath<{
786
+ "/": {
787
+ $post: {
788
+ input: {
789
+ json: {
790
+ market: string;
791
+ campaignId: string;
830
792
  };
831
- output: {
832
- data: `0x${string}`;
833
- to: `0x${string}`;
834
- details: {
835
- address: `0x${string}`;
836
- functionName: string;
837
- abi: any[];
838
- args: any[];
839
- };
793
+ };
794
+ output: {
795
+ data: `0x${string}`;
796
+ to: `0x${string}`;
797
+ details: {
798
+ functionName: string;
799
+ address: `0x${string}`;
800
+ abi: any[];
801
+ args: any[];
840
802
  };
841
- outputFormat: "json";
842
- status: import("hono/utils/http-status").ContentfulStatusCode;
843
- } | {
844
- input: {
845
- json: {
846
- saleId: bigint;
847
- marketAddress: `0x${string}`;
848
- newCliffDate: Date;
849
- };
803
+ };
804
+ outputFormat: "json";
805
+ status: import("hono/utils/http-status").ContentfulStatusCode;
806
+ };
807
+ };
808
+ }, "/receiveNonPurchasedWrappedAssets"> | import("hono/types").MergeSchemaPath<{
809
+ "/": {
810
+ $post: {
811
+ input: {
812
+ json: {
813
+ marketAddress: string;
814
+ saleId: string;
815
+ newCliffDate: string;
850
816
  };
851
- output: {
852
- error: string;
817
+ };
818
+ output: {
819
+ data: `0x${string}`;
820
+ to: `0x${string}`;
821
+ details: {
822
+ functionName: string;
823
+ address: `0x${string}`;
824
+ abi: any[];
825
+ args: any[];
853
826
  };
854
- outputFormat: "json";
855
- status: 400;
856
- } | {
857
- input: {
858
- json: {
859
- saleId: bigint;
860
- marketAddress: `0x${string}`;
861
- newCliffDate: Date;
862
- };
827
+ };
828
+ outputFormat: "json";
829
+ status: import("hono/utils/http-status").ContentfulStatusCode;
830
+ } | {
831
+ input: {
832
+ json: {
833
+ marketAddress: string;
834
+ saleId: string;
835
+ newCliffDate: string;
863
836
  };
864
- output: {
865
- error: string;
837
+ };
838
+ output: {
839
+ error: string;
840
+ };
841
+ outputFormat: "json";
842
+ status: 400;
843
+ } | {
844
+ input: {
845
+ json: {
846
+ marketAddress: string;
847
+ saleId: string;
848
+ newCliffDate: string;
866
849
  };
867
- outputFormat: "json";
868
- status: 500;
869
850
  };
851
+ output: {
852
+ error: string;
853
+ };
854
+ outputFormat: "json";
855
+ status: 500;
870
856
  };
871
- } & {
872
- "/vesting/claim": {
873
- $post: {
874
- input: {
875
- json: {
876
- campaignId: bigint;
877
- address: `0x${string}`;
878
- amountOfFractions: bigint;
879
- itToBurn: bigint;
880
- };
881
- };
882
- output: {
883
- data: `0x${string}`;
884
- to: `0x${string}`;
885
- details: {
886
- address: `0x${string}`;
887
- functionName: string;
888
- abi: any[];
889
- args: any[];
890
- };
857
+ };
858
+ }, "/vesting/editCliff"> | import("hono/types").MergeSchemaPath<{
859
+ "/": {
860
+ $post: {
861
+ input: {
862
+ json: {
863
+ address: string;
864
+ campaignId: string;
865
+ amountOfFractions: string;
866
+ itToBurn: string;
891
867
  };
892
- outputFormat: "json";
893
- status: import("hono/utils/http-status").ContentfulStatusCode;
894
- } | {
895
- input: {
896
- json: {
897
- campaignId: bigint;
898
- address: `0x${string}`;
899
- amountOfFractions: bigint;
900
- itToBurn: bigint;
901
- };
868
+ };
869
+ output: {
870
+ data: `0x${string}`;
871
+ to: `0x${string}`;
872
+ details: {
873
+ functionName: string;
874
+ address: `0x${string}`;
875
+ abi: any[];
876
+ args: any[];
902
877
  };
903
- output: {
904
- error: string;
878
+ };
879
+ outputFormat: "json";
880
+ status: import("hono/utils/http-status").ContentfulStatusCode;
881
+ } | {
882
+ input: {
883
+ json: {
884
+ address: string;
885
+ campaignId: string;
886
+ amountOfFractions: string;
887
+ itToBurn: string;
905
888
  };
906
- outputFormat: "json";
907
- status: 400;
908
- } | {
909
- input: {
910
- json: {
911
- campaignId: bigint;
912
- address: `0x${string}`;
913
- amountOfFractions: bigint;
914
- itToBurn: bigint;
915
- };
889
+ };
890
+ output: {
891
+ error: string;
892
+ };
893
+ outputFormat: "json";
894
+ status: 400;
895
+ } | {
896
+ input: {
897
+ json: {
898
+ address: string;
899
+ campaignId: string;
900
+ amountOfFractions: string;
901
+ itToBurn: string;
916
902
  };
917
- output: {
918
- error: string;
903
+ };
904
+ output: {
905
+ error: string;
906
+ };
907
+ outputFormat: "json";
908
+ status: 500;
909
+ };
910
+ };
911
+ }, "/vesting/claim"> | import("hono/types").MergeSchemaPath<{
912
+ "/": {
913
+ $post: {
914
+ input: {
915
+ json: {
916
+ chainId: unknown;
917
+ platform: string;
918
+ campaignId: string;
919
+ walletAddress: string;
919
920
  };
920
- outputFormat: "json";
921
- status: 500;
922
921
  };
922
+ output: never;
923
+ outputFormat: "json";
924
+ status: 200;
923
925
  };
924
- } & {
925
- "/vesting/claim/statistics": {
926
- $post: {
927
- input: {
928
- json: {
929
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
930
- walletAddress: `0x${string}`;
931
- campaignId: string | number | bigint;
932
- platform: `0x${string}`;
933
- };
926
+ };
927
+ }, "/vesting/claim/statistics"> | import("hono/types").MergeSchemaPath<{
928
+ "/": {
929
+ $get: {
930
+ input: {
931
+ query: {
932
+ chainId: string | string[];
933
+ hash: string | string[];
934
934
  };
935
- output: never;
936
- outputFormat: "json";
937
- status: 200;
938
935
  };
936
+ output: {
937
+ campaignId: string;
938
+ receiver: `0x${string}`;
939
+ burnId: string;
940
+ nextBurnId: string | null;
941
+ amountOfFractionsBurnt: string;
942
+ };
943
+ outputFormat: "json";
944
+ status: 200;
939
945
  };
940
- } & {
941
- "/vesting/getClaimVestedTokensEvent": {
942
- $get: {
943
- input: {
944
- query: {
945
- chainId: string | string[];
946
- hash: string | string[];
946
+ };
947
+ }, "/vesting/getClaimVestedTokensEvent"> | import("hono/types").MergeSchemaPath<{
948
+ "/": {
949
+ $post: {
950
+ input: {
951
+ json: {
952
+ page: {
953
+ skip: number;
954
+ limit: number;
955
+ };
956
+ filter: {
957
+ chainId?: unknown;
958
+ owner?: string | undefined;
959
+ platform?: string | undefined;
960
+ campaignId?: string | undefined;
947
961
  };
948
962
  };
949
- output: {
950
- campaignId: string;
951
- receiver: `0x${string}`;
952
- burnId: string;
953
- nextBurnId: string | null;
954
- amountOfFractionsBurnt: string;
955
- };
956
- outputFormat: "json";
957
- status: 200;
958
963
  };
964
+ output: never;
965
+ outputFormat: "json";
966
+ status: 200;
959
967
  };
960
- } & {
961
- "/search": {
962
- $post: {
963
- input: {
964
- json: {
965
- filter: {
966
- chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
967
- campaignId?: string | number | bigint | undefined;
968
- platform?: `0x${string}` | undefined;
969
- owner?: `0x${string}` | undefined;
970
- };
971
- page: {
972
- skip: number;
973
- limit: number;
974
- };
968
+ };
969
+ }, "/search"> | import("hono/types").MergeSchemaPath<{
970
+ "/": {
971
+ $post: {
972
+ input: {
973
+ json: {
974
+ page: {
975
+ skip: number;
976
+ limit: number;
977
+ };
978
+ filter: {
979
+ chainId?: unknown;
980
+ platform?: string | undefined;
981
+ campaignId?: string | undefined;
982
+ operationType?: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum | undefined;
975
983
  };
976
984
  };
977
- output: {
978
- status: "created" | "approved" | "rejected" | "finalized" | "refunded";
979
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
980
- createdAt: string;
981
- updatedAt: string;
982
- campaignId: number;
983
- transactionHash: `0x${string}`;
984
- nftId: number;
985
- fractions: {
986
- asset: {
987
- symbol: string;
988
- type: string;
989
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
990
- address: `0x${string}`;
991
- name: string;
992
- tokenId: string | null;
993
- decimals: number;
994
- burnable: boolean;
995
- };
996
- totalFractions: string;
997
- price: string;
998
- };
999
- platform: `0x${string}`;
1000
- owner: `0x${string}`;
1001
- vesting: {
1002
- cliffDate: string;
1003
- totalVestingPeriod: number;
1004
- portionPeriod: number;
1005
- } | null;
1006
- capitalization: {
1007
- softCap: string;
1008
- hardCap: string;
1009
- softCapPerAccount: string;
1010
- hardCapPerAccount: string;
1011
- } | null;
1012
- timeline: {
1013
- startDate: string;
1014
- endDate: string;
1015
- } | null;
1016
- wrappedAssets: {
1017
- asset: {
1018
- symbol: string;
1019
- type: string;
1020
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1021
- address: `0x${string}`;
1022
- name: string;
1023
- tokenId: string | null;
1024
- decimals: number;
1025
- burnable: boolean;
1026
- };
1027
- wrappedAmount: never;
985
+ };
986
+ output: {
987
+ chainId: 1 | 11155111 | 31337 | 72080;
988
+ platform: `0x${string}`;
989
+ campaignId: string & import("zod").$brand<"Int256">;
990
+ transactionHash: `0x${string}`;
991
+ from: `0x${string}`;
992
+ createdAt: string & import("zod").$brand<"ISO">;
993
+ updatedAt: string & import("zod").$brand<"ISO">;
994
+ metadata: {
995
+ type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.CREATED;
996
+ } | {
997
+ type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.STATUS_UPDATE;
998
+ status: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleStatusEnum;
999
+ } | {
1000
+ type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.PURCHASE;
1001
+ purchaser: `0x${string}`;
1002
+ priceId: string;
1003
+ amountOfFractions: string & import("zod").$brand<"Int256">;
1004
+ amountPaid: string & import("zod").$brand<"Int256">;
1005
+ amountBurnt: string & import("zod").$brand<"Int256">;
1006
+ } | {
1007
+ type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.CLAIM;
1008
+ receiver: `0x${string}`;
1009
+ claimId: string;
1010
+ fractionsBurnt: string & import("zod").$brand<"Int256">;
1011
+ received: {
1012
+ tokenAddress: `0x${string}`;
1013
+ amount: string & import("zod").$brand<"Int256">;
1014
+ tokenId: string & import("zod").$brand<"Int256">;
1028
1015
  }[];
1029
- fundingAssets: {
1030
- asset: {
1031
- symbol: string;
1032
- type: string;
1033
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1034
- address: `0x${string}`;
1035
- name: string;
1036
- tokenId: string | null;
1037
- decimals: number;
1038
- burnable: boolean;
1039
- };
1040
- amountPerPacket: never;
1016
+ } | {
1017
+ type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.REFUND;
1018
+ amount: string & import("zod").$brand<"Int256">;
1019
+ } | {
1020
+ type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.WITHDRAW;
1021
+ amount: string & import("zod").$brand<"Int256">;
1022
+ } | {
1023
+ type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.WITHDRAW_NON_WRAPPED;
1024
+ receiver: `0x${string}`;
1025
+ received: {
1026
+ tokenAddress: `0x${string}`;
1027
+ amount: string & import("zod").$brand<"Int256">;
1028
+ tokenId: string & import("zod").$brand<"Int256">;
1041
1029
  }[];
1042
- }[];
1043
- outputFormat: "json";
1044
- status: 200;
1045
- };
1046
- };
1047
- } & {
1048
- "/activity": {
1049
- $post: {
1050
- input: {
1051
- json: {
1052
- filter: {
1053
- chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
1054
- campaignId?: string | number | bigint | undefined;
1055
- platform?: `0x${string}` | undefined;
1056
- operationType?: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum | undefined;
1057
- };
1058
- page: {
1059
- skip: number;
1060
- limit: number;
1061
- };
1062
- };
1063
1030
  };
1064
- output: {
1065
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1066
- createdAt: string;
1067
- updatedAt: string;
1031
+ }[];
1032
+ outputFormat: "json";
1033
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1034
+ };
1035
+ };
1036
+ }, "/activity"> | import("hono/types").MergeSchemaPath<{
1037
+ "/": {
1038
+ $post: {
1039
+ input: {
1040
+ json: {
1041
+ chainId: unknown;
1042
+ platform: string;
1068
1043
  campaignId: string;
1069
- transactionHash: `0x${string}`;
1070
- from: `0x${string}`;
1071
- metadata: {
1072
- type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.CREATED;
1073
- } | {
1074
- type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.STATUS_UPDATE;
1075
- status: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleStatusEnum;
1076
- } | {
1077
- type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.PURCHASE;
1078
- amountOfFractions: string;
1079
- amountPaid: string;
1080
- amountBurnt: string;
1081
- priceId: string;
1082
- purchaser: string;
1083
- } | {
1084
- received: {
1085
- tokenId: string;
1086
- tokenAddress: string;
1087
- amount: string;
1088
- }[];
1089
- type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.CLAIM;
1090
- receiver: string;
1091
- claimId: string;
1092
- fractionsBurnt: string;
1093
- } | {
1094
- type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.REFUND;
1095
- amount: string;
1096
- } | {
1097
- type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.WITHDRAW;
1098
- amount: string;
1099
- } | {
1100
- received: {
1101
- tokenId: string;
1102
- tokenAddress: string;
1103
- amount: string;
1104
- }[];
1105
- type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.WITHDRAW_NON_WRAPPED;
1106
- receiver: string;
1107
- };
1108
- platform: `0x${string}`;
1044
+ };
1045
+ };
1046
+ output: {
1047
+ chainId: 1 | 11155111 | 31337 | 72080;
1048
+ platform: `0x${string}`;
1049
+ campaignId: string;
1050
+ statistics: {
1051
+ priceId: string;
1052
+ fractionsSold: string;
1053
+ purchases: number;
1109
1054
  }[];
1110
- outputFormat: "json";
1111
- status: import("hono/utils/http-status").ContentfulStatusCode;
1112
1055
  };
1056
+ outputFormat: "json";
1057
+ status: 200;
1113
1058
  };
1114
- } & {
1115
- "/statistics": {
1116
- $post: {
1117
- input: {
1118
- json: {
1119
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1120
- campaignId: string | number | bigint;
1121
- platform: `0x${string}`;
1122
- };
1123
- };
1124
- output: {
1125
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1059
+ };
1060
+ }, "/statistics"> | import("hono/types").MergeSchemaPath<{
1061
+ "/": {
1062
+ $post: {
1063
+ input: {
1064
+ json: {
1065
+ marketAddress: string;
1126
1066
  campaignId: string;
1127
- platform: `0x${string}`;
1128
- statistics: {
1129
- priceId: string;
1130
- purchases: number;
1131
- fractionsSold: string;
1132
- }[];
1067
+ packetsLimit: string;
1133
1068
  };
1134
- outputFormat: "json";
1135
- status: 200;
1136
1069
  };
1137
- };
1138
- } & {
1139
- "/setFeeCapLimit": {
1140
- $post: {
1141
- input: {
1142
- json: {
1143
- campaignId: bigint;
1144
- marketAddress: `0x${string}`;
1145
- packetsLimit: bigint;
1146
- };
1070
+ output: {
1071
+ data: `0x${string}`;
1072
+ to: `0x${string}`;
1073
+ details: {
1074
+ functionName: string;
1075
+ address: `0x${string}`;
1076
+ abi: any[];
1077
+ args: any[];
1147
1078
  };
1148
- output: {
1149
- data: `0x${string}`;
1150
- to: `0x${string}`;
1151
- details: {
1152
- address: `0x${string}`;
1153
- functionName: string;
1154
- abi: any[];
1155
- args: any[];
1156
- };
1157
- };
1158
- outputFormat: "json";
1159
- status: import("hono/utils/http-status").ContentfulStatusCode;
1160
1079
  };
1080
+ outputFormat: "json";
1081
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1161
1082
  };
1162
- } & {
1163
- "/getWithdrawEvent": {
1164
- $get: {
1165
- input: {
1166
- query: {
1167
- chainId: string | string[];
1168
- hash: string | string[];
1169
- };
1170
- };
1171
- output: {
1172
- campaignId: string;
1173
- receiver: `0x${string}`;
1174
- packetsReceived: string;
1083
+ };
1084
+ }, "/setFeeCapLimit"> | import("hono/types").MergeSchemaPath<{
1085
+ "/": {
1086
+ $get: {
1087
+ input: {
1088
+ query: {
1089
+ chainId: string | string[];
1090
+ hash: string | string[];
1175
1091
  };
1176
- outputFormat: "json";
1177
- status: 200;
1178
1092
  };
1093
+ output: {
1094
+ campaignId: string;
1095
+ receiver: `0x${string}`;
1096
+ packetsReceived: string;
1097
+ };
1098
+ outputFormat: "json";
1099
+ status: 200;
1179
1100
  };
1180
- } & {
1181
- "/getVaultAddress": {
1182
- $get: {
1183
- input: {
1184
- query: {
1185
- chainId: string | string[];
1186
- platform: string | string[];
1187
- campaign: string | string[];
1188
- };
1189
- };
1190
- output: {
1191
- error: string;
1192
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1193
- market: `0x${string}`;
1194
- };
1195
- outputFormat: "json";
1196
- status: 404;
1197
- } | {
1198
- input: {
1199
- query: {
1200
- chainId: string | string[];
1201
- platform: string | string[];
1202
- campaign: string | string[];
1203
- };
1101
+ };
1102
+ }, "/getWithdrawEvent"> | import("hono/types").MergeSchemaPath<{
1103
+ "/": {
1104
+ $get: {
1105
+ input: {
1106
+ query: {
1107
+ chainId: string | string[];
1108
+ platform: string | string[];
1109
+ campaign: string | string[];
1204
1110
  };
1205
- output: {
1206
- vaultAddress: `0x${string}`;
1111
+ };
1112
+ output: {
1113
+ error: string;
1114
+ chainId: 1 | 11155111 | 31337 | 72080;
1115
+ market: `0x${string}`;
1116
+ };
1117
+ outputFormat: "json";
1118
+ status: 404;
1119
+ } | {
1120
+ input: {
1121
+ query: {
1122
+ chainId: string | string[];
1123
+ platform: string | string[];
1124
+ campaign: string | string[];
1207
1125
  };
1208
- outputFormat: "json";
1209
- status: 200;
1210
1126
  };
1127
+ output: {
1128
+ vaultAddress: `0x${string}`;
1129
+ };
1130
+ outputFormat: "json";
1131
+ status: 200;
1211
1132
  };
1212
- }, "/sales"> | import("hono/types").MergeSchemaPath<{
1213
- "/nonce": {
1214
- $post: {
1215
- input: {
1216
- json: {
1217
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1218
- userAddress: `0x${string}`;
1219
- marketAddress: `0x${string}`;
1220
- };
1221
- };
1222
- output: {
1223
- nonce: string;
1133
+ };
1134
+ }, "/getVaultAddress">, "/sales"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
1135
+ "/": {
1136
+ $post: {
1137
+ input: {
1138
+ json: {
1139
+ marketAddress: string;
1140
+ userAddress: string;
1141
+ chainId: unknown;
1224
1142
  };
1225
- outputFormat: "json";
1226
- status: import("hono/utils/http-status").ContentfulStatusCode;
1227
1143
  };
1144
+ output: {
1145
+ nonce: string;
1146
+ };
1147
+ outputFormat: "json";
1148
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1228
1149
  };
1229
- } & {
1230
- "/authData": {
1231
- $post: {
1232
- input: {
1233
- json: {
1234
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1235
- nonce: bigint;
1236
- blockExpiration: bigint;
1237
- userAddress: `0x${string}`;
1238
- marketAddress: `0x${string}`;
1239
- callData: `0x${string}`;
1240
- };
1241
- };
1242
- output: {
1243
- messageToSign: `0x${string}`;
1244
- blockExpiration: `0x${string}`;
1150
+ };
1151
+ }, "/nonce"> | import("hono/types").MergeSchemaPath<{
1152
+ "/": {
1153
+ $post: {
1154
+ input: {
1155
+ json: {
1156
+ marketAddress: string;
1157
+ userAddress: string;
1158
+ chainId: unknown;
1159
+ nonce: string;
1160
+ blockExpiration: string;
1161
+ callData: string;
1245
1162
  };
1246
- outputFormat: "json";
1247
- status: import("hono/utils/http-status").ContentfulStatusCode;
1248
1163
  };
1164
+ output: {
1165
+ messageToSign: `0x${string}`;
1166
+ blockExpiration: `0x${string}`;
1167
+ };
1168
+ outputFormat: "json";
1169
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1249
1170
  };
1250
- }, "/sig"> | import("hono/types").MergeSchemaPath<{
1251
- "/holders": {
1252
- $post: {
1253
- input: {
1254
- json: {
1255
- chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
1256
- };
1257
- };
1258
- output: {
1259
- [x: string]: number;
1171
+ };
1172
+ }, "/authData">, "/sig"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
1173
+ "/": {
1174
+ $post: {
1175
+ input: {
1176
+ json: {
1177
+ chainId?: unknown;
1260
1178
  };
1261
- outputFormat: "json";
1262
- status: 200;
1263
1179
  };
1180
+ output: {
1181
+ [x: number]: string & import("zod").$brand<"Int256">;
1182
+ total: string & import("zod").$brand<"Int256">;
1183
+ } | {
1184
+ total: string & import("zod").$brand<"Int256">;
1185
+ 1: string & import("zod").$brand<"Int256">;
1186
+ 11155111: string & import("zod").$brand<"Int256">;
1187
+ 31337: string & import("zod").$brand<"Int256">;
1188
+ 72080: string & import("zod").$brand<"Int256">;
1189
+ };
1190
+ outputFormat: "json";
1191
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1264
1192
  };
1265
- } & {
1266
- "/sales": {
1267
- $post: {
1268
- input: {
1269
- json: {
1270
- chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
1271
- };
1272
- };
1273
- output: {
1274
- [x: string]: number;
1193
+ };
1194
+ }, "/holders"> | import("hono/types").MergeSchemaPath<{
1195
+ "/": {
1196
+ $post: {
1197
+ input: {
1198
+ json: {
1199
+ chainId?: unknown;
1275
1200
  };
1276
- outputFormat: "json";
1277
- status: 200;
1278
1201
  };
1202
+ output: {
1203
+ [x: number]: string & import("zod").$brand<"Int256">;
1204
+ total: string & import("zod").$brand<"Int256">;
1205
+ } | {
1206
+ total: string & import("zod").$brand<"Int256">;
1207
+ 1: string & import("zod").$brand<"Int256">;
1208
+ 11155111: string & import("zod").$brand<"Int256">;
1209
+ 31337: string & import("zod").$brand<"Int256">;
1210
+ 72080: string & import("zod").$brand<"Int256">;
1211
+ };
1212
+ outputFormat: "json";
1213
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1279
1214
  };
1280
- } & {
1281
- "/ttv": {
1282
- $post: {
1283
- input: {
1284
- json: {
1285
- chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
1286
- };
1287
- };
1288
- output: {
1289
- [x: string]: string;
1215
+ };
1216
+ }, "/sales"> | import("hono/types").MergeSchemaPath<{
1217
+ "/": {
1218
+ $post: {
1219
+ input: {
1220
+ json: {
1221
+ chainId?: unknown;
1290
1222
  };
1291
- outputFormat: "json";
1292
- status: 200;
1293
1223
  };
1224
+ output: {
1225
+ [x: number]: string & import("zod").$brand<"Int256">;
1226
+ total: string & import("zod").$brand<"Int256">;
1227
+ } | {
1228
+ total: string & import("zod").$brand<"Int256">;
1229
+ 1: string & import("zod").$brand<"Int256">;
1230
+ 11155111: string & import("zod").$brand<"Int256">;
1231
+ 31337: string & import("zod").$brand<"Int256">;
1232
+ 72080: string & import("zod").$brand<"Int256">;
1233
+ };
1234
+ outputFormat: "json";
1235
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1294
1236
  };
1295
- } & {
1296
- "/": {
1297
- $post: {
1298
- input: {
1299
- json: {
1300
- chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
1301
- };
1237
+ };
1238
+ }, "/ttv"> | import("hono/types").MergeSchemaPath<{
1239
+ "/": {
1240
+ $post: {
1241
+ input: {
1242
+ json: {
1243
+ chainId?: unknown;
1302
1244
  };
1303
- output: {
1304
- [x: string]: {
1305
- holders: number;
1306
- sales: number;
1307
- ttv: string;
1308
- };
1245
+ };
1246
+ output: {
1247
+ total: {
1248
+ holders: string & import("zod").$brand<"Int256">;
1249
+ sales: string & import("zod").$brand<"Int256">;
1250
+ ttv: string & import("zod").$brand<"Int256">;
1251
+ };
1252
+ 1: {
1253
+ holders: string & import("zod").$brand<"Int256">;
1254
+ sales: string & import("zod").$brand<"Int256">;
1255
+ ttv: string & import("zod").$brand<"Int256">;
1256
+ };
1257
+ 11155111: {
1258
+ holders: string & import("zod").$brand<"Int256">;
1259
+ sales: string & import("zod").$brand<"Int256">;
1260
+ ttv: string & import("zod").$brand<"Int256">;
1261
+ };
1262
+ 31337: {
1263
+ holders: string & import("zod").$brand<"Int256">;
1264
+ sales: string & import("zod").$brand<"Int256">;
1265
+ ttv: string & import("zod").$brand<"Int256">;
1266
+ };
1267
+ 72080: {
1268
+ holders: string & import("zod").$brand<"Int256">;
1269
+ sales: string & import("zod").$brand<"Int256">;
1270
+ ttv: string & import("zod").$brand<"Int256">;
1309
1271
  };
1310
- outputFormat: "json";
1311
- status: 200;
1312
1272
  };
1273
+ outputFormat: "json";
1274
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1313
1275
  };
1314
- }, "/statistics">, "/v0/fractions">, "/">;
1315
- config: {
1316
- title: string;
1317
- description: string;
1318
1276
  };
1319
- };
1277
+ }, "/">, "/statistics">, "/">>;
1320
1278
  //# sourceMappingURL=index.d.ts.map