@evergonlabs/tmi-protocol-api 0.9.0 → 0.10.0-rc.1

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 (948) hide show
  1. package/dist/app.d.ts +467 -28
  2. package/dist/app.d.ts.map +1 -1
  3. package/dist/client.d.ts +503 -28
  4. package/dist/client.d.ts.map +1 -1
  5. package/dist/common/models/base/date.d.ts +6 -0
  6. package/dist/common/models/base/date.d.ts.map +1 -0
  7. package/dist/common/models/base/date.js +13 -0
  8. package/dist/common/models/date.d.ts +1 -5
  9. package/dist/common/models/date.d.ts.map +1 -1
  10. package/dist/common/models/date.js +4 -13
  11. package/dist/common/models/exports.d.ts +1 -0
  12. package/dist/common/models/exports.d.ts.map +1 -1
  13. package/dist/common/models/exports.js +1 -0
  14. package/dist/common/models/index.d.ts +1 -0
  15. package/dist/common/models/index.d.ts.map +1 -1
  16. package/dist/common/models/index.js +1 -0
  17. package/dist/common/roles/erc1155-token-roles.d.ts +8 -0
  18. package/dist/common/roles/erc1155-token-roles.d.ts.map +1 -0
  19. package/dist/common/roles/erc1155-token-roles.js +13 -0
  20. package/dist/common/roles/exports.d.ts +1 -0
  21. package/dist/common/roles/exports.d.ts.map +1 -1
  22. package/dist/common/roles/exports.js +1 -0
  23. package/dist/fractions/markets/common/platform.d.ts.map +1 -1
  24. package/dist/fractions/markets/common/platform.js +2 -1
  25. package/dist/fractions/sales/common/fractionsSale.d.ts.map +1 -1
  26. package/dist/fractions/sales/common/fractionsSale.js +2 -1
  27. package/dist/fractions/sales/createFractions.schema.js +1 -1
  28. package/dist/fractions/sales/vesting/editCliff.route.js +1 -1
  29. package/dist/issuance/common/factories.base.d.ts +12 -12
  30. package/dist/issuance/erc1155/burn.d.ts +34 -0
  31. package/dist/issuance/erc1155/burn.d.ts.map +1 -0
  32. package/dist/issuance/erc1155/burn.js +39 -0
  33. package/dist/issuance/{erc721 → erc1155/default}/deploy.d.ts +3 -7
  34. package/dist/issuance/erc1155/default/deploy.d.ts.map +1 -0
  35. package/dist/issuance/erc1155/default/deploy.js +53 -0
  36. package/dist/issuance/{erc721 → erc1155/default}/initialize.d.ts +3 -7
  37. package/dist/issuance/erc1155/default/initialize.d.ts.map +1 -0
  38. package/dist/issuance/{erc721 → erc1155/default}/initialize.js +11 -13
  39. package/dist/issuance/{erc721/parseErc721DeployEvent.d.ts → erc1155/default/parseDeployEvent.d.ts} +3 -5
  40. package/dist/issuance/erc1155/default/parseDeployEvent.d.ts.map +1 -0
  41. package/dist/issuance/{erc721/parseErc721DeployEvent.js → erc1155/default/parseDeployEvent.js} +13 -17
  42. package/dist/issuance/{erc721/deployGated.d.ts → erc1155/gated/deploy.d.ts} +4 -8
  43. package/dist/issuance/erc1155/gated/deploy.d.ts.map +1 -0
  44. package/dist/issuance/erc1155/gated/deploy.js +61 -0
  45. package/dist/issuance/{erc20 → erc1155/gated}/initialize.d.ts +5 -9
  46. package/dist/issuance/erc1155/gated/initialize.d.ts.map +1 -0
  47. package/dist/issuance/{erc20 → erc1155/gated}/initialize.js +15 -16
  48. package/dist/issuance/{erc20/parseErc20DeployEvent.d.ts → erc1155/gated/parseDeployEvent.d.ts} +4 -6
  49. package/dist/issuance/erc1155/gated/parseDeployEvent.d.ts.map +1 -0
  50. package/dist/issuance/{erc20/parseErc20DeployEvent.js → erc1155/gated/parseDeployEvent.js} +15 -20
  51. package/dist/issuance/erc1155/grantRole.d.ts +33 -0
  52. package/dist/issuance/erc1155/grantRole.d.ts.map +1 -0
  53. package/dist/issuance/erc1155/grantRole.js +41 -0
  54. package/dist/issuance/erc1155/index.d.ts +361 -0
  55. package/dist/issuance/erc1155/index.d.ts.map +1 -0
  56. package/dist/issuance/erc1155/index.js +38 -0
  57. package/dist/issuance/erc1155/mint.d.ts +34 -0
  58. package/dist/issuance/erc1155/mint.d.ts.map +1 -0
  59. package/dist/issuance/erc1155/mint.js +39 -0
  60. package/dist/issuance/erc1155/recover.d.ts +36 -0
  61. package/dist/issuance/erc1155/recover.d.ts.map +1 -0
  62. package/dist/issuance/erc1155/recover.js +40 -0
  63. package/dist/issuance/erc1155/renounceRole.d.ts +33 -0
  64. package/dist/issuance/erc1155/renounceRole.d.ts.map +1 -0
  65. package/dist/issuance/erc1155/renounceRole.js +41 -0
  66. package/dist/issuance/erc1155/revokeRole.d.ts +33 -0
  67. package/dist/issuance/erc1155/revokeRole.d.ts.map +1 -0
  68. package/dist/issuance/erc1155/revokeRole.js +41 -0
  69. package/dist/issuance/erc1155/setApprovalForAll.d.ts +32 -0
  70. package/dist/issuance/erc1155/setApprovalForAll.d.ts.map +1 -0
  71. package/dist/issuance/erc1155/setApprovalForAll.js +39 -0
  72. package/dist/issuance/erc1155/setBaseURI.d.ts +30 -0
  73. package/dist/issuance/erc1155/setBaseURI.d.ts.map +1 -0
  74. package/dist/issuance/erc1155/setBaseURI.js +36 -0
  75. package/dist/issuance/erc1155/setTokenURI.d.ts +32 -0
  76. package/dist/issuance/erc1155/setTokenURI.d.ts.map +1 -0
  77. package/dist/issuance/erc1155/setTokenURI.js +38 -0
  78. package/dist/issuance/erc721/approve.js +1 -1
  79. package/dist/issuance/erc721/burn.js +1 -1
  80. package/dist/issuance/erc721/default/deploy.js +4 -4
  81. package/dist/issuance/erc721/default/initialize.js +1 -1
  82. package/dist/issuance/erc721/default/parseDeployEvent.js +1 -1
  83. package/dist/issuance/erc721/gated/deploy.js +4 -4
  84. package/dist/issuance/erc721/gated/initialize.js +1 -1
  85. package/dist/issuance/erc721/gated/parseDeployEvent.js +1 -1
  86. package/dist/issuance/erc721/grantRole.js +1 -1
  87. package/dist/issuance/erc721/index.d.ts +0 -1
  88. package/dist/issuance/erc721/index.d.ts.map +1 -1
  89. package/dist/issuance/erc721/mint.d.ts +0 -2
  90. package/dist/issuance/erc721/mint.d.ts.map +1 -1
  91. package/dist/issuance/erc721/mint.js +4 -6
  92. package/dist/issuance/erc721/nextTokenId.d.ts +19 -0
  93. package/dist/issuance/erc721/nextTokenId.d.ts.map +1 -0
  94. package/dist/issuance/erc721/nextTokenId.js +79 -0
  95. package/dist/issuance/erc721/recover.js +1 -1
  96. package/dist/issuance/erc721/renounceRole.js +1 -1
  97. package/dist/issuance/erc721/revokeRole.js +1 -1
  98. package/dist/issuance/erc721/setBaseURI.js +1 -1
  99. package/dist/issuance/erc721/setTokenURI.js +1 -1
  100. package/dist/issuance/erc721/transferFrom.js +1 -1
  101. package/dist/issuance/index.d.ts +359 -1
  102. package/dist/issuance/index.d.ts.map +1 -1
  103. package/dist/issuance/index.js +2 -0
  104. package/dist/next/fractions/index.d.ts +108 -27
  105. package/dist/next/fractions/index.d.ts.map +1 -1
  106. package/dist/next/fractions/lending/index.d.ts +26 -25
  107. package/dist/next/fractions/lending/index.d.ts.map +1 -1
  108. package/dist/next/fractions/lending/index.js +2 -2
  109. package/dist/next/fractions/platforms/default/deployNftFractionsMarket.routes.d.ts +38 -0
  110. package/dist/next/fractions/platforms/default/deployNftFractionsMarket.routes.d.ts.map +1 -0
  111. package/dist/next/fractions/platforms/default/deployNftFractionsMarket.routes.js +39 -0
  112. package/dist/next/fractions/platforms/default/deployNftFractionsMarket.schema.d.ts +25 -0
  113. package/dist/next/fractions/platforms/default/deployNftFractionsMarket.schema.d.ts.map +1 -0
  114. package/dist/{fractions/nftfractions/v0 → next/fractions/platforms/default}/deployNftFractionsMarket.schema.js +7 -12
  115. package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.routes.d.ts +39 -0
  116. package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.routes.d.ts.map +1 -0
  117. package/dist/{fractions/platforms → next/fractions/platforms/gated}/deployNftFractionsMarket.routes.js +11 -23
  118. package/dist/{fractions/platforms → next/fractions/platforms/gated}/deployNftFractionsMarket.schema.d.ts +4 -8
  119. package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.schema.d.ts.map +1 -0
  120. package/dist/{fractions/platforms → next/fractions/platforms/gated}/deployNftFractionsMarket.schema.js +6 -11
  121. package/dist/next/fractions/platforms/index.d.ts +34 -1
  122. package/dist/next/fractions/platforms/index.d.ts.map +1 -1
  123. package/dist/next/fractions/platforms/index.js +6 -2
  124. package/dist/next/fractions/sales/createNftFractions.schema.js +1 -1
  125. package/dist/next/fractions/sales/index.d.ts +48 -1
  126. package/dist/next/fractions/sales/index.d.ts.map +1 -1
  127. package/dist/next/fractions/sales/index.js +7 -1
  128. package/dist/next/fractions/sales/parseFractionsCreatedEvent.d.ts +23 -0
  129. package/dist/next/fractions/sales/parseFractionsCreatedEvent.d.ts.map +1 -0
  130. package/dist/{src/fractions/createFractions/v0 → next/fractions/sales}/parseFractionsCreatedEvent.js +27 -19
  131. package/dist/next/fractions/sales/purchase.routes.d.ts +27 -0
  132. package/dist/next/fractions/sales/purchase.routes.d.ts.map +1 -0
  133. package/dist/next/fractions/sales/purchase.routes.js +37 -0
  134. package/dist/staking/platforms/common/platform.d.ts.map +1 -1
  135. package/dist/staking/platforms/common/platform.js +2 -1
  136. package/dist/staking/pools/common/pool.d.ts.map +1 -1
  137. package/dist/staking/pools/common/pool.js +2 -1
  138. package/dist/staking/roles/searchRoles/v0/searchRoles.js +1 -1
  139. package/dist/staking/stakes/common/stake.d.ts.map +1 -1
  140. package/dist/staking/stakes/common/stake.js +2 -1
  141. package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.js +1 -1
  142. package/dist/stakingTemplates/templates/common/time.js +1 -1
  143. package/package.json +13 -12
  144. package/dist/common/abis/erc20Whitelisted.d.ts +0 -316
  145. package/dist/common/abis/erc20Whitelisted.d.ts.map +0 -1
  146. package/dist/common/abis/erc20Whitelisted.js +0 -1139
  147. package/dist/common/indexer/index.d.ts +0 -4044
  148. package/dist/common/indexer/index.d.ts.map +0 -1
  149. package/dist/common/indexer/index.js +0 -3
  150. package/dist/common/models/numOrStr.d.ts +0 -7
  151. package/dist/common/models/numOrStr.d.ts.map +0 -1
  152. package/dist/common/models/numOrStr.js +0 -11
  153. package/dist/common/zod.d.ts +0 -3
  154. package/dist/common/zod.d.ts.map +0 -1
  155. package/dist/common/zod.js +0 -2
  156. package/dist/fractions/activity/searchActivity.route.d.ts +0 -198
  157. package/dist/fractions/activity/searchActivity.route.d.ts.map +0 -1
  158. package/dist/fractions/activity/searchActivity.route.js +0 -53
  159. package/dist/fractions/activity/utils.d.ts +0 -228
  160. package/dist/fractions/activity/utils.d.ts.map +0 -1
  161. package/dist/fractions/activity/utils.js +0 -68
  162. package/dist/fractions/approveSale/v0/approveSale.route.d.ts +0 -68
  163. package/dist/fractions/approveSale/v0/approveSale.route.d.ts.map +0 -1
  164. package/dist/fractions/approveSale/v0/approveSale.route.js +0 -31
  165. package/dist/fractions/approveWrapper/v0/approveWrapper.route.d.ts +0 -203
  166. package/dist/fractions/approveWrapper/v0/approveWrapper.route.d.ts.map +0 -1
  167. package/dist/fractions/approveWrapper/v0/approveWrapper.route.js +0 -84
  168. package/dist/fractions/completeSale/v0/completeSale.route.d.ts +0 -68
  169. package/dist/fractions/completeSale/v0/completeSale.route.d.ts.map +0 -1
  170. package/dist/fractions/completeSale/v0/completeSale.route.js +0 -31
  171. package/dist/fractions/createFractions/v0/createFractions.route.d.ts +0 -305
  172. package/dist/fractions/createFractions/v0/createFractions.route.d.ts.map +0 -1
  173. package/dist/fractions/createFractions/v0/createFractions.route.js +0 -48
  174. package/dist/fractions/createFractions/v0/createFractions.schema.d.ts +0 -427
  175. package/dist/fractions/createFractions/v0/createFractions.schema.d.ts.map +0 -1
  176. package/dist/fractions/createFractions/v0/createFractions.schema.js +0 -78
  177. package/dist/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts +0 -51
  178. package/dist/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts.map +0 -1
  179. package/dist/fractions/createFractions/v0/parseFractionsCreatedEvent.js +0 -58
  180. package/dist/fractions/deployMarket/v0/deployMarket.routes.d.ts +0 -374
  181. package/dist/fractions/deployMarket/v0/deployMarket.routes.d.ts.map +0 -1
  182. package/dist/fractions/deployMarket/v0/deployMarket.routes.js +0 -138
  183. package/dist/fractions/deployMarket/v0/deployMarket.schema.d.ts +0 -86
  184. package/dist/fractions/deployMarket/v0/deployMarket.schema.d.ts.map +0 -1
  185. package/dist/fractions/deployMarket/v0/deployMarket.schema.js +0 -24
  186. package/dist/fractions/deployMarket/v0/index.d.ts +0 -3
  187. package/dist/fractions/deployMarket/v0/index.d.ts.map +0 -1
  188. package/dist/fractions/deployMarket/v0/index.js +0 -2
  189. package/dist/fractions/deployMarket/v0/initNid.route.d.ts +0 -61
  190. package/dist/fractions/deployMarket/v0/initNid.route.d.ts.map +0 -1
  191. package/dist/fractions/deployMarket/v0/initNid.route.js +0 -31
  192. package/dist/fractions/gating/v0/getAuthData.d.ts +0 -86
  193. package/dist/fractions/gating/v0/getAuthData.d.ts.map +0 -1
  194. package/dist/fractions/gating/v0/getAuthData.js +0 -48
  195. package/dist/fractions/gating/v0/getNonce.route.d.ts +0 -54
  196. package/dist/fractions/gating/v0/getNonce.route.d.ts.map +0 -1
  197. package/dist/fractions/gating/v0/getNonce.route.js +0 -40
  198. package/dist/fractions/grantRole/v0/grantRole.route.d.ts +0 -65
  199. package/dist/fractions/grantRole/v0/grantRole.route.d.ts.map +0 -1
  200. package/dist/fractions/grantRole/v0/grantRole.route.js +0 -31
  201. package/dist/fractions/grantRole/v0/grantRole.schema.d.ts +0 -26
  202. package/dist/fractions/grantRole/v0/grantRole.schema.d.ts.map +0 -1
  203. package/dist/fractions/grantRole/v0/grantRole.schema.js +0 -14
  204. package/dist/fractions/markets/getMarket/v0/getMarket.d.ts +0 -103
  205. package/dist/fractions/markets/getMarket/v0/getMarket.d.ts.map +0 -1
  206. package/dist/fractions/markets/getMarket/v0/getMarket.js +0 -62
  207. package/dist/fractions/markets/searchMarkets/v0/searchMarkets.d.ts +0 -115
  208. package/dist/fractions/markets/searchMarkets/v0/searchMarkets.d.ts.map +0 -1
  209. package/dist/fractions/markets/searchMarkets/v0/searchMarkets.js +0 -42
  210. package/dist/fractions/nftfractions/index.d.ts +0 -6
  211. package/dist/fractions/nftfractions/index.d.ts.map +0 -1
  212. package/dist/fractions/nftfractions/index.js +0 -5
  213. package/dist/fractions/nftfractions/v0/createNftFractions.routes.d.ts +0 -192
  214. package/dist/fractions/nftfractions/v0/createNftFractions.routes.d.ts.map +0 -1
  215. package/dist/fractions/nftfractions/v0/createNftFractions.routes.js +0 -58
  216. package/dist/fractions/nftfractions/v0/createNftFractions.schema.d.ts +0 -245
  217. package/dist/fractions/nftfractions/v0/createNftFractions.schema.d.ts.map +0 -1
  218. package/dist/fractions/nftfractions/v0/createNftFractions.schema.js +0 -65
  219. package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.routes.d.ts +0 -96
  220. package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.routes.d.ts.map +0 -1
  221. package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.routes.js +0 -52
  222. package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.schema.d.ts +0 -70
  223. package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.schema.d.ts.map +0 -1
  224. package/dist/fractions/nftfractions/v0/initCompilot.routes.d.ts +0 -74
  225. package/dist/fractions/nftfractions/v0/initCompilot.routes.d.ts.map +0 -1
  226. package/dist/fractions/nftfractions/v0/initCompilot.routes.js +0 -41
  227. package/dist/fractions/platforms/deployNftFractionsMarket.routes.d.ts +0 -96
  228. package/dist/fractions/platforms/deployNftFractionsMarket.routes.d.ts.map +0 -1
  229. package/dist/fractions/platforms/deployNftFractionsMarket.schema.d.ts.map +0 -1
  230. package/dist/fractions/purchase/v0/purchase.route.d.ts +0 -89
  231. package/dist/fractions/purchase/v0/purchase.route.d.ts.map +0 -1
  232. package/dist/fractions/purchase/v0/purchase.route.js +0 -41
  233. package/dist/fractions/purchase/v0/statistics.route.d.ts +0 -65
  234. package/dist/fractions/purchase/v0/statistics.route.d.ts.map +0 -1
  235. package/dist/fractions/purchase/v0/statistics.route.js +0 -52
  236. package/dist/fractions/roles/getRoles/v0/getRoles.d.ts +0 -28
  237. package/dist/fractions/roles/getRoles/v0/getRoles.d.ts.map +0 -1
  238. package/dist/fractions/roles/getRoles/v0/getRoles.js +0 -41
  239. package/dist/fractions/sales/createNftFractions.routes.d.ts +0 -180
  240. package/dist/fractions/sales/createNftFractions.routes.d.ts.map +0 -1
  241. package/dist/fractions/sales/createNftFractions.routes.js +0 -58
  242. package/dist/fractions/sales/createNftFractions.schema.d.ts +0 -85
  243. package/dist/fractions/sales/createNftFractions.schema.d.ts.map +0 -1
  244. package/dist/fractions/sales/createNftFractions.schema.js +0 -67
  245. package/dist/fractions/sales/searchSaleEvents/v0/searchSaleEvents.d.ts +0 -89
  246. package/dist/fractions/sales/searchSaleEvents/v0/searchSaleEvents.d.ts.map +0 -1
  247. package/dist/fractions/sales/searchSaleEvents/v0/searchSaleEvents.js +0 -82
  248. package/dist/fractions/sales/searchSales/v0/searchSales.d.ts +0 -257
  249. package/dist/fractions/sales/searchSales/v0/searchSales.d.ts.map +0 -1
  250. package/dist/fractions/sales/searchSales/v0/searchSales.js +0 -49
  251. package/dist/fractions/sales/vesting/v0/claimStatistics.route.d.ts +0 -92
  252. package/dist/fractions/sales/vesting/v0/claimStatistics.route.d.ts.map +0 -1
  253. package/dist/fractions/sales/vesting/v0/claimStatistics.route.js +0 -90
  254. package/dist/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts +0 -94
  255. package/dist/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts.map +0 -1
  256. package/dist/fractions/sales/vesting/v0/claimVestedTokens.route.js +0 -41
  257. package/dist/fractions/sales/vesting/v0/editCliff.route.d.ts +0 -87
  258. package/dist/fractions/sales/vesting/v0/editCliff.route.d.ts.map +0 -1
  259. package/dist/fractions/sales/vesting/v0/editCliff.route.js +0 -40
  260. package/dist/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts +0 -48
  261. package/dist/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts.map +0 -1
  262. package/dist/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.js +0 -57
  263. package/dist/fractions/withdraw/v0/withdraw.route.d.ts +0 -68
  264. package/dist/fractions/withdraw/v0/withdraw.route.d.ts.map +0 -1
  265. package/dist/fractions/withdraw/v0/withdraw.route.js +0 -31
  266. package/dist/general/balance-client.d.ts +0 -13
  267. package/dist/general/balance-client.d.ts.map +0 -1
  268. package/dist/general/balance-client.js +0 -26
  269. package/dist/issuance/approve.d.ts +0 -75
  270. package/dist/issuance/approve.d.ts.map +0 -1
  271. package/dist/issuance/approve.js +0 -36
  272. package/dist/issuance/burn.d.ts +0 -75
  273. package/dist/issuance/burn.d.ts.map +0 -1
  274. package/dist/issuance/burn.js +0 -36
  275. package/dist/issuance/common.d.ts +0 -2
  276. package/dist/issuance/common.d.ts.map +0 -1
  277. package/dist/issuance/common.js +0 -1
  278. package/dist/issuance/deploy.d.ts +0 -158
  279. package/dist/issuance/deploy.d.ts.map +0 -1
  280. package/dist/issuance/deploy.js +0 -227
  281. package/dist/issuance/erc20/deploy.d.ts +0 -38
  282. package/dist/issuance/erc20/deploy.d.ts.map +0 -1
  283. package/dist/issuance/erc20/deploy.js +0 -52
  284. package/dist/issuance/erc20/deployGated.d.ts +0 -40
  285. package/dist/issuance/erc20/deployGated.d.ts.map +0 -1
  286. package/dist/issuance/erc20/deployGated.js +0 -58
  287. package/dist/issuance/erc20/getInitData.d.ts +0 -59
  288. package/dist/issuance/erc20/getInitData.d.ts.map +0 -1
  289. package/dist/issuance/erc20/getInitData.js +0 -49
  290. package/dist/issuance/erc20/initialize.d.ts.map +0 -1
  291. package/dist/issuance/erc20/parseErc20DeployEvent.d.ts.map +0 -1
  292. package/dist/issuance/erc721/deploy.d.ts.map +0 -1
  293. package/dist/issuance/erc721/deploy.js +0 -51
  294. package/dist/issuance/erc721/deployGated.d.ts.map +0 -1
  295. package/dist/issuance/erc721/deployGated.js +0 -58
  296. package/dist/issuance/erc721/getInitData.d.ts +0 -49
  297. package/dist/issuance/erc721/getInitData.d.ts.map +0 -1
  298. package/dist/issuance/erc721/getInitData.js +0 -51
  299. package/dist/issuance/erc721/initialize.d.ts.map +0 -1
  300. package/dist/issuance/erc721/parseErc721DeployEvent.d.ts.map +0 -1
  301. package/dist/issuance/getInitData.d.ts +0 -132
  302. package/dist/issuance/getInitData.d.ts.map +0 -1
  303. package/dist/issuance/getInitData.js +0 -104
  304. package/dist/issuance/grantRole.d.ts +0 -76
  305. package/dist/issuance/grantRole.d.ts.map +0 -1
  306. package/dist/issuance/grantRole.js +0 -42
  307. package/dist/issuance/mint.d.ts +0 -75
  308. package/dist/issuance/mint.d.ts.map +0 -1
  309. package/dist/issuance/mint.js +0 -36
  310. package/dist/issuance/recover.d.ts +0 -82
  311. package/dist/issuance/recover.d.ts.map +0 -1
  312. package/dist/issuance/recover.js +0 -38
  313. package/dist/issuance/renounceRole.d.ts +0 -76
  314. package/dist/issuance/renounceRole.d.ts.map +0 -1
  315. package/dist/issuance/renounceRole.js +0 -42
  316. package/dist/issuance/transfer.d.ts +0 -75
  317. package/dist/issuance/transfer.d.ts.map +0 -1
  318. package/dist/issuance/transfer.js +0 -36
  319. package/dist/issuance/upgrade.d.ts +0 -82
  320. package/dist/issuance/upgrade.d.ts.map +0 -1
  321. package/dist/issuance/upgrade.js +0 -45
  322. package/dist/package.json +0 -78
  323. package/dist/src/app.d.ts +0 -2194
  324. package/dist/src/app.d.ts.map +0 -1
  325. package/dist/src/app.js +0 -18
  326. package/dist/src/client.d.ts +0 -2690
  327. package/dist/src/client.d.ts.map +0 -1
  328. package/dist/src/client.js +0 -4
  329. package/dist/src/common/abis/erc20Whitelisted.d.ts +0 -4
  330. package/dist/src/common/abis/erc20Whitelisted.d.ts.map +0 -1
  331. package/dist/src/common/abis/erc20Whitelisted.js +0 -4
  332. package/dist/src/common/app.d.ts +0 -9
  333. package/dist/src/common/app.d.ts.map +0 -1
  334. package/dist/src/common/app.js +0 -3
  335. package/dist/src/common/blockchain.d.ts +0 -9528
  336. package/dist/src/common/blockchain.d.ts.map +0 -1
  337. package/dist/src/common/blockchain.js +0 -40
  338. package/dist/src/common/config.d.ts +0 -21
  339. package/dist/src/common/config.d.ts.map +0 -1
  340. package/dist/src/common/config.js +0 -33
  341. package/dist/src/common/http-error.d.ts +0 -7
  342. package/dist/src/common/http-error.d.ts.map +0 -1
  343. package/dist/src/common/http-error.js +0 -7
  344. package/dist/src/common/index.d.ts +0 -2
  345. package/dist/src/common/index.d.ts.map +0 -1
  346. package/dist/src/common/index.js +0 -1
  347. package/dist/src/common/indexer/client.d.ts +0 -1191
  348. package/dist/src/common/indexer/client.d.ts.map +0 -1
  349. package/dist/src/common/indexer/client.js +0 -7
  350. package/dist/src/common/indexer/index.d.ts +0 -1191
  351. package/dist/src/common/indexer/index.d.ts.map +0 -1
  352. package/dist/src/common/indexer/index.js +0 -3
  353. package/dist/src/common/indexer/schemas.d.ts +0 -1191
  354. package/dist/src/common/indexer/schemas.d.ts.map +0 -1
  355. package/dist/src/common/indexer/schemas.js +0 -14
  356. package/dist/src/common/models/chainId.d.ts +0 -5
  357. package/dist/src/common/models/chainId.d.ts.map +0 -1
  358. package/dist/src/common/models/chainId.js +0 -23
  359. package/dist/src/common/models/date.d.ts +0 -3
  360. package/dist/src/common/models/date.d.ts.map +0 -1
  361. package/dist/src/common/models/date.js +0 -5
  362. package/dist/src/common/models/erc721.d.ts +0 -15
  363. package/dist/src/common/models/erc721.d.ts.map +0 -1
  364. package/dist/src/common/models/erc721.js +0 -21
  365. package/dist/src/common/models/index.d.ts +0 -7
  366. package/dist/src/common/models/index.d.ts.map +0 -1
  367. package/dist/src/common/models/index.js +0 -6
  368. package/dist/src/common/models/page.d.ts +0 -12
  369. package/dist/src/common/models/page.d.ts.map +0 -1
  370. package/dist/src/common/models/page.js +0 -15
  371. package/dist/src/common/models/percent.d.ts +0 -3
  372. package/dist/src/common/models/percent.d.ts.map +0 -1
  373. package/dist/src/common/models/percent.js +0 -6
  374. package/dist/src/common/models/platform.d.ts +0 -4
  375. package/dist/src/common/models/platform.d.ts.map +0 -1
  376. package/dist/src/common/models/platform.js +0 -13
  377. package/dist/src/common/models/routes.d.ts +0 -16
  378. package/dist/src/common/models/routes.d.ts.map +0 -1
  379. package/dist/src/common/models/routes.js +0 -13
  380. package/dist/src/common/models/saleId.d.ts +0 -12
  381. package/dist/src/common/models/saleId.d.ts.map +0 -1
  382. package/dist/src/common/models/saleId.js +0 -6
  383. package/dist/src/common/models/transaction.d.ts +0 -90
  384. package/dist/src/common/models/transaction.d.ts.map +0 -1
  385. package/dist/src/common/models/transaction.js +0 -57
  386. package/dist/src/common/models/viem.d.ts +0 -4
  387. package/dist/src/common/models/viem.d.ts.map +0 -1
  388. package/dist/src/common/models/viem.js +0 -15
  389. package/dist/src/common/openapi.d.ts +0 -4
  390. package/dist/src/common/openapi.d.ts.map +0 -1
  391. package/dist/src/common/openapi.js +0 -40
  392. package/dist/src/common/tag.d.ts +0 -7
  393. package/dist/src/common/tag.d.ts.map +0 -1
  394. package/dist/src/common/tag.js +0 -5
  395. package/dist/src/common/version.d.ts +0 -2
  396. package/dist/src/common/version.d.ts.map +0 -1
  397. package/dist/src/common/version.js +0 -2
  398. package/dist/src/common/zod.d.ts +0 -3
  399. package/dist/src/common/zod.d.ts.map +0 -1
  400. package/dist/src/common/zod.js +0 -2
  401. package/dist/src/error.d.ts +0 -3
  402. package/dist/src/error.d.ts.map +0 -1
  403. package/dist/src/error.js +0 -16
  404. package/dist/src/fractions/approveSale/v0/approveSale.route.d.ts +0 -68
  405. package/dist/src/fractions/approveSale/v0/approveSale.route.d.ts.map +0 -1
  406. package/dist/src/fractions/approveSale/v0/approveSale.route.js +0 -31
  407. package/dist/src/fractions/approveWrapper/v0/approveWrapper.route.d.ts +0 -203
  408. package/dist/src/fractions/approveWrapper/v0/approveWrapper.route.d.ts.map +0 -1
  409. package/dist/src/fractions/approveWrapper/v0/approveWrapper.route.js +0 -84
  410. package/dist/src/fractions/completeSale/v0/completeSale.route.d.ts +0 -68
  411. package/dist/src/fractions/completeSale/v0/completeSale.route.d.ts.map +0 -1
  412. package/dist/src/fractions/completeSale/v0/completeSale.route.js +0 -31
  413. package/dist/src/fractions/createFractions/v0/createFractions.route.d.ts +0 -305
  414. package/dist/src/fractions/createFractions/v0/createFractions.route.d.ts.map +0 -1
  415. package/dist/src/fractions/createFractions/v0/createFractions.route.js +0 -61
  416. package/dist/src/fractions/createFractions/v0/createFractions.schema.d.ts +0 -416
  417. package/dist/src/fractions/createFractions/v0/createFractions.schema.d.ts.map +0 -1
  418. package/dist/src/fractions/createFractions/v0/createFractions.schema.js +0 -67
  419. package/dist/src/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts +0 -51
  420. package/dist/src/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts.map +0 -1
  421. package/dist/src/fractions/deployMarket/v0/deployMarket.routes.d.ts +0 -297
  422. package/dist/src/fractions/deployMarket/v0/deployMarket.routes.d.ts.map +0 -1
  423. package/dist/src/fractions/deployMarket/v0/deployMarket.routes.js +0 -98
  424. package/dist/src/fractions/deployMarket/v0/deployMarket.schema.d.ts +0 -96
  425. package/dist/src/fractions/deployMarket/v0/deployMarket.schema.d.ts.map +0 -1
  426. package/dist/src/fractions/deployMarket/v0/deployMarket.schema.js +0 -21
  427. package/dist/src/fractions/gating/index.d.ts +0 -2
  428. package/dist/src/fractions/gating/index.d.ts.map +0 -1
  429. package/dist/src/fractions/gating/index.js +0 -0
  430. package/dist/src/fractions/gating/v0/getAuthData.d.ts +0 -86
  431. package/dist/src/fractions/gating/v0/getAuthData.d.ts.map +0 -1
  432. package/dist/src/fractions/gating/v0/getAuthData.js +0 -48
  433. package/dist/src/fractions/gating/v0/getNonce.route.d.ts +0 -54
  434. package/dist/src/fractions/gating/v0/getNonce.route.d.ts.map +0 -1
  435. package/dist/src/fractions/gating/v0/getNonce.route.js +0 -40
  436. package/dist/src/fractions/grantRole/v0/grantRole.route.d.ts +0 -65
  437. package/dist/src/fractions/grantRole/v0/grantRole.route.d.ts.map +0 -1
  438. package/dist/src/fractions/grantRole/v0/grantRole.route.js +0 -31
  439. package/dist/src/fractions/grantRole/v0/grantRole.schema.d.ts +0 -26
  440. package/dist/src/fractions/grantRole/v0/grantRole.schema.d.ts.map +0 -1
  441. package/dist/src/fractions/grantRole/v0/grantRole.schema.js +0 -14
  442. package/dist/src/fractions/index.d.ts +0 -968
  443. package/dist/src/fractions/index.d.ts.map +0 -1
  444. package/dist/src/fractions/index.js +0 -91
  445. package/dist/src/fractions/markets/common/platform.d.ts +0 -26
  446. package/dist/src/fractions/markets/common/platform.d.ts.map +0 -1
  447. package/dist/src/fractions/markets/common/platform.js +0 -26
  448. package/dist/src/fractions/markets/getDeployEvent.d.ts +0 -42
  449. package/dist/src/fractions/markets/getDeployEvent.d.ts.map +0 -1
  450. package/dist/src/fractions/markets/getDeployEvent.js +0 -47
  451. package/dist/src/fractions/markets/getMarket/index.d.ts +0 -40
  452. package/dist/src/fractions/markets/getMarket/index.d.ts.map +0 -1
  453. package/dist/src/fractions/markets/getMarket/index.js +0 -4
  454. package/dist/src/fractions/markets/getMarket/v0/getMarket.d.ts +0 -64
  455. package/dist/src/fractions/markets/getMarket/v0/getMarket.d.ts.map +0 -1
  456. package/dist/src/fractions/markets/getMarket/v0/getMarket.js +0 -63
  457. package/dist/src/fractions/markets/index.d.ts +0 -84
  458. package/dist/src/fractions/markets/index.d.ts.map +0 -1
  459. package/dist/src/fractions/markets/index.js +0 -12
  460. package/dist/src/fractions/markets/searchMarkets/index.d.ts +0 -32
  461. package/dist/src/fractions/markets/searchMarkets/index.d.ts.map +0 -1
  462. package/dist/src/fractions/markets/searchMarkets/index.js +0 -4
  463. package/dist/src/fractions/markets/searchMarkets/v0/searchMarkets.d.ts +0 -76
  464. package/dist/src/fractions/markets/searchMarkets/v0/searchMarkets.d.ts.map +0 -1
  465. package/dist/src/fractions/markets/searchMarkets/v0/searchMarkets.js +0 -42
  466. package/dist/src/fractions/purchase/v0/purchase.route.d.ts +0 -89
  467. package/dist/src/fractions/purchase/v0/purchase.route.d.ts.map +0 -1
  468. package/dist/src/fractions/purchase/v0/purchase.route.js +0 -41
  469. package/dist/src/fractions/roles/getRoles/v0/getRoles.d.ts +0 -28
  470. package/dist/src/fractions/roles/getRoles/v0/getRoles.d.ts.map +0 -1
  471. package/dist/src/fractions/roles/getRoles/v0/getRoles.js +0 -41
  472. package/dist/src/fractions/sales/getVaultAddress.d.ts +0 -52
  473. package/dist/src/fractions/sales/getVaultAddress.d.ts.map +0 -1
  474. package/dist/src/fractions/sales/getVaultAddress.js +0 -61
  475. package/dist/src/fractions/sales/getWithdrawEvent.d.ts +0 -42
  476. package/dist/src/fractions/sales/getWithdrawEvent.d.ts.map +0 -1
  477. package/dist/src/fractions/sales/getWithdrawEvent.js +0 -52
  478. package/dist/src/fractions/sales/index.d.ts +0 -10
  479. package/dist/src/fractions/sales/index.d.ts.map +0 -1
  480. package/dist/src/fractions/sales/index.js +0 -10
  481. package/dist/src/fractions/sales/receiveFundsAfterNonFunded.route.d.ts +0 -144
  482. package/dist/src/fractions/sales/receiveFundsAfterNonFunded.route.d.ts.map +0 -1
  483. package/dist/src/fractions/sales/receiveFundsAfterNonFunded.route.js +0 -59
  484. package/dist/src/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts +0 -57
  485. package/dist/src/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts.map +0 -1
  486. package/dist/src/fractions/sales/receiveNonPurchasedWrappedAssets.route.js +0 -27
  487. package/dist/src/fractions/sales/recoverFractions.d.ts +0 -108
  488. package/dist/src/fractions/sales/recoverFractions.d.ts.map +0 -1
  489. package/dist/src/fractions/sales/recoverFractions.js +0 -45
  490. package/dist/src/fractions/sales/rejectFractions.d.ts +0 -80
  491. package/dist/src/fractions/sales/rejectFractions.d.ts.map +0 -1
  492. package/dist/src/fractions/sales/rejectFractions.js +0 -39
  493. package/dist/src/fractions/sales/searchSaleEvents/index.d.ts +0 -2
  494. package/dist/src/fractions/sales/searchSaleEvents/index.d.ts.map +0 -1
  495. package/dist/src/fractions/sales/searchSaleEvents/index.js +0 -0
  496. package/dist/src/fractions/sales/searchSaleEvents/v0/searchSaleEvents.d.ts +0 -89
  497. package/dist/src/fractions/sales/searchSaleEvents/v0/searchSaleEvents.d.ts.map +0 -1
  498. package/dist/src/fractions/sales/searchSaleEvents/v0/searchSaleEvents.js +0 -82
  499. package/dist/src/fractions/sales/setFeeCapLimit.d.ts +0 -75
  500. package/dist/src/fractions/sales/setFeeCapLimit.d.ts.map +0 -1
  501. package/dist/src/fractions/sales/setFeeCapLimit.js +0 -32
  502. package/dist/src/fractions/sales/unlockWrappedAssets.route.d.ts +0 -68
  503. package/dist/src/fractions/sales/unlockWrappedAssets.route.d.ts.map +0 -1
  504. package/dist/src/fractions/sales/unlockWrappedAssets.route.js +0 -31
  505. package/dist/src/fractions/sales/vesting/index.d.ts +0 -2
  506. package/dist/src/fractions/sales/vesting/index.d.ts.map +0 -1
  507. package/dist/src/fractions/sales/vesting/index.js +0 -0
  508. package/dist/src/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts +0 -94
  509. package/dist/src/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts.map +0 -1
  510. package/dist/src/fractions/sales/vesting/v0/claimVestedTokens.route.js +0 -41
  511. package/dist/src/fractions/sales/vesting/v0/editCliff.route.d.ts +0 -87
  512. package/dist/src/fractions/sales/vesting/v0/editCliff.route.d.ts.map +0 -1
  513. package/dist/src/fractions/sales/vesting/v0/editCliff.route.js +0 -40
  514. package/dist/src/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts +0 -48
  515. package/dist/src/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts.map +0 -1
  516. package/dist/src/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.js +0 -58
  517. package/dist/src/fractions/withdraw/v0/withdraw.route.d.ts +0 -68
  518. package/dist/src/fractions/withdraw/v0/withdraw.route.d.ts.map +0 -1
  519. package/dist/src/fractions/withdraw/v0/withdraw.route.js +0 -31
  520. package/dist/src/general/balance-client.d.ts +0 -13
  521. package/dist/src/general/balance-client.d.ts.map +0 -1
  522. package/dist/src/general/balance-client.js +0 -26
  523. package/dist/src/general/common.d.ts +0 -94
  524. package/dist/src/general/common.d.ts.map +0 -1
  525. package/dist/src/general/common.js +0 -35
  526. package/dist/src/general/estimateGas.d.ts +0 -52
  527. package/dist/src/general/estimateGas.d.ts.map +0 -1
  528. package/dist/src/general/estimateGas.js +0 -64
  529. package/dist/src/general/getBalance.d.ts +0 -44
  530. package/dist/src/general/getBalance.d.ts.map +0 -1
  531. package/dist/src/general/getBalance.js +0 -43
  532. package/dist/src/general/getBalancesBatch.d.ts +0 -59
  533. package/dist/src/general/getBalancesBatch.d.ts.map +0 -1
  534. package/dist/src/general/getBalancesBatch.js +0 -34
  535. package/dist/src/general/index.d.ts +0 -100
  536. package/dist/src/general/index.d.ts.map +0 -1
  537. package/dist/src/general/index.js +0 -20
  538. package/dist/src/general/searchBalances.d.ts +0 -78
  539. package/dist/src/general/searchBalances.d.ts.map +0 -1
  540. package/dist/src/general/searchBalances.js +0 -49
  541. package/dist/src/issuance/approve.d.ts +0 -75
  542. package/dist/src/issuance/approve.d.ts.map +0 -1
  543. package/dist/src/issuance/approve.js +0 -36
  544. package/dist/src/issuance/burn.d.ts +0 -75
  545. package/dist/src/issuance/burn.d.ts.map +0 -1
  546. package/dist/src/issuance/burn.js +0 -36
  547. package/dist/src/issuance/deploy.d.ts +0 -88
  548. package/dist/src/issuance/deploy.d.ts.map +0 -1
  549. package/dist/src/issuance/deploy.js +0 -91
  550. package/dist/src/issuance/grantRole.d.ts +0 -78
  551. package/dist/src/issuance/grantRole.d.ts.map +0 -1
  552. package/dist/src/issuance/grantRole.js +0 -50
  553. package/dist/src/issuance/index.d.ts +0 -165
  554. package/dist/src/issuance/index.d.ts.map +0 -1
  555. package/dist/src/issuance/index.js +0 -23
  556. package/dist/src/issuance/mint.d.ts +0 -75
  557. package/dist/src/issuance/mint.d.ts.map +0 -1
  558. package/dist/src/issuance/mint.js +0 -36
  559. package/dist/src/issuance/transfer.d.ts +0 -75
  560. package/dist/src/issuance/transfer.d.ts.map +0 -1
  561. package/dist/src/issuance/transfer.js +0 -36
  562. package/dist/src/serve.d.ts +0 -2
  563. package/dist/src/serve.d.ts.map +0 -1
  564. package/dist/src/serve.js +0 -33
  565. package/dist/src/staking/index.d.ts +0 -242
  566. package/dist/src/staking/index.d.ts.map +0 -1
  567. package/dist/src/staking/index.js +0 -20
  568. package/dist/src/staking/platforms/common/platform.d.ts +0 -26
  569. package/dist/src/staking/platforms/common/platform.d.ts.map +0 -1
  570. package/dist/src/staking/platforms/common/platform.js +0 -26
  571. package/dist/src/staking/platforms/common/platformNotFound.d.ts +0 -9
  572. package/dist/src/staking/platforms/common/platformNotFound.d.ts.map +0 -1
  573. package/dist/src/staking/platforms/common/platformNotFound.js +0 -13
  574. package/dist/src/staking/platforms/getPlatform/index.d.ts +0 -26
  575. package/dist/src/staking/platforms/getPlatform/index.d.ts.map +0 -1
  576. package/dist/src/staking/platforms/getPlatform/index.js +0 -4
  577. package/dist/src/staking/platforms/getPlatform/v0/getPlatform.d.ts +0 -52
  578. package/dist/src/staking/platforms/getPlatform/v0/getPlatform.d.ts.map +0 -1
  579. package/dist/src/staking/platforms/getPlatform/v0/getPlatform.js +0 -58
  580. package/dist/src/staking/platforms/index.d.ts +0 -52
  581. package/dist/src/staking/platforms/index.d.ts.map +0 -1
  582. package/dist/src/staking/platforms/index.js +0 -10
  583. package/dist/src/staking/platforms/searchPlatforms/index.d.ts +0 -32
  584. package/dist/src/staking/platforms/searchPlatforms/index.d.ts.map +0 -1
  585. package/dist/src/staking/platforms/searchPlatforms/index.js +0 -4
  586. package/dist/src/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts +0 -76
  587. package/dist/src/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts.map +0 -1
  588. package/dist/src/staking/platforms/searchPlatforms/v0/searchPlatforms.js +0 -42
  589. package/dist/src/staking/pools/common/pool.d.ts +0 -29
  590. package/dist/src/staking/pools/common/pool.d.ts.map +0 -1
  591. package/dist/src/staking/pools/common/pool.js +0 -28
  592. package/dist/src/staking/pools/common/poolNotFound.d.ts +0 -10
  593. package/dist/src/staking/pools/common/poolNotFound.d.ts.map +0 -1
  594. package/dist/src/staking/pools/common/poolNotFound.js +0 -14
  595. package/dist/src/staking/pools/getPool/index.d.ts +0 -20
  596. package/dist/src/staking/pools/getPool/index.d.ts.map +0 -1
  597. package/dist/src/staking/pools/getPool/index.js +0 -4
  598. package/dist/src/staking/pools/getPool/v0/getPool.d.ts +0 -35
  599. package/dist/src/staking/pools/getPool/v0/getPool.d.ts.map +0 -1
  600. package/dist/src/staking/pools/getPool/v0/getPool.js +0 -64
  601. package/dist/src/staking/pools/index.d.ts +0 -39
  602. package/dist/src/staking/pools/index.d.ts.map +0 -1
  603. package/dist/src/staking/pools/index.js +0 -10
  604. package/dist/src/staking/pools/searchPools/index.d.ts +0 -25
  605. package/dist/src/staking/pools/searchPools/index.d.ts.map +0 -1
  606. package/dist/src/staking/pools/searchPools/index.js +0 -4
  607. package/dist/src/staking/pools/searchPools/v0/searchPools.d.ts +0 -55
  608. package/dist/src/staking/pools/searchPools/v0/searchPools.d.ts.map +0 -1
  609. package/dist/src/staking/pools/searchPools/v0/searchPools.js +0 -42
  610. package/dist/src/staking/roles/common/role.d.ts +0 -13
  611. package/dist/src/staking/roles/common/role.d.ts.map +0 -1
  612. package/dist/src/staking/roles/common/role.js +0 -18
  613. package/dist/src/staking/roles/common/roleAssignment.d.ts +0 -27
  614. package/dist/src/staking/roles/common/roleAssignment.d.ts.map +0 -1
  615. package/dist/src/staking/roles/common/roleAssignment.js +0 -21
  616. package/dist/src/staking/roles/common/roleEvent.d.ts +0 -30
  617. package/dist/src/staking/roles/common/roleEvent.d.ts.map +0 -1
  618. package/dist/src/staking/roles/common/roleEvent.js +0 -23
  619. package/dist/src/staking/roles/getRoles/index.d.ts +0 -26
  620. package/dist/src/staking/roles/getRoles/index.d.ts.map +0 -1
  621. package/dist/src/staking/roles/getRoles/index.js +0 -4
  622. package/dist/src/staking/roles/getRoles/v0/getRoles.d.ts +0 -29
  623. package/dist/src/staking/roles/getRoles/v0/getRoles.d.ts.map +0 -1
  624. package/dist/src/staking/roles/getRoles/v0/getRoles.js +0 -41
  625. package/dist/src/staking/roles/grantRole/index.d.ts +0 -29
  626. package/dist/src/staking/roles/grantRole/index.d.ts.map +0 -1
  627. package/dist/src/staking/roles/grantRole/index.js +0 -4
  628. package/dist/src/staking/roles/grantRole/v0/grantRole.d.ts +0 -63
  629. package/dist/src/staking/roles/grantRole/v0/grantRole.d.ts.map +0 -1
  630. package/dist/src/staking/roles/grantRole/v0/grantRole.js +0 -40
  631. package/dist/src/staking/roles/index.d.ts +0 -93
  632. package/dist/src/staking/roles/index.d.ts.map +0 -1
  633. package/dist/src/staking/roles/index.js +0 -14
  634. package/dist/src/staking/roles/searchRoleEvents/index.d.ts +0 -27
  635. package/dist/src/staking/roles/searchRoleEvents/index.d.ts.map +0 -1
  636. package/dist/src/staking/roles/searchRoleEvents/index.js +0 -4
  637. package/dist/src/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts +0 -63
  638. package/dist/src/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts.map +0 -1
  639. package/dist/src/staking/roles/searchRoleEvents/v0/searchRoleEvents.js +0 -58
  640. package/dist/src/staking/roles/searchRoles/index.d.ts +0 -27
  641. package/dist/src/staking/roles/searchRoles/index.d.ts.map +0 -1
  642. package/dist/src/staking/roles/searchRoles/index.js +0 -4
  643. package/dist/src/staking/roles/searchRoles/v0/searchRoles.d.ts +0 -63
  644. package/dist/src/staking/roles/searchRoles/v0/searchRoles.d.ts.map +0 -1
  645. package/dist/src/staking/roles/searchRoles/v0/searchRoles.js +0 -56
  646. package/dist/src/staking/stakes/common/stake.d.ts +0 -44
  647. package/dist/src/staking/stakes/common/stake.d.ts.map +0 -1
  648. package/dist/src/staking/stakes/common/stake.js +0 -45
  649. package/dist/src/staking/stakes/common/stakeEvent.d.ts +0 -30
  650. package/dist/src/staking/stakes/common/stakeEvent.d.ts.map +0 -1
  651. package/dist/src/staking/stakes/common/stakeEvent.js +0 -24
  652. package/dist/src/staking/stakes/common/stakeNotFound.d.ts +0 -9
  653. package/dist/src/staking/stakes/common/stakeNotFound.d.ts.map +0 -1
  654. package/dist/src/staking/stakes/common/stakeNotFound.js +0 -13
  655. package/dist/src/staking/stakes/getStake/index.d.ts +0 -20
  656. package/dist/src/staking/stakes/getStake/index.d.ts.map +0 -1
  657. package/dist/src/staking/stakes/getStake/index.js +0 -4
  658. package/dist/src/staking/stakes/getStake/v0/getStake.d.ts +0 -35
  659. package/dist/src/staking/stakes/getStake/v0/getStake.d.ts.map +0 -1
  660. package/dist/src/staking/stakes/getStake/v0/getStake.js +0 -64
  661. package/dist/src/staking/stakes/index.d.ts +0 -63
  662. package/dist/src/staking/stakes/index.d.ts.map +0 -1
  663. package/dist/src/staking/stakes/index.js +0 -12
  664. package/dist/src/staking/stakes/searchStakeEvents/index.d.ts +0 -27
  665. package/dist/src/staking/stakes/searchStakeEvents/index.d.ts.map +0 -1
  666. package/dist/src/staking/stakes/searchStakeEvents/index.js +0 -4
  667. package/dist/src/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts +0 -63
  668. package/dist/src/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts.map +0 -1
  669. package/dist/src/staking/stakes/searchStakeEvents/v0/searchStakeEvents.js +0 -59
  670. package/dist/src/staking/stakes/searchStakes/index.d.ts +0 -27
  671. package/dist/src/staking/stakes/searchStakes/index.d.ts.map +0 -1
  672. package/dist/src/staking/stakes/searchStakes/index.js +0 -4
  673. package/dist/src/staking/stakes/searchStakes/v0/searchStakes.d.ts +0 -63
  674. package/dist/src/staking/stakes/searchStakes/v0/searchStakes.d.ts.map +0 -1
  675. package/dist/src/staking/stakes/searchStakes/v0/searchStakes.js +0 -61
  676. package/dist/src/staking-templates/index.d.ts +0 -732
  677. package/dist/src/staking-templates/index.d.ts.map +0 -1
  678. package/dist/src/staking-templates/index.js +0 -18
  679. package/dist/src/staking-templates/templates/common/amount.d.ts +0 -13
  680. package/dist/src/staking-templates/templates/common/amount.d.ts.map +0 -1
  681. package/dist/src/staking-templates/templates/common/amount.js +0 -17
  682. package/dist/src/staking-templates/templates/common/amountMult.d.ts +0 -3
  683. package/dist/src/staking-templates/templates/common/amountMult.d.ts.map +0 -1
  684. package/dist/src/staking-templates/templates/common/amountMult.js +0 -23
  685. package/dist/src/staking-templates/templates/common/erc20Input.d.ts +0 -12
  686. package/dist/src/staking-templates/templates/common/erc20Input.d.ts.map +0 -1
  687. package/dist/src/staking-templates/templates/common/erc20Input.js +0 -16
  688. package/dist/src/staking-templates/templates/common/erc20Reward.d.ts +0 -12
  689. package/dist/src/staking-templates/templates/common/erc20Reward.d.ts.map +0 -1
  690. package/dist/src/staking-templates/templates/common/erc20Reward.js +0 -16
  691. package/dist/src/staking-templates/templates/common/getCreatePoolEvent.d.ts +0 -31
  692. package/dist/src/staking-templates/templates/common/getCreatePoolEvent.d.ts.map +0 -1
  693. package/dist/src/staking-templates/templates/common/getCreatePoolEvent.js +0 -47
  694. package/dist/src/staking-templates/templates/common/getPlatformDeployEvent.d.ts +0 -40
  695. package/dist/src/staking-templates/templates/common/getPlatformDeployEvent.d.ts.map +0 -1
  696. package/dist/src/staking-templates/templates/common/getPlatformDeployEvent.js +0 -46
  697. package/dist/src/staking-templates/templates/common/getReward.d.ts +0 -58
  698. package/dist/src/staking-templates/templates/common/getReward.d.ts.map +0 -1
  699. package/dist/src/staking-templates/templates/common/getReward.js +0 -34
  700. package/dist/src/staking-templates/templates/common/getStakeEvent.d.ts +0 -31
  701. package/dist/src/staking-templates/templates/common/getStakeEvent.d.ts.map +0 -1
  702. package/dist/src/staking-templates/templates/common/getStakeEvent.js +0 -51
  703. package/dist/src/staking-templates/templates/common/lock.d.ts +0 -12
  704. package/dist/src/staking-templates/templates/common/lock.d.ts.map +0 -1
  705. package/dist/src/staking-templates/templates/common/lock.js +0 -20
  706. package/dist/src/staking-templates/templates/common/lockMult.d.ts +0 -3
  707. package/dist/src/staking-templates/templates/common/lockMult.d.ts.map +0 -1
  708. package/dist/src/staking-templates/templates/common/lockMult.js +0 -15
  709. package/dist/src/staking-templates/templates/common/partialUnstake.d.ts +0 -62
  710. package/dist/src/staking-templates/templates/common/partialUnstake.d.ts.map +0 -1
  711. package/dist/src/staking-templates/templates/common/partialUnstake.js +0 -39
  712. package/dist/src/staking-templates/templates/common/rewardDistribution.d.ts +0 -13
  713. package/dist/src/staking-templates/templates/common/rewardDistribution.d.ts.map +0 -1
  714. package/dist/src/staking-templates/templates/common/rewardDistribution.js +0 -19
  715. package/dist/src/staking-templates/templates/common/templates.d.ts +0 -61
  716. package/dist/src/staking-templates/templates/common/templates.d.ts.map +0 -1
  717. package/dist/src/staking-templates/templates/common/templates.js +0 -8
  718. package/dist/src/staking-templates/templates/common/time.d.ts +0 -2
  719. package/dist/src/staking-templates/templates/common/time.d.ts.map +0 -1
  720. package/dist/src/staking-templates/templates/common/time.js +0 -4
  721. package/dist/src/staking-templates/templates/common/unstake.d.ts +0 -58
  722. package/dist/src/staking-templates/templates/common/unstake.d.ts.map +0 -1
  723. package/dist/src/staking-templates/templates/common/unstake.js +0 -34
  724. package/dist/src/staking-templates/templates/reputation/common.d.ts +0 -23
  725. package/dist/src/staking-templates/templates/reputation/common.d.ts.map +0 -1
  726. package/dist/src/staking-templates/templates/reputation/common.js +0 -3
  727. package/dist/src/staking-templates/templates/reputation/index.d.ts +0 -233
  728. package/dist/src/staking-templates/templates/reputation/index.d.ts.map +0 -1
  729. package/dist/src/staking-templates/templates/reputation/index.js +0 -4
  730. package/dist/src/staking-templates/templates/reputation/v0/createPlatform.d.ts +0 -81
  731. package/dist/src/staking-templates/templates/reputation/v0/createPlatform.d.ts.map +0 -1
  732. package/dist/src/staking-templates/templates/reputation/v0/createPlatform.js +0 -56
  733. package/dist/src/staking-templates/templates/reputation/v0/createPool.d.ts +0 -113
  734. package/dist/src/staking-templates/templates/reputation/v0/createPool.d.ts.map +0 -1
  735. package/dist/src/staking-templates/templates/reputation/v0/createPool.js +0 -85
  736. package/dist/src/staking-templates/templates/reputation/v0/index.d.ts +0 -233
  737. package/dist/src/staking-templates/templates/reputation/v0/index.d.ts.map +0 -1
  738. package/dist/src/staking-templates/templates/reputation/v0/index.js +0 -25
  739. package/dist/src/staking-templates/templates/reputation/v0/restake.d.ts +0 -61
  740. package/dist/src/staking-templates/templates/reputation/v0/restake.d.ts.map +0 -1
  741. package/dist/src/staking-templates/templates/reputation/v0/restake.js +0 -40
  742. package/dist/src/staking-templates/templates/reputation/v0/stake.d.ts +0 -61
  743. package/dist/src/staking-templates/templates/reputation/v0/stake.d.ts.map +0 -1
  744. package/dist/src/staking-templates/templates/reputation/v0/stake.js +0 -45
  745. package/dist/src/staking-templates/templates/reputationLock/common.d.ts +0 -23
  746. package/dist/src/staking-templates/templates/reputationLock/common.d.ts.map +0 -1
  747. package/dist/src/staking-templates/templates/reputationLock/common.js +0 -3
  748. package/dist/src/staking-templates/templates/reputationLock/index.d.ts +0 -244
  749. package/dist/src/staking-templates/templates/reputationLock/index.d.ts.map +0 -1
  750. package/dist/src/staking-templates/templates/reputationLock/index.js +0 -4
  751. package/dist/src/staking-templates/templates/reputationLock/v0/createPlatform.d.ts +0 -81
  752. package/dist/src/staking-templates/templates/reputationLock/v0/createPlatform.d.ts.map +0 -1
  753. package/dist/src/staking-templates/templates/reputationLock/v0/createPlatform.js +0 -56
  754. package/dist/src/staking-templates/templates/reputationLock/v0/createPool.d.ts +0 -149
  755. package/dist/src/staking-templates/templates/reputationLock/v0/createPool.d.ts.map +0 -1
  756. package/dist/src/staking-templates/templates/reputationLock/v0/createPool.js +0 -99
  757. package/dist/src/staking-templates/templates/reputationLock/v0/index.d.ts +0 -244
  758. package/dist/src/staking-templates/templates/reputationLock/v0/index.d.ts.map +0 -1
  759. package/dist/src/staking-templates/templates/reputationLock/v0/index.js +0 -25
  760. package/dist/src/staking-templates/templates/reputationLock/v0/restake.d.ts +0 -65
  761. package/dist/src/staking-templates/templates/reputationLock/v0/restake.d.ts.map +0 -1
  762. package/dist/src/staking-templates/templates/reputationLock/v0/restake.js +0 -44
  763. package/dist/src/staking-templates/templates/reputationLock/v0/stake.d.ts +0 -65
  764. package/dist/src/staking-templates/templates/reputationLock/v0/stake.d.ts.map +0 -1
  765. package/dist/src/staking-templates/templates/reputationLock/v0/stake.js +0 -46
  766. package/dist/src/staking-templates/templates/rwa/common.d.ts +0 -23
  767. package/dist/src/staking-templates/templates/rwa/common.d.ts.map +0 -1
  768. package/dist/src/staking-templates/templates/rwa/common.js +0 -3
  769. package/dist/src/staking-templates/templates/rwa/index.d.ts +0 -256
  770. package/dist/src/staking-templates/templates/rwa/index.d.ts.map +0 -1
  771. package/dist/src/staking-templates/templates/rwa/index.js +0 -4
  772. package/dist/src/staking-templates/templates/rwa/v0/createPlatform.d.ts +0 -81
  773. package/dist/src/staking-templates/templates/rwa/v0/createPlatform.d.ts.map +0 -1
  774. package/dist/src/staking-templates/templates/rwa/v0/createPlatform.js +0 -56
  775. package/dist/src/staking-templates/templates/rwa/v0/createPool.d.ts +0 -109
  776. package/dist/src/staking-templates/templates/rwa/v0/createPool.d.ts.map +0 -1
  777. package/dist/src/staking-templates/templates/rwa/v0/createPool.js +0 -79
  778. package/dist/src/staking-templates/templates/rwa/v0/index.d.ts +0 -256
  779. package/dist/src/staking-templates/templates/rwa/v0/index.d.ts.map +0 -1
  780. package/dist/src/staking-templates/templates/rwa/v0/index.js +0 -27
  781. package/dist/src/staking-templates/templates/rwa/v0/notifyRewards.d.ts +0 -61
  782. package/dist/src/staking-templates/templates/rwa/v0/notifyRewards.d.ts.map +0 -1
  783. package/dist/src/staking-templates/templates/rwa/v0/notifyRewards.js +0 -41
  784. package/dist/src/staking-templates/templates/rwa/v0/restake.d.ts +0 -61
  785. package/dist/src/staking-templates/templates/rwa/v0/restake.d.ts.map +0 -1
  786. package/dist/src/staking-templates/templates/rwa/v0/restake.js +0 -40
  787. package/dist/src/staking-templates/templates/rwa/v0/stake.d.ts +0 -61
  788. package/dist/src/staking-templates/templates/rwa/v0/stake.d.ts.map +0 -1
  789. package/dist/src/staking-templates/templates/rwa/v0/stake.js +0 -45
  790. package/dist/staking/platforms/common/platformNotFound.d.ts +0 -9
  791. package/dist/staking/platforms/common/platformNotFound.d.ts.map +0 -1
  792. package/dist/staking/platforms/common/platformNotFound.js +0 -13
  793. package/dist/staking/pools/common/poolNotFound.d.ts +0 -10
  794. package/dist/staking/pools/common/poolNotFound.d.ts.map +0 -1
  795. package/dist/staking/pools/common/poolNotFound.js +0 -14
  796. package/dist/staking/stakes/common/stakeNotFound.d.ts +0 -9
  797. package/dist/staking/stakes/common/stakeNotFound.d.ts.map +0 -1
  798. package/dist/staking/stakes/common/stakeNotFound.js +0 -13
  799. package/dist/staking-templates/index.d.ts +0 -732
  800. package/dist/staking-templates/index.d.ts.map +0 -1
  801. package/dist/staking-templates/index.js +0 -18
  802. package/dist/staking-templates/templates/common/amount.d.ts +0 -7
  803. package/dist/staking-templates/templates/common/amount.d.ts.map +0 -1
  804. package/dist/staking-templates/templates/common/amount.js +0 -15
  805. package/dist/staking-templates/templates/common/amountMult.d.ts +0 -3
  806. package/dist/staking-templates/templates/common/amountMult.d.ts.map +0 -1
  807. package/dist/staking-templates/templates/common/amountMult.js +0 -22
  808. package/dist/staking-templates/templates/common/erc20Input.d.ts +0 -6
  809. package/dist/staking-templates/templates/common/erc20Input.d.ts.map +0 -1
  810. package/dist/staking-templates/templates/common/erc20Input.js +0 -14
  811. package/dist/staking-templates/templates/common/erc20Reward.d.ts +0 -6
  812. package/dist/staking-templates/templates/common/erc20Reward.d.ts.map +0 -1
  813. package/dist/staking-templates/templates/common/erc20Reward.js +0 -13
  814. package/dist/staking-templates/templates/common/getCreatePoolEvent.d.ts +0 -31
  815. package/dist/staking-templates/templates/common/getCreatePoolEvent.d.ts.map +0 -1
  816. package/dist/staking-templates/templates/common/getCreatePoolEvent.js +0 -47
  817. package/dist/staking-templates/templates/common/getPlatformDeployEvent.d.ts +0 -40
  818. package/dist/staking-templates/templates/common/getPlatformDeployEvent.d.ts.map +0 -1
  819. package/dist/staking-templates/templates/common/getPlatformDeployEvent.js +0 -46
  820. package/dist/staking-templates/templates/common/getReward.d.ts +0 -58
  821. package/dist/staking-templates/templates/common/getReward.d.ts.map +0 -1
  822. package/dist/staking-templates/templates/common/getReward.js +0 -34
  823. package/dist/staking-templates/templates/common/getStakeEvent.d.ts +0 -31
  824. package/dist/staking-templates/templates/common/getStakeEvent.d.ts.map +0 -1
  825. package/dist/staking-templates/templates/common/getStakeEvent.js +0 -51
  826. package/dist/staking-templates/templates/common/lock.d.ts +0 -6
  827. package/dist/staking-templates/templates/common/lock.d.ts.map +0 -1
  828. package/dist/staking-templates/templates/common/lock.js +0 -18
  829. package/dist/staking-templates/templates/common/lockMult.d.ts +0 -3
  830. package/dist/staking-templates/templates/common/lockMult.d.ts.map +0 -1
  831. package/dist/staking-templates/templates/common/lockMult.js +0 -14
  832. package/dist/staking-templates/templates/common/partialUnstake.d.ts +0 -62
  833. package/dist/staking-templates/templates/common/partialUnstake.d.ts.map +0 -1
  834. package/dist/staking-templates/templates/common/partialUnstake.js +0 -39
  835. package/dist/staking-templates/templates/common/rewardDistribution.d.ts +0 -7
  836. package/dist/staking-templates/templates/common/rewardDistribution.d.ts.map +0 -1
  837. package/dist/staking-templates/templates/common/rewardDistribution.js +0 -16
  838. package/dist/staking-templates/templates/common/templates.d.ts +0 -61
  839. package/dist/staking-templates/templates/common/templates.d.ts.map +0 -1
  840. package/dist/staking-templates/templates/common/templates.js +0 -8
  841. package/dist/staking-templates/templates/common/time.d.ts +0 -2
  842. package/dist/staking-templates/templates/common/time.d.ts.map +0 -1
  843. package/dist/staking-templates/templates/common/time.js +0 -4
  844. package/dist/staking-templates/templates/common/unstake.d.ts +0 -58
  845. package/dist/staking-templates/templates/common/unstake.d.ts.map +0 -1
  846. package/dist/staking-templates/templates/common/unstake.js +0 -34
  847. package/dist/staking-templates/templates/reputation/common.d.ts +0 -23
  848. package/dist/staking-templates/templates/reputation/common.d.ts.map +0 -1
  849. package/dist/staking-templates/templates/reputation/common.js +0 -3
  850. package/dist/staking-templates/templates/reputation/index.d.ts +0 -233
  851. package/dist/staking-templates/templates/reputation/index.d.ts.map +0 -1
  852. package/dist/staking-templates/templates/reputation/index.js +0 -4
  853. package/dist/staking-templates/templates/reputation/v0/createPlatform.d.ts +0 -81
  854. package/dist/staking-templates/templates/reputation/v0/createPlatform.d.ts.map +0 -1
  855. package/dist/staking-templates/templates/reputation/v0/createPlatform.js +0 -56
  856. package/dist/staking-templates/templates/reputation/v0/createPool.d.ts +0 -113
  857. package/dist/staking-templates/templates/reputation/v0/createPool.d.ts.map +0 -1
  858. package/dist/staking-templates/templates/reputation/v0/createPool.js +0 -85
  859. package/dist/staking-templates/templates/reputation/v0/index.d.ts +0 -233
  860. package/dist/staking-templates/templates/reputation/v0/index.d.ts.map +0 -1
  861. package/dist/staking-templates/templates/reputation/v0/index.js +0 -25
  862. package/dist/staking-templates/templates/reputation/v0/restake.d.ts +0 -61
  863. package/dist/staking-templates/templates/reputation/v0/restake.d.ts.map +0 -1
  864. package/dist/staking-templates/templates/reputation/v0/restake.js +0 -40
  865. package/dist/staking-templates/templates/reputation/v0/stake.d.ts +0 -61
  866. package/dist/staking-templates/templates/reputation/v0/stake.d.ts.map +0 -1
  867. package/dist/staking-templates/templates/reputation/v0/stake.js +0 -45
  868. package/dist/staking-templates/templates/reputationLock/common.d.ts +0 -23
  869. package/dist/staking-templates/templates/reputationLock/common.d.ts.map +0 -1
  870. package/dist/staking-templates/templates/reputationLock/common.js +0 -3
  871. package/dist/staking-templates/templates/reputationLock/index.d.ts +0 -244
  872. package/dist/staking-templates/templates/reputationLock/index.d.ts.map +0 -1
  873. package/dist/staking-templates/templates/reputationLock/index.js +0 -4
  874. package/dist/staking-templates/templates/reputationLock/v0/createPlatform.d.ts +0 -81
  875. package/dist/staking-templates/templates/reputationLock/v0/createPlatform.d.ts.map +0 -1
  876. package/dist/staking-templates/templates/reputationLock/v0/createPlatform.js +0 -56
  877. package/dist/staking-templates/templates/reputationLock/v0/createPool.d.ts +0 -149
  878. package/dist/staking-templates/templates/reputationLock/v0/createPool.d.ts.map +0 -1
  879. package/dist/staking-templates/templates/reputationLock/v0/createPool.js +0 -99
  880. package/dist/staking-templates/templates/reputationLock/v0/index.d.ts +0 -244
  881. package/dist/staking-templates/templates/reputationLock/v0/index.d.ts.map +0 -1
  882. package/dist/staking-templates/templates/reputationLock/v0/index.js +0 -25
  883. package/dist/staking-templates/templates/reputationLock/v0/restake.d.ts +0 -65
  884. package/dist/staking-templates/templates/reputationLock/v0/restake.d.ts.map +0 -1
  885. package/dist/staking-templates/templates/reputationLock/v0/restake.js +0 -44
  886. package/dist/staking-templates/templates/reputationLock/v0/stake.d.ts +0 -65
  887. package/dist/staking-templates/templates/reputationLock/v0/stake.d.ts.map +0 -1
  888. package/dist/staking-templates/templates/reputationLock/v0/stake.js +0 -46
  889. package/dist/staking-templates/templates/rwa/common.d.ts +0 -23
  890. package/dist/staking-templates/templates/rwa/common.d.ts.map +0 -1
  891. package/dist/staking-templates/templates/rwa/common.js +0 -3
  892. package/dist/staking-templates/templates/rwa/index.d.ts +0 -256
  893. package/dist/staking-templates/templates/rwa/index.d.ts.map +0 -1
  894. package/dist/staking-templates/templates/rwa/index.js +0 -4
  895. package/dist/staking-templates/templates/rwa/v0/createPlatform.d.ts +0 -81
  896. package/dist/staking-templates/templates/rwa/v0/createPlatform.d.ts.map +0 -1
  897. package/dist/staking-templates/templates/rwa/v0/createPlatform.js +0 -56
  898. package/dist/staking-templates/templates/rwa/v0/createPool.d.ts +0 -109
  899. package/dist/staking-templates/templates/rwa/v0/createPool.d.ts.map +0 -1
  900. package/dist/staking-templates/templates/rwa/v0/createPool.js +0 -79
  901. package/dist/staking-templates/templates/rwa/v0/distributeRewards.d.ts +0 -61
  902. package/dist/staking-templates/templates/rwa/v0/distributeRewards.d.ts.map +0 -1
  903. package/dist/staking-templates/templates/rwa/v0/distributeRewards.js +0 -41
  904. package/dist/staking-templates/templates/rwa/v0/index.d.ts +0 -256
  905. package/dist/staking-templates/templates/rwa/v0/index.d.ts.map +0 -1
  906. package/dist/staking-templates/templates/rwa/v0/index.js +0 -27
  907. package/dist/staking-templates/templates/rwa/v0/notifyRewards.d.ts +0 -61
  908. package/dist/staking-templates/templates/rwa/v0/notifyRewards.d.ts.map +0 -1
  909. package/dist/staking-templates/templates/rwa/v0/notifyRewards.js +0 -41
  910. package/dist/staking-templates/templates/rwa/v0/restake.d.ts +0 -61
  911. package/dist/staking-templates/templates/rwa/v0/restake.d.ts.map +0 -1
  912. package/dist/staking-templates/templates/rwa/v0/restake.js +0 -40
  913. package/dist/staking-templates/templates/rwa/v0/stake.d.ts +0 -61
  914. package/dist/staking-templates/templates/rwa/v0/stake.d.ts.map +0 -1
  915. package/dist/staking-templates/templates/rwa/v0/stake.js +0 -45
  916. package/dist/v0/fractions/index.d.ts +0 -129
  917. package/dist/v0/fractions/index.d.ts.map +0 -1
  918. package/dist/v0/fractions/index.js +0 -9
  919. package/dist/v0/fractions/networkStatistics.route.d.ts +0 -297
  920. package/dist/v0/fractions/networkStatistics.route.d.ts.map +0 -1
  921. package/dist/v0/fractions/networkStatistics.route.js +0 -225
  922. package/dist/v1/fractions/lending/buyback/buyback.routes.d.ts +0 -65
  923. package/dist/v1/fractions/lending/buyback/buyback.routes.d.ts.map +0 -1
  924. package/dist/v1/fractions/lending/buyback/buyback.routes.js +0 -27
  925. package/dist/v1/fractions/lending/buyback/buyback.schema.d.ts +0 -8
  926. package/dist/v1/fractions/lending/buyback/buyback.schema.d.ts.map +0 -1
  927. package/dist/v1/fractions/lending/buyback/buyback.schema.js +0 -13
  928. package/dist/v1/fractions/lending/createLendingSale.d.ts +0 -303
  929. package/dist/v1/fractions/lending/createLendingSale.d.ts.map +0 -1
  930. package/dist/v1/fractions/lending/createLendingSale.js +0 -79
  931. package/dist/v1/fractions/lending/deployMarket/lending.routes.d.ts +0 -113
  932. package/dist/v1/fractions/lending/deployMarket/lending.routes.d.ts.map +0 -1
  933. package/dist/v1/fractions/lending/deployMarket/lending.routes.js +0 -41
  934. package/dist/v1/fractions/lending/index.d.ts +0 -192
  935. package/dist/v1/fractions/lending/index.d.ts.map +0 -1
  936. package/dist/v1/fractions/lending/index.js +0 -22
  937. package/dist/v1/fractions/lending/purchase/directPurchase.route.d.ts +0 -71
  938. package/dist/v1/fractions/lending/purchase/directPurchase.route.d.ts.map +0 -1
  939. package/dist/v1/fractions/lending/purchase/directPurchase.route.js +0 -31
  940. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts +0 -61
  941. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts.map +0 -1
  942. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.routes.js +0 -27
  943. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts +0 -7
  944. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts.map +0 -1
  945. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.js +0 -11
  946. package/dist/v1/fractions/schemas.d.ts +0 -20
  947. package/dist/v1/fractions/schemas.d.ts.map +0 -1
  948. package/dist/v1/fractions/schemas.js +0 -20
@@ -1 +0,0 @@
1
- {"version":3,"file":"approveSale.route.d.ts","sourceRoot":"","sources":["../../../../../src/fractions/approveSale/v0/approveSale.route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAGvC,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAG3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,wBAAwB;;;;;;;;;EAGnC,CAAC;AAkBH,wBAAgB,+BAA+B,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEAUjF"}
@@ -1,31 +0,0 @@
1
- import { describeRoute } from "hono-openapi";
2
- import { resolver, validator } from "hono-openapi/zod";
3
- import { buildApproveSaleTx } from "@evergonlabs/tmi-protocol-fractions-sdk";
4
- import { AddressSchema, toTransaction, TransactionSchema } from "../../../common/index.js";
5
- import { z } from "zod";
6
- export const ApproveSaleRequestSchema = z.object({
7
- marketAddress: AddressSchema,
8
- campaignId: z.coerce.bigint().nonnegative(),
9
- });
10
- const route = describeRoute({
11
- summary: "Approve a sale",
12
- description: "Returns transaction data for approving a sale",
13
- tags: ["Fractions"],
14
- responses: {
15
- 200: {
16
- description: "Returns transaction data for approving a sale",
17
- content: {
18
- "application/json": {
19
- schema: resolver(TransactionSchema),
20
- },
21
- },
22
- },
23
- },
24
- });
25
- export function createApproveSalesTransactionV0(factory) {
26
- return factory.createHandlers(route, validator("json", ApproveSaleRequestSchema.openapi({ ref: "ApproveSaleRequestSchema" })), async (c) => {
27
- const { marketAddress, campaignId } = c.req.valid("json");
28
- const tx = buildApproveSaleTx({ market: marketAddress, campaignId: campaignId });
29
- return c.json(toTransaction(tx));
30
- });
31
- }
@@ -1,203 +0,0 @@
1
- import { Factory } from "hono/factory";
2
- import { Env } from "hono";
3
- import { z } from "zod";
4
- export declare const ApproveWrapperRequestSchema: z.ZodObject<{
5
- marketAddress: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
6
- wrapperAddress: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
7
- }, "strip", z.ZodTypeAny, {
8
- wrapperAddress: `0x${string}`;
9
- marketAddress: `0x${string}`;
10
- }, {
11
- wrapperAddress: `0x${string}`;
12
- marketAddress: `0x${string}`;
13
- }>;
14
- export declare const ApproveErc20SpendingToWrapper: z.ZodObject<{
15
- wrapperAddress: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
16
- erc20Address: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
17
- amount: z.ZodBigInt;
18
- }, "strip", z.ZodTypeAny, {
19
- wrapperAddress: `0x${string}`;
20
- amount: bigint;
21
- erc20Address: `0x${string}`;
22
- }, {
23
- wrapperAddress: `0x${string}`;
24
- amount: bigint;
25
- erc20Address: `0x${string}`;
26
- }>;
27
- export declare const ApproveErc721SpendingToWrapper: z.ZodObject<{
28
- wrapperAddress: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
29
- erc721Address: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
30
- }, "strip", z.ZodTypeAny, {
31
- wrapperAddress: `0x${string}`;
32
- erc721Address: `0x${string}`;
33
- }, {
34
- wrapperAddress: `0x${string}`;
35
- erc721Address: `0x${string}`;
36
- }>;
37
- export declare function createApproveWrapperTransactionV0<E extends Env>(factory: Factory<E>): [import("hono/types").H<any, string, {}, Promise<Response & import("hono").TypedResponse<{
38
- data: `0x${string}`;
39
- to: `0x${string}`;
40
- details: {
41
- functionName: string;
42
- address: `0x${string}`;
43
- abi: any[];
44
- args: any[];
45
- };
46
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<Env, string, {
47
- in: {
48
- json: {
49
- wrapperAddress: `0x${string}`;
50
- marketAddress: `0x${string}`;
51
- };
52
- };
53
- out: {
54
- json: {
55
- wrapperAddress: `0x${string}`;
56
- marketAddress: `0x${string}`;
57
- };
58
- };
59
- }, Promise<Response & import("hono").TypedResponse<{
60
- data: `0x${string}`;
61
- to: `0x${string}`;
62
- details: {
63
- functionName: string;
64
- address: `0x${string}`;
65
- abi: any[];
66
- args: any[];
67
- };
68
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<import("hono/utils/types").IfAnyThenEmptyObject<E extends Env ? Env extends E ? {} : E : E> & {}, string, {
69
- in: {
70
- json: {
71
- wrapperAddress: `0x${string}`;
72
- marketAddress: `0x${string}`;
73
- };
74
- };
75
- out: {
76
- json: {
77
- wrapperAddress: `0x${string}`;
78
- marketAddress: `0x${string}`;
79
- };
80
- };
81
- }, Promise<Response & import("hono").TypedResponse<{
82
- data: `0x${string}`;
83
- to: `0x${string}`;
84
- details: {
85
- functionName: string;
86
- address: `0x${string}`;
87
- abi: any[];
88
- args: any[];
89
- };
90
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>];
91
- export declare function createApproveErc20SpendingToWrapper<E extends Env>(factory: Factory<E>): [import("hono/types").H<any, string, {}, Promise<Response & import("hono").TypedResponse<{
92
- data: `0x${string}`;
93
- to: `0x${string}`;
94
- details: {
95
- functionName: string;
96
- address: `0x${string}`;
97
- abi: any[];
98
- args: any[];
99
- };
100
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<Env, string, {
101
- in: {
102
- json: {
103
- wrapperAddress: `0x${string}`;
104
- amount: bigint;
105
- erc20Address: `0x${string}`;
106
- };
107
- };
108
- out: {
109
- json: {
110
- wrapperAddress: `0x${string}`;
111
- amount: bigint;
112
- erc20Address: `0x${string}`;
113
- };
114
- };
115
- }, Promise<Response & import("hono").TypedResponse<{
116
- data: `0x${string}`;
117
- to: `0x${string}`;
118
- details: {
119
- functionName: string;
120
- address: `0x${string}`;
121
- abi: any[];
122
- args: any[];
123
- };
124
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<import("hono/utils/types").IfAnyThenEmptyObject<E extends Env ? Env extends E ? {} : E : E> & {}, string, {
125
- in: {
126
- json: {
127
- wrapperAddress: `0x${string}`;
128
- amount: bigint;
129
- erc20Address: `0x${string}`;
130
- };
131
- };
132
- out: {
133
- json: {
134
- wrapperAddress: `0x${string}`;
135
- amount: bigint;
136
- erc20Address: `0x${string}`;
137
- };
138
- };
139
- }, Promise<Response & import("hono").TypedResponse<{
140
- data: `0x${string}`;
141
- to: `0x${string}`;
142
- details: {
143
- functionName: string;
144
- address: `0x${string}`;
145
- abi: any[];
146
- args: any[];
147
- };
148
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>];
149
- export declare function createApproveErc721SpendingToWrapper<E extends Env>(factory: Factory<E>): [import("hono/types").H<any, string, {}, Promise<Response & import("hono").TypedResponse<{
150
- data: `0x${string}`;
151
- to: `0x${string}`;
152
- details: {
153
- functionName: string;
154
- address: `0x${string}`;
155
- abi: any[];
156
- args: any[];
157
- };
158
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<Env, string, {
159
- in: {
160
- json: {
161
- wrapperAddress: `0x${string}`;
162
- erc721Address: `0x${string}`;
163
- };
164
- };
165
- out: {
166
- json: {
167
- wrapperAddress: `0x${string}`;
168
- erc721Address: `0x${string}`;
169
- };
170
- };
171
- }, Promise<Response & import("hono").TypedResponse<{
172
- data: `0x${string}`;
173
- to: `0x${string}`;
174
- details: {
175
- functionName: string;
176
- address: `0x${string}`;
177
- abi: any[];
178
- args: any[];
179
- };
180
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<import("hono/utils/types").IfAnyThenEmptyObject<E extends Env ? Env extends E ? {} : E : E> & {}, string, {
181
- in: {
182
- json: {
183
- wrapperAddress: `0x${string}`;
184
- erc721Address: `0x${string}`;
185
- };
186
- };
187
- out: {
188
- json: {
189
- wrapperAddress: `0x${string}`;
190
- erc721Address: `0x${string}`;
191
- };
192
- };
193
- }, Promise<Response & import("hono").TypedResponse<{
194
- data: `0x${string}`;
195
- to: `0x${string}`;
196
- details: {
197
- functionName: string;
198
- address: `0x${string}`;
199
- abi: any[];
200
- args: any[];
201
- };
202
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>];
203
- //# sourceMappingURL=approveWrapper.route.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"approveWrapper.route.d.ts","sourceRoot":"","sources":["../../../../../src/fractions/approveWrapper/v0/approveWrapper.route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAGvC,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAO3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,2BAA2B;;;;;;;;;EAGtC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;EAIxC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;EAGzC,CAAC;AAkBH,wBAAgB,iCAAiC,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEAUnF;AAkBD,wBAAgB,mCAAmC,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEAUrF;AAkBD,wBAAgB,oCAAoC,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEAUtF"}
@@ -1,84 +0,0 @@
1
- import { describeRoute } from "hono-openapi";
2
- import { resolver, validator } from "hono-openapi/zod";
3
- import { buildApproveErc20SpendingToWrapperTx, buildApproveErc721SpendingToWrapperTx, buildApproveWrapperTx, } from "@evergonlabs/tmi-protocol-fractions-sdk";
4
- import { AddressSchema, toTransaction, TransactionSchema } from "../../../common/index.js";
5
- import { z } from "zod";
6
- export const ApproveWrapperRequestSchema = z.object({
7
- marketAddress: AddressSchema,
8
- wrapperAddress: AddressSchema,
9
- });
10
- export const ApproveErc20SpendingToWrapper = z.object({
11
- wrapperAddress: AddressSchema,
12
- erc20Address: AddressSchema,
13
- amount: z.coerce.bigint().positive(),
14
- });
15
- export const ApproveErc721SpendingToWrapper = z.object({
16
- wrapperAddress: AddressSchema,
17
- erc721Address: AddressSchema,
18
- });
19
- const route = describeRoute({
20
- summary: "Approve a wrapper",
21
- description: "Returns transaction data for approving a wrapper",
22
- tags: ["Fractions Approvals"],
23
- responses: {
24
- 200: {
25
- description: "Returns transaction data for approving a wrapper",
26
- content: {
27
- "application/json": {
28
- schema: resolver(TransactionSchema),
29
- },
30
- },
31
- },
32
- },
33
- });
34
- export function createApproveWrapperTransactionV0(factory) {
35
- return factory.createHandlers(route, validator("json", ApproveWrapperRequestSchema.openapi({ ref: "ApproveWrapperRequestSchema" })), async (c) => {
36
- const { marketAddress, wrapperAddress } = c.req.valid("json");
37
- const tx = buildApproveWrapperTx(marketAddress, wrapperAddress);
38
- return c.json(toTransaction(tx));
39
- });
40
- }
41
- const route_erc20 = describeRoute({
42
- summary: "Approve wrapped ERC20 spending",
43
- description: "Returns transaction data for approving a wrapper as a spender of wrapped ERC20",
44
- tags: ["Fractions Approvals"],
45
- responses: {
46
- 200: {
47
- description: "Returns transaction data for approving a wrapper",
48
- content: {
49
- "application/json": {
50
- schema: resolver(TransactionSchema),
51
- },
52
- },
53
- },
54
- },
55
- });
56
- export function createApproveErc20SpendingToWrapper(factory) {
57
- return factory.createHandlers(route_erc20, validator("json", ApproveErc20SpendingToWrapper.openapi({ ref: "ApproveErc20SpendingToWrapper" })), async (c) => {
58
- const { wrapperAddress, erc20Address, amount } = c.req.valid("json");
59
- const tx = buildApproveErc20SpendingToWrapperTx(wrapperAddress, erc20Address, amount);
60
- return c.json(toTransaction(tx));
61
- });
62
- }
63
- const route_erc721 = describeRoute({
64
- summary: "Approve wrapped ERC721 spending",
65
- description: "Returns transaction data for approving a wrapper",
66
- tags: ["Fractions Approvals"],
67
- responses: {
68
- 200: {
69
- description: "Returns transaction data for approving a wrapper",
70
- content: {
71
- "application/json": {
72
- schema: resolver(TransactionSchema),
73
- },
74
- },
75
- },
76
- },
77
- });
78
- export function createApproveErc721SpendingToWrapper(factory) {
79
- return factory.createHandlers(route_erc721, validator("json", ApproveErc721SpendingToWrapper.openapi({ ref: "ApproveErc721SpendingToWrapper" })), async (c) => {
80
- const { wrapperAddress, erc721Address } = c.req.valid("json");
81
- const tx = buildApproveErc721SpendingToWrapperTx(wrapperAddress, erc721Address);
82
- return c.json(toTransaction(tx));
83
- });
84
- }
@@ -1,68 +0,0 @@
1
- import { Env } from "hono";
2
- import { Factory } from "hono/factory";
3
- import { z } from "zod";
4
- export declare const CompleteSaleRequestSchema: z.ZodObject<{
5
- marketAddress: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
6
- campaignId: z.ZodBigInt;
7
- }, "strip", z.ZodTypeAny, {
8
- campaignId: bigint;
9
- marketAddress: `0x${string}`;
10
- }, {
11
- campaignId: bigint;
12
- marketAddress: `0x${string}`;
13
- }>;
14
- export declare function createCompleteSalesTransactionV0<E extends Env>(factory: Factory<E>): [import("hono/types").H<any, string, {}, Promise<Response & import("hono").TypedResponse<{
15
- data: `0x${string}`;
16
- to: `0x${string}`;
17
- details: {
18
- functionName: string;
19
- address: `0x${string}`;
20
- abi: any[];
21
- args: any[];
22
- };
23
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<Env, string, {
24
- in: {
25
- json: {
26
- campaignId: bigint;
27
- marketAddress: `0x${string}`;
28
- };
29
- };
30
- out: {
31
- json: {
32
- campaignId: bigint;
33
- marketAddress: `0x${string}`;
34
- };
35
- };
36
- }, Promise<Response & import("hono").TypedResponse<{
37
- data: `0x${string}`;
38
- to: `0x${string}`;
39
- details: {
40
- functionName: string;
41
- address: `0x${string}`;
42
- abi: any[];
43
- args: any[];
44
- };
45
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<import("hono/utils/types").IfAnyThenEmptyObject<E extends Env ? Env extends E ? {} : E : E> & {}, string, {
46
- in: {
47
- json: {
48
- campaignId: bigint;
49
- marketAddress: `0x${string}`;
50
- };
51
- };
52
- out: {
53
- json: {
54
- campaignId: bigint;
55
- marketAddress: `0x${string}`;
56
- };
57
- };
58
- }, Promise<Response & import("hono").TypedResponse<{
59
- data: `0x${string}`;
60
- to: `0x${string}`;
61
- details: {
62
- functionName: string;
63
- address: `0x${string}`;
64
- abi: any[];
65
- args: any[];
66
- };
67
- }, import("hono/utils/http-status").ContentfulStatusCode, "json">>>];
68
- //# sourceMappingURL=completeSale.route.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"completeSale.route.d.ts","sourceRoot":"","sources":["../../../../../src/fractions/completeSale/v0/completeSale.route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAKvC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,yBAAyB;;;;;;;;;EAGpC,CAAC;AAkBH,wBAAgB,gCAAgC,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEAYlF"}
@@ -1,31 +0,0 @@
1
- import { describeRoute } from "hono-openapi";
2
- import { resolver, validator } from "hono-openapi/zod";
3
- import { buildFinishSaleTx } from "@evergonlabs/tmi-protocol-fractions-sdk";
4
- import { AddressSchema, toTransaction, TransactionSchema } from "../../../common/index.js";
5
- import { z } from "zod";
6
- export const CompleteSaleRequestSchema = z.object({
7
- marketAddress: AddressSchema,
8
- campaignId: z.coerce.bigint().nonnegative(),
9
- });
10
- const route = describeRoute({
11
- summary: "Complete a sale",
12
- description: "Returns transaction data for completing a sale",
13
- tags: ["Fractions"],
14
- responses: {
15
- 200: {
16
- description: "Returns transaction data for completing a sale",
17
- content: {
18
- "application/json": {
19
- schema: resolver(TransactionSchema),
20
- },
21
- },
22
- },
23
- },
24
- });
25
- export function createCompleteSalesTransactionV0(factory) {
26
- return factory.createHandlers(route, validator("json", CompleteSaleRequestSchema.openapi({ ref: "CompleteSaleRequestSchema" })), async (c) => {
27
- const { marketAddress, campaignId } = c.req.valid("json");
28
- const tx = buildFinishSaleTx({ market: marketAddress, campaignId: campaignId });
29
- return c.json(toTransaction(tx));
30
- });
31
- }