@uniswap/client-liquidity 0.0.3 → 0.0.9

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.
@@ -3,6 +3,23 @@ import { Message, proto3 } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * ENUMS
5
5
  *
6
+ * @generated from enum uniswap.liquidity.v1.Protocols
7
+ */
8
+ export declare enum Protocols {
9
+ /**
10
+ * @generated from enum value: V2 = 0;
11
+ */
12
+ V2 = 0,
13
+ /**
14
+ * @generated from enum value: V3 = 1;
15
+ */
16
+ V3 = 1,
17
+ /**
18
+ * @generated from enum value: V4 = 2;
19
+ */
20
+ V4 = 2
21
+ }
22
+ /**
6
23
  * @generated from enum uniswap.liquidity.v1.ChainId
7
24
  */
8
25
  export declare enum ChainId {
@@ -88,7 +105,29 @@ export declare enum ChainId {
88
105
  MONAD = 143
89
106
  }
90
107
  /**
91
- * SUPPORTING OBJECTS
108
+ * @generated from enum uniswap.liquidity.v1.Distributor
109
+ */
110
+ export declare enum Distributor {
111
+ /**
112
+ * @generated from enum value: MERKLE = 0;
113
+ */
114
+ MERKLE = 0
115
+ }
116
+ /**
117
+ * @generated from enum uniswap.liquidity.v1.IndependentToken
118
+ */
119
+ export declare enum IndependentToken {
120
+ /**
121
+ * @generated from enum value: TOKEN_0 = 0;
122
+ */
123
+ TOKEN_0 = 0,
124
+ /**
125
+ * @generated from enum value: TOKEN_1 = 1;
126
+ */
127
+ TOKEN_1 = 1
128
+ }
129
+ /**
130
+ * CORE TYPE OBJECTS
92
131
  *
93
132
  * @generated from message uniswap.liquidity.v1.TransactionRequest
94
133
  */
@@ -288,3 +327,1173 @@ export declare class V4Pool extends Message<V4Pool> {
288
327
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V4Pool;
289
328
  static equals(a: V4Pool | PlainMessage<V4Pool> | undefined, b: V4Pool | PlainMessage<V4Pool> | undefined): boolean;
290
329
  }
330
+ /**
331
+ * PERMIT TYPES
332
+ *
333
+ * @generated from message uniswap.liquidity.v1.PermitSingleData
334
+ */
335
+ export declare class PermitSingleData extends Message<PermitSingleData> {
336
+ /**
337
+ * @generated from field: uniswap.liquidity.v1.Domain domain = 1;
338
+ */
339
+ domain?: Domain;
340
+ /**
341
+ * @generated from field: map<string, uniswap.liquidity.v1.TypeFieldArray> types = 2;
342
+ */
343
+ types: {
344
+ [key: string]: TypeFieldArray;
345
+ };
346
+ /**
347
+ * @generated from field: uniswap.liquidity.v1.PermitSingle values = 3;
348
+ */
349
+ values?: PermitSingle;
350
+ constructor(data?: PartialMessage<PermitSingleData>);
351
+ static readonly runtime: typeof proto3;
352
+ static readonly typeName = "uniswap.liquidity.v1.PermitSingleData";
353
+ static readonly fields: FieldList;
354
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PermitSingleData;
355
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PermitSingleData;
356
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PermitSingleData;
357
+ static equals(a: PermitSingleData | PlainMessage<PermitSingleData> | undefined, b: PermitSingleData | PlainMessage<PermitSingleData> | undefined): boolean;
358
+ }
359
+ /**
360
+ * @generated from message uniswap.liquidity.v1.PermitSingle
361
+ */
362
+ export declare class PermitSingle extends Message<PermitSingle> {
363
+ /**
364
+ * @generated from field: uniswap.liquidity.v1.PermitDetails details = 1;
365
+ */
366
+ details?: PermitDetails;
367
+ /**
368
+ * @generated from field: string spender = 2;
369
+ */
370
+ spender: string;
371
+ /**
372
+ * @generated from field: string sig_deadline = 3;
373
+ */
374
+ sigDeadline: string;
375
+ constructor(data?: PartialMessage<PermitSingle>);
376
+ static readonly runtime: typeof proto3;
377
+ static readonly typeName = "uniswap.liquidity.v1.PermitSingle";
378
+ static readonly fields: FieldList;
379
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PermitSingle;
380
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PermitSingle;
381
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PermitSingle;
382
+ static equals(a: PermitSingle | PlainMessage<PermitSingle> | undefined, b: PermitSingle | PlainMessage<PermitSingle> | undefined): boolean;
383
+ }
384
+ /**
385
+ * @generated from message uniswap.liquidity.v1.PermitDetails
386
+ */
387
+ export declare class PermitDetails extends Message<PermitDetails> {
388
+ /**
389
+ * @generated from field: string token = 1;
390
+ */
391
+ token: string;
392
+ /**
393
+ * @generated from field: string amount = 2;
394
+ */
395
+ amount: string;
396
+ /**
397
+ * @generated from field: string expiration = 3;
398
+ */
399
+ expiration: string;
400
+ /**
401
+ * @generated from field: string nonce = 4;
402
+ */
403
+ nonce: string;
404
+ constructor(data?: PartialMessage<PermitDetails>);
405
+ static readonly runtime: typeof proto3;
406
+ static readonly typeName = "uniswap.liquidity.v1.PermitDetails";
407
+ static readonly fields: FieldList;
408
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PermitDetails;
409
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PermitDetails;
410
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PermitDetails;
411
+ static equals(a: PermitDetails | PlainMessage<PermitDetails> | undefined, b: PermitDetails | PlainMessage<PermitDetails> | undefined): boolean;
412
+ }
413
+ /**
414
+ * @generated from message uniswap.liquidity.v1.Domain
415
+ */
416
+ export declare class Domain extends Message<Domain> {
417
+ /**
418
+ * @generated from field: optional string name = 1;
419
+ */
420
+ name?: string;
421
+ /**
422
+ * @generated from field: optional uniswap.liquidity.v1.ChainId chain_id = 2;
423
+ */
424
+ chainId?: ChainId;
425
+ /**
426
+ * @generated from field: optional string verifying_contract = 3;
427
+ */
428
+ verifyingContract?: string;
429
+ /**
430
+ * @generated from field: optional string version = 4;
431
+ */
432
+ version?: string;
433
+ /**
434
+ * @generated from field: optional string salt = 5;
435
+ */
436
+ salt?: string;
437
+ constructor(data?: PartialMessage<Domain>);
438
+ static readonly runtime: typeof proto3;
439
+ static readonly typeName = "uniswap.liquidity.v1.Domain";
440
+ static readonly fields: FieldList;
441
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Domain;
442
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Domain;
443
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Domain;
444
+ static equals(a: Domain | PlainMessage<Domain> | undefined, b: Domain | PlainMessage<Domain> | undefined): boolean;
445
+ }
446
+ /**
447
+ * @generated from message uniswap.liquidity.v1.TypeField
448
+ */
449
+ export declare class TypeField extends Message<TypeField> {
450
+ /**
451
+ * @generated from field: string name = 1;
452
+ */
453
+ name: string;
454
+ /**
455
+ * @generated from field: string type = 2;
456
+ */
457
+ type: string;
458
+ constructor(data?: PartialMessage<TypeField>);
459
+ static readonly runtime: typeof proto3;
460
+ static readonly typeName = "uniswap.liquidity.v1.TypeField";
461
+ static readonly fields: FieldList;
462
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TypeField;
463
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TypeField;
464
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TypeField;
465
+ static equals(a: TypeField | PlainMessage<TypeField> | undefined, b: TypeField | PlainMessage<TypeField> | undefined): boolean;
466
+ }
467
+ /**
468
+ * @generated from message uniswap.liquidity.v1.PermitBatchData
469
+ */
470
+ export declare class PermitBatchData extends Message<PermitBatchData> {
471
+ /**
472
+ * @generated from field: uniswap.liquidity.v1.Domain domain = 1;
473
+ */
474
+ domain?: Domain;
475
+ /**
476
+ * @generated from field: map<string, uniswap.liquidity.v1.TypeFieldArray> types = 2;
477
+ */
478
+ types: {
479
+ [key: string]: TypeFieldArray;
480
+ };
481
+ /**
482
+ * @generated from field: uniswap.liquidity.v1.PermitBatch values = 3;
483
+ */
484
+ values?: PermitBatch;
485
+ constructor(data?: PartialMessage<PermitBatchData>);
486
+ static readonly runtime: typeof proto3;
487
+ static readonly typeName = "uniswap.liquidity.v1.PermitBatchData";
488
+ static readonly fields: FieldList;
489
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PermitBatchData;
490
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PermitBatchData;
491
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PermitBatchData;
492
+ static equals(a: PermitBatchData | PlainMessage<PermitBatchData> | undefined, b: PermitBatchData | PlainMessage<PermitBatchData> | undefined): boolean;
493
+ }
494
+ /**
495
+ * @generated from message uniswap.liquidity.v1.PermitBatch
496
+ */
497
+ export declare class PermitBatch extends Message<PermitBatch> {
498
+ /**
499
+ * @generated from field: repeated uniswap.liquidity.v1.PermitDetails details = 1;
500
+ */
501
+ details: PermitDetails[];
502
+ /**
503
+ * @generated from field: string spender = 2;
504
+ */
505
+ spender: string;
506
+ /**
507
+ * @generated from field: string sig_deadline = 3;
508
+ */
509
+ sigDeadline: string;
510
+ constructor(data?: PartialMessage<PermitBatch>);
511
+ static readonly runtime: typeof proto3;
512
+ static readonly typeName = "uniswap.liquidity.v1.PermitBatch";
513
+ static readonly fields: FieldList;
514
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PermitBatch;
515
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PermitBatch;
516
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PermitBatch;
517
+ static equals(a: PermitBatch | PlainMessage<PermitBatch> | undefined, b: PermitBatch | PlainMessage<PermitBatch> | undefined): boolean;
518
+ }
519
+ /**
520
+ * @generated from message uniswap.liquidity.v1.TypedDataDomain
521
+ */
522
+ export declare class TypedDataDomain extends Message<TypedDataDomain> {
523
+ /**
524
+ * @generated from field: optional string name = 1;
525
+ */
526
+ name?: string;
527
+ /**
528
+ * @generated from field: optional string version = 2;
529
+ */
530
+ version?: string;
531
+ /**
532
+ * @generated from field: optional int32 chain_id = 3;
533
+ */
534
+ chainId?: number;
535
+ /**
536
+ * @generated from field: optional string verifying_contract = 4;
537
+ */
538
+ verifyingContract?: string;
539
+ /**
540
+ * @generated from field: optional string salt = 5;
541
+ */
542
+ salt?: string;
543
+ constructor(data?: PartialMessage<TypedDataDomain>);
544
+ static readonly runtime: typeof proto3;
545
+ static readonly typeName = "uniswap.liquidity.v1.TypedDataDomain";
546
+ static readonly fields: FieldList;
547
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TypedDataDomain;
548
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TypedDataDomain;
549
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TypedDataDomain;
550
+ static equals(a: TypedDataDomain | PlainMessage<TypedDataDomain> | undefined, b: TypedDataDomain | PlainMessage<TypedDataDomain> | undefined): boolean;
551
+ }
552
+ /**
553
+ * @generated from message uniswap.liquidity.v1.NFTPermitValues
554
+ */
555
+ export declare class NFTPermitValues extends Message<NFTPermitValues> {
556
+ /**
557
+ * @generated from field: string spender = 1;
558
+ */
559
+ spender: string;
560
+ /**
561
+ * @generated from field: int32 tokenId = 2;
562
+ */
563
+ tokenId: number;
564
+ /**
565
+ * @generated from field: string deadline = 3;
566
+ */
567
+ deadline: string;
568
+ /**
569
+ * @generated from field: string nonce = 4;
570
+ */
571
+ nonce: string;
572
+ constructor(data?: PartialMessage<NFTPermitValues>);
573
+ static readonly runtime: typeof proto3;
574
+ static readonly typeName = "uniswap.liquidity.v1.NFTPermitValues";
575
+ static readonly fields: FieldList;
576
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NFTPermitValues;
577
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NFTPermitValues;
578
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NFTPermitValues;
579
+ static equals(a: NFTPermitValues | PlainMessage<NFTPermitValues> | undefined, b: NFTPermitValues | PlainMessage<NFTPermitValues> | undefined): boolean;
580
+ }
581
+ /**
582
+ * @generated from message uniswap.liquidity.v1.NFTPermitData
583
+ */
584
+ export declare class NFTPermitData extends Message<NFTPermitData> {
585
+ /**
586
+ * @generated from field: uniswap.liquidity.v1.TypedDataDomain domain = 1;
587
+ */
588
+ domain?: TypedDataDomain;
589
+ /**
590
+ * @generated from field: map<string, uniswap.liquidity.v1.TypeFieldArray> types = 2;
591
+ */
592
+ types: {
593
+ [key: string]: TypeFieldArray;
594
+ };
595
+ /**
596
+ * @generated from field: uniswap.liquidity.v1.NFTPermitValues values = 3;
597
+ */
598
+ values?: NFTPermitValues;
599
+ constructor(data?: PartialMessage<NFTPermitData>);
600
+ static readonly runtime: typeof proto3;
601
+ static readonly typeName = "uniswap.liquidity.v1.NFTPermitData";
602
+ static readonly fields: FieldList;
603
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NFTPermitData;
604
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NFTPermitData;
605
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NFTPermitData;
606
+ static equals(a: NFTPermitData | PlainMessage<NFTPermitData> | undefined, b: NFTPermitData | PlainMessage<NFTPermitData> | undefined): boolean;
607
+ }
608
+ /**
609
+ * @generated from message uniswap.liquidity.v1.PermitTransferFromData
610
+ */
611
+ export declare class PermitTransferFromData extends Message<PermitTransferFromData> {
612
+ /**
613
+ * @generated from field: uniswap.liquidity.v1.Domain domain = 1;
614
+ */
615
+ domain?: Domain;
616
+ /**
617
+ * @generated from field: map<string, uniswap.liquidity.v1.TypeFieldArray> types = 2;
618
+ */
619
+ types: {
620
+ [key: string]: TypeFieldArray;
621
+ };
622
+ /**
623
+ * @generated from field: uniswap.liquidity.v1.PermitTransferFrom values = 3;
624
+ */
625
+ values?: PermitTransferFrom;
626
+ constructor(data?: PartialMessage<PermitTransferFromData>);
627
+ static readonly runtime: typeof proto3;
628
+ static readonly typeName = "uniswap.liquidity.v1.PermitTransferFromData";
629
+ static readonly fields: FieldList;
630
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PermitTransferFromData;
631
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PermitTransferFromData;
632
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PermitTransferFromData;
633
+ static equals(a: PermitTransferFromData | PlainMessage<PermitTransferFromData> | undefined, b: PermitTransferFromData | PlainMessage<PermitTransferFromData> | undefined): boolean;
634
+ }
635
+ /**
636
+ * @generated from message uniswap.liquidity.v1.TypeFieldArray
637
+ */
638
+ export declare class TypeFieldArray extends Message<TypeFieldArray> {
639
+ /**
640
+ * @generated from field: repeated uniswap.liquidity.v1.TypeField fields = 1;
641
+ */
642
+ fields: TypeField[];
643
+ constructor(data?: PartialMessage<TypeFieldArray>);
644
+ static readonly runtime: typeof proto3;
645
+ static readonly typeName = "uniswap.liquidity.v1.TypeFieldArray";
646
+ static readonly fields: FieldList;
647
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TypeFieldArray;
648
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TypeFieldArray;
649
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TypeFieldArray;
650
+ static equals(a: TypeFieldArray | PlainMessage<TypeFieldArray> | undefined, b: TypeFieldArray | PlainMessage<TypeFieldArray> | undefined): boolean;
651
+ }
652
+ /**
653
+ * @generated from message uniswap.liquidity.v1.PermitTransferFrom
654
+ */
655
+ export declare class PermitTransferFrom extends Message<PermitTransferFrom> {
656
+ /**
657
+ * @generated from field: uniswap.liquidity.v1.TokenPermissions permitted = 1;
658
+ */
659
+ permitted?: TokenPermissions;
660
+ /**
661
+ * @generated from field: string spender = 2;
662
+ */
663
+ spender: string;
664
+ /**
665
+ * @generated from field: string nonce = 3;
666
+ */
667
+ nonce: string;
668
+ /**
669
+ * @generated from field: string deadline = 4;
670
+ */
671
+ deadline: string;
672
+ constructor(data?: PartialMessage<PermitTransferFrom>);
673
+ static readonly runtime: typeof proto3;
674
+ static readonly typeName = "uniswap.liquidity.v1.PermitTransferFrom";
675
+ static readonly fields: FieldList;
676
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PermitTransferFrom;
677
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PermitTransferFrom;
678
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PermitTransferFrom;
679
+ static equals(a: PermitTransferFrom | PlainMessage<PermitTransferFrom> | undefined, b: PermitTransferFrom | PlainMessage<PermitTransferFrom> | undefined): boolean;
680
+ }
681
+ /**
682
+ * @generated from message uniswap.liquidity.v1.TokenPermissions
683
+ */
684
+ export declare class TokenPermissions extends Message<TokenPermissions> {
685
+ /**
686
+ * @generated from field: string token = 1;
687
+ */
688
+ token: string;
689
+ /**
690
+ * @generated from field: string amount = 2;
691
+ */
692
+ amount: string;
693
+ constructor(data?: PartialMessage<TokenPermissions>);
694
+ static readonly runtime: typeof proto3;
695
+ static readonly typeName = "uniswap.liquidity.v1.TokenPermissions";
696
+ static readonly fields: FieldList;
697
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenPermissions;
698
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenPermissions;
699
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenPermissions;
700
+ static equals(a: TokenPermissions | PlainMessage<TokenPermissions> | undefined, b: TokenPermissions | PlainMessage<TokenPermissions> | undefined): boolean;
701
+ }
702
+ /**
703
+ * REQUEST MESSAGE SUPPORTING TYPES
704
+ *
705
+ * @generated from message uniswap.liquidity.v1.V2CreateLPPosition
706
+ */
707
+ export declare class V2CreateLPPosition extends Message<V2CreateLPPosition> {
708
+ /**
709
+ * @generated from field: uniswap.liquidity.v1.Protocols protocols = 1;
710
+ */
711
+ protocols: Protocols;
712
+ /**
713
+ * @generated from field: uniswap.liquidity.v1.V2Position position = 2;
714
+ */
715
+ position?: V2Position;
716
+ /**
717
+ * @generated from field: string wallet_address = 3;
718
+ */
719
+ walletAddress: string;
720
+ /**
721
+ * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 4;
722
+ */
723
+ chainId: ChainId;
724
+ /**
725
+ * @generated from field: optional string amount0 = 5;
726
+ */
727
+ amount0?: string;
728
+ /**
729
+ * @generated from field: optional string amount1 = 6;
730
+ */
731
+ amount1?: string;
732
+ /**
733
+ * @generated from field: optional string independentAmount = 7;
734
+ */
735
+ independentAmount?: string;
736
+ /**
737
+ * @generated from field: optional uniswap.liquidity.v1.IndependentToken independent_token = 8;
738
+ */
739
+ independentToken?: IndependentToken;
740
+ /**
741
+ * @generated from field: optional string default_dependent_amount = 10;
742
+ */
743
+ defaultDependentAmount?: string;
744
+ /**
745
+ * @generated from field: optional int32 slippage_tolerance = 15;
746
+ */
747
+ slippageTolerance?: number;
748
+ /**
749
+ * @generated from field: optional int32 deadline = 16;
750
+ */
751
+ deadline?: number;
752
+ /**
753
+ * @generated from field: bool simulate_transaction = 19;
754
+ */
755
+ simulateTransaction: boolean;
756
+ constructor(data?: PartialMessage<V2CreateLPPosition>);
757
+ static readonly runtime: typeof proto3;
758
+ static readonly typeName = "uniswap.liquidity.v1.V2CreateLPPosition";
759
+ static readonly fields: FieldList;
760
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V2CreateLPPosition;
761
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V2CreateLPPosition;
762
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V2CreateLPPosition;
763
+ static equals(a: V2CreateLPPosition | PlainMessage<V2CreateLPPosition> | undefined, b: V2CreateLPPosition | PlainMessage<V2CreateLPPosition> | undefined): boolean;
764
+ }
765
+ /**
766
+ * @generated from message uniswap.liquidity.v1.V3CreateLPPosition
767
+ */
768
+ export declare class V3CreateLPPosition extends Message<V3CreateLPPosition> {
769
+ /**
770
+ * @generated from field: uniswap.liquidity.v1.Protocols protocols = 1;
771
+ */
772
+ protocols: Protocols;
773
+ /**
774
+ * @generated from field: uniswap.liquidity.v1.V3Position position = 2;
775
+ */
776
+ position?: V3Position;
777
+ /**
778
+ * @generated from field: string wallet_address = 3;
779
+ */
780
+ walletAddress: string;
781
+ /**
782
+ * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 4;
783
+ */
784
+ chainId: ChainId;
785
+ /**
786
+ * @generated from field: optional string initial_price = 11;
787
+ */
788
+ initialPrice?: string;
789
+ /**
790
+ * @generated from field: optional string amount0 = 5;
791
+ */
792
+ amount0?: string;
793
+ /**
794
+ * @generated from field: optional string amount1 = 6;
795
+ */
796
+ amount1?: string;
797
+ /**
798
+ * @generated from field: optional string independentAmount = 7;
799
+ */
800
+ independentAmount?: string;
801
+ /**
802
+ * @generated from field: optional uniswap.liquidity.v1.IndependentToken independent_token = 8;
803
+ */
804
+ independentToken?: IndependentToken;
805
+ /**
806
+ * @generated from field: optional string initial_dependent_amount = 9;
807
+ */
808
+ initialDependentAmount?: string;
809
+ /**
810
+ * @generated from field: optional string pool_liquidity = 12;
811
+ */
812
+ poolLiquidity?: string;
813
+ /**
814
+ * @generated from field: optional sint32 current_tick = 13;
815
+ */
816
+ currentTick?: number;
817
+ /**
818
+ * @generated from field: optional string sqrtRatioX96 = 14;
819
+ */
820
+ sqrtRatioX96?: string;
821
+ /**
822
+ * @generated from field: optional int32 slippage_tolerance = 15;
823
+ */
824
+ slippageTolerance?: number;
825
+ /**
826
+ * @generated from field: optional int32 deadline = 16;
827
+ */
828
+ deadline?: number;
829
+ /**
830
+ * @generated from field: bool simulate_transaction = 19;
831
+ */
832
+ simulateTransaction: boolean;
833
+ /**
834
+ * @generated from field: optional string default_dependent_amount = 10;
835
+ */
836
+ defaultDependentAmount?: string;
837
+ /**
838
+ * @generated from field: optional string signature = 17;
839
+ */
840
+ signature?: string;
841
+ /**
842
+ * @generated from field: optional uniswap.liquidity.v1.PermitBatchData batchPermitData = 18;
843
+ */
844
+ batchPermitData?: PermitBatchData;
845
+ constructor(data?: PartialMessage<V3CreateLPPosition>);
846
+ static readonly runtime: typeof proto3;
847
+ static readonly typeName = "uniswap.liquidity.v1.V3CreateLPPosition";
848
+ static readonly fields: FieldList;
849
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V3CreateLPPosition;
850
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V3CreateLPPosition;
851
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V3CreateLPPosition;
852
+ static equals(a: V3CreateLPPosition | PlainMessage<V3CreateLPPosition> | undefined, b: V3CreateLPPosition | PlainMessage<V3CreateLPPosition> | undefined): boolean;
853
+ }
854
+ /**
855
+ * @generated from message uniswap.liquidity.v1.V4CreateLPPosition
856
+ */
857
+ export declare class V4CreateLPPosition extends Message<V4CreateLPPosition> {
858
+ /**
859
+ * @generated from field: uniswap.liquidity.v1.Protocols protocols = 1;
860
+ */
861
+ protocols: Protocols;
862
+ /**
863
+ * @generated from field: uniswap.liquidity.v1.V4Position position = 2;
864
+ */
865
+ position?: V4Position;
866
+ /**
867
+ * @generated from field: string wallet_address = 3;
868
+ */
869
+ walletAddress: string;
870
+ /**
871
+ * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 4;
872
+ */
873
+ chainId: ChainId;
874
+ /**
875
+ * @generated from field: optional string initial_price = 11;
876
+ */
877
+ initialPrice?: string;
878
+ /**
879
+ * @generated from field: optional string amount0 = 5;
880
+ */
881
+ amount0?: string;
882
+ /**
883
+ * @generated from field: optional string amount1 = 6;
884
+ */
885
+ amount1?: string;
886
+ /**
887
+ * @generated from field: optional string independentAmount = 7;
888
+ */
889
+ independentAmount?: string;
890
+ /**
891
+ * @generated from field: optional uniswap.liquidity.v1.IndependentToken independent_token = 8;
892
+ */
893
+ independentToken?: IndependentToken;
894
+ /**
895
+ * @generated from field: optional string initial_dependent_amount = 9;
896
+ */
897
+ initialDependentAmount?: string;
898
+ /**
899
+ * @generated from field: optional string pool_liquidity = 12;
900
+ */
901
+ poolLiquidity?: string;
902
+ /**
903
+ * @generated from field: optional sint32 current_tick = 13;
904
+ */
905
+ currentTick?: number;
906
+ /**
907
+ * @generated from field: optional string sqrtRatioX96 = 14;
908
+ */
909
+ sqrtRatioX96?: string;
910
+ /**
911
+ * @generated from field: optional string signature = 17;
912
+ */
913
+ signature?: string;
914
+ /**
915
+ * @generated from field: optional uniswap.liquidity.v1.PermitBatchData batchPermitData = 18;
916
+ */
917
+ batchPermitData?: PermitBatchData;
918
+ /**
919
+ * @generated from field: optional string default_dependent_amount = 10;
920
+ */
921
+ defaultDependentAmount?: string;
922
+ /**
923
+ * @generated from field: optional int32 slippage_tolerance = 15;
924
+ */
925
+ slippageTolerance?: number;
926
+ /**
927
+ * @generated from field: optional int32 deadline = 16;
928
+ */
929
+ deadline?: number;
930
+ /**
931
+ * @generated from field: bool simulate_transaction = 19;
932
+ */
933
+ simulateTransaction: boolean;
934
+ constructor(data?: PartialMessage<V4CreateLPPosition>);
935
+ static readonly runtime: typeof proto3;
936
+ static readonly typeName = "uniswap.liquidity.v1.V4CreateLPPosition";
937
+ static readonly fields: FieldList;
938
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V4CreateLPPosition;
939
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V4CreateLPPosition;
940
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V4CreateLPPosition;
941
+ static equals(a: V4CreateLPPosition | PlainMessage<V4CreateLPPosition> | undefined, b: V4CreateLPPosition | PlainMessage<V4CreateLPPosition> | undefined): boolean;
942
+ }
943
+ /**
944
+ * @generated from message uniswap.liquidity.v1.PoolInformation
945
+ */
946
+ export declare class PoolInformation extends Message<PoolInformation> {
947
+ /**
948
+ * @generated from field: string pool_reference_identifier = 1;
949
+ */
950
+ poolReferenceIdentifier: string;
951
+ /**
952
+ * @generated from field: uniswap.liquidity.v1.Protocols pool_protocol = 2;
953
+ */
954
+ poolProtocol: Protocols;
955
+ /**
956
+ * @generated from field: string token_address_A = 3;
957
+ */
958
+ tokenAddressA: string;
959
+ /**
960
+ * @generated from field: string token_address_B = 4;
961
+ */
962
+ tokenAddressB: string;
963
+ /**
964
+ * @generated from field: optional int32 tick_spacing = 5;
965
+ */
966
+ tickSpacing?: number;
967
+ /**
968
+ * @generated from field: optional int32 fee = 6;
969
+ */
970
+ fee?: number;
971
+ /**
972
+ * @generated from field: optional string hook_address = 7;
973
+ */
974
+ hookAddress?: string;
975
+ /**
976
+ * @generated from field: int32 chain_id = 8;
977
+ */
978
+ chainId: number;
979
+ /**
980
+ * @generated from field: optional string token_amount_A = 9;
981
+ */
982
+ tokenAmountA?: string;
983
+ /**
984
+ * @generated from field: optional string token_amount_B = 10;
985
+ */
986
+ tokenAmountB?: string;
987
+ /**
988
+ * @generated from field: string token_decimals_A = 11;
989
+ */
990
+ tokenDecimalsA: string;
991
+ /**
992
+ * @generated from field: string token_decimals_B = 12;
993
+ */
994
+ tokenDecimalsB: string;
995
+ /**
996
+ * @generated from field: optional string pool_liquidity = 13;
997
+ */
998
+ poolLiquidity?: string;
999
+ /**
1000
+ * @generated from field: optional string sqrt_ratio_x96 = 14;
1001
+ */
1002
+ sqrtRatioX96?: string;
1003
+ /**
1004
+ * @generated from field: optional int32 current_tick = 15;
1005
+ */
1006
+ currentTick?: number;
1007
+ /**
1008
+ * @generated from field: optional string token_0_reserves = 16;
1009
+ */
1010
+ token0Reserves?: string;
1011
+ /**
1012
+ * @generated from field: optional string token_1_reserves = 17;
1013
+ */
1014
+ token1Reserves?: string;
1015
+ constructor(data?: PartialMessage<PoolInformation>);
1016
+ static readonly runtime: typeof proto3;
1017
+ static readonly typeName = "uniswap.liquidity.v1.PoolInformation";
1018
+ static readonly fields: FieldList;
1019
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolInformation;
1020
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolInformation;
1021
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolInformation;
1022
+ static equals(a: PoolInformation | PlainMessage<PoolInformation> | undefined, b: PoolInformation | PlainMessage<PoolInformation> | undefined): boolean;
1023
+ }
1024
+ /**
1025
+ * @generated from message uniswap.liquidity.v1.PoolReferenceByProtocol
1026
+ */
1027
+ export declare class PoolReferenceByProtocol extends Message<PoolReferenceByProtocol> {
1028
+ /**
1029
+ * @generated from field: string reference_identifier = 1;
1030
+ */
1031
+ referenceIdentifier: string;
1032
+ /**
1033
+ * @generated from field: uniswap.liquidity.v1.Protocols protocol = 2;
1034
+ */
1035
+ protocol: Protocols;
1036
+ /**
1037
+ * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 3;
1038
+ */
1039
+ chainId: ChainId;
1040
+ constructor(data?: PartialMessage<PoolReferenceByProtocol>);
1041
+ static readonly runtime: typeof proto3;
1042
+ static readonly typeName = "uniswap.liquidity.v1.PoolReferenceByProtocol";
1043
+ static readonly fields: FieldList;
1044
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolReferenceByProtocol;
1045
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolReferenceByProtocol;
1046
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolReferenceByProtocol;
1047
+ static equals(a: PoolReferenceByProtocol | PlainMessage<PoolReferenceByProtocol> | undefined, b: PoolReferenceByProtocol | PlainMessage<PoolReferenceByProtocol> | undefined): boolean;
1048
+ }
1049
+ /**
1050
+ * @generated from message uniswap.liquidity.v1.PoolParameters
1051
+ */
1052
+ export declare class PoolParameters extends Message<PoolParameters> {
1053
+ /**
1054
+ * @generated from field: string token_address_A = 2;
1055
+ */
1056
+ tokenAddressA: string;
1057
+ /**
1058
+ * @generated from field: string token_address_B = 3;
1059
+ */
1060
+ tokenAddressB: string;
1061
+ /**
1062
+ * @generated from field: optional int32 tick_spacing = 4;
1063
+ */
1064
+ tickSpacing?: number;
1065
+ /**
1066
+ * @generated from field: optional int32 fee = 5;
1067
+ */
1068
+ fee?: number;
1069
+ /**
1070
+ * @generated from field: optional string hook_address = 6;
1071
+ */
1072
+ hookAddress?: string;
1073
+ constructor(data?: PartialMessage<PoolParameters>);
1074
+ static readonly runtime: typeof proto3;
1075
+ static readonly typeName = "uniswap.liquidity.v1.PoolParameters";
1076
+ static readonly fields: FieldList;
1077
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolParameters;
1078
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolParameters;
1079
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolParameters;
1080
+ static equals(a: PoolParameters | PlainMessage<PoolParameters> | undefined, b: PoolParameters | PlainMessage<PoolParameters> | undefined): boolean;
1081
+ }
1082
+ /**
1083
+ * @generated from message uniswap.liquidity.v1.V2IncreaseLPPosition
1084
+ */
1085
+ export declare class V2IncreaseLPPosition extends Message<V2IncreaseLPPosition> {
1086
+ /**
1087
+ * @generated from field: uniswap.liquidity.v1.Protocols protocols = 1;
1088
+ */
1089
+ protocols: Protocols;
1090
+ /**
1091
+ * @generated from field: uniswap.liquidity.v1.V2Position position = 2;
1092
+ */
1093
+ position?: V2Position;
1094
+ /**
1095
+ * @generated from field: string wallet_address = 3;
1096
+ */
1097
+ walletAddress: string;
1098
+ /**
1099
+ * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 4;
1100
+ */
1101
+ chainId: ChainId;
1102
+ /**
1103
+ * @generated from field: optional string amount0 = 5;
1104
+ */
1105
+ amount0?: string;
1106
+ /**
1107
+ * @generated from field: optional string amount1 = 6;
1108
+ */
1109
+ amount1?: string;
1110
+ /**
1111
+ * @generated from field: optional string independentAmount = 7;
1112
+ */
1113
+ independentAmount?: string;
1114
+ /**
1115
+ * @generated from field: optional uniswap.liquidity.v1.IndependentToken independent_token = 8;
1116
+ */
1117
+ independentToken?: IndependentToken;
1118
+ /**
1119
+ * @generated from field: optional string default_dependent_amount = 9;
1120
+ */
1121
+ defaultDependentAmount?: string;
1122
+ /**
1123
+ * @generated from field: optional int32 slippage_tolerance = 10;
1124
+ */
1125
+ slippageTolerance?: number;
1126
+ /**
1127
+ * @generated from field: optional int32 deadline = 11;
1128
+ */
1129
+ deadline?: number;
1130
+ /**
1131
+ * @generated from field: bool simulate_transaction = 12;
1132
+ */
1133
+ simulateTransaction: boolean;
1134
+ constructor(data?: PartialMessage<V2IncreaseLPPosition>);
1135
+ static readonly runtime: typeof proto3;
1136
+ static readonly typeName = "uniswap.liquidity.v1.V2IncreaseLPPosition";
1137
+ static readonly fields: FieldList;
1138
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V2IncreaseLPPosition;
1139
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V2IncreaseLPPosition;
1140
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V2IncreaseLPPosition;
1141
+ static equals(a: V2IncreaseLPPosition | PlainMessage<V2IncreaseLPPosition> | undefined, b: V2IncreaseLPPosition | PlainMessage<V2IncreaseLPPosition> | undefined): boolean;
1142
+ }
1143
+ /**
1144
+ * @generated from message uniswap.liquidity.v1.V3IncreaseLPPosition
1145
+ */
1146
+ export declare class V3IncreaseLPPosition extends Message<V3IncreaseLPPosition> {
1147
+ /**
1148
+ * @generated from field: uniswap.liquidity.v1.Protocols protocols = 1;
1149
+ */
1150
+ protocols: Protocols;
1151
+ /**
1152
+ * @generated from field: int32 tokenId = 2;
1153
+ */
1154
+ tokenId: number;
1155
+ /**
1156
+ * @generated from field: uniswap.liquidity.v1.V3Position position = 3;
1157
+ */
1158
+ position?: V3Position;
1159
+ /**
1160
+ * @generated from field: string wallet_address = 4;
1161
+ */
1162
+ walletAddress: string;
1163
+ /**
1164
+ * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 5;
1165
+ */
1166
+ chainId: ChainId;
1167
+ /**
1168
+ * @generated from field: optional string amount0 = 6;
1169
+ */
1170
+ amount0?: string;
1171
+ /**
1172
+ * @generated from field: optional string amount1 = 7;
1173
+ */
1174
+ amount1?: string;
1175
+ /**
1176
+ * @generated from field: optional string independentAmount = 8;
1177
+ */
1178
+ independentAmount?: string;
1179
+ /**
1180
+ * @generated from field: optional uniswap.liquidity.v1.IndependentToken independent_token = 9;
1181
+ */
1182
+ independentToken?: IndependentToken;
1183
+ /**
1184
+ * @generated from field: optional string pool_liquidity = 10;
1185
+ */
1186
+ poolLiquidity?: string;
1187
+ /**
1188
+ * @generated from field: optional sint32 current_tick = 11;
1189
+ */
1190
+ currentTick?: number;
1191
+ /**
1192
+ * @generated from field: optional string sqrtRatioX96 = 12;
1193
+ */
1194
+ sqrtRatioX96?: string;
1195
+ /**
1196
+ * @generated from field: optional int32 slippage_tolerance = 14;
1197
+ */
1198
+ slippageTolerance?: number;
1199
+ /**
1200
+ * @generated from field: optional int32 deadline = 15;
1201
+ */
1202
+ deadline?: number;
1203
+ /**
1204
+ * @generated from field: bool simulate_transaction = 16;
1205
+ */
1206
+ simulateTransaction: boolean;
1207
+ constructor(data?: PartialMessage<V3IncreaseLPPosition>);
1208
+ static readonly runtime: typeof proto3;
1209
+ static readonly typeName = "uniswap.liquidity.v1.V3IncreaseLPPosition";
1210
+ static readonly fields: FieldList;
1211
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V3IncreaseLPPosition;
1212
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V3IncreaseLPPosition;
1213
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V3IncreaseLPPosition;
1214
+ static equals(a: V3IncreaseLPPosition | PlainMessage<V3IncreaseLPPosition> | undefined, b: V3IncreaseLPPosition | PlainMessage<V3IncreaseLPPosition> | undefined): boolean;
1215
+ }
1216
+ /**
1217
+ * @generated from message uniswap.liquidity.v1.V4IncreaseLPPosition
1218
+ */
1219
+ export declare class V4IncreaseLPPosition extends Message<V4IncreaseLPPosition> {
1220
+ /**
1221
+ * @generated from field: uniswap.liquidity.v1.Protocols protocols = 1;
1222
+ */
1223
+ protocols: Protocols;
1224
+ /**
1225
+ * @generated from field: int32 tokenId = 2;
1226
+ */
1227
+ tokenId: number;
1228
+ /**
1229
+ * @generated from field: uniswap.liquidity.v1.V4Position position = 3;
1230
+ */
1231
+ position?: V4Position;
1232
+ /**
1233
+ * @generated from field: string wallet_address = 4;
1234
+ */
1235
+ walletAddress: string;
1236
+ /**
1237
+ * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 5;
1238
+ */
1239
+ chainId: ChainId;
1240
+ /**
1241
+ * @generated from field: optional string amount0 = 6;
1242
+ */
1243
+ amount0?: string;
1244
+ /**
1245
+ * @generated from field: optional string amount1 = 7;
1246
+ */
1247
+ amount1?: string;
1248
+ /**
1249
+ * @generated from field: optional string independentAmount = 8;
1250
+ */
1251
+ independentAmount?: string;
1252
+ /**
1253
+ * @generated from field: optional uniswap.liquidity.v1.IndependentToken independent_token = 9;
1254
+ */
1255
+ independentToken?: IndependentToken;
1256
+ /**
1257
+ * @generated from field: optional string pool_liquidity = 10;
1258
+ */
1259
+ poolLiquidity?: string;
1260
+ /**
1261
+ * @generated from field: optional sint32 current_tick = 11;
1262
+ */
1263
+ currentTick?: number;
1264
+ /**
1265
+ * @generated from field: optional string sqrtRatioX96 = 12;
1266
+ */
1267
+ sqrtRatioX96?: string;
1268
+ /**
1269
+ * @generated from field: optional int32 slippage_tolerance = 14;
1270
+ */
1271
+ slippageTolerance?: number;
1272
+ /**
1273
+ * @generated from field: optional int32 deadline = 15;
1274
+ */
1275
+ deadline?: number;
1276
+ /**
1277
+ * @generated from field: bool simulate_transaction = 16;
1278
+ */
1279
+ simulateTransaction: boolean;
1280
+ /**
1281
+ * @generated from field: optional string signature = 17;
1282
+ */
1283
+ signature?: string;
1284
+ /**
1285
+ * @generated from field: optional uniswap.liquidity.v1.PermitBatchData batchPermitData = 18;
1286
+ */
1287
+ batchPermitData?: PermitBatchData;
1288
+ constructor(data?: PartialMessage<V4IncreaseLPPosition>);
1289
+ static readonly runtime: typeof proto3;
1290
+ static readonly typeName = "uniswap.liquidity.v1.V4IncreaseLPPosition";
1291
+ static readonly fields: FieldList;
1292
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V4IncreaseLPPosition;
1293
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V4IncreaseLPPosition;
1294
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V4IncreaseLPPosition;
1295
+ static equals(a: V4IncreaseLPPosition | PlainMessage<V4IncreaseLPPosition> | undefined, b: V4IncreaseLPPosition | PlainMessage<V4IncreaseLPPosition> | undefined): boolean;
1296
+ }
1297
+ /**
1298
+ * @generated from message uniswap.liquidity.v1.V2DecreaseLPPosition
1299
+ */
1300
+ export declare class V2DecreaseLPPosition extends Message<V2DecreaseLPPosition> {
1301
+ /**
1302
+ * @generated from field: uniswap.liquidity.v1.Protocols protocol = 1;
1303
+ */
1304
+ protocol: Protocols;
1305
+ /**
1306
+ * @generated from field: uniswap.liquidity.v1.V2Position position = 2;
1307
+ */
1308
+ position?: V2Position;
1309
+ /**
1310
+ * @generated from field: string wallet_address = 3;
1311
+ */
1312
+ walletAddress: string;
1313
+ /**
1314
+ * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 4;
1315
+ */
1316
+ chainId: ChainId;
1317
+ /**
1318
+ * @generated from field: string positionLiquidity = 5;
1319
+ */
1320
+ positionLiquidity: string;
1321
+ /**
1322
+ * @generated from field: int32 liquidityPercentageToDecrease = 6;
1323
+ */
1324
+ liquidityPercentageToDecrease: number;
1325
+ /**
1326
+ * @generated from field: string liquidity0 = 7;
1327
+ */
1328
+ liquidity0: string;
1329
+ /**
1330
+ * @generated from field: string liquidity1 = 8;
1331
+ */
1332
+ liquidity1: string;
1333
+ /**
1334
+ * @generated from field: bool collectAsWETH = 10;
1335
+ */
1336
+ collectAsWETH: boolean;
1337
+ /**
1338
+ * @generated from field: optional bool simulate_transaction = 11;
1339
+ */
1340
+ simulateTransaction?: boolean;
1341
+ /**
1342
+ * @generated from field: optional int32 slippage_tolerance = 12;
1343
+ */
1344
+ slippageTolerance?: number;
1345
+ /**
1346
+ * @generated from field: optional int32 deadline = 13;
1347
+ */
1348
+ deadline?: number;
1349
+ constructor(data?: PartialMessage<V2DecreaseLPPosition>);
1350
+ static readonly runtime: typeof proto3;
1351
+ static readonly typeName = "uniswap.liquidity.v1.V2DecreaseLPPosition";
1352
+ static readonly fields: FieldList;
1353
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V2DecreaseLPPosition;
1354
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V2DecreaseLPPosition;
1355
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V2DecreaseLPPosition;
1356
+ static equals(a: V2DecreaseLPPosition | PlainMessage<V2DecreaseLPPosition> | undefined, b: V2DecreaseLPPosition | PlainMessage<V2DecreaseLPPosition> | undefined): boolean;
1357
+ }
1358
+ /**
1359
+ * @generated from message uniswap.liquidity.v1.V3DecreaseLPPosition
1360
+ */
1361
+ export declare class V3DecreaseLPPosition extends Message<V3DecreaseLPPosition> {
1362
+ /**
1363
+ * @generated from field: uniswap.liquidity.v1.Protocols protocol = 1;
1364
+ */
1365
+ protocol: Protocols;
1366
+ /**
1367
+ * @generated from field: int32 tokenId = 2;
1368
+ */
1369
+ tokenId: number;
1370
+ /**
1371
+ * @generated from field: uniswap.liquidity.v1.V3Position position = 3;
1372
+ */
1373
+ position?: V3Position;
1374
+ /**
1375
+ * @generated from field: string wallet_address = 4;
1376
+ */
1377
+ walletAddress: string;
1378
+ /**
1379
+ * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 5;
1380
+ */
1381
+ chainId: ChainId;
1382
+ /**
1383
+ * @generated from field: string liquidityPercentageToDecrease = 7;
1384
+ */
1385
+ liquidityPercentageToDecrease: string;
1386
+ /**
1387
+ * @generated from field: optional string poolLiquidity = 8;
1388
+ */
1389
+ poolLiquidity?: string;
1390
+ /**
1391
+ * @generated from field: optional int32 current_tick = 9;
1392
+ */
1393
+ currentTick?: number;
1394
+ /**
1395
+ * @generated from field: optional string sqrtRatioX96 = 10;
1396
+ */
1397
+ sqrtRatioX96?: string;
1398
+ /**
1399
+ * @generated from field: string positionLiquidity = 11;
1400
+ */
1401
+ positionLiquidity: string;
1402
+ /**
1403
+ * @generated from field: string expectedTokenOwed0RawAmount = 12;
1404
+ */
1405
+ expectedTokenOwed0RawAmount: string;
1406
+ /**
1407
+ * @generated from field: string expectedTokenOwed1RawAmount = 13;
1408
+ */
1409
+ expectedTokenOwed1RawAmount: string;
1410
+ /**
1411
+ * @generated from field: bool collectAsWETH = 14;
1412
+ */
1413
+ collectAsWETH: boolean;
1414
+ /**
1415
+ * @generated from field: optional bool simulate_transaction = 15;
1416
+ */
1417
+ simulateTransaction?: boolean;
1418
+ /**
1419
+ * @generated from field: optional int32 slippage_tolerance = 16;
1420
+ */
1421
+ slippageTolerance?: number;
1422
+ /**
1423
+ * @generated from field: optional int32 deadline = 17;
1424
+ */
1425
+ deadline?: number;
1426
+ constructor(data?: PartialMessage<V3DecreaseLPPosition>);
1427
+ static readonly runtime: typeof proto3;
1428
+ static readonly typeName = "uniswap.liquidity.v1.V3DecreaseLPPosition";
1429
+ static readonly fields: FieldList;
1430
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V3DecreaseLPPosition;
1431
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V3DecreaseLPPosition;
1432
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V3DecreaseLPPosition;
1433
+ static equals(a: V3DecreaseLPPosition | PlainMessage<V3DecreaseLPPosition> | undefined, b: V3DecreaseLPPosition | PlainMessage<V3DecreaseLPPosition> | undefined): boolean;
1434
+ }
1435
+ /**
1436
+ * @generated from message uniswap.liquidity.v1.V4DecreaseLPPosition
1437
+ */
1438
+ export declare class V4DecreaseLPPosition extends Message<V4DecreaseLPPosition> {
1439
+ /**
1440
+ * @generated from field: uniswap.liquidity.v1.Protocols protocol = 1;
1441
+ */
1442
+ protocol: Protocols;
1443
+ /**
1444
+ * @generated from field: int32 tokenId = 2;
1445
+ */
1446
+ tokenId: number;
1447
+ /**
1448
+ * @generated from field: uniswap.liquidity.v1.V4Position position = 3;
1449
+ */
1450
+ position?: V4Position;
1451
+ /**
1452
+ * @generated from field: string wallet_address = 4;
1453
+ */
1454
+ walletAddress: string;
1455
+ /**
1456
+ * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 5;
1457
+ */
1458
+ chainId: ChainId;
1459
+ /**
1460
+ * @generated from field: int32 liquidityPercentageToDecrease = 6;
1461
+ */
1462
+ liquidityPercentageToDecrease: number;
1463
+ /**
1464
+ * @generated from field: optional string poolLiquidity = 7;
1465
+ */
1466
+ poolLiquidity?: string;
1467
+ /**
1468
+ * @generated from field: optional int32 current_tick = 8;
1469
+ */
1470
+ currentTick?: number;
1471
+ /**
1472
+ * @generated from field: optional string sqrtRatioX96 = 9;
1473
+ */
1474
+ sqrtRatioX96?: string;
1475
+ /**
1476
+ * @generated from field: string positionLiquidity = 10;
1477
+ */
1478
+ positionLiquidity: string;
1479
+ /**
1480
+ * @generated from field: optional bool simulate_transaction = 11;
1481
+ */
1482
+ simulateTransaction?: boolean;
1483
+ /**
1484
+ * @generated from field: optional int32 slippage_tolerance = 12;
1485
+ */
1486
+ slippageTolerance?: number;
1487
+ /**
1488
+ * @generated from field: optional int32 deadline = 13;
1489
+ */
1490
+ deadline?: number;
1491
+ constructor(data?: PartialMessage<V4DecreaseLPPosition>);
1492
+ static readonly runtime: typeof proto3;
1493
+ static readonly typeName = "uniswap.liquidity.v1.V4DecreaseLPPosition";
1494
+ static readonly fields: FieldList;
1495
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V4DecreaseLPPosition;
1496
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V4DecreaseLPPosition;
1497
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V4DecreaseLPPosition;
1498
+ static equals(a: V4DecreaseLPPosition | PlainMessage<V4DecreaseLPPosition> | undefined, b: V4DecreaseLPPosition | PlainMessage<V4DecreaseLPPosition> | undefined): boolean;
1499
+ }