@evergonlabs/tmi-protocol-api 0.1.3 → 0.1.4

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 (500) hide show
  1. package/dist/app.d.ts +16 -0
  2. package/dist/app.d.ts.map +1 -1
  3. package/dist/client.d.ts +26 -0
  4. package/dist/client.d.ts.map +1 -1
  5. package/dist/common/abis/erc20Whitelisted.d.ts +14 -7
  6. package/dist/common/abis/erc20Whitelisted.d.ts.map +1 -1
  7. package/dist/common/abis/erc20Whitelisted.js +8 -3
  8. package/dist/common/indexer/client.d.ts +140 -0
  9. package/dist/common/indexer/client.d.ts.map +1 -1
  10. package/dist/common/indexer/index.d.ts +140 -0
  11. package/dist/common/indexer/index.d.ts.map +1 -1
  12. package/dist/common/indexer/schemas.d.ts +70 -0
  13. package/dist/common/indexer/schemas.d.ts.map +1 -1
  14. package/dist/fractions/activity/searchActivity.route.d.ts.map +1 -1
  15. package/dist/fractions/activity/searchActivity.route.js +1 -3
  16. package/dist/fractions/index.d.ts +16 -0
  17. package/dist/fractions/index.d.ts.map +1 -1
  18. package/dist/fractions/index.js +2 -0
  19. package/dist/fractions/sales/searchActivity.route.js +2 -2
  20. package/dist/{src/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts → fractions/sales/searchClaim.route.d.ts} +14 -15
  21. package/dist/fractions/sales/searchClaim.route.d.ts.map +1 -0
  22. package/dist/fractions/sales/searchClaim.route.js +47 -0
  23. package/dist/fractions/sales/searchPurchase.route.d.ts +120 -0
  24. package/dist/fractions/sales/searchPurchase.route.d.ts.map +1 -0
  25. package/dist/fractions/sales/searchPurchase.route.js +70 -0
  26. package/dist/fractions/sales/searchSaleEvents/v0/searchSaleEvents.js +6 -6
  27. package/dist/fractions/sales/vesting/v0/claimStatistics.route.d.ts +92 -0
  28. package/dist/fractions/sales/vesting/v0/claimStatistics.route.d.ts.map +1 -0
  29. package/dist/fractions/sales/vesting/v0/claimStatistics.route.js +89 -0
  30. package/dist/general/balanceClient.d.ts.map +1 -1
  31. package/dist/general/balanceClient.js +7 -1
  32. package/package.json +7 -7
  33. package/dist/package.json +0 -78
  34. package/dist/src/app.d.ts +0 -2194
  35. package/dist/src/app.d.ts.map +0 -1
  36. package/dist/src/app.js +0 -18
  37. package/dist/src/client.d.ts +0 -2690
  38. package/dist/src/client.d.ts.map +0 -1
  39. package/dist/src/client.js +0 -4
  40. package/dist/src/common/abis/erc20Whitelisted.d.ts +0 -4
  41. package/dist/src/common/abis/erc20Whitelisted.d.ts.map +0 -1
  42. package/dist/src/common/abis/erc20Whitelisted.js +0 -4
  43. package/dist/src/common/app.d.ts +0 -9
  44. package/dist/src/common/app.d.ts.map +0 -1
  45. package/dist/src/common/app.js +0 -3
  46. package/dist/src/common/blockchain.d.ts +0 -9528
  47. package/dist/src/common/blockchain.d.ts.map +0 -1
  48. package/dist/src/common/blockchain.js +0 -40
  49. package/dist/src/common/config.d.ts +0 -21
  50. package/dist/src/common/config.d.ts.map +0 -1
  51. package/dist/src/common/config.js +0 -33
  52. package/dist/src/common/http-error.d.ts +0 -7
  53. package/dist/src/common/http-error.d.ts.map +0 -1
  54. package/dist/src/common/http-error.js +0 -7
  55. package/dist/src/common/index.d.ts +0 -2
  56. package/dist/src/common/index.d.ts.map +0 -1
  57. package/dist/src/common/index.js +0 -1
  58. package/dist/src/common/indexer/client.d.ts +0 -1191
  59. package/dist/src/common/indexer/client.d.ts.map +0 -1
  60. package/dist/src/common/indexer/client.js +0 -7
  61. package/dist/src/common/indexer/index.d.ts +0 -1191
  62. package/dist/src/common/indexer/index.d.ts.map +0 -1
  63. package/dist/src/common/indexer/index.js +0 -3
  64. package/dist/src/common/indexer/schemas.d.ts +0 -1191
  65. package/dist/src/common/indexer/schemas.d.ts.map +0 -1
  66. package/dist/src/common/indexer/schemas.js +0 -14
  67. package/dist/src/common/models/chainId.d.ts +0 -5
  68. package/dist/src/common/models/chainId.d.ts.map +0 -1
  69. package/dist/src/common/models/chainId.js +0 -23
  70. package/dist/src/common/models/date.d.ts +0 -3
  71. package/dist/src/common/models/date.d.ts.map +0 -1
  72. package/dist/src/common/models/date.js +0 -5
  73. package/dist/src/common/models/erc721.d.ts +0 -15
  74. package/dist/src/common/models/erc721.d.ts.map +0 -1
  75. package/dist/src/common/models/erc721.js +0 -21
  76. package/dist/src/common/models/index.d.ts +0 -7
  77. package/dist/src/common/models/index.d.ts.map +0 -1
  78. package/dist/src/common/models/index.js +0 -6
  79. package/dist/src/common/models/page.d.ts +0 -12
  80. package/dist/src/common/models/page.d.ts.map +0 -1
  81. package/dist/src/common/models/page.js +0 -15
  82. package/dist/src/common/models/percent.d.ts +0 -3
  83. package/dist/src/common/models/percent.d.ts.map +0 -1
  84. package/dist/src/common/models/percent.js +0 -6
  85. package/dist/src/common/models/platform.d.ts +0 -4
  86. package/dist/src/common/models/platform.d.ts.map +0 -1
  87. package/dist/src/common/models/platform.js +0 -13
  88. package/dist/src/common/models/routes.d.ts +0 -16
  89. package/dist/src/common/models/routes.d.ts.map +0 -1
  90. package/dist/src/common/models/routes.js +0 -13
  91. package/dist/src/common/models/saleId.d.ts +0 -12
  92. package/dist/src/common/models/saleId.d.ts.map +0 -1
  93. package/dist/src/common/models/saleId.js +0 -6
  94. package/dist/src/common/models/transaction.d.ts +0 -90
  95. package/dist/src/common/models/transaction.d.ts.map +0 -1
  96. package/dist/src/common/models/transaction.js +0 -57
  97. package/dist/src/common/models/viem.d.ts +0 -4
  98. package/dist/src/common/models/viem.d.ts.map +0 -1
  99. package/dist/src/common/models/viem.js +0 -15
  100. package/dist/src/common/openapi.d.ts +0 -4
  101. package/dist/src/common/openapi.d.ts.map +0 -1
  102. package/dist/src/common/openapi.js +0 -40
  103. package/dist/src/common/tag.d.ts +0 -7
  104. package/dist/src/common/tag.d.ts.map +0 -1
  105. package/dist/src/common/tag.js +0 -5
  106. package/dist/src/common/version.d.ts +0 -2
  107. package/dist/src/common/version.d.ts.map +0 -1
  108. package/dist/src/common/version.js +0 -2
  109. package/dist/src/common/zod.d.ts +0 -3
  110. package/dist/src/common/zod.d.ts.map +0 -1
  111. package/dist/src/common/zod.js +0 -2
  112. package/dist/src/error.d.ts +0 -3
  113. package/dist/src/error.d.ts.map +0 -1
  114. package/dist/src/error.js +0 -16
  115. package/dist/src/fractions/approveSale/v0/approveSale.route.d.ts +0 -68
  116. package/dist/src/fractions/approveSale/v0/approveSale.route.d.ts.map +0 -1
  117. package/dist/src/fractions/approveSale/v0/approveSale.route.js +0 -31
  118. package/dist/src/fractions/approveWrapper/v0/approveWrapper.route.d.ts +0 -203
  119. package/dist/src/fractions/approveWrapper/v0/approveWrapper.route.d.ts.map +0 -1
  120. package/dist/src/fractions/approveWrapper/v0/approveWrapper.route.js +0 -84
  121. package/dist/src/fractions/completeSale/v0/completeSale.route.d.ts +0 -68
  122. package/dist/src/fractions/completeSale/v0/completeSale.route.d.ts.map +0 -1
  123. package/dist/src/fractions/completeSale/v0/completeSale.route.js +0 -31
  124. package/dist/src/fractions/createFractions/v0/createFractions.route.d.ts +0 -305
  125. package/dist/src/fractions/createFractions/v0/createFractions.route.d.ts.map +0 -1
  126. package/dist/src/fractions/createFractions/v0/createFractions.route.js +0 -61
  127. package/dist/src/fractions/createFractions/v0/createFractions.schema.d.ts +0 -416
  128. package/dist/src/fractions/createFractions/v0/createFractions.schema.d.ts.map +0 -1
  129. package/dist/src/fractions/createFractions/v0/createFractions.schema.js +0 -67
  130. package/dist/src/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts +0 -51
  131. package/dist/src/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts.map +0 -1
  132. package/dist/src/fractions/createFractions/v0/parseFractionsCreatedEvent.js +0 -59
  133. package/dist/src/fractions/deployMarket/v0/deployMarket.routes.d.ts +0 -297
  134. package/dist/src/fractions/deployMarket/v0/deployMarket.routes.d.ts.map +0 -1
  135. package/dist/src/fractions/deployMarket/v0/deployMarket.routes.js +0 -98
  136. package/dist/src/fractions/deployMarket/v0/deployMarket.schema.d.ts +0 -96
  137. package/dist/src/fractions/deployMarket/v0/deployMarket.schema.d.ts.map +0 -1
  138. package/dist/src/fractions/deployMarket/v0/deployMarket.schema.js +0 -21
  139. package/dist/src/fractions/gating/index.d.ts +0 -2
  140. package/dist/src/fractions/gating/index.d.ts.map +0 -1
  141. package/dist/src/fractions/gating/index.js +0 -0
  142. package/dist/src/fractions/gating/v0/getAuthData.d.ts +0 -86
  143. package/dist/src/fractions/gating/v0/getAuthData.d.ts.map +0 -1
  144. package/dist/src/fractions/gating/v0/getAuthData.js +0 -48
  145. package/dist/src/fractions/gating/v0/getNonce.route.d.ts +0 -54
  146. package/dist/src/fractions/gating/v0/getNonce.route.d.ts.map +0 -1
  147. package/dist/src/fractions/gating/v0/getNonce.route.js +0 -40
  148. package/dist/src/fractions/grantRole/v0/grantRole.route.d.ts +0 -65
  149. package/dist/src/fractions/grantRole/v0/grantRole.route.d.ts.map +0 -1
  150. package/dist/src/fractions/grantRole/v0/grantRole.route.js +0 -31
  151. package/dist/src/fractions/grantRole/v0/grantRole.schema.d.ts +0 -26
  152. package/dist/src/fractions/grantRole/v0/grantRole.schema.d.ts.map +0 -1
  153. package/dist/src/fractions/grantRole/v0/grantRole.schema.js +0 -14
  154. package/dist/src/fractions/index.d.ts +0 -968
  155. package/dist/src/fractions/index.d.ts.map +0 -1
  156. package/dist/src/fractions/index.js +0 -91
  157. package/dist/src/fractions/markets/common/platform.d.ts +0 -26
  158. package/dist/src/fractions/markets/common/platform.d.ts.map +0 -1
  159. package/dist/src/fractions/markets/common/platform.js +0 -26
  160. package/dist/src/fractions/markets/getDeployEvent.d.ts +0 -42
  161. package/dist/src/fractions/markets/getDeployEvent.d.ts.map +0 -1
  162. package/dist/src/fractions/markets/getDeployEvent.js +0 -47
  163. package/dist/src/fractions/markets/getMarket/index.d.ts +0 -40
  164. package/dist/src/fractions/markets/getMarket/index.d.ts.map +0 -1
  165. package/dist/src/fractions/markets/getMarket/index.js +0 -4
  166. package/dist/src/fractions/markets/getMarket/v0/getMarket.d.ts +0 -64
  167. package/dist/src/fractions/markets/getMarket/v0/getMarket.d.ts.map +0 -1
  168. package/dist/src/fractions/markets/getMarket/v0/getMarket.js +0 -63
  169. package/dist/src/fractions/markets/index.d.ts +0 -84
  170. package/dist/src/fractions/markets/index.d.ts.map +0 -1
  171. package/dist/src/fractions/markets/index.js +0 -12
  172. package/dist/src/fractions/markets/searchMarkets/index.d.ts +0 -32
  173. package/dist/src/fractions/markets/searchMarkets/index.d.ts.map +0 -1
  174. package/dist/src/fractions/markets/searchMarkets/index.js +0 -4
  175. package/dist/src/fractions/markets/searchMarkets/v0/searchMarkets.d.ts +0 -76
  176. package/dist/src/fractions/markets/searchMarkets/v0/searchMarkets.d.ts.map +0 -1
  177. package/dist/src/fractions/markets/searchMarkets/v0/searchMarkets.js +0 -42
  178. package/dist/src/fractions/purchase/v0/purchase.route.d.ts +0 -89
  179. package/dist/src/fractions/purchase/v0/purchase.route.d.ts.map +0 -1
  180. package/dist/src/fractions/purchase/v0/purchase.route.js +0 -41
  181. package/dist/src/fractions/roles/getRoles/v0/getRoles.d.ts +0 -28
  182. package/dist/src/fractions/roles/getRoles/v0/getRoles.d.ts.map +0 -1
  183. package/dist/src/fractions/roles/getRoles/v0/getRoles.js +0 -41
  184. package/dist/src/fractions/sales/getVaultAddress.d.ts +0 -52
  185. package/dist/src/fractions/sales/getVaultAddress.d.ts.map +0 -1
  186. package/dist/src/fractions/sales/getVaultAddress.js +0 -61
  187. package/dist/src/fractions/sales/getWithdrawEvent.d.ts +0 -42
  188. package/dist/src/fractions/sales/getWithdrawEvent.d.ts.map +0 -1
  189. package/dist/src/fractions/sales/getWithdrawEvent.js +0 -52
  190. package/dist/src/fractions/sales/index.d.ts +0 -10
  191. package/dist/src/fractions/sales/index.d.ts.map +0 -1
  192. package/dist/src/fractions/sales/index.js +0 -10
  193. package/dist/src/fractions/sales/receiveFundsAfterNonFunded.route.d.ts +0 -144
  194. package/dist/src/fractions/sales/receiveFundsAfterNonFunded.route.d.ts.map +0 -1
  195. package/dist/src/fractions/sales/receiveFundsAfterNonFunded.route.js +0 -59
  196. package/dist/src/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts +0 -57
  197. package/dist/src/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts.map +0 -1
  198. package/dist/src/fractions/sales/receiveNonPurchasedWrappedAssets.route.js +0 -27
  199. package/dist/src/fractions/sales/recoverFractions.d.ts +0 -108
  200. package/dist/src/fractions/sales/recoverFractions.d.ts.map +0 -1
  201. package/dist/src/fractions/sales/recoverFractions.js +0 -45
  202. package/dist/src/fractions/sales/rejectFractions.d.ts +0 -80
  203. package/dist/src/fractions/sales/rejectFractions.d.ts.map +0 -1
  204. package/dist/src/fractions/sales/rejectFractions.js +0 -39
  205. package/dist/src/fractions/sales/searchSaleEvents/index.d.ts +0 -2
  206. package/dist/src/fractions/sales/searchSaleEvents/index.d.ts.map +0 -1
  207. package/dist/src/fractions/sales/searchSaleEvents/index.js +0 -0
  208. package/dist/src/fractions/sales/searchSaleEvents/v0/searchSaleEvents.d.ts +0 -89
  209. package/dist/src/fractions/sales/searchSaleEvents/v0/searchSaleEvents.d.ts.map +0 -1
  210. package/dist/src/fractions/sales/searchSaleEvents/v0/searchSaleEvents.js +0 -82
  211. package/dist/src/fractions/sales/setFeeCapLimit.d.ts +0 -75
  212. package/dist/src/fractions/sales/setFeeCapLimit.d.ts.map +0 -1
  213. package/dist/src/fractions/sales/setFeeCapLimit.js +0 -32
  214. package/dist/src/fractions/sales/unlockWrappedAssets.route.d.ts +0 -68
  215. package/dist/src/fractions/sales/unlockWrappedAssets.route.d.ts.map +0 -1
  216. package/dist/src/fractions/sales/unlockWrappedAssets.route.js +0 -31
  217. package/dist/src/fractions/sales/vesting/index.d.ts +0 -2
  218. package/dist/src/fractions/sales/vesting/index.d.ts.map +0 -1
  219. package/dist/src/fractions/sales/vesting/index.js +0 -0
  220. package/dist/src/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts +0 -94
  221. package/dist/src/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts.map +0 -1
  222. package/dist/src/fractions/sales/vesting/v0/claimVestedTokens.route.js +0 -41
  223. package/dist/src/fractions/sales/vesting/v0/editCliff.route.d.ts +0 -87
  224. package/dist/src/fractions/sales/vesting/v0/editCliff.route.d.ts.map +0 -1
  225. package/dist/src/fractions/sales/vesting/v0/editCliff.route.js +0 -40
  226. package/dist/src/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts +0 -48
  227. package/dist/src/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts.map +0 -1
  228. package/dist/src/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.js +0 -58
  229. package/dist/src/fractions/withdraw/v0/withdraw.route.d.ts +0 -68
  230. package/dist/src/fractions/withdraw/v0/withdraw.route.d.ts.map +0 -1
  231. package/dist/src/fractions/withdraw/v0/withdraw.route.js +0 -31
  232. package/dist/src/general/balance-client.d.ts +0 -13
  233. package/dist/src/general/balance-client.d.ts.map +0 -1
  234. package/dist/src/general/balance-client.js +0 -26
  235. package/dist/src/general/common.d.ts +0 -94
  236. package/dist/src/general/common.d.ts.map +0 -1
  237. package/dist/src/general/common.js +0 -35
  238. package/dist/src/general/estimateGas.d.ts +0 -52
  239. package/dist/src/general/estimateGas.d.ts.map +0 -1
  240. package/dist/src/general/estimateGas.js +0 -64
  241. package/dist/src/general/getBalance.d.ts +0 -44
  242. package/dist/src/general/getBalance.d.ts.map +0 -1
  243. package/dist/src/general/getBalance.js +0 -43
  244. package/dist/src/general/getBalancesBatch.d.ts +0 -59
  245. package/dist/src/general/getBalancesBatch.d.ts.map +0 -1
  246. package/dist/src/general/getBalancesBatch.js +0 -34
  247. package/dist/src/general/index.d.ts +0 -100
  248. package/dist/src/general/index.d.ts.map +0 -1
  249. package/dist/src/general/index.js +0 -20
  250. package/dist/src/general/searchBalances.d.ts +0 -78
  251. package/dist/src/general/searchBalances.d.ts.map +0 -1
  252. package/dist/src/general/searchBalances.js +0 -49
  253. package/dist/src/issuance/approve.d.ts +0 -75
  254. package/dist/src/issuance/approve.d.ts.map +0 -1
  255. package/dist/src/issuance/approve.js +0 -36
  256. package/dist/src/issuance/burn.d.ts +0 -75
  257. package/dist/src/issuance/burn.d.ts.map +0 -1
  258. package/dist/src/issuance/burn.js +0 -36
  259. package/dist/src/issuance/deploy.d.ts +0 -88
  260. package/dist/src/issuance/deploy.d.ts.map +0 -1
  261. package/dist/src/issuance/deploy.js +0 -91
  262. package/dist/src/issuance/grantRole.d.ts +0 -78
  263. package/dist/src/issuance/grantRole.d.ts.map +0 -1
  264. package/dist/src/issuance/grantRole.js +0 -50
  265. package/dist/src/issuance/index.d.ts +0 -165
  266. package/dist/src/issuance/index.d.ts.map +0 -1
  267. package/dist/src/issuance/index.js +0 -23
  268. package/dist/src/issuance/mint.d.ts +0 -75
  269. package/dist/src/issuance/mint.d.ts.map +0 -1
  270. package/dist/src/issuance/mint.js +0 -36
  271. package/dist/src/issuance/transfer.d.ts +0 -75
  272. package/dist/src/issuance/transfer.d.ts.map +0 -1
  273. package/dist/src/issuance/transfer.js +0 -36
  274. package/dist/src/serve.d.ts +0 -2
  275. package/dist/src/serve.d.ts.map +0 -1
  276. package/dist/src/serve.js +0 -33
  277. package/dist/src/staking/index.d.ts +0 -242
  278. package/dist/src/staking/index.d.ts.map +0 -1
  279. package/dist/src/staking/index.js +0 -20
  280. package/dist/src/staking/platforms/common/platform.d.ts +0 -26
  281. package/dist/src/staking/platforms/common/platform.d.ts.map +0 -1
  282. package/dist/src/staking/platforms/common/platform.js +0 -26
  283. package/dist/src/staking/platforms/common/platformNotFound.d.ts +0 -9
  284. package/dist/src/staking/platforms/common/platformNotFound.d.ts.map +0 -1
  285. package/dist/src/staking/platforms/common/platformNotFound.js +0 -13
  286. package/dist/src/staking/platforms/getPlatform/index.d.ts +0 -26
  287. package/dist/src/staking/platforms/getPlatform/index.d.ts.map +0 -1
  288. package/dist/src/staking/platforms/getPlatform/index.js +0 -4
  289. package/dist/src/staking/platforms/getPlatform/v0/getPlatform.d.ts +0 -52
  290. package/dist/src/staking/platforms/getPlatform/v0/getPlatform.d.ts.map +0 -1
  291. package/dist/src/staking/platforms/getPlatform/v0/getPlatform.js +0 -58
  292. package/dist/src/staking/platforms/index.d.ts +0 -52
  293. package/dist/src/staking/platforms/index.d.ts.map +0 -1
  294. package/dist/src/staking/platforms/index.js +0 -10
  295. package/dist/src/staking/platforms/searchPlatforms/index.d.ts +0 -32
  296. package/dist/src/staking/platforms/searchPlatforms/index.d.ts.map +0 -1
  297. package/dist/src/staking/platforms/searchPlatforms/index.js +0 -4
  298. package/dist/src/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts +0 -76
  299. package/dist/src/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts.map +0 -1
  300. package/dist/src/staking/platforms/searchPlatforms/v0/searchPlatforms.js +0 -42
  301. package/dist/src/staking/pools/common/pool.d.ts +0 -29
  302. package/dist/src/staking/pools/common/pool.d.ts.map +0 -1
  303. package/dist/src/staking/pools/common/pool.js +0 -28
  304. package/dist/src/staking/pools/common/poolNotFound.d.ts +0 -10
  305. package/dist/src/staking/pools/common/poolNotFound.d.ts.map +0 -1
  306. package/dist/src/staking/pools/common/poolNotFound.js +0 -14
  307. package/dist/src/staking/pools/getPool/index.d.ts +0 -20
  308. package/dist/src/staking/pools/getPool/index.d.ts.map +0 -1
  309. package/dist/src/staking/pools/getPool/index.js +0 -4
  310. package/dist/src/staking/pools/getPool/v0/getPool.d.ts +0 -35
  311. package/dist/src/staking/pools/getPool/v0/getPool.d.ts.map +0 -1
  312. package/dist/src/staking/pools/getPool/v0/getPool.js +0 -64
  313. package/dist/src/staking/pools/index.d.ts +0 -39
  314. package/dist/src/staking/pools/index.d.ts.map +0 -1
  315. package/dist/src/staking/pools/index.js +0 -10
  316. package/dist/src/staking/pools/searchPools/index.d.ts +0 -25
  317. package/dist/src/staking/pools/searchPools/index.d.ts.map +0 -1
  318. package/dist/src/staking/pools/searchPools/index.js +0 -4
  319. package/dist/src/staking/pools/searchPools/v0/searchPools.d.ts +0 -55
  320. package/dist/src/staking/pools/searchPools/v0/searchPools.d.ts.map +0 -1
  321. package/dist/src/staking/pools/searchPools/v0/searchPools.js +0 -42
  322. package/dist/src/staking/roles/common/role.d.ts +0 -13
  323. package/dist/src/staking/roles/common/role.d.ts.map +0 -1
  324. package/dist/src/staking/roles/common/role.js +0 -18
  325. package/dist/src/staking/roles/common/roleAssignment.d.ts +0 -27
  326. package/dist/src/staking/roles/common/roleAssignment.d.ts.map +0 -1
  327. package/dist/src/staking/roles/common/roleAssignment.js +0 -21
  328. package/dist/src/staking/roles/common/roleEvent.d.ts +0 -30
  329. package/dist/src/staking/roles/common/roleEvent.d.ts.map +0 -1
  330. package/dist/src/staking/roles/common/roleEvent.js +0 -23
  331. package/dist/src/staking/roles/getRoles/index.d.ts +0 -26
  332. package/dist/src/staking/roles/getRoles/index.d.ts.map +0 -1
  333. package/dist/src/staking/roles/getRoles/index.js +0 -4
  334. package/dist/src/staking/roles/getRoles/v0/getRoles.d.ts +0 -29
  335. package/dist/src/staking/roles/getRoles/v0/getRoles.d.ts.map +0 -1
  336. package/dist/src/staking/roles/getRoles/v0/getRoles.js +0 -41
  337. package/dist/src/staking/roles/grantRole/index.d.ts +0 -29
  338. package/dist/src/staking/roles/grantRole/index.d.ts.map +0 -1
  339. package/dist/src/staking/roles/grantRole/index.js +0 -4
  340. package/dist/src/staking/roles/grantRole/v0/grantRole.d.ts +0 -63
  341. package/dist/src/staking/roles/grantRole/v0/grantRole.d.ts.map +0 -1
  342. package/dist/src/staking/roles/grantRole/v0/grantRole.js +0 -40
  343. package/dist/src/staking/roles/index.d.ts +0 -93
  344. package/dist/src/staking/roles/index.d.ts.map +0 -1
  345. package/dist/src/staking/roles/index.js +0 -14
  346. package/dist/src/staking/roles/searchRoleEvents/index.d.ts +0 -27
  347. package/dist/src/staking/roles/searchRoleEvents/index.d.ts.map +0 -1
  348. package/dist/src/staking/roles/searchRoleEvents/index.js +0 -4
  349. package/dist/src/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts +0 -63
  350. package/dist/src/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts.map +0 -1
  351. package/dist/src/staking/roles/searchRoleEvents/v0/searchRoleEvents.js +0 -58
  352. package/dist/src/staking/roles/searchRoles/index.d.ts +0 -27
  353. package/dist/src/staking/roles/searchRoles/index.d.ts.map +0 -1
  354. package/dist/src/staking/roles/searchRoles/index.js +0 -4
  355. package/dist/src/staking/roles/searchRoles/v0/searchRoles.d.ts +0 -63
  356. package/dist/src/staking/roles/searchRoles/v0/searchRoles.d.ts.map +0 -1
  357. package/dist/src/staking/roles/searchRoles/v0/searchRoles.js +0 -56
  358. package/dist/src/staking/stakes/common/stake.d.ts +0 -44
  359. package/dist/src/staking/stakes/common/stake.d.ts.map +0 -1
  360. package/dist/src/staking/stakes/common/stake.js +0 -45
  361. package/dist/src/staking/stakes/common/stakeEvent.d.ts +0 -30
  362. package/dist/src/staking/stakes/common/stakeEvent.d.ts.map +0 -1
  363. package/dist/src/staking/stakes/common/stakeEvent.js +0 -24
  364. package/dist/src/staking/stakes/common/stakeNotFound.d.ts +0 -9
  365. package/dist/src/staking/stakes/common/stakeNotFound.d.ts.map +0 -1
  366. package/dist/src/staking/stakes/common/stakeNotFound.js +0 -13
  367. package/dist/src/staking/stakes/getStake/index.d.ts +0 -20
  368. package/dist/src/staking/stakes/getStake/index.d.ts.map +0 -1
  369. package/dist/src/staking/stakes/getStake/index.js +0 -4
  370. package/dist/src/staking/stakes/getStake/v0/getStake.d.ts +0 -35
  371. package/dist/src/staking/stakes/getStake/v0/getStake.d.ts.map +0 -1
  372. package/dist/src/staking/stakes/getStake/v0/getStake.js +0 -64
  373. package/dist/src/staking/stakes/index.d.ts +0 -63
  374. package/dist/src/staking/stakes/index.d.ts.map +0 -1
  375. package/dist/src/staking/stakes/index.js +0 -12
  376. package/dist/src/staking/stakes/searchStakeEvents/index.d.ts +0 -27
  377. package/dist/src/staking/stakes/searchStakeEvents/index.d.ts.map +0 -1
  378. package/dist/src/staking/stakes/searchStakeEvents/index.js +0 -4
  379. package/dist/src/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts.map +0 -1
  380. package/dist/src/staking/stakes/searchStakeEvents/v0/searchStakeEvents.js +0 -59
  381. package/dist/src/staking/stakes/searchStakes/index.d.ts +0 -27
  382. package/dist/src/staking/stakes/searchStakes/index.d.ts.map +0 -1
  383. package/dist/src/staking/stakes/searchStakes/index.js +0 -4
  384. package/dist/src/staking/stakes/searchStakes/v0/searchStakes.d.ts +0 -63
  385. package/dist/src/staking/stakes/searchStakes/v0/searchStakes.d.ts.map +0 -1
  386. package/dist/src/staking/stakes/searchStakes/v0/searchStakes.js +0 -61
  387. package/dist/src/staking-templates/index.d.ts +0 -732
  388. package/dist/src/staking-templates/index.d.ts.map +0 -1
  389. package/dist/src/staking-templates/index.js +0 -18
  390. package/dist/src/staking-templates/templates/common/amount.d.ts +0 -13
  391. package/dist/src/staking-templates/templates/common/amount.d.ts.map +0 -1
  392. package/dist/src/staking-templates/templates/common/amount.js +0 -17
  393. package/dist/src/staking-templates/templates/common/amountMult.d.ts +0 -3
  394. package/dist/src/staking-templates/templates/common/amountMult.d.ts.map +0 -1
  395. package/dist/src/staking-templates/templates/common/amountMult.js +0 -23
  396. package/dist/src/staking-templates/templates/common/erc20Input.d.ts +0 -12
  397. package/dist/src/staking-templates/templates/common/erc20Input.d.ts.map +0 -1
  398. package/dist/src/staking-templates/templates/common/erc20Input.js +0 -16
  399. package/dist/src/staking-templates/templates/common/erc20Reward.d.ts +0 -12
  400. package/dist/src/staking-templates/templates/common/erc20Reward.d.ts.map +0 -1
  401. package/dist/src/staking-templates/templates/common/erc20Reward.js +0 -16
  402. package/dist/src/staking-templates/templates/common/getCreatePoolEvent.d.ts +0 -31
  403. package/dist/src/staking-templates/templates/common/getCreatePoolEvent.d.ts.map +0 -1
  404. package/dist/src/staking-templates/templates/common/getCreatePoolEvent.js +0 -47
  405. package/dist/src/staking-templates/templates/common/getPlatformDeployEvent.d.ts +0 -40
  406. package/dist/src/staking-templates/templates/common/getPlatformDeployEvent.d.ts.map +0 -1
  407. package/dist/src/staking-templates/templates/common/getPlatformDeployEvent.js +0 -46
  408. package/dist/src/staking-templates/templates/common/getReward.d.ts +0 -58
  409. package/dist/src/staking-templates/templates/common/getReward.d.ts.map +0 -1
  410. package/dist/src/staking-templates/templates/common/getReward.js +0 -34
  411. package/dist/src/staking-templates/templates/common/getStakeEvent.d.ts +0 -31
  412. package/dist/src/staking-templates/templates/common/getStakeEvent.d.ts.map +0 -1
  413. package/dist/src/staking-templates/templates/common/getStakeEvent.js +0 -51
  414. package/dist/src/staking-templates/templates/common/lock.d.ts +0 -12
  415. package/dist/src/staking-templates/templates/common/lock.d.ts.map +0 -1
  416. package/dist/src/staking-templates/templates/common/lock.js +0 -20
  417. package/dist/src/staking-templates/templates/common/lockMult.d.ts +0 -3
  418. package/dist/src/staking-templates/templates/common/lockMult.d.ts.map +0 -1
  419. package/dist/src/staking-templates/templates/common/lockMult.js +0 -15
  420. package/dist/src/staking-templates/templates/common/partialUnstake.d.ts +0 -62
  421. package/dist/src/staking-templates/templates/common/partialUnstake.d.ts.map +0 -1
  422. package/dist/src/staking-templates/templates/common/partialUnstake.js +0 -39
  423. package/dist/src/staking-templates/templates/common/rewardDistribution.d.ts +0 -13
  424. package/dist/src/staking-templates/templates/common/rewardDistribution.d.ts.map +0 -1
  425. package/dist/src/staking-templates/templates/common/rewardDistribution.js +0 -19
  426. package/dist/src/staking-templates/templates/common/templates.d.ts +0 -61
  427. package/dist/src/staking-templates/templates/common/templates.d.ts.map +0 -1
  428. package/dist/src/staking-templates/templates/common/templates.js +0 -8
  429. package/dist/src/staking-templates/templates/common/time.d.ts +0 -2
  430. package/dist/src/staking-templates/templates/common/time.d.ts.map +0 -1
  431. package/dist/src/staking-templates/templates/common/time.js +0 -4
  432. package/dist/src/staking-templates/templates/common/unstake.d.ts +0 -58
  433. package/dist/src/staking-templates/templates/common/unstake.d.ts.map +0 -1
  434. package/dist/src/staking-templates/templates/common/unstake.js +0 -34
  435. package/dist/src/staking-templates/templates/reputation/common.d.ts +0 -23
  436. package/dist/src/staking-templates/templates/reputation/common.d.ts.map +0 -1
  437. package/dist/src/staking-templates/templates/reputation/common.js +0 -3
  438. package/dist/src/staking-templates/templates/reputation/index.d.ts +0 -233
  439. package/dist/src/staking-templates/templates/reputation/index.d.ts.map +0 -1
  440. package/dist/src/staking-templates/templates/reputation/index.js +0 -4
  441. package/dist/src/staking-templates/templates/reputation/v0/createPlatform.d.ts +0 -81
  442. package/dist/src/staking-templates/templates/reputation/v0/createPlatform.d.ts.map +0 -1
  443. package/dist/src/staking-templates/templates/reputation/v0/createPlatform.js +0 -56
  444. package/dist/src/staking-templates/templates/reputation/v0/createPool.d.ts +0 -113
  445. package/dist/src/staking-templates/templates/reputation/v0/createPool.d.ts.map +0 -1
  446. package/dist/src/staking-templates/templates/reputation/v0/createPool.js +0 -85
  447. package/dist/src/staking-templates/templates/reputation/v0/index.d.ts +0 -233
  448. package/dist/src/staking-templates/templates/reputation/v0/index.d.ts.map +0 -1
  449. package/dist/src/staking-templates/templates/reputation/v0/index.js +0 -25
  450. package/dist/src/staking-templates/templates/reputation/v0/restake.d.ts +0 -61
  451. package/dist/src/staking-templates/templates/reputation/v0/restake.d.ts.map +0 -1
  452. package/dist/src/staking-templates/templates/reputation/v0/restake.js +0 -40
  453. package/dist/src/staking-templates/templates/reputation/v0/stake.d.ts +0 -61
  454. package/dist/src/staking-templates/templates/reputation/v0/stake.d.ts.map +0 -1
  455. package/dist/src/staking-templates/templates/reputation/v0/stake.js +0 -45
  456. package/dist/src/staking-templates/templates/reputationLock/common.d.ts +0 -23
  457. package/dist/src/staking-templates/templates/reputationLock/common.d.ts.map +0 -1
  458. package/dist/src/staking-templates/templates/reputationLock/common.js +0 -3
  459. package/dist/src/staking-templates/templates/reputationLock/index.d.ts +0 -244
  460. package/dist/src/staking-templates/templates/reputationLock/index.d.ts.map +0 -1
  461. package/dist/src/staking-templates/templates/reputationLock/index.js +0 -4
  462. package/dist/src/staking-templates/templates/reputationLock/v0/createPlatform.d.ts +0 -81
  463. package/dist/src/staking-templates/templates/reputationLock/v0/createPlatform.d.ts.map +0 -1
  464. package/dist/src/staking-templates/templates/reputationLock/v0/createPlatform.js +0 -56
  465. package/dist/src/staking-templates/templates/reputationLock/v0/createPool.d.ts +0 -149
  466. package/dist/src/staking-templates/templates/reputationLock/v0/createPool.d.ts.map +0 -1
  467. package/dist/src/staking-templates/templates/reputationLock/v0/createPool.js +0 -99
  468. package/dist/src/staking-templates/templates/reputationLock/v0/index.d.ts +0 -244
  469. package/dist/src/staking-templates/templates/reputationLock/v0/index.d.ts.map +0 -1
  470. package/dist/src/staking-templates/templates/reputationLock/v0/index.js +0 -25
  471. package/dist/src/staking-templates/templates/reputationLock/v0/restake.d.ts +0 -65
  472. package/dist/src/staking-templates/templates/reputationLock/v0/restake.d.ts.map +0 -1
  473. package/dist/src/staking-templates/templates/reputationLock/v0/restake.js +0 -44
  474. package/dist/src/staking-templates/templates/reputationLock/v0/stake.d.ts +0 -65
  475. package/dist/src/staking-templates/templates/reputationLock/v0/stake.d.ts.map +0 -1
  476. package/dist/src/staking-templates/templates/reputationLock/v0/stake.js +0 -46
  477. package/dist/src/staking-templates/templates/rwa/common.d.ts +0 -23
  478. package/dist/src/staking-templates/templates/rwa/common.d.ts.map +0 -1
  479. package/dist/src/staking-templates/templates/rwa/common.js +0 -3
  480. package/dist/src/staking-templates/templates/rwa/index.d.ts +0 -256
  481. package/dist/src/staking-templates/templates/rwa/index.d.ts.map +0 -1
  482. package/dist/src/staking-templates/templates/rwa/index.js +0 -4
  483. package/dist/src/staking-templates/templates/rwa/v0/createPlatform.d.ts +0 -81
  484. package/dist/src/staking-templates/templates/rwa/v0/createPlatform.d.ts.map +0 -1
  485. package/dist/src/staking-templates/templates/rwa/v0/createPlatform.js +0 -56
  486. package/dist/src/staking-templates/templates/rwa/v0/createPool.d.ts +0 -109
  487. package/dist/src/staking-templates/templates/rwa/v0/createPool.d.ts.map +0 -1
  488. package/dist/src/staking-templates/templates/rwa/v0/createPool.js +0 -79
  489. package/dist/src/staking-templates/templates/rwa/v0/index.d.ts +0 -256
  490. package/dist/src/staking-templates/templates/rwa/v0/index.d.ts.map +0 -1
  491. package/dist/src/staking-templates/templates/rwa/v0/index.js +0 -27
  492. package/dist/src/staking-templates/templates/rwa/v0/notifyRewards.d.ts +0 -61
  493. package/dist/src/staking-templates/templates/rwa/v0/notifyRewards.d.ts.map +0 -1
  494. package/dist/src/staking-templates/templates/rwa/v0/notifyRewards.js +0 -41
  495. package/dist/src/staking-templates/templates/rwa/v0/restake.d.ts +0 -61
  496. package/dist/src/staking-templates/templates/rwa/v0/restake.d.ts.map +0 -1
  497. package/dist/src/staking-templates/templates/rwa/v0/restake.js +0 -40
  498. package/dist/src/staking-templates/templates/rwa/v0/stake.d.ts +0 -61
  499. package/dist/src/staking-templates/templates/rwa/v0/stake.d.ts.map +0 -1
  500. package/dist/src/staking-templates/templates/rwa/v0/stake.js +0 -45
package/dist/src/app.d.ts DELETED
@@ -1,2194 +0,0 @@
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
- txHash: `0x${string}`;
16
- createdAt: string;
17
- contractAddress: `0x${string}`;
18
- adminAddress: `0x${string}`;
19
- updatedAt: 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
- txHash: `0x${string}`;
43
- createdAt: string;
44
- contractAddress: `0x${string}`;
45
- adminAddress: `0x${string}`;
46
- updatedAt: 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: "11155111" | "31337";
241
- hash: `0x${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: "11155111" | "31337";
258
- hash: `0x${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: "11155111" | "31337";
272
- hash: `0x${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
- amount: {
405
- minAmount: string | number | bigint;
406
- maxAmount: string | number | bigint;
407
- };
408
- startDate: string;
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: "11155111" | "31337";
470
- hash: `0x${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: "11155111" | "31337";
487
- hash: `0x${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: "11155111" | "31337";
501
- hash: `0x${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
- amount: {
636
- minAmount: string | number | bigint;
637
- maxAmount: string | number | bigint;
638
- };
639
- startDate: string;
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: "11155111" | "31337";
710
- hash: `0x${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: "11155111" | "31337";
727
- hash: `0x${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: "11155111" | "31337";
741
- hash: `0x${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: "11155111" | "31337";
962
- hash: `0x${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
- txHash: `0x${string}`;
986
- createdAt: string;
987
- contractAddress: `0x${string}`;
988
- adminAddress: `0x${string}`;
989
- updatedAt: string;
990
- };
991
- outputFormat: "json";
992
- status: 200;
993
- } | {
994
- input: {
995
- query: {
996
- address: string | string[];
997
- chainId: string | string[];
998
- };
999
- };
1000
- output: {
1001
- error: string;
1002
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1003
- market: `0x${string}`;
1004
- };
1005
- outputFormat: "json";
1006
- status: 404;
1007
- };
1008
- };
1009
- }, "/get"> & {
1010
- "/deployEvent": {
1011
- $get: {
1012
- input: {
1013
- query: {
1014
- chainId: "11155111" | "31337";
1015
- hash: `0x${string}`;
1016
- };
1017
- };
1018
- output: {
1019
- diamondAddress: `0x${string}`;
1020
- admin: `0x${string}`;
1021
- wrapperAddress: `0x${string}` | null;
1022
- };
1023
- outputFormat: "json";
1024
- status: 200;
1025
- };
1026
- };
1027
- }, "/markets">, "/v0/fractions">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
1028
- "/": {
1029
- $post: {
1030
- input: {
1031
- json: {
1032
- filter: {
1033
- chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
1034
- owner?: `0x${string}` | undefined;
1035
- };
1036
- page: {
1037
- skip: number;
1038
- limit: number;
1039
- };
1040
- };
1041
- };
1042
- output: {
1043
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1044
- txHash: `0x${string}`;
1045
- createdAt: string;
1046
- contractAddress: `0x${string}`;
1047
- adminAddress: `0x${string}`;
1048
- updatedAt: string;
1049
- }[];
1050
- outputFormat: "json";
1051
- status: 200;
1052
- };
1053
- };
1054
- }, "/search"> & {
1055
- "/deployEvent": {
1056
- $get: {
1057
- input: {
1058
- query: {
1059
- chainId: "11155111" | "31337";
1060
- hash: `0x${string}`;
1061
- };
1062
- };
1063
- output: {
1064
- diamondAddress: `0x${string}`;
1065
- admin: `0x${string}`;
1066
- wrapperAddress: `0x${string}` | null;
1067
- };
1068
- outputFormat: "json";
1069
- status: 200;
1070
- };
1071
- };
1072
- }, "/markets">, "/v0/fractions">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
1073
- "/deploy": {
1074
- $post: {
1075
- input: {
1076
- json: {
1077
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1078
- adminAddress: `0x${string}`;
1079
- discount?: {
1080
- burnForDiscount: {
1081
- burnableTokenAddress: `0x${string}`;
1082
- };
1083
- } | undefined;
1084
- cap?: {
1085
- maxHardCap: bigint;
1086
- } | undefined;
1087
- fee?: {
1088
- percent: number;
1089
- } | undefined;
1090
- };
1091
- };
1092
- output: {
1093
- data: `0x${string}`;
1094
- to: `0x${string}`;
1095
- details: {
1096
- functionName: string;
1097
- address: `0x${string}`;
1098
- abi: any[];
1099
- args: any[];
1100
- };
1101
- };
1102
- outputFormat: "json";
1103
- status: import("hono/utils/http-status").ContentfulStatusCode;
1104
- };
1105
- };
1106
- } & {
1107
- "/deployNid": {
1108
- $post: {
1109
- input: {
1110
- json: {
1111
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1112
- adminAddress: `0x${string}`;
1113
- discount?: {
1114
- burnForDiscount: {
1115
- burnableTokenAddress: `0x${string}`;
1116
- };
1117
- } | undefined;
1118
- cap?: {
1119
- maxHardCap: bigint;
1120
- } | undefined;
1121
- fee?: {
1122
- percent: number;
1123
- } | undefined;
1124
- };
1125
- };
1126
- output: {
1127
- data: `0x${string}`;
1128
- to: `0x${string}`;
1129
- details: {
1130
- functionName: string;
1131
- address: `0x${string}`;
1132
- abi: any[];
1133
- args: any[];
1134
- };
1135
- };
1136
- outputFormat: "json";
1137
- status: import("hono/utils/http-status").ContentfulStatusCode;
1138
- };
1139
- };
1140
- } & {
1141
- "/deployContinuousWithdraw": {
1142
- $post: {
1143
- input: {
1144
- json: {
1145
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1146
- adminAddress: `0x${string}`;
1147
- discount?: {
1148
- burnForDiscount: {
1149
- burnableTokenAddress: `0x${string}`;
1150
- };
1151
- } | undefined;
1152
- cap?: {
1153
- maxHardCap: bigint;
1154
- } | undefined;
1155
- fee?: {
1156
- percent: number;
1157
- } | undefined;
1158
- };
1159
- };
1160
- output: {
1161
- data: `0x${string}`;
1162
- to: `0x${string}`;
1163
- details: {
1164
- functionName: string;
1165
- address: `0x${string}`;
1166
- abi: any[];
1167
- args: any[];
1168
- };
1169
- };
1170
- outputFormat: "json";
1171
- status: import("hono/utils/http-status").ContentfulStatusCode;
1172
- };
1173
- };
1174
- }, "/platforms">, "/v0/fractions">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
1175
- "/approveWrapper": {
1176
- $post: {
1177
- input: {
1178
- json: {
1179
- wrapperAddress: `0x${string}`;
1180
- marketAddress: `0x${string}`;
1181
- };
1182
- };
1183
- output: {
1184
- data: `0x${string}`;
1185
- to: `0x${string}`;
1186
- details: {
1187
- functionName: string;
1188
- address: `0x${string}`;
1189
- abi: any[];
1190
- args: any[];
1191
- };
1192
- };
1193
- outputFormat: "json";
1194
- status: import("hono/utils/http-status").ContentfulStatusCode;
1195
- };
1196
- };
1197
- } & {
1198
- "/approveWrapperAsErc20Spender": {
1199
- $post: {
1200
- input: {
1201
- json: {
1202
- wrapperAddress: `0x${string}`;
1203
- amount: bigint;
1204
- erc20Address: `0x${string}`;
1205
- };
1206
- };
1207
- output: {
1208
- data: `0x${string}`;
1209
- to: `0x${string}`;
1210
- details: {
1211
- functionName: string;
1212
- address: `0x${string}`;
1213
- abi: any[];
1214
- args: any[];
1215
- };
1216
- };
1217
- outputFormat: "json";
1218
- status: import("hono/utils/http-status").ContentfulStatusCode;
1219
- };
1220
- };
1221
- } & {
1222
- "/approveWrapperAsErc721Spender": {
1223
- $post: {
1224
- input: {
1225
- json: {
1226
- wrapperAddress: `0x${string}`;
1227
- erc721Address: `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
- }, "/fractions">, "/v0/fractions">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
1245
- "/": {
1246
- $get: {
1247
- input: {};
1248
- output: ({
1249
- name: string;
1250
- value: `0x${string}`;
1251
- } | {
1252
- name: string;
1253
- value: `0x${string}`;
1254
- } | {
1255
- name: string;
1256
- value: `0x${string}`;
1257
- } | {
1258
- name: string;
1259
- value: `0x${string}`;
1260
- })[];
1261
- outputFormat: "json";
1262
- status: 200;
1263
- };
1264
- };
1265
- } & {
1266
- "/grant": {
1267
- $post: {
1268
- input: {
1269
- json: {
1270
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1271
- role: import("@evergonlabs/tmi-protocol-fractions-sdk").RoleTypeEnum;
1272
- marketAddress: `0x${string}`;
1273
- users: `0x${string}`[];
1274
- };
1275
- };
1276
- output: {
1277
- data: `0x${string}`;
1278
- to: `0x${string}`;
1279
- details: {
1280
- functionName: string;
1281
- address: `0x${string}`;
1282
- abi: any[];
1283
- args: any[];
1284
- };
1285
- };
1286
- outputFormat: "json";
1287
- status: import("hono/utils/http-status").ContentfulStatusCode;
1288
- };
1289
- };
1290
- }, "/roles">, "/v0/fractions">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
1291
- "/fractions": {
1292
- $post: {
1293
- input: {
1294
- json: {
1295
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1296
- fractions: {
1297
- symbol: string;
1298
- name: string;
1299
- amount: bigint;
1300
- token?: `0x${string}` | undefined;
1301
- };
1302
- cap: {
1303
- soft: bigint;
1304
- hard: bigint;
1305
- softPerAccount?: bigint | undefined;
1306
- hardPerAccount?: bigint | undefined;
1307
- };
1308
- market: `0x${string}`;
1309
- timeBoundary: {
1310
- start: Date;
1311
- end: Date;
1312
- };
1313
- wrapped: [{
1314
- values: [bigint, ...bigint[]];
1315
- type: "ERC20";
1316
- address: `0x${string}`;
1317
- } | {
1318
- type: "ERC721";
1319
- address: `0x${string}`;
1320
- tokenIds: [bigint, ...bigint[]];
1321
- } | {
1322
- values: [bigint, ...bigint[]];
1323
- type: "ERC1155";
1324
- address: `0x${string}`;
1325
- tokenIds: [bigint, ...bigint[]];
1326
- }, ...({
1327
- values: [bigint, ...bigint[]];
1328
- type: "ERC20";
1329
- address: `0x${string}`;
1330
- } | {
1331
- type: "ERC721";
1332
- address: `0x${string}`;
1333
- tokenIds: [bigint, ...bigint[]];
1334
- } | {
1335
- values: [bigint, ...bigint[]];
1336
- type: "ERC1155";
1337
- address: `0x${string}`;
1338
- tokenIds: [bigint, ...bigint[]];
1339
- })[]];
1340
- funding: [{
1341
- token: `0x${string}`;
1342
- amountPerPacket: bigint;
1343
- }, ...{
1344
- token: `0x${string}`;
1345
- amountPerPacket: bigint;
1346
- }[]];
1347
- refundAddress: `0x${string}`;
1348
- amountOfPacketsPerFraction: bigint;
1349
- discounts?: {
1350
- burnableTokenAddress: `0x${string}`;
1351
- amountToBurn: bigint;
1352
- percentDiscount: number;
1353
- } | undefined;
1354
- vesting?: {
1355
- cliff: Date;
1356
- totalVestingPeriod: number;
1357
- portionPeriod: number;
1358
- } | undefined;
1359
- };
1360
- };
1361
- output: {
1362
- data: `0x${string}`;
1363
- to: `0x${string}`;
1364
- details: {
1365
- functionName: string;
1366
- address: `0x${string}`;
1367
- abi: any[];
1368
- args: any[];
1369
- };
1370
- };
1371
- outputFormat: "json";
1372
- status: import("hono/utils/http-status").ContentfulStatusCode;
1373
- };
1374
- };
1375
- } & {
1376
- "/getFractionsCreatedEvent": {
1377
- $get: {
1378
- input: {
1379
- query: {
1380
- chainId: "11155111" | "31337";
1381
- hash: `0x${string}`;
1382
- };
1383
- };
1384
- output: {
1385
- campaignId: string;
1386
- creator: `0x${string}`;
1387
- nftId: string;
1388
- fractionsCreated: string;
1389
- fractionsAddress: `0x${string}`;
1390
- vaultAddress: `0x${string}` | undefined;
1391
- };
1392
- outputFormat: "json";
1393
- status: 200;
1394
- };
1395
- };
1396
- } & {
1397
- "/approve": {
1398
- $post: {
1399
- input: {
1400
- json: {
1401
- campaignId: bigint;
1402
- marketAddress: `0x${string}`;
1403
- };
1404
- };
1405
- output: {
1406
- data: `0x${string}`;
1407
- to: `0x${string}`;
1408
- details: {
1409
- functionName: string;
1410
- address: `0x${string}`;
1411
- abi: any[];
1412
- args: any[];
1413
- };
1414
- };
1415
- outputFormat: "json";
1416
- status: import("hono/utils/http-status").ContentfulStatusCode;
1417
- };
1418
- };
1419
- } & {
1420
- "/reject": {
1421
- $post: {
1422
- input: {
1423
- json: {
1424
- saleId: bigint;
1425
- marketAddress: `0x${string}`;
1426
- };
1427
- };
1428
- output: {
1429
- data: `0x${string}`;
1430
- to: `0x${string}`;
1431
- details: {
1432
- functionName: string;
1433
- address: `0x${string}`;
1434
- abi: any[];
1435
- args: any[];
1436
- };
1437
- };
1438
- outputFormat: "json";
1439
- status: import("hono/utils/http-status").ContentfulStatusCode;
1440
- } | {
1441
- input: {
1442
- json: {
1443
- saleId: bigint;
1444
- marketAddress: `0x${string}`;
1445
- };
1446
- };
1447
- output: {
1448
- error: string;
1449
- };
1450
- outputFormat: "json";
1451
- status: 400;
1452
- } | {
1453
- input: {
1454
- json: {
1455
- saleId: bigint;
1456
- marketAddress: `0x${string}`;
1457
- };
1458
- };
1459
- output: {
1460
- error: string;
1461
- };
1462
- outputFormat: "json";
1463
- status: 500;
1464
- };
1465
- };
1466
- } & {
1467
- "/recover": {
1468
- $post: {
1469
- input: {
1470
- json: {
1471
- campaignId: bigint;
1472
- marketAddress: `0x${string}`;
1473
- lostAccount: `0x${string}`;
1474
- recoveryAddress: `0x${string}`;
1475
- amountOfFractions: bigint;
1476
- fractionId: bigint;
1477
- };
1478
- };
1479
- output: {
1480
- data: `0x${string}`;
1481
- to: `0x${string}`;
1482
- details: {
1483
- functionName: string;
1484
- address: `0x${string}`;
1485
- abi: any[];
1486
- args: any[];
1487
- };
1488
- };
1489
- outputFormat: "json";
1490
- status: import("hono/utils/http-status").ContentfulStatusCode;
1491
- } | {
1492
- input: {
1493
- json: {
1494
- campaignId: bigint;
1495
- marketAddress: `0x${string}`;
1496
- lostAccount: `0x${string}`;
1497
- recoveryAddress: `0x${string}`;
1498
- amountOfFractions: bigint;
1499
- fractionId: bigint;
1500
- };
1501
- };
1502
- output: {
1503
- error: string;
1504
- };
1505
- outputFormat: "json";
1506
- status: 400;
1507
- } | {
1508
- input: {
1509
- json: {
1510
- campaignId: bigint;
1511
- marketAddress: `0x${string}`;
1512
- lostAccount: `0x${string}`;
1513
- recoveryAddress: `0x${string}`;
1514
- amountOfFractions: bigint;
1515
- fractionId: bigint;
1516
- };
1517
- };
1518
- output: {
1519
- error: string;
1520
- };
1521
- outputFormat: "json";
1522
- status: 500;
1523
- };
1524
- };
1525
- } & {
1526
- "/complete": {
1527
- $post: {
1528
- input: {
1529
- json: {
1530
- campaignId: bigint;
1531
- marketAddress: `0x${string}`;
1532
- };
1533
- };
1534
- output: {
1535
- data: `0x${string}`;
1536
- to: `0x${string}`;
1537
- details: {
1538
- functionName: string;
1539
- address: `0x${string}`;
1540
- abi: any[];
1541
- args: any[];
1542
- };
1543
- };
1544
- outputFormat: "json";
1545
- status: import("hono/utils/http-status").ContentfulStatusCode;
1546
- };
1547
- };
1548
- } & {
1549
- "/unlockWrappedAssets": {
1550
- $post: {
1551
- input: {
1552
- json: {
1553
- campaignId: bigint;
1554
- market: `0x${string}`;
1555
- };
1556
- };
1557
- output: {
1558
- data: `0x${string}`;
1559
- to: `0x${string}`;
1560
- details: {
1561
- functionName: string;
1562
- address: `0x${string}`;
1563
- abi: any[];
1564
- args: any[];
1565
- };
1566
- };
1567
- outputFormat: "json";
1568
- status: import("hono/utils/http-status").ContentfulStatusCode;
1569
- };
1570
- };
1571
- } & {
1572
- "/purchase": {
1573
- $post: {
1574
- input: {
1575
- json: {
1576
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1577
- campaignId: bigint;
1578
- market: `0x${string}`;
1579
- amountToBuy: bigint;
1580
- applyDiscount: boolean;
1581
- };
1582
- };
1583
- output: {
1584
- data: `0x${string}`;
1585
- to: `0x${string}`;
1586
- details: {
1587
- functionName: string;
1588
- address: `0x${string}`;
1589
- abi: any[];
1590
- args: any[];
1591
- };
1592
- };
1593
- outputFormat: "json";
1594
- status: import("hono/utils/http-status").ContentfulStatusCode;
1595
- };
1596
- };
1597
- } & {
1598
- "/withdrawPaymentToken": {
1599
- $post: {
1600
- input: {
1601
- json: {
1602
- campaignId: bigint;
1603
- market: `0x${string}`;
1604
- };
1605
- };
1606
- output: {
1607
- data: `0x${string}`;
1608
- to: `0x${string}`;
1609
- details: {
1610
- functionName: string;
1611
- address: `0x${string}`;
1612
- abi: any[];
1613
- args: any[];
1614
- };
1615
- };
1616
- outputFormat: "json";
1617
- status: import("hono/utils/http-status").ContentfulStatusCode;
1618
- };
1619
- };
1620
- } & {
1621
- "/receiveFundsAfterNonFunded": {
1622
- $post: {
1623
- input: {
1624
- json: {
1625
- campaignId: bigint;
1626
- market: `0x${string}`;
1627
- amountOfFractions: bigint;
1628
- isDiscounted: boolean;
1629
- upperGenesisId?: bigint | undefined;
1630
- };
1631
- };
1632
- output: {
1633
- data: `0x${string}`;
1634
- to: `0x${string}`;
1635
- details: {
1636
- functionName: string;
1637
- address: `0x${string}`;
1638
- abi: any[];
1639
- args: any[];
1640
- };
1641
- };
1642
- outputFormat: "json";
1643
- status: import("hono/utils/http-status").ContentfulStatusCode;
1644
- };
1645
- };
1646
- } & {
1647
- "/checkAndJumpToNonFunded": {
1648
- $post: {
1649
- input: {
1650
- json: {
1651
- campaignId: bigint;
1652
- market: `0x${string}`;
1653
- };
1654
- };
1655
- output: {
1656
- data: `0x${string}`;
1657
- to: `0x${string}`;
1658
- details: {
1659
- functionName: string;
1660
- address: `0x${string}`;
1661
- abi: any[];
1662
- args: any[];
1663
- };
1664
- };
1665
- outputFormat: "json";
1666
- status: import("hono/utils/http-status").ContentfulStatusCode;
1667
- };
1668
- };
1669
- } & {
1670
- "/receiveNonPurchasedWrappedAssets": {
1671
- $post: {
1672
- input: {
1673
- json: {
1674
- campaignId: bigint;
1675
- market: `0x${string}`;
1676
- };
1677
- };
1678
- output: {
1679
- data: `0x${string}`;
1680
- to: `0x${string}`;
1681
- details: {
1682
- functionName: string;
1683
- address: `0x${string}`;
1684
- abi: any[];
1685
- args: any[];
1686
- };
1687
- };
1688
- outputFormat: "json";
1689
- status: import("hono/utils/http-status").ContentfulStatusCode;
1690
- };
1691
- };
1692
- } & {
1693
- "/vesting/editCliff": {
1694
- $post: {
1695
- input: {
1696
- json: {
1697
- saleId: bigint;
1698
- marketAddress: `0x${string}`;
1699
- newCliffDate: Date;
1700
- };
1701
- };
1702
- output: {
1703
- data: `0x${string}`;
1704
- to: `0x${string}`;
1705
- details: {
1706
- functionName: string;
1707
- address: `0x${string}`;
1708
- abi: any[];
1709
- args: any[];
1710
- };
1711
- };
1712
- outputFormat: "json";
1713
- status: import("hono/utils/http-status").ContentfulStatusCode;
1714
- } | {
1715
- input: {
1716
- json: {
1717
- saleId: bigint;
1718
- marketAddress: `0x${string}`;
1719
- newCliffDate: Date;
1720
- };
1721
- };
1722
- output: {
1723
- error: string;
1724
- };
1725
- outputFormat: "json";
1726
- status: 400;
1727
- } | {
1728
- input: {
1729
- json: {
1730
- saleId: bigint;
1731
- marketAddress: `0x${string}`;
1732
- newCliffDate: Date;
1733
- };
1734
- };
1735
- output: {
1736
- error: string;
1737
- };
1738
- outputFormat: "json";
1739
- status: 500;
1740
- };
1741
- };
1742
- } & {
1743
- "/vesting/claim": {
1744
- $post: {
1745
- input: {
1746
- json: {
1747
- address: `0x${string}`;
1748
- campaignId: bigint;
1749
- amountOfFractions: bigint;
1750
- itToBurn: bigint;
1751
- };
1752
- };
1753
- output: {
1754
- data: `0x${string}`;
1755
- to: `0x${string}`;
1756
- details: {
1757
- functionName: string;
1758
- address: `0x${string}`;
1759
- abi: any[];
1760
- args: any[];
1761
- };
1762
- };
1763
- outputFormat: "json";
1764
- status: import("hono/utils/http-status").ContentfulStatusCode;
1765
- } | {
1766
- input: {
1767
- json: {
1768
- address: `0x${string}`;
1769
- campaignId: bigint;
1770
- amountOfFractions: bigint;
1771
- itToBurn: bigint;
1772
- };
1773
- };
1774
- output: {
1775
- error: string;
1776
- };
1777
- outputFormat: "json";
1778
- status: 400;
1779
- } | {
1780
- input: {
1781
- json: {
1782
- address: `0x${string}`;
1783
- campaignId: bigint;
1784
- amountOfFractions: bigint;
1785
- itToBurn: bigint;
1786
- };
1787
- };
1788
- output: {
1789
- error: string;
1790
- };
1791
- outputFormat: "json";
1792
- status: 500;
1793
- };
1794
- };
1795
- } & {
1796
- "/vesting/getClaimVestedTokensEvent": {
1797
- $get: {
1798
- input: {
1799
- query: {
1800
- chainId: "11155111" | "31337";
1801
- hash: `0x${string}`;
1802
- };
1803
- };
1804
- output: {
1805
- campaignId: string;
1806
- receiver: `0x${string}`;
1807
- burnId: string;
1808
- nextBurnId: string | null;
1809
- amountOfFractionsBurnt: string;
1810
- };
1811
- outputFormat: "json";
1812
- status: 200;
1813
- };
1814
- };
1815
- } & {
1816
- "/search": {
1817
- $post: {
1818
- input: {
1819
- json: {
1820
- filter: {
1821
- chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
1822
- platform?: `0x${string}` | undefined;
1823
- campaignId?: string | number | bigint | undefined;
1824
- owner?: `0x${string}` | undefined;
1825
- };
1826
- page: {
1827
- skip: number;
1828
- limit: number;
1829
- };
1830
- };
1831
- };
1832
- output: never;
1833
- outputFormat: "json";
1834
- status: 200;
1835
- };
1836
- };
1837
- } & {
1838
- "/setFeeCapLimit": {
1839
- $post: {
1840
- input: {
1841
- json: {
1842
- campaignId: bigint;
1843
- marketAddress: `0x${string}`;
1844
- packetsLimit: bigint;
1845
- };
1846
- };
1847
- output: {
1848
- data: `0x${string}`;
1849
- to: `0x${string}`;
1850
- details: {
1851
- functionName: string;
1852
- address: `0x${string}`;
1853
- abi: any[];
1854
- args: any[];
1855
- };
1856
- };
1857
- outputFormat: "json";
1858
- status: import("hono/utils/http-status").ContentfulStatusCode;
1859
- };
1860
- };
1861
- } & {
1862
- "/getWithdrawEvent": {
1863
- $get: {
1864
- input: {
1865
- query: {
1866
- chainId: "11155111" | "31337";
1867
- hash: `0x${string}`;
1868
- };
1869
- };
1870
- output: {
1871
- campaignId: string;
1872
- receiver: `0x${string}`;
1873
- packetsReceived: string;
1874
- };
1875
- outputFormat: "json";
1876
- status: 200;
1877
- };
1878
- };
1879
- } & {
1880
- "/getVaultAddress": {
1881
- $get: {
1882
- input: {
1883
- query: {
1884
- chainId: string | string[];
1885
- platform: string | string[];
1886
- campaign: string | string[];
1887
- };
1888
- };
1889
- output: {
1890
- error: string;
1891
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1892
- market: `0x${string}`;
1893
- };
1894
- outputFormat: "json";
1895
- status: 404;
1896
- } | {
1897
- input: {
1898
- query: {
1899
- chainId: string | string[];
1900
- platform: string | string[];
1901
- campaign: string | string[];
1902
- };
1903
- };
1904
- output: {
1905
- vaultAddress: `0x${string}`;
1906
- };
1907
- outputFormat: "json";
1908
- status: 200;
1909
- };
1910
- };
1911
- }, "/sales">, "/v0/fractions">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
1912
- "/nonce": {
1913
- $post: {
1914
- input: {
1915
- json: {
1916
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1917
- userAddress: `0x${string}`;
1918
- marketAddress: `0x${string}`;
1919
- };
1920
- };
1921
- output: {
1922
- nonce: string;
1923
- };
1924
- outputFormat: "json";
1925
- status: import("hono/utils/http-status").ContentfulStatusCode;
1926
- };
1927
- };
1928
- } & {
1929
- "/authData": {
1930
- $post: {
1931
- input: {
1932
- json: {
1933
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1934
- nonce: bigint;
1935
- blockExpiration: bigint;
1936
- userAddress: `0x${string}`;
1937
- marketAddress: `0x${string}`;
1938
- callData: `0x${string}`;
1939
- };
1940
- };
1941
- output: {
1942
- messageToSign: `0x${string}`;
1943
- blockExpiration: `0x${string}`;
1944
- };
1945
- outputFormat: "json";
1946
- status: import("hono/utils/http-status").ContentfulStatusCode;
1947
- };
1948
- };
1949
- }, "/sig">, "/v0/fractions">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
1950
- "/estimateGas": {
1951
- $post: {
1952
- input: {
1953
- json: {
1954
- data: `0x${string}`;
1955
- to: `0x${string}`;
1956
- chainId: "11155111" | "31337";
1957
- from: `0x${string}`;
1958
- };
1959
- };
1960
- output: {
1961
- readonly success: true;
1962
- readonly value: string;
1963
- };
1964
- outputFormat: "json";
1965
- status: 200;
1966
- };
1967
- };
1968
- } & {
1969
- "/balance": {
1970
- $get: {
1971
- input: {
1972
- query: {
1973
- address: string | string[];
1974
- chainId: string | string[];
1975
- contract: string | string[];
1976
- };
1977
- };
1978
- output: {
1979
- address: `0x${string}`;
1980
- balance: string;
1981
- };
1982
- outputFormat: "json";
1983
- status: import("hono/utils/http-status").ContentfulStatusCode;
1984
- };
1985
- };
1986
- } & {
1987
- "/balances": {
1988
- $post: {
1989
- input: {
1990
- json: {
1991
- address: `0x${string}`;
1992
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1993
- contracts: `0x${string}`[];
1994
- };
1995
- };
1996
- output: {
1997
- quantityIn: string;
1998
- quantityOut: string;
1999
- name: string | null;
2000
- symbol: string | null;
2001
- decimals: string | null;
2002
- address: string;
2003
- totalBalance: string;
2004
- }[];
2005
- outputFormat: "json";
2006
- status: 200;
2007
- };
2008
- };
2009
- } & {
2010
- "/searchBalances": {
2011
- $post: {
2012
- input: {
2013
- json: {
2014
- address: `0x${string}`;
2015
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
2016
- page?: number | undefined;
2017
- perPage?: number | undefined;
2018
- };
2019
- };
2020
- output: {
2021
- balances: {
2022
- tokenAddress: `0x${string}`;
2023
- balance: never;
2024
- decimals: number | undefined;
2025
- symbol: string;
2026
- name: string;
2027
- tokenId: undefined;
2028
- type: "ERC-20" | "ERC-721" | "ERC-1155";
2029
- }[];
2030
- totalItems: number;
2031
- totalPages: number;
2032
- pageNumber: number;
2033
- };
2034
- outputFormat: "json";
2035
- status: 200;
2036
- };
2037
- };
2038
- }, "/general">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
2039
- "/erc20": {
2040
- $get: {
2041
- input: {};
2042
- output: {
2043
- abi: any[];
2044
- bytecode: `0x${string}`;
2045
- };
2046
- outputFormat: "json";
2047
- status: import("hono/utils/http-status").ContentfulStatusCode;
2048
- };
2049
- };
2050
- } & {
2051
- "/erc20/mint": {
2052
- $post: {
2053
- input: {
2054
- json: {
2055
- amount: bigint;
2056
- tokenAddress: `0x${string}`;
2057
- mintTo: `0x${string}`;
2058
- };
2059
- };
2060
- output: {
2061
- data: `0x${string}`;
2062
- to: `0x${string}`;
2063
- details: {
2064
- functionName: string;
2065
- address: `0x${string}`;
2066
- abi: any[];
2067
- args: any[];
2068
- };
2069
- };
2070
- outputFormat: "json";
2071
- status: import("hono/utils/http-status").ContentfulStatusCode;
2072
- };
2073
- };
2074
- } & {
2075
- "/erc20/burn": {
2076
- $post: {
2077
- input: {
2078
- json: {
2079
- amount: bigint;
2080
- burnFrom: `0x${string}`;
2081
- tokenAddress: `0x${string}`;
2082
- };
2083
- };
2084
- output: {
2085
- data: `0x${string}`;
2086
- to: `0x${string}`;
2087
- details: {
2088
- functionName: string;
2089
- address: `0x${string}`;
2090
- abi: any[];
2091
- args: any[];
2092
- };
2093
- };
2094
- outputFormat: "json";
2095
- status: import("hono/utils/http-status").ContentfulStatusCode;
2096
- };
2097
- };
2098
- } & {
2099
- "/erc20/approve": {
2100
- $post: {
2101
- input: {
2102
- json: {
2103
- amount: bigint;
2104
- spender: `0x${string}`;
2105
- tokenAddress: `0x${string}`;
2106
- };
2107
- };
2108
- output: {
2109
- data: `0x${string}`;
2110
- to: `0x${string}`;
2111
- details: {
2112
- functionName: string;
2113
- address: `0x${string}`;
2114
- abi: any[];
2115
- args: any[];
2116
- };
2117
- };
2118
- outputFormat: "json";
2119
- status: import("hono/utils/http-status").ContentfulStatusCode;
2120
- };
2121
- };
2122
- } & {
2123
- "/erc20/transfer": {
2124
- $post: {
2125
- input: {
2126
- json: {
2127
- to: `0x${string}`;
2128
- amount: bigint;
2129
- tokenAddress: `0x${string}`;
2130
- };
2131
- };
2132
- output: {
2133
- data: `0x${string}`;
2134
- to: `0x${string}`;
2135
- details: {
2136
- functionName: string;
2137
- address: `0x${string}`;
2138
- abi: any[];
2139
- args: any[];
2140
- };
2141
- };
2142
- outputFormat: "json";
2143
- status: import("hono/utils/http-status").ContentfulStatusCode;
2144
- };
2145
- };
2146
- } & {
2147
- "/erc20/proxy": {
2148
- $post: {
2149
- input: {
2150
- json: {
2151
- cap: bigint;
2152
- erc20Address: `0x${string}`;
2153
- defaultAdmin: `0x${string}`;
2154
- minter: `0x${string}`;
2155
- tokenName: string;
2156
- tokenSymbol: string;
2157
- };
2158
- };
2159
- output: {
2160
- abi: any[];
2161
- args: any[];
2162
- bytecode: `0x${string}`;
2163
- };
2164
- outputFormat: "json";
2165
- status: import("hono/utils/http-status").ContentfulStatusCode;
2166
- };
2167
- };
2168
- } & {
2169
- "/erc20/grantRole": {
2170
- $post: {
2171
- input: {
2172
- json: {
2173
- address: `0x${string}`;
2174
- role: import("./issuance/grantRole.js").Erc20Role;
2175
- tokenAddress: `0x${string}`;
2176
- };
2177
- };
2178
- output: {
2179
- data: `0x${string}`;
2180
- to: `0x${string}`;
2181
- details: {
2182
- functionName: string;
2183
- address: `0x${string}`;
2184
- abi: any[];
2185
- args: any[];
2186
- };
2187
- };
2188
- outputFormat: "json";
2189
- status: import("hono/utils/http-status").ContentfulStatusCode;
2190
- };
2191
- };
2192
- }, "/issuance">, "/">, "/">;
2193
- export type IApp = ReturnType<typeof getApp>;
2194
- //# sourceMappingURL=app.d.ts.map