@evergonlabs/tmi-protocol-api 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (500) hide show
  1. package/dist/app.d.ts +16 -0
  2. package/dist/app.d.ts.map +1 -1
  3. package/dist/client.d.ts +26 -0
  4. package/dist/client.d.ts.map +1 -1
  5. package/dist/common/abis/erc20Whitelisted.d.ts +14 -7
  6. package/dist/common/abis/erc20Whitelisted.d.ts.map +1 -1
  7. package/dist/common/abis/erc20Whitelisted.js +8 -3
  8. package/dist/common/indexer/client.d.ts +140 -0
  9. package/dist/common/indexer/client.d.ts.map +1 -1
  10. package/dist/common/indexer/index.d.ts +140 -0
  11. package/dist/common/indexer/index.d.ts.map +1 -1
  12. package/dist/common/indexer/schemas.d.ts +70 -0
  13. package/dist/common/indexer/schemas.d.ts.map +1 -1
  14. package/dist/fractions/activity/searchActivity.route.d.ts.map +1 -1
  15. package/dist/fractions/activity/searchActivity.route.js +1 -3
  16. package/dist/fractions/index.d.ts +16 -0
  17. package/dist/fractions/index.d.ts.map +1 -1
  18. package/dist/fractions/index.js +2 -0
  19. package/dist/fractions/sales/searchActivity.route.js +2 -2
  20. package/dist/{src/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts → fractions/sales/searchClaim.route.d.ts} +14 -15
  21. package/dist/fractions/sales/searchClaim.route.d.ts.map +1 -0
  22. package/dist/fractions/sales/searchClaim.route.js +47 -0
  23. package/dist/fractions/sales/searchPurchase.route.d.ts +120 -0
  24. package/dist/fractions/sales/searchPurchase.route.d.ts.map +1 -0
  25. package/dist/fractions/sales/searchPurchase.route.js +70 -0
  26. package/dist/fractions/sales/searchSaleEvents/v0/searchSaleEvents.js +6 -6
  27. package/dist/fractions/sales/vesting/v0/claimStatistics.route.d.ts +92 -0
  28. package/dist/fractions/sales/vesting/v0/claimStatistics.route.d.ts.map +1 -0
  29. package/dist/fractions/sales/vesting/v0/claimStatistics.route.js +89 -0
  30. package/dist/general/balanceClient.d.ts.map +1 -1
  31. package/dist/general/balanceClient.js +7 -1
  32. package/package.json +7 -7
  33. package/dist/package.json +0 -78
  34. package/dist/src/app.d.ts +0 -2194
  35. package/dist/src/app.d.ts.map +0 -1
  36. package/dist/src/app.js +0 -18
  37. package/dist/src/client.d.ts +0 -2690
  38. package/dist/src/client.d.ts.map +0 -1
  39. package/dist/src/client.js +0 -4
  40. package/dist/src/common/abis/erc20Whitelisted.d.ts +0 -4
  41. package/dist/src/common/abis/erc20Whitelisted.d.ts.map +0 -1
  42. package/dist/src/common/abis/erc20Whitelisted.js +0 -4
  43. package/dist/src/common/app.d.ts +0 -9
  44. package/dist/src/common/app.d.ts.map +0 -1
  45. package/dist/src/common/app.js +0 -3
  46. package/dist/src/common/blockchain.d.ts +0 -9528
  47. package/dist/src/common/blockchain.d.ts.map +0 -1
  48. package/dist/src/common/blockchain.js +0 -40
  49. package/dist/src/common/config.d.ts +0 -21
  50. package/dist/src/common/config.d.ts.map +0 -1
  51. package/dist/src/common/config.js +0 -33
  52. package/dist/src/common/http-error.d.ts +0 -7
  53. package/dist/src/common/http-error.d.ts.map +0 -1
  54. package/dist/src/common/http-error.js +0 -7
  55. package/dist/src/common/index.d.ts +0 -2
  56. package/dist/src/common/index.d.ts.map +0 -1
  57. package/dist/src/common/index.js +0 -1
  58. package/dist/src/common/indexer/client.d.ts +0 -1191
  59. package/dist/src/common/indexer/client.d.ts.map +0 -1
  60. package/dist/src/common/indexer/client.js +0 -7
  61. package/dist/src/common/indexer/index.d.ts +0 -1191
  62. package/dist/src/common/indexer/index.d.ts.map +0 -1
  63. package/dist/src/common/indexer/index.js +0 -3
  64. package/dist/src/common/indexer/schemas.d.ts +0 -1191
  65. package/dist/src/common/indexer/schemas.d.ts.map +0 -1
  66. package/dist/src/common/indexer/schemas.js +0 -14
  67. package/dist/src/common/models/chainId.d.ts +0 -5
  68. package/dist/src/common/models/chainId.d.ts.map +0 -1
  69. package/dist/src/common/models/chainId.js +0 -23
  70. package/dist/src/common/models/date.d.ts +0 -3
  71. package/dist/src/common/models/date.d.ts.map +0 -1
  72. package/dist/src/common/models/date.js +0 -5
  73. package/dist/src/common/models/erc721.d.ts +0 -15
  74. package/dist/src/common/models/erc721.d.ts.map +0 -1
  75. package/dist/src/common/models/erc721.js +0 -21
  76. package/dist/src/common/models/index.d.ts +0 -7
  77. package/dist/src/common/models/index.d.ts.map +0 -1
  78. package/dist/src/common/models/index.js +0 -6
  79. package/dist/src/common/models/page.d.ts +0 -12
  80. package/dist/src/common/models/page.d.ts.map +0 -1
  81. package/dist/src/common/models/page.js +0 -15
  82. package/dist/src/common/models/percent.d.ts +0 -3
  83. package/dist/src/common/models/percent.d.ts.map +0 -1
  84. package/dist/src/common/models/percent.js +0 -6
  85. package/dist/src/common/models/platform.d.ts +0 -4
  86. package/dist/src/common/models/platform.d.ts.map +0 -1
  87. package/dist/src/common/models/platform.js +0 -13
  88. package/dist/src/common/models/routes.d.ts +0 -16
  89. package/dist/src/common/models/routes.d.ts.map +0 -1
  90. package/dist/src/common/models/routes.js +0 -13
  91. package/dist/src/common/models/saleId.d.ts +0 -12
  92. package/dist/src/common/models/saleId.d.ts.map +0 -1
  93. package/dist/src/common/models/saleId.js +0 -6
  94. package/dist/src/common/models/transaction.d.ts +0 -90
  95. package/dist/src/common/models/transaction.d.ts.map +0 -1
  96. package/dist/src/common/models/transaction.js +0 -57
  97. package/dist/src/common/models/viem.d.ts +0 -4
  98. package/dist/src/common/models/viem.d.ts.map +0 -1
  99. package/dist/src/common/models/viem.js +0 -15
  100. package/dist/src/common/openapi.d.ts +0 -4
  101. package/dist/src/common/openapi.d.ts.map +0 -1
  102. package/dist/src/common/openapi.js +0 -40
  103. package/dist/src/common/tag.d.ts +0 -7
  104. package/dist/src/common/tag.d.ts.map +0 -1
  105. package/dist/src/common/tag.js +0 -5
  106. package/dist/src/common/version.d.ts +0 -2
  107. package/dist/src/common/version.d.ts.map +0 -1
  108. package/dist/src/common/version.js +0 -2
  109. package/dist/src/common/zod.d.ts +0 -3
  110. package/dist/src/common/zod.d.ts.map +0 -1
  111. package/dist/src/common/zod.js +0 -2
  112. package/dist/src/error.d.ts +0 -3
  113. package/dist/src/error.d.ts.map +0 -1
  114. package/dist/src/error.js +0 -16
  115. package/dist/src/fractions/approveSale/v0/approveSale.route.d.ts +0 -68
  116. package/dist/src/fractions/approveSale/v0/approveSale.route.d.ts.map +0 -1
  117. package/dist/src/fractions/approveSale/v0/approveSale.route.js +0 -31
  118. package/dist/src/fractions/approveWrapper/v0/approveWrapper.route.d.ts +0 -203
  119. package/dist/src/fractions/approveWrapper/v0/approveWrapper.route.d.ts.map +0 -1
  120. package/dist/src/fractions/approveWrapper/v0/approveWrapper.route.js +0 -84
  121. package/dist/src/fractions/completeSale/v0/completeSale.route.d.ts +0 -68
  122. package/dist/src/fractions/completeSale/v0/completeSale.route.d.ts.map +0 -1
  123. package/dist/src/fractions/completeSale/v0/completeSale.route.js +0 -31
  124. package/dist/src/fractions/createFractions/v0/createFractions.route.d.ts +0 -305
  125. package/dist/src/fractions/createFractions/v0/createFractions.route.d.ts.map +0 -1
  126. package/dist/src/fractions/createFractions/v0/createFractions.route.js +0 -61
  127. package/dist/src/fractions/createFractions/v0/createFractions.schema.d.ts +0 -416
  128. package/dist/src/fractions/createFractions/v0/createFractions.schema.d.ts.map +0 -1
  129. package/dist/src/fractions/createFractions/v0/createFractions.schema.js +0 -67
  130. package/dist/src/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts +0 -51
  131. package/dist/src/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts.map +0 -1
  132. package/dist/src/fractions/createFractions/v0/parseFractionsCreatedEvent.js +0 -59
  133. package/dist/src/fractions/deployMarket/v0/deployMarket.routes.d.ts +0 -297
  134. package/dist/src/fractions/deployMarket/v0/deployMarket.routes.d.ts.map +0 -1
  135. package/dist/src/fractions/deployMarket/v0/deployMarket.routes.js +0 -98
  136. package/dist/src/fractions/deployMarket/v0/deployMarket.schema.d.ts +0 -96
  137. package/dist/src/fractions/deployMarket/v0/deployMarket.schema.d.ts.map +0 -1
  138. package/dist/src/fractions/deployMarket/v0/deployMarket.schema.js +0 -21
  139. package/dist/src/fractions/gating/index.d.ts +0 -2
  140. package/dist/src/fractions/gating/index.d.ts.map +0 -1
  141. package/dist/src/fractions/gating/index.js +0 -0
  142. package/dist/src/fractions/gating/v0/getAuthData.d.ts +0 -86
  143. package/dist/src/fractions/gating/v0/getAuthData.d.ts.map +0 -1
  144. package/dist/src/fractions/gating/v0/getAuthData.js +0 -48
  145. package/dist/src/fractions/gating/v0/getNonce.route.d.ts +0 -54
  146. package/dist/src/fractions/gating/v0/getNonce.route.d.ts.map +0 -1
  147. package/dist/src/fractions/gating/v0/getNonce.route.js +0 -40
  148. package/dist/src/fractions/grantRole/v0/grantRole.route.d.ts +0 -65
  149. package/dist/src/fractions/grantRole/v0/grantRole.route.d.ts.map +0 -1
  150. package/dist/src/fractions/grantRole/v0/grantRole.route.js +0 -31
  151. package/dist/src/fractions/grantRole/v0/grantRole.schema.d.ts +0 -26
  152. package/dist/src/fractions/grantRole/v0/grantRole.schema.d.ts.map +0 -1
  153. package/dist/src/fractions/grantRole/v0/grantRole.schema.js +0 -14
  154. package/dist/src/fractions/index.d.ts +0 -968
  155. package/dist/src/fractions/index.d.ts.map +0 -1
  156. package/dist/src/fractions/index.js +0 -91
  157. package/dist/src/fractions/markets/common/platform.d.ts +0 -26
  158. package/dist/src/fractions/markets/common/platform.d.ts.map +0 -1
  159. package/dist/src/fractions/markets/common/platform.js +0 -26
  160. package/dist/src/fractions/markets/getDeployEvent.d.ts +0 -42
  161. package/dist/src/fractions/markets/getDeployEvent.d.ts.map +0 -1
  162. package/dist/src/fractions/markets/getDeployEvent.js +0 -47
  163. package/dist/src/fractions/markets/getMarket/index.d.ts +0 -40
  164. package/dist/src/fractions/markets/getMarket/index.d.ts.map +0 -1
  165. package/dist/src/fractions/markets/getMarket/index.js +0 -4
  166. package/dist/src/fractions/markets/getMarket/v0/getMarket.d.ts +0 -64
  167. package/dist/src/fractions/markets/getMarket/v0/getMarket.d.ts.map +0 -1
  168. package/dist/src/fractions/markets/getMarket/v0/getMarket.js +0 -63
  169. package/dist/src/fractions/markets/index.d.ts +0 -84
  170. package/dist/src/fractions/markets/index.d.ts.map +0 -1
  171. package/dist/src/fractions/markets/index.js +0 -12
  172. package/dist/src/fractions/markets/searchMarkets/index.d.ts +0 -32
  173. package/dist/src/fractions/markets/searchMarkets/index.d.ts.map +0 -1
  174. package/dist/src/fractions/markets/searchMarkets/index.js +0 -4
  175. package/dist/src/fractions/markets/searchMarkets/v0/searchMarkets.d.ts +0 -76
  176. package/dist/src/fractions/markets/searchMarkets/v0/searchMarkets.d.ts.map +0 -1
  177. package/dist/src/fractions/markets/searchMarkets/v0/searchMarkets.js +0 -42
  178. package/dist/src/fractions/purchase/v0/purchase.route.d.ts +0 -89
  179. package/dist/src/fractions/purchase/v0/purchase.route.d.ts.map +0 -1
  180. package/dist/src/fractions/purchase/v0/purchase.route.js +0 -41
  181. package/dist/src/fractions/roles/getRoles/v0/getRoles.d.ts +0 -28
  182. package/dist/src/fractions/roles/getRoles/v0/getRoles.d.ts.map +0 -1
  183. package/dist/src/fractions/roles/getRoles/v0/getRoles.js +0 -41
  184. package/dist/src/fractions/sales/getVaultAddress.d.ts +0 -52
  185. package/dist/src/fractions/sales/getVaultAddress.d.ts.map +0 -1
  186. package/dist/src/fractions/sales/getVaultAddress.js +0 -61
  187. package/dist/src/fractions/sales/getWithdrawEvent.d.ts +0 -42
  188. package/dist/src/fractions/sales/getWithdrawEvent.d.ts.map +0 -1
  189. package/dist/src/fractions/sales/getWithdrawEvent.js +0 -52
  190. package/dist/src/fractions/sales/index.d.ts +0 -10
  191. package/dist/src/fractions/sales/index.d.ts.map +0 -1
  192. package/dist/src/fractions/sales/index.js +0 -10
  193. package/dist/src/fractions/sales/receiveFundsAfterNonFunded.route.d.ts +0 -144
  194. package/dist/src/fractions/sales/receiveFundsAfterNonFunded.route.d.ts.map +0 -1
  195. package/dist/src/fractions/sales/receiveFundsAfterNonFunded.route.js +0 -59
  196. package/dist/src/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts +0 -57
  197. package/dist/src/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts.map +0 -1
  198. package/dist/src/fractions/sales/receiveNonPurchasedWrappedAssets.route.js +0 -27
  199. package/dist/src/fractions/sales/recoverFractions.d.ts +0 -108
  200. package/dist/src/fractions/sales/recoverFractions.d.ts.map +0 -1
  201. package/dist/src/fractions/sales/recoverFractions.js +0 -45
  202. package/dist/src/fractions/sales/rejectFractions.d.ts +0 -80
  203. package/dist/src/fractions/sales/rejectFractions.d.ts.map +0 -1
  204. package/dist/src/fractions/sales/rejectFractions.js +0 -39
  205. package/dist/src/fractions/sales/searchSaleEvents/index.d.ts +0 -2
  206. package/dist/src/fractions/sales/searchSaleEvents/index.d.ts.map +0 -1
  207. package/dist/src/fractions/sales/searchSaleEvents/index.js +0 -0
  208. package/dist/src/fractions/sales/searchSaleEvents/v0/searchSaleEvents.d.ts +0 -89
  209. package/dist/src/fractions/sales/searchSaleEvents/v0/searchSaleEvents.d.ts.map +0 -1
  210. package/dist/src/fractions/sales/searchSaleEvents/v0/searchSaleEvents.js +0 -82
  211. package/dist/src/fractions/sales/setFeeCapLimit.d.ts +0 -75
  212. package/dist/src/fractions/sales/setFeeCapLimit.d.ts.map +0 -1
  213. package/dist/src/fractions/sales/setFeeCapLimit.js +0 -32
  214. package/dist/src/fractions/sales/unlockWrappedAssets.route.d.ts +0 -68
  215. package/dist/src/fractions/sales/unlockWrappedAssets.route.d.ts.map +0 -1
  216. package/dist/src/fractions/sales/unlockWrappedAssets.route.js +0 -31
  217. package/dist/src/fractions/sales/vesting/index.d.ts +0 -2
  218. package/dist/src/fractions/sales/vesting/index.d.ts.map +0 -1
  219. package/dist/src/fractions/sales/vesting/index.js +0 -0
  220. package/dist/src/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts +0 -94
  221. package/dist/src/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts.map +0 -1
  222. package/dist/src/fractions/sales/vesting/v0/claimVestedTokens.route.js +0 -41
  223. package/dist/src/fractions/sales/vesting/v0/editCliff.route.d.ts +0 -87
  224. package/dist/src/fractions/sales/vesting/v0/editCliff.route.d.ts.map +0 -1
  225. package/dist/src/fractions/sales/vesting/v0/editCliff.route.js +0 -40
  226. package/dist/src/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts +0 -48
  227. package/dist/src/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts.map +0 -1
  228. package/dist/src/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.js +0 -58
  229. package/dist/src/fractions/withdraw/v0/withdraw.route.d.ts +0 -68
  230. package/dist/src/fractions/withdraw/v0/withdraw.route.d.ts.map +0 -1
  231. package/dist/src/fractions/withdraw/v0/withdraw.route.js +0 -31
  232. package/dist/src/general/balance-client.d.ts +0 -13
  233. package/dist/src/general/balance-client.d.ts.map +0 -1
  234. package/dist/src/general/balance-client.js +0 -26
  235. package/dist/src/general/common.d.ts +0 -94
  236. package/dist/src/general/common.d.ts.map +0 -1
  237. package/dist/src/general/common.js +0 -35
  238. package/dist/src/general/estimateGas.d.ts +0 -52
  239. package/dist/src/general/estimateGas.d.ts.map +0 -1
  240. package/dist/src/general/estimateGas.js +0 -64
  241. package/dist/src/general/getBalance.d.ts +0 -44
  242. package/dist/src/general/getBalance.d.ts.map +0 -1
  243. package/dist/src/general/getBalance.js +0 -43
  244. package/dist/src/general/getBalancesBatch.d.ts +0 -59
  245. package/dist/src/general/getBalancesBatch.d.ts.map +0 -1
  246. package/dist/src/general/getBalancesBatch.js +0 -34
  247. package/dist/src/general/index.d.ts +0 -100
  248. package/dist/src/general/index.d.ts.map +0 -1
  249. package/dist/src/general/index.js +0 -20
  250. package/dist/src/general/searchBalances.d.ts +0 -78
  251. package/dist/src/general/searchBalances.d.ts.map +0 -1
  252. package/dist/src/general/searchBalances.js +0 -49
  253. package/dist/src/issuance/approve.d.ts +0 -75
  254. package/dist/src/issuance/approve.d.ts.map +0 -1
  255. package/dist/src/issuance/approve.js +0 -36
  256. package/dist/src/issuance/burn.d.ts +0 -75
  257. package/dist/src/issuance/burn.d.ts.map +0 -1
  258. package/dist/src/issuance/burn.js +0 -36
  259. package/dist/src/issuance/deploy.d.ts +0 -88
  260. package/dist/src/issuance/deploy.d.ts.map +0 -1
  261. package/dist/src/issuance/deploy.js +0 -91
  262. package/dist/src/issuance/grantRole.d.ts +0 -78
  263. package/dist/src/issuance/grantRole.d.ts.map +0 -1
  264. package/dist/src/issuance/grantRole.js +0 -50
  265. package/dist/src/issuance/index.d.ts +0 -165
  266. package/dist/src/issuance/index.d.ts.map +0 -1
  267. package/dist/src/issuance/index.js +0 -23
  268. package/dist/src/issuance/mint.d.ts +0 -75
  269. package/dist/src/issuance/mint.d.ts.map +0 -1
  270. package/dist/src/issuance/mint.js +0 -36
  271. package/dist/src/issuance/transfer.d.ts +0 -75
  272. package/dist/src/issuance/transfer.d.ts.map +0 -1
  273. package/dist/src/issuance/transfer.js +0 -36
  274. package/dist/src/serve.d.ts +0 -2
  275. package/dist/src/serve.d.ts.map +0 -1
  276. package/dist/src/serve.js +0 -33
  277. package/dist/src/staking/index.d.ts +0 -242
  278. package/dist/src/staking/index.d.ts.map +0 -1
  279. package/dist/src/staking/index.js +0 -20
  280. package/dist/src/staking/platforms/common/platform.d.ts +0 -26
  281. package/dist/src/staking/platforms/common/platform.d.ts.map +0 -1
  282. package/dist/src/staking/platforms/common/platform.js +0 -26
  283. package/dist/src/staking/platforms/common/platformNotFound.d.ts +0 -9
  284. package/dist/src/staking/platforms/common/platformNotFound.d.ts.map +0 -1
  285. package/dist/src/staking/platforms/common/platformNotFound.js +0 -13
  286. package/dist/src/staking/platforms/getPlatform/index.d.ts +0 -26
  287. package/dist/src/staking/platforms/getPlatform/index.d.ts.map +0 -1
  288. package/dist/src/staking/platforms/getPlatform/index.js +0 -4
  289. package/dist/src/staking/platforms/getPlatform/v0/getPlatform.d.ts +0 -52
  290. package/dist/src/staking/platforms/getPlatform/v0/getPlatform.d.ts.map +0 -1
  291. package/dist/src/staking/platforms/getPlatform/v0/getPlatform.js +0 -58
  292. package/dist/src/staking/platforms/index.d.ts +0 -52
  293. package/dist/src/staking/platforms/index.d.ts.map +0 -1
  294. package/dist/src/staking/platforms/index.js +0 -10
  295. package/dist/src/staking/platforms/searchPlatforms/index.d.ts +0 -32
  296. package/dist/src/staking/platforms/searchPlatforms/index.d.ts.map +0 -1
  297. package/dist/src/staking/platforms/searchPlatforms/index.js +0 -4
  298. package/dist/src/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts +0 -76
  299. package/dist/src/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts.map +0 -1
  300. package/dist/src/staking/platforms/searchPlatforms/v0/searchPlatforms.js +0 -42
  301. package/dist/src/staking/pools/common/pool.d.ts +0 -29
  302. package/dist/src/staking/pools/common/pool.d.ts.map +0 -1
  303. package/dist/src/staking/pools/common/pool.js +0 -28
  304. package/dist/src/staking/pools/common/poolNotFound.d.ts +0 -10
  305. package/dist/src/staking/pools/common/poolNotFound.d.ts.map +0 -1
  306. package/dist/src/staking/pools/common/poolNotFound.js +0 -14
  307. package/dist/src/staking/pools/getPool/index.d.ts +0 -20
  308. package/dist/src/staking/pools/getPool/index.d.ts.map +0 -1
  309. package/dist/src/staking/pools/getPool/index.js +0 -4
  310. package/dist/src/staking/pools/getPool/v0/getPool.d.ts +0 -35
  311. package/dist/src/staking/pools/getPool/v0/getPool.d.ts.map +0 -1
  312. package/dist/src/staking/pools/getPool/v0/getPool.js +0 -64
  313. package/dist/src/staking/pools/index.d.ts +0 -39
  314. package/dist/src/staking/pools/index.d.ts.map +0 -1
  315. package/dist/src/staking/pools/index.js +0 -10
  316. package/dist/src/staking/pools/searchPools/index.d.ts +0 -25
  317. package/dist/src/staking/pools/searchPools/index.d.ts.map +0 -1
  318. package/dist/src/staking/pools/searchPools/index.js +0 -4
  319. package/dist/src/staking/pools/searchPools/v0/searchPools.d.ts +0 -55
  320. package/dist/src/staking/pools/searchPools/v0/searchPools.d.ts.map +0 -1
  321. package/dist/src/staking/pools/searchPools/v0/searchPools.js +0 -42
  322. package/dist/src/staking/roles/common/role.d.ts +0 -13
  323. package/dist/src/staking/roles/common/role.d.ts.map +0 -1
  324. package/dist/src/staking/roles/common/role.js +0 -18
  325. package/dist/src/staking/roles/common/roleAssignment.d.ts +0 -27
  326. package/dist/src/staking/roles/common/roleAssignment.d.ts.map +0 -1
  327. package/dist/src/staking/roles/common/roleAssignment.js +0 -21
  328. package/dist/src/staking/roles/common/roleEvent.d.ts +0 -30
  329. package/dist/src/staking/roles/common/roleEvent.d.ts.map +0 -1
  330. package/dist/src/staking/roles/common/roleEvent.js +0 -23
  331. package/dist/src/staking/roles/getRoles/index.d.ts +0 -26
  332. package/dist/src/staking/roles/getRoles/index.d.ts.map +0 -1
  333. package/dist/src/staking/roles/getRoles/index.js +0 -4
  334. package/dist/src/staking/roles/getRoles/v0/getRoles.d.ts +0 -29
  335. package/dist/src/staking/roles/getRoles/v0/getRoles.d.ts.map +0 -1
  336. package/dist/src/staking/roles/getRoles/v0/getRoles.js +0 -41
  337. package/dist/src/staking/roles/grantRole/index.d.ts +0 -29
  338. package/dist/src/staking/roles/grantRole/index.d.ts.map +0 -1
  339. package/dist/src/staking/roles/grantRole/index.js +0 -4
  340. package/dist/src/staking/roles/grantRole/v0/grantRole.d.ts +0 -63
  341. package/dist/src/staking/roles/grantRole/v0/grantRole.d.ts.map +0 -1
  342. package/dist/src/staking/roles/grantRole/v0/grantRole.js +0 -40
  343. package/dist/src/staking/roles/index.d.ts +0 -93
  344. package/dist/src/staking/roles/index.d.ts.map +0 -1
  345. package/dist/src/staking/roles/index.js +0 -14
  346. package/dist/src/staking/roles/searchRoleEvents/index.d.ts +0 -27
  347. package/dist/src/staking/roles/searchRoleEvents/index.d.ts.map +0 -1
  348. package/dist/src/staking/roles/searchRoleEvents/index.js +0 -4
  349. package/dist/src/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts +0 -63
  350. package/dist/src/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts.map +0 -1
  351. package/dist/src/staking/roles/searchRoleEvents/v0/searchRoleEvents.js +0 -58
  352. package/dist/src/staking/roles/searchRoles/index.d.ts +0 -27
  353. package/dist/src/staking/roles/searchRoles/index.d.ts.map +0 -1
  354. package/dist/src/staking/roles/searchRoles/index.js +0 -4
  355. package/dist/src/staking/roles/searchRoles/v0/searchRoles.d.ts +0 -63
  356. package/dist/src/staking/roles/searchRoles/v0/searchRoles.d.ts.map +0 -1
  357. package/dist/src/staking/roles/searchRoles/v0/searchRoles.js +0 -56
  358. package/dist/src/staking/stakes/common/stake.d.ts +0 -44
  359. package/dist/src/staking/stakes/common/stake.d.ts.map +0 -1
  360. package/dist/src/staking/stakes/common/stake.js +0 -45
  361. package/dist/src/staking/stakes/common/stakeEvent.d.ts +0 -30
  362. package/dist/src/staking/stakes/common/stakeEvent.d.ts.map +0 -1
  363. package/dist/src/staking/stakes/common/stakeEvent.js +0 -24
  364. package/dist/src/staking/stakes/common/stakeNotFound.d.ts +0 -9
  365. package/dist/src/staking/stakes/common/stakeNotFound.d.ts.map +0 -1
  366. package/dist/src/staking/stakes/common/stakeNotFound.js +0 -13
  367. package/dist/src/staking/stakes/getStake/index.d.ts +0 -20
  368. package/dist/src/staking/stakes/getStake/index.d.ts.map +0 -1
  369. package/dist/src/staking/stakes/getStake/index.js +0 -4
  370. package/dist/src/staking/stakes/getStake/v0/getStake.d.ts +0 -35
  371. package/dist/src/staking/stakes/getStake/v0/getStake.d.ts.map +0 -1
  372. package/dist/src/staking/stakes/getStake/v0/getStake.js +0 -64
  373. package/dist/src/staking/stakes/index.d.ts +0 -63
  374. package/dist/src/staking/stakes/index.d.ts.map +0 -1
  375. package/dist/src/staking/stakes/index.js +0 -12
  376. package/dist/src/staking/stakes/searchStakeEvents/index.d.ts +0 -27
  377. package/dist/src/staking/stakes/searchStakeEvents/index.d.ts.map +0 -1
  378. package/dist/src/staking/stakes/searchStakeEvents/index.js +0 -4
  379. package/dist/src/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts.map +0 -1
  380. package/dist/src/staking/stakes/searchStakeEvents/v0/searchStakeEvents.js +0 -59
  381. package/dist/src/staking/stakes/searchStakes/index.d.ts +0 -27
  382. package/dist/src/staking/stakes/searchStakes/index.d.ts.map +0 -1
  383. package/dist/src/staking/stakes/searchStakes/index.js +0 -4
  384. package/dist/src/staking/stakes/searchStakes/v0/searchStakes.d.ts +0 -63
  385. package/dist/src/staking/stakes/searchStakes/v0/searchStakes.d.ts.map +0 -1
  386. package/dist/src/staking/stakes/searchStakes/v0/searchStakes.js +0 -61
  387. package/dist/src/staking-templates/index.d.ts +0 -732
  388. package/dist/src/staking-templates/index.d.ts.map +0 -1
  389. package/dist/src/staking-templates/index.js +0 -18
  390. package/dist/src/staking-templates/templates/common/amount.d.ts +0 -13
  391. package/dist/src/staking-templates/templates/common/amount.d.ts.map +0 -1
  392. package/dist/src/staking-templates/templates/common/amount.js +0 -17
  393. package/dist/src/staking-templates/templates/common/amountMult.d.ts +0 -3
  394. package/dist/src/staking-templates/templates/common/amountMult.d.ts.map +0 -1
  395. package/dist/src/staking-templates/templates/common/amountMult.js +0 -23
  396. package/dist/src/staking-templates/templates/common/erc20Input.d.ts +0 -12
  397. package/dist/src/staking-templates/templates/common/erc20Input.d.ts.map +0 -1
  398. package/dist/src/staking-templates/templates/common/erc20Input.js +0 -16
  399. package/dist/src/staking-templates/templates/common/erc20Reward.d.ts +0 -12
  400. package/dist/src/staking-templates/templates/common/erc20Reward.d.ts.map +0 -1
  401. package/dist/src/staking-templates/templates/common/erc20Reward.js +0 -16
  402. package/dist/src/staking-templates/templates/common/getCreatePoolEvent.d.ts +0 -31
  403. package/dist/src/staking-templates/templates/common/getCreatePoolEvent.d.ts.map +0 -1
  404. package/dist/src/staking-templates/templates/common/getCreatePoolEvent.js +0 -47
  405. package/dist/src/staking-templates/templates/common/getPlatformDeployEvent.d.ts +0 -40
  406. package/dist/src/staking-templates/templates/common/getPlatformDeployEvent.d.ts.map +0 -1
  407. package/dist/src/staking-templates/templates/common/getPlatformDeployEvent.js +0 -46
  408. package/dist/src/staking-templates/templates/common/getReward.d.ts +0 -58
  409. package/dist/src/staking-templates/templates/common/getReward.d.ts.map +0 -1
  410. package/dist/src/staking-templates/templates/common/getReward.js +0 -34
  411. package/dist/src/staking-templates/templates/common/getStakeEvent.d.ts +0 -31
  412. package/dist/src/staking-templates/templates/common/getStakeEvent.d.ts.map +0 -1
  413. package/dist/src/staking-templates/templates/common/getStakeEvent.js +0 -51
  414. package/dist/src/staking-templates/templates/common/lock.d.ts +0 -12
  415. package/dist/src/staking-templates/templates/common/lock.d.ts.map +0 -1
  416. package/dist/src/staking-templates/templates/common/lock.js +0 -20
  417. package/dist/src/staking-templates/templates/common/lockMult.d.ts +0 -3
  418. package/dist/src/staking-templates/templates/common/lockMult.d.ts.map +0 -1
  419. package/dist/src/staking-templates/templates/common/lockMult.js +0 -15
  420. package/dist/src/staking-templates/templates/common/partialUnstake.d.ts +0 -62
  421. package/dist/src/staking-templates/templates/common/partialUnstake.d.ts.map +0 -1
  422. package/dist/src/staking-templates/templates/common/partialUnstake.js +0 -39
  423. package/dist/src/staking-templates/templates/common/rewardDistribution.d.ts +0 -13
  424. package/dist/src/staking-templates/templates/common/rewardDistribution.d.ts.map +0 -1
  425. package/dist/src/staking-templates/templates/common/rewardDistribution.js +0 -19
  426. package/dist/src/staking-templates/templates/common/templates.d.ts +0 -61
  427. package/dist/src/staking-templates/templates/common/templates.d.ts.map +0 -1
  428. package/dist/src/staking-templates/templates/common/templates.js +0 -8
  429. package/dist/src/staking-templates/templates/common/time.d.ts +0 -2
  430. package/dist/src/staking-templates/templates/common/time.d.ts.map +0 -1
  431. package/dist/src/staking-templates/templates/common/time.js +0 -4
  432. package/dist/src/staking-templates/templates/common/unstake.d.ts +0 -58
  433. package/dist/src/staking-templates/templates/common/unstake.d.ts.map +0 -1
  434. package/dist/src/staking-templates/templates/common/unstake.js +0 -34
  435. package/dist/src/staking-templates/templates/reputation/common.d.ts +0 -23
  436. package/dist/src/staking-templates/templates/reputation/common.d.ts.map +0 -1
  437. package/dist/src/staking-templates/templates/reputation/common.js +0 -3
  438. package/dist/src/staking-templates/templates/reputation/index.d.ts +0 -233
  439. package/dist/src/staking-templates/templates/reputation/index.d.ts.map +0 -1
  440. package/dist/src/staking-templates/templates/reputation/index.js +0 -4
  441. package/dist/src/staking-templates/templates/reputation/v0/createPlatform.d.ts +0 -81
  442. package/dist/src/staking-templates/templates/reputation/v0/createPlatform.d.ts.map +0 -1
  443. package/dist/src/staking-templates/templates/reputation/v0/createPlatform.js +0 -56
  444. package/dist/src/staking-templates/templates/reputation/v0/createPool.d.ts +0 -113
  445. package/dist/src/staking-templates/templates/reputation/v0/createPool.d.ts.map +0 -1
  446. package/dist/src/staking-templates/templates/reputation/v0/createPool.js +0 -85
  447. package/dist/src/staking-templates/templates/reputation/v0/index.d.ts +0 -233
  448. package/dist/src/staking-templates/templates/reputation/v0/index.d.ts.map +0 -1
  449. package/dist/src/staking-templates/templates/reputation/v0/index.js +0 -25
  450. package/dist/src/staking-templates/templates/reputation/v0/restake.d.ts +0 -61
  451. package/dist/src/staking-templates/templates/reputation/v0/restake.d.ts.map +0 -1
  452. package/dist/src/staking-templates/templates/reputation/v0/restake.js +0 -40
  453. package/dist/src/staking-templates/templates/reputation/v0/stake.d.ts +0 -61
  454. package/dist/src/staking-templates/templates/reputation/v0/stake.d.ts.map +0 -1
  455. package/dist/src/staking-templates/templates/reputation/v0/stake.js +0 -45
  456. package/dist/src/staking-templates/templates/reputationLock/common.d.ts +0 -23
  457. package/dist/src/staking-templates/templates/reputationLock/common.d.ts.map +0 -1
  458. package/dist/src/staking-templates/templates/reputationLock/common.js +0 -3
  459. package/dist/src/staking-templates/templates/reputationLock/index.d.ts +0 -244
  460. package/dist/src/staking-templates/templates/reputationLock/index.d.ts.map +0 -1
  461. package/dist/src/staking-templates/templates/reputationLock/index.js +0 -4
  462. package/dist/src/staking-templates/templates/reputationLock/v0/createPlatform.d.ts +0 -81
  463. package/dist/src/staking-templates/templates/reputationLock/v0/createPlatform.d.ts.map +0 -1
  464. package/dist/src/staking-templates/templates/reputationLock/v0/createPlatform.js +0 -56
  465. package/dist/src/staking-templates/templates/reputationLock/v0/createPool.d.ts +0 -149
  466. package/dist/src/staking-templates/templates/reputationLock/v0/createPool.d.ts.map +0 -1
  467. package/dist/src/staking-templates/templates/reputationLock/v0/createPool.js +0 -99
  468. package/dist/src/staking-templates/templates/reputationLock/v0/index.d.ts +0 -244
  469. package/dist/src/staking-templates/templates/reputationLock/v0/index.d.ts.map +0 -1
  470. package/dist/src/staking-templates/templates/reputationLock/v0/index.js +0 -25
  471. package/dist/src/staking-templates/templates/reputationLock/v0/restake.d.ts +0 -65
  472. package/dist/src/staking-templates/templates/reputationLock/v0/restake.d.ts.map +0 -1
  473. package/dist/src/staking-templates/templates/reputationLock/v0/restake.js +0 -44
  474. package/dist/src/staking-templates/templates/reputationLock/v0/stake.d.ts +0 -65
  475. package/dist/src/staking-templates/templates/reputationLock/v0/stake.d.ts.map +0 -1
  476. package/dist/src/staking-templates/templates/reputationLock/v0/stake.js +0 -46
  477. package/dist/src/staking-templates/templates/rwa/common.d.ts +0 -23
  478. package/dist/src/staking-templates/templates/rwa/common.d.ts.map +0 -1
  479. package/dist/src/staking-templates/templates/rwa/common.js +0 -3
  480. package/dist/src/staking-templates/templates/rwa/index.d.ts +0 -256
  481. package/dist/src/staking-templates/templates/rwa/index.d.ts.map +0 -1
  482. package/dist/src/staking-templates/templates/rwa/index.js +0 -4
  483. package/dist/src/staking-templates/templates/rwa/v0/createPlatform.d.ts +0 -81
  484. package/dist/src/staking-templates/templates/rwa/v0/createPlatform.d.ts.map +0 -1
  485. package/dist/src/staking-templates/templates/rwa/v0/createPlatform.js +0 -56
  486. package/dist/src/staking-templates/templates/rwa/v0/createPool.d.ts +0 -109
  487. package/dist/src/staking-templates/templates/rwa/v0/createPool.d.ts.map +0 -1
  488. package/dist/src/staking-templates/templates/rwa/v0/createPool.js +0 -79
  489. package/dist/src/staking-templates/templates/rwa/v0/index.d.ts +0 -256
  490. package/dist/src/staking-templates/templates/rwa/v0/index.d.ts.map +0 -1
  491. package/dist/src/staking-templates/templates/rwa/v0/index.js +0 -27
  492. package/dist/src/staking-templates/templates/rwa/v0/notifyRewards.d.ts +0 -61
  493. package/dist/src/staking-templates/templates/rwa/v0/notifyRewards.d.ts.map +0 -1
  494. package/dist/src/staking-templates/templates/rwa/v0/notifyRewards.js +0 -41
  495. package/dist/src/staking-templates/templates/rwa/v0/restake.d.ts +0 -61
  496. package/dist/src/staking-templates/templates/rwa/v0/restake.d.ts.map +0 -1
  497. package/dist/src/staking-templates/templates/rwa/v0/restake.js +0 -40
  498. package/dist/src/staking-templates/templates/rwa/v0/stake.d.ts +0 -61
  499. package/dist/src/staking-templates/templates/rwa/v0/stake.d.ts.map +0 -1
  500. package/dist/src/staking-templates/templates/rwa/v0/stake.js +0 -45
@@ -1,297 +0,0 @@
1
- import { Env } from "hono";
2
- import { Factory } from "hono/factory";
3
- export declare function createDeployMarketTransactionV0<E extends Env>(factory: Factory<E>): [import("hono/types").H<any, string, {}, Promise<Response & import("hono").TypedResponse<{
4
- data: `0x${string}`;
5
- to: `0x${string}`;
6
- details: {
7
- functionName: string;
8
- address: `0x${string}`;
9
- abi: any[];
10
- args: any[];
11
- };
12
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<Env, string, {
13
- in: {
14
- json: {
15
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
16
- adminAddress: `0x${string}`;
17
- discount?: {
18
- burnForDiscount: {
19
- burnableTokenAddress: `0x${string}`;
20
- };
21
- } | undefined;
22
- cap?: {
23
- maxHardCap: bigint;
24
- } | undefined;
25
- fee?: {
26
- percent: number;
27
- } | undefined;
28
- };
29
- };
30
- out: {
31
- json: {
32
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
33
- adminAddress: `0x${string}`;
34
- discount?: {
35
- burnForDiscount: {
36
- burnableTokenAddress: `0x${string}`;
37
- };
38
- } | undefined;
39
- cap?: {
40
- maxHardCap: bigint;
41
- } | undefined;
42
- fee?: {
43
- percent: number;
44
- } | undefined;
45
- };
46
- };
47
- }, Promise<Response & import("hono").TypedResponse<{
48
- data: `0x${string}`;
49
- to: `0x${string}`;
50
- details: {
51
- functionName: string;
52
- address: `0x${string}`;
53
- abi: any[];
54
- args: any[];
55
- };
56
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<import("hono/utils/types").IfAnyThenEmptyObject<E extends Env ? Env extends E ? {} : E : E> & {}, string, {
57
- in: {
58
- json: {
59
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
60
- adminAddress: `0x${string}`;
61
- discount?: {
62
- burnForDiscount: {
63
- burnableTokenAddress: `0x${string}`;
64
- };
65
- } | undefined;
66
- cap?: {
67
- maxHardCap: bigint;
68
- } | undefined;
69
- fee?: {
70
- percent: number;
71
- } | undefined;
72
- };
73
- };
74
- out: {
75
- json: {
76
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
77
- adminAddress: `0x${string}`;
78
- discount?: {
79
- burnForDiscount: {
80
- burnableTokenAddress: `0x${string}`;
81
- };
82
- } | undefined;
83
- cap?: {
84
- maxHardCap: bigint;
85
- } | undefined;
86
- fee?: {
87
- percent: number;
88
- } | undefined;
89
- };
90
- };
91
- }, Promise<Response & import("hono").TypedResponse<{
92
- data: `0x${string}`;
93
- to: `0x${string}`;
94
- details: {
95
- functionName: string;
96
- address: `0x${string}`;
97
- abi: any[];
98
- args: any[];
99
- };
100
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>];
101
- export declare function createDeployCompilotMarketTransactionV0<E extends Env>(factory: Factory<E>): [import("hono/types").H<any, string, {}, Promise<Response & import("hono").TypedResponse<{
102
- data: `0x${string}`;
103
- to: `0x${string}`;
104
- details: {
105
- functionName: string;
106
- address: `0x${string}`;
107
- abi: any[];
108
- args: any[];
109
- };
110
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<Env, string, {
111
- in: {
112
- json: {
113
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
114
- adminAddress: `0x${string}`;
115
- discount?: {
116
- burnForDiscount: {
117
- burnableTokenAddress: `0x${string}`;
118
- };
119
- } | undefined;
120
- cap?: {
121
- maxHardCap: bigint;
122
- } | undefined;
123
- fee?: {
124
- percent: number;
125
- } | undefined;
126
- };
127
- };
128
- out: {
129
- json: {
130
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
131
- adminAddress: `0x${string}`;
132
- discount?: {
133
- burnForDiscount: {
134
- burnableTokenAddress: `0x${string}`;
135
- };
136
- } | undefined;
137
- cap?: {
138
- maxHardCap: bigint;
139
- } | undefined;
140
- fee?: {
141
- percent: number;
142
- } | undefined;
143
- };
144
- };
145
- }, Promise<Response & import("hono").TypedResponse<{
146
- data: `0x${string}`;
147
- to: `0x${string}`;
148
- details: {
149
- functionName: string;
150
- address: `0x${string}`;
151
- abi: any[];
152
- args: any[];
153
- };
154
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<import("hono/utils/types").IfAnyThenEmptyObject<E extends Env ? Env extends E ? {} : E : E> & {}, string, {
155
- in: {
156
- json: {
157
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
158
- adminAddress: `0x${string}`;
159
- discount?: {
160
- burnForDiscount: {
161
- burnableTokenAddress: `0x${string}`;
162
- };
163
- } | undefined;
164
- cap?: {
165
- maxHardCap: bigint;
166
- } | undefined;
167
- fee?: {
168
- percent: number;
169
- } | undefined;
170
- };
171
- };
172
- out: {
173
- json: {
174
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
175
- adminAddress: `0x${string}`;
176
- discount?: {
177
- burnForDiscount: {
178
- burnableTokenAddress: `0x${string}`;
179
- };
180
- } | undefined;
181
- cap?: {
182
- maxHardCap: bigint;
183
- } | undefined;
184
- fee?: {
185
- percent: number;
186
- } | undefined;
187
- };
188
- };
189
- }, Promise<Response & import("hono").TypedResponse<{
190
- data: `0x${string}`;
191
- to: `0x${string}`;
192
- details: {
193
- functionName: string;
194
- address: `0x${string}`;
195
- abi: any[];
196
- args: any[];
197
- };
198
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>];
199
- export declare function createDeployContinuousWithdrawMarketTransactionV0<E extends Env>(factory: Factory<E>): [import("hono/types").H<any, string, {}, Promise<Response & import("hono").TypedResponse<{
200
- data: `0x${string}`;
201
- to: `0x${string}`;
202
- details: {
203
- functionName: string;
204
- address: `0x${string}`;
205
- abi: any[];
206
- args: any[];
207
- };
208
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<Env, string, {
209
- in: {
210
- json: {
211
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
212
- adminAddress: `0x${string}`;
213
- discount?: {
214
- burnForDiscount: {
215
- burnableTokenAddress: `0x${string}`;
216
- };
217
- } | undefined;
218
- cap?: {
219
- maxHardCap: bigint;
220
- } | undefined;
221
- fee?: {
222
- percent: number;
223
- } | undefined;
224
- };
225
- };
226
- out: {
227
- json: {
228
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
229
- adminAddress: `0x${string}`;
230
- discount?: {
231
- burnForDiscount: {
232
- burnableTokenAddress: `0x${string}`;
233
- };
234
- } | undefined;
235
- cap?: {
236
- maxHardCap: bigint;
237
- } | undefined;
238
- fee?: {
239
- percent: number;
240
- } | undefined;
241
- };
242
- };
243
- }, Promise<Response & import("hono").TypedResponse<{
244
- data: `0x${string}`;
245
- to: `0x${string}`;
246
- details: {
247
- functionName: string;
248
- address: `0x${string}`;
249
- abi: any[];
250
- args: any[];
251
- };
252
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<import("hono/utils/types").IfAnyThenEmptyObject<E extends Env ? Env extends E ? {} : E : E> & {}, string, {
253
- in: {
254
- json: {
255
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
256
- adminAddress: `0x${string}`;
257
- discount?: {
258
- burnForDiscount: {
259
- burnableTokenAddress: `0x${string}`;
260
- };
261
- } | undefined;
262
- cap?: {
263
- maxHardCap: bigint;
264
- } | undefined;
265
- fee?: {
266
- percent: number;
267
- } | undefined;
268
- };
269
- };
270
- out: {
271
- json: {
272
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
273
- adminAddress: `0x${string}`;
274
- discount?: {
275
- burnForDiscount: {
276
- burnableTokenAddress: `0x${string}`;
277
- };
278
- } | undefined;
279
- cap?: {
280
- maxHardCap: bigint;
281
- } | undefined;
282
- fee?: {
283
- percent: number;
284
- } | undefined;
285
- };
286
- };
287
- }, Promise<Response & import("hono").TypedResponse<{
288
- data: `0x${string}`;
289
- to: `0x${string}`;
290
- details: {
291
- functionName: string;
292
- address: `0x${string}`;
293
- abi: any[];
294
- args: any[];
295
- };
296
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>];
297
- //# sourceMappingURL=deployMarket.routes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"deployMarket.routes.d.ts","sourceRoot":"","sources":["../../../../../src/fractions/deployMarket/v0/deployMarket.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AA2BvC,wBAAgB,+BAA+B,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEAajF;AAkBD,wBAAgB,uCAAuC,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEAiBzF;AAkBD,wBAAgB,iDAAiD,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEAkBnG"}
@@ -1,98 +0,0 @@
1
- import { DeployMarketRequestSchema } from "./deployMarket.schema.js";
2
- import { describeRoute } from "hono-openapi";
3
- import { resolver, validator } from "hono-openapi/zod";
4
- import { createNidPlatform, createPlatform, createContinousWithdrawPlatform, } from "@evergonlabs/tmi-protocol-fractions-sdk";
5
- import { toTransaction, TransactionSchema } from "../../../common/index.js";
6
- const route = describeRoute({
7
- summary: "Deploy a market",
8
- description: "Returns transaction data for deploying a market",
9
- tags: ["Markets"],
10
- responses: {
11
- 200: {
12
- description: "Returns transaction data for deploying a market",
13
- content: {
14
- "application/json": {
15
- schema: resolver(TransactionSchema),
16
- },
17
- },
18
- },
19
- },
20
- });
21
- export function createDeployMarketTransactionV0(factory) {
22
- return factory.createHandlers(route, validator("json", DeployMarketRequestSchema), async (c) => {
23
- const { chainId, adminAddress, cap, fee, discount } = c.req.valid("json");
24
- const tx = createPlatform({
25
- chainId: chainId,
26
- adminAddress: adminAddress,
27
- discountConfig: discountConfig(discount),
28
- cap: cap,
29
- fee: fee,
30
- });
31
- return c.json(toTransaction(tx));
32
- });
33
- }
34
- const compilotRoute = describeRoute({
35
- summary: "Deploy a market gated by ComPilot",
36
- description: "Returns transaction data for deploying a ComPilot-gated market",
37
- tags: ["Markets"],
38
- responses: {
39
- 200: {
40
- description: "Returns transaction data for deploying a ComPilot-gated market",
41
- content: {
42
- "application/json": {
43
- schema: resolver(TransactionSchema),
44
- },
45
- },
46
- },
47
- },
48
- });
49
- export function createDeployCompilotMarketTransactionV0(factory) {
50
- return factory.createHandlers(compilotRoute, validator("json", DeployMarketRequestSchema.openapi({ ref: "DeployMarketRequestSchema" })), async (c) => {
51
- const { chainId, adminAddress, cap, fee, discount } = c.req.valid("json");
52
- const tx = createNidPlatform({
53
- chainId: chainId,
54
- adminAddress: adminAddress,
55
- discountConfig: discountConfig(discount),
56
- cap: cap,
57
- fee: fee,
58
- });
59
- return c.json(toTransaction(tx));
60
- });
61
- }
62
- const continuousWithdrawRoute = describeRoute({
63
- summary: "Deploy a market with continuous withdraw",
64
- description: "Returns transaction data for deploying a market with continuous withdraw capability",
65
- tags: ["Markets"],
66
- responses: {
67
- 200: {
68
- description: "Returns transaction data for deploying a market with continuous withdraw",
69
- content: {
70
- "application/json": {
71
- schema: resolver(TransactionSchema),
72
- },
73
- },
74
- },
75
- },
76
- });
77
- export function createDeployContinuousWithdrawMarketTransactionV0(factory) {
78
- return factory.createHandlers(continuousWithdrawRoute, validator("json", DeployMarketRequestSchema.openapi({ ref: "DeployMarketRequestSchema" })), async (c) => {
79
- const { chainId, adminAddress, cap, fee, discount } = c.req.valid("json");
80
- const tx = createContinousWithdrawPlatform({
81
- chainId: chainId,
82
- adminAddress: adminAddress,
83
- discountConfig: discountConfig(discount),
84
- cap: cap,
85
- fee: fee,
86
- });
87
- return c.json(toTransaction(tx));
88
- });
89
- }
90
- function discountConfig(discount) {
91
- return discount
92
- ? {
93
- burnForDiscount: {
94
- burnableToken: discount.burnForDiscount.burnableTokenAddress,
95
- },
96
- }
97
- : undefined;
98
- }
@@ -1,96 +0,0 @@
1
- import { z } from "zod";
2
- export declare const DiscountConfigSchema: z.ZodObject<{
3
- burnForDiscount: z.ZodObject<{
4
- burnableTokenAddress: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
5
- }, "strip", z.ZodTypeAny, {
6
- burnableTokenAddress: `0x${string}`;
7
- }, {
8
- burnableTokenAddress: `0x${string}`;
9
- }>;
10
- }, "strip", z.ZodTypeAny, {
11
- burnForDiscount: {
12
- burnableTokenAddress: `0x${string}`;
13
- };
14
- }, {
15
- burnForDiscount: {
16
- burnableTokenAddress: `0x${string}`;
17
- };
18
- }>;
19
- export declare const CapConfigSchema: z.ZodObject<{
20
- maxHardCap: z.ZodBigInt;
21
- }, "strip", z.ZodTypeAny, {
22
- maxHardCap: bigint;
23
- }, {
24
- maxHardCap: bigint;
25
- }>;
26
- export declare const FeeConfigSchema: z.ZodObject<{
27
- percent: z.ZodNumber;
28
- }, "strip", z.ZodTypeAny, {
29
- percent: number;
30
- }, {
31
- percent: number;
32
- }>;
33
- export declare const DeployMarketRequestSchema: z.ZodObject<{
34
- chainId: z.ZodType<import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId, z.ZodTypeDef, import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId>;
35
- adminAddress: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
36
- discount: z.ZodOptional<z.ZodObject<{
37
- burnForDiscount: z.ZodObject<{
38
- burnableTokenAddress: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
39
- }, "strip", z.ZodTypeAny, {
40
- burnableTokenAddress: `0x${string}`;
41
- }, {
42
- burnableTokenAddress: `0x${string}`;
43
- }>;
44
- }, "strip", z.ZodTypeAny, {
45
- burnForDiscount: {
46
- burnableTokenAddress: `0x${string}`;
47
- };
48
- }, {
49
- burnForDiscount: {
50
- burnableTokenAddress: `0x${string}`;
51
- };
52
- }>>;
53
- cap: z.ZodOptional<z.ZodObject<{
54
- maxHardCap: z.ZodBigInt;
55
- }, "strip", z.ZodTypeAny, {
56
- maxHardCap: bigint;
57
- }, {
58
- maxHardCap: bigint;
59
- }>>;
60
- fee: z.ZodOptional<z.ZodObject<{
61
- percent: z.ZodNumber;
62
- }, "strip", z.ZodTypeAny, {
63
- percent: number;
64
- }, {
65
- percent: number;
66
- }>>;
67
- }, "strip", z.ZodTypeAny, {
68
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
69
- adminAddress: `0x${string}`;
70
- discount?: {
71
- burnForDiscount: {
72
- burnableTokenAddress: `0x${string}`;
73
- };
74
- } | undefined;
75
- cap?: {
76
- maxHardCap: bigint;
77
- } | undefined;
78
- fee?: {
79
- percent: number;
80
- } | undefined;
81
- }, {
82
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
83
- adminAddress: `0x${string}`;
84
- discount?: {
85
- burnForDiscount: {
86
- burnableTokenAddress: `0x${string}`;
87
- };
88
- } | undefined;
89
- cap?: {
90
- maxHardCap: bigint;
91
- } | undefined;
92
- fee?: {
93
- percent: number;
94
- } | undefined;
95
- }>;
96
- //# sourceMappingURL=deployMarket.schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"deployMarket.schema.d.ts","sourceRoot":"","sources":["../../../../../src/fractions/deployMarket/v0/deployMarket.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;EAI/B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;EAE1B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;EAE1B,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMpC,CAAC"}
@@ -1,21 +0,0 @@
1
- import { z } from "zod";
2
- import { AddressSchema, PercentageSchema, TmiChainIdSchema } from "../../../common/index.js";
3
- export const DiscountConfigSchema = z.object({
4
- burnForDiscount: z.object({
5
- burnableTokenAddress: AddressSchema,
6
- }),
7
- });
8
- export const CapConfigSchema = z.object({
9
- maxHardCap: z.coerce.bigint().min(BigInt(1)),
10
- });
11
- export const FeeConfigSchema = z.object({
12
- percent: PercentageSchema,
13
- });
14
- export const DeployMarketRequestSchema = z.object({
15
- chainId: TmiChainIdSchema,
16
- adminAddress: AddressSchema,
17
- discount: DiscountConfigSchema.optional(),
18
- cap: CapConfigSchema.optional(),
19
- fee: FeeConfigSchema.optional(),
20
- });
21
- //.openapi({ ref: "DeployMarketRequestSchema" });
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/fractions/gating/index.ts"],"names":[],"mappings":""}
File without changes
@@ -1,86 +0,0 @@
1
- import { Factory } from "hono/factory";
2
- import { Env } from "hono";
3
- import { z } from "zod";
4
- /**
5
- * functionCallData: functionCallData as `0x${string}`,
6
- * contractAddress: diamondAddress_ as string,
7
- * userAddress: creator_.address as string,
8
- * chainID: chainID_,
9
- * nonce: Number(nonce_),
10
- * blockExpiration: blockExpiration_,
11
- */
12
- export declare const TxAuthDataRequestSchema: z.ZodObject<{
13
- marketAddress: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
14
- userAddress: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
15
- chainId: z.ZodType<import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId, z.ZodTypeDef, import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId>;
16
- nonce: z.ZodBigInt;
17
- blockExpiration: z.ZodBigInt;
18
- callData: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
19
- }, "strip", z.ZodTypeAny, {
20
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
21
- nonce: bigint;
22
- blockExpiration: bigint;
23
- userAddress: `0x${string}`;
24
- marketAddress: `0x${string}`;
25
- callData: `0x${string}`;
26
- }, {
27
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
28
- nonce: bigint;
29
- blockExpiration: bigint;
30
- userAddress: `0x${string}`;
31
- marketAddress: `0x${string}`;
32
- callData: `0x${string}`;
33
- }>;
34
- export declare function getTxAuthDataV0<E extends Env>(factory: Factory<E>): [import("hono/types").H<any, string, {}, Promise<Response & import("hono").TypedResponse<{
35
- messageToSign: `0x${string}`;
36
- blockExpiration: `0x${string}`;
37
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<Env, string, {
38
- in: {
39
- json: {
40
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
41
- nonce: bigint;
42
- blockExpiration: bigint;
43
- userAddress: `0x${string}`;
44
- marketAddress: `0x${string}`;
45
- callData: `0x${string}`;
46
- };
47
- };
48
- out: {
49
- json: {
50
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
51
- nonce: bigint;
52
- blockExpiration: bigint;
53
- userAddress: `0x${string}`;
54
- marketAddress: `0x${string}`;
55
- callData: `0x${string}`;
56
- };
57
- };
58
- }, Promise<Response & import("hono").TypedResponse<{
59
- messageToSign: `0x${string}`;
60
- blockExpiration: `0x${string}`;
61
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<import("hono/utils/types").IfAnyThenEmptyObject<E extends Env ? Env extends E ? {} : E : E> & {}, string, {
62
- in: {
63
- json: {
64
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
65
- nonce: bigint;
66
- blockExpiration: bigint;
67
- userAddress: `0x${string}`;
68
- marketAddress: `0x${string}`;
69
- callData: `0x${string}`;
70
- };
71
- };
72
- out: {
73
- json: {
74
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
75
- nonce: bigint;
76
- blockExpiration: bigint;
77
- userAddress: `0x${string}`;
78
- marketAddress: `0x${string}`;
79
- callData: `0x${string}`;
80
- };
81
- };
82
- }, Promise<Response & import("hono").TypedResponse<{
83
- messageToSign: `0x${string}`;
84
- blockExpiration: `0x${string}`;
85
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>];
86
- //# sourceMappingURL=getAuthData.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getAuthData.d.ts","sourceRoot":"","sources":["../../../../../src/fractions/gating/v0/getAuthData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAGvC,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAE3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;;;GAOG;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;EAOlC,CAAC;AAkBH,wBAAgB,eAAe,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEAqBjE"}
@@ -1,48 +0,0 @@
1
- import { describeRoute } from "hono-openapi";
2
- import { resolver, validator } from "hono-openapi/zod";
3
- import { AddressSchema, TmiChainIdSchema } from "../../../common/index.js";
4
- import { z } from "zod";
5
- import { HexStringSchema } from "@evergonlabs/tmi-utils/models";
6
- import { encodePacked, keccak256, padHex, toHex } from "viem";
7
- /**
8
- * functionCallData: functionCallData as `0x${string}`,
9
- * contractAddress: diamondAddress_ as string,
10
- * userAddress: creator_.address as string,
11
- * chainID: chainID_,
12
- * nonce: Number(nonce_),
13
- * blockExpiration: blockExpiration_,
14
- */
15
- export const TxAuthDataRequestSchema = z.object({
16
- marketAddress: AddressSchema,
17
- userAddress: AddressSchema,
18
- chainId: TmiChainIdSchema,
19
- nonce: z.coerce.bigint(),
20
- blockExpiration: z.coerce.bigint(),
21
- callData: HexStringSchema,
22
- });
23
- const route = describeRoute({
24
- summary: "Get TX auth data",
25
- description: "Returns TX auth data ",
26
- tags: ["Signatures"],
27
- responses: {
28
- 200: {
29
- description: "Returns TX auth data",
30
- content: {
31
- "application/json": {
32
- schema: resolver(TxAuthDataRequestSchema),
33
- },
34
- },
35
- },
36
- },
37
- });
38
- export function getTxAuthDataV0(factory) {
39
- return factory.createHandlers(route, validator("json", TxAuthDataRequestSchema.openapi({ ref: "TxAuthDataRequestSchema" })), async (c) => {
40
- const { marketAddress, userAddress, chainId, blockExpiration, callData, nonce } = c.req.valid("json");
41
- const blockExpirationAbi = padHex(toHex(blockExpiration), { size: 32 });
42
- const message = keccak256(encodePacked(["uint256", "uint256", "uint256", "address", "address", "bytes"], [BigInt(chainId), BigInt(nonce), BigInt(blockExpiration), marketAddress, userAddress, callData]));
43
- return c.json({
44
- messageToSign: message,
45
- blockExpiration: blockExpirationAbi,
46
- });
47
- });
48
- }