@uniswap/client-liquidity 0.0.15 → 0.0.16

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 { ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
2
+ import { ClaimTokensRequest, ClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
3
3
  /**
4
4
  * @generated from rpc uniswap.liquidity.v1.AuctionService.SubmitBid
5
5
  */
@@ -28,3 +28,17 @@ export declare const exitBidPosition: {
28
28
  readonly typeName: "uniswap.liquidity.v1.AuctionService";
29
29
  };
30
30
  };
31
+ /**
32
+ * @generated from rpc uniswap.liquidity.v1.AuctionService.ClaimTokens
33
+ */
34
+ export declare const claimTokens: {
35
+ readonly localName: "claimTokens";
36
+ readonly name: "ClaimTokens";
37
+ readonly kind: MethodKind.Unary;
38
+ readonly I: typeof ClaimTokensRequest;
39
+ readonly O: typeof ClaimTokensResponse;
40
+ readonly idempotency: MethodIdempotency.NoSideEffects;
41
+ readonly service: {
42
+ readonly typeName: "uniswap.liquidity.v1.AuctionService";
43
+ };
44
+ };
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
6
- import { ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
6
+ import { ClaimTokensRequest, ClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
7
7
  /**
8
8
  * @generated from rpc uniswap.liquidity.v1.AuctionService.SubmitBid
9
9
  */
@@ -32,3 +32,17 @@ export const exitBidPosition = {
32
32
  typeName: "uniswap.liquidity.v1.AuctionService"
33
33
  }
34
34
  };
35
+ /**
36
+ * @generated from rpc uniswap.liquidity.v1.AuctionService.ClaimTokens
37
+ */
38
+ export const claimTokens = {
39
+ localName: "claimTokens",
40
+ name: "ClaimTokens",
41
+ kind: MethodKind.Unary,
42
+ I: ClaimTokensRequest,
43
+ O: ClaimTokensResponse,
44
+ idempotency: MethodIdempotency.NoSideEffects,
45
+ service: {
46
+ typeName: "uniswap.liquidity.v1.AuctionService"
47
+ }
48
+ };
@@ -1,4 +1,4 @@
1
- import { ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
1
+ import { ClaimTokensRequest, ClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
2
2
  import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from service uniswap.liquidity.v1.AuctionService
@@ -26,5 +26,15 @@ export declare const AuctionService: {
26
26
  readonly kind: MethodKind.Unary;
27
27
  readonly idempotency: MethodIdempotency.NoSideEffects;
28
28
  };
29
+ /**
30
+ * @generated from rpc uniswap.liquidity.v1.AuctionService.ClaimTokens
31
+ */
32
+ readonly claimTokens: {
33
+ readonly name: "ClaimTokens";
34
+ readonly I: typeof ClaimTokensRequest;
35
+ readonly O: typeof ClaimTokensResponse;
36
+ readonly kind: MethodKind.Unary;
37
+ readonly idempotency: MethodIdempotency.NoSideEffects;
38
+ };
29
39
  };
30
40
  };
@@ -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 { ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
5
+ import { ClaimTokensRequest, ClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
6
6
  import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * @generated from service uniswap.liquidity.v1.AuctionService
@@ -30,5 +30,15 @@ export const AuctionService = {
30
30
  kind: MethodKind.Unary,
31
31
  idempotency: MethodIdempotency.NoSideEffects,
32
32
  },
33
+ /**
34
+ * @generated from rpc uniswap.liquidity.v1.AuctionService.ClaimTokens
35
+ */
36
+ claimTokens: {
37
+ name: "ClaimTokens",
38
+ I: ClaimTokensRequest,
39
+ O: ClaimTokensResponse,
40
+ kind: MethodKind.Unary,
41
+ idempotency: MethodIdempotency.NoSideEffects,
42
+ },
33
43
  }
34
44
  };
@@ -131,3 +131,65 @@ export declare class ExitBidPositionResponse extends Message<ExitBidPositionResp
131
131
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExitBidPositionResponse;
132
132
  static equals(a: ExitBidPositionResponse | PlainMessage<ExitBidPositionResponse> | undefined, b: ExitBidPositionResponse | PlainMessage<ExitBidPositionResponse> | undefined): boolean;
133
133
  }
134
+ /**
135
+ * @generated from message uniswap.liquidity.v1.ClaimTokensRequest
136
+ */
137
+ export declare class ClaimTokensRequest extends Message<ClaimTokensRequest> {
138
+ /**
139
+ * @generated from field: repeated string bids = 1;
140
+ */
141
+ bids: string[];
142
+ /**
143
+ * @generated from field: string auction_contract_address = 2;
144
+ */
145
+ auctionContractAddress: string;
146
+ /**
147
+ * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 3;
148
+ */
149
+ chainId: ChainId;
150
+ /**
151
+ * @generated from field: optional bool simulate_transaction = 4;
152
+ */
153
+ simulateTransaction?: boolean;
154
+ /**
155
+ * @generated from field: string wallet_address = 5;
156
+ */
157
+ walletAddress: string;
158
+ /**
159
+ * @generated from field: optional bool should_claim_all = 6;
160
+ */
161
+ shouldClaimAll?: boolean;
162
+ constructor(data?: PartialMessage<ClaimTokensRequest>);
163
+ static readonly runtime: typeof proto3;
164
+ static readonly typeName = "uniswap.liquidity.v1.ClaimTokensRequest";
165
+ static readonly fields: FieldList;
166
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClaimTokensRequest;
167
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClaimTokensRequest;
168
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClaimTokensRequest;
169
+ static equals(a: ClaimTokensRequest | PlainMessage<ClaimTokensRequest> | undefined, b: ClaimTokensRequest | PlainMessage<ClaimTokensRequest> | undefined): boolean;
170
+ }
171
+ /**
172
+ * @generated from message uniswap.liquidity.v1.ClaimTokensResponse
173
+ */
174
+ export declare class ClaimTokensResponse extends Message<ClaimTokensResponse> {
175
+ /**
176
+ * @generated from field: string request_id = 1;
177
+ */
178
+ requestId: string;
179
+ /**
180
+ * @generated from field: uniswap.liquidity.v1.TransactionRequest claim_tokens = 2;
181
+ */
182
+ claimTokens?: TransactionRequest;
183
+ /**
184
+ * @generated from field: optional string gas_fee = 3;
185
+ */
186
+ gasFee?: string;
187
+ constructor(data?: PartialMessage<ClaimTokensResponse>);
188
+ static readonly runtime: typeof proto3;
189
+ static readonly typeName = "uniswap.liquidity.v1.ClaimTokensResponse";
190
+ static readonly fields: FieldList;
191
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClaimTokensResponse;
192
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClaimTokensResponse;
193
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClaimTokensResponse;
194
+ static equals(a: ClaimTokensResponse | PlainMessage<ClaimTokensResponse> | undefined, b: ClaimTokensResponse | PlainMessage<ClaimTokensResponse> | undefined): boolean;
195
+ }
@@ -169,3 +169,82 @@ ExitBidPositionResponse.fields = proto3.util.newFieldList(() => [
169
169
  { no: 2, name: "exitBid", kind: "message", T: TransactionRequest },
170
170
  { no: 3, name: "gasFee", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
171
171
  ]);
172
+ /**
173
+ * @generated from message uniswap.liquidity.v1.ClaimTokensRequest
174
+ */
175
+ export class ClaimTokensRequest extends Message {
176
+ constructor(data) {
177
+ super();
178
+ /**
179
+ * @generated from field: repeated string bids = 1;
180
+ */
181
+ this.bids = [];
182
+ /**
183
+ * @generated from field: string auction_contract_address = 2;
184
+ */
185
+ this.auctionContractAddress = "";
186
+ /**
187
+ * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 3;
188
+ */
189
+ this.chainId = ChainId.CHAIN_ID_UNSPECIFIED;
190
+ /**
191
+ * @generated from field: string wallet_address = 5;
192
+ */
193
+ this.walletAddress = "";
194
+ proto3.util.initPartial(data, this);
195
+ }
196
+ static fromBinary(bytes, options) {
197
+ return new ClaimTokensRequest().fromBinary(bytes, options);
198
+ }
199
+ static fromJson(jsonValue, options) {
200
+ return new ClaimTokensRequest().fromJson(jsonValue, options);
201
+ }
202
+ static fromJsonString(jsonString, options) {
203
+ return new ClaimTokensRequest().fromJsonString(jsonString, options);
204
+ }
205
+ static equals(a, b) {
206
+ return proto3.util.equals(ClaimTokensRequest, a, b);
207
+ }
208
+ }
209
+ ClaimTokensRequest.runtime = proto3;
210
+ ClaimTokensRequest.typeName = "uniswap.liquidity.v1.ClaimTokensRequest";
211
+ ClaimTokensRequest.fields = proto3.util.newFieldList(() => [
212
+ { no: 1, name: "bids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
213
+ { no: 2, name: "auction_contract_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
214
+ { no: 3, name: "chain_id", kind: "enum", T: proto3.getEnumType(ChainId) },
215
+ { no: 4, name: "simulate_transaction", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
216
+ { no: 5, name: "wallet_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
217
+ { no: 6, name: "should_claim_all", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
218
+ ]);
219
+ /**
220
+ * @generated from message uniswap.liquidity.v1.ClaimTokensResponse
221
+ */
222
+ export class ClaimTokensResponse extends Message {
223
+ constructor(data) {
224
+ super();
225
+ /**
226
+ * @generated from field: string request_id = 1;
227
+ */
228
+ this.requestId = "";
229
+ proto3.util.initPartial(data, this);
230
+ }
231
+ static fromBinary(bytes, options) {
232
+ return new ClaimTokensResponse().fromBinary(bytes, options);
233
+ }
234
+ static fromJson(jsonValue, options) {
235
+ return new ClaimTokensResponse().fromJson(jsonValue, options);
236
+ }
237
+ static fromJsonString(jsonString, options) {
238
+ return new ClaimTokensResponse().fromJsonString(jsonString, options);
239
+ }
240
+ static equals(a, b) {
241
+ return proto3.util.equals(ClaimTokensResponse, a, b);
242
+ }
243
+ }
244
+ ClaimTokensResponse.runtime = proto3;
245
+ ClaimTokensResponse.typeName = "uniswap.liquidity.v1.ClaimTokensResponse";
246
+ ClaimTokensResponse.fields = proto3.util.newFieldList(() => [
247
+ { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
248
+ { no: 2, name: "claim_tokens", kind: "message", T: TransactionRequest },
249
+ { no: 3, name: "gas_fee", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
250
+ ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-liquidity",
3
- "version": "0.0.15",
3
+ "version": "0.0.16",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },