@uniswap/client-data-api 0.0.244 → 0.0.246

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.
@@ -301,10 +301,30 @@ export declare class GetBidsResponse extends Message<GetBidsResponse> {
301
301
  /**
302
302
  * Request to fetch auctions.
303
303
  *
304
+ * `address` is resolved as either the AUCTION CONTRACT address or the launched
305
+ * TOKEN address (there is no auction-by-token RPC — see
306
+ * AuctionsBL.resolveAuctionByAddress), on each requested chain.
307
+ *
308
+ * CHAIN SELECTION — exactly one of the three branches applies, in this order:
309
+ *
310
+ * 1. chain_ids non-empty -> those chains. chain_ids WINS and chain_id is
311
+ * IGNORED, even when both are set.
312
+ * 2. chain_ids empty, chain_id != 0 -> that single chain. This is the
313
+ * original one-chain request, unchanged for deployed clients.
314
+ * 3. chain_ids empty, chain_id == 0 -> every supported (EVM) chain.
315
+ * Previously an INVALID_ARGUMENT; a client that wants one chain must
316
+ * still name it.
317
+ *
318
+ * The response is already `repeated` and every Auction carries its own
319
+ * chain_id, so a multi-chain answer needs no response change: match rows back
320
+ * by Auction.chain_id.
321
+ *
304
322
  * @generated from message data.v1.GetAuctionRequest
305
323
  */
306
324
  export declare class GetAuctionRequest extends Message<GetAuctionRequest> {
307
325
  /**
326
+ * Single-chain form. Ignored when chain_ids is non-empty (branch 1).
327
+ *
308
328
  * @generated from field: int32 chain_id = 1;
309
329
  */
310
330
  chainId: number;
@@ -312,6 +332,15 @@ export declare class GetAuctionRequest extends Message<GetAuctionRequest> {
312
332
  * @generated from field: string address = 2;
313
333
  */
314
334
  address: string;
335
+ /**
336
+ * Multi-chain form: resolve `address` across several chains in ONE request,
337
+ * for a client that serves more than one chain and does not yet know which
338
+ * chain the auction is on. Deduped and sorted server-side, capped at 20
339
+ * chains (extras are dropped, not rejected). Empty = branches 2/3 above.
340
+ *
341
+ * @generated from field: repeated int32 chain_ids = 3;
342
+ */
343
+ chainIds: number[];
315
344
  constructor(data?: PartialMessage<GetAuctionRequest>);
316
345
  static readonly runtime: typeof proto3;
317
346
  static readonly typeName = "data.v1.GetAuctionRequest";
@@ -420,12 +420,32 @@ GetBidsResponse.fields = proto3.util.newFieldList(() => [
420
420
  /**
421
421
  * Request to fetch auctions.
422
422
  *
423
+ * `address` is resolved as either the AUCTION CONTRACT address or the launched
424
+ * TOKEN address (there is no auction-by-token RPC — see
425
+ * AuctionsBL.resolveAuctionByAddress), on each requested chain.
426
+ *
427
+ * CHAIN SELECTION — exactly one of the three branches applies, in this order:
428
+ *
429
+ * 1. chain_ids non-empty -> those chains. chain_ids WINS and chain_id is
430
+ * IGNORED, even when both are set.
431
+ * 2. chain_ids empty, chain_id != 0 -> that single chain. This is the
432
+ * original one-chain request, unchanged for deployed clients.
433
+ * 3. chain_ids empty, chain_id == 0 -> every supported (EVM) chain.
434
+ * Previously an INVALID_ARGUMENT; a client that wants one chain must
435
+ * still name it.
436
+ *
437
+ * The response is already `repeated` and every Auction carries its own
438
+ * chain_id, so a multi-chain answer needs no response change: match rows back
439
+ * by Auction.chain_id.
440
+ *
423
441
  * @generated from message data.v1.GetAuctionRequest
424
442
  */
425
443
  export class GetAuctionRequest extends Message {
426
444
  constructor(data) {
427
445
  super();
428
446
  /**
447
+ * Single-chain form. Ignored when chain_ids is non-empty (branch 1).
448
+ *
429
449
  * @generated from field: int32 chain_id = 1;
430
450
  */
431
451
  this.chainId = 0;
@@ -433,6 +453,15 @@ export class GetAuctionRequest extends Message {
433
453
  * @generated from field: string address = 2;
434
454
  */
435
455
  this.address = "";
456
+ /**
457
+ * Multi-chain form: resolve `address` across several chains in ONE request,
458
+ * for a client that serves more than one chain and does not yet know which
459
+ * chain the auction is on. Deduped and sorted server-side, capped at 20
460
+ * chains (extras are dropped, not rejected). Empty = branches 2/3 above.
461
+ *
462
+ * @generated from field: repeated int32 chain_ids = 3;
463
+ */
464
+ this.chainIds = [];
436
465
  proto3.util.initPartial(data, this);
437
466
  }
438
467
  static fromBinary(bytes, options) {
@@ -453,6 +482,7 @@ GetAuctionRequest.typeName = "data.v1.GetAuctionRequest";
453
482
  GetAuctionRequest.fields = proto3.util.newFieldList(() => [
454
483
  { no: 1, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
455
484
  { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
485
+ { no: 3, name: "chain_ids", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true },
456
486
  ]);
457
487
  /**
458
488
  * Liquidity-lock metadata for auctions whose graduated LP position is held by a
@@ -69,7 +69,8 @@ export declare class SearchRequest extends Message<SearchRequest> {
69
69
  export declare class SearchResponse extends Message<SearchResponse> {
70
70
  /**
71
71
  * Ranker-ordered, same row shape as ListTokens; hidden results (malicious,
72
- * blocklisted, URL in name) are dropped server-side and never returned.
72
+ * blocklisted, URL in name) are dropped server-side, except the token a
73
+ * pasted address names, which is returned here with its safety fields set.
73
74
  *
74
75
  * @generated from field: repeated data.v2.RankedMultichainToken tokens = 1;
75
76
  */
@@ -93,7 +93,8 @@ export class SearchResponse extends Message {
93
93
  super();
94
94
  /**
95
95
  * Ranker-ordered, same row shape as ListTokens; hidden results (malicious,
96
- * blocklisted, URL in name) are dropped server-side and never returned.
96
+ * blocklisted, URL in name) are dropped server-side, except the token a
97
+ * pasted address names, which is returned here with its safety fields set.
97
98
  *
98
99
  * @generated from field: repeated data.v2.RankedMultichainToken tokens = 1;
99
100
  */
@@ -1008,6 +1008,8 @@ export declare class MultichainToken extends Message<MultichainToken> {
1008
1008
  */
1009
1009
  fdv?: number;
1010
1010
  /**
1011
+ * Ordered by display precedence: the first id is the preferred tag.
1012
+ *
1011
1013
  * @generated from field: repeated string category_ids = 12;
1012
1014
  */
1013
1015
  categoryIds: string[];
@@ -1585,6 +1587,8 @@ export declare class Token extends Message<Token> {
1585
1587
  */
1586
1588
  fdv?: number;
1587
1589
  /**
1590
+ * Ordered by display precedence: the first id is the preferred tag.
1591
+ *
1588
1592
  * @generated from field: repeated string category_ids = 13;
1589
1593
  */
1590
1594
  categoryIds: string[];
@@ -1125,6 +1125,8 @@ export class MultichainToken extends Message {
1125
1125
  */
1126
1126
  this.type = TokenType.UNKNOWN;
1127
1127
  /**
1128
+ * Ordered by display precedence: the first id is the preferred tag.
1129
+ *
1128
1130
  * @generated from field: repeated string category_ids = 12;
1129
1131
  */
1130
1132
  this.categoryIds = [];
@@ -1658,6 +1660,8 @@ export class Token extends Message {
1658
1660
  */
1659
1661
  this.type = TokenType.UNKNOWN;
1660
1662
  /**
1663
+ * Ordered by display precedence: the first id is the preferred tag.
1664
+ *
1661
1665
  * @generated from field: repeated string category_ids = 13;
1662
1666
  */
1663
1667
  this.categoryIds = [];
@@ -1,5 +1,5 @@
1
1
  import { MethodKind } from "@bufbuild/protobuf";
2
- import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse } from "./api_pb.js";
2
+ import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesForTokensRequest, GetLaunchCreatorFeesForTokensResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse } from "./api_pb.js";
3
3
  /**
4
4
  * @generated from rpc launches.v1.LaunchService.ListLaunchpads
5
5
  */
@@ -78,6 +78,19 @@ export declare const getLaunchCreatorFees: {
78
78
  readonly typeName: "launches.v1.LaunchService";
79
79
  };
80
80
  };
81
+ /**
82
+ * @generated from rpc launches.v1.LaunchService.GetLaunchCreatorFeesForTokens
83
+ */
84
+ export declare const getLaunchCreatorFeesForTokens: {
85
+ readonly localName: "getLaunchCreatorFeesForTokens";
86
+ readonly name: "GetLaunchCreatorFeesForTokens";
87
+ readonly kind: MethodKind.Unary;
88
+ readonly I: typeof GetLaunchCreatorFeesForTokensRequest;
89
+ readonly O: typeof GetLaunchCreatorFeesForTokensResponse;
90
+ readonly service: {
91
+ readonly typeName: "launches.v1.LaunchService";
92
+ };
93
+ };
81
94
  /**
82
95
  * @generated from rpc launches.v1.LaunchService.CheckLaunchNameTicker
83
96
  */
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodKind } from "@bufbuild/protobuf";
6
- import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse } from "./api_pb.js";
6
+ import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesForTokensRequest, GetLaunchCreatorFeesForTokensResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse } from "./api_pb.js";
7
7
  /**
8
8
  * @generated from rpc launches.v1.LaunchService.ListLaunchpads
9
9
  */
@@ -82,6 +82,19 @@ export const getLaunchCreatorFees = {
82
82
  typeName: "launches.v1.LaunchService"
83
83
  }
84
84
  };
85
+ /**
86
+ * @generated from rpc launches.v1.LaunchService.GetLaunchCreatorFeesForTokens
87
+ */
88
+ export const getLaunchCreatorFeesForTokens = {
89
+ localName: "getLaunchCreatorFeesForTokens",
90
+ name: "GetLaunchCreatorFeesForTokens",
91
+ kind: MethodKind.Unary,
92
+ I: GetLaunchCreatorFeesForTokensRequest,
93
+ O: GetLaunchCreatorFeesForTokensResponse,
94
+ service: {
95
+ typeName: "launches.v1.LaunchService"
96
+ }
97
+ };
85
98
  /**
86
99
  * @generated from rpc launches.v1.LaunchService.CheckLaunchNameTicker
87
100
  */
@@ -1,4 +1,4 @@
1
- import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse } from "./api_pb.js";
1
+ import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesForTokensRequest, GetLaunchCreatorFeesForTokensResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse } from "./api_pb.js";
2
2
  import { MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * launches.v1.LaunchService re-declares the launch-scoped read RPCs served
@@ -67,6 +67,15 @@ export declare const LaunchService: {
67
67
  readonly O: typeof GetLaunchCreatorFeesResponse;
68
68
  readonly kind: MethodKind.Unary;
69
69
  };
70
+ /**
71
+ * @generated from rpc launches.v1.LaunchService.GetLaunchCreatorFeesForTokens
72
+ */
73
+ readonly getLaunchCreatorFeesForTokens: {
74
+ readonly name: "GetLaunchCreatorFeesForTokens";
75
+ readonly I: typeof GetLaunchCreatorFeesForTokensRequest;
76
+ readonly O: typeof GetLaunchCreatorFeesForTokensResponse;
77
+ readonly kind: MethodKind.Unary;
78
+ };
70
79
  /**
71
80
  * @generated from rpc launches.v1.LaunchService.CheckLaunchNameTicker
72
81
  */
@@ -2,7 +2,7 @@
2
2
  // @generated from file launches/v1/api.proto (package launches.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse } from "./api_pb.js";
5
+ import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesForTokensRequest, GetLaunchCreatorFeesForTokensResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse } from "./api_pb.js";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * launches.v1.LaunchService re-declares the launch-scoped read RPCs served
@@ -71,6 +71,15 @@ export const LaunchService = {
71
71
  O: GetLaunchCreatorFeesResponse,
72
72
  kind: MethodKind.Unary,
73
73
  },
74
+ /**
75
+ * @generated from rpc launches.v1.LaunchService.GetLaunchCreatorFeesForTokens
76
+ */
77
+ getLaunchCreatorFeesForTokens: {
78
+ name: "GetLaunchCreatorFeesForTokens",
79
+ I: GetLaunchCreatorFeesForTokensRequest,
80
+ O: GetLaunchCreatorFeesForTokensResponse,
81
+ kind: MethodKind.Unary,
82
+ },
74
83
  /**
75
84
  * @generated from rpc launches.v1.LaunchService.CheckLaunchNameTicker
76
85
  */
@@ -895,6 +895,106 @@ export declare class GetLaunchCreatorFeesResponse extends Message<GetLaunchCreat
895
895
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLaunchCreatorFeesResponse;
896
896
  static equals(a: GetLaunchCreatorFeesResponse | PlainMessage<GetLaunchCreatorFeesResponse> | undefined, b: GetLaunchCreatorFeesResponse | PlainMessage<GetLaunchCreatorFeesResponse> | undefined): boolean;
897
897
  }
898
+ /**
899
+ * Batched GetLaunchCreatorFees: the SAME per-token metrics for a whole set of
900
+ * tokens in one request. A creator portfolio polling 30 launches otherwise
901
+ * makes 30 requests every tick; this is the batched replacement, modelled on
902
+ * GetLiquidityForTokens below.
903
+ *
904
+ * Not a widening of GetLaunchCreatorFees: that response is a SINGLETON message
905
+ * with no repeated field and no (chain_id, token_address) identity on it, so a
906
+ * batch cannot be expressed in it without making every existing field
907
+ * mode-dependent. The single-token RPC keeps working unchanged and stays the
908
+ * right call for one token.
909
+ *
910
+ * @generated from message launches.v1.GetLaunchCreatorFeesForTokensRequest
911
+ */
912
+ export declare class GetLaunchCreatorFeesForTokensRequest extends Message<GetLaunchCreatorFeesForTokensRequest> {
913
+ /**
914
+ * max 100
915
+ *
916
+ * @generated from field: repeated launches.v1.TokenIdentifier tokens = 1;
917
+ */
918
+ tokens: TokenIdentifier[];
919
+ constructor(data?: PartialMessage<GetLaunchCreatorFeesForTokensRequest>);
920
+ static readonly runtime: typeof proto3;
921
+ static readonly typeName = "launches.v1.GetLaunchCreatorFeesForTokensRequest";
922
+ static readonly fields: FieldList;
923
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetLaunchCreatorFeesForTokensRequest;
924
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetLaunchCreatorFeesForTokensRequest;
925
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLaunchCreatorFeesForTokensRequest;
926
+ static equals(a: GetLaunchCreatorFeesForTokensRequest | PlainMessage<GetLaunchCreatorFeesForTokensRequest> | undefined, b: GetLaunchCreatorFeesForTokensRequest | PlainMessage<GetLaunchCreatorFeesForTokensRequest> | undefined): boolean;
927
+ }
928
+ /**
929
+ * One entry per requested token, in request order. Read the THREE-WAY
930
+ * distinction below before rendering anything — it is the whole point of the
931
+ * batch form, and collapsing two of the cases produces a wrong zero:
932
+ *
933
+ * * entry present, `fees` SET -> the token's fee position (identical to
934
+ * what the single-token GetLaunchCreatorFees returns for it).
935
+ * * entry present, `fees` UNSET -> NO POSITION. Exactly the case the
936
+ * single-token RPC answers with not_found: the token has neither indexed
937
+ * Instant Launch fee events nor a resolvable launch. A durable, cacheable
938
+ * answer — render "no fees", do not retry.
939
+ * * entry ABSENT from `entries` -> NOT EVALUATED. The server could not
940
+ * determine this token's fees (a transient upstream failure on that token
941
+ * alone). NOT a statement that there is no position: keep the previous
942
+ * value or retry, never render zero.
943
+ *
944
+ * A single failing or position-less token therefore never fails the batch —
945
+ * the other tokens are still served.
946
+ *
947
+ * @generated from message launches.v1.GetLaunchCreatorFeesForTokensResponse
948
+ */
949
+ export declare class GetLaunchCreatorFeesForTokensResponse extends Message<GetLaunchCreatorFeesForTokensResponse> {
950
+ /**
951
+ * @generated from field: repeated launches.v1.LaunchCreatorFeesEntry entries = 1;
952
+ */
953
+ entries: LaunchCreatorFeesEntry[];
954
+ constructor(data?: PartialMessage<GetLaunchCreatorFeesForTokensResponse>);
955
+ static readonly runtime: typeof proto3;
956
+ static readonly typeName = "launches.v1.GetLaunchCreatorFeesForTokensResponse";
957
+ static readonly fields: FieldList;
958
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetLaunchCreatorFeesForTokensResponse;
959
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetLaunchCreatorFeesForTokensResponse;
960
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLaunchCreatorFeesForTokensResponse;
961
+ static equals(a: GetLaunchCreatorFeesForTokensResponse | PlainMessage<GetLaunchCreatorFeesForTokensResponse> | undefined, b: GetLaunchCreatorFeesForTokensResponse | PlainMessage<GetLaunchCreatorFeesForTokensResponse> | undefined): boolean;
962
+ }
963
+ /**
964
+ * A requested token paired with its fees. chain_id AND token_address are both
965
+ * always set so a caller matches rows back by identity rather than by index —
966
+ * order is request order today, but absent entries make positional matching
967
+ * wrong, so do not rely on it.
968
+ *
969
+ * @generated from message launches.v1.LaunchCreatorFeesEntry
970
+ */
971
+ export declare class LaunchCreatorFeesEntry extends Message<LaunchCreatorFeesEntry> {
972
+ /**
973
+ * @generated from field: uint32 chain_id = 1;
974
+ */
975
+ chainId: number;
976
+ /**
977
+ * EIP-55 checksummed token address, echoing the requested token.
978
+ *
979
+ * @generated from field: string token_address = 2;
980
+ */
981
+ tokenAddress: string;
982
+ /**
983
+ * The single-token response embedded verbatim, so the batch and single-token
984
+ * forms can never drift in meaning. UNSET = no position (see above).
985
+ *
986
+ * @generated from field: optional launches.v1.GetLaunchCreatorFeesResponse fees = 3;
987
+ */
988
+ fees?: GetLaunchCreatorFeesResponse;
989
+ constructor(data?: PartialMessage<LaunchCreatorFeesEntry>);
990
+ static readonly runtime: typeof proto3;
991
+ static readonly typeName = "launches.v1.LaunchCreatorFeesEntry";
992
+ static readonly fields: FieldList;
993
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LaunchCreatorFeesEntry;
994
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LaunchCreatorFeesEntry;
995
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LaunchCreatorFeesEntry;
996
+ static equals(a: LaunchCreatorFeesEntry | PlainMessage<LaunchCreatorFeesEntry> | undefined, b: LaunchCreatorFeesEntry | PlainMessage<LaunchCreatorFeesEntry> | undefined): boolean;
997
+ }
898
998
  /**
899
999
  * Anti-vamp create-flow check (LP-1311): has a token with this name + ticker
900
1000
  * combination launched on the chain within the trailing 8 hours? Matching is
@@ -856,6 +856,140 @@ GetLaunchCreatorFeesResponse.fields = proto3.util.newFieldList(() => [
856
856
  { no: 8, name: "beneficiary_vault", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
857
857
  { no: 9, name: "claimable_includes_uncollected", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
858
858
  ]);
859
+ /**
860
+ * Batched GetLaunchCreatorFees: the SAME per-token metrics for a whole set of
861
+ * tokens in one request. A creator portfolio polling 30 launches otherwise
862
+ * makes 30 requests every tick; this is the batched replacement, modelled on
863
+ * GetLiquidityForTokens below.
864
+ *
865
+ * Not a widening of GetLaunchCreatorFees: that response is a SINGLETON message
866
+ * with no repeated field and no (chain_id, token_address) identity on it, so a
867
+ * batch cannot be expressed in it without making every existing field
868
+ * mode-dependent. The single-token RPC keeps working unchanged and stays the
869
+ * right call for one token.
870
+ *
871
+ * @generated from message launches.v1.GetLaunchCreatorFeesForTokensRequest
872
+ */
873
+ export class GetLaunchCreatorFeesForTokensRequest extends Message {
874
+ constructor(data) {
875
+ super();
876
+ /**
877
+ * max 100
878
+ *
879
+ * @generated from field: repeated launches.v1.TokenIdentifier tokens = 1;
880
+ */
881
+ this.tokens = [];
882
+ proto3.util.initPartial(data, this);
883
+ }
884
+ static fromBinary(bytes, options) {
885
+ return new GetLaunchCreatorFeesForTokensRequest().fromBinary(bytes, options);
886
+ }
887
+ static fromJson(jsonValue, options) {
888
+ return new GetLaunchCreatorFeesForTokensRequest().fromJson(jsonValue, options);
889
+ }
890
+ static fromJsonString(jsonString, options) {
891
+ return new GetLaunchCreatorFeesForTokensRequest().fromJsonString(jsonString, options);
892
+ }
893
+ static equals(a, b) {
894
+ return proto3.util.equals(GetLaunchCreatorFeesForTokensRequest, a, b);
895
+ }
896
+ }
897
+ GetLaunchCreatorFeesForTokensRequest.runtime = proto3;
898
+ GetLaunchCreatorFeesForTokensRequest.typeName = "launches.v1.GetLaunchCreatorFeesForTokensRequest";
899
+ GetLaunchCreatorFeesForTokensRequest.fields = proto3.util.newFieldList(() => [
900
+ { no: 1, name: "tokens", kind: "message", T: TokenIdentifier, repeated: true },
901
+ ]);
902
+ /**
903
+ * One entry per requested token, in request order. Read the THREE-WAY
904
+ * distinction below before rendering anything — it is the whole point of the
905
+ * batch form, and collapsing two of the cases produces a wrong zero:
906
+ *
907
+ * * entry present, `fees` SET -> the token's fee position (identical to
908
+ * what the single-token GetLaunchCreatorFees returns for it).
909
+ * * entry present, `fees` UNSET -> NO POSITION. Exactly the case the
910
+ * single-token RPC answers with not_found: the token has neither indexed
911
+ * Instant Launch fee events nor a resolvable launch. A durable, cacheable
912
+ * answer — render "no fees", do not retry.
913
+ * * entry ABSENT from `entries` -> NOT EVALUATED. The server could not
914
+ * determine this token's fees (a transient upstream failure on that token
915
+ * alone). NOT a statement that there is no position: keep the previous
916
+ * value or retry, never render zero.
917
+ *
918
+ * A single failing or position-less token therefore never fails the batch —
919
+ * the other tokens are still served.
920
+ *
921
+ * @generated from message launches.v1.GetLaunchCreatorFeesForTokensResponse
922
+ */
923
+ export class GetLaunchCreatorFeesForTokensResponse extends Message {
924
+ constructor(data) {
925
+ super();
926
+ /**
927
+ * @generated from field: repeated launches.v1.LaunchCreatorFeesEntry entries = 1;
928
+ */
929
+ this.entries = [];
930
+ proto3.util.initPartial(data, this);
931
+ }
932
+ static fromBinary(bytes, options) {
933
+ return new GetLaunchCreatorFeesForTokensResponse().fromBinary(bytes, options);
934
+ }
935
+ static fromJson(jsonValue, options) {
936
+ return new GetLaunchCreatorFeesForTokensResponse().fromJson(jsonValue, options);
937
+ }
938
+ static fromJsonString(jsonString, options) {
939
+ return new GetLaunchCreatorFeesForTokensResponse().fromJsonString(jsonString, options);
940
+ }
941
+ static equals(a, b) {
942
+ return proto3.util.equals(GetLaunchCreatorFeesForTokensResponse, a, b);
943
+ }
944
+ }
945
+ GetLaunchCreatorFeesForTokensResponse.runtime = proto3;
946
+ GetLaunchCreatorFeesForTokensResponse.typeName = "launches.v1.GetLaunchCreatorFeesForTokensResponse";
947
+ GetLaunchCreatorFeesForTokensResponse.fields = proto3.util.newFieldList(() => [
948
+ { no: 1, name: "entries", kind: "message", T: LaunchCreatorFeesEntry, repeated: true },
949
+ ]);
950
+ /**
951
+ * A requested token paired with its fees. chain_id AND token_address are both
952
+ * always set so a caller matches rows back by identity rather than by index —
953
+ * order is request order today, but absent entries make positional matching
954
+ * wrong, so do not rely on it.
955
+ *
956
+ * @generated from message launches.v1.LaunchCreatorFeesEntry
957
+ */
958
+ export class LaunchCreatorFeesEntry extends Message {
959
+ constructor(data) {
960
+ super();
961
+ /**
962
+ * @generated from field: uint32 chain_id = 1;
963
+ */
964
+ this.chainId = 0;
965
+ /**
966
+ * EIP-55 checksummed token address, echoing the requested token.
967
+ *
968
+ * @generated from field: string token_address = 2;
969
+ */
970
+ this.tokenAddress = "";
971
+ proto3.util.initPartial(data, this);
972
+ }
973
+ static fromBinary(bytes, options) {
974
+ return new LaunchCreatorFeesEntry().fromBinary(bytes, options);
975
+ }
976
+ static fromJson(jsonValue, options) {
977
+ return new LaunchCreatorFeesEntry().fromJson(jsonValue, options);
978
+ }
979
+ static fromJsonString(jsonString, options) {
980
+ return new LaunchCreatorFeesEntry().fromJsonString(jsonString, options);
981
+ }
982
+ static equals(a, b) {
983
+ return proto3.util.equals(LaunchCreatorFeesEntry, a, b);
984
+ }
985
+ }
986
+ LaunchCreatorFeesEntry.runtime = proto3;
987
+ LaunchCreatorFeesEntry.typeName = "launches.v1.LaunchCreatorFeesEntry";
988
+ LaunchCreatorFeesEntry.fields = proto3.util.newFieldList(() => [
989
+ { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
990
+ { no: 2, name: "token_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
991
+ { no: 3, name: "fees", kind: "message", T: GetLaunchCreatorFeesResponse, opt: true },
992
+ ]);
859
993
  /**
860
994
  * Anti-vamp create-flow check (LP-1311): has a token with this name + ticker
861
995
  * combination launched on the chain within the trailing 8 hours? Matching is
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.244",
3
+ "version": "0.0.246",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },