@uniswap/client-data-api 0.0.239 → 0.0.242

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.
@@ -44,6 +44,27 @@ export declare enum LockMode {
44
44
  */
45
45
  FEE_SPLITTER = 5
46
46
  }
47
+ /**
48
+ * How the auction was launched. is_quick_launch is a plain bool, so an
49
+ * auction that has not been classified yet reads as false there. Read this
50
+ * field when an unclassified auction must not be labeled.
51
+ *
52
+ * @generated from enum data.v1.AuctionType
53
+ */
54
+ export declare enum AuctionType {
55
+ /**
56
+ * @generated from enum value: AUCTION_TYPE_UNSPECIFIED = 0;
57
+ */
58
+ UNSPECIFIED = 0,
59
+ /**
60
+ * @generated from enum value: AUCTION_TYPE_CROWD = 1;
61
+ */
62
+ CROWD = 1,
63
+ /**
64
+ * @generated from enum value: AUCTION_TYPE_CUSTOM = 2;
65
+ */
66
+ CUSTOM = 2
67
+ }
47
68
  /**
48
69
  * Status filter for top auctions, matching the explore-page filters.
49
70
  * Status is derived from the chain's latest block vs the auction's end_block.
@@ -696,6 +717,21 @@ export declare class Auction extends Message<Auction> {
696
717
  * @generated from field: repeated data.v1.LaunchBadge badges = 57;
697
718
  */
698
719
  badges: LaunchBadge[];
720
+ /**
721
+ * Wall-clock time of start_block: the exact block timestamp once mined,
722
+ * otherwise an estimate. Unset when neither is available. Populated under
723
+ * the same rules as estimated_end_time.
724
+ *
725
+ * @generated from field: optional google.protobuf.Timestamp estimated_start_time = 58;
726
+ */
727
+ estimatedStartTime?: Timestamp;
728
+ /**
729
+ * UNSPECIFIED until the auction is classified, then CROWD when
730
+ * is_quick_launch is true and CUSTOM when it is false.
731
+ *
732
+ * @generated from field: data.v1.AuctionType auction_type = 59;
733
+ */
734
+ auctionType: AuctionType;
699
735
  constructor(data?: PartialMessage<Auction>);
700
736
  static readonly runtime: typeof proto3;
701
737
  static readonly typeName = "data.v1.Auction";
@@ -57,6 +57,34 @@ proto3.util.setEnumType(LockMode, "data.v1.LockMode", [
57
57
  { no: 4, name: "LOCK_MODE_BURN" },
58
58
  { no: 5, name: "LOCK_MODE_FEE_SPLITTER" },
59
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
+ ]);
60
88
  /**
61
89
  * Status filter for top auctions, matching the explore-page filters.
62
90
  * Status is derived from the chain's latest block vs the auction's end_block.
@@ -642,6 +670,13 @@ export class Auction extends Message {
642
670
  * @generated from field: repeated data.v1.LaunchBadge badges = 57;
643
671
  */
644
672
  this.badges = [];
673
+ /**
674
+ * UNSPECIFIED until the auction is classified, then CROWD when
675
+ * is_quick_launch is true and CUSTOM when it is false.
676
+ *
677
+ * @generated from field: data.v1.AuctionType auction_type = 59;
678
+ */
679
+ this.auctionType = AuctionType.UNSPECIFIED;
645
680
  proto3.util.initPartial(data, this);
646
681
  }
647
682
  static fromBinary(bytes, options) {
@@ -717,6 +752,8 @@ Auction.fields = proto3.util.newFieldList(() => [
717
752
  { no: 55, name: "tick_spacing", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
718
753
  { no: 56, name: "hooks", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
719
754
  { no: 57, name: "badges", kind: "message", T: LaunchBadge, repeated: true },
755
+ { no: 58, name: "estimated_start_time", kind: "message", T: Timestamp, opt: true },
756
+ { no: 59, name: "auction_type", kind: "enum", T: proto3.getEnumType(AuctionType) },
720
757
  ]);
721
758
  /**
722
759
  * One badge earned by a launch's token — the data.v1 twin of
@@ -225,8 +225,8 @@ export declare class ListLaunchesRequest extends Message<ListLaunchesRequest> {
225
225
  * creator_address.
226
226
  *
227
227
  * CCA rows additionally inherit the crowd-launch feed's
228
- * `is_quick_launch = true` gate; an unclassified or institutional
229
- * auction will not match.
228
+ * `is_quick_launch = true` gate; an unclassified or institutional auction
229
+ * will not match unless include_all_launches is set.
230
230
  *
231
231
  * @generated from field: repeated string token_addresses = 11;
232
232
  */
@@ -249,6 +249,13 @@ export declare class ListLaunchesRequest extends Message<ListLaunchesRequest> {
249
249
  * @generated from field: optional string fee_beneficiary = 12;
250
250
  */
251
251
  feeBeneficiary?: string;
252
+ /**
253
+ * Also return institutional and unclassified CCA launches. Only applies
254
+ * with token_addresses; ignored otherwise.
255
+ *
256
+ * @generated from field: optional bool include_all_launches = 13;
257
+ */
258
+ includeAllLaunches?: boolean;
252
259
  constructor(data?: PartialMessage<ListLaunchesRequest>);
253
260
  static readonly runtime: typeof proto3;
254
261
  static readonly typeName = "launches.v1.ListLaunchesRequest";
@@ -197,8 +197,8 @@ export class ListLaunchesRequest extends Message {
197
197
  * creator_address.
198
198
  *
199
199
  * CCA rows additionally inherit the crowd-launch feed's
200
- * `is_quick_launch = true` gate; an unclassified or institutional
201
- * auction will not match.
200
+ * `is_quick_launch = true` gate; an unclassified or institutional auction
201
+ * will not match unless include_all_launches is set.
202
202
  *
203
203
  * @generated from field: repeated string token_addresses = 11;
204
204
  */
@@ -233,6 +233,7 @@ ListLaunchesRequest.fields = proto3.util.newFieldList(() => [
233
233
  { no: 10, name: "linked_x_only", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
234
234
  { no: 11, name: "token_addresses", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
235
235
  { no: 12, name: "fee_beneficiary", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
236
+ { no: 13, name: "include_all_launches", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
236
237
  ]);
237
238
  /**
238
239
  * @generated from message launches.v1.ListLaunchesResponse
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.239",
3
+ "version": "0.0.242",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },