@uniswap/client-data-api 0.0.42 → 0.0.44

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,5 +1,5 @@
1
1
  import { MethodKind } from "@bufbuild/protobuf";
2
- import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetCheckpointsRequest, GetCheckpointsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse, ListTopAuctionsRequest, ListTopAuctionsResponse } from "./auction_pb.js";
2
+ import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetCheckpointsForBidRequest, GetCheckpointsForBidResponse, GetCheckpointsRequest, GetCheckpointsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse, ListTopAuctionsRequest, ListTopAuctionsResponse } from "./auction_pb.js";
3
3
  /**
4
4
  * @generated from rpc data.v1.AuctionService.GetBidsByWallet
5
5
  */
@@ -104,3 +104,16 @@ export declare const listTopAuctions: {
104
104
  readonly typeName: "data.v1.AuctionService";
105
105
  };
106
106
  };
107
+ /**
108
+ * @generated from rpc data.v1.AuctionService.GetCheckpointsForBid
109
+ */
110
+ export declare const getCheckpointsForBid: {
111
+ readonly localName: "getCheckpointsForBid";
112
+ readonly name: "GetCheckpointsForBid";
113
+ readonly kind: MethodKind.Unary;
114
+ readonly I: typeof GetCheckpointsForBidRequest;
115
+ readonly O: typeof GetCheckpointsForBidResponse;
116
+ readonly service: {
117
+ readonly typeName: "data.v1.AuctionService";
118
+ };
119
+ };
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodKind } from "@bufbuild/protobuf";
6
- import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetCheckpointsRequest, GetCheckpointsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse, ListTopAuctionsRequest, ListTopAuctionsResponse } from "./auction_pb.js";
6
+ import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetCheckpointsForBidRequest, GetCheckpointsForBidResponse, GetCheckpointsRequest, GetCheckpointsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse, ListTopAuctionsRequest, ListTopAuctionsResponse } from "./auction_pb.js";
7
7
  /**
8
8
  * @generated from rpc data.v1.AuctionService.GetBidsByWallet
9
9
  */
@@ -108,3 +108,16 @@ export const listTopAuctions = {
108
108
  typeName: "data.v1.AuctionService"
109
109
  }
110
110
  };
111
+ /**
112
+ * @generated from rpc data.v1.AuctionService.GetCheckpointsForBid
113
+ */
114
+ export const getCheckpointsForBid = {
115
+ localName: "getCheckpointsForBid",
116
+ name: "GetCheckpointsForBid",
117
+ kind: MethodKind.Unary,
118
+ I: GetCheckpointsForBidRequest,
119
+ O: GetCheckpointsForBidResponse,
120
+ service: {
121
+ typeName: "data.v1.AuctionService"
122
+ }
123
+ };
@@ -1,4 +1,4 @@
1
- import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetCheckpointsRequest, GetCheckpointsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse, ListTopAuctionsRequest, ListTopAuctionsResponse } from "./auction_pb.js";
1
+ import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetCheckpointsForBidRequest, GetCheckpointsForBidResponse, GetCheckpointsRequest, GetCheckpointsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse, ListTopAuctionsRequest, ListTopAuctionsResponse } from "./auction_pb.js";
2
2
  import { MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from service data.v1.AuctionService
@@ -78,5 +78,14 @@ export declare const AuctionService: {
78
78
  readonly O: typeof ListTopAuctionsResponse;
79
79
  readonly kind: MethodKind.Unary;
80
80
  };
81
+ /**
82
+ * @generated from rpc data.v1.AuctionService.GetCheckpointsForBid
83
+ */
84
+ readonly getCheckpointsForBid: {
85
+ readonly name: "GetCheckpointsForBid";
86
+ readonly I: typeof GetCheckpointsForBidRequest;
87
+ readonly O: typeof GetCheckpointsForBidResponse;
88
+ readonly kind: MethodKind.Unary;
89
+ };
81
90
  };
82
91
  };
@@ -2,7 +2,7 @@
2
2
  // @generated from file data/v1/auction.proto (package data.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetCheckpointsRequest, GetCheckpointsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse, ListTopAuctionsRequest, ListTopAuctionsResponse } from "./auction_pb.js";
5
+ import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetCheckpointsForBidRequest, GetCheckpointsForBidResponse, GetCheckpointsRequest, GetCheckpointsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse, ListTopAuctionsRequest, ListTopAuctionsResponse } from "./auction_pb.js";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * @generated from service data.v1.AuctionService
@@ -82,5 +82,14 @@ export const AuctionService = {
82
82
  O: ListTopAuctionsResponse,
83
83
  kind: MethodKind.Unary,
84
84
  },
85
+ /**
86
+ * @generated from rpc data.v1.AuctionService.GetCheckpointsForBid
87
+ */
88
+ getCheckpointsForBid: {
89
+ name: "GetCheckpointsForBid",
90
+ I: GetCheckpointsForBidRequest,
91
+ O: GetCheckpointsForBidResponse,
92
+ kind: MethodKind.Unary,
93
+ },
85
94
  }
86
95
  };
@@ -325,6 +325,10 @@ export declare class Auction extends Message<Auction> {
325
325
  * @generated from field: repeated data.v1.AuctionStep parsed_auction_steps = 25;
326
326
  */
327
327
  parsedAuctionSteps: AuctionStep[];
328
+ /**
329
+ * @generated from field: optional string total_bid_volume = 26;
330
+ */
331
+ totalBidVolume?: string;
328
332
  constructor(data?: PartialMessage<Auction>);
329
333
  static readonly runtime: typeof proto3;
330
334
  static readonly typeName = "data.v1.Auction";
@@ -743,9 +747,10 @@ export declare class AuctionWithStats extends Message<AuctionWithStats> {
743
747
  */
744
748
  auction?: Auction;
745
749
  /**
746
- * Sum of all bid volumes (numeric as string)
750
+ * DEPRECATED: Use auction.total_bid_volume instead. This field is maintained for backwards compatibility only.
747
751
  *
748
- * @generated from field: string total_bid_volume = 2;
752
+ * @generated from field: string total_bid_volume = 2 [deprecated = true];
753
+ * @deprecated
749
754
  */
750
755
  totalBidVolume: string;
751
756
  constructor(data?: PartialMessage<AuctionWithStats>);
@@ -776,3 +781,53 @@ export declare class ListTopAuctionsResponse extends Message<ListTopAuctionsResp
776
781
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTopAuctionsResponse;
777
782
  static equals(a: ListTopAuctionsResponse | PlainMessage<ListTopAuctionsResponse> | undefined, b: ListTopAuctionsResponse | PlainMessage<ListTopAuctionsResponse> | undefined): boolean;
778
783
  }
784
+ /**
785
+ * @generated from message data.v1.GetCheckpointsForBidRequest
786
+ */
787
+ export declare class GetCheckpointsForBidRequest extends Message<GetCheckpointsForBidRequest> {
788
+ /**
789
+ * @generated from field: string bid_id = 1;
790
+ */
791
+ bidId: string;
792
+ /**
793
+ * @generated from field: int32 chain_id = 2;
794
+ */
795
+ chainId: number;
796
+ /**
797
+ * @generated from field: string auction_address = 3;
798
+ */
799
+ auctionAddress: string;
800
+ /**
801
+ * @generated from field: string bid_price = 4;
802
+ */
803
+ bidPrice: string;
804
+ constructor(data?: PartialMessage<GetCheckpointsForBidRequest>);
805
+ static readonly runtime: typeof proto3;
806
+ static readonly typeName = "data.v1.GetCheckpointsForBidRequest";
807
+ static readonly fields: FieldList;
808
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetCheckpointsForBidRequest;
809
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetCheckpointsForBidRequest;
810
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetCheckpointsForBidRequest;
811
+ static equals(a: GetCheckpointsForBidRequest | PlainMessage<GetCheckpointsForBidRequest> | undefined, b: GetCheckpointsForBidRequest | PlainMessage<GetCheckpointsForBidRequest> | undefined): boolean;
812
+ }
813
+ /**
814
+ * @generated from message data.v1.GetCheckpointsForBidResponse
815
+ */
816
+ export declare class GetCheckpointsForBidResponse extends Message<GetCheckpointsForBidResponse> {
817
+ /**
818
+ * @generated from field: data.v1.Checkpoint checkpoint_A = 1;
819
+ */
820
+ checkpointA?: Checkpoint;
821
+ /**
822
+ * @generated from field: optional data.v1.Checkpoint checkpoint_B = 2;
823
+ */
824
+ checkpointB?: Checkpoint;
825
+ constructor(data?: PartialMessage<GetCheckpointsForBidResponse>);
826
+ static readonly runtime: typeof proto3;
827
+ static readonly typeName = "data.v1.GetCheckpointsForBidResponse";
828
+ static readonly fields: FieldList;
829
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetCheckpointsForBidResponse;
830
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetCheckpointsForBidResponse;
831
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetCheckpointsForBidResponse;
832
+ static equals(a: GetCheckpointsForBidResponse | PlainMessage<GetCheckpointsForBidResponse> | undefined, b: GetCheckpointsForBidResponse | PlainMessage<GetCheckpointsForBidResponse> | undefined): boolean;
833
+ }
@@ -471,6 +471,7 @@ Auction.fields = proto3.util.newFieldList(() => [
471
471
  { no: 23, name: "auction_steps_data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
472
472
  { no: 24, name: "token_total_supply", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
473
473
  { no: 25, name: "parsed_auction_steps", kind: "message", T: AuctionStep, repeated: true },
474
+ { no: 26, name: "total_bid_volume", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
474
475
  ]);
475
476
  /**
476
477
  * Response containing auctions.
@@ -1053,9 +1054,10 @@ export class AuctionWithStats extends Message {
1053
1054
  constructor(data) {
1054
1055
  super();
1055
1056
  /**
1056
- * Sum of all bid volumes (numeric as string)
1057
+ * DEPRECATED: Use auction.total_bid_volume instead. This field is maintained for backwards compatibility only.
1057
1058
  *
1058
- * @generated from field: string total_bid_volume = 2;
1059
+ * @generated from field: string total_bid_volume = 2 [deprecated = true];
1060
+ * @deprecated
1059
1061
  */
1060
1062
  this.totalBidVolume = "";
1061
1063
  proto3.util.initPartial(data, this);
@@ -1111,3 +1113,75 @@ ListTopAuctionsResponse.typeName = "data.v1.ListTopAuctionsResponse";
1111
1113
  ListTopAuctionsResponse.fields = proto3.util.newFieldList(() => [
1112
1114
  { no: 1, name: "auctions", kind: "message", T: AuctionWithStats, repeated: true },
1113
1115
  ]);
1116
+ /**
1117
+ * @generated from message data.v1.GetCheckpointsForBidRequest
1118
+ */
1119
+ export class GetCheckpointsForBidRequest extends Message {
1120
+ constructor(data) {
1121
+ super();
1122
+ /**
1123
+ * @generated from field: string bid_id = 1;
1124
+ */
1125
+ this.bidId = "";
1126
+ /**
1127
+ * @generated from field: int32 chain_id = 2;
1128
+ */
1129
+ this.chainId = 0;
1130
+ /**
1131
+ * @generated from field: string auction_address = 3;
1132
+ */
1133
+ this.auctionAddress = "";
1134
+ /**
1135
+ * @generated from field: string bid_price = 4;
1136
+ */
1137
+ this.bidPrice = "";
1138
+ proto3.util.initPartial(data, this);
1139
+ }
1140
+ static fromBinary(bytes, options) {
1141
+ return new GetCheckpointsForBidRequest().fromBinary(bytes, options);
1142
+ }
1143
+ static fromJson(jsonValue, options) {
1144
+ return new GetCheckpointsForBidRequest().fromJson(jsonValue, options);
1145
+ }
1146
+ static fromJsonString(jsonString, options) {
1147
+ return new GetCheckpointsForBidRequest().fromJsonString(jsonString, options);
1148
+ }
1149
+ static equals(a, b) {
1150
+ return proto3.util.equals(GetCheckpointsForBidRequest, a, b);
1151
+ }
1152
+ }
1153
+ GetCheckpointsForBidRequest.runtime = proto3;
1154
+ GetCheckpointsForBidRequest.typeName = "data.v1.GetCheckpointsForBidRequest";
1155
+ GetCheckpointsForBidRequest.fields = proto3.util.newFieldList(() => [
1156
+ { no: 1, name: "bid_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1157
+ { no: 2, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1158
+ { no: 3, name: "auction_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1159
+ { no: 4, name: "bid_price", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1160
+ ]);
1161
+ /**
1162
+ * @generated from message data.v1.GetCheckpointsForBidResponse
1163
+ */
1164
+ export class GetCheckpointsForBidResponse extends Message {
1165
+ constructor(data) {
1166
+ super();
1167
+ proto3.util.initPartial(data, this);
1168
+ }
1169
+ static fromBinary(bytes, options) {
1170
+ return new GetCheckpointsForBidResponse().fromBinary(bytes, options);
1171
+ }
1172
+ static fromJson(jsonValue, options) {
1173
+ return new GetCheckpointsForBidResponse().fromJson(jsonValue, options);
1174
+ }
1175
+ static fromJsonString(jsonString, options) {
1176
+ return new GetCheckpointsForBidResponse().fromJsonString(jsonString, options);
1177
+ }
1178
+ static equals(a, b) {
1179
+ return proto3.util.equals(GetCheckpointsForBidResponse, a, b);
1180
+ }
1181
+ }
1182
+ GetCheckpointsForBidResponse.runtime = proto3;
1183
+ GetCheckpointsForBidResponse.typeName = "data.v1.GetCheckpointsForBidResponse";
1184
+ GetCheckpointsForBidResponse.fields = proto3.util.newFieldList(() => [
1185
+ { no: 1, name: "checkpoint_A", kind: "message", T: Checkpoint },
1186
+ { no: 2, name: "checkpoint_B", kind: "message", T: Checkpoint, opt: true },
1187
+ ]);
@@ -222,7 +222,27 @@ export declare enum OnChainTransactionLabel {
222
222
  /**
223
223
  * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_DECREASE_LIQUIDITY = 26;
224
224
  */
225
- DECREASE_LIQUIDITY = 26
225
+ DECREASE_LIQUIDITY = 26,
226
+ /**
227
+ * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_AUCTION_SUBMIT_BID = 27;
228
+ */
229
+ AUCTION_SUBMIT_BID = 27,
230
+ /**
231
+ * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_AUCTION_CLAIM_TOKENS = 28;
232
+ */
233
+ AUCTION_CLAIM_TOKENS = 28,
234
+ /**
235
+ * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_AUCTION_EXIT_BID = 29;
236
+ */
237
+ AUCTION_EXIT_BID = 29,
238
+ /**
239
+ * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_AUCTION_EXIT_PARTIALLY_FILLED_BID = 30;
240
+ */
241
+ AUCTION_EXIT_PARTIALLY_FILLED_BID = 30,
242
+ /**
243
+ * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_AUCTION_CLAIM_TOKENS_BATCHED = 31;
244
+ */
245
+ AUCTION_CLAIM_TOKENS_BATCHED = 31
226
246
  }
227
247
  /**
228
248
  * @generated from enum data.v1.TransactionTypeFilter
@@ -268,6 +268,26 @@ export var OnChainTransactionLabel;
268
268
  * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_DECREASE_LIQUIDITY = 26;
269
269
  */
270
270
  OnChainTransactionLabel[OnChainTransactionLabel["DECREASE_LIQUIDITY"] = 26] = "DECREASE_LIQUIDITY";
271
+ /**
272
+ * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_AUCTION_SUBMIT_BID = 27;
273
+ */
274
+ OnChainTransactionLabel[OnChainTransactionLabel["AUCTION_SUBMIT_BID"] = 27] = "AUCTION_SUBMIT_BID";
275
+ /**
276
+ * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_AUCTION_CLAIM_TOKENS = 28;
277
+ */
278
+ OnChainTransactionLabel[OnChainTransactionLabel["AUCTION_CLAIM_TOKENS"] = 28] = "AUCTION_CLAIM_TOKENS";
279
+ /**
280
+ * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_AUCTION_EXIT_BID = 29;
281
+ */
282
+ OnChainTransactionLabel[OnChainTransactionLabel["AUCTION_EXIT_BID"] = 29] = "AUCTION_EXIT_BID";
283
+ /**
284
+ * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_AUCTION_EXIT_PARTIALLY_FILLED_BID = 30;
285
+ */
286
+ OnChainTransactionLabel[OnChainTransactionLabel["AUCTION_EXIT_PARTIALLY_FILLED_BID"] = 30] = "AUCTION_EXIT_PARTIALLY_FILLED_BID";
287
+ /**
288
+ * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_AUCTION_CLAIM_TOKENS_BATCHED = 31;
289
+ */
290
+ OnChainTransactionLabel[OnChainTransactionLabel["AUCTION_CLAIM_TOKENS_BATCHED"] = 31] = "AUCTION_CLAIM_TOKENS_BATCHED";
271
291
  })(OnChainTransactionLabel || (OnChainTransactionLabel = {}));
272
292
  // Retrieve enum metadata with: proto3.getEnumType(OnChainTransactionLabel)
273
293
  proto3.util.setEnumType(OnChainTransactionLabel, "data.v1.OnChainTransactionLabel", [
@@ -298,6 +318,11 @@ proto3.util.setEnumType(OnChainTransactionLabel, "data.v1.OnChainTransactionLabe
298
318
  { no: 24, name: "ON_CHAIN_TRANSACTION_LABEL_CREATE_POOL" },
299
319
  { no: 25, name: "ON_CHAIN_TRANSACTION_LABEL_INCREASE_LIQUIDITY" },
300
320
  { no: 26, name: "ON_CHAIN_TRANSACTION_LABEL_DECREASE_LIQUIDITY" },
321
+ { no: 27, name: "ON_CHAIN_TRANSACTION_LABEL_AUCTION_SUBMIT_BID" },
322
+ { no: 28, name: "ON_CHAIN_TRANSACTION_LABEL_AUCTION_CLAIM_TOKENS" },
323
+ { no: 29, name: "ON_CHAIN_TRANSACTION_LABEL_AUCTION_EXIT_BID" },
324
+ { no: 30, name: "ON_CHAIN_TRANSACTION_LABEL_AUCTION_EXIT_PARTIALLY_FILLED_BID" },
325
+ { no: 31, name: "ON_CHAIN_TRANSACTION_LABEL_AUCTION_CLAIM_TOKENS_BATCHED" },
301
326
  ]);
302
327
  /**
303
328
  * @generated from enum data.v1.TransactionTypeFilter
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.42",
3
+ "version": "0.0.44",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },