@uniswap/client-liquidity 0.0.17 → 0.0.18

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
  };
@@ -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
+ }
@@ -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
+ ]);
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.18",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },