@uniswap/client-data-api 0.0.153 → 0.0.155

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.
@@ -978,12 +978,28 @@ export declare class PoolProtocolFees extends Message<PoolProtocolFees> {
978
978
  */
979
979
  protocolFee?: number;
980
980
  /**
981
- * Effective (all-in) fee in pips. v4: lp fee + protocol_fee; v2/v3: the
982
- * displayed fee tier. UNSET exactly when protocol_fee is unset.
981
+ * Effective (all-in) fee in pips what the swapper pays. v4: fee_tier +
982
+ * protocol_fee; v2/v3: the displayed fee tier (the protocol's share is
983
+ * carved out of it, so the total is unchanged). UNSET when protocol_fee is
984
+ * unset, and ALSO for a v4 dynamic-fee pool, whose LP fee is set per swap
985
+ * by the hook — there is no static all-in fee to serve.
983
986
  *
984
987
  * @generated from field: optional uint32 effective_fee = 3;
985
988
  */
986
989
  effectiveFee?: number;
990
+ /**
991
+ * The pool's LP fee tier in pips — the fee the pool was created with, before
992
+ * any protocol fee. v4: the static pool-key fee, fixed for the pool's
993
+ * lifetime; v2/v3: the displayed fee tier (note LPs keep only
994
+ * fee_tier − protocol_fee there, since v2/v3 protocol fees are subtractive).
995
+ * UNSET for an unknown pool, and for a v4 dynamic-fee pool, which has no
996
+ * static tier at all (its pool key holds the dynamic sentinel, not a fee).
997
+ * A dynamic-fee pool is therefore distinguishable from an unknown pool: it
998
+ * can carry a protocol_fee while both fee_tier and effective_fee are unset.
999
+ *
1000
+ * @generated from field: optional uint32 fee_tier = 4;
1001
+ */
1002
+ feeTier?: number;
987
1003
  constructor(data?: PartialMessage<PoolProtocolFees>);
988
1004
  static readonly runtime: typeof proto3;
989
1005
  static readonly typeName = "data.v1.PoolProtocolFees";
@@ -1397,6 +1397,7 @@ PoolProtocolFees.fields = proto3.util.newFieldList(() => [
1397
1397
  { no: 1, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1398
1398
  { no: 2, name: "protocol_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1399
1399
  { no: 3, name: "effective_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1400
+ { no: 4, name: "fee_tier", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1400
1401
  ]);
1401
1402
  /**
1402
1403
  * @generated from message data.v1.GetProtocolFeesResponse
@@ -1422,6 +1422,14 @@ export declare class LaunchStats extends Message<LaunchStats> {
1422
1422
  * @generated from field: repeated data.v1.TimestampedValue sparkline = 7;
1423
1423
  */
1424
1424
  sparkline: TimestampedValue[];
1425
+ /**
1426
+ * price_usd in ETH terms, derived at serve time as price_usd divided by
1427
+ * the chain's native-ETH USD rate. Only set on chains whose native
1428
+ * currency is ETH; unset when either price is unavailable.
1429
+ *
1430
+ * @generated from field: optional double price_eth = 8;
1431
+ */
1432
+ priceEth?: number;
1425
1433
  constructor(data?: PartialMessage<LaunchStats>);
1426
1434
  static readonly runtime: typeof proto3;
1427
1435
  static readonly typeName = "data.v2.LaunchStats";
@@ -1656,6 +1656,7 @@ LaunchStats.fields = proto3.util.newFieldList(() => [
1656
1656
  { no: 5, name: "price_change_percent_1h", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1657
1657
  { no: 6, name: "price_change_percent_24h", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1658
1658
  { no: 7, name: "sparkline", kind: "message", T: TimestampedValue, repeated: true },
1659
+ { no: 8, name: "price_eth", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1659
1660
  ]);
1660
1661
  /**
1661
1662
  * One token launch: the earliest pool a (token, launchpad) pair created.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.153",
3
+ "version": "0.0.155",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },