@uniswap/client-trading 0.1.3 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,35 +1,5 @@
1
1
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
2
  import { Message, proto3, Struct } from "@bufbuild/protobuf";
3
- /**
4
- * @generated from enum trading.v1.OnChainStatus
5
- */
6
- export declare enum OnChainStatus {
7
- /**
8
- * @generated from enum value: UNKNOWN = 0;
9
- */
10
- UNKNOWN = 0,
11
- /**
12
- * @generated from enum value: SUCCESS = 1;
13
- */
14
- SUCCESS = 1,
15
- /**
16
- * @generated from enum value: FAILED = 2;
17
- */
18
- FAILED = 2
19
- }
20
- /**
21
- * @generated from enum trading.v1.IndependentToken
22
- */
23
- export declare enum IndependentToken {
24
- /**
25
- * @generated from enum value: TOKEN_0 = 0;
26
- */
27
- TOKEN_0 = 0,
28
- /**
29
- * @generated from enum value: TOKEN_1 = 1;
30
- */
31
- TOKEN_1 = 1
32
- }
33
3
  /**
34
4
  * @generated from enum trading.v1.SafetyLevel
35
5
  */
@@ -193,27 +163,7 @@ export declare enum RoutingPreference {
193
163
  /**
194
164
  * @generated from enum value: FASTEST = 1;
195
165
  */
196
- FASTEST = 1,
197
- /**
198
- * @generated from enum value: ROUTING_CLASSIC = 2;
199
- */
200
- ROUTING_CLASSIC = 2,
201
- /**
202
- * @generated from enum value: ROUTING_UNISWAPX_V2 = 4;
203
- */
204
- ROUTING_UNISWAPX_V2 = 4,
205
- /**
206
- * @generated from enum value: V3_ONLY = 5;
207
- */
208
- V3_ONLY = 5,
209
- /**
210
- * @generated from enum value: V2_ONLY = 6;
211
- */
212
- V2_ONLY = 6,
213
- /**
214
- * @generated from enum value: BEST_PRICE_V2 = 7;
215
- */
216
- BEST_PRICE_V2 = 7
166
+ FASTEST = 1
217
167
  }
218
168
  /**
219
169
  * @generated from enum trading.v1.SpreadOptimization
@@ -556,96 +506,6 @@ export declare enum OrderType {
556
506
  */
557
507
  OrderType_DUTCH_V3 = 4
558
508
  }
559
- /**
560
- * @generated from message trading.v1.GetLPPriceDiscrepancyRequest
561
- */
562
- export declare class GetLPPriceDiscrepancyRequest extends Message<GetLPPriceDiscrepancyRequest> {
563
- /**
564
- * @generated from field: string txn_hash = 1;
565
- */
566
- txnHash: string;
567
- /**
568
- * @generated from field: trading.v1.ChainId chain_id = 2;
569
- */
570
- chainId: ChainId;
571
- /**
572
- * @generated from field: string token0 = 3;
573
- */
574
- token0: string;
575
- /**
576
- * @generated from field: string token1 = 4;
577
- */
578
- token1: string;
579
- /**
580
- * @generated from field: optional int32 tick_spacing = 5;
581
- */
582
- tickSpacing?: number;
583
- /**
584
- * @generated from field: optional int32 fee = 6;
585
- */
586
- fee?: number;
587
- /**
588
- * @generated from field: optional string hooks = 7;
589
- */
590
- hooks?: string;
591
- /**
592
- * @generated from field: string sqrt_ratio_x96 = 8;
593
- */
594
- sqrtRatioX96: string;
595
- /**
596
- * @generated from field: trading.v1.Protocols protocol = 9;
597
- */
598
- protocol: Protocols;
599
- constructor(data?: PartialMessage<GetLPPriceDiscrepancyRequest>);
600
- static readonly runtime: typeof proto3;
601
- static readonly typeName = "trading.v1.GetLPPriceDiscrepancyRequest";
602
- static readonly fields: FieldList;
603
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetLPPriceDiscrepancyRequest;
604
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetLPPriceDiscrepancyRequest;
605
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLPPriceDiscrepancyRequest;
606
- static equals(a: GetLPPriceDiscrepancyRequest | PlainMessage<GetLPPriceDiscrepancyRequest> | undefined, b: GetLPPriceDiscrepancyRequest | PlainMessage<GetLPPriceDiscrepancyRequest> | undefined): boolean;
607
- }
608
- /**
609
- * @generated from message trading.v1.GetLPPriceDiscrepancyResponse
610
- */
611
- export declare class GetLPPriceDiscrepancyResponse extends Message<GetLPPriceDiscrepancyResponse> {
612
- /**
613
- * @generated from field: string request_id = 1;
614
- */
615
- requestId: string;
616
- /**
617
- * @generated from field: string percent_price_difference = 2;
618
- */
619
- percentPriceDifference: string;
620
- /**
621
- * @generated from field: trading.v1.OnChainStatus status = 3;
622
- */
623
- status: OnChainStatus;
624
- /**
625
- * @generated from field: string sqrt_ratio_x96_before = 4;
626
- */
627
- sqrtRatioX96Before: string;
628
- /**
629
- * @generated from field: string sqrt_ratio_x96_after = 5;
630
- */
631
- sqrtRatioX96After: string;
632
- /**
633
- * @generated from field: trading.v1.ChainId chain_id = 6;
634
- */
635
- chainId: ChainId;
636
- /**
637
- * @generated from field: trading.v1.Protocols protocol = 7;
638
- */
639
- protocol: Protocols;
640
- constructor(data?: PartialMessage<GetLPPriceDiscrepancyResponse>);
641
- static readonly runtime: typeof proto3;
642
- static readonly typeName = "trading.v1.GetLPPriceDiscrepancyResponse";
643
- static readonly fields: FieldList;
644
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetLPPriceDiscrepancyResponse;
645
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetLPPriceDiscrepancyResponse;
646
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLPPriceDiscrepancyResponse;
647
- static equals(a: GetLPPriceDiscrepancyResponse | PlainMessage<GetLPPriceDiscrepancyResponse> | undefined, b: GetLPPriceDiscrepancyResponse | PlainMessage<GetLPPriceDiscrepancyResponse> | undefined): boolean;
648
- }
649
509
  /**
650
510
  * @generated from message trading.v1.Encode7702Request
651
511
  */
@@ -683,1871 +543,183 @@ export declare class Encode7702Response extends Message<Encode7702Response> {
683
543
  * @generated from field: trading.v1.TransactionRequest encoded_transaction = 2;
684
544
  */
685
545
  encodedTransaction?: TransactionRequest;
686
- constructor(data?: PartialMessage<Encode7702Response>);
687
- static readonly runtime: typeof proto3;
688
- static readonly typeName = "trading.v1.Encode7702Response";
689
- static readonly fields: FieldList;
690
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Encode7702Response;
691
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Encode7702Response;
692
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Encode7702Response;
693
- static equals(a: Encode7702Response | PlainMessage<Encode7702Response> | undefined, b: Encode7702Response | PlainMessage<Encode7702Response> | undefined): boolean;
694
- }
695
- /**
696
- * @generated from message trading.v1.Swap5792Request
697
- */
698
- export declare class Swap5792Request extends Message<Swap5792Request> {
699
- /**
700
- * @generated from oneof trading.v1.Swap5792Request.quote
701
- */
702
- quote: {
703
- /**
704
- * @generated from field: trading.v1.ClassicQuote classic_quote = 1;
705
- */
706
- value: ClassicQuote;
707
- case: "classicQuote";
708
- } | {
709
- /**
710
- * @generated from field: trading.v1.WrapUnwrapQuote wrap_unwrap_quote = 2;
711
- */
712
- value: WrapUnwrapQuote;
713
- case: "wrapUnwrapQuote";
714
- } | {
715
- /**
716
- * @generated from field: trading.v1.BridgeQuote bridge_quote = 3;
717
- */
718
- value: BridgeQuote;
719
- case: "bridgeQuote";
720
- } | {
721
- case: undefined;
722
- value?: undefined;
723
- };
724
- /**
725
- * @generated from field: optional trading.v1.PermitSingleData permit_data = 4;
726
- */
727
- permitData?: PermitSingleData;
728
- /**
729
- * @generated from field: int64 deadline = 5;
730
- */
731
- deadline: bigint;
732
- /**
733
- * @generated from field: optional trading.v1.Urgency urgency = 6;
734
- */
735
- urgency?: Urgency;
736
- constructor(data?: PartialMessage<Swap5792Request>);
737
- static readonly runtime: typeof proto3;
738
- static readonly typeName = "trading.v1.Swap5792Request";
739
- static readonly fields: FieldList;
740
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Swap5792Request;
741
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Swap5792Request;
742
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Swap5792Request;
743
- static equals(a: Swap5792Request | PlainMessage<Swap5792Request> | undefined, b: Swap5792Request | PlainMessage<Swap5792Request> | undefined): boolean;
744
- }
745
- /**
746
- * @generated from message trading.v1.Swap5792Response
747
- */
748
- export declare class Swap5792Response extends Message<Swap5792Response> {
749
- /**
750
- * @generated from field: string request_id = 1;
751
- */
752
- requestId: string;
753
- /**
754
- * @generated from field: string from = 2;
755
- */
756
- from: string;
757
- /**
758
- * @generated from field: trading.v1.ChainId chain_id = 3;
759
- */
760
- chainId: ChainId;
761
- /**
762
- * @generated from field: repeated trading.v1.TransactionRequest5792 calls = 4;
763
- */
764
- calls: TransactionRequest5792[];
765
- /**
766
- * @generated from field: optional string gas_fee = 5;
767
- */
768
- gasFee?: string;
769
- /**
770
- * @generated from field: repeated trading.v1.GasEstimate gas_estimates = 6;
771
- */
772
- gasEstimates: GasEstimate[];
773
- /**
774
- * @generated from field: optional string signature = 7;
775
- */
776
- signature?: string;
777
- /**
778
- * @generated from field: optional string public_key_id = 8;
779
- */
780
- publicKeyId?: string;
781
- constructor(data?: PartialMessage<Swap5792Response>);
782
- static readonly runtime: typeof proto3;
783
- static readonly typeName = "trading.v1.Swap5792Response";
784
- static readonly fields: FieldList;
785
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Swap5792Response;
786
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Swap5792Response;
787
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Swap5792Response;
788
- static equals(a: Swap5792Response | PlainMessage<Swap5792Response> | undefined, b: Swap5792Response | PlainMessage<Swap5792Response> | undefined): boolean;
789
- }
790
- /**
791
- * @generated from message trading.v1.PoolInfoRequest
792
- */
793
- export declare class PoolInfoRequest extends Message<PoolInfoRequest> {
794
- /**
795
- * @generated from field: trading.v1.Protocols protocol = 1;
796
- */
797
- protocol: Protocols;
798
- /**
799
- * @generated from field: repeated trading.v1.PoolReferenceByProtocol pool_references = 2;
800
- */
801
- poolReferences: PoolReferenceByProtocol[];
802
- /**
803
- * @generated from field: optional trading.v1.PoolParameters pool_parameters = 3;
804
- */
805
- poolParameters?: PoolParameters;
806
- /**
807
- * @generated from field: optional trading.v1.ChainId chain_id = 4;
808
- */
809
- chainId?: ChainId;
810
- /**
811
- * @generated from field: optional int32 page_size = 5;
812
- */
813
- pageSize?: number;
814
- /**
815
- * @generated from field: optional int32 current_page = 6;
816
- */
817
- currentPage?: number;
818
- constructor(data?: PartialMessage<PoolInfoRequest>);
819
- static readonly runtime: typeof proto3;
820
- static readonly typeName = "trading.v1.PoolInfoRequest";
821
- static readonly fields: FieldList;
822
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolInfoRequest;
823
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolInfoRequest;
824
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolInfoRequest;
825
- static equals(a: PoolInfoRequest | PlainMessage<PoolInfoRequest> | undefined, b: PoolInfoRequest | PlainMessage<PoolInfoRequest> | undefined): boolean;
826
- }
827
- /**
828
- * @generated from message trading.v1.PoolInfoResponse
829
- */
830
- export declare class PoolInfoResponse extends Message<PoolInfoResponse> {
831
- /**
832
- * @generated from field: string request_id = 1;
833
- */
834
- requestId: string;
835
- /**
836
- * @generated from field: repeated trading.v1.PoolInformation pools = 2;
837
- */
838
- pools: PoolInformation[];
839
- /**
840
- * @generated from field: int32 current_page = 3;
841
- */
842
- currentPage: number;
843
- /**
844
- * @generated from field: int32 page_size = 4;
845
- */
846
- pageSize: number;
847
- constructor(data?: PartialMessage<PoolInfoResponse>);
848
- static readonly runtime: typeof proto3;
849
- static readonly typeName = "trading.v1.PoolInfoResponse";
850
- static readonly fields: FieldList;
851
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolInfoResponse;
852
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolInfoResponse;
853
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolInfoResponse;
854
- static equals(a: PoolInfoResponse | PlainMessage<PoolInfoResponse> | undefined, b: PoolInfoResponse | PlainMessage<PoolInfoResponse> | undefined): boolean;
855
- }
856
- /**
857
- * @generated from message trading.v1.PoolInformation
858
- */
859
- export declare class PoolInformation extends Message<PoolInformation> {
860
- /**
861
- * @generated from field: string pool_reference_identifier = 1;
862
- */
863
- poolReferenceIdentifier: string;
864
- /**
865
- * @generated from field: trading.v1.Protocols pool_protocol = 2;
866
- */
867
- poolProtocol: Protocols;
868
- /**
869
- * @generated from field: string token_address_A = 3;
870
- */
871
- tokenAddressA: string;
872
- /**
873
- * @generated from field: string token_address_B = 4;
874
- */
875
- tokenAddressB: string;
876
- /**
877
- * @generated from field: optional int32 tick_spacing = 5;
878
- */
879
- tickSpacing?: number;
880
- /**
881
- * @generated from field: optional int32 fee = 6;
882
- */
883
- fee?: number;
884
- /**
885
- * @generated from field: optional string hook_address = 7;
886
- */
887
- hookAddress?: string;
888
- /**
889
- * @generated from field: trading.v1.ChainId chain_id = 8;
890
- */
891
- chainId: ChainId;
892
- /**
893
- * @generated from field: optional string token_amount_A = 9;
894
- */
895
- tokenAmountA?: string;
896
- /**
897
- * @generated from field: optional string token_amount_B = 10;
898
- */
899
- tokenAmountB?: string;
900
- /**
901
- * @generated from field: string token_decimals_A = 11;
902
- */
903
- tokenDecimalsA: string;
904
- /**
905
- * @generated from field: string token_decimals_B = 12;
906
- */
907
- tokenDecimalsB: string;
908
- /**
909
- * @generated from field: optional string pool_liquidity = 13;
910
- */
911
- poolLiquidity?: string;
912
- /**
913
- * @generated from field: optional string sqrt_ratio_x96 = 14;
914
- */
915
- sqrtRatioX96?: string;
916
- /**
917
- * @generated from field: optional int32 current_tick = 15;
918
- */
919
- currentTick?: number;
920
- /**
921
- * @generated from field: optional string token_0_reserves = 16;
922
- */
923
- token0Reserves?: string;
924
- /**
925
- * @generated from field: optional string token_1_reserves = 17;
926
- */
927
- token1Reserves?: string;
928
- constructor(data?: PartialMessage<PoolInformation>);
929
- static readonly runtime: typeof proto3;
930
- static readonly typeName = "trading.v1.PoolInformation";
931
- static readonly fields: FieldList;
932
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolInformation;
933
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolInformation;
934
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolInformation;
935
- static equals(a: PoolInformation | PlainMessage<PoolInformation> | undefined, b: PoolInformation | PlainMessage<PoolInformation> | undefined): boolean;
936
- }
937
- /**
938
- * @generated from message trading.v1.PoolReferenceByProtocol
939
- */
940
- export declare class PoolReferenceByProtocol extends Message<PoolReferenceByProtocol> {
941
- /**
942
- * @generated from field: string reference_identifier = 1;
943
- */
944
- referenceIdentifier: string;
945
- /**
946
- * @generated from field: trading.v1.Protocols protocol = 2;
947
- */
948
- protocol: Protocols;
949
- /**
950
- * @generated from field: trading.v1.ChainId chain_id = 3;
951
- */
952
- chainId: ChainId;
953
- constructor(data?: PartialMessage<PoolReferenceByProtocol>);
954
- static readonly runtime: typeof proto3;
955
- static readonly typeName = "trading.v1.PoolReferenceByProtocol";
956
- static readonly fields: FieldList;
957
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolReferenceByProtocol;
958
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolReferenceByProtocol;
959
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolReferenceByProtocol;
960
- static equals(a: PoolReferenceByProtocol | PlainMessage<PoolReferenceByProtocol> | undefined, b: PoolReferenceByProtocol | PlainMessage<PoolReferenceByProtocol> | undefined): boolean;
961
- }
962
- /**
963
- * @generated from message trading.v1.PoolParameters
964
- */
965
- export declare class PoolParameters extends Message<PoolParameters> {
966
- /**
967
- * @generated from field: string token_address_A = 2;
968
- */
969
- tokenAddressA: string;
970
- /**
971
- * @generated from field: string token_address_B = 3;
972
- */
973
- tokenAddressB: string;
974
- /**
975
- * @generated from field: optional int32 tick_spacing = 4;
976
- */
977
- tickSpacing?: number;
978
- /**
979
- * @generated from field: optional int32 fee = 5;
980
- */
981
- fee?: number;
982
- /**
983
- * @generated from field: optional string hook_address = 6;
984
- */
985
- hookAddress?: string;
986
- constructor(data?: PartialMessage<PoolParameters>);
987
- static readonly runtime: typeof proto3;
988
- static readonly typeName = "trading.v1.PoolParameters";
989
- static readonly fields: FieldList;
990
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolParameters;
991
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolParameters;
992
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolParameters;
993
- static equals(a: PoolParameters | PlainMessage<PoolParameters> | undefined, b: PoolParameters | PlainMessage<PoolParameters> | undefined): boolean;
994
- }
995
- /**
996
- * @generated from message trading.v1.SendRequest
997
- */
998
- export declare class SendRequest extends Message<SendRequest> {
999
- /**
1000
- * @generated from field: string sender = 1;
1001
- */
1002
- sender: string;
1003
- /**
1004
- * @generated from field: string recipient = 2;
1005
- */
1006
- recipient: string;
1007
- /**
1008
- * @generated from field: trading.v1.ChainId chain_id = 3;
1009
- */
1010
- chainId: ChainId;
1011
- /**
1012
- * @generated from field: string token = 4;
1013
- */
1014
- token: string;
1015
- /**
1016
- * @generated from field: string amount = 5;
1017
- */
1018
- amount: string;
1019
- /**
1020
- * @generated from field: optional trading.v1.Urgency urgency = 6;
1021
- */
1022
- urgency?: Urgency;
1023
- /**
1024
- * @generated from field: repeated trading.v1.GasStrategy gas_strategies = 7;
1025
- */
1026
- gasStrategies: GasStrategy[];
1027
- constructor(data?: PartialMessage<SendRequest>);
1028
- static readonly runtime: typeof proto3;
1029
- static readonly typeName = "trading.v1.SendRequest";
1030
- static readonly fields: FieldList;
1031
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendRequest;
1032
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendRequest;
1033
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendRequest;
1034
- static equals(a: SendRequest | PlainMessage<SendRequest> | undefined, b: SendRequest | PlainMessage<SendRequest> | undefined): boolean;
1035
- }
1036
- /**
1037
- * @generated from message trading.v1.SendResponse
1038
- */
1039
- export declare class SendResponse extends Message<SendResponse> {
1040
- /**
1041
- * @generated from field: string request_id = 1;
1042
- */
1043
- requestId: string;
1044
- /**
1045
- * @generated from field: optional trading.v1.TransactionRequest send = 2;
1046
- */
1047
- send?: TransactionRequest;
1048
- /**
1049
- * @generated from field: optional string gas_fee = 3;
1050
- */
1051
- gasFee?: string;
1052
- /**
1053
- * @generated from field: optional string gas_fee_usd = 4;
1054
- */
1055
- gasFeeUsd?: string;
1056
- /**
1057
- * @generated from field: repeated trading.v1.GasEstimate gas_estimates = 5;
1058
- */
1059
- gasEstimates: GasEstimate[];
1060
- constructor(data?: PartialMessage<SendResponse>);
1061
- static readonly runtime: typeof proto3;
1062
- static readonly typeName = "trading.v1.SendResponse";
1063
- static readonly fields: FieldList;
1064
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendResponse;
1065
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendResponse;
1066
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendResponse;
1067
- static equals(a: SendResponse | PlainMessage<SendResponse> | undefined, b: SendResponse | PlainMessage<SendResponse> | undefined): boolean;
1068
- }
1069
- /**
1070
- * @generated from message trading.v1.CheckApprovalLPRequest
1071
- */
1072
- export declare class CheckApprovalLPRequest extends Message<CheckApprovalLPRequest> {
1073
- /**
1074
- * @generated from oneof trading.v1.CheckApprovalLPRequest.checkApprovalLPRequest
1075
- */
1076
- checkApprovalLPRequest: {
1077
- /**
1078
- * @generated from field: trading.v1.V2CheckApprovalLPRequest v2_check_approval_lp_request = 1;
1079
- */
1080
- value: V2CheckApprovalLPRequest;
1081
- case: "v2CheckApprovalLpRequest";
1082
- } | {
1083
- /**
1084
- * @generated from field: trading.v1.V3CheckApprovalLPRequest v3_check_approval_lp_request = 2;
1085
- */
1086
- value: V3CheckApprovalLPRequest;
1087
- case: "v3CheckApprovalLpRequest";
1088
- } | {
1089
- /**
1090
- * @generated from field: trading.v1.V4CheckApprovalLPRequest v4_check_approval_lp_request = 3;
1091
- */
1092
- value: V4CheckApprovalLPRequest;
1093
- case: "v4CheckApprovalLpRequest";
1094
- } | {
1095
- case: undefined;
1096
- value?: undefined;
1097
- };
1098
- constructor(data?: PartialMessage<CheckApprovalLPRequest>);
1099
- static readonly runtime: typeof proto3;
1100
- static readonly typeName = "trading.v1.CheckApprovalLPRequest";
1101
- static readonly fields: FieldList;
1102
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckApprovalLPRequest;
1103
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckApprovalLPRequest;
1104
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckApprovalLPRequest;
1105
- static equals(a: CheckApprovalLPRequest | PlainMessage<CheckApprovalLPRequest> | undefined, b: CheckApprovalLPRequest | PlainMessage<CheckApprovalLPRequest> | undefined): boolean;
1106
- }
1107
- /**
1108
- * @generated from message trading.v1.CheckApprovalLPResponse
1109
- */
1110
- export declare class CheckApprovalLPResponse extends Message<CheckApprovalLPResponse> {
1111
- /**
1112
- * @generated from field: string request_id = 1;
1113
- */
1114
- requestId: string;
1115
- /**
1116
- * @generated from field: optional trading.v1.TransactionRequest token_0_approval = 2;
1117
- */
1118
- token0Approval?: TransactionRequest;
1119
- /**
1120
- * @generated from field: optional trading.v1.TransactionRequest token_1_approval = 3;
1121
- */
1122
- token1Approval?: TransactionRequest;
1123
- /**
1124
- * @generated from field: optional trading.v1.TransactionRequest token_0_Cancel = 4;
1125
- */
1126
- token0Cancel?: TransactionRequest;
1127
- /**
1128
- * @generated from field: optional trading.v1.TransactionRequest token_1_Cancel = 5;
1129
- */
1130
- token1Cancel?: TransactionRequest;
1131
- /**
1132
- * @generated from field: optional trading.v1.TransactionRequest position_token_approval = 6;
1133
- */
1134
- positionTokenApproval?: TransactionRequest;
1135
- /**
1136
- * @generated from oneof trading.v1.CheckApprovalLPResponse.permitData
1137
- */
1138
- permitData: {
1139
- /**
1140
- * @generated from field: trading.v1.PermitBatchData permit_batch_data = 7;
1141
- */
1142
- value: PermitBatchData;
1143
- case: "permitBatchData";
1144
- } | {
1145
- /**
1146
- * @generated from field: trading.v1.NFTPermitData nft_permit_data = 8;
1147
- */
1148
- value: NFTPermitData;
1149
- case: "nftPermitData";
1150
- } | {
1151
- case: undefined;
1152
- value?: undefined;
1153
- };
1154
- /**
1155
- * @generated from field: optional trading.v1.TransactionRequest token_0_permit_transaction = 9;
1156
- */
1157
- token0PermitTransaction?: TransactionRequest;
1158
- /**
1159
- * @generated from field: optional trading.v1.TransactionRequest token_1_permit_transaction = 10;
1160
- */
1161
- token1PermitTransaction?: TransactionRequest;
1162
- /**
1163
- * @generated from field: optional string gas_fee_token_0_approval = 11;
1164
- */
1165
- gasFeeToken0Approval?: string;
1166
- /**
1167
- * @generated from field: optional string gas_fee_token_1_approval = 12;
1168
- */
1169
- gasFeeToken1Approval?: string;
1170
- /**
1171
- * @generated from field: optional string gas_fee_position_token_approval = 13;
1172
- */
1173
- gasFeePositionTokenApproval?: string;
1174
- /**
1175
- * @generated from field: optional string gas_fee_token_0_cancel = 14;
1176
- */
1177
- gasFeeToken0Cancel?: string;
1178
- /**
1179
- * @generated from field: optional string gas_fee_token_1_cancel = 15;
1180
- */
1181
- gasFeeToken1Cancel?: string;
1182
- /**
1183
- * @generated from field: optional string gas_fee_token_0_permit = 16;
1184
- */
1185
- gasFeeToken0Permit?: string;
1186
- /**
1187
- * @generated from field: optional string gas_fee_token_1_permit = 17;
1188
- */
1189
- gasFeeToken1Permit?: string;
1190
- constructor(data?: PartialMessage<CheckApprovalLPResponse>);
1191
- static readonly runtime: typeof proto3;
1192
- static readonly typeName = "trading.v1.CheckApprovalLPResponse";
1193
- static readonly fields: FieldList;
1194
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckApprovalLPResponse;
1195
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckApprovalLPResponse;
1196
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckApprovalLPResponse;
1197
- static equals(a: CheckApprovalLPResponse | PlainMessage<CheckApprovalLPResponse> | undefined, b: CheckApprovalLPResponse | PlainMessage<CheckApprovalLPResponse> | undefined): boolean;
1198
- }
1199
- /**
1200
- * @generated from message trading.v1.V2CheckApprovalLPRequest
1201
- */
1202
- export declare class V2CheckApprovalLPRequest extends Message<V2CheckApprovalLPRequest> {
1203
- /**
1204
- * @generated from field: trading.v1.Protocols protocol = 1;
1205
- */
1206
- protocol: Protocols;
1207
- /**
1208
- * @generated from field: optional string token0 = 2;
1209
- */
1210
- token0?: string;
1211
- /**
1212
- * @generated from field: optional string token1 = 3;
1213
- */
1214
- token1?: string;
1215
- /**
1216
- * @generated from field: trading.v1.ChainId chain_id = 4;
1217
- */
1218
- chainId: ChainId;
1219
- /**
1220
- * @generated from field: optional string position_token = 5;
1221
- */
1222
- positionToken?: string;
1223
- /**
1224
- * @generated from field: string wallet_address = 6;
1225
- */
1226
- walletAddress: string;
1227
- /**
1228
- * @generated from field: optional string amount0 = 7;
1229
- */
1230
- amount0?: string;
1231
- /**
1232
- * @generated from field: optional string amount1 = 8;
1233
- */
1234
- amount1?: string;
1235
- /**
1236
- * @generated from field: optional string position_amount = 9;
1237
- */
1238
- positionAmount?: string;
1239
- /**
1240
- * @generated from field: bool simulate_transaction = 10;
1241
- */
1242
- simulateTransaction: boolean;
1243
- constructor(data?: PartialMessage<V2CheckApprovalLPRequest>);
1244
- static readonly runtime: typeof proto3;
1245
- static readonly typeName = "trading.v1.V2CheckApprovalLPRequest";
1246
- static readonly fields: FieldList;
1247
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V2CheckApprovalLPRequest;
1248
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V2CheckApprovalLPRequest;
1249
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V2CheckApprovalLPRequest;
1250
- static equals(a: V2CheckApprovalLPRequest | PlainMessage<V2CheckApprovalLPRequest> | undefined, b: V2CheckApprovalLPRequest | PlainMessage<V2CheckApprovalLPRequest> | undefined): boolean;
1251
- }
1252
- /**
1253
- * @generated from message trading.v1.V3CheckApprovalLPRequest
1254
- */
1255
- export declare class V3CheckApprovalLPRequest extends Message<V3CheckApprovalLPRequest> {
1256
- /**
1257
- * @generated from field: trading.v1.Protocols protocol = 1;
1258
- */
1259
- protocol: Protocols;
1260
- /**
1261
- * @generated from field: optional string token0 = 2;
1262
- */
1263
- token0?: string;
1264
- /**
1265
- * @generated from field: optional string token1 = 3;
1266
- */
1267
- token1?: string;
1268
- /**
1269
- * @generated from field: trading.v1.ChainId chain_id = 4;
1270
- */
1271
- chainId: ChainId;
1272
- /**
1273
- * @generated from field: optional string position_token = 5;
1274
- */
1275
- positionToken?: string;
1276
- /**
1277
- * @generated from field: string wallet_address = 6;
1278
- */
1279
- walletAddress: string;
1280
- /**
1281
- * @generated from field: optional string amount0 = 7;
1282
- */
1283
- amount0?: string;
1284
- /**
1285
- * @generated from field: optional string amount1 = 8;
1286
- */
1287
- amount1?: string;
1288
- /**
1289
- * @generated from field: bool simulate_transaction = 10;
1290
- */
1291
- simulateTransaction: boolean;
1292
- constructor(data?: PartialMessage<V3CheckApprovalLPRequest>);
1293
- static readonly runtime: typeof proto3;
1294
- static readonly typeName = "trading.v1.V3CheckApprovalLPRequest";
1295
- static readonly fields: FieldList;
1296
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V3CheckApprovalLPRequest;
1297
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V3CheckApprovalLPRequest;
1298
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V3CheckApprovalLPRequest;
1299
- static equals(a: V3CheckApprovalLPRequest | PlainMessage<V3CheckApprovalLPRequest> | undefined, b: V3CheckApprovalLPRequest | PlainMessage<V3CheckApprovalLPRequest> | undefined): boolean;
1300
- }
1301
- /**
1302
- * @generated from message trading.v1.V4CheckApprovalLPRequest
1303
- */
1304
- export declare class V4CheckApprovalLPRequest extends Message<V4CheckApprovalLPRequest> {
1305
- /**
1306
- * @generated from field: trading.v1.Protocols protocol = 1;
1307
- */
1308
- protocol: Protocols;
1309
- /**
1310
- * @generated from field: string token0 = 2;
1311
- */
1312
- token0: string;
1313
- /**
1314
- * @generated from field: string token1 = 3;
1315
- */
1316
- token1: string;
1317
- /**
1318
- * @generated from field: trading.v1.ChainId chain_id = 4;
1319
- */
1320
- chainId: ChainId;
1321
- /**
1322
- * @generated from field: string wallet_address = 6;
1323
- */
1324
- walletAddress: string;
1325
- /**
1326
- * @generated from field: string amount0 = 7;
1327
- */
1328
- amount0: string;
1329
- /**
1330
- * @generated from field: string amount1 = 8;
1331
- */
1332
- amount1: string;
1333
- /**
1334
- * @generated from field: bool generate_permit_as_transaction = 9;
1335
- */
1336
- generatePermitAsTransaction: boolean;
1337
- /**
1338
- * @generated from field: bool simulate_transaction = 10;
1339
- */
1340
- simulateTransaction: boolean;
1341
- constructor(data?: PartialMessage<V4CheckApprovalLPRequest>);
1342
- static readonly runtime: typeof proto3;
1343
- static readonly typeName = "trading.v1.V4CheckApprovalLPRequest";
1344
- static readonly fields: FieldList;
1345
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V4CheckApprovalLPRequest;
1346
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V4CheckApprovalLPRequest;
1347
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V4CheckApprovalLPRequest;
1348
- static equals(a: V4CheckApprovalLPRequest | PlainMessage<V4CheckApprovalLPRequest> | undefined, b: V4CheckApprovalLPRequest | PlainMessage<V4CheckApprovalLPRequest> | undefined): boolean;
1349
- }
1350
- /**
1351
- * @generated from message trading.v1.MigrateLpPositionRequest
1352
- */
1353
- export declare class MigrateLpPositionRequest extends Message<MigrateLpPositionRequest> {
1354
- /**
1355
- * @generated from field: int32 tokenId = 1;
1356
- */
1357
- tokenId: number;
1358
- /**
1359
- * @generated from field: string wallet_address = 2;
1360
- */
1361
- walletAddress: string;
1362
- /**
1363
- * @generated from field: trading.v1.ChainId chain_id = 3;
1364
- */
1365
- chainId: ChainId;
1366
- /**
1367
- * @generated from field: trading.v1.Protocols input_protocol = 4;
1368
- */
1369
- inputProtocol: Protocols;
1370
- /**
1371
- * @generated from field: trading.v1.V3Position input_position = 5;
1372
- */
1373
- inputPosition?: V3Position;
1374
- /**
1375
- * @generated from field: string input_pool_liquidity = 6;
1376
- */
1377
- inputPoolLiquidity: string;
1378
- /**
1379
- * @generated from field: int32 input_current_tick = 7;
1380
- */
1381
- inputCurrentTick: number;
1382
- /**
1383
- * @generated from field: string input_sqrt_ratio_x96 = 8;
1384
- */
1385
- inputSqrtRatioX96: string;
1386
- /**
1387
- * @generated from field: string input_position_liquidity = 9;
1388
- */
1389
- inputPositionLiquidity: string;
1390
- /**
1391
- * @generated from field: optional string signature = 10;
1392
- */
1393
- signature?: string;
1394
- /**
1395
- * @generated from field: string amount0 = 11;
1396
- */
1397
- amount0: string;
1398
- /**
1399
- * @generated from field: string amount1 = 12;
1400
- */
1401
- amount1: string;
1402
- /**
1403
- * @generated from field: trading.v1.Protocols output_protocol = 13;
1404
- */
1405
- outputProtocol: Protocols;
1406
- /**
1407
- * @generated from field: trading.v1.V4Position output_position = 14;
1408
- */
1409
- outputPosition?: V4Position;
1410
- /**
1411
- * @generated from field: optional string output_pool_liquidity = 15;
1412
- */
1413
- outputPoolLiquidity?: string;
1414
- /**
1415
- * @generated from field: optional int32 output_current_tick = 16;
1416
- */
1417
- outputCurrentTick?: number;
1418
- /**
1419
- * @generated from field: optional string output_sqrt_ratio_x96 = 17;
1420
- */
1421
- outputSqrtRatioX96?: string;
1422
- /**
1423
- * @generated from field: optional string initial_price = 18;
1424
- */
1425
- initialPrice?: string;
1426
- /**
1427
- * @generated from field: string expectedTokenOwed0RawAmount = 19;
1428
- */
1429
- expectedTokenOwed0RawAmount: string;
1430
- /**
1431
- * @generated from field: string expectedTokenOwed1RawAmount = 20;
1432
- */
1433
- expectedTokenOwed1RawAmount: string;
1434
- /**
1435
- * @generated from field: bool simulate_transaction = 21;
1436
- */
1437
- simulateTransaction: boolean;
1438
- /**
1439
- * @generated from field: optional int32 slippage_tolerance = 22;
1440
- */
1441
- slippageTolerance?: number;
1442
- /**
1443
- * @generated from field: optional int32 deadline = 23;
1444
- */
1445
- deadline?: number;
1446
- /**
1447
- * @generated from field: optional int32 signature_deadline = 24;
1448
- */
1449
- signatureDeadline?: number;
1450
- constructor(data?: PartialMessage<MigrateLpPositionRequest>);
1451
- static readonly runtime: typeof proto3;
1452
- static readonly typeName = "trading.v1.MigrateLpPositionRequest";
1453
- static readonly fields: FieldList;
1454
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MigrateLpPositionRequest;
1455
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MigrateLpPositionRequest;
1456
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MigrateLpPositionRequest;
1457
- static equals(a: MigrateLpPositionRequest | PlainMessage<MigrateLpPositionRequest> | undefined, b: MigrateLpPositionRequest | PlainMessage<MigrateLpPositionRequest> | undefined): boolean;
1458
- }
1459
- /**
1460
- * @generated from message trading.v1.MigrateLpPositionResponse
1461
- */
1462
- export declare class MigrateLpPositionResponse extends Message<MigrateLpPositionResponse> {
1463
- /**
1464
- * @generated from field: string request_id = 1;
1465
- */
1466
- requestId: string;
1467
- /**
1468
- * @generated from field: optional trading.v1.TransactionRequest migrate = 2;
1469
- */
1470
- migrate?: TransactionRequest;
1471
- /**
1472
- * @generated from field: optional string gasFee = 3;
1473
- */
1474
- gasFee?: string;
1475
- constructor(data?: PartialMessage<MigrateLpPositionResponse>);
1476
- static readonly runtime: typeof proto3;
1477
- static readonly typeName = "trading.v1.MigrateLpPositionResponse";
1478
- static readonly fields: FieldList;
1479
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MigrateLpPositionResponse;
1480
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MigrateLpPositionResponse;
1481
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MigrateLpPositionResponse;
1482
- static equals(a: MigrateLpPositionResponse | PlainMessage<MigrateLpPositionResponse> | undefined, b: MigrateLpPositionResponse | PlainMessage<MigrateLpPositionResponse> | undefined): boolean;
1483
- }
1484
- /**
1485
- * @generated from message trading.v1.ClaimLPFeesRequest
1486
- */
1487
- export declare class ClaimLPFeesRequest extends Message<ClaimLPFeesRequest> {
1488
- /**
1489
- * @generated from oneof trading.v1.ClaimLPFeesRequest.claimLPFeesRequest
1490
- */
1491
- claimLPFeesRequest: {
1492
- /**
1493
- * @generated from field: trading.v1.V2ClaimLPFeesRequest v2_claim_lp_fees_request = 1;
1494
- */
1495
- value: V2ClaimLPFeesRequest;
1496
- case: "v2ClaimLpFeesRequest";
1497
- } | {
1498
- /**
1499
- * @generated from field: trading.v1.V3ClaimLPFeesRequest v3_claim_lp_fees_request = 2;
1500
- */
1501
- value: V3ClaimLPFeesRequest;
1502
- case: "v3ClaimLpFeesRequest";
1503
- } | {
1504
- /**
1505
- * @generated from field: trading.v1.V4ClaimLPFeesRequest v4_claim_lp_fees_request = 3;
1506
- */
1507
- value: V4ClaimLPFeesRequest;
1508
- case: "v4ClaimLpFeesRequest";
1509
- } | {
1510
- case: undefined;
1511
- value?: undefined;
1512
- };
1513
- constructor(data?: PartialMessage<ClaimLPFeesRequest>);
1514
- static readonly runtime: typeof proto3;
1515
- static readonly typeName = "trading.v1.ClaimLPFeesRequest";
1516
- static readonly fields: FieldList;
1517
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClaimLPFeesRequest;
1518
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClaimLPFeesRequest;
1519
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClaimLPFeesRequest;
1520
- static equals(a: ClaimLPFeesRequest | PlainMessage<ClaimLPFeesRequest> | undefined, b: ClaimLPFeesRequest | PlainMessage<ClaimLPFeesRequest> | undefined): boolean;
1521
- }
1522
- /**
1523
- * @generated from message trading.v1.ClaimLPFeesResponse
1524
- */
1525
- export declare class ClaimLPFeesResponse extends Message<ClaimLPFeesResponse> {
1526
- /**
1527
- * @generated from field: string request_id = 1;
1528
- */
1529
- requestId: string;
1530
- /**
1531
- * @generated from field: optional trading.v1.TransactionRequest claim = 2;
1532
- */
1533
- claim?: TransactionRequest;
1534
- /**
1535
- * @generated from field: optional string gasFee = 3;
1536
- */
1537
- gasFee?: string;
1538
- constructor(data?: PartialMessage<ClaimLPFeesResponse>);
1539
- static readonly runtime: typeof proto3;
1540
- static readonly typeName = "trading.v1.ClaimLPFeesResponse";
1541
- static readonly fields: FieldList;
1542
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClaimLPFeesResponse;
1543
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClaimLPFeesResponse;
1544
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClaimLPFeesResponse;
1545
- static equals(a: ClaimLPFeesResponse | PlainMessage<ClaimLPFeesResponse> | undefined, b: ClaimLPFeesResponse | PlainMessage<ClaimLPFeesResponse> | undefined): boolean;
1546
- }
1547
- /**
1548
- * @generated from message trading.v1.V2ClaimLPFeesRequest
1549
- */
1550
- export declare class V2ClaimLPFeesRequest extends Message<V2ClaimLPFeesRequest> {
1551
- /**
1552
- * @generated from field: trading.v1.Protocols protocol = 1;
1553
- */
1554
- protocol: Protocols;
1555
- /**
1556
- * @generated from field: trading.v1.V2Position position = 2;
1557
- */
1558
- position?: V2Position;
1559
- /**
1560
- * @generated from field: string wallet_address = 3;
1561
- */
1562
- walletAddress: string;
1563
- /**
1564
- * @generated from field: trading.v1.ChainId chain_id = 4;
1565
- */
1566
- chainId: ChainId;
1567
- /**
1568
- * @generated from field: optional bool simulate_transaction = 5;
1569
- */
1570
- simulateTransaction?: boolean;
1571
- /**
1572
- * @generated from field: bool collectAsWETH = 6;
1573
- */
1574
- collectAsWETH: boolean;
1575
- constructor(data?: PartialMessage<V2ClaimLPFeesRequest>);
1576
- static readonly runtime: typeof proto3;
1577
- static readonly typeName = "trading.v1.V2ClaimLPFeesRequest";
1578
- static readonly fields: FieldList;
1579
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V2ClaimLPFeesRequest;
1580
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V2ClaimLPFeesRequest;
1581
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V2ClaimLPFeesRequest;
1582
- static equals(a: V2ClaimLPFeesRequest | PlainMessage<V2ClaimLPFeesRequest> | undefined, b: V2ClaimLPFeesRequest | PlainMessage<V2ClaimLPFeesRequest> | undefined): boolean;
1583
- }
1584
- /**
1585
- * @generated from message trading.v1.V3ClaimLPFeesRequest
1586
- */
1587
- export declare class V3ClaimLPFeesRequest extends Message<V3ClaimLPFeesRequest> {
1588
- /**
1589
- * @generated from field: trading.v1.Protocols protocol = 1;
1590
- */
1591
- protocol: Protocols;
1592
- /**
1593
- * @generated from field: int32 tokenId = 2;
1594
- */
1595
- tokenId: number;
1596
- /**
1597
- * @generated from field: trading.v1.V3Position position = 3;
1598
- */
1599
- position?: V3Position;
1600
- /**
1601
- * @generated from field: string wallet_address = 4;
1602
- */
1603
- walletAddress: string;
1604
- /**
1605
- * @generated from field: trading.v1.ChainId chain_id = 5;
1606
- */
1607
- chainId: ChainId;
1608
- /**
1609
- * @generated from field: optional bool simulate_transaction = 6;
1610
- */
1611
- simulateTransaction?: boolean;
1612
- /**
1613
- * @generated from field: bool collectAsWETH = 7;
1614
- */
1615
- collectAsWETH: boolean;
1616
- /**
1617
- * @generated from field: string expectedTokenOwed0RawAmount = 8;
1618
- */
1619
- expectedTokenOwed0RawAmount: string;
1620
- /**
1621
- * @generated from field: string expectedTokenOwed1RawAmount = 9;
1622
- */
1623
- expectedTokenOwed1RawAmount: string;
1624
- constructor(data?: PartialMessage<V3ClaimLPFeesRequest>);
1625
- static readonly runtime: typeof proto3;
1626
- static readonly typeName = "trading.v1.V3ClaimLPFeesRequest";
1627
- static readonly fields: FieldList;
1628
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V3ClaimLPFeesRequest;
1629
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V3ClaimLPFeesRequest;
1630
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V3ClaimLPFeesRequest;
1631
- static equals(a: V3ClaimLPFeesRequest | PlainMessage<V3ClaimLPFeesRequest> | undefined, b: V3ClaimLPFeesRequest | PlainMessage<V3ClaimLPFeesRequest> | undefined): boolean;
1632
- }
1633
- /**
1634
- * @generated from message trading.v1.V4ClaimLPFeesRequest
1635
- */
1636
- export declare class V4ClaimLPFeesRequest extends Message<V4ClaimLPFeesRequest> {
1637
- /**
1638
- * @generated from field: trading.v1.Protocols protocol = 1;
1639
- */
1640
- protocol: Protocols;
1641
- /**
1642
- * @generated from field: int32 tokenId = 2;
1643
- */
1644
- tokenId: number;
1645
- /**
1646
- * @generated from field: trading.v1.V4Position position = 3;
1647
- */
1648
- position?: V4Position;
1649
- /**
1650
- * @generated from field: string wallet_address = 4;
1651
- */
1652
- walletAddress: string;
1653
- /**
1654
- * @generated from field: trading.v1.ChainId chain_id = 5;
1655
- */
1656
- chainId: ChainId;
1657
- /**
1658
- * @generated from field: optional bool simulate_transaction = 6;
1659
- */
1660
- simulateTransaction?: boolean;
1661
- constructor(data?: PartialMessage<V4ClaimLPFeesRequest>);
1662
- static readonly runtime: typeof proto3;
1663
- static readonly typeName = "trading.v1.V4ClaimLPFeesRequest";
1664
- static readonly fields: FieldList;
1665
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V4ClaimLPFeesRequest;
1666
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V4ClaimLPFeesRequest;
1667
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V4ClaimLPFeesRequest;
1668
- static equals(a: V4ClaimLPFeesRequest | PlainMessage<V4ClaimLPFeesRequest> | undefined, b: V4ClaimLPFeesRequest | PlainMessage<V4ClaimLPFeesRequest> | undefined): boolean;
1669
- }
1670
- /**
1671
- * @generated from message trading.v1.DecreaseLPPositionRequest
1672
- */
1673
- export declare class DecreaseLPPositionRequest extends Message<DecreaseLPPositionRequest> {
1674
- /**
1675
- * @generated from oneof trading.v1.DecreaseLPPositionRequest.decreaseLpPosition
1676
- */
1677
- decreaseLpPosition: {
1678
- /**
1679
- * @generated from field: trading.v1.V2DecreaseLPPosition v2_decrease_lp_position = 1;
1680
- */
1681
- value: V2DecreaseLPPosition;
1682
- case: "v2DecreaseLpPosition";
1683
- } | {
1684
- /**
1685
- * @generated from field: trading.v1.V3DecreaseLPPosition v3_decrease_lp_position = 2;
1686
- */
1687
- value: V3DecreaseLPPosition;
1688
- case: "v3DecreaseLpPosition";
1689
- } | {
1690
- /**
1691
- * @generated from field: trading.v1.V4DecreaseLPPosition v4_decrease_lp_position = 3;
1692
- */
1693
- value: V4DecreaseLPPosition;
1694
- case: "v4DecreaseLpPosition";
1695
- } | {
1696
- case: undefined;
1697
- value?: undefined;
1698
- };
1699
- constructor(data?: PartialMessage<DecreaseLPPositionRequest>);
1700
- static readonly runtime: typeof proto3;
1701
- static readonly typeName = "trading.v1.DecreaseLPPositionRequest";
1702
- static readonly fields: FieldList;
1703
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DecreaseLPPositionRequest;
1704
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DecreaseLPPositionRequest;
1705
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DecreaseLPPositionRequest;
1706
- static equals(a: DecreaseLPPositionRequest | PlainMessage<DecreaseLPPositionRequest> | undefined, b: DecreaseLPPositionRequest | PlainMessage<DecreaseLPPositionRequest> | undefined): boolean;
1707
- }
1708
- /**
1709
- * @generated from message trading.v1.DecreaseLPPositionResponse
1710
- */
1711
- export declare class DecreaseLPPositionResponse extends Message<DecreaseLPPositionResponse> {
1712
- /**
1713
- * @generated from field: string request_id = 1;
1714
- */
1715
- requestId: string;
1716
- /**
1717
- * @generated from field: optional trading.v1.TransactionRequest decrease = 2;
1718
- */
1719
- decrease?: TransactionRequest;
1720
- /**
1721
- * @generated from field: optional string pool_liquidity = 4;
1722
- */
1723
- poolLiquidity?: string;
1724
- /**
1725
- * @generated from field: optional sint32 current_tick = 5;
1726
- */
1727
- currentTick?: number;
1728
- /**
1729
- * @generated from field: optional string sqrtRatioX96 = 6;
1730
- */
1731
- sqrtRatioX96?: string;
1732
- /**
1733
- * @generated from field: optional string gasFee = 7;
1734
- */
1735
- gasFee?: string;
1736
- constructor(data?: PartialMessage<DecreaseLPPositionResponse>);
1737
- static readonly runtime: typeof proto3;
1738
- static readonly typeName = "trading.v1.DecreaseLPPositionResponse";
1739
- static readonly fields: FieldList;
1740
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DecreaseLPPositionResponse;
1741
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DecreaseLPPositionResponse;
1742
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DecreaseLPPositionResponse;
1743
- static equals(a: DecreaseLPPositionResponse | PlainMessage<DecreaseLPPositionResponse> | undefined, b: DecreaseLPPositionResponse | PlainMessage<DecreaseLPPositionResponse> | undefined): boolean;
1744
- }
1745
- /**
1746
- * @generated from message trading.v1.V2DecreaseLPPosition
1747
- */
1748
- export declare class V2DecreaseLPPosition extends Message<V2DecreaseLPPosition> {
1749
- /**
1750
- * @generated from field: trading.v1.Protocols protocol = 1;
1751
- */
1752
- protocol: Protocols;
1753
- /**
1754
- * @generated from field: trading.v1.V2Position position = 2;
1755
- */
1756
- position?: V2Position;
1757
- /**
1758
- * @generated from field: string wallet_address = 3;
1759
- */
1760
- walletAddress: string;
1761
- /**
1762
- * @generated from field: trading.v1.ChainId chain_id = 4;
1763
- */
1764
- chainId: ChainId;
1765
- /**
1766
- * @generated from field: string positionLiquidity = 5;
1767
- */
1768
- positionLiquidity: string;
1769
- /**
1770
- * @generated from field: int32 liquidityPercentageToDecrease = 6;
1771
- */
1772
- liquidityPercentageToDecrease: number;
1773
- /**
1774
- * @generated from field: string liquidity0 = 7;
1775
- */
1776
- liquidity0: string;
1777
- /**
1778
- * @generated from field: string liquidity1 = 8;
1779
- */
1780
- liquidity1: string;
1781
- /**
1782
- * @generated from field: bool collectAsWETH = 10;
1783
- */
1784
- collectAsWETH: boolean;
1785
- /**
1786
- * @generated from field: optional bool simulate_transaction = 11;
1787
- */
1788
- simulateTransaction?: boolean;
1789
- /**
1790
- * @generated from field: optional int32 slippage_tolerance = 12;
1791
- */
1792
- slippageTolerance?: number;
1793
- /**
1794
- * @generated from field: optional int32 deadline = 13;
1795
- */
1796
- deadline?: number;
1797
- constructor(data?: PartialMessage<V2DecreaseLPPosition>);
1798
- static readonly runtime: typeof proto3;
1799
- static readonly typeName = "trading.v1.V2DecreaseLPPosition";
1800
- static readonly fields: FieldList;
1801
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V2DecreaseLPPosition;
1802
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V2DecreaseLPPosition;
1803
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V2DecreaseLPPosition;
1804
- static equals(a: V2DecreaseLPPosition | PlainMessage<V2DecreaseLPPosition> | undefined, b: V2DecreaseLPPosition | PlainMessage<V2DecreaseLPPosition> | undefined): boolean;
1805
- }
1806
- /**
1807
- * @generated from message trading.v1.V3DecreaseLPPosition
1808
- */
1809
- export declare class V3DecreaseLPPosition extends Message<V3DecreaseLPPosition> {
1810
- /**
1811
- * @generated from field: trading.v1.Protocols protocol = 1;
1812
- */
1813
- protocol: Protocols;
1814
- /**
1815
- * @generated from field: int32 tokenId = 2;
1816
- */
1817
- tokenId: number;
1818
- /**
1819
- * @generated from field: trading.v1.V3Position position = 3;
1820
- */
1821
- position?: V3Position;
1822
- /**
1823
- * @generated from field: string wallet_address = 4;
1824
- */
1825
- walletAddress: string;
1826
- /**
1827
- * @generated from field: trading.v1.ChainId chain_id = 5;
1828
- */
1829
- chainId: ChainId;
1830
- /**
1831
- * @generated from field: string liquidityPercentageToDecrease = 7;
1832
- */
1833
- liquidityPercentageToDecrease: string;
1834
- /**
1835
- * @generated from field: optional string poolLiquidity = 8;
1836
- */
1837
- poolLiquidity?: string;
1838
- /**
1839
- * @generated from field: optional int32 current_tick = 9;
1840
- */
1841
- currentTick?: number;
1842
- /**
1843
- * @generated from field: optional string sqrtRatioX96 = 10;
1844
- */
1845
- sqrtRatioX96?: string;
1846
- /**
1847
- * @generated from field: string positionLiquidity = 11;
1848
- */
1849
- positionLiquidity: string;
1850
- /**
1851
- * @generated from field: string expectedTokenOwed0RawAmount = 12;
1852
- */
1853
- expectedTokenOwed0RawAmount: string;
1854
- /**
1855
- * @generated from field: string expectedTokenOwed1RawAmount = 13;
1856
- */
1857
- expectedTokenOwed1RawAmount: string;
1858
- /**
1859
- * @generated from field: bool collectAsWETH = 14;
1860
- */
1861
- collectAsWETH: boolean;
1862
- /**
1863
- * @generated from field: optional bool simulate_transaction = 15;
1864
- */
1865
- simulateTransaction?: boolean;
1866
- /**
1867
- * @generated from field: optional int32 slippage_tolerance = 16;
1868
- */
1869
- slippageTolerance?: number;
1870
- /**
1871
- * @generated from field: optional int32 deadline = 17;
1872
- */
1873
- deadline?: number;
1874
- constructor(data?: PartialMessage<V3DecreaseLPPosition>);
1875
- static readonly runtime: typeof proto3;
1876
- static readonly typeName = "trading.v1.V3DecreaseLPPosition";
1877
- static readonly fields: FieldList;
1878
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V3DecreaseLPPosition;
1879
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V3DecreaseLPPosition;
1880
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V3DecreaseLPPosition;
1881
- static equals(a: V3DecreaseLPPosition | PlainMessage<V3DecreaseLPPosition> | undefined, b: V3DecreaseLPPosition | PlainMessage<V3DecreaseLPPosition> | undefined): boolean;
1882
- }
1883
- /**
1884
- * @generated from message trading.v1.V4DecreaseLPPosition
1885
- */
1886
- export declare class V4DecreaseLPPosition extends Message<V4DecreaseLPPosition> {
1887
- /**
1888
- * @generated from field: trading.v1.Protocols protocol = 1;
1889
- */
1890
- protocol: Protocols;
1891
- /**
1892
- * @generated from field: int32 tokenId = 2;
1893
- */
1894
- tokenId: number;
1895
- /**
1896
- * @generated from field: trading.v1.V4Position position = 3;
1897
- */
1898
- position?: V4Position;
1899
- /**
1900
- * @generated from field: string wallet_address = 4;
1901
- */
1902
- walletAddress: string;
1903
- /**
1904
- * @generated from field: trading.v1.ChainId chain_id = 5;
1905
- */
1906
- chainId: ChainId;
1907
- /**
1908
- * @generated from field: int32 liquidityPercentageToDecrease = 6;
1909
- */
1910
- liquidityPercentageToDecrease: number;
1911
- /**
1912
- * @generated from field: optional string poolLiquidity = 7;
1913
- */
1914
- poolLiquidity?: string;
1915
- /**
1916
- * @generated from field: optional int32 current_tick = 8;
1917
- */
1918
- currentTick?: number;
1919
- /**
1920
- * @generated from field: optional string sqrtRatioX96 = 9;
1921
- */
1922
- sqrtRatioX96?: string;
1923
- /**
1924
- * @generated from field: string positionLiquidity = 10;
1925
- */
1926
- positionLiquidity: string;
1927
- /**
1928
- * @generated from field: optional bool simulate_transaction = 11;
1929
- */
1930
- simulateTransaction?: boolean;
1931
- /**
1932
- * @generated from field: optional int32 slippage_tolerance = 12;
1933
- */
1934
- slippageTolerance?: number;
1935
- /**
1936
- * @generated from field: optional int32 deadline = 13;
1937
- */
1938
- deadline?: number;
1939
- constructor(data?: PartialMessage<V4DecreaseLPPosition>);
1940
- static readonly runtime: typeof proto3;
1941
- static readonly typeName = "trading.v1.V4DecreaseLPPosition";
1942
- static readonly fields: FieldList;
1943
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V4DecreaseLPPosition;
1944
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V4DecreaseLPPosition;
1945
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V4DecreaseLPPosition;
1946
- static equals(a: V4DecreaseLPPosition | PlainMessage<V4DecreaseLPPosition> | undefined, b: V4DecreaseLPPosition | PlainMessage<V4DecreaseLPPosition> | undefined): boolean;
1947
- }
1948
- /**
1949
- * @generated from message trading.v1.IncreaseLPPositionRequest
1950
- */
1951
- export declare class IncreaseLPPositionRequest extends Message<IncreaseLPPositionRequest> {
1952
- /**
1953
- * @generated from oneof trading.v1.IncreaseLPPositionRequest.increaseLpPosition
1954
- */
1955
- increaseLpPosition: {
1956
- /**
1957
- * @generated from field: trading.v1.V2IncreaseLPPosition v2_increase_lp_position = 1;
1958
- */
1959
- value: V2IncreaseLPPosition;
1960
- case: "v2IncreaseLpPosition";
1961
- } | {
1962
- /**
1963
- * @generated from field: trading.v1.V3IncreaseLPPosition v3_increase_lp_position = 2;
1964
- */
1965
- value: V3IncreaseLPPosition;
1966
- case: "v3IncreaseLpPosition";
1967
- } | {
1968
- /**
1969
- * @generated from field: trading.v1.V4IncreaseLPPosition v4_increase_lp_position = 3;
1970
- */
1971
- value: V4IncreaseLPPosition;
1972
- case: "v4IncreaseLpPosition";
1973
- } | {
1974
- case: undefined;
1975
- value?: undefined;
1976
- };
1977
- constructor(data?: PartialMessage<IncreaseLPPositionRequest>);
1978
- static readonly runtime: typeof proto3;
1979
- static readonly typeName = "trading.v1.IncreaseLPPositionRequest";
1980
- static readonly fields: FieldList;
1981
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IncreaseLPPositionRequest;
1982
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IncreaseLPPositionRequest;
1983
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IncreaseLPPositionRequest;
1984
- static equals(a: IncreaseLPPositionRequest | PlainMessage<IncreaseLPPositionRequest> | undefined, b: IncreaseLPPositionRequest | PlainMessage<IncreaseLPPositionRequest> | undefined): boolean;
1985
- }
1986
- /**
1987
- * @generated from message trading.v1.IncreaseLPPositionResponse
1988
- */
1989
- export declare class IncreaseLPPositionResponse extends Message<IncreaseLPPositionResponse> {
1990
- /**
1991
- * @generated from field: string request_id = 1;
1992
- */
1993
- requestId: string;
1994
- /**
1995
- * @generated from field: optional trading.v1.TransactionRequest increase = 2;
1996
- */
1997
- increase?: TransactionRequest;
1998
- /**
1999
- * @generated from field: optional string dependent_amount = 3;
2000
- */
2001
- dependentAmount?: string;
2002
- /**
2003
- * @generated from field: optional string pool_liquidity = 4;
2004
- */
2005
- poolLiquidity?: string;
2006
- /**
2007
- * @generated from field: optional sint32 current_tick = 5;
2008
- */
2009
- currentTick?: number;
2010
- /**
2011
- * @generated from field: optional string sqrtRatioX96 = 6;
2012
- */
2013
- sqrtRatioX96?: string;
2014
- constructor(data?: PartialMessage<IncreaseLPPositionResponse>);
2015
- static readonly runtime: typeof proto3;
2016
- static readonly typeName = "trading.v1.IncreaseLPPositionResponse";
2017
- static readonly fields: FieldList;
2018
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IncreaseLPPositionResponse;
2019
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IncreaseLPPositionResponse;
2020
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IncreaseLPPositionResponse;
2021
- static equals(a: IncreaseLPPositionResponse | PlainMessage<IncreaseLPPositionResponse> | undefined, b: IncreaseLPPositionResponse | PlainMessage<IncreaseLPPositionResponse> | undefined): boolean;
2022
- }
2023
- /**
2024
- * @generated from message trading.v1.V2IncreaseLPPosition
2025
- */
2026
- export declare class V2IncreaseLPPosition extends Message<V2IncreaseLPPosition> {
2027
- /**
2028
- * @generated from field: trading.v1.Protocols protocols = 1;
2029
- */
2030
- protocols: Protocols;
2031
- /**
2032
- * @generated from field: trading.v1.V2Position position = 2;
2033
- */
2034
- position?: V2Position;
2035
- /**
2036
- * @generated from field: string wallet_address = 3;
2037
- */
2038
- walletAddress: string;
2039
- /**
2040
- * @generated from field: trading.v1.ChainId chain_id = 4;
2041
- */
2042
- chainId: ChainId;
2043
- /**
2044
- * @generated from field: optional string amount0 = 5;
2045
- */
2046
- amount0?: string;
2047
- /**
2048
- * @generated from field: optional string amount1 = 6;
2049
- */
2050
- amount1?: string;
2051
- /**
2052
- * @generated from field: optional string independentAmount = 7;
2053
- */
2054
- independentAmount?: string;
2055
- /**
2056
- * @generated from field: optional trading.v1.IndependentToken independent_token = 8;
2057
- */
2058
- independentToken?: IndependentToken;
2059
- /**
2060
- * @generated from field: optional string default_dependent_amount = 9;
2061
- */
2062
- defaultDependentAmount?: string;
2063
- /**
2064
- * @generated from field: optional int32 slippage_tolerance = 10;
2065
- */
2066
- slippageTolerance?: number;
2067
- /**
2068
- * @generated from field: optional int32 deadline = 11;
2069
- */
2070
- deadline?: number;
2071
- /**
2072
- * @generated from field: bool simulate_transaction = 12;
2073
- */
2074
- simulateTransaction: boolean;
2075
- constructor(data?: PartialMessage<V2IncreaseLPPosition>);
2076
- static readonly runtime: typeof proto3;
2077
- static readonly typeName = "trading.v1.V2IncreaseLPPosition";
2078
- static readonly fields: FieldList;
2079
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V2IncreaseLPPosition;
2080
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V2IncreaseLPPosition;
2081
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V2IncreaseLPPosition;
2082
- static equals(a: V2IncreaseLPPosition | PlainMessage<V2IncreaseLPPosition> | undefined, b: V2IncreaseLPPosition | PlainMessage<V2IncreaseLPPosition> | undefined): boolean;
2083
- }
2084
- /**
2085
- * @generated from message trading.v1.V3IncreaseLPPosition
2086
- */
2087
- export declare class V3IncreaseLPPosition extends Message<V3IncreaseLPPosition> {
2088
- /**
2089
- * @generated from field: trading.v1.Protocols protocols = 1;
2090
- */
2091
- protocols: Protocols;
2092
- /**
2093
- * @generated from field: int32 tokenId = 2;
2094
- */
2095
- tokenId: number;
2096
- /**
2097
- * @generated from field: trading.v1.V3Position position = 3;
2098
- */
2099
- position?: V3Position;
2100
- /**
2101
- * @generated from field: string wallet_address = 4;
2102
- */
2103
- walletAddress: string;
2104
- /**
2105
- * @generated from field: trading.v1.ChainId chain_id = 5;
2106
- */
2107
- chainId: ChainId;
2108
- /**
2109
- * @generated from field: optional string amount0 = 6;
2110
- */
2111
- amount0?: string;
2112
- /**
2113
- * @generated from field: optional string amount1 = 7;
2114
- */
2115
- amount1?: string;
2116
- /**
2117
- * @generated from field: optional string independentAmount = 8;
2118
- */
2119
- independentAmount?: string;
2120
- /**
2121
- * @generated from field: optional trading.v1.IndependentToken independent_token = 9;
2122
- */
2123
- independentToken?: IndependentToken;
2124
- /**
2125
- * @generated from field: optional string pool_liquidity = 10;
2126
- */
2127
- poolLiquidity?: string;
2128
- /**
2129
- * @generated from field: optional sint32 current_tick = 11;
2130
- */
2131
- currentTick?: number;
2132
- /**
2133
- * @generated from field: optional string sqrtRatioX96 = 12;
2134
- */
2135
- sqrtRatioX96?: string;
2136
- /**
2137
- * @generated from field: optional int32 slippage_tolerance = 14;
2138
- */
2139
- slippageTolerance?: number;
2140
- /**
2141
- * @generated from field: optional int32 deadline = 15;
2142
- */
2143
- deadline?: number;
2144
- /**
2145
- * @generated from field: bool simulate_transaction = 16;
2146
- */
2147
- simulateTransaction: boolean;
2148
- constructor(data?: PartialMessage<V3IncreaseLPPosition>);
2149
- static readonly runtime: typeof proto3;
2150
- static readonly typeName = "trading.v1.V3IncreaseLPPosition";
2151
- static readonly fields: FieldList;
2152
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V3IncreaseLPPosition;
2153
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V3IncreaseLPPosition;
2154
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V3IncreaseLPPosition;
2155
- static equals(a: V3IncreaseLPPosition | PlainMessage<V3IncreaseLPPosition> | undefined, b: V3IncreaseLPPosition | PlainMessage<V3IncreaseLPPosition> | undefined): boolean;
2156
- }
2157
- /**
2158
- * @generated from message trading.v1.V4IncreaseLPPosition
2159
- */
2160
- export declare class V4IncreaseLPPosition extends Message<V4IncreaseLPPosition> {
2161
- /**
2162
- * @generated from field: trading.v1.Protocols protocols = 1;
2163
- */
2164
- protocols: Protocols;
2165
- /**
2166
- * @generated from field: int32 tokenId = 2;
2167
- */
2168
- tokenId: number;
2169
- /**
2170
- * @generated from field: trading.v1.V4Position position = 3;
2171
- */
2172
- position?: V4Position;
2173
- /**
2174
- * @generated from field: string wallet_address = 4;
2175
- */
2176
- walletAddress: string;
2177
- /**
2178
- * @generated from field: trading.v1.ChainId chain_id = 5;
2179
- */
2180
- chainId: ChainId;
2181
- /**
2182
- * @generated from field: optional string amount0 = 6;
2183
- */
2184
- amount0?: string;
2185
- /**
2186
- * @generated from field: optional string amount1 = 7;
2187
- */
2188
- amount1?: string;
2189
- /**
2190
- * @generated from field: optional string independentAmount = 8;
2191
- */
2192
- independentAmount?: string;
2193
- /**
2194
- * @generated from field: optional trading.v1.IndependentToken independent_token = 9;
2195
- */
2196
- independentToken?: IndependentToken;
2197
- /**
2198
- * @generated from field: optional string pool_liquidity = 10;
2199
- */
2200
- poolLiquidity?: string;
2201
- /**
2202
- * @generated from field: optional sint32 current_tick = 11;
2203
- */
2204
- currentTick?: number;
2205
- /**
2206
- * @generated from field: optional string sqrtRatioX96 = 12;
2207
- */
2208
- sqrtRatioX96?: string;
2209
- /**
2210
- * @generated from field: optional int32 slippage_tolerance = 14;
2211
- */
2212
- slippageTolerance?: number;
2213
- /**
2214
- * @generated from field: optional int32 deadline = 15;
2215
- */
2216
- deadline?: number;
2217
- /**
2218
- * @generated from field: bool simulate_transaction = 16;
2219
- */
2220
- simulateTransaction: boolean;
2221
- /**
2222
- * @generated from field: optional string signature = 17;
2223
- */
2224
- signature?: string;
2225
- /**
2226
- * @generated from field: optional trading.v1.PermitBatchData batchPermitData = 18;
2227
- */
2228
- batchPermitData?: PermitBatchData;
2229
- constructor(data?: PartialMessage<V4IncreaseLPPosition>);
546
+ constructor(data?: PartialMessage<Encode7702Response>);
2230
547
  static readonly runtime: typeof proto3;
2231
- static readonly typeName = "trading.v1.V4IncreaseLPPosition";
548
+ static readonly typeName = "trading.v1.Encode7702Response";
2232
549
  static readonly fields: FieldList;
2233
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V4IncreaseLPPosition;
2234
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V4IncreaseLPPosition;
2235
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V4IncreaseLPPosition;
2236
- static equals(a: V4IncreaseLPPosition | PlainMessage<V4IncreaseLPPosition> | undefined, b: V4IncreaseLPPosition | PlainMessage<V4IncreaseLPPosition> | undefined): boolean;
550
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Encode7702Response;
551
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Encode7702Response;
552
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Encode7702Response;
553
+ static equals(a: Encode7702Response | PlainMessage<Encode7702Response> | undefined, b: Encode7702Response | PlainMessage<Encode7702Response> | undefined): boolean;
2237
554
  }
2238
555
  /**
2239
- * @generated from message trading.v1.CreateLPPositionRequest
556
+ * @generated from message trading.v1.Swap5792Request
2240
557
  */
2241
- export declare class CreateLPPositionRequest extends Message<CreateLPPositionRequest> {
558
+ export declare class Swap5792Request extends Message<Swap5792Request> {
2242
559
  /**
2243
- * @generated from oneof trading.v1.CreateLPPositionRequest.createLpPosition
560
+ * @generated from oneof trading.v1.Swap5792Request.quote
2244
561
  */
2245
- createLpPosition: {
562
+ quote: {
2246
563
  /**
2247
- * @generated from field: trading.v1.V2CreateLPPosition v2_create_lp_position = 1;
564
+ * @generated from field: trading.v1.ClassicQuote classic_quote = 1;
2248
565
  */
2249
- value: V2CreateLPPosition;
2250
- case: "v2CreateLpPosition";
566
+ value: ClassicQuote;
567
+ case: "classicQuote";
2251
568
  } | {
2252
569
  /**
2253
- * @generated from field: trading.v1.V3CreateLPPosition v3_create_lp_position = 2;
570
+ * @generated from field: trading.v1.WrapUnwrapQuote wrap_unwrap_quote = 2;
2254
571
  */
2255
- value: V3CreateLPPosition;
2256
- case: "v3CreateLpPosition";
572
+ value: WrapUnwrapQuote;
573
+ case: "wrapUnwrapQuote";
2257
574
  } | {
2258
575
  /**
2259
- * @generated from field: trading.v1.V4CreateLPPosition v4_create_lp_position = 3;
576
+ * @generated from field: trading.v1.BridgeQuote bridge_quote = 3;
2260
577
  */
2261
- value: V4CreateLPPosition;
2262
- case: "v4CreateLpPosition";
578
+ value: BridgeQuote;
579
+ case: "bridgeQuote";
2263
580
  } | {
2264
581
  case: undefined;
2265
582
  value?: undefined;
2266
583
  };
2267
- constructor(data?: PartialMessage<CreateLPPositionRequest>);
2268
- static readonly runtime: typeof proto3;
2269
- static readonly typeName = "trading.v1.CreateLPPositionRequest";
2270
- static readonly fields: FieldList;
2271
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateLPPositionRequest;
2272
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateLPPositionRequest;
2273
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateLPPositionRequest;
2274
- static equals(a: CreateLPPositionRequest | PlainMessage<CreateLPPositionRequest> | undefined, b: CreateLPPositionRequest | PlainMessage<CreateLPPositionRequest> | undefined): boolean;
2275
- }
2276
- /**
2277
- * @generated from message trading.v1.CreateLPPositionResponse
2278
- */
2279
- export declare class CreateLPPositionResponse extends Message<CreateLPPositionResponse> {
2280
- /**
2281
- * @generated from field: string request_id = 1;
2282
- */
2283
- requestId: string;
2284
- /**
2285
- * @generated from field: optional trading.v1.TransactionRequest create = 2;
2286
- */
2287
- create?: TransactionRequest;
2288
- /**
2289
- * @generated from field: optional string dependent_amount = 3;
2290
- */
2291
- dependentAmount?: string;
2292
584
  /**
2293
- * @generated from field: optional string pool_liquidity = 4;
585
+ * @generated from field: optional trading.v1.PermitSingleData permit_data = 4;
2294
586
  */
2295
- poolLiquidity?: string;
587
+ permitData?: PermitSingleData;
2296
588
  /**
2297
- * @generated from field: optional sint32 current_tick = 5;
589
+ * @generated from field: int64 deadline = 5;
2298
590
  */
2299
- currentTick?: number;
591
+ deadline: bigint;
2300
592
  /**
2301
- * @generated from field: optional string sqrtRatioX96 = 6;
593
+ * @generated from field: optional trading.v1.Urgency urgency = 6;
2302
594
  */
2303
- sqrtRatioX96?: string;
2304
- constructor(data?: PartialMessage<CreateLPPositionResponse>);
595
+ urgency?: Urgency;
596
+ constructor(data?: PartialMessage<Swap5792Request>);
2305
597
  static readonly runtime: typeof proto3;
2306
- static readonly typeName = "trading.v1.CreateLPPositionResponse";
598
+ static readonly typeName = "trading.v1.Swap5792Request";
2307
599
  static readonly fields: FieldList;
2308
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateLPPositionResponse;
2309
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateLPPositionResponse;
2310
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateLPPositionResponse;
2311
- static equals(a: CreateLPPositionResponse | PlainMessage<CreateLPPositionResponse> | undefined, b: CreateLPPositionResponse | PlainMessage<CreateLPPositionResponse> | undefined): boolean;
600
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Swap5792Request;
601
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Swap5792Request;
602
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Swap5792Request;
603
+ static equals(a: Swap5792Request | PlainMessage<Swap5792Request> | undefined, b: Swap5792Request | PlainMessage<Swap5792Request> | undefined): boolean;
2312
604
  }
2313
605
  /**
2314
- * @generated from message trading.v1.V2CreateLPPosition
606
+ * @generated from message trading.v1.Swap5792Response
2315
607
  */
2316
- export declare class V2CreateLPPosition extends Message<V2CreateLPPosition> {
2317
- /**
2318
- * @generated from field: trading.v1.Protocols protocols = 1;
2319
- */
2320
- protocols: Protocols;
608
+ export declare class Swap5792Response extends Message<Swap5792Response> {
2321
609
  /**
2322
- * @generated from field: trading.v1.V2Position position = 2;
610
+ * @generated from field: string request_id = 1;
2323
611
  */
2324
- position?: V2Position;
612
+ requestId: string;
2325
613
  /**
2326
- * @generated from field: string wallet_address = 3;
614
+ * @generated from field: string from = 2;
2327
615
  */
2328
- walletAddress: string;
616
+ from: string;
2329
617
  /**
2330
- * @generated from field: trading.v1.ChainId chain_id = 4;
618
+ * @generated from field: trading.v1.ChainId chain_id = 3;
2331
619
  */
2332
620
  chainId: ChainId;
2333
621
  /**
2334
- * @generated from field: optional string amount0 = 5;
2335
- */
2336
- amount0?: string;
2337
- /**
2338
- * @generated from field: optional string amount1 = 6;
2339
- */
2340
- amount1?: string;
2341
- /**
2342
- * @generated from field: optional string independentAmount = 7;
2343
- */
2344
- independentAmount?: string;
2345
- /**
2346
- * @generated from field: optional trading.v1.IndependentToken independent_token = 8;
622
+ * @generated from field: repeated trading.v1.TransactionRequest5792 calls = 4;
2347
623
  */
2348
- independentToken?: IndependentToken;
624
+ calls: TransactionRequest5792[];
2349
625
  /**
2350
- * @generated from field: optional string default_dependent_amount = 10;
626
+ * @generated from field: optional string gas_fee = 5;
2351
627
  */
2352
- defaultDependentAmount?: string;
628
+ gasFee?: string;
2353
629
  /**
2354
- * @generated from field: optional int32 slippage_tolerance = 15;
630
+ * @generated from field: repeated trading.v1.GasEstimate gas_estimates = 6;
2355
631
  */
2356
- slippageTolerance?: number;
632
+ gasEstimates: GasEstimate[];
2357
633
  /**
2358
- * @generated from field: optional int32 deadline = 16;
634
+ * @generated from field: optional string signature = 7;
2359
635
  */
2360
- deadline?: number;
636
+ signature?: string;
2361
637
  /**
2362
- * @generated from field: bool simulate_transaction = 19;
638
+ * @generated from field: optional string public_key_id = 8;
2363
639
  */
2364
- simulateTransaction: boolean;
2365
- constructor(data?: PartialMessage<V2CreateLPPosition>);
640
+ publicKeyId?: string;
641
+ constructor(data?: PartialMessage<Swap5792Response>);
2366
642
  static readonly runtime: typeof proto3;
2367
- static readonly typeName = "trading.v1.V2CreateLPPosition";
643
+ static readonly typeName = "trading.v1.Swap5792Response";
2368
644
  static readonly fields: FieldList;
2369
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V2CreateLPPosition;
2370
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V2CreateLPPosition;
2371
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V2CreateLPPosition;
2372
- static equals(a: V2CreateLPPosition | PlainMessage<V2CreateLPPosition> | undefined, b: V2CreateLPPosition | PlainMessage<V2CreateLPPosition> | undefined): boolean;
645
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Swap5792Response;
646
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Swap5792Response;
647
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Swap5792Response;
648
+ static equals(a: Swap5792Response | PlainMessage<Swap5792Response> | undefined, b: Swap5792Response | PlainMessage<Swap5792Response> | undefined): boolean;
2373
649
  }
2374
650
  /**
2375
- * @generated from message trading.v1.V3CreateLPPosition
651
+ * @generated from message trading.v1.SendRequest
2376
652
  */
2377
- export declare class V3CreateLPPosition extends Message<V3CreateLPPosition> {
2378
- /**
2379
- * @generated from field: trading.v1.Protocols protocols = 1;
2380
- */
2381
- protocols: Protocols;
653
+ export declare class SendRequest extends Message<SendRequest> {
2382
654
  /**
2383
- * @generated from field: trading.v1.V3Position position = 2;
655
+ * @generated from field: string sender = 1;
2384
656
  */
2385
- position?: V3Position;
657
+ sender: string;
2386
658
  /**
2387
- * @generated from field: string wallet_address = 3;
659
+ * @generated from field: string recipient = 2;
2388
660
  */
2389
- walletAddress: string;
661
+ recipient: string;
2390
662
  /**
2391
- * @generated from field: trading.v1.ChainId chain_id = 4;
663
+ * @generated from field: trading.v1.ChainId chain_id = 3;
2392
664
  */
2393
665
  chainId: ChainId;
2394
666
  /**
2395
- * @generated from field: optional string initial_price = 11;
2396
- */
2397
- initialPrice?: string;
2398
- /**
2399
- * @generated from field: optional string amount0 = 5;
2400
- */
2401
- amount0?: string;
2402
- /**
2403
- * @generated from field: optional string amount1 = 6;
2404
- */
2405
- amount1?: string;
2406
- /**
2407
- * @generated from field: optional string independentAmount = 7;
2408
- */
2409
- independentAmount?: string;
2410
- /**
2411
- * @generated from field: optional trading.v1.IndependentToken independent_token = 8;
2412
- */
2413
- independentToken?: IndependentToken;
2414
- /**
2415
- * @generated from field: optional string initial_dependent_amount = 9;
2416
- */
2417
- initialDependentAmount?: string;
2418
- /**
2419
- * @generated from field: optional string pool_liquidity = 12;
2420
- */
2421
- poolLiquidity?: string;
2422
- /**
2423
- * @generated from field: optional sint32 current_tick = 13;
2424
- */
2425
- currentTick?: number;
2426
- /**
2427
- * @generated from field: optional string sqrtRatioX96 = 14;
2428
- */
2429
- sqrtRatioX96?: string;
2430
- /**
2431
- * @generated from field: optional int32 slippage_tolerance = 15;
2432
- */
2433
- slippageTolerance?: number;
2434
- /**
2435
- * @generated from field: optional int32 deadline = 16;
2436
- */
2437
- deadline?: number;
2438
- /**
2439
- * @generated from field: bool simulate_transaction = 19;
667
+ * @generated from field: string token = 4;
2440
668
  */
2441
- simulateTransaction: boolean;
669
+ token: string;
2442
670
  /**
2443
- * @generated from field: optional string default_dependent_amount = 10;
671
+ * @generated from field: string amount = 5;
2444
672
  */
2445
- defaultDependentAmount?: string;
673
+ amount: string;
2446
674
  /**
2447
- * @generated from field: optional string signature = 17;
675
+ * @generated from field: optional trading.v1.Urgency urgency = 6;
2448
676
  */
2449
- signature?: string;
677
+ urgency?: Urgency;
2450
678
  /**
2451
- * @generated from field: optional trading.v1.PermitBatchData batchPermitData = 18;
679
+ * @generated from field: repeated trading.v1.GasStrategy gas_strategies = 7;
2452
680
  */
2453
- batchPermitData?: PermitBatchData;
2454
- constructor(data?: PartialMessage<V3CreateLPPosition>);
681
+ gasStrategies: GasStrategy[];
682
+ constructor(data?: PartialMessage<SendRequest>);
2455
683
  static readonly runtime: typeof proto3;
2456
- static readonly typeName = "trading.v1.V3CreateLPPosition";
684
+ static readonly typeName = "trading.v1.SendRequest";
2457
685
  static readonly fields: FieldList;
2458
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V3CreateLPPosition;
2459
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V3CreateLPPosition;
2460
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V3CreateLPPosition;
2461
- static equals(a: V3CreateLPPosition | PlainMessage<V3CreateLPPosition> | undefined, b: V3CreateLPPosition | PlainMessage<V3CreateLPPosition> | undefined): boolean;
686
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendRequest;
687
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendRequest;
688
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendRequest;
689
+ static equals(a: SendRequest | PlainMessage<SendRequest> | undefined, b: SendRequest | PlainMessage<SendRequest> | undefined): boolean;
2462
690
  }
2463
691
  /**
2464
- * @generated from message trading.v1.V4CreateLPPosition
692
+ * @generated from message trading.v1.SendResponse
2465
693
  */
2466
- export declare class V4CreateLPPosition extends Message<V4CreateLPPosition> {
2467
- /**
2468
- * @generated from field: trading.v1.Protocols protocols = 1;
2469
- */
2470
- protocols: Protocols;
2471
- /**
2472
- * @generated from field: trading.v1.V4Position position = 2;
2473
- */
2474
- position?: V4Position;
2475
- /**
2476
- * @generated from field: string wallet_address = 3;
2477
- */
2478
- walletAddress: string;
2479
- /**
2480
- * @generated from field: trading.v1.ChainId chain_id = 4;
2481
- */
2482
- chainId: ChainId;
2483
- /**
2484
- * @generated from field: optional string initial_price = 11;
2485
- */
2486
- initialPrice?: string;
2487
- /**
2488
- * @generated from field: optional string amount0 = 5;
2489
- */
2490
- amount0?: string;
2491
- /**
2492
- * @generated from field: optional string amount1 = 6;
2493
- */
2494
- amount1?: string;
2495
- /**
2496
- * @generated from field: optional string independentAmount = 7;
2497
- */
2498
- independentAmount?: string;
2499
- /**
2500
- * @generated from field: optional trading.v1.IndependentToken independent_token = 8;
2501
- */
2502
- independentToken?: IndependentToken;
2503
- /**
2504
- * @generated from field: optional string initial_dependent_amount = 9;
2505
- */
2506
- initialDependentAmount?: string;
2507
- /**
2508
- * @generated from field: optional string pool_liquidity = 12;
2509
- */
2510
- poolLiquidity?: string;
2511
- /**
2512
- * @generated from field: optional sint32 current_tick = 13;
2513
- */
2514
- currentTick?: number;
2515
- /**
2516
- * @generated from field: optional string sqrtRatioX96 = 14;
2517
- */
2518
- sqrtRatioX96?: string;
2519
- /**
2520
- * @generated from field: optional string signature = 17;
2521
- */
2522
- signature?: string;
694
+ export declare class SendResponse extends Message<SendResponse> {
2523
695
  /**
2524
- * @generated from field: optional trading.v1.PermitBatchData batchPermitData = 18;
696
+ * @generated from field: string request_id = 1;
2525
697
  */
2526
- batchPermitData?: PermitBatchData;
698
+ requestId: string;
2527
699
  /**
2528
- * @generated from field: optional string default_dependent_amount = 10;
700
+ * @generated from field: optional trading.v1.TransactionRequest send = 2;
2529
701
  */
2530
- defaultDependentAmount?: string;
702
+ send?: TransactionRequest;
2531
703
  /**
2532
- * @generated from field: optional int32 slippage_tolerance = 15;
704
+ * @generated from field: optional string gas_fee = 3;
2533
705
  */
2534
- slippageTolerance?: number;
706
+ gasFee?: string;
2535
707
  /**
2536
- * @generated from field: optional int32 deadline = 16;
708
+ * @generated from field: optional string gas_fee_usd = 4;
2537
709
  */
2538
- deadline?: number;
710
+ gasFeeUsd?: string;
2539
711
  /**
2540
- * @generated from field: bool simulate_transaction = 19;
712
+ * @generated from field: repeated trading.v1.GasEstimate gas_estimates = 5;
2541
713
  */
2542
- simulateTransaction: boolean;
2543
- constructor(data?: PartialMessage<V4CreateLPPosition>);
714
+ gasEstimates: GasEstimate[];
715
+ constructor(data?: PartialMessage<SendResponse>);
2544
716
  static readonly runtime: typeof proto3;
2545
- static readonly typeName = "trading.v1.V4CreateLPPosition";
717
+ static readonly typeName = "trading.v1.SendResponse";
2546
718
  static readonly fields: FieldList;
2547
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V4CreateLPPosition;
2548
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V4CreateLPPosition;
2549
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V4CreateLPPosition;
2550
- static equals(a: V4CreateLPPosition | PlainMessage<V4CreateLPPosition> | undefined, b: V4CreateLPPosition | PlainMessage<V4CreateLPPosition> | undefined): boolean;
719
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendResponse;
720
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendResponse;
721
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendResponse;
722
+ static equals(a: SendResponse | PlainMessage<SendResponse> | undefined, b: SendResponse | PlainMessage<SendResponse> | undefined): boolean;
2551
723
  }
2552
724
  /**
2553
725
  * @generated from message trading.v1.V4Position
@@ -2732,62 +904,6 @@ export declare class TypedDataDomain extends Message<TypedDataDomain> {
2732
904
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TypedDataDomain;
2733
905
  static equals(a: TypedDataDomain | PlainMessage<TypedDataDomain> | undefined, b: TypedDataDomain | PlainMessage<TypedDataDomain> | undefined): boolean;
2734
906
  }
2735
- /**
2736
- * @generated from message trading.v1.NFTPermitValues
2737
- */
2738
- export declare class NFTPermitValues extends Message<NFTPermitValues> {
2739
- /**
2740
- * @generated from field: string spender = 1;
2741
- */
2742
- spender: string;
2743
- /**
2744
- * @generated from field: int32 tokenId = 2;
2745
- */
2746
- tokenId: number;
2747
- /**
2748
- * @generated from field: string deadline = 3;
2749
- */
2750
- deadline: string;
2751
- /**
2752
- * @generated from field: string nonce = 4;
2753
- */
2754
- nonce: string;
2755
- constructor(data?: PartialMessage<NFTPermitValues>);
2756
- static readonly runtime: typeof proto3;
2757
- static readonly typeName = "trading.v1.NFTPermitValues";
2758
- static readonly fields: FieldList;
2759
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NFTPermitValues;
2760
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NFTPermitValues;
2761
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NFTPermitValues;
2762
- static equals(a: NFTPermitValues | PlainMessage<NFTPermitValues> | undefined, b: NFTPermitValues | PlainMessage<NFTPermitValues> | undefined): boolean;
2763
- }
2764
- /**
2765
- * @generated from message trading.v1.NFTPermitData
2766
- */
2767
- export declare class NFTPermitData extends Message<NFTPermitData> {
2768
- /**
2769
- * @generated from field: trading.v1.TypedDataDomain domain = 1;
2770
- */
2771
- domain?: TypedDataDomain;
2772
- /**
2773
- * @generated from field: map<string, trading.v1.TypeFieldArray> types = 2;
2774
- */
2775
- types: {
2776
- [key: string]: TypeFieldArray;
2777
- };
2778
- /**
2779
- * @generated from field: trading.v1.NFTPermitValues values = 3;
2780
- */
2781
- values?: NFTPermitValues;
2782
- constructor(data?: PartialMessage<NFTPermitData>);
2783
- static readonly runtime: typeof proto3;
2784
- static readonly typeName = "trading.v1.NFTPermitData";
2785
- static readonly fields: FieldList;
2786
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NFTPermitData;
2787
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NFTPermitData;
2788
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NFTPermitData;
2789
- static equals(a: NFTPermitData | PlainMessage<NFTPermitData> | undefined, b: NFTPermitData | PlainMessage<NFTPermitData> | undefined): boolean;
2790
- }
2791
907
  /**
2792
908
  * @generated from message trading.v1.PermitBatchData
2793
909
  */
@@ -3090,14 +1206,6 @@ export declare class QuoteRequest extends Message<QuoteRequest> {
3090
1206
  * @generated from field: optional trading.v1.PermitAmount permit_amount = 15;
3091
1207
  */
3092
1208
  permitAmount?: PermitAmount;
3093
- /**
3094
- * @generated from field: optional int32 portion_bips = 16;
3095
- */
3096
- portionBips?: number;
3097
- /**
3098
- * @generated from field: optional string portion_recipient = 17;
3099
- */
3100
- portionRecipient?: string;
3101
1209
  /**
3102
1210
  * @generated from field: bool generate_permit_as_transaction = 18;
3103
1211
  */
@@ -3106,6 +1214,10 @@ export declare class QuoteRequest extends Message<QuoteRequest> {
3106
1214
  * @generated from field: optional trading.v1.HooksOptions hooks_options = 19;
3107
1215
  */
3108
1216
  hooksOptions?: HooksOptions;
1217
+ /**
1218
+ * @generated from field: repeated trading.v1.IntegratorFee integrator_fees = 20;
1219
+ */
1220
+ integratorFees: IntegratorFee[];
3109
1221
  constructor(data?: PartialMessage<QuoteRequest>);
3110
1222
  static readonly runtime: typeof proto3;
3111
1223
  static readonly typeName = "trading.v1.QuoteRequest";
@@ -3115,6 +1227,27 @@ export declare class QuoteRequest extends Message<QuoteRequest> {
3115
1227
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QuoteRequest;
3116
1228
  static equals(a: QuoteRequest | PlainMessage<QuoteRequest> | undefined, b: QuoteRequest | PlainMessage<QuoteRequest> | undefined): boolean;
3117
1229
  }
1230
+ /**
1231
+ * @generated from message trading.v1.IntegratorFee
1232
+ */
1233
+ export declare class IntegratorFee extends Message<IntegratorFee> {
1234
+ /**
1235
+ * @generated from field: int32 bips_x100 = 1;
1236
+ */
1237
+ bipsX100: number;
1238
+ /**
1239
+ * @generated from field: string recipient = 2;
1240
+ */
1241
+ recipient: string;
1242
+ constructor(data?: PartialMessage<IntegratorFee>);
1243
+ static readonly runtime: typeof proto3;
1244
+ static readonly typeName = "trading.v1.IntegratorFee";
1245
+ static readonly fields: FieldList;
1246
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IntegratorFee;
1247
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IntegratorFee;
1248
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IntegratorFee;
1249
+ static equals(a: IntegratorFee | PlainMessage<IntegratorFee> | undefined, b: IntegratorFee | PlainMessage<IntegratorFee> | undefined): boolean;
1250
+ }
3118
1251
  /**
3119
1252
  * @generated from message trading.v1.QuoteResponse
3120
1253
  */
@@ -6009,6 +4142,10 @@ export declare class TruncatedPlanStep extends Message<TruncatedPlanStep> {
6009
4142
  * @generated from field: optional int32 token_out_chain_id = 5;
6010
4143
  */
6011
4144
  tokenOutChainId?: number;
4145
+ /**
4146
+ * @generated from field: optional double slippage = 6;
4147
+ */
4148
+ slippage?: number;
6012
4149
  constructor(data?: PartialMessage<TruncatedPlanStep>);
6013
4150
  static readonly runtime: typeof proto3;
6014
4151
  static readonly typeName = "trading.v1.TruncatedPlanStep";
@@ -6086,6 +4223,14 @@ export declare class ChainedQuote extends Message<ChainedQuote> {
6086
4223
  * @generated from field: repeated trading.v1.TruncatedPlanStep steps = 16;
6087
4224
  */
6088
4225
  steps: TruncatedPlanStep[];
4226
+ /**
4227
+ * @generated from field: optional double slippage_tolerance = 17;
4228
+ */
4229
+ slippageTolerance?: number;
4230
+ /**
4231
+ * @generated from field: optional trading.v1.AutoSlippage auto_slippage = 18;
4232
+ */
4233
+ autoSlippage?: AutoSlippage;
6089
4234
  constructor(data?: PartialMessage<ChainedQuote>);
6090
4235
  static readonly runtime: typeof proto3;
6091
4236
  static readonly typeName = "trading.v1.ChainedQuote";
@@ -6862,6 +5007,10 @@ export declare class PlanStep extends Message<PlanStep> {
6862
5007
  * @generated from field: optional string routing_step_key = 23;
6863
5008
  */
6864
5009
  routingStepKey?: string;
5010
+ /**
5011
+ * @generated from field: optional double slippage = 24;
5012
+ */
5013
+ slippage?: number;
6865
5014
  constructor(data?: PartialMessage<PlanStep>);
6866
5015
  static readonly runtime: typeof proto3;
6867
5016
  static readonly typeName = "trading.v1.PlanStep";
@@ -7065,10 +5214,30 @@ export declare class PlanResponse extends Message<PlanResponse> {
7065
5214
  * @generated from field: optional string created_at = 15;
7066
5215
  */
7067
5216
  createdAt?: string;
5217
+ /**
5218
+ * @generated from field: optional string updated_at = 17;
5219
+ */
5220
+ updatedAt?: string;
5221
+ /**
5222
+ * @generated from field: optional string completed_at = 18;
5223
+ */
5224
+ completedAt?: string;
7068
5225
  /**
7069
5226
  * @generated from field: optional trading.v1.WalletExecutionContext wallet_execution_context = 16;
7070
5227
  */
7071
5228
  walletExecutionContext?: WalletExecutionContext;
5229
+ /**
5230
+ * @generated from field: optional double slippage_tolerance = 19;
5231
+ */
5232
+ slippageTolerance?: number;
5233
+ /**
5234
+ * @generated from field: optional trading.v1.AutoSlippage auto_slippage = 20;
5235
+ */
5236
+ autoSlippage?: AutoSlippage;
5237
+ /**
5238
+ * @generated from field: optional string last_user_action_at = 21;
5239
+ */
5240
+ lastUserActionAt?: string;
7072
5241
  constructor(data?: PartialMessage<PlanResponse>);
7073
5242
  static readonly runtime: typeof proto3;
7074
5243
  static readonly typeName = "trading.v1.PlanResponse";
@@ -7097,7 +5266,11 @@ export declare enum PlanResponse_PlanStatus {
7097
5266
  /**
7098
5267
  * @generated from enum value: FAILED = 3;
7099
5268
  */
7100
- FAILED = 3
5269
+ FAILED = 3,
5270
+ /**
5271
+ * @generated from enum value: AWAITING_ACTION = 4;
5272
+ */
5273
+ AWAITING_ACTION = 4
7101
5274
  }
7102
5275
  /**
7103
5276
  * @generated from message trading.v1.DocsRequest