@uniswap/client-data-api 0.0.125 → 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.
@@ -2135,6 +2135,10 @@ export declare class ListRwaTokensRequest extends Message<ListRwaTokensRequest>
2135
2135
  * @generated from field: bool include_sparkline_1d = 3;
2136
2136
  */
2137
2137
  includeSparkline1d: boolean;
2138
+ /**
2139
+ * @generated from field: bool use_substream_data = 4;
2140
+ */
2141
+ useSubstreamData: boolean;
2138
2142
  constructor(data?: PartialMessage<ListRwaTokensRequest>);
2139
2143
  static readonly runtime: typeof proto3;
2140
2144
  static readonly typeName = "data.v1.ListRwaTokensRequest";
@@ -2181,6 +2185,10 @@ export declare class ListRankedRwasRequest extends Message<ListRankedRwasRequest
2181
2185
  * @generated from field: bool include_sparkline_1d = 3;
2182
2186
  */
2183
2187
  includeSparkline1d: boolean;
2188
+ /**
2189
+ * @generated from field: bool use_substream_data = 4;
2190
+ */
2191
+ useSubstreamData: boolean;
2184
2192
  constructor(data?: PartialMessage<ListRankedRwasRequest>);
2185
2193
  static readonly runtime: typeof proto3;
2186
2194
  static readonly typeName = "data.v1.ListRankedRwasRequest";
@@ -2855,6 +2855,10 @@ export class ListRwaTokensRequest extends Message {
2855
2855
  * @generated from field: bool include_sparkline_1d = 3;
2856
2856
  */
2857
2857
  this.includeSparkline1d = false;
2858
+ /**
2859
+ * @generated from field: bool use_substream_data = 4;
2860
+ */
2861
+ this.useSubstreamData = false;
2858
2862
  proto3.util.initPartial(data, this);
2859
2863
  }
2860
2864
  static fromBinary(bytes, options) {
@@ -2876,6 +2880,7 @@ ListRwaTokensRequest.fields = proto3.util.newFieldList(() => [
2876
2880
  { no: 1, name: "category", kind: "enum", T: proto3.getEnumType(RwaCategory) },
2877
2881
  { no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
2878
2882
  { no: 3, name: "include_sparkline_1d", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2883
+ { no: 4, name: "use_substream_data", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2879
2884
  ]);
2880
2885
  /**
2881
2886
  * @generated from message data.v1.ListRwaTokensResponse
@@ -2929,6 +2934,10 @@ export class ListRankedRwasRequest extends Message {
2929
2934
  * @generated from field: bool include_sparkline_1d = 3;
2930
2935
  */
2931
2936
  this.includeSparkline1d = false;
2937
+ /**
2938
+ * @generated from field: bool use_substream_data = 4;
2939
+ */
2940
+ this.useSubstreamData = false;
2932
2941
  proto3.util.initPartial(data, this);
2933
2942
  }
2934
2943
  static fromBinary(bytes, options) {
@@ -2950,6 +2959,7 @@ ListRankedRwasRequest.fields = proto3.util.newFieldList(() => [
2950
2959
  { no: 1, name: "category", kind: "enum", T: proto3.getEnumType(RwaCategory) },
2951
2960
  { no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
2952
2961
  { no: 3, name: "include_sparkline_1d", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2962
+ { no: 4, name: "use_substream_data", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2953
2963
  ]);
2954
2964
  /**
2955
2965
  * @generated from message data.v1.ListRankedRwasResponse
@@ -2,7 +2,8 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialM
2
2
  import { Message, proto3 } from "@bufbuild/protobuf";
3
3
  import { ProtectionInfo } from "./types_pb.js";
4
4
  /**
5
- * How a graduated LP position is locked (which timelock recipient contract holds it).
5
+ * How a graduated LP position is locked (which timelock recipient contract holds it,
6
+ * or BURN when it was minted directly to the burn address).
6
7
  *
7
8
  * @generated from enum data.v1.LockMode
8
9
  */
@@ -22,7 +23,15 @@ export declare enum LockMode {
22
23
  /**
23
24
  * @generated from enum value: LOCK_MODE_BUYBACK_BURN = 3;
24
25
  */
25
- BUYBACK_BURN = 3
26
+ BUYBACK_BURN = 3,
27
+ /**
28
+ * The LP position was minted directly to the burn address
29
+ * (0x000000000000000000000000000000000000dEaD): no recipient contract exists
30
+ * and the position can never be withdrawn. locked_forever is always true.
31
+ *
32
+ * @generated from enum value: LOCK_MODE_BURN = 4;
33
+ */
34
+ BURN = 4
26
35
  }
27
36
  /**
28
37
  * Request to fetch all bids by a wallet.
@@ -241,13 +250,14 @@ export declare class GetAuctionRequest extends Message<GetAuctionRequest> {
241
250
  }
242
251
  /**
243
252
  * Liquidity-lock metadata for auctions whose graduated LP position is held by a
244
- * timelock recipient contract. Set on Auction only when the position is locked.
253
+ * timelock recipient contract (or by the burn address for LOCK_MODE_BURN). Set on
254
+ * Auction only when the position is locked.
245
255
  *
246
256
  * @generated from message data.v1.LiquidityLockInfo
247
257
  */
248
258
  export declare class LiquidityLockInfo extends Message<LiquidityLockInfo> {
249
259
  /**
250
- * Lock recipient contract address.
260
+ * Lock recipient contract address (the burn address for LOCK_MODE_BURN).
251
261
  *
252
262
  * @generated from field: string lock_recipient = 1;
253
263
  */
@@ -258,13 +268,16 @@ export declare class LiquidityLockInfo extends Message<LiquidityLockInfo> {
258
268
  lockMode: LockMode;
259
269
  /**
260
270
  * Unlock block number only — clients estimate the calendar date from it.
271
+ * 0 for LOCK_MODE_BURN (nothing ever unlocks): check locked_forever before
272
+ * rendering an unlock date.
261
273
  *
262
274
  * @generated from field: uint64 unlock_block = 3;
263
275
  */
264
276
  unlockBlock: bigint;
265
277
  /**
266
278
  * Timelock operator: the address that can claim the position after unlock
267
- * ("LP owner" display while locked).
279
+ * ("LP owner" display while locked). Empty for LOCK_MODE_BURN — no one can
280
+ * ever claim a burned position.
268
281
  *
269
282
  * @generated from field: string lp_operator = 4;
270
283
  */
@@ -288,6 +301,15 @@ export declare class LiquidityLockInfo extends Message<LiquidityLockInfo> {
288
301
  * @generated from field: string total_tokens_burned = 7;
289
302
  */
290
303
  totalTokensBurned: string;
304
+ /**
305
+ * True when the position can never be withdrawn: LOCK_MODE_BURN, or a
306
+ * contract-held lock whose unlock_block is so far in the future it is
307
+ * effectively permanent (the legacy "Permanent" preset encoded ~100,000
308
+ * years as a timelock). Render "locked forever" and ignore unlock_block.
309
+ *
310
+ * @generated from field: bool locked_forever = 8;
311
+ */
312
+ lockedForever: boolean;
291
313
  constructor(data?: PartialMessage<LiquidityLockInfo>);
292
314
  static readonly runtime: typeof proto3;
293
315
  static readonly typeName = "data.v1.LiquidityLockInfo";
@@ -5,7 +5,8 @@
5
5
  import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
6
6
  import { ProtectionInfo } from "./types_pb.js";
7
7
  /**
8
- * How a graduated LP position is locked (which timelock recipient contract holds it).
8
+ * How a graduated LP position is locked (which timelock recipient contract holds it,
9
+ * or BURN when it was minted directly to the burn address).
9
10
  *
10
11
  * @generated from enum data.v1.LockMode
11
12
  */
@@ -27,6 +28,14 @@ export var LockMode;
27
28
  * @generated from enum value: LOCK_MODE_BUYBACK_BURN = 3;
28
29
  */
29
30
  LockMode[LockMode["BUYBACK_BURN"] = 3] = "BUYBACK_BURN";
31
+ /**
32
+ * The LP position was minted directly to the burn address
33
+ * (0x000000000000000000000000000000000000dEaD): no recipient contract exists
34
+ * and the position can never be withdrawn. locked_forever is always true.
35
+ *
36
+ * @generated from enum value: LOCK_MODE_BURN = 4;
37
+ */
38
+ LockMode[LockMode["BURN"] = 4] = "BURN";
30
39
  })(LockMode || (LockMode = {}));
31
40
  // Retrieve enum metadata with: proto3.getEnumType(LockMode)
32
41
  proto3.util.setEnumType(LockMode, "data.v1.LockMode", [
@@ -34,6 +43,7 @@ proto3.util.setEnumType(LockMode, "data.v1.LockMode", [
34
43
  { no: 1, name: "LOCK_MODE_TIMELOCK" },
35
44
  { no: 2, name: "LOCK_MODE_FEES_FORWARDER" },
36
45
  { no: 3, name: "LOCK_MODE_BUYBACK_BURN" },
46
+ { no: 4, name: "LOCK_MODE_BURN" },
37
47
  ]);
38
48
  /**
39
49
  * Request to fetch all bids by a wallet.
@@ -356,7 +366,8 @@ GetAuctionRequest.fields = proto3.util.newFieldList(() => [
356
366
  ]);
357
367
  /**
358
368
  * Liquidity-lock metadata for auctions whose graduated LP position is held by a
359
- * timelock recipient contract. Set on Auction only when the position is locked.
369
+ * timelock recipient contract (or by the burn address for LOCK_MODE_BURN). Set on
370
+ * Auction only when the position is locked.
360
371
  *
361
372
  * @generated from message data.v1.LiquidityLockInfo
362
373
  */
@@ -364,7 +375,7 @@ export class LiquidityLockInfo extends Message {
364
375
  constructor(data) {
365
376
  super();
366
377
  /**
367
- * Lock recipient contract address.
378
+ * Lock recipient contract address (the burn address for LOCK_MODE_BURN).
368
379
  *
369
380
  * @generated from field: string lock_recipient = 1;
370
381
  */
@@ -375,13 +386,16 @@ export class LiquidityLockInfo extends Message {
375
386
  this.lockMode = LockMode.UNSPECIFIED;
376
387
  /**
377
388
  * Unlock block number only — clients estimate the calendar date from it.
389
+ * 0 for LOCK_MODE_BURN (nothing ever unlocks): check locked_forever before
390
+ * rendering an unlock date.
378
391
  *
379
392
  * @generated from field: uint64 unlock_block = 3;
380
393
  */
381
394
  this.unlockBlock = protoInt64.zero;
382
395
  /**
383
396
  * Timelock operator: the address that can claim the position after unlock
384
- * ("LP owner" display while locked).
397
+ * ("LP owner" display while locked). Empty for LOCK_MODE_BURN — no one can
398
+ * ever claim a burned position.
385
399
  *
386
400
  * @generated from field: string lp_operator = 4;
387
401
  */
@@ -393,6 +407,15 @@ export class LiquidityLockInfo extends Message {
393
407
  * @generated from field: string total_tokens_burned = 7;
394
408
  */
395
409
  this.totalTokensBurned = "";
410
+ /**
411
+ * True when the position can never be withdrawn: LOCK_MODE_BURN, or a
412
+ * contract-held lock whose unlock_block is so far in the future it is
413
+ * effectively permanent (the legacy "Permanent" preset encoded ~100,000
414
+ * years as a timelock). Render "locked forever" and ignore unlock_block.
415
+ *
416
+ * @generated from field: bool locked_forever = 8;
417
+ */
418
+ this.lockedForever = false;
396
419
  proto3.util.initPartial(data, this);
397
420
  }
398
421
  static fromBinary(bytes, options) {
@@ -418,6 +441,7 @@ LiquidityLockInfo.fields = proto3.util.newFieldList(() => [
418
441
  { no: 5, name: "fee_recipient", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
419
442
  { no: 6, name: "min_token_burn_amount", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
420
443
  { no: 7, name: "total_tokens_burned", kind: "scalar", T: 9 /* ScalarType.STRING */ },
444
+ { no: 8, name: "locked_forever", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
421
445
  ]);
422
446
  /**
423
447
  * A single auction resource.
@@ -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
  };
@@ -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
  */
@@ -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
  */
@@ -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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.125",
3
+ "version": "0.0.127",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },