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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (878) hide show
  1. package/dist/app.d.ts +108 -27
  2. package/dist/app.d.ts.map +1 -1
  3. package/dist/client.d.ts +114 -27
  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/fractions/markets/common/platform.d.ts.map +1 -1
  18. package/dist/fractions/markets/common/platform.js +2 -1
  19. package/dist/fractions/sales/common/fractionsSale.d.ts.map +1 -1
  20. package/dist/fractions/sales/common/fractionsSale.js +2 -1
  21. package/dist/fractions/sales/createFractions.schema.js +1 -1
  22. package/dist/fractions/sales/vesting/editCliff.route.js +1 -1
  23. package/dist/issuance/common/factories.base.d.ts +12 -12
  24. package/dist/next/fractions/index.d.ts +108 -27
  25. package/dist/next/fractions/index.d.ts.map +1 -1
  26. package/dist/next/fractions/lending/index.d.ts +26 -25
  27. package/dist/next/fractions/lending/index.d.ts.map +1 -1
  28. package/dist/next/fractions/lending/index.js +2 -2
  29. package/dist/next/fractions/platforms/default/deployNftFractionsMarket.routes.d.ts +38 -0
  30. package/dist/next/fractions/platforms/default/deployNftFractionsMarket.routes.d.ts.map +1 -0
  31. package/dist/next/fractions/platforms/default/deployNftFractionsMarket.routes.js +39 -0
  32. package/dist/next/fractions/platforms/default/deployNftFractionsMarket.schema.d.ts +25 -0
  33. package/dist/next/fractions/platforms/default/deployNftFractionsMarket.schema.d.ts.map +1 -0
  34. package/dist/{fractions/nftfractions/v0 → next/fractions/platforms/default}/deployNftFractionsMarket.schema.js +7 -12
  35. package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.routes.d.ts +39 -0
  36. package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.routes.d.ts.map +1 -0
  37. package/dist/{fractions/platforms → next/fractions/platforms/gated}/deployNftFractionsMarket.routes.js +11 -23
  38. package/dist/{fractions/platforms → next/fractions/platforms/gated}/deployNftFractionsMarket.schema.d.ts +4 -8
  39. package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.schema.d.ts.map +1 -0
  40. package/dist/{fractions/platforms → next/fractions/platforms/gated}/deployNftFractionsMarket.schema.js +6 -11
  41. package/dist/next/fractions/platforms/index.d.ts +34 -1
  42. package/dist/next/fractions/platforms/index.d.ts.map +1 -1
  43. package/dist/next/fractions/platforms/index.js +6 -2
  44. package/dist/next/fractions/sales/createNftFractions.schema.js +1 -1
  45. package/dist/next/fractions/sales/index.d.ts +48 -1
  46. package/dist/next/fractions/sales/index.d.ts.map +1 -1
  47. package/dist/next/fractions/sales/index.js +7 -1
  48. package/dist/next/fractions/sales/parseFractionsCreatedEvent.d.ts +23 -0
  49. package/dist/next/fractions/sales/parseFractionsCreatedEvent.d.ts.map +1 -0
  50. package/dist/{src/fractions/createFractions/v0 → next/fractions/sales}/parseFractionsCreatedEvent.js +27 -19
  51. package/dist/next/fractions/sales/purchase.routes.d.ts +27 -0
  52. package/dist/next/fractions/sales/purchase.routes.d.ts.map +1 -0
  53. package/dist/next/fractions/sales/purchase.routes.js +37 -0
  54. package/dist/staking/platforms/common/platform.d.ts.map +1 -1
  55. package/dist/staking/platforms/common/platform.js +2 -1
  56. package/dist/staking/pools/common/pool.d.ts.map +1 -1
  57. package/dist/staking/pools/common/pool.js +2 -1
  58. package/dist/staking/roles/searchRoles/v0/searchRoles.js +1 -1
  59. package/dist/staking/stakes/common/stake.d.ts.map +1 -1
  60. package/dist/staking/stakes/common/stake.js +2 -1
  61. package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.js +1 -1
  62. package/dist/stakingTemplates/templates/common/time.js +1 -1
  63. package/package.json +13 -12
  64. package/dist/common/abis/erc20Whitelisted.d.ts +0 -316
  65. package/dist/common/abis/erc20Whitelisted.d.ts.map +0 -1
  66. package/dist/common/abis/erc20Whitelisted.js +0 -1139
  67. package/dist/common/indexer/index.d.ts +0 -4044
  68. package/dist/common/indexer/index.d.ts.map +0 -1
  69. package/dist/common/indexer/index.js +0 -3
  70. package/dist/common/models/numOrStr.d.ts +0 -7
  71. package/dist/common/models/numOrStr.d.ts.map +0 -1
  72. package/dist/common/models/numOrStr.js +0 -11
  73. package/dist/common/zod.d.ts +0 -3
  74. package/dist/common/zod.d.ts.map +0 -1
  75. package/dist/common/zod.js +0 -2
  76. package/dist/fractions/activity/searchActivity.route.d.ts +0 -198
  77. package/dist/fractions/activity/searchActivity.route.d.ts.map +0 -1
  78. package/dist/fractions/activity/searchActivity.route.js +0 -53
  79. package/dist/fractions/activity/utils.d.ts +0 -228
  80. package/dist/fractions/activity/utils.d.ts.map +0 -1
  81. package/dist/fractions/activity/utils.js +0 -68
  82. package/dist/fractions/approveSale/v0/approveSale.route.d.ts +0 -68
  83. package/dist/fractions/approveSale/v0/approveSale.route.d.ts.map +0 -1
  84. package/dist/fractions/approveSale/v0/approveSale.route.js +0 -31
  85. package/dist/fractions/approveWrapper/v0/approveWrapper.route.d.ts +0 -203
  86. package/dist/fractions/approveWrapper/v0/approveWrapper.route.d.ts.map +0 -1
  87. package/dist/fractions/approveWrapper/v0/approveWrapper.route.js +0 -84
  88. package/dist/fractions/completeSale/v0/completeSale.route.d.ts +0 -68
  89. package/dist/fractions/completeSale/v0/completeSale.route.d.ts.map +0 -1
  90. package/dist/fractions/completeSale/v0/completeSale.route.js +0 -31
  91. package/dist/fractions/createFractions/v0/createFractions.route.d.ts +0 -305
  92. package/dist/fractions/createFractions/v0/createFractions.route.d.ts.map +0 -1
  93. package/dist/fractions/createFractions/v0/createFractions.route.js +0 -48
  94. package/dist/fractions/createFractions/v0/createFractions.schema.d.ts +0 -427
  95. package/dist/fractions/createFractions/v0/createFractions.schema.d.ts.map +0 -1
  96. package/dist/fractions/createFractions/v0/createFractions.schema.js +0 -78
  97. package/dist/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts +0 -51
  98. package/dist/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts.map +0 -1
  99. package/dist/fractions/createFractions/v0/parseFractionsCreatedEvent.js +0 -58
  100. package/dist/fractions/deployMarket/v0/deployMarket.routes.d.ts +0 -374
  101. package/dist/fractions/deployMarket/v0/deployMarket.routes.d.ts.map +0 -1
  102. package/dist/fractions/deployMarket/v0/deployMarket.routes.js +0 -138
  103. package/dist/fractions/deployMarket/v0/deployMarket.schema.d.ts +0 -86
  104. package/dist/fractions/deployMarket/v0/deployMarket.schema.d.ts.map +0 -1
  105. package/dist/fractions/deployMarket/v0/deployMarket.schema.js +0 -24
  106. package/dist/fractions/deployMarket/v0/index.d.ts +0 -3
  107. package/dist/fractions/deployMarket/v0/index.d.ts.map +0 -1
  108. package/dist/fractions/deployMarket/v0/index.js +0 -2
  109. package/dist/fractions/deployMarket/v0/initNid.route.d.ts +0 -61
  110. package/dist/fractions/deployMarket/v0/initNid.route.d.ts.map +0 -1
  111. package/dist/fractions/deployMarket/v0/initNid.route.js +0 -31
  112. package/dist/fractions/gating/v0/getAuthData.d.ts +0 -86
  113. package/dist/fractions/gating/v0/getAuthData.d.ts.map +0 -1
  114. package/dist/fractions/gating/v0/getAuthData.js +0 -48
  115. package/dist/fractions/gating/v0/getNonce.route.d.ts +0 -54
  116. package/dist/fractions/gating/v0/getNonce.route.d.ts.map +0 -1
  117. package/dist/fractions/gating/v0/getNonce.route.js +0 -40
  118. package/dist/fractions/grantRole/v0/grantRole.route.d.ts +0 -65
  119. package/dist/fractions/grantRole/v0/grantRole.route.d.ts.map +0 -1
  120. package/dist/fractions/grantRole/v0/grantRole.route.js +0 -31
  121. package/dist/fractions/grantRole/v0/grantRole.schema.d.ts +0 -26
  122. package/dist/fractions/grantRole/v0/grantRole.schema.d.ts.map +0 -1
  123. package/dist/fractions/grantRole/v0/grantRole.schema.js +0 -14
  124. package/dist/fractions/markets/getMarket/v0/getMarket.d.ts +0 -103
  125. package/dist/fractions/markets/getMarket/v0/getMarket.d.ts.map +0 -1
  126. package/dist/fractions/markets/getMarket/v0/getMarket.js +0 -62
  127. package/dist/fractions/markets/searchMarkets/v0/searchMarkets.d.ts +0 -115
  128. package/dist/fractions/markets/searchMarkets/v0/searchMarkets.d.ts.map +0 -1
  129. package/dist/fractions/markets/searchMarkets/v0/searchMarkets.js +0 -42
  130. package/dist/fractions/nftfractions/index.d.ts +0 -6
  131. package/dist/fractions/nftfractions/index.d.ts.map +0 -1
  132. package/dist/fractions/nftfractions/index.js +0 -5
  133. package/dist/fractions/nftfractions/v0/createNftFractions.routes.d.ts +0 -192
  134. package/dist/fractions/nftfractions/v0/createNftFractions.routes.d.ts.map +0 -1
  135. package/dist/fractions/nftfractions/v0/createNftFractions.routes.js +0 -58
  136. package/dist/fractions/nftfractions/v0/createNftFractions.schema.d.ts +0 -245
  137. package/dist/fractions/nftfractions/v0/createNftFractions.schema.d.ts.map +0 -1
  138. package/dist/fractions/nftfractions/v0/createNftFractions.schema.js +0 -65
  139. package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.routes.d.ts +0 -96
  140. package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.routes.d.ts.map +0 -1
  141. package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.routes.js +0 -52
  142. package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.schema.d.ts +0 -70
  143. package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.schema.d.ts.map +0 -1
  144. package/dist/fractions/nftfractions/v0/initCompilot.routes.d.ts +0 -74
  145. package/dist/fractions/nftfractions/v0/initCompilot.routes.d.ts.map +0 -1
  146. package/dist/fractions/nftfractions/v0/initCompilot.routes.js +0 -41
  147. package/dist/fractions/platforms/deployNftFractionsMarket.routes.d.ts +0 -96
  148. package/dist/fractions/platforms/deployNftFractionsMarket.routes.d.ts.map +0 -1
  149. package/dist/fractions/platforms/deployNftFractionsMarket.schema.d.ts.map +0 -1
  150. package/dist/fractions/purchase/v0/purchase.route.d.ts +0 -89
  151. package/dist/fractions/purchase/v0/purchase.route.d.ts.map +0 -1
  152. package/dist/fractions/purchase/v0/purchase.route.js +0 -41
  153. package/dist/fractions/purchase/v0/statistics.route.d.ts +0 -65
  154. package/dist/fractions/purchase/v0/statistics.route.d.ts.map +0 -1
  155. package/dist/fractions/purchase/v0/statistics.route.js +0 -52
  156. package/dist/fractions/roles/getRoles/v0/getRoles.d.ts +0 -28
  157. package/dist/fractions/roles/getRoles/v0/getRoles.d.ts.map +0 -1
  158. package/dist/fractions/roles/getRoles/v0/getRoles.js +0 -41
  159. package/dist/fractions/sales/createNftFractions.routes.d.ts +0 -180
  160. package/dist/fractions/sales/createNftFractions.routes.d.ts.map +0 -1
  161. package/dist/fractions/sales/createNftFractions.routes.js +0 -58
  162. package/dist/fractions/sales/createNftFractions.schema.d.ts +0 -85
  163. package/dist/fractions/sales/createNftFractions.schema.d.ts.map +0 -1
  164. package/dist/fractions/sales/createNftFractions.schema.js +0 -67
  165. package/dist/fractions/sales/searchSaleEvents/v0/searchSaleEvents.d.ts +0 -89
  166. package/dist/fractions/sales/searchSaleEvents/v0/searchSaleEvents.d.ts.map +0 -1
  167. package/dist/fractions/sales/searchSaleEvents/v0/searchSaleEvents.js +0 -82
  168. package/dist/fractions/sales/searchSales/v0/searchSales.d.ts +0 -257
  169. package/dist/fractions/sales/searchSales/v0/searchSales.d.ts.map +0 -1
  170. package/dist/fractions/sales/searchSales/v0/searchSales.js +0 -49
  171. package/dist/fractions/sales/vesting/v0/claimStatistics.route.d.ts +0 -92
  172. package/dist/fractions/sales/vesting/v0/claimStatistics.route.d.ts.map +0 -1
  173. package/dist/fractions/sales/vesting/v0/claimStatistics.route.js +0 -90
  174. package/dist/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts +0 -94
  175. package/dist/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts.map +0 -1
  176. package/dist/fractions/sales/vesting/v0/claimVestedTokens.route.js +0 -41
  177. package/dist/fractions/sales/vesting/v0/editCliff.route.d.ts +0 -87
  178. package/dist/fractions/sales/vesting/v0/editCliff.route.d.ts.map +0 -1
  179. package/dist/fractions/sales/vesting/v0/editCliff.route.js +0 -40
  180. package/dist/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts +0 -48
  181. package/dist/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts.map +0 -1
  182. package/dist/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.js +0 -57
  183. package/dist/fractions/withdraw/v0/withdraw.route.d.ts +0 -68
  184. package/dist/fractions/withdraw/v0/withdraw.route.d.ts.map +0 -1
  185. package/dist/fractions/withdraw/v0/withdraw.route.js +0 -31
  186. package/dist/general/balance-client.d.ts +0 -13
  187. package/dist/general/balance-client.d.ts.map +0 -1
  188. package/dist/general/balance-client.js +0 -26
  189. package/dist/issuance/approve.d.ts +0 -75
  190. package/dist/issuance/approve.d.ts.map +0 -1
  191. package/dist/issuance/approve.js +0 -36
  192. package/dist/issuance/burn.d.ts +0 -75
  193. package/dist/issuance/burn.d.ts.map +0 -1
  194. package/dist/issuance/burn.js +0 -36
  195. package/dist/issuance/common.d.ts +0 -2
  196. package/dist/issuance/common.d.ts.map +0 -1
  197. package/dist/issuance/common.js +0 -1
  198. package/dist/issuance/deploy.d.ts +0 -158
  199. package/dist/issuance/deploy.d.ts.map +0 -1
  200. package/dist/issuance/deploy.js +0 -227
  201. package/dist/issuance/erc20/deploy.d.ts +0 -38
  202. package/dist/issuance/erc20/deploy.d.ts.map +0 -1
  203. package/dist/issuance/erc20/deploy.js +0 -52
  204. package/dist/issuance/erc20/deployGated.d.ts +0 -40
  205. package/dist/issuance/erc20/deployGated.d.ts.map +0 -1
  206. package/dist/issuance/erc20/deployGated.js +0 -58
  207. package/dist/issuance/erc20/getInitData.d.ts +0 -59
  208. package/dist/issuance/erc20/getInitData.d.ts.map +0 -1
  209. package/dist/issuance/erc20/getInitData.js +0 -49
  210. package/dist/issuance/erc20/initialize.d.ts +0 -40
  211. package/dist/issuance/erc20/initialize.d.ts.map +0 -1
  212. package/dist/issuance/erc20/initialize.js +0 -45
  213. package/dist/issuance/erc20/parseErc20DeployEvent.d.ts +0 -23
  214. package/dist/issuance/erc20/parseErc20DeployEvent.d.ts.map +0 -1
  215. package/dist/issuance/erc20/parseErc20DeployEvent.js +0 -79
  216. package/dist/issuance/erc721/deploy.d.ts +0 -38
  217. package/dist/issuance/erc721/deploy.d.ts.map +0 -1
  218. package/dist/issuance/erc721/deploy.js +0 -51
  219. package/dist/issuance/erc721/deployGated.d.ts +0 -40
  220. package/dist/issuance/erc721/deployGated.d.ts.map +0 -1
  221. package/dist/issuance/erc721/deployGated.js +0 -58
  222. package/dist/issuance/erc721/getInitData.d.ts +0 -49
  223. package/dist/issuance/erc721/getInitData.d.ts.map +0 -1
  224. package/dist/issuance/erc721/getInitData.js +0 -51
  225. package/dist/issuance/erc721/initialize.d.ts +0 -38
  226. package/dist/issuance/erc721/initialize.d.ts.map +0 -1
  227. package/dist/issuance/erc721/initialize.js +0 -40
  228. package/dist/issuance/erc721/parseErc721DeployEvent.d.ts +0 -23
  229. package/dist/issuance/erc721/parseErc721DeployEvent.d.ts.map +0 -1
  230. package/dist/issuance/erc721/parseErc721DeployEvent.js +0 -78
  231. package/dist/issuance/getInitData.d.ts +0 -132
  232. package/dist/issuance/getInitData.d.ts.map +0 -1
  233. package/dist/issuance/getInitData.js +0 -104
  234. package/dist/issuance/grantRole.d.ts +0 -76
  235. package/dist/issuance/grantRole.d.ts.map +0 -1
  236. package/dist/issuance/grantRole.js +0 -42
  237. package/dist/issuance/mint.d.ts +0 -75
  238. package/dist/issuance/mint.d.ts.map +0 -1
  239. package/dist/issuance/mint.js +0 -36
  240. package/dist/issuance/recover.d.ts +0 -82
  241. package/dist/issuance/recover.d.ts.map +0 -1
  242. package/dist/issuance/recover.js +0 -38
  243. package/dist/issuance/renounceRole.d.ts +0 -76
  244. package/dist/issuance/renounceRole.d.ts.map +0 -1
  245. package/dist/issuance/renounceRole.js +0 -42
  246. package/dist/issuance/transfer.d.ts +0 -75
  247. package/dist/issuance/transfer.d.ts.map +0 -1
  248. package/dist/issuance/transfer.js +0 -36
  249. package/dist/issuance/upgrade.d.ts +0 -82
  250. package/dist/issuance/upgrade.d.ts.map +0 -1
  251. package/dist/issuance/upgrade.js +0 -45
  252. package/dist/package.json +0 -78
  253. package/dist/src/app.d.ts +0 -2194
  254. package/dist/src/app.d.ts.map +0 -1
  255. package/dist/src/app.js +0 -18
  256. package/dist/src/client.d.ts +0 -2690
  257. package/dist/src/client.d.ts.map +0 -1
  258. package/dist/src/client.js +0 -4
  259. package/dist/src/common/abis/erc20Whitelisted.d.ts +0 -4
  260. package/dist/src/common/abis/erc20Whitelisted.d.ts.map +0 -1
  261. package/dist/src/common/abis/erc20Whitelisted.js +0 -4
  262. package/dist/src/common/app.d.ts +0 -9
  263. package/dist/src/common/app.d.ts.map +0 -1
  264. package/dist/src/common/app.js +0 -3
  265. package/dist/src/common/blockchain.d.ts +0 -9528
  266. package/dist/src/common/blockchain.d.ts.map +0 -1
  267. package/dist/src/common/blockchain.js +0 -40
  268. package/dist/src/common/config.d.ts +0 -21
  269. package/dist/src/common/config.d.ts.map +0 -1
  270. package/dist/src/common/config.js +0 -33
  271. package/dist/src/common/http-error.d.ts +0 -7
  272. package/dist/src/common/http-error.d.ts.map +0 -1
  273. package/dist/src/common/http-error.js +0 -7
  274. package/dist/src/common/index.d.ts +0 -2
  275. package/dist/src/common/index.d.ts.map +0 -1
  276. package/dist/src/common/index.js +0 -1
  277. package/dist/src/common/indexer/client.d.ts +0 -1191
  278. package/dist/src/common/indexer/client.d.ts.map +0 -1
  279. package/dist/src/common/indexer/client.js +0 -7
  280. package/dist/src/common/indexer/index.d.ts +0 -1191
  281. package/dist/src/common/indexer/index.d.ts.map +0 -1
  282. package/dist/src/common/indexer/index.js +0 -3
  283. package/dist/src/common/indexer/schemas.d.ts +0 -1191
  284. package/dist/src/common/indexer/schemas.d.ts.map +0 -1
  285. package/dist/src/common/indexer/schemas.js +0 -14
  286. package/dist/src/common/models/chainId.d.ts +0 -5
  287. package/dist/src/common/models/chainId.d.ts.map +0 -1
  288. package/dist/src/common/models/chainId.js +0 -23
  289. package/dist/src/common/models/date.d.ts +0 -3
  290. package/dist/src/common/models/date.d.ts.map +0 -1
  291. package/dist/src/common/models/date.js +0 -5
  292. package/dist/src/common/models/erc721.d.ts +0 -15
  293. package/dist/src/common/models/erc721.d.ts.map +0 -1
  294. package/dist/src/common/models/erc721.js +0 -21
  295. package/dist/src/common/models/index.d.ts +0 -7
  296. package/dist/src/common/models/index.d.ts.map +0 -1
  297. package/dist/src/common/models/index.js +0 -6
  298. package/dist/src/common/models/page.d.ts +0 -12
  299. package/dist/src/common/models/page.d.ts.map +0 -1
  300. package/dist/src/common/models/page.js +0 -15
  301. package/dist/src/common/models/percent.d.ts +0 -3
  302. package/dist/src/common/models/percent.d.ts.map +0 -1
  303. package/dist/src/common/models/percent.js +0 -6
  304. package/dist/src/common/models/platform.d.ts +0 -4
  305. package/dist/src/common/models/platform.d.ts.map +0 -1
  306. package/dist/src/common/models/platform.js +0 -13
  307. package/dist/src/common/models/routes.d.ts +0 -16
  308. package/dist/src/common/models/routes.d.ts.map +0 -1
  309. package/dist/src/common/models/routes.js +0 -13
  310. package/dist/src/common/models/saleId.d.ts +0 -12
  311. package/dist/src/common/models/saleId.d.ts.map +0 -1
  312. package/dist/src/common/models/saleId.js +0 -6
  313. package/dist/src/common/models/transaction.d.ts +0 -90
  314. package/dist/src/common/models/transaction.d.ts.map +0 -1
  315. package/dist/src/common/models/transaction.js +0 -57
  316. package/dist/src/common/models/viem.d.ts +0 -4
  317. package/dist/src/common/models/viem.d.ts.map +0 -1
  318. package/dist/src/common/models/viem.js +0 -15
  319. package/dist/src/common/openapi.d.ts +0 -4
  320. package/dist/src/common/openapi.d.ts.map +0 -1
  321. package/dist/src/common/openapi.js +0 -40
  322. package/dist/src/common/tag.d.ts +0 -7
  323. package/dist/src/common/tag.d.ts.map +0 -1
  324. package/dist/src/common/tag.js +0 -5
  325. package/dist/src/common/version.d.ts +0 -2
  326. package/dist/src/common/version.d.ts.map +0 -1
  327. package/dist/src/common/version.js +0 -2
  328. package/dist/src/common/zod.d.ts +0 -3
  329. package/dist/src/common/zod.d.ts.map +0 -1
  330. package/dist/src/common/zod.js +0 -2
  331. package/dist/src/error.d.ts +0 -3
  332. package/dist/src/error.d.ts.map +0 -1
  333. package/dist/src/error.js +0 -16
  334. package/dist/src/fractions/approveSale/v0/approveSale.route.d.ts +0 -68
  335. package/dist/src/fractions/approveSale/v0/approveSale.route.d.ts.map +0 -1
  336. package/dist/src/fractions/approveSale/v0/approveSale.route.js +0 -31
  337. package/dist/src/fractions/approveWrapper/v0/approveWrapper.route.d.ts +0 -203
  338. package/dist/src/fractions/approveWrapper/v0/approveWrapper.route.d.ts.map +0 -1
  339. package/dist/src/fractions/approveWrapper/v0/approveWrapper.route.js +0 -84
  340. package/dist/src/fractions/completeSale/v0/completeSale.route.d.ts +0 -68
  341. package/dist/src/fractions/completeSale/v0/completeSale.route.d.ts.map +0 -1
  342. package/dist/src/fractions/completeSale/v0/completeSale.route.js +0 -31
  343. package/dist/src/fractions/createFractions/v0/createFractions.route.d.ts +0 -305
  344. package/dist/src/fractions/createFractions/v0/createFractions.route.d.ts.map +0 -1
  345. package/dist/src/fractions/createFractions/v0/createFractions.route.js +0 -61
  346. package/dist/src/fractions/createFractions/v0/createFractions.schema.d.ts +0 -416
  347. package/dist/src/fractions/createFractions/v0/createFractions.schema.d.ts.map +0 -1
  348. package/dist/src/fractions/createFractions/v0/createFractions.schema.js +0 -67
  349. package/dist/src/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts +0 -51
  350. package/dist/src/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts.map +0 -1
  351. package/dist/src/fractions/deployMarket/v0/deployMarket.routes.d.ts +0 -297
  352. package/dist/src/fractions/deployMarket/v0/deployMarket.routes.d.ts.map +0 -1
  353. package/dist/src/fractions/deployMarket/v0/deployMarket.routes.js +0 -98
  354. package/dist/src/fractions/deployMarket/v0/deployMarket.schema.d.ts +0 -96
  355. package/dist/src/fractions/deployMarket/v0/deployMarket.schema.d.ts.map +0 -1
  356. package/dist/src/fractions/deployMarket/v0/deployMarket.schema.js +0 -21
  357. package/dist/src/fractions/gating/index.d.ts +0 -2
  358. package/dist/src/fractions/gating/index.d.ts.map +0 -1
  359. package/dist/src/fractions/gating/index.js +0 -0
  360. package/dist/src/fractions/gating/v0/getAuthData.d.ts +0 -86
  361. package/dist/src/fractions/gating/v0/getAuthData.d.ts.map +0 -1
  362. package/dist/src/fractions/gating/v0/getAuthData.js +0 -48
  363. package/dist/src/fractions/gating/v0/getNonce.route.d.ts +0 -54
  364. package/dist/src/fractions/gating/v0/getNonce.route.d.ts.map +0 -1
  365. package/dist/src/fractions/gating/v0/getNonce.route.js +0 -40
  366. package/dist/src/fractions/grantRole/v0/grantRole.route.d.ts +0 -65
  367. package/dist/src/fractions/grantRole/v0/grantRole.route.d.ts.map +0 -1
  368. package/dist/src/fractions/grantRole/v0/grantRole.route.js +0 -31
  369. package/dist/src/fractions/grantRole/v0/grantRole.schema.d.ts +0 -26
  370. package/dist/src/fractions/grantRole/v0/grantRole.schema.d.ts.map +0 -1
  371. package/dist/src/fractions/grantRole/v0/grantRole.schema.js +0 -14
  372. package/dist/src/fractions/index.d.ts +0 -968
  373. package/dist/src/fractions/index.d.ts.map +0 -1
  374. package/dist/src/fractions/index.js +0 -91
  375. package/dist/src/fractions/markets/common/platform.d.ts +0 -26
  376. package/dist/src/fractions/markets/common/platform.d.ts.map +0 -1
  377. package/dist/src/fractions/markets/common/platform.js +0 -26
  378. package/dist/src/fractions/markets/getDeployEvent.d.ts +0 -42
  379. package/dist/src/fractions/markets/getDeployEvent.d.ts.map +0 -1
  380. package/dist/src/fractions/markets/getDeployEvent.js +0 -47
  381. package/dist/src/fractions/markets/getMarket/index.d.ts +0 -40
  382. package/dist/src/fractions/markets/getMarket/index.d.ts.map +0 -1
  383. package/dist/src/fractions/markets/getMarket/index.js +0 -4
  384. package/dist/src/fractions/markets/getMarket/v0/getMarket.d.ts +0 -64
  385. package/dist/src/fractions/markets/getMarket/v0/getMarket.d.ts.map +0 -1
  386. package/dist/src/fractions/markets/getMarket/v0/getMarket.js +0 -63
  387. package/dist/src/fractions/markets/index.d.ts +0 -84
  388. package/dist/src/fractions/markets/index.d.ts.map +0 -1
  389. package/dist/src/fractions/markets/index.js +0 -12
  390. package/dist/src/fractions/markets/searchMarkets/index.d.ts +0 -32
  391. package/dist/src/fractions/markets/searchMarkets/index.d.ts.map +0 -1
  392. package/dist/src/fractions/markets/searchMarkets/index.js +0 -4
  393. package/dist/src/fractions/markets/searchMarkets/v0/searchMarkets.d.ts +0 -76
  394. package/dist/src/fractions/markets/searchMarkets/v0/searchMarkets.d.ts.map +0 -1
  395. package/dist/src/fractions/markets/searchMarkets/v0/searchMarkets.js +0 -42
  396. package/dist/src/fractions/purchase/v0/purchase.route.d.ts +0 -89
  397. package/dist/src/fractions/purchase/v0/purchase.route.d.ts.map +0 -1
  398. package/dist/src/fractions/purchase/v0/purchase.route.js +0 -41
  399. package/dist/src/fractions/roles/getRoles/v0/getRoles.d.ts +0 -28
  400. package/dist/src/fractions/roles/getRoles/v0/getRoles.d.ts.map +0 -1
  401. package/dist/src/fractions/roles/getRoles/v0/getRoles.js +0 -41
  402. package/dist/src/fractions/sales/getVaultAddress.d.ts +0 -52
  403. package/dist/src/fractions/sales/getVaultAddress.d.ts.map +0 -1
  404. package/dist/src/fractions/sales/getVaultAddress.js +0 -61
  405. package/dist/src/fractions/sales/getWithdrawEvent.d.ts +0 -42
  406. package/dist/src/fractions/sales/getWithdrawEvent.d.ts.map +0 -1
  407. package/dist/src/fractions/sales/getWithdrawEvent.js +0 -52
  408. package/dist/src/fractions/sales/index.d.ts +0 -10
  409. package/dist/src/fractions/sales/index.d.ts.map +0 -1
  410. package/dist/src/fractions/sales/index.js +0 -10
  411. package/dist/src/fractions/sales/receiveFundsAfterNonFunded.route.d.ts +0 -144
  412. package/dist/src/fractions/sales/receiveFundsAfterNonFunded.route.d.ts.map +0 -1
  413. package/dist/src/fractions/sales/receiveFundsAfterNonFunded.route.js +0 -59
  414. package/dist/src/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts +0 -57
  415. package/dist/src/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts.map +0 -1
  416. package/dist/src/fractions/sales/receiveNonPurchasedWrappedAssets.route.js +0 -27
  417. package/dist/src/fractions/sales/recoverFractions.d.ts +0 -108
  418. package/dist/src/fractions/sales/recoverFractions.d.ts.map +0 -1
  419. package/dist/src/fractions/sales/recoverFractions.js +0 -45
  420. package/dist/src/fractions/sales/rejectFractions.d.ts +0 -80
  421. package/dist/src/fractions/sales/rejectFractions.d.ts.map +0 -1
  422. package/dist/src/fractions/sales/rejectFractions.js +0 -39
  423. package/dist/src/fractions/sales/searchSaleEvents/index.d.ts +0 -2
  424. package/dist/src/fractions/sales/searchSaleEvents/index.d.ts.map +0 -1
  425. package/dist/src/fractions/sales/searchSaleEvents/index.js +0 -0
  426. package/dist/src/fractions/sales/searchSaleEvents/v0/searchSaleEvents.d.ts +0 -89
  427. package/dist/src/fractions/sales/searchSaleEvents/v0/searchSaleEvents.d.ts.map +0 -1
  428. package/dist/src/fractions/sales/searchSaleEvents/v0/searchSaleEvents.js +0 -82
  429. package/dist/src/fractions/sales/setFeeCapLimit.d.ts +0 -75
  430. package/dist/src/fractions/sales/setFeeCapLimit.d.ts.map +0 -1
  431. package/dist/src/fractions/sales/setFeeCapLimit.js +0 -32
  432. package/dist/src/fractions/sales/unlockWrappedAssets.route.d.ts +0 -68
  433. package/dist/src/fractions/sales/unlockWrappedAssets.route.d.ts.map +0 -1
  434. package/dist/src/fractions/sales/unlockWrappedAssets.route.js +0 -31
  435. package/dist/src/fractions/sales/vesting/index.d.ts +0 -2
  436. package/dist/src/fractions/sales/vesting/index.d.ts.map +0 -1
  437. package/dist/src/fractions/sales/vesting/index.js +0 -0
  438. package/dist/src/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts +0 -94
  439. package/dist/src/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts.map +0 -1
  440. package/dist/src/fractions/sales/vesting/v0/claimVestedTokens.route.js +0 -41
  441. package/dist/src/fractions/sales/vesting/v0/editCliff.route.d.ts +0 -87
  442. package/dist/src/fractions/sales/vesting/v0/editCliff.route.d.ts.map +0 -1
  443. package/dist/src/fractions/sales/vesting/v0/editCliff.route.js +0 -40
  444. package/dist/src/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts +0 -48
  445. package/dist/src/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts.map +0 -1
  446. package/dist/src/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.js +0 -58
  447. package/dist/src/fractions/withdraw/v0/withdraw.route.d.ts +0 -68
  448. package/dist/src/fractions/withdraw/v0/withdraw.route.d.ts.map +0 -1
  449. package/dist/src/fractions/withdraw/v0/withdraw.route.js +0 -31
  450. package/dist/src/general/balance-client.d.ts +0 -13
  451. package/dist/src/general/balance-client.d.ts.map +0 -1
  452. package/dist/src/general/balance-client.js +0 -26
  453. package/dist/src/general/common.d.ts +0 -94
  454. package/dist/src/general/common.d.ts.map +0 -1
  455. package/dist/src/general/common.js +0 -35
  456. package/dist/src/general/estimateGas.d.ts +0 -52
  457. package/dist/src/general/estimateGas.d.ts.map +0 -1
  458. package/dist/src/general/estimateGas.js +0 -64
  459. package/dist/src/general/getBalance.d.ts +0 -44
  460. package/dist/src/general/getBalance.d.ts.map +0 -1
  461. package/dist/src/general/getBalance.js +0 -43
  462. package/dist/src/general/getBalancesBatch.d.ts +0 -59
  463. package/dist/src/general/getBalancesBatch.d.ts.map +0 -1
  464. package/dist/src/general/getBalancesBatch.js +0 -34
  465. package/dist/src/general/index.d.ts +0 -100
  466. package/dist/src/general/index.d.ts.map +0 -1
  467. package/dist/src/general/index.js +0 -20
  468. package/dist/src/general/searchBalances.d.ts +0 -78
  469. package/dist/src/general/searchBalances.d.ts.map +0 -1
  470. package/dist/src/general/searchBalances.js +0 -49
  471. package/dist/src/issuance/approve.d.ts +0 -75
  472. package/dist/src/issuance/approve.d.ts.map +0 -1
  473. package/dist/src/issuance/approve.js +0 -36
  474. package/dist/src/issuance/burn.d.ts +0 -75
  475. package/dist/src/issuance/burn.d.ts.map +0 -1
  476. package/dist/src/issuance/burn.js +0 -36
  477. package/dist/src/issuance/deploy.d.ts +0 -88
  478. package/dist/src/issuance/deploy.d.ts.map +0 -1
  479. package/dist/src/issuance/deploy.js +0 -91
  480. package/dist/src/issuance/grantRole.d.ts +0 -78
  481. package/dist/src/issuance/grantRole.d.ts.map +0 -1
  482. package/dist/src/issuance/grantRole.js +0 -50
  483. package/dist/src/issuance/index.d.ts +0 -165
  484. package/dist/src/issuance/index.d.ts.map +0 -1
  485. package/dist/src/issuance/index.js +0 -23
  486. package/dist/src/issuance/mint.d.ts +0 -75
  487. package/dist/src/issuance/mint.d.ts.map +0 -1
  488. package/dist/src/issuance/mint.js +0 -36
  489. package/dist/src/issuance/transfer.d.ts +0 -75
  490. package/dist/src/issuance/transfer.d.ts.map +0 -1
  491. package/dist/src/issuance/transfer.js +0 -36
  492. package/dist/src/serve.d.ts +0 -2
  493. package/dist/src/serve.d.ts.map +0 -1
  494. package/dist/src/serve.js +0 -33
  495. package/dist/src/staking/index.d.ts +0 -242
  496. package/dist/src/staking/index.d.ts.map +0 -1
  497. package/dist/src/staking/index.js +0 -20
  498. package/dist/src/staking/platforms/common/platform.d.ts +0 -26
  499. package/dist/src/staking/platforms/common/platform.d.ts.map +0 -1
  500. package/dist/src/staking/platforms/common/platform.js +0 -26
  501. package/dist/src/staking/platforms/common/platformNotFound.d.ts +0 -9
  502. package/dist/src/staking/platforms/common/platformNotFound.d.ts.map +0 -1
  503. package/dist/src/staking/platforms/common/platformNotFound.js +0 -13
  504. package/dist/src/staking/platforms/getPlatform/index.d.ts +0 -26
  505. package/dist/src/staking/platforms/getPlatform/index.d.ts.map +0 -1
  506. package/dist/src/staking/platforms/getPlatform/index.js +0 -4
  507. package/dist/src/staking/platforms/getPlatform/v0/getPlatform.d.ts +0 -52
  508. package/dist/src/staking/platforms/getPlatform/v0/getPlatform.d.ts.map +0 -1
  509. package/dist/src/staking/platforms/getPlatform/v0/getPlatform.js +0 -58
  510. package/dist/src/staking/platforms/index.d.ts +0 -52
  511. package/dist/src/staking/platforms/index.d.ts.map +0 -1
  512. package/dist/src/staking/platforms/index.js +0 -10
  513. package/dist/src/staking/platforms/searchPlatforms/index.d.ts +0 -32
  514. package/dist/src/staking/platforms/searchPlatforms/index.d.ts.map +0 -1
  515. package/dist/src/staking/platforms/searchPlatforms/index.js +0 -4
  516. package/dist/src/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts +0 -76
  517. package/dist/src/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts.map +0 -1
  518. package/dist/src/staking/platforms/searchPlatforms/v0/searchPlatforms.js +0 -42
  519. package/dist/src/staking/pools/common/pool.d.ts +0 -29
  520. package/dist/src/staking/pools/common/pool.d.ts.map +0 -1
  521. package/dist/src/staking/pools/common/pool.js +0 -28
  522. package/dist/src/staking/pools/common/poolNotFound.d.ts +0 -10
  523. package/dist/src/staking/pools/common/poolNotFound.d.ts.map +0 -1
  524. package/dist/src/staking/pools/common/poolNotFound.js +0 -14
  525. package/dist/src/staking/pools/getPool/index.d.ts +0 -20
  526. package/dist/src/staking/pools/getPool/index.d.ts.map +0 -1
  527. package/dist/src/staking/pools/getPool/index.js +0 -4
  528. package/dist/src/staking/pools/getPool/v0/getPool.d.ts +0 -35
  529. package/dist/src/staking/pools/getPool/v0/getPool.d.ts.map +0 -1
  530. package/dist/src/staking/pools/getPool/v0/getPool.js +0 -64
  531. package/dist/src/staking/pools/index.d.ts +0 -39
  532. package/dist/src/staking/pools/index.d.ts.map +0 -1
  533. package/dist/src/staking/pools/index.js +0 -10
  534. package/dist/src/staking/pools/searchPools/index.d.ts +0 -25
  535. package/dist/src/staking/pools/searchPools/index.d.ts.map +0 -1
  536. package/dist/src/staking/pools/searchPools/index.js +0 -4
  537. package/dist/src/staking/pools/searchPools/v0/searchPools.d.ts +0 -55
  538. package/dist/src/staking/pools/searchPools/v0/searchPools.d.ts.map +0 -1
  539. package/dist/src/staking/pools/searchPools/v0/searchPools.js +0 -42
  540. package/dist/src/staking/roles/common/role.d.ts +0 -13
  541. package/dist/src/staking/roles/common/role.d.ts.map +0 -1
  542. package/dist/src/staking/roles/common/role.js +0 -18
  543. package/dist/src/staking/roles/common/roleAssignment.d.ts +0 -27
  544. package/dist/src/staking/roles/common/roleAssignment.d.ts.map +0 -1
  545. package/dist/src/staking/roles/common/roleAssignment.js +0 -21
  546. package/dist/src/staking/roles/common/roleEvent.d.ts +0 -30
  547. package/dist/src/staking/roles/common/roleEvent.d.ts.map +0 -1
  548. package/dist/src/staking/roles/common/roleEvent.js +0 -23
  549. package/dist/src/staking/roles/getRoles/index.d.ts +0 -26
  550. package/dist/src/staking/roles/getRoles/index.d.ts.map +0 -1
  551. package/dist/src/staking/roles/getRoles/index.js +0 -4
  552. package/dist/src/staking/roles/getRoles/v0/getRoles.d.ts +0 -29
  553. package/dist/src/staking/roles/getRoles/v0/getRoles.d.ts.map +0 -1
  554. package/dist/src/staking/roles/getRoles/v0/getRoles.js +0 -41
  555. package/dist/src/staking/roles/grantRole/index.d.ts +0 -29
  556. package/dist/src/staking/roles/grantRole/index.d.ts.map +0 -1
  557. package/dist/src/staking/roles/grantRole/index.js +0 -4
  558. package/dist/src/staking/roles/grantRole/v0/grantRole.d.ts +0 -63
  559. package/dist/src/staking/roles/grantRole/v0/grantRole.d.ts.map +0 -1
  560. package/dist/src/staking/roles/grantRole/v0/grantRole.js +0 -40
  561. package/dist/src/staking/roles/index.d.ts +0 -93
  562. package/dist/src/staking/roles/index.d.ts.map +0 -1
  563. package/dist/src/staking/roles/index.js +0 -14
  564. package/dist/src/staking/roles/searchRoleEvents/index.d.ts +0 -27
  565. package/dist/src/staking/roles/searchRoleEvents/index.d.ts.map +0 -1
  566. package/dist/src/staking/roles/searchRoleEvents/index.js +0 -4
  567. package/dist/src/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts +0 -63
  568. package/dist/src/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts.map +0 -1
  569. package/dist/src/staking/roles/searchRoleEvents/v0/searchRoleEvents.js +0 -58
  570. package/dist/src/staking/roles/searchRoles/index.d.ts +0 -27
  571. package/dist/src/staking/roles/searchRoles/index.d.ts.map +0 -1
  572. package/dist/src/staking/roles/searchRoles/index.js +0 -4
  573. package/dist/src/staking/roles/searchRoles/v0/searchRoles.d.ts +0 -63
  574. package/dist/src/staking/roles/searchRoles/v0/searchRoles.d.ts.map +0 -1
  575. package/dist/src/staking/roles/searchRoles/v0/searchRoles.js +0 -56
  576. package/dist/src/staking/stakes/common/stake.d.ts +0 -44
  577. package/dist/src/staking/stakes/common/stake.d.ts.map +0 -1
  578. package/dist/src/staking/stakes/common/stake.js +0 -45
  579. package/dist/src/staking/stakes/common/stakeEvent.d.ts +0 -30
  580. package/dist/src/staking/stakes/common/stakeEvent.d.ts.map +0 -1
  581. package/dist/src/staking/stakes/common/stakeEvent.js +0 -24
  582. package/dist/src/staking/stakes/common/stakeNotFound.d.ts +0 -9
  583. package/dist/src/staking/stakes/common/stakeNotFound.d.ts.map +0 -1
  584. package/dist/src/staking/stakes/common/stakeNotFound.js +0 -13
  585. package/dist/src/staking/stakes/getStake/index.d.ts +0 -20
  586. package/dist/src/staking/stakes/getStake/index.d.ts.map +0 -1
  587. package/dist/src/staking/stakes/getStake/index.js +0 -4
  588. package/dist/src/staking/stakes/getStake/v0/getStake.d.ts +0 -35
  589. package/dist/src/staking/stakes/getStake/v0/getStake.d.ts.map +0 -1
  590. package/dist/src/staking/stakes/getStake/v0/getStake.js +0 -64
  591. package/dist/src/staking/stakes/index.d.ts +0 -63
  592. package/dist/src/staking/stakes/index.d.ts.map +0 -1
  593. package/dist/src/staking/stakes/index.js +0 -12
  594. package/dist/src/staking/stakes/searchStakeEvents/index.d.ts +0 -27
  595. package/dist/src/staking/stakes/searchStakeEvents/index.d.ts.map +0 -1
  596. package/dist/src/staking/stakes/searchStakeEvents/index.js +0 -4
  597. package/dist/src/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts +0 -63
  598. package/dist/src/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts.map +0 -1
  599. package/dist/src/staking/stakes/searchStakeEvents/v0/searchStakeEvents.js +0 -59
  600. package/dist/src/staking/stakes/searchStakes/index.d.ts +0 -27
  601. package/dist/src/staking/stakes/searchStakes/index.d.ts.map +0 -1
  602. package/dist/src/staking/stakes/searchStakes/index.js +0 -4
  603. package/dist/src/staking/stakes/searchStakes/v0/searchStakes.d.ts +0 -63
  604. package/dist/src/staking/stakes/searchStakes/v0/searchStakes.d.ts.map +0 -1
  605. package/dist/src/staking/stakes/searchStakes/v0/searchStakes.js +0 -61
  606. package/dist/src/staking-templates/index.d.ts +0 -732
  607. package/dist/src/staking-templates/index.d.ts.map +0 -1
  608. package/dist/src/staking-templates/index.js +0 -18
  609. package/dist/src/staking-templates/templates/common/amount.d.ts +0 -13
  610. package/dist/src/staking-templates/templates/common/amount.d.ts.map +0 -1
  611. package/dist/src/staking-templates/templates/common/amount.js +0 -17
  612. package/dist/src/staking-templates/templates/common/amountMult.d.ts +0 -3
  613. package/dist/src/staking-templates/templates/common/amountMult.d.ts.map +0 -1
  614. package/dist/src/staking-templates/templates/common/amountMult.js +0 -23
  615. package/dist/src/staking-templates/templates/common/erc20Input.d.ts +0 -12
  616. package/dist/src/staking-templates/templates/common/erc20Input.d.ts.map +0 -1
  617. package/dist/src/staking-templates/templates/common/erc20Input.js +0 -16
  618. package/dist/src/staking-templates/templates/common/erc20Reward.d.ts +0 -12
  619. package/dist/src/staking-templates/templates/common/erc20Reward.d.ts.map +0 -1
  620. package/dist/src/staking-templates/templates/common/erc20Reward.js +0 -16
  621. package/dist/src/staking-templates/templates/common/getCreatePoolEvent.d.ts +0 -31
  622. package/dist/src/staking-templates/templates/common/getCreatePoolEvent.d.ts.map +0 -1
  623. package/dist/src/staking-templates/templates/common/getCreatePoolEvent.js +0 -47
  624. package/dist/src/staking-templates/templates/common/getPlatformDeployEvent.d.ts +0 -40
  625. package/dist/src/staking-templates/templates/common/getPlatformDeployEvent.d.ts.map +0 -1
  626. package/dist/src/staking-templates/templates/common/getPlatformDeployEvent.js +0 -46
  627. package/dist/src/staking-templates/templates/common/getReward.d.ts +0 -58
  628. package/dist/src/staking-templates/templates/common/getReward.d.ts.map +0 -1
  629. package/dist/src/staking-templates/templates/common/getReward.js +0 -34
  630. package/dist/src/staking-templates/templates/common/getStakeEvent.d.ts +0 -31
  631. package/dist/src/staking-templates/templates/common/getStakeEvent.d.ts.map +0 -1
  632. package/dist/src/staking-templates/templates/common/getStakeEvent.js +0 -51
  633. package/dist/src/staking-templates/templates/common/lock.d.ts +0 -12
  634. package/dist/src/staking-templates/templates/common/lock.d.ts.map +0 -1
  635. package/dist/src/staking-templates/templates/common/lock.js +0 -20
  636. package/dist/src/staking-templates/templates/common/lockMult.d.ts +0 -3
  637. package/dist/src/staking-templates/templates/common/lockMult.d.ts.map +0 -1
  638. package/dist/src/staking-templates/templates/common/lockMult.js +0 -15
  639. package/dist/src/staking-templates/templates/common/partialUnstake.d.ts +0 -62
  640. package/dist/src/staking-templates/templates/common/partialUnstake.d.ts.map +0 -1
  641. package/dist/src/staking-templates/templates/common/partialUnstake.js +0 -39
  642. package/dist/src/staking-templates/templates/common/rewardDistribution.d.ts +0 -13
  643. package/dist/src/staking-templates/templates/common/rewardDistribution.d.ts.map +0 -1
  644. package/dist/src/staking-templates/templates/common/rewardDistribution.js +0 -19
  645. package/dist/src/staking-templates/templates/common/templates.d.ts +0 -61
  646. package/dist/src/staking-templates/templates/common/templates.d.ts.map +0 -1
  647. package/dist/src/staking-templates/templates/common/templates.js +0 -8
  648. package/dist/src/staking-templates/templates/common/time.d.ts +0 -2
  649. package/dist/src/staking-templates/templates/common/time.d.ts.map +0 -1
  650. package/dist/src/staking-templates/templates/common/time.js +0 -4
  651. package/dist/src/staking-templates/templates/common/unstake.d.ts +0 -58
  652. package/dist/src/staking-templates/templates/common/unstake.d.ts.map +0 -1
  653. package/dist/src/staking-templates/templates/common/unstake.js +0 -34
  654. package/dist/src/staking-templates/templates/reputation/common.d.ts +0 -23
  655. package/dist/src/staking-templates/templates/reputation/common.d.ts.map +0 -1
  656. package/dist/src/staking-templates/templates/reputation/common.js +0 -3
  657. package/dist/src/staking-templates/templates/reputation/index.d.ts +0 -233
  658. package/dist/src/staking-templates/templates/reputation/index.d.ts.map +0 -1
  659. package/dist/src/staking-templates/templates/reputation/index.js +0 -4
  660. package/dist/src/staking-templates/templates/reputation/v0/createPlatform.d.ts +0 -81
  661. package/dist/src/staking-templates/templates/reputation/v0/createPlatform.d.ts.map +0 -1
  662. package/dist/src/staking-templates/templates/reputation/v0/createPlatform.js +0 -56
  663. package/dist/src/staking-templates/templates/reputation/v0/createPool.d.ts +0 -113
  664. package/dist/src/staking-templates/templates/reputation/v0/createPool.d.ts.map +0 -1
  665. package/dist/src/staking-templates/templates/reputation/v0/createPool.js +0 -85
  666. package/dist/src/staking-templates/templates/reputation/v0/index.d.ts +0 -233
  667. package/dist/src/staking-templates/templates/reputation/v0/index.d.ts.map +0 -1
  668. package/dist/src/staking-templates/templates/reputation/v0/index.js +0 -25
  669. package/dist/src/staking-templates/templates/reputation/v0/restake.d.ts +0 -61
  670. package/dist/src/staking-templates/templates/reputation/v0/restake.d.ts.map +0 -1
  671. package/dist/src/staking-templates/templates/reputation/v0/restake.js +0 -40
  672. package/dist/src/staking-templates/templates/reputation/v0/stake.d.ts +0 -61
  673. package/dist/src/staking-templates/templates/reputation/v0/stake.d.ts.map +0 -1
  674. package/dist/src/staking-templates/templates/reputation/v0/stake.js +0 -45
  675. package/dist/src/staking-templates/templates/reputationLock/common.d.ts +0 -23
  676. package/dist/src/staking-templates/templates/reputationLock/common.d.ts.map +0 -1
  677. package/dist/src/staking-templates/templates/reputationLock/common.js +0 -3
  678. package/dist/src/staking-templates/templates/reputationLock/index.d.ts +0 -244
  679. package/dist/src/staking-templates/templates/reputationLock/index.d.ts.map +0 -1
  680. package/dist/src/staking-templates/templates/reputationLock/index.js +0 -4
  681. package/dist/src/staking-templates/templates/reputationLock/v0/createPlatform.d.ts +0 -81
  682. package/dist/src/staking-templates/templates/reputationLock/v0/createPlatform.d.ts.map +0 -1
  683. package/dist/src/staking-templates/templates/reputationLock/v0/createPlatform.js +0 -56
  684. package/dist/src/staking-templates/templates/reputationLock/v0/createPool.d.ts +0 -149
  685. package/dist/src/staking-templates/templates/reputationLock/v0/createPool.d.ts.map +0 -1
  686. package/dist/src/staking-templates/templates/reputationLock/v0/createPool.js +0 -99
  687. package/dist/src/staking-templates/templates/reputationLock/v0/index.d.ts +0 -244
  688. package/dist/src/staking-templates/templates/reputationLock/v0/index.d.ts.map +0 -1
  689. package/dist/src/staking-templates/templates/reputationLock/v0/index.js +0 -25
  690. package/dist/src/staking-templates/templates/reputationLock/v0/restake.d.ts +0 -65
  691. package/dist/src/staking-templates/templates/reputationLock/v0/restake.d.ts.map +0 -1
  692. package/dist/src/staking-templates/templates/reputationLock/v0/restake.js +0 -44
  693. package/dist/src/staking-templates/templates/reputationLock/v0/stake.d.ts +0 -65
  694. package/dist/src/staking-templates/templates/reputationLock/v0/stake.d.ts.map +0 -1
  695. package/dist/src/staking-templates/templates/reputationLock/v0/stake.js +0 -46
  696. package/dist/src/staking-templates/templates/rwa/common.d.ts +0 -23
  697. package/dist/src/staking-templates/templates/rwa/common.d.ts.map +0 -1
  698. package/dist/src/staking-templates/templates/rwa/common.js +0 -3
  699. package/dist/src/staking-templates/templates/rwa/index.d.ts +0 -256
  700. package/dist/src/staking-templates/templates/rwa/index.d.ts.map +0 -1
  701. package/dist/src/staking-templates/templates/rwa/index.js +0 -4
  702. package/dist/src/staking-templates/templates/rwa/v0/createPlatform.d.ts +0 -81
  703. package/dist/src/staking-templates/templates/rwa/v0/createPlatform.d.ts.map +0 -1
  704. package/dist/src/staking-templates/templates/rwa/v0/createPlatform.js +0 -56
  705. package/dist/src/staking-templates/templates/rwa/v0/createPool.d.ts +0 -109
  706. package/dist/src/staking-templates/templates/rwa/v0/createPool.d.ts.map +0 -1
  707. package/dist/src/staking-templates/templates/rwa/v0/createPool.js +0 -79
  708. package/dist/src/staking-templates/templates/rwa/v0/index.d.ts +0 -256
  709. package/dist/src/staking-templates/templates/rwa/v0/index.d.ts.map +0 -1
  710. package/dist/src/staking-templates/templates/rwa/v0/index.js +0 -27
  711. package/dist/src/staking-templates/templates/rwa/v0/notifyRewards.d.ts +0 -61
  712. package/dist/src/staking-templates/templates/rwa/v0/notifyRewards.d.ts.map +0 -1
  713. package/dist/src/staking-templates/templates/rwa/v0/notifyRewards.js +0 -41
  714. package/dist/src/staking-templates/templates/rwa/v0/restake.d.ts +0 -61
  715. package/dist/src/staking-templates/templates/rwa/v0/restake.d.ts.map +0 -1
  716. package/dist/src/staking-templates/templates/rwa/v0/restake.js +0 -40
  717. package/dist/src/staking-templates/templates/rwa/v0/stake.d.ts +0 -61
  718. package/dist/src/staking-templates/templates/rwa/v0/stake.d.ts.map +0 -1
  719. package/dist/src/staking-templates/templates/rwa/v0/stake.js +0 -45
  720. package/dist/staking/platforms/common/platformNotFound.d.ts +0 -9
  721. package/dist/staking/platforms/common/platformNotFound.d.ts.map +0 -1
  722. package/dist/staking/platforms/common/platformNotFound.js +0 -13
  723. package/dist/staking/pools/common/poolNotFound.d.ts +0 -10
  724. package/dist/staking/pools/common/poolNotFound.d.ts.map +0 -1
  725. package/dist/staking/pools/common/poolNotFound.js +0 -14
  726. package/dist/staking/stakes/common/stakeNotFound.d.ts +0 -9
  727. package/dist/staking/stakes/common/stakeNotFound.d.ts.map +0 -1
  728. package/dist/staking/stakes/common/stakeNotFound.js +0 -13
  729. package/dist/staking-templates/index.d.ts +0 -732
  730. package/dist/staking-templates/index.d.ts.map +0 -1
  731. package/dist/staking-templates/index.js +0 -18
  732. package/dist/staking-templates/templates/common/amount.d.ts +0 -7
  733. package/dist/staking-templates/templates/common/amount.d.ts.map +0 -1
  734. package/dist/staking-templates/templates/common/amount.js +0 -15
  735. package/dist/staking-templates/templates/common/amountMult.d.ts +0 -3
  736. package/dist/staking-templates/templates/common/amountMult.d.ts.map +0 -1
  737. package/dist/staking-templates/templates/common/amountMult.js +0 -22
  738. package/dist/staking-templates/templates/common/erc20Input.d.ts +0 -6
  739. package/dist/staking-templates/templates/common/erc20Input.d.ts.map +0 -1
  740. package/dist/staking-templates/templates/common/erc20Input.js +0 -14
  741. package/dist/staking-templates/templates/common/erc20Reward.d.ts +0 -6
  742. package/dist/staking-templates/templates/common/erc20Reward.d.ts.map +0 -1
  743. package/dist/staking-templates/templates/common/erc20Reward.js +0 -13
  744. package/dist/staking-templates/templates/common/getCreatePoolEvent.d.ts +0 -31
  745. package/dist/staking-templates/templates/common/getCreatePoolEvent.d.ts.map +0 -1
  746. package/dist/staking-templates/templates/common/getCreatePoolEvent.js +0 -47
  747. package/dist/staking-templates/templates/common/getPlatformDeployEvent.d.ts +0 -40
  748. package/dist/staking-templates/templates/common/getPlatformDeployEvent.d.ts.map +0 -1
  749. package/dist/staking-templates/templates/common/getPlatformDeployEvent.js +0 -46
  750. package/dist/staking-templates/templates/common/getReward.d.ts +0 -58
  751. package/dist/staking-templates/templates/common/getReward.d.ts.map +0 -1
  752. package/dist/staking-templates/templates/common/getReward.js +0 -34
  753. package/dist/staking-templates/templates/common/getStakeEvent.d.ts +0 -31
  754. package/dist/staking-templates/templates/common/getStakeEvent.d.ts.map +0 -1
  755. package/dist/staking-templates/templates/common/getStakeEvent.js +0 -51
  756. package/dist/staking-templates/templates/common/lock.d.ts +0 -6
  757. package/dist/staking-templates/templates/common/lock.d.ts.map +0 -1
  758. package/dist/staking-templates/templates/common/lock.js +0 -18
  759. package/dist/staking-templates/templates/common/lockMult.d.ts +0 -3
  760. package/dist/staking-templates/templates/common/lockMult.d.ts.map +0 -1
  761. package/dist/staking-templates/templates/common/lockMult.js +0 -14
  762. package/dist/staking-templates/templates/common/partialUnstake.d.ts +0 -62
  763. package/dist/staking-templates/templates/common/partialUnstake.d.ts.map +0 -1
  764. package/dist/staking-templates/templates/common/partialUnstake.js +0 -39
  765. package/dist/staking-templates/templates/common/rewardDistribution.d.ts +0 -7
  766. package/dist/staking-templates/templates/common/rewardDistribution.d.ts.map +0 -1
  767. package/dist/staking-templates/templates/common/rewardDistribution.js +0 -16
  768. package/dist/staking-templates/templates/common/templates.d.ts +0 -61
  769. package/dist/staking-templates/templates/common/templates.d.ts.map +0 -1
  770. package/dist/staking-templates/templates/common/templates.js +0 -8
  771. package/dist/staking-templates/templates/common/time.d.ts +0 -2
  772. package/dist/staking-templates/templates/common/time.d.ts.map +0 -1
  773. package/dist/staking-templates/templates/common/time.js +0 -4
  774. package/dist/staking-templates/templates/common/unstake.d.ts +0 -58
  775. package/dist/staking-templates/templates/common/unstake.d.ts.map +0 -1
  776. package/dist/staking-templates/templates/common/unstake.js +0 -34
  777. package/dist/staking-templates/templates/reputation/common.d.ts +0 -23
  778. package/dist/staking-templates/templates/reputation/common.d.ts.map +0 -1
  779. package/dist/staking-templates/templates/reputation/common.js +0 -3
  780. package/dist/staking-templates/templates/reputation/index.d.ts +0 -233
  781. package/dist/staking-templates/templates/reputation/index.d.ts.map +0 -1
  782. package/dist/staking-templates/templates/reputation/index.js +0 -4
  783. package/dist/staking-templates/templates/reputation/v0/createPlatform.d.ts +0 -81
  784. package/dist/staking-templates/templates/reputation/v0/createPlatform.d.ts.map +0 -1
  785. package/dist/staking-templates/templates/reputation/v0/createPlatform.js +0 -56
  786. package/dist/staking-templates/templates/reputation/v0/createPool.d.ts +0 -113
  787. package/dist/staking-templates/templates/reputation/v0/createPool.d.ts.map +0 -1
  788. package/dist/staking-templates/templates/reputation/v0/createPool.js +0 -85
  789. package/dist/staking-templates/templates/reputation/v0/index.d.ts +0 -233
  790. package/dist/staking-templates/templates/reputation/v0/index.d.ts.map +0 -1
  791. package/dist/staking-templates/templates/reputation/v0/index.js +0 -25
  792. package/dist/staking-templates/templates/reputation/v0/restake.d.ts +0 -61
  793. package/dist/staking-templates/templates/reputation/v0/restake.d.ts.map +0 -1
  794. package/dist/staking-templates/templates/reputation/v0/restake.js +0 -40
  795. package/dist/staking-templates/templates/reputation/v0/stake.d.ts +0 -61
  796. package/dist/staking-templates/templates/reputation/v0/stake.d.ts.map +0 -1
  797. package/dist/staking-templates/templates/reputation/v0/stake.js +0 -45
  798. package/dist/staking-templates/templates/reputationLock/common.d.ts +0 -23
  799. package/dist/staking-templates/templates/reputationLock/common.d.ts.map +0 -1
  800. package/dist/staking-templates/templates/reputationLock/common.js +0 -3
  801. package/dist/staking-templates/templates/reputationLock/index.d.ts +0 -244
  802. package/dist/staking-templates/templates/reputationLock/index.d.ts.map +0 -1
  803. package/dist/staking-templates/templates/reputationLock/index.js +0 -4
  804. package/dist/staking-templates/templates/reputationLock/v0/createPlatform.d.ts +0 -81
  805. package/dist/staking-templates/templates/reputationLock/v0/createPlatform.d.ts.map +0 -1
  806. package/dist/staking-templates/templates/reputationLock/v0/createPlatform.js +0 -56
  807. package/dist/staking-templates/templates/reputationLock/v0/createPool.d.ts +0 -149
  808. package/dist/staking-templates/templates/reputationLock/v0/createPool.d.ts.map +0 -1
  809. package/dist/staking-templates/templates/reputationLock/v0/createPool.js +0 -99
  810. package/dist/staking-templates/templates/reputationLock/v0/index.d.ts +0 -244
  811. package/dist/staking-templates/templates/reputationLock/v0/index.d.ts.map +0 -1
  812. package/dist/staking-templates/templates/reputationLock/v0/index.js +0 -25
  813. package/dist/staking-templates/templates/reputationLock/v0/restake.d.ts +0 -65
  814. package/dist/staking-templates/templates/reputationLock/v0/restake.d.ts.map +0 -1
  815. package/dist/staking-templates/templates/reputationLock/v0/restake.js +0 -44
  816. package/dist/staking-templates/templates/reputationLock/v0/stake.d.ts +0 -65
  817. package/dist/staking-templates/templates/reputationLock/v0/stake.d.ts.map +0 -1
  818. package/dist/staking-templates/templates/reputationLock/v0/stake.js +0 -46
  819. package/dist/staking-templates/templates/rwa/common.d.ts +0 -23
  820. package/dist/staking-templates/templates/rwa/common.d.ts.map +0 -1
  821. package/dist/staking-templates/templates/rwa/common.js +0 -3
  822. package/dist/staking-templates/templates/rwa/index.d.ts +0 -256
  823. package/dist/staking-templates/templates/rwa/index.d.ts.map +0 -1
  824. package/dist/staking-templates/templates/rwa/index.js +0 -4
  825. package/dist/staking-templates/templates/rwa/v0/createPlatform.d.ts +0 -81
  826. package/dist/staking-templates/templates/rwa/v0/createPlatform.d.ts.map +0 -1
  827. package/dist/staking-templates/templates/rwa/v0/createPlatform.js +0 -56
  828. package/dist/staking-templates/templates/rwa/v0/createPool.d.ts +0 -109
  829. package/dist/staking-templates/templates/rwa/v0/createPool.d.ts.map +0 -1
  830. package/dist/staking-templates/templates/rwa/v0/createPool.js +0 -79
  831. package/dist/staking-templates/templates/rwa/v0/distributeRewards.d.ts +0 -61
  832. package/dist/staking-templates/templates/rwa/v0/distributeRewards.d.ts.map +0 -1
  833. package/dist/staking-templates/templates/rwa/v0/distributeRewards.js +0 -41
  834. package/dist/staking-templates/templates/rwa/v0/index.d.ts +0 -256
  835. package/dist/staking-templates/templates/rwa/v0/index.d.ts.map +0 -1
  836. package/dist/staking-templates/templates/rwa/v0/index.js +0 -27
  837. package/dist/staking-templates/templates/rwa/v0/notifyRewards.d.ts +0 -61
  838. package/dist/staking-templates/templates/rwa/v0/notifyRewards.d.ts.map +0 -1
  839. package/dist/staking-templates/templates/rwa/v0/notifyRewards.js +0 -41
  840. package/dist/staking-templates/templates/rwa/v0/restake.d.ts +0 -61
  841. package/dist/staking-templates/templates/rwa/v0/restake.d.ts.map +0 -1
  842. package/dist/staking-templates/templates/rwa/v0/restake.js +0 -40
  843. package/dist/staking-templates/templates/rwa/v0/stake.d.ts +0 -61
  844. package/dist/staking-templates/templates/rwa/v0/stake.d.ts.map +0 -1
  845. package/dist/staking-templates/templates/rwa/v0/stake.js +0 -45
  846. package/dist/v0/fractions/index.d.ts +0 -129
  847. package/dist/v0/fractions/index.d.ts.map +0 -1
  848. package/dist/v0/fractions/index.js +0 -9
  849. package/dist/v0/fractions/networkStatistics.route.d.ts +0 -297
  850. package/dist/v0/fractions/networkStatistics.route.d.ts.map +0 -1
  851. package/dist/v0/fractions/networkStatistics.route.js +0 -225
  852. package/dist/v1/fractions/lending/buyback/buyback.routes.d.ts +0 -65
  853. package/dist/v1/fractions/lending/buyback/buyback.routes.d.ts.map +0 -1
  854. package/dist/v1/fractions/lending/buyback/buyback.routes.js +0 -27
  855. package/dist/v1/fractions/lending/buyback/buyback.schema.d.ts +0 -8
  856. package/dist/v1/fractions/lending/buyback/buyback.schema.d.ts.map +0 -1
  857. package/dist/v1/fractions/lending/buyback/buyback.schema.js +0 -13
  858. package/dist/v1/fractions/lending/createLendingSale.d.ts +0 -303
  859. package/dist/v1/fractions/lending/createLendingSale.d.ts.map +0 -1
  860. package/dist/v1/fractions/lending/createLendingSale.js +0 -79
  861. package/dist/v1/fractions/lending/deployMarket/lending.routes.d.ts +0 -113
  862. package/dist/v1/fractions/lending/deployMarket/lending.routes.d.ts.map +0 -1
  863. package/dist/v1/fractions/lending/deployMarket/lending.routes.js +0 -41
  864. package/dist/v1/fractions/lending/index.d.ts +0 -192
  865. package/dist/v1/fractions/lending/index.d.ts.map +0 -1
  866. package/dist/v1/fractions/lending/index.js +0 -22
  867. package/dist/v1/fractions/lending/purchase/directPurchase.route.d.ts +0 -71
  868. package/dist/v1/fractions/lending/purchase/directPurchase.route.d.ts.map +0 -1
  869. package/dist/v1/fractions/lending/purchase/directPurchase.route.js +0 -31
  870. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts +0 -61
  871. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts.map +0 -1
  872. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.routes.js +0 -27
  873. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts +0 -7
  874. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts.map +0 -1
  875. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.js +0 -11
  876. package/dist/v1/fractions/schemas.d.ts +0 -20
  877. package/dist/v1/fractions/schemas.d.ts.map +0 -1
  878. package/dist/v1/fractions/schemas.js +0 -20
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/staking-templates/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAMvC,eAAO,MAAM,mBAAmB;;gBAElB,CAAC,SAAS,GAAG,WAAW,OAAO,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAe/C,CAAC"}
@@ -1,18 +0,0 @@
1
- import { createApiConfig } from "../common/app.js";
2
- import { createRWATemplateApp } from "./templates/rwa/index.js";
3
- import { createReputationTemplateApp } from "./templates/reputation/index.js";
4
- import { createReputationLockTemplateApp } from "./templates/reputationLock/index.js";
5
- export const stakingTemplatesApi = {
6
- name: "Staking Templates",
7
- createApp: (factory) => factory
8
- .createApp()
9
- .route("/stakingTemplates", factory
10
- .createApp()
11
- .route("/reputation", createReputationTemplateApp(factory))
12
- .route("/reputationLock", createReputationLockTemplateApp(factory))
13
- .route("/rwa", createRWATemplateApp(factory))),
14
- config: createApiConfig({
15
- title: "Staking Templates API",
16
- description: "Staking Templates API for Decentralized finance",
17
- }),
18
- };
@@ -1,13 +0,0 @@
1
- import { z } from "../../../common/zod.js";
2
- export declare const AmountHardCapSchema: z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBigInt]>, z.ZodBigInt>;
3
- export declare const AmountTwoBorderSchema: z.ZodObject<{
4
- minAmount: z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBigInt]>, z.ZodBigInt>;
5
- maxAmount: z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBigInt]>, z.ZodBigInt>;
6
- }, "strip", z.ZodTypeAny, {
7
- minAmount: bigint;
8
- maxAmount: bigint;
9
- }, {
10
- minAmount: string | number | bigint;
11
- maxAmount: string | number | bigint;
12
- }>;
13
- //# sourceMappingURL=amount.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"amount.d.ts","sourceRoot":"","sources":["../../../../../src/staking-templates/templates/common/amount.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AAE3C,eAAO,MAAM,mBAAmB,iFAE9B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;EAa9B,CAAC"}
@@ -1,17 +0,0 @@
1
- import { Int256Positive } from "@evergonlabs/tmi-utils/models";
2
- import { z } from "../../../common/zod.js";
3
- export const AmountHardCapSchema = Int256Positive.openapi({
4
- description: `The maximum number (uint256) of input Packets that can be allocated to the campaign.\n\nIf 0, then no upper limit is enforced on the specified campaign.`,
5
- });
6
- export const AmountTwoBorderSchema = z
7
- .object({
8
- minAmount: Int256Positive.openapi({
9
- description: "The minimum number (uint256) of input packets required to create and maintain a position within the campaign must be less than or equal to maxAmount.",
10
- }),
11
- maxAmount: Int256Positive.openapi({
12
- description: "The maximum number (uint256) of input packets that a position can support within the campaign. must be strictly greater than 0 (if no upper limit is required, use safe uint256 value.",
13
- }),
14
- })
15
- .openapi({
16
- ref: "AmountTwoBorder",
17
- });
@@ -1,3 +0,0 @@
1
- import { z } from "../../../common/zod.js";
2
- export declare const AmountMultIntervalSchema: z.ZodArray<z.ZodTuple<[z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBigInt]>, z.ZodBigInt>, z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBigInt]>, z.ZodBigInt>], null>, "many">;
3
- //# sourceMappingURL=amountMult.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"amountMult.d.ts","sourceRoot":"","sources":["../../../../../src/staking-templates/templates/common/amountMult.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AAG3C,eAAO,MAAM,wBAAwB,0MAoBnC,CAAC"}
@@ -1,23 +0,0 @@
1
- import { z } from "../../../common/zod.js";
2
- import { Int256Positive } from "@evergonlabs/tmi-utils/models";
3
- export const AmountMultIntervalSchema = z.array(z.tuple([Int256Positive, Int256Positive])).openapi({
4
- ref: "AmountMultInterval",
5
- description: `An array of tuples where:
6
- 1st element: An amount of Packets defining thresholds for amount-based multipliers.
7
- 2nd element: A respective multiplier values for each threshold.
8
-
9
- Example of an interval-based schema configuration: If packetsAndMultipliers = \`[[100, 2], [300, 4]]\`:
10
- A position with less than 100 staked packets will receive an amount multiplier of 1 (no multiplier).
11
- A position with staked packets between 100 and 299 will receive an amount multiplier of 2.
12
- A position with staked packets 300 or more will receive an amount multiplier of 4.
13
-
14
- In addition to amount-wise scaling of rewards, staking campaigns may also scale
15
- rewards based on the lock period (i.e., lock multipliers).
16
-
17
- This implementation focuses solely on staked amount scaling, ensuring that
18
- positions receive rewards according to the interval-based amount multiplier
19
- schema defined by the associated campaign.
20
-
21
- IMPORTANT: \`All values must be in strictly increasing order\`
22
- `,
23
- });
@@ -1,12 +0,0 @@
1
- import { z } from "../../../common/zod.js";
2
- export declare const Erc20InputSchema: z.ZodObject<{
3
- contract: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
4
- amountOfTokensPerPacket: z.ZodPipeline<z.ZodString, z.ZodBigInt>;
5
- }, "strip", z.ZodTypeAny, {
6
- contract: `0x${string}`;
7
- amountOfTokensPerPacket: bigint;
8
- }, {
9
- contract: `0x${string}`;
10
- amountOfTokensPerPacket: string;
11
- }>;
12
- //# sourceMappingURL=erc20Input.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"erc20Input.d.ts","sourceRoot":"","sources":["../../../../../src/staking-templates/templates/common/erc20Input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AAG3C,eAAO,MAAM,gBAAgB;;;;;;;;;EAazB,CAAC"}
@@ -1,16 +0,0 @@
1
- import { z } from "../../../common/zod.js";
2
- import { AddressSchema } from "../../../common/index.js";
3
- export const Erc20InputSchema = z
4
- .object({
5
- contract: AddressSchema.openapi({
6
- description: "An address of the ERC20 token encapsulated by the Input Packet.",
7
- }),
8
- amountOfTokensPerPacket: z.string().pipe(z.coerce.bigint()).openapi({
9
- type: "string",
10
- description: "Amount of tokens per Packet (using Wei)",
11
- }),
12
- })
13
- .openapi({
14
- ref: "Erc20Input",
15
- description: "Address and amount of tokens per Packet to be used as an Input for a Staking Pool",
16
- });
@@ -1,12 +0,0 @@
1
- import { z } from "../../../common/zod.js";
2
- export declare const Erc20RewardSchema: z.ZodObject<{
3
- contract: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
4
- amountOfTokensPerPacket: z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBigInt]>, z.ZodBigInt>;
5
- }, "strip", z.ZodTypeAny, {
6
- contract: `0x${string}`;
7
- amountOfTokensPerPacket: bigint;
8
- }, {
9
- contract: `0x${string}`;
10
- amountOfTokensPerPacket: string | number | bigint;
11
- }>;
12
- //# sourceMappingURL=erc20Reward.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"erc20Reward.d.ts","sourceRoot":"","sources":["../../../../../src/staking-templates/templates/common/erc20Reward.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AAI3C,eAAO,MAAM,iBAAiB;;;;;;;;;EAY1B,CAAC"}
@@ -1,16 +0,0 @@
1
- import { z } from "../../../common/zod.js";
2
- import { AddressSchema } from "../../../common/index.js";
3
- import { Int256Positive } from "@evergonlabs/tmi-utils/models";
4
- export const Erc20RewardSchema = z
5
- .object({
6
- contract: AddressSchema.openapi({
7
- description: `An address of the ERC20 token encapsulated by the reward Packet.`,
8
- }),
9
- amountOfTokensPerPacket: Int256Positive.openapi({
10
- description: `Amount of tokens per Packet \n\nIMPORTANT: should be parsed with each token's decimal precision (using wei values)`,
11
- }),
12
- })
13
- .openapi({
14
- ref: "Erc20Reward",
15
- description: "Address and amount of tokens per Packet to be used as a Reward for a staking Pool",
16
- });
@@ -1,31 +0,0 @@
1
- import { Env } from "hono";
2
- import { Factory } from "hono/factory";
3
- import { ITemplateHelper } from "./templates.js";
4
- export declare function createGetCreatePoolEventRoute<E extends Env>(factory: Factory<E>, template: ITemplateHelper): [import("hono/types").H<any, string, {}, Promise<Response & import("hono").TypedResponse<never, 200, "json">>>, import("hono/types").H<Env, string, {
5
- in: {
6
- query: {
7
- chainId: "11155111" | "31337";
8
- hash: `0x${string}`;
9
- };
10
- };
11
- out: {
12
- query: {
13
- chainId: "11155111" | "31337";
14
- hash: `0x${string}`;
15
- };
16
- };
17
- }, Promise<Response & import("hono").TypedResponse<never, 200, "json">>>, import("hono/types").H<import("hono/utils/types").IfAnyThenEmptyObject<E extends Env ? Env extends E ? {} : E : E> & {}, string, {
18
- in: {
19
- query: {
20
- chainId: "11155111" | "31337";
21
- hash: `0x${string}`;
22
- };
23
- };
24
- out: {
25
- query: {
26
- chainId: "11155111" | "31337";
27
- hash: `0x${string}`;
28
- };
29
- };
30
- }, Promise<Response & import("hono").TypedResponse<never, 200, "json">>>];
31
- //# sourceMappingURL=getCreatePoolEvent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getCreatePoolEvent.d.ts","sourceRoot":"","sources":["../../../../../src/staking-templates/templates/common/getCreatePoolEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAQvC,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGjD,wBAAgB,6BAA6B,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;0EAoC1G"}
@@ -1,47 +0,0 @@
1
- import { describeRoute } from "hono-openapi";
2
- import { resolver, validator } from "hono-openapi/zod";
3
- import { waitForTransactionReceipt } from "viem/actions";
4
- import { parseAssetManagersDeployEvent } from "@evergonlabs/tmi-protocol-staking-sdk";
5
- import { AddressSchema, PoolIdSchema, SentTransactionParamsSchema } from "../../../common/index.js";
6
- import { getPublicClient } from "../../../common/blockchain.js";
7
- import { HttpError } from "../../../common/http-error.js";
8
- import { z } from "../../../common/zod.js";
9
- export function createGetCreatePoolEventRoute(factory, template) {
10
- return factory.createHandlers(describeRoute({
11
- summary: "Get Pool Create Event",
12
- description: `Gets the transaction by hash and parses emitted logs.\n\nProvided transaction must be a transaction emitted with corresponding \`createPool\` action`,
13
- tags: [template.tag.tag],
14
- responses: {
15
- 200: {
16
- description: "Details of the created pool",
17
- content: {
18
- "application/json": {
19
- schema: resolver(z.object({
20
- poolId: PoolIdSchema,
21
- rewardAssetHandler: AddressSchema,
22
- inputAssetKeeper: AddressSchema,
23
- })),
24
- },
25
- },
26
- },
27
- },
28
- }), validator("query", SentTransactionParamsSchema), async (c) => {
29
- const params = c.req.valid("query");
30
- const receipt = await waitForTransactionReceipt(getPublicClient(params.chainId), {
31
- hash: params.hash,
32
- });
33
- const result = parseAssetManagersDeployEvent(template.template, receipt.logs);
34
- if (!result) {
35
- throw new UnableParseCreatePoolEvent();
36
- }
37
- return c.json(result, 200);
38
- });
39
- }
40
- class UnableParseCreatePoolEvent extends HttpError {
41
- constructor() {
42
- super(500, {
43
- message: `Can't parse pool create transaction. Make sure you're passing transaction that is generated by \`createPool\` action`,
44
- name: "UnableParseCreatePoolEvent",
45
- });
46
- }
47
- }
@@ -1,40 +0,0 @@
1
- import { Env } from "hono";
2
- import { Factory } from "hono/factory";
3
- import { ITemplateHelper } from "./templates.js";
4
- export declare function createGetPlatformDeployEventRoute<E extends Env>(factory: Factory<E>, template: ITemplateHelper): [import("hono/types").H<any, string, {}, Promise<Response & import("hono").TypedResponse<{
5
- diamondAddress: `0x${string}`;
6
- admin: `0x${string}`;
7
- }, 200, "json">>>, import("hono/types").H<Env, string, {
8
- in: {
9
- query: {
10
- chainId: "11155111" | "31337";
11
- hash: `0x${string}`;
12
- };
13
- };
14
- out: {
15
- query: {
16
- chainId: "11155111" | "31337";
17
- hash: `0x${string}`;
18
- };
19
- };
20
- }, Promise<Response & import("hono").TypedResponse<{
21
- diamondAddress: `0x${string}`;
22
- admin: `0x${string}`;
23
- }, 200, "json">>>, import("hono/types").H<import("hono/utils/types").IfAnyThenEmptyObject<E extends Env ? Env extends E ? {} : E : E> & {}, string, {
24
- in: {
25
- query: {
26
- chainId: "11155111" | "31337";
27
- hash: `0x${string}`;
28
- };
29
- };
30
- out: {
31
- query: {
32
- chainId: "11155111" | "31337";
33
- hash: `0x${string}`;
34
- };
35
- };
36
- }, Promise<Response & import("hono").TypedResponse<{
37
- diamondAddress: `0x${string}`;
38
- admin: `0x${string}`;
39
- }, 200, "json">>>];
40
- //# sourceMappingURL=getPlatformDeployEvent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getPlatformDeployEvent.d.ts","sourceRoot":"","sources":["../../../../../src/staking-templates/templates/common/getPlatformDeployEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AASvC,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEjD,wBAAgB,iCAAiC,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAmC9G"}
@@ -1,46 +0,0 @@
1
- import { describeRoute } from "hono-openapi";
2
- import { resolver, validator } from "hono-openapi/zod";
3
- import { parseDeployDiamondEvent } from "@evergonlabs/tmi-protocol-staking-sdk";
4
- import { waitForTransactionReceipt } from "viem/actions";
5
- import { AddressSchema, SentTransactionParamsSchema } from "../../../common/index.js";
6
- import { getPublicClient } from "../../../common/blockchain.js";
7
- import { HttpError } from "../../../common/http-error.js";
8
- import { z } from "../../../common/zod.js";
9
- export function createGetPlatformDeployEventRoute(factory, template) {
10
- return factory.createHandlers(describeRoute({
11
- summary: "Get Platform Deploy Event",
12
- description: `Gets the transaction by hash and parses emitted logs.\n\nProvided transaction must be a transaction emitted with corresponding \`createPlatform\` action`,
13
- tags: [template.tag.tag],
14
- responses: {
15
- 200: {
16
- description: "Returns estimated gas or estimation error",
17
- content: {
18
- "application/json": {
19
- schema: resolver(z.object({
20
- diamondAddress: AddressSchema,
21
- admin: AddressSchema,
22
- })),
23
- },
24
- },
25
- },
26
- },
27
- }), validator("query", SentTransactionParamsSchema), async (c) => {
28
- const params = c.req.valid("query");
29
- const receipt = await waitForTransactionReceipt(getPublicClient(params.chainId), {
30
- hash: params.hash,
31
- });
32
- const result = parseDeployDiamondEvent(receipt.logs);
33
- if (!result) {
34
- throw new UnableParsePlatformDeployEvent();
35
- }
36
- return c.json(result, 200);
37
- });
38
- }
39
- class UnableParsePlatformDeployEvent extends HttpError {
40
- constructor() {
41
- super(500, {
42
- message: `Can't parse platform deployment transaction. Make sure you're passing transaction that is generated by \`createPlatform\` action`,
43
- name: "UnableParsePlatformDeployEvent",
44
- });
45
- }
46
- }
@@ -1,58 +0,0 @@
1
- import { Factory } from "hono/factory";
2
- import { Env } from "hono";
3
- import { ITemplateHelper } from "./templates.js";
4
- export declare function createGetRewardRoute<E extends Env>(factory: Factory<E>, template: ITemplateHelper): [import("hono/types").H<any, string, {}, Promise<Response & import("hono").TypedResponse<{
5
- data: `0x${string}`;
6
- to: `0x${string}`;
7
- details: {
8
- functionName: string;
9
- address: `0x${string}`;
10
- abi: any[];
11
- args: any[];
12
- };
13
- }, 200, "json">>>, import("hono/types").H<Env, string, {
14
- in: {
15
- json: {
16
- platform: `0x${string}`;
17
- stakeId: string | number | bigint;
18
- };
19
- };
20
- out: {
21
- json: {
22
- platform: `0x${string}`;
23
- stakeId: bigint;
24
- };
25
- };
26
- }, Promise<Response & import("hono").TypedResponse<{
27
- data: `0x${string}`;
28
- to: `0x${string}`;
29
- details: {
30
- functionName: string;
31
- address: `0x${string}`;
32
- abi: any[];
33
- args: any[];
34
- };
35
- }, 200, "json">>>, import("hono/types").H<import("hono/utils/types").IfAnyThenEmptyObject<E extends Env ? Env extends E ? {} : E : E> & {}, string, {
36
- in: {
37
- json: {
38
- platform: `0x${string}`;
39
- stakeId: string | number | bigint;
40
- };
41
- };
42
- out: {
43
- json: {
44
- platform: `0x${string}`;
45
- stakeId: bigint;
46
- };
47
- };
48
- }, Promise<Response & import("hono").TypedResponse<{
49
- data: `0x${string}`;
50
- to: `0x${string}`;
51
- details: {
52
- functionName: string;
53
- address: `0x${string}`;
54
- abi: any[];
55
- args: any[];
56
- };
57
- }, 200, "json">>>];
58
- //# sourceMappingURL=getReward.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getReward.d.ts","sourceRoot":"","sources":["../../../../../src/staking-templates/templates/common/getReward.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAM3B,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEjD,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAmCjG"}
@@ -1,34 +0,0 @@
1
- import { describeRoute } from "hono-openapi";
2
- import { resolver, validator } from "hono-openapi/zod";
3
- import { z } from "../../../common/zod.js";
4
- import { getReward } from "@evergonlabs/tmi-protocol-staking-sdk";
5
- import { PlatformContractAddress, StakeIdSchema, toTransaction, TransactionSchema } from "../../../common/index.js";
6
- export function createGetRewardRoute(factory, template) {
7
- return factory.createHandlers(describeRoute({
8
- summary: "Get Reward",
9
- description: "Generates a transaction for claiming all accumulated Rewards",
10
- tags: [template.tag.tag],
11
- responses: {
12
- 200: {
13
- description: "Compiled Get Rewards transaction details",
14
- content: {
15
- "application/json": {
16
- schema: resolver(TransactionSchema),
17
- },
18
- },
19
- },
20
- },
21
- }), validator("json", z.object({
22
- platform: PlatformContractAddress,
23
- stakeId: StakeIdSchema,
24
- })), async (c) => {
25
- const { platform, stakeId } = c.req.valid("json");
26
- const deployed = getReward(template.template, {
27
- platform: platform,
28
- data: {
29
- stakeId: stakeId,
30
- },
31
- });
32
- return c.json(toTransaction(deployed), 200);
33
- });
34
- }
@@ -1,31 +0,0 @@
1
- import { Factory } from "hono/factory";
2
- import { Env } from "hono";
3
- import { ITemplateHelper } from "./templates.js";
4
- export declare function createStakeEventRoute<E extends Env>(factory: Factory<E>, template: ITemplateHelper): [import("hono/types").H<any, string, {}, Promise<Response & import("hono").TypedResponse<never, 200, "json">>>, import("hono/types").H<Env, string, {
5
- in: {
6
- query: {
7
- chainId: "11155111" | "31337";
8
- hash: `0x${string}`;
9
- };
10
- };
11
- out: {
12
- query: {
13
- chainId: "11155111" | "31337";
14
- hash: `0x${string}`;
15
- };
16
- };
17
- }, Promise<Response & import("hono").TypedResponse<never, 200, "json">>>, import("hono/types").H<import("hono/utils/types").IfAnyThenEmptyObject<E extends Env ? Env extends E ? {} : E : E> & {}, string, {
18
- in: {
19
- query: {
20
- chainId: "11155111" | "31337";
21
- hash: `0x${string}`;
22
- };
23
- };
24
- out: {
25
- query: {
26
- chainId: "11155111" | "31337";
27
- hash: `0x${string}`;
28
- };
29
- };
30
- }, Promise<Response & import("hono").TypedResponse<never, 200, "json">>>];
31
- //# sourceMappingURL=getStakeEvent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getStakeEvent.d.ts","sourceRoot":"","sources":["../../../../../src/staking-templates/templates/common/getStakeEvent.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAM3B,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGjD,wBAAgB,qBAAqB,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;0EAwClG"}
@@ -1,51 +0,0 @@
1
- import { describeRoute } from "hono-openapi";
2
- import { resolver, validator } from "hono-openapi/zod";
3
- import { parseStakeEvent } from "@evergonlabs/tmi-protocol-staking-sdk";
4
- import { AddressSchema, PoolIdSchema, SentTransactionParamsSchema, StakeIdSchema } from "../../../common/index.js";
5
- import { z } from "../../../common/zod.js";
6
- import { getPublicClient } from "../../../common/blockchain.js";
7
- import { HttpError } from "../../../common/http-error.js";
8
- import { waitForTransactionReceipt } from "viem/actions";
9
- export function createStakeEventRoute(factory, template) {
10
- return factory.createHandlers(describeRoute({
11
- summary: "Get Stake Event",
12
- description: `Gets the transaction by hash and parses emitted logs.\n\nProvided transaction must be a transaction emitted with corresponding \`stake\` action`,
13
- tags: [template.tag.tag],
14
- responses: {
15
- 200: {
16
- description: "Details of the created stake position",
17
- content: {
18
- "application/json": {
19
- schema: resolver(z.object({
20
- poolId: PoolIdSchema,
21
- stakeId: StakeIdSchema,
22
- operator: AddressSchema,
23
- owner: AddressSchema,
24
- // inputPacketsStaked: result.args.inputPacketsStaked,
25
- // stakeStartActiveTimestamp: result.args.stakeStartActiveTimestamp,
26
- // unlockTimestamp: result.args.unlockTimestamp,
27
- })),
28
- },
29
- },
30
- },
31
- },
32
- }), validator("query", SentTransactionParamsSchema), async (c) => {
33
- const params = c.req.valid("query");
34
- const receipt = await waitForTransactionReceipt(getPublicClient(params.chainId), {
35
- hash: params.hash,
36
- });
37
- const result = parseStakeEvent(template.template, receipt.logs);
38
- if (!result) {
39
- throw new UnableParseStakeEvent();
40
- }
41
- return c.json(result, 200);
42
- });
43
- }
44
- class UnableParseStakeEvent extends HttpError {
45
- constructor() {
46
- super(500, {
47
- message: `Can't parse stake transaction. Make sure you're passing transaction that is generated by \`stake\` action`,
48
- name: "UnableParseStakeEvent",
49
- });
50
- }
51
- }
@@ -1,12 +0,0 @@
1
- import { z } from "../../../common/zod.js";
2
- export declare const LockTwoBorderSchema: z.ZodObject<{
3
- minAcceptedLockPeriod: z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBigInt]>, z.ZodBigInt>;
4
- maxAcceptedLockPeriod: z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBigInt]>, z.ZodBigInt>;
5
- }, "strip", z.ZodTypeAny, {
6
- minAcceptedLockPeriod: bigint;
7
- maxAcceptedLockPeriod: bigint;
8
- }, {
9
- minAcceptedLockPeriod: string | number | bigint;
10
- maxAcceptedLockPeriod: string | number | bigint;
11
- }>;
12
- //# sourceMappingURL=lock.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lock.d.ts","sourceRoot":"","sources":["../../../../../src/staking-templates/templates/common/lock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AAG3C,eAAO,MAAM,mBAAmB;;;;;;;;;EAiB5B,CAAC"}
@@ -1,20 +0,0 @@
1
- import { z } from "../../../common/zod.js";
2
- import { Int256Positive } from "@evergonlabs/tmi-utils/models";
3
- export const LockTwoBorderSchema = z
4
- .object({
5
- minAcceptedLockPeriod: Int256Positive.openapi({
6
- description: `The minimum required time duration (in seconds), that staked assets must
7
- be locked when the positions are either created (stake) or increased (restake).
8
- \n\n
9
- Note: Must be less than or equal to maxAcceptedLockPeriod.`,
10
- }),
11
- maxAcceptedLockPeriod: Int256Positive.openapi({
12
- description: `The maximum allowed time duration (in seconds), that staked assets can be
13
- locked when the positions are either created (stake) or increased (restake).
14
- \n\n
15
- Note: Must be greater than 0 (if no upper limit is required, use max int 256).`,
16
- }),
17
- })
18
- .openapi({
19
- ref: "LockTwoBorder",
20
- });
@@ -1,3 +0,0 @@
1
- import { z } from "../../../common/zod.js";
2
- export declare const LockMultIntervalSchema: z.ZodArray<z.ZodTuple<[z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBigInt]>, z.ZodBigInt>, z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBigInt]>, z.ZodBigInt>], null>, "many">;
3
- //# sourceMappingURL=lockMult.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lockMult.d.ts","sourceRoot":"","sources":["../../../../../src/staking-templates/templates/common/lockMult.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AAG3C,eAAO,MAAM,sBAAsB,0MAYjC,CAAC"}
@@ -1,15 +0,0 @@
1
- import { z } from "../../../common/zod.js";
2
- import { Int256Positive } from "@evergonlabs/tmi-utils/models";
3
- export const LockMultIntervalSchema = z.array(z.tuple([Int256Positive, Int256Positive])).openapi({
4
- ref: "LockMultInterval",
5
- description: `An array of tuples where:
6
-
7
- 1st element: A time duration (in seconds) defining lock duration thresholds for lock-based multipliers.
8
- 2nd element: A respective multiplier values for each threshold.
9
- Example: If lockPeriods = [[100, 2], [300, 4]]
10
-
11
- A position with lock duration less than 100 seconds will receive a lock multiplier of 1 (no multiplier).
12
- A position with lock duration between 100 and 299 seconds will receive a lock multiplier of 2.
13
- A position with lock duration 300 seconds or more will receive a lock multiplier of 4.
14
- `,
15
- });