@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,10 +1,239 @@
1
- // @generated by protoc-gen-es v1.10.1 with parameter "target=ts"
1
+ // @generated by protoc-gen-es v2.16.0 with parameter "target=ts"
2
2
  // @generated from file data/v2/types.proto (package data.v2, syntax proto3)
3
3
  /* eslint-disable */
4
- // @ts-nocheck
5
- import { Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf";
6
- import { TimestampedValue, TokenType } from "../v1/types_pb.js";
7
- import { ProtocolVersion, Token as Token$1 } from "../v1/poolTypes_pb.js";
4
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
5
+ import { file_data_v1_types } from "../v1/types_pb";
6
+ import { file_data_v1_poolTypes } from "../v1/poolTypes_pb";
7
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobu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
+ * Describes the message data.v2.TokenRankStats.
14
+ * Use `create(TokenRankStatsSchema)` to create a new message.
15
+ */
16
+ export const TokenRankStatsSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 0);
17
+ /**
18
+ * Describes the message data.v2.TokensSort.
19
+ * Use `create(TokensSortSchema)` to create a new message.
20
+ */
21
+ export const TokensSortSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 1);
22
+ /**
23
+ * Describes the message data.v2.TokenListFilter.
24
+ * Use `create(TokenListFilterSchema)` to create a new message.
25
+ */
26
+ export const TokenListFilterSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 2);
27
+ /**
28
+ * Describes the message data.v2.FiatAmount.
29
+ * Use `create(FiatAmountSchema)` to create a new message.
30
+ */
31
+ export const FiatAmountSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 3);
32
+ /**
33
+ * Describes the message data.v2.ChainTokenRankStats.
34
+ * Use `create(ChainTokenRankStatsSchema)` to create a new message.
35
+ */
36
+ export const ChainTokenRankStatsSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 4);
37
+ /**
38
+ * Describes the message data.v2.RankedMultichainToken.
39
+ * Use `create(RankedMultichainTokenSchema)` to create a new message.
40
+ */
41
+ export const RankedMultichainTokenSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 5);
42
+ /**
43
+ * Describes the message data.v2.TokenPriceData.
44
+ * Use `create(TokenPriceDataSchema)` to create a new message.
45
+ */
46
+ export const TokenPriceDataSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 6);
47
+ /**
48
+ * Describes the message data.v2.TokenMarketStats.
49
+ * Use `create(TokenMarketStatsSchema)` to create a new message.
50
+ */
51
+ export const TokenMarketStatsSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 7);
52
+ /**
53
+ * Describes the message data.v2.TokenBuySellStats.
54
+ * Use `create(TokenBuySellStatsSchema)` to create a new message.
55
+ */
56
+ export const TokenBuySellStatsSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 8);
57
+ /**
58
+ * Describes the message data.v2.TokenMarket.
59
+ * Use `create(TokenMarketSchema)` to create a new message.
60
+ */
61
+ export const TokenMarketSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 9);
62
+ /**
63
+ * Describes the message data.v2.MultichainTokenMarket.
64
+ * Use `create(MultichainTokenMarketSchema)` to create a new message.
65
+ */
66
+ export const MultichainTokenMarketSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 10);
67
+ /**
68
+ * Describes the message data.v2.TokenSafety.
69
+ * Use `create(TokenSafetySchema)` to create a new message.
70
+ */
71
+ export const TokenSafetySchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 11);
72
+ /**
73
+ * Describes the message data.v2.TokenFees.
74
+ * Use `create(TokenFeesSchema)` to create a new message.
75
+ */
76
+ export const TokenFeesSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 12);
77
+ /**
78
+ * Describes the message data.v2.TokenProject.
79
+ * Use `create(TokenProjectSchema)` to create a new message.
80
+ */
81
+ export const TokenProjectSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 13);
82
+ /**
83
+ * Describes the message data.v2.ThemedColors.
84
+ * Use `create(ThemedColorsSchema)` to create a new message.
85
+ */
86
+ export const ThemedColorsSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 14);
87
+ /**
88
+ * Describes the message data.v2.TokenMultichain.
89
+ * Use `create(TokenMultichainSchema)` to create a new message.
90
+ */
91
+ export const TokenMultichainSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 15);
92
+ /**
93
+ * Describes the message data.v2.ThemedLogoUrls.
94
+ * Use `create(ThemedLogoUrlsSchema)` to create a new message.
95
+ */
96
+ export const ThemedLogoUrlsSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 16);
97
+ /**
98
+ * Describes the message data.v2.TokenIssuerInfo.
99
+ * Use `create(TokenIssuerInfoSchema)` to create a new message.
100
+ */
101
+ export const TokenIssuerInfoSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 17);
102
+ /**
103
+ * Describes the message data.v2.ChainDeployment.
104
+ * Use `create(ChainDeploymentSchema)` to create a new message.
105
+ */
106
+ export const ChainDeploymentSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 18);
107
+ /**
108
+ * Describes the message data.v2.MultichainToken.
109
+ * Use `create(MultichainTokenSchema)` to create a new message.
110
+ */
111
+ export const MultichainTokenSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 19);
112
+ /**
113
+ * Describes the message data.v2.PoolsSort.
114
+ * Use `create(PoolsSortSchema)` to create a new message.
115
+ */
116
+ export const PoolsSortSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 20);
117
+ /**
118
+ * Describes the message data.v2.PoolTokenBoost.
119
+ * Use `create(PoolTokenBoostSchema)` to create a new message.
120
+ */
121
+ export const PoolTokenBoostSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 21);
122
+ /**
123
+ * Describes the message data.v2.PoolRankStats.
124
+ * Use `create(PoolRankStatsSchema)` to create a new message.
125
+ */
126
+ export const PoolRankStatsSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 22);
127
+ /**
128
+ * Describes the message data.v2.Pool.
129
+ * Use `create(PoolSchema)` to create a new message.
130
+ */
131
+ export const PoolSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 23);
132
+ /**
133
+ * Describes the message data.v2.DirectionalLpFee.
134
+ * Use `create(DirectionalLpFeeSchema)` to create a new message.
135
+ */
136
+ export const DirectionalLpFeeSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 24);
137
+ /**
138
+ * Describes the message data.v2.PoolTokenFilter.
139
+ * Use `create(PoolTokenFilterSchema)` to create a new message.
140
+ */
141
+ export const PoolTokenFilterSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 25);
142
+ /**
143
+ * Describes the message data.v2.PoolStatRangeFilter.
144
+ * Use `create(PoolStatRangeFilterSchema)` to create a new message.
145
+ */
146
+ export const PoolStatRangeFilterSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 26);
147
+ /**
148
+ * Describes the message data.v2.PoolStatsFilter.
149
+ * Use `create(PoolStatsFilterSchema)` to create a new message.
150
+ */
151
+ export const PoolStatsFilterSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 27);
152
+ /**
153
+ * Describes the message data.v2.PoolListFilter.
154
+ * Use `create(PoolListFilterSchema)` to create a new message.
155
+ */
156
+ export const PoolListFilterSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 28);
157
+ /**
158
+ * Describes the message data.v2.RankedPool.
159
+ * Use `create(RankedPoolSchema)` to create a new message.
160
+ */
161
+ export const RankedPoolSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 29);
162
+ /**
163
+ * Describes the message data.v2.TransactionTokenSide.
164
+ * Use `create(TransactionTokenSideSchema)` to create a new message.
165
+ */
166
+ export const TransactionTokenSideSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 30);
167
+ /**
168
+ * Describes the message data.v2.UniswapTransaction.
169
+ * Use `create(UniswapTransactionSchema)` to create a new message.
170
+ */
171
+ export const UniswapTransactionSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 31);
172
+ /**
173
+ * Describes the message data.v2.Token.
174
+ * Use `create(TokenSchema)` to create a new message.
175
+ */
176
+ export const TokenSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 32);
177
+ /**
178
+ * Describes the message data.v2.Launchpad.
179
+ * Use `create(LaunchpadSchema)` to create a new message.
180
+ */
181
+ export const LaunchpadSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 33);
182
+ /**
183
+ * Describes the message data.v2.TokenLaunchProvenance.
184
+ * Use `create(TokenLaunchProvenanceSchema)` to create a new message.
185
+ */
186
+ export const TokenLaunchProvenanceSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 34);
187
+ /**
188
+ * Describes the message data.v2.LaunchListFilter.
189
+ * Use `create(LaunchListFilterSchema)` to create a new message.
190
+ */
191
+ export const LaunchListFilterSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 35);
192
+ /**
193
+ * Describes the message data.v2.LaunchToken.
194
+ * Use `create(LaunchTokenSchema)` to create a new message.
195
+ */
196
+ export const LaunchTokenSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 36);
197
+ /**
198
+ * Describes the message data.v2.LaunchStats.
199
+ * Use `create(LaunchStatsSchema)` to create a new message.
200
+ */
201
+ export const LaunchStatsSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 37);
202
+ /**
203
+ * Describes the message data.v2.Launch.
204
+ * Use `create(LaunchSchema)` to create a new message.
205
+ */
206
+ export const LaunchSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 38);
207
+ /**
208
+ * Describes the message data.v2.LaunchBadge.
209
+ * Use `create(LaunchBadgeSchema)` to create a new message.
210
+ */
211
+ export const LaunchBadgeSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 39);
212
+ /**
213
+ * Describes the message data.v2.LaunchHolder.
214
+ * Use `create(LaunchHolderSchema)` to create a new message.
215
+ */
216
+ export const LaunchHolderSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 40);
217
+ /**
218
+ * Describes the message data.v2.BondingCurveInfo.
219
+ * Use `create(BondingCurveInfoSchema)` to create a new message.
220
+ */
221
+ export const BondingCurveInfoSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 41);
222
+ /**
223
+ * Describes the message data.v2.TokenTrade.
224
+ * Use `create(TokenTradeSchema)` to create a new message.
225
+ */
226
+ export const TokenTradeSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 42);
227
+ /**
228
+ * Describes the message data.v2.NftImage.
229
+ * Use `create(NftImageSchema)` to create a new message.
230
+ */
231
+ export const NftImageSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 43);
232
+ /**
233
+ * Describes the message data.v2.Nft.
234
+ * Use `create(NftSchema)` to create a new message.
235
+ */
236
+ export const NftSchema = /*@__PURE__*/ messageDesc(file_data_v2_types, 44);
8
237
  /**
9
238
  * @generated from enum data.v2.TokensOrderBy
10
239
  */
@@ -63,22 +292,10 @@ export var TokensOrderBy;
63
292
  */
64
293
  TokensOrderBy[TokensOrderBy["PRICE"] = 12] = "PRICE";
65
294
  })(TokensOrderBy || (TokensOrderBy = {}));
66
- // Retrieve enum metadata with: proto3.getEnumType(TokensOrderBy)
67
- proto3.util.setEnumType(TokensOrderBy, "data.v2.TokensOrderBy", [
68
- { no: 0, name: "TOKENS_ORDER_BY_UNSPECIFIED" },
69
- { no: 1, name: "TOKENS_ORDER_BY_TVL" },
70
- { no: 2, name: "TOKENS_ORDER_BY_VOLUME_1H" },
71
- { no: 3, name: "TOKENS_ORDER_BY_VOLUME_1D" },
72
- { no: 4, name: "TOKENS_ORDER_BY_VOLUME_7D" },
73
- { no: 5, name: "TOKENS_ORDER_BY_VOLUME_30D" },
74
- { no: 6, name: "TOKENS_ORDER_BY_VOLUME_1Y" },
75
- { no: 7, name: "TOKENS_ORDER_BY_VOLUME_ALL" },
76
- { no: 8, name: "TOKENS_ORDER_BY_FDV" },
77
- { no: 9, name: "TOKENS_ORDER_BY_PRICE_CHANGE_1H" },
78
- { no: 10, name: "TOKENS_ORDER_BY_PRICE_CHANGE_1D" },
79
- { no: 11, name: "TOKENS_ORDER_BY_MARKET_CAP" },
80
- { no: 12, name: "TOKENS_ORDER_BY_PRICE" },
81
- ]);
295
+ /**
296
+ * Describes the enum data.v2.TokensOrderBy.
297
+ */
298
+ export const TokensOrderBySchema = /*@__PURE__*/ enumDesc(file_data_v2_types, 0);
82
299
  /**
83
300
  * The fiat currencies the legacy GraphQL convert resolver accepts
84
301
  * (ETH/MATIC intentionally unrepresentable) plus later additions (SEK).
@@ -193,35 +410,10 @@ export var FiatCurrency;
193
410
  */
194
411
  FiatCurrency[FiatCurrency["SEK"] = 25] = "SEK";
195
412
  })(FiatCurrency || (FiatCurrency = {}));
196
- // Retrieve enum metadata with: proto3.getEnumType(FiatCurrency)
197
- proto3.util.setEnumType(FiatCurrency, "data.v2.FiatCurrency", [
198
- { no: 0, name: "FIAT_CURRENCY_UNSPECIFIED" },
199
- { no: 1, name: "FIAT_CURRENCY_ARS" },
200
- { no: 2, name: "FIAT_CURRENCY_AUD" },
201
- { no: 3, name: "FIAT_CURRENCY_BRL" },
202
- { no: 4, name: "FIAT_CURRENCY_CAD" },
203
- { no: 5, name: "FIAT_CURRENCY_CNY" },
204
- { no: 6, name: "FIAT_CURRENCY_COP" },
205
- { no: 7, name: "FIAT_CURRENCY_EUR" },
206
- { no: 8, name: "FIAT_CURRENCY_GBP" },
207
- { no: 9, name: "FIAT_CURRENCY_HKD" },
208
- { no: 10, name: "FIAT_CURRENCY_IDR" },
209
- { no: 11, name: "FIAT_CURRENCY_INR" },
210
- { no: 12, name: "FIAT_CURRENCY_JPY" },
211
- { no: 13, name: "FIAT_CURRENCY_KRW" },
212
- { no: 14, name: "FIAT_CURRENCY_MXN" },
213
- { no: 15, name: "FIAT_CURRENCY_NGN" },
214
- { no: 16, name: "FIAT_CURRENCY_NZD" },
215
- { no: 17, name: "FIAT_CURRENCY_PKR" },
216
- { no: 18, name: "FIAT_CURRENCY_RUB" },
217
- { no: 19, name: "FIAT_CURRENCY_SGD" },
218
- { no: 20, name: "FIAT_CURRENCY_THB" },
219
- { no: 21, name: "FIAT_CURRENCY_TRY" },
220
- { no: 22, name: "FIAT_CURRENCY_UAH" },
221
- { no: 23, name: "FIAT_CURRENCY_USD" },
222
- { no: 24, name: "FIAT_CURRENCY_VND" },
223
- { no: 25, name: "FIAT_CURRENCY_SEK" },
224
- ]);
413
+ /**
414
+ * Describes the enum data.v2.FiatCurrency.
415
+ */
416
+ export const FiatCurrencySchema = /*@__PURE__*/ enumDesc(file_data_v2_types, 1);
225
417
  /**
226
418
  * Client-chosen candle width for the ranged (TradingView) OHLC mode. Served
227
419
  * from token_price_history via the ClickHouse OHLC path. 1s (trades-derived)
@@ -256,15 +448,10 @@ export var OhlcResolution;
256
448
  */
257
449
  OhlcResolution[OhlcResolution["ONE_DAY"] = 5] = "ONE_DAY";
258
450
  })(OhlcResolution || (OhlcResolution = {}));
259
- // Retrieve enum metadata with: proto3.getEnumType(OhlcResolution)
260
- proto3.util.setEnumType(OhlcResolution, "data.v2.OhlcResolution", [
261
- { no: 0, name: "OHLC_RESOLUTION_UNSPECIFIED" },
262
- { no: 1, name: "OHLC_RESOLUTION_ONE_MINUTE" },
263
- { no: 2, name: "OHLC_RESOLUTION_FIVE_MINUTE" },
264
- { no: 3, name: "OHLC_RESOLUTION_ONE_HOUR" },
265
- { no: 4, name: "OHLC_RESOLUTION_FOUR_HOUR" },
266
- { no: 5, name: "OHLC_RESOLUTION_ONE_DAY" },
267
- ]);
451
+ /**
452
+ * Describes the enum data.v2.OhlcResolution.
453
+ */
454
+ export const OhlcResolutionSchema = /*@__PURE__*/ enumDesc(file_data_v2_types, 2);
268
455
  /**
269
456
  * Time window for windowed token-market stats; FIVE_MINUTE is intentionally omitted.
270
457
  *
@@ -303,16 +490,10 @@ export var HistoryDuration;
303
490
  */
304
491
  HistoryDuration[HistoryDuration["MAX"] = 6] = "MAX";
305
492
  })(HistoryDuration || (HistoryDuration = {}));
306
- // Retrieve enum metadata with: proto3.getEnumType(HistoryDuration)
307
- proto3.util.setEnumType(HistoryDuration, "data.v2.HistoryDuration", [
308
- { no: 0, name: "HISTORY_DURATION_UNSPECIFIED" },
309
- { no: 1, name: "HISTORY_DURATION_HOUR" },
310
- { no: 2, name: "HISTORY_DURATION_DAY" },
311
- { no: 3, name: "HISTORY_DURATION_WEEK" },
312
- { no: 4, name: "HISTORY_DURATION_MONTH" },
313
- { no: 5, name: "HISTORY_DURATION_YEAR" },
314
- { no: 6, name: "HISTORY_DURATION_MAX" },
315
- ]);
493
+ /**
494
+ * Describes the enum data.v2.HistoryDuration.
495
+ */
496
+ export const HistoryDurationSchema = /*@__PURE__*/ enumDesc(file_data_v2_types, 3);
316
497
  /**
317
498
  * @generated from enum data.v2.BuySellStatsWindow
318
499
  */
@@ -347,16 +528,10 @@ export var BuySellStatsWindow;
347
528
  */
348
529
  BuySellStatsWindow[BuySellStatsWindow["ONE_MONTH"] = 6] = "ONE_MONTH";
349
530
  })(BuySellStatsWindow || (BuySellStatsWindow = {}));
350
- // Retrieve enum metadata with: proto3.getEnumType(BuySellStatsWindow)
351
- proto3.util.setEnumType(BuySellStatsWindow, "data.v2.BuySellStatsWindow", [
352
- { no: 0, name: "BUY_SELL_STATS_WINDOW_UNSPECIFIED" },
353
- { no: 1, name: "BUY_SELL_STATS_WINDOW_FIVE_MINUTES" },
354
- { no: 2, name: "BUY_SELL_STATS_WINDOW_ONE_HOUR" },
355
- { no: 3, name: "BUY_SELL_STATS_WINDOW_FOUR_HOURS" },
356
- { no: 4, name: "BUY_SELL_STATS_WINDOW_ONE_DAY" },
357
- { no: 5, name: "BUY_SELL_STATS_WINDOW_ONE_WEEK" },
358
- { no: 6, name: "BUY_SELL_STATS_WINDOW_ONE_MONTH" },
359
- ]);
531
+ /**
532
+ * Describes the enum data.v2.BuySellStatsWindow.
533
+ */
534
+ export const BuySellStatsWindowSchema = /*@__PURE__*/ enumDesc(file_data_v2_types, 4);
360
535
  /**
361
536
  * @generated from enum data.v2.PoolsOrderBy
362
537
  */
@@ -393,15 +568,10 @@ export var PoolsOrderBy;
393
568
  */
394
569
  PoolsOrderBy[PoolsOrderBy["VOLUME_1D_TVL_RATIO"] = 5] = "VOLUME_1D_TVL_RATIO";
395
570
  })(PoolsOrderBy || (PoolsOrderBy = {}));
396
- // Retrieve enum metadata with: proto3.getEnumType(PoolsOrderBy)
397
- proto3.util.setEnumType(PoolsOrderBy, "data.v2.PoolsOrderBy", [
398
- { no: 0, name: "POOLS_ORDER_BY_UNSPECIFIED" },
399
- { no: 1, name: "POOLS_ORDER_BY_TVL" },
400
- { no: 2, name: "POOLS_ORDER_BY_VOLUME_1D" },
401
- { no: 3, name: "POOLS_ORDER_BY_VOLUME_30D" },
402
- { no: 4, name: "POOLS_ORDER_BY_APR" },
403
- { no: 5, name: "POOLS_ORDER_BY_VOLUME_1D_TVL_RATIO" },
404
- ]);
571
+ /**
572
+ * Describes the enum data.v2.PoolsOrderBy.
573
+ */
574
+ export const PoolsOrderBySchema = /*@__PURE__*/ enumDesc(file_data_v2_types, 5);
405
575
  /**
406
576
  * @generated from enum data.v2.PoolTokenLogicalOperator
407
577
  */
@@ -424,12 +594,10 @@ export var PoolTokenLogicalOperator;
424
594
  */
425
595
  PoolTokenLogicalOperator[PoolTokenLogicalOperator["AND"] = 2] = "AND";
426
596
  })(PoolTokenLogicalOperator || (PoolTokenLogicalOperator = {}));
427
- // Retrieve enum metadata with: proto3.getEnumType(PoolTokenLogicalOperator)
428
- proto3.util.setEnumType(PoolTokenLogicalOperator, "data.v2.PoolTokenLogicalOperator", [
429
- { no: 0, name: "POOL_TOKEN_LOGICAL_OPERATOR_UNSPECIFIED" },
430
- { no: 1, name: "POOL_TOKEN_LOGICAL_OPERATOR_OR" },
431
- { no: 2, name: "POOL_TOKEN_LOGICAL_OPERATOR_AND" },
432
- ]);
597
+ /**
598
+ * Describes the enum data.v2.PoolTokenLogicalOperator.
599
+ */
600
+ export const PoolTokenLogicalOperatorSchema = /*@__PURE__*/ enumDesc(file_data_v2_types, 6);
433
601
  /**
434
602
  * @generated from enum data.v2.TransactionEventType
435
603
  */
@@ -456,13 +624,10 @@ export var TransactionEventType;
456
624
  */
457
625
  TransactionEventType[TransactionEventType["REMOVE"] = 3] = "REMOVE";
458
626
  })(TransactionEventType || (TransactionEventType = {}));
459
- // Retrieve enum metadata with: proto3.getEnumType(TransactionEventType)
460
- proto3.util.setEnumType(TransactionEventType, "data.v2.TransactionEventType", [
461
- { no: 0, name: "TRANSACTION_EVENT_TYPE_UNSPECIFIED" },
462
- { no: 1, name: "TRANSACTION_EVENT_TYPE_SWAP" },
463
- { no: 2, name: "TRANSACTION_EVENT_TYPE_ADD" },
464
- { no: 3, name: "TRANSACTION_EVENT_TYPE_REMOVE" },
465
- ]);
627
+ /**
628
+ * Describes the enum data.v2.TransactionEventType.
629
+ */
630
+ export const TransactionEventTypeSchema = /*@__PURE__*/ enumDesc(file_data_v2_types, 7);
466
631
  /**
467
632
  * How the selected launch created the token. CROWD and CUSTOM are the two
468
633
  * Continuous Clearing Auction modes (quick launch vs. creator-configured
@@ -490,13 +655,10 @@ export var LaunchMethod;
490
655
  */
491
656
  LaunchMethod[LaunchMethod["INSTANT"] = 3] = "INSTANT";
492
657
  })(LaunchMethod || (LaunchMethod = {}));
493
- // Retrieve enum metadata with: proto3.getEnumType(LaunchMethod)
494
- proto3.util.setEnumType(LaunchMethod, "data.v2.LaunchMethod", [
495
- { no: 0, name: "LAUNCH_METHOD_UNSPECIFIED" },
496
- { no: 1, name: "LAUNCH_METHOD_CROWD" },
497
- { no: 2, name: "LAUNCH_METHOD_CUSTOM" },
498
- { no: 3, name: "LAUNCH_METHOD_INSTANT" },
499
- ]);
658
+ /**
659
+ * Describes the enum data.v2.LaunchMethod.
660
+ */
661
+ export const LaunchMethodSchema = /*@__PURE__*/ enumDesc(file_data_v2_types, 8);
500
662
  /**
501
663
  * Sort field for ListLaunches; UNSPECIFIED defaults to LAUNCHED_AT (newest first).
502
664
  *
@@ -552,17 +714,10 @@ export var LaunchesOrderBy;
552
714
  */
553
715
  LaunchesOrderBy[LaunchesOrderBy["FDV"] = 7] = "FDV";
554
716
  })(LaunchesOrderBy || (LaunchesOrderBy = {}));
555
- // Retrieve enum metadata with: proto3.getEnumType(LaunchesOrderBy)
556
- proto3.util.setEnumType(LaunchesOrderBy, "data.v2.LaunchesOrderBy", [
557
- { no: 0, name: "LAUNCHES_ORDER_BY_UNSPECIFIED" },
558
- { no: 1, name: "LAUNCHES_ORDER_BY_LAUNCHED_AT" },
559
- { no: 2, name: "LAUNCHES_ORDER_BY_VOLUME_1D" },
560
- { no: 3, name: "LAUNCHES_ORDER_BY_TVL" },
561
- { no: 4, name: "LAUNCHES_ORDER_BY_PRICE_CHANGE_1H" },
562
- { no: 5, name: "LAUNCHES_ORDER_BY_PRICE_CHANGE_1D" },
563
- { no: 6, name: "LAUNCHES_ORDER_BY_TRENDING" },
564
- { no: 7, name: "LAUNCHES_ORDER_BY_FDV" },
565
- ]);
717
+ /**
718
+ * Describes the enum data.v2.LaunchesOrderBy.
719
+ */
720
+ export const LaunchesOrderBySchema = /*@__PURE__*/ enumDesc(file_data_v2_types, 9);
566
721
  /**
567
722
  * Launch-recency window for ListLaunches. UNSPECIFIED applies no window (all
568
723
  * launches); LAST_24H / LAST_1H keep only launches whose launched_at is within
@@ -585,12 +740,10 @@ export var LaunchWindow;
585
740
  */
586
741
  LaunchWindow[LaunchWindow["LAST_1H"] = 2] = "LAST_1H";
587
742
  })(LaunchWindow || (LaunchWindow = {}));
588
- // Retrieve enum metadata with: proto3.getEnumType(LaunchWindow)
589
- proto3.util.setEnumType(LaunchWindow, "data.v2.LaunchWindow", [
590
- { no: 0, name: "LAUNCH_WINDOW_UNSPECIFIED" },
591
- { no: 1, name: "LAUNCH_WINDOW_LAST_24H" },
592
- { no: 2, name: "LAUNCH_WINDOW_LAST_1H" },
593
- ]);
743
+ /**
744
+ * Describes the enum data.v2.LaunchWindow.
745
+ */
746
+ export const LaunchWindowSchema = /*@__PURE__*/ enumDesc(file_data_v2_types, 10);
594
747
  /**
595
748
  * The trade's direction from the trader's perspective: BUY = the trader
596
749
  * received the requested token, SELL = the trader gave it up. UNSPECIFIED
@@ -613,2068 +766,7 @@ export var TradeSide;
613
766
  */
614
767
  TradeSide[TradeSide["SELL"] = 2] = "SELL";
615
768
  })(TradeSide || (TradeSide = {}));
616
- // Retrieve enum metadata with: proto3.getEnumType(TradeSide)
617
- proto3.util.setEnumType(TradeSide, "data.v2.TradeSide", [
618
- { no: 0, name: "TRADE_SIDE_UNSPECIFIED" },
619
- { no: 1, name: "TRADE_SIDE_BUY" },
620
- { no: 2, name: "TRADE_SIDE_SELL" },
621
- ]);
622
- /**
623
- * Volume, TVL, FDV, market-cap, and price-change stats for a ranked token.
624
- * All values are USD-denominated.
625
- * All fields are populated from Clickhouse aggregations.
626
- *
627
- * @generated from message data.v2.TokenRankStats
628
- */
629
- export class TokenRankStats extends Message {
630
- constructor(data) {
631
- super();
632
- proto3.util.initPartial(data, this);
633
- }
634
- static fromBinary(bytes, options) {
635
- return new TokenRankStats().fromBinary(bytes, options);
636
- }
637
- static fromJson(jsonValue, options) {
638
- return new TokenRankStats().fromJson(jsonValue, options);
639
- }
640
- static fromJsonString(jsonString, options) {
641
- return new TokenRankStats().fromJsonString(jsonString, options);
642
- }
643
- static equals(a, b) {
644
- return proto3.util.equals(TokenRankStats, a, b);
645
- }
646
- }
647
- TokenRankStats.runtime = proto3;
648
- TokenRankStats.typeName = "data.v2.TokenRankStats";
649
- TokenRankStats.fields = proto3.util.newFieldList(() => [
650
- { no: 1, name: "volume_1h", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
651
- { no: 2, name: "volume_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
652
- { no: 3, name: "volume_7d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
653
- { no: 4, name: "volume_30d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
654
- { no: 5, name: "volume_1y", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
655
- { no: 6, name: "volume_all", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
656
- { no: 7, name: "tvl", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
657
- { no: 8, name: "fdv", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
658
- { no: 9, name: "price_change_1h", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
659
- { no: 10, name: "price_change_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
660
- { no: 11, name: "price", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
661
- { no: 12, name: "market_cap", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
662
- ]);
663
- /**
664
- * Sort field and direction for ListTokens.
665
- *
666
- * @generated from message data.v2.TokensSort
667
- */
668
- export class TokensSort extends Message {
669
- constructor(data) {
670
- super();
671
- proto3.util.initPartial(data, this);
672
- }
673
- static fromBinary(bytes, options) {
674
- return new TokensSort().fromBinary(bytes, options);
675
- }
676
- static fromJson(jsonValue, options) {
677
- return new TokensSort().fromJson(jsonValue, options);
678
- }
679
- static fromJsonString(jsonString, options) {
680
- return new TokensSort().fromJsonString(jsonString, options);
681
- }
682
- static equals(a, b) {
683
- return proto3.util.equals(TokensSort, a, b);
684
- }
685
- }
686
- TokensSort.runtime = proto3;
687
- TokensSort.typeName = "data.v2.TokensSort";
688
- TokensSort.fields = proto3.util.newFieldList(() => [
689
- { no: 1, name: "order_by", kind: "enum", T: proto3.getEnumType(TokensOrderBy), opt: true },
690
- { no: 2, name: "ascending", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
691
- ]);
692
- /**
693
- * Server-side filters applied before ranking and pagination.
694
- *
695
- * @generated from message data.v2.TokenListFilter
696
- */
697
- export class TokenListFilter extends Message {
698
- constructor(data) {
699
- super();
700
- /**
701
- * Serve only members of these categories: OR within this list, AND with
702
- * the other filter fields.
703
- *
704
- * @generated from field: repeated string category_ids = 6;
705
- */
706
- this.categoryIds = [];
707
- proto3.util.initPartial(data, this);
708
- }
709
- static fromBinary(bytes, options) {
710
- return new TokenListFilter().fromBinary(bytes, options);
711
- }
712
- static fromJson(jsonValue, options) {
713
- return new TokenListFilter().fromJson(jsonValue, options);
714
- }
715
- static fromJsonString(jsonString, options) {
716
- return new TokenListFilter().fromJsonString(jsonString, options);
717
- }
718
- static equals(a, b) {
719
- return proto3.util.equals(TokenListFilter, a, b);
720
- }
721
- }
722
- TokenListFilter.runtime = proto3;
723
- TokenListFilter.typeName = "data.v2.TokenListFilter";
724
- TokenListFilter.fields = proto3.util.newFieldList(() => [
725
- { no: 1, name: "include_spam", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
726
- { no: 2, name: "min_volume_1d_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
727
- { no: 3, name: "min_tvl_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
728
- { no: 4, name: "apply_top_level_filters", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
729
- { no: 5, name: "exclude_rwas", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
730
- { no: 6, name: "category_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
731
- { no: 7, name: "search_query", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
732
- ]);
733
- /**
734
- * @generated from message data.v2.FiatAmount
735
- */
736
- export class FiatAmount extends Message {
737
- constructor(data) {
738
- super();
739
- /**
740
- * @generated from field: data.v2.FiatCurrency currency = 1;
741
- */
742
- this.currency = FiatCurrency.UNSPECIFIED;
743
- /**
744
- * @generated from field: double value = 2;
745
- */
746
- this.value = 0;
747
- proto3.util.initPartial(data, this);
748
- }
749
- static fromBinary(bytes, options) {
750
- return new FiatAmount().fromBinary(bytes, options);
751
- }
752
- static fromJson(jsonValue, options) {
753
- return new FiatAmount().fromJson(jsonValue, options);
754
- }
755
- static fromJsonString(jsonString, options) {
756
- return new FiatAmount().fromJsonString(jsonString, options);
757
- }
758
- static equals(a, b) {
759
- return proto3.util.equals(FiatAmount, a, b);
760
- }
761
- }
762
- FiatAmount.runtime = proto3;
763
- FiatAmount.typeName = "data.v2.FiatAmount";
764
- FiatAmount.fields = proto3.util.newFieldList(() => [
765
- { no: 1, name: "currency", kind: "enum", T: proto3.getEnumType(FiatCurrency) },
766
- { no: 2, name: "value", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
767
- ]);
768
- /**
769
- * Per-chain volume breakdown within a RankedMultichainToken.
770
- *
771
- * @generated from message data.v2.ChainTokenRankStats
772
- */
773
- export class ChainTokenRankStats extends Message {
774
- constructor(data) {
775
- super();
776
- /**
777
- * @generated from field: uint32 chain_id = 1;
778
- */
779
- this.chainId = 0;
780
- proto3.util.initPartial(data, this);
781
- }
782
- static fromBinary(bytes, options) {
783
- return new ChainTokenRankStats().fromBinary(bytes, options);
784
- }
785
- static fromJson(jsonValue, options) {
786
- return new ChainTokenRankStats().fromJson(jsonValue, options);
787
- }
788
- static fromJsonString(jsonString, options) {
789
- return new ChainTokenRankStats().fromJsonString(jsonString, options);
790
- }
791
- static equals(a, b) {
792
- return proto3.util.equals(ChainTokenRankStats, a, b);
793
- }
794
- }
795
- ChainTokenRankStats.runtime = proto3;
796
- ChainTokenRankStats.typeName = "data.v2.ChainTokenRankStats";
797
- ChainTokenRankStats.fields = proto3.util.newFieldList(() => [
798
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
799
- { no: 2, name: "stats", kind: "message", T: TokenRankStats },
800
- ]);
801
- /**
802
- * Returned by ListTokens — wraps a MultichainToken with its ranking stats.
803
- *
804
- * @generated from message data.v2.RankedMultichainToken
805
- */
806
- export class RankedMultichainToken extends Message {
807
- constructor(data) {
808
- super();
809
- /**
810
- * @generated from field: repeated data.v2.ChainTokenRankStats chain_stats = 3;
811
- */
812
- this.chainStats = [];
813
- /**
814
- * USD price sparkline over sparkline_duration, from the same chain member
815
- * as price_change. <=20 points, oldest first; timestamps are synthesized,
816
- * not observed. Empty when no series is available.
817
- *
818
- * @generated from field: repeated data.v1.TimestampedValue sparkline = 4;
819
- */
820
- this.sparkline = [];
821
- proto3.util.initPartial(data, this);
822
- }
823
- static fromBinary(bytes, options) {
824
- return new RankedMultichainToken().fromBinary(bytes, options);
825
- }
826
- static fromJson(jsonValue, options) {
827
- return new RankedMultichainToken().fromJson(jsonValue, options);
828
- }
829
- static fromJsonString(jsonString, options) {
830
- return new RankedMultichainToken().fromJsonString(jsonString, options);
831
- }
832
- static equals(a, b) {
833
- return proto3.util.equals(RankedMultichainToken, a, b);
834
- }
835
- }
836
- RankedMultichainToken.runtime = proto3;
837
- RankedMultichainToken.typeName = "data.v2.RankedMultichainToken";
838
- RankedMultichainToken.fields = proto3.util.newFieldList(() => [
839
- { no: 1, name: "multichain_token", kind: "message", T: MultichainToken },
840
- { no: 2, name: "stats", kind: "message", T: TokenRankStats },
841
- { no: 3, name: "chain_stats", kind: "message", T: ChainTokenRankStats, repeated: true },
842
- { no: 4, name: "sparkline", kind: "message", T: TimestampedValue, repeated: true },
843
- ]);
844
- /**
845
- * @generated from message data.v2.TokenPriceData
846
- */
847
- export class TokenPriceData extends Message {
848
- constructor(data) {
849
- super();
850
- proto3.util.initPartial(data, this);
851
- }
852
- static fromBinary(bytes, options) {
853
- return new TokenPriceData().fromBinary(bytes, options);
854
- }
855
- static fromJson(jsonValue, options) {
856
- return new TokenPriceData().fromJson(jsonValue, options);
857
- }
858
- static fromJsonString(jsonString, options) {
859
- return new TokenPriceData().fromJsonString(jsonString, options);
860
- }
861
- static equals(a, b) {
862
- return proto3.util.equals(TokenPriceData, a, b);
863
- }
864
- }
865
- TokenPriceData.runtime = proto3;
866
- TokenPriceData.typeName = "data.v2.TokenPriceData";
867
- TokenPriceData.fields = proto3.util.newFieldList(() => [
868
- { no: 1, name: "spot_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
869
- { no: 2, name: "percent_change_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
870
- { no: 3, name: "percent_change_1h", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
871
- { no: 4, name: "price_24h_ago_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
872
- { no: 5, name: "confidence_score", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
873
- ]);
874
- /**
875
- * Live on-chain market stats for a single token, USD-denominated.
876
- * Live on-chain market stats, shared by the single-chain (TokenMarket) and
877
- * multichain (MultichainTokenMarket) views. In the multichain case TVL and
878
- * volume are summed across chains and 52-week high/low come from the canonical
879
- * chain; in the single-chain case all values are for that one token.
880
- *
881
- * @generated from message data.v2.TokenMarketStats
882
- */
883
- export class TokenMarketStats extends Message {
884
- constructor(data) {
885
- super();
886
- /**
887
- * echoes the requested duration (UNSPECIFIED → DAY)
888
- *
889
- * @generated from field: data.v2.HistoryDuration volume_duration = 7;
890
- */
891
- this.volumeDuration = HistoryDuration.UNSPECIFIED;
892
- proto3.util.initPartial(data, this);
893
- }
894
- static fromBinary(bytes, options) {
895
- return new TokenMarketStats().fromBinary(bytes, options);
896
- }
897
- static fromJson(jsonValue, options) {
898
- return new TokenMarketStats().fromJson(jsonValue, options);
899
- }
900
- static fromJsonString(jsonString, options) {
901
- return new TokenMarketStats().fromJsonString(jsonString, options);
902
- }
903
- static equals(a, b) {
904
- return proto3.util.equals(TokenMarketStats, a, b);
905
- }
906
- }
907
- TokenMarketStats.runtime = proto3;
908
- TokenMarketStats.typeName = "data.v2.TokenMarketStats";
909
- TokenMarketStats.fields = proto3.util.newFieldList(() => [
910
- { no: 1, name: "total_value_locked_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
911
- { no: 2, name: "market_cap_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
912
- { no: 3, name: "fully_diluted_valuation_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
913
- { no: 4, name: "price_high_52w_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
914
- { no: 5, name: "price_low_52w_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
915
- { no: 6, name: "volume_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
916
- { no: 7, name: "volume_duration", kind: "enum", T: proto3.getEnumType(HistoryDuration) },
917
- { no: 8, name: "pools_total_value_locked_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
918
- { no: 9, name: "price_all_time_high_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
919
- ]);
920
- /**
921
- * Buy/sell activity for one window, summed over the requested chains. Buy and
922
- * sell are from the trader's side.
923
- *
924
- * @generated from message data.v2.TokenBuySellStats
925
- */
926
- export class TokenBuySellStats extends Message {
927
- constructor(data) {
928
- super();
929
- /**
930
- * @generated from field: int32 buy_count = 1;
931
- */
932
- this.buyCount = 0;
933
- /**
934
- * @generated from field: int32 sell_count = 2;
935
- */
936
- this.sellCount = 0;
937
- /**
938
- * Distinct transaction senders, counted once across all requested chains.
939
- *
940
- * @generated from field: int32 unique_buyers = 5;
941
- */
942
- this.uniqueBuyers = 0;
943
- /**
944
- * @generated from field: int32 unique_sellers = 6;
945
- */
946
- this.uniqueSellers = 0;
947
- /**
948
- * Whole tokens (decimals applied) as a decimal string. Always set.
949
- *
950
- * @generated from field: string buy_volume_token_amount = 7;
951
- */
952
- this.buyVolumeTokenAmount = "";
953
- /**
954
- * @generated from field: string sell_volume_token_amount = 8;
955
- */
956
- this.sellVolumeTokenAmount = "";
957
- proto3.util.initPartial(data, this);
958
- }
959
- static fromBinary(bytes, options) {
960
- return new TokenBuySellStats().fromBinary(bytes, options);
961
- }
962
- static fromJson(jsonValue, options) {
963
- return new TokenBuySellStats().fromJson(jsonValue, options);
964
- }
965
- static fromJsonString(jsonString, options) {
966
- return new TokenBuySellStats().fromJsonString(jsonString, options);
967
- }
968
- static equals(a, b) {
969
- return proto3.util.equals(TokenBuySellStats, a, b);
970
- }
971
- }
972
- TokenBuySellStats.runtime = proto3;
973
- TokenBuySellStats.typeName = "data.v2.TokenBuySellStats";
974
- TokenBuySellStats.fields = proto3.util.newFieldList(() => [
975
- { no: 1, name: "buy_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
976
- { no: 2, name: "sell_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
977
- { no: 3, name: "buy_volume_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
978
- { no: 4, name: "sell_volume_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
979
- { no: 5, name: "unique_buyers", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
980
- { no: 6, name: "unique_sellers", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
981
- { no: 7, name: "buy_volume_token_amount", kind: "scalar", T: 9 /* ScalarType.STRING */ },
982
- { no: 8, name: "sell_volume_token_amount", kind: "scalar", T: 9 /* ScalarType.STRING */ },
983
- ]);
984
- /**
985
- * Single-chain market view of one token.
986
- *
987
- * @generated from message data.v2.TokenMarket
988
- */
989
- export class TokenMarket extends Message {
990
- constructor(data) {
991
- super();
992
- /**
993
- * @generated from field: uint32 chain_id = 1;
994
- */
995
- this.chainId = 0;
996
- /**
997
- * @generated from field: string address = 2;
998
- */
999
- this.address = "";
1000
- proto3.util.initPartial(data, this);
1001
- }
1002
- static fromBinary(bytes, options) {
1003
- return new TokenMarket().fromBinary(bytes, options);
1004
- }
1005
- static fromJson(jsonValue, options) {
1006
- return new TokenMarket().fromJson(jsonValue, options);
1007
- }
1008
- static fromJsonString(jsonString, options) {
1009
- return new TokenMarket().fromJsonString(jsonString, options);
1010
- }
1011
- static equals(a, b) {
1012
- return proto3.util.equals(TokenMarket, a, b);
1013
- }
1014
- }
1015
- TokenMarket.runtime = proto3;
1016
- TokenMarket.typeName = "data.v2.TokenMarket";
1017
- TokenMarket.fields = proto3.util.newFieldList(() => [
1018
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1019
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1020
- { no: 3, name: "stats", kind: "message", T: TokenMarketStats },
1021
- ]);
1022
- /**
1023
- * Cross-chain market view of one logical asset (a bridged token aggregated
1024
- * across the chains it lives on), keyed by multichain_id. The per-chain address
1025
- * map is available from GetTokens / GetTokensMultiChain.
1026
- *
1027
- * @generated from message data.v2.MultichainTokenMarket
1028
- */
1029
- export class MultichainTokenMarket extends Message {
1030
- constructor(data) {
1031
- super();
1032
- /**
1033
- * @generated from field: string multichain_id = 1;
1034
- */
1035
- this.multichainId = "";
1036
- proto3.util.initPartial(data, this);
1037
- }
1038
- static fromBinary(bytes, options) {
1039
- return new MultichainTokenMarket().fromBinary(bytes, options);
1040
- }
1041
- static fromJson(jsonValue, options) {
1042
- return new MultichainTokenMarket().fromJson(jsonValue, options);
1043
- }
1044
- static fromJsonString(jsonString, options) {
1045
- return new MultichainTokenMarket().fromJsonString(jsonString, options);
1046
- }
1047
- static equals(a, b) {
1048
- return proto3.util.equals(MultichainTokenMarket, a, b);
1049
- }
1050
- }
1051
- MultichainTokenMarket.runtime = proto3;
1052
- MultichainTokenMarket.typeName = "data.v2.MultichainTokenMarket";
1053
- MultichainTokenMarket.fields = proto3.util.newFieldList(() => [
1054
- { no: 1, name: "multichain_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1055
- { no: 2, name: "stats", kind: "message", T: TokenMarketStats },
1056
- { no: 3, name: "canonical_chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1057
- ]);
1058
- /**
1059
- * @generated from message data.v2.TokenSafety
1060
- */
1061
- export class TokenSafety extends Message {
1062
- constructor(data) {
1063
- super();
1064
- /**
1065
- * @generated from field: bool is_spam = 1;
1066
- */
1067
- this.isSpam = false;
1068
- /**
1069
- * @generated from field: bool is_verified = 2;
1070
- */
1071
- this.isVerified = false;
1072
- /**
1073
- * @generated from field: bool is_blocked = 3;
1074
- */
1075
- this.isBlocked = false;
1076
- /**
1077
- * @generated from field: repeated string features = 5;
1078
- */
1079
- this.features = [];
1080
- proto3.util.initPartial(data, this);
1081
- }
1082
- static fromBinary(bytes, options) {
1083
- return new TokenSafety().fromBinary(bytes, options);
1084
- }
1085
- static fromJson(jsonValue, options) {
1086
- return new TokenSafety().fromJson(jsonValue, options);
1087
- }
1088
- static fromJsonString(jsonString, options) {
1089
- return new TokenSafety().fromJsonString(jsonString, options);
1090
- }
1091
- static equals(a, b) {
1092
- return proto3.util.equals(TokenSafety, a, b);
1093
- }
1094
- }
1095
- TokenSafety.runtime = proto3;
1096
- TokenSafety.typeName = "data.v2.TokenSafety";
1097
- TokenSafety.fields = proto3.util.newFieldList(() => [
1098
- { no: 1, name: "is_spam", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1099
- { no: 2, name: "is_verified", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1100
- { no: 3, name: "is_blocked", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1101
- { no: 4, name: "verdict", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1102
- { no: 5, name: "features", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1103
- ]);
1104
- /**
1105
- * @generated from message data.v2.TokenFees
1106
- */
1107
- export class TokenFees extends Message {
1108
- constructor(data) {
1109
- super();
1110
- proto3.util.initPartial(data, this);
1111
- }
1112
- static fromBinary(bytes, options) {
1113
- return new TokenFees().fromBinary(bytes, options);
1114
- }
1115
- static fromJson(jsonValue, options) {
1116
- return new TokenFees().fromJson(jsonValue, options);
1117
- }
1118
- static fromJsonString(jsonString, options) {
1119
- return new TokenFees().fromJsonString(jsonString, options);
1120
- }
1121
- static equals(a, b) {
1122
- return proto3.util.equals(TokenFees, a, b);
1123
- }
1124
- }
1125
- TokenFees.runtime = proto3;
1126
- TokenFees.typeName = "data.v2.TokenFees";
1127
- TokenFees.fields = proto3.util.newFieldList(() => [
1128
- { no: 1, name: "buy_fee", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1129
- { no: 2, name: "sell_fee", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1130
- { no: 3, name: "transfer_fee", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1131
- ]);
1132
- /**
1133
- * @generated from message data.v2.TokenProject
1134
- */
1135
- export class TokenProject extends Message {
1136
- constructor(data) {
1137
- super();
1138
- /**
1139
- * Translations of `description`, keyed by BCP-47 locale tag. Keys served
1140
- * today: en-US, es-ES, fr-FR, ja-JP, pt-PT, zh-Hans, zh-Hant. A locale is
1141
- * absent (never an empty string) when no translation exists; the map is
1142
- * empty when the token has no description or the request is `external`.
1143
- *
1144
- * @generated from field: map<string, string> description_translations = 5;
1145
- */
1146
- this.descriptionTranslations = {};
1147
- proto3.util.initPartial(data, this);
1148
- }
1149
- static fromBinary(bytes, options) {
1150
- return new TokenProject().fromBinary(bytes, options);
1151
- }
1152
- static fromJson(jsonValue, options) {
1153
- return new TokenProject().fromJson(jsonValue, options);
1154
- }
1155
- static fromJsonString(jsonString, options) {
1156
- return new TokenProject().fromJsonString(jsonString, options);
1157
- }
1158
- static equals(a, b) {
1159
- return proto3.util.equals(TokenProject, a, b);
1160
- }
1161
- }
1162
- TokenProject.runtime = proto3;
1163
- TokenProject.typeName = "data.v2.TokenProject";
1164
- TokenProject.fields = proto3.util.newFieldList(() => [
1165
- { no: 1, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1166
- { no: 5, name: "description_translations", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 9 /* ScalarType.STRING */ } },
1167
- { no: 2, name: "homepage_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1168
- { no: 3, name: "twitter_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1169
- { no: 4, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1170
- { no: 6, name: "colors", kind: "message", T: ThemedColors, opt: true },
1171
- ]);
1172
- /**
1173
- * One color per theme, each an uppercase "#RRGGBB" hex string. The two are
1174
- * equal unless the logo needs a different color on dark backgrounds (e.g. a
1175
- * black logo shown in white).
1176
- *
1177
- * @generated from message data.v2.ThemedColors
1178
- */
1179
- export class ThemedColors extends Message {
1180
- constructor(data) {
1181
- super();
1182
- /**
1183
- * @generated from field: string light = 1;
1184
- */
1185
- this.light = "";
1186
- /**
1187
- * @generated from field: string dark = 2;
1188
- */
1189
- this.dark = "";
1190
- proto3.util.initPartial(data, this);
1191
- }
1192
- static fromBinary(bytes, options) {
1193
- return new ThemedColors().fromBinary(bytes, options);
1194
- }
1195
- static fromJson(jsonValue, options) {
1196
- return new ThemedColors().fromJson(jsonValue, options);
1197
- }
1198
- static fromJsonString(jsonString, options) {
1199
- return new ThemedColors().fromJsonString(jsonString, options);
1200
- }
1201
- static equals(a, b) {
1202
- return proto3.util.equals(ThemedColors, a, b);
1203
- }
1204
- }
1205
- ThemedColors.runtime = proto3;
1206
- ThemedColors.typeName = "data.v2.ThemedColors";
1207
- ThemedColors.fields = proto3.util.newFieldList(() => [
1208
- { no: 1, name: "light", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1209
- { no: 2, name: "dark", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1210
- ]);
1211
- /**
1212
- * @generated from message data.v2.TokenMultichain
1213
- */
1214
- export class TokenMultichain extends Message {
1215
- constructor(data) {
1216
- super();
1217
- /**
1218
- * @generated from field: string id = 1;
1219
- */
1220
- this.id = "";
1221
- /**
1222
- * @generated from field: map<string, string> addresses = 2;
1223
- */
1224
- this.addresses = {};
1225
- proto3.util.initPartial(data, this);
1226
- }
1227
- static fromBinary(bytes, options) {
1228
- return new TokenMultichain().fromBinary(bytes, options);
1229
- }
1230
- static fromJson(jsonValue, options) {
1231
- return new TokenMultichain().fromJson(jsonValue, options);
1232
- }
1233
- static fromJsonString(jsonString, options) {
1234
- return new TokenMultichain().fromJsonString(jsonString, options);
1235
- }
1236
- static equals(a, b) {
1237
- return proto3.util.equals(TokenMultichain, a, b);
1238
- }
1239
- }
1240
- TokenMultichain.runtime = proto3;
1241
- TokenMultichain.typeName = "data.v2.TokenMultichain";
1242
- TokenMultichain.fields = proto3.util.newFieldList(() => [
1243
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1244
- { no: 2, name: "addresses", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 9 /* ScalarType.STRING */ } },
1245
- ]);
1246
- /**
1247
- * One logo as a light-theme and a dark-theme URL; remote art can't be
1248
- * recoloured by the client's theme.
1249
- *
1250
- * @generated from message data.v2.ThemedLogoUrls
1251
- */
1252
- export class ThemedLogoUrls extends Message {
1253
- constructor(data) {
1254
- super();
1255
- /**
1256
- * @generated from field: string light = 1;
1257
- */
1258
- this.light = "";
1259
- /**
1260
- * @generated from field: string dark = 2;
1261
- */
1262
- this.dark = "";
1263
- proto3.util.initPartial(data, this);
1264
- }
1265
- static fromBinary(bytes, options) {
1266
- return new ThemedLogoUrls().fromBinary(bytes, options);
1267
- }
1268
- static fromJson(jsonValue, options) {
1269
- return new ThemedLogoUrls().fromJson(jsonValue, options);
1270
- }
1271
- static fromJsonString(jsonString, options) {
1272
- return new ThemedLogoUrls().fromJsonString(jsonString, options);
1273
- }
1274
- static equals(a, b) {
1275
- return proto3.util.equals(ThemedLogoUrls, a, b);
1276
- }
1277
- }
1278
- ThemedLogoUrls.runtime = proto3;
1279
- ThemedLogoUrls.typeName = "data.v2.ThemedLogoUrls";
1280
- ThemedLogoUrls.fields = proto3.util.newFieldList(() => [
1281
- { no: 1, name: "light", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1282
- { no: 2, name: "dark", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1283
- ]);
1284
- /**
1285
- * Issuer of a tokenized real-world asset; absent = not an RWA or issuer unknown.
1286
- *
1287
- * @generated from message data.v2.TokenIssuerInfo
1288
- */
1289
- export class TokenIssuerInfo extends Message {
1290
- constructor(data) {
1291
- super();
1292
- /**
1293
- * @generated from field: string id = 1;
1294
- */
1295
- this.id = "";
1296
- /**
1297
- * @generated from field: string display_name = 2;
1298
- */
1299
- this.displayName = "";
1300
- /**
1301
- * Full-colour light-theme logo: the curated one when a set exists, else the
1302
- * issuer's CoinGecko image (canvas and background vary).
1303
- *
1304
- * @generated from field: string logo_url = 3;
1305
- */
1306
- this.logoUrl = "";
1307
- proto3.util.initPartial(data, this);
1308
- }
1309
- static fromBinary(bytes, options) {
1310
- return new TokenIssuerInfo().fromBinary(bytes, options);
1311
- }
1312
- static fromJson(jsonValue, options) {
1313
- return new TokenIssuerInfo().fromJson(jsonValue, options);
1314
- }
1315
- static fromJsonString(jsonString, options) {
1316
- return new TokenIssuerInfo().fromJsonString(jsonString, options);
1317
- }
1318
- static equals(a, b) {
1319
- return proto3.util.equals(TokenIssuerInfo, a, b);
1320
- }
1321
- }
1322
- TokenIssuerInfo.runtime = proto3;
1323
- TokenIssuerInfo.typeName = "data.v2.TokenIssuerInfo";
1324
- TokenIssuerInfo.fields = proto3.util.newFieldList(() => [
1325
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1326
- { no: 2, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1327
- { no: 3, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1328
- { no: 4, name: "color_logo_urls", kind: "message", T: ThemedLogoUrls, opt: true },
1329
- { no: 5, name: "grayscale_logo_urls", kind: "message", T: ThemedLogoUrls, opt: true },
1330
- ]);
1331
- /**
1332
- * One chain's deployment of a multichain token. Decimals differ across a
1333
- * group's chains (USDC is 6 on mainnet and 18 on BNB), so amounts on a
1334
- * chain are scaled by this value, never by MultichainToken.decimals.
1335
- *
1336
- * @generated from message data.v2.ChainDeployment
1337
- */
1338
- export class ChainDeployment extends Message {
1339
- constructor(data) {
1340
- super();
1341
- /**
1342
- * @generated from field: string address = 1;
1343
- */
1344
- this.address = "";
1345
- /**
1346
- * @generated from field: uint32 decimals = 2;
1347
- */
1348
- this.decimals = 0;
1349
- proto3.util.initPartial(data, this);
1350
- }
1351
- static fromBinary(bytes, options) {
1352
- return new ChainDeployment().fromBinary(bytes, options);
1353
- }
1354
- static fromJson(jsonValue, options) {
1355
- return new ChainDeployment().fromJson(jsonValue, options);
1356
- }
1357
- static fromJsonString(jsonString, options) {
1358
- return new ChainDeployment().fromJsonString(jsonString, options);
1359
- }
1360
- static equals(a, b) {
1361
- return proto3.util.equals(ChainDeployment, a, b);
1362
- }
1363
- }
1364
- ChainDeployment.runtime = proto3;
1365
- ChainDeployment.typeName = "data.v2.ChainDeployment";
1366
- ChainDeployment.fields = proto3.util.newFieldList(() => [
1367
- { no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1368
- { no: 2, name: "decimals", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1369
- ]);
1370
- /**
1371
- * @generated from message data.v2.MultichainToken
1372
- */
1373
- export class MultichainToken extends Message {
1374
- constructor(data) {
1375
- super();
1376
- /**
1377
- * Canonicalizer group id; empty for a single-chain (ungrouped) token, except
1378
- * in Search results, which carry the token's own id as a row key.
1379
- * GetTokenMultiChain resolves grouped ids only.
1380
- *
1381
- * @generated from field: string multichain_id = 1;
1382
- */
1383
- this.multichainId = "";
1384
- /**
1385
- * chainId -> address. Same keys as `deployments`, which also carries the
1386
- * chain's decimals; read that instead.
1387
- *
1388
- * @generated from field: map<string, string> addresses = 2 [deprecated = true];
1389
- * @deprecated
1390
- */
1391
- this.addresses = {};
1392
- /**
1393
- * @generated from field: string symbol = 3;
1394
- */
1395
- this.symbol = "";
1396
- /**
1397
- * The canonical deployment's decimals (`canonical_chain_id`). Per-chain
1398
- * values are in `deployments`.
1399
- *
1400
- * @generated from field: uint32 decimals = 4;
1401
- */
1402
- this.decimals = 0;
1403
- /**
1404
- * @generated from field: string name = 5;
1405
- */
1406
- this.name = "";
1407
- /**
1408
- * @generated from field: data.v1.TokenType type = 6;
1409
- */
1410
- this.type = TokenType.UNKNOWN;
1411
- /**
1412
- * Ordered by display precedence: the first id is the preferred tag.
1413
- *
1414
- * @generated from field: repeated string category_ids = 12;
1415
- */
1416
- this.categoryIds = [];
1417
- /**
1418
- * chainId -> that chain's deployment: one per chain, the full canonical group.
1419
- *
1420
- * @generated from field: map<string, data.v2.ChainDeployment> deployments = 15;
1421
- */
1422
- this.deployments = {};
1423
- proto3.util.initPartial(data, this);
1424
- }
1425
- static fromBinary(bytes, options) {
1426
- return new MultichainToken().fromBinary(bytes, options);
1427
- }
1428
- static fromJson(jsonValue, options) {
1429
- return new MultichainToken().fromJson(jsonValue, options);
1430
- }
1431
- static fromJsonString(jsonString, options) {
1432
- return new MultichainToken().fromJsonString(jsonString, options);
1433
- }
1434
- static equals(a, b) {
1435
- return proto3.util.equals(MultichainToken, a, b);
1436
- }
1437
- }
1438
- MultichainToken.runtime = proto3;
1439
- MultichainToken.typeName = "data.v2.MultichainToken";
1440
- MultichainToken.fields = proto3.util.newFieldList(() => [
1441
- { no: 1, name: "multichain_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1442
- { no: 2, name: "addresses", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 9 /* ScalarType.STRING */ } },
1443
- { no: 3, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1444
- { no: 4, name: "decimals", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1445
- { no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1446
- { no: 6, name: "type", kind: "enum", T: proto3.getEnumType(TokenType) },
1447
- { no: 7, name: "price", kind: "message", T: TokenPriceData },
1448
- { no: 8, name: "safety", kind: "message", T: TokenSafety },
1449
- { no: 9, name: "fees", kind: "message", T: TokenFees },
1450
- { no: 10, name: "project", kind: "message", T: TokenProject },
1451
- { no: 11, name: "fdv", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1452
- { no: 12, name: "category_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1453
- { no: 13, name: "issuer", kind: "message", T: TokenIssuerInfo, opt: true },
1454
- { no: 14, name: "canonical_chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1455
- { no: 15, name: "deployments", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "message", T: ChainDeployment } },
1456
- ]);
1457
- /**
1458
- * @generated from message data.v2.PoolsSort
1459
- */
1460
- export class PoolsSort extends Message {
1461
- constructor(data) {
1462
- super();
1463
- proto3.util.initPartial(data, this);
1464
- }
1465
- static fromBinary(bytes, options) {
1466
- return new PoolsSort().fromBinary(bytes, options);
1467
- }
1468
- static fromJson(jsonValue, options) {
1469
- return new PoolsSort().fromJson(jsonValue, options);
1470
- }
1471
- static fromJsonString(jsonString, options) {
1472
- return new PoolsSort().fromJsonString(jsonString, options);
1473
- }
1474
- static equals(a, b) {
1475
- return proto3.util.equals(PoolsSort, a, b);
1476
- }
1477
- }
1478
- PoolsSort.runtime = proto3;
1479
- PoolsSort.typeName = "data.v2.PoolsSort";
1480
- PoolsSort.fields = proto3.util.newFieldList(() => [
1481
- { no: 1, name: "order_by", kind: "enum", T: proto3.getEnumType(PoolsOrderBy), opt: true },
1482
- { no: 2, name: "ascending", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1483
- ]);
1484
- /**
1485
- * A pool's boosted APR in one reward token: the sum of that token's live
1486
- * campaign APRs on the pool, in percent, on top of the pool's fee APR. Ended
1487
- * campaigns are excluded — they accrue no yield.
1488
- *
1489
- * Deliberately carries no campaign detail (windows, allocations, distributed
1490
- * amounts): only the pool details page renders that, and it reads
1491
- * GetPoolRewards. Keeping it off this message keeps the per-row payload small
1492
- * enough to repeat across a page of pools.
1493
- *
1494
- * @generated from message data.v2.PoolTokenBoost
1495
- */
1496
- export class PoolTokenBoost extends Message {
1497
- constructor(data) {
1498
- super();
1499
- /**
1500
- * @generated from field: double apr = 2;
1501
- */
1502
- this.apr = 0;
1503
- proto3.util.initPartial(data, this);
1504
- }
1505
- static fromBinary(bytes, options) {
1506
- return new PoolTokenBoost().fromBinary(bytes, options);
1507
- }
1508
- static fromJson(jsonValue, options) {
1509
- return new PoolTokenBoost().fromJson(jsonValue, options);
1510
- }
1511
- static fromJsonString(jsonString, options) {
1512
- return new PoolTokenBoost().fromJsonString(jsonString, options);
1513
- }
1514
- static equals(a, b) {
1515
- return proto3.util.equals(PoolTokenBoost, a, b);
1516
- }
1517
- }
1518
- PoolTokenBoost.runtime = proto3;
1519
- PoolTokenBoost.typeName = "data.v2.PoolTokenBoost";
1520
- PoolTokenBoost.fields = proto3.util.newFieldList(() => [
1521
- { no: 1, name: "token", kind: "message", T: Token$1 },
1522
- { no: 2, name: "apr", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1523
- ]);
1524
- /**
1525
- * Ranking stats for a pool.
1526
- * apr = annualised fee revenue / TVL.
1527
- * reward_apr = Merkl incentive yield (not a valid sort key).
1528
- * total_apr = apr + reward_apr treating null as 0; only null if both are null.
1529
- *
1530
- * @generated from message data.v2.PoolRankStats
1531
- */
1532
- export class PoolRankStats extends Message {
1533
- constructor(data) {
1534
- super();
1535
- /**
1536
- * What reward_apr is paid in, per reward token — so a client can denominate
1537
- * a boost ("+2.1% in UNI") instead of rendering a bare number under a
1538
- * guessed symbol. reward_apr stays the cross-token sum and is derived from
1539
- * these, so reward_apr == sum(token_boosts[].apr) always holds.
1540
- *
1541
- * Empty when the pool runs no live campaign, and empty when the incentive
1542
- * lookup degraded — in which case reward_apr is unset too. Never one
1543
- * without the other: a boost nobody can denominate is worse than no boost.
1544
- *
1545
- * @generated from field: repeated data.v2.PoolTokenBoost token_boosts = 8;
1546
- */
1547
- this.tokenBoosts = [];
1548
- proto3.util.initPartial(data, this);
1549
- }
1550
- static fromBinary(bytes, options) {
1551
- return new PoolRankStats().fromBinary(bytes, options);
1552
- }
1553
- static fromJson(jsonValue, options) {
1554
- return new PoolRankStats().fromJson(jsonValue, options);
1555
- }
1556
- static fromJsonString(jsonString, options) {
1557
- return new PoolRankStats().fromJsonString(jsonString, options);
1558
- }
1559
- static equals(a, b) {
1560
- return proto3.util.equals(PoolRankStats, a, b);
1561
- }
1562
- }
1563
- PoolRankStats.runtime = proto3;
1564
- PoolRankStats.typeName = "data.v2.PoolRankStats";
1565
- PoolRankStats.fields = proto3.util.newFieldList(() => [
1566
- { no: 1, name: "tvl", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1567
- { no: 2, name: "volume_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1568
- { no: 3, name: "volume_30d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1569
- { no: 4, name: "apr", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1570
- { no: 5, name: "reward_apr", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1571
- { no: 6, name: "total_apr", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1572
- { no: 7, name: "volume_1d_tvl_ratio", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1573
- { no: 8, name: "token_boosts", kind: "message", T: PoolTokenBoost, repeated: true },
1574
- { no: 9, name: "apr_7d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1575
- { no: 10, name: "apr_30d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1576
- { no: 11, name: "fees_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1577
- ]);
1578
- /**
1579
- * A pool's protocol identity, token pair, and current on-chain state (state
1580
- * fields are mirrored from the chain verbatim). No derived stats
1581
- * (TVL/volume/APR) — those live on RankedPool.
1582
- *
1583
- * @generated from message data.v2.Pool
1584
- */
1585
- export class Pool extends Message {
1586
- constructor(data) {
1587
- super();
1588
- /**
1589
- * @generated from field: uint32 chain_id = 1;
1590
- */
1591
- this.chainId = 0;
1592
- /**
1593
- * checksummed pool address (V4: pool id hash)
1594
- *
1595
- * @generated from field: string pool_id = 2;
1596
- */
1597
- this.poolId = "";
1598
- /**
1599
- * @generated from field: pools.v1.ProtocolVersion protocol_version = 5;
1600
- */
1601
- this.protocolVersion = ProtocolVersion.UNSPECIFIED;
1602
- /**
1603
- * true for V4 pools with dynamic fees
1604
- *
1605
- * @generated from field: bool is_dynamic_fee = 8;
1606
- */
1607
- this.isDynamicFee = false;
1608
- /**
1609
- * Pool-category ids this pool belongs to, ordered by display precedence:
1610
- * the first id is the preferred tag. Mirrors Token.category_ids.
1611
- *
1612
- * @generated from field: repeated string category_ids = 16;
1613
- */
1614
- this.categoryIds = [];
1615
- proto3.util.initPartial(data, this);
1616
- }
1617
- static fromBinary(bytes, options) {
1618
- return new Pool().fromBinary(bytes, options);
1619
- }
1620
- static fromJson(jsonValue, options) {
1621
- return new Pool().fromJson(jsonValue, options);
1622
- }
1623
- static fromJsonString(jsonString, options) {
1624
- return new Pool().fromJsonString(jsonString, options);
1625
- }
1626
- static equals(a, b) {
1627
- return proto3.util.equals(Pool, a, b);
1628
- }
1629
- }
1630
- Pool.runtime = proto3;
1631
- Pool.typeName = "data.v2.Pool";
1632
- Pool.fields = proto3.util.newFieldList(() => [
1633
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1634
- { no: 2, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1635
- { no: 3, name: "token0", kind: "message", T: Token },
1636
- { no: 4, name: "token1", kind: "message", T: Token },
1637
- { no: 5, name: "protocol_version", kind: "enum", T: proto3.getEnumType(ProtocolVersion) },
1638
- { no: 6, name: "tick_spacing", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
1639
- { no: 7, name: "fee_tier", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1640
- { no: 8, name: "is_dynamic_fee", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1641
- { no: 9, name: "hook_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1642
- { no: 10, name: "current_tick", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
1643
- { no: 11, name: "sqrt_price_x96", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1644
- { no: 12, name: "liquidity", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1645
- { no: 13, name: "protocol_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1646
- { no: 14, name: "effective_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1647
- { no: 15, name: "current_lp_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1648
- { no: 16, name: "category_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1649
- { no: 17, name: "quote_token_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1650
- { no: 18, name: "current_lp_fee_by_direction", kind: "message", T: DirectionalLpFee, opt: true },
1651
- ]);
1652
- /**
1653
- * Current LP fee per swap direction, in pips; same regime as current_lp_fee.
1654
- *
1655
- * @generated from message data.v2.DirectionalLpFee
1656
- */
1657
- export class DirectionalLpFee extends Message {
1658
- constructor(data) {
1659
- super();
1660
- /**
1661
- * currency0 in
1662
- *
1663
- * @generated from field: uint32 zero_for_one = 1;
1664
- */
1665
- this.zeroForOne = 0;
1666
- /**
1667
- * currency1 in
1668
- *
1669
- * @generated from field: uint32 one_for_zero = 2;
1670
- */
1671
- this.oneForZero = 0;
1672
- /**
1673
- * block the fees were read at
1674
- *
1675
- * @generated from field: uint64 block_number = 3;
1676
- */
1677
- this.blockNumber = protoInt64.zero;
1678
- proto3.util.initPartial(data, this);
1679
- }
1680
- static fromBinary(bytes, options) {
1681
- return new DirectionalLpFee().fromBinary(bytes, options);
1682
- }
1683
- static fromJson(jsonValue, options) {
1684
- return new DirectionalLpFee().fromJson(jsonValue, options);
1685
- }
1686
- static fromJsonString(jsonString, options) {
1687
- return new DirectionalLpFee().fromJsonString(jsonString, options);
1688
- }
1689
- static equals(a, b) {
1690
- return proto3.util.equals(DirectionalLpFee, a, b);
1691
- }
1692
- }
1693
- DirectionalLpFee.runtime = proto3;
1694
- DirectionalLpFee.typeName = "data.v2.DirectionalLpFee";
1695
- DirectionalLpFee.fields = proto3.util.newFieldList(() => [
1696
- { no: 1, name: "zero_for_one", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1697
- { no: 2, name: "one_for_zero", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1698
- { no: 3, name: "block_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1699
- ]);
1700
- /**
1701
- * @generated from message data.v2.PoolTokenFilter
1702
- */
1703
- export class PoolTokenFilter extends Message {
1704
- constructor(data) {
1705
- super();
1706
- /**
1707
- * checksummed EVM addresses
1708
- *
1709
- * @generated from field: repeated string tokens = 1;
1710
- */
1711
- this.tokens = [];
1712
- /**
1713
- * @generated from field: data.v2.PoolTokenLogicalOperator logical_operator = 2;
1714
- */
1715
- this.logicalOperator = PoolTokenLogicalOperator.UNSPECIFIED;
1716
- proto3.util.initPartial(data, this);
1717
- }
1718
- static fromBinary(bytes, options) {
1719
- return new PoolTokenFilter().fromBinary(bytes, options);
1720
- }
1721
- static fromJson(jsonValue, options) {
1722
- return new PoolTokenFilter().fromJson(jsonValue, options);
1723
- }
1724
- static fromJsonString(jsonString, options) {
1725
- return new PoolTokenFilter().fromJsonString(jsonString, options);
1726
- }
1727
- static equals(a, b) {
1728
- return proto3.util.equals(PoolTokenFilter, a, b);
1729
- }
1730
- }
1731
- PoolTokenFilter.runtime = proto3;
1732
- PoolTokenFilter.typeName = "data.v2.PoolTokenFilter";
1733
- PoolTokenFilter.fields = proto3.util.newFieldList(() => [
1734
- { no: 1, name: "tokens", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1735
- { no: 2, name: "logical_operator", kind: "enum", T: proto3.getEnumType(PoolTokenLogicalOperator) },
1736
- ]);
1737
- /**
1738
- * @generated from message data.v2.PoolStatRangeFilter
1739
- */
1740
- export class PoolStatRangeFilter extends Message {
1741
- constructor(data) {
1742
- super();
1743
- proto3.util.initPartial(data, this);
1744
- }
1745
- static fromBinary(bytes, options) {
1746
- return new PoolStatRangeFilter().fromBinary(bytes, options);
1747
- }
1748
- static fromJson(jsonValue, options) {
1749
- return new PoolStatRangeFilter().fromJson(jsonValue, options);
1750
- }
1751
- static fromJsonString(jsonString, options) {
1752
- return new PoolStatRangeFilter().fromJsonString(jsonString, options);
1753
- }
1754
- static equals(a, b) {
1755
- return proto3.util.equals(PoolStatRangeFilter, a, b);
1756
- }
1757
- }
1758
- PoolStatRangeFilter.runtime = proto3;
1759
- PoolStatRangeFilter.typeName = "data.v2.PoolStatRangeFilter";
1760
- PoolStatRangeFilter.fields = proto3.util.newFieldList(() => [
1761
- { no: 1, name: "min", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1762
- { no: 2, name: "max", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1763
- ]);
1764
- /**
1765
- * @generated from message data.v2.PoolStatsFilter
1766
- */
1767
- export class PoolStatsFilter extends Message {
1768
- constructor(data) {
1769
- super();
1770
- proto3.util.initPartial(data, this);
1771
- }
1772
- static fromBinary(bytes, options) {
1773
- return new PoolStatsFilter().fromBinary(bytes, options);
1774
- }
1775
- static fromJson(jsonValue, options) {
1776
- return new PoolStatsFilter().fromJson(jsonValue, options);
1777
- }
1778
- static fromJsonString(jsonString, options) {
1779
- return new PoolStatsFilter().fromJsonString(jsonString, options);
1780
- }
1781
- static equals(a, b) {
1782
- return proto3.util.equals(PoolStatsFilter, a, b);
1783
- }
1784
- }
1785
- PoolStatsFilter.runtime = proto3;
1786
- PoolStatsFilter.typeName = "data.v2.PoolStatsFilter";
1787
- PoolStatsFilter.fields = proto3.util.newFieldList(() => [
1788
- { no: 1, name: "tvl", kind: "message", T: PoolStatRangeFilter, opt: true },
1789
- { no: 2, name: "apr", kind: "message", T: PoolStatRangeFilter, opt: true },
1790
- { no: 3, name: "volume_1d", kind: "message", T: PoolStatRangeFilter, opt: true },
1791
- { no: 4, name: "volume_30d", kind: "message", T: PoolStatRangeFilter, opt: true },
1792
- ]);
1793
- /**
1794
- * Server-side filters applied before ranking and pagination.
1795
- *
1796
- * @generated from message data.v2.PoolListFilter
1797
- */
1798
- export class PoolListFilter extends Message {
1799
- constructor(data) {
1800
- super();
1801
- /**
1802
- * if empty, all protocol versions
1803
- *
1804
- * @generated from field: repeated pools.v1.ProtocolVersion protocol_versions = 1;
1805
- */
1806
- this.protocolVersions = [];
1807
- /**
1808
- * e.g. [500, 3000, 10000]; never matches V2 pools
1809
- *
1810
- * @generated from field: repeated uint32 fee_tiers = 5;
1811
- */
1812
- this.feeTiers = [];
1813
- /**
1814
- * Serve only members of these pool categories: OR within this list, AND
1815
- * with the other filter fields. An unknown id, a token-category id
1816
- * included, is rejected.
1817
- *
1818
- * @generated from field: repeated string category_ids = 12;
1819
- */
1820
- this.categoryIds = [];
1821
- /**
1822
- * V4 pools using any of these hook addresses (any casing), such as every
1823
- * deployment of one hook; max 25.
1824
- *
1825
- * @generated from field: repeated string hook_addresses = 13;
1826
- */
1827
- this.hookAddresses = [];
1828
- proto3.util.initPartial(data, this);
1829
- }
1830
- static fromBinary(bytes, options) {
1831
- return new PoolListFilter().fromBinary(bytes, options);
1832
- }
1833
- static fromJson(jsonValue, options) {
1834
- return new PoolListFilter().fromJson(jsonValue, options);
1835
- }
1836
- static fromJsonString(jsonString, options) {
1837
- return new PoolListFilter().fromJsonString(jsonString, options);
1838
- }
1839
- static equals(a, b) {
1840
- return proto3.util.equals(PoolListFilter, a, b);
1841
- }
1842
- }
1843
- PoolListFilter.runtime = proto3;
1844
- PoolListFilter.typeName = "data.v2.PoolListFilter";
1845
- PoolListFilter.fields = proto3.util.newFieldList(() => [
1846
- { no: 1, name: "protocol_versions", kind: "enum", T: proto3.getEnumType(ProtocolVersion), repeated: true },
1847
- { no: 2, name: "include_spam", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1848
- { no: 3, name: "token_filter", kind: "message", T: PoolTokenFilter, opt: true },
1849
- { no: 4, name: "stats_filter", kind: "message", T: PoolStatsFilter, opt: true },
1850
- { no: 5, name: "fee_tiers", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
1851
- { no: 6, name: "tick_spacing", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
1852
- { no: 7, name: "hooks", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1853
- { no: 8, name: "apply_top_level_filters", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1854
- { no: 9, name: "rewards_only", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1855
- { no: 10, name: "search_query", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1856
- { no: 12, name: "category_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1857
- { no: 13, name: "hook_addresses", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1858
- { no: 14, name: "hooked_only", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1859
- ]);
1860
- /**
1861
- * Returned by ListPools — wraps a Pool with its ranking stats.
1862
- *
1863
- * @generated from message data.v2.RankedPool
1864
- */
1865
- export class RankedPool extends Message {
1866
- constructor(data) {
1867
- super();
1868
- proto3.util.initPartial(data, this);
1869
- }
1870
- static fromBinary(bytes, options) {
1871
- return new RankedPool().fromBinary(bytes, options);
1872
- }
1873
- static fromJson(jsonValue, options) {
1874
- return new RankedPool().fromJson(jsonValue, options);
1875
- }
1876
- static fromJsonString(jsonString, options) {
1877
- return new RankedPool().fromJsonString(jsonString, options);
1878
- }
1879
- static equals(a, b) {
1880
- return proto3.util.equals(RankedPool, a, b);
1881
- }
1882
- }
1883
- RankedPool.runtime = proto3;
1884
- RankedPool.typeName = "data.v2.RankedPool";
1885
- RankedPool.fields = proto3.util.newFieldList(() => [
1886
- { no: 1, name: "pool", kind: "message", T: Pool },
1887
- { no: 2, name: "stats", kind: "message", T: PoolRankStats },
1888
- ]);
1889
- /**
1890
- * One token side of a pool event. amount is signed, pool-perspective:
1891
- * positive = the token entered the pool (sold / deposited), negative = it
1892
- * left the pool (bought / withdrawn) — same convention as the GraphQL
1893
- * transactions resolvers. amount_usd = |amount| * price; 0 when price or
1894
- * decimals are unavailable.
1895
- *
1896
- * @generated from message data.v2.TransactionTokenSide
1897
- */
1898
- export class TransactionTokenSide extends Message {
1899
- constructor(data) {
1900
- super();
1901
- /**
1902
- * @generated from field: double amount_usd = 3;
1903
- */
1904
- this.amountUsd = 0;
1905
- proto3.util.initPartial(data, this);
1906
- }
1907
- static fromBinary(bytes, options) {
1908
- return new TransactionTokenSide().fromBinary(bytes, options);
1909
- }
1910
- static fromJson(jsonValue, options) {
1911
- return new TransactionTokenSide().fromJson(jsonValue, options);
1912
- }
1913
- static fromJsonString(jsonString, options) {
1914
- return new TransactionTokenSide().fromJsonString(jsonString, options);
1915
- }
1916
- static equals(a, b) {
1917
- return proto3.util.equals(TransactionTokenSide, a, b);
1918
- }
1919
- }
1920
- TransactionTokenSide.runtime = proto3;
1921
- TransactionTokenSide.typeName = "data.v2.TransactionTokenSide";
1922
- TransactionTokenSide.fields = proto3.util.newFieldList(() => [
1923
- { no: 1, name: "token", kind: "message", T: Token },
1924
- { no: 2, name: "amount", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1925
- { no: 3, name: "amount_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1926
- ]);
1927
- /**
1928
- * A single on-chain event from the global protocol feed.
1929
- *
1930
- * @generated from message data.v2.UniswapTransaction
1931
- */
1932
- export class UniswapTransaction extends Message {
1933
- constructor(data) {
1934
- super();
1935
- /**
1936
- * @generated from field: uint32 chain_id = 1;
1937
- */
1938
- this.chainId = 0;
1939
- /**
1940
- * @generated from field: string tx_hash = 2;
1941
- */
1942
- this.txHash = "";
1943
- /**
1944
- * Unix epoch milliseconds
1945
- *
1946
- * @generated from field: int64 timestamp_ms = 3;
1947
- */
1948
- this.timestampMs = protoInt64.zero;
1949
- /**
1950
- * @generated from field: data.v2.TransactionEventType event_type = 4;
1951
- */
1952
- this.eventType = TransactionEventType.UNSPECIFIED;
1953
- /**
1954
- * @generated from field: pools.v1.ProtocolVersion protocol_version = 5;
1955
- */
1956
- this.protocolVersion = ProtocolVersion.UNSPECIFIED;
1957
- /**
1958
- * pool address (V2/V3) or pool_id (V4)
1959
- *
1960
- * @generated from field: string pool_id = 6;
1961
- */
1962
- this.poolId = "";
1963
- /**
1964
- * swap = avg of both sides; add/remove = sum
1965
- *
1966
- * @generated from field: double amount_usd = 9;
1967
- */
1968
- this.amountUsd = 0;
1969
- /**
1970
- * checksummed EVM address (tx_from)
1971
- *
1972
- * @generated from field: string wallet_address = 10;
1973
- */
1974
- this.walletAddress = "";
1975
- proto3.util.initPartial(data, this);
1976
- }
1977
- static fromBinary(bytes, options) {
1978
- return new UniswapTransaction().fromBinary(bytes, options);
1979
- }
1980
- static fromJson(jsonValue, options) {
1981
- return new UniswapTransaction().fromJson(jsonValue, options);
1982
- }
1983
- static fromJsonString(jsonString, options) {
1984
- return new UniswapTransaction().fromJsonString(jsonString, options);
1985
- }
1986
- static equals(a, b) {
1987
- return proto3.util.equals(UniswapTransaction, a, b);
1988
- }
1989
- }
1990
- UniswapTransaction.runtime = proto3;
1991
- UniswapTransaction.typeName = "data.v2.UniswapTransaction";
1992
- UniswapTransaction.fields = proto3.util.newFieldList(() => [
1993
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1994
- { no: 2, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1995
- { no: 3, name: "timestamp_ms", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1996
- { no: 4, name: "event_type", kind: "enum", T: proto3.getEnumType(TransactionEventType) },
1997
- { no: 5, name: "protocol_version", kind: "enum", T: proto3.getEnumType(ProtocolVersion) },
1998
- { no: 6, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1999
- { no: 7, name: "token0", kind: "message", T: TransactionTokenSide },
2000
- { no: 8, name: "token1", kind: "message", T: TransactionTokenSide },
2001
- { no: 9, name: "amount_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2002
- { no: 10, name: "wallet_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2003
- ]);
2004
- /**
2005
- * @generated from message data.v2.Token
2006
- */
2007
- export class Token extends Message {
2008
- constructor(data) {
2009
- super();
2010
- /**
2011
- * @generated from field: uint32 chain_id = 1;
2012
- */
2013
- this.chainId = 0;
2014
- /**
2015
- * @generated from field: string address = 2;
2016
- */
2017
- this.address = "";
2018
- /**
2019
- * @generated from field: string symbol = 3;
2020
- */
2021
- this.symbol = "";
2022
- /**
2023
- * @generated from field: uint32 decimals = 4;
2024
- */
2025
- this.decimals = 0;
2026
- /**
2027
- * @generated from field: string name = 5;
2028
- */
2029
- this.name = "";
2030
- /**
2031
- * @generated from field: data.v1.TokenType type = 6;
2032
- */
2033
- this.type = TokenType.UNKNOWN;
2034
- /**
2035
- * Ordered by display precedence: the first id is the preferred tag.
2036
- *
2037
- * @generated from field: repeated string category_ids = 13;
2038
- */
2039
- this.categoryIds = [];
2040
- proto3.util.initPartial(data, this);
2041
- }
2042
- static fromBinary(bytes, options) {
2043
- return new Token().fromBinary(bytes, options);
2044
- }
2045
- static fromJson(jsonValue, options) {
2046
- return new Token().fromJson(jsonValue, options);
2047
- }
2048
- static fromJsonString(jsonString, options) {
2049
- return new Token().fromJsonString(jsonString, options);
2050
- }
2051
- static equals(a, b) {
2052
- return proto3.util.equals(Token, a, b);
2053
- }
2054
- }
2055
- Token.runtime = proto3;
2056
- Token.typeName = "data.v2.Token";
2057
- Token.fields = proto3.util.newFieldList(() => [
2058
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
2059
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2060
- { no: 3, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2061
- { no: 4, name: "decimals", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
2062
- { no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2063
- { no: 6, name: "type", kind: "enum", T: proto3.getEnumType(TokenType) },
2064
- { no: 7, name: "price", kind: "message", T: TokenPriceData },
2065
- { no: 8, name: "safety", kind: "message", T: TokenSafety },
2066
- { no: 9, name: "fees", kind: "message", T: TokenFees },
2067
- { no: 10, name: "project", kind: "message", T: TokenProject },
2068
- { no: 11, name: "multichain", kind: "message", T: TokenMultichain, opt: true },
2069
- { no: 12, name: "fdv", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2070
- { no: 13, name: "category_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
2071
- { no: 14, name: "issuer", kind: "message", T: TokenIssuerInfo, opt: true },
2072
- { no: 15, name: "launch_provenance", kind: "message", T: TokenLaunchProvenance, opt: true },
2073
- { no: 16, name: "first_traded_at", kind: "message", T: Timestamp, opt: true },
2074
- ]);
2075
- /**
2076
- * A token launchpad known to the Launches surface (see the data-api
2077
- * launchpad registry). A launchpad is the launching FRONTEND users see; id is
2078
- * the stable slug used in launchpad_id filters.
2079
- *
2080
- * @generated from message data.v2.Launchpad
2081
- */
2082
- export class Launchpad extends Message {
2083
- constructor(data) {
2084
- super();
2085
- /**
2086
- * @generated from field: string id = 1;
2087
- */
2088
- this.id = "";
2089
- /**
2090
- * @generated from field: string name = 2;
2091
- */
2092
- this.name = "";
2093
- proto3.util.initPartial(data, this);
2094
- }
2095
- static fromBinary(bytes, options) {
2096
- return new Launchpad().fromBinary(bytes, options);
2097
- }
2098
- static fromJson(jsonValue, options) {
2099
- return new Launchpad().fromJson(jsonValue, options);
2100
- }
2101
- static fromJsonString(jsonString, options) {
2102
- return new Launchpad().fromJsonString(jsonString, options);
2103
- }
2104
- static equals(a, b) {
2105
- return proto3.util.equals(Launchpad, a, b);
2106
- }
2107
- }
2108
- Launchpad.runtime = proto3;
2109
- Launchpad.typeName = "data.v2.Launchpad";
2110
- Launchpad.fields = proto3.util.newFieldList(() => [
2111
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2112
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2113
- { no: 3, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2114
- { no: 4, name: "protocol", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2115
- ]);
2116
- /**
2117
- * One token's earliest eligible launch, for display rather than complete
2118
- * launch history. The launchpad is a serve-time snapshot of data-api's
2119
- * registry so clients can render its badge without another request. When the
2120
- * registry entry is missing or incomplete, the server omits the whole
2121
- * launch_provenance field instead of returning a partial attribution.
2122
- *
2123
- * @generated from message data.v2.TokenLaunchProvenance
2124
- */
2125
- export class TokenLaunchProvenance extends Message {
2126
- constructor(data) {
2127
- super();
2128
- /**
2129
- * @generated from field: data.v2.LaunchMethod launch_method = 2;
2130
- */
2131
- this.launchMethod = LaunchMethod.UNSPECIFIED;
2132
- proto3.util.initPartial(data, this);
2133
- }
2134
- static fromBinary(bytes, options) {
2135
- return new TokenLaunchProvenance().fromBinary(bytes, options);
2136
- }
2137
- static fromJson(jsonValue, options) {
2138
- return new TokenLaunchProvenance().fromJson(jsonValue, options);
2139
- }
2140
- static fromJsonString(jsonString, options) {
2141
- return new TokenLaunchProvenance().fromJsonString(jsonString, options);
2142
- }
2143
- static equals(a, b) {
2144
- return proto3.util.equals(TokenLaunchProvenance, a, b);
2145
- }
2146
- }
2147
- TokenLaunchProvenance.runtime = proto3;
2148
- TokenLaunchProvenance.typeName = "data.v2.TokenLaunchProvenance";
2149
- TokenLaunchProvenance.fields = proto3.util.newFieldList(() => [
2150
- { no: 1, name: "launchpad", kind: "message", T: Launchpad },
2151
- { no: 2, name: "launch_method", kind: "enum", T: proto3.getEnumType(LaunchMethod) },
2152
- ]);
2153
- /**
2154
- * Optional filters for ListLaunches. When a window is set and sort_by is
2155
- * UNSPECIFIED the server sorts by 24h volume (VOLUME_1D).
2156
- *
2157
- * @generated from message data.v2.LaunchListFilter
2158
- */
2159
- export class LaunchListFilter extends Message {
2160
- constructor(data) {
2161
- super();
2162
- /**
2163
- * @generated from field: data.v2.LaunchWindow window = 1;
2164
- */
2165
- this.window = LaunchWindow.UNSPECIFIED;
2166
- proto3.util.initPartial(data, this);
2167
- }
2168
- static fromBinary(bytes, options) {
2169
- return new LaunchListFilter().fromBinary(bytes, options);
2170
- }
2171
- static fromJson(jsonValue, options) {
2172
- return new LaunchListFilter().fromJson(jsonValue, options);
2173
- }
2174
- static fromJsonString(jsonString, options) {
2175
- return new LaunchListFilter().fromJsonString(jsonString, options);
2176
- }
2177
- static equals(a, b) {
2178
- return proto3.util.equals(LaunchListFilter, a, b);
2179
- }
2180
- }
2181
- LaunchListFilter.runtime = proto3;
2182
- LaunchListFilter.typeName = "data.v2.LaunchListFilter";
2183
- LaunchListFilter.fields = proto3.util.newFieldList(() => [
2184
- { no: 1, name: "window", kind: "enum", T: proto3.getEnumType(LaunchWindow) },
2185
- ]);
2186
- /**
2187
- * The launched token's identity and display metadata.
2188
- *
2189
- * @generated from message data.v2.LaunchToken
2190
- */
2191
- export class LaunchToken extends Message {
2192
- constructor(data) {
2193
- super();
2194
- /**
2195
- * @generated from field: uint32 chain_id = 1;
2196
- */
2197
- this.chainId = 0;
2198
- /**
2199
- * @generated from field: string address = 2;
2200
- */
2201
- this.address = "";
2202
- /**
2203
- * @generated from field: string symbol = 3;
2204
- */
2205
- this.symbol = "";
2206
- /**
2207
- * @generated from field: string name = 4;
2208
- */
2209
- this.name = "";
2210
- proto3.util.initPartial(data, this);
2211
- }
2212
- static fromBinary(bytes, options) {
2213
- return new LaunchToken().fromBinary(bytes, options);
2214
- }
2215
- static fromJson(jsonValue, options) {
2216
- return new LaunchToken().fromJson(jsonValue, options);
2217
- }
2218
- static fromJsonString(jsonString, options) {
2219
- return new LaunchToken().fromJsonString(jsonString, options);
2220
- }
2221
- static equals(a, b) {
2222
- return proto3.util.equals(LaunchToken, a, b);
2223
- }
2224
- }
2225
- LaunchToken.runtime = proto3;
2226
- LaunchToken.typeName = "data.v2.LaunchToken";
2227
- LaunchToken.fields = proto3.util.newFieldList(() => [
2228
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
2229
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2230
- { no: 3, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2231
- { no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2232
- { no: 5, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2233
- { no: 6, name: "safety", kind: "message", T: TokenSafety },
2234
- ]);
2235
- /**
2236
- * Live USD stats for a launch's pool/token. Each field is unset when its
2237
- * source has no data yet (fresh launches lag the stats pipelines).
2238
- *
2239
- * @generated from message data.v2.LaunchStats
2240
- */
2241
- export class LaunchStats extends Message {
2242
- constructor(data) {
2243
- super();
2244
- /**
2245
- * USD price sparkline over the trailing 24h, oldest first. Same shape as
2246
- * RankedMultichainToken.sparkline (Aurora-side timestamps are synthesized;
2247
- * CCA points are observed). Empty when no series is available.
2248
- *
2249
- * @generated from field: repeated data.v1.TimestampedValue sparkline = 7;
2250
- */
2251
- this.sparkline = [];
2252
- proto3.util.initPartial(data, this);
2253
- }
2254
- static fromBinary(bytes, options) {
2255
- return new LaunchStats().fromBinary(bytes, options);
2256
- }
2257
- static fromJson(jsonValue, options) {
2258
- return new LaunchStats().fromJson(jsonValue, options);
2259
- }
2260
- static fromJsonString(jsonString, options) {
2261
- return new LaunchStats().fromJsonString(jsonString, options);
2262
- }
2263
- static equals(a, b) {
2264
- return proto3.util.equals(LaunchStats, a, b);
2265
- }
2266
- }
2267
- LaunchStats.runtime = proto3;
2268
- LaunchStats.typeName = "data.v2.LaunchStats";
2269
- LaunchStats.fields = proto3.util.newFieldList(() => [
2270
- { no: 1, name: "volume_24h_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2271
- { no: 2, name: "tvl_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2272
- { no: 3, name: "price_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2273
- { no: 4, name: "fdv_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2274
- { no: 5, name: "price_change_percent_1h", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2275
- { no: 6, name: "price_change_percent_24h", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2276
- { no: 7, name: "sparkline", kind: "message", T: TimestampedValue, repeated: true },
2277
- { no: 8, name: "price_eth", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2278
- { no: 9, name: "price_24h_ago_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2279
- ]);
2280
- /**
2281
- * One token launch: the earliest pool a (token, launchpad) pair created.
2282
- *
2283
- * @generated from message data.v2.Launch
2284
- */
2285
- export class Launch extends Message {
2286
- constructor(data) {
2287
- super();
2288
- /**
2289
- * @generated from field: string launchpad_id = 1;
2290
- */
2291
- this.launchpadId = "";
2292
- /**
2293
- * v4 pool id for hook-attributed and direct launches; CCA pool key hash
2294
- * once the auction has migrated to a pool, empty before then.
2295
- *
2296
- * @generated from field: string pool_id = 3;
2297
- */
2298
- this.poolId = "";
2299
- /**
2300
- * unix seconds
2301
- *
2302
- * @generated from field: int64 launched_at = 5;
2303
- */
2304
- this.launchedAt = protoInt64.zero;
2305
- /**
2306
- * Home-card trade tape: the launch token's most recent swaps, newest
2307
- * first, capped at the last 5 within the trailing 24h — same rows (and
2308
- * message) GetTokenTrades serves, aggregated across all the token's pools
2309
- * on its chain. Served from a short-TTL cache refreshed off the request
2310
- * path, so entries can lag live trades by the cache TTL (~30s) and a
2311
- * cold cache serves an empty list — clients treat empty as "no recent
2312
- * activity known", not an error. Pre-graduation CCA launches have no
2313
- * swaps by construction (bids are not trades) — the auction tape is
2314
- * AuctionWithStats.recent_bids on ListTopAuctions.
2315
- *
2316
- * @generated from field: repeated data.v2.TokenTrade recent_trades = 24;
2317
- */
2318
- this.recentTrades = [];
2319
- /**
2320
- * Badges earned by the launch's token (LP badges), one per badge type,
2321
- * highest tier only, canonical order. Empty until the token has earned
2322
- * any (badges are awarded at ingest and by a slow tier cron, so the
2323
- * common row serves an empty list).
2324
- *
2325
- * @generated from field: repeated data.v2.LaunchBadge badges = 25;
2326
- */
2327
- this.badges = [];
2328
- proto3.util.initPartial(data, this);
2329
- }
2330
- static fromBinary(bytes, options) {
2331
- return new Launch().fromBinary(bytes, options);
2332
- }
2333
- static fromJson(jsonValue, options) {
2334
- return new Launch().fromJson(jsonValue, options);
2335
- }
2336
- static fromJsonString(jsonString, options) {
2337
- return new Launch().fromJsonString(jsonString, options);
2338
- }
2339
- static equals(a, b) {
2340
- return proto3.util.equals(Launch, a, b);
2341
- }
2342
- }
2343
- Launch.runtime = proto3;
2344
- Launch.typeName = "data.v2.Launch";
2345
- Launch.fields = proto3.util.newFieldList(() => [
2346
- { no: 1, name: "launchpad_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2347
- { no: 2, name: "token", kind: "message", T: LaunchToken },
2348
- { no: 3, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2349
- { no: 4, name: "hooks_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2350
- { no: 5, name: "launched_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
2351
- { no: 6, name: "stats", kind: "message", T: LaunchStats },
2352
- { no: 7, name: "graduated", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
2353
- { no: 8, name: "auction_fill_pct", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2354
- { no: 9, name: "auction_end_block", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2355
- { no: 10, name: "bidder_count", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
2356
- { no: 11, name: "bonding_curve", kind: "message", T: BondingCurveInfo, opt: true },
2357
- { no: 12, name: "token_description", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2358
- { no: 13, name: "creator_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2359
- { no: 14, name: "website_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2360
- { no: 15, name: "x_handle", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2361
- { no: 16, name: "unique_buyer_count", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
2362
- { no: 17, name: "buyers_last_1h", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
2363
- { no: 18, name: "holder_count", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
2364
- { no: 19, name: "burned_to_zero", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2365
- { no: 20, name: "burned_to_dead", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2366
- { no: 21, name: "auction_end_time", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
2367
- { no: 22, name: "x_profile_image_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2368
- { no: 23, name: "x_verified", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
2369
- { no: 24, name: "recent_trades", kind: "message", T: TokenTrade, repeated: true },
2370
- { no: 25, name: "badges", kind: "message", T: LaunchBadge, repeated: true },
2371
- ]);
2372
- /**
2373
- * One badge earned by a launch's token. type/tier are deliberately plain
2374
- * strings, NOT enums: the client contract pins the lowercase ids on the
2375
- * wire, and proto-JSON would serialize an enum's VALUE NAMES instead.
2376
- *
2377
- * @generated from message data.v2.LaunchBadge
2378
- */
2379
- export class LaunchBadge extends Message {
2380
- constructor(data) {
2381
- super();
2382
- /**
2383
- * "original" | "frontrunner" | "volume" | "holders" | "badger".
2384
- *
2385
- * @generated from field: string type = 1;
2386
- */
2387
- this.type = "";
2388
- proto3.util.initPartial(data, this);
2389
- }
2390
- static fromBinary(bytes, options) {
2391
- return new LaunchBadge().fromBinary(bytes, options);
2392
- }
2393
- static fromJson(jsonValue, options) {
2394
- return new LaunchBadge().fromJson(jsonValue, options);
2395
- }
2396
- static fromJsonString(jsonString, options) {
2397
- return new LaunchBadge().fromJsonString(jsonString, options);
2398
- }
2399
- static equals(a, b) {
2400
- return proto3.util.equals(LaunchBadge, a, b);
2401
- }
2402
- }
2403
- LaunchBadge.runtime = proto3;
2404
- LaunchBadge.typeName = "data.v2.LaunchBadge";
2405
- LaunchBadge.fields = proto3.util.newFieldList(() => [
2406
- { no: 1, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2407
- { no: 2, name: "tier", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2408
- { no: 3, name: "earned_at", kind: "message", T: Timestamp },
2409
- { no: 4, name: "holder_percentage", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2410
- ]);
2411
- /**
2412
- * One row of a launch token's holder list (GetLaunchHolders).
2413
- *
2414
- * @generated from message data.v2.LaunchHolder
2415
- */
2416
- export class LaunchHolder extends Message {
2417
- constructor(data) {
2418
- super();
2419
- /**
2420
- * EIP-55 checksummed, so clients can equality-match against
2421
- * Launch.creator_address and well-known addresses (LP, burn sinks).
2422
- *
2423
- * @generated from field: string address = 1;
2424
- */
2425
- this.address = "";
2426
- /**
2427
- * Net balance, raw base units as a decimal string. For the synthetic
2428
- * zero-address burn row this is the cumulative amount burned to 0x0.
2429
- *
2430
- * @generated from field: string balance = 2;
2431
- */
2432
- this.balance = "";
2433
- /**
2434
- * balance as a percent of minted_supply, in [0, 100].
2435
- *
2436
- * @generated from field: double supply_pct = 3;
2437
- */
2438
- this.supplyPct = 0;
2439
- /**
2440
- * True for burn-sink rows (the zero address and 0x…dEaD). Burn rows are
2441
- * served in the list (burned tokens stay visible) but excluded from
2442
- * top10_supply_pct; the synthetic zero-address row is also excluded from
2443
- * holder_count (0x…dEaD counts, matching Launch.holder_count).
2444
- *
2445
- * @generated from field: bool is_burn_address = 4;
2446
- */
2447
- this.isBurnAddress = false;
2448
- /**
2449
- * True for the launch pool's custody row — the chain's v4 PoolManager
2450
- * singleton, which holds the pool's token-side balance (the LP NFT sits
2451
- * in the FeeSplitter, the ERC-20 supply does not). Served in the list so
2452
- * clients can label it, but excluded from top10_supply_pct like burn rows
2453
- * (the pool is the market, not a dumpable holder); it stays inside
2454
- * holder_count.
2455
- *
2456
- * @generated from field: bool is_pool_address = 5;
2457
- */
2458
- this.isPoolAddress = false;
2459
- proto3.util.initPartial(data, this);
2460
- }
2461
- static fromBinary(bytes, options) {
2462
- return new LaunchHolder().fromBinary(bytes, options);
2463
- }
2464
- static fromJson(jsonValue, options) {
2465
- return new LaunchHolder().fromJson(jsonValue, options);
2466
- }
2467
- static fromJsonString(jsonString, options) {
2468
- return new LaunchHolder().fromJsonString(jsonString, options);
2469
- }
2470
- static equals(a, b) {
2471
- return proto3.util.equals(LaunchHolder, a, b);
2472
- }
2473
- }
2474
- LaunchHolder.runtime = proto3;
2475
- LaunchHolder.typeName = "data.v2.LaunchHolder";
2476
- LaunchHolder.fields = proto3.util.newFieldList(() => [
2477
- { no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2478
- { no: 2, name: "balance", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2479
- { no: 3, name: "supply_pct", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2480
- { no: 4, name: "is_burn_address", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2481
- { no: 5, name: "is_pool_address", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2482
- ]);
2483
- /**
2484
- * Overlay for launches of the Uniswap direct-launch launchpad (launchpad_id
2485
- * "uniswap-bonding-curve", kept for client compatibility). The current
2486
- * launcher generation (DirectLaunchStrategy, LP-1289) is hookless with NO
2487
- * on-chain graduation lifecycle: launch pools are vanilla v4 pools from
2488
- * block one, and "graduation" is a serving/frontend concept (an FDV
2489
- * threshold), not a contract event. Fields 1-5 and 7-9 belong to the
2490
- * never-launched bonding-curve hook generation and are no longer set for
2491
- * new launches; they are kept so the message shape stays wire-compatible.
2492
- *
2493
- * @generated from message data.v2.BondingCurveInfo
2494
- */
2495
- export class BondingCurveInfo extends Message {
2496
- constructor(data) {
2497
- super();
2498
- proto3.util.initPartial(data, this);
2499
- }
2500
- static fromBinary(bytes, options) {
2501
- return new BondingCurveInfo().fromBinary(bytes, options);
2502
- }
2503
- static fromJson(jsonValue, options) {
2504
- return new BondingCurveInfo().fromJson(jsonValue, options);
2505
- }
2506
- static fromJsonString(jsonString, options) {
2507
- return new BondingCurveInfo().fromJsonString(jsonString, options);
2508
- }
2509
- static equals(a, b) {
2510
- return proto3.util.equals(BondingCurveInfo, a, b);
2511
- }
2512
- }
2513
- BondingCurveInfo.runtime = proto3;
2514
- BondingCurveInfo.typeName = "data.v2.BondingCurveInfo";
2515
- BondingCurveInfo.fields = proto3.util.newFieldList(() => [
2516
- { no: 1, name: "graduation_sqrt_price_x96", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2517
- { no: 2, name: "curve_tick_lower", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
2518
- { no: 3, name: "curve_tick_upper", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
2519
- { no: 4, name: "curve_supply", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2520
- { no: 5, name: "reserve_supply", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2521
- { no: 7, name: "graduated_tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2522
- { no: 8, name: "curve_progress_pct", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2523
- { no: 9, name: "graduated_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
2524
- { no: 10, name: "fee_beneficiary", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2525
- ]);
2526
- /**
2527
- * One swap involving the requested token, returned by GetTokenTrades.
2528
- *
2529
- * @generated from message data.v2.TokenTrade
2530
- */
2531
- export class TokenTrade extends Message {
2532
- constructor(data) {
2533
- super();
2534
- /**
2535
- * @generated from field: string tx_hash = 1;
2536
- */
2537
- this.txHash = "";
2538
- /**
2539
- * @generated from field: data.v2.TradeSide side = 2;
2540
- */
2541
- this.side = TradeSide.UNSPECIFIED;
2542
- /**
2543
- * The transaction's from-address (the EOA that signed it), not the router
2544
- * contract that forwarded the swap to the pool.
2545
- *
2546
- * @generated from field: string wallet = 3;
2547
- */
2548
- this.wallet = "";
2549
- /**
2550
- * Absolute amount of the requested token traded, decimal string in token
2551
- * units (decimals applied). Empty when the token's decimals are unknown.
2552
- *
2553
- * @generated from field: string token_amount = 5;
2554
- */
2555
- this.tokenAmount = "";
2556
- proto3.util.initPartial(data, this);
2557
- }
2558
- static fromBinary(bytes, options) {
2559
- return new TokenTrade().fromBinary(bytes, options);
2560
- }
2561
- static fromJson(jsonValue, options) {
2562
- return new TokenTrade().fromJson(jsonValue, options);
2563
- }
2564
- static fromJsonString(jsonString, options) {
2565
- return new TokenTrade().fromJsonString(jsonString, options);
2566
- }
2567
- static equals(a, b) {
2568
- return proto3.util.equals(TokenTrade, a, b);
2569
- }
2570
- }
2571
- TokenTrade.runtime = proto3;
2572
- TokenTrade.typeName = "data.v2.TokenTrade";
2573
- TokenTrade.fields = proto3.util.newFieldList(() => [
2574
- { no: 1, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2575
- { no: 2, name: "side", kind: "enum", T: proto3.getEnumType(TradeSide) },
2576
- { no: 3, name: "wallet", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2577
- { no: 4, name: "amount_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2578
- { no: 5, name: "token_amount", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2579
- { no: 6, name: "price_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2580
- { no: 7, name: "timestamp", kind: "message", T: Timestamp },
2581
- ]);
2582
- /**
2583
- * @generated from message data.v2.NftImage
2584
- */
2585
- export class NftImage extends Message {
2586
- constructor(data) {
2587
- super();
2588
- /**
2589
- * @generated from field: string url = 1;
2590
- */
2591
- this.url = "";
2592
- proto3.util.initPartial(data, this);
2593
- }
2594
- static fromBinary(bytes, options) {
2595
- return new NftImage().fromBinary(bytes, options);
2596
- }
2597
- static fromJson(jsonValue, options) {
2598
- return new NftImage().fromJson(jsonValue, options);
2599
- }
2600
- static fromJsonString(jsonString, options) {
2601
- return new NftImage().fromJsonString(jsonString, options);
2602
- }
2603
- static equals(a, b) {
2604
- return proto3.util.equals(NftImage, a, b);
2605
- }
2606
- }
2607
- NftImage.runtime = proto3;
2608
- NftImage.typeName = "data.v2.NftImage";
2609
- NftImage.fields = proto3.util.newFieldList(() => [
2610
- { no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2611
- { no: 2, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
2612
- { no: 3, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
2613
- ]);
2614
- /**
2615
- * @generated from message data.v2.Nft
2616
- */
2617
- export class Nft extends Message {
2618
- constructor(data) {
2619
- super();
2620
- /**
2621
- * @generated from field: uint32 chain_id = 1;
2622
- */
2623
- this.chainId = 0;
2624
- /**
2625
- * checksummed
2626
- *
2627
- * @generated from field: string contract_address = 2;
2628
- */
2629
- this.contractAddress = "";
2630
- /**
2631
- * @generated from field: string token_id = 3;
2632
- */
2633
- this.tokenId = "";
2634
- /**
2635
- * @generated from field: string name = 4;
2636
- */
2637
- this.name = "";
2638
- /**
2639
- * @generated from field: string description = 5;
2640
- */
2641
- this.description = "";
2642
- /**
2643
- * Spam flag: Alchemy spam signals + Blockaid verdict + heuristics. Malicious
2644
- * NFTs are filtered out server-side (not represented here).
2645
- *
2646
- * @generated from field: bool is_spam = 8;
2647
- */
2648
- this.isSpam = false;
2649
- /**
2650
- * @generated from field: string collection_name = 9;
2651
- */
2652
- this.collectionName = "";
2653
- proto3.util.initPartial(data, this);
2654
- }
2655
- static fromBinary(bytes, options) {
2656
- return new Nft().fromBinary(bytes, options);
2657
- }
2658
- static fromJson(jsonValue, options) {
2659
- return new Nft().fromJson(jsonValue, options);
2660
- }
2661
- static fromJsonString(jsonString, options) {
2662
- return new Nft().fromJsonString(jsonString, options);
2663
- }
2664
- static equals(a, b) {
2665
- return proto3.util.equals(Nft, a, b);
2666
- }
2667
- }
2668
- Nft.runtime = proto3;
2669
- Nft.typeName = "data.v2.Nft";
2670
- Nft.fields = proto3.util.newFieldList(() => [
2671
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
2672
- { no: 2, name: "contract_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2673
- { no: 3, name: "token_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2674
- { no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2675
- { no: 5, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2676
- { no: 6, name: "image", kind: "message", T: NftImage },
2677
- { no: 7, name: "thumbnail", kind: "message", T: NftImage },
2678
- { no: 8, name: "is_spam", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2679
- { no: 9, name: "collection_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2680
- ]);
769
+ /**
770
+ * Describes the enum data.v2.TradeSide.
771
+ */
772
+ export const TradeSideSchema = /*@__PURE__*/ enumDesc(file_data_v2_types, 11);