@evergonlabs/tmi-protocol-api 0.10.1 → 0.11.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.d.ts +384 -76
- package/dist/app.d.ts.map +1 -1
- package/dist/client.d.ts +408 -76
- package/dist/client.d.ts.map +1 -1
- package/dist/common/blockchain.d.ts +8700 -64
- package/dist/common/blockchain.d.ts.map +1 -1
- package/dist/common/blockchain.js +5 -1
- package/dist/common/config.d.ts +5 -0
- package/dist/common/config.d.ts.map +1 -1
- package/dist/common/config.js +5 -0
- package/dist/common/indexer/client.d.ts.map +1 -1
- package/dist/common/indexer/schemas.d.ts.map +1 -1
- package/dist/common/models/asset.d.ts +1 -1
- package/dist/common/models/base/chainId.d.ts +5 -5
- package/dist/common/models/base/chainId.d.ts.map +1 -1
- package/dist/common/models/chainId.d.ts +5 -5
- package/dist/common/models/chainId.d.ts.map +1 -1
- package/dist/common/models/transaction.d.ts +1 -1
- package/dist/fractions/index.d.ts +18 -57
- package/dist/fractions/index.d.ts.map +1 -1
- package/dist/fractions/markets/common/platform.d.ts +2 -2
- package/dist/fractions/markets/deployMarket.routes.d.ts.map +1 -0
- package/dist/fractions/{platforms → markets}/deployMarket.routes.js +16 -16
- package/dist/fractions/{platforms → markets}/deployMarket.schema.d.ts +1 -1
- package/dist/fractions/markets/deployMarket.schema.d.ts.map +1 -0
- package/dist/fractions/markets/getMarket/getMarket.d.ts +1 -1
- package/dist/fractions/markets/getMarket/index.d.ts +1 -1
- package/dist/fractions/markets/index.d.ts +1 -1
- package/dist/fractions/markets/initCompilot.routes.d.ts.map +1 -0
- package/dist/fractions/{platforms → markets}/initCompilot.routes.js +4 -5
- package/dist/fractions/platforms/index.d.ts +4 -4
- package/dist/fractions/platforms/index.d.ts.map +1 -1
- package/dist/fractions/platforms/index.js +4 -4
- package/dist/fractions/roles/grantRole.schema.d.ts +1 -1
- package/dist/fractions/sales/activityUtils.d.ts +1 -1
- package/dist/fractions/sales/approveWrapper.route.d.ts +0 -58
- package/dist/fractions/sales/approveWrapper.route.d.ts.map +1 -1
- package/dist/fractions/sales/approveWrapper.route.js +1 -59
- package/dist/fractions/sales/common/fractionsSale.d.ts +4 -4
- package/dist/fractions/sales/createFractions.schema.d.ts +1 -1
- package/dist/fractions/sales/getFractionSaleStatistics.route.d.ts +2 -2
- package/dist/fractions/sales/getFractionSaleStatistics.route.js +1 -1
- package/dist/fractions/sales/getVaultAddress.d.ts +1 -1
- package/dist/fractions/sales/index.d.ts +6 -53
- package/dist/fractions/sales/index.d.ts.map +1 -1
- package/dist/fractions/sales/index.js +1 -3
- package/dist/fractions/sales/parseFractionsCreatedEvent.js +2 -2
- package/dist/fractions/sales/purchase.route.d.ts +1 -1
- package/dist/fractions/sales/purchaseStatistics.route.d.ts +1 -1
- package/dist/fractions/sales/purchaseStatistics.route.js +1 -1
- package/dist/fractions/sales/searchActivity.route.d.ts +1 -1
- package/dist/fractions/sales/vesting/claimStatistics.route.d.ts +3 -3
- package/dist/fractions/sig/getAuthData.d.ts +1 -1
- package/dist/fractions/sig/getNonce.route.d.ts +1 -1
- package/dist/fractions/statistics/index.d.ts +8 -0
- package/dist/fractions/statistics/index.d.ts.map +1 -1
- package/dist/fractions/statistics/networkStatistics.route.d.ts +8 -0
- package/dist/fractions/statistics/networkStatistics.route.d.ts.map +1 -1
- package/dist/issuance/common/factories.base.d.ts +649 -5
- package/dist/issuance/common/factories.base.d.ts.map +1 -1
- package/dist/issuance/common/factories.base.js +2 -2
- package/dist/issuance/common/factories.d.ts +1 -1
- package/dist/issuance/common/factories.d.ts.map +1 -1
- package/dist/issuance/erc1155/default/deploy.d.ts +2 -2
- package/dist/issuance/erc1155/gated/deploy.d.ts +2 -2
- package/dist/issuance/erc1155/getMintedTokenId.d.ts +18 -0
- package/dist/issuance/erc1155/getMintedTokenId.d.ts.map +1 -0
- package/dist/issuance/erc1155/getMintedTokenId.js +81 -0
- package/dist/issuance/erc1155/index.d.ts +19 -3
- package/dist/issuance/erc1155/index.d.ts.map +1 -1
- package/dist/issuance/erc1155/index.js +3 -1
- package/dist/issuance/erc20/default/deploy.d.ts +2 -2
- package/dist/issuance/erc20/gated/deploy.d.ts +2 -2
- package/dist/issuance/erc20/index.d.ts +2 -2
- package/dist/issuance/erc721/default/deploy.d.ts +2 -2
- package/dist/issuance/erc721/gated/deploy.d.ts +2 -2
- package/dist/issuance/erc721/getMintedTokenId.d.ts +18 -0
- package/dist/issuance/erc721/getMintedTokenId.d.ts.map +1 -0
- package/dist/issuance/erc721/getMintedTokenId.js +79 -0
- package/dist/issuance/erc721/index.d.ts +19 -3
- package/dist/issuance/erc721/index.d.ts.map +1 -1
- package/dist/issuance/erc721/index.js +3 -1
- package/dist/issuance/index.d.ts +40 -8
- package/dist/issuance/index.d.ts.map +1 -1
- package/dist/next/fractions/index.d.ts +319 -4
- package/dist/next/fractions/index.d.ts.map +1 -1
- package/dist/next/fractions/index.js +3 -1
- package/dist/next/fractions/lending/buyback/buyback.schema.d.ts +1 -1
- package/dist/next/fractions/lending/createLendingSale.d.ts +1 -1
- package/dist/next/fractions/lending/schemas.d.ts +1 -1
- package/dist/next/fractions/lending/schemas.js +1 -1
- package/dist/next/fractions/platforms/default/deployNftFractionsMarket.schema.d.ts +1 -1
- package/dist/next/fractions/platforms/default/deployNftFractionsMarket.schema.js +1 -1
- package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.schema.d.ts +1 -1
- package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.schema.js +1 -1
- package/dist/next/fractions/sales/createNftFractions.routes.d.ts +13 -3
- package/dist/next/fractions/sales/createNftFractions.routes.d.ts.map +1 -1
- package/dist/next/fractions/sales/createNftFractions.routes.js +16 -8
- package/dist/next/fractions/sales/createNftFractions.schema.d.ts +14 -11
- package/dist/next/fractions/sales/createNftFractions.schema.d.ts.map +1 -1
- package/dist/next/fractions/sales/createNftFractions.schema.js +2 -8
- package/dist/next/fractions/sales/index.d.ts +13 -3
- package/dist/next/fractions/sales/index.d.ts.map +1 -1
- package/dist/next/fractions/vestingRedemptionDynamic/approveCampaign.routes.d.ts +25 -0
- package/dist/next/fractions/vestingRedemptionDynamic/approveCampaign.routes.d.ts.map +1 -0
- package/dist/next/fractions/vestingRedemptionDynamic/approveCampaign.routes.js +35 -0
- package/dist/next/fractions/vestingRedemptionDynamic/createCampaign.routes.d.ts +52 -0
- package/dist/next/fractions/vestingRedemptionDynamic/createCampaign.routes.d.ts.map +1 -0
- package/dist/next/fractions/vestingRedemptionDynamic/createCampaign.routes.js +50 -0
- package/dist/next/fractions/vestingRedemptionDynamic/createCampaign.schema.d.ts +43 -0
- package/dist/next/fractions/vestingRedemptionDynamic/createCampaign.schema.d.ts.map +1 -0
- package/dist/next/fractions/vestingRedemptionDynamic/createCampaign.schema.js +48 -0
- package/dist/next/fractions/vestingRedemptionDynamic/deployMarket.routes.d.ts +39 -0
- package/dist/next/fractions/vestingRedemptionDynamic/deployMarket.routes.d.ts.map +1 -0
- package/dist/next/fractions/vestingRedemptionDynamic/deployMarket.routes.js +39 -0
- package/dist/next/fractions/vestingRedemptionDynamic/deployMarket.schema.d.ts +23 -0
- package/dist/next/fractions/vestingRedemptionDynamic/deployMarket.schema.d.ts.map +1 -0
- package/dist/next/fractions/vestingRedemptionDynamic/deployMarket.schema.js +29 -0
- package/dist/next/fractions/vestingRedemptionDynamic/epochPurchase.routes.d.ts +51 -0
- package/dist/next/fractions/vestingRedemptionDynamic/epochPurchase.routes.d.ts.map +1 -0
- package/dist/next/fractions/vestingRedemptionDynamic/epochPurchase.routes.js +74 -0
- package/dist/next/fractions/vestingRedemptionDynamic/epochWithdrawal.routes.d.ts +51 -0
- package/dist/next/fractions/vestingRedemptionDynamic/epochWithdrawal.routes.d.ts.map +1 -0
- package/dist/next/fractions/vestingRedemptionDynamic/epochWithdrawal.routes.js +75 -0
- package/dist/next/fractions/vestingRedemptionDynamic/getCurrentEpoch.routes.d.ts +19 -0
- package/dist/next/fractions/vestingRedemptionDynamic/getCurrentEpoch.routes.d.ts.map +1 -0
- package/dist/next/fractions/vestingRedemptionDynamic/getCurrentEpoch.routes.js +52 -0
- package/dist/next/fractions/vestingRedemptionDynamic/getEpochPurchaseEvent.routes.d.ts +23 -0
- package/dist/next/fractions/vestingRedemptionDynamic/getEpochPurchaseEvent.routes.d.ts.map +1 -0
- package/dist/next/fractions/vestingRedemptionDynamic/getEpochPurchaseEvent.routes.js +67 -0
- package/dist/next/fractions/vestingRedemptionDynamic/getPurchasePriceForEpoch.routes.d.ts +20 -0
- package/dist/next/fractions/vestingRedemptionDynamic/getPurchasePriceForEpoch.routes.d.ts.map +1 -0
- package/dist/next/fractions/vestingRedemptionDynamic/getPurchasePriceForEpoch.routes.js +59 -0
- package/dist/next/fractions/vestingRedemptionDynamic/getWithdrawalRequestedEvent.routes.d.ts +21 -0
- package/dist/next/fractions/vestingRedemptionDynamic/getWithdrawalRequestedEvent.routes.d.ts.map +1 -0
- package/dist/next/fractions/vestingRedemptionDynamic/getWithdrawalRequestedEvent.routes.js +63 -0
- package/dist/next/fractions/vestingRedemptionDynamic/index.d.ts +307 -0
- package/dist/next/fractions/vestingRedemptionDynamic/index.d.ts.map +1 -0
- package/dist/next/fractions/vestingRedemptionDynamic/index.js +27 -0
- package/dist/next/fractions/vestingRedemptionDynamic/setEpochPrice.routes.d.ts +26 -0
- package/dist/next/fractions/vestingRedemptionDynamic/setEpochPrice.routes.d.ts.map +1 -0
- package/dist/next/fractions/vestingRedemptionDynamic/setEpochPrice.routes.js +41 -0
- package/dist/staking/index.d.ts +7 -7
- package/dist/staking/platforms/common/platform.d.ts +1 -1
- package/dist/staking/platforms/getPlatform/index.d.ts +1 -1
- package/dist/staking/platforms/getPlatform/v0/getPlatform.d.ts +1 -1
- package/dist/staking/platforms/index.d.ts +2 -2
- package/dist/staking/platforms/searchPlatforms/index.d.ts +1 -1
- package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts +1 -1
- package/dist/staking/pools/common/pool.d.ts +1 -1
- package/dist/staking/pools/getPool/index.d.ts +1 -1
- package/dist/staking/pools/getPool/v0/getPool.d.ts +1 -1
- package/dist/staking/pools/index.d.ts +2 -2
- package/dist/staking/pools/searchPools/index.d.ts +1 -1
- package/dist/staking/pools/searchPools/v0/searchPools.d.ts +1 -1
- package/dist/staking/roles/common/roleAssignment.d.ts +1 -1
- package/dist/staking/roles/common/roleEvent.d.ts +1 -1
- package/dist/staking/roles/index.d.ts +2 -2
- package/dist/staking/roles/searchRoleEvents/index.d.ts +1 -1
- package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts +1 -1
- package/dist/staking/roles/searchRoles/index.d.ts +1 -1
- package/dist/staking/roles/searchRoles/v0/searchRoles.d.ts +1 -1
- package/dist/staking/stakes/common/stake.d.ts +1 -1
- package/dist/staking/stakes/common/stakeEvent.d.ts +1 -1
- package/dist/staking/stakes/index.d.ts +1 -1
- package/dist/staking/stakes/searchStakeEvents/index.d.ts +1 -1
- package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts +1 -1
- package/package.json +10 -10
- package/dist/fractions/platforms/deployMarket.routes.d.ts.map +0 -1
- package/dist/fractions/platforms/deployMarket.schema.d.ts.map +0 -1
- package/dist/fractions/platforms/initCompilot.routes.d.ts.map +0 -1
- /package/dist/fractions/{platforms → markets}/deployMarket.routes.d.ts +0 -0
- /package/dist/fractions/{platforms → markets}/deployMarket.schema.js +0 -0
- /package/dist/fractions/{platforms → markets}/initCompilot.routes.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const FractionsSaleStatisticSchema: z.ZodObject<{
|
|
3
|
-
chainId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodUnion<[z.ZodLiteral<1 | 11155111 | 31337 | 72080>, z.ZodLiteral<1 | 11155111 | 31337 | 72080>, ...z.ZodLiteral<1 | 11155111 | 31337 | 72080>[]]>>;
|
|
3
|
+
chainId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodUnion<[z.ZodLiteral<1 | 11155111 | 31337 | 84532 | 72080>, z.ZodLiteral<1 | 11155111 | 31337 | 84532 | 72080>, ...z.ZodLiteral<1 | 11155111 | 31337 | 84532 | 72080>[]]>>;
|
|
4
4
|
platform: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
5
5
|
campaignId: z.ZodCoercedString<unknown>;
|
|
6
6
|
statistics: z.ZodArray<z.ZodObject<{
|
|
@@ -20,7 +20,7 @@ export declare const GetFractionSaleStatisticsV0: import("../../common/controlle
|
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
output: {
|
|
23
|
-
chainId: 1 | 11155111 | 31337 | 72080;
|
|
23
|
+
chainId: 1 | 11155111 | 31337 | 84532 | 72080;
|
|
24
24
|
platform: `0x${string}`;
|
|
25
25
|
campaignId: string;
|
|
26
26
|
statistics: {
|
|
@@ -21,7 +21,7 @@ export const GetFractionSaleStatisticsV0 = createController({
|
|
|
21
21
|
build: (factory) => factory.createApp().post("/", describeRoute({
|
|
22
22
|
summary: "Aggregate sale statistics",
|
|
23
23
|
description: "",
|
|
24
|
-
tags: ["
|
|
24
|
+
tags: ["Statistics"],
|
|
25
25
|
responses: {
|
|
26
26
|
200: {
|
|
27
27
|
description: "",
|
|
@@ -10,7 +10,7 @@ export declare const GetVaultAddressV0: import("../../common/controller.js").ICo
|
|
|
10
10
|
};
|
|
11
11
|
output: {
|
|
12
12
|
error: string;
|
|
13
|
-
chainId: 1 | 11155111 | 31337 | 72080;
|
|
13
|
+
chainId: 1 | 11155111 | 31337 | 84532 | 72080;
|
|
14
14
|
market: `0x${string}`;
|
|
15
15
|
};
|
|
16
16
|
outputFormat: "json";
|
|
@@ -301,7 +301,7 @@ export declare const SalesController: import("../../common/controller.js").ICont
|
|
|
301
301
|
};
|
|
302
302
|
};
|
|
303
303
|
output: {
|
|
304
|
-
chainId: 1 | 11155111 | 31337 | 72080;
|
|
304
|
+
chainId: 1 | 11155111 | 31337 | 84532 | 72080;
|
|
305
305
|
platform: `0x${string}`;
|
|
306
306
|
campaignId: string;
|
|
307
307
|
statistics: {
|
|
@@ -578,7 +578,7 @@ export declare const SalesController: import("../../common/controller.js").ICont
|
|
|
578
578
|
};
|
|
579
579
|
};
|
|
580
580
|
output: {
|
|
581
|
-
chainId: 1 | 11155111 | 31337 | 72080;
|
|
581
|
+
chainId: 1 | 11155111 | 31337 | 84532 | 72080;
|
|
582
582
|
platform: `0x${string}`;
|
|
583
583
|
campaignId: never;
|
|
584
584
|
totalClaims: number;
|
|
@@ -717,7 +717,7 @@ export declare const SalesController: import("../../common/controller.js").ICont
|
|
|
717
717
|
};
|
|
718
718
|
};
|
|
719
719
|
output: {
|
|
720
|
-
chainId: 1 | 11155111 | 31337 | 72080;
|
|
720
|
+
chainId: 1 | 11155111 | 31337 | 84532 | 72080;
|
|
721
721
|
platform: `0x${string}`;
|
|
722
722
|
campaignId: string & import("zod").$brand<"Int256">;
|
|
723
723
|
transactionHash: `0x${string}`;
|
|
@@ -777,7 +777,7 @@ export declare const SalesController: import("../../common/controller.js").ICont
|
|
|
777
777
|
};
|
|
778
778
|
};
|
|
779
779
|
output: {
|
|
780
|
-
chainId: 1 | 11155111 | 31337 | 72080;
|
|
780
|
+
chainId: 1 | 11155111 | 31337 | 84532 | 72080;
|
|
781
781
|
platform: `0x${string}`;
|
|
782
782
|
campaignId: string;
|
|
783
783
|
statistics: {
|
|
@@ -844,7 +844,7 @@ export declare const SalesController: import("../../common/controller.js").ICont
|
|
|
844
844
|
};
|
|
845
845
|
output: {
|
|
846
846
|
error: string;
|
|
847
|
-
chainId: 1 | 11155111 | 31337 | 72080;
|
|
847
|
+
chainId: 1 | 11155111 | 31337 | 84532 | 72080;
|
|
848
848
|
market: `0x${string}`;
|
|
849
849
|
};
|
|
850
850
|
outputFormat: "json";
|
|
@@ -887,52 +887,5 @@ export declare const SalesController: import("../../common/controller.js").ICont
|
|
|
887
887
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
888
888
|
};
|
|
889
889
|
};
|
|
890
|
-
}, "/approveWrapper"
|
|
891
|
-
"/": {
|
|
892
|
-
$post: {
|
|
893
|
-
input: {
|
|
894
|
-
json: {
|
|
895
|
-
wrapperAddress: string;
|
|
896
|
-
erc20Address: string;
|
|
897
|
-
amount: string;
|
|
898
|
-
};
|
|
899
|
-
};
|
|
900
|
-
output: {
|
|
901
|
-
data: `0x${string}`;
|
|
902
|
-
to: `0x${string}`;
|
|
903
|
-
details: {
|
|
904
|
-
functionName: string;
|
|
905
|
-
address: `0x${string}`;
|
|
906
|
-
abi: any[];
|
|
907
|
-
args: any[];
|
|
908
|
-
};
|
|
909
|
-
};
|
|
910
|
-
outputFormat: "json";
|
|
911
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
912
|
-
};
|
|
913
|
-
};
|
|
914
|
-
}, "/approveWrapperAsErc20Spender"> | import("hono/types").MergeSchemaPath<{
|
|
915
|
-
"/": {
|
|
916
|
-
$post: {
|
|
917
|
-
input: {
|
|
918
|
-
json: {
|
|
919
|
-
wrapperAddress: string;
|
|
920
|
-
erc721Address: string;
|
|
921
|
-
};
|
|
922
|
-
};
|
|
923
|
-
output: {
|
|
924
|
-
data: `0x${string}`;
|
|
925
|
-
to: `0x${string}`;
|
|
926
|
-
details: {
|
|
927
|
-
functionName: string;
|
|
928
|
-
address: `0x${string}`;
|
|
929
|
-
abi: any[];
|
|
930
|
-
args: any[];
|
|
931
|
-
};
|
|
932
|
-
};
|
|
933
|
-
outputFormat: "json";
|
|
934
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
935
|
-
};
|
|
936
|
-
};
|
|
937
|
-
}, "/approveWrapperAsErc721Spender">, "/", "/">>;
|
|
890
|
+
}, "/approveWrapper">, "/", "/">>;
|
|
938
891
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/fractions/sales/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/fractions/sales/index.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCA6B1B,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { ClaimVestedTokensV0 } from "./vesting/claimVestedTokens.route.js";
|
|
|
5
5
|
import { EditCliffV0 } from "./vesting/editCliff.route.js";
|
|
6
6
|
import { ParseClaimVestedTokensEventV0 } from "./vesting/parseClaimVestedTokensEvent.js";
|
|
7
7
|
import { ApproveSaleV0 } from "./approveSale.route.js";
|
|
8
|
-
import {
|
|
8
|
+
import { ApproveWrapperV0, } from "./approveWrapper.route.js";
|
|
9
9
|
import { CompleteSaleV0 } from "./completeSale.route.js";
|
|
10
10
|
import { CreateFractionsV0 } from "./createFractions.route.js";
|
|
11
11
|
import { GetFractionSaleStatisticsV0 } from "./getFractionSaleStatistics.route.js";
|
|
@@ -51,6 +51,4 @@ export const SalesController = createController({
|
|
|
51
51
|
.route("/getWithdrawEvent", GetWithdrawEventV0.build(factory))
|
|
52
52
|
.route("/getVaultAddress", GetVaultAddressV0.build(factory))
|
|
53
53
|
.route("/approveWrapper", ApproveWrapperV0.build(factory))
|
|
54
|
-
.route("/approveWrapperAsErc20Spender", ApproveErc20SpendingToWrapperV0.build(factory))
|
|
55
|
-
.route("/approveWrapperAsErc721Spender", ApproveErc721SpendingToWrapperV0.build(factory)),
|
|
56
54
|
});
|
|
@@ -10,8 +10,8 @@ import { HttpError } from "../../common/http-error.js";
|
|
|
10
10
|
import { AddressSchema, SentTransactionParamsSchema } from "../../common/index.js";
|
|
11
11
|
export const ParseFractionsCreatedEventV0 = createController({
|
|
12
12
|
build: (factory) => factory.createApp().get("/", describeRoute({
|
|
13
|
-
summary: "Get
|
|
14
|
-
description:
|
|
13
|
+
summary: "Get fraction sale event",
|
|
14
|
+
description: "Retrieve details of a specified fraction creation event",
|
|
15
15
|
tags: ["Sales"],
|
|
16
16
|
responses: {
|
|
17
17
|
200: {
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const PurchaseRequestSchema: z.ZodObject<{
|
|
3
3
|
market: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
4
4
|
campaignId: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
|
|
5
|
-
chainId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodUnion<[z.ZodLiteral<1 | 11155111 | 31337 | 72080>, z.ZodLiteral<1 | 11155111 | 31337 | 72080>, ...z.ZodLiteral<1 | 11155111 | 31337 | 72080>[]]>>;
|
|
5
|
+
chainId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodUnion<[z.ZodLiteral<1 | 11155111 | 31337 | 84532 | 72080>, z.ZodLiteral<1 | 11155111 | 31337 | 84532 | 72080>, ...z.ZodLiteral<1 | 11155111 | 31337 | 84532 | 72080>[]]>>;
|
|
6
6
|
amountToBuy: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
|
|
7
7
|
applyDiscount: z.ZodBoolean;
|
|
8
8
|
}, z.core.$strip>;
|
|
@@ -10,7 +10,7 @@ export declare const PurchaseStatisticsV0: import("../../common/controller.js").
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
output: {
|
|
13
|
-
chainId: 1 | 11155111 | 31337 | 72080;
|
|
13
|
+
chainId: 1 | 11155111 | 31337 | 84532 | 72080;
|
|
14
14
|
platform: `0x${string}`;
|
|
15
15
|
campaignId: string;
|
|
16
16
|
statistics: {
|
|
@@ -10,7 +10,7 @@ export const PurchaseStatisticsV0 = createController({
|
|
|
10
10
|
build: (factory) => factory.createApp().post("/", describeRoute({
|
|
11
11
|
summary: "Aggregate investor statistics for certain campaign",
|
|
12
12
|
description: "Returns aggregated statistics about investor purchases for a specific campaign, grouped by price ID. Statistics include the number of purchases and the total number of fractions sold.",
|
|
13
|
-
tags: ["
|
|
13
|
+
tags: ["Statistics"],
|
|
14
14
|
responses: {
|
|
15
15
|
200: {
|
|
16
16
|
description: "Aggregated purchase statistics for the specified campaign and investor.",
|
|
@@ -18,7 +18,7 @@ export declare const SearchActivityV0: import("../../common/controller.js").ICon
|
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
output: {
|
|
21
|
-
chainId: 1 | 11155111 | 31337 | 72080;
|
|
21
|
+
chainId: 1 | 11155111 | 31337 | 84532 | 72080;
|
|
22
22
|
platform: `0x${string}`;
|
|
23
23
|
campaignId: string & z.core.$brand<"Int256">;
|
|
24
24
|
transactionHash: `0x${string}`;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ClaimStatisticsRequestSchema: z.ZodObject<{
|
|
3
|
-
chainId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodUnion<[z.ZodLiteral<1 | 11155111 | 31337 | 72080>, z.ZodLiteral<1 | 11155111 | 31337 | 72080>, ...z.ZodLiteral<1 | 11155111 | 31337 | 72080>[]]>>;
|
|
3
|
+
chainId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodUnion<[z.ZodLiteral<1 | 11155111 | 31337 | 84532 | 72080>, z.ZodLiteral<1 | 11155111 | 31337 | 84532 | 72080>, ...z.ZodLiteral<1 | 11155111 | 31337 | 84532 | 72080>[]]>>;
|
|
4
4
|
platform: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
5
5
|
campaignId: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
|
|
6
6
|
walletAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
export declare const ClaimStatisticsResponseSchema: z.ZodObject<{
|
|
9
|
-
chainId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodUnion<[z.ZodLiteral<1 | 11155111 | 31337 | 72080>, z.ZodLiteral<1 | 11155111 | 31337 | 72080>, ...z.ZodLiteral<1 | 11155111 | 31337 | 72080>[]]>>;
|
|
9
|
+
chainId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodUnion<[z.ZodLiteral<1 | 11155111 | 31337 | 84532 | 72080>, z.ZodLiteral<1 | 11155111 | 31337 | 84532 | 72080>, ...z.ZodLiteral<1 | 11155111 | 31337 | 84532 | 72080>[]]>>;
|
|
10
10
|
platform: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
11
11
|
campaignId: z.ZodCoercedString<unknown>;
|
|
12
12
|
totalClaims: z.ZodNumber;
|
|
@@ -28,7 +28,7 @@ export declare const ClaimStatisticsV0: import("../../../common/controller.js").
|
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
output: {
|
|
31
|
-
chainId: 1 | 11155111 | 31337 | 72080;
|
|
31
|
+
chainId: 1 | 11155111 | 31337 | 84532 | 72080;
|
|
32
32
|
platform: `0x${string}`;
|
|
33
33
|
campaignId: never;
|
|
34
34
|
totalClaims: number;
|
|
@@ -10,7 +10,7 @@ import { z } from "zod";
|
|
|
10
10
|
export declare const TxAuthDataRequestSchema: z.ZodObject<{
|
|
11
11
|
marketAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
12
12
|
userAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
13
|
-
chainId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodUnion<[z.ZodLiteral<1 | 11155111 | 31337 | 72080>, z.ZodLiteral<1 | 11155111 | 31337 | 72080>, ...z.ZodLiteral<1 | 11155111 | 31337 | 72080>[]]>>;
|
|
13
|
+
chainId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodUnion<[z.ZodLiteral<1 | 11155111 | 31337 | 84532 | 72080>, z.ZodLiteral<1 | 11155111 | 31337 | 84532 | 72080>, ...z.ZodLiteral<1 | 11155111 | 31337 | 84532 | 72080>[]]>>;
|
|
14
14
|
nonce: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
|
|
15
15
|
blockExpiration: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
|
|
16
16
|
callData: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const NonceRequestSchema: z.ZodObject<{
|
|
3
3
|
marketAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
4
4
|
userAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
5
|
-
chainId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodUnion<[z.ZodLiteral<1 | 11155111 | 31337 | 72080>, z.ZodLiteral<1 | 11155111 | 31337 | 72080>, ...z.ZodLiteral<1 | 11155111 | 31337 | 72080>[]]>>;
|
|
5
|
+
chainId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodUnion<[z.ZodLiteral<1 | 11155111 | 31337 | 84532 | 72080>, z.ZodLiteral<1 | 11155111 | 31337 | 84532 | 72080>, ...z.ZodLiteral<1 | 11155111 | 31337 | 84532 | 72080>[]]>>;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
export declare const GetNonceV0: import("../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../common/context.js").AppContext, {
|
|
8
8
|
"/": {
|
|
@@ -14,6 +14,7 @@ export declare const StatisticsController: import("../../common/controller.js").
|
|
|
14
14
|
1: string & import("zod").$brand<"Int256">;
|
|
15
15
|
11155111: string & import("zod").$brand<"Int256">;
|
|
16
16
|
31337: string & import("zod").$brand<"Int256">;
|
|
17
|
+
84532: string & import("zod").$brand<"Int256">;
|
|
17
18
|
72080: string & import("zod").$brand<"Int256">;
|
|
18
19
|
};
|
|
19
20
|
outputFormat: "json";
|
|
@@ -36,6 +37,7 @@ export declare const StatisticsController: import("../../common/controller.js").
|
|
|
36
37
|
1: string & import("zod").$brand<"Int256">;
|
|
37
38
|
11155111: string & import("zod").$brand<"Int256">;
|
|
38
39
|
31337: string & import("zod").$brand<"Int256">;
|
|
40
|
+
84532: string & import("zod").$brand<"Int256">;
|
|
39
41
|
72080: string & import("zod").$brand<"Int256">;
|
|
40
42
|
};
|
|
41
43
|
outputFormat: "json";
|
|
@@ -58,6 +60,7 @@ export declare const StatisticsController: import("../../common/controller.js").
|
|
|
58
60
|
1: string & import("zod").$brand<"Int256">;
|
|
59
61
|
11155111: string & import("zod").$brand<"Int256">;
|
|
60
62
|
31337: string & import("zod").$brand<"Int256">;
|
|
63
|
+
84532: string & import("zod").$brand<"Int256">;
|
|
61
64
|
72080: string & import("zod").$brand<"Int256">;
|
|
62
65
|
};
|
|
63
66
|
outputFormat: "json";
|
|
@@ -93,6 +96,11 @@ export declare const StatisticsController: import("../../common/controller.js").
|
|
|
93
96
|
sales: string & import("zod").$brand<"Int256">;
|
|
94
97
|
ttv: string & import("zod").$brand<"Int256">;
|
|
95
98
|
};
|
|
99
|
+
84532: {
|
|
100
|
+
holders: string & import("zod").$brand<"Int256">;
|
|
101
|
+
sales: string & import("zod").$brand<"Int256">;
|
|
102
|
+
ttv: string & import("zod").$brand<"Int256">;
|
|
103
|
+
};
|
|
96
104
|
72080: {
|
|
97
105
|
holders: string & import("zod").$brand<"Int256">;
|
|
98
106
|
sales: string & import("zod").$brand<"Int256">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/fractions/statistics/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/fractions/statistics/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAQ/B,CAAC"}
|
|
@@ -19,6 +19,7 @@ export declare const GetHoldersV0: import("../../common/controller.js").IControl
|
|
|
19
19
|
1: string & z.core.$brand<"Int256">;
|
|
20
20
|
11155111: string & z.core.$brand<"Int256">;
|
|
21
21
|
31337: string & z.core.$brand<"Int256">;
|
|
22
|
+
84532: string & z.core.$brand<"Int256">;
|
|
22
23
|
72080: string & z.core.$brand<"Int256">;
|
|
23
24
|
};
|
|
24
25
|
outputFormat: "json";
|
|
@@ -45,6 +46,7 @@ export declare const GetSalesStatisticsV0: import("../../common/controller.js").
|
|
|
45
46
|
1: string & z.core.$brand<"Int256">;
|
|
46
47
|
11155111: string & z.core.$brand<"Int256">;
|
|
47
48
|
31337: string & z.core.$brand<"Int256">;
|
|
49
|
+
84532: string & z.core.$brand<"Int256">;
|
|
48
50
|
72080: string & z.core.$brand<"Int256">;
|
|
49
51
|
};
|
|
50
52
|
outputFormat: "json";
|
|
@@ -71,6 +73,7 @@ export declare const GetTtvV0: import("../../common/controller.js").IController<
|
|
|
71
73
|
1: string & z.core.$brand<"Int256">;
|
|
72
74
|
11155111: string & z.core.$brand<"Int256">;
|
|
73
75
|
31337: string & z.core.$brand<"Int256">;
|
|
76
|
+
84532: string & z.core.$brand<"Int256">;
|
|
74
77
|
72080: string & z.core.$brand<"Int256">;
|
|
75
78
|
};
|
|
76
79
|
outputFormat: "json";
|
|
@@ -107,6 +110,11 @@ export declare const GetNetworkStatisticsV0: import("../../common/controller.js"
|
|
|
107
110
|
sales: string & z.core.$brand<"Int256">;
|
|
108
111
|
ttv: string & z.core.$brand<"Int256">;
|
|
109
112
|
};
|
|
113
|
+
84532: {
|
|
114
|
+
holders: string & z.core.$brand<"Int256">;
|
|
115
|
+
sales: string & z.core.$brand<"Int256">;
|
|
116
|
+
ttv: string & z.core.$brand<"Int256">;
|
|
117
|
+
};
|
|
110
118
|
72080: {
|
|
111
119
|
holders: string & z.core.$brand<"Int256">;
|
|
112
120
|
sales: string & z.core.$brand<"Int256">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"networkStatistics.route.d.ts","sourceRoot":"","sources":["../../../src/fractions/statistics/networkStatistics.route.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAuIrD;;GAEG;AACH,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"networkStatistics.route.d.ts","sourceRoot":"","sources":["../../../src/fractions/statistics/networkStatistics.route.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAuIrD;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;aA8BvB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;aA8B/B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;aA8BnB,CAAC;AA2BH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAkCjC,CAAC"}
|