@evergonlabs/tmi-protocol-api 0.1.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 (950) hide show
  1. package/dist/app.d.ts +2457 -0
  2. package/dist/app.d.ts.map +1 -0
  3. package/dist/app.js +23 -0
  4. package/dist/client.d.ts +2985 -0
  5. package/dist/client.d.ts.map +1 -0
  6. package/dist/client.js +4 -0
  7. package/dist/common/abis/erc20Whitelisted.d.ts +4 -0
  8. package/dist/common/abis/erc20Whitelisted.d.ts.map +1 -0
  9. package/dist/common/abis/erc20Whitelisted.js +4 -0
  10. package/dist/common/app.d.ts +9 -0
  11. package/dist/common/app.d.ts.map +1 -0
  12. package/dist/common/app.js +3 -0
  13. package/dist/common/blockchain.d.ts +10465 -0
  14. package/dist/common/blockchain.d.ts.map +1 -0
  15. package/dist/common/blockchain.js +44 -0
  16. package/dist/common/config.d.ts +24 -0
  17. package/dist/common/config.d.ts.map +1 -0
  18. package/dist/common/config.js +36 -0
  19. package/dist/common/http-error.d.ts +7 -0
  20. package/dist/common/http-error.d.ts.map +1 -0
  21. package/dist/common/http-error.js +7 -0
  22. package/dist/common/index.d.ts +2 -0
  23. package/dist/common/index.d.ts.map +1 -0
  24. package/dist/common/index.js +1 -0
  25. package/dist/common/indexer/client.d.ts +3904 -0
  26. package/dist/common/indexer/client.d.ts.map +1 -0
  27. package/dist/common/indexer/client.js +7 -0
  28. package/dist/common/indexer/index.d.ts +3904 -0
  29. package/dist/common/indexer/index.d.ts.map +1 -0
  30. package/dist/common/indexer/index.js +3 -0
  31. package/dist/common/indexer/schemas.d.ts +2511 -0
  32. package/dist/common/indexer/schemas.d.ts.map +1 -0
  33. package/dist/common/indexer/schemas.js +29 -0
  34. package/dist/common/models/asset.d.ts +30 -0
  35. package/dist/common/models/asset.d.ts.map +1 -0
  36. package/dist/common/models/asset.js +21 -0
  37. package/dist/common/models/chainId.d.ts +5 -0
  38. package/dist/common/models/chainId.d.ts.map +1 -0
  39. package/dist/common/models/chainId.js +23 -0
  40. package/dist/common/models/date.d.ts +3 -0
  41. package/dist/common/models/date.d.ts.map +1 -0
  42. package/dist/common/models/date.js +5 -0
  43. package/dist/common/models/erc721.d.ts +15 -0
  44. package/dist/common/models/erc721.d.ts.map +1 -0
  45. package/dist/common/models/erc721.js +21 -0
  46. package/dist/common/models/index.d.ts +8 -0
  47. package/dist/common/models/index.d.ts.map +1 -0
  48. package/dist/common/models/index.js +7 -0
  49. package/dist/common/models/page.d.ts +12 -0
  50. package/dist/common/models/page.d.ts.map +1 -0
  51. package/dist/common/models/page.js +15 -0
  52. package/dist/common/models/percent.d.ts +3 -0
  53. package/dist/common/models/percent.d.ts.map +1 -0
  54. package/dist/common/models/percent.js +6 -0
  55. package/dist/common/models/platform.d.ts +8 -0
  56. package/dist/common/models/platform.d.ts.map +1 -0
  57. package/dist/common/models/platform.js +28 -0
  58. package/dist/common/models/routes.d.ts +16 -0
  59. package/dist/common/models/routes.d.ts.map +1 -0
  60. package/dist/common/models/routes.js +13 -0
  61. package/dist/common/models/saleId.d.ts +12 -0
  62. package/dist/common/models/saleId.d.ts.map +1 -0
  63. package/dist/common/models/saleId.js +6 -0
  64. package/dist/common/models/transaction.d.ts +90 -0
  65. package/dist/common/models/transaction.d.ts.map +1 -0
  66. package/dist/common/models/transaction.js +57 -0
  67. package/dist/common/models/viem.d.ts +4 -0
  68. package/dist/common/models/viem.d.ts.map +1 -0
  69. package/dist/common/models/viem.js +17 -0
  70. package/dist/common/roles/erc20-gated-roles.d.ts +7 -0
  71. package/dist/common/roles/erc20-gated-roles.d.ts.map +1 -0
  72. package/dist/common/roles/erc20-gated-roles.js +13 -0
  73. package/dist/common/tag.d.ts +7 -0
  74. package/dist/common/tag.d.ts.map +1 -0
  75. package/dist/common/tag.js +5 -0
  76. package/dist/common/zod.d.ts +3 -0
  77. package/dist/common/zod.d.ts.map +1 -0
  78. package/dist/common/zod.js +2 -0
  79. package/dist/error.d.ts +3 -0
  80. package/dist/error.d.ts.map +1 -0
  81. package/dist/error.js +16 -0
  82. package/dist/fractions/activity/searchActivity.route.d.ts +162 -0
  83. package/dist/fractions/activity/searchActivity.route.d.ts.map +1 -0
  84. package/dist/fractions/activity/searchActivity.route.js +56 -0
  85. package/dist/fractions/activity/utils.d.ts +152 -0
  86. package/dist/fractions/activity/utils.d.ts.map +1 -0
  87. package/dist/fractions/activity/utils.js +59 -0
  88. package/dist/fractions/approveSale/v0/approveSale.route.d.ts +68 -0
  89. package/dist/fractions/approveSale/v0/approveSale.route.d.ts.map +1 -0
  90. package/dist/fractions/approveSale/v0/approveSale.route.js +31 -0
  91. package/dist/fractions/approveWrapper/v0/approveWrapper.route.d.ts +203 -0
  92. package/dist/fractions/approveWrapper/v0/approveWrapper.route.d.ts.map +1 -0
  93. package/dist/fractions/approveWrapper/v0/approveWrapper.route.js +84 -0
  94. package/dist/fractions/completeSale/v0/completeSale.route.d.ts +68 -0
  95. package/dist/fractions/completeSale/v0/completeSale.route.d.ts.map +1 -0
  96. package/dist/fractions/completeSale/v0/completeSale.route.js +31 -0
  97. package/dist/fractions/createFractions/v0/createFractions.route.d.ts +305 -0
  98. package/dist/fractions/createFractions/v0/createFractions.route.d.ts.map +1 -0
  99. package/dist/fractions/createFractions/v0/createFractions.route.js +61 -0
  100. package/dist/fractions/createFractions/v0/createFractions.schema.d.ts +416 -0
  101. package/dist/fractions/createFractions/v0/createFractions.schema.d.ts.map +1 -0
  102. package/dist/fractions/createFractions/v0/createFractions.schema.js +67 -0
  103. package/dist/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts +51 -0
  104. package/dist/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts.map +1 -0
  105. package/dist/fractions/createFractions/v0/parseFractionsCreatedEvent.js +58 -0
  106. package/dist/fractions/deployMarket/v0/deployMarket.routes.d.ts +347 -0
  107. package/dist/fractions/deployMarket/v0/deployMarket.routes.d.ts.map +1 -0
  108. package/dist/fractions/deployMarket/v0/deployMarket.routes.js +139 -0
  109. package/dist/fractions/deployMarket/v0/deployMarket.schema.d.ts +83 -0
  110. package/dist/fractions/deployMarket/v0/deployMarket.schema.d.ts.map +1 -0
  111. package/dist/fractions/deployMarket/v0/deployMarket.schema.js +21 -0
  112. package/dist/fractions/deployMarket/v0/initNid.route.d.ts +61 -0
  113. package/dist/fractions/deployMarket/v0/initNid.route.d.ts.map +1 -0
  114. package/dist/fractions/deployMarket/v0/initNid.route.js +31 -0
  115. package/dist/fractions/gating/v0/getAuthData.d.ts +86 -0
  116. package/dist/fractions/gating/v0/getAuthData.d.ts.map +1 -0
  117. package/dist/fractions/gating/v0/getAuthData.js +48 -0
  118. package/dist/fractions/gating/v0/getNonce.route.d.ts +54 -0
  119. package/dist/fractions/gating/v0/getNonce.route.d.ts.map +1 -0
  120. package/dist/fractions/gating/v0/getNonce.route.js +40 -0
  121. package/dist/fractions/grantRole/v0/grantRole.route.d.ts +65 -0
  122. package/dist/fractions/grantRole/v0/grantRole.route.d.ts.map +1 -0
  123. package/dist/fractions/grantRole/v0/grantRole.route.js +31 -0
  124. package/dist/fractions/grantRole/v0/grantRole.schema.d.ts +26 -0
  125. package/dist/fractions/grantRole/v0/grantRole.schema.d.ts.map +1 -0
  126. package/dist/fractions/grantRole/v0/grantRole.schema.js +14 -0
  127. package/dist/fractions/index.d.ts +1203 -0
  128. package/dist/fractions/index.d.ts.map +1 -0
  129. package/dist/fractions/index.js +100 -0
  130. package/dist/fractions/markets/common/platform.d.ts +84 -0
  131. package/dist/fractions/markets/common/platform.d.ts.map +1 -0
  132. package/dist/fractions/markets/common/platform.js +33 -0
  133. package/dist/fractions/markets/getDeployEvent.d.ts +42 -0
  134. package/dist/fractions/markets/getDeployEvent.d.ts.map +1 -0
  135. package/dist/fractions/markets/getDeployEvent.js +47 -0
  136. package/dist/fractions/markets/getMarket/index.d.ts +53 -0
  137. package/dist/fractions/markets/getMarket/index.d.ts.map +1 -0
  138. package/dist/fractions/markets/getMarket/index.js +4 -0
  139. package/dist/fractions/markets/getMarket/v0/getMarket.d.ts +103 -0
  140. package/dist/fractions/markets/getMarket/v0/getMarket.d.ts.map +1 -0
  141. package/dist/fractions/markets/getMarket/v0/getMarket.js +63 -0
  142. package/dist/fractions/markets/index.d.ts +110 -0
  143. package/dist/fractions/markets/index.d.ts.map +1 -0
  144. package/dist/fractions/markets/index.js +12 -0
  145. package/dist/fractions/markets/searchMarkets/index.d.ts +45 -0
  146. package/dist/fractions/markets/searchMarkets/index.d.ts.map +1 -0
  147. package/dist/fractions/markets/searchMarkets/index.js +4 -0
  148. package/dist/fractions/markets/searchMarkets/v0/searchMarkets.d.ts +115 -0
  149. package/dist/fractions/markets/searchMarkets/v0/searchMarkets.d.ts.map +1 -0
  150. package/dist/fractions/markets/searchMarkets/v0/searchMarkets.js +43 -0
  151. package/dist/fractions/purchase/v0/purchase.route.d.ts +89 -0
  152. package/dist/fractions/purchase/v0/purchase.route.d.ts.map +1 -0
  153. package/dist/fractions/purchase/v0/purchase.route.js +41 -0
  154. package/dist/fractions/roles/getRoles/v0/getRoles.d.ts +28 -0
  155. package/dist/fractions/roles/getRoles/v0/getRoles.d.ts.map +1 -0
  156. package/dist/fractions/roles/getRoles/v0/getRoles.js +41 -0
  157. package/dist/fractions/sales/common/fractionsSale.d.ts +352 -0
  158. package/dist/fractions/sales/common/fractionsSale.d.ts.map +1 -0
  159. package/dist/fractions/sales/common/fractionsSale.js +123 -0
  160. package/dist/fractions/sales/getFractionSaleStatistics.route.d.ts +98 -0
  161. package/dist/fractions/sales/getFractionSaleStatistics.route.d.ts.map +1 -0
  162. package/dist/fractions/sales/getFractionSaleStatistics.route.js +64 -0
  163. package/dist/fractions/sales/getVaultAddress.d.ts +52 -0
  164. package/dist/fractions/sales/getVaultAddress.d.ts.map +1 -0
  165. package/dist/fractions/sales/getVaultAddress.js +60 -0
  166. package/dist/fractions/sales/getWithdrawEvent.d.ts +42 -0
  167. package/dist/fractions/sales/getWithdrawEvent.d.ts.map +1 -0
  168. package/dist/fractions/sales/getWithdrawEvent.js +51 -0
  169. package/dist/fractions/sales/receiveFundsAfterNonFunded.route.d.ts +144 -0
  170. package/dist/fractions/sales/receiveFundsAfterNonFunded.route.d.ts.map +1 -0
  171. package/dist/fractions/sales/receiveFundsAfterNonFunded.route.js +59 -0
  172. package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts +57 -0
  173. package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts.map +1 -0
  174. package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.js +27 -0
  175. package/dist/fractions/sales/recoverFractions.d.ts +108 -0
  176. package/dist/fractions/sales/recoverFractions.d.ts.map +1 -0
  177. package/dist/fractions/sales/recoverFractions.js +45 -0
  178. package/dist/fractions/sales/rejectFractions.d.ts +80 -0
  179. package/dist/fractions/sales/rejectFractions.d.ts.map +1 -0
  180. package/dist/fractions/sales/rejectFractions.js +39 -0
  181. package/dist/fractions/sales/searchActivity.route.d.ts +90 -0
  182. package/dist/fractions/sales/searchActivity.route.d.ts.map +1 -0
  183. package/dist/fractions/sales/searchActivity.route.js +67 -0
  184. package/dist/fractions/sales/searchSaleEvents/v0/searchSaleEvents.d.ts +89 -0
  185. package/dist/fractions/sales/searchSaleEvents/v0/searchSaleEvents.d.ts.map +1 -0
  186. package/dist/fractions/sales/searchSaleEvents/v0/searchSaleEvents.js +82 -0
  187. package/dist/fractions/sales/searchSales/v0/searchSales.d.ts +257 -0
  188. package/dist/fractions/sales/searchSales/v0/searchSales.d.ts.map +1 -0
  189. package/dist/fractions/sales/searchSales/v0/searchSales.js +50 -0
  190. package/dist/fractions/sales/searchWithdrawal.route.d.ts +58 -0
  191. package/dist/fractions/sales/searchWithdrawal.route.d.ts.map +1 -0
  192. package/dist/fractions/sales/searchWithdrawal.route.js +48 -0
  193. package/dist/fractions/sales/setFeeCapLimit.d.ts +75 -0
  194. package/dist/fractions/sales/setFeeCapLimit.d.ts.map +1 -0
  195. package/dist/fractions/sales/setFeeCapLimit.js +32 -0
  196. package/dist/fractions/sales/unlockWrappedAssets.route.d.ts +68 -0
  197. package/dist/fractions/sales/unlockWrappedAssets.route.d.ts.map +1 -0
  198. package/dist/fractions/sales/unlockWrappedAssets.route.js +31 -0
  199. package/dist/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts +94 -0
  200. package/dist/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts.map +1 -0
  201. package/dist/fractions/sales/vesting/v0/claimVestedTokens.route.js +41 -0
  202. package/dist/fractions/sales/vesting/v0/editCliff.route.d.ts +87 -0
  203. package/dist/fractions/sales/vesting/v0/editCliff.route.d.ts.map +1 -0
  204. package/dist/fractions/sales/vesting/v0/editCliff.route.js +40 -0
  205. package/dist/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts +48 -0
  206. package/dist/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts.map +1 -0
  207. package/dist/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.js +57 -0
  208. package/dist/fractions/withdraw/v0/withdraw.route.d.ts +68 -0
  209. package/dist/fractions/withdraw/v0/withdraw.route.d.ts.map +1 -0
  210. package/dist/fractions/withdraw/v0/withdraw.route.js +31 -0
  211. package/dist/general/balance-client.d.ts +13 -0
  212. package/dist/general/balance-client.d.ts.map +1 -0
  213. package/dist/general/balance-client.js +26 -0
  214. package/dist/general/common.d.ts +94 -0
  215. package/dist/general/common.d.ts.map +1 -0
  216. package/dist/general/common.js +35 -0
  217. package/dist/general/estimateGas.d.ts +52 -0
  218. package/dist/general/estimateGas.d.ts.map +1 -0
  219. package/dist/general/estimateGas.js +64 -0
  220. package/dist/general/getBalance.d.ts +44 -0
  221. package/dist/general/getBalance.d.ts.map +1 -0
  222. package/dist/general/getBalance.js +43 -0
  223. package/dist/general/getBalancesBatch.d.ts +59 -0
  224. package/dist/general/getBalancesBatch.d.ts.map +1 -0
  225. package/dist/general/getBalancesBatch.js +34 -0
  226. package/dist/general/index.d.ts +100 -0
  227. package/dist/general/index.d.ts.map +1 -0
  228. package/dist/general/index.js +20 -0
  229. package/dist/general/searchBalances.d.ts +78 -0
  230. package/dist/general/searchBalances.d.ts.map +1 -0
  231. package/dist/general/searchBalances.js +49 -0
  232. package/dist/issuance/approve.d.ts +75 -0
  233. package/dist/issuance/approve.d.ts.map +1 -0
  234. package/dist/issuance/approve.js +36 -0
  235. package/dist/issuance/burn.d.ts +75 -0
  236. package/dist/issuance/burn.d.ts.map +1 -0
  237. package/dist/issuance/burn.js +36 -0
  238. package/dist/issuance/deploy.d.ts +88 -0
  239. package/dist/issuance/deploy.d.ts.map +1 -0
  240. package/dist/issuance/deploy.js +91 -0
  241. package/dist/issuance/grantRole.d.ts +76 -0
  242. package/dist/issuance/grantRole.d.ts.map +1 -0
  243. package/dist/issuance/grantRole.js +42 -0
  244. package/dist/issuance/index.d.ts +189 -0
  245. package/dist/issuance/index.d.ts.map +1 -0
  246. package/dist/issuance/index.js +25 -0
  247. package/dist/issuance/mint.d.ts +75 -0
  248. package/dist/issuance/mint.d.ts.map +1 -0
  249. package/dist/issuance/mint.js +36 -0
  250. package/dist/issuance/renounceRole.d.ts +76 -0
  251. package/dist/issuance/renounceRole.d.ts.map +1 -0
  252. package/dist/issuance/renounceRole.js +42 -0
  253. package/dist/issuance/transfer.d.ts +75 -0
  254. package/dist/issuance/transfer.d.ts.map +1 -0
  255. package/dist/issuance/transfer.js +36 -0
  256. package/dist/package.json +78 -0
  257. package/dist/src/app.d.ts +2194 -0
  258. package/dist/src/app.d.ts.map +1 -0
  259. package/dist/src/app.js +18 -0
  260. package/dist/src/client.d.ts +2690 -0
  261. package/dist/src/client.d.ts.map +1 -0
  262. package/dist/src/client.js +4 -0
  263. package/dist/src/common/abis/erc20Whitelisted.d.ts +4 -0
  264. package/dist/src/common/abis/erc20Whitelisted.d.ts.map +1 -0
  265. package/dist/src/common/abis/erc20Whitelisted.js +4 -0
  266. package/dist/src/common/app.d.ts +9 -0
  267. package/dist/src/common/app.d.ts.map +1 -0
  268. package/dist/src/common/app.js +3 -0
  269. package/dist/src/common/blockchain.d.ts +9528 -0
  270. package/dist/src/common/blockchain.d.ts.map +1 -0
  271. package/dist/src/common/blockchain.js +40 -0
  272. package/dist/src/common/config.d.ts +21 -0
  273. package/dist/src/common/config.d.ts.map +1 -0
  274. package/dist/src/common/config.js +33 -0
  275. package/dist/src/common/http-error.d.ts +7 -0
  276. package/dist/src/common/http-error.d.ts.map +1 -0
  277. package/dist/src/common/http-error.js +7 -0
  278. package/dist/src/common/index.d.ts +2 -0
  279. package/dist/src/common/index.d.ts.map +1 -0
  280. package/dist/src/common/index.js +1 -0
  281. package/dist/src/common/indexer/client.d.ts +1191 -0
  282. package/dist/src/common/indexer/client.d.ts.map +1 -0
  283. package/dist/src/common/indexer/client.js +7 -0
  284. package/dist/src/common/indexer/index.d.ts +1191 -0
  285. package/dist/src/common/indexer/index.d.ts.map +1 -0
  286. package/dist/src/common/indexer/index.js +3 -0
  287. package/dist/src/common/indexer/schemas.d.ts +1191 -0
  288. package/dist/src/common/indexer/schemas.d.ts.map +1 -0
  289. package/dist/src/common/indexer/schemas.js +14 -0
  290. package/dist/src/common/models/chainId.d.ts +5 -0
  291. package/dist/src/common/models/chainId.d.ts.map +1 -0
  292. package/dist/src/common/models/chainId.js +23 -0
  293. package/dist/src/common/models/date.d.ts +3 -0
  294. package/dist/src/common/models/date.d.ts.map +1 -0
  295. package/dist/src/common/models/date.js +5 -0
  296. package/dist/src/common/models/erc721.d.ts +15 -0
  297. package/dist/src/common/models/erc721.d.ts.map +1 -0
  298. package/dist/src/common/models/erc721.js +21 -0
  299. package/dist/src/common/models/index.d.ts +7 -0
  300. package/dist/src/common/models/index.d.ts.map +1 -0
  301. package/dist/src/common/models/index.js +6 -0
  302. package/dist/src/common/models/page.d.ts +12 -0
  303. package/dist/src/common/models/page.d.ts.map +1 -0
  304. package/dist/src/common/models/page.js +15 -0
  305. package/dist/src/common/models/percent.d.ts +3 -0
  306. package/dist/src/common/models/percent.d.ts.map +1 -0
  307. package/dist/src/common/models/percent.js +6 -0
  308. package/dist/src/common/models/platform.d.ts +4 -0
  309. package/dist/src/common/models/platform.d.ts.map +1 -0
  310. package/dist/src/common/models/platform.js +13 -0
  311. package/dist/src/common/models/routes.d.ts +16 -0
  312. package/dist/src/common/models/routes.d.ts.map +1 -0
  313. package/dist/src/common/models/routes.js +13 -0
  314. package/dist/src/common/models/saleId.d.ts +12 -0
  315. package/dist/src/common/models/saleId.d.ts.map +1 -0
  316. package/dist/src/common/models/saleId.js +6 -0
  317. package/dist/src/common/models/transaction.d.ts +90 -0
  318. package/dist/src/common/models/transaction.d.ts.map +1 -0
  319. package/dist/src/common/models/transaction.js +57 -0
  320. package/dist/src/common/models/viem.d.ts +4 -0
  321. package/dist/src/common/models/viem.d.ts.map +1 -0
  322. package/dist/src/common/models/viem.js +15 -0
  323. package/dist/src/common/openapi.d.ts +4 -0
  324. package/dist/src/common/openapi.d.ts.map +1 -0
  325. package/dist/src/common/openapi.js +40 -0
  326. package/dist/src/common/tag.d.ts +7 -0
  327. package/dist/src/common/tag.d.ts.map +1 -0
  328. package/dist/src/common/tag.js +5 -0
  329. package/dist/src/common/version.d.ts +2 -0
  330. package/dist/src/common/version.d.ts.map +1 -0
  331. package/dist/src/common/version.js +2 -0
  332. package/dist/src/common/zod.d.ts +3 -0
  333. package/dist/src/common/zod.d.ts.map +1 -0
  334. package/dist/src/common/zod.js +2 -0
  335. package/dist/src/error.d.ts +3 -0
  336. package/dist/src/error.d.ts.map +1 -0
  337. package/dist/src/error.js +16 -0
  338. package/dist/src/fractions/approveSale/v0/approveSale.route.d.ts +68 -0
  339. package/dist/src/fractions/approveSale/v0/approveSale.route.d.ts.map +1 -0
  340. package/dist/src/fractions/approveSale/v0/approveSale.route.js +31 -0
  341. package/dist/src/fractions/approveWrapper/v0/approveWrapper.route.d.ts +203 -0
  342. package/dist/src/fractions/approveWrapper/v0/approveWrapper.route.d.ts.map +1 -0
  343. package/dist/src/fractions/approveWrapper/v0/approveWrapper.route.js +84 -0
  344. package/dist/src/fractions/completeSale/v0/completeSale.route.d.ts +68 -0
  345. package/dist/src/fractions/completeSale/v0/completeSale.route.d.ts.map +1 -0
  346. package/dist/src/fractions/completeSale/v0/completeSale.route.js +31 -0
  347. package/dist/src/fractions/createFractions/v0/createFractions.route.d.ts +305 -0
  348. package/dist/src/fractions/createFractions/v0/createFractions.route.d.ts.map +1 -0
  349. package/dist/src/fractions/createFractions/v0/createFractions.route.js +61 -0
  350. package/dist/src/fractions/createFractions/v0/createFractions.schema.d.ts +416 -0
  351. package/dist/src/fractions/createFractions/v0/createFractions.schema.d.ts.map +1 -0
  352. package/dist/src/fractions/createFractions/v0/createFractions.schema.js +67 -0
  353. package/dist/src/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts +51 -0
  354. package/dist/src/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts.map +1 -0
  355. package/dist/src/fractions/createFractions/v0/parseFractionsCreatedEvent.js +59 -0
  356. package/dist/src/fractions/deployMarket/v0/deployMarket.routes.d.ts +297 -0
  357. package/dist/src/fractions/deployMarket/v0/deployMarket.routes.d.ts.map +1 -0
  358. package/dist/src/fractions/deployMarket/v0/deployMarket.routes.js +98 -0
  359. package/dist/src/fractions/deployMarket/v0/deployMarket.schema.d.ts +96 -0
  360. package/dist/src/fractions/deployMarket/v0/deployMarket.schema.d.ts.map +1 -0
  361. package/dist/src/fractions/deployMarket/v0/deployMarket.schema.js +21 -0
  362. package/dist/src/fractions/gating/index.d.ts +2 -0
  363. package/dist/src/fractions/gating/index.d.ts.map +1 -0
  364. package/dist/src/fractions/gating/index.js +0 -0
  365. package/dist/src/fractions/gating/v0/getAuthData.d.ts +86 -0
  366. package/dist/src/fractions/gating/v0/getAuthData.d.ts.map +1 -0
  367. package/dist/src/fractions/gating/v0/getAuthData.js +48 -0
  368. package/dist/src/fractions/gating/v0/getNonce.route.d.ts +54 -0
  369. package/dist/src/fractions/gating/v0/getNonce.route.d.ts.map +1 -0
  370. package/dist/src/fractions/gating/v0/getNonce.route.js +40 -0
  371. package/dist/src/fractions/grantRole/v0/grantRole.route.d.ts +65 -0
  372. package/dist/src/fractions/grantRole/v0/grantRole.route.d.ts.map +1 -0
  373. package/dist/src/fractions/grantRole/v0/grantRole.route.js +31 -0
  374. package/dist/src/fractions/grantRole/v0/grantRole.schema.d.ts +26 -0
  375. package/dist/src/fractions/grantRole/v0/grantRole.schema.d.ts.map +1 -0
  376. package/dist/src/fractions/grantRole/v0/grantRole.schema.js +14 -0
  377. package/dist/src/fractions/index.d.ts +968 -0
  378. package/dist/src/fractions/index.d.ts.map +1 -0
  379. package/dist/src/fractions/index.js +91 -0
  380. package/dist/src/fractions/markets/common/platform.d.ts +26 -0
  381. package/dist/src/fractions/markets/common/platform.d.ts.map +1 -0
  382. package/dist/src/fractions/markets/common/platform.js +26 -0
  383. package/dist/src/fractions/markets/getDeployEvent.d.ts +42 -0
  384. package/dist/src/fractions/markets/getDeployEvent.d.ts.map +1 -0
  385. package/dist/src/fractions/markets/getDeployEvent.js +47 -0
  386. package/dist/src/fractions/markets/getMarket/index.d.ts +40 -0
  387. package/dist/src/fractions/markets/getMarket/index.d.ts.map +1 -0
  388. package/dist/src/fractions/markets/getMarket/index.js +4 -0
  389. package/dist/src/fractions/markets/getMarket/v0/getMarket.d.ts +64 -0
  390. package/dist/src/fractions/markets/getMarket/v0/getMarket.d.ts.map +1 -0
  391. package/dist/src/fractions/markets/getMarket/v0/getMarket.js +63 -0
  392. package/dist/src/fractions/markets/index.d.ts +84 -0
  393. package/dist/src/fractions/markets/index.d.ts.map +1 -0
  394. package/dist/src/fractions/markets/index.js +12 -0
  395. package/dist/src/fractions/markets/searchMarkets/index.d.ts +32 -0
  396. package/dist/src/fractions/markets/searchMarkets/index.d.ts.map +1 -0
  397. package/dist/src/fractions/markets/searchMarkets/index.js +4 -0
  398. package/dist/src/fractions/markets/searchMarkets/v0/searchMarkets.d.ts +76 -0
  399. package/dist/src/fractions/markets/searchMarkets/v0/searchMarkets.d.ts.map +1 -0
  400. package/dist/src/fractions/markets/searchMarkets/v0/searchMarkets.js +42 -0
  401. package/dist/src/fractions/purchase/v0/purchase.route.d.ts +89 -0
  402. package/dist/src/fractions/purchase/v0/purchase.route.d.ts.map +1 -0
  403. package/dist/src/fractions/purchase/v0/purchase.route.js +41 -0
  404. package/dist/src/fractions/roles/getRoles/v0/getRoles.d.ts +28 -0
  405. package/dist/src/fractions/roles/getRoles/v0/getRoles.d.ts.map +1 -0
  406. package/dist/src/fractions/roles/getRoles/v0/getRoles.js +41 -0
  407. package/dist/src/fractions/sales/getVaultAddress.d.ts +52 -0
  408. package/dist/src/fractions/sales/getVaultAddress.d.ts.map +1 -0
  409. package/dist/src/fractions/sales/getVaultAddress.js +61 -0
  410. package/dist/src/fractions/sales/getWithdrawEvent.d.ts +42 -0
  411. package/dist/src/fractions/sales/getWithdrawEvent.d.ts.map +1 -0
  412. package/dist/src/fractions/sales/getWithdrawEvent.js +52 -0
  413. package/dist/src/fractions/sales/index.d.ts +10 -0
  414. package/dist/src/fractions/sales/index.d.ts.map +1 -0
  415. package/dist/src/fractions/sales/index.js +10 -0
  416. package/dist/src/fractions/sales/receiveFundsAfterNonFunded.route.d.ts +144 -0
  417. package/dist/src/fractions/sales/receiveFundsAfterNonFunded.route.d.ts.map +1 -0
  418. package/dist/src/fractions/sales/receiveFundsAfterNonFunded.route.js +59 -0
  419. package/dist/src/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts +57 -0
  420. package/dist/src/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts.map +1 -0
  421. package/dist/src/fractions/sales/receiveNonPurchasedWrappedAssets.route.js +27 -0
  422. package/dist/src/fractions/sales/recoverFractions.d.ts +108 -0
  423. package/dist/src/fractions/sales/recoverFractions.d.ts.map +1 -0
  424. package/dist/src/fractions/sales/recoverFractions.js +45 -0
  425. package/dist/src/fractions/sales/rejectFractions.d.ts +80 -0
  426. package/dist/src/fractions/sales/rejectFractions.d.ts.map +1 -0
  427. package/dist/src/fractions/sales/rejectFractions.js +39 -0
  428. package/dist/src/fractions/sales/searchSaleEvents/index.d.ts +2 -0
  429. package/dist/src/fractions/sales/searchSaleEvents/index.d.ts.map +1 -0
  430. package/dist/src/fractions/sales/searchSaleEvents/index.js +0 -0
  431. package/dist/src/fractions/sales/searchSaleEvents/v0/searchSaleEvents.d.ts +89 -0
  432. package/dist/src/fractions/sales/searchSaleEvents/v0/searchSaleEvents.d.ts.map +1 -0
  433. package/dist/src/fractions/sales/searchSaleEvents/v0/searchSaleEvents.js +82 -0
  434. package/dist/src/fractions/sales/setFeeCapLimit.d.ts +75 -0
  435. package/dist/src/fractions/sales/setFeeCapLimit.d.ts.map +1 -0
  436. package/dist/src/fractions/sales/setFeeCapLimit.js +32 -0
  437. package/dist/src/fractions/sales/unlockWrappedAssets.route.d.ts +68 -0
  438. package/dist/src/fractions/sales/unlockWrappedAssets.route.d.ts.map +1 -0
  439. package/dist/src/fractions/sales/unlockWrappedAssets.route.js +31 -0
  440. package/dist/src/fractions/sales/vesting/index.d.ts +2 -0
  441. package/dist/src/fractions/sales/vesting/index.d.ts.map +1 -0
  442. package/dist/src/fractions/sales/vesting/index.js +0 -0
  443. package/dist/src/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts +94 -0
  444. package/dist/src/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts.map +1 -0
  445. package/dist/src/fractions/sales/vesting/v0/claimVestedTokens.route.js +41 -0
  446. package/dist/src/fractions/sales/vesting/v0/editCliff.route.d.ts +87 -0
  447. package/dist/src/fractions/sales/vesting/v0/editCliff.route.d.ts.map +1 -0
  448. package/dist/src/fractions/sales/vesting/v0/editCliff.route.js +40 -0
  449. package/dist/src/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts +48 -0
  450. package/dist/src/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts.map +1 -0
  451. package/dist/src/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.js +58 -0
  452. package/dist/src/fractions/withdraw/v0/withdraw.route.d.ts +68 -0
  453. package/dist/src/fractions/withdraw/v0/withdraw.route.d.ts.map +1 -0
  454. package/dist/src/fractions/withdraw/v0/withdraw.route.js +31 -0
  455. package/dist/src/general/balance-client.d.ts +13 -0
  456. package/dist/src/general/balance-client.d.ts.map +1 -0
  457. package/dist/src/general/balance-client.js +26 -0
  458. package/dist/src/general/common.d.ts +94 -0
  459. package/dist/src/general/common.d.ts.map +1 -0
  460. package/dist/src/general/common.js +35 -0
  461. package/dist/src/general/estimateGas.d.ts +52 -0
  462. package/dist/src/general/estimateGas.d.ts.map +1 -0
  463. package/dist/src/general/estimateGas.js +64 -0
  464. package/dist/src/general/getBalance.d.ts +44 -0
  465. package/dist/src/general/getBalance.d.ts.map +1 -0
  466. package/dist/src/general/getBalance.js +43 -0
  467. package/dist/src/general/getBalancesBatch.d.ts +59 -0
  468. package/dist/src/general/getBalancesBatch.d.ts.map +1 -0
  469. package/dist/src/general/getBalancesBatch.js +34 -0
  470. package/dist/src/general/index.d.ts +100 -0
  471. package/dist/src/general/index.d.ts.map +1 -0
  472. package/dist/src/general/index.js +20 -0
  473. package/dist/src/general/searchBalances.d.ts +78 -0
  474. package/dist/src/general/searchBalances.d.ts.map +1 -0
  475. package/dist/src/general/searchBalances.js +49 -0
  476. package/dist/src/issuance/approve.d.ts +75 -0
  477. package/dist/src/issuance/approve.d.ts.map +1 -0
  478. package/dist/src/issuance/approve.js +36 -0
  479. package/dist/src/issuance/burn.d.ts +75 -0
  480. package/dist/src/issuance/burn.d.ts.map +1 -0
  481. package/dist/src/issuance/burn.js +36 -0
  482. package/dist/src/issuance/deploy.d.ts +88 -0
  483. package/dist/src/issuance/deploy.d.ts.map +1 -0
  484. package/dist/src/issuance/deploy.js +91 -0
  485. package/dist/src/issuance/grantRole.d.ts +78 -0
  486. package/dist/src/issuance/grantRole.d.ts.map +1 -0
  487. package/dist/src/issuance/grantRole.js +50 -0
  488. package/dist/src/issuance/index.d.ts +165 -0
  489. package/dist/src/issuance/index.d.ts.map +1 -0
  490. package/dist/src/issuance/index.js +23 -0
  491. package/dist/src/issuance/mint.d.ts +75 -0
  492. package/dist/src/issuance/mint.d.ts.map +1 -0
  493. package/dist/src/issuance/mint.js +36 -0
  494. package/dist/src/issuance/transfer.d.ts +75 -0
  495. package/dist/src/issuance/transfer.d.ts.map +1 -0
  496. package/dist/src/issuance/transfer.js +36 -0
  497. package/dist/src/serve.d.ts +2 -0
  498. package/dist/src/serve.d.ts.map +1 -0
  499. package/dist/src/serve.js +33 -0
  500. package/dist/src/staking/index.d.ts +242 -0
  501. package/dist/src/staking/index.d.ts.map +1 -0
  502. package/dist/src/staking/index.js +20 -0
  503. package/dist/src/staking/platforms/common/platform.d.ts +26 -0
  504. package/dist/src/staking/platforms/common/platform.d.ts.map +1 -0
  505. package/dist/src/staking/platforms/common/platform.js +26 -0
  506. package/dist/src/staking/platforms/common/platformNotFound.d.ts +9 -0
  507. package/dist/src/staking/platforms/common/platformNotFound.d.ts.map +1 -0
  508. package/dist/src/staking/platforms/common/platformNotFound.js +13 -0
  509. package/dist/src/staking/platforms/getPlatform/index.d.ts +26 -0
  510. package/dist/src/staking/platforms/getPlatform/index.d.ts.map +1 -0
  511. package/dist/src/staking/platforms/getPlatform/index.js +4 -0
  512. package/dist/src/staking/platforms/getPlatform/v0/getPlatform.d.ts +52 -0
  513. package/dist/src/staking/platforms/getPlatform/v0/getPlatform.d.ts.map +1 -0
  514. package/dist/src/staking/platforms/getPlatform/v0/getPlatform.js +58 -0
  515. package/dist/src/staking/platforms/index.d.ts +52 -0
  516. package/dist/src/staking/platforms/index.d.ts.map +1 -0
  517. package/dist/src/staking/platforms/index.js +10 -0
  518. package/dist/src/staking/platforms/searchPlatforms/index.d.ts +32 -0
  519. package/dist/src/staking/platforms/searchPlatforms/index.d.ts.map +1 -0
  520. package/dist/src/staking/platforms/searchPlatforms/index.js +4 -0
  521. package/dist/src/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts +76 -0
  522. package/dist/src/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts.map +1 -0
  523. package/dist/src/staking/platforms/searchPlatforms/v0/searchPlatforms.js +42 -0
  524. package/dist/src/staking/pools/common/pool.d.ts +29 -0
  525. package/dist/src/staking/pools/common/pool.d.ts.map +1 -0
  526. package/dist/src/staking/pools/common/pool.js +28 -0
  527. package/dist/src/staking/pools/common/poolNotFound.d.ts +10 -0
  528. package/dist/src/staking/pools/common/poolNotFound.d.ts.map +1 -0
  529. package/dist/src/staking/pools/common/poolNotFound.js +14 -0
  530. package/dist/src/staking/pools/getPool/index.d.ts +20 -0
  531. package/dist/src/staking/pools/getPool/index.d.ts.map +1 -0
  532. package/dist/src/staking/pools/getPool/index.js +4 -0
  533. package/dist/src/staking/pools/getPool/v0/getPool.d.ts +35 -0
  534. package/dist/src/staking/pools/getPool/v0/getPool.d.ts.map +1 -0
  535. package/dist/src/staking/pools/getPool/v0/getPool.js +64 -0
  536. package/dist/src/staking/pools/index.d.ts +39 -0
  537. package/dist/src/staking/pools/index.d.ts.map +1 -0
  538. package/dist/src/staking/pools/index.js +10 -0
  539. package/dist/src/staking/pools/searchPools/index.d.ts +25 -0
  540. package/dist/src/staking/pools/searchPools/index.d.ts.map +1 -0
  541. package/dist/src/staking/pools/searchPools/index.js +4 -0
  542. package/dist/src/staking/pools/searchPools/v0/searchPools.d.ts +55 -0
  543. package/dist/src/staking/pools/searchPools/v0/searchPools.d.ts.map +1 -0
  544. package/dist/src/staking/pools/searchPools/v0/searchPools.js +42 -0
  545. package/dist/src/staking/roles/common/role.d.ts +13 -0
  546. package/dist/src/staking/roles/common/role.d.ts.map +1 -0
  547. package/dist/src/staking/roles/common/role.js +18 -0
  548. package/dist/src/staking/roles/common/roleAssignment.d.ts +27 -0
  549. package/dist/src/staking/roles/common/roleAssignment.d.ts.map +1 -0
  550. package/dist/src/staking/roles/common/roleAssignment.js +21 -0
  551. package/dist/src/staking/roles/common/roleEvent.d.ts +30 -0
  552. package/dist/src/staking/roles/common/roleEvent.d.ts.map +1 -0
  553. package/dist/src/staking/roles/common/roleEvent.js +23 -0
  554. package/dist/src/staking/roles/getRoles/index.d.ts +26 -0
  555. package/dist/src/staking/roles/getRoles/index.d.ts.map +1 -0
  556. package/dist/src/staking/roles/getRoles/index.js +4 -0
  557. package/dist/src/staking/roles/getRoles/v0/getRoles.d.ts +29 -0
  558. package/dist/src/staking/roles/getRoles/v0/getRoles.d.ts.map +1 -0
  559. package/dist/src/staking/roles/getRoles/v0/getRoles.js +41 -0
  560. package/dist/src/staking/roles/grantRole/index.d.ts +29 -0
  561. package/dist/src/staking/roles/grantRole/index.d.ts.map +1 -0
  562. package/dist/src/staking/roles/grantRole/index.js +4 -0
  563. package/dist/src/staking/roles/grantRole/v0/grantRole.d.ts +63 -0
  564. package/dist/src/staking/roles/grantRole/v0/grantRole.d.ts.map +1 -0
  565. package/dist/src/staking/roles/grantRole/v0/grantRole.js +40 -0
  566. package/dist/src/staking/roles/index.d.ts +93 -0
  567. package/dist/src/staking/roles/index.d.ts.map +1 -0
  568. package/dist/src/staking/roles/index.js +14 -0
  569. package/dist/src/staking/roles/searchRoleEvents/index.d.ts +27 -0
  570. package/dist/src/staking/roles/searchRoleEvents/index.d.ts.map +1 -0
  571. package/dist/src/staking/roles/searchRoleEvents/index.js +4 -0
  572. package/dist/src/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts +63 -0
  573. package/dist/src/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts.map +1 -0
  574. package/dist/src/staking/roles/searchRoleEvents/v0/searchRoleEvents.js +58 -0
  575. package/dist/src/staking/roles/searchRoles/index.d.ts +27 -0
  576. package/dist/src/staking/roles/searchRoles/index.d.ts.map +1 -0
  577. package/dist/src/staking/roles/searchRoles/index.js +4 -0
  578. package/dist/src/staking/roles/searchRoles/v0/searchRoles.d.ts +63 -0
  579. package/dist/src/staking/roles/searchRoles/v0/searchRoles.d.ts.map +1 -0
  580. package/dist/src/staking/roles/searchRoles/v0/searchRoles.js +56 -0
  581. package/dist/src/staking/stakes/common/stake.d.ts +44 -0
  582. package/dist/src/staking/stakes/common/stake.d.ts.map +1 -0
  583. package/dist/src/staking/stakes/common/stake.js +45 -0
  584. package/dist/src/staking/stakes/common/stakeEvent.d.ts +30 -0
  585. package/dist/src/staking/stakes/common/stakeEvent.d.ts.map +1 -0
  586. package/dist/src/staking/stakes/common/stakeEvent.js +24 -0
  587. package/dist/src/staking/stakes/common/stakeNotFound.d.ts +9 -0
  588. package/dist/src/staking/stakes/common/stakeNotFound.d.ts.map +1 -0
  589. package/dist/src/staking/stakes/common/stakeNotFound.js +13 -0
  590. package/dist/src/staking/stakes/getStake/index.d.ts +20 -0
  591. package/dist/src/staking/stakes/getStake/index.d.ts.map +1 -0
  592. package/dist/src/staking/stakes/getStake/index.js +4 -0
  593. package/dist/src/staking/stakes/getStake/v0/getStake.d.ts +35 -0
  594. package/dist/src/staking/stakes/getStake/v0/getStake.d.ts.map +1 -0
  595. package/dist/src/staking/stakes/getStake/v0/getStake.js +64 -0
  596. package/dist/src/staking/stakes/index.d.ts +63 -0
  597. package/dist/src/staking/stakes/index.d.ts.map +1 -0
  598. package/dist/src/staking/stakes/index.js +12 -0
  599. package/dist/src/staking/stakes/searchStakeEvents/index.d.ts +27 -0
  600. package/dist/src/staking/stakes/searchStakeEvents/index.d.ts.map +1 -0
  601. package/dist/src/staking/stakes/searchStakeEvents/index.js +4 -0
  602. package/dist/src/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts +63 -0
  603. package/dist/src/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts.map +1 -0
  604. package/dist/src/staking/stakes/searchStakeEvents/v0/searchStakeEvents.js +59 -0
  605. package/dist/src/staking/stakes/searchStakes/index.d.ts +27 -0
  606. package/dist/src/staking/stakes/searchStakes/index.d.ts.map +1 -0
  607. package/dist/src/staking/stakes/searchStakes/index.js +4 -0
  608. package/dist/src/staking/stakes/searchStakes/v0/searchStakes.d.ts +63 -0
  609. package/dist/src/staking/stakes/searchStakes/v0/searchStakes.d.ts.map +1 -0
  610. package/dist/src/staking/stakes/searchStakes/v0/searchStakes.js +61 -0
  611. package/dist/src/staking-templates/index.d.ts +732 -0
  612. package/dist/src/staking-templates/index.d.ts.map +1 -0
  613. package/dist/src/staking-templates/index.js +18 -0
  614. package/dist/src/staking-templates/templates/common/amount.d.ts +13 -0
  615. package/dist/src/staking-templates/templates/common/amount.d.ts.map +1 -0
  616. package/dist/src/staking-templates/templates/common/amount.js +17 -0
  617. package/dist/src/staking-templates/templates/common/amountMult.d.ts +3 -0
  618. package/dist/src/staking-templates/templates/common/amountMult.d.ts.map +1 -0
  619. package/dist/src/staking-templates/templates/common/amountMult.js +23 -0
  620. package/dist/src/staking-templates/templates/common/erc20Input.d.ts +12 -0
  621. package/dist/src/staking-templates/templates/common/erc20Input.d.ts.map +1 -0
  622. package/dist/src/staking-templates/templates/common/erc20Input.js +16 -0
  623. package/dist/src/staking-templates/templates/common/erc20Reward.d.ts +12 -0
  624. package/dist/src/staking-templates/templates/common/erc20Reward.d.ts.map +1 -0
  625. package/dist/src/staking-templates/templates/common/erc20Reward.js +16 -0
  626. package/dist/src/staking-templates/templates/common/getCreatePoolEvent.d.ts +31 -0
  627. package/dist/src/staking-templates/templates/common/getCreatePoolEvent.d.ts.map +1 -0
  628. package/dist/src/staking-templates/templates/common/getCreatePoolEvent.js +47 -0
  629. package/dist/src/staking-templates/templates/common/getPlatformDeployEvent.d.ts +40 -0
  630. package/dist/src/staking-templates/templates/common/getPlatformDeployEvent.d.ts.map +1 -0
  631. package/dist/src/staking-templates/templates/common/getPlatformDeployEvent.js +46 -0
  632. package/dist/src/staking-templates/templates/common/getReward.d.ts +58 -0
  633. package/dist/src/staking-templates/templates/common/getReward.d.ts.map +1 -0
  634. package/dist/src/staking-templates/templates/common/getReward.js +34 -0
  635. package/dist/src/staking-templates/templates/common/getStakeEvent.d.ts +31 -0
  636. package/dist/src/staking-templates/templates/common/getStakeEvent.d.ts.map +1 -0
  637. package/dist/src/staking-templates/templates/common/getStakeEvent.js +51 -0
  638. package/dist/src/staking-templates/templates/common/lock.d.ts +12 -0
  639. package/dist/src/staking-templates/templates/common/lock.d.ts.map +1 -0
  640. package/dist/src/staking-templates/templates/common/lock.js +20 -0
  641. package/dist/src/staking-templates/templates/common/lockMult.d.ts +3 -0
  642. package/dist/src/staking-templates/templates/common/lockMult.d.ts.map +1 -0
  643. package/dist/src/staking-templates/templates/common/lockMult.js +15 -0
  644. package/dist/src/staking-templates/templates/common/partialUnstake.d.ts +62 -0
  645. package/dist/src/staking-templates/templates/common/partialUnstake.d.ts.map +1 -0
  646. package/dist/src/staking-templates/templates/common/partialUnstake.js +39 -0
  647. package/dist/src/staking-templates/templates/common/rewardDistribution.d.ts +13 -0
  648. package/dist/src/staking-templates/templates/common/rewardDistribution.d.ts.map +1 -0
  649. package/dist/src/staking-templates/templates/common/rewardDistribution.js +19 -0
  650. package/dist/src/staking-templates/templates/common/templates.d.ts +61 -0
  651. package/dist/src/staking-templates/templates/common/templates.d.ts.map +1 -0
  652. package/dist/src/staking-templates/templates/common/templates.js +8 -0
  653. package/dist/src/staking-templates/templates/common/time.d.ts +2 -0
  654. package/dist/src/staking-templates/templates/common/time.d.ts.map +1 -0
  655. package/dist/src/staking-templates/templates/common/time.js +4 -0
  656. package/dist/src/staking-templates/templates/common/unstake.d.ts +58 -0
  657. package/dist/src/staking-templates/templates/common/unstake.d.ts.map +1 -0
  658. package/dist/src/staking-templates/templates/common/unstake.js +34 -0
  659. package/dist/src/staking-templates/templates/reputation/common.d.ts +23 -0
  660. package/dist/src/staking-templates/templates/reputation/common.d.ts.map +1 -0
  661. package/dist/src/staking-templates/templates/reputation/common.js +3 -0
  662. package/dist/src/staking-templates/templates/reputation/index.d.ts +233 -0
  663. package/dist/src/staking-templates/templates/reputation/index.d.ts.map +1 -0
  664. package/dist/src/staking-templates/templates/reputation/index.js +4 -0
  665. package/dist/src/staking-templates/templates/reputation/v0/createPlatform.d.ts +81 -0
  666. package/dist/src/staking-templates/templates/reputation/v0/createPlatform.d.ts.map +1 -0
  667. package/dist/src/staking-templates/templates/reputation/v0/createPlatform.js +56 -0
  668. package/dist/src/staking-templates/templates/reputation/v0/createPool.d.ts +113 -0
  669. package/dist/src/staking-templates/templates/reputation/v0/createPool.d.ts.map +1 -0
  670. package/dist/src/staking-templates/templates/reputation/v0/createPool.js +85 -0
  671. package/dist/src/staking-templates/templates/reputation/v0/index.d.ts +233 -0
  672. package/dist/src/staking-templates/templates/reputation/v0/index.d.ts.map +1 -0
  673. package/dist/src/staking-templates/templates/reputation/v0/index.js +25 -0
  674. package/dist/src/staking-templates/templates/reputation/v0/restake.d.ts +61 -0
  675. package/dist/src/staking-templates/templates/reputation/v0/restake.d.ts.map +1 -0
  676. package/dist/src/staking-templates/templates/reputation/v0/restake.js +40 -0
  677. package/dist/src/staking-templates/templates/reputation/v0/stake.d.ts +61 -0
  678. package/dist/src/staking-templates/templates/reputation/v0/stake.d.ts.map +1 -0
  679. package/dist/src/staking-templates/templates/reputation/v0/stake.js +45 -0
  680. package/dist/src/staking-templates/templates/reputationLock/common.d.ts +23 -0
  681. package/dist/src/staking-templates/templates/reputationLock/common.d.ts.map +1 -0
  682. package/dist/src/staking-templates/templates/reputationLock/common.js +3 -0
  683. package/dist/src/staking-templates/templates/reputationLock/index.d.ts +244 -0
  684. package/dist/src/staking-templates/templates/reputationLock/index.d.ts.map +1 -0
  685. package/dist/src/staking-templates/templates/reputationLock/index.js +4 -0
  686. package/dist/src/staking-templates/templates/reputationLock/v0/createPlatform.d.ts +81 -0
  687. package/dist/src/staking-templates/templates/reputationLock/v0/createPlatform.d.ts.map +1 -0
  688. package/dist/src/staking-templates/templates/reputationLock/v0/createPlatform.js +56 -0
  689. package/dist/src/staking-templates/templates/reputationLock/v0/createPool.d.ts +149 -0
  690. package/dist/src/staking-templates/templates/reputationLock/v0/createPool.d.ts.map +1 -0
  691. package/dist/src/staking-templates/templates/reputationLock/v0/createPool.js +99 -0
  692. package/dist/src/staking-templates/templates/reputationLock/v0/index.d.ts +244 -0
  693. package/dist/src/staking-templates/templates/reputationLock/v0/index.d.ts.map +1 -0
  694. package/dist/src/staking-templates/templates/reputationLock/v0/index.js +25 -0
  695. package/dist/src/staking-templates/templates/reputationLock/v0/restake.d.ts +65 -0
  696. package/dist/src/staking-templates/templates/reputationLock/v0/restake.d.ts.map +1 -0
  697. package/dist/src/staking-templates/templates/reputationLock/v0/restake.js +44 -0
  698. package/dist/src/staking-templates/templates/reputationLock/v0/stake.d.ts +65 -0
  699. package/dist/src/staking-templates/templates/reputationLock/v0/stake.d.ts.map +1 -0
  700. package/dist/src/staking-templates/templates/reputationLock/v0/stake.js +46 -0
  701. package/dist/src/staking-templates/templates/rwa/common.d.ts +23 -0
  702. package/dist/src/staking-templates/templates/rwa/common.d.ts.map +1 -0
  703. package/dist/src/staking-templates/templates/rwa/common.js +3 -0
  704. package/dist/src/staking-templates/templates/rwa/index.d.ts +256 -0
  705. package/dist/src/staking-templates/templates/rwa/index.d.ts.map +1 -0
  706. package/dist/src/staking-templates/templates/rwa/index.js +4 -0
  707. package/dist/src/staking-templates/templates/rwa/v0/createPlatform.d.ts +81 -0
  708. package/dist/src/staking-templates/templates/rwa/v0/createPlatform.d.ts.map +1 -0
  709. package/dist/src/staking-templates/templates/rwa/v0/createPlatform.js +56 -0
  710. package/dist/src/staking-templates/templates/rwa/v0/createPool.d.ts +109 -0
  711. package/dist/src/staking-templates/templates/rwa/v0/createPool.d.ts.map +1 -0
  712. package/dist/src/staking-templates/templates/rwa/v0/createPool.js +79 -0
  713. package/dist/src/staking-templates/templates/rwa/v0/index.d.ts +256 -0
  714. package/dist/src/staking-templates/templates/rwa/v0/index.d.ts.map +1 -0
  715. package/dist/src/staking-templates/templates/rwa/v0/index.js +27 -0
  716. package/dist/src/staking-templates/templates/rwa/v0/notifyRewards.d.ts +61 -0
  717. package/dist/src/staking-templates/templates/rwa/v0/notifyRewards.d.ts.map +1 -0
  718. package/dist/src/staking-templates/templates/rwa/v0/notifyRewards.js +41 -0
  719. package/dist/src/staking-templates/templates/rwa/v0/restake.d.ts +61 -0
  720. package/dist/src/staking-templates/templates/rwa/v0/restake.d.ts.map +1 -0
  721. package/dist/src/staking-templates/templates/rwa/v0/restake.js +40 -0
  722. package/dist/src/staking-templates/templates/rwa/v0/stake.d.ts +61 -0
  723. package/dist/src/staking-templates/templates/rwa/v0/stake.d.ts.map +1 -0
  724. package/dist/src/staking-templates/templates/rwa/v0/stake.js +45 -0
  725. package/dist/staking/index.d.ts +242 -0
  726. package/dist/staking/index.d.ts.map +1 -0
  727. package/dist/staking/index.js +20 -0
  728. package/dist/staking/platforms/common/platform.d.ts +26 -0
  729. package/dist/staking/platforms/common/platform.d.ts.map +1 -0
  730. package/dist/staking/platforms/common/platform.js +26 -0
  731. package/dist/staking/platforms/common/platformNotFound.d.ts +9 -0
  732. package/dist/staking/platforms/common/platformNotFound.d.ts.map +1 -0
  733. package/dist/staking/platforms/common/platformNotFound.js +13 -0
  734. package/dist/staking/platforms/getPlatform/index.d.ts +26 -0
  735. package/dist/staking/platforms/getPlatform/index.d.ts.map +1 -0
  736. package/dist/staking/platforms/getPlatform/index.js +4 -0
  737. package/dist/staking/platforms/getPlatform/v0/getPlatform.d.ts +52 -0
  738. package/dist/staking/platforms/getPlatform/v0/getPlatform.d.ts.map +1 -0
  739. package/dist/staking/platforms/getPlatform/v0/getPlatform.js +58 -0
  740. package/dist/staking/platforms/index.d.ts +52 -0
  741. package/dist/staking/platforms/index.d.ts.map +1 -0
  742. package/dist/staking/platforms/index.js +10 -0
  743. package/dist/staking/platforms/searchPlatforms/index.d.ts +32 -0
  744. package/dist/staking/platforms/searchPlatforms/index.d.ts.map +1 -0
  745. package/dist/staking/platforms/searchPlatforms/index.js +4 -0
  746. package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts +76 -0
  747. package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts.map +1 -0
  748. package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.js +42 -0
  749. package/dist/staking/pools/common/pool.d.ts +29 -0
  750. package/dist/staking/pools/common/pool.d.ts.map +1 -0
  751. package/dist/staking/pools/common/pool.js +28 -0
  752. package/dist/staking/pools/common/poolNotFound.d.ts +10 -0
  753. package/dist/staking/pools/common/poolNotFound.d.ts.map +1 -0
  754. package/dist/staking/pools/common/poolNotFound.js +14 -0
  755. package/dist/staking/pools/getPool/index.d.ts +20 -0
  756. package/dist/staking/pools/getPool/index.d.ts.map +1 -0
  757. package/dist/staking/pools/getPool/index.js +4 -0
  758. package/dist/staking/pools/getPool/v0/getPool.d.ts +35 -0
  759. package/dist/staking/pools/getPool/v0/getPool.d.ts.map +1 -0
  760. package/dist/staking/pools/getPool/v0/getPool.js +64 -0
  761. package/dist/staking/pools/index.d.ts +39 -0
  762. package/dist/staking/pools/index.d.ts.map +1 -0
  763. package/dist/staking/pools/index.js +10 -0
  764. package/dist/staking/pools/searchPools/index.d.ts +25 -0
  765. package/dist/staking/pools/searchPools/index.d.ts.map +1 -0
  766. package/dist/staking/pools/searchPools/index.js +4 -0
  767. package/dist/staking/pools/searchPools/v0/searchPools.d.ts +55 -0
  768. package/dist/staking/pools/searchPools/v0/searchPools.d.ts.map +1 -0
  769. package/dist/staking/pools/searchPools/v0/searchPools.js +42 -0
  770. package/dist/staking/roles/common/role.d.ts +13 -0
  771. package/dist/staking/roles/common/role.d.ts.map +1 -0
  772. package/dist/staking/roles/common/role.js +18 -0
  773. package/dist/staking/roles/common/roleAssignment.d.ts +27 -0
  774. package/dist/staking/roles/common/roleAssignment.d.ts.map +1 -0
  775. package/dist/staking/roles/common/roleAssignment.js +21 -0
  776. package/dist/staking/roles/common/roleEvent.d.ts +30 -0
  777. package/dist/staking/roles/common/roleEvent.d.ts.map +1 -0
  778. package/dist/staking/roles/common/roleEvent.js +23 -0
  779. package/dist/staking/roles/getRoles/index.d.ts +26 -0
  780. package/dist/staking/roles/getRoles/index.d.ts.map +1 -0
  781. package/dist/staking/roles/getRoles/index.js +4 -0
  782. package/dist/staking/roles/getRoles/v0/getRoles.d.ts +29 -0
  783. package/dist/staking/roles/getRoles/v0/getRoles.d.ts.map +1 -0
  784. package/dist/staking/roles/getRoles/v0/getRoles.js +41 -0
  785. package/dist/staking/roles/grantRole/index.d.ts +29 -0
  786. package/dist/staking/roles/grantRole/index.d.ts.map +1 -0
  787. package/dist/staking/roles/grantRole/index.js +4 -0
  788. package/dist/staking/roles/grantRole/v0/grantRole.d.ts +63 -0
  789. package/dist/staking/roles/grantRole/v0/grantRole.d.ts.map +1 -0
  790. package/dist/staking/roles/grantRole/v0/grantRole.js +40 -0
  791. package/dist/staking/roles/index.d.ts +93 -0
  792. package/dist/staking/roles/index.d.ts.map +1 -0
  793. package/dist/staking/roles/index.js +14 -0
  794. package/dist/staking/roles/searchRoleEvents/index.d.ts +27 -0
  795. package/dist/staking/roles/searchRoleEvents/index.d.ts.map +1 -0
  796. package/dist/staking/roles/searchRoleEvents/index.js +4 -0
  797. package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts +63 -0
  798. package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts.map +1 -0
  799. package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.js +58 -0
  800. package/dist/staking/roles/searchRoles/index.d.ts +27 -0
  801. package/dist/staking/roles/searchRoles/index.d.ts.map +1 -0
  802. package/dist/staking/roles/searchRoles/index.js +4 -0
  803. package/dist/staking/roles/searchRoles/v0/searchRoles.d.ts +63 -0
  804. package/dist/staking/roles/searchRoles/v0/searchRoles.d.ts.map +1 -0
  805. package/dist/staking/roles/searchRoles/v0/searchRoles.js +56 -0
  806. package/dist/staking/stakes/common/stake.d.ts +44 -0
  807. package/dist/staking/stakes/common/stake.d.ts.map +1 -0
  808. package/dist/staking/stakes/common/stake.js +45 -0
  809. package/dist/staking/stakes/common/stakeEvent.d.ts +30 -0
  810. package/dist/staking/stakes/common/stakeEvent.d.ts.map +1 -0
  811. package/dist/staking/stakes/common/stakeEvent.js +24 -0
  812. package/dist/staking/stakes/common/stakeNotFound.d.ts +9 -0
  813. package/dist/staking/stakes/common/stakeNotFound.d.ts.map +1 -0
  814. package/dist/staking/stakes/common/stakeNotFound.js +13 -0
  815. package/dist/staking/stakes/getStake/index.d.ts +20 -0
  816. package/dist/staking/stakes/getStake/index.d.ts.map +1 -0
  817. package/dist/staking/stakes/getStake/index.js +4 -0
  818. package/dist/staking/stakes/getStake/v0/getStake.d.ts +35 -0
  819. package/dist/staking/stakes/getStake/v0/getStake.d.ts.map +1 -0
  820. package/dist/staking/stakes/getStake/v0/getStake.js +64 -0
  821. package/dist/staking/stakes/index.d.ts +63 -0
  822. package/dist/staking/stakes/index.d.ts.map +1 -0
  823. package/dist/staking/stakes/index.js +12 -0
  824. package/dist/staking/stakes/searchStakeEvents/index.d.ts +27 -0
  825. package/dist/staking/stakes/searchStakeEvents/index.d.ts.map +1 -0
  826. package/dist/staking/stakes/searchStakeEvents/index.js +4 -0
  827. package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts +63 -0
  828. package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts.map +1 -0
  829. package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.js +59 -0
  830. package/dist/staking/stakes/searchStakes/index.d.ts +27 -0
  831. package/dist/staking/stakes/searchStakes/index.d.ts.map +1 -0
  832. package/dist/staking/stakes/searchStakes/index.js +4 -0
  833. package/dist/staking/stakes/searchStakes/v0/searchStakes.d.ts +63 -0
  834. package/dist/staking/stakes/searchStakes/v0/searchStakes.d.ts.map +1 -0
  835. package/dist/staking/stakes/searchStakes/v0/searchStakes.js +61 -0
  836. package/dist/staking-templates/index.d.ts +732 -0
  837. package/dist/staking-templates/index.d.ts.map +1 -0
  838. package/dist/staking-templates/index.js +18 -0
  839. package/dist/staking-templates/templates/common/amount.d.ts +13 -0
  840. package/dist/staking-templates/templates/common/amount.d.ts.map +1 -0
  841. package/dist/staking-templates/templates/common/amount.js +17 -0
  842. package/dist/staking-templates/templates/common/amountMult.d.ts +3 -0
  843. package/dist/staking-templates/templates/common/amountMult.d.ts.map +1 -0
  844. package/dist/staking-templates/templates/common/amountMult.js +23 -0
  845. package/dist/staking-templates/templates/common/erc20Input.d.ts +12 -0
  846. package/dist/staking-templates/templates/common/erc20Input.d.ts.map +1 -0
  847. package/dist/staking-templates/templates/common/erc20Input.js +16 -0
  848. package/dist/staking-templates/templates/common/erc20Reward.d.ts +12 -0
  849. package/dist/staking-templates/templates/common/erc20Reward.d.ts.map +1 -0
  850. package/dist/staking-templates/templates/common/erc20Reward.js +16 -0
  851. package/dist/staking-templates/templates/common/getCreatePoolEvent.d.ts +31 -0
  852. package/dist/staking-templates/templates/common/getCreatePoolEvent.d.ts.map +1 -0
  853. package/dist/staking-templates/templates/common/getCreatePoolEvent.js +47 -0
  854. package/dist/staking-templates/templates/common/getPlatformDeployEvent.d.ts +40 -0
  855. package/dist/staking-templates/templates/common/getPlatformDeployEvent.d.ts.map +1 -0
  856. package/dist/staking-templates/templates/common/getPlatformDeployEvent.js +46 -0
  857. package/dist/staking-templates/templates/common/getReward.d.ts +58 -0
  858. package/dist/staking-templates/templates/common/getReward.d.ts.map +1 -0
  859. package/dist/staking-templates/templates/common/getReward.js +34 -0
  860. package/dist/staking-templates/templates/common/getStakeEvent.d.ts +31 -0
  861. package/dist/staking-templates/templates/common/getStakeEvent.d.ts.map +1 -0
  862. package/dist/staking-templates/templates/common/getStakeEvent.js +51 -0
  863. package/dist/staking-templates/templates/common/lock.d.ts +12 -0
  864. package/dist/staking-templates/templates/common/lock.d.ts.map +1 -0
  865. package/dist/staking-templates/templates/common/lock.js +20 -0
  866. package/dist/staking-templates/templates/common/lockMult.d.ts +3 -0
  867. package/dist/staking-templates/templates/common/lockMult.d.ts.map +1 -0
  868. package/dist/staking-templates/templates/common/lockMult.js +15 -0
  869. package/dist/staking-templates/templates/common/partialUnstake.d.ts +62 -0
  870. package/dist/staking-templates/templates/common/partialUnstake.d.ts.map +1 -0
  871. package/dist/staking-templates/templates/common/partialUnstake.js +39 -0
  872. package/dist/staking-templates/templates/common/rewardDistribution.d.ts +13 -0
  873. package/dist/staking-templates/templates/common/rewardDistribution.d.ts.map +1 -0
  874. package/dist/staking-templates/templates/common/rewardDistribution.js +19 -0
  875. package/dist/staking-templates/templates/common/templates.d.ts +61 -0
  876. package/dist/staking-templates/templates/common/templates.d.ts.map +1 -0
  877. package/dist/staking-templates/templates/common/templates.js +8 -0
  878. package/dist/staking-templates/templates/common/time.d.ts +2 -0
  879. package/dist/staking-templates/templates/common/time.d.ts.map +1 -0
  880. package/dist/staking-templates/templates/common/time.js +4 -0
  881. package/dist/staking-templates/templates/common/unstake.d.ts +58 -0
  882. package/dist/staking-templates/templates/common/unstake.d.ts.map +1 -0
  883. package/dist/staking-templates/templates/common/unstake.js +34 -0
  884. package/dist/staking-templates/templates/reputation/common.d.ts +23 -0
  885. package/dist/staking-templates/templates/reputation/common.d.ts.map +1 -0
  886. package/dist/staking-templates/templates/reputation/common.js +3 -0
  887. package/dist/staking-templates/templates/reputation/index.d.ts +233 -0
  888. package/dist/staking-templates/templates/reputation/index.d.ts.map +1 -0
  889. package/dist/staking-templates/templates/reputation/index.js +4 -0
  890. package/dist/staking-templates/templates/reputation/v0/createPlatform.d.ts +81 -0
  891. package/dist/staking-templates/templates/reputation/v0/createPlatform.d.ts.map +1 -0
  892. package/dist/staking-templates/templates/reputation/v0/createPlatform.js +56 -0
  893. package/dist/staking-templates/templates/reputation/v0/createPool.d.ts +113 -0
  894. package/dist/staking-templates/templates/reputation/v0/createPool.d.ts.map +1 -0
  895. package/dist/staking-templates/templates/reputation/v0/createPool.js +85 -0
  896. package/dist/staking-templates/templates/reputation/v0/index.d.ts +233 -0
  897. package/dist/staking-templates/templates/reputation/v0/index.d.ts.map +1 -0
  898. package/dist/staking-templates/templates/reputation/v0/index.js +25 -0
  899. package/dist/staking-templates/templates/reputation/v0/restake.d.ts +61 -0
  900. package/dist/staking-templates/templates/reputation/v0/restake.d.ts.map +1 -0
  901. package/dist/staking-templates/templates/reputation/v0/restake.js +40 -0
  902. package/dist/staking-templates/templates/reputation/v0/stake.d.ts +61 -0
  903. package/dist/staking-templates/templates/reputation/v0/stake.d.ts.map +1 -0
  904. package/dist/staking-templates/templates/reputation/v0/stake.js +45 -0
  905. package/dist/staking-templates/templates/reputationLock/common.d.ts +23 -0
  906. package/dist/staking-templates/templates/reputationLock/common.d.ts.map +1 -0
  907. package/dist/staking-templates/templates/reputationLock/common.js +3 -0
  908. package/dist/staking-templates/templates/reputationLock/index.d.ts +244 -0
  909. package/dist/staking-templates/templates/reputationLock/index.d.ts.map +1 -0
  910. package/dist/staking-templates/templates/reputationLock/index.js +4 -0
  911. package/dist/staking-templates/templates/reputationLock/v0/createPlatform.d.ts +81 -0
  912. package/dist/staking-templates/templates/reputationLock/v0/createPlatform.d.ts.map +1 -0
  913. package/dist/staking-templates/templates/reputationLock/v0/createPlatform.js +56 -0
  914. package/dist/staking-templates/templates/reputationLock/v0/createPool.d.ts +149 -0
  915. package/dist/staking-templates/templates/reputationLock/v0/createPool.d.ts.map +1 -0
  916. package/dist/staking-templates/templates/reputationLock/v0/createPool.js +99 -0
  917. package/dist/staking-templates/templates/reputationLock/v0/index.d.ts +244 -0
  918. package/dist/staking-templates/templates/reputationLock/v0/index.d.ts.map +1 -0
  919. package/dist/staking-templates/templates/reputationLock/v0/index.js +25 -0
  920. package/dist/staking-templates/templates/reputationLock/v0/restake.d.ts +65 -0
  921. package/dist/staking-templates/templates/reputationLock/v0/restake.d.ts.map +1 -0
  922. package/dist/staking-templates/templates/reputationLock/v0/restake.js +44 -0
  923. package/dist/staking-templates/templates/reputationLock/v0/stake.d.ts +65 -0
  924. package/dist/staking-templates/templates/reputationLock/v0/stake.d.ts.map +1 -0
  925. package/dist/staking-templates/templates/reputationLock/v0/stake.js +46 -0
  926. package/dist/staking-templates/templates/rwa/common.d.ts +23 -0
  927. package/dist/staking-templates/templates/rwa/common.d.ts.map +1 -0
  928. package/dist/staking-templates/templates/rwa/common.js +3 -0
  929. package/dist/staking-templates/templates/rwa/index.d.ts +256 -0
  930. package/dist/staking-templates/templates/rwa/index.d.ts.map +1 -0
  931. package/dist/staking-templates/templates/rwa/index.js +4 -0
  932. package/dist/staking-templates/templates/rwa/v0/createPlatform.d.ts +81 -0
  933. package/dist/staking-templates/templates/rwa/v0/createPlatform.d.ts.map +1 -0
  934. package/dist/staking-templates/templates/rwa/v0/createPlatform.js +56 -0
  935. package/dist/staking-templates/templates/rwa/v0/createPool.d.ts +109 -0
  936. package/dist/staking-templates/templates/rwa/v0/createPool.d.ts.map +1 -0
  937. package/dist/staking-templates/templates/rwa/v0/createPool.js +79 -0
  938. package/dist/staking-templates/templates/rwa/v0/index.d.ts +256 -0
  939. package/dist/staking-templates/templates/rwa/v0/index.d.ts.map +1 -0
  940. package/dist/staking-templates/templates/rwa/v0/index.js +27 -0
  941. package/dist/staking-templates/templates/rwa/v0/notifyRewards.d.ts +61 -0
  942. package/dist/staking-templates/templates/rwa/v0/notifyRewards.d.ts.map +1 -0
  943. package/dist/staking-templates/templates/rwa/v0/notifyRewards.js +41 -0
  944. package/dist/staking-templates/templates/rwa/v0/restake.d.ts +61 -0
  945. package/dist/staking-templates/templates/rwa/v0/restake.d.ts.map +1 -0
  946. package/dist/staking-templates/templates/rwa/v0/restake.js +40 -0
  947. package/dist/staking-templates/templates/rwa/v0/stake.d.ts +61 -0
  948. package/dist/staking-templates/templates/rwa/v0/stake.d.ts.map +1 -0
  949. package/dist/staking-templates/templates/rwa/v0/stake.js +45 -0
  950. package/package.json +82 -0
package/dist/app.d.ts ADDED
@@ -0,0 +1,2457 @@
1
+ import { Factory } from "hono/factory";
2
+ export declare function getApp(factory: Factory): import("hono/hono-base").HonoBase<{}, {
3
+ "/*": {};
4
+ } | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema, "/staking">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema, "/platforms">, "/staking">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
5
+ "/v0": {
6
+ $get: {
7
+ input: {
8
+ query: {
9
+ address: `0x${string}`;
10
+ chainId: "11155111" | "31337";
11
+ };
12
+ };
13
+ output: {
14
+ chainId: "11155111" | "31337";
15
+ createdAt: string;
16
+ contractAddress: `0x${string}`;
17
+ adminAddress: `0x${string}`;
18
+ updatedAt: string;
19
+ transactionHash: `0x${string}`;
20
+ };
21
+ outputFormat: "json";
22
+ status: 200;
23
+ };
24
+ };
25
+ }, "/get">, "/platforms">, "/staking">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
26
+ "/v0": {
27
+ $post: {
28
+ input: {
29
+ json: {
30
+ filter: {
31
+ chainId?: "11155111" | "31337" | undefined;
32
+ owner?: `0x${string}` | undefined;
33
+ };
34
+ page: {
35
+ skip: number;
36
+ limit: number;
37
+ };
38
+ };
39
+ };
40
+ output: {
41
+ chainId: "11155111" | "31337";
42
+ createdAt: string;
43
+ contractAddress: `0x${string}`;
44
+ adminAddress: `0x${string}`;
45
+ updatedAt: string;
46
+ transactionHash: `0x${string}`;
47
+ }[];
48
+ outputFormat: "json";
49
+ status: 200;
50
+ };
51
+ };
52
+ }, "/search">, "/platforms">, "/staking">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema, "/pools">, "/staking">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
53
+ "/v0": {
54
+ $post: {
55
+ input: {
56
+ json: {
57
+ filter: {
58
+ chainId?: "11155111" | "31337" | undefined;
59
+ platform?: `0x${string}` | undefined;
60
+ };
61
+ page: {
62
+ skip: number;
63
+ limit: number;
64
+ };
65
+ };
66
+ };
67
+ output: never;
68
+ outputFormat: "json";
69
+ status: 200;
70
+ };
71
+ };
72
+ }, "/searchPools">, "/pools">, "/staking">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
73
+ "/v0": {
74
+ $get: {
75
+ input: {
76
+ query: {
77
+ chainId: string | string[];
78
+ platform: string | string[];
79
+ poolId: string | string[];
80
+ };
81
+ };
82
+ output: never;
83
+ outputFormat: "json";
84
+ status: 200;
85
+ };
86
+ };
87
+ }, "/getPool">, "/pools">, "/staking">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema, "/stakes">, "/staking">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
88
+ "/v0": {
89
+ $post: {
90
+ input: {
91
+ json: {
92
+ filter: {
93
+ chainId?: "11155111" | "31337" | undefined;
94
+ platform?: `0x${string}` | undefined;
95
+ poolId?: string | number | bigint | undefined;
96
+ owner?: `0x${string}` | undefined;
97
+ };
98
+ page: {
99
+ skip: number;
100
+ limit: number;
101
+ };
102
+ };
103
+ };
104
+ output: never;
105
+ outputFormat: "json";
106
+ status: 200;
107
+ };
108
+ };
109
+ }, "/searchStakes">, "/stakes">, "/staking">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
110
+ "/v0": {
111
+ $post: {
112
+ input: {
113
+ json: {
114
+ filter: {
115
+ chainId?: "11155111" | "31337" | undefined;
116
+ platform?: `0x${string}` | undefined;
117
+ poolId?: string | number | bigint | undefined;
118
+ owner?: `0x${string}` | undefined;
119
+ };
120
+ page: {
121
+ skip: number;
122
+ limit: number;
123
+ };
124
+ };
125
+ };
126
+ output: never;
127
+ outputFormat: "json";
128
+ status: 200;
129
+ };
130
+ };
131
+ }, "/searchStakeEvents">, "/stakes">, "/staking">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
132
+ "/v0": {
133
+ $get: {
134
+ input: {
135
+ query: {
136
+ chainId: string | string[];
137
+ platform: string | string[];
138
+ stakeId: string | string[];
139
+ };
140
+ };
141
+ output: never;
142
+ outputFormat: "json";
143
+ status: 200;
144
+ };
145
+ };
146
+ }, "/getStake">, "/stakes">, "/staking">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema, "/roles">, "/staking">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
147
+ "/v0": {
148
+ $get: {
149
+ input: {};
150
+ output: ({
151
+ name: string;
152
+ value: `0x${string}`;
153
+ } | {
154
+ name: string;
155
+ value: `0x${string}`;
156
+ } | {
157
+ name: string;
158
+ value: `0x${string}`;
159
+ } | {
160
+ name: string;
161
+ value: `0x${string}`;
162
+ })[];
163
+ outputFormat: "json";
164
+ status: 200;
165
+ };
166
+ };
167
+ }, "/getRoles">, "/roles">, "/staking">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
168
+ "/v0": {
169
+ $post: {
170
+ input: {
171
+ json: {
172
+ platform: `0x${string}`;
173
+ addresses: `0x${string}`[];
174
+ role: `0x${string}` | import("@evergonlabs/tmi-protocol-staking-sdk").StakingRole;
175
+ };
176
+ };
177
+ output: {
178
+ data: `0x${string}`;
179
+ to: `0x${string}`;
180
+ details: {
181
+ functionName: string;
182
+ address: `0x${string}`;
183
+ abi: any[];
184
+ args: any[];
185
+ };
186
+ };
187
+ outputFormat: "json";
188
+ status: 200;
189
+ };
190
+ };
191
+ }, "/grantRole">, "/roles">, "/staking">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
192
+ "/v0": {
193
+ $post: {
194
+ input: {
195
+ json: {
196
+ filter: {
197
+ chainId?: "11155111" | "31337" | undefined;
198
+ platform?: `0x${string}` | undefined;
199
+ poolId?: string | number | bigint | undefined;
200
+ owner?: `0x${string}` | undefined;
201
+ };
202
+ page: {
203
+ skip: number;
204
+ limit: number;
205
+ };
206
+ };
207
+ };
208
+ output: never;
209
+ outputFormat: "json";
210
+ status: 200;
211
+ };
212
+ };
213
+ }, "/searchRoles">, "/roles">, "/staking">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
214
+ "/v0": {
215
+ $post: {
216
+ input: {
217
+ json: {
218
+ filter: {
219
+ chainId?: "11155111" | "31337" | undefined;
220
+ platform?: `0x${string}` | undefined;
221
+ poolId?: string | number | bigint | undefined;
222
+ owner?: `0x${string}` | undefined;
223
+ };
224
+ page: {
225
+ skip: number;
226
+ limit: number;
227
+ };
228
+ };
229
+ };
230
+ output: never;
231
+ outputFormat: "json";
232
+ status: 200;
233
+ };
234
+ };
235
+ }, "/searchRoleEvents">, "/roles">, "/staking">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema, "/stakingTemplates">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema, "/reputation">, "/stakingTemplates">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
236
+ "/getPlatformDeployEvent": {
237
+ $get: {
238
+ input: {
239
+ query: {
240
+ chainId: string | string[];
241
+ hash: string | string[];
242
+ };
243
+ };
244
+ output: {
245
+ diamondAddress: `0x${string}`;
246
+ admin: `0x${string}`;
247
+ };
248
+ outputFormat: "json";
249
+ status: 200;
250
+ };
251
+ };
252
+ } & {
253
+ "/getStakeEvent": {
254
+ $get: {
255
+ input: {
256
+ query: {
257
+ chainId: string | string[];
258
+ hash: string | string[];
259
+ };
260
+ };
261
+ output: never;
262
+ outputFormat: "json";
263
+ status: 200;
264
+ };
265
+ };
266
+ } & {
267
+ "/getCreatePoolEvent": {
268
+ $get: {
269
+ input: {
270
+ query: {
271
+ chainId: string | string[];
272
+ hash: string | string[];
273
+ };
274
+ };
275
+ output: never;
276
+ outputFormat: "json";
277
+ status: 200;
278
+ };
279
+ };
280
+ } & {
281
+ "/getReward": {
282
+ $post: {
283
+ input: {
284
+ json: {
285
+ platform: `0x${string}`;
286
+ stakeId: string | number | bigint;
287
+ };
288
+ };
289
+ output: {
290
+ data: `0x${string}`;
291
+ to: `0x${string}`;
292
+ details: {
293
+ functionName: string;
294
+ address: `0x${string}`;
295
+ abi: any[];
296
+ args: any[];
297
+ };
298
+ };
299
+ outputFormat: "json";
300
+ status: 200;
301
+ };
302
+ };
303
+ } & {
304
+ "/partialUnstake": {
305
+ $post: {
306
+ input: {
307
+ json: {
308
+ platform: `0x${string}`;
309
+ stakeId: string | number | bigint;
310
+ amount: string | number | bigint;
311
+ };
312
+ };
313
+ output: {
314
+ data: `0x${string}`;
315
+ to: `0x${string}`;
316
+ details: {
317
+ functionName: string;
318
+ address: `0x${string}`;
319
+ abi: any[];
320
+ args: any[];
321
+ };
322
+ };
323
+ outputFormat: "json";
324
+ status: 200;
325
+ };
326
+ };
327
+ } & {
328
+ "/restake": {
329
+ $post: {
330
+ input: {
331
+ json: {
332
+ platform: `0x${string}`;
333
+ poolId: string | number | bigint;
334
+ amount: string | number | bigint;
335
+ };
336
+ };
337
+ output: {
338
+ data: `0x${string}`;
339
+ to: `0x${string}`;
340
+ details: {
341
+ functionName: string;
342
+ address: `0x${string}`;
343
+ abi: any[];
344
+ args: any[];
345
+ };
346
+ };
347
+ outputFormat: "json";
348
+ status: 200;
349
+ };
350
+ };
351
+ } & {
352
+ "/stake": {
353
+ $post: {
354
+ input: {
355
+ json: {
356
+ platform: `0x${string}`;
357
+ poolId: string | number | bigint;
358
+ amount: string | number | bigint;
359
+ };
360
+ };
361
+ output: {
362
+ data: `0x${string}`;
363
+ to: `0x${string}`;
364
+ details: {
365
+ functionName: string;
366
+ address: `0x${string}`;
367
+ abi: any[];
368
+ args: any[];
369
+ };
370
+ };
371
+ outputFormat: "json";
372
+ status: 200;
373
+ };
374
+ };
375
+ } & {
376
+ "/unstake": {
377
+ $post: {
378
+ input: {
379
+ json: {
380
+ platform: `0x${string}`;
381
+ stakeId: string | number | bigint;
382
+ };
383
+ };
384
+ output: {
385
+ data: `0x${string}`;
386
+ to: `0x${string}`;
387
+ details: {
388
+ functionName: string;
389
+ address: `0x${string}`;
390
+ abi: any[];
391
+ args: any[];
392
+ };
393
+ };
394
+ outputFormat: "json";
395
+ status: 200;
396
+ };
397
+ };
398
+ } & {
399
+ "/createPool": {
400
+ $post: {
401
+ input: {
402
+ json: {
403
+ platform: `0x${string}`;
404
+ startDate: string;
405
+ amount: {
406
+ minAmount: string | number | bigint;
407
+ maxAmount: string | number | bigint;
408
+ };
409
+ amountMult: [string | number | bigint, string | number | bigint][];
410
+ stakingErc20: {
411
+ contract: `0x${string}`;
412
+ amountOfTokensPerPacket: string;
413
+ };
414
+ rewardErc20: {
415
+ contract: `0x${string}`;
416
+ amountOfTokensPerPacket: string | number | bigint;
417
+ };
418
+ rate: string | number | bigint;
419
+ };
420
+ };
421
+ output: {
422
+ data: `0x${string}`;
423
+ to: `0x${string}`;
424
+ details: {
425
+ functionName: string;
426
+ address: `0x${string}`;
427
+ abi: any[];
428
+ args: any[];
429
+ };
430
+ };
431
+ outputFormat: "json";
432
+ status: 200;
433
+ };
434
+ };
435
+ } & {
436
+ "/createPlatform": {
437
+ $post: {
438
+ input: {
439
+ json: {
440
+ chainId: "11155111" | "31337";
441
+ adminAddress: `0x${string}`;
442
+ erc721: {
443
+ symbol: string;
444
+ name: string;
445
+ baseUri: string;
446
+ };
447
+ isSoulbound: boolean;
448
+ };
449
+ };
450
+ output: {
451
+ data: `0x${string}`;
452
+ to: `0x${string}`;
453
+ details: {
454
+ functionName: string;
455
+ address: `0x${string}`;
456
+ abi: any[];
457
+ args: any[];
458
+ };
459
+ };
460
+ outputFormat: "json";
461
+ status: 200;
462
+ };
463
+ };
464
+ }, "/v0">, "/reputation">, "/stakingTemplates">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema, "/reputationLock">, "/stakingTemplates">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
465
+ "/getPlatformDeployEvent": {
466
+ $get: {
467
+ input: {
468
+ query: {
469
+ chainId: string | string[];
470
+ hash: string | string[];
471
+ };
472
+ };
473
+ output: {
474
+ diamondAddress: `0x${string}`;
475
+ admin: `0x${string}`;
476
+ };
477
+ outputFormat: "json";
478
+ status: 200;
479
+ };
480
+ };
481
+ } & {
482
+ "/getStakeEvent": {
483
+ $get: {
484
+ input: {
485
+ query: {
486
+ chainId: string | string[];
487
+ hash: string | string[];
488
+ };
489
+ };
490
+ output: never;
491
+ outputFormat: "json";
492
+ status: 200;
493
+ };
494
+ };
495
+ } & {
496
+ "/getCreatePoolEvent": {
497
+ $get: {
498
+ input: {
499
+ query: {
500
+ chainId: string | string[];
501
+ hash: string | string[];
502
+ };
503
+ };
504
+ output: never;
505
+ outputFormat: "json";
506
+ status: 200;
507
+ };
508
+ };
509
+ } & {
510
+ "/getReward": {
511
+ $post: {
512
+ input: {
513
+ json: {
514
+ platform: `0x${string}`;
515
+ stakeId: string | number | bigint;
516
+ };
517
+ };
518
+ output: {
519
+ data: `0x${string}`;
520
+ to: `0x${string}`;
521
+ details: {
522
+ functionName: string;
523
+ address: `0x${string}`;
524
+ abi: any[];
525
+ args: any[];
526
+ };
527
+ };
528
+ outputFormat: "json";
529
+ status: 200;
530
+ };
531
+ };
532
+ } & {
533
+ "/partialUnstake": {
534
+ $post: {
535
+ input: {
536
+ json: {
537
+ platform: `0x${string}`;
538
+ stakeId: string | number | bigint;
539
+ amount: string | number | bigint;
540
+ };
541
+ };
542
+ output: {
543
+ data: `0x${string}`;
544
+ to: `0x${string}`;
545
+ details: {
546
+ functionName: string;
547
+ address: `0x${string}`;
548
+ abi: any[];
549
+ args: any[];
550
+ };
551
+ };
552
+ outputFormat: "json";
553
+ status: 200;
554
+ };
555
+ };
556
+ } & {
557
+ "/restake": {
558
+ $post: {
559
+ input: {
560
+ json: {
561
+ platform: `0x${string}`;
562
+ poolId: string | number | bigint;
563
+ amount: string | number | bigint;
564
+ lockPeriod: string | number | bigint;
565
+ };
566
+ };
567
+ output: {
568
+ data: `0x${string}`;
569
+ to: `0x${string}`;
570
+ details: {
571
+ functionName: string;
572
+ address: `0x${string}`;
573
+ abi: any[];
574
+ args: any[];
575
+ };
576
+ };
577
+ outputFormat: "json";
578
+ status: 200;
579
+ };
580
+ };
581
+ } & {
582
+ "/stake": {
583
+ $post: {
584
+ input: {
585
+ json: {
586
+ platform: `0x${string}`;
587
+ poolId: string | number | bigint;
588
+ amount: string | number | bigint;
589
+ lockPeriod: string | number | bigint;
590
+ };
591
+ };
592
+ output: {
593
+ data: `0x${string}`;
594
+ to: `0x${string}`;
595
+ details: {
596
+ functionName: string;
597
+ address: `0x${string}`;
598
+ abi: any[];
599
+ args: any[];
600
+ };
601
+ };
602
+ outputFormat: "json";
603
+ status: 200;
604
+ };
605
+ };
606
+ } & {
607
+ "/unstake": {
608
+ $post: {
609
+ input: {
610
+ json: {
611
+ platform: `0x${string}`;
612
+ stakeId: string | number | bigint;
613
+ };
614
+ };
615
+ output: {
616
+ data: `0x${string}`;
617
+ to: `0x${string}`;
618
+ details: {
619
+ functionName: string;
620
+ address: `0x${string}`;
621
+ abi: any[];
622
+ args: any[];
623
+ };
624
+ };
625
+ outputFormat: "json";
626
+ status: 200;
627
+ };
628
+ };
629
+ } & {
630
+ "/createPool": {
631
+ $post: {
632
+ input: {
633
+ json: {
634
+ platform: `0x${string}`;
635
+ startDate: string;
636
+ amount: {
637
+ minAmount: string | number | bigint;
638
+ maxAmount: string | number | bigint;
639
+ };
640
+ distribution: {
641
+ duration: string | number | bigint;
642
+ distributor: `0x${string}`;
643
+ };
644
+ amountMult: [string | number | bigint, string | number | bigint][];
645
+ stakingErc20: {
646
+ contract: `0x${string}`;
647
+ amountOfTokensPerPacket: string;
648
+ };
649
+ rewardErc20: {
650
+ contract: `0x${string}`;
651
+ amountOfTokensPerPacket: string | number | bigint;
652
+ };
653
+ rate: string | number | bigint;
654
+ lock: {
655
+ minAcceptedLockPeriod: string | number | bigint;
656
+ maxAcceptedLockPeriod: string | number | bigint;
657
+ };
658
+ lockMult: [string | number | bigint, string | number | bigint][];
659
+ };
660
+ };
661
+ output: {
662
+ data: `0x${string}`;
663
+ to: `0x${string}`;
664
+ details: {
665
+ functionName: string;
666
+ address: `0x${string}`;
667
+ abi: any[];
668
+ args: any[];
669
+ };
670
+ };
671
+ outputFormat: "json";
672
+ status: 200;
673
+ };
674
+ };
675
+ } & {
676
+ "/createPlatform": {
677
+ $post: {
678
+ input: {
679
+ json: {
680
+ chainId: "11155111" | "31337";
681
+ adminAddress: `0x${string}`;
682
+ erc721: {
683
+ symbol: string;
684
+ name: string;
685
+ baseUri: string;
686
+ };
687
+ isSoulbound: boolean;
688
+ };
689
+ };
690
+ output: {
691
+ data: `0x${string}`;
692
+ to: `0x${string}`;
693
+ details: {
694
+ functionName: string;
695
+ address: `0x${string}`;
696
+ abi: any[];
697
+ args: any[];
698
+ };
699
+ };
700
+ outputFormat: "json";
701
+ status: 200;
702
+ };
703
+ };
704
+ }, "/v0">, "/reputationLock">, "/stakingTemplates">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema, "/rwa">, "/stakingTemplates">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
705
+ "/getPlatformDeployEvent": {
706
+ $get: {
707
+ input: {
708
+ query: {
709
+ chainId: string | string[];
710
+ hash: string | string[];
711
+ };
712
+ };
713
+ output: {
714
+ diamondAddress: `0x${string}`;
715
+ admin: `0x${string}`;
716
+ };
717
+ outputFormat: "json";
718
+ status: 200;
719
+ };
720
+ };
721
+ } & {
722
+ "/getStakeEvent": {
723
+ $get: {
724
+ input: {
725
+ query: {
726
+ chainId: string | string[];
727
+ hash: string | string[];
728
+ };
729
+ };
730
+ output: never;
731
+ outputFormat: "json";
732
+ status: 200;
733
+ };
734
+ };
735
+ } & {
736
+ "/getCreatePoolEvent": {
737
+ $get: {
738
+ input: {
739
+ query: {
740
+ chainId: string | string[];
741
+ hash: string | string[];
742
+ };
743
+ };
744
+ output: never;
745
+ outputFormat: "json";
746
+ status: 200;
747
+ };
748
+ };
749
+ } & {
750
+ "/getReward": {
751
+ $post: {
752
+ input: {
753
+ json: {
754
+ platform: `0x${string}`;
755
+ stakeId: string | number | bigint;
756
+ };
757
+ };
758
+ output: {
759
+ data: `0x${string}`;
760
+ to: `0x${string}`;
761
+ details: {
762
+ functionName: string;
763
+ address: `0x${string}`;
764
+ abi: any[];
765
+ args: any[];
766
+ };
767
+ };
768
+ outputFormat: "json";
769
+ status: 200;
770
+ };
771
+ };
772
+ } & {
773
+ "/partialUnstake": {
774
+ $post: {
775
+ input: {
776
+ json: {
777
+ platform: `0x${string}`;
778
+ stakeId: string | number | bigint;
779
+ amount: string | number | bigint;
780
+ };
781
+ };
782
+ output: {
783
+ data: `0x${string}`;
784
+ to: `0x${string}`;
785
+ details: {
786
+ functionName: string;
787
+ address: `0x${string}`;
788
+ abi: any[];
789
+ args: any[];
790
+ };
791
+ };
792
+ outputFormat: "json";
793
+ status: 200;
794
+ };
795
+ };
796
+ } & {
797
+ "/restake": {
798
+ $post: {
799
+ input: {
800
+ json: {
801
+ platform: `0x${string}`;
802
+ poolId: string | number | bigint;
803
+ amount: string | number | bigint;
804
+ };
805
+ };
806
+ output: {
807
+ data: `0x${string}`;
808
+ to: `0x${string}`;
809
+ details: {
810
+ functionName: string;
811
+ address: `0x${string}`;
812
+ abi: any[];
813
+ args: any[];
814
+ };
815
+ };
816
+ outputFormat: "json";
817
+ status: 200;
818
+ };
819
+ };
820
+ } & {
821
+ "/stake": {
822
+ $post: {
823
+ input: {
824
+ json: {
825
+ platform: `0x${string}`;
826
+ poolId: string | number | bigint;
827
+ amount: string | number | bigint;
828
+ };
829
+ };
830
+ output: {
831
+ data: `0x${string}`;
832
+ to: `0x${string}`;
833
+ details: {
834
+ functionName: string;
835
+ address: `0x${string}`;
836
+ abi: any[];
837
+ args: any[];
838
+ };
839
+ };
840
+ outputFormat: "json";
841
+ status: 200;
842
+ };
843
+ };
844
+ } & {
845
+ "/unstake": {
846
+ $post: {
847
+ input: {
848
+ json: {
849
+ platform: `0x${string}`;
850
+ stakeId: string | number | bigint;
851
+ };
852
+ };
853
+ output: {
854
+ data: `0x${string}`;
855
+ to: `0x${string}`;
856
+ details: {
857
+ functionName: string;
858
+ address: `0x${string}`;
859
+ abi: any[];
860
+ args: any[];
861
+ };
862
+ };
863
+ outputFormat: "json";
864
+ status: 200;
865
+ };
866
+ };
867
+ } & {
868
+ "/createPool": {
869
+ $post: {
870
+ input: {
871
+ json: {
872
+ platform: `0x${string}`;
873
+ startDate: string;
874
+ hardcapAmount: string | number | bigint;
875
+ distribution: {
876
+ duration: string | number | bigint;
877
+ distributor: `0x${string}`;
878
+ };
879
+ erc20Input: {
880
+ contract: `0x${string}`;
881
+ amountOfTokensPerPacket: string;
882
+ };
883
+ erc20Reward: {
884
+ contract: `0x${string}`;
885
+ amountOfTokensPerPacket: string | number | bigint;
886
+ };
887
+ };
888
+ };
889
+ output: {
890
+ data: `0x${string}`;
891
+ to: `0x${string}`;
892
+ details: {
893
+ functionName: string;
894
+ address: `0x${string}`;
895
+ abi: any[];
896
+ args: any[];
897
+ };
898
+ };
899
+ outputFormat: "json";
900
+ status: 200;
901
+ };
902
+ };
903
+ } & {
904
+ "/createPlatform": {
905
+ $post: {
906
+ input: {
907
+ json: {
908
+ chainId: "11155111" | "31337";
909
+ adminAddress: `0x${string}`;
910
+ erc721: {
911
+ symbol: string;
912
+ name: string;
913
+ baseUri: string;
914
+ };
915
+ isSoulbound: boolean;
916
+ };
917
+ };
918
+ output: {
919
+ data: `0x${string}`;
920
+ to: `0x${string}`;
921
+ details: {
922
+ functionName: string;
923
+ address: `0x${string}`;
924
+ abi: any[];
925
+ args: any[];
926
+ };
927
+ };
928
+ outputFormat: "json";
929
+ status: 200;
930
+ };
931
+ };
932
+ } & {
933
+ "/notifyRewards": {
934
+ $post: {
935
+ input: {
936
+ json: {
937
+ platform: `0x${string}`;
938
+ poolId: string | number | bigint;
939
+ amount: string | number | bigint;
940
+ };
941
+ };
942
+ output: {
943
+ data: `0x${string}`;
944
+ to: `0x${string}`;
945
+ details: {
946
+ functionName: string;
947
+ address: `0x${string}`;
948
+ abi: any[];
949
+ args: any[];
950
+ };
951
+ };
952
+ outputFormat: "json";
953
+ status: 200;
954
+ };
955
+ };
956
+ }, "/v0">, "/rwa">, "/stakingTemplates">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema, "/v0/fractions">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
957
+ "/deployEvent": {
958
+ $get: {
959
+ input: {
960
+ query: {
961
+ chainId: string | string[];
962
+ hash: string | string[];
963
+ };
964
+ };
965
+ output: {
966
+ diamondAddress: `0x${string}`;
967
+ admin: `0x${string}`;
968
+ wrapperAddress: `0x${string}` | null;
969
+ };
970
+ outputFormat: "json";
971
+ status: 200;
972
+ };
973
+ };
974
+ }, "/markets">, "/v0/fractions">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
975
+ "/": {
976
+ $get: {
977
+ input: {
978
+ query: {
979
+ address: string | string[];
980
+ chainId: string | string[];
981
+ };
982
+ };
983
+ output: {
984
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
985
+ createdAt: string;
986
+ contractAddress: `0x${string}`;
987
+ adminAddress: `0x${string}`;
988
+ updatedAt: string;
989
+ template: "default" | "compilot" | "continuous-withdrawal" | "continuous-withdrawal-nid";
990
+ wrapperAddress: `0x${string}` | null;
991
+ transactionHash: `0x${string}`;
992
+ feesBps: number | null;
993
+ burnAsset: {
994
+ symbol: string;
995
+ type: string;
996
+ name: string;
997
+ address: `0x${string}`;
998
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
999
+ tokenId: string | null;
1000
+ decimals: number;
1001
+ burnable: boolean;
1002
+ } | null;
1003
+ };
1004
+ outputFormat: "json";
1005
+ status: 200;
1006
+ } | {
1007
+ input: {
1008
+ query: {
1009
+ address: string | string[];
1010
+ chainId: string | string[];
1011
+ };
1012
+ };
1013
+ output: {
1014
+ error: string;
1015
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1016
+ market: `0x${string}`;
1017
+ };
1018
+ outputFormat: "json";
1019
+ status: 404;
1020
+ };
1021
+ };
1022
+ }, "/get"> & {
1023
+ "/deployEvent": {
1024
+ $get: {
1025
+ input: {
1026
+ query: {
1027
+ chainId: string | string[];
1028
+ hash: string | string[];
1029
+ };
1030
+ };
1031
+ output: {
1032
+ diamondAddress: `0x${string}`;
1033
+ admin: `0x${string}`;
1034
+ wrapperAddress: `0x${string}` | null;
1035
+ };
1036
+ outputFormat: "json";
1037
+ status: 200;
1038
+ };
1039
+ };
1040
+ }, "/markets">, "/v0/fractions">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
1041
+ "/": {
1042
+ $post: {
1043
+ input: {
1044
+ json: {
1045
+ filter: {
1046
+ chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
1047
+ owner?: `0x${string}` | undefined;
1048
+ };
1049
+ page: {
1050
+ skip: number;
1051
+ limit: number;
1052
+ };
1053
+ };
1054
+ };
1055
+ output: {
1056
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1057
+ createdAt: string;
1058
+ contractAddress: `0x${string}`;
1059
+ adminAddress: `0x${string}`;
1060
+ updatedAt: string;
1061
+ template: "default" | "compilot" | "continuous-withdrawal" | "continuous-withdrawal-nid";
1062
+ wrapperAddress: `0x${string}` | null;
1063
+ transactionHash: `0x${string}`;
1064
+ feesBps: number | null;
1065
+ burnAsset: {
1066
+ symbol: string;
1067
+ type: string;
1068
+ name: string;
1069
+ address: `0x${string}`;
1070
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1071
+ tokenId: string | null;
1072
+ decimals: number;
1073
+ burnable: boolean;
1074
+ } | null;
1075
+ }[];
1076
+ outputFormat: "json";
1077
+ status: 200;
1078
+ };
1079
+ };
1080
+ }, "/search"> & {
1081
+ "/deployEvent": {
1082
+ $get: {
1083
+ input: {
1084
+ query: {
1085
+ chainId: string | string[];
1086
+ hash: string | string[];
1087
+ };
1088
+ };
1089
+ output: {
1090
+ diamondAddress: `0x${string}`;
1091
+ admin: `0x${string}`;
1092
+ wrapperAddress: `0x${string}` | null;
1093
+ };
1094
+ outputFormat: "json";
1095
+ status: 200;
1096
+ };
1097
+ };
1098
+ }, "/markets">, "/v0/fractions">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
1099
+ "/deploy": {
1100
+ $post: {
1101
+ input: {
1102
+ json: {
1103
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1104
+ adminAddress: `0x${string}`;
1105
+ discount?: {
1106
+ burnForDiscount: {
1107
+ burnableTokenAddress: `0x${string}`;
1108
+ };
1109
+ } | undefined;
1110
+ cap?: {
1111
+ maxHardCap: bigint;
1112
+ } | undefined;
1113
+ };
1114
+ };
1115
+ output: {
1116
+ data: `0x${string}`;
1117
+ to: `0x${string}`;
1118
+ details: {
1119
+ functionName: string;
1120
+ address: `0x${string}`;
1121
+ abi: any[];
1122
+ args: any[];
1123
+ };
1124
+ };
1125
+ outputFormat: "json";
1126
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1127
+ };
1128
+ };
1129
+ } & {
1130
+ "/deployNid": {
1131
+ $post: {
1132
+ input: {
1133
+ json: {
1134
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1135
+ adminAddress: `0x${string}`;
1136
+ discount?: {
1137
+ burnForDiscount: {
1138
+ burnableTokenAddress: `0x${string}`;
1139
+ };
1140
+ } | undefined;
1141
+ cap?: {
1142
+ maxHardCap: bigint;
1143
+ } | undefined;
1144
+ };
1145
+ };
1146
+ output: {
1147
+ data: `0x${string}`;
1148
+ to: `0x${string}`;
1149
+ details: {
1150
+ functionName: string;
1151
+ address: `0x${string}`;
1152
+ abi: any[];
1153
+ args: any[];
1154
+ };
1155
+ };
1156
+ outputFormat: "json";
1157
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1158
+ };
1159
+ };
1160
+ } & {
1161
+ "/deployContinuousWithdraw": {
1162
+ $post: {
1163
+ input: {
1164
+ json: {
1165
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1166
+ adminAddress: `0x${string}`;
1167
+ discount?: {
1168
+ burnForDiscount: {
1169
+ burnableTokenAddress: `0x${string}`;
1170
+ };
1171
+ } | undefined;
1172
+ cap?: {
1173
+ maxHardCap: bigint;
1174
+ } | undefined;
1175
+ };
1176
+ };
1177
+ output: {
1178
+ data: `0x${string}`;
1179
+ to: `0x${string}`;
1180
+ details: {
1181
+ functionName: string;
1182
+ address: `0x${string}`;
1183
+ abi: any[];
1184
+ args: any[];
1185
+ };
1186
+ };
1187
+ outputFormat: "json";
1188
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1189
+ };
1190
+ };
1191
+ } & {
1192
+ deployContinuousWithdrawNid: {
1193
+ $post: {
1194
+ input: {
1195
+ json: {
1196
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1197
+ adminAddress: `0x${string}`;
1198
+ discount?: {
1199
+ burnForDiscount: {
1200
+ burnableTokenAddress: `0x${string}`;
1201
+ };
1202
+ } | undefined;
1203
+ cap?: {
1204
+ maxHardCap: bigint;
1205
+ } | undefined;
1206
+ };
1207
+ };
1208
+ output: {
1209
+ data: `0x${string}`;
1210
+ to: `0x${string}`;
1211
+ details: {
1212
+ functionName: string;
1213
+ address: `0x${string}`;
1214
+ abi: any[];
1215
+ args: any[];
1216
+ };
1217
+ };
1218
+ outputFormat: "json";
1219
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1220
+ };
1221
+ };
1222
+ } & {
1223
+ "/initCompilot": {
1224
+ $get: {
1225
+ input: {
1226
+ query: {
1227
+ market: `0x${string}`;
1228
+ };
1229
+ };
1230
+ output: {
1231
+ data: `0x${string}`;
1232
+ to: `0x${string}`;
1233
+ details: {
1234
+ functionName: string;
1235
+ address: `0x${string}`;
1236
+ abi: any[];
1237
+ args: any[];
1238
+ };
1239
+ };
1240
+ outputFormat: "json";
1241
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1242
+ };
1243
+ };
1244
+ }, "/platforms">, "/v0/fractions">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
1245
+ "/approveWrapper": {
1246
+ $post: {
1247
+ input: {
1248
+ json: {
1249
+ wrapperAddress: `0x${string}`;
1250
+ marketAddress: `0x${string}`;
1251
+ };
1252
+ };
1253
+ output: {
1254
+ data: `0x${string}`;
1255
+ to: `0x${string}`;
1256
+ details: {
1257
+ functionName: string;
1258
+ address: `0x${string}`;
1259
+ abi: any[];
1260
+ args: any[];
1261
+ };
1262
+ };
1263
+ outputFormat: "json";
1264
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1265
+ };
1266
+ };
1267
+ } & {
1268
+ "/approveWrapperAsErc20Spender": {
1269
+ $post: {
1270
+ input: {
1271
+ json: {
1272
+ wrapperAddress: `0x${string}`;
1273
+ amount: bigint;
1274
+ erc20Address: `0x${string}`;
1275
+ };
1276
+ };
1277
+ output: {
1278
+ data: `0x${string}`;
1279
+ to: `0x${string}`;
1280
+ details: {
1281
+ functionName: string;
1282
+ address: `0x${string}`;
1283
+ abi: any[];
1284
+ args: any[];
1285
+ };
1286
+ };
1287
+ outputFormat: "json";
1288
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1289
+ };
1290
+ };
1291
+ } & {
1292
+ "/approveWrapperAsErc721Spender": {
1293
+ $post: {
1294
+ input: {
1295
+ json: {
1296
+ wrapperAddress: `0x${string}`;
1297
+ erc721Address: `0x${string}`;
1298
+ };
1299
+ };
1300
+ output: {
1301
+ data: `0x${string}`;
1302
+ to: `0x${string}`;
1303
+ details: {
1304
+ functionName: string;
1305
+ address: `0x${string}`;
1306
+ abi: any[];
1307
+ args: any[];
1308
+ };
1309
+ };
1310
+ outputFormat: "json";
1311
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1312
+ };
1313
+ };
1314
+ }, "/fractions">, "/v0/fractions">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
1315
+ "/": {
1316
+ $get: {
1317
+ input: {};
1318
+ output: ({
1319
+ name: string;
1320
+ value: `0x${string}`;
1321
+ } | {
1322
+ name: string;
1323
+ value: `0x${string}`;
1324
+ } | {
1325
+ name: string;
1326
+ value: `0x${string}`;
1327
+ } | {
1328
+ name: string;
1329
+ value: `0x${string}`;
1330
+ })[];
1331
+ outputFormat: "json";
1332
+ status: 200;
1333
+ };
1334
+ };
1335
+ } & {
1336
+ "/grant": {
1337
+ $post: {
1338
+ input: {
1339
+ json: {
1340
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1341
+ role: import("@evergonlabs/tmi-protocol-fractions-sdk").RoleTypeEnum;
1342
+ marketAddress: `0x${string}`;
1343
+ users: `0x${string}`[];
1344
+ };
1345
+ };
1346
+ output: {
1347
+ data: `0x${string}`;
1348
+ to: `0x${string}`;
1349
+ details: {
1350
+ functionName: string;
1351
+ address: `0x${string}`;
1352
+ abi: any[];
1353
+ args: any[];
1354
+ };
1355
+ };
1356
+ outputFormat: "json";
1357
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1358
+ };
1359
+ };
1360
+ }, "/roles">, "/v0/fractions">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
1361
+ "/fractions": {
1362
+ $post: {
1363
+ input: {
1364
+ json: {
1365
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1366
+ fractions: {
1367
+ symbol: string;
1368
+ name: string;
1369
+ amount: bigint;
1370
+ token?: `0x${string}` | undefined;
1371
+ };
1372
+ cap: {
1373
+ soft: bigint;
1374
+ hard: bigint;
1375
+ softPerAccount?: bigint | undefined;
1376
+ hardPerAccount?: bigint | undefined;
1377
+ };
1378
+ market: `0x${string}`;
1379
+ timeBoundary: {
1380
+ start: Date;
1381
+ end: Date;
1382
+ };
1383
+ wrapped: [{
1384
+ values: [bigint, ...bigint[]];
1385
+ type: "ERC20";
1386
+ address: `0x${string}`;
1387
+ } | {
1388
+ type: "ERC721";
1389
+ address: `0x${string}`;
1390
+ tokenIds: [bigint, ...bigint[]];
1391
+ } | {
1392
+ values: [bigint, ...bigint[]];
1393
+ type: "ERC1155";
1394
+ address: `0x${string}`;
1395
+ tokenIds: [bigint, ...bigint[]];
1396
+ }, ...({
1397
+ values: [bigint, ...bigint[]];
1398
+ type: "ERC20";
1399
+ address: `0x${string}`;
1400
+ } | {
1401
+ type: "ERC721";
1402
+ address: `0x${string}`;
1403
+ tokenIds: [bigint, ...bigint[]];
1404
+ } | {
1405
+ values: [bigint, ...bigint[]];
1406
+ type: "ERC1155";
1407
+ address: `0x${string}`;
1408
+ tokenIds: [bigint, ...bigint[]];
1409
+ })[]];
1410
+ funding: [{
1411
+ amountPerPacket: bigint;
1412
+ token: `0x${string}`;
1413
+ }, ...{
1414
+ amountPerPacket: bigint;
1415
+ token: `0x${string}`;
1416
+ }[]];
1417
+ refundAddress: `0x${string}`;
1418
+ amountOfPacketsPerFraction: bigint;
1419
+ discounts?: {
1420
+ burnableTokenAddress: `0x${string}`;
1421
+ amountToBurn: bigint;
1422
+ percentDiscount: number;
1423
+ } | undefined;
1424
+ vesting?: {
1425
+ totalVestingPeriod: number;
1426
+ portionPeriod: number;
1427
+ cliff: Date;
1428
+ } | undefined;
1429
+ };
1430
+ };
1431
+ output: {
1432
+ data: `0x${string}`;
1433
+ to: `0x${string}`;
1434
+ details: {
1435
+ functionName: string;
1436
+ address: `0x${string}`;
1437
+ abi: any[];
1438
+ args: any[];
1439
+ };
1440
+ };
1441
+ outputFormat: "json";
1442
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1443
+ };
1444
+ };
1445
+ } & {
1446
+ "/getFractionsCreatedEvent": {
1447
+ $get: {
1448
+ input: {
1449
+ query: {
1450
+ chainId: string | string[];
1451
+ hash: string | string[];
1452
+ };
1453
+ };
1454
+ output: {
1455
+ campaignId: string;
1456
+ creator: `0x${string}`;
1457
+ nftId: string;
1458
+ fractionsCreated: string;
1459
+ fractionsAddress: `0x${string}`;
1460
+ vaultAddress: `0x${string}` | undefined;
1461
+ };
1462
+ outputFormat: "json";
1463
+ status: 200;
1464
+ };
1465
+ };
1466
+ } & {
1467
+ "/approve": {
1468
+ $post: {
1469
+ input: {
1470
+ json: {
1471
+ campaignId: bigint;
1472
+ marketAddress: `0x${string}`;
1473
+ };
1474
+ };
1475
+ output: {
1476
+ data: `0x${string}`;
1477
+ to: `0x${string}`;
1478
+ details: {
1479
+ functionName: string;
1480
+ address: `0x${string}`;
1481
+ abi: any[];
1482
+ args: any[];
1483
+ };
1484
+ };
1485
+ outputFormat: "json";
1486
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1487
+ };
1488
+ };
1489
+ } & {
1490
+ "/reject": {
1491
+ $post: {
1492
+ input: {
1493
+ json: {
1494
+ saleId: bigint;
1495
+ marketAddress: `0x${string}`;
1496
+ };
1497
+ };
1498
+ output: {
1499
+ data: `0x${string}`;
1500
+ to: `0x${string}`;
1501
+ details: {
1502
+ functionName: string;
1503
+ address: `0x${string}`;
1504
+ abi: any[];
1505
+ args: any[];
1506
+ };
1507
+ };
1508
+ outputFormat: "json";
1509
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1510
+ } | {
1511
+ input: {
1512
+ json: {
1513
+ saleId: bigint;
1514
+ marketAddress: `0x${string}`;
1515
+ };
1516
+ };
1517
+ output: {
1518
+ error: string;
1519
+ };
1520
+ outputFormat: "json";
1521
+ status: 400;
1522
+ } | {
1523
+ input: {
1524
+ json: {
1525
+ saleId: bigint;
1526
+ marketAddress: `0x${string}`;
1527
+ };
1528
+ };
1529
+ output: {
1530
+ error: string;
1531
+ };
1532
+ outputFormat: "json";
1533
+ status: 500;
1534
+ };
1535
+ };
1536
+ } & {
1537
+ "/recover": {
1538
+ $post: {
1539
+ input: {
1540
+ json: {
1541
+ campaignId: bigint;
1542
+ amountOfFractions: bigint;
1543
+ marketAddress: `0x${string}`;
1544
+ lostAccount: `0x${string}`;
1545
+ recoveryAddress: `0x${string}`;
1546
+ fractionId: bigint;
1547
+ };
1548
+ };
1549
+ output: {
1550
+ data: `0x${string}`;
1551
+ to: `0x${string}`;
1552
+ details: {
1553
+ functionName: string;
1554
+ address: `0x${string}`;
1555
+ abi: any[];
1556
+ args: any[];
1557
+ };
1558
+ };
1559
+ outputFormat: "json";
1560
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1561
+ } | {
1562
+ input: {
1563
+ json: {
1564
+ campaignId: bigint;
1565
+ amountOfFractions: bigint;
1566
+ marketAddress: `0x${string}`;
1567
+ lostAccount: `0x${string}`;
1568
+ recoveryAddress: `0x${string}`;
1569
+ fractionId: bigint;
1570
+ };
1571
+ };
1572
+ output: {
1573
+ error: string;
1574
+ };
1575
+ outputFormat: "json";
1576
+ status: 400;
1577
+ } | {
1578
+ input: {
1579
+ json: {
1580
+ campaignId: bigint;
1581
+ amountOfFractions: bigint;
1582
+ marketAddress: `0x${string}`;
1583
+ lostAccount: `0x${string}`;
1584
+ recoveryAddress: `0x${string}`;
1585
+ fractionId: bigint;
1586
+ };
1587
+ };
1588
+ output: {
1589
+ error: string;
1590
+ };
1591
+ outputFormat: "json";
1592
+ status: 500;
1593
+ };
1594
+ };
1595
+ } & {
1596
+ "/complete": {
1597
+ $post: {
1598
+ input: {
1599
+ json: {
1600
+ campaignId: bigint;
1601
+ marketAddress: `0x${string}`;
1602
+ };
1603
+ };
1604
+ output: {
1605
+ data: `0x${string}`;
1606
+ to: `0x${string}`;
1607
+ details: {
1608
+ functionName: string;
1609
+ address: `0x${string}`;
1610
+ abi: any[];
1611
+ args: any[];
1612
+ };
1613
+ };
1614
+ outputFormat: "json";
1615
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1616
+ };
1617
+ };
1618
+ } & {
1619
+ "/unlockWrappedAssets": {
1620
+ $post: {
1621
+ input: {
1622
+ json: {
1623
+ campaignId: bigint;
1624
+ market: `0x${string}`;
1625
+ };
1626
+ };
1627
+ output: {
1628
+ data: `0x${string}`;
1629
+ to: `0x${string}`;
1630
+ details: {
1631
+ functionName: string;
1632
+ address: `0x${string}`;
1633
+ abi: any[];
1634
+ args: any[];
1635
+ };
1636
+ };
1637
+ outputFormat: "json";
1638
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1639
+ };
1640
+ };
1641
+ } & {
1642
+ "/purchase": {
1643
+ $post: {
1644
+ input: {
1645
+ json: {
1646
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1647
+ campaignId: bigint;
1648
+ market: `0x${string}`;
1649
+ amountToBuy: bigint;
1650
+ applyDiscount: boolean;
1651
+ };
1652
+ };
1653
+ output: {
1654
+ data: `0x${string}`;
1655
+ to: `0x${string}`;
1656
+ details: {
1657
+ functionName: string;
1658
+ address: `0x${string}`;
1659
+ abi: any[];
1660
+ args: any[];
1661
+ };
1662
+ };
1663
+ outputFormat: "json";
1664
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1665
+ };
1666
+ };
1667
+ } & {
1668
+ "/withdraw/search": {
1669
+ $post: {
1670
+ input: {
1671
+ json: {
1672
+ filter: {
1673
+ chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
1674
+ platform?: `0x${string}` | undefined;
1675
+ campaignId?: string | number | bigint | undefined;
1676
+ };
1677
+ page: {
1678
+ skip: number;
1679
+ limit: number;
1680
+ };
1681
+ };
1682
+ };
1683
+ output: never;
1684
+ outputFormat: "json";
1685
+ status: 200;
1686
+ };
1687
+ };
1688
+ } & {
1689
+ "/withdrawPaymentToken": {
1690
+ $post: {
1691
+ input: {
1692
+ json: {
1693
+ campaignId: bigint;
1694
+ market: `0x${string}`;
1695
+ };
1696
+ };
1697
+ output: {
1698
+ data: `0x${string}`;
1699
+ to: `0x${string}`;
1700
+ details: {
1701
+ functionName: string;
1702
+ address: `0x${string}`;
1703
+ abi: any[];
1704
+ args: any[];
1705
+ };
1706
+ };
1707
+ outputFormat: "json";
1708
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1709
+ };
1710
+ };
1711
+ } & {
1712
+ "/receiveFundsAfterNonFunded": {
1713
+ $post: {
1714
+ input: {
1715
+ json: {
1716
+ campaignId: bigint;
1717
+ amountOfFractions: bigint;
1718
+ market: `0x${string}`;
1719
+ isDiscounted: boolean;
1720
+ upperGenesisId?: bigint | undefined;
1721
+ };
1722
+ };
1723
+ output: {
1724
+ data: `0x${string}`;
1725
+ to: `0x${string}`;
1726
+ details: {
1727
+ functionName: string;
1728
+ address: `0x${string}`;
1729
+ abi: any[];
1730
+ args: any[];
1731
+ };
1732
+ };
1733
+ outputFormat: "json";
1734
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1735
+ };
1736
+ };
1737
+ } & {
1738
+ "/checkAndJumpToNonFunded": {
1739
+ $post: {
1740
+ input: {
1741
+ json: {
1742
+ campaignId: bigint;
1743
+ market: `0x${string}`;
1744
+ };
1745
+ };
1746
+ output: {
1747
+ data: `0x${string}`;
1748
+ to: `0x${string}`;
1749
+ details: {
1750
+ functionName: string;
1751
+ address: `0x${string}`;
1752
+ abi: any[];
1753
+ args: any[];
1754
+ };
1755
+ };
1756
+ outputFormat: "json";
1757
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1758
+ };
1759
+ };
1760
+ } & {
1761
+ "/receiveNonPurchasedWrappedAssets": {
1762
+ $post: {
1763
+ input: {
1764
+ json: {
1765
+ campaignId: bigint;
1766
+ market: `0x${string}`;
1767
+ };
1768
+ };
1769
+ output: {
1770
+ data: `0x${string}`;
1771
+ to: `0x${string}`;
1772
+ details: {
1773
+ functionName: string;
1774
+ address: `0x${string}`;
1775
+ abi: any[];
1776
+ args: any[];
1777
+ };
1778
+ };
1779
+ outputFormat: "json";
1780
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1781
+ };
1782
+ };
1783
+ } & {
1784
+ "/vesting/editCliff": {
1785
+ $post: {
1786
+ input: {
1787
+ json: {
1788
+ saleId: bigint;
1789
+ marketAddress: `0x${string}`;
1790
+ newCliffDate: Date;
1791
+ };
1792
+ };
1793
+ output: {
1794
+ data: `0x${string}`;
1795
+ to: `0x${string}`;
1796
+ details: {
1797
+ functionName: string;
1798
+ address: `0x${string}`;
1799
+ abi: any[];
1800
+ args: any[];
1801
+ };
1802
+ };
1803
+ outputFormat: "json";
1804
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1805
+ } | {
1806
+ input: {
1807
+ json: {
1808
+ saleId: bigint;
1809
+ marketAddress: `0x${string}`;
1810
+ newCliffDate: Date;
1811
+ };
1812
+ };
1813
+ output: {
1814
+ error: string;
1815
+ };
1816
+ outputFormat: "json";
1817
+ status: 400;
1818
+ } | {
1819
+ input: {
1820
+ json: {
1821
+ saleId: bigint;
1822
+ marketAddress: `0x${string}`;
1823
+ newCliffDate: Date;
1824
+ };
1825
+ };
1826
+ output: {
1827
+ error: string;
1828
+ };
1829
+ outputFormat: "json";
1830
+ status: 500;
1831
+ };
1832
+ };
1833
+ } & {
1834
+ "/vesting/claim": {
1835
+ $post: {
1836
+ input: {
1837
+ json: {
1838
+ address: `0x${string}`;
1839
+ campaignId: bigint;
1840
+ amountOfFractions: bigint;
1841
+ itToBurn: bigint;
1842
+ };
1843
+ };
1844
+ output: {
1845
+ data: `0x${string}`;
1846
+ to: `0x${string}`;
1847
+ details: {
1848
+ functionName: string;
1849
+ address: `0x${string}`;
1850
+ abi: any[];
1851
+ args: any[];
1852
+ };
1853
+ };
1854
+ outputFormat: "json";
1855
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1856
+ } | {
1857
+ input: {
1858
+ json: {
1859
+ address: `0x${string}`;
1860
+ campaignId: bigint;
1861
+ amountOfFractions: bigint;
1862
+ itToBurn: bigint;
1863
+ };
1864
+ };
1865
+ output: {
1866
+ error: string;
1867
+ };
1868
+ outputFormat: "json";
1869
+ status: 400;
1870
+ } | {
1871
+ input: {
1872
+ json: {
1873
+ address: `0x${string}`;
1874
+ campaignId: bigint;
1875
+ amountOfFractions: bigint;
1876
+ itToBurn: bigint;
1877
+ };
1878
+ };
1879
+ output: {
1880
+ error: string;
1881
+ };
1882
+ outputFormat: "json";
1883
+ status: 500;
1884
+ };
1885
+ };
1886
+ } & {
1887
+ "/vesting/getClaimVestedTokensEvent": {
1888
+ $get: {
1889
+ input: {
1890
+ query: {
1891
+ chainId: string | string[];
1892
+ hash: string | string[];
1893
+ };
1894
+ };
1895
+ output: {
1896
+ campaignId: string;
1897
+ receiver: `0x${string}`;
1898
+ burnId: string;
1899
+ nextBurnId: string | null;
1900
+ amountOfFractionsBurnt: string;
1901
+ };
1902
+ outputFormat: "json";
1903
+ status: 200;
1904
+ };
1905
+ };
1906
+ } & {
1907
+ "/search": {
1908
+ $post: {
1909
+ input: {
1910
+ json: {
1911
+ filter: {
1912
+ chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
1913
+ platform?: `0x${string}` | undefined;
1914
+ campaignId?: string | number | bigint | undefined;
1915
+ owner?: `0x${string}` | undefined;
1916
+ };
1917
+ page: {
1918
+ skip: number;
1919
+ limit: number;
1920
+ };
1921
+ };
1922
+ };
1923
+ output: {
1924
+ status: "created" | "approved" | "rejected" | "finalized" | "refunded";
1925
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1926
+ platform: `0x${string}`;
1927
+ campaignId: number;
1928
+ createdAt: string;
1929
+ updatedAt: string;
1930
+ transactionHash: `0x${string}`;
1931
+ nftId: number;
1932
+ fractions: {
1933
+ asset: {
1934
+ symbol: string;
1935
+ type: string;
1936
+ name: string;
1937
+ address: `0x${string}`;
1938
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1939
+ tokenId: string | null;
1940
+ decimals: number;
1941
+ burnable: boolean;
1942
+ };
1943
+ totalFractions: string;
1944
+ price: string;
1945
+ };
1946
+ owner: `0x${string}`;
1947
+ vesting: {
1948
+ cliffDate: string;
1949
+ totalVestingPeriod: number;
1950
+ portionPeriod: number;
1951
+ } | null;
1952
+ capitalization: {
1953
+ softCap: string;
1954
+ hardCap: string;
1955
+ softCapPerAccount: string;
1956
+ hardCapPerAccount: string;
1957
+ } | null;
1958
+ timeline: {
1959
+ startDate: string;
1960
+ endDate: string;
1961
+ } | null;
1962
+ wrappedAssets: {
1963
+ asset: {
1964
+ symbol: string;
1965
+ type: string;
1966
+ name: string;
1967
+ address: `0x${string}`;
1968
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1969
+ tokenId: string | null;
1970
+ decimals: number;
1971
+ burnable: boolean;
1972
+ };
1973
+ wrappedAmount: never;
1974
+ }[];
1975
+ fundingAssets: {
1976
+ asset: {
1977
+ symbol: string;
1978
+ type: string;
1979
+ name: string;
1980
+ address: `0x${string}`;
1981
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1982
+ tokenId: string | null;
1983
+ decimals: number;
1984
+ burnable: boolean;
1985
+ };
1986
+ amountPerPacket: never;
1987
+ }[];
1988
+ }[];
1989
+ outputFormat: "json";
1990
+ status: 200;
1991
+ };
1992
+ };
1993
+ } & {
1994
+ "/activity": {
1995
+ $post: {
1996
+ input: {
1997
+ json: {
1998
+ filter: {
1999
+ chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
2000
+ platform?: `0x${string}` | undefined;
2001
+ campaignId?: string | number | bigint | undefined;
2002
+ operationType?: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum | undefined;
2003
+ };
2004
+ page: {
2005
+ skip: number;
2006
+ limit: number;
2007
+ };
2008
+ };
2009
+ };
2010
+ output: {
2011
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
2012
+ platform: `0x${string}`;
2013
+ campaignId: string;
2014
+ createdAt: string;
2015
+ updatedAt: string;
2016
+ transactionHash: `0x${string}`;
2017
+ from: `0x${string}`;
2018
+ metadata: {
2019
+ type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.CREATED;
2020
+ } | {
2021
+ status: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleStatusEnum;
2022
+ type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.STATUS_UPDATE;
2023
+ } | {
2024
+ type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.PURCHASE;
2025
+ amountOfFractions: string;
2026
+ priceId: string;
2027
+ purchaser: string;
2028
+ } | {
2029
+ type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.CLAIM;
2030
+ receiver: string;
2031
+ semiFungibleBurntId: string;
2032
+ amountOfFractionsBurnt: string;
2033
+ } | {
2034
+ type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.REFUND;
2035
+ amount: string;
2036
+ } | {
2037
+ type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.WITHDRAW;
2038
+ amount: string;
2039
+ } | {
2040
+ type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.WITHDRAW_NON_WRAPPED;
2041
+ amount: string;
2042
+ };
2043
+ }[];
2044
+ outputFormat: "json";
2045
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2046
+ };
2047
+ };
2048
+ } & {
2049
+ "/statistics": {
2050
+ $post: {
2051
+ input: {
2052
+ json: {
2053
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
2054
+ platform: `0x${string}`;
2055
+ campaignId: string | number | bigint;
2056
+ };
2057
+ };
2058
+ output: {
2059
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
2060
+ platform: `0x${string}`;
2061
+ campaignId: string;
2062
+ statistics: {
2063
+ priceId: string;
2064
+ purchases: number;
2065
+ fractionsSold: string;
2066
+ }[];
2067
+ };
2068
+ outputFormat: "json";
2069
+ status: 200;
2070
+ };
2071
+ };
2072
+ } & {
2073
+ "/setFeeCapLimit": {
2074
+ $post: {
2075
+ input: {
2076
+ json: {
2077
+ campaignId: bigint;
2078
+ marketAddress: `0x${string}`;
2079
+ packetsLimit: bigint;
2080
+ };
2081
+ };
2082
+ output: {
2083
+ data: `0x${string}`;
2084
+ to: `0x${string}`;
2085
+ details: {
2086
+ functionName: string;
2087
+ address: `0x${string}`;
2088
+ abi: any[];
2089
+ args: any[];
2090
+ };
2091
+ };
2092
+ outputFormat: "json";
2093
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2094
+ };
2095
+ };
2096
+ } & {
2097
+ "/getWithdrawEvent": {
2098
+ $get: {
2099
+ input: {
2100
+ query: {
2101
+ chainId: string | string[];
2102
+ hash: string | string[];
2103
+ };
2104
+ };
2105
+ output: {
2106
+ campaignId: string;
2107
+ receiver: `0x${string}`;
2108
+ packetsReceived: string;
2109
+ };
2110
+ outputFormat: "json";
2111
+ status: 200;
2112
+ };
2113
+ };
2114
+ } & {
2115
+ "/getVaultAddress": {
2116
+ $get: {
2117
+ input: {
2118
+ query: {
2119
+ chainId: string | string[];
2120
+ platform: string | string[];
2121
+ campaign: string | string[];
2122
+ };
2123
+ };
2124
+ output: {
2125
+ error: string;
2126
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
2127
+ market: `0x${string}`;
2128
+ };
2129
+ outputFormat: "json";
2130
+ status: 404;
2131
+ } | {
2132
+ input: {
2133
+ query: {
2134
+ chainId: string | string[];
2135
+ platform: string | string[];
2136
+ campaign: string | string[];
2137
+ };
2138
+ };
2139
+ output: {
2140
+ vaultAddress: `0x${string}`;
2141
+ };
2142
+ outputFormat: "json";
2143
+ status: 200;
2144
+ };
2145
+ };
2146
+ }, "/sales">, "/v0/fractions">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
2147
+ "/nonce": {
2148
+ $post: {
2149
+ input: {
2150
+ json: {
2151
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
2152
+ userAddress: `0x${string}`;
2153
+ marketAddress: `0x${string}`;
2154
+ };
2155
+ };
2156
+ output: {
2157
+ nonce: string;
2158
+ };
2159
+ outputFormat: "json";
2160
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2161
+ };
2162
+ };
2163
+ } & {
2164
+ "/authData": {
2165
+ $post: {
2166
+ input: {
2167
+ json: {
2168
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
2169
+ nonce: bigint;
2170
+ blockExpiration: bigint;
2171
+ userAddress: `0x${string}`;
2172
+ marketAddress: `0x${string}`;
2173
+ callData: `0x${string}`;
2174
+ };
2175
+ };
2176
+ output: {
2177
+ messageToSign: `0x${string}`;
2178
+ blockExpiration: `0x${string}`;
2179
+ };
2180
+ outputFormat: "json";
2181
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2182
+ };
2183
+ };
2184
+ }, "/sig">, "/v0/fractions">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
2185
+ "/estimateGas": {
2186
+ $post: {
2187
+ input: {
2188
+ json: {
2189
+ data: `0x${string}`;
2190
+ to: `0x${string}`;
2191
+ chainId: "11155111" | "31337";
2192
+ from: `0x${string}`;
2193
+ };
2194
+ };
2195
+ output: {
2196
+ readonly success: true;
2197
+ readonly value: string;
2198
+ };
2199
+ outputFormat: "json";
2200
+ status: 200;
2201
+ };
2202
+ };
2203
+ } & {
2204
+ "/balance": {
2205
+ $get: {
2206
+ input: {
2207
+ query: {
2208
+ address: string | string[];
2209
+ chainId: string | string[];
2210
+ contract: string | string[];
2211
+ };
2212
+ };
2213
+ output: {
2214
+ address: `0x${string}`;
2215
+ balance: string;
2216
+ };
2217
+ outputFormat: "json";
2218
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2219
+ };
2220
+ };
2221
+ } & {
2222
+ "/balances": {
2223
+ $post: {
2224
+ input: {
2225
+ json: {
2226
+ address: `0x${string}`;
2227
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
2228
+ contracts: `0x${string}`[];
2229
+ };
2230
+ };
2231
+ output: {
2232
+ quantityIn: string;
2233
+ quantityOut: string;
2234
+ name: string | null;
2235
+ symbol: string | null;
2236
+ decimals: string | null;
2237
+ address: string;
2238
+ totalBalance: string;
2239
+ }[];
2240
+ outputFormat: "json";
2241
+ status: 200;
2242
+ };
2243
+ };
2244
+ } & {
2245
+ "/searchBalances": {
2246
+ $post: {
2247
+ input: {
2248
+ json: {
2249
+ address: `0x${string}`;
2250
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
2251
+ page?: number | undefined;
2252
+ perPage?: number | undefined;
2253
+ };
2254
+ };
2255
+ output: {
2256
+ balances: {
2257
+ tokenAddress: `0x${string}`;
2258
+ balance: never;
2259
+ decimals: number | undefined;
2260
+ symbol: string;
2261
+ name: string;
2262
+ tokenId: undefined;
2263
+ type: "ERC-20" | "ERC-721" | "ERC-1155";
2264
+ }[];
2265
+ totalItems: number;
2266
+ totalPages: number;
2267
+ pageNumber: number;
2268
+ };
2269
+ outputFormat: "json";
2270
+ status: 200;
2271
+ };
2272
+ };
2273
+ }, "/general">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
2274
+ "/erc20": {
2275
+ $get: {
2276
+ input: {};
2277
+ output: {
2278
+ abi: any[];
2279
+ bytecode: `0x${string}`;
2280
+ };
2281
+ outputFormat: "json";
2282
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2283
+ };
2284
+ };
2285
+ } & {
2286
+ "/erc20/mint": {
2287
+ $post: {
2288
+ input: {
2289
+ json: {
2290
+ tokenAddress: `0x${string}`;
2291
+ amount: bigint;
2292
+ mintTo: `0x${string}`;
2293
+ };
2294
+ };
2295
+ output: {
2296
+ data: `0x${string}`;
2297
+ to: `0x${string}`;
2298
+ details: {
2299
+ functionName: string;
2300
+ address: `0x${string}`;
2301
+ abi: any[];
2302
+ args: any[];
2303
+ };
2304
+ };
2305
+ outputFormat: "json";
2306
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2307
+ };
2308
+ };
2309
+ } & {
2310
+ "/erc20/burn": {
2311
+ $post: {
2312
+ input: {
2313
+ json: {
2314
+ tokenAddress: `0x${string}`;
2315
+ amount: bigint;
2316
+ burnFrom: `0x${string}`;
2317
+ };
2318
+ };
2319
+ output: {
2320
+ data: `0x${string}`;
2321
+ to: `0x${string}`;
2322
+ details: {
2323
+ functionName: string;
2324
+ address: `0x${string}`;
2325
+ abi: any[];
2326
+ args: any[];
2327
+ };
2328
+ };
2329
+ outputFormat: "json";
2330
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2331
+ };
2332
+ };
2333
+ } & {
2334
+ "/erc20/approve": {
2335
+ $post: {
2336
+ input: {
2337
+ json: {
2338
+ tokenAddress: `0x${string}`;
2339
+ amount: bigint;
2340
+ spender: `0x${string}`;
2341
+ };
2342
+ };
2343
+ output: {
2344
+ data: `0x${string}`;
2345
+ to: `0x${string}`;
2346
+ details: {
2347
+ functionName: string;
2348
+ address: `0x${string}`;
2349
+ abi: any[];
2350
+ args: any[];
2351
+ };
2352
+ };
2353
+ outputFormat: "json";
2354
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2355
+ };
2356
+ };
2357
+ } & {
2358
+ "/erc20/transfer": {
2359
+ $post: {
2360
+ input: {
2361
+ json: {
2362
+ to: `0x${string}`;
2363
+ tokenAddress: `0x${string}`;
2364
+ amount: bigint;
2365
+ };
2366
+ };
2367
+ output: {
2368
+ data: `0x${string}`;
2369
+ to: `0x${string}`;
2370
+ details: {
2371
+ functionName: string;
2372
+ address: `0x${string}`;
2373
+ abi: any[];
2374
+ args: any[];
2375
+ };
2376
+ };
2377
+ outputFormat: "json";
2378
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2379
+ };
2380
+ };
2381
+ } & {
2382
+ "/erc20/proxy": {
2383
+ $post: {
2384
+ input: {
2385
+ json: {
2386
+ cap: bigint;
2387
+ erc20Address: `0x${string}`;
2388
+ defaultAdmin: `0x${string}`;
2389
+ minter: `0x${string}`;
2390
+ tokenName: string;
2391
+ tokenSymbol: string;
2392
+ };
2393
+ };
2394
+ output: {
2395
+ abi: any[];
2396
+ args: any[];
2397
+ bytecode: `0x${string}`;
2398
+ };
2399
+ outputFormat: "json";
2400
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2401
+ };
2402
+ };
2403
+ } & {
2404
+ "/erc20/grantRole": {
2405
+ $post: {
2406
+ input: {
2407
+ json: {
2408
+ address: `0x${string}`;
2409
+ role: import("./common/roles/erc20-gated-roles.js").Erc20GatedRole;
2410
+ tokenAddress: `0x${string}`;
2411
+ };
2412
+ };
2413
+ output: {
2414
+ data: `0x${string}`;
2415
+ to: `0x${string}`;
2416
+ details: {
2417
+ functionName: string;
2418
+ address: `0x${string}`;
2419
+ abi: any[];
2420
+ args: any[];
2421
+ };
2422
+ };
2423
+ outputFormat: "json";
2424
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2425
+ };
2426
+ };
2427
+ } & {
2428
+ "/erc20/renounceRole": {
2429
+ $post: {
2430
+ input: {
2431
+ json: {
2432
+ address: `0x${string}`;
2433
+ role: import("./common/roles/erc20-gated-roles.js").Erc20GatedRole;
2434
+ tokenAddress: `0x${string}`;
2435
+ };
2436
+ };
2437
+ output: {
2438
+ data: `0x${string}`;
2439
+ to: `0x${string}`;
2440
+ details: {
2441
+ functionName: string;
2442
+ address: `0x${string}`;
2443
+ abi: any[];
2444
+ args: any[];
2445
+ };
2446
+ };
2447
+ outputFormat: "json";
2448
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2449
+ };
2450
+ };
2451
+ }, "/issuance">, "/">, "/">;
2452
+ export type IApp = ReturnType<typeof getApp>;
2453
+ export declare const appConfig: {
2454
+ title: string;
2455
+ description: string;
2456
+ };
2457
+ //# sourceMappingURL=app.d.ts.map