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

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 (153) hide show
  1. package/dist/app.d.ts +71 -71
  2. package/dist/client.d.ts +76 -76
  3. package/dist/fractions/index.d.ts +71 -71
  4. package/dist/fractions/index.d.ts.map +1 -1
  5. package/dist/fractions/index.js +0 -2
  6. package/dist/fractions/platforms/deployMarket.routes.js +4 -4
  7. package/dist/fractions/platforms/initCompilot.routes.js +1 -1
  8. package/dist/fractions/platforms/initNid.route.js +1 -1
  9. package/dist/fractions/sales/approveSale.route.js +1 -1
  10. package/dist/fractions/sales/approveWrapper.route.d.ts +88 -0
  11. package/dist/fractions/sales/approveWrapper.route.d.ts.map +1 -0
  12. package/dist/fractions/sales/approveWrapper.route.js +92 -0
  13. package/dist/fractions/sales/completeSale.route.js +1 -1
  14. package/dist/fractions/sales/createFractions.route.js +1 -1
  15. package/dist/fractions/sales/getFractionSaleStatistics.route.js +1 -1
  16. package/dist/fractions/sales/getVaultAddress.js +1 -1
  17. package/dist/fractions/sales/getWithdrawEvent.js +1 -1
  18. package/dist/fractions/sales/index.d.ts +71 -1
  19. package/dist/fractions/sales/index.d.ts.map +1 -1
  20. package/dist/fractions/sales/index.js +5 -1
  21. package/dist/fractions/sales/parseFractionsCreatedEvent.js +1 -1
  22. package/dist/fractions/sales/purchase.route.js +1 -1
  23. package/dist/fractions/sales/purchaseStatistics.route.js +1 -1
  24. package/dist/fractions/sales/receiveFundsAfterNonFunded.route.js +2 -2
  25. package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.js +1 -1
  26. package/dist/fractions/sales/recoverFractions.js +1 -1
  27. package/dist/fractions/sales/rejectFractions.js +1 -1
  28. package/dist/fractions/sales/searchActivity.route.js +1 -1
  29. package/dist/fractions/sales/searchSales/searchSales.js +1 -1
  30. package/dist/fractions/sales/searchWithdrawal.route.js +1 -1
  31. package/dist/fractions/sales/setFeeCapLimit.js +1 -1
  32. package/dist/fractions/sales/unlockWrappedAssets.route.js +1 -1
  33. package/dist/fractions/sales/vesting/claimStatistics.route.js +1 -1
  34. package/dist/fractions/sales/vesting/claimVestedTokens.route.js +1 -1
  35. package/dist/fractions/sales/vesting/editCliff.route.js +1 -1
  36. package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.js +1 -1
  37. package/dist/fractions/sales/withdraw.route.js +1 -1
  38. package/dist/fractions/statistics/networkStatistics.route.js +4 -4
  39. package/dist/issuance/erc1155/burn.d.ts.map +1 -1
  40. package/dist/issuance/erc1155/burn.js +2 -1
  41. package/dist/issuance/erc1155/default/deploy.d.ts.map +1 -1
  42. package/dist/issuance/erc1155/default/deploy.js +2 -1
  43. package/dist/issuance/erc1155/default/initialize.d.ts.map +1 -1
  44. package/dist/issuance/erc1155/default/initialize.js +2 -1
  45. package/dist/issuance/erc1155/default/parseDeployEvent.d.ts.map +1 -1
  46. package/dist/issuance/erc1155/default/parseDeployEvent.js +2 -1
  47. package/dist/issuance/erc1155/gated/deploy.d.ts.map +1 -1
  48. package/dist/issuance/erc1155/gated/deploy.js +2 -1
  49. package/dist/issuance/erc1155/gated/initialize.d.ts.map +1 -1
  50. package/dist/issuance/erc1155/gated/initialize.js +2 -1
  51. package/dist/issuance/erc1155/gated/parseDeployEvent.d.ts.map +1 -1
  52. package/dist/issuance/erc1155/gated/parseDeployEvent.js +2 -1
  53. package/dist/issuance/erc1155/grantRole.d.ts.map +1 -1
  54. package/dist/issuance/erc1155/grantRole.js +2 -1
  55. package/dist/issuance/erc1155/mint.d.ts.map +1 -1
  56. package/dist/issuance/erc1155/mint.js +2 -1
  57. package/dist/issuance/erc1155/recover.d.ts.map +1 -1
  58. package/dist/issuance/erc1155/recover.js +2 -1
  59. package/dist/issuance/erc1155/renounceRole.d.ts.map +1 -1
  60. package/dist/issuance/erc1155/renounceRole.js +2 -1
  61. package/dist/issuance/erc1155/revokeRole.d.ts.map +1 -1
  62. package/dist/issuance/erc1155/revokeRole.js +2 -1
  63. package/dist/issuance/erc1155/setApprovalForAll.d.ts.map +1 -1
  64. package/dist/issuance/erc1155/setApprovalForAll.js +2 -1
  65. package/dist/issuance/erc1155/setBaseURI.d.ts.map +1 -1
  66. package/dist/issuance/erc1155/setBaseURI.js +2 -1
  67. package/dist/issuance/erc1155/setTokenURI.d.ts.map +1 -1
  68. package/dist/issuance/erc1155/setTokenURI.js +2 -1
  69. package/dist/issuance/erc1155/tag.d.ts +4 -0
  70. package/dist/issuance/erc1155/tag.d.ts.map +1 -0
  71. package/dist/issuance/erc1155/tag.js +2 -0
  72. package/dist/issuance/erc20/approve.d.ts.map +1 -1
  73. package/dist/issuance/erc20/approve.js +2 -1
  74. package/dist/issuance/erc20/burn.d.ts.map +1 -1
  75. package/dist/issuance/erc20/burn.js +2 -1
  76. package/dist/issuance/erc20/default/deploy.d.ts.map +1 -1
  77. package/dist/issuance/erc20/default/deploy.js +2 -1
  78. package/dist/issuance/erc20/default/initialize.d.ts.map +1 -1
  79. package/dist/issuance/erc20/default/initialize.js +2 -1
  80. package/dist/issuance/erc20/default/parseDeployEvent.d.ts.map +1 -1
  81. package/dist/issuance/erc20/default/parseDeployEvent.js +2 -1
  82. package/dist/issuance/erc20/gated/deploy.d.ts.map +1 -1
  83. package/dist/issuance/erc20/gated/deploy.js +2 -1
  84. package/dist/issuance/erc20/gated/initialize.d.ts.map +1 -1
  85. package/dist/issuance/erc20/gated/initialize.js +2 -1
  86. package/dist/issuance/erc20/gated/parseDeployEvent.d.ts.map +1 -1
  87. package/dist/issuance/erc20/gated/parseDeployEvent.js +2 -1
  88. package/dist/issuance/erc20/gatedSimple/deploy.d.ts.map +1 -1
  89. package/dist/issuance/erc20/gatedSimple/deploy.js +2 -1
  90. package/dist/issuance/erc20/gatedSimple/getInitData.d.ts.map +1 -1
  91. package/dist/issuance/erc20/gatedSimple/getInitData.js +2 -1
  92. package/dist/issuance/erc20/gatedSimple/parseDeployEvent.d.ts.map +1 -1
  93. package/dist/issuance/erc20/gatedSimple/parseDeployEvent.js +2 -1
  94. package/dist/issuance/erc20/grantRole.d.ts.map +1 -1
  95. package/dist/issuance/erc20/grantRole.js +2 -1
  96. package/dist/issuance/erc20/mint.d.ts.map +1 -1
  97. package/dist/issuance/erc20/mint.js +2 -1
  98. package/dist/issuance/erc20/recover.d.ts.map +1 -1
  99. package/dist/issuance/erc20/recover.js +2 -1
  100. package/dist/issuance/erc20/renounceRole.d.ts.map +1 -1
  101. package/dist/issuance/erc20/renounceRole.js +2 -1
  102. package/dist/issuance/erc20/revokeRole.d.ts.map +1 -1
  103. package/dist/issuance/erc20/revokeRole.js +2 -1
  104. package/dist/issuance/erc20/tag.d.ts +4 -0
  105. package/dist/issuance/erc20/tag.d.ts.map +1 -0
  106. package/dist/issuance/erc20/tag.js +2 -0
  107. package/dist/issuance/erc20/transfer.d.ts.map +1 -1
  108. package/dist/issuance/erc20/transfer.js +2 -1
  109. package/dist/issuance/erc20/transferFrom.d.ts.map +1 -1
  110. package/dist/issuance/erc20/transferFrom.js +2 -1
  111. package/dist/issuance/erc721/approve.d.ts.map +1 -1
  112. package/dist/issuance/erc721/approve.js +2 -1
  113. package/dist/issuance/erc721/burn.d.ts.map +1 -1
  114. package/dist/issuance/erc721/burn.js +2 -1
  115. package/dist/issuance/erc721/default/deploy.d.ts.map +1 -1
  116. package/dist/issuance/erc721/default/deploy.js +2 -1
  117. package/dist/issuance/erc721/default/initialize.d.ts.map +1 -1
  118. package/dist/issuance/erc721/default/initialize.js +2 -1
  119. package/dist/issuance/erc721/default/parseDeployEvent.d.ts.map +1 -1
  120. package/dist/issuance/erc721/default/parseDeployEvent.js +2 -1
  121. package/dist/issuance/erc721/gated/deploy.d.ts.map +1 -1
  122. package/dist/issuance/erc721/gated/deploy.js +2 -1
  123. package/dist/issuance/erc721/gated/initialize.d.ts.map +1 -1
  124. package/dist/issuance/erc721/gated/initialize.js +2 -1
  125. package/dist/issuance/erc721/gated/parseDeployEvent.d.ts.map +1 -1
  126. package/dist/issuance/erc721/gated/parseDeployEvent.js +2 -1
  127. package/dist/issuance/erc721/grantRole.d.ts.map +1 -1
  128. package/dist/issuance/erc721/grantRole.js +2 -1
  129. package/dist/issuance/erc721/mint.d.ts.map +1 -1
  130. package/dist/issuance/erc721/mint.js +2 -1
  131. package/dist/issuance/erc721/recover.d.ts.map +1 -1
  132. package/dist/issuance/erc721/recover.js +2 -1
  133. package/dist/issuance/erc721/renounceRole.d.ts.map +1 -1
  134. package/dist/issuance/erc721/renounceRole.js +2 -1
  135. package/dist/issuance/erc721/revokeRole.d.ts.map +1 -1
  136. package/dist/issuance/erc721/revokeRole.js +2 -1
  137. package/dist/issuance/erc721/setBaseURI.d.ts.map +1 -1
  138. package/dist/issuance/erc721/setBaseURI.js +2 -1
  139. package/dist/issuance/erc721/setTokenURI.d.ts.map +1 -1
  140. package/dist/issuance/erc721/setTokenURI.js +2 -1
  141. package/dist/issuance/erc721/tag.d.ts +4 -0
  142. package/dist/issuance/erc721/tag.d.ts.map +1 -0
  143. package/dist/issuance/erc721/tag.js +2 -0
  144. package/dist/issuance/erc721/transferFrom.d.ts.map +1 -1
  145. package/dist/issuance/erc721/transferFrom.js +2 -1
  146. package/dist/issuance/proxy/deploy.d.ts.map +1 -1
  147. package/dist/issuance/proxy/deploy.js +3 -2
  148. package/dist/issuance/proxy/tag.d.ts +4 -0
  149. package/dist/issuance/proxy/tag.d.ts.map +1 -0
  150. package/dist/issuance/proxy/tag.js +2 -0
  151. package/dist/issuance/proxy/upgrade.d.ts.map +1 -1
  152. package/dist/issuance/proxy/upgrade.js +2 -1
  153. package/package.json +15 -13
package/dist/app.d.ts CHANGED
@@ -1359,76 +1359,6 @@ export declare function buildApps(config?: IAppConfig): {
1359
1359
  };
1360
1360
  };
1361
1361
  }, "/initNftFractionsCompilot">, "/platforms"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
1362
- "/": {
1363
- $post: {
1364
- input: {
1365
- json: {
1366
- marketAddress: string;
1367
- wrapperAddress: string;
1368
- };
1369
- };
1370
- output: {
1371
- data: `0x${string}`;
1372
- to: `0x${string}`;
1373
- details: {
1374
- functionName: string;
1375
- address: `0x${string}`;
1376
- abi: any[];
1377
- args: any[];
1378
- };
1379
- };
1380
- outputFormat: "json";
1381
- status: import("hono/utils/http-status").ContentfulStatusCode;
1382
- };
1383
- };
1384
- }, "/approveWrapper"> | import("hono/types").MergeSchemaPath<{
1385
- "/": {
1386
- $post: {
1387
- input: {
1388
- json: {
1389
- wrapperAddress: string;
1390
- erc20Address: string;
1391
- amount: string;
1392
- };
1393
- };
1394
- output: {
1395
- data: `0x${string}`;
1396
- to: `0x${string}`;
1397
- details: {
1398
- functionName: string;
1399
- address: `0x${string}`;
1400
- abi: any[];
1401
- args: any[];
1402
- };
1403
- };
1404
- outputFormat: "json";
1405
- status: import("hono/utils/http-status").ContentfulStatusCode;
1406
- };
1407
- };
1408
- }, "/approveWrapperAsErc20Spender"> | import("hono/types").MergeSchemaPath<{
1409
- "/": {
1410
- $post: {
1411
- input: {
1412
- json: {
1413
- wrapperAddress: string;
1414
- erc721Address: string;
1415
- };
1416
- };
1417
- output: {
1418
- data: `0x${string}`;
1419
- to: `0x${string}`;
1420
- details: {
1421
- functionName: string;
1422
- address: `0x${string}`;
1423
- abi: any[];
1424
- args: any[];
1425
- };
1426
- };
1427
- outputFormat: "json";
1428
- status: import("hono/utils/http-status").ContentfulStatusCode;
1429
- };
1430
- };
1431
- }, "/approveWrapperAsErc721Spender">, "/fractions"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
1432
1362
  "/": {
1433
1363
  $get: {
1434
1364
  input: {};
@@ -2340,7 +2270,77 @@ export declare function buildApps(config?: IAppConfig): {
2340
2270
  status: 200;
2341
2271
  };
2342
2272
  };
2343
- }, "/getVaultAddress">, "/sales"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
2273
+ }, "/getVaultAddress"> | import("hono/types").MergeSchemaPath<{
2274
+ "/": {
2275
+ $post: {
2276
+ input: {
2277
+ json: {
2278
+ marketAddress: string;
2279
+ wrapperAddress: string;
2280
+ };
2281
+ };
2282
+ output: {
2283
+ data: `0x${string}`;
2284
+ to: `0x${string}`;
2285
+ details: {
2286
+ functionName: string;
2287
+ address: `0x${string}`;
2288
+ abi: any[];
2289
+ args: any[];
2290
+ };
2291
+ };
2292
+ outputFormat: "json";
2293
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2294
+ };
2295
+ };
2296
+ }, "/approveWrapper"> | import("hono/types").MergeSchemaPath<{
2297
+ "/": {
2298
+ $post: {
2299
+ input: {
2300
+ json: {
2301
+ wrapperAddress: string;
2302
+ erc20Address: string;
2303
+ amount: string;
2304
+ };
2305
+ };
2306
+ output: {
2307
+ data: `0x${string}`;
2308
+ to: `0x${string}`;
2309
+ details: {
2310
+ functionName: string;
2311
+ address: `0x${string}`;
2312
+ abi: any[];
2313
+ args: any[];
2314
+ };
2315
+ };
2316
+ outputFormat: "json";
2317
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2318
+ };
2319
+ };
2320
+ }, "/approveWrapperAsErc20Spender"> | import("hono/types").MergeSchemaPath<{
2321
+ "/": {
2322
+ $post: {
2323
+ input: {
2324
+ json: {
2325
+ wrapperAddress: string;
2326
+ erc721Address: string;
2327
+ };
2328
+ };
2329
+ output: {
2330
+ data: `0x${string}`;
2331
+ to: `0x${string}`;
2332
+ details: {
2333
+ functionName: string;
2334
+ address: `0x${string}`;
2335
+ abi: any[];
2336
+ args: any[];
2337
+ };
2338
+ };
2339
+ outputFormat: "json";
2340
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2341
+ };
2342
+ };
2343
+ }, "/approveWrapperAsErc721Spender">, "/sales"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
2344
2344
  "/": {
2345
2345
  $post: {
2346
2346
  input: {
package/dist/client.d.ts CHANGED
@@ -1543,82 +1543,6 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
1543
1543
  };
1544
1544
  }>;
1545
1545
  };
1546
- } & {
1547
- fractions: {
1548
- approveWrapper: import("hono/client").ClientRequest<string, "/fractions/approveWrapper", {
1549
- $post: {
1550
- input: {
1551
- json: {
1552
- marketAddress: string;
1553
- wrapperAddress: string;
1554
- };
1555
- };
1556
- output: {
1557
- data: `0x${string}`;
1558
- to: `0x${string}`;
1559
- details: {
1560
- functionName: string;
1561
- address: `0x${string}`;
1562
- abi: any[];
1563
- args: any[];
1564
- };
1565
- };
1566
- outputFormat: "json";
1567
- status: import("hono/utils/http-status").ContentfulStatusCode;
1568
- };
1569
- }>;
1570
- };
1571
- } & {
1572
- fractions: {
1573
- approveWrapperAsErc20Spender: import("hono/client").ClientRequest<string, "/fractions/approveWrapperAsErc20Spender", {
1574
- $post: {
1575
- input: {
1576
- json: {
1577
- wrapperAddress: string;
1578
- erc20Address: string;
1579
- amount: string;
1580
- };
1581
- };
1582
- output: {
1583
- data: `0x${string}`;
1584
- to: `0x${string}`;
1585
- details: {
1586
- functionName: string;
1587
- address: `0x${string}`;
1588
- abi: any[];
1589
- args: any[];
1590
- };
1591
- };
1592
- outputFormat: "json";
1593
- status: import("hono/utils/http-status").ContentfulStatusCode;
1594
- };
1595
- }>;
1596
- };
1597
- } & {
1598
- fractions: {
1599
- approveWrapperAsErc721Spender: import("hono/client").ClientRequest<string, "/fractions/approveWrapperAsErc721Spender", {
1600
- $post: {
1601
- input: {
1602
- json: {
1603
- wrapperAddress: string;
1604
- erc721Address: string;
1605
- };
1606
- };
1607
- output: {
1608
- data: `0x${string}`;
1609
- to: `0x${string}`;
1610
- details: {
1611
- functionName: string;
1612
- address: `0x${string}`;
1613
- abi: any[];
1614
- args: any[];
1615
- };
1616
- };
1617
- outputFormat: "json";
1618
- status: import("hono/utils/http-status").ContentfulStatusCode;
1619
- };
1620
- }>;
1621
- };
1622
1546
  } & {
1623
1547
  roles: import("hono/client").ClientRequest<string, "/roles", {
1624
1548
  $get: {
@@ -2595,6 +2519,82 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
2595
2519
  };
2596
2520
  }>;
2597
2521
  };
2522
+ } & {
2523
+ sales: {
2524
+ approveWrapper: import("hono/client").ClientRequest<string, "/sales/approveWrapper", {
2525
+ $post: {
2526
+ input: {
2527
+ json: {
2528
+ marketAddress: string;
2529
+ wrapperAddress: string;
2530
+ };
2531
+ };
2532
+ output: {
2533
+ data: `0x${string}`;
2534
+ to: `0x${string}`;
2535
+ details: {
2536
+ functionName: string;
2537
+ address: `0x${string}`;
2538
+ abi: any[];
2539
+ args: any[];
2540
+ };
2541
+ };
2542
+ outputFormat: "json";
2543
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2544
+ };
2545
+ }>;
2546
+ };
2547
+ } & {
2548
+ sales: {
2549
+ approveWrapperAsErc20Spender: import("hono/client").ClientRequest<string, "/sales/approveWrapperAsErc20Spender", {
2550
+ $post: {
2551
+ input: {
2552
+ json: {
2553
+ wrapperAddress: string;
2554
+ erc20Address: string;
2555
+ amount: string;
2556
+ };
2557
+ };
2558
+ output: {
2559
+ data: `0x${string}`;
2560
+ to: `0x${string}`;
2561
+ details: {
2562
+ functionName: string;
2563
+ address: `0x${string}`;
2564
+ abi: any[];
2565
+ args: any[];
2566
+ };
2567
+ };
2568
+ outputFormat: "json";
2569
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2570
+ };
2571
+ }>;
2572
+ };
2573
+ } & {
2574
+ sales: {
2575
+ approveWrapperAsErc721Spender: import("hono/client").ClientRequest<string, "/sales/approveWrapperAsErc721Spender", {
2576
+ $post: {
2577
+ input: {
2578
+ json: {
2579
+ wrapperAddress: string;
2580
+ erc721Address: string;
2581
+ };
2582
+ };
2583
+ output: {
2584
+ data: `0x${string}`;
2585
+ to: `0x${string}`;
2586
+ details: {
2587
+ functionName: string;
2588
+ address: `0x${string}`;
2589
+ abi: any[];
2590
+ args: any[];
2591
+ };
2592
+ };
2593
+ outputFormat: "json";
2594
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2595
+ };
2596
+ }>;
2597
+ };
2598
2598
  } & {
2599
2599
  sig: {
2600
2600
  nonce: import("hono/client").ClientRequest<string, "/sig/nonce", {
@@ -298,76 +298,6 @@ export declare const FractionsApi: import("../common/controller.js").IApi<import
298
298
  };
299
299
  };
300
300
  }, "/initNftFractionsCompilot">, "/platforms"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
301
- "/": {
302
- $post: {
303
- input: {
304
- json: {
305
- marketAddress: string;
306
- wrapperAddress: string;
307
- };
308
- };
309
- output: {
310
- data: `0x${string}`;
311
- to: `0x${string}`;
312
- details: {
313
- functionName: string;
314
- address: `0x${string}`;
315
- abi: any[];
316
- args: any[];
317
- };
318
- };
319
- outputFormat: "json";
320
- status: import("hono/utils/http-status").ContentfulStatusCode;
321
- };
322
- };
323
- }, "/approveWrapper"> | import("hono/types").MergeSchemaPath<{
324
- "/": {
325
- $post: {
326
- input: {
327
- json: {
328
- wrapperAddress: string;
329
- erc20Address: string;
330
- amount: string;
331
- };
332
- };
333
- output: {
334
- data: `0x${string}`;
335
- to: `0x${string}`;
336
- details: {
337
- functionName: string;
338
- address: `0x${string}`;
339
- abi: any[];
340
- args: any[];
341
- };
342
- };
343
- outputFormat: "json";
344
- status: import("hono/utils/http-status").ContentfulStatusCode;
345
- };
346
- };
347
- }, "/approveWrapperAsErc20Spender"> | import("hono/types").MergeSchemaPath<{
348
- "/": {
349
- $post: {
350
- input: {
351
- json: {
352
- wrapperAddress: string;
353
- erc721Address: string;
354
- };
355
- };
356
- output: {
357
- data: `0x${string}`;
358
- to: `0x${string}`;
359
- details: {
360
- functionName: string;
361
- address: `0x${string}`;
362
- abi: any[];
363
- args: any[];
364
- };
365
- };
366
- outputFormat: "json";
367
- status: import("hono/utils/http-status").ContentfulStatusCode;
368
- };
369
- };
370
- }, "/approveWrapperAsErc721Spender">, "/fractions"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
371
301
  "/": {
372
302
  $get: {
373
303
  input: {};
@@ -1279,7 +1209,77 @@ export declare const FractionsApi: import("../common/controller.js").IApi<import
1279
1209
  status: 200;
1280
1210
  };
1281
1211
  };
1282
- }, "/getVaultAddress">, "/sales"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
1212
+ }, "/getVaultAddress"> | import("hono/types").MergeSchemaPath<{
1213
+ "/": {
1214
+ $post: {
1215
+ input: {
1216
+ json: {
1217
+ marketAddress: string;
1218
+ wrapperAddress: string;
1219
+ };
1220
+ };
1221
+ output: {
1222
+ data: `0x${string}`;
1223
+ to: `0x${string}`;
1224
+ details: {
1225
+ functionName: string;
1226
+ address: `0x${string}`;
1227
+ abi: any[];
1228
+ args: any[];
1229
+ };
1230
+ };
1231
+ outputFormat: "json";
1232
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1233
+ };
1234
+ };
1235
+ }, "/approveWrapper"> | import("hono/types").MergeSchemaPath<{
1236
+ "/": {
1237
+ $post: {
1238
+ input: {
1239
+ json: {
1240
+ wrapperAddress: string;
1241
+ erc20Address: string;
1242
+ amount: string;
1243
+ };
1244
+ };
1245
+ output: {
1246
+ data: `0x${string}`;
1247
+ to: `0x${string}`;
1248
+ details: {
1249
+ functionName: string;
1250
+ address: `0x${string}`;
1251
+ abi: any[];
1252
+ args: any[];
1253
+ };
1254
+ };
1255
+ outputFormat: "json";
1256
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1257
+ };
1258
+ };
1259
+ }, "/approveWrapperAsErc20Spender"> | import("hono/types").MergeSchemaPath<{
1260
+ "/": {
1261
+ $post: {
1262
+ input: {
1263
+ json: {
1264
+ wrapperAddress: string;
1265
+ erc721Address: string;
1266
+ };
1267
+ };
1268
+ output: {
1269
+ data: `0x${string}`;
1270
+ to: `0x${string}`;
1271
+ details: {
1272
+ functionName: string;
1273
+ address: `0x${string}`;
1274
+ abi: any[];
1275
+ args: any[];
1276
+ };
1277
+ };
1278
+ outputFormat: "json";
1279
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1280
+ };
1281
+ };
1282
+ }, "/approveWrapperAsErc721Spender">, "/sales"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
1283
1283
  "/": {
1284
1284
  $post: {
1285
1285
  input: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/fractions/index.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAYvB,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import { createApi } from "../common/controller.js";
2
- import { FractionsSubController } from "./fractions/index.js";
3
2
  import { MarketsController } from "./markets/index.js";
4
3
  import { PlatformsController } from "./platforms/index.js";
5
4
  import { RolesController } from "./roles/index.js";
@@ -13,7 +12,6 @@ export const FractionsApi = createApi({
13
12
  .createApp()
14
13
  .route("/markets", MarketsController.build(factory))
15
14
  .route("/platforms", PlatformsController.build(factory))
16
- .route("/fractions", FractionsSubController.build(factory))
17
15
  .route("/roles", RolesController.build(factory))
18
16
  .route("/sales", SalesController.build(factory))
19
17
  .route("/sig", SigController.build(factory))
@@ -7,7 +7,7 @@ import { DeployMarketRequestSchema } from "./deployMarket.schema.js";
7
7
  const route = describeRoute({
8
8
  summary: "Deploy a market",
9
9
  description: "Returns transaction data for deploying a market",
10
- tags: ["Markets"],
10
+ tags: ["Platforms"],
11
11
  responses: {
12
12
  200: {
13
13
  description: "Returns transaction data for deploying a market",
@@ -36,7 +36,7 @@ export const DeployMarketV0 = createController({
36
36
  const compilotRoute = describeRoute({
37
37
  summary: "Deploy a market gated by ComPilot",
38
38
  description: "Returns transaction data for deploying a ComPilot-gated market",
39
- tags: ["Markets"],
39
+ tags: ["Platforms"],
40
40
  responses: {
41
41
  200: {
42
42
  description: "Returns transaction data for deploying a ComPilot-gated market",
@@ -65,7 +65,7 @@ export const DeployCompilotMarketV0 = createController({
65
65
  const continuousWithdrawRoute = describeRoute({
66
66
  summary: "Deploy a market with continuous withdraw",
67
67
  description: "Returns transaction data for deploying a market with continuous withdraw capability",
68
- tags: ["Markets"],
68
+ tags: ["Platforms"],
69
69
  responses: {
70
70
  200: {
71
71
  description: "Returns transaction data for deploying a market with continuous withdraw",
@@ -94,7 +94,7 @@ export const DeployContinuousWithdrawMarketV0 = createController({
94
94
  const continuousWithdrawNidRoute = describeRoute({
95
95
  summary: "Deploy a market with continuous withdraw and ComPilot gating",
96
96
  description: "Returns transaction data for deploying a market with continuous withdraw capability",
97
- tags: ["Markets"],
97
+ tags: ["Platforms"],
98
98
  responses: {
99
99
  200: {
100
100
  description: "Returns transaction data for deploying a market with continuous withdraw",
@@ -8,7 +8,7 @@ const route = describeRoute({
8
8
  summary: "Initialize ComPilot signer for NFT Fractions market",
9
9
  description: "Returns transaction data for initializing the ComPilot signer on an NFT Fractions market. " +
10
10
  "This must be called after deploying the market to enable compliance gating.",
11
- tags: ["NFT Fractions"],
11
+ tags: ["Platforms"],
12
12
  responses: {
13
13
  200: {
14
14
  description: "Returns transaction data for initializing ComPilot signer",
@@ -8,7 +8,7 @@ import { AddressSchema, DEFAULT_COMPILOT_SIGNER, toTransaction, TransactionSchem
8
8
  const route = describeRoute({
9
9
  summary: "Deploy a market with continuous withdraw",
10
10
  description: "Returns transaction data for deploying a market with continuous withdraw capability",
11
- tags: ["Markets"],
11
+ tags: ["Platforms"],
12
12
  responses: {
13
13
  200: {
14
14
  description: "Returns transaction data for deploying a market with continuous withdraw",
@@ -12,7 +12,7 @@ export const ApproveSaleRequestSchema = z.object({
12
12
  const route = describeRoute({
13
13
  summary: "Approve a sale",
14
14
  description: "Returns transaction data for approving a sale",
15
- tags: ["Fractions"],
15
+ tags: ["Sales"],
16
16
  responses: {
17
17
  200: {
18
18
  description: "Returns transaction data for approving a sale",
@@ -0,0 +1,88 @@
1
+ import { z } from "zod";
2
+ export declare const ApproveWrapperRequestSchema: z.ZodObject<{
3
+ marketAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
4
+ wrapperAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
5
+ }, z.core.$strip>;
6
+ export declare const ApproveErc20SpendingToWrapper: z.ZodObject<{
7
+ wrapperAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
8
+ erc20Address: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
9
+ amount: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
10
+ }, z.core.$strip>;
11
+ export declare const ApproveErc721SpendingToWrapper: z.ZodObject<{
12
+ wrapperAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
13
+ erc721Address: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
14
+ }, z.core.$strip>;
15
+ export declare const ApproveWrapperV0: import("../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../common/context.js").AppContext, {
16
+ "/": {
17
+ $post: {
18
+ input: {
19
+ json: {
20
+ marketAddress: string;
21
+ wrapperAddress: string;
22
+ };
23
+ };
24
+ output: {
25
+ data: `0x${string}`;
26
+ to: `0x${string}`;
27
+ details: {
28
+ functionName: string;
29
+ address: `0x${string}`;
30
+ abi: any[];
31
+ args: any[];
32
+ };
33
+ };
34
+ outputFormat: "json";
35
+ status: import("hono/utils/http-status").ContentfulStatusCode;
36
+ };
37
+ };
38
+ }, "/", "/">>;
39
+ export declare const ApproveErc20SpendingToWrapperV0: import("../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../common/context.js").AppContext, {
40
+ "/": {
41
+ $post: {
42
+ input: {
43
+ json: {
44
+ wrapperAddress: string;
45
+ erc20Address: string;
46
+ amount: string;
47
+ };
48
+ };
49
+ output: {
50
+ data: `0x${string}`;
51
+ to: `0x${string}`;
52
+ details: {
53
+ functionName: string;
54
+ address: `0x${string}`;
55
+ abi: any[];
56
+ args: any[];
57
+ };
58
+ };
59
+ outputFormat: "json";
60
+ status: import("hono/utils/http-status").ContentfulStatusCode;
61
+ };
62
+ };
63
+ }, "/", "/">>;
64
+ export declare const ApproveErc721SpendingToWrapperV0: import("../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../common/context.js").AppContext, {
65
+ "/": {
66
+ $post: {
67
+ input: {
68
+ json: {
69
+ wrapperAddress: string;
70
+ erc721Address: string;
71
+ };
72
+ };
73
+ output: {
74
+ data: `0x${string}`;
75
+ to: `0x${string}`;
76
+ details: {
77
+ functionName: string;
78
+ address: `0x${string}`;
79
+ abi: any[];
80
+ args: any[];
81
+ };
82
+ };
83
+ outputFormat: "json";
84
+ status: import("hono/utils/http-status").ContentfulStatusCode;
85
+ };
86
+ };
87
+ }, "/", "/">>;
88
+ //# sourceMappingURL=approveWrapper.route.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"approveWrapper.route.d.ts","sourceRoot":"","sources":["../../../src/fractions/sales/approveWrapper.route.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,eAAO,MAAM,2BAA2B;;;iBAGtC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;iBAIxC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;iBAGzC,CAAC;AAkBH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;aAc3B,CAAC;AAkBH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;aAc1C,CAAC;AAkBH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;aAc3C,CAAC"}