@uniswap/client-liquidity 0.0.17 → 0.0.19

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 { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
2
- import { ClaimTokensRequest, ClaimTokensResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
2
+ import { ClaimTokensRequest, ClaimTokensResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse, TokenCountAllocatedToLpForAuctionRequest, TokenCountAllocatedToLpForAuctionResponse } from "./auction_pb.js";
3
3
  /**
4
4
  * @generated from rpc uniswap.liquidity.v1.AuctionService.SubmitBid
5
5
  */
@@ -56,3 +56,17 @@ export declare const exitBidAndClaimTokens: {
56
56
  readonly typeName: "uniswap.liquidity.v1.AuctionService";
57
57
  };
58
58
  };
59
+ /**
60
+ * @generated from rpc uniswap.liquidity.v1.AuctionService.TokenCountAllocatedToLpForAuction
61
+ */
62
+ export declare const tokenCountAllocatedToLpForAuction: {
63
+ readonly localName: "tokenCountAllocatedToLpForAuction";
64
+ readonly name: "TokenCountAllocatedToLpForAuction";
65
+ readonly kind: MethodKind.Unary;
66
+ readonly I: typeof TokenCountAllocatedToLpForAuctionRequest;
67
+ readonly O: typeof TokenCountAllocatedToLpForAuctionResponse;
68
+ readonly idempotency: MethodIdempotency.NoSideEffects;
69
+ readonly service: {
70
+ readonly typeName: "uniswap.liquidity.v1.AuctionService";
71
+ };
72
+ };
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
6
- import { ClaimTokensRequest, ClaimTokensResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
6
+ import { ClaimTokensRequest, ClaimTokensResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse, TokenCountAllocatedToLpForAuctionRequest, TokenCountAllocatedToLpForAuctionResponse } from "./auction_pb.js";
7
7
  /**
8
8
  * @generated from rpc uniswap.liquidity.v1.AuctionService.SubmitBid
9
9
  */
@@ -60,3 +60,17 @@ export const exitBidAndClaimTokens = {
60
60
  typeName: "uniswap.liquidity.v1.AuctionService"
61
61
  }
62
62
  };
63
+ /**
64
+ * @generated from rpc uniswap.liquidity.v1.AuctionService.TokenCountAllocatedToLpForAuction
65
+ */
66
+ export const tokenCountAllocatedToLpForAuction = {
67
+ localName: "tokenCountAllocatedToLpForAuction",
68
+ name: "TokenCountAllocatedToLpForAuction",
69
+ kind: MethodKind.Unary,
70
+ I: TokenCountAllocatedToLpForAuctionRequest,
71
+ O: TokenCountAllocatedToLpForAuctionResponse,
72
+ idempotency: MethodIdempotency.NoSideEffects,
73
+ service: {
74
+ typeName: "uniswap.liquidity.v1.AuctionService"
75
+ }
76
+ };
@@ -1,4 +1,4 @@
1
- import { ClaimTokensRequest, ClaimTokensResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
1
+ import { ClaimTokensRequest, ClaimTokensResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse, TokenCountAllocatedToLpForAuctionRequest, TokenCountAllocatedToLpForAuctionResponse } from "./auction_pb.js";
2
2
  import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from service uniswap.liquidity.v1.AuctionService
@@ -46,5 +46,15 @@ export declare const AuctionService: {
46
46
  readonly kind: MethodKind.Unary;
47
47
  readonly idempotency: MethodIdempotency.NoSideEffects;
48
48
  };
49
+ /**
50
+ * @generated from rpc uniswap.liquidity.v1.AuctionService.TokenCountAllocatedToLpForAuction
51
+ */
52
+ readonly tokenCountAllocatedToLpForAuction: {
53
+ readonly name: "TokenCountAllocatedToLpForAuction";
54
+ readonly I: typeof TokenCountAllocatedToLpForAuctionRequest;
55
+ readonly O: typeof TokenCountAllocatedToLpForAuctionResponse;
56
+ readonly kind: MethodKind.Unary;
57
+ readonly idempotency: MethodIdempotency.NoSideEffects;
58
+ };
49
59
  };
50
60
  };
@@ -2,7 +2,7 @@
2
2
  // @generated from file uniswap/liquidity/v1/auction.proto (package uniswap.liquidity.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { ClaimTokensRequest, ClaimTokensResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
5
+ import { ClaimTokensRequest, ClaimTokensResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse, TokenCountAllocatedToLpForAuctionRequest, TokenCountAllocatedToLpForAuctionResponse } from "./auction_pb.js";
6
6
  import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * @generated from service uniswap.liquidity.v1.AuctionService
@@ -50,5 +50,15 @@ export const AuctionService = {
50
50
  kind: MethodKind.Unary,
51
51
  idempotency: MethodIdempotency.NoSideEffects,
52
52
  },
53
+ /**
54
+ * @generated from rpc uniswap.liquidity.v1.AuctionService.TokenCountAllocatedToLpForAuction
55
+ */
56
+ tokenCountAllocatedToLpForAuction: {
57
+ name: "TokenCountAllocatedToLpForAuction",
58
+ I: TokenCountAllocatedToLpForAuctionRequest,
59
+ O: TokenCountAllocatedToLpForAuctionResponse,
60
+ kind: MethodKind.Unary,
61
+ idempotency: MethodIdempotency.NoSideEffects,
62
+ },
53
63
  }
54
64
  };
@@ -1,6 +1,6 @@
1
1
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
2
  import { Message, proto3 } from "@bufbuild/protobuf";
3
- import { ChainId, TransactionRequest } from "./types_pb.js";
3
+ import { BidToExit, ChainId, TransactionRequest } from "./types_pb.js";
4
4
  /**
5
5
  * REQUESTS & RESPONSES
6
6
  *
@@ -198,9 +198,9 @@ export declare class ClaimTokensResponse extends Message<ClaimTokensResponse> {
198
198
  */
199
199
  export declare class ExitBidAndClaimTokensRequest extends Message<ExitBidAndClaimTokensRequest> {
200
200
  /**
201
- * @generated from field: string bid_id = 1;
201
+ * @generated from field: repeated uniswap.liquidity.v1.BidToExit bids = 1;
202
202
  */
203
- bidId: string;
203
+ bids: BidToExit[];
204
204
  /**
205
205
  * @generated from field: string auction_contract_address = 2;
206
206
  */
@@ -251,3 +251,45 @@ export declare class ExitBidAndClaimTokensResponse extends Message<ExitBidAndCla
251
251
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExitBidAndClaimTokensResponse;
252
252
  static equals(a: ExitBidAndClaimTokensResponse | PlainMessage<ExitBidAndClaimTokensResponse> | undefined, b: ExitBidAndClaimTokensResponse | PlainMessage<ExitBidAndClaimTokensResponse> | undefined): boolean;
253
253
  }
254
+ /**
255
+ * @generated from message uniswap.liquidity.v1.TokenCountAllocatedToLpForAuctionRequest
256
+ */
257
+ export declare class TokenCountAllocatedToLpForAuctionRequest extends Message<TokenCountAllocatedToLpForAuctionRequest> {
258
+ /**
259
+ * @generated from field: string auctionContractAddress = 1;
260
+ */
261
+ auctionContractAddress: string;
262
+ /**
263
+ * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 2;
264
+ */
265
+ chainId: ChainId;
266
+ constructor(data?: PartialMessage<TokenCountAllocatedToLpForAuctionRequest>);
267
+ static readonly runtime: typeof proto3;
268
+ static readonly typeName = "uniswap.liquidity.v1.TokenCountAllocatedToLpForAuctionRequest";
269
+ static readonly fields: FieldList;
270
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenCountAllocatedToLpForAuctionRequest;
271
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenCountAllocatedToLpForAuctionRequest;
272
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenCountAllocatedToLpForAuctionRequest;
273
+ static equals(a: TokenCountAllocatedToLpForAuctionRequest | PlainMessage<TokenCountAllocatedToLpForAuctionRequest> | undefined, b: TokenCountAllocatedToLpForAuctionRequest | PlainMessage<TokenCountAllocatedToLpForAuctionRequest> | undefined): boolean;
274
+ }
275
+ /**
276
+ * @generated from message uniswap.liquidity.v1.TokenCountAllocatedToLpForAuctionResponse
277
+ */
278
+ export declare class TokenCountAllocatedToLpForAuctionResponse extends Message<TokenCountAllocatedToLpForAuctionResponse> {
279
+ /**
280
+ * @generated from field: string request_id = 1;
281
+ */
282
+ requestId: string;
283
+ /**
284
+ * @generated from field: string token_count_allocated_to_lp = 2;
285
+ */
286
+ tokenCountAllocatedToLp: string;
287
+ constructor(data?: PartialMessage<TokenCountAllocatedToLpForAuctionResponse>);
288
+ static readonly runtime: typeof proto3;
289
+ static readonly typeName = "uniswap.liquidity.v1.TokenCountAllocatedToLpForAuctionResponse";
290
+ static readonly fields: FieldList;
291
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenCountAllocatedToLpForAuctionResponse;
292
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenCountAllocatedToLpForAuctionResponse;
293
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenCountAllocatedToLpForAuctionResponse;
294
+ static equals(a: TokenCountAllocatedToLpForAuctionResponse | PlainMessage<TokenCountAllocatedToLpForAuctionResponse> | undefined, b: TokenCountAllocatedToLpForAuctionResponse | PlainMessage<TokenCountAllocatedToLpForAuctionResponse> | undefined): boolean;
295
+ }
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { Message, proto3 } from "@bufbuild/protobuf";
6
- import { ChainId, TransactionRequest } from "./types_pb.js";
6
+ import { BidToExit, ChainId, TransactionRequest } from "./types_pb.js";
7
7
  /**
8
8
  * REQUESTS & RESPONSES
9
9
  *
@@ -255,9 +255,9 @@ export class ExitBidAndClaimTokensRequest extends Message {
255
255
  constructor(data) {
256
256
  super();
257
257
  /**
258
- * @generated from field: string bid_id = 1;
258
+ * @generated from field: repeated uniswap.liquidity.v1.BidToExit bids = 1;
259
259
  */
260
- this.bidId = "";
260
+ this.bids = [];
261
261
  /**
262
262
  * @generated from field: string auction_contract_address = 2;
263
263
  */
@@ -288,7 +288,7 @@ export class ExitBidAndClaimTokensRequest extends Message {
288
288
  ExitBidAndClaimTokensRequest.runtime = proto3;
289
289
  ExitBidAndClaimTokensRequest.typeName = "uniswap.liquidity.v1.ExitBidAndClaimTokensRequest";
290
290
  ExitBidAndClaimTokensRequest.fields = proto3.util.newFieldList(() => [
291
- { no: 1, name: "bid_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
291
+ { no: 1, name: "bids", kind: "message", T: BidToExit, repeated: true },
292
292
  { no: 2, name: "auction_contract_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
293
293
  { no: 3, name: "chain_id", kind: "enum", T: proto3.getEnumType(ChainId) },
294
294
  { no: 4, name: "wallet_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -326,3 +326,73 @@ ExitBidAndClaimTokensResponse.fields = proto3.util.newFieldList(() => [
326
326
  { no: 2, name: "exit_bid_and_claim_tokens", kind: "message", T: TransactionRequest },
327
327
  { no: 3, name: "gas_fee", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
328
328
  ]);
329
+ /**
330
+ * @generated from message uniswap.liquidity.v1.TokenCountAllocatedToLpForAuctionRequest
331
+ */
332
+ export class TokenCountAllocatedToLpForAuctionRequest extends Message {
333
+ constructor(data) {
334
+ super();
335
+ /**
336
+ * @generated from field: string auctionContractAddress = 1;
337
+ */
338
+ this.auctionContractAddress = "";
339
+ /**
340
+ * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 2;
341
+ */
342
+ this.chainId = ChainId.CHAIN_ID_UNSPECIFIED;
343
+ proto3.util.initPartial(data, this);
344
+ }
345
+ static fromBinary(bytes, options) {
346
+ return new TokenCountAllocatedToLpForAuctionRequest().fromBinary(bytes, options);
347
+ }
348
+ static fromJson(jsonValue, options) {
349
+ return new TokenCountAllocatedToLpForAuctionRequest().fromJson(jsonValue, options);
350
+ }
351
+ static fromJsonString(jsonString, options) {
352
+ return new TokenCountAllocatedToLpForAuctionRequest().fromJsonString(jsonString, options);
353
+ }
354
+ static equals(a, b) {
355
+ return proto3.util.equals(TokenCountAllocatedToLpForAuctionRequest, a, b);
356
+ }
357
+ }
358
+ TokenCountAllocatedToLpForAuctionRequest.runtime = proto3;
359
+ TokenCountAllocatedToLpForAuctionRequest.typeName = "uniswap.liquidity.v1.TokenCountAllocatedToLpForAuctionRequest";
360
+ TokenCountAllocatedToLpForAuctionRequest.fields = proto3.util.newFieldList(() => [
361
+ { no: 1, name: "auctionContractAddress", kind: "scalar", T: 9 /* ScalarType.STRING */ },
362
+ { no: 2, name: "chain_id", kind: "enum", T: proto3.getEnumType(ChainId) },
363
+ ]);
364
+ /**
365
+ * @generated from message uniswap.liquidity.v1.TokenCountAllocatedToLpForAuctionResponse
366
+ */
367
+ export class TokenCountAllocatedToLpForAuctionResponse extends Message {
368
+ constructor(data) {
369
+ super();
370
+ /**
371
+ * @generated from field: string request_id = 1;
372
+ */
373
+ this.requestId = "";
374
+ /**
375
+ * @generated from field: string token_count_allocated_to_lp = 2;
376
+ */
377
+ this.tokenCountAllocatedToLp = "";
378
+ proto3.util.initPartial(data, this);
379
+ }
380
+ static fromBinary(bytes, options) {
381
+ return new TokenCountAllocatedToLpForAuctionResponse().fromBinary(bytes, options);
382
+ }
383
+ static fromJson(jsonValue, options) {
384
+ return new TokenCountAllocatedToLpForAuctionResponse().fromJson(jsonValue, options);
385
+ }
386
+ static fromJsonString(jsonString, options) {
387
+ return new TokenCountAllocatedToLpForAuctionResponse().fromJsonString(jsonString, options);
388
+ }
389
+ static equals(a, b) {
390
+ return proto3.util.equals(TokenCountAllocatedToLpForAuctionResponse, a, b);
391
+ }
392
+ }
393
+ TokenCountAllocatedToLpForAuctionResponse.runtime = proto3;
394
+ TokenCountAllocatedToLpForAuctionResponse.typeName = "uniswap.liquidity.v1.TokenCountAllocatedToLpForAuctionResponse";
395
+ TokenCountAllocatedToLpForAuctionResponse.fields = proto3.util.newFieldList(() => [
396
+ { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
397
+ { no: 2, name: "token_count_allocated_to_lp", kind: "scalar", T: 9 /* ScalarType.STRING */ },
398
+ ]);
@@ -1779,3 +1779,24 @@ export declare class V4CheckApprovalLPRequest extends Message<V4CheckApprovalLPR
1779
1779
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V4CheckApprovalLPRequest;
1780
1780
  static equals(a: V4CheckApprovalLPRequest | PlainMessage<V4CheckApprovalLPRequest> | undefined, b: V4CheckApprovalLPRequest | PlainMessage<V4CheckApprovalLPRequest> | undefined): boolean;
1781
1781
  }
1782
+ /**
1783
+ * @generated from message uniswap.liquidity.v1.BidToExit
1784
+ */
1785
+ export declare class BidToExit extends Message<BidToExit> {
1786
+ /**
1787
+ * @generated from field: string bidId = 1;
1788
+ */
1789
+ bidId: string;
1790
+ /**
1791
+ * @generated from field: bool isExited = 2;
1792
+ */
1793
+ isExited: boolean;
1794
+ constructor(data?: PartialMessage<BidToExit>);
1795
+ static readonly runtime: typeof proto3;
1796
+ static readonly typeName = "uniswap.liquidity.v1.BidToExit";
1797
+ static readonly fields: FieldList;
1798
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BidToExit;
1799
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BidToExit;
1800
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BidToExit;
1801
+ static equals(a: BidToExit | PlainMessage<BidToExit> | undefined, b: BidToExit | PlainMessage<BidToExit> | undefined): boolean;
1802
+ }
@@ -1987,3 +1987,38 @@ V4CheckApprovalLPRequest.fields = proto3.util.newFieldList(() => [
1987
1987
  { no: 9, name: "generate_permit_as_transaction", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1988
1988
  { no: 10, name: "simulate_transaction", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1989
1989
  ]);
1990
+ /**
1991
+ * @generated from message uniswap.liquidity.v1.BidToExit
1992
+ */
1993
+ export class BidToExit extends Message {
1994
+ constructor(data) {
1995
+ super();
1996
+ /**
1997
+ * @generated from field: string bidId = 1;
1998
+ */
1999
+ this.bidId = "";
2000
+ /**
2001
+ * @generated from field: bool isExited = 2;
2002
+ */
2003
+ this.isExited = false;
2004
+ proto3.util.initPartial(data, this);
2005
+ }
2006
+ static fromBinary(bytes, options) {
2007
+ return new BidToExit().fromBinary(bytes, options);
2008
+ }
2009
+ static fromJson(jsonValue, options) {
2010
+ return new BidToExit().fromJson(jsonValue, options);
2011
+ }
2012
+ static fromJsonString(jsonString, options) {
2013
+ return new BidToExit().fromJsonString(jsonString, options);
2014
+ }
2015
+ static equals(a, b) {
2016
+ return proto3.util.equals(BidToExit, a, b);
2017
+ }
2018
+ }
2019
+ BidToExit.runtime = proto3;
2020
+ BidToExit.typeName = "uniswap.liquidity.v1.BidToExit";
2021
+ BidToExit.fields = proto3.util.newFieldList(() => [
2022
+ { no: 1, name: "bidId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2023
+ { no: 2, name: "isExited", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2024
+ ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-liquidity",
3
- "version": "0.0.17",
3
+ "version": "0.0.19",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },