@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 +0,0 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/common/indexer/schemas.ts"],"names":[],"mappings":"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"}
@@ -1,14 +0,0 @@
1
- import { diamonds, fractionEvents, fractionsMarkets, pools, poolsRelations, roleEvents, roles, stakeEvents, stakes, } from "@evergonlabs/tmi-protocol-indexer/schema";
2
- export const indexerSchemas = {
3
- pools: pools,
4
- poolsRelations: poolsRelations,
5
- diamonds: diamonds,
6
- roles: roles,
7
- roleEvents: roleEvents,
8
- stakes: stakes,
9
- stakeEvents: stakeEvents,
10
- fractions: {
11
- fractionsMarkets: fractionsMarkets,
12
- fractionEvents: fractionEvents,
13
- },
14
- };
@@ -1,5 +0,0 @@
1
- import { z } from "../zod.js";
2
- import { TmiChainId } from "@evergonlabs/tmi-protocol-fractions-sdk";
3
- export declare const StakingChainId: z.ZodType<"11155111" | "31337", z.ZodTypeDef, "11155111" | "31337">;
4
- export declare const TmiChainIdSchema: z.ZodType<TmiChainId, z.ZodTypeDef, TmiChainId>;
5
- //# sourceMappingURL=chainId.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chainId.d.ts","sourceRoot":"","sources":["../../../../src/common/models/chainId.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,WAAW,CAAC;AAC9B,OAAO,EAAE,UAAU,EAA6B,MAAM,yCAAyC,CAAC;AAEhG,eAAO,MAAM,cAAc,qEASvB,CAAC;AAEL,eAAO,MAAM,gBAAgB,iDASzB,CAAC"}
@@ -1,23 +0,0 @@
1
- import { isSupportedChainId, supportedChains } from "@evergonlabs/tmi-protocol-staking-sdk";
2
- import { z } from "../zod.js";
3
- import { isTmiChainId, tmiChainIds } from "@evergonlabs/tmi-protocol-fractions-sdk";
4
- export const StakingChainId = z
5
- .custom((x) => isSupportedChainId(x), {
6
- message: "Unsupported chain id",
7
- })
8
- .openapi({
9
- type: "string",
10
- enum: supportedChains.map((x) => x.toString()),
11
- description: "Supported chain id",
12
- example: "11155111",
13
- });
14
- export const TmiChainIdSchema = z
15
- .custom((x) => isTmiChainId(x), {
16
- message: "Unsupported chain id",
17
- })
18
- .openapi({
19
- type: "string",
20
- enum: tmiChainIds.map((x) => BigInt(x).toString()),
21
- description: "Supported chain id",
22
- example: 11155111,
23
- });
@@ -1,3 +0,0 @@
1
- import { z } from "../zod.js";
2
- export declare const ISOSchema: z.ZodString;
3
- //# sourceMappingURL=date.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../../src/common/models/date.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,WAAW,CAAC;AAE9B,eAAO,MAAM,SAAS,aAGpB,CAAC"}
@@ -1,5 +0,0 @@
1
- import { z } from "../zod.js";
2
- export const ISOSchema = z.string().datetime().openapi({
3
- format: "date-time",
4
- description: "Date ISO format",
5
- });
@@ -1,15 +0,0 @@
1
- import { z } from "../zod.js";
2
- export declare const Erc721Schema: z.ZodObject<{
3
- symbol: z.ZodString;
4
- name: z.ZodString;
5
- baseUri: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodString, string, string>]>;
6
- }, "strip", z.ZodTypeAny, {
7
- symbol: string;
8
- name: string;
9
- baseUri: string;
10
- }, {
11
- symbol: string;
12
- name: string;
13
- baseUri: string;
14
- }>;
15
- //# sourceMappingURL=erc721.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"erc721.d.ts","sourceRoot":"","sources":["../../../../src/common/models/erc721.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,WAAW,CAAC;AAE9B,eAAO,MAAM,YAAY;;;;;;;;;;;;EAkBrB,CAAC"}
@@ -1,21 +0,0 @@
1
- import { HttpsUrlSchema, IpfsUrlSchema } from "@evergonlabs/tmi-utils/models";
2
- import { z } from "../zod.js";
3
- export const Erc721Schema = z
4
- .object({
5
- symbol: z.string().openapi({
6
- example: "TOKEN",
7
- description: "Symbol for ERC721 that is going to be used on-chain",
8
- }),
9
- name: z.string().openapi({
10
- example: "My Staking Platform",
11
- description: "Name for ERC721 that is going to be used on-chain",
12
- }),
13
- baseUri: z.union([IpfsUrlSchema, HttpsUrlSchema]).openapi({
14
- example: "ipfs://",
15
- type: "string",
16
- description: `Use ipfs base uri to maintain decentralized accessibility of metadata.\n\nYou may also specify https but it's not recommended`,
17
- }),
18
- })
19
- .openapi({
20
- ref: "Erc721Meta",
21
- });
@@ -1,7 +0,0 @@
1
- export * from "./routes.js";
2
- export * from "./transaction.js";
3
- export * from "./viem.js";
4
- export * from "./chainId.js";
5
- export * from "./platform.js";
6
- export * from "./percent.js";
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC"}
@@ -1,6 +0,0 @@
1
- export * from "./routes.js";
2
- export * from "./transaction.js";
3
- export * from "./viem.js";
4
- export * from "./chainId.js";
5
- export * from "./platform.js";
6
- export * from "./percent.js";
@@ -1,12 +0,0 @@
1
- import { z } from "../zod.js";
2
- export declare const PageSchema: z.ZodObject<{
3
- skip: z.ZodNumber;
4
- limit: z.ZodNumber;
5
- }, "strip", z.ZodTypeAny, {
6
- skip: number;
7
- limit: number;
8
- }, {
9
- skip: number;
10
- limit: number;
11
- }>;
12
- //# sourceMappingURL=page.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../src/common/models/page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,WAAW,CAAC;AAE9B,eAAO,MAAM,UAAU;;;;;;;;;EAanB,CAAC"}
@@ -1,15 +0,0 @@
1
- import { z } from "../zod.js";
2
- export const PageSchema = z
3
- .object({
4
- skip: z.number().min(0).openapi({
5
- description: "How many entries to skip from the start",
6
- }),
7
- limit: z.number().min(0).max(50).openapi({
8
- description: "How many items per page should be retrieved",
9
- maximum: 50,
10
- }),
11
- })
12
- .openapi({
13
- ref: "PageRequest",
14
- description: "Provide page details in order to implement pagination",
15
- });
@@ -1,3 +0,0 @@
1
- import { z } from "zod";
2
- export declare const PercentageSchema: z.ZodNumber;
3
- //# sourceMappingURL=percent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"percent.d.ts","sourceRoot":"","sources":["../../../../src/common/models/percent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,gBAAgB,aAIiD,CAAC"}
@@ -1,6 +0,0 @@
1
- import { z } from "zod";
2
- export const PercentageSchema = z
3
- .number()
4
- .min(0)
5
- .max(10000)
6
- .openapi({ description: "Percentage in basis points, i.e. 10000bp = 100%" });
@@ -1,4 +0,0 @@
1
- export declare const PlatformContractAddress: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
2
- export declare const StakeIdSchema: import("zod").ZodPipeline<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBigInt]>, import("zod").ZodBigInt>;
3
- export declare const PoolIdSchema: import("zod").ZodPipeline<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBigInt]>, import("zod").ZodBigInt>;
4
- //# sourceMappingURL=platform.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../../../../src/common/models/platform.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,uBAAuB,+EAElC,CAAC;AAEH,eAAO,MAAM,aAAa,yJAGxB,CAAC;AAEH,eAAO,MAAM,YAAY,yJAGvB,CAAC"}
@@ -1,13 +0,0 @@
1
- import { Int256Positive } from "@evergonlabs/tmi-utils/models";
2
- import { AddressSchema } from "./viem.js";
3
- export const PlatformContractAddress = AddressSchema.openapi({
4
- description: "Address of deployed Platform contract",
5
- });
6
- export const StakeIdSchema = Int256Positive.openapi({
7
- description: "Id of a Stake position (NFT Id)",
8
- example: "1",
9
- });
10
- export const PoolIdSchema = Int256Positive.openapi({
11
- description: "Id of a Pool",
12
- example: "1",
13
- });
@@ -1,16 +0,0 @@
1
- import { z } from "../zod.js";
2
- export declare const ErrorSchema: z.ZodObject<{
3
- success: z.ZodLiteral<false>;
4
- message: z.ZodString;
5
- name: z.ZodString;
6
- }, "strip", z.ZodTypeAny, {
7
- success: false;
8
- message: string;
9
- name: string;
10
- }, {
11
- success: false;
12
- message: string;
13
- name: string;
14
- }>;
15
- export declare function toError(error: Error): z.output<typeof ErrorSchema>;
16
- //# sourceMappingURL=routes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../../src/common/models/routes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,WAAW,CAAC;AAE9B,eAAO,MAAM,WAAW;;;;;;;;;;;;EAItB,CAAC;AAEH,wBAAgB,OAAO,CAAC,KAAK,EAAE,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,WAAW,CAAC,CAMlE"}
@@ -1,13 +0,0 @@
1
- import { z } from "../zod.js";
2
- export const ErrorSchema = z.object({
3
- success: z.literal(false),
4
- message: z.string(),
5
- name: z.string(),
6
- });
7
- export function toError(error) {
8
- return {
9
- success: false,
10
- message: error.message,
11
- name: error.name,
12
- };
13
- }
@@ -1,12 +0,0 @@
1
- import { z } from "zod";
2
- export declare const SaleIdSchema: z.ZodObject<{
3
- market: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
4
- campaignId: z.ZodBigInt;
5
- }, "strip", z.ZodTypeAny, {
6
- campaignId: bigint;
7
- market: `0x${string}`;
8
- }, {
9
- campaignId: bigint;
10
- market: `0x${string}`;
11
- }>;
12
- //# sourceMappingURL=saleId.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"saleId.d.ts","sourceRoot":"","sources":["../../../../src/common/models/saleId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,YAAY;;;;;;;;;EAGvB,CAAC"}
@@ -1,6 +0,0 @@
1
- import { z } from "zod";
2
- import { AddressSchema } from "./viem.js";
3
- export const SaleIdSchema = z.object({
4
- market: AddressSchema,
5
- campaignId: z.coerce.bigint(),
6
- });
@@ -1,90 +0,0 @@
1
- import { ITransaction } from "@evergonlabs/tmi-protocol-types/evm";
2
- import { z } from "../zod.js";
3
- export declare const TransactionSchema: z.ZodObject<{
4
- data: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
5
- to: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
6
- details: z.ZodObject<{
7
- functionName: z.ZodString;
8
- address: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
9
- abi: z.ZodArray<z.ZodAny, "many">;
10
- args: z.ZodArray<z.ZodAny, "many">;
11
- }, "strip", z.ZodTypeAny, {
12
- functionName: string;
13
- address: `0x${string}`;
14
- abi: any[];
15
- args: any[];
16
- }, {
17
- functionName: string;
18
- address: `0x${string}`;
19
- abi: any[];
20
- args: any[];
21
- }>;
22
- }, "strip", z.ZodTypeAny, {
23
- data: `0x${string}`;
24
- to: `0x${string}`;
25
- details: {
26
- functionName: string;
27
- address: `0x${string}`;
28
- abi: any[];
29
- args: any[];
30
- };
31
- }, {
32
- data: `0x${string}`;
33
- to: `0x${string}`;
34
- details: {
35
- functionName: string;
36
- address: `0x${string}`;
37
- abi: any[];
38
- args: any[];
39
- };
40
- }>;
41
- export declare const GatedTransactionSchema: z.ZodObject<z.objectUtil.extendShape<{
42
- data: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
43
- to: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
44
- details: z.ZodObject<{
45
- functionName: z.ZodString;
46
- address: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
47
- abi: z.ZodArray<z.ZodAny, "many">;
48
- args: z.ZodArray<z.ZodAny, "many">;
49
- }, "strip", z.ZodTypeAny, {
50
- functionName: string;
51
- address: `0x${string}`;
52
- abi: any[];
53
- args: any[];
54
- }, {
55
- functionName: string;
56
- address: `0x${string}`;
57
- abi: any[];
58
- args: any[];
59
- }>;
60
- }, {}>, "strip", z.ZodTypeAny, {
61
- data: `0x${string}`;
62
- to: `0x${string}`;
63
- details: {
64
- functionName: string;
65
- address: `0x${string}`;
66
- abi: any[];
67
- args: any[];
68
- };
69
- }, {
70
- data: `0x${string}`;
71
- to: `0x${string}`;
72
- details: {
73
- functionName: string;
74
- address: `0x${string}`;
75
- abi: any[];
76
- args: any[];
77
- };
78
- }>;
79
- export declare function toTransaction(tx: ITransaction): z.infer<typeof TransactionSchema>;
80
- export declare const SentTransactionParamsSchema: z.ZodObject<{
81
- chainId: z.ZodType<"11155111" | "31337", z.ZodTypeDef, "11155111" | "31337">;
82
- hash: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
83
- }, "strip", z.ZodTypeAny, {
84
- chainId: "11155111" | "31337";
85
- hash: `0x${string}`;
86
- }, {
87
- chainId: "11155111" | "31337";
88
- hash: `0x${string}`;
89
- }>;
90
- //# sourceMappingURL=transaction.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../../../src/common/models/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAInE,OAAO,EAAE,CAAC,EAAE,MAAM,WAAW,CAAC;AAE9B,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoB1B,CAAC;AAEL,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA+B,CAAC;AAEnE,wBAAgB,aAAa,CAAC,EAAE,EAAE,YAAY,GAavC,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CACvC;AAED,eAAO,MAAM,2BAA2B;;;;;;;;;EAetC,CAAC"}
@@ -1,57 +0,0 @@
1
- import { encodeFunctionData } from "viem";
2
- import { AddressSchema, HashSchema, HexStringSchema } from "./viem.js";
3
- import { StakingChainId } from "./chainId.js";
4
- import { z } from "../zod.js";
5
- export const TransactionSchema = z
6
- .object({
7
- data: HexStringSchema.openapi({ description: "Encoded contract execution data" }),
8
- to: AddressSchema.openapi({ description: "Address of a contract to interact with" }),
9
- details: z.object({
10
- functionName: z.string().openapi({ description: "Function name" }),
11
- address: AddressSchema.openapi({ description: "Address of a contract to interact with" }),
12
- abi: z.array(z.any()).openapi({
13
- description: "ABI of a contract. Can be used for error and data decoding",
14
- type: "array",
15
- }),
16
- args: z.array(z.any()).openapi({
17
- description: "Decoded arguments",
18
- type: "array",
19
- }),
20
- }),
21
- })
22
- .openapi({
23
- ref: "Transaction",
24
- description: "Details of a transaction that can be sent to the blockchain",
25
- });
26
- export const GatedTransactionSchema = TransactionSchema.extend({});
27
- export function toTransaction(tx) {
28
- return {
29
- to: tx.address,
30
- data: encodeFunctionData({
31
- abi: tx.abi,
32
- args: tx.args,
33
- functionName: tx.functionName,
34
- }),
35
- details: {
36
- abi: tx.abi,
37
- args: tx.args,
38
- functionName: tx.functionName,
39
- },
40
- };
41
- }
42
- export const SentTransactionParamsSchema = z.object({
43
- chainId: StakingChainId.openapi({
44
- param: {
45
- name: "chainId",
46
- in: "query",
47
- },
48
- example: "11155111",
49
- }),
50
- hash: HashSchema.openapi({
51
- param: {
52
- name: "hash",
53
- in: "query",
54
- },
55
- example: "0x",
56
- }),
57
- });
@@ -1,4 +0,0 @@
1
- export declare const HexStringSchema: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
2
- export declare const AddressSchema: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
3
- export declare const HashSchema: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
4
- //# sourceMappingURL=viem.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"viem.d.ts","sourceRoot":"","sources":["../../../../src/common/models/viem.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,+EAG1B,CAAC;AAEH,eAAO,MAAM,aAAa,+EAGxB,CAAC;AAEH,eAAO,MAAM,UAAU,+EAIrB,CAAC"}
@@ -1,15 +0,0 @@
1
- import { HexStringSchema as _HexStringSchema, AddressSchema as _AddressSchema } from "@evergonlabs/tmi-utils/models";
2
- import { zeroAddress } from "viem";
3
- export const HexStringSchema = _HexStringSchema.openapi({
4
- type: "string",
5
- example: "0x",
6
- });
7
- export const AddressSchema = _AddressSchema.openapi({
8
- type: "string",
9
- example: zeroAddress,
10
- });
11
- export const HashSchema = _HexStringSchema.openapi({
12
- type: "string",
13
- example: "0x",
14
- description: "Transaction hash",
15
- });
@@ -1,4 +0,0 @@
1
- import { OpenApiSpecsOptions } from "hono-openapi";
2
- import { IApiConfig } from "../common/app.js";
3
- export declare function getOpenApiSpec(config: IApiConfig, baseUrl: string): OpenApiSpecsOptions;
4
- //# sourceMappingURL=openapi.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"openapi.d.ts","sourceRoot":"","sources":["../../../src/common/openapi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAInD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAqB9C,wBAAgB,cAAc,CAAC,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,GAAG,mBAAmB,CAmBvF"}
@@ -1,40 +0,0 @@
1
- import { resolver } from "hono-openapi/zod";
2
- import { version } from "../common/version.js";
3
- import { z } from "../common/zod.js";
4
- const ZodErrorSchema = z
5
- .object({
6
- status: z.literal(400),
7
- message: z.string(),
8
- })
9
- .openapi({
10
- ref: "ZodError",
11
- description: "Validation error",
12
- });
13
- const ZodResponse = {
14
- description: "Zod Error",
15
- content: {
16
- "application/json": {
17
- schema: resolver(ZodErrorSchema),
18
- },
19
- },
20
- };
21
- export function getOpenApiSpec(config, baseUrl) {
22
- return {
23
- documentation: {
24
- info: {
25
- title: config.title,
26
- version: version,
27
- description: config.description,
28
- },
29
- servers: [
30
- {
31
- url: baseUrl,
32
- },
33
- ],
34
- },
35
- defaultOptions: {
36
- GET: { responses: { 400: ZodResponse } },
37
- POST: { responses: { 400: ZodResponse } },
38
- },
39
- };
40
- }
@@ -1,7 +0,0 @@
1
- export type ITag<T extends string = string> = {
2
- tag: T;
3
- };
4
- export declare function createTag<T extends string>(tag: T): {
5
- tag: T;
6
- };
7
- //# sourceMappingURL=tag.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../src/common/tag.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,IAAI,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI;IAC5C,GAAG,EAAE,CAAC,CAAC;CACR,CAAC;AAEF,wBAAgB,SAAS,CAAC,CAAC,SAAS,MAAM,EAAE,GAAG,EAAE,CAAC;;EAIjD"}
@@ -1,5 +0,0 @@
1
- export function createTag(tag) {
2
- return {
3
- tag: tag,
4
- };
5
- }
@@ -1,2 +0,0 @@
1
- export declare const version: string;
2
- //# sourceMappingURL=version.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/common/version.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,QAAc,CAAC"}
@@ -1,2 +0,0 @@
1
- import pkg from "../../package.json";
2
- export const version = pkg.version;
@@ -1,3 +0,0 @@
1
- import "zod-openapi/extend";
2
- export * from "zod";
3
- //# sourceMappingURL=zod.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"zod.d.ts","sourceRoot":"","sources":["../../../src/common/zod.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAC;AAC5B,cAAc,KAAK,CAAC"}
@@ -1,2 +0,0 @@
1
- import "zod-openapi/extend";
2
- export * from "zod";
@@ -1,3 +0,0 @@
1
- import { Env, ErrorHandler } from "hono";
2
- export declare function createErrorHandler<E extends Env>(): ErrorHandler<E>;
3
- //# sourceMappingURL=error.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../src/error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAGzC,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,GAAG,KAAK,YAAY,CAAC,CAAC,CAAC,CAYnE"}
package/dist/src/error.js DELETED
@@ -1,16 +0,0 @@
1
- export function createErrorHandler() {
2
- return (err, c) => {
3
- console.log(err);
4
- return c.json({
5
- success: false,
6
- message: err.message || "Unexpected Error",
7
- name: err.name || "UnknownError",
8
- }, extractCode(err));
9
- };
10
- }
11
- function extractCode(err) {
12
- if ("code" in err && typeof err.code === "number") {
13
- return err.code;
14
- }
15
- return 500;
16
- }
@@ -1,68 +0,0 @@
1
- import { Factory } from "hono/factory";
2
- import { Env } from "hono";
3
- import { z } from "zod";
4
- export declare const ApproveSaleRequestSchema: z.ZodObject<{
5
- marketAddress: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
6
- campaignId: z.ZodBigInt;
7
- }, "strip", z.ZodTypeAny, {
8
- campaignId: bigint;
9
- marketAddress: `0x${string}`;
10
- }, {
11
- campaignId: bigint;
12
- marketAddress: `0x${string}`;
13
- }>;
14
- export declare function createApproveSalesTransactionV0<E extends Env>(factory: Factory<E>): [import("hono/types").H<any, string, {}, Promise<Response & import("hono").TypedResponse<{
15
- data: `0x${string}`;
16
- to: `0x${string}`;
17
- details: {
18
- functionName: string;
19
- address: `0x${string}`;
20
- abi: any[];
21
- args: any[];
22
- };
23
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<Env, string, {
24
- in: {
25
- json: {
26
- campaignId: bigint;
27
- marketAddress: `0x${string}`;
28
- };
29
- };
30
- out: {
31
- json: {
32
- campaignId: bigint;
33
- marketAddress: `0x${string}`;
34
- };
35
- };
36
- }, Promise<Response & import("hono").TypedResponse<{
37
- data: `0x${string}`;
38
- to: `0x${string}`;
39
- details: {
40
- functionName: string;
41
- address: `0x${string}`;
42
- abi: any[];
43
- args: any[];
44
- };
45
- }, 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, {
46
- in: {
47
- json: {
48
- campaignId: bigint;
49
- marketAddress: `0x${string}`;
50
- };
51
- };
52
- out: {
53
- json: {
54
- campaignId: bigint;
55
- marketAddress: `0x${string}`;
56
- };
57
- };
58
- }, Promise<Response & import("hono").TypedResponse<{
59
- data: `0x${string}`;
60
- to: `0x${string}`;
61
- details: {
62
- functionName: string;
63
- address: `0x${string}`;
64
- abi: any[];
65
- args: any[];
66
- };
67
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>];
68
- //# sourceMappingURL=approveSale.route.d.ts.map