@uniswap/client-liquidity 1.4.33 → 1.4.35

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.
@@ -819,6 +819,14 @@ export declare class PoolSummary extends Message<PoolSummary> {
819
819
  * @generated from field: optional double total_apr = 29;
820
820
  */
821
821
  totalApr?: number;
822
+ /**
823
+ * Protocol fee in pips (fee_tier's unit). Read against protocol_version: V2/V3
824
+ * carve it OUT of fee_tier (LPs earn fee_tier - protocol_fee); V4 charges it ON
825
+ * TOP (swappers pay fee_tier + protocol_fee). 0 = not turned on.
826
+ *
827
+ * @generated from field: optional uint32 protocol_fee = 30;
828
+ */
829
+ protocolFee?: number;
822
830
  constructor(data?: PartialMessage<PoolSummary>);
823
831
  static readonly runtime: typeof proto3;
824
832
  static readonly typeName = "uniswap.liquidity.v2.PoolSummary";
@@ -1478,6 +1486,18 @@ export declare class Position extends Message<Position> {
1478
1486
  * @generated from field: optional double total_apr = 39;
1479
1487
  */
1480
1488
  totalApr?: number;
1489
+ /**
1490
+ * The pool's protocol fee in pips, same unit and regimes as
1491
+ * PoolSummary.protocol_fee: V2/V3 carve it OUT of the pool's fee tier (so this
1492
+ * position earns fee_tier - protocol_fee), V4 charges it ON TOP. 0 = not
1493
+ * turned on. Carved against the implicit 3000 for V2, where fee_tier is unset.
1494
+ *
1495
+ * Unset only when the pool-metadata enrichment didn't resolve, alongside the
1496
+ * other pool fields above.
1497
+ *
1498
+ * @generated from field: optional uint32 protocol_fee = 40;
1499
+ */
1500
+ protocolFee?: number;
1481
1501
  constructor(data?: PartialMessage<Position>);
1482
1502
  static readonly runtime: typeof proto3;
1483
1503
  static readonly typeName = "uniswap.liquidity.v2.Position";
@@ -1012,6 +1012,7 @@ PoolSummary.fields = proto3.util.newFieldList(() => [
1012
1012
  { no: 27, name: "volume_usd_1d_change", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1013
1013
  { no: 28, name: "token_rewards", kind: "message", T: PoolTokenRewards, repeated: true },
1014
1014
  { no: 29, name: "total_apr", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1015
+ { no: 30, name: "protocol_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1015
1016
  ]);
1016
1017
  /**
1017
1018
  * A reward token's on-chain identity, so a client can interpret and format a
@@ -1657,6 +1658,7 @@ Position.fields = proto3.util.newFieldList(() => [
1657
1658
  { no: 37, name: "total_supply", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1658
1659
  { no: 38, name: "rewards", kind: "message", T: PositionReward, repeated: true },
1659
1660
  { no: 39, name: "total_apr", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1661
+ { no: 40, name: "protocol_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1660
1662
  ]);
1661
1663
  /**
1662
1664
  * Keyset cursor for GetWalletPositions. position_key is the last returned
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-liquidity",
3
- "version": "1.4.33",
3
+ "version": "1.4.35",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },