@uniswap/client-data-api 0.0.67 → 0.0.69

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, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
2
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
3
3
  /**
4
4
  * @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
5
5
  */
@@ -299,3 +299,16 @@ export declare const getWalletTokenProfitLoss: {
299
299
  readonly typeName: "data.v1.DataApiService";
300
300
  };
301
301
  };
302
+ /**
303
+ * @generated from rpc data.v1.DataApiService.SubmitDataReport
304
+ */
305
+ export declare const submitDataReport: {
306
+ readonly localName: "submitDataReport";
307
+ readonly name: "SubmitDataReport";
308
+ readonly kind: MethodKind.Unary;
309
+ readonly I: typeof SubmitDataReportRequest;
310
+ readonly O: typeof SubmitDataReportResponse;
311
+ readonly service: {
312
+ readonly typeName: "data.v1.DataApiService";
313
+ };
314
+ };
@@ -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, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
6
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
7
7
  /**
8
8
  * @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
9
9
  */
@@ -303,3 +303,16 @@ export const getWalletTokenProfitLoss = {
303
303
  typeName: "data.v1.DataApiService"
304
304
  }
305
305
  };
306
+ /**
307
+ * @generated from rpc data.v1.DataApiService.SubmitDataReport
308
+ */
309
+ export const submitDataReport = {
310
+ localName: "submitDataReport",
311
+ name: "SubmitDataReport",
312
+ kind: MethodKind.Unary,
313
+ I: SubmitDataReportRequest,
314
+ O: SubmitDataReportResponse,
315
+ service: {
316
+ typeName: "data.v1.DataApiService"
317
+ }
318
+ };
@@ -1,4 +1,4 @@
1
- import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
1
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
2
2
  import { MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from service data.v1.DataApiService
@@ -213,5 +213,14 @@ export declare const DataApiService: {
213
213
  readonly O: typeof GetWalletTokenProfitLossResponse;
214
214
  readonly kind: MethodKind.Unary;
215
215
  };
216
+ /**
217
+ * @generated from rpc data.v1.DataApiService.SubmitDataReport
218
+ */
219
+ readonly submitDataReport: {
220
+ readonly name: "SubmitDataReport";
221
+ readonly I: typeof SubmitDataReportRequest;
222
+ readonly O: typeof SubmitDataReportResponse;
223
+ readonly kind: MethodKind.Unary;
224
+ };
216
225
  };
217
226
  };
@@ -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, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
5
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * @generated from service data.v1.DataApiService
@@ -217,5 +217,14 @@ export const DataApiService = {
217
217
  O: GetWalletTokenProfitLossResponse,
218
218
  kind: MethodKind.Unary,
219
219
  },
220
+ /**
221
+ * @generated from rpc data.v1.DataApiService.SubmitDataReport
222
+ */
223
+ submitDataReport: {
224
+ name: "SubmitDataReport",
225
+ I: SubmitDataReportRequest,
226
+ O: SubmitDataReportResponse,
227
+ kind: MethodKind.Unary,
228
+ },
220
229
  }
221
230
  };
@@ -453,6 +453,60 @@ export declare class SubmitReportResponse extends Message<SubmitReportResponse>
453
453
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubmitReportResponse;
454
454
  static equals(a: SubmitReportResponse | PlainMessage<SubmitReportResponse> | undefined, b: SubmitReportResponse | PlainMessage<SubmitReportResponse> | undefined): boolean;
455
455
  }
456
+ /**
457
+ * @generated from message data.v1.SubmitDataReportRequest
458
+ */
459
+ export declare class SubmitDataReportRequest extends Message<SubmitDataReportRequest> {
460
+ /**
461
+ * @generated from field: string report_type = 1;
462
+ */
463
+ reportType: string;
464
+ /**
465
+ * @generated from field: string tag = 2;
466
+ */
467
+ tag: string;
468
+ /**
469
+ * @generated from field: optional string details = 3;
470
+ */
471
+ details?: string;
472
+ /**
473
+ * @generated from field: string wallet_address = 4;
474
+ */
475
+ walletAddress: string;
476
+ /**
477
+ * @generated from field: optional uint32 chain_id = 5;
478
+ */
479
+ chainId?: number;
480
+ /**
481
+ * @generated from field: optional string token_address = 6;
482
+ */
483
+ tokenAddress?: string;
484
+ constructor(data?: PartialMessage<SubmitDataReportRequest>);
485
+ static readonly runtime: typeof proto3;
486
+ static readonly typeName = "data.v1.SubmitDataReportRequest";
487
+ static readonly fields: FieldList;
488
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubmitDataReportRequest;
489
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubmitDataReportRequest;
490
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubmitDataReportRequest;
491
+ static equals(a: SubmitDataReportRequest | PlainMessage<SubmitDataReportRequest> | undefined, b: SubmitDataReportRequest | PlainMessage<SubmitDataReportRequest> | undefined): boolean;
492
+ }
493
+ /**
494
+ * @generated from message data.v1.SubmitDataReportResponse
495
+ */
496
+ export declare class SubmitDataReportResponse extends Message<SubmitDataReportResponse> {
497
+ /**
498
+ * @generated from field: bool success = 1;
499
+ */
500
+ success: boolean;
501
+ constructor(data?: PartialMessage<SubmitDataReportResponse>);
502
+ static readonly runtime: typeof proto3;
503
+ static readonly typeName = "data.v1.SubmitDataReportResponse";
504
+ static readonly fields: FieldList;
505
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubmitDataReportResponse;
506
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubmitDataReportResponse;
507
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubmitDataReportResponse;
508
+ static equals(a: SubmitDataReportResponse | PlainMessage<SubmitDataReportResponse> | undefined, b: SubmitDataReportResponse | PlainMessage<SubmitDataReportResponse> | undefined): boolean;
509
+ }
456
510
  /**
457
511
  * @generated from message data.v1.GetTransactionRequest
458
512
  */
@@ -824,9 +878,9 @@ export declare class ListPoolsRequest extends Message<ListPoolsRequest> {
824
878
  */
825
879
  token0: string;
826
880
  /**
827
- * @generated from field: string token1 = 3;
881
+ * @generated from field: optional string token1 = 3;
828
882
  */
829
- token1: string;
883
+ token1?: string;
830
884
  /**
831
885
  * @generated from field: repeated pools.v1.ProtocolVersion protocol_versions = 4;
832
886
  */
@@ -855,6 +909,10 @@ export declare class ListPoolsRequest extends Message<ListPoolsRequest> {
855
909
  * @generated from field: optional bool include_volume_30d = 10;
856
910
  */
857
911
  includeVolume30d?: boolean;
912
+ /**
913
+ * @generated from field: optional bool filter_spam = 11;
914
+ */
915
+ filterSpam?: boolean;
858
916
  constructor(data?: PartialMessage<ListPoolsRequest>);
859
917
  static readonly runtime: typeof proto3;
860
918
  static readonly typeName = "data.v1.ListPoolsRequest";
@@ -673,6 +673,79 @@ SubmitReportResponse.typeName = "data.v1.SubmitReportResponse";
673
673
  SubmitReportResponse.fields = proto3.util.newFieldList(() => [
674
674
  { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
675
675
  ]);
676
+ /**
677
+ * @generated from message data.v1.SubmitDataReportRequest
678
+ */
679
+ export class SubmitDataReportRequest extends Message {
680
+ constructor(data) {
681
+ super();
682
+ /**
683
+ * @generated from field: string report_type = 1;
684
+ */
685
+ this.reportType = "";
686
+ /**
687
+ * @generated from field: string tag = 2;
688
+ */
689
+ this.tag = "";
690
+ /**
691
+ * @generated from field: string wallet_address = 4;
692
+ */
693
+ this.walletAddress = "";
694
+ proto3.util.initPartial(data, this);
695
+ }
696
+ static fromBinary(bytes, options) {
697
+ return new SubmitDataReportRequest().fromBinary(bytes, options);
698
+ }
699
+ static fromJson(jsonValue, options) {
700
+ return new SubmitDataReportRequest().fromJson(jsonValue, options);
701
+ }
702
+ static fromJsonString(jsonString, options) {
703
+ return new SubmitDataReportRequest().fromJsonString(jsonString, options);
704
+ }
705
+ static equals(a, b) {
706
+ return proto3.util.equals(SubmitDataReportRequest, a, b);
707
+ }
708
+ }
709
+ SubmitDataReportRequest.runtime = proto3;
710
+ SubmitDataReportRequest.typeName = "data.v1.SubmitDataReportRequest";
711
+ SubmitDataReportRequest.fields = proto3.util.newFieldList(() => [
712
+ { no: 1, name: "report_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
713
+ { no: 2, name: "tag", kind: "scalar", T: 9 /* ScalarType.STRING */ },
714
+ { no: 3, name: "details", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
715
+ { no: 4, name: "wallet_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
716
+ { no: 5, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
717
+ { no: 6, name: "token_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
718
+ ]);
719
+ /**
720
+ * @generated from message data.v1.SubmitDataReportResponse
721
+ */
722
+ export class SubmitDataReportResponse extends Message {
723
+ constructor(data) {
724
+ super();
725
+ /**
726
+ * @generated from field: bool success = 1;
727
+ */
728
+ this.success = false;
729
+ proto3.util.initPartial(data, this);
730
+ }
731
+ static fromBinary(bytes, options) {
732
+ return new SubmitDataReportResponse().fromBinary(bytes, options);
733
+ }
734
+ static fromJson(jsonValue, options) {
735
+ return new SubmitDataReportResponse().fromJson(jsonValue, options);
736
+ }
737
+ static fromJsonString(jsonString, options) {
738
+ return new SubmitDataReportResponse().fromJsonString(jsonString, options);
739
+ }
740
+ static equals(a, b) {
741
+ return proto3.util.equals(SubmitDataReportResponse, a, b);
742
+ }
743
+ }
744
+ SubmitDataReportResponse.runtime = proto3;
745
+ SubmitDataReportResponse.typeName = "data.v1.SubmitDataReportResponse";
746
+ SubmitDataReportResponse.fields = proto3.util.newFieldList(() => [
747
+ { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
748
+ ]);
676
749
  /**
677
750
  * @generated from message data.v1.GetTransactionRequest
678
751
  */
@@ -1192,10 +1265,6 @@ export class ListPoolsRequest extends Message {
1192
1265
  * @generated from field: string token0 = 2;
1193
1266
  */
1194
1267
  this.token0 = "";
1195
- /**
1196
- * @generated from field: string token1 = 3;
1197
- */
1198
- this.token1 = "";
1199
1268
  /**
1200
1269
  * @generated from field: repeated pools.v1.ProtocolVersion protocol_versions = 4;
1201
1270
  */
@@ -1220,7 +1289,7 @@ ListPoolsRequest.typeName = "data.v1.ListPoolsRequest";
1220
1289
  ListPoolsRequest.fields = proto3.util.newFieldList(() => [
1221
1290
  { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1222
1291
  { no: 2, name: "token0", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1223
- { no: 3, name: "token1", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1292
+ { no: 3, name: "token1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1224
1293
  { no: 4, name: "protocol_versions", kind: "enum", T: proto3.getEnumType(ProtocolVersion), repeated: true },
1225
1294
  { no: 5, name: "fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1226
1295
  { no: 6, name: "tick_spacing", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
@@ -1228,6 +1297,7 @@ ListPoolsRequest.fields = proto3.util.newFieldList(() => [
1228
1297
  { no: 8, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1229
1298
  { no: 9, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1230
1299
  { no: 10, name: "include_volume_30d", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1300
+ { no: 11, name: "filter_spam", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1231
1301
  ]);
1232
1302
  /**
1233
1303
  * @generated from message data.v1.ListPoolsResponse
@@ -319,7 +319,13 @@ export declare enum TransactionTypeFilter {
319
319
  *
320
320
  * @generated from enum value: TRANSACTION_TYPE_FILTER_LIMIT_ORDER = 11;
321
321
  */
322
- LIMIT_ORDER = 11
322
+ LIMIT_ORDER = 11,
323
+ /**
324
+ * Protocol withdrawals (e.g. lending/staking withdrawals)
325
+ *
326
+ * @generated from enum value: TRANSACTION_TYPE_FILTER_WITHDRAW = 12;
327
+ */
328
+ WITHDRAW = 12
323
329
  }
324
330
  /**
325
331
  * @generated from enum data.v1.OnChainTransactionStatus
@@ -401,6 +401,12 @@ export var TransactionTypeFilter;
401
401
  * @generated from enum value: TRANSACTION_TYPE_FILTER_LIMIT_ORDER = 11;
402
402
  */
403
403
  TransactionTypeFilter[TransactionTypeFilter["LIMIT_ORDER"] = 11] = "LIMIT_ORDER";
404
+ /**
405
+ * Protocol withdrawals (e.g. lending/staking withdrawals)
406
+ *
407
+ * @generated from enum value: TRANSACTION_TYPE_FILTER_WITHDRAW = 12;
408
+ */
409
+ TransactionTypeFilter[TransactionTypeFilter["WITHDRAW"] = 12] = "WITHDRAW";
404
410
  })(TransactionTypeFilter || (TransactionTypeFilter = {}));
405
411
  // Retrieve enum metadata with: proto3.getEnumType(TransactionTypeFilter)
406
412
  proto3.util.setEnumType(TransactionTypeFilter, "data.v1.TransactionTypeFilter", [
@@ -416,6 +422,7 @@ proto3.util.setEnumType(TransactionTypeFilter, "data.v1.TransactionTypeFilter",
416
422
  { no: 9, name: "TRANSACTION_TYPE_FILTER_MINT" },
417
423
  { no: 10, name: "TRANSACTION_TYPE_FILTER_CREATE_POOL" },
418
424
  { no: 11, name: "TRANSACTION_TYPE_FILTER_LIMIT_ORDER" },
425
+ { no: 12, name: "TRANSACTION_TYPE_FILTER_WITHDRAW" },
419
426
  ]);
420
427
  /**
421
428
  * @generated from enum data.v1.OnChainTransactionStatus
@@ -1,5 +1,5 @@
1
1
  import { MethodKind } from "@bufbuild/protobuf";
2
- import { GetTokenRequest, GetTokenResponse, GetTokensRequest, GetTokensResponse } from "./api_pb.js";
2
+ import { GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse } from "./api_pb.js";
3
3
  /**
4
4
  * @generated from rpc data.v2.DataApiService.GetToken
5
5
  */
@@ -26,3 +26,16 @@ export declare const getTokens: {
26
26
  readonly typeName: "data.v2.DataApiService";
27
27
  };
28
28
  };
29
+ /**
30
+ * @generated from rpc data.v2.DataApiService.GetTokensMultiChain
31
+ */
32
+ export declare const getTokensMultiChain: {
33
+ readonly localName: "getTokensMultiChain";
34
+ readonly name: "GetTokensMultiChain";
35
+ readonly kind: MethodKind.Unary;
36
+ readonly I: typeof GetTokensMultiChainRequest;
37
+ readonly O: typeof GetTokensMultiChainResponse;
38
+ readonly service: {
39
+ readonly typeName: "data.v2.DataApiService";
40
+ };
41
+ };
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodKind } from "@bufbuild/protobuf";
6
- import { GetTokenRequest, GetTokenResponse, GetTokensRequest, GetTokensResponse } from "./api_pb.js";
6
+ import { GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse } from "./api_pb.js";
7
7
  /**
8
8
  * @generated from rpc data.v2.DataApiService.GetToken
9
9
  */
@@ -30,3 +30,16 @@ export const getTokens = {
30
30
  typeName: "data.v2.DataApiService"
31
31
  }
32
32
  };
33
+ /**
34
+ * @generated from rpc data.v2.DataApiService.GetTokensMultiChain
35
+ */
36
+ export const getTokensMultiChain = {
37
+ localName: "getTokensMultiChain",
38
+ name: "GetTokensMultiChain",
39
+ kind: MethodKind.Unary,
40
+ I: GetTokensMultiChainRequest,
41
+ O: GetTokensMultiChainResponse,
42
+ service: {
43
+ typeName: "data.v2.DataApiService"
44
+ }
45
+ };
@@ -1,4 +1,4 @@
1
- import { GetTokenRequest, GetTokenResponse, GetTokensRequest, GetTokensResponse } from "./api_pb.js";
1
+ import { GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse } from "./api_pb.js";
2
2
  import { MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from service data.v2.DataApiService
@@ -24,5 +24,14 @@ export declare const DataApiService: {
24
24
  readonly O: typeof GetTokensResponse;
25
25
  readonly kind: MethodKind.Unary;
26
26
  };
27
+ /**
28
+ * @generated from rpc data.v2.DataApiService.GetTokensMultiChain
29
+ */
30
+ readonly getTokensMultiChain: {
31
+ readonly name: "GetTokensMultiChain";
32
+ readonly I: typeof GetTokensMultiChainRequest;
33
+ readonly O: typeof GetTokensMultiChainResponse;
34
+ readonly kind: MethodKind.Unary;
35
+ };
27
36
  };
28
37
  };
@@ -2,7 +2,7 @@
2
2
  // @generated from file data/v2/api.proto (package data.v2, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { GetTokenRequest, GetTokenResponse, GetTokensRequest, GetTokensResponse } from "./api_pb.js";
5
+ import { GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse } from "./api_pb.js";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * @generated from service data.v2.DataApiService
@@ -28,5 +28,14 @@ export const DataApiService = {
28
28
  O: GetTokensResponse,
29
29
  kind: MethodKind.Unary,
30
30
  },
31
+ /**
32
+ * @generated from rpc data.v2.DataApiService.GetTokensMultiChain
33
+ */
34
+ getTokensMultiChain: {
35
+ name: "GetTokensMultiChain",
36
+ I: GetTokensMultiChainRequest,
37
+ O: GetTokensMultiChainResponse,
38
+ kind: MethodKind.Unary,
39
+ },
31
40
  }
32
41
  };
@@ -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 { Token } from "./types_pb.js";
4
+ import { MultichainToken } from "../v1/types_pb.js";
4
5
  /**
5
6
  * @generated from message data.v2.GetTokenRequest
6
7
  */
@@ -78,6 +79,11 @@ export declare class GetTokensRequest extends Message<GetTokensRequest> {
78
79
  static equals(a: GetTokensRequest | PlainMessage<GetTokensRequest> | undefined, b: GetTokensRequest | PlainMessage<GetTokensRequest> | undefined): boolean;
79
80
  }
80
81
  /**
82
+ * Best-effort response: tokens are returned for each requested identifier that
83
+ * was found. If some identifiers are not found, the response will contain fewer
84
+ * tokens than requested. Callers should match response tokens back to their
85
+ * request by (chain_id, address) to determine which were not found.
86
+ *
81
87
  * @generated from message data.v2.GetTokensResponse
82
88
  */
83
89
  export declare class GetTokensResponse extends Message<GetTokensResponse> {
@@ -94,3 +100,41 @@ export declare class GetTokensResponse extends Message<GetTokensResponse> {
94
100
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetTokensResponse;
95
101
  static equals(a: GetTokensResponse | PlainMessage<GetTokensResponse> | undefined, b: GetTokensResponse | PlainMessage<GetTokensResponse> | undefined): boolean;
96
102
  }
103
+ /**
104
+ * @generated from message data.v2.GetTokensMultiChainRequest
105
+ */
106
+ export declare class GetTokensMultiChainRequest extends Message<GetTokensMultiChainRequest> {
107
+ /**
108
+ * @generated from field: repeated data.v2.TokenIdentifier tokens = 1;
109
+ */
110
+ tokens: TokenIdentifier[];
111
+ constructor(data?: PartialMessage<GetTokensMultiChainRequest>);
112
+ static readonly runtime: typeof proto3;
113
+ static readonly typeName = "data.v2.GetTokensMultiChainRequest";
114
+ static readonly fields: FieldList;
115
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetTokensMultiChainRequest;
116
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetTokensMultiChainRequest;
117
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetTokensMultiChainRequest;
118
+ static equals(a: GetTokensMultiChainRequest | PlainMessage<GetTokensMultiChainRequest> | undefined, b: GetTokensMultiChainRequest | PlainMessage<GetTokensMultiChainRequest> | undefined): boolean;
119
+ }
120
+ /**
121
+ * Best-effort response: tokens are returned for each requested identifier that
122
+ * was resolved to a canonical multichain identity. Callers should match
123
+ * response tokens to requests via (chain_id, address) in chain_tokens.
124
+ *
125
+ * @generated from message data.v2.GetTokensMultiChainResponse
126
+ */
127
+ export declare class GetTokensMultiChainResponse extends Message<GetTokensMultiChainResponse> {
128
+ /**
129
+ * @generated from field: repeated data.v1.MultichainToken tokens = 1;
130
+ */
131
+ tokens: MultichainToken[];
132
+ constructor(data?: PartialMessage<GetTokensMultiChainResponse>);
133
+ static readonly runtime: typeof proto3;
134
+ static readonly typeName = "data.v2.GetTokensMultiChainResponse";
135
+ static readonly fields: FieldList;
136
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetTokensMultiChainResponse;
137
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetTokensMultiChainResponse;
138
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetTokensMultiChainResponse;
139
+ static equals(a: GetTokensMultiChainResponse | PlainMessage<GetTokensMultiChainResponse> | undefined, b: GetTokensMultiChainResponse | PlainMessage<GetTokensMultiChainResponse> | undefined): boolean;
140
+ }
@@ -4,6 +4,7 @@
4
4
  // @ts-nocheck
5
5
  import { Message, proto3 } from "@bufbuild/protobuf";
6
6
  import { Token } from "./types_pb.js";
7
+ import { MultichainToken } from "../v1/types_pb.js";
7
8
  /**
8
9
  * @generated from message data.v2.GetTokenRequest
9
10
  */
@@ -131,6 +132,11 @@ GetTokensRequest.fields = proto3.util.newFieldList(() => [
131
132
  { no: 1, name: "tokens", kind: "message", T: TokenIdentifier, repeated: true },
132
133
  ]);
133
134
  /**
135
+ * Best-effort response: tokens are returned for each requested identifier that
136
+ * was found. If some identifiers are not found, the response will contain fewer
137
+ * tokens than requested. Callers should match response tokens back to their
138
+ * request by (chain_id, address) to determine which were not found.
139
+ *
134
140
  * @generated from message data.v2.GetTokensResponse
135
141
  */
136
142
  export class GetTokensResponse extends Message {
@@ -160,3 +166,67 @@ GetTokensResponse.typeName = "data.v2.GetTokensResponse";
160
166
  GetTokensResponse.fields = proto3.util.newFieldList(() => [
161
167
  { no: 1, name: "tokens", kind: "message", T: Token, repeated: true },
162
168
  ]);
169
+ /**
170
+ * @generated from message data.v2.GetTokensMultiChainRequest
171
+ */
172
+ export class GetTokensMultiChainRequest extends Message {
173
+ constructor(data) {
174
+ super();
175
+ /**
176
+ * @generated from field: repeated data.v2.TokenIdentifier tokens = 1;
177
+ */
178
+ this.tokens = [];
179
+ proto3.util.initPartial(data, this);
180
+ }
181
+ static fromBinary(bytes, options) {
182
+ return new GetTokensMultiChainRequest().fromBinary(bytes, options);
183
+ }
184
+ static fromJson(jsonValue, options) {
185
+ return new GetTokensMultiChainRequest().fromJson(jsonValue, options);
186
+ }
187
+ static fromJsonString(jsonString, options) {
188
+ return new GetTokensMultiChainRequest().fromJsonString(jsonString, options);
189
+ }
190
+ static equals(a, b) {
191
+ return proto3.util.equals(GetTokensMultiChainRequest, a, b);
192
+ }
193
+ }
194
+ GetTokensMultiChainRequest.runtime = proto3;
195
+ GetTokensMultiChainRequest.typeName = "data.v2.GetTokensMultiChainRequest";
196
+ GetTokensMultiChainRequest.fields = proto3.util.newFieldList(() => [
197
+ { no: 1, name: "tokens", kind: "message", T: TokenIdentifier, repeated: true },
198
+ ]);
199
+ /**
200
+ * Best-effort response: tokens are returned for each requested identifier that
201
+ * was resolved to a canonical multichain identity. Callers should match
202
+ * response tokens to requests via (chain_id, address) in chain_tokens.
203
+ *
204
+ * @generated from message data.v2.GetTokensMultiChainResponse
205
+ */
206
+ export class GetTokensMultiChainResponse extends Message {
207
+ constructor(data) {
208
+ super();
209
+ /**
210
+ * @generated from field: repeated data.v1.MultichainToken tokens = 1;
211
+ */
212
+ this.tokens = [];
213
+ proto3.util.initPartial(data, this);
214
+ }
215
+ static fromBinary(bytes, options) {
216
+ return new GetTokensMultiChainResponse().fromBinary(bytes, options);
217
+ }
218
+ static fromJson(jsonValue, options) {
219
+ return new GetTokensMultiChainResponse().fromJson(jsonValue, options);
220
+ }
221
+ static fromJsonString(jsonString, options) {
222
+ return new GetTokensMultiChainResponse().fromJsonString(jsonString, options);
223
+ }
224
+ static equals(a, b) {
225
+ return proto3.util.equals(GetTokensMultiChainResponse, a, b);
226
+ }
227
+ }
228
+ GetTokensMultiChainResponse.runtime = proto3;
229
+ GetTokensMultiChainResponse.typeName = "data.v2.GetTokensMultiChainResponse";
230
+ GetTokensMultiChainResponse.fields = proto3.util.newFieldList(() => [
231
+ { no: 1, name: "tokens", kind: "message", T: MultichainToken, repeated: true },
232
+ ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.67",
3
+ "version": "0.0.69",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },