@uniswap/client-data-api 0.0.296 → 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 -1887
  38. package/dist/data/v2/types_pb.js +282 -2190
  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,2731 +1,2667 @@
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.
1116
+ */
1117
+ export declare const PoolStatRangeFilterSchema: GenMessage<PoolStatRangeFilter>;
1118
+ /**
1119
+ * @generated from message data.v2.PoolStatsFilter
957
1120
  */
958
- export declare class TokenSafety extends Message<TokenSafety> {
1121
+ export type PoolStatsFilter = Message<"data.v2.PoolStatsFilter"> & {
959
1122
  /**
960
- * @generated from field: bool is_spam = 1;
1123
+ * @generated from field: optional data.v2.PoolStatRangeFilter tvl = 1;
961
1124
  */
962
- isSpam: boolean;
963
- /**
964
- * @generated from field: bool is_verified = 2;
965
- */
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.
1142
+ */
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
990
1148
  */
991
- export declare class TokenFees extends Message<TokenFees> {
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
- }
1086
- /**
1087
- * @generated from message data.v2.TokenMultichain
1088
- */
1089
- export declare class TokenMultichain extends Message<TokenMultichain> {
1243
+ categoryIds: string[];
1090
1244
  /**
1091
- * @generated from field: string id = 1;
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;
1092
1249
  */
1093
- id: string;
1250
+ hookAddresses: string[];
1094
1251
  /**
1095
- * @generated from field: map<string, string> addresses = 2;
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;
1096
1256
  */
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
- }
1257
+ hookedOnly?: boolean | undefined;
1258
+ };
1109
1259
  /**
1110
- * One logo as a light-theme and a dark-theme URL; remote art can't be
1111
- * recoloured by the client's theme.
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.
1112
1266
  *
1113
- * @generated from message data.v2.ThemedLogoUrls
1267
+ * @generated from message data.v2.RankedPool
1114
1268
  */
1115
- export declare class ThemedLogoUrls extends Message<ThemedLogoUrls> {
1269
+ export type RankedPool = Message<"data.v2.RankedPool"> & {
1116
1270
  /**
1117
- * @generated from field: string light = 1;
1271
+ * @generated from field: data.v2.Pool pool = 1;
1118
1272
  */
1119
- light: string;
1273
+ pool?: Pool | undefined;
1120
1274
  /**
1121
- * @generated from field: string dark = 2;
1275
+ * @generated from field: data.v2.PoolRankStats stats = 2;
1122
1276
  */
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
- }
1277
+ stats?: PoolRankStats | undefined;
1278
+ };
1133
1279
  /**
1134
- * Issuer of a tokenized real-world asset; absent = not an RWA or issuer unknown.
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.
1135
1290
  *
1136
- * @generated from message data.v2.TokenIssuerInfo
1291
+ * @generated from message data.v2.TransactionTokenSide
1137
1292
  */
1138
- export declare class TokenIssuerInfo extends Message<TokenIssuerInfo> {
1139
- /**
1140
- * @generated from field: string id = 1;
1141
- */
1142
- id: string;
1143
- /**
1144
- * @generated from field: string display_name = 2;
1145
- */
1146
- displayName: string;
1293
+ export type TransactionTokenSide = Message<"data.v2.TransactionTokenSide"> & {
1147
1294
  /**
1148
- * Full-colour light-theme logo: the curated one when a set exists, else the
1149
- * issuer's CoinGecko image (canvas and background vary).
1150
- *
1151
- * @generated from field: string logo_url = 3;
1295
+ * @generated from field: data.v2.Token token = 1;
1152
1296
  */
1153
- logoUrl: string;
1297
+ token?: Token | undefined;
1154
1298
  /**
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).
1299
+ * decimal-adjusted signed amount, full precision; absent when decimals unavailable
1157
1300
  *
1158
- * @generated from field: optional data.v2.ThemedLogoUrls color_logo_urls = 4;
1301
+ * @generated from field: optional string amount = 2;
1159
1302
  */
1160
- colorLogoUrls?: ThemedLogoUrls;
1303
+ amount?: string | undefined;
1161
1304
  /**
1162
- * Drawn for small dimmed treatments (12px at 50%).
1163
- *
1164
- * @generated from field: optional data.v2.ThemedLogoUrls grayscale_logo_urls = 5;
1305
+ * @generated from field: double amount_usd = 3;
1165
1306
  */
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
- }
1307
+ amountUsd: number;
1308
+ };
1176
1309
  /**
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.
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.
1180
1316
  *
1181
- * @generated from message data.v2.ChainDeployment
1317
+ * @generated from message data.v2.UniswapTransaction
1182
1318
  */
1183
- export declare class ChainDeployment extends Message<ChainDeployment> {
1319
+ export type UniswapTransaction = Message<"data.v2.UniswapTransaction"> & {
1184
1320
  /**
1185
- * @generated from field: string address = 1;
1321
+ * @generated from field: uint32 chain_id = 1;
1186
1322
  */
1187
- address: string;
1323
+ chainId: number;
1188
1324
  /**
1189
- * @generated from field: uint32 decimals = 2;
1325
+ * @generated from field: string tx_hash = 2;
1190
1326
  */
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> {
1327
+ txHash: string;
1205
1328
  /**
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.
1329
+ * Unix epoch milliseconds
1209
1330
  *
1210
- * @generated from field: string multichain_id = 1;
1331
+ * @generated from field: int64 timestamp_ms = 3;
1211
1332
  */
1212
- multichainId: string;
1333
+ timestampMs: bigint;
1213
1334
  /**
1214
- * chainId -> address. Same keys as `deployments`, which also carries the
1215
- * chain's decimals; read that instead.
1216
- *
1217
- * @generated from field: map<string, string> addresses = 2 [deprecated = true];
1218
- * @deprecated
1335
+ * @generated from field: data.v2.TransactionEventType event_type = 4;
1219
1336
  */
1220
- addresses: {
1221
- [key: string]: string;
1222
- };
1337
+ eventType: TransactionEventType;
1223
1338
  /**
1224
- * @generated from field: string symbol = 3;
1339
+ * @generated from field: pools.v1.ProtocolVersion protocol_version = 5;
1225
1340
  */
1226
- symbol: string;
1341
+ protocolVersion: ProtocolVersion;
1227
1342
  /**
1228
- * The canonical deployment's decimals (`canonical_chain_id`). Per-chain
1229
- * values are in `deployments`.
1343
+ * pool address (V2/V3) or pool_id (V4)
1230
1344
  *
1231
- * @generated from field: uint32 decimals = 4;
1345
+ * @generated from field: string pool_id = 6;
1232
1346
  */
1233
- decimals: number;
1347
+ poolId: string;
1234
1348
  /**
1235
- * @generated from field: string name = 5;
1349
+ * @generated from field: data.v2.TransactionTokenSide token0 = 7;
1236
1350
  */
1237
- name: string;
1351
+ token0?: TransactionTokenSide | undefined;
1238
1352
  /**
1239
- * @generated from field: data.v1.TokenType type = 6;
1353
+ * @generated from field: data.v2.TransactionTokenSide token1 = 8;
1240
1354
  */
1241
- type: TokenType;
1355
+ token1?: TransactionTokenSide | undefined;
1242
1356
  /**
1243
- * @generated from field: data.v2.TokenPriceData price = 7;
1357
+ * swap = avg of both sides; add/remove = sum
1358
+ *
1359
+ * @generated from field: double amount_usd = 9;
1244
1360
  */
1245
- price?: TokenPriceData;
1361
+ amountUsd: number;
1246
1362
  /**
1247
- * @generated from field: data.v2.TokenSafety safety = 8;
1363
+ * checksummed EVM address (tx_from)
1364
+ *
1365
+ * @generated from field: string wallet_address = 10;
1248
1366
  */
1249
- safety?: TokenSafety;
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;
1386
+ /**
1387
+ * @generated from field: string symbol = 3;
1388
+ */
1389
+ symbol: string;
1390
+ /**
1391
+ * @generated from field: uint32 decimals = 4;
1392
+ */
1393
+ decimals: number;
1394
+ /**
1395
+ * @generated from field: string name = 5;
1396
+ */
1397
+ name: string;
1398
+ /**
1399
+ * @generated from field: data.v1.TokenType type = 6;
1400
+ */
1401
+ type: TokenType;
1402
+ /**
1403
+ * @generated from field: data.v2.TokenPriceData price = 7;
1404
+ */
1405
+ price?: TokenPriceData | undefined;
1406
+ /**
1407
+ * @generated from field: data.v2.TokenSafety safety = 8;
1408
+ */
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.
1300
1459
  */
1301
- export declare class PoolsSort extends Message<PoolsSort> {
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
1467
+ */
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;
1390
1569
  */
1391
- volume1dTvlRatio?: number;
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"> & {
1392
1584
  /**
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.
1401
- *
1402
- * @generated from field: repeated data.v2.PoolTokenBoost token_boosts = 8;
1585
+ * @generated from field: optional double volume_24h_usd = 1;
1403
1586
  */
1404
- tokenBoosts: PoolTokenBoost[];
1587
+ volume24hUsd?: number | undefined;
1405
1588
  /**
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.
1410
- *
1411
- * @generated from field: optional double apr_7d = 9;
1589
+ * @generated from field: optional double tvl_usd = 2;
1412
1590
  */
1413
- apr7d?: number;
1591
+ tvlUsd?: number | undefined;
1414
1592
  /**
1415
- * Fee APR over the trailing 30 days, in percent; same definition and unset
1416
- * rule as apr_7d.
1417
- *
1418
- * @generated from field: optional double apr_30d = 10;
1593
+ * @generated from field: optional double price_usd = 3;
1419
1594
  */
1420
- apr30d?: number;
1595
+ priceUsd?: number | undefined;
1421
1596
  /**
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.
1597
+ * price x total supply; unset where no supply source
1424
1598
  *
1425
- * @generated from field: optional double fees_1d = 11;
1599
+ * @generated from field: optional double fdv_usd = 4;
1426
1600
  */
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
- }
1437
- /**
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.
1441
- *
1442
- * @generated from message data.v2.Pool
1443
- */
1444
- export declare class Pool extends Message<Pool> {
1601
+ fdvUsd?: number | undefined;
1445
1602
  /**
1446
- * @generated from field: uint32 chain_id = 1;
1603
+ * @generated from field: optional double price_change_percent_1h = 5;
1447
1604
  */
1448
- chainId: number;
1605
+ priceChangePercent1h?: number | undefined;
1449
1606
  /**
1450
- * checksummed pool address (V4: pool id hash)
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.
1451
1614
  *
1452
- * @generated from field: string pool_id = 2;
1615
+ * @generated from field: repeated data.v1.TimestampedValue sparkline = 7;
1453
1616
  */
1454
- poolId: string;
1617
+ sparkline: TimestampedValue[];
1455
1618
  /**
1456
- * @generated from field: data.v2.Token token0 = 3;
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.
1622
+ *
1623
+ * @generated from field: optional double price_eth = 8;
1457
1624
  */
1458
- token0?: Token;
1625
+ priceEth?: number | undefined;
1459
1626
  /**
1460
- * @generated from field: data.v2.Token token1 = 4;
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.
1631
+ *
1632
+ * @generated from field: optional double price_24h_ago_usd = 9;
1461
1633
  */
1462
- token1?: Token;
1634
+ price24hAgoUsd?: number | undefined;
1635
+ };
1636
+ /**
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.
1643
+ *
1644
+ * @generated from message data.v2.Launch
1645
+ */
1646
+ export type Launch = Message<"data.v2.Launch"> & {
1463
1647
  /**
1464
- * @generated from field: pools.v1.ProtocolVersion protocol_version = 5;
1648
+ * @generated from field: string launchpad_id = 1;
1465
1649
  */
1466
- protocolVersion: ProtocolVersion;
1650
+ launchpadId: string;
1467
1651
  /**
1468
- * @generated from field: optional int32 tick_spacing = 6;
1652
+ * @generated from field: data.v2.LaunchToken token = 2;
1469
1653
  */
1470
- tickSpacing?: number;
1654
+ token?: LaunchToken | undefined;
1471
1655
  /**
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.
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.
1476
1658
  *
1477
- * @generated from field: optional uint32 fee_tier = 7;
1659
+ * @generated from field: string pool_id = 3;
1478
1660
  */
1479
- feeTier?: number;
1661
+ poolId: string;
1480
1662
  /**
1481
- * true for V4 pools with dynamic fees
1482
- *
1483
- * @generated from field: bool is_dynamic_fee = 8;
1663
+ * @generated from field: optional string hooks_address = 4;
1484
1664
  */
1485
- isDynamicFee: boolean;
1665
+ hooksAddress?: string | undefined;
1486
1666
  /**
1487
- * V4 only
1667
+ * unix seconds
1488
1668
  *
1489
- * @generated from field: optional string hook_address = 9;
1669
+ * @generated from field: int64 launched_at = 5;
1490
1670
  */
1491
- hookAddress?: string;
1671
+ launchedAt: bigint;
1492
1672
  /**
1493
- * V3/V4 only; absent when no state row is indexed yet
1494
- *
1495
- * @generated from field: optional int32 current_tick = 10;
1673
+ * @generated from field: data.v2.LaunchStats stats = 6;
1496
1674
  */
1497
- currentTick?: number;
1675
+ stats?: LaunchStats | undefined;
1498
1676
  /**
1499
- * uint160 as decimal string; V3/V4 only
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.
1500
1684
  *
1501
- * @generated from field: optional string sqrt_price_x96 = 11;
1685
+ * @generated from field: optional bool graduated = 7;
1502
1686
  */
1503
- sqrtPriceX96?: string;
1687
+ graduated?: boolean | undefined;
1504
1688
  /**
1505
- * uint128 as decimal string; V3/V4 only
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.
1506
1692
  *
1507
- * @generated from field: optional string liquidity = 12;
1693
+ * @generated from field: optional double auction_fill_pct = 8;
1508
1694
  */
1509
- liquidity?: string;
1695
+ auctionFillPct?: number | undefined;
1510
1696
  /**
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.
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.
1513
1700
  *
1514
- * @generated from field: optional uint32 protocol_fee = 13;
1701
+ * @generated from field: optional string auction_end_block = 9;
1515
1702
  */
1516
- protocolFee?: number;
1703
+ auctionEndBlock?: string | undefined;
1517
1704
  /**
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).
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.
1520
1709
  *
1521
- * @generated from field: optional uint32 effective_fee = 14;
1710
+ * @generated from field: optional int32 bidder_count = 10;
1522
1711
  */
1523
- effectiveFee?: number;
1712
+ bidderCount?: number | undefined;
1524
1713
  /**
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.
1714
+ * Direct-launch overlay (see BondingCurveInfo), set only for launches of
1715
+ * the Uniswap direct-launch launchpad ("uniswap-bonding-curve").
1539
1716
  *
1540
- * @generated from field: optional uint32 current_lp_fee = 15;
1717
+ * @generated from field: optional data.v2.BondingCurveInfo bonding_curve = 11;
1541
1718
  */
1542
- currentLpFee?: number;
1719
+ bondingCurve?: BondingCurveInfo | undefined;
1543
1720
  /**
1544
- * Pool-category ids this pool belongs to, ordered by display precedence:
1545
- * the first id is the preferred tag. Mirrors Token.category_ids.
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.
1546
1727
  *
1547
- * @generated from field: repeated string category_ids = 16;
1728
+ * @generated from field: optional string token_description = 12;
1548
1729
  */
1549
- categoryIds: string[];
1730
+ tokenDescription?: string | undefined;
1550
1731
  /**
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.
1732
+ * The launch tx's from address (launched_tokens.creator_wallet),
1733
+ * EIP-55 checksummed. Public on-chain data, served ungated.
1554
1734
  *
1555
- * @generated from field: optional string quote_token_address = 17;
1735
+ * @generated from field: optional string creator_address = 13;
1556
1736
  */
1557
- quoteTokenAddress?: string;
1737
+ creatorAddress?: string | undefined;
1558
1738
  /**
1559
- * The LP fee the next swap pays in each direction, from the hook's getFee.
1560
- * Set only for V4 pools on a Labs StablePair or VolatilePair hook with a
1561
- * reading from the last 10 minutes; otherwise use current_lp_fee.
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.
1562
1743
  *
1563
- * @generated from field: optional data.v2.DirectionalLpFee current_lp_fee_by_direction = 18;
1744
+ * @generated from field: optional string website_url = 14;
1564
1745
  */
1565
- currentLpFeeByDirection?: DirectionalLpFee;
1566
- constructor(data?: PartialMessage<Pool>);
1567
- static readonly runtime: typeof proto3;
1568
- static readonly typeName = "data.v2.Pool";
1569
- static readonly fields: FieldList;
1570
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Pool;
1571
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Pool;
1572
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Pool;
1573
- static equals(a: Pool | PlainMessage<Pool> | undefined, b: Pool | PlainMessage<Pool> | undefined): boolean;
1574
- }
1575
- /**
1576
- * Current LP fee per swap direction, in pips; same regime as current_lp_fee.
1577
- *
1578
- * @generated from message data.v2.DirectionalLpFee
1579
- */
1580
- export declare class DirectionalLpFee extends Message<DirectionalLpFee> {
1746
+ websiteUrl?: string | undefined;
1581
1747
  /**
1582
- * currency0 in
1748
+ * X handle, only when its inline-at-ingest Ed25519 verification passed.
1583
1749
  *
1584
- * @generated from field: uint32 zero_for_one = 1;
1750
+ * @generated from field: optional string x_handle = 15;
1585
1751
  */
1586
- zeroForOne: number;
1752
+ xHandle?: string | undefined;
1587
1753
  /**
1588
- * currency1 in
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.
1589
1759
  *
1590
- * @generated from field: uint32 one_for_zero = 2;
1760
+ * @generated from field: optional int32 unique_buyer_count = 16;
1591
1761
  */
1592
- oneForZero: number;
1762
+ uniqueBuyerCount?: number | undefined;
1593
1763
  /**
1594
- * block the fees were read at
1595
- *
1596
- * @generated from field: uint64 block_number = 3;
1764
+ * @generated from field: optional int32 buyers_last_1h = 17;
1597
1765
  */
1598
- blockNumber: bigint;
1599
- constructor(data?: PartialMessage<DirectionalLpFee>);
1600
- static readonly runtime: typeof proto3;
1601
- static readonly typeName = "data.v2.DirectionalLpFee";
1602
- static readonly fields: FieldList;
1603
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DirectionalLpFee;
1604
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DirectionalLpFee;
1605
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DirectionalLpFee;
1606
- static equals(a: DirectionalLpFee | PlainMessage<DirectionalLpFee> | undefined, b: DirectionalLpFee | PlainMessage<DirectionalLpFee> | undefined): boolean;
1607
- }
1608
- /**
1609
- * @generated from message data.v2.PoolTokenFilter
1610
- */
1611
- export declare class PoolTokenFilter extends Message<PoolTokenFilter> {
1766
+ buyersLast1h?: number | undefined;
1612
1767
  /**
1613
- * checksummed EVM addresses
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.
1614
1776
  *
1615
- * @generated from field: repeated string tokens = 1;
1777
+ * @generated from field: optional int32 holder_count = 18;
1616
1778
  */
1617
- tokens: string[];
1779
+ holderCount?: number | undefined;
1618
1780
  /**
1619
- * @generated from field: data.v2.PoolTokenLogicalOperator logical_operator = 2;
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.
1788
+ *
1789
+ * @generated from field: optional string burned_to_zero = 19;
1620
1790
  */
1621
- logicalOperator: PoolTokenLogicalOperator;
1622
- constructor(data?: PartialMessage<PoolTokenFilter>);
1623
- static readonly runtime: typeof proto3;
1624
- static readonly typeName = "data.v2.PoolTokenFilter";
1625
- static readonly fields: FieldList;
1626
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolTokenFilter;
1627
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolTokenFilter;
1628
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolTokenFilter;
1629
- static equals(a: PoolTokenFilter | PlainMessage<PoolTokenFilter> | undefined, b: PoolTokenFilter | PlainMessage<PoolTokenFilter> | undefined): boolean;
1630
- }
1631
- /**
1632
- * @generated from message data.v2.PoolStatRangeFilter
1633
- */
1634
- export declare class PoolStatRangeFilter extends Message<PoolStatRangeFilter> {
1791
+ burnedToZero?: string | undefined;
1635
1792
  /**
1636
- * @generated from field: optional double min = 1;
1793
+ * @generated from field: optional string burned_to_dead = 20;
1637
1794
  */
1638
- min?: number;
1795
+ burnedToDead?: string | undefined;
1639
1796
  /**
1640
- * @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;
1641
1805
  */
1642
- max?: number;
1643
- constructor(data?: PartialMessage<PoolStatRangeFilter>);
1644
- static readonly runtime: typeof proto3;
1645
- static readonly typeName = "data.v2.PoolStatRangeFilter";
1646
- static readonly fields: FieldList;
1647
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolStatRangeFilter;
1648
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolStatRangeFilter;
1649
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolStatRangeFilter;
1650
- static equals(a: PoolStatRangeFilter | PlainMessage<PoolStatRangeFilter> | undefined, b: PoolStatRangeFilter | PlainMessage<PoolStatRangeFilter> | undefined): boolean;
1651
- }
1652
- /**
1653
- * @generated from message data.v2.PoolStatsFilter
1654
- */
1655
- export declare class PoolStatsFilter extends Message<PoolStatsFilter> {
1806
+ auctionEndTime?: bigint | undefined;
1656
1807
  /**
1657
- * @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;
1658
1814
  */
1659
- tvl?: PoolStatRangeFilter;
1815
+ xProfileImageUrl?: string | undefined;
1660
1816
  /**
1661
- * @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;
1662
1823
  */
1663
- apr?: PoolStatRangeFilter;
1824
+ xVerified?: boolean | undefined;
1664
1825
  /**
1665
- * @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;
1666
1837
  */
1667
- volume1d?: PoolStatRangeFilter;
1838
+ recentTrades: TokenTrade[];
1668
1839
  /**
1669
- * @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;
1670
1846
  */
1671
- volume30d?: PoolStatRangeFilter;
1672
- constructor(data?: PartialMessage<PoolStatsFilter>);
1673
- static readonly runtime: typeof proto3;
1674
- static readonly typeName = "data.v2.PoolStatsFilter";
1675
- static readonly fields: FieldList;
1676
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolStatsFilter;
1677
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolStatsFilter;
1678
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolStatsFilter;
1679
- static equals(a: PoolStatsFilter | PlainMessage<PoolStatsFilter> | undefined, b: PoolStatsFilter | PlainMessage<PoolStatsFilter> | undefined): boolean;
1680
- }
1847
+ badges: LaunchBadge[];
1848
+ };
1681
1849
  /**
1682
- * 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.
1683
1858
  *
1684
- * @generated from message data.v2.PoolListFilter
1859
+ * @generated from message data.v2.LaunchBadge
1685
1860
  */
1686
- export declare class PoolListFilter extends Message<PoolListFilter> {
1861
+ export type LaunchBadge = Message<"data.v2.LaunchBadge"> & {
1687
1862
  /**
1688
- * if empty, all protocol versions
1863
+ * "original" | "frontrunner" | "volume" | "holders" | "badger".
1689
1864
  *
1690
- * @generated from field: repeated pools.v1.ProtocolVersion protocol_versions = 1;
1865
+ * @generated from field: string type = 1;
1691
1866
  */
1692
- protocolVersions: ProtocolVersion[];
1867
+ type: string;
1693
1868
  /**
1694
- * Default false (spam excluded): drops pools where either token is
1695
- * affirmatively flagged — a non-Benign Blockaid verdict, blocklisted, or
1696
- * URL-spam; unscanned tokens pass (ListTokens' exact safety rule).
1697
- * Independent of apply_top_level_filters.
1869
+ * Tier id, present only for the tiered types — volume: "5m" | "10m" |
1870
+ * "50m"; holders: "100" | "1k" | "10k". Unset for untiered types.
1698
1871
  *
1699
- * @generated from field: optional bool include_spam = 2;
1872
+ * @generated from field: optional string tier = 2;
1700
1873
  */
1701
- includeSpam?: boolean;
1874
+ tier?: string | undefined;
1702
1875
  /**
1703
- * @generated from field: optional data.v2.PoolTokenFilter token_filter = 3;
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.
1880
+ *
1881
+ * @generated from field: google.protobuf.Timestamp earned_at = 3;
1704
1882
  */
1705
- tokenFilter?: PoolTokenFilter;
1883
+ earnedAt?: Timestamp | undefined;
1706
1884
  /**
1707
- * @generated from field: optional data.v2.PoolStatsFilter stats_filter = 4;
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.
1890
+ *
1891
+ * @generated from field: optional double holder_percentage = 4;
1708
1892
  */
1709
- statsFilter?: PoolStatsFilter;
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"> & {
1710
1906
  /**
1711
- * e.g. [500, 3000, 10000]; never matches V2 pools
1907
+ * EIP-55 checksummed, so clients can equality-match against
1908
+ * Launch.creator_address and well-known addresses (LP, burn sinks).
1712
1909
  *
1713
- * @generated from field: repeated uint32 fee_tiers = 5;
1910
+ * @generated from field: string address = 1;
1714
1911
  */
1715
- feeTiers: number[];
1912
+ address: string;
1716
1913
  /**
1717
- * exact match; never matches V2 pools
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.
1718
1916
  *
1719
- * @generated from field: optional int32 tick_spacing = 6;
1917
+ * @generated from field: string balance = 2;
1720
1918
  */
1721
- tickSpacing?: number;
1919
+ balance: string;
1722
1920
  /**
1723
- * V4 hook address; the zero address matches hookless V4 pools; never matches V2/V3 pools
1921
+ * balance as a percent of minted_supply, in [0, 100].
1724
1922
  *
1725
- * @generated from field: optional string hooks = 7;
1923
+ * @generated from field: double supply_pct = 3;
1726
1924
  */
1727
- hooks?: string;
1925
+ supplyPct: number;
1728
1926
  /**
1729
- * Curated-feed quality gates, default true (the pools translation of
1730
- * ListTokens' bundle, CONS-2542). Applied uniformly to every request
1731
- * shape; scoped flows (exact-pool lookups, fee-tier discovery) that need
1732
- * complete listings must send false explicitly. Gates: wash trading (1D
1733
- * volume must not exceed 10,000x the pool's TVL; fails open on missing
1734
- * values), valuation trust (both tokens priced with confidence >= 0.005,
1735
- * ListTokens' exact rule; fails closed on a missing price), and discovery
1736
- * (each token native, on a token list, or confidence >= 0.2 WITH 1D token
1737
- * volume in ListTokens' discovery band [10K, 30M] — its exact
1738
- * on-list-or-earned-trust rule), balance (the pool's claimed TVL
1739
- * must be backed on both sides: side-valuation ratio at or above the
1740
- * protocol-stats 1:500 rule; unknown fails open), and a TVL floor
1741
- * (pool TVL >= $1,000 on ranked explore feeds, >= $1 on token-scoped
1742
- * requests — the dust stratum where fossilized stats live; unknown
1743
- * fails open).
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).
1744
1931
  *
1745
- * @generated from field: optional bool apply_top_level_filters = 8;
1932
+ * @generated from field: bool is_burn_address = 4;
1746
1933
  */
1747
- applyTopLevelFilters?: boolean;
1934
+ isBurnAddress: boolean;
1748
1935
  /**
1749
- * Restrict the listing to pools running a live allowlisted LP-incentive
1750
- * campaign (Merkl). The campaign set is the row source; everything else —
1751
- * spam, the quality gates above, attribute filters, sort, pagination —
1752
- * behaves exactly as it does without this flag, so a caller wanting every
1753
- * rewarded pool regardless of size sends include_spam true and
1754
- * apply_top_level_filters false alongside it. Never matches V2 pools:
1755
- * Merkl campaign types don't target them.
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.
1756
1942
  *
1757
- * @generated from field: optional bool rewards_only = 9;
1943
+ * @generated from field: bool is_pool_address = 5;
1758
1944
  */
1759
- rewardsOnly?: boolean;
1945
+ isPoolAddress: boolean;
1946
+ };
1947
+ /**
1948
+ * Describes the message data.v2.LaunchHolder.
1949
+ * Use `create(LaunchHolderSchema)` to create a new message.
1950
+ */
1951
+ export declare const LaunchHolderSchema: GenMessage<LaunchHolder>;
1952
+ /**
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.
1961
+ *
1962
+ * @generated from message data.v2.BondingCurveInfo
1963
+ */
1964
+ export type BondingCurveInfo = Message<"data.v2.BondingCurveInfo"> & {
1760
1965
  /**
1761
- * Explore-search filter: free text matched against the pool's tokens
1762
- * (case-insensitive, normalized as in TokenListFilter.search_query). A
1763
- * plain term prefix-matches either token's symbol or name; a "/" splits
1764
- * the query into two halves, each prefix-matching one side's symbol (both
1765
- * orientations; an empty half matches anything, so "usdc/" = all USDC
1766
- * pools); a "0x"-prefixed query prefix-matches the token addresses or the
1767
- * pool identifier instead. Narrows the listing; sort, gates, floors, and
1768
- * pagination keep their ordinary meanings. Empty/whitespace = no filter.
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.
1769
1968
  *
1770
- * @generated from field: optional string search_query = 10;
1969
+ * @generated from field: optional string graduation_sqrt_price_x96 = 1;
1771
1970
  */
1772
- searchQuery?: string;
1971
+ graduationSqrtPriceX96?: string | undefined;
1773
1972
  /**
1774
- * Serve only members of these pool categories: OR within this list, AND
1775
- * with the other filter fields. An unknown id, a token-category id
1776
- * included, is rejected.
1777
- *
1778
- * @generated from field: repeated string category_ids = 12;
1973
+ * @generated from field: optional int32 curve_tick_lower = 2;
1779
1974
  */
1780
- categoryIds: string[];
1975
+ curveTickLower?: number | undefined;
1781
1976
  /**
1782
- * V4 pools using any of these hook addresses (any casing), such as every
1783
- * deployment of one hook; max 25.
1784
- *
1785
- * @generated from field: repeated string hook_addresses = 13;
1977
+ * @generated from field: optional int32 curve_tick_upper = 3;
1786
1978
  */
1787
- hookAddresses: string[];
1979
+ curveTickUpper?: number | undefined;
1788
1980
  /**
1789
- * Only pools with a hook: V4 pools whose hook is neither unset nor the zero
1790
- * address.
1791
- *
1792
- * @generated from field: optional bool hooked_only = 14;
1981
+ * @generated from field: optional string curve_supply = 4;
1793
1982
  */
1794
- hookedOnly?: boolean;
1795
- constructor(data?: PartialMessage<PoolListFilter>);
1796
- static readonly runtime: typeof proto3;
1797
- static readonly typeName = "data.v2.PoolListFilter";
1798
- static readonly fields: FieldList;
1799
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolListFilter;
1800
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolListFilter;
1801
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolListFilter;
1802
- static equals(a: PoolListFilter | PlainMessage<PoolListFilter> | undefined, b: PoolListFilter | PlainMessage<PoolListFilter> | undefined): boolean;
1803
- }
1804
- /**
1805
- * Returned by ListPools — wraps a Pool with its ranking stats.
1806
- *
1807
- * @generated from message data.v2.RankedPool
1808
- */
1809
- export declare class RankedPool extends Message<RankedPool> {
1983
+ curveSupply?: string | undefined;
1810
1984
  /**
1811
- * @generated from field: data.v2.Pool pool = 1;
1985
+ * @generated from field: optional string reserve_supply = 5;
1812
1986
  */
1813
- pool?: Pool;
1987
+ reserveSupply?: string | undefined;
1814
1988
  /**
1815
- * @generated from field: data.v2.PoolRankStats stats = 2;
1989
+ * @generated from field: optional string graduated_tx_hash = 7;
1816
1990
  */
1817
- stats?: PoolRankStats;
1818
- constructor(data?: PartialMessage<RankedPool>);
1819
- static readonly runtime: typeof proto3;
1820
- static readonly typeName = "data.v2.RankedPool";
1821
- static readonly fields: FieldList;
1822
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RankedPool;
1823
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RankedPool;
1824
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RankedPool;
1825
- static equals(a: RankedPool | PlainMessage<RankedPool> | undefined, b: RankedPool | PlainMessage<RankedPool> | undefined): boolean;
1826
- }
1827
- /**
1828
- * One token side of a pool event. amount is signed, pool-perspective:
1829
- * positive = the token entered the pool (sold / deposited), negative = it
1830
- * left the pool (bought / withdrawn) — same convention as the GraphQL
1831
- * transactions resolvers. amount_usd = |amount| * price; 0 when price or
1832
- * decimals are unavailable.
1833
- *
1834
- * @generated from message data.v2.TransactionTokenSide
1835
- */
1836
- export declare class TransactionTokenSide extends Message<TransactionTokenSide> {
1991
+ graduatedTxHash?: string | undefined;
1837
1992
  /**
1838
- * @generated from field: data.v2.Token token = 1;
1993
+ * @generated from field: optional double curve_progress_pct = 8;
1839
1994
  */
1840
- token?: Token;
1995
+ curveProgressPct?: number | undefined;
1841
1996
  /**
1842
- * decimal-adjusted signed amount, full precision; absent when decimals unavailable
1843
- *
1844
- * @generated from field: optional string amount = 2;
1997
+ * @generated from field: optional int64 graduated_at = 9;
1845
1998
  */
1846
- amount?: string;
1999
+ graduatedAt?: bigint | undefined;
1847
2000
  /**
1848
- * @generated from field: double amount_usd = 3;
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;
1849
2011
  */
1850
- amountUsd: number;
1851
- constructor(data?: PartialMessage<TransactionTokenSide>);
1852
- static readonly runtime: typeof proto3;
1853
- static readonly typeName = "data.v2.TransactionTokenSide";
1854
- static readonly fields: FieldList;
1855
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TransactionTokenSide;
1856
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TransactionTokenSide;
1857
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TransactionTokenSide;
1858
- static equals(a: TransactionTokenSide | PlainMessage<TransactionTokenSide> | undefined, b: TransactionTokenSide | PlainMessage<TransactionTokenSide> | undefined): boolean;
1859
- }
2012
+ feeBeneficiary?: string | undefined;
2013
+ };
1860
2014
  /**
1861
- * A single on-chain event from the global protocol feed.
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.
1862
2021
  *
1863
- * @generated from message data.v2.UniswapTransaction
2022
+ * @generated from message data.v2.TokenTrade
1864
2023
  */
1865
- export declare class UniswapTransaction extends Message<UniswapTransaction> {
2024
+ export type TokenTrade = Message<"data.v2.TokenTrade"> & {
1866
2025
  /**
1867
- * @generated from field: uint32 chain_id = 1;
2026
+ * @generated from field: string tx_hash = 1;
1868
2027
  */
1869
- chainId: number;
2028
+ txHash: string;
1870
2029
  /**
1871
- * @generated from field: string tx_hash = 2;
2030
+ * @generated from field: data.v2.TradeSide side = 2;
1872
2031
  */
1873
- txHash: string;
2032
+ side: TradeSide;
1874
2033
  /**
1875
- * Unix epoch milliseconds
2034
+ * The transaction's from-address (the EOA that signed it), not the router
2035
+ * contract that forwarded the swap to the pool.
1876
2036
  *
1877
- * @generated from field: int64 timestamp_ms = 3;
2037
+ * @generated from field: string wallet = 3;
1878
2038
  */
1879
- timestampMs: bigint;
2039
+ wallet: string;
1880
2040
  /**
1881
- * @generated from field: data.v2.TransactionEventType event_type = 4;
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;
1882
2044
  */
1883
- eventType: TransactionEventType;
2045
+ amountUsd?: number | undefined;
1884
2046
  /**
1885
- * @generated from field: pools.v1.ProtocolVersion protocol_version = 5;
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;
1886
2051
  */
1887
- protocolVersion: ProtocolVersion;
2052
+ tokenAmount: string;
1888
2053
  /**
1889
- * pool address (V2/V3) or pool_id (V4)
2054
+ * USD price of the requested token at trade time; unset when unknown.
1890
2055
  *
1891
- * @generated from field: string pool_id = 6;
2056
+ * @generated from field: optional double price_usd = 6;
1892
2057
  */
1893
- poolId: string;
2058
+ priceUsd?: number | undefined;
1894
2059
  /**
1895
- * @generated from field: data.v2.TransactionTokenSide token0 = 7;
2060
+ * @generated from field: google.protobuf.Timestamp timestamp = 7;
1896
2061
  */
1897
- token0?: TransactionTokenSide;
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"> & {
1898
2073
  /**
1899
- * @generated from field: data.v2.TransactionTokenSide token1 = 8;
2074
+ * @generated from field: string url = 1;
1900
2075
  */
1901
- token1?: TransactionTokenSide;
2076
+ url: string;
1902
2077
  /**
1903
- * swap = avg of both sides; add/remove = sum
2078
+ * FE reads image.dimensions for grid aspect ratio; may be null from Alchemy
1904
2079
  *
1905
- * @generated from field: double amount_usd = 9;
2080
+ * @generated from field: optional uint32 width = 2;
1906
2081
  */
1907
- amountUsd: number;
2082
+ width?: number | undefined;
1908
2083
  /**
1909
- * checksummed EVM address (tx_from)
1910
- *
1911
- * @generated from field: string wallet_address = 10;
2084
+ * @generated from field: optional uint32 height = 3;
1912
2085
  */
1913
- walletAddress: string;
1914
- constructor(data?: PartialMessage<UniswapTransaction>);
1915
- static readonly runtime: typeof proto3;
1916
- static readonly typeName = "data.v2.UniswapTransaction";
1917
- static readonly fields: FieldList;
1918
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UniswapTransaction;
1919
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UniswapTransaction;
1920
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UniswapTransaction;
1921
- static equals(a: UniswapTransaction | PlainMessage<UniswapTransaction> | undefined, b: UniswapTransaction | PlainMessage<UniswapTransaction> | undefined): boolean;
1922
- }
2086
+ height?: number | undefined;
2087
+ };
1923
2088
  /**
1924
- * @generated from message data.v2.Token
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
1925
2095
  */
1926
- export declare class Token extends Message<Token> {
2096
+ export type Nft = Message<"data.v2.Nft"> & {
1927
2097
  /**
1928
2098
  * @generated from field: uint32 chain_id = 1;
1929
2099
  */
1930
2100
  chainId: number;
1931
2101
  /**
1932
- * @generated from field: string address = 2;
1933
- */
1934
- address: string;
1935
- /**
1936
- * @generated from field: string symbol = 3;
2102
+ * checksummed
2103
+ *
2104
+ * @generated from field: string contract_address = 2;
1937
2105
  */
1938
- symbol: string;
2106
+ contractAddress: string;
1939
2107
  /**
1940
- * @generated from field: uint32 decimals = 4;
2108
+ * @generated from field: string token_id = 3;
1941
2109
  */
1942
- decimals: number;
2110
+ tokenId: string;
1943
2111
  /**
1944
- * @generated from field: string name = 5;
2112
+ * @generated from field: string name = 4;
1945
2113
  */
1946
2114
  name: string;
1947
2115
  /**
1948
- * @generated from field: data.v1.TokenType type = 6;
2116
+ * @generated from field: string description = 5;
1949
2117
  */
1950
- type: TokenType;
2118
+ description: string;
1951
2119
  /**
1952
- * @generated from field: data.v2.TokenPriceData price = 7;
2120
+ * @generated from field: data.v2.NftImage image = 6;
1953
2121
  */
1954
- price?: TokenPriceData;
2122
+ image?: NftImage | undefined;
1955
2123
  /**
1956
- * @generated from field: data.v2.TokenSafety safety = 8;
2124
+ * @generated from field: data.v2.NftImage thumbnail = 7;
1957
2125
  */
1958
- safety?: TokenSafety;
2126
+ thumbnail?: NftImage | undefined;
1959
2127
  /**
1960
- * @generated from field: data.v2.TokenFees fees = 9;
2128
+ * Spam flag: Alchemy spam signals + Blockaid verdict + heuristics. Malicious
2129
+ * NFTs are filtered out server-side (not represented here).
2130
+ *
2131
+ * @generated from field: bool is_spam = 8;
1961
2132
  */
1962
- fees?: TokenFees;
2133
+ isSpam: boolean;
1963
2134
  /**
1964
- * @generated from field: data.v2.TokenProject project = 10;
2135
+ * @generated from field: string collection_name = 9;
1965
2136
  */
1966
- project?: TokenProject;
2137
+ collectionName: string;
2138
+ };
2139
+ /**
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
2146
+ */
2147
+ export declare enum TokensOrderBy {
1967
2148
  /**
1968
- * @generated from field: optional data.v2.TokenMultichain multichain = 11;
2149
+ * @generated from enum value: TOKENS_ORDER_BY_UNSPECIFIED = 0;
1969
2150
  */
1970
- multichain?: TokenMultichain;
2151
+ UNSPECIFIED = 0,
1971
2152
  /**
1972
- * USD, price * total supply. NULL for EVM until CONS-2571's write path
1973
- * populates chain_token_stats.fdv_usd. Populated for Solana via Codex.
1974
- *
1975
- * @generated from field: optional double fdv = 12;
2153
+ * @generated from enum value: TOKENS_ORDER_BY_TVL = 1;
1976
2154
  */
1977
- fdv?: number;
2155
+ TVL = 1,
1978
2156
  /**
1979
- * Ordered by display precedence: the first id is the preferred tag.
1980
- *
1981
- * @generated from field: repeated string category_ids = 13;
2157
+ * @generated from enum value: TOKENS_ORDER_BY_VOLUME_1H = 2;
1982
2158
  */
1983
- categoryIds: string[];
2159
+ VOLUME_1H = 2,
1984
2160
  /**
1985
- * @generated from field: optional data.v2.TokenIssuerInfo issuer = 14;
2161
+ * @generated from enum value: TOKENS_ORDER_BY_VOLUME_1D = 3;
1986
2162
  */
1987
- issuer?: TokenIssuerInfo;
2163
+ VOLUME_1D = 3,
1988
2164
  /**
1989
- * Best-effort display origin populated by canonical-token GetToken and
1990
- * GetTokens reads. Other RPCs that reuse Token may leave it unset; absence
1991
- * there does not prove the token has no eligible launch.
1992
- *
1993
- * @generated from field: optional data.v2.TokenLaunchProvenance launch_provenance = 15;
2165
+ * @generated from enum value: TOKENS_ORDER_BY_VOLUME_7D = 4;
1994
2166
  */
1995
- launchProvenance?: TokenLaunchProvenance;
2167
+ VOLUME_7D = 4,
1996
2168
  /**
1997
- * Earliest qualifying swap for this token and chain across indexed pools,
1998
- * excluding auction bids and checkpoints. Not the launch time. Set only for
1999
- * tracked launch tokens on canonical-token GetToken and GetTokens reads.
2000
- *
2001
- * @generated from field: optional google.protobuf.Timestamp first_traded_at = 16;
2169
+ * @generated from enum value: TOKENS_ORDER_BY_VOLUME_30D = 5;
2002
2170
  */
2003
- firstTradedAt?: Timestamp;
2004
- constructor(data?: PartialMessage<Token>);
2005
- static readonly runtime: typeof proto3;
2006
- static readonly typeName = "data.v2.Token";
2007
- static readonly fields: FieldList;
2008
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Token;
2009
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Token;
2010
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Token;
2011
- static equals(a: Token | PlainMessage<Token> | undefined, b: Token | PlainMessage<Token> | undefined): boolean;
2012
- }
2013
- /**
2014
- * A token launchpad known to the Launches surface (see the data-api
2015
- * launchpad registry). A launchpad is the launching FRONTEND users see; id is
2016
- * the stable slug used in launchpad_id filters.
2017
- *
2018
- * @generated from message data.v2.Launchpad
2019
- */
2020
- export declare class Launchpad extends Message<Launchpad> {
2171
+ VOLUME_30D = 5,
2021
2172
  /**
2022
- * @generated from field: string id = 1;
2173
+ * @generated from enum value: TOKENS_ORDER_BY_VOLUME_1Y = 6;
2023
2174
  */
2024
- id: string;
2175
+ VOLUME_1Y = 6,
2025
2176
  /**
2026
- * @generated from field: string name = 2;
2177
+ * @generated from enum value: TOKENS_ORDER_BY_VOLUME_ALL = 7;
2027
2178
  */
2028
- name: string;
2179
+ VOLUME_ALL = 7,
2029
2180
  /**
2030
- * @generated from field: optional string logo_url = 3;
2181
+ * @generated from enum value: TOKENS_ORDER_BY_FDV = 8;
2031
2182
  */
2032
- logoUrl?: string;
2183
+ FDV = 8,
2033
2184
  /**
2034
- * Underlying shared launch protocol (e.g. "doppler") when the frontend
2035
- * launches through contracts it doesn't own. Unset for self-contained
2036
- * launchpads; several frontends can share one protocol value.
2037
- *
2038
- * @generated from field: optional string protocol = 4;
2185
+ * @generated from enum value: TOKENS_ORDER_BY_PRICE_CHANGE_1H = 9;
2039
2186
  */
2040
- protocol?: string;
2041
- constructor(data?: PartialMessage<Launchpad>);
2042
- static readonly runtime: typeof proto3;
2043
- static readonly typeName = "data.v2.Launchpad";
2044
- static readonly fields: FieldList;
2045
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Launchpad;
2046
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Launchpad;
2047
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Launchpad;
2048
- static equals(a: Launchpad | PlainMessage<Launchpad> | undefined, b: Launchpad | PlainMessage<Launchpad> | undefined): boolean;
2049
- }
2050
- /**
2051
- * One token's earliest eligible launch, for display rather than complete
2052
- * launch history. The launchpad is a serve-time snapshot of data-api's
2053
- * registry so clients can render its badge without another request. When the
2054
- * registry entry is missing or incomplete, the server omits the whole
2055
- * launch_provenance field instead of returning a partial attribution.
2056
- *
2057
- * @generated from message data.v2.TokenLaunchProvenance
2058
- */
2059
- export declare class TokenLaunchProvenance extends Message<TokenLaunchProvenance> {
2187
+ PRICE_CHANGE_1H = 9,
2060
2188
  /**
2061
- * @generated from field: data.v2.Launchpad launchpad = 1;
2189
+ * @generated from enum value: TOKENS_ORDER_BY_PRICE_CHANGE_1D = 10;
2062
2190
  */
2063
- launchpad?: Launchpad;
2191
+ PRICE_CHANGE_1D = 10,
2064
2192
  /**
2065
- * @generated from field: data.v2.LaunchMethod launch_method = 2;
2193
+ * @generated from enum value: TOKENS_ORDER_BY_MARKET_CAP = 11;
2066
2194
  */
2067
- launchMethod: LaunchMethod;
2068
- constructor(data?: PartialMessage<TokenLaunchProvenance>);
2069
- static readonly runtime: typeof proto3;
2070
- static readonly typeName = "data.v2.TokenLaunchProvenance";
2071
- static readonly fields: FieldList;
2072
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenLaunchProvenance;
2073
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenLaunchProvenance;
2074
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenLaunchProvenance;
2075
- static equals(a: TokenLaunchProvenance | PlainMessage<TokenLaunchProvenance> | undefined, b: TokenLaunchProvenance | PlainMessage<TokenLaunchProvenance> | undefined): boolean;
2076
- }
2077
- /**
2078
- * Optional filters for ListLaunches. When a window is set and sort_by is
2079
- * UNSPECIFIED the server sorts by 24h volume (VOLUME_1D).
2080
- *
2081
- * @generated from message data.v2.LaunchListFilter
2082
- */
2083
- export declare class LaunchListFilter extends Message<LaunchListFilter> {
2195
+ MARKET_CAP = 11,
2084
2196
  /**
2085
- * @generated from field: data.v2.LaunchWindow window = 1;
2197
+ * @generated from enum value: TOKENS_ORDER_BY_PRICE = 12;
2086
2198
  */
2087
- window: LaunchWindow;
2088
- constructor(data?: PartialMessage<LaunchListFilter>);
2089
- static readonly runtime: typeof proto3;
2090
- static readonly typeName = "data.v2.LaunchListFilter";
2091
- static readonly fields: FieldList;
2092
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LaunchListFilter;
2093
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LaunchListFilter;
2094
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LaunchListFilter;
2095
- static equals(a: LaunchListFilter | PlainMessage<LaunchListFilter> | undefined, b: LaunchListFilter | PlainMessage<LaunchListFilter> | undefined): boolean;
2199
+ PRICE = 12
2096
2200
  }
2097
2201
  /**
2098
- * The launched token's identity and display metadata.
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.
2099
2209
  *
2100
- * @generated from message data.v2.LaunchToken
2210
+ * @generated from enum data.v2.FiatCurrency
2101
2211
  */
2102
- export declare class LaunchToken extends Message<LaunchToken> {
2103
- /**
2104
- * @generated from field: uint32 chain_id = 1;
2105
- */
2106
- chainId: number;
2212
+ export declare enum FiatCurrency {
2107
2213
  /**
2108
- * @generated from field: string address = 2;
2214
+ * @generated from enum value: FIAT_CURRENCY_UNSPECIFIED = 0;
2109
2215
  */
2110
- address: string;
2216
+ UNSPECIFIED = 0,
2111
2217
  /**
2112
- * @generated from field: string symbol = 3;
2218
+ * @generated from enum value: FIAT_CURRENCY_ARS = 1;
2113
2219
  */
2114
- symbol: string;
2220
+ ARS = 1,
2115
2221
  /**
2116
- * @generated from field: string name = 4;
2222
+ * @generated from enum value: FIAT_CURRENCY_AUD = 2;
2117
2223
  */
2118
- name: string;
2224
+ AUD = 2,
2119
2225
  /**
2120
- * @generated from field: optional string logo_url = 5;
2226
+ * @generated from enum value: FIAT_CURRENCY_BRL = 3;
2121
2227
  */
2122
- logoUrl?: string;
2228
+ BRL = 3,
2123
2229
  /**
2124
- * Safety classification from Aurora canonical_tokens — the same source and
2125
- * shape GetToken serves (safety.is_blocked carries the compliance
2126
- * blocklist). Unset when the token has no canonical row yet (fresh
2127
- * launches lag ingestion) or the read failed: treat as not blocked.
2128
- *
2129
- * @generated from field: data.v2.TokenSafety safety = 6;
2230
+ * @generated from enum value: FIAT_CURRENCY_CAD = 4;
2130
2231
  */
2131
- safety?: TokenSafety;
2132
- constructor(data?: PartialMessage<LaunchToken>);
2133
- static readonly runtime: typeof proto3;
2134
- static readonly typeName = "data.v2.LaunchToken";
2135
- static readonly fields: FieldList;
2136
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LaunchToken;
2137
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LaunchToken;
2138
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LaunchToken;
2139
- static equals(a: LaunchToken | PlainMessage<LaunchToken> | undefined, b: LaunchToken | PlainMessage<LaunchToken> | undefined): boolean;
2140
- }
2141
- /**
2142
- * Live USD stats for a launch's pool/token. Each field is unset when its
2143
- * source has no data yet (fresh launches lag the stats pipelines).
2144
- *
2145
- * @generated from message data.v2.LaunchStats
2146
- */
2147
- export declare class LaunchStats extends Message<LaunchStats> {
2232
+ CAD = 4,
2148
2233
  /**
2149
- * @generated from field: optional double volume_24h_usd = 1;
2234
+ * @generated from enum value: FIAT_CURRENCY_CNY = 5;
2150
2235
  */
2151
- volume24hUsd?: number;
2236
+ CNY = 5,
2152
2237
  /**
2153
- * @generated from field: optional double tvl_usd = 2;
2238
+ * @generated from enum value: FIAT_CURRENCY_COP = 6;
2154
2239
  */
2155
- tvlUsd?: number;
2240
+ COP = 6,
2156
2241
  /**
2157
- * @generated from field: optional double price_usd = 3;
2242
+ * @generated from enum value: FIAT_CURRENCY_EUR = 7;
2158
2243
  */
2159
- priceUsd?: number;
2244
+ EUR = 7,
2160
2245
  /**
2161
- * price x total supply; unset where no supply source
2162
- *
2163
- * @generated from field: optional double fdv_usd = 4;
2246
+ * @generated from enum value: FIAT_CURRENCY_GBP = 8;
2164
2247
  */
2165
- fdvUsd?: number;
2248
+ GBP = 8,
2166
2249
  /**
2167
- * @generated from field: optional double price_change_percent_1h = 5;
2250
+ * @generated from enum value: FIAT_CURRENCY_HKD = 9;
2168
2251
  */
2169
- priceChangePercent1h?: number;
2252
+ HKD = 9,
2170
2253
  /**
2171
- * @generated from field: optional double price_change_percent_24h = 6;
2254
+ * @generated from enum value: FIAT_CURRENCY_IDR = 10;
2172
2255
  */
2173
- priceChangePercent24h?: number;
2256
+ IDR = 10,
2174
2257
  /**
2175
- * USD price sparkline over the trailing 24h, oldest first. Same shape as
2176
- * RankedMultichainToken.sparkline (Aurora-side timestamps are synthesized;
2177
- * CCA points are observed). Empty when no series is available.
2178
- *
2179
- * @generated from field: repeated data.v1.TimestampedValue sparkline = 7;
2258
+ * @generated from enum value: FIAT_CURRENCY_INR = 11;
2180
2259
  */
2181
- sparkline: TimestampedValue[];
2260
+ INR = 11,
2182
2261
  /**
2183
- * price_usd in ETH terms, derived at serve time as price_usd divided by
2184
- * the chain's native-ETH USD rate. Only set on chains whose native
2185
- * currency is ETH; unset when either price is unavailable.
2186
- *
2187
- * @generated from field: optional double price_eth = 8;
2262
+ * @generated from enum value: FIAT_CURRENCY_JPY = 12;
2188
2263
  */
2189
- priceEth?: number;
2264
+ JPY = 12,
2190
2265
  /**
2191
- * USD price ~24h ago — the anchor price_change_percent_24h is measured
2192
- * against. When set, price_change_percent_24h is computed at serve time
2193
- * from the live current price against this anchor; unset when the stats
2194
- * pipeline has not resolved an anchor yet.
2195
- *
2196
- * @generated from field: optional double price_24h_ago_usd = 9;
2266
+ * @generated from enum value: FIAT_CURRENCY_KRW = 13;
2197
2267
  */
2198
- price24hAgoUsd?: number;
2199
- constructor(data?: PartialMessage<LaunchStats>);
2200
- static readonly runtime: typeof proto3;
2201
- static readonly typeName = "data.v2.LaunchStats";
2202
- static readonly fields: FieldList;
2203
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LaunchStats;
2204
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LaunchStats;
2205
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LaunchStats;
2206
- static equals(a: LaunchStats | PlainMessage<LaunchStats> | undefined, b: LaunchStats | PlainMessage<LaunchStats> | undefined): boolean;
2207
- }
2208
- /**
2209
- * One token launch: the earliest pool a (token, launchpad) pair created.
2210
- *
2211
- * @generated from message data.v2.Launch
2212
- */
2213
- export declare class Launch extends Message<Launch> {
2268
+ KRW = 13,
2214
2269
  /**
2215
- * @generated from field: string launchpad_id = 1;
2270
+ * @generated from enum value: FIAT_CURRENCY_MXN = 14;
2216
2271
  */
2217
- launchpadId: string;
2272
+ MXN = 14,
2218
2273
  /**
2219
- * @generated from field: data.v2.LaunchToken token = 2;
2274
+ * @generated from enum value: FIAT_CURRENCY_NGN = 15;
2220
2275
  */
2221
- token?: LaunchToken;
2276
+ NGN = 15,
2222
2277
  /**
2223
- * v4 pool id for hook-attributed and direct launches; CCA pool key hash
2224
- * once the auction has migrated to a pool, empty before then.
2225
- *
2226
- * @generated from field: string pool_id = 3;
2278
+ * @generated from enum value: FIAT_CURRENCY_NZD = 16;
2227
2279
  */
2228
- poolId: string;
2280
+ NZD = 16,
2229
2281
  /**
2230
- * @generated from field: optional string hooks_address = 4;
2282
+ * @generated from enum value: FIAT_CURRENCY_PKR = 17;
2231
2283
  */
2232
- hooksAddress?: string;
2284
+ PKR = 17,
2233
2285
  /**
2234
- * unix seconds
2235
- *
2236
- * @generated from field: int64 launched_at = 5;
2286
+ * @generated from enum value: FIAT_CURRENCY_RUB = 18;
2237
2287
  */
2238
- launchedAt: bigint;
2288
+ RUB = 18,
2239
2289
  /**
2240
- * @generated from field: data.v2.LaunchStats stats = 6;
2290
+ * @generated from enum value: FIAT_CURRENCY_SGD = 19;
2241
2291
  */
2242
- stats?: LaunchStats;
2292
+ SGD = 19,
2243
2293
  /**
2244
- * CCA + direct-launch launches: true once the launch graduated. CCA:
2245
- * auction migrated into its pool (on-chain fact). Direct launches
2246
- * (launchpad "uniswap-bonding-curve") have NO on-chain graduation — the
2247
- * pool is a vanilla v4 pool from block one — so this is currently always
2248
- * false for them; a serving-side FDV-threshold graduation rule may set it
2249
- * later. Unset for other hook-attributed launches, which are pools
2250
- * already.
2251
- *
2252
- * @generated from field: optional bool graduated = 7;
2294
+ * @generated from enum value: FIAT_CURRENCY_THB = 20;
2253
2295
  */
2254
- graduated?: boolean;
2296
+ THB = 20,
2255
2297
  /**
2256
- * CCA launches only, pre-graduation: bid volume as a percent of the
2257
- * required raise, clamped to [0, 100]. Unset once graduated, when the
2258
- * auction has no required raise, and for hook-attributed launches.
2259
- *
2260
- * @generated from field: optional double auction_fill_pct = 8;
2298
+ * @generated from enum value: FIAT_CURRENCY_TRY = 21;
2261
2299
  */
2262
- auctionFillPct?: number;
2300
+ TRY = 21,
2263
2301
  /**
2264
- * CCA launches only, pre-graduation: the auction's end block number
2265
- * (bigint as string). Clients estimate calendar time from blocks, like the
2266
- * v1 auction start_block/end_block. Unset once graduated.
2267
- *
2268
- * @generated from field: optional string auction_end_block = 9;
2302
+ * @generated from enum value: FIAT_CURRENCY_UAH = 22;
2269
2303
  */
2270
- auctionEndBlock?: string;
2304
+ UAH = 22,
2271
2305
  /**
2272
- * CCA launches only: distinct wallets that have placed bids in the auction
2273
- * (all bids, including withdrawn/exited — historical participation, so it
2274
- * stays set after graduation). Unset for hook-attributed launches, which
2275
- * have no auction. int32 matches the v1 auction total_bid_count.
2276
- *
2277
- * @generated from field: optional int32 bidder_count = 10;
2306
+ * @generated from enum value: FIAT_CURRENCY_USD = 23;
2278
2307
  */
2279
- bidderCount?: number;
2308
+ USD = 23,
2280
2309
  /**
2281
- * Direct-launch overlay (see BondingCurveInfo), set only for launches of
2282
- * the Uniswap direct-launch launchpad ("uniswap-bonding-curve").
2283
- *
2284
- * @generated from field: optional data.v2.BondingCurveInfo bonding_curve = 11;
2310
+ * @generated from enum value: FIAT_CURRENCY_VND = 24;
2285
2311
  */
2286
- bondingCurve?: BondingCurveInfo;
2312
+ VND = 24,
2287
2313
  /**
2288
- * Launchpad token metadata (12-15), joined from launched_tokens — present
2289
- * only for launches whose token was created via the Uniswap token factory
2290
- * (CCA and bonding-curve launches); other launchpads' tokens have no row
2291
- * and serve unset. Verification gating mirrors v1 GetAuction
2292
- * (AuctionsBL.enrichWithLaunchpadMetadata): the description is on-chain
2293
- * creator text at the same trust level as name/symbol, served ungated.
2294
- *
2295
- * @generated from field: optional string token_description = 12;
2314
+ * @generated from enum value: FIAT_CURRENCY_SEK = 25;
2296
2315
  */
2297
- tokenDescription?: 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 {
2298
2330
  /**
2299
- * The launch tx's from address (launched_tokens.creator_wallet),
2300
- * EIP-55 checksummed. Public on-chain data, served ungated.
2301
- *
2302
- * @generated from field: optional string creator_address = 13;
2331
+ * @generated from enum value: OHLC_RESOLUTION_UNSPECIFIED = 0;
2303
2332
  */
2304
- creatorAddress?: string;
2333
+ UNSPECIFIED = 0,
2305
2334
  /**
2306
- * Creator-declared project website. Served only once website verification
2307
- * passes; verification is deferred today (status stays 'pending', same
2308
- * rule that keeps the token mirror's homepageUrl null), so this stays
2309
- * unset until that ships.
2310
- *
2311
- * @generated from field: optional string website_url = 14;
2335
+ * @generated from enum value: OHLC_RESOLUTION_ONE_MINUTE = 1;
2312
2336
  */
2313
- websiteUrl?: string;
2337
+ ONE_MINUTE = 1,
2314
2338
  /**
2315
- * X handle, only when its inline-at-ingest Ed25519 verification passed.
2316
- *
2317
- * @generated from field: optional string x_handle = 15;
2339
+ * @generated from enum value: OHLC_RESOLUTION_FIVE_MINUTE = 2;
2318
2340
  */
2319
- xHandle?: string;
2341
+ FIVE_MINUTE = 2,
2320
2342
  /**
2321
- * Bonding-curve launches only (16-17): distinct wallets (swap tx senders)
2322
- * that bought the launch token on its curve pool — all-time and trailing
2323
- * hour. Served from ClickHouse v4 swaps; absent (never 0) when the stats
2324
- * source fails or for non-curve launches, so clients can tell degraded
2325
- * from a real zero.
2326
- *
2327
- * @generated from field: optional int32 unique_buyer_count = 16;
2343
+ * @generated from enum value: OHLC_RESOLUTION_ONE_HOUR = 3;
2328
2344
  */
2329
- uniqueBuyerCount?: number;
2345
+ ONE_HOUR = 3,
2330
2346
  /**
2331
- * @generated from field: optional int32 buyers_last_1h = 17;
2347
+ * @generated from enum value: OHLC_RESOLUTION_FOUR_HOUR = 4;
2332
2348
  */
2333
- buyersLast1h?: number;
2349
+ FOUR_HOUR = 4,
2334
2350
  /**
2335
- * Exact on-chain holder count of the launch token, computed at query time
2336
- * over the raw launch-transfers feed (ClickHouse, reorg-excluded):
2337
- * addresses with a positive net balance, contracts included, burn sinks
2338
- * like 0x…dEaD included while they hold a balance — raw Etherscan-style
2339
- * semantics. Present only for tokens created via the Uniswap token
2340
- * factory (CCA + bonding-curve launches, whose transfers the feed
2341
- * whitelists); absent — never 0 — while the token has no ingested
2342
- * transfers or when the enrichment fails.
2343
- *
2344
- * @generated from field: optional int32 holder_count = 18;
2351
+ * @generated from enum value: OHLC_RESOLUTION_ONE_DAY = 5;
2345
2352
  */
2346
- holderCount?: number;
2353
+ ONE_DAY = 5
2354
+ }
2355
+ /**
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.
2361
+ *
2362
+ * @generated from enum data.v2.HistoryDuration
2363
+ */
2364
+ export declare enum HistoryDuration {
2347
2365
  /**
2348
- * Cumulative burned amount of the launch token, split by burn sink and
2349
- * computed from the same transfer feed. Raw uint256 base units as decimal
2350
- * strings; total burned = burned_to_zero + burned_to_dead. Because burn
2351
- * addresses never spend, a holders-excluding-burn count is
2352
- * client-derivable as holder_count - (burned_to_dead > 0 ? 1 : 0). Same
2353
- * presence rule as holder_count (absent without ingested transfers), but
2354
- * once the token has transfers a genuine "0" is served.
2366
+ * server defaults to DAY
2355
2367
  *
2356
- * @generated from field: optional string burned_to_zero = 19;
2368
+ * @generated from enum value: HISTORY_DURATION_UNSPECIFIED = 0;
2357
2369
  */
2358
- burnedToZero?: string;
2370
+ UNSPECIFIED = 0,
2359
2371
  /**
2360
- * @generated from field: optional string burned_to_dead = 20;
2372
+ * @generated from enum value: HISTORY_DURATION_HOUR = 1;
2361
2373
  */
2362
- burnedToDead?: string;
2374
+ HOUR = 1,
2363
2375
  /**
2364
- * CCA launches only, pre-graduation (same lifecycle as auction_end_block):
2365
- * wall-clock time of the auction's end block in unix seconds, computed
2366
- * server-side (LP-1300) — the exact block timestamp once the end block is
2367
- * mined, otherwise an estimate from a per-chain block-time model. Unset
2368
- * once graduated, when the source data is unavailable, and for
2369
- * hook-attributed launches.
2370
- *
2371
- * @generated from field: optional int64 auction_end_time = 21;
2376
+ * @generated from enum value: HISTORY_DURATION_DAY = 2;
2372
2377
  */
2373
- auctionEndTime?: bigint;
2378
+ DAY = 2,
2374
2379
  /**
2375
- * X profile image URL of the verified launcher account, captured from the
2376
- * launch's signed x-verification claims. Same gate as x_handle: served only
2377
- * when the inline-at-ingest Ed25519 verification passed. Unset for launches
2378
- * that predate claim capture (backfill pending) or carry no avatar.
2379
- *
2380
- * @generated from field: optional string x_profile_image_url = 22;
2380
+ * @generated from enum value: HISTORY_DURATION_WEEK = 3;
2381
2381
  */
2382
- xProfileImageUrl?: string;
2382
+ WEEK = 3,
2383
2383
  /**
2384
- * Whether the launcher's X account was verified (blue check) when captured.
2385
- * Tri-state via presence: unset = unknown (pre-feature launch, not yet
2386
- * backfilled), false = X reported not verified, true = verified. Same
2387
- * x_handle_status gate as x_handle / x_profile_image_url.
2388
- *
2389
- * @generated from field: optional bool x_verified = 23;
2384
+ * @generated from enum value: HISTORY_DURATION_MONTH = 4;
2390
2385
  */
2391
- xVerified?: boolean;
2386
+ MONTH = 4,
2392
2387
  /**
2393
- * Home-card trade tape: the launch token's most recent swaps, newest
2394
- * first, capped at the last 5 within the trailing 24h — same rows (and
2395
- * message) GetTokenTrades serves, aggregated across all the token's pools
2396
- * on its chain. Served from a short-TTL cache refreshed off the request
2397
- * path, so entries can lag live trades by the cache TTL (~30s) and a
2398
- * cold cache serves an empty list — clients treat empty as "no recent
2399
- * activity known", not an error. Pre-graduation CCA launches have no
2400
- * swaps by construction (bids are not trades) — the auction tape is
2401
- * AuctionWithStats.recent_bids on ListTopAuctions.
2402
- *
2403
- * @generated from field: repeated data.v2.TokenTrade recent_trades = 24;
2388
+ * @generated from enum value: HISTORY_DURATION_YEAR = 5;
2404
2389
  */
2405
- recentTrades: TokenTrade[];
2390
+ YEAR = 5,
2406
2391
  /**
2407
- * Badges earned by the launch's token (LP badges), one per badge type,
2408
- * highest tier only, canonical order. Empty until the token has earned
2409
- * any (badges are awarded at ingest and by a slow tier cron, so the
2410
- * common row serves an empty list).
2411
- *
2412
- * @generated from field: repeated data.v2.LaunchBadge badges = 25;
2392
+ * @generated from enum value: HISTORY_DURATION_MAX = 6;
2413
2393
  */
2414
- badges: LaunchBadge[];
2415
- constructor(data?: PartialMessage<Launch>);
2416
- static readonly runtime: typeof proto3;
2417
- static readonly typeName = "data.v2.Launch";
2418
- static readonly fields: FieldList;
2419
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Launch;
2420
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Launch;
2421
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Launch;
2422
- static equals(a: Launch | PlainMessage<Launch> | undefined, b: Launch | PlainMessage<Launch> | undefined): boolean;
2394
+ MAX = 6
2423
2395
  }
2424
2396
  /**
2425
- * One badge earned by a launch's token. type/tier are deliberately plain
2426
- * strings, NOT enums: the client contract pins the lowercase ids on the
2427
- * wire, and proto-JSON would serialize an enum's VALUE NAMES instead.
2428
- *
2429
- * @generated from message data.v2.LaunchBadge
2397
+ * Describes the enum data.v2.HistoryDuration.
2430
2398
  */
2431
- export declare class LaunchBadge extends Message<LaunchBadge> {
2432
- /**
2433
- * "original" | "frontrunner" | "volume" | "holders" | "badger".
2434
- *
2435
- * @generated from field: string type = 1;
2436
- */
2437
- type: string;
2438
- /**
2439
- * Tier id, present only for the tiered types — volume: "5m" | "10m" |
2440
- * "50m"; holders: "100" | "1k" | "10k". Unset for untiered types.
2441
- *
2442
- * @generated from field: optional string tier = 2;
2443
- */
2444
- tier?: string;
2399
+ export declare const HistoryDurationSchema: GenEnum<HistoryDuration>;
2400
+ /**
2401
+ * @generated from enum data.v2.BuySellStatsWindow
2402
+ */
2403
+ export declare enum BuySellStatsWindow {
2445
2404
  /**
2446
- * When the badge was earned (proto-JSON serializes this as an ISO-8601
2447
- * string, which is the client contract). Exact on-chain launch time for
2448
- * frontrunner; observation time for original and for tier crossings,
2449
- * which are only known to have happened by the pass that spots them.
2450
- *
2451
- * @generated from field: google.protobuf.Timestamp earned_at = 3;
2405
+ * @generated from enum value: BUY_SELL_STATS_WINDOW_UNSPECIFIED = 0;
2452
2406
  */
2453
- earnedAt?: Timestamp;
2407
+ UNSPECIFIED = 0,
2454
2408
  /**
2455
- * Rarity: percentage (0-100) of eligible tokens that hold this badge
2456
- * TYPE (any tier), for the client's rarity-tag hover. The denominator is
2457
- * every factory-launched token (the launched_tokens registry). Served
2458
- * from a short-TTL cached aggregate; unset when the aggregate is
2459
- * unavailable — clients hide the rarity detail rather than showing 0.
2460
- *
2461
- * @generated from field: optional double holder_percentage = 4;
2409
+ * @generated from enum value: BUY_SELL_STATS_WINDOW_FIVE_MINUTES = 1;
2462
2410
  */
2463
- holderPercentage?: number;
2464
- constructor(data?: PartialMessage<LaunchBadge>);
2465
- static readonly runtime: typeof proto3;
2466
- static readonly typeName = "data.v2.LaunchBadge";
2467
- static readonly fields: FieldList;
2468
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LaunchBadge;
2469
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LaunchBadge;
2470
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LaunchBadge;
2471
- static equals(a: LaunchBadge | PlainMessage<LaunchBadge> | undefined, b: LaunchBadge | PlainMessage<LaunchBadge> | undefined): boolean;
2472
- }
2473
- /**
2474
- * One row of a launch token's holder list (GetLaunchHolders).
2475
- *
2476
- * @generated from message data.v2.LaunchHolder
2477
- */
2478
- export declare class LaunchHolder extends Message<LaunchHolder> {
2411
+ FIVE_MINUTES = 1,
2479
2412
  /**
2480
- * EIP-55 checksummed, so clients can equality-match against
2481
- * Launch.creator_address and well-known addresses (LP, burn sinks).
2482
- *
2483
- * @generated from field: string address = 1;
2413
+ * @generated from enum value: BUY_SELL_STATS_WINDOW_ONE_HOUR = 2;
2484
2414
  */
2485
- address: string;
2415
+ ONE_HOUR = 2,
2486
2416
  /**
2487
- * Net balance, raw base units as a decimal string. For the synthetic
2488
- * zero-address burn row this is the cumulative amount burned to 0x0.
2489
- *
2490
- * @generated from field: string balance = 2;
2417
+ * @generated from enum value: BUY_SELL_STATS_WINDOW_FOUR_HOURS = 3;
2491
2418
  */
2492
- balance: string;
2419
+ FOUR_HOURS = 3,
2493
2420
  /**
2494
- * balance as a percent of minted_supply, in [0, 100].
2495
- *
2496
- * @generated from field: double supply_pct = 3;
2421
+ * @generated from enum value: BUY_SELL_STATS_WINDOW_ONE_DAY = 4;
2497
2422
  */
2498
- supplyPct: number;
2423
+ ONE_DAY = 4,
2499
2424
  /**
2500
- * True for burn-sink rows (the zero address and 0x…dEaD). Burn rows are
2501
- * served in the list (burned tokens stay visible) but excluded from
2502
- * top10_supply_pct; the synthetic zero-address row is also excluded from
2503
- * holder_count (0x…dEaD counts, matching Launch.holder_count).
2504
- *
2505
- * @generated from field: bool is_burn_address = 4;
2425
+ * @generated from enum value: BUY_SELL_STATS_WINDOW_ONE_WEEK = 5;
2506
2426
  */
2507
- isBurnAddress: boolean;
2427
+ ONE_WEEK = 5,
2508
2428
  /**
2509
- * True for the launch pool's custody row — the chain's v4 PoolManager
2510
- * singleton, which holds the pool's token-side balance (the LP NFT sits
2511
- * in the FeeSplitter, the ERC-20 supply does not). Served in the list so
2512
- * clients can label it, but excluded from top10_supply_pct like burn rows
2513
- * (the pool is the market, not a dumpable holder); it stays inside
2514
- * holder_count.
2515
- *
2516
- * @generated from field: bool is_pool_address = 5;
2429
+ * @generated from enum value: BUY_SELL_STATS_WINDOW_ONE_MONTH = 6;
2517
2430
  */
2518
- isPoolAddress: boolean;
2519
- constructor(data?: PartialMessage<LaunchHolder>);
2520
- static readonly runtime: typeof proto3;
2521
- static readonly typeName = "data.v2.LaunchHolder";
2522
- static readonly fields: FieldList;
2523
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LaunchHolder;
2524
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LaunchHolder;
2525
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LaunchHolder;
2526
- static equals(a: LaunchHolder | PlainMessage<LaunchHolder> | undefined, b: LaunchHolder | PlainMessage<LaunchHolder> | undefined): boolean;
2431
+ ONE_MONTH = 6
2527
2432
  }
2528
2433
  /**
2529
- * Overlay for launches of the Uniswap direct-launch launchpad (launchpad_id
2530
- * "uniswap-bonding-curve", kept for client compatibility). The current
2531
- * launcher generation (DirectLaunchStrategy, LP-1289) is hookless with NO
2532
- * on-chain graduation lifecycle: launch pools are vanilla v4 pools from
2533
- * block one, and "graduation" is a serving/frontend concept (an FDV
2534
- * threshold), not a contract event. Fields 1-5 and 7-9 belong to the
2535
- * never-launched bonding-curve hook generation and are no longer set for
2536
- * new launches; they are kept so the message shape stays wire-compatible.
2537
- *
2538
- * @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
2539
2439
  */
2540
- export declare class BondingCurveInfo extends Message<BondingCurveInfo> {
2440
+ export declare enum PoolsOrderBy {
2541
2441
  /**
2542
- * Legacy bonding-curve-hook fields (1-5, 7-9): never set for direct-launch
2543
- * (hookless) launches — there is no curve and no on-chain graduation.
2544
- *
2545
- * @generated from field: optional string graduation_sqrt_price_x96 = 1;
2442
+ * @generated from enum value: POOLS_ORDER_BY_UNSPECIFIED = 0;
2546
2443
  */
2547
- graduationSqrtPriceX96?: string;
2444
+ UNSPECIFIED = 0,
2548
2445
  /**
2549
- * @generated from field: optional int32 curve_tick_lower = 2;
2446
+ * default
2447
+ *
2448
+ * @generated from enum value: POOLS_ORDER_BY_TVL = 1;
2550
2449
  */
2551
- curveTickLower?: number;
2450
+ TVL = 1,
2552
2451
  /**
2553
- * @generated from field: optional int32 curve_tick_upper = 3;
2452
+ * @generated from enum value: POOLS_ORDER_BY_VOLUME_1D = 2;
2554
2453
  */
2555
- curveTickUpper?: number;
2454
+ VOLUME_1D = 2,
2556
2455
  /**
2557
- * @generated from field: optional string curve_supply = 4;
2456
+ * @generated from enum value: POOLS_ORDER_BY_VOLUME_30D = 3;
2558
2457
  */
2559
- curveSupply?: string;
2458
+ VOLUME_30D = 3,
2560
2459
  /**
2561
- * @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;
2562
2463
  */
2563
- reserveSupply?: string;
2464
+ APR = 4,
2564
2465
  /**
2565
- * @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;
2566
2469
  */
2567
- 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 {
2568
2480
  /**
2569
- * @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;
2570
2484
  */
2571
- curveProgressPct?: number;
2485
+ UNSPECIFIED = 0,
2572
2486
  /**
2573
- * @generated from field: optional int64 graduated_at = 9;
2487
+ * @generated from enum value: POOL_TOKEN_LOGICAL_OPERATOR_OR = 1;
2574
2488
  */
2575
- graduatedAt?: bigint;
2489
+ OR = 1,
2576
2490
  /**
2577
- * The launch's fee beneficiary, EIP-55 checksummed: the CURRENT holder of
2578
- * the launch's BeneficiaryVault NFT, i.e. the address receiving the
2579
- * creator share of the launch pool's trading fees. Freely chosen at
2580
- * launch time by whoever built the launch transaction — a payee, NOT
2581
- * proven authorship (see Launch.creator_address for the launch tx
2582
- * sender) — and it MOVES with later NFT transfers. Unset while ingestion
2583
- * of the vault events lags the launch, or when the position is
2584
- * unregistered.
2491
+ * invalid with more than 2 tokens
2585
2492
  *
2586
- * @generated from field: optional string fee_beneficiary = 10;
2493
+ * @generated from enum value: POOL_TOKEN_LOGICAL_OPERATOR_AND = 2;
2587
2494
  */
2588
- feeBeneficiary?: string;
2589
- constructor(data?: PartialMessage<BondingCurveInfo>);
2590
- static readonly runtime: typeof proto3;
2591
- static readonly typeName = "data.v2.BondingCurveInfo";
2592
- static readonly fields: FieldList;
2593
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BondingCurveInfo;
2594
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BondingCurveInfo;
2595
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BondingCurveInfo;
2596
- static equals(a: BondingCurveInfo | PlainMessage<BondingCurveInfo> | undefined, b: BondingCurveInfo | PlainMessage<BondingCurveInfo> | undefined): boolean;
2495
+ AND = 2
2597
2496
  }
2598
2497
  /**
2599
- * One swap involving the requested token, returned by GetTokenTrades.
2600
- *
2601
- * @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
2602
2503
  */
2603
- export declare class TokenTrade extends Message<TokenTrade> {
2504
+ export declare enum TransactionEventType {
2604
2505
  /**
2605
- * @generated from field: string tx_hash = 1;
2506
+ * @generated from enum value: TRANSACTION_EVENT_TYPE_UNSPECIFIED = 0;
2606
2507
  */
2607
- txHash: string;
2508
+ UNSPECIFIED = 0,
2608
2509
  /**
2609
- * @generated from field: data.v2.TradeSide side = 2;
2510
+ * @generated from enum value: TRANSACTION_EVENT_TYPE_SWAP = 1;
2610
2511
  */
2611
- side: TradeSide;
2512
+ SWAP = 1,
2612
2513
  /**
2613
- * The transaction's from-address (the EOA that signed it), not the router
2614
- * contract that forwarded the swap to the pool.
2514
+ * mint / positive modify_liquidity
2615
2515
  *
2616
- * @generated from field: string wallet = 3;
2516
+ * @generated from enum value: TRANSACTION_EVENT_TYPE_ADD = 2;
2617
2517
  */
2618
- wallet: string;
2518
+ ADD = 2,
2619
2519
  /**
2620
- * Whole-swap USD value at trade time; unset when no USD price is known.
2520
+ * burn / negative modify_liquidity
2621
2521
  *
2622
- * @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;
2623
2541
  */
2624
- amountUsd?: number;
2542
+ UNSPECIFIED = 0,
2625
2543
  /**
2626
- * Absolute amount of the requested token traded, decimal string in token
2627
- * units (decimals applied). Empty when the token's decimals are unknown.
2628
- *
2629
- * @generated from field: string token_amount = 5;
2544
+ * @generated from enum value: LAUNCH_METHOD_CROWD = 1;
2630
2545
  */
2631
- tokenAmount: string;
2546
+ CROWD = 1,
2632
2547
  /**
2633
- * USD price of the requested token at trade time; unset when unknown.
2634
- *
2635
- * @generated from field: optional double price_usd = 6;
2548
+ * @generated from enum value: LAUNCH_METHOD_CUSTOM = 2;
2636
2549
  */
2637
- priceUsd?: number;
2550
+ CUSTOM = 2,
2638
2551
  /**
2639
- * @generated from field: google.protobuf.Timestamp timestamp = 7;
2552
+ * @generated from enum value: LAUNCH_METHOD_INSTANT = 3;
2640
2553
  */
2641
- timestamp?: Timestamp;
2642
- constructor(data?: PartialMessage<TokenTrade>);
2643
- static readonly runtime: typeof proto3;
2644
- static readonly typeName = "data.v2.TokenTrade";
2645
- static readonly fields: FieldList;
2646
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenTrade;
2647
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenTrade;
2648
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenTrade;
2649
- static equals(a: TokenTrade | PlainMessage<TokenTrade> | undefined, b: TokenTrade | PlainMessage<TokenTrade> | undefined): boolean;
2554
+ INSTANT = 3
2650
2555
  }
2651
2556
  /**
2652
- * @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
2653
2564
  */
2654
- export declare class NftImage extends Message<NftImage> {
2565
+ export declare enum LaunchesOrderBy {
2655
2566
  /**
2656
- * @generated from field: string url = 1;
2567
+ * @generated from enum value: LAUNCHES_ORDER_BY_UNSPECIFIED = 0;
2657
2568
  */
2658
- url: string;
2569
+ UNSPECIFIED = 0,
2659
2570
  /**
2660
- * FE reads image.dimensions for grid aspect ratio; may be null from Alchemy
2661
- *
2662
- * @generated from field: optional uint32 width = 2;
2571
+ * @generated from enum value: LAUNCHES_ORDER_BY_LAUNCHED_AT = 1;
2663
2572
  */
2664
- width?: number;
2573
+ LAUNCHED_AT = 1,
2665
2574
  /**
2666
- * @generated from field: optional uint32 height = 3;
2575
+ * @generated from enum value: LAUNCHES_ORDER_BY_VOLUME_1D = 2;
2667
2576
  */
2668
- height?: number;
2669
- constructor(data?: PartialMessage<NftImage>);
2670
- static readonly runtime: typeof proto3;
2671
- static readonly typeName = "data.v2.NftImage";
2672
- static readonly fields: FieldList;
2673
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NftImage;
2674
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NftImage;
2675
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NftImage;
2676
- static equals(a: NftImage | PlainMessage<NftImage> | undefined, b: NftImage | PlainMessage<NftImage> | undefined): boolean;
2677
- }
2678
- /**
2679
- * @generated from message data.v2.Nft
2680
- */
2681
- export declare class Nft extends Message<Nft> {
2577
+ VOLUME_1D = 2,
2682
2578
  /**
2683
- * @generated from field: uint32 chain_id = 1;
2579
+ * @generated from enum value: LAUNCHES_ORDER_BY_TVL = 3;
2684
2580
  */
2685
- chainId: number;
2581
+ TVL = 3,
2686
2582
  /**
2687
- * 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.
2688
2598
  *
2689
- * @generated from field: string contract_address = 2;
2599
+ * @generated from enum value: LAUNCHES_ORDER_BY_TRENDING = 6;
2690
2600
  */
2691
- contractAddress: string;
2601
+ TRENDING = 6,
2692
2602
  /**
2693
- * @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;
2694
2611
  */
2695
- 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 {
2696
2626
  /**
2697
- * @generated from field: string name = 4;
2627
+ * @generated from enum value: LAUNCH_WINDOW_UNSPECIFIED = 0;
2698
2628
  */
2699
- name: string;
2629
+ UNSPECIFIED = 0,
2700
2630
  /**
2701
- * @generated from field: string description = 5;
2631
+ * @generated from enum value: LAUNCH_WINDOW_LAST_24H = 1;
2702
2632
  */
2703
- description: string;
2633
+ LAST_24H = 1,
2704
2634
  /**
2705
- * @generated from field: data.v2.NftImage image = 6;
2635
+ * @generated from enum value: LAUNCH_WINDOW_LAST_1H = 2;
2706
2636
  */
2707
- 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 {
2708
2651
  /**
2709
- * @generated from field: data.v2.NftImage thumbnail = 7;
2652
+ * @generated from enum value: TRADE_SIDE_UNSPECIFIED = 0;
2710
2653
  */
2711
- thumbnail?: NftImage;
2654
+ UNSPECIFIED = 0,
2712
2655
  /**
2713
- * Spam flag: Alchemy spam signals + Blockaid verdict + heuristics. Malicious
2714
- * NFTs are filtered out server-side (not represented here).
2715
- *
2716
- * @generated from field: bool is_spam = 8;
2656
+ * @generated from enum value: TRADE_SIDE_BUY = 1;
2717
2657
  */
2718
- isSpam: boolean;
2658
+ BUY = 1,
2719
2659
  /**
2720
- * @generated from field: string collection_name = 9;
2660
+ * @generated from enum value: TRADE_SIDE_SELL = 2;
2721
2661
  */
2722
- collectionName: string;
2723
- constructor(data?: PartialMessage<Nft>);
2724
- static readonly runtime: typeof proto3;
2725
- static readonly typeName = "data.v2.Nft";
2726
- static readonly fields: FieldList;
2727
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Nft;
2728
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Nft;
2729
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Nft;
2730
- static equals(a: Nft | PlainMessage<Nft> | undefined, b: Nft | PlainMessage<Nft> | undefined): boolean;
2662
+ SELL = 2
2731
2663
  }
2664
+ /**
2665
+ * Describes the enum data.v2.TradeSide.
2666
+ */
2667
+ export declare const TradeSideSchema: GenEnum<TradeSide>;