@uniswap/client-data-api 0.0.242 → 0.0.243

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, GetPoolRewardsRequest, GetPoolRewardsResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetPositionRewardsRequest, GetPositionRewardsResponse, GetProtocolFeesRequest, GetProtocolFeesResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, 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, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPoolRewardsRequest, GetPoolRewardsResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, 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, ListPositionsRequest, ListPositionsResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, 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
  */
@@ -169,19 +169,6 @@ export declare const getPool: {
169
169
  readonly typeName: "data.v1.DataApiService";
170
170
  };
171
171
  };
172
- /**
173
- * @generated from rpc data.v1.DataApiService.GetProtocolFees
174
- */
175
- export declare const getProtocolFees: {
176
- readonly localName: "getProtocolFees";
177
- readonly name: "GetProtocolFees";
178
- readonly kind: MethodKind.Unary;
179
- readonly I: typeof GetProtocolFeesRequest;
180
- readonly O: typeof GetProtocolFeesResponse;
181
- readonly service: {
182
- readonly typeName: "data.v1.DataApiService";
183
- };
184
- };
185
172
  /**
186
173
  * @generated from rpc data.v1.DataApiService.GetPosition
187
174
  */
@@ -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, GetPoolRewardsRequest, GetPoolRewardsResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetPositionRewardsRequest, GetPositionRewardsResponse, GetProtocolFeesRequest, GetProtocolFeesResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, 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, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPoolRewardsRequest, GetPoolRewardsResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, 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, ListPositionsRequest, ListPositionsResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, 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
  */
@@ -173,19 +173,6 @@ export const getPool = {
173
173
  typeName: "data.v1.DataApiService"
174
174
  }
175
175
  };
176
- /**
177
- * @generated from rpc data.v1.DataApiService.GetProtocolFees
178
- */
179
- export const getProtocolFees = {
180
- localName: "getProtocolFees",
181
- name: "GetProtocolFees",
182
- kind: MethodKind.Unary,
183
- I: GetProtocolFeesRequest,
184
- O: GetProtocolFeesResponse,
185
- service: {
186
- typeName: "data.v1.DataApiService"
187
- }
188
- };
189
176
  /**
190
177
  * @generated from rpc data.v1.DataApiService.GetPosition
191
178
  */
@@ -1,4 +1,4 @@
1
- import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPoolRewardsRequest, GetPoolRewardsResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetPositionRewardsRequest, GetPositionRewardsResponse, GetProtocolFeesRequest, GetProtocolFeesResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, 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, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPoolRewardsRequest, GetPoolRewardsResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, 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, ListPositionsRequest, ListPositionsResponse, 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
2
  import { MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from service data.v1.DataApiService
@@ -123,15 +123,6 @@ export declare const DataApiService: {
123
123
  readonly O: typeof GetPoolResponse;
124
124
  readonly kind: MethodKind.Unary;
125
125
  };
126
- /**
127
- * @generated from rpc data.v1.DataApiService.GetProtocolFees
128
- */
129
- readonly getProtocolFees: {
130
- readonly name: "GetProtocolFees";
131
- readonly I: typeof GetProtocolFeesRequest;
132
- readonly O: typeof GetProtocolFeesResponse;
133
- readonly kind: MethodKind.Unary;
134
- };
135
126
  /**
136
127
  * @generated from rpc data.v1.DataApiService.GetPosition
137
128
  */
@@ -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, GetPoolRewardsRequest, GetPoolRewardsResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetPositionRewardsRequest, GetPositionRewardsResponse, GetProtocolFeesRequest, GetProtocolFeesResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, 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, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPoolRewardsRequest, GetPoolRewardsResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, 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, ListPositionsRequest, ListPositionsResponse, 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
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * @generated from service data.v1.DataApiService
@@ -127,15 +127,6 @@ export const DataApiService = {
127
127
  O: GetPoolResponse,
128
128
  kind: MethodKind.Unary,
129
129
  },
130
- /**
131
- * @generated from rpc data.v1.DataApiService.GetProtocolFees
132
- */
133
- getProtocolFees: {
134
- name: "GetProtocolFees",
135
- I: GetProtocolFeesRequest,
136
- O: GetProtocolFeesResponse,
137
- kind: MethodKind.Unary,
138
- },
139
130
  /**
140
131
  * @generated from rpc data.v1.DataApiService.GetPosition
141
132
  */
@@ -921,112 +921,6 @@ export declare class GetPoolResponse extends Message<GetPoolResponse> {
921
921
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPoolResponse;
922
922
  static equals(a: GetPoolResponse | PlainMessage<GetPoolResponse> | undefined, b: GetPoolResponse | PlainMessage<GetPoolResponse> | undefined): boolean;
923
923
  }
924
- /**
925
- * Batch lookup of protocol/effective fees for a list of pools on one
926
- * chain + protocol version, so list surfaces can merge fees into pools they
927
- * already hold without refetching full pool objects.
928
- *
929
- * @generated from message data.v1.GetProtocolFeesRequest
930
- */
931
- export declare class GetProtocolFeesRequest extends Message<GetProtocolFeesRequest> {
932
- /**
933
- * @generated from field: uint32 chain_id = 1;
934
- */
935
- chainId: number;
936
- /**
937
- * @generated from field: pools.v1.ProtocolVersion protocol_version = 2;
938
- */
939
- protocolVersion: ProtocolVersion;
940
- /**
941
- * v4: pool ids (bytes32 hex); v3: pool addresses; v2: pair addresses.
942
- * At most 100 entries per request; duplicates are collapsed to one
943
- * response entry.
944
- *
945
- * @generated from field: repeated string pool_ids = 3;
946
- */
947
- poolIds: string[];
948
- constructor(data?: PartialMessage<GetProtocolFeesRequest>);
949
- static readonly runtime: typeof proto3;
950
- static readonly typeName = "data.v1.GetProtocolFeesRequest";
951
- static readonly fields: FieldList;
952
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetProtocolFeesRequest;
953
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetProtocolFeesRequest;
954
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetProtocolFeesRequest;
955
- static equals(a: GetProtocolFeesRequest | PlainMessage<GetProtocolFeesRequest> | undefined, b: GetProtocolFeesRequest | PlainMessage<GetProtocolFeesRequest> | undefined): boolean;
956
- }
957
- /**
958
- * @generated from message data.v1.PoolProtocolFees
959
- */
960
- export declare class PoolProtocolFees extends Message<PoolProtocolFees> {
961
- /**
962
- * Echoes the requested pool id exactly as sent.
963
- *
964
- * @generated from field: string pool_id = 1;
965
- */
966
- poolId: string;
967
- /**
968
- * Protocol fee in pips (hundredths of a bip), same semantics as
969
- * pools.v1.Pool.protocol_fee: v4 = ADDITIVE fee stacked on top of the LP
970
- * fee; v2/v3 = SUBTRACTIVE share carved out of the displayed fee tier.
971
- * Every version serves the stored on-chain value ONLY (a set 0 means the
972
- * fee is not turned on — v4: no protocol fee set on the pool; v2/v3: fee
973
- * switch off). UNSET when undeterminable: a pool the ingestion pipeline
974
- * has no row for, or a source read that failed.
975
- *
976
- * @generated from field: optional uint32 protocol_fee = 2;
977
- */
978
- protocolFee?: number;
979
- /**
980
- * Effective (all-in) fee in pips — what the swapper pays. v4: fee_tier +
981
- * protocol_fee; v2/v3: the displayed fee tier (the protocol's share is
982
- * carved out of it, so the total is unchanged). UNSET when protocol_fee is
983
- * unset, and ALSO for a v4 dynamic-fee pool, whose LP fee is set per swap
984
- * by the hook — there is no static all-in fee to serve.
985
- *
986
- * @generated from field: optional uint32 effective_fee = 3;
987
- */
988
- effectiveFee?: number;
989
- /**
990
- * The pool's LP fee tier in pips — the fee the pool was created with, before
991
- * any protocol fee. v4: the static pool-key fee, fixed for the pool's
992
- * lifetime; v2/v3: the displayed fee tier (note LPs keep only
993
- * fee_tier − protocol_fee there, since v2/v3 protocol fees are subtractive).
994
- * UNSET for an unknown pool, and for a v4 dynamic-fee pool, which has no
995
- * static tier at all (its pool key holds the dynamic sentinel, not a fee).
996
- * A dynamic-fee pool is therefore distinguishable from an unknown pool: it
997
- * can carry a protocol_fee while both fee_tier and effective_fee are unset.
998
- *
999
- * @generated from field: optional uint32 fee_tier = 4;
1000
- */
1001
- feeTier?: number;
1002
- constructor(data?: PartialMessage<PoolProtocolFees>);
1003
- static readonly runtime: typeof proto3;
1004
- static readonly typeName = "data.v1.PoolProtocolFees";
1005
- static readonly fields: FieldList;
1006
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolProtocolFees;
1007
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolProtocolFees;
1008
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolProtocolFees;
1009
- static equals(a: PoolProtocolFees | PlainMessage<PoolProtocolFees> | undefined, b: PoolProtocolFees | PlainMessage<PoolProtocolFees> | undefined): boolean;
1010
- }
1011
- /**
1012
- * @generated from message data.v1.GetProtocolFeesResponse
1013
- */
1014
- export declare class GetProtocolFeesResponse extends Message<GetProtocolFeesResponse> {
1015
- /**
1016
- * One entry per unique requested pool id, in first-seen request order.
1017
- *
1018
- * @generated from field: repeated data.v1.PoolProtocolFees protocol_fees = 1;
1019
- */
1020
- protocolFees: PoolProtocolFees[];
1021
- constructor(data?: PartialMessage<GetProtocolFeesResponse>);
1022
- static readonly runtime: typeof proto3;
1023
- static readonly typeName = "data.v1.GetProtocolFeesResponse";
1024
- static readonly fields: FieldList;
1025
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetProtocolFeesResponse;
1026
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetProtocolFeesResponse;
1027
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetProtocolFeesResponse;
1028
- static equals(a: GetProtocolFeesResponse | PlainMessage<GetProtocolFeesResponse> | undefined, b: GetProtocolFeesResponse | PlainMessage<GetProtocolFeesResponse> | undefined): boolean;
1029
- }
1030
924
  /**
1031
925
  * @generated from message data.v1.GetPositionRequest
1032
926
  */
@@ -1316,121 +1316,6 @@ GetPoolResponse.typeName = "data.v1.GetPoolResponse";
1316
1316
  GetPoolResponse.fields = proto3.util.newFieldList(() => [
1317
1317
  { no: 1, name: "pool", kind: "message", T: Pool },
1318
1318
  ]);
1319
- /**
1320
- * Batch lookup of protocol/effective fees for a list of pools on one
1321
- * chain + protocol version, so list surfaces can merge fees into pools they
1322
- * already hold without refetching full pool objects.
1323
- *
1324
- * @generated from message data.v1.GetProtocolFeesRequest
1325
- */
1326
- export class GetProtocolFeesRequest extends Message {
1327
- constructor(data) {
1328
- super();
1329
- /**
1330
- * @generated from field: uint32 chain_id = 1;
1331
- */
1332
- this.chainId = 0;
1333
- /**
1334
- * @generated from field: pools.v1.ProtocolVersion protocol_version = 2;
1335
- */
1336
- this.protocolVersion = ProtocolVersion.UNSPECIFIED;
1337
- /**
1338
- * v4: pool ids (bytes32 hex); v3: pool addresses; v2: pair addresses.
1339
- * At most 100 entries per request; duplicates are collapsed to one
1340
- * response entry.
1341
- *
1342
- * @generated from field: repeated string pool_ids = 3;
1343
- */
1344
- this.poolIds = [];
1345
- proto3.util.initPartial(data, this);
1346
- }
1347
- static fromBinary(bytes, options) {
1348
- return new GetProtocolFeesRequest().fromBinary(bytes, options);
1349
- }
1350
- static fromJson(jsonValue, options) {
1351
- return new GetProtocolFeesRequest().fromJson(jsonValue, options);
1352
- }
1353
- static fromJsonString(jsonString, options) {
1354
- return new GetProtocolFeesRequest().fromJsonString(jsonString, options);
1355
- }
1356
- static equals(a, b) {
1357
- return proto3.util.equals(GetProtocolFeesRequest, a, b);
1358
- }
1359
- }
1360
- GetProtocolFeesRequest.runtime = proto3;
1361
- GetProtocolFeesRequest.typeName = "data.v1.GetProtocolFeesRequest";
1362
- GetProtocolFeesRequest.fields = proto3.util.newFieldList(() => [
1363
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1364
- { no: 2, name: "protocol_version", kind: "enum", T: proto3.getEnumType(ProtocolVersion) },
1365
- { no: 3, name: "pool_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1366
- ]);
1367
- /**
1368
- * @generated from message data.v1.PoolProtocolFees
1369
- */
1370
- export class PoolProtocolFees extends Message {
1371
- constructor(data) {
1372
- super();
1373
- /**
1374
- * Echoes the requested pool id exactly as sent.
1375
- *
1376
- * @generated from field: string pool_id = 1;
1377
- */
1378
- this.poolId = "";
1379
- proto3.util.initPartial(data, this);
1380
- }
1381
- static fromBinary(bytes, options) {
1382
- return new PoolProtocolFees().fromBinary(bytes, options);
1383
- }
1384
- static fromJson(jsonValue, options) {
1385
- return new PoolProtocolFees().fromJson(jsonValue, options);
1386
- }
1387
- static fromJsonString(jsonString, options) {
1388
- return new PoolProtocolFees().fromJsonString(jsonString, options);
1389
- }
1390
- static equals(a, b) {
1391
- return proto3.util.equals(PoolProtocolFees, a, b);
1392
- }
1393
- }
1394
- PoolProtocolFees.runtime = proto3;
1395
- PoolProtocolFees.typeName = "data.v1.PoolProtocolFees";
1396
- PoolProtocolFees.fields = proto3.util.newFieldList(() => [
1397
- { no: 1, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1398
- { no: 2, name: "protocol_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1399
- { no: 3, name: "effective_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1400
- { no: 4, name: "fee_tier", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1401
- ]);
1402
- /**
1403
- * @generated from message data.v1.GetProtocolFeesResponse
1404
- */
1405
- export class GetProtocolFeesResponse extends Message {
1406
- constructor(data) {
1407
- super();
1408
- /**
1409
- * One entry per unique requested pool id, in first-seen request order.
1410
- *
1411
- * @generated from field: repeated data.v1.PoolProtocolFees protocol_fees = 1;
1412
- */
1413
- this.protocolFees = [];
1414
- proto3.util.initPartial(data, this);
1415
- }
1416
- static fromBinary(bytes, options) {
1417
- return new GetProtocolFeesResponse().fromBinary(bytes, options);
1418
- }
1419
- static fromJson(jsonValue, options) {
1420
- return new GetProtocolFeesResponse().fromJson(jsonValue, options);
1421
- }
1422
- static fromJsonString(jsonString, options) {
1423
- return new GetProtocolFeesResponse().fromJsonString(jsonString, options);
1424
- }
1425
- static equals(a, b) {
1426
- return proto3.util.equals(GetProtocolFeesResponse, a, b);
1427
- }
1428
- }
1429
- GetProtocolFeesResponse.runtime = proto3;
1430
- GetProtocolFeesResponse.typeName = "data.v1.GetProtocolFeesResponse";
1431
- GetProtocolFeesResponse.fields = proto3.util.newFieldList(() => [
1432
- { no: 1, name: "protocol_fees", kind: "message", T: PoolProtocolFees, repeated: true },
1433
- ]);
1434
1319
  /**
1435
1320
  * @generated from message data.v1.GetPositionRequest
1436
1321
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.242",
3
+ "version": "0.0.243",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },