@uniswap/client-liquidity 0.0.3 → 0.0.6

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 { MigrateV2ToV3LPPositionRequest, MigrateV2ToV3LPPositionResponse, MigrateV3ToV4LPPositionRequest, MigrateV3ToV4LPPositionResponse } from "./api_pb.js";
2
+ import { ClaimLPRewardsRequest, ClaimLPRewardsResponse, MigrateV2ToV3LPPositionRequest, MigrateV2ToV3LPPositionResponse, MigrateV3ToV4LPPositionRequest, MigrateV3ToV4LPPositionResponse } from "./api_pb.js";
3
3
  /**
4
4
  * @generated from rpc uniswap.liquidity.v1.LiquidityService.MigrateV2ToV3LPPosition
5
5
  */
@@ -28,3 +28,17 @@ export declare const migrateV3ToV4LPPosition: {
28
28
  readonly typeName: "uniswap.liquidity.v1.LiquidityService";
29
29
  };
30
30
  };
31
+ /**
32
+ * @generated from rpc uniswap.liquidity.v1.LiquidityService.ClaimLPRewards
33
+ */
34
+ export declare const claimLPRewards: {
35
+ readonly localName: "claimLPRewards";
36
+ readonly name: "ClaimLPRewards";
37
+ readonly kind: MethodKind.Unary;
38
+ readonly I: typeof ClaimLPRewardsRequest;
39
+ readonly O: typeof ClaimLPRewardsResponse;
40
+ readonly idempotency: MethodIdempotency.NoSideEffects;
41
+ readonly service: {
42
+ readonly typeName: "uniswap.liquidity.v1.LiquidityService";
43
+ };
44
+ };
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
6
- import { MigrateV2ToV3LPPositionRequest, MigrateV2ToV3LPPositionResponse, MigrateV3ToV4LPPositionRequest, MigrateV3ToV4LPPositionResponse } from "./api_pb.js";
6
+ import { ClaimLPRewardsRequest, ClaimLPRewardsResponse, MigrateV2ToV3LPPositionRequest, MigrateV2ToV3LPPositionResponse, MigrateV3ToV4LPPositionRequest, MigrateV3ToV4LPPositionResponse } from "./api_pb.js";
7
7
  /**
8
8
  * @generated from rpc uniswap.liquidity.v1.LiquidityService.MigrateV2ToV3LPPosition
9
9
  */
@@ -32,3 +32,17 @@ export const migrateV3ToV4LPPosition = {
32
32
  typeName: "uniswap.liquidity.v1.LiquidityService"
33
33
  }
34
34
  };
35
+ /**
36
+ * @generated from rpc uniswap.liquidity.v1.LiquidityService.ClaimLPRewards
37
+ */
38
+ export const claimLPRewards = {
39
+ localName: "claimLPRewards",
40
+ name: "ClaimLPRewards",
41
+ kind: MethodKind.Unary,
42
+ I: ClaimLPRewardsRequest,
43
+ O: ClaimLPRewardsResponse,
44
+ idempotency: MethodIdempotency.NoSideEffects,
45
+ service: {
46
+ typeName: "uniswap.liquidity.v1.LiquidityService"
47
+ }
48
+ };
@@ -1,4 +1,4 @@
1
- import { MigrateV2ToV3LPPositionRequest, MigrateV2ToV3LPPositionResponse, MigrateV3ToV4LPPositionRequest, MigrateV3ToV4LPPositionResponse } from "./api_pb.js";
1
+ import { ClaimLPRewardsRequest, ClaimLPRewardsResponse, MigrateV2ToV3LPPositionRequest, MigrateV2ToV3LPPositionResponse, MigrateV3ToV4LPPositionRequest, MigrateV3ToV4LPPositionResponse } from "./api_pb.js";
2
2
  import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from service uniswap.liquidity.v1.LiquidityService
@@ -26,5 +26,15 @@ export declare const LiquidityService: {
26
26
  readonly kind: MethodKind.Unary;
27
27
  readonly idempotency: MethodIdempotency.NoSideEffects;
28
28
  };
29
+ /**
30
+ * @generated from rpc uniswap.liquidity.v1.LiquidityService.ClaimLPRewards
31
+ */
32
+ readonly claimLPRewards: {
33
+ readonly name: "ClaimLPRewards";
34
+ readonly I: typeof ClaimLPRewardsRequest;
35
+ readonly O: typeof ClaimLPRewardsResponse;
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/api.proto (package uniswap.liquidity.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { MigrateV2ToV3LPPositionRequest, MigrateV2ToV3LPPositionResponse, MigrateV3ToV4LPPositionRequest, MigrateV3ToV4LPPositionResponse } from "./api_pb.js";
5
+ import { ClaimLPRewardsRequest, ClaimLPRewardsResponse, MigrateV2ToV3LPPositionRequest, MigrateV2ToV3LPPositionResponse, MigrateV3ToV4LPPositionRequest, MigrateV3ToV4LPPositionResponse } from "./api_pb.js";
6
6
  import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * @generated from service uniswap.liquidity.v1.LiquidityService
@@ -30,5 +30,15 @@ export const LiquidityService = {
30
30
  kind: MethodKind.Unary,
31
31
  idempotency: MethodIdempotency.NoSideEffects,
32
32
  },
33
+ /**
34
+ * @generated from rpc uniswap.liquidity.v1.LiquidityService.ClaimLPRewards
35
+ */
36
+ claimLPRewards: {
37
+ name: "ClaimLPRewards",
38
+ I: ClaimLPRewardsRequest,
39
+ O: ClaimLPRewardsResponse,
40
+ kind: MethodKind.Unary,
41
+ idempotency: MethodIdempotency.NoSideEffects,
42
+ },
33
43
  }
34
44
  };
@@ -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, V3Position, V4Position } from "./types_pb.js";
3
+ import { ChainId, Distributor, TransactionRequest, V2CreateLPPosition, V3CreateLPPosition, V3Position, V4CreateLPPosition, V4Position } from "./types_pb.js";
4
4
  /**
5
5
  * REQUESTS & RESPONSES
6
6
  *
@@ -60,6 +60,14 @@ export declare class MigrateV2ToV3LPPositionResponse extends Message<MigrateV2To
60
60
  * @generated from field: optional string gasFee = 3;
61
61
  */
62
62
  gasFee?: string;
63
+ /**
64
+ * @generated from field: optional string estimated_refund_token0 = 4;
65
+ */
66
+ estimatedRefundToken0?: string;
67
+ /**
68
+ * @generated from field: optional string estimated_refund_token1 = 5;
69
+ */
70
+ estimatedRefundToken1?: string;
63
71
  constructor(data?: PartialMessage<MigrateV2ToV3LPPositionResponse>);
64
72
  static readonly runtime: typeof proto3;
65
73
  static readonly typeName = "uniswap.liquidity.v1.MigrateV2ToV3LPPositionResponse";
@@ -162,6 +170,14 @@ export declare class MigrateV3ToV4LPPositionResponse extends Message<MigrateV3To
162
170
  * @generated from field: optional string gasFee = 3;
163
171
  */
164
172
  gasFee?: string;
173
+ /**
174
+ * @generated from field: optional string estimated_refund_token0 = 4;
175
+ */
176
+ estimatedRefundToken0?: string;
177
+ /**
178
+ * @generated from field: optional string estimated_refund_token1 = 5;
179
+ */
180
+ estimatedRefundToken1?: string;
165
181
  constructor(data?: PartialMessage<MigrateV3ToV4LPPositionResponse>);
166
182
  static readonly runtime: typeof proto3;
167
183
  static readonly typeName = "uniswap.liquidity.v1.MigrateV3ToV4LPPositionResponse";
@@ -171,3 +187,136 @@ export declare class MigrateV3ToV4LPPositionResponse extends Message<MigrateV3To
171
187
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MigrateV3ToV4LPPositionResponse;
172
188
  static equals(a: MigrateV3ToV4LPPositionResponse | PlainMessage<MigrateV3ToV4LPPositionResponse> | undefined, b: MigrateV3ToV4LPPositionResponse | PlainMessage<MigrateV3ToV4LPPositionResponse> | undefined): boolean;
173
189
  }
190
+ /**
191
+ * @generated from message uniswap.liquidity.v1.ClaimLPRewardsRequest
192
+ */
193
+ export declare class ClaimLPRewardsRequest extends Message<ClaimLPRewardsRequest> {
194
+ /**
195
+ * @generated from field: string wallet_address = 1;
196
+ */
197
+ walletAddress: string;
198
+ /**
199
+ * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 2;
200
+ */
201
+ chainId: ChainId;
202
+ /**
203
+ * @generated from field: repeated string tokens = 3;
204
+ */
205
+ tokens: string[];
206
+ /**
207
+ * @generated from field: uniswap.liquidity.v1.Distributor distributor = 4;
208
+ */
209
+ distributor: Distributor;
210
+ /**
211
+ * @generated from field: bool simulate_transaction = 5;
212
+ */
213
+ simulateTransaction: boolean;
214
+ constructor(data?: PartialMessage<ClaimLPRewardsRequest>);
215
+ static readonly runtime: typeof proto3;
216
+ static readonly typeName = "uniswap.liquidity.v1.ClaimLPRewardsRequest";
217
+ static readonly fields: FieldList;
218
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClaimLPRewardsRequest;
219
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClaimLPRewardsRequest;
220
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClaimLPRewardsRequest;
221
+ static equals(a: ClaimLPRewardsRequest | PlainMessage<ClaimLPRewardsRequest> | undefined, b: ClaimLPRewardsRequest | PlainMessage<ClaimLPRewardsRequest> | undefined): boolean;
222
+ }
223
+ /**
224
+ * @generated from message uniswap.liquidity.v1.ClaimLPRewardsResponse
225
+ */
226
+ export declare class ClaimLPRewardsResponse extends Message<ClaimLPRewardsResponse> {
227
+ /**
228
+ * @generated from field: string request_id = 1;
229
+ */
230
+ requestId: string;
231
+ /**
232
+ * @generated from field: optional uniswap.liquidity.v1.TransactionRequest claim = 2;
233
+ */
234
+ claim?: TransactionRequest;
235
+ /**
236
+ * @generated from field: optional string gas_fee = 3;
237
+ */
238
+ gasFee?: string;
239
+ constructor(data?: PartialMessage<ClaimLPRewardsResponse>);
240
+ static readonly runtime: typeof proto3;
241
+ static readonly typeName = "uniswap.liquidity.v1.ClaimLPRewardsResponse";
242
+ static readonly fields: FieldList;
243
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClaimLPRewardsResponse;
244
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClaimLPRewardsResponse;
245
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClaimLPRewardsResponse;
246
+ static equals(a: ClaimLPRewardsResponse | PlainMessage<ClaimLPRewardsResponse> | undefined, b: ClaimLPRewardsResponse | PlainMessage<ClaimLPRewardsResponse> | undefined): boolean;
247
+ }
248
+ /**
249
+ * @generated from message uniswap.liquidity.v1.CreateLPPositionRequest
250
+ */
251
+ export declare class CreateLPPositionRequest extends Message<CreateLPPositionRequest> {
252
+ /**
253
+ * @generated from oneof uniswap.liquidity.v1.CreateLPPositionRequest.createLpPosition
254
+ */
255
+ createLpPosition: {
256
+ /**
257
+ * @generated from field: uniswap.liquidity.v1.V2CreateLPPosition v2_create_lp_position = 1;
258
+ */
259
+ value: V2CreateLPPosition;
260
+ case: "v2CreateLpPosition";
261
+ } | {
262
+ /**
263
+ * @generated from field: uniswap.liquidity.v1.V3CreateLPPosition v3_create_lp_position = 2;
264
+ */
265
+ value: V3CreateLPPosition;
266
+ case: "v3CreateLpPosition";
267
+ } | {
268
+ /**
269
+ * @generated from field: uniswap.liquidity.v1.V4CreateLPPosition v4_create_lp_position = 3;
270
+ */
271
+ value: V4CreateLPPosition;
272
+ case: "v4CreateLpPosition";
273
+ } | {
274
+ case: undefined;
275
+ value?: undefined;
276
+ };
277
+ constructor(data?: PartialMessage<CreateLPPositionRequest>);
278
+ static readonly runtime: typeof proto3;
279
+ static readonly typeName = "uniswap.liquidity.v1.CreateLPPositionRequest";
280
+ static readonly fields: FieldList;
281
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateLPPositionRequest;
282
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateLPPositionRequest;
283
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateLPPositionRequest;
284
+ static equals(a: CreateLPPositionRequest | PlainMessage<CreateLPPositionRequest> | undefined, b: CreateLPPositionRequest | PlainMessage<CreateLPPositionRequest> | undefined): boolean;
285
+ }
286
+ /**
287
+ * @generated from message uniswap.liquidity.v1.CreateLPPositionResponse
288
+ */
289
+ export declare class CreateLPPositionResponse extends Message<CreateLPPositionResponse> {
290
+ /**
291
+ * @generated from field: string request_id = 1;
292
+ */
293
+ requestId: string;
294
+ /**
295
+ * @generated from field: optional uniswap.liquidity.v1.TransactionRequest create = 2;
296
+ */
297
+ create?: TransactionRequest;
298
+ /**
299
+ * @generated from field: optional string dependent_amount = 3;
300
+ */
301
+ dependentAmount?: string;
302
+ /**
303
+ * @generated from field: optional string pool_liquidity = 4;
304
+ */
305
+ poolLiquidity?: string;
306
+ /**
307
+ * @generated from field: optional sint32 current_tick = 5;
308
+ */
309
+ currentTick?: number;
310
+ /**
311
+ * @generated from field: optional string sqrtRatioX96 = 6;
312
+ */
313
+ sqrtRatioX96?: string;
314
+ constructor(data?: PartialMessage<CreateLPPositionResponse>);
315
+ static readonly runtime: typeof proto3;
316
+ static readonly typeName = "uniswap.liquidity.v1.CreateLPPositionResponse";
317
+ static readonly fields: FieldList;
318
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateLPPositionResponse;
319
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateLPPositionResponse;
320
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateLPPositionResponse;
321
+ static equals(a: CreateLPPositionResponse | PlainMessage<CreateLPPositionResponse> | undefined, b: CreateLPPositionResponse | PlainMessage<CreateLPPositionResponse> | undefined): boolean;
322
+ }
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { Message, proto3 } from "@bufbuild/protobuf";
6
- import { ChainId, TransactionRequest, V3Position, V4Position } from "./types_pb.js";
6
+ import { ChainId, Distributor, TransactionRequest, V2CreateLPPosition, V3CreateLPPosition, V3Position, V4CreateLPPosition, V4Position } from "./types_pb.js";
7
7
  /**
8
8
  * REQUESTS & RESPONSES
9
9
  *
@@ -77,6 +77,8 @@ MigrateV2ToV3LPPositionResponse.fields = proto3.util.newFieldList(() => [
77
77
  { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
78
78
  { no: 2, name: "migrate", kind: "message", T: TransactionRequest },
79
79
  { no: 3, name: "gasFee", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
80
+ { no: 4, name: "estimated_refund_token0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
81
+ { no: 5, name: "estimated_refund_token1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
80
82
  ]);
81
83
  /**
82
84
  * @generated from message uniswap.liquidity.v1.MigrateV3ToV4LPPositionRequest
@@ -186,4 +188,155 @@ MigrateV3ToV4LPPositionResponse.fields = proto3.util.newFieldList(() => [
186
188
  { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
187
189
  { no: 2, name: "migrate", kind: "message", T: TransactionRequest },
188
190
  { no: 3, name: "gasFee", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
191
+ { no: 4, name: "estimated_refund_token0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
192
+ { no: 5, name: "estimated_refund_token1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
193
+ ]);
194
+ /**
195
+ * @generated from message uniswap.liquidity.v1.ClaimLPRewardsRequest
196
+ */
197
+ export class ClaimLPRewardsRequest extends Message {
198
+ constructor(data) {
199
+ super();
200
+ /**
201
+ * @generated from field: string wallet_address = 1;
202
+ */
203
+ this.walletAddress = "";
204
+ /**
205
+ * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 2;
206
+ */
207
+ this.chainId = ChainId.CHAIN_ID_UNSPECIFIED;
208
+ /**
209
+ * @generated from field: repeated string tokens = 3;
210
+ */
211
+ this.tokens = [];
212
+ /**
213
+ * @generated from field: uniswap.liquidity.v1.Distributor distributor = 4;
214
+ */
215
+ this.distributor = Distributor.MERKLE;
216
+ /**
217
+ * @generated from field: bool simulate_transaction = 5;
218
+ */
219
+ this.simulateTransaction = false;
220
+ proto3.util.initPartial(data, this);
221
+ }
222
+ static fromBinary(bytes, options) {
223
+ return new ClaimLPRewardsRequest().fromBinary(bytes, options);
224
+ }
225
+ static fromJson(jsonValue, options) {
226
+ return new ClaimLPRewardsRequest().fromJson(jsonValue, options);
227
+ }
228
+ static fromJsonString(jsonString, options) {
229
+ return new ClaimLPRewardsRequest().fromJsonString(jsonString, options);
230
+ }
231
+ static equals(a, b) {
232
+ return proto3.util.equals(ClaimLPRewardsRequest, a, b);
233
+ }
234
+ }
235
+ ClaimLPRewardsRequest.runtime = proto3;
236
+ ClaimLPRewardsRequest.typeName = "uniswap.liquidity.v1.ClaimLPRewardsRequest";
237
+ ClaimLPRewardsRequest.fields = proto3.util.newFieldList(() => [
238
+ { no: 1, name: "wallet_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
239
+ { no: 2, name: "chain_id", kind: "enum", T: proto3.getEnumType(ChainId) },
240
+ { no: 3, name: "tokens", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
241
+ { no: 4, name: "distributor", kind: "enum", T: proto3.getEnumType(Distributor) },
242
+ { no: 5, name: "simulate_transaction", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
243
+ ]);
244
+ /**
245
+ * @generated from message uniswap.liquidity.v1.ClaimLPRewardsResponse
246
+ */
247
+ export class ClaimLPRewardsResponse extends Message {
248
+ constructor(data) {
249
+ super();
250
+ /**
251
+ * @generated from field: string request_id = 1;
252
+ */
253
+ this.requestId = "";
254
+ proto3.util.initPartial(data, this);
255
+ }
256
+ static fromBinary(bytes, options) {
257
+ return new ClaimLPRewardsResponse().fromBinary(bytes, options);
258
+ }
259
+ static fromJson(jsonValue, options) {
260
+ return new ClaimLPRewardsResponse().fromJson(jsonValue, options);
261
+ }
262
+ static fromJsonString(jsonString, options) {
263
+ return new ClaimLPRewardsResponse().fromJsonString(jsonString, options);
264
+ }
265
+ static equals(a, b) {
266
+ return proto3.util.equals(ClaimLPRewardsResponse, a, b);
267
+ }
268
+ }
269
+ ClaimLPRewardsResponse.runtime = proto3;
270
+ ClaimLPRewardsResponse.typeName = "uniswap.liquidity.v1.ClaimLPRewardsResponse";
271
+ ClaimLPRewardsResponse.fields = proto3.util.newFieldList(() => [
272
+ { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
273
+ { no: 2, name: "claim", kind: "message", T: TransactionRequest, opt: true },
274
+ { no: 3, name: "gas_fee", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
275
+ ]);
276
+ /**
277
+ * @generated from message uniswap.liquidity.v1.CreateLPPositionRequest
278
+ */
279
+ export class CreateLPPositionRequest extends Message {
280
+ constructor(data) {
281
+ super();
282
+ /**
283
+ * @generated from oneof uniswap.liquidity.v1.CreateLPPositionRequest.createLpPosition
284
+ */
285
+ this.createLpPosition = { case: undefined };
286
+ proto3.util.initPartial(data, this);
287
+ }
288
+ static fromBinary(bytes, options) {
289
+ return new CreateLPPositionRequest().fromBinary(bytes, options);
290
+ }
291
+ static fromJson(jsonValue, options) {
292
+ return new CreateLPPositionRequest().fromJson(jsonValue, options);
293
+ }
294
+ static fromJsonString(jsonString, options) {
295
+ return new CreateLPPositionRequest().fromJsonString(jsonString, options);
296
+ }
297
+ static equals(a, b) {
298
+ return proto3.util.equals(CreateLPPositionRequest, a, b);
299
+ }
300
+ }
301
+ CreateLPPositionRequest.runtime = proto3;
302
+ CreateLPPositionRequest.typeName = "uniswap.liquidity.v1.CreateLPPositionRequest";
303
+ CreateLPPositionRequest.fields = proto3.util.newFieldList(() => [
304
+ { no: 1, name: "v2_create_lp_position", kind: "message", T: V2CreateLPPosition, oneof: "createLpPosition" },
305
+ { no: 2, name: "v3_create_lp_position", kind: "message", T: V3CreateLPPosition, oneof: "createLpPosition" },
306
+ { no: 3, name: "v4_create_lp_position", kind: "message", T: V4CreateLPPosition, oneof: "createLpPosition" },
307
+ ]);
308
+ /**
309
+ * @generated from message uniswap.liquidity.v1.CreateLPPositionResponse
310
+ */
311
+ export class CreateLPPositionResponse extends Message {
312
+ constructor(data) {
313
+ super();
314
+ /**
315
+ * @generated from field: string request_id = 1;
316
+ */
317
+ this.requestId = "";
318
+ proto3.util.initPartial(data, this);
319
+ }
320
+ static fromBinary(bytes, options) {
321
+ return new CreateLPPositionResponse().fromBinary(bytes, options);
322
+ }
323
+ static fromJson(jsonValue, options) {
324
+ return new CreateLPPositionResponse().fromJson(jsonValue, options);
325
+ }
326
+ static fromJsonString(jsonString, options) {
327
+ return new CreateLPPositionResponse().fromJsonString(jsonString, options);
328
+ }
329
+ static equals(a, b) {
330
+ return proto3.util.equals(CreateLPPositionResponse, a, b);
331
+ }
332
+ }
333
+ CreateLPPositionResponse.runtime = proto3;
334
+ CreateLPPositionResponse.typeName = "uniswap.liquidity.v1.CreateLPPositionResponse";
335
+ CreateLPPositionResponse.fields = proto3.util.newFieldList(() => [
336
+ { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
337
+ { no: 2, name: "create", kind: "message", T: TransactionRequest, opt: true },
338
+ { no: 3, name: "dependent_amount", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
339
+ { no: 4, name: "pool_liquidity", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
340
+ { no: 5, name: "current_tick", kind: "scalar", T: 17 /* ScalarType.SINT32 */, opt: true },
341
+ { no: 6, name: "sqrtRatioX96", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
189
342
  ]);
@@ -1,5 +1,5 @@
1
1
  import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
2
- import { SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
2
+ import { ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
3
3
  /**
4
4
  * @generated from rpc uniswap.liquidity.v1.AuctionService.SubmitBid
5
5
  */
@@ -14,3 +14,17 @@ export declare const submitBid: {
14
14
  readonly typeName: "uniswap.liquidity.v1.AuctionService";
15
15
  };
16
16
  };
17
+ /**
18
+ * @generated from rpc uniswap.liquidity.v1.AuctionService.ExitBidPosition
19
+ */
20
+ export declare const exitBidPosition: {
21
+ readonly localName: "exitBidPosition";
22
+ readonly name: "ExitBidPosition";
23
+ readonly kind: MethodKind.Unary;
24
+ readonly I: typeof ExitBidPositionRequest;
25
+ readonly O: typeof ExitBidPositionResponse;
26
+ readonly idempotency: MethodIdempotency.NoSideEffects;
27
+ readonly service: {
28
+ readonly typeName: "uniswap.liquidity.v1.AuctionService";
29
+ };
30
+ };
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
6
- import { SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
6
+ import { ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
7
7
  /**
8
8
  * @generated from rpc uniswap.liquidity.v1.AuctionService.SubmitBid
9
9
  */
@@ -18,3 +18,17 @@ export const submitBid = {
18
18
  typeName: "uniswap.liquidity.v1.AuctionService"
19
19
  }
20
20
  };
21
+ /**
22
+ * @generated from rpc uniswap.liquidity.v1.AuctionService.ExitBidPosition
23
+ */
24
+ export const exitBidPosition = {
25
+ localName: "exitBidPosition",
26
+ name: "ExitBidPosition",
27
+ kind: MethodKind.Unary,
28
+ I: ExitBidPositionRequest,
29
+ O: ExitBidPositionResponse,
30
+ idempotency: MethodIdempotency.NoSideEffects,
31
+ service: {
32
+ typeName: "uniswap.liquidity.v1.AuctionService"
33
+ }
34
+ };
@@ -1,4 +1,4 @@
1
- import { SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
1
+ import { 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
@@ -16,5 +16,15 @@ export declare const AuctionService: {
16
16
  readonly kind: MethodKind.Unary;
17
17
  readonly idempotency: MethodIdempotency.NoSideEffects;
18
18
  };
19
+ /**
20
+ * @generated from rpc uniswap.liquidity.v1.AuctionService.ExitBidPosition
21
+ */
22
+ readonly exitBidPosition: {
23
+ readonly name: "ExitBidPosition";
24
+ readonly I: typeof ExitBidPositionRequest;
25
+ readonly O: typeof ExitBidPositionResponse;
26
+ readonly kind: MethodKind.Unary;
27
+ readonly idempotency: MethodIdempotency.NoSideEffects;
28
+ };
19
29
  };
20
30
  };
@@ -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 { SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
5
+ import { 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
@@ -20,5 +20,15 @@ export const AuctionService = {
20
20
  kind: MethodKind.Unary,
21
21
  idempotency: MethodIdempotency.NoSideEffects,
22
22
  },
23
+ /**
24
+ * @generated from rpc uniswap.liquidity.v1.AuctionService.ExitBidPosition
25
+ */
26
+ exitBidPosition: {
27
+ name: "ExitBidPosition",
28
+ I: ExitBidPositionRequest,
29
+ O: ExitBidPositionResponse,
30
+ kind: MethodKind.Unary,
31
+ idempotency: MethodIdempotency.NoSideEffects,
32
+ },
23
33
  }
24
34
  };
@@ -89,6 +89,14 @@ export declare class ExitBidPositionRequest extends Message<ExitBidPositionReque
89
89
  * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 3;
90
90
  */
91
91
  chainId: ChainId;
92
+ /**
93
+ * @generated from field: string walletAddress = 4;
94
+ */
95
+ walletAddress: string;
96
+ /**
97
+ * @generated from field: optional bool simulate_transaction = 5;
98
+ */
99
+ simulateTransaction?: boolean;
92
100
  constructor(data?: PartialMessage<ExitBidPositionRequest>);
93
101
  static readonly runtime: typeof proto3;
94
102
  static readonly typeName = "uniswap.liquidity.v1.ExitBidPositionRequest";
@@ -109,6 +109,10 @@ export class ExitBidPositionRequest extends Message {
109
109
  * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 3;
110
110
  */
111
111
  this.chainId = ChainId.CHAIN_ID_UNSPECIFIED;
112
+ /**
113
+ * @generated from field: string walletAddress = 4;
114
+ */
115
+ this.walletAddress = "";
112
116
  proto3.util.initPartial(data, this);
113
117
  }
114
118
  static fromBinary(bytes, options) {
@@ -130,6 +134,8 @@ ExitBidPositionRequest.fields = proto3.util.newFieldList(() => [
130
134
  { no: 1, name: "bidId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
131
135
  { no: 2, name: "auctionContractAddress", kind: "scalar", T: 9 /* ScalarType.STRING */ },
132
136
  { no: 3, name: "chain_id", kind: "enum", T: proto3.getEnumType(ChainId) },
137
+ { no: 4, name: "walletAddress", kind: "scalar", T: 9 /* ScalarType.STRING */ },
138
+ { no: 5, name: "simulate_transaction", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
133
139
  ]);
134
140
  /**
135
141
  * @generated from message uniswap.liquidity.v1.ExitBidPositionResponse