@chainstream-io/sdk 0.0.5 → 0.0.7
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/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/openapi/apis/DefiSolanaMoonshotApi.d.ts +8 -8
- package/dist/openapi/apis/DefiSolanaMoonshotApi.js +16 -16
- package/dist/openapi/apis/DefiSolanaMoonshotApi.js.map +1 -1
- package/dist/openapi/apis/DefiSolanaPumpfunApi.d.ts +4 -4
- package/dist/openapi/apis/DefiSolanaPumpfunApi.js +8 -8
- package/dist/openapi/apis/DefiSolanaPumpfunApi.js.map +1 -1
- package/dist/openapi/apis/DexApi.d.ts +4 -4
- package/dist/openapi/apis/DexApi.js +37 -37
- package/dist/openapi/apis/DexApi.js.map +1 -1
- package/dist/openapi/apis/RankingApi.d.ts +11 -11
- package/dist/openapi/apis/RankingApi.js +155 -35
- package/dist/openapi/apis/RankingApi.js.map +1 -1
- package/dist/openapi/apis/TokenApi.d.ts +1 -1
- package/dist/openapi/apis/TokenApi.js +1 -1
- package/dist/openapi/apis/TokenApi.js.map +1 -1
- package/dist/openapi/index.d.ts +1 -1
- package/dist/openapi/index.js.map +1 -1
- package/dist/openapi/models/CreateTokenReply.d.ts +21 -0
- package/dist/openapi/models/CreateTokenReply.js +28 -0
- package/dist/openapi/models/CreateTokenReply.js.map +1 -0
- package/dist/openapi/models/DexCreateTokenInput.d.ts +34 -0
- package/dist/openapi/models/DexCreateTokenInput.js +72 -0
- package/dist/openapi/models/DexCreateTokenInput.js.map +1 -0
- package/dist/openapi/models/FilterCondition.d.ts +19 -1
- package/dist/openapi/models/FilterCondition.js +18 -0
- package/dist/openapi/models/FilterCondition.js.map +1 -1
- package/dist/openapi/models/MoonshotCreateTokenInput.d.ts +39 -0
- package/dist/openapi/models/MoonshotCreateTokenInput.js +92 -0
- package/dist/openapi/models/MoonshotCreateTokenInput.js.map +1 -0
- package/dist/openapi/models/MoonshotCreateTokenReply.d.ts +21 -0
- package/dist/openapi/models/MoonshotCreateTokenReply.js +28 -0
- package/dist/openapi/models/MoonshotCreateTokenReply.js.map +1 -0
- package/dist/openapi/models/MoonshotSubmitCreateToken200Response.d.ts +21 -0
- package/dist/openapi/models/MoonshotSubmitCreateToken200Response.js +28 -0
- package/dist/openapi/models/MoonshotSubmitCreateToken200Response.js.map +1 -0
- package/dist/openapi/models/MoonshotSubmitCreateTokenInput.d.ts +21 -0
- package/dist/openapi/models/MoonshotSubmitCreateTokenInput.js +28 -0
- package/dist/openapi/models/MoonshotSubmitCreateTokenInput.js.map +1 -0
- package/dist/openapi/models/ObjectSerializer.d.ts +8 -11
- package/dist/openapi/models/ObjectSerializer.js +29 -38
- package/dist/openapi/models/ObjectSerializer.js.map +1 -1
- package/dist/openapi/models/PumpCreateTokenInput.d.ts +38 -0
- package/dist/openapi/models/PumpCreateTokenInput.js +97 -0
- package/dist/openapi/models/PumpCreateTokenInput.js.map +1 -0
- package/dist/openapi/models/PumpCreateTokenReply.d.ts +21 -0
- package/dist/openapi/models/PumpCreateTokenReply.js +28 -0
- package/dist/openapi/models/PumpCreateTokenReply.js.map +1 -0
- package/dist/openapi/models/all.d.ts +8 -11
- package/dist/openapi/models/all.js +8 -11
- package/dist/openapi/models/all.js.map +1 -1
- package/dist/openapi/types/ObjectParamAPI.d.ts +67 -48
- package/dist/openapi/types/ObjectParamAPI.js +28 -28
- package/dist/openapi/types/ObjectParamAPI.js.map +1 -1
- package/dist/openapi/types/ObservableAPI.d.ts +28 -29
- package/dist/openapi/types/ObservableAPI.js +45 -45
- package/dist/openapi/types/ObservableAPI.js.map +1 -1
- package/dist/openapi/types/PromiseAPI.d.ts +28 -29
- package/dist/openapi/types/PromiseAPI.js +40 -40
- package/dist/openapi/types/PromiseAPI.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
- package/src/openapi/.openapi-generator/FILES +8 -11
- package/src/openapi/apis/DefiSolanaMoonshotApi.ts +38 -38
- package/src/openapi/apis/DefiSolanaPumpfunApi.ts +19 -19
- package/src/openapi/apis/DexApi.ts +70 -70
- package/src/openapi/apis/RankingApi.ts +266 -66
- package/src/openapi/apis/TokenApi.ts +2 -2
- package/src/openapi/index.ts +1 -1
- package/src/openapi/models/{MintReply.ts → CreateTokenReply.ts} +4 -4
- package/src/openapi/models/{DexMintInput.ts → DexCreateTokenInput.ts} +5 -5
- package/src/openapi/models/FilterCondition.ts +19 -1
- package/src/openapi/models/{MintInput.ts → MoonshotCreateTokenInput.ts} +8 -8
- package/src/openapi/models/{MoonshotMintReply.ts → MoonshotCreateTokenReply.ts} +4 -4
- package/src/openapi/models/{MoonshotSubmitMint200Response.ts → MoonshotSubmitCreateToken200Response.ts} +2 -2
- package/src/openapi/models/{SubmitInput.ts → MoonshotSubmitCreateTokenInput.ts} +4 -4
- package/src/openapi/models/ObjectSerializer.ts +29 -38
- package/src/openapi/models/{PumpMintInput.ts → PumpCreateTokenInput.ts} +8 -8
- package/src/openapi/models/{PumpMintReply.ts → PumpCreateTokenReply.ts} +2 -2
- package/src/openapi/models/all.ts +8 -11
- package/src/openapi/types/ObjectParamAPI.ts +253 -116
- package/src/openapi/types/ObservableAPI.ts +140 -103
- package/src/openapi/types/PromiseAPI.ts +132 -95
- package/src/openapi/models/RankingToken.ts +0 -132
- package/src/openapi/models/RankingTokenMarketData.ts +0 -109
- package/src/openapi/models/RankingTokenStat.ts +0 -329
|
@@ -1925,7 +1925,7 @@ export class TokenApiRequestFactory extends BaseAPIRequestFactory {
|
|
|
1925
1925
|
* @param sortDirection DTO.TOKEN.REQUEST.SORT_DIRECTION
|
|
1926
1926
|
* @param filterBy DTO.TOKEN.REQUEST.FILTER_BY
|
|
1927
1927
|
*/
|
|
1928
|
-
public async getTokens(chain: 'sol' | 'base' | 'bsc' | 'polygon' | 'arbitrum' | 'optimism' | 'avalanche' | 'ethereum' | 'zksync' | 'sui', tokenAddresses: string, sortBy?: 'marketData.priceInUsd' | 'stats.priceChangeRatioInUsd1m' | 'stats.priceChangeRatioInUsd5m' | 'stats.priceChangeRatioInUsd1h' | 'stats.priceChangeRatioInUsd4h' | 'stats.priceChangeRatioInUsd24h' | 'marketData.marketCapInUsd' | 'marketData.tvlInUsd' | 'marketData.top10HoldingsRatio' | 'marketData.top100HoldingsRatio' | 'marketData.holders' | 'stats.trades1m' | 'stats.trades5m' | 'stats.trades1h' | 'stats.trades4h' | 'stats.trades24h' | 'stats.traders1m' | 'stats.traders5m' | 'stats.traders1h' | 'stats.traders4h' | 'stats.traders24h' | 'stats.volumesInUsd1m' | 'stats.volumesInUsd5m' | 'stats.volumesInUsd1h' | 'stats.volumesInUsd4h' | 'stats.volumesInUsd24h' | 'tokenCreatedAt', sortDirection?: 'ASC' | 'DESC', filterBy?: Array<FilterCondition>, _options?: Configuration): Promise<RequestContext> {
|
|
1928
|
+
public async getTokens(chain: 'sol' | 'base' | 'bsc' | 'polygon' | 'arbitrum' | 'optimism' | 'avalanche' | 'ethereum' | 'zksync' | 'sui', tokenAddresses: string, sortBy?: 'marketData.priceInUsd' | 'stats.priceChangeRatioInUsd1m' | 'stats.priceChangeRatioInUsd5m' | 'stats.priceChangeRatioInUsd1h' | 'stats.priceChangeRatioInUsd4h' | 'stats.priceChangeRatioInUsd24h' | 'marketData.marketCapInUsd' | 'marketData.tvlInUsd' | 'marketData.top10TotalHoldings' | 'marketData.top10HoldingsRatio' | 'marketData.top100TotalHoldings' | 'marketData.top100HoldingsRatio' | 'marketData.holders' | 'marketData.creatorHoldings' | 'marketData.creatorHoldingsRatio' | 'stats.buys1m' | 'stats.buys5m' | 'stats.buys15m' | 'stats.buys30m' | 'stats.buys1h' | 'stats.buys4h' | 'stats.buys24h' | 'stats.sells1m' | 'stats.sells5m' | 'stats.sells15m' | 'stats.sells30m' | 'stats.sells1h' | 'stats.sells4h' | 'stats.sells24h' | 'stats.trades1m' | 'stats.trades5m' | 'stats.trades1h' | 'stats.trades4h' | 'stats.trades24h' | 'stats.traders1m' | 'stats.traders5m' | 'stats.traders1h' | 'stats.traders4h' | 'stats.traders24h' | 'stats.volumesInUsd1m' | 'stats.volumesInUsd5m' | 'stats.volumesInUsd1h' | 'stats.volumesInUsd4h' | 'stats.volumesInUsd24h' | 'tokenCreatedAt', sortDirection?: 'ASC' | 'DESC', filterBy?: Array<FilterCondition>, _options?: Configuration): Promise<RequestContext> {
|
|
1929
1929
|
let _config = _options || this.configuration;
|
|
1930
1930
|
|
|
1931
1931
|
// verify required parameter 'chain' is not null or undefined
|
|
@@ -1961,7 +1961,7 @@ export class TokenApiRequestFactory extends BaseAPIRequestFactory {
|
|
|
1961
1961
|
|
|
1962
1962
|
// Query Params
|
|
1963
1963
|
if (sortBy !== undefined) {
|
|
1964
|
-
requestContext.setQueryParam("sortBy", ObjectSerializer.serialize(sortBy, "'marketData.priceInUsd' | 'stats.priceChangeRatioInUsd1m' | 'stats.priceChangeRatioInUsd5m' | 'stats.priceChangeRatioInUsd1h' | 'stats.priceChangeRatioInUsd4h' | 'stats.priceChangeRatioInUsd24h' | 'marketData.marketCapInUsd' | 'marketData.tvlInUsd' | 'marketData.top10HoldingsRatio' | 'marketData.top100HoldingsRatio' | 'marketData.holders' | 'stats.trades1m' | 'stats.trades5m' | 'stats.trades1h' | 'stats.trades4h' | 'stats.trades24h' | 'stats.traders1m' | 'stats.traders5m' | 'stats.traders1h' | 'stats.traders4h' | 'stats.traders24h' | 'stats.volumesInUsd1m' | 'stats.volumesInUsd5m' | 'stats.volumesInUsd1h' | 'stats.volumesInUsd4h' | 'stats.volumesInUsd24h' | 'tokenCreatedAt'", ""));
|
|
1964
|
+
requestContext.setQueryParam("sortBy", ObjectSerializer.serialize(sortBy, "'marketData.priceInUsd' | 'stats.priceChangeRatioInUsd1m' | 'stats.priceChangeRatioInUsd5m' | 'stats.priceChangeRatioInUsd1h' | 'stats.priceChangeRatioInUsd4h' | 'stats.priceChangeRatioInUsd24h' | 'marketData.marketCapInUsd' | 'marketData.tvlInUsd' | 'marketData.top10TotalHoldings' | 'marketData.top10HoldingsRatio' | 'marketData.top100TotalHoldings' | 'marketData.top100HoldingsRatio' | 'marketData.holders' | 'marketData.creatorHoldings' | 'marketData.creatorHoldingsRatio' | 'stats.buys1m' | 'stats.buys5m' | 'stats.buys15m' | 'stats.buys30m' | 'stats.buys1h' | 'stats.buys4h' | 'stats.buys24h' | 'stats.sells1m' | 'stats.sells5m' | 'stats.sells15m' | 'stats.sells30m' | 'stats.sells1h' | 'stats.sells4h' | 'stats.sells24h' | 'stats.trades1m' | 'stats.trades5m' | 'stats.trades1h' | 'stats.trades4h' | 'stats.trades24h' | 'stats.traders1m' | 'stats.traders5m' | 'stats.traders1h' | 'stats.traders4h' | 'stats.traders24h' | 'stats.volumesInUsd1m' | 'stats.volumesInUsd5m' | 'stats.volumesInUsd1h' | 'stats.volumesInUsd4h' | 'stats.volumesInUsd24h' | 'tokenCreatedAt'", ""));
|
|
1965
1965
|
}
|
|
1966
1966
|
|
|
1967
1967
|
// Query Params
|
package/src/openapi/index.ts
CHANGED
|
@@ -8,5 +8,5 @@ export * from "./servers";
|
|
|
8
8
|
export { RequiredError } from "./apis/baseapi";
|
|
9
9
|
|
|
10
10
|
export type { PromiseMiddleware as Middleware } from './middleware';
|
|
11
|
-
export { type BlockchainApiGetLatestBlockRequest, type BlockchainApiGetSupportedBlockchainsRequest, ObjectBlockchainApi as BlockchainApi, type
|
|
11
|
+
export { type BlockchainApiGetLatestBlockRequest, type BlockchainApiGetSupportedBlockchainsRequest, ObjectBlockchainApi as BlockchainApi, type DefiSolanaMoonshotApiMoonshotCreateTokenRequest, type DefiSolanaMoonshotApiMoonshotSubmitCreateTokenRequest, ObjectDefiSolanaMoonshotApi as DefiSolanaMoonshotApi, type DefiSolanaPumpfunApiPumpfunCreateTokenRequest, ObjectDefiSolanaPumpfunApi as DefiSolanaPumpfunApi, type DexApiCreateTokenRequest, type DexApiListRequest, type DexApiRouteRequest, type DexApiSwapRequest, ObjectDexApi as DexApi, type DexPoolApiGetDexpoolRequest, ObjectDexPoolApi as DexPoolApi, type IpfsApiPresignRequest, ObjectIpfsApi as IpfsApi, type JobsApiJobControllerGetJobRequest, type JobsApiJobControllerStreamingRequest, ObjectJobsApi as JobsApi, type RankingApiGetFinalStretchTokensRequest, type RankingApiGetHotTokensRequest, type RankingApiGetMigratedTokensRequest, type RankingApiGetNewTokensRequest, type RankingApiGetStocksTokensRequest, ObjectRankingApi as RankingApi, type RedPacketApiClaimRequest, type RedPacketApiCreateRequest, type RedPacketApiGetRequest, type RedPacketApiGetClaimsRequest, type RedPacketApiGetClaimsByAddressRequest, type RedPacketApiGetRedpacketsRequest, type RedPacketApiGetRedpacketsByAddressRequest, type RedPacketApiRedpacketSendRequest, ObjectRedPacketApi as RedPacketApi, type TokenApiGetCandlesRequest, type TokenApiGetCreationRequest, type TokenApiGetHoldersRequest, type TokenApiGetHoldersMultiRequest, type TokenApiGetMarketDataRequest, type TokenApiGetMarketDataMultiRequest, type TokenApiGetMetadataRequest, type TokenApiGetMetadataMultiRequest, type TokenApiGetMintAndBurnRequest, type TokenApiGetPoolsRequest, type TokenApiGetPriceByTimeRequest, type TokenApiGetPricesRequest, type TokenApiGetSecurityRequest, type TokenApiGetStatsRequest, type TokenApiGetStatsMultiRequest, type TokenApiGetTokenRequest, type TokenApiGetTokenListRequest, type TokenApiGetTokensRequest, type TokenApiGetTopHoldersRequest, type TokenApiSearchRequest, ObjectTokenApi as TokenApi, type TradeApiGetGainersLosersRequest, type TradeApiGetTopTradersRequest, type TradeApiGetTradesRequest, ObjectTradeApi as TradeApi, type TransactionApiSendRequest, ObjectTransactionApi as TransactionApi, type WalletApiCalculatePnlRequest, type WalletApiGetBalanceRequest, type WalletApiGetPnlRequest, type WalletApiGetPnlStatsRequest, ObjectWalletApi as WalletApi, type WatchlistApiWatchlistAddRequest, ObjectWatchlistApi as WatchlistApi } from './types/ObjectParamAPI';
|
|
12
12
|
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
|
|
13
13
|
import { HttpFile } from '../http/http';
|
|
14
14
|
|
|
15
|
-
export class
|
|
15
|
+
export class CreateTokenReply {
|
|
16
16
|
/**
|
|
17
|
-
* DTO.DEX.
|
|
17
|
+
* DTO.DEX.CREATE_TOKEN.SERIALIZED_TX
|
|
18
18
|
*/
|
|
19
19
|
'serializedTx': string;
|
|
20
20
|
/**
|
|
21
|
-
* DTO.DEX.
|
|
21
|
+
* DTO.DEX.CREATE_TOKEN.MINT_ADDRESS
|
|
22
22
|
*/
|
|
23
23
|
'mintAddress': string;
|
|
24
24
|
|
|
@@ -41,7 +41,7 @@ export class MintReply {
|
|
|
41
41
|
} ];
|
|
42
42
|
|
|
43
43
|
static getAttributeTypeMap() {
|
|
44
|
-
return
|
|
44
|
+
return CreateTokenReply.attributeTypeMap;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
public constructor() {
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
|
|
13
13
|
import { HttpFile } from '../http/http';
|
|
14
14
|
|
|
15
|
-
export class
|
|
15
|
+
export class DexCreateTokenInput {
|
|
16
16
|
/**
|
|
17
17
|
* DTO.DEX.IDENTIFIER
|
|
18
18
|
*/
|
|
19
|
-
'dex':
|
|
19
|
+
'dex': DexCreateTokenInputDexEnum;
|
|
20
20
|
/**
|
|
21
21
|
* DTO.DEX.WALLET
|
|
22
22
|
*/
|
|
@@ -54,7 +54,7 @@ export class DexMintInput {
|
|
|
54
54
|
{
|
|
55
55
|
"name": "dex",
|
|
56
56
|
"baseName": "dex",
|
|
57
|
-
"type": "
|
|
57
|
+
"type": "DexCreateTokenInputDexEnum",
|
|
58
58
|
"format": ""
|
|
59
59
|
},
|
|
60
60
|
{
|
|
@@ -101,14 +101,14 @@ export class DexMintInput {
|
|
|
101
101
|
} ];
|
|
102
102
|
|
|
103
103
|
static getAttributeTypeMap() {
|
|
104
|
-
return
|
|
104
|
+
return DexCreateTokenInput.attributeTypeMap;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
public constructor() {
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
export enum
|
|
111
|
+
export enum DexCreateTokenInputDexEnum {
|
|
112
112
|
Raydium = 'raydium',
|
|
113
113
|
Pumpfun = 'pumpfun',
|
|
114
114
|
Moonshot = 'moonshot',
|
|
@@ -16,7 +16,7 @@ export class FilterCondition {
|
|
|
16
16
|
/**
|
|
17
17
|
* DTO.TOKEN.FILTER.FIELD
|
|
18
18
|
*/
|
|
19
|
-
'field'
|
|
19
|
+
'field'?: FilterConditionFieldEnum;
|
|
20
20
|
/**
|
|
21
21
|
* DTO.TOKEN.FILTER.MIN
|
|
22
22
|
*/
|
|
@@ -67,9 +67,27 @@ export enum FilterConditionFieldEnum {
|
|
|
67
67
|
StatsPriceChangeRatioInUsd24h = 'stats.priceChangeRatioInUsd24h',
|
|
68
68
|
MarketDataMarketCapInUsd = 'marketData.marketCapInUsd',
|
|
69
69
|
MarketDataTvlInUsd = 'marketData.tvlInUsd',
|
|
70
|
+
MarketDataTop10TotalHoldings = 'marketData.top10TotalHoldings',
|
|
70
71
|
MarketDataTop10HoldingsRatio = 'marketData.top10HoldingsRatio',
|
|
72
|
+
MarketDataTop100TotalHoldings = 'marketData.top100TotalHoldings',
|
|
71
73
|
MarketDataTop100HoldingsRatio = 'marketData.top100HoldingsRatio',
|
|
72
74
|
MarketDataHolders = 'marketData.holders',
|
|
75
|
+
MarketDataCreatorHoldings = 'marketData.creatorHoldings',
|
|
76
|
+
MarketDataCreatorHoldingsRatio = 'marketData.creatorHoldingsRatio',
|
|
77
|
+
StatsBuys1m = 'stats.buys1m',
|
|
78
|
+
StatsBuys5m = 'stats.buys5m',
|
|
79
|
+
StatsBuys15m = 'stats.buys15m',
|
|
80
|
+
StatsBuys30m = 'stats.buys30m',
|
|
81
|
+
StatsBuys1h = 'stats.buys1h',
|
|
82
|
+
StatsBuys4h = 'stats.buys4h',
|
|
83
|
+
StatsBuys24h = 'stats.buys24h',
|
|
84
|
+
StatsSells1m = 'stats.sells1m',
|
|
85
|
+
StatsSells5m = 'stats.sells5m',
|
|
86
|
+
StatsSells15m = 'stats.sells15m',
|
|
87
|
+
StatsSells30m = 'stats.sells30m',
|
|
88
|
+
StatsSells1h = 'stats.sells1h',
|
|
89
|
+
StatsSells4h = 'stats.sells4h',
|
|
90
|
+
StatsSells24h = 'stats.sells24h',
|
|
73
91
|
StatsTrades1m = 'stats.trades1m',
|
|
74
92
|
StatsTrades5m = 'stats.trades5m',
|
|
75
93
|
StatsTrades1h = 'stats.trades1h',
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
import { Link } from '../models/Link';
|
|
14
14
|
import { HttpFile } from '../http/http';
|
|
15
15
|
|
|
16
|
-
export class
|
|
16
|
+
export class MoonshotCreateTokenInput {
|
|
17
17
|
/**
|
|
18
18
|
* DTO.DEX.IDENTIFIER
|
|
19
19
|
*/
|
|
20
|
-
'dex':
|
|
20
|
+
'dex': MoonshotCreateTokenInputDexEnum;
|
|
21
21
|
/**
|
|
22
22
|
* DTO.DEX.WALLET
|
|
23
23
|
*/
|
|
@@ -37,7 +37,7 @@ export class MintInput {
|
|
|
37
37
|
/**
|
|
38
38
|
* DTO.DEX.MOONSHOT.MINT.MIGRATION_DEX
|
|
39
39
|
*/
|
|
40
|
-
'migrationDex':
|
|
40
|
+
'migrationDex': MoonshotCreateTokenInputMigrationDexEnum;
|
|
41
41
|
/**
|
|
42
42
|
* DTO.DEX.MOONSHOT.MINT.ICON
|
|
43
43
|
*/
|
|
@@ -67,7 +67,7 @@ export class MintInput {
|
|
|
67
67
|
{
|
|
68
68
|
"name": "dex",
|
|
69
69
|
"baseName": "dex",
|
|
70
|
-
"type": "
|
|
70
|
+
"type": "MoonshotCreateTokenInputDexEnum",
|
|
71
71
|
"format": ""
|
|
72
72
|
},
|
|
73
73
|
{
|
|
@@ -97,7 +97,7 @@ export class MintInput {
|
|
|
97
97
|
{
|
|
98
98
|
"name": "migrationDex",
|
|
99
99
|
"baseName": "migrationDex",
|
|
100
|
-
"type": "
|
|
100
|
+
"type": "MoonshotCreateTokenInputMigrationDexEnum",
|
|
101
101
|
"format": ""
|
|
102
102
|
},
|
|
103
103
|
{
|
|
@@ -132,17 +132,17 @@ export class MintInput {
|
|
|
132
132
|
} ];
|
|
133
133
|
|
|
134
134
|
static getAttributeTypeMap() {
|
|
135
|
-
return
|
|
135
|
+
return MoonshotCreateTokenInput.attributeTypeMap;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
public constructor() {
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
export enum
|
|
142
|
+
export enum MoonshotCreateTokenInputDexEnum {
|
|
143
143
|
Moonshot = 'moonshot'
|
|
144
144
|
}
|
|
145
|
-
export enum
|
|
145
|
+
export enum MoonshotCreateTokenInputMigrationDexEnum {
|
|
146
146
|
Raydium = 'RAYDIUM',
|
|
147
147
|
Meteora = 'METEORA',
|
|
148
148
|
Uniswap = 'UNISWAP'
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
|
|
13
13
|
import { HttpFile } from '../http/http';
|
|
14
14
|
|
|
15
|
-
export class
|
|
15
|
+
export class MoonshotCreateTokenReply {
|
|
16
16
|
/**
|
|
17
|
-
* DTO.DEX.MOONSHOT.
|
|
17
|
+
* DTO.DEX.MOONSHOT.CREATE_TOKEN.SERIALIZED_TX
|
|
18
18
|
*/
|
|
19
19
|
'serializedTx': string;
|
|
20
20
|
/**
|
|
21
|
-
* DTO.DEX.MOONSHOT.
|
|
21
|
+
* DTO.DEX.MOONSHOT.CREATE_TOKEN.EXTRA
|
|
22
22
|
*/
|
|
23
23
|
'extra': any;
|
|
24
24
|
|
|
@@ -41,7 +41,7 @@ export class MoonshotMintReply {
|
|
|
41
41
|
} ];
|
|
42
42
|
|
|
43
43
|
static getAttributeTypeMap() {
|
|
44
|
-
return
|
|
44
|
+
return MoonshotCreateTokenReply.attributeTypeMap;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
public constructor() {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { HttpFile } from '../http/http';
|
|
14
14
|
|
|
15
|
-
export class
|
|
15
|
+
export class MoonshotSubmitCreateToken200Response {
|
|
16
16
|
/**
|
|
17
17
|
* Transaction signature
|
|
18
18
|
*/
|
|
@@ -41,7 +41,7 @@ export class MoonshotSubmitMint200Response {
|
|
|
41
41
|
} ];
|
|
42
42
|
|
|
43
43
|
static getAttributeTypeMap() {
|
|
44
|
-
return
|
|
44
|
+
return MoonshotSubmitCreateToken200Response.attributeTypeMap;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
public constructor() {
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
|
|
13
13
|
import { HttpFile } from '../http/http';
|
|
14
14
|
|
|
15
|
-
export class
|
|
15
|
+
export class MoonshotSubmitCreateTokenInput {
|
|
16
16
|
/**
|
|
17
|
-
* DTO.DEX.MOONSHOT.SUBMIT.SIGNED_TX
|
|
17
|
+
* DTO.DEX.MOONSHOT.SUBMIT.CREATE_TOKEN.SIGNED_TX
|
|
18
18
|
*/
|
|
19
19
|
'signedTx': string;
|
|
20
20
|
/**
|
|
21
|
-
* DTO.DEX.MOONSHOT.SUBMIT.EXTRA
|
|
21
|
+
* DTO.DEX.MOONSHOT.SUBMIT.CREATE_TOKEN.EXTRA
|
|
22
22
|
*/
|
|
23
23
|
'extra'?: any;
|
|
24
24
|
|
|
@@ -41,7 +41,7 @@ export class SubmitInput {
|
|
|
41
41
|
} ];
|
|
42
42
|
|
|
43
43
|
static getAttributeTypeMap() {
|
|
44
|
-
return
|
|
44
|
+
return MoonshotSubmitCreateTokenInput.attributeTypeMap;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
public constructor() {
|
|
@@ -4,23 +4,21 @@ export * from '../models/Candle';
|
|
|
4
4
|
export * from '../models/ClaimRedPacketInput';
|
|
5
5
|
export * from '../models/CreateRedPacketInput';
|
|
6
6
|
export * from '../models/CreateRedPacketReply';
|
|
7
|
+
export * from '../models/CreateTokenReply';
|
|
8
|
+
export * from '../models/DexCreateTokenInput';
|
|
7
9
|
export * from '../models/DexDTO';
|
|
8
|
-
export * from '../models/DexMintInput';
|
|
9
10
|
export * from '../models/DexPage';
|
|
10
11
|
export * from '../models/DexPoolDTO';
|
|
11
12
|
export * from '../models/FilterCondition';
|
|
12
13
|
export * from '../models/GainersAndLosersDTO';
|
|
13
14
|
export * from '../models/GainersAndLosersPage';
|
|
14
15
|
export * from '../models/Link';
|
|
15
|
-
export * from '../models/
|
|
16
|
-
export * from '../models/
|
|
17
|
-
export * from '../models/
|
|
18
|
-
export * from '../models/
|
|
19
|
-
export * from '../models/
|
|
20
|
-
export * from '../models/
|
|
21
|
-
export * from '../models/RankingToken';
|
|
22
|
-
export * from '../models/RankingTokenMarketData';
|
|
23
|
-
export * from '../models/RankingTokenStat';
|
|
16
|
+
export * from '../models/MoonshotCreateTokenInput';
|
|
17
|
+
export * from '../models/MoonshotCreateTokenReply';
|
|
18
|
+
export * from '../models/MoonshotSubmitCreateToken200Response';
|
|
19
|
+
export * from '../models/MoonshotSubmitCreateTokenInput';
|
|
20
|
+
export * from '../models/PumpCreateTokenInput';
|
|
21
|
+
export * from '../models/PumpCreateTokenReply';
|
|
24
22
|
export * from '../models/RedPacketClaimDTO';
|
|
25
23
|
export * from '../models/RedPacketClaimsPage';
|
|
26
24
|
export * from '../models/RedPacketDTO';
|
|
@@ -31,7 +29,6 @@ export * from '../models/RedPacketsPage';
|
|
|
31
29
|
export * from '../models/Resolution';
|
|
32
30
|
export * from '../models/SendTxInput';
|
|
33
31
|
export * from '../models/SendTxResponse';
|
|
34
|
-
export * from '../models/SubmitInput';
|
|
35
32
|
export * from '../models/SwapInput';
|
|
36
33
|
export * from '../models/SwapReply';
|
|
37
34
|
export * from '../models/SwapRouteInput';
|
|
@@ -67,23 +64,21 @@ import { Candle } from '../models/Candle';
|
|
|
67
64
|
import { ClaimRedPacketInput } from '../models/ClaimRedPacketInput';
|
|
68
65
|
import { CreateRedPacketInput } from '../models/CreateRedPacketInput';
|
|
69
66
|
import { CreateRedPacketReply } from '../models/CreateRedPacketReply';
|
|
67
|
+
import { CreateTokenReply } from '../models/CreateTokenReply';
|
|
68
|
+
import { DexCreateTokenInput, DexCreateTokenInputDexEnum } from '../models/DexCreateTokenInput';
|
|
70
69
|
import { DexDTO } from '../models/DexDTO';
|
|
71
|
-
import { DexMintInput, DexMintInputDexEnum } from '../models/DexMintInput';
|
|
72
70
|
import { DexPage } from '../models/DexPage';
|
|
73
71
|
import { DexPoolDTO } from '../models/DexPoolDTO';
|
|
74
72
|
import { FilterCondition, FilterConditionFieldEnum } from '../models/FilterCondition';
|
|
75
73
|
import { GainersAndLosersDTO } from '../models/GainersAndLosersDTO';
|
|
76
74
|
import { GainersAndLosersPage } from '../models/GainersAndLosersPage';
|
|
77
75
|
import { Link , LinkLabelEnum } from '../models/Link';
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import { RankingToken } from '../models/RankingToken';
|
|
85
|
-
import { RankingTokenMarketData } from '../models/RankingTokenMarketData';
|
|
86
|
-
import { RankingTokenStat } from '../models/RankingTokenStat';
|
|
76
|
+
import { MoonshotCreateTokenInput, MoonshotCreateTokenInputDexEnum , MoonshotCreateTokenInputMigrationDexEnum } from '../models/MoonshotCreateTokenInput';
|
|
77
|
+
import { MoonshotCreateTokenReply } from '../models/MoonshotCreateTokenReply';
|
|
78
|
+
import { MoonshotSubmitCreateToken200Response } from '../models/MoonshotSubmitCreateToken200Response';
|
|
79
|
+
import { MoonshotSubmitCreateTokenInput } from '../models/MoonshotSubmitCreateTokenInput';
|
|
80
|
+
import { PumpCreateTokenInput, PumpCreateTokenInputDexEnum , PumpCreateTokenInputMigrationDexEnum } from '../models/PumpCreateTokenInput';
|
|
81
|
+
import { PumpCreateTokenReply } from '../models/PumpCreateTokenReply';
|
|
87
82
|
import { RedPacketClaimDTO , RedPacketClaimDTOChainEnum } from '../models/RedPacketClaimDTO';
|
|
88
83
|
import { RedPacketClaimsPage } from '../models/RedPacketClaimsPage';
|
|
89
84
|
import { RedPacketDTO, RedPacketDTOChainEnum } from '../models/RedPacketDTO';
|
|
@@ -94,7 +89,6 @@ import { RedPacketsPage } from '../models/RedPacketsPage';
|
|
|
94
89
|
import { Resolution } from '../models/Resolution';
|
|
95
90
|
import { SendTxInput , SendTxInputSubmitTypeEnum } from '../models/SendTxInput';
|
|
96
91
|
import { SendTxResponse } from '../models/SendTxResponse';
|
|
97
|
-
import { SubmitInput } from '../models/SubmitInput';
|
|
98
92
|
import { SwapInput, SwapInputDexEnum , SwapInputSwapModeEnum } from '../models/SwapInput';
|
|
99
93
|
import { SwapReply } from '../models/SwapReply';
|
|
100
94
|
import { SwapRouteInput, SwapRouteInputDexEnum , SwapRouteInputSwapModeEnum } from '../models/SwapRouteInput';
|
|
@@ -137,13 +131,13 @@ let primitives = [
|
|
|
137
131
|
];
|
|
138
132
|
|
|
139
133
|
let enumsMap: Set<string> = new Set<string>([
|
|
140
|
-
"
|
|
134
|
+
"DexCreateTokenInputDexEnum",
|
|
141
135
|
"FilterConditionFieldEnum",
|
|
142
136
|
"LinkLabelEnum",
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"
|
|
137
|
+
"MoonshotCreateTokenInputDexEnum",
|
|
138
|
+
"MoonshotCreateTokenInputMigrationDexEnum",
|
|
139
|
+
"PumpCreateTokenInputDexEnum",
|
|
140
|
+
"PumpCreateTokenInputMigrationDexEnum",
|
|
147
141
|
"RedPacketClaimDTOChainEnum",
|
|
148
142
|
"RedPacketDTOChainEnum",
|
|
149
143
|
"Resolution",
|
|
@@ -163,23 +157,21 @@ let typeMap: {[index: string]: any} = {
|
|
|
163
157
|
"ClaimRedPacketInput": ClaimRedPacketInput,
|
|
164
158
|
"CreateRedPacketInput": CreateRedPacketInput,
|
|
165
159
|
"CreateRedPacketReply": CreateRedPacketReply,
|
|
160
|
+
"CreateTokenReply": CreateTokenReply,
|
|
161
|
+
"DexCreateTokenInput": DexCreateTokenInput,
|
|
166
162
|
"DexDTO": DexDTO,
|
|
167
|
-
"DexMintInput": DexMintInput,
|
|
168
163
|
"DexPage": DexPage,
|
|
169
164
|
"DexPoolDTO": DexPoolDTO,
|
|
170
165
|
"FilterCondition": FilterCondition,
|
|
171
166
|
"GainersAndLosersDTO": GainersAndLosersDTO,
|
|
172
167
|
"GainersAndLosersPage": GainersAndLosersPage,
|
|
173
168
|
"Link": Link,
|
|
174
|
-
"
|
|
175
|
-
"
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
-
"
|
|
180
|
-
"RankingToken": RankingToken,
|
|
181
|
-
"RankingTokenMarketData": RankingTokenMarketData,
|
|
182
|
-
"RankingTokenStat": RankingTokenStat,
|
|
169
|
+
"MoonshotCreateTokenInput": MoonshotCreateTokenInput,
|
|
170
|
+
"MoonshotCreateTokenReply": MoonshotCreateTokenReply,
|
|
171
|
+
"MoonshotSubmitCreateToken200Response": MoonshotSubmitCreateToken200Response,
|
|
172
|
+
"MoonshotSubmitCreateTokenInput": MoonshotSubmitCreateTokenInput,
|
|
173
|
+
"PumpCreateTokenInput": PumpCreateTokenInput,
|
|
174
|
+
"PumpCreateTokenReply": PumpCreateTokenReply,
|
|
183
175
|
"RedPacketClaimDTO": RedPacketClaimDTO,
|
|
184
176
|
"RedPacketClaimsPage": RedPacketClaimsPage,
|
|
185
177
|
"RedPacketDTO": RedPacketDTO,
|
|
@@ -189,7 +181,6 @@ let typeMap: {[index: string]: any} = {
|
|
|
189
181
|
"RedPacketsPage": RedPacketsPage,
|
|
190
182
|
"SendTxInput": SendTxInput,
|
|
191
183
|
"SendTxResponse": SendTxResponse,
|
|
192
|
-
"SubmitInput": SubmitInput,
|
|
193
184
|
"SwapInput": SwapInput,
|
|
194
185
|
"SwapReply": SwapReply,
|
|
195
186
|
"SwapRouteInput": SwapRouteInput,
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
|
|
13
13
|
import { HttpFile } from '../http/http';
|
|
14
14
|
|
|
15
|
-
export class
|
|
15
|
+
export class PumpCreateTokenInput {
|
|
16
16
|
/**
|
|
17
17
|
* DTO.DEX.IDENTIFIER
|
|
18
18
|
*/
|
|
19
|
-
'dex':
|
|
19
|
+
'dex': PumpCreateTokenInputDexEnum;
|
|
20
20
|
/**
|
|
21
21
|
* DTO.DEX.WALLET
|
|
22
22
|
*/
|
|
@@ -48,7 +48,7 @@ export class PumpMintInput {
|
|
|
48
48
|
/**
|
|
49
49
|
* DTO.DEX.PUMPFUN.MINT.MIGRATION_DEX
|
|
50
50
|
*/
|
|
51
|
-
'migrationDex':
|
|
51
|
+
'migrationDex': PumpCreateTokenInputMigrationDexEnum;
|
|
52
52
|
/**
|
|
53
53
|
* DTO.DEX.PUMPFUN.MINT.IMAGE
|
|
54
54
|
*/
|
|
@@ -70,7 +70,7 @@ export class PumpMintInput {
|
|
|
70
70
|
{
|
|
71
71
|
"name": "dex",
|
|
72
72
|
"baseName": "dex",
|
|
73
|
-
"type": "
|
|
73
|
+
"type": "PumpCreateTokenInputDexEnum",
|
|
74
74
|
"format": ""
|
|
75
75
|
},
|
|
76
76
|
{
|
|
@@ -118,7 +118,7 @@ export class PumpMintInput {
|
|
|
118
118
|
{
|
|
119
119
|
"name": "migrationDex",
|
|
120
120
|
"baseName": "migrationDex",
|
|
121
|
-
"type": "
|
|
121
|
+
"type": "PumpCreateTokenInputMigrationDexEnum",
|
|
122
122
|
"format": ""
|
|
123
123
|
},
|
|
124
124
|
{
|
|
@@ -141,17 +141,17 @@ export class PumpMintInput {
|
|
|
141
141
|
} ];
|
|
142
142
|
|
|
143
143
|
static getAttributeTypeMap() {
|
|
144
|
-
return
|
|
144
|
+
return PumpCreateTokenInput.attributeTypeMap;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
public constructor() {
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
export enum
|
|
151
|
+
export enum PumpCreateTokenInputDexEnum {
|
|
152
152
|
Pumpfun = 'pumpfun'
|
|
153
153
|
}
|
|
154
|
-
export enum
|
|
154
|
+
export enum PumpCreateTokenInputMigrationDexEnum {
|
|
155
155
|
Raydium = 'RAYDIUM',
|
|
156
156
|
Meteora = 'METEORA'
|
|
157
157
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { HttpFile } from '../http/http';
|
|
14
14
|
|
|
15
|
-
export class
|
|
15
|
+
export class PumpCreateTokenReply {
|
|
16
16
|
/**
|
|
17
17
|
* DTO.DEX.PUMPFUN.MINT.SERIALIZED_TX
|
|
18
18
|
*/
|
|
@@ -41,7 +41,7 @@ export class PumpMintReply {
|
|
|
41
41
|
} ];
|
|
42
42
|
|
|
43
43
|
static getAttributeTypeMap() {
|
|
44
|
-
return
|
|
44
|
+
return PumpCreateTokenReply.attributeTypeMap;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
public constructor() {
|
|
@@ -4,23 +4,21 @@ export * from '../models/Candle'
|
|
|
4
4
|
export * from '../models/ClaimRedPacketInput'
|
|
5
5
|
export * from '../models/CreateRedPacketInput'
|
|
6
6
|
export * from '../models/CreateRedPacketReply'
|
|
7
|
+
export * from '../models/CreateTokenReply'
|
|
8
|
+
export * from '../models/DexCreateTokenInput'
|
|
7
9
|
export * from '../models/DexDTO'
|
|
8
|
-
export * from '../models/DexMintInput'
|
|
9
10
|
export * from '../models/DexPage'
|
|
10
11
|
export * from '../models/DexPoolDTO'
|
|
11
12
|
export * from '../models/FilterCondition'
|
|
12
13
|
export * from '../models/GainersAndLosersDTO'
|
|
13
14
|
export * from '../models/GainersAndLosersPage'
|
|
14
15
|
export * from '../models/Link'
|
|
15
|
-
export * from '../models/
|
|
16
|
-
export * from '../models/
|
|
17
|
-
export * from '../models/
|
|
18
|
-
export * from '../models/
|
|
19
|
-
export * from '../models/
|
|
20
|
-
export * from '../models/
|
|
21
|
-
export * from '../models/RankingToken'
|
|
22
|
-
export * from '../models/RankingTokenMarketData'
|
|
23
|
-
export * from '../models/RankingTokenStat'
|
|
16
|
+
export * from '../models/MoonshotCreateTokenInput'
|
|
17
|
+
export * from '../models/MoonshotCreateTokenReply'
|
|
18
|
+
export * from '../models/MoonshotSubmitCreateToken200Response'
|
|
19
|
+
export * from '../models/MoonshotSubmitCreateTokenInput'
|
|
20
|
+
export * from '../models/PumpCreateTokenInput'
|
|
21
|
+
export * from '../models/PumpCreateTokenReply'
|
|
24
22
|
export * from '../models/RedPacketClaimDTO'
|
|
25
23
|
export * from '../models/RedPacketClaimsPage'
|
|
26
24
|
export * from '../models/RedPacketDTO'
|
|
@@ -31,7 +29,6 @@ export * from '../models/RedPacketsPage'
|
|
|
31
29
|
export * from '../models/Resolution'
|
|
32
30
|
export * from '../models/SendTxInput'
|
|
33
31
|
export * from '../models/SendTxResponse'
|
|
34
|
-
export * from '../models/SubmitInput'
|
|
35
32
|
export * from '../models/SwapInput'
|
|
36
33
|
export * from '../models/SwapReply'
|
|
37
34
|
export * from '../models/SwapRouteInput'
|