@uniswap/client-liquidity 0.0.2 → 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.
@@ -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 {
@@ -81,10 +98,36 @@ export declare enum ChainId {
81
98
  /**
82
99
  * @generated from enum value: SONEIUM = 1868;
83
100
  */
84
- SONEIUM = 1868
101
+ SONEIUM = 1868,
102
+ /**
103
+ * @generated from enum value: MONAD = 143;
104
+ */
105
+ MONAD = 143
106
+ }
107
+ /**
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
85
128
  }
86
129
  /**
87
- * SUPPORTING OBJECTS
130
+ * CORE TYPE OBJECTS
88
131
  *
89
132
  * @generated from message uniswap.liquidity.v1.TransactionRequest
90
133
  */
@@ -284,3 +327,616 @@ export declare class V4Pool extends Message<V4Pool> {
284
327
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V4Pool;
285
328
  static equals(a: V4Pool | PlainMessage<V4Pool> | undefined, b: V4Pool | PlainMessage<V4Pool> | undefined): boolean;
286
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
+ }