@uniswap/client-data-api 0.0.171 → 0.0.174

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.
@@ -31,7 +31,18 @@ export declare enum LockMode {
31
31
  *
32
32
  * @generated from enum value: LOCK_MODE_BURN = 4;
33
33
  */
34
- BURN = 4
34
+ BURN = 4,
35
+ /**
36
+ * The LP position was minted to an Instant Launch FeeSplitter (the CCA
37
+ * creator-fees custody, recognized against the SDK deployment registry).
38
+ * The splitter permanently custodies the position and autonomously
39
+ * distributes its fees; nothing ever unlocks (unlock_block is 0) and no
40
+ * operator can withdraw (lp_operator is empty). locked_forever is always
41
+ * true.
42
+ *
43
+ * @generated from enum value: LOCK_MODE_FEE_SPLITTER = 5;
44
+ */
45
+ FEE_SPLITTER = 5
35
46
  }
36
47
  /**
37
48
  * Request to fetch all bids by a wallet.
@@ -265,14 +276,16 @@ export declare class GetAuctionRequest extends Message<GetAuctionRequest> {
265
276
  }
266
277
  /**
267
278
  * Liquidity-lock metadata for auctions whose graduated LP position is held by a
268
- * timelock recipient contract (or by the burn address for LOCK_MODE_BURN). Set on
269
- * Auction only when the position is locked.
279
+ * timelock recipient contract (or by the burn address for LOCK_MODE_BURN, or by
280
+ * an Instant Launch FeeSplitter for LOCK_MODE_FEE_SPLITTER). Set on Auction only
281
+ * when the position is locked.
270
282
  *
271
283
  * @generated from message data.v1.LiquidityLockInfo
272
284
  */
273
285
  export declare class LiquidityLockInfo extends Message<LiquidityLockInfo> {
274
286
  /**
275
- * Lock recipient contract address (the burn address for LOCK_MODE_BURN).
287
+ * Lock recipient contract address (the burn address for LOCK_MODE_BURN, the
288
+ * FeeSplitter for LOCK_MODE_FEE_SPLITTER).
276
289
  *
277
290
  * @generated from field: string lock_recipient = 1;
278
291
  */
@@ -283,16 +296,16 @@ export declare class LiquidityLockInfo extends Message<LiquidityLockInfo> {
283
296
  lockMode: LockMode;
284
297
  /**
285
298
  * Unlock block number only — clients estimate the calendar date from it.
286
- * 0 for LOCK_MODE_BURN (nothing ever unlocks): check locked_forever before
287
- * rendering an unlock date.
299
+ * 0 for LOCK_MODE_BURN and LOCK_MODE_FEE_SPLITTER (nothing ever unlocks):
300
+ * check locked_forever before rendering an unlock date.
288
301
  *
289
302
  * @generated from field: uint64 unlock_block = 3;
290
303
  */
291
304
  unlockBlock: bigint;
292
305
  /**
293
306
  * Timelock operator: the address that can claim the position after unlock
294
- * ("LP owner" display while locked). Empty for LOCK_MODE_BURN — no one can
295
- * ever claim a burned position.
307
+ * ("LP owner" display while locked). Empty for LOCK_MODE_BURN and
308
+ * LOCK_MODE_FEE_SPLITTER — no one can ever claim those positions.
296
309
  *
297
310
  * @generated from field: string lp_operator = 4;
298
311
  */
@@ -36,6 +36,17 @@ export var LockMode;
36
36
  * @generated from enum value: LOCK_MODE_BURN = 4;
37
37
  */
38
38
  LockMode[LockMode["BURN"] = 4] = "BURN";
39
+ /**
40
+ * The LP position was minted to an Instant Launch FeeSplitter (the CCA
41
+ * creator-fees custody, recognized against the SDK deployment registry).
42
+ * The splitter permanently custodies the position and autonomously
43
+ * distributes its fees; nothing ever unlocks (unlock_block is 0) and no
44
+ * operator can withdraw (lp_operator is empty). locked_forever is always
45
+ * true.
46
+ *
47
+ * @generated from enum value: LOCK_MODE_FEE_SPLITTER = 5;
48
+ */
49
+ LockMode[LockMode["FEE_SPLITTER"] = 5] = "FEE_SPLITTER";
39
50
  })(LockMode || (LockMode = {}));
40
51
  // Retrieve enum metadata with: proto3.getEnumType(LockMode)
41
52
  proto3.util.setEnumType(LockMode, "data.v1.LockMode", [
@@ -44,6 +55,7 @@ proto3.util.setEnumType(LockMode, "data.v1.LockMode", [
44
55
  { no: 2, name: "LOCK_MODE_FEES_FORWARDER" },
45
56
  { no: 3, name: "LOCK_MODE_BUYBACK_BURN" },
46
57
  { no: 4, name: "LOCK_MODE_BURN" },
58
+ { no: 5, name: "LOCK_MODE_FEE_SPLITTER" },
47
59
  ]);
48
60
  /**
49
61
  * Request to fetch all bids by a wallet.
@@ -383,8 +395,9 @@ GetAuctionRequest.fields = proto3.util.newFieldList(() => [
383
395
  ]);
384
396
  /**
385
397
  * Liquidity-lock metadata for auctions whose graduated LP position is held by a
386
- * timelock recipient contract (or by the burn address for LOCK_MODE_BURN). Set on
387
- * Auction only when the position is locked.
398
+ * timelock recipient contract (or by the burn address for LOCK_MODE_BURN, or by
399
+ * an Instant Launch FeeSplitter for LOCK_MODE_FEE_SPLITTER). Set on Auction only
400
+ * when the position is locked.
388
401
  *
389
402
  * @generated from message data.v1.LiquidityLockInfo
390
403
  */
@@ -392,7 +405,8 @@ export class LiquidityLockInfo extends Message {
392
405
  constructor(data) {
393
406
  super();
394
407
  /**
395
- * Lock recipient contract address (the burn address for LOCK_MODE_BURN).
408
+ * Lock recipient contract address (the burn address for LOCK_MODE_BURN, the
409
+ * FeeSplitter for LOCK_MODE_FEE_SPLITTER).
396
410
  *
397
411
  * @generated from field: string lock_recipient = 1;
398
412
  */
@@ -403,16 +417,16 @@ export class LiquidityLockInfo extends Message {
403
417
  this.lockMode = LockMode.UNSPECIFIED;
404
418
  /**
405
419
  * Unlock block number only — clients estimate the calendar date from it.
406
- * 0 for LOCK_MODE_BURN (nothing ever unlocks): check locked_forever before
407
- * rendering an unlock date.
420
+ * 0 for LOCK_MODE_BURN and LOCK_MODE_FEE_SPLITTER (nothing ever unlocks):
421
+ * check locked_forever before rendering an unlock date.
408
422
  *
409
423
  * @generated from field: uint64 unlock_block = 3;
410
424
  */
411
425
  this.unlockBlock = protoInt64.zero;
412
426
  /**
413
427
  * Timelock operator: the address that can claim the position after unlock
414
- * ("LP owner" display while locked). Empty for LOCK_MODE_BURN — no one can
415
- * ever claim a burned position.
428
+ * ("LP owner" display while locked). Empty for LOCK_MODE_BURN and
429
+ * LOCK_MODE_FEE_SPLITTER — no one can ever claim those positions.
416
430
  *
417
431
  * @generated from field: string lp_operator = 4;
418
432
  */
@@ -1,5 +1,5 @@
1
1
  import { MethodKind } from "@bufbuild/protobuf";
2
- import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
2
+ import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
3
3
  /**
4
4
  * @generated from rpc data.v2.DataApiService.GetToken
5
5
  */
@@ -312,6 +312,19 @@ export declare const getLaunchClaims: {
312
312
  readonly typeName: "data.v2.DataApiService";
313
313
  };
314
314
  };
315
+ /**
316
+ * @generated from rpc data.v2.DataApiService.GetLaunchCreatorFees
317
+ */
318
+ export declare const getLaunchCreatorFees: {
319
+ readonly localName: "getLaunchCreatorFees";
320
+ readonly name: "GetLaunchCreatorFees";
321
+ readonly kind: MethodKind.Unary;
322
+ readonly I: typeof GetLaunchCreatorFeesRequest;
323
+ readonly O: typeof GetLaunchCreatorFeesResponse;
324
+ readonly service: {
325
+ readonly typeName: "data.v2.DataApiService";
326
+ };
327
+ };
315
328
  /**
316
329
  * @generated from rpc data.v2.DataApiService.GetTokenTopTraders
317
330
  */
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodKind } from "@bufbuild/protobuf";
6
- import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
6
+ import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
7
7
  /**
8
8
  * @generated from rpc data.v2.DataApiService.GetToken
9
9
  */
@@ -316,6 +316,19 @@ export const getLaunchClaims = {
316
316
  typeName: "data.v2.DataApiService"
317
317
  }
318
318
  };
319
+ /**
320
+ * @generated from rpc data.v2.DataApiService.GetLaunchCreatorFees
321
+ */
322
+ export const getLaunchCreatorFees = {
323
+ localName: "getLaunchCreatorFees",
324
+ name: "GetLaunchCreatorFees",
325
+ kind: MethodKind.Unary,
326
+ I: GetLaunchCreatorFeesRequest,
327
+ O: GetLaunchCreatorFeesResponse,
328
+ service: {
329
+ typeName: "data.v2.DataApiService"
330
+ }
331
+ };
319
332
  /**
320
333
  * @generated from rpc data.v2.DataApiService.GetTokenTopTraders
321
334
  */
@@ -1,4 +1,4 @@
1
- import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
1
+ import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
2
2
  import { MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from service data.v2.DataApiService
@@ -222,6 +222,15 @@ export declare const DataApiService: {
222
222
  readonly O: typeof GetLaunchClaimsResponse;
223
223
  readonly kind: MethodKind.Unary;
224
224
  };
225
+ /**
226
+ * @generated from rpc data.v2.DataApiService.GetLaunchCreatorFees
227
+ */
228
+ readonly getLaunchCreatorFees: {
229
+ readonly name: "GetLaunchCreatorFees";
230
+ readonly I: typeof GetLaunchCreatorFeesRequest;
231
+ readonly O: typeof GetLaunchCreatorFeesResponse;
232
+ readonly kind: MethodKind.Unary;
233
+ };
225
234
  /**
226
235
  * @generated from rpc data.v2.DataApiService.GetTokenTopTraders
227
236
  */
@@ -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 { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
5
+ import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * @generated from service data.v2.DataApiService
@@ -226,6 +226,15 @@ export const DataApiService = {
226
226
  O: GetLaunchClaimsResponse,
227
227
  kind: MethodKind.Unary,
228
228
  },
229
+ /**
230
+ * @generated from rpc data.v2.DataApiService.GetLaunchCreatorFees
231
+ */
232
+ getLaunchCreatorFees: {
233
+ name: "GetLaunchCreatorFees",
234
+ I: GetLaunchCreatorFeesRequest,
235
+ O: GetLaunchCreatorFeesResponse,
236
+ kind: MethodKind.Unary,
237
+ },
229
238
  /**
230
239
  * @generated from rpc data.v2.DataApiService.GetTokenTopTraders
231
240
  */
@@ -1520,6 +1520,188 @@ export declare class GetLaunchClaimsResponse extends Message<GetLaunchClaimsResp
1520
1520
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLaunchClaimsResponse;
1521
1521
  static equals(a: GetLaunchClaimsResponse | PlainMessage<GetLaunchClaimsResponse> | undefined, b: GetLaunchClaimsResponse | PlainMessage<GetLaunchClaimsResponse> | undefined): boolean;
1522
1522
  }
1523
+ /**
1524
+ * Creator-fee metrics for ONE Instant Launch token (LP-1332): the numbers
1525
+ * behind the portfolio Fees panel — fees accumulated for the creator,
1526
+ * claimable now, claimed to date, and auto-compounded back into the launch
1527
+ * position. Computed from indexed FeeSplitter FeesCollected and claim
1528
+ * recipient Claimed events with the launcher SDK's fee math, so the amounts
1529
+ * match the on-chain per-position attribution exactly (per-collect
1530
+ * multiply-before-divide flooring). Instant Launch tokens only: a token with
1531
+ * neither indexed fee events nor a resolvable launch (CCA launches,
1532
+ * non-factory tokens) is a not_found error. EVM-only.
1533
+ *
1534
+ * @generated from message data.v2.GetLaunchCreatorFeesRequest
1535
+ */
1536
+ export declare class GetLaunchCreatorFeesRequest extends Message<GetLaunchCreatorFeesRequest> {
1537
+ /**
1538
+ * @generated from field: uint32 chain_id = 1;
1539
+ */
1540
+ chainId: number;
1541
+ /**
1542
+ * The launched token's address (any casing).
1543
+ *
1544
+ * @generated from field: string token_address = 2;
1545
+ */
1546
+ tokenAddress: string;
1547
+ constructor(data?: PartialMessage<GetLaunchCreatorFeesRequest>);
1548
+ static readonly runtime: typeof proto3;
1549
+ static readonly typeName = "data.v2.GetLaunchCreatorFeesRequest";
1550
+ static readonly fields: FieldList;
1551
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetLaunchCreatorFeesRequest;
1552
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetLaunchCreatorFeesRequest;
1553
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLaunchCreatorFeesRequest;
1554
+ static equals(a: GetLaunchCreatorFeesRequest | PlainMessage<GetLaunchCreatorFeesRequest> | undefined, b: GetLaunchCreatorFeesRequest | PlainMessage<GetLaunchCreatorFeesRequest> | undefined): boolean;
1555
+ }
1556
+ /**
1557
+ * A native + launch-token amount pair, raw uint256 base units as decimal
1558
+ * strings: native_amount in wei (the launch pool's currency0),
1559
+ * token_amount in launch-token base units (currency1).
1560
+ *
1561
+ * @generated from message data.v2.LaunchCreatorFeeAmounts
1562
+ */
1563
+ export declare class LaunchCreatorFeeAmounts extends Message<LaunchCreatorFeeAmounts> {
1564
+ /**
1565
+ * @generated from field: string native_amount = 1;
1566
+ */
1567
+ nativeAmount: string;
1568
+ /**
1569
+ * @generated from field: string token_amount = 2;
1570
+ */
1571
+ tokenAmount: string;
1572
+ constructor(data?: PartialMessage<LaunchCreatorFeeAmounts>);
1573
+ static readonly runtime: typeof proto3;
1574
+ static readonly typeName = "data.v2.LaunchCreatorFeeAmounts";
1575
+ static readonly fields: FieldList;
1576
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LaunchCreatorFeeAmounts;
1577
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LaunchCreatorFeeAmounts;
1578
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LaunchCreatorFeeAmounts;
1579
+ static equals(a: LaunchCreatorFeeAmounts | PlainMessage<LaunchCreatorFeeAmounts> | undefined, b: LaunchCreatorFeeAmounts | PlainMessage<LaunchCreatorFeeAmounts> | undefined): boolean;
1580
+ }
1581
+ /**
1582
+ * The creator's own fee position — the ONLY amounts that belong to the
1583
+ * creator. Grouped in their own message so no caller can read a
1584
+ * protocol-custodied figure as part of the creator's total (see
1585
+ * auto_compounded below). All three are POSITION-lifetime: the vault NFT is
1586
+ * transferable, so they span every holder the position has had, not just the
1587
+ * current beneficiary. When the launch settled into SEVERAL LP positions (a
1588
+ * CCA/crowd-launch migration can mint more than one), all three aggregate
1589
+ * across every position — claimable is clamped per position before summing.
1590
+ *
1591
+ * @generated from message data.v2.CreatorFeeTotals
1592
+ */
1593
+ export declare class CreatorFeeTotals extends Message<CreatorFeeTotals> {
1594
+ /**
1595
+ * The creator's share of all fees collected so far, floored per collect
1596
+ * exactly as the FeeSplitter forwards it — equal to the beneficiary
1597
+ * vault's cumulative on-chain attribution for the position.
1598
+ *
1599
+ * @generated from field: data.v2.LaunchCreatorFeeAmounts accumulated = 1;
1600
+ */
1601
+ accumulated?: LaunchCreatorFeeAmounts;
1602
+ /**
1603
+ * Paid out by the beneficiary vault to date — across all holders of the
1604
+ * transferable vault NFT (past holders' payouts are included).
1605
+ *
1606
+ * @generated from field: data.v2.LaunchCreatorFeeAmounts claimed = 2;
1607
+ */
1608
+ claimed?: LaunchCreatorFeeAmounts;
1609
+ /**
1610
+ * accumulated − claimed, floored at zero per side: what a vault claim
1611
+ * would pay right now (donations aside). Settles per-tokenId (the launch
1612
+ * LP position), NOT per-beneficiary — whoever holds the vault NFT at
1613
+ * claim time receives it.
1614
+ *
1615
+ * @generated from field: data.v2.LaunchCreatorFeeAmounts claimable = 3;
1616
+ */
1617
+ claimable?: LaunchCreatorFeeAmounts;
1618
+ constructor(data?: PartialMessage<CreatorFeeTotals>);
1619
+ static readonly runtime: typeof proto3;
1620
+ static readonly typeName = "data.v2.CreatorFeeTotals";
1621
+ static readonly fields: FieldList;
1622
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreatorFeeTotals;
1623
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreatorFeeTotals;
1624
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreatorFeeTotals;
1625
+ static equals(a: CreatorFeeTotals | PlainMessage<CreatorFeeTotals> | undefined, b: CreatorFeeTotals | PlainMessage<CreatorFeeTotals> | undefined): boolean;
1626
+ }
1627
+ /**
1628
+ * @generated from message data.v2.GetLaunchCreatorFeesResponse
1629
+ */
1630
+ export declare class GetLaunchCreatorFeesResponse extends Message<GetLaunchCreatorFeesResponse> {
1631
+ /**
1632
+ * False for launches created through the fees-off strategy variant: every
1633
+ * collected fee auto-compounds, so `creator` is all zeros and
1634
+ * fee_beneficiary is never set. Distinguish this from "earned nothing
1635
+ * yet" when rendering — they are different states.
1636
+ *
1637
+ * @generated from field: bool creator_fees_enabled = 1;
1638
+ */
1639
+ creatorFeesEnabled: boolean;
1640
+ /**
1641
+ * Everything the creator has earned, been paid, and can still claim.
1642
+ *
1643
+ * @generated from field: data.v2.CreatorFeeTotals creator = 2;
1644
+ */
1645
+ creator?: CreatorFeeTotals;
1646
+ /**
1647
+ * NOT the creator's money, and NEVER additive with `creator`. Released to
1648
+ * the CompoundingClaimRecipient, whose claims are enforced on-chain to
1649
+ * increase the launch position's own liquidity in the same transaction, so
1650
+ * it is protocol-custodied and the creator can never claim it.
1651
+ *
1652
+ * It is the COMPLEMENTARY leg of the very same collects that produced
1653
+ * creator.accumulated — on the chain-4663 fees-on splitter the split is
1654
+ * 40% creator / 60% compounded, verified exact against on-chain Claimed
1655
+ * payouts. So creator.accumulated + auto_compounded is the position's whole
1656
+ * fee revenue, i.e. 2.5x what the creator actually earned. Render it as
1657
+ * pool growth if at all, never inside a creator earnings total.
1658
+ *
1659
+ * @generated from field: data.v2.LaunchCreatorFeeAmounts auto_compounded = 3;
1660
+ */
1661
+ autoCompounded?: LaunchCreatorFeeAmounts;
1662
+ /**
1663
+ * The launch's v4 LP position id (uint256 decimal string) — the key the
1664
+ * beneficiary vault settles claims on, so a client building a claim
1665
+ * transaction needs it (it is not derivable client-side). Unset when the
1666
+ * launch has neither a collect nor a vault mint yet, in which case there
1667
+ * is nothing to claim. When a CCA/crowd-launch migration minted several
1668
+ * positions, this is the EARLIEST-collecting one while the amounts
1669
+ * aggregate all of them — a claim on it pays that position's share, not
1670
+ * the whole claimable.
1671
+ *
1672
+ * @generated from field: optional string position_token_id = 4;
1673
+ */
1674
+ positionTokenId?: string;
1675
+ /**
1676
+ * Current beneficiary: the vault-NFT holder (EIP-55) of the
1677
+ * position_token_id position, who may claim and re-point the fee stream
1678
+ * by transferring the NFT. Unset when creator fees are off, while vault
1679
+ * ingestion lags (for a CCA launch: until the creator's graffiti claim
1680
+ * mints the vault NFT), or transiently mid re-registration (NFT burned).
1681
+ *
1682
+ * @generated from field: optional string fee_beneficiary = 5;
1683
+ */
1684
+ feeBeneficiary?: string;
1685
+ /**
1686
+ * Freshness marker: unix seconds of the newest ingested event this
1687
+ * response was computed from, across every feed read (fee collections,
1688
+ * vault transfers, claims). 0 when no event has been ingested yet. A
1689
+ * stalled sink freezes this value while on-chain fees keep accruing, so
1690
+ * clients gating actions on creator.claimable (e.g. enabling a Claim
1691
+ * button) should treat a stale marker as stale data.
1692
+ *
1693
+ * @generated from field: int64 as_of_timestamp = 6;
1694
+ */
1695
+ asOfTimestamp: bigint;
1696
+ constructor(data?: PartialMessage<GetLaunchCreatorFeesResponse>);
1697
+ static readonly runtime: typeof proto3;
1698
+ static readonly typeName = "data.v2.GetLaunchCreatorFeesResponse";
1699
+ static readonly fields: FieldList;
1700
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetLaunchCreatorFeesResponse;
1701
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetLaunchCreatorFeesResponse;
1702
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLaunchCreatorFeesResponse;
1703
+ static equals(a: GetLaunchCreatorFeesResponse | PlainMessage<GetLaunchCreatorFeesResponse> | undefined, b: GetLaunchCreatorFeesResponse | PlainMessage<GetLaunchCreatorFeesResponse> | undefined): boolean;
1704
+ }
1523
1705
  /**
1524
1706
  * Server-computed Top Traders leaderboard for a launch token: the token's
1525
1707
  * FULL swap history (no page cap) folded into per-wallet cost-basis PnL,
@@ -1922,6 +1922,180 @@ GetLaunchClaimsResponse.fields = proto3.util.newFieldList(() => [
1922
1922
  { no: 2, name: "total_claimed", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1923
1923
  { no: 3, name: "unique_claimers", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1924
1924
  ]);
1925
+ /**
1926
+ * Creator-fee metrics for ONE Instant Launch token (LP-1332): the numbers
1927
+ * behind the portfolio Fees panel — fees accumulated for the creator,
1928
+ * claimable now, claimed to date, and auto-compounded back into the launch
1929
+ * position. Computed from indexed FeeSplitter FeesCollected and claim
1930
+ * recipient Claimed events with the launcher SDK's fee math, so the amounts
1931
+ * match the on-chain per-position attribution exactly (per-collect
1932
+ * multiply-before-divide flooring). Instant Launch tokens only: a token with
1933
+ * neither indexed fee events nor a resolvable launch (CCA launches,
1934
+ * non-factory tokens) is a not_found error. EVM-only.
1935
+ *
1936
+ * @generated from message data.v2.GetLaunchCreatorFeesRequest
1937
+ */
1938
+ export class GetLaunchCreatorFeesRequest extends Message {
1939
+ constructor(data) {
1940
+ super();
1941
+ /**
1942
+ * @generated from field: uint32 chain_id = 1;
1943
+ */
1944
+ this.chainId = 0;
1945
+ /**
1946
+ * The launched token's address (any casing).
1947
+ *
1948
+ * @generated from field: string token_address = 2;
1949
+ */
1950
+ this.tokenAddress = "";
1951
+ proto3.util.initPartial(data, this);
1952
+ }
1953
+ static fromBinary(bytes, options) {
1954
+ return new GetLaunchCreatorFeesRequest().fromBinary(bytes, options);
1955
+ }
1956
+ static fromJson(jsonValue, options) {
1957
+ return new GetLaunchCreatorFeesRequest().fromJson(jsonValue, options);
1958
+ }
1959
+ static fromJsonString(jsonString, options) {
1960
+ return new GetLaunchCreatorFeesRequest().fromJsonString(jsonString, options);
1961
+ }
1962
+ static equals(a, b) {
1963
+ return proto3.util.equals(GetLaunchCreatorFeesRequest, a, b);
1964
+ }
1965
+ }
1966
+ GetLaunchCreatorFeesRequest.runtime = proto3;
1967
+ GetLaunchCreatorFeesRequest.typeName = "data.v2.GetLaunchCreatorFeesRequest";
1968
+ GetLaunchCreatorFeesRequest.fields = proto3.util.newFieldList(() => [
1969
+ { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1970
+ { no: 2, name: "token_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1971
+ ]);
1972
+ /**
1973
+ * A native + launch-token amount pair, raw uint256 base units as decimal
1974
+ * strings: native_amount in wei (the launch pool's currency0),
1975
+ * token_amount in launch-token base units (currency1).
1976
+ *
1977
+ * @generated from message data.v2.LaunchCreatorFeeAmounts
1978
+ */
1979
+ export class LaunchCreatorFeeAmounts extends Message {
1980
+ constructor(data) {
1981
+ super();
1982
+ /**
1983
+ * @generated from field: string native_amount = 1;
1984
+ */
1985
+ this.nativeAmount = "";
1986
+ /**
1987
+ * @generated from field: string token_amount = 2;
1988
+ */
1989
+ this.tokenAmount = "";
1990
+ proto3.util.initPartial(data, this);
1991
+ }
1992
+ static fromBinary(bytes, options) {
1993
+ return new LaunchCreatorFeeAmounts().fromBinary(bytes, options);
1994
+ }
1995
+ static fromJson(jsonValue, options) {
1996
+ return new LaunchCreatorFeeAmounts().fromJson(jsonValue, options);
1997
+ }
1998
+ static fromJsonString(jsonString, options) {
1999
+ return new LaunchCreatorFeeAmounts().fromJsonString(jsonString, options);
2000
+ }
2001
+ static equals(a, b) {
2002
+ return proto3.util.equals(LaunchCreatorFeeAmounts, a, b);
2003
+ }
2004
+ }
2005
+ LaunchCreatorFeeAmounts.runtime = proto3;
2006
+ LaunchCreatorFeeAmounts.typeName = "data.v2.LaunchCreatorFeeAmounts";
2007
+ LaunchCreatorFeeAmounts.fields = proto3.util.newFieldList(() => [
2008
+ { no: 1, name: "native_amount", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2009
+ { no: 2, name: "token_amount", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2010
+ ]);
2011
+ /**
2012
+ * The creator's own fee position — the ONLY amounts that belong to the
2013
+ * creator. Grouped in their own message so no caller can read a
2014
+ * protocol-custodied figure as part of the creator's total (see
2015
+ * auto_compounded below). All three are POSITION-lifetime: the vault NFT is
2016
+ * transferable, so they span every holder the position has had, not just the
2017
+ * current beneficiary. When the launch settled into SEVERAL LP positions (a
2018
+ * CCA/crowd-launch migration can mint more than one), all three aggregate
2019
+ * across every position — claimable is clamped per position before summing.
2020
+ *
2021
+ * @generated from message data.v2.CreatorFeeTotals
2022
+ */
2023
+ export class CreatorFeeTotals extends Message {
2024
+ constructor(data) {
2025
+ super();
2026
+ proto3.util.initPartial(data, this);
2027
+ }
2028
+ static fromBinary(bytes, options) {
2029
+ return new CreatorFeeTotals().fromBinary(bytes, options);
2030
+ }
2031
+ static fromJson(jsonValue, options) {
2032
+ return new CreatorFeeTotals().fromJson(jsonValue, options);
2033
+ }
2034
+ static fromJsonString(jsonString, options) {
2035
+ return new CreatorFeeTotals().fromJsonString(jsonString, options);
2036
+ }
2037
+ static equals(a, b) {
2038
+ return proto3.util.equals(CreatorFeeTotals, a, b);
2039
+ }
2040
+ }
2041
+ CreatorFeeTotals.runtime = proto3;
2042
+ CreatorFeeTotals.typeName = "data.v2.CreatorFeeTotals";
2043
+ CreatorFeeTotals.fields = proto3.util.newFieldList(() => [
2044
+ { no: 1, name: "accumulated", kind: "message", T: LaunchCreatorFeeAmounts },
2045
+ { no: 2, name: "claimed", kind: "message", T: LaunchCreatorFeeAmounts },
2046
+ { no: 3, name: "claimable", kind: "message", T: LaunchCreatorFeeAmounts },
2047
+ ]);
2048
+ /**
2049
+ * @generated from message data.v2.GetLaunchCreatorFeesResponse
2050
+ */
2051
+ export class GetLaunchCreatorFeesResponse extends Message {
2052
+ constructor(data) {
2053
+ super();
2054
+ /**
2055
+ * False for launches created through the fees-off strategy variant: every
2056
+ * collected fee auto-compounds, so `creator` is all zeros and
2057
+ * fee_beneficiary is never set. Distinguish this from "earned nothing
2058
+ * yet" when rendering — they are different states.
2059
+ *
2060
+ * @generated from field: bool creator_fees_enabled = 1;
2061
+ */
2062
+ this.creatorFeesEnabled = false;
2063
+ /**
2064
+ * Freshness marker: unix seconds of the newest ingested event this
2065
+ * response was computed from, across every feed read (fee collections,
2066
+ * vault transfers, claims). 0 when no event has been ingested yet. A
2067
+ * stalled sink freezes this value while on-chain fees keep accruing, so
2068
+ * clients gating actions on creator.claimable (e.g. enabling a Claim
2069
+ * button) should treat a stale marker as stale data.
2070
+ *
2071
+ * @generated from field: int64 as_of_timestamp = 6;
2072
+ */
2073
+ this.asOfTimestamp = protoInt64.zero;
2074
+ proto3.util.initPartial(data, this);
2075
+ }
2076
+ static fromBinary(bytes, options) {
2077
+ return new GetLaunchCreatorFeesResponse().fromBinary(bytes, options);
2078
+ }
2079
+ static fromJson(jsonValue, options) {
2080
+ return new GetLaunchCreatorFeesResponse().fromJson(jsonValue, options);
2081
+ }
2082
+ static fromJsonString(jsonString, options) {
2083
+ return new GetLaunchCreatorFeesResponse().fromJsonString(jsonString, options);
2084
+ }
2085
+ static equals(a, b) {
2086
+ return proto3.util.equals(GetLaunchCreatorFeesResponse, a, b);
2087
+ }
2088
+ }
2089
+ GetLaunchCreatorFeesResponse.runtime = proto3;
2090
+ GetLaunchCreatorFeesResponse.typeName = "data.v2.GetLaunchCreatorFeesResponse";
2091
+ GetLaunchCreatorFeesResponse.fields = proto3.util.newFieldList(() => [
2092
+ { no: 1, name: "creator_fees_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2093
+ { no: 2, name: "creator", kind: "message", T: CreatorFeeTotals },
2094
+ { no: 3, name: "auto_compounded", kind: "message", T: LaunchCreatorFeeAmounts },
2095
+ { no: 4, name: "position_token_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2096
+ { no: 5, name: "fee_beneficiary", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2097
+ { no: 6, name: "as_of_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
2098
+ ]);
1925
2099
  /**
1926
2100
  * Server-computed Top Traders leaderboard for a launch token: the token's
1927
2101
  * FULL swap history (no page cap) folded into per-wallet cost-basis PnL,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.171",
3
+ "version": "0.0.174",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },