@uniswap/client-trading 0.1.2 → 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 +40 -138
- package/dist/trading/v1/api-tradingService_connectquery.js +41 -139
- package/dist/trading/v1/api_connect.d.ts +31 -101
- package/dist/trading/v1/api_connect.js +32 -102
- package/dist/trading/v1/api_pb.d.ts +483 -2046
- package/dist/trading/v1/api_pb.js +616 -2121
- package/package.json +1 -1
|
@@ -1,44 +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.Distributor
|
|
22
|
-
*/
|
|
23
|
-
export declare enum Distributor {
|
|
24
|
-
/**
|
|
25
|
-
* @generated from enum value: MERKLE = 0;
|
|
26
|
-
*/
|
|
27
|
-
MERKLE = 0
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* @generated from enum trading.v1.IndependentToken
|
|
31
|
-
*/
|
|
32
|
-
export declare enum IndependentToken {
|
|
33
|
-
/**
|
|
34
|
-
* @generated from enum value: TOKEN_0 = 0;
|
|
35
|
-
*/
|
|
36
|
-
TOKEN_0 = 0,
|
|
37
|
-
/**
|
|
38
|
-
* @generated from enum value: TOKEN_1 = 1;
|
|
39
|
-
*/
|
|
40
|
-
TOKEN_1 = 1
|
|
41
|
-
}
|
|
42
3
|
/**
|
|
43
4
|
* @generated from enum trading.v1.SafetyLevel
|
|
44
5
|
*/
|
|
@@ -145,6 +106,10 @@ export declare enum ChainId {
|
|
|
145
106
|
* @generated from enum value: MONAD_TESTNET = 10143;
|
|
146
107
|
*/
|
|
147
108
|
MONAD_TESTNET = 10143,
|
|
109
|
+
/**
|
|
110
|
+
* @generated from enum value: MONAD = 143;
|
|
111
|
+
*/
|
|
112
|
+
MONAD = 143,
|
|
148
113
|
/**
|
|
149
114
|
* @generated from enum value: BASE_SEPOLIA = 84532;
|
|
150
115
|
*/
|
|
@@ -156,7 +121,11 @@ export declare enum ChainId {
|
|
|
156
121
|
/**
|
|
157
122
|
* @generated from enum value: SONEIUM = 1868;
|
|
158
123
|
*/
|
|
159
|
-
SONEIUM = 1868
|
|
124
|
+
SONEIUM = 1868,
|
|
125
|
+
/**
|
|
126
|
+
* @generated from enum value: XLAYER = 196;
|
|
127
|
+
*/
|
|
128
|
+
XLAYER = 196
|
|
160
129
|
}
|
|
161
130
|
/**
|
|
162
131
|
* @generated from enum trading.v1.Protocols
|
|
@@ -334,6 +303,67 @@ export declare enum SwapType {
|
|
|
334
303
|
*/
|
|
335
304
|
CHAINED = 10
|
|
336
305
|
}
|
|
306
|
+
/**
|
|
307
|
+
* @generated from enum trading.v1.PlanStepType
|
|
308
|
+
*/
|
|
309
|
+
export declare enum PlanStepType {
|
|
310
|
+
/**
|
|
311
|
+
* @generated from enum value: PLAN_STEP_TYPE_CLASSIC = 0;
|
|
312
|
+
*/
|
|
313
|
+
CLASSIC = 0,
|
|
314
|
+
/**
|
|
315
|
+
* @generated from enum value: PLAN_STEP_TYPE_DUTCH_LIMIT = 1;
|
|
316
|
+
*/
|
|
317
|
+
DUTCH_LIMIT = 1,
|
|
318
|
+
/**
|
|
319
|
+
* @generated from enum value: PLAN_STEP_TYPE_DUTCH_V2 = 2;
|
|
320
|
+
*/
|
|
321
|
+
DUTCH_V2 = 2,
|
|
322
|
+
/**
|
|
323
|
+
* @generated from enum value: PLAN_STEP_TYPE_LIMIT_ORDER = 3;
|
|
324
|
+
*/
|
|
325
|
+
LIMIT_ORDER = 3,
|
|
326
|
+
/**
|
|
327
|
+
* @generated from enum value: PLAN_STEP_TYPE_WRAP = 4;
|
|
328
|
+
*/
|
|
329
|
+
WRAP = 4,
|
|
330
|
+
/**
|
|
331
|
+
* @generated from enum value: PLAN_STEP_TYPE_UNWRAP = 5;
|
|
332
|
+
*/
|
|
333
|
+
UNWRAP = 5,
|
|
334
|
+
/**
|
|
335
|
+
* @generated from enum value: PLAN_STEP_TYPE_BRIDGE = 6;
|
|
336
|
+
*/
|
|
337
|
+
BRIDGE = 6,
|
|
338
|
+
/**
|
|
339
|
+
* @generated from enum value: PLAN_STEP_TYPE_PRIORITY = 7;
|
|
340
|
+
*/
|
|
341
|
+
PRIORITY = 7,
|
|
342
|
+
/**
|
|
343
|
+
* @generated from enum value: PLAN_STEP_TYPE_DUTCH_V3 = 8;
|
|
344
|
+
*/
|
|
345
|
+
DUTCH_V3 = 8,
|
|
346
|
+
/**
|
|
347
|
+
* @generated from enum value: PLAN_STEP_TYPE_QUICKROUTE = 9;
|
|
348
|
+
*/
|
|
349
|
+
QUICKROUTE = 9,
|
|
350
|
+
/**
|
|
351
|
+
* @generated from enum value: PLAN_STEP_TYPE_CHAINED = 10;
|
|
352
|
+
*/
|
|
353
|
+
CHAINED = 10,
|
|
354
|
+
/**
|
|
355
|
+
* @generated from enum value: PLAN_STEP_TYPE_APPROVAL_TXN = 11;
|
|
356
|
+
*/
|
|
357
|
+
APPROVAL_TXN = 11,
|
|
358
|
+
/**
|
|
359
|
+
* @generated from enum value: PLAN_STEP_TYPE_APPROVAL_PERMIT = 12;
|
|
360
|
+
*/
|
|
361
|
+
APPROVAL_PERMIT = 12,
|
|
362
|
+
/**
|
|
363
|
+
* @generated from enum value: PLAN_STEP_TYPE_RESET_APPROVAL_TXN = 13;
|
|
364
|
+
*/
|
|
365
|
+
RESET_APPROVAL_TXN = 13
|
|
366
|
+
}
|
|
337
367
|
/**
|
|
338
368
|
* @generated from enum trading.v1.PoolType
|
|
339
369
|
*/
|
|
@@ -496,162 +526,6 @@ export declare enum OrderType {
|
|
|
496
526
|
*/
|
|
497
527
|
OrderType_DUTCH_V3 = 4
|
|
498
528
|
}
|
|
499
|
-
/**
|
|
500
|
-
* @generated from message trading.v1.MigrateV2ToV3LPPositionRequest
|
|
501
|
-
*/
|
|
502
|
-
export declare class MigrateV2ToV3LPPositionRequest extends Message<MigrateV2ToV3LPPositionRequest> {
|
|
503
|
-
/**
|
|
504
|
-
* @generated from field: string wallet_address = 1;
|
|
505
|
-
*/
|
|
506
|
-
walletAddress: string;
|
|
507
|
-
/**
|
|
508
|
-
* @generated from field: trading.v1.ChainId chain_id = 2;
|
|
509
|
-
*/
|
|
510
|
-
chainId: ChainId;
|
|
511
|
-
/**
|
|
512
|
-
* @generated from field: trading.v1.V3Position v3_params = 3;
|
|
513
|
-
*/
|
|
514
|
-
v3Params?: V3Position;
|
|
515
|
-
/**
|
|
516
|
-
* @generated from field: optional int32 slippage_bps = 4;
|
|
517
|
-
*/
|
|
518
|
-
slippageBps?: number;
|
|
519
|
-
/**
|
|
520
|
-
* @generated from field: optional string deadline = 5;
|
|
521
|
-
*/
|
|
522
|
-
deadline?: string;
|
|
523
|
-
/**
|
|
524
|
-
* @generated from field: optional bool refund_as_eth = 6;
|
|
525
|
-
*/
|
|
526
|
-
refundAsEth?: boolean;
|
|
527
|
-
/**
|
|
528
|
-
* @generated from field: optional bool simulate_transaction = 7;
|
|
529
|
-
*/
|
|
530
|
-
simulateTransaction?: boolean;
|
|
531
|
-
constructor(data?: PartialMessage<MigrateV2ToV3LPPositionRequest>);
|
|
532
|
-
static readonly runtime: typeof proto3;
|
|
533
|
-
static readonly typeName = "trading.v1.MigrateV2ToV3LPPositionRequest";
|
|
534
|
-
static readonly fields: FieldList;
|
|
535
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MigrateV2ToV3LPPositionRequest;
|
|
536
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MigrateV2ToV3LPPositionRequest;
|
|
537
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MigrateV2ToV3LPPositionRequest;
|
|
538
|
-
static equals(a: MigrateV2ToV3LPPositionRequest | PlainMessage<MigrateV2ToV3LPPositionRequest> | undefined, b: MigrateV2ToV3LPPositionRequest | PlainMessage<MigrateV2ToV3LPPositionRequest> | undefined): boolean;
|
|
539
|
-
}
|
|
540
|
-
/**
|
|
541
|
-
* @generated from message trading.v1.MigrateV2ToV3LPPositionResponse
|
|
542
|
-
*/
|
|
543
|
-
export declare class MigrateV2ToV3LPPositionResponse extends Message<MigrateV2ToV3LPPositionResponse> {
|
|
544
|
-
/**
|
|
545
|
-
* @generated from field: string request_id = 1;
|
|
546
|
-
*/
|
|
547
|
-
requestId: string;
|
|
548
|
-
/**
|
|
549
|
-
* @generated from field: trading.v1.TransactionRequest migrate = 2;
|
|
550
|
-
*/
|
|
551
|
-
migrate?: TransactionRequest;
|
|
552
|
-
/**
|
|
553
|
-
* @generated from field: optional string gasFee = 3;
|
|
554
|
-
*/
|
|
555
|
-
gasFee?: string;
|
|
556
|
-
constructor(data?: PartialMessage<MigrateV2ToV3LPPositionResponse>);
|
|
557
|
-
static readonly runtime: typeof proto3;
|
|
558
|
-
static readonly typeName = "trading.v1.MigrateV2ToV3LPPositionResponse";
|
|
559
|
-
static readonly fields: FieldList;
|
|
560
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MigrateV2ToV3LPPositionResponse;
|
|
561
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MigrateV2ToV3LPPositionResponse;
|
|
562
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MigrateV2ToV3LPPositionResponse;
|
|
563
|
-
static equals(a: MigrateV2ToV3LPPositionResponse | PlainMessage<MigrateV2ToV3LPPositionResponse> | undefined, b: MigrateV2ToV3LPPositionResponse | PlainMessage<MigrateV2ToV3LPPositionResponse> | undefined): boolean;
|
|
564
|
-
}
|
|
565
|
-
/**
|
|
566
|
-
* @generated from message trading.v1.GetLPPriceDiscrepancyRequest
|
|
567
|
-
*/
|
|
568
|
-
export declare class GetLPPriceDiscrepancyRequest extends Message<GetLPPriceDiscrepancyRequest> {
|
|
569
|
-
/**
|
|
570
|
-
* @generated from field: string txn_hash = 1;
|
|
571
|
-
*/
|
|
572
|
-
txnHash: string;
|
|
573
|
-
/**
|
|
574
|
-
* @generated from field: trading.v1.ChainId chain_id = 2;
|
|
575
|
-
*/
|
|
576
|
-
chainId: ChainId;
|
|
577
|
-
/**
|
|
578
|
-
* @generated from field: string token0 = 3;
|
|
579
|
-
*/
|
|
580
|
-
token0: string;
|
|
581
|
-
/**
|
|
582
|
-
* @generated from field: string token1 = 4;
|
|
583
|
-
*/
|
|
584
|
-
token1: string;
|
|
585
|
-
/**
|
|
586
|
-
* @generated from field: optional int32 tick_spacing = 5;
|
|
587
|
-
*/
|
|
588
|
-
tickSpacing?: number;
|
|
589
|
-
/**
|
|
590
|
-
* @generated from field: optional int32 fee = 6;
|
|
591
|
-
*/
|
|
592
|
-
fee?: number;
|
|
593
|
-
/**
|
|
594
|
-
* @generated from field: optional string hooks = 7;
|
|
595
|
-
*/
|
|
596
|
-
hooks?: string;
|
|
597
|
-
/**
|
|
598
|
-
* @generated from field: string sqrt_ratio_x96 = 8;
|
|
599
|
-
*/
|
|
600
|
-
sqrtRatioX96: string;
|
|
601
|
-
/**
|
|
602
|
-
* @generated from field: trading.v1.Protocols protocol = 9;
|
|
603
|
-
*/
|
|
604
|
-
protocol: Protocols;
|
|
605
|
-
constructor(data?: PartialMessage<GetLPPriceDiscrepancyRequest>);
|
|
606
|
-
static readonly runtime: typeof proto3;
|
|
607
|
-
static readonly typeName = "trading.v1.GetLPPriceDiscrepancyRequest";
|
|
608
|
-
static readonly fields: FieldList;
|
|
609
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetLPPriceDiscrepancyRequest;
|
|
610
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetLPPriceDiscrepancyRequest;
|
|
611
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLPPriceDiscrepancyRequest;
|
|
612
|
-
static equals(a: GetLPPriceDiscrepancyRequest | PlainMessage<GetLPPriceDiscrepancyRequest> | undefined, b: GetLPPriceDiscrepancyRequest | PlainMessage<GetLPPriceDiscrepancyRequest> | undefined): boolean;
|
|
613
|
-
}
|
|
614
|
-
/**
|
|
615
|
-
* @generated from message trading.v1.GetLPPriceDiscrepancyResponse
|
|
616
|
-
*/
|
|
617
|
-
export declare class GetLPPriceDiscrepancyResponse extends Message<GetLPPriceDiscrepancyResponse> {
|
|
618
|
-
/**
|
|
619
|
-
* @generated from field: string request_id = 1;
|
|
620
|
-
*/
|
|
621
|
-
requestId: string;
|
|
622
|
-
/**
|
|
623
|
-
* @generated from field: string percent_price_difference = 2;
|
|
624
|
-
*/
|
|
625
|
-
percentPriceDifference: string;
|
|
626
|
-
/**
|
|
627
|
-
* @generated from field: trading.v1.OnChainStatus status = 3;
|
|
628
|
-
*/
|
|
629
|
-
status: OnChainStatus;
|
|
630
|
-
/**
|
|
631
|
-
* @generated from field: string sqrt_ratio_x96_before = 4;
|
|
632
|
-
*/
|
|
633
|
-
sqrtRatioX96Before: string;
|
|
634
|
-
/**
|
|
635
|
-
* @generated from field: string sqrt_ratio_x96_after = 5;
|
|
636
|
-
*/
|
|
637
|
-
sqrtRatioX96After: string;
|
|
638
|
-
/**
|
|
639
|
-
* @generated from field: trading.v1.ChainId chain_id = 6;
|
|
640
|
-
*/
|
|
641
|
-
chainId: ChainId;
|
|
642
|
-
/**
|
|
643
|
-
* @generated from field: trading.v1.Protocols protocol = 7;
|
|
644
|
-
*/
|
|
645
|
-
protocol: Protocols;
|
|
646
|
-
constructor(data?: PartialMessage<GetLPPriceDiscrepancyResponse>);
|
|
647
|
-
static readonly runtime: typeof proto3;
|
|
648
|
-
static readonly typeName = "trading.v1.GetLPPriceDiscrepancyResponse";
|
|
649
|
-
static readonly fields: FieldList;
|
|
650
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetLPPriceDiscrepancyResponse;
|
|
651
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetLPPriceDiscrepancyResponse;
|
|
652
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLPPriceDiscrepancyResponse;
|
|
653
|
-
static equals(a: GetLPPriceDiscrepancyResponse | PlainMessage<GetLPPriceDiscrepancyResponse> | undefined, b: GetLPPriceDiscrepancyResponse | PlainMessage<GetLPPriceDiscrepancyResponse> | undefined): boolean;
|
|
654
|
-
}
|
|
655
529
|
/**
|
|
656
530
|
* @generated from message trading.v1.Encode7702Request
|
|
657
531
|
*/
|
|
@@ -793,211 +667,6 @@ export declare class Swap5792Response extends Message<Swap5792Response> {
|
|
|
793
667
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Swap5792Response;
|
|
794
668
|
static equals(a: Swap5792Response | PlainMessage<Swap5792Response> | undefined, b: Swap5792Response | PlainMessage<Swap5792Response> | undefined): boolean;
|
|
795
669
|
}
|
|
796
|
-
/**
|
|
797
|
-
* @generated from message trading.v1.PoolInfoRequest
|
|
798
|
-
*/
|
|
799
|
-
export declare class PoolInfoRequest extends Message<PoolInfoRequest> {
|
|
800
|
-
/**
|
|
801
|
-
* @generated from field: trading.v1.Protocols protocol = 1;
|
|
802
|
-
*/
|
|
803
|
-
protocol: Protocols;
|
|
804
|
-
/**
|
|
805
|
-
* @generated from field: repeated trading.v1.PoolReferenceByProtocol pool_references = 2;
|
|
806
|
-
*/
|
|
807
|
-
poolReferences: PoolReferenceByProtocol[];
|
|
808
|
-
/**
|
|
809
|
-
* @generated from field: optional trading.v1.PoolParameters pool_parameters = 3;
|
|
810
|
-
*/
|
|
811
|
-
poolParameters?: PoolParameters;
|
|
812
|
-
/**
|
|
813
|
-
* @generated from field: optional trading.v1.ChainId chain_id = 4;
|
|
814
|
-
*/
|
|
815
|
-
chainId?: ChainId;
|
|
816
|
-
/**
|
|
817
|
-
* @generated from field: optional int32 page_size = 5;
|
|
818
|
-
*/
|
|
819
|
-
pageSize?: number;
|
|
820
|
-
/**
|
|
821
|
-
* @generated from field: optional int32 current_page = 6;
|
|
822
|
-
*/
|
|
823
|
-
currentPage?: number;
|
|
824
|
-
constructor(data?: PartialMessage<PoolInfoRequest>);
|
|
825
|
-
static readonly runtime: typeof proto3;
|
|
826
|
-
static readonly typeName = "trading.v1.PoolInfoRequest";
|
|
827
|
-
static readonly fields: FieldList;
|
|
828
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolInfoRequest;
|
|
829
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolInfoRequest;
|
|
830
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolInfoRequest;
|
|
831
|
-
static equals(a: PoolInfoRequest | PlainMessage<PoolInfoRequest> | undefined, b: PoolInfoRequest | PlainMessage<PoolInfoRequest> | undefined): boolean;
|
|
832
|
-
}
|
|
833
|
-
/**
|
|
834
|
-
* @generated from message trading.v1.PoolInfoResponse
|
|
835
|
-
*/
|
|
836
|
-
export declare class PoolInfoResponse extends Message<PoolInfoResponse> {
|
|
837
|
-
/**
|
|
838
|
-
* @generated from field: string request_id = 1;
|
|
839
|
-
*/
|
|
840
|
-
requestId: string;
|
|
841
|
-
/**
|
|
842
|
-
* @generated from field: repeated trading.v1.PoolInformation pools = 2;
|
|
843
|
-
*/
|
|
844
|
-
pools: PoolInformation[];
|
|
845
|
-
/**
|
|
846
|
-
* @generated from field: int32 current_page = 3;
|
|
847
|
-
*/
|
|
848
|
-
currentPage: number;
|
|
849
|
-
/**
|
|
850
|
-
* @generated from field: int32 page_size = 4;
|
|
851
|
-
*/
|
|
852
|
-
pageSize: number;
|
|
853
|
-
constructor(data?: PartialMessage<PoolInfoResponse>);
|
|
854
|
-
static readonly runtime: typeof proto3;
|
|
855
|
-
static readonly typeName = "trading.v1.PoolInfoResponse";
|
|
856
|
-
static readonly fields: FieldList;
|
|
857
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolInfoResponse;
|
|
858
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolInfoResponse;
|
|
859
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolInfoResponse;
|
|
860
|
-
static equals(a: PoolInfoResponse | PlainMessage<PoolInfoResponse> | undefined, b: PoolInfoResponse | PlainMessage<PoolInfoResponse> | undefined): boolean;
|
|
861
|
-
}
|
|
862
|
-
/**
|
|
863
|
-
* @generated from message trading.v1.PoolInformation
|
|
864
|
-
*/
|
|
865
|
-
export declare class PoolInformation extends Message<PoolInformation> {
|
|
866
|
-
/**
|
|
867
|
-
* @generated from field: string pool_reference_identifier = 1;
|
|
868
|
-
*/
|
|
869
|
-
poolReferenceIdentifier: string;
|
|
870
|
-
/**
|
|
871
|
-
* @generated from field: trading.v1.Protocols pool_protocol = 2;
|
|
872
|
-
*/
|
|
873
|
-
poolProtocol: Protocols;
|
|
874
|
-
/**
|
|
875
|
-
* @generated from field: string token_address_A = 3;
|
|
876
|
-
*/
|
|
877
|
-
tokenAddressA: string;
|
|
878
|
-
/**
|
|
879
|
-
* @generated from field: string token_address_B = 4;
|
|
880
|
-
*/
|
|
881
|
-
tokenAddressB: string;
|
|
882
|
-
/**
|
|
883
|
-
* @generated from field: optional int32 tick_spacing = 5;
|
|
884
|
-
*/
|
|
885
|
-
tickSpacing?: number;
|
|
886
|
-
/**
|
|
887
|
-
* @generated from field: optional int32 fee = 6;
|
|
888
|
-
*/
|
|
889
|
-
fee?: number;
|
|
890
|
-
/**
|
|
891
|
-
* @generated from field: optional string hook_address = 7;
|
|
892
|
-
*/
|
|
893
|
-
hookAddress?: string;
|
|
894
|
-
/**
|
|
895
|
-
* @generated from field: trading.v1.ChainId chain_id = 8;
|
|
896
|
-
*/
|
|
897
|
-
chainId: ChainId;
|
|
898
|
-
/**
|
|
899
|
-
* @generated from field: optional string token_amount_A = 9;
|
|
900
|
-
*/
|
|
901
|
-
tokenAmountA?: string;
|
|
902
|
-
/**
|
|
903
|
-
* @generated from field: optional string token_amount_B = 10;
|
|
904
|
-
*/
|
|
905
|
-
tokenAmountB?: string;
|
|
906
|
-
/**
|
|
907
|
-
* @generated from field: string token_decimals_A = 11;
|
|
908
|
-
*/
|
|
909
|
-
tokenDecimalsA: string;
|
|
910
|
-
/**
|
|
911
|
-
* @generated from field: string token_decimals_B = 12;
|
|
912
|
-
*/
|
|
913
|
-
tokenDecimalsB: string;
|
|
914
|
-
/**
|
|
915
|
-
* @generated from field: optional string pool_liquidity = 13;
|
|
916
|
-
*/
|
|
917
|
-
poolLiquidity?: string;
|
|
918
|
-
/**
|
|
919
|
-
* @generated from field: optional string sqrt_ratio_x96 = 14;
|
|
920
|
-
*/
|
|
921
|
-
sqrtRatioX96?: string;
|
|
922
|
-
/**
|
|
923
|
-
* @generated from field: optional int32 current_tick = 15;
|
|
924
|
-
*/
|
|
925
|
-
currentTick?: number;
|
|
926
|
-
/**
|
|
927
|
-
* @generated from field: optional string token_0_reserves = 16;
|
|
928
|
-
*/
|
|
929
|
-
token0Reserves?: string;
|
|
930
|
-
/**
|
|
931
|
-
* @generated from field: optional string token_1_reserves = 17;
|
|
932
|
-
*/
|
|
933
|
-
token1Reserves?: string;
|
|
934
|
-
constructor(data?: PartialMessage<PoolInformation>);
|
|
935
|
-
static readonly runtime: typeof proto3;
|
|
936
|
-
static readonly typeName = "trading.v1.PoolInformation";
|
|
937
|
-
static readonly fields: FieldList;
|
|
938
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolInformation;
|
|
939
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolInformation;
|
|
940
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolInformation;
|
|
941
|
-
static equals(a: PoolInformation | PlainMessage<PoolInformation> | undefined, b: PoolInformation | PlainMessage<PoolInformation> | undefined): boolean;
|
|
942
|
-
}
|
|
943
|
-
/**
|
|
944
|
-
* @generated from message trading.v1.PoolReferenceByProtocol
|
|
945
|
-
*/
|
|
946
|
-
export declare class PoolReferenceByProtocol extends Message<PoolReferenceByProtocol> {
|
|
947
|
-
/**
|
|
948
|
-
* @generated from field: string reference_identifier = 1;
|
|
949
|
-
*/
|
|
950
|
-
referenceIdentifier: string;
|
|
951
|
-
/**
|
|
952
|
-
* @generated from field: trading.v1.Protocols protocol = 2;
|
|
953
|
-
*/
|
|
954
|
-
protocol: Protocols;
|
|
955
|
-
/**
|
|
956
|
-
* @generated from field: trading.v1.ChainId chain_id = 3;
|
|
957
|
-
*/
|
|
958
|
-
chainId: ChainId;
|
|
959
|
-
constructor(data?: PartialMessage<PoolReferenceByProtocol>);
|
|
960
|
-
static readonly runtime: typeof proto3;
|
|
961
|
-
static readonly typeName = "trading.v1.PoolReferenceByProtocol";
|
|
962
|
-
static readonly fields: FieldList;
|
|
963
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolReferenceByProtocol;
|
|
964
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolReferenceByProtocol;
|
|
965
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolReferenceByProtocol;
|
|
966
|
-
static equals(a: PoolReferenceByProtocol | PlainMessage<PoolReferenceByProtocol> | undefined, b: PoolReferenceByProtocol | PlainMessage<PoolReferenceByProtocol> | undefined): boolean;
|
|
967
|
-
}
|
|
968
|
-
/**
|
|
969
|
-
* @generated from message trading.v1.PoolParameters
|
|
970
|
-
*/
|
|
971
|
-
export declare class PoolParameters extends Message<PoolParameters> {
|
|
972
|
-
/**
|
|
973
|
-
* @generated from field: string token_address_A = 2;
|
|
974
|
-
*/
|
|
975
|
-
tokenAddressA: string;
|
|
976
|
-
/**
|
|
977
|
-
* @generated from field: string token_address_B = 3;
|
|
978
|
-
*/
|
|
979
|
-
tokenAddressB: string;
|
|
980
|
-
/**
|
|
981
|
-
* @generated from field: optional int32 tick_spacing = 4;
|
|
982
|
-
*/
|
|
983
|
-
tickSpacing?: number;
|
|
984
|
-
/**
|
|
985
|
-
* @generated from field: optional int32 fee = 5;
|
|
986
|
-
*/
|
|
987
|
-
fee?: number;
|
|
988
|
-
/**
|
|
989
|
-
* @generated from field: optional string hook_address = 6;
|
|
990
|
-
*/
|
|
991
|
-
hookAddress?: string;
|
|
992
|
-
constructor(data?: PartialMessage<PoolParameters>);
|
|
993
|
-
static readonly runtime: typeof proto3;
|
|
994
|
-
static readonly typeName = "trading.v1.PoolParameters";
|
|
995
|
-
static readonly fields: FieldList;
|
|
996
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolParameters;
|
|
997
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolParameters;
|
|
998
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolParameters;
|
|
999
|
-
static equals(a: PoolParameters | PlainMessage<PoolParameters> | undefined, b: PoolParameters | PlainMessage<PoolParameters> | undefined): boolean;
|
|
1000
|
-
}
|
|
1001
670
|
/**
|
|
1002
671
|
* @generated from message trading.v1.SendRequest
|
|
1003
672
|
*/
|
|
@@ -1027,1591 +696,50 @@ export declare class SendRequest extends Message<SendRequest> {
|
|
|
1027
696
|
*/
|
|
1028
697
|
urgency?: Urgency;
|
|
1029
698
|
/**
|
|
1030
|
-
* @generated from field: repeated trading.v1.GasStrategy gas_strategies = 7;
|
|
1031
|
-
*/
|
|
1032
|
-
gasStrategies: GasStrategy[];
|
|
1033
|
-
constructor(data?: PartialMessage<SendRequest>);
|
|
1034
|
-
static readonly runtime: typeof proto3;
|
|
1035
|
-
static readonly typeName = "trading.v1.SendRequest";
|
|
1036
|
-
static readonly fields: FieldList;
|
|
1037
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendRequest;
|
|
1038
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendRequest;
|
|
1039
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendRequest;
|
|
1040
|
-
static equals(a: SendRequest | PlainMessage<SendRequest> | undefined, b: SendRequest | PlainMessage<SendRequest> | undefined): boolean;
|
|
1041
|
-
}
|
|
1042
|
-
/**
|
|
1043
|
-
* @generated from message trading.v1.SendResponse
|
|
1044
|
-
*/
|
|
1045
|
-
export declare class SendResponse extends Message<SendResponse> {
|
|
1046
|
-
/**
|
|
1047
|
-
* @generated from field: string request_id = 1;
|
|
1048
|
-
*/
|
|
1049
|
-
requestId: string;
|
|
1050
|
-
/**
|
|
1051
|
-
* @generated from field: optional trading.v1.TransactionRequest send = 2;
|
|
1052
|
-
*/
|
|
1053
|
-
send?: TransactionRequest;
|
|
1054
|
-
/**
|
|
1055
|
-
* @generated from field: optional string gas_fee = 3;
|
|
1056
|
-
*/
|
|
1057
|
-
gasFee?: string;
|
|
1058
|
-
/**
|
|
1059
|
-
* @generated from field: optional string gas_fee_usd = 4;
|
|
1060
|
-
*/
|
|
1061
|
-
gasFeeUsd?: string;
|
|
1062
|
-
/**
|
|
1063
|
-
* @generated from field: repeated trading.v1.GasEstimate gas_estimates = 5;
|
|
1064
|
-
*/
|
|
1065
|
-
gasEstimates: GasEstimate[];
|
|
1066
|
-
constructor(data?: PartialMessage<SendResponse>);
|
|
1067
|
-
static readonly runtime: typeof proto3;
|
|
1068
|
-
static readonly typeName = "trading.v1.SendResponse";
|
|
1069
|
-
static readonly fields: FieldList;
|
|
1070
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendResponse;
|
|
1071
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendResponse;
|
|
1072
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendResponse;
|
|
1073
|
-
static equals(a: SendResponse | PlainMessage<SendResponse> | undefined, b: SendResponse | PlainMessage<SendResponse> | undefined): boolean;
|
|
1074
|
-
}
|
|
1075
|
-
/**
|
|
1076
|
-
* @generated from message trading.v1.ClaimLPRewardsRequest
|
|
1077
|
-
*/
|
|
1078
|
-
export declare class ClaimLPRewardsRequest extends Message<ClaimLPRewardsRequest> {
|
|
1079
|
-
/**
|
|
1080
|
-
* @generated from field: string wallet_address = 1;
|
|
1081
|
-
*/
|
|
1082
|
-
walletAddress: string;
|
|
1083
|
-
/**
|
|
1084
|
-
* @generated from field: trading.v1.ChainId chain_id = 2;
|
|
1085
|
-
*/
|
|
1086
|
-
chainId: ChainId;
|
|
1087
|
-
/**
|
|
1088
|
-
* @generated from field: repeated string tokens = 3;
|
|
1089
|
-
*/
|
|
1090
|
-
tokens: string[];
|
|
1091
|
-
/**
|
|
1092
|
-
* @generated from field: trading.v1.Distributor distributor = 4;
|
|
1093
|
-
*/
|
|
1094
|
-
distributor: Distributor;
|
|
1095
|
-
/**
|
|
1096
|
-
* @generated from field: bool simulate_transaction = 5;
|
|
1097
|
-
*/
|
|
1098
|
-
simulateTransaction: boolean;
|
|
1099
|
-
constructor(data?: PartialMessage<ClaimLPRewardsRequest>);
|
|
1100
|
-
static readonly runtime: typeof proto3;
|
|
1101
|
-
static readonly typeName = "trading.v1.ClaimLPRewardsRequest";
|
|
1102
|
-
static readonly fields: FieldList;
|
|
1103
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClaimLPRewardsRequest;
|
|
1104
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClaimLPRewardsRequest;
|
|
1105
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClaimLPRewardsRequest;
|
|
1106
|
-
static equals(a: ClaimLPRewardsRequest | PlainMessage<ClaimLPRewardsRequest> | undefined, b: ClaimLPRewardsRequest | PlainMessage<ClaimLPRewardsRequest> | undefined): boolean;
|
|
1107
|
-
}
|
|
1108
|
-
/**
|
|
1109
|
-
* @generated from message trading.v1.ClaimLPRewardsResponse
|
|
1110
|
-
*/
|
|
1111
|
-
export declare class ClaimLPRewardsResponse extends Message<ClaimLPRewardsResponse> {
|
|
1112
|
-
/**
|
|
1113
|
-
* @generated from field: string request_id = 1;
|
|
1114
|
-
*/
|
|
1115
|
-
requestId: string;
|
|
1116
|
-
/**
|
|
1117
|
-
* @generated from field: optional trading.v1.TransactionRequest claim = 2;
|
|
1118
|
-
*/
|
|
1119
|
-
claim?: TransactionRequest;
|
|
1120
|
-
/**
|
|
1121
|
-
* @generated from field: optional string gas_fee = 3;
|
|
1122
|
-
*/
|
|
1123
|
-
gasFee?: string;
|
|
1124
|
-
constructor(data?: PartialMessage<ClaimLPRewardsResponse>);
|
|
1125
|
-
static readonly runtime: typeof proto3;
|
|
1126
|
-
static readonly typeName = "trading.v1.ClaimLPRewardsResponse";
|
|
1127
|
-
static readonly fields: FieldList;
|
|
1128
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClaimLPRewardsResponse;
|
|
1129
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClaimLPRewardsResponse;
|
|
1130
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClaimLPRewardsResponse;
|
|
1131
|
-
static equals(a: ClaimLPRewardsResponse | PlainMessage<ClaimLPRewardsResponse> | undefined, b: ClaimLPRewardsResponse | PlainMessage<ClaimLPRewardsResponse> | undefined): boolean;
|
|
1132
|
-
}
|
|
1133
|
-
/**
|
|
1134
|
-
* @generated from message trading.v1.CheckApprovalLPRequest
|
|
1135
|
-
*/
|
|
1136
|
-
export declare class CheckApprovalLPRequest extends Message<CheckApprovalLPRequest> {
|
|
1137
|
-
/**
|
|
1138
|
-
* @generated from oneof trading.v1.CheckApprovalLPRequest.checkApprovalLPRequest
|
|
1139
|
-
*/
|
|
1140
|
-
checkApprovalLPRequest: {
|
|
1141
|
-
/**
|
|
1142
|
-
* @generated from field: trading.v1.V2CheckApprovalLPRequest v2_check_approval_lp_request = 1;
|
|
1143
|
-
*/
|
|
1144
|
-
value: V2CheckApprovalLPRequest;
|
|
1145
|
-
case: "v2CheckApprovalLpRequest";
|
|
1146
|
-
} | {
|
|
1147
|
-
/**
|
|
1148
|
-
* @generated from field: trading.v1.V3CheckApprovalLPRequest v3_check_approval_lp_request = 2;
|
|
1149
|
-
*/
|
|
1150
|
-
value: V3CheckApprovalLPRequest;
|
|
1151
|
-
case: "v3CheckApprovalLpRequest";
|
|
1152
|
-
} | {
|
|
1153
|
-
/**
|
|
1154
|
-
* @generated from field: trading.v1.V4CheckApprovalLPRequest v4_check_approval_lp_request = 3;
|
|
1155
|
-
*/
|
|
1156
|
-
value: V4CheckApprovalLPRequest;
|
|
1157
|
-
case: "v4CheckApprovalLpRequest";
|
|
1158
|
-
} | {
|
|
1159
|
-
case: undefined;
|
|
1160
|
-
value?: undefined;
|
|
1161
|
-
};
|
|
1162
|
-
constructor(data?: PartialMessage<CheckApprovalLPRequest>);
|
|
1163
|
-
static readonly runtime: typeof proto3;
|
|
1164
|
-
static readonly typeName = "trading.v1.CheckApprovalLPRequest";
|
|
1165
|
-
static readonly fields: FieldList;
|
|
1166
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckApprovalLPRequest;
|
|
1167
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckApprovalLPRequest;
|
|
1168
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckApprovalLPRequest;
|
|
1169
|
-
static equals(a: CheckApprovalLPRequest | PlainMessage<CheckApprovalLPRequest> | undefined, b: CheckApprovalLPRequest | PlainMessage<CheckApprovalLPRequest> | undefined): boolean;
|
|
1170
|
-
}
|
|
1171
|
-
/**
|
|
1172
|
-
* @generated from message trading.v1.CheckApprovalLPResponse
|
|
1173
|
-
*/
|
|
1174
|
-
export declare class CheckApprovalLPResponse extends Message<CheckApprovalLPResponse> {
|
|
1175
|
-
/**
|
|
1176
|
-
* @generated from field: string request_id = 1;
|
|
1177
|
-
*/
|
|
1178
|
-
requestId: string;
|
|
1179
|
-
/**
|
|
1180
|
-
* @generated from field: optional trading.v1.TransactionRequest token_0_approval = 2;
|
|
1181
|
-
*/
|
|
1182
|
-
token0Approval?: TransactionRequest;
|
|
1183
|
-
/**
|
|
1184
|
-
* @generated from field: optional trading.v1.TransactionRequest token_1_approval = 3;
|
|
1185
|
-
*/
|
|
1186
|
-
token1Approval?: TransactionRequest;
|
|
1187
|
-
/**
|
|
1188
|
-
* @generated from field: optional trading.v1.TransactionRequest token_0_Cancel = 4;
|
|
1189
|
-
*/
|
|
1190
|
-
token0Cancel?: TransactionRequest;
|
|
1191
|
-
/**
|
|
1192
|
-
* @generated from field: optional trading.v1.TransactionRequest token_1_Cancel = 5;
|
|
1193
|
-
*/
|
|
1194
|
-
token1Cancel?: TransactionRequest;
|
|
1195
|
-
/**
|
|
1196
|
-
* @generated from field: optional trading.v1.TransactionRequest position_token_approval = 6;
|
|
1197
|
-
*/
|
|
1198
|
-
positionTokenApproval?: TransactionRequest;
|
|
1199
|
-
/**
|
|
1200
|
-
* @generated from oneof trading.v1.CheckApprovalLPResponse.permitData
|
|
1201
|
-
*/
|
|
1202
|
-
permitData: {
|
|
1203
|
-
/**
|
|
1204
|
-
* @generated from field: trading.v1.PermitBatchData permit_batch_data = 7;
|
|
1205
|
-
*/
|
|
1206
|
-
value: PermitBatchData;
|
|
1207
|
-
case: "permitBatchData";
|
|
1208
|
-
} | {
|
|
1209
|
-
/**
|
|
1210
|
-
* @generated from field: trading.v1.NFTPermitData nft_permit_data = 8;
|
|
1211
|
-
*/
|
|
1212
|
-
value: NFTPermitData;
|
|
1213
|
-
case: "nftPermitData";
|
|
1214
|
-
} | {
|
|
1215
|
-
case: undefined;
|
|
1216
|
-
value?: undefined;
|
|
1217
|
-
};
|
|
1218
|
-
/**
|
|
1219
|
-
* @generated from field: optional trading.v1.TransactionRequest token_0_permit_transaction = 9;
|
|
1220
|
-
*/
|
|
1221
|
-
token0PermitTransaction?: TransactionRequest;
|
|
1222
|
-
/**
|
|
1223
|
-
* @generated from field: optional trading.v1.TransactionRequest token_1_permit_transaction = 10;
|
|
1224
|
-
*/
|
|
1225
|
-
token1PermitTransaction?: TransactionRequest;
|
|
1226
|
-
/**
|
|
1227
|
-
* @generated from field: optional string gas_fee_token_0_approval = 11;
|
|
1228
|
-
*/
|
|
1229
|
-
gasFeeToken0Approval?: string;
|
|
1230
|
-
/**
|
|
1231
|
-
* @generated from field: optional string gas_fee_token_1_approval = 12;
|
|
1232
|
-
*/
|
|
1233
|
-
gasFeeToken1Approval?: string;
|
|
1234
|
-
/**
|
|
1235
|
-
* @generated from field: optional string gas_fee_position_token_approval = 13;
|
|
1236
|
-
*/
|
|
1237
|
-
gasFeePositionTokenApproval?: string;
|
|
1238
|
-
/**
|
|
1239
|
-
* @generated from field: optional string gas_fee_token_0_cancel = 14;
|
|
1240
|
-
*/
|
|
1241
|
-
gasFeeToken0Cancel?: string;
|
|
1242
|
-
/**
|
|
1243
|
-
* @generated from field: optional string gas_fee_token_1_cancel = 15;
|
|
1244
|
-
*/
|
|
1245
|
-
gasFeeToken1Cancel?: string;
|
|
1246
|
-
/**
|
|
1247
|
-
* @generated from field: optional string gas_fee_token_0_permit = 16;
|
|
1248
|
-
*/
|
|
1249
|
-
gasFeeToken0Permit?: string;
|
|
1250
|
-
/**
|
|
1251
|
-
* @generated from field: optional string gas_fee_token_1_permit = 17;
|
|
1252
|
-
*/
|
|
1253
|
-
gasFeeToken1Permit?: string;
|
|
1254
|
-
constructor(data?: PartialMessage<CheckApprovalLPResponse>);
|
|
1255
|
-
static readonly runtime: typeof proto3;
|
|
1256
|
-
static readonly typeName = "trading.v1.CheckApprovalLPResponse";
|
|
1257
|
-
static readonly fields: FieldList;
|
|
1258
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckApprovalLPResponse;
|
|
1259
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckApprovalLPResponse;
|
|
1260
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckApprovalLPResponse;
|
|
1261
|
-
static equals(a: CheckApprovalLPResponse | PlainMessage<CheckApprovalLPResponse> | undefined, b: CheckApprovalLPResponse | PlainMessage<CheckApprovalLPResponse> | undefined): boolean;
|
|
1262
|
-
}
|
|
1263
|
-
/**
|
|
1264
|
-
* @generated from message trading.v1.V2CheckApprovalLPRequest
|
|
1265
|
-
*/
|
|
1266
|
-
export declare class V2CheckApprovalLPRequest extends Message<V2CheckApprovalLPRequest> {
|
|
1267
|
-
/**
|
|
1268
|
-
* @generated from field: trading.v1.Protocols protocol = 1;
|
|
1269
|
-
*/
|
|
1270
|
-
protocol: Protocols;
|
|
1271
|
-
/**
|
|
1272
|
-
* @generated from field: optional string token0 = 2;
|
|
1273
|
-
*/
|
|
1274
|
-
token0?: string;
|
|
1275
|
-
/**
|
|
1276
|
-
* @generated from field: optional string token1 = 3;
|
|
1277
|
-
*/
|
|
1278
|
-
token1?: string;
|
|
1279
|
-
/**
|
|
1280
|
-
* @generated from field: trading.v1.ChainId chain_id = 4;
|
|
1281
|
-
*/
|
|
1282
|
-
chainId: ChainId;
|
|
1283
|
-
/**
|
|
1284
|
-
* @generated from field: optional string position_token = 5;
|
|
1285
|
-
*/
|
|
1286
|
-
positionToken?: string;
|
|
1287
|
-
/**
|
|
1288
|
-
* @generated from field: string wallet_address = 6;
|
|
1289
|
-
*/
|
|
1290
|
-
walletAddress: string;
|
|
1291
|
-
/**
|
|
1292
|
-
* @generated from field: optional string amount0 = 7;
|
|
1293
|
-
*/
|
|
1294
|
-
amount0?: string;
|
|
1295
|
-
/**
|
|
1296
|
-
* @generated from field: optional string amount1 = 8;
|
|
1297
|
-
*/
|
|
1298
|
-
amount1?: string;
|
|
1299
|
-
/**
|
|
1300
|
-
* @generated from field: optional string position_amount = 9;
|
|
1301
|
-
*/
|
|
1302
|
-
positionAmount?: string;
|
|
1303
|
-
/**
|
|
1304
|
-
* @generated from field: bool simulate_transaction = 10;
|
|
1305
|
-
*/
|
|
1306
|
-
simulateTransaction: boolean;
|
|
1307
|
-
constructor(data?: PartialMessage<V2CheckApprovalLPRequest>);
|
|
1308
|
-
static readonly runtime: typeof proto3;
|
|
1309
|
-
static readonly typeName = "trading.v1.V2CheckApprovalLPRequest";
|
|
1310
|
-
static readonly fields: FieldList;
|
|
1311
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V2CheckApprovalLPRequest;
|
|
1312
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V2CheckApprovalLPRequest;
|
|
1313
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V2CheckApprovalLPRequest;
|
|
1314
|
-
static equals(a: V2CheckApprovalLPRequest | PlainMessage<V2CheckApprovalLPRequest> | undefined, b: V2CheckApprovalLPRequest | PlainMessage<V2CheckApprovalLPRequest> | undefined): boolean;
|
|
1315
|
-
}
|
|
1316
|
-
/**
|
|
1317
|
-
* @generated from message trading.v1.V3CheckApprovalLPRequest
|
|
1318
|
-
*/
|
|
1319
|
-
export declare class V3CheckApprovalLPRequest extends Message<V3CheckApprovalLPRequest> {
|
|
1320
|
-
/**
|
|
1321
|
-
* @generated from field: trading.v1.Protocols protocol = 1;
|
|
1322
|
-
*/
|
|
1323
|
-
protocol: Protocols;
|
|
1324
|
-
/**
|
|
1325
|
-
* @generated from field: optional string token0 = 2;
|
|
1326
|
-
*/
|
|
1327
|
-
token0?: string;
|
|
1328
|
-
/**
|
|
1329
|
-
* @generated from field: optional string token1 = 3;
|
|
1330
|
-
*/
|
|
1331
|
-
token1?: string;
|
|
1332
|
-
/**
|
|
1333
|
-
* @generated from field: trading.v1.ChainId chain_id = 4;
|
|
1334
|
-
*/
|
|
1335
|
-
chainId: ChainId;
|
|
1336
|
-
/**
|
|
1337
|
-
* @generated from field: optional string position_token = 5;
|
|
1338
|
-
*/
|
|
1339
|
-
positionToken?: string;
|
|
1340
|
-
/**
|
|
1341
|
-
* @generated from field: string wallet_address = 6;
|
|
1342
|
-
*/
|
|
1343
|
-
walletAddress: string;
|
|
1344
|
-
/**
|
|
1345
|
-
* @generated from field: optional string amount0 = 7;
|
|
1346
|
-
*/
|
|
1347
|
-
amount0?: string;
|
|
1348
|
-
/**
|
|
1349
|
-
* @generated from field: optional string amount1 = 8;
|
|
1350
|
-
*/
|
|
1351
|
-
amount1?: string;
|
|
1352
|
-
/**
|
|
1353
|
-
* @generated from field: bool simulate_transaction = 10;
|
|
1354
|
-
*/
|
|
1355
|
-
simulateTransaction: boolean;
|
|
1356
|
-
constructor(data?: PartialMessage<V3CheckApprovalLPRequest>);
|
|
1357
|
-
static readonly runtime: typeof proto3;
|
|
1358
|
-
static readonly typeName = "trading.v1.V3CheckApprovalLPRequest";
|
|
1359
|
-
static readonly fields: FieldList;
|
|
1360
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V3CheckApprovalLPRequest;
|
|
1361
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V3CheckApprovalLPRequest;
|
|
1362
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V3CheckApprovalLPRequest;
|
|
1363
|
-
static equals(a: V3CheckApprovalLPRequest | PlainMessage<V3CheckApprovalLPRequest> | undefined, b: V3CheckApprovalLPRequest | PlainMessage<V3CheckApprovalLPRequest> | undefined): boolean;
|
|
1364
|
-
}
|
|
1365
|
-
/**
|
|
1366
|
-
* @generated from message trading.v1.V4CheckApprovalLPRequest
|
|
1367
|
-
*/
|
|
1368
|
-
export declare class V4CheckApprovalLPRequest extends Message<V4CheckApprovalLPRequest> {
|
|
1369
|
-
/**
|
|
1370
|
-
* @generated from field: trading.v1.Protocols protocol = 1;
|
|
1371
|
-
*/
|
|
1372
|
-
protocol: Protocols;
|
|
1373
|
-
/**
|
|
1374
|
-
* @generated from field: string token0 = 2;
|
|
1375
|
-
*/
|
|
1376
|
-
token0: string;
|
|
1377
|
-
/**
|
|
1378
|
-
* @generated from field: string token1 = 3;
|
|
1379
|
-
*/
|
|
1380
|
-
token1: string;
|
|
1381
|
-
/**
|
|
1382
|
-
* @generated from field: trading.v1.ChainId chain_id = 4;
|
|
1383
|
-
*/
|
|
1384
|
-
chainId: ChainId;
|
|
1385
|
-
/**
|
|
1386
|
-
* @generated from field: string wallet_address = 6;
|
|
1387
|
-
*/
|
|
1388
|
-
walletAddress: string;
|
|
1389
|
-
/**
|
|
1390
|
-
* @generated from field: string amount0 = 7;
|
|
1391
|
-
*/
|
|
1392
|
-
amount0: string;
|
|
1393
|
-
/**
|
|
1394
|
-
* @generated from field: string amount1 = 8;
|
|
1395
|
-
*/
|
|
1396
|
-
amount1: string;
|
|
1397
|
-
/**
|
|
1398
|
-
* @generated from field: bool generate_permit_as_transaction = 9;
|
|
1399
|
-
*/
|
|
1400
|
-
generatePermitAsTransaction: boolean;
|
|
1401
|
-
/**
|
|
1402
|
-
* @generated from field: bool simulate_transaction = 10;
|
|
1403
|
-
*/
|
|
1404
|
-
simulateTransaction: boolean;
|
|
1405
|
-
constructor(data?: PartialMessage<V4CheckApprovalLPRequest>);
|
|
1406
|
-
static readonly runtime: typeof proto3;
|
|
1407
|
-
static readonly typeName = "trading.v1.V4CheckApprovalLPRequest";
|
|
1408
|
-
static readonly fields: FieldList;
|
|
1409
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V4CheckApprovalLPRequest;
|
|
1410
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V4CheckApprovalLPRequest;
|
|
1411
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V4CheckApprovalLPRequest;
|
|
1412
|
-
static equals(a: V4CheckApprovalLPRequest | PlainMessage<V4CheckApprovalLPRequest> | undefined, b: V4CheckApprovalLPRequest | PlainMessage<V4CheckApprovalLPRequest> | undefined): boolean;
|
|
1413
|
-
}
|
|
1414
|
-
/**
|
|
1415
|
-
* @generated from message trading.v1.MigrateLpPositionRequest
|
|
1416
|
-
*/
|
|
1417
|
-
export declare class MigrateLpPositionRequest extends Message<MigrateLpPositionRequest> {
|
|
1418
|
-
/**
|
|
1419
|
-
* @generated from field: int32 tokenId = 1;
|
|
1420
|
-
*/
|
|
1421
|
-
tokenId: number;
|
|
1422
|
-
/**
|
|
1423
|
-
* @generated from field: string wallet_address = 2;
|
|
1424
|
-
*/
|
|
1425
|
-
walletAddress: string;
|
|
1426
|
-
/**
|
|
1427
|
-
* @generated from field: trading.v1.ChainId chain_id = 3;
|
|
1428
|
-
*/
|
|
1429
|
-
chainId: ChainId;
|
|
1430
|
-
/**
|
|
1431
|
-
* @generated from field: trading.v1.Protocols input_protocol = 4;
|
|
1432
|
-
*/
|
|
1433
|
-
inputProtocol: Protocols;
|
|
1434
|
-
/**
|
|
1435
|
-
* @generated from field: trading.v1.V3Position input_position = 5;
|
|
1436
|
-
*/
|
|
1437
|
-
inputPosition?: V3Position;
|
|
1438
|
-
/**
|
|
1439
|
-
* @generated from field: string input_pool_liquidity = 6;
|
|
1440
|
-
*/
|
|
1441
|
-
inputPoolLiquidity: string;
|
|
1442
|
-
/**
|
|
1443
|
-
* @generated from field: int32 input_current_tick = 7;
|
|
1444
|
-
*/
|
|
1445
|
-
inputCurrentTick: number;
|
|
1446
|
-
/**
|
|
1447
|
-
* @generated from field: string input_sqrt_ratio_x96 = 8;
|
|
1448
|
-
*/
|
|
1449
|
-
inputSqrtRatioX96: string;
|
|
1450
|
-
/**
|
|
1451
|
-
* @generated from field: string input_position_liquidity = 9;
|
|
1452
|
-
*/
|
|
1453
|
-
inputPositionLiquidity: string;
|
|
1454
|
-
/**
|
|
1455
|
-
* @generated from field: optional string signature = 10;
|
|
1456
|
-
*/
|
|
1457
|
-
signature?: string;
|
|
1458
|
-
/**
|
|
1459
|
-
* @generated from field: string amount0 = 11;
|
|
1460
|
-
*/
|
|
1461
|
-
amount0: string;
|
|
1462
|
-
/**
|
|
1463
|
-
* @generated from field: string amount1 = 12;
|
|
1464
|
-
*/
|
|
1465
|
-
amount1: string;
|
|
1466
|
-
/**
|
|
1467
|
-
* @generated from field: trading.v1.Protocols output_protocol = 13;
|
|
1468
|
-
*/
|
|
1469
|
-
outputProtocol: Protocols;
|
|
1470
|
-
/**
|
|
1471
|
-
* @generated from field: trading.v1.V4Position output_position = 14;
|
|
1472
|
-
*/
|
|
1473
|
-
outputPosition?: V4Position;
|
|
1474
|
-
/**
|
|
1475
|
-
* @generated from field: optional string output_pool_liquidity = 15;
|
|
1476
|
-
*/
|
|
1477
|
-
outputPoolLiquidity?: string;
|
|
1478
|
-
/**
|
|
1479
|
-
* @generated from field: optional int32 output_current_tick = 16;
|
|
1480
|
-
*/
|
|
1481
|
-
outputCurrentTick?: number;
|
|
1482
|
-
/**
|
|
1483
|
-
* @generated from field: optional string output_sqrt_ratio_x96 = 17;
|
|
1484
|
-
*/
|
|
1485
|
-
outputSqrtRatioX96?: string;
|
|
1486
|
-
/**
|
|
1487
|
-
* @generated from field: optional string initial_price = 18;
|
|
1488
|
-
*/
|
|
1489
|
-
initialPrice?: string;
|
|
1490
|
-
/**
|
|
1491
|
-
* @generated from field: string expectedTokenOwed0RawAmount = 19;
|
|
1492
|
-
*/
|
|
1493
|
-
expectedTokenOwed0RawAmount: string;
|
|
1494
|
-
/**
|
|
1495
|
-
* @generated from field: string expectedTokenOwed1RawAmount = 20;
|
|
1496
|
-
*/
|
|
1497
|
-
expectedTokenOwed1RawAmount: string;
|
|
1498
|
-
/**
|
|
1499
|
-
* @generated from field: bool simulate_transaction = 21;
|
|
1500
|
-
*/
|
|
1501
|
-
simulateTransaction: boolean;
|
|
1502
|
-
/**
|
|
1503
|
-
* @generated from field: optional int32 slippage_tolerance = 22;
|
|
1504
|
-
*/
|
|
1505
|
-
slippageTolerance?: number;
|
|
1506
|
-
/**
|
|
1507
|
-
* @generated from field: optional int32 deadline = 23;
|
|
1508
|
-
*/
|
|
1509
|
-
deadline?: number;
|
|
1510
|
-
/**
|
|
1511
|
-
* @generated from field: optional int32 signature_deadline = 24;
|
|
1512
|
-
*/
|
|
1513
|
-
signatureDeadline?: number;
|
|
1514
|
-
constructor(data?: PartialMessage<MigrateLpPositionRequest>);
|
|
1515
|
-
static readonly runtime: typeof proto3;
|
|
1516
|
-
static readonly typeName = "trading.v1.MigrateLpPositionRequest";
|
|
1517
|
-
static readonly fields: FieldList;
|
|
1518
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MigrateLpPositionRequest;
|
|
1519
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MigrateLpPositionRequest;
|
|
1520
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MigrateLpPositionRequest;
|
|
1521
|
-
static equals(a: MigrateLpPositionRequest | PlainMessage<MigrateLpPositionRequest> | undefined, b: MigrateLpPositionRequest | PlainMessage<MigrateLpPositionRequest> | undefined): boolean;
|
|
1522
|
-
}
|
|
1523
|
-
/**
|
|
1524
|
-
* @generated from message trading.v1.MigrateLpPositionResponse
|
|
1525
|
-
*/
|
|
1526
|
-
export declare class MigrateLpPositionResponse extends Message<MigrateLpPositionResponse> {
|
|
1527
|
-
/**
|
|
1528
|
-
* @generated from field: string request_id = 1;
|
|
1529
|
-
*/
|
|
1530
|
-
requestId: string;
|
|
1531
|
-
/**
|
|
1532
|
-
* @generated from field: optional trading.v1.TransactionRequest migrate = 2;
|
|
1533
|
-
*/
|
|
1534
|
-
migrate?: TransactionRequest;
|
|
1535
|
-
/**
|
|
1536
|
-
* @generated from field: optional string gasFee = 3;
|
|
1537
|
-
*/
|
|
1538
|
-
gasFee?: string;
|
|
1539
|
-
constructor(data?: PartialMessage<MigrateLpPositionResponse>);
|
|
1540
|
-
static readonly runtime: typeof proto3;
|
|
1541
|
-
static readonly typeName = "trading.v1.MigrateLpPositionResponse";
|
|
1542
|
-
static readonly fields: FieldList;
|
|
1543
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MigrateLpPositionResponse;
|
|
1544
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MigrateLpPositionResponse;
|
|
1545
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MigrateLpPositionResponse;
|
|
1546
|
-
static equals(a: MigrateLpPositionResponse | PlainMessage<MigrateLpPositionResponse> | undefined, b: MigrateLpPositionResponse | PlainMessage<MigrateLpPositionResponse> | undefined): boolean;
|
|
1547
|
-
}
|
|
1548
|
-
/**
|
|
1549
|
-
* @generated from message trading.v1.ClaimLPFeesRequest
|
|
1550
|
-
*/
|
|
1551
|
-
export declare class ClaimLPFeesRequest extends Message<ClaimLPFeesRequest> {
|
|
1552
|
-
/**
|
|
1553
|
-
* @generated from oneof trading.v1.ClaimLPFeesRequest.claimLPFeesRequest
|
|
1554
|
-
*/
|
|
1555
|
-
claimLPFeesRequest: {
|
|
1556
|
-
/**
|
|
1557
|
-
* @generated from field: trading.v1.V2ClaimLPFeesRequest v2_claim_lp_fees_request = 1;
|
|
1558
|
-
*/
|
|
1559
|
-
value: V2ClaimLPFeesRequest;
|
|
1560
|
-
case: "v2ClaimLpFeesRequest";
|
|
1561
|
-
} | {
|
|
1562
|
-
/**
|
|
1563
|
-
* @generated from field: trading.v1.V3ClaimLPFeesRequest v3_claim_lp_fees_request = 2;
|
|
1564
|
-
*/
|
|
1565
|
-
value: V3ClaimLPFeesRequest;
|
|
1566
|
-
case: "v3ClaimLpFeesRequest";
|
|
1567
|
-
} | {
|
|
1568
|
-
/**
|
|
1569
|
-
* @generated from field: trading.v1.V4ClaimLPFeesRequest v4_claim_lp_fees_request = 3;
|
|
1570
|
-
*/
|
|
1571
|
-
value: V4ClaimLPFeesRequest;
|
|
1572
|
-
case: "v4ClaimLpFeesRequest";
|
|
1573
|
-
} | {
|
|
1574
|
-
case: undefined;
|
|
1575
|
-
value?: undefined;
|
|
1576
|
-
};
|
|
1577
|
-
constructor(data?: PartialMessage<ClaimLPFeesRequest>);
|
|
1578
|
-
static readonly runtime: typeof proto3;
|
|
1579
|
-
static readonly typeName = "trading.v1.ClaimLPFeesRequest";
|
|
1580
|
-
static readonly fields: FieldList;
|
|
1581
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClaimLPFeesRequest;
|
|
1582
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClaimLPFeesRequest;
|
|
1583
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClaimLPFeesRequest;
|
|
1584
|
-
static equals(a: ClaimLPFeesRequest | PlainMessage<ClaimLPFeesRequest> | undefined, b: ClaimLPFeesRequest | PlainMessage<ClaimLPFeesRequest> | undefined): boolean;
|
|
1585
|
-
}
|
|
1586
|
-
/**
|
|
1587
|
-
* @generated from message trading.v1.ClaimLPFeesResponse
|
|
1588
|
-
*/
|
|
1589
|
-
export declare class ClaimLPFeesResponse extends Message<ClaimLPFeesResponse> {
|
|
1590
|
-
/**
|
|
1591
|
-
* @generated from field: string request_id = 1;
|
|
1592
|
-
*/
|
|
1593
|
-
requestId: string;
|
|
1594
|
-
/**
|
|
1595
|
-
* @generated from field: optional trading.v1.TransactionRequest claim = 2;
|
|
1596
|
-
*/
|
|
1597
|
-
claim?: TransactionRequest;
|
|
1598
|
-
/**
|
|
1599
|
-
* @generated from field: optional string gasFee = 3;
|
|
1600
|
-
*/
|
|
1601
|
-
gasFee?: string;
|
|
1602
|
-
constructor(data?: PartialMessage<ClaimLPFeesResponse>);
|
|
1603
|
-
static readonly runtime: typeof proto3;
|
|
1604
|
-
static readonly typeName = "trading.v1.ClaimLPFeesResponse";
|
|
1605
|
-
static readonly fields: FieldList;
|
|
1606
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClaimLPFeesResponse;
|
|
1607
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClaimLPFeesResponse;
|
|
1608
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClaimLPFeesResponse;
|
|
1609
|
-
static equals(a: ClaimLPFeesResponse | PlainMessage<ClaimLPFeesResponse> | undefined, b: ClaimLPFeesResponse | PlainMessage<ClaimLPFeesResponse> | undefined): boolean;
|
|
1610
|
-
}
|
|
1611
|
-
/**
|
|
1612
|
-
* @generated from message trading.v1.V2ClaimLPFeesRequest
|
|
1613
|
-
*/
|
|
1614
|
-
export declare class V2ClaimLPFeesRequest extends Message<V2ClaimLPFeesRequest> {
|
|
1615
|
-
/**
|
|
1616
|
-
* @generated from field: trading.v1.Protocols protocol = 1;
|
|
1617
|
-
*/
|
|
1618
|
-
protocol: Protocols;
|
|
1619
|
-
/**
|
|
1620
|
-
* @generated from field: trading.v1.V2Position position = 2;
|
|
1621
|
-
*/
|
|
1622
|
-
position?: V2Position;
|
|
1623
|
-
/**
|
|
1624
|
-
* @generated from field: string wallet_address = 3;
|
|
1625
|
-
*/
|
|
1626
|
-
walletAddress: string;
|
|
1627
|
-
/**
|
|
1628
|
-
* @generated from field: trading.v1.ChainId chain_id = 4;
|
|
1629
|
-
*/
|
|
1630
|
-
chainId: ChainId;
|
|
1631
|
-
/**
|
|
1632
|
-
* @generated from field: optional bool simulate_transaction = 5;
|
|
1633
|
-
*/
|
|
1634
|
-
simulateTransaction?: boolean;
|
|
1635
|
-
/**
|
|
1636
|
-
* @generated from field: bool collectAsWETH = 6;
|
|
1637
|
-
*/
|
|
1638
|
-
collectAsWETH: boolean;
|
|
1639
|
-
constructor(data?: PartialMessage<V2ClaimLPFeesRequest>);
|
|
1640
|
-
static readonly runtime: typeof proto3;
|
|
1641
|
-
static readonly typeName = "trading.v1.V2ClaimLPFeesRequest";
|
|
1642
|
-
static readonly fields: FieldList;
|
|
1643
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V2ClaimLPFeesRequest;
|
|
1644
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V2ClaimLPFeesRequest;
|
|
1645
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V2ClaimLPFeesRequest;
|
|
1646
|
-
static equals(a: V2ClaimLPFeesRequest | PlainMessage<V2ClaimLPFeesRequest> | undefined, b: V2ClaimLPFeesRequest | PlainMessage<V2ClaimLPFeesRequest> | undefined): boolean;
|
|
1647
|
-
}
|
|
1648
|
-
/**
|
|
1649
|
-
* @generated from message trading.v1.V3ClaimLPFeesRequest
|
|
1650
|
-
*/
|
|
1651
|
-
export declare class V3ClaimLPFeesRequest extends Message<V3ClaimLPFeesRequest> {
|
|
1652
|
-
/**
|
|
1653
|
-
* @generated from field: trading.v1.Protocols protocol = 1;
|
|
1654
|
-
*/
|
|
1655
|
-
protocol: Protocols;
|
|
1656
|
-
/**
|
|
1657
|
-
* @generated from field: int32 tokenId = 2;
|
|
1658
|
-
*/
|
|
1659
|
-
tokenId: number;
|
|
1660
|
-
/**
|
|
1661
|
-
* @generated from field: trading.v1.V3Position position = 3;
|
|
1662
|
-
*/
|
|
1663
|
-
position?: V3Position;
|
|
1664
|
-
/**
|
|
1665
|
-
* @generated from field: string wallet_address = 4;
|
|
1666
|
-
*/
|
|
1667
|
-
walletAddress: string;
|
|
1668
|
-
/**
|
|
1669
|
-
* @generated from field: trading.v1.ChainId chain_id = 5;
|
|
1670
|
-
*/
|
|
1671
|
-
chainId: ChainId;
|
|
1672
|
-
/**
|
|
1673
|
-
* @generated from field: optional bool simulate_transaction = 6;
|
|
1674
|
-
*/
|
|
1675
|
-
simulateTransaction?: boolean;
|
|
1676
|
-
/**
|
|
1677
|
-
* @generated from field: bool collectAsWETH = 7;
|
|
1678
|
-
*/
|
|
1679
|
-
collectAsWETH: boolean;
|
|
1680
|
-
/**
|
|
1681
|
-
* @generated from field: string expectedTokenOwed0RawAmount = 8;
|
|
1682
|
-
*/
|
|
1683
|
-
expectedTokenOwed0RawAmount: string;
|
|
1684
|
-
/**
|
|
1685
|
-
* @generated from field: string expectedTokenOwed1RawAmount = 9;
|
|
1686
|
-
*/
|
|
1687
|
-
expectedTokenOwed1RawAmount: string;
|
|
1688
|
-
constructor(data?: PartialMessage<V3ClaimLPFeesRequest>);
|
|
1689
|
-
static readonly runtime: typeof proto3;
|
|
1690
|
-
static readonly typeName = "trading.v1.V3ClaimLPFeesRequest";
|
|
1691
|
-
static readonly fields: FieldList;
|
|
1692
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V3ClaimLPFeesRequest;
|
|
1693
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V3ClaimLPFeesRequest;
|
|
1694
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V3ClaimLPFeesRequest;
|
|
1695
|
-
static equals(a: V3ClaimLPFeesRequest | PlainMessage<V3ClaimLPFeesRequest> | undefined, b: V3ClaimLPFeesRequest | PlainMessage<V3ClaimLPFeesRequest> | undefined): boolean;
|
|
1696
|
-
}
|
|
1697
|
-
/**
|
|
1698
|
-
* @generated from message trading.v1.V4ClaimLPFeesRequest
|
|
1699
|
-
*/
|
|
1700
|
-
export declare class V4ClaimLPFeesRequest extends Message<V4ClaimLPFeesRequest> {
|
|
1701
|
-
/**
|
|
1702
|
-
* @generated from field: trading.v1.Protocols protocol = 1;
|
|
1703
|
-
*/
|
|
1704
|
-
protocol: Protocols;
|
|
1705
|
-
/**
|
|
1706
|
-
* @generated from field: int32 tokenId = 2;
|
|
1707
|
-
*/
|
|
1708
|
-
tokenId: number;
|
|
1709
|
-
/**
|
|
1710
|
-
* @generated from field: trading.v1.V4Position position = 3;
|
|
1711
|
-
*/
|
|
1712
|
-
position?: V4Position;
|
|
1713
|
-
/**
|
|
1714
|
-
* @generated from field: string wallet_address = 4;
|
|
1715
|
-
*/
|
|
1716
|
-
walletAddress: string;
|
|
1717
|
-
/**
|
|
1718
|
-
* @generated from field: trading.v1.ChainId chain_id = 5;
|
|
1719
|
-
*/
|
|
1720
|
-
chainId: ChainId;
|
|
1721
|
-
/**
|
|
1722
|
-
* @generated from field: optional bool simulate_transaction = 6;
|
|
1723
|
-
*/
|
|
1724
|
-
simulateTransaction?: boolean;
|
|
1725
|
-
constructor(data?: PartialMessage<V4ClaimLPFeesRequest>);
|
|
1726
|
-
static readonly runtime: typeof proto3;
|
|
1727
|
-
static readonly typeName = "trading.v1.V4ClaimLPFeesRequest";
|
|
1728
|
-
static readonly fields: FieldList;
|
|
1729
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V4ClaimLPFeesRequest;
|
|
1730
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V4ClaimLPFeesRequest;
|
|
1731
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V4ClaimLPFeesRequest;
|
|
1732
|
-
static equals(a: V4ClaimLPFeesRequest | PlainMessage<V4ClaimLPFeesRequest> | undefined, b: V4ClaimLPFeesRequest | PlainMessage<V4ClaimLPFeesRequest> | undefined): boolean;
|
|
1733
|
-
}
|
|
1734
|
-
/**
|
|
1735
|
-
* @generated from message trading.v1.DecreaseLPPositionRequest
|
|
1736
|
-
*/
|
|
1737
|
-
export declare class DecreaseLPPositionRequest extends Message<DecreaseLPPositionRequest> {
|
|
1738
|
-
/**
|
|
1739
|
-
* @generated from oneof trading.v1.DecreaseLPPositionRequest.decreaseLpPosition
|
|
1740
|
-
*/
|
|
1741
|
-
decreaseLpPosition: {
|
|
1742
|
-
/**
|
|
1743
|
-
* @generated from field: trading.v1.V2DecreaseLPPosition v2_decrease_lp_position = 1;
|
|
1744
|
-
*/
|
|
1745
|
-
value: V2DecreaseLPPosition;
|
|
1746
|
-
case: "v2DecreaseLpPosition";
|
|
1747
|
-
} | {
|
|
1748
|
-
/**
|
|
1749
|
-
* @generated from field: trading.v1.V3DecreaseLPPosition v3_decrease_lp_position = 2;
|
|
1750
|
-
*/
|
|
1751
|
-
value: V3DecreaseLPPosition;
|
|
1752
|
-
case: "v3DecreaseLpPosition";
|
|
1753
|
-
} | {
|
|
1754
|
-
/**
|
|
1755
|
-
* @generated from field: trading.v1.V4DecreaseLPPosition v4_decrease_lp_position = 3;
|
|
1756
|
-
*/
|
|
1757
|
-
value: V4DecreaseLPPosition;
|
|
1758
|
-
case: "v4DecreaseLpPosition";
|
|
1759
|
-
} | {
|
|
1760
|
-
case: undefined;
|
|
1761
|
-
value?: undefined;
|
|
1762
|
-
};
|
|
1763
|
-
constructor(data?: PartialMessage<DecreaseLPPositionRequest>);
|
|
1764
|
-
static readonly runtime: typeof proto3;
|
|
1765
|
-
static readonly typeName = "trading.v1.DecreaseLPPositionRequest";
|
|
1766
|
-
static readonly fields: FieldList;
|
|
1767
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DecreaseLPPositionRequest;
|
|
1768
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DecreaseLPPositionRequest;
|
|
1769
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DecreaseLPPositionRequest;
|
|
1770
|
-
static equals(a: DecreaseLPPositionRequest | PlainMessage<DecreaseLPPositionRequest> | undefined, b: DecreaseLPPositionRequest | PlainMessage<DecreaseLPPositionRequest> | undefined): boolean;
|
|
1771
|
-
}
|
|
1772
|
-
/**
|
|
1773
|
-
* @generated from message trading.v1.DecreaseLPPositionResponse
|
|
1774
|
-
*/
|
|
1775
|
-
export declare class DecreaseLPPositionResponse extends Message<DecreaseLPPositionResponse> {
|
|
1776
|
-
/**
|
|
1777
|
-
* @generated from field: string request_id = 1;
|
|
1778
|
-
*/
|
|
1779
|
-
requestId: string;
|
|
1780
|
-
/**
|
|
1781
|
-
* @generated from field: optional trading.v1.TransactionRequest decrease = 2;
|
|
1782
|
-
*/
|
|
1783
|
-
decrease?: TransactionRequest;
|
|
1784
|
-
/**
|
|
1785
|
-
* @generated from field: optional string pool_liquidity = 4;
|
|
1786
|
-
*/
|
|
1787
|
-
poolLiquidity?: string;
|
|
1788
|
-
/**
|
|
1789
|
-
* @generated from field: optional sint32 current_tick = 5;
|
|
1790
|
-
*/
|
|
1791
|
-
currentTick?: number;
|
|
1792
|
-
/**
|
|
1793
|
-
* @generated from field: optional string sqrtRatioX96 = 6;
|
|
1794
|
-
*/
|
|
1795
|
-
sqrtRatioX96?: string;
|
|
1796
|
-
/**
|
|
1797
|
-
* @generated from field: optional string gasFee = 7;
|
|
1798
|
-
*/
|
|
1799
|
-
gasFee?: string;
|
|
1800
|
-
constructor(data?: PartialMessage<DecreaseLPPositionResponse>);
|
|
1801
|
-
static readonly runtime: typeof proto3;
|
|
1802
|
-
static readonly typeName = "trading.v1.DecreaseLPPositionResponse";
|
|
1803
|
-
static readonly fields: FieldList;
|
|
1804
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DecreaseLPPositionResponse;
|
|
1805
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DecreaseLPPositionResponse;
|
|
1806
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DecreaseLPPositionResponse;
|
|
1807
|
-
static equals(a: DecreaseLPPositionResponse | PlainMessage<DecreaseLPPositionResponse> | undefined, b: DecreaseLPPositionResponse | PlainMessage<DecreaseLPPositionResponse> | undefined): boolean;
|
|
1808
|
-
}
|
|
1809
|
-
/**
|
|
1810
|
-
* @generated from message trading.v1.V2DecreaseLPPosition
|
|
1811
|
-
*/
|
|
1812
|
-
export declare class V2DecreaseLPPosition extends Message<V2DecreaseLPPosition> {
|
|
1813
|
-
/**
|
|
1814
|
-
* @generated from field: trading.v1.Protocols protocol = 1;
|
|
1815
|
-
*/
|
|
1816
|
-
protocol: Protocols;
|
|
1817
|
-
/**
|
|
1818
|
-
* @generated from field: trading.v1.V2Position position = 2;
|
|
1819
|
-
*/
|
|
1820
|
-
position?: V2Position;
|
|
1821
|
-
/**
|
|
1822
|
-
* @generated from field: string wallet_address = 3;
|
|
1823
|
-
*/
|
|
1824
|
-
walletAddress: string;
|
|
1825
|
-
/**
|
|
1826
|
-
* @generated from field: trading.v1.ChainId chain_id = 4;
|
|
1827
|
-
*/
|
|
1828
|
-
chainId: ChainId;
|
|
1829
|
-
/**
|
|
1830
|
-
* @generated from field: string positionLiquidity = 5;
|
|
1831
|
-
*/
|
|
1832
|
-
positionLiquidity: string;
|
|
1833
|
-
/**
|
|
1834
|
-
* @generated from field: int32 liquidityPercentageToDecrease = 6;
|
|
1835
|
-
*/
|
|
1836
|
-
liquidityPercentageToDecrease: number;
|
|
1837
|
-
/**
|
|
1838
|
-
* @generated from field: string liquidity0 = 7;
|
|
1839
|
-
*/
|
|
1840
|
-
liquidity0: string;
|
|
1841
|
-
/**
|
|
1842
|
-
* @generated from field: string liquidity1 = 8;
|
|
1843
|
-
*/
|
|
1844
|
-
liquidity1: string;
|
|
1845
|
-
/**
|
|
1846
|
-
* @generated from field: bool collectAsWETH = 10;
|
|
1847
|
-
*/
|
|
1848
|
-
collectAsWETH: boolean;
|
|
1849
|
-
/**
|
|
1850
|
-
* @generated from field: optional bool simulate_transaction = 11;
|
|
1851
|
-
*/
|
|
1852
|
-
simulateTransaction?: boolean;
|
|
1853
|
-
/**
|
|
1854
|
-
* @generated from field: optional int32 slippage_tolerance = 12;
|
|
1855
|
-
*/
|
|
1856
|
-
slippageTolerance?: number;
|
|
1857
|
-
/**
|
|
1858
|
-
* @generated from field: optional int32 deadline = 13;
|
|
1859
|
-
*/
|
|
1860
|
-
deadline?: number;
|
|
1861
|
-
constructor(data?: PartialMessage<V2DecreaseLPPosition>);
|
|
1862
|
-
static readonly runtime: typeof proto3;
|
|
1863
|
-
static readonly typeName = "trading.v1.V2DecreaseLPPosition";
|
|
1864
|
-
static readonly fields: FieldList;
|
|
1865
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V2DecreaseLPPosition;
|
|
1866
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V2DecreaseLPPosition;
|
|
1867
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V2DecreaseLPPosition;
|
|
1868
|
-
static equals(a: V2DecreaseLPPosition | PlainMessage<V2DecreaseLPPosition> | undefined, b: V2DecreaseLPPosition | PlainMessage<V2DecreaseLPPosition> | undefined): boolean;
|
|
1869
|
-
}
|
|
1870
|
-
/**
|
|
1871
|
-
* @generated from message trading.v1.V3DecreaseLPPosition
|
|
1872
|
-
*/
|
|
1873
|
-
export declare class V3DecreaseLPPosition extends Message<V3DecreaseLPPosition> {
|
|
1874
|
-
/**
|
|
1875
|
-
* @generated from field: trading.v1.Protocols protocol = 1;
|
|
1876
|
-
*/
|
|
1877
|
-
protocol: Protocols;
|
|
1878
|
-
/**
|
|
1879
|
-
* @generated from field: int32 tokenId = 2;
|
|
1880
|
-
*/
|
|
1881
|
-
tokenId: number;
|
|
1882
|
-
/**
|
|
1883
|
-
* @generated from field: trading.v1.V3Position position = 3;
|
|
1884
|
-
*/
|
|
1885
|
-
position?: V3Position;
|
|
1886
|
-
/**
|
|
1887
|
-
* @generated from field: string wallet_address = 4;
|
|
1888
|
-
*/
|
|
1889
|
-
walletAddress: string;
|
|
1890
|
-
/**
|
|
1891
|
-
* @generated from field: trading.v1.ChainId chain_id = 5;
|
|
1892
|
-
*/
|
|
1893
|
-
chainId: ChainId;
|
|
1894
|
-
/**
|
|
1895
|
-
* @generated from field: string liquidityPercentageToDecrease = 7;
|
|
1896
|
-
*/
|
|
1897
|
-
liquidityPercentageToDecrease: string;
|
|
1898
|
-
/**
|
|
1899
|
-
* @generated from field: optional string poolLiquidity = 8;
|
|
1900
|
-
*/
|
|
1901
|
-
poolLiquidity?: string;
|
|
1902
|
-
/**
|
|
1903
|
-
* @generated from field: optional int32 current_tick = 9;
|
|
1904
|
-
*/
|
|
1905
|
-
currentTick?: number;
|
|
1906
|
-
/**
|
|
1907
|
-
* @generated from field: optional string sqrtRatioX96 = 10;
|
|
1908
|
-
*/
|
|
1909
|
-
sqrtRatioX96?: string;
|
|
1910
|
-
/**
|
|
1911
|
-
* @generated from field: string positionLiquidity = 11;
|
|
1912
|
-
*/
|
|
1913
|
-
positionLiquidity: string;
|
|
1914
|
-
/**
|
|
1915
|
-
* @generated from field: string expectedTokenOwed0RawAmount = 12;
|
|
1916
|
-
*/
|
|
1917
|
-
expectedTokenOwed0RawAmount: string;
|
|
1918
|
-
/**
|
|
1919
|
-
* @generated from field: string expectedTokenOwed1RawAmount = 13;
|
|
1920
|
-
*/
|
|
1921
|
-
expectedTokenOwed1RawAmount: string;
|
|
1922
|
-
/**
|
|
1923
|
-
* @generated from field: bool collectAsWETH = 14;
|
|
1924
|
-
*/
|
|
1925
|
-
collectAsWETH: boolean;
|
|
1926
|
-
/**
|
|
1927
|
-
* @generated from field: optional bool simulate_transaction = 15;
|
|
1928
|
-
*/
|
|
1929
|
-
simulateTransaction?: boolean;
|
|
1930
|
-
/**
|
|
1931
|
-
* @generated from field: optional int32 slippage_tolerance = 16;
|
|
1932
|
-
*/
|
|
1933
|
-
slippageTolerance?: number;
|
|
1934
|
-
/**
|
|
1935
|
-
* @generated from field: optional int32 deadline = 17;
|
|
1936
|
-
*/
|
|
1937
|
-
deadline?: number;
|
|
1938
|
-
constructor(data?: PartialMessage<V3DecreaseLPPosition>);
|
|
1939
|
-
static readonly runtime: typeof proto3;
|
|
1940
|
-
static readonly typeName = "trading.v1.V3DecreaseLPPosition";
|
|
1941
|
-
static readonly fields: FieldList;
|
|
1942
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V3DecreaseLPPosition;
|
|
1943
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V3DecreaseLPPosition;
|
|
1944
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V3DecreaseLPPosition;
|
|
1945
|
-
static equals(a: V3DecreaseLPPosition | PlainMessage<V3DecreaseLPPosition> | undefined, b: V3DecreaseLPPosition | PlainMessage<V3DecreaseLPPosition> | undefined): boolean;
|
|
1946
|
-
}
|
|
1947
|
-
/**
|
|
1948
|
-
* @generated from message trading.v1.V4DecreaseLPPosition
|
|
1949
|
-
*/
|
|
1950
|
-
export declare class V4DecreaseLPPosition extends Message<V4DecreaseLPPosition> {
|
|
1951
|
-
/**
|
|
1952
|
-
* @generated from field: trading.v1.Protocols protocol = 1;
|
|
1953
|
-
*/
|
|
1954
|
-
protocol: Protocols;
|
|
1955
|
-
/**
|
|
1956
|
-
* @generated from field: int32 tokenId = 2;
|
|
1957
|
-
*/
|
|
1958
|
-
tokenId: number;
|
|
1959
|
-
/**
|
|
1960
|
-
* @generated from field: trading.v1.V4Position position = 3;
|
|
1961
|
-
*/
|
|
1962
|
-
position?: V4Position;
|
|
1963
|
-
/**
|
|
1964
|
-
* @generated from field: string wallet_address = 4;
|
|
1965
|
-
*/
|
|
1966
|
-
walletAddress: string;
|
|
1967
|
-
/**
|
|
1968
|
-
* @generated from field: trading.v1.ChainId chain_id = 5;
|
|
1969
|
-
*/
|
|
1970
|
-
chainId: ChainId;
|
|
1971
|
-
/**
|
|
1972
|
-
* @generated from field: int32 liquidityPercentageToDecrease = 6;
|
|
1973
|
-
*/
|
|
1974
|
-
liquidityPercentageToDecrease: number;
|
|
1975
|
-
/**
|
|
1976
|
-
* @generated from field: optional string poolLiquidity = 7;
|
|
1977
|
-
*/
|
|
1978
|
-
poolLiquidity?: string;
|
|
1979
|
-
/**
|
|
1980
|
-
* @generated from field: optional int32 current_tick = 8;
|
|
1981
|
-
*/
|
|
1982
|
-
currentTick?: number;
|
|
1983
|
-
/**
|
|
1984
|
-
* @generated from field: optional string sqrtRatioX96 = 9;
|
|
1985
|
-
*/
|
|
1986
|
-
sqrtRatioX96?: string;
|
|
1987
|
-
/**
|
|
1988
|
-
* @generated from field: string positionLiquidity = 10;
|
|
1989
|
-
*/
|
|
1990
|
-
positionLiquidity: string;
|
|
1991
|
-
/**
|
|
1992
|
-
* @generated from field: optional bool simulate_transaction = 11;
|
|
1993
|
-
*/
|
|
1994
|
-
simulateTransaction?: boolean;
|
|
1995
|
-
/**
|
|
1996
|
-
* @generated from field: optional int32 slippage_tolerance = 12;
|
|
1997
|
-
*/
|
|
1998
|
-
slippageTolerance?: number;
|
|
1999
|
-
/**
|
|
2000
|
-
* @generated from field: optional int32 deadline = 13;
|
|
2001
|
-
*/
|
|
2002
|
-
deadline?: number;
|
|
2003
|
-
constructor(data?: PartialMessage<V4DecreaseLPPosition>);
|
|
2004
|
-
static readonly runtime: typeof proto3;
|
|
2005
|
-
static readonly typeName = "trading.v1.V4DecreaseLPPosition";
|
|
2006
|
-
static readonly fields: FieldList;
|
|
2007
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V4DecreaseLPPosition;
|
|
2008
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V4DecreaseLPPosition;
|
|
2009
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V4DecreaseLPPosition;
|
|
2010
|
-
static equals(a: V4DecreaseLPPosition | PlainMessage<V4DecreaseLPPosition> | undefined, b: V4DecreaseLPPosition | PlainMessage<V4DecreaseLPPosition> | undefined): boolean;
|
|
2011
|
-
}
|
|
2012
|
-
/**
|
|
2013
|
-
* @generated from message trading.v1.IncreaseLPPositionRequest
|
|
2014
|
-
*/
|
|
2015
|
-
export declare class IncreaseLPPositionRequest extends Message<IncreaseLPPositionRequest> {
|
|
2016
|
-
/**
|
|
2017
|
-
* @generated from oneof trading.v1.IncreaseLPPositionRequest.increaseLpPosition
|
|
2018
|
-
*/
|
|
2019
|
-
increaseLpPosition: {
|
|
2020
|
-
/**
|
|
2021
|
-
* @generated from field: trading.v1.V2IncreaseLPPosition v2_increase_lp_position = 1;
|
|
2022
|
-
*/
|
|
2023
|
-
value: V2IncreaseLPPosition;
|
|
2024
|
-
case: "v2IncreaseLpPosition";
|
|
2025
|
-
} | {
|
|
2026
|
-
/**
|
|
2027
|
-
* @generated from field: trading.v1.V3IncreaseLPPosition v3_increase_lp_position = 2;
|
|
2028
|
-
*/
|
|
2029
|
-
value: V3IncreaseLPPosition;
|
|
2030
|
-
case: "v3IncreaseLpPosition";
|
|
2031
|
-
} | {
|
|
2032
|
-
/**
|
|
2033
|
-
* @generated from field: trading.v1.V4IncreaseLPPosition v4_increase_lp_position = 3;
|
|
2034
|
-
*/
|
|
2035
|
-
value: V4IncreaseLPPosition;
|
|
2036
|
-
case: "v4IncreaseLpPosition";
|
|
2037
|
-
} | {
|
|
2038
|
-
case: undefined;
|
|
2039
|
-
value?: undefined;
|
|
2040
|
-
};
|
|
2041
|
-
constructor(data?: PartialMessage<IncreaseLPPositionRequest>);
|
|
2042
|
-
static readonly runtime: typeof proto3;
|
|
2043
|
-
static readonly typeName = "trading.v1.IncreaseLPPositionRequest";
|
|
2044
|
-
static readonly fields: FieldList;
|
|
2045
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IncreaseLPPositionRequest;
|
|
2046
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IncreaseLPPositionRequest;
|
|
2047
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IncreaseLPPositionRequest;
|
|
2048
|
-
static equals(a: IncreaseLPPositionRequest | PlainMessage<IncreaseLPPositionRequest> | undefined, b: IncreaseLPPositionRequest | PlainMessage<IncreaseLPPositionRequest> | undefined): boolean;
|
|
2049
|
-
}
|
|
2050
|
-
/**
|
|
2051
|
-
* @generated from message trading.v1.IncreaseLPPositionResponse
|
|
2052
|
-
*/
|
|
2053
|
-
export declare class IncreaseLPPositionResponse extends Message<IncreaseLPPositionResponse> {
|
|
2054
|
-
/**
|
|
2055
|
-
* @generated from field: string request_id = 1;
|
|
2056
|
-
*/
|
|
2057
|
-
requestId: string;
|
|
2058
|
-
/**
|
|
2059
|
-
* @generated from field: optional trading.v1.TransactionRequest increase = 2;
|
|
2060
|
-
*/
|
|
2061
|
-
increase?: TransactionRequest;
|
|
2062
|
-
/**
|
|
2063
|
-
* @generated from field: optional string dependent_amount = 3;
|
|
2064
|
-
*/
|
|
2065
|
-
dependentAmount?: string;
|
|
2066
|
-
/**
|
|
2067
|
-
* @generated from field: optional string pool_liquidity = 4;
|
|
2068
|
-
*/
|
|
2069
|
-
poolLiquidity?: string;
|
|
2070
|
-
/**
|
|
2071
|
-
* @generated from field: optional sint32 current_tick = 5;
|
|
2072
|
-
*/
|
|
2073
|
-
currentTick?: number;
|
|
2074
|
-
/**
|
|
2075
|
-
* @generated from field: optional string sqrtRatioX96 = 6;
|
|
2076
|
-
*/
|
|
2077
|
-
sqrtRatioX96?: string;
|
|
2078
|
-
constructor(data?: PartialMessage<IncreaseLPPositionResponse>);
|
|
2079
|
-
static readonly runtime: typeof proto3;
|
|
2080
|
-
static readonly typeName = "trading.v1.IncreaseLPPositionResponse";
|
|
2081
|
-
static readonly fields: FieldList;
|
|
2082
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IncreaseLPPositionResponse;
|
|
2083
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IncreaseLPPositionResponse;
|
|
2084
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IncreaseLPPositionResponse;
|
|
2085
|
-
static equals(a: IncreaseLPPositionResponse | PlainMessage<IncreaseLPPositionResponse> | undefined, b: IncreaseLPPositionResponse | PlainMessage<IncreaseLPPositionResponse> | undefined): boolean;
|
|
2086
|
-
}
|
|
2087
|
-
/**
|
|
2088
|
-
* @generated from message trading.v1.V2IncreaseLPPosition
|
|
2089
|
-
*/
|
|
2090
|
-
export declare class V2IncreaseLPPosition extends Message<V2IncreaseLPPosition> {
|
|
2091
|
-
/**
|
|
2092
|
-
* @generated from field: trading.v1.Protocols protocols = 1;
|
|
2093
|
-
*/
|
|
2094
|
-
protocols: Protocols;
|
|
2095
|
-
/**
|
|
2096
|
-
* @generated from field: trading.v1.V2Position position = 2;
|
|
2097
|
-
*/
|
|
2098
|
-
position?: V2Position;
|
|
2099
|
-
/**
|
|
2100
|
-
* @generated from field: string wallet_address = 3;
|
|
2101
|
-
*/
|
|
2102
|
-
walletAddress: string;
|
|
2103
|
-
/**
|
|
2104
|
-
* @generated from field: trading.v1.ChainId chain_id = 4;
|
|
2105
|
-
*/
|
|
2106
|
-
chainId: ChainId;
|
|
2107
|
-
/**
|
|
2108
|
-
* @generated from field: optional string amount0 = 5;
|
|
2109
|
-
*/
|
|
2110
|
-
amount0?: string;
|
|
2111
|
-
/**
|
|
2112
|
-
* @generated from field: optional string amount1 = 6;
|
|
2113
|
-
*/
|
|
2114
|
-
amount1?: string;
|
|
2115
|
-
/**
|
|
2116
|
-
* @generated from field: optional string independentAmount = 7;
|
|
2117
|
-
*/
|
|
2118
|
-
independentAmount?: string;
|
|
2119
|
-
/**
|
|
2120
|
-
* @generated from field: optional trading.v1.IndependentToken independent_token = 8;
|
|
2121
|
-
*/
|
|
2122
|
-
independentToken?: IndependentToken;
|
|
2123
|
-
/**
|
|
2124
|
-
* @generated from field: optional string default_dependent_amount = 9;
|
|
2125
|
-
*/
|
|
2126
|
-
defaultDependentAmount?: string;
|
|
2127
|
-
/**
|
|
2128
|
-
* @generated from field: optional int32 slippage_tolerance = 10;
|
|
2129
|
-
*/
|
|
2130
|
-
slippageTolerance?: number;
|
|
2131
|
-
/**
|
|
2132
|
-
* @generated from field: optional int32 deadline = 11;
|
|
2133
|
-
*/
|
|
2134
|
-
deadline?: number;
|
|
2135
|
-
/**
|
|
2136
|
-
* @generated from field: bool simulate_transaction = 12;
|
|
2137
|
-
*/
|
|
2138
|
-
simulateTransaction: boolean;
|
|
2139
|
-
constructor(data?: PartialMessage<V2IncreaseLPPosition>);
|
|
2140
|
-
static readonly runtime: typeof proto3;
|
|
2141
|
-
static readonly typeName = "trading.v1.V2IncreaseLPPosition";
|
|
2142
|
-
static readonly fields: FieldList;
|
|
2143
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V2IncreaseLPPosition;
|
|
2144
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V2IncreaseLPPosition;
|
|
2145
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V2IncreaseLPPosition;
|
|
2146
|
-
static equals(a: V2IncreaseLPPosition | PlainMessage<V2IncreaseLPPosition> | undefined, b: V2IncreaseLPPosition | PlainMessage<V2IncreaseLPPosition> | undefined): boolean;
|
|
2147
|
-
}
|
|
2148
|
-
/**
|
|
2149
|
-
* @generated from message trading.v1.V3IncreaseLPPosition
|
|
2150
|
-
*/
|
|
2151
|
-
export declare class V3IncreaseLPPosition extends Message<V3IncreaseLPPosition> {
|
|
2152
|
-
/**
|
|
2153
|
-
* @generated from field: trading.v1.Protocols protocols = 1;
|
|
2154
|
-
*/
|
|
2155
|
-
protocols: Protocols;
|
|
2156
|
-
/**
|
|
2157
|
-
* @generated from field: int32 tokenId = 2;
|
|
2158
|
-
*/
|
|
2159
|
-
tokenId: number;
|
|
2160
|
-
/**
|
|
2161
|
-
* @generated from field: trading.v1.V3Position position = 3;
|
|
2162
|
-
*/
|
|
2163
|
-
position?: V3Position;
|
|
2164
|
-
/**
|
|
2165
|
-
* @generated from field: string wallet_address = 4;
|
|
2166
|
-
*/
|
|
2167
|
-
walletAddress: string;
|
|
2168
|
-
/**
|
|
2169
|
-
* @generated from field: trading.v1.ChainId chain_id = 5;
|
|
2170
|
-
*/
|
|
2171
|
-
chainId: ChainId;
|
|
2172
|
-
/**
|
|
2173
|
-
* @generated from field: optional string amount0 = 6;
|
|
2174
|
-
*/
|
|
2175
|
-
amount0?: string;
|
|
2176
|
-
/**
|
|
2177
|
-
* @generated from field: optional string amount1 = 7;
|
|
2178
|
-
*/
|
|
2179
|
-
amount1?: string;
|
|
2180
|
-
/**
|
|
2181
|
-
* @generated from field: optional string independentAmount = 8;
|
|
2182
|
-
*/
|
|
2183
|
-
independentAmount?: string;
|
|
2184
|
-
/**
|
|
2185
|
-
* @generated from field: optional trading.v1.IndependentToken independent_token = 9;
|
|
2186
|
-
*/
|
|
2187
|
-
independentToken?: IndependentToken;
|
|
2188
|
-
/**
|
|
2189
|
-
* @generated from field: optional string pool_liquidity = 10;
|
|
2190
|
-
*/
|
|
2191
|
-
poolLiquidity?: string;
|
|
2192
|
-
/**
|
|
2193
|
-
* @generated from field: optional sint32 current_tick = 11;
|
|
2194
|
-
*/
|
|
2195
|
-
currentTick?: number;
|
|
2196
|
-
/**
|
|
2197
|
-
* @generated from field: optional string sqrtRatioX96 = 12;
|
|
2198
|
-
*/
|
|
2199
|
-
sqrtRatioX96?: string;
|
|
2200
|
-
/**
|
|
2201
|
-
* @generated from field: optional int32 slippage_tolerance = 14;
|
|
2202
|
-
*/
|
|
2203
|
-
slippageTolerance?: number;
|
|
2204
|
-
/**
|
|
2205
|
-
* @generated from field: optional int32 deadline = 15;
|
|
2206
|
-
*/
|
|
2207
|
-
deadline?: number;
|
|
2208
|
-
/**
|
|
2209
|
-
* @generated from field: bool simulate_transaction = 16;
|
|
2210
|
-
*/
|
|
2211
|
-
simulateTransaction: boolean;
|
|
2212
|
-
constructor(data?: PartialMessage<V3IncreaseLPPosition>);
|
|
2213
|
-
static readonly runtime: typeof proto3;
|
|
2214
|
-
static readonly typeName = "trading.v1.V3IncreaseLPPosition";
|
|
2215
|
-
static readonly fields: FieldList;
|
|
2216
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V3IncreaseLPPosition;
|
|
2217
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V3IncreaseLPPosition;
|
|
2218
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V3IncreaseLPPosition;
|
|
2219
|
-
static equals(a: V3IncreaseLPPosition | PlainMessage<V3IncreaseLPPosition> | undefined, b: V3IncreaseLPPosition | PlainMessage<V3IncreaseLPPosition> | undefined): boolean;
|
|
2220
|
-
}
|
|
2221
|
-
/**
|
|
2222
|
-
* @generated from message trading.v1.V4IncreaseLPPosition
|
|
2223
|
-
*/
|
|
2224
|
-
export declare class V4IncreaseLPPosition extends Message<V4IncreaseLPPosition> {
|
|
2225
|
-
/**
|
|
2226
|
-
* @generated from field: trading.v1.Protocols protocols = 1;
|
|
2227
|
-
*/
|
|
2228
|
-
protocols: Protocols;
|
|
2229
|
-
/**
|
|
2230
|
-
* @generated from field: int32 tokenId = 2;
|
|
2231
|
-
*/
|
|
2232
|
-
tokenId: number;
|
|
2233
|
-
/**
|
|
2234
|
-
* @generated from field: trading.v1.V4Position position = 3;
|
|
2235
|
-
*/
|
|
2236
|
-
position?: V4Position;
|
|
2237
|
-
/**
|
|
2238
|
-
* @generated from field: string wallet_address = 4;
|
|
2239
|
-
*/
|
|
2240
|
-
walletAddress: string;
|
|
2241
|
-
/**
|
|
2242
|
-
* @generated from field: trading.v1.ChainId chain_id = 5;
|
|
2243
|
-
*/
|
|
2244
|
-
chainId: ChainId;
|
|
2245
|
-
/**
|
|
2246
|
-
* @generated from field: optional string amount0 = 6;
|
|
2247
|
-
*/
|
|
2248
|
-
amount0?: string;
|
|
2249
|
-
/**
|
|
2250
|
-
* @generated from field: optional string amount1 = 7;
|
|
2251
|
-
*/
|
|
2252
|
-
amount1?: string;
|
|
2253
|
-
/**
|
|
2254
|
-
* @generated from field: optional string independentAmount = 8;
|
|
2255
|
-
*/
|
|
2256
|
-
independentAmount?: string;
|
|
2257
|
-
/**
|
|
2258
|
-
* @generated from field: optional trading.v1.IndependentToken independent_token = 9;
|
|
2259
|
-
*/
|
|
2260
|
-
independentToken?: IndependentToken;
|
|
2261
|
-
/**
|
|
2262
|
-
* @generated from field: optional string pool_liquidity = 10;
|
|
2263
|
-
*/
|
|
2264
|
-
poolLiquidity?: string;
|
|
2265
|
-
/**
|
|
2266
|
-
* @generated from field: optional sint32 current_tick = 11;
|
|
2267
|
-
*/
|
|
2268
|
-
currentTick?: number;
|
|
2269
|
-
/**
|
|
2270
|
-
* @generated from field: optional string sqrtRatioX96 = 12;
|
|
2271
|
-
*/
|
|
2272
|
-
sqrtRatioX96?: string;
|
|
2273
|
-
/**
|
|
2274
|
-
* @generated from field: optional int32 slippage_tolerance = 14;
|
|
2275
|
-
*/
|
|
2276
|
-
slippageTolerance?: number;
|
|
2277
|
-
/**
|
|
2278
|
-
* @generated from field: optional int32 deadline = 15;
|
|
2279
|
-
*/
|
|
2280
|
-
deadline?: number;
|
|
2281
|
-
/**
|
|
2282
|
-
* @generated from field: bool simulate_transaction = 16;
|
|
2283
|
-
*/
|
|
2284
|
-
simulateTransaction: boolean;
|
|
2285
|
-
/**
|
|
2286
|
-
* @generated from field: optional string signature = 17;
|
|
2287
|
-
*/
|
|
2288
|
-
signature?: string;
|
|
2289
|
-
/**
|
|
2290
|
-
* @generated from field: optional trading.v1.PermitBatchData batchPermitData = 18;
|
|
2291
|
-
*/
|
|
2292
|
-
batchPermitData?: PermitBatchData;
|
|
2293
|
-
constructor(data?: PartialMessage<V4IncreaseLPPosition>);
|
|
2294
|
-
static readonly runtime: typeof proto3;
|
|
2295
|
-
static readonly typeName = "trading.v1.V4IncreaseLPPosition";
|
|
2296
|
-
static readonly fields: FieldList;
|
|
2297
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V4IncreaseLPPosition;
|
|
2298
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V4IncreaseLPPosition;
|
|
2299
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V4IncreaseLPPosition;
|
|
2300
|
-
static equals(a: V4IncreaseLPPosition | PlainMessage<V4IncreaseLPPosition> | undefined, b: V4IncreaseLPPosition | PlainMessage<V4IncreaseLPPosition> | undefined): boolean;
|
|
2301
|
-
}
|
|
2302
|
-
/**
|
|
2303
|
-
* @generated from message trading.v1.CreateLPPositionRequest
|
|
2304
|
-
*/
|
|
2305
|
-
export declare class CreateLPPositionRequest extends Message<CreateLPPositionRequest> {
|
|
2306
|
-
/**
|
|
2307
|
-
* @generated from oneof trading.v1.CreateLPPositionRequest.createLpPosition
|
|
2308
|
-
*/
|
|
2309
|
-
createLpPosition: {
|
|
2310
|
-
/**
|
|
2311
|
-
* @generated from field: trading.v1.V2CreateLPPosition v2_create_lp_position = 1;
|
|
2312
|
-
*/
|
|
2313
|
-
value: V2CreateLPPosition;
|
|
2314
|
-
case: "v2CreateLpPosition";
|
|
2315
|
-
} | {
|
|
2316
|
-
/**
|
|
2317
|
-
* @generated from field: trading.v1.V3CreateLPPosition v3_create_lp_position = 2;
|
|
2318
|
-
*/
|
|
2319
|
-
value: V3CreateLPPosition;
|
|
2320
|
-
case: "v3CreateLpPosition";
|
|
2321
|
-
} | {
|
|
2322
|
-
/**
|
|
2323
|
-
* @generated from field: trading.v1.V4CreateLPPosition v4_create_lp_position = 3;
|
|
2324
|
-
*/
|
|
2325
|
-
value: V4CreateLPPosition;
|
|
2326
|
-
case: "v4CreateLpPosition";
|
|
2327
|
-
} | {
|
|
2328
|
-
case: undefined;
|
|
2329
|
-
value?: undefined;
|
|
2330
|
-
};
|
|
2331
|
-
constructor(data?: PartialMessage<CreateLPPositionRequest>);
|
|
2332
|
-
static readonly runtime: typeof proto3;
|
|
2333
|
-
static readonly typeName = "trading.v1.CreateLPPositionRequest";
|
|
2334
|
-
static readonly fields: FieldList;
|
|
2335
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateLPPositionRequest;
|
|
2336
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateLPPositionRequest;
|
|
2337
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateLPPositionRequest;
|
|
2338
|
-
static equals(a: CreateLPPositionRequest | PlainMessage<CreateLPPositionRequest> | undefined, b: CreateLPPositionRequest | PlainMessage<CreateLPPositionRequest> | undefined): boolean;
|
|
2339
|
-
}
|
|
2340
|
-
/**
|
|
2341
|
-
* @generated from message trading.v1.CreateLPPositionResponse
|
|
2342
|
-
*/
|
|
2343
|
-
export declare class CreateLPPositionResponse extends Message<CreateLPPositionResponse> {
|
|
2344
|
-
/**
|
|
2345
|
-
* @generated from field: string request_id = 1;
|
|
2346
|
-
*/
|
|
2347
|
-
requestId: string;
|
|
2348
|
-
/**
|
|
2349
|
-
* @generated from field: optional trading.v1.TransactionRequest create = 2;
|
|
2350
|
-
*/
|
|
2351
|
-
create?: TransactionRequest;
|
|
2352
|
-
/**
|
|
2353
|
-
* @generated from field: optional string dependent_amount = 3;
|
|
2354
|
-
*/
|
|
2355
|
-
dependentAmount?: string;
|
|
2356
|
-
/**
|
|
2357
|
-
* @generated from field: optional string pool_liquidity = 4;
|
|
2358
|
-
*/
|
|
2359
|
-
poolLiquidity?: string;
|
|
2360
|
-
/**
|
|
2361
|
-
* @generated from field: optional sint32 current_tick = 5;
|
|
2362
|
-
*/
|
|
2363
|
-
currentTick?: number;
|
|
2364
|
-
/**
|
|
2365
|
-
* @generated from field: optional string sqrtRatioX96 = 6;
|
|
2366
|
-
*/
|
|
2367
|
-
sqrtRatioX96?: string;
|
|
2368
|
-
constructor(data?: PartialMessage<CreateLPPositionResponse>);
|
|
2369
|
-
static readonly runtime: typeof proto3;
|
|
2370
|
-
static readonly typeName = "trading.v1.CreateLPPositionResponse";
|
|
2371
|
-
static readonly fields: FieldList;
|
|
2372
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateLPPositionResponse;
|
|
2373
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateLPPositionResponse;
|
|
2374
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateLPPositionResponse;
|
|
2375
|
-
static equals(a: CreateLPPositionResponse | PlainMessage<CreateLPPositionResponse> | undefined, b: CreateLPPositionResponse | PlainMessage<CreateLPPositionResponse> | undefined): boolean;
|
|
2376
|
-
}
|
|
2377
|
-
/**
|
|
2378
|
-
* @generated from message trading.v1.V2CreateLPPosition
|
|
2379
|
-
*/
|
|
2380
|
-
export declare class V2CreateLPPosition extends Message<V2CreateLPPosition> {
|
|
2381
|
-
/**
|
|
2382
|
-
* @generated from field: trading.v1.Protocols protocols = 1;
|
|
2383
|
-
*/
|
|
2384
|
-
protocols: Protocols;
|
|
2385
|
-
/**
|
|
2386
|
-
* @generated from field: trading.v1.V2Position position = 2;
|
|
2387
|
-
*/
|
|
2388
|
-
position?: V2Position;
|
|
2389
|
-
/**
|
|
2390
|
-
* @generated from field: string wallet_address = 3;
|
|
2391
|
-
*/
|
|
2392
|
-
walletAddress: string;
|
|
2393
|
-
/**
|
|
2394
|
-
* @generated from field: trading.v1.ChainId chain_id = 4;
|
|
2395
|
-
*/
|
|
2396
|
-
chainId: ChainId;
|
|
2397
|
-
/**
|
|
2398
|
-
* @generated from field: optional string amount0 = 5;
|
|
2399
|
-
*/
|
|
2400
|
-
amount0?: string;
|
|
2401
|
-
/**
|
|
2402
|
-
* @generated from field: optional string amount1 = 6;
|
|
2403
|
-
*/
|
|
2404
|
-
amount1?: string;
|
|
2405
|
-
/**
|
|
2406
|
-
* @generated from field: optional string independentAmount = 7;
|
|
2407
|
-
*/
|
|
2408
|
-
independentAmount?: string;
|
|
2409
|
-
/**
|
|
2410
|
-
* @generated from field: optional trading.v1.IndependentToken independent_token = 8;
|
|
2411
|
-
*/
|
|
2412
|
-
independentToken?: IndependentToken;
|
|
2413
|
-
/**
|
|
2414
|
-
* @generated from field: optional string default_dependent_amount = 10;
|
|
2415
|
-
*/
|
|
2416
|
-
defaultDependentAmount?: string;
|
|
2417
|
-
/**
|
|
2418
|
-
* @generated from field: optional int32 slippage_tolerance = 15;
|
|
2419
|
-
*/
|
|
2420
|
-
slippageTolerance?: number;
|
|
2421
|
-
/**
|
|
2422
|
-
* @generated from field: optional int32 deadline = 16;
|
|
2423
|
-
*/
|
|
2424
|
-
deadline?: number;
|
|
2425
|
-
/**
|
|
2426
|
-
* @generated from field: bool simulate_transaction = 19;
|
|
2427
|
-
*/
|
|
2428
|
-
simulateTransaction: boolean;
|
|
2429
|
-
constructor(data?: PartialMessage<V2CreateLPPosition>);
|
|
2430
|
-
static readonly runtime: typeof proto3;
|
|
2431
|
-
static readonly typeName = "trading.v1.V2CreateLPPosition";
|
|
2432
|
-
static readonly fields: FieldList;
|
|
2433
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V2CreateLPPosition;
|
|
2434
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V2CreateLPPosition;
|
|
2435
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V2CreateLPPosition;
|
|
2436
|
-
static equals(a: V2CreateLPPosition | PlainMessage<V2CreateLPPosition> | undefined, b: V2CreateLPPosition | PlainMessage<V2CreateLPPosition> | undefined): boolean;
|
|
2437
|
-
}
|
|
2438
|
-
/**
|
|
2439
|
-
* @generated from message trading.v1.V3CreateLPPosition
|
|
2440
|
-
*/
|
|
2441
|
-
export declare class V3CreateLPPosition extends Message<V3CreateLPPosition> {
|
|
2442
|
-
/**
|
|
2443
|
-
* @generated from field: trading.v1.Protocols protocols = 1;
|
|
2444
|
-
*/
|
|
2445
|
-
protocols: Protocols;
|
|
2446
|
-
/**
|
|
2447
|
-
* @generated from field: trading.v1.V3Position position = 2;
|
|
2448
|
-
*/
|
|
2449
|
-
position?: V3Position;
|
|
2450
|
-
/**
|
|
2451
|
-
* @generated from field: string wallet_address = 3;
|
|
2452
|
-
*/
|
|
2453
|
-
walletAddress: string;
|
|
2454
|
-
/**
|
|
2455
|
-
* @generated from field: trading.v1.ChainId chain_id = 4;
|
|
2456
|
-
*/
|
|
2457
|
-
chainId: ChainId;
|
|
2458
|
-
/**
|
|
2459
|
-
* @generated from field: optional string initial_price = 11;
|
|
2460
|
-
*/
|
|
2461
|
-
initialPrice?: string;
|
|
2462
|
-
/**
|
|
2463
|
-
* @generated from field: optional string amount0 = 5;
|
|
2464
|
-
*/
|
|
2465
|
-
amount0?: string;
|
|
2466
|
-
/**
|
|
2467
|
-
* @generated from field: optional string amount1 = 6;
|
|
2468
|
-
*/
|
|
2469
|
-
amount1?: string;
|
|
2470
|
-
/**
|
|
2471
|
-
* @generated from field: optional string independentAmount = 7;
|
|
2472
|
-
*/
|
|
2473
|
-
independentAmount?: string;
|
|
2474
|
-
/**
|
|
2475
|
-
* @generated from field: optional trading.v1.IndependentToken independent_token = 8;
|
|
2476
|
-
*/
|
|
2477
|
-
independentToken?: IndependentToken;
|
|
2478
|
-
/**
|
|
2479
|
-
* @generated from field: optional string initial_dependent_amount = 9;
|
|
2480
|
-
*/
|
|
2481
|
-
initialDependentAmount?: string;
|
|
2482
|
-
/**
|
|
2483
|
-
* @generated from field: optional string pool_liquidity = 12;
|
|
2484
|
-
*/
|
|
2485
|
-
poolLiquidity?: string;
|
|
2486
|
-
/**
|
|
2487
|
-
* @generated from field: optional sint32 current_tick = 13;
|
|
2488
|
-
*/
|
|
2489
|
-
currentTick?: number;
|
|
2490
|
-
/**
|
|
2491
|
-
* @generated from field: optional string sqrtRatioX96 = 14;
|
|
2492
|
-
*/
|
|
2493
|
-
sqrtRatioX96?: string;
|
|
2494
|
-
/**
|
|
2495
|
-
* @generated from field: optional int32 slippage_tolerance = 15;
|
|
2496
|
-
*/
|
|
2497
|
-
slippageTolerance?: number;
|
|
2498
|
-
/**
|
|
2499
|
-
* @generated from field: optional int32 deadline = 16;
|
|
2500
|
-
*/
|
|
2501
|
-
deadline?: number;
|
|
2502
|
-
/**
|
|
2503
|
-
* @generated from field: bool simulate_transaction = 19;
|
|
2504
|
-
*/
|
|
2505
|
-
simulateTransaction: boolean;
|
|
2506
|
-
/**
|
|
2507
|
-
* @generated from field: optional string default_dependent_amount = 10;
|
|
2508
|
-
*/
|
|
2509
|
-
defaultDependentAmount?: string;
|
|
2510
|
-
/**
|
|
2511
|
-
* @generated from field: optional string signature = 17;
|
|
2512
|
-
*/
|
|
2513
|
-
signature?: string;
|
|
2514
|
-
/**
|
|
2515
|
-
* @generated from field: optional trading.v1.PermitBatchData batchPermitData = 18;
|
|
2516
|
-
*/
|
|
2517
|
-
batchPermitData?: PermitBatchData;
|
|
2518
|
-
constructor(data?: PartialMessage<V3CreateLPPosition>);
|
|
2519
|
-
static readonly runtime: typeof proto3;
|
|
2520
|
-
static readonly typeName = "trading.v1.V3CreateLPPosition";
|
|
2521
|
-
static readonly fields: FieldList;
|
|
2522
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V3CreateLPPosition;
|
|
2523
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V3CreateLPPosition;
|
|
2524
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V3CreateLPPosition;
|
|
2525
|
-
static equals(a: V3CreateLPPosition | PlainMessage<V3CreateLPPosition> | undefined, b: V3CreateLPPosition | PlainMessage<V3CreateLPPosition> | undefined): boolean;
|
|
2526
|
-
}
|
|
2527
|
-
/**
|
|
2528
|
-
* @generated from message trading.v1.V4CreateLPPosition
|
|
2529
|
-
*/
|
|
2530
|
-
export declare class V4CreateLPPosition extends Message<V4CreateLPPosition> {
|
|
2531
|
-
/**
|
|
2532
|
-
* @generated from field: trading.v1.Protocols protocols = 1;
|
|
2533
|
-
*/
|
|
2534
|
-
protocols: Protocols;
|
|
2535
|
-
/**
|
|
2536
|
-
* @generated from field: trading.v1.V4Position position = 2;
|
|
2537
|
-
*/
|
|
2538
|
-
position?: V4Position;
|
|
2539
|
-
/**
|
|
2540
|
-
* @generated from field: string wallet_address = 3;
|
|
2541
|
-
*/
|
|
2542
|
-
walletAddress: string;
|
|
2543
|
-
/**
|
|
2544
|
-
* @generated from field: trading.v1.ChainId chain_id = 4;
|
|
2545
|
-
*/
|
|
2546
|
-
chainId: ChainId;
|
|
2547
|
-
/**
|
|
2548
|
-
* @generated from field: optional string initial_price = 11;
|
|
2549
|
-
*/
|
|
2550
|
-
initialPrice?: string;
|
|
2551
|
-
/**
|
|
2552
|
-
* @generated from field: optional string amount0 = 5;
|
|
2553
|
-
*/
|
|
2554
|
-
amount0?: string;
|
|
2555
|
-
/**
|
|
2556
|
-
* @generated from field: optional string amount1 = 6;
|
|
2557
|
-
*/
|
|
2558
|
-
amount1?: string;
|
|
2559
|
-
/**
|
|
2560
|
-
* @generated from field: optional string independentAmount = 7;
|
|
2561
|
-
*/
|
|
2562
|
-
independentAmount?: string;
|
|
2563
|
-
/**
|
|
2564
|
-
* @generated from field: optional trading.v1.IndependentToken independent_token = 8;
|
|
2565
|
-
*/
|
|
2566
|
-
independentToken?: IndependentToken;
|
|
2567
|
-
/**
|
|
2568
|
-
* @generated from field: optional string initial_dependent_amount = 9;
|
|
2569
|
-
*/
|
|
2570
|
-
initialDependentAmount?: string;
|
|
2571
|
-
/**
|
|
2572
|
-
* @generated from field: optional string pool_liquidity = 12;
|
|
2573
|
-
*/
|
|
2574
|
-
poolLiquidity?: string;
|
|
2575
|
-
/**
|
|
2576
|
-
* @generated from field: optional sint32 current_tick = 13;
|
|
2577
|
-
*/
|
|
2578
|
-
currentTick?: number;
|
|
2579
|
-
/**
|
|
2580
|
-
* @generated from field: optional string sqrtRatioX96 = 14;
|
|
2581
|
-
*/
|
|
2582
|
-
sqrtRatioX96?: string;
|
|
2583
|
-
/**
|
|
2584
|
-
* @generated from field: optional string signature = 17;
|
|
699
|
+
* @generated from field: repeated trading.v1.GasStrategy gas_strategies = 7;
|
|
2585
700
|
*/
|
|
2586
|
-
|
|
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> {
|
|
2587
715
|
/**
|
|
2588
|
-
* @generated from field:
|
|
716
|
+
* @generated from field: string request_id = 1;
|
|
2589
717
|
*/
|
|
2590
|
-
|
|
718
|
+
requestId: string;
|
|
2591
719
|
/**
|
|
2592
|
-
* @generated from field: optional
|
|
720
|
+
* @generated from field: optional trading.v1.TransactionRequest send = 2;
|
|
2593
721
|
*/
|
|
2594
|
-
|
|
722
|
+
send?: TransactionRequest;
|
|
2595
723
|
/**
|
|
2596
|
-
* @generated from field: optional
|
|
724
|
+
* @generated from field: optional string gas_fee = 3;
|
|
2597
725
|
*/
|
|
2598
|
-
|
|
726
|
+
gasFee?: string;
|
|
2599
727
|
/**
|
|
2600
|
-
* @generated from field: optional
|
|
728
|
+
* @generated from field: optional string gas_fee_usd = 4;
|
|
2601
729
|
*/
|
|
2602
|
-
|
|
730
|
+
gasFeeUsd?: string;
|
|
2603
731
|
/**
|
|
2604
|
-
* @generated from field:
|
|
732
|
+
* @generated from field: repeated trading.v1.GasEstimate gas_estimates = 5;
|
|
2605
733
|
*/
|
|
2606
|
-
|
|
2607
|
-
constructor(data?: PartialMessage<
|
|
734
|
+
gasEstimates: GasEstimate[];
|
|
735
|
+
constructor(data?: PartialMessage<SendResponse>);
|
|
2608
736
|
static readonly runtime: typeof proto3;
|
|
2609
|
-
static readonly typeName = "trading.v1.
|
|
737
|
+
static readonly typeName = "trading.v1.SendResponse";
|
|
2610
738
|
static readonly fields: FieldList;
|
|
2611
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
2612
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
2613
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
2614
|
-
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;
|
|
2615
743
|
}
|
|
2616
744
|
/**
|
|
2617
745
|
* @generated from message trading.v1.V4Position
|
|
@@ -2796,62 +924,6 @@ export declare class TypedDataDomain extends Message<TypedDataDomain> {
|
|
|
2796
924
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TypedDataDomain;
|
|
2797
925
|
static equals(a: TypedDataDomain | PlainMessage<TypedDataDomain> | undefined, b: TypedDataDomain | PlainMessage<TypedDataDomain> | undefined): boolean;
|
|
2798
926
|
}
|
|
2799
|
-
/**
|
|
2800
|
-
* @generated from message trading.v1.NFTPermitValues
|
|
2801
|
-
*/
|
|
2802
|
-
export declare class NFTPermitValues extends Message<NFTPermitValues> {
|
|
2803
|
-
/**
|
|
2804
|
-
* @generated from field: string spender = 1;
|
|
2805
|
-
*/
|
|
2806
|
-
spender: string;
|
|
2807
|
-
/**
|
|
2808
|
-
* @generated from field: int32 tokenId = 2;
|
|
2809
|
-
*/
|
|
2810
|
-
tokenId: number;
|
|
2811
|
-
/**
|
|
2812
|
-
* @generated from field: string deadline = 3;
|
|
2813
|
-
*/
|
|
2814
|
-
deadline: string;
|
|
2815
|
-
/**
|
|
2816
|
-
* @generated from field: string nonce = 4;
|
|
2817
|
-
*/
|
|
2818
|
-
nonce: string;
|
|
2819
|
-
constructor(data?: PartialMessage<NFTPermitValues>);
|
|
2820
|
-
static readonly runtime: typeof proto3;
|
|
2821
|
-
static readonly typeName = "trading.v1.NFTPermitValues";
|
|
2822
|
-
static readonly fields: FieldList;
|
|
2823
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NFTPermitValues;
|
|
2824
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NFTPermitValues;
|
|
2825
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NFTPermitValues;
|
|
2826
|
-
static equals(a: NFTPermitValues | PlainMessage<NFTPermitValues> | undefined, b: NFTPermitValues | PlainMessage<NFTPermitValues> | undefined): boolean;
|
|
2827
|
-
}
|
|
2828
|
-
/**
|
|
2829
|
-
* @generated from message trading.v1.NFTPermitData
|
|
2830
|
-
*/
|
|
2831
|
-
export declare class NFTPermitData extends Message<NFTPermitData> {
|
|
2832
|
-
/**
|
|
2833
|
-
* @generated from field: trading.v1.TypedDataDomain domain = 1;
|
|
2834
|
-
*/
|
|
2835
|
-
domain?: TypedDataDomain;
|
|
2836
|
-
/**
|
|
2837
|
-
* @generated from field: map<string, trading.v1.TypeFieldArray> types = 2;
|
|
2838
|
-
*/
|
|
2839
|
-
types: {
|
|
2840
|
-
[key: string]: TypeFieldArray;
|
|
2841
|
-
};
|
|
2842
|
-
/**
|
|
2843
|
-
* @generated from field: trading.v1.NFTPermitValues values = 3;
|
|
2844
|
-
*/
|
|
2845
|
-
values?: NFTPermitValues;
|
|
2846
|
-
constructor(data?: PartialMessage<NFTPermitData>);
|
|
2847
|
-
static readonly runtime: typeof proto3;
|
|
2848
|
-
static readonly typeName = "trading.v1.NFTPermitData";
|
|
2849
|
-
static readonly fields: FieldList;
|
|
2850
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NFTPermitData;
|
|
2851
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NFTPermitData;
|
|
2852
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NFTPermitData;
|
|
2853
|
-
static equals(a: NFTPermitData | PlainMessage<NFTPermitData> | undefined, b: NFTPermitData | PlainMessage<NFTPermitData> | undefined): boolean;
|
|
2854
|
-
}
|
|
2855
927
|
/**
|
|
2856
928
|
* @generated from message trading.v1.PermitBatchData
|
|
2857
929
|
*/
|
|
@@ -2916,6 +988,18 @@ export declare class SwappableTokensRequest extends Message<SwappableTokensReque
|
|
|
2916
988
|
* @generated from field: trading.v1.ChainId token_in_chain_id = 2;
|
|
2917
989
|
*/
|
|
2918
990
|
tokenInChainId: ChainId;
|
|
991
|
+
/**
|
|
992
|
+
* @generated from field: optional string client_version = 3;
|
|
993
|
+
*/
|
|
994
|
+
clientVersion?: string;
|
|
995
|
+
/**
|
|
996
|
+
* @generated from field: optional string client_name = 4;
|
|
997
|
+
*/
|
|
998
|
+
clientName?: string;
|
|
999
|
+
/**
|
|
1000
|
+
* @generated from field: repeated trading.v1.ChainId chain_blocklist = 5;
|
|
1001
|
+
*/
|
|
1002
|
+
chainBlocklist: ChainId[];
|
|
2919
1003
|
constructor(data?: PartialMessage<SwappableTokensRequest>);
|
|
2920
1004
|
static readonly runtime: typeof proto3;
|
|
2921
1005
|
static readonly typeName = "trading.v1.SwappableTokensRequest";
|
|
@@ -5898,6 +3982,10 @@ export declare class CheckApprovalResponse extends Message<CheckApprovalResponse
|
|
|
5898
3982
|
* @generated from field: optional string cancel_gas_fee = 5;
|
|
5899
3983
|
*/
|
|
5900
3984
|
cancelGasFee?: string;
|
|
3985
|
+
/**
|
|
3986
|
+
* @generated from field: repeated trading.v1.GasEstimate gas_estimates = 6;
|
|
3987
|
+
*/
|
|
3988
|
+
gasEstimates: GasEstimate[];
|
|
5901
3989
|
constructor(data?: PartialMessage<CheckApprovalResponse>);
|
|
5902
3990
|
static readonly runtime: typeof proto3;
|
|
5903
3991
|
static readonly typeName = "trading.v1.CheckApprovalResponse";
|
|
@@ -6033,6 +4121,43 @@ export declare class PriorityQuote extends Message<PriorityQuote> {
|
|
|
6033
4121
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PriorityQuote;
|
|
6034
4122
|
static equals(a: PriorityQuote | PlainMessage<PriorityQuote> | undefined, b: PriorityQuote | PlainMessage<PriorityQuote> | undefined): boolean;
|
|
6035
4123
|
}
|
|
4124
|
+
/**
|
|
4125
|
+
* @generated from message trading.v1.TruncatedPlanStep
|
|
4126
|
+
*/
|
|
4127
|
+
export declare class TruncatedPlanStep extends Message<TruncatedPlanStep> {
|
|
4128
|
+
/**
|
|
4129
|
+
* @generated from field: trading.v1.PlanStepType step_type = 1;
|
|
4130
|
+
*/
|
|
4131
|
+
stepType: PlanStepType;
|
|
4132
|
+
/**
|
|
4133
|
+
* @generated from field: optional string token_in = 2;
|
|
4134
|
+
*/
|
|
4135
|
+
tokenIn?: string;
|
|
4136
|
+
/**
|
|
4137
|
+
* @generated from field: optional int32 token_in_chain_id = 3;
|
|
4138
|
+
*/
|
|
4139
|
+
tokenInChainId?: number;
|
|
4140
|
+
/**
|
|
4141
|
+
* @generated from field: optional string token_out = 4;
|
|
4142
|
+
*/
|
|
4143
|
+
tokenOut?: string;
|
|
4144
|
+
/**
|
|
4145
|
+
* @generated from field: optional int32 token_out_chain_id = 5;
|
|
4146
|
+
*/
|
|
4147
|
+
tokenOutChainId?: number;
|
|
4148
|
+
/**
|
|
4149
|
+
* @generated from field: optional double slippage = 6;
|
|
4150
|
+
*/
|
|
4151
|
+
slippage?: number;
|
|
4152
|
+
constructor(data?: PartialMessage<TruncatedPlanStep>);
|
|
4153
|
+
static readonly runtime: typeof proto3;
|
|
4154
|
+
static readonly typeName = "trading.v1.TruncatedPlanStep";
|
|
4155
|
+
static readonly fields: FieldList;
|
|
4156
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TruncatedPlanStep;
|
|
4157
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TruncatedPlanStep;
|
|
4158
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TruncatedPlanStep;
|
|
4159
|
+
static equals(a: TruncatedPlanStep | PlainMessage<TruncatedPlanStep> | undefined, b: TruncatedPlanStep | PlainMessage<TruncatedPlanStep> | undefined): boolean;
|
|
4160
|
+
}
|
|
6036
4161
|
/**
|
|
6037
4162
|
* @generated from message trading.v1.ChainedQuote
|
|
6038
4163
|
*/
|
|
@@ -6089,6 +4214,26 @@ export declare class ChainedQuote extends Message<ChainedQuote> {
|
|
|
6089
4214
|
* @generated from field: optional int32 time_estimate_ms = 13;
|
|
6090
4215
|
*/
|
|
6091
4216
|
timeEstimateMs?: number;
|
|
4217
|
+
/**
|
|
4218
|
+
* @generated from field: repeated trading.v1.Protocols protocols = 14;
|
|
4219
|
+
*/
|
|
4220
|
+
protocols: Protocols[];
|
|
4221
|
+
/**
|
|
4222
|
+
* @generated from field: optional trading.v1.HooksOptions hooks_options = 15;
|
|
4223
|
+
*/
|
|
4224
|
+
hooksOptions?: HooksOptions;
|
|
4225
|
+
/**
|
|
4226
|
+
* @generated from field: repeated trading.v1.TruncatedPlanStep steps = 16;
|
|
4227
|
+
*/
|
|
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;
|
|
6092
4237
|
constructor(data?: PartialMessage<ChainedQuote>);
|
|
6093
4238
|
static readonly runtime: typeof proto3;
|
|
6094
4239
|
static readonly typeName = "trading.v1.ChainedQuote";
|
|
@@ -6772,9 +4917,9 @@ export declare class DelegationDetails extends Message<DelegationDetails> {
|
|
|
6772
4917
|
*/
|
|
6773
4918
|
export declare class PlanStep extends Message<PlanStep> {
|
|
6774
4919
|
/**
|
|
6775
|
-
* @generated from field: string
|
|
4920
|
+
* @generated from field: string step_index = 1;
|
|
6776
4921
|
*/
|
|
6777
|
-
|
|
4922
|
+
stepIndex: string;
|
|
6778
4923
|
/**
|
|
6779
4924
|
* @generated from field: trading.v1.PlanStep.Method method = 2;
|
|
6780
4925
|
*/
|
|
@@ -6830,9 +4975,9 @@ export declare class PlanStep extends Message<PlanStep> {
|
|
|
6830
4975
|
*/
|
|
6831
4976
|
recipient?: string;
|
|
6832
4977
|
/**
|
|
6833
|
-
* @generated from field:
|
|
4978
|
+
* @generated from field: trading.v1.PlanStepType step_type = 15;
|
|
6834
4979
|
*/
|
|
6835
|
-
|
|
4980
|
+
stepType: PlanStepType;
|
|
6836
4981
|
/**
|
|
6837
4982
|
* @generated from field: optional string gas_use_estimate = 16;
|
|
6838
4983
|
*/
|
|
@@ -6865,6 +5010,10 @@ export declare class PlanStep extends Message<PlanStep> {
|
|
|
6865
5010
|
* @generated from field: optional string routing_step_key = 23;
|
|
6866
5011
|
*/
|
|
6867
5012
|
routingStepKey?: string;
|
|
5013
|
+
/**
|
|
5014
|
+
* @generated from field: optional double slippage = 24;
|
|
5015
|
+
*/
|
|
5016
|
+
slippage?: number;
|
|
6868
5017
|
constructor(data?: PartialMessage<PlanStep>);
|
|
6869
5018
|
static readonly runtime: typeof proto3;
|
|
6870
5019
|
static readonly typeName = "trading.v1.PlanStep";
|
|
@@ -6970,6 +5119,10 @@ export declare class CreatePlanRequest extends Message<CreatePlanRequest> {
|
|
|
6970
5119
|
* @generated from field: trading.v1.ChainedQuote quote = 2;
|
|
6971
5120
|
*/
|
|
6972
5121
|
quote?: ChainedQuote;
|
|
5122
|
+
/**
|
|
5123
|
+
* @generated from field: optional trading.v1.WalletExecutionContext wallet_execution_context = 3;
|
|
5124
|
+
*/
|
|
5125
|
+
walletExecutionContext?: WalletExecutionContext;
|
|
6973
5126
|
constructor(data?: PartialMessage<CreatePlanRequest>);
|
|
6974
5127
|
static readonly runtime: typeof proto3;
|
|
6975
5128
|
static readonly typeName = "trading.v1.CreatePlanRequest";
|
|
@@ -6980,9 +5133,30 @@ export declare class CreatePlanRequest extends Message<CreatePlanRequest> {
|
|
|
6980
5133
|
static equals(a: CreatePlanRequest | PlainMessage<CreatePlanRequest> | undefined, b: CreatePlanRequest | PlainMessage<CreatePlanRequest> | undefined): boolean;
|
|
6981
5134
|
}
|
|
6982
5135
|
/**
|
|
6983
|
-
* @generated from message trading.v1.
|
|
5136
|
+
* @generated from message trading.v1.GetPlanRequest
|
|
5137
|
+
*/
|
|
5138
|
+
export declare class GetPlanRequest extends Message<GetPlanRequest> {
|
|
5139
|
+
/**
|
|
5140
|
+
* @generated from field: string plan_id = 1;
|
|
5141
|
+
*/
|
|
5142
|
+
planId: string;
|
|
5143
|
+
/**
|
|
5144
|
+
* @generated from field: bool force_refresh = 2;
|
|
5145
|
+
*/
|
|
5146
|
+
forceRefresh: boolean;
|
|
5147
|
+
constructor(data?: PartialMessage<GetPlanRequest>);
|
|
5148
|
+
static readonly runtime: typeof proto3;
|
|
5149
|
+
static readonly typeName = "trading.v1.GetPlanRequest";
|
|
5150
|
+
static readonly fields: FieldList;
|
|
5151
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPlanRequest;
|
|
5152
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPlanRequest;
|
|
5153
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPlanRequest;
|
|
5154
|
+
static equals(a: GetPlanRequest | PlainMessage<GetPlanRequest> | undefined, b: GetPlanRequest | PlainMessage<GetPlanRequest> | undefined): boolean;
|
|
5155
|
+
}
|
|
5156
|
+
/**
|
|
5157
|
+
* @generated from message trading.v1.PlanResponse
|
|
6984
5158
|
*/
|
|
6985
|
-
export declare class
|
|
5159
|
+
export declare class PlanResponse extends Message<PlanResponse> {
|
|
6986
5160
|
/**
|
|
6987
5161
|
* @generated from field: string request_id = 1;
|
|
6988
5162
|
*/
|
|
@@ -7004,9 +5178,9 @@ export declare class CreatePlanResponse extends Message<CreatePlanResponse> {
|
|
|
7004
5178
|
*/
|
|
7005
5179
|
quoteId: string;
|
|
7006
5180
|
/**
|
|
7007
|
-
* @generated from field: trading.v1.
|
|
5181
|
+
* @generated from field: trading.v1.PlanResponse.PlanStatus status = 6;
|
|
7008
5182
|
*/
|
|
7009
|
-
status:
|
|
5183
|
+
status: PlanResponse_PlanStatus;
|
|
7010
5184
|
/**
|
|
7011
5185
|
* @generated from field: repeated trading.v1.PlanStep steps = 7;
|
|
7012
5186
|
*/
|
|
@@ -7031,19 +5205,55 @@ export declare class CreatePlanResponse extends Message<CreatePlanResponse> {
|
|
|
7031
5205
|
* @generated from field: repeated trading.v1.GasStrategy gas_strategies = 12;
|
|
7032
5206
|
*/
|
|
7033
5207
|
gasStrategies: GasStrategy[];
|
|
7034
|
-
|
|
5208
|
+
/**
|
|
5209
|
+
* @generated from field: repeated trading.v1.Protocols protocols = 13;
|
|
5210
|
+
*/
|
|
5211
|
+
protocols: Protocols[];
|
|
5212
|
+
/**
|
|
5213
|
+
* @generated from field: optional trading.v1.HooksOptions hooks_options = 14;
|
|
5214
|
+
*/
|
|
5215
|
+
hooksOptions?: HooksOptions;
|
|
5216
|
+
/**
|
|
5217
|
+
* @generated from field: optional string created_at = 15;
|
|
5218
|
+
*/
|
|
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;
|
|
5228
|
+
/**
|
|
5229
|
+
* @generated from field: optional trading.v1.WalletExecutionContext wallet_execution_context = 16;
|
|
5230
|
+
*/
|
|
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;
|
|
5244
|
+
constructor(data?: PartialMessage<PlanResponse>);
|
|
7035
5245
|
static readonly runtime: typeof proto3;
|
|
7036
|
-
static readonly typeName = "trading.v1.
|
|
5246
|
+
static readonly typeName = "trading.v1.PlanResponse";
|
|
7037
5247
|
static readonly fields: FieldList;
|
|
7038
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
7039
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
7040
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
7041
|
-
static equals(a:
|
|
5248
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PlanResponse;
|
|
5249
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PlanResponse;
|
|
5250
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PlanResponse;
|
|
5251
|
+
static equals(a: PlanResponse | PlainMessage<PlanResponse> | undefined, b: PlanResponse | PlainMessage<PlanResponse> | undefined): boolean;
|
|
7042
5252
|
}
|
|
7043
5253
|
/**
|
|
7044
|
-
* @generated from enum trading.v1.
|
|
5254
|
+
* @generated from enum trading.v1.PlanResponse.PlanStatus
|
|
7045
5255
|
*/
|
|
7046
|
-
export declare enum
|
|
5256
|
+
export declare enum PlanResponse_PlanStatus {
|
|
7047
5257
|
/**
|
|
7048
5258
|
* @generated from enum value: ACTIVE = 0;
|
|
7049
5259
|
*/
|
|
@@ -7059,7 +5269,11 @@ export declare enum CreatePlanResponse_PlanStatus {
|
|
|
7059
5269
|
/**
|
|
7060
5270
|
* @generated from enum value: FAILED = 3;
|
|
7061
5271
|
*/
|
|
7062
|
-
FAILED = 3
|
|
5272
|
+
FAILED = 3,
|
|
5273
|
+
/**
|
|
5274
|
+
* @generated from enum value: AWAITING_ACTION = 4;
|
|
5275
|
+
*/
|
|
5276
|
+
AWAITING_ACTION = 4
|
|
7063
5277
|
}
|
|
7064
5278
|
/**
|
|
7065
5279
|
* @generated from message trading.v1.DocsRequest
|
|
@@ -7111,3 +5325,226 @@ export declare class DocsResponse extends Message<DocsResponse> {
|
|
|
7111
5325
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DocsResponse;
|
|
7112
5326
|
static equals(a: DocsResponse | PlainMessage<DocsResponse> | undefined, b: DocsResponse | PlainMessage<DocsResponse> | undefined): boolean;
|
|
7113
5327
|
}
|
|
5328
|
+
/**
|
|
5329
|
+
* @generated from message trading.v1.UpdatePlanRequest
|
|
5330
|
+
*/
|
|
5331
|
+
export declare class UpdatePlanRequest extends Message<UpdatePlanRequest> {
|
|
5332
|
+
/**
|
|
5333
|
+
* @generated from field: string plan_id = 1;
|
|
5334
|
+
*/
|
|
5335
|
+
planId: string;
|
|
5336
|
+
/**
|
|
5337
|
+
* @generated from field: repeated trading.v1.PlanStepUpdate steps = 2;
|
|
5338
|
+
*/
|
|
5339
|
+
steps: PlanStepUpdate[];
|
|
5340
|
+
constructor(data?: PartialMessage<UpdatePlanRequest>);
|
|
5341
|
+
static readonly runtime: typeof proto3;
|
|
5342
|
+
static readonly typeName = "trading.v1.UpdatePlanRequest";
|
|
5343
|
+
static readonly fields: FieldList;
|
|
5344
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdatePlanRequest;
|
|
5345
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdatePlanRequest;
|
|
5346
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdatePlanRequest;
|
|
5347
|
+
static equals(a: UpdatePlanRequest | PlainMessage<UpdatePlanRequest> | undefined, b: UpdatePlanRequest | PlainMessage<UpdatePlanRequest> | undefined): boolean;
|
|
5348
|
+
}
|
|
5349
|
+
/**
|
|
5350
|
+
* @generated from message trading.v1.PlanStepUpdate
|
|
5351
|
+
*/
|
|
5352
|
+
export declare class PlanStepUpdate extends Message<PlanStepUpdate> {
|
|
5353
|
+
/**
|
|
5354
|
+
* @generated from field: int32 step_index = 1;
|
|
5355
|
+
*/
|
|
5356
|
+
stepIndex: number;
|
|
5357
|
+
/**
|
|
5358
|
+
* @generated from field: trading.v1.PlanStep.StepProof proof = 2;
|
|
5359
|
+
*/
|
|
5360
|
+
proof?: PlanStep_StepProof;
|
|
5361
|
+
constructor(data?: PartialMessage<PlanStepUpdate>);
|
|
5362
|
+
static readonly runtime: typeof proto3;
|
|
5363
|
+
static readonly typeName = "trading.v1.PlanStepUpdate";
|
|
5364
|
+
static readonly fields: FieldList;
|
|
5365
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PlanStepUpdate;
|
|
5366
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PlanStepUpdate;
|
|
5367
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PlanStepUpdate;
|
|
5368
|
+
static equals(a: PlanStepUpdate | PlainMessage<PlanStepUpdate> | undefined, b: PlanStepUpdate | PlainMessage<PlanStepUpdate> | undefined): boolean;
|
|
5369
|
+
}
|
|
5370
|
+
/**
|
|
5371
|
+
* @generated from message trading.v1.GetPlansRequest
|
|
5372
|
+
*/
|
|
5373
|
+
export declare class GetPlansRequest extends Message<GetPlansRequest> {
|
|
5374
|
+
/**
|
|
5375
|
+
* @generated from field: string swapper = 1;
|
|
5376
|
+
*/
|
|
5377
|
+
swapper: string;
|
|
5378
|
+
/**
|
|
5379
|
+
* @generated from field: optional int32 limit = 2;
|
|
5380
|
+
*/
|
|
5381
|
+
limit?: number;
|
|
5382
|
+
/**
|
|
5383
|
+
* @generated from field: optional string cursor = 3;
|
|
5384
|
+
*/
|
|
5385
|
+
cursor?: string;
|
|
5386
|
+
/**
|
|
5387
|
+
* @generated from field: optional string min_timestamp = 4;
|
|
5388
|
+
*/
|
|
5389
|
+
minTimestamp?: string;
|
|
5390
|
+
/**
|
|
5391
|
+
* @generated from field: optional string max_timestamp = 5;
|
|
5392
|
+
*/
|
|
5393
|
+
maxTimestamp?: string;
|
|
5394
|
+
constructor(data?: PartialMessage<GetPlansRequest>);
|
|
5395
|
+
static readonly runtime: typeof proto3;
|
|
5396
|
+
static readonly typeName = "trading.v1.GetPlansRequest";
|
|
5397
|
+
static readonly fields: FieldList;
|
|
5398
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPlansRequest;
|
|
5399
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPlansRequest;
|
|
5400
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPlansRequest;
|
|
5401
|
+
static equals(a: GetPlansRequest | PlainMessage<GetPlansRequest> | undefined, b: GetPlansRequest | PlainMessage<GetPlansRequest> | undefined): boolean;
|
|
5402
|
+
}
|
|
5403
|
+
/**
|
|
5404
|
+
* @generated from message trading.v1.GetPlansResponse
|
|
5405
|
+
*/
|
|
5406
|
+
export declare class GetPlansResponse extends Message<GetPlansResponse> {
|
|
5407
|
+
/**
|
|
5408
|
+
* @generated from field: string request_id = 1;
|
|
5409
|
+
*/
|
|
5410
|
+
requestId: string;
|
|
5411
|
+
/**
|
|
5412
|
+
* @generated from field: repeated trading.v1.PlanResponse plans = 2;
|
|
5413
|
+
*/
|
|
5414
|
+
plans: PlanResponse[];
|
|
5415
|
+
/**
|
|
5416
|
+
* @generated from field: optional string next_cursor = 3;
|
|
5417
|
+
*/
|
|
5418
|
+
nextCursor?: string;
|
|
5419
|
+
constructor(data?: PartialMessage<GetPlansResponse>);
|
|
5420
|
+
static readonly runtime: typeof proto3;
|
|
5421
|
+
static readonly typeName = "trading.v1.GetPlansResponse";
|
|
5422
|
+
static readonly fields: FieldList;
|
|
5423
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPlansResponse;
|
|
5424
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPlansResponse;
|
|
5425
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPlansResponse;
|
|
5426
|
+
static equals(a: GetPlansResponse | PlainMessage<GetPlansResponse> | undefined, b: GetPlansResponse | PlainMessage<GetPlansResponse> | undefined): boolean;
|
|
5427
|
+
}
|
|
5428
|
+
/**
|
|
5429
|
+
* WalletExecutionContext based on CAIP-25 Standard
|
|
5430
|
+
*
|
|
5431
|
+
* @generated from message trading.v1.WalletExecutionContext
|
|
5432
|
+
*/
|
|
5433
|
+
export declare class WalletExecutionContext extends Message<WalletExecutionContext> {
|
|
5434
|
+
/**
|
|
5435
|
+
* @generated from field: map<string, trading.v1.ScopeData> scopes = 1;
|
|
5436
|
+
*/
|
|
5437
|
+
scopes: {
|
|
5438
|
+
[key: string]: ScopeData;
|
|
5439
|
+
};
|
|
5440
|
+
/**
|
|
5441
|
+
* @generated from field: optional trading.v1.WalletProperties properties = 2;
|
|
5442
|
+
*/
|
|
5443
|
+
properties?: WalletProperties;
|
|
5444
|
+
constructor(data?: PartialMessage<WalletExecutionContext>);
|
|
5445
|
+
static readonly runtime: typeof proto3;
|
|
5446
|
+
static readonly typeName = "trading.v1.WalletExecutionContext";
|
|
5447
|
+
static readonly fields: FieldList;
|
|
5448
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WalletExecutionContext;
|
|
5449
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WalletExecutionContext;
|
|
5450
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WalletExecutionContext;
|
|
5451
|
+
static equals(a: WalletExecutionContext | PlainMessage<WalletExecutionContext> | undefined, b: WalletExecutionContext | PlainMessage<WalletExecutionContext> | undefined): boolean;
|
|
5452
|
+
}
|
|
5453
|
+
/**
|
|
5454
|
+
* @generated from message trading.v1.ScopeData
|
|
5455
|
+
*/
|
|
5456
|
+
export declare class ScopeData extends Message<ScopeData> {
|
|
5457
|
+
/**
|
|
5458
|
+
* @generated from field: repeated string accounts = 1;
|
|
5459
|
+
*/
|
|
5460
|
+
accounts: string[];
|
|
5461
|
+
/**
|
|
5462
|
+
* @generated from field: repeated string methods = 2;
|
|
5463
|
+
*/
|
|
5464
|
+
methods: string[];
|
|
5465
|
+
/**
|
|
5466
|
+
* @generated from field: optional google.protobuf.Struct capabilities = 3;
|
|
5467
|
+
*/
|
|
5468
|
+
capabilities?: Struct;
|
|
5469
|
+
/**
|
|
5470
|
+
* @generated from field: repeated string chains = 4;
|
|
5471
|
+
*/
|
|
5472
|
+
chains: string[];
|
|
5473
|
+
/**
|
|
5474
|
+
* Uni client-specific context describing how this wallet integrates with the application
|
|
5475
|
+
*
|
|
5476
|
+
* @generated from field: optional trading.v1.ClientContext client_context = 5;
|
|
5477
|
+
*/
|
|
5478
|
+
clientContext?: ClientContext;
|
|
5479
|
+
constructor(data?: PartialMessage<ScopeData>);
|
|
5480
|
+
static readonly runtime: typeof proto3;
|
|
5481
|
+
static readonly typeName = "trading.v1.ScopeData";
|
|
5482
|
+
static readonly fields: FieldList;
|
|
5483
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ScopeData;
|
|
5484
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ScopeData;
|
|
5485
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ScopeData;
|
|
5486
|
+
static equals(a: ScopeData | PlainMessage<ScopeData> | undefined, b: ScopeData | PlainMessage<ScopeData> | undefined): boolean;
|
|
5487
|
+
}
|
|
5488
|
+
/**
|
|
5489
|
+
* @generated from message trading.v1.ClientContext
|
|
5490
|
+
*/
|
|
5491
|
+
export declare class ClientContext extends Message<ClientContext> {
|
|
5492
|
+
/**
|
|
5493
|
+
* @generated from field: optional bool direct_private_key_access = 1;
|
|
5494
|
+
*/
|
|
5495
|
+
directPrivateKeyAccess?: boolean;
|
|
5496
|
+
/**
|
|
5497
|
+
* @generated from field: optional string next_evm_upgrade_address = 2;
|
|
5498
|
+
*/
|
|
5499
|
+
nextEvmUpgradeAddress?: string;
|
|
5500
|
+
constructor(data?: PartialMessage<ClientContext>);
|
|
5501
|
+
static readonly runtime: typeof proto3;
|
|
5502
|
+
static readonly typeName = "trading.v1.ClientContext";
|
|
5503
|
+
static readonly fields: FieldList;
|
|
5504
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClientContext;
|
|
5505
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClientContext;
|
|
5506
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClientContext;
|
|
5507
|
+
static equals(a: ClientContext | PlainMessage<ClientContext> | undefined, b: ClientContext | PlainMessage<ClientContext> | undefined): boolean;
|
|
5508
|
+
}
|
|
5509
|
+
/**
|
|
5510
|
+
* @generated from message trading.v1.WalletProperties
|
|
5511
|
+
*/
|
|
5512
|
+
export declare class WalletProperties extends Message<WalletProperties> {
|
|
5513
|
+
/**
|
|
5514
|
+
* @generated from field: optional trading.v1.WalletInfo wallet_info = 1;
|
|
5515
|
+
*/
|
|
5516
|
+
walletInfo?: WalletInfo;
|
|
5517
|
+
constructor(data?: PartialMessage<WalletProperties>);
|
|
5518
|
+
static readonly runtime: typeof proto3;
|
|
5519
|
+
static readonly typeName = "trading.v1.WalletProperties";
|
|
5520
|
+
static readonly fields: FieldList;
|
|
5521
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WalletProperties;
|
|
5522
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WalletProperties;
|
|
5523
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WalletProperties;
|
|
5524
|
+
static equals(a: WalletProperties | PlainMessage<WalletProperties> | undefined, b: WalletProperties | PlainMessage<WalletProperties> | undefined): boolean;
|
|
5525
|
+
}
|
|
5526
|
+
/**
|
|
5527
|
+
* @generated from message trading.v1.WalletInfo
|
|
5528
|
+
*/
|
|
5529
|
+
export declare class WalletInfo extends Message<WalletInfo> {
|
|
5530
|
+
/**
|
|
5531
|
+
* @generated from field: optional string uuid = 1;
|
|
5532
|
+
*/
|
|
5533
|
+
uuid?: string;
|
|
5534
|
+
/**
|
|
5535
|
+
* @generated from field: optional string name = 2;
|
|
5536
|
+
*/
|
|
5537
|
+
name?: string;
|
|
5538
|
+
/**
|
|
5539
|
+
* @generated from field: optional string rdns = 3;
|
|
5540
|
+
*/
|
|
5541
|
+
rdns?: string;
|
|
5542
|
+
constructor(data?: PartialMessage<WalletInfo>);
|
|
5543
|
+
static readonly runtime: typeof proto3;
|
|
5544
|
+
static readonly typeName = "trading.v1.WalletInfo";
|
|
5545
|
+
static readonly fields: FieldList;
|
|
5546
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WalletInfo;
|
|
5547
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WalletInfo;
|
|
5548
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WalletInfo;
|
|
5549
|
+
static equals(a: WalletInfo | PlainMessage<WalletInfo> | undefined, b: WalletInfo | PlainMessage<WalletInfo> | undefined): boolean;
|
|
5550
|
+
}
|