@uniswap/client-data-api 0.0.255 → 0.0.257

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { MethodKind } from "@bufbuild/protobuf";
2
- import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPoolRewardsRequest, GetPoolRewardsResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRewardsRequest, GetPositionRewardsResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse, VerifyTokenFactoryImageRequest, VerifyTokenFactoryImageResponse } from "./api_pb.js";
2
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPoolRewardsRequest, GetPoolRewardsResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRewardsRequest, GetPositionRewardsResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse, VerifyTokenFactoryImageRequest, VerifyTokenFactoryImageResponse } from "./api_pb.js";
3
3
  /**
4
4
  * @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
5
5
  */
@@ -143,19 +143,6 @@ export declare const verifyTokenFactoryImage: {
143
143
  readonly typeName: "data.v1.DataApiService";
144
144
  };
145
145
  };
146
- /**
147
- * @generated from rpc data.v1.DataApiService.ListPools
148
- */
149
- export declare const listPools: {
150
- readonly localName: "listPools";
151
- readonly name: "ListPools";
152
- readonly kind: MethodKind.Unary;
153
- readonly I: typeof ListPoolsRequest;
154
- readonly O: typeof ListPoolsResponse;
155
- readonly service: {
156
- readonly typeName: "data.v1.DataApiService";
157
- };
158
- };
159
146
  /**
160
147
  * @generated from rpc data.v1.DataApiService.GetRewards
161
148
  */
@@ -195,19 +182,6 @@ export declare const getPoolRewards: {
195
182
  readonly typeName: "data.v1.DataApiService";
196
183
  };
197
184
  };
198
- /**
199
- * @generated from rpc data.v1.DataApiService.ListTopPools
200
- */
201
- export declare const listTopPools: {
202
- readonly localName: "listTopPools";
203
- readonly name: "ListTopPools";
204
- readonly kind: MethodKind.Unary;
205
- readonly I: typeof ListTopPoolsRequest;
206
- readonly O: typeof ListTopPoolsResponse;
207
- readonly service: {
208
- readonly typeName: "data.v1.DataApiService";
209
- };
210
- };
211
185
  /**
212
186
  * @generated from rpc data.v1.DataApiService.ListTokens
213
187
  */
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodKind } from "@bufbuild/protobuf";
6
- import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPoolRewardsRequest, GetPoolRewardsResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRewardsRequest, GetPositionRewardsResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse, VerifyTokenFactoryImageRequest, VerifyTokenFactoryImageResponse } from "./api_pb.js";
6
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPoolRewardsRequest, GetPoolRewardsResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRewardsRequest, GetPositionRewardsResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse, VerifyTokenFactoryImageRequest, VerifyTokenFactoryImageResponse } from "./api_pb.js";
7
7
  /**
8
8
  * @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
9
9
  */
@@ -147,19 +147,6 @@ export const verifyTokenFactoryImage = {
147
147
  typeName: "data.v1.DataApiService"
148
148
  }
149
149
  };
150
- /**
151
- * @generated from rpc data.v1.DataApiService.ListPools
152
- */
153
- export const listPools = {
154
- localName: "listPools",
155
- name: "ListPools",
156
- kind: MethodKind.Unary,
157
- I: ListPoolsRequest,
158
- O: ListPoolsResponse,
159
- service: {
160
- typeName: "data.v1.DataApiService"
161
- }
162
- };
163
150
  /**
164
151
  * @generated from rpc data.v1.DataApiService.GetRewards
165
152
  */
@@ -199,19 +186,6 @@ export const getPoolRewards = {
199
186
  typeName: "data.v1.DataApiService"
200
187
  }
201
188
  };
202
- /**
203
- * @generated from rpc data.v1.DataApiService.ListTopPools
204
- */
205
- export const listTopPools = {
206
- localName: "listTopPools",
207
- name: "ListTopPools",
208
- kind: MethodKind.Unary,
209
- I: ListTopPoolsRequest,
210
- O: ListTopPoolsResponse,
211
- service: {
212
- typeName: "data.v1.DataApiService"
213
- }
214
- };
215
189
  /**
216
190
  * @generated from rpc data.v1.DataApiService.ListTokens
217
191
  */
@@ -1,4 +1,4 @@
1
- import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPoolRewardsRequest, GetPoolRewardsResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRewardsRequest, GetPositionRewardsResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse, VerifyTokenFactoryImageRequest, VerifyTokenFactoryImageResponse } from "./api_pb.js";
1
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPoolRewardsRequest, GetPoolRewardsResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRewardsRequest, GetPositionRewardsResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse, VerifyTokenFactoryImageRequest, VerifyTokenFactoryImageResponse } from "./api_pb.js";
2
2
  import { MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from service data.v1.DataApiService
@@ -105,15 +105,6 @@ export declare const DataApiService: {
105
105
  readonly O: typeof VerifyTokenFactoryImageResponse;
106
106
  readonly kind: MethodKind.Unary;
107
107
  };
108
- /**
109
- * @generated from rpc data.v1.DataApiService.ListPools
110
- */
111
- readonly listPools: {
112
- readonly name: "ListPools";
113
- readonly I: typeof ListPoolsRequest;
114
- readonly O: typeof ListPoolsResponse;
115
- readonly kind: MethodKind.Unary;
116
- };
117
108
  /**
118
109
  * @generated from rpc data.v1.DataApiService.GetRewards
119
110
  */
@@ -141,15 +132,6 @@ export declare const DataApiService: {
141
132
  readonly O: typeof GetPoolRewardsResponse;
142
133
  readonly kind: MethodKind.Unary;
143
134
  };
144
- /**
145
- * @generated from rpc data.v1.DataApiService.ListTopPools
146
- */
147
- readonly listTopPools: {
148
- readonly name: "ListTopPools";
149
- readonly I: typeof ListTopPoolsRequest;
150
- readonly O: typeof ListTopPoolsResponse;
151
- readonly kind: MethodKind.Unary;
152
- };
153
135
  /**
154
136
  * @generated from rpc data.v1.DataApiService.ListTokens
155
137
  */
@@ -2,7 +2,7 @@
2
2
  // @generated from file data/v1/api.proto (package data.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPoolRewardsRequest, GetPoolRewardsResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRewardsRequest, GetPositionRewardsResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse, VerifyTokenFactoryImageRequest, VerifyTokenFactoryImageResponse } from "./api_pb.js";
5
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPoolRewardsRequest, GetPoolRewardsResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRewardsRequest, GetPositionRewardsResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse, VerifyTokenFactoryImageRequest, VerifyTokenFactoryImageResponse } from "./api_pb.js";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * @generated from service data.v1.DataApiService
@@ -109,15 +109,6 @@ export const DataApiService = {
109
109
  O: VerifyTokenFactoryImageResponse,
110
110
  kind: MethodKind.Unary,
111
111
  },
112
- /**
113
- * @generated from rpc data.v1.DataApiService.ListPools
114
- */
115
- listPools: {
116
- name: "ListPools",
117
- I: ListPoolsRequest,
118
- O: ListPoolsResponse,
119
- kind: MethodKind.Unary,
120
- },
121
112
  /**
122
113
  * @generated from rpc data.v1.DataApiService.GetRewards
123
114
  */
@@ -145,15 +136,6 @@ export const DataApiService = {
145
136
  O: GetPoolRewardsResponse,
146
137
  kind: MethodKind.Unary,
147
138
  },
148
- /**
149
- * @generated from rpc data.v1.DataApiService.ListTopPools
150
- */
151
- listTopPools: {
152
- name: "ListTopPools",
153
- I: ListTopPoolsRequest,
154
- O: ListTopPoolsResponse,
155
- kind: MethodKind.Unary,
156
- },
157
139
  /**
158
140
  * @generated from rpc data.v1.DataApiService.ListTokens
159
141
  */
@@ -1,7 +1,7 @@
1
1
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
2
  import { Message, proto3 } from "@bufbuild/protobuf";
3
- import { ChainTokenProfitLoss, Contract, MultichainToken, MultichainTokenProfitLoss, Pool as Pool$1, PoolRef, Portfolio, PortfolioValueModifier, Token, TokenDetailProfitLoss, TokenProfitLoss, TokenReportEventType, Transaction, TransactionTypeFilter, WalletProfitLoss } from "./types_pb.js";
4
- import { Pool, ProtocolVersion, RewardBalance, Token as Token$1 } from "./poolTypes_pb.js";
3
+ import { ChainTokenProfitLoss, Contract, MultichainToken, MultichainTokenProfitLoss, PoolRef, Portfolio, PortfolioValueModifier, Token, TokenDetailProfitLoss, TokenProfitLoss, TokenReportEventType, Transaction, TransactionTypeFilter, WalletProfitLoss } from "./types_pb.js";
4
+ import { RewardBalance, Token as Token$1 } from "./poolTypes_pb.js";
5
5
  /**
6
6
  * @generated from enum data.v1.Platform
7
7
  */
@@ -15,35 +15,6 @@ export declare enum Platform {
15
15
  */
16
16
  SVM = 1
17
17
  }
18
- /**
19
- * @generated from enum data.v1.TopPoolsOrderBy
20
- */
21
- export declare enum TopPoolsOrderBy {
22
- /**
23
- * @generated from enum value: TOP_POOLS_ORDER_BY_UNSPECIFIED = 0;
24
- */
25
- UNSPECIFIED = 0,
26
- /**
27
- * @generated from enum value: TOP_POOLS_ORDER_BY_TVL = 1;
28
- */
29
- TVL = 1,
30
- /**
31
- * @generated from enum value: TOP_POOLS_ORDER_BY_VOLUME_1D = 2;
32
- */
33
- VOLUME_1D = 2,
34
- /**
35
- * @generated from enum value: TOP_POOLS_ORDER_BY_VOLUME_30D = 3;
36
- */
37
- VOLUME_30D = 3,
38
- /**
39
- * @generated from enum value: TOP_POOLS_ORDER_BY_APR = 4;
40
- */
41
- APR = 4,
42
- /**
43
- * @generated from enum value: TOP_POOLS_ORDER_BY_REWARD_APR = 5;
44
- */
45
- REWARD_APR = 5
46
- }
47
18
  /**
48
19
  * @generated from enum data.v1.TokensOrderBy
49
20
  */
@@ -824,84 +795,6 @@ export declare enum VerifyTokenFactoryImageResponse_Status {
824
795
  */
825
796
  BLOCKED = 2
826
797
  }
827
- /**
828
- * @generated from message data.v1.ListPoolsRequest
829
- */
830
- export declare class ListPoolsRequest extends Message<ListPoolsRequest> {
831
- /**
832
- * @generated from field: uint32 chain_id = 1;
833
- */
834
- chainId: number;
835
- /**
836
- * @generated from field: string token0 = 2;
837
- */
838
- token0: string;
839
- /**
840
- * @generated from field: optional string token1 = 3;
841
- */
842
- token1?: string;
843
- /**
844
- * @generated from field: repeated pools.v1.ProtocolVersion protocol_versions = 4;
845
- */
846
- protocolVersions: ProtocolVersion[];
847
- /**
848
- * @generated from field: optional uint32 fee = 5;
849
- */
850
- fee?: number;
851
- /**
852
- * @generated from field: optional int32 tick_spacing = 6;
853
- */
854
- tickSpacing?: number;
855
- /**
856
- * @generated from field: optional string hooks = 7;
857
- */
858
- hooks?: string;
859
- /**
860
- * @generated from field: optional uint32 page_size = 8;
861
- */
862
- pageSize?: number;
863
- /**
864
- * @generated from field: optional string page_token = 9;
865
- */
866
- pageToken?: string;
867
- /**
868
- * @generated from field: optional bool include_volume_30d = 10;
869
- */
870
- includeVolume30d?: boolean;
871
- /**
872
- * @generated from field: optional bool filter_spam = 11;
873
- */
874
- filterSpam?: boolean;
875
- constructor(data?: PartialMessage<ListPoolsRequest>);
876
- static readonly runtime: typeof proto3;
877
- static readonly typeName = "data.v1.ListPoolsRequest";
878
- static readonly fields: FieldList;
879
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListPoolsRequest;
880
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListPoolsRequest;
881
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListPoolsRequest;
882
- static equals(a: ListPoolsRequest | PlainMessage<ListPoolsRequest> | undefined, b: ListPoolsRequest | PlainMessage<ListPoolsRequest> | undefined): boolean;
883
- }
884
- /**
885
- * @generated from message data.v1.ListPoolsResponse
886
- */
887
- export declare class ListPoolsResponse extends Message<ListPoolsResponse> {
888
- /**
889
- * @generated from field: repeated pools.v1.Pool pools = 1;
890
- */
891
- pools: Pool[];
892
- /**
893
- * @generated from field: optional string next_page_token = 2;
894
- */
895
- nextPageToken?: string;
896
- constructor(data?: PartialMessage<ListPoolsResponse>);
897
- static readonly runtime: typeof proto3;
898
- static readonly typeName = "data.v1.ListPoolsResponse";
899
- static readonly fields: FieldList;
900
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListPoolsResponse;
901
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListPoolsResponse;
902
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListPoolsResponse;
903
- static equals(a: ListPoolsResponse | PlainMessage<ListPoolsResponse> | undefined, b: ListPoolsResponse | PlainMessage<ListPoolsResponse> | undefined): boolean;
904
- }
905
798
  /**
906
799
  * @generated from message data.v1.GetRewardsRequest
907
800
  */
@@ -1292,66 +1185,6 @@ export declare class GetRewardsResponse extends Message<GetRewardsResponse> {
1292
1185
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRewardsResponse;
1293
1186
  static equals(a: GetRewardsResponse | PlainMessage<GetRewardsResponse> | undefined, b: GetRewardsResponse | PlainMessage<GetRewardsResponse> | undefined): boolean;
1294
1187
  }
1295
- /**
1296
- * @generated from message data.v1.ListTopPoolsRequest
1297
- */
1298
- export declare class ListTopPoolsRequest extends Message<ListTopPoolsRequest> {
1299
- /**
1300
- * @generated from field: repeated uint32 chain_ids = 1;
1301
- */
1302
- chainIds: number[];
1303
- /**
1304
- * @generated from field: repeated pools.v1.ProtocolVersion protocol_versions = 2;
1305
- */
1306
- protocolVersions: ProtocolVersion[];
1307
- /**
1308
- * @generated from field: optional data.v1.TopPoolsOrderBy order_by = 3;
1309
- */
1310
- orderBy?: TopPoolsOrderBy;
1311
- /**
1312
- * default false
1313
- *
1314
- * @generated from field: optional bool ascending = 4;
1315
- */
1316
- ascending?: boolean;
1317
- /**
1318
- * @generated from field: optional uint32 page_size = 5;
1319
- */
1320
- pageSize?: number;
1321
- /**
1322
- * @generated from field: optional string page_token = 6;
1323
- */
1324
- pageToken?: string;
1325
- constructor(data?: PartialMessage<ListTopPoolsRequest>);
1326
- static readonly runtime: typeof proto3;
1327
- static readonly typeName = "data.v1.ListTopPoolsRequest";
1328
- static readonly fields: FieldList;
1329
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListTopPoolsRequest;
1330
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListTopPoolsRequest;
1331
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTopPoolsRequest;
1332
- static equals(a: ListTopPoolsRequest | PlainMessage<ListTopPoolsRequest> | undefined, b: ListTopPoolsRequest | PlainMessage<ListTopPoolsRequest> | undefined): boolean;
1333
- }
1334
- /**
1335
- * @generated from message data.v1.ListTopPoolsResponse
1336
- */
1337
- export declare class ListTopPoolsResponse extends Message<ListTopPoolsResponse> {
1338
- /**
1339
- * @generated from field: repeated data.v1.Pool pools = 1;
1340
- */
1341
- pools: Pool$1[];
1342
- /**
1343
- * @generated from field: optional string next_page_token = 2;
1344
- */
1345
- nextPageToken?: string;
1346
- constructor(data?: PartialMessage<ListTopPoolsResponse>);
1347
- static readonly runtime: typeof proto3;
1348
- static readonly typeName = "data.v1.ListTopPoolsResponse";
1349
- static readonly fields: FieldList;
1350
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListTopPoolsResponse;
1351
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListTopPoolsResponse;
1352
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTopPoolsResponse;
1353
- static equals(a: ListTopPoolsResponse | PlainMessage<ListTopPoolsResponse> | undefined, b: ListTopPoolsResponse | PlainMessage<ListTopPoolsResponse> | undefined): boolean;
1354
- }
1355
1188
  /**
1356
1189
  * @generated from message data.v1.ListTokensRequest
1357
1190
  */
@@ -3,8 +3,8 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
6
- import { ChainTokenProfitLoss, Contract, MultichainToken, MultichainTokenProfitLoss, Pool as Pool$1, PoolRef, Portfolio, PortfolioValueModifier, Token, TokenDetailProfitLoss, TokenProfitLoss, TokenReportEventType, Transaction, TransactionTypeFilter, WalletProfitLoss } from "./types_pb.js";
7
- import { Pool, ProtocolVersion, RewardBalance, Token as Token$1 } from "./poolTypes_pb.js";
6
+ import { ChainTokenProfitLoss, Contract, MultichainToken, MultichainTokenProfitLoss, PoolRef, Portfolio, PortfolioValueModifier, Token, TokenDetailProfitLoss, TokenProfitLoss, TokenReportEventType, Transaction, TransactionTypeFilter, WalletProfitLoss } from "./types_pb.js";
7
+ import { RewardBalance, Token as Token$1 } from "./poolTypes_pb.js";
8
8
  /**
9
9
  * @generated from enum data.v1.Platform
10
10
  */
@@ -24,45 +24,6 @@ proto3.util.setEnumType(Platform, "data.v1.Platform", [
24
24
  { no: 0, name: "EVM" },
25
25
  { no: 1, name: "SVM" },
26
26
  ]);
27
- /**
28
- * @generated from enum data.v1.TopPoolsOrderBy
29
- */
30
- export var TopPoolsOrderBy;
31
- (function (TopPoolsOrderBy) {
32
- /**
33
- * @generated from enum value: TOP_POOLS_ORDER_BY_UNSPECIFIED = 0;
34
- */
35
- TopPoolsOrderBy[TopPoolsOrderBy["UNSPECIFIED"] = 0] = "UNSPECIFIED";
36
- /**
37
- * @generated from enum value: TOP_POOLS_ORDER_BY_TVL = 1;
38
- */
39
- TopPoolsOrderBy[TopPoolsOrderBy["TVL"] = 1] = "TVL";
40
- /**
41
- * @generated from enum value: TOP_POOLS_ORDER_BY_VOLUME_1D = 2;
42
- */
43
- TopPoolsOrderBy[TopPoolsOrderBy["VOLUME_1D"] = 2] = "VOLUME_1D";
44
- /**
45
- * @generated from enum value: TOP_POOLS_ORDER_BY_VOLUME_30D = 3;
46
- */
47
- TopPoolsOrderBy[TopPoolsOrderBy["VOLUME_30D"] = 3] = "VOLUME_30D";
48
- /**
49
- * @generated from enum value: TOP_POOLS_ORDER_BY_APR = 4;
50
- */
51
- TopPoolsOrderBy[TopPoolsOrderBy["APR"] = 4] = "APR";
52
- /**
53
- * @generated from enum value: TOP_POOLS_ORDER_BY_REWARD_APR = 5;
54
- */
55
- TopPoolsOrderBy[TopPoolsOrderBy["REWARD_APR"] = 5] = "REWARD_APR";
56
- })(TopPoolsOrderBy || (TopPoolsOrderBy = {}));
57
- // Retrieve enum metadata with: proto3.getEnumType(TopPoolsOrderBy)
58
- proto3.util.setEnumType(TopPoolsOrderBy, "data.v1.TopPoolsOrderBy", [
59
- { no: 0, name: "TOP_POOLS_ORDER_BY_UNSPECIFIED" },
60
- { no: 1, name: "TOP_POOLS_ORDER_BY_TVL" },
61
- { no: 2, name: "TOP_POOLS_ORDER_BY_VOLUME_1D" },
62
- { no: 3, name: "TOP_POOLS_ORDER_BY_VOLUME_30D" },
63
- { no: 4, name: "TOP_POOLS_ORDER_BY_APR" },
64
- { no: 5, name: "TOP_POOLS_ORDER_BY_REWARD_APR" },
65
- ]);
66
27
  /**
67
28
  * @generated from enum data.v1.TokensOrderBy
68
29
  */
@@ -1169,85 +1130,6 @@ proto3.util.setEnumType(VerifyTokenFactoryImageResponse_Status, "data.v1.VerifyT
1169
1130
  { no: 1, name: "STATUS_APPROVED" },
1170
1131
  { no: 2, name: "STATUS_BLOCKED" },
1171
1132
  ]);
1172
- /**
1173
- * @generated from message data.v1.ListPoolsRequest
1174
- */
1175
- export class ListPoolsRequest extends Message {
1176
- constructor(data) {
1177
- super();
1178
- /**
1179
- * @generated from field: uint32 chain_id = 1;
1180
- */
1181
- this.chainId = 0;
1182
- /**
1183
- * @generated from field: string token0 = 2;
1184
- */
1185
- this.token0 = "";
1186
- /**
1187
- * @generated from field: repeated pools.v1.ProtocolVersion protocol_versions = 4;
1188
- */
1189
- this.protocolVersions = [];
1190
- proto3.util.initPartial(data, this);
1191
- }
1192
- static fromBinary(bytes, options) {
1193
- return new ListPoolsRequest().fromBinary(bytes, options);
1194
- }
1195
- static fromJson(jsonValue, options) {
1196
- return new ListPoolsRequest().fromJson(jsonValue, options);
1197
- }
1198
- static fromJsonString(jsonString, options) {
1199
- return new ListPoolsRequest().fromJsonString(jsonString, options);
1200
- }
1201
- static equals(a, b) {
1202
- return proto3.util.equals(ListPoolsRequest, a, b);
1203
- }
1204
- }
1205
- ListPoolsRequest.runtime = proto3;
1206
- ListPoolsRequest.typeName = "data.v1.ListPoolsRequest";
1207
- ListPoolsRequest.fields = proto3.util.newFieldList(() => [
1208
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1209
- { no: 2, name: "token0", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1210
- { no: 3, name: "token1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1211
- { no: 4, name: "protocol_versions", kind: "enum", T: proto3.getEnumType(ProtocolVersion), repeated: true },
1212
- { no: 5, name: "fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1213
- { no: 6, name: "tick_spacing", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
1214
- { no: 7, name: "hooks", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1215
- { no: 8, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1216
- { no: 9, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1217
- { no: 10, name: "include_volume_30d", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1218
- { no: 11, name: "filter_spam", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1219
- ]);
1220
- /**
1221
- * @generated from message data.v1.ListPoolsResponse
1222
- */
1223
- export class ListPoolsResponse extends Message {
1224
- constructor(data) {
1225
- super();
1226
- /**
1227
- * @generated from field: repeated pools.v1.Pool pools = 1;
1228
- */
1229
- this.pools = [];
1230
- proto3.util.initPartial(data, this);
1231
- }
1232
- static fromBinary(bytes, options) {
1233
- return new ListPoolsResponse().fromBinary(bytes, options);
1234
- }
1235
- static fromJson(jsonValue, options) {
1236
- return new ListPoolsResponse().fromJson(jsonValue, options);
1237
- }
1238
- static fromJsonString(jsonString, options) {
1239
- return new ListPoolsResponse().fromJsonString(jsonString, options);
1240
- }
1241
- static equals(a, b) {
1242
- return proto3.util.equals(ListPoolsResponse, a, b);
1243
- }
1244
- }
1245
- ListPoolsResponse.runtime = proto3;
1246
- ListPoolsResponse.typeName = "data.v1.ListPoolsResponse";
1247
- ListPoolsResponse.fields = proto3.util.newFieldList(() => [
1248
- { no: 1, name: "pools", kind: "message", T: Pool, repeated: true },
1249
- { no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1250
- ]);
1251
1133
  /**
1252
1134
  * @generated from message data.v1.GetRewardsRequest
1253
1135
  */
@@ -1798,76 +1680,6 @@ GetRewardsResponse.fields = proto3.util.newFieldList(() => [
1798
1680
  { no: 2, name: "reward_balances", kind: "message", T: RewardBalance, repeated: true },
1799
1681
  { no: 3, name: "total_unclaimed_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1800
1682
  ]);
1801
- /**
1802
- * @generated from message data.v1.ListTopPoolsRequest
1803
- */
1804
- export class ListTopPoolsRequest extends Message {
1805
- constructor(data) {
1806
- super();
1807
- /**
1808
- * @generated from field: repeated uint32 chain_ids = 1;
1809
- */
1810
- this.chainIds = [];
1811
- /**
1812
- * @generated from field: repeated pools.v1.ProtocolVersion protocol_versions = 2;
1813
- */
1814
- this.protocolVersions = [];
1815
- proto3.util.initPartial(data, this);
1816
- }
1817
- static fromBinary(bytes, options) {
1818
- return new ListTopPoolsRequest().fromBinary(bytes, options);
1819
- }
1820
- static fromJson(jsonValue, options) {
1821
- return new ListTopPoolsRequest().fromJson(jsonValue, options);
1822
- }
1823
- static fromJsonString(jsonString, options) {
1824
- return new ListTopPoolsRequest().fromJsonString(jsonString, options);
1825
- }
1826
- static equals(a, b) {
1827
- return proto3.util.equals(ListTopPoolsRequest, a, b);
1828
- }
1829
- }
1830
- ListTopPoolsRequest.runtime = proto3;
1831
- ListTopPoolsRequest.typeName = "data.v1.ListTopPoolsRequest";
1832
- ListTopPoolsRequest.fields = proto3.util.newFieldList(() => [
1833
- { no: 1, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
1834
- { no: 2, name: "protocol_versions", kind: "enum", T: proto3.getEnumType(ProtocolVersion), repeated: true },
1835
- { no: 3, name: "order_by", kind: "enum", T: proto3.getEnumType(TopPoolsOrderBy), opt: true },
1836
- { no: 4, name: "ascending", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1837
- { no: 5, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1838
- { no: 6, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1839
- ]);
1840
- /**
1841
- * @generated from message data.v1.ListTopPoolsResponse
1842
- */
1843
- export class ListTopPoolsResponse extends Message {
1844
- constructor(data) {
1845
- super();
1846
- /**
1847
- * @generated from field: repeated data.v1.Pool pools = 1;
1848
- */
1849
- this.pools = [];
1850
- proto3.util.initPartial(data, this);
1851
- }
1852
- static fromBinary(bytes, options) {
1853
- return new ListTopPoolsResponse().fromBinary(bytes, options);
1854
- }
1855
- static fromJson(jsonValue, options) {
1856
- return new ListTopPoolsResponse().fromJson(jsonValue, options);
1857
- }
1858
- static fromJsonString(jsonString, options) {
1859
- return new ListTopPoolsResponse().fromJsonString(jsonString, options);
1860
- }
1861
- static equals(a, b) {
1862
- return proto3.util.equals(ListTopPoolsResponse, a, b);
1863
- }
1864
- }
1865
- ListTopPoolsResponse.runtime = proto3;
1866
- ListTopPoolsResponse.typeName = "data.v1.ListTopPoolsResponse";
1867
- ListTopPoolsResponse.fields = proto3.util.newFieldList(() => [
1868
- { no: 1, name: "pools", kind: "message", T: Pool$1, repeated: true },
1869
- { no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1870
- ]);
1871
1683
  /**
1872
1684
  * @generated from message data.v1.ListTokensRequest
1873
1685
  */
@@ -419,118 +419,3 @@ export declare class V4Position extends Message<V4Position> {
419
419
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V4Position;
420
420
  static equals(a: V4Position | PlainMessage<V4Position> | undefined, b: V4Position | PlainMessage<V4Position> | undefined): boolean;
421
421
  }
422
- /**
423
- * @generated from message pools.v1.Pool
424
- */
425
- export declare class Pool extends Message<Pool> {
426
- /**
427
- * @generated from field: string pool_id = 1;
428
- */
429
- poolId: string;
430
- /**
431
- * @generated from field: string token0 = 2;
432
- */
433
- token0: string;
434
- /**
435
- * @generated from field: string token1 = 3;
436
- */
437
- token1: string;
438
- /**
439
- * @generated from field: int32 tick = 4;
440
- */
441
- tick: number;
442
- /**
443
- * @generated from field: string liquidity = 5;
444
- */
445
- liquidity: string;
446
- /**
447
- * @generated from field: string sqrt_price_x96 = 6;
448
- */
449
- sqrtPriceX96: string;
450
- /**
451
- * @generated from field: uint32 fee = 7;
452
- */
453
- fee: number;
454
- /**
455
- * @generated from field: int32 tick_spacing = 8;
456
- */
457
- tickSpacing: number;
458
- /**
459
- * @generated from field: optional pools.v1.Hook hooks = 9;
460
- */
461
- hooks?: Hook;
462
- /**
463
- * @generated from field: pools.v1.ProtocolVersion protocol_version = 10;
464
- */
465
- protocolVersion: ProtocolVersion;
466
- /**
467
- * @generated from field: uint32 chain_id = 11;
468
- */
469
- chainId: number;
470
- /**
471
- * @generated from field: bool is_dynamic_fee = 12;
472
- */
473
- isDynamicFee: boolean;
474
- /**
475
- * @generated from field: string total_liquidity_usd = 13;
476
- */
477
- totalLiquidityUsd: string;
478
- /**
479
- * @generated from field: float apr = 14;
480
- */
481
- apr: number;
482
- /**
483
- * @generated from field: float boosted_apr = 15;
484
- */
485
- boostedApr: number;
486
- /**
487
- * @generated from field: float total_apr = 16;
488
- */
489
- totalApr: number;
490
- /**
491
- * @generated from field: optional double volume_30d = 17;
492
- */
493
- volume30d?: number;
494
- /**
495
- * Protocol fee, same unit as `fee` (pips). v4: ADDITIVE on top of `fee`;
496
- * v2/v3: SUBTRACTIVE share of `fee` (distinguish by protocol_version).
497
- * Optional: unset when there's no on-chain value; a set 0 means off.
498
- *
499
- * @generated from field: optional uint32 protocol_fee = 18;
500
- */
501
- protocolFee?: number;
502
- /**
503
- * Effective (all-in) fee, same unit as `fee` (pips). v4: fee + protocol_fee;
504
- * v2/v3: equals `fee`. Optional: unset when protocol_fee is unavailable and
505
- * for v4 dynamic-fee pools (LP fee is per-swap).
506
- *
507
- * @generated from field: optional uint32 effective_fee = 19;
508
- */
509
- effectiveFee?: number;
510
- /**
511
- * Fee APR averaged over the trailing 1/7/30 calendar days (excludes reward
512
- * boosts). Set only when the request enables include_volume_30d — day-data
513
- * history is fetched only then; unset otherwise. Days without trades count
514
- * as zero volume; pools younger than a window average over their age
515
- * instead.
516
- *
517
- * @generated from field: optional double apr_1d = 20;
518
- */
519
- apr1d?: number;
520
- /**
521
- * @generated from field: optional double apr_7d = 21;
522
- */
523
- apr7d?: number;
524
- /**
525
- * @generated from field: optional double apr_30d = 22;
526
- */
527
- apr30d?: number;
528
- constructor(data?: PartialMessage<Pool>);
529
- static readonly runtime: typeof proto3;
530
- static readonly typeName = "pools.v1.Pool";
531
- static readonly fields: FieldList;
532
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Pool;
533
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Pool;
534
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Pool;
535
- static equals(a: Pool | PlainMessage<Pool> | undefined, b: Pool | PlainMessage<Pool> | undefined): boolean;
536
- }
@@ -484,110 +484,3 @@ V4Position.fields = proto3.util.newFieldList(() => [
484
484
  { no: 1, name: "pool_position", kind: "message", T: PoolPosition },
485
485
  { no: 2, name: "hooks", kind: "message", T: Hook, repeated: true },
486
486
  ]);
487
- /**
488
- * @generated from message pools.v1.Pool
489
- */
490
- export class Pool extends Message {
491
- constructor(data) {
492
- super();
493
- /**
494
- * @generated from field: string pool_id = 1;
495
- */
496
- this.poolId = "";
497
- /**
498
- * @generated from field: string token0 = 2;
499
- */
500
- this.token0 = "";
501
- /**
502
- * @generated from field: string token1 = 3;
503
- */
504
- this.token1 = "";
505
- /**
506
- * @generated from field: int32 tick = 4;
507
- */
508
- this.tick = 0;
509
- /**
510
- * @generated from field: string liquidity = 5;
511
- */
512
- this.liquidity = "";
513
- /**
514
- * @generated from field: string sqrt_price_x96 = 6;
515
- */
516
- this.sqrtPriceX96 = "";
517
- /**
518
- * @generated from field: uint32 fee = 7;
519
- */
520
- this.fee = 0;
521
- /**
522
- * @generated from field: int32 tick_spacing = 8;
523
- */
524
- this.tickSpacing = 0;
525
- /**
526
- * @generated from field: pools.v1.ProtocolVersion protocol_version = 10;
527
- */
528
- this.protocolVersion = ProtocolVersion.UNSPECIFIED;
529
- /**
530
- * @generated from field: uint32 chain_id = 11;
531
- */
532
- this.chainId = 0;
533
- /**
534
- * @generated from field: bool is_dynamic_fee = 12;
535
- */
536
- this.isDynamicFee = false;
537
- /**
538
- * @generated from field: string total_liquidity_usd = 13;
539
- */
540
- this.totalLiquidityUsd = "";
541
- /**
542
- * @generated from field: float apr = 14;
543
- */
544
- this.apr = 0;
545
- /**
546
- * @generated from field: float boosted_apr = 15;
547
- */
548
- this.boostedApr = 0;
549
- /**
550
- * @generated from field: float total_apr = 16;
551
- */
552
- this.totalApr = 0;
553
- proto3.util.initPartial(data, this);
554
- }
555
- static fromBinary(bytes, options) {
556
- return new Pool().fromBinary(bytes, options);
557
- }
558
- static fromJson(jsonValue, options) {
559
- return new Pool().fromJson(jsonValue, options);
560
- }
561
- static fromJsonString(jsonString, options) {
562
- return new Pool().fromJsonString(jsonString, options);
563
- }
564
- static equals(a, b) {
565
- return proto3.util.equals(Pool, a, b);
566
- }
567
- }
568
- Pool.runtime = proto3;
569
- Pool.typeName = "pools.v1.Pool";
570
- Pool.fields = proto3.util.newFieldList(() => [
571
- { no: 1, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
572
- { no: 2, name: "token0", kind: "scalar", T: 9 /* ScalarType.STRING */ },
573
- { no: 3, name: "token1", kind: "scalar", T: 9 /* ScalarType.STRING */ },
574
- { no: 4, name: "tick", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
575
- { no: 5, name: "liquidity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
576
- { no: 6, name: "sqrt_price_x96", kind: "scalar", T: 9 /* ScalarType.STRING */ },
577
- { no: 7, name: "fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
578
- { no: 8, name: "tick_spacing", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
579
- { no: 9, name: "hooks", kind: "message", T: Hook, opt: true },
580
- { no: 10, name: "protocol_version", kind: "enum", T: proto3.getEnumType(ProtocolVersion) },
581
- { no: 11, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
582
- { no: 12, name: "is_dynamic_fee", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
583
- { no: 13, name: "total_liquidity_usd", kind: "scalar", T: 9 /* ScalarType.STRING */ },
584
- { no: 14, name: "apr", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
585
- { no: 15, name: "boosted_apr", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
586
- { no: 16, name: "total_apr", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
587
- { no: 17, name: "volume_30d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
588
- { no: 18, name: "protocol_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
589
- { no: 19, name: "effective_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
590
- { no: 20, name: "apr_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
591
- { no: 21, name: "apr_7d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
592
- { no: 22, name: "apr_30d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
593
- ]);
@@ -1,7 +1,6 @@
1
1
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
2
  import { Message, proto3 } from "@bufbuild/protobuf";
3
3
  import { EarnPlanAction, PlanStatus, PlanStepStatus, SwapType } from "./plan_pb.js";
4
- import { ProtocolVersion } from "./poolTypes_pb.js";
5
4
  /**
6
5
  * @generated from enum data.v1.TokenType
7
6
  */
@@ -1806,92 +1805,6 @@ export declare class TransactionFee extends Message<TransactionFee> {
1806
1805
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TransactionFee;
1807
1806
  static equals(a: TransactionFee | PlainMessage<TransactionFee> | undefined, b: TransactionFee | PlainMessage<TransactionFee> | undefined): boolean;
1808
1807
  }
1809
- /**
1810
- * @generated from message data.v1.PoolStats
1811
- */
1812
- export declare class PoolStats extends Message<PoolStats> {
1813
- /**
1814
- * @generated from field: optional double tvl = 1;
1815
- */
1816
- tvl?: number;
1817
- /**
1818
- * @generated from field: optional double volume_1d = 2;
1819
- */
1820
- volume1d?: number;
1821
- /**
1822
- * @generated from field: optional double volume_30d = 3;
1823
- */
1824
- volume30d?: number;
1825
- /**
1826
- * @generated from field: optional float apr = 4;
1827
- */
1828
- apr?: number;
1829
- /**
1830
- * @generated from field: optional float reward_apr = 5;
1831
- */
1832
- rewardApr?: number;
1833
- /**
1834
- * @generated from field: optional float total_apr = 6;
1835
- */
1836
- totalApr?: number;
1837
- constructor(data?: PartialMessage<PoolStats>);
1838
- static readonly runtime: typeof proto3;
1839
- static readonly typeName = "data.v1.PoolStats";
1840
- static readonly fields: FieldList;
1841
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolStats;
1842
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolStats;
1843
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolStats;
1844
- static equals(a: PoolStats | PlainMessage<PoolStats> | undefined, b: PoolStats | PlainMessage<PoolStats> | undefined): boolean;
1845
- }
1846
- /**
1847
- * @generated from message data.v1.Pool
1848
- */
1849
- export declare class Pool extends Message<Pool> {
1850
- /**
1851
- * @generated from field: uint32 chain_id = 1;
1852
- */
1853
- chainId: number;
1854
- /**
1855
- * @generated from field: string pool_id = 2;
1856
- */
1857
- poolId: string;
1858
- /**
1859
- * @generated from field: data.v1.Token token0 = 3;
1860
- */
1861
- token0?: Token;
1862
- /**
1863
- * @generated from field: data.v1.Token token1 = 4;
1864
- */
1865
- token1?: Token;
1866
- /**
1867
- * @generated from field: pools.v1.ProtocolVersion protocol_version = 5;
1868
- */
1869
- protocolVersion: ProtocolVersion;
1870
- /**
1871
- * @generated from field: uint32 fee_tier = 6;
1872
- */
1873
- feeTier: number;
1874
- /**
1875
- * @generated from field: bool is_dynamic_fee = 7;
1876
- */
1877
- isDynamicFee: boolean;
1878
- /**
1879
- * @generated from field: optional string hook_address = 8;
1880
- */
1881
- hookAddress?: string;
1882
- /**
1883
- * @generated from field: data.v1.PoolStats stats = 9;
1884
- */
1885
- stats?: PoolStats;
1886
- constructor(data?: PartialMessage<Pool>);
1887
- static readonly runtime: typeof proto3;
1888
- static readonly typeName = "data.v1.Pool";
1889
- static readonly fields: FieldList;
1890
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Pool;
1891
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Pool;
1892
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Pool;
1893
- static equals(a: Pool | PlainMessage<Pool> | undefined, b: Pool | PlainMessage<Pool> | undefined): boolean;
1894
- }
1895
1808
  /**
1896
1809
  * @generated from message data.v1.TimestampedValue
1897
1810
  */
@@ -4,7 +4,6 @@
4
4
  // @ts-nocheck
5
5
  import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
6
6
  import { EarnPlanAction, PlanStatus, PlanStepStatus, SwapType } from "./plan_pb.js";
7
- import { ProtocolVersion } from "./poolTypes_pb.js";
8
7
  /**
9
8
  * @generated from enum data.v1.TokenType
10
9
  */
@@ -2266,91 +2265,6 @@ TransactionFee.fields = proto3.util.newFieldList(() => [
2266
2265
  { no: 3, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2267
2266
  { no: 4, name: "decimals", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
2268
2267
  ]);
2269
- /**
2270
- * @generated from message data.v1.PoolStats
2271
- */
2272
- export class PoolStats extends Message {
2273
- constructor(data) {
2274
- super();
2275
- proto3.util.initPartial(data, this);
2276
- }
2277
- static fromBinary(bytes, options) {
2278
- return new PoolStats().fromBinary(bytes, options);
2279
- }
2280
- static fromJson(jsonValue, options) {
2281
- return new PoolStats().fromJson(jsonValue, options);
2282
- }
2283
- static fromJsonString(jsonString, options) {
2284
- return new PoolStats().fromJsonString(jsonString, options);
2285
- }
2286
- static equals(a, b) {
2287
- return proto3.util.equals(PoolStats, a, b);
2288
- }
2289
- }
2290
- PoolStats.runtime = proto3;
2291
- PoolStats.typeName = "data.v1.PoolStats";
2292
- PoolStats.fields = proto3.util.newFieldList(() => [
2293
- { no: 1, name: "tvl", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2294
- { no: 2, name: "volume_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2295
- { no: 3, name: "volume_30d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2296
- { no: 4, name: "apr", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
2297
- { no: 5, name: "reward_apr", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
2298
- { no: 6, name: "total_apr", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
2299
- ]);
2300
- /**
2301
- * @generated from message data.v1.Pool
2302
- */
2303
- export class Pool extends Message {
2304
- constructor(data) {
2305
- super();
2306
- /**
2307
- * @generated from field: uint32 chain_id = 1;
2308
- */
2309
- this.chainId = 0;
2310
- /**
2311
- * @generated from field: string pool_id = 2;
2312
- */
2313
- this.poolId = "";
2314
- /**
2315
- * @generated from field: pools.v1.ProtocolVersion protocol_version = 5;
2316
- */
2317
- this.protocolVersion = ProtocolVersion.UNSPECIFIED;
2318
- /**
2319
- * @generated from field: uint32 fee_tier = 6;
2320
- */
2321
- this.feeTier = 0;
2322
- /**
2323
- * @generated from field: bool is_dynamic_fee = 7;
2324
- */
2325
- this.isDynamicFee = false;
2326
- proto3.util.initPartial(data, this);
2327
- }
2328
- static fromBinary(bytes, options) {
2329
- return new Pool().fromBinary(bytes, options);
2330
- }
2331
- static fromJson(jsonValue, options) {
2332
- return new Pool().fromJson(jsonValue, options);
2333
- }
2334
- static fromJsonString(jsonString, options) {
2335
- return new Pool().fromJsonString(jsonString, options);
2336
- }
2337
- static equals(a, b) {
2338
- return proto3.util.equals(Pool, a, b);
2339
- }
2340
- }
2341
- Pool.runtime = proto3;
2342
- Pool.typeName = "data.v1.Pool";
2343
- Pool.fields = proto3.util.newFieldList(() => [
2344
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
2345
- { no: 2, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2346
- { no: 3, name: "token0", kind: "message", T: Token },
2347
- { no: 4, name: "token1", kind: "message", T: Token },
2348
- { no: 5, name: "protocol_version", kind: "enum", T: proto3.getEnumType(ProtocolVersion) },
2349
- { no: 6, name: "fee_tier", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
2350
- { no: 7, name: "is_dynamic_fee", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2351
- { no: 8, name: "hook_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2352
- { no: 9, name: "stats", kind: "message", T: PoolStats },
2353
- ]);
2354
2268
  /**
2355
2269
  * @generated from message data.v1.TimestampedValue
2356
2270
  */
@@ -21,7 +21,7 @@ export declare enum CategoryClass {
21
21
  */
22
22
  ASSET = 2,
23
23
  /**
24
- * Sector taxonomy (e.g. DeFi, Gaming, AI Agents).
24
+ * Sector taxonomy (e.g. DeFi, Gaming, AI).
25
25
  *
26
26
  * @generated from enum value: CATEGORY_CLASS_SECTOR = 3;
27
27
  */
@@ -25,7 +25,7 @@ export var CategoryClass;
25
25
  */
26
26
  CategoryClass[CategoryClass["ASSET"] = 2] = "ASSET";
27
27
  /**
28
- * Sector taxonomy (e.g. DeFi, Gaming, AI Agents).
28
+ * Sector taxonomy (e.g. DeFi, Gaming, AI).
29
29
  *
30
30
  * @generated from enum value: CATEGORY_CLASS_SECTOR = 3;
31
31
  */
@@ -578,11 +578,10 @@ export declare class TokenListFilter extends Message<TokenListFilter> {
578
578
  */
579
579
  applyTopLevelFilters?: boolean;
580
580
  /**
581
- * Currently ignored (may be honored in the future): ListTokens always
582
- * drops tokenized real-world assets — ListRwas / ListRwaTokens serve them
583
- * instead. An asset is dropped if any of its chain deployments is known to
584
- * be an RWA; assets not yet classified are kept. EVM only — Solana RWAs
585
- * are not yet flagged.
581
+ * Drops tokenized real-world assets from the ranking. Off by default, so
582
+ * RWAs rank alongside every other token. An asset is dropped if any of its
583
+ * chain deployments is known to be an RWA; assets not yet classified are
584
+ * kept. EVM only: Solana RWAs are not yet flagged.
586
585
  *
587
586
  * @generated from field: optional bool exclude_rwas = 5;
588
587
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.255",
3
+ "version": "0.0.257",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },