@uniswap/client-liquidity 1.4.34 → 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.
|
@@ -1486,6 +1486,18 @@ export declare class Position extends Message<Position> {
|
|
|
1486
1486
|
* @generated from field: optional double total_apr = 39;
|
|
1487
1487
|
*/
|
|
1488
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;
|
|
1489
1501
|
constructor(data?: PartialMessage<Position>);
|
|
1490
1502
|
static readonly runtime: typeof proto3;
|
|
1491
1503
|
static readonly typeName = "uniswap.liquidity.v2.Position";
|
|
@@ -1658,6 +1658,7 @@ Position.fields = proto3.util.newFieldList(() => [
|
|
|
1658
1658
|
{ no: 37, name: "total_supply", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1659
1659
|
{ no: 38, name: "rewards", kind: "message", T: PositionReward, repeated: true },
|
|
1660
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 },
|
|
1661
1662
|
]);
|
|
1662
1663
|
/**
|
|
1663
1664
|
* Keyset cursor for GetWalletPositions. position_key is the last returned
|