@uniswap/client-data-api 0.0.252 → 0.0.254

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, 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, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, 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";
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.GetPosition
174
- */
175
- export declare const getPosition: {
176
- readonly localName: "getPosition";
177
- readonly name: "GetPosition";
178
- readonly kind: MethodKind.Unary;
179
- readonly I: typeof GetPositionRequest;
180
- readonly O: typeof GetPositionResponse;
181
- readonly service: {
182
- readonly typeName: "data.v1.DataApiService";
183
- };
184
- };
185
172
  /**
186
173
  * @generated from rpc data.v1.DataApiService.ListPools
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, 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, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, 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";
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.GetPosition
178
- */
179
- export const getPosition = {
180
- localName: "getPosition",
181
- name: "GetPosition",
182
- kind: MethodKind.Unary,
183
- I: GetPositionRequest,
184
- O: GetPositionResponse,
185
- service: {
186
- typeName: "data.v1.DataApiService"
187
- }
188
- };
189
176
  /**
190
177
  * @generated from rpc data.v1.DataApiService.ListPools
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, 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, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, 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
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.GetPosition
128
- */
129
- readonly getPosition: {
130
- readonly name: "GetPosition";
131
- readonly I: typeof GetPositionRequest;
132
- readonly O: typeof GetPositionResponse;
133
- readonly kind: MethodKind.Unary;
134
- };
135
126
  /**
136
127
  * @generated from rpc data.v1.DataApiService.ListPools
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, 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, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, 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
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.GetPosition
132
- */
133
- getPosition: {
134
- name: "GetPosition",
135
- I: GetPositionRequest,
136
- O: GetPositionResponse,
137
- kind: MethodKind.Unary,
138
- },
139
130
  /**
140
131
  * @generated from rpc data.v1.DataApiService.ListPools
141
132
  */
@@ -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
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 { Pair, Pool, Position, ProtocolVersion, RewardBalance, Token as Token$1 } from "./poolTypes_pb.js";
4
+ import { Pair, Pool, ProtocolVersion, RewardBalance, Token as Token$1 } from "./poolTypes_pb.js";
5
5
  /**
6
6
  * @generated from enum data.v1.Platform
7
7
  */
@@ -908,76 +908,6 @@ export declare class GetPoolResponse extends Message<GetPoolResponse> {
908
908
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPoolResponse;
909
909
  static equals(a: GetPoolResponse | PlainMessage<GetPoolResponse> | undefined, b: GetPoolResponse | PlainMessage<GetPoolResponse> | undefined): boolean;
910
910
  }
911
- /**
912
- * @generated from message data.v1.GetPositionRequest
913
- */
914
- export declare class GetPositionRequest extends Message<GetPositionRequest> {
915
- /**
916
- * @generated from field: uint32 chain_id = 1;
917
- */
918
- chainId: number;
919
- /**
920
- * @generated from field: pools.v1.ProtocolVersion protocol_version = 2;
921
- */
922
- protocolVersion: ProtocolVersion;
923
- /**
924
- * required for V3/V4
925
- *
926
- * @generated from field: string token_id = 3;
927
- */
928
- tokenId: string;
929
- /**
930
- * required for V2
931
- *
932
- * @generated from field: string pair_address = 4;
933
- */
934
- pairAddress: string;
935
- /**
936
- * required for V2
937
- *
938
- * @generated from field: string owner = 5;
939
- */
940
- owner: string;
941
- /**
942
- * if true, fallback to onchain data for pool data
943
- *
944
- * @generated from field: optional bool fallback_to_chain = 6;
945
- */
946
- fallbackToChain?: boolean;
947
- /**
948
- * Selector for V4: if true, resolve tokenId against the PermissionedPositionManager
949
- * instead of the canonical V4 PositionManager. Default false (canonical). A tokenId
950
- * is only unique within one manager, so the caller must indicate which to query.
951
- *
952
- * @generated from field: optional bool permissioned = 7;
953
- */
954
- permissioned?: boolean;
955
- constructor(data?: PartialMessage<GetPositionRequest>);
956
- static readonly runtime: typeof proto3;
957
- static readonly typeName = "data.v1.GetPositionRequest";
958
- static readonly fields: FieldList;
959
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPositionRequest;
960
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPositionRequest;
961
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPositionRequest;
962
- static equals(a: GetPositionRequest | PlainMessage<GetPositionRequest> | undefined, b: GetPositionRequest | PlainMessage<GetPositionRequest> | undefined): boolean;
963
- }
964
- /**
965
- * @generated from message data.v1.GetPositionResponse
966
- */
967
- export declare class GetPositionResponse extends Message<GetPositionResponse> {
968
- /**
969
- * @generated from field: pools.v1.Position position = 1;
970
- */
971
- position?: Position;
972
- constructor(data?: PartialMessage<GetPositionResponse>);
973
- static readonly runtime: typeof proto3;
974
- static readonly typeName = "data.v1.GetPositionResponse";
975
- static readonly fields: FieldList;
976
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPositionResponse;
977
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPositionResponse;
978
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPositionResponse;
979
- static equals(a: GetPositionResponse | PlainMessage<GetPositionResponse> | undefined, b: GetPositionResponse | PlainMessage<GetPositionResponse> | undefined): boolean;
980
- }
981
911
  /**
982
912
  * @generated from message data.v1.ListPoolsRequest
983
913
  */
