@evergonlabs/tmi-protocol-api 0.1.3 → 0.1.5

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