@uniswap/client-data-api 0.0.214 → 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.
@@ -643,6 +643,49 @@ export declare class Auction extends Message<Auction> {
643
643
  * @generated from field: optional string fdv_usd = 50;
644
644
  */
645
645
  fdvUsd?: string;
646
+ /**
647
+ * Whether the auctioned token is on the compliance blocklist (Aurora
648
+ * canonical_tokens.is_blocked — the same source v2 GetToken's
649
+ * safety.is_blocked serves). Fail-safe: false when the token has no
650
+ * canonical row or the read failed, so an outage never blocks a token.
651
+ *
652
+ * @generated from field: bool is_blocked = 51;
653
+ */
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;
646
689
  constructor(data?: PartialMessage<Auction>);
647
690
  static readonly runtime: typeof proto3;
648
691
  static readonly typeName = "data.v1.Auction";
@@ -1396,10 +1439,16 @@ export declare class GetTickDetailsResponse extends Message<GetTickDetailsRespon
1396
1439
  * Auctions with a scheduled LBP migration that has not completed yet (or that
1397
1440
  * completed within a short trailing window). Consumed by routing services to
1398
1441
  * pre-register the migrated V4 pool before it appears in subgraph-based pool
1399
- * discovery. Pool parameters (fee / tickSpacing / hook) are intentionally
1400
- * omitted: consumers read them authoritatively from the LBP strategy's
1401
- * on-chain `initializers(auction)` getter, which also revalidates
1402
- * 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.
1403
1452
  *
1404
1453
  * @generated from message data.v1.ListAuctionsPendingLbpMigrationRequest
1405
1454
  */
@@ -1463,6 +1512,33 @@ export declare class AuctionPendingLbpMigration extends Message<AuctionPendingLb
1463
1512
  * @generated from field: optional string pool_key_hash = 8;
1464
1513
  */
1465
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;
1466
1542
  constructor(data?: PartialMessage<AuctionPendingLbpMigration>);
1467
1543
  static readonly runtime: typeof proto3;
1468
1544
  static readonly typeName = "data.v1.AuctionPendingLbpMigration";
@@ -623,6 +623,15 @@ export class Auction extends Message {
623
623
  * @generated from field: bool is_quick_launch = 46;
624
624
  */
625
625
  this.isQuickLaunch = false;
626
+ /**
627
+ * Whether the auctioned token is on the compliance blocklist (Aurora
628
+ * canonical_tokens.is_blocked — the same source v2 GetToken's
629
+ * safety.is_blocked serves). Fail-safe: false when the token has no
630
+ * canonical row or the read failed, so an outage never blocks a token.
631
+ *
632
+ * @generated from field: bool is_blocked = 51;
633
+ */
634
+ this.isBlocked = false;
626
635
  proto3.util.initPartial(data, this);
627
636
  }
628
637
  static fromBinary(bytes, options) {
@@ -691,6 +700,12 @@ Auction.fields = proto3.util.newFieldList(() => [
691
700
  { no: 48, name: "x_profile_image_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
692
701
  { no: 49, name: "x_verified", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
693
702
  { no: 50, name: "fdv_usd", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
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 },
694
709
  ]);
695
710
  /**
696
711
  * Response containing auctions.
@@ -1693,10 +1708,16 @@ GetTickDetailsResponse.fields = proto3.util.newFieldList(() => [
1693
1708
  * Auctions with a scheduled LBP migration that has not completed yet (or that
1694
1709
  * completed within a short trailing window). Consumed by routing services to
1695
1710
  * pre-register the migrated V4 pool before it appears in subgraph-based pool
1696
- * discovery. Pool parameters (fee / tickSpacing / hook) are intentionally
1697
- * omitted: consumers read them authoritatively from the LBP strategy's
1698
- * on-chain `initializers(auction)` getter, which also revalidates
1699
- * 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.
1700
1721
  *
1701
1722
  * @generated from message data.v1.ListAuctionsPendingLbpMigrationRequest
1702
1723
  */
@@ -1795,6 +1816,11 @@ AuctionPendingLbpMigration.fields = proto3.util.newFieldList(() => [
1795
1816
  { no: 6, name: "lbp_strategy_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1796
1817
  { no: 7, name: "lbp_migration_block", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1797
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 },
1798
1824
  ]);
1799
1825
  /**
1800
1826
  * @generated from message data.v1.ListAuctionsPendingLbpMigrationResponse
@@ -1543,6 +1543,15 @@ export declare class LaunchToken extends Message<LaunchToken> {
1543
1543
  * @generated from field: optional string logo_url = 5;
1544
1544
  */
1545
1545
  logoUrl?: string;
1546
+ /**
1547
+ * Safety classification from Aurora canonical_tokens — the same source and
1548
+ * shape GetToken serves (safety.is_blocked carries the compliance
1549
+ * blocklist). Unset when the token has no canonical row yet (fresh
1550
+ * launches lag ingestion) or the read failed: treat as not blocked.
1551
+ *
1552
+ * @generated from field: data.v2.TokenSafety safety = 6;
1553
+ */
1554
+ safety?: TokenSafety;
1546
1555
  constructor(data?: PartialMessage<LaunchToken>);
1547
1556
  static readonly runtime: typeof proto3;
1548
1557
  static readonly typeName = "data.v2.LaunchToken";
@@ -1701,6 +1701,7 @@ LaunchToken.fields = proto3.util.newFieldList(() => [
1701
1701
  { no: 3, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1702
1702
  { no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1703
1703
  { no: 5, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1704
+ { no: 6, name: "safety", kind: "message", T: TokenSafety },
1704
1705
  ]);
1705
1706
  /**
1706
1707
  * Live USD stats for a launch's pool/token. Each field is unset when its
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.214",
3
+ "version": "0.0.216",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },