@uniswap/client-data-api 0.0.215 → 0.0.216

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.
@@ -652,6 +652,40 @@ export declare class Auction extends Message<Auction> {
652
652
  * @generated from field: bool is_blocked = 51;
653
653
  */
654
654
  isBlocked: boolean;
655
+ /**
656
+ * v4 PoolKey of the graduation pool (52-56), indexed from the
657
+ * LbpInitializerCreated event's MigratorParameters at REGISTRATION — so they
658
+ * are set before the pool exists, unlike pool_key_hash, and the pool is
659
+ * swappable from its first block. currency0/currency1 are sorted ascending
660
+ * server-side, so the five fields are a usable PoolKey as-is.
661
+ *
662
+ * Do NOT derive these from SDK launch presets: fee and tick_spacing come from
663
+ * the launch's own PoolParameters, so a permissionless or advanced launch can
664
+ * carry any pair, and fee does not determine tick_spacing. Unset for auctions
665
+ * whose registration event carried no params (the old factory) or that
666
+ * predate this field — never guessed.
667
+ *
668
+ * @generated from field: optional string currency0 = 52;
669
+ */
670
+ currency0?: string;
671
+ /**
672
+ * @generated from field: optional string currency1 = 53;
673
+ */
674
+ currency1?: string;
675
+ /**
676
+ * @generated from field: optional uint32 fee = 54;
677
+ */
678
+ fee?: number;
679
+ /**
680
+ * @generated from field: optional int32 tick_spacing = 55;
681
+ */
682
+ tickSpacing?: number;
683
+ /**
684
+ * Zero address for a standard hookless pool.
685
+ *
686
+ * @generated from field: optional string hooks = 56;
687
+ */
688
+ hooks?: string;
655
689
  constructor(data?: PartialMessage<Auction>);
656
690
  static readonly runtime: typeof proto3;
657
691
  static readonly typeName = "data.v1.Auction";
@@ -1405,10 +1439,16 @@ export declare class GetTickDetailsResponse extends Message<GetTickDetailsRespon
1405
1439
  * Auctions with a scheduled LBP migration that has not completed yet (or that
1406
1440
  * completed within a short trailing window). Consumed by routing services to
1407
1441
  * pre-register the migrated V4 pool before it appears in subgraph-based pool
1408
- * discovery. Pool parameters (fee / tickSpacing / hook) are intentionally
1409
- * omitted: consumers read them authoritatively from the LBP strategy's
1410
- * on-chain `initializers(auction)` getter, which also revalidates
1411
- * migration_block.
1442
+ * discovery. Pool parameters (currency0 / currency1 / fee / tick_spacing /
1443
+ * hooks) ARE served: the same MigratorParameters the on-chain
1444
+ * `initializers(auction)` getter returns are already in the
1445
+ * LbpInitializerCreated log, so data-api indexes them at registration and hands
1446
+ * consumers the resolved key — no per-auction RPC hop. (This reverses the
1447
+ * earlier "intentionally omitted" policy, which pushed that read onto every
1448
+ * consumer.) A consumer that also wants to revalidate migration_block still has
1449
+ * to read the getter itself; the fields here are unset when the registration
1450
+ * event carried no params, and must never be back-filled from SDK launch
1451
+ * presets.
1412
1452
  *
1413
1453
  * @generated from message data.v1.ListAuctionsPendingLbpMigrationRequest
1414
1454
  */
@@ -1472,6 +1512,33 @@ export declare class AuctionPendingLbpMigration extends Message<AuctionPendingLb
1472
1512
  * @generated from field: optional string pool_key_hash = 8;
1473
1513
  */
1474
1514
  poolKeyHash?: string;
1515
+ /**
1516
+ * v4 PoolKey of the pool this auction will migrate into (9-13), indexed from
1517
+ * the registration event's MigratorParameters. currency0 / currency1 are
1518
+ * sorted ascending. Unset when that event carried no params — pre-register
1519
+ * nothing rather than a guessed key.
1520
+ *
1521
+ * @generated from field: optional string currency0 = 9;
1522
+ */
1523
+ currency0?: string;
1524
+ /**
1525
+ * @generated from field: optional string currency1 = 10;
1526
+ */
1527
+ currency1?: string;
1528
+ /**
1529
+ * @generated from field: optional uint32 fee = 11;
1530
+ */
1531
+ fee?: number;
1532
+ /**
1533
+ * @generated from field: optional int32 tick_spacing = 12;
1534
+ */
1535
+ tickSpacing?: number;
1536
+ /**
1537
+ * Zero address for a standard hookless pool.
1538
+ *
1539
+ * @generated from field: optional string hooks = 13;
1540
+ */
1541
+ hooks?: string;
1475
1542
  constructor(data?: PartialMessage<AuctionPendingLbpMigration>);
1476
1543
  static readonly runtime: typeof proto3;
1477
1544
  static readonly typeName = "data.v1.AuctionPendingLbpMigration";
@@ -701,6 +701,11 @@ Auction.fields = proto3.util.newFieldList(() => [
701
701
  { no: 49, name: "x_verified", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
702
702
  { no: 50, name: "fdv_usd", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
703
703
  { no: 51, name: "is_blocked", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
704
+ { no: 52, name: "currency0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
705
+ { no: 53, name: "currency1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
706
+ { no: 54, name: "fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
707
+ { no: 55, name: "tick_spacing", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
708
+ { no: 56, name: "hooks", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
704
709
  ]);
705
710
  /**
706
711
  * Response containing auctions.
@@ -1703,10 +1708,16 @@ GetTickDetailsResponse.fields = proto3.util.newFieldList(() => [
1703
1708
  * Auctions with a scheduled LBP migration that has not completed yet (or that
1704
1709
  * completed within a short trailing window). Consumed by routing services to
1705
1710
  * pre-register the migrated V4 pool before it appears in subgraph-based pool
1706
- * discovery. Pool parameters (fee / tickSpacing / hook) are intentionally
1707
- * omitted: consumers read them authoritatively from the LBP strategy's
1708
- * on-chain `initializers(auction)` getter, which also revalidates
1709
- * migration_block.
1711
+ * discovery. Pool parameters (currency0 / currency1 / fee / tick_spacing /
1712
+ * hooks) ARE served: the same MigratorParameters the on-chain
1713
+ * `initializers(auction)` getter returns are already in the
1714
+ * LbpInitializerCreated log, so data-api indexes them at registration and hands
1715
+ * consumers the resolved key — no per-auction RPC hop. (This reverses the
1716
+ * earlier "intentionally omitted" policy, which pushed that read onto every
1717
+ * consumer.) A consumer that also wants to revalidate migration_block still has
1718
+ * to read the getter itself; the fields here are unset when the registration
1719
+ * event carried no params, and must never be back-filled from SDK launch
1720
+ * presets.
1710
1721
  *
1711
1722
  * @generated from message data.v1.ListAuctionsPendingLbpMigrationRequest
1712
1723
  */
@@ -1805,6 +1816,11 @@ AuctionPendingLbpMigration.fields = proto3.util.newFieldList(() => [
1805
1816
  { no: 6, name: "lbp_strategy_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1806
1817
  { no: 7, name: "lbp_migration_block", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1807
1818
  { no: 8, name: "pool_key_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1819
+ { no: 9, name: "currency0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1820
+ { no: 10, name: "currency1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1821
+ { no: 11, name: "fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1822
+ { no: 12, name: "tick_spacing", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
1823
+ { no: 13, name: "hooks", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1808
1824
  ]);
1809
1825
  /**
1810
1826
  * @generated from message data.v1.ListAuctionsPendingLbpMigrationResponse
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.215",
3
+ "version": "0.0.216",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },