@evergonlabs/tmi-protocol-api 0.10.1 → 0.11.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 (767) hide show
  1. package/dist/app.d.ts +294 -611
  2. package/dist/app.d.ts.map +1 -1
  3. package/dist/app.js +1 -10
  4. package/dist/apps.d.ts +0 -6
  5. package/dist/apps.d.ts.map +1 -1
  6. package/dist/apps.js +0 -3
  7. package/dist/client.d.ts +299 -634
  8. package/dist/client.d.ts.map +1 -1
  9. package/dist/client.js +1 -9
  10. package/dist/common/blockchain.d.ts +8779 -143
  11. package/dist/common/blockchain.d.ts.map +1 -1
  12. package/dist/common/blockchain.js +5 -1
  13. package/dist/common/config.d.ts +6 -1
  14. package/dist/common/config.d.ts.map +1 -1
  15. package/dist/common/config.js +6 -1
  16. package/dist/common/indexer/client.d.ts.map +1 -1
  17. package/dist/common/indexer/schemas.d.ts.map +1 -1
  18. package/dist/common/models/asset.d.ts +2 -2
  19. package/dist/common/models/asset.d.ts.map +1 -1
  20. package/dist/common/models/asset.js +2 -2
  21. package/dist/common/models/chainId.d.ts +6 -9
  22. package/dist/common/models/chainId.d.ts.map +1 -1
  23. package/dist/common/models/chainId.js +8 -16
  24. package/dist/common/models/deployTransaction.d.ts +1 -1
  25. package/dist/common/models/deployTransaction.d.ts.map +1 -1
  26. package/dist/common/models/deployTransaction.js +2 -2
  27. package/dist/common/models/erc721.d.ts +1 -1
  28. package/dist/common/models/erc721.d.ts.map +1 -1
  29. package/dist/common/models/erc721.js +1 -1
  30. package/dist/common/models/exports.d.ts +5 -5
  31. package/dist/common/models/exports.d.ts.map +1 -1
  32. package/dist/common/models/exports.js +5 -5
  33. package/dist/common/models/index.d.ts +1 -4
  34. package/dist/common/models/index.d.ts.map +1 -1
  35. package/dist/common/models/index.js +1 -4
  36. package/dist/common/models/page.d.ts +1 -1
  37. package/dist/common/models/page.d.ts.map +1 -1
  38. package/dist/common/models/page.js +1 -1
  39. package/dist/common/models/platform.d.ts +5 -5
  40. package/dist/common/models/platform.d.ts.map +1 -1
  41. package/dist/common/models/platform.js +6 -6
  42. package/dist/common/models/routes.d.ts +1 -1
  43. package/dist/common/models/routes.d.ts.map +1 -1
  44. package/dist/common/models/routes.js +1 -1
  45. package/dist/common/models/transaction.d.ts +2 -2
  46. package/dist/common/models/transaction.d.ts.map +1 -1
  47. package/dist/common/models/transaction.js +2 -2
  48. package/dist/fractions/index.d.ts +170 -161
  49. package/dist/fractions/index.d.ts.map +1 -1
  50. package/dist/fractions/index.js +0 -2
  51. package/dist/fractions/{platforms/deployMarket.routes.d.ts → markets/deployMarket.d.ts} +11 -11
  52. package/dist/fractions/markets/deployMarket.d.ts.map +1 -0
  53. package/dist/fractions/{platforms/deployMarket.routes.js → markets/deployMarket.js} +18 -17
  54. package/dist/fractions/markets/getDeployEvent.d.ts +2 -2
  55. package/dist/fractions/markets/getDeployEvent.d.ts.map +1 -1
  56. package/dist/fractions/markets/getDeployEvent.js +3 -2
  57. package/dist/fractions/markets/{getMarket/getMarket.d.ts → getMarket.d.ts} +8 -8
  58. package/dist/fractions/markets/getMarket.d.ts.map +1 -0
  59. package/dist/fractions/markets/{getMarket/getMarket.js → getMarket.js} +6 -8
  60. package/dist/fractions/markets/index.d.ts +187 -16
  61. package/dist/fractions/markets/index.d.ts.map +1 -1
  62. package/dist/fractions/markets/index.js +13 -6
  63. package/dist/fractions/{platforms/initCompilot.routes.d.ts → markets/initCompilot.d.ts} +2 -10
  64. package/dist/fractions/markets/initCompilot.d.ts.map +1 -0
  65. package/dist/fractions/{platforms/initCompilot.routes.js → markets/initCompilot.js} +10 -17
  66. package/dist/fractions/markets/{searchMarkets/searchMarkets.d.ts → searchMarkets.d.ts} +4 -4
  67. package/dist/fractions/markets/searchMarkets.d.ts.map +1 -0
  68. package/dist/fractions/markets/{searchMarkets/searchMarkets.js → searchMarkets.js} +7 -9
  69. package/dist/fractions/markets/{common/platform.d.ts → utils.d.ts} +10 -7
  70. package/dist/fractions/markets/utils.d.ts.map +1 -0
  71. package/dist/fractions/markets/{common/platform.js → utils.js} +7 -5
  72. package/dist/fractions/roles/getRoles.d.ts +1 -1
  73. package/dist/fractions/roles/getRoles.d.ts.map +1 -1
  74. package/dist/fractions/roles/getRoles.js +1 -1
  75. package/dist/fractions/roles/{grantRole.route.d.ts → grantRole.d.ts} +1 -2
  76. package/dist/fractions/roles/grantRole.d.ts.map +1 -0
  77. package/dist/fractions/roles/{grantRole.route.js → grantRole.js} +1 -1
  78. package/dist/fractions/roles/index.d.ts +0 -1
  79. package/dist/fractions/roles/index.d.ts.map +1 -1
  80. package/dist/fractions/roles/index.js +2 -2
  81. package/dist/fractions/sales/activityUtils.d.ts +4 -4
  82. package/dist/fractions/sales/activityUtils.d.ts.map +1 -1
  83. package/dist/fractions/sales/activityUtils.js +2 -2
  84. package/dist/fractions/sales/approveSale.route.d.ts +4 -7
  85. package/dist/fractions/sales/approveSale.route.d.ts.map +1 -1
  86. package/dist/fractions/sales/approveSale.route.js +4 -9
  87. package/dist/fractions/sales/approveWrapper.route.d.ts +2 -65
  88. package/dist/fractions/sales/approveWrapper.route.d.ts.map +1 -1
  89. package/dist/fractions/sales/approveWrapper.route.js +6 -68
  90. package/dist/fractions/sales/common/fractionsSale.d.ts +11 -11
  91. package/dist/fractions/sales/common/fractionsSale.d.ts.map +1 -1
  92. package/dist/fractions/sales/common/fractionsSale.js +3 -3
  93. package/dist/fractions/sales/completeSale.route.d.ts +4 -7
  94. package/dist/fractions/sales/completeSale.route.d.ts.map +1 -1
  95. package/dist/fractions/sales/completeSale.route.js +5 -10
  96. package/dist/fractions/sales/createFractions.route.d.ts +2 -3
  97. package/dist/fractions/sales/createFractions.route.d.ts.map +1 -1
  98. package/dist/fractions/sales/createFractions.route.js +2 -3
  99. package/dist/fractions/sales/getFractionSaleStatistics.route.d.ts +5 -5
  100. package/dist/fractions/sales/getFractionSaleStatistics.route.d.ts.map +1 -1
  101. package/dist/fractions/sales/getFractionSaleStatistics.route.js +2 -2
  102. package/dist/fractions/sales/getVaultAddress.d.ts +8 -8
  103. package/dist/fractions/sales/getVaultAddress.d.ts.map +1 -1
  104. package/dist/fractions/sales/getVaultAddress.js +3 -3
  105. package/dist/fractions/sales/getWithdrawEvent.d.ts +3 -3
  106. package/dist/fractions/sales/getWithdrawEvent.d.ts.map +1 -1
  107. package/dist/fractions/sales/getWithdrawEvent.js +1 -1
  108. package/dist/fractions/sales/index.d.ts +120 -118
  109. package/dist/fractions/sales/index.d.ts.map +1 -1
  110. package/dist/fractions/sales/index.js +5 -6
  111. package/dist/fractions/sales/parseFractionsCreatedEvent.d.ts +3 -3
  112. package/dist/fractions/sales/parseFractionsCreatedEvent.d.ts.map +1 -1
  113. package/dist/fractions/sales/parseFractionsCreatedEvent.js +3 -3
  114. package/dist/fractions/sales/purchase.route.d.ts +7 -12
  115. package/dist/fractions/sales/purchase.route.d.ts.map +1 -1
  116. package/dist/fractions/sales/purchase.route.js +4 -16
  117. package/dist/fractions/sales/purchaseStatistics.route.d.ts +2 -2
  118. package/dist/fractions/sales/purchaseStatistics.route.d.ts.map +1 -1
  119. package/dist/fractions/sales/purchaseStatistics.route.js +3 -3
  120. package/dist/fractions/sales/receiveFundsAfterNonFunded.route.d.ts +36 -14
  121. package/dist/fractions/sales/receiveFundsAfterNonFunded.route.d.ts.map +1 -1
  122. package/dist/fractions/sales/receiveFundsAfterNonFunded.route.js +35 -20
  123. package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts +5 -3
  124. package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts.map +1 -1
  125. package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.js +6 -5
  126. package/dist/fractions/sales/recoverFractions.d.ts +12 -15
  127. package/dist/fractions/sales/recoverFractions.d.ts.map +1 -1
  128. package/dist/fractions/sales/recoverFractions.js +5 -16
  129. package/dist/fractions/sales/rejectFractions.d.ts +3 -8
  130. package/dist/fractions/sales/rejectFractions.d.ts.map +1 -1
  131. package/dist/fractions/sales/rejectFractions.js +5 -10
  132. package/dist/fractions/sales/searchActivity.route.d.ts +5 -5
  133. package/dist/fractions/sales/searchActivity.route.d.ts.map +1 -1
  134. package/dist/fractions/sales/searchActivity.route.js +2 -2
  135. package/dist/fractions/sales/searchSales/searchSales.d.ts +6 -6
  136. package/dist/fractions/sales/searchSales/searchSales.d.ts.map +1 -1
  137. package/dist/fractions/sales/searchSales/searchSales.js +2 -2
  138. package/dist/fractions/sales/searchWithdrawal.route.d.ts +1 -1
  139. package/dist/fractions/sales/searchWithdrawal.route.d.ts.map +1 -1
  140. package/dist/fractions/sales/searchWithdrawal.route.js +2 -2
  141. package/dist/fractions/sales/setFeeCapLimit.d.ts +4 -8
  142. package/dist/fractions/sales/setFeeCapLimit.d.ts.map +1 -1
  143. package/dist/fractions/sales/setFeeCapLimit.js +5 -11
  144. package/dist/fractions/sales/unlockWrappedAssets.route.d.ts +4 -6
  145. package/dist/fractions/sales/unlockWrappedAssets.route.d.ts.map +1 -1
  146. package/dist/fractions/sales/unlockWrappedAssets.route.js +5 -5
  147. package/dist/fractions/sales/vesting/claimStatistics.route.d.ts +8 -8
  148. package/dist/fractions/sales/vesting/claimStatistics.route.d.ts.map +1 -1
  149. package/dist/fractions/sales/vesting/claimStatistics.route.js +2 -2
  150. package/dist/fractions/sales/vesting/claimVestedTokens.route.d.ts +1 -8
  151. package/dist/fractions/sales/vesting/claimVestedTokens.route.d.ts.map +1 -1
  152. package/dist/fractions/sales/vesting/claimVestedTokens.route.js +2 -10
  153. package/dist/fractions/sales/vesting/editCliff.route.d.ts +4 -10
  154. package/dist/fractions/sales/vesting/editCliff.route.d.ts.map +1 -1
  155. package/dist/fractions/sales/vesting/editCliff.route.js +5 -12
  156. package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.d.ts +3 -3
  157. package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.d.ts.map +1 -1
  158. package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.js +1 -1
  159. package/dist/fractions/sales/withdraw.route.d.ts +4 -6
  160. package/dist/fractions/sales/withdraw.route.d.ts.map +1 -1
  161. package/dist/fractions/sales/withdraw.route.js +5 -5
  162. package/dist/fractions/schemas.d.ts +6 -0
  163. package/dist/fractions/schemas.d.ts.map +1 -0
  164. package/dist/fractions/schemas.js +6 -0
  165. package/dist/fractions/sig/getAuthData.d.ts +6 -6
  166. package/dist/fractions/sig/getAuthData.d.ts.map +1 -1
  167. package/dist/fractions/sig/getAuthData.js +4 -5
  168. package/dist/fractions/sig/getNonce.route.d.ts +4 -4
  169. package/dist/fractions/sig/getNonce.route.d.ts.map +1 -1
  170. package/dist/fractions/sig/getNonce.route.js +1 -1
  171. package/dist/fractions/sig/index.d.ts +2 -2
  172. package/dist/fractions/sig/index.d.ts.map +1 -1
  173. package/dist/fractions/sig/index.js +1 -1
  174. package/dist/fractions/statistics/index.d.ts +19 -11
  175. package/dist/fractions/statistics/index.d.ts.map +1 -1
  176. package/dist/fractions/statistics/index.js +1 -1
  177. package/dist/fractions/statistics/networkStatistics.route.d.ts +20 -12
  178. package/dist/fractions/statistics/networkStatistics.route.d.ts.map +1 -1
  179. package/dist/fractions/statistics/networkStatistics.route.js +3 -3
  180. package/dist/general/balanceClient.d.ts +1 -1
  181. package/dist/general/balanceClient.d.ts.map +1 -1
  182. package/dist/general/balanceClient.js +1 -1
  183. package/dist/general/common.d.ts +1 -1
  184. package/dist/general/common.d.ts.map +1 -1
  185. package/dist/general/common.js +1 -1
  186. package/dist/general/estimateGas.d.ts +1 -1
  187. package/dist/general/estimateGas.d.ts.map +1 -1
  188. package/dist/general/estimateGas.js +2 -3
  189. package/dist/general/getBalance.d.ts +2 -2
  190. package/dist/general/getBalance.d.ts.map +1 -1
  191. package/dist/general/getBalance.js +2 -3
  192. package/dist/general/getBalancesBatch.d.ts +1 -1
  193. package/dist/general/getBalancesBatch.d.ts.map +1 -1
  194. package/dist/general/getBalancesBatch.js +6 -5
  195. package/dist/general/index.d.ts +5 -5
  196. package/dist/general/searchBalances.d.ts +2 -2
  197. package/dist/general/searchBalances.d.ts.map +1 -1
  198. package/dist/general/searchBalances.js +6 -5
  199. package/dist/general/tag.d.ts +4 -0
  200. package/dist/general/tag.d.ts.map +1 -0
  201. package/dist/general/tag.js +2 -0
  202. package/dist/general/utils/tokenBalance/tokenBalance.d.ts +1 -1
  203. package/dist/general/utils/tokenBalance/tokenBalance.d.ts.map +1 -1
  204. package/dist/general/utils/tokenBalance/tokenBalance.js +1 -1
  205. package/dist/issuance/common/factories.base.d.ts +649 -5
  206. package/dist/issuance/common/factories.base.d.ts.map +1 -1
  207. package/dist/issuance/common/factories.base.js +2 -2
  208. package/dist/issuance/common/factories.d.ts +2 -1
  209. package/dist/issuance/common/factories.d.ts.map +1 -1
  210. package/dist/issuance/common/factories.js +10 -2
  211. package/dist/issuance/erc1155/burn.d.ts +3 -3
  212. package/dist/issuance/erc1155/burn.d.ts.map +1 -1
  213. package/dist/issuance/erc1155/burn.js +5 -5
  214. package/dist/issuance/erc1155/default/deploy.d.ts +3 -3
  215. package/dist/issuance/erc1155/default/deploy.d.ts.map +1 -1
  216. package/dist/issuance/erc1155/default/deploy.js +3 -3
  217. package/dist/issuance/erc1155/default/initialize.d.ts +1 -1
  218. package/dist/issuance/erc1155/default/initialize.d.ts.map +1 -1
  219. package/dist/issuance/erc1155/default/initialize.js +2 -2
  220. package/dist/issuance/erc1155/default/parseDeployEvent.d.ts +2 -2
  221. package/dist/issuance/erc1155/default/parseDeployEvent.d.ts.map +1 -1
  222. package/dist/issuance/erc1155/default/parseDeployEvent.js +5 -15
  223. package/dist/issuance/erc1155/gated/deploy.d.ts +3 -3
  224. package/dist/issuance/erc1155/gated/deploy.d.ts.map +1 -1
  225. package/dist/issuance/erc1155/gated/deploy.js +3 -3
  226. package/dist/issuance/erc1155/gated/initialize.d.ts +1 -1
  227. package/dist/issuance/erc1155/gated/initialize.d.ts.map +1 -1
  228. package/dist/issuance/erc1155/gated/initialize.js +2 -2
  229. package/dist/issuance/erc1155/gated/parseDeployEvent.d.ts +2 -2
  230. package/dist/issuance/erc1155/gated/parseDeployEvent.d.ts.map +1 -1
  231. package/dist/issuance/erc1155/gated/parseDeployEvent.js +5 -15
  232. package/dist/issuance/erc1155/getMintedTokenId.d.ts +18 -0
  233. package/dist/issuance/erc1155/getMintedTokenId.d.ts.map +1 -0
  234. package/dist/issuance/erc1155/getMintedTokenId.js +71 -0
  235. package/dist/issuance/erc1155/grantRole.d.ts +1 -1
  236. package/dist/issuance/erc1155/grantRole.d.ts.map +1 -1
  237. package/dist/issuance/erc1155/grantRole.js +2 -2
  238. package/dist/issuance/erc1155/index.d.ts +23 -7
  239. package/dist/issuance/erc1155/index.d.ts.map +1 -1
  240. package/dist/issuance/erc1155/index.js +4 -2
  241. package/dist/issuance/erc1155/mint.d.ts +2 -2
  242. package/dist/issuance/erc1155/mint.d.ts.map +1 -1
  243. package/dist/issuance/erc1155/mint.js +4 -4
  244. package/dist/issuance/erc1155/recover.d.ts +3 -3
  245. package/dist/issuance/erc1155/recover.d.ts.map +1 -1
  246. package/dist/issuance/erc1155/recover.js +5 -5
  247. package/dist/issuance/erc1155/renounceRole.d.ts +1 -1
  248. package/dist/issuance/erc1155/renounceRole.d.ts.map +1 -1
  249. package/dist/issuance/erc1155/renounceRole.js +2 -2
  250. package/dist/issuance/erc1155/revokeRole.d.ts +1 -1
  251. package/dist/issuance/erc1155/revokeRole.d.ts.map +1 -1
  252. package/dist/issuance/erc1155/revokeRole.js +2 -2
  253. package/dist/issuance/erc1155/setApprovalForAll.d.ts +1 -1
  254. package/dist/issuance/erc1155/setApprovalForAll.d.ts.map +1 -1
  255. package/dist/issuance/erc1155/setApprovalForAll.js +2 -2
  256. package/dist/issuance/erc1155/setBaseURI.d.ts +1 -1
  257. package/dist/issuance/erc1155/setBaseURI.d.ts.map +1 -1
  258. package/dist/issuance/erc1155/setBaseURI.js +2 -2
  259. package/dist/issuance/erc1155/setTokenURI.d.ts +2 -2
  260. package/dist/issuance/erc1155/setTokenURI.d.ts.map +1 -1
  261. package/dist/issuance/erc1155/setTokenURI.js +4 -4
  262. package/dist/issuance/erc20/approve.d.ts +2 -2
  263. package/dist/issuance/erc20/approve.d.ts.map +1 -1
  264. package/dist/issuance/erc20/approve.js +4 -4
  265. package/dist/issuance/erc20/burn.d.ts +2 -2
  266. package/dist/issuance/erc20/burn.d.ts.map +1 -1
  267. package/dist/issuance/erc20/burn.js +4 -4
  268. package/dist/issuance/erc20/default/deploy.d.ts +4 -4
  269. package/dist/issuance/erc20/default/deploy.d.ts.map +1 -1
  270. package/dist/issuance/erc20/default/deploy.js +5 -5
  271. package/dist/issuance/erc20/default/initialize.d.ts +2 -2
  272. package/dist/issuance/erc20/default/initialize.d.ts.map +1 -1
  273. package/dist/issuance/erc20/default/initialize.js +4 -4
  274. package/dist/issuance/erc20/default/parseDeployEvent.d.ts +2 -2
  275. package/dist/issuance/erc20/default/parseDeployEvent.d.ts.map +1 -1
  276. package/dist/issuance/erc20/default/parseDeployEvent.js +5 -15
  277. package/dist/issuance/erc20/gated/deploy.d.ts +4 -4
  278. package/dist/issuance/erc20/gated/deploy.d.ts.map +1 -1
  279. package/dist/issuance/erc20/gated/deploy.js +5 -5
  280. package/dist/issuance/erc20/gated/initialize.d.ts +2 -2
  281. package/dist/issuance/erc20/gated/initialize.d.ts.map +1 -1
  282. package/dist/issuance/erc20/gated/initialize.js +4 -4
  283. package/dist/issuance/erc20/gated/parseDeployEvent.d.ts +2 -2
  284. package/dist/issuance/erc20/gated/parseDeployEvent.d.ts.map +1 -1
  285. package/dist/issuance/erc20/gated/parseDeployEvent.js +5 -15
  286. package/dist/issuance/erc20/gatedSimple/deploy.d.ts.map +1 -1
  287. package/dist/issuance/erc20/gatedSimple/deploy.js +1 -1
  288. package/dist/issuance/erc20/gatedSimple/getInitData.d.ts +2 -2
  289. package/dist/issuance/erc20/gatedSimple/getInitData.d.ts.map +1 -1
  290. package/dist/issuance/erc20/gatedSimple/getInitData.js +4 -4
  291. package/dist/issuance/erc20/gatedSimple/parseDeployEvent.d.ts +2 -2
  292. package/dist/issuance/erc20/gatedSimple/parseDeployEvent.d.ts.map +1 -1
  293. package/dist/issuance/erc20/gatedSimple/parseDeployEvent.js +5 -15
  294. package/dist/issuance/erc20/grantRole.d.ts +1 -1
  295. package/dist/issuance/erc20/grantRole.d.ts.map +1 -1
  296. package/dist/issuance/erc20/grantRole.js +2 -2
  297. package/dist/issuance/erc20/index.d.ts +8 -8
  298. package/dist/issuance/erc20/index.d.ts.map +1 -1
  299. package/dist/issuance/erc20/index.js +1 -1
  300. package/dist/issuance/erc20/mint.d.ts +2 -2
  301. package/dist/issuance/erc20/mint.d.ts.map +1 -1
  302. package/dist/issuance/erc20/mint.js +4 -4
  303. package/dist/issuance/erc20/recover.d.ts +2 -2
  304. package/dist/issuance/erc20/recover.d.ts.map +1 -1
  305. package/dist/issuance/erc20/recover.js +4 -4
  306. package/dist/issuance/erc20/renounceRole.d.ts +1 -1
  307. package/dist/issuance/erc20/renounceRole.d.ts.map +1 -1
  308. package/dist/issuance/erc20/renounceRole.js +2 -2
  309. package/dist/issuance/erc20/revokeRole.d.ts +1 -1
  310. package/dist/issuance/erc20/revokeRole.d.ts.map +1 -1
  311. package/dist/issuance/erc20/revokeRole.js +2 -2
  312. package/dist/issuance/erc20/transfer.d.ts +2 -2
  313. package/dist/issuance/erc20/transfer.d.ts.map +1 -1
  314. package/dist/issuance/erc20/transfer.js +4 -4
  315. package/dist/issuance/erc20/transferFrom.d.ts +2 -2
  316. package/dist/issuance/erc20/transferFrom.d.ts.map +1 -1
  317. package/dist/issuance/erc20/transferFrom.js +4 -4
  318. package/dist/issuance/erc721/approve.d.ts +2 -2
  319. package/dist/issuance/erc721/approve.d.ts.map +1 -1
  320. package/dist/issuance/erc721/approve.js +4 -4
  321. package/dist/issuance/erc721/burn.d.ts +2 -2
  322. package/dist/issuance/erc721/burn.d.ts.map +1 -1
  323. package/dist/issuance/erc721/burn.js +4 -4
  324. package/dist/issuance/erc721/default/deploy.d.ts +3 -3
  325. package/dist/issuance/erc721/default/deploy.d.ts.map +1 -1
  326. package/dist/issuance/erc721/default/deploy.js +3 -3
  327. package/dist/issuance/erc721/default/initialize.d.ts +1 -1
  328. package/dist/issuance/erc721/default/initialize.d.ts.map +1 -1
  329. package/dist/issuance/erc721/default/initialize.js +2 -2
  330. package/dist/issuance/erc721/default/parseDeployEvent.d.ts +2 -2
  331. package/dist/issuance/erc721/default/parseDeployEvent.d.ts.map +1 -1
  332. package/dist/issuance/erc721/default/parseDeployEvent.js +5 -15
  333. package/dist/issuance/erc721/gated/deploy.d.ts +3 -3
  334. package/dist/issuance/erc721/gated/deploy.d.ts.map +1 -1
  335. package/dist/issuance/erc721/gated/deploy.js +3 -3
  336. package/dist/issuance/erc721/gated/initialize.d.ts +1 -1
  337. package/dist/issuance/erc721/gated/initialize.d.ts.map +1 -1
  338. package/dist/issuance/erc721/gated/initialize.js +2 -2
  339. package/dist/issuance/erc721/gated/parseDeployEvent.d.ts +2 -2
  340. package/dist/issuance/erc721/gated/parseDeployEvent.d.ts.map +1 -1
  341. package/dist/issuance/erc721/gated/parseDeployEvent.js +5 -15
  342. package/dist/issuance/erc721/getMintedTokenId.d.ts +18 -0
  343. package/dist/issuance/erc721/getMintedTokenId.d.ts.map +1 -0
  344. package/dist/issuance/erc721/getMintedTokenId.js +69 -0
  345. package/dist/issuance/erc721/grantRole.d.ts +1 -1
  346. package/dist/issuance/erc721/grantRole.d.ts.map +1 -1
  347. package/dist/issuance/erc721/grantRole.js +2 -2
  348. package/dist/issuance/erc721/index.d.ts +23 -7
  349. package/dist/issuance/erc721/index.d.ts.map +1 -1
  350. package/dist/issuance/erc721/index.js +4 -2
  351. package/dist/issuance/erc721/mint.d.ts +1 -1
  352. package/dist/issuance/erc721/mint.d.ts.map +1 -1
  353. package/dist/issuance/erc721/mint.js +2 -2
  354. package/dist/issuance/erc721/recover.d.ts +2 -2
  355. package/dist/issuance/erc721/recover.d.ts.map +1 -1
  356. package/dist/issuance/erc721/recover.js +4 -4
  357. package/dist/issuance/erc721/renounceRole.d.ts +1 -1
  358. package/dist/issuance/erc721/renounceRole.d.ts.map +1 -1
  359. package/dist/issuance/erc721/renounceRole.js +2 -2
  360. package/dist/issuance/erc721/revokeRole.d.ts +1 -1
  361. package/dist/issuance/erc721/revokeRole.d.ts.map +1 -1
  362. package/dist/issuance/erc721/revokeRole.js +2 -2
  363. package/dist/issuance/erc721/setBaseURI.d.ts +1 -1
  364. package/dist/issuance/erc721/setBaseURI.d.ts.map +1 -1
  365. package/dist/issuance/erc721/setBaseURI.js +2 -2
  366. package/dist/issuance/erc721/setTokenURI.d.ts +2 -2
  367. package/dist/issuance/erc721/setTokenURI.d.ts.map +1 -1
  368. package/dist/issuance/erc721/setTokenURI.js +4 -4
  369. package/dist/issuance/erc721/transferFrom.d.ts +2 -2
  370. package/dist/issuance/erc721/transferFrom.d.ts.map +1 -1
  371. package/dist/issuance/erc721/transferFrom.js +4 -4
  372. package/dist/issuance/index.d.ts +54 -22
  373. package/dist/issuance/index.d.ts.map +1 -1
  374. package/dist/issuance/proxy/deploy.d.ts +1 -1
  375. package/dist/issuance/proxy/deploy.d.ts.map +1 -1
  376. package/dist/issuance/proxy/deploy.js +2 -2
  377. package/dist/issuance/proxy/index.d.ts.map +1 -1
  378. package/dist/issuance/proxy/index.js +1 -1
  379. package/dist/issuance/proxy/upgrade.d.ts +1 -1
  380. package/dist/issuance/proxy/upgrade.d.ts.map +1 -1
  381. package/dist/issuance/proxy/upgrade.js +2 -2
  382. package/dist/issuance/schemas.d.ts +43 -0
  383. package/dist/issuance/schemas.d.ts.map +1 -0
  384. package/dist/issuance/schemas.js +46 -0
  385. package/dist/next/app.d.ts +708 -0
  386. package/dist/next/app.d.ts.map +1 -0
  387. package/dist/next/app.js +33 -0
  388. package/dist/next/apps.d.ts +18 -0
  389. package/dist/next/apps.d.ts.map +1 -0
  390. package/dist/next/apps.js +11 -0
  391. package/dist/next/client.d.ts +704 -0
  392. package/dist/next/client.d.ts.map +1 -0
  393. package/dist/next/client.js +13 -0
  394. package/dist/next/lending/buyback.d.ts +28 -0
  395. package/dist/next/lending/buyback.d.ts.map +1 -0
  396. package/dist/next/{fractions/lending/buyback/buyback.routes.js → lending/buyback.js} +8 -7
  397. package/dist/next/lending/createSale.d.ts +71 -0
  398. package/dist/next/lending/createSale.d.ts.map +1 -0
  399. package/dist/next/lending/createSale.js +31 -0
  400. package/dist/next/{fractions/lending/deployMarket/lending.routes.d.ts → lending/deployMarket.d.ts} +4 -4
  401. package/dist/next/lending/deployMarket.d.ts.map +1 -0
  402. package/dist/next/{fractions/lending/deployMarket/lending.routes.js → lending/deployMarket.js} +8 -5
  403. package/dist/next/{fractions/lending → lending}/index.d.ts +23 -18
  404. package/dist/next/{fractions/lending → lending}/index.d.ts.map +1 -1
  405. package/dist/next/lending/index.js +17 -0
  406. package/dist/next/lending/schemas.d.ts +2 -0
  407. package/dist/next/lending/schemas.d.ts.map +1 -0
  408. package/dist/next/lending/schemas.js +3 -0
  409. package/dist/next/{fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts → lending/setCollateralPrice.d.ts} +6 -4
  410. package/dist/next/lending/setCollateralPrice.d.ts.map +1 -0
  411. package/dist/next/{fractions/lending/setCollateralPrice/setCollateralPrice.routes.js → lending/setCollateralPrice.js} +10 -7
  412. package/dist/next/lending/tag.d.ts +4 -0
  413. package/dist/next/lending/tag.d.ts.map +1 -0
  414. package/dist/next/lending/tag.js +2 -0
  415. package/dist/next/{fractions/sales/createNftFractions.routes.d.ts → nftFractions/createNftFractions.d.ts} +16 -6
  416. package/dist/next/nftFractions/createNftFractions.d.ts.map +1 -0
  417. package/dist/next/{fractions/sales/createNftFractions.routes.js → nftFractions/createNftFractions.js} +10 -12
  418. package/dist/next/{fractions/platforms/default/deployNftFractionsMarket.routes.d.ts → nftFractions/deployNftFractionsMarket.d.ts} +4 -4
  419. package/dist/next/nftFractions/deployNftFractionsMarket.d.ts.map +1 -0
  420. package/dist/next/{fractions/platforms/default/deployNftFractionsMarket.routes.js → nftFractions/deployNftFractionsMarket.js} +5 -4
  421. package/dist/next/{fractions/platforms/gated/deployNftFractionsMarket.routes.d.ts → nftFractions/deployNftFractionsMarketGated.d.ts} +5 -5
  422. package/dist/next/nftFractions/deployNftFractionsMarketGated.d.ts.map +1 -0
  423. package/dist/next/{fractions/platforms/gated/deployNftFractionsMarket.routes.js → nftFractions/deployNftFractionsMarketGated.js} +5 -4
  424. package/dist/next/nftFractions/index.d.ts +182 -0
  425. package/dist/{fractions/platforms → next/nftFractions}/index.d.ts.map +1 -1
  426. package/dist/next/nftFractions/index.js +17 -0
  427. package/dist/next/nftFractions/parseNftFractionsCreatedEvent.d.ts +23 -0
  428. package/dist/next/nftFractions/parseNftFractionsCreatedEvent.d.ts.map +1 -0
  429. package/dist/next/{fractions/sales/parseFractionsCreatedEvent.js → nftFractions/parseNftFractionsCreatedEvent.js} +15 -18
  430. package/dist/next/nftFractions/schemas.d.ts +2 -0
  431. package/dist/next/nftFractions/schemas.d.ts.map +1 -0
  432. package/dist/next/nftFractions/schemas.js +1 -0
  433. package/dist/next/nftFractions/tag.d.ts +4 -0
  434. package/dist/next/nftFractions/tag.d.ts.map +1 -0
  435. package/dist/next/nftFractions/tag.js +2 -0
  436. package/dist/next/schemas.d.ts +4 -0
  437. package/dist/next/schemas.d.ts.map +1 -0
  438. package/dist/next/schemas.js +3 -0
  439. package/dist/next/vestingRedemptionDynamic/approveCampaign.d.ts +27 -0
  440. package/dist/next/vestingRedemptionDynamic/approveCampaign.d.ts.map +1 -0
  441. package/dist/next/vestingRedemptionDynamic/approveCampaign.js +31 -0
  442. package/dist/next/vestingRedemptionDynamic/createCampaign.d.ts +52 -0
  443. package/dist/next/vestingRedemptionDynamic/createCampaign.d.ts.map +1 -0
  444. package/dist/next/vestingRedemptionDynamic/createCampaign.js +33 -0
  445. package/dist/next/vestingRedemptionDynamic/deployMarket.d.ts +39 -0
  446. package/dist/next/vestingRedemptionDynamic/deployMarket.d.ts.map +1 -0
  447. package/dist/next/vestingRedemptionDynamic/deployMarket.js +35 -0
  448. package/dist/next/vestingRedemptionDynamic/epochPurchase.d.ts +28 -0
  449. package/dist/next/vestingRedemptionDynamic/epochPurchase.d.ts.map +1 -0
  450. package/dist/next/vestingRedemptionDynamic/epochPurchase.js +34 -0
  451. package/dist/next/vestingRedemptionDynamic/exchangeNftForFractions.d.ts +28 -0
  452. package/dist/next/vestingRedemptionDynamic/exchangeNftForFractions.d.ts.map +1 -0
  453. package/dist/next/vestingRedemptionDynamic/exchangeNftForFractions.js +34 -0
  454. package/dist/next/vestingRedemptionDynamic/getCurrentEpoch.d.ts +21 -0
  455. package/dist/next/vestingRedemptionDynamic/getCurrentEpoch.d.ts.map +1 -0
  456. package/dist/next/vestingRedemptionDynamic/getCurrentEpoch.js +43 -0
  457. package/dist/next/vestingRedemptionDynamic/getEpochPurchaseEvent.d.ts +24 -0
  458. package/dist/next/vestingRedemptionDynamic/getEpochPurchaseEvent.d.ts.map +1 -0
  459. package/dist/next/vestingRedemptionDynamic/getEpochPurchaseEvent.js +66 -0
  460. package/dist/next/vestingRedemptionDynamic/getPurchasePriceForEpoch.d.ts +22 -0
  461. package/dist/next/vestingRedemptionDynamic/getPurchasePriceForEpoch.d.ts.map +1 -0
  462. package/dist/next/vestingRedemptionDynamic/getPurchasePriceForEpoch.js +45 -0
  463. package/dist/next/vestingRedemptionDynamic/getWithdrawalRequestedEvent.d.ts +22 -0
  464. package/dist/next/vestingRedemptionDynamic/getWithdrawalRequestedEvent.d.ts.map +1 -0
  465. package/dist/next/vestingRedemptionDynamic/getWithdrawalRequestedEvent.js +62 -0
  466. package/dist/next/vestingRedemptionDynamic/index.d.ts +323 -0
  467. package/dist/next/{fractions → vestingRedemptionDynamic}/index.d.ts.map +1 -1
  468. package/dist/next/vestingRedemptionDynamic/index.js +31 -0
  469. package/dist/next/vestingRedemptionDynamic/requestWithdrawal.d.ts +28 -0
  470. package/dist/next/vestingRedemptionDynamic/requestWithdrawal.d.ts.map +1 -0
  471. package/dist/next/vestingRedemptionDynamic/requestWithdrawal.js +33 -0
  472. package/dist/next/vestingRedemptionDynamic/schemas.d.ts +2 -0
  473. package/dist/next/vestingRedemptionDynamic/schemas.d.ts.map +1 -0
  474. package/dist/next/vestingRedemptionDynamic/schemas.js +1 -0
  475. package/dist/next/{fractions/lending/buyback/buyback.routes.d.ts → vestingRedemptionDynamic/setEpochPrice.d.ts} +7 -6
  476. package/dist/next/vestingRedemptionDynamic/setEpochPrice.d.ts.map +1 -0
  477. package/dist/next/vestingRedemptionDynamic/setEpochPrice.js +34 -0
  478. package/dist/next/vestingRedemptionDynamic/tag.d.ts +4 -0
  479. package/dist/next/vestingRedemptionDynamic/tag.d.ts.map +1 -0
  480. package/dist/next/vestingRedemptionDynamic/tag.js +2 -0
  481. package/dist/next/vestingRedemptionDynamic/withdrawFunds.d.ts +28 -0
  482. package/dist/next/vestingRedemptionDynamic/withdrawFunds.d.ts.map +1 -0
  483. package/dist/next/vestingRedemptionDynamic/withdrawFunds.js +34 -0
  484. package/dist/schemas.d.ts +3 -0
  485. package/dist/schemas.d.ts.map +1 -0
  486. package/dist/schemas.js +2 -0
  487. package/dist/staking/index.d.ts +38 -38
  488. package/dist/staking/platforms/common/platform.d.ts +4 -4
  489. package/dist/staking/platforms/common/platform.d.ts.map +1 -1
  490. package/dist/staking/platforms/common/platform.js +3 -3
  491. package/dist/staking/platforms/getPlatform/index.d.ts +5 -5
  492. package/dist/staking/platforms/getPlatform/index.d.ts.map +1 -1
  493. package/dist/staking/platforms/getPlatform/index.js +1 -1
  494. package/dist/staking/platforms/getPlatform/v0/getPlatform.d.ts +7 -7
  495. package/dist/staking/platforms/getPlatform/v0/getPlatform.d.ts.map +1 -1
  496. package/dist/staking/platforms/getPlatform/v0/getPlatform.js +2 -2
  497. package/dist/staking/platforms/index.d.ts +9 -9
  498. package/dist/staking/platforms/index.d.ts.map +1 -1
  499. package/dist/staking/platforms/index.js +1 -1
  500. package/dist/staking/platforms/searchPlatforms/index.d.ts +4 -4
  501. package/dist/staking/platforms/searchPlatforms/index.d.ts.map +1 -1
  502. package/dist/staking/platforms/searchPlatforms/index.js +1 -1
  503. package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts +6 -6
  504. package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts.map +1 -1
  505. package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.js +2 -2
  506. package/dist/staking/pools/common/pool.d.ts +4 -4
  507. package/dist/staking/pools/common/pool.d.ts.map +1 -1
  508. package/dist/staking/pools/common/pool.js +6 -5
  509. package/dist/staking/pools/getPool/index.d.ts +6 -6
  510. package/dist/staking/pools/getPool/index.d.ts.map +1 -1
  511. package/dist/staking/pools/getPool/index.js +1 -1
  512. package/dist/staking/pools/getPool/v0/getPool.d.ts +8 -8
  513. package/dist/staking/pools/getPool/v0/getPool.d.ts.map +1 -1
  514. package/dist/staking/pools/getPool/v0/getPool.js +3 -3
  515. package/dist/staking/pools/index.d.ts +10 -10
  516. package/dist/staking/pools/index.d.ts.map +1 -1
  517. package/dist/staking/pools/index.js +1 -1
  518. package/dist/staking/pools/searchPools/index.d.ts +4 -4
  519. package/dist/staking/pools/searchPools/index.d.ts.map +1 -1
  520. package/dist/staking/pools/searchPools/index.js +1 -1
  521. package/dist/staking/pools/searchPools/v0/searchPools.d.ts +6 -6
  522. package/dist/staking/pools/searchPools/v0/searchPools.d.ts.map +1 -1
  523. package/dist/staking/pools/searchPools/v0/searchPools.js +2 -2
  524. package/dist/staking/roles/common/role.d.ts +1 -1
  525. package/dist/staking/roles/common/role.d.ts.map +1 -1
  526. package/dist/staking/roles/common/role.js +1 -1
  527. package/dist/staking/roles/common/roleAssignment.d.ts +5 -5
  528. package/dist/staking/roles/common/roleAssignment.d.ts.map +1 -1
  529. package/dist/staking/roles/common/roleAssignment.js +3 -3
  530. package/dist/staking/roles/common/roleEvent.d.ts +3 -3
  531. package/dist/staking/roles/common/roleEvent.d.ts.map +1 -1
  532. package/dist/staking/roles/common/roleEvent.js +2 -2
  533. package/dist/staking/roles/getRoles/index.d.ts.map +1 -1
  534. package/dist/staking/roles/getRoles/index.js +1 -1
  535. package/dist/staking/roles/getRoles/v0/getRoles.d.ts +1 -1
  536. package/dist/staking/roles/getRoles/v0/getRoles.d.ts.map +1 -1
  537. package/dist/staking/roles/getRoles/v0/getRoles.js +2 -2
  538. package/dist/staking/roles/grantRole/index.d.ts.map +1 -1
  539. package/dist/staking/roles/grantRole/index.js +1 -1
  540. package/dist/staking/roles/grantRole/v0/grantRole.d.ts +1 -1
  541. package/dist/staking/roles/grantRole/v0/grantRole.d.ts.map +1 -1
  542. package/dist/staking/roles/grantRole/v0/grantRole.js +1 -1
  543. package/dist/staking/roles/index.d.ts +8 -8
  544. package/dist/staking/roles/index.d.ts.map +1 -1
  545. package/dist/staking/roles/index.js +1 -1
  546. package/dist/staking/roles/searchRoleEvents/index.d.ts +3 -3
  547. package/dist/staking/roles/searchRoleEvents/index.d.ts.map +1 -1
  548. package/dist/staking/roles/searchRoleEvents/index.js +1 -1
  549. package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts +5 -4
  550. package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts.map +1 -1
  551. package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.js +2 -2
  552. package/dist/staking/roles/searchRoles/index.d.ts +5 -5
  553. package/dist/staking/roles/searchRoles/index.d.ts.map +1 -1
  554. package/dist/staking/roles/searchRoles/index.js +1 -1
  555. package/dist/staking/roles/searchRoles/v0/searchRoles.d.ts +7 -7
  556. package/dist/staking/roles/searchRoles/v0/searchRoles.d.ts.map +1 -1
  557. package/dist/staking/roles/searchRoles/v0/searchRoles.js +3 -3
  558. package/dist/staking/stakes/common/stake.d.ts +8 -8
  559. package/dist/staking/stakes/common/stake.d.ts.map +1 -1
  560. package/dist/staking/stakes/common/stake.js +5 -5
  561. package/dist/staking/stakes/common/stakeEvent.d.ts +5 -5
  562. package/dist/staking/stakes/common/stakeEvent.d.ts.map +1 -1
  563. package/dist/staking/stakes/common/stakeEvent.js +2 -2
  564. package/dist/staking/stakes/getStake/index.d.ts +4 -4
  565. package/dist/staking/stakes/getStake/index.d.ts.map +1 -1
  566. package/dist/staking/stakes/getStake/index.js +1 -1
  567. package/dist/staking/stakes/getStake/v0/getStake.d.ts +5 -5
  568. package/dist/staking/stakes/getStake/v0/getStake.d.ts.map +1 -1
  569. package/dist/staking/stakes/getStake/v0/getStake.js +3 -3
  570. package/dist/staking/stakes/index.d.ts +11 -11
  571. package/dist/staking/stakes/index.d.ts.map +1 -1
  572. package/dist/staking/stakes/index.js +1 -1
  573. package/dist/staking/stakes/searchStakeEvents/index.d.ts +5 -5
  574. package/dist/staking/stakes/searchStakeEvents/index.d.ts.map +1 -1
  575. package/dist/staking/stakes/searchStakeEvents/index.js +1 -1
  576. package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts +7 -7
  577. package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts.map +1 -1
  578. package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.js +6 -5
  579. package/dist/staking/stakes/searchStakes/index.d.ts +2 -2
  580. package/dist/staking/stakes/searchStakes/index.d.ts.map +1 -1
  581. package/dist/staking/stakes/searchStakes/index.js +1 -1
  582. package/dist/staking/stakes/searchStakes/v0/searchStakes.d.ts +3 -3
  583. package/dist/staking/stakes/searchStakes/v0/searchStakes.d.ts.map +1 -1
  584. package/dist/staking/stakes/searchStakes/v0/searchStakes.js +2 -2
  585. package/dist/stakingTemplates/index.d.ts +27 -27
  586. package/dist/stakingTemplates/templates/common/amount.d.ts +4 -4
  587. package/dist/stakingTemplates/templates/common/amount.d.ts.map +1 -1
  588. package/dist/stakingTemplates/templates/common/amount.js +5 -5
  589. package/dist/stakingTemplates/templates/common/amountMult.d.ts +2 -2
  590. package/dist/stakingTemplates/templates/common/amountMult.d.ts.map +1 -1
  591. package/dist/stakingTemplates/templates/common/amountMult.js +3 -5
  592. package/dist/stakingTemplates/templates/common/erc20Input.d.ts +2 -2
  593. package/dist/stakingTemplates/templates/common/erc20Input.d.ts.map +1 -1
  594. package/dist/stakingTemplates/templates/common/erc20Input.js +3 -3
  595. package/dist/stakingTemplates/templates/common/erc20Reward.d.ts +2 -2
  596. package/dist/stakingTemplates/templates/common/erc20Reward.d.ts.map +1 -1
  597. package/dist/stakingTemplates/templates/common/erc20Reward.js +3 -3
  598. package/dist/stakingTemplates/templates/common/getCreatePoolEvent.d.ts +3 -3
  599. package/dist/stakingTemplates/templates/common/getCreatePoolEvent.d.ts.map +1 -1
  600. package/dist/stakingTemplates/templates/common/getCreatePoolEvent.js +2 -2
  601. package/dist/stakingTemplates/templates/common/getPlatformDeployEvent.d.ts +3 -3
  602. package/dist/stakingTemplates/templates/common/getPlatformDeployEvent.d.ts.map +1 -1
  603. package/dist/stakingTemplates/templates/common/getPlatformDeployEvent.js +2 -2
  604. package/dist/stakingTemplates/templates/common/getReward.d.ts.map +1 -1
  605. package/dist/stakingTemplates/templates/common/getReward.js +3 -2
  606. package/dist/stakingTemplates/templates/common/getStakeEvent.d.ts +2 -2
  607. package/dist/stakingTemplates/templates/common/getStakeEvent.d.ts.map +1 -1
  608. package/dist/stakingTemplates/templates/common/getStakeEvent.js +1 -1
  609. package/dist/stakingTemplates/templates/common/lock.d.ts +3 -3
  610. package/dist/stakingTemplates/templates/common/lock.d.ts.map +1 -1
  611. package/dist/stakingTemplates/templates/common/lock.js +6 -6
  612. package/dist/stakingTemplates/templates/common/lockMult.d.ts +2 -2
  613. package/dist/stakingTemplates/templates/common/lockMult.d.ts.map +1 -1
  614. package/dist/stakingTemplates/templates/common/lockMult.js +3 -5
  615. package/dist/stakingTemplates/templates/common/partialUnstake.d.ts.map +1 -1
  616. package/dist/stakingTemplates/templates/common/partialUnstake.js +3 -3
  617. package/dist/stakingTemplates/templates/common/rewardDistribution.d.ts +3 -3
  618. package/dist/stakingTemplates/templates/common/rewardDistribution.d.ts.map +1 -1
  619. package/dist/stakingTemplates/templates/common/rewardDistribution.js +4 -4
  620. package/dist/stakingTemplates/templates/common/templates.d.ts.map +1 -1
  621. package/dist/stakingTemplates/templates/common/time.d.ts +1 -1
  622. package/dist/stakingTemplates/templates/common/time.d.ts.map +1 -1
  623. package/dist/stakingTemplates/templates/common/time.js +1 -1
  624. package/dist/stakingTemplates/templates/common/unstake.d.ts.map +1 -1
  625. package/dist/stakingTemplates/templates/common/unstake.js +1 -1
  626. package/dist/stakingTemplates/templates/reputation/index.d.ts +9 -9
  627. package/dist/stakingTemplates/templates/reputation/index.d.ts.map +1 -1
  628. package/dist/stakingTemplates/templates/reputation/index.js +1 -1
  629. package/dist/stakingTemplates/templates/reputation/v0/createPlatform.d.ts +1 -1
  630. package/dist/stakingTemplates/templates/reputation/v0/createPlatform.d.ts.map +1 -1
  631. package/dist/stakingTemplates/templates/reputation/v0/createPlatform.js +2 -2
  632. package/dist/stakingTemplates/templates/reputation/v0/createPool.d.ts.map +1 -1
  633. package/dist/stakingTemplates/templates/reputation/v0/createPool.js +8 -8
  634. package/dist/stakingTemplates/templates/reputation/v0/index.d.ts +9 -9
  635. package/dist/stakingTemplates/templates/reputation/v0/index.d.ts.map +1 -1
  636. package/dist/stakingTemplates/templates/reputation/v0/index.js +7 -7
  637. package/dist/stakingTemplates/templates/reputation/v0/restake.d.ts.map +1 -1
  638. package/dist/stakingTemplates/templates/reputation/v0/restake.js +4 -4
  639. package/dist/stakingTemplates/templates/reputation/v0/stake.d.ts.map +1 -1
  640. package/dist/stakingTemplates/templates/reputation/v0/stake.js +4 -4
  641. package/dist/stakingTemplates/templates/reputationLock/index.d.ts +9 -9
  642. package/dist/stakingTemplates/templates/reputationLock/index.d.ts.map +1 -1
  643. package/dist/stakingTemplates/templates/reputationLock/index.js +1 -1
  644. package/dist/stakingTemplates/templates/reputationLock/v0/createPlatform.d.ts +1 -1
  645. package/dist/stakingTemplates/templates/reputationLock/v0/createPlatform.d.ts.map +1 -1
  646. package/dist/stakingTemplates/templates/reputationLock/v0/createPlatform.js +2 -2
  647. package/dist/stakingTemplates/templates/reputationLock/v0/createPool.d.ts.map +1 -1
  648. package/dist/stakingTemplates/templates/reputationLock/v0/createPool.js +10 -10
  649. package/dist/stakingTemplates/templates/reputationLock/v0/index.d.ts +9 -9
  650. package/dist/stakingTemplates/templates/reputationLock/v0/index.d.ts.map +1 -1
  651. package/dist/stakingTemplates/templates/reputationLock/v0/index.js +7 -7
  652. package/dist/stakingTemplates/templates/reputationLock/v0/restake.d.ts.map +1 -1
  653. package/dist/stakingTemplates/templates/reputationLock/v0/restake.js +5 -5
  654. package/dist/stakingTemplates/templates/reputationLock/v0/stake.d.ts.map +1 -1
  655. package/dist/stakingTemplates/templates/reputationLock/v0/stake.js +5 -5
  656. package/dist/stakingTemplates/templates/rwa/index.d.ts +9 -9
  657. package/dist/stakingTemplates/templates/rwa/index.d.ts.map +1 -1
  658. package/dist/stakingTemplates/templates/rwa/index.js +1 -1
  659. package/dist/stakingTemplates/templates/rwa/v0/createPlatform.d.ts +1 -1
  660. package/dist/stakingTemplates/templates/rwa/v0/createPlatform.d.ts.map +1 -1
  661. package/dist/stakingTemplates/templates/rwa/v0/createPlatform.js +2 -2
  662. package/dist/stakingTemplates/templates/rwa/v0/createPool.d.ts.map +1 -1
  663. package/dist/stakingTemplates/templates/rwa/v0/createPool.js +7 -7
  664. package/dist/stakingTemplates/templates/rwa/v0/distributeRewards.d.ts.map +1 -1
  665. package/dist/stakingTemplates/templates/rwa/v0/distributeRewards.js +4 -4
  666. package/dist/stakingTemplates/templates/rwa/v0/index.d.ts +9 -9
  667. package/dist/stakingTemplates/templates/rwa/v0/index.d.ts.map +1 -1
  668. package/dist/stakingTemplates/templates/rwa/v0/index.js +7 -7
  669. package/dist/stakingTemplates/templates/rwa/v0/restake.d.ts.map +1 -1
  670. package/dist/stakingTemplates/templates/rwa/v0/restake.js +4 -4
  671. package/dist/stakingTemplates/templates/rwa/v0/stake.d.ts.map +1 -1
  672. package/dist/stakingTemplates/templates/rwa/v0/stake.js +4 -4
  673. package/package.json +34 -15
  674. package/dist/common/int256.d.ts +0 -3
  675. package/dist/common/int256.d.ts.map +0 -1
  676. package/dist/common/int256.js +0 -12
  677. package/dist/common/models/base/chainId.d.ts +0 -8
  678. package/dist/common/models/base/chainId.d.ts.map +0 -1
  679. package/dist/common/models/base/chainId.js +0 -11
  680. package/dist/common/models/base/date.d.ts +0 -6
  681. package/dist/common/models/base/date.d.ts.map +0 -1
  682. package/dist/common/models/base/date.js +0 -13
  683. package/dist/common/models/base/deployTransaction.d.ts +0 -8
  684. package/dist/common/models/base/deployTransaction.d.ts.map +0 -1
  685. package/dist/common/models/base/deployTransaction.js +0 -7
  686. package/dist/common/models/base/page.d.ts +0 -7
  687. package/dist/common/models/base/page.d.ts.map +0 -1
  688. package/dist/common/models/base/page.js +0 -5
  689. package/dist/common/models/base/transaction.d.ts +0 -13
  690. package/dist/common/models/base/transaction.d.ts.map +0 -1
  691. package/dist/common/models/base/transaction.js +0 -12
  692. package/dist/common/models/base/viem.d.ts +0 -6
  693. package/dist/common/models/base/viem.d.ts.map +0 -1
  694. package/dist/common/models/base/viem.js +0 -5
  695. package/dist/common/models/date.d.ts +0 -2
  696. package/dist/common/models/date.d.ts.map +0 -1
  697. package/dist/common/models/date.js +0 -4
  698. package/dist/common/models/percent.d.ts +0 -3
  699. package/dist/common/models/percent.d.ts.map +0 -1
  700. package/dist/common/models/percent.js +0 -6
  701. package/dist/common/models/saleId.d.ts +0 -6
  702. package/dist/common/models/saleId.d.ts.map +0 -1
  703. package/dist/common/models/saleId.js +0 -7
  704. package/dist/common/models/viem.d.ts +0 -6
  705. package/dist/common/models/viem.d.ts.map +0 -1
  706. package/dist/common/models/viem.js +0 -22
  707. package/dist/fractions/markets/common/platform.d.ts.map +0 -1
  708. package/dist/fractions/markets/getMarket/getMarket.d.ts.map +0 -1
  709. package/dist/fractions/markets/getMarket/index.d.ts +0 -50
  710. package/dist/fractions/markets/getMarket/index.d.ts.map +0 -1
  711. package/dist/fractions/markets/getMarket/index.js +0 -5
  712. package/dist/fractions/markets/searchMarkets/index.d.ts +0 -42
  713. package/dist/fractions/markets/searchMarkets/index.d.ts.map +0 -1
  714. package/dist/fractions/markets/searchMarkets/index.js +0 -5
  715. package/dist/fractions/markets/searchMarkets/searchMarkets.d.ts.map +0 -1
  716. package/dist/fractions/platforms/deployMarket.routes.d.ts.map +0 -1
  717. package/dist/fractions/platforms/deployMarket.schema.d.ts +0 -33
  718. package/dist/fractions/platforms/deployMarket.schema.d.ts.map +0 -1
  719. package/dist/fractions/platforms/deployMarket.schema.js +0 -28
  720. package/dist/fractions/platforms/index.d.ts +0 -174
  721. package/dist/fractions/platforms/index.js +0 -13
  722. package/dist/fractions/platforms/initCompilot.routes.d.ts.map +0 -1
  723. package/dist/fractions/roles/grantRole.route.d.ts.map +0 -1
  724. package/dist/fractions/roles/grantRole.schema.d.ts +0 -16
  725. package/dist/fractions/roles/grantRole.schema.d.ts.map +0 -1
  726. package/dist/fractions/roles/grantRole.schema.js +0 -14
  727. package/dist/fractions/sales/createFractions.schema.d.ts +0 -123
  728. package/dist/fractions/sales/createFractions.schema.d.ts.map +0 -1
  729. package/dist/fractions/sales/createFractions.schema.js +0 -80
  730. package/dist/next/fractions/index.d.ts +0 -356
  731. package/dist/next/fractions/index.js +0 -13
  732. package/dist/next/fractions/lending/buyback/buyback.routes.d.ts.map +0 -1
  733. package/dist/next/fractions/lending/buyback/buyback.schema.d.ts +0 -8
  734. package/dist/next/fractions/lending/buyback/buyback.schema.d.ts.map +0 -1
  735. package/dist/next/fractions/lending/buyback/buyback.schema.js +0 -13
  736. package/dist/next/fractions/lending/createLendingSale.d.ts +0 -130
  737. package/dist/next/fractions/lending/createLendingSale.d.ts.map +0 -1
  738. package/dist/next/fractions/lending/createLendingSale.js +0 -82
  739. package/dist/next/fractions/lending/deployMarket/lending.routes.d.ts.map +0 -1
  740. package/dist/next/fractions/lending/index.js +0 -15
  741. package/dist/next/fractions/lending/schemas.d.ts +0 -25
  742. package/dist/next/fractions/lending/schemas.d.ts.map +0 -1
  743. package/dist/next/fractions/lending/schemas.js +0 -21
  744. package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts.map +0 -1
  745. package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts +0 -7
  746. package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts.map +0 -1
  747. package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.schema.js +0 -11
  748. package/dist/next/fractions/platforms/default/deployNftFractionsMarket.routes.d.ts.map +0 -1
  749. package/dist/next/fractions/platforms/default/deployNftFractionsMarket.schema.d.ts +0 -25
  750. package/dist/next/fractions/platforms/default/deployNftFractionsMarket.schema.d.ts.map +0 -1
  751. package/dist/next/fractions/platforms/default/deployNftFractionsMarket.schema.js +0 -23
  752. package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.routes.d.ts.map +0 -1
  753. package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.schema.d.ts +0 -26
  754. package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.schema.d.ts.map +0 -1
  755. package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.schema.js +0 -24
  756. package/dist/next/fractions/platforms/index.d.ts +0 -69
  757. package/dist/next/fractions/platforms/index.d.ts.map +0 -1
  758. package/dist/next/fractions/platforms/index.js +0 -9
  759. package/dist/next/fractions/sales/createNftFractions.routes.d.ts.map +0 -1
  760. package/dist/next/fractions/sales/createNftFractions.schema.d.ts +0 -85
  761. package/dist/next/fractions/sales/createNftFractions.schema.d.ts.map +0 -1
  762. package/dist/next/fractions/sales/createNftFractions.schema.js +0 -67
  763. package/dist/next/fractions/sales/index.d.ts +0 -102
  764. package/dist/next/fractions/sales/index.d.ts.map +0 -1
  765. package/dist/next/fractions/sales/index.js +0 -11
  766. package/dist/next/fractions/sales/parseFractionsCreatedEvent.d.ts +0 -23
  767. package/dist/next/fractions/sales/parseFractionsCreatedEvent.d.ts.map +0 -1
@@ -1,10 +1,10 @@
1
- import { z } from "zod";
1
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
2
2
  export declare const RecoverErc1155RequestSchema: z.ZodObject<{
3
3
  tokenAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
4
4
  from: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
5
5
  to: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
6
- id: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
7
- amount: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
6
+ id: z.core.$ZodBranded<z.ZodString, "Int256", "out">;
7
+ amount: z.core.$ZodBranded<z.ZodString, "Int256", "out">;
8
8
  }, z.core.$strip>;
9
9
  export declare const RecoverErc1155: import("../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../common/context.js").AppContext, {
10
10
  "/": {
@@ -1 +1 @@
1
- {"version":3,"file":"recover.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/recover.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,2BAA2B;;;;;;iBAMtC,CAAC;AAmBH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;aAczB,CAAC"}
1
+ {"version":3,"file":"recover.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/recover.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,qCAAqC,CAAC;AAOxD,eAAO,MAAM,2BAA2B;;;;;;iBAMtC,CAAC;AAmBH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;aAczB,CAAC"}
@@ -1,17 +1,17 @@
1
1
  import { describeRoute } from "hono-openapi";
2
2
  import { resolver, validator } from "hono-openapi";
3
- import { z } from "zod";
4
3
  import { abis } from "@evergonlabs/tmi-factories-sdk";
4
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
5
+ import { Int256Json } from "@evergonlabs/tmi-utils/models";
6
+ import { erc1155Tag } from "./tag.js";
5
7
  import { createController } from "../../common/controller.js";
6
8
  import { AddressSchema, toTransaction, TransactionSchema } from "../../common/index.js";
7
- import { Int256BigInt } from "../../common/int256.js";
8
- import { erc1155Tag } from "./tag.js";
9
9
  export const RecoverErc1155RequestSchema = z.object({
10
10
  tokenAddress: AddressSchema,
11
11
  from: AddressSchema.openapi({ description: "Address to recover the tokens from" }),
12
12
  to: AddressSchema.openapi({ description: "Address to recover the tokens to" }),
13
- id: Int256BigInt(z.bigint().nonnegative()).openapi({ description: "Token ID to recover" }),
14
- amount: Int256BigInt(z.bigint().nonnegative()).openapi({ description: "Amount of tokens to recover" }),
13
+ id: Int256Json.openapi({ description: "Token ID to recover" }),
14
+ amount: Int256Json.openapi({ description: "Amount of tokens to recover" }),
15
15
  });
16
16
  const recoverRoute = describeRoute({
17
17
  summary: "Recover ERC1155",
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
2
2
  import { Erc1155TokenRole } from "../../common/roles/erc1155-token-roles.js";
3
3
  export declare const RenounceRoleErc1155RequestSchema: z.ZodObject<{
4
4
  tokenAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
@@ -1 +1 @@
1
- {"version":3,"file":"renounceRole.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/renounceRole.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAiC,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAG5G,eAAO,MAAM,gCAAgC;;;;iBAO3C,CAAC;AAkBH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;aAc9B,CAAC"}
1
+ {"version":3,"file":"renounceRole.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/renounceRole.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,qCAAqC,CAAC;AAKxD,OAAO,EAAiC,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AAExG,eAAO,MAAM,gCAAgC;;;;iBAO3C,CAAC;AAkBH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;aAc9B,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import { describeRoute } from "hono-openapi";
2
2
  import { resolver, validator } from "hono-openapi";
3
- import { z } from "zod";
4
3
  import { abis } from "@evergonlabs/tmi-factories-sdk";
4
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
5
+ import { erc1155Tag } from "./tag.js";
5
6
  import { createController } from "../../common/controller.js";
6
7
  import { AddressSchema, toTransaction, TransactionSchema } from "../../common/index.js";
7
8
  import { convertErc1155TokenRoleToHash, Erc1155TokenRole } from "../../common/roles/erc1155-token-roles.js";
8
- import { erc1155Tag } from "./tag.js";
9
9
  export const RenounceRoleErc1155RequestSchema = z.object({
10
10
  tokenAddress: AddressSchema,
11
11
  role: z.nativeEnum(Erc1155TokenRole).openapi({
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
2
2
  import { Erc1155TokenRole } from "../../common/roles/erc1155-token-roles.js";
3
3
  export declare const RevokeRoleErc1155RequestSchema: z.ZodObject<{
4
4
  tokenAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
@@ -1 +1 @@
1
- {"version":3,"file":"revokeRole.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/revokeRole.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAiC,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAG5G,eAAO,MAAM,8BAA8B;;;;iBAOzC,CAAC;AAkBH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;aAc5B,CAAC"}
1
+ {"version":3,"file":"revokeRole.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/revokeRole.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,qCAAqC,CAAC;AAKxD,OAAO,EAAiC,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AAExG,eAAO,MAAM,8BAA8B;;;;iBAOzC,CAAC;AAkBH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;aAc5B,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import { describeRoute } from "hono-openapi";
2
2
  import { resolver, validator } from "hono-openapi";
3
- import { z } from "zod";
4
3
  import { abis } from "@evergonlabs/tmi-factories-sdk";
4
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
5
+ import { erc1155Tag } from "./tag.js";
5
6
  import { createController } from "../../common/controller.js";
6
7
  import { AddressSchema, toTransaction, TransactionSchema } from "../../common/index.js";
7
8
  import { convertErc1155TokenRoleToHash, Erc1155TokenRole } from "../../common/roles/erc1155-token-roles.js";
8
- import { erc1155Tag } from "./tag.js";
9
9
  export const RevokeRoleErc1155RequestSchema = z.object({
10
10
  tokenAddress: AddressSchema,
11
11
  role: z.nativeEnum(Erc1155TokenRole).openapi({
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
2
2
  export declare const SetApprovalForAllErc1155RequestSchema: z.ZodObject<{
3
3
  tokenAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
4
4
  operator: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
@@ -1 +1 @@
1
- {"version":3,"file":"setApprovalForAll.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/setApprovalForAll.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,qCAAqC;;;;iBAIhD,CAAC;AAkBH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;aAgBnC,CAAC"}
1
+ {"version":3,"file":"setApprovalForAll.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/setApprovalForAll.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,qCAAqC,CAAC;AAMxD,eAAO,MAAM,qCAAqC;;;;iBAIhD,CAAC;AAkBH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;aAgBnC,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import { describeRoute } from "hono-openapi";
2
2
  import { resolver, validator } from "hono-openapi";
3
- import { z } from "zod";
4
3
  import { abis } from "@evergonlabs/tmi-factories-sdk";
4
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
5
+ import { erc1155Tag } from "./tag.js";
5
6
  import { createController } from "../../common/controller.js";
6
7
  import { AddressSchema, toTransaction, TransactionSchema } from "../../common/index.js";
7
- import { erc1155Tag } from "./tag.js";
8
8
  export const SetApprovalForAllErc1155RequestSchema = z.object({
9
9
  tokenAddress: AddressSchema,
10
10
  operator: AddressSchema.openapi({ description: "Address to grant/revoke approval for all tokens" }),
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
2
2
  export declare const SetBaseURIErc1155RequestSchema: z.ZodObject<{
3
3
  tokenAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
4
4
  baseURI: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"setBaseURI.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/setBaseURI.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,8BAA8B;;;iBAGzC,CAAC;AAmBH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;aAc5B,CAAC"}
1
+ {"version":3,"file":"setBaseURI.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/setBaseURI.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,qCAAqC,CAAC;AAMxD,eAAO,MAAM,8BAA8B;;;iBAGzC,CAAC;AAmBH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;aAc5B,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import { describeRoute } from "hono-openapi";
2
2
  import { resolver, validator } from "hono-openapi";
3
- import { z } from "zod";
4
3
  import { abis } from "@evergonlabs/tmi-factories-sdk";
4
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
5
+ import { erc1155Tag } from "./tag.js";
5
6
  import { createController } from "../../common/controller.js";
6
7
  import { AddressSchema, toTransaction, TransactionSchema } from "../../common/index.js";
7
- import { erc1155Tag } from "./tag.js";
8
8
  export const SetBaseURIErc1155RequestSchema = z.object({
9
9
  tokenAddress: AddressSchema,
10
10
  baseURI: z.string().nonempty().openapi({ description: "New base URI for token metadata" }),
@@ -1,7 +1,7 @@
1
- import { z } from "zod";
1
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
2
2
  export declare const SetTokenURIErc1155RequestSchema: z.ZodObject<{
3
3
  tokenAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
4
- id: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
4
+ id: z.core.$ZodBranded<z.ZodString, "Int256", "out">;
5
5
  tokenURI: z.ZodString;
6
6
  }, z.core.$strip>;
7
7
  export declare const SetTokenURIErc1155: import("../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../common/context.js").AppContext, {
@@ -1 +1 @@
1
- {"version":3,"file":"setTokenURI.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/setTokenURI.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,+BAA+B;;;;iBAI1C,CAAC;AAmBH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;aAc7B,CAAC"}
1
+ {"version":3,"file":"setTokenURI.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/setTokenURI.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,qCAAqC,CAAC;AAOxD,eAAO,MAAM,+BAA+B;;;;iBAI1C,CAAC;AAmBH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;aAc7B,CAAC"}
@@ -1,14 +1,14 @@
1
1
  import { describeRoute } from "hono-openapi";
2
2
  import { resolver, validator } from "hono-openapi";
3
- import { z } from "zod";
4
3
  import { abis } from "@evergonlabs/tmi-factories-sdk";
4
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
5
+ import { Int256Json } from "@evergonlabs/tmi-utils/models";
6
+ import { erc1155Tag } from "./tag.js";
5
7
  import { createController } from "../../common/controller.js";
6
8
  import { AddressSchema, toTransaction, TransactionSchema } from "../../common/index.js";
7
- import { Int256BigInt } from "../../common/int256.js";
8
- import { erc1155Tag } from "./tag.js";
9
9
  export const SetTokenURIErc1155RequestSchema = z.object({
10
10
  tokenAddress: AddressSchema,
11
- id: Int256BigInt(z.bigint().nonnegative()),
11
+ id: Int256Json,
12
12
  tokenURI: z.string().nonempty().openapi({ description: "URI for the specific token metadata" }),
13
13
  });
14
14
  const setTokenURIRoute = describeRoute({
@@ -1,8 +1,8 @@
1
- import { z } from "zod";
1
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
2
2
  export declare const ApproveErc20RequestSchema: z.ZodObject<{
3
3
  tokenAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
4
4
  spender: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
5
- amount: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
5
+ amount: z.core.$ZodBranded<z.ZodString, "Int256", "out">;
6
6
  }, z.core.$strip>;
7
7
  export declare const ApproveErc20Token: import("../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../common/context.js").AppContext, {
8
8
  "/": {
@@ -1 +1 @@
1
- {"version":3,"file":"approve.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc20/approve.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,yBAAyB;;;;iBAIpC,CAAC;AAkBH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;aAc5B,CAAC"}
1
+ {"version":3,"file":"approve.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc20/approve.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,qCAAqC,CAAC;AAOxD,eAAO,MAAM,yBAAyB;;;;iBAIpC,CAAC;AAkBH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;aAc5B,CAAC"}
@@ -1,15 +1,15 @@
1
1
  import { describeRoute } from "hono-openapi";
2
2
  import { resolver, validator } from "hono-openapi";
3
- import { z } from "zod";
4
3
  import { abis } from "@evergonlabs/tmi-factories-sdk";
4
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
5
+ import { Int256Json } from "@evergonlabs/tmi-utils/models";
6
+ import { erc20Tag } from "./tag.js";
5
7
  import { createController } from "../../common/controller.js";
6
8
  import { AddressSchema, toTransaction, TransactionSchema } from "../../common/index.js";
7
- import { Int256BigInt } from "../../common/int256.js";
8
- import { erc20Tag } from "./tag.js";
9
9
  export const ApproveErc20RequestSchema = z.object({
10
10
  tokenAddress: AddressSchema,
11
11
  spender: AddressSchema,
12
- amount: Int256BigInt(z.bigint().nonnegative()),
12
+ amount: Int256Json,
13
13
  });
14
14
  const approveRoute = describeRoute({
15
15
  summary: "Approve gated ERC20",
@@ -1,7 +1,7 @@
1
- import { z } from "zod";
1
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
2
2
  export declare const BurnErc20RequestSchema: z.ZodObject<{
3
3
  tokenAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
4
- amount: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
4
+ amount: z.core.$ZodBranded<z.ZodString, "Int256", "out">;
5
5
  burnFrom: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
6
6
  }, z.core.$strip>;
7
7
  export declare const BurnErc20Token: import("../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../common/context.js").AppContext, {
@@ -1 +1 @@
1
- {"version":3,"file":"burn.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc20/burn.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,sBAAsB;;;;iBAIjC,CAAC;AAkBH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;aAczB,CAAC"}
1
+ {"version":3,"file":"burn.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc20/burn.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,qCAAqC,CAAC;AAOxD,eAAO,MAAM,sBAAsB;;;;iBAIjC,CAAC;AAkBH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;aAczB,CAAC"}
@@ -1,14 +1,14 @@
1
1
  import { describeRoute } from "hono-openapi";
2
2
  import { resolver, validator } from "hono-openapi";
3
- import { z } from "zod";
4
3
  import { abis } from "@evergonlabs/tmi-factories-sdk";
4
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
5
+ import { Int256Json } from "@evergonlabs/tmi-utils/models";
6
+ import { erc20Tag } from "./tag.js";
5
7
  import { createController } from "../../common/controller.js";
6
8
  import { AddressSchema, toTransaction, TransactionSchema } from "../../common/index.js";
7
- import { Int256BigInt } from "../../common/int256.js";
8
- import { erc20Tag } from "./tag.js";
9
9
  export const BurnErc20RequestSchema = z.object({
10
10
  tokenAddress: AddressSchema,
11
- amount: Int256BigInt(z.bigint().nonnegative()),
11
+ amount: Int256Json,
12
12
  burnFrom: AddressSchema,
13
13
  });
14
14
  const burnRoute = describeRoute({
@@ -1,9 +1,9 @@
1
- import { z } from "zod";
1
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
2
2
  export declare const DeployErc20RequestSchema: z.ZodObject<{
3
- chainId: z.ZodUnion<[z.ZodLiteral<11155111 | 72080>, z.ZodLiteral<11155111 | 72080>, ...z.ZodLiteral<11155111 | 72080>[]]>;
3
+ chainId: z.ZodUnion<[z.ZodLiteral<11155111 | 84532 | 72080>, z.ZodLiteral<11155111 | 84532 | 72080>, ...z.ZodLiteral<11155111 | 84532 | 72080>[]]>;
4
4
  tokenName: z.ZodString;
5
5
  tokenSymbol: z.ZodString;
6
- supplyCap: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
6
+ supplyCap: z.core.$ZodBranded<z.ZodString, "Int256", "out">;
7
7
  defaultTokenAdmin: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
8
8
  minter: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
9
9
  }, z.core.$strip>;
@@ -12,7 +12,7 @@ export declare const CreateErc20Token: import("../../../common/controller.js").I
12
12
  $post: {
13
13
  input: {
14
14
  json: {
15
- chainId: 11155111 | 72080;
15
+ chainId: 11155111 | 84532 | 72080;
16
16
  tokenName: string;
17
17
  tokenSymbol: string;
18
18
  supplyCap: string;
@@ -1 +1 @@
1
- {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/default/deploy.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,wBAAwB;;;;;;;iBAOnC,CAAC;AA6BH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;aAe3B,CAAC"}
1
+ {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/default/deploy.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,qCAAqC,CAAC;AAQxD,eAAO,MAAM,wBAAwB;;;;;;;iBAOnC,CAAC;AA6BH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;aAe3B,CAAC"}
@@ -1,17 +1,17 @@
1
1
  import { describeRoute } from "hono-openapi";
2
2
  import { resolver, validator } from "hono-openapi";
3
- import { z } from "zod";
4
3
  import { abis } from "@evergonlabs/tmi-factories-sdk";
4
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
5
+ import { Int256Json } from "@evergonlabs/tmi-utils/models";
6
+ import { erc20Tag } from "../tag.js";
5
7
  import { createController } from "../../../common/controller.js";
6
8
  import { AddressSchema, toTransaction, TransactionSchema } from "../../../common/index.js";
7
- import { Int256BigInt } from "../../../common/int256.js";
8
- import { FactoryChainId, getFactories } from "../../common/factories.js";
9
- import { erc20Tag } from "../tag.js";
9
+ import { FactoryChainId, getFactories } from "../../../issuance/common/factories.js";
10
10
  export const DeployErc20RequestSchema = z.object({
11
11
  chainId: FactoryChainId.Schema,
12
12
  tokenName: z.string().nonempty().openapi({ description: "Name of the ERC20 token" }),
13
13
  tokenSymbol: z.string().nonempty().openapi({ description: "Symbol of the ERC20 token" }),
14
- supplyCap: Int256BigInt(z.bigint().nonnegative()),
14
+ supplyCap: Int256Json,
15
15
  defaultTokenAdmin: AddressSchema.openapi({ description: "Address to receive DEFAULT_ADMIN_ROLE" }),
16
16
  minter: AddressSchema.openapi({ description: "Address to receive MINTER_ROLE" }),
17
17
  });
@@ -1,9 +1,9 @@
1
- import { z } from "zod";
1
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
2
2
  export declare const InitializeDefaultErc20RequestSchema: z.ZodObject<{
3
3
  tokenAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
4
4
  name: z.ZodString;
5
5
  symbol: z.ZodString;
6
- cap: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
6
+ cap: z.core.$ZodBranded<z.ZodString, "Int256", "out">;
7
7
  defaultAdmin: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
8
8
  minter: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
9
9
  }, z.core.$strip>;
@@ -1 +1 @@
1
- {"version":3,"file":"initialize.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/default/initialize.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,mCAAmC;;;;;;;iBAO9C,CAAC;AAkBH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;aAgBjC,CAAC"}
1
+ {"version":3,"file":"initialize.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/default/initialize.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,qCAAqC,CAAC;AAOxD,eAAO,MAAM,mCAAmC;;;;;;;iBAO9C,CAAC;AAkBH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;aAgBjC,CAAC"}
@@ -1,16 +1,16 @@
1
1
  import { describeRoute } from "hono-openapi";
2
2
  import { resolver, validator } from "hono-openapi";
3
- import { z } from "zod";
4
3
  import { abis } from "@evergonlabs/tmi-factories-sdk";
4
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
5
+ import { Int256Json } from "@evergonlabs/tmi-utils/models";
6
+ import { erc20Tag } from "../tag.js";
5
7
  import { createController } from "../../../common/controller.js";
6
8
  import { AddressSchema, toTransaction, TransactionSchema } from "../../../common/index.js";
7
- import { Int256BigInt } from "../../../common/int256.js";
8
- import { erc20Tag } from "../tag.js";
9
9
  export const InitializeDefaultErc20RequestSchema = z.object({
10
10
  tokenAddress: AddressSchema,
11
11
  name: z.string().nonempty().openapi({ description: "Name of the ERC20 token" }),
12
12
  symbol: z.string().nonempty().openapi({ description: "Symbol of the ERC20 token" }),
13
- cap: Int256BigInt(z.bigint().nonnegative()),
13
+ cap: Int256Json,
14
14
  defaultAdmin: AddressSchema.openapi({ description: "Address to receive DEFAULT_ADMIN_ROLE" }),
15
15
  minter: AddressSchema.openapi({ description: "Address to receive MINTER_ROLE" }),
16
16
  });
@@ -3,8 +3,8 @@ export declare const ParseDefaultErc20DeployEvent: import("../../../common/contr
3
3
  $get: {
4
4
  input: {
5
5
  query: {
6
- chainId: string | string[];
7
- hash: string | string[];
6
+ chainId: "11155111" | "84532" | "72080";
7
+ hash: string;
8
8
  };
9
9
  };
10
10
  output: {
@@ -1 +1 @@
1
- {"version":3,"file":"parseDeployEvent.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/default/parseDeployEvent.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;aAoDvC,CAAC"}
1
+ {"version":3,"file":"parseDeployEvent.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/default/parseDeployEvent.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;aAoDvC,CAAC"}
@@ -2,28 +2,18 @@ import { describeRoute } from "hono-openapi";
2
2
  import { resolver, validator } from "hono-openapi";
3
3
  import { parseEventLogs } from "viem";
4
4
  import { waitForTransactionReceipt } from "viem/actions";
5
- import { z } from "zod";
6
5
  import { abis } from "@evergonlabs/tmi-factories-sdk";
6
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
7
7
  import { Int256Json } from "@evergonlabs/tmi-utils/models";
8
+ import { erc20Tag } from "../tag.js";
8
9
  import { getPublicClient } from "../../../common/blockchain.js";
9
10
  import { createController } from "../../../common/controller.js";
10
11
  import { HttpError } from "../../../common/http-error.js";
11
12
  import { AddressSchema, HashSchema } from "../../../common/index.js";
12
- import { FactoryChainIdQuery } from "../../common/factories.js";
13
- import { erc20Tag } from "../tag.js";
13
+ import { FactoryChainIdQuery } from "../../../issuance/common/factories.js";
14
14
  const QuerySchema = z.object({
15
- chainId: FactoryChainIdQuery.openapi({
16
- param: {
17
- name: "chainId",
18
- in: "query",
19
- },
20
- }),
21
- hash: HashSchema.openapi({
22
- param: {
23
- name: "hash",
24
- in: "query",
25
- },
26
- }),
15
+ chainId: FactoryChainIdQuery.openapi({ param: { name: "chainId", in: "query" } }),
16
+ hash: HashSchema.openapi({ param: { name: "hash", in: "query" } }),
27
17
  });
28
18
  export const ParseDefaultErc20DeployEvent = createController({
29
19
  build: (factory) => factory.createApp().get("/", describeRoute({
@@ -1,9 +1,9 @@
1
- import { z } from "zod";
1
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
2
2
  export declare const DeployGatedErc20RequestSchema: z.ZodObject<{
3
- chainId: z.ZodUnion<[z.ZodLiteral<11155111 | 72080>, z.ZodLiteral<11155111 | 72080>, ...z.ZodLiteral<11155111 | 72080>[]]>;
3
+ chainId: z.ZodUnion<[z.ZodLiteral<11155111 | 84532 | 72080>, z.ZodLiteral<11155111 | 84532 | 72080>, ...z.ZodLiteral<11155111 | 84532 | 72080>[]]>;
4
4
  tokenName: z.ZodString;
5
5
  tokenSymbol: z.ZodString;
6
- supplyCap: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
6
+ supplyCap: z.core.$ZodBranded<z.ZodString, "Int256", "out">;
7
7
  defaultTokenAdmin: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
8
8
  minter: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
9
9
  gatingSigner: z.ZodOptional<z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>>;
@@ -13,7 +13,7 @@ export declare const CreateGatedErc20Token: import("../../../common/controller.j
13
13
  $post: {
14
14
  input: {
15
15
  json: {
16
- chainId: 11155111 | 72080;
16
+ chainId: 11155111 | 84532 | 72080;
17
17
  tokenName: string;
18
18
  tokenSymbol: string;
19
19
  supplyCap: string;
@@ -1 +1 @@
1
- {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/gated/deploy.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,6BAA6B;;;;;;;;iBAUxC,CAAC;AAsBH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAyBhC,CAAC"}
1
+ {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/gated/deploy.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,qCAAqC,CAAC;AASxD,eAAO,MAAM,6BAA6B;;;;;;;;iBAUxC,CAAC;AAsBH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAyBhC,CAAC"}
@@ -1,18 +1,18 @@
1
1
  import { describeRoute } from "hono-openapi";
2
2
  import { resolver, validator } from "hono-openapi";
3
- import { z } from "zod";
4
3
  import { abis } from "@evergonlabs/tmi-factories-sdk";
4
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
5
+ import { Int256Json } from "@evergonlabs/tmi-utils/models";
6
+ import { erc20Tag } from "../tag.js";
5
7
  import { createController } from "../../../common/controller.js";
6
8
  import { AddressSchema, toTransaction, TransactionSchema } from "../../../common/index.js";
7
- import { Int256BigInt } from "../../../common/int256.js";
8
9
  import { DEFAULT_COMPILOT_SIGNER } from "../../../common/models/compilot.js";
9
- import { FactoryChainId, getFactories } from "../../common/factories.js";
10
- import { erc20Tag } from "../tag.js";
10
+ import { FactoryChainId, getFactories } from "../../../issuance/common/factories.js";
11
11
  export const DeployGatedErc20RequestSchema = z.object({
12
12
  chainId: FactoryChainId.Schema,
13
13
  tokenName: z.string().nonempty().openapi({ description: "Name of the ERC20 token" }),
14
14
  tokenSymbol: z.string().nonempty().openapi({ description: "Symbol of the ERC20 token" }),
15
- supplyCap: Int256BigInt(z.bigint().nonnegative()),
15
+ supplyCap: Int256Json,
16
16
  defaultTokenAdmin: AddressSchema.openapi({ description: "Address to receive DEFAULT_ADMIN_ROLE" }),
17
17
  minter: AddressSchema.openapi({ description: "Address to receive MINTER_ROLE" }),
18
18
  gatingSigner: AddressSchema.optional().openapi({
@@ -1,9 +1,9 @@
1
- import { z } from "zod";
1
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
2
2
  export declare const InitializeGatedErc20RequestSchema: z.ZodObject<{
3
3
  tokenAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
4
4
  name: z.ZodString;
5
5
  symbol: z.ZodString;
6
- cap: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
6
+ cap: z.core.$ZodBranded<z.ZodString, "Int256", "out">;
7
7
  defaultAdmin: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
8
8
  minter: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
9
9
  gatingSigner: z.ZodOptional<z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>>;
@@ -1 +1 @@
1
- {"version":3,"file":"initialize.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/gated/initialize.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,iCAAiC;;;;;;;;iBAU5C,CAAC;AAkBH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAc/B,CAAC"}
1
+ {"version":3,"file":"initialize.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/gated/initialize.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,qCAAqC,CAAC;AAQxD,eAAO,MAAM,iCAAiC;;;;;;;;iBAU5C,CAAC;AAkBH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAc/B,CAAC"}
@@ -1,17 +1,17 @@
1
1
  import { describeRoute } from "hono-openapi";
2
2
  import { resolver, validator } from "hono-openapi";
3
- import { z } from "zod";
4
3
  import { abis } from "@evergonlabs/tmi-factories-sdk";
4
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
5
+ import { Int256Json } from "@evergonlabs/tmi-utils/models";
6
+ import { erc20Tag } from "../tag.js";
5
7
  import { createController } from "../../../common/controller.js";
6
8
  import { AddressSchema, toTransaction, TransactionSchema } from "../../../common/index.js";
7
- import { Int256BigInt } from "../../../common/int256.js";
8
9
  import { DEFAULT_COMPILOT_SIGNER } from "../../../common/models/compilot.js";
9
- import { erc20Tag } from "../tag.js";
10
10
  export const InitializeGatedErc20RequestSchema = z.object({
11
11
  tokenAddress: AddressSchema,
12
12
  name: z.string().nonempty().openapi({ description: "Name of the ERC20 token" }),
13
13
  symbol: z.string().nonempty().openapi({ description: "Symbol of the ERC20 token" }),
14
- cap: Int256BigInt(z.bigint().nonnegative()),
14
+ cap: Int256Json,
15
15
  defaultAdmin: AddressSchema.openapi({ description: "Address to receive DEFAULT_ADMIN_ROLE" }),
16
16
  minter: AddressSchema.openapi({ description: "Address to receive MINTER_ROLE" }),
17
17
  gatingSigner: AddressSchema.optional().openapi({
@@ -3,8 +3,8 @@ export declare const ParseGatedErc20DeployEvent: import("../../../common/control
3
3
  $get: {
4
4
  input: {
5
5
  query: {
6
- chainId: string | string[];
7
- hash: string | string[];
6
+ chainId: "11155111" | "84532" | "72080";
7
+ hash: string;
8
8
  };
9
9
  };
10
10
  output: {
@@ -1 +1 @@
1
- {"version":3,"file":"parseDeployEvent.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/gated/parseDeployEvent.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;aAoDrC,CAAC"}
1
+ {"version":3,"file":"parseDeployEvent.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/gated/parseDeployEvent.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;aAoDrC,CAAC"}
@@ -2,28 +2,18 @@ import { describeRoute } from "hono-openapi";
2
2
  import { resolver, validator } from "hono-openapi";
3
3
  import { parseEventLogs } from "viem";
4
4
  import { waitForTransactionReceipt } from "viem/actions";
5
- import { z } from "zod";
6
5
  import { abis } from "@evergonlabs/tmi-factories-sdk";
6
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
7
7
  import { Int256Json } from "@evergonlabs/tmi-utils/models";
8
+ import { erc20Tag } from "../tag.js";
8
9
  import { getPublicClient } from "../../../common/blockchain.js";
9
10
  import { createController } from "../../../common/controller.js";
10
11
  import { HttpError } from "../../../common/http-error.js";
11
12
  import { AddressSchema, HashSchema } from "../../../common/index.js";
12
- import { FactoryChainIdQuery } from "../../common/factories.js";
13
- import { erc20Tag } from "../tag.js";
13
+ import { FactoryChainIdQuery } from "../../../issuance/common/factories.js";
14
14
  const QuerySchema = z.object({
15
- chainId: FactoryChainIdQuery.openapi({
16
- param: {
17
- name: "chainId",
18
- in: "query",
19
- },
20
- }),
21
- hash: HashSchema.openapi({
22
- param: {
23
- name: "hash",
24
- in: "query",
25
- },
26
- }),
15
+ chainId: FactoryChainIdQuery.openapi({ param: { name: "chainId", in: "query" } }),
16
+ hash: HashSchema.openapi({ param: { name: "hash", in: "query" } }),
27
17
  });
28
18
  export const ParseGatedErc20DeployEvent = createController({
29
19
  build: (factory) => factory.createApp().get("/", describeRoute({
@@ -1 +1 @@
1
- {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/gatedSimple/deploy.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;aAQtC,CAAC"}
1
+ {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/gatedSimple/deploy.ts"],"names":[],"mappings":"AAyBA,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;aAQtC,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { describeRoute } from "hono-openapi";
2
2
  import { resolver } from "hono-openapi";
3
3
  import { erc20GatedAbi, erc20GatedBytecode } from "@evergonlabs/tmi-protocol-contracts/erc20Gated";
4
+ import { erc20Tag } from "../tag.js";
4
5
  import { createController } from "../../../common/controller.js";
5
6
  import { DeployTransactionSchema } from "../../../common/index.js";
6
- import { erc20Tag } from "../tag.js";
7
7
  const deployGatedSimpleRoute = describeRoute({
8
8
  summary: "Get gated ERC20",
9
9
  description: "Returns transaction data for deploying a gated ERC20. This is an audited contract.",
@@ -1,11 +1,11 @@
1
- import { z } from "zod";
1
+ import { z } from "@evergonlabs/tmi-protocol-utils/zod";
2
2
  export declare const Erc20InitDataResponse: z.ZodObject<{
3
3
  data: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
4
4
  }, z.core.$strip>;
5
5
  export declare const Erc20InitDataParams: z.ZodObject<{
6
6
  tokenName: z.ZodString;
7
7
  tokenSymbol: z.ZodString;
8
- cap: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
8
+ cap: z.core.$ZodBranded<z.ZodString, "Int256", "out">;
9
9
  defaultAdmin: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
10
10
  minter: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
11
11
  }, z.core.$strip>;