@uniswap/client-data-api 0.0.150 → 0.0.151

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.
@@ -1137,8 +1137,11 @@ export declare class RankedPool extends Message<RankedPool> {
1137
1137
  static equals(a: RankedPool | PlainMessage<RankedPool> | undefined, b: RankedPool | PlainMessage<RankedPool> | undefined): boolean;
1138
1138
  }
1139
1139
  /**
1140
- * One token side of a pool event. amount is absolute (always positive).
1141
- * amount_usd = |amount| * price; 0 when price or decimals are unavailable.
1140
+ * One token side of a pool event. amount is signed, pool-perspective:
1141
+ * positive = the token entered the pool (sold / deposited), negative = it
1142
+ * left the pool (bought / withdrawn) — same convention as the GraphQL
1143
+ * transactions resolvers. amount_usd = |amount| * price; 0 when price or
1144
+ * decimals are unavailable.
1142
1145
  *
1143
1146
  * @generated from message data.v2.TransactionTokenSide
1144
1147
  */
@@ -1148,7 +1151,7 @@ export declare class TransactionTokenSide extends Message<TransactionTokenSide>
1148
1151
  */
1149
1152
  token?: Token;
1150
1153
  /**
1151
- * decimal-adjusted absolute amount, full precision; absent when decimals unavailable
1154
+ * decimal-adjusted signed amount, full precision; absent when decimals unavailable
1152
1155
  *
1153
1156
  * @generated from field: optional string amount = 2;
1154
1157
  */
@@ -1443,8 +1446,8 @@ export declare class Launch extends Message<Launch> {
1443
1446
  */
1444
1447
  token?: LaunchToken;
1445
1448
  /**
1446
- * v4 pool id for hook-attributed launches; CCA pool key hash once the
1447
- * auction has migrated to a pool, empty before then.
1449
+ * v4 pool id for hook-attributed and direct launches; CCA pool key hash
1450
+ * once the auction has migrated to a pool, empty before then.
1448
1451
  *
1449
1452
  * @generated from field: string pool_id = 3;
1450
1453
  */
@@ -1464,10 +1467,13 @@ export declare class Launch extends Message<Launch> {
1464
1467
  */
1465
1468
  stats?: LaunchStats;
1466
1469
  /**
1467
- * CCA + bonding-curve launches: true once the launch graduated (CCA:
1468
- * auction migrated into its pool; bonding-curve: curve position replaced
1469
- * by the permanent full-range position). Unset for other hook-attributed
1470
- * launches, which are pools already.
1470
+ * CCA + direct-launch launches: true once the launch graduated. CCA:
1471
+ * auction migrated into its pool (on-chain fact). Direct launches
1472
+ * (launchpad "uniswap-bonding-curve") have NO on-chain graduation the
1473
+ * pool is a vanilla v4 pool from block one — so this is currently always
1474
+ * false for them; a serving-side FDV-threshold graduation rule may set it
1475
+ * later. Unset for other hook-attributed launches, which are pools
1476
+ * already.
1471
1477
  *
1472
1478
  * @generated from field: optional bool graduated = 7;
1473
1479
  */
@@ -1498,8 +1504,8 @@ export declare class Launch extends Message<Launch> {
1498
1504
  */
1499
1505
  bidderCount?: number;
1500
1506
  /**
1501
- * Bonding-curve lifecycle overlay, set only for launches attributed to the
1502
- * Uniswap bonding-curve hook. Absent while ingestion lags the launch.
1507
+ * Direct-launch overlay (see BondingCurveInfo), set only for launches of
1508
+ * the Uniswap direct-launch launchpad ("uniswap-bonding-curve").
1503
1509
  *
1504
1510
  * @generated from field: optional data.v2.BondingCurveInfo bonding_curve = 11;
1505
1511
  */
@@ -1634,19 +1640,22 @@ export declare class LaunchHolder extends Message<LaunchHolder> {
1634
1640
  static equals(a: LaunchHolder | PlainMessage<LaunchHolder> | undefined, b: LaunchHolder | PlainMessage<LaunchHolder> | undefined): boolean;
1635
1641
  }
1636
1642
  /**
1637
- * Bonding-curve lifecycle overlay for launches attributed to the Uniswap
1638
- * bonding-curve hook. Amounts are raw base-unit decimal strings. Curve
1639
- * progress is client-derivable: price starts at
1640
- * sqrtPriceAtTick(curve_tick_upper) (token is currency1) and graduates at
1641
- * graduation_sqrt_price_x96. The strategy and hook events populating this
1642
- * overlay arrive independently, so every field is optional: a field is
1643
- * unset until its event has been ingested (0 is a real tick value, never
1644
- * a placeholder).
1643
+ * Overlay for launches of the Uniswap direct-launch launchpad (launchpad_id
1644
+ * "uniswap-bonding-curve", kept for client compatibility). The current
1645
+ * launcher generation (DirectLaunchStrategy, LP-1289) is hookless with NO
1646
+ * on-chain graduation lifecycle: launch pools are vanilla v4 pools from
1647
+ * block one, and "graduation" is a serving/frontend concept (an FDV
1648
+ * threshold), not a contract event. Fields 1-5 and 7-9 belong to the
1649
+ * never-launched bonding-curve hook generation and are no longer set for
1650
+ * new launches; they are kept so the message shape stays wire-compatible.
1645
1651
  *
1646
1652
  * @generated from message data.v2.BondingCurveInfo
1647
1653
  */
1648
1654
  export declare class BondingCurveInfo extends Message<BondingCurveInfo> {
1649
1655
  /**
1656
+ * Legacy bonding-curve-hook fields (1-5, 7-9): never set for direct-launch
1657
+ * (hookless) launches — there is no curve and no on-chain graduation.
1658
+ *
1650
1659
  * @generated from field: optional string graduation_sqrt_price_x96 = 1;
1651
1660
  */
1652
1661
  graduationSqrtPriceX96?: string;
@@ -1671,18 +1680,24 @@ export declare class BondingCurveInfo extends Message<BondingCurveInfo> {
1671
1680
  */
1672
1681
  graduatedTxHash?: string;
1673
1682
  /**
1674
- * Server-computed % progress toward graduation; unset in the POC (needs
1675
- * live pool sqrt price, which the list pipeline does not carry yet).
1676
- *
1677
1683
  * @generated from field: optional double curve_progress_pct = 8;
1678
1684
  */
1679
1685
  curveProgressPct?: number;
1680
1686
  /**
1681
- * Graduation time, unix seconds. Set once the Graduated event lands.
1682
- *
1683
1687
  * @generated from field: optional int64 graduated_at = 9;
1684
1688
  */
1685
1689
  graduatedAt?: bigint;
1690
+ /**
1691
+ * The launch's fee beneficiary (FeeSplitter FeeBeneficiarySet), EIP-55
1692
+ * checksummed: the address receiving the creator share of the launch
1693
+ * pool's trading fees. Freely chosen at launch time by whoever built the
1694
+ * launch transaction — a payee, NOT proven authorship (see
1695
+ * Launch.creator_address for the launch tx sender). Unset while ingestion
1696
+ * of the beneficiary event lags the launch.
1697
+ *
1698
+ * @generated from field: optional string fee_beneficiary = 10;
1699
+ */
1700
+ feeBeneficiary?: string;
1686
1701
  constructor(data?: PartialMessage<BondingCurveInfo>);
1687
1702
  static readonly runtime: typeof proto3;
1688
1703
  static readonly typeName = "data.v2.BondingCurveInfo";
@@ -1318,8 +1318,11 @@ RankedPool.fields = proto3.util.newFieldList(() => [
1318
1318
  { no: 2, name: "stats", kind: "message", T: PoolRankStats },
1319
1319
  ]);
1320
1320
  /**
1321
- * One token side of a pool event. amount is absolute (always positive).
1322
- * amount_usd = |amount| * price; 0 when price or decimals are unavailable.
1321
+ * One token side of a pool event. amount is signed, pool-perspective:
1322
+ * positive = the token entered the pool (sold / deposited), negative = it
1323
+ * left the pool (bought / withdrawn) — same convention as the GraphQL
1324
+ * transactions resolvers. amount_usd = |amount| * price; 0 when price or
1325
+ * decimals are unavailable.
1323
1326
  *
1324
1327
  * @generated from message data.v2.TransactionTokenSide
1325
1328
  */
@@ -1667,8 +1670,8 @@ export class Launch extends Message {
1667
1670
  */
1668
1671
  this.launchpadId = "";
1669
1672
  /**
1670
- * v4 pool id for hook-attributed launches; CCA pool key hash once the
1671
- * auction has migrated to a pool, empty before then.
1673
+ * v4 pool id for hook-attributed and direct launches; CCA pool key hash
1674
+ * once the auction has migrated to a pool, empty before then.
1672
1675
  *
1673
1676
  * @generated from field: string pool_id = 3;
1674
1677
  */
@@ -1779,14 +1782,14 @@ LaunchHolder.fields = proto3.util.newFieldList(() => [
1779
1782
  { no: 4, name: "is_burn_address", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1780
1783
  ]);
1781
1784
  /**
1782
- * Bonding-curve lifecycle overlay for launches attributed to the Uniswap
1783
- * bonding-curve hook. Amounts are raw base-unit decimal strings. Curve
1784
- * progress is client-derivable: price starts at
1785
- * sqrtPriceAtTick(curve_tick_upper) (token is currency1) and graduates at
1786
- * graduation_sqrt_price_x96. The strategy and hook events populating this
1787
- * overlay arrive independently, so every field is optional: a field is
1788
- * unset until its event has been ingested (0 is a real tick value, never
1789
- * a placeholder).
1785
+ * Overlay for launches of the Uniswap direct-launch launchpad (launchpad_id
1786
+ * "uniswap-bonding-curve", kept for client compatibility). The current
1787
+ * launcher generation (DirectLaunchStrategy, LP-1289) is hookless with NO
1788
+ * on-chain graduation lifecycle: launch pools are vanilla v4 pools from
1789
+ * block one, and "graduation" is a serving/frontend concept (an FDV
1790
+ * threshold), not a contract event. Fields 1-5 and 7-9 belong to the
1791
+ * never-launched bonding-curve hook generation and are no longer set for
1792
+ * new launches; they are kept so the message shape stays wire-compatible.
1790
1793
  *
1791
1794
  * @generated from message data.v2.BondingCurveInfo
1792
1795
  */
@@ -1819,6 +1822,7 @@ BondingCurveInfo.fields = proto3.util.newFieldList(() => [
1819
1822
  { no: 7, name: "graduated_tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1820
1823
  { no: 8, name: "curve_progress_pct", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1821
1824
  { no: 9, name: "graduated_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1825
+ { no: 10, name: "fee_beneficiary", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1822
1826
  ]);
1823
1827
  /**
1824
1828
  * One swap involving the requested token, returned by GetTokenTrades.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.150",
3
+ "version": "0.0.151",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },