@uniswap/client-data-api 0.0.295 → 0.0.297

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.
Files changed (53) hide show
  1. package/dist/buf/validate/validate_pb.d.ts +4833 -0
  2. package/dist/buf/validate/validate_pb.js +356 -0
  3. package/dist/data/v1/api-DataApiService_connectquery.d.ts +88 -200
  4. package/dist/data/v1/api-DataApiService_connectquery.js +24 -224
  5. package/dist/data/v1/api_pb.d.ts +843 -845
  6. package/dist/data/v1/api_pb.js +393 -2676
  7. package/dist/data/v1/featureGating_pb.d.ts +31 -26
  8. package/dist/data/v1/featureGating_pb.js +13 -50
  9. package/dist/data/v1/plan_pb.d.ts +29 -0
  10. package/dist/data/v1/plan_pb.js +30 -69
  11. package/dist/data/v1/poolTypes_pb.d.ts +118 -127
  12. package/dist/data/v1/poolTypes_pb.js +47 -438
  13. package/dist/data/v1/types_pb.d.ts +1276 -1334
  14. package/dist/data/v1/types_pb.js +249 -2021
  15. package/dist/data/v1/workerService-WorkerService_connectquery.d.ts +16 -38
  16. package/dist/data/v1/workerService-WorkerService_connectquery.js +6 -44
  17. package/dist/data/v1/workerService_pb.d.ts +99 -92
  18. package/dist/data/v1/workerService_pb.js +37 -248
  19. package/dist/data/v2/api-DataApiService_connectquery.d.ts +148 -335
  20. package/dist/data/v2/api-DataApiService_connectquery.js +39 -374
  21. package/dist/data/v2/api_pb.d.ts +1087 -1054
  22. package/dist/data/v2/api_pb.js +483 -3805
  23. package/dist/data/v2/categories_pb.d.ts +130 -142
  24. package/dist/data/v2/categories_pb.js +55 -457
  25. package/dist/data/v2/common_pb.d.ts +23 -25
  26. package/dist/data/v2/common_pb.js +12 -59
  27. package/dist/data/v2/earn_pb.d.ts +92 -92
  28. package/dist/data/v2/earn_pb.js +33 -229
  29. package/dist/data/v2/hooks_pb.d.ts +119 -135
  30. package/dist/data/v2/hooks_pb.js +49 -315
  31. package/dist/data/v2/search-SearchService_connectquery.d.ts +4 -11
  32. package/dist/data/v2/search-SearchService_connectquery.js +3 -14
  33. package/dist/data/v2/search_pb.d.ts +139 -120
  34. package/dist/data/v2/search_pb.js +34 -225
  35. package/dist/data/v2/tokenGroups_pb.d.ts +31 -36
  36. package/dist/data/v2/tokenGroups_pb.js +16 -126
  37. package/dist/data/v2/types_pb.d.ts +1823 -1846
  38. package/dist/data/v2/types_pb.js +282 -2141
  39. package/dist/data/v2/workerService-WorkerService_connectquery.d.ts +4 -11
  40. package/dist/data/v2/workerService-WorkerService_connectquery.js +3 -14
  41. package/dist/data/v2/workerService_pb.d.ts +35 -22
  42. package/dist/data/v2/workerService_pb.js +20 -47
  43. package/package.json +1 -1
  44. package/dist/data/v1/api_connect.d.ts +0 -208
  45. package/dist/data/v1/api_connect.js +0 -212
  46. package/dist/data/v1/workerService_connect.d.ts +0 -46
  47. package/dist/data/v1/workerService_connect.js +0 -50
  48. package/dist/data/v2/api_connect.d.ts +0 -343
  49. package/dist/data/v2/api_connect.js +0 -347
  50. package/dist/data/v2/search_connect.d.ts +0 -21
  51. package/dist/data/v2/search_connect.js +0 -25
  52. package/dist/data/v2/workerService_connect.d.ts +0 -23
  53. package/dist/data/v2/workerService_connect.js +0 -27
@@ -1,1233 +1,1393 @@
1
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
- import { Message, proto3, Timestamp } from "@bufbuild/protobuf";
3
- import { TimestampedValue, TokenType } from "../v1/types_pb.js";
4
- import { ProtocolVersion, Token as Token$1 } from "../v1/poolTypes_pb.js";
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { TimestampedValue, TokenType } from "../v1/types_pb";
3
+ import type { ProtocolVersion, Token as Token$1 } from "../v1/poolTypes_pb";
4
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
5
+ import type { Message } from "@bufbuild/protobuf";
5
6
  /**
6
- * @generated from enum data.v2.TokensOrderBy
7
+ * Describes the file data/v2/types.proto.
7
8
  */
8
- export declare enum TokensOrderBy {
9
- /**
10
- * @generated from enum value: TOKENS_ORDER_BY_UNSPECIFIED = 0;
11
- */
12
- UNSPECIFIED = 0,
9
+ export declare const file_data_v2_types: GenFile;
10
+ /**
11
+ * Volume, TVL, FDV, market-cap, and price-change stats for a ranked token.
12
+ * All values are USD-denominated.
13
+ * All fields are populated from Clickhouse aggregations.
14
+ *
15
+ * @generated from message data.v2.TokenRankStats
16
+ */
17
+ export type TokenRankStats = Message<"data.v2.TokenRankStats"> & {
13
18
  /**
14
- * @generated from enum value: TOKENS_ORDER_BY_TVL = 1;
19
+ * @generated from field: optional double volume_1h = 1;
15
20
  */
16
- TVL = 1,
21
+ volume1h?: number | undefined;
17
22
  /**
18
- * @generated from enum value: TOKENS_ORDER_BY_VOLUME_1H = 2;
23
+ * @generated from field: optional double volume_1d = 2;
19
24
  */
20
- VOLUME_1H = 2,
25
+ volume1d?: number | undefined;
21
26
  /**
22
- * @generated from enum value: TOKENS_ORDER_BY_VOLUME_1D = 3;
27
+ * @generated from field: optional double volume_7d = 3;
23
28
  */
24
- VOLUME_1D = 3,
29
+ volume7d?: number | undefined;
25
30
  /**
26
- * @generated from enum value: TOKENS_ORDER_BY_VOLUME_7D = 4;
31
+ * @generated from field: optional double volume_30d = 4;
27
32
  */
28
- VOLUME_7D = 4,
33
+ volume30d?: number | undefined;
29
34
  /**
30
- * @generated from enum value: TOKENS_ORDER_BY_VOLUME_30D = 5;
35
+ * @generated from field: optional double volume_1y = 5;
31
36
  */
32
- VOLUME_30D = 5,
37
+ volume1y?: number | undefined;
33
38
  /**
34
- * @generated from enum value: TOKENS_ORDER_BY_VOLUME_1Y = 6;
39
+ * @generated from field: optional double volume_all = 6;
35
40
  */
36
- VOLUME_1Y = 6,
41
+ volumeAll?: number | undefined;
37
42
  /**
38
- * @generated from enum value: TOKENS_ORDER_BY_VOLUME_ALL = 7;
43
+ * @generated from field: optional double tvl = 7;
39
44
  */
40
- VOLUME_ALL = 7,
45
+ tvl?: number | undefined;
41
46
  /**
42
- * @generated from enum value: TOKENS_ORDER_BY_FDV = 8;
47
+ * @generated from field: optional double fdv = 8;
43
48
  */
44
- FDV = 8,
49
+ fdv?: number | undefined;
45
50
  /**
46
- * @generated from enum value: TOKENS_ORDER_BY_PRICE_CHANGE_1H = 9;
51
+ * Not additive across a multichain group's members: the canonical chain's
52
+ * value (mainnet, else lowest chain_id) — the same member the TDP's
53
+ * headline % change is computed from.
54
+ *
55
+ * @generated from field: optional double price_change_1h = 9;
47
56
  */
48
- PRICE_CHANGE_1H = 9,
57
+ priceChange1h?: number | undefined;
49
58
  /**
50
- * @generated from enum value: TOKENS_ORDER_BY_PRICE_CHANGE_1D = 10;
59
+ * @generated from field: optional double price_change_1d = 10;
51
60
  */
52
- PRICE_CHANGE_1D = 10,
61
+ priceChange1d?: number | undefined;
53
62
  /**
54
- * @generated from enum value: TOKENS_ORDER_BY_MARKET_CAP = 11;
63
+ * USD spot price of the canonical chain member (mainnet, else lowest
64
+ * chain_id; current_token_prices). Populated only on PRICE-ordered
65
+ * requests; it is exactly the ranked value.
66
+ *
67
+ * @generated from field: optional double price = 11;
55
68
  */
56
- MARKET_CAP = 11,
69
+ price?: number | undefined;
57
70
  /**
58
- * @generated from enum value: TOKENS_ORDER_BY_PRICE = 12;
71
+ * price * circulating supply (chain_token_stats.market_cap_usd). Like fdv,
72
+ * not additive across a multichain group's members: the canonical chain's
73
+ * value. Unset where the pipeline has no circulating-supply source, and
74
+ * unset for Solana (no Codex source wired here).
75
+ *
76
+ * @generated from field: optional double market_cap = 12;
59
77
  */
60
- PRICE = 12
61
- }
78
+ marketCap?: number | undefined;
79
+ };
62
80
  /**
63
- * The fiat currencies the legacy GraphQL convert resolver accepts
64
- * (ETH/MATIC intentionally unrepresentable) plus later additions (SEK).
65
- * "Fiat" prefix avoids collision with the SDK's Currency (token) type.
81
+ * Describes the message data.v2.TokenRankStats.
82
+ * Use `create(TokenRankStatsSchema)` to create a new message.
83
+ */
84
+ export declare const TokenRankStatsSchema: GenMessage<TokenRankStats>;
85
+ /**
86
+ * Sort field and direction for ListTokens.
66
87
  *
67
- * @generated from enum data.v2.FiatCurrency
88
+ * @generated from message data.v2.TokensSort
68
89
  */
69
- export declare enum FiatCurrency {
90
+ export type TokensSort = Message<"data.v2.TokensSort"> & {
70
91
  /**
71
- * @generated from enum value: FIAT_CURRENCY_UNSPECIFIED = 0;
92
+ * default: TOKENS_ORDER_BY_VOLUME_1D
93
+ *
94
+ * @generated from field: optional data.v2.TokensOrderBy order_by = 1;
72
95
  */
73
- UNSPECIFIED = 0,
96
+ orderBy?: TokensOrderBy | undefined;
74
97
  /**
75
- * @generated from enum value: FIAT_CURRENCY_ARS = 1;
98
+ * default false (highest first)
99
+ *
100
+ * @generated from field: optional bool ascending = 2;
76
101
  */
77
- ARS = 1,
102
+ ascending?: boolean | undefined;
103
+ };
104
+ /**
105
+ * Describes the message data.v2.TokensSort.
106
+ * Use `create(TokensSortSchema)` to create a new message.
107
+ */
108
+ export declare const TokensSortSchema: GenMessage<TokensSort>;
109
+ /**
110
+ * Server-side filters applied before ranking and pagination.
111
+ *
112
+ * @generated from message data.v2.TokenListFilter
113
+ */
114
+ export type TokenListFilter = Message<"data.v2.TokenListFilter"> & {
78
115
  /**
79
- * @generated from enum value: FIAT_CURRENCY_AUD = 2;
116
+ * Default false (spam excluded): drops tokens affirmatively flagged — a
117
+ * non-Benign Blockaid verdict, blocklisted, or URL-spam; unscanned tokens
118
+ * pass. Independent of apply_top_level_filters: true alone means "show
119
+ * spam but keep the quality gates".
120
+ *
121
+ * @generated from field: optional bool include_spam = 1;
80
122
  */
81
- AUD = 2,
123
+ includeSpam?: boolean | undefined;
82
124
  /**
83
- * @generated from enum value: FIAT_CURRENCY_BRL = 3;
125
+ * @generated from field: optional double min_volume_1d_usd = 2;
84
126
  */
85
- BRL = 3,
127
+ minVolume1dUsd?: number | undefined;
86
128
  /**
87
- * @generated from enum value: FIAT_CURRENCY_CAD = 4;
129
+ * @generated from field: optional double min_tvl_usd = 3;
88
130
  */
89
- CAD = 4,
131
+ minTvlUsd?: number | undefined;
90
132
  /**
91
- * @generated from enum value: FIAT_CURRENCY_CNY = 5;
133
+ * @generated from field: optional bool apply_top_level_filters = 4;
92
134
  */
93
- CNY = 5,
135
+ applyTopLevelFilters?: boolean | undefined;
94
136
  /**
95
- * @generated from enum value: FIAT_CURRENCY_COP = 6;
137
+ * Drops tokenized real-world assets from the ranking. Off by default, so
138
+ * RWAs rank alongside every other token. An asset is dropped if any of its
139
+ * chain deployments is known to be an RWA; assets not yet classified are
140
+ * kept. EVM only: Solana RWAs are not yet flagged.
141
+ *
142
+ * @generated from field: optional bool exclude_rwas = 5;
96
143
  */
97
- COP = 6,
144
+ excludeRwas?: boolean | undefined;
98
145
  /**
99
- * @generated from enum value: FIAT_CURRENCY_EUR = 7;
146
+ * Serve only members of these categories: OR within this list, AND with
147
+ * the other filter fields.
148
+ *
149
+ * @generated from field: repeated string category_ids = 6;
100
150
  */
101
- EUR = 7,
151
+ categoryIds: string[];
102
152
  /**
103
- * @generated from enum value: FIAT_CURRENCY_GBP = 8;
153
+ * Explore-search filter: free text prefix-matched (case-insensitive,
154
+ * normalized: trimmed, whitespace collapsed, capped at 100 chars) against
155
+ * token name and symbol — or, for a "0x"-prefixed query, against the
156
+ * token address. Narrows the listing; sort, quality gates, and pagination
157
+ * keep their ordinary meanings (filter-the-feed, not relevance search —
158
+ * the Search endpoint serves that). A multichain token matches when any
159
+ * of its per-chain members matches. Empty/whitespace = no filter.
160
+ *
161
+ * @generated from field: optional string search_query = 7;
104
162
  */
105
- GBP = 8,
163
+ searchQuery?: string | undefined;
164
+ };
165
+ /**
166
+ * Describes the message data.v2.TokenListFilter.
167
+ * Use `create(TokenListFilterSchema)` to create a new message.
168
+ */
169
+ export declare const TokenListFilterSchema: GenMessage<TokenListFilter>;
170
+ /**
171
+ * @generated from message data.v2.FiatAmount
172
+ */
173
+ export type FiatAmount = Message<"data.v2.FiatAmount"> & {
106
174
  /**
107
- * @generated from enum value: FIAT_CURRENCY_HKD = 9;
175
+ * @generated from field: data.v2.FiatCurrency currency = 1;
108
176
  */
109
- HKD = 9,
177
+ currency: FiatCurrency;
110
178
  /**
111
- * @generated from enum value: FIAT_CURRENCY_IDR = 10;
179
+ * @generated from field: double value = 2;
112
180
  */
113
- IDR = 10,
181
+ value: number;
182
+ };
183
+ /**
184
+ * Describes the message data.v2.FiatAmount.
185
+ * Use `create(FiatAmountSchema)` to create a new message.
186
+ */
187
+ export declare const FiatAmountSchema: GenMessage<FiatAmount>;
188
+ /**
189
+ * Per-chain volume breakdown within a RankedMultichainToken.
190
+ *
191
+ * @generated from message data.v2.ChainTokenRankStats
192
+ */
193
+ export type ChainTokenRankStats = Message<"data.v2.ChainTokenRankStats"> & {
114
194
  /**
115
- * @generated from enum value: FIAT_CURRENCY_INR = 11;
195
+ * @generated from field: uint32 chain_id = 1;
116
196
  */
117
- INR = 11,
197
+ chainId: number;
118
198
  /**
119
- * @generated from enum value: FIAT_CURRENCY_JPY = 12;
199
+ * @generated from field: data.v2.TokenRankStats stats = 2;
120
200
  */
121
- JPY = 12,
201
+ stats?: TokenRankStats | undefined;
202
+ };
203
+ /**
204
+ * Describes the message data.v2.ChainTokenRankStats.
205
+ * Use `create(ChainTokenRankStatsSchema)` to create a new message.
206
+ */
207
+ export declare const ChainTokenRankStatsSchema: GenMessage<ChainTokenRankStats>;
208
+ /**
209
+ * Returned by ListTokens — wraps a MultichainToken with its ranking stats.
210
+ *
211
+ * @generated from message data.v2.RankedMultichainToken
212
+ */
213
+ export type RankedMultichainToken = Message<"data.v2.RankedMultichainToken"> & {
122
214
  /**
123
- * @generated from enum value: FIAT_CURRENCY_KRW = 13;
215
+ * @generated from field: data.v2.MultichainToken multichain_token = 1;
124
216
  */
125
- KRW = 13,
217
+ multichainToken?: MultichainToken | undefined;
126
218
  /**
127
- * @generated from enum value: FIAT_CURRENCY_MXN = 14;
219
+ * @generated from field: data.v2.TokenRankStats stats = 2;
128
220
  */
129
- MXN = 14,
221
+ stats?: TokenRankStats | undefined;
130
222
  /**
131
- * @generated from enum value: FIAT_CURRENCY_NGN = 15;
223
+ * @generated from field: repeated data.v2.ChainTokenRankStats chain_stats = 3;
132
224
  */
133
- NGN = 15,
225
+ chainStats: ChainTokenRankStats[];
134
226
  /**
135
- * @generated from enum value: FIAT_CURRENCY_NZD = 16;
227
+ * USD price sparkline over sparkline_duration, from the same chain member
228
+ * as price_change. <=20 points, oldest first; timestamps are synthesized,
229
+ * not observed. Empty when no series is available.
230
+ *
231
+ * @generated from field: repeated data.v1.TimestampedValue sparkline = 4;
136
232
  */
137
- NZD = 16,
233
+ sparkline: TimestampedValue[];
234
+ };
235
+ /**
236
+ * Describes the message data.v2.RankedMultichainToken.
237
+ * Use `create(RankedMultichainTokenSchema)` to create a new message.
238
+ */
239
+ export declare const RankedMultichainTokenSchema: GenMessage<RankedMultichainToken>;
240
+ /**
241
+ * @generated from message data.v2.TokenPriceData
242
+ */
243
+ export type TokenPriceData = Message<"data.v2.TokenPriceData"> & {
138
244
  /**
139
- * @generated from enum value: FIAT_CURRENCY_PKR = 17;
245
+ * @generated from field: optional double spot_usd = 1;
140
246
  */
141
- PKR = 17,
247
+ spotUsd?: number | undefined;
142
248
  /**
143
- * @generated from enum value: FIAT_CURRENCY_RUB = 18;
249
+ * @generated from field: optional double percent_change_1d = 2;
144
250
  */
145
- RUB = 18,
251
+ percentChange1d?: number | undefined;
146
252
  /**
147
- * @generated from enum value: FIAT_CURRENCY_SGD = 19;
253
+ * @generated from field: optional double percent_change_1h = 3;
148
254
  */
149
- SGD = 19,
255
+ percentChange1h?: number | undefined;
150
256
  /**
151
- * @generated from enum value: FIAT_CURRENCY_THB = 20;
257
+ * USD price ~24h ago — the anchor percent_change_1d is measured against.
258
+ * When set, percent_change_1d is computed at serve time from spot_usd
259
+ * against this anchor (live numerator, 1d-cron-refreshed denominator);
260
+ * unset when the stats pipeline has not resolved an anchor yet.
261
+ *
262
+ * @generated from field: optional double price_24h_ago_usd = 4;
152
263
  */
153
- THB = 20,
264
+ price24hAgoUsd?: number | undefined;
154
265
  /**
155
- * @generated from enum value: FIAT_CURRENCY_TRY = 21;
266
+ * Confidence in spot_usd, 0 to 1: the pricing pipeline's route score. USDC
267
+ * anchors at 1, and each pool hop on the route to USDC scales it down by
268
+ * that pool's 24h depth and swap count. Unset means unknown, never low
269
+ * confidence: no Aurora price row, a price older than 24h, or a source that
270
+ * does not score prices, such as Codex for Solana.
271
+ *
272
+ * @generated from field: optional double confidence_score = 5;
156
273
  */
157
- TRY = 21,
274
+ confidenceScore?: number | undefined;
275
+ };
276
+ /**
277
+ * Describes the message data.v2.TokenPriceData.
278
+ * Use `create(TokenPriceDataSchema)` to create a new message.
279
+ */
280
+ export declare const TokenPriceDataSchema: GenMessage<TokenPriceData>;
281
+ /**
282
+ * Live on-chain market stats for a single token, USD-denominated.
283
+ * Live on-chain market stats, shared by the single-chain (TokenMarket) and
284
+ * multichain (MultichainTokenMarket) views. In the multichain case TVL and
285
+ * volume are summed across chains and 52-week high/low come from the canonical
286
+ * chain; in the single-chain case all values are for that one token.
287
+ *
288
+ * @generated from message data.v2.TokenMarketStats
289
+ */
290
+ export type TokenMarketStats = Message<"data.v2.TokenMarketStats"> & {
158
291
  /**
159
- * @generated from enum value: FIAT_CURRENCY_UAH = 22;
292
+ * @generated from field: optional double total_value_locked_usd = 1;
160
293
  */
161
- UAH = 22,
294
+ totalValueLockedUsd?: number | undefined;
162
295
  /**
163
- * @generated from enum value: FIAT_CURRENCY_USD = 23;
296
+ * price * circulating supply. NULL for EVM until CONS-2571's write path
297
+ * populates chain_token_stats.market_cap_usd; unset for Solana (no Codex
298
+ * source wired here).
299
+ *
300
+ * @generated from field: optional double market_cap_usd = 2;
164
301
  */
165
- USD = 23,
302
+ marketCapUsd?: number | undefined;
166
303
  /**
167
- * @generated from enum value: FIAT_CURRENCY_VND = 24;
304
+ * price * total supply. Same NULL/unset rules as market_cap_usd.
305
+ *
306
+ * @generated from field: optional double fully_diluted_valuation_usd = 3;
168
307
  */
169
- VND = 24,
308
+ fullyDilutedValuationUsd?: number | undefined;
170
309
  /**
171
- * @generated from enum value: FIAT_CURRENCY_SEK = 25;
310
+ * @generated from field: optional double price_high_52w_usd = 4;
172
311
  */
173
- SEK = 25
174
- }
175
- /**
176
- * Client-chosen candle width for the ranged (TradingView) OHLC mode. Served
177
- * from token_price_history via the ClickHouse OHLC path. 1s (trades-derived)
178
- * is intentionally omitted for now.
179
- *
180
- * @generated from enum data.v2.OhlcResolution
181
- */
182
- export declare enum OhlcResolution {
312
+ priceHigh52wUsd?: number | undefined;
183
313
  /**
184
- * @generated from enum value: OHLC_RESOLUTION_UNSPECIFIED = 0;
314
+ * @generated from field: optional double price_low_52w_usd = 5;
185
315
  */
186
- UNSPECIFIED = 0,
316
+ priceLow52wUsd?: number | undefined;
187
317
  /**
188
- * @generated from enum value: OHLC_RESOLUTION_ONE_MINUTE = 1;
189
- */
190
- ONE_MINUTE = 1,
191
- /**
192
- * @generated from enum value: OHLC_RESOLUTION_FIVE_MINUTE = 2;
318
+ * over volume_duration
319
+ *
320
+ * @generated from field: optional double volume_usd = 6;
193
321
  */
194
- FIVE_MINUTE = 2,
322
+ volumeUsd?: number | undefined;
195
323
  /**
196
- * @generated from enum value: OHLC_RESOLUTION_ONE_HOUR = 3;
324
+ * echoes the requested duration (UNSPECIFIED → DAY)
325
+ *
326
+ * @generated from field: data.v2.HistoryDuration volume_duration = 7;
197
327
  */
198
- ONE_HOUR = 3,
328
+ volumeDuration: HistoryDuration;
199
329
  /**
200
- * @generated from enum value: OHLC_RESOLUTION_FOUR_HOUR = 4;
330
+ * USD value of the token's explore-eligible pools, both sides; unset when it
331
+ * has none. Summed like total_value_locked_usd, so a pool holding two summed
332
+ * deployments (e.g. ETH/WETH) counts twice.
333
+ *
334
+ * @generated from field: optional double pools_total_value_locked_usd = 8;
201
335
  */
202
- FOUR_HOUR = 4,
336
+ poolsTotalValueLockedUsd?: number | undefined;
203
337
  /**
204
- * @generated from enum value: OHLC_RESOLUTION_ONE_DAY = 5;
338
+ * @generated from field: optional double price_all_time_high_usd = 9;
205
339
  */
206
- ONE_DAY = 5
207
- }
340
+ priceAllTimeHighUsd?: number | undefined;
341
+ };
208
342
  /**
209
- * Time window for windowed token-market stats; FIVE_MINUTE is intentionally omitted.
343
+ * Describes the message data.v2.TokenMarketStats.
344
+ * Use `create(TokenMarketStatsSchema)` to create a new message.
345
+ */
346
+ export declare const TokenMarketStatsSchema: GenMessage<TokenMarketStats>;
347
+ /**
348
+ * Buy/sell activity for one window, summed over the requested chains. Buy and
349
+ * sell are from the trader's side.
210
350
  *
211
- * @generated from enum data.v2.HistoryDuration
351
+ * @generated from message data.v2.TokenBuySellStats
212
352
  */
213
- export declare enum HistoryDuration {
353
+ export type TokenBuySellStats = Message<"data.v2.TokenBuySellStats"> & {
214
354
  /**
215
- * server defaults to DAY
216
- *
217
- * @generated from enum value: HISTORY_DURATION_UNSPECIFIED = 0;
355
+ * @generated from field: int32 buy_count = 1;
218
356
  */
219
- UNSPECIFIED = 0,
357
+ buyCount: number;
220
358
  /**
221
- * @generated from enum value: HISTORY_DURATION_HOUR = 1;
359
+ * @generated from field: int32 sell_count = 2;
222
360
  */
223
- HOUR = 1,
361
+ sellCount: number;
224
362
  /**
225
- * @generated from enum value: HISTORY_DURATION_DAY = 2;
363
+ * USD. 0 when the window has no swaps; unset when it has swaps but none had
364
+ * a credible USD price.
365
+ *
366
+ * @generated from field: optional double buy_volume_usd = 3;
226
367
  */
227
- DAY = 2,
368
+ buyVolumeUsd?: number | undefined;
228
369
  /**
229
- * @generated from enum value: HISTORY_DURATION_WEEK = 3;
370
+ * @generated from field: optional double sell_volume_usd = 4;
230
371
  */
231
- WEEK = 3,
372
+ sellVolumeUsd?: number | undefined;
232
373
  /**
233
- * @generated from enum value: HISTORY_DURATION_MONTH = 4;
374
+ * Distinct transaction senders, counted once across all requested chains.
375
+ *
376
+ * @generated from field: int32 unique_buyers = 5;
234
377
  */
235
- MONTH = 4,
378
+ uniqueBuyers: number;
236
379
  /**
237
- * @generated from enum value: HISTORY_DURATION_YEAR = 5;
380
+ * @generated from field: int32 unique_sellers = 6;
238
381
  */
239
- YEAR = 5,
382
+ uniqueSellers: number;
240
383
  /**
241
- * @generated from enum value: HISTORY_DURATION_MAX = 6;
384
+ * Whole tokens (decimals applied) as a decimal string. Always set.
385
+ *
386
+ * @generated from field: string buy_volume_token_amount = 7;
242
387
  */
243
- MAX = 6
244
- }
245
- /**
246
- * @generated from enum data.v2.BuySellStatsWindow
247
- */
248
- export declare enum BuySellStatsWindow {
388
+ buyVolumeTokenAmount: string;
249
389
  /**
250
- * @generated from enum value: BUY_SELL_STATS_WINDOW_UNSPECIFIED = 0;
390
+ * @generated from field: string sell_volume_token_amount = 8;
251
391
  */
252
- UNSPECIFIED = 0,
392
+ sellVolumeTokenAmount: string;
393
+ };
394
+ /**
395
+ * Describes the message data.v2.TokenBuySellStats.
396
+ * Use `create(TokenBuySellStatsSchema)` to create a new message.
397
+ */
398
+ export declare const TokenBuySellStatsSchema: GenMessage<TokenBuySellStats>;
399
+ /**
400
+ * Single-chain market view of one token.
401
+ *
402
+ * @generated from message data.v2.TokenMarket
403
+ */
404
+ export type TokenMarket = Message<"data.v2.TokenMarket"> & {
253
405
  /**
254
- * @generated from enum value: BUY_SELL_STATS_WINDOW_FIVE_MINUTES = 1;
406
+ * @generated from field: uint32 chain_id = 1;
255
407
  */
256
- FIVE_MINUTES = 1,
408
+ chainId: number;
257
409
  /**
258
- * @generated from enum value: BUY_SELL_STATS_WINDOW_ONE_HOUR = 2;
410
+ * @generated from field: string address = 2;
259
411
  */
260
- ONE_HOUR = 2,
412
+ address: string;
261
413
  /**
262
- * @generated from enum value: BUY_SELL_STATS_WINDOW_FOUR_HOURS = 3;
414
+ * @generated from field: data.v2.TokenMarketStats stats = 3;
263
415
  */
264
- FOUR_HOURS = 3,
416
+ stats?: TokenMarketStats | undefined;
417
+ };
418
+ /**
419
+ * Describes the message data.v2.TokenMarket.
420
+ * Use `create(TokenMarketSchema)` to create a new message.
421
+ */
422
+ export declare const TokenMarketSchema: GenMessage<TokenMarket>;
423
+ /**
424
+ * Cross-chain market view of one logical asset (a bridged token aggregated
425
+ * across the chains it lives on), keyed by multichain_id. The per-chain address
426
+ * map is available from GetTokens / GetTokensMultiChain.
427
+ *
428
+ * @generated from message data.v2.MultichainTokenMarket
429
+ */
430
+ export type MultichainTokenMarket = Message<"data.v2.MultichainTokenMarket"> & {
265
431
  /**
266
- * @generated from enum value: BUY_SELL_STATS_WINDOW_ONE_DAY = 4;
432
+ * @generated from field: string multichain_id = 1;
267
433
  */
268
- ONE_DAY = 4,
434
+ multichainId: string;
269
435
  /**
270
- * @generated from enum value: BUY_SELL_STATS_WINDOW_ONE_WEEK = 5;
436
+ * @generated from field: data.v2.TokenMarketStats stats = 2;
271
437
  */
272
- ONE_WEEK = 5,
438
+ stats?: TokenMarketStats | undefined;
273
439
  /**
274
- * @generated from enum value: BUY_SELL_STATS_WINDOW_ONE_MONTH = 6;
440
+ * deployment the 52w range and valuations come from
441
+ *
442
+ * @generated from field: optional uint32 canonical_chain_id = 3;
275
443
  */
276
- ONE_MONTH = 6
277
- }
444
+ canonicalChainId?: number | undefined;
445
+ };
278
446
  /**
279
- * @generated from enum data.v2.PoolsOrderBy
447
+ * Describes the message data.v2.MultichainTokenMarket.
448
+ * Use `create(MultichainTokenMarketSchema)` to create a new message.
280
449
  */
281
- export declare enum PoolsOrderBy {
282
- /**
283
- * @generated from enum value: POOLS_ORDER_BY_UNSPECIFIED = 0;
284
- */
285
- UNSPECIFIED = 0,
450
+ export declare const MultichainTokenMarketSchema: GenMessage<MultichainTokenMarket>;
451
+ /**
452
+ * @generated from message data.v2.TokenSafety
453
+ */
454
+ export type TokenSafety = Message<"data.v2.TokenSafety"> & {
286
455
  /**
287
- * default
288
- *
289
- * @generated from enum value: POOLS_ORDER_BY_TVL = 1;
456
+ * @generated from field: bool is_spam = 1;
290
457
  */
291
- TVL = 1,
458
+ isSpam: boolean;
292
459
  /**
293
- * @generated from enum value: POOLS_ORDER_BY_VOLUME_1D = 2;
460
+ * @generated from field: bool is_verified = 2;
294
461
  */
295
- VOLUME_1D = 2,
462
+ isVerified: boolean;
296
463
  /**
297
- * @generated from enum value: POOLS_ORDER_BY_VOLUME_30D = 3;
464
+ * @generated from field: bool is_blocked = 3;
298
465
  */
299
- VOLUME_30D = 3,
466
+ isBlocked: boolean;
300
467
  /**
301
- * ranks on total_apr (fee apr + live reward apr); fee apr alone when incentive data is unavailable
302
- *
303
- * @generated from enum value: POOLS_ORDER_BY_APR = 4;
468
+ * @generated from field: optional string verdict = 4;
304
469
  */
305
- APR = 4,
470
+ verdict?: string | undefined;
306
471
  /**
307
- * volume_1d / tvl; capital-efficiency proxy
308
- *
309
- * @generated from enum value: POOLS_ORDER_BY_VOLUME_1D_TVL_RATIO = 5;
472
+ * @generated from field: repeated string features = 5;
310
473
  */
311
- VOLUME_1D_TVL_RATIO = 5
312
- }
474
+ features: string[];
475
+ };
313
476
  /**
314
- * @generated from enum data.v2.PoolTokenLogicalOperator
477
+ * Describes the message data.v2.TokenSafety.
478
+ * Use `create(TokenSafetySchema)` to create a new message.
315
479
  */
316
- export declare enum PoolTokenLogicalOperator {
480
+ export declare const TokenSafetySchema: GenMessage<TokenSafety>;
481
+ /**
482
+ * @generated from message data.v2.TokenFees
483
+ */
484
+ export type TokenFees = Message<"data.v2.TokenFees"> & {
317
485
  /**
318
- * treated as OR
319
- *
320
- * @generated from enum value: POOL_TOKEN_LOGICAL_OPERATOR_UNSPECIFIED = 0;
486
+ * @generated from field: optional double buy_fee = 1;
321
487
  */
322
- UNSPECIFIED = 0,
488
+ buyFee?: number | undefined;
323
489
  /**
324
- * @generated from enum value: POOL_TOKEN_LOGICAL_OPERATOR_OR = 1;
490
+ * @generated from field: optional double sell_fee = 2;
325
491
  */
326
- OR = 1,
492
+ sellFee?: number | undefined;
327
493
  /**
328
- * invalid with more than 2 tokens
329
- *
330
- * @generated from enum value: POOL_TOKEN_LOGICAL_OPERATOR_AND = 2;
494
+ * @generated from field: optional double transfer_fee = 3;
331
495
  */
332
- AND = 2
333
- }
496
+ transferFee?: number | undefined;
497
+ };
334
498
  /**
335
- * @generated from enum data.v2.TransactionEventType
499
+ * Describes the message data.v2.TokenFees.
500
+ * Use `create(TokenFeesSchema)` to create a new message.
336
501
  */
337
- export declare enum TransactionEventType {
502
+ export declare const TokenFeesSchema: GenMessage<TokenFees>;
503
+ /**
504
+ * @generated from message data.v2.TokenProject
505
+ */
506
+ export type TokenProject = Message<"data.v2.TokenProject"> & {
338
507
  /**
339
- * @generated from enum value: TRANSACTION_EVENT_TYPE_UNSPECIFIED = 0;
508
+ * @generated from field: optional string description = 1;
340
509
  */
341
- UNSPECIFIED = 0,
510
+ description?: string | undefined;
342
511
  /**
343
- * @generated from enum value: TRANSACTION_EVENT_TYPE_SWAP = 1;
512
+ * Translations of `description`, keyed by BCP-47 locale tag. Keys served
513
+ * today: en-US, es-ES, fr-FR, ja-JP, pt-PT, zh-Hans, zh-Hant. A locale is
514
+ * absent (never an empty string) when no translation exists; the map is
515
+ * empty when the token has no description or the request is `external`.
516
+ *
517
+ * @generated from field: map<string, string> description_translations = 5;
344
518
  */
345
- SWAP = 1,
519
+ descriptionTranslations: {
520
+ [key: string]: string;
521
+ };
346
522
  /**
347
- * mint / positive modify_liquidity
348
- *
349
- * @generated from enum value: TRANSACTION_EVENT_TYPE_ADD = 2;
523
+ * @generated from field: optional string homepage_url = 2;
350
524
  */
351
- ADD = 2,
525
+ homepageUrl?: string | undefined;
352
526
  /**
353
- * burn / negative modify_liquidity
527
+ * @generated from field: optional string twitter_name = 3;
528
+ */
529
+ twitterName?: string | undefined;
530
+ /**
531
+ * @generated from field: optional string logo_url = 4;
532
+ */
533
+ logoUrl?: string | undefined;
534
+ /**
535
+ * Curated display color per theme, used as-is in place of a color extracted
536
+ * from the logo. Unset for almost every token: clients then fall back to
537
+ * extraction.
354
538
  *
355
- * @generated from enum value: TRANSACTION_EVENT_TYPE_REMOVE = 3;
539
+ * @generated from field: optional data.v2.ThemedColors colors = 6;
356
540
  */
357
- REMOVE = 3
358
- }
541
+ colors?: ThemedColors | undefined;
542
+ };
359
543
  /**
360
- * How the selected launch created the token. CROWD and CUSTOM are the two
361
- * Continuous Clearing Auction modes (quick launch vs. creator-configured
362
- * parameters); INSTANT is a bonding-curve launch with no auction. UNSPECIFIED
363
- * when the source records the launchpad but not the method.
544
+ * Describes the message data.v2.TokenProject.
545
+ * Use `create(TokenProjectSchema)` to create a new message.
546
+ */
547
+ export declare const TokenProjectSchema: GenMessage<TokenProject>;
548
+ /**
549
+ * One color per theme, each an uppercase "#RRGGBB" hex string. The two are
550
+ * equal unless the logo needs a different color on dark backgrounds (e.g. a
551
+ * black logo shown in white).
364
552
  *
365
- * @generated from enum data.v2.LaunchMethod
553
+ * @generated from message data.v2.ThemedColors
366
554
  */
367
- export declare enum LaunchMethod {
555
+ export type ThemedColors = Message<"data.v2.ThemedColors"> & {
368
556
  /**
369
- * @generated from enum value: LAUNCH_METHOD_UNSPECIFIED = 0;
557
+ * @generated from field: string light = 1;
370
558
  */
371
- UNSPECIFIED = 0,
559
+ light: string;
372
560
  /**
373
- * @generated from enum value: LAUNCH_METHOD_CROWD = 1;
561
+ * @generated from field: string dark = 2;
374
562
  */
375
- CROWD = 1,
563
+ dark: string;
564
+ };
565
+ /**
566
+ * Describes the message data.v2.ThemedColors.
567
+ * Use `create(ThemedColorsSchema)` to create a new message.
568
+ */
569
+ export declare const ThemedColorsSchema: GenMessage<ThemedColors>;
570
+ /**
571
+ * @generated from message data.v2.TokenMultichain
572
+ */
573
+ export type TokenMultichain = Message<"data.v2.TokenMultichain"> & {
376
574
  /**
377
- * @generated from enum value: LAUNCH_METHOD_CUSTOM = 2;
575
+ * @generated from field: string id = 1;
378
576
  */
379
- CUSTOM = 2,
577
+ id: string;
380
578
  /**
381
- * @generated from enum value: LAUNCH_METHOD_INSTANT = 3;
579
+ * @generated from field: map<string, string> addresses = 2;
382
580
  */
383
- INSTANT = 3
384
- }
581
+ addresses: {
582
+ [key: string]: string;
583
+ };
584
+ };
385
585
  /**
386
- * Sort field for ListLaunches; UNSPECIFIED defaults to LAUNCHED_AT (newest first).
586
+ * Describes the message data.v2.TokenMultichain.
587
+ * Use `create(TokenMultichainSchema)` to create a new message.
588
+ */
589
+ export declare const TokenMultichainSchema: GenMessage<TokenMultichain>;
590
+ /**
591
+ * One logo as a light-theme and a dark-theme URL; remote art can't be
592
+ * recoloured by the client's theme.
387
593
  *
388
- * @generated from enum data.v2.LaunchesOrderBy
594
+ * @generated from message data.v2.ThemedLogoUrls
389
595
  */
390
- export declare enum LaunchesOrderBy {
596
+ export type ThemedLogoUrls = Message<"data.v2.ThemedLogoUrls"> & {
391
597
  /**
392
- * @generated from enum value: LAUNCHES_ORDER_BY_UNSPECIFIED = 0;
598
+ * @generated from field: string light = 1;
393
599
  */
394
- UNSPECIFIED = 0,
395
- /**
396
- * @generated from enum value: LAUNCHES_ORDER_BY_LAUNCHED_AT = 1;
397
- */
398
- LAUNCHED_AT = 1,
600
+ light: string;
399
601
  /**
400
- * @generated from enum value: LAUNCHES_ORDER_BY_VOLUME_1D = 2;
602
+ * @generated from field: string dark = 2;
401
603
  */
402
- VOLUME_1D = 2,
604
+ dark: string;
605
+ };
606
+ /**
607
+ * Describes the message data.v2.ThemedLogoUrls.
608
+ * Use `create(ThemedLogoUrlsSchema)` to create a new message.
609
+ */
610
+ export declare const ThemedLogoUrlsSchema: GenMessage<ThemedLogoUrls>;
611
+ /**
612
+ * Issuer of a tokenized real-world asset; absent = not an RWA or issuer unknown.
613
+ *
614
+ * @generated from message data.v2.TokenIssuerInfo
615
+ */
616
+ export type TokenIssuerInfo = Message<"data.v2.TokenIssuerInfo"> & {
403
617
  /**
404
- * @generated from enum value: LAUNCHES_ORDER_BY_TVL = 3;
618
+ * @generated from field: string id = 1;
405
619
  */
406
- TVL = 3,
620
+ id: string;
407
621
  /**
408
- * @generated from enum value: LAUNCHES_ORDER_BY_PRICE_CHANGE_1H = 4;
622
+ * @generated from field: string display_name = 2;
409
623
  */
410
- PRICE_CHANGE_1H = 4,
624
+ displayName: string;
411
625
  /**
412
- * @generated from enum value: LAUNCHES_ORDER_BY_PRICE_CHANGE_1D = 5;
626
+ * Full-colour light-theme logo: the curated one when a set exists, else the
627
+ * issuer's CoinGecko image (canvas and background vary).
628
+ *
629
+ * @generated from field: string logo_url = 3;
413
630
  */
414
- PRICE_CHANGE_1D = 5,
631
+ logoUrl: string;
415
632
  /**
416
- * Trending: launches with recent buy-side momentum. Candidates are tokens
417
- * with buy activity in the trailing hour REGARDLESS of launch age; gated
418
- * (non-negative 1h price change, minimum FDV, minimum distinct 1h buyers)
419
- * and scored by volume/buyer acceleration vs the preceding hours, with the
420
- * remainder of the page backfilled by 24h volume so the module never
421
- * renders empty. Needs no LaunchListFilter.window — any window filter is
422
- * ignored under this sort.
633
+ * Curated sets on a uniform square canvas; without one, every slot carries the
634
+ * CoinGecko image (absent only when the issuer has no logo at all).
423
635
  *
424
- * @generated from enum value: LAUNCHES_ORDER_BY_TRENDING = 6;
636
+ * @generated from field: optional data.v2.ThemedLogoUrls color_logo_urls = 4;
425
637
  */
426
- TRENDING = 6,
638
+ colorLogoUrls?: ThemedLogoUrls | undefined;
427
639
  /**
428
- * Fully-diluted valuation, descending by default. Served from the RANKED
429
- * launch_tokens read (the live attribution scan has no FDV engine), which
430
- * every non-LAUNCHED_AT sort already routes to. Unlike TRENDING, a
431
- * LaunchListFilter.window IS applied under this sort: the launch-age floor
432
- * reaches both arms, so FDV + LAST_24H ranks by FDV among launches inside
433
- * that window rather than across all launches.
640
+ * Drawn for small dimmed treatments (12px at 50%).
434
641
  *
435
- * @generated from enum value: LAUNCHES_ORDER_BY_FDV = 7;
642
+ * @generated from field: optional data.v2.ThemedLogoUrls grayscale_logo_urls = 5;
436
643
  */
437
- FDV = 7
438
- }
644
+ grayscaleLogoUrls?: ThemedLogoUrls | undefined;
645
+ };
439
646
  /**
440
- * Launch-recency window for ListLaunches. UNSPECIFIED applies no window (all
441
- * launches); LAST_24H / LAST_1H keep only launches whose launched_at is within
442
- * the trailing 24 hours / 1 hour respectively.
647
+ * Describes the message data.v2.TokenIssuerInfo.
648
+ * Use `create(TokenIssuerInfoSchema)` to create a new message.
649
+ */
650
+ export declare const TokenIssuerInfoSchema: GenMessage<TokenIssuerInfo>;
651
+ /**
652
+ * One chain's deployment of a multichain token. Decimals differ across a
653
+ * group's chains (USDC is 6 on mainnet and 18 on BNB), so amounts on a
654
+ * chain are scaled by this value, never by MultichainToken.decimals.
443
655
  *
444
- * @generated from enum data.v2.LaunchWindow
656
+ * @generated from message data.v2.ChainDeployment
445
657
  */
446
- export declare enum LaunchWindow {
447
- /**
448
- * @generated from enum value: LAUNCH_WINDOW_UNSPECIFIED = 0;
449
- */
450
- UNSPECIFIED = 0,
658
+ export type ChainDeployment = Message<"data.v2.ChainDeployment"> & {
451
659
  /**
452
- * @generated from enum value: LAUNCH_WINDOW_LAST_24H = 1;
660
+ * @generated from field: string address = 1;
453
661
  */
454
- LAST_24H = 1,
662
+ address: string;
455
663
  /**
456
- * @generated from enum value: LAUNCH_WINDOW_LAST_1H = 2;
664
+ * @generated from field: uint32 decimals = 2;
457
665
  */
458
- LAST_1H = 2
459
- }
666
+ decimals: number;
667
+ };
460
668
  /**
461
- * The trade's direction from the trader's perspective: BUY = the trader
462
- * received the requested token, SELL = the trader gave it up. UNSPECIFIED
463
- * when the direction can't be derived (zero/unknown amount).
464
- *
465
- * @generated from enum data.v2.TradeSide
669
+ * Describes the message data.v2.ChainDeployment.
670
+ * Use `create(ChainDeploymentSchema)` to create a new message.
466
671
  */
467
- export declare enum TradeSide {
672
+ export declare const ChainDeploymentSchema: GenMessage<ChainDeployment>;
673
+ /**
674
+ * @generated from message data.v2.MultichainToken
675
+ */
676
+ export type MultichainToken = Message<"data.v2.MultichainToken"> & {
468
677
  /**
469
- * @generated from enum value: TRADE_SIDE_UNSPECIFIED = 0;
678
+ * Canonicalizer group id; empty for a single-chain (ungrouped) token, except
679
+ * in Search results, which carry the token's own id as a row key.
680
+ * GetTokenMultiChain resolves grouped ids only.
681
+ *
682
+ * @generated from field: string multichain_id = 1;
470
683
  */
471
- UNSPECIFIED = 0,
684
+ multichainId: string;
472
685
  /**
473
- * @generated from enum value: TRADE_SIDE_BUY = 1;
686
+ * chainId -> address. Same keys as `deployments`, which also carries the
687
+ * chain's decimals; read that instead.
688
+ *
689
+ * @generated from field: map<string, string> addresses = 2 [deprecated = true];
690
+ * @deprecated
474
691
  */
475
- BUY = 1,
692
+ addresses: {
693
+ [key: string]: string;
694
+ };
476
695
  /**
477
- * @generated from enum value: TRADE_SIDE_SELL = 2;
696
+ * @generated from field: string symbol = 3;
478
697
  */
479
- SELL = 2
480
- }
481
- /**
482
- * Volume, TVL, FDV, market-cap, and price-change stats for a ranked token.
483
- * All values are USD-denominated.
484
- * All fields are populated from Clickhouse aggregations.
485
- *
486
- * @generated from message data.v2.TokenRankStats
487
- */
488
- export declare class TokenRankStats extends Message<TokenRankStats> {
698
+ symbol: string;
489
699
  /**
490
- * @generated from field: optional double volume_1h = 1;
700
+ * The canonical deployment's decimals (`canonical_chain_id`). Per-chain
701
+ * values are in `deployments`.
702
+ *
703
+ * @generated from field: uint32 decimals = 4;
491
704
  */
492
- volume1h?: number;
705
+ decimals: number;
493
706
  /**
494
- * @generated from field: optional double volume_1d = 2;
707
+ * @generated from field: string name = 5;
495
708
  */
496
- volume1d?: number;
709
+ name: string;
497
710
  /**
498
- * @generated from field: optional double volume_7d = 3;
711
+ * @generated from field: data.v1.TokenType type = 6;
499
712
  */
500
- volume7d?: number;
713
+ type: TokenType;
501
714
  /**
502
- * @generated from field: optional double volume_30d = 4;
715
+ * @generated from field: data.v2.TokenPriceData price = 7;
503
716
  */
504
- volume30d?: number;
717
+ price?: TokenPriceData | undefined;
505
718
  /**
506
- * @generated from field: optional double volume_1y = 5;
719
+ * @generated from field: data.v2.TokenSafety safety = 8;
507
720
  */
508
- volume1y?: number;
721
+ safety?: TokenSafety | undefined;
509
722
  /**
510
- * @generated from field: optional double volume_all = 6;
723
+ * @generated from field: data.v2.TokenFees fees = 9;
511
724
  */
512
- volumeAll?: number;
725
+ fees?: TokenFees | undefined;
513
726
  /**
514
- * @generated from field: optional double tvl = 7;
727
+ * @generated from field: data.v2.TokenProject project = 10;
515
728
  */
516
- tvl?: number;
729
+ project?: TokenProject | undefined;
517
730
  /**
518
- * @generated from field: optional double fdv = 8;
731
+ * USD, price * total supply. NULL for EVM until CONS-2571's write path
732
+ * populates chain_token_stats.fdv_usd. Populated for Solana via Codex.
733
+ *
734
+ * @generated from field: optional double fdv = 11;
519
735
  */
520
- fdv?: number;
736
+ fdv?: number | undefined;
521
737
  /**
522
- * Not additive across a multichain group's members: the canonical chain's
523
- * value (mainnet, else lowest chain_id) — the same member the TDP's
524
- * headline % change is computed from.
738
+ * Ordered by display precedence: the first id is the preferred tag.
525
739
  *
526
- * @generated from field: optional double price_change_1h = 9;
740
+ * @generated from field: repeated string category_ids = 12;
527
741
  */
528
- priceChange1h?: number;
742
+ categoryIds: string[];
529
743
  /**
530
- * @generated from field: optional double price_change_1d = 10;
744
+ * @generated from field: optional data.v2.TokenIssuerInfo issuer = 13;
531
745
  */
532
- priceChange1d?: number;
746
+ issuer?: TokenIssuerInfo | undefined;
533
747
  /**
534
- * USD spot price of the canonical chain member (mainnet, else lowest
535
- * chain_id; current_token_prices). Populated only on PRICE-ordered
536
- * requests; it is exactly the ranked value.
748
+ * key of `deployments` the price, chart and metadata come from
537
749
  *
538
- * @generated from field: optional double price = 11;
750
+ * @generated from field: optional uint32 canonical_chain_id = 14;
539
751
  */
540
- price?: number;
752
+ canonicalChainId?: number | undefined;
541
753
  /**
542
- * price * circulating supply (chain_token_stats.market_cap_usd). Like fdv,
543
- * not additive across a multichain group's members: the canonical chain's
544
- * value. Unset where the pipeline has no circulating-supply source, and
545
- * unset for Solana (no Codex source wired here).
754
+ * chainId -> that chain's deployment: one per chain, the full canonical group.
546
755
  *
547
- * @generated from field: optional double market_cap = 12;
756
+ * @generated from field: map<string, data.v2.ChainDeployment> deployments = 15;
548
757
  */
549
- marketCap?: number;
550
- constructor(data?: PartialMessage<TokenRankStats>);
551
- static readonly runtime: typeof proto3;
552
- static readonly typeName = "data.v2.TokenRankStats";
553
- static readonly fields: FieldList;
554
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenRankStats;
555
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenRankStats;
556
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenRankStats;
557
- static equals(a: TokenRankStats | PlainMessage<TokenRankStats> | undefined, b: TokenRankStats | PlainMessage<TokenRankStats> | undefined): boolean;
558
- }
758
+ deployments: {
759
+ [key: string]: ChainDeployment;
760
+ };
761
+ };
559
762
  /**
560
- * Sort field and direction for ListTokens.
561
- *
562
- * @generated from message data.v2.TokensSort
763
+ * Describes the message data.v2.MultichainToken.
764
+ * Use `create(MultichainTokenSchema)` to create a new message.
563
765
  */
564
- export declare class TokensSort extends Message<TokensSort> {
766
+ export declare const MultichainTokenSchema: GenMessage<MultichainToken>;
767
+ /**
768
+ * @generated from message data.v2.PoolsSort
769
+ */
770
+ export type PoolsSort = Message<"data.v2.PoolsSort"> & {
565
771
  /**
566
- * default: TOKENS_ORDER_BY_VOLUME_1D
772
+ * default: POOLS_ORDER_BY_TVL
567
773
  *
568
- * @generated from field: optional data.v2.TokensOrderBy order_by = 1;
774
+ * @generated from field: optional data.v2.PoolsOrderBy order_by = 1;
569
775
  */
570
- orderBy?: TokensOrderBy;
776
+ orderBy?: PoolsOrderBy | undefined;
571
777
  /**
572
778
  * default false (highest first)
573
779
  *
574
780
  * @generated from field: optional bool ascending = 2;
575
781
  */
576
- ascending?: boolean;
577
- constructor(data?: PartialMessage<TokensSort>);
578
- static readonly runtime: typeof proto3;
579
- static readonly typeName = "data.v2.TokensSort";
580
- static readonly fields: FieldList;
581
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokensSort;
582
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokensSort;
583
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokensSort;
584
- static equals(a: TokensSort | PlainMessage<TokensSort> | undefined, b: TokensSort | PlainMessage<TokensSort> | undefined): boolean;
585
- }
782
+ ascending?: boolean | undefined;
783
+ };
586
784
  /**
587
- * Server-side filters applied before ranking and pagination.
785
+ * Describes the message data.v2.PoolsSort.
786
+ * Use `create(PoolsSortSchema)` to create a new message.
787
+ */
788
+ export declare const PoolsSortSchema: GenMessage<PoolsSort>;
789
+ /**
790
+ * A pool's boosted APR in one reward token: the sum of that token's live
791
+ * campaign APRs on the pool, in percent, on top of the pool's fee APR. Ended
792
+ * campaigns are excluded — they accrue no yield.
588
793
  *
589
- * @generated from message data.v2.TokenListFilter
794
+ * Deliberately carries no campaign detail (windows, allocations, distributed
795
+ * amounts): only the pool details page renders that, and it reads
796
+ * GetPoolRewards. Keeping it off this message keeps the per-row payload small
797
+ * enough to repeat across a page of pools.
798
+ *
799
+ * @generated from message data.v2.PoolTokenBoost
590
800
  */
591
- export declare class TokenListFilter extends Message<TokenListFilter> {
801
+ export type PoolTokenBoost = Message<"data.v2.PoolTokenBoost"> & {
592
802
  /**
593
- * Default false (spam excluded): drops tokens affirmatively flagged — a
594
- * non-Benign Blockaid verdict, blocklisted, or URL-spam; unscanned tokens
595
- * pass. Independent of apply_top_level_filters: true alone means "show
596
- * spam but keep the quality gates".
597
- *
598
- * @generated from field: optional bool include_spam = 1;
803
+ * @generated from field: pools.v1.Token token = 1;
599
804
  */
600
- includeSpam?: boolean;
805
+ token?: Token$1 | undefined;
601
806
  /**
602
- * @generated from field: optional double min_volume_1d_usd = 2;
807
+ * @generated from field: double apr = 2;
603
808
  */
604
- minVolume1dUsd?: number;
809
+ apr: number;
810
+ };
811
+ /**
812
+ * Describes the message data.v2.PoolTokenBoost.
813
+ * Use `create(PoolTokenBoostSchema)` to create a new message.
814
+ */
815
+ export declare const PoolTokenBoostSchema: GenMessage<PoolTokenBoost>;
816
+ /**
817
+ * Ranking stats for a pool.
818
+ * apr = annualised fee revenue / TVL.
819
+ * reward_apr = Merkl incentive yield (not a valid sort key).
820
+ * total_apr = apr + reward_apr treating null as 0; only null if both are null.
821
+ *
822
+ * @generated from message data.v2.PoolRankStats
823
+ */
824
+ export type PoolRankStats = Message<"data.v2.PoolRankStats"> & {
605
825
  /**
606
- * @generated from field: optional double min_tvl_usd = 3;
826
+ * @generated from field: optional double tvl = 1;
607
827
  */
608
- minTvlUsd?: number;
828
+ tvl?: number | undefined;
609
829
  /**
610
- * @generated from field: optional bool apply_top_level_filters = 4;
830
+ * @generated from field: optional double volume_1d = 2;
611
831
  */
612
- applyTopLevelFilters?: boolean;
832
+ volume1d?: number | undefined;
613
833
  /**
614
- * Drops tokenized real-world assets from the ranking. Off by default, so
615
- * RWAs rank alongside every other token. An asset is dropped if any of its
616
- * chain deployments is known to be an RWA; assets not yet classified are
617
- * kept. EVM only: Solana RWAs are not yet flagged.
618
- *
619
- * @generated from field: optional bool exclude_rwas = 5;
834
+ * @generated from field: optional double volume_30d = 3;
620
835
  */
621
- excludeRwas?: boolean;
836
+ volume30d?: number | undefined;
622
837
  /**
623
- * Serve only members of these categories: OR within this list, AND with
624
- * the other filter fields.
625
- *
626
- * @generated from field: repeated string category_ids = 6;
838
+ * @generated from field: optional double apr = 4;
627
839
  */
628
- categoryIds: string[];
840
+ apr?: number | undefined;
629
841
  /**
630
- * Explore-search filter: free text prefix-matched (case-insensitive,
631
- * normalized: trimmed, whitespace collapsed, capped at 100 chars) against
632
- * token name and symbol — or, for a "0x"-prefixed query, against the
633
- * token address. Narrows the listing; sort, quality gates, and pagination
634
- * keep their ordinary meanings (filter-the-feed, not relevance search —
635
- * the Search endpoint serves that). A multichain token matches when any
636
- * of its per-chain members matches. Empty/whitespace = no filter.
637
- *
638
- * @generated from field: optional string search_query = 7;
842
+ * @generated from field: optional double reward_apr = 5;
639
843
  */
640
- searchQuery?: string;
641
- constructor(data?: PartialMessage<TokenListFilter>);
642
- static readonly runtime: typeof proto3;
643
- static readonly typeName = "data.v2.TokenListFilter";
644
- static readonly fields: FieldList;
645
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenListFilter;
646
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenListFilter;
647
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenListFilter;
648
- static equals(a: TokenListFilter | PlainMessage<TokenListFilter> | undefined, b: TokenListFilter | PlainMessage<TokenListFilter> | undefined): boolean;
649
- }
650
- /**
651
- * @generated from message data.v2.FiatAmount
652
- */
653
- export declare class FiatAmount extends Message<FiatAmount> {
844
+ rewardApr?: number | undefined;
654
845
  /**
655
- * @generated from field: data.v2.FiatCurrency currency = 1;
846
+ * @generated from field: optional double total_apr = 6;
656
847
  */
657
- currency: FiatCurrency;
848
+ totalApr?: number | undefined;
658
849
  /**
659
- * @generated from field: double value = 2;
850
+ * volume_1d / tvl; null if tvl is zero
851
+ *
852
+ * @generated from field: optional double volume_1d_tvl_ratio = 7;
660
853
  */
661
- value: number;
662
- constructor(data?: PartialMessage<FiatAmount>);
663
- static readonly runtime: typeof proto3;
664
- static readonly typeName = "data.v2.FiatAmount";
665
- static readonly fields: FieldList;
666
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FiatAmount;
667
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FiatAmount;
668
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FiatAmount;
669
- static equals(a: FiatAmount | PlainMessage<FiatAmount> | undefined, b: FiatAmount | PlainMessage<FiatAmount> | undefined): boolean;
670
- }
671
- /**
672
- * Per-chain volume breakdown within a RankedMultichainToken.
673
- *
674
- * @generated from message data.v2.ChainTokenRankStats
675
- */
676
- export declare class ChainTokenRankStats extends Message<ChainTokenRankStats> {
854
+ volume1dTvlRatio?: number | undefined;
677
855
  /**
678
- * @generated from field: uint32 chain_id = 1;
856
+ * What reward_apr is paid in, per reward token — so a client can denominate
857
+ * a boost ("+2.1% in UNI") instead of rendering a bare number under a
858
+ * guessed symbol. reward_apr stays the cross-token sum and is derived from
859
+ * these, so reward_apr == sum(token_boosts[].apr) always holds.
860
+ *
861
+ * Empty when the pool runs no live campaign, and empty when the incentive
862
+ * lookup degraded — in which case reward_apr is unset too. Never one
863
+ * without the other: a boost nobody can denominate is worse than no boost.
864
+ *
865
+ * @generated from field: repeated data.v2.PoolTokenBoost token_boosts = 8;
679
866
  */
680
- chainId: number;
867
+ tokenBoosts: PoolTokenBoost[];
681
868
  /**
682
- * @generated from field: data.v2.TokenRankStats stats = 2;
869
+ * Fee APR over the trailing 7 days, in percent like `apr` (which stays the
870
+ * 24h window, and is the one the APR sort and filter read): LP fees in the
871
+ * window over the pool's time-weighted TVL, annualized. Unset until the
872
+ * stats cron publishes the window for this pool.
873
+ *
874
+ * @generated from field: optional double apr_7d = 9;
683
875
  */
684
- stats?: TokenRankStats;
685
- constructor(data?: PartialMessage<ChainTokenRankStats>);
686
- static readonly runtime: typeof proto3;
687
- static readonly typeName = "data.v2.ChainTokenRankStats";
688
- static readonly fields: FieldList;
689
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChainTokenRankStats;
690
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChainTokenRankStats;
691
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChainTokenRankStats;
692
- static equals(a: ChainTokenRankStats | PlainMessage<ChainTokenRankStats> | undefined, b: ChainTokenRankStats | PlainMessage<ChainTokenRankStats> | undefined): boolean;
693
- }
694
- /**
695
- * Returned by ListTokens — wraps a MultichainToken with its ranking stats.
696
- *
697
- * @generated from message data.v2.RankedMultichainToken
698
- */
699
- export declare class RankedMultichainToken extends Message<RankedMultichainToken> {
876
+ apr7d?: number | undefined;
700
877
  /**
701
- * @generated from field: data.v2.MultichainToken multichain_token = 1;
878
+ * Fee APR over the trailing 30 days, in percent; same definition and unset
879
+ * rule as apr_7d.
880
+ *
881
+ * @generated from field: optional double apr_30d = 10;
702
882
  */
703
- multichainToken?: MultichainToken;
883
+ apr30d?: number | undefined;
704
884
  /**
705
- * @generated from field: data.v2.TokenRankStats stats = 2;
885
+ * LP fees earned over the trailing 24h, in USD, after the protocol fee.
886
+ * Unset until the stats cron publishes them for this pool.
887
+ *
888
+ * @generated from field: optional double fees_1d = 11;
706
889
  */
707
- stats?: TokenRankStats;
890
+ fees1d?: number | undefined;
708
891
  /**
709
- * @generated from field: repeated data.v2.ChainTokenRankStats chain_stats = 3;
892
+ * Annualized standard deviation of the pool price's hourly log returns
893
+ * over 30 days, as a fraction (0.8 = 80%), where an hour without swaps
894
+ * returns 0. Like divergence_30d it describes the end of the pool's latest
895
+ * UTC day with activity. Unset for V2 pairs, under 24 hours of price
896
+ * history, or when that day is over a week old.
897
+ *
898
+ * @generated from field: optional double volatility_30d = 12;
710
899
  */
711
- chainStats: ChainTokenRankStats[];
900
+ volatility30d?: number | undefined;
712
901
  /**
713
- * USD price sparkline over sparkline_duration, from the same chain member
714
- * as price_change. <=20 points, oldest first; timestamps are synthesized,
715
- * not observed. Empty when no series is available.
902
+ * |P_end / P_30d - 1| of the pool price (token1 per token0) over 30 days,
903
+ * as a fraction (0.25 = 25%). Unset for V2 pairs, when the pool had no
904
+ * price 30 days earlier, or when its latest day is over a week old.
716
905
  *
717
- * @generated from field: repeated data.v1.TimestampedValue sparkline = 4;
906
+ * @generated from field: optional double divergence_30d = 13;
718
907
  */
719
- sparkline: TimestampedValue[];
720
- constructor(data?: PartialMessage<RankedMultichainToken>);
721
- static readonly runtime: typeof proto3;
722
- static readonly typeName = "data.v2.RankedMultichainToken";
723
- static readonly fields: FieldList;
724
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RankedMultichainToken;
725
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RankedMultichainToken;
726
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RankedMultichainToken;
727
- static equals(a: RankedMultichainToken | PlainMessage<RankedMultichainToken> | undefined, b: RankedMultichainToken | PlainMessage<RankedMultichainToken> | undefined): boolean;
728
- }
908
+ divergence30d?: number | undefined;
909
+ };
729
910
  /**
730
- * @generated from message data.v2.TokenPriceData
911
+ * Describes the message data.v2.PoolRankStats.
912
+ * Use `create(PoolRankStatsSchema)` to create a new message.
731
913
  */
732
- export declare class TokenPriceData extends Message<TokenPriceData> {
914
+ export declare const PoolRankStatsSchema: GenMessage<PoolRankStats>;
915
+ /**
916
+ * A pool's protocol identity, token pair, and current on-chain state (state
917
+ * fields are mirrored from the chain verbatim). No derived stats
918
+ * (TVL/volume/APR) — those live on RankedPool.
919
+ *
920
+ * @generated from message data.v2.Pool
921
+ */
922
+ export type Pool = Message<"data.v2.Pool"> & {
733
923
  /**
734
- * @generated from field: optional double spot_usd = 1;
924
+ * @generated from field: uint32 chain_id = 1;
735
925
  */
736
- spotUsd?: number;
926
+ chainId: number;
737
927
  /**
738
- * @generated from field: optional double percent_change_1d = 2;
928
+ * checksummed pool address (V4: pool id hash)
929
+ *
930
+ * @generated from field: string pool_id = 2;
739
931
  */
740
- percentChange1d?: number;
932
+ poolId: string;
741
933
  /**
742
- * @generated from field: optional double percent_change_1h = 3;
934
+ * @generated from field: data.v2.Token token0 = 3;
743
935
  */
744
- percentChange1h?: number;
936
+ token0?: Token | undefined;
745
937
  /**
746
- * USD price ~24h ago — the anchor percent_change_1d is measured against.
747
- * When set, percent_change_1d is computed at serve time from spot_usd
748
- * against this anchor (live numerator, 1d-cron-refreshed denominator);
749
- * unset when the stats pipeline has not resolved an anchor yet.
750
- *
751
- * @generated from field: optional double price_24h_ago_usd = 4;
938
+ * @generated from field: data.v2.Token token1 = 4;
752
939
  */
753
- price24hAgoUsd?: number;
940
+ token1?: Token | undefined;
754
941
  /**
755
- * Confidence in spot_usd, 0 to 1: the pricing pipeline's route score. USDC
756
- * anchors at 1, and each pool hop on the route to USDC scales it down by
757
- * that pool's 24h depth and swap count. Unset means unknown, never low
758
- * confidence: no Aurora price row, a price older than 24h, or a source that
759
- * does not score prices, such as Codex for Solana.
760
- *
761
- * @generated from field: optional double confidence_score = 5;
942
+ * @generated from field: pools.v1.ProtocolVersion protocol_version = 5;
762
943
  */
763
- confidenceScore?: number;
764
- constructor(data?: PartialMessage<TokenPriceData>);
765
- static readonly runtime: typeof proto3;
766
- static readonly typeName = "data.v2.TokenPriceData";
767
- static readonly fields: FieldList;
768
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenPriceData;
769
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenPriceData;
770
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenPriceData;
771
- static equals(a: TokenPriceData | PlainMessage<TokenPriceData> | undefined, b: TokenPriceData | PlainMessage<TokenPriceData> | undefined): boolean;
772
- }
773
- /**
774
- * Live on-chain market stats for a single token, USD-denominated.
775
- * Live on-chain market stats, shared by the single-chain (TokenMarket) and
776
- * multichain (MultichainTokenMarket) views. In the multichain case TVL and
777
- * volume are summed across chains and 52-week high/low come from the canonical
778
- * chain; in the single-chain case all values are for that one token.
779
- *
780
- * @generated from message data.v2.TokenMarketStats
781
- */
782
- export declare class TokenMarketStats extends Message<TokenMarketStats> {
944
+ protocolVersion: ProtocolVersion;
783
945
  /**
784
- * @generated from field: optional double total_value_locked_usd = 1;
946
+ * @generated from field: optional int32 tick_spacing = 6;
785
947
  */
786
- totalValueLockedUsd?: number;
948
+ tickSpacing?: number | undefined;
787
949
  /**
788
- * price * circulating supply. NULL for EVM until CONS-2571's write path
789
- * populates chain_token_stats.market_cap_usd; unset for Solana (no Codex
790
- * source wired here).
950
+ * The pool key's own fee in pips, always served: the V4 DYNAMIC_FEE_FLAG
951
+ * sentinel (0x800000) for a dynamic-fee pool — the literal PoolKey.fee, which
952
+ * is what hashing a v4 pool id needs — and the fixed 3000 for V2. Read
953
+ * is_dynamic_fee, not this, to decide whether a pool has a fixed rate.
791
954
  *
792
- * @generated from field: optional double market_cap_usd = 2;
955
+ * @generated from field: optional uint32 fee_tier = 7;
793
956
  */
794
- marketCapUsd?: number;
957
+ feeTier?: number | undefined;
795
958
  /**
796
- * price * total supply. Same NULL/unset rules as market_cap_usd.
959
+ * true for V4 pools with dynamic fees
797
960
  *
798
- * @generated from field: optional double fully_diluted_valuation_usd = 3;
799
- */
800
- fullyDilutedValuationUsd?: number;
801
- /**
802
- * @generated from field: optional double price_high_52w_usd = 4;
961
+ * @generated from field: bool is_dynamic_fee = 8;
803
962
  */
804
- priceHigh52wUsd?: number;
963
+ isDynamicFee: boolean;
805
964
  /**
806
- * @generated from field: optional double price_low_52w_usd = 5;
965
+ * V4 only
966
+ *
967
+ * @generated from field: optional string hook_address = 9;
807
968
  */
808
- priceLow52wUsd?: number;
969
+ hookAddress?: string | undefined;
809
970
  /**
810
- * over volume_duration
971
+ * V3/V4 only; absent when no state row is indexed yet
811
972
  *
812
- * @generated from field: optional double volume_usd = 6;
973
+ * @generated from field: optional int32 current_tick = 10;
813
974
  */
814
- volumeUsd?: number;
975
+ currentTick?: number | undefined;
815
976
  /**
816
- * echoes the requested duration (UNSPECIFIED → DAY)
977
+ * uint160 as decimal string; V3/V4 only
817
978
  *
818
- * @generated from field: data.v2.HistoryDuration volume_duration = 7;
979
+ * @generated from field: optional string sqrt_price_x96 = 11;
819
980
  */
820
- volumeDuration: HistoryDuration;
981
+ sqrtPriceX96?: string | undefined;
821
982
  /**
822
- * USD value of the token's explore-eligible pools, both sides; unset when it
823
- * has none. Summed like total_value_locked_usd, so a pool holding two summed
824
- * deployments (e.g. ETH/WETH) counts twice.
983
+ * uint128 as decimal string; V3/V4 only
825
984
  *
826
- * @generated from field: optional double pools_total_value_locked_usd = 8;
985
+ * @generated from field: optional string liquidity = 12;
827
986
  */
828
- poolsTotalValueLockedUsd?: number;
987
+ liquidity?: string | undefined;
829
988
  /**
830
- * @generated from field: optional double price_all_time_high_usd = 9;
989
+ * Protocol fee (pips): additive on top of the LP fee for V4, a carve-out
990
+ * of the fee tier for V2/V3. Unset when unavailable.
991
+ *
992
+ * @generated from field: optional uint32 protocol_fee = 13;
831
993
  */
832
- priceAllTimeHighUsd?: number;
833
- constructor(data?: PartialMessage<TokenMarketStats>);
834
- static readonly runtime: typeof proto3;
835
- static readonly typeName = "data.v2.TokenMarketStats";
836
- static readonly fields: FieldList;
837
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenMarketStats;
838
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenMarketStats;
839
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenMarketStats;
840
- static equals(a: TokenMarketStats | PlainMessage<TokenMarketStats> | undefined, b: TokenMarketStats | PlainMessage<TokenMarketStats> | undefined): boolean;
841
- }
842
- /**
843
- * Buy/sell activity for one window, summed over the requested chains. Buy and
844
- * sell are from the trader's side.
845
- *
846
- * @generated from message data.v2.TokenBuySellStats
847
- */
848
- export declare class TokenBuySellStats extends Message<TokenBuySellStats> {
994
+ protocolFee?: number | undefined;
849
995
  /**
850
- * @generated from field: int32 buy_count = 1;
996
+ * Effective (all-in) fee (pips): V4 fee_tier + protocol_fee; V2/V3 the fee
997
+ * tier. Unset when protocol_fee is unavailable (incl. V4 dynamic-fee).
998
+ *
999
+ * @generated from field: optional uint32 effective_fee = 14;
851
1000
  */
852
- buyCount: number;
1001
+ effectiveFee?: number | undefined;
853
1002
  /**
854
- * @generated from field: int32 sell_count = 2;
1003
+ * The LP fee the pool is charging RIGHT NOW, in pips (1e-6, so 3000 = 0.30%)
1004
+ * — same unit and regime as fee_tier: V2/V3 all-in with the protocol fee
1005
+ * carved OUT of it, V4 the LP's share with protocol_fee additive ON TOP.
1006
+ *
1007
+ * Always served, so no client has to read is_dynamic_fee to know which field
1008
+ * holds the rate: for V2, V3 and fixed-fee V4 this simply IS fee_tier. It
1009
+ * diverges only on a V4 dynamic-fee pool, where fee_tier is the sentinel and
1010
+ * this carries what the pool's most recent swap actually charged (recovered
1011
+ * from the total swap fee the Swap event records, which is lpFee and
1012
+ * protocolFee combined).
1013
+ *
1014
+ * Unset ONLY when a dynamic-fee pool's current fee can't be established: no
1015
+ * swap indexed yet, or a total that matches neither protocol-fee direction.
1016
+ * Never carries the DYNAMIC_FEE_FLAG sentinel.
1017
+ *
1018
+ * @generated from field: optional uint32 current_lp_fee = 15;
855
1019
  */
856
- sellCount: number;
1020
+ currentLpFee?: number | undefined;
857
1021
  /**
858
- * USD. 0 when the window has no swaps; unset when it has swaps but none had
859
- * a credible USD price.
1022
+ * Pool-category ids this pool belongs to, ordered by display precedence:
1023
+ * the first id is the preferred tag. Mirrors Token.category_ids.
860
1024
  *
861
- * @generated from field: optional double buy_volume_usd = 3;
1025
+ * @generated from field: repeated string category_ids = 16;
862
1026
  */
863
- buyVolumeUsd?: number;
1027
+ categoryIds: string[];
864
1028
  /**
865
- * @generated from field: optional double sell_volume_usd = 4;
1029
+ * The pool's quote token: show it second and price the other token in it
1030
+ * (ETH/USDC quotes USDC). Always equals token0.address or token1.address.
1031
+ * Unset while data-ingestion hasn't resolved one; order by token0/token1.
1032
+ *
1033
+ * @generated from field: optional string quote_token_address = 17;
866
1034
  */
867
- sellVolumeUsd?: number;
1035
+ quoteTokenAddress?: string | undefined;
868
1036
  /**
869
- * Distinct transaction senders, counted once across all requested chains.
1037
+ * The LP fee the next swap pays in each direction, from the hook's getFee.
1038
+ * Set only for V4 pools on a Labs StablePair or VolatilePair hook with a
1039
+ * reading from the last 10 minutes; otherwise use current_lp_fee.
870
1040
  *
871
- * @generated from field: int32 unique_buyers = 5;
1041
+ * @generated from field: optional data.v2.DirectionalLpFee current_lp_fee_by_direction = 18;
872
1042
  */
873
- uniqueBuyers: number;
1043
+ currentLpFeeByDirection?: DirectionalLpFee | undefined;
1044
+ };
1045
+ /**
1046
+ * Describes the message data.v2.Pool.
1047
+ * Use `create(PoolSchema)` to create a new message.
1048
+ */
1049
+ export declare const PoolSchema: GenMessage<Pool>;
1050
+ /**
1051
+ * Current LP fee per swap direction, in pips; same regime as current_lp_fee.
1052
+ *
1053
+ * @generated from message data.v2.DirectionalLpFee
1054
+ */
1055
+ export type DirectionalLpFee = Message<"data.v2.DirectionalLpFee"> & {
874
1056
  /**
875
- * @generated from field: int32 unique_sellers = 6;
1057
+ * currency0 in
1058
+ *
1059
+ * @generated from field: uint32 zero_for_one = 1;
876
1060
  */
877
- uniqueSellers: number;
1061
+ zeroForOne: number;
878
1062
  /**
879
- * Whole tokens (decimals applied) as a decimal string. Always set.
1063
+ * currency1 in
880
1064
  *
881
- * @generated from field: string buy_volume_token_amount = 7;
1065
+ * @generated from field: uint32 one_for_zero = 2;
882
1066
  */
883
- buyVolumeTokenAmount: string;
1067
+ oneForZero: number;
884
1068
  /**
885
- * @generated from field: string sell_volume_token_amount = 8;
1069
+ * block the fees were read at
1070
+ *
1071
+ * @generated from field: uint64 block_number = 3;
886
1072
  */
887
- sellVolumeTokenAmount: string;
888
- constructor(data?: PartialMessage<TokenBuySellStats>);
889
- static readonly runtime: typeof proto3;
890
- static readonly typeName = "data.v2.TokenBuySellStats";
891
- static readonly fields: FieldList;
892
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenBuySellStats;
893
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenBuySellStats;
894
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenBuySellStats;
895
- static equals(a: TokenBuySellStats | PlainMessage<TokenBuySellStats> | undefined, b: TokenBuySellStats | PlainMessage<TokenBuySellStats> | undefined): boolean;
896
- }
1073
+ blockNumber: bigint;
1074
+ };
897
1075
  /**
898
- * Single-chain market view of one token.
899
- *
900
- * @generated from message data.v2.TokenMarket
1076
+ * Describes the message data.v2.DirectionalLpFee.
1077
+ * Use `create(DirectionalLpFeeSchema)` to create a new message.
901
1078
  */
902
- export declare class TokenMarket extends Message<TokenMarket> {
903
- /**
904
- * @generated from field: uint32 chain_id = 1;
905
- */
906
- chainId: number;
1079
+ export declare const DirectionalLpFeeSchema: GenMessage<DirectionalLpFee>;
1080
+ /**
1081
+ * @generated from message data.v2.PoolTokenFilter
1082
+ */
1083
+ export type PoolTokenFilter = Message<"data.v2.PoolTokenFilter"> & {
907
1084
  /**
908
- * @generated from field: string address = 2;
1085
+ * checksummed EVM addresses
1086
+ *
1087
+ * @generated from field: repeated string tokens = 1;
909
1088
  */
910
- address: string;
1089
+ tokens: string[];
911
1090
  /**
912
- * @generated from field: data.v2.TokenMarketStats stats = 3;
1091
+ * @generated from field: data.v2.PoolTokenLogicalOperator logical_operator = 2;
913
1092
  */
914
- stats?: TokenMarketStats;
915
- constructor(data?: PartialMessage<TokenMarket>);
916
- static readonly runtime: typeof proto3;
917
- static readonly typeName = "data.v2.TokenMarket";
918
- static readonly fields: FieldList;
919
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenMarket;
920
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenMarket;
921
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenMarket;
922
- static equals(a: TokenMarket | PlainMessage<TokenMarket> | undefined, b: TokenMarket | PlainMessage<TokenMarket> | undefined): boolean;
923
- }
1093
+ logicalOperator: PoolTokenLogicalOperator;
1094
+ };
924
1095
  /**
925
- * Cross-chain market view of one logical asset (a bridged token aggregated
926
- * across the chains it lives on), keyed by multichain_id. The per-chain address
927
- * map is available from GetTokens / GetTokensMultiChain.
928
- *
929
- * @generated from message data.v2.MultichainTokenMarket
1096
+ * Describes the message data.v2.PoolTokenFilter.
1097
+ * Use `create(PoolTokenFilterSchema)` to create a new message.
930
1098
  */
931
- export declare class MultichainTokenMarket extends Message<MultichainTokenMarket> {
932
- /**
933
- * @generated from field: string multichain_id = 1;
934
- */
935
- multichainId: string;
1099
+ export declare const PoolTokenFilterSchema: GenMessage<PoolTokenFilter>;
1100
+ /**
1101
+ * @generated from message data.v2.PoolStatRangeFilter
1102
+ */
1103
+ export type PoolStatRangeFilter = Message<"data.v2.PoolStatRangeFilter"> & {
936
1104
  /**
937
- * @generated from field: data.v2.TokenMarketStats stats = 2;
1105
+ * @generated from field: optional double min = 1;
938
1106
  */
939
- stats?: TokenMarketStats;
1107
+ min?: number | undefined;
940
1108
  /**
941
- * deployment the 52w range and valuations come from
942
- *
943
- * @generated from field: optional uint32 canonical_chain_id = 3;
1109
+ * @generated from field: optional double max = 2;
944
1110
  */
945
- canonicalChainId?: number;
946
- constructor(data?: PartialMessage<MultichainTokenMarket>);
947
- static readonly runtime: typeof proto3;
948
- static readonly typeName = "data.v2.MultichainTokenMarket";
949
- static readonly fields: FieldList;
950
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MultichainTokenMarket;
951
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MultichainTokenMarket;
952
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MultichainTokenMarket;
953
- static equals(a: MultichainTokenMarket | PlainMessage<MultichainTokenMarket> | undefined, b: MultichainTokenMarket | PlainMessage<MultichainTokenMarket> | undefined): boolean;
954
- }
1111
+ max?: number | undefined;
1112
+ };
955
1113
  /**
956
- * @generated from message data.v2.TokenSafety
1114
+ * Describes the message data.v2.PoolStatRangeFilter.
1115
+ * Use `create(PoolStatRangeFilterSchema)` to create a new message.
957
1116
  */
958
- export declare class TokenSafety extends Message<TokenSafety> {
959
- /**
960
- * @generated from field: bool is_spam = 1;
961
- */
962
- isSpam: boolean;
1117
+ export declare const PoolStatRangeFilterSchema: GenMessage<PoolStatRangeFilter>;
1118
+ /**
1119
+ * @generated from message data.v2.PoolStatsFilter
1120
+ */
1121
+ export type PoolStatsFilter = Message<"data.v2.PoolStatsFilter"> & {
963
1122
  /**
964
- * @generated from field: bool is_verified = 2;
1123
+ * @generated from field: optional data.v2.PoolStatRangeFilter tvl = 1;
965
1124
  */
966
- isVerified: boolean;
1125
+ tvl?: PoolStatRangeFilter | undefined;
967
1126
  /**
968
- * @generated from field: bool is_blocked = 3;
1127
+ * @generated from field: optional data.v2.PoolStatRangeFilter apr = 2;
969
1128
  */
970
- isBlocked: boolean;
1129
+ apr?: PoolStatRangeFilter | undefined;
971
1130
  /**
972
- * @generated from field: optional string verdict = 4;
1131
+ * @generated from field: optional data.v2.PoolStatRangeFilter volume_1d = 3;
973
1132
  */
974
- verdict?: string;
1133
+ volume1d?: PoolStatRangeFilter | undefined;
975
1134
  /**
976
- * @generated from field: repeated string features = 5;
1135
+ * @generated from field: optional data.v2.PoolStatRangeFilter volume_30d = 4;
977
1136
  */
978
- features: string[];
979
- constructor(data?: PartialMessage<TokenSafety>);
980
- static readonly runtime: typeof proto3;
981
- static readonly typeName = "data.v2.TokenSafety";
982
- static readonly fields: FieldList;
983
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenSafety;
984
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenSafety;
985
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenSafety;
986
- static equals(a: TokenSafety | PlainMessage<TokenSafety> | undefined, b: TokenSafety | PlainMessage<TokenSafety> | undefined): boolean;
987
- }
1137
+ volume30d?: PoolStatRangeFilter | undefined;
1138
+ };
988
1139
  /**
989
- * @generated from message data.v2.TokenFees
1140
+ * Describes the message data.v2.PoolStatsFilter.
1141
+ * Use `create(PoolStatsFilterSchema)` to create a new message.
990
1142
  */
991
- export declare class TokenFees extends Message<TokenFees> {
1143
+ export declare const PoolStatsFilterSchema: GenMessage<PoolStatsFilter>;
1144
+ /**
1145
+ * Server-side filters applied before ranking and pagination.
1146
+ *
1147
+ * @generated from message data.v2.PoolListFilter
1148
+ */
1149
+ export type PoolListFilter = Message<"data.v2.PoolListFilter"> & {
992
1150
  /**
993
- * @generated from field: optional double buy_fee = 1;
1151
+ * if empty, all protocol versions
1152
+ *
1153
+ * @generated from field: repeated pools.v1.ProtocolVersion protocol_versions = 1;
994
1154
  */
995
- buyFee?: number;
1155
+ protocolVersions: ProtocolVersion[];
996
1156
  /**
997
- * @generated from field: optional double sell_fee = 2;
1157
+ * Default false (spam excluded): drops pools where either token is
1158
+ * affirmatively flagged — a non-Benign Blockaid verdict, blocklisted, or
1159
+ * URL-spam; unscanned tokens pass (ListTokens' exact safety rule).
1160
+ * Independent of apply_top_level_filters.
1161
+ *
1162
+ * @generated from field: optional bool include_spam = 2;
998
1163
  */
999
- sellFee?: number;
1164
+ includeSpam?: boolean | undefined;
1000
1165
  /**
1001
- * @generated from field: optional double transfer_fee = 3;
1166
+ * @generated from field: optional data.v2.PoolTokenFilter token_filter = 3;
1002
1167
  */
1003
- transferFee?: number;
1004
- constructor(data?: PartialMessage<TokenFees>);
1005
- static readonly runtime: typeof proto3;
1006
- static readonly typeName = "data.v2.TokenFees";
1007
- static readonly fields: FieldList;
1008
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenFees;
1009
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenFees;
1010
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenFees;
1011
- static equals(a: TokenFees | PlainMessage<TokenFees> | undefined, b: TokenFees | PlainMessage<TokenFees> | undefined): boolean;
1012
- }
1013
- /**
1014
- * @generated from message data.v2.TokenProject
1015
- */
1016
- export declare class TokenProject extends Message<TokenProject> {
1168
+ tokenFilter?: PoolTokenFilter | undefined;
1017
1169
  /**
1018
- * @generated from field: optional string description = 1;
1170
+ * @generated from field: optional data.v2.PoolStatsFilter stats_filter = 4;
1019
1171
  */
1020
- description?: string;
1172
+ statsFilter?: PoolStatsFilter | undefined;
1021
1173
  /**
1022
- * Translations of `description`, keyed by BCP-47 locale tag. Keys served
1023
- * today: en-US, es-ES, fr-FR, ja-JP, pt-PT, zh-Hans, zh-Hant. A locale is
1024
- * absent (never an empty string) when no translation exists; the map is
1025
- * empty when the token has no description or the request is `external`.
1174
+ * e.g. [500, 3000, 10000]; never matches V2 pools
1026
1175
  *
1027
- * @generated from field: map<string, string> description_translations = 5;
1176
+ * @generated from field: repeated uint32 fee_tiers = 5;
1028
1177
  */
1029
- descriptionTranslations: {
1030
- [key: string]: string;
1031
- };
1178
+ feeTiers: number[];
1032
1179
  /**
1033
- * @generated from field: optional string homepage_url = 2;
1180
+ * exact match; never matches V2 pools
1181
+ *
1182
+ * @generated from field: optional int32 tick_spacing = 6;
1034
1183
  */
1035
- homepageUrl?: string;
1184
+ tickSpacing?: number | undefined;
1036
1185
  /**
1037
- * @generated from field: optional string twitter_name = 3;
1186
+ * V4 hook address; the zero address matches hookless V4 pools; never matches V2/V3 pools
1187
+ *
1188
+ * @generated from field: optional string hooks = 7;
1038
1189
  */
1039
- twitterName?: string;
1190
+ hooks?: string | undefined;
1040
1191
  /**
1041
- * @generated from field: optional string logo_url = 4;
1192
+ * Curated-feed quality gates, default true (the pools translation of
1193
+ * ListTokens' bundle, CONS-2542). Applied uniformly to every request
1194
+ * shape; scoped flows (exact-pool lookups, fee-tier discovery) that need
1195
+ * complete listings must send false explicitly. Gates: wash trading (1D
1196
+ * volume must not exceed 10,000x the pool's TVL; fails open on missing
1197
+ * values), valuation trust (both tokens priced with confidence >= 0.005,
1198
+ * ListTokens' exact rule; fails closed on a missing price), and discovery
1199
+ * (each token native, on a token list, or confidence >= 0.2 WITH 1D token
1200
+ * volume in ListTokens' discovery band [10K, 30M] — its exact
1201
+ * on-list-or-earned-trust rule), balance (the pool's claimed TVL
1202
+ * must be backed on both sides: side-valuation ratio at or above the
1203
+ * protocol-stats 1:500 rule; unknown fails open), and a TVL floor
1204
+ * (pool TVL >= $1,000 on ranked explore feeds, >= $1 on token-scoped
1205
+ * requests — the dust stratum where fossilized stats live; unknown
1206
+ * fails open).
1207
+ *
1208
+ * @generated from field: optional bool apply_top_level_filters = 8;
1042
1209
  */
1043
- logoUrl?: string;
1210
+ applyTopLevelFilters?: boolean | undefined;
1044
1211
  /**
1045
- * Curated display color per theme, used as-is in place of a color extracted
1046
- * from the logo. Unset for almost every token: clients then fall back to
1047
- * extraction.
1212
+ * Restrict the listing to pools running a live allowlisted LP-incentive
1213
+ * campaign (Merkl). The campaign set is the row source; everything else —
1214
+ * spam, the quality gates above, attribute filters, sort, pagination —
1215
+ * behaves exactly as it does without this flag, so a caller wanting every
1216
+ * rewarded pool regardless of size sends include_spam true and
1217
+ * apply_top_level_filters false alongside it. Never matches V2 pools:
1218
+ * Merkl campaign types don't target them.
1048
1219
  *
1049
- * @generated from field: optional data.v2.ThemedColors colors = 6;
1220
+ * @generated from field: optional bool rewards_only = 9;
1050
1221
  */
1051
- colors?: ThemedColors;
1052
- constructor(data?: PartialMessage<TokenProject>);
1053
- static readonly runtime: typeof proto3;
1054
- static readonly typeName = "data.v2.TokenProject";
1055
- static readonly fields: FieldList;
1056
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenProject;
1057
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenProject;
1058
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenProject;
1059
- static equals(a: TokenProject | PlainMessage<TokenProject> | undefined, b: TokenProject | PlainMessage<TokenProject> | undefined): boolean;
1060
- }
1061
- /**
1062
- * One color per theme, each an uppercase "#RRGGBB" hex string. The two are
1063
- * equal unless the logo needs a different color on dark backgrounds (e.g. a
1064
- * black logo shown in white).
1065
- *
1066
- * @generated from message data.v2.ThemedColors
1067
- */
1068
- export declare class ThemedColors extends Message<ThemedColors> {
1222
+ rewardsOnly?: boolean | undefined;
1069
1223
  /**
1070
- * @generated from field: string light = 1;
1224
+ * Explore-search filter: free text matched against the pool's tokens
1225
+ * (case-insensitive, normalized as in TokenListFilter.search_query). A
1226
+ * plain term prefix-matches either token's symbol or name; a "/" splits
1227
+ * the query into two halves, each prefix-matching one side's symbol (both
1228
+ * orientations; an empty half matches anything, so "usdc/" = all USDC
1229
+ * pools); a "0x"-prefixed query prefix-matches the token addresses or the
1230
+ * pool identifier instead. Narrows the listing; sort, gates, floors, and
1231
+ * pagination keep their ordinary meanings. Empty/whitespace = no filter.
1232
+ *
1233
+ * @generated from field: optional string search_query = 10;
1071
1234
  */
1072
- light: string;
1235
+ searchQuery?: string | undefined;
1073
1236
  /**
1074
- * @generated from field: string dark = 2;
1237
+ * Serve only members of these pool categories: OR within this list, AND
1238
+ * with the other filter fields. An unknown id, a token-category id
1239
+ * included, is rejected.
1240
+ *
1241
+ * @generated from field: repeated string category_ids = 12;
1075
1242
  */
1076
- dark: string;
1077
- constructor(data?: PartialMessage<ThemedColors>);
1078
- static readonly runtime: typeof proto3;
1079
- static readonly typeName = "data.v2.ThemedColors";
1080
- static readonly fields: FieldList;
1081
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ThemedColors;
1082
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ThemedColors;
1083
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ThemedColors;
1084
- static equals(a: ThemedColors | PlainMessage<ThemedColors> | undefined, b: ThemedColors | PlainMessage<ThemedColors> | undefined): boolean;
1085
- }
1243
+ categoryIds: string[];
1244
+ /**
1245
+ * V4 pools using any of these hook addresses (any casing), such as every
1246
+ * deployment of one hook; max 25.
1247
+ *
1248
+ * @generated from field: repeated string hook_addresses = 13;
1249
+ */
1250
+ hookAddresses: string[];
1251
+ /**
1252
+ * Only pools with a hook: V4 pools whose hook is neither unset nor the zero
1253
+ * address.
1254
+ *
1255
+ * @generated from field: optional bool hooked_only = 14;
1256
+ */
1257
+ hookedOnly?: boolean | undefined;
1258
+ };
1086
1259
  /**
1087
- * @generated from message data.v2.TokenMultichain
1260
+ * Describes the message data.v2.PoolListFilter.
1261
+ * Use `create(PoolListFilterSchema)` to create a new message.
1262
+ */
1263
+ export declare const PoolListFilterSchema: GenMessage<PoolListFilter>;
1264
+ /**
1265
+ * Returned by ListPools — wraps a Pool with its ranking stats.
1266
+ *
1267
+ * @generated from message data.v2.RankedPool
1088
1268
  */
1089
- export declare class TokenMultichain extends Message<TokenMultichain> {
1269
+ export type RankedPool = Message<"data.v2.RankedPool"> & {
1090
1270
  /**
1091
- * @generated from field: string id = 1;
1271
+ * @generated from field: data.v2.Pool pool = 1;
1092
1272
  */
1093
- id: string;
1273
+ pool?: Pool | undefined;
1094
1274
  /**
1095
- * @generated from field: map<string, string> addresses = 2;
1275
+ * @generated from field: data.v2.PoolRankStats stats = 2;
1096
1276
  */
1097
- addresses: {
1098
- [key: string]: string;
1099
- };
1100
- constructor(data?: PartialMessage<TokenMultichain>);
1101
- static readonly runtime: typeof proto3;
1102
- static readonly typeName = "data.v2.TokenMultichain";
1103
- static readonly fields: FieldList;
1104
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenMultichain;
1105
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenMultichain;
1106
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenMultichain;
1107
- static equals(a: TokenMultichain | PlainMessage<TokenMultichain> | undefined, b: TokenMultichain | PlainMessage<TokenMultichain> | undefined): boolean;
1108
- }
1277
+ stats?: PoolRankStats | undefined;
1278
+ };
1109
1279
  /**
1110
- * One logo as a light-theme and a dark-theme URL; remote art can't be
1111
- * recoloured by the client's theme.
1280
+ * Describes the message data.v2.RankedPool.
1281
+ * Use `create(RankedPoolSchema)` to create a new message.
1282
+ */
1283
+ export declare const RankedPoolSchema: GenMessage<RankedPool>;
1284
+ /**
1285
+ * One token side of a pool event. amount is signed, pool-perspective:
1286
+ * positive = the token entered the pool (sold / deposited), negative = it
1287
+ * left the pool (bought / withdrawn) — same convention as the GraphQL
1288
+ * transactions resolvers. amount_usd = |amount| * price; 0 when price or
1289
+ * decimals are unavailable.
1112
1290
  *
1113
- * @generated from message data.v2.ThemedLogoUrls
1291
+ * @generated from message data.v2.TransactionTokenSide
1114
1292
  */
1115
- export declare class ThemedLogoUrls extends Message<ThemedLogoUrls> {
1293
+ export type TransactionTokenSide = Message<"data.v2.TransactionTokenSide"> & {
1116
1294
  /**
1117
- * @generated from field: string light = 1;
1295
+ * @generated from field: data.v2.Token token = 1;
1118
1296
  */
1119
- light: string;
1297
+ token?: Token | undefined;
1120
1298
  /**
1121
- * @generated from field: string dark = 2;
1299
+ * decimal-adjusted signed amount, full precision; absent when decimals unavailable
1300
+ *
1301
+ * @generated from field: optional string amount = 2;
1122
1302
  */
1123
- dark: string;
1124
- constructor(data?: PartialMessage<ThemedLogoUrls>);
1125
- static readonly runtime: typeof proto3;
1126
- static readonly typeName = "data.v2.ThemedLogoUrls";
1127
- static readonly fields: FieldList;
1128
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ThemedLogoUrls;
1129
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ThemedLogoUrls;
1130
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ThemedLogoUrls;
1131
- static equals(a: ThemedLogoUrls | PlainMessage<ThemedLogoUrls> | undefined, b: ThemedLogoUrls | PlainMessage<ThemedLogoUrls> | undefined): boolean;
1132
- }
1303
+ amount?: string | undefined;
1304
+ /**
1305
+ * @generated from field: double amount_usd = 3;
1306
+ */
1307
+ amountUsd: number;
1308
+ };
1133
1309
  /**
1134
- * Issuer of a tokenized real-world asset; absent = not an RWA or issuer unknown.
1310
+ * Describes the message data.v2.TransactionTokenSide.
1311
+ * Use `create(TransactionTokenSideSchema)` to create a new message.
1312
+ */
1313
+ export declare const TransactionTokenSideSchema: GenMessage<TransactionTokenSide>;
1314
+ /**
1315
+ * A single on-chain event from the global protocol feed.
1135
1316
  *
1136
- * @generated from message data.v2.TokenIssuerInfo
1317
+ * @generated from message data.v2.UniswapTransaction
1137
1318
  */
1138
- export declare class TokenIssuerInfo extends Message<TokenIssuerInfo> {
1319
+ export type UniswapTransaction = Message<"data.v2.UniswapTransaction"> & {
1139
1320
  /**
1140
- * @generated from field: string id = 1;
1321
+ * @generated from field: uint32 chain_id = 1;
1141
1322
  */
1142
- id: string;
1323
+ chainId: number;
1143
1324
  /**
1144
- * @generated from field: string display_name = 2;
1325
+ * @generated from field: string tx_hash = 2;
1145
1326
  */
1146
- displayName: string;
1327
+ txHash: string;
1147
1328
  /**
1148
- * Full-colour light-theme logo: the curated one when a set exists, else the
1149
- * issuer's CoinGecko image (canvas and background vary).
1329
+ * Unix epoch milliseconds
1150
1330
  *
1151
- * @generated from field: string logo_url = 3;
1331
+ * @generated from field: int64 timestamp_ms = 3;
1152
1332
  */
1153
- logoUrl: string;
1333
+ timestampMs: bigint;
1154
1334
  /**
1155
- * Curated sets on a uniform square canvas; without one, every slot carries the
1156
- * CoinGecko image (absent only when the issuer has no logo at all).
1157
- *
1158
- * @generated from field: optional data.v2.ThemedLogoUrls color_logo_urls = 4;
1335
+ * @generated from field: data.v2.TransactionEventType event_type = 4;
1159
1336
  */
1160
- colorLogoUrls?: ThemedLogoUrls;
1337
+ eventType: TransactionEventType;
1161
1338
  /**
1162
- * Drawn for small dimmed treatments (12px at 50%).
1339
+ * @generated from field: pools.v1.ProtocolVersion protocol_version = 5;
1340
+ */
1341
+ protocolVersion: ProtocolVersion;
1342
+ /**
1343
+ * pool address (V2/V3) or pool_id (V4)
1163
1344
  *
1164
- * @generated from field: optional data.v2.ThemedLogoUrls grayscale_logo_urls = 5;
1345
+ * @generated from field: string pool_id = 6;
1165
1346
  */
1166
- grayscaleLogoUrls?: ThemedLogoUrls;
1167
- constructor(data?: PartialMessage<TokenIssuerInfo>);
1168
- static readonly runtime: typeof proto3;
1169
- static readonly typeName = "data.v2.TokenIssuerInfo";
1170
- static readonly fields: FieldList;
1171
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenIssuerInfo;
1172
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenIssuerInfo;
1173
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenIssuerInfo;
1174
- static equals(a: TokenIssuerInfo | PlainMessage<TokenIssuerInfo> | undefined, b: TokenIssuerInfo | PlainMessage<TokenIssuerInfo> | undefined): boolean;
1175
- }
1176
- /**
1177
- * One chain's deployment of a multichain token. Decimals differ across a
1178
- * group's chains (USDC is 6 on mainnet and 18 on BNB), so amounts on a
1179
- * chain are scaled by this value, never by MultichainToken.decimals.
1180
- *
1181
- * @generated from message data.v2.ChainDeployment
1182
- */
1183
- export declare class ChainDeployment extends Message<ChainDeployment> {
1347
+ poolId: string;
1184
1348
  /**
1185
- * @generated from field: string address = 1;
1349
+ * @generated from field: data.v2.TransactionTokenSide token0 = 7;
1186
1350
  */
1187
- address: string;
1351
+ token0?: TransactionTokenSide | undefined;
1188
1352
  /**
1189
- * @generated from field: uint32 decimals = 2;
1353
+ * @generated from field: data.v2.TransactionTokenSide token1 = 8;
1190
1354
  */
1191
- decimals: number;
1192
- constructor(data?: PartialMessage<ChainDeployment>);
1193
- static readonly runtime: typeof proto3;
1194
- static readonly typeName = "data.v2.ChainDeployment";
1195
- static readonly fields: FieldList;
1196
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChainDeployment;
1197
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChainDeployment;
1198
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChainDeployment;
1199
- static equals(a: ChainDeployment | PlainMessage<ChainDeployment> | undefined, b: ChainDeployment | PlainMessage<ChainDeployment> | undefined): boolean;
1200
- }
1201
- /**
1202
- * @generated from message data.v2.MultichainToken
1203
- */
1204
- export declare class MultichainToken extends Message<MultichainToken> {
1355
+ token1?: TransactionTokenSide | undefined;
1205
1356
  /**
1206
- * Canonicalizer group id; empty for a single-chain (ungrouped) token, except
1207
- * in Search results, which carry the token's own id as a row key.
1208
- * GetTokenMultiChain resolves grouped ids only.
1357
+ * swap = avg of both sides; add/remove = sum
1209
1358
  *
1210
- * @generated from field: string multichain_id = 1;
1359
+ * @generated from field: double amount_usd = 9;
1211
1360
  */
1212
- multichainId: string;
1361
+ amountUsd: number;
1213
1362
  /**
1214
- * chainId -> address. Same keys as `deployments`, which also carries the
1215
- * chain's decimals; read that instead.
1363
+ * checksummed EVM address (tx_from)
1216
1364
  *
1217
- * @generated from field: map<string, string> addresses = 2 [deprecated = true];
1218
- * @deprecated
1365
+ * @generated from field: string wallet_address = 10;
1219
1366
  */
1220
- addresses: {
1221
- [key: string]: string;
1222
- };
1367
+ walletAddress: string;
1368
+ };
1369
+ /**
1370
+ * Describes the message data.v2.UniswapTransaction.
1371
+ * Use `create(UniswapTransactionSchema)` to create a new message.
1372
+ */
1373
+ export declare const UniswapTransactionSchema: GenMessage<UniswapTransaction>;
1374
+ /**
1375
+ * @generated from message data.v2.Token
1376
+ */
1377
+ export type Token = Message<"data.v2.Token"> & {
1378
+ /**
1379
+ * @generated from field: uint32 chain_id = 1;
1380
+ */
1381
+ chainId: number;
1382
+ /**
1383
+ * @generated from field: string address = 2;
1384
+ */
1385
+ address: string;
1223
1386
  /**
1224
1387
  * @generated from field: string symbol = 3;
1225
1388
  */
1226
1389
  symbol: string;
1227
1390
  /**
1228
- * The canonical deployment's decimals (`canonical_chain_id`). Per-chain
1229
- * values are in `deployments`.
1230
- *
1231
1391
  * @generated from field: uint32 decimals = 4;
1232
1392
  */
1233
1393
  decimals: number;
@@ -1242,1449 +1402,1266 @@ export declare class MultichainToken extends Message<MultichainToken> {
1242
1402
  /**
1243
1403
  * @generated from field: data.v2.TokenPriceData price = 7;
1244
1404
  */
1245
- price?: TokenPriceData;
1405
+ price?: TokenPriceData | undefined;
1246
1406
  /**
1247
1407
  * @generated from field: data.v2.TokenSafety safety = 8;
1248
1408
  */
1249
- safety?: TokenSafety;
1409
+ safety?: TokenSafety | undefined;
1250
1410
  /**
1251
1411
  * @generated from field: data.v2.TokenFees fees = 9;
1252
1412
  */
1253
- fees?: TokenFees;
1413
+ fees?: TokenFees | undefined;
1254
1414
  /**
1255
1415
  * @generated from field: data.v2.TokenProject project = 10;
1256
1416
  */
1257
- project?: TokenProject;
1417
+ project?: TokenProject | undefined;
1418
+ /**
1419
+ * @generated from field: optional data.v2.TokenMultichain multichain = 11;
1420
+ */
1421
+ multichain?: TokenMultichain | undefined;
1258
1422
  /**
1259
1423
  * USD, price * total supply. NULL for EVM until CONS-2571's write path
1260
1424
  * populates chain_token_stats.fdv_usd. Populated for Solana via Codex.
1261
1425
  *
1262
- * @generated from field: optional double fdv = 11;
1426
+ * @generated from field: optional double fdv = 12;
1263
1427
  */
1264
- fdv?: number;
1428
+ fdv?: number | undefined;
1265
1429
  /**
1266
1430
  * Ordered by display precedence: the first id is the preferred tag.
1267
1431
  *
1268
- * @generated from field: repeated string category_ids = 12;
1432
+ * @generated from field: repeated string category_ids = 13;
1269
1433
  */
1270
1434
  categoryIds: string[];
1271
1435
  /**
1272
- * @generated from field: optional data.v2.TokenIssuerInfo issuer = 13;
1436
+ * @generated from field: optional data.v2.TokenIssuerInfo issuer = 14;
1273
1437
  */
1274
- issuer?: TokenIssuerInfo;
1438
+ issuer?: TokenIssuerInfo | undefined;
1275
1439
  /**
1276
- * key of `deployments` the price, chart and metadata come from
1440
+ * Best-effort display origin populated by canonical-token GetToken and
1441
+ * GetTokens reads. Other RPCs that reuse Token may leave it unset; absence
1442
+ * there does not prove the token has no eligible launch.
1277
1443
  *
1278
- * @generated from field: optional uint32 canonical_chain_id = 14;
1444
+ * @generated from field: optional data.v2.TokenLaunchProvenance launch_provenance = 15;
1279
1445
  */
1280
- canonicalChainId?: number;
1446
+ launchProvenance?: TokenLaunchProvenance | undefined;
1281
1447
  /**
1282
- * chainId -> that chain's deployment: one per chain, the full canonical group.
1448
+ * Earliest qualifying swap for this token and chain across indexed pools,
1449
+ * excluding auction bids and checkpoints. Not the launch time. Set only for
1450
+ * tracked launch tokens on canonical-token GetToken and GetTokens reads.
1283
1451
  *
1284
- * @generated from field: map<string, data.v2.ChainDeployment> deployments = 15;
1452
+ * @generated from field: optional google.protobuf.Timestamp first_traded_at = 16;
1285
1453
  */
1286
- deployments: {
1287
- [key: string]: ChainDeployment;
1288
- };
1289
- constructor(data?: PartialMessage<MultichainToken>);
1290
- static readonly runtime: typeof proto3;
1291
- static readonly typeName = "data.v2.MultichainToken";
1292
- static readonly fields: FieldList;
1293
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MultichainToken;
1294
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MultichainToken;
1295
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MultichainToken;
1296
- static equals(a: MultichainToken | PlainMessage<MultichainToken> | undefined, b: MultichainToken | PlainMessage<MultichainToken> | undefined): boolean;
1297
- }
1454
+ firstTradedAt?: Timestamp | undefined;
1455
+ };
1298
1456
  /**
1299
- * @generated from message data.v2.PoolsSort
1457
+ * Describes the message data.v2.Token.
1458
+ * Use `create(TokenSchema)` to create a new message.
1459
+ */
1460
+ export declare const TokenSchema: GenMessage<Token>;
1461
+ /**
1462
+ * A token launchpad known to the Launches surface (see the data-api
1463
+ * launchpad registry). A launchpad is the launching FRONTEND users see; id is
1464
+ * the stable slug used in launchpad_id filters.
1465
+ *
1466
+ * @generated from message data.v2.Launchpad
1300
1467
  */
1301
- export declare class PoolsSort extends Message<PoolsSort> {
1468
+ export type Launchpad = Message<"data.v2.Launchpad"> & {
1302
1469
  /**
1303
- * default: POOLS_ORDER_BY_TVL
1304
- *
1305
- * @generated from field: optional data.v2.PoolsOrderBy order_by = 1;
1470
+ * @generated from field: string id = 1;
1306
1471
  */
1307
- orderBy?: PoolsOrderBy;
1472
+ id: string;
1308
1473
  /**
1309
- * default false (highest first)
1474
+ * @generated from field: string name = 2;
1475
+ */
1476
+ name: string;
1477
+ /**
1478
+ * @generated from field: optional string logo_url = 3;
1479
+ */
1480
+ logoUrl?: string | undefined;
1481
+ /**
1482
+ * Underlying shared launch protocol (e.g. "doppler") when the frontend
1483
+ * launches through contracts it doesn't own. Unset for self-contained
1484
+ * launchpads; several frontends can share one protocol value.
1310
1485
  *
1311
- * @generated from field: optional bool ascending = 2;
1486
+ * @generated from field: optional string protocol = 4;
1312
1487
  */
1313
- ascending?: boolean;
1314
- constructor(data?: PartialMessage<PoolsSort>);
1315
- static readonly runtime: typeof proto3;
1316
- static readonly typeName = "data.v2.PoolsSort";
1317
- static readonly fields: FieldList;
1318
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolsSort;
1319
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolsSort;
1320
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolsSort;
1321
- static equals(a: PoolsSort | PlainMessage<PoolsSort> | undefined, b: PoolsSort | PlainMessage<PoolsSort> | undefined): boolean;
1322
- }
1488
+ protocol?: string | undefined;
1489
+ };
1323
1490
  /**
1324
- * A pool's boosted APR in one reward token: the sum of that token's live
1325
- * campaign APRs on the pool, in percent, on top of the pool's fee APR. Ended
1326
- * campaigns are excluded — they accrue no yield.
1327
- *
1328
- * Deliberately carries no campaign detail (windows, allocations, distributed
1329
- * amounts): only the pool details page renders that, and it reads
1330
- * GetPoolRewards. Keeping it off this message keeps the per-row payload small
1331
- * enough to repeat across a page of pools.
1491
+ * Describes the message data.v2.Launchpad.
1492
+ * Use `create(LaunchpadSchema)` to create a new message.
1493
+ */
1494
+ export declare const LaunchpadSchema: GenMessage<Launchpad>;
1495
+ /**
1496
+ * One token's earliest eligible launch, for display rather than complete
1497
+ * launch history. The launchpad is a serve-time snapshot of data-api's
1498
+ * registry so clients can render its badge without another request. When the
1499
+ * registry entry is missing or incomplete, the server omits the whole
1500
+ * launch_provenance field instead of returning a partial attribution.
1332
1501
  *
1333
- * @generated from message data.v2.PoolTokenBoost
1502
+ * @generated from message data.v2.TokenLaunchProvenance
1334
1503
  */
1335
- export declare class PoolTokenBoost extends Message<PoolTokenBoost> {
1504
+ export type TokenLaunchProvenance = Message<"data.v2.TokenLaunchProvenance"> & {
1336
1505
  /**
1337
- * @generated from field: pools.v1.Token token = 1;
1506
+ * @generated from field: data.v2.Launchpad launchpad = 1;
1338
1507
  */
1339
- token?: Token$1;
1508
+ launchpad?: Launchpad | undefined;
1340
1509
  /**
1341
- * @generated from field: double apr = 2;
1510
+ * @generated from field: data.v2.LaunchMethod launch_method = 2;
1342
1511
  */
1343
- apr: number;
1344
- constructor(data?: PartialMessage<PoolTokenBoost>);
1345
- static readonly runtime: typeof proto3;
1346
- static readonly typeName = "data.v2.PoolTokenBoost";
1347
- static readonly fields: FieldList;
1348
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolTokenBoost;
1349
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolTokenBoost;
1350
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolTokenBoost;
1351
- static equals(a: PoolTokenBoost | PlainMessage<PoolTokenBoost> | undefined, b: PoolTokenBoost | PlainMessage<PoolTokenBoost> | undefined): boolean;
1352
- }
1512
+ launchMethod: LaunchMethod;
1513
+ };
1353
1514
  /**
1354
- * Ranking stats for a pool.
1355
- * apr = annualised fee revenue / TVL.
1356
- * reward_apr = Merkl incentive yield (not a valid sort key).
1357
- * total_apr = apr + reward_apr treating null as 0; only null if both are null.
1515
+ * Describes the message data.v2.TokenLaunchProvenance.
1516
+ * Use `create(TokenLaunchProvenanceSchema)` to create a new message.
1517
+ */
1518
+ export declare const TokenLaunchProvenanceSchema: GenMessage<TokenLaunchProvenance>;
1519
+ /**
1520
+ * Optional filters for ListLaunches. When a window is set and sort_by is
1521
+ * UNSPECIFIED the server sorts by 24h volume (VOLUME_1D).
1358
1522
  *
1359
- * @generated from message data.v2.PoolRankStats
1523
+ * @generated from message data.v2.LaunchListFilter
1360
1524
  */
1361
- export declare class PoolRankStats extends Message<PoolRankStats> {
1525
+ export type LaunchListFilter = Message<"data.v2.LaunchListFilter"> & {
1362
1526
  /**
1363
- * @generated from field: optional double tvl = 1;
1527
+ * @generated from field: data.v2.LaunchWindow window = 1;
1364
1528
  */
1365
- tvl?: number;
1529
+ window: LaunchWindow;
1530
+ };
1531
+ /**
1532
+ * Describes the message data.v2.LaunchListFilter.
1533
+ * Use `create(LaunchListFilterSchema)` to create a new message.
1534
+ */
1535
+ export declare const LaunchListFilterSchema: GenMessage<LaunchListFilter>;
1536
+ /**
1537
+ * The launched token's identity and display metadata.
1538
+ *
1539
+ * @generated from message data.v2.LaunchToken
1540
+ */
1541
+ export type LaunchToken = Message<"data.v2.LaunchToken"> & {
1366
1542
  /**
1367
- * @generated from field: optional double volume_1d = 2;
1543
+ * @generated from field: uint32 chain_id = 1;
1368
1544
  */
1369
- volume1d?: number;
1545
+ chainId: number;
1370
1546
  /**
1371
- * @generated from field: optional double volume_30d = 3;
1547
+ * @generated from field: string address = 2;
1372
1548
  */
1373
- volume30d?: number;
1549
+ address: string;
1374
1550
  /**
1375
- * @generated from field: optional double apr = 4;
1551
+ * @generated from field: string symbol = 3;
1376
1552
  */
1377
- apr?: number;
1553
+ symbol: string;
1378
1554
  /**
1379
- * @generated from field: optional double reward_apr = 5;
1555
+ * @generated from field: string name = 4;
1380
1556
  */
1381
- rewardApr?: number;
1557
+ name: string;
1382
1558
  /**
1383
- * @generated from field: optional double total_apr = 6;
1559
+ * @generated from field: optional string logo_url = 5;
1384
1560
  */
1385
- totalApr?: number;
1561
+ logoUrl?: string | undefined;
1386
1562
  /**
1387
- * volume_1d / tvl; null if tvl is zero
1563
+ * Safety classification from Aurora canonical_tokens — the same source and
1564
+ * shape GetToken serves (safety.is_blocked carries the compliance
1565
+ * blocklist). Unset when the token has no canonical row yet (fresh
1566
+ * launches lag ingestion) or the read failed: treat as not blocked.
1388
1567
  *
1389
- * @generated from field: optional double volume_1d_tvl_ratio = 7;
1568
+ * @generated from field: data.v2.TokenSafety safety = 6;
1569
+ */
1570
+ safety?: TokenSafety | undefined;
1571
+ };
1572
+ /**
1573
+ * Describes the message data.v2.LaunchToken.
1574
+ * Use `create(LaunchTokenSchema)` to create a new message.
1575
+ */
1576
+ export declare const LaunchTokenSchema: GenMessage<LaunchToken>;
1577
+ /**
1578
+ * Live USD stats for a launch's pool/token. Each field is unset when its
1579
+ * source has no data yet (fresh launches lag the stats pipelines).
1580
+ *
1581
+ * @generated from message data.v2.LaunchStats
1582
+ */
1583
+ export type LaunchStats = Message<"data.v2.LaunchStats"> & {
1584
+ /**
1585
+ * @generated from field: optional double volume_24h_usd = 1;
1390
1586
  */
1391
- volume1dTvlRatio?: number;
1587
+ volume24hUsd?: number | undefined;
1392
1588
  /**
1393
- * What reward_apr is paid in, per reward token — so a client can denominate
1394
- * a boost ("+2.1% in UNI") instead of rendering a bare number under a
1395
- * guessed symbol. reward_apr stays the cross-token sum and is derived from
1396
- * these, so reward_apr == sum(token_boosts[].apr) always holds.
1397
- *
1398
- * Empty when the pool runs no live campaign, and empty when the incentive
1399
- * lookup degraded — in which case reward_apr is unset too. Never one
1400
- * without the other: a boost nobody can denominate is worse than no boost.
1589
+ * @generated from field: optional double tvl_usd = 2;
1590
+ */
1591
+ tvlUsd?: number | undefined;
1592
+ /**
1593
+ * @generated from field: optional double price_usd = 3;
1594
+ */
1595
+ priceUsd?: number | undefined;
1596
+ /**
1597
+ * price x total supply; unset where no supply source
1401
1598
  *
1402
- * @generated from field: repeated data.v2.PoolTokenBoost token_boosts = 8;
1599
+ * @generated from field: optional double fdv_usd = 4;
1403
1600
  */
1404
- tokenBoosts: PoolTokenBoost[];
1601
+ fdvUsd?: number | undefined;
1405
1602
  /**
1406
- * Fee APR over the trailing 7 days, in percent like `apr` (which stays the
1407
- * 24h window, and is the one the APR sort and filter read): LP fees in the
1408
- * window over the pool's time-weighted TVL, annualized. Unset until the
1409
- * stats cron publishes the window for this pool.
1603
+ * @generated from field: optional double price_change_percent_1h = 5;
1604
+ */
1605
+ priceChangePercent1h?: number | undefined;
1606
+ /**
1607
+ * @generated from field: optional double price_change_percent_24h = 6;
1608
+ */
1609
+ priceChangePercent24h?: number | undefined;
1610
+ /**
1611
+ * USD price sparkline over the trailing 24h, oldest first. Same shape as
1612
+ * RankedMultichainToken.sparkline (Aurora-side timestamps are synthesized;
1613
+ * CCA points are observed). Empty when no series is available.
1410
1614
  *
1411
- * @generated from field: optional double apr_7d = 9;
1615
+ * @generated from field: repeated data.v1.TimestampedValue sparkline = 7;
1412
1616
  */
1413
- apr7d?: number;
1617
+ sparkline: TimestampedValue[];
1414
1618
  /**
1415
- * Fee APR over the trailing 30 days, in percent; same definition and unset
1416
- * rule as apr_7d.
1619
+ * price_usd in ETH terms, derived at serve time as price_usd divided by
1620
+ * the chain's native-ETH USD rate. Only set on chains whose native
1621
+ * currency is ETH; unset when either price is unavailable.
1417
1622
  *
1418
- * @generated from field: optional double apr_30d = 10;
1623
+ * @generated from field: optional double price_eth = 8;
1419
1624
  */
1420
- apr30d?: number;
1625
+ priceEth?: number | undefined;
1421
1626
  /**
1422
- * LP fees earned over the trailing 24h, in USD, after the protocol fee.
1423
- * Unset until the stats cron publishes them for this pool.
1627
+ * USD price ~24h ago — the anchor price_change_percent_24h is measured
1628
+ * against. When set, price_change_percent_24h is computed at serve time
1629
+ * from the live current price against this anchor; unset when the stats
1630
+ * pipeline has not resolved an anchor yet.
1424
1631
  *
1425
- * @generated from field: optional double fees_1d = 11;
1632
+ * @generated from field: optional double price_24h_ago_usd = 9;
1426
1633
  */
1427
- fees1d?: number;
1428
- constructor(data?: PartialMessage<PoolRankStats>);
1429
- static readonly runtime: typeof proto3;
1430
- static readonly typeName = "data.v2.PoolRankStats";
1431
- static readonly fields: FieldList;
1432
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolRankStats;
1433
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolRankStats;
1434
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolRankStats;
1435
- static equals(a: PoolRankStats | PlainMessage<PoolRankStats> | undefined, b: PoolRankStats | PlainMessage<PoolRankStats> | undefined): boolean;
1436
- }
1634
+ price24hAgoUsd?: number | undefined;
1635
+ };
1437
1636
  /**
1438
- * A pool's protocol identity, token pair, and current on-chain state (state
1439
- * fields are mirrored from the chain verbatim). No derived stats
1440
- * (TVL/volume/APR) — those live on RankedPool.
1637
+ * Describes the message data.v2.LaunchStats.
1638
+ * Use `create(LaunchStatsSchema)` to create a new message.
1639
+ */
1640
+ export declare const LaunchStatsSchema: GenMessage<LaunchStats>;
1641
+ /**
1642
+ * One token launch: the earliest pool a (token, launchpad) pair created.
1441
1643
  *
1442
- * @generated from message data.v2.Pool
1644
+ * @generated from message data.v2.Launch
1443
1645
  */
1444
- export declare class Pool extends Message<Pool> {
1646
+ export type Launch = Message<"data.v2.Launch"> & {
1445
1647
  /**
1446
- * @generated from field: uint32 chain_id = 1;
1648
+ * @generated from field: string launchpad_id = 1;
1447
1649
  */
1448
- chainId: number;
1650
+ launchpadId: string;
1449
1651
  /**
1450
- * checksummed pool address (V4: pool id hash)
1652
+ * @generated from field: data.v2.LaunchToken token = 2;
1653
+ */
1654
+ token?: LaunchToken | undefined;
1655
+ /**
1656
+ * v4 pool id for hook-attributed and direct launches; CCA pool key hash
1657
+ * once the auction has migrated to a pool, empty before then.
1451
1658
  *
1452
- * @generated from field: string pool_id = 2;
1659
+ * @generated from field: string pool_id = 3;
1453
1660
  */
1454
1661
  poolId: string;
1455
1662
  /**
1456
- * @generated from field: data.v2.Token token0 = 3;
1663
+ * @generated from field: optional string hooks_address = 4;
1457
1664
  */
1458
- token0?: Token;
1665
+ hooksAddress?: string | undefined;
1459
1666
  /**
1460
- * @generated from field: data.v2.Token token1 = 4;
1667
+ * unix seconds
1668
+ *
1669
+ * @generated from field: int64 launched_at = 5;
1461
1670
  */
1462
- token1?: Token;
1671
+ launchedAt: bigint;
1463
1672
  /**
1464
- * @generated from field: pools.v1.ProtocolVersion protocol_version = 5;
1673
+ * @generated from field: data.v2.LaunchStats stats = 6;
1465
1674
  */
1466
- protocolVersion: ProtocolVersion;
1675
+ stats?: LaunchStats | undefined;
1467
1676
  /**
1468
- * @generated from field: optional int32 tick_spacing = 6;
1677
+ * CCA + direct-launch launches: true once the launch graduated. CCA:
1678
+ * auction migrated into its pool (on-chain fact). Direct launches
1679
+ * (launchpad "uniswap-bonding-curve") have NO on-chain graduation — the
1680
+ * pool is a vanilla v4 pool from block one — so this is currently always
1681
+ * false for them; a serving-side FDV-threshold graduation rule may set it
1682
+ * later. Unset for other hook-attributed launches, which are pools
1683
+ * already.
1684
+ *
1685
+ * @generated from field: optional bool graduated = 7;
1469
1686
  */
1470
- tickSpacing?: number;
1687
+ graduated?: boolean | undefined;
1471
1688
  /**
1472
- * The pool key's own fee in pips, always served: the V4 DYNAMIC_FEE_FLAG
1473
- * sentinel (0x800000) for a dynamic-fee pool — the literal PoolKey.fee, which
1474
- * is what hashing a v4 pool id needs — and the fixed 3000 for V2. Read
1475
- * is_dynamic_fee, not this, to decide whether a pool has a fixed rate.
1689
+ * CCA launches only, pre-graduation: bid volume as a percent of the
1690
+ * required raise, clamped to [0, 100]. Unset once graduated, when the
1691
+ * auction has no required raise, and for hook-attributed launches.
1476
1692
  *
1477
- * @generated from field: optional uint32 fee_tier = 7;
1693
+ * @generated from field: optional double auction_fill_pct = 8;
1478
1694
  */
1479
- feeTier?: number;
1695
+ auctionFillPct?: number | undefined;
1480
1696
  /**
1481
- * true for V4 pools with dynamic fees
1697
+ * CCA launches only, pre-graduation: the auction's end block number
1698
+ * (bigint as string). Clients estimate calendar time from blocks, like the
1699
+ * v1 auction start_block/end_block. Unset once graduated.
1482
1700
  *
1483
- * @generated from field: bool is_dynamic_fee = 8;
1701
+ * @generated from field: optional string auction_end_block = 9;
1484
1702
  */
1485
- isDynamicFee: boolean;
1703
+ auctionEndBlock?: string | undefined;
1486
1704
  /**
1487
- * V4 only
1705
+ * CCA launches only: distinct wallets that have placed bids in the auction
1706
+ * (all bids, including withdrawn/exited — historical participation, so it
1707
+ * stays set after graduation). Unset for hook-attributed launches, which
1708
+ * have no auction. int32 matches the v1 auction total_bid_count.
1488
1709
  *
1489
- * @generated from field: optional string hook_address = 9;
1710
+ * @generated from field: optional int32 bidder_count = 10;
1490
1711
  */
1491
- hookAddress?: string;
1712
+ bidderCount?: number | undefined;
1492
1713
  /**
1493
- * V3/V4 only; absent when no state row is indexed yet
1714
+ * Direct-launch overlay (see BondingCurveInfo), set only for launches of
1715
+ * the Uniswap direct-launch launchpad ("uniswap-bonding-curve").
1494
1716
  *
1495
- * @generated from field: optional int32 current_tick = 10;
1717
+ * @generated from field: optional data.v2.BondingCurveInfo bonding_curve = 11;
1496
1718
  */
1497
- currentTick?: number;
1719
+ bondingCurve?: BondingCurveInfo | undefined;
1498
1720
  /**
1499
- * uint160 as decimal string; V3/V4 only
1721
+ * Launchpad token metadata (12-15), joined from launched_tokens — present
1722
+ * only for launches whose token was created via the Uniswap token factory
1723
+ * (CCA and bonding-curve launches); other launchpads' tokens have no row
1724
+ * and serve unset. Verification gating mirrors v1 GetAuction
1725
+ * (AuctionsBL.enrichWithLaunchpadMetadata): the description is on-chain
1726
+ * creator text at the same trust level as name/symbol, served ungated.
1500
1727
  *
1501
- * @generated from field: optional string sqrt_price_x96 = 11;
1728
+ * @generated from field: optional string token_description = 12;
1502
1729
  */
1503
- sqrtPriceX96?: string;
1730
+ tokenDescription?: string | undefined;
1504
1731
  /**
1505
- * uint128 as decimal string; V3/V4 only
1732
+ * The launch tx's from address (launched_tokens.creator_wallet),
1733
+ * EIP-55 checksummed. Public on-chain data, served ungated.
1506
1734
  *
1507
- * @generated from field: optional string liquidity = 12;
1735
+ * @generated from field: optional string creator_address = 13;
1508
1736
  */
1509
- liquidity?: string;
1737
+ creatorAddress?: string | undefined;
1510
1738
  /**
1511
- * Protocol fee (pips): additive on top of the LP fee for V4, a carve-out
1512
- * of the fee tier for V2/V3. Unset when unavailable.
1739
+ * Creator-declared project website. Served only once website verification
1740
+ * passes; verification is deferred today (status stays 'pending', same
1741
+ * rule that keeps the token mirror's homepageUrl null), so this stays
1742
+ * unset until that ships.
1513
1743
  *
1514
- * @generated from field: optional uint32 protocol_fee = 13;
1744
+ * @generated from field: optional string website_url = 14;
1515
1745
  */
1516
- protocolFee?: number;
1746
+ websiteUrl?: string | undefined;
1517
1747
  /**
1518
- * Effective (all-in) fee (pips): V4 fee_tier + protocol_fee; V2/V3 the fee
1519
- * tier. Unset when protocol_fee is unavailable (incl. V4 dynamic-fee).
1748
+ * X handle, only when its inline-at-ingest Ed25519 verification passed.
1520
1749
  *
1521
- * @generated from field: optional uint32 effective_fee = 14;
1750
+ * @generated from field: optional string x_handle = 15;
1522
1751
  */
1523
- effectiveFee?: number;
1752
+ xHandle?: string | undefined;
1524
1753
  /**
1525
- * The LP fee the pool is charging RIGHT NOW, in pips (1e-6, so 3000 = 0.30%)
1526
- * — same unit and regime as fee_tier: V2/V3 all-in with the protocol fee
1527
- * carved OUT of it, V4 the LP's share with protocol_fee additive ON TOP.
1528
- *
1529
- * Always served, so no client has to read is_dynamic_fee to know which field
1530
- * holds the rate: for V2, V3 and fixed-fee V4 this simply IS fee_tier. It
1531
- * diverges only on a V4 dynamic-fee pool, where fee_tier is the sentinel and
1532
- * this carries what the pool's most recent swap actually charged (recovered
1533
- * from the total swap fee the Swap event records, which is lpFee and
1534
- * protocolFee combined).
1535
- *
1536
- * Unset ONLY when a dynamic-fee pool's current fee can't be established: no
1537
- * swap indexed yet, or a total that matches neither protocol-fee direction.
1538
- * Never carries the DYNAMIC_FEE_FLAG sentinel.
1754
+ * Bonding-curve launches only (16-17): distinct wallets (swap tx senders)
1755
+ * that bought the launch token on its curve pool — all-time and trailing
1756
+ * hour. Served from ClickHouse v4 swaps; absent (never 0) when the stats
1757
+ * source fails or for non-curve launches, so clients can tell degraded
1758
+ * from a real zero.
1539
1759
  *
1540
- * @generated from field: optional uint32 current_lp_fee = 15;
1760
+ * @generated from field: optional int32 unique_buyer_count = 16;
1541
1761
  */
1542
- currentLpFee?: number;
1762
+ uniqueBuyerCount?: number | undefined;
1543
1763
  /**
1544
- * Pool-category ids this pool belongs to, ordered by display precedence:
1545
- * the first id is the preferred tag. Mirrors Token.category_ids.
1546
- *
1547
- * @generated from field: repeated string category_ids = 16;
1764
+ * @generated from field: optional int32 buyers_last_1h = 17;
1548
1765
  */
1549
- categoryIds: string[];
1766
+ buyersLast1h?: number | undefined;
1550
1767
  /**
1551
- * The pool's quote token: show it second and price the other token in it
1552
- * (ETH/USDC quotes USDC). Always equals token0.address or token1.address.
1553
- * Unset while data-ingestion hasn't resolved one; order by token0/token1.
1768
+ * Exact on-chain holder count of the launch token, computed at query time
1769
+ * over the raw launch-transfers feed (ClickHouse, reorg-excluded):
1770
+ * addresses with a positive net balance, contracts included, burn sinks
1771
+ * like 0x…dEaD included while they hold a balance — raw Etherscan-style
1772
+ * semantics. Present only for tokens created via the Uniswap token
1773
+ * factory (CCA + bonding-curve launches, whose transfers the feed
1774
+ * whitelists); absent — never 0 — while the token has no ingested
1775
+ * transfers or when the enrichment fails.
1554
1776
  *
1555
- * @generated from field: optional string quote_token_address = 17;
1777
+ * @generated from field: optional int32 holder_count = 18;
1556
1778
  */
1557
- quoteTokenAddress?: string;
1558
- constructor(data?: PartialMessage<Pool>);
1559
- static readonly runtime: typeof proto3;
1560
- static readonly typeName = "data.v2.Pool";
1561
- static readonly fields: FieldList;
1562
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Pool;
1563
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Pool;
1564
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Pool;
1565
- static equals(a: Pool | PlainMessage<Pool> | undefined, b: Pool | PlainMessage<Pool> | undefined): boolean;
1566
- }
1567
- /**
1568
- * @generated from message data.v2.PoolTokenFilter
1569
- */
1570
- export declare class PoolTokenFilter extends Message<PoolTokenFilter> {
1779
+ holderCount?: number | undefined;
1571
1780
  /**
1572
- * checksummed EVM addresses
1781
+ * Cumulative burned amount of the launch token, split by burn sink and
1782
+ * computed from the same transfer feed. Raw uint256 base units as decimal
1783
+ * strings; total burned = burned_to_zero + burned_to_dead. Because burn
1784
+ * addresses never spend, a holders-excluding-burn count is
1785
+ * client-derivable as holder_count - (burned_to_dead > 0 ? 1 : 0). Same
1786
+ * presence rule as holder_count (absent without ingested transfers), but
1787
+ * once the token has transfers a genuine "0" is served.
1573
1788
  *
1574
- * @generated from field: repeated string tokens = 1;
1575
- */
1576
- tokens: string[];
1577
- /**
1578
- * @generated from field: data.v2.PoolTokenLogicalOperator logical_operator = 2;
1789
+ * @generated from field: optional string burned_to_zero = 19;
1579
1790
  */
1580
- logicalOperator: PoolTokenLogicalOperator;
1581
- constructor(data?: PartialMessage<PoolTokenFilter>);
1582
- static readonly runtime: typeof proto3;
1583
- static readonly typeName = "data.v2.PoolTokenFilter";
1584
- static readonly fields: FieldList;
1585
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolTokenFilter;
1586
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolTokenFilter;
1587
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolTokenFilter;
1588
- static equals(a: PoolTokenFilter | PlainMessage<PoolTokenFilter> | undefined, b: PoolTokenFilter | PlainMessage<PoolTokenFilter> | undefined): boolean;
1589
- }
1590
- /**
1591
- * @generated from message data.v2.PoolStatRangeFilter
1592
- */
1593
- export declare class PoolStatRangeFilter extends Message<PoolStatRangeFilter> {
1791
+ burnedToZero?: string | undefined;
1594
1792
  /**
1595
- * @generated from field: optional double min = 1;
1793
+ * @generated from field: optional string burned_to_dead = 20;
1596
1794
  */
1597
- min?: number;
1795
+ burnedToDead?: string | undefined;
1598
1796
  /**
1599
- * @generated from field: optional double max = 2;
1797
+ * CCA launches only, pre-graduation (same lifecycle as auction_end_block):
1798
+ * wall-clock time of the auction's end block in unix seconds, computed
1799
+ * server-side (LP-1300) — the exact block timestamp once the end block is
1800
+ * mined, otherwise an estimate from a per-chain block-time model. Unset
1801
+ * once graduated, when the source data is unavailable, and for
1802
+ * hook-attributed launches.
1803
+ *
1804
+ * @generated from field: optional int64 auction_end_time = 21;
1600
1805
  */
1601
- max?: number;
1602
- constructor(data?: PartialMessage<PoolStatRangeFilter>);
1603
- static readonly runtime: typeof proto3;
1604
- static readonly typeName = "data.v2.PoolStatRangeFilter";
1605
- static readonly fields: FieldList;
1606
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolStatRangeFilter;
1607
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolStatRangeFilter;
1608
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolStatRangeFilter;
1609
- static equals(a: PoolStatRangeFilter | PlainMessage<PoolStatRangeFilter> | undefined, b: PoolStatRangeFilter | PlainMessage<PoolStatRangeFilter> | undefined): boolean;
1610
- }
1611
- /**
1612
- * @generated from message data.v2.PoolStatsFilter
1613
- */
1614
- export declare class PoolStatsFilter extends Message<PoolStatsFilter> {
1806
+ auctionEndTime?: bigint | undefined;
1615
1807
  /**
1616
- * @generated from field: optional data.v2.PoolStatRangeFilter tvl = 1;
1808
+ * X profile image URL of the verified launcher account, captured from the
1809
+ * launch's signed x-verification claims. Same gate as x_handle: served only
1810
+ * when the inline-at-ingest Ed25519 verification passed. Unset for launches
1811
+ * that predate claim capture (backfill pending) or carry no avatar.
1812
+ *
1813
+ * @generated from field: optional string x_profile_image_url = 22;
1617
1814
  */
1618
- tvl?: PoolStatRangeFilter;
1815
+ xProfileImageUrl?: string | undefined;
1619
1816
  /**
1620
- * @generated from field: optional data.v2.PoolStatRangeFilter apr = 2;
1817
+ * Whether the launcher's X account was verified (blue check) when captured.
1818
+ * Tri-state via presence: unset = unknown (pre-feature launch, not yet
1819
+ * backfilled), false = X reported not verified, true = verified. Same
1820
+ * x_handle_status gate as x_handle / x_profile_image_url.
1821
+ *
1822
+ * @generated from field: optional bool x_verified = 23;
1621
1823
  */
1622
- apr?: PoolStatRangeFilter;
1824
+ xVerified?: boolean | undefined;
1623
1825
  /**
1624
- * @generated from field: optional data.v2.PoolStatRangeFilter volume_1d = 3;
1826
+ * Home-card trade tape: the launch token's most recent swaps, newest
1827
+ * first, capped at the last 5 within the trailing 24h — same rows (and
1828
+ * message) GetTokenTrades serves, aggregated across all the token's pools
1829
+ * on its chain. Served from a short-TTL cache refreshed off the request
1830
+ * path, so entries can lag live trades by the cache TTL (~30s) and a
1831
+ * cold cache serves an empty list — clients treat empty as "no recent
1832
+ * activity known", not an error. Pre-graduation CCA launches have no
1833
+ * swaps by construction (bids are not trades) — the auction tape is
1834
+ * AuctionWithStats.recent_bids on ListTopAuctions.
1835
+ *
1836
+ * @generated from field: repeated data.v2.TokenTrade recent_trades = 24;
1625
1837
  */
1626
- volume1d?: PoolStatRangeFilter;
1838
+ recentTrades: TokenTrade[];
1627
1839
  /**
1628
- * @generated from field: optional data.v2.PoolStatRangeFilter volume_30d = 4;
1840
+ * Badges earned by the launch's token (LP badges), one per badge type,
1841
+ * highest tier only, canonical order. Empty until the token has earned
1842
+ * any (badges are awarded at ingest and by a slow tier cron, so the
1843
+ * common row serves an empty list).
1844
+ *
1845
+ * @generated from field: repeated data.v2.LaunchBadge badges = 25;
1629
1846
  */
1630
- volume30d?: PoolStatRangeFilter;
1631
- constructor(data?: PartialMessage<PoolStatsFilter>);
1632
- static readonly runtime: typeof proto3;
1633
- static readonly typeName = "data.v2.PoolStatsFilter";
1634
- static readonly fields: FieldList;
1635
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolStatsFilter;
1636
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolStatsFilter;
1637
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolStatsFilter;
1638
- static equals(a: PoolStatsFilter | PlainMessage<PoolStatsFilter> | undefined, b: PoolStatsFilter | PlainMessage<PoolStatsFilter> | undefined): boolean;
1639
- }
1847
+ badges: LaunchBadge[];
1848
+ };
1640
1849
  /**
1641
- * Server-side filters applied before ranking and pagination.
1850
+ * Describes the message data.v2.Launch.
1851
+ * Use `create(LaunchSchema)` to create a new message.
1852
+ */
1853
+ export declare const LaunchSchema: GenMessage<Launch>;
1854
+ /**
1855
+ * One badge earned by a launch's token. type/tier are deliberately plain
1856
+ * strings, NOT enums: the client contract pins the lowercase ids on the
1857
+ * wire, and proto-JSON would serialize an enum's VALUE NAMES instead.
1642
1858
  *
1643
- * @generated from message data.v2.PoolListFilter
1859
+ * @generated from message data.v2.LaunchBadge
1644
1860
  */
1645
- export declare class PoolListFilter extends Message<PoolListFilter> {
1646
- /**
1647
- * if empty, all protocol versions
1648
- *
1649
- * @generated from field: repeated pools.v1.ProtocolVersion protocol_versions = 1;
1650
- */
1651
- protocolVersions: ProtocolVersion[];
1861
+ export type LaunchBadge = Message<"data.v2.LaunchBadge"> & {
1652
1862
  /**
1653
- * Default false (spam excluded): drops pools where either token is
1654
- * affirmatively flagged — a non-Benign Blockaid verdict, blocklisted, or
1655
- * URL-spam; unscanned tokens pass (ListTokens' exact safety rule).
1656
- * Independent of apply_top_level_filters.
1657
- *
1658
- * @generated from field: optional bool include_spam = 2;
1659
- */
1660
- includeSpam?: boolean;
1661
- /**
1662
- * @generated from field: optional data.v2.PoolTokenFilter token_filter = 3;
1663
- */
1664
- tokenFilter?: PoolTokenFilter;
1665
- /**
1666
- * @generated from field: optional data.v2.PoolStatsFilter stats_filter = 4;
1667
- */
1668
- statsFilter?: PoolStatsFilter;
1669
- /**
1670
- * e.g. [500, 3000, 10000]; never matches V2 pools
1863
+ * "original" | "frontrunner" | "volume" | "holders" | "badger".
1671
1864
  *
1672
- * @generated from field: repeated uint32 fee_tiers = 5;
1865
+ * @generated from field: string type = 1;
1673
1866
  */
1674
- feeTiers: number[];
1867
+ type: string;
1675
1868
  /**
1676
- * exact match; never matches V2 pools
1869
+ * Tier id, present only for the tiered types — volume: "5m" | "10m" |
1870
+ * "50m"; holders: "100" | "1k" | "10k". Unset for untiered types.
1677
1871
  *
1678
- * @generated from field: optional int32 tick_spacing = 6;
1872
+ * @generated from field: optional string tier = 2;
1679
1873
  */
1680
- tickSpacing?: number;
1874
+ tier?: string | undefined;
1681
1875
  /**
1682
- * V4 hook address; the zero address matches hookless V4 pools; never matches V2/V3 pools
1876
+ * When the badge was earned (proto-JSON serializes this as an ISO-8601
1877
+ * string, which is the client contract). Exact on-chain launch time for
1878
+ * frontrunner; observation time for original and for tier crossings,
1879
+ * which are only known to have happened by the pass that spots them.
1683
1880
  *
1684
- * @generated from field: optional string hooks = 7;
1881
+ * @generated from field: google.protobuf.Timestamp earned_at = 3;
1685
1882
  */
1686
- hooks?: string;
1883
+ earnedAt?: Timestamp | undefined;
1687
1884
  /**
1688
- * Curated-feed quality gates, default true (the pools translation of
1689
- * ListTokens' bundle, CONS-2542). Applied uniformly to every request
1690
- * shape; scoped flows (exact-pool lookups, fee-tier discovery) that need
1691
- * complete listings must send false explicitly. Gates: wash trading (1D
1692
- * volume must not exceed 10,000x the pool's TVL; fails open on missing
1693
- * values), valuation trust (both tokens priced with confidence >= 0.005,
1694
- * ListTokens' exact rule; fails closed on a missing price), and discovery
1695
- * (each token native, on a token list, or confidence >= 0.2 WITH 1D token
1696
- * volume in ListTokens' discovery band [10K, 30M] — its exact
1697
- * on-list-or-earned-trust rule), balance (the pool's claimed TVL
1698
- * must be backed on both sides: side-valuation ratio at or above the
1699
- * protocol-stats 1:500 rule; unknown fails open), and a TVL floor
1700
- * (pool TVL >= $1,000 on ranked explore feeds, >= $1 on token-scoped
1701
- * requests — the dust stratum where fossilized stats live; unknown
1702
- * fails open).
1885
+ * Rarity: percentage (0-100) of eligible tokens that hold this badge
1886
+ * TYPE (any tier), for the client's rarity-tag hover. The denominator is
1887
+ * every factory-launched token (the launched_tokens registry). Served
1888
+ * from a short-TTL cached aggregate; unset when the aggregate is
1889
+ * unavailable — clients hide the rarity detail rather than showing 0.
1703
1890
  *
1704
- * @generated from field: optional bool apply_top_level_filters = 8;
1891
+ * @generated from field: optional double holder_percentage = 4;
1705
1892
  */
1706
- applyTopLevelFilters?: boolean;
1893
+ holderPercentage?: number | undefined;
1894
+ };
1895
+ /**
1896
+ * Describes the message data.v2.LaunchBadge.
1897
+ * Use `create(LaunchBadgeSchema)` to create a new message.
1898
+ */
1899
+ export declare const LaunchBadgeSchema: GenMessage<LaunchBadge>;
1900
+ /**
1901
+ * One row of a launch token's holder list (GetLaunchHolders).
1902
+ *
1903
+ * @generated from message data.v2.LaunchHolder
1904
+ */
1905
+ export type LaunchHolder = Message<"data.v2.LaunchHolder"> & {
1707
1906
  /**
1708
- * Restrict the listing to pools running a live allowlisted LP-incentive
1709
- * campaign (Merkl). The campaign set is the row source; everything else —
1710
- * spam, the quality gates above, attribute filters, sort, pagination —
1711
- * behaves exactly as it does without this flag, so a caller wanting every
1712
- * rewarded pool regardless of size sends include_spam true and
1713
- * apply_top_level_filters false alongside it. Never matches V2 pools:
1714
- * Merkl campaign types don't target them.
1907
+ * EIP-55 checksummed, so clients can equality-match against
1908
+ * Launch.creator_address and well-known addresses (LP, burn sinks).
1715
1909
  *
1716
- * @generated from field: optional bool rewards_only = 9;
1910
+ * @generated from field: string address = 1;
1717
1911
  */
1718
- rewardsOnly?: boolean;
1912
+ address: string;
1719
1913
  /**
1720
- * Explore-search filter: free text matched against the pool's tokens
1721
- * (case-insensitive, normalized as in TokenListFilter.search_query). A
1722
- * plain term prefix-matches either token's symbol or name; a "/" splits
1723
- * the query into two halves, each prefix-matching one side's symbol (both
1724
- * orientations; an empty half matches anything, so "usdc/" = all USDC
1725
- * pools); a "0x"-prefixed query prefix-matches the token addresses or the
1726
- * pool identifier instead. Narrows the listing; sort, gates, floors, and
1727
- * pagination keep their ordinary meanings. Empty/whitespace = no filter.
1914
+ * Net balance, raw base units as a decimal string. For the synthetic
1915
+ * zero-address burn row this is the cumulative amount burned to 0x0.
1728
1916
  *
1729
- * @generated from field: optional string search_query = 10;
1917
+ * @generated from field: string balance = 2;
1730
1918
  */
1731
- searchQuery?: string;
1919
+ balance: string;
1732
1920
  /**
1733
- * Serve only members of these pool categories: OR within this list, AND
1734
- * with the other filter fields. An unknown id, a token-category id
1735
- * included, is rejected.
1921
+ * balance as a percent of minted_supply, in [0, 100].
1736
1922
  *
1737
- * @generated from field: repeated string category_ids = 12;
1923
+ * @generated from field: double supply_pct = 3;
1738
1924
  */
1739
- categoryIds: string[];
1925
+ supplyPct: number;
1740
1926
  /**
1741
- * V4 pools using any of these hook addresses (any casing), such as every
1742
- * deployment of one hook; max 25.
1927
+ * True for burn-sink rows (the zero address and 0x…dEaD). Burn rows are
1928
+ * served in the list (burned tokens stay visible) but excluded from
1929
+ * top10_supply_pct; the synthetic zero-address row is also excluded from
1930
+ * holder_count (0x…dEaD counts, matching Launch.holder_count).
1743
1931
  *
1744
- * @generated from field: repeated string hook_addresses = 13;
1932
+ * @generated from field: bool is_burn_address = 4;
1745
1933
  */
1746
- hookAddresses: string[];
1934
+ isBurnAddress: boolean;
1747
1935
  /**
1748
- * Only pools with a hook: V4 pools whose hook is neither unset nor the zero
1749
- * address.
1936
+ * True for the launch pool's custody row — the chain's v4 PoolManager
1937
+ * singleton, which holds the pool's token-side balance (the LP NFT sits
1938
+ * in the FeeSplitter, the ERC-20 supply does not). Served in the list so
1939
+ * clients can label it, but excluded from top10_supply_pct like burn rows
1940
+ * (the pool is the market, not a dumpable holder); it stays inside
1941
+ * holder_count.
1750
1942
  *
1751
- * @generated from field: optional bool hooked_only = 14;
1943
+ * @generated from field: bool is_pool_address = 5;
1752
1944
  */
1753
- hookedOnly?: boolean;
1754
- constructor(data?: PartialMessage<PoolListFilter>);
1755
- static readonly runtime: typeof proto3;
1756
- static readonly typeName = "data.v2.PoolListFilter";
1757
- static readonly fields: FieldList;
1758
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolListFilter;
1759
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolListFilter;
1760
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolListFilter;
1761
- static equals(a: PoolListFilter | PlainMessage<PoolListFilter> | undefined, b: PoolListFilter | PlainMessage<PoolListFilter> | undefined): boolean;
1762
- }
1945
+ isPoolAddress: boolean;
1946
+ };
1763
1947
  /**
1764
- * Returned by ListPools — wraps a Pool with its ranking stats.
1765
- *
1766
- * @generated from message data.v2.RankedPool
1948
+ * Describes the message data.v2.LaunchHolder.
1949
+ * Use `create(LaunchHolderSchema)` to create a new message.
1767
1950
  */
1768
- export declare class RankedPool extends Message<RankedPool> {
1769
- /**
1770
- * @generated from field: data.v2.Pool pool = 1;
1771
- */
1772
- pool?: Pool;
1773
- /**
1774
- * @generated from field: data.v2.PoolRankStats stats = 2;
1775
- */
1776
- stats?: PoolRankStats;
1777
- constructor(data?: PartialMessage<RankedPool>);
1778
- static readonly runtime: typeof proto3;
1779
- static readonly typeName = "data.v2.RankedPool";
1780
- static readonly fields: FieldList;
1781
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RankedPool;
1782
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RankedPool;
1783
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RankedPool;
1784
- static equals(a: RankedPool | PlainMessage<RankedPool> | undefined, b: RankedPool | PlainMessage<RankedPool> | undefined): boolean;
1785
- }
1951
+ export declare const LaunchHolderSchema: GenMessage<LaunchHolder>;
1786
1952
  /**
1787
- * One token side of a pool event. amount is signed, pool-perspective:
1788
- * positive = the token entered the pool (sold / deposited), negative = it
1789
- * left the pool (bought / withdrawn) — same convention as the GraphQL
1790
- * transactions resolvers. amount_usd = |amount| * price; 0 when price or
1791
- * decimals are unavailable.
1953
+ * Overlay for launches of the Uniswap direct-launch launchpad (launchpad_id
1954
+ * "uniswap-bonding-curve", kept for client compatibility). The current
1955
+ * launcher generation (DirectLaunchStrategy, LP-1289) is hookless with NO
1956
+ * on-chain graduation lifecycle: launch pools are vanilla v4 pools from
1957
+ * block one, and "graduation" is a serving/frontend concept (an FDV
1958
+ * threshold), not a contract event. Fields 1-5 and 7-9 belong to the
1959
+ * never-launched bonding-curve hook generation and are no longer set for
1960
+ * new launches; they are kept so the message shape stays wire-compatible.
1792
1961
  *
1793
- * @generated from message data.v2.TransactionTokenSide
1962
+ * @generated from message data.v2.BondingCurveInfo
1794
1963
  */
1795
- export declare class TransactionTokenSide extends Message<TransactionTokenSide> {
1964
+ export type BondingCurveInfo = Message<"data.v2.BondingCurveInfo"> & {
1796
1965
  /**
1797
- * @generated from field: data.v2.Token token = 1;
1798
- */
1799
- token?: Token;
1800
- /**
1801
- * decimal-adjusted signed amount, full precision; absent when decimals unavailable
1966
+ * Legacy bonding-curve-hook fields (1-5, 7-9): never set for direct-launch
1967
+ * (hookless) launches — there is no curve and no on-chain graduation.
1802
1968
  *
1803
- * @generated from field: optional string amount = 2;
1969
+ * @generated from field: optional string graduation_sqrt_price_x96 = 1;
1804
1970
  */
1805
- amount?: string;
1971
+ graduationSqrtPriceX96?: string | undefined;
1806
1972
  /**
1807
- * @generated from field: double amount_usd = 3;
1973
+ * @generated from field: optional int32 curve_tick_lower = 2;
1808
1974
  */
1809
- amountUsd: number;
1810
- constructor(data?: PartialMessage<TransactionTokenSide>);
1811
- static readonly runtime: typeof proto3;
1812
- static readonly typeName = "data.v2.TransactionTokenSide";
1813
- static readonly fields: FieldList;
1814
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TransactionTokenSide;
1815
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TransactionTokenSide;
1816
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TransactionTokenSide;
1817
- static equals(a: TransactionTokenSide | PlainMessage<TransactionTokenSide> | undefined, b: TransactionTokenSide | PlainMessage<TransactionTokenSide> | undefined): boolean;
1818
- }
1819
- /**
1820
- * A single on-chain event from the global protocol feed.
1821
- *
1822
- * @generated from message data.v2.UniswapTransaction
1823
- */
1824
- export declare class UniswapTransaction extends Message<UniswapTransaction> {
1975
+ curveTickLower?: number | undefined;
1825
1976
  /**
1826
- * @generated from field: uint32 chain_id = 1;
1977
+ * @generated from field: optional int32 curve_tick_upper = 3;
1827
1978
  */
1828
- chainId: number;
1979
+ curveTickUpper?: number | undefined;
1829
1980
  /**
1830
- * @generated from field: string tx_hash = 2;
1981
+ * @generated from field: optional string curve_supply = 4;
1831
1982
  */
1832
- txHash: string;
1983
+ curveSupply?: string | undefined;
1833
1984
  /**
1834
- * Unix epoch milliseconds
1835
- *
1836
- * @generated from field: int64 timestamp_ms = 3;
1985
+ * @generated from field: optional string reserve_supply = 5;
1837
1986
  */
1838
- timestampMs: bigint;
1987
+ reserveSupply?: string | undefined;
1839
1988
  /**
1840
- * @generated from field: data.v2.TransactionEventType event_type = 4;
1989
+ * @generated from field: optional string graduated_tx_hash = 7;
1841
1990
  */
1842
- eventType: TransactionEventType;
1991
+ graduatedTxHash?: string | undefined;
1843
1992
  /**
1844
- * @generated from field: pools.v1.ProtocolVersion protocol_version = 5;
1993
+ * @generated from field: optional double curve_progress_pct = 8;
1845
1994
  */
1846
- protocolVersion: ProtocolVersion;
1995
+ curveProgressPct?: number | undefined;
1847
1996
  /**
1848
- * pool address (V2/V3) or pool_id (V4)
1849
- *
1850
- * @generated from field: string pool_id = 6;
1997
+ * @generated from field: optional int64 graduated_at = 9;
1851
1998
  */
1852
- poolId: string;
1999
+ graduatedAt?: bigint | undefined;
1853
2000
  /**
1854
- * @generated from field: data.v2.TransactionTokenSide token0 = 7;
2001
+ * The launch's fee beneficiary, EIP-55 checksummed: the CURRENT holder of
2002
+ * the launch's BeneficiaryVault NFT, i.e. the address receiving the
2003
+ * creator share of the launch pool's trading fees. Freely chosen at
2004
+ * launch time by whoever built the launch transaction — a payee, NOT
2005
+ * proven authorship (see Launch.creator_address for the launch tx
2006
+ * sender) — and it MOVES with later NFT transfers. Unset while ingestion
2007
+ * of the vault events lags the launch, or when the position is
2008
+ * unregistered.
2009
+ *
2010
+ * @generated from field: optional string fee_beneficiary = 10;
1855
2011
  */
1856
- token0?: TransactionTokenSide;
2012
+ feeBeneficiary?: string | undefined;
2013
+ };
2014
+ /**
2015
+ * Describes the message data.v2.BondingCurveInfo.
2016
+ * Use `create(BondingCurveInfoSchema)` to create a new message.
2017
+ */
2018
+ export declare const BondingCurveInfoSchema: GenMessage<BondingCurveInfo>;
2019
+ /**
2020
+ * One swap involving the requested token, returned by GetTokenTrades.
2021
+ *
2022
+ * @generated from message data.v2.TokenTrade
2023
+ */
2024
+ export type TokenTrade = Message<"data.v2.TokenTrade"> & {
1857
2025
  /**
1858
- * @generated from field: data.v2.TransactionTokenSide token1 = 8;
2026
+ * @generated from field: string tx_hash = 1;
1859
2027
  */
1860
- token1?: TransactionTokenSide;
2028
+ txHash: string;
1861
2029
  /**
1862
- * swap = avg of both sides; add/remove = sum
1863
- *
1864
- * @generated from field: double amount_usd = 9;
2030
+ * @generated from field: data.v2.TradeSide side = 2;
1865
2031
  */
1866
- amountUsd: number;
2032
+ side: TradeSide;
1867
2033
  /**
1868
- * checksummed EVM address (tx_from)
1869
- *
1870
- * @generated from field: string wallet_address = 10;
1871
- */
1872
- walletAddress: string;
1873
- constructor(data?: PartialMessage<UniswapTransaction>);
1874
- static readonly runtime: typeof proto3;
1875
- static readonly typeName = "data.v2.UniswapTransaction";
1876
- static readonly fields: FieldList;
1877
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UniswapTransaction;
1878
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UniswapTransaction;
1879
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UniswapTransaction;
1880
- static equals(a: UniswapTransaction | PlainMessage<UniswapTransaction> | undefined, b: UniswapTransaction | PlainMessage<UniswapTransaction> | undefined): boolean;
1881
- }
1882
- /**
1883
- * @generated from message data.v2.Token
1884
- */
1885
- export declare class Token extends Message<Token> {
2034
+ * The transaction's from-address (the EOA that signed it), not the router
2035
+ * contract that forwarded the swap to the pool.
2036
+ *
2037
+ * @generated from field: string wallet = 3;
2038
+ */
2039
+ wallet: string;
1886
2040
  /**
1887
- * @generated from field: uint32 chain_id = 1;
2041
+ * Whole-swap USD value at trade time; unset when no USD price is known.
2042
+ *
2043
+ * @generated from field: optional double amount_usd = 4;
1888
2044
  */
1889
- chainId: number;
2045
+ amountUsd?: number | undefined;
1890
2046
  /**
1891
- * @generated from field: string address = 2;
2047
+ * Absolute amount of the requested token traded, decimal string in token
2048
+ * units (decimals applied). Empty when the token's decimals are unknown.
2049
+ *
2050
+ * @generated from field: string token_amount = 5;
1892
2051
  */
1893
- address: string;
2052
+ tokenAmount: string;
1894
2053
  /**
1895
- * @generated from field: string symbol = 3;
2054
+ * USD price of the requested token at trade time; unset when unknown.
2055
+ *
2056
+ * @generated from field: optional double price_usd = 6;
1896
2057
  */
1897
- symbol: string;
2058
+ priceUsd?: number | undefined;
1898
2059
  /**
1899
- * @generated from field: uint32 decimals = 4;
2060
+ * @generated from field: google.protobuf.Timestamp timestamp = 7;
1900
2061
  */
1901
- decimals: number;
2062
+ timestamp?: Timestamp | undefined;
2063
+ };
2064
+ /**
2065
+ * Describes the message data.v2.TokenTrade.
2066
+ * Use `create(TokenTradeSchema)` to create a new message.
2067
+ */
2068
+ export declare const TokenTradeSchema: GenMessage<TokenTrade>;
2069
+ /**
2070
+ * @generated from message data.v2.NftImage
2071
+ */
2072
+ export type NftImage = Message<"data.v2.NftImage"> & {
1902
2073
  /**
1903
- * @generated from field: string name = 5;
2074
+ * @generated from field: string url = 1;
1904
2075
  */
1905
- name: string;
2076
+ url: string;
1906
2077
  /**
1907
- * @generated from field: data.v1.TokenType type = 6;
2078
+ * FE reads image.dimensions for grid aspect ratio; may be null from Alchemy
2079
+ *
2080
+ * @generated from field: optional uint32 width = 2;
1908
2081
  */
1909
- type: TokenType;
2082
+ width?: number | undefined;
1910
2083
  /**
1911
- * @generated from field: data.v2.TokenPriceData price = 7;
2084
+ * @generated from field: optional uint32 height = 3;
1912
2085
  */
1913
- price?: TokenPriceData;
2086
+ height?: number | undefined;
2087
+ };
2088
+ /**
2089
+ * Describes the message data.v2.NftImage.
2090
+ * Use `create(NftImageSchema)` to create a new message.
2091
+ */
2092
+ export declare const NftImageSchema: GenMessage<NftImage>;
2093
+ /**
2094
+ * @generated from message data.v2.Nft
2095
+ */
2096
+ export type Nft = Message<"data.v2.Nft"> & {
1914
2097
  /**
1915
- * @generated from field: data.v2.TokenSafety safety = 8;
2098
+ * @generated from field: uint32 chain_id = 1;
1916
2099
  */
1917
- safety?: TokenSafety;
2100
+ chainId: number;
1918
2101
  /**
1919
- * @generated from field: data.v2.TokenFees fees = 9;
2102
+ * checksummed
2103
+ *
2104
+ * @generated from field: string contract_address = 2;
1920
2105
  */
1921
- fees?: TokenFees;
2106
+ contractAddress: string;
1922
2107
  /**
1923
- * @generated from field: data.v2.TokenProject project = 10;
2108
+ * @generated from field: string token_id = 3;
1924
2109
  */
1925
- project?: TokenProject;
2110
+ tokenId: string;
1926
2111
  /**
1927
- * @generated from field: optional data.v2.TokenMultichain multichain = 11;
2112
+ * @generated from field: string name = 4;
1928
2113
  */
1929
- multichain?: TokenMultichain;
2114
+ name: string;
1930
2115
  /**
1931
- * USD, price * total supply. NULL for EVM until CONS-2571's write path
1932
- * populates chain_token_stats.fdv_usd. Populated for Solana via Codex.
1933
- *
1934
- * @generated from field: optional double fdv = 12;
2116
+ * @generated from field: string description = 5;
1935
2117
  */
1936
- fdv?: number;
2118
+ description: string;
1937
2119
  /**
1938
- * Ordered by display precedence: the first id is the preferred tag.
1939
- *
1940
- * @generated from field: repeated string category_ids = 13;
2120
+ * @generated from field: data.v2.NftImage image = 6;
1941
2121
  */
1942
- categoryIds: string[];
2122
+ image?: NftImage | undefined;
1943
2123
  /**
1944
- * @generated from field: optional data.v2.TokenIssuerInfo issuer = 14;
2124
+ * @generated from field: data.v2.NftImage thumbnail = 7;
1945
2125
  */
1946
- issuer?: TokenIssuerInfo;
2126
+ thumbnail?: NftImage | undefined;
1947
2127
  /**
1948
- * Best-effort display origin populated by canonical-token GetToken and
1949
- * GetTokens reads. Other RPCs that reuse Token may leave it unset; absence
1950
- * there does not prove the token has no eligible launch.
2128
+ * Spam flag: Alchemy spam signals + Blockaid verdict + heuristics. Malicious
2129
+ * NFTs are filtered out server-side (not represented here).
1951
2130
  *
1952
- * @generated from field: optional data.v2.TokenLaunchProvenance launch_provenance = 15;
2131
+ * @generated from field: bool is_spam = 8;
1953
2132
  */
1954
- launchProvenance?: TokenLaunchProvenance;
2133
+ isSpam: boolean;
1955
2134
  /**
1956
- * Earliest qualifying swap for this token and chain across indexed pools,
1957
- * excluding auction bids and checkpoints. Not the launch time. Set only for
1958
- * tracked launch tokens on canonical-token GetToken and GetTokens reads.
1959
- *
1960
- * @generated from field: optional google.protobuf.Timestamp first_traded_at = 16;
2135
+ * @generated from field: string collection_name = 9;
1961
2136
  */
1962
- firstTradedAt?: Timestamp;
1963
- constructor(data?: PartialMessage<Token>);
1964
- static readonly runtime: typeof proto3;
1965
- static readonly typeName = "data.v2.Token";
1966
- static readonly fields: FieldList;
1967
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Token;
1968
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Token;
1969
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Token;
1970
- static equals(a: Token | PlainMessage<Token> | undefined, b: Token | PlainMessage<Token> | undefined): boolean;
1971
- }
2137
+ collectionName: string;
2138
+ };
1972
2139
  /**
1973
- * A token launchpad known to the Launches surface (see the data-api
1974
- * launchpad registry). A launchpad is the launching FRONTEND users see; id is
1975
- * the stable slug used in launchpad_id filters.
1976
- *
1977
- * @generated from message data.v2.Launchpad
2140
+ * Describes the message data.v2.Nft.
2141
+ * Use `create(NftSchema)` to create a new message.
2142
+ */
2143
+ export declare const NftSchema: GenMessage<Nft>;
2144
+ /**
2145
+ * @generated from enum data.v2.TokensOrderBy
1978
2146
  */
1979
- export declare class Launchpad extends Message<Launchpad> {
2147
+ export declare enum TokensOrderBy {
1980
2148
  /**
1981
- * @generated from field: string id = 1;
2149
+ * @generated from enum value: TOKENS_ORDER_BY_UNSPECIFIED = 0;
1982
2150
  */
1983
- id: string;
2151
+ UNSPECIFIED = 0,
1984
2152
  /**
1985
- * @generated from field: string name = 2;
2153
+ * @generated from enum value: TOKENS_ORDER_BY_TVL = 1;
1986
2154
  */
1987
- name: string;
2155
+ TVL = 1,
1988
2156
  /**
1989
- * @generated from field: optional string logo_url = 3;
2157
+ * @generated from enum value: TOKENS_ORDER_BY_VOLUME_1H = 2;
1990
2158
  */
1991
- logoUrl?: string;
2159
+ VOLUME_1H = 2,
1992
2160
  /**
1993
- * Underlying shared launch protocol (e.g. "doppler") when the frontend
1994
- * launches through contracts it doesn't own. Unset for self-contained
1995
- * launchpads; several frontends can share one protocol value.
1996
- *
1997
- * @generated from field: optional string protocol = 4;
2161
+ * @generated from enum value: TOKENS_ORDER_BY_VOLUME_1D = 3;
1998
2162
  */
1999
- protocol?: string;
2000
- constructor(data?: PartialMessage<Launchpad>);
2001
- static readonly runtime: typeof proto3;
2002
- static readonly typeName = "data.v2.Launchpad";
2003
- static readonly fields: FieldList;
2004
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Launchpad;
2005
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Launchpad;
2006
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Launchpad;
2007
- static equals(a: Launchpad | PlainMessage<Launchpad> | undefined, b: Launchpad | PlainMessage<Launchpad> | undefined): boolean;
2008
- }
2009
- /**
2010
- * One token's earliest eligible launch, for display rather than complete
2011
- * launch history. The launchpad is a serve-time snapshot of data-api's
2012
- * registry so clients can render its badge without another request. When the
2013
- * registry entry is missing or incomplete, the server omits the whole
2014
- * launch_provenance field instead of returning a partial attribution.
2015
- *
2016
- * @generated from message data.v2.TokenLaunchProvenance
2017
- */
2018
- export declare class TokenLaunchProvenance extends Message<TokenLaunchProvenance> {
2163
+ VOLUME_1D = 3,
2019
2164
  /**
2020
- * @generated from field: data.v2.Launchpad launchpad = 1;
2165
+ * @generated from enum value: TOKENS_ORDER_BY_VOLUME_7D = 4;
2021
2166
  */
2022
- launchpad?: Launchpad;
2167
+ VOLUME_7D = 4,
2023
2168
  /**
2024
- * @generated from field: data.v2.LaunchMethod launch_method = 2;
2169
+ * @generated from enum value: TOKENS_ORDER_BY_VOLUME_30D = 5;
2025
2170
  */
2026
- launchMethod: LaunchMethod;
2027
- constructor(data?: PartialMessage<TokenLaunchProvenance>);
2028
- static readonly runtime: typeof proto3;
2029
- static readonly typeName = "data.v2.TokenLaunchProvenance";
2030
- static readonly fields: FieldList;
2031
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenLaunchProvenance;
2032
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenLaunchProvenance;
2033
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenLaunchProvenance;
2034
- static equals(a: TokenLaunchProvenance | PlainMessage<TokenLaunchProvenance> | undefined, b: TokenLaunchProvenance | PlainMessage<TokenLaunchProvenance> | undefined): boolean;
2035
- }
2036
- /**
2037
- * Optional filters for ListLaunches. When a window is set and sort_by is
2038
- * UNSPECIFIED the server sorts by 24h volume (VOLUME_1D).
2039
- *
2040
- * @generated from message data.v2.LaunchListFilter
2041
- */
2042
- export declare class LaunchListFilter extends Message<LaunchListFilter> {
2171
+ VOLUME_30D = 5,
2043
2172
  /**
2044
- * @generated from field: data.v2.LaunchWindow window = 1;
2173
+ * @generated from enum value: TOKENS_ORDER_BY_VOLUME_1Y = 6;
2045
2174
  */
2046
- window: LaunchWindow;
2047
- constructor(data?: PartialMessage<LaunchListFilter>);
2048
- static readonly runtime: typeof proto3;
2049
- static readonly typeName = "data.v2.LaunchListFilter";
2050
- static readonly fields: FieldList;
2051
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LaunchListFilter;
2052
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LaunchListFilter;
2053
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LaunchListFilter;
2054
- static equals(a: LaunchListFilter | PlainMessage<LaunchListFilter> | undefined, b: LaunchListFilter | PlainMessage<LaunchListFilter> | undefined): boolean;
2055
- }
2056
- /**
2057
- * The launched token's identity and display metadata.
2058
- *
2059
- * @generated from message data.v2.LaunchToken
2060
- */
2061
- export declare class LaunchToken extends Message<LaunchToken> {
2175
+ VOLUME_1Y = 6,
2062
2176
  /**
2063
- * @generated from field: uint32 chain_id = 1;
2177
+ * @generated from enum value: TOKENS_ORDER_BY_VOLUME_ALL = 7;
2064
2178
  */
2065
- chainId: number;
2179
+ VOLUME_ALL = 7,
2066
2180
  /**
2067
- * @generated from field: string address = 2;
2181
+ * @generated from enum value: TOKENS_ORDER_BY_FDV = 8;
2068
2182
  */
2069
- address: string;
2183
+ FDV = 8,
2070
2184
  /**
2071
- * @generated from field: string symbol = 3;
2185
+ * @generated from enum value: TOKENS_ORDER_BY_PRICE_CHANGE_1H = 9;
2072
2186
  */
2073
- symbol: string;
2187
+ PRICE_CHANGE_1H = 9,
2074
2188
  /**
2075
- * @generated from field: string name = 4;
2189
+ * @generated from enum value: TOKENS_ORDER_BY_PRICE_CHANGE_1D = 10;
2076
2190
  */
2077
- name: string;
2191
+ PRICE_CHANGE_1D = 10,
2078
2192
  /**
2079
- * @generated from field: optional string logo_url = 5;
2193
+ * @generated from enum value: TOKENS_ORDER_BY_MARKET_CAP = 11;
2080
2194
  */
2081
- logoUrl?: string;
2195
+ MARKET_CAP = 11,
2082
2196
  /**
2083
- * Safety classification from Aurora canonical_tokens — the same source and
2084
- * shape GetToken serves (safety.is_blocked carries the compliance
2085
- * blocklist). Unset when the token has no canonical row yet (fresh
2086
- * launches lag ingestion) or the read failed: treat as not blocked.
2087
- *
2088
- * @generated from field: data.v2.TokenSafety safety = 6;
2197
+ * @generated from enum value: TOKENS_ORDER_BY_PRICE = 12;
2089
2198
  */
2090
- safety?: TokenSafety;
2091
- constructor(data?: PartialMessage<LaunchToken>);
2092
- static readonly runtime: typeof proto3;
2093
- static readonly typeName = "data.v2.LaunchToken";
2094
- static readonly fields: FieldList;
2095
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LaunchToken;
2096
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LaunchToken;
2097
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LaunchToken;
2098
- static equals(a: LaunchToken | PlainMessage<LaunchToken> | undefined, b: LaunchToken | PlainMessage<LaunchToken> | undefined): boolean;
2199
+ PRICE = 12
2099
2200
  }
2100
2201
  /**
2101
- * Live USD stats for a launch's pool/token. Each field is unset when its
2102
- * source has no data yet (fresh launches lag the stats pipelines).
2202
+ * Describes the enum data.v2.TokensOrderBy.
2203
+ */
2204
+ export declare const TokensOrderBySchema: GenEnum<TokensOrderBy>;
2205
+ /**
2206
+ * The fiat currencies the legacy GraphQL convert resolver accepts
2207
+ * (ETH/MATIC intentionally unrepresentable) plus later additions (SEK).
2208
+ * "Fiat" prefix avoids collision with the SDK's Currency (token) type.
2103
2209
  *
2104
- * @generated from message data.v2.LaunchStats
2210
+ * @generated from enum data.v2.FiatCurrency
2105
2211
  */
2106
- export declare class LaunchStats extends Message<LaunchStats> {
2107
- /**
2108
- * @generated from field: optional double volume_24h_usd = 1;
2109
- */
2110
- volume24hUsd?: number;
2111
- /**
2112
- * @generated from field: optional double tvl_usd = 2;
2113
- */
2114
- tvlUsd?: number;
2212
+ export declare enum FiatCurrency {
2115
2213
  /**
2116
- * @generated from field: optional double price_usd = 3;
2214
+ * @generated from enum value: FIAT_CURRENCY_UNSPECIFIED = 0;
2117
2215
  */
2118
- priceUsd?: number;
2216
+ UNSPECIFIED = 0,
2119
2217
  /**
2120
- * price x total supply; unset where no supply source
2121
- *
2122
- * @generated from field: optional double fdv_usd = 4;
2218
+ * @generated from enum value: FIAT_CURRENCY_ARS = 1;
2123
2219
  */
2124
- fdvUsd?: number;
2220
+ ARS = 1,
2125
2221
  /**
2126
- * @generated from field: optional double price_change_percent_1h = 5;
2222
+ * @generated from enum value: FIAT_CURRENCY_AUD = 2;
2127
2223
  */
2128
- priceChangePercent1h?: number;
2224
+ AUD = 2,
2129
2225
  /**
2130
- * @generated from field: optional double price_change_percent_24h = 6;
2226
+ * @generated from enum value: FIAT_CURRENCY_BRL = 3;
2131
2227
  */
2132
- priceChangePercent24h?: number;
2228
+ BRL = 3,
2133
2229
  /**
2134
- * USD price sparkline over the trailing 24h, oldest first. Same shape as
2135
- * RankedMultichainToken.sparkline (Aurora-side timestamps are synthesized;
2136
- * CCA points are observed). Empty when no series is available.
2137
- *
2138
- * @generated from field: repeated data.v1.TimestampedValue sparkline = 7;
2230
+ * @generated from enum value: FIAT_CURRENCY_CAD = 4;
2139
2231
  */
2140
- sparkline: TimestampedValue[];
2232
+ CAD = 4,
2141
2233
  /**
2142
- * price_usd in ETH terms, derived at serve time as price_usd divided by
2143
- * the chain's native-ETH USD rate. Only set on chains whose native
2144
- * currency is ETH; unset when either price is unavailable.
2145
- *
2146
- * @generated from field: optional double price_eth = 8;
2234
+ * @generated from enum value: FIAT_CURRENCY_CNY = 5;
2147
2235
  */
2148
- priceEth?: number;
2236
+ CNY = 5,
2149
2237
  /**
2150
- * USD price ~24h ago — the anchor price_change_percent_24h is measured
2151
- * against. When set, price_change_percent_24h is computed at serve time
2152
- * from the live current price against this anchor; unset when the stats
2153
- * pipeline has not resolved an anchor yet.
2154
- *
2155
- * @generated from field: optional double price_24h_ago_usd = 9;
2238
+ * @generated from enum value: FIAT_CURRENCY_COP = 6;
2156
2239
  */
2157
- price24hAgoUsd?: number;
2158
- constructor(data?: PartialMessage<LaunchStats>);
2159
- static readonly runtime: typeof proto3;
2160
- static readonly typeName = "data.v2.LaunchStats";
2161
- static readonly fields: FieldList;
2162
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LaunchStats;
2163
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LaunchStats;
2164
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LaunchStats;
2165
- static equals(a: LaunchStats | PlainMessage<LaunchStats> | undefined, b: LaunchStats | PlainMessage<LaunchStats> | undefined): boolean;
2166
- }
2167
- /**
2168
- * One token launch: the earliest pool a (token, launchpad) pair created.
2169
- *
2170
- * @generated from message data.v2.Launch
2171
- */
2172
- export declare class Launch extends Message<Launch> {
2240
+ COP = 6,
2173
2241
  /**
2174
- * @generated from field: string launchpad_id = 1;
2242
+ * @generated from enum value: FIAT_CURRENCY_EUR = 7;
2175
2243
  */
2176
- launchpadId: string;
2244
+ EUR = 7,
2177
2245
  /**
2178
- * @generated from field: data.v2.LaunchToken token = 2;
2246
+ * @generated from enum value: FIAT_CURRENCY_GBP = 8;
2179
2247
  */
2180
- token?: LaunchToken;
2248
+ GBP = 8,
2181
2249
  /**
2182
- * v4 pool id for hook-attributed and direct launches; CCA pool key hash
2183
- * once the auction has migrated to a pool, empty before then.
2184
- *
2185
- * @generated from field: string pool_id = 3;
2250
+ * @generated from enum value: FIAT_CURRENCY_HKD = 9;
2186
2251
  */
2187
- poolId: string;
2252
+ HKD = 9,
2188
2253
  /**
2189
- * @generated from field: optional string hooks_address = 4;
2254
+ * @generated from enum value: FIAT_CURRENCY_IDR = 10;
2190
2255
  */
2191
- hooksAddress?: string;
2192
- /**
2193
- * unix seconds
2194
- *
2195
- * @generated from field: int64 launched_at = 5;
2256
+ IDR = 10,
2257
+ /**
2258
+ * @generated from enum value: FIAT_CURRENCY_INR = 11;
2196
2259
  */
2197
- launchedAt: bigint;
2260
+ INR = 11,
2198
2261
  /**
2199
- * @generated from field: data.v2.LaunchStats stats = 6;
2262
+ * @generated from enum value: FIAT_CURRENCY_JPY = 12;
2200
2263
  */
2201
- stats?: LaunchStats;
2264
+ JPY = 12,
2202
2265
  /**
2203
- * CCA + direct-launch launches: true once the launch graduated. CCA:
2204
- * auction migrated into its pool (on-chain fact). Direct launches
2205
- * (launchpad "uniswap-bonding-curve") have NO on-chain graduation — the
2206
- * pool is a vanilla v4 pool from block one — so this is currently always
2207
- * false for them; a serving-side FDV-threshold graduation rule may set it
2208
- * later. Unset for other hook-attributed launches, which are pools
2209
- * already.
2210
- *
2211
- * @generated from field: optional bool graduated = 7;
2266
+ * @generated from enum value: FIAT_CURRENCY_KRW = 13;
2212
2267
  */
2213
- graduated?: boolean;
2268
+ KRW = 13,
2214
2269
  /**
2215
- * CCA launches only, pre-graduation: bid volume as a percent of the
2216
- * required raise, clamped to [0, 100]. Unset once graduated, when the
2217
- * auction has no required raise, and for hook-attributed launches.
2218
- *
2219
- * @generated from field: optional double auction_fill_pct = 8;
2270
+ * @generated from enum value: FIAT_CURRENCY_MXN = 14;
2220
2271
  */
2221
- auctionFillPct?: number;
2272
+ MXN = 14,
2222
2273
  /**
2223
- * CCA launches only, pre-graduation: the auction's end block number
2224
- * (bigint as string). Clients estimate calendar time from blocks, like the
2225
- * v1 auction start_block/end_block. Unset once graduated.
2226
- *
2227
- * @generated from field: optional string auction_end_block = 9;
2274
+ * @generated from enum value: FIAT_CURRENCY_NGN = 15;
2228
2275
  */
2229
- auctionEndBlock?: string;
2276
+ NGN = 15,
2230
2277
  /**
2231
- * CCA launches only: distinct wallets that have placed bids in the auction
2232
- * (all bids, including withdrawn/exited — historical participation, so it
2233
- * stays set after graduation). Unset for hook-attributed launches, which
2234
- * have no auction. int32 matches the v1 auction total_bid_count.
2235
- *
2236
- * @generated from field: optional int32 bidder_count = 10;
2278
+ * @generated from enum value: FIAT_CURRENCY_NZD = 16;
2237
2279
  */
2238
- bidderCount?: number;
2280
+ NZD = 16,
2239
2281
  /**
2240
- * Direct-launch overlay (see BondingCurveInfo), set only for launches of
2241
- * the Uniswap direct-launch launchpad ("uniswap-bonding-curve").
2242
- *
2243
- * @generated from field: optional data.v2.BondingCurveInfo bonding_curve = 11;
2282
+ * @generated from enum value: FIAT_CURRENCY_PKR = 17;
2244
2283
  */
2245
- bondingCurve?: BondingCurveInfo;
2284
+ PKR = 17,
2246
2285
  /**
2247
- * Launchpad token metadata (12-15), joined from launched_tokens — present
2248
- * only for launches whose token was created via the Uniswap token factory
2249
- * (CCA and bonding-curve launches); other launchpads' tokens have no row
2250
- * and serve unset. Verification gating mirrors v1 GetAuction
2251
- * (AuctionsBL.enrichWithLaunchpadMetadata): the description is on-chain
2252
- * creator text at the same trust level as name/symbol, served ungated.
2253
- *
2254
- * @generated from field: optional string token_description = 12;
2286
+ * @generated from enum value: FIAT_CURRENCY_RUB = 18;
2255
2287
  */
2256
- tokenDescription?: string;
2288
+ RUB = 18,
2257
2289
  /**
2258
- * The launch tx's from address (launched_tokens.creator_wallet),
2259
- * EIP-55 checksummed. Public on-chain data, served ungated.
2260
- *
2261
- * @generated from field: optional string creator_address = 13;
2290
+ * @generated from enum value: FIAT_CURRENCY_SGD = 19;
2262
2291
  */
2263
- creatorAddress?: string;
2292
+ SGD = 19,
2264
2293
  /**
2265
- * Creator-declared project website. Served only once website verification
2266
- * passes; verification is deferred today (status stays 'pending', same
2267
- * rule that keeps the token mirror's homepageUrl null), so this stays
2268
- * unset until that ships.
2269
- *
2270
- * @generated from field: optional string website_url = 14;
2294
+ * @generated from enum value: FIAT_CURRENCY_THB = 20;
2271
2295
  */
2272
- websiteUrl?: string;
2296
+ THB = 20,
2273
2297
  /**
2274
- * X handle, only when its inline-at-ingest Ed25519 verification passed.
2275
- *
2276
- * @generated from field: optional string x_handle = 15;
2298
+ * @generated from enum value: FIAT_CURRENCY_TRY = 21;
2277
2299
  */
2278
- xHandle?: string;
2300
+ TRY = 21,
2279
2301
  /**
2280
- * Bonding-curve launches only (16-17): distinct wallets (swap tx senders)
2281
- * that bought the launch token on its curve pool — all-time and trailing
2282
- * hour. Served from ClickHouse v4 swaps; absent (never 0) when the stats
2283
- * source fails or for non-curve launches, so clients can tell degraded
2284
- * from a real zero.
2285
- *
2286
- * @generated from field: optional int32 unique_buyer_count = 16;
2302
+ * @generated from enum value: FIAT_CURRENCY_UAH = 22;
2287
2303
  */
2288
- uniqueBuyerCount?: number;
2304
+ UAH = 22,
2289
2305
  /**
2290
- * @generated from field: optional int32 buyers_last_1h = 17;
2306
+ * @generated from enum value: FIAT_CURRENCY_USD = 23;
2291
2307
  */
2292
- buyersLast1h?: number;
2308
+ USD = 23,
2293
2309
  /**
2294
- * Exact on-chain holder count of the launch token, computed at query time
2295
- * over the raw launch-transfers feed (ClickHouse, reorg-excluded):
2296
- * addresses with a positive net balance, contracts included, burn sinks
2297
- * like 0x…dEaD included while they hold a balance — raw Etherscan-style
2298
- * semantics. Present only for tokens created via the Uniswap token
2299
- * factory (CCA + bonding-curve launches, whose transfers the feed
2300
- * whitelists); absent — never 0 — while the token has no ingested
2301
- * transfers or when the enrichment fails.
2302
- *
2303
- * @generated from field: optional int32 holder_count = 18;
2310
+ * @generated from enum value: FIAT_CURRENCY_VND = 24;
2304
2311
  */
2305
- holderCount?: number;
2312
+ VND = 24,
2306
2313
  /**
2307
- * Cumulative burned amount of the launch token, split by burn sink and
2308
- * computed from the same transfer feed. Raw uint256 base units as decimal
2309
- * strings; total burned = burned_to_zero + burned_to_dead. Because burn
2310
- * addresses never spend, a holders-excluding-burn count is
2311
- * client-derivable as holder_count - (burned_to_dead > 0 ? 1 : 0). Same
2312
- * presence rule as holder_count (absent without ingested transfers), but
2313
- * once the token has transfers a genuine "0" is served.
2314
- *
2315
- * @generated from field: optional string burned_to_zero = 19;
2314
+ * @generated from enum value: FIAT_CURRENCY_SEK = 25;
2316
2315
  */
2317
- burnedToZero?: string;
2316
+ SEK = 25
2317
+ }
2318
+ /**
2319
+ * Describes the enum data.v2.FiatCurrency.
2320
+ */
2321
+ export declare const FiatCurrencySchema: GenEnum<FiatCurrency>;
2322
+ /**
2323
+ * Client-chosen candle width for the ranged (TradingView) OHLC mode. Served
2324
+ * from token_price_history via the ClickHouse OHLC path. 1s (trades-derived)
2325
+ * is intentionally omitted for now.
2326
+ *
2327
+ * @generated from enum data.v2.OhlcResolution
2328
+ */
2329
+ export declare enum OhlcResolution {
2318
2330
  /**
2319
- * @generated from field: optional string burned_to_dead = 20;
2331
+ * @generated from enum value: OHLC_RESOLUTION_UNSPECIFIED = 0;
2320
2332
  */
2321
- burnedToDead?: string;
2333
+ UNSPECIFIED = 0,
2322
2334
  /**
2323
- * CCA launches only, pre-graduation (same lifecycle as auction_end_block):
2324
- * wall-clock time of the auction's end block in unix seconds, computed
2325
- * server-side (LP-1300) — the exact block timestamp once the end block is
2326
- * mined, otherwise an estimate from a per-chain block-time model. Unset
2327
- * once graduated, when the source data is unavailable, and for
2328
- * hook-attributed launches.
2329
- *
2330
- * @generated from field: optional int64 auction_end_time = 21;
2335
+ * @generated from enum value: OHLC_RESOLUTION_ONE_MINUTE = 1;
2331
2336
  */
2332
- auctionEndTime?: bigint;
2337
+ ONE_MINUTE = 1,
2333
2338
  /**
2334
- * X profile image URL of the verified launcher account, captured from the
2335
- * launch's signed x-verification claims. Same gate as x_handle: served only
2336
- * when the inline-at-ingest Ed25519 verification passed. Unset for launches
2337
- * that predate claim capture (backfill pending) or carry no avatar.
2338
- *
2339
- * @generated from field: optional string x_profile_image_url = 22;
2339
+ * @generated from enum value: OHLC_RESOLUTION_FIVE_MINUTE = 2;
2340
2340
  */
2341
- xProfileImageUrl?: string;
2341
+ FIVE_MINUTE = 2,
2342
2342
  /**
2343
- * Whether the launcher's X account was verified (blue check) when captured.
2344
- * Tri-state via presence: unset = unknown (pre-feature launch, not yet
2345
- * backfilled), false = X reported not verified, true = verified. Same
2346
- * x_handle_status gate as x_handle / x_profile_image_url.
2347
- *
2348
- * @generated from field: optional bool x_verified = 23;
2343
+ * @generated from enum value: OHLC_RESOLUTION_ONE_HOUR = 3;
2349
2344
  */
2350
- xVerified?: boolean;
2345
+ ONE_HOUR = 3,
2351
2346
  /**
2352
- * Home-card trade tape: the launch token's most recent swaps, newest
2353
- * first, capped at the last 5 within the trailing 24h — same rows (and
2354
- * message) GetTokenTrades serves, aggregated across all the token's pools
2355
- * on its chain. Served from a short-TTL cache refreshed off the request
2356
- * path, so entries can lag live trades by the cache TTL (~30s) and a
2357
- * cold cache serves an empty list — clients treat empty as "no recent
2358
- * activity known", not an error. Pre-graduation CCA launches have no
2359
- * swaps by construction (bids are not trades) — the auction tape is
2360
- * AuctionWithStats.recent_bids on ListTopAuctions.
2361
- *
2362
- * @generated from field: repeated data.v2.TokenTrade recent_trades = 24;
2347
+ * @generated from enum value: OHLC_RESOLUTION_FOUR_HOUR = 4;
2363
2348
  */
2364
- recentTrades: TokenTrade[];
2349
+ FOUR_HOUR = 4,
2365
2350
  /**
2366
- * Badges earned by the launch's token (LP badges), one per badge type,
2367
- * highest tier only, canonical order. Empty until the token has earned
2368
- * any (badges are awarded at ingest and by a slow tier cron, so the
2369
- * common row serves an empty list).
2370
- *
2371
- * @generated from field: repeated data.v2.LaunchBadge badges = 25;
2351
+ * @generated from enum value: OHLC_RESOLUTION_ONE_DAY = 5;
2372
2352
  */
2373
- badges: LaunchBadge[];
2374
- constructor(data?: PartialMessage<Launch>);
2375
- static readonly runtime: typeof proto3;
2376
- static readonly typeName = "data.v2.Launch";
2377
- static readonly fields: FieldList;
2378
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Launch;
2379
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Launch;
2380
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Launch;
2381
- static equals(a: Launch | PlainMessage<Launch> | undefined, b: Launch | PlainMessage<Launch> | undefined): boolean;
2353
+ ONE_DAY = 5
2382
2354
  }
2383
2355
  /**
2384
- * One badge earned by a launch's token. type/tier are deliberately plain
2385
- * strings, NOT enums: the client contract pins the lowercase ids on the
2386
- * wire, and proto-JSON would serialize an enum's VALUE NAMES instead.
2356
+ * Describes the enum data.v2.OhlcResolution.
2357
+ */
2358
+ export declare const OhlcResolutionSchema: GenEnum<OhlcResolution>;
2359
+ /**
2360
+ * Time window for windowed token-market stats; FIVE_MINUTE is intentionally omitted.
2387
2361
  *
2388
- * @generated from message data.v2.LaunchBadge
2362
+ * @generated from enum data.v2.HistoryDuration
2389
2363
  */
2390
- export declare class LaunchBadge extends Message<LaunchBadge> {
2364
+ export declare enum HistoryDuration {
2391
2365
  /**
2392
- * "original" | "frontrunner" | "volume" | "holders" | "badger".
2366
+ * server defaults to DAY
2393
2367
  *
2394
- * @generated from field: string type = 1;
2368
+ * @generated from enum value: HISTORY_DURATION_UNSPECIFIED = 0;
2395
2369
  */
2396
- type: string;
2370
+ UNSPECIFIED = 0,
2397
2371
  /**
2398
- * Tier id, present only for the tiered types — volume: "5m" | "10m" |
2399
- * "50m"; holders: "100" | "1k" | "10k". Unset for untiered types.
2400
- *
2401
- * @generated from field: optional string tier = 2;
2372
+ * @generated from enum value: HISTORY_DURATION_HOUR = 1;
2402
2373
  */
2403
- tier?: string;
2374
+ HOUR = 1,
2404
2375
  /**
2405
- * When the badge was earned (proto-JSON serializes this as an ISO-8601
2406
- * string, which is the client contract). Exact on-chain launch time for
2407
- * frontrunner; observation time for original and for tier crossings,
2408
- * which are only known to have happened by the pass that spots them.
2409
- *
2410
- * @generated from field: google.protobuf.Timestamp earned_at = 3;
2376
+ * @generated from enum value: HISTORY_DURATION_DAY = 2;
2411
2377
  */
2412
- earnedAt?: Timestamp;
2378
+ DAY = 2,
2413
2379
  /**
2414
- * Rarity: percentage (0-100) of eligible tokens that hold this badge
2415
- * TYPE (any tier), for the client's rarity-tag hover. The denominator is
2416
- * every factory-launched token (the launched_tokens registry). Served
2417
- * from a short-TTL cached aggregate; unset when the aggregate is
2418
- * unavailable — clients hide the rarity detail rather than showing 0.
2419
- *
2420
- * @generated from field: optional double holder_percentage = 4;
2380
+ * @generated from enum value: HISTORY_DURATION_WEEK = 3;
2381
+ */
2382
+ WEEK = 3,
2383
+ /**
2384
+ * @generated from enum value: HISTORY_DURATION_MONTH = 4;
2385
+ */
2386
+ MONTH = 4,
2387
+ /**
2388
+ * @generated from enum value: HISTORY_DURATION_YEAR = 5;
2389
+ */
2390
+ YEAR = 5,
2391
+ /**
2392
+ * @generated from enum value: HISTORY_DURATION_MAX = 6;
2421
2393
  */
2422
- holderPercentage?: number;
2423
- constructor(data?: PartialMessage<LaunchBadge>);
2424
- static readonly runtime: typeof proto3;
2425
- static readonly typeName = "data.v2.LaunchBadge";
2426
- static readonly fields: FieldList;
2427
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LaunchBadge;
2428
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LaunchBadge;
2429
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LaunchBadge;
2430
- static equals(a: LaunchBadge | PlainMessage<LaunchBadge> | undefined, b: LaunchBadge | PlainMessage<LaunchBadge> | undefined): boolean;
2394
+ MAX = 6
2431
2395
  }
2432
2396
  /**
2433
- * One row of a launch token's holder list (GetLaunchHolders).
2434
- *
2435
- * @generated from message data.v2.LaunchHolder
2397
+ * Describes the enum data.v2.HistoryDuration.
2398
+ */
2399
+ export declare const HistoryDurationSchema: GenEnum<HistoryDuration>;
2400
+ /**
2401
+ * @generated from enum data.v2.BuySellStatsWindow
2436
2402
  */
2437
- export declare class LaunchHolder extends Message<LaunchHolder> {
2403
+ export declare enum BuySellStatsWindow {
2438
2404
  /**
2439
- * EIP-55 checksummed, so clients can equality-match against
2440
- * Launch.creator_address and well-known addresses (LP, burn sinks).
2441
- *
2442
- * @generated from field: string address = 1;
2405
+ * @generated from enum value: BUY_SELL_STATS_WINDOW_UNSPECIFIED = 0;
2443
2406
  */
2444
- address: string;
2407
+ UNSPECIFIED = 0,
2445
2408
  /**
2446
- * Net balance, raw base units as a decimal string. For the synthetic
2447
- * zero-address burn row this is the cumulative amount burned to 0x0.
2448
- *
2449
- * @generated from field: string balance = 2;
2409
+ * @generated from enum value: BUY_SELL_STATS_WINDOW_FIVE_MINUTES = 1;
2450
2410
  */
2451
- balance: string;
2411
+ FIVE_MINUTES = 1,
2452
2412
  /**
2453
- * balance as a percent of minted_supply, in [0, 100].
2454
- *
2455
- * @generated from field: double supply_pct = 3;
2413
+ * @generated from enum value: BUY_SELL_STATS_WINDOW_ONE_HOUR = 2;
2414
+ */
2415
+ ONE_HOUR = 2,
2416
+ /**
2417
+ * @generated from enum value: BUY_SELL_STATS_WINDOW_FOUR_HOURS = 3;
2418
+ */
2419
+ FOUR_HOURS = 3,
2420
+ /**
2421
+ * @generated from enum value: BUY_SELL_STATS_WINDOW_ONE_DAY = 4;
2456
2422
  */
2457
- supplyPct: number;
2423
+ ONE_DAY = 4,
2458
2424
  /**
2459
- * True for burn-sink rows (the zero address and 0x…dEaD). Burn rows are
2460
- * served in the list (burned tokens stay visible) but excluded from
2461
- * top10_supply_pct; the synthetic zero-address row is also excluded from
2462
- * holder_count (0x…dEaD counts, matching Launch.holder_count).
2463
- *
2464
- * @generated from field: bool is_burn_address = 4;
2425
+ * @generated from enum value: BUY_SELL_STATS_WINDOW_ONE_WEEK = 5;
2465
2426
  */
2466
- isBurnAddress: boolean;
2427
+ ONE_WEEK = 5,
2467
2428
  /**
2468
- * True for the launch pool's custody row — the chain's v4 PoolManager
2469
- * singleton, which holds the pool's token-side balance (the LP NFT sits
2470
- * in the FeeSplitter, the ERC-20 supply does not). Served in the list so
2471
- * clients can label it, but excluded from top10_supply_pct like burn rows
2472
- * (the pool is the market, not a dumpable holder); it stays inside
2473
- * holder_count.
2474
- *
2475
- * @generated from field: bool is_pool_address = 5;
2429
+ * @generated from enum value: BUY_SELL_STATS_WINDOW_ONE_MONTH = 6;
2476
2430
  */
2477
- isPoolAddress: boolean;
2478
- constructor(data?: PartialMessage<LaunchHolder>);
2479
- static readonly runtime: typeof proto3;
2480
- static readonly typeName = "data.v2.LaunchHolder";
2481
- static readonly fields: FieldList;
2482
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LaunchHolder;
2483
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LaunchHolder;
2484
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LaunchHolder;
2485
- static equals(a: LaunchHolder | PlainMessage<LaunchHolder> | undefined, b: LaunchHolder | PlainMessage<LaunchHolder> | undefined): boolean;
2431
+ ONE_MONTH = 6
2486
2432
  }
2487
2433
  /**
2488
- * Overlay for launches of the Uniswap direct-launch launchpad (launchpad_id
2489
- * "uniswap-bonding-curve", kept for client compatibility). The current
2490
- * launcher generation (DirectLaunchStrategy, LP-1289) is hookless with NO
2491
- * on-chain graduation lifecycle: launch pools are vanilla v4 pools from
2492
- * block one, and "graduation" is a serving/frontend concept (an FDV
2493
- * threshold), not a contract event. Fields 1-5 and 7-9 belong to the
2494
- * never-launched bonding-curve hook generation and are no longer set for
2495
- * new launches; they are kept so the message shape stays wire-compatible.
2496
- *
2497
- * @generated from message data.v2.BondingCurveInfo
2434
+ * Describes the enum data.v2.BuySellStatsWindow.
2435
+ */
2436
+ export declare const BuySellStatsWindowSchema: GenEnum<BuySellStatsWindow>;
2437
+ /**
2438
+ * @generated from enum data.v2.PoolsOrderBy
2498
2439
  */
2499
- export declare class BondingCurveInfo extends Message<BondingCurveInfo> {
2440
+ export declare enum PoolsOrderBy {
2500
2441
  /**
2501
- * Legacy bonding-curve-hook fields (1-5, 7-9): never set for direct-launch
2502
- * (hookless) launches — there is no curve and no on-chain graduation.
2503
- *
2504
- * @generated from field: optional string graduation_sqrt_price_x96 = 1;
2442
+ * @generated from enum value: POOLS_ORDER_BY_UNSPECIFIED = 0;
2505
2443
  */
2506
- graduationSqrtPriceX96?: string;
2444
+ UNSPECIFIED = 0,
2507
2445
  /**
2508
- * @generated from field: optional int32 curve_tick_lower = 2;
2446
+ * default
2447
+ *
2448
+ * @generated from enum value: POOLS_ORDER_BY_TVL = 1;
2509
2449
  */
2510
- curveTickLower?: number;
2450
+ TVL = 1,
2511
2451
  /**
2512
- * @generated from field: optional int32 curve_tick_upper = 3;
2452
+ * @generated from enum value: POOLS_ORDER_BY_VOLUME_1D = 2;
2513
2453
  */
2514
- curveTickUpper?: number;
2454
+ VOLUME_1D = 2,
2515
2455
  /**
2516
- * @generated from field: optional string curve_supply = 4;
2456
+ * @generated from enum value: POOLS_ORDER_BY_VOLUME_30D = 3;
2517
2457
  */
2518
- curveSupply?: string;
2458
+ VOLUME_30D = 3,
2519
2459
  /**
2520
- * @generated from field: optional string reserve_supply = 5;
2460
+ * ranks on total_apr (fee apr + live reward apr); fee apr alone when incentive data is unavailable
2461
+ *
2462
+ * @generated from enum value: POOLS_ORDER_BY_APR = 4;
2521
2463
  */
2522
- reserveSupply?: string;
2464
+ APR = 4,
2523
2465
  /**
2524
- * @generated from field: optional string graduated_tx_hash = 7;
2466
+ * volume_1d / tvl; capital-efficiency proxy
2467
+ *
2468
+ * @generated from enum value: POOLS_ORDER_BY_VOLUME_1D_TVL_RATIO = 5;
2525
2469
  */
2526
- graduatedTxHash?: string;
2470
+ VOLUME_1D_TVL_RATIO = 5
2471
+ }
2472
+ /**
2473
+ * Describes the enum data.v2.PoolsOrderBy.
2474
+ */
2475
+ export declare const PoolsOrderBySchema: GenEnum<PoolsOrderBy>;
2476
+ /**
2477
+ * @generated from enum data.v2.PoolTokenLogicalOperator
2478
+ */
2479
+ export declare enum PoolTokenLogicalOperator {
2527
2480
  /**
2528
- * @generated from field: optional double curve_progress_pct = 8;
2481
+ * treated as OR
2482
+ *
2483
+ * @generated from enum value: POOL_TOKEN_LOGICAL_OPERATOR_UNSPECIFIED = 0;
2529
2484
  */
2530
- curveProgressPct?: number;
2485
+ UNSPECIFIED = 0,
2531
2486
  /**
2532
- * @generated from field: optional int64 graduated_at = 9;
2487
+ * @generated from enum value: POOL_TOKEN_LOGICAL_OPERATOR_OR = 1;
2533
2488
  */
2534
- graduatedAt?: bigint;
2489
+ OR = 1,
2535
2490
  /**
2536
- * The launch's fee beneficiary, EIP-55 checksummed: the CURRENT holder of
2537
- * the launch's BeneficiaryVault NFT, i.e. the address receiving the
2538
- * creator share of the launch pool's trading fees. Freely chosen at
2539
- * launch time by whoever built the launch transaction — a payee, NOT
2540
- * proven authorship (see Launch.creator_address for the launch tx
2541
- * sender) — and it MOVES with later NFT transfers. Unset while ingestion
2542
- * of the vault events lags the launch, or when the position is
2543
- * unregistered.
2491
+ * invalid with more than 2 tokens
2544
2492
  *
2545
- * @generated from field: optional string fee_beneficiary = 10;
2493
+ * @generated from enum value: POOL_TOKEN_LOGICAL_OPERATOR_AND = 2;
2546
2494
  */
2547
- feeBeneficiary?: string;
2548
- constructor(data?: PartialMessage<BondingCurveInfo>);
2549
- static readonly runtime: typeof proto3;
2550
- static readonly typeName = "data.v2.BondingCurveInfo";
2551
- static readonly fields: FieldList;
2552
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BondingCurveInfo;
2553
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BondingCurveInfo;
2554
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BondingCurveInfo;
2555
- static equals(a: BondingCurveInfo | PlainMessage<BondingCurveInfo> | undefined, b: BondingCurveInfo | PlainMessage<BondingCurveInfo> | undefined): boolean;
2495
+ AND = 2
2556
2496
  }
2557
2497
  /**
2558
- * One swap involving the requested token, returned by GetTokenTrades.
2559
- *
2560
- * @generated from message data.v2.TokenTrade
2498
+ * Describes the enum data.v2.PoolTokenLogicalOperator.
2499
+ */
2500
+ export declare const PoolTokenLogicalOperatorSchema: GenEnum<PoolTokenLogicalOperator>;
2501
+ /**
2502
+ * @generated from enum data.v2.TransactionEventType
2561
2503
  */
2562
- export declare class TokenTrade extends Message<TokenTrade> {
2504
+ export declare enum TransactionEventType {
2563
2505
  /**
2564
- * @generated from field: string tx_hash = 1;
2506
+ * @generated from enum value: TRANSACTION_EVENT_TYPE_UNSPECIFIED = 0;
2565
2507
  */
2566
- txHash: string;
2508
+ UNSPECIFIED = 0,
2567
2509
  /**
2568
- * @generated from field: data.v2.TradeSide side = 2;
2510
+ * @generated from enum value: TRANSACTION_EVENT_TYPE_SWAP = 1;
2569
2511
  */
2570
- side: TradeSide;
2512
+ SWAP = 1,
2571
2513
  /**
2572
- * The transaction's from-address (the EOA that signed it), not the router
2573
- * contract that forwarded the swap to the pool.
2514
+ * mint / positive modify_liquidity
2574
2515
  *
2575
- * @generated from field: string wallet = 3;
2516
+ * @generated from enum value: TRANSACTION_EVENT_TYPE_ADD = 2;
2576
2517
  */
2577
- wallet: string;
2518
+ ADD = 2,
2578
2519
  /**
2579
- * Whole-swap USD value at trade time; unset when no USD price is known.
2520
+ * burn / negative modify_liquidity
2580
2521
  *
2581
- * @generated from field: optional double amount_usd = 4;
2522
+ * @generated from enum value: TRANSACTION_EVENT_TYPE_REMOVE = 3;
2523
+ */
2524
+ REMOVE = 3
2525
+ }
2526
+ /**
2527
+ * Describes the enum data.v2.TransactionEventType.
2528
+ */
2529
+ export declare const TransactionEventTypeSchema: GenEnum<TransactionEventType>;
2530
+ /**
2531
+ * How the selected launch created the token. CROWD and CUSTOM are the two
2532
+ * Continuous Clearing Auction modes (quick launch vs. creator-configured
2533
+ * parameters); INSTANT is a bonding-curve launch with no auction. UNSPECIFIED
2534
+ * when the source records the launchpad but not the method.
2535
+ *
2536
+ * @generated from enum data.v2.LaunchMethod
2537
+ */
2538
+ export declare enum LaunchMethod {
2539
+ /**
2540
+ * @generated from enum value: LAUNCH_METHOD_UNSPECIFIED = 0;
2582
2541
  */
2583
- amountUsd?: number;
2542
+ UNSPECIFIED = 0,
2584
2543
  /**
2585
- * Absolute amount of the requested token traded, decimal string in token
2586
- * units (decimals applied). Empty when the token's decimals are unknown.
2587
- *
2588
- * @generated from field: string token_amount = 5;
2544
+ * @generated from enum value: LAUNCH_METHOD_CROWD = 1;
2589
2545
  */
2590
- tokenAmount: string;
2546
+ CROWD = 1,
2591
2547
  /**
2592
- * USD price of the requested token at trade time; unset when unknown.
2593
- *
2594
- * @generated from field: optional double price_usd = 6;
2548
+ * @generated from enum value: LAUNCH_METHOD_CUSTOM = 2;
2595
2549
  */
2596
- priceUsd?: number;
2550
+ CUSTOM = 2,
2597
2551
  /**
2598
- * @generated from field: google.protobuf.Timestamp timestamp = 7;
2552
+ * @generated from enum value: LAUNCH_METHOD_INSTANT = 3;
2599
2553
  */
2600
- timestamp?: Timestamp;
2601
- constructor(data?: PartialMessage<TokenTrade>);
2602
- static readonly runtime: typeof proto3;
2603
- static readonly typeName = "data.v2.TokenTrade";
2604
- static readonly fields: FieldList;
2605
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenTrade;
2606
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenTrade;
2607
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenTrade;
2608
- static equals(a: TokenTrade | PlainMessage<TokenTrade> | undefined, b: TokenTrade | PlainMessage<TokenTrade> | undefined): boolean;
2554
+ INSTANT = 3
2609
2555
  }
2610
2556
  /**
2611
- * @generated from message data.v2.NftImage
2557
+ * Describes the enum data.v2.LaunchMethod.
2558
+ */
2559
+ export declare const LaunchMethodSchema: GenEnum<LaunchMethod>;
2560
+ /**
2561
+ * Sort field for ListLaunches; UNSPECIFIED defaults to LAUNCHED_AT (newest first).
2562
+ *
2563
+ * @generated from enum data.v2.LaunchesOrderBy
2612
2564
  */
2613
- export declare class NftImage extends Message<NftImage> {
2565
+ export declare enum LaunchesOrderBy {
2614
2566
  /**
2615
- * @generated from field: string url = 1;
2567
+ * @generated from enum value: LAUNCHES_ORDER_BY_UNSPECIFIED = 0;
2616
2568
  */
2617
- url: string;
2569
+ UNSPECIFIED = 0,
2618
2570
  /**
2619
- * FE reads image.dimensions for grid aspect ratio; may be null from Alchemy
2620
- *
2621
- * @generated from field: optional uint32 width = 2;
2571
+ * @generated from enum value: LAUNCHES_ORDER_BY_LAUNCHED_AT = 1;
2622
2572
  */
2623
- width?: number;
2573
+ LAUNCHED_AT = 1,
2624
2574
  /**
2625
- * @generated from field: optional uint32 height = 3;
2575
+ * @generated from enum value: LAUNCHES_ORDER_BY_VOLUME_1D = 2;
2626
2576
  */
2627
- height?: number;
2628
- constructor(data?: PartialMessage<NftImage>);
2629
- static readonly runtime: typeof proto3;
2630
- static readonly typeName = "data.v2.NftImage";
2631
- static readonly fields: FieldList;
2632
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NftImage;
2633
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NftImage;
2634
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NftImage;
2635
- static equals(a: NftImage | PlainMessage<NftImage> | undefined, b: NftImage | PlainMessage<NftImage> | undefined): boolean;
2636
- }
2637
- /**
2638
- * @generated from message data.v2.Nft
2639
- */
2640
- export declare class Nft extends Message<Nft> {
2577
+ VOLUME_1D = 2,
2641
2578
  /**
2642
- * @generated from field: uint32 chain_id = 1;
2579
+ * @generated from enum value: LAUNCHES_ORDER_BY_TVL = 3;
2643
2580
  */
2644
- chainId: number;
2581
+ TVL = 3,
2645
2582
  /**
2646
- * checksummed
2583
+ * @generated from enum value: LAUNCHES_ORDER_BY_PRICE_CHANGE_1H = 4;
2584
+ */
2585
+ PRICE_CHANGE_1H = 4,
2586
+ /**
2587
+ * @generated from enum value: LAUNCHES_ORDER_BY_PRICE_CHANGE_1D = 5;
2588
+ */
2589
+ PRICE_CHANGE_1D = 5,
2590
+ /**
2591
+ * Trending: launches with recent buy-side momentum. Candidates are tokens
2592
+ * with buy activity in the trailing hour REGARDLESS of launch age; gated
2593
+ * (non-negative 1h price change, minimum FDV, minimum distinct 1h buyers)
2594
+ * and scored by volume/buyer acceleration vs the preceding hours, with the
2595
+ * remainder of the page backfilled by 24h volume so the module never
2596
+ * renders empty. Needs no LaunchListFilter.window — any window filter is
2597
+ * ignored under this sort.
2647
2598
  *
2648
- * @generated from field: string contract_address = 2;
2599
+ * @generated from enum value: LAUNCHES_ORDER_BY_TRENDING = 6;
2649
2600
  */
2650
- contractAddress: string;
2601
+ TRENDING = 6,
2651
2602
  /**
2652
- * @generated from field: string token_id = 3;
2603
+ * Fully-diluted valuation, descending by default. Served from the RANKED
2604
+ * launch_tokens read (the live attribution scan has no FDV engine), which
2605
+ * every non-LAUNCHED_AT sort already routes to. Unlike TRENDING, a
2606
+ * LaunchListFilter.window IS applied under this sort: the launch-age floor
2607
+ * reaches both arms, so FDV + LAST_24H ranks by FDV among launches inside
2608
+ * that window rather than across all launches.
2609
+ *
2610
+ * @generated from enum value: LAUNCHES_ORDER_BY_FDV = 7;
2653
2611
  */
2654
- tokenId: string;
2612
+ FDV = 7
2613
+ }
2614
+ /**
2615
+ * Describes the enum data.v2.LaunchesOrderBy.
2616
+ */
2617
+ export declare const LaunchesOrderBySchema: GenEnum<LaunchesOrderBy>;
2618
+ /**
2619
+ * Launch-recency window for ListLaunches. UNSPECIFIED applies no window (all
2620
+ * launches); LAST_24H / LAST_1H keep only launches whose launched_at is within
2621
+ * the trailing 24 hours / 1 hour respectively.
2622
+ *
2623
+ * @generated from enum data.v2.LaunchWindow
2624
+ */
2625
+ export declare enum LaunchWindow {
2655
2626
  /**
2656
- * @generated from field: string name = 4;
2627
+ * @generated from enum value: LAUNCH_WINDOW_UNSPECIFIED = 0;
2657
2628
  */
2658
- name: string;
2629
+ UNSPECIFIED = 0,
2659
2630
  /**
2660
- * @generated from field: string description = 5;
2631
+ * @generated from enum value: LAUNCH_WINDOW_LAST_24H = 1;
2661
2632
  */
2662
- description: string;
2633
+ LAST_24H = 1,
2663
2634
  /**
2664
- * @generated from field: data.v2.NftImage image = 6;
2635
+ * @generated from enum value: LAUNCH_WINDOW_LAST_1H = 2;
2665
2636
  */
2666
- image?: NftImage;
2637
+ LAST_1H = 2
2638
+ }
2639
+ /**
2640
+ * Describes the enum data.v2.LaunchWindow.
2641
+ */
2642
+ export declare const LaunchWindowSchema: GenEnum<LaunchWindow>;
2643
+ /**
2644
+ * The trade's direction from the trader's perspective: BUY = the trader
2645
+ * received the requested token, SELL = the trader gave it up. UNSPECIFIED
2646
+ * when the direction can't be derived (zero/unknown amount).
2647
+ *
2648
+ * @generated from enum data.v2.TradeSide
2649
+ */
2650
+ export declare enum TradeSide {
2667
2651
  /**
2668
- * @generated from field: data.v2.NftImage thumbnail = 7;
2652
+ * @generated from enum value: TRADE_SIDE_UNSPECIFIED = 0;
2669
2653
  */
2670
- thumbnail?: NftImage;
2654
+ UNSPECIFIED = 0,
2671
2655
  /**
2672
- * Spam flag: Alchemy spam signals + Blockaid verdict + heuristics. Malicious
2673
- * NFTs are filtered out server-side (not represented here).
2674
- *
2675
- * @generated from field: bool is_spam = 8;
2656
+ * @generated from enum value: TRADE_SIDE_BUY = 1;
2676
2657
  */
2677
- isSpam: boolean;
2658
+ BUY = 1,
2678
2659
  /**
2679
- * @generated from field: string collection_name = 9;
2660
+ * @generated from enum value: TRADE_SIDE_SELL = 2;
2680
2661
  */
2681
- collectionName: string;
2682
- constructor(data?: PartialMessage<Nft>);
2683
- static readonly runtime: typeof proto3;
2684
- static readonly typeName = "data.v2.Nft";
2685
- static readonly fields: FieldList;
2686
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Nft;
2687
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Nft;
2688
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Nft;
2689
- static equals(a: Nft | PlainMessage<Nft> | undefined, b: Nft | PlainMessage<Nft> | undefined): boolean;
2662
+ SELL = 2
2690
2663
  }
2664
+ /**
2665
+ * Describes the enum data.v2.TradeSide.
2666
+ */
2667
+ export declare const TradeSideSchema: GenEnum<TradeSide>;