@centurion_project/client-liquidity 0.3.0-ctn.1

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.
Files changed (29) hide show
  1. package/dist/uniswap/liquidity/v1/api-LiquidityService_connectquery.d.ts +142 -0
  2. package/dist/uniswap/liquidity/v1/api-LiquidityService_connectquery.js +146 -0
  3. package/dist/uniswap/liquidity/v1/api_connect.d.ts +110 -0
  4. package/dist/uniswap/liquidity/v1/api_connect.js +114 -0
  5. package/dist/uniswap/liquidity/v1/api_pb.d.ts +833 -0
  6. package/dist/uniswap/liquidity/v1/api_pb.js +827 -0
  7. package/dist/uniswap/liquidity/v1/auction-AuctionService_connectquery.d.ts +86 -0
  8. package/dist/uniswap/liquidity/v1/auction-AuctionService_connectquery.js +90 -0
  9. package/dist/uniswap/liquidity/v1/auction_connect.d.ts +70 -0
  10. package/dist/uniswap/liquidity/v1/auction_connect.js +74 -0
  11. package/dist/uniswap/liquidity/v1/auction_pb.d.ts +337 -0
  12. package/dist/uniswap/liquidity/v1/auction_pb.js +468 -0
  13. package/dist/uniswap/liquidity/v1/types_pb.d.ts +1963 -0
  14. package/dist/uniswap/liquidity/v1/types_pb.js +2223 -0
  15. package/dist/uniswap/liquidity/v1/x_verification-XVerificationService_connectquery.d.ts +34 -0
  16. package/dist/uniswap/liquidity/v1/x_verification-XVerificationService_connectquery.js +38 -0
  17. package/dist/uniswap/liquidity/v1/x_verification_connect.d.ts +34 -0
  18. package/dist/uniswap/liquidity/v1/x_verification_connect.js +38 -0
  19. package/dist/uniswap/liquidity/v1/x_verification_pb.d.ts +96 -0
  20. package/dist/uniswap/liquidity/v1/x_verification_pb.js +154 -0
  21. package/dist/uniswap/liquidity/v2/api-LiquidityService_connectquery.d.ts +100 -0
  22. package/dist/uniswap/liquidity/v2/api-LiquidityService_connectquery.js +104 -0
  23. package/dist/uniswap/liquidity/v2/api_connect.d.ts +80 -0
  24. package/dist/uniswap/liquidity/v2/api_connect.js +84 -0
  25. package/dist/uniswap/liquidity/v2/api_pb.d.ts +660 -0
  26. package/dist/uniswap/liquidity/v2/api_pb.js +637 -0
  27. package/dist/uniswap/liquidity/v2/types_pb.d.ts +266 -0
  28. package/dist/uniswap/liquidity/v2/types_pb.js +407 -0
  29. package/package.json +11 -0
@@ -0,0 +1,833 @@
1
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
+ import { Message, proto3 } from "@bufbuild/protobuf";
3
+ import { ChainId, Distributor, NFTPermitData, OnChainStatus, PermitBatchData, PoolInformation, PoolParameters, PoolReferenceByProtocol, Protocols, TransactionRequest, V2CheckApprovalLPRequest, V2ClaimLPFeesRequest, V2CreateLPPosition, V2DecreaseLPPosition, V2IncreaseLPPosition, V3CheckApprovalLPRequest, V3ClaimLPFeesRequest, V3CreateLPPosition, V3DecreaseLPPosition, V3IncreaseLPPosition, V3Position, V4CheckApprovalLPRequest, V4ClaimLPFeesRequest, V4CreateLPPosition, V4DecreaseLPPosition, V4IncreaseLPPosition, V4Position } from "./types_pb.js";
4
+ /**
5
+ * REQUESTS & RESPONSES
6
+ *
7
+ * @generated from message uniswap.liquidity.v1.MigrateV2ToV3LPPositionRequest
8
+ */
9
+ export declare class MigrateV2ToV3LPPositionRequest extends Message<MigrateV2ToV3LPPositionRequest> {
10
+ /**
11
+ * @generated from field: string wallet_address = 1;
12
+ */
13
+ walletAddress: string;
14
+ /**
15
+ * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 2;
16
+ */
17
+ chainId: ChainId;
18
+ /**
19
+ * @generated from field: uniswap.liquidity.v1.V3Position v3_params = 3;
20
+ */
21
+ v3Params?: V3Position;
22
+ /**
23
+ * @generated from field: optional float slippage_bps = 4;
24
+ */
25
+ slippageBps?: number;
26
+ /**
27
+ * @generated from field: optional string deadline = 5;
28
+ */
29
+ deadline?: string;
30
+ /**
31
+ * @generated from field: optional bool refund_as_eth = 6;
32
+ */
33
+ refundAsEth?: boolean;
34
+ /**
35
+ * @generated from field: optional bool simulate_transaction = 7;
36
+ */
37
+ simulateTransaction?: boolean;
38
+ constructor(data?: PartialMessage<MigrateV2ToV3LPPositionRequest>);
39
+ static readonly runtime: typeof proto3;
40
+ static readonly typeName = "uniswap.liquidity.v1.MigrateV2ToV3LPPositionRequest";
41
+ static readonly fields: FieldList;
42
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MigrateV2ToV3LPPositionRequest;
43
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MigrateV2ToV3LPPositionRequest;
44
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MigrateV2ToV3LPPositionRequest;
45
+ static equals(a: MigrateV2ToV3LPPositionRequest | PlainMessage<MigrateV2ToV3LPPositionRequest> | undefined, b: MigrateV2ToV3LPPositionRequest | PlainMessage<MigrateV2ToV3LPPositionRequest> | undefined): boolean;
46
+ }
47
+ /**
48
+ * @generated from message uniswap.liquidity.v1.MigrateV2ToV3LPPositionResponse
49
+ */
50
+ export declare class MigrateV2ToV3LPPositionResponse extends Message<MigrateV2ToV3LPPositionResponse> {
51
+ /**
52
+ * @generated from field: string request_id = 1;
53
+ */
54
+ requestId: string;
55
+ /**
56
+ * @generated from field: uniswap.liquidity.v1.TransactionRequest migrate = 2;
57
+ */
58
+ migrate?: TransactionRequest;
59
+ /**
60
+ * @generated from field: optional string gasFee = 3;
61
+ */
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;
71
+ constructor(data?: PartialMessage<MigrateV2ToV3LPPositionResponse>);
72
+ static readonly runtime: typeof proto3;
73
+ static readonly typeName = "uniswap.liquidity.v1.MigrateV2ToV3LPPositionResponse";
74
+ static readonly fields: FieldList;
75
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MigrateV2ToV3LPPositionResponse;
76
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MigrateV2ToV3LPPositionResponse;
77
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MigrateV2ToV3LPPositionResponse;
78
+ static equals(a: MigrateV2ToV3LPPositionResponse | PlainMessage<MigrateV2ToV3LPPositionResponse> | undefined, b: MigrateV2ToV3LPPositionResponse | PlainMessage<MigrateV2ToV3LPPositionResponse> | undefined): boolean;
79
+ }
80
+ /**
81
+ * @generated from message uniswap.liquidity.v1.MigrateV3ToV4LPPositionRequest
82
+ */
83
+ export declare class MigrateV3ToV4LPPositionRequest extends Message<MigrateV3ToV4LPPositionRequest> {
84
+ /**
85
+ * @generated from field: int32 tokenId = 1;
86
+ */
87
+ tokenId: number;
88
+ /**
89
+ * @generated from field: string wallet_address = 2;
90
+ */
91
+ walletAddress: string;
92
+ /**
93
+ * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 3;
94
+ */
95
+ chainId: ChainId;
96
+ /**
97
+ * @generated from field: uniswap.liquidity.v1.V3Position input_position = 4;
98
+ */
99
+ inputPosition?: V3Position;
100
+ /**
101
+ * @generated from field: string input_position_liquidity = 5;
102
+ */
103
+ inputPositionLiquidity: string;
104
+ /**
105
+ * @generated from field: optional string signature = 6;
106
+ */
107
+ signature?: string;
108
+ /**
109
+ * @generated from field: string amount0 = 7;
110
+ */
111
+ amount0: string;
112
+ /**
113
+ * @generated from field: string amount1 = 8;
114
+ */
115
+ amount1: string;
116
+ /**
117
+ * @generated from field: uniswap.liquidity.v1.V4Position output_position = 9;
118
+ */
119
+ outputPosition?: V4Position;
120
+ /**
121
+ * @generated from field: optional string initial_price = 10;
122
+ */
123
+ initialPrice?: string;
124
+ /**
125
+ * @generated from field: string expectedTokenOwed0RawAmount = 11;
126
+ */
127
+ expectedTokenOwed0RawAmount: string;
128
+ /**
129
+ * @generated from field: string expectedTokenOwed1RawAmount = 12;
130
+ */
131
+ expectedTokenOwed1RawAmount: string;
132
+ /**
133
+ * @generated from field: bool simulate_transaction = 13;
134
+ */
135
+ simulateTransaction: boolean;
136
+ /**
137
+ * @generated from field: optional float slippage_tolerance = 14;
138
+ */
139
+ slippageTolerance?: number;
140
+ /**
141
+ * @generated from field: optional int32 deadline = 15;
142
+ */
143
+ deadline?: number;
144
+ /**
145
+ * @generated from field: optional int32 signature_deadline = 16;
146
+ */
147
+ signatureDeadline?: number;
148
+ constructor(data?: PartialMessage<MigrateV3ToV4LPPositionRequest>);
149
+ static readonly runtime: typeof proto3;
150
+ static readonly typeName = "uniswap.liquidity.v1.MigrateV3ToV4LPPositionRequest";
151
+ static readonly fields: FieldList;
152
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MigrateV3ToV4LPPositionRequest;
153
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MigrateV3ToV4LPPositionRequest;
154
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MigrateV3ToV4LPPositionRequest;
155
+ static equals(a: MigrateV3ToV4LPPositionRequest | PlainMessage<MigrateV3ToV4LPPositionRequest> | undefined, b: MigrateV3ToV4LPPositionRequest | PlainMessage<MigrateV3ToV4LPPositionRequest> | undefined): boolean;
156
+ }
157
+ /**
158
+ * @generated from message uniswap.liquidity.v1.MigrateV3ToV4LPPositionResponse
159
+ */
160
+ export declare class MigrateV3ToV4LPPositionResponse extends Message<MigrateV3ToV4LPPositionResponse> {
161
+ /**
162
+ * @generated from field: string request_id = 1;
163
+ */
164
+ requestId: string;
165
+ /**
166
+ * @generated from field: uniswap.liquidity.v1.TransactionRequest migrate = 2;
167
+ */
168
+ migrate?: TransactionRequest;
169
+ /**
170
+ * @generated from field: optional string gasFee = 3;
171
+ */
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;
181
+ constructor(data?: PartialMessage<MigrateV3ToV4LPPositionResponse>);
182
+ static readonly runtime: typeof proto3;
183
+ static readonly typeName = "uniswap.liquidity.v1.MigrateV3ToV4LPPositionResponse";
184
+ static readonly fields: FieldList;
185
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MigrateV3ToV4LPPositionResponse;
186
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MigrateV3ToV4LPPositionResponse;
187
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MigrateV3ToV4LPPositionResponse;
188
+ static equals(a: MigrateV3ToV4LPPositionResponse | PlainMessage<MigrateV3ToV4LPPositionResponse> | undefined, b: MigrateV3ToV4LPPositionResponse | PlainMessage<MigrateV3ToV4LPPositionResponse> | undefined): boolean;
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
+ /**
315
+ * @generated from field: optional string gas_fee = 7;
316
+ */
317
+ gasFee?: string;
318
+ /**
319
+ * @generated from field: optional float slippage = 8;
320
+ */
321
+ slippage?: number;
322
+ constructor(data?: PartialMessage<CreateLPPositionResponse>);
323
+ static readonly runtime: typeof proto3;
324
+ static readonly typeName = "uniswap.liquidity.v1.CreateLPPositionResponse";
325
+ static readonly fields: FieldList;
326
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateLPPositionResponse;
327
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateLPPositionResponse;
328
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateLPPositionResponse;
329
+ static equals(a: CreateLPPositionResponse | PlainMessage<CreateLPPositionResponse> | undefined, b: CreateLPPositionResponse | PlainMessage<CreateLPPositionResponse> | undefined): boolean;
330
+ }
331
+ /**
332
+ * @generated from message uniswap.liquidity.v1.PoolInfoRequest
333
+ */
334
+ export declare class PoolInfoRequest extends Message<PoolInfoRequest> {
335
+ /**
336
+ * @generated from field: uniswap.liquidity.v1.Protocols protocol = 1;
337
+ */
338
+ protocol: Protocols;
339
+ /**
340
+ * @generated from field: repeated uniswap.liquidity.v1.PoolReferenceByProtocol pool_references = 2;
341
+ */
342
+ poolReferences: PoolReferenceByProtocol[];
343
+ /**
344
+ * @generated from field: optional uniswap.liquidity.v1.PoolParameters pool_parameters = 3;
345
+ */
346
+ poolParameters?: PoolParameters;
347
+ /**
348
+ * @generated from field: optional uniswap.liquidity.v1.ChainId chain_id = 4;
349
+ */
350
+ chainId?: ChainId;
351
+ /**
352
+ * @generated from field: optional int32 page_size = 5;
353
+ */
354
+ pageSize?: number;
355
+ /**
356
+ * @generated from field: optional int32 current_page = 6;
357
+ */
358
+ currentPage?: number;
359
+ constructor(data?: PartialMessage<PoolInfoRequest>);
360
+ static readonly runtime: typeof proto3;
361
+ static readonly typeName = "uniswap.liquidity.v1.PoolInfoRequest";
362
+ static readonly fields: FieldList;
363
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolInfoRequest;
364
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolInfoRequest;
365
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolInfoRequest;
366
+ static equals(a: PoolInfoRequest | PlainMessage<PoolInfoRequest> | undefined, b: PoolInfoRequest | PlainMessage<PoolInfoRequest> | undefined): boolean;
367
+ }
368
+ /**
369
+ * @generated from message uniswap.liquidity.v1.PoolInfoResponse
370
+ */
371
+ export declare class PoolInfoResponse extends Message<PoolInfoResponse> {
372
+ /**
373
+ * @generated from field: string request_id = 1;
374
+ */
375
+ requestId: string;
376
+ /**
377
+ * @generated from field: repeated uniswap.liquidity.v1.PoolInformation pools = 2;
378
+ */
379
+ pools: PoolInformation[];
380
+ /**
381
+ * @generated from field: int32 current_page = 3;
382
+ */
383
+ currentPage: number;
384
+ /**
385
+ * @generated from field: int32 page_size = 4;
386
+ */
387
+ pageSize: number;
388
+ constructor(data?: PartialMessage<PoolInfoResponse>);
389
+ static readonly runtime: typeof proto3;
390
+ static readonly typeName = "uniswap.liquidity.v1.PoolInfoResponse";
391
+ static readonly fields: FieldList;
392
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolInfoResponse;
393
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolInfoResponse;
394
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolInfoResponse;
395
+ static equals(a: PoolInfoResponse | PlainMessage<PoolInfoResponse> | undefined, b: PoolInfoResponse | PlainMessage<PoolInfoResponse> | undefined): boolean;
396
+ }
397
+ /**
398
+ * @generated from message uniswap.liquidity.v1.IncreaseLPPositionRequest
399
+ */
400
+ export declare class IncreaseLPPositionRequest extends Message<IncreaseLPPositionRequest> {
401
+ /**
402
+ * @generated from oneof uniswap.liquidity.v1.IncreaseLPPositionRequest.increaseLpPosition
403
+ */
404
+ increaseLpPosition: {
405
+ /**
406
+ * @generated from field: uniswap.liquidity.v1.V2IncreaseLPPosition v2_increase_lp_position = 1;
407
+ */
408
+ value: V2IncreaseLPPosition;
409
+ case: "v2IncreaseLpPosition";
410
+ } | {
411
+ /**
412
+ * @generated from field: uniswap.liquidity.v1.V3IncreaseLPPosition v3_increase_lp_position = 2;
413
+ */
414
+ value: V3IncreaseLPPosition;
415
+ case: "v3IncreaseLpPosition";
416
+ } | {
417
+ /**
418
+ * @generated from field: uniswap.liquidity.v1.V4IncreaseLPPosition v4_increase_lp_position = 3;
419
+ */
420
+ value: V4IncreaseLPPosition;
421
+ case: "v4IncreaseLpPosition";
422
+ } | {
423
+ case: undefined;
424
+ value?: undefined;
425
+ };
426
+ constructor(data?: PartialMessage<IncreaseLPPositionRequest>);
427
+ static readonly runtime: typeof proto3;
428
+ static readonly typeName = "uniswap.liquidity.v1.IncreaseLPPositionRequest";
429
+ static readonly fields: FieldList;
430
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IncreaseLPPositionRequest;
431
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IncreaseLPPositionRequest;
432
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IncreaseLPPositionRequest;
433
+ static equals(a: IncreaseLPPositionRequest | PlainMessage<IncreaseLPPositionRequest> | undefined, b: IncreaseLPPositionRequest | PlainMessage<IncreaseLPPositionRequest> | undefined): boolean;
434
+ }
435
+ /**
436
+ * @generated from message uniswap.liquidity.v1.IncreaseLPPositionResponse
437
+ */
438
+ export declare class IncreaseLPPositionResponse extends Message<IncreaseLPPositionResponse> {
439
+ /**
440
+ * @generated from field: string request_id = 1;
441
+ */
442
+ requestId: string;
443
+ /**
444
+ * @generated from field: optional uniswap.liquidity.v1.TransactionRequest increase = 2;
445
+ */
446
+ increase?: TransactionRequest;
447
+ /**
448
+ * @generated from field: optional string dependent_amount = 3;
449
+ */
450
+ dependentAmount?: string;
451
+ /**
452
+ * @generated from field: optional string pool_liquidity = 4;
453
+ */
454
+ poolLiquidity?: string;
455
+ /**
456
+ * @generated from field: optional sint32 current_tick = 5;
457
+ */
458
+ currentTick?: number;
459
+ /**
460
+ * @generated from field: optional string sqrtRatioX96 = 6;
461
+ */
462
+ sqrtRatioX96?: string;
463
+ /**
464
+ * @generated from field: optional string gas_fee = 7;
465
+ */
466
+ gasFee?: string;
467
+ constructor(data?: PartialMessage<IncreaseLPPositionResponse>);
468
+ static readonly runtime: typeof proto3;
469
+ static readonly typeName = "uniswap.liquidity.v1.IncreaseLPPositionResponse";
470
+ static readonly fields: FieldList;
471
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IncreaseLPPositionResponse;
472
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IncreaseLPPositionResponse;
473
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IncreaseLPPositionResponse;
474
+ static equals(a: IncreaseLPPositionResponse | PlainMessage<IncreaseLPPositionResponse> | undefined, b: IncreaseLPPositionResponse | PlainMessage<IncreaseLPPositionResponse> | undefined): boolean;
475
+ }
476
+ /**
477
+ * @generated from message uniswap.liquidity.v1.DecreaseLPPositionRequest
478
+ */
479
+ export declare class DecreaseLPPositionRequest extends Message<DecreaseLPPositionRequest> {
480
+ /**
481
+ * @generated from oneof uniswap.liquidity.v1.DecreaseLPPositionRequest.decreaseLpPosition
482
+ */
483
+ decreaseLpPosition: {
484
+ /**
485
+ * @generated from field: uniswap.liquidity.v1.V2DecreaseLPPosition v2_decrease_lp_position = 1;
486
+ */
487
+ value: V2DecreaseLPPosition;
488
+ case: "v2DecreaseLpPosition";
489
+ } | {
490
+ /**
491
+ * @generated from field: uniswap.liquidity.v1.V3DecreaseLPPosition v3_decrease_lp_position = 2;
492
+ */
493
+ value: V3DecreaseLPPosition;
494
+ case: "v3DecreaseLpPosition";
495
+ } | {
496
+ /**
497
+ * @generated from field: uniswap.liquidity.v1.V4DecreaseLPPosition v4_decrease_lp_position = 3;
498
+ */
499
+ value: V4DecreaseLPPosition;
500
+ case: "v4DecreaseLpPosition";
501
+ } | {
502
+ case: undefined;
503
+ value?: undefined;
504
+ };
505
+ constructor(data?: PartialMessage<DecreaseLPPositionRequest>);
506
+ static readonly runtime: typeof proto3;
507
+ static readonly typeName = "uniswap.liquidity.v1.DecreaseLPPositionRequest";
508
+ static readonly fields: FieldList;
509
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DecreaseLPPositionRequest;
510
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DecreaseLPPositionRequest;
511
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DecreaseLPPositionRequest;
512
+ static equals(a: DecreaseLPPositionRequest | PlainMessage<DecreaseLPPositionRequest> | undefined, b: DecreaseLPPositionRequest | PlainMessage<DecreaseLPPositionRequest> | undefined): boolean;
513
+ }
514
+ /**
515
+ * @generated from message uniswap.liquidity.v1.DecreaseLPPositionResponse
516
+ */
517
+ export declare class DecreaseLPPositionResponse extends Message<DecreaseLPPositionResponse> {
518
+ /**
519
+ * @generated from field: string request_id = 1;
520
+ */
521
+ requestId: string;
522
+ /**
523
+ * @generated from field: optional uniswap.liquidity.v1.TransactionRequest decrease = 2;
524
+ */
525
+ decrease?: TransactionRequest;
526
+ /**
527
+ * @generated from field: optional string pool_liquidity = 3;
528
+ */
529
+ poolLiquidity?: string;
530
+ /**
531
+ * @generated from field: optional sint32 current_tick = 4;
532
+ */
533
+ currentTick?: number;
534
+ /**
535
+ * @generated from field: optional string sqrtRatioX96 = 5;
536
+ */
537
+ sqrtRatioX96?: string;
538
+ /**
539
+ * @generated from field: optional string gas_fee = 6;
540
+ */
541
+ gasFee?: string;
542
+ constructor(data?: PartialMessage<DecreaseLPPositionResponse>);
543
+ static readonly runtime: typeof proto3;
544
+ static readonly typeName = "uniswap.liquidity.v1.DecreaseLPPositionResponse";
545
+ static readonly fields: FieldList;
546
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DecreaseLPPositionResponse;
547
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DecreaseLPPositionResponse;
548
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DecreaseLPPositionResponse;
549
+ static equals(a: DecreaseLPPositionResponse | PlainMessage<DecreaseLPPositionResponse> | undefined, b: DecreaseLPPositionResponse | PlainMessage<DecreaseLPPositionResponse> | undefined): boolean;
550
+ }
551
+ /**
552
+ * @generated from message uniswap.liquidity.v1.ClaimLPFeesRequest
553
+ */
554
+ export declare class ClaimLPFeesRequest extends Message<ClaimLPFeesRequest> {
555
+ /**
556
+ * @generated from oneof uniswap.liquidity.v1.ClaimLPFeesRequest.claimLPFeesRequest
557
+ */
558
+ claimLPFeesRequest: {
559
+ /**
560
+ * @generated from field: uniswap.liquidity.v1.V2ClaimLPFeesRequest v2_claim_lp_fees_request = 1;
561
+ */
562
+ value: V2ClaimLPFeesRequest;
563
+ case: "v2ClaimLpFeesRequest";
564
+ } | {
565
+ /**
566
+ * @generated from field: uniswap.liquidity.v1.V3ClaimLPFeesRequest v3_claim_lp_fees_request = 2;
567
+ */
568
+ value: V3ClaimLPFeesRequest;
569
+ case: "v3ClaimLpFeesRequest";
570
+ } | {
571
+ /**
572
+ * @generated from field: uniswap.liquidity.v1.V4ClaimLPFeesRequest v4_claim_lp_fees_request = 3;
573
+ */
574
+ value: V4ClaimLPFeesRequest;
575
+ case: "v4ClaimLpFeesRequest";
576
+ } | {
577
+ case: undefined;
578
+ value?: undefined;
579
+ };
580
+ constructor(data?: PartialMessage<ClaimLPFeesRequest>);
581
+ static readonly runtime: typeof proto3;
582
+ static readonly typeName = "uniswap.liquidity.v1.ClaimLPFeesRequest";
583
+ static readonly fields: FieldList;
584
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClaimLPFeesRequest;
585
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClaimLPFeesRequest;
586
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClaimLPFeesRequest;
587
+ static equals(a: ClaimLPFeesRequest | PlainMessage<ClaimLPFeesRequest> | undefined, b: ClaimLPFeesRequest | PlainMessage<ClaimLPFeesRequest> | undefined): boolean;
588
+ }
589
+ /**
590
+ * @generated from message uniswap.liquidity.v1.ClaimLPFeesResponse
591
+ */
592
+ export declare class ClaimLPFeesResponse extends Message<ClaimLPFeesResponse> {
593
+ /**
594
+ * @generated from field: string request_id = 1;
595
+ */
596
+ requestId: string;
597
+ /**
598
+ * @generated from field: optional uniswap.liquidity.v1.TransactionRequest claim = 2;
599
+ */
600
+ claim?: TransactionRequest;
601
+ /**
602
+ * @generated from field: optional string gas_fee = 3;
603
+ */
604
+ gasFee?: string;
605
+ constructor(data?: PartialMessage<ClaimLPFeesResponse>);
606
+ static readonly runtime: typeof proto3;
607
+ static readonly typeName = "uniswap.liquidity.v1.ClaimLPFeesResponse";
608
+ static readonly fields: FieldList;
609
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClaimLPFeesResponse;
610
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClaimLPFeesResponse;
611
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClaimLPFeesResponse;
612
+ static equals(a: ClaimLPFeesResponse | PlainMessage<ClaimLPFeesResponse> | undefined, b: ClaimLPFeesResponse | PlainMessage<ClaimLPFeesResponse> | undefined): boolean;
613
+ }
614
+ /**
615
+ * @generated from message uniswap.liquidity.v1.CheckApprovalLPRequest
616
+ */
617
+ export declare class CheckApprovalLPRequest extends Message<CheckApprovalLPRequest> {
618
+ /**
619
+ * @generated from oneof uniswap.liquidity.v1.CheckApprovalLPRequest.checkApprovalLPRequest
620
+ */
621
+ checkApprovalLPRequest: {
622
+ /**
623
+ * @generated from field: uniswap.liquidity.v1.V2CheckApprovalLPRequest v2_check_approval_lp_request = 1;
624
+ */
625
+ value: V2CheckApprovalLPRequest;
626
+ case: "v2CheckApprovalLpRequest";
627
+ } | {
628
+ /**
629
+ * @generated from field: uniswap.liquidity.v1.V3CheckApprovalLPRequest v3_check_approval_lp_request = 2;
630
+ */
631
+ value: V3CheckApprovalLPRequest;
632
+ case: "v3CheckApprovalLpRequest";
633
+ } | {
634
+ /**
635
+ * @generated from field: uniswap.liquidity.v1.V4CheckApprovalLPRequest v4_check_approval_lp_request = 3;
636
+ */
637
+ value: V4CheckApprovalLPRequest;
638
+ case: "v4CheckApprovalLpRequest";
639
+ } | {
640
+ case: undefined;
641
+ value?: undefined;
642
+ };
643
+ constructor(data?: PartialMessage<CheckApprovalLPRequest>);
644
+ static readonly runtime: typeof proto3;
645
+ static readonly typeName = "uniswap.liquidity.v1.CheckApprovalLPRequest";
646
+ static readonly fields: FieldList;
647
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckApprovalLPRequest;
648
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckApprovalLPRequest;
649
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckApprovalLPRequest;
650
+ static equals(a: CheckApprovalLPRequest | PlainMessage<CheckApprovalLPRequest> | undefined, b: CheckApprovalLPRequest | PlainMessage<CheckApprovalLPRequest> | undefined): boolean;
651
+ }
652
+ /**
653
+ * @generated from message uniswap.liquidity.v1.CheckApprovalLPResponse
654
+ */
655
+ export declare class CheckApprovalLPResponse extends Message<CheckApprovalLPResponse> {
656
+ /**
657
+ * @generated from field: string request_id = 1;
658
+ */
659
+ requestId: string;
660
+ /**
661
+ * @generated from field: optional uniswap.liquidity.v1.TransactionRequest token_0_approval = 2;
662
+ */
663
+ token0Approval?: TransactionRequest;
664
+ /**
665
+ * @generated from field: optional uniswap.liquidity.v1.TransactionRequest token_1_approval = 3;
666
+ */
667
+ token1Approval?: TransactionRequest;
668
+ /**
669
+ * @generated from field: optional uniswap.liquidity.v1.TransactionRequest token_0_Cancel = 4;
670
+ */
671
+ token0Cancel?: TransactionRequest;
672
+ /**
673
+ * @generated from field: optional uniswap.liquidity.v1.TransactionRequest token_1_Cancel = 5;
674
+ */
675
+ token1Cancel?: TransactionRequest;
676
+ /**
677
+ * @generated from field: optional uniswap.liquidity.v1.TransactionRequest position_token_approval = 6;
678
+ */
679
+ positionTokenApproval?: TransactionRequest;
680
+ /**
681
+ * @generated from oneof uniswap.liquidity.v1.CheckApprovalLPResponse.permitData
682
+ */
683
+ permitData: {
684
+ /**
685
+ * @generated from field: uniswap.liquidity.v1.PermitBatchData permit_batch_data = 7;
686
+ */
687
+ value: PermitBatchData;
688
+ case: "permitBatchData";
689
+ } | {
690
+ /**
691
+ * @generated from field: uniswap.liquidity.v1.NFTPermitData nft_permit_data = 8;
692
+ */
693
+ value: NFTPermitData;
694
+ case: "nftPermitData";
695
+ } | {
696
+ case: undefined;
697
+ value?: undefined;
698
+ };
699
+ /**
700
+ * @generated from field: optional uniswap.liquidity.v1.TransactionRequest token_0_permit_transaction = 9;
701
+ */
702
+ token0PermitTransaction?: TransactionRequest;
703
+ /**
704
+ * @generated from field: optional uniswap.liquidity.v1.TransactionRequest token_1_permit_transaction = 10;
705
+ */
706
+ token1PermitTransaction?: TransactionRequest;
707
+ /**
708
+ * @generated from field: optional string gas_fee_token_0_approval = 11;
709
+ */
710
+ gasFeeToken0Approval?: string;
711
+ /**
712
+ * @generated from field: optional string gas_fee_token_1_approval = 12;
713
+ */
714
+ gasFeeToken1Approval?: string;
715
+ /**
716
+ * @generated from field: optional string gas_fee_position_token_approval = 13;
717
+ */
718
+ gasFeePositionTokenApproval?: string;
719
+ /**
720
+ * @generated from field: optional string gas_fee_token_0_cancel = 14;
721
+ */
722
+ gasFeeToken0Cancel?: string;
723
+ /**
724
+ * @generated from field: optional string gas_fee_token_1_cancel = 15;
725
+ */
726
+ gasFeeToken1Cancel?: string;
727
+ /**
728
+ * @generated from field: optional string gas_fee_token_0_permit = 16;
729
+ */
730
+ gasFeeToken0Permit?: string;
731
+ /**
732
+ * @generated from field: optional string gas_fee_token_1_permit = 17;
733
+ */
734
+ gasFeeToken1Permit?: string;
735
+ constructor(data?: PartialMessage<CheckApprovalLPResponse>);
736
+ static readonly runtime: typeof proto3;
737
+ static readonly typeName = "uniswap.liquidity.v1.CheckApprovalLPResponse";
738
+ static readonly fields: FieldList;
739
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckApprovalLPResponse;
740
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckApprovalLPResponse;
741
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckApprovalLPResponse;
742
+ static equals(a: CheckApprovalLPResponse | PlainMessage<CheckApprovalLPResponse> | undefined, b: CheckApprovalLPResponse | PlainMessage<CheckApprovalLPResponse> | undefined): boolean;
743
+ }
744
+ /**
745
+ * @generated from message uniswap.liquidity.v1.GetLPPriceDiscrepancyRequest
746
+ */
747
+ export declare class GetLPPriceDiscrepancyRequest extends Message<GetLPPriceDiscrepancyRequest> {
748
+ /**
749
+ * @generated from field: string txn_hash = 1;
750
+ */
751
+ txnHash: string;
752
+ /**
753
+ * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 2;
754
+ */
755
+ chainId: ChainId;
756
+ /**
757
+ * @generated from field: string token0 = 3;
758
+ */
759
+ token0: string;
760
+ /**
761
+ * @generated from field: string token1 = 4;
762
+ */
763
+ token1: string;
764
+ /**
765
+ * @generated from field: optional int32 tick_spacing = 5;
766
+ */
767
+ tickSpacing?: number;
768
+ /**
769
+ * @generated from field: optional int32 fee = 6;
770
+ */
771
+ fee?: number;
772
+ /**
773
+ * @generated from field: optional string hooks = 7;
774
+ */
775
+ hooks?: string;
776
+ /**
777
+ * @generated from field: string sqrt_ratio_x96 = 8;
778
+ */
779
+ sqrtRatioX96: string;
780
+ /**
781
+ * @generated from field: uniswap.liquidity.v1.Protocols protocol = 9;
782
+ */
783
+ protocol: Protocols;
784
+ constructor(data?: PartialMessage<GetLPPriceDiscrepancyRequest>);
785
+ static readonly runtime: typeof proto3;
786
+ static readonly typeName = "uniswap.liquidity.v1.GetLPPriceDiscrepancyRequest";
787
+ static readonly fields: FieldList;
788
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetLPPriceDiscrepancyRequest;
789
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetLPPriceDiscrepancyRequest;
790
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLPPriceDiscrepancyRequest;
791
+ static equals(a: GetLPPriceDiscrepancyRequest | PlainMessage<GetLPPriceDiscrepancyRequest> | undefined, b: GetLPPriceDiscrepancyRequest | PlainMessage<GetLPPriceDiscrepancyRequest> | undefined): boolean;
792
+ }
793
+ /**
794
+ * @generated from message uniswap.liquidity.v1.GetLPPriceDiscrepancyResponse
795
+ */
796
+ export declare class GetLPPriceDiscrepancyResponse extends Message<GetLPPriceDiscrepancyResponse> {
797
+ /**
798
+ * @generated from field: string request_id = 1;
799
+ */
800
+ requestId: string;
801
+ /**
802
+ * @generated from field: string percent_price_difference = 2;
803
+ */
804
+ percentPriceDifference: string;
805
+ /**
806
+ * @generated from field: uniswap.liquidity.v1.OnChainStatus status = 3;
807
+ */
808
+ status: OnChainStatus;
809
+ /**
810
+ * @generated from field: string sqrt_ratio_x96_before = 4;
811
+ */
812
+ sqrtRatioX96Before: string;
813
+ /**
814
+ * @generated from field: string sqrt_ratio_x96_after = 5;
815
+ */
816
+ sqrtRatioX96After: string;
817
+ /**
818
+ * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 6;
819
+ */
820
+ chainId: ChainId;
821
+ /**
822
+ * @generated from field: uniswap.liquidity.v1.Protocols protocol = 7;
823
+ */
824
+ protocol: Protocols;
825
+ constructor(data?: PartialMessage<GetLPPriceDiscrepancyResponse>);
826
+ static readonly runtime: typeof proto3;
827
+ static readonly typeName = "uniswap.liquidity.v1.GetLPPriceDiscrepancyResponse";
828
+ static readonly fields: FieldList;
829
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetLPPriceDiscrepancyResponse;
830
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetLPPriceDiscrepancyResponse;
831
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLPPriceDiscrepancyResponse;
832
+ static equals(a: GetLPPriceDiscrepancyResponse | PlainMessage<GetLPPriceDiscrepancyResponse> | undefined, b: GetLPPriceDiscrepancyResponse | PlainMessage<GetLPPriceDiscrepancyResponse> | undefined): boolean;
833
+ }