@uniswap/client-data-api 0.0.126 → 0.0.127
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 +93 -1
- package/dist/data/v2/api_pb.js +133 -1
- package/dist/data/v2/types_pb.d.ts +184 -0
- package/dist/data/v2/types_pb.js +201 -1
- 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
|
*/
|
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
|
*/
|
|
@@ -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.
|
|
@@ -741,6 +760,171 @@ export declare class Token extends Message<Token> {
|
|
|
741
760
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Token;
|
|
742
761
|
static equals(a: Token | PlainMessage<Token> | undefined, b: Token | PlainMessage<Token> | undefined): boolean;
|
|
743
762
|
}
|
|
763
|
+
/**
|
|
764
|
+
* A token launchpad known to the Launches surface (see the data-api
|
|
765
|
+
* launchpad registry). A launchpad is the launching FRONTEND users see; id is
|
|
766
|
+
* the stable slug used in launchpad_id filters.
|
|
767
|
+
*
|
|
768
|
+
* @generated from message data.v2.Launchpad
|
|
769
|
+
*/
|
|
770
|
+
export declare class Launchpad extends Message<Launchpad> {
|
|
771
|
+
/**
|
|
772
|
+
* @generated from field: string id = 1;
|
|
773
|
+
*/
|
|
774
|
+
id: string;
|
|
775
|
+
/**
|
|
776
|
+
* @generated from field: string name = 2;
|
|
777
|
+
*/
|
|
778
|
+
name: string;
|
|
779
|
+
/**
|
|
780
|
+
* @generated from field: optional string logo_url = 3;
|
|
781
|
+
*/
|
|
782
|
+
logoUrl?: string;
|
|
783
|
+
/**
|
|
784
|
+
* Underlying shared launch protocol (e.g. "doppler") when the frontend
|
|
785
|
+
* launches through contracts it doesn't own. Unset for self-contained
|
|
786
|
+
* launchpads; several frontends can share one protocol value.
|
|
787
|
+
*
|
|
788
|
+
* @generated from field: optional string protocol = 4;
|
|
789
|
+
*/
|
|
790
|
+
protocol?: string;
|
|
791
|
+
constructor(data?: PartialMessage<Launchpad>);
|
|
792
|
+
static readonly runtime: typeof proto3;
|
|
793
|
+
static readonly typeName = "data.v2.Launchpad";
|
|
794
|
+
static readonly fields: FieldList;
|
|
795
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Launchpad;
|
|
796
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Launchpad;
|
|
797
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Launchpad;
|
|
798
|
+
static equals(a: Launchpad | PlainMessage<Launchpad> | undefined, b: Launchpad | PlainMessage<Launchpad> | undefined): boolean;
|
|
799
|
+
}
|
|
800
|
+
/**
|
|
801
|
+
* The launched token's identity and display metadata.
|
|
802
|
+
*
|
|
803
|
+
* @generated from message data.v2.LaunchToken
|
|
804
|
+
*/
|
|
805
|
+
export declare class LaunchToken extends Message<LaunchToken> {
|
|
806
|
+
/**
|
|
807
|
+
* @generated from field: uint32 chain_id = 1;
|
|
808
|
+
*/
|
|
809
|
+
chainId: number;
|
|
810
|
+
/**
|
|
811
|
+
* @generated from field: string address = 2;
|
|
812
|
+
*/
|
|
813
|
+
address: string;
|
|
814
|
+
/**
|
|
815
|
+
* @generated from field: string symbol = 3;
|
|
816
|
+
*/
|
|
817
|
+
symbol: string;
|
|
818
|
+
/**
|
|
819
|
+
* @generated from field: string name = 4;
|
|
820
|
+
*/
|
|
821
|
+
name: string;
|
|
822
|
+
/**
|
|
823
|
+
* @generated from field: optional string logo_url = 5;
|
|
824
|
+
*/
|
|
825
|
+
logoUrl?: string;
|
|
826
|
+
constructor(data?: PartialMessage<LaunchToken>);
|
|
827
|
+
static readonly runtime: typeof proto3;
|
|
828
|
+
static readonly typeName = "data.v2.LaunchToken";
|
|
829
|
+
static readonly fields: FieldList;
|
|
830
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LaunchToken;
|
|
831
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LaunchToken;
|
|
832
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LaunchToken;
|
|
833
|
+
static equals(a: LaunchToken | PlainMessage<LaunchToken> | undefined, b: LaunchToken | PlainMessage<LaunchToken> | undefined): boolean;
|
|
834
|
+
}
|
|
835
|
+
/**
|
|
836
|
+
* Live USD stats for a launch's pool/token. Each field is unset when its
|
|
837
|
+
* source has no data yet (fresh launches lag the stats pipelines).
|
|
838
|
+
*
|
|
839
|
+
* @generated from message data.v2.LaunchStats
|
|
840
|
+
*/
|
|
841
|
+
export declare class LaunchStats extends Message<LaunchStats> {
|
|
842
|
+
/**
|
|
843
|
+
* @generated from field: optional double volume_24h_usd = 1;
|
|
844
|
+
*/
|
|
845
|
+
volume24hUsd?: number;
|
|
846
|
+
/**
|
|
847
|
+
* @generated from field: optional double tvl_usd = 2;
|
|
848
|
+
*/
|
|
849
|
+
tvlUsd?: number;
|
|
850
|
+
/**
|
|
851
|
+
* @generated from field: optional double price_usd = 3;
|
|
852
|
+
*/
|
|
853
|
+
priceUsd?: number;
|
|
854
|
+
/**
|
|
855
|
+
* price x total supply; unset where no supply source
|
|
856
|
+
*
|
|
857
|
+
* @generated from field: optional double fdv_usd = 4;
|
|
858
|
+
*/
|
|
859
|
+
fdvUsd?: number;
|
|
860
|
+
/**
|
|
861
|
+
* @generated from field: optional double price_change_percent_1h = 5;
|
|
862
|
+
*/
|
|
863
|
+
priceChangePercent1h?: number;
|
|
864
|
+
/**
|
|
865
|
+
* @generated from field: optional double price_change_percent_24h = 6;
|
|
866
|
+
*/
|
|
867
|
+
priceChangePercent24h?: number;
|
|
868
|
+
constructor(data?: PartialMessage<LaunchStats>);
|
|
869
|
+
static readonly runtime: typeof proto3;
|
|
870
|
+
static readonly typeName = "data.v2.LaunchStats";
|
|
871
|
+
static readonly fields: FieldList;
|
|
872
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LaunchStats;
|
|
873
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LaunchStats;
|
|
874
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LaunchStats;
|
|
875
|
+
static equals(a: LaunchStats | PlainMessage<LaunchStats> | undefined, b: LaunchStats | PlainMessage<LaunchStats> | undefined): boolean;
|
|
876
|
+
}
|
|
877
|
+
/**
|
|
878
|
+
* One token launch: the earliest pool a (token, launchpad) pair created.
|
|
879
|
+
*
|
|
880
|
+
* @generated from message data.v2.Launch
|
|
881
|
+
*/
|
|
882
|
+
export declare class Launch extends Message<Launch> {
|
|
883
|
+
/**
|
|
884
|
+
* @generated from field: string launchpad_id = 1;
|
|
885
|
+
*/
|
|
886
|
+
launchpadId: string;
|
|
887
|
+
/**
|
|
888
|
+
* @generated from field: data.v2.LaunchToken token = 2;
|
|
889
|
+
*/
|
|
890
|
+
token?: LaunchToken;
|
|
891
|
+
/**
|
|
892
|
+
* v4 pool id for hook-attributed launches; CCA pool key hash once the
|
|
893
|
+
* auction has migrated to a pool, empty before then.
|
|
894
|
+
*
|
|
895
|
+
* @generated from field: string pool_id = 3;
|
|
896
|
+
*/
|
|
897
|
+
poolId: string;
|
|
898
|
+
/**
|
|
899
|
+
* @generated from field: optional string hooks_address = 4;
|
|
900
|
+
*/
|
|
901
|
+
hooksAddress?: string;
|
|
902
|
+
/**
|
|
903
|
+
* unix seconds
|
|
904
|
+
*
|
|
905
|
+
* @generated from field: int64 launched_at = 5;
|
|
906
|
+
*/
|
|
907
|
+
launchedAt: bigint;
|
|
908
|
+
/**
|
|
909
|
+
* @generated from field: data.v2.LaunchStats stats = 6;
|
|
910
|
+
*/
|
|
911
|
+
stats?: LaunchStats;
|
|
912
|
+
/**
|
|
913
|
+
* CCA launches only: true once the auction migrated into its pool
|
|
914
|
+
* (graduated). Unset for hook-attributed launches, which are pools already.
|
|
915
|
+
*
|
|
916
|
+
* @generated from field: optional bool graduated = 7;
|
|
917
|
+
*/
|
|
918
|
+
graduated?: boolean;
|
|
919
|
+
constructor(data?: PartialMessage<Launch>);
|
|
920
|
+
static readonly runtime: typeof proto3;
|
|
921
|
+
static readonly typeName = "data.v2.Launch";
|
|
922
|
+
static readonly fields: FieldList;
|
|
923
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Launch;
|
|
924
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Launch;
|
|
925
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Launch;
|
|
926
|
+
static equals(a: Launch | PlainMessage<Launch> | undefined, b: Launch | PlainMessage<Launch> | undefined): boolean;
|
|
927
|
+
}
|
|
744
928
|
/**
|
|
745
929
|
* @generated from message data.v2.NftImage
|
|
746
930
|
*/
|
package/dist/data/v2/types_pb.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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";
|
|
5
|
+
import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
|
|
6
6
|
import { TokenType } from "../v1/types_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from enum data.v2.TokensOrderBy
|
|
@@ -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.
|
|
@@ -865,6 +891,180 @@ Token.fields = proto3.util.newFieldList(() => [
|
|
|
865
891
|
{ no: 10, name: "project", kind: "message", T: TokenProject },
|
|
866
892
|
{ no: 11, name: "multichain", kind: "message", T: TokenMultichain, opt: true },
|
|
867
893
|
]);
|
|
894
|
+
/**
|
|
895
|
+
* A token launchpad known to the Launches surface (see the data-api
|
|
896
|
+
* launchpad registry). A launchpad is the launching FRONTEND users see; id is
|
|
897
|
+
* the stable slug used in launchpad_id filters.
|
|
898
|
+
*
|
|
899
|
+
* @generated from message data.v2.Launchpad
|
|
900
|
+
*/
|
|
901
|
+
export class Launchpad extends Message {
|
|
902
|
+
constructor(data) {
|
|
903
|
+
super();
|
|
904
|
+
/**
|
|
905
|
+
* @generated from field: string id = 1;
|
|
906
|
+
*/
|
|
907
|
+
this.id = "";
|
|
908
|
+
/**
|
|
909
|
+
* @generated from field: string name = 2;
|
|
910
|
+
*/
|
|
911
|
+
this.name = "";
|
|
912
|
+
proto3.util.initPartial(data, this);
|
|
913
|
+
}
|
|
914
|
+
static fromBinary(bytes, options) {
|
|
915
|
+
return new Launchpad().fromBinary(bytes, options);
|
|
916
|
+
}
|
|
917
|
+
static fromJson(jsonValue, options) {
|
|
918
|
+
return new Launchpad().fromJson(jsonValue, options);
|
|
919
|
+
}
|
|
920
|
+
static fromJsonString(jsonString, options) {
|
|
921
|
+
return new Launchpad().fromJsonString(jsonString, options);
|
|
922
|
+
}
|
|
923
|
+
static equals(a, b) {
|
|
924
|
+
return proto3.util.equals(Launchpad, a, b);
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
Launchpad.runtime = proto3;
|
|
928
|
+
Launchpad.typeName = "data.v2.Launchpad";
|
|
929
|
+
Launchpad.fields = proto3.util.newFieldList(() => [
|
|
930
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
931
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
932
|
+
{ no: 3, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
933
|
+
{ no: 4, name: "protocol", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
934
|
+
]);
|
|
935
|
+
/**
|
|
936
|
+
* The launched token's identity and display metadata.
|
|
937
|
+
*
|
|
938
|
+
* @generated from message data.v2.LaunchToken
|
|
939
|
+
*/
|
|
940
|
+
export class LaunchToken extends Message {
|
|
941
|
+
constructor(data) {
|
|
942
|
+
super();
|
|
943
|
+
/**
|
|
944
|
+
* @generated from field: uint32 chain_id = 1;
|
|
945
|
+
*/
|
|
946
|
+
this.chainId = 0;
|
|
947
|
+
/**
|
|
948
|
+
* @generated from field: string address = 2;
|
|
949
|
+
*/
|
|
950
|
+
this.address = "";
|
|
951
|
+
/**
|
|
952
|
+
* @generated from field: string symbol = 3;
|
|
953
|
+
*/
|
|
954
|
+
this.symbol = "";
|
|
955
|
+
/**
|
|
956
|
+
* @generated from field: string name = 4;
|
|
957
|
+
*/
|
|
958
|
+
this.name = "";
|
|
959
|
+
proto3.util.initPartial(data, this);
|
|
960
|
+
}
|
|
961
|
+
static fromBinary(bytes, options) {
|
|
962
|
+
return new LaunchToken().fromBinary(bytes, options);
|
|
963
|
+
}
|
|
964
|
+
static fromJson(jsonValue, options) {
|
|
965
|
+
return new LaunchToken().fromJson(jsonValue, options);
|
|
966
|
+
}
|
|
967
|
+
static fromJsonString(jsonString, options) {
|
|
968
|
+
return new LaunchToken().fromJsonString(jsonString, options);
|
|
969
|
+
}
|
|
970
|
+
static equals(a, b) {
|
|
971
|
+
return proto3.util.equals(LaunchToken, a, b);
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
LaunchToken.runtime = proto3;
|
|
975
|
+
LaunchToken.typeName = "data.v2.LaunchToken";
|
|
976
|
+
LaunchToken.fields = proto3.util.newFieldList(() => [
|
|
977
|
+
{ no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
978
|
+
{ no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
979
|
+
{ no: 3, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
980
|
+
{ no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
981
|
+
{ no: 5, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
982
|
+
]);
|
|
983
|
+
/**
|
|
984
|
+
* Live USD stats for a launch's pool/token. Each field is unset when its
|
|
985
|
+
* source has no data yet (fresh launches lag the stats pipelines).
|
|
986
|
+
*
|
|
987
|
+
* @generated from message data.v2.LaunchStats
|
|
988
|
+
*/
|
|
989
|
+
export class LaunchStats extends Message {
|
|
990
|
+
constructor(data) {
|
|
991
|
+
super();
|
|
992
|
+
proto3.util.initPartial(data, this);
|
|
993
|
+
}
|
|
994
|
+
static fromBinary(bytes, options) {
|
|
995
|
+
return new LaunchStats().fromBinary(bytes, options);
|
|
996
|
+
}
|
|
997
|
+
static fromJson(jsonValue, options) {
|
|
998
|
+
return new LaunchStats().fromJson(jsonValue, options);
|
|
999
|
+
}
|
|
1000
|
+
static fromJsonString(jsonString, options) {
|
|
1001
|
+
return new LaunchStats().fromJsonString(jsonString, options);
|
|
1002
|
+
}
|
|
1003
|
+
static equals(a, b) {
|
|
1004
|
+
return proto3.util.equals(LaunchStats, a, b);
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
LaunchStats.runtime = proto3;
|
|
1008
|
+
LaunchStats.typeName = "data.v2.LaunchStats";
|
|
1009
|
+
LaunchStats.fields = proto3.util.newFieldList(() => [
|
|
1010
|
+
{ no: 1, name: "volume_24h_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1011
|
+
{ no: 2, name: "tvl_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1012
|
+
{ no: 3, name: "price_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1013
|
+
{ no: 4, name: "fdv_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1014
|
+
{ no: 5, name: "price_change_percent_1h", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1015
|
+
{ no: 6, name: "price_change_percent_24h", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1016
|
+
]);
|
|
1017
|
+
/**
|
|
1018
|
+
* One token launch: the earliest pool a (token, launchpad) pair created.
|
|
1019
|
+
*
|
|
1020
|
+
* @generated from message data.v2.Launch
|
|
1021
|
+
*/
|
|
1022
|
+
export class Launch extends Message {
|
|
1023
|
+
constructor(data) {
|
|
1024
|
+
super();
|
|
1025
|
+
/**
|
|
1026
|
+
* @generated from field: string launchpad_id = 1;
|
|
1027
|
+
*/
|
|
1028
|
+
this.launchpadId = "";
|
|
1029
|
+
/**
|
|
1030
|
+
* v4 pool id for hook-attributed launches; CCA pool key hash once the
|
|
1031
|
+
* auction has migrated to a pool, empty before then.
|
|
1032
|
+
*
|
|
1033
|
+
* @generated from field: string pool_id = 3;
|
|
1034
|
+
*/
|
|
1035
|
+
this.poolId = "";
|
|
1036
|
+
/**
|
|
1037
|
+
* unix seconds
|
|
1038
|
+
*
|
|
1039
|
+
* @generated from field: int64 launched_at = 5;
|
|
1040
|
+
*/
|
|
1041
|
+
this.launchedAt = protoInt64.zero;
|
|
1042
|
+
proto3.util.initPartial(data, this);
|
|
1043
|
+
}
|
|
1044
|
+
static fromBinary(bytes, options) {
|
|
1045
|
+
return new Launch().fromBinary(bytes, options);
|
|
1046
|
+
}
|
|
1047
|
+
static fromJson(jsonValue, options) {
|
|
1048
|
+
return new Launch().fromJson(jsonValue, options);
|
|
1049
|
+
}
|
|
1050
|
+
static fromJsonString(jsonString, options) {
|
|
1051
|
+
return new Launch().fromJsonString(jsonString, options);
|
|
1052
|
+
}
|
|
1053
|
+
static equals(a, b) {
|
|
1054
|
+
return proto3.util.equals(Launch, a, b);
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
1057
|
+
Launch.runtime = proto3;
|
|
1058
|
+
Launch.typeName = "data.v2.Launch";
|
|
1059
|
+
Launch.fields = proto3.util.newFieldList(() => [
|
|
1060
|
+
{ no: 1, name: "launchpad_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1061
|
+
{ no: 2, name: "token", kind: "message", T: LaunchToken },
|
|
1062
|
+
{ no: 3, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1063
|
+
{ no: 4, name: "hooks_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1064
|
+
{ no: 5, name: "launched_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1065
|
+
{ no: 6, name: "stats", kind: "message", T: LaunchStats },
|
|
1066
|
+
{ no: 7, name: "graduated", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1067
|
+
]);
|
|
868
1068
|
/**
|
|
869
1069
|
* @generated from message data.v2.NftImage
|
|
870
1070
|
*/
|