@uniswap/client-data-api 0.0.262 → 0.0.263
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.
|
@@ -1315,6 +1315,25 @@ export declare class Pool extends Message<Pool> {
|
|
|
1315
1315
|
* @generated from field: optional uint32 effective_fee = 14;
|
|
1316
1316
|
*/
|
|
1317
1317
|
effectiveFee?: number;
|
|
1318
|
+
/**
|
|
1319
|
+
* The LP fee the pool is charging RIGHT NOW, in pips (1e-6, so 3000 = 0.30%)
|
|
1320
|
+
* — same unit and regime as fee_tier: V2/V3 all-in with the protocol fee
|
|
1321
|
+
* carved OUT of it, V4 the LP's share with protocol_fee additive ON TOP.
|
|
1322
|
+
*
|
|
1323
|
+
* Always served, so no client has to read is_dynamic_fee to know which field
|
|
1324
|
+
* holds the rate: for V2, V3 and fixed-fee V4 this simply IS fee_tier. It
|
|
1325
|
+
* diverges only on a V4 dynamic-fee pool, where fee_tier is the sentinel and
|
|
1326
|
+
* this carries what the pool's most recent swap actually charged (recovered
|
|
1327
|
+
* from the total swap fee the Swap event records, which is lpFee and
|
|
1328
|
+
* protocolFee combined).
|
|
1329
|
+
*
|
|
1330
|
+
* Unset ONLY when a dynamic-fee pool's current fee can't be established: no
|
|
1331
|
+
* swap indexed yet, or a total that matches neither protocol-fee direction.
|
|
1332
|
+
* Never carries the DYNAMIC_FEE_FLAG sentinel.
|
|
1333
|
+
*
|
|
1334
|
+
* @generated from field: optional uint32 current_lp_fee = 15;
|
|
1335
|
+
*/
|
|
1336
|
+
currentLpFee?: number;
|
|
1318
1337
|
constructor(data?: PartialMessage<Pool>);
|
|
1319
1338
|
static readonly runtime: typeof proto3;
|
|
1320
1339
|
static readonly typeName = "data.v2.Pool";
|
package/dist/data/v2/types_pb.js
CHANGED
|
@@ -1440,6 +1440,7 @@ Pool.fields = proto3.util.newFieldList(() => [
|
|
|
1440
1440
|
{ no: 12, name: "liquidity", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1441
1441
|
{ no: 13, name: "protocol_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
1442
1442
|
{ no: 14, name: "effective_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
1443
|
+
{ no: 15, name: "current_lp_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
1443
1444
|
]);
|
|
1444
1445
|
/**
|
|
1445
1446
|
* @generated from message data.v2.PoolTokenFilter
|