@evergonlabs/tmi-protocol-api 0.4.1 → 0.5.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 (247) hide show
  1. package/dist/app.d.ts +452 -152
  2. package/dist/app.d.ts.map +1 -1
  3. package/dist/app.js +4 -0
  4. package/dist/client.d.ts +500 -151
  5. package/dist/client.d.ts.map +1 -1
  6. package/dist/common/abis/erc20Whitelisted.d.ts +27 -12
  7. package/dist/common/abis/erc20Whitelisted.d.ts.map +1 -1
  8. package/dist/common/abis/erc20Whitelisted.js +192 -1
  9. package/dist/common/blockchain.d.ts +20 -26
  10. package/dist/common/blockchain.d.ts.map +1 -1
  11. package/dist/common/blockchain.js +22 -19
  12. package/dist/common/config.d.ts +43 -1
  13. package/dist/common/config.d.ts.map +1 -1
  14. package/dist/common/config.js +47 -25
  15. package/dist/common/context.d.ts +11 -0
  16. package/dist/common/context.d.ts.map +1 -0
  17. package/dist/common/context.js +0 -0
  18. package/dist/common/indexer/client.d.ts +3 -2
  19. package/dist/common/indexer/client.d.ts.map +1 -1
  20. package/dist/common/indexer/schemas.d.ts +1 -1
  21. package/dist/common/indexer/schemas.d.ts.map +1 -1
  22. package/dist/common/middleware/indexer.d.ts +3 -0
  23. package/dist/common/middleware/indexer.d.ts.map +1 -0
  24. package/dist/common/middleware/indexer.js +7 -0
  25. package/dist/common/models/asset.d.ts +4 -4
  26. package/dist/common/models/chainId.d.ts +3 -0
  27. package/dist/common/models/chainId.d.ts.map +1 -1
  28. package/dist/common/models/chainId.js +6 -14
  29. package/dist/common/models/numOrStr.d.ts +7 -0
  30. package/dist/common/models/numOrStr.d.ts.map +1 -0
  31. package/dist/common/models/numOrStr.js +11 -0
  32. package/dist/common/models/platform.d.ts +1 -1
  33. package/dist/common/models/platform.d.ts.map +1 -1
  34. package/dist/common/models/platform.js +1 -1
  35. package/dist/common/models/routes.d.ts +2 -2
  36. package/dist/common/models/transaction.d.ts +8 -8
  37. package/dist/common/models/transaction.d.ts.map +1 -1
  38. package/dist/common/models/transaction.js +1 -1
  39. package/dist/fractions/activity/searchActivity.route.d.ts +17 -17
  40. package/dist/fractions/activity/searchActivity.route.d.ts.map +1 -1
  41. package/dist/fractions/activity/searchActivity.route.js +1 -2
  42. package/dist/fractions/activity/utils.d.ts +8 -8
  43. package/dist/fractions/approveSale/v0/approveSale.route.d.ts +3 -3
  44. package/dist/fractions/approveWrapper/v0/approveWrapper.route.d.ts +9 -9
  45. package/dist/fractions/completeSale/v0/completeSale.route.d.ts +3 -3
  46. package/dist/fractions/createFractions/v0/createFractions.route.d.ts +19 -19
  47. package/dist/fractions/createFractions/v0/createFractions.schema.d.ts +20 -20
  48. package/dist/fractions/deployMarket/v0/deployMarket.routes.d.ts +25 -12
  49. package/dist/fractions/deployMarket/v0/deployMarket.routes.d.ts.map +1 -1
  50. package/dist/fractions/deployMarket/v0/deployMarket.routes.js +3 -2
  51. package/dist/fractions/deployMarket/v0/index.d.ts +3 -0
  52. package/dist/fractions/deployMarket/v0/index.d.ts.map +1 -0
  53. package/dist/fractions/deployMarket/v0/index.js +2 -0
  54. package/dist/fractions/deployMarket/v0/initNid.route.d.ts +3 -3
  55. package/dist/fractions/grantRole/v0/grantRole.route.d.ts +3 -3
  56. package/dist/fractions/index.d.ts +141 -77
  57. package/dist/fractions/index.d.ts.map +1 -1
  58. package/dist/fractions/index.js +5 -3
  59. package/dist/fractions/markets/common/platform.d.ts +11 -11
  60. package/dist/fractions/markets/getMarket/index.d.ts +19 -19
  61. package/dist/fractions/markets/getMarket/index.d.ts.map +1 -1
  62. package/dist/fractions/markets/getMarket/v0/getMarket.d.ts +17 -17
  63. package/dist/fractions/markets/getMarket/v0/getMarket.d.ts.map +1 -1
  64. package/dist/fractions/markets/getMarket/v0/getMarket.js +1 -2
  65. package/dist/fractions/markets/index.d.ts +22 -22
  66. package/dist/fractions/markets/index.d.ts.map +1 -1
  67. package/dist/fractions/markets/searchMarkets/index.d.ts +5 -5
  68. package/dist/fractions/markets/searchMarkets/index.d.ts.map +1 -1
  69. package/dist/fractions/markets/searchMarkets/v0/searchMarkets.d.ts +13 -13
  70. package/dist/fractions/markets/searchMarkets/v0/searchMarkets.d.ts.map +1 -1
  71. package/dist/fractions/markets/searchMarkets/v0/searchMarkets.js +1 -2
  72. package/dist/fractions/purchase/v0/purchase.route.d.ts +3 -3
  73. package/dist/fractions/purchase/v0/statistics.route.d.ts +15 -15
  74. package/dist/fractions/purchase/v0/statistics.route.d.ts.map +1 -1
  75. package/dist/fractions/purchase/v0/statistics.route.js +3 -3
  76. package/dist/fractions/sales/common/fractionsSale.d.ts +40 -40
  77. package/dist/fractions/sales/getFractionSaleStatistics.route.d.ts +13 -13
  78. package/dist/fractions/sales/getFractionSaleStatistics.route.d.ts.map +1 -1
  79. package/dist/fractions/sales/getFractionSaleStatistics.route.js +3 -3
  80. package/dist/fractions/sales/getVaultAddress.d.ts +4 -4
  81. package/dist/fractions/sales/getVaultAddress.d.ts.map +1 -1
  82. package/dist/fractions/sales/getVaultAddress.js +3 -3
  83. package/dist/fractions/sales/receiveFundsAfterNonFunded.route.d.ts +6 -6
  84. package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts +3 -3
  85. package/dist/fractions/sales/recoverFractions.d.ts +3 -3
  86. package/dist/fractions/sales/rejectFractions.d.ts +3 -3
  87. package/dist/fractions/sales/searchSales/v0/searchSales.d.ts +32 -32
  88. package/dist/fractions/sales/searchSales/v0/searchSales.d.ts.map +1 -1
  89. package/dist/fractions/sales/searchSales/v0/searchSales.js +1 -2
  90. package/dist/fractions/sales/searchWithdrawal.route.d.ts +7 -7
  91. package/dist/fractions/sales/searchWithdrawal.route.d.ts.map +1 -1
  92. package/dist/fractions/sales/searchWithdrawal.route.js +1 -2
  93. package/dist/fractions/sales/setFeeCapLimit.d.ts +3 -3
  94. package/dist/fractions/sales/unlockWrappedAssets.route.d.ts +3 -3
  95. package/dist/fractions/sales/vesting/v0/claimStatistics.route.d.ts +17 -17
  96. package/dist/fractions/sales/vesting/v0/claimStatistics.route.d.ts.map +1 -1
  97. package/dist/fractions/sales/vesting/v0/claimStatistics.route.js +6 -5
  98. package/dist/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts +9 -9
  99. package/dist/fractions/sales/vesting/v0/editCliff.route.d.ts +3 -3
  100. package/dist/fractions/withdraw/v0/withdraw.route.d.ts +3 -3
  101. package/dist/general/balanceClient.d.ts +6 -6
  102. package/dist/general/common.d.ts +6 -6
  103. package/dist/general/estimateGas.d.ts +8 -8
  104. package/dist/general/getBalance.d.ts +4 -4
  105. package/dist/general/getBalancesBatch.d.ts +4 -4
  106. package/dist/general/index.d.ts +5 -5
  107. package/dist/general/searchBalances.d.ts +4 -4
  108. package/dist/general/utils/tokenBalance/tokenBalance.d.ts +3 -3
  109. package/dist/issuance/approve.d.ts +3 -3
  110. package/dist/issuance/burn.d.ts +3 -3
  111. package/dist/issuance/deploy.d.ts +7 -0
  112. package/dist/issuance/deploy.d.ts.map +1 -1
  113. package/dist/issuance/deploy.js +34 -0
  114. package/dist/issuance/grantRole.d.ts +9 -9
  115. package/dist/issuance/index.d.ts +47 -10
  116. package/dist/issuance/index.d.ts.map +1 -1
  117. package/dist/issuance/index.js +4 -1
  118. package/dist/issuance/mint.d.ts +3 -3
  119. package/dist/issuance/recover.d.ts +82 -0
  120. package/dist/issuance/recover.d.ts.map +1 -0
  121. package/dist/issuance/recover.js +38 -0
  122. package/dist/issuance/renounceRole.d.ts +9 -9
  123. package/dist/issuance/transfer.d.ts +9 -9
  124. package/dist/issuance/upgrade.d.ts +3 -3
  125. package/dist/staking/index.d.ts +10 -10
  126. package/dist/staking/index.d.ts.map +1 -1
  127. package/dist/staking/platforms/getPlatform/index.d.ts +3 -3
  128. package/dist/staking/platforms/getPlatform/index.d.ts.map +1 -1
  129. package/dist/staking/platforms/getPlatform/v0/getPlatform.d.ts +8 -8
  130. package/dist/staking/platforms/getPlatform/v0/getPlatform.d.ts.map +1 -1
  131. package/dist/staking/platforms/getPlatform/v0/getPlatform.js +3 -3
  132. package/dist/staking/platforms/index.d.ts +3 -3
  133. package/dist/staking/platforms/index.d.ts.map +1 -1
  134. package/dist/staking/platforms/searchPlatforms/index.d.ts +2 -2
  135. package/dist/staking/platforms/searchPlatforms/index.d.ts.map +1 -1
  136. package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts +4 -4
  137. package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts.map +1 -1
  138. package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.js +3 -3
  139. package/dist/staking/pools/common/pool.d.ts +4 -4
  140. package/dist/staking/pools/getPool/index.d.ts +3 -3
  141. package/dist/staking/pools/getPool/index.d.ts.map +1 -1
  142. package/dist/staking/pools/getPool/v0/getPool.d.ts +7 -7
  143. package/dist/staking/pools/getPool/v0/getPool.d.ts.map +1 -1
  144. package/dist/staking/pools/getPool/v0/getPool.js +3 -3
  145. package/dist/staking/pools/index.d.ts +3 -3
  146. package/dist/staking/pools/index.d.ts.map +1 -1
  147. package/dist/staking/pools/searchPools/index.d.ts +2 -2
  148. package/dist/staking/pools/searchPools/index.d.ts.map +1 -1
  149. package/dist/staking/pools/searchPools/v0/searchPools.d.ts +3 -3
  150. package/dist/staking/pools/searchPools/v0/searchPools.d.ts.map +1 -1
  151. package/dist/staking/pools/searchPools/v0/searchPools.js +3 -3
  152. package/dist/staking/roles/common/roleAssignment.d.ts +2 -2
  153. package/dist/staking/roles/common/roleEvent.d.ts +4 -4
  154. package/dist/staking/roles/grantRole/index.d.ts +1 -1
  155. package/dist/staking/roles/grantRole/v0/grantRole.d.ts +3 -3
  156. package/dist/staking/roles/index.d.ts +5 -5
  157. package/dist/staking/roles/index.d.ts.map +1 -1
  158. package/dist/staking/roles/searchRoleEvents/index.d.ts +3 -3
  159. package/dist/staking/roles/searchRoleEvents/index.d.ts.map +1 -1
  160. package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts +7 -7
  161. package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts.map +1 -1
  162. package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.js +3 -3
  163. package/dist/staking/roles/searchRoles/index.d.ts +3 -3
  164. package/dist/staking/roles/searchRoles/index.d.ts.map +1 -1
  165. package/dist/staking/roles/searchRoles/v0/searchRoles.d.ts +7 -7
  166. package/dist/staking/roles/searchRoles/v0/searchRoles.d.ts.map +1 -1
  167. package/dist/staking/roles/searchRoles/v0/searchRoles.js +3 -3
  168. package/dist/staking/stakes/common/stake.d.ts +2 -2
  169. package/dist/staking/stakes/common/stakeEvent.d.ts +4 -4
  170. package/dist/staking/stakes/getStake/index.d.ts +3 -3
  171. package/dist/staking/stakes/getStake/index.d.ts.map +1 -1
  172. package/dist/staking/stakes/getStake/v0/getStake.d.ts +7 -7
  173. package/dist/staking/stakes/getStake/v0/getStake.d.ts.map +1 -1
  174. package/dist/staking/stakes/getStake/v0/getStake.js +3 -3
  175. package/dist/staking/stakes/index.d.ts +5 -5
  176. package/dist/staking/stakes/index.d.ts.map +1 -1
  177. package/dist/staking/stakes/searchStakeEvents/index.d.ts +3 -3
  178. package/dist/staking/stakes/searchStakeEvents/index.d.ts.map +1 -1
  179. package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts +7 -7
  180. package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts.map +1 -1
  181. package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.js +3 -3
  182. package/dist/staking/stakes/searchStakes/index.d.ts +3 -3
  183. package/dist/staking/stakes/searchStakes/index.d.ts.map +1 -1
  184. package/dist/staking/stakes/searchStakes/v0/searchStakes.d.ts +7 -7
  185. package/dist/staking/stakes/searchStakes/v0/searchStakes.d.ts.map +1 -1
  186. package/dist/staking/stakes/searchStakes/v0/searchStakes.js +3 -3
  187. package/dist/staking-templates/index.d.ts +42 -42
  188. package/dist/staking-templates/templates/common/getReward.d.ts +7 -7
  189. package/dist/staking-templates/templates/common/partialUnstake.d.ts +7 -7
  190. package/dist/staking-templates/templates/common/rewardDistribution.js +2 -2
  191. package/dist/staking-templates/templates/common/unstake.d.ts +7 -7
  192. package/dist/staking-templates/templates/reputation/index.d.ts +13 -13
  193. package/dist/staking-templates/templates/reputation/v0/createPlatform.d.ts +3 -3
  194. package/dist/staking-templates/templates/reputation/v0/createPool.d.ts +7 -7
  195. package/dist/staking-templates/templates/reputation/v0/index.d.ts +13 -13
  196. package/dist/staking-templates/templates/reputation/v0/restake.d.ts +7 -7
  197. package/dist/staking-templates/templates/reputation/v0/stake.d.ts +7 -7
  198. package/dist/staking-templates/templates/reputationLock/index.d.ts +13 -13
  199. package/dist/staking-templates/templates/reputationLock/v0/createPlatform.d.ts +3 -3
  200. package/dist/staking-templates/templates/reputationLock/v0/createPool.d.ts +7 -7
  201. package/dist/staking-templates/templates/reputationLock/v0/index.d.ts +13 -13
  202. package/dist/staking-templates/templates/reputationLock/v0/restake.d.ts +7 -7
  203. package/dist/staking-templates/templates/reputationLock/v0/stake.d.ts +7 -7
  204. package/dist/staking-templates/templates/rwa/index.d.ts +16 -16
  205. package/dist/staking-templates/templates/rwa/v0/createPlatform.d.ts +3 -3
  206. package/dist/staking-templates/templates/rwa/v0/createPool.d.ts +7 -7
  207. package/dist/staking-templates/templates/rwa/v0/distributeRewards.d.ts +61 -0
  208. package/dist/staking-templates/templates/rwa/v0/distributeRewards.d.ts.map +1 -0
  209. package/dist/staking-templates/templates/rwa/v0/distributeRewards.js +41 -0
  210. package/dist/staking-templates/templates/rwa/v0/index.d.ts +16 -16
  211. package/dist/staking-templates/templates/rwa/v0/index.js +2 -2
  212. package/dist/staking-templates/templates/rwa/v0/restake.d.ts +7 -7
  213. package/dist/staking-templates/templates/rwa/v0/stake.d.ts +7 -7
  214. package/dist/v0/fractions/index.d.ts +68 -0
  215. package/dist/v0/fractions/index.d.ts.map +1 -0
  216. package/dist/v0/fractions/index.js +9 -0
  217. package/dist/v0/fractions/networkStatistics.route.d.ts +176 -0
  218. package/dist/v0/fractions/networkStatistics.route.d.ts.map +1 -0
  219. package/dist/v0/fractions/networkStatistics.route.js +354 -0
  220. package/dist/v1/fractions/lending/buyback/buyback.routes.d.ts +65 -0
  221. package/dist/v1/fractions/lending/buyback/buyback.routes.d.ts.map +1 -0
  222. package/dist/v1/fractions/lending/buyback/buyback.routes.js +27 -0
  223. package/dist/v1/fractions/lending/buyback/buyback.schema.d.ts +19 -0
  224. package/dist/v1/fractions/lending/buyback/buyback.schema.d.ts.map +1 -0
  225. package/dist/v1/fractions/lending/buyback/buyback.schema.js +12 -0
  226. package/dist/v1/fractions/lending/createLendingSale.d.ts +585 -0
  227. package/dist/v1/fractions/lending/createLendingSale.d.ts.map +1 -0
  228. package/dist/v1/fractions/lending/createLendingSale.js +81 -0
  229. package/dist/v1/fractions/lending/deployMarket/lending.routes.d.ts +117 -0
  230. package/dist/v1/fractions/lending/deployMarket/lending.routes.d.ts.map +1 -0
  231. package/dist/v1/fractions/lending/deployMarket/lending.routes.js +35 -0
  232. package/dist/v1/fractions/lending/index.d.ts +209 -0
  233. package/dist/v1/fractions/lending/index.d.ts.map +1 -0
  234. package/dist/v1/fractions/lending/index.js +22 -0
  235. package/dist/v1/fractions/lending/purchase/directPurchase.route.d.ts +82 -0
  236. package/dist/v1/fractions/lending/purchase/directPurchase.route.d.ts.map +1 -0
  237. package/dist/v1/fractions/lending/purchase/directPurchase.route.js +34 -0
  238. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts +61 -0
  239. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts.map +1 -0
  240. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.routes.js +27 -0
  241. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts +16 -0
  242. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts.map +1 -0
  243. package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.js +10 -0
  244. package/dist/v1/fractions/schemas.d.ts +108 -0
  245. package/dist/v1/fractions/schemas.d.ts.map +1 -0
  246. package/dist/v1/fractions/schemas.js +35 -0
  247. package/package.json +10 -7
package/dist/app.d.ts CHANGED
@@ -1,13 +1,14 @@
1
1
  import { Factory } from "hono/factory";
2
- export declare function getApp(factory: Factory): import("hono/hono-base").HonoBase<{}, {
2
+ import type { AppContext } from "./common/context.js";
3
+ export declare function getApp(factory: Factory<AppContext>): import("hono/hono-base").HonoBase<AppContext, {
3
4
  "/*": {};
4
- } | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema, "/staking">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema, "/platforms">, "/staking">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
5
+ } | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema, "/staking">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema, "/platforms">, "/staking">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
5
6
  "/v0": {
6
7
  $get: {
7
8
  input: {
8
9
  query: {
9
- address: `0x${string}`;
10
10
  chainId: "11155111" | "31337";
11
+ address: `0x${string}`;
11
12
  };
12
13
  };
13
14
  output: {
@@ -74,9 +75,9 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
74
75
  $get: {
75
76
  input: {
76
77
  query: {
78
+ poolId: string | string[];
77
79
  chainId: string | string[];
78
80
  platform: string | string[];
79
- poolId: string | string[];
80
81
  };
81
82
  };
82
83
  output: never;
@@ -90,9 +91,9 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
90
91
  input: {
91
92
  json: {
92
93
  filter: {
94
+ poolId?: string | number | bigint | undefined;
93
95
  chainId?: "11155111" | "31337" | undefined;
94
96
  platform?: `0x${string}` | undefined;
95
- poolId?: string | number | bigint | undefined;
96
97
  owner?: `0x${string}` | undefined;
97
98
  };
98
99
  page: {
@@ -112,9 +113,9 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
112
113
  input: {
113
114
  json: {
114
115
  filter: {
116
+ poolId?: string | number | bigint | undefined;
115
117
  chainId?: "11155111" | "31337" | undefined;
116
118
  platform?: `0x${string}` | undefined;
117
- poolId?: string | number | bigint | undefined;
118
119
  owner?: `0x${string}` | undefined;
119
120
  };
120
121
  page: {
@@ -134,8 +135,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
134
135
  input: {
135
136
  query: {
136
137
  chainId: string | string[];
137
- platform: string | string[];
138
138
  stakeId: string | string[];
139
+ platform: string | string[];
139
140
  };
140
141
  };
141
142
  output: never;
@@ -178,8 +179,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
178
179
  data: `0x${string}`;
179
180
  to: `0x${string}`;
180
181
  details: {
181
- functionName: string;
182
182
  address: `0x${string}`;
183
+ functionName: string;
183
184
  abi: any[];
184
185
  args: any[];
185
186
  };
@@ -194,9 +195,9 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
194
195
  input: {
195
196
  json: {
196
197
  filter: {
198
+ poolId?: string | number | bigint | undefined;
197
199
  chainId?: "11155111" | "31337" | undefined;
198
200
  platform?: `0x${string}` | undefined;
199
- poolId?: string | number | bigint | undefined;
200
201
  owner?: `0x${string}` | undefined;
201
202
  };
202
203
  page: {
@@ -216,9 +217,9 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
216
217
  input: {
217
218
  json: {
218
219
  filter: {
220
+ poolId?: string | number | bigint | undefined;
219
221
  chainId?: "11155111" | "31337" | undefined;
220
222
  platform?: `0x${string}` | undefined;
221
- poolId?: string | number | bigint | undefined;
222
223
  owner?: `0x${string}` | undefined;
223
224
  };
224
225
  page: {
@@ -282,16 +283,16 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
282
283
  $post: {
283
284
  input: {
284
285
  json: {
285
- platform: `0x${string}`;
286
286
  stakeId: string | number | bigint;
287
+ platform: `0x${string}`;
287
288
  };
288
289
  };
289
290
  output: {
290
291
  data: `0x${string}`;
291
292
  to: `0x${string}`;
292
293
  details: {
293
- functionName: string;
294
294
  address: `0x${string}`;
295
+ functionName: string;
295
296
  abi: any[];
296
297
  args: any[];
297
298
  };
@@ -305,17 +306,17 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
305
306
  $post: {
306
307
  input: {
307
308
  json: {
308
- platform: `0x${string}`;
309
309
  stakeId: string | number | bigint;
310
310
  amount: string | number | bigint;
311
+ platform: `0x${string}`;
311
312
  };
312
313
  };
313
314
  output: {
314
315
  data: `0x${string}`;
315
316
  to: `0x${string}`;
316
317
  details: {
317
- functionName: string;
318
318
  address: `0x${string}`;
319
+ functionName: string;
319
320
  abi: any[];
320
321
  args: any[];
321
322
  };
@@ -329,17 +330,17 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
329
330
  $post: {
330
331
  input: {
331
332
  json: {
332
- platform: `0x${string}`;
333
333
  poolId: string | number | bigint;
334
334
  amount: string | number | bigint;
335
+ platform: `0x${string}`;
335
336
  };
336
337
  };
337
338
  output: {
338
339
  data: `0x${string}`;
339
340
  to: `0x${string}`;
340
341
  details: {
341
- functionName: string;
342
342
  address: `0x${string}`;
343
+ functionName: string;
343
344
  abi: any[];
344
345
  args: any[];
345
346
  };
@@ -353,17 +354,17 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
353
354
  $post: {
354
355
  input: {
355
356
  json: {
356
- platform: `0x${string}`;
357
357
  poolId: string | number | bigint;
358
358
  amount: string | number | bigint;
359
+ platform: `0x${string}`;
359
360
  };
360
361
  };
361
362
  output: {
362
363
  data: `0x${string}`;
363
364
  to: `0x${string}`;
364
365
  details: {
365
- functionName: string;
366
366
  address: `0x${string}`;
367
+ functionName: string;
367
368
  abi: any[];
368
369
  args: any[];
369
370
  };
@@ -377,16 +378,16 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
377
378
  $post: {
378
379
  input: {
379
380
  json: {
380
- platform: `0x${string}`;
381
381
  stakeId: string | number | bigint;
382
+ platform: `0x${string}`;
382
383
  };
383
384
  };
384
385
  output: {
385
386
  data: `0x${string}`;
386
387
  to: `0x${string}`;
387
388
  details: {
388
- functionName: string;
389
389
  address: `0x${string}`;
390
+ functionName: string;
390
391
  abi: any[];
391
392
  args: any[];
392
393
  };
@@ -400,12 +401,12 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
400
401
  $post: {
401
402
  input: {
402
403
  json: {
403
- platform: `0x${string}`;
404
404
  startDate: string;
405
405
  amount: {
406
406
  minAmount: string | number | bigint;
407
407
  maxAmount: string | number | bigint;
408
408
  };
409
+ platform: `0x${string}`;
409
410
  amountMult: [string | number | bigint, string | number | bigint][];
410
411
  stakingErc20: {
411
412
  contract: `0x${string}`;
@@ -422,8 +423,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
422
423
  data: `0x${string}`;
423
424
  to: `0x${string}`;
424
425
  details: {
425
- functionName: string;
426
426
  address: `0x${string}`;
427
+ functionName: string;
427
428
  abi: any[];
428
429
  args: any[];
429
430
  };
@@ -451,8 +452,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
451
452
  data: `0x${string}`;
452
453
  to: `0x${string}`;
453
454
  details: {
454
- functionName: string;
455
455
  address: `0x${string}`;
456
+ functionName: string;
456
457
  abi: any[];
457
458
  args: any[];
458
459
  };
@@ -511,16 +512,16 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
511
512
  $post: {
512
513
  input: {
513
514
  json: {
514
- platform: `0x${string}`;
515
515
  stakeId: string | number | bigint;
516
+ platform: `0x${string}`;
516
517
  };
517
518
  };
518
519
  output: {
519
520
  data: `0x${string}`;
520
521
  to: `0x${string}`;
521
522
  details: {
522
- functionName: string;
523
523
  address: `0x${string}`;
524
+ functionName: string;
524
525
  abi: any[];
525
526
  args: any[];
526
527
  };
@@ -534,17 +535,17 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
534
535
  $post: {
535
536
  input: {
536
537
  json: {
537
- platform: `0x${string}`;
538
538
  stakeId: string | number | bigint;
539
539
  amount: string | number | bigint;
540
+ platform: `0x${string}`;
540
541
  };
541
542
  };
542
543
  output: {
543
544
  data: `0x${string}`;
544
545
  to: `0x${string}`;
545
546
  details: {
546
- functionName: string;
547
547
  address: `0x${string}`;
548
+ functionName: string;
548
549
  abi: any[];
549
550
  args: any[];
550
551
  };
@@ -558,9 +559,9 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
558
559
  $post: {
559
560
  input: {
560
561
  json: {
561
- platform: `0x${string}`;
562
562
  poolId: string | number | bigint;
563
563
  amount: string | number | bigint;
564
+ platform: `0x${string}`;
564
565
  lockPeriod: string | number | bigint;
565
566
  };
566
567
  };
@@ -568,8 +569,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
568
569
  data: `0x${string}`;
569
570
  to: `0x${string}`;
570
571
  details: {
571
- functionName: string;
572
572
  address: `0x${string}`;
573
+ functionName: string;
573
574
  abi: any[];
574
575
  args: any[];
575
576
  };
@@ -583,9 +584,9 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
583
584
  $post: {
584
585
  input: {
585
586
  json: {
586
- platform: `0x${string}`;
587
587
  poolId: string | number | bigint;
588
588
  amount: string | number | bigint;
589
+ platform: `0x${string}`;
589
590
  lockPeriod: string | number | bigint;
590
591
  };
591
592
  };
@@ -593,8 +594,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
593
594
  data: `0x${string}`;
594
595
  to: `0x${string}`;
595
596
  details: {
596
- functionName: string;
597
597
  address: `0x${string}`;
598
+ functionName: string;
598
599
  abi: any[];
599
600
  args: any[];
600
601
  };
@@ -608,16 +609,16 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
608
609
  $post: {
609
610
  input: {
610
611
  json: {
611
- platform: `0x${string}`;
612
612
  stakeId: string | number | bigint;
613
+ platform: `0x${string}`;
613
614
  };
614
615
  };
615
616
  output: {
616
617
  data: `0x${string}`;
617
618
  to: `0x${string}`;
618
619
  details: {
619
- functionName: string;
620
620
  address: `0x${string}`;
621
+ functionName: string;
621
622
  abi: any[];
622
623
  args: any[];
623
624
  };
@@ -631,12 +632,12 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
631
632
  $post: {
632
633
  input: {
633
634
  json: {
634
- platform: `0x${string}`;
635
635
  startDate: string;
636
636
  amount: {
637
637
  minAmount: string | number | bigint;
638
638
  maxAmount: string | number | bigint;
639
639
  };
640
+ platform: `0x${string}`;
640
641
  distribution: {
641
642
  duration: string | number | bigint;
642
643
  distributor: `0x${string}`;
@@ -662,8 +663,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
662
663
  data: `0x${string}`;
663
664
  to: `0x${string}`;
664
665
  details: {
665
- functionName: string;
666
666
  address: `0x${string}`;
667
+ functionName: string;
667
668
  abi: any[];
668
669
  args: any[];
669
670
  };
@@ -691,8 +692,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
691
692
  data: `0x${string}`;
692
693
  to: `0x${string}`;
693
694
  details: {
694
- functionName: string;
695
695
  address: `0x${string}`;
696
+ functionName: string;
696
697
  abi: any[];
697
698
  args: any[];
698
699
  };
@@ -751,16 +752,16 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
751
752
  $post: {
752
753
  input: {
753
754
  json: {
754
- platform: `0x${string}`;
755
755
  stakeId: string | number | bigint;
756
+ platform: `0x${string}`;
756
757
  };
757
758
  };
758
759
  output: {
759
760
  data: `0x${string}`;
760
761
  to: `0x${string}`;
761
762
  details: {
762
- functionName: string;
763
763
  address: `0x${string}`;
764
+ functionName: string;
764
765
  abi: any[];
765
766
  args: any[];
766
767
  };
@@ -774,17 +775,17 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
774
775
  $post: {
775
776
  input: {
776
777
  json: {
777
- platform: `0x${string}`;
778
778
  stakeId: string | number | bigint;
779
779
  amount: string | number | bigint;
780
+ platform: `0x${string}`;
780
781
  };
781
782
  };
782
783
  output: {
783
784
  data: `0x${string}`;
784
785
  to: `0x${string}`;
785
786
  details: {
786
- functionName: string;
787
787
  address: `0x${string}`;
788
+ functionName: string;
788
789
  abi: any[];
789
790
  args: any[];
790
791
  };
@@ -798,17 +799,17 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
798
799
  $post: {
799
800
  input: {
800
801
  json: {
801
- platform: `0x${string}`;
802
802
  poolId: string | number | bigint;
803
803
  amount: string | number | bigint;
804
+ platform: `0x${string}`;
804
805
  };
805
806
  };
806
807
  output: {
807
808
  data: `0x${string}`;
808
809
  to: `0x${string}`;
809
810
  details: {
810
- functionName: string;
811
811
  address: `0x${string}`;
812
+ functionName: string;
812
813
  abi: any[];
813
814
  args: any[];
814
815
  };
@@ -822,17 +823,17 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
822
823
  $post: {
823
824
  input: {
824
825
  json: {
825
- platform: `0x${string}`;
826
826
  poolId: string | number | bigint;
827
827
  amount: string | number | bigint;
828
+ platform: `0x${string}`;
828
829
  };
829
830
  };
830
831
  output: {
831
832
  data: `0x${string}`;
832
833
  to: `0x${string}`;
833
834
  details: {
834
- functionName: string;
835
835
  address: `0x${string}`;
836
+ functionName: string;
836
837
  abi: any[];
837
838
  args: any[];
838
839
  };
@@ -846,16 +847,16 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
846
847
  $post: {
847
848
  input: {
848
849
  json: {
849
- platform: `0x${string}`;
850
850
  stakeId: string | number | bigint;
851
+ platform: `0x${string}`;
851
852
  };
852
853
  };
853
854
  output: {
854
855
  data: `0x${string}`;
855
856
  to: `0x${string}`;
856
857
  details: {
857
- functionName: string;
858
858
  address: `0x${string}`;
859
+ functionName: string;
859
860
  abi: any[];
860
861
  args: any[];
861
862
  };
@@ -869,8 +870,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
869
870
  $post: {
870
871
  input: {
871
872
  json: {
872
- platform: `0x${string}`;
873
873
  startDate: string;
874
+ platform: `0x${string}`;
874
875
  hardcapAmount: string | number | bigint;
875
876
  distribution: {
876
877
  duration: string | number | bigint;
@@ -890,8 +891,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
890
891
  data: `0x${string}`;
891
892
  to: `0x${string}`;
892
893
  details: {
893
- functionName: string;
894
894
  address: `0x${string}`;
895
+ functionName: string;
895
896
  abi: any[];
896
897
  args: any[];
897
898
  };
@@ -919,8 +920,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
919
920
  data: `0x${string}`;
920
921
  to: `0x${string}`;
921
922
  details: {
922
- functionName: string;
923
923
  address: `0x${string}`;
924
+ functionName: string;
924
925
  abi: any[];
925
926
  args: any[];
926
927
  };
@@ -930,21 +931,21 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
930
931
  };
931
932
  };
932
933
  } & {
933
- "/notifyRewards": {
934
+ "/distributeRewards": {
934
935
  $post: {
935
936
  input: {
936
937
  json: {
937
- platform: `0x${string}`;
938
938
  poolId: string | number | bigint;
939
939
  amount: string | number | bigint;
940
+ platform: `0x${string}`;
940
941
  };
941
942
  };
942
943
  output: {
943
944
  data: `0x${string}`;
944
945
  to: `0x${string}`;
945
946
  details: {
946
- functionName: string;
947
947
  address: `0x${string}`;
948
+ functionName: string;
948
949
  abi: any[];
949
950
  args: any[];
950
951
  };
@@ -976,8 +977,22 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
976
977
  $get: {
977
978
  input: {
978
979
  query: {
980
+ chainId: string | string[];
979
981
  address: string | string[];
982
+ };
983
+ };
984
+ output: {
985
+ error: string;
986
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
987
+ market: `0x${string}`;
988
+ };
989
+ outputFormat: "json";
990
+ status: 404;
991
+ } | {
992
+ input: {
993
+ query: {
980
994
  chainId: string | string[];
995
+ address: string | string[];
981
996
  };
982
997
  };
983
998
  output: {
@@ -986,16 +1001,16 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
986
1001
  contractAddress: `0x${string}`;
987
1002
  adminAddress: `0x${string}`;
988
1003
  updatedAt: string;
989
- template: "default" | "compilot" | "continuous-withdrawal" | "continuous-withdrawal-nid";
1004
+ template: "default" | "compilot" | "continuous-withdrawal" | "continuous-withdrawal-nid" | "lending";
990
1005
  wrapperAddress: `0x${string}` | null;
991
1006
  transactionHash: `0x${string}`;
992
1007
  feesBps: number | null;
993
1008
  burnAsset: {
994
1009
  symbol: string;
995
1010
  type: string;
996
- name: string;
997
- address: `0x${string}`;
998
1011
  chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1012
+ address: `0x${string}`;
1013
+ name: string;
999
1014
  tokenId: string | null;
1000
1015
  decimals: number;
1001
1016
  burnable: boolean;
@@ -1003,20 +1018,6 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1003
1018
  };
1004
1019
  outputFormat: "json";
1005
1020
  status: 200;
1006
- } | {
1007
- input: {
1008
- query: {
1009
- address: string | string[];
1010
- chainId: string | string[];
1011
- };
1012
- };
1013
- output: {
1014
- error: string;
1015
- chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1016
- market: `0x${string}`;
1017
- };
1018
- outputFormat: "json";
1019
- status: 404;
1020
1021
  };
1021
1022
  };
1022
1023
  }, "/get"> & {
@@ -1058,16 +1059,16 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1058
1059
  contractAddress: `0x${string}`;
1059
1060
  adminAddress: `0x${string}`;
1060
1061
  updatedAt: string;
1061
- template: "default" | "compilot" | "continuous-withdrawal" | "continuous-withdrawal-nid";
1062
+ template: "default" | "compilot" | "continuous-withdrawal" | "continuous-withdrawal-nid" | "lending";
1062
1063
  wrapperAddress: `0x${string}` | null;
1063
1064
  transactionHash: `0x${string}`;
1064
1065
  feesBps: number | null;
1065
1066
  burnAsset: {
1066
1067
  symbol: string;
1067
1068
  type: string;
1068
- name: string;
1069
- address: `0x${string}`;
1070
1069
  chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1070
+ address: `0x${string}`;
1071
+ name: string;
1071
1072
  tokenId: string | null;
1072
1073
  decimals: number;
1073
1074
  burnable: boolean;
@@ -1116,8 +1117,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1116
1117
  data: `0x${string}`;
1117
1118
  to: `0x${string}`;
1118
1119
  details: {
1119
- functionName: string;
1120
1120
  address: `0x${string}`;
1121
+ functionName: string;
1121
1122
  abi: any[];
1122
1123
  args: any[];
1123
1124
  };
@@ -1127,7 +1128,7 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1127
1128
  };
1128
1129
  };
1129
1130
  } & {
1130
- "/deployNid": {
1131
+ "/deployContinuousWithdraw": {
1131
1132
  $post: {
1132
1133
  input: {
1133
1134
  json: {
@@ -1147,8 +1148,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1147
1148
  data: `0x${string}`;
1148
1149
  to: `0x${string}`;
1149
1150
  details: {
1150
- functionName: string;
1151
1151
  address: `0x${string}`;
1152
+ functionName: string;
1152
1153
  abi: any[];
1153
1154
  args: any[];
1154
1155
  };
@@ -1158,7 +1159,7 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1158
1159
  };
1159
1160
  };
1160
1161
  } & {
1161
- "/deployContinuousWithdraw": {
1162
+ "/deployContinuousWithdrawNid": {
1162
1163
  $post: {
1163
1164
  input: {
1164
1165
  json: {
@@ -1178,8 +1179,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1178
1179
  data: `0x${string}`;
1179
1180
  to: `0x${string}`;
1180
1181
  details: {
1181
- functionName: string;
1182
1182
  address: `0x${string}`;
1183
+ functionName: string;
1183
1184
  abi: any[];
1184
1185
  args: any[];
1185
1186
  };
@@ -1189,7 +1190,7 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1189
1190
  };
1190
1191
  };
1191
1192
  } & {
1192
- deployContinuousWithdrawNid: {
1193
+ "/deployNid": {
1193
1194
  $post: {
1194
1195
  input: {
1195
1196
  json: {
@@ -1209,8 +1210,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1209
1210
  data: `0x${string}`;
1210
1211
  to: `0x${string}`;
1211
1212
  details: {
1212
- functionName: string;
1213
1213
  address: `0x${string}`;
1214
+ functionName: string;
1214
1215
  abi: any[];
1215
1216
  args: any[];
1216
1217
  };
@@ -1231,8 +1232,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1231
1232
  data: `0x${string}`;
1232
1233
  to: `0x${string}`;
1233
1234
  details: {
1234
- functionName: string;
1235
1235
  address: `0x${string}`;
1236
+ functionName: string;
1236
1237
  abi: any[];
1237
1238
  args: any[];
1238
1239
  };
@@ -1254,8 +1255,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1254
1255
  data: `0x${string}`;
1255
1256
  to: `0x${string}`;
1256
1257
  details: {
1257
- functionName: string;
1258
1258
  address: `0x${string}`;
1259
+ functionName: string;
1259
1260
  abi: any[];
1260
1261
  args: any[];
1261
1262
  };
@@ -1278,8 +1279,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1278
1279
  data: `0x${string}`;
1279
1280
  to: `0x${string}`;
1280
1281
  details: {
1281
- functionName: string;
1282
1282
  address: `0x${string}`;
1283
+ functionName: string;
1283
1284
  abi: any[];
1284
1285
  args: any[];
1285
1286
  };
@@ -1301,8 +1302,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1301
1302
  data: `0x${string}`;
1302
1303
  to: `0x${string}`;
1303
1304
  details: {
1304
- functionName: string;
1305
1305
  address: `0x${string}`;
1306
+ functionName: string;
1306
1307
  abi: any[];
1307
1308
  args: any[];
1308
1309
  };
@@ -1347,8 +1348,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1347
1348
  data: `0x${string}`;
1348
1349
  to: `0x${string}`;
1349
1350
  details: {
1350
- functionName: string;
1351
1351
  address: `0x${string}`;
1352
+ functionName: string;
1352
1353
  abi: any[];
1353
1354
  args: any[];
1354
1355
  };
@@ -1381,29 +1382,29 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1381
1382
  end: Date;
1382
1383
  };
1383
1384
  wrapped: [{
1384
- values: [bigint, ...bigint[]];
1385
1385
  type: "ERC20";
1386
+ values: [bigint, ...bigint[]];
1386
1387
  address: `0x${string}`;
1387
1388
  } | {
1388
1389
  type: "ERC721";
1389
1390
  address: `0x${string}`;
1390
1391
  tokenIds: [bigint, ...bigint[]];
1391
1392
  } | {
1392
- values: [bigint, ...bigint[]];
1393
1393
  type: "ERC1155";
1394
+ values: [bigint, ...bigint[]];
1394
1395
  address: `0x${string}`;
1395
1396
  tokenIds: [bigint, ...bigint[]];
1396
1397
  }, ...({
1397
- values: [bigint, ...bigint[]];
1398
1398
  type: "ERC20";
1399
+ values: [bigint, ...bigint[]];
1399
1400
  address: `0x${string}`;
1400
1401
  } | {
1401
1402
  type: "ERC721";
1402
1403
  address: `0x${string}`;
1403
1404
  tokenIds: [bigint, ...bigint[]];
1404
1405
  } | {
1405
- values: [bigint, ...bigint[]];
1406
1406
  type: "ERC1155";
1407
+ values: [bigint, ...bigint[]];
1407
1408
  address: `0x${string}`;
1408
1409
  tokenIds: [bigint, ...bigint[]];
1409
1410
  })[]];
@@ -1432,8 +1433,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1432
1433
  data: `0x${string}`;
1433
1434
  to: `0x${string}`;
1434
1435
  details: {
1435
- functionName: string;
1436
1436
  address: `0x${string}`;
1437
+ functionName: string;
1437
1438
  abi: any[];
1438
1439
  args: any[];
1439
1440
  };
@@ -1476,8 +1477,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1476
1477
  data: `0x${string}`;
1477
1478
  to: `0x${string}`;
1478
1479
  details: {
1479
- functionName: string;
1480
1480
  address: `0x${string}`;
1481
+ functionName: string;
1481
1482
  abi: any[];
1482
1483
  args: any[];
1483
1484
  };
@@ -1499,8 +1500,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1499
1500
  data: `0x${string}`;
1500
1501
  to: `0x${string}`;
1501
1502
  details: {
1502
- functionName: string;
1503
1503
  address: `0x${string}`;
1504
+ functionName: string;
1504
1505
  abi: any[];
1505
1506
  args: any[];
1506
1507
  };
@@ -1550,8 +1551,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1550
1551
  data: `0x${string}`;
1551
1552
  to: `0x${string}`;
1552
1553
  details: {
1553
- functionName: string;
1554
1554
  address: `0x${string}`;
1555
+ functionName: string;
1555
1556
  abi: any[];
1556
1557
  args: any[];
1557
1558
  };
@@ -1605,8 +1606,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1605
1606
  data: `0x${string}`;
1606
1607
  to: `0x${string}`;
1607
1608
  details: {
1608
- functionName: string;
1609
1609
  address: `0x${string}`;
1610
+ functionName: string;
1610
1611
  abi: any[];
1611
1612
  args: any[];
1612
1613
  };
@@ -1628,8 +1629,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1628
1629
  data: `0x${string}`;
1629
1630
  to: `0x${string}`;
1630
1631
  details: {
1631
- functionName: string;
1632
1632
  address: `0x${string}`;
1633
+ functionName: string;
1633
1634
  abi: any[];
1634
1635
  args: any[];
1635
1636
  };
@@ -1654,8 +1655,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1654
1655
  data: `0x${string}`;
1655
1656
  to: `0x${string}`;
1656
1657
  details: {
1657
- functionName: string;
1658
1658
  address: `0x${string}`;
1659
+ functionName: string;
1659
1660
  abi: any[];
1660
1661
  args: any[];
1661
1662
  };
@@ -1669,16 +1670,16 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1669
1670
  $post: {
1670
1671
  input: {
1671
1672
  json: {
1672
- platform: `0x${string}`;
1673
- campaignId: string | number | bigint;
1674
1673
  walletAddress: `0x${string}`;
1674
+ campaignId: string | number | bigint;
1675
+ platform: `0x${string}`;
1675
1676
  chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
1676
1677
  };
1677
1678
  };
1678
1679
  output: {
1679
1680
  chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1680
- platform: `0x${string}`;
1681
1681
  campaignId: string;
1682
+ platform: `0x${string}`;
1682
1683
  statistics: {
1683
1684
  priceId: string;
1684
1685
  purchases: number;
@@ -1696,8 +1697,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1696
1697
  json: {
1697
1698
  filter: {
1698
1699
  chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
1699
- platform?: `0x${string}` | undefined;
1700
1700
  campaignId?: string | number | bigint | undefined;
1701
+ platform?: `0x${string}` | undefined;
1701
1702
  };
1702
1703
  page: {
1703
1704
  skip: number;
@@ -1723,8 +1724,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1723
1724
  data: `0x${string}`;
1724
1725
  to: `0x${string}`;
1725
1726
  details: {
1726
- functionName: string;
1727
1727
  address: `0x${string}`;
1728
+ functionName: string;
1728
1729
  abi: any[];
1729
1730
  args: any[];
1730
1731
  };
@@ -1749,8 +1750,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1749
1750
  data: `0x${string}`;
1750
1751
  to: `0x${string}`;
1751
1752
  details: {
1752
- functionName: string;
1753
1753
  address: `0x${string}`;
1754
+ functionName: string;
1754
1755
  abi: any[];
1755
1756
  args: any[];
1756
1757
  };
@@ -1772,8 +1773,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1772
1773
  data: `0x${string}`;
1773
1774
  to: `0x${string}`;
1774
1775
  details: {
1775
- functionName: string;
1776
1776
  address: `0x${string}`;
1777
+ functionName: string;
1777
1778
  abi: any[];
1778
1779
  args: any[];
1779
1780
  };
@@ -1795,8 +1796,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1795
1796
  data: `0x${string}`;
1796
1797
  to: `0x${string}`;
1797
1798
  details: {
1798
- functionName: string;
1799
1799
  address: `0x${string}`;
1800
+ functionName: string;
1800
1801
  abi: any[];
1801
1802
  args: any[];
1802
1803
  };
@@ -1819,8 +1820,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1819
1820
  data: `0x${string}`;
1820
1821
  to: `0x${string}`;
1821
1822
  details: {
1822
- functionName: string;
1823
1823
  address: `0x${string}`;
1824
+ functionName: string;
1824
1825
  abi: any[];
1825
1826
  args: any[];
1826
1827
  };
@@ -1860,8 +1861,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1860
1861
  $post: {
1861
1862
  input: {
1862
1863
  json: {
1863
- address: `0x${string}`;
1864
1864
  campaignId: bigint;
1865
+ address: `0x${string}`;
1865
1866
  amountOfFractions: bigint;
1866
1867
  itToBurn: bigint;
1867
1868
  };
@@ -1870,8 +1871,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1870
1871
  data: `0x${string}`;
1871
1872
  to: `0x${string}`;
1872
1873
  details: {
1873
- functionName: string;
1874
1874
  address: `0x${string}`;
1875
+ functionName: string;
1875
1876
  abi: any[];
1876
1877
  args: any[];
1877
1878
  };
@@ -1881,8 +1882,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1881
1882
  } | {
1882
1883
  input: {
1883
1884
  json: {
1884
- address: `0x${string}`;
1885
1885
  campaignId: bigint;
1886
+ address: `0x${string}`;
1886
1887
  amountOfFractions: bigint;
1887
1888
  itToBurn: bigint;
1888
1889
  };
@@ -1895,8 +1896,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1895
1896
  } | {
1896
1897
  input: {
1897
1898
  json: {
1898
- address: `0x${string}`;
1899
1899
  campaignId: bigint;
1900
+ address: `0x${string}`;
1900
1901
  amountOfFractions: bigint;
1901
1902
  itToBurn: bigint;
1902
1903
  };
@@ -1914,9 +1915,9 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1914
1915
  input: {
1915
1916
  json: {
1916
1917
  chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1917
- platform: `0x${string}`;
1918
- campaignId: string | number | bigint;
1919
1918
  walletAddress: `0x${string}`;
1919
+ campaignId: string | number | bigint;
1920
+ platform: `0x${string}`;
1920
1921
  };
1921
1922
  };
1922
1923
  output: never;
@@ -1951,8 +1952,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1951
1952
  json: {
1952
1953
  filter: {
1953
1954
  chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
1954
- platform?: `0x${string}` | undefined;
1955
1955
  campaignId?: string | number | bigint | undefined;
1956
+ platform?: `0x${string}` | undefined;
1956
1957
  owner?: `0x${string}` | undefined;
1957
1958
  };
1958
1959
  page: {
@@ -1964,19 +1965,18 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1964
1965
  output: {
1965
1966
  status: "created" | "approved" | "rejected" | "finalized" | "refunded";
1966
1967
  chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1967
- platform: `0x${string}`;
1968
- campaignId: number;
1969
1968
  createdAt: string;
1970
1969
  updatedAt: string;
1970
+ campaignId: number;
1971
1971
  transactionHash: `0x${string}`;
1972
1972
  nftId: number;
1973
1973
  fractions: {
1974
1974
  asset: {
1975
1975
  symbol: string;
1976
1976
  type: string;
1977
- name: string;
1978
- address: `0x${string}`;
1979
1977
  chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
1978
+ address: `0x${string}`;
1979
+ name: string;
1980
1980
  tokenId: string | null;
1981
1981
  decimals: number;
1982
1982
  burnable: boolean;
@@ -1984,6 +1984,7 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
1984
1984
  totalFractions: string;
1985
1985
  price: string;
1986
1986
  };
1987
+ platform: `0x${string}`;
1987
1988
  owner: `0x${string}`;
1988
1989
  vesting: {
1989
1990
  cliffDate: string;
@@ -2004,9 +2005,9 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
2004
2005
  asset: {
2005
2006
  symbol: string;
2006
2007
  type: string;
2007
- name: string;
2008
- address: `0x${string}`;
2009
2008
  chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
2009
+ address: `0x${string}`;
2010
+ name: string;
2010
2011
  tokenId: string | null;
2011
2012
  decimals: number;
2012
2013
  burnable: boolean;
@@ -2017,9 +2018,9 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
2017
2018
  asset: {
2018
2019
  symbol: string;
2019
2020
  type: string;
2020
- name: string;
2021
- address: `0x${string}`;
2022
2021
  chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
2022
+ address: `0x${string}`;
2023
+ name: string;
2023
2024
  tokenId: string | null;
2024
2025
  decimals: number;
2025
2026
  burnable: boolean;
@@ -2038,8 +2039,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
2038
2039
  json: {
2039
2040
  filter: {
2040
2041
  chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
2041
- platform?: `0x${string}` | undefined;
2042
2042
  campaignId?: string | number | bigint | undefined;
2043
+ platform?: `0x${string}` | undefined;
2043
2044
  operationType?: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum | undefined;
2044
2045
  };
2045
2046
  page: {
@@ -2050,17 +2051,16 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
2050
2051
  };
2051
2052
  output: {
2052
2053
  chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
2053
- platform: `0x${string}`;
2054
- campaignId: string;
2055
2054
  createdAt: string;
2056
2055
  updatedAt: string;
2056
+ campaignId: string;
2057
2057
  transactionHash: `0x${string}`;
2058
2058
  from: `0x${string}`;
2059
2059
  metadata: {
2060
2060
  type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.CREATED;
2061
2061
  } | {
2062
- status: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleStatusEnum;
2063
2062
  type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.STATUS_UPDATE;
2063
+ status: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleStatusEnum;
2064
2064
  } | {
2065
2065
  type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.PURCHASE;
2066
2066
  amountOfFractions: string;
@@ -2093,6 +2093,7 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
2093
2093
  type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.WITHDRAW_NON_WRAPPED;
2094
2094
  receiver: string;
2095
2095
  };
2096
+ platform: `0x${string}`;
2096
2097
  }[];
2097
2098
  outputFormat: "json";
2098
2099
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -2104,14 +2105,14 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
2104
2105
  input: {
2105
2106
  json: {
2106
2107
  chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
2107
- platform: `0x${string}`;
2108
2108
  campaignId: string | number | bigint;
2109
+ platform: `0x${string}`;
2109
2110
  };
2110
2111
  };
2111
2112
  output: {
2112
2113
  chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
2113
- platform: `0x${string}`;
2114
2114
  campaignId: string;
2115
+ platform: `0x${string}`;
2115
2116
  statistics: {
2116
2117
  priceId: string;
2117
2118
  purchases: number;
@@ -2136,8 +2137,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
2136
2137
  data: `0x${string}`;
2137
2138
  to: `0x${string}`;
2138
2139
  details: {
2139
- functionName: string;
2140
2140
  address: `0x${string}`;
2141
+ functionName: string;
2141
2142
  abi: any[];
2142
2143
  args: any[];
2143
2144
  };
@@ -2234,32 +2235,294 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
2234
2235
  status: import("hono/utils/http-status").ContentfulStatusCode;
2235
2236
  };
2236
2237
  };
2237
- }, "/sig">, "/v0/fractions">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
2238
- "/estimateGas": {
2238
+ }, "/sig">, "/v0/fractions">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
2239
+ "/holders": {
2239
2240
  $post: {
2240
2241
  input: {
2241
2242
  json: {
2242
- data: `0x${string}`;
2243
- to: `0x${string}`;
2244
- chainId: "11155111" | "31337";
2245
- from: `0x${string}`;
2243
+ chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
2246
2244
  };
2247
2245
  };
2248
2246
  output: {
2249
- readonly success: true;
2250
- readonly value: string;
2247
+ [x: string]: number;
2251
2248
  };
2252
2249
  outputFormat: "json";
2253
2250
  status: 200;
2254
2251
  };
2255
2252
  };
2256
2253
  } & {
2257
- "/balance": {
2258
- $get: {
2254
+ "/sales": {
2255
+ $post: {
2259
2256
  input: {
2260
- query: {
2261
- address: string | string[];
2262
- chainId: string | string[];
2257
+ json: {
2258
+ chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
2259
+ };
2260
+ };
2261
+ output: {
2262
+ [x: string]: number;
2263
+ };
2264
+ outputFormat: "json";
2265
+ status: 200;
2266
+ };
2267
+ };
2268
+ } & {
2269
+ "/ttv": {
2270
+ $post: {
2271
+ input: {
2272
+ json: {
2273
+ chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
2274
+ };
2275
+ };
2276
+ output: {
2277
+ [x: string]: string;
2278
+ };
2279
+ outputFormat: "json";
2280
+ status: 200;
2281
+ };
2282
+ };
2283
+ } & {
2284
+ "/": {
2285
+ $post: {
2286
+ input: {
2287
+ json: {
2288
+ chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
2289
+ };
2290
+ };
2291
+ output: {
2292
+ [x: string]: {
2293
+ holders: number;
2294
+ sales: number;
2295
+ ttv: string;
2296
+ };
2297
+ };
2298
+ outputFormat: "json";
2299
+ status: 200;
2300
+ };
2301
+ };
2302
+ }, "/statistics">, "/v0/fractions">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
2303
+ "/deploy": {
2304
+ $post: {
2305
+ input: {
2306
+ json: {
2307
+ chainId: 72080 | 11155111 | 31337;
2308
+ adminAddress: `0x${string}`;
2309
+ lending: {
2310
+ minInterest: number;
2311
+ maxInterest: number;
2312
+ minDuration: bigint;
2313
+ maxDuration: bigint;
2314
+ minimumProportionOverObligation: bigint;
2315
+ };
2316
+ discount?: {
2317
+ burnForDiscount: {
2318
+ burnableTokenAddress: `0x${string}`;
2319
+ };
2320
+ } | undefined;
2321
+ cap?: {
2322
+ maxHardCap: bigint;
2323
+ } | undefined;
2324
+ };
2325
+ };
2326
+ output: {
2327
+ data: `0x${string}`;
2328
+ to: `0x${string}`;
2329
+ details: {
2330
+ address: `0x${string}`;
2331
+ functionName: string;
2332
+ abi: any[];
2333
+ args: any[];
2334
+ };
2335
+ };
2336
+ outputFormat: "json";
2337
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2338
+ };
2339
+ };
2340
+ } & {
2341
+ "/createSale": {
2342
+ $post: {
2343
+ input: {
2344
+ json: {
2345
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
2346
+ fractions: {
2347
+ symbol: string;
2348
+ name: string;
2349
+ amount: bigint;
2350
+ token?: `0x${string}` | undefined;
2351
+ };
2352
+ cap: {
2353
+ soft: bigint;
2354
+ hard: bigint;
2355
+ softPerAccount?: bigint | undefined;
2356
+ hardPerAccount?: bigint | undefined;
2357
+ };
2358
+ market: `0x${string}`;
2359
+ timeBoundary: {
2360
+ start: Date;
2361
+ end: Date;
2362
+ };
2363
+ wrapped: [{
2364
+ type: "ERC20";
2365
+ values: [bigint, ...bigint[]];
2366
+ address: `0x${string}`;
2367
+ } | {
2368
+ type: "ERC721";
2369
+ address: `0x${string}`;
2370
+ tokenIds: [bigint, ...bigint[]];
2371
+ } | {
2372
+ type: "ERC1155";
2373
+ values: [bigint, ...bigint[]];
2374
+ address: `0x${string}`;
2375
+ tokenIds: [bigint, ...bigint[]];
2376
+ }, ...({
2377
+ type: "ERC20";
2378
+ values: [bigint, ...bigint[]];
2379
+ address: `0x${string}`;
2380
+ } | {
2381
+ type: "ERC721";
2382
+ address: `0x${string}`;
2383
+ tokenIds: [bigint, ...bigint[]];
2384
+ } | {
2385
+ type: "ERC1155";
2386
+ values: [bigint, ...bigint[]];
2387
+ address: `0x${string}`;
2388
+ tokenIds: [bigint, ...bigint[]];
2389
+ })[]];
2390
+ funding: [{
2391
+ amountPerPacket: bigint;
2392
+ token: `0x${string}`;
2393
+ }, ...{
2394
+ amountPerPacket: bigint;
2395
+ token: `0x${string}`;
2396
+ }[]];
2397
+ refundAddress: `0x${string}`;
2398
+ amountOfPacketsPerFraction: bigint;
2399
+ buyback: {
2400
+ durationSeconds: number;
2401
+ interestPercentage: number;
2402
+ liquidationLimitPercentage: number;
2403
+ marginCallLimitPercentage: number;
2404
+ };
2405
+ discounts?: {
2406
+ burnableTokenAddress: `0x${string}`;
2407
+ amountToBurn: bigint;
2408
+ percentDiscount: number;
2409
+ } | undefined;
2410
+ };
2411
+ };
2412
+ output: {
2413
+ data: `0x${string}`;
2414
+ to: `0x${string}`;
2415
+ details: {
2416
+ address: `0x${string}`;
2417
+ functionName: string;
2418
+ abi: any[];
2419
+ args: any[];
2420
+ };
2421
+ };
2422
+ outputFormat: "json";
2423
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2424
+ };
2425
+ };
2426
+ } & {
2427
+ "/purchase": {
2428
+ $post: {
2429
+ input: {
2430
+ json: {
2431
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
2432
+ campaignId: bigint;
2433
+ market: `0x${string}`;
2434
+ amountToBuy: bigint;
2435
+ };
2436
+ };
2437
+ output: {
2438
+ data: `0x${string}`;
2439
+ to: `0x${string}`;
2440
+ details: {
2441
+ address: `0x${string}`;
2442
+ functionName: string;
2443
+ abi: any[];
2444
+ args: any[];
2445
+ };
2446
+ };
2447
+ outputFormat: "json";
2448
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2449
+ };
2450
+ };
2451
+ } & {
2452
+ "/setCollateralPrice": {
2453
+ $post: {
2454
+ input: {
2455
+ json: {
2456
+ campaignId: bigint;
2457
+ market: `0x${string}`;
2458
+ collateralPriceInFundingPackets: bigint;
2459
+ };
2460
+ };
2461
+ output: {
2462
+ data: `0x${string}`;
2463
+ to: `0x${string}`;
2464
+ details: {
2465
+ address: `0x${string}`;
2466
+ functionName: string;
2467
+ abi: any[];
2468
+ args: any[];
2469
+ };
2470
+ };
2471
+ outputFormat: "json";
2472
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2473
+ };
2474
+ };
2475
+ } & {
2476
+ "/buyback": {
2477
+ $post: {
2478
+ input: {
2479
+ json: {
2480
+ chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
2481
+ campaignId: bigint;
2482
+ market: `0x${string}`;
2483
+ buybackPacketsAmount: bigint;
2484
+ };
2485
+ };
2486
+ output: {
2487
+ data: `0x${string}`;
2488
+ to: `0x${string}`;
2489
+ details: {
2490
+ address: `0x${string}`;
2491
+ functionName: string;
2492
+ abi: any[];
2493
+ args: any[];
2494
+ };
2495
+ };
2496
+ outputFormat: "json";
2497
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2498
+ };
2499
+ };
2500
+ }, "/v0/buyback">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
2501
+ "/estimateGas": {
2502
+ $post: {
2503
+ input: {
2504
+ json: {
2505
+ chainId: "11155111" | "31337";
2506
+ data: `0x${string}`;
2507
+ from: `0x${string}`;
2508
+ to: `0x${string}`;
2509
+ };
2510
+ };
2511
+ output: {
2512
+ readonly success: true;
2513
+ readonly value: string;
2514
+ };
2515
+ outputFormat: "json";
2516
+ status: 200;
2517
+ };
2518
+ };
2519
+ } & {
2520
+ "/balance": {
2521
+ $get: {
2522
+ input: {
2523
+ query: {
2524
+ chainId: string | string[];
2525
+ address: string | string[];
2263
2526
  };
2264
2527
  };
2265
2528
  output: {
@@ -2275,8 +2538,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
2275
2538
  $post: {
2276
2539
  input: {
2277
2540
  json: {
2278
- address: `0x${string}`;
2279
2541
  chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
2542
+ address: `0x${string}`;
2280
2543
  contracts: `0x${string}`[];
2281
2544
  };
2282
2545
  };
@@ -2298,8 +2561,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
2298
2561
  $post: {
2299
2562
  input: {
2300
2563
  json: {
2301
- address: `0x${string}`;
2302
2564
  chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
2565
+ address: `0x${string}`;
2303
2566
  };
2304
2567
  };
2305
2568
  output: {
@@ -2320,7 +2583,7 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
2320
2583
  status: import("hono/utils/http-status").ContentfulStatusCode;
2321
2584
  };
2322
2585
  };
2323
- }, "/general">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
2586
+ }, "/general">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
2324
2587
  "/erc20": {
2325
2588
  $get: {
2326
2589
  input: {};
@@ -2346,8 +2609,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
2346
2609
  data: `0x${string}`;
2347
2610
  to: `0x${string}`;
2348
2611
  details: {
2349
- functionName: string;
2350
2612
  address: `0x${string}`;
2613
+ functionName: string;
2351
2614
  abi: any[];
2352
2615
  args: any[];
2353
2616
  };
@@ -2370,8 +2633,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
2370
2633
  data: `0x${string}`;
2371
2634
  to: `0x${string}`;
2372
2635
  details: {
2373
- functionName: string;
2374
2636
  address: `0x${string}`;
2637
+ functionName: string;
2375
2638
  abi: any[];
2376
2639
  args: any[];
2377
2640
  };
@@ -2394,8 +2657,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
2394
2657
  data: `0x${string}`;
2395
2658
  to: `0x${string}`;
2396
2659
  details: {
2397
- functionName: string;
2398
2660
  address: `0x${string}`;
2661
+ functionName: string;
2399
2662
  abi: any[];
2400
2663
  args: any[];
2401
2664
  };
@@ -2409,17 +2672,17 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
2409
2672
  $post: {
2410
2673
  input: {
2411
2674
  json: {
2412
- to: `0x${string}`;
2413
2675
  tokenAddress: `0x${string}`;
2414
2676
  amount: bigint;
2677
+ to: `0x${string}`;
2415
2678
  };
2416
2679
  };
2417
2680
  output: {
2418
2681
  data: `0x${string}`;
2419
2682
  to: `0x${string}`;
2420
2683
  details: {
2421
- functionName: string;
2422
2684
  address: `0x${string}`;
2685
+ functionName: string;
2423
2686
  abi: any[];
2424
2687
  args: any[];
2425
2688
  };
@@ -2456,16 +2719,16 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
2456
2719
  input: {
2457
2720
  json: {
2458
2721
  address: `0x${string}`;
2459
- role: import("./common/roles/erc20-gated-roles.js").Erc20GatedRole;
2460
2722
  tokenAddress: `0x${string}`;
2723
+ role: import("./common/roles/erc20-gated-roles.js").Erc20GatedRole;
2461
2724
  };
2462
2725
  };
2463
2726
  output: {
2464
2727
  data: `0x${string}`;
2465
2728
  to: `0x${string}`;
2466
2729
  details: {
2467
- functionName: string;
2468
2730
  address: `0x${string}`;
2731
+ functionName: string;
2469
2732
  abi: any[];
2470
2733
  args: any[];
2471
2734
  };
@@ -2480,16 +2743,16 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
2480
2743
  input: {
2481
2744
  json: {
2482
2745
  address: `0x${string}`;
2483
- role: import("./common/roles/erc20-gated-roles.js").Erc20GatedRole;
2484
2746
  tokenAddress: `0x${string}`;
2747
+ role: import("./common/roles/erc20-gated-roles.js").Erc20GatedRole;
2485
2748
  };
2486
2749
  };
2487
2750
  output: {
2488
2751
  data: `0x${string}`;
2489
2752
  to: `0x${string}`;
2490
2753
  details: {
2491
- functionName: string;
2492
2754
  address: `0x${string}`;
2755
+ functionName: string;
2493
2756
  abi: any[];
2494
2757
  args: any[];
2495
2758
  };
@@ -2517,6 +2780,43 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
2517
2780
  status: import("hono/utils/http-status").ContentfulStatusCode;
2518
2781
  };
2519
2782
  };
2783
+ } & {
2784
+ "/erc20/recover": {
2785
+ $post: {
2786
+ input: {
2787
+ json: {
2788
+ from: `0x${string}`;
2789
+ tokenAddress: `0x${string}`;
2790
+ amount: bigint;
2791
+ to: `0x${string}`;
2792
+ };
2793
+ };
2794
+ output: {
2795
+ data: `0x${string}`;
2796
+ to: `0x${string}`;
2797
+ details: {
2798
+ address: `0x${string}`;
2799
+ functionName: string;
2800
+ abi: any[];
2801
+ args: any[];
2802
+ };
2803
+ };
2804
+ outputFormat: "json";
2805
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2806
+ };
2807
+ };
2808
+ } & {
2809
+ "/erc721/deploy": {
2810
+ $post: {
2811
+ input: {};
2812
+ output: {
2813
+ abi: any[];
2814
+ bytecode: `0x${string}`;
2815
+ };
2816
+ outputFormat: "json";
2817
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2818
+ };
2819
+ };
2520
2820
  } & {
2521
2821
  "/proxy/deployProxyAdmin": {
2522
2822
  $get: {
@@ -2563,8 +2863,8 @@ export declare function getApp(factory: Factory): import("hono/hono-base").HonoB
2563
2863
  data: `0x${string}`;
2564
2864
  to: `0x${string}`;
2565
2865
  details: {
2566
- functionName: string;
2567
2866
  address: `0x${string}`;
2867
+ functionName: string;
2568
2868
  abi: any[];
2569
2869
  args: any[];
2570
2870
  };