@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.
- package/dist/app.d.ts +452 -152
- package/dist/app.d.ts.map +1 -1
- package/dist/app.js +4 -0
- package/dist/client.d.ts +500 -151
- package/dist/client.d.ts.map +1 -1
- package/dist/common/abis/erc20Whitelisted.d.ts +27 -12
- package/dist/common/abis/erc20Whitelisted.d.ts.map +1 -1
- package/dist/common/abis/erc20Whitelisted.js +192 -1
- package/dist/common/blockchain.d.ts +20 -26
- package/dist/common/blockchain.d.ts.map +1 -1
- package/dist/common/blockchain.js +22 -19
- package/dist/common/config.d.ts +43 -1
- package/dist/common/config.d.ts.map +1 -1
- package/dist/common/config.js +47 -25
- package/dist/common/context.d.ts +11 -0
- package/dist/common/context.d.ts.map +1 -0
- package/dist/common/context.js +0 -0
- package/dist/common/indexer/client.d.ts +3 -2
- package/dist/common/indexer/client.d.ts.map +1 -1
- package/dist/common/indexer/schemas.d.ts +1 -1
- package/dist/common/indexer/schemas.d.ts.map +1 -1
- package/dist/common/middleware/indexer.d.ts +3 -0
- package/dist/common/middleware/indexer.d.ts.map +1 -0
- package/dist/common/middleware/indexer.js +7 -0
- package/dist/common/models/asset.d.ts +4 -4
- package/dist/common/models/chainId.d.ts +3 -0
- package/dist/common/models/chainId.d.ts.map +1 -1
- package/dist/common/models/chainId.js +6 -14
- package/dist/common/models/numOrStr.d.ts +7 -0
- package/dist/common/models/numOrStr.d.ts.map +1 -0
- package/dist/common/models/numOrStr.js +11 -0
- package/dist/common/models/platform.d.ts +1 -1
- package/dist/common/models/platform.d.ts.map +1 -1
- package/dist/common/models/platform.js +1 -1
- package/dist/common/models/routes.d.ts +2 -2
- package/dist/common/models/transaction.d.ts +8 -8
- package/dist/common/models/transaction.d.ts.map +1 -1
- package/dist/common/models/transaction.js +1 -1
- package/dist/fractions/activity/searchActivity.route.d.ts +17 -17
- package/dist/fractions/activity/searchActivity.route.d.ts.map +1 -1
- package/dist/fractions/activity/searchActivity.route.js +1 -2
- package/dist/fractions/activity/utils.d.ts +8 -8
- package/dist/fractions/approveSale/v0/approveSale.route.d.ts +3 -3
- package/dist/fractions/approveWrapper/v0/approveWrapper.route.d.ts +9 -9
- package/dist/fractions/completeSale/v0/completeSale.route.d.ts +3 -3
- package/dist/fractions/createFractions/v0/createFractions.route.d.ts +19 -19
- package/dist/fractions/createFractions/v0/createFractions.schema.d.ts +20 -20
- package/dist/fractions/deployMarket/v0/deployMarket.routes.d.ts +25 -12
- package/dist/fractions/deployMarket/v0/deployMarket.routes.d.ts.map +1 -1
- package/dist/fractions/deployMarket/v0/deployMarket.routes.js +3 -2
- package/dist/fractions/deployMarket/v0/index.d.ts +3 -0
- package/dist/fractions/deployMarket/v0/index.d.ts.map +1 -0
- package/dist/fractions/deployMarket/v0/index.js +2 -0
- package/dist/fractions/deployMarket/v0/initNid.route.d.ts +3 -3
- package/dist/fractions/grantRole/v0/grantRole.route.d.ts +3 -3
- package/dist/fractions/index.d.ts +141 -77
- package/dist/fractions/index.d.ts.map +1 -1
- package/dist/fractions/index.js +5 -3
- package/dist/fractions/markets/common/platform.d.ts +11 -11
- package/dist/fractions/markets/getMarket/index.d.ts +19 -19
- package/dist/fractions/markets/getMarket/index.d.ts.map +1 -1
- package/dist/fractions/markets/getMarket/v0/getMarket.d.ts +17 -17
- package/dist/fractions/markets/getMarket/v0/getMarket.d.ts.map +1 -1
- package/dist/fractions/markets/getMarket/v0/getMarket.js +1 -2
- package/dist/fractions/markets/index.d.ts +22 -22
- package/dist/fractions/markets/index.d.ts.map +1 -1
- package/dist/fractions/markets/searchMarkets/index.d.ts +5 -5
- package/dist/fractions/markets/searchMarkets/index.d.ts.map +1 -1
- package/dist/fractions/markets/searchMarkets/v0/searchMarkets.d.ts +13 -13
- package/dist/fractions/markets/searchMarkets/v0/searchMarkets.d.ts.map +1 -1
- package/dist/fractions/markets/searchMarkets/v0/searchMarkets.js +1 -2
- package/dist/fractions/purchase/v0/purchase.route.d.ts +3 -3
- package/dist/fractions/purchase/v0/statistics.route.d.ts +15 -15
- package/dist/fractions/purchase/v0/statistics.route.d.ts.map +1 -1
- package/dist/fractions/purchase/v0/statistics.route.js +3 -3
- package/dist/fractions/sales/common/fractionsSale.d.ts +40 -40
- package/dist/fractions/sales/getFractionSaleStatistics.route.d.ts +13 -13
- package/dist/fractions/sales/getFractionSaleStatistics.route.d.ts.map +1 -1
- package/dist/fractions/sales/getFractionSaleStatistics.route.js +3 -3
- package/dist/fractions/sales/getVaultAddress.d.ts +4 -4
- package/dist/fractions/sales/getVaultAddress.d.ts.map +1 -1
- package/dist/fractions/sales/getVaultAddress.js +3 -3
- package/dist/fractions/sales/receiveFundsAfterNonFunded.route.d.ts +6 -6
- package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts +3 -3
- package/dist/fractions/sales/recoverFractions.d.ts +3 -3
- package/dist/fractions/sales/rejectFractions.d.ts +3 -3
- package/dist/fractions/sales/searchSales/v0/searchSales.d.ts +32 -32
- package/dist/fractions/sales/searchSales/v0/searchSales.d.ts.map +1 -1
- package/dist/fractions/sales/searchSales/v0/searchSales.js +1 -2
- package/dist/fractions/sales/searchWithdrawal.route.d.ts +7 -7
- package/dist/fractions/sales/searchWithdrawal.route.d.ts.map +1 -1
- package/dist/fractions/sales/searchWithdrawal.route.js +1 -2
- package/dist/fractions/sales/setFeeCapLimit.d.ts +3 -3
- package/dist/fractions/sales/unlockWrappedAssets.route.d.ts +3 -3
- package/dist/fractions/sales/vesting/v0/claimStatistics.route.d.ts +17 -17
- package/dist/fractions/sales/vesting/v0/claimStatistics.route.d.ts.map +1 -1
- package/dist/fractions/sales/vesting/v0/claimStatistics.route.js +6 -5
- package/dist/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts +9 -9
- package/dist/fractions/sales/vesting/v0/editCliff.route.d.ts +3 -3
- package/dist/fractions/withdraw/v0/withdraw.route.d.ts +3 -3
- package/dist/general/balanceClient.d.ts +6 -6
- package/dist/general/common.d.ts +6 -6
- package/dist/general/estimateGas.d.ts +8 -8
- package/dist/general/getBalance.d.ts +4 -4
- package/dist/general/getBalancesBatch.d.ts +4 -4
- package/dist/general/index.d.ts +5 -5
- package/dist/general/searchBalances.d.ts +4 -4
- package/dist/general/utils/tokenBalance/tokenBalance.d.ts +3 -3
- package/dist/issuance/approve.d.ts +3 -3
- package/dist/issuance/burn.d.ts +3 -3
- package/dist/issuance/deploy.d.ts +7 -0
- package/dist/issuance/deploy.d.ts.map +1 -1
- package/dist/issuance/deploy.js +34 -0
- package/dist/issuance/grantRole.d.ts +9 -9
- package/dist/issuance/index.d.ts +47 -10
- package/dist/issuance/index.d.ts.map +1 -1
- package/dist/issuance/index.js +4 -1
- package/dist/issuance/mint.d.ts +3 -3
- package/dist/issuance/recover.d.ts +82 -0
- package/dist/issuance/recover.d.ts.map +1 -0
- package/dist/issuance/recover.js +38 -0
- package/dist/issuance/renounceRole.d.ts +9 -9
- package/dist/issuance/transfer.d.ts +9 -9
- package/dist/issuance/upgrade.d.ts +3 -3
- package/dist/staking/index.d.ts +10 -10
- package/dist/staking/index.d.ts.map +1 -1
- package/dist/staking/platforms/getPlatform/index.d.ts +3 -3
- package/dist/staking/platforms/getPlatform/index.d.ts.map +1 -1
- package/dist/staking/platforms/getPlatform/v0/getPlatform.d.ts +8 -8
- package/dist/staking/platforms/getPlatform/v0/getPlatform.d.ts.map +1 -1
- package/dist/staking/platforms/getPlatform/v0/getPlatform.js +3 -3
- package/dist/staking/platforms/index.d.ts +3 -3
- package/dist/staking/platforms/index.d.ts.map +1 -1
- package/dist/staking/platforms/searchPlatforms/index.d.ts +2 -2
- package/dist/staking/platforms/searchPlatforms/index.d.ts.map +1 -1
- package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts +4 -4
- package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts.map +1 -1
- package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.js +3 -3
- package/dist/staking/pools/common/pool.d.ts +4 -4
- package/dist/staking/pools/getPool/index.d.ts +3 -3
- package/dist/staking/pools/getPool/index.d.ts.map +1 -1
- package/dist/staking/pools/getPool/v0/getPool.d.ts +7 -7
- package/dist/staking/pools/getPool/v0/getPool.d.ts.map +1 -1
- package/dist/staking/pools/getPool/v0/getPool.js +3 -3
- package/dist/staking/pools/index.d.ts +3 -3
- package/dist/staking/pools/index.d.ts.map +1 -1
- package/dist/staking/pools/searchPools/index.d.ts +2 -2
- package/dist/staking/pools/searchPools/index.d.ts.map +1 -1
- package/dist/staking/pools/searchPools/v0/searchPools.d.ts +3 -3
- package/dist/staking/pools/searchPools/v0/searchPools.d.ts.map +1 -1
- package/dist/staking/pools/searchPools/v0/searchPools.js +3 -3
- package/dist/staking/roles/common/roleAssignment.d.ts +2 -2
- package/dist/staking/roles/common/roleEvent.d.ts +4 -4
- package/dist/staking/roles/grantRole/index.d.ts +1 -1
- package/dist/staking/roles/grantRole/v0/grantRole.d.ts +3 -3
- package/dist/staking/roles/index.d.ts +5 -5
- package/dist/staking/roles/index.d.ts.map +1 -1
- package/dist/staking/roles/searchRoleEvents/index.d.ts +3 -3
- package/dist/staking/roles/searchRoleEvents/index.d.ts.map +1 -1
- package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts +7 -7
- package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts.map +1 -1
- package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.js +3 -3
- package/dist/staking/roles/searchRoles/index.d.ts +3 -3
- package/dist/staking/roles/searchRoles/index.d.ts.map +1 -1
- package/dist/staking/roles/searchRoles/v0/searchRoles.d.ts +7 -7
- package/dist/staking/roles/searchRoles/v0/searchRoles.d.ts.map +1 -1
- package/dist/staking/roles/searchRoles/v0/searchRoles.js +3 -3
- package/dist/staking/stakes/common/stake.d.ts +2 -2
- package/dist/staking/stakes/common/stakeEvent.d.ts +4 -4
- package/dist/staking/stakes/getStake/index.d.ts +3 -3
- package/dist/staking/stakes/getStake/index.d.ts.map +1 -1
- package/dist/staking/stakes/getStake/v0/getStake.d.ts +7 -7
- package/dist/staking/stakes/getStake/v0/getStake.d.ts.map +1 -1
- package/dist/staking/stakes/getStake/v0/getStake.js +3 -3
- package/dist/staking/stakes/index.d.ts +5 -5
- package/dist/staking/stakes/index.d.ts.map +1 -1
- package/dist/staking/stakes/searchStakeEvents/index.d.ts +3 -3
- package/dist/staking/stakes/searchStakeEvents/index.d.ts.map +1 -1
- package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts +7 -7
- package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts.map +1 -1
- package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.js +3 -3
- package/dist/staking/stakes/searchStakes/index.d.ts +3 -3
- package/dist/staking/stakes/searchStakes/index.d.ts.map +1 -1
- package/dist/staking/stakes/searchStakes/v0/searchStakes.d.ts +7 -7
- package/dist/staking/stakes/searchStakes/v0/searchStakes.d.ts.map +1 -1
- package/dist/staking/stakes/searchStakes/v0/searchStakes.js +3 -3
- package/dist/staking-templates/index.d.ts +42 -42
- package/dist/staking-templates/templates/common/getReward.d.ts +7 -7
- package/dist/staking-templates/templates/common/partialUnstake.d.ts +7 -7
- package/dist/staking-templates/templates/common/rewardDistribution.js +2 -2
- package/dist/staking-templates/templates/common/unstake.d.ts +7 -7
- package/dist/staking-templates/templates/reputation/index.d.ts +13 -13
- package/dist/staking-templates/templates/reputation/v0/createPlatform.d.ts +3 -3
- package/dist/staking-templates/templates/reputation/v0/createPool.d.ts +7 -7
- package/dist/staking-templates/templates/reputation/v0/index.d.ts +13 -13
- package/dist/staking-templates/templates/reputation/v0/restake.d.ts +7 -7
- package/dist/staking-templates/templates/reputation/v0/stake.d.ts +7 -7
- package/dist/staking-templates/templates/reputationLock/index.d.ts +13 -13
- package/dist/staking-templates/templates/reputationLock/v0/createPlatform.d.ts +3 -3
- package/dist/staking-templates/templates/reputationLock/v0/createPool.d.ts +7 -7
- package/dist/staking-templates/templates/reputationLock/v0/index.d.ts +13 -13
- package/dist/staking-templates/templates/reputationLock/v0/restake.d.ts +7 -7
- package/dist/staking-templates/templates/reputationLock/v0/stake.d.ts +7 -7
- package/dist/staking-templates/templates/rwa/index.d.ts +16 -16
- package/dist/staking-templates/templates/rwa/v0/createPlatform.d.ts +3 -3
- package/dist/staking-templates/templates/rwa/v0/createPool.d.ts +7 -7
- package/dist/staking-templates/templates/rwa/v0/distributeRewards.d.ts +61 -0
- package/dist/staking-templates/templates/rwa/v0/distributeRewards.d.ts.map +1 -0
- package/dist/staking-templates/templates/rwa/v0/distributeRewards.js +41 -0
- package/dist/staking-templates/templates/rwa/v0/index.d.ts +16 -16
- package/dist/staking-templates/templates/rwa/v0/index.js +2 -2
- package/dist/staking-templates/templates/rwa/v0/restake.d.ts +7 -7
- package/dist/staking-templates/templates/rwa/v0/stake.d.ts +7 -7
- package/dist/v0/fractions/index.d.ts +68 -0
- package/dist/v0/fractions/index.d.ts.map +1 -0
- package/dist/v0/fractions/index.js +9 -0
- package/dist/v0/fractions/networkStatistics.route.d.ts +176 -0
- package/dist/v0/fractions/networkStatistics.route.d.ts.map +1 -0
- package/dist/v0/fractions/networkStatistics.route.js +354 -0
- package/dist/v1/fractions/lending/buyback/buyback.routes.d.ts +65 -0
- package/dist/v1/fractions/lending/buyback/buyback.routes.d.ts.map +1 -0
- package/dist/v1/fractions/lending/buyback/buyback.routes.js +27 -0
- package/dist/v1/fractions/lending/buyback/buyback.schema.d.ts +19 -0
- package/dist/v1/fractions/lending/buyback/buyback.schema.d.ts.map +1 -0
- package/dist/v1/fractions/lending/buyback/buyback.schema.js +12 -0
- package/dist/v1/fractions/lending/createLendingSale.d.ts +585 -0
- package/dist/v1/fractions/lending/createLendingSale.d.ts.map +1 -0
- package/dist/v1/fractions/lending/createLendingSale.js +81 -0
- package/dist/v1/fractions/lending/deployMarket/lending.routes.d.ts +117 -0
- package/dist/v1/fractions/lending/deployMarket/lending.routes.d.ts.map +1 -0
- package/dist/v1/fractions/lending/deployMarket/lending.routes.js +35 -0
- package/dist/v1/fractions/lending/index.d.ts +209 -0
- package/dist/v1/fractions/lending/index.d.ts.map +1 -0
- package/dist/v1/fractions/lending/index.js +22 -0
- package/dist/v1/fractions/lending/purchase/directPurchase.route.d.ts +82 -0
- package/dist/v1/fractions/lending/purchase/directPurchase.route.d.ts.map +1 -0
- package/dist/v1/fractions/lending/purchase/directPurchase.route.js +34 -0
- package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts +61 -0
- package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts.map +1 -0
- package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.routes.js +27 -0
- package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts +16 -0
- package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts.map +1 -0
- package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.js +10 -0
- package/dist/v1/fractions/schemas.d.ts +108 -0
- package/dist/v1/fractions/schemas.d.ts.map +1 -0
- package/dist/v1/fractions/schemas.js +35 -0
- package/package.json +10 -7
|
@@ -1,14 +1,28 @@
|
|
|
1
|
-
import { Env } from "hono";
|
|
2
1
|
import { Factory } from "hono/factory";
|
|
2
|
+
import type { AppContext } from "../common/context.js";
|
|
3
3
|
export declare const fractionsApi: {
|
|
4
4
|
name: string;
|
|
5
|
-
createApp:
|
|
5
|
+
createApp: (factory: Factory<AppContext>) => import("hono/hono-base").HonoBase<AppContext, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<(import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
6
6
|
"/": {
|
|
7
7
|
$get: {
|
|
8
8
|
input: {
|
|
9
9
|
query: {
|
|
10
|
+
chainId: string | string[];
|
|
10
11
|
address: string | string[];
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
output: {
|
|
15
|
+
error: string;
|
|
16
|
+
chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
|
|
17
|
+
market: `0x${string}`;
|
|
18
|
+
};
|
|
19
|
+
outputFormat: "json";
|
|
20
|
+
status: 404;
|
|
21
|
+
} | {
|
|
22
|
+
input: {
|
|
23
|
+
query: {
|
|
11
24
|
chainId: string | string[];
|
|
25
|
+
address: string | string[];
|
|
12
26
|
};
|
|
13
27
|
};
|
|
14
28
|
output: {
|
|
@@ -17,16 +31,16 @@ export declare const fractionsApi: {
|
|
|
17
31
|
contractAddress: `0x${string}`;
|
|
18
32
|
adminAddress: `0x${string}`;
|
|
19
33
|
updatedAt: string;
|
|
20
|
-
template: "default" | "compilot" | "continuous-withdrawal" | "continuous-withdrawal-nid";
|
|
34
|
+
template: "default" | "compilot" | "continuous-withdrawal" | "continuous-withdrawal-nid" | "lending";
|
|
21
35
|
wrapperAddress: `0x${string}` | null;
|
|
22
36
|
transactionHash: `0x${string}`;
|
|
23
37
|
feesBps: number | null;
|
|
24
38
|
burnAsset: {
|
|
25
39
|
symbol: string;
|
|
26
40
|
type: string;
|
|
27
|
-
name: string;
|
|
28
|
-
address: `0x${string}`;
|
|
29
41
|
chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
|
|
42
|
+
address: `0x${string}`;
|
|
43
|
+
name: string;
|
|
30
44
|
tokenId: string | null;
|
|
31
45
|
decimals: number;
|
|
32
46
|
burnable: boolean;
|
|
@@ -34,20 +48,6 @@ export declare const fractionsApi: {
|
|
|
34
48
|
};
|
|
35
49
|
outputFormat: "json";
|
|
36
50
|
status: 200;
|
|
37
|
-
} | {
|
|
38
|
-
input: {
|
|
39
|
-
query: {
|
|
40
|
-
address: string | string[];
|
|
41
|
-
chainId: string | string[];
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
output: {
|
|
45
|
-
error: string;
|
|
46
|
-
chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
|
|
47
|
-
market: `0x${string}`;
|
|
48
|
-
};
|
|
49
|
-
outputFormat: "json";
|
|
50
|
-
status: 404;
|
|
51
51
|
};
|
|
52
52
|
};
|
|
53
53
|
}, "/get"> | import("hono/types").MergeSchemaPath<{
|
|
@@ -71,16 +71,16 @@ export declare const fractionsApi: {
|
|
|
71
71
|
contractAddress: `0x${string}`;
|
|
72
72
|
adminAddress: `0x${string}`;
|
|
73
73
|
updatedAt: string;
|
|
74
|
-
template: "default" | "compilot" | "continuous-withdrawal" | "continuous-withdrawal-nid";
|
|
74
|
+
template: "default" | "compilot" | "continuous-withdrawal" | "continuous-withdrawal-nid" | "lending";
|
|
75
75
|
wrapperAddress: `0x${string}` | null;
|
|
76
76
|
transactionHash: `0x${string}`;
|
|
77
77
|
feesBps: number | null;
|
|
78
78
|
burnAsset: {
|
|
79
79
|
symbol: string;
|
|
80
80
|
type: string;
|
|
81
|
-
name: string;
|
|
82
|
-
address: `0x${string}`;
|
|
83
81
|
chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
|
|
82
|
+
address: `0x${string}`;
|
|
83
|
+
name: string;
|
|
84
84
|
tokenId: string | null;
|
|
85
85
|
decimals: number;
|
|
86
86
|
burnable: boolean;
|
|
@@ -129,8 +129,8 @@ export declare const fractionsApi: {
|
|
|
129
129
|
data: `0x${string}`;
|
|
130
130
|
to: `0x${string}`;
|
|
131
131
|
details: {
|
|
132
|
-
functionName: string;
|
|
133
132
|
address: `0x${string}`;
|
|
133
|
+
functionName: string;
|
|
134
134
|
abi: any[];
|
|
135
135
|
args: any[];
|
|
136
136
|
};
|
|
@@ -140,7 +140,7 @@ export declare const fractionsApi: {
|
|
|
140
140
|
};
|
|
141
141
|
};
|
|
142
142
|
} & {
|
|
143
|
-
"/
|
|
143
|
+
"/deployContinuousWithdraw": {
|
|
144
144
|
$post: {
|
|
145
145
|
input: {
|
|
146
146
|
json: {
|
|
@@ -160,8 +160,8 @@ export declare const fractionsApi: {
|
|
|
160
160
|
data: `0x${string}`;
|
|
161
161
|
to: `0x${string}`;
|
|
162
162
|
details: {
|
|
163
|
-
functionName: string;
|
|
164
163
|
address: `0x${string}`;
|
|
164
|
+
functionName: string;
|
|
165
165
|
abi: any[];
|
|
166
166
|
args: any[];
|
|
167
167
|
};
|
|
@@ -171,7 +171,7 @@ export declare const fractionsApi: {
|
|
|
171
171
|
};
|
|
172
172
|
};
|
|
173
173
|
} & {
|
|
174
|
-
"/
|
|
174
|
+
"/deployContinuousWithdrawNid": {
|
|
175
175
|
$post: {
|
|
176
176
|
input: {
|
|
177
177
|
json: {
|
|
@@ -191,8 +191,8 @@ export declare const fractionsApi: {
|
|
|
191
191
|
data: `0x${string}`;
|
|
192
192
|
to: `0x${string}`;
|
|
193
193
|
details: {
|
|
194
|
-
functionName: string;
|
|
195
194
|
address: `0x${string}`;
|
|
195
|
+
functionName: string;
|
|
196
196
|
abi: any[];
|
|
197
197
|
args: any[];
|
|
198
198
|
};
|
|
@@ -202,7 +202,7 @@ export declare const fractionsApi: {
|
|
|
202
202
|
};
|
|
203
203
|
};
|
|
204
204
|
} & {
|
|
205
|
-
|
|
205
|
+
"/deployNid": {
|
|
206
206
|
$post: {
|
|
207
207
|
input: {
|
|
208
208
|
json: {
|
|
@@ -222,8 +222,8 @@ export declare const fractionsApi: {
|
|
|
222
222
|
data: `0x${string}`;
|
|
223
223
|
to: `0x${string}`;
|
|
224
224
|
details: {
|
|
225
|
-
functionName: string;
|
|
226
225
|
address: `0x${string}`;
|
|
226
|
+
functionName: string;
|
|
227
227
|
abi: any[];
|
|
228
228
|
args: any[];
|
|
229
229
|
};
|
|
@@ -244,8 +244,8 @@ export declare const fractionsApi: {
|
|
|
244
244
|
data: `0x${string}`;
|
|
245
245
|
to: `0x${string}`;
|
|
246
246
|
details: {
|
|
247
|
-
functionName: string;
|
|
248
247
|
address: `0x${string}`;
|
|
248
|
+
functionName: string;
|
|
249
249
|
abi: any[];
|
|
250
250
|
args: any[];
|
|
251
251
|
};
|
|
@@ -267,8 +267,8 @@ export declare const fractionsApi: {
|
|
|
267
267
|
data: `0x${string}`;
|
|
268
268
|
to: `0x${string}`;
|
|
269
269
|
details: {
|
|
270
|
-
functionName: string;
|
|
271
270
|
address: `0x${string}`;
|
|
271
|
+
functionName: string;
|
|
272
272
|
abi: any[];
|
|
273
273
|
args: any[];
|
|
274
274
|
};
|
|
@@ -291,8 +291,8 @@ export declare const fractionsApi: {
|
|
|
291
291
|
data: `0x${string}`;
|
|
292
292
|
to: `0x${string}`;
|
|
293
293
|
details: {
|
|
294
|
-
functionName: string;
|
|
295
294
|
address: `0x${string}`;
|
|
295
|
+
functionName: string;
|
|
296
296
|
abi: any[];
|
|
297
297
|
args: any[];
|
|
298
298
|
};
|
|
@@ -314,8 +314,8 @@ export declare const fractionsApi: {
|
|
|
314
314
|
data: `0x${string}`;
|
|
315
315
|
to: `0x${string}`;
|
|
316
316
|
details: {
|
|
317
|
-
functionName: string;
|
|
318
317
|
address: `0x${string}`;
|
|
318
|
+
functionName: string;
|
|
319
319
|
abi: any[];
|
|
320
320
|
args: any[];
|
|
321
321
|
};
|
|
@@ -360,8 +360,8 @@ export declare const fractionsApi: {
|
|
|
360
360
|
data: `0x${string}`;
|
|
361
361
|
to: `0x${string}`;
|
|
362
362
|
details: {
|
|
363
|
-
functionName: string;
|
|
364
363
|
address: `0x${string}`;
|
|
364
|
+
functionName: string;
|
|
365
365
|
abi: any[];
|
|
366
366
|
args: any[];
|
|
367
367
|
};
|
|
@@ -394,29 +394,29 @@ export declare const fractionsApi: {
|
|
|
394
394
|
end: Date;
|
|
395
395
|
};
|
|
396
396
|
wrapped: [{
|
|
397
|
-
values: [bigint, ...bigint[]];
|
|
398
397
|
type: "ERC20";
|
|
398
|
+
values: [bigint, ...bigint[]];
|
|
399
399
|
address: `0x${string}`;
|
|
400
400
|
} | {
|
|
401
401
|
type: "ERC721";
|
|
402
402
|
address: `0x${string}`;
|
|
403
403
|
tokenIds: [bigint, ...bigint[]];
|
|
404
404
|
} | {
|
|
405
|
-
values: [bigint, ...bigint[]];
|
|
406
405
|
type: "ERC1155";
|
|
406
|
+
values: [bigint, ...bigint[]];
|
|
407
407
|
address: `0x${string}`;
|
|
408
408
|
tokenIds: [bigint, ...bigint[]];
|
|
409
409
|
}, ...({
|
|
410
|
-
values: [bigint, ...bigint[]];
|
|
411
410
|
type: "ERC20";
|
|
411
|
+
values: [bigint, ...bigint[]];
|
|
412
412
|
address: `0x${string}`;
|
|
413
413
|
} | {
|
|
414
414
|
type: "ERC721";
|
|
415
415
|
address: `0x${string}`;
|
|
416
416
|
tokenIds: [bigint, ...bigint[]];
|
|
417
417
|
} | {
|
|
418
|
-
values: [bigint, ...bigint[]];
|
|
419
418
|
type: "ERC1155";
|
|
419
|
+
values: [bigint, ...bigint[]];
|
|
420
420
|
address: `0x${string}`;
|
|
421
421
|
tokenIds: [bigint, ...bigint[]];
|
|
422
422
|
})[]];
|
|
@@ -445,8 +445,8 @@ export declare const fractionsApi: {
|
|
|
445
445
|
data: `0x${string}`;
|
|
446
446
|
to: `0x${string}`;
|
|
447
447
|
details: {
|
|
448
|
-
functionName: string;
|
|
449
448
|
address: `0x${string}`;
|
|
449
|
+
functionName: string;
|
|
450
450
|
abi: any[];
|
|
451
451
|
args: any[];
|
|
452
452
|
};
|
|
@@ -489,8 +489,8 @@ export declare const fractionsApi: {
|
|
|
489
489
|
data: `0x${string}`;
|
|
490
490
|
to: `0x${string}`;
|
|
491
491
|
details: {
|
|
492
|
-
functionName: string;
|
|
493
492
|
address: `0x${string}`;
|
|
493
|
+
functionName: string;
|
|
494
494
|
abi: any[];
|
|
495
495
|
args: any[];
|
|
496
496
|
};
|
|
@@ -512,8 +512,8 @@ export declare const fractionsApi: {
|
|
|
512
512
|
data: `0x${string}`;
|
|
513
513
|
to: `0x${string}`;
|
|
514
514
|
details: {
|
|
515
|
-
functionName: string;
|
|
516
515
|
address: `0x${string}`;
|
|
516
|
+
functionName: string;
|
|
517
517
|
abi: any[];
|
|
518
518
|
args: any[];
|
|
519
519
|
};
|
|
@@ -563,8 +563,8 @@ export declare const fractionsApi: {
|
|
|
563
563
|
data: `0x${string}`;
|
|
564
564
|
to: `0x${string}`;
|
|
565
565
|
details: {
|
|
566
|
-
functionName: string;
|
|
567
566
|
address: `0x${string}`;
|
|
567
|
+
functionName: string;
|
|
568
568
|
abi: any[];
|
|
569
569
|
args: any[];
|
|
570
570
|
};
|
|
@@ -618,8 +618,8 @@ export declare const fractionsApi: {
|
|
|
618
618
|
data: `0x${string}`;
|
|
619
619
|
to: `0x${string}`;
|
|
620
620
|
details: {
|
|
621
|
-
functionName: string;
|
|
622
621
|
address: `0x${string}`;
|
|
622
|
+
functionName: string;
|
|
623
623
|
abi: any[];
|
|
624
624
|
args: any[];
|
|
625
625
|
};
|
|
@@ -641,8 +641,8 @@ export declare const fractionsApi: {
|
|
|
641
641
|
data: `0x${string}`;
|
|
642
642
|
to: `0x${string}`;
|
|
643
643
|
details: {
|
|
644
|
-
functionName: string;
|
|
645
644
|
address: `0x${string}`;
|
|
645
|
+
functionName: string;
|
|
646
646
|
abi: any[];
|
|
647
647
|
args: any[];
|
|
648
648
|
};
|
|
@@ -667,8 +667,8 @@ export declare const fractionsApi: {
|
|
|
667
667
|
data: `0x${string}`;
|
|
668
668
|
to: `0x${string}`;
|
|
669
669
|
details: {
|
|
670
|
-
functionName: string;
|
|
671
670
|
address: `0x${string}`;
|
|
671
|
+
functionName: string;
|
|
672
672
|
abi: any[];
|
|
673
673
|
args: any[];
|
|
674
674
|
};
|
|
@@ -682,16 +682,16 @@ export declare const fractionsApi: {
|
|
|
682
682
|
$post: {
|
|
683
683
|
input: {
|
|
684
684
|
json: {
|
|
685
|
-
platform: `0x${string}`;
|
|
686
|
-
campaignId: string | number | bigint;
|
|
687
685
|
walletAddress: `0x${string}`;
|
|
686
|
+
campaignId: string | number | bigint;
|
|
687
|
+
platform: `0x${string}`;
|
|
688
688
|
chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
|
|
689
689
|
};
|
|
690
690
|
};
|
|
691
691
|
output: {
|
|
692
692
|
chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
|
|
693
|
-
platform: `0x${string}`;
|
|
694
693
|
campaignId: string;
|
|
694
|
+
platform: `0x${string}`;
|
|
695
695
|
statistics: {
|
|
696
696
|
priceId: string;
|
|
697
697
|
purchases: number;
|
|
@@ -709,8 +709,8 @@ export declare const fractionsApi: {
|
|
|
709
709
|
json: {
|
|
710
710
|
filter: {
|
|
711
711
|
chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
|
|
712
|
-
platform?: `0x${string}` | undefined;
|
|
713
712
|
campaignId?: string | number | bigint | undefined;
|
|
713
|
+
platform?: `0x${string}` | undefined;
|
|
714
714
|
};
|
|
715
715
|
page: {
|
|
716
716
|
skip: number;
|
|
@@ -736,8 +736,8 @@ export declare const fractionsApi: {
|
|
|
736
736
|
data: `0x${string}`;
|
|
737
737
|
to: `0x${string}`;
|
|
738
738
|
details: {
|
|
739
|
-
functionName: string;
|
|
740
739
|
address: `0x${string}`;
|
|
740
|
+
functionName: string;
|
|
741
741
|
abi: any[];
|
|
742
742
|
args: any[];
|
|
743
743
|
};
|
|
@@ -762,8 +762,8 @@ export declare const fractionsApi: {
|
|
|
762
762
|
data: `0x${string}`;
|
|
763
763
|
to: `0x${string}`;
|
|
764
764
|
details: {
|
|
765
|
-
functionName: string;
|
|
766
765
|
address: `0x${string}`;
|
|
766
|
+
functionName: string;
|
|
767
767
|
abi: any[];
|
|
768
768
|
args: any[];
|
|
769
769
|
};
|
|
@@ -785,8 +785,8 @@ export declare const fractionsApi: {
|
|
|
785
785
|
data: `0x${string}`;
|
|
786
786
|
to: `0x${string}`;
|
|
787
787
|
details: {
|
|
788
|
-
functionName: string;
|
|
789
788
|
address: `0x${string}`;
|
|
789
|
+
functionName: string;
|
|
790
790
|
abi: any[];
|
|
791
791
|
args: any[];
|
|
792
792
|
};
|
|
@@ -808,8 +808,8 @@ export declare const fractionsApi: {
|
|
|
808
808
|
data: `0x${string}`;
|
|
809
809
|
to: `0x${string}`;
|
|
810
810
|
details: {
|
|
811
|
-
functionName: string;
|
|
812
811
|
address: `0x${string}`;
|
|
812
|
+
functionName: string;
|
|
813
813
|
abi: any[];
|
|
814
814
|
args: any[];
|
|
815
815
|
};
|
|
@@ -832,8 +832,8 @@ export declare const fractionsApi: {
|
|
|
832
832
|
data: `0x${string}`;
|
|
833
833
|
to: `0x${string}`;
|
|
834
834
|
details: {
|
|
835
|
-
functionName: string;
|
|
836
835
|
address: `0x${string}`;
|
|
836
|
+
functionName: string;
|
|
837
837
|
abi: any[];
|
|
838
838
|
args: any[];
|
|
839
839
|
};
|
|
@@ -873,8 +873,8 @@ export declare const fractionsApi: {
|
|
|
873
873
|
$post: {
|
|
874
874
|
input: {
|
|
875
875
|
json: {
|
|
876
|
-
address: `0x${string}`;
|
|
877
876
|
campaignId: bigint;
|
|
877
|
+
address: `0x${string}`;
|
|
878
878
|
amountOfFractions: bigint;
|
|
879
879
|
itToBurn: bigint;
|
|
880
880
|
};
|
|
@@ -883,8 +883,8 @@ export declare const fractionsApi: {
|
|
|
883
883
|
data: `0x${string}`;
|
|
884
884
|
to: `0x${string}`;
|
|
885
885
|
details: {
|
|
886
|
-
functionName: string;
|
|
887
886
|
address: `0x${string}`;
|
|
887
|
+
functionName: string;
|
|
888
888
|
abi: any[];
|
|
889
889
|
args: any[];
|
|
890
890
|
};
|
|
@@ -894,8 +894,8 @@ export declare const fractionsApi: {
|
|
|
894
894
|
} | {
|
|
895
895
|
input: {
|
|
896
896
|
json: {
|
|
897
|
-
address: `0x${string}`;
|
|
898
897
|
campaignId: bigint;
|
|
898
|
+
address: `0x${string}`;
|
|
899
899
|
amountOfFractions: bigint;
|
|
900
900
|
itToBurn: bigint;
|
|
901
901
|
};
|
|
@@ -908,8 +908,8 @@ export declare const fractionsApi: {
|
|
|
908
908
|
} | {
|
|
909
909
|
input: {
|
|
910
910
|
json: {
|
|
911
|
-
address: `0x${string}`;
|
|
912
911
|
campaignId: bigint;
|
|
912
|
+
address: `0x${string}`;
|
|
913
913
|
amountOfFractions: bigint;
|
|
914
914
|
itToBurn: bigint;
|
|
915
915
|
};
|
|
@@ -927,9 +927,9 @@ export declare const fractionsApi: {
|
|
|
927
927
|
input: {
|
|
928
928
|
json: {
|
|
929
929
|
chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
|
|
930
|
-
platform: `0x${string}`;
|
|
931
|
-
campaignId: string | number | bigint;
|
|
932
930
|
walletAddress: `0x${string}`;
|
|
931
|
+
campaignId: string | number | bigint;
|
|
932
|
+
platform: `0x${string}`;
|
|
933
933
|
};
|
|
934
934
|
};
|
|
935
935
|
output: never;
|
|
@@ -964,8 +964,8 @@ export declare const fractionsApi: {
|
|
|
964
964
|
json: {
|
|
965
965
|
filter: {
|
|
966
966
|
chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
|
|
967
|
-
platform?: `0x${string}` | undefined;
|
|
968
967
|
campaignId?: string | number | bigint | undefined;
|
|
968
|
+
platform?: `0x${string}` | undefined;
|
|
969
969
|
owner?: `0x${string}` | undefined;
|
|
970
970
|
};
|
|
971
971
|
page: {
|
|
@@ -977,19 +977,18 @@ export declare const fractionsApi: {
|
|
|
977
977
|
output: {
|
|
978
978
|
status: "created" | "approved" | "rejected" | "finalized" | "refunded";
|
|
979
979
|
chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
|
|
980
|
-
platform: `0x${string}`;
|
|
981
|
-
campaignId: number;
|
|
982
980
|
createdAt: string;
|
|
983
981
|
updatedAt: string;
|
|
982
|
+
campaignId: number;
|
|
984
983
|
transactionHash: `0x${string}`;
|
|
985
984
|
nftId: number;
|
|
986
985
|
fractions: {
|
|
987
986
|
asset: {
|
|
988
987
|
symbol: string;
|
|
989
988
|
type: string;
|
|
990
|
-
name: string;
|
|
991
|
-
address: `0x${string}`;
|
|
992
989
|
chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
|
|
990
|
+
address: `0x${string}`;
|
|
991
|
+
name: string;
|
|
993
992
|
tokenId: string | null;
|
|
994
993
|
decimals: number;
|
|
995
994
|
burnable: boolean;
|
|
@@ -997,6 +996,7 @@ export declare const fractionsApi: {
|
|
|
997
996
|
totalFractions: string;
|
|
998
997
|
price: string;
|
|
999
998
|
};
|
|
999
|
+
platform: `0x${string}`;
|
|
1000
1000
|
owner: `0x${string}`;
|
|
1001
1001
|
vesting: {
|
|
1002
1002
|
cliffDate: string;
|
|
@@ -1017,9 +1017,9 @@ export declare const fractionsApi: {
|
|
|
1017
1017
|
asset: {
|
|
1018
1018
|
symbol: string;
|
|
1019
1019
|
type: string;
|
|
1020
|
-
name: string;
|
|
1021
|
-
address: `0x${string}`;
|
|
1022
1020
|
chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
|
|
1021
|
+
address: `0x${string}`;
|
|
1022
|
+
name: string;
|
|
1023
1023
|
tokenId: string | null;
|
|
1024
1024
|
decimals: number;
|
|
1025
1025
|
burnable: boolean;
|
|
@@ -1030,9 +1030,9 @@ export declare const fractionsApi: {
|
|
|
1030
1030
|
asset: {
|
|
1031
1031
|
symbol: string;
|
|
1032
1032
|
type: string;
|
|
1033
|
-
name: string;
|
|
1034
|
-
address: `0x${string}`;
|
|
1035
1033
|
chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
|
|
1034
|
+
address: `0x${string}`;
|
|
1035
|
+
name: string;
|
|
1036
1036
|
tokenId: string | null;
|
|
1037
1037
|
decimals: number;
|
|
1038
1038
|
burnable: boolean;
|
|
@@ -1051,8 +1051,8 @@ export declare const fractionsApi: {
|
|
|
1051
1051
|
json: {
|
|
1052
1052
|
filter: {
|
|
1053
1053
|
chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
|
|
1054
|
-
platform?: `0x${string}` | undefined;
|
|
1055
1054
|
campaignId?: string | number | bigint | undefined;
|
|
1055
|
+
platform?: `0x${string}` | undefined;
|
|
1056
1056
|
operationType?: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum | undefined;
|
|
1057
1057
|
};
|
|
1058
1058
|
page: {
|
|
@@ -1063,17 +1063,16 @@ export declare const fractionsApi: {
|
|
|
1063
1063
|
};
|
|
1064
1064
|
output: {
|
|
1065
1065
|
chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
|
|
1066
|
-
platform: `0x${string}`;
|
|
1067
|
-
campaignId: string;
|
|
1068
1066
|
createdAt: string;
|
|
1069
1067
|
updatedAt: string;
|
|
1068
|
+
campaignId: string;
|
|
1070
1069
|
transactionHash: `0x${string}`;
|
|
1071
1070
|
from: `0x${string}`;
|
|
1072
1071
|
metadata: {
|
|
1073
1072
|
type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.CREATED;
|
|
1074
1073
|
} | {
|
|
1075
|
-
status: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleStatusEnum;
|
|
1076
1074
|
type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.STATUS_UPDATE;
|
|
1075
|
+
status: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleStatusEnum;
|
|
1077
1076
|
} | {
|
|
1078
1077
|
type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.PURCHASE;
|
|
1079
1078
|
amountOfFractions: string;
|
|
@@ -1106,6 +1105,7 @@ export declare const fractionsApi: {
|
|
|
1106
1105
|
type: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum.WITHDRAW_NON_WRAPPED;
|
|
1107
1106
|
receiver: string;
|
|
1108
1107
|
};
|
|
1108
|
+
platform: `0x${string}`;
|
|
1109
1109
|
}[];
|
|
1110
1110
|
outputFormat: "json";
|
|
1111
1111
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -1117,14 +1117,14 @@ export declare const fractionsApi: {
|
|
|
1117
1117
|
input: {
|
|
1118
1118
|
json: {
|
|
1119
1119
|
chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
|
|
1120
|
-
platform: `0x${string}`;
|
|
1121
1120
|
campaignId: string | number | bigint;
|
|
1121
|
+
platform: `0x${string}`;
|
|
1122
1122
|
};
|
|
1123
1123
|
};
|
|
1124
1124
|
output: {
|
|
1125
1125
|
chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
|
|
1126
|
-
platform: `0x${string}`;
|
|
1127
1126
|
campaignId: string;
|
|
1127
|
+
platform: `0x${string}`;
|
|
1128
1128
|
statistics: {
|
|
1129
1129
|
priceId: string;
|
|
1130
1130
|
purchases: number;
|
|
@@ -1149,8 +1149,8 @@ export declare const fractionsApi: {
|
|
|
1149
1149
|
data: `0x${string}`;
|
|
1150
1150
|
to: `0x${string}`;
|
|
1151
1151
|
details: {
|
|
1152
|
-
functionName: string;
|
|
1153
1152
|
address: `0x${string}`;
|
|
1153
|
+
functionName: string;
|
|
1154
1154
|
abi: any[];
|
|
1155
1155
|
args: any[];
|
|
1156
1156
|
};
|
|
@@ -1247,7 +1247,71 @@ export declare const fractionsApi: {
|
|
|
1247
1247
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1248
1248
|
};
|
|
1249
1249
|
};
|
|
1250
|
-
}, "/sig"
|
|
1250
|
+
}, "/sig"> | import("hono/types").MergeSchemaPath<{
|
|
1251
|
+
"/holders": {
|
|
1252
|
+
$post: {
|
|
1253
|
+
input: {
|
|
1254
|
+
json: {
|
|
1255
|
+
chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
|
|
1256
|
+
};
|
|
1257
|
+
};
|
|
1258
|
+
output: {
|
|
1259
|
+
[x: string]: number;
|
|
1260
|
+
};
|
|
1261
|
+
outputFormat: "json";
|
|
1262
|
+
status: 200;
|
|
1263
|
+
};
|
|
1264
|
+
};
|
|
1265
|
+
} & {
|
|
1266
|
+
"/sales": {
|
|
1267
|
+
$post: {
|
|
1268
|
+
input: {
|
|
1269
|
+
json: {
|
|
1270
|
+
chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
|
|
1271
|
+
};
|
|
1272
|
+
};
|
|
1273
|
+
output: {
|
|
1274
|
+
[x: string]: number;
|
|
1275
|
+
};
|
|
1276
|
+
outputFormat: "json";
|
|
1277
|
+
status: 200;
|
|
1278
|
+
};
|
|
1279
|
+
};
|
|
1280
|
+
} & {
|
|
1281
|
+
"/ttv": {
|
|
1282
|
+
$post: {
|
|
1283
|
+
input: {
|
|
1284
|
+
json: {
|
|
1285
|
+
chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
|
|
1286
|
+
};
|
|
1287
|
+
};
|
|
1288
|
+
output: {
|
|
1289
|
+
[x: string]: string;
|
|
1290
|
+
};
|
|
1291
|
+
outputFormat: "json";
|
|
1292
|
+
status: 200;
|
|
1293
|
+
};
|
|
1294
|
+
};
|
|
1295
|
+
} & {
|
|
1296
|
+
"/": {
|
|
1297
|
+
$post: {
|
|
1298
|
+
input: {
|
|
1299
|
+
json: {
|
|
1300
|
+
chainId?: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId | undefined;
|
|
1301
|
+
};
|
|
1302
|
+
};
|
|
1303
|
+
output: {
|
|
1304
|
+
[x: string]: {
|
|
1305
|
+
holders: number;
|
|
1306
|
+
sales: number;
|
|
1307
|
+
ttv: string;
|
|
1308
|
+
};
|
|
1309
|
+
};
|
|
1310
|
+
outputFormat: "json";
|
|
1311
|
+
status: 200;
|
|
1312
|
+
};
|
|
1313
|
+
};
|
|
1314
|
+
}, "/statistics">, "/v0/fractions">, "/">;
|
|
1251
1315
|
config: {
|
|
1252
1316
|
title: string;
|
|
1253
1317
|
description: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/fractions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/fractions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AA2GvD,eAAO,MAAM,YAAY;;yBAEF,OAAO,CAAC,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBzC,CAAC"}
|
package/dist/fractions/index.js
CHANGED
|
@@ -29,13 +29,14 @@ import { createSaleStatisticsV0App } from "./sales/getFractionSaleStatistics.rou
|
|
|
29
29
|
import { createSearchActivityV0App } from "./activity/searchActivity.route.js";
|
|
30
30
|
import { createPurchaseSalesStatisticsV0 } from "./purchase/v0/statistics.route.js";
|
|
31
31
|
import { createClaimStatisticsV0App } from "./sales/vesting/v0/claimStatistics.route.js";
|
|
32
|
+
import { createNetworkStatisticsApp } from "../v0/fractions/index.js";
|
|
32
33
|
function createPlatformsApp(factory) {
|
|
33
34
|
return factory
|
|
34
35
|
.createApp()
|
|
35
36
|
.post("/deploy", ...createDeployMarketTransactionV0(factory))
|
|
36
|
-
.post("/deployNid", ...createDeployCompilotMarketTransactionV0(factory))
|
|
37
37
|
.post("/deployContinuousWithdraw", ...createDeployContinuousWithdrawMarketTransactionV0(factory))
|
|
38
|
-
.post("deployContinuousWithdrawNid", ...createDeployContinuousWithdrawNidMarketTransactionV0(factory))
|
|
38
|
+
.post("/deployContinuousWithdrawNid", ...createDeployContinuousWithdrawNidMarketTransactionV0(factory))
|
|
39
|
+
.post("/deployNid", ...createDeployCompilotMarketTransactionV0(factory))
|
|
39
40
|
.get("/initCompilot", ...createInitNidTransaction(factory));
|
|
40
41
|
}
|
|
41
42
|
function createRolesApp(factory) {
|
|
@@ -96,7 +97,8 @@ export const fractionsApi = {
|
|
|
96
97
|
.route("/fractions", createFractionsApp(factory))
|
|
97
98
|
.route("/roles", createRolesApp(factory))
|
|
98
99
|
.route("/sales", createSalesApp(factory))
|
|
99
|
-
.route("/sig", createSignatureApp(factory))
|
|
100
|
+
.route("/sig", createSignatureApp(factory))
|
|
101
|
+
.route("/statistics", createNetworkStatisticsApp(factory))),
|
|
100
102
|
config: {
|
|
101
103
|
title: "Fractions API",
|
|
102
104
|
description: "Create and manage fractions of your assets",
|