@@ -4,7 +4,7 @@
4
4
  // @ts-nocheck
5
5
  import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
6
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 { Pair, Pool, Position, ProtocolVersion, RewardBalance, Token as Token$1 } from "./poolTypes_pb.js";
7
+ import { Pair, Pool, ProtocolVersion, RewardBalance, Token as Token$1 } from "./poolTypes_pb.js";
8
8
  /**
9
9
  * @generated from enum data.v1.Platform
10
10
  */
@@ -1297,90 +1297,6 @@ GetPoolResponse.typeName = "data.v1.GetPoolResponse";
1297
1297
  GetPoolResponse.fields = proto3.util.newFieldList(() => [
1298
1298
  { no: 1, name: "pool", kind: "message", T: Pool },
1299
1299
  ]);
1300
- /**
1301
- * @generated from message data.v1.GetPositionRequest
1302
- */
1303
- export class GetPositionRequest extends Message {
1304
- constructor(data) {
1305
- super();
1306
- /**
1307
- * @generated from field: uint32 chain_id = 1;
1308
- */
1309
- this.chainId = 0;
1310
- /**
1311
- * @generated from field: pools.v1.ProtocolVersion protocol_version = 2;
1312
- */
1313
- this.protocolVersion = ProtocolVersion.UNSPECIFIED;
1314
- /**
1315
- * required for V3/V4
1316
- *
1317
- * @generated from field: string token_id = 3;
1318
- */
1319
- this.tokenId = "";
1320
- /**
1321
- * required for V2
1322
- *
1323
- * @generated from field: string pair_address = 4;
1324
- */
1325
- this.pairAddress = "";
1326
- /**
1327
- * required for V2
1328
- *
1329
- * @generated from field: string owner = 5;
1330
- */
1331
- this.owner = "";
1332
- proto3.util.initPartial(data, this);
1333
- }
1334
- static fromBinary(bytes, options) {
1335
- return new GetPositionRequest().fromBinary(bytes, options);
1336
- }
1337
- static fromJson(jsonValue, options) {
1338
- return new GetPositionRequest().fromJson(jsonValue, options);
1339
- }
1340
- static fromJsonString(jsonString, options) {
1341
- return new GetPositionRequest().fromJsonString(jsonString, options);
1342
- }
1343
- static equals(a, b) {
1344
- return proto3.util.equals(GetPositionRequest, a, b);
1345
- }
1346
- }
1347
- GetPositionRequest.runtime = proto3;
1348
- GetPositionRequest.typeName = "data.v1.GetPositionRequest";
1349
- GetPositionRequest.fields = proto3.util.newFieldList(() => [
1350
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1351
- { no: 2, name: "protocol_version", kind: "enum", T: proto3.getEnumType(ProtocolVersion) },
1352
- { no: 3, name: "token_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1353
- { no: 4, name: "pair_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1354
- { no: 5, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1355
- { no: 6, name: "fallback_to_chain", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1356
- { no: 7, name: "permissioned", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1357
- ]);
1358
- /**
1359
- * @generated from message data.v1.GetPositionResponse
1360
- */
1361
- export class GetPositionResponse extends Message {
1362
- constructor(data) {
1363
- super();
1364
- proto3.util.initPartial(data, this);
1365
- }
1366
- static fromBinary(bytes, options) {
1367
- return new GetPositionResponse().fromBinary(bytes, options);
1368
- }
1369
- static fromJson(jsonValue, options) {
1370
- return new GetPositionResponse().fromJson(jsonValue, options);
1371
- }
1372
- static fromJsonString(jsonString, options) {
1373
- return new GetPositionResponse().fromJsonString(jsonString, options);
1374
- }
1375
- static equals(a, b) {
1376
- return proto3.util.equals(GetPositionResponse, a, b);
1377
- }
1378
- }
1379
- GetPositionResponse.runtime = proto3;
1380
- GetPositionResponse.typeName = "data.v1.GetPositionResponse";
1381
- GetPositionResponse.fields = proto3.util.newFieldList(() => [
1382
- { no: 1, name: "position", kind: "message", T: Position },
1383
- ]);
1384
1300
  /**
1385
1301
  * @generated from message data.v1.ListPoolsRequest
1386
1302
  */
@@ -525,7 +525,11 @@ export declare enum AttackType {
525
525
  /**
526
526
  * @generated from enum value: ATTACK_TYPE_UNSTABLE_TOKEN_PRICE = 12;
527
527
  */
528
- UNSTABLE_TOKEN_PRICE = 12
528
+ UNSTABLE_TOKEN_PRICE = 12,
529
+ /**
530
+ * @generated from enum value: ATTACK_TYPE_EXIT_SCAM_RISK = 13;
531
+ */
532
+ EXIT_SCAM_RISK = 13
529
533
  }
530
534
  /**
531
535
  * @generated from message data.v1.Token
@@ -672,6 +672,10 @@ export var AttackType;
672
672
  * @generated from enum value: ATTACK_TYPE_UNSTABLE_TOKEN_PRICE = 12;
673
673
  */
674
674
  AttackType[AttackType["UNSTABLE_TOKEN_PRICE"] = 12] = "UNSTABLE_TOKEN_PRICE";
675
+ /**
676
+ * @generated from enum value: ATTACK_TYPE_EXIT_SCAM_RISK = 13;
677
+ */
678
+ AttackType[AttackType["EXIT_SCAM_RISK"] = 13] = "EXIT_SCAM_RISK";
675
679
  })(AttackType || (AttackType = {}));
676
680
  // Retrieve enum metadata with: proto3.getEnumType(AttackType)
677
681
  proto3.util.setEnumType(AttackType, "data.v1.AttackType", [
@@ -688,6 +692,7 @@ proto3.util.setEnumType(AttackType, "data.v1.AttackType", [
688
692
  { no: 10, name: "ATTACK_TYPE_SPAM_TEXT" },
689
693
  { no: 11, name: "ATTACK_TYPE_STATIC_CODE_SIGNATURE" },
690
694
  { no: 12, name: "ATTACK_TYPE_UNSTABLE_TOKEN_PRICE" },
695
+ { no: 13, name: "ATTACK_TYPE_EXIT_SCAM_RISK" },
691
696
  ]);
692
697
  /**
693
698
  * @generated from message data.v1.Token
@@ -323,6 +323,32 @@ export declare enum TransactionEventType {
323
323
  */
324
324
  REMOVE = 3
325
325
  }
326
+ /**
327
+ * How the selected launch created the token. CROWD and CUSTOM are the two
328
+ * Continuous Clearing Auction modes (quick launch vs. creator-configured
329
+ * parameters); INSTANT is a bonding-curve launch with no auction. UNSPECIFIED
330
+ * when the source records the launchpad but not the method.
331
+ *
332
+ * @generated from enum data.v2.LaunchMethod
333
+ */
334
+ export declare enum LaunchMethod {
335
+ /**
336
+ * @generated from enum value: LAUNCH_METHOD_UNSPECIFIED = 0;
337
+ */
338
+ UNSPECIFIED = 0,
339
+ /**
340
+ * @generated from enum value: LAUNCH_METHOD_CROWD = 1;
341
+ */
342
+ CROWD = 1,
343
+ /**
344
+ * @generated from enum value: LAUNCH_METHOD_CUSTOM = 2;
345
+ */
346
+ CUSTOM = 2,
347
+ /**
348
+ * @generated from enum value: LAUNCH_METHOD_INSTANT = 3;
349
+ */
350
+ INSTANT = 3
351
+ }
326
352
  /**
327
353
  * Sort field for ListLaunches; UNSPECIFIED defaults to LAUNCHED_AT (newest first).
328
354
  *
@@ -1605,6 +1631,14 @@ export declare class Token extends Message<Token> {
1605
1631
  * @generated from field: optional data.v2.TokenIssuerInfo issuer = 14;
1606
1632
  */
1607
1633
  issuer?: TokenIssuerInfo;
1634
+ /**
1635
+ * Best-effort display origin populated by canonical-token GetToken and
1636
+ * GetTokens reads. Other RPCs that reuse Token may leave it unset; absence
1637
+ * there does not prove the token has no eligible launch.
1638
+ *
1639
+ * @generated from field: optional data.v2.TokenLaunchProvenance launch_provenance = 15;
1640
+ */
1641
+ launchProvenance?: TokenLaunchProvenance;
1608
1642
  constructor(data?: PartialMessage<Token>);
1609
1643
  static readonly runtime: typeof proto3;
1610
1644
  static readonly typeName = "data.v2.Token";
@@ -1651,6 +1685,33 @@ export declare class Launchpad extends Message<Launchpad> {
1651
1685
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Launchpad;
1652
1686
  static equals(a: Launchpad | PlainMessage<Launchpad> | undefined, b: Launchpad | PlainMessage<Launchpad> | undefined): boolean;
1653
1687
  }
1688
+ /**
1689
+ * One token's earliest eligible launch, for display rather than complete
1690
+ * launch history. The launchpad is a serve-time snapshot of data-api's
1691
+ * registry so clients can render its badge without another request. When the
1692
+ * registry entry is missing or incomplete, the server omits the whole
1693
+ * launch_provenance field instead of returning a partial attribution.
1694
+ *
1695
+ * @generated from message data.v2.TokenLaunchProvenance
1696
+ */
1697
+ export declare class TokenLaunchProvenance extends Message<TokenLaunchProvenance> {
1698
+ /**
1699
+ * @generated from field: data.v2.Launchpad launchpad = 1;
1700
+ */
1701
+ launchpad?: Launchpad;
1702
+ /**
1703
+ * @generated from field: data.v2.LaunchMethod launch_method = 2;
1704
+ */
1705
+ launchMethod: LaunchMethod;
1706
+ constructor(data?: PartialMessage<TokenLaunchProvenance>);
1707
+ static readonly runtime: typeof proto3;
1708
+ static readonly typeName = "data.v2.TokenLaunchProvenance";
1709
+ static readonly fields: FieldList;
1710
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenLaunchProvenance;
1711
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenLaunchProvenance;
1712
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenLaunchProvenance;
1713
+ static equals(a: TokenLaunchProvenance | PlainMessage<TokenLaunchProvenance> | undefined, b: TokenLaunchProvenance | PlainMessage<TokenLaunchProvenance> | undefined): boolean;
1714
+ }
1654
1715
  /**
1655
1716
  * Optional filters for ListLaunches. When a window is set and sort_by is
1656
1717
  * UNSPECIFIED the server sorts by 24h volume (VOLUME_1D).
@@ -419,6 +419,40 @@ proto3.util.setEnumType(TransactionEventType, "data.v2.TransactionEventType", [
419
419
  { no: 2, name: "TRANSACTION_EVENT_TYPE_ADD" },
420
420
  { no: 3, name: "TRANSACTION_EVENT_TYPE_REMOVE" },
421
421
  ]);
422
+ /**
423
+ * How the selected launch created the token. CROWD and CUSTOM are the two
424
+ * Continuous Clearing Auction modes (quick launch vs. creator-configured
425
+ * parameters); INSTANT is a bonding-curve launch with no auction. UNSPECIFIED
426
+ * when the source records the launchpad but not the method.
427
+ *
428
+ * @generated from enum data.v2.LaunchMethod
429
+ */
430
+ export var LaunchMethod;
431
+ (function (LaunchMethod) {
432
+ /**
433
+ * @generated from enum value: LAUNCH_METHOD_UNSPECIFIED = 0;
434
+ */
435
+ LaunchMethod[LaunchMethod["UNSPECIFIED"] = 0] = "UNSPECIFIED";
436
+ /**
437
+ * @generated from enum value: LAUNCH_METHOD_CROWD = 1;
438
+ */
439
+ LaunchMethod[LaunchMethod["CROWD"] = 1] = "CROWD";
440
+ /**
441
+ * @generated from enum value: LAUNCH_METHOD_CUSTOM = 2;
442
+ */
443
+ LaunchMethod[LaunchMethod["CUSTOM"] = 2] = "CUSTOM";
444
+ /**
445
+ * @generated from enum value: LAUNCH_METHOD_INSTANT = 3;
446
+ */
447
+ LaunchMethod[LaunchMethod["INSTANT"] = 3] = "INSTANT";
448
+ })(LaunchMethod || (LaunchMethod = {}));
449
+ // Retrieve enum metadata with: proto3.getEnumType(LaunchMethod)
450
+ proto3.util.setEnumType(LaunchMethod, "data.v2.LaunchMethod", [
451
+ { no: 0, name: "LAUNCH_METHOD_UNSPECIFIED" },
452
+ { no: 1, name: "LAUNCH_METHOD_CROWD" },
453
+ { no: 2, name: "LAUNCH_METHOD_CUSTOM" },
454
+ { no: 3, name: "LAUNCH_METHOD_INSTANT" },
455
+ ]);
422
456
  /**
423
457
  * Sort field for ListLaunches; UNSPECIFIED defaults to LAUNCHED_AT (newest first).
424
458
  *
@@ -1706,6 +1740,7 @@ Token.fields = proto3.util.newFieldList(() => [
1706
1740
  { no: 12, name: "fdv", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1707
1741
  { no: 13, name: "category_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1708
1742
  { no: 14, name: "issuer", kind: "message", T: TokenIssuerInfo, opt: true },
1743
+ { no: 15, name: "launch_provenance", kind: "message", T: TokenLaunchProvenance, opt: true },
1709
1744
  ]);
1710
1745
  /**
1711
1746
  * A token launchpad known to the Launches surface (see the data-api
@@ -1748,6 +1783,43 @@ Launchpad.fields = proto3.util.newFieldList(() => [
1748
1783
  { no: 3, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1749
1784
  { no: 4, name: "protocol", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1750
1785
  ]);
1786
+ /**
1787
+ * One token's earliest eligible launch, for display rather than complete
1788
+ * launch history. The launchpad is a serve-time snapshot of data-api's
1789
+ * registry so clients can render its badge without another request. When the
1790
+ * registry entry is missing or incomplete, the server omits the whole
1791
+ * launch_provenance field instead of returning a partial attribution.
1792
+ *
1793
+ * @generated from message data.v2.TokenLaunchProvenance
1794
+ */
1795
+ export class TokenLaunchProvenance extends Message {
1796
+ constructor(data) {
1797
+ super();
1798
+ /**
1799
+ * @generated from field: data.v2.LaunchMethod launch_method = 2;
1800
+ */
1801
+ this.launchMethod = LaunchMethod.UNSPECIFIED;
1802
+ proto3.util.initPartial(data, this);
1803
+ }
1804
+ static fromBinary(bytes, options) {
1805
+ return new TokenLaunchProvenance().fromBinary(bytes, options);
1806
+ }
1807
+ static fromJson(jsonValue, options) {
1808
+ return new TokenLaunchProvenance().fromJson(jsonValue, options);
1809
+ }
1810
+ static fromJsonString(jsonString, options) {
1811
+ return new TokenLaunchProvenance().fromJsonString(jsonString, options);
1812
+ }
1813
+ static equals(a, b) {
1814
+ return proto3.util.equals(TokenLaunchProvenance, a, b);
1815
+ }
1816
+ }
1817
+ TokenLaunchProvenance.runtime = proto3;
1818
+ TokenLaunchProvenance.typeName = "data.v2.TokenLaunchProvenance";
1819
+ TokenLaunchProvenance.fields = proto3.util.newFieldList(() => [
1820
+ { no: 1, name: "launchpad", kind: "message", T: Launchpad },
1821
+ { no: 2, name: "launch_method", kind: "enum", T: proto3.getEnumType(LaunchMethod) },
1822
+ ]);
1751
1823
  /**
1752
1824
  * Optional filters for ListLaunches. When a window is set and sort_by is
1753
1825
  * UNSPECIFIED the server sorts by 24h volume (VOLUME_1D).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.252",
3
+ "version": "0.0.254",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },