@uniswap/client-trading 0.1.3 → 0.1.4
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.
- package/dist/trading/v1/api-tradingService_connectquery.d.ts +1 -113
- package/dist/trading/v1/api-tradingService_connectquery.js +1 -113
- package/dist/trading/v1/api_connect.d.ts +1 -81
- package/dist/trading/v1/api_connect.js +1 -81
- package/dist/trading/v1/api_pb.d.ts +226 -2050
- package/dist/trading/v1/api_pb.js +162 -1985
- package/package.json +1 -1
|
@@ -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
|
*/
|
|
@@ -496,2058 +466,280 @@ export declare enum OrderStatus {
|
|
|
496
466
|
*/
|
|
497
467
|
export declare enum SortFields {
|
|
498
468
|
/**
|
|
499
|
-
* @generated from enum value: SORT_FIELDS_UNSPECIFIED = 0;
|
|
500
|
-
*/
|
|
501
|
-
SORT_FIELDS_UNSPECIFIED = 0,
|
|
502
|
-
/**
|
|
503
|
-
* @generated from enum value: CREATED_AT = 1;
|
|
504
|
-
*/
|
|
505
|
-
CREATED_AT = 1
|
|
506
|
-
}
|
|
507
|
-
/**
|
|
508
|
-
* @generated from enum trading.v1.OrderTypeQueryParam
|
|
509
|
-
*/
|
|
510
|
-
export declare enum OrderTypeQueryParam {
|
|
511
|
-
/**
|
|
512
|
-
* @generated from enum value: ORDER_TYPE_QUERY_PARAM_UNSPECIFIED = 0;
|
|
513
|
-
*/
|
|
514
|
-
ORDER_TYPE_QUERY_PARAM_UNSPECIFIED = 0,
|
|
515
|
-
/**
|
|
516
|
-
* @generated from enum value: OrderTypeQueryParam_DUTCH_V2 = 2;
|
|
517
|
-
*/
|
|
518
|
-
OrderTypeQueryParam_DUTCH_V2 = 2,
|
|
519
|
-
/**
|
|
520
|
-
* @generated from enum value: OrderTypeQueryParam_LIMIT = 4;
|
|
521
|
-
*/
|
|
522
|
-
OrderTypeQueryParam_LIMIT = 4,
|
|
523
|
-
/**
|
|
524
|
-
* @generated from enum value: OrderTypeQueryParam_PRIORITY = 5;
|
|
525
|
-
*/
|
|
526
|
-
OrderTypeQueryParam_PRIORITY = 5,
|
|
527
|
-
/**
|
|
528
|
-
* @generated from enum value: OrderTypeQueryParam_DUTCH_V3 = 6;
|
|
529
|
-
*/
|
|
530
|
-
OrderTypeQueryParam_DUTCH_V3 = 6
|
|
531
|
-
}
|
|
532
|
-
/**
|
|
533
|
-
* @generated from enum trading.v1.OrderType
|
|
534
|
-
*/
|
|
535
|
-
export declare enum OrderType {
|
|
536
|
-
/**
|
|
537
|
-
* @generated from enum value: ORDER_TYPE_UNSPECIFIED = 0;
|
|
538
|
-
*/
|
|
539
|
-
ORDER_TYPE_UNSPECIFIED = 0,
|
|
540
|
-
/**
|
|
541
|
-
* Also used for DUTCH
|
|
542
|
-
*
|
|
543
|
-
* @generated from enum value: OrderType_DUTCH_LIMIT = 1;
|
|
544
|
-
*/
|
|
545
|
-
OrderType_DUTCH_LIMIT = 1,
|
|
546
|
-
/**
|
|
547
|
-
* @generated from enum value: OrderType_DUTCH_V2 = 2;
|
|
548
|
-
*/
|
|
549
|
-
OrderType_DUTCH_V2 = 2,
|
|
550
|
-
/**
|
|
551
|
-
* @generated from enum value: OrderType_PRIORITY = 3;
|
|
552
|
-
*/
|
|
553
|
-
OrderType_PRIORITY = 3,
|
|
554
|
-
/**
|
|
555
|
-
* @generated from enum value: OrderType_DUTCH_V3 = 4;
|
|
556
|
-
*/
|
|
557
|
-
OrderType_DUTCH_V3 = 4
|
|
558
|
-
}
|
|
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
|
-
/**
|
|
650
|
-
* @generated from message trading.v1.Encode7702Request
|
|
651
|
-
*/
|
|
652
|
-
export declare class Encode7702Request extends Message<Encode7702Request> {
|
|
653
|
-
/**
|
|
654
|
-
* @generated from field: repeated trading.v1.TransactionRequest calls = 1;
|
|
655
|
-
*/
|
|
656
|
-
calls: TransactionRequest[];
|
|
657
|
-
/**
|
|
658
|
-
* @generated from field: string wallet_address = 2;
|
|
659
|
-
*/
|
|
660
|
-
walletAddress: string;
|
|
661
|
-
/**
|
|
662
|
-
* @generated from field: string smart_contract_delegation_address = 3;
|
|
663
|
-
*/
|
|
664
|
-
smartContractDelegationAddress: string;
|
|
665
|
-
constructor(data?: PartialMessage<Encode7702Request>);
|
|
666
|
-
static readonly runtime: typeof proto3;
|
|
667
|
-
static readonly typeName = "trading.v1.Encode7702Request";
|
|
668
|
-
static readonly fields: FieldList;
|
|
669
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Encode7702Request;
|
|
670
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Encode7702Request;
|
|
671
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Encode7702Request;
|
|
672
|
-
static equals(a: Encode7702Request | PlainMessage<Encode7702Request> | undefined, b: Encode7702Request | PlainMessage<Encode7702Request> | undefined): boolean;
|
|
673
|
-
}
|
|
674
|
-
/**
|
|
675
|
-
* @generated from message trading.v1.Encode7702Response
|
|
676
|
-
*/
|
|
677
|
-
export declare class Encode7702Response extends Message<Encode7702Response> {
|
|
678
|
-
/**
|
|
679
|
-
* @generated from field: string request_id = 1;
|
|
680
|
-
*/
|
|
681
|
-
requestId: string;
|
|
682
|
-
/**
|
|
683
|
-
* @generated from field: trading.v1.TransactionRequest encoded_transaction = 2;
|
|
684
|
-
*/
|
|
685
|
-
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>);
|
|
2230
|
-
static readonly runtime: typeof proto3;
|
|
2231
|
-
static readonly typeName = "trading.v1.V4IncreaseLPPosition";
|
|
2232
|
-
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;
|
|
2237
|
-
}
|
|
2238
|
-
/**
|
|
2239
|
-
* @generated from message trading.v1.CreateLPPositionRequest
|
|
2240
|
-
*/
|
|
2241
|
-
export declare class CreateLPPositionRequest extends Message<CreateLPPositionRequest> {
|
|
2242
|
-
/**
|
|
2243
|
-
* @generated from oneof trading.v1.CreateLPPositionRequest.createLpPosition
|
|
2244
|
-
*/
|
|
2245
|
-
createLpPosition: {
|
|
2246
|
-
/**
|
|
2247
|
-
* @generated from field: trading.v1.V2CreateLPPosition v2_create_lp_position = 1;
|
|
2248
|
-
*/
|
|
2249
|
-
value: V2CreateLPPosition;
|
|
2250
|
-
case: "v2CreateLpPosition";
|
|
2251
|
-
} | {
|
|
2252
|
-
/**
|
|
2253
|
-
* @generated from field: trading.v1.V3CreateLPPosition v3_create_lp_position = 2;
|
|
2254
|
-
*/
|
|
2255
|
-
value: V3CreateLPPosition;
|
|
2256
|
-
case: "v3CreateLpPosition";
|
|
2257
|
-
} | {
|
|
2258
|
-
/**
|
|
2259
|
-
* @generated from field: trading.v1.V4CreateLPPosition v4_create_lp_position = 3;
|
|
2260
|
-
*/
|
|
2261
|
-
value: V4CreateLPPosition;
|
|
2262
|
-
case: "v4CreateLpPosition";
|
|
2263
|
-
} | {
|
|
2264
|
-
case: undefined;
|
|
2265
|
-
value?: undefined;
|
|
2266
|
-
};
|
|
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
|
-
/**
|
|
2293
|
-
* @generated from field: optional string pool_liquidity = 4;
|
|
2294
|
-
*/
|
|
2295
|
-
poolLiquidity?: string;
|
|
2296
|
-
/**
|
|
2297
|
-
* @generated from field: optional sint32 current_tick = 5;
|
|
2298
|
-
*/
|
|
2299
|
-
currentTick?: number;
|
|
2300
|
-
/**
|
|
2301
|
-
* @generated from field: optional string sqrtRatioX96 = 6;
|
|
2302
|
-
*/
|
|
2303
|
-
sqrtRatioX96?: string;
|
|
2304
|
-
constructor(data?: PartialMessage<CreateLPPositionResponse>);
|
|
2305
|
-
static readonly runtime: typeof proto3;
|
|
2306
|
-
static readonly typeName = "trading.v1.CreateLPPositionResponse";
|
|
2307
|
-
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;
|
|
2312
|
-
}
|
|
2313
|
-
/**
|
|
2314
|
-
* @generated from message trading.v1.V2CreateLPPosition
|
|
2315
|
-
*/
|
|
2316
|
-
export declare class V2CreateLPPosition extends Message<V2CreateLPPosition> {
|
|
2317
|
-
/**
|
|
2318
|
-
* @generated from field: trading.v1.Protocols protocols = 1;
|
|
2319
|
-
*/
|
|
2320
|
-
protocols: Protocols;
|
|
2321
|
-
/**
|
|
2322
|
-
* @generated from field: trading.v1.V2Position position = 2;
|
|
2323
|
-
*/
|
|
2324
|
-
position?: V2Position;
|
|
2325
|
-
/**
|
|
2326
|
-
* @generated from field: string wallet_address = 3;
|
|
2327
|
-
*/
|
|
2328
|
-
walletAddress: string;
|
|
2329
|
-
/**
|
|
2330
|
-
* @generated from field: trading.v1.ChainId chain_id = 4;
|
|
2331
|
-
*/
|
|
2332
|
-
chainId: ChainId;
|
|
2333
|
-
/**
|
|
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;
|
|
2347
|
-
*/
|
|
2348
|
-
independentToken?: IndependentToken;
|
|
2349
|
-
/**
|
|
2350
|
-
* @generated from field: optional string default_dependent_amount = 10;
|
|
2351
|
-
*/
|
|
2352
|
-
defaultDependentAmount?: string;
|
|
2353
|
-
/**
|
|
2354
|
-
* @generated from field: optional int32 slippage_tolerance = 15;
|
|
2355
|
-
*/
|
|
2356
|
-
slippageTolerance?: number;
|
|
2357
|
-
/**
|
|
2358
|
-
* @generated from field: optional int32 deadline = 16;
|
|
469
|
+
* @generated from enum value: SORT_FIELDS_UNSPECIFIED = 0;
|
|
2359
470
|
*/
|
|
2360
|
-
|
|
471
|
+
SORT_FIELDS_UNSPECIFIED = 0,
|
|
2361
472
|
/**
|
|
2362
|
-
* @generated from
|
|
473
|
+
* @generated from enum value: CREATED_AT = 1;
|
|
2363
474
|
*/
|
|
2364
|
-
|
|
2365
|
-
constructor(data?: PartialMessage<V2CreateLPPosition>);
|
|
2366
|
-
static readonly runtime: typeof proto3;
|
|
2367
|
-
static readonly typeName = "trading.v1.V2CreateLPPosition";
|
|
2368
|
-
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;
|
|
475
|
+
CREATED_AT = 1
|
|
2373
476
|
}
|
|
2374
477
|
/**
|
|
2375
|
-
* @generated from
|
|
478
|
+
* @generated from enum trading.v1.OrderTypeQueryParam
|
|
2376
479
|
*/
|
|
2377
|
-
export declare
|
|
480
|
+
export declare enum OrderTypeQueryParam {
|
|
2378
481
|
/**
|
|
2379
|
-
* @generated from
|
|
482
|
+
* @generated from enum value: ORDER_TYPE_QUERY_PARAM_UNSPECIFIED = 0;
|
|
2380
483
|
*/
|
|
2381
|
-
|
|
484
|
+
ORDER_TYPE_QUERY_PARAM_UNSPECIFIED = 0,
|
|
2382
485
|
/**
|
|
2383
|
-
* @generated from
|
|
486
|
+
* @generated from enum value: OrderTypeQueryParam_DUTCH_V2 = 2;
|
|
2384
487
|
*/
|
|
2385
|
-
|
|
488
|
+
OrderTypeQueryParam_DUTCH_V2 = 2,
|
|
2386
489
|
/**
|
|
2387
|
-
* @generated from
|
|
490
|
+
* @generated from enum value: OrderTypeQueryParam_LIMIT = 4;
|
|
2388
491
|
*/
|
|
2389
|
-
|
|
492
|
+
OrderTypeQueryParam_LIMIT = 4,
|
|
2390
493
|
/**
|
|
2391
|
-
* @generated from
|
|
494
|
+
* @generated from enum value: OrderTypeQueryParam_PRIORITY = 5;
|
|
2392
495
|
*/
|
|
2393
|
-
|
|
496
|
+
OrderTypeQueryParam_PRIORITY = 5,
|
|
2394
497
|
/**
|
|
2395
|
-
* @generated from
|
|
498
|
+
* @generated from enum value: OrderTypeQueryParam_DUTCH_V3 = 6;
|
|
2396
499
|
*/
|
|
2397
|
-
|
|
500
|
+
OrderTypeQueryParam_DUTCH_V3 = 6
|
|
501
|
+
}
|
|
502
|
+
/**
|
|
503
|
+
* @generated from enum trading.v1.OrderType
|
|
504
|
+
*/
|
|
505
|
+
export declare enum OrderType {
|
|
2398
506
|
/**
|
|
2399
|
-
* @generated from
|
|
507
|
+
* @generated from enum value: ORDER_TYPE_UNSPECIFIED = 0;
|
|
2400
508
|
*/
|
|
2401
|
-
|
|
509
|
+
ORDER_TYPE_UNSPECIFIED = 0,
|
|
2402
510
|
/**
|
|
2403
|
-
*
|
|
511
|
+
* Also used for DUTCH
|
|
512
|
+
*
|
|
513
|
+
* @generated from enum value: OrderType_DUTCH_LIMIT = 1;
|
|
2404
514
|
*/
|
|
2405
|
-
|
|
515
|
+
OrderType_DUTCH_LIMIT = 1,
|
|
2406
516
|
/**
|
|
2407
|
-
* @generated from
|
|
517
|
+
* @generated from enum value: OrderType_DUTCH_V2 = 2;
|
|
2408
518
|
*/
|
|
2409
|
-
|
|
519
|
+
OrderType_DUTCH_V2 = 2,
|
|
2410
520
|
/**
|
|
2411
|
-
* @generated from
|
|
521
|
+
* @generated from enum value: OrderType_PRIORITY = 3;
|
|
2412
522
|
*/
|
|
2413
|
-
|
|
523
|
+
OrderType_PRIORITY = 3,
|
|
2414
524
|
/**
|
|
2415
|
-
* @generated from
|
|
525
|
+
* @generated from enum value: OrderType_DUTCH_V3 = 4;
|
|
2416
526
|
*/
|
|
2417
|
-
|
|
527
|
+
OrderType_DUTCH_V3 = 4
|
|
528
|
+
}
|
|
529
|
+
/**
|
|
530
|
+
* @generated from message trading.v1.Encode7702Request
|
|
531
|
+
*/
|
|
532
|
+
export declare class Encode7702Request extends Message<Encode7702Request> {
|
|
2418
533
|
/**
|
|
2419
|
-
* @generated from field:
|
|
534
|
+
* @generated from field: repeated trading.v1.TransactionRequest calls = 1;
|
|
2420
535
|
*/
|
|
2421
|
-
|
|
536
|
+
calls: TransactionRequest[];
|
|
2422
537
|
/**
|
|
2423
|
-
* @generated from field:
|
|
538
|
+
* @generated from field: string wallet_address = 2;
|
|
2424
539
|
*/
|
|
2425
|
-
|
|
540
|
+
walletAddress: string;
|
|
2426
541
|
/**
|
|
2427
|
-
* @generated from field:
|
|
542
|
+
* @generated from field: string smart_contract_delegation_address = 3;
|
|
2428
543
|
*/
|
|
2429
|
-
|
|
544
|
+
smartContractDelegationAddress: string;
|
|
545
|
+
constructor(data?: PartialMessage<Encode7702Request>);
|
|
546
|
+
static readonly runtime: typeof proto3;
|
|
547
|
+
static readonly typeName = "trading.v1.Encode7702Request";
|
|
548
|
+
static readonly fields: FieldList;
|
|
549
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Encode7702Request;
|
|
550
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Encode7702Request;
|
|
551
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Encode7702Request;
|
|
552
|
+
static equals(a: Encode7702Request | PlainMessage<Encode7702Request> | undefined, b: Encode7702Request | PlainMessage<Encode7702Request> | undefined): boolean;
|
|
553
|
+
}
|
|
554
|
+
/**
|
|
555
|
+
* @generated from message trading.v1.Encode7702Response
|
|
556
|
+
*/
|
|
557
|
+
export declare class Encode7702Response extends Message<Encode7702Response> {
|
|
2430
558
|
/**
|
|
2431
|
-
* @generated from field:
|
|
559
|
+
* @generated from field: string request_id = 1;
|
|
2432
560
|
*/
|
|
2433
|
-
|
|
561
|
+
requestId: string;
|
|
2434
562
|
/**
|
|
2435
|
-
* @generated from field:
|
|
563
|
+
* @generated from field: trading.v1.TransactionRequest encoded_transaction = 2;
|
|
2436
564
|
*/
|
|
2437
|
-
|
|
565
|
+
encodedTransaction?: TransactionRequest;
|
|
566
|
+
constructor(data?: PartialMessage<Encode7702Response>);
|
|
567
|
+
static readonly runtime: typeof proto3;
|
|
568
|
+
static readonly typeName = "trading.v1.Encode7702Response";
|
|
569
|
+
static readonly fields: FieldList;
|
|
570
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Encode7702Response;
|
|
571
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Encode7702Response;
|
|
572
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Encode7702Response;
|
|
573
|
+
static equals(a: Encode7702Response | PlainMessage<Encode7702Response> | undefined, b: Encode7702Response | PlainMessage<Encode7702Response> | undefined): boolean;
|
|
574
|
+
}
|
|
575
|
+
/**
|
|
576
|
+
* @generated from message trading.v1.Swap5792Request
|
|
577
|
+
*/
|
|
578
|
+
export declare class Swap5792Request extends Message<Swap5792Request> {
|
|
2438
579
|
/**
|
|
2439
|
-
* @generated from
|
|
580
|
+
* @generated from oneof trading.v1.Swap5792Request.quote
|
|
2440
581
|
*/
|
|
2441
|
-
|
|
582
|
+
quote: {
|
|
583
|
+
/**
|
|
584
|
+
* @generated from field: trading.v1.ClassicQuote classic_quote = 1;
|
|
585
|
+
*/
|
|
586
|
+
value: ClassicQuote;
|
|
587
|
+
case: "classicQuote";
|
|
588
|
+
} | {
|
|
589
|
+
/**
|
|
590
|
+
* @generated from field: trading.v1.WrapUnwrapQuote wrap_unwrap_quote = 2;
|
|
591
|
+
*/
|
|
592
|
+
value: WrapUnwrapQuote;
|
|
593
|
+
case: "wrapUnwrapQuote";
|
|
594
|
+
} | {
|
|
595
|
+
/**
|
|
596
|
+
* @generated from field: trading.v1.BridgeQuote bridge_quote = 3;
|
|
597
|
+
*/
|
|
598
|
+
value: BridgeQuote;
|
|
599
|
+
case: "bridgeQuote";
|
|
600
|
+
} | {
|
|
601
|
+
case: undefined;
|
|
602
|
+
value?: undefined;
|
|
603
|
+
};
|
|
2442
604
|
/**
|
|
2443
|
-
* @generated from field: optional
|
|
605
|
+
* @generated from field: optional trading.v1.PermitSingleData permit_data = 4;
|
|
2444
606
|
*/
|
|
2445
|
-
|
|
607
|
+
permitData?: PermitSingleData;
|
|
2446
608
|
/**
|
|
2447
|
-
* @generated from field:
|
|
609
|
+
* @generated from field: int64 deadline = 5;
|
|
2448
610
|
*/
|
|
2449
|
-
|
|
611
|
+
deadline: bigint;
|
|
2450
612
|
/**
|
|
2451
|
-
* @generated from field: optional trading.v1.
|
|
613
|
+
* @generated from field: optional trading.v1.Urgency urgency = 6;
|
|
2452
614
|
*/
|
|
2453
|
-
|
|
2454
|
-
constructor(data?: PartialMessage<
|
|
615
|
+
urgency?: Urgency;
|
|
616
|
+
constructor(data?: PartialMessage<Swap5792Request>);
|
|
2455
617
|
static readonly runtime: typeof proto3;
|
|
2456
|
-
static readonly typeName = "trading.v1.
|
|
618
|
+
static readonly typeName = "trading.v1.Swap5792Request";
|
|
2457
619
|
static readonly fields: FieldList;
|
|
2458
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
2459
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
2460
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
2461
|
-
static equals(a:
|
|
620
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Swap5792Request;
|
|
621
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Swap5792Request;
|
|
622
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Swap5792Request;
|
|
623
|
+
static equals(a: Swap5792Request | PlainMessage<Swap5792Request> | undefined, b: Swap5792Request | PlainMessage<Swap5792Request> | undefined): boolean;
|
|
2462
624
|
}
|
|
2463
625
|
/**
|
|
2464
|
-
* @generated from message trading.v1.
|
|
626
|
+
* @generated from message trading.v1.Swap5792Response
|
|
2465
627
|
*/
|
|
2466
|
-
export declare class
|
|
628
|
+
export declare class Swap5792Response extends Message<Swap5792Response> {
|
|
2467
629
|
/**
|
|
2468
|
-
* @generated from field:
|
|
630
|
+
* @generated from field: string request_id = 1;
|
|
2469
631
|
*/
|
|
2470
|
-
|
|
632
|
+
requestId: string;
|
|
2471
633
|
/**
|
|
2472
|
-
* @generated from field:
|
|
634
|
+
* @generated from field: string from = 2;
|
|
2473
635
|
*/
|
|
2474
|
-
|
|
636
|
+
from: string;
|
|
2475
637
|
/**
|
|
2476
|
-
* @generated from field:
|
|
638
|
+
* @generated from field: trading.v1.ChainId chain_id = 3;
|
|
2477
639
|
*/
|
|
2478
|
-
|
|
640
|
+
chainId: ChainId;
|
|
2479
641
|
/**
|
|
2480
|
-
* @generated from field: trading.v1.
|
|
642
|
+
* @generated from field: repeated trading.v1.TransactionRequest5792 calls = 4;
|
|
2481
643
|
*/
|
|
2482
|
-
|
|
644
|
+
calls: TransactionRequest5792[];
|
|
2483
645
|
/**
|
|
2484
|
-
* @generated from field: optional string
|
|
646
|
+
* @generated from field: optional string gas_fee = 5;
|
|
2485
647
|
*/
|
|
2486
|
-
|
|
648
|
+
gasFee?: string;
|
|
2487
649
|
/**
|
|
2488
|
-
* @generated from field:
|
|
650
|
+
* @generated from field: repeated trading.v1.GasEstimate gas_estimates = 6;
|
|
2489
651
|
*/
|
|
2490
|
-
|
|
652
|
+
gasEstimates: GasEstimate[];
|
|
2491
653
|
/**
|
|
2492
|
-
* @generated from field: optional string
|
|
654
|
+
* @generated from field: optional string signature = 7;
|
|
2493
655
|
*/
|
|
2494
|
-
|
|
656
|
+
signature?: string;
|
|
2495
657
|
/**
|
|
2496
|
-
* @generated from field: optional string
|
|
658
|
+
* @generated from field: optional string public_key_id = 8;
|
|
2497
659
|
*/
|
|
2498
|
-
|
|
660
|
+
publicKeyId?: string;
|
|
661
|
+
constructor(data?: PartialMessage<Swap5792Response>);
|
|
662
|
+
static readonly runtime: typeof proto3;
|
|
663
|
+
static readonly typeName = "trading.v1.Swap5792Response";
|
|
664
|
+
static readonly fields: FieldList;
|
|
665
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Swap5792Response;
|
|
666
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Swap5792Response;
|
|
667
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Swap5792Response;
|
|
668
|
+
static equals(a: Swap5792Response | PlainMessage<Swap5792Response> | undefined, b: Swap5792Response | PlainMessage<Swap5792Response> | undefined): boolean;
|
|
669
|
+
}
|
|
670
|
+
/**
|
|
671
|
+
* @generated from message trading.v1.SendRequest
|
|
672
|
+
*/
|
|
673
|
+
export declare class SendRequest extends Message<SendRequest> {
|
|
2499
674
|
/**
|
|
2500
|
-
* @generated from field:
|
|
675
|
+
* @generated from field: string sender = 1;
|
|
2501
676
|
*/
|
|
2502
|
-
|
|
677
|
+
sender: string;
|
|
2503
678
|
/**
|
|
2504
|
-
* @generated from field:
|
|
679
|
+
* @generated from field: string recipient = 2;
|
|
2505
680
|
*/
|
|
2506
|
-
|
|
681
|
+
recipient: string;
|
|
2507
682
|
/**
|
|
2508
|
-
* @generated from field:
|
|
683
|
+
* @generated from field: trading.v1.ChainId chain_id = 3;
|
|
2509
684
|
*/
|
|
2510
|
-
|
|
685
|
+
chainId: ChainId;
|
|
2511
686
|
/**
|
|
2512
|
-
* @generated from field:
|
|
687
|
+
* @generated from field: string token = 4;
|
|
2513
688
|
*/
|
|
2514
|
-
|
|
689
|
+
token: string;
|
|
2515
690
|
/**
|
|
2516
|
-
* @generated from field:
|
|
691
|
+
* @generated from field: string amount = 5;
|
|
2517
692
|
*/
|
|
2518
|
-
|
|
693
|
+
amount: string;
|
|
2519
694
|
/**
|
|
2520
|
-
* @generated from field: optional
|
|
695
|
+
* @generated from field: optional trading.v1.Urgency urgency = 6;
|
|
2521
696
|
*/
|
|
2522
|
-
|
|
697
|
+
urgency?: Urgency;
|
|
2523
698
|
/**
|
|
2524
|
-
* @generated from field:
|
|
699
|
+
* @generated from field: repeated trading.v1.GasStrategy gas_strategies = 7;
|
|
2525
700
|
*/
|
|
2526
|
-
|
|
701
|
+
gasStrategies: GasStrategy[];
|
|
702
|
+
constructor(data?: PartialMessage<SendRequest>);
|
|
703
|
+
static readonly runtime: typeof proto3;
|
|
704
|
+
static readonly typeName = "trading.v1.SendRequest";
|
|
705
|
+
static readonly fields: FieldList;
|
|
706
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendRequest;
|
|
707
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendRequest;
|
|
708
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendRequest;
|
|
709
|
+
static equals(a: SendRequest | PlainMessage<SendRequest> | undefined, b: SendRequest | PlainMessage<SendRequest> | undefined): boolean;
|
|
710
|
+
}
|
|
711
|
+
/**
|
|
712
|
+
* @generated from message trading.v1.SendResponse
|
|
713
|
+
*/
|
|
714
|
+
export declare class SendResponse extends Message<SendResponse> {
|
|
2527
715
|
/**
|
|
2528
|
-
* @generated from field:
|
|
716
|
+
* @generated from field: string request_id = 1;
|
|
2529
717
|
*/
|
|
2530
|
-
|
|
718
|
+
requestId: string;
|
|
2531
719
|
/**
|
|
2532
|
-
* @generated from field: optional
|
|
720
|
+
* @generated from field: optional trading.v1.TransactionRequest send = 2;
|
|
2533
721
|
*/
|
|
2534
|
-
|
|
722
|
+
send?: TransactionRequest;
|
|
2535
723
|
/**
|
|
2536
|
-
* @generated from field: optional
|
|
724
|
+
* @generated from field: optional string gas_fee = 3;
|
|
2537
725
|
*/
|
|
2538
|
-
|
|
726
|
+
gasFee?: string;
|
|
2539
727
|
/**
|
|
2540
|
-
* @generated from field:
|
|
728
|
+
* @generated from field: optional string gas_fee_usd = 4;
|
|
2541
729
|
*/
|
|
2542
|
-
|
|
2543
|
-
|
|
730
|
+
gasFeeUsd?: string;
|
|
731
|
+
/**
|
|
732
|
+
* @generated from field: repeated trading.v1.GasEstimate gas_estimates = 5;
|
|
733
|
+
*/
|
|
734
|
+
gasEstimates: GasEstimate[];
|
|
735
|
+
constructor(data?: PartialMessage<SendResponse>);
|
|
2544
736
|
static readonly runtime: typeof proto3;
|
|
2545
|
-
static readonly typeName = "trading.v1.
|
|
737
|
+
static readonly typeName = "trading.v1.SendResponse";
|
|
2546
738
|
static readonly fields: FieldList;
|
|
2547
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
2548
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
2549
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
2550
|
-
static equals(a:
|
|
739
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendResponse;
|
|
740
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendResponse;
|
|
741
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendResponse;
|
|
742
|
+
static equals(a: SendResponse | PlainMessage<SendResponse> | undefined, b: SendResponse | PlainMessage<SendResponse> | undefined): boolean;
|
|
2551
743
|
}
|
|
2552
744
|
/**
|
|
2553
745
|
* @generated from message trading.v1.V4Position
|
|
@@ -2732,62 +924,6 @@ export declare class TypedDataDomain extends Message<TypedDataDomain> {
|
|
|
2732
924
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TypedDataDomain;
|
|
2733
925
|
static equals(a: TypedDataDomain | PlainMessage<TypedDataDomain> | undefined, b: TypedDataDomain | PlainMessage<TypedDataDomain> | undefined): boolean;
|
|
2734
926
|
}
|
|
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
927
|
/**
|
|
2792
928
|
* @generated from message trading.v1.PermitBatchData
|
|
2793
929
|
*/
|
|
@@ -6009,6 +4145,10 @@ export declare class TruncatedPlanStep extends Message<TruncatedPlanStep> {
|
|
|
6009
4145
|
* @generated from field: optional int32 token_out_chain_id = 5;
|
|
6010
4146
|
*/
|
|
6011
4147
|
tokenOutChainId?: number;
|
|
4148
|
+
/**
|
|
4149
|
+
* @generated from field: optional double slippage = 6;
|
|
4150
|
+
*/
|
|
4151
|
+
slippage?: number;
|
|
6012
4152
|
constructor(data?: PartialMessage<TruncatedPlanStep>);
|
|
6013
4153
|
static readonly runtime: typeof proto3;
|
|
6014
4154
|
static readonly typeName = "trading.v1.TruncatedPlanStep";
|
|
@@ -6086,6 +4226,14 @@ export declare class ChainedQuote extends Message<ChainedQuote> {
|
|
|
6086
4226
|
* @generated from field: repeated trading.v1.TruncatedPlanStep steps = 16;
|
|
6087
4227
|
*/
|
|
6088
4228
|
steps: TruncatedPlanStep[];
|
|
4229
|
+
/**
|
|
4230
|
+
* @generated from field: optional double slippage_tolerance = 17;
|
|
4231
|
+
*/
|
|
4232
|
+
slippageTolerance?: number;
|
|
4233
|
+
/**
|
|
4234
|
+
* @generated from field: optional trading.v1.AutoSlippage auto_slippage = 18;
|
|
4235
|
+
*/
|
|
4236
|
+
autoSlippage?: AutoSlippage;
|
|
6089
4237
|
constructor(data?: PartialMessage<ChainedQuote>);
|
|
6090
4238
|
static readonly runtime: typeof proto3;
|
|
6091
4239
|
static readonly typeName = "trading.v1.ChainedQuote";
|
|
@@ -6862,6 +5010,10 @@ export declare class PlanStep extends Message<PlanStep> {
|
|
|
6862
5010
|
* @generated from field: optional string routing_step_key = 23;
|
|
6863
5011
|
*/
|
|
6864
5012
|
routingStepKey?: string;
|
|
5013
|
+
/**
|
|
5014
|
+
* @generated from field: optional double slippage = 24;
|
|
5015
|
+
*/
|
|
5016
|
+
slippage?: number;
|
|
6865
5017
|
constructor(data?: PartialMessage<PlanStep>);
|
|
6866
5018
|
static readonly runtime: typeof proto3;
|
|
6867
5019
|
static readonly typeName = "trading.v1.PlanStep";
|
|
@@ -7065,10 +5217,30 @@ export declare class PlanResponse extends Message<PlanResponse> {
|
|
|
7065
5217
|
* @generated from field: optional string created_at = 15;
|
|
7066
5218
|
*/
|
|
7067
5219
|
createdAt?: string;
|
|
5220
|
+
/**
|
|
5221
|
+
* @generated from field: optional string updated_at = 17;
|
|
5222
|
+
*/
|
|
5223
|
+
updatedAt?: string;
|
|
5224
|
+
/**
|
|
5225
|
+
* @generated from field: optional string completed_at = 18;
|
|
5226
|
+
*/
|
|
5227
|
+
completedAt?: string;
|
|
7068
5228
|
/**
|
|
7069
5229
|
* @generated from field: optional trading.v1.WalletExecutionContext wallet_execution_context = 16;
|
|
7070
5230
|
*/
|
|
7071
5231
|
walletExecutionContext?: WalletExecutionContext;
|
|
5232
|
+
/**
|
|
5233
|
+
* @generated from field: optional double slippage_tolerance = 19;
|
|
5234
|
+
*/
|
|
5235
|
+
slippageTolerance?: number;
|
|
5236
|
+
/**
|
|
5237
|
+
* @generated from field: optional trading.v1.AutoSlippage auto_slippage = 20;
|
|
5238
|
+
*/
|
|
5239
|
+
autoSlippage?: AutoSlippage;
|
|
5240
|
+
/**
|
|
5241
|
+
* @generated from field: optional string last_user_action_at = 21;
|
|
5242
|
+
*/
|
|
5243
|
+
lastUserActionAt?: string;
|
|
7072
5244
|
constructor(data?: PartialMessage<PlanResponse>);
|
|
7073
5245
|
static readonly runtime: typeof proto3;
|
|
7074
5246
|
static readonly typeName = "trading.v1.PlanResponse";
|
|
@@ -7097,7 +5269,11 @@ export declare enum PlanResponse_PlanStatus {
|
|
|
7097
5269
|
/**
|
|
7098
5270
|
* @generated from enum value: FAILED = 3;
|
|
7099
5271
|
*/
|
|
7100
|
-
FAILED = 3
|
|
5272
|
+
FAILED = 3,
|
|
5273
|
+
/**
|
|
5274
|
+
* @generated from enum value: AWAITING_ACTION = 4;
|
|
5275
|
+
*/
|
|
5276
|
+
AWAITING_ACTION = 4
|
|
7101
5277
|
}
|
|
7102
5278
|
/**
|
|
7103
5279
|
* @generated from message trading.v1.DocsRequest
|