@uniswap/client-data-api 0.0.265 → 0.0.268

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.
@@ -1,1973 +0,0 @@
1
- // @generated by protoc-gen-es v1.10.1 with parameter "target=ts"
2
- // @generated from file data/v1/auction.proto (package data.v1, syntax proto3)
3
- /* eslint-disable */
4
- // @ts-nocheck
5
- import { Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf";
6
- import { ProtectionInfo } from "./types_pb.js";
7
- /**
8
- * How a graduated LP position is locked (which timelock recipient contract holds it,
9
- * or BURN when it was minted directly to the burn address).
10
- *
11
- * @generated from enum data.v1.LockMode
12
- */
13
- export var LockMode;
14
- (function (LockMode) {
15
- /**
16
- * @generated from enum value: LOCK_MODE_UNSPECIFIED = 0;
17
- */
18
- LockMode[LockMode["UNSPECIFIED"] = 0] = "UNSPECIFIED";
19
- /**
20
- * @generated from enum value: LOCK_MODE_TIMELOCK = 1;
21
- */
22
- LockMode[LockMode["TIMELOCK"] = 1] = "TIMELOCK";
23
- /**
24
- * @generated from enum value: LOCK_MODE_FEES_FORWARDER = 2;
25
- */
26
- LockMode[LockMode["FEES_FORWARDER"] = 2] = "FEES_FORWARDER";
27
- /**
28
- * @generated from enum value: LOCK_MODE_BUYBACK_BURN = 3;
29
- */
30
- LockMode[LockMode["BUYBACK_BURN"] = 3] = "BUYBACK_BURN";
31
- /**
32
- * The LP position was minted directly to the burn address
33
- * (0x000000000000000000000000000000000000dEaD): no recipient contract exists
34
- * and the position can never be withdrawn. locked_forever is always true.
35
- *
36
- * @generated from enum value: LOCK_MODE_BURN = 4;
37
- */
38
- LockMode[LockMode["BURN"] = 4] = "BURN";
39
- /**
40
- * The LP position was minted to an Instant Launch FeeSplitter (the CCA
41
- * creator-fees custody, recognized against the SDK deployment registry).
42
- * The splitter permanently custodies the position and autonomously
43
- * distributes its fees; nothing ever unlocks (unlock_block is 0) and no
44
- * operator can withdraw (lp_operator is empty). locked_forever is always
45
- * true.
46
- *
47
- * @generated from enum value: LOCK_MODE_FEE_SPLITTER = 5;
48
- */
49
- LockMode[LockMode["FEE_SPLITTER"] = 5] = "FEE_SPLITTER";
50
- })(LockMode || (LockMode = {}));
51
- // Retrieve enum metadata with: proto3.getEnumType(LockMode)
52
- proto3.util.setEnumType(LockMode, "data.v1.LockMode", [
53
- { no: 0, name: "LOCK_MODE_UNSPECIFIED" },
54
- { no: 1, name: "LOCK_MODE_TIMELOCK" },
55
- { no: 2, name: "LOCK_MODE_FEES_FORWARDER" },
56
- { no: 3, name: "LOCK_MODE_BUYBACK_BURN" },
57
- { no: 4, name: "LOCK_MODE_BURN" },
58
- { no: 5, name: "LOCK_MODE_FEE_SPLITTER" },
59
- ]);
60
- /**
61
- * How the auction was launched. is_quick_launch is a plain bool, so an
62
- * auction that has not been classified yet reads as false there. Read this
63
- * field when an unclassified auction must not be labeled.
64
- *
65
- * @generated from enum data.v1.AuctionType
66
- */
67
- export var AuctionType;
68
- (function (AuctionType) {
69
- /**
70
- * @generated from enum value: AUCTION_TYPE_UNSPECIFIED = 0;
71
- */
72
- AuctionType[AuctionType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
73
- /**
74
- * @generated from enum value: AUCTION_TYPE_CROWD = 1;
75
- */
76
- AuctionType[AuctionType["CROWD"] = 1] = "CROWD";
77
- /**
78
- * @generated from enum value: AUCTION_TYPE_CUSTOM = 2;
79
- */
80
- AuctionType[AuctionType["CUSTOM"] = 2] = "CUSTOM";
81
- })(AuctionType || (AuctionType = {}));
82
- // Retrieve enum metadata with: proto3.getEnumType(AuctionType)
83
- proto3.util.setEnumType(AuctionType, "data.v1.AuctionType", [
84
- { no: 0, name: "AUCTION_TYPE_UNSPECIFIED" },
85
- { no: 1, name: "AUCTION_TYPE_CROWD" },
86
- { no: 2, name: "AUCTION_TYPE_CUSTOM" },
87
- ]);
88
- /**
89
- * Status filter for top auctions, matching the explore-page filters.
90
- * Status is derived from the chain's latest block vs the auction's end_block.
91
- *
92
- * @generated from enum data.v1.AuctionStatusFilter
93
- */
94
- export var AuctionStatusFilter;
95
- (function (AuctionStatusFilter) {
96
- /**
97
- * No status filtering.
98
- *
99
- * @generated from enum value: AUCTION_STATUS_FILTER_UNSPECIFIED = 0;
100
- */
101
- AuctionStatusFilter[AuctionStatusFilter["UNSPECIFIED"] = 0] = "UNSPECIFIED";
102
- /**
103
- * end_block not yet reached (includes upcoming).
104
- *
105
- * @generated from enum value: AUCTION_STATUS_FILTER_ACTIVE = 1;
106
- */
107
- AuctionStatusFilter[AuctionStatusFilter["ACTIVE"] = 1] = "ACTIVE";
108
- /**
109
- * end_block reached.
110
- *
111
- * @generated from enum value: AUCTION_STATUS_FILTER_COMPLETED = 2;
112
- */
113
- AuctionStatusFilter[AuctionStatusFilter["COMPLETED"] = 2] = "COMPLETED";
114
- })(AuctionStatusFilter || (AuctionStatusFilter = {}));
115
- // Retrieve enum metadata with: proto3.getEnumType(AuctionStatusFilter)
116
- proto3.util.setEnumType(AuctionStatusFilter, "data.v1.AuctionStatusFilter", [
117
- { no: 0, name: "AUCTION_STATUS_FILTER_UNSPECIFIED" },
118
- { no: 1, name: "AUCTION_STATUS_FILTER_ACTIVE" },
119
- { no: 2, name: "AUCTION_STATUS_FILTER_COMPLETED" },
120
- ]);
121
- /**
122
- * Request to fetch all bids by a wallet.
123
- *
124
- * @generated from message data.v1.GetBidsByWalletRequest
125
- */
126
- export class GetBidsByWalletRequest extends Message {
127
- constructor(data) {
128
- super();
129
- /**
130
- * Wallet address (lowercased, hex with 0x prefix).
131
- *
132
- * @generated from field: string wallet_id = 1;
133
- */
134
- this.walletId = "";
135
- /**
136
- * Optional: filter by auction id if desired.
137
- *
138
- * @generated from field: string auction_address = 2;
139
- */
140
- this.auctionAddress = "";
141
- /**
142
- * @generated from field: int32 chain_id = 3;
143
- */
144
- this.chainId = 0;
145
- /**
146
- * Optional pagination. page_size is clamped to 100. When unset it
147
- * defaults to 25 for wallet-only / wallet+chain (cross-auction) requests
148
- * and to 100 for auction-scoped (wallet + auction_address + chain_id)
149
- * requests, matching that path's legacy return-everything behavior.
150
- * page_token is the next_page_token from a previous response (opaque
151
- * cursor).
152
- *
153
- * @generated from field: int32 page_size = 4;
154
- */
155
- this.pageSize = 0;
156
- /**
157
- * @generated from field: string page_token = 5;
158
- */
159
- this.pageToken = "";
160
- proto3.util.initPartial(data, this);
161
- }
162
- static fromBinary(bytes, options) {
163
- return new GetBidsByWalletRequest().fromBinary(bytes, options);
164
- }
165
- static fromJson(jsonValue, options) {
166
- return new GetBidsByWalletRequest().fromJson(jsonValue, options);
167
- }
168
- static fromJsonString(jsonString, options) {
169
- return new GetBidsByWalletRequest().fromJsonString(jsonString, options);
170
- }
171
- static equals(a, b) {
172
- return proto3.util.equals(GetBidsByWalletRequest, a, b);
173
- }
174
- }
175
- GetBidsByWalletRequest.runtime = proto3;
176
- GetBidsByWalletRequest.typeName = "data.v1.GetBidsByWalletRequest";
177
- GetBidsByWalletRequest.fields = proto3.util.newFieldList(() => [
178
- { no: 1, name: "wallet_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
179
- { no: 2, name: "auction_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
180
- { no: 3, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
181
- { no: 4, name: "page_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
182
- { no: 5, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
183
- ]);
184
- /**
185
- * A single bid resource.
186
- *
187
- * @generated from message data.v1.Bid
188
- */
189
- export class Bid extends Message {
190
- constructor(data) {
191
- super();
192
- /**
193
- * @generated from field: string bid_id = 1;
194
- */
195
- this.bidId = "";
196
- /**
197
- * @generated from field: string auction_id = 2;
198
- */
199
- this.auctionId = "";
200
- /**
201
- * @generated from field: string wallet_id = 3;
202
- */
203
- this.walletId = "";
204
- /**
205
- * @generated from field: string tx_hash = 4;
206
- */
207
- this.txHash = "";
208
- /**
209
- * raw integer (string to avoid uint256 overflow)
210
- *
211
- * @generated from field: string amount = 5;
212
- */
213
- this.amount = "";
214
- /**
215
- * raw integer (X96 or other format)
216
- *
217
- * @generated from field: string max_price = 6;
218
- */
219
- this.maxPrice = "";
220
- /**
221
- * ISO 8601 / RFC 3339
222
- *
223
- * @generated from field: string created_at = 7;
224
- */
225
- this.createdAt = "";
226
- /**
227
- * e.g. "active", "withdrawn", "claimed"
228
- *
229
- * @generated from field: string status = 8;
230
- */
231
- this.status = "";
232
- /**
233
- * @generated from field: string base_token_initial = 9;
234
- */
235
- this.baseTokenInitial = "";
236
- /**
237
- * @generated from field: string currency_spent = 10;
238
- */
239
- this.currencySpent = "";
240
- proto3.util.initPartial(data, this);
241
- }
242
- static fromBinary(bytes, options) {
243
- return new Bid().fromBinary(bytes, options);
244
- }
245
- static fromJson(jsonValue, options) {
246
- return new Bid().fromJson(jsonValue, options);
247
- }
248
- static fromJsonString(jsonString, options) {
249
- return new Bid().fromJsonString(jsonString, options);
250
- }
251
- static equals(a, b) {
252
- return proto3.util.equals(Bid, a, b);
253
- }
254
- }
255
- Bid.runtime = proto3;
256
- Bid.typeName = "data.v1.Bid";
257
- Bid.fields = proto3.util.newFieldList(() => [
258
- { no: 1, name: "bid_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
259
- { no: 2, name: "auction_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
260
- { no: 3, name: "wallet_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
261
- { no: 4, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
262
- { no: 5, name: "amount", kind: "scalar", T: 9 /* ScalarType.STRING */ },
263
- { no: 6, name: "max_price", kind: "scalar", T: 9 /* ScalarType.STRING */ },
264
- { no: 7, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
265
- { no: 8, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
266
- { no: 9, name: "base_token_initial", kind: "scalar", T: 9 /* ScalarType.STRING */ },
267
- { no: 10, name: "currency_spent", kind: "scalar", T: 9 /* ScalarType.STRING */ },
268
- ]);
269
- /**
270
- * Response containing all bids for a wallet.
271
- *
272
- * @generated from message data.v1.GetBidsByWalletResponse
273
- */
274
- export class GetBidsByWalletResponse extends Message {
275
- constructor(data) {
276
- super();
277
- /**
278
- * @generated from field: repeated data.v1.Bid bids = 1;
279
- */
280
- this.bids = [];
281
- /**
282
- * Pagination token for next page.
283
- *
284
- * @generated from field: string next_page_token = 2;
285
- */
286
- this.nextPageToken = "";
287
- proto3.util.initPartial(data, this);
288
- }
289
- static fromBinary(bytes, options) {
290
- return new GetBidsByWalletResponse().fromBinary(bytes, options);
291
- }
292
- static fromJson(jsonValue, options) {
293
- return new GetBidsByWalletResponse().fromJson(jsonValue, options);
294
- }
295
- static fromJsonString(jsonString, options) {
296
- return new GetBidsByWalletResponse().fromJsonString(jsonString, options);
297
- }
298
- static equals(a, b) {
299
- return proto3.util.equals(GetBidsByWalletResponse, a, b);
300
- }
301
- }
302
- GetBidsByWalletResponse.runtime = proto3;
303
- GetBidsByWalletResponse.typeName = "data.v1.GetBidsByWalletResponse";
304
- GetBidsByWalletResponse.fields = proto3.util.newFieldList(() => [
305
- { no: 1, name: "bids", kind: "message", T: Bid, repeated: true },
306
- { no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
307
- ]);
308
- /**
309
- * Request to fetch bids by auction ID.
310
- *
311
- * @generated from message data.v1.GetBidsRequest
312
- */
313
- export class GetBidsRequest extends Message {
314
- constructor(data) {
315
- super();
316
- /**
317
- * @generated from field: int32 chain_id = 1;
318
- */
319
- this.chainId = 0;
320
- /**
321
- * @generated from field: string address = 2;
322
- */
323
- this.address = "";
324
- proto3.util.initPartial(data, this);
325
- }
326
- static fromBinary(bytes, options) {
327
- return new GetBidsRequest().fromBinary(bytes, options);
328
- }
329
- static fromJson(jsonValue, options) {
330
- return new GetBidsRequest().fromJson(jsonValue, options);
331
- }
332
- static fromJsonString(jsonString, options) {
333
- return new GetBidsRequest().fromJsonString(jsonString, options);
334
- }
335
- static equals(a, b) {
336
- return proto3.util.equals(GetBidsRequest, a, b);
337
- }
338
- }
339
- GetBidsRequest.runtime = proto3;
340
- GetBidsRequest.typeName = "data.v1.GetBidsRequest";
341
- GetBidsRequest.fields = proto3.util.newFieldList(() => [
342
- { no: 1, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
343
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
344
- ]);
345
- /**
346
- * A single bid concentration point.
347
- *
348
- * @generated from message data.v1.BidConcentrationPoint
349
- */
350
- export class BidConcentrationPoint extends Message {
351
- constructor(data) {
352
- super();
353
- /**
354
- * cumulative volume (numeric as string)
355
- *
356
- * @generated from field: string volume = 1;
357
- */
358
- this.volume = "";
359
- /**
360
- * ISO 8601 timestamp string
361
- *
362
- * @generated from field: string updated_at = 2;
363
- */
364
- this.updatedAt = "";
365
- proto3.util.initPartial(data, this);
366
- }
367
- static fromBinary(bytes, options) {
368
- return new BidConcentrationPoint().fromBinary(bytes, options);
369
- }
370
- static fromJson(jsonValue, options) {
371
- return new BidConcentrationPoint().fromJson(jsonValue, options);
372
- }
373
- static fromJsonString(jsonString, options) {
374
- return new BidConcentrationPoint().fromJsonString(jsonString, options);
375
- }
376
- static equals(a, b) {
377
- return proto3.util.equals(BidConcentrationPoint, a, b);
378
- }
379
- }
380
- BidConcentrationPoint.runtime = proto3;
381
- BidConcentrationPoint.typeName = "data.v1.BidConcentrationPoint";
382
- BidConcentrationPoint.fields = proto3.util.newFieldList(() => [
383
- { no: 1, name: "volume", kind: "scalar", T: 9 /* ScalarType.STRING */ },
384
- { no: 2, name: "updated_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
385
- ]);
386
- /**
387
- * Response containing bids for an auction.
388
- *
389
- * @generated from message data.v1.GetBidsResponse
390
- */
391
- export class GetBidsResponse extends Message {
392
- constructor(data) {
393
- super();
394
- /**
395
- * Map of max_price to bid concentration data
396
- *
397
- * @generated from field: map<string, data.v1.BidConcentrationPoint> concentration = 1;
398
- */
399
- this.concentration = {};
400
- proto3.util.initPartial(data, this);
401
- }
402
- static fromBinary(bytes, options) {
403
- return new GetBidsResponse().fromBinary(bytes, options);
404
- }
405
- static fromJson(jsonValue, options) {
406
- return new GetBidsResponse().fromJson(jsonValue, options);
407
- }
408
- static fromJsonString(jsonString, options) {
409
- return new GetBidsResponse().fromJsonString(jsonString, options);
410
- }
411
- static equals(a, b) {
412
- return proto3.util.equals(GetBidsResponse, a, b);
413
- }
414
- }
415
- GetBidsResponse.runtime = proto3;
416
- GetBidsResponse.typeName = "data.v1.GetBidsResponse";
417
- GetBidsResponse.fields = proto3.util.newFieldList(() => [
418
- { no: 1, name: "concentration", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "message", T: BidConcentrationPoint } },
419
- ]);
420
- /**
421
- * Request to fetch auctions.
422
- *
423
- * `address` is resolved as either the AUCTION CONTRACT address or the launched
424
- * TOKEN address (there is no auction-by-token RPC — see
425
- * AuctionsBL.resolveAuctionByAddress), on each requested chain.
426
- *
427
- * CHAIN SELECTION — exactly one of the three branches applies, in this order:
428
- *
429
- * 1. chain_ids non-empty -> those chains. chain_ids WINS and chain_id is
430
- * IGNORED, even when both are set.
431
- * 2. chain_ids empty, chain_id != 0 -> that single chain. This is the
432
- * original one-chain request, unchanged for deployed clients.
433
- * 3. chain_ids empty, chain_id == 0 -> every supported (EVM) chain.
434
- * Previously an INVALID_ARGUMENT; a client that wants one chain must
435
- * still name it.
436
- *
437
- * The response is already `repeated` and every Auction carries its own
438
- * chain_id, so a multi-chain answer needs no response change: match rows back
439
- * by Auction.chain_id.
440
- *
441
- * @generated from message data.v1.GetAuctionRequest
442
- */
443
- export class GetAuctionRequest extends Message {
444
- constructor(data) {
445
- super();
446
- /**
447
- * Single-chain form. Ignored when chain_ids is non-empty (branch 1).
448
- *
449
- * @generated from field: int32 chain_id = 1;
450
- */
451
- this.chainId = 0;
452
- /**
453
- * @generated from field: string address = 2;
454
- */
455
- this.address = "";
456
- /**
457
- * Multi-chain form: resolve `address` across several chains in ONE request,
458
- * for a client that serves more than one chain and does not yet know which
459
- * chain the auction is on. Deduped and sorted server-side, capped at 20
460
- * chains (extras are dropped, not rejected). Empty = branches 2/3 above.
461
- *
462
- * @generated from field: repeated int32 chain_ids = 3;
463
- */
464
- this.chainIds = [];
465
- proto3.util.initPartial(data, this);
466
- }
467
- static fromBinary(bytes, options) {
468
- return new GetAuctionRequest().fromBinary(bytes, options);
469
- }
470
- static fromJson(jsonValue, options) {
471
- return new GetAuctionRequest().fromJson(jsonValue, options);
472
- }
473
- static fromJsonString(jsonString, options) {
474
- return new GetAuctionRequest().fromJsonString(jsonString, options);
475
- }
476
- static equals(a, b) {
477
- return proto3.util.equals(GetAuctionRequest, a, b);
478
- }
479
- }
480
- GetAuctionRequest.runtime = proto3;
481
- GetAuctionRequest.typeName = "data.v1.GetAuctionRequest";
482
- GetAuctionRequest.fields = proto3.util.newFieldList(() => [
483
- { no: 1, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
484
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
485
- { no: 3, name: "chain_ids", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true },
486
- ]);
487
- /**
488
- * Liquidity-lock metadata for auctions whose graduated LP position is held by a
489
- * timelock recipient contract (or by the burn address for LOCK_MODE_BURN, or by
490
- * an Instant Launch FeeSplitter for LOCK_MODE_FEE_SPLITTER). Set on Auction only
491
- * when the position is locked.
492
- *
493
- * @generated from message data.v1.LiquidityLockInfo
494
- */
495
- export class LiquidityLockInfo extends Message {
496
- constructor(data) {
497
- super();
498
- /**
499
- * Lock recipient contract address (the burn address for LOCK_MODE_BURN, the
500
- * FeeSplitter for LOCK_MODE_FEE_SPLITTER).
501
- *
502
- * @generated from field: string lock_recipient = 1;
503
- */
504
- this.lockRecipient = "";
505
- /**
506
- * @generated from field: data.v1.LockMode lock_mode = 2;
507
- */
508
- this.lockMode = LockMode.UNSPECIFIED;
509
- /**
510
- * Unlock block number only — clients estimate the calendar date from it.
511
- * 0 for LOCK_MODE_BURN and LOCK_MODE_FEE_SPLITTER (nothing ever unlocks):
512
- * check locked_forever before rendering an unlock date.
513
- *
514
- * @generated from field: uint64 unlock_block = 3;
515
- */
516
- this.unlockBlock = protoInt64.zero;
517
- /**
518
- * Timelock operator: the address that can claim the position after unlock
519
- * ("LP owner" display while locked). Empty for LOCK_MODE_BURN and
520
- * LOCK_MODE_FEE_SPLITTER — no one can ever claim those positions.
521
- *
522
- * @generated from field: string lp_operator = 4;
523
- */
524
- this.lpOperator = "";
525
- /**
526
- * Cumulative tokens bought back & burned, raw base units. USD valuation is
527
- * client-side at the current token price.
528
- *
529
- * @generated from field: string total_tokens_burned = 7;
530
- */
531
- this.totalTokensBurned = "";
532
- /**
533
- * True when the position can never be withdrawn: LOCK_MODE_BURN, or a
534
- * contract-held lock whose unlock_block is so far in the future it is
535
- * effectively permanent (the legacy "Permanent" preset encoded ~100,000
536
- * years as a timelock). Render "locked forever" and ignore unlock_block.
537
- *
538
- * @generated from field: bool locked_forever = 8;
539
- */
540
- this.lockedForever = false;
541
- proto3.util.initPartial(data, this);
542
- }
543
- static fromBinary(bytes, options) {
544
- return new LiquidityLockInfo().fromBinary(bytes, options);
545
- }
546
- static fromJson(jsonValue, options) {
547
- return new LiquidityLockInfo().fromJson(jsonValue, options);
548
- }
549
- static fromJsonString(jsonString, options) {
550
- return new LiquidityLockInfo().fromJsonString(jsonString, options);
551
- }
552
- static equals(a, b) {
553
- return proto3.util.equals(LiquidityLockInfo, a, b);
554
- }
555
- }
556
- LiquidityLockInfo.runtime = proto3;
557
- LiquidityLockInfo.typeName = "data.v1.LiquidityLockInfo";
558
- LiquidityLockInfo.fields = proto3.util.newFieldList(() => [
559
- { no: 1, name: "lock_recipient", kind: "scalar", T: 9 /* ScalarType.STRING */ },
560
- { no: 2, name: "lock_mode", kind: "enum", T: proto3.getEnumType(LockMode) },
561
- { no: 3, name: "unlock_block", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
562
- { no: 4, name: "lp_operator", kind: "scalar", T: 9 /* ScalarType.STRING */ },
563
- { no: 5, name: "fee_recipient", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
564
- { no: 6, name: "min_token_burn_amount", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
565
- { no: 7, name: "total_tokens_burned", kind: "scalar", T: 9 /* ScalarType.STRING */ },
566
- { no: 8, name: "locked_forever", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
567
- ]);
568
- /**
569
- * A single auction resource.
570
- *
571
- * @generated from message data.v1.Auction
572
- */
573
- export class Auction extends Message {
574
- constructor(data) {
575
- super();
576
- /**
577
- * @generated from field: string auction_id = 1;
578
- */
579
- this.auctionId = "";
580
- /**
581
- * @generated from field: int32 chain_id = 2;
582
- */
583
- this.chainId = 0;
584
- /**
585
- * @generated from field: string token_symbol = 3;
586
- */
587
- this.tokenSymbol = "";
588
- /**
589
- * @generated from field: string token_address = 4;
590
- */
591
- this.tokenAddress = "";
592
- /**
593
- * @generated from field: string creator_address = 5;
594
- */
595
- this.creatorAddress = "";
596
- /**
597
- * @generated from field: string start_block = 6;
598
- */
599
- this.startBlock = "";
600
- /**
601
- * @generated from field: string end_block = 7;
602
- */
603
- this.endBlock = "";
604
- /**
605
- * @generated from field: string total_supply = 8;
606
- */
607
- this.totalSupply = "";
608
- /**
609
- * @generated from field: string tick_size = 9;
610
- */
611
- this.tickSize = "";
612
- /**
613
- * @generated from field: string creation_block = 10;
614
- */
615
- this.creationBlock = "";
616
- /**
617
- * @generated from field: string created_at = 11;
618
- */
619
- this.createdAt = "";
620
- /**
621
- * @generated from field: string updated_at = 12;
622
- */
623
- this.updatedAt = "";
624
- /**
625
- * @generated from field: string clearing_price = 13;
626
- */
627
- this.clearingPrice = "";
628
- /**
629
- * @generated from field: string address = 14;
630
- */
631
- this.address = "";
632
- /**
633
- * @generated from field: string amount = 15;
634
- */
635
- this.amount = "";
636
- /**
637
- * @generated from field: string currency = 16;
638
- */
639
- this.currency = "";
640
- /**
641
- * @generated from field: string tokens_recipient = 17;
642
- */
643
- this.tokensRecipient = "";
644
- /**
645
- * @generated from field: string funds_recipient = 18;
646
- */
647
- this.fundsRecipient = "";
648
- /**
649
- * @generated from field: string claim_block = 19;
650
- */
651
- this.claimBlock = "";
652
- /**
653
- * @generated from field: string validation_hook = 20;
654
- */
655
- this.validationHook = "";
656
- /**
657
- * @generated from field: string floor_price = 21;
658
- */
659
- this.floorPrice = "";
660
- /**
661
- * @generated from field: string required_currency_raised = 22;
662
- */
663
- this.requiredCurrencyRaised = "";
664
- /**
665
- * @generated from field: string auction_steps_data = 23;
666
- */
667
- this.auctionStepsData = "";
668
- /**
669
- * Parsed auction steps
670
- *
671
- * @generated from field: repeated data.v1.AuctionStep parsed_auction_steps = 25;
672
- */
673
- this.parsedAuctionSteps = [];
674
- /**
675
- * Quick-launch classification, computed server-side from the on-chain CCA
676
- * params via the SDK's pure isQuickLaunch() matcher (native raise + 1B supply
677
- * + 4h window). Descriptor for the badge / discovery / create flow ONLY.
678
- * Reproducible by construction from CCA params, so it MUST NOT gate
679
- * suppression of Blockaid / token-protection warnings (LP-1076).
680
- *
681
- * @generated from field: bool is_quick_launch = 46;
682
- */
683
- this.isQuickLaunch = false;
684
- /**
685
- * Whether the auctioned token is on the compliance blocklist (Aurora
686
- * canonical_tokens.is_blocked — the same source v2 GetToken's
687
- * safety.is_blocked serves). Fail-safe: false when the token has no
688
- * canonical row or the read failed, so an outage never blocks a token.
689
- *
690
- * @generated from field: bool is_blocked = 51;
691
- */
692
- this.isBlocked = false;
693
- /**
694
- * Badges earned by the auction's token (LP badges), one per badge type,
695
- * highest tier only, canonical order — the data.v1 twin of
696
- * data.v2.Launch.badges, because a crowd launch's canonical row on every
697
- * client surface (list rows AND the token page) is the auction, which a
698
- * graduated token never leaves. Empty until the token has earned any.
699
- *
700
- * @generated from field: repeated data.v1.LaunchBadge badges = 57;
701
- */
702
- this.badges = [];
703
- /**
704
- * UNSPECIFIED until the auction is classified, then CROWD when
705
- * is_quick_launch is true and CUSTOM when it is false.
706
- *
707
- * @generated from field: data.v1.AuctionType auction_type = 59;
708
- */
709
- this.auctionType = AuctionType.UNSPECIFIED;
710
- proto3.util.initPartial(data, this);
711
- }
712
- static fromBinary(bytes, options) {
713
- return new Auction().fromBinary(bytes, options);
714
- }
715
- static fromJson(jsonValue, options) {
716
- return new Auction().fromJson(jsonValue, options);
717
- }
718
- static fromJsonString(jsonString, options) {
719
- return new Auction().fromJsonString(jsonString, options);
720
- }
721
- static equals(a, b) {
722
- return proto3.util.equals(Auction, a, b);
723
- }
724
- }
725
- Auction.runtime = proto3;
726
- Auction.typeName = "data.v1.Auction";
727
- Auction.fields = proto3.util.newFieldList(() => [
728
- { no: 1, name: "auction_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
729
- { no: 2, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
730
- { no: 3, name: "token_symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
731
- { no: 4, name: "token_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
732
- { no: 5, name: "creator_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
733
- { no: 6, name: "start_block", kind: "scalar", T: 9 /* ScalarType.STRING */ },
734
- { no: 7, name: "end_block", kind: "scalar", T: 9 /* ScalarType.STRING */ },
735
- { no: 8, name: "total_supply", kind: "scalar", T: 9 /* ScalarType.STRING */ },
736
- { no: 9, name: "tick_size", kind: "scalar", T: 9 /* ScalarType.STRING */ },
737
- { no: 10, name: "creation_block", kind: "scalar", T: 9 /* ScalarType.STRING */ },
738
- { no: 11, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
739
- { no: 12, name: "updated_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
740
- { no: 13, name: "clearing_price", kind: "scalar", T: 9 /* ScalarType.STRING */ },
741
- { no: 14, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
742
- { no: 15, name: "amount", kind: "scalar", T: 9 /* ScalarType.STRING */ },
743
- { no: 16, name: "currency", kind: "scalar", T: 9 /* ScalarType.STRING */ },
744
- { no: 17, name: "tokens_recipient", kind: "scalar", T: 9 /* ScalarType.STRING */ },
745
- { no: 18, name: "funds_recipient", kind: "scalar", T: 9 /* ScalarType.STRING */ },
746
- { no: 19, name: "claim_block", kind: "scalar", T: 9 /* ScalarType.STRING */ },
747
- { no: 20, name: "validation_hook", kind: "scalar", T: 9 /* ScalarType.STRING */ },
748
- { no: 21, name: "floor_price", kind: "scalar", T: 9 /* ScalarType.STRING */ },
749
- { no: 22, name: "required_currency_raised", kind: "scalar", T: 9 /* ScalarType.STRING */ },
750
- { no: 23, name: "auction_steps_data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
751
- { no: 24, name: "token_total_supply", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
752
- { no: 25, name: "parsed_auction_steps", kind: "message", T: AuctionStep, repeated: true },
753
- { no: 26, name: "total_bid_volume", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
754
- { no: 27, name: "token_protection_info", kind: "message", T: ProtectionInfo },
755
- { no: 28, name: "currency_price_usd", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
756
- { no: 29, name: "total_bid_volume_usd", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
757
- { no: 30, name: "token_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
758
- { no: 31, name: "token_decimals", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
759
- { no: 32, name: "currency_token_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
760
- { no: 33, name: "currency_token_symbol", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
761
- { no: 34, name: "currency_token_decimals", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
762
- { no: 35, name: "is_flagged", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
763
- { no: 36, name: "lbp_strategy_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
764
- { no: 37, name: "pool_key_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
765
- { no: 38, name: "initial_sqrt_price_x96", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
766
- { no: 39, name: "lbp_migration_tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
767
- { no: 40, name: "token_image_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
768
- { no: 41, name: "token_description", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
769
- { no: 42, name: "x_handle", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
770
- { no: 43, name: "lbp_migration_block", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
771
- { no: 44, name: "liquidity_lock", kind: "message", T: LiquidityLockInfo, opt: true },
772
- { no: 45, name: "pool_owner", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
773
- { no: 46, name: "is_quick_launch", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
774
- { no: 47, name: "estimated_end_time", kind: "message", T: Timestamp, opt: true },
775
- { no: 48, name: "x_profile_image_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
776
- { no: 49, name: "x_verified", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
777
- { no: 50, name: "fdv_usd", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
778
- { no: 51, name: "is_blocked", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
779
- { no: 52, name: "currency0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
780
- { no: 53, name: "currency1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
781
- { no: 54, name: "fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
782
- { no: 55, name: "tick_spacing", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
783
- { no: 56, name: "hooks", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
784
- { no: 57, name: "badges", kind: "message", T: LaunchBadge, repeated: true },
785
- { no: 58, name: "estimated_start_time", kind: "message", T: Timestamp, opt: true },
786
- { no: 59, name: "auction_type", kind: "enum", T: proto3.getEnumType(AuctionType) },
787
- ]);
788
- /**
789
- * One badge earned by a launch's token — the data.v1 twin of
790
- * data.v2.LaunchBadge (data/v1 cannot import data/v2). type/tier are
791
- * deliberately plain strings, NOT enums: the client contract pins the
792
- * lowercase ids on the wire, and proto-JSON would serialize an enum's
793
- * VALUE NAMES instead.
794
- *
795
- * @generated from message data.v1.LaunchBadge
796
- */
797
- export class LaunchBadge extends Message {
798
- constructor(data) {
799
- super();
800
- /**
801
- * "original" | "frontrunner" | "volume" | "holders" | "badger".
802
- *
803
- * @generated from field: string type = 1;
804
- */
805
- this.type = "";
806
- proto3.util.initPartial(data, this);
807
- }
808
- static fromBinary(bytes, options) {
809
- return new LaunchBadge().fromBinary(bytes, options);
810
- }
811
- static fromJson(jsonValue, options) {
812
- return new LaunchBadge().fromJson(jsonValue, options);
813
- }
814
- static fromJsonString(jsonString, options) {
815
- return new LaunchBadge().fromJsonString(jsonString, options);
816
- }
817
- static equals(a, b) {
818
- return proto3.util.equals(LaunchBadge, a, b);
819
- }
820
- }
821
- LaunchBadge.runtime = proto3;
822
- LaunchBadge.typeName = "data.v1.LaunchBadge";
823
- LaunchBadge.fields = proto3.util.newFieldList(() => [
824
- { no: 1, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
825
- { no: 2, name: "tier", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
826
- { no: 3, name: "earned_at", kind: "message", T: Timestamp },
827
- { no: 4, name: "holder_percentage", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
828
- ]);
829
- /**
830
- * Response containing auctions.
831
- *
832
- * @generated from message data.v1.GetAuctionResponse
833
- */
834
- export class GetAuctionResponse extends Message {
835
- constructor(data) {
836
- super();
837
- /**
838
- * @generated from field: repeated data.v1.Auction auctions = 1;
839
- */
840
- this.auctions = [];
841
- proto3.util.initPartial(data, this);
842
- }
843
- static fromBinary(bytes, options) {
844
- return new GetAuctionResponse().fromBinary(bytes, options);
845
- }
846
- static fromJson(jsonValue, options) {
847
- return new GetAuctionResponse().fromJson(jsonValue, options);
848
- }
849
- static fromJsonString(jsonString, options) {
850
- return new GetAuctionResponse().fromJsonString(jsonString, options);
851
- }
852
- static equals(a, b) {
853
- return proto3.util.equals(GetAuctionResponse, a, b);
854
- }
855
- }
856
- GetAuctionResponse.runtime = proto3;
857
- GetAuctionResponse.typeName = "data.v1.GetAuctionResponse";
858
- GetAuctionResponse.fields = proto3.util.newFieldList(() => [
859
- { no: 1, name: "auctions", kind: "message", T: Auction, repeated: true },
860
- ]);
861
- /**
862
- * Request to fetch the latest checkpoint for an auction.
863
- *
864
- * @generated from message data.v1.GetLatestCheckpointRequest
865
- */
866
- export class GetLatestCheckpointRequest extends Message {
867
- constructor(data) {
868
- super();
869
- /**
870
- * @generated from field: int32 chain_id = 1;
871
- */
872
- this.chainId = 0;
873
- /**
874
- * @generated from field: string address = 2;
875
- */
876
- this.address = "";
877
- proto3.util.initPartial(data, this);
878
- }
879
- static fromBinary(bytes, options) {
880
- return new GetLatestCheckpointRequest().fromBinary(bytes, options);
881
- }
882
- static fromJson(jsonValue, options) {
883
- return new GetLatestCheckpointRequest().fromJson(jsonValue, options);
884
- }
885
- static fromJsonString(jsonString, options) {
886
- return new GetLatestCheckpointRequest().fromJsonString(jsonString, options);
887
- }
888
- static equals(a, b) {
889
- return proto3.util.equals(GetLatestCheckpointRequest, a, b);
890
- }
891
- }
892
- GetLatestCheckpointRequest.runtime = proto3;
893
- GetLatestCheckpointRequest.typeName = "data.v1.GetLatestCheckpointRequest";
894
- GetLatestCheckpointRequest.fields = proto3.util.newFieldList(() => [
895
- { no: 1, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
896
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
897
- ]);
898
- /**
899
- * A single step in the auction's time-weighted pricing curve.
900
- *
901
- * @generated from message data.v1.AuctionStep
902
- */
903
- export class AuctionStep extends Message {
904
- constructor(data) {
905
- super();
906
- /**
907
- * @generated from field: uint32 mps = 1;
908
- */
909
- this.mps = 0;
910
- /**
911
- * Block number when this step begins (inclusive)
912
- *
913
- * @generated from field: string start_block = 2;
914
- */
915
- this.startBlock = "";
916
- /**
917
- * Block number when this step ends (exclusive)
918
- *
919
- * @generated from field: string end_block = 3;
920
- */
921
- this.endBlock = "";
922
- proto3.util.initPartial(data, this);
923
- }
924
- static fromBinary(bytes, options) {
925
- return new AuctionStep().fromBinary(bytes, options);
926
- }
927
- static fromJson(jsonValue, options) {
928
- return new AuctionStep().fromJson(jsonValue, options);
929
- }
930
- static fromJsonString(jsonString, options) {
931
- return new AuctionStep().fromJsonString(jsonString, options);
932
- }
933
- static equals(a, b) {
934
- return proto3.util.equals(AuctionStep, a, b);
935
- }
936
- }
937
- AuctionStep.runtime = proto3;
938
- AuctionStep.typeName = "data.v1.AuctionStep";
939
- AuctionStep.fields = proto3.util.newFieldList(() => [
940
- { no: 1, name: "mps", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
941
- { no: 2, name: "start_block", kind: "scalar", T: 9 /* ScalarType.STRING */ },
942
- { no: 3, name: "end_block", kind: "scalar", T: 9 /* ScalarType.STRING */ },
943
- ]);
944
- /**
945
- * A checkpoint for an auction.
946
- *
947
- * @generated from message data.v1.Checkpoint
948
- */
949
- export class Checkpoint extends Message {
950
- constructor(data) {
951
- super();
952
- /**
953
- * @generated from field: string clearing_price = 1;
954
- */
955
- this.clearingPrice = "";
956
- /**
957
- * @generated from field: string currency_raised_at_clearing_price_q96_x7 = 2;
958
- */
959
- this.currencyRaisedAtClearingPriceQ96X7 = "";
960
- /**
961
- * @generated from field: string cumulative_mps_per_price = 3;
962
- */
963
- this.cumulativeMpsPerPrice = "";
964
- /**
965
- * @generated from field: int32 cumulative_mps = 4;
966
- */
967
- this.cumulativeMps = 0;
968
- /**
969
- * @generated from field: int32 total_bid_count = 5 [deprecated = true];
970
- * @deprecated
971
- */
972
- this.totalBidCount = 0;
973
- /**
974
- * @generated from field: string currency_raised = 6 [deprecated = true];
975
- * @deprecated
976
- */
977
- this.currencyRaised = "";
978
- /**
979
- * bigint as string - total tokens cleared
980
- *
981
- * @generated from field: string total_cleared = 13 [deprecated = true];
982
- * @deprecated
983
- */
984
- this.totalCleared = "";
985
- proto3.util.initPartial(data, this);
986
- }
987
- static fromBinary(bytes, options) {
988
- return new Checkpoint().fromBinary(bytes, options);
989
- }
990
- static fromJson(jsonValue, options) {
991
- return new Checkpoint().fromJson(jsonValue, options);
992
- }
993
- static fromJsonString(jsonString, options) {
994
- return new Checkpoint().fromJsonString(jsonString, options);
995
- }
996
- static equals(a, b) {
997
- return proto3.util.equals(Checkpoint, a, b);
998
- }
999
- }
1000
- Checkpoint.runtime = proto3;
1001
- Checkpoint.typeName = "data.v1.Checkpoint";
1002
- Checkpoint.fields = proto3.util.newFieldList(() => [
1003
- { no: 1, name: "clearing_price", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1004
- { no: 2, name: "currency_raised_at_clearing_price_q96_x7", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1005
- { no: 3, name: "cumulative_mps_per_price", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1006
- { no: 4, name: "cumulative_mps", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1007
- { no: 5, name: "total_bid_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1008
- { no: 6, name: "currency_raised", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1009
- { no: 7, name: "auction_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1010
- { no: 8, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
1011
- { no: 9, name: "seg_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1012
- { no: 10, name: "start_block", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1013
- { no: 11, name: "end_block", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1014
- { no: 12, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1015
- { no: 13, name: "total_cleared", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1016
- ]);
1017
- /**
1018
- * Response containing the latest checkpoint.
1019
- *
1020
- * @generated from message data.v1.GetLatestCheckpointResponse
1021
- */
1022
- export class GetLatestCheckpointResponse extends Message {
1023
- constructor(data) {
1024
- super();
1025
- /**
1026
- * @generated from field: int32 total_bid_count = 3;
1027
- */
1028
- this.totalBidCount = 0;
1029
- /**
1030
- * @generated from field: string currency_raised = 4;
1031
- */
1032
- this.currencyRaised = "";
1033
- /**
1034
- * @generated from field: string total_cleared = 5;
1035
- */
1036
- this.totalCleared = "";
1037
- proto3.util.initPartial(data, this);
1038
- }
1039
- static fromBinary(bytes, options) {
1040
- return new GetLatestCheckpointResponse().fromBinary(bytes, options);
1041
- }
1042
- static fromJson(jsonValue, options) {
1043
- return new GetLatestCheckpointResponse().fromJson(jsonValue, options);
1044
- }
1045
- static fromJsonString(jsonString, options) {
1046
- return new GetLatestCheckpointResponse().fromJsonString(jsonString, options);
1047
- }
1048
- static equals(a, b) {
1049
- return proto3.util.equals(GetLatestCheckpointResponse, a, b);
1050
- }
1051
- }
1052
- GetLatestCheckpointResponse.runtime = proto3;
1053
- GetLatestCheckpointResponse.typeName = "data.v1.GetLatestCheckpointResponse";
1054
- GetLatestCheckpointResponse.fields = proto3.util.newFieldList(() => [
1055
- { no: 1, name: "checkpoint", kind: "message", T: Checkpoint },
1056
- { no: 2, name: "simulated_checkpoint", kind: "message", T: Checkpoint },
1057
- { no: 3, name: "total_bid_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1058
- { no: 4, name: "currency_raised", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1059
- { no: 5, name: "total_cleared", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1060
- ]);
1061
- /**
1062
- * Request to fetch clearing price history for an auction.
1063
- *
1064
- * @generated from message data.v1.GetClearingPriceHistoryRequest
1065
- */
1066
- export class GetClearingPriceHistoryRequest extends Message {
1067
- constructor(data) {
1068
- super();
1069
- /**
1070
- * @generated from field: int32 chain_id = 1;
1071
- */
1072
- this.chainId = 0;
1073
- /**
1074
- * @generated from field: string address = 2;
1075
- */
1076
- this.address = "";
1077
- proto3.util.initPartial(data, this);
1078
- }
1079
- static fromBinary(bytes, options) {
1080
- return new GetClearingPriceHistoryRequest().fromBinary(bytes, options);
1081
- }
1082
- static fromJson(jsonValue, options) {
1083
- return new GetClearingPriceHistoryRequest().fromJson(jsonValue, options);
1084
- }
1085
- static fromJsonString(jsonString, options) {
1086
- return new GetClearingPriceHistoryRequest().fromJsonString(jsonString, options);
1087
- }
1088
- static equals(a, b) {
1089
- return proto3.util.equals(GetClearingPriceHistoryRequest, a, b);
1090
- }
1091
- }
1092
- GetClearingPriceHistoryRequest.runtime = proto3;
1093
- GetClearingPriceHistoryRequest.typeName = "data.v1.GetClearingPriceHistoryRequest";
1094
- GetClearingPriceHistoryRequest.fields = proto3.util.newFieldList(() => [
1095
- { no: 1, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1096
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1097
- ]);
1098
- /**
1099
- * A single clearing price change point.
1100
- *
1101
- * @generated from message data.v1.ClearingPriceChange
1102
- */
1103
- export class ClearingPriceChange extends Message {
1104
- constructor(data) {
1105
- super();
1106
- /**
1107
- * @generated from field: string clearing_price = 1;
1108
- */
1109
- this.clearingPrice = "";
1110
- /**
1111
- * ISO 8601 timestamp
1112
- *
1113
- * @generated from field: string created_at = 2;
1114
- */
1115
- this.createdAt = "";
1116
- /**
1117
- * @generated from field: string start_block = 3;
1118
- */
1119
- this.startBlock = "";
1120
- proto3.util.initPartial(data, this);
1121
- }
1122
- static fromBinary(bytes, options) {
1123
- return new ClearingPriceChange().fromBinary(bytes, options);
1124
- }
1125
- static fromJson(jsonValue, options) {
1126
- return new ClearingPriceChange().fromJson(jsonValue, options);
1127
- }
1128
- static fromJsonString(jsonString, options) {
1129
- return new ClearingPriceChange().fromJsonString(jsonString, options);
1130
- }
1131
- static equals(a, b) {
1132
- return proto3.util.equals(ClearingPriceChange, a, b);
1133
- }
1134
- }
1135
- ClearingPriceChange.runtime = proto3;
1136
- ClearingPriceChange.typeName = "data.v1.ClearingPriceChange";
1137
- ClearingPriceChange.fields = proto3.util.newFieldList(() => [
1138
- { no: 1, name: "clearing_price", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1139
- { no: 2, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1140
- { no: 3, name: "start_block", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1141
- ]);
1142
- /**
1143
- * Response containing clearing price history.
1144
- *
1145
- * @generated from message data.v1.GetClearingPriceHistoryResponse
1146
- */
1147
- export class GetClearingPriceHistoryResponse extends Message {
1148
- constructor(data) {
1149
- super();
1150
- /**
1151
- * @generated from field: repeated data.v1.ClearingPriceChange changes = 1;
1152
- */
1153
- this.changes = [];
1154
- proto3.util.initPartial(data, this);
1155
- }
1156
- static fromBinary(bytes, options) {
1157
- return new GetClearingPriceHistoryResponse().fromBinary(bytes, options);
1158
- }
1159
- static fromJson(jsonValue, options) {
1160
- return new GetClearingPriceHistoryResponse().fromJson(jsonValue, options);
1161
- }
1162
- static fromJsonString(jsonString, options) {
1163
- return new GetClearingPriceHistoryResponse().fromJsonString(jsonString, options);
1164
- }
1165
- static equals(a, b) {
1166
- return proto3.util.equals(GetClearingPriceHistoryResponse, a, b);
1167
- }
1168
- }
1169
- GetClearingPriceHistoryResponse.runtime = proto3;
1170
- GetClearingPriceHistoryResponse.typeName = "data.v1.GetClearingPriceHistoryResponse";
1171
- GetClearingPriceHistoryResponse.fields = proto3.util.newFieldList(() => [
1172
- { no: 1, name: "changes", kind: "message", T: ClearingPriceChange, repeated: true },
1173
- ]);
1174
- /**
1175
- * @generated from message data.v1.GetAuctionActivityRequest
1176
- */
1177
- export class GetAuctionActivityRequest extends Message {
1178
- constructor(data) {
1179
- super();
1180
- /**
1181
- * @generated from field: int32 chain_id = 1;
1182
- */
1183
- this.chainId = 0;
1184
- /**
1185
- * @generated from field: string address = 2;
1186
- */
1187
- this.address = "";
1188
- /**
1189
- * Optional. Default 10, max 100.
1190
- *
1191
- * @generated from field: int32 page_size = 3;
1192
- */
1193
- this.pageSize = 0;
1194
- /**
1195
- * Optional. Cursor from previous response.
1196
- *
1197
- * @generated from field: string page_token = 4;
1198
- */
1199
- this.pageToken = "";
1200
- proto3.util.initPartial(data, this);
1201
- }
1202
- static fromBinary(bytes, options) {
1203
- return new GetAuctionActivityRequest().fromBinary(bytes, options);
1204
- }
1205
- static fromJson(jsonValue, options) {
1206
- return new GetAuctionActivityRequest().fromJson(jsonValue, options);
1207
- }
1208
- static fromJsonString(jsonString, options) {
1209
- return new GetAuctionActivityRequest().fromJsonString(jsonString, options);
1210
- }
1211
- static equals(a, b) {
1212
- return proto3.util.equals(GetAuctionActivityRequest, a, b);
1213
- }
1214
- }
1215
- GetAuctionActivityRequest.runtime = proto3;
1216
- GetAuctionActivityRequest.typeName = "data.v1.GetAuctionActivityRequest";
1217
- GetAuctionActivityRequest.fields = proto3.util.newFieldList(() => [
1218
- { no: 1, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1219
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1220
- { no: 3, name: "page_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1221
- { no: 4, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1222
- ]);
1223
- /**
1224
- * @generated from message data.v1.AuctionActivityEntry
1225
- */
1226
- export class AuctionActivityEntry extends Message {
1227
- constructor(data) {
1228
- super();
1229
- /**
1230
- * @generated from field: string bid_id = 1;
1231
- */
1232
- this.bidId = "";
1233
- /**
1234
- * @generated from field: string wallet = 2;
1235
- */
1236
- this.wallet = "";
1237
- /**
1238
- * @generated from field: string price = 3;
1239
- */
1240
- this.price = "";
1241
- /**
1242
- * @generated from field: string base_token_initial = 4;
1243
- */
1244
- this.baseTokenInitial = "";
1245
- /**
1246
- * ISO 8601 timestamp
1247
- *
1248
- * @generated from field: string created_at = 5;
1249
- */
1250
- this.createdAt = "";
1251
- /**
1252
- * @generated from field: string status = 6;
1253
- */
1254
- this.status = "";
1255
- /**
1256
- * @generated from field: string tx_hash = 7;
1257
- */
1258
- this.txHash = "";
1259
- proto3.util.initPartial(data, this);
1260
- }
1261
- static fromBinary(bytes, options) {
1262
- return new AuctionActivityEntry().fromBinary(bytes, options);
1263
- }
1264
- static fromJson(jsonValue, options) {
1265
- return new AuctionActivityEntry().fromJson(jsonValue, options);
1266
- }
1267
- static fromJsonString(jsonString, options) {
1268
- return new AuctionActivityEntry().fromJsonString(jsonString, options);
1269
- }
1270
- static equals(a, b) {
1271
- return proto3.util.equals(AuctionActivityEntry, a, b);
1272
- }
1273
- }
1274
- AuctionActivityEntry.runtime = proto3;
1275
- AuctionActivityEntry.typeName = "data.v1.AuctionActivityEntry";
1276
- AuctionActivityEntry.fields = proto3.util.newFieldList(() => [
1277
- { no: 1, name: "bid_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1278
- { no: 2, name: "wallet", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1279
- { no: 3, name: "price", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1280
- { no: 4, name: "base_token_initial", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1281
- { no: 5, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1282
- { no: 6, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1283
- { no: 7, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1284
- ]);
1285
- /**
1286
- * @generated from message data.v1.GetAuctionActivityResponse
1287
- */
1288
- export class GetAuctionActivityResponse extends Message {
1289
- constructor(data) {
1290
- super();
1291
- /**
1292
- * @generated from field: repeated data.v1.AuctionActivityEntry activity = 1;
1293
- */
1294
- this.activity = [];
1295
- /**
1296
- * Empty if no more pages.
1297
- *
1298
- * @generated from field: string next_page_token = 2;
1299
- */
1300
- this.nextPageToken = "";
1301
- proto3.util.initPartial(data, this);
1302
- }
1303
- static fromBinary(bytes, options) {
1304
- return new GetAuctionActivityResponse().fromBinary(bytes, options);
1305
- }
1306
- static fromJson(jsonValue, options) {
1307
- return new GetAuctionActivityResponse().fromJson(jsonValue, options);
1308
- }
1309
- static fromJsonString(jsonString, options) {
1310
- return new GetAuctionActivityResponse().fromJsonString(jsonString, options);
1311
- }
1312
- static equals(a, b) {
1313
- return proto3.util.equals(GetAuctionActivityResponse, a, b);
1314
- }
1315
- }
1316
- GetAuctionActivityResponse.runtime = proto3;
1317
- GetAuctionActivityResponse.typeName = "data.v1.GetAuctionActivityResponse";
1318
- GetAuctionActivityResponse.fields = proto3.util.newFieldList(() => [
1319
- { no: 1, name: "activity", kind: "message", T: AuctionActivityEntry, repeated: true },
1320
- { no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1321
- ]);
1322
- /**
1323
- * Request to fetch checkpoints for an auction
1324
- *
1325
- * @generated from message data.v1.GetCheckpointsRequest
1326
- */
1327
- export class GetCheckpointsRequest extends Message {
1328
- constructor(data) {
1329
- super();
1330
- /**
1331
- * @generated from field: int32 chain_id = 1;
1332
- */
1333
- this.chainId = 0;
1334
- /**
1335
- * @generated from field: string address = 2;
1336
- */
1337
- this.address = "";
1338
- /**
1339
- * Optional: cursor for pagination (clearing_price as string)
1340
- *
1341
- * @generated from field: string price_cursor = 3;
1342
- */
1343
- this.priceCursor = "";
1344
- proto3.util.initPartial(data, this);
1345
- }
1346
- static fromBinary(bytes, options) {
1347
- return new GetCheckpointsRequest().fromBinary(bytes, options);
1348
- }
1349
- static fromJson(jsonValue, options) {
1350
- return new GetCheckpointsRequest().fromJson(jsonValue, options);
1351
- }
1352
- static fromJsonString(jsonString, options) {
1353
- return new GetCheckpointsRequest().fromJsonString(jsonString, options);
1354
- }
1355
- static equals(a, b) {
1356
- return proto3.util.equals(GetCheckpointsRequest, a, b);
1357
- }
1358
- }
1359
- GetCheckpointsRequest.runtime = proto3;
1360
- GetCheckpointsRequest.typeName = "data.v1.GetCheckpointsRequest";
1361
- GetCheckpointsRequest.fields = proto3.util.newFieldList(() => [
1362
- { no: 1, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1363
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1364
- { no: 3, name: "price_cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1365
- ]);
1366
- /**
1367
- * Response containing checkpoints for an auction
1368
- *
1369
- * @generated from message data.v1.GetCheckpointsResponse
1370
- */
1371
- export class GetCheckpointsResponse extends Message {
1372
- constructor(data) {
1373
- super();
1374
- /**
1375
- * @generated from field: repeated data.v1.Checkpoint checkpoints = 1;
1376
- */
1377
- this.checkpoints = [];
1378
- /**
1379
- * Next page token for pagination (next clearing_price)
1380
- *
1381
- * @generated from field: string next_page_token = 2;
1382
- */
1383
- this.nextPageToken = "";
1384
- proto3.util.initPartial(data, this);
1385
- }
1386
- static fromBinary(bytes, options) {
1387
- return new GetCheckpointsResponse().fromBinary(bytes, options);
1388
- }
1389
- static fromJson(jsonValue, options) {
1390
- return new GetCheckpointsResponse().fromJson(jsonValue, options);
1391
- }
1392
- static fromJsonString(jsonString, options) {
1393
- return new GetCheckpointsResponse().fromJsonString(jsonString, options);
1394
- }
1395
- static equals(a, b) {
1396
- return proto3.util.equals(GetCheckpointsResponse, a, b);
1397
- }
1398
- }
1399
- GetCheckpointsResponse.runtime = proto3;
1400
- GetCheckpointsResponse.typeName = "data.v1.GetCheckpointsResponse";
1401
- GetCheckpointsResponse.fields = proto3.util.newFieldList(() => [
1402
- { no: 1, name: "checkpoints", kind: "message", T: Checkpoint, repeated: true },
1403
- { no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1404
- ]);
1405
- /**
1406
- * Request to list top auctions by total bid volume.
1407
- *
1408
- * @generated from message data.v1.ListTopAuctionsRequest
1409
- */
1410
- export class ListTopAuctionsRequest extends Message {
1411
- constructor(data) {
1412
- super();
1413
- /**
1414
- * Number of auctions to return (default/max TBD)
1415
- *
1416
- * @generated from field: int32 page_size = 1;
1417
- */
1418
- this.pageSize = 0;
1419
- /**
1420
- * Optional filter by chain IDs
1421
- *
1422
- * @generated from field: repeated int32 chain_ids = 2;
1423
- */
1424
- this.chainIds = [];
1425
- /**
1426
- * When true, drop auctions whose bidding window has closed (chain head has
1427
- * passed end_block), keeping only in-progress and not-yet-started auctions.
1428
- * Determined per chain against the live block height. Default false.
1429
- *
1430
- * @generated from field: bool live_only = 3;
1431
- */
1432
- this.liveOnly = false;
1433
- /**
1434
- * When true, serve only quick (crowd) launches — auctions whose persisted
1435
- * is_quick_launch marker is true. Absent and false are the same request:
1436
- * no filter, so the shared Explore surface keeps seeing every auction.
1437
- *
1438
- * @generated from field: bool quick_launch_only = 4;
1439
- */
1440
- this.quickLaunchOnly = false;
1441
- /**
1442
- * Optional: cursor from a previous response's next_page_token
1443
- *
1444
- * @generated from field: string page_token = 5;
1445
- */
1446
- this.pageToken = "";
1447
- /**
1448
- * Optional: filter by auction status
1449
- *
1450
- * @generated from field: data.v1.AuctionStatusFilter status_filter = 6;
1451
- */
1452
- this.statusFilter = AuctionStatusFilter.UNSPECIFIED;
1453
- proto3.util.initPartial(data, this);
1454
- }
1455
- static fromBinary(bytes, options) {
1456
- return new ListTopAuctionsRequest().fromBinary(bytes, options);
1457
- }
1458
- static fromJson(jsonValue, options) {
1459
- return new ListTopAuctionsRequest().fromJson(jsonValue, options);
1460
- }
1461
- static fromJsonString(jsonString, options) {
1462
- return new ListTopAuctionsRequest().fromJsonString(jsonString, options);
1463
- }
1464
- static equals(a, b) {
1465
- return proto3.util.equals(ListTopAuctionsRequest, a, b);
1466
- }
1467
- }
1468
- ListTopAuctionsRequest.runtime = proto3;
1469
- ListTopAuctionsRequest.typeName = "data.v1.ListTopAuctionsRequest";
1470
- ListTopAuctionsRequest.fields = proto3.util.newFieldList(() => [
1471
- { no: 1, name: "page_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1472
- { no: 2, name: "chain_ids", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true },
1473
- { no: 3, name: "live_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1474
- { no: 4, name: "quick_launch_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1475
- { no: 5, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1476
- { no: 6, name: "status_filter", kind: "enum", T: proto3.getEnumType(AuctionStatusFilter) },
1477
- ]);
1478
- /**
1479
- * One recently placed bid on the ListTopAuctions listing — the Home-card
1480
- * bid tape. Deliberately lighter than Bid: raw persisted row values only,
1481
- * with none of Bid's serve-time allocation math (Bid.amount), so the
1482
- * listing enrichment stays one batched read.
1483
- *
1484
- * @generated from message data.v1.RecentBid
1485
- */
1486
- export class RecentBid extends Message {
1487
- constructor(data) {
1488
- super();
1489
- /**
1490
- * @generated from field: string bid_id = 1;
1491
- */
1492
- this.bidId = "";
1493
- /**
1494
- * bidder wallet
1495
- *
1496
- * @generated from field: string wallet_id = 2;
1497
- */
1498
- this.walletId = "";
1499
- /**
1500
- * "" when not yet known
1501
- *
1502
- * @generated from field: string tx_hash = 3;
1503
- */
1504
- this.txHash = "";
1505
- /**
1506
- * currency committed, raw integer string
1507
- *
1508
- * @generated from field: string base_token_initial = 4;
1509
- */
1510
- this.baseTokenInitial = "";
1511
- /**
1512
- * raw integer string (X96)
1513
- *
1514
- * @generated from field: string max_price = 5;
1515
- */
1516
- this.maxPrice = "";
1517
- /**
1518
- * ISO 8601 / RFC 3339
1519
- *
1520
- * @generated from field: string created_at = 6;
1521
- */
1522
- this.createdAt = "";
1523
- proto3.util.initPartial(data, this);
1524
- }
1525
- static fromBinary(bytes, options) {
1526
- return new RecentBid().fromBinary(bytes, options);
1527
- }
1528
- static fromJson(jsonValue, options) {
1529
- return new RecentBid().fromJson(jsonValue, options);
1530
- }
1531
- static fromJsonString(jsonString, options) {
1532
- return new RecentBid().fromJsonString(jsonString, options);
1533
- }
1534
- static equals(a, b) {
1535
- return proto3.util.equals(RecentBid, a, b);
1536
- }
1537
- }
1538
- RecentBid.runtime = proto3;
1539
- RecentBid.typeName = "data.v1.RecentBid";
1540
- RecentBid.fields = proto3.util.newFieldList(() => [
1541
- { no: 1, name: "bid_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1542
- { no: 2, name: "wallet_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1543
- { no: 3, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1544
- { no: 4, name: "base_token_initial", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1545
- { no: 5, name: "max_price", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1546
- { no: 6, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1547
- { no: 7, name: "amount_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1548
- ]);
1549
- /**
1550
- * An auction with its total bid volume stats.
1551
- *
1552
- * @generated from message data.v1.AuctionWithStats
1553
- */
1554
- export class AuctionWithStats extends Message {
1555
- constructor(data) {
1556
- super();
1557
- /**
1558
- * DEPRECATED: Use auction.total_bid_volume instead. This field is maintained for backwards compatibility only.
1559
- *
1560
- * @generated from field: string total_bid_volume = 2 [deprecated = true];
1561
- * @deprecated
1562
- */
1563
- this.totalBidVolume = "";
1564
- /**
1565
- * Home-card bid tape: the auction's most recently placed bids, newest
1566
- * first, capped at the last 5 per auction. All bids count, including
1567
- * later-exited/withdrawn ones — historical activity, matching
1568
- * total_bid_volume semantics. Rides the listing's SWR cache, so freshness
1569
- * matches the rest of the row (~15s soft TTL); empty when the auction has
1570
- * no bids or the enrichment read failed (degraded, like the other stats).
1571
- *
1572
- * @generated from field: repeated data.v1.RecentBid recent_bids = 6;
1573
- */
1574
- this.recentBids = [];
1575
- proto3.util.initPartial(data, this);
1576
- }
1577
- static fromBinary(bytes, options) {
1578
- return new AuctionWithStats().fromBinary(bytes, options);
1579
- }
1580
- static fromJson(jsonValue, options) {
1581
- return new AuctionWithStats().fromJson(jsonValue, options);
1582
- }
1583
- static fromJsonString(jsonString, options) {
1584
- return new AuctionWithStats().fromJsonString(jsonString, options);
1585
- }
1586
- static equals(a, b) {
1587
- return proto3.util.equals(AuctionWithStats, a, b);
1588
- }
1589
- }
1590
- AuctionWithStats.runtime = proto3;
1591
- AuctionWithStats.typeName = "data.v1.AuctionWithStats";
1592
- AuctionWithStats.fields = proto3.util.newFieldList(() => [
1593
- { no: 1, name: "auction", kind: "message", T: Auction },
1594
- { no: 2, name: "total_bid_volume", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1595
- { no: 3, name: "unique_bidder_count", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
1596
- { no: 4, name: "bid_volume_usd_last_1h", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1597
- { no: 5, name: "holder_count", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
1598
- { no: 6, name: "recent_bids", kind: "message", T: RecentBid, repeated: true },
1599
- ]);
1600
- /**
1601
- * Response containing top auctions ordered by total bid volume.
1602
- *
1603
- * @generated from message data.v1.ListTopAuctionsResponse
1604
- */
1605
- export class ListTopAuctionsResponse extends Message {
1606
- constructor(data) {
1607
- super();
1608
- /**
1609
- * @generated from field: repeated data.v1.AuctionWithStats auctions = 1;
1610
- */
1611
- this.auctions = [];
1612
- /**
1613
- * Empty if no more pages.
1614
- *
1615
- * @generated from field: string next_page_token = 2;
1616
- */
1617
- this.nextPageToken = "";
1618
- proto3.util.initPartial(data, this);
1619
- }
1620
- static fromBinary(bytes, options) {
1621
- return new ListTopAuctionsResponse().fromBinary(bytes, options);
1622
- }
1623
- static fromJson(jsonValue, options) {
1624
- return new ListTopAuctionsResponse().fromJson(jsonValue, options);
1625
- }
1626
- static fromJsonString(jsonString, options) {
1627
- return new ListTopAuctionsResponse().fromJsonString(jsonString, options);
1628
- }
1629
- static equals(a, b) {
1630
- return proto3.util.equals(ListTopAuctionsResponse, a, b);
1631
- }
1632
- }
1633
- ListTopAuctionsResponse.runtime = proto3;
1634
- ListTopAuctionsResponse.typeName = "data.v1.ListTopAuctionsResponse";
1635
- ListTopAuctionsResponse.fields = proto3.util.newFieldList(() => [
1636
- { no: 1, name: "auctions", kind: "message", T: AuctionWithStats, repeated: true },
1637
- { no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1638
- ]);
1639
- /**
1640
- * @generated from message data.v1.GetCheckpointsForBidRequest
1641
- */
1642
- export class GetCheckpointsForBidRequest extends Message {
1643
- constructor(data) {
1644
- super();
1645
- /**
1646
- * @generated from field: string bid_id = 1;
1647
- */
1648
- this.bidId = "";
1649
- /**
1650
- * @generated from field: int32 chain_id = 2;
1651
- */
1652
- this.chainId = 0;
1653
- /**
1654
- * @generated from field: string auction_address = 3;
1655
- */
1656
- this.auctionAddress = "";
1657
- /**
1658
- * @generated from field: string bid_price = 4;
1659
- */
1660
- this.bidPrice = "";
1661
- proto3.util.initPartial(data, this);
1662
- }
1663
- static fromBinary(bytes, options) {
1664
- return new GetCheckpointsForBidRequest().fromBinary(bytes, options);
1665
- }
1666
- static fromJson(jsonValue, options) {
1667
- return new GetCheckpointsForBidRequest().fromJson(jsonValue, options);
1668
- }
1669
- static fromJsonString(jsonString, options) {
1670
- return new GetCheckpointsForBidRequest().fromJsonString(jsonString, options);
1671
- }
1672
- static equals(a, b) {
1673
- return proto3.util.equals(GetCheckpointsForBidRequest, a, b);
1674
- }
1675
- }
1676
- GetCheckpointsForBidRequest.runtime = proto3;
1677
- GetCheckpointsForBidRequest.typeName = "data.v1.GetCheckpointsForBidRequest";
1678
- GetCheckpointsForBidRequest.fields = proto3.util.newFieldList(() => [
1679
- { no: 1, name: "bid_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1680
- { no: 2, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1681
- { no: 3, name: "auction_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1682
- { no: 4, name: "bid_price", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1683
- ]);
1684
- /**
1685
- * @generated from message data.v1.GetCheckpointsForBidResponse
1686
- */
1687
- export class GetCheckpointsForBidResponse extends Message {
1688
- constructor(data) {
1689
- super();
1690
- proto3.util.initPartial(data, this);
1691
- }
1692
- static fromBinary(bytes, options) {
1693
- return new GetCheckpointsForBidResponse().fromBinary(bytes, options);
1694
- }
1695
- static fromJson(jsonValue, options) {
1696
- return new GetCheckpointsForBidResponse().fromJson(jsonValue, options);
1697
- }
1698
- static fromJsonString(jsonString, options) {
1699
- return new GetCheckpointsForBidResponse().fromJsonString(jsonString, options);
1700
- }
1701
- static equals(a, b) {
1702
- return proto3.util.equals(GetCheckpointsForBidResponse, a, b);
1703
- }
1704
- }
1705
- GetCheckpointsForBidResponse.runtime = proto3;
1706
- GetCheckpointsForBidResponse.typeName = "data.v1.GetCheckpointsForBidResponse";
1707
- GetCheckpointsForBidResponse.fields = proto3.util.newFieldList(() => [
1708
- { no: 1, name: "checkpoint_A", kind: "message", T: Checkpoint },
1709
- { no: 2, name: "checkpoint_B", kind: "message", T: Checkpoint, opt: true },
1710
- ]);
1711
- /**
1712
- * @generated from message data.v1.GetTickDetailsRequest
1713
- */
1714
- export class GetTickDetailsRequest extends Message {
1715
- constructor(data) {
1716
- super();
1717
- /**
1718
- * @generated from field: int32 chain_id = 1;
1719
- */
1720
- this.chainId = 0;
1721
- /**
1722
- * @generated from field: string address = 2;
1723
- */
1724
- this.address = "";
1725
- proto3.util.initPartial(data, this);
1726
- }
1727
- static fromBinary(bytes, options) {
1728
- return new GetTickDetailsRequest().fromBinary(bytes, options);
1729
- }
1730
- static fromJson(jsonValue, options) {
1731
- return new GetTickDetailsRequest().fromJson(jsonValue, options);
1732
- }
1733
- static fromJsonString(jsonString, options) {
1734
- return new GetTickDetailsRequest().fromJsonString(jsonString, options);
1735
- }
1736
- static equals(a, b) {
1737
- return proto3.util.equals(GetTickDetailsRequest, a, b);
1738
- }
1739
- }
1740
- GetTickDetailsRequest.runtime = proto3;
1741
- GetTickDetailsRequest.typeName = "data.v1.GetTickDetailsRequest";
1742
- GetTickDetailsRequest.fields = proto3.util.newFieldList(() => [
1743
- { no: 1, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1744
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1745
- ]);
1746
- /**
1747
- * @generated from message data.v1.TickDetail
1748
- */
1749
- export class TickDetail extends Message {
1750
- constructor(data) {
1751
- super();
1752
- /**
1753
- * @generated from field: string price_q96 = 1;
1754
- */
1755
- this.priceQ96 = "";
1756
- /**
1757
- * @generated from field: string currency_demand_q96 = 2;
1758
- */
1759
- this.currencyDemandQ96 = "";
1760
- /**
1761
- * @generated from field: string required_currency_demand_q96 = 3;
1762
- */
1763
- this.requiredCurrencyDemandQ96 = "";
1764
- /**
1765
- * @generated from field: string currency_required_q96 = 4;
1766
- */
1767
- this.currencyRequiredQ96 = "";
1768
- /**
1769
- * @generated from field: bool is_initialized = 5;
1770
- */
1771
- this.isInitialized = false;
1772
- proto3.util.initPartial(data, this);
1773
- }
1774
- static fromBinary(bytes, options) {
1775
- return new TickDetail().fromBinary(bytes, options);
1776
- }
1777
- static fromJson(jsonValue, options) {
1778
- return new TickDetail().fromJson(jsonValue, options);
1779
- }
1780
- static fromJsonString(jsonString, options) {
1781
- return new TickDetail().fromJsonString(jsonString, options);
1782
- }
1783
- static equals(a, b) {
1784
- return proto3.util.equals(TickDetail, a, b);
1785
- }
1786
- }
1787
- TickDetail.runtime = proto3;
1788
- TickDetail.typeName = "data.v1.TickDetail";
1789
- TickDetail.fields = proto3.util.newFieldList(() => [
1790
- { no: 1, name: "price_q96", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1791
- { no: 2, name: "currency_demand_q96", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1792
- { no: 3, name: "required_currency_demand_q96", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1793
- { no: 4, name: "currency_required_q96", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1794
- { no: 5, name: "is_initialized", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1795
- ]);
1796
- /**
1797
- * @generated from message data.v1.GetTickDetailsResponse
1798
- */
1799
- export class GetTickDetailsResponse extends Message {
1800
- constructor(data) {
1801
- super();
1802
- /**
1803
- * @generated from field: repeated data.v1.TickDetail ticks = 1;
1804
- */
1805
- this.ticks = [];
1806
- proto3.util.initPartial(data, this);
1807
- }
1808
- static fromBinary(bytes, options) {
1809
- return new GetTickDetailsResponse().fromBinary(bytes, options);
1810
- }
1811
- static fromJson(jsonValue, options) {
1812
- return new GetTickDetailsResponse().fromJson(jsonValue, options);
1813
- }
1814
- static fromJsonString(jsonString, options) {
1815
- return new GetTickDetailsResponse().fromJsonString(jsonString, options);
1816
- }
1817
- static equals(a, b) {
1818
- return proto3.util.equals(GetTickDetailsResponse, a, b);
1819
- }
1820
- }
1821
- GetTickDetailsResponse.runtime = proto3;
1822
- GetTickDetailsResponse.typeName = "data.v1.GetTickDetailsResponse";
1823
- GetTickDetailsResponse.fields = proto3.util.newFieldList(() => [
1824
- { no: 1, name: "ticks", kind: "message", T: TickDetail, repeated: true },
1825
- ]);
1826
- /**
1827
- * Auctions with a scheduled LBP migration that has not completed yet (or that
1828
- * completed within a short trailing window). Consumed by routing services to
1829
- * pre-register the migrated V4 pool before it appears in subgraph-based pool
1830
- * discovery. Pool parameters (currency0 / currency1 / fee / tick_spacing /
1831
- * hooks) ARE served: the same MigratorParameters the on-chain
1832
- * `initializers(auction)` getter returns are already in the
1833
- * LbpInitializerCreated log, so data-api indexes them at registration and hands
1834
- * consumers the resolved key — no per-auction RPC hop. (This reverses the
1835
- * earlier "intentionally omitted" policy, which pushed that read onto every
1836
- * consumer.) A consumer that also wants to revalidate migration_block still has
1837
- * to read the getter itself; the fields here are unset when the registration
1838
- * event carried no params, and must never be back-filled from SDK launch
1839
- * presets.
1840
- *
1841
- * @generated from message data.v1.ListAuctionsPendingLbpMigrationRequest
1842
- */
1843
- export class ListAuctionsPendingLbpMigrationRequest extends Message {
1844
- constructor(data) {
1845
- super();
1846
- /**
1847
- * Optional filter by chain IDs; empty = all chains.
1848
- *
1849
- * @generated from field: repeated int32 chain_ids = 1;
1850
- */
1851
- this.chainIds = [];
1852
- proto3.util.initPartial(data, this);
1853
- }
1854
- static fromBinary(bytes, options) {
1855
- return new ListAuctionsPendingLbpMigrationRequest().fromBinary(bytes, options);
1856
- }
1857
- static fromJson(jsonValue, options) {
1858
- return new ListAuctionsPendingLbpMigrationRequest().fromJson(jsonValue, options);
1859
- }
1860
- static fromJsonString(jsonString, options) {
1861
- return new ListAuctionsPendingLbpMigrationRequest().fromJsonString(jsonString, options);
1862
- }
1863
- static equals(a, b) {
1864
- return proto3.util.equals(ListAuctionsPendingLbpMigrationRequest, a, b);
1865
- }
1866
- }
1867
- ListAuctionsPendingLbpMigrationRequest.runtime = proto3;
1868
- ListAuctionsPendingLbpMigrationRequest.typeName = "data.v1.ListAuctionsPendingLbpMigrationRequest";
1869
- ListAuctionsPendingLbpMigrationRequest.fields = proto3.util.newFieldList(() => [
1870
- { no: 1, name: "chain_ids", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true },
1871
- ]);
1872
- /**
1873
- * @generated from message data.v1.AuctionPendingLbpMigration
1874
- */
1875
- export class AuctionPendingLbpMigration extends Message {
1876
- constructor(data) {
1877
- super();
1878
- /**
1879
- * @generated from field: string auction_id = 1;
1880
- */
1881
- this.auctionId = "";
1882
- /**
1883
- * @generated from field: int32 chain_id = 2;
1884
- */
1885
- this.chainId = 0;
1886
- /**
1887
- * Auction contract address — the key for the on-chain initializers() read.
1888
- *
1889
- * @generated from field: string address = 3;
1890
- */
1891
- this.address = "";
1892
- /**
1893
- * @generated from field: string token_address = 4;
1894
- */
1895
- this.tokenAddress = "";
1896
- /**
1897
- * Paired currency (zero address = native).
1898
- *
1899
- * @generated from field: string currency = 5;
1900
- */
1901
- this.currency = "";
1902
- /**
1903
- * @generated from field: string lbp_strategy_address = 6;
1904
- */
1905
- this.lbpStrategyAddress = "";
1906
- /**
1907
- * Scheduled block at which migrate() becomes permitted.
1908
- *
1909
- * @generated from field: string lbp_migration_block = 7;
1910
- */
1911
- this.lbpMigrationBlock = "";
1912
- proto3.util.initPartial(data, this);
1913
- }
1914
- static fromBinary(bytes, options) {
1915
- return new AuctionPendingLbpMigration().fromBinary(bytes, options);
1916
- }
1917
- static fromJson(jsonValue, options) {
1918
- return new AuctionPendingLbpMigration().fromJson(jsonValue, options);
1919
- }
1920
- static fromJsonString(jsonString, options) {
1921
- return new AuctionPendingLbpMigration().fromJsonString(jsonString, options);
1922
- }
1923
- static equals(a, b) {
1924
- return proto3.util.equals(AuctionPendingLbpMigration, a, b);
1925
- }
1926
- }
1927
- AuctionPendingLbpMigration.runtime = proto3;
1928
- AuctionPendingLbpMigration.typeName = "data.v1.AuctionPendingLbpMigration";
1929
- AuctionPendingLbpMigration.fields = proto3.util.newFieldList(() => [
1930
- { no: 1, name: "auction_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1931
- { no: 2, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1932
- { no: 3, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1933
- { no: 4, name: "token_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1934
- { no: 5, name: "currency", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1935
- { no: 6, name: "lbp_strategy_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1936
- { no: 7, name: "lbp_migration_block", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1937
- { no: 8, name: "pool_key_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1938
- { no: 9, name: "currency0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1939
- { no: 10, name: "currency1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1940
- { no: 11, name: "fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1941
- { no: 12, name: "tick_spacing", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
1942
- { no: 13, name: "hooks", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1943
- ]);
1944
- /**
1945
- * @generated from message data.v1.ListAuctionsPendingLbpMigrationResponse
1946
- */
1947
- export class ListAuctionsPendingLbpMigrationResponse extends Message {
1948
- constructor(data) {
1949
- super();
1950
- /**
1951
- * @generated from field: repeated data.v1.AuctionPendingLbpMigration auctions = 1;
1952
- */
1953
- this.auctions = [];
1954
- proto3.util.initPartial(data, this);
1955
- }
1956
- static fromBinary(bytes, options) {
1957
- return new ListAuctionsPendingLbpMigrationResponse().fromBinary(bytes, options);
1958
- }
1959
- static fromJson(jsonValue, options) {
1960
- return new ListAuctionsPendingLbpMigrationResponse().fromJson(jsonValue, options);
1961
- }
1962
- static fromJsonString(jsonString, options) {
1963
- return new ListAuctionsPendingLbpMigrationResponse().fromJsonString(jsonString, options);
1964
- }
1965
- static equals(a, b) {
1966
- return proto3.util.equals(ListAuctionsPendingLbpMigrationResponse, a, b);
1967
- }
1968
- }
1969
- ListAuctionsPendingLbpMigrationResponse.runtime = proto3;
1970
- ListAuctionsPendingLbpMigrationResponse.typeName = "data.v1.ListAuctionsPendingLbpMigrationResponse";
1971
- ListAuctionsPendingLbpMigrationResponse.fields = proto3.util.newFieldList(() => [
1972
- { no: 1, name: "auctions", kind: "message", T: AuctionPendingLbpMigration, repeated: true },
1973
- ]);