@evergonlabs/tmi-protocol-api 0.8.1 → 0.10.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1190) hide show
  1. package/dist/app.d.ts +570 -94
  2. package/dist/app.d.ts.map +1 -1
  3. package/dist/client.d.ts +704 -206
  4. package/dist/client.d.ts.map +1 -1
  5. package/dist/common/middleware/indexer.d.ts +1 -1
  6. package/dist/common/middleware/indexer.d.ts.map +1 -1
  7. package/dist/common/models/base/date.d.ts +6 -0
  8. package/dist/common/models/base/date.d.ts.map +1 -0
  9. package/dist/common/models/base/date.js +13 -0
  10. package/dist/common/models/date.d.ts +1 -5
  11. package/dist/common/models/date.d.ts.map +1 -1
  12. package/dist/common/models/date.js +4 -13
  13. package/dist/common/models/exports.d.ts +1 -0
  14. package/dist/common/models/exports.d.ts.map +1 -1
  15. package/dist/common/models/exports.js +1 -0
  16. package/dist/common/models/index.d.ts +1 -0
  17. package/dist/common/models/index.d.ts.map +1 -1
  18. package/dist/common/models/index.js +1 -0
  19. package/dist/factory.d.ts +1 -3
  20. package/dist/factory.d.ts.map +1 -1
  21. package/dist/fractions/fractions/approveWrapper.route.d.ts +3 -3
  22. package/dist/fractions/fractions/approveWrapper.route.d.ts.map +1 -1
  23. package/dist/fractions/fractions/index.d.ts +1 -1
  24. package/dist/fractions/fractions/index.d.ts.map +1 -1
  25. package/dist/fractions/index.d.ts +154 -6
  26. package/dist/fractions/index.d.ts.map +1 -1
  27. package/dist/fractions/markets/common/platform.d.ts.map +1 -1
  28. package/dist/fractions/markets/common/platform.js +2 -1
  29. package/dist/fractions/markets/getDeployEvent.d.ts +1 -1
  30. package/dist/fractions/markets/getDeployEvent.d.ts.map +1 -1
  31. package/dist/fractions/markets/getMarket/getMarket.d.ts +22 -2
  32. package/dist/fractions/markets/getMarket/getMarket.d.ts.map +1 -1
  33. package/dist/fractions/markets/getMarket/index.d.ts +22 -2
  34. package/dist/fractions/markets/getMarket/index.d.ts.map +1 -1
  35. package/dist/fractions/markets/index.d.ts +43 -3
  36. package/dist/fractions/markets/index.d.ts.map +1 -1
  37. package/dist/fractions/markets/searchMarkets/index.d.ts +22 -2
  38. package/dist/fractions/markets/searchMarkets/index.d.ts.map +1 -1
  39. package/dist/fractions/markets/searchMarkets/searchMarkets.d.ts +22 -2
  40. package/dist/fractions/markets/searchMarkets/searchMarkets.d.ts.map +1 -1
  41. package/dist/fractions/platforms/deployMarket.routes.d.ts +4 -4
  42. package/dist/fractions/platforms/deployMarket.routes.d.ts.map +1 -1
  43. package/dist/fractions/platforms/index.d.ts +1 -1
  44. package/dist/fractions/platforms/index.d.ts.map +1 -1
  45. package/dist/fractions/platforms/initCompilot.routes.d.ts +1 -1
  46. package/dist/fractions/platforms/initCompilot.routes.d.ts.map +1 -1
  47. package/dist/fractions/platforms/initNid.route.d.ts +1 -1
  48. package/dist/fractions/platforms/initNid.route.d.ts.map +1 -1
  49. package/dist/fractions/roles/getRoles.d.ts +1 -1
  50. package/dist/fractions/roles/getRoles.d.ts.map +1 -1
  51. package/dist/fractions/roles/grantRole.route.d.ts +1 -1
  52. package/dist/fractions/roles/grantRole.route.d.ts.map +1 -1
  53. package/dist/fractions/roles/index.d.ts +1 -1
  54. package/dist/fractions/roles/index.d.ts.map +1 -1
  55. package/dist/fractions/sales/approveSale.route.d.ts +1 -1
  56. package/dist/fractions/sales/approveSale.route.d.ts.map +1 -1
  57. package/dist/fractions/sales/common/fractionsSale.d.ts.map +1 -1
  58. package/dist/fractions/sales/common/fractionsSale.js +2 -1
  59. package/dist/fractions/sales/completeSale.route.d.ts +1 -1
  60. package/dist/fractions/sales/completeSale.route.d.ts.map +1 -1
  61. package/dist/fractions/sales/createFractions.route.d.ts +1 -1
  62. package/dist/fractions/sales/createFractions.route.d.ts.map +1 -1
  63. package/dist/fractions/sales/createFractions.schema.js +1 -1
  64. package/dist/fractions/sales/getFractionSaleStatistics.route.d.ts +1 -1
  65. package/dist/fractions/sales/getFractionSaleStatistics.route.d.ts.map +1 -1
  66. package/dist/fractions/sales/getVaultAddress.d.ts +1 -1
  67. package/dist/fractions/sales/getVaultAddress.d.ts.map +1 -1
  68. package/dist/fractions/sales/getWithdrawEvent.d.ts +1 -1
  69. package/dist/fractions/sales/getWithdrawEvent.d.ts.map +1 -1
  70. package/dist/fractions/sales/index.d.ts +112 -4
  71. package/dist/fractions/sales/index.d.ts.map +1 -1
  72. package/dist/fractions/sales/parseFractionsCreatedEvent.d.ts +1 -1
  73. package/dist/fractions/sales/parseFractionsCreatedEvent.d.ts.map +1 -1
  74. package/dist/fractions/sales/purchase.route.d.ts +1 -1
  75. package/dist/fractions/sales/purchase.route.d.ts.map +1 -1
  76. package/dist/fractions/sales/purchaseStatistics.route.d.ts +1 -1
  77. package/dist/fractions/sales/purchaseStatistics.route.d.ts.map +1 -1
  78. package/dist/fractions/sales/receiveFundsAfterNonFunded.route.d.ts +2 -2
  79. package/dist/fractions/sales/receiveFundsAfterNonFunded.route.d.ts.map +1 -1
  80. package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts +1 -1
  81. package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts.map +1 -1
  82. package/dist/fractions/sales/recoverFractions.d.ts +1 -1
  83. package/dist/fractions/sales/recoverFractions.d.ts.map +1 -1
  84. package/dist/fractions/sales/rejectFractions.d.ts +1 -1
  85. package/dist/fractions/sales/rejectFractions.d.ts.map +1 -1
  86. package/dist/fractions/sales/searchActivity.route.d.ts +1 -1
  87. package/dist/fractions/sales/searchActivity.route.d.ts.map +1 -1
  88. package/dist/fractions/sales/searchSales/searchSales.d.ts +67 -2
  89. package/dist/fractions/sales/searchSales/searchSales.d.ts.map +1 -1
  90. package/dist/fractions/sales/searchWithdrawal.route.d.ts +35 -2
  91. package/dist/fractions/sales/searchWithdrawal.route.d.ts.map +1 -1
  92. package/dist/fractions/sales/setFeeCapLimit.d.ts +1 -1
  93. package/dist/fractions/sales/setFeeCapLimit.d.ts.map +1 -1
  94. package/dist/fractions/sales/unlockWrappedAssets.route.d.ts +1 -1
  95. package/dist/fractions/sales/unlockWrappedAssets.route.d.ts.map +1 -1
  96. package/dist/fractions/sales/vesting/claimStatistics.route.d.ts +12 -2
  97. package/dist/fractions/sales/vesting/claimStatistics.route.d.ts.map +1 -1
  98. package/dist/fractions/sales/vesting/claimVestedTokens.route.d.ts +1 -1
  99. package/dist/fractions/sales/vesting/claimVestedTokens.route.d.ts.map +1 -1
  100. package/dist/fractions/sales/vesting/editCliff.route.d.ts +1 -1
  101. package/dist/fractions/sales/vesting/editCliff.route.d.ts.map +1 -1
  102. package/dist/fractions/sales/vesting/editCliff.route.js +1 -1
  103. package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.d.ts +1 -1
  104. package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.d.ts.map +1 -1
  105. package/dist/fractions/sales/withdraw.route.d.ts +1 -1
  106. package/dist/fractions/sales/withdraw.route.d.ts.map +1 -1
  107. package/dist/fractions/sig/getAuthData.d.ts +1 -1
  108. package/dist/fractions/sig/getAuthData.d.ts.map +1 -1
  109. package/dist/fractions/sig/getNonce.route.d.ts +1 -1
  110. package/dist/fractions/sig/getNonce.route.d.ts.map +1 -1
  111. package/dist/fractions/sig/index.d.ts +1 -1
  112. package/dist/fractions/sig/index.d.ts.map +1 -1
  113. package/dist/fractions/statistics/index.d.ts +1 -1
  114. package/dist/fractions/statistics/index.d.ts.map +1 -1
  115. package/dist/fractions/statistics/networkStatistics.route.d.ts +4 -4
  116. package/dist/fractions/statistics/networkStatistics.route.d.ts.map +1 -1
  117. package/dist/general/estimateGas.d.ts +1 -1
  118. package/dist/general/estimateGas.d.ts.map +1 -1
  119. package/dist/general/getBalance.d.ts +1 -1
  120. package/dist/general/getBalance.d.ts.map +1 -1
  121. package/dist/general/getBalancesBatch.d.ts +1 -1
  122. package/dist/general/getBalancesBatch.d.ts.map +1 -1
  123. package/dist/general/index.d.ts +1 -1
  124. package/dist/general/index.d.ts.map +1 -1
  125. package/dist/general/searchBalances.d.ts +1 -1
  126. package/dist/general/searchBalances.d.ts.map +1 -1
  127. package/dist/issuance/common/exports.d.ts +1 -1
  128. package/dist/issuance/common/exports.d.ts.map +1 -1
  129. package/dist/issuance/common/exports.js +1 -1
  130. package/dist/issuance/common/factories.base.d.ts +167 -0
  131. package/dist/issuance/common/factories.base.d.ts.map +1 -0
  132. package/dist/issuance/common/factories.base.js +15 -0
  133. package/dist/issuance/common/factories.d.ts +1 -166
  134. package/dist/issuance/common/factories.d.ts.map +1 -1
  135. package/dist/issuance/common/factories.js +2 -15
  136. package/dist/issuance/erc20/approve.d.ts +1 -1
  137. package/dist/issuance/erc20/approve.d.ts.map +1 -1
  138. package/dist/issuance/erc20/burn.d.ts +1 -1
  139. package/dist/issuance/erc20/burn.d.ts.map +1 -1
  140. package/dist/issuance/erc20/{deploy.d.ts → default/deploy.d.ts} +2 -2
  141. package/dist/issuance/erc20/default/deploy.d.ts.map +1 -0
  142. package/dist/issuance/erc20/{deploy.js → default/deploy.js} +6 -4
  143. package/dist/issuance/erc20/default/initialize.d.ts +38 -0
  144. package/dist/issuance/erc20/default/initialize.d.ts.map +1 -0
  145. package/dist/issuance/erc20/default/initialize.js +43 -0
  146. package/dist/issuance/erc20/default/parseDeployEvent.d.ts +23 -0
  147. package/dist/issuance/erc20/default/parseDeployEvent.d.ts.map +1 -0
  148. package/dist/issuance/erc20/{parseErc20DeployEvent.js → default/parseDeployEvent.js} +11 -11
  149. package/dist/issuance/erc20/{deployGated.d.ts → gated/deploy.d.ts} +3 -3
  150. package/dist/issuance/erc20/gated/deploy.d.ts.map +1 -0
  151. package/dist/issuance/erc20/{deployGated.js → gated/deploy.js} +7 -5
  152. package/dist/issuance/erc20/{initialize.d.ts → gated/initialize.d.ts} +3 -3
  153. package/dist/issuance/erc20/gated/initialize.d.ts.map +1 -0
  154. package/dist/issuance/erc20/{initialize.js → gated/initialize.js} +7 -7
  155. package/dist/issuance/erc20/{parseErc20DeployEvent.d.ts → gated/parseDeployEvent.d.ts} +3 -3
  156. package/dist/issuance/erc20/gated/parseDeployEvent.d.ts.map +1 -0
  157. package/dist/issuance/erc20/gated/parseDeployEvent.js +79 -0
  158. package/dist/issuance/erc20/gatedSimple/deploy.d.ts +15 -0
  159. package/dist/issuance/erc20/gatedSimple/deploy.d.ts.map +1 -0
  160. package/dist/issuance/erc20/gatedSimple/deploy.js +28 -0
  161. package/dist/issuance/erc20/gatedSimple/getInitData.d.ts +32 -0
  162. package/dist/issuance/erc20/gatedSimple/getInitData.d.ts.map +1 -0
  163. package/dist/issuance/erc20/{getInitData.js → gatedSimple/getInitData.js} +8 -6
  164. package/dist/issuance/erc20/gatedSimple/parseDeployEvent.d.ts +18 -0
  165. package/dist/issuance/erc20/gatedSimple/parseDeployEvent.d.ts.map +1 -0
  166. package/dist/issuance/erc20/gatedSimple/parseDeployEvent.js +63 -0
  167. package/dist/issuance/erc20/grantRole.d.ts +1 -1
  168. package/dist/issuance/erc20/grantRole.d.ts.map +1 -1
  169. package/dist/issuance/erc20/index.d.ts +126 -30
  170. package/dist/issuance/erc20/index.d.ts.map +1 -1
  171. package/dist/issuance/erc20/index.js +21 -7
  172. package/dist/issuance/erc20/mint.d.ts +1 -1
  173. package/dist/issuance/erc20/mint.d.ts.map +1 -1
  174. package/dist/issuance/erc20/recover.d.ts +1 -1
  175. package/dist/issuance/erc20/recover.d.ts.map +1 -1
  176. package/dist/issuance/erc20/renounceRole.d.ts +1 -1
  177. package/dist/issuance/erc20/renounceRole.d.ts.map +1 -1
  178. package/dist/issuance/erc20/revokeRole.d.ts +1 -1
  179. package/dist/issuance/erc20/revokeRole.d.ts.map +1 -1
  180. package/dist/issuance/erc20/transfer.d.ts +1 -1
  181. package/dist/issuance/erc20/transfer.d.ts.map +1 -1
  182. package/dist/issuance/erc20/transferFrom.d.ts +1 -1
  183. package/dist/issuance/erc20/transferFrom.d.ts.map +1 -1
  184. package/dist/issuance/erc721/approve.d.ts +1 -1
  185. package/dist/issuance/erc721/approve.d.ts.map +1 -1
  186. package/dist/issuance/erc721/burn.d.ts +1 -1
  187. package/dist/issuance/erc721/burn.d.ts.map +1 -1
  188. package/dist/issuance/erc721/{deploy.d.ts → default/deploy.d.ts} +2 -2
  189. package/dist/issuance/erc721/default/deploy.d.ts.map +1 -0
  190. package/dist/issuance/erc721/{deploy.js → default/deploy.js} +6 -4
  191. package/dist/issuance/erc721/{initialize.d.ts → default/initialize.d.ts} +2 -2
  192. package/dist/issuance/erc721/default/initialize.d.ts.map +1 -0
  193. package/dist/issuance/erc721/{initialize.js → default/initialize.js} +3 -3
  194. package/dist/issuance/erc721/default/parseDeployEvent.d.ts +23 -0
  195. package/dist/issuance/erc721/default/parseDeployEvent.d.ts.map +1 -0
  196. package/dist/issuance/erc721/{parseErc721DeployEvent.js → default/parseDeployEvent.js} +10 -10
  197. package/dist/issuance/erc721/{deployGated.d.ts → gated/deploy.d.ts} +3 -3
  198. package/dist/issuance/erc721/gated/deploy.d.ts.map +1 -0
  199. package/dist/issuance/erc721/{deployGated.js → gated/deploy.js} +7 -5
  200. package/dist/issuance/erc721/gated/initialize.d.ts +40 -0
  201. package/dist/issuance/erc721/gated/initialize.d.ts.map +1 -0
  202. package/dist/issuance/erc721/gated/initialize.js +44 -0
  203. package/dist/issuance/erc721/{parseErc721DeployEvent.d.ts → gated/parseDeployEvent.d.ts} +3 -3
  204. package/dist/issuance/erc721/gated/parseDeployEvent.d.ts.map +1 -0
  205. package/dist/issuance/erc721/gated/parseDeployEvent.js +78 -0
  206. package/dist/issuance/erc721/grantRole.d.ts +1 -1
  207. package/dist/issuance/erc721/grantRole.d.ts.map +1 -1
  208. package/dist/issuance/erc721/index.d.ts +78 -29
  209. package/dist/issuance/erc721/index.d.ts.map +1 -1
  210. package/dist/issuance/erc721/index.js +14 -7
  211. package/dist/issuance/erc721/mint.d.ts +1 -1
  212. package/dist/issuance/erc721/mint.d.ts.map +1 -1
  213. package/dist/issuance/erc721/recover.d.ts +1 -1
  214. package/dist/issuance/erc721/recover.d.ts.map +1 -1
  215. package/dist/issuance/erc721/renounceRole.d.ts +1 -1
  216. package/dist/issuance/erc721/renounceRole.d.ts.map +1 -1
  217. package/dist/issuance/erc721/revokeRole.d.ts +1 -1
  218. package/dist/issuance/erc721/revokeRole.d.ts.map +1 -1
  219. package/dist/issuance/erc721/setBaseURI.d.ts +1 -1
  220. package/dist/issuance/erc721/setBaseURI.d.ts.map +1 -1
  221. package/dist/issuance/erc721/setTokenURI.d.ts +1 -1
  222. package/dist/issuance/erc721/setTokenURI.d.ts.map +1 -1
  223. package/dist/issuance/erc721/transferFrom.d.ts +1 -1
  224. package/dist/issuance/erc721/transferFrom.d.ts.map +1 -1
  225. package/dist/issuance/index.d.ts +186 -41
  226. package/dist/issuance/index.d.ts.map +1 -1
  227. package/dist/issuance/proxy/deploy.d.ts +2 -2
  228. package/dist/issuance/proxy/deploy.d.ts.map +1 -1
  229. package/dist/issuance/proxy/index.d.ts +1 -1
  230. package/dist/issuance/proxy/index.d.ts.map +1 -1
  231. package/dist/issuance/proxy/upgrade.d.ts +1 -1
  232. package/dist/issuance/proxy/upgrade.d.ts.map +1 -1
  233. package/dist/next/fractions/index.d.ts +109 -28
  234. package/dist/next/fractions/index.d.ts.map +1 -1
  235. package/dist/next/fractions/lending/buyback/buyback.routes.d.ts +1 -1
  236. package/dist/next/fractions/lending/buyback/buyback.routes.d.ts.map +1 -1
  237. package/dist/next/fractions/lending/createLendingSale.d.ts +1 -1
  238. package/dist/next/fractions/lending/createLendingSale.d.ts.map +1 -1
  239. package/dist/next/fractions/lending/deployMarket/lending.routes.d.ts +1 -1
  240. package/dist/next/fractions/lending/deployMarket/lending.routes.d.ts.map +1 -1
  241. package/dist/next/fractions/lending/index.d.ts +27 -26
  242. package/dist/next/fractions/lending/index.d.ts.map +1 -1
  243. package/dist/next/fractions/lending/index.js +2 -2
  244. package/dist/next/fractions/lending/purchase/directPurchase.route.d.ts +1 -1
  245. package/dist/next/fractions/lending/purchase/directPurchase.route.d.ts.map +1 -1
  246. package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts +1 -1
  247. package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts.map +1 -1
  248. package/dist/next/fractions/platforms/default/deployNftFractionsMarket.routes.d.ts +38 -0
  249. package/dist/next/fractions/platforms/default/deployNftFractionsMarket.routes.d.ts.map +1 -0
  250. package/dist/next/fractions/platforms/default/deployNftFractionsMarket.routes.js +39 -0
  251. package/dist/next/fractions/platforms/default/deployNftFractionsMarket.schema.d.ts +25 -0
  252. package/dist/next/fractions/platforms/default/deployNftFractionsMarket.schema.d.ts.map +1 -0
  253. package/dist/{fractions/nftfractions/v0 → next/fractions/platforms/default}/deployNftFractionsMarket.schema.js +7 -12
  254. package/dist/next/fractions/platforms/deployNftFractionsMarket.routes.d.ts +1 -1
  255. package/dist/next/fractions/platforms/deployNftFractionsMarket.routes.d.ts.map +1 -1
  256. package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.routes.d.ts +39 -0
  257. package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.routes.d.ts.map +1 -0
  258. package/dist/{fractions/platforms → next/fractions/platforms/gated}/deployNftFractionsMarket.routes.js +11 -23
  259. package/dist/{fractions/platforms → next/fractions/platforms/gated}/deployNftFractionsMarket.schema.d.ts +4 -8
  260. package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.schema.d.ts.map +1 -0
  261. package/dist/{fractions/platforms → next/fractions/platforms/gated}/deployNftFractionsMarket.schema.js +6 -11
  262. package/dist/next/fractions/platforms/index.d.ts +34 -1
  263. package/dist/next/fractions/platforms/index.d.ts.map +1 -1
  264. package/dist/next/fractions/platforms/index.js +6 -2
  265. package/dist/next/fractions/sales/createNftFractions.routes.d.ts +1 -1
  266. package/dist/next/fractions/sales/createNftFractions.routes.d.ts.map +1 -1
  267. package/dist/next/fractions/sales/createNftFractions.schema.js +1 -1
  268. package/dist/next/fractions/sales/index.d.ts +48 -1
  269. package/dist/next/fractions/sales/index.d.ts.map +1 -1
  270. package/dist/next/fractions/sales/index.js +7 -1
  271. package/dist/next/fractions/sales/parseFractionsCreatedEvent.d.ts +23 -0
  272. package/dist/next/fractions/sales/parseFractionsCreatedEvent.d.ts.map +1 -0
  273. package/dist/{src/fractions/createFractions/v0 → next/fractions/sales}/parseFractionsCreatedEvent.js +27 -19
  274. package/dist/next/fractions/sales/purchase.routes.d.ts +27 -0
  275. package/dist/next/fractions/sales/purchase.routes.d.ts.map +1 -0
  276. package/dist/next/fractions/sales/purchase.routes.js +37 -0
  277. package/dist/staking/index.d.ts +76 -8
  278. package/dist/staking/index.d.ts.map +1 -1
  279. package/dist/staking/platforms/common/platform.d.ts.map +1 -1
  280. package/dist/staking/platforms/common/platform.js +2 -1
  281. package/dist/staking/platforms/getPlatform/index.d.ts +1 -1
  282. package/dist/staking/platforms/getPlatform/index.d.ts.map +1 -1
  283. package/dist/staking/platforms/getPlatform/v0/getPlatform.d.ts +1 -1
  284. package/dist/staking/platforms/getPlatform/v0/getPlatform.d.ts.map +1 -1
  285. package/dist/staking/platforms/index.d.ts +1 -1
  286. package/dist/staking/platforms/index.d.ts.map +1 -1
  287. package/dist/staking/platforms/searchPlatforms/index.d.ts +1 -1
  288. package/dist/staking/platforms/searchPlatforms/index.d.ts.map +1 -1
  289. package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts +1 -1
  290. package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts.map +1 -1
  291. package/dist/staking/pools/common/pool.d.ts.map +1 -1
  292. package/dist/staking/pools/common/pool.js +2 -1
  293. package/dist/staking/pools/getPool/index.d.ts +10 -2
  294. package/dist/staking/pools/getPool/index.d.ts.map +1 -1
  295. package/dist/staking/pools/getPool/v0/getPool.d.ts +11 -2
  296. package/dist/staking/pools/getPool/v0/getPool.d.ts.map +1 -1
  297. package/dist/staking/pools/index.d.ts +19 -3
  298. package/dist/staking/pools/index.d.ts.map +1 -1
  299. package/dist/staking/pools/searchPools/index.d.ts +10 -2
  300. package/dist/staking/pools/searchPools/index.d.ts.map +1 -1
  301. package/dist/staking/pools/searchPools/v0/searchPools.d.ts +11 -2
  302. package/dist/staking/pools/searchPools/v0/searchPools.d.ts.map +1 -1
  303. package/dist/staking/roles/getRoles/index.d.ts +1 -1
  304. package/dist/staking/roles/getRoles/index.d.ts.map +1 -1
  305. package/dist/staking/roles/getRoles/v0/getRoles.d.ts +1 -1
  306. package/dist/staking/roles/getRoles/v0/getRoles.d.ts.map +1 -1
  307. package/dist/staking/roles/grantRole/index.d.ts +1 -1
  308. package/dist/staking/roles/grantRole/index.d.ts.map +1 -1
  309. package/dist/staking/roles/grantRole/v0/grantRole.d.ts +1 -1
  310. package/dist/staking/roles/grantRole/v0/grantRole.d.ts.map +1 -1
  311. package/dist/staking/roles/index.d.ts +20 -3
  312. package/dist/staking/roles/index.d.ts.map +1 -1
  313. package/dist/staking/roles/searchRoleEvents/index.d.ts +11 -2
  314. package/dist/staking/roles/searchRoleEvents/index.d.ts.map +1 -1
  315. package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts +11 -2
  316. package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts.map +1 -1
  317. package/dist/staking/roles/searchRoles/index.d.ts +10 -2
  318. package/dist/staking/roles/searchRoles/index.d.ts.map +1 -1
  319. package/dist/staking/roles/searchRoles/v0/searchRoles.d.ts +11 -2
  320. package/dist/staking/roles/searchRoles/v0/searchRoles.d.ts.map +1 -1
  321. package/dist/staking/roles/searchRoles/v0/searchRoles.js +1 -1
  322. package/dist/staking/stakes/common/stake.d.ts.map +1 -1
  323. package/dist/staking/stakes/common/stake.js +2 -1
  324. package/dist/staking/stakes/getStake/index.d.ts +15 -2
  325. package/dist/staking/stakes/getStake/index.d.ts.map +1 -1
  326. package/dist/staking/stakes/getStake/v0/getStake.d.ts +15 -2
  327. package/dist/staking/stakes/getStake/v0/getStake.d.ts.map +1 -1
  328. package/dist/staking/stakes/index.d.ts +39 -4
  329. package/dist/staking/stakes/index.d.ts.map +1 -1
  330. package/dist/staking/stakes/searchStakeEvents/index.d.ts +11 -2
  331. package/dist/staking/stakes/searchStakeEvents/index.d.ts.map +1 -1
  332. package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts +12 -2
  333. package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts.map +1 -1
  334. package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.js +1 -1
  335. package/dist/staking/stakes/searchStakes/index.d.ts +15 -2
  336. package/dist/staking/stakes/searchStakes/index.d.ts.map +1 -1
  337. package/dist/staking/stakes/searchStakes/v0/searchStakes.d.ts +15 -2
  338. package/dist/staking/stakes/searchStakes/v0/searchStakes.d.ts.map +1 -1
  339. package/dist/stakingTemplates/index.d.ts +43 -7
  340. package/dist/stakingTemplates/index.d.ts.map +1 -1
  341. package/dist/stakingTemplates/templates/common/getCreatePoolEvent.d.ts +6 -2
  342. package/dist/stakingTemplates/templates/common/getCreatePoolEvent.d.ts.map +1 -1
  343. package/dist/stakingTemplates/templates/common/getPlatformDeployEvent.d.ts +1 -1
  344. package/dist/stakingTemplates/templates/common/getPlatformDeployEvent.d.ts.map +1 -1
  345. package/dist/stakingTemplates/templates/common/getReward.d.ts +1 -1
  346. package/dist/stakingTemplates/templates/common/getReward.d.ts.map +1 -1
  347. package/dist/stakingTemplates/templates/common/getStakeEvent.d.ts +10 -2
  348. package/dist/stakingTemplates/templates/common/getStakeEvent.d.ts.map +1 -1
  349. package/dist/stakingTemplates/templates/common/partialUnstake.d.ts +1 -1
  350. package/dist/stakingTemplates/templates/common/partialUnstake.d.ts.map +1 -1
  351. package/dist/stakingTemplates/templates/common/time.js +1 -1
  352. package/dist/stakingTemplates/templates/common/unstake.d.ts +1 -1
  353. package/dist/stakingTemplates/templates/common/unstake.d.ts.map +1 -1
  354. package/dist/stakingTemplates/templates/reputation/index.d.ts +15 -3
  355. package/dist/stakingTemplates/templates/reputation/index.d.ts.map +1 -1
  356. package/dist/stakingTemplates/templates/reputation/v0/createPlatform.d.ts +1 -1
  357. package/dist/stakingTemplates/templates/reputation/v0/createPlatform.d.ts.map +1 -1
  358. package/dist/stakingTemplates/templates/reputation/v0/createPool.d.ts +1 -1
  359. package/dist/stakingTemplates/templates/reputation/v0/createPool.d.ts.map +1 -1
  360. package/dist/stakingTemplates/templates/reputation/v0/index.d.ts +15 -3
  361. package/dist/stakingTemplates/templates/reputation/v0/index.d.ts.map +1 -1
  362. package/dist/stakingTemplates/templates/reputation/v0/restake.d.ts +1 -1
  363. package/dist/stakingTemplates/templates/reputation/v0/restake.d.ts.map +1 -1
  364. package/dist/stakingTemplates/templates/reputation/v0/stake.d.ts +1 -1
  365. package/dist/stakingTemplates/templates/reputation/v0/stake.d.ts.map +1 -1
  366. package/dist/stakingTemplates/templates/reputationLock/index.d.ts +15 -3
  367. package/dist/stakingTemplates/templates/reputationLock/index.d.ts.map +1 -1
  368. package/dist/stakingTemplates/templates/reputationLock/v0/createPlatform.d.ts +1 -1
  369. package/dist/stakingTemplates/templates/reputationLock/v0/createPlatform.d.ts.map +1 -1
  370. package/dist/stakingTemplates/templates/reputationLock/v0/createPool.d.ts +1 -1
  371. package/dist/stakingTemplates/templates/reputationLock/v0/createPool.d.ts.map +1 -1
  372. package/dist/stakingTemplates/templates/reputationLock/v0/index.d.ts +15 -3
  373. package/dist/stakingTemplates/templates/reputationLock/v0/index.d.ts.map +1 -1
  374. package/dist/stakingTemplates/templates/reputationLock/v0/restake.d.ts +1 -1
  375. package/dist/stakingTemplates/templates/reputationLock/v0/restake.d.ts.map +1 -1
  376. package/dist/stakingTemplates/templates/reputationLock/v0/stake.d.ts +1 -1
  377. package/dist/stakingTemplates/templates/reputationLock/v0/stake.d.ts.map +1 -1
  378. package/dist/stakingTemplates/templates/rwa/index.d.ts +15 -3
  379. package/dist/stakingTemplates/templates/rwa/index.d.ts.map +1 -1
  380. package/dist/stakingTemplates/templates/rwa/v0/createPlatform.d.ts +1 -1
  381. package/dist/stakingTemplates/templates/rwa/v0/createPlatform.d.ts.map +1 -1
  382. package/dist/stakingTemplates/templates/rwa/v0/createPool.d.ts +1 -1
  383. package/dist/stakingTemplates/templates/rwa/v0/createPool.d.ts.map +1 -1
  384. package/dist/stakingTemplates/templates/rwa/v0/distributeRewards.d.ts +1 -1
  385. package/dist/stakingTemplates/templates/rwa/v0/distributeRewards.d.ts.map +1 -1
  386. package/dist/stakingTemplates/templates/rwa/v0/index.d.ts +15 -3
  387. package/dist/stakingTemplates/templates/rwa/v0/index.d.ts.map +1 -1
  388. package/dist/stakingTemplates/templates/rwa/v0/restake.d.ts +1 -1
  389. package/dist/stakingTemplates/templates/rwa/v0/restake.d.ts.map +1 -1
  390. package/dist/stakingTemplates/templates/rwa/v0/stake.d.ts +1 -1
  391. package/dist/stakingTemplates/templates/rwa/v0/stake.d.ts.map +1 -1
  392. package/package.json +17 -16
  393. package/dist/common/abis/erc20Whitelisted.d.ts +0 -316
  394. package/dist/common/abis/erc20Whitelisted.d.ts.map +0 -1
  395. package/dist/common/abis/erc20Whitelisted.js +0 -1139
  396. package/dist/common/indexer/index.d.ts +0 -4044
  397. package/dist/common/indexer/index.d.ts.map +0 -1
  398. package/dist/common/indexer/index.js +0 -3
  399. package/dist/common/models/numOrStr.d.ts +0 -7
  400. package/dist/common/models/numOrStr.d.ts.map +0 -1
  401. package/dist/common/models/numOrStr.js +0 -11
  402. package/dist/common/zod.d.ts +0 -3
  403. package/dist/common/zod.d.ts.map +0 -1
  404. package/dist/common/zod.js +0 -2
  405. package/dist/fractions/activity/searchActivity.route.d.ts +0 -198
  406. package/dist/fractions/activity/searchActivity.route.d.ts.map +0 -1
  407. package/dist/fractions/activity/searchActivity.route.js +0 -53
  408. package/dist/fractions/activity/utils.d.ts +0 -228
  409. package/dist/fractions/activity/utils.d.ts.map +0 -1
  410. package/dist/fractions/activity/utils.js +0 -68
  411. package/dist/fractions/approveSale/v0/approveSale.route.d.ts +0 -68
  412. package/dist/fractions/approveSale/v0/approveSale.route.d.ts.map +0 -1
  413. package/dist/fractions/approveSale/v0/approveSale.route.js +0 -31
  414. package/dist/fractions/approveWrapper/v0/approveWrapper.route.d.ts +0 -203
  415. package/dist/fractions/approveWrapper/v0/approveWrapper.route.d.ts.map +0 -1
  416. package/dist/fractions/approveWrapper/v0/approveWrapper.route.js +0 -84
  417. package/dist/fractions/completeSale/v0/completeSale.route.d.ts +0 -68
  418. package/dist/fractions/completeSale/v0/completeSale.route.d.ts.map +0 -1
  419. package/dist/fractions/completeSale/v0/completeSale.route.js +0 -31
  420. package/dist/fractions/createFractions/v0/createFractions.route.d.ts +0 -305
  421. package/dist/fractions/createFractions/v0/createFractions.route.d.ts.map +0 -1
  422. package/dist/fractions/createFractions/v0/createFractions.route.js +0 -48
  423. package/dist/fractions/createFractions/v0/createFractions.schema.d.ts +0 -427
  424. package/dist/fractions/createFractions/v0/createFractions.schema.d.ts.map +0 -1
  425. package/dist/fractions/createFractions/v0/createFractions.schema.js +0 -78
  426. package/dist/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts +0 -51
  427. package/dist/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts.map +0 -1
  428. package/dist/fractions/createFractions/v0/parseFractionsCreatedEvent.js +0 -58
  429. package/dist/fractions/deployMarket/v0/deployMarket.routes.d.ts +0 -374
  430. package/dist/fractions/deployMarket/v0/deployMarket.routes.d.ts.map +0 -1
  431. package/dist/fractions/deployMarket/v0/deployMarket.routes.js +0 -138
  432. package/dist/fractions/deployMarket/v0/deployMarket.schema.d.ts +0 -86
  433. package/dist/fractions/deployMarket/v0/deployMarket.schema.d.ts.map +0 -1
  434. package/dist/fractions/deployMarket/v0/deployMarket.schema.js +0 -24
  435. package/dist/fractions/deployMarket/v0/index.d.ts +0 -3
  436. package/dist/fractions/deployMarket/v0/index.d.ts.map +0 -1
  437. package/dist/fractions/deployMarket/v0/index.js +0 -2
  438. package/dist/fractions/deployMarket/v0/initNid.route.d.ts +0 -61
  439. package/dist/fractions/deployMarket/v0/initNid.route.d.ts.map +0 -1
  440. package/dist/fractions/deployMarket/v0/initNid.route.js +0 -31
  441. package/dist/fractions/gating/v0/getAuthData.d.ts +0 -86
  442. package/dist/fractions/gating/v0/getAuthData.d.ts.map +0 -1
  443. package/dist/fractions/gating/v0/getAuthData.js +0 -48
  444. package/dist/fractions/gating/v0/getNonce.route.d.ts +0 -54
  445. package/dist/fractions/gating/v0/getNonce.route.d.ts.map +0 -1
  446. package/dist/fractions/gating/v0/getNonce.route.js +0 -40
  447. package/dist/fractions/grantRole/v0/grantRole.route.d.ts +0 -65
  448. package/dist/fractions/grantRole/v0/grantRole.route.d.ts.map +0 -1
  449. package/dist/fractions/grantRole/v0/grantRole.route.js +0 -31
  450. package/dist/fractions/grantRole/v0/grantRole.schema.d.ts +0 -26
  451. package/dist/fractions/grantRole/v0/grantRole.schema.d.ts.map +0 -1
  452. package/dist/fractions/grantRole/v0/grantRole.schema.js +0 -14
  453. package/dist/fractions/markets/getMarket/v0/getMarket.d.ts +0 -103
  454. package/dist/fractions/markets/getMarket/v0/getMarket.d.ts.map +0 -1
  455. package/dist/fractions/markets/getMarket/v0/getMarket.js +0 -62
  456. package/dist/fractions/markets/searchMarkets/v0/searchMarkets.d.ts +0 -115
  457. package/dist/fractions/markets/searchMarkets/v0/searchMarkets.d.ts.map +0 -1
  458. package/dist/fractions/markets/searchMarkets/v0/searchMarkets.js +0 -42
  459. package/dist/fractions/nftfractions/index.d.ts +0 -6
  460. package/dist/fractions/nftfractions/index.d.ts.map +0 -1
  461. package/dist/fractions/nftfractions/index.js +0 -5
  462. package/dist/fractions/nftfractions/v0/createNftFractions.routes.d.ts +0 -192
  463. package/dist/fractions/nftfractions/v0/createNftFractions.routes.d.ts.map +0 -1
  464. package/dist/fractions/nftfractions/v0/createNftFractions.routes.js +0 -58
  465. package/dist/fractions/nftfractions/v0/createNftFractions.schema.d.ts +0 -245
  466. package/dist/fractions/nftfractions/v0/createNftFractions.schema.d.ts.map +0 -1
  467. package/dist/fractions/nftfractions/v0/createNftFractions.schema.js +0 -65
  468. package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.routes.d.ts +0 -96
  469. package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.routes.d.ts.map +0 -1
  470. package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.routes.js +0 -52
  471. package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.schema.d.ts +0 -70
  472. package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.schema.d.ts.map +0 -1
  473. package/dist/fractions/nftfractions/v0/initCompilot.routes.d.ts +0 -74
  474. package/dist/fractions/nftfractions/v0/initCompilot.routes.d.ts.map +0 -1
  475. package/dist/fractions/nftfractions/v0/initCompilot.routes.js +0 -41
  476. package/dist/fractions/platforms/deployNftFractionsMarket.routes.d.ts +0 -96
  477. package/dist/fractions/platforms/deployNftFractionsMarket.routes.d.ts.map +0 -1
  478. package/dist/fractions/platforms/deployNftFractionsMarket.schema.d.ts.map +0 -1
  479. package/dist/fractions/purchase/v0/purchase.route.d.ts +0 -89
  480. package/dist/fractions/purchase/v0/purchase.route.d.ts.map +0 -1
  481. package/dist/fractions/purchase/v0/purchase.route.js +0 -41
  482. package/dist/fractions/purchase/v0/statistics.route.d.ts +0 -65
  483. package/dist/fractions/purchase/v0/statistics.route.d.ts.map +0 -1
  484. package/dist/fractions/purchase/v0/statistics.route.js +0 -52
  485. package/dist/fractions/roles/getRoles/v0/getRoles.d.ts +0 -28
  486. package/dist/fractions/roles/getRoles/v0/getRoles.d.ts.map +0 -1
  487. package/dist/fractions/roles/getRoles/v0/getRoles.js +0 -41
  488. package/dist/fractions/sales/createNftFractions.routes.d.ts +0 -180
  489. package/dist/fractions/sales/createNftFractions.routes.d.ts.map +0 -1
  490. package/dist/fractions/sales/createNftFractions.routes.js +0 -58
  491. package/dist/fractions/sales/createNftFractions.schema.d.ts +0 -85
  492. package/dist/fractions/sales/createNftFractions.schema.d.ts.map +0 -1
  493. package/dist/fractions/sales/createNftFractions.schema.js +0 -67
  494. package/dist/fractions/sales/searchSaleEvents/v0/searchSaleEvents.d.ts +0 -89
  495. package/dist/fractions/sales/searchSaleEvents/v0/searchSaleEvents.d.ts.map +0 -1
  496. package/dist/fractions/sales/searchSaleEvents/v0/searchSaleEvents.js +0 -82
  497. package/dist/fractions/sales/searchSales/v0/searchSales.d.ts +0 -257
  498. package/dist/fractions/sales/searchSales/v0/searchSales.d.ts.map +0 -1
  499. package/dist/fractions/sales/searchSales/v0/searchSales.js +0 -49
  500. package/dist/fractions/sales/vesting/v0/claimStatistics.route.d.ts +0 -92
  501. package/dist/fractions/sales/vesting/v0/claimStatistics.route.d.ts.map +0 -1
  502. package/dist/fractions/sales/vesting/v0/claimStatistics.route.js +0 -90
  503. package/dist/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts +0 -94
  504. package/dist/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts.map +0 -1
  505. package/dist/fractions/sales/vesting/v0/claimVestedTokens.route.js +0 -41
  506. package/dist/fractions/sales/vesting/v0/editCliff.route.d.ts +0 -87
  507. package/dist/fractions/sales/vesting/v0/editCliff.route.d.ts.map +0 -1
  508. package/dist/fractions/sales/vesting/v0/editCliff.route.js +0 -40
  509. package/dist/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts +0 -48
  510. package/dist/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts.map +0 -1
  511. package/dist/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.js +0 -57
  512. package/dist/fractions/withdraw/v0/withdraw.route.d.ts +0 -68
  513. package/dist/fractions/withdraw/v0/withdraw.route.d.ts.map +0 -1
  514. package/dist/fractions/withdraw/v0/withdraw.route.js +0 -31
  515. package/dist/general/balance-client.d.ts +0 -13
  516. package/dist/general/balance-client.d.ts.map +0 -1
  517. package/dist/general/balance-client.js +0 -26
  518. package/dist/issuance/approve.d.ts +0 -75
  519. package/dist/issuance/approve.d.ts.map +0 -1
  520. package/dist/issuance/approve.js +0 -36
  521. package/dist/issuance/burn.d.ts +0 -75
  522. package/dist/issuance/burn.d.ts.map +0 -1
  523. package/dist/issuance/burn.js +0 -36
  524. package/dist/issuance/common.d.ts +0 -2
  525. package/dist/issuance/common.d.ts.map +0 -1
  526. package/dist/issuance/common.js +0 -1
  527. package/dist/issuance/deploy.d.ts +0 -158
  528. package/dist/issuance/deploy.d.ts.map +0 -1
  529. package/dist/issuance/deploy.js +0 -227
  530. package/dist/issuance/erc20/deploy.d.ts.map +0 -1
  531. package/dist/issuance/erc20/deployGated.d.ts.map +0 -1
  532. package/dist/issuance/erc20/getInitData.d.ts +0 -59
  533. package/dist/issuance/erc20/getInitData.d.ts.map +0 -1
  534. package/dist/issuance/erc20/initialize.d.ts.map +0 -1
  535. package/dist/issuance/erc20/parseErc20DeployEvent.d.ts.map +0 -1
  536. package/dist/issuance/erc721/deploy.d.ts.map +0 -1
  537. package/dist/issuance/erc721/deployGated.d.ts.map +0 -1
  538. package/dist/issuance/erc721/getInitData.d.ts +0 -49
  539. package/dist/issuance/erc721/getInitData.d.ts.map +0 -1
  540. package/dist/issuance/erc721/getInitData.js +0 -51
  541. package/dist/issuance/erc721/initialize.d.ts.map +0 -1
  542. package/dist/issuance/erc721/parseErc721DeployEvent.d.ts.map +0 -1
  543. package/dist/issuance/getInitData.d.ts +0 -132
  544. package/dist/issuance/getInitData.d.ts.map +0 -1
  545. package/dist/issuance/getInitData.js +0 -104
  546. package/dist/issuance/grantRole.d.ts +0 -76
  547. package/dist/issuance/grantRole.d.ts.map +0 -1
  548. package/dist/issuance/grantRole.js +0 -42
  549. package/dist/issuance/mint.d.ts +0 -75
  550. package/dist/issuance/mint.d.ts.map +0 -1
  551. package/dist/issuance/mint.js +0 -36
  552. package/dist/issuance/recover.d.ts +0 -82
  553. package/dist/issuance/recover.d.ts.map +0 -1
  554. package/dist/issuance/recover.js +0 -38
  555. package/dist/issuance/renounceRole.d.ts +0 -76
  556. package/dist/issuance/renounceRole.d.ts.map +0 -1
  557. package/dist/issuance/renounceRole.js +0 -42
  558. package/dist/issuance/transfer.d.ts +0 -75
  559. package/dist/issuance/transfer.d.ts.map +0 -1
  560. package/dist/issuance/transfer.js +0 -36
  561. package/dist/issuance/upgrade.d.ts +0 -82
  562. package/dist/issuance/upgrade.d.ts.map +0 -1
  563. package/dist/issuance/upgrade.js +0 -45
  564. package/dist/package.json +0 -78
  565. package/dist/src/app.d.ts +0 -2194
  566. package/dist/src/app.d.ts.map +0 -1
  567. package/dist/src/app.js +0 -18
  568. package/dist/src/client.d.ts +0 -2690
  569. package/dist/src/client.d.ts.map +0 -1
  570. package/dist/src/client.js +0 -4
  571. package/dist/src/common/abis/erc20Whitelisted.d.ts +0 -4
  572. package/dist/src/common/abis/erc20Whitelisted.d.ts.map +0 -1
  573. package/dist/src/common/abis/erc20Whitelisted.js +0 -4
  574. package/dist/src/common/app.d.ts +0 -9
  575. package/dist/src/common/app.d.ts.map +0 -1
  576. package/dist/src/common/app.js +0 -3
  577. package/dist/src/common/blockchain.d.ts +0 -9528
  578. package/dist/src/common/blockchain.d.ts.map +0 -1
  579. package/dist/src/common/blockchain.js +0 -40
  580. package/dist/src/common/config.d.ts +0 -21
  581. package/dist/src/common/config.d.ts.map +0 -1
  582. package/dist/src/common/config.js +0 -33
  583. package/dist/src/common/http-error.d.ts +0 -7
  584. package/dist/src/common/http-error.d.ts.map +0 -1
  585. package/dist/src/common/http-error.js +0 -7
  586. package/dist/src/common/index.d.ts +0 -2
  587. package/dist/src/common/index.d.ts.map +0 -1
  588. package/dist/src/common/index.js +0 -1
  589. package/dist/src/common/indexer/client.d.ts +0 -1191
  590. package/dist/src/common/indexer/client.d.ts.map +0 -1
  591. package/dist/src/common/indexer/client.js +0 -7
  592. package/dist/src/common/indexer/index.d.ts +0 -1191
  593. package/dist/src/common/indexer/index.d.ts.map +0 -1
  594. package/dist/src/common/indexer/index.js +0 -3
  595. package/dist/src/common/indexer/schemas.d.ts +0 -1191
  596. package/dist/src/common/indexer/schemas.d.ts.map +0 -1
  597. package/dist/src/common/indexer/schemas.js +0 -14
  598. package/dist/src/common/models/chainId.d.ts +0 -5
  599. package/dist/src/common/models/chainId.d.ts.map +0 -1
  600. package/dist/src/common/models/chainId.js +0 -23
  601. package/dist/src/common/models/date.d.ts +0 -3
  602. package/dist/src/common/models/date.d.ts.map +0 -1
  603. package/dist/src/common/models/date.js +0 -5
  604. package/dist/src/common/models/erc721.d.ts +0 -15
  605. package/dist/src/common/models/erc721.d.ts.map +0 -1
  606. package/dist/src/common/models/erc721.js +0 -21
  607. package/dist/src/common/models/index.d.ts +0 -7
  608. package/dist/src/common/models/index.d.ts.map +0 -1
  609. package/dist/src/common/models/index.js +0 -6
  610. package/dist/src/common/models/page.d.ts +0 -12
  611. package/dist/src/common/models/page.d.ts.map +0 -1
  612. package/dist/src/common/models/page.js +0 -15
  613. package/dist/src/common/models/percent.d.ts +0 -3
  614. package/dist/src/common/models/percent.d.ts.map +0 -1
  615. package/dist/src/common/models/percent.js +0 -6
  616. package/dist/src/common/models/platform.d.ts +0 -4
  617. package/dist/src/common/models/platform.d.ts.map +0 -1
  618. package/dist/src/common/models/platform.js +0 -13
  619. package/dist/src/common/models/routes.d.ts +0 -16
  620. package/dist/src/common/models/routes.d.ts.map +0 -1
  621. package/dist/src/common/models/routes.js +0 -13
  622. package/dist/src/common/models/saleId.d.ts +0 -12
  623. package/dist/src/common/models/saleId.d.ts.map +0 -1
  624. package/dist/src/common/models/saleId.js +0 -6
  625. package/dist/src/common/models/transaction.d.ts +0 -90
  626. package/dist/src/common/models/transaction.d.ts.map +0 -1
  627. package/dist/src/common/models/transaction.js +0 -57
  628. package/dist/src/common/models/viem.d.ts +0 -4
  629. package/dist/src/common/models/viem.d.ts.map +0 -1
  630. package/dist/src/common/models/viem.js +0 -15
  631. package/dist/src/common/openapi.d.ts +0 -4
  632. package/dist/src/common/openapi.d.ts.map +0 -1
  633. package/dist/src/common/openapi.js +0 -40
  634. package/dist/src/common/tag.d.ts +0 -7
  635. package/dist/src/common/tag.d.ts.map +0 -1
  636. package/dist/src/common/tag.js +0 -5
  637. package/dist/src/common/version.d.ts +0 -2
  638. package/dist/src/common/version.d.ts.map +0 -1
  639. package/dist/src/common/version.js +0 -2
  640. package/dist/src/common/zod.d.ts +0 -3
  641. package/dist/src/common/zod.d.ts.map +0 -1
  642. package/dist/src/common/zod.js +0 -2
  643. package/dist/src/error.d.ts +0 -3
  644. package/dist/src/error.d.ts.map +0 -1
  645. package/dist/src/error.js +0 -16
  646. package/dist/src/fractions/approveSale/v0/approveSale.route.d.ts +0 -68
  647. package/dist/src/fractions/approveSale/v0/approveSale.route.d.ts.map +0 -1
  648. package/dist/src/fractions/approveSale/v0/approveSale.route.js +0 -31
  649. package/dist/src/fractions/approveWrapper/v0/approveWrapper.route.d.ts +0 -203
  650. package/dist/src/fractions/approveWrapper/v0/approveWrapper.route.d.ts.map +0 -1
  651. package/dist/src/fractions/approveWrapper/v0/approveWrapper.route.js +0 -84
  652. package/dist/src/fractions/completeSale/v0/completeSale.route.d.ts +0 -68
  653. package/dist/src/fractions/completeSale/v0/completeSale.route.d.ts.map +0 -1
  654. package/dist/src/fractions/completeSale/v0/completeSale.route.js +0 -31
  655. package/dist/src/fractions/createFractions/v0/createFractions.route.d.ts +0 -305
  656. package/dist/src/fractions/createFractions/v0/createFractions.route.d.ts.map +0 -1
  657. package/dist/src/fractions/createFractions/v0/createFractions.route.js +0 -61
  658. package/dist/src/fractions/createFractions/v0/createFractions.schema.d.ts +0 -416
  659. package/dist/src/fractions/createFractions/v0/createFractions.schema.d.ts.map +0 -1
  660. package/dist/src/fractions/createFractions/v0/createFractions.schema.js +0 -67
  661. package/dist/src/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts +0 -51
  662. package/dist/src/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts.map +0 -1
  663. package/dist/src/fractions/deployMarket/v0/deployMarket.routes.d.ts +0 -297
  664. package/dist/src/fractions/deployMarket/v0/deployMarket.routes.d.ts.map +0 -1
  665. package/dist/src/fractions/deployMarket/v0/deployMarket.routes.js +0 -98
  666. package/dist/src/fractions/deployMarket/v0/deployMarket.schema.d.ts +0 -96
  667. package/dist/src/fractions/deployMarket/v0/deployMarket.schema.d.ts.map +0 -1
  668. package/dist/src/fractions/deployMarket/v0/deployMarket.schema.js +0 -21
  669. package/dist/src/fractions/gating/index.d.ts +0 -2
  670. package/dist/src/fractions/gating/index.d.ts.map +0 -1
  671. package/dist/src/fractions/gating/index.js +0 -0
  672. package/dist/src/fractions/gating/v0/getAuthData.d.ts +0 -86
  673. package/dist/src/fractions/gating/v0/getAuthData.d.ts.map +0 -1
  674. package/dist/src/fractions/gating/v0/getAuthData.js +0 -48
  675. package/dist/src/fractions/gating/v0/getNonce.route.d.ts +0 -54
  676. package/dist/src/fractions/gating/v0/getNonce.route.d.ts.map +0 -1
  677. package/dist/src/fractions/gating/v0/getNonce.route.js +0 -40
  678. package/dist/src/fractions/grantRole/v0/grantRole.route.d.ts +0 -65
  679. package/dist/src/fractions/grantRole/v0/grantRole.route.d.ts.map +0 -1
  680. package/dist/src/fractions/grantRole/v0/grantRole.route.js +0 -31
  681. package/dist/src/fractions/grantRole/v0/grantRole.schema.d.ts +0 -26
  682. package/dist/src/fractions/grantRole/v0/grantRole.schema.d.ts.map +0 -1
  683. package/dist/src/fractions/grantRole/v0/grantRole.schema.js +0 -14
  684. package/dist/src/fractions/index.d.ts +0 -968
  685. package/dist/src/fractions/index.d.ts.map +0 -1
  686. package/dist/src/fractions/index.js +0 -91
  687. package/dist/src/fractions/markets/common/platform.d.ts +0 -26
  688. package/dist/src/fractions/markets/common/platform.d.ts.map +0 -1
  689. package/dist/src/fractions/markets/common/platform.js +0 -26
  690. package/dist/src/fractions/markets/getDeployEvent.d.ts +0 -42
  691. package/dist/src/fractions/markets/getDeployEvent.d.ts.map +0 -1
  692. package/dist/src/fractions/markets/getDeployEvent.js +0 -47
  693. package/dist/src/fractions/markets/getMarket/index.d.ts +0 -40
  694. package/dist/src/fractions/markets/getMarket/index.d.ts.map +0 -1
  695. package/dist/src/fractions/markets/getMarket/index.js +0 -4
  696. package/dist/src/fractions/markets/getMarket/v0/getMarket.d.ts +0 -64
  697. package/dist/src/fractions/markets/getMarket/v0/getMarket.d.ts.map +0 -1
  698. package/dist/src/fractions/markets/getMarket/v0/getMarket.js +0 -63
  699. package/dist/src/fractions/markets/index.d.ts +0 -84
  700. package/dist/src/fractions/markets/index.d.ts.map +0 -1
  701. package/dist/src/fractions/markets/index.js +0 -12
  702. package/dist/src/fractions/markets/searchMarkets/index.d.ts +0 -32
  703. package/dist/src/fractions/markets/searchMarkets/index.d.ts.map +0 -1
  704. package/dist/src/fractions/markets/searchMarkets/index.js +0 -4
  705. package/dist/src/fractions/markets/searchMarkets/v0/searchMarkets.d.ts +0 -76
  706. package/dist/src/fractions/markets/searchMarkets/v0/searchMarkets.d.ts.map +0 -1
  707. package/dist/src/fractions/markets/searchMarkets/v0/searchMarkets.js +0 -42
  708. package/dist/src/fractions/purchase/v0/purchase.route.d.ts +0 -89
  709. package/dist/src/fractions/purchase/v0/purchase.route.d.ts.map +0 -1
  710. package/dist/src/fractions/purchase/v0/purchase.route.js +0 -41
  711. package/dist/src/fractions/roles/getRoles/v0/getRoles.d.ts +0 -28
  712. package/dist/src/fractions/roles/getRoles/v0/getRoles.d.ts.map +0 -1
  713. package/dist/src/fractions/roles/getRoles/v0/getRoles.js +0 -41
  714. package/dist/src/fractions/sales/getVaultAddress.d.ts +0 -52
  715. package/dist/src/fractions/sales/getVaultAddress.d.ts.map +0 -1
  716. package/dist/src/fractions/sales/getVaultAddress.js +0 -61
  717. package/dist/src/fractions/sales/getWithdrawEvent.d.ts +0 -42
  718. package/dist/src/fractions/sales/getWithdrawEvent.d.ts.map +0 -1
  719. package/dist/src/fractions/sales/getWithdrawEvent.js +0 -52
  720. package/dist/src/fractions/sales/index.d.ts +0 -10
  721. package/dist/src/fractions/sales/index.d.ts.map +0 -1
  722. package/dist/src/fractions/sales/index.js +0 -10
  723. package/dist/src/fractions/sales/receiveFundsAfterNonFunded.route.d.ts +0 -144
  724. package/dist/src/fractions/sales/receiveFundsAfterNonFunded.route.d.ts.map +0 -1
  725. package/dist/src/fractions/sales/receiveFundsAfterNonFunded.route.js +0 -59
  726. package/dist/src/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts +0 -57
  727. package/dist/src/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts.map +0 -1
  728. package/dist/src/fractions/sales/receiveNonPurchasedWrappedAssets.route.js +0 -27
  729. package/dist/src/fractions/sales/recoverFractions.d.ts +0 -108
  730. package/dist/src/fractions/sales/recoverFractions.d.ts.map +0 -1
  731. package/dist/src/fractions/sales/recoverFractions.js +0 -45
  732. package/dist/src/fractions/sales/rejectFractions.d.ts +0 -80
  733. package/dist/src/fractions/sales/rejectFractions.d.ts.map +0 -1
  734. package/dist/src/fractions/sales/rejectFractions.js +0 -39
  735. package/dist/src/fractions/sales/searchSaleEvents/index.d.ts +0 -2
  736. package/dist/src/fractions/sales/searchSaleEvents/index.d.ts.map +0 -1
  737. package/dist/src/fractions/sales/searchSaleEvents/index.js +0 -0
  738. package/dist/src/fractions/sales/searchSaleEvents/v0/searchSaleEvents.d.ts +0 -89
  739. package/dist/src/fractions/sales/searchSaleEvents/v0/searchSaleEvents.d.ts.map +0 -1
  740. package/dist/src/fractions/sales/searchSaleEvents/v0/searchSaleEvents.js +0 -82
  741. package/dist/src/fractions/sales/setFeeCapLimit.d.ts +0 -75
  742. package/dist/src/fractions/sales/setFeeCapLimit.d.ts.map +0 -1
  743. package/dist/src/fractions/sales/setFeeCapLimit.js +0 -32
  744. package/dist/src/fractions/sales/unlockWrappedAssets.route.d.ts +0 -68
  745. package/dist/src/fractions/sales/unlockWrappedAssets.route.d.ts.map +0 -1
  746. package/dist/src/fractions/sales/unlockWrappedAssets.route.js +0 -31
  747. package/dist/src/fractions/sales/vesting/index.d.ts +0 -2
  748. package/dist/src/fractions/sales/vesting/index.d.ts.map +0 -1
  749. package/dist/src/fractions/sales/vesting/index.js +0 -0
  750. package/dist/src/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts +0 -94
  751. package/dist/src/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts.map +0 -1
  752. package/dist/src/fractions/sales/vesting/v0/claimVestedTokens.route.js +0 -41
  753. package/dist/src/fractions/sales/vesting/v0/editCliff.route.d.ts +0 -87
  754. package/dist/src/fractions/sales/vesting/v0/editCliff.route.d.ts.map +0 -1
  755. package/dist/src/fractions/sales/vesting/v0/editCliff.route.js +0 -40
  756. package/dist/src/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts +0 -48
  757. package/dist/src/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts.map +0 -1
  758. package/dist/src/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.js +0 -58
  759. package/dist/src/fractions/withdraw/v0/withdraw.route.d.ts +0 -68
  760. package/dist/src/fractions/withdraw/v0/withdraw.route.d.ts.map +0 -1
  761. package/dist/src/fractions/withdraw/v0/withdraw.route.js +0 -31
  762. package/dist/src/general/balance-client.d.ts +0 -13
  763. package/dist/src/general/balance-client.d.ts.map +0 -1
  764. package/dist/src/general/balance-client.js +0 -26
  765. package/dist/src/general/common.d.ts +0 -94
  766. package/dist/src/general/common.d.ts.map +0 -1
  767. package/dist/src/general/common.js +0 -35
  768. package/dist/src/general/estimateGas.d.ts +0 -52
  769. package/dist/src/general/estimateGas.d.ts.map +0 -1
  770. package/dist/src/general/estimateGas.js +0 -64
  771. package/dist/src/general/getBalance.d.ts +0 -44
  772. package/dist/src/general/getBalance.d.ts.map +0 -1
  773. package/dist/src/general/getBalance.js +0 -43
  774. package/dist/src/general/getBalancesBatch.d.ts +0 -59
  775. package/dist/src/general/getBalancesBatch.d.ts.map +0 -1
  776. package/dist/src/general/getBalancesBatch.js +0 -34
  777. package/dist/src/general/index.d.ts +0 -100
  778. package/dist/src/general/index.d.ts.map +0 -1
  779. package/dist/src/general/index.js +0 -20
  780. package/dist/src/general/searchBalances.d.ts +0 -78
  781. package/dist/src/general/searchBalances.d.ts.map +0 -1
  782. package/dist/src/general/searchBalances.js +0 -49
  783. package/dist/src/issuance/approve.d.ts +0 -75
  784. package/dist/src/issuance/approve.d.ts.map +0 -1
  785. package/dist/src/issuance/approve.js +0 -36
  786. package/dist/src/issuance/burn.d.ts +0 -75
  787. package/dist/src/issuance/burn.d.ts.map +0 -1
  788. package/dist/src/issuance/burn.js +0 -36
  789. package/dist/src/issuance/deploy.d.ts +0 -88
  790. package/dist/src/issuance/deploy.d.ts.map +0 -1
  791. package/dist/src/issuance/deploy.js +0 -91
  792. package/dist/src/issuance/grantRole.d.ts +0 -78
  793. package/dist/src/issuance/grantRole.d.ts.map +0 -1
  794. package/dist/src/issuance/grantRole.js +0 -50
  795. package/dist/src/issuance/index.d.ts +0 -165
  796. package/dist/src/issuance/index.d.ts.map +0 -1
  797. package/dist/src/issuance/index.js +0 -23
  798. package/dist/src/issuance/mint.d.ts +0 -75
  799. package/dist/src/issuance/mint.d.ts.map +0 -1
  800. package/dist/src/issuance/mint.js +0 -36
  801. package/dist/src/issuance/transfer.d.ts +0 -75
  802. package/dist/src/issuance/transfer.d.ts.map +0 -1
  803. package/dist/src/issuance/transfer.js +0 -36
  804. package/dist/src/serve.d.ts +0 -2
  805. package/dist/src/serve.d.ts.map +0 -1
  806. package/dist/src/serve.js +0 -33
  807. package/dist/src/staking/index.d.ts +0 -242
  808. package/dist/src/staking/index.d.ts.map +0 -1
  809. package/dist/src/staking/index.js +0 -20
  810. package/dist/src/staking/platforms/common/platform.d.ts +0 -26
  811. package/dist/src/staking/platforms/common/platform.d.ts.map +0 -1
  812. package/dist/src/staking/platforms/common/platform.js +0 -26
  813. package/dist/src/staking/platforms/common/platformNotFound.d.ts +0 -9
  814. package/dist/src/staking/platforms/common/platformNotFound.d.ts.map +0 -1
  815. package/dist/src/staking/platforms/common/platformNotFound.js +0 -13
  816. package/dist/src/staking/platforms/getPlatform/index.d.ts +0 -26
  817. package/dist/src/staking/platforms/getPlatform/index.d.ts.map +0 -1
  818. package/dist/src/staking/platforms/getPlatform/index.js +0 -4
  819. package/dist/src/staking/platforms/getPlatform/v0/getPlatform.d.ts +0 -52
  820. package/dist/src/staking/platforms/getPlatform/v0/getPlatform.d.ts.map +0 -1
  821. package/dist/src/staking/platforms/getPlatform/v0/getPlatform.js +0 -58
  822. package/dist/src/staking/platforms/index.d.ts +0 -52
  823. package/dist/src/staking/platforms/index.d.ts.map +0 -1
  824. package/dist/src/staking/platforms/index.js +0 -10
  825. package/dist/src/staking/platforms/searchPlatforms/index.d.ts +0 -32
  826. package/dist/src/staking/platforms/searchPlatforms/index.d.ts.map +0 -1
  827. package/dist/src/staking/platforms/searchPlatforms/index.js +0 -4
  828. package/dist/src/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts +0 -76
  829. package/dist/src/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts.map +0 -1
  830. package/dist/src/staking/platforms/searchPlatforms/v0/searchPlatforms.js +0 -42
  831. package/dist/src/staking/pools/common/pool.d.ts +0 -29
  832. package/dist/src/staking/pools/common/pool.d.ts.map +0 -1
  833. package/dist/src/staking/pools/common/pool.js +0 -28
  834. package/dist/src/staking/pools/common/poolNotFound.d.ts +0 -10
  835. package/dist/src/staking/pools/common/poolNotFound.d.ts.map +0 -1
  836. package/dist/src/staking/pools/common/poolNotFound.js +0 -14
  837. package/dist/src/staking/pools/getPool/index.d.ts +0 -20
  838. package/dist/src/staking/pools/getPool/index.d.ts.map +0 -1
  839. package/dist/src/staking/pools/getPool/index.js +0 -4
  840. package/dist/src/staking/pools/getPool/v0/getPool.d.ts +0 -35
  841. package/dist/src/staking/pools/getPool/v0/getPool.d.ts.map +0 -1
  842. package/dist/src/staking/pools/getPool/v0/getPool.js +0 -64
  843. package/dist/src/staking/pools/index.d.ts +0 -39
  844. package/dist/src/staking/pools/index.d.ts.map +0 -1
  845. package/dist/src/staking/pools/index.js +0 -10
  846. package/dist/src/staking/pools/searchPools/index.d.ts +0 -25
  847. package/dist/src/staking/pools/searchPools/index.d.ts.map +0 -1
  848. package/dist/src/staking/pools/searchPools/index.js +0 -4
  849. package/dist/src/staking/pools/searchPools/v0/searchPools.d.ts +0 -55
  850. package/dist/src/staking/pools/searchPools/v0/searchPools.d.ts.map +0 -1
  851. package/dist/src/staking/pools/searchPools/v0/searchPools.js +0 -42
  852. package/dist/src/staking/roles/common/role.d.ts +0 -13
  853. package/dist/src/staking/roles/common/role.d.ts.map +0 -1
  854. package/dist/src/staking/roles/common/role.js +0 -18
  855. package/dist/src/staking/roles/common/roleAssignment.d.ts +0 -27
  856. package/dist/src/staking/roles/common/roleAssignment.d.ts.map +0 -1
  857. package/dist/src/staking/roles/common/roleAssignment.js +0 -21
  858. package/dist/src/staking/roles/common/roleEvent.d.ts +0 -30
  859. package/dist/src/staking/roles/common/roleEvent.d.ts.map +0 -1
  860. package/dist/src/staking/roles/common/roleEvent.js +0 -23
  861. package/dist/src/staking/roles/getRoles/index.d.ts +0 -26
  862. package/dist/src/staking/roles/getRoles/index.d.ts.map +0 -1
  863. package/dist/src/staking/roles/getRoles/index.js +0 -4
  864. package/dist/src/staking/roles/getRoles/v0/getRoles.d.ts +0 -29
  865. package/dist/src/staking/roles/getRoles/v0/getRoles.d.ts.map +0 -1
  866. package/dist/src/staking/roles/getRoles/v0/getRoles.js +0 -41
  867. package/dist/src/staking/roles/grantRole/index.d.ts +0 -29
  868. package/dist/src/staking/roles/grantRole/index.d.ts.map +0 -1
  869. package/dist/src/staking/roles/grantRole/index.js +0 -4
  870. package/dist/src/staking/roles/grantRole/v0/grantRole.d.ts +0 -63
  871. package/dist/src/staking/roles/grantRole/v0/grantRole.d.ts.map +0 -1
  872. package/dist/src/staking/roles/grantRole/v0/grantRole.js +0 -40
  873. package/dist/src/staking/roles/index.d.ts +0 -93
  874. package/dist/src/staking/roles/index.d.ts.map +0 -1
  875. package/dist/src/staking/roles/index.js +0 -14
  876. package/dist/src/staking/roles/searchRoleEvents/index.d.ts +0 -27
  877. package/dist/src/staking/roles/searchRoleEvents/index.d.ts.map +0 -1
  878. package/dist/src/staking/roles/searchRoleEvents/index.js +0 -4
  879. package/dist/src/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts +0 -63
  880. package/dist/src/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts.map +0 -1
  881. package/dist/src/staking/roles/searchRoleEvents/v0/searchRoleEvents.js +0 -58
  882. package/dist/src/staking/roles/searchRoles/index.d.ts +0 -27
  883. package/dist/src/staking/roles/searchRoles/index.d.ts.map +0 -1
  884. package/dist/src/staking/roles/searchRoles/index.js +0 -4
  885. package/dist/src/staking/roles/searchRoles/v0/searchRoles.d.ts +0 -63
  886. package/dist/src/staking/roles/searchRoles/v0/searchRoles.d.ts.map +0 -1
  887. package/dist/src/staking/roles/searchRoles/v0/searchRoles.js +0 -56
  888. package/dist/src/staking/stakes/common/stake.d.ts +0 -44
  889. package/dist/src/staking/stakes/common/stake.d.ts.map +0 -1
  890. package/dist/src/staking/stakes/common/stake.js +0 -45
  891. package/dist/src/staking/stakes/common/stakeEvent.d.ts +0 -30
  892. package/dist/src/staking/stakes/common/stakeEvent.d.ts.map +0 -1
  893. package/dist/src/staking/stakes/common/stakeEvent.js +0 -24
  894. package/dist/src/staking/stakes/common/stakeNotFound.d.ts +0 -9
  895. package/dist/src/staking/stakes/common/stakeNotFound.d.ts.map +0 -1
  896. package/dist/src/staking/stakes/common/stakeNotFound.js +0 -13
  897. package/dist/src/staking/stakes/getStake/index.d.ts +0 -20
  898. package/dist/src/staking/stakes/getStake/index.d.ts.map +0 -1
  899. package/dist/src/staking/stakes/getStake/index.js +0 -4
  900. package/dist/src/staking/stakes/getStake/v0/getStake.d.ts +0 -35
  901. package/dist/src/staking/stakes/getStake/v0/getStake.d.ts.map +0 -1
  902. package/dist/src/staking/stakes/getStake/v0/getStake.js +0 -64
  903. package/dist/src/staking/stakes/index.d.ts +0 -63
  904. package/dist/src/staking/stakes/index.d.ts.map +0 -1
  905. package/dist/src/staking/stakes/index.js +0 -12
  906. package/dist/src/staking/stakes/searchStakeEvents/index.d.ts +0 -27
  907. package/dist/src/staking/stakes/searchStakeEvents/index.d.ts.map +0 -1
  908. package/dist/src/staking/stakes/searchStakeEvents/index.js +0 -4
  909. package/dist/src/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts +0 -63
  910. package/dist/src/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts.map +0 -1
  911. package/dist/src/staking/stakes/searchStakeEvents/v0/searchStakeEvents.js +0 -59
  912. package/dist/src/staking/stakes/searchStakes/index.d.ts +0 -27
  913. package/dist/src/staking/stakes/searchStakes/index.d.ts.map +0 -1
  914. package/dist/src/staking/stakes/searchStakes/index.js +0 -4
  915. package/dist/src/staking/stakes/searchStakes/v0/searchStakes.d.ts +0 -63
  916. package/dist/src/staking/stakes/searchStakes/v0/searchStakes.d.ts.map +0 -1
  917. package/dist/src/staking/stakes/searchStakes/v0/searchStakes.js +0 -61
  918. package/dist/src/staking-templates/index.d.ts +0 -732
  919. package/dist/src/staking-templates/index.d.ts.map +0 -1
  920. package/dist/src/staking-templates/index.js +0 -18
  921. package/dist/src/staking-templates/templates/common/amount.d.ts +0 -13
  922. package/dist/src/staking-templates/templates/common/amount.d.ts.map +0 -1
  923. package/dist/src/staking-templates/templates/common/amount.js +0 -17
  924. package/dist/src/staking-templates/templates/common/amountMult.d.ts +0 -3
  925. package/dist/src/staking-templates/templates/common/amountMult.d.ts.map +0 -1
  926. package/dist/src/staking-templates/templates/common/amountMult.js +0 -23
  927. package/dist/src/staking-templates/templates/common/erc20Input.d.ts +0 -12
  928. package/dist/src/staking-templates/templates/common/erc20Input.d.ts.map +0 -1
  929. package/dist/src/staking-templates/templates/common/erc20Input.js +0 -16
  930. package/dist/src/staking-templates/templates/common/erc20Reward.d.ts +0 -12
  931. package/dist/src/staking-templates/templates/common/erc20Reward.d.ts.map +0 -1
  932. package/dist/src/staking-templates/templates/common/erc20Reward.js +0 -16
  933. package/dist/src/staking-templates/templates/common/getCreatePoolEvent.d.ts +0 -31
  934. package/dist/src/staking-templates/templates/common/getCreatePoolEvent.d.ts.map +0 -1
  935. package/dist/src/staking-templates/templates/common/getCreatePoolEvent.js +0 -47
  936. package/dist/src/staking-templates/templates/common/getPlatformDeployEvent.d.ts +0 -40
  937. package/dist/src/staking-templates/templates/common/getPlatformDeployEvent.d.ts.map +0 -1
  938. package/dist/src/staking-templates/templates/common/getPlatformDeployEvent.js +0 -46
  939. package/dist/src/staking-templates/templates/common/getReward.d.ts +0 -58
  940. package/dist/src/staking-templates/templates/common/getReward.d.ts.map +0 -1
  941. package/dist/src/staking-templates/templates/common/getReward.js +0 -34
  942. package/dist/src/staking-templates/templates/common/getStakeEvent.d.ts +0 -31
  943. package/dist/src/staking-templates/templates/common/getStakeEvent.d.ts.map +0 -1
  944. package/dist/src/staking-templates/templates/common/getStakeEvent.js +0 -51
  945. package/dist/src/staking-templates/templates/common/lock.d.ts +0 -12
  946. package/dist/src/staking-templates/templates/common/lock.d.ts.map +0 -1
  947. package/dist/src/staking-templates/templates/common/lock.js +0 -20
  948. package/dist/src/staking-templates/templates/common/lockMult.d.ts +0 -3
  949. package/dist/src/staking-templates/templates/common/lockMult.d.ts.map +0 -1
  950. package/dist/src/staking-templates/templates/common/lockMult.js +0 -15
  951. package/dist/src/staking-templates/templates/common/partialUnstake.d.ts +0 -62
  952. package/dist/src/staking-templates/templates/common/partialUnstake.d.ts.map +0 -1
  953. package/dist/src/staking-templates/templates/common/partialUnstake.js +0 -39
  954. package/dist/src/staking-templates/templates/common/rewardDistribution.d.ts +0 -13
  955. package/dist/src/staking-templates/templates/common/rewardDistribution.d.ts.map +0 -1
  956. package/dist/src/staking-templates/templates/common/rewardDistribution.js +0 -19
  957. package/dist/src/staking-templates/templates/common/templates.d.ts +0 -61
  958. package/dist/src/staking-templates/templates/common/templates.d.ts.map +0 -1
  959. package/dist/src/staking-templates/templates/common/templates.js +0 -8
  960. package/dist/src/staking-templates/templates/common/time.d.ts +0 -2
  961. package/dist/src/staking-templates/templates/common/time.d.ts.map +0 -1
  962. package/dist/src/staking-templates/templates/common/time.js +0 -4
  963. package/dist/src/staking-templates/templates/common/unstake.d.ts +0 -58
  964. package/dist/src/staking-templates/templates/common/unstake.d.ts.map +0 -1
  965. package/dist/src/staking-templates/templates/common/unstake.js +0 -34
  966. package/dist/src/staking-templates/templates/reputation/common.d.ts +0 -23
  967. package/dist/src/staking-templates/templates/reputation/common.d.ts.map +0 -1
  968. package/dist/src/staking-templates/templates/reputation/common.js +0 -3
  969. package/dist/src/staking-templates/templates/reputation/index.d.ts +0 -233
  970. package/dist/src/staking-templates/templates/reputation/index.d.ts.map +0 -1
  971. package/dist/src/staking-templates/templates/reputation/index.js +0 -4
  972. package/dist/src/staking-templates/templates/reputation/v0/createPlatform.d.ts +0 -81
  973. package/dist/src/staking-templates/templates/reputation/v0/createPlatform.d.ts.map +0 -1
  974. package/dist/src/staking-templates/templates/reputation/v0/createPlatform.js +0 -56
  975. package/dist/src/staking-templates/templates/reputation/v0/createPool.d.ts +0 -113
  976. package/dist/src/staking-templates/templates/reputation/v0/createPool.d.ts.map +0 -1
  977. package/dist/src/staking-templates/templates/reputation/v0/createPool.js +0 -85
  978. package/dist/src/staking-templates/templates/reputation/v0/index.d.ts +0 -233
  979. package/dist/src/staking-templates/templates/reputation/v0/index.d.ts.map +0 -1
  980. package/dist/src/staking-templates/templates/reputation/v0/index.js +0 -25
  981. package/dist/src/staking-templates/templates/reputation/v0/restake.d.ts +0 -61
  982. package/dist/src/staking-templates/templates/reputation/v0/restake.d.ts.map +0 -1
  983. package/dist/src/staking-templates/templates/reputation/v0/restake.js +0 -40
  984. package/dist/src/staking-templates/templates/reputation/v0/stake.d.ts +0 -61
  985. package/dist/src/staking-templates/templates/reputation/v0/stake.d.ts.map +0 -1
  986. package/dist/src/staking-templates/templates/reputation/v0/stake.js +0 -45
  987. package/dist/src/staking-templates/templates/reputationLock/common.d.ts +0 -23
  988. package/dist/src/staking-templates/templates/reputationLock/common.d.ts.map +0 -1
  989. package/dist/src/staking-templates/templates/reputationLock/common.js +0 -3
  990. package/dist/src/staking-templates/templates/reputationLock/index.d.ts +0 -244
  991. package/dist/src/staking-templates/templates/reputationLock/index.d.ts.map +0 -1
  992. package/dist/src/staking-templates/templates/reputationLock/index.js +0 -4
  993. package/dist/src/staking-templates/templates/reputationLock/v0/createPlatform.d.ts +0 -81
  994. package/dist/src/staking-templates/templates/reputationLock/v0/createPlatform.d.ts.map +0 -1
  995. package/dist/src/staking-templates/templates/reputationLock/v0/createPlatform.js +0 -56
  996. package/dist/src/staking-templates/templates/reputationLock/v0/createPool.d.ts +0 -149
  997. package/dist/src/staking-templates/templates/reputationLock/v0/createPool.d.ts.map +0 -1
  998. package/dist/src/staking-templates/templates/reputationLock/v0/createPool.js +0 -99
  999. package/dist/src/staking-templates/templates/reputationLock/v0/index.d.ts +0 -244
  1000. package/dist/src/staking-templates/templates/reputationLock/v0/index.d.ts.map +0 -1
  1001. package/dist/src/staking-templates/templates/reputationLock/v0/index.js +0 -25
  1002. package/dist/src/staking-templates/templates/reputationLock/v0/restake.d.ts +0 -65
  1003. package/dist/src/staking-templates/templates/reputationLock/v0/restake.d.ts.map +0 -1
  1004. package/dist/src/staking-templates/templates/reputationLock/v0/restake.js +0 -44
  1005. package/dist/src/staking-templates/templates/reputationLock/v0/stake.d.ts +0 -65
  1006. package/dist/src/staking-templates/templates/reputationLock/v0/stake.d.ts.map +0 -1
  1007. package/dist/src/staking-templates/templates/reputationLock/v0/stake.js +0 -46
  1008. package/dist/src/staking-templates/templates/rwa/common.d.ts +0 -23
  1009. package/dist/src/staking-templates/templates/rwa/common.d.ts.map +0 -1
  1010. package/dist/src/staking-templates/templates/rwa/common.js +0 -3
  1011. package/dist/src/staking-templates/templates/rwa/index.d.ts +0 -256
  1012. package/dist/src/staking-templates/templates/rwa/index.d.ts.map +0 -1
  1013. package/dist/src/staking-templates/templates/rwa/index.js +0 -4
  1014. package/dist/src/staking-templates/templates/rwa/v0/createPlatform.d.ts +0 -81
  1015. package/dist/src/staking-templates/templates/rwa/v0/createPlatform.d.ts.map +0 -1
  1016. package/dist/src/staking-templates/templates/rwa/v0/createPlatform.js +0 -56
  1017. package/dist/src/staking-templates/templates/rwa/v0/createPool.d.ts +0 -109
  1018. package/dist/src/staking-templates/templates/rwa/v0/createPool.d.ts.map +0 -1
  1019. package/dist/src/staking-templates/templates/rwa/v0/createPool.js +0 -79
  1020. package/dist/src/staking-templates/templates/rwa/v0/index.d.ts +0 -256
  1021. package/dist/src/staking-templates/templates/rwa/v0/index.d.ts.map +0 -1
  1022. package/dist/src/staking-templates/templates/rwa/v0/index.js +0 -27
  1023. package/dist/src/staking-templates/templates/rwa/v0/notifyRewards.d.ts +0 -61
  1024. package/dist/src/staking-templates/templates/rwa/v0/notifyRewards.d.ts.map +0 -1
  1025. package/dist/src/staking-templates/templates/rwa/v0/notifyRewards.js +0 -41
  1026. package/dist/src/staking-templates/templates/rwa/v0/restake.d.ts +0 -61
  1027. package/dist/src/staking-templates/templates/rwa/v0/restake.d.ts.map +0 -1
  1028. package/dist/src/staking-templates/templates/rwa/v0/restake.js +0 -40
  1029. package/dist/src/staking-templates/templates/rwa/v0/stake.d.ts +0 -61
  1030. package/dist/src/staking-templates/templates/rwa/v0/stake.d.ts.map +0 -1
  1031. package/dist/src/staking-templates/templates/rwa/v0/stake.js +0 -45
  1032. package/dist/staking/platforms/common/platformNotFound.d.ts +0 -9
  1033. package/dist/staking/platforms/common/platformNotFound.d.ts.map +0 -1
  1034. package/dist/staking/platforms/common/platformNotFound.js +0 -13
  1035. package/dist/staking/pools/common/poolNotFound.d.ts +0 -10
  1036. package/dist/staking/pools/common/poolNotFound.d.ts.map +0 -1
  1037. package/dist/staking/pools/common/poolNotFound.js +0 -14
  1038. package/dist/staking/stakes/common/stakeNotFound.d.ts +0 -9
  1039. package/dist/staking/stakes/common/stakeNotFound.d.ts.map +0 -1
  1040. package/dist/staking/stakes/common/stakeNotFound.js +0 -13
  1041. package/dist/staking-templates/index.d.ts +0 -732
  1042. package/dist/staking-templates/index.d.ts.map +0 -1
  1043. package/dist/staking-templates/index.js +0 -18
  1044. package/dist/staking-templates/templates/common/amount.d.ts +0 -7
  1045. package/dist/staking-templates/templates/common/amount.d.ts.map +0 -1
  1046. package/dist/staking-templates/templates/common/amount.js +0 -15
  1047. package/dist/staking-templates/templates/common/amountMult.d.ts +0 -3
  1048. package/dist/staking-templates/templates/common/amountMult.d.ts.map +0 -1
  1049. package/dist/staking-templates/templates/common/amountMult.js +0 -22
  1050. package/dist/staking-templates/templates/common/erc20Input.d.ts +0 -6
  1051. package/dist/staking-templates/templates/common/erc20Input.d.ts.map +0 -1
  1052. package/dist/staking-templates/templates/common/erc20Input.js +0 -14
  1053. package/dist/staking-templates/templates/common/erc20Reward.d.ts +0 -6
  1054. package/dist/staking-templates/templates/common/erc20Reward.d.ts.map +0 -1
  1055. package/dist/staking-templates/templates/common/erc20Reward.js +0 -13
  1056. package/dist/staking-templates/templates/common/getCreatePoolEvent.d.ts +0 -31
  1057. package/dist/staking-templates/templates/common/getCreatePoolEvent.d.ts.map +0 -1
  1058. package/dist/staking-templates/templates/common/getCreatePoolEvent.js +0 -47
  1059. package/dist/staking-templates/templates/common/getPlatformDeployEvent.d.ts +0 -40
  1060. package/dist/staking-templates/templates/common/getPlatformDeployEvent.d.ts.map +0 -1
  1061. package/dist/staking-templates/templates/common/getPlatformDeployEvent.js +0 -46
  1062. package/dist/staking-templates/templates/common/getReward.d.ts +0 -58
  1063. package/dist/staking-templates/templates/common/getReward.d.ts.map +0 -1
  1064. package/dist/staking-templates/templates/common/getReward.js +0 -34
  1065. package/dist/staking-templates/templates/common/getStakeEvent.d.ts +0 -31
  1066. package/dist/staking-templates/templates/common/getStakeEvent.d.ts.map +0 -1
  1067. package/dist/staking-templates/templates/common/getStakeEvent.js +0 -51
  1068. package/dist/staking-templates/templates/common/lock.d.ts +0 -6
  1069. package/dist/staking-templates/templates/common/lock.d.ts.map +0 -1
  1070. package/dist/staking-templates/templates/common/lock.js +0 -18
  1071. package/dist/staking-templates/templates/common/lockMult.d.ts +0 -3
  1072. package/dist/staking-templates/templates/common/lockMult.d.ts.map +0 -1
  1073. package/dist/staking-templates/templates/common/lockMult.js +0 -14
  1074. package/dist/staking-templates/templates/common/partialUnstake.d.ts +0 -62
  1075. package/dist/staking-templates/templates/common/partialUnstake.d.ts.map +0 -1
  1076. package/dist/staking-templates/templates/common/partialUnstake.js +0 -39
  1077. package/dist/staking-templates/templates/common/rewardDistribution.d.ts +0 -7
  1078. package/dist/staking-templates/templates/common/rewardDistribution.d.ts.map +0 -1
  1079. package/dist/staking-templates/templates/common/rewardDistribution.js +0 -16
  1080. package/dist/staking-templates/templates/common/templates.d.ts +0 -61
  1081. package/dist/staking-templates/templates/common/templates.d.ts.map +0 -1
  1082. package/dist/staking-templates/templates/common/templates.js +0 -8
  1083. package/dist/staking-templates/templates/common/time.d.ts +0 -2
  1084. package/dist/staking-templates/templates/common/time.d.ts.map +0 -1
  1085. package/dist/staking-templates/templates/common/time.js +0 -4
  1086. package/dist/staking-templates/templates/common/unstake.d.ts +0 -58
  1087. package/dist/staking-templates/templates/common/unstake.d.ts.map +0 -1
  1088. package/dist/staking-templates/templates/common/unstake.js +0 -34
  1089. package/dist/staking-templates/templates/reputation/common.d.ts +0 -23
  1090. package/dist/staking-templates/templates/reputation/common.d.ts.map +0 -1
  1091. package/dist/staking-templates/templates/reputation/common.js +0 -3
  1092. package/dist/staking-templates/templates/reputation/index.d.ts +0 -233
  1093. package/dist/staking-templates/templates/reputation/index.d.ts.map +0 -1
  1094. package/dist/staking-templates/templates/reputation/index.js +0 -4
  1095. package/dist/staking-templates/templates/reputation/v0/createPlatform.d.ts +0 -81
  1096. package/dist/staking-templates/templates/reputation/v0/createPlatform.d.ts.map +0 -1
  1097. package/dist/staking-templates/templates/reputation/v0/createPlatform.js +0 -56
  1098. package/dist/staking-templates/templates/reputation/v0/createPool.d.ts +0 -113
  1099. package/dist/staking-templates/templates/reputation/v0/createPool.d.ts.map +0 -1
  1100. package/dist/staking-templates/templates/reputation/v0/createPool.js +0 -85
  1101. package/dist/staking-templates/templates/reputation/v0/index.d.ts +0 -233
  1102. package/dist/staking-templates/templates/reputation/v0/index.d.ts.map +0 -1
  1103. package/dist/staking-templates/templates/reputation/v0/index.js +0 -25
  1104. package/dist/staking-templates/templates/reputation/v0/restake.d.ts +0 -61
  1105. package/dist/staking-templates/templates/reputation/v0/restake.d.ts.map +0 -1
  1106. package/dist/staking-templates/templates/reputation/v0/restake.js +0 -40
  1107. package/dist/staking-templates/templates/reputation/v0/stake.d.ts +0 -61
  1108. package/dist/staking-templates/templates/reputation/v0/stake.d.ts.map +0 -1
  1109. package/dist/staking-templates/templates/reputation/v0/stake.js +0 -45
  1110. package/dist/staking-templates/templates/reputationLock/common.d.ts +0 -23
  1111. package/dist/staking-templates/templates/reputationLock/common.d.ts.map +0 -1
  1112. package/dist/staking-templates/templates/reputationLock/common.js +0 -3
  1113. package/dist/staking-templates/templates/reputationLock/index.d.ts +0 -244
  1114. package/dist/staking-templates/templates/reputationLock/index.d.ts.map +0 -1
  1115. package/dist/staking-templates/templates/reputationLock/index.js +0 -4
  1116. package/dist/staking-templates/templates/reputationLock/v0/createPlatform.d.ts +0 -81
  1117. package/dist/staking-templates/templates/reputationLock/v0/createPlatform.d.ts.map +0 -1
  1118. package/dist/staking-templates/templates/reputationLock/v0/createPlatform.js +0 -56
  1119. package/dist/staking-templates/templates/reputationLock/v0/createPool.d.ts +0 -149
  1120. package/dist/staking-templates/templates/reputationLock/v0/createPool.d.ts.map +0 -1
  1121. package/dist/staking-templates/templates/reputationLock/v0/createPool.js +0 -99
  1122. package/dist/staking-templates/templates/reputationLock/v0/index.d.ts +0 -244
  1123. package/dist/staking-templates/templates/reputationLock/v0/index.d.ts.map +0 -1
  1124. package/dist/staking-templates/templates/reputationLock/v0/index.js +0 -25
  1125. package/dist/staking-templates/templates/reputationLock/v0/restake.d.ts +0 -65
  1126. package/dist/staking-templates/templates/reputationLock/v0/restake.d.ts.map +0 -1
  1127. package/dist/staking-templates/templates/reputationLock/v0/restake.js +0 -44
  1128. package/dist/staking-templates/templates/reputationLock/v0/stake.d.ts +0 -65
  1129. package/dist/staking-templates/templates/reputationLock/v0/stake.d.ts.map +0 -1
  1130. package/dist/staking-templates/templates/reputationLock/v0/stake.js +0 -46
  1131. package/dist/staking-templates/templates/rwa/common.d.ts +0 -23
  1132. package/dist/staking-templates/templates/rwa/common.d.ts.map +0 -1
  1133. package/dist/staking-templates/templates/rwa/common.js +0 -3
  1134. package/dist/staking-templates/templates/rwa/index.d.ts +0 -256
  1135. package/dist/staking-templates/templates/rwa/index.d.ts.map +0 -1
  1136. package/dist/staking-templates/templates/rwa/index.js +0 -4
  1137. package/dist/staking-templates/templates/rwa/v0/createPlatform.d.ts +0 -81
  1138. package/dist/staking-templates/templates/rwa/v0/createPlatform.d.ts.map +0 -1
  1139. package/dist/staking-templates/templates/rwa/v0/createPlatform.js +0 -56
  1140. package/dist/staking-templates/templates/rwa/v0/createPool.d.ts +0 -109
  1141. package/dist/staking-templates/templates/rwa/v0/createPool.d.ts.map +0 -1
  1142. package/dist/staking-templates/templates/rwa/v0/createPool.js +0 -79
  1143. package/dist/staking-templates/templates/rwa/v0/distributeRewards.d.ts +0 -61
  1144. package/dist/staking-templates/templates/rwa/v0/distributeRewards.d.ts.map +0 -1
  1145. package/dist/staking-templates/templates/rwa/v0/distributeRewards.js +0 -41
  1146. package/dist/staking-templates/templates/rwa/v0/index.d.ts +0 -256
  1147. package/dist/staking-templates/templates/rwa/v0/index.d.ts.map +0 -1
  1148. package/dist/staking-templates/templates/rwa/v0/index.js +0 -27
  1149. package/dist/staking-templates/templates/rwa/v0/notifyRewards.d.ts +0 -61
  1150. package/dist/staking-templates/templates/rwa/v0/notifyRewards.d.ts.map +0 -1
  1151. package/dist/staking-templates/templates/rwa/v0/notifyRewards.js +0 -41
  1152. package/dist/staking-templates/templates/rwa/v0/restake.d.ts +0 -61
  1153. package/dist/staking-templates/templates/rwa/v0/restake.d.ts.map +0 -1
  1154. package/dist/staking-templates/templates/rwa/v0/restake.js +0 -40
  1155. package/dist/staking-templates/templates/rwa/v0/stake.d.ts +0 -61
  1156. package/dist/staking-templates/templates/rwa/v0/stake.d.ts.map +0 -1
  1157. package/dist/staking-templates/templates/rwa/v0/stake.js +0 -45
  1158. package/dist/v0/fractions/index.d.ts +0 -129
  1159. package/dist/v0/fractions/index.d.ts.map +0 -1
  1160. package/dist/v0/fractions/index.js +0 -9
  1161. package/dist/v0/fractions/networkStatistics.route.d.ts +0 -297
  1162. package/dist/v0/fractions/networkStatistics.route.d.ts.map +0 -1
  1163. package/dist/v0/fractions/networkStatistics.route.js +0 -225
  1164. package/dist/v1/fractions/lending/buyback/buyback.routes.d.ts +0 -65
  1165. package/dist/v1/fractions/lending/buyback/buyback.routes.d.ts.map +0 -1
  1166. package/dist/v1/fractions/lending/buyback/buyback.routes.js +0 -27
  1167. package/dist/v1/fractions/lending/buyback/buyback.schema.d.ts +0 -8
  1168. package/dist/v1/fractions/lending/buyback/buyback.schema.d.ts.map +0 -1
  1169. package/dist/v1/fractions/lending/buyback/buyback.schema.js +0 -13
  1170. package/dist/v1/fractions/lending/createLendingSale.d.ts +0 -303
  1171. package/dist/v1/fractions/lending/createLendingSale.d.ts.map +0 -1
  1172. package/dist/v1/fractions/lending/createLendingSale.js +0 -79
  1173. package/dist/v1/fractions/lending/deployMarket/lending.routes.d.ts +0 -113
  1174. package/dist/v1/fractions/lending/deployMarket/lending.routes.d.ts.map +0 -1
  1175. package/dist/v1/fractions/lending/deployMarket/lending.routes.js +0 -41
  1176. package/dist/v1/fractions/lending/index.d.ts +0 -192
  1177. package/dist/v1/fractions/lending/index.d.ts.map +0 -1
  1178. package/dist/v1/fractions/lending/index.js +0 -22
  1179. package/dist/v1/fractions/lending/purchase/directPurchase.route.d.ts +0 -71
  1180. package/dist/v1/fractions/lending/purchase/directPurchase.route.d.ts.map +0 -1
  1181. package/dist/v1/fractions/lending/purchase/directPurchase.route.js +0 -31
  1182. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts +0 -61
  1183. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts.map +0 -1
  1184. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.routes.js +0 -27
  1185. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts +0 -7
  1186. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts.map +0 -1
  1187. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.js +0 -11
  1188. package/dist/v1/fractions/schemas.d.ts +0 -20
  1189. package/dist/v1/fractions/schemas.d.ts.map +0 -1
  1190. package/dist/v1/fractions/schemas.js +0 -20
@@ -1,76 +0,0 @@
1
- import { Env } from "hono";
2
- import { Factory } from "hono/factory";
3
- import { ITag } from "../../../../common/tag.js";
4
- export declare function createSearchPlatformsV0App<E extends Env>(factory: Factory<E>, tag: ITag): [import("hono/types").H<any, string, {}, Promise<Response & import("hono").TypedResponse<{
5
- chainId: "11155111" | "31337";
6
- txHash: `0x${string}`;
7
- createdAt: string;
8
- contractAddress: `0x${string}`;
9
- adminAddress: `0x${string}`;
10
- updatedAt: string;
11
- }[], 200, "json">>>, import("hono/types").H<Env, string, {
12
- in: {
13
- json: {
14
- filter: {
15
- chainId?: "11155111" | "31337" | undefined;
16
- owner?: `0x${string}` | undefined;
17
- };
18
- page: {
19
- skip: number;
20
- limit: number;
21
- };
22
- };
23
- };
24
- out: {
25
- json: {
26
- filter: {
27
- chainId?: "11155111" | "31337" | undefined;
28
- owner?: `0x${string}` | undefined;
29
- };
30
- page: {
31
- skip: number;
32
- limit: number;
33
- };
34
- };
35
- };
36
- }, Promise<Response & import("hono").TypedResponse<{
37
- chainId: "11155111" | "31337";
38
- txHash: `0x${string}`;
39
- createdAt: string;
40
- contractAddress: `0x${string}`;
41
- adminAddress: `0x${string}`;
42
- updatedAt: string;
43
- }[], 200, "json">>>, import("hono/types").H<import("hono/utils/types").IfAnyThenEmptyObject<E extends Env ? Env extends E ? {} : E : E> & {}, string, {
44
- in: {
45
- json: {
46
- filter: {
47
- chainId?: "11155111" | "31337" | undefined;
48
- owner?: `0x${string}` | undefined;
49
- };
50
- page: {
51
- skip: number;
52
- limit: number;
53
- };
54
- };
55
- };
56
- out: {
57
- json: {
58
- filter: {
59
- chainId?: "11155111" | "31337" | undefined;
60
- owner?: `0x${string}` | undefined;
61
- };
62
- page: {
63
- skip: number;
64
- limit: number;
65
- };
66
- };
67
- };
68
- }, Promise<Response & import("hono").TypedResponse<{
69
- chainId: "11155111" | "31337";
70
- txHash: `0x${string}`;
71
- createdAt: string;
72
- contractAddress: `0x${string}`;
73
- adminAddress: `0x${string}`;
74
- updatedAt: string;
75
- }[], 200, "json">>>];
76
- //# sourceMappingURL=searchPlatforms.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"searchPlatforms.d.ts","sourceRoot":"","sources":["../../../../../../src/staking/platforms/searchPlatforms/v0/searchPlatforms.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AASvC,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAGjD,wBAAgB,0BAA0B,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAgDvF"}
@@ -1,42 +0,0 @@
1
- import { describeRoute } from "hono-openapi";
2
- import { resolver, validator } from "hono-openapi/zod";
3
- import { and, eq } from "@ponder/client";
4
- import { indexerClient } from "../../../../common/indexer/index.js";
5
- import { indexerSchemas } from "../../../../common/indexer/schemas.js";
6
- import { PageSchema } from "../../../../common/models/page.js";
7
- import { AddressSchema, StakingChainId } from "../../../../common/index.js";
8
- import { z } from "../../../../common/zod.js";
9
- import { PlatformSchema, mapToPlatform } from "../../common/platform.js";
10
- export function createSearchPlatformsV0App(factory, tag) {
11
- return factory.createHandlers(describeRoute({
12
- summary: "Search Platforms",
13
- description: "Retrieve a list of platforms with filtering and sorting",
14
- tags: [tag.tag],
15
- responses: {
16
- 200: {
17
- description: "Returns list of platforms by specified filter",
18
- content: {
19
- "application/json": {
20
- schema: resolver(z.array(PlatformSchema)),
21
- },
22
- },
23
- },
24
- },
25
- }), validator("json", z.object({
26
- page: PageSchema,
27
- filter: z.object({
28
- chainId: StakingChainId.optional(),
29
- owner: AddressSchema.optional(),
30
- }),
31
- })), async (c) => {
32
- const { page, filter } = c.req.valid("json");
33
- const result = await indexerClient.db
34
- .select()
35
- .from(indexerSchemas.diamonds)
36
- .limit(page.limit)
37
- .offset(page.skip)
38
- .orderBy(indexerSchemas.diamonds.createdAt)
39
- .where(and(filter.chainId ? eq(indexerSchemas.diamonds.chainId, Number(filter.chainId)) : undefined, filter.owner ? eq(indexerSchemas.diamonds.adminAddress, filter.owner) : undefined));
40
- return c.json(result.map((x) => mapToPlatform(x)), 200);
41
- });
42
- }
@@ -1,29 +0,0 @@
1
- import { z } from "../../../common/zod.js";
2
- import { indexerSchemas } from "../../../common/indexer/schemas.js";
3
- export declare const PoolSchema: z.ZodObject<{
4
- chainId: z.ZodType<"11155111" | "31337", z.ZodTypeDef, "11155111" | "31337">;
5
- platform: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
6
- rewardsHandler: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
7
- assetHandler: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
8
- txHash: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
9
- poolId: z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBigInt]>, z.ZodBigInt>;
10
- createdAt: z.ZodString;
11
- }, "strip", z.ZodTypeAny, {
12
- chainId: "11155111" | "31337";
13
- platform: `0x${string}`;
14
- poolId: bigint;
15
- rewardsHandler: `0x${string}`;
16
- txHash: `0x${string}`;
17
- createdAt: string;
18
- assetHandler: `0x${string}`;
19
- }, {
20
- chainId: "11155111" | "31337";
21
- platform: `0x${string}`;
22
- poolId: string | number | bigint;
23
- rewardsHandler: `0x${string}`;
24
- txHash: `0x${string}`;
25
- createdAt: string;
26
- assetHandler: `0x${string}`;
27
- }>;
28
- export declare function mapToPool(raw: typeof indexerSchemas.pools.$inferSelect): z.output<typeof PoolSchema>;
29
- //# sourceMappingURL=pool.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pool.d.ts","sourceRoot":"","sources":["../../../../../src/staking/pools/common/pool.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AAS3C,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEpE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;EAYnB,CAAC;AAEL,wBAAgB,SAAS,CAAC,GAAG,EAAE,OAAO,cAAc,CAAC,KAAK,CAAC,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,CAUpG"}
@@ -1,28 +0,0 @@
1
- import { unixToDate } from "@evergonlabs/tmi-protocol-utils/date";
2
- import { z } from "../../../common/zod.js";
3
- import { ISOSchema } from "../../../common/models/date.js";
4
- import { AddressSchema, HashSchema, PlatformContractAddress, PoolIdSchema, StakingChainId, } from "../../../common/index.js";
5
- export const PoolSchema = z
6
- .object({
7
- chainId: StakingChainId,
8
- platform: PlatformContractAddress,
9
- rewardsHandler: AddressSchema,
10
- assetHandler: AddressSchema,
11
- txHash: HashSchema,
12
- poolId: PoolIdSchema,
13
- createdAt: ISOSchema,
14
- })
15
- .openapi({
16
- ref: "Pool",
17
- });
18
- export function mapToPool(raw) {
19
- return {
20
- chainId: StakingChainId.parse(raw.chainId),
21
- platform: raw.diamondAddress,
22
- rewardsHandler: raw.rewardsHandler,
23
- assetHandler: raw.assetsHandler,
24
- txHash: raw.txHash,
25
- poolId: raw.poolId,
26
- createdAt: unixToDate(raw.createdAt).toISOString(),
27
- };
28
- }
@@ -1,10 +0,0 @@
1
- import { CustomError } from "@evergonlabs/tmi-utils/errors";
2
- import { Address } from "viem";
3
- export declare class PoolNotFoundError extends CustomError<{
4
- chainId: string;
5
- platform: Address;
6
- poolId: string;
7
- }> {
8
- constructor(chainId: string, poolId: string, platform: Address);
9
- }
10
- //# sourceMappingURL=poolNotFound.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"poolNotFound.d.ts","sourceRoot":"","sources":["../../../../../src/staking/pools/common/poolNotFound.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,qBAAa,iBAAkB,SAAQ,WAAW,CAAC;IACjD,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;gBACY,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO;CAW/D"}
@@ -1,14 +0,0 @@
1
- import { CustomError } from "@evergonlabs/tmi-utils/errors";
2
- export class PoolNotFoundError extends CustomError {
3
- constructor(chainId, poolId, platform) {
4
- super({
5
- name: "PoolNotFoundError",
6
- message: `Pool with id ${poolId} in ${platform} platform is not found (chainId ${chainId})`,
7
- data: {
8
- chainId: chainId,
9
- platform: platform,
10
- poolId: poolId,
11
- },
12
- });
13
- }
14
- }
@@ -1,20 +0,0 @@
1
- import { Env } from "hono";
2
- import { Factory } from "hono/factory";
3
- import { ITag } from "../../../common/tag.js";
4
- export declare function createGetPoolApp<E extends Env>(factory: Factory<E>, tag: ITag): import("hono/hono-base").HonoBase<E, {
5
- "/v0": {
6
- $get: {
7
- input: {
8
- query: {
9
- chainId: string | string[];
10
- platform: string | string[];
11
- poolId: string | string[];
12
- };
13
- };
14
- output: never;
15
- outputFormat: "json";
16
- status: 200;
17
- };
18
- };
19
- }, "/">;
20
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/staking/pools/getPool/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI;;;;;;;;;;;;;;;QAE7E"}
@@ -1,4 +0,0 @@
1
- import { createGetPoolV0App } from "./v0/getPool.js";
2
- export function createGetPoolApp(factory, tag) {
3
- return factory.createApp().get("/v0", ...createGetPoolV0App(factory, tag));
4
- }
@@ -1,35 +0,0 @@
1
- import { Factory } from "hono/factory";
2
- import { Env } from "hono";
3
- import { ITag } from "../../../../common/tag.js";
4
- export declare function createGetPoolV0App<E extends Env>(factory: Factory<E>, tag: ITag): [import("hono/types").H<any, string, {}, Promise<Response & import("hono").TypedResponse<never, 200, "json">>>, import("hono/types").H<Env, string, {
5
- in: {
6
- query: {
7
- chainId: string | string[];
8
- platform: string | string[];
9
- poolId: string | string[];
10
- };
11
- };
12
- out: {
13
- query: {
14
- chainId: "11155111" | "31337";
15
- platform: `0x${string}`;
16
- poolId: bigint;
17
- };
18
- };
19
- }, Promise<Response & import("hono").TypedResponse<never, 200, "json">>>, import("hono/types").H<import("hono/utils/types").IfAnyThenEmptyObject<E extends Env ? Env extends E ? {} : E : E> & {}, string, {
20
- in: {
21
- query: {
22
- chainId: string | string[];
23
- platform: string | string[];
24
- poolId: string | string[];
25
- };
26
- };
27
- out: {
28
- query: {
29
- chainId: "11155111" | "31337";
30
- platform: `0x${string}`;
31
- poolId: bigint;
32
- };
33
- };
34
- }, Promise<Response & import("hono").TypedResponse<never, 200, "json">>>];
35
- //# sourceMappingURL=getPool.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getPool.d.ts","sourceRoot":"","sources":["../../../../../../src/staking/pools/getPool/v0/getPool.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAGvC,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAK3B,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAIjD,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0EAqE/E"}
@@ -1,64 +0,0 @@
1
- import { and, eq } from "@ponder/client";
2
- import { describeRoute } from "hono-openapi";
3
- import { resolver, validator } from "hono-openapi/zod";
4
- import { indexerClient } from "../../../../common/indexer/index.js";
5
- import { z } from "../../../../common/zod.js";
6
- import { indexerSchemas } from "../../../../common/indexer/schemas.js";
7
- import { ErrorSchema, PlatformContractAddress, PoolIdSchema, StakingChainId } from "../../../../common/index.js";
8
- import { mapToPool, PoolSchema } from "../../common/pool.js";
9
- import { PoolNotFoundError } from "../../common/poolNotFound.js";
10
- export function createGetPoolV0App(factory, tag) {
11
- return factory.createHandlers(describeRoute({
12
- summary: "Get Pool",
13
- description: "Retrieve details of a specified pool",
14
- tags: [tag.tag],
15
- responses: {
16
- 200: {
17
- description: "List platforms",
18
- content: {
19
- "application/json": {
20
- schema: resolver(PoolSchema),
21
- },
22
- },
23
- },
24
- 404: {
25
- description: "No pool found",
26
- content: {
27
- "application/json": {
28
- schema: resolver(ErrorSchema),
29
- },
30
- },
31
- },
32
- },
33
- }), validator("query", z.object({
34
- chainId: StakingChainId.openapi({
35
- param: {
36
- name: "chainId",
37
- in: "query",
38
- },
39
- }),
40
- poolId: PoolIdSchema.openapi({
41
- param: {
42
- name: "poolId",
43
- in: "query",
44
- },
45
- }),
46
- platform: PlatformContractAddress.openapi({
47
- param: {
48
- name: "platform",
49
- in: "query",
50
- },
51
- }),
52
- })), async (c) => {
53
- const { chainId, platform, poolId } = c.req.valid("query");
54
- const [pool] = await indexerClient.db
55
- .select()
56
- .from(indexerSchemas.pools)
57
- .limit(1)
58
- .where(and(eq(indexerSchemas.pools.chainId, Number(chainId)), eq(indexerSchemas.pools.diamondAddress, platform), eq(indexerSchemas.pools.poolId, poolId)));
59
- if (!pool) {
60
- throw new PoolNotFoundError(chainId, poolId.toString(), platform);
61
- }
62
- return c.json(mapToPool(pool), 200);
63
- });
64
- }
@@ -1,39 +0,0 @@
1
- import { Env } from "hono";
2
- import { Factory } from "hono/factory";
3
- export declare function createPoolsApp<E extends Env>(factory: Factory<E>): import("hono/hono-base").HonoBase<E, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
4
- "/v0": {
5
- $post: {
6
- input: {
7
- json: {
8
- filter: {
9
- chainId?: "11155111" | "31337" | undefined;
10
- platform?: `0x${string}` | undefined;
11
- };
12
- page: {
13
- skip: number;
14
- limit: number;
15
- };
16
- };
17
- };
18
- output: never;
19
- outputFormat: "json";
20
- status: 200;
21
- };
22
- };
23
- }, "/searchPools"> | import("hono/types").MergeSchemaPath<{
24
- "/v0": {
25
- $get: {
26
- input: {
27
- query: {
28
- chainId: string | string[];
29
- platform: string | string[];
30
- poolId: string | string[];
31
- };
32
- };
33
- output: never;
34
- outputFormat: "json";
35
- status: 200;
36
- };
37
- };
38
- }, "/getPool">, "/">;
39
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/staking/pools/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAKvC,wBAAgB,cAAc,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAMhE"}
@@ -1,10 +0,0 @@
1
- import { createTag } from "../../common/tag.js";
2
- import { createSearchPoolsApp } from "./searchPools/index.js";
3
- import { createGetPoolApp } from "./getPool/index.js";
4
- export function createPoolsApp(factory) {
5
- const tag = createTag("Pools");
6
- return factory
7
- .createApp()
8
- .route("/searchPools", createSearchPoolsApp(factory, tag))
9
- .route("/getPool", createGetPoolApp(factory, tag));
10
- }
@@ -1,25 +0,0 @@
1
- import { Env } from "hono";
2
- import { Factory } from "hono/factory";
3
- import { ITag } from "../../../common/tag.js";
4
- export declare function createSearchPoolsApp<E extends Env>(factory: Factory<E>, tag: ITag): import("hono/hono-base").HonoBase<E, {
5
- "/v0": {
6
- $post: {
7
- input: {
8
- json: {
9
- filter: {
10
- chainId?: "11155111" | "31337" | undefined;
11
- platform?: `0x${string}` | undefined;
12
- };
13
- page: {
14
- skip: number;
15
- limit: number;
16
- };
17
- };
18
- };
19
- output: never;
20
- outputFormat: "json";
21
- status: 200;
22
- };
23
- };
24
- }, "/">;
25
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/staking/pools/searchPools/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI;;;;;;;;;;;;;;;;;;;;QAEjF"}
@@ -1,4 +0,0 @@
1
- import { createSearchPoolsV0App } from "./v0/searchPools.js";
2
- export function createSearchPoolsApp(factory, tag) {
3
- return factory.createApp().post("/v0", ...createSearchPoolsV0App(factory, tag));
4
- }
@@ -1,55 +0,0 @@
1
- import { Env } from "hono";
2
- import { Factory } from "hono/factory";
3
- import { ITag } from "../../../../common/tag.js";
4
- export declare function createSearchPoolsV0App<E extends Env>(factory: Factory<E>, tag: ITag): [import("hono/types").H<any, string, {}, Promise<Response & import("hono").TypedResponse<never, 200, "json">>>, import("hono/types").H<Env, string, {
5
- in: {
6
- json: {
7
- filter: {
8
- chainId?: "11155111" | "31337" | undefined;
9
- platform?: `0x${string}` | undefined;
10
- };
11
- page: {
12
- skip: number;
13
- limit: number;
14
- };
15
- };
16
- };
17
- out: {
18
- json: {
19
- filter: {
20
- chainId?: "11155111" | "31337" | undefined;
21
- platform?: `0x${string}` | undefined;
22
- };
23
- page: {
24
- skip: number;
25
- limit: number;
26
- };
27
- };
28
- };
29
- }, Promise<Response & import("hono").TypedResponse<never, 200, "json">>>, import("hono/types").H<import("hono/utils/types").IfAnyThenEmptyObject<E extends Env ? Env extends E ? {} : E : E> & {}, string, {
30
- in: {
31
- json: {
32
- filter: {
33
- chainId?: "11155111" | "31337" | undefined;
34
- platform?: `0x${string}` | undefined;
35
- };
36
- page: {
37
- skip: number;
38
- limit: number;
39
- };
40
- };
41
- };
42
- out: {
43
- json: {
44
- filter: {
45
- chainId?: "11155111" | "31337" | undefined;
46
- platform?: `0x${string}` | undefined;
47
- };
48
- page: {
49
- skip: number;
50
- limit: number;
51
- };
52
- };
53
- };
54
- }, Promise<Response & import("hono").TypedResponse<never, 200, "json">>>];
55
- //# sourceMappingURL=searchPools.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"searchPools.d.ts","sourceRoot":"","sources":["../../../../../../src/staking/pools/searchPools/v0/searchPools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AASvC,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAGjD,wBAAgB,sBAAsB,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0EAgDnF"}
@@ -1,42 +0,0 @@
1
- import { describeRoute } from "hono-openapi";
2
- import { resolver, validator } from "hono-openapi/zod";
3
- import { and, eq } from "@ponder/client";
4
- import { indexerClient } from "../../../../common/indexer/index.js";
5
- import { indexerSchemas } from "../../../../common/indexer/schemas.js";
6
- import { PageSchema } from "../../../../common/models/page.js";
7
- import { PlatformContractAddress, StakingChainId } from "../../../../common/index.js";
8
- import { z } from "../../../../common/zod.js";
9
- import { mapToPool, PoolSchema } from "../../common/pool.js";
10
- export function createSearchPoolsV0App(factory, tag) {
11
- return factory.createHandlers(describeRoute({
12
- summary: "Search Pools",
13
- description: "Retrieve a list of pools with filtering and sorting",
14
- tags: [tag.tag],
15
- responses: {
16
- 200: {
17
- description: "Returns list of pools by specified filter",
18
- content: {
19
- "application/json": {
20
- schema: resolver(z.array(PoolSchema)),
21
- },
22
- },
23
- },
24
- },
25
- }), validator("json", z.object({
26
- page: PageSchema,
27
- filter: z.object({
28
- chainId: StakingChainId.optional(),
29
- platform: PlatformContractAddress.optional(),
30
- }),
31
- })), async (c) => {
32
- const { page, filter } = c.req.valid("json");
33
- const result = await indexerClient.db
34
- .select()
35
- .from(indexerSchemas.pools)
36
- .limit(page.limit)
37
- .offset(page.skip)
38
- .orderBy(indexerSchemas.pools.createdAt)
39
- .where(and(filter.chainId ? eq(indexerSchemas.pools.chainId, Number(filter.chainId)) : undefined, filter.platform ? eq(indexerSchemas.pools.diamondAddress, filter.platform) : undefined));
40
- return c.json(result.map((x) => mapToPool(x)), 200);
41
- });
42
- }
@@ -1,13 +0,0 @@
1
- import { z } from "../../../common/zod.js";
2
- export declare const RoleIdSchema: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
3
- export declare const RoleSchema: z.ZodObject<{
4
- name: z.ZodString;
5
- value: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
6
- }, "strip", z.ZodTypeAny, {
7
- value: `0x${string}`;
8
- name: string;
9
- }, {
10
- value: `0x${string}`;
11
- name: string;
12
- }>;
13
- //# sourceMappingURL=role.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"role.d.ts","sourceRoot":"","sources":["../../../../../src/staking/roles/common/role.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AAE3C,eAAO,MAAM,YAAY,uDAGvB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;EAUnB,CAAC"}
@@ -1,18 +0,0 @@
1
- import { getStakingRole, StakingRole } from "@evergonlabs/tmi-protocol-staking-sdk";
2
- import { HexStringSchema } from "../../../common/index.js";
3
- import { z } from "../../../common/zod.js";
4
- export const RoleIdSchema = HexStringSchema.openapi({
5
- description: "Hexademical identifier of role",
6
- example: getStakingRole(StakingRole.Staker),
7
- });
8
- export const RoleSchema = z
9
- .object({
10
- name: z.string().openapi({
11
- description: "User-friendly display name of a role",
12
- example: "Admin",
13
- }),
14
- value: RoleIdSchema,
15
- })
16
- .openapi({
17
- ref: "Role",
18
- });
@@ -1,27 +0,0 @@
1
- import { z } from "../../../common/zod.js";
2
- export declare const RoleAssignmentSchema: z.ZodObject<{
3
- chainId: z.ZodType<"11155111" | "31337", z.ZodTypeDef, "11155111" | "31337">;
4
- platform: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
5
- roleId: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
6
- poolId: z.ZodOptional<z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBigInt]>, z.ZodBigInt>>;
7
- owner: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
8
- createdAt: z.ZodString;
9
- updatedAt: z.ZodString;
10
- }, "strip", z.ZodTypeAny, {
11
- chainId: "11155111" | "31337";
12
- platform: `0x${string}`;
13
- createdAt: string;
14
- updatedAt: string;
15
- roleId: `0x${string}`;
16
- owner: `0x${string}`;
17
- poolId?: bigint | undefined;
18
- }, {
19
- chainId: "11155111" | "31337";
20
- platform: `0x${string}`;
21
- createdAt: string;
22
- updatedAt: string;
23
- roleId: `0x${string}`;
24
- owner: `0x${string}`;
25
- poolId?: string | number | bigint | undefined;
26
- }>;
27
- //# sourceMappingURL=roleAssignment.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"roleAssignment.d.ts","sourceRoot":"","sources":["../../../../../src/staking/roles/common/roleAssignment.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AAI3C,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;EAgB7B,CAAC"}
@@ -1,21 +0,0 @@
1
- import { ISOSchema } from "../../../common/models/date.js";
2
- import { z } from "../../../common/zod.js";
3
- import { AddressSchema, PlatformContractAddress, PoolIdSchema, StakingChainId } from "../../../common/index.js";
4
- import { RoleIdSchema } from "./role.js";
5
- export const RoleAssignmentSchema = z
6
- .object({
7
- chainId: StakingChainId,
8
- platform: PlatformContractAddress,
9
- roleId: RoleIdSchema,
10
- poolId: PoolIdSchema.optional().openapi({
11
- description: "If empty or 0 then it's platform-wide",
12
- }),
13
- owner: AddressSchema.openapi({
14
- description: "Address role assigned to",
15
- }),
16
- createdAt: ISOSchema,
17
- updatedAt: ISOSchema,
18
- })
19
- .openapi({
20
- ref: "RoleAssignment",
21
- });