@uniswap/client-data-api 0.0.126 → 0.0.128
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 +100 -1
- package/dist/data/v2/api_pb.js +141 -1
- package/dist/data/v2/types_pb.d.ts +193 -1
- package/dist/data/v2/types_pb.js +211 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListTokensRequest, ListTokensResponse } from "./api_pb.js";
|
|
2
|
+
import { ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListTokensRequest, ListTokensResponse } from "./api_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc data.v2.DataApiService.GetToken
|
|
5
5
|
*/
|
|
@@ -195,3 +195,29 @@ export declare const getWalletNfts: {
|
|
|
195
195
|
readonly typeName: "data.v2.DataApiService";
|
|
196
196
|
};
|
|
197
197
|
};
|
|
198
|
+
/**
|
|
199
|
+
* @generated from rpc data.v2.DataApiService.ListLaunchpads
|
|
200
|
+
*/
|
|
201
|
+
export declare const listLaunchpads: {
|
|
202
|
+
readonly localName: "listLaunchpads";
|
|
203
|
+
readonly name: "ListLaunchpads";
|
|
204
|
+
readonly kind: MethodKind.Unary;
|
|
205
|
+
readonly I: typeof ListLaunchpadsRequest;
|
|
206
|
+
readonly O: typeof ListLaunchpadsResponse;
|
|
207
|
+
readonly service: {
|
|
208
|
+
readonly typeName: "data.v2.DataApiService";
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
/**
|
|
212
|
+
* @generated from rpc data.v2.DataApiService.ListLaunches
|
|
213
|
+
*/
|
|
214
|
+
export declare const listLaunches: {
|
|
215
|
+
readonly localName: "listLaunches";
|
|
216
|
+
readonly name: "ListLaunches";
|
|
217
|
+
readonly kind: MethodKind.Unary;
|
|
218
|
+
readonly I: typeof ListLaunchesRequest;
|
|
219
|
+
readonly O: typeof ListLaunchesResponse;
|
|
220
|
+
readonly service: {
|
|
221
|
+
readonly typeName: "data.v2.DataApiService";
|
|
222
|
+
};
|
|
223
|
+
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListTokensRequest, ListTokensResponse } from "./api_pb.js";
|
|
6
|
+
import { ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListTokensRequest, ListTokensResponse } from "./api_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc data.v2.DataApiService.GetToken
|
|
9
9
|
*/
|
|
@@ -199,3 +199,29 @@ export const getWalletNfts = {
|
|
|
199
199
|
typeName: "data.v2.DataApiService"
|
|
200
200
|
}
|
|
201
201
|
};
|
|
202
|
+
/**
|
|
203
|
+
* @generated from rpc data.v2.DataApiService.ListLaunchpads
|
|
204
|
+
*/
|
|
205
|
+
export const listLaunchpads = {
|
|
206
|
+
localName: "listLaunchpads",
|
|
207
|
+
name: "ListLaunchpads",
|
|
208
|
+
kind: MethodKind.Unary,
|
|
209
|
+
I: ListLaunchpadsRequest,
|
|
210
|
+
O: ListLaunchpadsResponse,
|
|
211
|
+
service: {
|
|
212
|
+
typeName: "data.v2.DataApiService"
|
|
213
|
+
}
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* @generated from rpc data.v2.DataApiService.ListLaunches
|
|
217
|
+
*/
|
|
218
|
+
export const listLaunches = {
|
|
219
|
+
localName: "listLaunches",
|
|
220
|
+
name: "ListLaunches",
|
|
221
|
+
kind: MethodKind.Unary,
|
|
222
|
+
I: ListLaunchesRequest,
|
|
223
|
+
O: ListLaunchesResponse,
|
|
224
|
+
service: {
|
|
225
|
+
typeName: "data.v2.DataApiService"
|
|
226
|
+
}
|
|
227
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListTokensRequest, ListTokensResponse } from "./api_pb.js";
|
|
1
|
+
import { ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListTokensRequest, ListTokensResponse } from "./api_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service data.v2.DataApiService
|
|
@@ -141,5 +141,23 @@ export declare const DataApiService: {
|
|
|
141
141
|
readonly O: typeof GetWalletNftsResponse;
|
|
142
142
|
readonly kind: MethodKind.Unary;
|
|
143
143
|
};
|
|
144
|
+
/**
|
|
145
|
+
* @generated from rpc data.v2.DataApiService.ListLaunchpads
|
|
146
|
+
*/
|
|
147
|
+
readonly listLaunchpads: {
|
|
148
|
+
readonly name: "ListLaunchpads";
|
|
149
|
+
readonly I: typeof ListLaunchpadsRequest;
|
|
150
|
+
readonly O: typeof ListLaunchpadsResponse;
|
|
151
|
+
readonly kind: MethodKind.Unary;
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* @generated from rpc data.v2.DataApiService.ListLaunches
|
|
155
|
+
*/
|
|
156
|
+
readonly listLaunches: {
|
|
157
|
+
readonly name: "ListLaunches";
|
|
158
|
+
readonly I: typeof ListLaunchesRequest;
|
|
159
|
+
readonly O: typeof ListLaunchesResponse;
|
|
160
|
+
readonly kind: MethodKind.Unary;
|
|
161
|
+
};
|
|
144
162
|
};
|
|
145
163
|
};
|
|
@@ -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 { ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListTokensRequest, ListTokensResponse } from "./api_pb.js";
|
|
5
|
+
import { ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListTokensRequest, ListTokensResponse } from "./api_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service data.v2.DataApiService
|
|
@@ -145,5 +145,23 @@ export const DataApiService = {
|
|
|
145
145
|
O: GetWalletNftsResponse,
|
|
146
146
|
kind: MethodKind.Unary,
|
|
147
147
|
},
|
|
148
|
+
/**
|
|
149
|
+
* @generated from rpc data.v2.DataApiService.ListLaunchpads
|
|
150
|
+
*/
|
|
151
|
+
listLaunchpads: {
|
|
152
|
+
name: "ListLaunchpads",
|
|
153
|
+
I: ListLaunchpadsRequest,
|
|
154
|
+
O: ListLaunchpadsResponse,
|
|
155
|
+
kind: MethodKind.Unary,
|
|
156
|
+
},
|
|
157
|
+
/**
|
|
158
|
+
* @generated from rpc data.v2.DataApiService.ListLaunches
|
|
159
|
+
*/
|
|
160
|
+
listLaunches: {
|
|
161
|
+
name: "ListLaunches",
|
|
162
|
+
I: ListLaunchesRequest,
|
|
163
|
+
O: ListLaunchesResponse,
|
|
164
|
+
kind: MethodKind.Unary,
|
|
165
|
+
},
|
|
148
166
|
}
|
|
149
167
|
};
|
package/dist/data/v2/api_pb.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
2
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
-
import { FiatAmount, FiatCurrency, HistoryDuration, MultichainToken, MultichainTokenMarket, Nft, RankedMultichainToken, Token, TokenListFilter, TokenMarket, TokensSort } from "./types_pb.js";
|
|
3
|
+
import { FiatAmount, FiatCurrency, HistoryDuration, Launch, LaunchesOrderBy, Launchpad, MultichainToken, MultichainTokenMarket, Nft, RankedMultichainToken, Token, TokenListFilter, TokenMarket, TokensSort } from "./types_pb.js";
|
|
4
4
|
import { EarnPosition, EarnVault } from "./earn_pb.js";
|
|
5
5
|
import { PageRequest, PageResponse } from "./common_pb.js";
|
|
6
6
|
/**
|
|
@@ -879,6 +879,98 @@ export declare class GetEarnPositionResponse extends Message<GetEarnPositionResp
|
|
|
879
879
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetEarnPositionResponse;
|
|
880
880
|
static equals(a: GetEarnPositionResponse | PlainMessage<GetEarnPositionResponse> | undefined, b: GetEarnPositionResponse | PlainMessage<GetEarnPositionResponse> | undefined): boolean;
|
|
881
881
|
}
|
|
882
|
+
/**
|
|
883
|
+
* The launchpad registry, for building launchpad filters/labels client-side.
|
|
884
|
+
*
|
|
885
|
+
* @generated from message data.v2.ListLaunchpadsRequest
|
|
886
|
+
*/
|
|
887
|
+
export declare class ListLaunchpadsRequest extends Message<ListLaunchpadsRequest> {
|
|
888
|
+
constructor(data?: PartialMessage<ListLaunchpadsRequest>);
|
|
889
|
+
static readonly runtime: typeof proto3;
|
|
890
|
+
static readonly typeName = "data.v2.ListLaunchpadsRequest";
|
|
891
|
+
static readonly fields: FieldList;
|
|
892
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListLaunchpadsRequest;
|
|
893
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListLaunchpadsRequest;
|
|
894
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListLaunchpadsRequest;
|
|
895
|
+
static equals(a: ListLaunchpadsRequest | PlainMessage<ListLaunchpadsRequest> | undefined, b: ListLaunchpadsRequest | PlainMessage<ListLaunchpadsRequest> | undefined): boolean;
|
|
896
|
+
}
|
|
897
|
+
/**
|
|
898
|
+
* @generated from message data.v2.ListLaunchpadsResponse
|
|
899
|
+
*/
|
|
900
|
+
export declare class ListLaunchpadsResponse extends Message<ListLaunchpadsResponse> {
|
|
901
|
+
/**
|
|
902
|
+
* @generated from field: repeated data.v2.Launchpad launchpads = 1;
|
|
903
|
+
*/
|
|
904
|
+
launchpads: Launchpad[];
|
|
905
|
+
constructor(data?: PartialMessage<ListLaunchpadsResponse>);
|
|
906
|
+
static readonly runtime: typeof proto3;
|
|
907
|
+
static readonly typeName = "data.v2.ListLaunchpadsResponse";
|
|
908
|
+
static readonly fields: FieldList;
|
|
909
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListLaunchpadsResponse;
|
|
910
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListLaunchpadsResponse;
|
|
911
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListLaunchpadsResponse;
|
|
912
|
+
static equals(a: ListLaunchpadsResponse | PlainMessage<ListLaunchpadsResponse> | undefined, b: ListLaunchpadsResponse | PlainMessage<ListLaunchpadsResponse> | undefined): boolean;
|
|
913
|
+
}
|
|
914
|
+
/**
|
|
915
|
+
* Token launches aggregated across launchpads, newest first by default. One
|
|
916
|
+
* entry per (token, launchpad) — the earliest pool wins when a launchpad
|
|
917
|
+
* creates several pools for the same token.
|
|
918
|
+
*
|
|
919
|
+
* @generated from message data.v2.ListLaunchesRequest
|
|
920
|
+
*/
|
|
921
|
+
export declare class ListLaunchesRequest extends Message<ListLaunchesRequest> {
|
|
922
|
+
/**
|
|
923
|
+
* empty = all launchpads
|
|
924
|
+
*
|
|
925
|
+
* @generated from field: optional string launchpad_id = 1;
|
|
926
|
+
*/
|
|
927
|
+
launchpadId?: string;
|
|
928
|
+
/**
|
|
929
|
+
* empty = all supported chains
|
|
930
|
+
*
|
|
931
|
+
* @generated from field: repeated uint32 chain_ids = 2;
|
|
932
|
+
*/
|
|
933
|
+
chainIds: number[];
|
|
934
|
+
/**
|
|
935
|
+
* UNSPECIFIED -> LAUNCHED_AT
|
|
936
|
+
*
|
|
937
|
+
* @generated from field: data.v2.LaunchesOrderBy sort_by = 3;
|
|
938
|
+
*/
|
|
939
|
+
sortBy: LaunchesOrderBy;
|
|
940
|
+
/**
|
|
941
|
+
* @generated from field: optional data.v2.PageRequest page = 4;
|
|
942
|
+
*/
|
|
943
|
+
page?: PageRequest;
|
|
944
|
+
constructor(data?: PartialMessage<ListLaunchesRequest>);
|
|
945
|
+
static readonly runtime: typeof proto3;
|
|
946
|
+
static readonly typeName = "data.v2.ListLaunchesRequest";
|
|
947
|
+
static readonly fields: FieldList;
|
|
948
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListLaunchesRequest;
|
|
949
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListLaunchesRequest;
|
|
950
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListLaunchesRequest;
|
|
951
|
+
static equals(a: ListLaunchesRequest | PlainMessage<ListLaunchesRequest> | undefined, b: ListLaunchesRequest | PlainMessage<ListLaunchesRequest> | undefined): boolean;
|
|
952
|
+
}
|
|
953
|
+
/**
|
|
954
|
+
* @generated from message data.v2.ListLaunchesResponse
|
|
955
|
+
*/
|
|
956
|
+
export declare class ListLaunchesResponse extends Message<ListLaunchesResponse> {
|
|
957
|
+
/**
|
|
958
|
+
* @generated from field: repeated data.v2.Launch launches = 1;
|
|
959
|
+
*/
|
|
960
|
+
launches: Launch[];
|
|
961
|
+
/**
|
|
962
|
+
* @generated from field: data.v2.PageResponse page = 2;
|
|
963
|
+
*/
|
|
964
|
+
page?: PageResponse;
|
|
965
|
+
constructor(data?: PartialMessage<ListLaunchesResponse>);
|
|
966
|
+
static readonly runtime: typeof proto3;
|
|
967
|
+
static readonly typeName = "data.v2.ListLaunchesResponse";
|
|
968
|
+
static readonly fields: FieldList;
|
|
969
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListLaunchesResponse;
|
|
970
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListLaunchesResponse;
|
|
971
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListLaunchesResponse;
|
|
972
|
+
static equals(a: ListLaunchesResponse | PlainMessage<ListLaunchesResponse> | undefined, b: ListLaunchesResponse | PlainMessage<ListLaunchesResponse> | undefined): boolean;
|
|
973
|
+
}
|
|
882
974
|
/**
|
|
883
975
|
* @generated from message data.v2.ListTokensRequest
|
|
884
976
|
*/
|
|
@@ -899,6 +991,13 @@ export declare class ListTokensRequest extends Message<ListTokensRequest> {
|
|
|
899
991
|
* @generated from field: optional data.v2.PageRequest page = 4;
|
|
900
992
|
*/
|
|
901
993
|
page?: PageRequest;
|
|
994
|
+
/**
|
|
995
|
+
* Sparkline window. Required — UNSPECIFIED or unknown values are rejected.
|
|
996
|
+
* MAX serves the DAY series.
|
|
997
|
+
*
|
|
998
|
+
* @generated from field: data.v2.HistoryDuration sparkline_duration = 5;
|
|
999
|
+
*/
|
|
1000
|
+
sparklineDuration: HistoryDuration;
|
|
902
1001
|
constructor(data?: PartialMessage<ListTokensRequest>);
|
|
903
1002
|
static readonly runtime: typeof proto3;
|
|
904
1003
|
static readonly typeName = "data.v2.ListTokensRequest";
|
package/dist/data/v2/api_pb.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
|
|
6
|
-
import { FiatAmount, FiatCurrency, HistoryDuration, MultichainToken, MultichainTokenMarket, Nft, RankedMultichainToken, Token, TokenListFilter, TokenMarket, TokensSort } from "./types_pb.js";
|
|
6
|
+
import { FiatAmount, FiatCurrency, HistoryDuration, Launch, LaunchesOrderBy, Launchpad, MultichainToken, MultichainTokenMarket, Nft, RankedMultichainToken, Token, TokenListFilter, TokenMarket, TokensSort } from "./types_pb.js";
|
|
7
7
|
import { EarnPosition, EarnVault } from "./earn_pb.js";
|
|
8
8
|
import { PageRequest, PageResponse } from "./common_pb.js";
|
|
9
9
|
/**
|
|
@@ -1189,6 +1189,138 @@ GetEarnPositionResponse.typeName = "data.v2.GetEarnPositionResponse";
|
|
|
1189
1189
|
GetEarnPositionResponse.fields = proto3.util.newFieldList(() => [
|
|
1190
1190
|
{ no: 1, name: "position", kind: "message", T: EarnPosition },
|
|
1191
1191
|
]);
|
|
1192
|
+
/**
|
|
1193
|
+
* The launchpad registry, for building launchpad filters/labels client-side.
|
|
1194
|
+
*
|
|
1195
|
+
* @generated from message data.v2.ListLaunchpadsRequest
|
|
1196
|
+
*/
|
|
1197
|
+
export class ListLaunchpadsRequest extends Message {
|
|
1198
|
+
constructor(data) {
|
|
1199
|
+
super();
|
|
1200
|
+
proto3.util.initPartial(data, this);
|
|
1201
|
+
}
|
|
1202
|
+
static fromBinary(bytes, options) {
|
|
1203
|
+
return new ListLaunchpadsRequest().fromBinary(bytes, options);
|
|
1204
|
+
}
|
|
1205
|
+
static fromJson(jsonValue, options) {
|
|
1206
|
+
return new ListLaunchpadsRequest().fromJson(jsonValue, options);
|
|
1207
|
+
}
|
|
1208
|
+
static fromJsonString(jsonString, options) {
|
|
1209
|
+
return new ListLaunchpadsRequest().fromJsonString(jsonString, options);
|
|
1210
|
+
}
|
|
1211
|
+
static equals(a, b) {
|
|
1212
|
+
return proto3.util.equals(ListLaunchpadsRequest, a, b);
|
|
1213
|
+
}
|
|
1214
|
+
}
|
|
1215
|
+
ListLaunchpadsRequest.runtime = proto3;
|
|
1216
|
+
ListLaunchpadsRequest.typeName = "data.v2.ListLaunchpadsRequest";
|
|
1217
|
+
ListLaunchpadsRequest.fields = proto3.util.newFieldList(() => []);
|
|
1218
|
+
/**
|
|
1219
|
+
* @generated from message data.v2.ListLaunchpadsResponse
|
|
1220
|
+
*/
|
|
1221
|
+
export class ListLaunchpadsResponse extends Message {
|
|
1222
|
+
constructor(data) {
|
|
1223
|
+
super();
|
|
1224
|
+
/**
|
|
1225
|
+
* @generated from field: repeated data.v2.Launchpad launchpads = 1;
|
|
1226
|
+
*/
|
|
1227
|
+
this.launchpads = [];
|
|
1228
|
+
proto3.util.initPartial(data, this);
|
|
1229
|
+
}
|
|
1230
|
+
static fromBinary(bytes, options) {
|
|
1231
|
+
return new ListLaunchpadsResponse().fromBinary(bytes, options);
|
|
1232
|
+
}
|
|
1233
|
+
static fromJson(jsonValue, options) {
|
|
1234
|
+
return new ListLaunchpadsResponse().fromJson(jsonValue, options);
|
|
1235
|
+
}
|
|
1236
|
+
static fromJsonString(jsonString, options) {
|
|
1237
|
+
return new ListLaunchpadsResponse().fromJsonString(jsonString, options);
|
|
1238
|
+
}
|
|
1239
|
+
static equals(a, b) {
|
|
1240
|
+
return proto3.util.equals(ListLaunchpadsResponse, a, b);
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1243
|
+
ListLaunchpadsResponse.runtime = proto3;
|
|
1244
|
+
ListLaunchpadsResponse.typeName = "data.v2.ListLaunchpadsResponse";
|
|
1245
|
+
ListLaunchpadsResponse.fields = proto3.util.newFieldList(() => [
|
|
1246
|
+
{ no: 1, name: "launchpads", kind: "message", T: Launchpad, repeated: true },
|
|
1247
|
+
]);
|
|
1248
|
+
/**
|
|
1249
|
+
* Token launches aggregated across launchpads, newest first by default. One
|
|
1250
|
+
* entry per (token, launchpad) — the earliest pool wins when a launchpad
|
|
1251
|
+
* creates several pools for the same token.
|
|
1252
|
+
*
|
|
1253
|
+
* @generated from message data.v2.ListLaunchesRequest
|
|
1254
|
+
*/
|
|
1255
|
+
export class ListLaunchesRequest extends Message {
|
|
1256
|
+
constructor(data) {
|
|
1257
|
+
super();
|
|
1258
|
+
/**
|
|
1259
|
+
* empty = all supported chains
|
|
1260
|
+
*
|
|
1261
|
+
* @generated from field: repeated uint32 chain_ids = 2;
|
|
1262
|
+
*/
|
|
1263
|
+
this.chainIds = [];
|
|
1264
|
+
/**
|
|
1265
|
+
* UNSPECIFIED -> LAUNCHED_AT
|
|
1266
|
+
*
|
|
1267
|
+
* @generated from field: data.v2.LaunchesOrderBy sort_by = 3;
|
|
1268
|
+
*/
|
|
1269
|
+
this.sortBy = LaunchesOrderBy.UNSPECIFIED;
|
|
1270
|
+
proto3.util.initPartial(data, this);
|
|
1271
|
+
}
|
|
1272
|
+
static fromBinary(bytes, options) {
|
|
1273
|
+
return new ListLaunchesRequest().fromBinary(bytes, options);
|
|
1274
|
+
}
|
|
1275
|
+
static fromJson(jsonValue, options) {
|
|
1276
|
+
return new ListLaunchesRequest().fromJson(jsonValue, options);
|
|
1277
|
+
}
|
|
1278
|
+
static fromJsonString(jsonString, options) {
|
|
1279
|
+
return new ListLaunchesRequest().fromJsonString(jsonString, options);
|
|
1280
|
+
}
|
|
1281
|
+
static equals(a, b) {
|
|
1282
|
+
return proto3.util.equals(ListLaunchesRequest, a, b);
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1285
|
+
ListLaunchesRequest.runtime = proto3;
|
|
1286
|
+
ListLaunchesRequest.typeName = "data.v2.ListLaunchesRequest";
|
|
1287
|
+
ListLaunchesRequest.fields = proto3.util.newFieldList(() => [
|
|
1288
|
+
{ no: 1, name: "launchpad_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1289
|
+
{ no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
|
|
1290
|
+
{ no: 3, name: "sort_by", kind: "enum", T: proto3.getEnumType(LaunchesOrderBy) },
|
|
1291
|
+
{ no: 4, name: "page", kind: "message", T: PageRequest, opt: true },
|
|
1292
|
+
]);
|
|
1293
|
+
/**
|
|
1294
|
+
* @generated from message data.v2.ListLaunchesResponse
|
|
1295
|
+
*/
|
|
1296
|
+
export class ListLaunchesResponse extends Message {
|
|
1297
|
+
constructor(data) {
|
|
1298
|
+
super();
|
|
1299
|
+
/**
|
|
1300
|
+
* @generated from field: repeated data.v2.Launch launches = 1;
|
|
1301
|
+
*/
|
|
1302
|
+
this.launches = [];
|
|
1303
|
+
proto3.util.initPartial(data, this);
|
|
1304
|
+
}
|
|
1305
|
+
static fromBinary(bytes, options) {
|
|
1306
|
+
return new ListLaunchesResponse().fromBinary(bytes, options);
|
|
1307
|
+
}
|
|
1308
|
+
static fromJson(jsonValue, options) {
|
|
1309
|
+
return new ListLaunchesResponse().fromJson(jsonValue, options);
|
|
1310
|
+
}
|
|
1311
|
+
static fromJsonString(jsonString, options) {
|
|
1312
|
+
return new ListLaunchesResponse().fromJsonString(jsonString, options);
|
|
1313
|
+
}
|
|
1314
|
+
static equals(a, b) {
|
|
1315
|
+
return proto3.util.equals(ListLaunchesResponse, a, b);
|
|
1316
|
+
}
|
|
1317
|
+
}
|
|
1318
|
+
ListLaunchesResponse.runtime = proto3;
|
|
1319
|
+
ListLaunchesResponse.typeName = "data.v2.ListLaunchesResponse";
|
|
1320
|
+
ListLaunchesResponse.fields = proto3.util.newFieldList(() => [
|
|
1321
|
+
{ no: 1, name: "launches", kind: "message", T: Launch, repeated: true },
|
|
1322
|
+
{ no: 2, name: "page", kind: "message", T: PageResponse },
|
|
1323
|
+
]);
|
|
1192
1324
|
/**
|
|
1193
1325
|
* @generated from message data.v2.ListTokensRequest
|
|
1194
1326
|
*/
|
|
@@ -1199,6 +1331,13 @@ export class ListTokensRequest extends Message {
|
|
|
1199
1331
|
* @generated from field: repeated uint32 chain_ids = 1;
|
|
1200
1332
|
*/
|
|
1201
1333
|
this.chainIds = [];
|
|
1334
|
+
/**
|
|
1335
|
+
* Sparkline window. Required — UNSPECIFIED or unknown values are rejected.
|
|
1336
|
+
* MAX serves the DAY series.
|
|
1337
|
+
*
|
|
1338
|
+
* @generated from field: data.v2.HistoryDuration sparkline_duration = 5;
|
|
1339
|
+
*/
|
|
1340
|
+
this.sparklineDuration = HistoryDuration.UNSPECIFIED;
|
|
1202
1341
|
proto3.util.initPartial(data, this);
|
|
1203
1342
|
}
|
|
1204
1343
|
static fromBinary(bytes, options) {
|
|
@@ -1221,6 +1360,7 @@ ListTokensRequest.fields = proto3.util.newFieldList(() => [
|
|
|
1221
1360
|
{ no: 2, name: "sort", kind: "message", T: TokensSort, opt: true },
|
|
1222
1361
|
{ no: 3, name: "filter", kind: "message", T: TokenListFilter, opt: true },
|
|
1223
1362
|
{ no: 4, name: "page", kind: "message", T: PageRequest, opt: true },
|
|
1363
|
+
{ no: 5, name: "sparkline_duration", kind: "enum", T: proto3.getEnumType(HistoryDuration) },
|
|
1224
1364
|
]);
|
|
1225
1365
|
/**
|
|
1226
1366
|
* @generated from message data.v2.ListTokensResponse
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
2
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
-
import { TokenType } from "../v1/types_pb.js";
|
|
3
|
+
import { TimestampedValue, TokenType } from "../v1/types_pb.js";
|
|
4
4
|
/**
|
|
5
5
|
* @generated from enum data.v2.TokensOrderBy
|
|
6
6
|
*/
|
|
@@ -200,6 +200,25 @@ export declare enum HistoryDuration {
|
|
|
200
200
|
*/
|
|
201
201
|
MAX = 6
|
|
202
202
|
}
|
|
203
|
+
/**
|
|
204
|
+
* Sort field for ListLaunches; UNSPECIFIED defaults to LAUNCHED_AT (newest first).
|
|
205
|
+
*
|
|
206
|
+
* @generated from enum data.v2.LaunchesOrderBy
|
|
207
|
+
*/
|
|
208
|
+
export declare enum LaunchesOrderBy {
|
|
209
|
+
/**
|
|
210
|
+
* @generated from enum value: LAUNCHES_ORDER_BY_UNSPECIFIED = 0;
|
|
211
|
+
*/
|
|
212
|
+
UNSPECIFIED = 0,
|
|
213
|
+
/**
|
|
214
|
+
* @generated from enum value: LAUNCHES_ORDER_BY_LAUNCHED_AT = 1;
|
|
215
|
+
*/
|
|
216
|
+
LAUNCHED_AT = 1,
|
|
217
|
+
/**
|
|
218
|
+
* @generated from enum value: LAUNCHES_ORDER_BY_VOLUME_1D = 2;
|
|
219
|
+
*/
|
|
220
|
+
VOLUME_1D = 2
|
|
221
|
+
}
|
|
203
222
|
/**
|
|
204
223
|
* Volume, TVL, FDV, and price-change stats for a ranked token. All values are USD-denominated.
|
|
205
224
|
* All fields are populated from Clickhouse aggregations.
|
|
@@ -372,6 +391,14 @@ export declare class RankedMultichainToken extends Message<RankedMultichainToken
|
|
|
372
391
|
* @generated from field: repeated data.v2.ChainTokenRankStats chain_stats = 3;
|
|
373
392
|
*/
|
|
374
393
|
chainStats: ChainTokenRankStats[];
|
|
394
|
+
/**
|
|
395
|
+
* USD price sparkline over sparkline_duration, from the same chain member
|
|
396
|
+
* as price_change. <=20 points, oldest first; timestamps are synthesized,
|
|
397
|
+
* not observed. Empty when no series is available.
|
|
398
|
+
*
|
|
399
|
+
* @generated from field: repeated data.v1.TimestampedValue sparkline = 4;
|
|
400
|
+
*/
|
|
401
|
+
sparkline: TimestampedValue[];
|
|
375
402
|
constructor(data?: PartialMessage<RankedMultichainToken>);
|
|
376
403
|
static readonly runtime: typeof proto3;
|
|
377
404
|
static readonly typeName = "data.v2.RankedMultichainToken";
|
|
@@ -741,6 +768,171 @@ export declare class Token extends Message<Token> {
|
|
|
741
768
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Token;
|
|
742
769
|
static equals(a: Token | PlainMessage<Token> | undefined, b: Token | PlainMessage<Token> | undefined): boolean;
|
|
743
770
|
}
|
|
771
|
+
/**
|
|
772
|
+
* A token launchpad known to the Launches surface (see the data-api
|
|
773
|
+
* launchpad registry). A launchpad is the launching FRONTEND users see; id is
|
|
774
|
+
* the stable slug used in launchpad_id filters.
|
|
775
|
+
*
|
|
776
|
+
* @generated from message data.v2.Launchpad
|
|
777
|
+
*/
|
|
778
|
+
export declare class Launchpad extends Message<Launchpad> {
|
|
779
|
+
/**
|
|
780
|
+
* @generated from field: string id = 1;
|
|
781
|
+
*/
|
|
782
|
+
id: string;
|
|
783
|
+
/**
|
|
784
|
+
* @generated from field: string name = 2;
|
|
785
|
+
*/
|
|
786
|
+
name: string;
|
|
787
|
+
/**
|
|
788
|
+
* @generated from field: optional string logo_url = 3;
|
|
789
|
+
*/
|
|
790
|
+
logoUrl?: string;
|
|
791
|
+
/**
|
|
792
|
+
* Underlying shared launch protocol (e.g. "doppler") when the frontend
|
|
793
|
+
* launches through contracts it doesn't own. Unset for self-contained
|
|
794
|
+
* launchpads; several frontends can share one protocol value.
|
|
795
|
+
*
|
|
796
|
+
* @generated from field: optional string protocol = 4;
|
|
797
|
+
*/
|
|
798
|
+
protocol?: string;
|
|
799
|
+
constructor(data?: PartialMessage<Launchpad>);
|
|
800
|
+
static readonly runtime: typeof proto3;
|
|
801
|
+
static readonly typeName = "data.v2.Launchpad";
|
|
802
|
+
static readonly fields: FieldList;
|
|
803
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Launchpad;
|
|
804
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Launchpad;
|
|
805
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Launchpad;
|
|
806
|
+
static equals(a: Launchpad | PlainMessage<Launchpad> | undefined, b: Launchpad | PlainMessage<Launchpad> | undefined): boolean;
|
|
807
|
+
}
|
|
808
|
+
/**
|
|
809
|
+
* The launched token's identity and display metadata.
|
|
810
|
+
*
|
|
811
|
+
* @generated from message data.v2.LaunchToken
|
|
812
|
+
*/
|
|
813
|
+
export declare class LaunchToken extends Message<LaunchToken> {
|
|
814
|
+
/**
|
|
815
|
+
* @generated from field: uint32 chain_id = 1;
|
|
816
|
+
*/
|
|
817
|
+
chainId: number;
|
|
818
|
+
/**
|
|
819
|
+
* @generated from field: string address = 2;
|
|
820
|
+
*/
|
|
821
|
+
address: string;
|
|
822
|
+
/**
|
|
823
|
+
* @generated from field: string symbol = 3;
|
|
824
|
+
*/
|
|
825
|
+
symbol: string;
|
|
826
|
+
/**
|
|
827
|
+
* @generated from field: string name = 4;
|
|
828
|
+
*/
|
|
829
|
+
name: string;
|
|
830
|
+
/**
|
|
831
|
+
* @generated from field: optional string logo_url = 5;
|
|
832
|
+
*/
|
|
833
|
+
logoUrl?: string;
|
|
834
|
+
constructor(data?: PartialMessage<LaunchToken>);
|
|
835
|
+
static readonly runtime: typeof proto3;
|
|
836
|
+
static readonly typeName = "data.v2.LaunchToken";
|
|
837
|
+
static readonly fields: FieldList;
|
|
838
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LaunchToken;
|
|
839
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LaunchToken;
|
|
840
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LaunchToken;
|
|
841
|
+
static equals(a: LaunchToken | PlainMessage<LaunchToken> | undefined, b: LaunchToken | PlainMessage<LaunchToken> | undefined): boolean;
|
|
842
|
+
}
|
|
843
|
+
/**
|
|
844
|
+
* Live USD stats for a launch's pool/token. Each field is unset when its
|
|
845
|
+
* source has no data yet (fresh launches lag the stats pipelines).
|
|
846
|
+
*
|
|
847
|
+
* @generated from message data.v2.LaunchStats
|
|
848
|
+
*/
|
|
849
|
+
export declare class LaunchStats extends Message<LaunchStats> {
|
|
850
|
+
/**
|
|
851
|
+
* @generated from field: optional double volume_24h_usd = 1;
|
|
852
|
+
*/
|
|
853
|
+
volume24hUsd?: number;
|
|
854
|
+
/**
|
|
855
|
+
* @generated from field: optional double tvl_usd = 2;
|
|
856
|
+
*/
|
|
857
|
+
tvlUsd?: number;
|
|
858
|
+
/**
|
|
859
|
+
* @generated from field: optional double price_usd = 3;
|
|
860
|
+
*/
|
|
861
|
+
priceUsd?: number;
|
|
862
|
+
/**
|
|
863
|
+
* price x total supply; unset where no supply source
|
|
864
|
+
*
|
|
865
|
+
* @generated from field: optional double fdv_usd = 4;
|
|
866
|
+
*/
|
|
867
|
+
fdvUsd?: number;
|
|
868
|
+
/**
|
|
869
|
+
* @generated from field: optional double price_change_percent_1h = 5;
|
|
870
|
+
*/
|
|
871
|
+
priceChangePercent1h?: number;
|
|
872
|
+
/**
|
|
873
|
+
* @generated from field: optional double price_change_percent_24h = 6;
|
|
874
|
+
*/
|
|
875
|
+
priceChangePercent24h?: number;
|
|
876
|
+
constructor(data?: PartialMessage<LaunchStats>);
|
|
877
|
+
static readonly runtime: typeof proto3;
|
|
878
|
+
static readonly typeName = "data.v2.LaunchStats";
|
|
879
|
+
static readonly fields: FieldList;
|
|
880
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LaunchStats;
|
|
881
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LaunchStats;
|
|
882
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LaunchStats;
|
|
883
|
+
static equals(a: LaunchStats | PlainMessage<LaunchStats> | undefined, b: LaunchStats | PlainMessage<LaunchStats> | undefined): boolean;
|
|
884
|
+
}
|
|
885
|
+
/**
|
|
886
|
+
* One token launch: the earliest pool a (token, launchpad) pair created.
|
|
887
|
+
*
|
|
888
|
+
* @generated from message data.v2.Launch
|
|
889
|
+
*/
|
|
890
|
+
export declare class Launch extends Message<Launch> {
|
|
891
|
+
/**
|
|
892
|
+
* @generated from field: string launchpad_id = 1;
|
|
893
|
+
*/
|
|
894
|
+
launchpadId: string;
|
|
895
|
+
/**
|
|
896
|
+
* @generated from field: data.v2.LaunchToken token = 2;
|
|
897
|
+
*/
|
|
898
|
+
token?: LaunchToken;
|
|
899
|
+
/**
|
|
900
|
+
* v4 pool id for hook-attributed launches; CCA pool key hash once the
|
|
901
|
+
* auction has migrated to a pool, empty before then.
|
|
902
|
+
*
|
|
903
|
+
* @generated from field: string pool_id = 3;
|
|
904
|
+
*/
|
|
905
|
+
poolId: string;
|
|
906
|
+
/**
|
|
907
|
+
* @generated from field: optional string hooks_address = 4;
|
|
908
|
+
*/
|
|
909
|
+
hooksAddress?: string;
|
|
910
|
+
/**
|
|
911
|
+
* unix seconds
|
|
912
|
+
*
|
|
913
|
+
* @generated from field: int64 launched_at = 5;
|
|
914
|
+
*/
|
|
915
|
+
launchedAt: bigint;
|
|
916
|
+
/**
|
|
917
|
+
* @generated from field: data.v2.LaunchStats stats = 6;
|
|
918
|
+
*/
|
|
919
|
+
stats?: LaunchStats;
|
|
920
|
+
/**
|
|
921
|
+
* CCA launches only: true once the auction migrated into its pool
|
|
922
|
+
* (graduated). Unset for hook-attributed launches, which are pools already.
|
|
923
|
+
*
|
|
924
|
+
* @generated from field: optional bool graduated = 7;
|
|
925
|
+
*/
|
|
926
|
+
graduated?: boolean;
|
|
927
|
+
constructor(data?: PartialMessage<Launch>);
|
|
928
|
+
static readonly runtime: typeof proto3;
|
|
929
|
+
static readonly typeName = "data.v2.Launch";
|
|
930
|
+
static readonly fields: FieldList;
|
|
931
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Launch;
|
|
932
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Launch;
|
|
933
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Launch;
|
|
934
|
+
static equals(a: Launch | PlainMessage<Launch> | undefined, b: Launch | PlainMessage<Launch> | undefined): boolean;
|
|
935
|
+
}
|
|
744
936
|
/**
|
|
745
937
|
* @generated from message data.v2.NftImage
|
|
746
938
|
*/
|
package/dist/data/v2/types_pb.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
// @generated from file data/v2/types.proto (package data.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
6
|
-
import { TokenType } from "../v1/types_pb.js";
|
|
5
|
+
import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
|
|
6
|
+
import { TimestampedValue, TokenType } from "../v1/types_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from enum data.v2.TokensOrderBy
|
|
9
9
|
*/
|
|
@@ -259,6 +259,32 @@ proto3.util.setEnumType(HistoryDuration, "data.v2.HistoryDuration", [
|
|
|
259
259
|
{ no: 5, name: "HISTORY_DURATION_YEAR" },
|
|
260
260
|
{ no: 6, name: "HISTORY_DURATION_MAX" },
|
|
261
261
|
]);
|
|
262
|
+
/**
|
|
263
|
+
* Sort field for ListLaunches; UNSPECIFIED defaults to LAUNCHED_AT (newest first).
|
|
264
|
+
*
|
|
265
|
+
* @generated from enum data.v2.LaunchesOrderBy
|
|
266
|
+
*/
|
|
267
|
+
export var LaunchesOrderBy;
|
|
268
|
+
(function (LaunchesOrderBy) {
|
|
269
|
+
/**
|
|
270
|
+
* @generated from enum value: LAUNCHES_ORDER_BY_UNSPECIFIED = 0;
|
|
271
|
+
*/
|
|
272
|
+
LaunchesOrderBy[LaunchesOrderBy["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
273
|
+
/**
|
|
274
|
+
* @generated from enum value: LAUNCHES_ORDER_BY_LAUNCHED_AT = 1;
|
|
275
|
+
*/
|
|
276
|
+
LaunchesOrderBy[LaunchesOrderBy["LAUNCHED_AT"] = 1] = "LAUNCHED_AT";
|
|
277
|
+
/**
|
|
278
|
+
* @generated from enum value: LAUNCHES_ORDER_BY_VOLUME_1D = 2;
|
|
279
|
+
*/
|
|
280
|
+
LaunchesOrderBy[LaunchesOrderBy["VOLUME_1D"] = 2] = "VOLUME_1D";
|
|
281
|
+
})(LaunchesOrderBy || (LaunchesOrderBy = {}));
|
|
282
|
+
// Retrieve enum metadata with: proto3.getEnumType(LaunchesOrderBy)
|
|
283
|
+
proto3.util.setEnumType(LaunchesOrderBy, "data.v2.LaunchesOrderBy", [
|
|
284
|
+
{ no: 0, name: "LAUNCHES_ORDER_BY_UNSPECIFIED" },
|
|
285
|
+
{ no: 1, name: "LAUNCHES_ORDER_BY_LAUNCHED_AT" },
|
|
286
|
+
{ no: 2, name: "LAUNCHES_ORDER_BY_VOLUME_1D" },
|
|
287
|
+
]);
|
|
262
288
|
/**
|
|
263
289
|
* Volume, TVL, FDV, and price-change stats for a ranked token. All values are USD-denominated.
|
|
264
290
|
* All fields are populated from Clickhouse aggregations.
|
|
@@ -436,6 +462,14 @@ export class RankedMultichainToken extends Message {
|
|
|
436
462
|
* @generated from field: repeated data.v2.ChainTokenRankStats chain_stats = 3;
|
|
437
463
|
*/
|
|
438
464
|
this.chainStats = [];
|
|
465
|
+
/**
|
|
466
|
+
* USD price sparkline over sparkline_duration, from the same chain member
|
|
467
|
+
* as price_change. <=20 points, oldest first; timestamps are synthesized,
|
|
468
|
+
* not observed. Empty when no series is available.
|
|
469
|
+
*
|
|
470
|
+
* @generated from field: repeated data.v1.TimestampedValue sparkline = 4;
|
|
471
|
+
*/
|
|
472
|
+
this.sparkline = [];
|
|
439
473
|
proto3.util.initPartial(data, this);
|
|
440
474
|
}
|
|
441
475
|
static fromBinary(bytes, options) {
|
|
@@ -457,6 +491,7 @@ RankedMultichainToken.fields = proto3.util.newFieldList(() => [
|
|
|
457
491
|
{ no: 1, name: "multichain_token", kind: "message", T: MultichainToken },
|
|
458
492
|
{ no: 2, name: "stats", kind: "message", T: TokenRankStats },
|
|
459
493
|
{ no: 3, name: "chain_stats", kind: "message", T: ChainTokenRankStats, repeated: true },
|
|
494
|
+
{ no: 4, name: "sparkline", kind: "message", T: TimestampedValue, repeated: true },
|
|
460
495
|
]);
|
|
461
496
|
/**
|
|
462
497
|
* @generated from message data.v2.TokenPriceData
|
|
@@ -865,6 +900,180 @@ Token.fields = proto3.util.newFieldList(() => [
|
|
|
865
900
|
{ no: 10, name: "project", kind: "message", T: TokenProject },
|
|
866
901
|
{ no: 11, name: "multichain", kind: "message", T: TokenMultichain, opt: true },
|
|
867
902
|
]);
|
|
903
|
+
/**
|
|
904
|
+
* A token launchpad known to the Launches surface (see the data-api
|
|
905
|
+
* launchpad registry). A launchpad is the launching FRONTEND users see; id is
|
|
906
|
+
* the stable slug used in launchpad_id filters.
|
|
907
|
+
*
|
|
908
|
+
* @generated from message data.v2.Launchpad
|
|
909
|
+
*/
|
|
910
|
+
export class Launchpad extends Message {
|
|
911
|
+
constructor(data) {
|
|
912
|
+
super();
|
|
913
|
+
/**
|
|
914
|
+
* @generated from field: string id = 1;
|
|
915
|
+
*/
|
|
916
|
+
this.id = "";
|
|
917
|
+
/**
|
|
918
|
+
* @generated from field: string name = 2;
|
|
919
|
+
*/
|
|
920
|
+
this.name = "";
|
|
921
|
+
proto3.util.initPartial(data, this);
|
|
922
|
+
}
|
|
923
|
+
static fromBinary(bytes, options) {
|
|
924
|
+
return new Launchpad().fromBinary(bytes, options);
|
|
925
|
+
}
|
|
926
|
+
static fromJson(jsonValue, options) {
|
|
927
|
+
return new Launchpad().fromJson(jsonValue, options);
|
|
928
|
+
}
|
|
929
|
+
static fromJsonString(jsonString, options) {
|
|
930
|
+
return new Launchpad().fromJsonString(jsonString, options);
|
|
931
|
+
}
|
|
932
|
+
static equals(a, b) {
|
|
933
|
+
return proto3.util.equals(Launchpad, a, b);
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
Launchpad.runtime = proto3;
|
|
937
|
+
Launchpad.typeName = "data.v2.Launchpad";
|
|
938
|
+
Launchpad.fields = proto3.util.newFieldList(() => [
|
|
939
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
940
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
941
|
+
{ no: 3, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
942
|
+
{ no: 4, name: "protocol", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
943
|
+
]);
|
|
944
|
+
/**
|
|
945
|
+
* The launched token's identity and display metadata.
|
|
946
|
+
*
|
|
947
|
+
* @generated from message data.v2.LaunchToken
|
|
948
|
+
*/
|
|
949
|
+
export class LaunchToken extends Message {
|
|
950
|
+
constructor(data) {
|
|
951
|
+
super();
|
|
952
|
+
/**
|
|
953
|
+
* @generated from field: uint32 chain_id = 1;
|
|
954
|
+
*/
|
|
955
|
+
this.chainId = 0;
|
|
956
|
+
/**
|
|
957
|
+
* @generated from field: string address = 2;
|
|
958
|
+
*/
|
|
959
|
+
this.address = "";
|
|
960
|
+
/**
|
|
961
|
+
* @generated from field: string symbol = 3;
|
|
962
|
+
*/
|
|
963
|
+
this.symbol = "";
|
|
964
|
+
/**
|
|
965
|
+
* @generated from field: string name = 4;
|
|
966
|
+
*/
|
|
967
|
+
this.name = "";
|
|
968
|
+
proto3.util.initPartial(data, this);
|
|
969
|
+
}
|
|
970
|
+
static fromBinary(bytes, options) {
|
|
971
|
+
return new LaunchToken().fromBinary(bytes, options);
|
|
972
|
+
}
|
|
973
|
+
static fromJson(jsonValue, options) {
|
|
974
|
+
return new LaunchToken().fromJson(jsonValue, options);
|
|
975
|
+
}
|
|
976
|
+
static fromJsonString(jsonString, options) {
|
|
977
|
+
return new LaunchToken().fromJsonString(jsonString, options);
|
|
978
|
+
}
|
|
979
|
+
static equals(a, b) {
|
|
980
|
+
return proto3.util.equals(LaunchToken, a, b);
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
LaunchToken.runtime = proto3;
|
|
984
|
+
LaunchToken.typeName = "data.v2.LaunchToken";
|
|
985
|
+
LaunchToken.fields = proto3.util.newFieldList(() => [
|
|
986
|
+
{ no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
987
|
+
{ no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
988
|
+
{ no: 3, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
989
|
+
{ no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
990
|
+
{ no: 5, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
991
|
+
]);
|
|
992
|
+
/**
|
|
993
|
+
* Live USD stats for a launch's pool/token. Each field is unset when its
|
|
994
|
+
* source has no data yet (fresh launches lag the stats pipelines).
|
|
995
|
+
*
|
|
996
|
+
* @generated from message data.v2.LaunchStats
|
|
997
|
+
*/
|
|
998
|
+
export class LaunchStats extends Message {
|
|
999
|
+
constructor(data) {
|
|
1000
|
+
super();
|
|
1001
|
+
proto3.util.initPartial(data, this);
|
|
1002
|
+
}
|
|
1003
|
+
static fromBinary(bytes, options) {
|
|
1004
|
+
return new LaunchStats().fromBinary(bytes, options);
|
|
1005
|
+
}
|
|
1006
|
+
static fromJson(jsonValue, options) {
|
|
1007
|
+
return new LaunchStats().fromJson(jsonValue, options);
|
|
1008
|
+
}
|
|
1009
|
+
static fromJsonString(jsonString, options) {
|
|
1010
|
+
return new LaunchStats().fromJsonString(jsonString, options);
|
|
1011
|
+
}
|
|
1012
|
+
static equals(a, b) {
|
|
1013
|
+
return proto3.util.equals(LaunchStats, a, b);
|
|
1014
|
+
}
|
|
1015
|
+
}
|
|
1016
|
+
LaunchStats.runtime = proto3;
|
|
1017
|
+
LaunchStats.typeName = "data.v2.LaunchStats";
|
|
1018
|
+
LaunchStats.fields = proto3.util.newFieldList(() => [
|
|
1019
|
+
{ no: 1, name: "volume_24h_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1020
|
+
{ no: 2, name: "tvl_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1021
|
+
{ no: 3, name: "price_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1022
|
+
{ no: 4, name: "fdv_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1023
|
+
{ no: 5, name: "price_change_percent_1h", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1024
|
+
{ no: 6, name: "price_change_percent_24h", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1025
|
+
]);
|
|
1026
|
+
/**
|
|
1027
|
+
* One token launch: the earliest pool a (token, launchpad) pair created.
|
|
1028
|
+
*
|
|
1029
|
+
* @generated from message data.v2.Launch
|
|
1030
|
+
*/
|
|
1031
|
+
export class Launch extends Message {
|
|
1032
|
+
constructor(data) {
|
|
1033
|
+
super();
|
|
1034
|
+
/**
|
|
1035
|
+
* @generated from field: string launchpad_id = 1;
|
|
1036
|
+
*/
|
|
1037
|
+
this.launchpadId = "";
|
|
1038
|
+
/**
|
|
1039
|
+
* v4 pool id for hook-attributed launches; CCA pool key hash once the
|
|
1040
|
+
* auction has migrated to a pool, empty before then.
|
|
1041
|
+
*
|
|
1042
|
+
* @generated from field: string pool_id = 3;
|
|
1043
|
+
*/
|
|
1044
|
+
this.poolId = "";
|
|
1045
|
+
/**
|
|
1046
|
+
* unix seconds
|
|
1047
|
+
*
|
|
1048
|
+
* @generated from field: int64 launched_at = 5;
|
|
1049
|
+
*/
|
|
1050
|
+
this.launchedAt = protoInt64.zero;
|
|
1051
|
+
proto3.util.initPartial(data, this);
|
|
1052
|
+
}
|
|
1053
|
+
static fromBinary(bytes, options) {
|
|
1054
|
+
return new Launch().fromBinary(bytes, options);
|
|
1055
|
+
}
|
|
1056
|
+
static fromJson(jsonValue, options) {
|
|
1057
|
+
return new Launch().fromJson(jsonValue, options);
|
|
1058
|
+
}
|
|
1059
|
+
static fromJsonString(jsonString, options) {
|
|
1060
|
+
return new Launch().fromJsonString(jsonString, options);
|
|
1061
|
+
}
|
|
1062
|
+
static equals(a, b) {
|
|
1063
|
+
return proto3.util.equals(Launch, a, b);
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
Launch.runtime = proto3;
|
|
1067
|
+
Launch.typeName = "data.v2.Launch";
|
|
1068
|
+
Launch.fields = proto3.util.newFieldList(() => [
|
|
1069
|
+
{ no: 1, name: "launchpad_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1070
|
+
{ no: 2, name: "token", kind: "message", T: LaunchToken },
|
|
1071
|
+
{ no: 3, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1072
|
+
{ no: 4, name: "hooks_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1073
|
+
{ no: 5, name: "launched_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1074
|
+
{ no: 6, name: "stats", kind: "message", T: LaunchStats },
|
|
1075
|
+
{ no: 7, name: "graduated", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1076
|
+
]);
|
|
868
1077
|
/**
|
|
869
1078
|
* @generated from message data.v2.NftImage
|
|
870
1079
|
*/
|