@uniswap/client-data-api 0.0.13 → 0.0.15
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/data/v1/api-DataApiService_connectquery.d.ts +92 -1
- package/dist/data/v1/api-DataApiService_connectquery.js +92 -1
- package/dist/data/v1/api_connect.d.ts +64 -1
- package/dist/data/v1/api_connect.js +64 -1
- package/dist/data/v1/api_pb.d.ts +394 -4
- package/dist/data/v1/api_pb.js +530 -8
- package/dist/data/v1/poolTypes_pb.d.ts +457 -0
- package/dist/data/v1/poolTypes_pb.js +593 -0
- package/package.json +1 -1
package/dist/data/v1/api_pb.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
2
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
3
|
import { Portfolio, PortfolioValueModifier, Token, TokenReportEventType, Transaction } from "./types_pb.js";
|
|
4
|
+
import { Pair, Pool, Position, PositionStatus, ProtocolVersion } from "./poolTypes_pb.js";
|
|
4
5
|
/**
|
|
5
6
|
* @generated from enum data.v1.Platform
|
|
6
7
|
*/
|
|
@@ -14,6 +15,19 @@ export declare enum Platform {
|
|
|
14
15
|
*/
|
|
15
16
|
SVM = 1
|
|
16
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* @generated from enum data.v1.OrderBy
|
|
20
|
+
*/
|
|
21
|
+
export declare enum OrderBy {
|
|
22
|
+
/**
|
|
23
|
+
* @generated from enum value: ORDER_BY_UNSPECIFIED = 0;
|
|
24
|
+
*/
|
|
25
|
+
UNSPECIFIED = 0,
|
|
26
|
+
/**
|
|
27
|
+
* @generated from enum value: ORDER_BY_CREATION_DATE = 1;
|
|
28
|
+
*/
|
|
29
|
+
CREATION_DATE = 1
|
|
30
|
+
}
|
|
17
31
|
/**
|
|
18
32
|
* @generated from message data.v1.CreatePendingTokenFactoryTokenRequest
|
|
19
33
|
*/
|
|
@@ -207,9 +221,9 @@ export declare class GetTokenResponse extends Message<GetTokenResponse> {
|
|
|
207
221
|
*/
|
|
208
222
|
export declare class GetPortfolioRequest extends Message<GetPortfolioRequest> {
|
|
209
223
|
/**
|
|
210
|
-
* @generated from field:
|
|
224
|
+
* @generated from field: data.v1.WalletAccount wallet_account = 1;
|
|
211
225
|
*/
|
|
212
|
-
|
|
226
|
+
walletAccount?: WalletAccount;
|
|
213
227
|
/**
|
|
214
228
|
* @generated from field: repeated uint32 chain_ids = 2;
|
|
215
229
|
*/
|
|
@@ -249,9 +263,9 @@ export declare class GetPortfolioResponse extends Message<GetPortfolioResponse>
|
|
|
249
263
|
*/
|
|
250
264
|
export declare class ListPortfoliosRequest extends Message<ListPortfoliosRequest> {
|
|
251
265
|
/**
|
|
252
|
-
* @generated from field: repeated
|
|
266
|
+
* @generated from field: repeated data.v1.WalletAccount wallet_accounts = 1;
|
|
253
267
|
*/
|
|
254
|
-
|
|
268
|
+
walletAccounts: WalletAccount[];
|
|
255
269
|
/**
|
|
256
270
|
* @generated from field: repeated uint32 chain_ids = 2;
|
|
257
271
|
*/
|
|
@@ -498,3 +512,379 @@ export declare class ListTransactionsResponse extends Message<ListTransactionsRe
|
|
|
498
512
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTransactionsResponse;
|
|
499
513
|
static equals(a: ListTransactionsResponse | PlainMessage<ListTransactionsResponse> | undefined, b: ListTransactionsResponse | PlainMessage<ListTransactionsResponse> | undefined): boolean;
|
|
500
514
|
}
|
|
515
|
+
/**
|
|
516
|
+
* @generated from message data.v1.CreateTokenFactoryPresignedUrlRequest
|
|
517
|
+
*/
|
|
518
|
+
export declare class CreateTokenFactoryPresignedUrlRequest extends Message<CreateTokenFactoryPresignedUrlRequest> {
|
|
519
|
+
/**
|
|
520
|
+
* @generated from field: string file_name = 1;
|
|
521
|
+
*/
|
|
522
|
+
fileName: string;
|
|
523
|
+
constructor(data?: PartialMessage<CreateTokenFactoryPresignedUrlRequest>);
|
|
524
|
+
static readonly runtime: typeof proto3;
|
|
525
|
+
static readonly typeName = "data.v1.CreateTokenFactoryPresignedUrlRequest";
|
|
526
|
+
static readonly fields: FieldList;
|
|
527
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateTokenFactoryPresignedUrlRequest;
|
|
528
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateTokenFactoryPresignedUrlRequest;
|
|
529
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateTokenFactoryPresignedUrlRequest;
|
|
530
|
+
static equals(a: CreateTokenFactoryPresignedUrlRequest | PlainMessage<CreateTokenFactoryPresignedUrlRequest> | undefined, b: CreateTokenFactoryPresignedUrlRequest | PlainMessage<CreateTokenFactoryPresignedUrlRequest> | undefined): boolean;
|
|
531
|
+
}
|
|
532
|
+
/**
|
|
533
|
+
* @generated from message data.v1.CreateTokenFactoryPresignedUrlResponse
|
|
534
|
+
*/
|
|
535
|
+
export declare class CreateTokenFactoryPresignedUrlResponse extends Message<CreateTokenFactoryPresignedUrlResponse> {
|
|
536
|
+
/**
|
|
537
|
+
* @generated from field: string url = 1;
|
|
538
|
+
*/
|
|
539
|
+
url: string;
|
|
540
|
+
constructor(data?: PartialMessage<CreateTokenFactoryPresignedUrlResponse>);
|
|
541
|
+
static readonly runtime: typeof proto3;
|
|
542
|
+
static readonly typeName = "data.v1.CreateTokenFactoryPresignedUrlResponse";
|
|
543
|
+
static readonly fields: FieldList;
|
|
544
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateTokenFactoryPresignedUrlResponse;
|
|
545
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateTokenFactoryPresignedUrlResponse;
|
|
546
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateTokenFactoryPresignedUrlResponse;
|
|
547
|
+
static equals(a: CreateTokenFactoryPresignedUrlResponse | PlainMessage<CreateTokenFactoryPresignedUrlResponse> | undefined, b: CreateTokenFactoryPresignedUrlResponse | PlainMessage<CreateTokenFactoryPresignedUrlResponse> | undefined): boolean;
|
|
548
|
+
}
|
|
549
|
+
/**
|
|
550
|
+
* @generated from message data.v1.GetPairRequest
|
|
551
|
+
*/
|
|
552
|
+
export declare class GetPairRequest extends Message<GetPairRequest> {
|
|
553
|
+
/**
|
|
554
|
+
* @generated from field: uint32 chain_id = 1;
|
|
555
|
+
*/
|
|
556
|
+
chainId: number;
|
|
557
|
+
/**
|
|
558
|
+
* @generated from field: string pair_address = 2;
|
|
559
|
+
*/
|
|
560
|
+
pairAddress: string;
|
|
561
|
+
constructor(data?: PartialMessage<GetPairRequest>);
|
|
562
|
+
static readonly runtime: typeof proto3;
|
|
563
|
+
static readonly typeName = "data.v1.GetPairRequest";
|
|
564
|
+
static readonly fields: FieldList;
|
|
565
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPairRequest;
|
|
566
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPairRequest;
|
|
567
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPairRequest;
|
|
568
|
+
static equals(a: GetPairRequest | PlainMessage<GetPairRequest> | undefined, b: GetPairRequest | PlainMessage<GetPairRequest> | undefined): boolean;
|
|
569
|
+
}
|
|
570
|
+
/**
|
|
571
|
+
* @generated from message data.v1.GetPairResponse
|
|
572
|
+
*/
|
|
573
|
+
export declare class GetPairResponse extends Message<GetPairResponse> {
|
|
574
|
+
/**
|
|
575
|
+
* @generated from field: pools.v1.Pair pair = 1;
|
|
576
|
+
*/
|
|
577
|
+
pair?: Pair;
|
|
578
|
+
constructor(data?: PartialMessage<GetPairResponse>);
|
|
579
|
+
static readonly runtime: typeof proto3;
|
|
580
|
+
static readonly typeName = "data.v1.GetPairResponse";
|
|
581
|
+
static readonly fields: FieldList;
|
|
582
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPairResponse;
|
|
583
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPairResponse;
|
|
584
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPairResponse;
|
|
585
|
+
static equals(a: GetPairResponse | PlainMessage<GetPairResponse> | undefined, b: GetPairResponse | PlainMessage<GetPairResponse> | undefined): boolean;
|
|
586
|
+
}
|
|
587
|
+
/**
|
|
588
|
+
* @generated from message data.v1.GetPoolRequest
|
|
589
|
+
*/
|
|
590
|
+
export declare class GetPoolRequest extends Message<GetPoolRequest> {
|
|
591
|
+
/**
|
|
592
|
+
* @generated from field: uint32 chain_id = 1;
|
|
593
|
+
*/
|
|
594
|
+
chainId: number;
|
|
595
|
+
/**
|
|
596
|
+
* @generated from field: string pool_id = 2;
|
|
597
|
+
*/
|
|
598
|
+
poolId: string;
|
|
599
|
+
/**
|
|
600
|
+
* @generated from field: pools.v1.ProtocolVersion protocol_version = 3;
|
|
601
|
+
*/
|
|
602
|
+
protocolVersion: ProtocolVersion;
|
|
603
|
+
constructor(data?: PartialMessage<GetPoolRequest>);
|
|
604
|
+
static readonly runtime: typeof proto3;
|
|
605
|
+
static readonly typeName = "data.v1.GetPoolRequest";
|
|
606
|
+
static readonly fields: FieldList;
|
|
607
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPoolRequest;
|
|
608
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPoolRequest;
|
|
609
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPoolRequest;
|
|
610
|
+
static equals(a: GetPoolRequest | PlainMessage<GetPoolRequest> | undefined, b: GetPoolRequest | PlainMessage<GetPoolRequest> | undefined): boolean;
|
|
611
|
+
}
|
|
612
|
+
/**
|
|
613
|
+
* @generated from message data.v1.GetPoolResponse
|
|
614
|
+
*/
|
|
615
|
+
export declare class GetPoolResponse extends Message<GetPoolResponse> {
|
|
616
|
+
/**
|
|
617
|
+
* @generated from field: pools.v1.Pool pool = 1;
|
|
618
|
+
*/
|
|
619
|
+
pool?: Pool;
|
|
620
|
+
constructor(data?: PartialMessage<GetPoolResponse>);
|
|
621
|
+
static readonly runtime: typeof proto3;
|
|
622
|
+
static readonly typeName = "data.v1.GetPoolResponse";
|
|
623
|
+
static readonly fields: FieldList;
|
|
624
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPoolResponse;
|
|
625
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPoolResponse;
|
|
626
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPoolResponse;
|
|
627
|
+
static equals(a: GetPoolResponse | PlainMessage<GetPoolResponse> | undefined, b: GetPoolResponse | PlainMessage<GetPoolResponse> | undefined): boolean;
|
|
628
|
+
}
|
|
629
|
+
/**
|
|
630
|
+
* @generated from message data.v1.GetPositionRequest
|
|
631
|
+
*/
|
|
632
|
+
export declare class GetPositionRequest extends Message<GetPositionRequest> {
|
|
633
|
+
/**
|
|
634
|
+
* @generated from field: uint32 chain_id = 1;
|
|
635
|
+
*/
|
|
636
|
+
chainId: number;
|
|
637
|
+
/**
|
|
638
|
+
* @generated from field: pools.v1.ProtocolVersion protocol_version = 2;
|
|
639
|
+
*/
|
|
640
|
+
protocolVersion: ProtocolVersion;
|
|
641
|
+
/**
|
|
642
|
+
* required for V3/V4
|
|
643
|
+
*
|
|
644
|
+
* @generated from field: string token_id = 3;
|
|
645
|
+
*/
|
|
646
|
+
tokenId: string;
|
|
647
|
+
/**
|
|
648
|
+
* required for V2
|
|
649
|
+
*
|
|
650
|
+
* @generated from field: string pair_address = 4;
|
|
651
|
+
*/
|
|
652
|
+
pairAddress: string;
|
|
653
|
+
/**
|
|
654
|
+
* required for V2
|
|
655
|
+
*
|
|
656
|
+
* @generated from field: string owner = 5;
|
|
657
|
+
*/
|
|
658
|
+
owner: string;
|
|
659
|
+
constructor(data?: PartialMessage<GetPositionRequest>);
|
|
660
|
+
static readonly runtime: typeof proto3;
|
|
661
|
+
static readonly typeName = "data.v1.GetPositionRequest";
|
|
662
|
+
static readonly fields: FieldList;
|
|
663
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPositionRequest;
|
|
664
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPositionRequest;
|
|
665
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPositionRequest;
|
|
666
|
+
static equals(a: GetPositionRequest | PlainMessage<GetPositionRequest> | undefined, b: GetPositionRequest | PlainMessage<GetPositionRequest> | undefined): boolean;
|
|
667
|
+
}
|
|
668
|
+
/**
|
|
669
|
+
* @generated from message data.v1.GetPositionResponse
|
|
670
|
+
*/
|
|
671
|
+
export declare class GetPositionResponse extends Message<GetPositionResponse> {
|
|
672
|
+
/**
|
|
673
|
+
* @generated from field: pools.v1.Position position = 1;
|
|
674
|
+
*/
|
|
675
|
+
position?: Position;
|
|
676
|
+
constructor(data?: PartialMessage<GetPositionResponse>);
|
|
677
|
+
static readonly runtime: typeof proto3;
|
|
678
|
+
static readonly typeName = "data.v1.GetPositionResponse";
|
|
679
|
+
static readonly fields: FieldList;
|
|
680
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPositionResponse;
|
|
681
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPositionResponse;
|
|
682
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPositionResponse;
|
|
683
|
+
static equals(a: GetPositionResponse | PlainMessage<GetPositionResponse> | undefined, b: GetPositionResponse | PlainMessage<GetPositionResponse> | undefined): boolean;
|
|
684
|
+
}
|
|
685
|
+
/**
|
|
686
|
+
* @generated from message data.v1.ListPoolsRequest
|
|
687
|
+
*/
|
|
688
|
+
export declare class ListPoolsRequest extends Message<ListPoolsRequest> {
|
|
689
|
+
/**
|
|
690
|
+
* @generated from field: uint32 chain_id = 1;
|
|
691
|
+
*/
|
|
692
|
+
chainId: number;
|
|
693
|
+
/**
|
|
694
|
+
* @generated from field: string token0 = 2;
|
|
695
|
+
*/
|
|
696
|
+
token0: string;
|
|
697
|
+
/**
|
|
698
|
+
* @generated from field: string token1 = 3;
|
|
699
|
+
*/
|
|
700
|
+
token1: string;
|
|
701
|
+
/**
|
|
702
|
+
* @generated from field: repeated pools.v1.ProtocolVersion protocol_versions = 4;
|
|
703
|
+
*/
|
|
704
|
+
protocolVersions: ProtocolVersion[];
|
|
705
|
+
/**
|
|
706
|
+
* @generated from field: optional uint32 fee = 5;
|
|
707
|
+
*/
|
|
708
|
+
fee?: number;
|
|
709
|
+
/**
|
|
710
|
+
* @generated from field: optional int32 tick_spacing = 6;
|
|
711
|
+
*/
|
|
712
|
+
tickSpacing?: number;
|
|
713
|
+
/**
|
|
714
|
+
* @generated from field: optional string hooks = 7;
|
|
715
|
+
*/
|
|
716
|
+
hooks?: string;
|
|
717
|
+
/**
|
|
718
|
+
* @generated from field: optional uint32 page_size = 8;
|
|
719
|
+
*/
|
|
720
|
+
pageSize?: number;
|
|
721
|
+
/**
|
|
722
|
+
* @generated from field: optional string page_token = 9;
|
|
723
|
+
*/
|
|
724
|
+
pageToken?: string;
|
|
725
|
+
constructor(data?: PartialMessage<ListPoolsRequest>);
|
|
726
|
+
static readonly runtime: typeof proto3;
|
|
727
|
+
static readonly typeName = "data.v1.ListPoolsRequest";
|
|
728
|
+
static readonly fields: FieldList;
|
|
729
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListPoolsRequest;
|
|
730
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListPoolsRequest;
|
|
731
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListPoolsRequest;
|
|
732
|
+
static equals(a: ListPoolsRequest | PlainMessage<ListPoolsRequest> | undefined, b: ListPoolsRequest | PlainMessage<ListPoolsRequest> | undefined): boolean;
|
|
733
|
+
}
|
|
734
|
+
/**
|
|
735
|
+
* @generated from message data.v1.ListPoolsResponse
|
|
736
|
+
*/
|
|
737
|
+
export declare class ListPoolsResponse extends Message<ListPoolsResponse> {
|
|
738
|
+
/**
|
|
739
|
+
* @generated from field: repeated pools.v1.Pool pools = 1;
|
|
740
|
+
*/
|
|
741
|
+
pools: Pool[];
|
|
742
|
+
/**
|
|
743
|
+
* @generated from field: optional string next_page_token = 2;
|
|
744
|
+
*/
|
|
745
|
+
nextPageToken?: string;
|
|
746
|
+
constructor(data?: PartialMessage<ListPoolsResponse>);
|
|
747
|
+
static readonly runtime: typeof proto3;
|
|
748
|
+
static readonly typeName = "data.v1.ListPoolsResponse";
|
|
749
|
+
static readonly fields: FieldList;
|
|
750
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListPoolsResponse;
|
|
751
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListPoolsResponse;
|
|
752
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListPoolsResponse;
|
|
753
|
+
static equals(a: ListPoolsResponse | PlainMessage<ListPoolsResponse> | undefined, b: ListPoolsResponse | PlainMessage<ListPoolsResponse> | undefined): boolean;
|
|
754
|
+
}
|
|
755
|
+
/**
|
|
756
|
+
* @generated from message data.v1.ListPositionsRequest
|
|
757
|
+
*/
|
|
758
|
+
export declare class ListPositionsRequest extends Message<ListPositionsRequest> {
|
|
759
|
+
/**
|
|
760
|
+
* @generated from field: string address = 1;
|
|
761
|
+
*/
|
|
762
|
+
address: string;
|
|
763
|
+
/**
|
|
764
|
+
* default all chains
|
|
765
|
+
*
|
|
766
|
+
* @generated from field: repeated uint32 chain_ids = 2;
|
|
767
|
+
*/
|
|
768
|
+
chainIds: number[];
|
|
769
|
+
/**
|
|
770
|
+
* default all versions
|
|
771
|
+
*
|
|
772
|
+
* @generated from field: repeated pools.v1.ProtocolVersion protocol_versions = 3;
|
|
773
|
+
*/
|
|
774
|
+
protocolVersions: ProtocolVersion[];
|
|
775
|
+
/**
|
|
776
|
+
* default all position statuses
|
|
777
|
+
*
|
|
778
|
+
* @generated from field: repeated pools.v1.PositionStatus position_statuses = 4;
|
|
779
|
+
*/
|
|
780
|
+
positionStatuses: PositionStatus[];
|
|
781
|
+
/**
|
|
782
|
+
* @generated from field: optional uint32 page_size = 5;
|
|
783
|
+
*/
|
|
784
|
+
pageSize?: number;
|
|
785
|
+
/**
|
|
786
|
+
* @generated from field: optional string page_token = 6;
|
|
787
|
+
*/
|
|
788
|
+
pageToken?: string;
|
|
789
|
+
/**
|
|
790
|
+
* default creation date
|
|
791
|
+
*
|
|
792
|
+
* @generated from field: optional data.v1.OrderBy order_by = 7;
|
|
793
|
+
*/
|
|
794
|
+
orderBy?: OrderBy;
|
|
795
|
+
/**
|
|
796
|
+
* default false
|
|
797
|
+
*
|
|
798
|
+
* @generated from field: optional bool ascending = 8;
|
|
799
|
+
*/
|
|
800
|
+
ascending?: boolean;
|
|
801
|
+
/**
|
|
802
|
+
* @generated from field: optional string poolId = 9;
|
|
803
|
+
*/
|
|
804
|
+
poolId?: string;
|
|
805
|
+
/**
|
|
806
|
+
* @generated from field: optional string token0 = 10;
|
|
807
|
+
*/
|
|
808
|
+
token0?: string;
|
|
809
|
+
/**
|
|
810
|
+
* @generated from field: optional string token1 = 11;
|
|
811
|
+
*/
|
|
812
|
+
token1?: string;
|
|
813
|
+
/**
|
|
814
|
+
* default false; hides spam
|
|
815
|
+
*
|
|
816
|
+
* @generated from field: optional bool include_hidden = 12;
|
|
817
|
+
*/
|
|
818
|
+
includeHidden?: boolean;
|
|
819
|
+
constructor(data?: PartialMessage<ListPositionsRequest>);
|
|
820
|
+
static readonly runtime: typeof proto3;
|
|
821
|
+
static readonly typeName = "data.v1.ListPositionsRequest";
|
|
822
|
+
static readonly fields: FieldList;
|
|
823
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListPositionsRequest;
|
|
824
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListPositionsRequest;
|
|
825
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListPositionsRequest;
|
|
826
|
+
static equals(a: ListPositionsRequest | PlainMessage<ListPositionsRequest> | undefined, b: ListPositionsRequest | PlainMessage<ListPositionsRequest> | undefined): boolean;
|
|
827
|
+
}
|
|
828
|
+
/**
|
|
829
|
+
* @generated from message data.v1.ListPositionsResponse
|
|
830
|
+
*/
|
|
831
|
+
export declare class ListPositionsResponse extends Message<ListPositionsResponse> {
|
|
832
|
+
/**
|
|
833
|
+
* @generated from field: repeated pools.v1.Position positions = 1;
|
|
834
|
+
*/
|
|
835
|
+
positions: Position[];
|
|
836
|
+
/**
|
|
837
|
+
* @generated from field: optional string next_page_token = 2;
|
|
838
|
+
*/
|
|
839
|
+
nextPageToken?: string;
|
|
840
|
+
constructor(data?: PartialMessage<ListPositionsResponse>);
|
|
841
|
+
static readonly runtime: typeof proto3;
|
|
842
|
+
static readonly typeName = "data.v1.ListPositionsResponse";
|
|
843
|
+
static readonly fields: FieldList;
|
|
844
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListPositionsResponse;
|
|
845
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListPositionsResponse;
|
|
846
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListPositionsResponse;
|
|
847
|
+
static equals(a: ListPositionsResponse | PlainMessage<ListPositionsResponse> | undefined, b: ListPositionsResponse | PlainMessage<ListPositionsResponse> | undefined): boolean;
|
|
848
|
+
}
|
|
849
|
+
/**
|
|
850
|
+
* @generated from message data.v1.GetRewardsRequest
|
|
851
|
+
*/
|
|
852
|
+
export declare class GetRewardsRequest extends Message<GetRewardsRequest> {
|
|
853
|
+
/**
|
|
854
|
+
* @generated from field: string wallet_address = 1;
|
|
855
|
+
*/
|
|
856
|
+
walletAddress: string;
|
|
857
|
+
/**
|
|
858
|
+
* @generated from field: repeated uint32 chain_ids = 2;
|
|
859
|
+
*/
|
|
860
|
+
chainIds: number[];
|
|
861
|
+
/**
|
|
862
|
+
* @generated from field: optional bool reload = 3;
|
|
863
|
+
*/
|
|
864
|
+
reload?: boolean;
|
|
865
|
+
constructor(data?: PartialMessage<GetRewardsRequest>);
|
|
866
|
+
static readonly runtime: typeof proto3;
|
|
867
|
+
static readonly typeName = "data.v1.GetRewardsRequest";
|
|
868
|
+
static readonly fields: FieldList;
|
|
869
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRewardsRequest;
|
|
870
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRewardsRequest;
|
|
871
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRewardsRequest;
|
|
872
|
+
static equals(a: GetRewardsRequest | PlainMessage<GetRewardsRequest> | undefined, b: GetRewardsRequest | PlainMessage<GetRewardsRequest> | undefined): boolean;
|
|
873
|
+
}
|
|
874
|
+
/**
|
|
875
|
+
* @generated from message data.v1.GetRewardsResponse
|
|
876
|
+
*/
|
|
877
|
+
export declare class GetRewardsResponse extends Message<GetRewardsResponse> {
|
|
878
|
+
/**
|
|
879
|
+
* @generated from field: string total_unclaimed_amount_uni = 1;
|
|
880
|
+
*/
|
|
881
|
+
totalUnclaimedAmountUni: string;
|
|
882
|
+
constructor(data?: PartialMessage<GetRewardsResponse>);
|
|
883
|
+
static readonly runtime: typeof proto3;
|
|
884
|
+
static readonly typeName = "data.v1.GetRewardsResponse";
|
|
885
|
+
static readonly fields: FieldList;
|
|
886
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRewardsResponse;
|
|
887
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRewardsResponse;
|
|
888
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRewardsResponse;
|
|
889
|
+
static equals(a: GetRewardsResponse | PlainMessage<GetRewardsResponse> | undefined, b: GetRewardsResponse | PlainMessage<GetRewardsResponse> | undefined): boolean;
|
|
890
|
+
}
|