@uniswap/client-data-api 0.0.222 → 0.0.224
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/data/v2/api-DataApiService_connectquery.d.ts +27 -1
- package/dist/data/v2/api-DataApiService_connectquery.js +27 -1
- package/dist/data/v2/api_connect.d.ts +19 -1
- package/dist/data/v2/api_connect.js +19 -1
- package/dist/data/v2/api_pb.d.ts +136 -1
- package/dist/data/v2/api_pb.js +153 -1
- package/dist/data/v2/tokenGroups_pb.d.ts +92 -0
- package/dist/data/v2/tokenGroups_pb.js +133 -0
- package/dist/data/v2/types_pb.d.ts +36 -1
- package/dist/data/v2/types_pb.js +44 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetCategoryRequest, GetCategoryResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListCategoriesRequest, ListCategoriesResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
|
|
2
|
+
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetCategoryRequest, GetCategoryResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenGroupRequest, GetTokenGroupResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListCategoriesRequest, ListCategoriesResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokenGroupsRequest, ListTokenGroupsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc data.v2.DataApiService.GetToken
|
|
5
5
|
*/
|
|
@@ -390,3 +390,29 @@ export declare const getCategory: {
|
|
|
390
390
|
readonly typeName: "data.v2.DataApiService";
|
|
391
391
|
};
|
|
392
392
|
};
|
|
393
|
+
/**
|
|
394
|
+
* @generated from rpc data.v2.DataApiService.ListTokenGroups
|
|
395
|
+
*/
|
|
396
|
+
export declare const listTokenGroups: {
|
|
397
|
+
readonly localName: "listTokenGroups";
|
|
398
|
+
readonly name: "ListTokenGroups";
|
|
399
|
+
readonly kind: MethodKind.Unary;
|
|
400
|
+
readonly I: typeof ListTokenGroupsRequest;
|
|
401
|
+
readonly O: typeof ListTokenGroupsResponse;
|
|
402
|
+
readonly service: {
|
|
403
|
+
readonly typeName: "data.v2.DataApiService";
|
|
404
|
+
};
|
|
405
|
+
};
|
|
406
|
+
/**
|
|
407
|
+
* @generated from rpc data.v2.DataApiService.GetTokenGroup
|
|
408
|
+
*/
|
|
409
|
+
export declare const getTokenGroup: {
|
|
410
|
+
readonly localName: "getTokenGroup";
|
|
411
|
+
readonly name: "GetTokenGroup";
|
|
412
|
+
readonly kind: MethodKind.Unary;
|
|
413
|
+
readonly I: typeof GetTokenGroupRequest;
|
|
414
|
+
readonly O: typeof GetTokenGroupResponse;
|
|
415
|
+
readonly service: {
|
|
416
|
+
readonly typeName: "data.v2.DataApiService";
|
|
417
|
+
};
|
|
418
|
+
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetCategoryRequest, GetCategoryResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListCategoriesRequest, ListCategoriesResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
|
|
6
|
+
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetCategoryRequest, GetCategoryResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenGroupRequest, GetTokenGroupResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListCategoriesRequest, ListCategoriesResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokenGroupsRequest, ListTokenGroupsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc data.v2.DataApiService.GetToken
|
|
9
9
|
*/
|
|
@@ -394,3 +394,29 @@ export const getCategory = {
|
|
|
394
394
|
typeName: "data.v2.DataApiService"
|
|
395
395
|
}
|
|
396
396
|
};
|
|
397
|
+
/**
|
|
398
|
+
* @generated from rpc data.v2.DataApiService.ListTokenGroups
|
|
399
|
+
*/
|
|
400
|
+
export const listTokenGroups = {
|
|
401
|
+
localName: "listTokenGroups",
|
|
402
|
+
name: "ListTokenGroups",
|
|
403
|
+
kind: MethodKind.Unary,
|
|
404
|
+
I: ListTokenGroupsRequest,
|
|
405
|
+
O: ListTokenGroupsResponse,
|
|
406
|
+
service: {
|
|
407
|
+
typeName: "data.v2.DataApiService"
|
|
408
|
+
}
|
|
409
|
+
};
|
|
410
|
+
/**
|
|
411
|
+
* @generated from rpc data.v2.DataApiService.GetTokenGroup
|
|
412
|
+
*/
|
|
413
|
+
export const getTokenGroup = {
|
|
414
|
+
localName: "getTokenGroup",
|
|
415
|
+
name: "GetTokenGroup",
|
|
416
|
+
kind: MethodKind.Unary,
|
|
417
|
+
I: GetTokenGroupRequest,
|
|
418
|
+
O: GetTokenGroupResponse,
|
|
419
|
+
service: {
|
|
420
|
+
typeName: "data.v2.DataApiService"
|
|
421
|
+
}
|
|
422
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetCategoryRequest, GetCategoryResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListCategoriesRequest, ListCategoriesResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
|
|
1
|
+
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetCategoryRequest, GetCategoryResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenGroupRequest, GetTokenGroupResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListCategoriesRequest, ListCategoriesResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokenGroupsRequest, ListTokenGroupsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service data.v2.DataApiService
|
|
@@ -276,5 +276,23 @@ export declare const DataApiService: {
|
|
|
276
276
|
readonly O: typeof GetCategoryResponse;
|
|
277
277
|
readonly kind: MethodKind.Unary;
|
|
278
278
|
};
|
|
279
|
+
/**
|
|
280
|
+
* @generated from rpc data.v2.DataApiService.ListTokenGroups
|
|
281
|
+
*/
|
|
282
|
+
readonly listTokenGroups: {
|
|
283
|
+
readonly name: "ListTokenGroups";
|
|
284
|
+
readonly I: typeof ListTokenGroupsRequest;
|
|
285
|
+
readonly O: typeof ListTokenGroupsResponse;
|
|
286
|
+
readonly kind: MethodKind.Unary;
|
|
287
|
+
};
|
|
288
|
+
/**
|
|
289
|
+
* @generated from rpc data.v2.DataApiService.GetTokenGroup
|
|
290
|
+
*/
|
|
291
|
+
readonly getTokenGroup: {
|
|
292
|
+
readonly name: "GetTokenGroup";
|
|
293
|
+
readonly I: typeof GetTokenGroupRequest;
|
|
294
|
+
readonly O: typeof GetTokenGroupResponse;
|
|
295
|
+
readonly kind: MethodKind.Unary;
|
|
296
|
+
};
|
|
279
297
|
};
|
|
280
298
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file data/v2/api.proto (package data.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetCategoryRequest, GetCategoryResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListCategoriesRequest, ListCategoriesResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
|
|
5
|
+
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetCategoryRequest, GetCategoryResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenGroupRequest, GetTokenGroupResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListCategoriesRequest, ListCategoriesResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokenGroupsRequest, ListTokenGroupsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service data.v2.DataApiService
|
|
@@ -280,5 +280,23 @@ export const DataApiService = {
|
|
|
280
280
|
O: GetCategoryResponse,
|
|
281
281
|
kind: MethodKind.Unary,
|
|
282
282
|
},
|
|
283
|
+
/**
|
|
284
|
+
* @generated from rpc data.v2.DataApiService.ListTokenGroups
|
|
285
|
+
*/
|
|
286
|
+
listTokenGroups: {
|
|
287
|
+
name: "ListTokenGroups",
|
|
288
|
+
I: ListTokenGroupsRequest,
|
|
289
|
+
O: ListTokenGroupsResponse,
|
|
290
|
+
kind: MethodKind.Unary,
|
|
291
|
+
},
|
|
292
|
+
/**
|
|
293
|
+
* @generated from rpc data.v2.DataApiService.GetTokenGroup
|
|
294
|
+
*/
|
|
295
|
+
getTokenGroup: {
|
|
296
|
+
name: "GetTokenGroup",
|
|
297
|
+
I: GetTokenGroupRequest,
|
|
298
|
+
O: GetTokenGroupResponse,
|
|
299
|
+
kind: MethodKind.Unary,
|
|
300
|
+
},
|
|
283
301
|
}
|
|
284
302
|
};
|
package/dist/data/v2/api_pb.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
2
|
import { Message, proto3, Timestamp } from "@bufbuild/protobuf";
|
|
3
|
-
import { FiatAmount, FiatCurrency, HistoryDuration, Launch, LaunchesOrderBy, LaunchHolder, LaunchListFilter, Launchpad, MultichainToken, MultichainTokenMarket, Nft, OhlcResolution, PoolListFilter, PoolsSort, RankedMultichainToken, RankedPool, Token, TokenListFilter, TokenMarket, TokensSort, TokenTrade, TransactionEventType, UniswapTransaction } from "./types_pb.js";
|
|
3
|
+
import { FiatAmount, FiatCurrency, HistoryDuration, Launch, LaunchesOrderBy, LaunchHolder, LaunchListFilter, Launchpad, MultichainToken, MultichainTokenMarket, Nft, OhlcResolution, PoolListFilter, PoolsSort, RankedMultichainToken, RankedPool, Token, TokenListFilter, TokenMarket, TokenRankStats, TokensSort, TokenTrade, TransactionEventType, UniswapTransaction } from "./types_pb.js";
|
|
4
4
|
import { PageRequest, PageResponse } from "./common_pb.js";
|
|
5
5
|
import { EarnPosition, EarnVault } from "./earn_pb.js";
|
|
6
6
|
import { TimestampedValue } from "../v1/types_pb.js";
|
|
7
7
|
import { RankedCategory, TimeSeriesPoint } from "./categories_pb.js";
|
|
8
|
+
import { RankedTokenGroup, TokenGroup, TokenGroupListFilter } from "./tokenGroups_pb.js";
|
|
8
9
|
import { ProtocolVersion } from "../v1/poolTypes_pb.js";
|
|
9
10
|
/**
|
|
10
11
|
* @generated from enum data.v2.ActivityStatsWindow
|
|
@@ -2487,6 +2488,140 @@ export declare class GetCategoryResponse extends Message<GetCategoryResponse> {
|
|
|
2487
2488
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetCategoryResponse;
|
|
2488
2489
|
static equals(a: GetCategoryResponse | PlainMessage<GetCategoryResponse> | undefined, b: GetCategoryResponse | PlainMessage<GetCategoryResponse> | undefined): boolean;
|
|
2489
2490
|
}
|
|
2491
|
+
/**
|
|
2492
|
+
* @generated from message data.v2.ListTokenGroupsRequest
|
|
2493
|
+
*/
|
|
2494
|
+
export declare class ListTokenGroupsRequest extends Message<ListTokenGroupsRequest> {
|
|
2495
|
+
/**
|
|
2496
|
+
* required, non-empty
|
|
2497
|
+
*
|
|
2498
|
+
* @generated from field: repeated uint32 chain_ids = 1;
|
|
2499
|
+
*/
|
|
2500
|
+
chainIds: number[];
|
|
2501
|
+
/**
|
|
2502
|
+
* @generated from field: optional data.v2.TokensSort sort = 2;
|
|
2503
|
+
*/
|
|
2504
|
+
sort?: TokensSort;
|
|
2505
|
+
/**
|
|
2506
|
+
* @generated from field: optional data.v2.TokenGroupListFilter filter = 3;
|
|
2507
|
+
*/
|
|
2508
|
+
filter?: TokenGroupListFilter;
|
|
2509
|
+
/**
|
|
2510
|
+
* @generated from field: optional data.v2.PageRequest page = 4;
|
|
2511
|
+
*/
|
|
2512
|
+
page?: PageRequest;
|
|
2513
|
+
/**
|
|
2514
|
+
* Required. UNSPECIFIED or unknown values are rejected.
|
|
2515
|
+
*
|
|
2516
|
+
* @generated from field: data.v2.HistoryDuration sparkline_duration = 5;
|
|
2517
|
+
*/
|
|
2518
|
+
sparklineDuration: HistoryDuration;
|
|
2519
|
+
constructor(data?: PartialMessage<ListTokenGroupsRequest>);
|
|
2520
|
+
static readonly runtime: typeof proto3;
|
|
2521
|
+
static readonly typeName = "data.v2.ListTokenGroupsRequest";
|
|
2522
|
+
static readonly fields: FieldList;
|
|
2523
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListTokenGroupsRequest;
|
|
2524
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListTokenGroupsRequest;
|
|
2525
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTokenGroupsRequest;
|
|
2526
|
+
static equals(a: ListTokenGroupsRequest | PlainMessage<ListTokenGroupsRequest> | undefined, b: ListTokenGroupsRequest | PlainMessage<ListTokenGroupsRequest> | undefined): boolean;
|
|
2527
|
+
}
|
|
2528
|
+
/**
|
|
2529
|
+
* @generated from message data.v2.ListTokenGroupsResponse
|
|
2530
|
+
*/
|
|
2531
|
+
export declare class ListTokenGroupsResponse extends Message<ListTokenGroupsResponse> {
|
|
2532
|
+
/**
|
|
2533
|
+
* @generated from field: repeated data.v2.RankedTokenGroup token_groups = 1;
|
|
2534
|
+
*/
|
|
2535
|
+
tokenGroups: RankedTokenGroup[];
|
|
2536
|
+
/**
|
|
2537
|
+
* @generated from field: data.v2.PageResponse page = 2;
|
|
2538
|
+
*/
|
|
2539
|
+
page?: PageResponse;
|
|
2540
|
+
constructor(data?: PartialMessage<ListTokenGroupsResponse>);
|
|
2541
|
+
static readonly runtime: typeof proto3;
|
|
2542
|
+
static readonly typeName = "data.v2.ListTokenGroupsResponse";
|
|
2543
|
+
static readonly fields: FieldList;
|
|
2544
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListTokenGroupsResponse;
|
|
2545
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListTokenGroupsResponse;
|
|
2546
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTokenGroupsResponse;
|
|
2547
|
+
static equals(a: ListTokenGroupsResponse | PlainMessage<ListTokenGroupsResponse> | undefined, b: ListTokenGroupsResponse | PlainMessage<ListTokenGroupsResponse> | undefined): boolean;
|
|
2548
|
+
}
|
|
2549
|
+
/**
|
|
2550
|
+
* @generated from message data.v2.GetTokenGroupRequest
|
|
2551
|
+
*/
|
|
2552
|
+
export declare class GetTokenGroupRequest extends Message<GetTokenGroupRequest> {
|
|
2553
|
+
/**
|
|
2554
|
+
* @generated from oneof data.v2.GetTokenGroupRequest.selector
|
|
2555
|
+
*/
|
|
2556
|
+
selector: {
|
|
2557
|
+
/**
|
|
2558
|
+
* @generated from field: string group_id = 1;
|
|
2559
|
+
*/
|
|
2560
|
+
value: string;
|
|
2561
|
+
case: "groupId";
|
|
2562
|
+
} | {
|
|
2563
|
+
/**
|
|
2564
|
+
* @generated from field: data.v2.TokenIdentifier member = 2;
|
|
2565
|
+
*/
|
|
2566
|
+
value: TokenIdentifier;
|
|
2567
|
+
case: "member";
|
|
2568
|
+
} | {
|
|
2569
|
+
case: undefined;
|
|
2570
|
+
value?: undefined;
|
|
2571
|
+
};
|
|
2572
|
+
/**
|
|
2573
|
+
* required, non-empty
|
|
2574
|
+
*
|
|
2575
|
+
* @generated from field: repeated uint32 chain_ids = 3;
|
|
2576
|
+
*/
|
|
2577
|
+
chainIds: number[];
|
|
2578
|
+
/**
|
|
2579
|
+
* Optional by field presence: absent = no sparklines; present is validated
|
|
2580
|
+
* like ListTokens (UNSPECIFIED rejected).
|
|
2581
|
+
*
|
|
2582
|
+
* @generated from field: optional data.v2.HistoryDuration sparkline_duration = 4;
|
|
2583
|
+
*/
|
|
2584
|
+
sparklineDuration?: HistoryDuration;
|
|
2585
|
+
constructor(data?: PartialMessage<GetTokenGroupRequest>);
|
|
2586
|
+
static readonly runtime: typeof proto3;
|
|
2587
|
+
static readonly typeName = "data.v2.GetTokenGroupRequest";
|
|
2588
|
+
static readonly fields: FieldList;
|
|
2589
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetTokenGroupRequest;
|
|
2590
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetTokenGroupRequest;
|
|
2591
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetTokenGroupRequest;
|
|
2592
|
+
static equals(a: GetTokenGroupRequest | PlainMessage<GetTokenGroupRequest> | undefined, b: GetTokenGroupRequest | PlainMessage<GetTokenGroupRequest> | undefined): boolean;
|
|
2593
|
+
}
|
|
2594
|
+
/**
|
|
2595
|
+
* The ranked group flattened; members sorted volume_1d DESC.
|
|
2596
|
+
*
|
|
2597
|
+
* @generated from message data.v2.GetTokenGroupResponse
|
|
2598
|
+
*/
|
|
2599
|
+
export declare class GetTokenGroupResponse extends Message<GetTokenGroupResponse> {
|
|
2600
|
+
/**
|
|
2601
|
+
* @generated from field: data.v2.TokenGroup group = 1;
|
|
2602
|
+
*/
|
|
2603
|
+
group?: TokenGroup;
|
|
2604
|
+
/**
|
|
2605
|
+
* @generated from field: data.v2.TokenRankStats stats = 2;
|
|
2606
|
+
*/
|
|
2607
|
+
stats?: TokenRankStats;
|
|
2608
|
+
/**
|
|
2609
|
+
* @generated from field: repeated data.v2.RankedMultichainToken members = 3;
|
|
2610
|
+
*/
|
|
2611
|
+
members: RankedMultichainToken[];
|
|
2612
|
+
/**
|
|
2613
|
+
* @generated from field: double price_deviation_pct = 4;
|
|
2614
|
+
*/
|
|
2615
|
+
priceDeviationPct: number;
|
|
2616
|
+
constructor(data?: PartialMessage<GetTokenGroupResponse>);
|
|
2617
|
+
static readonly runtime: typeof proto3;
|
|
2618
|
+
static readonly typeName = "data.v2.GetTokenGroupResponse";
|
|
2619
|
+
static readonly fields: FieldList;
|
|
2620
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetTokenGroupResponse;
|
|
2621
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetTokenGroupResponse;
|
|
2622
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetTokenGroupResponse;
|
|
2623
|
+
static equals(a: GetTokenGroupResponse | PlainMessage<GetTokenGroupResponse> | undefined, b: GetTokenGroupResponse | PlainMessage<GetTokenGroupResponse> | undefined): boolean;
|
|
2624
|
+
}
|
|
2490
2625
|
/**
|
|
2491
2626
|
* Ranked pool discovery: one RankedPool per pool, ordered by the requested
|
|
2492
2627
|
* stat. Sorted by (sort.order_by, pool_id ASC) — pool_id is the tiebreaker so
|
package/dist/data/v2/api_pb.js
CHANGED
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf";
|
|
6
|
-
import { FiatAmount, FiatCurrency, HistoryDuration, Launch, LaunchesOrderBy, LaunchHolder, LaunchListFilter, Launchpad, MultichainToken, MultichainTokenMarket, Nft, OhlcResolution, PoolListFilter, PoolsSort, RankedMultichainToken, RankedPool, Token, TokenListFilter, TokenMarket, TokensSort, TokenTrade, TransactionEventType, UniswapTransaction } from "./types_pb.js";
|
|
6
|
+
import { FiatAmount, FiatCurrency, HistoryDuration, Launch, LaunchesOrderBy, LaunchHolder, LaunchListFilter, Launchpad, MultichainToken, MultichainTokenMarket, Nft, OhlcResolution, PoolListFilter, PoolsSort, RankedMultichainToken, RankedPool, Token, TokenListFilter, TokenMarket, TokenRankStats, TokensSort, TokenTrade, TransactionEventType, UniswapTransaction } from "./types_pb.js";
|
|
7
7
|
import { PageRequest, PageResponse } from "./common_pb.js";
|
|
8
8
|
import { EarnPosition, EarnVault } from "./earn_pb.js";
|
|
9
9
|
import { TimestampedValue } from "../v1/types_pb.js";
|
|
10
10
|
import { RankedCategory, TimeSeriesPoint } from "./categories_pb.js";
|
|
11
|
+
import { RankedTokenGroup, TokenGroup, TokenGroupListFilter } from "./tokenGroups_pb.js";
|
|
11
12
|
import { ProtocolVersion } from "../v1/poolTypes_pb.js";
|
|
12
13
|
/**
|
|
13
14
|
* @generated from enum data.v2.ActivityStatsWindow
|
|
@@ -2900,6 +2901,157 @@ GetCategoryResponse.fields = proto3.util.newFieldList(() => [
|
|
|
2900
2901
|
{ no: 2, name: "volume_series", kind: "message", T: TimeSeriesPoint, repeated: true },
|
|
2901
2902
|
{ no: 3, name: "fdv_series", kind: "message", T: TimeSeriesPoint, repeated: true },
|
|
2902
2903
|
]);
|
|
2904
|
+
/**
|
|
2905
|
+
* @generated from message data.v2.ListTokenGroupsRequest
|
|
2906
|
+
*/
|
|
2907
|
+
export class ListTokenGroupsRequest extends Message {
|
|
2908
|
+
constructor(data) {
|
|
2909
|
+
super();
|
|
2910
|
+
/**
|
|
2911
|
+
* required, non-empty
|
|
2912
|
+
*
|
|
2913
|
+
* @generated from field: repeated uint32 chain_ids = 1;
|
|
2914
|
+
*/
|
|
2915
|
+
this.chainIds = [];
|
|
2916
|
+
/**
|
|
2917
|
+
* Required. UNSPECIFIED or unknown values are rejected.
|
|
2918
|
+
*
|
|
2919
|
+
* @generated from field: data.v2.HistoryDuration sparkline_duration = 5;
|
|
2920
|
+
*/
|
|
2921
|
+
this.sparklineDuration = HistoryDuration.UNSPECIFIED;
|
|
2922
|
+
proto3.util.initPartial(data, this);
|
|
2923
|
+
}
|
|
2924
|
+
static fromBinary(bytes, options) {
|
|
2925
|
+
return new ListTokenGroupsRequest().fromBinary(bytes, options);
|
|
2926
|
+
}
|
|
2927
|
+
static fromJson(jsonValue, options) {
|
|
2928
|
+
return new ListTokenGroupsRequest().fromJson(jsonValue, options);
|
|
2929
|
+
}
|
|
2930
|
+
static fromJsonString(jsonString, options) {
|
|
2931
|
+
return new ListTokenGroupsRequest().fromJsonString(jsonString, options);
|
|
2932
|
+
}
|
|
2933
|
+
static equals(a, b) {
|
|
2934
|
+
return proto3.util.equals(ListTokenGroupsRequest, a, b);
|
|
2935
|
+
}
|
|
2936
|
+
}
|
|
2937
|
+
ListTokenGroupsRequest.runtime = proto3;
|
|
2938
|
+
ListTokenGroupsRequest.typeName = "data.v2.ListTokenGroupsRequest";
|
|
2939
|
+
ListTokenGroupsRequest.fields = proto3.util.newFieldList(() => [
|
|
2940
|
+
{ no: 1, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
|
|
2941
|
+
{ no: 2, name: "sort", kind: "message", T: TokensSort, opt: true },
|
|
2942
|
+
{ no: 3, name: "filter", kind: "message", T: TokenGroupListFilter, opt: true },
|
|
2943
|
+
{ no: 4, name: "page", kind: "message", T: PageRequest, opt: true },
|
|
2944
|
+
{ no: 5, name: "sparkline_duration", kind: "enum", T: proto3.getEnumType(HistoryDuration) },
|
|
2945
|
+
]);
|
|
2946
|
+
/**
|
|
2947
|
+
* @generated from message data.v2.ListTokenGroupsResponse
|
|
2948
|
+
*/
|
|
2949
|
+
export class ListTokenGroupsResponse extends Message {
|
|
2950
|
+
constructor(data) {
|
|
2951
|
+
super();
|
|
2952
|
+
/**
|
|
2953
|
+
* @generated from field: repeated data.v2.RankedTokenGroup token_groups = 1;
|
|
2954
|
+
*/
|
|
2955
|
+
this.tokenGroups = [];
|
|
2956
|
+
proto3.util.initPartial(data, this);
|
|
2957
|
+
}
|
|
2958
|
+
static fromBinary(bytes, options) {
|
|
2959
|
+
return new ListTokenGroupsResponse().fromBinary(bytes, options);
|
|
2960
|
+
}
|
|
2961
|
+
static fromJson(jsonValue, options) {
|
|
2962
|
+
return new ListTokenGroupsResponse().fromJson(jsonValue, options);
|
|
2963
|
+
}
|
|
2964
|
+
static fromJsonString(jsonString, options) {
|
|
2965
|
+
return new ListTokenGroupsResponse().fromJsonString(jsonString, options);
|
|
2966
|
+
}
|
|
2967
|
+
static equals(a, b) {
|
|
2968
|
+
return proto3.util.equals(ListTokenGroupsResponse, a, b);
|
|
2969
|
+
}
|
|
2970
|
+
}
|
|
2971
|
+
ListTokenGroupsResponse.runtime = proto3;
|
|
2972
|
+
ListTokenGroupsResponse.typeName = "data.v2.ListTokenGroupsResponse";
|
|
2973
|
+
ListTokenGroupsResponse.fields = proto3.util.newFieldList(() => [
|
|
2974
|
+
{ no: 1, name: "token_groups", kind: "message", T: RankedTokenGroup, repeated: true },
|
|
2975
|
+
{ no: 2, name: "page", kind: "message", T: PageResponse },
|
|
2976
|
+
]);
|
|
2977
|
+
/**
|
|
2978
|
+
* @generated from message data.v2.GetTokenGroupRequest
|
|
2979
|
+
*/
|
|
2980
|
+
export class GetTokenGroupRequest extends Message {
|
|
2981
|
+
constructor(data) {
|
|
2982
|
+
super();
|
|
2983
|
+
/**
|
|
2984
|
+
* @generated from oneof data.v2.GetTokenGroupRequest.selector
|
|
2985
|
+
*/
|
|
2986
|
+
this.selector = { case: undefined };
|
|
2987
|
+
/**
|
|
2988
|
+
* required, non-empty
|
|
2989
|
+
*
|
|
2990
|
+
* @generated from field: repeated uint32 chain_ids = 3;
|
|
2991
|
+
*/
|
|
2992
|
+
this.chainIds = [];
|
|
2993
|
+
proto3.util.initPartial(data, this);
|
|
2994
|
+
}
|
|
2995
|
+
static fromBinary(bytes, options) {
|
|
2996
|
+
return new GetTokenGroupRequest().fromBinary(bytes, options);
|
|
2997
|
+
}
|
|
2998
|
+
static fromJson(jsonValue, options) {
|
|
2999
|
+
return new GetTokenGroupRequest().fromJson(jsonValue, options);
|
|
3000
|
+
}
|
|
3001
|
+
static fromJsonString(jsonString, options) {
|
|
3002
|
+
return new GetTokenGroupRequest().fromJsonString(jsonString, options);
|
|
3003
|
+
}
|
|
3004
|
+
static equals(a, b) {
|
|
3005
|
+
return proto3.util.equals(GetTokenGroupRequest, a, b);
|
|
3006
|
+
}
|
|
3007
|
+
}
|
|
3008
|
+
GetTokenGroupRequest.runtime = proto3;
|
|
3009
|
+
GetTokenGroupRequest.typeName = "data.v2.GetTokenGroupRequest";
|
|
3010
|
+
GetTokenGroupRequest.fields = proto3.util.newFieldList(() => [
|
|
3011
|
+
{ no: 1, name: "group_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "selector" },
|
|
3012
|
+
{ no: 2, name: "member", kind: "message", T: TokenIdentifier, oneof: "selector" },
|
|
3013
|
+
{ no: 3, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
|
|
3014
|
+
{ no: 4, name: "sparkline_duration", kind: "enum", T: proto3.getEnumType(HistoryDuration), opt: true },
|
|
3015
|
+
]);
|
|
3016
|
+
/**
|
|
3017
|
+
* The ranked group flattened; members sorted volume_1d DESC.
|
|
3018
|
+
*
|
|
3019
|
+
* @generated from message data.v2.GetTokenGroupResponse
|
|
3020
|
+
*/
|
|
3021
|
+
export class GetTokenGroupResponse extends Message {
|
|
3022
|
+
constructor(data) {
|
|
3023
|
+
super();
|
|
3024
|
+
/**
|
|
3025
|
+
* @generated from field: repeated data.v2.RankedMultichainToken members = 3;
|
|
3026
|
+
*/
|
|
3027
|
+
this.members = [];
|
|
3028
|
+
/**
|
|
3029
|
+
* @generated from field: double price_deviation_pct = 4;
|
|
3030
|
+
*/
|
|
3031
|
+
this.priceDeviationPct = 0;
|
|
3032
|
+
proto3.util.initPartial(data, this);
|
|
3033
|
+
}
|
|
3034
|
+
static fromBinary(bytes, options) {
|
|
3035
|
+
return new GetTokenGroupResponse().fromBinary(bytes, options);
|
|
3036
|
+
}
|
|
3037
|
+
static fromJson(jsonValue, options) {
|
|
3038
|
+
return new GetTokenGroupResponse().fromJson(jsonValue, options);
|
|
3039
|
+
}
|
|
3040
|
+
static fromJsonString(jsonString, options) {
|
|
3041
|
+
return new GetTokenGroupResponse().fromJsonString(jsonString, options);
|
|
3042
|
+
}
|
|
3043
|
+
static equals(a, b) {
|
|
3044
|
+
return proto3.util.equals(GetTokenGroupResponse, a, b);
|
|
3045
|
+
}
|
|
3046
|
+
}
|
|
3047
|
+
GetTokenGroupResponse.runtime = proto3;
|
|
3048
|
+
GetTokenGroupResponse.typeName = "data.v2.GetTokenGroupResponse";
|
|
3049
|
+
GetTokenGroupResponse.fields = proto3.util.newFieldList(() => [
|
|
3050
|
+
{ no: 1, name: "group", kind: "message", T: TokenGroup },
|
|
3051
|
+
{ no: 2, name: "stats", kind: "message", T: TokenRankStats },
|
|
3052
|
+
{ no: 3, name: "members", kind: "message", T: RankedMultichainToken, repeated: true },
|
|
3053
|
+
{ no: 4, name: "price_deviation_pct", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
3054
|
+
]);
|
|
2903
3055
|
/**
|
|
2904
3056
|
* Ranked pool discovery: one RankedPool per pool, ordered by the requested
|
|
2905
3057
|
* stat. Sorted by (sort.order_by, pool_id ASC) — pool_id is the tiebreaker so
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
+
import { RankedMultichainToken, TokenRankStats } from "./types_pb.js";
|
|
4
|
+
/**
|
|
5
|
+
* @generated from message data.v2.TokenGroup
|
|
6
|
+
*/
|
|
7
|
+
export declare class TokenGroup extends Message<TokenGroup> {
|
|
8
|
+
/**
|
|
9
|
+
* frozen slug, never renamed: 'tsla'
|
|
10
|
+
*
|
|
11
|
+
* @generated from field: string id = 1;
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
/**
|
|
15
|
+
* @generated from field: string display_name = 2;
|
|
16
|
+
*/
|
|
17
|
+
displayName: string;
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: string ticker = 3;
|
|
20
|
+
*/
|
|
21
|
+
ticker: string;
|
|
22
|
+
/**
|
|
23
|
+
* 'stocks' | 'etfs' | 'commodities'
|
|
24
|
+
*
|
|
25
|
+
* @generated from field: string category_id = 4;
|
|
26
|
+
*/
|
|
27
|
+
categoryId: string;
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: string logo_url = 5;
|
|
30
|
+
*/
|
|
31
|
+
logoUrl: string;
|
|
32
|
+
constructor(data?: PartialMessage<TokenGroup>);
|
|
33
|
+
static readonly runtime: typeof proto3;
|
|
34
|
+
static readonly typeName = "data.v2.TokenGroup";
|
|
35
|
+
static readonly fields: FieldList;
|
|
36
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenGroup;
|
|
37
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenGroup;
|
|
38
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenGroup;
|
|
39
|
+
static equals(a: TokenGroup | PlainMessage<TokenGroup> | undefined, b: TokenGroup | PlainMessage<TokenGroup> | undefined): boolean;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* @generated from message data.v2.RankedTokenGroup
|
|
43
|
+
*/
|
|
44
|
+
export declare class RankedTokenGroup extends Message<RankedTokenGroup> {
|
|
45
|
+
/**
|
|
46
|
+
* @generated from field: data.v2.TokenGroup group = 1;
|
|
47
|
+
*/
|
|
48
|
+
group?: TokenGroup;
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: data.v2.TokenRankStats stats = 2;
|
|
51
|
+
*/
|
|
52
|
+
stats?: TokenRankStats;
|
|
53
|
+
/**
|
|
54
|
+
* Sorted volume_1d DESC.
|
|
55
|
+
*
|
|
56
|
+
* @generated from field: repeated data.v2.RankedMultichainToken members = 3;
|
|
57
|
+
*/
|
|
58
|
+
members: RankedMultichainToken[];
|
|
59
|
+
/**
|
|
60
|
+
* Max % deviation of any member's price from stats.price. Always set; 0 when single-member.
|
|
61
|
+
*
|
|
62
|
+
* @generated from field: double price_deviation_pct = 4;
|
|
63
|
+
*/
|
|
64
|
+
priceDeviationPct: number;
|
|
65
|
+
constructor(data?: PartialMessage<RankedTokenGroup>);
|
|
66
|
+
static readonly runtime: typeof proto3;
|
|
67
|
+
static readonly typeName = "data.v2.RankedTokenGroup";
|
|
68
|
+
static readonly fields: FieldList;
|
|
69
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RankedTokenGroup;
|
|
70
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RankedTokenGroup;
|
|
71
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RankedTokenGroup;
|
|
72
|
+
static equals(a: RankedTokenGroup | PlainMessage<RankedTokenGroup> | undefined, b: RankedTokenGroup | PlainMessage<RankedTokenGroup> | undefined): boolean;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* @generated from message data.v2.TokenGroupListFilter
|
|
76
|
+
*/
|
|
77
|
+
export declare class TokenGroupListFilter extends Message<TokenGroupListFilter> {
|
|
78
|
+
/**
|
|
79
|
+
* OR; asset-class categories only
|
|
80
|
+
*
|
|
81
|
+
* @generated from field: repeated string category_ids = 1;
|
|
82
|
+
*/
|
|
83
|
+
categoryIds: string[];
|
|
84
|
+
constructor(data?: PartialMessage<TokenGroupListFilter>);
|
|
85
|
+
static readonly runtime: typeof proto3;
|
|
86
|
+
static readonly typeName = "data.v2.TokenGroupListFilter";
|
|
87
|
+
static readonly fields: FieldList;
|
|
88
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenGroupListFilter;
|
|
89
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenGroupListFilter;
|
|
90
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenGroupListFilter;
|
|
91
|
+
static equals(a: TokenGroupListFilter | PlainMessage<TokenGroupListFilter> | undefined, b: TokenGroupListFilter | PlainMessage<TokenGroupListFilter> | undefined): boolean;
|
|
92
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=ts"
|
|
2
|
+
// @generated from file data/v2/tokenGroups.proto (package data.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
6
|
+
import { RankedMultichainToken, TokenRankStats } from "./types_pb.js";
|
|
7
|
+
/**
|
|
8
|
+
* @generated from message data.v2.TokenGroup
|
|
9
|
+
*/
|
|
10
|
+
export class TokenGroup extends Message {
|
|
11
|
+
constructor(data) {
|
|
12
|
+
super();
|
|
13
|
+
/**
|
|
14
|
+
* frozen slug, never renamed: 'tsla'
|
|
15
|
+
*
|
|
16
|
+
* @generated from field: string id = 1;
|
|
17
|
+
*/
|
|
18
|
+
this.id = "";
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: string display_name = 2;
|
|
21
|
+
*/
|
|
22
|
+
this.displayName = "";
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: string ticker = 3;
|
|
25
|
+
*/
|
|
26
|
+
this.ticker = "";
|
|
27
|
+
/**
|
|
28
|
+
* 'stocks' | 'etfs' | 'commodities'
|
|
29
|
+
*
|
|
30
|
+
* @generated from field: string category_id = 4;
|
|
31
|
+
*/
|
|
32
|
+
this.categoryId = "";
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: string logo_url = 5;
|
|
35
|
+
*/
|
|
36
|
+
this.logoUrl = "";
|
|
37
|
+
proto3.util.initPartial(data, this);
|
|
38
|
+
}
|
|
39
|
+
static fromBinary(bytes, options) {
|
|
40
|
+
return new TokenGroup().fromBinary(bytes, options);
|
|
41
|
+
}
|
|
42
|
+
static fromJson(jsonValue, options) {
|
|
43
|
+
return new TokenGroup().fromJson(jsonValue, options);
|
|
44
|
+
}
|
|
45
|
+
static fromJsonString(jsonString, options) {
|
|
46
|
+
return new TokenGroup().fromJsonString(jsonString, options);
|
|
47
|
+
}
|
|
48
|
+
static equals(a, b) {
|
|
49
|
+
return proto3.util.equals(TokenGroup, a, b);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
TokenGroup.runtime = proto3;
|
|
53
|
+
TokenGroup.typeName = "data.v2.TokenGroup";
|
|
54
|
+
TokenGroup.fields = proto3.util.newFieldList(() => [
|
|
55
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
56
|
+
{ no: 2, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
57
|
+
{ no: 3, name: "ticker", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
58
|
+
{ no: 4, name: "category_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
59
|
+
{ no: 5, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
60
|
+
]);
|
|
61
|
+
/**
|
|
62
|
+
* @generated from message data.v2.RankedTokenGroup
|
|
63
|
+
*/
|
|
64
|
+
export class RankedTokenGroup extends Message {
|
|
65
|
+
constructor(data) {
|
|
66
|
+
super();
|
|
67
|
+
/**
|
|
68
|
+
* Sorted volume_1d DESC.
|
|
69
|
+
*
|
|
70
|
+
* @generated from field: repeated data.v2.RankedMultichainToken members = 3;
|
|
71
|
+
*/
|
|
72
|
+
this.members = [];
|
|
73
|
+
/**
|
|
74
|
+
* Max % deviation of any member's price from stats.price. Always set; 0 when single-member.
|
|
75
|
+
*
|
|
76
|
+
* @generated from field: double price_deviation_pct = 4;
|
|
77
|
+
*/
|
|
78
|
+
this.priceDeviationPct = 0;
|
|
79
|
+
proto3.util.initPartial(data, this);
|
|
80
|
+
}
|
|
81
|
+
static fromBinary(bytes, options) {
|
|
82
|
+
return new RankedTokenGroup().fromBinary(bytes, options);
|
|
83
|
+
}
|
|
84
|
+
static fromJson(jsonValue, options) {
|
|
85
|
+
return new RankedTokenGroup().fromJson(jsonValue, options);
|
|
86
|
+
}
|
|
87
|
+
static fromJsonString(jsonString, options) {
|
|
88
|
+
return new RankedTokenGroup().fromJsonString(jsonString, options);
|
|
89
|
+
}
|
|
90
|
+
static equals(a, b) {
|
|
91
|
+
return proto3.util.equals(RankedTokenGroup, a, b);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
RankedTokenGroup.runtime = proto3;
|
|
95
|
+
RankedTokenGroup.typeName = "data.v2.RankedTokenGroup";
|
|
96
|
+
RankedTokenGroup.fields = proto3.util.newFieldList(() => [
|
|
97
|
+
{ no: 1, name: "group", kind: "message", T: TokenGroup },
|
|
98
|
+
{ no: 2, name: "stats", kind: "message", T: TokenRankStats },
|
|
99
|
+
{ no: 3, name: "members", kind: "message", T: RankedMultichainToken, repeated: true },
|
|
100
|
+
{ no: 4, name: "price_deviation_pct", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
101
|
+
]);
|
|
102
|
+
/**
|
|
103
|
+
* @generated from message data.v2.TokenGroupListFilter
|
|
104
|
+
*/
|
|
105
|
+
export class TokenGroupListFilter extends Message {
|
|
106
|
+
constructor(data) {
|
|
107
|
+
super();
|
|
108
|
+
/**
|
|
109
|
+
* OR; asset-class categories only
|
|
110
|
+
*
|
|
111
|
+
* @generated from field: repeated string category_ids = 1;
|
|
112
|
+
*/
|
|
113
|
+
this.categoryIds = [];
|
|
114
|
+
proto3.util.initPartial(data, this);
|
|
115
|
+
}
|
|
116
|
+
static fromBinary(bytes, options) {
|
|
117
|
+
return new TokenGroupListFilter().fromBinary(bytes, options);
|
|
118
|
+
}
|
|
119
|
+
static fromJson(jsonValue, options) {
|
|
120
|
+
return new TokenGroupListFilter().fromJson(jsonValue, options);
|
|
121
|
+
}
|
|
122
|
+
static fromJsonString(jsonString, options) {
|
|
123
|
+
return new TokenGroupListFilter().fromJsonString(jsonString, options);
|
|
124
|
+
}
|
|
125
|
+
static equals(a, b) {
|
|
126
|
+
return proto3.util.equals(TokenGroupListFilter, a, b);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
TokenGroupListFilter.runtime = proto3;
|
|
130
|
+
TokenGroupListFilter.typeName = "data.v2.TokenGroupListFilter";
|
|
131
|
+
TokenGroupListFilter.fields = proto3.util.newFieldList(() => [
|
|
132
|
+
{ no: 1, name: "category_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
133
|
+
]);
|
|
@@ -904,6 +904,33 @@ export declare class TokenMultichain extends Message<TokenMultichain> {
|
|
|
904
904
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenMultichain;
|
|
905
905
|
static equals(a: TokenMultichain | PlainMessage<TokenMultichain> | undefined, b: TokenMultichain | PlainMessage<TokenMultichain> | undefined): boolean;
|
|
906
906
|
}
|
|
907
|
+
/**
|
|
908
|
+
* Issuer of a tokenized real-world asset; absent = not an RWA or issuer unknown.
|
|
909
|
+
*
|
|
910
|
+
* @generated from message data.v2.TokenIssuerInfo
|
|
911
|
+
*/
|
|
912
|
+
export declare class TokenIssuerInfo extends Message<TokenIssuerInfo> {
|
|
913
|
+
/**
|
|
914
|
+
* @generated from field: string id = 1;
|
|
915
|
+
*/
|
|
916
|
+
id: string;
|
|
917
|
+
/**
|
|
918
|
+
* @generated from field: string display_name = 2;
|
|
919
|
+
*/
|
|
920
|
+
displayName: string;
|
|
921
|
+
/**
|
|
922
|
+
* @generated from field: string logo_url = 3;
|
|
923
|
+
*/
|
|
924
|
+
logoUrl: string;
|
|
925
|
+
constructor(data?: PartialMessage<TokenIssuerInfo>);
|
|
926
|
+
static readonly runtime: typeof proto3;
|
|
927
|
+
static readonly typeName = "data.v2.TokenIssuerInfo";
|
|
928
|
+
static readonly fields: FieldList;
|
|
929
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenIssuerInfo;
|
|
930
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenIssuerInfo;
|
|
931
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenIssuerInfo;
|
|
932
|
+
static equals(a: TokenIssuerInfo | PlainMessage<TokenIssuerInfo> | undefined, b: TokenIssuerInfo | PlainMessage<TokenIssuerInfo> | undefined): boolean;
|
|
933
|
+
}
|
|
907
934
|
/**
|
|
908
935
|
* @generated from message data.v2.MultichainToken
|
|
909
936
|
*/
|
|
@@ -961,6 +988,10 @@ export declare class MultichainToken extends Message<MultichainToken> {
|
|
|
961
988
|
* @generated from field: repeated string category_ids = 12;
|
|
962
989
|
*/
|
|
963
990
|
categoryIds: string[];
|
|
991
|
+
/**
|
|
992
|
+
* @generated from field: optional data.v2.TokenIssuerInfo issuer = 13;
|
|
993
|
+
*/
|
|
994
|
+
issuer?: TokenIssuerInfo;
|
|
964
995
|
constructor(data?: PartialMessage<MultichainToken>);
|
|
965
996
|
static readonly runtime: typeof proto3;
|
|
966
997
|
static readonly typeName = "data.v2.MultichainToken";
|
|
@@ -1269,7 +1300,7 @@ export declare class PoolListFilter extends Message<PoolListFilter> {
|
|
|
1269
1300
|
* on-list-or-earned-trust rule), balance (the pool's claimed TVL
|
|
1270
1301
|
* must be backed on both sides: side-valuation ratio at or above the
|
|
1271
1302
|
* protocol-stats 1:500 rule; unknown fails open), and a TVL floor
|
|
1272
|
-
* (pool TVL >= $
|
|
1303
|
+
* (pool TVL >= $1,000 on ranked explore feeds, >= $1 on token-scoped
|
|
1273
1304
|
* requests — the dust stratum where fossilized stats live; unknown
|
|
1274
1305
|
* fails open).
|
|
1275
1306
|
*
|
|
@@ -1463,6 +1494,10 @@ export declare class Token extends Message<Token> {
|
|
|
1463
1494
|
* @generated from field: repeated string category_ids = 13;
|
|
1464
1495
|
*/
|
|
1465
1496
|
categoryIds: string[];
|
|
1497
|
+
/**
|
|
1498
|
+
* @generated from field: optional data.v2.TokenIssuerInfo issuer = 14;
|
|
1499
|
+
*/
|
|
1500
|
+
issuer?: TokenIssuerInfo;
|
|
1466
1501
|
constructor(data?: PartialMessage<Token>);
|
|
1467
1502
|
static readonly runtime: typeof proto3;
|
|
1468
1503
|
static readonly typeName = "data.v2.Token";
|
package/dist/data/v2/types_pb.js
CHANGED
|
@@ -1039,6 +1039,48 @@ TokenMultichain.fields = proto3.util.newFieldList(() => [
|
|
|
1039
1039
|
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1040
1040
|
{ no: 2, name: "addresses", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 9 /* ScalarType.STRING */ } },
|
|
1041
1041
|
]);
|
|
1042
|
+
/**
|
|
1043
|
+
* Issuer of a tokenized real-world asset; absent = not an RWA or issuer unknown.
|
|
1044
|
+
*
|
|
1045
|
+
* @generated from message data.v2.TokenIssuerInfo
|
|
1046
|
+
*/
|
|
1047
|
+
export class TokenIssuerInfo extends Message {
|
|
1048
|
+
constructor(data) {
|
|
1049
|
+
super();
|
|
1050
|
+
/**
|
|
1051
|
+
* @generated from field: string id = 1;
|
|
1052
|
+
*/
|
|
1053
|
+
this.id = "";
|
|
1054
|
+
/**
|
|
1055
|
+
* @generated from field: string display_name = 2;
|
|
1056
|
+
*/
|
|
1057
|
+
this.displayName = "";
|
|
1058
|
+
/**
|
|
1059
|
+
* @generated from field: string logo_url = 3;
|
|
1060
|
+
*/
|
|
1061
|
+
this.logoUrl = "";
|
|
1062
|
+
proto3.util.initPartial(data, this);
|
|
1063
|
+
}
|
|
1064
|
+
static fromBinary(bytes, options) {
|
|
1065
|
+
return new TokenIssuerInfo().fromBinary(bytes, options);
|
|
1066
|
+
}
|
|
1067
|
+
static fromJson(jsonValue, options) {
|
|
1068
|
+
return new TokenIssuerInfo().fromJson(jsonValue, options);
|
|
1069
|
+
}
|
|
1070
|
+
static fromJsonString(jsonString, options) {
|
|
1071
|
+
return new TokenIssuerInfo().fromJsonString(jsonString, options);
|
|
1072
|
+
}
|
|
1073
|
+
static equals(a, b) {
|
|
1074
|
+
return proto3.util.equals(TokenIssuerInfo, a, b);
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
TokenIssuerInfo.runtime = proto3;
|
|
1078
|
+
TokenIssuerInfo.typeName = "data.v2.TokenIssuerInfo";
|
|
1079
|
+
TokenIssuerInfo.fields = proto3.util.newFieldList(() => [
|
|
1080
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1081
|
+
{ no: 2, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1082
|
+
{ no: 3, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1083
|
+
]);
|
|
1042
1084
|
/**
|
|
1043
1085
|
* @generated from message data.v2.MultichainToken
|
|
1044
1086
|
*/
|
|
@@ -1103,6 +1145,7 @@ MultichainToken.fields = proto3.util.newFieldList(() => [
|
|
|
1103
1145
|
{ no: 10, name: "project", kind: "message", T: TokenProject },
|
|
1104
1146
|
{ no: 11, name: "fdv", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1105
1147
|
{ no: 12, name: "category_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1148
|
+
{ no: 13, name: "issuer", kind: "message", T: TokenIssuerInfo, opt: true },
|
|
1106
1149
|
]);
|
|
1107
1150
|
/**
|
|
1108
1151
|
* @generated from message data.v2.PoolsSort
|
|
@@ -1580,6 +1623,7 @@ Token.fields = proto3.util.newFieldList(() => [
|
|
|
1580
1623
|
{ no: 11, name: "multichain", kind: "message", T: TokenMultichain, opt: true },
|
|
1581
1624
|
{ no: 12, name: "fdv", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1582
1625
|
{ no: 13, name: "category_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1626
|
+
{ no: 14, name: "issuer", kind: "message", T: TokenIssuerInfo, opt: true },
|
|
1583
1627
|
]);
|
|
1584
1628
|
/**
|
|
1585
1629
|
* A token launchpad known to the Launches surface (see the data-api
|